1 line
20 KiB
JavaScript
1 line
20 KiB
JavaScript
(self.webpackChunkmantis_material_react=self.webpackChunkmantis_material_react||[]).push([[9186],{26446:function(t,e,n){"use strict";n.d(e,{Z:function(){return s}});var r=n(87462),a=n(47313),i={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"},o=n(16141),c=function(t,e){return a.createElement(o.Z,(0,r.Z)({},t,{ref:e,icon:i}))};var s=a.forwardRef(c)},41627:function(t,e,n){"use strict";n.d(e,{Z:function(){return s}});var r=n(87462),a=n(47313),i={icon:function(t,e){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M761.1 288.3L687.8 215 325.1 577.6l-15.6 89 88.9-15.7z",fill:e}},{tag:"path",attrs:{d:"M880 836H144c-17.7 0-32 14.3-32 32v36c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-36c0-17.7-14.3-32-32-32zm-622.3-84c2 0 4-.2 6-.5L431.9 722c2-.4 3.9-1.3 5.3-2.8l423.9-423.9a9.96 9.96 0 000-14.1L694.9 114.9c-1.9-1.9-4.4-2.9-7.1-2.9s-5.2 1-7.1 2.9L256.8 538.8c-1.5 1.5-2.4 3.3-2.8 5.3l-29.5 168.2a33.5 33.5 0 009.4 29.8c6.6 6.4 14.9 9.9 23.8 9.9zm67.4-174.4L687.8 215l73.3 73.3-362.7 362.6-88.9 15.7 15.6-89z",fill:t}}]}},name:"edit",theme:"twotone"},o=n(16141),c=function(t,e){return a.createElement(o.Z,(0,r.Z)({},t,{ref:e,icon:i}))};var s=a.forwardRef(c)},42897:function(t,e,n){"use strict";n.d(e,{Z:function(){return s}});var r=n(87462),a=n(47313),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 289.1a362.49 362.49 0 00-79.9-115.7 370.83 370.83 0 00-118.2-77.8C610.7 76.6 562.1 67 512 67c-50.1 0-98.7 9.6-144.5 28.5-44.3 18.3-84 44.5-118.2 77.8A363.6 363.6 0 00169.4 289c-19.5 45-29.4 92.8-29.4 142 0 70.6 16.9 140.9 50.1 208.7 26.7 54.5 64 107.6 111 158.1 80.3 86.2 164.5 138.9 188.4 153a43.9 43.9 0 0022.4 6.1c7.8 0 15.5-2 22.4-6.1 23.9-14.1 108.1-66.8 188.4-153 47-50.4 84.3-103.6 111-158.1C867.1 572 884 501.8 884 431.1c0-49.2-9.9-97-29.4-142zM512 880.2c-65.9-41.9-300-207.8-300-449.1 0-77.9 31.1-151.1 87.6-206.3C356.3 169.5 431.7 139 512 139s155.7 30.5 212.4 85.9C780.9 280 812 353.2 812 431.1c0 241.3-234.1 407.2-300 449.1zm0-617.2c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm79.2 255.2A111.6 111.6 0 01512 551c-29.9 0-58-11.7-79.2-32.8A111.6 111.6 0 01400 439c0-29.9 11.7-58 32.8-79.2C454 338.6 482.1 327 512 327c29.9 0 58 11.6 79.2 32.8C612.4 381 624 409.1 624 439c0 29.9-11.6 58-32.8 79.2z"}}]},name:"environment",theme:"outlined"},o=n(16141),c=function(t,e){return a.createElement(o.Z,(0,r.Z)({},t,{ref:e,icon:i}))};var s=a.forwardRef(c)},10165:function(t,e,n){"use strict";n.d(e,{Z:function(){return s}});var r=n(87462),a=n(47313),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 112c-3.8 0-7.7.7-11.6 2.3L292 345.9H128c-8.8 0-16 7.4-16 16.6v299c0 9.2 7.2 16.6 16 16.6h101.7c-3.7 11.6-5.7 23.9-5.7 36.4 0 65.9 53.8 119.5 120 119.5 55.4 0 102.1-37.6 115.9-88.4l408.6 164.2c3.9 1.5 7.8 2.3 11.6 2.3 16.9 0 32-14.2 32-33.2V145.2C912 126.2 897 112 880 112zM344 762.3c-26.5 0-48-21.4-48-47.8 0-11.2 3.9-21.9 11-30.4l84.9 34.1c-2 24.6-22.7 44.1-47.9 44.1zm496 58.4L318.8 611.3l-12.9-5.2H184V417.9h121.9l12.9-5.2L840 203.3v617.4z"}}]},name:"notification",theme:"outlined"},o=n(16141),c=function(t,e){return a.createElement(o.Z,(0,r.Z)({},t,{ref:e,icon:i}))};var s=a.forwardRef(c)},50661:function(t,e,n){"use strict";n.d(e,{Z:function(){return s}});var r=n(87462),a=n(47313),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M955.7 856l-416-720c-6.2-10.7-16.9-16-27.7-16s-21.6 5.3-27.7 16l-416 720C56 877.4 71.4 904 96 904h832c24.6 0 40-26.6 27.7-48zM480 416c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v184c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V416zm32 352a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"warning",theme:"filled"},o=n(16141),c=function(t,e){return a.createElement(o.Z,(0,r.Z)({},t,{ref:e,icon:i}))};var s=a.forwardRef(c)},25718:function(t,e,n){"use strict";var r=n(64836);e.Z=void 0;var a=r(n(45045)),i=n(46417),o=(0,a.default)((0,i.jsx)("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zm3.59-13L12 10.59 8.41 7 7 8.41 10.59 12 7 15.59 8.41 17 12 13.41 15.59 17 17 15.59 13.41 12 17 8.41z"}),"CancelOutlined");e.Z=o},24904:function(t,e,n){"use strict";var r=n(64836);e.Z=void 0;var a=r(n(45045)),i=n(46417),o=(0,a.default)((0,i.jsx)("path",{d:"M18.92 6.01C18.72 5.42 18.16 5 17.5 5h-11c-.66 0-1.21.42-1.42 1.01L3 12v8c0 .55.45 1 1 1h1c.55 0 1-.45 1-1v-1h12v1c0 .55.45 1 1 1h1c.55 0 1-.45 1-1v-8l-2.08-5.99zM6.5 16c-.83 0-1.5-.67-1.5-1.5S5.67 13 6.5 13s1.5.67 1.5 1.5S7.33 16 6.5 16zm11 0c-.83 0-1.5-.67-1.5-1.5s.67-1.5 1.5-1.5 1.5.67 1.5 1.5-.67 1.5-1.5 1.5zM5 11l1.5-4.5h11L19 11H5z"}),"DirectionsCar");e.Z=o},58873:function(t,e,n){"use strict";var r=n(81171),a=n(46417);e.Z=(0,r.Z)((0,a.jsx)("path",{d:"M7.41 8.59 12 13.17l4.59-4.58L18 10l-6 6-6-6 1.41-1.41z"}),"KeyboardArrowDown")},76035:function(t,e,n){"use strict";var r=n(81171),a=n(46417);e.Z=(0,r.Z)((0,a.jsx)("path",{d:"M7.41 15.41 12 10.83l4.59 4.58L18 14l-6-6-6 6z"}),"KeyboardArrowUp")},33249:function(t,e,n){"use strict";n.d(e,{Z:function(){return g}});var r=n(87462),a=n(63366),i=n(47313),o=n(83061),c=n(21921),s=n(17592),l=n(77342),u=n(61113),d=n(77430),h=n(32298);function f(t){return(0,h.Z)("MuiAlertTitle",t)}(0,d.Z)("MuiAlertTitle",["root"]);var v=n(46417),m=["className"],p=(0,s.ZP)(u.Z,{name:"MuiAlertTitle",slot:"Root",overridesResolver:function(t,e){return e.root}})((function(t){return{fontWeight:t.theme.typography.fontWeightMedium,marginTop:-2}})),g=i.forwardRef((function(t,e){var n=(0,l.Z)({props:t,name:"MuiAlertTitle"}),i=n.className,s=(0,a.Z)(n,m),u=n,d=function(t){var e=t.classes;return(0,c.Z)({root:["root"]},f,e)}(u);return(0,v.jsx)(p,(0,r.Z)({gutterBottom:!0,component:"div",ownerState:u,ref:e,className:(0,o.Z)(d.root,i)},s))}))},44758:function(t,e,n){"use strict";n.d(e,{Z:function(){return $}});var r=n(4942),a=n(63366),i=n(87462),o=n(47313),c=n(83061),s=n(21921),l=n(17551),u=n(97423),d=n(81171),h=n(46417),f=(0,d.Z)((0,h.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"),v=(0,d.Z)((0,h.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"),m=(0,d.Z)((0,h.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"),p=n(91615),g=n(77342),Z=n(17592),b=n(77430),k=n(32298);function w(t){return(0,k.Z)("MuiCheckbox",t)}var x=(0,b.Z)("MuiCheckbox",["root","checked","disabled","indeterminate","colorPrimary","colorSecondary"]),C=["checkedIcon","color","icon","indeterminate","indeterminateIcon","inputProps","size","className"],S=(0,Z.ZP)(u.Z,{shouldForwardProp:function(t){return(0,Z.FO)(t)||"classes"===t},name:"MuiCheckbox",slot:"Root",overridesResolver:function(t,e){var n=t.ownerState;return[e.root,n.indeterminate&&e.indeterminate,"default"!==n.color&&e["color".concat((0,p.Z)(n.color))]]}})((function(t){var e,n=t.theme,a=t.ownerState;return(0,i.Z)({color:(n.vars||n).palette.text.secondary},!a.disableRipple&&{"&:hover":{backgroundColor:n.vars?"rgba(".concat("default"===a.color?n.vars.palette.action.activeChannel:n.vars.palette.primary.mainChannel," / ").concat(n.vars.palette.action.hoverOpacity,")"):(0,l.Fq)("default"===a.color?n.palette.action.active:n.palette[a.color].main,n.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"default"!==a.color&&(e={},(0,r.Z)(e,"&.".concat(x.checked,", &.").concat(x.indeterminate),{color:(n.vars||n).palette[a.color].main}),(0,r.Z)(e,"&.".concat(x.disabled),{color:(n.vars||n).palette.action.disabled}),e))})),y=(0,h.jsx)(v,{}),M=(0,h.jsx)(f,{}),z=(0,h.jsx)(m,{}),$=o.forwardRef((function(t,e){var n,r,l=(0,g.Z)({props:t,name:"MuiCheckbox"}),u=l.checkedIcon,d=void 0===u?y:u,f=l.color,v=void 0===f?"primary":f,m=l.icon,Z=void 0===m?M:m,b=l.indeterminate,k=void 0!==b&&b,x=l.indeterminateIcon,$=void 0===x?z:x,R=l.inputProps,P=l.size,D=void 0===P?"medium":P,F=l.className,B=(0,a.Z)(l,C),O=k?$:Z,H=k?$:d,T=(0,i.Z)({},l,{color:v,indeterminate:k,size:D}),j=function(t){var e=t.classes,n=t.indeterminate,r=t.color,a={root:["root",n&&"indeterminate","color".concat((0,p.Z)(r))]},o=(0,s.Z)(a,w,e);return(0,i.Z)({},e,o)}(T);return(0,h.jsx)(S,(0,i.Z)({type:"checkbox",inputProps:(0,i.Z)({"data-indeterminate":k},R),icon:o.cloneElement(O,{fontSize:null!=(n=O.props.fontSize)?n:D}),checkedIcon:o.cloneElement(H,{fontSize:null!=(r=H.props.fontSize)?r:D}),ownerState:T,ref:e,className:(0,c.Z)(j.root,F)},B,{classes:j}))}))},85281:function(t,e,n){"use strict";n.d(e,{Z:function(){return F}});var r=n(30168),a=n(63366),i=n(87462),o=n(47313),c=n(83061),s=n(21921),l=n(30686),u=n(91615),d=n(77342),h=n(17592),f=n(77430),v=n(32298);function m(t){return(0,v.Z)("MuiCircularProgress",t)}(0,f.Z)("MuiCircularProgress",["root","determinate","indeterminate","colorPrimary","colorSecondary","svg","circle","circleDeterminate","circleIndeterminate","circleDisableShrink"]);var p,g,Z,b,k,w,x,C,S=n(46417),y=["className","color","disableShrink","size","style","thickness","value","variant"],M=44,z=(0,l.F4)(k||(k=p||(p=(0,r.Z)(["\n 0% {\n transform: rotate(0deg);\n }\n\n 100% {\n transform: rotate(360deg);\n }\n"])))),$=(0,l.F4)(w||(w=g||(g=(0,r.Z)(["\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"])))),R=(0,h.ZP)("span",{name:"MuiCircularProgress",slot:"Root",overridesResolver:function(t,e){var n=t.ownerState;return[e.root,e[n.variant],e["color".concat((0,u.Z)(n.color))]]}})((function(t){var e=t.ownerState,n=t.theme;return(0,i.Z)({display:"inline-block"},"determinate"===e.variant&&{transition:n.transitions.create("transform")},"inherit"!==e.color&&{color:(n.vars||n).palette[e.color].main})}),(function(t){return"indeterminate"===t.ownerState.variant&&(0,l.iv)(x||(x=Z||(Z=(0,r.Z)(["\n animation: "," 1.4s linear infinite;\n "]))),z)})),P=(0,h.ZP)("svg",{name:"MuiCircularProgress",slot:"Svg",overridesResolver:function(t,e){return e.svg}})({display:"block"}),D=(0,h.ZP)("circle",{name:"MuiCircularProgress",slot:"Circle",overridesResolver:function(t,e){var n=t.ownerState;return[e.circle,e["circle".concat((0,u.Z)(n.variant))],n.disableShrink&&e.circleDisableShrink]}})((function(t){var e=t.ownerState,n=t.theme;return(0,i.Z)({stroke:"currentColor"},"determinate"===e.variant&&{transition:n.transitions.create("stroke-dashoffset")},"indeterminate"===e.variant&&{strokeDasharray:"80px, 200px",strokeDashoffset:0})}),(function(t){var e=t.ownerState;return"indeterminate"===e.variant&&!e.disableShrink&&(0,l.iv)(C||(C=b||(b=(0,r.Z)(["\n animation: "," 1.4s ease-in-out infinite;\n "]))),$)})),F=o.forwardRef((function(t,e){var n=(0,d.Z)({props:t,name:"MuiCircularProgress"}),r=n.className,o=n.color,l=void 0===o?"primary":o,h=n.disableShrink,f=void 0!==h&&h,v=n.size,p=void 0===v?40:v,g=n.style,Z=n.thickness,b=void 0===Z?3.6:Z,k=n.value,w=void 0===k?0:k,x=n.variant,C=void 0===x?"indeterminate":x,z=(0,a.Z)(n,y),$=(0,i.Z)({},n,{color:l,disableShrink:f,size:p,thickness:b,value:w,variant:C}),F=function(t){var e=t.classes,n=t.variant,r=t.color,a=t.disableShrink,i={root:["root",n,"color".concat((0,u.Z)(r))],svg:["svg"],circle:["circle","circle".concat((0,u.Z)(n)),a&&"circleDisableShrink"]};return(0,s.Z)(i,m,e)}($),B={},O={},H={};if("determinate"===C){var T=2*Math.PI*((M-b)/2);B.strokeDasharray=T.toFixed(3),H["aria-valuenow"]=Math.round(w),B.strokeDashoffset="".concat(((100-w)/100*T).toFixed(3),"px"),O.transform="rotate(-90deg)"}return(0,S.jsx)(R,(0,i.Z)({className:(0,c.Z)(F.root,r),style:(0,i.Z)({width:p,height:p},O,g),ownerState:$,ref:e,role:"progressbar"},H,z,{children:(0,S.jsx)(P,{className:F.svg,ownerState:$,viewBox:"".concat(22," ").concat(22," ").concat(M," ").concat(M),children:(0,S.jsx)(D,{className:F.circle,style:B,ownerState:$,cx:M,cy:M,r:(M-b)/2,fill:"none",strokeWidth:b})})}))}))},84488:function(t,e,n){"use strict";n.d(e,{Z:function(){return D}});var r=n(30168),a=n(63366),i=n(87462),o=n(47313),c=n(83061),s=n(30686),l=n(21921);function u(t){return String(t).match(/[\d.\-+]*\s*(.*)/)[1]||""}function d(t){return parseFloat(t)}var h=n(17551),f=n(17592),v=n(77342),m=n(77430),p=n(32298);function g(t){return(0,p.Z)("MuiSkeleton",t)}(0,m.Z)("MuiSkeleton",["root","text","rectangular","rounded","circular","pulse","wave","withChildren","fitContent","heightAuto"]);var Z,b,k,w,x,C,S,y,M=n(46417),z=["animation","className","component","height","style","variant","width"],$=(0,s.F4)(x||(x=Z||(Z=(0,r.Z)(["\n 0% {\n opacity: 1;\n }\n\n 50% {\n opacity: 0.4;\n }\n\n 100% {\n opacity: 1;\n }\n"])))),R=(0,s.F4)(C||(C=b||(b=(0,r.Z)(["\n 0% {\n transform: translateX(-100%);\n }\n\n 50% {\n /* +0.5s of delay between each loop */\n transform: translateX(100%);\n }\n\n 100% {\n transform: translateX(100%);\n }\n"])))),P=(0,f.ZP)("span",{name:"MuiSkeleton",slot:"Root",overridesResolver:function(t,e){var n=t.ownerState;return[e.root,e[n.variant],!1!==n.animation&&e[n.animation],n.hasChildren&&e.withChildren,n.hasChildren&&!n.width&&e.fitContent,n.hasChildren&&!n.height&&e.heightAuto]}})((function(t){var e=t.theme,n=t.ownerState,r=u(e.shape.borderRadius)||"px",a=d(e.shape.borderRadius);return(0,i.Z)({display:"block",backgroundColor:e.vars?e.vars.palette.Skeleton.bg:(0,h.Fq)(e.palette.text.primary,"light"===e.palette.mode?.11:.13),height:"1.2em"},"text"===n.variant&&{marginTop:0,marginBottom:0,height:"auto",transformOrigin:"0 55%",transform:"scale(1, 0.60)",borderRadius:"".concat(a).concat(r,"/").concat(Math.round(a/.6*10)/10).concat(r),"&:empty:before":{content:'"\\00a0"'}},"circular"===n.variant&&{borderRadius:"50%"},"rounded"===n.variant&&{borderRadius:(e.vars||e).shape.borderRadius},n.hasChildren&&{"& > *":{visibility:"hidden"}},n.hasChildren&&!n.width&&{maxWidth:"fit-content"},n.hasChildren&&!n.height&&{height:"auto"})}),(function(t){return"pulse"===t.ownerState.animation&&(0,s.iv)(S||(S=k||(k=(0,r.Z)(["\n animation: "," 1.5s ease-in-out 0.5s infinite;\n "]))),$)}),(function(t){var e=t.ownerState,n=t.theme;return"wave"===e.animation&&(0,s.iv)(y||(y=w||(w=(0,r.Z)(["\n position: relative;\n overflow: hidden;\n\n /* Fix bug in Safari https://bugs.webkit.org/show_bug.cgi?id=68196 */\n -webkit-mask-image: -webkit-radial-gradient(white, black);\n\n &::after {\n animation: "," 1.6s linear 0.5s infinite;\n background: linear-gradient(\n 90deg,\n transparent,\n ",",\n transparent\n );\n content: '';\n position: absolute;\n transform: translateX(-100%); /* Avoid flash during server-side hydration */\n bottom: 0;\n left: 0;\n right: 0;\n top: 0;\n }\n "]))),R,(n.vars||n).palette.action.hover)})),D=o.forwardRef((function(t,e){var n=(0,v.Z)({props:t,name:"MuiSkeleton"}),r=n.animation,o=void 0===r?"pulse":r,s=n.className,u=n.component,d=void 0===u?"span":u,h=n.height,f=n.style,m=n.variant,p=void 0===m?"text":m,Z=n.width,b=(0,a.Z)(n,z),k=(0,i.Z)({},n,{animation:o,component:d,variant:p,hasChildren:Boolean(b.children)}),w=function(t){var e=t.classes,n=t.variant,r=t.animation,a=t.hasChildren,i=t.width,o=t.height,c={root:["root",n,r,a&&"withChildren",a&&!i&&"fitContent",a&&!o&&"heightAuto"]};return(0,l.Z)(c,g,e)}(k);return(0,M.jsx)(P,(0,i.Z)({as:d,ref:e,className:(0,c.Z)(w.root,s),ownerState:k},b,{style:(0,i.Z)({width:Z,height:h},f)}))}))},97423:function(t,e,n){"use strict";n.d(e,{Z:function(){return w}});var r=n(29439),a=n(63366),i=n(87462),o=n(47313),c=n(83061),s=n(21921),l=n(91615),u=n(17592),d=n(53800),h=n(99008),f=n(38743),v=n(77430),m=n(32298);function p(t){return(0,m.Z)("PrivateSwitchBase",t)}(0,v.Z)("PrivateSwitchBase",["root","checked","disabled","input","edgeStart","edgeEnd"]);var g=n(46417),Z=["autoFocus","checked","checkedIcon","className","defaultChecked","disabled","disableFocusRipple","edge","icon","id","inputProps","inputRef","name","onBlur","onChange","onFocus","readOnly","required","tabIndex","type","value"],b=(0,u.ZP)(f.Z)((function(t){var e=t.ownerState;return(0,i.Z)({padding:9,borderRadius:"50%"},"start"===e.edge&&{marginLeft:"small"===e.size?-3:-12},"end"===e.edge&&{marginRight:"small"===e.size?-3:-12})})),k=(0,u.ZP)("input")({cursor:"inherit",position:"absolute",opacity:0,width:"100%",height:"100%",top:0,left:0,margin:0,padding:0,zIndex:1}),w=o.forwardRef((function(t,e){var n=t.autoFocus,o=t.checked,u=t.checkedIcon,f=t.className,v=t.defaultChecked,m=t.disabled,w=t.disableFocusRipple,x=void 0!==w&&w,C=t.edge,S=void 0!==C&&C,y=t.icon,M=t.id,z=t.inputProps,$=t.inputRef,R=t.name,P=t.onBlur,D=t.onChange,F=t.onFocus,B=t.readOnly,O=t.required,H=void 0!==O&&O,T=t.tabIndex,j=t.type,L=t.value,N=(0,a.Z)(t,Z),I=(0,d.Z)({controlled:o,default:Boolean(v),name:"SwitchBase",state:"checked"}),A=(0,r.Z)(I,2),U=A[0],E=A[1],Y=(0,h.Z)(),V=m;Y&&"undefined"===typeof V&&(V=Y.disabled);var q="checkbox"===j||"radio"===j,W=(0,i.Z)({},t,{checked:U,disabled:V,disableFocusRipple:x,edge:S}),_=function(t){var e=t.classes,n=t.checked,r=t.disabled,a=t.edge,i={root:["root",n&&"checked",r&&"disabled",a&&"edge".concat((0,l.Z)(a))],input:["input"]};return(0,s.Z)(i,p,e)}(W);return(0,g.jsxs)(b,(0,i.Z)({component:"span",className:(0,c.Z)(_.root,f),centerRipple:!0,focusRipple:!x,disabled:V,tabIndex:null,role:void 0,onFocus:function(t){F&&F(t),Y&&Y.onFocus&&Y.onFocus(t)},onBlur:function(t){P&&P(t),Y&&Y.onBlur&&Y.onBlur(t)},ownerState:W,ref:e},N,{children:[(0,g.jsx)(k,(0,i.Z)({autoFocus:n,checked:o,defaultChecked:v,className:_.input,disabled:V,id:q?M:void 0,name:R,onChange:function(t){if(!t.nativeEvent.defaultPrevented){var e=t.target.checked;E(e),D&&D(t,e)}},readOnly:B,ref:$,required:H,ownerState:W,tabIndex:T,type:j},"checkbox"===j&&void 0===L?{}:{value:L},z)),U?u:y]}))}))},91635:function(t){t.exports=function(){"use strict";var t="minute",e=/[+-]\d\d(?::?\d\d)?/g,n=/([+-]|\d\d)/g;return function(r,a,i){var o=a.prototype;i.utc=function(t){return new a({date:t,utc:!0,args:arguments})},o.utc=function(e){var n=i(this.toDate(),{locale:this.$L,utc:!0});return e?n.add(this.utcOffset(),t):n},o.local=function(){return i(this.toDate(),{locale:this.$L,utc:!1})};var c=o.parse;o.parse=function(t){t.utc&&(this.$u=!0),this.$utils().u(t.$offset)||(this.$offset=t.$offset),c.call(this,t)};var s=o.init;o.init=function(){if(this.$u){var t=this.$d;this.$y=t.getUTCFullYear(),this.$M=t.getUTCMonth(),this.$D=t.getUTCDate(),this.$W=t.getUTCDay(),this.$H=t.getUTCHours(),this.$m=t.getUTCMinutes(),this.$s=t.getUTCSeconds(),this.$ms=t.getUTCMilliseconds()}else s.call(this)};var l=o.utcOffset;o.utcOffset=function(r,a){var i=this.$utils().u;if(i(r))return this.$u?0:i(this.$offset)?l.call(this):this.$offset;if("string"==typeof r&&(r=function(t){void 0===t&&(t="");var r=t.match(e);if(!r)return null;var a=(""+r[0]).match(n)||["-",0,0],i=a[0],o=60*+a[1]+ +a[2];return 0===o?0:"+"===i?o:-o}(r),null===r))return this;var o=Math.abs(r)<=16?60*r:r,c=this;if(a)return c.$offset=o,c.$u=0===r,c;if(0!==r){var s=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(c=this.local().add(o+s,t)).$offset=o,c.$x.$localOffset=s}else c=this.utc();return c};var u=o.format;o.format=function(t){var e=t||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return u.call(this,e)},o.valueOf=function(){var t=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*t},o.isUTC=function(){return!!this.$u},o.toISOString=function(){return this.toDate().toISOString()},o.toString=function(){return this.toDate().toUTCString()};var d=o.toDate;o.toDate=function(t){return"s"===t&&this.$offset?i(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():d.call(this)};var h=o.diff;o.diff=function(t,e,n){if(t&&this.$u===t.$u)return h.call(this,t,e,n);var r=this.local(),a=i(t).local();return h.call(r,a,e,n)}}}()}}]); |