1 line
13 KiB
JavaScript
1 line
13 KiB
JavaScript
(self.webpackChunkmantis_material_react=self.webpackChunkmantis_material_react||[]).push([[1182],{7762:(e,t,a)=>{"use strict";var r=a(24994);t.A=void 0;var o=r(a(79526)),n=a(44414);t.A=(0,o.default)((0,n.jsx)("path",{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Clear")},16497:(e,t,a)=>{"use strict";a.d(t,{A:()=>y});var r=a(98587),o=a(58168),n=a(9950),c=a(72004),s=a(3484),i=a(39766),l=a(93230),d=a(82053),u=a(89548),h=a(59254),f=a(18463),m=a(45558),p=a(1614);function v(e){return(0,p.Ay)("MuiFormControlLabel",e)}const b=(0,m.A)("MuiFormControlLabel",["root","labelPlacementStart","labelPlacementTop","labelPlacementBottom","disabled","label","error","required","asterisk"]);var A=a(68624),g=a(44414);const k=["checked","className","componentsProps","control","disabled","disableTypography","inputRef","label","labelPlacement","name","onChange","required","slotProps","value"],C=(0,h.Ay)("label",{name:"MuiFormControlLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:a}=e;return[{["& .".concat(b.label)]:t.label},t.root,t["labelPlacement".concat((0,u.A)(a.labelPlacement))]]}})((e=>{let{theme:t,ownerState:a}=e;return(0,o.A)({display:"inline-flex",alignItems:"center",cursor:"pointer",verticalAlign:"middle",WebkitTapHighlightColor:"transparent",marginLeft:-11,marginRight:16,["&.".concat(b.disabled)]:{cursor:"default"}},"start"===a.labelPlacement&&{flexDirection:"row-reverse",marginLeft:16,marginRight:-11},"top"===a.labelPlacement&&{flexDirection:"column-reverse",marginLeft:16},"bottom"===a.labelPlacement&&{flexDirection:"column",marginLeft:16},{["& .".concat(b.label)]:{["&.".concat(b.disabled)]:{color:(t.vars||t).palette.text.disabled}}})})),x=(0,h.Ay)("span",{name:"MuiFormControlLabel",slot:"Asterisk",overridesResolver:(e,t)=>t.asterisk})((e=>{let{theme:t}=e;return{["&.".concat(b.error)]:{color:(t.vars||t).palette.error.main}}})),y=n.forwardRef((function(e,t){var a,h;const m=(0,f.b)({props:e,name:"MuiFormControlLabel"}),{className:p,componentsProps:b={},control:y,disabled:$,disableTypography:z,label:M,labelPlacement:S="end",required:w,slotProps:P={}}=m,R=(0,r.A)(m,k),H=(0,i.A)(),F=null!=(a=null!=$?$:y.props.disabled)?a:null==H?void 0:H.disabled,D=null!=w?w:y.props.required,L={disabled:F,required:D};["checked","name","onChange","value","inputRef"].forEach((e=>{"undefined"===typeof y.props[e]&&"undefined"!==typeof m[e]&&(L[e]=m[e])}));const O=(0,A.A)({props:m,muiFormControl:H,states:["error"]}),B=(0,o.A)({},m,{disabled:F,labelPlacement:S,required:D,error:O.error}),T=(e=>{const{classes:t,disabled:a,labelPlacement:r,error:o,required:n}=e,c={root:["root",a&&"disabled","labelPlacement".concat((0,u.A)(r)),o&&"error",n&&"required"],label:["label",a&&"disabled"],asterisk:["asterisk",o&&"error"]};return(0,s.A)(c,v,t)})(B),I=null!=(h=P.typography)?h:b.typography;let j=M;return null==j||j.type===d.A||z||(j=(0,g.jsx)(d.A,(0,o.A)({component:"span"},I,{className:(0,c.A)(T.label,null==I?void 0:I.className),children:j}))),(0,g.jsxs)(C,(0,o.A)({className:(0,c.A)(T.root,p),ownerState:B,ref:t},R,{children:[n.cloneElement(y,L),D?(0,g.jsxs)(l.A,{display:"block",children:[j,(0,g.jsxs)(x,{ownerState:B,"aria-hidden":!0,className:T.asterisk,children:["\u2009","*"]})]}):j]}))}))},36220:function(e){e.exports=function(){"use strict";var e="minute",t=/[+-]\d\d(?::?\d\d)?/g,a=/([+-]|\d\d)/g;return function(r,o,n){var c=o.prototype;n.utc=function(e){return new o({date:e,utc:!0,args:arguments})},c.utc=function(t){var a=n(this.toDate(),{locale:this.$L,utc:!0});return t?a.add(this.utcOffset(),e):a},c.local=function(){return n(this.toDate(),{locale:this.$L,utc:!1})};var s=c.parse;c.parse=function(e){e.utc&&(this.$u=!0),this.$utils().u(e.$offset)||(this.$offset=e.$offset),s.call(this,e)};var i=c.init;c.init=function(){if(this.$u){var e=this.$d;this.$y=e.getUTCFullYear(),this.$M=e.getUTCMonth(),this.$D=e.getUTCDate(),this.$W=e.getUTCDay(),this.$H=e.getUTCHours(),this.$m=e.getUTCMinutes(),this.$s=e.getUTCSeconds(),this.$ms=e.getUTCMilliseconds()}else i.call(this)};var l=c.utcOffset;c.utcOffset=function(r,o){var n=this.$utils().u;if(n(r))return this.$u?0:n(this.$offset)?l.call(this):this.$offset;if("string"==typeof r&&(r=function(e){void 0===e&&(e="");var r=e.match(t);if(!r)return null;var o=(""+r[0]).match(a)||["-",0,0],n=o[0],c=60*+o[1]+ +o[2];return 0===c?0:"+"===n?c:-c}(r),null===r))return this;var c=Math.abs(r)<=16?60*r:r,s=this;if(o)return s.$offset=c,s.$u=0===r,s;if(0!==r){var i=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(s=this.local().add(c+i,e)).$offset=c,s.$x.$localOffset=i}else s=this.utc();return s};var d=c.format;c.format=function(e){var t=e||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return d.call(this,t)},c.valueOf=function(){var e=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*e},c.isUTC=function(){return!!this.$u},c.toISOString=function(){return this.toDate().toISOString()},c.toString=function(){return this.toDate().toUTCString()};var u=c.toDate;c.toDate=function(e){return"s"===e&&this.$offset?n(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():u.call(this)};var h=c.diff;c.diff=function(e,t,a){if(e&&this.$u===e.$u)return h.call(this,e,t,a);var r=this.local(),o=n(e).local();return h.call(r,o,t,a)}}}()},46282:(e,t,a)=>{"use strict";a.d(t,{A:()=>C});var r=a(98587),o=a(58168),n=a(9950),c=a(72004),s=a(3484),i=a(89548),l=a(59254),d=a(19608),u=a(48733),h=a(39766),f=a(24184),m=a(45558),p=a(1614);function v(e){return(0,p.Ay)("PrivateSwitchBase",e)}(0,m.A)("PrivateSwitchBase",["root","checked","disabled","input","edgeStart","edgeEnd"]);var b=a(44414);const A=["autoFocus","checked","checkedIcon","className","defaultChecked","disabled","disableFocusRipple","edge","icon","id","inputProps","inputRef","name","onBlur","onChange","onFocus","readOnly","required","tabIndex","type","value"],g=(0,l.Ay)(f.A)((e=>{let{ownerState:t}=e;return(0,o.A)({padding:9,borderRadius:"50%"},"start"===t.edge&&{marginLeft:"small"===t.size?-3:-12},"end"===t.edge&&{marginRight:"small"===t.size?-3:-12})})),k=(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}),C=n.forwardRef((function(e,t){const{autoFocus:a,checked:n,checkedIcon:l,className:d,defaultChecked:f,disabled:m,disableFocusRipple:p=!1,edge:C=!1,icon:x,id:y,inputProps:$,inputRef:z,name:M,onBlur:S,onChange:w,onFocus:P,readOnly:R,required:H=!1,tabIndex:F,type:D,value:L}=e,O=(0,r.A)(e,A),[B,T]=(0,u.A)({controlled:n,default:Boolean(f),name:"SwitchBase",state:"checked"}),I=(0,h.A)();let j=m;I&&"undefined"===typeof j&&(j=I.disabled);const N="checkbox"===D||"radio"===D,V=(0,o.A)({},e,{checked:B,disabled:j,disableFocusRipple:p,edge:C}),q=(e=>{const{classes:t,checked:a,disabled:r,edge:o}=e,n={root:["root",a&&"checked",r&&"disabled",o&&"edge".concat((0,i.A)(o))],input:["input"]};return(0,s.A)(n,v,t)})(V);return(0,b.jsxs)(g,(0,o.A)({component:"span",className:(0,c.A)(q.root,d),centerRipple:!0,focusRipple:!p,disabled:j,tabIndex:null,role:void 0,onFocus:e=>{P&&P(e),I&&I.onFocus&&I.onFocus(e)},onBlur:e=>{S&&S(e),I&&I.onBlur&&I.onBlur(e)},ownerState:V,ref:t},O,{children:[(0,b.jsx)(k,(0,o.A)({autoFocus:a,checked:n,defaultChecked:f,className:q.input,disabled:j,id:N?y:void 0,name:M,onChange:e=>{if(e.nativeEvent.defaultPrevented)return;const t=e.target.checked;T(t),w&&w(e,t)},readOnly:R,ref:z,required:H,ownerState:V,tabIndex:F,type:D},"checkbox"===D&&void 0===L?{}:{value:L},$)),B?l:x]}))}))},47738:(e,t,a)=>{"use strict";a.d(t,{A:()=>i});var r=a(58168),o=a(9950);const n={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494zM504 618H320c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zM312 490v48c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H320c-4.4 0-8 3.6-8 8z"}}]},name:"file-text",theme:"outlined"};var c=a(61187),s=function(e,t){return o.createElement(c.A,(0,r.A)({},e,{ref:t,icon:n}))};const i=o.forwardRef(s)},60767:(e,t,a)=>{"use strict";a.d(t,{A:()=>i});var r=a(58168),o=a(9950);const n={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"}}]},name:"search",theme:"outlined"};var c=a(61187),s=function(e,t){return o.createElement(c.A,(0,r.A)({},e,{ref:t,icon:n}))};const i=o.forwardRef(s)},81419:(e,t,a)=>{"use strict";a.d(t,{A:()=>i});var r=a(58168),o=a(9950);const n={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 184H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v664c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V216c0-17.7-14.3-32-32-32zm-40 656H184V460h656v380zM184 392V256h128v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h256v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h128v136H184z"}}]},name:"calendar",theme:"outlined"};var c=a(61187),s=function(e,t){return o.createElement(c.A,(0,r.A)({},e,{ref:t,icon:n}))};const i=o.forwardRef(s)},87942:(e,t,a)=>{"use strict";var r=a(24994);t.A=void 0;var o=r(a(79526)),n=a(44414);t.A=(0,o.default)((0,n.jsx)("path",{d:"M12 8c-2.21 0-4 1.79-4 4s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4m8.94 3c-.46-4.17-3.77-7.48-7.94-7.94V1h-2v2.06C6.83 3.52 3.52 6.83 3.06 11H1v2h2.06c.46 4.17 3.77 7.48 7.94 7.94V23h2v-2.06c4.17-.46 7.48-3.77 7.94-7.94H23v-2zM12 19c-3.87 0-7-3.13-7-7s3.13-7 7-7 7 3.13 7 7-3.13 7-7 7"}),"MyLocation")},93038:(e,t,a)=>{"use strict";a.d(t,{A:()=>w});var r=a(98587),o=a(58168),n=a(9950),c=a(72004),s=a(3484),i=a(99269),l=a(46282),d=a(23235),u=a(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"),f=(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"),m=(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 p=a(89548),v=a(18463),b=a(59254),A=a(19608),g=a(45558),k=a(1614);function C(e){return(0,k.Ay)("MuiCheckbox",e)}const x=(0,g.A)("MuiCheckbox",["root","checked","disabled","indeterminate","colorPrimary","colorSecondary","sizeSmall","sizeMedium"]),y=["checkedIcon","color","icon","indeterminate","indeterminateIcon","inputProps","size","className"],$=(0,b.Ay)(l.A,{shouldForwardProp:e=>(0,A.A)(e)||"classes"===e,name:"MuiCheckbox",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:a}=e;return[t.root,a.indeterminate&&t.indeterminate,t["size".concat((0,p.A)(a.size))],"default"!==a.color&&t["color".concat((0,p.A)(a.color))]]}})((e=>{let{theme:t,ownerState:a}=e;return(0,o.A)({color:(t.vars||t).palette.text.secondary},!a.disableRipple&&{"&:hover":{backgroundColor:t.vars?"rgba(".concat("default"===a.color?t.vars.palette.action.activeChannel:t.vars.palette[a.color].mainChannel," / ").concat(t.vars.palette.action.hoverOpacity,")"):(0,i.X4)("default"===a.color?t.palette.action.active:t.palette[a.color].main,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"default"!==a.color&&{["&.".concat(x.checked,", &.").concat(x.indeterminate)]:{color:(t.vars||t).palette[a.color].main},["&.".concat(x.disabled)]:{color:(t.vars||t).palette.action.disabled}})})),z=(0,u.jsx)(f,{}),M=(0,u.jsx)(h,{}),S=(0,u.jsx)(m,{}),w=n.forwardRef((function(e,t){var a,i;const l=(0,v.b)({props:e,name:"MuiCheckbox"}),{checkedIcon:d=z,color:h="primary",icon:f=M,indeterminate:m=!1,indeterminateIcon:b=S,inputProps:A,size:g="medium",className:k}=l,x=(0,r.A)(l,y),w=m?b:f,P=m?b:d,R=(0,o.A)({},l,{color:h,indeterminate:m,size:g}),H=(e=>{const{classes:t,indeterminate:a,color:r,size:n}=e,c={root:["root",a&&"indeterminate","color".concat((0,p.A)(r)),"size".concat((0,p.A)(n))]},i=(0,s.A)(c,C,t);return(0,o.A)({},t,i)})(R);return(0,u.jsx)($,(0,o.A)({type:"checkbox",inputProps:(0,o.A)({"data-indeterminate":m},A),icon:n.cloneElement(w,{fontSize:null!=(a=w.props.fontSize)?a:g}),checkedIcon:n.cloneElement(P,{fontSize:null!=(i=P.props.fontSize)?i:g}),ownerState:R,ref:t,className:(0,c.A)(H.root,k)},x,{classes:H}))}))}}]); |