"use strict";(self.webpackChunkmantis_material_react=self.webpackChunkmantis_material_react||[]).push([[1364],{36256:(e,t,o)=>{o.d(t,{A:()=>c});var a=o(58168),i=o(9950);const s={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M864 256H736v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zm-200 0H360v-72h304v72z"}}]},name:"delete",theme:"filled"};var n=o(61187),r=function(e,t){return i.createElement(n.A,(0,a.A)({},e,{ref:t,icon:s}))};const c=i.forwardRef(r)},46282:(e,t,o)=>{o.d(t,{A:()=>w});var a=o(98587),i=o(58168),s=o(9950),n=o(72004),r=o(3484),c=o(89548),l=o(59254),d=o(19608),u=o(48733),h=o(39766),p=o(24184),v=o(45558),A=o(1614);function m(e){return(0,A.Ay)("PrivateSwitchBase",e)}(0,v.A)("PrivateSwitchBase",["root","checked","disabled","input","edgeStart","edgeEnd"]);var b=o(44414);const f=["autoFocus","checked","checkedIcon","className","defaultChecked","disabled","disableFocusRipple","edge","icon","id","inputProps","inputRef","name","onBlur","onChange","onFocus","readOnly","required","tabIndex","type","value"],k=(0,l.Ay)(p.A)((e=>{let{ownerState:t}=e;return(0,i.A)({padding:9,borderRadius:"50%"},"start"===t.edge&&{marginLeft:"small"===t.size?-3:-12},"end"===t.edge&&{marginRight:"small"===t.size?-3:-12})})),g=(0,l.Ay)("input",{shouldForwardProp:d.A})({cursor:"inherit",position:"absolute",opacity:0,width:"100%",height:"100%",top:0,left:0,margin:0,padding:0,zIndex:1}),w=s.forwardRef((function(e,t){const{autoFocus:o,checked:s,checkedIcon:l,className:d,defaultChecked:p,disabled:v,disableFocusRipple:A=!1,edge:w=!1,icon:x,id:y,inputProps:C,inputRef:S,name:z,onBlur:M,onChange:O,onFocus:R,readOnly:B,required:I=!1,tabIndex:j,type:E,value:F}=e,H=(0,a.A)(e,f),[P,N]=(0,u.A)({controlled:s,default:Boolean(p),name:"SwitchBase",state:"checked"}),L=(0,h.A)();let K=v;L&&"undefined"===typeof K&&(K=L.disabled);const W="checkbox"===E||"radio"===E,Z=(0,i.A)({},e,{checked:P,disabled:K,disableFocusRipple:A,edge:w}),U=(e=>{const{classes:t,checked:o,disabled:a,edge:i}=e,s={root:["root",o&&"checked",a&&"disabled",i&&"edge".concat((0,c.A)(i))],input:["input"]};return(0,r.A)(s,m,t)})(Z);return(0,b.jsxs)(k,(0,i.A)({component:"span",className:(0,n.A)(U.root,d),centerRipple:!0,focusRipple:!A,disabled:K,tabIndex:null,role:void 0,onFocus:e=>{R&&R(e),L&&L.onFocus&&L.onFocus(e)},onBlur:e=>{M&&M(e),L&&L.onBlur&&L.onBlur(e)},ownerState:Z,ref:t},H,{children:[(0,b.jsx)(g,(0,i.A)({autoFocus:o,checked:s,defaultChecked:p,className:U.input,disabled:K,id:W?y:void 0,name:z,onChange:e=>{if(e.nativeEvent.defaultPrevented)return;const t=e.target.checked;N(t),O&&O(e,t)},readOnly:B,ref:S,required:I,ownerState:Z,tabIndex:j,type:E},"checkbox"===E&&void 0===F?{}:{value:F},C)),P?l:x]}))}))},49883:(e,t,o)=>{o.d(t,{A:()=>s});var a=o(23235),i=o(44414);const s=(0,a.A)((0,i.jsx)("path",{d:"M7.41 8.59 12 13.17l4.59-4.58L18 10l-6 6-6-6z"}),"KeyboardArrowDownOutlined")},51778:(e,t,o)=>{o.d(t,{n:()=>S});var a,i,s,n,r,c,l=o(89379),d=o(9950),u=o(39790),h=o(55149),p=o(64137),v=o(83568),A=o(53167),m=o(92750),b=o(15941),f=o(95732),k=o(61664),g=(a=new WeakMap,i=new WeakMap,s=new WeakMap,n=new WeakMap,r=new WeakSet,c=new WeakSet,class extends f.Q{constructor(e,t){super(),(0,u.A)(this,c),(0,u.A)(this,r),(0,h.A)(this,a,{writable:!0,value:void 0}),(0,h.A)(this,i,{writable:!0,value:void 0}),(0,h.A)(this,s,{writable:!0,value:void 0}),(0,h.A)(this,n,{writable:!0,value:void 0}),(0,A.A)(this,i,void 0),(0,A.A)(this,a,e),this.setOptions(t),this.bindMethods(),(0,v.A)(this,r,w).call(this)}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(e){var t;const o=this.options;this.options=(0,p.A)(this,a).defaultMutationOptions(e),(0,k.f8)(o,this.options)||(0,p.A)(this,a).getMutationCache().notify({type:"observerOptionsUpdated",mutation:(0,p.A)(this,s),observer:this}),null===(t=(0,p.A)(this,s))||void 0===t||t.setOptions(this.options),null!==o&&void 0!==o&&o.mutationKey&&this.options.mutationKey&&(0,k.EN)(o.mutationKey)!==(0,k.EN)(this.options.mutationKey)&&this.reset()}onUnsubscribe(){var e;this.hasListeners()||(null===(e=(0,p.A)(this,s))||void 0===e||e.removeObserver(this))}onMutationUpdate(e){(0,v.A)(this,r,w).call(this),(0,v.A)(this,c,x).call(this,e)}getCurrentResult(){return(0,p.A)(this,i)}reset(){var e;null===(e=(0,p.A)(this,s))||void 0===e||e.removeObserver(this),(0,A.A)(this,s,void 0),(0,v.A)(this,r,w).call(this),(0,v.A)(this,c,x).call(this)}mutate(e,t){var o;return(0,A.A)(this,n,t),null===(o=(0,p.A)(this,s))||void 0===o||o.removeObserver(this),(0,A.A)(this,s,(0,p.A)(this,a).getMutationCache().build((0,p.A)(this,a),this.options)),(0,p.A)(this,s).addObserver(this),(0,p.A)(this,s).execute(e)}});function w(){var e,t;const o=null!==(e=null===(t=(0,p.A)(this,s))||void 0===t?void 0:t.state)&&void 0!==e?e:(0,m.$)();(0,A.A)(this,i,(0,l.A)((0,l.A)({},o),{},{isPending:"pending"===o.status,isSuccess:"success"===o.status,isError:"error"===o.status,isIdle:"idle"===o.status,mutate:this.mutate,reset:this.reset}))}function x(e){b.j.batch((()=>{if((0,p.A)(this,n)&&this.hasListeners()){const u=(0,p.A)(this,i).variables,h=(0,p.A)(this,i).context;var t,o,a,s;if("success"===(null===e||void 0===e?void 0:e.type))null===(t=(o=(0,p.A)(this,n)).onSuccess)||void 0===t||t.call(o,e.data,u,h),null===(a=(s=(0,p.A)(this,n)).onSettled)||void 0===a||a.call(s,e.data,null,u,h);else if("error"===(null===e||void 0===e?void 0:e.type)){var r,c,l,d;null===(r=(c=(0,p.A)(this,n)).onError)||void 0===r||r.call(c,e.error,u,h),null===(l=(d=(0,p.A)(this,n)).onSettled)||void 0===l||l.call(d,void 0,e.error,u,h)}}this.listeners.forEach((e=>{e((0,p.A)(this,i))}))}))}var y=o(15441),C=o(98986);function S(e,t){const o=(0,y.jE)(t),[a]=d.useState((()=>new g(o,e)));d.useEffect((()=>{a.setOptions(e)}),[a,e]);const i=d.useSyncExternalStore(d.useCallback((e=>a.subscribe(b.j.batchCalls(e))),[a]),(()=>a.getCurrentResult()),(()=>a.getCurrentResult())),s=d.useCallback(((e,t)=>{a.mutate(e,t).catch(z)}),[a]);if(i.error&&(0,C.G)(a.options.throwOnError,[i.error]))throw i.error;return(0,l.A)((0,l.A)({},i),{},{mutate:s,mutateAsync:i.mutate})}function z(){}},67562:(e,t,o)=>{o.d(t,{A:()=>s});var a=o(23235),i=o(44414);const s=(0,a.A)((0,i.jsx)("path",{d:"M7.41 15.41 12 10.83l4.59 4.58L18 14l-6-6-6 6z"}),"KeyboardArrowUpOutlined")},69476:(e,t,o)=>{o.d(t,{LSI:()=>i});var a=o(99230);function i(e){return(0,a.k5)({tag:"svg",attr:{viewBox:"0 0 256 256",fill:"currentColor"},child:[{tag:"path",attr:{d:"M128,24a80,80,0,0,0-80,80c0,72,80,128,80,128s80-56,80-128A80,80,0,0,0,128,24Zm0,112a32,32,0,1,1,32-32A32,32,0,0,1,128,136Z",opacity:"0.2"}},{tag:"path",attr:{d:"M200,224H150.54A266.56,266.56,0,0,0,174,200.25c27.45-31.57,42-64.85,42-96.25a88,88,0,0,0-176,0c0,31.4,14.51,64.68,42,96.25A266.56,266.56,0,0,0,105.46,224H56a8,8,0,0,0,0,16H200a8,8,0,0,0,0-16ZM56,104a72,72,0,0,1,144,0c0,57.23-55.47,105-72,118C111.47,209,56,161.23,56,104Zm112,0a40,40,0,1,0-40,40A40,40,0,0,0,168,104Zm-64,0a24,24,0,1,1,24,24A24,24,0,0,1,104,104Z"}}]})(e)}},93038:(e,t,o)=>{o.d(t,{A:()=>O});var a=o(98587),i=o(58168),s=o(9950),n=o(72004),r=o(3484),c=o(99269),l=o(46282),d=o(23235),u=o(44414);const h=(0,d.A)((0,u.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"),p=(0,d.A)((0,u.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"),v=(0,d.A)((0,u.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");var A=o(89548),m=o(18463),b=o(59254),f=o(19608),k=o(45558),g=o(1614);function w(e){return(0,g.Ay)("MuiCheckbox",e)}const x=(0,k.A)("MuiCheckbox",["root","checked","disabled","indeterminate","colorPrimary","colorSecondary","sizeSmall","sizeMedium"]),y=["checkedIcon","color","icon","indeterminate","indeterminateIcon","inputProps","size","className"],C=(0,b.Ay)(l.A,{shouldForwardProp:e=>(0,f.A)(e)||"classes"===e,name:"MuiCheckbox",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,o.indeterminate&&t.indeterminate,t["size".concat((0,A.A)(o.size))],"default"!==o.color&&t["color".concat((0,A.A)(o.color))]]}})((e=>{let{theme:t,ownerState:o}=e;return(0,i.A)({color:(t.vars||t).palette.text.secondary},!o.disableRipple&&{"&:hover":{backgroundColor:t.vars?"rgba(".concat("default"===o.color?t.vars.palette.action.activeChannel:t.vars.palette[o.color].mainChannel," / ").concat(t.vars.palette.action.hoverOpacity,")"):(0,c.X4)("default"===o.color?t.palette.action.active:t.palette[o.color].main,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"default"!==o.color&&{["&.".concat(x.checked,", &.").concat(x.indeterminate)]:{color:(t.vars||t).palette[o.color].main},["&.".concat(x.disabled)]:{color:(t.vars||t).palette.action.disabled}})})),S=(0,u.jsx)(p,{}),z=(0,u.jsx)(h,{}),M=(0,u.jsx)(v,{}),O=s.forwardRef((function(e,t){var o,c;const l=(0,m.b)({props:e,name:"MuiCheckbox"}),{checkedIcon:d=S,color:h="primary",icon:p=z,indeterminate:v=!1,indeterminateIcon:b=M,inputProps:f,size:k="medium",className:g}=l,x=(0,a.A)(l,y),O=v?b:p,R=v?b:d,B=(0,i.A)({},l,{color:h,indeterminate:v,size:k}),I=(e=>{const{classes:t,indeterminate:o,color:a,size:s}=e,n={root:["root",o&&"indeterminate","color".concat((0,A.A)(a)),"size".concat((0,A.A)(s))]},c=(0,r.A)(n,w,t);return(0,i.A)({},t,c)})(B);return(0,u.jsx)(C,(0,i.A)({type:"checkbox",inputProps:(0,i.A)({"data-indeterminate":v},f),icon:s.cloneElement(O,{fontSize:null!=(o=O.props.fontSize)?o:k}),checkedIcon:s.cloneElement(R,{fontSize:null!=(c=R.props.fontSize)?c:k}),ownerState:B,ref:t,className:(0,n.A)(I.root,g)},x,{classes:I}))}))}}]);