Files
Express_console_build/build/static/js/1912.0349361e.chunk.js

1 line
14 KiB
JavaScript

(self.webpackChunkmantis_material_react=self.webpackChunkmantis_material_react||[]).push([[1912],{4159:function(t){t.exports=function(){"use strict";var t=1e3,e=6e4,r=36e5,n="millisecond",i="second",a="minute",o="hour",s="day",c="week",u="month",l="quarter",d="year",p="date",h="Invalid Date",f=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,m=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,v={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(t){var e=["th","st","nd","rd"],r=t%100;return"["+t+(e[(r-20)%10]||e[r]||e[0])+"]"}},g=function(t,e,r){var n=String(t);return!n||n.length>=e?t:""+Array(e+1-n.length).join(r)+t},$={s:g,z:function(t){var e=-t.utcOffset(),r=Math.abs(e),n=Math.floor(r/60),i=r%60;return(e<=0?"+":"-")+g(n,2,"0")+":"+g(i,2,"0")},m:function t(e,r){if(e.date()<r.date())return-t(r,e);var n=12*(r.year()-e.year())+(r.month()-e.month()),i=e.clone().add(n,u),a=r-i<0,o=e.clone().add(n+(a?-1:1),u);return+(-(n+(r-i)/(a?i-o:o-i))||0)},a:function(t){return t<0?Math.ceil(t)||0:Math.floor(t)},p:function(t){return{M:u,y:d,w:c,d:s,D:p,h:o,m:a,s:i,ms:n,Q:l}[t]||String(t||"").toLowerCase().replace(/s$/,"")},u:function(t){return void 0===t}},A="en",y={};y[A]=v;var S="$isDayjsObject",x=function(t){return t instanceof D||!(!t||!t[S])},b=function t(e,r,n){var i;if(!e)return A;if("string"==typeof e){var a=e.toLowerCase();y[a]&&(i=a),r&&(y[a]=r,i=a);var o=e.split("-");if(!i&&o.length>1)return t(o[0])}else{var s=e.name;y[s]=e,i=s}return!n&&i&&(A=i),i||!n&&A},M=function(t,e){if(x(t))return t.clone();var r="object"==typeof e?e:{};return r.date=t,r.args=arguments,new D(r)},w=$;w.l=b,w.i=x,w.w=function(t,e){return M(t,{locale:e.$L,utc:e.$u,x:e.$x,$offset:e.$offset})};var D=function(){function v(t){this.$L=b(t.locale,null,!0),this.parse(t),this.$x=this.$x||t.x||{},this[S]=!0}var g=v.prototype;return g.parse=function(t){this.$d=function(t){var e=t.date,r=t.utc;if(null===e)return new Date(NaN);if(w.u(e))return new Date;if(e instanceof Date)return new Date(e);if("string"==typeof e&&!/Z$/i.test(e)){var n=e.match(f);if(n){var i=n[2]-1||0,a=(n[7]||"0").substring(0,3);return r?new Date(Date.UTC(n[1],i,n[3]||1,n[4]||0,n[5]||0,n[6]||0,a)):new Date(n[1],i,n[3]||1,n[4]||0,n[5]||0,n[6]||0,a)}}return new Date(e)}(t),this.init()},g.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds()},g.$utils=function(){return w},g.isValid=function(){return!(this.$d.toString()===h)},g.isSame=function(t,e){var r=M(t);return this.startOf(e)<=r&&r<=this.endOf(e)},g.isAfter=function(t,e){return M(t)<this.startOf(e)},g.isBefore=function(t,e){return this.endOf(e)<M(t)},g.$g=function(t,e,r){return w.u(t)?this[e]:this.set(r,t)},g.unix=function(){return Math.floor(this.valueOf()/1e3)},g.valueOf=function(){return this.$d.getTime()},g.startOf=function(t,e){var r=this,n=!!w.u(e)||e,l=w.p(t),h=function(t,e){var i=w.w(r.$u?Date.UTC(r.$y,e,t):new Date(r.$y,e,t),r);return n?i:i.endOf(s)},f=function(t,e){return w.w(r.toDate()[t].apply(r.toDate("s"),(n?[0,0,0,0]:[23,59,59,999]).slice(e)),r)},m=this.$W,v=this.$M,g=this.$D,$="set"+(this.$u?"UTC":"");switch(l){case d:return n?h(1,0):h(31,11);case u:return n?h(1,v):h(0,v+1);case c:var A=this.$locale().weekStart||0,y=(m<A?m+7:m)-A;return h(n?g-y:g+(6-y),v);case s:case p:return f($+"Hours",0);case o:return f($+"Minutes",1);case a:return f($+"Seconds",2);case i:return f($+"Milliseconds",3);default:return this.clone()}},g.endOf=function(t){return this.startOf(t,!1)},g.$set=function(t,e){var r,c=w.p(t),l="set"+(this.$u?"UTC":""),h=(r={},r[s]=l+"Date",r[p]=l+"Date",r[u]=l+"Month",r[d]=l+"FullYear",r[o]=l+"Hours",r[a]=l+"Minutes",r[i]=l+"Seconds",r[n]=l+"Milliseconds",r)[c],f=c===s?this.$D+(e-this.$W):e;if(c===u||c===d){var m=this.clone().set(p,1);m.$d[h](f),m.init(),this.$d=m.set(p,Math.min(this.$D,m.daysInMonth())).$d}else h&&this.$d[h](f);return this.init(),this},g.set=function(t,e){return this.clone().$set(t,e)},g.get=function(t){return this[w.p(t)]()},g.add=function(n,l){var p,h=this;n=Number(n);var f=w.p(l),m=function(t){var e=M(h);return w.w(e.date(e.date()+Math.round(t*n)),h)};if(f===u)return this.set(u,this.$M+n);if(f===d)return this.set(d,this.$y+n);if(f===s)return m(1);if(f===c)return m(7);var v=(p={},p[a]=e,p[o]=r,p[i]=t,p)[f]||1,g=this.$d.getTime()+n*v;return w.w(g,this)},g.subtract=function(t,e){return this.add(-1*t,e)},g.format=function(t){var e=this,r=this.$locale();if(!this.isValid())return r.invalidDate||h;var n=t||"YYYY-MM-DDTHH:mm:ssZ",i=w.z(this),a=this.$H,o=this.$m,s=this.$M,c=r.weekdays,u=r.months,l=r.meridiem,d=function(t,r,i,a){return t&&(t[r]||t(e,n))||i[r].slice(0,a)},p=function(t){return w.s(a%12||12,t,"0")},f=l||function(t,e,r){var n=t<12?"AM":"PM";return r?n.toLowerCase():n};return n.replace(m,(function(t,n){return n||function(t){switch(t){case"YY":return String(e.$y).slice(-2);case"YYYY":return w.s(e.$y,4,"0");case"M":return s+1;case"MM":return w.s(s+1,2,"0");case"MMM":return d(r.monthsShort,s,u,3);case"MMMM":return d(u,s);case"D":return e.$D;case"DD":return w.s(e.$D,2,"0");case"d":return String(e.$W);case"dd":return d(r.weekdaysMin,e.$W,c,2);case"ddd":return d(r.weekdaysShort,e.$W,c,3);case"dddd":return c[e.$W];case"H":return String(a);case"HH":return w.s(a,2,"0");case"h":return p(1);case"hh":return p(2);case"a":return f(a,o,!0);case"A":return f(a,o,!1);case"m":return String(o);case"mm":return w.s(o,2,"0");case"s":return String(e.$s);case"ss":return w.s(e.$s,2,"0");case"SSS":return w.s(e.$ms,3,"0");case"Z":return i}return null}(t)||i.replace(":","")}))},g.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},g.diff=function(n,p,h){var f,m=this,v=w.p(p),g=M(n),$=(g.utcOffset()-this.utcOffset())*e,A=this-g,y=function(){return w.m(m,g)};switch(v){case d:f=y()/12;break;case u:f=y();break;case l:f=y()/3;break;case c:f=(A-$)/6048e5;break;case s:f=(A-$)/864e5;break;case o:f=A/r;break;case a:f=A/e;break;case i:f=A/t;break;default:f=A}return h?f:w.a(f)},g.daysInMonth=function(){return this.endOf(u).$D},g.$locale=function(){return y[this.$L]},g.locale=function(t,e){if(!t)return this.$L;var r=this.clone(),n=b(t,e,!0);return n&&(r.$L=n),r},g.clone=function(){return w.w(this.$d,this)},g.toDate=function(){return new Date(this.valueOf())},g.toJSON=function(){return this.isValid()?this.toISOString():null},g.toISOString=function(){return this.$d.toISOString()},g.toString=function(){return this.$d.toUTCString()},v}(),k=D.prototype;return M.prototype=k,[["$ms",n],["$s",i],["$m",a],["$H",o],["$W",s],["$M",u],["$y",d],["$D",p]].forEach((function(t){k[t[1]]=function(e){return this.$g(e,t[0],t[1])}})),M.extend=function(t,e){return t.$i||(t(e,D,M),t.$i=!0),M},M.locale=b,M.isDayjs=x,M.unix=function(t){return M(1e3*t)},M.en=y[A],M.Ls=y,M.p={},M}()},5536:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});const n=r(9950).createContext({})},21427:(t,e,r)=>{"use strict";r.d(e,{A:()=>o,f:()=>a});var n=r(45558),i=r(1614);function a(t){return(0,i.Ay)("MuiDialog",t)}const o=(0,n.A)("MuiDialog",["root","scrollPaper","scrollBody","container","paper","paperScrollPaper","paperScrollBody","paperWidthFalse","paperWidthXs","paperWidthSm","paperWidthMd","paperWidthLg","paperWidthXl","paperFullWidth","paperFullScreen"])},23025:(t,e,r)=>{"use strict";r.d(e,{A:()=>o,t:()=>a});var n=r(45558),i=r(1614);function a(t){return(0,i.Ay)("MuiDialogTitle",t)}const o=(0,n.A)("MuiDialogTitle",["root"])},28170:(t,e,r)=>{"use strict";r.d(e,{A:()=>g});var n=r(98587),i=r(58168),a=r(9950),o=r(72004),s=r(3484),c=r(59254),u=r(18463),l=r(45558),d=r(1614);function p(t){return(0,d.Ay)("MuiDialogContent",t)}(0,l.A)("MuiDialogContent",["root","dividers"]);var h=r(23025),f=r(44414);const m=["className","dividers"],v=(0,c.Ay)("div",{name:"MuiDialogContent",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[e.root,r.dividers&&e.dividers]}})((t=>{let{theme:e,ownerState:r}=t;return(0,i.A)({flex:"1 1 auto",WebkitOverflowScrolling:"touch",overflowY:"auto",padding:"20px 24px"},r.dividers?{padding:"16px 24px",borderTop:"1px solid ".concat((e.vars||e).palette.divider),borderBottom:"1px solid ".concat((e.vars||e).palette.divider)}:{[".".concat(h.A.root," + &")]:{paddingTop:0}})})),g=a.forwardRef((function(t,e){const r=(0,u.b)({props:t,name:"MuiDialogContent"}),{className:a,dividers:c=!1}=r,l=(0,n.A)(r,m),d=(0,i.A)({},r,{dividers:c}),h=(t=>{const{classes:e,dividers:r}=t,n={root:["root",r&&"dividers"]};return(0,s.A)(n,p,e)})(d);return(0,f.jsx)(v,(0,i.A)({className:(0,o.A)(h.root,a),ownerState:d,ref:e},l))}))},63189:(t,e,r)=>{"use strict";var n=r(24994);e.A=void 0;var i=n(r(79526)),a=r(44414);e.A=(0,i.default)((0,a.jsx)("path",{d:"M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20z"}),"ArrowBack")},79739:(t,e,r)=>{"use strict";r.d(e,{A:()=>v});var n=r(98587),i=r(58168),a=r(9950),o=r(72004),s=r(3484),c=r(59254),u=r(18463),l=r(45558),d=r(1614);function p(t){return(0,d.Ay)("MuiDialogActions",t)}(0,l.A)("MuiDialogActions",["root","spacing"]);var h=r(44414);const f=["className","disableSpacing"],m=(0,c.Ay)("div",{name:"MuiDialogActions",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[e.root,!r.disableSpacing&&e.spacing]}})((t=>{let{ownerState:e}=t;return(0,i.A)({display:"flex",alignItems:"center",padding:8,justifyContent:"flex-end",flex:"0 0 auto"},!e.disableSpacing&&{"& > :not(style) ~ :not(style)":{marginLeft:8}})})),v=a.forwardRef((function(t,e){const r=(0,u.b)({props:t,name:"MuiDialogActions"}),{className:a,disableSpacing:c=!1}=r,l=(0,n.A)(r,f),d=(0,i.A)({},r,{disableSpacing:c}),v=(t=>{const{classes:e,disableSpacing:r}=t,n={root:["root",!r&&"spacing"]};return(0,s.A)(n,p,e)})(d);return(0,h.jsx)(m,(0,i.A)({className:(0,o.A)(v.root,a),ownerState:d,ref:e},l))}))},96583:(t,e,r)=>{"use strict";r.d(e,{A:()=>w});var n=r(98587),i=r(58168),a=r(9950),o=r(72004),s=r(3484),c=r(95014),u=r(89548),l=r(29120),d=r(57191),p=r(2235),h=r(18463),f=r(59254),m=r(21427),v=r(5536),g=r(55158),$=r(14857),A=r(44414);const y=["aria-describedby","aria-labelledby","BackdropComponent","BackdropProps","children","className","disableEscapeKeyDown","fullScreen","fullWidth","maxWidth","onBackdropClick","onClick","onClose","open","PaperComponent","PaperProps","scroll","TransitionComponent","transitionDuration","TransitionProps"],S=(0,f.Ay)(g.A,{name:"MuiDialog",slot:"Backdrop",overrides:(t,e)=>e.backdrop})({zIndex:-1}),x=(0,f.Ay)(l.A,{name:"MuiDialog",slot:"Root",overridesResolver:(t,e)=>e.root})({"@media print":{position:"absolute !important"}}),b=(0,f.Ay)("div",{name:"MuiDialog",slot:"Container",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[e.container,e["scroll".concat((0,u.A)(r.scroll))]]}})((t=>{let{ownerState:e}=t;return(0,i.A)({height:"100%","@media print":{height:"auto"},outline:0},"paper"===e.scroll&&{display:"flex",justifyContent:"center",alignItems:"center"},"body"===e.scroll&&{overflowY:"auto",overflowX:"hidden",textAlign:"center","&::after":{content:'""',display:"inline-block",verticalAlign:"middle",height:"100%",width:"0"}})})),M=(0,f.Ay)(p.A,{name:"MuiDialog",slot:"Paper",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[e.paper,e["scrollPaper".concat((0,u.A)(r.scroll))],e["paperWidth".concat((0,u.A)(String(r.maxWidth)))],r.fullWidth&&e.paperFullWidth,r.fullScreen&&e.paperFullScreen]}})((t=>{let{theme:e,ownerState:r}=t;return(0,i.A)({margin:32,position:"relative",overflowY:"auto","@media print":{overflowY:"visible",boxShadow:"none"}},"paper"===r.scroll&&{display:"flex",flexDirection:"column",maxHeight:"calc(100% - 64px)"},"body"===r.scroll&&{display:"inline-block",verticalAlign:"middle",textAlign:"left"},!r.maxWidth&&{maxWidth:"calc(100% - 64px)"},"xs"===r.maxWidth&&{maxWidth:"px"===e.breakpoints.unit?Math.max(e.breakpoints.values.xs,444):"max(".concat(e.breakpoints.values.xs).concat(e.breakpoints.unit,", 444px)"),["&.".concat(m.A.paperScrollBody)]:{[e.breakpoints.down(Math.max(e.breakpoints.values.xs,444)+64)]:{maxWidth:"calc(100% - 64px)"}}},r.maxWidth&&"xs"!==r.maxWidth&&{maxWidth:"".concat(e.breakpoints.values[r.maxWidth]).concat(e.breakpoints.unit),["&.".concat(m.A.paperScrollBody)]:{[e.breakpoints.down(e.breakpoints.values[r.maxWidth]+64)]:{maxWidth:"calc(100% - 64px)"}}},r.fullWidth&&{width:"calc(100% - 64px)"},r.fullScreen&&{margin:0,width:"100%",maxWidth:"100%",height:"100%",maxHeight:"none",borderRadius:0,["&.".concat(m.A.paperScrollBody)]:{margin:0,maxWidth:"100%"}})})),w=a.forwardRef((function(t,e){const r=(0,h.b)({props:t,name:"MuiDialog"}),l=(0,$.A)(),f={enter:l.transitions.duration.enteringScreen,exit:l.transitions.duration.leavingScreen},{"aria-describedby":g,"aria-labelledby":w,BackdropComponent:D,BackdropProps:k,children:W,className:C,disableEscapeKeyDown:O=!1,fullScreen:_=!1,fullWidth:T=!1,maxWidth:N="sm",onBackdropClick:P,onClick:Y,onClose:B,open:H,PaperComponent:j=p.A,PaperProps:L={},scroll:R="paper",TransitionComponent:F=d.A,transitionDuration:I=f,TransitionProps:z}=r,E=(0,n.A)(r,y),U=(0,i.A)({},r,{disableEscapeKeyDown:O,fullScreen:_,fullWidth:T,maxWidth:N,scroll:R}),J=(t=>{const{classes:e,scroll:r,maxWidth:n,fullWidth:i,fullScreen:a}=t,o={root:["root"],container:["container","scroll".concat((0,u.A)(r))],paper:["paper","paperScroll".concat((0,u.A)(r)),"paperWidth".concat((0,u.A)(String(n))),i&&"paperFullWidth",a&&"paperFullScreen"]};return(0,s.A)(o,m.f,e)})(U),K=a.useRef(),Z=(0,c.A)(w),V=a.useMemo((()=>({titleId:Z})),[Z]);return(0,A.jsx)(x,(0,i.A)({className:(0,o.A)(J.root,C),closeAfterTransition:!0,components:{Backdrop:S},componentsProps:{backdrop:(0,i.A)({transitionDuration:I,as:D},k)},disableEscapeKeyDown:O,onClose:B,open:H,ref:e,onClick:t=>{Y&&Y(t),K.current&&(K.current=null,P&&P(t),B&&B(t,"backdropClick"))},ownerState:U},E,{children:(0,A.jsx)(F,(0,i.A)({appear:!0,in:H,timeout:I,role:"presentation"},z,{children:(0,A.jsx)(b,{className:(0,o.A)(J.container),onMouseDown:t=>{K.current=t.target===t.currentTarget},ownerState:U,children:(0,A.jsx)(M,(0,i.A)({as:j,elevation:24,role:"dialog","aria-describedby":g,"aria-labelledby":Z},L,{className:(0,o.A)(J.paper,L.className),ownerState:U,children:(0,A.jsx)(v.A.Provider,{value:V,children:W})}))})}))}))}))}}]);