1(this["webpackJsonp@free-soft-tech/eportal-ui"]=this["webpackJsonp@free-soft-tech/eportal-ui"]||[]).push([[18],{1100:function(e,a,t){"use strict";t.d(a,"b",(function(){return r})),t.d(a,"a",(function(){return i}));t(123);var n=t(264);function r(e,a,t){var n=arguments.length>3&&void 0!==arguments[3]&&arguments[3],r=arguments.length>4?arguments[4]:void 0;r&&(r.current=n),a(),e().then((function(e){Object.entries(e).length>0&&(console.warn("Eportal-Error : ",e),t("Sono presenti errori in pagina",{variant:"error"}))}))}var l=function(e,a){if(e.values){var t,n=e.values.operator,r=e.values.value,l=[],o=!0,i=!1,c=void 0;try{for(var u,d=r[Symbol.iterator]();!(o=(u=d.next()).done);o=!0){var s=u.value;l.push("".concat(s," === ").concat(a[e.field]))}}catch(m){i=!0,c=m}finally{try{o||null==d.return||d.return()}finally{if(i)throw c}}return t=l.join(n),Boolean(t)}return Boolean(a[e.field]===e.value)},o=function(e,a){return Boolean((null===e||void 0===e?void 0:e.required)&&Object(n.c)(a))},i=function(e,a,t){var r=null;if(function(e){return!Object(n.b)(null===e||void 0===e?void 0:e.conditions)}(t)){var i=!1,c=!0,u=!1,d=void 0;try{for(var s,m=(null===t||void 0===t?void 0:t.conditions)[Symbol.iterator]();!(c=(s=m.next()).done);c=!0){var v=s.value;i=l(v,a)}}catch(b){u=!0,d=b}finally{try{c||null==m.return||m.return()}finally{if(u)throw d}}i&&(r=o(t,a[e]))}else r=o(t,a[e]);return r}},1112:function(e,a,t){"use strict";var n=t(1),r=t(89),l=t(5),o=t(0),i=(t(2),t(3)),c=t(212),u=t(107),d=t(9),s=t(334),m=o.forwardRef((function(e,a){var t=e.autoFocus,d=e.checked,m=e.checkedIcon,v=e.classes,b=e.className,E=e.defaultChecked,p=e.disabled,h=e.icon,f=e.id,S=e.inputProps,g=e.inputRef,y=e.name,j=e.onBlur,O=e.onChange,x=e.onFocus,R=e.readOnly,I=e.required,T=e.tabIndex,w=e.type,C=e.value,P=Object(l.a)(e,["autoFocus","checked","checkedIcon","classes","className","defaultChecked","disabled","icon","id","inputProps","inputRef","name","onBlur","onChange","onFocus","readOnly","required","tabIndex","type","value"]),k=Object(c.a)({controlled:d,default:Boolean(E),name:"SwitchBase",state:"checked"}),M=Object(r.a)(k,2),N=M[0],U=M[1],A=Object(u.a)(),B=p;A&&"undefined"===typeof B&&(B=A.disabled);var L="checkbox"===w||"radio"===w;return o.createElement(s.a,Object(n.a)({component:"span",className:Object(i.default)(v.root,b,N&&v.checked,B&&v.disabled),disabled:B,tabIndex:null,role:void 0,onFocus:function(e){x&&x(e),A&&A.onFocus&&A.onFocus(e)},onBlur:function(e){j&&j(e),A&&A.onBlur&&A.onBlur(e)},ref:a},P),o.createElement("input",Object(n.a)({autoFocus:t,checked:d,defaultChecked:E,className:v.input,disabled:B,id:L&&f,name:y,onChange:function(e){var a=e.target.checked;U(a),O&&O(e,a)},readOnly:R,ref:g,required:I,tabIndex:T,type:w,value:C},S)),N?m:h)}));a.a=Object(d.a)({root:{padding:9},checked:{},disabled:{},input:{cursor:"inherit",position:"absolute",opacity:0,width:"100%",height:"100%",top:0,left:0,margin:0,padding:0,zIndex:1}},{name:"PrivateSwitchBase"})(m)},1123:function(e,a,t){"use strict";var n=t(15),r=t(106),l=t(13),o=t(0),i=t.n(o),c=t(954),u=t(2460),d=t(932),s=t(972),m=t(49),v=t(148),b=t(8),E=t(12),p=(t(123),Object(v.a)((function(e){return{icon:{color:e.palette.text.secondary,marginRight:e.spacing(2)}}})));a.a=function(e){var a,t=e.label,v=e.userAgent,h=e.forceLinkAgent,f=e.values,S=e.fieldValue,g=e.setFieldValue,y=e.setFieldState,j=e.touched,O=e.errors,x=e.required,R=e.disabled,I=(p(),Object(o.useState)(null)),T=Object(l.a)(I,2),w=T[0],C=T[1],P=Object(o.useState)(""),k=Object(l.a)(P,2),M=k[0],N=k[1],U=Object(o.useState)([]),A=Object(l.a)(U,2),B=A[0],L=A[1],D=Object(o.useState)(!1),Q=Object(l.a)(D,2),q=Q[0],z=Q[1],G=Object(o.useState)(!1),F=Object(l.a)(G,2),W=F[0],V=F[1];return Object(o.useEffect)((function(){if(W){z(!0),L([]);var e={name:M,start:0,count:5,sort:"name",cache:!0,enabled:!0};h&&(e={id:v}),b.a.get(E.a.PROFILES.PROFILES,{params:e}).then((function(e){L(e.data.results)})).finally((function(){return z(!1)}))}return function(){!1}}),[M,W]),i.a.createElement(u.a,{disabled:Boolean(R),getOptionLabel:function(e){return"string"===typeof e?e:"".concat(e.firstName," ").concat(e.lastName,"
1(").concat(e.id,")")},filterOptions:function(e){return e},options:B,autoComplete:!0,includeInputInList:!0,filterSelectedOptions:!0,loading:q,value:f,noOptionsText:w?"Nessun risultato":"Inserisci il nome dell'utente",onFocus:function(){return V(!0)},onBlur:function(){return V(!1)},onChange:function(e,a){L(a?[a].concat(Object(r.a)(B)):B),C(a),g&&g(S,a||null),y&&y(a)},onInputChange:function(e,t){clearTimeout(a),a=setTimeout((function(){N(t)}),500)},renderInput:function(e){return i.a.createElement(c.a,Object.assign({},e,{label:t,variant:"outlined",error:Boolean(j&&O)||void 0!==x&&x&&!f,helperText:void 0!==x&&x&&!f?"Campo obbligatorio":j&&O,InputProps:Object(n.a)(Object(n.a)({},e.InputProps),{},{endAdornment:i.a.createElement(i.a.Fragment,null,q?i.a.createElement(d.a,{color:"inherit",size:20}):null,e.InputProps.endAdornment)})}))},renderOption:function(e){return i.a.createElement(s.a,{container:!0,alignItems:"center"},i.a.createElement(s.a,{item:!0,xs:!0},i.a.createElement(m.a,{variant:"body2",color:"textSecondary"},"".concat(e.firstName," ").concat(e.lastName," (").concat(e.email,")"))))}})}},2458:function(e,a,t){"use strict";t.r(a);var n=t(13),r=t(0),l=t.n(r),o=t(148),i=t(960),c=t(972),u=t(932),d=t(177),s=t(8),m=t(209),v=t(123),b=t(74),E=t.n(b),p=t(15),h=t(114),f=t(23),S=t(332),g=t(576),y=t(991),j=t(947),O=t(974),x=t(954),R=t(997),I=t(998),T=t(934),w=t(3),C=t(1101),P=t(124),k=t(24),M=t(30),N=t(1123),U=t(39),A=t(1100),B=t(12),L=t(1107),D=Object(o.a)((function(e){return{root:{},backdrop:{zIndex:e.zIndex.drawer+1},confirmButton:{marginLeft:e.spacing(2)},large:{width:e.spacing(7),height:e.spacing(7)},inputFile:{display:"none"},tenantImage:{objectFit:"contain",width:"100%"},marginCard:{marginTop:e.spacing(2)}}}));var Q=function(e){var a=e.className,t=e.entity,o=(e.status,e.classifications,Object(f.a)(e,["className","entity","status","classifications"])),i=D(),m=Object(P.useSnackbar)().enqueueSnackbar,b=Object(r.useState)(!1),Q=Object(n.a)(b,2),q=Q[0],z=Q[1],G=Object(k.g)(),F=Object(v.a)();return l.a.createElement(l.a.Fragment,null,l.a.createElement(S.a,{className:i.backdrop,open:q},l.a.createElement(u.a,null)),l.a.createElement(C.b,{initialValues:{name:null===t||void 0===t?void 0:t.name,fullName:null===t||void 0===t?void 0:t.fullName,code:null===t||void 0===t?void 0:t.code,enabled:(null===t||void 0===t?void 0:t.enabled)||!1,owner:(null===t||void 0===t?void 0:t.owner)||null,email:null===t||void 0===t?void 0:t.email,mailSyncEnabled:(null===t||void 0===t?void 0:t.mailSyncEnabled)||!1,attachmentMbLimit:(null===t||void 0===t?void 0:t.attachmentMbLimit)||0,inServer:null===t||void 0===t?void 0:t.inServer,inServerPort:null===t||void 0===t?void 0:t.inServerPort,inServerType:null===t||void 0===t?void 0:t.inServerType,inServerSecure:null===t||void 0===t?void 0:t.inServerSecure,inUsername:null===t||void 0===t?void 0:t.inUsername,inPassword:null===t||void 0===t?void 0:t.inPassword,inCheckSeconds:(null===t||void 0===t?void 0:t.inCheckSeconds)||0,outServer:null===t||void 0===t?void 0:t.outServer,outServerPort:null===t||void 0===t?void 0:t.outServerPort,outServerSecure:null===t||void 0===t?void 0:t.outServerSecure,outUsername:null===t||void 0===t?void 0:t.outUsername,outPassword:null===t||void 0===t?void 0:t.outPassword,mailboxType:null===t||void 0===t?void 0:t.mailboxType},validationSchema:L.g().shape({mailboxType:L.j().required(U.a.REQUIRED).nullable(U.a.REQUIRED),name:L.j().required(U.a.REQUIRED).nullable(U.a.REQUIRED),fullName:L.j().required(U.a.REQUIRED).nullable(U.a.REQUIRED),owner:L.j().required(U.a.REQUIRED).nullable(U.a.REQUIRED),email:L.j().when("mailboxType",{is:"MESSAGE",then:L.j(),otherwise:L.j().required(U.a.REQUIRED).nullable(U.a.REQUIRED)}),inServer:L.j().when("mailboxType",{is:"MESSAGE",then:L.j(),otherwise:L.j().required(U.a.REQUIRED).nullable(U.a.REQUIRED)}),inServerPort:L.f().when("mailboxType",{is:"MESSAGE",then:L.f(),otherwise:L.f().required(U.a.REQUIRED).nullable(U.a.REQUIRED)}),inServerType:L.j().when("mailboxType",{is:"MESSAGE",then:L.j(),otherwise:L.j().required(U.a.REQUIRED).nullable(U.a.REQUIRED)}),inServerSecure:L.j().when("mailboxType",{is:"MESSAGE",then:L.j(),otherwise:L.j().required(U.a.REQUIRED).nullable(U.a.REQUIRED)}),inUsername:L.j().when("mailboxType",{is:"MESSAGE",then:L.j(),otherwise:L.j().required(U.a.REQUIRED).nullable(U.a.REQUIRED)}),inPassword:L.j().when("mailboxType",{is:"MESSAGE",then:L.j(),otherwise:L.j().required(U.a.REQUIRED).nullable(U.a.REQUIRED)}),inCheckSeconds:L.f().when("mailboxType",{is:"MESSAGE",then:L.f(),otherwise:L.f().notRequired()}),attachmentMbLimit:L.f().when("mailboxType",{is:"MESSAGE",then:L.f(),otherwise:L.f().notRequired()}),outServer:L.j().when("mailboxType",{is:"MESSAGE",then:L.j(),otherwise:L.j().required(U.a.REQUIRED).nullable(U.a.REQUIRED)}),outServerPort:L.f().when("mailboxType",{is:"MESSAGE",then:L.f(),otherwise:L.f().required(U.a.REQUIRED).nullable(U.a.REQUIRED)}),outServerSecure:L.j().when("mailboxType",{is:"MESSAGE",then:L.j(),otherwise:L.j().required(U.a.REQUIRED).nullable(U.a.REQUIRED)}),outUsername:L.j().when("mailboxType",{is:"MESSAGE",then:L.j(),otherwise:L.j().required(U.a.REQUIRED).nullable(U.a.REQUIRED)}),outPassword:L.j().when("mailboxType",{is:"MESSAGE",then:L.j(),otherwise:L.j().required(U.a.REQUIRED).nullable(U.a.REQUIRED)})}),onSubmit:function(){var e=Object(h.a)(E.a.mark((function e(a,n){var r,l,o,i,c;return E.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=n.setErrors,l=n.setStatus,o=n.setSubmitting,F)try{z(!0),c=Object(p.a)(Object(p.a)({},a),{},{owner:{id:null===a||void 0===a||null===(i=a.owner)||void 0===i?void 0:i.id}}),(null===t||void 0===t?void 0:t.id)&&(c.id=t.id),Object(s.a)({method:(null===t||void 0===t?void 0:t.id)?"PUT":"POST",url:(null===t||void 0===t?void 0:t.id)?"".concat(B.a.MAIL.MAILBOX,"/").concat(t.id):B.a.MAIL.MAILBOX,data:c}).then((function(e){F&&(e.data?(l({success:!0}),m("Mailbox salvato con successo",{variant:"success"}),G.push("/app/system/mailbox")):m("Errore",{variant:"error"}))})).finally((function(){o(!1),z(!1)}))}catch(u){l({success:!1}),r({submit:u.message}),o(!1),z(!1),console.error("e",u)}case 2:case"end":return e.stop()}}),e)})));return function(a,t){return e.apply(this,arguments)}}()},(function(e){var n=e.errors,r=(e.handleBlur,e.handleChange),u=e.handleSubmit,s=e.validateForm,v=e.setFieldValue,b=e.isSubmitting,E=e.touched,p=e.values;return l.a.createElement("form",Object.assign({className:Object(w.default)(i.root,a),autoComplete:"off"},o),l.a.createElement(g.a,null,l.a.createElement(y.a,{title:"Generale"}),l.a.createElement(j.a,null),l.a.createElement(O.a,null,l.a.createElement(d.a,{mt:2},l.a.createElement(c.a,{container:!0,spacing:2},l.a.createElement(c.a,{item:!0,md:12,sx:12},l.a.createElement(x.a,{fullWidth:!0,onChange:r,error:Boolean(E.mailboxType&&n.mailboxType),label:"Tipologia Mailbox",name:"mailboxType",value:p.mailboxType,variant:"outlined",SelectProps:{native:!0},select:!0},l.a.createElement("option",null),l.a.createElement("option",{value:"EMAIL"},"EMAIL"),l.a.createElement("option",{value:"MESSAGE"},"MESSAGGISTICA"))),l.a.createElement(c.a,{item:!0,md:6,sx:6},l.a.createElement(x.a,{fullWidth:!0,onChange:r,error:Boolean(E.name&&n.name),label:"Nome Mailbox",name:"name",value:p.name,variant:"outlined"})),l.a.createElement(c.a,{item:!0,md:6,sx:6},l.a.createElement(x.a,{fullWidth:!0,onChange:r,error:Boolean(E.fullName&&n.fullName),label:"Nome Completo Mailbox",name:"fullName",value:p.fullName,variant:"outlined"})),l.a.createElement(c.a,{item:!0,md:12,sx:12},l.a.createElement(x.a,{fullWidth:!0,onChange:r,error:Boolean(E.
1code&&n.code),label:"Codice",name:"code",value:p.code,variant:"outlined"})),l.a.createElement(c.a,{item:!0,md:12,sx:12},l.a.createElement(R.a,{control:l.a.createElement(I.a,{onChange:r,name:"enabled",color:"primary",values:p.enabled.toString(),checked:p.enabled}),label:"Abilitato"})),l.a.createElement(c.a,{item:!0,xs:12},l.a.createElement(N.a,{label:"Proprietario",errors:n.owner,fieldValue:"owner",setFieldValue:v,touched:E.owner,values:p.owner})),l.a.createElement(c.a,{item:!0,md:6,sx:6},l.a.createElement(x.a,{fullWidth:!0,onChange:r,error:Boolean(E.email&&n.email),label:"Email",name:"email",value:p.email,variant:"outlined"})),"MESSAGE"!==(null===p||void 0===p?void 0:p.mailboxType)&&l.a.createElement(c.a,{item:!0,md:6,sx:6},l.a.createElement(x.a,{fullWidth:!0,onChange:r,error:Boolean(E.attachmentMbLimit&&n.attachmentMbLimit),label:"Limite allegati (Megabyte)",name:"attachmentMbLimit",value:p.attachmentMbLimit,variant:"outlined"})),"MESSAGE"!==(null===p||void 0===p?void 0:p.mailboxType)&&l.a.createElement(c.a,{item:!0,md:12,sx:12},l.a.createElement(R.a,{control:l.a.createElement(I.a,{onChange:r,name:"mailSyncEnabled",color:"primary",values:p.mailSyncEnabled.toString(),checked:p.mailSyncEnabled}),label:"Abilita Sync"})))))),"MESSAGE"!==(null===p||void 0===p?void 0:p.mailboxType)&&l.a.createElement(g.a,{className:i.marginCard},l.a.createElement(y.a,{title:"Server in ingresso"}),l.a.createElement(j.a,null),l.a.createElement(O.a,null,l.a.createElement(d.a,{mt:2},l.a.createElement(c.a,{container:!0,spacing:2},l.a.createElement(c.a,{item:!0,md:6,sx:6},l.a.createElement(x.a,{fullWidth:!0,onChange:r,error:Boolean(E.inServer&&n.inServer),label:"Nome (Hostname)",name:"inServer",value:p.inServer,variant:"outlined"})),l.a.createElement(c.a,{item:!0,md:6,sx:6},l.a.createElement(x.a,{fullWidth:!0,onChange:r,error:Boolean(E.inServerPort&&n.inServerPort),label:"Porta",name:"inServerPort",value:p.inServerPort,variant:"outlined"})),l.a.createElement(c.a,{item:!0,md:6,sx:6},l.a.createElement(x.a,{fullWidth:!0,onChange:r,error:Boolean(E.inServerType&&n.inServerType),label:"Tipologia",name:"inServerType",value:p.inServerType,variant:"outlined",select:!0,SelectProps:{native:!0}},l.a.createElement("option",null),l.a.createElement("option",{value:"IMAP"},"IMAP"))),l.a.createElement(c.a,{item:!0,md:6,sx:6},l.a.createElement(x.a,{fullWidth:!0,onChange:r,error:Boolean(E.inServerSecure&&n.inServerSecure),label:"Sicurezza",name:"inServerSecure",value:p.inServerSecure,variant:"outlined",select:!0,SelectProps:{native:!0}},l.a.createElement("option",null),l.a.createElement("option",{value:"SECNONE"},"Nessuno"),l.a.createElement("option",{value:"STARTTLS"},"STARTTLS"),l.a.createElement("option",{value:"SSLTLS"},"SSL/TLS"))),l.a.createElement(c.a,{item:!0,md:6,sx:6},l.a.createElement(x.a,{fullWidth:!0,onChange:r,error:Boolean(E.inUsername&&n.inUsername),label:"Username",name:"inUsername",value:p.inUsername,variant:"outlined"})),l.a.createElement(c.a,{item:!0,md:6,sx:6},l.a.createElement(x.a,{fullWidth:!0,onChange:r,error:Boolean(E.inPassword&&n.inPassword),label:"Password",name:"inPassword",value:p.inPassword,variant:"outlined"})),l.a.createElement(c.a,{item:!0,md:12,sx:12},l.a.createElement(x.a,{fullWidth:!0,onChange:r,error:Boolean(E.inCheckSeconds&&n.inCheckSeconds),label:"Polling (secondi)",name:"inCheckSeconds",value:p.inCheckSeconds,variant:"outlined"})))))),"MESSAGE"!==(null===p||void 0===p?void 0:p.mailboxType)&&l.a.createElement(g.a,{className:i.marginCard},l.a.createElement(y.a,{title:"Server in uscita"}),l.a.createElement(j.a,null),l.a.createElement(O.a,null,l.a.createElement(d.a,{mt:2},l.a.createElement(c.a,{container:!0,spacing:2},l.a.createElement(c.a,{item:!0,md:6,sx:6},l.a.createElement(x.a,{fullWidth:!0,onChange:r,error:Boolean(E.outServer&&n.outServer),label:"Nome (Hostname)",name:"outServer",value:p.outServer,variant:"outlined"})),l.a.createElement(c.a,{item:!0,md:6,sx:6},l.a.createElement(x.a,{fullWidth:!0,onChange:r,error:Boolean(E.outServerPort&&n.outServerPort),label:"Porta",name:"outServerPort",value:p.outServerPort,variant:"outlined"})),l.a.createElement(c.a,{item:!0,md:6,sx:6},l.a.createElement(x.a,{fullWidth:!0,label:"Tipologia",name:"outServerType",variant:"outlined",select:!0,SelectProps:{native:!0},disabled:!0},l.a.createElement("option",{value:"STMP"},"STMP"))),l.a.createElement(c.a,{item:!0,md:6,sx:6},l.a.createElement(x.a,{fullWidth:!0,onChange:r,error:Boolean(E.outServerSecure&&n.outServerSecure),label:"Sicurezza",name:"outServerSecure",value:p.outServerSecure,variant:"outlined",select:!0,SelectProps:{native:!0}},l.a.createElement("option",null),l.a.createElement("option",{value:"SECNONE"},"Nessuno"),l.a.createElement("option",{value:"STARTTLS"},"STARTTLS"),l.a.createElement("option",{value:"SSLTLS"},"SSL/TLS"))),l.a.createElement(c.a,{item:!0,md:6,sx:6},l.a.createElement(x.a,{fullWidth:!0,onChange:r,error:Boolean(E.outUsername&&n.outUsername),label:"Username",name:"outUsername",value:p.outUsername,variant:"outlined"})),l.a.createElement(c.a,{item:!0,md:6,sx:6},l.a.createElement(x.a,{fullWidth:!0,onChange:r,error:Boolean(E.outPassword&&n.outPassword),label:"Password",name:"outPassword",value:p.outPassword,variant:"outlined"})))))),l.a.createElement(d.a,{mt:3,display:"flex"},l.a.createElement(T.a,{variant:"text",size:"large",component:M.a,to:"/app/system/mailbox"},"Annulla"),l.a.createElement(d.a,{flexGrow:1}),l.a.createElement(T.a,{variant:"contained",color:"secondary",type:"button",onClick:function(){return Object(A.b)(s,u,m)}
1,size:"large",disabled:b},t?U.a.ACTION_SAVE:U.a.ACTION_CREATE)))})))},q=Object(o.a)((function(){return{root:{}}}));var z=function(e){var a=e.className,t=(e.entity,e.isLoading,Object(f.a)(e,["className","entity","isLoading"])),n=q();return l.a.createElement("div",Object.assign({className:Object(w.default)(n.root,a)},t))},G=t(59),F=Object(o.a)((function(e){return{root:{backgroundColor:e.palette.background.dark,minHeight:"100%",paddingTop:e.spacing(3),paddingBottom:e.spacing(3)},h_100:{height:"100%"},loader:{display:"flex",alignItems:"center",justifyContent:"center"}}}));a.default=function(){var e=F(),a=Object(v.a)(),t=Object(k.i)().entityId,o=Object(r.useState)(),b=Object(n.a)(o,2),E=b[0],p=b[1],h=Object(r.useState)(null),f=Object(n.a)(h,2),S=f[0],g=(f[1],Object(r.useState)(!0)),y=Object(n.a)(g,2),j=y[0],O=y[1],x=Object(r.useCallback)((function(){O(!0),t?s.a.get("".concat(B.a.MAIL.MAILBOX,"/").concat(t)).then((function(e){a.current&&p(e.data)})).finally((function(){O(!1)})):O(!1)}),[a]);Object(r.useEffect)((function(){x()}),[x]);var R=[{title:"Impostazioni"},{title:"Mailbox"},{title:"Mailbox",link:"/app/system/mailbox"},{title:t?"#".concat(t):"Nuovo"}];return G.a.setBreadcrumbs(R),l.a.createElement(m.a,{className:e.root,title:"".concat(E?"Modifica":"Aggiungi")},l.a.createElement(i.a,{maxWidth:!1},l.a.createElement(z,{entity:E,isLoading:j}),j?l.a.createElement(c.a,{item:!0,xs:12,className:"".concat(e.h_100," ").concat(e.loader)},l.a.createElement(u.a,null)):l.a.createElement(d.a,{mt:3},l.a.createElement(Q,{entity:E,status:S}))))}},991:function(e,a,t){"use strict";var n=t(1),r=t(5),l=t(0),o=(t(2),t(3)),i=t(9),c=t(49),u=l.forwardRef((function(e,a){var t=e.action,i=e.avatar,u=e.classes,d=e.className,s=e.component,m=void 0===s?"div":s,v=e.disableTypography,b=void 0!==v&&v,E=e.subheader,p=e.subheaderTypographyProps,h=e.title,f=e.titleTypographyProps,S=Object(r.a)(e,["action","avatar","classes","className","component","disableTypography","subheader","subheaderTypographyProps","title","titleTypographyProps"]),g=h;null==g||g.type===c.a||b||(g=l.createElement(c.a,Object(n.a)({variant:i?"body2":"h5",className:u.title,component:"span",display:"block"},f),g));var y=E;return null==y||y.type===c.a||b||(y=l.createElement(c.a,Object(n.a)({variant:i?"body2":"body1",className:u.subheader,color:"textSecondary",component:"span",display:"block"},p),y)),l.createElement(m,Object(n.a)({className:Object(o.default)(u.root,d),ref:a},S),i&&l.createElement("div",{className:u.avatar},i),l.createElement("div",{className:u.content},g,y),t&&l.createElement("div",{className:u.action},t))}));a.a=Object(i.a)({root:{display:"flex",alignItems:"center",padding:16},avatar:{flex:"0 0 auto",marginRight:16},action:{flex:"0 0 auto",alignSelf:"flex-start",marginTop:-8,marginRight:-8},content:{flex:"1 1 auto"},title:{},subheader:{}},{name:"MuiCardHeader"})(u)},997:function(e,a,t){"use strict";var n=t(1),r=t(5),l=t(0),o=(t(2),t(3)),i=t(107),c=t(9),u=t(49),d=t(11),s=l.forwardRef((function(e,a){e.checked;var t=e.classes,c=e.className,s=e.control,m=e.disabled,v=(e.inputRef,e.label),b=e.labelPlacement,E=void 0===b?"end":b,p=(e.name,e.onChange,e.value,Object(r.a)(e,["checked","classes","className","control","disabled","inputRef","label","labelPlacement","name","onChange","value"])),h=Object(i.a)(),f=m;"undefined"===typeof f&&"undefined"!==typeof s.props.disabled&&(f=s.props.disabled),"undefined"===typeof f&&h&&(f=h.disabled);var S={disabled:f};return["checked","name","onChange","value","inputRef"].forEach((function(a){"undefined"===typeof s.props[a]&&"undefined"!==typeof e[a]&&(S[a]=e[a])})),l.createElement("label",Object(n.a)({className:Object(o.default)(t.root,c,"end"!==E&&t["labelPlacement".concat(Object(d.a)(E))],f&&t.disabled),ref:a},p),l.cloneElement(s,S),l.createElement(u.a,{component:"span",className:Object(o.default)(t.label,f&&t.disabled)},v))}));a.a=Object(c.a)((function(e){return{root:{display:"inline-flex",alignItems:"center",cursor:"pointer",verticalAlign:"middle",WebkitTapHighlightColor:"transparent",marginLeft:-11,marginRight:16,"&$disabled":{cursor:"default"}},labelPlacementStart:{flexDirection:"row-reverse",marginLeft:16,marginRight:-11},labelPlacementTop:{flexDirection:"column-reverse",marginLeft:16},labelPlacementBottom:{flexDirection:"column",marginLeft:16},disabled:{},label:{"&$disabled":{color:e.palette.text.disabled}}}}
1),{name:"MuiFormControlLabel"})(s)},998:function(e,a,t){"use strict";var n=t(1),r=t(5),l=t(0),o=(t(2),t(3)),i=t(1112),c=t(126),u=Object(c.a)(l.createElement("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"),d=Object(c.a)(l.createElement("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"),s=t(14),m=Object(c.a)(l.createElement("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"),v=t(11),b=t(9),E=l.createElement(d,null),p=l.createElement(u,null),h=l.createElement(m,null),f=l.forwardRef((function(e,a){var t=e.checkedIcon,c=void 0===t?E:t,u=e.classes,d=e.color,s=void 0===d?"secondary":d,m=e.icon,b=void 0===m?p:m,f=e.indeterminate,S=void 0!==f&&f,g=e.indeterminateIcon,y=void 0===g?h:g,j=e.inputProps,O=e.size,x=void 0===O?"medium":O,R=Object(r.a)(e,["checkedIcon","classes","color","icon","indeterminate","indeterminateIcon","inputProps","size"]),I=S?y:b,T=S?y:c;return l.createElement(i.a,Object(n.a)({type:"checkbox",classes:{root:Object(o.default)(u.root,u["color".concat(Object(v.a)(s))],S&&u.indeterminate),checked:u.checked,disabled:u.disabled},color:s,inputProps:Object(n.a)({"data-indeterminate":S},j),icon:l.cloneElement(I,{fontSize:void 0===I.props.fontSize&&"small"===x?x:I.props.fontSize}),checkedIcon:l.cloneElement(T,{fontSize:void 0===T.props.fontSize&&"small"===x?x:T.props.fontSize}),ref:a},R))}));a.a=Object(b.a)((function(e){return{root:{color:e.palette.text.secondary},checked:{},disabled:{},indeterminate:{},colorPrimary:{"&$checked":{color:e.palette.primary.main,"&:hover":{backgroundColor:Object(s.d)(e.palette.primary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"&$disabled":{color:e.palette.action.disabled}},colorSecondary:{"&$checked":{color:e.palette.secondary.main,"&:hover":{backgroundColor:Object(s.d)(e.palette.secondary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"&$disabled":{color:e.palette.action.disabled}}}}),{name:"MuiCheckbox"})(f)}}]); 2//# sourceMappingURL=18.aee0155f.chunk.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.