Files
object-browser/portal-ui/build/static/js/1427.b01ee47b.chunk.js
Alex 411670e4f5 Release v0.29.0 (#2850)
Signed-off-by: Benjamin Perez <benjamin@bexsoft.net>
Co-authored-by: Benjamin Perez <benjamin@bexsoft.net>
2023-06-02 13:51:48 -07:00

2 lines
11 KiB
JavaScript

"use strict";(self.webpackChunkportal_ui=self.webpackChunkportal_ui||[]).push([[1427,8173,5415,7521,2358],{3579:function(r,e,o){var n=o(64836);e.Z=void 0;var t=n(o(45649)),i=o(80184),a=(0,t.default)((0,i.jsx)("path",{d:"M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5zM12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5zm0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3z"}),"RemoveRedEye");e.Z=a},20165:function(r,e,o){var n=o(64836);e.Z=void 0;var t=n(o(45649)),i=o(80184),a=(0,t.default)((0,i.jsx)("path",{d:"M12 7c2.76 0 5 2.24 5 5 0 .65-.13 1.26-.36 1.83l2.92 2.92c1.51-1.26 2.7-2.89 3.43-4.75-1.73-4.39-6-7.5-11-7.5-1.4 0-2.74.25-3.98.7l2.16 2.16C10.74 7.13 11.35 7 12 7zM2 4.27l2.28 2.28.46.46C3.08 8.3 1.78 10.02 1 12c1.73 4.39 6 7.5 11 7.5 1.55 0 3.03-.3 4.38-.84l.42.42L19.73 22 21 20.73 3.27 3 2 4.27zM7.53 9.8l1.55 1.55c-.05.21-.08.43-.08.65 0 1.66 1.34 3 3 3 .22 0 .44-.03.65-.08l1.55 1.55c-.67.33-1.41.53-2.2.53-2.76 0-5-2.24-5-5 0-.79.2-1.53.53-2.2zm4.31-.78 3.15 3.15.02-.16c0-1.66-1.34-3-3-3l-.17.01z"}),"VisibilityOff");e.Z=a},93840:function(r,e,o){var n=o(72791).createContext(void 0);e.Z=n},76147:function(r,e,o){function n(r){var e=r.props,o=r.states,n=r.muiFormControl;return o.reduce((function(r,o){return r[o]=e[o],n&&"undefined"===typeof e[o]&&(r[o]=n[o]),r}),{})}o.d(e,{Z:function(){return n}})},52930:function(r,e,o){o.d(e,{Z:function(){return i}});var n=o(72791),t=o(93840);function i(){return n.useContext(t.Z)}},17133:function(r,e,o){var n=o(4942),t=o(63366),i=o(87462),a=o(72791),s=o(28182),l=o(94419),c=o(76147),u=o(52930),d=o(14036),f=o(31402),p=o(66934),m=o(10843),v=o(80184),h=["children","className","color","component","disabled","error","filled","focused","required"],Z=(0,p.ZP)("label",{name:"MuiFormLabel",slot:"Root",overridesResolver:function(r,e){var o=r.ownerState;return(0,i.Z)({},e.root,"secondary"===o.color&&e.colorSecondary,o.filled&&e.filled)}})((function(r){var e,o=r.theme,t=r.ownerState;return(0,i.Z)({color:(o.vars||o).palette.text.secondary},o.typography.body1,(e={lineHeight:"1.4375em",padding:0,position:"relative"},(0,n.Z)(e,"&.".concat(m.Z.focused),{color:(o.vars||o).palette[t.color].main}),(0,n.Z)(e,"&.".concat(m.Z.disabled),{color:(o.vars||o).palette.text.disabled}),(0,n.Z)(e,"&.".concat(m.Z.error),{color:(o.vars||o).palette.error.main}),e))})),x=(0,p.ZP)("span",{name:"MuiFormLabel",slot:"Asterisk",overridesResolver:function(r,e){return e.asterisk}})((function(r){var e=r.theme;return(0,n.Z)({},"&.".concat(m.Z.error),{color:(e.vars||e).palette.error.main})})),b=a.forwardRef((function(r,e){var o=(0,f.Z)({props:r,name:"MuiFormLabel"}),n=o.children,a=o.className,p=o.component,b=void 0===p?"label":p,g=(0,t.Z)(o,h),z=(0,u.Z)(),k=(0,c.Z)({props:o,muiFormControl:z,states:["color","required","focused","disabled","error","filled"]}),P=(0,i.Z)({},o,{color:k.color||"primary",component:b,disabled:k.disabled,error:k.error,filled:k.filled,focused:k.focused,required:k.required}),w=function(r){var e=r.classes,o=r.color,n=r.focused,t=r.disabled,i=r.error,a=r.filled,s=r.required,c={root:["root","color".concat((0,d.Z)(o)),t&&"disabled",i&&"error",a&&"filled",n&&"focused",s&&"required"],asterisk:["asterisk",i&&"error"]};return(0,l.Z)(c,m.M,e)}(P);return(0,v.jsxs)(Z,(0,i.Z)({as:b,ownerState:P,className:(0,s.Z)(w.root,a),ref:e},g,{children:[n,k.required&&(0,v.jsxs)(x,{ownerState:P,"aria-hidden":!0,className:w.asterisk,children:["\u2009","*"]})]}))}));e.Z=b},10843:function(r,e,o){o.d(e,{M:function(){return i}});var n=o(75878),t=o(21217);function i(r){return(0,t.Z)("MuiFormLabel",r)}var a=(0,n.Z)("MuiFormLabel",["root","colorSecondary","focused","disabled","error","filled","required","asterisk"]);e.Z=a},30829:function(r,e,o){o.d(e,{Z:function(){return z}});var n=o(4942),t=o(63366),i=o(87462),a=o(72791),s=o(94419),l=o(28182),c=o(76147),u=o(52930),d=o(17133),f=o(10843),p=o(31402),m=o(66934),v=o(75878),h=o(21217);function Z(r){return(0,h.Z)("MuiInputLabel",r)}(0,v.Z)("MuiInputLabel",["root","focused","disabled","error","required","asterisk","formControl","sizeSmall","shrink","animated","standard","filled","outlined"]);var x=o(80184),b=["disableAnimation","margin","shrink","variant","className"],g=(0,m.ZP)(d.Z,{shouldForwardProp:function(r){return(0,m.FO)(r)||"classes"===r},name:"MuiInputLabel",slot:"Root",overridesResolver:function(r,e){var o=r.ownerState;return[(0,n.Z)({},"& .".concat(f.Z.asterisk),e.asterisk),e.root,o.formControl&&e.formControl,"small"===o.size&&e.sizeSmall,o.shrink&&e.shrink,!o.disableAnimation&&e.animated,e[o.variant]]}})((function(r){var e=r.theme,o=r.ownerState;return(0,i.Z)({display:"block",transformOrigin:"top left",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",maxWidth:"100%"},o.formControl&&{position:"absolute",left:0,top:0,transform:"translate(0, 20px) scale(1)"},"small"===o.size&&{transform:"translate(0, 17px) scale(1)"},o.shrink&&{transform:"translate(0, -1.5px) scale(0.75)",transformOrigin:"top left",maxWidth:"133%"},!o.disableAnimation&&{transition:e.transitions.create(["color","transform","max-width"],{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut})},"filled"===o.variant&&(0,i.Z)({zIndex:1,pointerEvents:"none",transform:"translate(12px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"},"small"===o.size&&{transform:"translate(12px, 13px) scale(1)"},o.shrink&&(0,i.Z)({userSelect:"none",pointerEvents:"auto",transform:"translate(12px, 7px) scale(0.75)",maxWidth:"calc(133% - 24px)"},"small"===o.size&&{transform:"translate(12px, 4px) scale(0.75)"})),"outlined"===o.variant&&(0,i.Z)({zIndex:1,pointerEvents:"none",transform:"translate(14px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"},"small"===o.size&&{transform:"translate(14px, 9px) scale(1)"},o.shrink&&{userSelect:"none",pointerEvents:"auto",maxWidth:"calc(133% - 32px)",transform:"translate(14px, -9px) scale(0.75)"}))})),z=a.forwardRef((function(r,e){var o=(0,p.Z)({name:"MuiInputLabel",props:r}),n=o.disableAnimation,a=void 0!==n&&n,d=o.shrink,f=o.className,m=(0,t.Z)(o,b),v=(0,u.Z)(),h=d;"undefined"===typeof h&&v&&(h=v.filled||v.focused||v.adornedStart);var z=(0,c.Z)({props:o,muiFormControl:v,states:["size","variant","required"]}),k=(0,i.Z)({},o,{disableAnimation:a,formControl:v,shrink:h,size:z.size,variant:z.variant,required:z.required}),P=function(r){var e=r.classes,o=r.formControl,n=r.size,t=r.shrink,a={root:["root",o&&"formControl",!r.disableAnimation&&"animated",t&&"shrink","small"===n&&"sizeSmall",r.variant],asterisk:[r.required&&"asterisk"]},l=(0,s.Z)(a,Z,e);return(0,i.Z)({},e,l)}(k);return(0,x.jsx)(g,(0,i.Z)({"data-shrink":h,ownerState:k,ref:e,className:(0,l.Z)(P.root,f)},m,{classes:P}))}))},15473:function(r,e,o){o.d(e,{ZP:function(){return E}});var n=o(29439),t=o(87462),i=o(63366),a=o(72791),s=o(28182),l=o(94419),c=o(66934),u=o(31402),d=o(83199),f=o(98301),p=o(17602),m=o(42071),v=o(13208),h=o(73590),Z=o(35527),x=o(75878),b=o(21217);function g(r){return(0,b.Z)("MuiPopover",r)}(0,x.Z)("MuiPopover",["root","paper"]);var z=o(80184),k=["onEntering"],P=["action","anchorEl","anchorOrigin","anchorPosition","anchorReference","children","className","container","elevation","marginThreshold","open","PaperProps","transformOrigin","TransitionComponent","transitionDuration","TransitionProps"];function w(r,e){var o=0;return"number"===typeof e?o=e:"center"===e?o=r.height/2:"bottom"===e&&(o=r.height),o}function y(r,e){var o=0;return"number"===typeof e?o=e:"center"===e?o=r.width/2:"right"===e&&(o=r.width),o}function C(r){return[r.horizontal,r.vertical].map((function(r){return"number"===typeof r?"".concat(r,"px"):r})).join(" ")}function M(r){return"function"===typeof r?r():r}var S=(0,c.ZP)(h.Z,{name:"MuiPopover",slot:"Root",overridesResolver:function(r,e){return e.root}})({}),R=(0,c.ZP)(Z.Z,{name:"MuiPopover",slot:"Paper",overridesResolver:function(r,e){return e.paper}})({position:"absolute",overflowY:"auto",overflowX:"hidden",minWidth:16,minHeight:16,maxWidth:"calc(100% - 32px)",maxHeight:"calc(100% - 32px)",outline:0}),E=a.forwardRef((function(r,e){var o=(0,u.Z)({props:r,name:"MuiPopover"}),c=o.action,h=o.anchorEl,Z=o.anchorOrigin,x=void 0===Z?{vertical:"top",horizontal:"left"}:Z,b=o.anchorPosition,E=o.anchorReference,O=void 0===E?"anchorEl":E,q=o.children,L=o.className,N=o.container,T=o.elevation,F=void 0===T?8:T,W=o.marginThreshold,j=void 0===W?16:W,A=o.open,I=o.PaperProps,H=void 0===I?{}:I,D=o.transformOrigin,B=void 0===D?{vertical:"top",horizontal:"left"}:D,_=o.TransitionComponent,V=void 0===_?v.Z:_,X=o.transitionDuration,Y=void 0===X?"auto":X,G=o.TransitionProps,J=(void 0===G?{}:G).onEntering,K=(0,i.Z)(o.TransitionProps,k),Q=(0,i.Z)(o,P),U=a.useRef(),$=(0,m.Z)(U,H.ref),rr=(0,t.Z)({},o,{anchorOrigin:x,anchorReference:O,elevation:F,marginThreshold:j,PaperProps:H,transformOrigin:B,TransitionComponent:V,transitionDuration:Y,TransitionProps:K}),er=function(r){var e=r.classes;return(0,l.Z)({root:["root"],paper:["paper"]},g,e)}(rr),or=a.useCallback((function(){if("anchorPosition"===O)return b;var r=M(h),e=(r&&1===r.nodeType?r:(0,f.Z)(U.current).body).getBoundingClientRect();return{top:e.top+w(e,x.vertical),left:e.left+y(e,x.horizontal)}}),[h,x.horizontal,x.vertical,b,O]),nr=a.useCallback((function(r){return{vertical:w(r,B.vertical),horizontal:y(r,B.horizontal)}}),[B.horizontal,B.vertical]),tr=a.useCallback((function(r){var e={width:r.offsetWidth,height:r.offsetHeight},o=nr(e);if("none"===O)return{top:null,left:null,transformOrigin:C(o)};var n=or(),t=n.top-o.vertical,i=n.left-o.horizontal,a=t+e.height,s=i+e.width,l=(0,p.Z)(M(h)),c=l.innerHeight-j,u=l.innerWidth-j;if(t<j){var d=t-j;t-=d,o.vertical+=d}else if(a>c){var f=a-c;t-=f,o.vertical+=f}if(i<j){var m=i-j;i-=m,o.horizontal+=m}else if(s>u){var v=s-u;i-=v,o.horizontal+=v}return{top:"".concat(Math.round(t),"px"),left:"".concat(Math.round(i),"px"),transformOrigin:C(o)}}),[h,O,or,nr,j]),ir=a.useState(A),ar=(0,n.Z)(ir,2),sr=ar[0],lr=ar[1],cr=a.useCallback((function(){var r=U.current;if(r){var e=tr(r);null!==e.top&&(r.style.top=e.top),null!==e.left&&(r.style.left=e.left),r.style.transformOrigin=e.transformOrigin,lr(!0)}}),[tr]);a.useEffect((function(){A&&cr()})),a.useImperativeHandle(c,(function(){return A?{updatePosition:function(){cr()}}:null}),[A,cr]),a.useEffect((function(){if(A){var r=(0,d.Z)((function(){cr()})),e=(0,p.Z)(h);return e.addEventListener("resize",r),function(){r.clear(),e.removeEventListener("resize",r)}}}),[h,A,cr]);var ur=Y;"auto"!==Y||V.muiSupportAuto||(ur=void 0);var dr=N||(h?(0,f.Z)(M(h)).body:void 0);return(0,z.jsx)(S,(0,t.Z)({BackdropProps:{invisible:!0},className:(0,s.Z)(er.root,L),container:dr,open:A,ref:e,ownerState:rr},Q,{children:(0,z.jsx)(V,(0,t.Z)({appear:!0,in:A,onEntering:function(r,e){J&&J(r,e),cr()},onExited:function(){lr(!1)},timeout:ur},K,{children:(0,z.jsx)(R,(0,t.Z)({elevation:F},H,{ref:$,className:(0,s.Z)(er.paper,H.className)},sr?void 0:{style:(0,t.Z)({},H.style,{opacity:0})},{ownerState:rr,children:q}))}))}))}))}}]);
//# sourceMappingURL=1427.b01ee47b.chunk.js.map