1 line
8.1 KiB
JavaScript
1 line
8.1 KiB
JavaScript
"use strict";(self.webpackChunkmantis_material_react=self.webpackChunkmantis_material_react||[]).push([[4813],{2046:(n,t,e)=>{e.d(t,{A:()=>S});var r=e(98587),a=e(58168),i=e(9950),o=e(72004),s=e(3484),u=e(89548),c=e(82053),l=e(15866),d=e(39766),h=e(59254),f=e(45558),m=e(1614);function p(n){return(0,m.Ay)("MuiInputAdornment",n)}const v=(0,f.A)("MuiInputAdornment",["root","filled","standard","outlined","positionStart","positionEnd","disablePointerEvents","hiddenLabel","sizeSmall"]);var A,g=e(18463),b=e(44414);const w=["children","className","component","disablePointerEvents","disableTypography","position","variant"],y=(0,h.Ay)("div",{name:"MuiInputAdornment",slot:"Root",overridesResolver:(n,t)=>{const{ownerState:e}=n;return[t.root,t["position".concat((0,u.A)(e.position))],!0===e.disablePointerEvents&&t.disablePointerEvents,t[e.variant]]}})((n=>{let{theme:t,ownerState:e}=n;return(0,a.A)({display:"flex",height:"0.01em",maxHeight:"2em",alignItems:"center",whiteSpace:"nowrap",color:(t.vars||t).palette.action.active},"filled"===e.variant&&{["&.".concat(v.positionStart,"&:not(.").concat(v.hiddenLabel,")")]:{marginTop:16}},"start"===e.position&&{marginRight:8},"end"===e.position&&{marginLeft:8},!0===e.disablePointerEvents&&{pointerEvents:"none"})})),S=i.forwardRef((function(n,t){const e=(0,g.b)({props:n,name:"MuiInputAdornment"}),{children:h,className:f,component:m="div",disablePointerEvents:v=!1,disableTypography:S=!1,position:R,variant:x}=e,C=(0,r.A)(e,w),k=(0,d.A)()||{};let E=x;x&&k.variant,k&&!E&&(E=k.variant);const M=(0,a.A)({},e,{hiddenLabel:k.hiddenLabel,size:k.size,disablePointerEvents:v,position:R,variant:E}),P=(n=>{const{classes:t,disablePointerEvents:e,hiddenLabel:r,position:a,size:i,variant:o}=n,c={root:["root",e&&"disablePointerEvents",a&&"position".concat((0,u.A)(a)),o,r&&"hiddenLabel",i&&"size".concat((0,u.A)(i))]};return(0,s.A)(c,p,t)})(M);return(0,b.jsx)(l.A.Provider,{value:null,children:(0,b.jsx)(y,(0,a.A)({as:m,ownerState:M,className:(0,o.A)(P.root,f),ref:t},C,{children:"string"!==typeof h||S?(0,b.jsxs)(i.Fragment,{children:["start"===R?A||(A=(0,b.jsx)("span",{className:"notranslate",children:"\u200b"})):null,h]}):(0,b.jsx)(c.A,{color:"text.secondary",children:h})}))})}))},7762:(n,t,e)=>{var r=e(24994);t.A=void 0;var a=r(e(79526)),i=e(44414);t.A=(0,a.default)((0,i.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")},52097:(n,t,e)=>{e.d(t,{d7:()=>o});var r=e(9950);function a(n,t,e,a){var i=this,o=(0,r.useRef)(null),s=(0,r.useRef)(0),u=(0,r.useRef)(0),c=(0,r.useRef)(null),l=(0,r.useRef)([]),d=(0,r.useRef)(),h=(0,r.useRef)(),f=(0,r.useRef)(n),m=(0,r.useRef)(!0);f.current=n;var p="undefined"!=typeof window,v=!t&&0!==t&&p;if("function"!=typeof n)throw new TypeError("Expected a function");t=+t||0;var A=!!(e=e||{}).leading,g=!("trailing"in e)||!!e.trailing,b="maxWait"in e,w="debounceOnServer"in e&&!!e.debounceOnServer,y=b?Math.max(+e.maxWait||0,t):null;(0,r.useEffect)((function(){return m.current=!0,function(){m.current=!1}}),[]);var S=(0,r.useMemo)((function(){var n=function(n){var t=l.current,e=d.current;return l.current=d.current=null,s.current=n,u.current=u.current||n,h.current=f.current.apply(e,t)},e=function(n,t){v&&cancelAnimationFrame(c.current),c.current=v?requestAnimationFrame(n):setTimeout(n,t)},r=function(n){if(!m.current)return!1;var e=n-o.current;return!o.current||e>=t||e<0||b&&n-s.current>=y},S=function(t){return c.current=null,g&&l.current?n(t):(l.current=d.current=null,h.current)},R=function n(){var a=Date.now();if(A&&u.current===s.current&&x(),r(a))return S(a);if(m.current){var i=t-(a-o.current),c=b?Math.min(i,y-(a-s.current)):i;e(n,c)}},x=function(){a&&a({})},C=function(){if(p||w){var a=Date.now(),u=r(a);if(l.current=[].slice.call(arguments),d.current=i,o.current=a,u){if(!c.current&&m.current)return s.current=o.current,e(R,t),A?n(o.current):h.current;if(b)return e(R,t),n(o.current)}return c.current||e(R,t),h.current}};return C.cancel=function(){c.current&&(v?cancelAnimationFrame(c.current):clearTimeout(c.current)),s.current=0,l.current=o.current=d.current=c.current=null},C.isPending=function(){return!!c.current},C.flush=function(){return c.current?S(Date.now()):h.current},C}),[A,b,t,y,g,v,p,w,a]);return S}function i(n,t){return n===t}function o(n,t,e){var o=e&&e.equalityFn||i,s=(0,r.useRef)(n),u=(0,r.useState)({})[1],c=a((0,r.useCallback)((function(n){s.current=n,u({})}),[u]),t,e,u),l=(0,r.useRef)(n);return o(l.current,n)||(c(n),l.current=n),[s.current,c]}},82917:(n,t,e)=>{e.d(t,{A:()=>L});var r=e(57528),a=e(98587),i=e(58168),o=e(9950),s=e(72004),u=e(88283),c=e(3484);function l(n){return String(n).match(/[\d.\-+]*\s*(.*)/)[1]||""}function d(n){return parseFloat(n)}var h=e(97497),f=e(59254),m=e(18463),p=e(45558),v=e(1614);function A(n){return(0,v.Ay)("MuiSkeleton",n)}(0,p.A)("MuiSkeleton",["root","text","rectangular","rounded","circular","pulse","wave","withChildren","fitContent","heightAuto"]);var g,b,w,y,S=e(44414);const R=["animation","className","component","height","style","variant","width"];let x,C,k,E;const M=(0,u.i7)(x||(x=g||(g=(0,r.A)(["\n 0% {\n opacity: 1;\n }\n\n 50% {\n opacity: 0.4;\n }\n\n 100% {\n opacity: 1;\n }\n"])))),P=(0,u.i7)(C||(C=b||(b=(0,r.A)(["\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"])))),j=(0,f.Ay)("span",{name:"MuiSkeleton",slot:"Root",overridesResolver:(n,t)=>{const{ownerState:e}=n;return[t.root,t[e.variant],!1!==e.animation&&t[e.animation],e.hasChildren&&t.withChildren,e.hasChildren&&!e.width&&t.fitContent,e.hasChildren&&!e.height&&t.heightAuto]}})((n=>{let{theme:t,ownerState:e}=n;const r=l(t.shape.borderRadius)||"px",a=d(t.shape.borderRadius);return(0,i.A)({display:"block",backgroundColor:t.vars?t.vars.palette.Skeleton.bg:(0,h.X4)(t.palette.text.primary,"light"===t.palette.mode?.11:.13),height:"1.2em"},"text"===e.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"===e.variant&&{borderRadius:"50%"},"rounded"===e.variant&&{borderRadius:(t.vars||t).shape.borderRadius},e.hasChildren&&{"& > *":{visibility:"hidden"}},e.hasChildren&&!e.width&&{maxWidth:"fit-content"},e.hasChildren&&!e.height&&{height:"auto"})}),(n=>{let{ownerState:t}=n;return"pulse"===t.animation&&(0,u.AH)(k||(k=w||(w=(0,r.A)(["\n animation: "," 2s ease-in-out 0.5s infinite;\n "]))),M)}),(n=>{let{ownerState:t,theme:e}=n;return"wave"===t.animation&&(0,u.AH)(E||(E=y||(y=(0,r.A)(["\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: "," 2s 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 "]))),P,(e.vars||e).palette.action.hover)})),L=o.forwardRef((function(n,t){const e=(0,m.b)({props:n,name:"MuiSkeleton"}),{animation:r="pulse",className:o,component:u="span",height:l,style:d,variant:h="text",width:f}=e,p=(0,a.A)(e,R),v=(0,i.A)({},e,{animation:r,component:u,variant:h,hasChildren:Boolean(p.children)}),g=(n=>{const{classes:t,variant:e,animation:r,hasChildren:a,width:i,height:o}=n,s={root:["root",e,r,a&&"withChildren",a&&!i&&"fitContent",a&&!o&&"heightAuto"]};return(0,c.A)(s,A,t)})(v);return(0,S.jsx)(j,(0,i.A)({as:u,ref:t,className:(0,s.A)(g.root,o),ownerState:v},p,{style:(0,i.A)({width:f,height:l},d)}))}))},97125:(n,t,e)=>{e.d(t,{A:()=>i});var r=e(23235),a=e(44414);const i=(0,r.A)((0,a.jsx)("path",{d:"M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14"}),"SearchOutlined")}}]); |