@crowdin/app-project-module 0.47.0 → 0.48.0
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.
- package/out/static/css/styles.css +24 -0
- package/out/static/js/form.js +1 -1
- package/out/types.d.ts +5 -1
- package/out/types.js +4 -0
- package/out/util/index.js +7 -1
- package/out/views/error.handlebars +31 -0
- package/package.json +2 -2
|
@@ -209,3 +209,27 @@
|
|
|
209
209
|
.error-detail-table tr td {
|
|
210
210
|
padding: 8px 24px;
|
|
211
211
|
}
|
|
212
|
+
|
|
213
|
+
.error-page {
|
|
214
|
+
align-items: center;
|
|
215
|
+
display: flex;
|
|
216
|
+
justify-content: center;
|
|
217
|
+
min-height: 500px;
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
.error-page-message {
|
|
221
|
+
margin-bottom: 24px;
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
.error-page-action {
|
|
225
|
+
display: flex;
|
|
226
|
+
align-items: center;
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
.error-page-action crowdin-button {
|
|
230
|
+
margin-right: 8px;
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
.error-page a {
|
|
234
|
+
vertical-align: unset!important;
|
|
235
|
+
}
|
package/out/static/js/form.js
CHANGED
|
@@ -109,4 +109,4 @@
|
|
|
109
109
|
animation-iteration-count: infinite;
|
|
110
110
|
animation-delay: 200ms;
|
|
111
111
|
}
|
|
112
|
-
`),HQ.rippleVisible,eY,550,(({theme:e})=>e.transitions.easing.easeInOut),HQ.ripplePulsate,(({theme:e})=>e.transitions.duration.shorter),HQ.child,HQ.childLeaving,tY,550,(({theme:e})=>e.transitions.easing.easeInOut),HQ.childPulsate,rY,(({theme:e})=>e.transitions.easing.easeInOut)),aY=L.forwardRef((function(e,t){const r=EG({props:e,name:"MuiTouchRipple"}),{center:n=!1,classes:o={},className:a}=r,i=LB(r,GQ),[s,l]=L.useState([]),c=L.useRef(0),u=L.useRef(null);L.useEffect((()=>{u.current&&(u.current(),u.current=null)}),[s]);const d=L.useRef(!1),f=cH(),p=L.useRef(null),m=L.useRef(null),h=L.useCallback((e=>{const{pulsate:t,rippleX:r,rippleY:n,rippleSize:a,cb:i}=e;l((e=>[...e,gP.jsx(oY,{classes:{ripple:xK(o.ripple,HQ.ripple),rippleVisible:xK(o.rippleVisible,HQ.rippleVisible),ripplePulsate:xK(o.ripplePulsate,HQ.ripplePulsate),child:xK(o.child,HQ.child),childLeaving:xK(o.childLeaving,HQ.childLeaving),childPulsate:xK(o.childPulsate,HQ.childPulsate)},timeout:550,pulsate:t,rippleX:r,rippleY:n,rippleSize:a},c.current)])),c.current+=1,u.current=i}),[o]),y=L.useCallback(((e={},t={},r=(()=>{}))=>{const{pulsate:o=!1,center:a=n||t.pulsate,fakeElement:i=!1}=t;if("mousedown"===(null==e?void 0:e.type)&&d.current)return void(d.current=!1);"touchstart"===(null==e?void 0:e.type)&&(d.current=!0);const s=i?null:m.current,l=s?s.getBoundingClientRect():{width:0,height:0,left:0,top:0};let c,u,y;if(a||void 0===e||0===e.clientX&&0===e.clientY||!e.clientX&&!e.touches)c=Math.round(l.width/2),u=Math.round(l.height/2);else{const{clientX:t,clientY:r}=e.touches&&e.touches.length>0?e.touches[0]:e;c=Math.round(t-l.left),u=Math.round(r-l.top)}if(a)y=Math.sqrt((2*l.width**2+l.height**2)/3),y%2==0&&(y+=1);else{const e=2*Math.max(Math.abs((s?s.clientWidth:0)-c),c)+2,t=2*Math.max(Math.abs((s?s.clientHeight:0)-u),u)+2;y=Math.sqrt(e**2+t**2)}null!=e&&e.touches?null===p.current&&(p.current=()=>{h({pulsate:o,rippleX:c,rippleY:u,rippleSize:y,cb:r})},f.start(80,(()=>{p.current&&(p.current(),p.current=null)}))):h({pulsate:o,rippleX:c,rippleY:u,rippleSize:y,cb:r})}),[n,h,f]),v=L.useCallback((()=>{y({},{pulsate:!0})}),[y]),g=L.useCallback(((e,t)=>{if(f.clear(),"touchend"===(null==e?void 0:e.type)&&p.current)return p.current(),p.current=null,void f.start(0,(()=>{g(e,t)}));p.current=null,l((e=>e.length>0?e.slice(1):e)),u.current=t}),[f]);return L.useImperativeHandle(t,(()=>({pulsate:v,start:y,stop:g})),[v,y,g]),gP.jsx(nY,zB({className:xK(HQ.root,o.root,a),ref:m},i,{children:gP.jsx(AQ,{component:null,exit:!0,children:s})}))}));var iY=aY;function sY(e){return _K("MuiButtonBase",e)}var lY=EK("MuiButtonBase",["root","disabled","focusVisible"]);const cY=["action","centerRipple","children","className","component","disabled","disableRipple","disableTouchRipple","focusRipple","focusVisibleClassName","LinkComponent","onBlur","onClick","onContextMenu","onDragLeave","onFocus","onFocusVisible","onKeyDown","onKeyUp","onMouseDown","onMouseLeave","onMouseUp","onTouchEnd","onTouchMove","onTouchStart","tabIndex","TouchRippleProps","touchRippleRef","type"],uY=aQ("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},[`&.${lY.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),dY=L.forwardRef((function(e,t){const r=EG({props:e,name:"MuiButtonBase"}),{action:n,centerRipple:o=!1,children:a,className:i,component:s="button",disabled:l=!1,disableRipple:c=!1,disableTouchRipple:u=!1,focusRipple:d=!1,LinkComponent:f="a",onBlur:p,onClick:m,onContextMenu:h,onDragLeave:y,onFocus:v,onFocusVisible:g,onKeyDown:b,onKeyUp:w,onMouseDown:S,onMouseLeave:x,onMouseUp:$,onTouchEnd:k,onTouchMove:_,onTouchStart:E,tabIndex:C=0,TouchRippleProps:P,touchRippleRef:j,type:O}=r,N=LB(r,cY),R=L.useRef(null),T=L.useRef(null),A=aH(T,j),{isFocusVisibleRef:I,onFocus:M,onBlur:F,ref:D}=gH(),[z,V]=L.useState(!1);l&&z&&V(!1),L.useImperativeHandle(n,(()=>({focusVisible:()=>{V(!0),R.current.focus()}})),[]);const[B,U]=L.useState(!1);L.useEffect((()=>{U(!0)}),[]);const W=B&&!c&&!l;function q(e,t,r=u){return oH((n=>{t&&t(n);return!r&&T.current&&T.current[e](n),!0}))}L.useEffect((()=>{z&&d&&!c&&B&&T.current.pulsate()}),[c,d,z,B]);const K=q("start",S),H=q("stop",h),G=q("stop",y),Q=q("stop",$),Y=q("stop",(e=>{z&&e.preventDefault(),x&&x(e)})),J=q("start",E),X=q("stop",k),Z=q("stop",_),ee=q("stop",(e=>{F(e),!1===I.current&&V(!1),p&&p(e)}),!1),te=oH((e=>{R.current||(R.current=e.currentTarget),M(e),!0===I.current&&(V(!0),g&&g(e)),v&&v(e)})),re=()=>{const e=R.current;return s&&"button"!==s&&!("A"===e.tagName&&e.href)},ne=L.useRef(!1),oe=oH((e=>{d&&!ne.current&&z&&T.current&&" "===e.key&&(ne.current=!0,T.current.stop(e,(()=>{T.current.start(e)}))),e.target===e.currentTarget&&re()&&" "===e.key&&e.preventDefault(),b&&b(e),e.target===e.currentTarget&&re()&&"Enter"===e.key&&!l&&(e.preventDefault(),m&&m(e))})),ae=oH((e=>{d&&" "===e.key&&T.current&&z&&!e.defaultPrevented&&(ne.current=!1,T.current.stop(e,(()=>{T.current.pulsate(e)}))),w&&w(e),m&&e.target===e.currentTarget&&re()&&" "===e.key&&!e.defaultPrevented&&m(e)}));let ie=s;"button"===ie&&(N.href||N.to)&&(ie=f);const se={};"button"===ie?(se.type=void 0===O?"button":O,se.disabled=l):(N.href||N.to||(se.role="button"),l&&(se["aria-disabled"]=l));const le=aH(t,D,R),ce=zB({},r,{centerRipple:o,component:s,disabled:l,disableRipple:c,disableTouchRipple:u,focusRipple:d,tabIndex:C,focusVisible:z}),ue=(e=>{const{disabled:t,focusVisible:r,focusVisibleClassName:n,classes:o}=e,a=SH({root:["root",t&&"disabled",r&&"focusVisible"]},sY,o);return r&&n&&(a.root+=` ${n}`),a})(ce);return gP.jsxs(uY,zB({as:ie,className:xK(ue.root,i),ownerState:ce,onBlur:ee,onClick:m,onContextMenu:H,onFocus:te,onKeyDown:oe,onKeyUp:ae,onMouseDown:K,onMouseLeave:Y,onMouseUp:Q,onDragLeave:G,onTouchEnd:X,onTouchMove:Z,onTouchStart:J,ref:le,tabIndex:l?-1:C,type:O},se,N,{children:[a,W?gP.jsx(iY,zB({ref:A,center:o},P)):null]}))}));var fY=dY;const pY=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function mY(e){const t=[],r=[];return Array.from(e.querySelectorAll(pY)).forEach(((e,n)=>{const o=function(e){const t=parseInt(e.getAttribute("tabindex")||"",10);return Number.isNaN(t)?"true"===e.contentEditable||("AUDIO"===e.nodeName||"VIDEO"===e.nodeName||"DETAILS"===e.nodeName)&&null===e.getAttribute("tabindex")?0:e.tabIndex:t}(e);-1!==o&&function(e){return!(e.disabled||"INPUT"===e.tagName&&"hidden"===e.type||function(e){if("INPUT"!==e.tagName||"radio"!==e.type)return!1;if(!e.name)return!1;const t=t=>e.ownerDocument.querySelector(`input[type="radio"]${t}`);let r=t(`[name="${e.name}"]:checked`);return r||(r=t(`[name="${e.name}"]`)),r!==e}(e))}(e)&&(0===o?t.push(e):r.push({documentOrder:n,tabIndex:o,node:e}))})),r.sort(((e,t)=>e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex)).map((e=>e.node)).concat(t)}function hY(){return!0}function yY(e){const{children:t,disableAutoFocus:r=!1,disableEnforceFocus:n=!1,disableRestoreFocus:o=!1,getTabbable:a=mY,isEnabled:i=hY,open:s}=e,l=L.useRef(!1),c=L.useRef(null),u=L.useRef(null),d=L.useRef(null),f=L.useRef(null),p=L.useRef(!1),m=L.useRef(null),h=aH(t.ref,m),y=L.useRef(null);L.useEffect((()=>{s&&m.current&&(p.current=!r)}),[r,s]),L.useEffect((()=>{if(!s||!m.current)return;const e=JK(m.current);return m.current.contains(e.activeElement)||(m.current.hasAttribute("tabIndex")||m.current.setAttribute("tabIndex","-1"),p.current&&m.current.focus()),()=>{o||(d.current&&d.current.focus&&(l.current=!0,d.current.focus()),d.current=null)}}),[s]),L.useEffect((()=>{if(!s||!m.current)return;const e=JK(m.current),t=t=>{y.current=t,!n&&i()&&"Tab"===t.key&&e.activeElement===m.current&&t.shiftKey&&(l.current=!0,u.current&&u.current.focus())},r=()=>{const t=m.current;if(null===t)return;if(!e.hasFocus()||!i()||l.current)return void(l.current=!1);if(t.contains(e.activeElement))return;if(n&&e.activeElement!==c.current&&e.activeElement!==u.current)return;if(e.activeElement!==f.current)f.current=null;else if(null!==f.current)return;if(!p.current)return;let r=[];if(e.activeElement!==c.current&&e.activeElement!==u.current||(r=a(m.current)),r.length>0){var o,s;const e=Boolean((null==(o=y.current)?void 0:o.shiftKey)&&"Tab"===(null==(s=y.current)?void 0:s.key)),t=r[0],n=r[r.length-1];"string"!=typeof t&&"string"!=typeof n&&(e?n.focus():t.focus())}else t.focus()};e.addEventListener("focusin",r),e.addEventListener("keydown",t,!0);const o=setInterval((()=>{e.activeElement&&"BODY"===e.activeElement.tagName&&r()}),50);return()=>{clearInterval(o),e.removeEventListener("focusin",r),e.removeEventListener("keydown",t,!0)}}),[r,n,o,i,s,a]);const v=e=>{null===d.current&&(d.current=e.relatedTarget),p.current=!0};return gP.jsxs(L.Fragment,{children:[gP.jsx("div",{tabIndex:s?0:-1,onFocus:v,ref:c,"data-testid":"sentinelStart"}),L.cloneElement(t,{ref:h,onFocus:e=>{null===d.current&&(d.current=e.relatedTarget),p.current=!0,f.current=e.target;const r=t.props.onFocus;r&&r(e)}}),gP.jsx("div",{tabIndex:s?0:-1,onFocus:v,ref:u,"data-testid":"sentinelEnd"})]})}const vY=L.forwardRef((function(e,t){const{children:r,container:n,disablePortal:o=!1}=e,[a,i]=L.useState(null),s=aH(L.isValidElement(r)?r.ref:null,t);if(qK((()=>{o||i(function(e){return"function"==typeof e?e():e}(n)||document.body)}),[n,o]),qK((()=>{if(a&&!o)return ZK(t,a),()=>{ZK(t,null)}}),[t,a,o]),o){if(L.isValidElement(r)){const e={ref:s};return L.cloneElement(r,e)}return gP.jsx(L.Fragment,{children:r})}return gP.jsx(L.Fragment,{children:a?Yu.createPortal(r,a):a})}));function gY(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function bY(e){return parseInt(XK(e).getComputedStyle(e).paddingRight,10)||0}function wY(e,t,r,n,o){const a=[t,r,...n];[].forEach.call(e.children,(e=>{const t=-1===a.indexOf(e),r=!function(e){const t=-1!==["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].indexOf(e.tagName),r="INPUT"===e.tagName&&"hidden"===e.getAttribute("type");return t||r}(e);t&&r&&gY(e,o)}))}function SY(e,t){let r=-1;return e.some(((e,n)=>!!t(e)&&(r=n,!0))),r}function xY(e,t){const r=[],n=e.container;if(!t.disableScrollLock){if(function(e){const t=JK(e);return t.body===e?XK(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}(n)){const e=bH(JK(n));r.push({value:n.style.paddingRight,property:"padding-right",el:n}),n.style.paddingRight=`${bY(n)+e}px`;const t=JK(n).querySelectorAll(".mui-fixed");[].forEach.call(t,(t=>{r.push({value:t.style.paddingRight,property:"padding-right",el:t}),t.style.paddingRight=`${bY(t)+e}px`}))}let e;if(n.parentNode instanceof DocumentFragment)e=JK(n).body;else{const t=n.parentElement,r=XK(n);e="HTML"===(null==t?void 0:t.nodeName)&&"scroll"===r.getComputedStyle(t).overflowY?t:n}r.push({value:e.style.overflow,property:"overflow",el:e},{value:e.style.overflowX,property:"overflow-x",el:e},{value:e.style.overflowY,property:"overflow-y",el:e}),e.style.overflow="hidden"}return()=>{r.forEach((({value:e,el:t,property:r})=>{e?t.style.setProperty(r,e):t.style.removeProperty(r)}))}}const $Y=new class{constructor(){this.containers=void 0,this.modals=void 0,this.modals=[],this.containers=[]}add(e,t){let r=this.modals.indexOf(e);if(-1!==r)return r;r=this.modals.length,this.modals.push(e),e.modalRef&&gY(e.modalRef,!1);const n=function(e){const t=[];return[].forEach.call(e.children,(e=>{"true"===e.getAttribute("aria-hidden")&&t.push(e)})),t}(t);wY(t,e.mount,e.modalRef,n,!0);const o=SY(this.containers,(e=>e.container===t));return-1!==o?(this.containers[o].modals.push(e),r):(this.containers.push({modals:[e],container:t,restore:null,hiddenSiblings:n}),r)}mount(e,t){const r=SY(this.containers,(t=>-1!==t.modals.indexOf(e))),n=this.containers[r];n.restore||(n.restore=xY(n,t))}remove(e,t=!0){const r=this.modals.indexOf(e);if(-1===r)return r;const n=SY(this.containers,(t=>-1!==t.modals.indexOf(e))),o=this.containers[n];if(o.modals.splice(o.modals.indexOf(e),1),this.modals.splice(r,1),0===o.modals.length)o.restore&&o.restore(),e.modalRef&&gY(e.modalRef,t),wY(o.container,e.mount,e.modalRef,o.hiddenSiblings,!1),this.containers.splice(n,1);else{const e=o.modals[o.modals.length-1];e.modalRef&&gY(e.modalRef,!1)}return r}isTopModal(e){return this.modals.length>0&&this.modals[this.modals.length-1]===e}};function kY(e){const{container:t,disableEscapeKeyDown:r=!1,disableScrollLock:n=!1,manager:o=$Y,closeAfterTransition:a=!1,onTransitionEnter:i,onTransitionExited:s,children:l,onClose:c,open:u,rootRef:d}=e,f=L.useRef({}),p=L.useRef(null),m=L.useRef(null),h=aH(m,d),[y,v]=L.useState(!u),g=function(e){return!!e&&e.props.hasOwnProperty("in")}(l);let b=!0;"false"!==e["aria-hidden"]&&!1!==e["aria-hidden"]||(b=!1);const w=()=>(f.current.modalRef=m.current,f.current.mount=p.current,f.current),S=()=>{o.mount(w(),{disableScrollLock:n}),m.current&&(m.current.scrollTop=0)},x=oH((()=>{const e=function(e){return"function"==typeof e?e():e}(t)||JK(p.current).body;o.add(w(),e),m.current&&S()})),$=L.useCallback((()=>o.isTopModal(w())),[o]),k=oH((e=>{p.current=e,e&&(u&&$()?S():m.current&&gY(m.current,b))})),_=L.useCallback((()=>{o.remove(w(),b)}),[b,o]);L.useEffect((()=>()=>{_()}),[_]),L.useEffect((()=>{u?x():g&&a||_()}),[u,_,g,a,x]);const E=e=>t=>{var n;null==(n=e.onKeyDown)||n.call(e,t),"Escape"===t.key&&229!==t.which&&$()&&(r||(t.stopPropagation(),c&&c(t,"escapeKeyDown")))},C=e=>t=>{var r;null==(r=e.onClick)||r.call(e,t),t.target===t.currentTarget&&c&&c(t,"backdropClick")};return{getRootProps:(t={})=>{const r=UQ(e);delete r.onTransitionEnter,delete r.onTransitionExited;const n=zB({},r,t);return zB({role:"presentation"},n,{onKeyDown:E(n),ref:h})},getBackdropProps:(e={})=>zB({"aria-hidden":!0},e,{onClick:C(e),open:u}),getTransitionProps:()=>({onEnter:GK((()=>{v(!1),i&&i()}),null==l?void 0:l.props.onEnter),onExited:GK((()=>{v(!0),s&&s(),a&&_()}),null==l?void 0:l.props.onExited)}),rootRef:h,portalRef:k,isTopModal:$,exited:y,hasTransition:g}}function _Y(e,t){return e-t}function EY(e,t){var r;const{index:n}=null!=(r=e.reduce(((e,r,n)=>{const o=Math.abs(t-r);return null===e||o<e.distance||o===e.distance?{distance:o,index:n}:e}),null))?r:{};return n}function CY(e,t){if(void 0!==t.current&&e.changedTouches){const r=e;for(let e=0;e<r.changedTouches.length;e+=1){const n=r.changedTouches[e];if(n.identifier===t.current)return{x:n.clientX,y:n.clientY}}return!1}return{x:e.clientX,y:e.clientY}}function PY(e,t,r){return 100*(e-t)/(r-t)}function jY(e,t,r){const n=Math.round((e-r)/t)*t+r;return Number(n.toFixed(function(e){if(Math.abs(e)<1){const t=e.toExponential().split("e-"),r=t[0].split(".")[1];return(r?r.length:0)+parseInt(t[1],10)}const t=e.toString().split(".")[1];return t?t.length:0}(t)))}function OY({values:e,newValue:t,index:r}){const n=e.slice();return n[r]=t,n.sort(_Y)}function NY({sliderRef:e,activeIndex:t,setActive:r}){var n,o;const a=JK(e.current);var i;null!=(n=e.current)&&n.contains(a.activeElement)&&Number(null==a||null==(o=a.activeElement)?void 0:o.getAttribute("data-index"))===t||(null==(i=e.current)||i.querySelector(`[type="range"][data-index="${t}"]`).focus());r&&r(t)}function RY(e,t){return"number"==typeof e&&"number"==typeof t?e===t:"object"==typeof e&&"object"==typeof t&&function(e,t,r=((e,t)=>e===t)){return e.length===t.length&&e.every(((e,n)=>r(e,t[n])))}(e,t)}const TY={horizontal:{offset:e=>({left:`${e}%`}),leap:e=>({width:`${e}%`})},"horizontal-reverse":{offset:e=>({right:`${e}%`}),leap:e=>({width:`${e}%`})},vertical:{offset:e=>({bottom:`${e}%`}),leap:e=>({height:`${e}%`})}},AY=e=>e;let IY;function MY(){return void 0===IY&&(IY="undefined"==typeof CSS||"function"!=typeof CSS.supports||CSS.supports("touch-action","none")),IY}function FY(e){const{"aria-labelledby":t,defaultValue:r,disabled:n=!1,disableSwap:o=!1,isRtl:a=!1,marks:i=!1,max:s=100,min:l=0,name:c,onChange:u,onChangeCommitted:d,orientation:f="horizontal",rootRef:p,scale:m=AY,step:h=1,shiftStep:y=10,tabIndex:v,value:g}=e,b=L.useRef(),[w,S]=L.useState(-1),[x,$]=L.useState(-1),[k,_]=L.useState(!1),E=L.useRef(0),[C,P]=nH({controlled:g,default:null!=r?r:l,name:"Slider"}),j=u&&((e,t,r)=>{const n=e.nativeEvent||e,o=new n.constructor(n.type,n);Object.defineProperty(o,"target",{writable:!0,value:{value:t,name:c}}),u(o,t,r)}),O=Array.isArray(C);let N=O?C.slice().sort(_Y):[C];N=N.map((e=>null==e?l:KK(e,l,s)));const R=!0===i&&null!==h?[...Array(Math.floor((s-l)/h)+1)].map(((e,t)=>({value:l+h*t}))):i||[],T=R.map((e=>e.value)),{isFocusVisibleRef:A,onBlur:I,onFocus:M,ref:F}=gH(),[D,z]=L.useState(-1),V=L.useRef(),B=aH(F,V),U=aH(p,B),W=e=>t=>{var r;const n=Number(t.currentTarget.getAttribute("data-index"));M(t),!0===A.current&&z(n),$(n),null==e||null==(r=e.onFocus)||r.call(e,t)},q=e=>t=>{var r;I(t),!1===A.current&&z(-1),$(-1),null==e||null==(r=e.onBlur)||r.call(e,t)},K=(e,t)=>{const r=Number(e.currentTarget.getAttribute("data-index")),n=N[r],a=T.indexOf(n);let i=t;if(R&&null==h){const e=T[T.length-1];i=i>e?e:i<T[0]?T[0]:i<n?T[a-1]:T[a+1]}if(i=KK(i,l,s),O){o&&(i=KK(i,N[r-1]||-1/0,N[r+1]||1/0));const e=i;i=OY({values:N,newValue:i,index:r});let t=r;o||(t=i.indexOf(e)),NY({sliderRef:V,activeIndex:t})}P(i),z(r),j&&!RY(i,C)&&j(e,i,r),d&&d(e,i)},H=e=>t=>{var r;if(null!==h){const e=Number(t.currentTarget.getAttribute("data-index")),r=N[e];let n=null;("ArrowLeft"===t.key||"ArrowDown"===t.key)&&t.shiftKey||"PageDown"===t.key?n=Math.max(r-y,l):(("ArrowRight"===t.key||"ArrowUp"===t.key)&&t.shiftKey||"PageUp"===t.key)&&(n=Math.min(r+y,s)),null!==n&&(K(t,n),t.preventDefault())}null==e||null==(r=e.onKeyDown)||r.call(e,t)};qK((()=>{var e;n&&V.current.contains(document.activeElement)&&(null==(e=document.activeElement)||e.blur())}),[n]),n&&-1!==w&&S(-1),n&&-1!==D&&z(-1);const G=L.useRef();let Q=f;a&&"horizontal"===f&&(Q+="-reverse");const Y=({finger:e,move:t=!1})=>{const{current:r}=V,{width:n,height:a,bottom:i,left:c}=r.getBoundingClientRect();let u,d;if(u=0===Q.indexOf("vertical")?(i-e.y)/a:(e.x-c)/n,-1!==Q.indexOf("-reverse")&&(u=1-u),d=function(e,t,r){return(r-t)*e+t}(u,l,s),h)d=jY(d,h,l);else{const e=EY(T,d);d=T[e]}d=KK(d,l,s);let f=0;if(O){f=t?G.current:EY(N,d),o&&(d=KK(d,N[f-1]||-1/0,N[f+1]||1/0));const e=d;d=OY({values:N,newValue:d,index:f}),o&&t||(f=d.indexOf(e),G.current=f)}return{newValue:d,activeIndex:f}},J=oH((e=>{const t=CY(e,b);if(!t)return;if(E.current+=1,"mousemove"===e.type&&0===e.buttons)return void X(e);const{newValue:r,activeIndex:n}=Y({finger:t,move:!0});NY({sliderRef:V,activeIndex:n,setActive:S}),P(r),!k&&E.current>2&&_(!0),j&&!RY(r,C)&&j(e,r,n)})),X=oH((e=>{const t=CY(e,b);if(_(!1),!t)return;const{newValue:r}=Y({finger:t,move:!0});S(-1),"touchend"===e.type&&$(-1),d&&d(e,r),b.current=void 0,ee()})),Z=oH((e=>{if(n)return;MY()||e.preventDefault();const t=e.changedTouches[0];null!=t&&(b.current=t.identifier);const r=CY(e,b);if(!1!==r){const{newValue:t,activeIndex:n}=Y({finger:r});NY({sliderRef:V,activeIndex:n,setActive:S}),P(t),j&&!RY(t,C)&&j(e,t,n)}E.current=0;const o=JK(V.current);o.addEventListener("touchmove",J,{passive:!0}),o.addEventListener("touchend",X,{passive:!0})})),ee=L.useCallback((()=>{const e=JK(V.current);e.removeEventListener("mousemove",J),e.removeEventListener("mouseup",X),e.removeEventListener("touchmove",J),e.removeEventListener("touchend",X)}),[X,J]);L.useEffect((()=>{const{current:e}=V;return e.addEventListener("touchstart",Z,{passive:MY()}),()=>{e.removeEventListener("touchstart",Z),ee()}}),[ee,Z]),L.useEffect((()=>{n&&ee()}),[n,ee]);const te=PY(O?N[0]:l,l,s),re=PY(N[N.length-1],l,s)-te,ne=e=>t=>{var r;null==(r=e.onMouseLeave)||r.call(e,t),$(-1)};return{active:w,axis:Q,axisProps:TY,dragging:k,focusedThumbIndex:D,getHiddenInputProps:(r={})=>{var o;const i=UQ(r);var u;const d=zB({},i,{onChange:(u=i||{},e=>{var t;null==(t=u.onChange)||t.call(u,e),K(e,e.target.valueAsNumber)}),onFocus:W(i||{}),onBlur:q(i||{}),onKeyDown:H(i||{})});return zB({tabIndex:v,"aria-labelledby":t,"aria-orientation":f,"aria-valuemax":m(s),"aria-valuemin":m(l),name:c,type:"range",min:e.min,max:e.max,step:null===e.step&&e.marks?"any":null!=(o=e.step)?o:void 0,disabled:n},r,d,{style:zB({},wH,{direction:a?"rtl":"ltr",width:"100%",height:"100%"})})},getRootProps:(e={})=>{const t=UQ(e);var r;const o=zB({},t,{onMouseDown:(r=t||{},e=>{var t;if(null==(t=r.onMouseDown)||t.call(r,e),n)return;if(e.defaultPrevented)return;if(0!==e.button)return;e.preventDefault();const o=CY(e,b);if(!1!==o){const{newValue:t,activeIndex:r}=Y({finger:o});NY({sliderRef:V,activeIndex:r,setActive:S}),P(t),j&&!RY(t,C)&&j(e,t,r)}E.current=0;const a=JK(V.current);a.addEventListener("mousemove",J,{passive:!0}),a.addEventListener("mouseup",X)})});return zB({},e,{ref:U},o)},getThumbProps:(e={})=>{const t=UQ(e);var r;return zB({},e,t,{onMouseOver:(r=t||{},e=>{var t;null==(t=r.onMouseOver)||t.call(r,e);const n=Number(e.currentTarget.getAttribute("data-index"));$(n)}),onMouseLeave:ne(t||{})})},marks:R,open:x,range:O,rootRef:U,trackLeap:re,trackOffset:te,values:N,getThumbStyle:e=>({pointerEvents:-1!==w&&w!==e?"none":void 0})}}const DY=["onChange","maxRows","minRows","style","value"];function zY(e){return parseInt(e,10)||0}const LY={visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"};const VY=L.forwardRef((function(e,t){const{onChange:r,maxRows:n,minRows:o=1,style:a,value:i}=e,s=LB(e,DY),{current:l}=L.useRef(null!=i),c=L.useRef(null),u=aH(t,c),d=L.useRef(null),f=L.useCallback((()=>{const t=c.current,r=XK(t).getComputedStyle(t);if("0px"===r.width)return{outerHeightStyle:0,overflowing:!1};const a=d.current;a.style.width=r.width,a.value=t.value||e.placeholder||"x","\n"===a.value.slice(-1)&&(a.value+=" ");const i=r.boxSizing,s=zY(r.paddingBottom)+zY(r.paddingTop),l=zY(r.borderBottomWidth)+zY(r.borderTopWidth),u=a.scrollHeight;a.value="x";const f=a.scrollHeight;let p=u;o&&(p=Math.max(Number(o)*f,p)),n&&(p=Math.min(Number(n)*f,p)),p=Math.max(p,f);return{outerHeightStyle:p+("border-box"===i?s+l:0),overflowing:Math.abs(p-u)<=1}}),[n,o,e.placeholder]),p=L.useCallback((()=>{const e=f();if(null==(t=e)||0===Object.keys(t).length||0===t.outerHeightStyle&&!t.overflowing)return;var t;const r=c.current;r.style.height=`${e.outerHeightStyle}px`,r.style.overflow=e.overflowing?"hidden":""}),[f]);qK((()=>{const e=()=>{p()};const t=QK(e),r=c.current,n=XK(r);let o;return n.addEventListener("resize",t),"undefined"!=typeof ResizeObserver&&(o=new ResizeObserver(e),o.observe(r)),()=>{t.clear(),cancelAnimationFrame(undefined),n.removeEventListener("resize",t),o&&o.disconnect()}}),[f,p]),qK((()=>{p()}));return gP.jsxs(L.Fragment,{children:[gP.jsx("textarea",zB({value:i,onChange:e=>{l||p(),r&&r(e)},ref:u,rows:o},s)),gP.jsx("textarea",{"aria-hidden":!0,className:e.className,readOnly:!0,ref:d,tabIndex:-1,style:zB({},LY,a,{paddingTop:0,paddingBottom:0})})]})}));function BY(e){return _K("MuiIconButton",e)}var UY=EK("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge"]);const WY=["edge","children","className","color","disabled","disableFocusRipple","size"],qY=aQ(fY,{name:"MuiIconButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,"default"!==r.color&&t[`color${fq(r.color)}`],r.edge&&t[`edge${fq(r.edge)}`],t[`size${fq(r.size)}`]]}})((({theme:e,ownerState:t})=>zB({textAlign:"center",flex:"0 0 auto",fontSize:e.typography.pxToRem(24),padding:8,borderRadius:"50%",overflow:"visible",color:(e.vars||e).palette.action.active,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest})},!t.disableRipple&&{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:BH(e.palette.action.active,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"start"===t.edge&&{marginLeft:"small"===t.size?-3:-12},"end"===t.edge&&{marginRight:"small"===t.size?-3:-12})),(({theme:e,ownerState:t})=>{var r;const n=null==(r=(e.vars||e).palette)?void 0:r[t.color];return zB({},"inherit"===t.color&&{color:"inherit"},"inherit"!==t.color&&"default"!==t.color&&zB({color:null==n?void 0:n.main},!t.disableRipple&&{"&:hover":zB({},n&&{backgroundColor:e.vars?`rgba(${n.mainChannel} / ${e.vars.palette.action.hoverOpacity})`:BH(n.main,e.palette.action.hoverOpacity)},{"@media (hover: none)":{backgroundColor:"transparent"}})}),"small"===t.size&&{padding:5,fontSize:e.typography.pxToRem(18)},"large"===t.size&&{padding:12,fontSize:e.typography.pxToRem(28)},{[`&.${UY.disabled}`]:{backgroundColor:"transparent",color:(e.vars||e).palette.action.disabled}})})),KY=L.forwardRef((function(e,t){const r=EG({props:e,name:"MuiIconButton"}),{edge:n=!1,children:o,className:a,color:i="default",disabled:s=!1,disableFocusRipple:l=!1,size:c="medium"}=r,u=LB(r,WY),d=zB({},r,{edge:n,color:i,disabled:s,disableFocusRipple:l,size:c}),f=(e=>{const{classes:t,disabled:r,color:n,edge:o,size:a}=e;return SH({root:["root",r&&"disabled","default"!==n&&`color${fq(n)}`,o&&`edge${fq(o)}`,`size${fq(a)}`]},BY,t)})(d);return gP.jsx(qY,zB({className:xK(f.root,a),centerRipple:!0,focusRipple:!l,disabled:s,ref:t},u,{ownerState:d,children:o}))}));var HY=KY;function GY(e){return _K("MuiTypography",e)}EK("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);const QY=["align","className","component","gutterBottom","noWrap","paragraph","variant","variantMapping"],YY=aQ("span",{name:"MuiTypography",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.variant&&t[r.variant],"inherit"!==r.align&&t[`align${fq(r.align)}`],r.noWrap&&t.noWrap,r.gutterBottom&&t.gutterBottom,r.paragraph&&t.paragraph]}})((({theme:e,ownerState:t})=>zB({margin:0},"inherit"===t.variant&&{font:"inherit"},"inherit"!==t.variant&&e.typography[t.variant],"inherit"!==t.align&&{textAlign:t.align},t.noWrap&&{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},t.gutterBottom&&{marginBottom:"0.35em"},t.paragraph&&{marginBottom:16}))),JY={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},XY={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},ZY=L.forwardRef((function(e,t){const r=EG({props:e,name:"MuiTypography"}),n=(e=>XY[e]||e)(r.color),o=vK(zB({},r,{color:n})),{align:a="inherit",className:i,component:s,gutterBottom:l=!1,noWrap:c=!1,paragraph:u=!1,variant:d="body1",variantMapping:f=JY}=o,p=LB(o,QY),m=zB({},o,{align:a,color:n,className:i,component:s,gutterBottom:l,noWrap:c,paragraph:u,variant:d,variantMapping:f}),h=s||(u?"p":f[d]||JY[d])||"span",y=(e=>{const{align:t,gutterBottom:r,noWrap:n,paragraph:o,variant:a,classes:i}=e;return SH({root:["root",a,"inherit"!==e.align&&`align${fq(t)}`,r&&"gutterBottom",n&&"noWrap",o&&"paragraph"]},GY,i)})(m);return gP.jsx(YY,zB({as:h,ref:t,ownerState:m,className:xK(y.root,i)},p))}));var eJ=ZY;function tJ({props:e,states:t,muiFormControl:r}){return t.reduce(((t,n)=>(t[n]=e[n],r&&void 0===e[n]&&(t[n]=r[n]),t)),{})}var rJ=L.createContext(void 0);function nJ(){return L.useContext(rJ)}function oJ(e){return gP.jsx(mK,zB({},e,{defaultTheme:kG,themeId:DB}))}function aJ(e){return null!=e&&!(Array.isArray(e)&&0===e.length)}function iJ(e,t=!1){return e&&(aJ(e.value)&&""!==e.value||t&&aJ(e.defaultValue)&&""!==e.defaultValue)}function sJ(e){return _K("MuiInputBase",e)}var lJ=EK("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","readOnly","input","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel"]);const cJ=["aria-describedby","autoComplete","autoFocus","className","color","components","componentsProps","defaultValue","disabled","disableInjectingGlobalStyles","endAdornment","error","fullWidth","id","inputComponent","inputProps","inputRef","margin","maxRows","minRows","multiline","name","onBlur","onChange","onClick","onFocus","onKeyDown","onKeyUp","placeholder","readOnly","renderSuffix","rows","size","slotProps","slots","startAdornment","type","value"],uJ=(e,t)=>{const{ownerState:r}=e;return[t.root,r.formControl&&t.formControl,r.startAdornment&&t.adornedStart,r.endAdornment&&t.adornedEnd,r.error&&t.error,"small"===r.size&&t.sizeSmall,r.multiline&&t.multiline,r.color&&t[`color${fq(r.color)}`],r.fullWidth&&t.fullWidth,r.hiddenLabel&&t.hiddenLabel]},dJ=(e,t)=>{const{ownerState:r}=e;return[t.input,"small"===r.size&&t.inputSizeSmall,r.multiline&&t.inputMultiline,"search"===r.type&&t.inputTypeSearch,r.startAdornment&&t.inputAdornedStart,r.endAdornment&&t.inputAdornedEnd,r.hiddenLabel&&t.inputHiddenLabel]},fJ=aQ("div",{name:"MuiInputBase",slot:"Root",overridesResolver:uJ})((({theme:e,ownerState:t})=>zB({},e.typography.body1,{color:(e.vars||e).palette.text.primary,lineHeight:"1.4375em",boxSizing:"border-box",position:"relative",cursor:"text",display:"inline-flex",alignItems:"center",[`&.${lJ.disabled}`]:{color:(e.vars||e).palette.text.disabled,cursor:"default"}},t.multiline&&zB({padding:"4px 0 5px"},"small"===t.size&&{paddingTop:1}),t.fullWidth&&{width:"100%"}))),pJ=aQ("input",{name:"MuiInputBase",slot:"Input",overridesResolver:dJ})((({theme:e,ownerState:t})=>{const r="light"===e.palette.mode,n=zB({color:"currentColor"},e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:r?.42:.5},{transition:e.transitions.create("opacity",{duration:e.transitions.duration.shorter})}),o={opacity:"0 !important"},a=e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:r?.42:.5};return zB({font:"inherit",letterSpacing:"inherit",color:"currentColor",padding:"4px 0 5px",border:0,boxSizing:"content-box",background:"none",height:"1.4375em",margin:0,WebkitTapHighlightColor:"transparent",display:"block",minWidth:0,width:"100%",animationName:"mui-auto-fill-cancel",animationDuration:"10ms","&::-webkit-input-placeholder":n,"&::-moz-placeholder":n,"&:-ms-input-placeholder":n,"&::-ms-input-placeholder":n,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{WebkitAppearance:"none"},[`label[data-shrink=false] + .${lJ.formControl} &`]:{"&::-webkit-input-placeholder":o,"&::-moz-placeholder":o,"&:-ms-input-placeholder":o,"&::-ms-input-placeholder":o,"&:focus::-webkit-input-placeholder":a,"&:focus::-moz-placeholder":a,"&:focus:-ms-input-placeholder":a,"&:focus::-ms-input-placeholder":a},[`&.${lJ.disabled}`]:{opacity:1,WebkitTextFillColor:(e.vars||e).palette.text.disabled},"&:-webkit-autofill":{animationDuration:"5000s",animationName:"mui-auto-fill"}},"small"===t.size&&{paddingTop:1},t.multiline&&{height:"auto",resize:"none",padding:0,paddingTop:0},"search"===t.type&&{MozAppearance:"textfield"})})),mJ=gP.jsx(oJ,{styles:{"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}}),hJ=L.forwardRef((function(e,t){var r;const n=EG({props:e,name:"MuiInputBase"}),{"aria-describedby":o,autoComplete:a,autoFocus:i,className:s,components:l={},componentsProps:c={},defaultValue:u,disabled:d,disableInjectingGlobalStyles:f,endAdornment:p,fullWidth:m=!1,id:h,inputComponent:y="input",inputProps:v={},inputRef:g,maxRows:b,minRows:w,multiline:S=!1,name:x,onBlur:$,onChange:k,onClick:_,onFocus:E,onKeyDown:C,onKeyUp:P,placeholder:j,readOnly:O,renderSuffix:N,rows:R,slotProps:T={},slots:A={},startAdornment:I,type:M="text",value:F}=n,D=LB(n,cJ),z=null!=v.value?v.value:F,{current:V}=L.useRef(null!=z),B=L.useRef(),U=L.useCallback((e=>{}),[]),W=aH(B,g,v.ref,U),[q,K]=L.useState(!1),H=nJ(),G=tJ({props:n,muiFormControl:H,states:["color","disabled","error","hiddenLabel","size","required","filled"]});G.focused=H?H.focused:q,L.useEffect((()=>{!H&&d&&q&&(K(!1),$&&$())}),[H,d,q,$]);const Q=H&&H.onFilled,Y=H&&H.onEmpty,J=L.useCallback((e=>{iJ(e)?Q&&Q():Y&&Y()}),[Q,Y]);qK((()=>{V&&J({value:z})}),[z,J,V]);L.useEffect((()=>{J(B.current)}),[]);let X=y,Z=v;S&&"input"===X&&(Z=zB(R?{type:void 0,minRows:R,maxRows:R}:{type:void 0,maxRows:b,minRows:w},Z),X=VY);L.useEffect((()=>{H&&H.setAdornedStart(Boolean(I))}),[H,I]);const ee=zB({},n,{color:G.color||"primary",disabled:G.disabled,endAdornment:p,error:G.error,focused:G.focused,formControl:H,fullWidth:m,hiddenLabel:G.hiddenLabel,multiline:S,size:G.size,startAdornment:I,type:M}),te=(e=>{const{classes:t,color:r,disabled:n,error:o,endAdornment:a,focused:i,formControl:s,fullWidth:l,hiddenLabel:c,multiline:u,readOnly:d,size:f,startAdornment:p,type:m}=e;return SH({root:["root",`color${fq(r)}`,n&&"disabled",o&&"error",l&&"fullWidth",i&&"focused",s&&"formControl",f&&"medium"!==f&&`size${fq(f)}`,u&&"multiline",p&&"adornedStart",a&&"adornedEnd",c&&"hiddenLabel",d&&"readOnly"],input:["input",n&&"disabled","search"===m&&"inputTypeSearch",u&&"inputMultiline","small"===f&&"inputSizeSmall",c&&"inputHiddenLabel",p&&"inputAdornedStart",a&&"inputAdornedEnd",d&&"readOnly"]},sJ,t)})(ee),re=A.root||l.Root||fJ,ne=T.root||c.root||{},oe=A.input||l.Input||pJ;return Z=zB({},Z,null!=(r=T.input)?r:c.input),gP.jsxs(L.Fragment,{children:[!f&&mJ,gP.jsxs(re,zB({},ne,!BQ(re)&&{ownerState:zB({},ee,ne.ownerState)},{ref:t,onClick:e=>{B.current&&e.currentTarget===e.target&&B.current.focus(),_&&_(e)}},D,{className:xK(te.root,ne.className,s,O&&"MuiInputBase-readOnly"),children:[I,gP.jsx(rJ.Provider,{value:null,children:gP.jsx(oe,zB({ownerState:ee,"aria-invalid":G.error,"aria-describedby":o,autoComplete:a,autoFocus:i,defaultValue:u,disabled:G.disabled,id:h,onAnimationStart:e=>{J("mui-auto-fill-cancel"===e.animationName?B.current:{value:"x"})},name:x,placeholder:j,readOnly:O,required:G.required,rows:R,value:z,onKeyDown:C,onKeyUp:P,type:M},Z,!BQ(oe)&&{as:X,ownerState:zB({},ee,Z.ownerState)},{ref:W,className:xK(te.input,Z.className,O&&"MuiInputBase-readOnly"),onBlur:e=>{$&&$(e),v.onBlur&&v.onBlur(e),H&&H.onBlur?H.onBlur(e):K(!1)},onChange:(e,...t)=>{if(!V){const t=e.target||B.current;if(null==t)throw new Error(MB(1));J({value:t.value})}v.onChange&&v.onChange(e,...t),k&&k(e,...t)},onFocus:e=>{G.disabled?e.stopPropagation():(E&&E(e),v.onFocus&&v.onFocus(e),H&&H.onFocus?H.onFocus(e):K(!0))}}))}),p,N?N(zB({},G,{startAdornment:I})):null]}))]})}));var yJ=hJ;function vJ(e){return _K("MuiInput",e)}var gJ=zB({},lJ,EK("MuiInput",["root","underline","input"]));function bJ(e){return _K("MuiOutlinedInput",e)}var wJ=zB({},lJ,EK("MuiOutlinedInput",["root","notchedOutline","input"]));function SJ(e){return _K("MuiFilledInput",e)}var xJ=zB({},lJ,EK("MuiFilledInput",["root","underline","input"])),$J=mQ(gP.jsx("path",{d:"M7 10l5 5 5-5z"}),"ArrowDropDown");const kJ=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"],_J={entering:{opacity:1},entered:{opacity:1}},EJ=L.forwardRef((function(e,t){const r=_G(),n={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},{addEndListener:o,appear:a=!0,children:i,easing:s,in:l,onEnter:c,onEntered:u,onEntering:d,onExit:f,onExited:p,onExiting:m,style:h,timeout:y=n,TransitionComponent:v=PQ}=e,g=LB(e,kJ),b=L.useRef(null),w=aH(b,i.ref,t),S=e=>t=>{if(e){const r=b.current;void 0===t?e(r):e(r,t)}},x=S(d),$=S(((e,t)=>{IQ(e);const n=MQ({style:h,timeout:y,easing:s},{mode:"enter"});e.style.webkitTransition=r.transitions.create("opacity",n),e.style.transition=r.transitions.create("opacity",n),c&&c(e,t)})),k=S(u),_=S(m),E=S((e=>{const t=MQ({style:h,timeout:y,easing:s},{mode:"exit"});e.style.webkitTransition=r.transitions.create("opacity",t),e.style.transition=r.transitions.create("opacity",t),f&&f(e)})),C=S(p);return gP.jsx(v,zB({appear:a,in:l,nodeRef:b,onEnter:$,onEntered:k,onEntering:x,onExit:E,onExited:C,onExiting:_,addEndListener:e=>{o&&o(b.current,e)},timeout:y},g,{children:(e,t)=>L.cloneElement(i,zB({style:zB({opacity:0,visibility:"exited"!==e||l?void 0:"hidden"},_J[e],h,i.props.style),ref:w},t))}))}));var CJ=EJ;function PJ(e){return _K("MuiBackdrop",e)}EK("MuiBackdrop",["root","invisible"]);const jJ=["children","className","component","components","componentsProps","invisible","open","slotProps","slots","TransitionComponent","transitionDuration"],OJ=aQ("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.invisible&&t.invisible]}})((({ownerState:e})=>zB({position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent"},e.invisible&&{backgroundColor:"transparent"}))),NJ=L.forwardRef((function(e,t){var r,n,o;const a=EG({props:e,name:"MuiBackdrop"}),{children:i,className:s,component:l="div",components:c={},componentsProps:u={},invisible:d=!1,open:f,slotProps:p={},slots:m={},TransitionComponent:h=CJ,transitionDuration:y}=a,v=LB(a,jJ),g=zB({},a,{component:l,invisible:d}),b=(e=>{const{classes:t,invisible:r}=e;return SH({root:["root",r&&"invisible"]},PJ,t)})(g),w=null!=(r=p.root)?r:u.root;return gP.jsx(h,zB({in:f,timeout:y},v,{children:gP.jsx(OJ,zB({"aria-hidden":!0},w,{as:null!=(n=null!=(o=m.root)?o:c.Root)?n:l,className:xK(b.root,s,null==w?void 0:w.className),ownerState:zB({},g,null==w?void 0:w.ownerState),classes:b,ref:t,children:i}))}))}));var RJ=NJ;var TJ=EK("MuiBox",["root"]);const AJ=$G(),IJ=function(e={}){const{themeId:t,defaultTheme:r,defaultClassName:n="MuiBox-root",generateClassName:o}=e,a=GW("div",{shouldForwardProp:e=>"theme"!==e&&"sx"!==e&&"as"!==e})(iK),i=L.forwardRef((function(e,i){const s=pK(r),l=vK(e),{className:c,component:u="div"}=l,d=LB(l,$K);return gP.jsx(a,zB({as:u,ref:i,className:xK(c,o?o(n):n),theme:t&&s[t]||s},d))}));return i}({themeId:DB,defaultTheme:AJ,defaultClassName:TJ.root,generateClassName:wK.generate});var MJ=IJ;function FJ(e){return _K("MuiButton",e)}var DJ=EK("MuiButton",["root","text","textInherit","textPrimary","textSecondary","textSuccess","textError","textInfo","textWarning","outlined","outlinedInherit","outlinedPrimary","outlinedSecondary","outlinedSuccess","outlinedError","outlinedInfo","outlinedWarning","contained","containedInherit","containedPrimary","containedSecondary","containedSuccess","containedError","containedInfo","containedWarning","disableElevation","focusVisible","disabled","colorInherit","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","iconSizeSmall","iconSizeMedium","iconSizeLarge"]);var zJ=L.createContext({});var LJ=L.createContext(void 0);const VJ=["children","color","component","className","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"],BJ=e=>zB({},"small"===e.size&&{"& > *:nth-of-type(1)":{fontSize:18}},"medium"===e.size&&{"& > *:nth-of-type(1)":{fontSize:20}},"large"===e.size&&{"& > *:nth-of-type(1)":{fontSize:22}}),UJ=aQ(fY,{shouldForwardProp:e=>nQ(e)||"classes"===e,name:"MuiButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.variant],t[`${r.variant}${fq(r.color)}`],t[`size${fq(r.size)}`],t[`${r.variant}Size${fq(r.size)}`],"inherit"===r.color&&t.colorInherit,r.disableElevation&&t.disableElevation,r.fullWidth&&t.fullWidth]}})((({theme:e,ownerState:t})=>{var r,n;const o="light"===e.palette.mode?e.palette.grey[300]:e.palette.grey[800],a="light"===e.palette.mode?e.palette.grey.A100:e.palette.grey[700];return zB({},e.typography.button,{minWidth:64,padding:"6px 16px",borderRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create(["background-color","box-shadow","border-color","color"],{duration:e.transitions.duration.short}),"&:hover":zB({textDecoration:"none",backgroundColor:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:BH(e.palette.text.primary,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"text"===t.variant&&"inherit"!==t.color&&{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:BH(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"outlined"===t.variant&&"inherit"!==t.color&&{border:`1px solid ${(e.vars||e).palette[t.color].main}`,backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:BH(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"contained"===t.variant&&{backgroundColor:e.vars?e.vars.palette.Button.inheritContainedHoverBg:a,boxShadow:(e.vars||e).shadows[4],"@media (hover: none)":{boxShadow:(e.vars||e).shadows[2],backgroundColor:(e.vars||e).palette.grey[300]}},"contained"===t.variant&&"inherit"!==t.color&&{backgroundColor:(e.vars||e).palette[t.color].dark,"@media (hover: none)":{backgroundColor:(e.vars||e).palette[t.color].main}}),"&:active":zB({},"contained"===t.variant&&{boxShadow:(e.vars||e).shadows[8]}),[`&.${DJ.focusVisible}`]:zB({},"contained"===t.variant&&{boxShadow:(e.vars||e).shadows[6]}),[`&.${DJ.disabled}`]:zB({color:(e.vars||e).palette.action.disabled},"outlined"===t.variant&&{border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`},"contained"===t.variant&&{color:(e.vars||e).palette.action.disabled,boxShadow:(e.vars||e).shadows[0],backgroundColor:(e.vars||e).palette.action.disabledBackground})},"text"===t.variant&&{padding:"6px 8px"},"text"===t.variant&&"inherit"!==t.color&&{color:(e.vars||e).palette[t.color].main},"outlined"===t.variant&&{padding:"5px 15px",border:"1px solid currentColor"},"outlined"===t.variant&&"inherit"!==t.color&&{color:(e.vars||e).palette[t.color].main,border:e.vars?`1px solid rgba(${e.vars.palette[t.color].mainChannel} / 0.5)`:`1px solid ${BH(e.palette[t.color].main,.5)}`},"contained"===t.variant&&{color:e.vars?e.vars.palette.text.primary:null==(r=(n=e.palette).getContrastText)?void 0:r.call(n,e.palette.grey[300]),backgroundColor:e.vars?e.vars.palette.Button.inheritContainedBg:o,boxShadow:(e.vars||e).shadows[2]},"contained"===t.variant&&"inherit"!==t.color&&{color:(e.vars||e).palette[t.color].contrastText,backgroundColor:(e.vars||e).palette[t.color].main},"inherit"===t.color&&{color:"inherit",borderColor:"currentColor"},"small"===t.size&&"text"===t.variant&&{padding:"4px 5px",fontSize:e.typography.pxToRem(13)},"large"===t.size&&"text"===t.variant&&{padding:"8px 11px",fontSize:e.typography.pxToRem(15)},"small"===t.size&&"outlined"===t.variant&&{padding:"3px 9px",fontSize:e.typography.pxToRem(13)},"large"===t.size&&"outlined"===t.variant&&{padding:"7px 21px",fontSize:e.typography.pxToRem(15)},"small"===t.size&&"contained"===t.variant&&{padding:"4px 10px",fontSize:e.typography.pxToRem(13)},"large"===t.size&&"contained"===t.variant&&{padding:"8px 22px",fontSize:e.typography.pxToRem(15)},t.fullWidth&&{width:"100%"})}),(({ownerState:e})=>e.disableElevation&&{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${DJ.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${DJ.disabled}`]:{boxShadow:"none"}})),WJ=aQ("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.startIcon,t[`iconSize${fq(r.size)}`]]}})((({ownerState:e})=>zB({display:"inherit",marginRight:8,marginLeft:-4},"small"===e.size&&{marginLeft:-2},BJ(e)))),qJ=aQ("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.endIcon,t[`iconSize${fq(r.size)}`]]}})((({ownerState:e})=>zB({display:"inherit",marginRight:-4,marginLeft:8},"small"===e.size&&{marginRight:-2},BJ(e)))),KJ=L.forwardRef((function(e,t){const r=L.useContext(zJ),n=L.useContext(LJ),o=EG({props:UK(r,e),name:"MuiButton"}),{children:a,color:i="primary",component:s="button",className:l,disabled:c=!1,disableElevation:u=!1,disableFocusRipple:d=!1,endIcon:f,focusVisibleClassName:p,fullWidth:m=!1,size:h="medium",startIcon:y,type:v,variant:g="text"}=o,b=LB(o,VJ),w=zB({},o,{color:i,component:s,disabled:c,disableElevation:u,disableFocusRipple:d,fullWidth:m,size:h,type:v,variant:g}),S=(e=>{const{color:t,disableElevation:r,fullWidth:n,size:o,variant:a,classes:i}=e;return zB({},i,SH({root:["root",a,`${a}${fq(t)}`,`size${fq(o)}`,`${a}Size${fq(o)}`,"inherit"===t&&"colorInherit",r&&"disableElevation",n&&"fullWidth"],label:["label"],startIcon:["startIcon",`iconSize${fq(o)}`],endIcon:["endIcon",`iconSize${fq(o)}`]},FJ,i))})(w),x=y&&gP.jsx(WJ,{className:S.startIcon,ownerState:w,children:y}),$=f&&gP.jsx(qJ,{className:S.endIcon,ownerState:w,children:f}),k=n||"";return gP.jsxs(UJ,zB({ownerState:w,className:xK(r.className,S.root,l,k),component:s,disabled:c,focusRipple:!d,focusVisibleClassName:xK(S.focusVisible,p),ref:t,type:v},b,{classes:S,children:[x,a,$]}))}));var HJ=KJ;function GJ(e){return _K("PrivateSwitchBase",e)}EK("PrivateSwitchBase",["root","checked","disabled","input","edgeStart","edgeEnd"]);const QJ=["autoFocus","checked","checkedIcon","className","defaultChecked","disabled","disableFocusRipple","edge","icon","id","inputProps","inputRef","name","onBlur","onChange","onFocus","readOnly","required","tabIndex","type","value"],YJ=aQ(fY)((({ownerState:e})=>zB({padding:9,borderRadius:"50%"},"start"===e.edge&&{marginLeft:"small"===e.size?-3:-12},"end"===e.edge&&{marginRight:"small"===e.size?-3:-12}))),JJ=aQ("input",{shouldForwardProp:nQ})({cursor:"inherit",position:"absolute",opacity:0,width:"100%",height:"100%",top:0,left:0,margin:0,padding:0,zIndex:1}),XJ=L.forwardRef((function(e,t){const{autoFocus:r,checked:n,checkedIcon:o,className:a,defaultChecked:i,disabled:s,disableFocusRipple:l=!1,edge:c=!1,icon:u,id:d,inputProps:f,inputRef:p,name:m,onBlur:h,onChange:y,onFocus:v,readOnly:g,required:b=!1,tabIndex:w,type:S,value:x}=e,$=LB(e,QJ),[k,_]=nH({controlled:n,default:Boolean(i),name:"SwitchBase",state:"checked"}),E=nJ();let C=s;E&&void 0===C&&(C=E.disabled);const P="checkbox"===S||"radio"===S,j=zB({},e,{checked:k,disabled:C,disableFocusRipple:l,edge:c}),O=(e=>{const{classes:t,checked:r,disabled:n,edge:o}=e;return SH({root:["root",r&&"checked",n&&"disabled",o&&`edge${fq(o)}`],input:["input"]},GJ,t)})(j);return gP.jsxs(YJ,zB({component:"span",className:xK(O.root,a),centerRipple:!0,focusRipple:!l,disabled:C,tabIndex:null,role:void 0,onFocus:e=>{v&&v(e),E&&E.onFocus&&E.onFocus(e)},onBlur:e=>{h&&h(e),E&&E.onBlur&&E.onBlur(e)},ownerState:j,ref:t},$,{children:[gP.jsx(JJ,zB({autoFocus:r,checked:n,defaultChecked:i,className:O.input,disabled:C,id:P?d:void 0,name:m,onChange:e=>{if(e.nativeEvent.defaultPrevented)return;const t=e.target.checked;_(t),y&&y(e,t)},readOnly:g,ref:p,required:b,ownerState:j,tabIndex:w,type:S},"checkbox"===S&&void 0===x?{}:{value:x},f)),k?o:u]}))}));var ZJ=XJ,eX=mQ(gP.jsx("path",{d:"M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"}),"CheckBoxOutlineBlank"),tX=mQ(gP.jsx("path",{d:"M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"}),"CheckBox"),rX=mQ(gP.jsx("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 10H7v-2h10v2z"}),"IndeterminateCheckBox");function nX(e){return _K("MuiCheckbox",e)}var oX=EK("MuiCheckbox",["root","checked","disabled","indeterminate","colorPrimary","colorSecondary","sizeSmall","sizeMedium"]);const aX=["checkedIcon","color","icon","indeterminate","indeterminateIcon","inputProps","size","className"],iX=aQ(ZJ,{shouldForwardProp:e=>nQ(e)||"classes"===e,name:"MuiCheckbox",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.indeterminate&&t.indeterminate,t[`size${fq(r.size)}`],"default"!==r.color&&t[`color${fq(r.color)}`]]}})((({theme:e,ownerState:t})=>zB({color:(e.vars||e).palette.text.secondary},!t.disableRipple&&{"&:hover":{backgroundColor:e.vars?`rgba(${"default"===t.color?e.vars.palette.action.activeChannel:e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:BH("default"===t.color?e.palette.action.active:e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"default"!==t.color&&{[`&.${oX.checked}, &.${oX.indeterminate}`]:{color:(e.vars||e).palette[t.color].main},[`&.${oX.disabled}`]:{color:(e.vars||e).palette.action.disabled}}))),sX=gP.jsx(tX,{}),lX=gP.jsx(eX,{}),cX=gP.jsx(rX,{}),uX=L.forwardRef((function(e,t){var r,n;const o=EG({props:e,name:"MuiCheckbox"}),{checkedIcon:a=sX,color:i="primary",icon:s=lX,indeterminate:l=!1,indeterminateIcon:c=cX,inputProps:u,size:d="medium",className:f}=o,p=LB(o,aX),m=l?c:s,h=l?c:a,y=zB({},o,{color:i,indeterminate:l,size:d}),v=(e=>{const{classes:t,indeterminate:r,color:n,size:o}=e;return zB({},t,SH({root:["root",r&&"indeterminate",`color${fq(n)}`,`size${fq(o)}`]},nX,t))})(y);return gP.jsx(iX,zB({type:"checkbox",inputProps:zB({"data-indeterminate":l},u),icon:L.cloneElement(m,{fontSize:null!=(r=m.props.fontSize)?r:d}),checkedIcon:L.cloneElement(h,{fontSize:null!=(n=h.props.fontSize)?n:d}),ownerState:y,ref:t,className:xK(v.root,f)},p,{classes:v}))}));var dX=uX;function fX(e){return _K("MuiModal",e)}EK("MuiModal",["root","hidden","backdrop"]);const pX=["BackdropComponent","BackdropProps","classes","className","closeAfterTransition","children","container","component","components","componentsProps","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","onBackdropClick","onClose","onTransitionEnter","onTransitionExited","open","slotProps","slots","theme"],mX=aQ("div",{name:"MuiModal",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,!r.open&&r.exited&&t.hidden]}})((({theme:e,ownerState:t})=>zB({position:"fixed",zIndex:(e.vars||e).zIndex.modal,right:0,bottom:0,top:0,left:0},!t.open&&t.exited&&{visibility:"hidden"}))),hX=aQ(RJ,{name:"MuiModal",slot:"Backdrop",overridesResolver:(e,t)=>t.backdrop})({zIndex:-1}),yX=L.forwardRef((function(e,t){var r,n,o,a,i,s;const l=EG({name:"MuiModal",props:e}),{BackdropComponent:c=hX,BackdropProps:u,className:d,closeAfterTransition:f=!1,children:p,container:m,component:h,components:y={},componentsProps:v={},disableAutoFocus:g=!1,disableEnforceFocus:b=!1,disableEscapeKeyDown:w=!1,disablePortal:S=!1,disableRestoreFocus:x=!1,disableScrollLock:$=!1,hideBackdrop:k=!1,keepMounted:_=!1,onBackdropClick:E,open:C,slotProps:P,slots:j}=l,O=LB(l,pX),N=zB({},l,{closeAfterTransition:f,disableAutoFocus:g,disableEnforceFocus:b,disableEscapeKeyDown:w,disablePortal:S,disableRestoreFocus:x,disableScrollLock:$,hideBackdrop:k,keepMounted:_}),{getRootProps:R,getBackdropProps:T,getTransitionProps:A,portalRef:I,isTopModal:M,exited:F,hasTransition:D}=kY(zB({},N,{rootRef:t})),z=zB({},N,{exited:F}),V=(e=>{const{open:t,exited:r,classes:n}=e;return SH({root:["root",!t&&r&&"hidden"],backdrop:["backdrop"]},fX,n)})(z),B={};if(void 0===p.props.tabIndex&&(B.tabIndex="-1"),D){const{onEnter:e,onExited:t}=A();B.onEnter=e,B.onExited=t}const U=null!=(r=null!=(n=null==j?void 0:j.root)?n:y.Root)?r:mX,W=null!=(o=null!=(a=null==j?void 0:j.backdrop)?a:y.Backdrop)?o:c,q=null!=(i=null==P?void 0:P.root)?i:v.root,K=null!=(s=null==P?void 0:P.backdrop)?s:v.backdrop,H=KQ({elementType:U,externalSlotProps:q,externalForwardedProps:O,getSlotProps:R,additionalProps:{ref:t,as:h},ownerState:z,className:xK(d,null==q?void 0:q.className,null==V?void 0:V.root,!z.open&&z.exited&&(null==V?void 0:V.hidden))}),G=KQ({elementType:W,externalSlotProps:K,additionalProps:u,getSlotProps:e=>T(zB({},e,{onClick:t=>{E&&E(t),null!=e&&e.onClick&&e.onClick(t)}})),className:xK(null==K?void 0:K.className,null==u?void 0:u.className,null==V?void 0:V.backdrop),ownerState:z});return _||C||D&&!F?gP.jsx(vY,{ref:I,container:m,disablePortal:S,children:gP.jsxs(U,zB({},H,{children:[!k&&c?gP.jsx(W,zB({},G)):null,gP.jsx(yY,{disableEnforceFocus:b,disableAutoFocus:g,disableRestoreFocus:x,isEnabled:M,open:C,children:L.cloneElement(p,B)})]}))}):null}));var vX=yX;function gX(e){return _K("MuiDivider",e)}var bX=EK("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]);const wX=["absolute","children","className","component","flexItem","light","orientation","role","textAlign","variant"],SX=aQ("div",{name:"MuiDivider",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.absolute&&t.absolute,t[r.variant],r.light&&t.light,"vertical"===r.orientation&&t.vertical,r.flexItem&&t.flexItem,r.children&&t.withChildren,r.children&&"vertical"===r.orientation&&t.withChildrenVertical,"right"===r.textAlign&&"vertical"!==r.orientation&&t.textAlignRight,"left"===r.textAlign&&"vertical"!==r.orientation&&t.textAlignLeft]}})((({theme:e,ownerState:t})=>zB({margin:0,flexShrink:0,borderWidth:0,borderStyle:"solid",borderColor:(e.vars||e).palette.divider,borderBottomWidth:"thin"},t.absolute&&{position:"absolute",bottom:0,left:0,width:"100%"},t.light&&{borderColor:e.vars?`rgba(${e.vars.palette.dividerChannel} / 0.08)`:BH(e.palette.divider,.08)},"inset"===t.variant&&{marginLeft:72},"middle"===t.variant&&"horizontal"===t.orientation&&{marginLeft:e.spacing(2),marginRight:e.spacing(2)},"middle"===t.variant&&"vertical"===t.orientation&&{marginTop:e.spacing(1),marginBottom:e.spacing(1)},"vertical"===t.orientation&&{height:"100%",borderBottomWidth:0,borderRightWidth:"thin"},t.flexItem&&{alignSelf:"stretch",height:"auto"})),(({ownerState:e})=>zB({},e.children&&{display:"flex",whiteSpace:"nowrap",textAlign:"center",border:0,"&::before, &::after":{content:'""',alignSelf:"center"}})),(({theme:e,ownerState:t})=>zB({},t.children&&"vertical"!==t.orientation&&{"&::before, &::after":{width:"100%",borderTop:`thin solid ${(e.vars||e).palette.divider}`}})),(({theme:e,ownerState:t})=>zB({},t.children&&"vertical"===t.orientation&&{flexDirection:"column","&::before, &::after":{height:"100%",borderLeft:`thin solid ${(e.vars||e).palette.divider}`}})),(({ownerState:e})=>zB({},"right"===e.textAlign&&"vertical"!==e.orientation&&{"&::before":{width:"90%"},"&::after":{width:"10%"}},"left"===e.textAlign&&"vertical"!==e.orientation&&{"&::before":{width:"10%"},"&::after":{width:"90%"}}))),xX=aQ("span",{name:"MuiDivider",slot:"Wrapper",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.wrapper,"vertical"===r.orientation&&t.wrapperVertical]}})((({theme:e,ownerState:t})=>zB({display:"inline-block",paddingLeft:`calc(${e.spacing(1)} * 1.2)`,paddingRight:`calc(${e.spacing(1)} * 1.2)`},"vertical"===t.orientation&&{paddingTop:`calc(${e.spacing(1)} * 1.2)`,paddingBottom:`calc(${e.spacing(1)} * 1.2)`}))),$X=L.forwardRef((function(e,t){const r=EG({props:e,name:"MuiDivider"}),{absolute:n=!1,children:o,className:a,component:i=(o?"div":"hr"),flexItem:s=!1,light:l=!1,orientation:c="horizontal",role:u=("hr"!==i?"separator":void 0),textAlign:d="center",variant:f="fullWidth"}=r,p=LB(r,wX),m=zB({},r,{absolute:n,component:i,flexItem:s,light:l,orientation:c,role:u,textAlign:d,variant:f}),h=(e=>{const{absolute:t,children:r,classes:n,flexItem:o,light:a,orientation:i,textAlign:s,variant:l}=e;return SH({root:["root",t&&"absolute",l,a&&"light","vertical"===i&&"vertical",o&&"flexItem",r&&"withChildren",r&&"vertical"===i&&"withChildrenVertical","right"===s&&"vertical"!==i&&"textAlignRight","left"===s&&"vertical"!==i&&"textAlignLeft"],wrapper:["wrapper","vertical"===i&&"wrapperVertical"]},gX,n)})(m);return gP.jsx(SX,zB({as:i,className:xK(h.root,a),role:u,ref:t,ownerState:m},p,{children:o?gP.jsx(xX,{className:h.wrapper,ownerState:m,children:o}):null}))}));$X.muiSkipListHighlight=!0;var kX=$X;const _X=["disableUnderline","components","componentsProps","fullWidth","hiddenLabel","inputComponent","multiline","slotProps","slots","type"],EX=aQ(fJ,{shouldForwardProp:e=>nQ(e)||"classes"===e,name:"MuiFilledInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[...uJ(e,t),!r.disableUnderline&&t.underline]}})((({theme:e,ownerState:t})=>{var r;const n="light"===e.palette.mode,o=n?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)",a=n?"rgba(0, 0, 0, 0.06)":"rgba(255, 255, 255, 0.09)",i=n?"rgba(0, 0, 0, 0.09)":"rgba(255, 255, 255, 0.13)",s=n?"rgba(0, 0, 0, 0.12)":"rgba(255, 255, 255, 0.12)";return zB({position:"relative",backgroundColor:e.vars?e.vars.palette.FilledInput.bg:a,borderTopLeftRadius:(e.vars||e).shape.borderRadius,borderTopRightRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),"&:hover":{backgroundColor:e.vars?e.vars.palette.FilledInput.hoverBg:i,"@media (hover: none)":{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:a}},[`&.${xJ.focused}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:a},[`&.${xJ.disabled}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.disabledBg:s}},!t.disableUnderline&&{"&::after":{borderBottom:`2px solid ${null==(r=(e.vars||e).palette[t.color||"primary"])?void 0:r.main}`,left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${xJ.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${xJ.error}`]:{"&::before, &::after":{borderBottomColor:(e.vars||e).palette.error.main}},"&::before":{borderBottom:`1px solid ${e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / ${e.vars.opacity.inputUnderline})`:o}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${xJ.disabled}, .${xJ.error}):before`]:{borderBottom:`1px solid ${(e.vars||e).palette.text.primary}`},[`&.${xJ.disabled}:before`]:{borderBottomStyle:"dotted"}},t.startAdornment&&{paddingLeft:12},t.endAdornment&&{paddingRight:12},t.multiline&&zB({padding:"25px 12px 8px"},"small"===t.size&&{paddingTop:21,paddingBottom:4},t.hiddenLabel&&{paddingTop:16,paddingBottom:17},t.hiddenLabel&&"small"===t.size&&{paddingTop:8,paddingBottom:9}))})),CX=aQ(pJ,{name:"MuiFilledInput",slot:"Input",overridesResolver:dJ})((({theme:e,ownerState:t})=>zB({paddingTop:25,paddingRight:12,paddingBottom:8,paddingLeft:12},!e.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:"light"===e.palette.mode?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:"light"===e.palette.mode?null:"#fff",caretColor:"light"===e.palette.mode?null:"#fff",borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"}},e.vars&&{"&:-webkit-autofill":{borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"},[e.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},"small"===t.size&&{paddingTop:21,paddingBottom:4},t.hiddenLabel&&{paddingTop:16,paddingBottom:17},t.startAdornment&&{paddingLeft:0},t.endAdornment&&{paddingRight:0},t.hiddenLabel&&"small"===t.size&&{paddingTop:8,paddingBottom:9},t.multiline&&{paddingTop:0,paddingBottom:0,paddingLeft:0,paddingRight:0}))),PX=L.forwardRef((function(e,t){var r,n,o,a;const i=EG({props:e,name:"MuiFilledInput"}),{components:s={},componentsProps:l,fullWidth:c=!1,inputComponent:u="input",multiline:d=!1,slotProps:f,slots:p={},type:m="text"}=i,h=LB(i,_X),y=zB({},i,{fullWidth:c,inputComponent:u,multiline:d,type:m}),v=(e=>{const{classes:t,disableUnderline:r}=e;return zB({},t,SH({root:["root",!r&&"underline"],input:["input"]},SJ,t))})(i),g={root:{ownerState:y},input:{ownerState:y}},b=(null!=f?f:l)?ZW(g,null!=f?f:l):g,w=null!=(r=null!=(n=p.root)?n:s.Root)?r:EX,S=null!=(o=null!=(a=p.input)?a:s.Input)?o:CX;return gP.jsx(yJ,zB({slots:{root:w,input:S},componentsProps:b,fullWidth:c,inputComponent:u,multiline:d,ref:t,type:m},h,{classes:v}))}));PX.muiName="Input";var jX=PX;function OX(e){return _K("MuiFormControl",e)}EK("MuiFormControl",["root","marginNone","marginNormal","marginDense","fullWidth","disabled"]);const NX=["children","className","color","component","disabled","error","focused","fullWidth","hiddenLabel","margin","required","size","variant"],RX=aQ("div",{name:"MuiFormControl",slot:"Root",overridesResolver:({ownerState:e},t)=>zB({},t.root,t[`margin${fq(e.margin)}`],e.fullWidth&&t.fullWidth)})((({ownerState:e})=>zB({display:"inline-flex",flexDirection:"column",position:"relative",minWidth:0,padding:0,margin:0,border:0,verticalAlign:"top"},"normal"===e.margin&&{marginTop:16,marginBottom:8},"dense"===e.margin&&{marginTop:8,marginBottom:4},e.fullWidth&&{width:"100%"}))),TX=L.forwardRef((function(e,t){const r=EG({props:e,name:"MuiFormControl"}),{children:n,className:o,color:a="primary",component:i="div",disabled:s=!1,error:l=!1,focused:c,fullWidth:u=!1,hiddenLabel:d=!1,margin:f="none",required:p=!1,size:m="medium",variant:h="outlined"}=r,y=LB(r,NX),v=zB({},r,{color:a,component:i,disabled:s,error:l,fullWidth:u,hiddenLabel:d,margin:f,required:p,size:m,variant:h}),g=(e=>{const{classes:t,margin:r,fullWidth:n}=e;return SH({root:["root","none"!==r&&`margin${fq(r)}`,n&&"fullWidth"]},OX,t)})(v),[b,w]=L.useState((()=>{let e=!1;return n&&L.Children.forEach(n,(t=>{if(!YK(t,["Input","Select"]))return;const r=YK(t,["Select"])?t.props.input:t;r&&r.props.startAdornment&&(e=!0)})),e})),[S,x]=L.useState((()=>{let e=!1;return n&&L.Children.forEach(n,(t=>{YK(t,["Input","Select"])&&(iJ(t.props,!0)||iJ(t.props.inputProps,!0))&&(e=!0)})),e})),[$,k]=L.useState(!1);s&&$&&k(!1);const _=void 0===c||s?$:c;let E;const C=L.useMemo((()=>({adornedStart:b,setAdornedStart:w,color:a,disabled:s,error:l,filled:S,focused:_,fullWidth:u,hiddenLabel:d,size:m,onBlur:()=>{k(!1)},onEmpty:()=>{x(!1)},onFilled:()=>{x(!0)},onFocus:()=>{k(!0)},registerEffect:E,required:p,variant:h})),[b,a,s,l,S,_,u,d,E,p,m,h]);return gP.jsx(rJ.Provider,{value:C,children:gP.jsx(RX,zB({as:i,ownerState:v,className:xK(g.root,o),ref:t},y,{children:n}))})}));var AX=TX;const IX=function(e={}){const{createStyledComponent:t=NH,useThemeProps:r=RH,componentName:n="MuiStack"}=e,o=t(AH),a=L.forwardRef((function(e,t){const a=vK(r(e)),{component:i="div",direction:s="column",spacing:l=0,divider:c,children:u,className:d,useFlexGap:f=!1}=a,p=LB(a,jH),m={direction:s,spacing:l,useFlexGap:f},h=SH({root:["root"]},(e=>_K(n,e)),{});return gP.jsx(o,zB({as:i,ownerState:m,ref:t,className:xK(h.root,d)},p,{children:c?TH(u,c):u}))}));return a}({createStyledComponent:aQ("div",{name:"MuiStack",slot:"Root",overridesResolver:(e,t)=>t.root}),useThemeProps:e=>EG({props:e,name:"MuiStack"})});var MX=IX;function FX(e){return _K("MuiFormControlLabel",e)}var DX=EK("MuiFormControlLabel",["root","labelPlacementStart","labelPlacementTop","labelPlacementBottom","disabled","label","error","required","asterisk"]);const zX=["checked","className","componentsProps","control","disabled","disableTypography","inputRef","label","labelPlacement","name","onChange","required","slotProps","value"],LX=aQ("label",{name:"MuiFormControlLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[{[`& .${DX.label}`]:t.label},t.root,t[`labelPlacement${fq(r.labelPlacement)}`]]}})((({theme:e,ownerState:t})=>zB({display:"inline-flex",alignItems:"center",cursor:"pointer",verticalAlign:"middle",WebkitTapHighlightColor:"transparent",marginLeft:-11,marginRight:16,[`&.${DX.disabled}`]:{cursor:"default"}},"start"===t.labelPlacement&&{flexDirection:"row-reverse",marginLeft:16,marginRight:-11},"top"===t.labelPlacement&&{flexDirection:"column-reverse",marginLeft:16},"bottom"===t.labelPlacement&&{flexDirection:"column",marginLeft:16},{[`& .${DX.label}`]:{[`&.${DX.disabled}`]:{color:(e.vars||e).palette.text.disabled}}}))),VX=aQ("span",{name:"MuiFormControlLabel",slot:"Asterisk",overridesResolver:(e,t)=>t.asterisk})((({theme:e})=>({[`&.${DX.error}`]:{color:(e.vars||e).palette.error.main}}))),BX=L.forwardRef((function(e,t){var r,n;const o=EG({props:e,name:"MuiFormControlLabel"}),{className:a,componentsProps:i={},control:s,disabled:l,disableTypography:c,label:u,labelPlacement:d="end",required:f,slotProps:p={}}=o,m=LB(o,zX),h=nJ(),y=null!=(r=null!=l?l:s.props.disabled)?r:null==h?void 0:h.disabled,v=null!=f?f:s.props.required,g={disabled:y,required:v};["checked","name","onChange","value","inputRef"].forEach((e=>{void 0===s.props[e]&&void 0!==o[e]&&(g[e]=o[e])}));const b=tJ({props:o,muiFormControl:h,states:["error"]}),w=zB({},o,{disabled:y,labelPlacement:d,required:v,error:b.error}),S=(e=>{const{classes:t,disabled:r,labelPlacement:n,error:o,required:a}=e;return SH({root:["root",r&&"disabled",`labelPlacement${fq(n)}`,o&&"error",a&&"required"],label:["label",r&&"disabled"],asterisk:["asterisk",o&&"error"]},FX,t)})(w),x=null!=(n=p.typography)?n:i.typography;let $=u;return null==$||$.type===eJ||c||($=gP.jsx(eJ,zB({component:"span"},x,{className:xK(S.label,null==x?void 0:x.className),children:$}))),gP.jsxs(LX,zB({className:xK(S.root,a),ownerState:w,ref:t},m,{children:[L.cloneElement(s,g),v?gP.jsxs(MX,{display:"block",children:[$,gP.jsxs(VX,{ownerState:w,"aria-hidden":!0,className:S.asterisk,children:[" ","*"]})]}):$]}))}));var UX=BX;function WX(e){return _K("MuiFormGroup",e)}EK("MuiFormGroup",["root","row","error"]);const qX=["className","row"],KX=aQ("div",{name:"MuiFormGroup",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.row&&t.row]}})((({ownerState:e})=>zB({display:"flex",flexDirection:"column",flexWrap:"wrap"},e.row&&{flexDirection:"row"}))),HX=L.forwardRef((function(e,t){const r=EG({props:e,name:"MuiFormGroup"}),{className:n,row:o=!1}=r,a=LB(r,qX),i=zB({},r,{row:o,error:tJ({props:r,muiFormControl:nJ(),states:["error"]}).error}),s=(e=>{const{classes:t,row:r,error:n}=e;return SH({root:["root",r&&"row",n&&"error"]},WX,t)})(i);return gP.jsx(KX,zB({className:xK(s.root,n),ownerState:i,ref:t},a))}));var GX=HX;function QX(e){return _K("MuiFormHelperText",e)}var YX,JX=EK("MuiFormHelperText",["root","error","disabled","sizeSmall","sizeMedium","contained","focused","filled","required"]);const XX=["children","className","component","disabled","error","filled","focused","margin","required","variant"],ZX=aQ("p",{name:"MuiFormHelperText",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.size&&t[`size${fq(r.size)}`],r.contained&&t.contained,r.filled&&t.filled]}})((({theme:e,ownerState:t})=>zB({color:(e.vars||e).palette.text.secondary},e.typography.caption,{textAlign:"left",marginTop:3,marginRight:0,marginBottom:0,marginLeft:0,[`&.${JX.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${JX.error}`]:{color:(e.vars||e).palette.error.main}},"small"===t.size&&{marginTop:4},t.contained&&{marginLeft:14,marginRight:14}))),eZ=L.forwardRef((function(e,t){const r=EG({props:e,name:"MuiFormHelperText"}),{children:n,className:o,component:a="p"}=r,i=LB(r,XX),s=tJ({props:r,muiFormControl:nJ(),states:["variant","size","disabled","error","filled","focused","required"]}),l=zB({},r,{component:a,contained:"filled"===s.variant||"outlined"===s.variant,variant:s.variant,size:s.size,disabled:s.disabled,error:s.error,filled:s.filled,focused:s.focused,required:s.required}),c=(e=>{const{classes:t,contained:r,size:n,disabled:o,error:a,filled:i,focused:s,required:l}=e;return SH({root:["root",o&&"disabled",a&&"error",n&&`size${fq(n)}`,r&&"contained",s&&"focused",i&&"filled",l&&"required"]},QX,t)})(l);return gP.jsx(ZX,zB({as:a,ownerState:l,className:xK(c.root,o),ref:t},i,{children:" "===n?YX||(YX=gP.jsx("span",{className:"notranslate",children:""})):n}))}));var tZ=eZ;function rZ(e){return _K("MuiFormLabel",e)}var nZ=EK("MuiFormLabel",["root","colorSecondary","focused","disabled","error","filled","required","asterisk"]);const oZ=["children","className","color","component","disabled","error","filled","focused","required"],aZ=aQ("label",{name:"MuiFormLabel",slot:"Root",overridesResolver:({ownerState:e},t)=>zB({},t.root,"secondary"===e.color&&t.colorSecondary,e.filled&&t.filled)})((({theme:e,ownerState:t})=>zB({color:(e.vars||e).palette.text.secondary},e.typography.body1,{lineHeight:"1.4375em",padding:0,position:"relative",[`&.${nZ.focused}`]:{color:(e.vars||e).palette[t.color].main},[`&.${nZ.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${nZ.error}`]:{color:(e.vars||e).palette.error.main}}))),iZ=aQ("span",{name:"MuiFormLabel",slot:"Asterisk",overridesResolver:(e,t)=>t.asterisk})((({theme:e})=>({[`&.${nZ.error}`]:{color:(e.vars||e).palette.error.main}}))),sZ=L.forwardRef((function(e,t){const r=EG({props:e,name:"MuiFormLabel"}),{children:n,className:o,component:a="label"}=r,i=LB(r,oZ),s=tJ({props:r,muiFormControl:nJ(),states:["color","required","focused","disabled","error","filled"]}),l=zB({},r,{color:s.color||"primary",component:a,disabled:s.disabled,error:s.error,filled:s.filled,focused:s.focused,required:s.required}),c=(e=>{const{classes:t,color:r,focused:n,disabled:o,error:a,filled:i,required:s}=e;return SH({root:["root",`color${fq(r)}`,o&&"disabled",a&&"error",i&&"filled",n&&"focused",s&&"required"],asterisk:["asterisk",a&&"error"]},rZ,t)})(l);return gP.jsxs(aZ,zB({as:a,ownerState:l,className:xK(c.root,o),ref:t},i,{children:[n,s.required&&gP.jsxs(iZ,{ownerState:l,"aria-hidden":!0,className:c.asterisk,children:[" ","*"]})]}))}));var lZ=sZ;var cZ=L.createContext();function uZ(e){return _K("MuiGrid",e)}const dZ=["auto",!0,1,2,3,4,5,6,7,8,9,10,11,12];var fZ=EK("MuiGrid",["root","container","item","zeroMinWidth",...[0,1,2,3,4,5,6,7,8,9,10].map((e=>`spacing-xs-${e}`)),...["column-reverse","column","row-reverse","row"].map((e=>`direction-xs-${e}`)),...["nowrap","wrap-reverse","wrap"].map((e=>`wrap-xs-${e}`)),...dZ.map((e=>`grid-xs-${e}`)),...dZ.map((e=>`grid-sm-${e}`)),...dZ.map((e=>`grid-md-${e}`)),...dZ.map((e=>`grid-lg-${e}`)),...dZ.map((e=>`grid-xl-${e}`))]);const pZ=["className","columns","columnSpacing","component","container","direction","item","rowSpacing","spacing","wrap","zeroMinWidth"];function mZ(e){const t=parseFloat(e);return`${t}${String(e).replace(String(t),"")||"px"}`}function hZ({breakpoints:e,values:t}){let r="";Object.keys(t).forEach((e=>{""===r&&0!==t[e]&&(r=e)}));const n=Object.keys(e).sort(((t,r)=>e[t]-e[r]));return n.slice(0,n.indexOf(r))}const yZ=aQ("div",{name:"MuiGrid",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e,{container:n,direction:o,item:a,spacing:i,wrap:s,zeroMinWidth:l,breakpoints:c}=r;let u=[];n&&(u=function(e,t,r={}){if(!e||e<=0)return[];if("string"==typeof e&&!Number.isNaN(Number(e))||"number"==typeof e)return[r[`spacing-xs-${String(e)}`]];const n=[];return t.forEach((t=>{const o=e[t];Number(o)>0&&n.push(r[`spacing-${t}-${String(o)}`])})),n}(i,c,t));const d=[];return c.forEach((e=>{const n=r[e];n&&d.push(t[`grid-${e}-${String(n)}`])})),[t.root,n&&t.container,a&&t.item,l&&t.zeroMinWidth,...u,"row"!==o&&t[`direction-xs-${String(o)}`],"wrap"!==s&&t[`wrap-xs-${String(s)}`],...d]}})((({ownerState:e})=>zB({boxSizing:"border-box"},e.container&&{display:"flex",flexWrap:"wrap",width:"100%"},e.item&&{margin:0},e.zeroMinWidth&&{minWidth:0},"wrap"!==e.wrap&&{flexWrap:e.wrap})),(function({theme:e,ownerState:t}){return lq({theme:e},dq({values:t.direction,breakpoints:e.breakpoints.values}),(e=>{const t={flexDirection:e};return 0===e.indexOf("column")&&(t[`& > .${fZ.item}`]={maxWidth:"none"}),t}))}),(function({theme:e,ownerState:t}){const{container:r,rowSpacing:n}=t;let o={};if(r&&0!==n){const t=dq({values:n,breakpoints:e.breakpoints.values});let r;"object"==typeof t&&(r=hZ({breakpoints:e.breakpoints.values,values:t})),o=lq({theme:e},t,((t,n)=>{var o;const a=e.spacing(t);return"0px"!==a?{marginTop:`-${mZ(a)}`,[`& > .${fZ.item}`]:{paddingTop:mZ(a)}}:null!=(o=r)&&o.includes(n)?{}:{marginTop:0,[`& > .${fZ.item}`]:{paddingTop:0}}}))}return o}),(function({theme:e,ownerState:t}){const{container:r,columnSpacing:n}=t;let o={};if(r&&0!==n){const t=dq({values:n,breakpoints:e.breakpoints.values});let r;"object"==typeof t&&(r=hZ({breakpoints:e.breakpoints.values,values:t})),o=lq({theme:e},t,((t,n)=>{var o;const a=e.spacing(t);return"0px"!==a?{width:`calc(100% + ${mZ(a)})`,marginLeft:`-${mZ(a)}`,[`& > .${fZ.item}`]:{paddingLeft:mZ(a)}}:null!=(o=r)&&o.includes(n)?{}:{width:"100%",marginLeft:0,[`& > .${fZ.item}`]:{paddingLeft:0}}}))}return o}),(function({theme:e,ownerState:t}){let r;return e.breakpoints.keys.reduce(((n,o)=>{let a={};if(t[o]&&(r=t[o]),!r)return n;if(!0===r)a={flexBasis:0,flexGrow:1,maxWidth:"100%"};else if("auto"===r)a={flexBasis:"auto",flexGrow:0,flexShrink:0,maxWidth:"none",width:"auto"};else{const i=dq({values:t.columns,breakpoints:e.breakpoints.values}),s="object"==typeof i?i[o]:i;if(null==s)return n;const l=Math.round(r/s*1e8)/1e6+"%";let c={};if(t.container&&t.item&&0!==t.columnSpacing){const r=e.spacing(t.columnSpacing);if("0px"!==r){const e=`calc(${l} + ${mZ(r)})`;c={flexBasis:e,maxWidth:e}}}a=zB({flexBasis:l,flexGrow:0,maxWidth:l},c)}return 0===e.breakpoints.values[o]?Object.assign(n,a):n[e.breakpoints.up(o)]=a,n}),{})}));const vZ=e=>{const{classes:t,container:r,direction:n,item:o,spacing:a,wrap:i,zeroMinWidth:s,breakpoints:l}=e;let c=[];r&&(c=function(e,t){if(!e||e<=0)return[];if("string"==typeof e&&!Number.isNaN(Number(e))||"number"==typeof e)return[`spacing-xs-${String(e)}`];const r=[];return t.forEach((t=>{const n=e[t];if(Number(n)>0){const e=`spacing-${t}-${String(n)}`;r.push(e)}})),r}(a,l));const u=[];l.forEach((t=>{const r=e[t];r&&u.push(`grid-${t}-${String(r)}`)}));return SH({root:["root",r&&"container",o&&"item",s&&"zeroMinWidth",...c,"row"!==n&&`direction-xs-${String(n)}`,"wrap"!==i&&`wrap-xs-${String(i)}`,...u]},uZ,t)},gZ=L.forwardRef((function(e,t){const r=EG({props:e,name:"MuiGrid"}),{breakpoints:n}=_G(),o=vK(r),{className:a,columns:i,columnSpacing:s,component:l="div",container:c=!1,direction:u="row",item:d=!1,rowSpacing:f,spacing:p=0,wrap:m="wrap",zeroMinWidth:h=!1}=o,y=LB(o,pZ),v=f||p,g=s||p,b=L.useContext(cZ),w=c?i||12:b,S={},x=zB({},y);n.keys.forEach((e=>{null!=y[e]&&(S[e]=y[e],delete x[e])}));const $=zB({},o,{columns:w,container:c,direction:u,item:d,rowSpacing:v,columnSpacing:g,wrap:m,zeroMinWidth:h,spacing:p},S,{breakpoints:n.keys}),k=vZ($);return gP.jsx(cZ.Provider,{value:w,children:gP.jsx(yZ,zB({ownerState:$,className:xK(k.root,a),as:l,ref:t},x))})}));var bZ=gZ;const wZ=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function SZ(e){return`scale(${e}, ${e**2})`}const xZ={entering:{opacity:1,transform:SZ(1)},entered:{opacity:1,transform:"none"}},$Z="undefined"!=typeof navigator&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),kZ=L.forwardRef((function(e,t){const{addEndListener:r,appear:n=!0,children:o,easing:a,in:i,onEnter:s,onEntered:l,onEntering:c,onExit:u,onExited:d,onExiting:f,style:p,timeout:m="auto",TransitionComponent:h=PQ}=e,y=LB(e,wZ),v=cH(),g=L.useRef(),b=_G(),w=L.useRef(null),S=aH(w,o.ref,t),x=e=>t=>{if(e){const r=w.current;void 0===t?e(r):e(r,t)}},$=x(c),k=x(((e,t)=>{IQ(e);const{duration:r,delay:n,easing:o}=MQ({style:p,timeout:m,easing:a},{mode:"enter"});let i;"auto"===m?(i=b.transitions.getAutoHeightDuration(e.clientHeight),g.current=i):i=r,e.style.transition=[b.transitions.create("opacity",{duration:i,delay:n}),b.transitions.create("transform",{duration:$Z?i:.666*i,delay:n,easing:o})].join(","),s&&s(e,t)})),_=x(l),E=x(f),C=x((e=>{const{duration:t,delay:r,easing:n}=MQ({style:p,timeout:m,easing:a},{mode:"exit"});let o;"auto"===m?(o=b.transitions.getAutoHeightDuration(e.clientHeight),g.current=o):o=t,e.style.transition=[b.transitions.create("opacity",{duration:o,delay:r}),b.transitions.create("transform",{duration:$Z?o:.666*o,delay:$Z?r:r||.333*o,easing:n})].join(","),e.style.opacity=0,e.style.transform=SZ(.75),u&&u(e)})),P=x(d);return gP.jsx(h,zB({appear:n,in:i,nodeRef:w,onEnter:k,onEntered:_,onEntering:$,onExit:C,onExited:P,onExiting:E,addEndListener:e=>{"auto"===m&&v.start(g.current||0,e),r&&r(w.current,e)},timeout:"auto"===m?null:m},y,{children:(e,t)=>L.cloneElement(o,zB({style:zB({opacity:0,transform:SZ(.75),visibility:"exited"!==e||i?void 0:"hidden"},xZ[e],p,o.props.style),ref:S},t))}))}));kZ.muiSupportAuto=!0;var _Z=kZ;const EZ=["disableUnderline","components","componentsProps","fullWidth","inputComponent","multiline","slotProps","slots","type"],CZ=aQ(fJ,{shouldForwardProp:e=>nQ(e)||"classes"===e,name:"MuiInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[...uJ(e,t),!r.disableUnderline&&t.underline]}})((({theme:e,ownerState:t})=>{let r="light"===e.palette.mode?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)";return e.vars&&(r=`rgba(${e.vars.palette.common.onBackgroundChannel} / ${e.vars.opacity.inputUnderline})`),zB({position:"relative"},t.formControl&&{"label + &":{marginTop:16}},!t.disableUnderline&&{"&::after":{borderBottom:`2px solid ${(e.vars||e).palette[t.color].main}`,left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${gJ.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${gJ.error}`]:{"&::before, &::after":{borderBottomColor:(e.vars||e).palette.error.main}},"&::before":{borderBottom:`1px solid ${r}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${gJ.disabled}, .${gJ.error}):before`]:{borderBottom:`2px solid ${(e.vars||e).palette.text.primary}`,"@media (hover: none)":{borderBottom:`1px solid ${r}`}},[`&.${gJ.disabled}:before`]:{borderBottomStyle:"dotted"}})})),PZ=aQ(pJ,{name:"MuiInput",slot:"Input",overridesResolver:dJ})({}),jZ=L.forwardRef((function(e,t){var r,n,o,a;const i=EG({props:e,name:"MuiInput"}),{disableUnderline:s,components:l={},componentsProps:c,fullWidth:u=!1,inputComponent:d="input",multiline:f=!1,slotProps:p,slots:m={},type:h="text"}=i,y=LB(i,EZ),v=(e=>{const{classes:t,disableUnderline:r}=e;return zB({},t,SH({root:["root",!r&&"underline"],input:["input"]},vJ,t))})(i),g={root:{ownerState:{disableUnderline:s}}},b=(null!=p?p:c)?ZW(null!=p?p:c,g):g,w=null!=(r=null!=(n=m.root)?n:l.Root)?r:CZ,S=null!=(o=null!=(a=m.input)?a:l.Input)?o:PZ;return gP.jsx(yJ,zB({slots:{root:w,input:S},slotProps:b,fullWidth:u,inputComponent:d,multiline:f,ref:t,type:h},y,{classes:v}))}));jZ.muiName="Input";var OZ=jZ;function NZ(e){return _K("MuiInputLabel",e)}EK("MuiInputLabel",["root","focused","disabled","error","required","asterisk","formControl","sizeSmall","shrink","animated","standard","filled","outlined"]);const RZ=["disableAnimation","margin","shrink","variant","className"],TZ=aQ(lZ,{shouldForwardProp:e=>nQ(e)||"classes"===e,name:"MuiInputLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[{[`& .${nZ.asterisk}`]:t.asterisk},t.root,r.formControl&&t.formControl,"small"===r.size&&t.sizeSmall,r.shrink&&t.shrink,!r.disableAnimation&&t.animated,r.focused&&t.focused,t[r.variant]]}})((({theme:e,ownerState:t})=>zB({display:"block",transformOrigin:"top left",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",maxWidth:"100%"},t.formControl&&{position:"absolute",left:0,top:0,transform:"translate(0, 20px) scale(1)"},"small"===t.size&&{transform:"translate(0, 17px) scale(1)"},t.shrink&&{transform:"translate(0, -1.5px) scale(0.75)",transformOrigin:"top left",maxWidth:"133%"},!t.disableAnimation&&{transition:e.transitions.create(["color","transform","max-width"],{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut})},"filled"===t.variant&&zB({zIndex:1,pointerEvents:"none",transform:"translate(12px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"},"small"===t.size&&{transform:"translate(12px, 13px) scale(1)"},t.shrink&&zB({userSelect:"none",pointerEvents:"auto",transform:"translate(12px, 7px) scale(0.75)",maxWidth:"calc(133% - 24px)"},"small"===t.size&&{transform:"translate(12px, 4px) scale(0.75)"})),"outlined"===t.variant&&zB({zIndex:1,pointerEvents:"none",transform:"translate(14px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"},"small"===t.size&&{transform:"translate(14px, 9px) scale(1)"},t.shrink&&{userSelect:"none",pointerEvents:"auto",maxWidth:"calc(133% - 32px)",transform:"translate(14px, -9px) scale(0.75)"})))),AZ=L.forwardRef((function(e,t){const r=EG({name:"MuiInputLabel",props:e}),{disableAnimation:n=!1,shrink:o,className:a}=r,i=LB(r,RZ),s=nJ();let l=o;void 0===l&&s&&(l=s.filled||s.focused||s.adornedStart);const c=tJ({props:r,muiFormControl:s,states:["size","variant","required","focused"]}),u=zB({},r,{disableAnimation:n,formControl:s,shrink:l,size:c.size,variant:c.variant,required:c.required,focused:c.focused}),d=(e=>{const{classes:t,formControl:r,size:n,shrink:o,disableAnimation:a,variant:i,required:s}=e;return zB({},t,SH({root:["root",r&&"formControl",!a&&"animated",o&&"shrink",n&&"normal"!==n&&`size${fq(n)}`,i],asterisk:[s&&"asterisk"]},NZ,t))})(u);return gP.jsx(TZ,zB({"data-shrink":l,ownerState:u,ref:t,className:xK(d.root,a)},i,{classes:d}))}));var IZ=AZ;var MZ=L.createContext({});function FZ(e){return _K("MuiList",e)}EK("MuiList",["root","padding","dense","subheader"]);const DZ=["children","className","component","dense","disablePadding","subheader"],zZ=aQ("ul",{name:"MuiList",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,!r.disablePadding&&t.padding,r.dense&&t.dense,r.subheader&&t.subheader]}})((({ownerState:e})=>zB({listStyle:"none",margin:0,padding:0,position:"relative"},!e.disablePadding&&{paddingTop:8,paddingBottom:8},e.subheader&&{paddingTop:0}))),LZ=L.forwardRef((function(e,t){const r=EG({props:e,name:"MuiList"}),{children:n,className:o,component:a="ul",dense:i=!1,disablePadding:s=!1,subheader:l}=r,c=LB(r,DZ),u=L.useMemo((()=>({dense:i})),[i]),d=zB({},r,{component:a,dense:i,disablePadding:s}),f=(e=>{const{classes:t,disablePadding:r,dense:n,subheader:o}=e;return SH({root:["root",!r&&"padding",n&&"dense",o&&"subheader"]},FZ,t)})(d);return gP.jsx(MZ.Provider,{value:u,children:gP.jsxs(zZ,zB({as:a,className:xK(f.root,o),ref:t,ownerState:d},c,{children:[l,n]}))})}));var VZ=LZ;function BZ(e){return _K("MuiListItem",e)}var UZ=EK("MuiListItem",["root","container","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","padding","button","secondaryAction","selected"]);var WZ=EK("MuiListItemButton",["root","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","selected"]);function qZ(e){return _K("MuiListItemSecondaryAction",e)}EK("MuiListItemSecondaryAction",["root","disableGutters"]);const KZ=["className"],HZ=aQ("div",{name:"MuiListItemSecondaryAction",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.disableGutters&&t.disableGutters]}})((({ownerState:e})=>zB({position:"absolute",right:16,top:"50%",transform:"translateY(-50%)"},e.disableGutters&&{right:0}))),GZ=L.forwardRef((function(e,t){const r=EG({props:e,name:"MuiListItemSecondaryAction"}),{className:n}=r,o=LB(r,KZ),a=zB({},r,{disableGutters:L.useContext(MZ).disableGutters}),i=(e=>{const{disableGutters:t,classes:r}=e;return SH({root:["root",t&&"disableGutters"]},qZ,r)})(a);return gP.jsx(HZ,zB({className:xK(i.root,n),ownerState:a,ref:t},o))}));GZ.muiName="ListItemSecondaryAction";var QZ=GZ;const YZ=["className"],JZ=["alignItems","autoFocus","button","children","className","component","components","componentsProps","ContainerComponent","ContainerProps","dense","disabled","disableGutters","disablePadding","divider","focusVisibleClassName","secondaryAction","selected","slotProps","slots"],XZ=aQ("div",{name:"MuiListItem",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.dense&&t.dense,"flex-start"===r.alignItems&&t.alignItemsFlexStart,r.divider&&t.divider,!r.disableGutters&&t.gutters,!r.disablePadding&&t.padding,r.button&&t.button,r.hasSecondaryAction&&t.secondaryAction]}})((({theme:e,ownerState:t})=>zB({display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",width:"100%",boxSizing:"border-box",textAlign:"left"},!t.disablePadding&&zB({paddingTop:8,paddingBottom:8},t.dense&&{paddingTop:4,paddingBottom:4},!t.disableGutters&&{paddingLeft:16,paddingRight:16},!!t.secondaryAction&&{paddingRight:48}),!!t.secondaryAction&&{[`& > .${WZ.root}`]:{paddingRight:48}},{[`&.${UZ.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${UZ.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:BH(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${UZ.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:BH(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${UZ.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity}},"flex-start"===t.alignItems&&{alignItems:"flex-start"},t.divider&&{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"},t.button&&{transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${UZ.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:BH(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:BH(e.palette.primary.main,e.palette.action.selectedOpacity)}}},t.hasSecondaryAction&&{paddingRight:48}))),ZZ=aQ("li",{name:"MuiListItem",slot:"Container",overridesResolver:(e,t)=>t.container})({position:"relative"}),e0=L.forwardRef((function(e,t){const r=EG({props:e,name:"MuiListItem"}),{alignItems:n="center",autoFocus:o=!1,button:a=!1,children:i,className:s,component:l,components:c={},componentsProps:u={},ContainerComponent:d="li",ContainerProps:{className:f}={},dense:p=!1,disabled:m=!1,disableGutters:h=!1,disablePadding:y=!1,divider:v=!1,focusVisibleClassName:g,secondaryAction:b,selected:w=!1,slotProps:S={},slots:x={}}=r,$=LB(r.ContainerProps,YZ),k=LB(r,JZ),_=L.useContext(MZ),E=L.useMemo((()=>({dense:p||_.dense||!1,alignItems:n,disableGutters:h})),[n,_.dense,p,h]),C=L.useRef(null);qK((()=>{o&&C.current&&C.current.focus()}),[o]);const P=L.Children.toArray(i),j=P.length&&YK(P[P.length-1],["ListItemSecondaryAction"]),O=zB({},r,{alignItems:n,autoFocus:o,button:a,dense:E.dense,disabled:m,disableGutters:h,disablePadding:y,divider:v,hasSecondaryAction:j,selected:w}),N=(e=>{const{alignItems:t,button:r,classes:n,dense:o,disabled:a,disableGutters:i,disablePadding:s,divider:l,hasSecondaryAction:c,selected:u}=e;return SH({root:["root",o&&"dense",!i&&"gutters",!s&&"padding",l&&"divider",a&&"disabled",r&&"button","flex-start"===t&&"alignItemsFlexStart",c&&"secondaryAction",u&&"selected"],container:["container"]},BZ,n)})(O),R=aH(C,t),T=x.root||c.Root||XZ,A=S.root||u.root||{},I=zB({className:xK(N.root,A.className,s),disabled:m},k);let M=l||"li";return a&&(I.component=l||"div",I.focusVisibleClassName=xK(UZ.focusVisible,g),M=fY),j?(M=I.component||l?M:"div","li"===d&&("li"===M?M="div":"li"===I.component&&(I.component="div")),gP.jsx(MZ.Provider,{value:E,children:gP.jsxs(ZZ,zB({as:d,className:xK(N.container,f),ref:R,ownerState:O},$,{children:[gP.jsx(T,zB({},A,!BQ(T)&&{as:M,ownerState:zB({},O,A.ownerState)},I,{children:P})),P.pop()]}))})):gP.jsx(MZ.Provider,{value:E,children:gP.jsxs(T,zB({},A,{as:M,ref:R},!BQ(T)&&{ownerState:zB({},O,A.ownerState)},I,{children:[P,b&&gP.jsx(QZ,{children:b})]}))})}));var t0=e0;function r0(e){return _K("MuiListItemIcon",e)}var n0=EK("MuiListItemIcon",["root","alignItemsFlexStart"]);const o0=["className"],a0=aQ("div",{name:"MuiListItemIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,"flex-start"===r.alignItems&&t.alignItemsFlexStart]}})((({theme:e,ownerState:t})=>zB({minWidth:56,color:(e.vars||e).palette.action.active,flexShrink:0,display:"inline-flex"},"flex-start"===t.alignItems&&{marginTop:8}))),i0=L.forwardRef((function(e,t){const r=EG({props:e,name:"MuiListItemIcon"}),{className:n}=r,o=LB(r,o0),a=zB({},r,{alignItems:L.useContext(MZ).alignItems}),i=(e=>{const{alignItems:t,classes:r}=e;return SH({root:["root","flex-start"===t&&"alignItemsFlexStart"]},r0,r)})(a);return gP.jsx(a0,zB({className:xK(i.root,n),ownerState:a,ref:t},o))}));var s0=i0;function l0(e){return _K("MuiListItemText",e)}var c0=EK("MuiListItemText",["root","multiline","dense","inset","primary","secondary"]);const u0=["children","className","disableTypography","inset","primary","primaryTypographyProps","secondary","secondaryTypographyProps"],d0=aQ("div",{name:"MuiListItemText",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[{[`& .${c0.primary}`]:t.primary},{[`& .${c0.secondary}`]:t.secondary},t.root,r.inset&&t.inset,r.primary&&r.secondary&&t.multiline,r.dense&&t.dense]}})((({ownerState:e})=>zB({flex:"1 1 auto",minWidth:0,marginTop:4,marginBottom:4},e.primary&&e.secondary&&{marginTop:6,marginBottom:6},e.inset&&{paddingLeft:56}))),f0=L.forwardRef((function(e,t){const r=EG({props:e,name:"MuiListItemText"}),{children:n,className:o,disableTypography:a=!1,inset:i=!1,primary:s,primaryTypographyProps:l,secondary:c,secondaryTypographyProps:u}=r,d=LB(r,u0),{dense:f}=L.useContext(MZ);let p=null!=s?s:n,m=c;const h=zB({},r,{disableTypography:a,inset:i,primary:!!p,secondary:!!m,dense:f}),y=(e=>{const{classes:t,inset:r,primary:n,secondary:o,dense:a}=e;return SH({root:["root",r&&"inset",a&&"dense",n&&o&&"multiline"],primary:["primary"],secondary:["secondary"]},l0,t)})(h);return null==p||p.type===eJ||a||(p=gP.jsx(eJ,zB({variant:f?"body2":"body1",className:y.primary,component:null!=l&&l.variant?void 0:"span",display:"block"},l,{children:p}))),null==m||m.type===eJ||a||(m=gP.jsx(eJ,zB({variant:"body2",className:y.secondary,color:"text.secondary",display:"block"},u,{children:m}))),gP.jsxs(d0,zB({className:xK(y.root,o),ownerState:h,ref:t},d,{children:[p,m]}))}));var p0=f0;const m0=["actions","autoFocus","autoFocusItem","children","className","disabledItemsFocusable","disableListWrap","onKeyDown","variant"];function h0(e,t,r){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:r?null:e.firstChild}function y0(e,t,r){return e===t?r?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:r?null:e.lastChild}function v0(e,t){if(void 0===t)return!0;let r=e.innerText;return void 0===r&&(r=e.textContent),r=r.trim().toLowerCase(),0!==r.length&&(t.repeating?r[0]===t.keys[0]:0===r.indexOf(t.keys.join("")))}function g0(e,t,r,n,o,a){let i=!1,s=o(e,t,!!t&&r);for(;s;){if(s===e.firstChild){if(i)return!1;i=!0}const t=!n&&(s.disabled||"true"===s.getAttribute("aria-disabled"));if(s.hasAttribute("tabindex")&&v0(s,a)&&!t)return s.focus(),!0;s=o(e,s,r)}return!1}const b0=L.forwardRef((function(e,t){const{actions:r,autoFocus:n=!1,autoFocusItem:o=!1,children:a,className:i,disabledItemsFocusable:s=!1,disableListWrap:l=!1,onKeyDown:c,variant:u="selectedMenu"}=e,d=LB(e,m0),f=L.useRef(null),p=L.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});qK((()=>{n&&f.current.focus()}),[n]),L.useImperativeHandle(r,(()=>({adjustStyleForScrollbar:(e,t)=>{const r=!f.current.style.width;if(e.clientHeight<f.current.clientHeight&&r){const r=`${bH(JK(e))}px`;f.current.style["rtl"===t.direction?"paddingLeft":"paddingRight"]=r,f.current.style.width=`calc(100% + ${r})`}return f.current}})),[]);const m=aH(f,t);let h=-1;L.Children.forEach(a,((e,t)=>{L.isValidElement(e)?(e.props.disabled||("selectedMenu"===u&&e.props.selected||-1===h)&&(h=t),h===t&&(e.props.disabled||e.props.muiSkipListHighlight||e.type.muiSkipListHighlight)&&(h+=1,h>=a.length&&(h=-1))):h===t&&(h+=1,h>=a.length&&(h=-1))}));const y=L.Children.map(a,((e,t)=>{if(t===h){const t={};return o&&(t.autoFocus=!0),void 0===e.props.tabIndex&&"selectedMenu"===u&&(t.tabIndex=0),L.cloneElement(e,t)}return e}));return gP.jsx(VZ,zB({role:"menu",ref:m,className:i,onKeyDown:e=>{const t=f.current,r=e.key,n=JK(t).activeElement;if("ArrowDown"===r)e.preventDefault(),g0(t,n,l,s,h0);else if("ArrowUp"===r)e.preventDefault(),g0(t,n,l,s,y0);else if("Home"===r)e.preventDefault(),g0(t,null,l,s,h0);else if("End"===r)e.preventDefault(),g0(t,null,l,s,y0);else if(1===r.length){const o=p.current,a=r.toLowerCase(),i=performance.now();o.keys.length>0&&(i-o.lastTime>500?(o.keys=[],o.repeating=!0,o.previousKeyMatched=!0):o.repeating&&a!==o.keys[0]&&(o.repeating=!1)),o.lastTime=i,o.keys.push(a);const l=n&&!o.repeating&&v0(n,o);o.previousKeyMatched&&(l||g0(t,n,!1,s,h0,o))?e.preventDefault():o.previousKeyMatched=!1}c&&c(e)},tabIndex:n?0:-1},d,{children:y}))}));var w0=b0;function S0(e){return _K("MuiPopover",e)}EK("MuiPopover",["root","paper"]);const x0=["onEntering"],$0=["action","anchorEl","anchorOrigin","anchorPosition","anchorReference","children","className","container","elevation","marginThreshold","open","PaperProps","slots","slotProps","transformOrigin","TransitionComponent","transitionDuration","TransitionProps","disableScrollLock"],k0=["slotProps"];function _0(e,t){let r=0;return"number"==typeof t?r=t:"center"===t?r=e.height/2:"bottom"===t&&(r=e.height),r}function E0(e,t){let r=0;return"number"==typeof t?r=t:"center"===t?r=e.width/2:"right"===t&&(r=e.width),r}function C0(e){return[e.horizontal,e.vertical].map((e=>"number"==typeof e?`${e}px`:e)).join(" ")}function P0(e){return"function"==typeof e?e():e}const j0=aQ(vX,{name:"MuiPopover",slot:"Root",overridesResolver:(e,t)=>t.root})({}),O0=aQ(VQ,{name:"MuiPopover",slot:"Paper",overridesResolver:(e,t)=>t.paper})({position:"absolute",overflowY:"auto",overflowX:"hidden",minWidth:16,minHeight:16,maxWidth:"calc(100% - 32px)",maxHeight:"calc(100% - 32px)",outline:0}),N0=L.forwardRef((function(e,t){var r,n,o;const a=EG({props:e,name:"MuiPopover"}),{action:i,anchorEl:s,anchorOrigin:l={vertical:"top",horizontal:"left"},anchorPosition:c,anchorReference:u="anchorEl",children:d,className:f,container:p,elevation:m=8,marginThreshold:h=16,open:y,PaperProps:v={},slots:g,slotProps:b,transformOrigin:w={vertical:"top",horizontal:"left"},TransitionComponent:S=_Z,transitionDuration:x="auto",TransitionProps:{onEntering:$}={},disableScrollLock:k=!1}=a,_=LB(a.TransitionProps,x0),E=LB(a,$0),C=null!=(r=null==b?void 0:b.paper)?r:v,P=L.useRef(),j=aH(P,C.ref),O=zB({},a,{anchorOrigin:l,anchorReference:u,elevation:m,marginThreshold:h,externalPaperSlotProps:C,transformOrigin:w,TransitionComponent:S,transitionDuration:x,TransitionProps:_}),N=(e=>{const{classes:t}=e;return SH({root:["root"],paper:["paper"]},S0,t)})(O),R=L.useCallback((()=>{if("anchorPosition"===u)return c;const e=P0(s),t=(e&&1===e.nodeType?e:JK(P.current).body).getBoundingClientRect();return{top:t.top+_0(t,l.vertical),left:t.left+E0(t,l.horizontal)}}),[s,l.horizontal,l.vertical,c,u]),T=L.useCallback((e=>({vertical:_0(e,w.vertical),horizontal:E0(e,w.horizontal)})),[w.horizontal,w.vertical]),A=L.useCallback((e=>{const t={width:e.offsetWidth,height:e.offsetHeight},r=T(t);if("none"===u)return{top:null,left:null,transformOrigin:C0(r)};const n=R();let o=n.top-r.vertical,a=n.left-r.horizontal;const i=o+t.height,l=a+t.width,c=XK(P0(s)),d=c.innerHeight-h,f=c.innerWidth-h;if(null!==h&&o<h){const e=o-h;o-=e,r.vertical+=e}else if(null!==h&&i>d){const e=i-d;o-=e,r.vertical+=e}if(null!==h&&a<h){const e=a-h;a-=e,r.horizontal+=e}else if(l>f){const e=l-f;a-=e,r.horizontal+=e}return{top:`${Math.round(o)}px`,left:`${Math.round(a)}px`,transformOrigin:C0(r)}}),[s,u,R,T,h]),[I,M]=L.useState(y),F=L.useCallback((()=>{const e=P.current;if(!e)return;const t=A(e);null!==t.top&&(e.style.top=t.top),null!==t.left&&(e.style.left=t.left),e.style.transformOrigin=t.transformOrigin,M(!0)}),[A]);L.useEffect((()=>(k&&window.addEventListener("scroll",F),()=>window.removeEventListener("scroll",F))),[s,k,F]);L.useEffect((()=>{y&&F()})),L.useImperativeHandle(i,(()=>y?{updatePosition:()=>{F()}}:null),[y,F]),L.useEffect((()=>{if(!y)return;const e=QK((()=>{F()})),t=XK(s);return t.addEventListener("resize",e),()=>{e.clear(),t.removeEventListener("resize",e)}}),[s,y,F]);let D=x;"auto"!==x||S.muiSupportAuto||(D=void 0);const z=p||(s?JK(P0(s)).body:void 0),V=null!=(n=null==g?void 0:g.root)?n:j0,B=null!=(o=null==g?void 0:g.paper)?o:O0,U=KQ({elementType:B,externalSlotProps:zB({},C,{style:I?C.style:zB({},C.style,{opacity:0})}),additionalProps:{elevation:m,ref:j},ownerState:O,className:xK(N.paper,null==C?void 0:C.className)}),W=KQ({elementType:V,externalSlotProps:(null==b?void 0:b.root)||{},externalForwardedProps:E,additionalProps:{ref:t,slotProps:{backdrop:{invisible:!0}},container:z,open:y},ownerState:O,className:xK(N.root,f)}),{slotProps:q}=W,K=LB(W,k0);return gP.jsx(V,zB({},K,!BQ(V)&&{slotProps:q,disableScrollLock:k},{children:gP.jsx(S,zB({appear:!0,in:y,onEntering:(e,t)=>{$&&$(e,t),F()},onExited:()=>{M(!1)},timeout:D},_,{children:gP.jsx(B,zB({},U,{children:d}))}))}))}));var R0=N0;function T0(e){return _K("MuiMenu",e)}EK("MuiMenu",["root","paper","list"]);const A0=["onEntering"],I0=["autoFocus","children","className","disableAutoFocusItem","MenuListProps","onClose","open","PaperProps","PopoverClasses","transitionDuration","TransitionProps","variant","slots","slotProps"],M0={vertical:"top",horizontal:"right"},F0={vertical:"top",horizontal:"left"},D0=aQ(R0,{shouldForwardProp:e=>nQ(e)||"classes"===e,name:"MuiMenu",slot:"Root",overridesResolver:(e,t)=>t.root})({}),z0=aQ(O0,{name:"MuiMenu",slot:"Paper",overridesResolver:(e,t)=>t.paper})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),L0=aQ(w0,{name:"MuiMenu",slot:"List",overridesResolver:(e,t)=>t.list})({outline:0}),V0=L.forwardRef((function(e,t){var r,n;const o=EG({props:e,name:"MuiMenu"}),{autoFocus:a=!0,children:i,className:s,disableAutoFocusItem:l=!1,MenuListProps:c={},onClose:u,open:d,PaperProps:f={},PopoverClasses:p,transitionDuration:m="auto",TransitionProps:{onEntering:h}={},variant:y="selectedMenu",slots:v={},slotProps:g={}}=o,b=LB(o.TransitionProps,A0),w=LB(o,I0),S=_G(),x="rtl"===S.direction,$=zB({},o,{autoFocus:a,disableAutoFocusItem:l,MenuListProps:c,onEntering:h,PaperProps:f,transitionDuration:m,TransitionProps:b,variant:y}),k=(e=>{const{classes:t}=e;return SH({root:["root"],paper:["paper"],list:["list"]},T0,t)})($),_=a&&!l&&d,E=L.useRef(null);let C=-1;L.Children.map(i,((e,t)=>{L.isValidElement(e)&&(e.props.disabled||("selectedMenu"===y&&e.props.selected||-1===C)&&(C=t))}));const P=null!=(r=v.paper)?r:z0,j=null!=(n=g.paper)?n:f,O=KQ({elementType:v.root,externalSlotProps:g.root,ownerState:$,className:[k.root,s]}),N=KQ({elementType:P,externalSlotProps:j,ownerState:$,className:k.paper});return gP.jsx(D0,zB({onClose:u,anchorOrigin:{vertical:"bottom",horizontal:x?"right":"left"},transformOrigin:x?M0:F0,slots:{paper:P,root:v.root},slotProps:{root:O,paper:N},open:d,ref:t,transitionDuration:m,TransitionProps:zB({onEntering:(e,t)=>{E.current&&E.current.adjustStyleForScrollbar(e,S),h&&h(e,t)}},b),ownerState:$},w,{classes:p,children:gP.jsx(L0,zB({onKeyDown:e=>{"Tab"===e.key&&(e.preventDefault(),u&&u(e,"tabKeyDown"))},actions:E,autoFocus:a&&(-1===C||l),autoFocusItem:_,variant:y},c,{className:xK(k.list,c.className),children:i}))}))}));var B0=V0;function U0(e){return _K("MuiMenuItem",e)}var W0=EK("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"]);const q0=["autoFocus","component","dense","divider","disableGutters","focusVisibleClassName","role","tabIndex","className"],K0=aQ(fY,{shouldForwardProp:e=>nQ(e)||"classes"===e,name:"MuiMenuItem",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.dense&&t.dense,r.divider&&t.divider,!r.disableGutters&&t.gutters]}})((({theme:e,ownerState:t})=>zB({},e.typography.body1,{display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minHeight:48,paddingTop:6,paddingBottom:6,boxSizing:"border-box",whiteSpace:"nowrap"},!t.disableGutters&&{paddingLeft:16,paddingRight:16},t.divider&&{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"},{"&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${W0.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:BH(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${W0.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:BH(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${W0.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:BH(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:BH(e.palette.primary.main,e.palette.action.selectedOpacity)}},[`&.${W0.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${W0.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},[`& + .${bX.root}`]:{marginTop:e.spacing(1),marginBottom:e.spacing(1)},[`& + .${bX.inset}`]:{marginLeft:52},[`& .${c0.root}`]:{marginTop:0,marginBottom:0},[`& .${c0.inset}`]:{paddingLeft:36},[`& .${n0.root}`]:{minWidth:36}},!t.dense&&{[e.breakpoints.up("sm")]:{minHeight:"auto"}},t.dense&&zB({minHeight:32,paddingTop:4,paddingBottom:4},e.typography.body2,{[`& .${n0.root} svg`]:{fontSize:"1.25rem"}})))),H0=L.forwardRef((function(e,t){const r=EG({props:e,name:"MuiMenuItem"}),{autoFocus:n=!1,component:o="li",dense:a=!1,divider:i=!1,disableGutters:s=!1,focusVisibleClassName:l,role:c="menuitem",tabIndex:u,className:d}=r,f=LB(r,q0),p=L.useContext(MZ),m=L.useMemo((()=>({dense:a||p.dense||!1,disableGutters:s})),[p.dense,a,s]),h=L.useRef(null);qK((()=>{n&&h.current&&h.current.focus()}),[n]);const y=zB({},r,{dense:m.dense,divider:i,disableGutters:s}),v=(e=>{const{disabled:t,dense:r,divider:n,disableGutters:o,selected:a,classes:i}=e;return zB({},i,SH({root:["root",r&&"dense",t&&"disabled",!o&&"gutters",n&&"divider",a&&"selected"]},U0,i))})(r),g=aH(h,t);let b;return r.disabled||(b=void 0!==u?u:-1),gP.jsx(MZ.Provider,{value:m,children:gP.jsx(K0,zB({ref:g,role:c,tabIndex:b,component:o,focusVisibleClassName:xK(v.focusVisible,l),className:xK(v.root,d)},f,{ownerState:y,classes:v}))})}));var G0=H0;function Q0(e){return _K("MuiNativeSelect",e)}var Y0=EK("MuiNativeSelect",["root","select","multiple","filled","outlined","standard","disabled","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]);const J0=["className","disabled","error","IconComponent","inputRef","variant"],X0=({ownerState:e,theme:t})=>zB({MozAppearance:"none",WebkitAppearance:"none",userSelect:"none",borderRadius:0,cursor:"pointer","&:focus":zB({},t.vars?{backgroundColor:`rgba(${t.vars.palette.common.onBackgroundChannel} / 0.05)`}:{backgroundColor:"light"===t.palette.mode?"rgba(0, 0, 0, 0.05)":"rgba(255, 255, 255, 0.05)"},{borderRadius:0}),"&::-ms-expand":{display:"none"},[`&.${Y0.disabled}`]:{cursor:"default"},"&[multiple]":{height:"auto"},"&:not([multiple]) option, &:not([multiple]) optgroup":{backgroundColor:(t.vars||t).palette.background.paper},"&&&":{paddingRight:24,minWidth:16}},"filled"===e.variant&&{"&&&":{paddingRight:32}},"outlined"===e.variant&&{borderRadius:(t.vars||t).shape.borderRadius,"&:focus":{borderRadius:(t.vars||t).shape.borderRadius},"&&&":{paddingRight:32}}),Z0=aQ("select",{name:"MuiNativeSelect",slot:"Select",shouldForwardProp:nQ,overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.select,t[r.variant],r.error&&t.error,{[`&.${Y0.multiple}`]:t.multiple}]}})(X0),e1=({ownerState:e,theme:t})=>zB({position:"absolute",right:0,top:"calc(50% - .5em)",pointerEvents:"none",color:(t.vars||t).palette.action.active,[`&.${Y0.disabled}`]:{color:(t.vars||t).palette.action.disabled}},e.open&&{transform:"rotate(180deg)"},"filled"===e.variant&&{right:7},"outlined"===e.variant&&{right:7}),t1=aQ("svg",{name:"MuiNativeSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.icon,r.variant&&t[`icon${fq(r.variant)}`],r.open&&t.iconOpen]}})(e1),r1=L.forwardRef((function(e,t){const{className:r,disabled:n,error:o,IconComponent:a,inputRef:i,variant:s="standard"}=e,l=LB(e,J0),c=zB({},e,{disabled:n,variant:s,error:o}),u=(e=>{const{classes:t,variant:r,disabled:n,multiple:o,open:a,error:i}=e;return SH({select:["select",r,n&&"disabled",o&&"multiple",i&&"error"],icon:["icon",`icon${fq(r)}`,a&&"iconOpen",n&&"disabled"]},Q0,t)})(c);return gP.jsxs(L.Fragment,{children:[gP.jsx(Z0,zB({ownerState:c,className:xK(u.select,r),disabled:n,ref:i||t},l)),e.multiple?null:gP.jsx(t1,{as:a,ownerState:c,className:u.icon})]})}));var n1,o1=r1;const a1=["children","classes","className","label","notched"],i1=aQ("fieldset",{shouldForwardProp:nQ})({textAlign:"left",position:"absolute",bottom:0,right:0,top:-5,left:0,margin:0,padding:"0 8px",pointerEvents:"none",borderRadius:"inherit",borderStyle:"solid",borderWidth:1,overflow:"hidden",minWidth:"0%"}),s1=aQ("legend",{shouldForwardProp:nQ})((({ownerState:e,theme:t})=>zB({float:"unset",width:"auto",overflow:"hidden"},!e.withLabel&&{padding:0,lineHeight:"11px",transition:t.transitions.create("width",{duration:150,easing:t.transitions.easing.easeOut})},e.withLabel&&zB({display:"block",padding:0,height:11,fontSize:"0.75em",visibility:"hidden",maxWidth:.01,transition:t.transitions.create("max-width",{duration:50,easing:t.transitions.easing.easeOut}),whiteSpace:"nowrap","& > span":{paddingLeft:5,paddingRight:5,display:"inline-block",opacity:0,visibility:"visible"}},e.notched&&{maxWidth:"100%",transition:t.transitions.create("max-width",{duration:100,easing:t.transitions.easing.easeOut,delay:50})}))));const l1=["components","fullWidth","inputComponent","label","multiline","notched","slots","type"],c1=aQ(fJ,{shouldForwardProp:e=>nQ(e)||"classes"===e,name:"MuiOutlinedInput",slot:"Root",overridesResolver:uJ})((({theme:e,ownerState:t})=>{const r="light"===e.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return zB({position:"relative",borderRadius:(e.vars||e).shape.borderRadius,[`&:hover .${wJ.notchedOutline}`]:{borderColor:(e.vars||e).palette.text.primary},"@media (hover: none)":{[`&:hover .${wJ.notchedOutline}`]:{borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:r}},[`&.${wJ.focused} .${wJ.notchedOutline}`]:{borderColor:(e.vars||e).palette[t.color].main,borderWidth:2},[`&.${wJ.error} .${wJ.notchedOutline}`]:{borderColor:(e.vars||e).palette.error.main},[`&.${wJ.disabled} .${wJ.notchedOutline}`]:{borderColor:(e.vars||e).palette.action.disabled}},t.startAdornment&&{paddingLeft:14},t.endAdornment&&{paddingRight:14},t.multiline&&zB({padding:"16.5px 14px"},"small"===t.size&&{padding:"8.5px 14px"}))})),u1=aQ((function(e){const{className:t,label:r,notched:n}=e,o=LB(e,a1),a=null!=r&&""!==r,i=zB({},e,{notched:n,withLabel:a});return gP.jsx(i1,zB({"aria-hidden":!0,className:t,ownerState:i},o,{children:gP.jsx(s1,{ownerState:i,children:a?gP.jsx("span",{children:r}):n1||(n1=gP.jsx("span",{className:"notranslate",children:""}))})}))}),{name:"MuiOutlinedInput",slot:"NotchedOutline",overridesResolver:(e,t)=>t.notchedOutline})((({theme:e})=>{const t="light"===e.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:t}})),d1=aQ(pJ,{name:"MuiOutlinedInput",slot:"Input",overridesResolver:dJ})((({theme:e,ownerState:t})=>zB({padding:"16.5px 14px"},!e.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:"light"===e.palette.mode?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:"light"===e.palette.mode?null:"#fff",caretColor:"light"===e.palette.mode?null:"#fff",borderRadius:"inherit"}},e.vars&&{"&:-webkit-autofill":{borderRadius:"inherit"},[e.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},"small"===t.size&&{padding:"8.5px 14px"},t.multiline&&{padding:0},t.startAdornment&&{paddingLeft:0},t.endAdornment&&{paddingRight:0}))),f1=L.forwardRef((function(e,t){var r,n,o,a,i;const s=EG({props:e,name:"MuiOutlinedInput"}),{components:l={},fullWidth:c=!1,inputComponent:u="input",label:d,multiline:f=!1,notched:p,slots:m={},type:h="text"}=s,y=LB(s,l1),v=(e=>{const{classes:t}=e;return zB({},t,SH({root:["root"],notchedOutline:["notchedOutline"],input:["input"]},bJ,t))})(s),g=nJ(),b=tJ({props:s,muiFormControl:g,states:["color","disabled","error","focused","hiddenLabel","size","required"]}),w=zB({},s,{color:b.color||"primary",disabled:b.disabled,error:b.error,focused:b.focused,formControl:g,fullWidth:c,hiddenLabel:b.hiddenLabel,multiline:f,size:b.size,type:h}),S=null!=(r=null!=(n=m.root)?n:l.Root)?r:c1,x=null!=(o=null!=(a=m.input)?a:l.Input)?o:d1;return gP.jsx(yJ,zB({slots:{root:S,input:x},renderSuffix:e=>gP.jsx(u1,{ownerState:w,className:v.notchedOutline,label:null!=d&&""!==d&&b.required?i||(i=gP.jsxs(L.Fragment,{children:[d," ","*"]})):d,notched:void 0!==p?p:Boolean(e.startAdornment||e.filled||e.focused)}),fullWidth:c,inputComponent:u,multiline:f,ref:t,type:h},y,{classes:zB({},v,{notchedOutline:null})}))}));f1.muiName="Input";var p1=f1,m1=mQ(gP.jsx("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),"RadioButtonUnchecked"),h1=mQ(gP.jsx("path",{d:"M8.465 8.465C9.37 7.56 10.62 7 12 7C14.76 7 17 9.24 17 12C17 13.38 16.44 14.63 15.535 15.535C14.63 16.44 13.38 17 12 17C9.24 17 7 14.76 7 12C7 10.62 7.56 9.37 8.465 8.465Z"}),"RadioButtonChecked");const y1=aQ("span",{shouldForwardProp:nQ})({position:"relative",display:"flex"}),v1=aQ(m1)({transform:"scale(1)"}),g1=aQ(h1)((({theme:e,ownerState:t})=>zB({left:0,position:"absolute",transform:"scale(0)",transition:e.transitions.create("transform",{easing:e.transitions.easing.easeIn,duration:e.transitions.duration.shortest})},t.checked&&{transform:"scale(1)",transition:e.transitions.create("transform",{easing:e.transitions.easing.easeOut,duration:e.transitions.duration.shortest})})));function b1(e){const{checked:t=!1,classes:r={},fontSize:n}=e,o=zB({},e,{checked:t});return gP.jsxs(y1,{className:r.root,ownerState:o,children:[gP.jsx(v1,{fontSize:n,className:r.background,ownerState:o}),gP.jsx(g1,{fontSize:n,className:r.dot,ownerState:o})]})}var w1=L.createContext(void 0);function S1(e){return _K("MuiRadio",e)}var x1=EK("MuiRadio",["root","checked","disabled","colorPrimary","colorSecondary","sizeSmall"]);const $1=["checked","checkedIcon","color","icon","name","onChange","size","className"],k1=aQ(ZJ,{shouldForwardProp:e=>nQ(e)||"classes"===e,name:"MuiRadio",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,"medium"!==r.size&&t[`size${fq(r.size)}`],t[`color${fq(r.color)}`]]}})((({theme:e,ownerState:t})=>zB({color:(e.vars||e).palette.text.secondary},!t.disableRipple&&{"&:hover":{backgroundColor:e.vars?`rgba(${"default"===t.color?e.vars.palette.action.activeChannel:e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:BH("default"===t.color?e.palette.action.active:e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"default"!==t.color&&{[`&.${x1.checked}`]:{color:(e.vars||e).palette[t.color].main}},{[`&.${x1.disabled}`]:{color:(e.vars||e).palette.action.disabled}})));const _1=gP.jsx(b1,{checked:!0}),E1=gP.jsx(b1,{}),C1=L.forwardRef((function(e,t){var r,n;const o=EG({props:e,name:"MuiRadio"}),{checked:a,checkedIcon:i=_1,color:s="primary",icon:l=E1,name:c,onChange:u,size:d="medium",className:f}=o,p=LB(o,$1),m=zB({},o,{color:s,size:d}),h=(e=>{const{classes:t,color:r,size:n}=e;return zB({},t,SH({root:["root",`color${fq(r)}`,"medium"!==n&&`size${fq(n)}`]},S1,t))})(m),y=L.useContext(w1);let v=a;const g=GK(u,y&&y.onChange);let b=c;return y&&(void 0===v&&(v=function(e,t){return"object"==typeof t&&null!==t?e===t:String(e)===String(t)}(y.value,o.value)),void 0===b&&(b=y.name)),gP.jsx(k1,zB({type:"radio",icon:L.cloneElement(l,{fontSize:null!=(r=E1.props.fontSize)?r:d}),checkedIcon:L.cloneElement(i,{fontSize:null!=(n=_1.props.fontSize)?n:d}),ownerState:m,classes:h,name:b,checked:v,onChange:g,ref:t,className:xK(h.root,f)},p))}));var P1=C1;const j1=["actions","children","defaultValue","name","onChange","value"],O1=L.forwardRef((function(e,t){const{actions:r,children:n,defaultValue:o,name:a,onChange:i,value:s}=e,l=LB(e,j1),c=L.useRef(null),[u,d]=nH({controlled:s,default:o,name:"RadioGroup"});L.useImperativeHandle(r,(()=>({focus:()=>{let e=c.current.querySelector("input:not(:disabled):checked");e||(e=c.current.querySelector("input:not(:disabled)")),e&&e.focus()}})),[]);const f=aH(t,c),p=rH(a),m=L.useMemo((()=>({name:p,onChange(e){d(e.target.value),i&&i(e,e.target.value)},value:u})),[p,i,d,u]);return gP.jsx(w1.Provider,{value:m,children:gP.jsx(GX,zB({role:"radiogroup",ref:f},l,{children:n}))})}));var N1=O1;function R1(e){return _K("MuiSelect",e)}var T1,A1=EK("MuiSelect",["root","select","multiple","filled","outlined","standard","disabled","focused","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]);const I1=["aria-describedby","aria-label","autoFocus","autoWidth","children","className","defaultOpen","defaultValue","disabled","displayEmpty","error","IconComponent","inputRef","labelId","MenuProps","multiple","name","onBlur","onChange","onClose","onFocus","onOpen","open","readOnly","renderValue","SelectDisplayProps","tabIndex","type","value","variant"],M1=aQ("div",{name:"MuiSelect",slot:"Select",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[{[`&.${A1.select}`]:t.select},{[`&.${A1.select}`]:t[r.variant]},{[`&.${A1.error}`]:t.error},{[`&.${A1.multiple}`]:t.multiple}]}})(X0,{[`&.${A1.select}`]:{height:"auto",minHeight:"1.4375em",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"}}),F1=aQ("svg",{name:"MuiSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.icon,r.variant&&t[`icon${fq(r.variant)}`],r.open&&t.iconOpen]}})(e1),D1=aQ("input",{shouldForwardProp:e=>oQ(e)&&"classes"!==e,name:"MuiSelect",slot:"NativeInput",overridesResolver:(e,t)=>t.nativeInput})({bottom:0,left:0,position:"absolute",opacity:0,pointerEvents:"none",width:"100%",boxSizing:"border-box"});function z1(e,t){return"object"==typeof t&&null!==t?e===t:String(e)===String(t)}function L1(e){return null==e||"string"==typeof e&&!e.trim()}const V1=L.forwardRef((function(e,t){var r;const{"aria-describedby":n,"aria-label":o,autoFocus:a,autoWidth:i,children:s,className:l,defaultOpen:c,defaultValue:u,disabled:d,displayEmpty:f,error:p=!1,IconComponent:m,inputRef:h,labelId:y,MenuProps:v={},multiple:g,name:b,onBlur:w,onChange:S,onClose:x,onFocus:$,onOpen:k,open:_,readOnly:E,renderValue:C,SelectDisplayProps:P={},tabIndex:j,value:O,variant:N="standard"}=e,R=LB(e,I1),[T,A]=nH({controlled:O,default:u,name:"Select"}),[I,M]=nH({controlled:_,default:c,name:"Select"}),F=L.useRef(null),D=L.useRef(null),[z,V]=L.useState(null),{current:B}=L.useRef(null!=_),[U,W]=L.useState(),q=aH(t,h),K=L.useCallback((e=>{D.current=e,e&&V(e)}),[]),H=null==z?void 0:z.parentNode;L.useImperativeHandle(q,(()=>({focus:()=>{D.current.focus()},node:F.current,value:T})),[T]),L.useEffect((()=>{c&&I&&z&&!B&&(W(i?null:H.clientWidth),D.current.focus())}),[z,i]),L.useEffect((()=>{a&&D.current.focus()}),[a]),L.useEffect((()=>{if(!y)return;const e=JK(D.current).getElementById(y);if(e){const t=()=>{getSelection().isCollapsed&&D.current.focus()};return e.addEventListener("click",t),()=>{e.removeEventListener("click",t)}}}),[y]);const G=(e,t)=>{e?k&&k(t):x&&x(t),B||(W(i?null:H.clientWidth),M(e))},Q=L.Children.toArray(s),Y=e=>t=>{let r;if(t.currentTarget.hasAttribute("tabindex")){if(g){r=Array.isArray(T)?T.slice():[];const t=T.indexOf(e.props.value);-1===t?r.push(e.props.value):r.splice(t,1)}else r=e.props.value;if(e.props.onClick&&e.props.onClick(t),T!==r&&(A(r),S)){const n=t.nativeEvent||t,o=new n.constructor(n.type,n);Object.defineProperty(o,"target",{writable:!0,value:{value:r,name:b}}),S(o,e)}g||G(!1,t)}},J=null!==z&&I;let X,Z;delete R["aria-invalid"];const ee=[];let te=!1;(iJ({value:T})||f)&&(C?X=C(T):te=!0);const re=Q.map((e=>{if(!L.isValidElement(e))return null;let t;if(g){if(!Array.isArray(T))throw new Error(MB(2));t=T.some((t=>z1(t,e.props.value))),t&&te&&ee.push(e.props.children)}else t=z1(T,e.props.value),t&&te&&(Z=e.props.children);return L.cloneElement(e,{"aria-selected":t?"true":"false",onClick:Y(e),onKeyUp:t=>{" "===t.key&&t.preventDefault(),e.props.onKeyUp&&e.props.onKeyUp(t)},role:"option",selected:t,value:void 0,"data-value":e.props.value})}));te&&(X=g?0===ee.length?null:ee.reduce(((e,t,r)=>(e.push(t),r<ee.length-1&&e.push(", "),e)),[]):Z);let ne,oe=U;!i&&B&&z&&(oe=H.clientWidth),ne=void 0!==j?j:d?null:0;const ae=P.id||(b?`mui-component-select-${b}`:void 0),ie=zB({},e,{variant:N,value:T,open:J,error:p}),se=(e=>{const{classes:t,variant:r,disabled:n,multiple:o,open:a,error:i}=e;return SH({select:["select",r,n&&"disabled",o&&"multiple",i&&"error"],icon:["icon",`icon${fq(r)}`,a&&"iconOpen",n&&"disabled"],nativeInput:["nativeInput"]},R1,t)})(ie),le=zB({},v.PaperProps,null==(r=v.slotProps)?void 0:r.paper),ce=rH();return gP.jsxs(L.Fragment,{children:[gP.jsx(M1,zB({ref:K,tabIndex:ne,role:"combobox","aria-controls":ce,"aria-disabled":d?"true":void 0,"aria-expanded":J?"true":"false","aria-haspopup":"listbox","aria-label":o,"aria-labelledby":[y,ae].filter(Boolean).join(" ")||void 0,"aria-describedby":n,onKeyDown:e=>{if(!E){-1!==[" ","ArrowUp","ArrowDown","Enter"].indexOf(e.key)&&(e.preventDefault(),G(!0,e))}},onMouseDown:d||E?null:e=>{0===e.button&&(e.preventDefault(),D.current.focus(),G(!0,e))},onBlur:e=>{!J&&w&&(Object.defineProperty(e,"target",{writable:!0,value:{value:T,name:b}}),w(e))},onFocus:$},P,{ownerState:ie,className:xK(P.className,se.select,l),id:ae,children:L1(X)?T1||(T1=gP.jsx("span",{className:"notranslate",children:""})):X})),gP.jsx(D1,zB({"aria-invalid":p,value:Array.isArray(T)?T.join(","):T,name:b,ref:F,"aria-hidden":!0,onChange:e=>{const t=Q.find((t=>t.props.value===e.target.value));void 0!==t&&(A(t.props.value),S&&S(e,t))},tabIndex:-1,disabled:d,className:se.nativeInput,autoFocus:a,ownerState:ie},R)),gP.jsx(F1,{as:m,className:se.icon,ownerState:ie}),gP.jsx(B0,zB({id:`menu-${b||""}`,anchorEl:H,open:J,onClose:e=>{G(!1,e)},anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"}},v,{MenuListProps:zB({"aria-labelledby":y,role:"listbox","aria-multiselectable":g?"true":void 0,disableListWrap:!0,id:ce},v.MenuListProps),slotProps:zB({},v.slotProps,{paper:zB({},le,{style:zB({minWidth:oe},null!=le?le.style:null)})}),children:re}))]})}));var B1=V1;const U1=["autoWidth","children","classes","className","defaultOpen","displayEmpty","IconComponent","id","input","inputProps","label","labelId","MenuProps","multiple","native","onClose","onOpen","open","renderValue","SelectDisplayProps","variant"],W1=["root"],q1={name:"MuiSelect",overridesResolver:(e,t)=>t.root,shouldForwardProp:e=>nQ(e)&&"variant"!==e,slot:"Root"},K1=aQ(OZ,q1)(""),H1=aQ(p1,q1)(""),G1=aQ(jX,q1)(""),Q1=L.forwardRef((function(e,t){const r=EG({name:"MuiSelect",props:e}),{autoWidth:n=!1,children:o,classes:a={},className:i,defaultOpen:s=!1,displayEmpty:l=!1,IconComponent:c=$J,id:u,input:d,inputProps:f,label:p,labelId:m,MenuProps:h,multiple:y=!1,native:v=!1,onClose:g,onOpen:b,open:w,renderValue:S,SelectDisplayProps:x,variant:$="outlined"}=r,k=LB(r,U1),_=v?o1:B1,E=tJ({props:r,muiFormControl:nJ(),states:["variant","error"]}),C=E.variant||$,P=zB({},r,{variant:C,classes:a}),j=(e=>{const{classes:t}=e;return t})(P),O=LB(j,W1),N=d||{standard:gP.jsx(K1,{ownerState:P}),outlined:gP.jsx(H1,{label:p,ownerState:P}),filled:gP.jsx(G1,{ownerState:P})}[C],R=aH(t,N.ref);return gP.jsx(L.Fragment,{children:L.cloneElement(N,zB({inputComponent:_,inputProps:zB({children:o,error:E.error,IconComponent:c,variant:C,type:void 0,multiple:y},v?{id:u}:{autoWidth:n,defaultOpen:s,displayEmpty:l,labelId:m,MenuProps:h,onClose:g,onOpen:b,open:w,renderValue:S,SelectDisplayProps:zB({id:u},x)},f,{classes:f?ZW(O,f.classes):O},d?d.props.inputProps:{})},(y&&v||l)&&"outlined"===C?{notched:!0}:{},{ref:R,className:xK(N.props.className,i,j.root)},!d&&{variant:C},k))})}));Q1.muiName="Select";var Y1=Q1;var J1=e=>!e||!BQ(e);function X1(e){return _K("MuiSlider",e)}var Z1=EK("MuiSlider",["root","active","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","disabled","dragging","focusVisible","mark","markActive","marked","markLabel","markLabelActive","rail","sizeSmall","thumb","thumbColorPrimary","thumbColorSecondary","thumbColorError","thumbColorSuccess","thumbColorInfo","thumbColorWarning","track","trackInverted","trackFalse","thumbSizeSmall","valueLabel","valueLabelOpen","valueLabelCircle","valueLabelLabel","vertical"]);const e2=["aria-label","aria-valuetext","aria-labelledby","component","components","componentsProps","color","classes","className","disableSwap","disabled","getAriaLabel","getAriaValueText","marks","max","min","name","onChange","onChangeCommitted","orientation","shiftStep","size","step","scale","slotProps","slots","tabIndex","track","value","valueLabelDisplay","valueLabelFormat"];function t2(e){return e}const r2=aQ("span",{name:"MuiSlider",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[`color${fq(r.color)}`],"medium"!==r.size&&t[`size${fq(r.size)}`],r.marked&&t.marked,"vertical"===r.orientation&&t.vertical,"inverted"===r.track&&t.trackInverted,!1===r.track&&t.trackFalse]}})((({theme:e,ownerState:t})=>zB({borderRadius:12,boxSizing:"content-box",display:"inline-block",position:"relative",cursor:"pointer",touchAction:"none",color:(e.vars||e).palette[t.color].main,WebkitTapHighlightColor:"transparent"},"horizontal"===t.orientation&&zB({height:4,width:"100%",padding:"13px 0","@media (pointer: coarse)":{padding:"20px 0"}},"small"===t.size&&{height:2},t.marked&&{marginBottom:20}),"vertical"===t.orientation&&zB({height:"100%",width:4,padding:"0 13px","@media (pointer: coarse)":{padding:"0 20px"}},"small"===t.size&&{width:2},t.marked&&{marginRight:44}),{"@media print":{colorAdjust:"exact"},[`&.${Z1.disabled}`]:{pointerEvents:"none",cursor:"default",color:(e.vars||e).palette.grey[400]},[`&.${Z1.dragging}`]:{[`& .${Z1.thumb}, & .${Z1.track}`]:{transition:"none"}}}))),n2=aQ("span",{name:"MuiSlider",slot:"Rail",overridesResolver:(e,t)=>t.rail})((({ownerState:e})=>zB({display:"block",position:"absolute",borderRadius:"inherit",backgroundColor:"currentColor",opacity:.38},"horizontal"===e.orientation&&{width:"100%",height:"inherit",top:"50%",transform:"translateY(-50%)"},"vertical"===e.orientation&&{height:"100%",width:"inherit",left:"50%",transform:"translateX(-50%)"},"inverted"===e.track&&{opacity:1}))),o2=aQ("span",{name:"MuiSlider",slot:"Track",overridesResolver:(e,t)=>t.track})((({theme:e,ownerState:t})=>{const r="light"===e.palette.mode?qH(e.palette[t.color].main,.62):UH(e.palette[t.color].main,.5);return zB({display:"block",position:"absolute",borderRadius:"inherit",border:"1px solid currentColor",backgroundColor:"currentColor",transition:e.transitions.create(["left","width","bottom","height"],{duration:e.transitions.duration.shortest})},"small"===t.size&&{border:"none"},"horizontal"===t.orientation&&{height:"inherit",top:"50%",transform:"translateY(-50%)"},"vertical"===t.orientation&&{width:"inherit",left:"50%",transform:"translateX(-50%)"},!1===t.track&&{display:"none"},"inverted"===t.track&&{backgroundColor:e.vars?e.vars.palette.Slider[`${t.color}Track`]:r,borderColor:e.vars?e.vars.palette.Slider[`${t.color}Track`]:r})})),a2=aQ("span",{name:"MuiSlider",slot:"Thumb",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.thumb,t[`thumbColor${fq(r.color)}`],"medium"!==r.size&&t[`thumbSize${fq(r.size)}`]]}})((({theme:e,ownerState:t})=>zB({position:"absolute",width:20,height:20,boxSizing:"border-box",borderRadius:"50%",outline:0,backgroundColor:"currentColor",display:"flex",alignItems:"center",justifyContent:"center",transition:e.transitions.create(["box-shadow","left","bottom"],{duration:e.transitions.duration.shortest})},"small"===t.size&&{width:12,height:12},"horizontal"===t.orientation&&{top:"50%",transform:"translate(-50%, -50%)"},"vertical"===t.orientation&&{left:"50%",transform:"translate(-50%, 50%)"},{"&::before":zB({position:"absolute",content:'""',borderRadius:"inherit",width:"100%",height:"100%",boxShadow:(e.vars||e).shadows[2]},"small"===t.size&&{boxShadow:"none"}),"&::after":{position:"absolute",content:'""',borderRadius:"50%",width:42,height:42,top:"50%",left:"50%",transform:"translate(-50%, -50%)"},[`&:hover, &.${Z1.focusVisible}`]:{boxShadow:`0px 0px 0px 8px ${e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / 0.16)`:BH(e.palette[t.color].main,.16)}`,"@media (hover: none)":{boxShadow:"none"}},[`&.${Z1.active}`]:{boxShadow:`0px 0px 0px 14px ${e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / 0.16)`:BH(e.palette[t.color].main,.16)}`},[`&.${Z1.disabled}`]:{"&:hover":{boxShadow:"none"}}}))),i2=aQ((function(e){const{children:t,className:r,value:n}=e,o=(e=>{const{open:t}=e;return{offset:xK(t&&Z1.valueLabelOpen),circle:Z1.valueLabelCircle,label:Z1.valueLabelLabel}})(e);return t?L.cloneElement(t,{className:xK(t.props.className)},gP.jsxs(L.Fragment,{children:[t.props.children,gP.jsx("span",{className:xK(o.offset,r),"aria-hidden":!0,children:gP.jsx("span",{className:o.circle,children:gP.jsx("span",{className:o.label,children:n})})})]})):null}),{name:"MuiSlider",slot:"ValueLabel",overridesResolver:(e,t)=>t.valueLabel})((({theme:e,ownerState:t})=>zB({[`&.${Z1.valueLabelOpen}`]:{transform:("vertical"===t.orientation?"translateY(-50%)":"translateY(-100%)")+" scale(1)"},zIndex:1,whiteSpace:"nowrap"},e.typography.body2,{fontWeight:500,transition:e.transitions.create(["transform"],{duration:e.transitions.duration.shortest}),transform:("vertical"===t.orientation?"translateY(-50%)":"translateY(-100%)")+" scale(0)",position:"absolute",backgroundColor:(e.vars||e).palette.grey[600],borderRadius:2,color:(e.vars||e).palette.common.white,display:"flex",alignItems:"center",justifyContent:"center",padding:"0.25rem 0.75rem"},"horizontal"===t.orientation&&{top:"-10px",transformOrigin:"bottom center","&::before":{position:"absolute",content:'""',width:8,height:8,transform:"translate(-50%, 50%) rotate(45deg)",backgroundColor:"inherit",bottom:0,left:"50%"}},"vertical"===t.orientation&&{right:"small"===t.size?"20px":"30px",top:"50%",transformOrigin:"right center","&::before":{position:"absolute",content:'""',width:8,height:8,transform:"translate(-50%, -50%) rotate(45deg)",backgroundColor:"inherit",right:-8,top:"50%"}},"small"===t.size&&{fontSize:e.typography.pxToRem(12),padding:"0.25rem 0.5rem"}))),s2=aQ("span",{name:"MuiSlider",slot:"Mark",shouldForwardProp:e=>oQ(e)&&"markActive"!==e,overridesResolver:(e,t)=>{const{markActive:r}=e;return[t.mark,r&&t.markActive]}})((({theme:e,ownerState:t,markActive:r})=>zB({position:"absolute",width:2,height:2,borderRadius:1,backgroundColor:"currentColor"},"horizontal"===t.orientation&&{top:"50%",transform:"translate(-1px, -50%)"},"vertical"===t.orientation&&{left:"50%",transform:"translate(-50%, 1px)"},r&&{backgroundColor:(e.vars||e).palette.background.paper,opacity:.8}))),l2=aQ("span",{name:"MuiSlider",slot:"MarkLabel",shouldForwardProp:e=>oQ(e)&&"markLabelActive"!==e,overridesResolver:(e,t)=>t.markLabel})((({theme:e,ownerState:t,markLabelActive:r})=>zB({},e.typography.body2,{color:(e.vars||e).palette.text.secondary,position:"absolute",whiteSpace:"nowrap"},"horizontal"===t.orientation&&{top:30,transform:"translateX(-50%)","@media (pointer: coarse)":{top:40}},"vertical"===t.orientation&&{left:36,transform:"translateY(50%)","@media (pointer: coarse)":{left:44}},r&&{color:(e.vars||e).palette.text.primary}))),c2=({children:e})=>e,u2=L.forwardRef((function(e,t){var r,n,o,a,i,s,l,c,u,d,f,p,m,h,y,v,g,b,w,S,x,$,k,_;const E=EG({props:e,name:"MuiSlider"}),C="rtl"===_G().direction,{"aria-label":P,"aria-valuetext":j,"aria-labelledby":O,component:N="span",components:R={},componentsProps:T={},color:A="primary",classes:I,className:M,disableSwap:F=!1,disabled:D=!1,getAriaLabel:z,getAriaValueText:V,marks:B=!1,max:U=100,min:W=0,orientation:q="horizontal",shiftStep:K=10,size:H="medium",step:G=1,scale:Q=t2,slotProps:Y,slots:J,track:X="normal",valueLabelDisplay:Z="off",valueLabelFormat:ee=t2}=E,te=LB(E,e2),re=zB({},E,{isRtl:C,max:U,min:W,classes:I,disabled:D,disableSwap:F,orientation:q,marks:B,color:A,size:H,step:G,shiftStep:K,scale:Q,track:X,valueLabelDisplay:Z,valueLabelFormat:ee}),{axisProps:ne,getRootProps:oe,getHiddenInputProps:ae,getThumbProps:ie,open:se,active:le,axis:ce,focusedThumbIndex:ue,range:de,dragging:fe,marks:pe,values:me,trackOffset:he,trackLeap:ye,getThumbStyle:ve}=FY(zB({},re,{rootRef:t}));re.marked=pe.length>0&&pe.some((e=>e.label)),re.dragging=fe,re.focusedThumbIndex=ue;const ge=(e=>{const{disabled:t,dragging:r,marked:n,orientation:o,track:a,classes:i,color:s,size:l}=e;return SH({root:["root",t&&"disabled",r&&"dragging",n&&"marked","vertical"===o&&"vertical","inverted"===a&&"trackInverted",!1===a&&"trackFalse",s&&`color${fq(s)}`,l&&`size${fq(l)}`],rail:["rail"],track:["track"],mark:["mark"],markActive:["markActive"],markLabel:["markLabel"],markLabelActive:["markLabelActive"],valueLabel:["valueLabel"],thumb:["thumb",t&&"disabled",l&&`thumbSize${fq(l)}`,s&&`thumbColor${fq(s)}`],active:["active"],disabled:["disabled"],focusVisible:["focusVisible"]},X1,i)})(re),be=null!=(r=null!=(n=null==J?void 0:J.root)?n:R.Root)?r:r2,we=null!=(o=null!=(a=null==J?void 0:J.rail)?a:R.Rail)?o:n2,Se=null!=(i=null!=(s=null==J?void 0:J.track)?s:R.Track)?i:o2,xe=null!=(l=null!=(c=null==J?void 0:J.thumb)?c:R.Thumb)?l:a2,$e=null!=(u=null!=(d=null==J?void 0:J.valueLabel)?d:R.ValueLabel)?u:i2,ke=null!=(f=null!=(p=null==J?void 0:J.mark)?p:R.Mark)?f:s2,_e=null!=(m=null!=(h=null==J?void 0:J.markLabel)?h:R.MarkLabel)?m:l2,Ee=null!=(y=null!=(v=null==J?void 0:J.input)?v:R.Input)?y:"input",Ce=null!=(g=null==Y?void 0:Y.root)?g:T.root,Pe=null!=(b=null==Y?void 0:Y.rail)?b:T.rail,je=null!=(w=null==Y?void 0:Y.track)?w:T.track,Oe=null!=(S=null==Y?void 0:Y.thumb)?S:T.thumb,Ne=null!=(x=null==Y?void 0:Y.valueLabel)?x:T.valueLabel,Re=null!=($=null==Y?void 0:Y.mark)?$:T.mark,Te=null!=(k=null==Y?void 0:Y.markLabel)?k:T.markLabel,Ae=null!=(_=null==Y?void 0:Y.input)?_:T.input,Ie=KQ({elementType:be,getSlotProps:oe,externalSlotProps:Ce,externalForwardedProps:te,additionalProps:zB({},J1(be)&&{as:N}),ownerState:zB({},re,null==Ce?void 0:Ce.ownerState),className:[ge.root,M]}),Me=KQ({elementType:we,externalSlotProps:Pe,ownerState:re,className:ge.rail}),Fe=KQ({elementType:Se,externalSlotProps:je,additionalProps:{style:zB({},ne[ce].offset(he),ne[ce].leap(ye))},ownerState:zB({},re,null==je?void 0:je.ownerState),className:ge.track}),De=KQ({elementType:xe,getSlotProps:ie,externalSlotProps:Oe,ownerState:zB({},re,null==Oe?void 0:Oe.ownerState),className:ge.thumb}),ze=KQ({elementType:$e,externalSlotProps:Ne,ownerState:zB({},re,null==Ne?void 0:Ne.ownerState),className:ge.valueLabel}),Le=KQ({elementType:ke,externalSlotProps:Re,ownerState:re,className:ge.mark}),Ve=KQ({elementType:_e,externalSlotProps:Te,ownerState:re,className:ge.markLabel}),Be=KQ({elementType:Ee,getSlotProps:ae,externalSlotProps:Ae,ownerState:re});return gP.jsxs(be,zB({},Ie,{children:[gP.jsx(we,zB({},Me)),gP.jsx(Se,zB({},Fe)),pe.filter((e=>e.value>=W&&e.value<=U)).map(((e,t)=>{const r=PY(e.value,W,U),n=ne[ce].offset(r);let o;return o=!1===X?-1!==me.indexOf(e.value):"normal"===X&&(de?e.value>=me[0]&&e.value<=me[me.length-1]:e.value<=me[0])||"inverted"===X&&(de?e.value<=me[0]||e.value>=me[me.length-1]:e.value>=me[0]),gP.jsxs(L.Fragment,{children:[gP.jsx(ke,zB({"data-index":t},Le,!BQ(ke)&&{markActive:o},{style:zB({},n,Le.style),className:xK(Le.className,o&&ge.markActive)})),null!=e.label?gP.jsx(_e,zB({"aria-hidden":!0,"data-index":t},Ve,!BQ(_e)&&{markLabelActive:o},{style:zB({},n,Ve.style),className:xK(ge.markLabel,Ve.className,o&&ge.markLabelActive),children:e.label})):null]},t)})),me.map(((e,t)=>{const r=PY(e,W,U),n=ne[ce].offset(r),o="off"===Z?c2:$e;return gP.jsx(o,zB({},!BQ(o)&&{valueLabelFormat:ee,valueLabelDisplay:Z,value:"function"==typeof ee?ee(Q(e),t):ee,index:t,open:se===t||le===t||"on"===Z,disabled:D},ze,{children:gP.jsx(xe,zB({"data-index":t},De,{className:xK(ge.thumb,De.className,le===t&&ge.active,ue===t&&ge.focusVisible),style:zB({},n,ve(t),De.style),children:gP.jsx(Ee,zB({"data-index":t,"aria-label":z?z(t):P,"aria-valuenow":Q(e),"aria-labelledby":O,"aria-valuetext":V?V(Q(e),t):j,value:me[t]},Be))}))}),t)}))]}))}));var d2=u2;function f2(e){return _K("MuiTextField",e)}EK("MuiTextField",["root"]);const p2=["autoComplete","autoFocus","children","className","color","defaultValue","disabled","error","FormHelperTextProps","fullWidth","helperText","id","InputLabelProps","inputProps","InputProps","inputRef","label","maxRows","minRows","multiline","name","onBlur","onChange","onFocus","placeholder","required","rows","select","SelectProps","type","value","variant"],m2={standard:OZ,filled:jX,outlined:p1},h2=aQ(AX,{name:"MuiTextField",slot:"Root",overridesResolver:(e,t)=>t.root})({}),y2=L.forwardRef((function(e,t){const r=EG({props:e,name:"MuiTextField"}),{autoComplete:n,autoFocus:o=!1,children:a,className:i,color:s="primary",defaultValue:l,disabled:c=!1,error:u=!1,FormHelperTextProps:d,fullWidth:f=!1,helperText:p,id:m,InputLabelProps:h,inputProps:y,InputProps:v,inputRef:g,label:b,maxRows:w,minRows:S,multiline:x=!1,name:$,onBlur:k,onChange:_,onFocus:E,placeholder:C,required:P=!1,rows:j,select:O=!1,SelectProps:N,type:R,value:T,variant:A="outlined"}=r,I=LB(r,p2),M=zB({},r,{autoFocus:o,color:s,disabled:c,error:u,fullWidth:f,multiline:x,required:P,select:O,variant:A}),F=(e=>{const{classes:t}=e;return SH({root:["root"]},f2,t)})(M),D={};"outlined"===A&&(h&&void 0!==h.shrink&&(D.notched=h.shrink),D.label=b),O&&(N&&N.native||(D.id=void 0),D["aria-describedby"]=void 0);const z=rH(m),L=p&&z?`${z}-helper-text`:void 0,V=b&&z?`${z}-label`:void 0,B=m2[A],U=gP.jsx(B,zB({"aria-describedby":L,autoComplete:n,autoFocus:o,defaultValue:l,fullWidth:f,multiline:x,name:$,rows:j,maxRows:w,minRows:S,type:R,value:T,id:z,inputRef:g,onBlur:k,onChange:_,onFocus:E,placeholder:C,inputProps:y},D,v));return gP.jsxs(h2,zB({className:xK(F.root,i),disabled:c,error:u,fullWidth:f,ref:t,required:P,color:s,variant:A,ownerState:M},I,{children:[null!=b&&""!==b&&gP.jsx(IZ,zB({htmlFor:z,id:V},h,{children:b})),O?gP.jsx(Y1,zB({"aria-describedby":L,id:z,labelId:V,value:T,input:U},N,{children:a})):U,p&&gP.jsx(tZ,zB({id:L},d,{children:p}))]}))}));var v2,g2=y2,b2={},w2={},S2=o(yQ);function x2(){return v2||(v2=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.createSvgIcon}});var t=S2}(w2)),w2}var $2=DH;Object.defineProperty(b2,"__esModule",{value:!0});var k2=b2.default=void 0,_2=$2(x2()),E2=gP;function C2({uiSchema:e,registry:t,...r}){const{translateString:n}=t;return gP.jsx(HY,{title:n(cj.AddItemButton),...r,color:"primary",children:gP.jsx(k2,{})})}function P2(e){const{children:t,disabled:r,hasToolbar:n,hasCopy:o,hasMoveDown:a,hasMoveUp:i,hasRemove:s,index:l,onCopyIndexClick:c,onDropIndexClick:u,onReorderClick:d,readonly:f,uiSchema:p,registry:m}=e,{CopyButton:h,MoveDownButton:y,MoveUpButton:v,RemoveButton:g}=m.templates.ButtonTemplates,b={flex:1,paddingLeft:6,paddingRight:6,fontWeight:"bold",minWidth:0};return gP.jsxs(bZ,{container:!0,alignItems:"center",children:[gP.jsx(bZ,{item:!0,xs:!0,style:{overflow:"auto"},children:gP.jsx(MJ,{mb:2,children:gP.jsx(VQ,{elevation:2,children:gP.jsx(MJ,{p:2,children:t})})})}),n&&gP.jsxs(bZ,{item:!0,children:[(i||a)&&gP.jsx(v,{style:b,disabled:r||f||!i,onClick:d(l,l-1),uiSchema:p,registry:m}),(i||a)&&gP.jsx(y,{style:b,disabled:r||f||!a,onClick:d(l,l+1),uiSchema:p,registry:m}),o&&gP.jsx(h,{style:b,disabled:r||f,onClick:c(l),uiSchema:p,registry:m}),s&&gP.jsx(g,{style:b,disabled:r||f,onClick:u(l),uiSchema:p,registry:m})]})]})}function j2(e){const{canAdd:t,disabled:r,idSchema:n,uiSchema:o,items:a,onAddClick:i,readonly:s,registry:l,required:c,schema:u,title:d}=e,f=$d(o),p=sP("ArrayFieldDescriptionTemplate",l,f),m=sP("ArrayFieldItemTemplate",l,f),h=sP("ArrayFieldTitleTemplate",l,f),{ButtonTemplates:{AddButton:y}}=l.templates;return gP.jsx(VQ,{elevation:2,children:gP.jsxs(MJ,{p:2,children:[gP.jsx(h,{idSchema:n,title:f.title||d,schema:u,uiSchema:o,required:c,registry:l}),gP.jsx(p,{idSchema:n,description:f.description||u.description,schema:u,uiSchema:o,registry:l}),a&&a.map((({key:e,...t})=>gP.jsx(m,{...t},e))),t&&gP.jsx(bZ,{container:!0,justifyContent:"flex-end",children:gP.jsx(bZ,{item:!0,children:gP.jsx(MJ,{mt:2,children:gP.jsx(y,{className:"array-item-add",onClick:i,disabled:r||s,uiSchema:o,registry:l})})})})]})})}k2=b2.default=(0,_2.default)((0,E2.jsx)("path",{d:"M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6z"}),"Add");const O2=["date","datetime-local","file","time"];function N2(e){const{id:t,name:r,placeholder:n,required:o,readonly:a,disabled:i,type:s,label:l,hideLabel:c,hideError:u,value:d,onChange:f,onChangeOverride:p,onBlur:m,onFocus:h,autofocus:y,options:v,schema:g,uiSchema:b,rawErrors:w=[],formContext:S,registry:x,InputLabelProps:$,...k}=e,_=oP(g,s,v),{step:E,min:C,max:P,...j}=_,O={inputProps:{step:E,min:C,max:P,...g.examples?{list:WP(t)}:void 0},...j},N=O2.includes(s)?{...$,shrink:!0}:$;return gP.jsxs(gP.Fragment,{children:[gP.jsx(g2,{id:t,name:t,placeholder:n,label:QP(l||void 0,c,void 0),autoFocus:y,required:o,disabled:i||a,...O,value:d||0===d?d:"",error:w.length>0,onChange:p||(({target:{value:e}})=>f(""===e?v.emptyValue:e)),onBlur:({target:{value:e}})=>m(t,e),onFocus:({target:{value:e}})=>h(t,e),InputLabelProps:N,...k,"aria-describedby":HP(t,!!g.examples)}),Array.isArray(g.examples)&&gP.jsx("datalist",{id:WP(t),children:g.examples.concat(g.default&&!g.examples.includes(g.default)?[g.default]:[]).map((e=>gP.jsx("option",{value:e},e)))})]})}function R2(e){const{id:t,description:r}=e;return r?gP.jsx(eJ,{id:t,variant:"subtitle2",style:{marginTop:"5px"},children:r}):null}var T2={},A2=DH;Object.defineProperty(T2,"__esModule",{value:!0});var I2=T2.default=void 0,M2=A2(x2()),F2=gP;function D2({errors:e,registry:t}){const{translateString:r}=t;return gP.jsx(VQ,{elevation:2,children:gP.jsxs(MJ,{mb:2,p:2,children:[gP.jsx(eJ,{variant:"h6",children:r(cj.ErrorsLabel)}),gP.jsx(VZ,{dense:!0,children:e.map(((e,t)=>gP.jsxs(t0,{children:[gP.jsx(s0,{children:gP.jsx(I2,{color:"error"})}),gP.jsx(p0,{primary:e.stack})]},t)))})]})})}I2=T2.default=(0,M2.default)((0,F2.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m1 15h-2v-2h2zm0-4h-2V7h2z"}),"Error");var z2={},L2=DH;Object.defineProperty(z2,"__esModule",{value:!0});var V2=z2.default=void 0,B2=L2(x2()),U2=gP;V2=z2.default=(0,B2.default)((0,U2.jsx)("path",{d:"m20 12-1.41-1.41L13 16.17V4h-2v12.17l-5.58-5.59L4 12l8 8z"}),"ArrowDownward");var W2={},q2=DH;Object.defineProperty(W2,"__esModule",{value:!0});var K2=W2.default=void 0,H2=q2(x2()),G2=gP;K2=W2.default=(0,H2.default)((0,G2.jsx)("path",{d:"m4 12 1.41 1.41L11 7.83V20h2V7.83l5.58 5.59L20 12l-8-8z"}),"ArrowUpward");var Q2={},Y2=DH;Object.defineProperty(Q2,"__esModule",{value:!0});var J2=Q2.default=void 0,X2=Y2(x2()),Z2=gP;J2=Q2.default=(0,X2.default)((0,Z2.jsx)("path",{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"}),"ContentCopy");var e5={},t5=DH;Object.defineProperty(e5,"__esModule",{value:!0});var r5=e5.default=void 0,n5=t5(x2()),o5=gP;function a5(e){const{icon:t,color:r,uiSchema:n,registry:o,...a}=e;return gP.jsx(HY,{...a,size:"small",color:r,children:t})}function i5(e){const{registry:{translateString:t}}=e;return gP.jsx(a5,{title:t(cj.CopyButton),...e,icon:gP.jsx(J2,{fontSize:"small"})})}function s5(e){const{registry:{translateString:t}}=e;return gP.jsx(a5,{title:t(cj.MoveDownButton),...e,icon:gP.jsx(V2,{fontSize:"small"})})}function l5(e){const{registry:{translateString:t}}=e;return gP.jsx(a5,{title:t(cj.MoveUpButton),...e,icon:gP.jsx(K2,{fontSize:"small"})})}function c5(e){const{iconType:t,...r}=e,{registry:{translateString:n}}=r;return gP.jsx(a5,{title:n(cj.RemoveButton),...r,color:"error",icon:gP.jsx(r5,{fontSize:"default"===t?void 0:"small"})})}function u5(e){const{errors:t=[],idSchema:r}=e;if(0===t.length)return null;const n=UP(r);return gP.jsx(VZ,{id:n,dense:!0,disablePadding:!0,children:t.map(((e,t)=>gP.jsx(t0,{disableGutters:!0,children:gP.jsx(tZ,{component:"div",id:`${n}-${t}`,children:e})},t)))})}function d5(e){const{idSchema:t,help:r}=e;if(!r)return null;const n=qP(t);return gP.jsx(tZ,{component:"div",id:n,children:r})}function f5(e){const{id:t,children:r,classNames:n,style:o,disabled:a,displayLabel:i,hidden:s,label:l,onDropPropertyClick:c,onKeyChange:u,readonly:d,required:f,rawErrors:p=[],errors:m,help:h,description:y,rawDescription:v,schema:g,uiSchema:b,registry:w}=e,S=sP("WrapIfAdditionalTemplate",w,$d(b));return s?gP.jsx("div",{style:{display:"none"},children:r}):gP.jsx(S,{classNames:n,style:o,disabled:a,id:t,label:l,onDropPropertyClick:c,onKeyChange:u,readonly:d,required:f,schema:g,uiSchema:b,registry:w,children:gP.jsxs(AX,{fullWidth:!0,error:!!p.length,required:f,children:[r,i&&v?gP.jsx(eJ,{variant:"caption",color:"textSecondary",children:y}):null,m,h]})})}function p5(e){const{description:t,title:r,properties:n,required:o,disabled:a,readonly:i,uiSchema:s,idSchema:l,schema:c,formData:u,onAddClick:d,registry:f}=e,p=$d(s),m=sP("TitleFieldTemplate",f,p),h=sP("DescriptionFieldTemplate",f,p),{ButtonTemplates:{AddButton:y}}=f.templates;return gP.jsxs(gP.Fragment,{children:[r&&gP.jsx(m,{id:KP(l),title:r,required:o,schema:c,uiSchema:s,registry:f}),t&&gP.jsx(h,{id:BP(l),description:t,schema:c,uiSchema:s,registry:f}),gP.jsxs(bZ,{container:!0,spacing:2,style:{marginTop:"10px"},children:[n.map(((e,t)=>e.hidden?e.content:gP.jsx(bZ,{item:!0,xs:12,style:{marginBottom:"10px"},children:e.content},t))),kd(c,s,u)&&gP.jsx(bZ,{container:!0,justifyContent:"flex-end",children:gP.jsx(bZ,{item:!0,children:gP.jsx(y,{className:"object-property-expand",onClick:d(c),disabled:a||i,uiSchema:s,registry:f})})})]})]})}function m5({uiSchema:e}){const{submitText:t,norender:r,props:n={}}=iP(e);return r?null:gP.jsx(MJ,{marginTop:3,children:gP.jsx(HJ,{type:"submit",variant:"contained",color:"primary",...n,children:t})})}function h5({id:e,title:t}){return gP.jsxs(MJ,{id:e,mb:1,mt:1,children:[gP.jsx(eJ,{variant:"h5",children:t}),gP.jsx(kX,{})]})}function y5(e){const{children:t,classNames:r,style:n,disabled:o,id:a,label:i,onDropPropertyClick:s,onKeyChange:l,readonly:c,required:u,schema:d,uiSchema:f,registry:p}=e,{templates:m,translateString:h}=p,{RemoveButton:y}=m.ButtonTemplates,v=h(cj.KeyLabel,[i]);if(!(td in d))return gP.jsx("div",{className:r,style:n,children:t});return gP.jsxs(bZ,{container:!0,alignItems:"center",spacing:2,className:r,style:n,children:[gP.jsx(bZ,{item:!0,xs:!0,children:gP.jsx(g2,{fullWidth:!0,required:u,label:v,defaultValue:i,disabled:o||c,id:`${a}-key`,name:`${a}-key`,onBlur:c?void 0:({target:e})=>l(e.value),type:"text"})}),gP.jsx(bZ,{item:!0,xs:!0,children:t}),gP.jsx(bZ,{item:!0,children:gP.jsx(y,{iconType:"default",style:{flex:1,paddingLeft:6,paddingRight:6,fontWeight:"bold"},disabled:o||c,onClick:s(i),uiSchema:f,registry:p})})]},`${a}-key`)}function v5(e){var t;const{schema:r,id:n,value:o,disabled:a,readonly:i,label:s="",hideLabel:l,autofocus:c,onChange:u,onBlur:d,onFocus:f,registry:p,options:m,uiSchema:h}=e,y=sP("DescriptionFieldTemplate",p,m),v=ZP(r),g=null!==(t=m.description)&&void 0!==t?t:r.description;return gP.jsxs(gP.Fragment,{children:[!l&&!!g&&gP.jsx(y,{id:BP(n),description:g,schema:r,uiSchema:h,registry:p}),gP.jsx(UX,{control:gP.jsx(dX,{id:n,name:n,checked:void 0!==o&&Boolean(o),required:v,disabled:a||i,autoFocus:c,onChange:(e,t)=>u(t),onBlur:({target:{value:e}})=>d(n,e),onFocus:({target:{value:e}})=>f(n,e),"aria-describedby":HP(n)}),label:QP(s,l,!1)})]})}function g5({label:e,hideLabel:t,id:r,disabled:n,options:o,value:a,autofocus:i,readonly:s,required:l,onChange:c,onBlur:u,onFocus:d}){const{enumOptions:f,enumDisabled:p,inline:m,emptyValue:h}=o,y=Array.isArray(a)?a:[a],v=e=>({target:{checked:t}})=>{c(t?eP(e,y,f):YC(e,y,f))},g=({target:{value:e}})=>u(r,QC(e,f,h)),b=({target:{value:e}})=>d(r,QC(e,f,h));return gP.jsxs(gP.Fragment,{children:[QP(gP.jsx(lZ,{required:l,htmlFor:r,children:e||void 0}),t),gP.jsx(GX,{id:r,row:!!m,children:Array.isArray(f)&&f.map(((e,t)=>{const o=JC(e.value,y),a=Array.isArray(p)&&-1!==p.indexOf(e.value),l=gP.jsx(dX,{id:GP(r,t),name:r,checked:o,disabled:n||a||s,autoFocus:i&&0===t,onChange:v(t),onBlur:g,onFocus:b,"aria-describedby":HP(r)});return gP.jsx(UX,{control:l,label:e.label},t)}))})]})}function b5({id:e,options:t,value:r,required:n,disabled:o,readonly:a,label:i,hideLabel:s,onChange:l,onBlur:c,onFocus:u}){var d;const{enumOptions:f,enumDisabled:p,emptyValue:m}=t,h=!!t&&t.inline,y=null!==(d=XC(r,f))&&void 0!==d?d:null;return gP.jsxs(gP.Fragment,{children:[QP(gP.jsx(lZ,{required:n,htmlFor:e,children:i||void 0}),s),gP.jsx(N1,{id:e,name:e,value:y,row:h,onChange:(e,t)=>l(QC(t,f,m)),onBlur:({target:{value:t}})=>c(e,QC(t,f,m)),onFocus:({target:{value:t}})=>u(e,QC(t,f,m)),"aria-describedby":HP(e),children:Array.isArray(f)&&f.map(((t,r)=>{const n=Array.isArray(p)&&-1!==p.indexOf(t.value);return gP.jsx(UX,{control:gP.jsx(P1,{name:e,id:GP(e,r),color:"primary"}),label:t.label,value:String(r),disabled:o||n||a},r)}))})]})}function w5(e){const{value:t,readonly:r,disabled:n,onBlur:o,onFocus:a,options:i,schema:s,onChange:l,required:c,label:u,hideLabel:d,id:f}=e,p={value:t,label:u,id:f,name:f,...nP(s)};return gP.jsxs(gP.Fragment,{children:[QP(gP.jsx(lZ,{required:c,htmlFor:f,children:u||void 0}),d),gP.jsx(d2,{disabled:n||r,onChange:(e,t)=>{l(null!=t?t:i.emptyValue)},onBlur:({target:{value:e}})=>o(f,e),onFocus:({target:{value:e}})=>a(f,e),valueLabelDisplay:"auto",...p,"aria-describedby":HP(f)})]})}function S5({schema:e,id:t,name:r,options:n,label:o,hideLabel:a,required:i,disabled:s,placeholder:l,readonly:c,value:u,multiple:d,autofocus:f,onChange:p,onBlur:m,onFocus:h,rawErrors:y=[],registry:v,uiSchema:g,hideError:b,formContext:w,...S}){const{enumOptions:x,enumDisabled:$,emptyValue:k}=n,_=(d=void 0!==d&&!!d)?[]:"",E=void 0===u||d&&u.length<1||!d&&u===_,C=XC(u,x,d);return gP.jsx(g2,{id:t,name:t,label:QP(o||void 0,a,void 0),value:E||void 0===C?_:C,required:i,disabled:s||c,autoFocus:f,placeholder:l,error:y.length>0,onChange:({target:{value:e}})=>p(QC(e,x,k)),onBlur:({target:{value:e}})=>m(t,QC(e,x,k)),onFocus:({target:{value:e}})=>h(t,QC(e,x,k)),...S,select:!0,InputLabelProps:{...S.InputLabelProps,shrink:!E},SelectProps:{...S.SelectProps,multiple:d},"aria-describedby":HP(t),children:Array.isArray(x)&&x.map((({value:e,label:t},r)=>{const n=Array.isArray($)&&-1!==$.indexOf(e);return gP.jsx(G0,{value:String(r),disabled:n,children:t},r)}))})}function x5(e){const{options:t,registry:r}=e,n=sP("BaseInputTemplate",r,t);let o=5;return"string"!=typeof t.rows&&"number"!=typeof t.rows||(o=t.rows),gP.jsx(n,{...e,multiline:!0,rows:o})}function $5(){return{CheckboxWidget:v5,CheckboxesWidget:g5,RadioWidget:b5,RangeWidget:w5,SelectWidget:S5,TextareaWidget:x5}}r5=e5.default=(0,n5.default)((0,o5.jsx)("path",{d:"M19 13H5v-2h14z"}),"Remove");const k5=e=>["light","dark"].includes(e)?e:"light",_5=(E5={templates:{ArrayFieldItemTemplate:P2,ArrayFieldTemplate:j2,BaseInputTemplate:N2,ButtonTemplates:{AddButton:C2,CopyButton:i5,MoveDownButton:s5,MoveUpButton:l5,RemoveButton:c5,SubmitButton:m5},DescriptionFieldTemplate:R2,ErrorListTemplate:D2,FieldErrorTemplate:u5,FieldHelpTemplate:d5,FieldTemplate:f5,ObjectFieldTemplate:p5,TitleFieldTemplate:h5,WrapIfAdditionalTemplate:y5},widgets:{...$5(),SelectWidget:e=>{const r=$5().SelectWidget;return V.createElement(r,t({},e,{SelectProps:{...e.SelectProps||{},MenuProps:{autoFocus:!1,disableAutoFocusItem:!0,disableEnforceFocus:!0,disableAutoFocus:!0}}}))}}},L.forwardRef((({fields:e,widgets:t,templates:r,...n},o)=>{var a;return e={...null==E5?void 0:E5.fields,...e},t={...null==E5?void 0:E5.widgets,...t},r={...null==E5?void 0:E5.templates,...r,ButtonTemplates:{...null===(a=null==E5?void 0:E5.templates)||void 0===a?void 0:a.ButtonTemplates,...null==r?void 0:r.ButtonTemplates}},gP.jsx(CB,{...E5,...n,fields:e,widgets:t,templates:r,ref:o})})));var E5;function C5(){const e=frameData.app.context,t=["form-data"];return e.organization_id&&t.push(e.organization_id),e.project_id&&t.push(e.project_id),t.join("-")}const P5={htmlWidget:function(e){const{value:t,options:{content:r}}=e,n=L.useRef();return L.useEffect((()=>{const e=t||r,o=document.createRange().createContextualFragment(e);n.current.append(o)}),[]),V.createElement("div",{ref:n})}};function j5({formData:e,formSchema:t,formUiSchema:r}){const[n,o]=L.useState($G({palette:{mode:"light"}}));return L.useEffect((()=>{AP.events.on("theme.changed",(e=>{const t=k5(e);o($G({palette:{mode:t}}))})),AP.getTheme((e=>{const t=k5(e);o($G({palette:{mode:t}}))}))}),[]),V.createElement(sQ,{theme:n},V.createElement(_5,{widgets:P5,formData:e,validator:cz,schema:t,uiSchema:r,onSubmit:e=>{!function(e){document.getElementById("form-loading").style.display="flex",checkOrigin().then((t=>fetch(formPostDataUrl+t+"&id="+C5(),{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({data:e,context:frameData.app.context})}))).then(checkResponse).then((e=>{e&&e.message||showToast("Settings successfully saved"),document.getElementById("form-loading").style.display="none",e&&(e.formData||e.formSchema||e.formUiSchema)&&O5(e.formData,e.formSchema,e.formUiSchema),e&&e.redirect&&(window.location=e.redirect)})).catch((e=>{catchRejection(e,"Can't save settings"),document.getElementById("form-loading").style.display="none"}))}(e.formData)},onChange:e=>{window.currentFormData=e.formData}}))}function O5(e={},t,r){const n=U.createRoot(document.getElementById("form"));if(AP&&AP._data&&AP._data.app&&["modal","editor-right-panel"].includes(AP._data.app.type)){const e=document.getElementById("card");e.style.border="none",e.style.overflow="initial",e.removeAttribute("is-shadowed"),e.setAttribute("without-p",!0),e.parentElement.style.padding="16px",e.parentElement.style.paddingBottom="0px"}window.currentFormSchema=t,window.currentFormData=e,window.currentFormUiSchema=r,n.render(V.createElement(j5,{formData:e,formSchema:t||window.formSchema,formUiSchema:r||window.formUiSchema})),document.getElementById("form-loading").style.display="none"}checkOrigin().then((e=>{const t=new URLSearchParams(frameData.app.context).toString(),r=new URLSearchParams(e+"&id="+C5());return r.set("context",t),fetch(formGetDataUrl+"?"+r.toString(),{method:"GET"})})).then(checkResponse).catch((e=>catchRejection(e,"Can't load saved settings"))).then((e=>{O5(e.formData,e.formSchema,e.formUiSchema)})).catch((()=>O5({}))),window.renderForm=O5}();
|
|
112
|
+
`),HQ.rippleVisible,eY,550,(({theme:e})=>e.transitions.easing.easeInOut),HQ.ripplePulsate,(({theme:e})=>e.transitions.duration.shorter),HQ.child,HQ.childLeaving,tY,550,(({theme:e})=>e.transitions.easing.easeInOut),HQ.childPulsate,rY,(({theme:e})=>e.transitions.easing.easeInOut)),aY=L.forwardRef((function(e,t){const r=EG({props:e,name:"MuiTouchRipple"}),{center:n=!1,classes:o={},className:a}=r,i=LB(r,GQ),[s,l]=L.useState([]),c=L.useRef(0),u=L.useRef(null);L.useEffect((()=>{u.current&&(u.current(),u.current=null)}),[s]);const d=L.useRef(!1),f=cH(),p=L.useRef(null),m=L.useRef(null),h=L.useCallback((e=>{const{pulsate:t,rippleX:r,rippleY:n,rippleSize:a,cb:i}=e;l((e=>[...e,gP.jsx(oY,{classes:{ripple:xK(o.ripple,HQ.ripple),rippleVisible:xK(o.rippleVisible,HQ.rippleVisible),ripplePulsate:xK(o.ripplePulsate,HQ.ripplePulsate),child:xK(o.child,HQ.child),childLeaving:xK(o.childLeaving,HQ.childLeaving),childPulsate:xK(o.childPulsate,HQ.childPulsate)},timeout:550,pulsate:t,rippleX:r,rippleY:n,rippleSize:a},c.current)])),c.current+=1,u.current=i}),[o]),y=L.useCallback(((e={},t={},r=(()=>{}))=>{const{pulsate:o=!1,center:a=n||t.pulsate,fakeElement:i=!1}=t;if("mousedown"===(null==e?void 0:e.type)&&d.current)return void(d.current=!1);"touchstart"===(null==e?void 0:e.type)&&(d.current=!0);const s=i?null:m.current,l=s?s.getBoundingClientRect():{width:0,height:0,left:0,top:0};let c,u,y;if(a||void 0===e||0===e.clientX&&0===e.clientY||!e.clientX&&!e.touches)c=Math.round(l.width/2),u=Math.round(l.height/2);else{const{clientX:t,clientY:r}=e.touches&&e.touches.length>0?e.touches[0]:e;c=Math.round(t-l.left),u=Math.round(r-l.top)}if(a)y=Math.sqrt((2*l.width**2+l.height**2)/3),y%2==0&&(y+=1);else{const e=2*Math.max(Math.abs((s?s.clientWidth:0)-c),c)+2,t=2*Math.max(Math.abs((s?s.clientHeight:0)-u),u)+2;y=Math.sqrt(e**2+t**2)}null!=e&&e.touches?null===p.current&&(p.current=()=>{h({pulsate:o,rippleX:c,rippleY:u,rippleSize:y,cb:r})},f.start(80,(()=>{p.current&&(p.current(),p.current=null)}))):h({pulsate:o,rippleX:c,rippleY:u,rippleSize:y,cb:r})}),[n,h,f]),v=L.useCallback((()=>{y({},{pulsate:!0})}),[y]),g=L.useCallback(((e,t)=>{if(f.clear(),"touchend"===(null==e?void 0:e.type)&&p.current)return p.current(),p.current=null,void f.start(0,(()=>{g(e,t)}));p.current=null,l((e=>e.length>0?e.slice(1):e)),u.current=t}),[f]);return L.useImperativeHandle(t,(()=>({pulsate:v,start:y,stop:g})),[v,y,g]),gP.jsx(nY,zB({className:xK(HQ.root,o.root,a),ref:m},i,{children:gP.jsx(AQ,{component:null,exit:!0,children:s})}))}));var iY=aY;function sY(e){return _K("MuiButtonBase",e)}var lY=EK("MuiButtonBase",["root","disabled","focusVisible"]);const cY=["action","centerRipple","children","className","component","disabled","disableRipple","disableTouchRipple","focusRipple","focusVisibleClassName","LinkComponent","onBlur","onClick","onContextMenu","onDragLeave","onFocus","onFocusVisible","onKeyDown","onKeyUp","onMouseDown","onMouseLeave","onMouseUp","onTouchEnd","onTouchMove","onTouchStart","tabIndex","TouchRippleProps","touchRippleRef","type"],uY=aQ("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},[`&.${lY.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),dY=L.forwardRef((function(e,t){const r=EG({props:e,name:"MuiButtonBase"}),{action:n,centerRipple:o=!1,children:a,className:i,component:s="button",disabled:l=!1,disableRipple:c=!1,disableTouchRipple:u=!1,focusRipple:d=!1,LinkComponent:f="a",onBlur:p,onClick:m,onContextMenu:h,onDragLeave:y,onFocus:v,onFocusVisible:g,onKeyDown:b,onKeyUp:w,onMouseDown:S,onMouseLeave:x,onMouseUp:$,onTouchEnd:k,onTouchMove:_,onTouchStart:E,tabIndex:C=0,TouchRippleProps:P,touchRippleRef:j,type:O}=r,N=LB(r,cY),R=L.useRef(null),T=L.useRef(null),A=aH(T,j),{isFocusVisibleRef:I,onFocus:M,onBlur:F,ref:D}=gH(),[z,V]=L.useState(!1);l&&z&&V(!1),L.useImperativeHandle(n,(()=>({focusVisible:()=>{V(!0),R.current.focus()}})),[]);const[B,U]=L.useState(!1);L.useEffect((()=>{U(!0)}),[]);const W=B&&!c&&!l;function q(e,t,r=u){return oH((n=>{t&&t(n);return!r&&T.current&&T.current[e](n),!0}))}L.useEffect((()=>{z&&d&&!c&&B&&T.current.pulsate()}),[c,d,z,B]);const K=q("start",S),H=q("stop",h),G=q("stop",y),Q=q("stop",$),Y=q("stop",(e=>{z&&e.preventDefault(),x&&x(e)})),J=q("start",E),X=q("stop",k),Z=q("stop",_),ee=q("stop",(e=>{F(e),!1===I.current&&V(!1),p&&p(e)}),!1),te=oH((e=>{R.current||(R.current=e.currentTarget),M(e),!0===I.current&&(V(!0),g&&g(e)),v&&v(e)})),re=()=>{const e=R.current;return s&&"button"!==s&&!("A"===e.tagName&&e.href)},ne=L.useRef(!1),oe=oH((e=>{d&&!ne.current&&z&&T.current&&" "===e.key&&(ne.current=!0,T.current.stop(e,(()=>{T.current.start(e)}))),e.target===e.currentTarget&&re()&&" "===e.key&&e.preventDefault(),b&&b(e),e.target===e.currentTarget&&re()&&"Enter"===e.key&&!l&&(e.preventDefault(),m&&m(e))})),ae=oH((e=>{d&&" "===e.key&&T.current&&z&&!e.defaultPrevented&&(ne.current=!1,T.current.stop(e,(()=>{T.current.pulsate(e)}))),w&&w(e),m&&e.target===e.currentTarget&&re()&&" "===e.key&&!e.defaultPrevented&&m(e)}));let ie=s;"button"===ie&&(N.href||N.to)&&(ie=f);const se={};"button"===ie?(se.type=void 0===O?"button":O,se.disabled=l):(N.href||N.to||(se.role="button"),l&&(se["aria-disabled"]=l));const le=aH(t,D,R),ce=zB({},r,{centerRipple:o,component:s,disabled:l,disableRipple:c,disableTouchRipple:u,focusRipple:d,tabIndex:C,focusVisible:z}),ue=(e=>{const{disabled:t,focusVisible:r,focusVisibleClassName:n,classes:o}=e,a=SH({root:["root",t&&"disabled",r&&"focusVisible"]},sY,o);return r&&n&&(a.root+=` ${n}`),a})(ce);return gP.jsxs(uY,zB({as:ie,className:xK(ue.root,i),ownerState:ce,onBlur:ee,onClick:m,onContextMenu:H,onFocus:te,onKeyDown:oe,onKeyUp:ae,onMouseDown:K,onMouseLeave:Y,onMouseUp:Q,onDragLeave:G,onTouchEnd:X,onTouchMove:Z,onTouchStart:J,ref:le,tabIndex:l?-1:C,type:O},se,N,{children:[a,W?gP.jsx(iY,zB({ref:A,center:o},P)):null]}))}));var fY=dY;const pY=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function mY(e){const t=[],r=[];return Array.from(e.querySelectorAll(pY)).forEach(((e,n)=>{const o=function(e){const t=parseInt(e.getAttribute("tabindex")||"",10);return Number.isNaN(t)?"true"===e.contentEditable||("AUDIO"===e.nodeName||"VIDEO"===e.nodeName||"DETAILS"===e.nodeName)&&null===e.getAttribute("tabindex")?0:e.tabIndex:t}(e);-1!==o&&function(e){return!(e.disabled||"INPUT"===e.tagName&&"hidden"===e.type||function(e){if("INPUT"!==e.tagName||"radio"!==e.type)return!1;if(!e.name)return!1;const t=t=>e.ownerDocument.querySelector(`input[type="radio"]${t}`);let r=t(`[name="${e.name}"]:checked`);return r||(r=t(`[name="${e.name}"]`)),r!==e}(e))}(e)&&(0===o?t.push(e):r.push({documentOrder:n,tabIndex:o,node:e}))})),r.sort(((e,t)=>e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex)).map((e=>e.node)).concat(t)}function hY(){return!0}function yY(e){const{children:t,disableAutoFocus:r=!1,disableEnforceFocus:n=!1,disableRestoreFocus:o=!1,getTabbable:a=mY,isEnabled:i=hY,open:s}=e,l=L.useRef(!1),c=L.useRef(null),u=L.useRef(null),d=L.useRef(null),f=L.useRef(null),p=L.useRef(!1),m=L.useRef(null),h=aH(t.ref,m),y=L.useRef(null);L.useEffect((()=>{s&&m.current&&(p.current=!r)}),[r,s]),L.useEffect((()=>{if(!s||!m.current)return;const e=JK(m.current);return m.current.contains(e.activeElement)||(m.current.hasAttribute("tabIndex")||m.current.setAttribute("tabIndex","-1"),p.current&&m.current.focus()),()=>{o||(d.current&&d.current.focus&&(l.current=!0,d.current.focus()),d.current=null)}}),[s]),L.useEffect((()=>{if(!s||!m.current)return;const e=JK(m.current),t=t=>{y.current=t,!n&&i()&&"Tab"===t.key&&e.activeElement===m.current&&t.shiftKey&&(l.current=!0,u.current&&u.current.focus())},r=()=>{const t=m.current;if(null===t)return;if(!e.hasFocus()||!i()||l.current)return void(l.current=!1);if(t.contains(e.activeElement))return;if(n&&e.activeElement!==c.current&&e.activeElement!==u.current)return;if(e.activeElement!==f.current)f.current=null;else if(null!==f.current)return;if(!p.current)return;let r=[];if(e.activeElement!==c.current&&e.activeElement!==u.current||(r=a(m.current)),r.length>0){var o,s;const e=Boolean((null==(o=y.current)?void 0:o.shiftKey)&&"Tab"===(null==(s=y.current)?void 0:s.key)),t=r[0],n=r[r.length-1];"string"!=typeof t&&"string"!=typeof n&&(e?n.focus():t.focus())}else t.focus()};e.addEventListener("focusin",r),e.addEventListener("keydown",t,!0);const o=setInterval((()=>{e.activeElement&&"BODY"===e.activeElement.tagName&&r()}),50);return()=>{clearInterval(o),e.removeEventListener("focusin",r),e.removeEventListener("keydown",t,!0)}}),[r,n,o,i,s,a]);const v=e=>{null===d.current&&(d.current=e.relatedTarget),p.current=!0};return gP.jsxs(L.Fragment,{children:[gP.jsx("div",{tabIndex:s?0:-1,onFocus:v,ref:c,"data-testid":"sentinelStart"}),L.cloneElement(t,{ref:h,onFocus:e=>{null===d.current&&(d.current=e.relatedTarget),p.current=!0,f.current=e.target;const r=t.props.onFocus;r&&r(e)}}),gP.jsx("div",{tabIndex:s?0:-1,onFocus:v,ref:u,"data-testid":"sentinelEnd"})]})}const vY=L.forwardRef((function(e,t){const{children:r,container:n,disablePortal:o=!1}=e,[a,i]=L.useState(null),s=aH(L.isValidElement(r)?r.ref:null,t);if(qK((()=>{o||i(function(e){return"function"==typeof e?e():e}(n)||document.body)}),[n,o]),qK((()=>{if(a&&!o)return ZK(t,a),()=>{ZK(t,null)}}),[t,a,o]),o){if(L.isValidElement(r)){const e={ref:s};return L.cloneElement(r,e)}return gP.jsx(L.Fragment,{children:r})}return gP.jsx(L.Fragment,{children:a?Yu.createPortal(r,a):a})}));function gY(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function bY(e){return parseInt(XK(e).getComputedStyle(e).paddingRight,10)||0}function wY(e,t,r,n,o){const a=[t,r,...n];[].forEach.call(e.children,(e=>{const t=-1===a.indexOf(e),r=!function(e){const t=-1!==["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].indexOf(e.tagName),r="INPUT"===e.tagName&&"hidden"===e.getAttribute("type");return t||r}(e);t&&r&&gY(e,o)}))}function SY(e,t){let r=-1;return e.some(((e,n)=>!!t(e)&&(r=n,!0))),r}function xY(e,t){const r=[],n=e.container;if(!t.disableScrollLock){if(function(e){const t=JK(e);return t.body===e?XK(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}(n)){const e=bH(JK(n));r.push({value:n.style.paddingRight,property:"padding-right",el:n}),n.style.paddingRight=`${bY(n)+e}px`;const t=JK(n).querySelectorAll(".mui-fixed");[].forEach.call(t,(t=>{r.push({value:t.style.paddingRight,property:"padding-right",el:t}),t.style.paddingRight=`${bY(t)+e}px`}))}let e;if(n.parentNode instanceof DocumentFragment)e=JK(n).body;else{const t=n.parentElement,r=XK(n);e="HTML"===(null==t?void 0:t.nodeName)&&"scroll"===r.getComputedStyle(t).overflowY?t:n}r.push({value:e.style.overflow,property:"overflow",el:e},{value:e.style.overflowX,property:"overflow-x",el:e},{value:e.style.overflowY,property:"overflow-y",el:e}),e.style.overflow="hidden"}return()=>{r.forEach((({value:e,el:t,property:r})=>{e?t.style.setProperty(r,e):t.style.removeProperty(r)}))}}const $Y=new class{constructor(){this.containers=void 0,this.modals=void 0,this.modals=[],this.containers=[]}add(e,t){let r=this.modals.indexOf(e);if(-1!==r)return r;r=this.modals.length,this.modals.push(e),e.modalRef&&gY(e.modalRef,!1);const n=function(e){const t=[];return[].forEach.call(e.children,(e=>{"true"===e.getAttribute("aria-hidden")&&t.push(e)})),t}(t);wY(t,e.mount,e.modalRef,n,!0);const o=SY(this.containers,(e=>e.container===t));return-1!==o?(this.containers[o].modals.push(e),r):(this.containers.push({modals:[e],container:t,restore:null,hiddenSiblings:n}),r)}mount(e,t){const r=SY(this.containers,(t=>-1!==t.modals.indexOf(e))),n=this.containers[r];n.restore||(n.restore=xY(n,t))}remove(e,t=!0){const r=this.modals.indexOf(e);if(-1===r)return r;const n=SY(this.containers,(t=>-1!==t.modals.indexOf(e))),o=this.containers[n];if(o.modals.splice(o.modals.indexOf(e),1),this.modals.splice(r,1),0===o.modals.length)o.restore&&o.restore(),e.modalRef&&gY(e.modalRef,t),wY(o.container,e.mount,e.modalRef,o.hiddenSiblings,!1),this.containers.splice(n,1);else{const e=o.modals[o.modals.length-1];e.modalRef&&gY(e.modalRef,!1)}return r}isTopModal(e){return this.modals.length>0&&this.modals[this.modals.length-1]===e}};function kY(e){const{container:t,disableEscapeKeyDown:r=!1,disableScrollLock:n=!1,manager:o=$Y,closeAfterTransition:a=!1,onTransitionEnter:i,onTransitionExited:s,children:l,onClose:c,open:u,rootRef:d}=e,f=L.useRef({}),p=L.useRef(null),m=L.useRef(null),h=aH(m,d),[y,v]=L.useState(!u),g=function(e){return!!e&&e.props.hasOwnProperty("in")}(l);let b=!0;"false"!==e["aria-hidden"]&&!1!==e["aria-hidden"]||(b=!1);const w=()=>(f.current.modalRef=m.current,f.current.mount=p.current,f.current),S=()=>{o.mount(w(),{disableScrollLock:n}),m.current&&(m.current.scrollTop=0)},x=oH((()=>{const e=function(e){return"function"==typeof e?e():e}(t)||JK(p.current).body;o.add(w(),e),m.current&&S()})),$=L.useCallback((()=>o.isTopModal(w())),[o]),k=oH((e=>{p.current=e,e&&(u&&$()?S():m.current&&gY(m.current,b))})),_=L.useCallback((()=>{o.remove(w(),b)}),[b,o]);L.useEffect((()=>()=>{_()}),[_]),L.useEffect((()=>{u?x():g&&a||_()}),[u,_,g,a,x]);const E=e=>t=>{var n;null==(n=e.onKeyDown)||n.call(e,t),"Escape"===t.key&&229!==t.which&&$()&&(r||(t.stopPropagation(),c&&c(t,"escapeKeyDown")))},C=e=>t=>{var r;null==(r=e.onClick)||r.call(e,t),t.target===t.currentTarget&&c&&c(t,"backdropClick")};return{getRootProps:(t={})=>{const r=UQ(e);delete r.onTransitionEnter,delete r.onTransitionExited;const n=zB({},r,t);return zB({role:"presentation"},n,{onKeyDown:E(n),ref:h})},getBackdropProps:(e={})=>zB({"aria-hidden":!0},e,{onClick:C(e),open:u}),getTransitionProps:()=>({onEnter:GK((()=>{v(!1),i&&i()}),null==l?void 0:l.props.onEnter),onExited:GK((()=>{v(!0),s&&s(),a&&_()}),null==l?void 0:l.props.onExited)}),rootRef:h,portalRef:k,isTopModal:$,exited:y,hasTransition:g}}function _Y(e,t){return e-t}function EY(e,t){var r;const{index:n}=null!=(r=e.reduce(((e,r,n)=>{const o=Math.abs(t-r);return null===e||o<e.distance||o===e.distance?{distance:o,index:n}:e}),null))?r:{};return n}function CY(e,t){if(void 0!==t.current&&e.changedTouches){const r=e;for(let e=0;e<r.changedTouches.length;e+=1){const n=r.changedTouches[e];if(n.identifier===t.current)return{x:n.clientX,y:n.clientY}}return!1}return{x:e.clientX,y:e.clientY}}function PY(e,t,r){return 100*(e-t)/(r-t)}function jY(e,t,r){const n=Math.round((e-r)/t)*t+r;return Number(n.toFixed(function(e){if(Math.abs(e)<1){const t=e.toExponential().split("e-"),r=t[0].split(".")[1];return(r?r.length:0)+parseInt(t[1],10)}const t=e.toString().split(".")[1];return t?t.length:0}(t)))}function OY({values:e,newValue:t,index:r}){const n=e.slice();return n[r]=t,n.sort(_Y)}function NY({sliderRef:e,activeIndex:t,setActive:r}){var n,o;const a=JK(e.current);var i;null!=(n=e.current)&&n.contains(a.activeElement)&&Number(null==a||null==(o=a.activeElement)?void 0:o.getAttribute("data-index"))===t||(null==(i=e.current)||i.querySelector(`[type="range"][data-index="${t}"]`).focus());r&&r(t)}function RY(e,t){return"number"==typeof e&&"number"==typeof t?e===t:"object"==typeof e&&"object"==typeof t&&function(e,t,r=((e,t)=>e===t)){return e.length===t.length&&e.every(((e,n)=>r(e,t[n])))}(e,t)}const TY={horizontal:{offset:e=>({left:`${e}%`}),leap:e=>({width:`${e}%`})},"horizontal-reverse":{offset:e=>({right:`${e}%`}),leap:e=>({width:`${e}%`})},vertical:{offset:e=>({bottom:`${e}%`}),leap:e=>({height:`${e}%`})}},AY=e=>e;let IY;function MY(){return void 0===IY&&(IY="undefined"==typeof CSS||"function"!=typeof CSS.supports||CSS.supports("touch-action","none")),IY}function FY(e){const{"aria-labelledby":t,defaultValue:r,disabled:n=!1,disableSwap:o=!1,isRtl:a=!1,marks:i=!1,max:s=100,min:l=0,name:c,onChange:u,onChangeCommitted:d,orientation:f="horizontal",rootRef:p,scale:m=AY,step:h=1,shiftStep:y=10,tabIndex:v,value:g}=e,b=L.useRef(),[w,S]=L.useState(-1),[x,$]=L.useState(-1),[k,_]=L.useState(!1),E=L.useRef(0),[C,P]=nH({controlled:g,default:null!=r?r:l,name:"Slider"}),j=u&&((e,t,r)=>{const n=e.nativeEvent||e,o=new n.constructor(n.type,n);Object.defineProperty(o,"target",{writable:!0,value:{value:t,name:c}}),u(o,t,r)}),O=Array.isArray(C);let N=O?C.slice().sort(_Y):[C];N=N.map((e=>null==e?l:KK(e,l,s)));const R=!0===i&&null!==h?[...Array(Math.floor((s-l)/h)+1)].map(((e,t)=>({value:l+h*t}))):i||[],T=R.map((e=>e.value)),{isFocusVisibleRef:A,onBlur:I,onFocus:M,ref:F}=gH(),[D,z]=L.useState(-1),V=L.useRef(),B=aH(F,V),U=aH(p,B),W=e=>t=>{var r;const n=Number(t.currentTarget.getAttribute("data-index"));M(t),!0===A.current&&z(n),$(n),null==e||null==(r=e.onFocus)||r.call(e,t)},q=e=>t=>{var r;I(t),!1===A.current&&z(-1),$(-1),null==e||null==(r=e.onBlur)||r.call(e,t)},K=(e,t)=>{const r=Number(e.currentTarget.getAttribute("data-index")),n=N[r],a=T.indexOf(n);let i=t;if(R&&null==h){const e=T[T.length-1];i=i>e?e:i<T[0]?T[0]:i<n?T[a-1]:T[a+1]}if(i=KK(i,l,s),O){o&&(i=KK(i,N[r-1]||-1/0,N[r+1]||1/0));const e=i;i=OY({values:N,newValue:i,index:r});let t=r;o||(t=i.indexOf(e)),NY({sliderRef:V,activeIndex:t})}P(i),z(r),j&&!RY(i,C)&&j(e,i,r),d&&d(e,i)},H=e=>t=>{var r;if(null!==h){const e=Number(t.currentTarget.getAttribute("data-index")),r=N[e];let n=null;("ArrowLeft"===t.key||"ArrowDown"===t.key)&&t.shiftKey||"PageDown"===t.key?n=Math.max(r-y,l):(("ArrowRight"===t.key||"ArrowUp"===t.key)&&t.shiftKey||"PageUp"===t.key)&&(n=Math.min(r+y,s)),null!==n&&(K(t,n),t.preventDefault())}null==e||null==(r=e.onKeyDown)||r.call(e,t)};qK((()=>{var e;n&&V.current.contains(document.activeElement)&&(null==(e=document.activeElement)||e.blur())}),[n]),n&&-1!==w&&S(-1),n&&-1!==D&&z(-1);const G=L.useRef();let Q=f;a&&"horizontal"===f&&(Q+="-reverse");const Y=({finger:e,move:t=!1})=>{const{current:r}=V,{width:n,height:a,bottom:i,left:c}=r.getBoundingClientRect();let u,d;if(u=0===Q.indexOf("vertical")?(i-e.y)/a:(e.x-c)/n,-1!==Q.indexOf("-reverse")&&(u=1-u),d=function(e,t,r){return(r-t)*e+t}(u,l,s),h)d=jY(d,h,l);else{const e=EY(T,d);d=T[e]}d=KK(d,l,s);let f=0;if(O){f=t?G.current:EY(N,d),o&&(d=KK(d,N[f-1]||-1/0,N[f+1]||1/0));const e=d;d=OY({values:N,newValue:d,index:f}),o&&t||(f=d.indexOf(e),G.current=f)}return{newValue:d,activeIndex:f}},J=oH((e=>{const t=CY(e,b);if(!t)return;if(E.current+=1,"mousemove"===e.type&&0===e.buttons)return void X(e);const{newValue:r,activeIndex:n}=Y({finger:t,move:!0});NY({sliderRef:V,activeIndex:n,setActive:S}),P(r),!k&&E.current>2&&_(!0),j&&!RY(r,C)&&j(e,r,n)})),X=oH((e=>{const t=CY(e,b);if(_(!1),!t)return;const{newValue:r}=Y({finger:t,move:!0});S(-1),"touchend"===e.type&&$(-1),d&&d(e,r),b.current=void 0,ee()})),Z=oH((e=>{if(n)return;MY()||e.preventDefault();const t=e.changedTouches[0];null!=t&&(b.current=t.identifier);const r=CY(e,b);if(!1!==r){const{newValue:t,activeIndex:n}=Y({finger:r});NY({sliderRef:V,activeIndex:n,setActive:S}),P(t),j&&!RY(t,C)&&j(e,t,n)}E.current=0;const o=JK(V.current);o.addEventListener("touchmove",J,{passive:!0}),o.addEventListener("touchend",X,{passive:!0})})),ee=L.useCallback((()=>{const e=JK(V.current);e.removeEventListener("mousemove",J),e.removeEventListener("mouseup",X),e.removeEventListener("touchmove",J),e.removeEventListener("touchend",X)}),[X,J]);L.useEffect((()=>{const{current:e}=V;return e.addEventListener("touchstart",Z,{passive:MY()}),()=>{e.removeEventListener("touchstart",Z),ee()}}),[ee,Z]),L.useEffect((()=>{n&&ee()}),[n,ee]);const te=PY(O?N[0]:l,l,s),re=PY(N[N.length-1],l,s)-te,ne=e=>t=>{var r;null==(r=e.onMouseLeave)||r.call(e,t),$(-1)};return{active:w,axis:Q,axisProps:TY,dragging:k,focusedThumbIndex:D,getHiddenInputProps:(r={})=>{var o;const i=UQ(r);var u;const d=zB({},i,{onChange:(u=i||{},e=>{var t;null==(t=u.onChange)||t.call(u,e),K(e,e.target.valueAsNumber)}),onFocus:W(i||{}),onBlur:q(i||{}),onKeyDown:H(i||{})});return zB({tabIndex:v,"aria-labelledby":t,"aria-orientation":f,"aria-valuemax":m(s),"aria-valuemin":m(l),name:c,type:"range",min:e.min,max:e.max,step:null===e.step&&e.marks?"any":null!=(o=e.step)?o:void 0,disabled:n},r,d,{style:zB({},wH,{direction:a?"rtl":"ltr",width:"100%",height:"100%"})})},getRootProps:(e={})=>{const t=UQ(e);var r;const o=zB({},t,{onMouseDown:(r=t||{},e=>{var t;if(null==(t=r.onMouseDown)||t.call(r,e),n)return;if(e.defaultPrevented)return;if(0!==e.button)return;e.preventDefault();const o=CY(e,b);if(!1!==o){const{newValue:t,activeIndex:r}=Y({finger:o});NY({sliderRef:V,activeIndex:r,setActive:S}),P(t),j&&!RY(t,C)&&j(e,t,r)}E.current=0;const a=JK(V.current);a.addEventListener("mousemove",J,{passive:!0}),a.addEventListener("mouseup",X)})});return zB({},e,{ref:U},o)},getThumbProps:(e={})=>{const t=UQ(e);var r;return zB({},e,t,{onMouseOver:(r=t||{},e=>{var t;null==(t=r.onMouseOver)||t.call(r,e);const n=Number(e.currentTarget.getAttribute("data-index"));$(n)}),onMouseLeave:ne(t||{})})},marks:R,open:x,range:O,rootRef:U,trackLeap:re,trackOffset:te,values:N,getThumbStyle:e=>({pointerEvents:-1!==w&&w!==e?"none":void 0})}}const DY=["onChange","maxRows","minRows","style","value"];function zY(e){return parseInt(e,10)||0}const LY={visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"};const VY=L.forwardRef((function(e,t){const{onChange:r,maxRows:n,minRows:o=1,style:a,value:i}=e,s=LB(e,DY),{current:l}=L.useRef(null!=i),c=L.useRef(null),u=aH(t,c),d=L.useRef(null),f=L.useCallback((()=>{const t=c.current,r=XK(t).getComputedStyle(t);if("0px"===r.width)return{outerHeightStyle:0,overflowing:!1};const a=d.current;a.style.width=r.width,a.value=t.value||e.placeholder||"x","\n"===a.value.slice(-1)&&(a.value+=" ");const i=r.boxSizing,s=zY(r.paddingBottom)+zY(r.paddingTop),l=zY(r.borderBottomWidth)+zY(r.borderTopWidth),u=a.scrollHeight;a.value="x";const f=a.scrollHeight;let p=u;o&&(p=Math.max(Number(o)*f,p)),n&&(p=Math.min(Number(n)*f,p)),p=Math.max(p,f);return{outerHeightStyle:p+("border-box"===i?s+l:0),overflowing:Math.abs(p-u)<=1}}),[n,o,e.placeholder]),p=L.useCallback((()=>{const e=f();if(null==(t=e)||0===Object.keys(t).length||0===t.outerHeightStyle&&!t.overflowing)return;var t;const r=c.current;r.style.height=`${e.outerHeightStyle}px`,r.style.overflow=e.overflowing?"hidden":""}),[f]);qK((()=>{const e=()=>{p()};const t=QK(e),r=c.current,n=XK(r);let o;return n.addEventListener("resize",t),"undefined"!=typeof ResizeObserver&&(o=new ResizeObserver(e),o.observe(r)),()=>{t.clear(),cancelAnimationFrame(undefined),n.removeEventListener("resize",t),o&&o.disconnect()}}),[f,p]),qK((()=>{p()}));return gP.jsxs(L.Fragment,{children:[gP.jsx("textarea",zB({value:i,onChange:e=>{l||p(),r&&r(e)},ref:u,rows:o},s)),gP.jsx("textarea",{"aria-hidden":!0,className:e.className,readOnly:!0,ref:d,tabIndex:-1,style:zB({},LY,a,{paddingTop:0,paddingBottom:0})})]})}));function BY(e){return _K("MuiIconButton",e)}var UY=EK("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge"]);const WY=["edge","children","className","color","disabled","disableFocusRipple","size"],qY=aQ(fY,{name:"MuiIconButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,"default"!==r.color&&t[`color${fq(r.color)}`],r.edge&&t[`edge${fq(r.edge)}`],t[`size${fq(r.size)}`]]}})((({theme:e,ownerState:t})=>zB({textAlign:"center",flex:"0 0 auto",fontSize:e.typography.pxToRem(24),padding:8,borderRadius:"50%",overflow:"visible",color:(e.vars||e).palette.action.active,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest})},!t.disableRipple&&{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:BH(e.palette.action.active,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"start"===t.edge&&{marginLeft:"small"===t.size?-3:-12},"end"===t.edge&&{marginRight:"small"===t.size?-3:-12})),(({theme:e,ownerState:t})=>{var r;const n=null==(r=(e.vars||e).palette)?void 0:r[t.color];return zB({},"inherit"===t.color&&{color:"inherit"},"inherit"!==t.color&&"default"!==t.color&&zB({color:null==n?void 0:n.main},!t.disableRipple&&{"&:hover":zB({},n&&{backgroundColor:e.vars?`rgba(${n.mainChannel} / ${e.vars.palette.action.hoverOpacity})`:BH(n.main,e.palette.action.hoverOpacity)},{"@media (hover: none)":{backgroundColor:"transparent"}})}),"small"===t.size&&{padding:5,fontSize:e.typography.pxToRem(18)},"large"===t.size&&{padding:12,fontSize:e.typography.pxToRem(28)},{[`&.${UY.disabled}`]:{backgroundColor:"transparent",color:(e.vars||e).palette.action.disabled}})})),KY=L.forwardRef((function(e,t){const r=EG({props:e,name:"MuiIconButton"}),{edge:n=!1,children:o,className:a,color:i="default",disabled:s=!1,disableFocusRipple:l=!1,size:c="medium"}=r,u=LB(r,WY),d=zB({},r,{edge:n,color:i,disabled:s,disableFocusRipple:l,size:c}),f=(e=>{const{classes:t,disabled:r,color:n,edge:o,size:a}=e;return SH({root:["root",r&&"disabled","default"!==n&&`color${fq(n)}`,o&&`edge${fq(o)}`,`size${fq(a)}`]},BY,t)})(d);return gP.jsx(qY,zB({className:xK(f.root,a),centerRipple:!0,focusRipple:!l,disabled:s,ref:t},u,{ownerState:d,children:o}))}));var HY=KY;function GY(e){return _K("MuiTypography",e)}EK("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);const QY=["align","className","component","gutterBottom","noWrap","paragraph","variant","variantMapping"],YY=aQ("span",{name:"MuiTypography",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.variant&&t[r.variant],"inherit"!==r.align&&t[`align${fq(r.align)}`],r.noWrap&&t.noWrap,r.gutterBottom&&t.gutterBottom,r.paragraph&&t.paragraph]}})((({theme:e,ownerState:t})=>zB({margin:0},"inherit"===t.variant&&{font:"inherit"},"inherit"!==t.variant&&e.typography[t.variant],"inherit"!==t.align&&{textAlign:t.align},t.noWrap&&{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},t.gutterBottom&&{marginBottom:"0.35em"},t.paragraph&&{marginBottom:16}))),JY={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},XY={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},ZY=L.forwardRef((function(e,t){const r=EG({props:e,name:"MuiTypography"}),n=(e=>XY[e]||e)(r.color),o=vK(zB({},r,{color:n})),{align:a="inherit",className:i,component:s,gutterBottom:l=!1,noWrap:c=!1,paragraph:u=!1,variant:d="body1",variantMapping:f=JY}=o,p=LB(o,QY),m=zB({},o,{align:a,color:n,className:i,component:s,gutterBottom:l,noWrap:c,paragraph:u,variant:d,variantMapping:f}),h=s||(u?"p":f[d]||JY[d])||"span",y=(e=>{const{align:t,gutterBottom:r,noWrap:n,paragraph:o,variant:a,classes:i}=e;return SH({root:["root",a,"inherit"!==e.align&&`align${fq(t)}`,r&&"gutterBottom",n&&"noWrap",o&&"paragraph"]},GY,i)})(m);return gP.jsx(YY,zB({as:h,ref:t,ownerState:m,className:xK(y.root,i)},p))}));var eJ=ZY;function tJ({props:e,states:t,muiFormControl:r}){return t.reduce(((t,n)=>(t[n]=e[n],r&&void 0===e[n]&&(t[n]=r[n]),t)),{})}var rJ=L.createContext(void 0);function nJ(){return L.useContext(rJ)}function oJ(e){return gP.jsx(mK,zB({},e,{defaultTheme:kG,themeId:DB}))}function aJ(e){return null!=e&&!(Array.isArray(e)&&0===e.length)}function iJ(e,t=!1){return e&&(aJ(e.value)&&""!==e.value||t&&aJ(e.defaultValue)&&""!==e.defaultValue)}function sJ(e){return _K("MuiInputBase",e)}var lJ=EK("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","readOnly","input","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel"]);const cJ=["aria-describedby","autoComplete","autoFocus","className","color","components","componentsProps","defaultValue","disabled","disableInjectingGlobalStyles","endAdornment","error","fullWidth","id","inputComponent","inputProps","inputRef","margin","maxRows","minRows","multiline","name","onBlur","onChange","onClick","onFocus","onKeyDown","onKeyUp","placeholder","readOnly","renderSuffix","rows","size","slotProps","slots","startAdornment","type","value"],uJ=(e,t)=>{const{ownerState:r}=e;return[t.root,r.formControl&&t.formControl,r.startAdornment&&t.adornedStart,r.endAdornment&&t.adornedEnd,r.error&&t.error,"small"===r.size&&t.sizeSmall,r.multiline&&t.multiline,r.color&&t[`color${fq(r.color)}`],r.fullWidth&&t.fullWidth,r.hiddenLabel&&t.hiddenLabel]},dJ=(e,t)=>{const{ownerState:r}=e;return[t.input,"small"===r.size&&t.inputSizeSmall,r.multiline&&t.inputMultiline,"search"===r.type&&t.inputTypeSearch,r.startAdornment&&t.inputAdornedStart,r.endAdornment&&t.inputAdornedEnd,r.hiddenLabel&&t.inputHiddenLabel]},fJ=aQ("div",{name:"MuiInputBase",slot:"Root",overridesResolver:uJ})((({theme:e,ownerState:t})=>zB({},e.typography.body1,{color:(e.vars||e).palette.text.primary,lineHeight:"1.4375em",boxSizing:"border-box",position:"relative",cursor:"text",display:"inline-flex",alignItems:"center",[`&.${lJ.disabled}`]:{color:(e.vars||e).palette.text.disabled,cursor:"default"}},t.multiline&&zB({padding:"4px 0 5px"},"small"===t.size&&{paddingTop:1}),t.fullWidth&&{width:"100%"}))),pJ=aQ("input",{name:"MuiInputBase",slot:"Input",overridesResolver:dJ})((({theme:e,ownerState:t})=>{const r="light"===e.palette.mode,n=zB({color:"currentColor"},e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:r?.42:.5},{transition:e.transitions.create("opacity",{duration:e.transitions.duration.shorter})}),o={opacity:"0 !important"},a=e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:r?.42:.5};return zB({font:"inherit",letterSpacing:"inherit",color:"currentColor",padding:"4px 0 5px",border:0,boxSizing:"content-box",background:"none",height:"1.4375em",margin:0,WebkitTapHighlightColor:"transparent",display:"block",minWidth:0,width:"100%",animationName:"mui-auto-fill-cancel",animationDuration:"10ms","&::-webkit-input-placeholder":n,"&::-moz-placeholder":n,"&:-ms-input-placeholder":n,"&::-ms-input-placeholder":n,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{WebkitAppearance:"none"},[`label[data-shrink=false] + .${lJ.formControl} &`]:{"&::-webkit-input-placeholder":o,"&::-moz-placeholder":o,"&:-ms-input-placeholder":o,"&::-ms-input-placeholder":o,"&:focus::-webkit-input-placeholder":a,"&:focus::-moz-placeholder":a,"&:focus:-ms-input-placeholder":a,"&:focus::-ms-input-placeholder":a},[`&.${lJ.disabled}`]:{opacity:1,WebkitTextFillColor:(e.vars||e).palette.text.disabled},"&:-webkit-autofill":{animationDuration:"5000s",animationName:"mui-auto-fill"}},"small"===t.size&&{paddingTop:1},t.multiline&&{height:"auto",resize:"none",padding:0,paddingTop:0},"search"===t.type&&{MozAppearance:"textfield"})})),mJ=gP.jsx(oJ,{styles:{"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}}),hJ=L.forwardRef((function(e,t){var r;const n=EG({props:e,name:"MuiInputBase"}),{"aria-describedby":o,autoComplete:a,autoFocus:i,className:s,components:l={},componentsProps:c={},defaultValue:u,disabled:d,disableInjectingGlobalStyles:f,endAdornment:p,fullWidth:m=!1,id:h,inputComponent:y="input",inputProps:v={},inputRef:g,maxRows:b,minRows:w,multiline:S=!1,name:x,onBlur:$,onChange:k,onClick:_,onFocus:E,onKeyDown:C,onKeyUp:P,placeholder:j,readOnly:O,renderSuffix:N,rows:R,slotProps:T={},slots:A={},startAdornment:I,type:M="text",value:F}=n,D=LB(n,cJ),z=null!=v.value?v.value:F,{current:V}=L.useRef(null!=z),B=L.useRef(),U=L.useCallback((e=>{}),[]),W=aH(B,g,v.ref,U),[q,K]=L.useState(!1),H=nJ(),G=tJ({props:n,muiFormControl:H,states:["color","disabled","error","hiddenLabel","size","required","filled"]});G.focused=H?H.focused:q,L.useEffect((()=>{!H&&d&&q&&(K(!1),$&&$())}),[H,d,q,$]);const Q=H&&H.onFilled,Y=H&&H.onEmpty,J=L.useCallback((e=>{iJ(e)?Q&&Q():Y&&Y()}),[Q,Y]);qK((()=>{V&&J({value:z})}),[z,J,V]);L.useEffect((()=>{J(B.current)}),[]);let X=y,Z=v;S&&"input"===X&&(Z=zB(R?{type:void 0,minRows:R,maxRows:R}:{type:void 0,maxRows:b,minRows:w},Z),X=VY);L.useEffect((()=>{H&&H.setAdornedStart(Boolean(I))}),[H,I]);const ee=zB({},n,{color:G.color||"primary",disabled:G.disabled,endAdornment:p,error:G.error,focused:G.focused,formControl:H,fullWidth:m,hiddenLabel:G.hiddenLabel,multiline:S,size:G.size,startAdornment:I,type:M}),te=(e=>{const{classes:t,color:r,disabled:n,error:o,endAdornment:a,focused:i,formControl:s,fullWidth:l,hiddenLabel:c,multiline:u,readOnly:d,size:f,startAdornment:p,type:m}=e;return SH({root:["root",`color${fq(r)}`,n&&"disabled",o&&"error",l&&"fullWidth",i&&"focused",s&&"formControl",f&&"medium"!==f&&`size${fq(f)}`,u&&"multiline",p&&"adornedStart",a&&"adornedEnd",c&&"hiddenLabel",d&&"readOnly"],input:["input",n&&"disabled","search"===m&&"inputTypeSearch",u&&"inputMultiline","small"===f&&"inputSizeSmall",c&&"inputHiddenLabel",p&&"inputAdornedStart",a&&"inputAdornedEnd",d&&"readOnly"]},sJ,t)})(ee),re=A.root||l.Root||fJ,ne=T.root||c.root||{},oe=A.input||l.Input||pJ;return Z=zB({},Z,null!=(r=T.input)?r:c.input),gP.jsxs(L.Fragment,{children:[!f&&mJ,gP.jsxs(re,zB({},ne,!BQ(re)&&{ownerState:zB({},ee,ne.ownerState)},{ref:t,onClick:e=>{B.current&&e.currentTarget===e.target&&B.current.focus(),_&&_(e)}},D,{className:xK(te.root,ne.className,s,O&&"MuiInputBase-readOnly"),children:[I,gP.jsx(rJ.Provider,{value:null,children:gP.jsx(oe,zB({ownerState:ee,"aria-invalid":G.error,"aria-describedby":o,autoComplete:a,autoFocus:i,defaultValue:u,disabled:G.disabled,id:h,onAnimationStart:e=>{J("mui-auto-fill-cancel"===e.animationName?B.current:{value:"x"})},name:x,placeholder:j,readOnly:O,required:G.required,rows:R,value:z,onKeyDown:C,onKeyUp:P,type:M},Z,!BQ(oe)&&{as:X,ownerState:zB({},ee,Z.ownerState)},{ref:W,className:xK(te.input,Z.className,O&&"MuiInputBase-readOnly"),onBlur:e=>{$&&$(e),v.onBlur&&v.onBlur(e),H&&H.onBlur?H.onBlur(e):K(!1)},onChange:(e,...t)=>{if(!V){const t=e.target||B.current;if(null==t)throw new Error(MB(1));J({value:t.value})}v.onChange&&v.onChange(e,...t),k&&k(e,...t)},onFocus:e=>{G.disabled?e.stopPropagation():(E&&E(e),v.onFocus&&v.onFocus(e),H&&H.onFocus?H.onFocus(e):K(!0))}}))}),p,N?N(zB({},G,{startAdornment:I})):null]}))]})}));var yJ=hJ;function vJ(e){return _K("MuiInput",e)}var gJ=zB({},lJ,EK("MuiInput",["root","underline","input"]));function bJ(e){return _K("MuiOutlinedInput",e)}var wJ=zB({},lJ,EK("MuiOutlinedInput",["root","notchedOutline","input"]));function SJ(e){return _K("MuiFilledInput",e)}var xJ=zB({},lJ,EK("MuiFilledInput",["root","underline","input"])),$J=mQ(gP.jsx("path",{d:"M7 10l5 5 5-5z"}),"ArrowDropDown");const kJ=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"],_J={entering:{opacity:1},entered:{opacity:1}},EJ=L.forwardRef((function(e,t){const r=_G(),n={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},{addEndListener:o,appear:a=!0,children:i,easing:s,in:l,onEnter:c,onEntered:u,onEntering:d,onExit:f,onExited:p,onExiting:m,style:h,timeout:y=n,TransitionComponent:v=PQ}=e,g=LB(e,kJ),b=L.useRef(null),w=aH(b,i.ref,t),S=e=>t=>{if(e){const r=b.current;void 0===t?e(r):e(r,t)}},x=S(d),$=S(((e,t)=>{IQ(e);const n=MQ({style:h,timeout:y,easing:s},{mode:"enter"});e.style.webkitTransition=r.transitions.create("opacity",n),e.style.transition=r.transitions.create("opacity",n),c&&c(e,t)})),k=S(u),_=S(m),E=S((e=>{const t=MQ({style:h,timeout:y,easing:s},{mode:"exit"});e.style.webkitTransition=r.transitions.create("opacity",t),e.style.transition=r.transitions.create("opacity",t),f&&f(e)})),C=S(p);return gP.jsx(v,zB({appear:a,in:l,nodeRef:b,onEnter:$,onEntered:k,onEntering:x,onExit:E,onExited:C,onExiting:_,addEndListener:e=>{o&&o(b.current,e)},timeout:y},g,{children:(e,t)=>L.cloneElement(i,zB({style:zB({opacity:0,visibility:"exited"!==e||l?void 0:"hidden"},_J[e],h,i.props.style),ref:w},t))}))}));var CJ=EJ;function PJ(e){return _K("MuiBackdrop",e)}EK("MuiBackdrop",["root","invisible"]);const jJ=["children","className","component","components","componentsProps","invisible","open","slotProps","slots","TransitionComponent","transitionDuration"],OJ=aQ("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.invisible&&t.invisible]}})((({ownerState:e})=>zB({position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent"},e.invisible&&{backgroundColor:"transparent"}))),NJ=L.forwardRef((function(e,t){var r,n,o;const a=EG({props:e,name:"MuiBackdrop"}),{children:i,className:s,component:l="div",components:c={},componentsProps:u={},invisible:d=!1,open:f,slotProps:p={},slots:m={},TransitionComponent:h=CJ,transitionDuration:y}=a,v=LB(a,jJ),g=zB({},a,{component:l,invisible:d}),b=(e=>{const{classes:t,invisible:r}=e;return SH({root:["root",r&&"invisible"]},PJ,t)})(g),w=null!=(r=p.root)?r:u.root;return gP.jsx(h,zB({in:f,timeout:y},v,{children:gP.jsx(OJ,zB({"aria-hidden":!0},w,{as:null!=(n=null!=(o=m.root)?o:c.Root)?n:l,className:xK(b.root,s,null==w?void 0:w.className),ownerState:zB({},g,null==w?void 0:w.ownerState),classes:b,ref:t,children:i}))}))}));var RJ=NJ;var TJ=EK("MuiBox",["root"]);const AJ=$G(),IJ=function(e={}){const{themeId:t,defaultTheme:r,defaultClassName:n="MuiBox-root",generateClassName:o}=e,a=GW("div",{shouldForwardProp:e=>"theme"!==e&&"sx"!==e&&"as"!==e})(iK),i=L.forwardRef((function(e,i){const s=pK(r),l=vK(e),{className:c,component:u="div"}=l,d=LB(l,$K);return gP.jsx(a,zB({as:u,ref:i,className:xK(c,o?o(n):n),theme:t&&s[t]||s},d))}));return i}({themeId:DB,defaultTheme:AJ,defaultClassName:TJ.root,generateClassName:wK.generate});var MJ=IJ;function FJ(e){return _K("MuiButton",e)}var DJ=EK("MuiButton",["root","text","textInherit","textPrimary","textSecondary","textSuccess","textError","textInfo","textWarning","outlined","outlinedInherit","outlinedPrimary","outlinedSecondary","outlinedSuccess","outlinedError","outlinedInfo","outlinedWarning","contained","containedInherit","containedPrimary","containedSecondary","containedSuccess","containedError","containedInfo","containedWarning","disableElevation","focusVisible","disabled","colorInherit","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","iconSizeSmall","iconSizeMedium","iconSizeLarge"]);var zJ=L.createContext({});var LJ=L.createContext(void 0);const VJ=["children","color","component","className","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"],BJ=e=>zB({},"small"===e.size&&{"& > *:nth-of-type(1)":{fontSize:18}},"medium"===e.size&&{"& > *:nth-of-type(1)":{fontSize:20}},"large"===e.size&&{"& > *:nth-of-type(1)":{fontSize:22}}),UJ=aQ(fY,{shouldForwardProp:e=>nQ(e)||"classes"===e,name:"MuiButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.variant],t[`${r.variant}${fq(r.color)}`],t[`size${fq(r.size)}`],t[`${r.variant}Size${fq(r.size)}`],"inherit"===r.color&&t.colorInherit,r.disableElevation&&t.disableElevation,r.fullWidth&&t.fullWidth]}})((({theme:e,ownerState:t})=>{var r,n;const o="light"===e.palette.mode?e.palette.grey[300]:e.palette.grey[800],a="light"===e.palette.mode?e.palette.grey.A100:e.palette.grey[700];return zB({},e.typography.button,{minWidth:64,padding:"6px 16px",borderRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create(["background-color","box-shadow","border-color","color"],{duration:e.transitions.duration.short}),"&:hover":zB({textDecoration:"none",backgroundColor:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:BH(e.palette.text.primary,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"text"===t.variant&&"inherit"!==t.color&&{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:BH(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"outlined"===t.variant&&"inherit"!==t.color&&{border:`1px solid ${(e.vars||e).palette[t.color].main}`,backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:BH(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"contained"===t.variant&&{backgroundColor:e.vars?e.vars.palette.Button.inheritContainedHoverBg:a,boxShadow:(e.vars||e).shadows[4],"@media (hover: none)":{boxShadow:(e.vars||e).shadows[2],backgroundColor:(e.vars||e).palette.grey[300]}},"contained"===t.variant&&"inherit"!==t.color&&{backgroundColor:(e.vars||e).palette[t.color].dark,"@media (hover: none)":{backgroundColor:(e.vars||e).palette[t.color].main}}),"&:active":zB({},"contained"===t.variant&&{boxShadow:(e.vars||e).shadows[8]}),[`&.${DJ.focusVisible}`]:zB({},"contained"===t.variant&&{boxShadow:(e.vars||e).shadows[6]}),[`&.${DJ.disabled}`]:zB({color:(e.vars||e).palette.action.disabled},"outlined"===t.variant&&{border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`},"contained"===t.variant&&{color:(e.vars||e).palette.action.disabled,boxShadow:(e.vars||e).shadows[0],backgroundColor:(e.vars||e).palette.action.disabledBackground})},"text"===t.variant&&{padding:"6px 8px"},"text"===t.variant&&"inherit"!==t.color&&{color:(e.vars||e).palette[t.color].main},"outlined"===t.variant&&{padding:"5px 15px",border:"1px solid currentColor"},"outlined"===t.variant&&"inherit"!==t.color&&{color:(e.vars||e).palette[t.color].main,border:e.vars?`1px solid rgba(${e.vars.palette[t.color].mainChannel} / 0.5)`:`1px solid ${BH(e.palette[t.color].main,.5)}`},"contained"===t.variant&&{color:e.vars?e.vars.palette.text.primary:null==(r=(n=e.palette).getContrastText)?void 0:r.call(n,e.palette.grey[300]),backgroundColor:e.vars?e.vars.palette.Button.inheritContainedBg:o,boxShadow:(e.vars||e).shadows[2]},"contained"===t.variant&&"inherit"!==t.color&&{color:(e.vars||e).palette[t.color].contrastText,backgroundColor:(e.vars||e).palette[t.color].main},"inherit"===t.color&&{color:"inherit",borderColor:"currentColor"},"small"===t.size&&"text"===t.variant&&{padding:"4px 5px",fontSize:e.typography.pxToRem(13)},"large"===t.size&&"text"===t.variant&&{padding:"8px 11px",fontSize:e.typography.pxToRem(15)},"small"===t.size&&"outlined"===t.variant&&{padding:"3px 9px",fontSize:e.typography.pxToRem(13)},"large"===t.size&&"outlined"===t.variant&&{padding:"7px 21px",fontSize:e.typography.pxToRem(15)},"small"===t.size&&"contained"===t.variant&&{padding:"4px 10px",fontSize:e.typography.pxToRem(13)},"large"===t.size&&"contained"===t.variant&&{padding:"8px 22px",fontSize:e.typography.pxToRem(15)},t.fullWidth&&{width:"100%"})}),(({ownerState:e})=>e.disableElevation&&{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${DJ.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${DJ.disabled}`]:{boxShadow:"none"}})),WJ=aQ("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.startIcon,t[`iconSize${fq(r.size)}`]]}})((({ownerState:e})=>zB({display:"inherit",marginRight:8,marginLeft:-4},"small"===e.size&&{marginLeft:-2},BJ(e)))),qJ=aQ("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.endIcon,t[`iconSize${fq(r.size)}`]]}})((({ownerState:e})=>zB({display:"inherit",marginRight:-4,marginLeft:8},"small"===e.size&&{marginRight:-2},BJ(e)))),KJ=L.forwardRef((function(e,t){const r=L.useContext(zJ),n=L.useContext(LJ),o=EG({props:UK(r,e),name:"MuiButton"}),{children:a,color:i="primary",component:s="button",className:l,disabled:c=!1,disableElevation:u=!1,disableFocusRipple:d=!1,endIcon:f,focusVisibleClassName:p,fullWidth:m=!1,size:h="medium",startIcon:y,type:v,variant:g="text"}=o,b=LB(o,VJ),w=zB({},o,{color:i,component:s,disabled:c,disableElevation:u,disableFocusRipple:d,fullWidth:m,size:h,type:v,variant:g}),S=(e=>{const{color:t,disableElevation:r,fullWidth:n,size:o,variant:a,classes:i}=e;return zB({},i,SH({root:["root",a,`${a}${fq(t)}`,`size${fq(o)}`,`${a}Size${fq(o)}`,"inherit"===t&&"colorInherit",r&&"disableElevation",n&&"fullWidth"],label:["label"],startIcon:["startIcon",`iconSize${fq(o)}`],endIcon:["endIcon",`iconSize${fq(o)}`]},FJ,i))})(w),x=y&&gP.jsx(WJ,{className:S.startIcon,ownerState:w,children:y}),$=f&&gP.jsx(qJ,{className:S.endIcon,ownerState:w,children:f}),k=n||"";return gP.jsxs(UJ,zB({ownerState:w,className:xK(r.className,S.root,l,k),component:s,disabled:c,focusRipple:!d,focusVisibleClassName:xK(S.focusVisible,p),ref:t,type:v},b,{classes:S,children:[x,a,$]}))}));var HJ=KJ;function GJ(e){return _K("PrivateSwitchBase",e)}EK("PrivateSwitchBase",["root","checked","disabled","input","edgeStart","edgeEnd"]);const QJ=["autoFocus","checked","checkedIcon","className","defaultChecked","disabled","disableFocusRipple","edge","icon","id","inputProps","inputRef","name","onBlur","onChange","onFocus","readOnly","required","tabIndex","type","value"],YJ=aQ(fY)((({ownerState:e})=>zB({padding:9,borderRadius:"50%"},"start"===e.edge&&{marginLeft:"small"===e.size?-3:-12},"end"===e.edge&&{marginRight:"small"===e.size?-3:-12}))),JJ=aQ("input",{shouldForwardProp:nQ})({cursor:"inherit",position:"absolute",opacity:0,width:"100%",height:"100%",top:0,left:0,margin:0,padding:0,zIndex:1}),XJ=L.forwardRef((function(e,t){const{autoFocus:r,checked:n,checkedIcon:o,className:a,defaultChecked:i,disabled:s,disableFocusRipple:l=!1,edge:c=!1,icon:u,id:d,inputProps:f,inputRef:p,name:m,onBlur:h,onChange:y,onFocus:v,readOnly:g,required:b=!1,tabIndex:w,type:S,value:x}=e,$=LB(e,QJ),[k,_]=nH({controlled:n,default:Boolean(i),name:"SwitchBase",state:"checked"}),E=nJ();let C=s;E&&void 0===C&&(C=E.disabled);const P="checkbox"===S||"radio"===S,j=zB({},e,{checked:k,disabled:C,disableFocusRipple:l,edge:c}),O=(e=>{const{classes:t,checked:r,disabled:n,edge:o}=e;return SH({root:["root",r&&"checked",n&&"disabled",o&&`edge${fq(o)}`],input:["input"]},GJ,t)})(j);return gP.jsxs(YJ,zB({component:"span",className:xK(O.root,a),centerRipple:!0,focusRipple:!l,disabled:C,tabIndex:null,role:void 0,onFocus:e=>{v&&v(e),E&&E.onFocus&&E.onFocus(e)},onBlur:e=>{h&&h(e),E&&E.onBlur&&E.onBlur(e)},ownerState:j,ref:t},$,{children:[gP.jsx(JJ,zB({autoFocus:r,checked:n,defaultChecked:i,className:O.input,disabled:C,id:P?d:void 0,name:m,onChange:e=>{if(e.nativeEvent.defaultPrevented)return;const t=e.target.checked;_(t),y&&y(e,t)},readOnly:g,ref:p,required:b,ownerState:j,tabIndex:w,type:S},"checkbox"===S&&void 0===x?{}:{value:x},f)),k?o:u]}))}));var ZJ=XJ,eX=mQ(gP.jsx("path",{d:"M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"}),"CheckBoxOutlineBlank"),tX=mQ(gP.jsx("path",{d:"M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"}),"CheckBox"),rX=mQ(gP.jsx("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 10H7v-2h10v2z"}),"IndeterminateCheckBox");function nX(e){return _K("MuiCheckbox",e)}var oX=EK("MuiCheckbox",["root","checked","disabled","indeterminate","colorPrimary","colorSecondary","sizeSmall","sizeMedium"]);const aX=["checkedIcon","color","icon","indeterminate","indeterminateIcon","inputProps","size","className"],iX=aQ(ZJ,{shouldForwardProp:e=>nQ(e)||"classes"===e,name:"MuiCheckbox",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.indeterminate&&t.indeterminate,t[`size${fq(r.size)}`],"default"!==r.color&&t[`color${fq(r.color)}`]]}})((({theme:e,ownerState:t})=>zB({color:(e.vars||e).palette.text.secondary},!t.disableRipple&&{"&:hover":{backgroundColor:e.vars?`rgba(${"default"===t.color?e.vars.palette.action.activeChannel:e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:BH("default"===t.color?e.palette.action.active:e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"default"!==t.color&&{[`&.${oX.checked}, &.${oX.indeterminate}`]:{color:(e.vars||e).palette[t.color].main},[`&.${oX.disabled}`]:{color:(e.vars||e).palette.action.disabled}}))),sX=gP.jsx(tX,{}),lX=gP.jsx(eX,{}),cX=gP.jsx(rX,{}),uX=L.forwardRef((function(e,t){var r,n;const o=EG({props:e,name:"MuiCheckbox"}),{checkedIcon:a=sX,color:i="primary",icon:s=lX,indeterminate:l=!1,indeterminateIcon:c=cX,inputProps:u,size:d="medium",className:f}=o,p=LB(o,aX),m=l?c:s,h=l?c:a,y=zB({},o,{color:i,indeterminate:l,size:d}),v=(e=>{const{classes:t,indeterminate:r,color:n,size:o}=e;return zB({},t,SH({root:["root",r&&"indeterminate",`color${fq(n)}`,`size${fq(o)}`]},nX,t))})(y);return gP.jsx(iX,zB({type:"checkbox",inputProps:zB({"data-indeterminate":l},u),icon:L.cloneElement(m,{fontSize:null!=(r=m.props.fontSize)?r:d}),checkedIcon:L.cloneElement(h,{fontSize:null!=(n=h.props.fontSize)?n:d}),ownerState:y,ref:t,className:xK(v.root,f)},p,{classes:v}))}));var dX=uX;function fX(e){return _K("MuiModal",e)}EK("MuiModal",["root","hidden","backdrop"]);const pX=["BackdropComponent","BackdropProps","classes","className","closeAfterTransition","children","container","component","components","componentsProps","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","onBackdropClick","onClose","onTransitionEnter","onTransitionExited","open","slotProps","slots","theme"],mX=aQ("div",{name:"MuiModal",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,!r.open&&r.exited&&t.hidden]}})((({theme:e,ownerState:t})=>zB({position:"fixed",zIndex:(e.vars||e).zIndex.modal,right:0,bottom:0,top:0,left:0},!t.open&&t.exited&&{visibility:"hidden"}))),hX=aQ(RJ,{name:"MuiModal",slot:"Backdrop",overridesResolver:(e,t)=>t.backdrop})({zIndex:-1}),yX=L.forwardRef((function(e,t){var r,n,o,a,i,s;const l=EG({name:"MuiModal",props:e}),{BackdropComponent:c=hX,BackdropProps:u,className:d,closeAfterTransition:f=!1,children:p,container:m,component:h,components:y={},componentsProps:v={},disableAutoFocus:g=!1,disableEnforceFocus:b=!1,disableEscapeKeyDown:w=!1,disablePortal:S=!1,disableRestoreFocus:x=!1,disableScrollLock:$=!1,hideBackdrop:k=!1,keepMounted:_=!1,onBackdropClick:E,open:C,slotProps:P,slots:j}=l,O=LB(l,pX),N=zB({},l,{closeAfterTransition:f,disableAutoFocus:g,disableEnforceFocus:b,disableEscapeKeyDown:w,disablePortal:S,disableRestoreFocus:x,disableScrollLock:$,hideBackdrop:k,keepMounted:_}),{getRootProps:R,getBackdropProps:T,getTransitionProps:A,portalRef:I,isTopModal:M,exited:F,hasTransition:D}=kY(zB({},N,{rootRef:t})),z=zB({},N,{exited:F}),V=(e=>{const{open:t,exited:r,classes:n}=e;return SH({root:["root",!t&&r&&"hidden"],backdrop:["backdrop"]},fX,n)})(z),B={};if(void 0===p.props.tabIndex&&(B.tabIndex="-1"),D){const{onEnter:e,onExited:t}=A();B.onEnter=e,B.onExited=t}const U=null!=(r=null!=(n=null==j?void 0:j.root)?n:y.Root)?r:mX,W=null!=(o=null!=(a=null==j?void 0:j.backdrop)?a:y.Backdrop)?o:c,q=null!=(i=null==P?void 0:P.root)?i:v.root,K=null!=(s=null==P?void 0:P.backdrop)?s:v.backdrop,H=KQ({elementType:U,externalSlotProps:q,externalForwardedProps:O,getSlotProps:R,additionalProps:{ref:t,as:h},ownerState:z,className:xK(d,null==q?void 0:q.className,null==V?void 0:V.root,!z.open&&z.exited&&(null==V?void 0:V.hidden))}),G=KQ({elementType:W,externalSlotProps:K,additionalProps:u,getSlotProps:e=>T(zB({},e,{onClick:t=>{E&&E(t),null!=e&&e.onClick&&e.onClick(t)}})),className:xK(null==K?void 0:K.className,null==u?void 0:u.className,null==V?void 0:V.backdrop),ownerState:z});return _||C||D&&!F?gP.jsx(vY,{ref:I,container:m,disablePortal:S,children:gP.jsxs(U,zB({},H,{children:[!k&&c?gP.jsx(W,zB({},G)):null,gP.jsx(yY,{disableEnforceFocus:b,disableAutoFocus:g,disableRestoreFocus:x,isEnabled:M,open:C,children:L.cloneElement(p,B)})]}))}):null}));var vX=yX;function gX(e){return _K("MuiDivider",e)}var bX=EK("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]);const wX=["absolute","children","className","component","flexItem","light","orientation","role","textAlign","variant"],SX=aQ("div",{name:"MuiDivider",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.absolute&&t.absolute,t[r.variant],r.light&&t.light,"vertical"===r.orientation&&t.vertical,r.flexItem&&t.flexItem,r.children&&t.withChildren,r.children&&"vertical"===r.orientation&&t.withChildrenVertical,"right"===r.textAlign&&"vertical"!==r.orientation&&t.textAlignRight,"left"===r.textAlign&&"vertical"!==r.orientation&&t.textAlignLeft]}})((({theme:e,ownerState:t})=>zB({margin:0,flexShrink:0,borderWidth:0,borderStyle:"solid",borderColor:(e.vars||e).palette.divider,borderBottomWidth:"thin"},t.absolute&&{position:"absolute",bottom:0,left:0,width:"100%"},t.light&&{borderColor:e.vars?`rgba(${e.vars.palette.dividerChannel} / 0.08)`:BH(e.palette.divider,.08)},"inset"===t.variant&&{marginLeft:72},"middle"===t.variant&&"horizontal"===t.orientation&&{marginLeft:e.spacing(2),marginRight:e.spacing(2)},"middle"===t.variant&&"vertical"===t.orientation&&{marginTop:e.spacing(1),marginBottom:e.spacing(1)},"vertical"===t.orientation&&{height:"100%",borderBottomWidth:0,borderRightWidth:"thin"},t.flexItem&&{alignSelf:"stretch",height:"auto"})),(({ownerState:e})=>zB({},e.children&&{display:"flex",whiteSpace:"nowrap",textAlign:"center",border:0,"&::before, &::after":{content:'""',alignSelf:"center"}})),(({theme:e,ownerState:t})=>zB({},t.children&&"vertical"!==t.orientation&&{"&::before, &::after":{width:"100%",borderTop:`thin solid ${(e.vars||e).palette.divider}`}})),(({theme:e,ownerState:t})=>zB({},t.children&&"vertical"===t.orientation&&{flexDirection:"column","&::before, &::after":{height:"100%",borderLeft:`thin solid ${(e.vars||e).palette.divider}`}})),(({ownerState:e})=>zB({},"right"===e.textAlign&&"vertical"!==e.orientation&&{"&::before":{width:"90%"},"&::after":{width:"10%"}},"left"===e.textAlign&&"vertical"!==e.orientation&&{"&::before":{width:"10%"},"&::after":{width:"90%"}}))),xX=aQ("span",{name:"MuiDivider",slot:"Wrapper",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.wrapper,"vertical"===r.orientation&&t.wrapperVertical]}})((({theme:e,ownerState:t})=>zB({display:"inline-block",paddingLeft:`calc(${e.spacing(1)} * 1.2)`,paddingRight:`calc(${e.spacing(1)} * 1.2)`},"vertical"===t.orientation&&{paddingTop:`calc(${e.spacing(1)} * 1.2)`,paddingBottom:`calc(${e.spacing(1)} * 1.2)`}))),$X=L.forwardRef((function(e,t){const r=EG({props:e,name:"MuiDivider"}),{absolute:n=!1,children:o,className:a,component:i=(o?"div":"hr"),flexItem:s=!1,light:l=!1,orientation:c="horizontal",role:u=("hr"!==i?"separator":void 0),textAlign:d="center",variant:f="fullWidth"}=r,p=LB(r,wX),m=zB({},r,{absolute:n,component:i,flexItem:s,light:l,orientation:c,role:u,textAlign:d,variant:f}),h=(e=>{const{absolute:t,children:r,classes:n,flexItem:o,light:a,orientation:i,textAlign:s,variant:l}=e;return SH({root:["root",t&&"absolute",l,a&&"light","vertical"===i&&"vertical",o&&"flexItem",r&&"withChildren",r&&"vertical"===i&&"withChildrenVertical","right"===s&&"vertical"!==i&&"textAlignRight","left"===s&&"vertical"!==i&&"textAlignLeft"],wrapper:["wrapper","vertical"===i&&"wrapperVertical"]},gX,n)})(m);return gP.jsx(SX,zB({as:i,className:xK(h.root,a),role:u,ref:t,ownerState:m},p,{children:o?gP.jsx(xX,{className:h.wrapper,ownerState:m,children:o}):null}))}));$X.muiSkipListHighlight=!0;var kX=$X;const _X=["disableUnderline","components","componentsProps","fullWidth","hiddenLabel","inputComponent","multiline","slotProps","slots","type"],EX=aQ(fJ,{shouldForwardProp:e=>nQ(e)||"classes"===e,name:"MuiFilledInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[...uJ(e,t),!r.disableUnderline&&t.underline]}})((({theme:e,ownerState:t})=>{var r;const n="light"===e.palette.mode,o=n?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)",a=n?"rgba(0, 0, 0, 0.06)":"rgba(255, 255, 255, 0.09)",i=n?"rgba(0, 0, 0, 0.09)":"rgba(255, 255, 255, 0.13)",s=n?"rgba(0, 0, 0, 0.12)":"rgba(255, 255, 255, 0.12)";return zB({position:"relative",backgroundColor:e.vars?e.vars.palette.FilledInput.bg:a,borderTopLeftRadius:(e.vars||e).shape.borderRadius,borderTopRightRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),"&:hover":{backgroundColor:e.vars?e.vars.palette.FilledInput.hoverBg:i,"@media (hover: none)":{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:a}},[`&.${xJ.focused}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:a},[`&.${xJ.disabled}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.disabledBg:s}},!t.disableUnderline&&{"&::after":{borderBottom:`2px solid ${null==(r=(e.vars||e).palette[t.color||"primary"])?void 0:r.main}`,left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${xJ.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${xJ.error}`]:{"&::before, &::after":{borderBottomColor:(e.vars||e).palette.error.main}},"&::before":{borderBottom:`1px solid ${e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / ${e.vars.opacity.inputUnderline})`:o}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${xJ.disabled}, .${xJ.error}):before`]:{borderBottom:`1px solid ${(e.vars||e).palette.text.primary}`},[`&.${xJ.disabled}:before`]:{borderBottomStyle:"dotted"}},t.startAdornment&&{paddingLeft:12},t.endAdornment&&{paddingRight:12},t.multiline&&zB({padding:"25px 12px 8px"},"small"===t.size&&{paddingTop:21,paddingBottom:4},t.hiddenLabel&&{paddingTop:16,paddingBottom:17},t.hiddenLabel&&"small"===t.size&&{paddingTop:8,paddingBottom:9}))})),CX=aQ(pJ,{name:"MuiFilledInput",slot:"Input",overridesResolver:dJ})((({theme:e,ownerState:t})=>zB({paddingTop:25,paddingRight:12,paddingBottom:8,paddingLeft:12},!e.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:"light"===e.palette.mode?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:"light"===e.palette.mode?null:"#fff",caretColor:"light"===e.palette.mode?null:"#fff",borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"}},e.vars&&{"&:-webkit-autofill":{borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"},[e.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},"small"===t.size&&{paddingTop:21,paddingBottom:4},t.hiddenLabel&&{paddingTop:16,paddingBottom:17},t.startAdornment&&{paddingLeft:0},t.endAdornment&&{paddingRight:0},t.hiddenLabel&&"small"===t.size&&{paddingTop:8,paddingBottom:9},t.multiline&&{paddingTop:0,paddingBottom:0,paddingLeft:0,paddingRight:0}))),PX=L.forwardRef((function(e,t){var r,n,o,a;const i=EG({props:e,name:"MuiFilledInput"}),{components:s={},componentsProps:l,fullWidth:c=!1,inputComponent:u="input",multiline:d=!1,slotProps:f,slots:p={},type:m="text"}=i,h=LB(i,_X),y=zB({},i,{fullWidth:c,inputComponent:u,multiline:d,type:m}),v=(e=>{const{classes:t,disableUnderline:r}=e;return zB({},t,SH({root:["root",!r&&"underline"],input:["input"]},SJ,t))})(i),g={root:{ownerState:y},input:{ownerState:y}},b=(null!=f?f:l)?ZW(g,null!=f?f:l):g,w=null!=(r=null!=(n=p.root)?n:s.Root)?r:EX,S=null!=(o=null!=(a=p.input)?a:s.Input)?o:CX;return gP.jsx(yJ,zB({slots:{root:w,input:S},componentsProps:b,fullWidth:c,inputComponent:u,multiline:d,ref:t,type:m},h,{classes:v}))}));PX.muiName="Input";var jX=PX;function OX(e){return _K("MuiFormControl",e)}EK("MuiFormControl",["root","marginNone","marginNormal","marginDense","fullWidth","disabled"]);const NX=["children","className","color","component","disabled","error","focused","fullWidth","hiddenLabel","margin","required","size","variant"],RX=aQ("div",{name:"MuiFormControl",slot:"Root",overridesResolver:({ownerState:e},t)=>zB({},t.root,t[`margin${fq(e.margin)}`],e.fullWidth&&t.fullWidth)})((({ownerState:e})=>zB({display:"inline-flex",flexDirection:"column",position:"relative",minWidth:0,padding:0,margin:0,border:0,verticalAlign:"top"},"normal"===e.margin&&{marginTop:16,marginBottom:8},"dense"===e.margin&&{marginTop:8,marginBottom:4},e.fullWidth&&{width:"100%"}))),TX=L.forwardRef((function(e,t){const r=EG({props:e,name:"MuiFormControl"}),{children:n,className:o,color:a="primary",component:i="div",disabled:s=!1,error:l=!1,focused:c,fullWidth:u=!1,hiddenLabel:d=!1,margin:f="none",required:p=!1,size:m="medium",variant:h="outlined"}=r,y=LB(r,NX),v=zB({},r,{color:a,component:i,disabled:s,error:l,fullWidth:u,hiddenLabel:d,margin:f,required:p,size:m,variant:h}),g=(e=>{const{classes:t,margin:r,fullWidth:n}=e;return SH({root:["root","none"!==r&&`margin${fq(r)}`,n&&"fullWidth"]},OX,t)})(v),[b,w]=L.useState((()=>{let e=!1;return n&&L.Children.forEach(n,(t=>{if(!YK(t,["Input","Select"]))return;const r=YK(t,["Select"])?t.props.input:t;r&&r.props.startAdornment&&(e=!0)})),e})),[S,x]=L.useState((()=>{let e=!1;return n&&L.Children.forEach(n,(t=>{YK(t,["Input","Select"])&&(iJ(t.props,!0)||iJ(t.props.inputProps,!0))&&(e=!0)})),e})),[$,k]=L.useState(!1);s&&$&&k(!1);const _=void 0===c||s?$:c;let E;const C=L.useMemo((()=>({adornedStart:b,setAdornedStart:w,color:a,disabled:s,error:l,filled:S,focused:_,fullWidth:u,hiddenLabel:d,size:m,onBlur:()=>{k(!1)},onEmpty:()=>{x(!1)},onFilled:()=>{x(!0)},onFocus:()=>{k(!0)},registerEffect:E,required:p,variant:h})),[b,a,s,l,S,_,u,d,E,p,m,h]);return gP.jsx(rJ.Provider,{value:C,children:gP.jsx(RX,zB({as:i,ownerState:v,className:xK(g.root,o),ref:t},y,{children:n}))})}));var AX=TX;const IX=function(e={}){const{createStyledComponent:t=NH,useThemeProps:r=RH,componentName:n="MuiStack"}=e,o=t(AH),a=L.forwardRef((function(e,t){const a=vK(r(e)),{component:i="div",direction:s="column",spacing:l=0,divider:c,children:u,className:d,useFlexGap:f=!1}=a,p=LB(a,jH),m={direction:s,spacing:l,useFlexGap:f},h=SH({root:["root"]},(e=>_K(n,e)),{});return gP.jsx(o,zB({as:i,ownerState:m,ref:t,className:xK(h.root,d)},p,{children:c?TH(u,c):u}))}));return a}({createStyledComponent:aQ("div",{name:"MuiStack",slot:"Root",overridesResolver:(e,t)=>t.root}),useThemeProps:e=>EG({props:e,name:"MuiStack"})});var MX=IX;function FX(e){return _K("MuiFormControlLabel",e)}var DX=EK("MuiFormControlLabel",["root","labelPlacementStart","labelPlacementTop","labelPlacementBottom","disabled","label","error","required","asterisk"]);const zX=["checked","className","componentsProps","control","disabled","disableTypography","inputRef","label","labelPlacement","name","onChange","required","slotProps","value"],LX=aQ("label",{name:"MuiFormControlLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[{[`& .${DX.label}`]:t.label},t.root,t[`labelPlacement${fq(r.labelPlacement)}`]]}})((({theme:e,ownerState:t})=>zB({display:"inline-flex",alignItems:"center",cursor:"pointer",verticalAlign:"middle",WebkitTapHighlightColor:"transparent",marginLeft:-11,marginRight:16,[`&.${DX.disabled}`]:{cursor:"default"}},"start"===t.labelPlacement&&{flexDirection:"row-reverse",marginLeft:16,marginRight:-11},"top"===t.labelPlacement&&{flexDirection:"column-reverse",marginLeft:16},"bottom"===t.labelPlacement&&{flexDirection:"column",marginLeft:16},{[`& .${DX.label}`]:{[`&.${DX.disabled}`]:{color:(e.vars||e).palette.text.disabled}}}))),VX=aQ("span",{name:"MuiFormControlLabel",slot:"Asterisk",overridesResolver:(e,t)=>t.asterisk})((({theme:e})=>({[`&.${DX.error}`]:{color:(e.vars||e).palette.error.main}}))),BX=L.forwardRef((function(e,t){var r,n;const o=EG({props:e,name:"MuiFormControlLabel"}),{className:a,componentsProps:i={},control:s,disabled:l,disableTypography:c,label:u,labelPlacement:d="end",required:f,slotProps:p={}}=o,m=LB(o,zX),h=nJ(),y=null!=(r=null!=l?l:s.props.disabled)?r:null==h?void 0:h.disabled,v=null!=f?f:s.props.required,g={disabled:y,required:v};["checked","name","onChange","value","inputRef"].forEach((e=>{void 0===s.props[e]&&void 0!==o[e]&&(g[e]=o[e])}));const b=tJ({props:o,muiFormControl:h,states:["error"]}),w=zB({},o,{disabled:y,labelPlacement:d,required:v,error:b.error}),S=(e=>{const{classes:t,disabled:r,labelPlacement:n,error:o,required:a}=e;return SH({root:["root",r&&"disabled",`labelPlacement${fq(n)}`,o&&"error",a&&"required"],label:["label",r&&"disabled"],asterisk:["asterisk",o&&"error"]},FX,t)})(w),x=null!=(n=p.typography)?n:i.typography;let $=u;return null==$||$.type===eJ||c||($=gP.jsx(eJ,zB({component:"span"},x,{className:xK(S.label,null==x?void 0:x.className),children:$}))),gP.jsxs(LX,zB({className:xK(S.root,a),ownerState:w,ref:t},m,{children:[L.cloneElement(s,g),v?gP.jsxs(MX,{display:"block",children:[$,gP.jsxs(VX,{ownerState:w,"aria-hidden":!0,className:S.asterisk,children:[" ","*"]})]}):$]}))}));var UX=BX;function WX(e){return _K("MuiFormGroup",e)}EK("MuiFormGroup",["root","row","error"]);const qX=["className","row"],KX=aQ("div",{name:"MuiFormGroup",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.row&&t.row]}})((({ownerState:e})=>zB({display:"flex",flexDirection:"column",flexWrap:"wrap"},e.row&&{flexDirection:"row"}))),HX=L.forwardRef((function(e,t){const r=EG({props:e,name:"MuiFormGroup"}),{className:n,row:o=!1}=r,a=LB(r,qX),i=zB({},r,{row:o,error:tJ({props:r,muiFormControl:nJ(),states:["error"]}).error}),s=(e=>{const{classes:t,row:r,error:n}=e;return SH({root:["root",r&&"row",n&&"error"]},WX,t)})(i);return gP.jsx(KX,zB({className:xK(s.root,n),ownerState:i,ref:t},a))}));var GX=HX;function QX(e){return _K("MuiFormHelperText",e)}var YX,JX=EK("MuiFormHelperText",["root","error","disabled","sizeSmall","sizeMedium","contained","focused","filled","required"]);const XX=["children","className","component","disabled","error","filled","focused","margin","required","variant"],ZX=aQ("p",{name:"MuiFormHelperText",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.size&&t[`size${fq(r.size)}`],r.contained&&t.contained,r.filled&&t.filled]}})((({theme:e,ownerState:t})=>zB({color:(e.vars||e).palette.text.secondary},e.typography.caption,{textAlign:"left",marginTop:3,marginRight:0,marginBottom:0,marginLeft:0,[`&.${JX.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${JX.error}`]:{color:(e.vars||e).palette.error.main}},"small"===t.size&&{marginTop:4},t.contained&&{marginLeft:14,marginRight:14}))),eZ=L.forwardRef((function(e,t){const r=EG({props:e,name:"MuiFormHelperText"}),{children:n,className:o,component:a="p"}=r,i=LB(r,XX),s=tJ({props:r,muiFormControl:nJ(),states:["variant","size","disabled","error","filled","focused","required"]}),l=zB({},r,{component:a,contained:"filled"===s.variant||"outlined"===s.variant,variant:s.variant,size:s.size,disabled:s.disabled,error:s.error,filled:s.filled,focused:s.focused,required:s.required}),c=(e=>{const{classes:t,contained:r,size:n,disabled:o,error:a,filled:i,focused:s,required:l}=e;return SH({root:["root",o&&"disabled",a&&"error",n&&`size${fq(n)}`,r&&"contained",s&&"focused",i&&"filled",l&&"required"]},QX,t)})(l);return gP.jsx(ZX,zB({as:a,ownerState:l,className:xK(c.root,o),ref:t},i,{children:" "===n?YX||(YX=gP.jsx("span",{className:"notranslate",children:""})):n}))}));var tZ=eZ;function rZ(e){return _K("MuiFormLabel",e)}var nZ=EK("MuiFormLabel",["root","colorSecondary","focused","disabled","error","filled","required","asterisk"]);const oZ=["children","className","color","component","disabled","error","filled","focused","required"],aZ=aQ("label",{name:"MuiFormLabel",slot:"Root",overridesResolver:({ownerState:e},t)=>zB({},t.root,"secondary"===e.color&&t.colorSecondary,e.filled&&t.filled)})((({theme:e,ownerState:t})=>zB({color:(e.vars||e).palette.text.secondary},e.typography.body1,{lineHeight:"1.4375em",padding:0,position:"relative",[`&.${nZ.focused}`]:{color:(e.vars||e).palette[t.color].main},[`&.${nZ.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${nZ.error}`]:{color:(e.vars||e).palette.error.main}}))),iZ=aQ("span",{name:"MuiFormLabel",slot:"Asterisk",overridesResolver:(e,t)=>t.asterisk})((({theme:e})=>({[`&.${nZ.error}`]:{color:(e.vars||e).palette.error.main}}))),sZ=L.forwardRef((function(e,t){const r=EG({props:e,name:"MuiFormLabel"}),{children:n,className:o,component:a="label"}=r,i=LB(r,oZ),s=tJ({props:r,muiFormControl:nJ(),states:["color","required","focused","disabled","error","filled"]}),l=zB({},r,{color:s.color||"primary",component:a,disabled:s.disabled,error:s.error,filled:s.filled,focused:s.focused,required:s.required}),c=(e=>{const{classes:t,color:r,focused:n,disabled:o,error:a,filled:i,required:s}=e;return SH({root:["root",`color${fq(r)}`,o&&"disabled",a&&"error",i&&"filled",n&&"focused",s&&"required"],asterisk:["asterisk",a&&"error"]},rZ,t)})(l);return gP.jsxs(aZ,zB({as:a,ownerState:l,className:xK(c.root,o),ref:t},i,{children:[n,s.required&&gP.jsxs(iZ,{ownerState:l,"aria-hidden":!0,className:c.asterisk,children:[" ","*"]})]}))}));var lZ=sZ;var cZ=L.createContext();function uZ(e){return _K("MuiGrid",e)}const dZ=["auto",!0,1,2,3,4,5,6,7,8,9,10,11,12];var fZ=EK("MuiGrid",["root","container","item","zeroMinWidth",...[0,1,2,3,4,5,6,7,8,9,10].map((e=>`spacing-xs-${e}`)),...["column-reverse","column","row-reverse","row"].map((e=>`direction-xs-${e}`)),...["nowrap","wrap-reverse","wrap"].map((e=>`wrap-xs-${e}`)),...dZ.map((e=>`grid-xs-${e}`)),...dZ.map((e=>`grid-sm-${e}`)),...dZ.map((e=>`grid-md-${e}`)),...dZ.map((e=>`grid-lg-${e}`)),...dZ.map((e=>`grid-xl-${e}`))]);const pZ=["className","columns","columnSpacing","component","container","direction","item","rowSpacing","spacing","wrap","zeroMinWidth"];function mZ(e){const t=parseFloat(e);return`${t}${String(e).replace(String(t),"")||"px"}`}function hZ({breakpoints:e,values:t}){let r="";Object.keys(t).forEach((e=>{""===r&&0!==t[e]&&(r=e)}));const n=Object.keys(e).sort(((t,r)=>e[t]-e[r]));return n.slice(0,n.indexOf(r))}const yZ=aQ("div",{name:"MuiGrid",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e,{container:n,direction:o,item:a,spacing:i,wrap:s,zeroMinWidth:l,breakpoints:c}=r;let u=[];n&&(u=function(e,t,r={}){if(!e||e<=0)return[];if("string"==typeof e&&!Number.isNaN(Number(e))||"number"==typeof e)return[r[`spacing-xs-${String(e)}`]];const n=[];return t.forEach((t=>{const o=e[t];Number(o)>0&&n.push(r[`spacing-${t}-${String(o)}`])})),n}(i,c,t));const d=[];return c.forEach((e=>{const n=r[e];n&&d.push(t[`grid-${e}-${String(n)}`])})),[t.root,n&&t.container,a&&t.item,l&&t.zeroMinWidth,...u,"row"!==o&&t[`direction-xs-${String(o)}`],"wrap"!==s&&t[`wrap-xs-${String(s)}`],...d]}})((({ownerState:e})=>zB({boxSizing:"border-box"},e.container&&{display:"flex",flexWrap:"wrap",width:"100%"},e.item&&{margin:0},e.zeroMinWidth&&{minWidth:0},"wrap"!==e.wrap&&{flexWrap:e.wrap})),(function({theme:e,ownerState:t}){return lq({theme:e},dq({values:t.direction,breakpoints:e.breakpoints.values}),(e=>{const t={flexDirection:e};return 0===e.indexOf("column")&&(t[`& > .${fZ.item}`]={maxWidth:"none"}),t}))}),(function({theme:e,ownerState:t}){const{container:r,rowSpacing:n}=t;let o={};if(r&&0!==n){const t=dq({values:n,breakpoints:e.breakpoints.values});let r;"object"==typeof t&&(r=hZ({breakpoints:e.breakpoints.values,values:t})),o=lq({theme:e},t,((t,n)=>{var o;const a=e.spacing(t);return"0px"!==a?{marginTop:`-${mZ(a)}`,[`& > .${fZ.item}`]:{paddingTop:mZ(a)}}:null!=(o=r)&&o.includes(n)?{}:{marginTop:0,[`& > .${fZ.item}`]:{paddingTop:0}}}))}return o}),(function({theme:e,ownerState:t}){const{container:r,columnSpacing:n}=t;let o={};if(r&&0!==n){const t=dq({values:n,breakpoints:e.breakpoints.values});let r;"object"==typeof t&&(r=hZ({breakpoints:e.breakpoints.values,values:t})),o=lq({theme:e},t,((t,n)=>{var o;const a=e.spacing(t);return"0px"!==a?{width:`calc(100% + ${mZ(a)})`,marginLeft:`-${mZ(a)}`,[`& > .${fZ.item}`]:{paddingLeft:mZ(a)}}:null!=(o=r)&&o.includes(n)?{}:{width:"100%",marginLeft:0,[`& > .${fZ.item}`]:{paddingLeft:0}}}))}return o}),(function({theme:e,ownerState:t}){let r;return e.breakpoints.keys.reduce(((n,o)=>{let a={};if(t[o]&&(r=t[o]),!r)return n;if(!0===r)a={flexBasis:0,flexGrow:1,maxWidth:"100%"};else if("auto"===r)a={flexBasis:"auto",flexGrow:0,flexShrink:0,maxWidth:"none",width:"auto"};else{const i=dq({values:t.columns,breakpoints:e.breakpoints.values}),s="object"==typeof i?i[o]:i;if(null==s)return n;const l=Math.round(r/s*1e8)/1e6+"%";let c={};if(t.container&&t.item&&0!==t.columnSpacing){const r=e.spacing(t.columnSpacing);if("0px"!==r){const e=`calc(${l} + ${mZ(r)})`;c={flexBasis:e,maxWidth:e}}}a=zB({flexBasis:l,flexGrow:0,maxWidth:l},c)}return 0===e.breakpoints.values[o]?Object.assign(n,a):n[e.breakpoints.up(o)]=a,n}),{})}));const vZ=e=>{const{classes:t,container:r,direction:n,item:o,spacing:a,wrap:i,zeroMinWidth:s,breakpoints:l}=e;let c=[];r&&(c=function(e,t){if(!e||e<=0)return[];if("string"==typeof e&&!Number.isNaN(Number(e))||"number"==typeof e)return[`spacing-xs-${String(e)}`];const r=[];return t.forEach((t=>{const n=e[t];if(Number(n)>0){const e=`spacing-${t}-${String(n)}`;r.push(e)}})),r}(a,l));const u=[];l.forEach((t=>{const r=e[t];r&&u.push(`grid-${t}-${String(r)}`)}));return SH({root:["root",r&&"container",o&&"item",s&&"zeroMinWidth",...c,"row"!==n&&`direction-xs-${String(n)}`,"wrap"!==i&&`wrap-xs-${String(i)}`,...u]},uZ,t)},gZ=L.forwardRef((function(e,t){const r=EG({props:e,name:"MuiGrid"}),{breakpoints:n}=_G(),o=vK(r),{className:a,columns:i,columnSpacing:s,component:l="div",container:c=!1,direction:u="row",item:d=!1,rowSpacing:f,spacing:p=0,wrap:m="wrap",zeroMinWidth:h=!1}=o,y=LB(o,pZ),v=f||p,g=s||p,b=L.useContext(cZ),w=c?i||12:b,S={},x=zB({},y);n.keys.forEach((e=>{null!=y[e]&&(S[e]=y[e],delete x[e])}));const $=zB({},o,{columns:w,container:c,direction:u,item:d,rowSpacing:v,columnSpacing:g,wrap:m,zeroMinWidth:h,spacing:p},S,{breakpoints:n.keys}),k=vZ($);return gP.jsx(cZ.Provider,{value:w,children:gP.jsx(yZ,zB({ownerState:$,className:xK(k.root,a),as:l,ref:t},x))})}));var bZ=gZ;const wZ=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function SZ(e){return`scale(${e}, ${e**2})`}const xZ={entering:{opacity:1,transform:SZ(1)},entered:{opacity:1,transform:"none"}},$Z="undefined"!=typeof navigator&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),kZ=L.forwardRef((function(e,t){const{addEndListener:r,appear:n=!0,children:o,easing:a,in:i,onEnter:s,onEntered:l,onEntering:c,onExit:u,onExited:d,onExiting:f,style:p,timeout:m="auto",TransitionComponent:h=PQ}=e,y=LB(e,wZ),v=cH(),g=L.useRef(),b=_G(),w=L.useRef(null),S=aH(w,o.ref,t),x=e=>t=>{if(e){const r=w.current;void 0===t?e(r):e(r,t)}},$=x(c),k=x(((e,t)=>{IQ(e);const{duration:r,delay:n,easing:o}=MQ({style:p,timeout:m,easing:a},{mode:"enter"});let i;"auto"===m?(i=b.transitions.getAutoHeightDuration(e.clientHeight),g.current=i):i=r,e.style.transition=[b.transitions.create("opacity",{duration:i,delay:n}),b.transitions.create("transform",{duration:$Z?i:.666*i,delay:n,easing:o})].join(","),s&&s(e,t)})),_=x(l),E=x(f),C=x((e=>{const{duration:t,delay:r,easing:n}=MQ({style:p,timeout:m,easing:a},{mode:"exit"});let o;"auto"===m?(o=b.transitions.getAutoHeightDuration(e.clientHeight),g.current=o):o=t,e.style.transition=[b.transitions.create("opacity",{duration:o,delay:r}),b.transitions.create("transform",{duration:$Z?o:.666*o,delay:$Z?r:r||.333*o,easing:n})].join(","),e.style.opacity=0,e.style.transform=SZ(.75),u&&u(e)})),P=x(d);return gP.jsx(h,zB({appear:n,in:i,nodeRef:w,onEnter:k,onEntered:_,onEntering:$,onExit:C,onExited:P,onExiting:E,addEndListener:e=>{"auto"===m&&v.start(g.current||0,e),r&&r(w.current,e)},timeout:"auto"===m?null:m},y,{children:(e,t)=>L.cloneElement(o,zB({style:zB({opacity:0,transform:SZ(.75),visibility:"exited"!==e||i?void 0:"hidden"},xZ[e],p,o.props.style),ref:S},t))}))}));kZ.muiSupportAuto=!0;var _Z=kZ;const EZ=["disableUnderline","components","componentsProps","fullWidth","inputComponent","multiline","slotProps","slots","type"],CZ=aQ(fJ,{shouldForwardProp:e=>nQ(e)||"classes"===e,name:"MuiInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[...uJ(e,t),!r.disableUnderline&&t.underline]}})((({theme:e,ownerState:t})=>{let r="light"===e.palette.mode?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)";return e.vars&&(r=`rgba(${e.vars.palette.common.onBackgroundChannel} / ${e.vars.opacity.inputUnderline})`),zB({position:"relative"},t.formControl&&{"label + &":{marginTop:16}},!t.disableUnderline&&{"&::after":{borderBottom:`2px solid ${(e.vars||e).palette[t.color].main}`,left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${gJ.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${gJ.error}`]:{"&::before, &::after":{borderBottomColor:(e.vars||e).palette.error.main}},"&::before":{borderBottom:`1px solid ${r}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${gJ.disabled}, .${gJ.error}):before`]:{borderBottom:`2px solid ${(e.vars||e).palette.text.primary}`,"@media (hover: none)":{borderBottom:`1px solid ${r}`}},[`&.${gJ.disabled}:before`]:{borderBottomStyle:"dotted"}})})),PZ=aQ(pJ,{name:"MuiInput",slot:"Input",overridesResolver:dJ})({}),jZ=L.forwardRef((function(e,t){var r,n,o,a;const i=EG({props:e,name:"MuiInput"}),{disableUnderline:s,components:l={},componentsProps:c,fullWidth:u=!1,inputComponent:d="input",multiline:f=!1,slotProps:p,slots:m={},type:h="text"}=i,y=LB(i,EZ),v=(e=>{const{classes:t,disableUnderline:r}=e;return zB({},t,SH({root:["root",!r&&"underline"],input:["input"]},vJ,t))})(i),g={root:{ownerState:{disableUnderline:s}}},b=(null!=p?p:c)?ZW(null!=p?p:c,g):g,w=null!=(r=null!=(n=m.root)?n:l.Root)?r:CZ,S=null!=(o=null!=(a=m.input)?a:l.Input)?o:PZ;return gP.jsx(yJ,zB({slots:{root:w,input:S},slotProps:b,fullWidth:u,inputComponent:d,multiline:f,ref:t,type:h},y,{classes:v}))}));jZ.muiName="Input";var OZ=jZ;function NZ(e){return _K("MuiInputLabel",e)}EK("MuiInputLabel",["root","focused","disabled","error","required","asterisk","formControl","sizeSmall","shrink","animated","standard","filled","outlined"]);const RZ=["disableAnimation","margin","shrink","variant","className"],TZ=aQ(lZ,{shouldForwardProp:e=>nQ(e)||"classes"===e,name:"MuiInputLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[{[`& .${nZ.asterisk}`]:t.asterisk},t.root,r.formControl&&t.formControl,"small"===r.size&&t.sizeSmall,r.shrink&&t.shrink,!r.disableAnimation&&t.animated,r.focused&&t.focused,t[r.variant]]}})((({theme:e,ownerState:t})=>zB({display:"block",transformOrigin:"top left",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",maxWidth:"100%"},t.formControl&&{position:"absolute",left:0,top:0,transform:"translate(0, 20px) scale(1)"},"small"===t.size&&{transform:"translate(0, 17px) scale(1)"},t.shrink&&{transform:"translate(0, -1.5px) scale(0.75)",transformOrigin:"top left",maxWidth:"133%"},!t.disableAnimation&&{transition:e.transitions.create(["color","transform","max-width"],{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut})},"filled"===t.variant&&zB({zIndex:1,pointerEvents:"none",transform:"translate(12px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"},"small"===t.size&&{transform:"translate(12px, 13px) scale(1)"},t.shrink&&zB({userSelect:"none",pointerEvents:"auto",transform:"translate(12px, 7px) scale(0.75)",maxWidth:"calc(133% - 24px)"},"small"===t.size&&{transform:"translate(12px, 4px) scale(0.75)"})),"outlined"===t.variant&&zB({zIndex:1,pointerEvents:"none",transform:"translate(14px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"},"small"===t.size&&{transform:"translate(14px, 9px) scale(1)"},t.shrink&&{userSelect:"none",pointerEvents:"auto",maxWidth:"calc(133% - 32px)",transform:"translate(14px, -9px) scale(0.75)"})))),AZ=L.forwardRef((function(e,t){const r=EG({name:"MuiInputLabel",props:e}),{disableAnimation:n=!1,shrink:o,className:a}=r,i=LB(r,RZ),s=nJ();let l=o;void 0===l&&s&&(l=s.filled||s.focused||s.adornedStart);const c=tJ({props:r,muiFormControl:s,states:["size","variant","required","focused"]}),u=zB({},r,{disableAnimation:n,formControl:s,shrink:l,size:c.size,variant:c.variant,required:c.required,focused:c.focused}),d=(e=>{const{classes:t,formControl:r,size:n,shrink:o,disableAnimation:a,variant:i,required:s}=e;return zB({},t,SH({root:["root",r&&"formControl",!a&&"animated",o&&"shrink",n&&"normal"!==n&&`size${fq(n)}`,i],asterisk:[s&&"asterisk"]},NZ,t))})(u);return gP.jsx(TZ,zB({"data-shrink":l,ownerState:u,ref:t,className:xK(d.root,a)},i,{classes:d}))}));var IZ=AZ;var MZ=L.createContext({});function FZ(e){return _K("MuiList",e)}EK("MuiList",["root","padding","dense","subheader"]);const DZ=["children","className","component","dense","disablePadding","subheader"],zZ=aQ("ul",{name:"MuiList",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,!r.disablePadding&&t.padding,r.dense&&t.dense,r.subheader&&t.subheader]}})((({ownerState:e})=>zB({listStyle:"none",margin:0,padding:0,position:"relative"},!e.disablePadding&&{paddingTop:8,paddingBottom:8},e.subheader&&{paddingTop:0}))),LZ=L.forwardRef((function(e,t){const r=EG({props:e,name:"MuiList"}),{children:n,className:o,component:a="ul",dense:i=!1,disablePadding:s=!1,subheader:l}=r,c=LB(r,DZ),u=L.useMemo((()=>({dense:i})),[i]),d=zB({},r,{component:a,dense:i,disablePadding:s}),f=(e=>{const{classes:t,disablePadding:r,dense:n,subheader:o}=e;return SH({root:["root",!r&&"padding",n&&"dense",o&&"subheader"]},FZ,t)})(d);return gP.jsx(MZ.Provider,{value:u,children:gP.jsxs(zZ,zB({as:a,className:xK(f.root,o),ref:t,ownerState:d},c,{children:[l,n]}))})}));var VZ=LZ;function BZ(e){return _K("MuiListItem",e)}var UZ=EK("MuiListItem",["root","container","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","padding","button","secondaryAction","selected"]);var WZ=EK("MuiListItemButton",["root","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","selected"]);function qZ(e){return _K("MuiListItemSecondaryAction",e)}EK("MuiListItemSecondaryAction",["root","disableGutters"]);const KZ=["className"],HZ=aQ("div",{name:"MuiListItemSecondaryAction",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.disableGutters&&t.disableGutters]}})((({ownerState:e})=>zB({position:"absolute",right:16,top:"50%",transform:"translateY(-50%)"},e.disableGutters&&{right:0}))),GZ=L.forwardRef((function(e,t){const r=EG({props:e,name:"MuiListItemSecondaryAction"}),{className:n}=r,o=LB(r,KZ),a=zB({},r,{disableGutters:L.useContext(MZ).disableGutters}),i=(e=>{const{disableGutters:t,classes:r}=e;return SH({root:["root",t&&"disableGutters"]},qZ,r)})(a);return gP.jsx(HZ,zB({className:xK(i.root,n),ownerState:a,ref:t},o))}));GZ.muiName="ListItemSecondaryAction";var QZ=GZ;const YZ=["className"],JZ=["alignItems","autoFocus","button","children","className","component","components","componentsProps","ContainerComponent","ContainerProps","dense","disabled","disableGutters","disablePadding","divider","focusVisibleClassName","secondaryAction","selected","slotProps","slots"],XZ=aQ("div",{name:"MuiListItem",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.dense&&t.dense,"flex-start"===r.alignItems&&t.alignItemsFlexStart,r.divider&&t.divider,!r.disableGutters&&t.gutters,!r.disablePadding&&t.padding,r.button&&t.button,r.hasSecondaryAction&&t.secondaryAction]}})((({theme:e,ownerState:t})=>zB({display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",width:"100%",boxSizing:"border-box",textAlign:"left"},!t.disablePadding&&zB({paddingTop:8,paddingBottom:8},t.dense&&{paddingTop:4,paddingBottom:4},!t.disableGutters&&{paddingLeft:16,paddingRight:16},!!t.secondaryAction&&{paddingRight:48}),!!t.secondaryAction&&{[`& > .${WZ.root}`]:{paddingRight:48}},{[`&.${UZ.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${UZ.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:BH(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${UZ.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:BH(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${UZ.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity}},"flex-start"===t.alignItems&&{alignItems:"flex-start"},t.divider&&{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"},t.button&&{transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${UZ.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:BH(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:BH(e.palette.primary.main,e.palette.action.selectedOpacity)}}},t.hasSecondaryAction&&{paddingRight:48}))),ZZ=aQ("li",{name:"MuiListItem",slot:"Container",overridesResolver:(e,t)=>t.container})({position:"relative"}),e0=L.forwardRef((function(e,t){const r=EG({props:e,name:"MuiListItem"}),{alignItems:n="center",autoFocus:o=!1,button:a=!1,children:i,className:s,component:l,components:c={},componentsProps:u={},ContainerComponent:d="li",ContainerProps:{className:f}={},dense:p=!1,disabled:m=!1,disableGutters:h=!1,disablePadding:y=!1,divider:v=!1,focusVisibleClassName:g,secondaryAction:b,selected:w=!1,slotProps:S={},slots:x={}}=r,$=LB(r.ContainerProps,YZ),k=LB(r,JZ),_=L.useContext(MZ),E=L.useMemo((()=>({dense:p||_.dense||!1,alignItems:n,disableGutters:h})),[n,_.dense,p,h]),C=L.useRef(null);qK((()=>{o&&C.current&&C.current.focus()}),[o]);const P=L.Children.toArray(i),j=P.length&&YK(P[P.length-1],["ListItemSecondaryAction"]),O=zB({},r,{alignItems:n,autoFocus:o,button:a,dense:E.dense,disabled:m,disableGutters:h,disablePadding:y,divider:v,hasSecondaryAction:j,selected:w}),N=(e=>{const{alignItems:t,button:r,classes:n,dense:o,disabled:a,disableGutters:i,disablePadding:s,divider:l,hasSecondaryAction:c,selected:u}=e;return SH({root:["root",o&&"dense",!i&&"gutters",!s&&"padding",l&&"divider",a&&"disabled",r&&"button","flex-start"===t&&"alignItemsFlexStart",c&&"secondaryAction",u&&"selected"],container:["container"]},BZ,n)})(O),R=aH(C,t),T=x.root||c.Root||XZ,A=S.root||u.root||{},I=zB({className:xK(N.root,A.className,s),disabled:m},k);let M=l||"li";return a&&(I.component=l||"div",I.focusVisibleClassName=xK(UZ.focusVisible,g),M=fY),j?(M=I.component||l?M:"div","li"===d&&("li"===M?M="div":"li"===I.component&&(I.component="div")),gP.jsx(MZ.Provider,{value:E,children:gP.jsxs(ZZ,zB({as:d,className:xK(N.container,f),ref:R,ownerState:O},$,{children:[gP.jsx(T,zB({},A,!BQ(T)&&{as:M,ownerState:zB({},O,A.ownerState)},I,{children:P})),P.pop()]}))})):gP.jsx(MZ.Provider,{value:E,children:gP.jsxs(T,zB({},A,{as:M,ref:R},!BQ(T)&&{ownerState:zB({},O,A.ownerState)},I,{children:[P,b&&gP.jsx(QZ,{children:b})]}))})}));var t0=e0;function r0(e){return _K("MuiListItemIcon",e)}var n0=EK("MuiListItemIcon",["root","alignItemsFlexStart"]);const o0=["className"],a0=aQ("div",{name:"MuiListItemIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,"flex-start"===r.alignItems&&t.alignItemsFlexStart]}})((({theme:e,ownerState:t})=>zB({minWidth:56,color:(e.vars||e).palette.action.active,flexShrink:0,display:"inline-flex"},"flex-start"===t.alignItems&&{marginTop:8}))),i0=L.forwardRef((function(e,t){const r=EG({props:e,name:"MuiListItemIcon"}),{className:n}=r,o=LB(r,o0),a=zB({},r,{alignItems:L.useContext(MZ).alignItems}),i=(e=>{const{alignItems:t,classes:r}=e;return SH({root:["root","flex-start"===t&&"alignItemsFlexStart"]},r0,r)})(a);return gP.jsx(a0,zB({className:xK(i.root,n),ownerState:a,ref:t},o))}));var s0=i0;function l0(e){return _K("MuiListItemText",e)}var c0=EK("MuiListItemText",["root","multiline","dense","inset","primary","secondary"]);const u0=["children","className","disableTypography","inset","primary","primaryTypographyProps","secondary","secondaryTypographyProps"],d0=aQ("div",{name:"MuiListItemText",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[{[`& .${c0.primary}`]:t.primary},{[`& .${c0.secondary}`]:t.secondary},t.root,r.inset&&t.inset,r.primary&&r.secondary&&t.multiline,r.dense&&t.dense]}})((({ownerState:e})=>zB({flex:"1 1 auto",minWidth:0,marginTop:4,marginBottom:4},e.primary&&e.secondary&&{marginTop:6,marginBottom:6},e.inset&&{paddingLeft:56}))),f0=L.forwardRef((function(e,t){const r=EG({props:e,name:"MuiListItemText"}),{children:n,className:o,disableTypography:a=!1,inset:i=!1,primary:s,primaryTypographyProps:l,secondary:c,secondaryTypographyProps:u}=r,d=LB(r,u0),{dense:f}=L.useContext(MZ);let p=null!=s?s:n,m=c;const h=zB({},r,{disableTypography:a,inset:i,primary:!!p,secondary:!!m,dense:f}),y=(e=>{const{classes:t,inset:r,primary:n,secondary:o,dense:a}=e;return SH({root:["root",r&&"inset",a&&"dense",n&&o&&"multiline"],primary:["primary"],secondary:["secondary"]},l0,t)})(h);return null==p||p.type===eJ||a||(p=gP.jsx(eJ,zB({variant:f?"body2":"body1",className:y.primary,component:null!=l&&l.variant?void 0:"span",display:"block"},l,{children:p}))),null==m||m.type===eJ||a||(m=gP.jsx(eJ,zB({variant:"body2",className:y.secondary,color:"text.secondary",display:"block"},u,{children:m}))),gP.jsxs(d0,zB({className:xK(y.root,o),ownerState:h,ref:t},d,{children:[p,m]}))}));var p0=f0;const m0=["actions","autoFocus","autoFocusItem","children","className","disabledItemsFocusable","disableListWrap","onKeyDown","variant"];function h0(e,t,r){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:r?null:e.firstChild}function y0(e,t,r){return e===t?r?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:r?null:e.lastChild}function v0(e,t){if(void 0===t)return!0;let r=e.innerText;return void 0===r&&(r=e.textContent),r=r.trim().toLowerCase(),0!==r.length&&(t.repeating?r[0]===t.keys[0]:0===r.indexOf(t.keys.join("")))}function g0(e,t,r,n,o,a){let i=!1,s=o(e,t,!!t&&r);for(;s;){if(s===e.firstChild){if(i)return!1;i=!0}const t=!n&&(s.disabled||"true"===s.getAttribute("aria-disabled"));if(s.hasAttribute("tabindex")&&v0(s,a)&&!t)return s.focus(),!0;s=o(e,s,r)}return!1}const b0=L.forwardRef((function(e,t){const{actions:r,autoFocus:n=!1,autoFocusItem:o=!1,children:a,className:i,disabledItemsFocusable:s=!1,disableListWrap:l=!1,onKeyDown:c,variant:u="selectedMenu"}=e,d=LB(e,m0),f=L.useRef(null),p=L.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});qK((()=>{n&&f.current.focus()}),[n]),L.useImperativeHandle(r,(()=>({adjustStyleForScrollbar:(e,t)=>{const r=!f.current.style.width;if(e.clientHeight<f.current.clientHeight&&r){const r=`${bH(JK(e))}px`;f.current.style["rtl"===t.direction?"paddingLeft":"paddingRight"]=r,f.current.style.width=`calc(100% + ${r})`}return f.current}})),[]);const m=aH(f,t);let h=-1;L.Children.forEach(a,((e,t)=>{L.isValidElement(e)?(e.props.disabled||("selectedMenu"===u&&e.props.selected||-1===h)&&(h=t),h===t&&(e.props.disabled||e.props.muiSkipListHighlight||e.type.muiSkipListHighlight)&&(h+=1,h>=a.length&&(h=-1))):h===t&&(h+=1,h>=a.length&&(h=-1))}));const y=L.Children.map(a,((e,t)=>{if(t===h){const t={};return o&&(t.autoFocus=!0),void 0===e.props.tabIndex&&"selectedMenu"===u&&(t.tabIndex=0),L.cloneElement(e,t)}return e}));return gP.jsx(VZ,zB({role:"menu",ref:m,className:i,onKeyDown:e=>{const t=f.current,r=e.key,n=JK(t).activeElement;if("ArrowDown"===r)e.preventDefault(),g0(t,n,l,s,h0);else if("ArrowUp"===r)e.preventDefault(),g0(t,n,l,s,y0);else if("Home"===r)e.preventDefault(),g0(t,null,l,s,h0);else if("End"===r)e.preventDefault(),g0(t,null,l,s,y0);else if(1===r.length){const o=p.current,a=r.toLowerCase(),i=performance.now();o.keys.length>0&&(i-o.lastTime>500?(o.keys=[],o.repeating=!0,o.previousKeyMatched=!0):o.repeating&&a!==o.keys[0]&&(o.repeating=!1)),o.lastTime=i,o.keys.push(a);const l=n&&!o.repeating&&v0(n,o);o.previousKeyMatched&&(l||g0(t,n,!1,s,h0,o))?e.preventDefault():o.previousKeyMatched=!1}c&&c(e)},tabIndex:n?0:-1},d,{children:y}))}));var w0=b0;function S0(e){return _K("MuiPopover",e)}EK("MuiPopover",["root","paper"]);const x0=["onEntering"],$0=["action","anchorEl","anchorOrigin","anchorPosition","anchorReference","children","className","container","elevation","marginThreshold","open","PaperProps","slots","slotProps","transformOrigin","TransitionComponent","transitionDuration","TransitionProps","disableScrollLock"],k0=["slotProps"];function _0(e,t){let r=0;return"number"==typeof t?r=t:"center"===t?r=e.height/2:"bottom"===t&&(r=e.height),r}function E0(e,t){let r=0;return"number"==typeof t?r=t:"center"===t?r=e.width/2:"right"===t&&(r=e.width),r}function C0(e){return[e.horizontal,e.vertical].map((e=>"number"==typeof e?`${e}px`:e)).join(" ")}function P0(e){return"function"==typeof e?e():e}const j0=aQ(vX,{name:"MuiPopover",slot:"Root",overridesResolver:(e,t)=>t.root})({}),O0=aQ(VQ,{name:"MuiPopover",slot:"Paper",overridesResolver:(e,t)=>t.paper})({position:"absolute",overflowY:"auto",overflowX:"hidden",minWidth:16,minHeight:16,maxWidth:"calc(100% - 32px)",maxHeight:"calc(100% - 32px)",outline:0}),N0=L.forwardRef((function(e,t){var r,n,o;const a=EG({props:e,name:"MuiPopover"}),{action:i,anchorEl:s,anchorOrigin:l={vertical:"top",horizontal:"left"},anchorPosition:c,anchorReference:u="anchorEl",children:d,className:f,container:p,elevation:m=8,marginThreshold:h=16,open:y,PaperProps:v={},slots:g,slotProps:b,transformOrigin:w={vertical:"top",horizontal:"left"},TransitionComponent:S=_Z,transitionDuration:x="auto",TransitionProps:{onEntering:$}={},disableScrollLock:k=!1}=a,_=LB(a.TransitionProps,x0),E=LB(a,$0),C=null!=(r=null==b?void 0:b.paper)?r:v,P=L.useRef(),j=aH(P,C.ref),O=zB({},a,{anchorOrigin:l,anchorReference:u,elevation:m,marginThreshold:h,externalPaperSlotProps:C,transformOrigin:w,TransitionComponent:S,transitionDuration:x,TransitionProps:_}),N=(e=>{const{classes:t}=e;return SH({root:["root"],paper:["paper"]},S0,t)})(O),R=L.useCallback((()=>{if("anchorPosition"===u)return c;const e=P0(s),t=(e&&1===e.nodeType?e:JK(P.current).body).getBoundingClientRect();return{top:t.top+_0(t,l.vertical),left:t.left+E0(t,l.horizontal)}}),[s,l.horizontal,l.vertical,c,u]),T=L.useCallback((e=>({vertical:_0(e,w.vertical),horizontal:E0(e,w.horizontal)})),[w.horizontal,w.vertical]),A=L.useCallback((e=>{const t={width:e.offsetWidth,height:e.offsetHeight},r=T(t);if("none"===u)return{top:null,left:null,transformOrigin:C0(r)};const n=R();let o=n.top-r.vertical,a=n.left-r.horizontal;const i=o+t.height,l=a+t.width,c=XK(P0(s)),d=c.innerHeight-h,f=c.innerWidth-h;if(null!==h&&o<h){const e=o-h;o-=e,r.vertical+=e}else if(null!==h&&i>d){const e=i-d;o-=e,r.vertical+=e}if(null!==h&&a<h){const e=a-h;a-=e,r.horizontal+=e}else if(l>f){const e=l-f;a-=e,r.horizontal+=e}return{top:`${Math.round(o)}px`,left:`${Math.round(a)}px`,transformOrigin:C0(r)}}),[s,u,R,T,h]),[I,M]=L.useState(y),F=L.useCallback((()=>{const e=P.current;if(!e)return;const t=A(e);null!==t.top&&(e.style.top=t.top),null!==t.left&&(e.style.left=t.left),e.style.transformOrigin=t.transformOrigin,M(!0)}),[A]);L.useEffect((()=>(k&&window.addEventListener("scroll",F),()=>window.removeEventListener("scroll",F))),[s,k,F]);L.useEffect((()=>{y&&F()})),L.useImperativeHandle(i,(()=>y?{updatePosition:()=>{F()}}:null),[y,F]),L.useEffect((()=>{if(!y)return;const e=QK((()=>{F()})),t=XK(s);return t.addEventListener("resize",e),()=>{e.clear(),t.removeEventListener("resize",e)}}),[s,y,F]);let D=x;"auto"!==x||S.muiSupportAuto||(D=void 0);const z=p||(s?JK(P0(s)).body:void 0),V=null!=(n=null==g?void 0:g.root)?n:j0,B=null!=(o=null==g?void 0:g.paper)?o:O0,U=KQ({elementType:B,externalSlotProps:zB({},C,{style:I?C.style:zB({},C.style,{opacity:0})}),additionalProps:{elevation:m,ref:j},ownerState:O,className:xK(N.paper,null==C?void 0:C.className)}),W=KQ({elementType:V,externalSlotProps:(null==b?void 0:b.root)||{},externalForwardedProps:E,additionalProps:{ref:t,slotProps:{backdrop:{invisible:!0}},container:z,open:y},ownerState:O,className:xK(N.root,f)}),{slotProps:q}=W,K=LB(W,k0);return gP.jsx(V,zB({},K,!BQ(V)&&{slotProps:q,disableScrollLock:k},{children:gP.jsx(S,zB({appear:!0,in:y,onEntering:(e,t)=>{$&&$(e,t),F()},onExited:()=>{M(!1)},timeout:D},_,{children:gP.jsx(B,zB({},U,{children:d}))}))}))}));var R0=N0;function T0(e){return _K("MuiMenu",e)}EK("MuiMenu",["root","paper","list"]);const A0=["onEntering"],I0=["autoFocus","children","className","disableAutoFocusItem","MenuListProps","onClose","open","PaperProps","PopoverClasses","transitionDuration","TransitionProps","variant","slots","slotProps"],M0={vertical:"top",horizontal:"right"},F0={vertical:"top",horizontal:"left"},D0=aQ(R0,{shouldForwardProp:e=>nQ(e)||"classes"===e,name:"MuiMenu",slot:"Root",overridesResolver:(e,t)=>t.root})({}),z0=aQ(O0,{name:"MuiMenu",slot:"Paper",overridesResolver:(e,t)=>t.paper})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),L0=aQ(w0,{name:"MuiMenu",slot:"List",overridesResolver:(e,t)=>t.list})({outline:0}),V0=L.forwardRef((function(e,t){var r,n;const o=EG({props:e,name:"MuiMenu"}),{autoFocus:a=!0,children:i,className:s,disableAutoFocusItem:l=!1,MenuListProps:c={},onClose:u,open:d,PaperProps:f={},PopoverClasses:p,transitionDuration:m="auto",TransitionProps:{onEntering:h}={},variant:y="selectedMenu",slots:v={},slotProps:g={}}=o,b=LB(o.TransitionProps,A0),w=LB(o,I0),S=_G(),x="rtl"===S.direction,$=zB({},o,{autoFocus:a,disableAutoFocusItem:l,MenuListProps:c,onEntering:h,PaperProps:f,transitionDuration:m,TransitionProps:b,variant:y}),k=(e=>{const{classes:t}=e;return SH({root:["root"],paper:["paper"],list:["list"]},T0,t)})($),_=a&&!l&&d,E=L.useRef(null);let C=-1;L.Children.map(i,((e,t)=>{L.isValidElement(e)&&(e.props.disabled||("selectedMenu"===y&&e.props.selected||-1===C)&&(C=t))}));const P=null!=(r=v.paper)?r:z0,j=null!=(n=g.paper)?n:f,O=KQ({elementType:v.root,externalSlotProps:g.root,ownerState:$,className:[k.root,s]}),N=KQ({elementType:P,externalSlotProps:j,ownerState:$,className:k.paper});return gP.jsx(D0,zB({onClose:u,anchorOrigin:{vertical:"bottom",horizontal:x?"right":"left"},transformOrigin:x?M0:F0,slots:{paper:P,root:v.root},slotProps:{root:O,paper:N},open:d,ref:t,transitionDuration:m,TransitionProps:zB({onEntering:(e,t)=>{E.current&&E.current.adjustStyleForScrollbar(e,S),h&&h(e,t)}},b),ownerState:$},w,{classes:p,children:gP.jsx(L0,zB({onKeyDown:e=>{"Tab"===e.key&&(e.preventDefault(),u&&u(e,"tabKeyDown"))},actions:E,autoFocus:a&&(-1===C||l),autoFocusItem:_,variant:y},c,{className:xK(k.list,c.className),children:i}))}))}));var B0=V0;function U0(e){return _K("MuiMenuItem",e)}var W0=EK("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"]);const q0=["autoFocus","component","dense","divider","disableGutters","focusVisibleClassName","role","tabIndex","className"],K0=aQ(fY,{shouldForwardProp:e=>nQ(e)||"classes"===e,name:"MuiMenuItem",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.dense&&t.dense,r.divider&&t.divider,!r.disableGutters&&t.gutters]}})((({theme:e,ownerState:t})=>zB({},e.typography.body1,{display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minHeight:48,paddingTop:6,paddingBottom:6,boxSizing:"border-box",whiteSpace:"nowrap"},!t.disableGutters&&{paddingLeft:16,paddingRight:16},t.divider&&{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"},{"&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${W0.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:BH(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${W0.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:BH(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${W0.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:BH(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:BH(e.palette.primary.main,e.palette.action.selectedOpacity)}},[`&.${W0.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${W0.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},[`& + .${bX.root}`]:{marginTop:e.spacing(1),marginBottom:e.spacing(1)},[`& + .${bX.inset}`]:{marginLeft:52},[`& .${c0.root}`]:{marginTop:0,marginBottom:0},[`& .${c0.inset}`]:{paddingLeft:36},[`& .${n0.root}`]:{minWidth:36}},!t.dense&&{[e.breakpoints.up("sm")]:{minHeight:"auto"}},t.dense&&zB({minHeight:32,paddingTop:4,paddingBottom:4},e.typography.body2,{[`& .${n0.root} svg`]:{fontSize:"1.25rem"}})))),H0=L.forwardRef((function(e,t){const r=EG({props:e,name:"MuiMenuItem"}),{autoFocus:n=!1,component:o="li",dense:a=!1,divider:i=!1,disableGutters:s=!1,focusVisibleClassName:l,role:c="menuitem",tabIndex:u,className:d}=r,f=LB(r,q0),p=L.useContext(MZ),m=L.useMemo((()=>({dense:a||p.dense||!1,disableGutters:s})),[p.dense,a,s]),h=L.useRef(null);qK((()=>{n&&h.current&&h.current.focus()}),[n]);const y=zB({},r,{dense:m.dense,divider:i,disableGutters:s}),v=(e=>{const{disabled:t,dense:r,divider:n,disableGutters:o,selected:a,classes:i}=e;return zB({},i,SH({root:["root",r&&"dense",t&&"disabled",!o&&"gutters",n&&"divider",a&&"selected"]},U0,i))})(r),g=aH(h,t);let b;return r.disabled||(b=void 0!==u?u:-1),gP.jsx(MZ.Provider,{value:m,children:gP.jsx(K0,zB({ref:g,role:c,tabIndex:b,component:o,focusVisibleClassName:xK(v.focusVisible,l),className:xK(v.root,d)},f,{ownerState:y,classes:v}))})}));var G0=H0;function Q0(e){return _K("MuiNativeSelect",e)}var Y0=EK("MuiNativeSelect",["root","select","multiple","filled","outlined","standard","disabled","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]);const J0=["className","disabled","error","IconComponent","inputRef","variant"],X0=({ownerState:e,theme:t})=>zB({MozAppearance:"none",WebkitAppearance:"none",userSelect:"none",borderRadius:0,cursor:"pointer","&:focus":zB({},t.vars?{backgroundColor:`rgba(${t.vars.palette.common.onBackgroundChannel} / 0.05)`}:{backgroundColor:"light"===t.palette.mode?"rgba(0, 0, 0, 0.05)":"rgba(255, 255, 255, 0.05)"},{borderRadius:0}),"&::-ms-expand":{display:"none"},[`&.${Y0.disabled}`]:{cursor:"default"},"&[multiple]":{height:"auto"},"&:not([multiple]) option, &:not([multiple]) optgroup":{backgroundColor:(t.vars||t).palette.background.paper},"&&&":{paddingRight:24,minWidth:16}},"filled"===e.variant&&{"&&&":{paddingRight:32}},"outlined"===e.variant&&{borderRadius:(t.vars||t).shape.borderRadius,"&:focus":{borderRadius:(t.vars||t).shape.borderRadius},"&&&":{paddingRight:32}}),Z0=aQ("select",{name:"MuiNativeSelect",slot:"Select",shouldForwardProp:nQ,overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.select,t[r.variant],r.error&&t.error,{[`&.${Y0.multiple}`]:t.multiple}]}})(X0),e1=({ownerState:e,theme:t})=>zB({position:"absolute",right:0,top:"calc(50% - .5em)",pointerEvents:"none",color:(t.vars||t).palette.action.active,[`&.${Y0.disabled}`]:{color:(t.vars||t).palette.action.disabled}},e.open&&{transform:"rotate(180deg)"},"filled"===e.variant&&{right:7},"outlined"===e.variant&&{right:7}),t1=aQ("svg",{name:"MuiNativeSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.icon,r.variant&&t[`icon${fq(r.variant)}`],r.open&&t.iconOpen]}})(e1),r1=L.forwardRef((function(e,t){const{className:r,disabled:n,error:o,IconComponent:a,inputRef:i,variant:s="standard"}=e,l=LB(e,J0),c=zB({},e,{disabled:n,variant:s,error:o}),u=(e=>{const{classes:t,variant:r,disabled:n,multiple:o,open:a,error:i}=e;return SH({select:["select",r,n&&"disabled",o&&"multiple",i&&"error"],icon:["icon",`icon${fq(r)}`,a&&"iconOpen",n&&"disabled"]},Q0,t)})(c);return gP.jsxs(L.Fragment,{children:[gP.jsx(Z0,zB({ownerState:c,className:xK(u.select,r),disabled:n,ref:i||t},l)),e.multiple?null:gP.jsx(t1,{as:a,ownerState:c,className:u.icon})]})}));var n1,o1=r1;const a1=["children","classes","className","label","notched"],i1=aQ("fieldset",{shouldForwardProp:nQ})({textAlign:"left",position:"absolute",bottom:0,right:0,top:-5,left:0,margin:0,padding:"0 8px",pointerEvents:"none",borderRadius:"inherit",borderStyle:"solid",borderWidth:1,overflow:"hidden",minWidth:"0%"}),s1=aQ("legend",{shouldForwardProp:nQ})((({ownerState:e,theme:t})=>zB({float:"unset",width:"auto",overflow:"hidden"},!e.withLabel&&{padding:0,lineHeight:"11px",transition:t.transitions.create("width",{duration:150,easing:t.transitions.easing.easeOut})},e.withLabel&&zB({display:"block",padding:0,height:11,fontSize:"0.75em",visibility:"hidden",maxWidth:.01,transition:t.transitions.create("max-width",{duration:50,easing:t.transitions.easing.easeOut}),whiteSpace:"nowrap","& > span":{paddingLeft:5,paddingRight:5,display:"inline-block",opacity:0,visibility:"visible"}},e.notched&&{maxWidth:"100%",transition:t.transitions.create("max-width",{duration:100,easing:t.transitions.easing.easeOut,delay:50})}))));const l1=["components","fullWidth","inputComponent","label","multiline","notched","slots","type"],c1=aQ(fJ,{shouldForwardProp:e=>nQ(e)||"classes"===e,name:"MuiOutlinedInput",slot:"Root",overridesResolver:uJ})((({theme:e,ownerState:t})=>{const r="light"===e.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return zB({position:"relative",borderRadius:(e.vars||e).shape.borderRadius,[`&:hover .${wJ.notchedOutline}`]:{borderColor:(e.vars||e).palette.text.primary},"@media (hover: none)":{[`&:hover .${wJ.notchedOutline}`]:{borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:r}},[`&.${wJ.focused} .${wJ.notchedOutline}`]:{borderColor:(e.vars||e).palette[t.color].main,borderWidth:2},[`&.${wJ.error} .${wJ.notchedOutline}`]:{borderColor:(e.vars||e).palette.error.main},[`&.${wJ.disabled} .${wJ.notchedOutline}`]:{borderColor:(e.vars||e).palette.action.disabled}},t.startAdornment&&{paddingLeft:14},t.endAdornment&&{paddingRight:14},t.multiline&&zB({padding:"16.5px 14px"},"small"===t.size&&{padding:"8.5px 14px"}))})),u1=aQ((function(e){const{className:t,label:r,notched:n}=e,o=LB(e,a1),a=null!=r&&""!==r,i=zB({},e,{notched:n,withLabel:a});return gP.jsx(i1,zB({"aria-hidden":!0,className:t,ownerState:i},o,{children:gP.jsx(s1,{ownerState:i,children:a?gP.jsx("span",{children:r}):n1||(n1=gP.jsx("span",{className:"notranslate",children:""}))})}))}),{name:"MuiOutlinedInput",slot:"NotchedOutline",overridesResolver:(e,t)=>t.notchedOutline})((({theme:e})=>{const t="light"===e.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:t}})),d1=aQ(pJ,{name:"MuiOutlinedInput",slot:"Input",overridesResolver:dJ})((({theme:e,ownerState:t})=>zB({padding:"16.5px 14px"},!e.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:"light"===e.palette.mode?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:"light"===e.palette.mode?null:"#fff",caretColor:"light"===e.palette.mode?null:"#fff",borderRadius:"inherit"}},e.vars&&{"&:-webkit-autofill":{borderRadius:"inherit"},[e.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},"small"===t.size&&{padding:"8.5px 14px"},t.multiline&&{padding:0},t.startAdornment&&{paddingLeft:0},t.endAdornment&&{paddingRight:0}))),f1=L.forwardRef((function(e,t){var r,n,o,a,i;const s=EG({props:e,name:"MuiOutlinedInput"}),{components:l={},fullWidth:c=!1,inputComponent:u="input",label:d,multiline:f=!1,notched:p,slots:m={},type:h="text"}=s,y=LB(s,l1),v=(e=>{const{classes:t}=e;return zB({},t,SH({root:["root"],notchedOutline:["notchedOutline"],input:["input"]},bJ,t))})(s),g=nJ(),b=tJ({props:s,muiFormControl:g,states:["color","disabled","error","focused","hiddenLabel","size","required"]}),w=zB({},s,{color:b.color||"primary",disabled:b.disabled,error:b.error,focused:b.focused,formControl:g,fullWidth:c,hiddenLabel:b.hiddenLabel,multiline:f,size:b.size,type:h}),S=null!=(r=null!=(n=m.root)?n:l.Root)?r:c1,x=null!=(o=null!=(a=m.input)?a:l.Input)?o:d1;return gP.jsx(yJ,zB({slots:{root:S,input:x},renderSuffix:e=>gP.jsx(u1,{ownerState:w,className:v.notchedOutline,label:null!=d&&""!==d&&b.required?i||(i=gP.jsxs(L.Fragment,{children:[d," ","*"]})):d,notched:void 0!==p?p:Boolean(e.startAdornment||e.filled||e.focused)}),fullWidth:c,inputComponent:u,multiline:f,ref:t,type:h},y,{classes:zB({},v,{notchedOutline:null})}))}));f1.muiName="Input";var p1=f1,m1=mQ(gP.jsx("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),"RadioButtonUnchecked"),h1=mQ(gP.jsx("path",{d:"M8.465 8.465C9.37 7.56 10.62 7 12 7C14.76 7 17 9.24 17 12C17 13.38 16.44 14.63 15.535 15.535C14.63 16.44 13.38 17 12 17C9.24 17 7 14.76 7 12C7 10.62 7.56 9.37 8.465 8.465Z"}),"RadioButtonChecked");const y1=aQ("span",{shouldForwardProp:nQ})({position:"relative",display:"flex"}),v1=aQ(m1)({transform:"scale(1)"}),g1=aQ(h1)((({theme:e,ownerState:t})=>zB({left:0,position:"absolute",transform:"scale(0)",transition:e.transitions.create("transform",{easing:e.transitions.easing.easeIn,duration:e.transitions.duration.shortest})},t.checked&&{transform:"scale(1)",transition:e.transitions.create("transform",{easing:e.transitions.easing.easeOut,duration:e.transitions.duration.shortest})})));function b1(e){const{checked:t=!1,classes:r={},fontSize:n}=e,o=zB({},e,{checked:t});return gP.jsxs(y1,{className:r.root,ownerState:o,children:[gP.jsx(v1,{fontSize:n,className:r.background,ownerState:o}),gP.jsx(g1,{fontSize:n,className:r.dot,ownerState:o})]})}var w1=L.createContext(void 0);function S1(e){return _K("MuiRadio",e)}var x1=EK("MuiRadio",["root","checked","disabled","colorPrimary","colorSecondary","sizeSmall"]);const $1=["checked","checkedIcon","color","icon","name","onChange","size","className"],k1=aQ(ZJ,{shouldForwardProp:e=>nQ(e)||"classes"===e,name:"MuiRadio",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,"medium"!==r.size&&t[`size${fq(r.size)}`],t[`color${fq(r.color)}`]]}})((({theme:e,ownerState:t})=>zB({color:(e.vars||e).palette.text.secondary},!t.disableRipple&&{"&:hover":{backgroundColor:e.vars?`rgba(${"default"===t.color?e.vars.palette.action.activeChannel:e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:BH("default"===t.color?e.palette.action.active:e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"default"!==t.color&&{[`&.${x1.checked}`]:{color:(e.vars||e).palette[t.color].main}},{[`&.${x1.disabled}`]:{color:(e.vars||e).palette.action.disabled}})));const _1=gP.jsx(b1,{checked:!0}),E1=gP.jsx(b1,{}),C1=L.forwardRef((function(e,t){var r,n;const o=EG({props:e,name:"MuiRadio"}),{checked:a,checkedIcon:i=_1,color:s="primary",icon:l=E1,name:c,onChange:u,size:d="medium",className:f}=o,p=LB(o,$1),m=zB({},o,{color:s,size:d}),h=(e=>{const{classes:t,color:r,size:n}=e;return zB({},t,SH({root:["root",`color${fq(r)}`,"medium"!==n&&`size${fq(n)}`]},S1,t))})(m),y=L.useContext(w1);let v=a;const g=GK(u,y&&y.onChange);let b=c;return y&&(void 0===v&&(v=function(e,t){return"object"==typeof t&&null!==t?e===t:String(e)===String(t)}(y.value,o.value)),void 0===b&&(b=y.name)),gP.jsx(k1,zB({type:"radio",icon:L.cloneElement(l,{fontSize:null!=(r=E1.props.fontSize)?r:d}),checkedIcon:L.cloneElement(i,{fontSize:null!=(n=_1.props.fontSize)?n:d}),ownerState:m,classes:h,name:b,checked:v,onChange:g,ref:t,className:xK(h.root,f)},p))}));var P1=C1;const j1=["actions","children","defaultValue","name","onChange","value"],O1=L.forwardRef((function(e,t){const{actions:r,children:n,defaultValue:o,name:a,onChange:i,value:s}=e,l=LB(e,j1),c=L.useRef(null),[u,d]=nH({controlled:s,default:o,name:"RadioGroup"});L.useImperativeHandle(r,(()=>({focus:()=>{let e=c.current.querySelector("input:not(:disabled):checked");e||(e=c.current.querySelector("input:not(:disabled)")),e&&e.focus()}})),[]);const f=aH(t,c),p=rH(a),m=L.useMemo((()=>({name:p,onChange(e){d(e.target.value),i&&i(e,e.target.value)},value:u})),[p,i,d,u]);return gP.jsx(w1.Provider,{value:m,children:gP.jsx(GX,zB({role:"radiogroup",ref:f},l,{children:n}))})}));var N1=O1;function R1(e){return _K("MuiSelect",e)}var T1,A1=EK("MuiSelect",["root","select","multiple","filled","outlined","standard","disabled","focused","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]);const I1=["aria-describedby","aria-label","autoFocus","autoWidth","children","className","defaultOpen","defaultValue","disabled","displayEmpty","error","IconComponent","inputRef","labelId","MenuProps","multiple","name","onBlur","onChange","onClose","onFocus","onOpen","open","readOnly","renderValue","SelectDisplayProps","tabIndex","type","value","variant"],M1=aQ("div",{name:"MuiSelect",slot:"Select",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[{[`&.${A1.select}`]:t.select},{[`&.${A1.select}`]:t[r.variant]},{[`&.${A1.error}`]:t.error},{[`&.${A1.multiple}`]:t.multiple}]}})(X0,{[`&.${A1.select}`]:{height:"auto",minHeight:"1.4375em",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"}}),F1=aQ("svg",{name:"MuiSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.icon,r.variant&&t[`icon${fq(r.variant)}`],r.open&&t.iconOpen]}})(e1),D1=aQ("input",{shouldForwardProp:e=>oQ(e)&&"classes"!==e,name:"MuiSelect",slot:"NativeInput",overridesResolver:(e,t)=>t.nativeInput})({bottom:0,left:0,position:"absolute",opacity:0,pointerEvents:"none",width:"100%",boxSizing:"border-box"});function z1(e,t){return"object"==typeof t&&null!==t?e===t:String(e)===String(t)}function L1(e){return null==e||"string"==typeof e&&!e.trim()}const V1=L.forwardRef((function(e,t){var r;const{"aria-describedby":n,"aria-label":o,autoFocus:a,autoWidth:i,children:s,className:l,defaultOpen:c,defaultValue:u,disabled:d,displayEmpty:f,error:p=!1,IconComponent:m,inputRef:h,labelId:y,MenuProps:v={},multiple:g,name:b,onBlur:w,onChange:S,onClose:x,onFocus:$,onOpen:k,open:_,readOnly:E,renderValue:C,SelectDisplayProps:P={},tabIndex:j,value:O,variant:N="standard"}=e,R=LB(e,I1),[T,A]=nH({controlled:O,default:u,name:"Select"}),[I,M]=nH({controlled:_,default:c,name:"Select"}),F=L.useRef(null),D=L.useRef(null),[z,V]=L.useState(null),{current:B}=L.useRef(null!=_),[U,W]=L.useState(),q=aH(t,h),K=L.useCallback((e=>{D.current=e,e&&V(e)}),[]),H=null==z?void 0:z.parentNode;L.useImperativeHandle(q,(()=>({focus:()=>{D.current.focus()},node:F.current,value:T})),[T]),L.useEffect((()=>{c&&I&&z&&!B&&(W(i?null:H.clientWidth),D.current.focus())}),[z,i]),L.useEffect((()=>{a&&D.current.focus()}),[a]),L.useEffect((()=>{if(!y)return;const e=JK(D.current).getElementById(y);if(e){const t=()=>{getSelection().isCollapsed&&D.current.focus()};return e.addEventListener("click",t),()=>{e.removeEventListener("click",t)}}}),[y]);const G=(e,t)=>{e?k&&k(t):x&&x(t),B||(W(i?null:H.clientWidth),M(e))},Q=L.Children.toArray(s),Y=e=>t=>{let r;if(t.currentTarget.hasAttribute("tabindex")){if(g){r=Array.isArray(T)?T.slice():[];const t=T.indexOf(e.props.value);-1===t?r.push(e.props.value):r.splice(t,1)}else r=e.props.value;if(e.props.onClick&&e.props.onClick(t),T!==r&&(A(r),S)){const n=t.nativeEvent||t,o=new n.constructor(n.type,n);Object.defineProperty(o,"target",{writable:!0,value:{value:r,name:b}}),S(o,e)}g||G(!1,t)}},J=null!==z&&I;let X,Z;delete R["aria-invalid"];const ee=[];let te=!1;(iJ({value:T})||f)&&(C?X=C(T):te=!0);const re=Q.map((e=>{if(!L.isValidElement(e))return null;let t;if(g){if(!Array.isArray(T))throw new Error(MB(2));t=T.some((t=>z1(t,e.props.value))),t&&te&&ee.push(e.props.children)}else t=z1(T,e.props.value),t&&te&&(Z=e.props.children);return L.cloneElement(e,{"aria-selected":t?"true":"false",onClick:Y(e),onKeyUp:t=>{" "===t.key&&t.preventDefault(),e.props.onKeyUp&&e.props.onKeyUp(t)},role:"option",selected:t,value:void 0,"data-value":e.props.value})}));te&&(X=g?0===ee.length?null:ee.reduce(((e,t,r)=>(e.push(t),r<ee.length-1&&e.push(", "),e)),[]):Z);let ne,oe=U;!i&&B&&z&&(oe=H.clientWidth),ne=void 0!==j?j:d?null:0;const ae=P.id||(b?`mui-component-select-${b}`:void 0),ie=zB({},e,{variant:N,value:T,open:J,error:p}),se=(e=>{const{classes:t,variant:r,disabled:n,multiple:o,open:a,error:i}=e;return SH({select:["select",r,n&&"disabled",o&&"multiple",i&&"error"],icon:["icon",`icon${fq(r)}`,a&&"iconOpen",n&&"disabled"],nativeInput:["nativeInput"]},R1,t)})(ie),le=zB({},v.PaperProps,null==(r=v.slotProps)?void 0:r.paper),ce=rH();return gP.jsxs(L.Fragment,{children:[gP.jsx(M1,zB({ref:K,tabIndex:ne,role:"combobox","aria-controls":ce,"aria-disabled":d?"true":void 0,"aria-expanded":J?"true":"false","aria-haspopup":"listbox","aria-label":o,"aria-labelledby":[y,ae].filter(Boolean).join(" ")||void 0,"aria-describedby":n,onKeyDown:e=>{if(!E){-1!==[" ","ArrowUp","ArrowDown","Enter"].indexOf(e.key)&&(e.preventDefault(),G(!0,e))}},onMouseDown:d||E?null:e=>{0===e.button&&(e.preventDefault(),D.current.focus(),G(!0,e))},onBlur:e=>{!J&&w&&(Object.defineProperty(e,"target",{writable:!0,value:{value:T,name:b}}),w(e))},onFocus:$},P,{ownerState:ie,className:xK(P.className,se.select,l),id:ae,children:L1(X)?T1||(T1=gP.jsx("span",{className:"notranslate",children:""})):X})),gP.jsx(D1,zB({"aria-invalid":p,value:Array.isArray(T)?T.join(","):T,name:b,ref:F,"aria-hidden":!0,onChange:e=>{const t=Q.find((t=>t.props.value===e.target.value));void 0!==t&&(A(t.props.value),S&&S(e,t))},tabIndex:-1,disabled:d,className:se.nativeInput,autoFocus:a,ownerState:ie},R)),gP.jsx(F1,{as:m,className:se.icon,ownerState:ie}),gP.jsx(B0,zB({id:`menu-${b||""}`,anchorEl:H,open:J,onClose:e=>{G(!1,e)},anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"}},v,{MenuListProps:zB({"aria-labelledby":y,role:"listbox","aria-multiselectable":g?"true":void 0,disableListWrap:!0,id:ce},v.MenuListProps),slotProps:zB({},v.slotProps,{paper:zB({},le,{style:zB({minWidth:oe},null!=le?le.style:null)})}),children:re}))]})}));var B1=V1;const U1=["autoWidth","children","classes","className","defaultOpen","displayEmpty","IconComponent","id","input","inputProps","label","labelId","MenuProps","multiple","native","onClose","onOpen","open","renderValue","SelectDisplayProps","variant"],W1=["root"],q1={name:"MuiSelect",overridesResolver:(e,t)=>t.root,shouldForwardProp:e=>nQ(e)&&"variant"!==e,slot:"Root"},K1=aQ(OZ,q1)(""),H1=aQ(p1,q1)(""),G1=aQ(jX,q1)(""),Q1=L.forwardRef((function(e,t){const r=EG({name:"MuiSelect",props:e}),{autoWidth:n=!1,children:o,classes:a={},className:i,defaultOpen:s=!1,displayEmpty:l=!1,IconComponent:c=$J,id:u,input:d,inputProps:f,label:p,labelId:m,MenuProps:h,multiple:y=!1,native:v=!1,onClose:g,onOpen:b,open:w,renderValue:S,SelectDisplayProps:x,variant:$="outlined"}=r,k=LB(r,U1),_=v?o1:B1,E=tJ({props:r,muiFormControl:nJ(),states:["variant","error"]}),C=E.variant||$,P=zB({},r,{variant:C,classes:a}),j=(e=>{const{classes:t}=e;return t})(P),O=LB(j,W1),N=d||{standard:gP.jsx(K1,{ownerState:P}),outlined:gP.jsx(H1,{label:p,ownerState:P}),filled:gP.jsx(G1,{ownerState:P})}[C],R=aH(t,N.ref);return gP.jsx(L.Fragment,{children:L.cloneElement(N,zB({inputComponent:_,inputProps:zB({children:o,error:E.error,IconComponent:c,variant:C,type:void 0,multiple:y},v?{id:u}:{autoWidth:n,defaultOpen:s,displayEmpty:l,labelId:m,MenuProps:h,onClose:g,onOpen:b,open:w,renderValue:S,SelectDisplayProps:zB({id:u},x)},f,{classes:f?ZW(O,f.classes):O},d?d.props.inputProps:{})},(y&&v||l)&&"outlined"===C?{notched:!0}:{},{ref:R,className:xK(N.props.className,i,j.root)},!d&&{variant:C},k))})}));Q1.muiName="Select";var Y1=Q1;var J1=e=>!e||!BQ(e);function X1(e){return _K("MuiSlider",e)}var Z1=EK("MuiSlider",["root","active","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","disabled","dragging","focusVisible","mark","markActive","marked","markLabel","markLabelActive","rail","sizeSmall","thumb","thumbColorPrimary","thumbColorSecondary","thumbColorError","thumbColorSuccess","thumbColorInfo","thumbColorWarning","track","trackInverted","trackFalse","thumbSizeSmall","valueLabel","valueLabelOpen","valueLabelCircle","valueLabelLabel","vertical"]);const e2=["aria-label","aria-valuetext","aria-labelledby","component","components","componentsProps","color","classes","className","disableSwap","disabled","getAriaLabel","getAriaValueText","marks","max","min","name","onChange","onChangeCommitted","orientation","shiftStep","size","step","scale","slotProps","slots","tabIndex","track","value","valueLabelDisplay","valueLabelFormat"];function t2(e){return e}const r2=aQ("span",{name:"MuiSlider",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[`color${fq(r.color)}`],"medium"!==r.size&&t[`size${fq(r.size)}`],r.marked&&t.marked,"vertical"===r.orientation&&t.vertical,"inverted"===r.track&&t.trackInverted,!1===r.track&&t.trackFalse]}})((({theme:e,ownerState:t})=>zB({borderRadius:12,boxSizing:"content-box",display:"inline-block",position:"relative",cursor:"pointer",touchAction:"none",color:(e.vars||e).palette[t.color].main,WebkitTapHighlightColor:"transparent"},"horizontal"===t.orientation&&zB({height:4,width:"100%",padding:"13px 0","@media (pointer: coarse)":{padding:"20px 0"}},"small"===t.size&&{height:2},t.marked&&{marginBottom:20}),"vertical"===t.orientation&&zB({height:"100%",width:4,padding:"0 13px","@media (pointer: coarse)":{padding:"0 20px"}},"small"===t.size&&{width:2},t.marked&&{marginRight:44}),{"@media print":{colorAdjust:"exact"},[`&.${Z1.disabled}`]:{pointerEvents:"none",cursor:"default",color:(e.vars||e).palette.grey[400]},[`&.${Z1.dragging}`]:{[`& .${Z1.thumb}, & .${Z1.track}`]:{transition:"none"}}}))),n2=aQ("span",{name:"MuiSlider",slot:"Rail",overridesResolver:(e,t)=>t.rail})((({ownerState:e})=>zB({display:"block",position:"absolute",borderRadius:"inherit",backgroundColor:"currentColor",opacity:.38},"horizontal"===e.orientation&&{width:"100%",height:"inherit",top:"50%",transform:"translateY(-50%)"},"vertical"===e.orientation&&{height:"100%",width:"inherit",left:"50%",transform:"translateX(-50%)"},"inverted"===e.track&&{opacity:1}))),o2=aQ("span",{name:"MuiSlider",slot:"Track",overridesResolver:(e,t)=>t.track})((({theme:e,ownerState:t})=>{const r="light"===e.palette.mode?qH(e.palette[t.color].main,.62):UH(e.palette[t.color].main,.5);return zB({display:"block",position:"absolute",borderRadius:"inherit",border:"1px solid currentColor",backgroundColor:"currentColor",transition:e.transitions.create(["left","width","bottom","height"],{duration:e.transitions.duration.shortest})},"small"===t.size&&{border:"none"},"horizontal"===t.orientation&&{height:"inherit",top:"50%",transform:"translateY(-50%)"},"vertical"===t.orientation&&{width:"inherit",left:"50%",transform:"translateX(-50%)"},!1===t.track&&{display:"none"},"inverted"===t.track&&{backgroundColor:e.vars?e.vars.palette.Slider[`${t.color}Track`]:r,borderColor:e.vars?e.vars.palette.Slider[`${t.color}Track`]:r})})),a2=aQ("span",{name:"MuiSlider",slot:"Thumb",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.thumb,t[`thumbColor${fq(r.color)}`],"medium"!==r.size&&t[`thumbSize${fq(r.size)}`]]}})((({theme:e,ownerState:t})=>zB({position:"absolute",width:20,height:20,boxSizing:"border-box",borderRadius:"50%",outline:0,backgroundColor:"currentColor",display:"flex",alignItems:"center",justifyContent:"center",transition:e.transitions.create(["box-shadow","left","bottom"],{duration:e.transitions.duration.shortest})},"small"===t.size&&{width:12,height:12},"horizontal"===t.orientation&&{top:"50%",transform:"translate(-50%, -50%)"},"vertical"===t.orientation&&{left:"50%",transform:"translate(-50%, 50%)"},{"&::before":zB({position:"absolute",content:'""',borderRadius:"inherit",width:"100%",height:"100%",boxShadow:(e.vars||e).shadows[2]},"small"===t.size&&{boxShadow:"none"}),"&::after":{position:"absolute",content:'""',borderRadius:"50%",width:42,height:42,top:"50%",left:"50%",transform:"translate(-50%, -50%)"},[`&:hover, &.${Z1.focusVisible}`]:{boxShadow:`0px 0px 0px 8px ${e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / 0.16)`:BH(e.palette[t.color].main,.16)}`,"@media (hover: none)":{boxShadow:"none"}},[`&.${Z1.active}`]:{boxShadow:`0px 0px 0px 14px ${e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / 0.16)`:BH(e.palette[t.color].main,.16)}`},[`&.${Z1.disabled}`]:{"&:hover":{boxShadow:"none"}}}))),i2=aQ((function(e){const{children:t,className:r,value:n}=e,o=(e=>{const{open:t}=e;return{offset:xK(t&&Z1.valueLabelOpen),circle:Z1.valueLabelCircle,label:Z1.valueLabelLabel}})(e);return t?L.cloneElement(t,{className:xK(t.props.className)},gP.jsxs(L.Fragment,{children:[t.props.children,gP.jsx("span",{className:xK(o.offset,r),"aria-hidden":!0,children:gP.jsx("span",{className:o.circle,children:gP.jsx("span",{className:o.label,children:n})})})]})):null}),{name:"MuiSlider",slot:"ValueLabel",overridesResolver:(e,t)=>t.valueLabel})((({theme:e,ownerState:t})=>zB({[`&.${Z1.valueLabelOpen}`]:{transform:("vertical"===t.orientation?"translateY(-50%)":"translateY(-100%)")+" scale(1)"},zIndex:1,whiteSpace:"nowrap"},e.typography.body2,{fontWeight:500,transition:e.transitions.create(["transform"],{duration:e.transitions.duration.shortest}),transform:("vertical"===t.orientation?"translateY(-50%)":"translateY(-100%)")+" scale(0)",position:"absolute",backgroundColor:(e.vars||e).palette.grey[600],borderRadius:2,color:(e.vars||e).palette.common.white,display:"flex",alignItems:"center",justifyContent:"center",padding:"0.25rem 0.75rem"},"horizontal"===t.orientation&&{top:"-10px",transformOrigin:"bottom center","&::before":{position:"absolute",content:'""',width:8,height:8,transform:"translate(-50%, 50%) rotate(45deg)",backgroundColor:"inherit",bottom:0,left:"50%"}},"vertical"===t.orientation&&{right:"small"===t.size?"20px":"30px",top:"50%",transformOrigin:"right center","&::before":{position:"absolute",content:'""',width:8,height:8,transform:"translate(-50%, -50%) rotate(45deg)",backgroundColor:"inherit",right:-8,top:"50%"}},"small"===t.size&&{fontSize:e.typography.pxToRem(12),padding:"0.25rem 0.5rem"}))),s2=aQ("span",{name:"MuiSlider",slot:"Mark",shouldForwardProp:e=>oQ(e)&&"markActive"!==e,overridesResolver:(e,t)=>{const{markActive:r}=e;return[t.mark,r&&t.markActive]}})((({theme:e,ownerState:t,markActive:r})=>zB({position:"absolute",width:2,height:2,borderRadius:1,backgroundColor:"currentColor"},"horizontal"===t.orientation&&{top:"50%",transform:"translate(-1px, -50%)"},"vertical"===t.orientation&&{left:"50%",transform:"translate(-50%, 1px)"},r&&{backgroundColor:(e.vars||e).palette.background.paper,opacity:.8}))),l2=aQ("span",{name:"MuiSlider",slot:"MarkLabel",shouldForwardProp:e=>oQ(e)&&"markLabelActive"!==e,overridesResolver:(e,t)=>t.markLabel})((({theme:e,ownerState:t,markLabelActive:r})=>zB({},e.typography.body2,{color:(e.vars||e).palette.text.secondary,position:"absolute",whiteSpace:"nowrap"},"horizontal"===t.orientation&&{top:30,transform:"translateX(-50%)","@media (pointer: coarse)":{top:40}},"vertical"===t.orientation&&{left:36,transform:"translateY(50%)","@media (pointer: coarse)":{left:44}},r&&{color:(e.vars||e).palette.text.primary}))),c2=({children:e})=>e,u2=L.forwardRef((function(e,t){var r,n,o,a,i,s,l,c,u,d,f,p,m,h,y,v,g,b,w,S,x,$,k,_;const E=EG({props:e,name:"MuiSlider"}),C="rtl"===_G().direction,{"aria-label":P,"aria-valuetext":j,"aria-labelledby":O,component:N="span",components:R={},componentsProps:T={},color:A="primary",classes:I,className:M,disableSwap:F=!1,disabled:D=!1,getAriaLabel:z,getAriaValueText:V,marks:B=!1,max:U=100,min:W=0,orientation:q="horizontal",shiftStep:K=10,size:H="medium",step:G=1,scale:Q=t2,slotProps:Y,slots:J,track:X="normal",valueLabelDisplay:Z="off",valueLabelFormat:ee=t2}=E,te=LB(E,e2),re=zB({},E,{isRtl:C,max:U,min:W,classes:I,disabled:D,disableSwap:F,orientation:q,marks:B,color:A,size:H,step:G,shiftStep:K,scale:Q,track:X,valueLabelDisplay:Z,valueLabelFormat:ee}),{axisProps:ne,getRootProps:oe,getHiddenInputProps:ae,getThumbProps:ie,open:se,active:le,axis:ce,focusedThumbIndex:ue,range:de,dragging:fe,marks:pe,values:me,trackOffset:he,trackLeap:ye,getThumbStyle:ve}=FY(zB({},re,{rootRef:t}));re.marked=pe.length>0&&pe.some((e=>e.label)),re.dragging=fe,re.focusedThumbIndex=ue;const ge=(e=>{const{disabled:t,dragging:r,marked:n,orientation:o,track:a,classes:i,color:s,size:l}=e;return SH({root:["root",t&&"disabled",r&&"dragging",n&&"marked","vertical"===o&&"vertical","inverted"===a&&"trackInverted",!1===a&&"trackFalse",s&&`color${fq(s)}`,l&&`size${fq(l)}`],rail:["rail"],track:["track"],mark:["mark"],markActive:["markActive"],markLabel:["markLabel"],markLabelActive:["markLabelActive"],valueLabel:["valueLabel"],thumb:["thumb",t&&"disabled",l&&`thumbSize${fq(l)}`,s&&`thumbColor${fq(s)}`],active:["active"],disabled:["disabled"],focusVisible:["focusVisible"]},X1,i)})(re),be=null!=(r=null!=(n=null==J?void 0:J.root)?n:R.Root)?r:r2,we=null!=(o=null!=(a=null==J?void 0:J.rail)?a:R.Rail)?o:n2,Se=null!=(i=null!=(s=null==J?void 0:J.track)?s:R.Track)?i:o2,xe=null!=(l=null!=(c=null==J?void 0:J.thumb)?c:R.Thumb)?l:a2,$e=null!=(u=null!=(d=null==J?void 0:J.valueLabel)?d:R.ValueLabel)?u:i2,ke=null!=(f=null!=(p=null==J?void 0:J.mark)?p:R.Mark)?f:s2,_e=null!=(m=null!=(h=null==J?void 0:J.markLabel)?h:R.MarkLabel)?m:l2,Ee=null!=(y=null!=(v=null==J?void 0:J.input)?v:R.Input)?y:"input",Ce=null!=(g=null==Y?void 0:Y.root)?g:T.root,Pe=null!=(b=null==Y?void 0:Y.rail)?b:T.rail,je=null!=(w=null==Y?void 0:Y.track)?w:T.track,Oe=null!=(S=null==Y?void 0:Y.thumb)?S:T.thumb,Ne=null!=(x=null==Y?void 0:Y.valueLabel)?x:T.valueLabel,Re=null!=($=null==Y?void 0:Y.mark)?$:T.mark,Te=null!=(k=null==Y?void 0:Y.markLabel)?k:T.markLabel,Ae=null!=(_=null==Y?void 0:Y.input)?_:T.input,Ie=KQ({elementType:be,getSlotProps:oe,externalSlotProps:Ce,externalForwardedProps:te,additionalProps:zB({},J1(be)&&{as:N}),ownerState:zB({},re,null==Ce?void 0:Ce.ownerState),className:[ge.root,M]}),Me=KQ({elementType:we,externalSlotProps:Pe,ownerState:re,className:ge.rail}),Fe=KQ({elementType:Se,externalSlotProps:je,additionalProps:{style:zB({},ne[ce].offset(he),ne[ce].leap(ye))},ownerState:zB({},re,null==je?void 0:je.ownerState),className:ge.track}),De=KQ({elementType:xe,getSlotProps:ie,externalSlotProps:Oe,ownerState:zB({},re,null==Oe?void 0:Oe.ownerState),className:ge.thumb}),ze=KQ({elementType:$e,externalSlotProps:Ne,ownerState:zB({},re,null==Ne?void 0:Ne.ownerState),className:ge.valueLabel}),Le=KQ({elementType:ke,externalSlotProps:Re,ownerState:re,className:ge.mark}),Ve=KQ({elementType:_e,externalSlotProps:Te,ownerState:re,className:ge.markLabel}),Be=KQ({elementType:Ee,getSlotProps:ae,externalSlotProps:Ae,ownerState:re});return gP.jsxs(be,zB({},Ie,{children:[gP.jsx(we,zB({},Me)),gP.jsx(Se,zB({},Fe)),pe.filter((e=>e.value>=W&&e.value<=U)).map(((e,t)=>{const r=PY(e.value,W,U),n=ne[ce].offset(r);let o;return o=!1===X?-1!==me.indexOf(e.value):"normal"===X&&(de?e.value>=me[0]&&e.value<=me[me.length-1]:e.value<=me[0])||"inverted"===X&&(de?e.value<=me[0]||e.value>=me[me.length-1]:e.value>=me[0]),gP.jsxs(L.Fragment,{children:[gP.jsx(ke,zB({"data-index":t},Le,!BQ(ke)&&{markActive:o},{style:zB({},n,Le.style),className:xK(Le.className,o&&ge.markActive)})),null!=e.label?gP.jsx(_e,zB({"aria-hidden":!0,"data-index":t},Ve,!BQ(_e)&&{markLabelActive:o},{style:zB({},n,Ve.style),className:xK(ge.markLabel,Ve.className,o&&ge.markLabelActive),children:e.label})):null]},t)})),me.map(((e,t)=>{const r=PY(e,W,U),n=ne[ce].offset(r),o="off"===Z?c2:$e;return gP.jsx(o,zB({},!BQ(o)&&{valueLabelFormat:ee,valueLabelDisplay:Z,value:"function"==typeof ee?ee(Q(e),t):ee,index:t,open:se===t||le===t||"on"===Z,disabled:D},ze,{children:gP.jsx(xe,zB({"data-index":t},De,{className:xK(ge.thumb,De.className,le===t&&ge.active,ue===t&&ge.focusVisible),style:zB({},n,ve(t),De.style),children:gP.jsx(Ee,zB({"data-index":t,"aria-label":z?z(t):P,"aria-valuenow":Q(e),"aria-labelledby":O,"aria-valuetext":V?V(Q(e),t):j,value:me[t]},Be))}))}),t)}))]}))}));var d2=u2;function f2(e){return _K("MuiTextField",e)}EK("MuiTextField",["root"]);const p2=["autoComplete","autoFocus","children","className","color","defaultValue","disabled","error","FormHelperTextProps","fullWidth","helperText","id","InputLabelProps","inputProps","InputProps","inputRef","label","maxRows","minRows","multiline","name","onBlur","onChange","onFocus","placeholder","required","rows","select","SelectProps","type","value","variant"],m2={standard:OZ,filled:jX,outlined:p1},h2=aQ(AX,{name:"MuiTextField",slot:"Root",overridesResolver:(e,t)=>t.root})({}),y2=L.forwardRef((function(e,t){const r=EG({props:e,name:"MuiTextField"}),{autoComplete:n,autoFocus:o=!1,children:a,className:i,color:s="primary",defaultValue:l,disabled:c=!1,error:u=!1,FormHelperTextProps:d,fullWidth:f=!1,helperText:p,id:m,InputLabelProps:h,inputProps:y,InputProps:v,inputRef:g,label:b,maxRows:w,minRows:S,multiline:x=!1,name:$,onBlur:k,onChange:_,onFocus:E,placeholder:C,required:P=!1,rows:j,select:O=!1,SelectProps:N,type:R,value:T,variant:A="outlined"}=r,I=LB(r,p2),M=zB({},r,{autoFocus:o,color:s,disabled:c,error:u,fullWidth:f,multiline:x,required:P,select:O,variant:A}),F=(e=>{const{classes:t}=e;return SH({root:["root"]},f2,t)})(M),D={};"outlined"===A&&(h&&void 0!==h.shrink&&(D.notched=h.shrink),D.label=b),O&&(N&&N.native||(D.id=void 0),D["aria-describedby"]=void 0);const z=rH(m),L=p&&z?`${z}-helper-text`:void 0,V=b&&z?`${z}-label`:void 0,B=m2[A],U=gP.jsx(B,zB({"aria-describedby":L,autoComplete:n,autoFocus:o,defaultValue:l,fullWidth:f,multiline:x,name:$,rows:j,maxRows:w,minRows:S,type:R,value:T,id:z,inputRef:g,onBlur:k,onChange:_,onFocus:E,placeholder:C,inputProps:y},D,v));return gP.jsxs(h2,zB({className:xK(F.root,i),disabled:c,error:u,fullWidth:f,ref:t,required:P,color:s,variant:A,ownerState:M},I,{children:[null!=b&&""!==b&&gP.jsx(IZ,zB({htmlFor:z,id:V},h,{children:b})),O?gP.jsx(Y1,zB({"aria-describedby":L,id:z,labelId:V,value:T,input:U},N,{children:a})):U,p&&gP.jsx(tZ,zB({id:L},d,{children:p}))]}))}));var v2,g2=y2,b2={},w2={},S2=o(yQ);function x2(){return v2||(v2=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.createSvgIcon}});var t=S2}(w2)),w2}var $2=DH;Object.defineProperty(b2,"__esModule",{value:!0});var k2=b2.default=void 0,_2=$2(x2()),E2=gP;function C2({uiSchema:e,registry:t,...r}){const{translateString:n}=t;return gP.jsx(HY,{title:n(cj.AddItemButton),...r,color:"primary",children:gP.jsx(k2,{})})}function P2(e){const{children:t,disabled:r,hasToolbar:n,hasCopy:o,hasMoveDown:a,hasMoveUp:i,hasRemove:s,index:l,onCopyIndexClick:c,onDropIndexClick:u,onReorderClick:d,readonly:f,uiSchema:p,registry:m}=e,{CopyButton:h,MoveDownButton:y,MoveUpButton:v,RemoveButton:g}=m.templates.ButtonTemplates,b={flex:1,paddingLeft:6,paddingRight:6,fontWeight:"bold",minWidth:0};return gP.jsxs(bZ,{container:!0,alignItems:"center",children:[gP.jsx(bZ,{item:!0,xs:!0,style:{overflow:"auto"},children:gP.jsx(MJ,{mb:2,children:gP.jsx(VQ,{elevation:2,children:gP.jsx(MJ,{p:2,children:t})})})}),n&&gP.jsxs(bZ,{item:!0,children:[(i||a)&&gP.jsx(v,{style:b,disabled:r||f||!i,onClick:d(l,l-1),uiSchema:p,registry:m}),(i||a)&&gP.jsx(y,{style:b,disabled:r||f||!a,onClick:d(l,l+1),uiSchema:p,registry:m}),o&&gP.jsx(h,{style:b,disabled:r||f,onClick:c(l),uiSchema:p,registry:m}),s&&gP.jsx(g,{style:b,disabled:r||f,onClick:u(l),uiSchema:p,registry:m})]})]})}function j2(e){const{canAdd:t,disabled:r,idSchema:n,uiSchema:o,items:a,onAddClick:i,readonly:s,registry:l,required:c,schema:u,title:d}=e,f=$d(o),p=sP("ArrayFieldDescriptionTemplate",l,f),m=sP("ArrayFieldItemTemplate",l,f),h=sP("ArrayFieldTitleTemplate",l,f),{ButtonTemplates:{AddButton:y}}=l.templates;return gP.jsx(VQ,{elevation:2,children:gP.jsxs(MJ,{p:2,children:[gP.jsx(h,{idSchema:n,title:f.title||d,schema:u,uiSchema:o,required:c,registry:l}),gP.jsx(p,{idSchema:n,description:f.description||u.description,schema:u,uiSchema:o,registry:l}),a&&a.map((({key:e,...t})=>gP.jsx(m,{...t},e))),t&&gP.jsx(bZ,{container:!0,justifyContent:"flex-end",children:gP.jsx(bZ,{item:!0,children:gP.jsx(MJ,{mt:2,children:gP.jsx(y,{className:"array-item-add",onClick:i,disabled:r||s,uiSchema:o,registry:l})})})})]})})}k2=b2.default=(0,_2.default)((0,E2.jsx)("path",{d:"M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6z"}),"Add");const O2=["date","datetime-local","file","time"];function N2(e){const{id:t,name:r,placeholder:n,required:o,readonly:a,disabled:i,type:s,label:l,hideLabel:c,hideError:u,value:d,onChange:f,onChangeOverride:p,onBlur:m,onFocus:h,autofocus:y,options:v,schema:g,uiSchema:b,rawErrors:w=[],formContext:S,registry:x,InputLabelProps:$,...k}=e,_=oP(g,s,v),{step:E,min:C,max:P,...j}=_,O={inputProps:{step:E,min:C,max:P,...g.examples?{list:WP(t)}:void 0},...j},N=O2.includes(s)?{...$,shrink:!0}:$;return gP.jsxs(gP.Fragment,{children:[gP.jsx(g2,{id:t,name:t,placeholder:n,label:QP(l||void 0,c,void 0),autoFocus:y,required:o,disabled:i||a,...O,value:d||0===d?d:"",error:w.length>0,onChange:p||(({target:{value:e}})=>f(""===e?v.emptyValue:e)),onBlur:({target:{value:e}})=>m(t,e),onFocus:({target:{value:e}})=>h(t,e),InputLabelProps:N,...k,"aria-describedby":HP(t,!!g.examples)}),Array.isArray(g.examples)&&gP.jsx("datalist",{id:WP(t),children:g.examples.concat(g.default&&!g.examples.includes(g.default)?[g.default]:[]).map((e=>gP.jsx("option",{value:e},e)))})]})}function R2(e){const{id:t,description:r}=e;return r?gP.jsx(eJ,{id:t,variant:"subtitle2",style:{marginTop:"5px"},children:r}):null}var T2={},A2=DH;Object.defineProperty(T2,"__esModule",{value:!0});var I2=T2.default=void 0,M2=A2(x2()),F2=gP;function D2({errors:e,registry:t}){const{translateString:r}=t;return gP.jsx(VQ,{elevation:2,children:gP.jsxs(MJ,{mb:2,p:2,children:[gP.jsx(eJ,{variant:"h6",children:r(cj.ErrorsLabel)}),gP.jsx(VZ,{dense:!0,children:e.map(((e,t)=>gP.jsxs(t0,{children:[gP.jsx(s0,{children:gP.jsx(I2,{color:"error"})}),gP.jsx(p0,{primary:e.stack})]},t)))})]})})}I2=T2.default=(0,M2.default)((0,F2.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m1 15h-2v-2h2zm0-4h-2V7h2z"}),"Error");var z2={},L2=DH;Object.defineProperty(z2,"__esModule",{value:!0});var V2=z2.default=void 0,B2=L2(x2()),U2=gP;V2=z2.default=(0,B2.default)((0,U2.jsx)("path",{d:"m20 12-1.41-1.41L13 16.17V4h-2v12.17l-5.58-5.59L4 12l8 8z"}),"ArrowDownward");var W2={},q2=DH;Object.defineProperty(W2,"__esModule",{value:!0});var K2=W2.default=void 0,H2=q2(x2()),G2=gP;K2=W2.default=(0,H2.default)((0,G2.jsx)("path",{d:"m4 12 1.41 1.41L11 7.83V20h2V7.83l5.58 5.59L20 12l-8-8z"}),"ArrowUpward");var Q2={},Y2=DH;Object.defineProperty(Q2,"__esModule",{value:!0});var J2=Q2.default=void 0,X2=Y2(x2()),Z2=gP;J2=Q2.default=(0,X2.default)((0,Z2.jsx)("path",{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"}),"ContentCopy");var e5={},t5=DH;Object.defineProperty(e5,"__esModule",{value:!0});var r5=e5.default=void 0,n5=t5(x2()),o5=gP;function a5(e){const{icon:t,color:r,uiSchema:n,registry:o,...a}=e;return gP.jsx(HY,{...a,size:"small",color:r,children:t})}function i5(e){const{registry:{translateString:t}}=e;return gP.jsx(a5,{title:t(cj.CopyButton),...e,icon:gP.jsx(J2,{fontSize:"small"})})}function s5(e){const{registry:{translateString:t}}=e;return gP.jsx(a5,{title:t(cj.MoveDownButton),...e,icon:gP.jsx(V2,{fontSize:"small"})})}function l5(e){const{registry:{translateString:t}}=e;return gP.jsx(a5,{title:t(cj.MoveUpButton),...e,icon:gP.jsx(K2,{fontSize:"small"})})}function c5(e){const{iconType:t,...r}=e,{registry:{translateString:n}}=r;return gP.jsx(a5,{title:n(cj.RemoveButton),...r,color:"error",icon:gP.jsx(r5,{fontSize:"default"===t?void 0:"small"})})}function u5(e){const{errors:t=[],idSchema:r}=e;if(0===t.length)return null;const n=UP(r);return gP.jsx(VZ,{id:n,dense:!0,disablePadding:!0,children:t.map(((e,t)=>gP.jsx(t0,{disableGutters:!0,children:gP.jsx(tZ,{component:"div",id:`${n}-${t}`,children:e})},t)))})}function d5(e){const{idSchema:t,help:r}=e;if(!r)return null;const n=qP(t);return gP.jsx(tZ,{component:"div",id:n,children:r})}function f5(e){const{id:t,children:r,classNames:n,style:o,disabled:a,displayLabel:i,hidden:s,label:l,onDropPropertyClick:c,onKeyChange:u,readonly:d,required:f,rawErrors:p=[],errors:m,help:h,description:y,rawDescription:v,schema:g,uiSchema:b,registry:w}=e,S=sP("WrapIfAdditionalTemplate",w,$d(b));return s?gP.jsx("div",{style:{display:"none"},children:r}):gP.jsx(S,{classNames:n,style:o,disabled:a,id:t,label:l,onDropPropertyClick:c,onKeyChange:u,readonly:d,required:f,schema:g,uiSchema:b,registry:w,children:gP.jsxs(AX,{fullWidth:!0,error:!!p.length,required:f,children:[r,i&&v?gP.jsx(eJ,{variant:"caption",color:"textSecondary",children:y}):null,m,h]})})}function p5(e){const{description:t,title:r,properties:n,required:o,disabled:a,readonly:i,uiSchema:s,idSchema:l,schema:c,formData:u,onAddClick:d,registry:f}=e,p=$d(s),m=sP("TitleFieldTemplate",f,p),h=sP("DescriptionFieldTemplate",f,p),{ButtonTemplates:{AddButton:y}}=f.templates;return gP.jsxs(gP.Fragment,{children:[r&&gP.jsx(m,{id:KP(l),title:r,required:o,schema:c,uiSchema:s,registry:f}),t&&gP.jsx(h,{id:BP(l),description:t,schema:c,uiSchema:s,registry:f}),gP.jsxs(bZ,{container:!0,spacing:2,style:{marginTop:"10px"},children:[n.map(((e,t)=>e.hidden?e.content:gP.jsx(bZ,{item:!0,xs:12,style:{marginBottom:"10px"},children:e.content},t))),kd(c,s,u)&&gP.jsx(bZ,{container:!0,justifyContent:"flex-end",children:gP.jsx(bZ,{item:!0,children:gP.jsx(y,{className:"object-property-expand",onClick:d(c),disabled:a||i,uiSchema:s,registry:f})})})]})]})}function m5({uiSchema:e}){const{submitText:t,norender:r,props:n={}}=iP(e);return r?null:gP.jsx(MJ,{marginTop:3,children:gP.jsx(HJ,{type:"submit",variant:"contained",color:"primary",...n,children:t})})}function h5({id:e,title:t}){return gP.jsxs(MJ,{id:e,mb:1,mt:1,children:[gP.jsx(eJ,{variant:"h5",children:t}),gP.jsx(kX,{})]})}function y5(e){const{children:t,classNames:r,style:n,disabled:o,id:a,label:i,onDropPropertyClick:s,onKeyChange:l,readonly:c,required:u,schema:d,uiSchema:f,registry:p}=e,{templates:m,translateString:h}=p,{RemoveButton:y}=m.ButtonTemplates,v=h(cj.KeyLabel,[i]);if(!(td in d))return gP.jsx("div",{className:r,style:n,children:t});return gP.jsxs(bZ,{container:!0,alignItems:"center",spacing:2,className:r,style:n,children:[gP.jsx(bZ,{item:!0,xs:!0,children:gP.jsx(g2,{fullWidth:!0,required:u,label:v,defaultValue:i,disabled:o||c,id:`${a}-key`,name:`${a}-key`,onBlur:c?void 0:({target:e})=>l(e.value),type:"text"})}),gP.jsx(bZ,{item:!0,xs:!0,children:t}),gP.jsx(bZ,{item:!0,children:gP.jsx(y,{iconType:"default",style:{flex:1,paddingLeft:6,paddingRight:6,fontWeight:"bold"},disabled:o||c,onClick:s(i),uiSchema:f,registry:p})})]},`${a}-key`)}function v5(e){var t;const{schema:r,id:n,value:o,disabled:a,readonly:i,label:s="",hideLabel:l,autofocus:c,onChange:u,onBlur:d,onFocus:f,registry:p,options:m,uiSchema:h}=e,y=sP("DescriptionFieldTemplate",p,m),v=ZP(r),g=null!==(t=m.description)&&void 0!==t?t:r.description;return gP.jsxs(gP.Fragment,{children:[!l&&!!g&&gP.jsx(y,{id:BP(n),description:g,schema:r,uiSchema:h,registry:p}),gP.jsx(UX,{control:gP.jsx(dX,{id:n,name:n,checked:void 0!==o&&Boolean(o),required:v,disabled:a||i,autoFocus:c,onChange:(e,t)=>u(t),onBlur:({target:{value:e}})=>d(n,e),onFocus:({target:{value:e}})=>f(n,e),"aria-describedby":HP(n)}),label:QP(s,l,!1)})]})}function g5({label:e,hideLabel:t,id:r,disabled:n,options:o,value:a,autofocus:i,readonly:s,required:l,onChange:c,onBlur:u,onFocus:d}){const{enumOptions:f,enumDisabled:p,inline:m,emptyValue:h}=o,y=Array.isArray(a)?a:[a],v=e=>({target:{checked:t}})=>{c(t?eP(e,y,f):YC(e,y,f))},g=({target:{value:e}})=>u(r,QC(e,f,h)),b=({target:{value:e}})=>d(r,QC(e,f,h));return gP.jsxs(gP.Fragment,{children:[QP(gP.jsx(lZ,{required:l,htmlFor:r,children:e||void 0}),t),gP.jsx(GX,{id:r,row:!!m,children:Array.isArray(f)&&f.map(((e,t)=>{const o=JC(e.value,y),a=Array.isArray(p)&&-1!==p.indexOf(e.value),l=gP.jsx(dX,{id:GP(r,t),name:r,checked:o,disabled:n||a||s,autoFocus:i&&0===t,onChange:v(t),onBlur:g,onFocus:b,"aria-describedby":HP(r)});return gP.jsx(UX,{control:l,label:e.label},t)}))})]})}function b5({id:e,options:t,value:r,required:n,disabled:o,readonly:a,label:i,hideLabel:s,onChange:l,onBlur:c,onFocus:u}){var d;const{enumOptions:f,enumDisabled:p,emptyValue:m}=t,h=!!t&&t.inline,y=null!==(d=XC(r,f))&&void 0!==d?d:null;return gP.jsxs(gP.Fragment,{children:[QP(gP.jsx(lZ,{required:n,htmlFor:e,children:i||void 0}),s),gP.jsx(N1,{id:e,name:e,value:y,row:h,onChange:(e,t)=>l(QC(t,f,m)),onBlur:({target:{value:t}})=>c(e,QC(t,f,m)),onFocus:({target:{value:t}})=>u(e,QC(t,f,m)),"aria-describedby":HP(e),children:Array.isArray(f)&&f.map(((t,r)=>{const n=Array.isArray(p)&&-1!==p.indexOf(t.value);return gP.jsx(UX,{control:gP.jsx(P1,{name:e,id:GP(e,r),color:"primary"}),label:t.label,value:String(r),disabled:o||n||a},r)}))})]})}function w5(e){const{value:t,readonly:r,disabled:n,onBlur:o,onFocus:a,options:i,schema:s,onChange:l,required:c,label:u,hideLabel:d,id:f}=e,p={value:t,label:u,id:f,name:f,...nP(s)};return gP.jsxs(gP.Fragment,{children:[QP(gP.jsx(lZ,{required:c,htmlFor:f,children:u||void 0}),d),gP.jsx(d2,{disabled:n||r,onChange:(e,t)=>{l(null!=t?t:i.emptyValue)},onBlur:({target:{value:e}})=>o(f,e),onFocus:({target:{value:e}})=>a(f,e),valueLabelDisplay:"auto",...p,"aria-describedby":HP(f)})]})}function S5({schema:e,id:t,name:r,options:n,label:o,hideLabel:a,required:i,disabled:s,placeholder:l,readonly:c,value:u,multiple:d,autofocus:f,onChange:p,onBlur:m,onFocus:h,rawErrors:y=[],registry:v,uiSchema:g,hideError:b,formContext:w,...S}){const{enumOptions:x,enumDisabled:$,emptyValue:k}=n,_=(d=void 0!==d&&!!d)?[]:"",E=void 0===u||d&&u.length<1||!d&&u===_,C=XC(u,x,d);return gP.jsx(g2,{id:t,name:t,label:QP(o||void 0,a,void 0),value:E||void 0===C?_:C,required:i,disabled:s||c,autoFocus:f,placeholder:l,error:y.length>0,onChange:({target:{value:e}})=>p(QC(e,x,k)),onBlur:({target:{value:e}})=>m(t,QC(e,x,k)),onFocus:({target:{value:e}})=>h(t,QC(e,x,k)),...S,select:!0,InputLabelProps:{...S.InputLabelProps,shrink:!E},SelectProps:{...S.SelectProps,multiple:d},"aria-describedby":HP(t),children:Array.isArray(x)&&x.map((({value:e,label:t},r)=>{const n=Array.isArray($)&&-1!==$.indexOf(e);return gP.jsx(G0,{value:String(r),disabled:n,children:t},r)}))})}function x5(e){const{options:t,registry:r}=e,n=sP("BaseInputTemplate",r,t);let o=5;return"string"!=typeof t.rows&&"number"!=typeof t.rows||(o=t.rows),gP.jsx(n,{...e,multiline:!0,rows:o})}function $5(){return{CheckboxWidget:v5,CheckboxesWidget:g5,RadioWidget:b5,RangeWidget:w5,SelectWidget:S5,TextareaWidget:x5}}r5=e5.default=(0,n5.default)((0,o5.jsx)("path",{d:"M19 13H5v-2h14z"}),"Remove");const k5=e=>["light","dark"].includes(e)?e:"light",_5=(E5={templates:{ArrayFieldItemTemplate:P2,ArrayFieldTemplate:j2,BaseInputTemplate:N2,ButtonTemplates:{AddButton:C2,CopyButton:i5,MoveDownButton:s5,MoveUpButton:l5,RemoveButton:c5,SubmitButton:m5},DescriptionFieldTemplate:R2,ErrorListTemplate:D2,FieldErrorTemplate:u5,FieldHelpTemplate:d5,FieldTemplate:f5,ObjectFieldTemplate:p5,TitleFieldTemplate:h5,WrapIfAdditionalTemplate:y5},widgets:{...$5(),SelectWidget:e=>{const r=$5().SelectWidget;return V.createElement(r,t({},e,{SelectProps:{...e.SelectProps||{},MenuProps:{autoFocus:!1,disableAutoFocusItem:!0,disableEnforceFocus:!0,disableAutoFocus:!0}}}))}}},L.forwardRef((({fields:e,widgets:t,templates:r,...n},o)=>{var a;return e={...null==E5?void 0:E5.fields,...e},t={...null==E5?void 0:E5.widgets,...t},r={...null==E5?void 0:E5.templates,...r,ButtonTemplates:{...null===(a=null==E5?void 0:E5.templates)||void 0===a?void 0:a.ButtonTemplates,...null==r?void 0:r.ButtonTemplates}},gP.jsx(CB,{...E5,...n,fields:e,widgets:t,templates:r,ref:o})})));var E5;function C5(){const e=frameData.app.context,t=["form-data"];return e.organization_id&&t.push(e.organization_id),e.project_id&&t.push(e.project_id),t.join("-")}const P5={htmlWidget:function(e){const{value:t,options:{content:r}}=e,n=L.useRef();return L.useEffect((()=>{const e=t||r,o=document.createRange().createContextualFragment(e);n.current.append(o)}),[]),V.createElement("div",{ref:n})}};function j5({formData:e,formSchema:t,formUiSchema:r}){const[n,o]=L.useState($G({palette:{mode:"light"}}));return L.useEffect((()=>{AP.events.on("theme.changed",(e=>{const t=k5(e);o($G({palette:{mode:t}}))})),AP.getTheme((e=>{const t=k5(e);o($G({palette:{mode:t}}))}))}),[]),V.createElement(sQ,{theme:n},V.createElement(_5,{widgets:P5,formData:e,validator:cz,schema:t,uiSchema:r,onSubmit:e=>{!function(e){document.getElementById("form-loading").style.display="flex",checkOrigin().then((t=>fetch(formPostDataUrl+t+"&id="+C5(),{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({data:e,context:frameData.app.context})}))).then(checkResponse).then((e=>{e&&e.message||showToast("Settings successfully saved"),document.getElementById("form-loading").style.display="none",e&&(e.formData||e.formSchema||e.formUiSchema)&&O5(e.formData,e.formSchema,e.formUiSchema),e&&e.redirect&&(window.location=e.redirect)})).catch((e=>{catchRejection(e,"Can't save settings"),document.getElementById("form-loading").style.display="none"}))}(e.formData)},onChange:e=>{window.currentFormData=e.formData;const t=new CustomEvent("formDataUpdated",{detail:{...e.formData}});document.dispatchEvent(t)}}))}function O5(e={},t,r){const n=U.createRoot(document.getElementById("form"));if(AP&&AP._data&&AP._data.app&&["modal","editor-right-panel"].includes(AP._data.app.type)){const e=document.getElementById("card");e.style.border="none",e.style.overflow="initial",e.removeAttribute("is-shadowed"),e.setAttribute("without-p",!0),e.parentElement.style.padding="16px",e.parentElement.style.paddingBottom="0px"}window.currentFormSchema=t,window.currentFormData=e,window.currentFormUiSchema=r,n.render(V.createElement(j5,{formData:e,formSchema:t||window.formSchema,formUiSchema:r||window.formUiSchema})),document.getElementById("form-loading").style.display="none"}checkOrigin().then((e=>{const t=new URLSearchParams(frameData.app.context).toString(),r=new URLSearchParams(e+"&id="+C5());return r.set("context",t),fetch(formGetDataUrl+"?"+r.toString(),{method:"GET"})})).then(checkResponse).catch((e=>catchRejection(e,"Can't load saved settings"))).then((e=>{O5(e.formData,e.formSchema,e.formUiSchema)})).catch((()=>O5({}))),window.renderForm=O5}();
|
package/out/types.d.ts
CHANGED
|
@@ -218,7 +218,11 @@ export declare enum Scope {
|
|
|
218
218
|
SCREENSHOTS = "project.screenshot",
|
|
219
219
|
SECURITY_LOGS = "security-log",
|
|
220
220
|
VENDORS = "vendor",
|
|
221
|
-
FIELDS = "field"
|
|
221
|
+
FIELDS = "field",
|
|
222
|
+
AI = "ai",
|
|
223
|
+
AI_PROVIDERS = "ai.provider",
|
|
224
|
+
AI_PROMPTS = "ai.prompt",
|
|
225
|
+
AI_PROXIES = "ai.proxy"
|
|
222
226
|
}
|
|
223
227
|
export interface CrowdinClientRequest extends Request {
|
|
224
228
|
crowdinApiClient: Crowdin;
|
package/out/types.js
CHANGED
|
@@ -29,6 +29,10 @@ var Scope;
|
|
|
29
29
|
Scope["SECURITY_LOGS"] = "security-log";
|
|
30
30
|
Scope["VENDORS"] = "vendor";
|
|
31
31
|
Scope["FIELDS"] = "field";
|
|
32
|
+
Scope["AI"] = "ai";
|
|
33
|
+
Scope["AI_PROVIDERS"] = "ai.provider";
|
|
34
|
+
Scope["AI_PROMPTS"] = "ai.prompt";
|
|
35
|
+
Scope["AI_PROXIES"] = "ai.proxy";
|
|
32
36
|
})(Scope = exports.Scope || (exports.Scope = {}));
|
|
33
37
|
var AccountType;
|
|
34
38
|
(function (AccountType) {
|
package/out/util/index.js
CHANGED
|
@@ -58,7 +58,13 @@ function handleError(err, req, res) {
|
|
|
58
58
|
return;
|
|
59
59
|
}
|
|
60
60
|
if (!res.headersSent) {
|
|
61
|
-
|
|
61
|
+
const errorMessage = { message: (0, logger_1.getErrorMessage)(err), code };
|
|
62
|
+
if ('integrationCredentials' in req) {
|
|
63
|
+
res.render('error', errorMessage);
|
|
64
|
+
}
|
|
65
|
+
else {
|
|
66
|
+
res.status(code).send(errorMessage);
|
|
67
|
+
}
|
|
62
68
|
}
|
|
63
69
|
});
|
|
64
70
|
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
{{> head}}
|
|
4
|
+
|
|
5
|
+
<body>
|
|
6
|
+
<div class="i_w">
|
|
7
|
+
<div class="error-page">
|
|
8
|
+
<div>
|
|
9
|
+
<div class="error-page-message">
|
|
10
|
+
<crowdin-h3>{{ message }}</crowdin-h3>
|
|
11
|
+
</div>
|
|
12
|
+
<div class="error-page-action">
|
|
13
|
+
<crowdin-button outlined onclick="integrationLogout()">Log out</crowdin-button>
|
|
14
|
+
<span> or <crowdin-a href="https://crowdin.com/contacts" target="_blank">contact us</crowdin-a> for help</span>
|
|
15
|
+
</div>
|
|
16
|
+
</div>
|
|
17
|
+
</div>
|
|
18
|
+
</div>
|
|
19
|
+
</body>
|
|
20
|
+
|
|
21
|
+
</html>
|
|
22
|
+
<script>
|
|
23
|
+
function integrationLogout() {
|
|
24
|
+
checkOrigin()
|
|
25
|
+
.then(queryParams => fetch(`api/logout${queryParams}`, { method: 'POST' }))
|
|
26
|
+
.then(checkResponse)
|
|
27
|
+
.then(reloadLocation)
|
|
28
|
+
.then(localStorage.removeItem('revised_{{name}}'))
|
|
29
|
+
.catch(e => catchRejection(e, 'Looks like you are not logged in'));
|
|
30
|
+
}
|
|
31
|
+
</script>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@crowdin/app-project-module",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.48.0",
|
|
4
4
|
"description": "Module that generates for you all common endpoints for serving standalone Crowdin App",
|
|
5
5
|
"main": "out/index.js",
|
|
6
6
|
"types": "out/index.d.ts",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"@godaddy/terminus": "^4.12.1",
|
|
23
23
|
"amqplib": "^0.10.3",
|
|
24
24
|
"crypto-js": "^4.2.0",
|
|
25
|
-
"express": "4.
|
|
25
|
+
"express": "4.19.2",
|
|
26
26
|
"express-handlebars": "^5.3.5",
|
|
27
27
|
"lodash.uniqby": "^4.7.0",
|
|
28
28
|
"mysql2": "^2.3.3",
|