1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2387],{52387:function(n,t,e){var o=e(81225),r=e(44168),i=e(67294),a=(e(45697),e(73935)),l=e(79437),c=e(86010),u=e(30626),f=e(80713),s=e(42959),h=e(52543),v=e(86924),p=e(20170),d=e(79895);function E(n,t){var e=0;return"number"===typeof t?e=t:"center"===t?e=n.height/2:"bottom"===t&&(e=n.height),e}function m(n,t){var e=0;return"number"===typeof t?e=t:"center"===t?e=n.width/2:"right"===t&&(e=n.width),e}function g(n){return[n.horizontal,n.vertical].map((function(n){return"number"===typeof n?"".concat(n,"px"):n})).join(" ")}function b(n){return"function"===typeof n?n():n}var x=i.forwardRef((function(n,t){var e=n.action,h=n.anchorEl,x=n.anchorOrigin,Z=void 0===x?{vertical:"top",horizontal:"left"}:x,w=n.anchorPosition,z=n.anchorReference,C=void 0===z?"anchorEl":z,P=n.children,k=n.classes,y=n.className,O=n.container,T=n.elevation,N=void 0===T?8:T,H=n.getContentAnchorEl,R=n.marginThreshold,M=void 0===R?16:R,W=n.onEnter,_=n.onEntered,A=n.onEntering,D=n.onExit,B=n.onExited,L=n.onExiting,j=n.open,I=n.PaperProps,S=void 0===I?{}:I,X=n.transformOrigin,Y=void 0===X?{vertical:"top",horizontal:"left"}:X,q=n.TransitionComponent,F=void 0===q?p.Z:q,G=n.transitionDuration,J=void 0===G?"auto":G,K=n.TransitionProps,Q=void 0===K?{}:K,U=(0,r.Z)(n,["action","anchorEl","anchorOrigin","anchorPosition","anchorReference","children","classes","className","container","elevation","getContentAnchorEl","marginThreshold","onEnter","onEntered","onEntering","onExit","onExited","onExiting","open","PaperProps","transformOrigin","TransitionComponent","transitionDuration","TransitionProps"]),V=i.useRef(),$=i.useCallback((function(n){if("anchorPosition"===C)return w;var t=b(h),e=(t&&1===t.nodeType?t:(0,u.Z)(V.current).body).getBoundingClientRect(),o=0===n?Z.vertical:"center";return{top:e.top+E(e,o),left:e.left+m(e,Z.horizontal)}}),[h,Z.horizontal,Z.vertical,w,C]),nn=i.useCallback((function(n){var t=0;if(H&&"anchorEl"===C){var e=H(n);if(e&&n.contains(e)){var o=function(n,t){for(var e=t,o=0;e&&e!==n;)o+=(e=e.parentElement).scrollTop;return o}(n,e);t=e.offsetTop+e.clientHeight/2-o||0}0}return t}),[Z.vertical,C,H]),tn=i.useCallback((function(n){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return{vertical:E(n,Y.vertical)+t,horizontal:m(n,Y.horizontal)}}),[Y.horizontal,Y.vertical]),en=i.useCallback((function(n){var t=nn(n),e={width:n.offsetWidth,height:n.offsetHeight},o=tn(e,t);if("none"===C)return{top:null,left:null,transformOrigin:g(o)};var r=$(t),i=r.top-o.vertical,a=r.left-o.horizontal,l=i+e.height,c=a+e.width,u=(0,f.Z)(b(h)),s=u.innerHeight-M,v=u.innerWidth-M;if(i<M){var p=i-M;i-=p,o.vertical+=p}else if(l>s){var d=l-s;i-=d,o.vertical+=d}if(a<M){var E=a-M;a-=E,o.horizontal+=E}else if(c>v){var m=c-v;a-=m,o.horizontal+=m}return{top:"".concat(Math.round(i),"px"),left:"".concat(Math.round(a),"px"),transformOrigin:g(o)}}),[h,C,$,nn,tn,M]),on=i.useCallback((function(){var n=V.current;if(n){var t=en(n);null!==t.top&&(n.style.top=t.top),null!==t.left&&(n.style.left=t.left),n.style.transformOrigin=t.transformOrigin}}),[en]),rn=i.useCallback((function(n){V.current=a.findDOMNode(n)}),[]);i.useEffect((function(){j&&on()})),i.useImperativeHandle(e,(function(){return j?{updatePosition:function(){on()}}:null}),[j,on]),i.useEffect((function(){if(j){var n=(0,l.Z)((function(){on()}));return window.addEventListener("resize",n),function(){n.clear(),window.removeEventListener("resize",n)}}}),[j,on]);var an=J;"auto"!==J||F.muiSupportAuto||(an=void 0);var ln=O||(h?(0,u.Z)(b(h)).body:void 0);return i.createElement(v.Z,(0,o.Z)({container:ln,open:j,ref:t,BackdropProps:{invisible:!0},className:(0,c.Z)(k.root,y)},U),i.createElement(F,(0,o.Z)({appear:!0,in:j,onEnter:W,onEntered:_,onExit:D,onExited:B,onExiting:L,timeout:an},Q,{onEntering:(0,s.Z)((function(n,t){A&&A(n,t),on()}),Q.onEntering)}),i.createElement(d.Z,(0,o.Z)({elevation:N,ref:rn},S,{className:(0,c.Z)(k.paper,S.className)}),P)))}));t.ZP=(0,h.Z)({root:{},paper:{position:"absolute",overflowY:"auto",overflowX:"hidden",minWidth:16,minHeight:16,maxWidth:"calc(100% - 32px)",maxHeight:"calc(100% - 32px)",outline:0}},{name:"MuiPopover"})(x)}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.