Files
Express_console_build/build/static/js/3257.74ffd204.chunk.js

1 line
8.7 KiB
JavaScript

"use strict";(self.webpackChunkmantis_material_react=self.webpackChunkmantis_material_react||[]).push([[3257],{46639:(t,e,s)=>{s.d(e,{A:()=>E});var i=s(57528),r=s(98587),a=s(58168),n=s(9950),o=s(72004),c=s(3484),l=s(88283),h=s(89548),u=s(18463),d=s(59254),v=s(45558),A=s(1614);function f(t){return(0,A.Ay)("MuiCircularProgress",t)}(0,v.A)("MuiCircularProgress",["root","determinate","indeterminate","colorPrimary","colorSecondary","svg","circle","circleDeterminate","circleIndeterminate","circleDisableShrink"]);var p,m,g,b,k=s(44414);const S=["className","color","disableShrink","size","style","thickness","value","variant"];let w,y,x,P;const M=44,C=(0,l.i7)(w||(w=p||(p=(0,i.A)(["\n 0% {\n transform: rotate(0deg);\n }\n\n 100% {\n transform: rotate(360deg);\n }\n"])))),R=(0,l.i7)(y||(y=m||(m=(0,i.A)(["\n 0% {\n stroke-dasharray: 1px, 200px;\n stroke-dashoffset: 0;\n }\n\n 50% {\n stroke-dasharray: 100px, 200px;\n stroke-dashoffset: -15px;\n }\n\n 100% {\n stroke-dasharray: 100px, 200px;\n stroke-dashoffset: -125px;\n }\n"])))),N=(0,d.Ay)("span",{name:"MuiCircularProgress",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:s}=t;return[e.root,e[s.variant],e["color".concat((0,h.A)(s.color))]]}})((t=>{let{ownerState:e,theme:s}=t;return(0,a.A)({display:"inline-block"},"determinate"===e.variant&&{transition:s.transitions.create("transform")},"inherit"!==e.color&&{color:(s.vars||s).palette[e.color].main})}),(t=>{let{ownerState:e}=t;return"indeterminate"===e.variant&&(0,l.AH)(x||(x=g||(g=(0,i.A)(["\n animation: "," 1.4s linear infinite;\n "]))),C)})),O=(0,d.Ay)("svg",{name:"MuiCircularProgress",slot:"Svg",overridesResolver:(t,e)=>e.svg})({display:"block"}),D=(0,d.Ay)("circle",{name:"MuiCircularProgress",slot:"Circle",overridesResolver:(t,e)=>{const{ownerState:s}=t;return[e.circle,e["circle".concat((0,h.A)(s.variant))],s.disableShrink&&e.circleDisableShrink]}})((t=>{let{ownerState:e,theme:s}=t;return(0,a.A)({stroke:"currentColor"},"determinate"===e.variant&&{transition:s.transitions.create("stroke-dashoffset")},"indeterminate"===e.variant&&{strokeDasharray:"80px, 200px",strokeDashoffset:0})}),(t=>{let{ownerState:e}=t;return"indeterminate"===e.variant&&!e.disableShrink&&(0,l.AH)(P||(P=b||(b=(0,i.A)(["\n animation: "," 1.4s ease-in-out infinite;\n "]))),R)})),E=n.forwardRef((function(t,e){const s=(0,u.b)({props:t,name:"MuiCircularProgress"}),{className:i,color:n="primary",disableShrink:l=!1,size:d=40,style:v,thickness:A=3.6,value:p=0,variant:m="indeterminate"}=s,g=(0,r.A)(s,S),b=(0,a.A)({},s,{color:n,disableShrink:l,size:d,thickness:A,value:p,variant:m}),w=(t=>{const{classes:e,variant:s,color:i,disableShrink:r}=t,a={root:["root",s,"color".concat((0,h.A)(i))],svg:["svg"],circle:["circle","circle".concat((0,h.A)(s)),r&&"circleDisableShrink"]};return(0,c.A)(a,f,e)})(b),y={},x={},P={};if("determinate"===m){const t=2*Math.PI*((M-A)/2);y.strokeDasharray=t.toFixed(3),P["aria-valuenow"]=Math.round(p),y.strokeDashoffset="".concat(((100-p)/100*t).toFixed(3),"px"),x.transform="rotate(-90deg)"}return(0,k.jsx)(N,(0,a.A)({className:(0,o.A)(w.root,i),style:(0,a.A)({width:d,height:d},x,v),ownerState:b,ref:e,role:"progressbar"},P,g,{children:(0,k.jsx)(O,{className:w.svg,ownerState:b,viewBox:"".concat(22," ").concat(22," ").concat(M," ").concat(M),children:(0,k.jsx)(D,{className:w.circle,style:y,ownerState:b,cx:M,cy:M,r:(M-A)/2,fill:"none",strokeWidth:A})})}))}))},51778:(t,e,s)=>{s.d(e,{n:()=>P});var i,r,a,n,o,c,l=s(89379),h=s(9950),u=s(39790),d=s(55149),v=s(64137),A=s(83568),f=s(53167),p=s(92750),m=s(15941),g=s(95732),b=s(61664),k=(i=new WeakMap,r=new WeakMap,a=new WeakMap,n=new WeakMap,o=new WeakSet,c=new WeakSet,class extends g.Q{constructor(t,e){super(),(0,u.A)(this,c),(0,u.A)(this,o),(0,d.A)(this,i,{writable:!0,value:void 0}),(0,d.A)(this,r,{writable:!0,value:void 0}),(0,d.A)(this,a,{writable:!0,value:void 0}),(0,d.A)(this,n,{writable:!0,value:void 0}),(0,f.A)(this,r,void 0),(0,f.A)(this,i,t),this.setOptions(e),this.bindMethods(),(0,A.A)(this,o,S).call(this)}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(t){var e;const s=this.options;this.options=(0,v.A)(this,i).defaultMutationOptions(t),(0,b.f8)(s,this.options)||(0,v.A)(this,i).getMutationCache().notify({type:"observerOptionsUpdated",mutation:(0,v.A)(this,a),observer:this}),null===(e=(0,v.A)(this,a))||void 0===e||e.setOptions(this.options),null!==s&&void 0!==s&&s.mutationKey&&this.options.mutationKey&&(0,b.EN)(s.mutationKey)!==(0,b.EN)(this.options.mutationKey)&&this.reset()}onUnsubscribe(){var t;this.hasListeners()||(null===(t=(0,v.A)(this,a))||void 0===t||t.removeObserver(this))}onMutationUpdate(t){(0,A.A)(this,o,S).call(this),(0,A.A)(this,c,w).call(this,t)}getCurrentResult(){return(0,v.A)(this,r)}reset(){var t;null===(t=(0,v.A)(this,a))||void 0===t||t.removeObserver(this),(0,f.A)(this,a,void 0),(0,A.A)(this,o,S).call(this),(0,A.A)(this,c,w).call(this)}mutate(t,e){var s;return(0,f.A)(this,n,e),null===(s=(0,v.A)(this,a))||void 0===s||s.removeObserver(this),(0,f.A)(this,a,(0,v.A)(this,i).getMutationCache().build((0,v.A)(this,i),this.options)),(0,v.A)(this,a).addObserver(this),(0,v.A)(this,a).execute(t)}});function S(){var t,e;const s=null!==(t=null===(e=(0,v.A)(this,a))||void 0===e?void 0:e.state)&&void 0!==t?t:(0,p.$)();(0,f.A)(this,r,(0,l.A)((0,l.A)({},s),{},{isPending:"pending"===s.status,isSuccess:"success"===s.status,isError:"error"===s.status,isIdle:"idle"===s.status,mutate:this.mutate,reset:this.reset}))}function w(t){m.j.batch((()=>{if((0,v.A)(this,n)&&this.hasListeners()){const u=(0,v.A)(this,r).variables,d=(0,v.A)(this,r).context;var e,s,i,a;if("success"===(null===t||void 0===t?void 0:t.type))null===(e=(s=(0,v.A)(this,n)).onSuccess)||void 0===e||e.call(s,t.data,u,d),null===(i=(a=(0,v.A)(this,n)).onSettled)||void 0===i||i.call(a,t.data,null,u,d);else if("error"===(null===t||void 0===t?void 0:t.type)){var o,c,l,h;null===(o=(c=(0,v.A)(this,n)).onError)||void 0===o||o.call(c,t.error,u,d),null===(l=(h=(0,v.A)(this,n)).onSettled)||void 0===l||l.call(h,void 0,t.error,u,d)}}this.listeners.forEach((t=>{t((0,v.A)(this,r))}))}))}var y=s(15441),x=s(98986);function P(t,e){const s=(0,y.jE)(e),[i]=h.useState((()=>new k(s,t)));h.useEffect((()=>{i.setOptions(t)}),[i,t]);const r=h.useSyncExternalStore(h.useCallback((t=>i.subscribe(m.j.batchCalls(t))),[i]),(()=>i.getCurrentResult()),(()=>i.getCurrentResult())),a=h.useCallback(((t,e)=>{i.mutate(t,e).catch(M)}),[i]);if(r.error&&(0,x.G)(i.options.throwOnError,[r.error]))throw r.error;return(0,l.A)((0,l.A)({},r),{},{mutate:a,mutateAsync:r.mutate})}function M(){}},60010:(t,e,s)=>{s.d(e,{q:()=>c});var i=s(89379),r=s(69347),a=s(45247),n=class extends r.${constructor(t,e){super(t,e)}bindMethods(){super.bindMethods(),this.fetchNextPage=this.fetchNextPage.bind(this),this.fetchPreviousPage=this.fetchPreviousPage.bind(this)}setOptions(t,e){super.setOptions((0,i.A)((0,i.A)({},t),{},{behavior:(0,a.PL)()}),e)}getOptimisticResult(t){return t.behavior=(0,a.PL)(),super.getOptimisticResult(t)}fetchNextPage(t){return this.fetch((0,i.A)((0,i.A)({},t),{},{meta:{fetchMore:{direction:"forward"}}}))}fetchPreviousPage(t){return this.fetch((0,i.A)((0,i.A)({},t),{},{meta:{fetchMore:{direction:"backward"}}}))}createResult(t,e){var s,r;const{state:n}=t,o=super.createResult(t,e),{isFetching:c,isRefetching:l}=o,h=c&&"forward"===(null===(s=n.fetchMeta)||void 0===s||null===(s=s.fetchMore)||void 0===s?void 0:s.direction),u=c&&"backward"===(null===(r=n.fetchMeta)||void 0===r||null===(r=r.fetchMore)||void 0===r?void 0:r.direction);return(0,i.A)((0,i.A)({},o),{},{fetchNextPage:this.fetchNextPage,fetchPreviousPage:this.fetchPreviousPage,hasNextPage:(0,a.rB)(e,n.data),hasPreviousPage:(0,a.RQ)(e,n.data),isFetchingNextPage:h,isFetchingPreviousPage:u,isRefetching:l&&!h&&!u})}},o=s(1729);function c(t,e){return(0,o.t)(t,n,e)}},79739:(t,e,s)=>{s.d(e,{A:()=>p});var i=s(98587),r=s(58168),a=s(9950),n=s(72004),o=s(3484),c=s(59254),l=s(18463),h=s(45558),u=s(1614);function d(t){return(0,u.Ay)("MuiDialogActions",t)}(0,h.A)("MuiDialogActions",["root","spacing"]);var v=s(44414);const A=["className","disableSpacing"],f=(0,c.Ay)("div",{name:"MuiDialogActions",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:s}=t;return[e.root,!s.disableSpacing&&e.spacing]}})((t=>{let{ownerState:e}=t;return(0,r.A)({display:"flex",alignItems:"center",padding:8,justifyContent:"flex-end",flex:"0 0 auto"},!e.disableSpacing&&{"& > :not(style) ~ :not(style)":{marginLeft:8}})})),p=a.forwardRef((function(t,e){const s=(0,l.b)({props:t,name:"MuiDialogActions"}),{className:a,disableSpacing:c=!1}=s,h=(0,i.A)(s,A),u=(0,r.A)({},s,{disableSpacing:c}),p=(t=>{const{classes:e,disableSpacing:s}=t,i={root:["root",!s&&"spacing"]};return(0,o.A)(i,d,e)})(u);return(0,v.jsx)(f,(0,r.A)({className:(0,n.A)(p.root,a),ownerState:u,ref:e},h))}))}}]);