vendor: 4,995 bytes, line 1
1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[205],{3199:function(e,t,o){var r=this&&this.__assign||function(){return(r=Object.assign||function(e){for(var t,o=1,r=arguments.length;o<r;o++)for(var n in t=arguments[o])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.ArrowContainer=void 0;var n=o(7458),i=o(2983),u=o(614);t.ArrowContainer=function(e){var t=e.childRect,o=e.popoverRect,a=e.position,c=e.arrowColor,d=e.arrowSize,l=e.arrowClassName,s=e.arrowStyle,p=e.className,f=e.children,v=e.style,h=u.useArrowContainer({childRect:t,popoverRect:o,position:a,arrowColor:c,arrowSize:d}),g=h.arrowContainerStyle,R=h.arrowStyle,b=i.useMemo(function(){return r(r({},g),v)},[g,v]),m=i.useMemo(function(){return r(r({},R),s)},[R,s]);return n.jsxs("div",r({className:p,style:b},{children:[n.jsx("div",{style:m,className:l},void 0),f]}),void 0)}},7205:function(e,t,o){var r=this&&this.__assign||function(){return(r=Object.assign||function(e){for(var t,o=1,r=arguments.length;o<r;o++)for(var n in t=arguments[o])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.Popover=t.usePopover=t.ArrowContainer=t.useArrowContainer=void 0;var n=o(7458),i=o(2983),u=o(9127),a=o(2329),c=o(3016);Object.defineProperty(t,"usePopover",{enumerable:!0,get:function(){return c.usePopover}});var d=o(4843),l=o(614);Object.defineProperty(t,"useArrowContainer",{enumerable:!0,get:function(){return l.useArrowContainer}});var s=o(3199);Object.defineProperty(t,"ArrowContainer",{enumerable:!0,get:function(){return s.ArrowContainer}});var p=["top","left","right","bottom"],f=i.forwardRef(function(e,t){var o=e.isOpen,l=e.children,s=e.content,f=e.positions,v=e.align,h=void 0===v?"center":v,g=e.padding,R=void 0===g?0:g,b=e.reposition,m=void 0===b||b,w=e.parentElement,y=void 0===w?window.document.body:w,C=e.boundaryElement,E=e.containerClassName,P=e.containerStyle,_=e.contentLocation,T=e.boundaryInset,x=void 0===T?0:T,N=e.onClickOutside,M=e.clickOutsideCapture,O=void 0!==M&&M,L=d.useMemoizedArray(void 0===f?p:f),j=i.useRef(!1),A=i.useRef(),I=i.useRef(),k=i.useRef(m),B=i.useRef(),S=i.useState({align:h,nudgedLeft:0,nudgedTop:0,position:L[0],padding:R,childRect:a.EMPTY_CLIENT_RECT,popoverRect:a.EMPTY_CLIENT_RECT,parentRect:a.EMPTY_CLIENT_RECT,boundaryRect:a.EMPTY_CLIENT_RECT,boundaryInset:x,violations:a.EMPTY_CLIENT_RECT,hasViolations:!1}),Y=S[0],z=S[1],F=i.useCallback(function(e){return z(e)},[]),q=c.usePopover({isOpen:o,childRef:B,containerClassName:void 0===E?"react-tiny-popover-container":E,parentElement:y,boundaryElement:void 0===C?y:C,contentLocation:_,positions:L,align:h,padding:R,boundaryInset:x,reposition:m,onPositionPopover:F}),V=q.positionPopover,D=q.popoverRef,G=q.scoutRef;i.useLayoutEffect(function(){var e=!0,t=function(){var r,n;if(o&&e){var i=null===(r=null==B?void 0:B.current)||void 0===r?void 0:r.getBoundingClientRect(),u=null===(n=null==D?void 0:D.current)||void 0===n?void 0:n.getBoundingClientRect();null==i||null==u||a.rectsAreEqual(i,{top:Y.childRect.top,left:Y.childRect.left,width:Y.childRect.width,height:Y.childRect.height,bottom:Y.childRect.top+Y.childRect.height,right:Y.childRect.left+Y.childRect.width})&&u.width===Y.popoverRect.width&&u.height===Y.popoverRect.height&&Y.padding===R&&Y.align===h&&L===A.current&&_===I.current&&m===k.current||V(),L!==A.current&&(A.current=L),_!==I.current&&(I.current=_),m!==k.current&&(k.current=m),e&&window.requestAnimationFrame(t)}j.current=o};return window.requestAnimationFrame(t),function(){e=!1}},[h,_,o,R,D,Y.align,Y.childRect.height,Y.childRect.left,Y.childRect.top,Y.childRect.width,Y.padding,Y.popoverRect.height,Y.popoverRect.width,V,L,m]),i.useEffect(function(){var e=D.current;return Object.assign(e.style,P),function(){Object.keys(null!=P?P:{}).forEach(function(t){return delete e.style[t]})}},[P,o,D]);var H=i.useCallback(function(e){var t,r;!o||(null===(t=D.current)||void 0===t?void 0:t.contains(e.target))||(null===(r=B.current)||void 0===r?void 0:r.contains(e.target))||null==N||N(e)},[o,N,D]),J=i.useCallback(function(){B.current&&window.requestAnimationFrame(function(){return V()})},[V]);i.useEffect(function(){var e=y.ownerDocument.body;return e.addEventListener("click",H,O),e.addEventListener("contextmenu",H,O),e.addEventListener("resize",J),function(){e.removeEventListener("click",H,O),e.removeEventListener("contextmenu",H,O),e.removeEventListener("resize",J)}},[O,H,J,y]);var K=i.useCallback(function(e){B.current=e,null!=t&&("object"==typeof t?t.current=e:"function"==typeof t&&t(e))},[t]);return n.jsxs(n.Fragment,{children:[i.cloneElement(l,{ref:K}),o?n.jsx(u.PopoverPortal,r({element:D.current,scoutElement:G.current,container:y},{children:"function"==typeof s?s(Y):s}),void 0):null]},void 0)});t.Popover=i.forwardRef(function(e,t){return"undefined"==typeof window?e.children:n.jsx(f,r({},e,{ref:t}),void 0)})}
1,9127:function(e,t,o){Object.defineProperty(t,"__esModule",{value:!0}),t.PopoverPortal=void 0;var r=o(2983),n=o(3730);t.PopoverPortal=function(e){var t=e.container,o=e.element,i=e.scoutElement,u=e.children;return r.useLayoutEffect(function(){return t.appendChild(o),t.appendChild(i),function(){t.removeChild(o),t.removeChild(i)}},[t,o,i]),n.createPortal(u,o)}},614:function(e,t,o){var r=this&&this.__assign||function(){return(r=Object.assign||function(e){for(var t,o=1,r=arguments.length;o<r;o++)for(var n in t=arguments[o])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.useArrowContainer=void 0;var n=o(2983);t.useArrowContainer=function(e){var t=e.childRect,o=e.popoverRect,i=e.position,u=e.arrowSize,a=e.arrowColor;return{arrowContainerStyle:n.useMemo(function(){return{padding:u}},[u]),arrowStyle:n.useMemo(function(){return r({position:"absolute"},function(){var e=2*u,r=t.top-o.top+t.height/2-e/2,n=t.left-o.left+t.width/2-e/2,c=o.width-u,d=o.height-u;switch(n=(n=n<u?u:n)+e>c?c-e:n,r=Number.isNaN(r=(r=r<u?u:r)+e>d?d-e:r)?0:r,n=Number.isNaN(n)?0:n,i){case"right":return{borderTop:u+"px solid transparent",borderBottom:u+"px solid transparent",borderRight:u+"px solid "+a,left:0,top:r};case"left":return{borderTop:u+"px solid transparent",borderBottom:u+"px solid transparent",borderLeft:u+"px solid "+a,right:0,top:r};case"bottom":return{borderLeft:u+"px solid transparent",borderRight:u+"px solid transparent",borderBottom:u+"px solid "+a,top:0,left:n};case"top":return{borderLeft:u+"px solid transparent",borderRight:u+"px solid transparent",borderTop:u+"px solid "+a,bottom:0,left:n};default:return{display:"hidden"}}}())},[a,u,t.height,t.left,t.top,t.width,o.height,o.left,o.top,o.width,i])}}},5976:function(e,t,o){Object.defineProperty(t,"__esModule",{value:!0}),t.useElementRef=void 0;var r=o(2983),n=o(2329);t.useElementRef=function(e,t){var o=r.useRef(),i=r.useMemo(function(){return n.createContainer(t,e)},[e,t]);return o.current=i,o}},4843:function(e,t,o){Object.defineProperty(t,"__esModule",{value:!0}),t.useMemoizedArray=void 0;var r=o(2983);t.useMemoizedArray=function(e){var t=r.useRef(e);return r.useMemo(function(){if(t.current===e)return t.current;if(t.current.length!==e.length)return t.current=e,e;for(var o=0;o<e.length;o+=1)if(e[o]!==t.current[o])return t.current=e,e;return t.current},[e])}},3016:function(e,t,o){Object.defineProperty(t,"__esModule",{value:!0}),t.usePopover=void 0;var r=o(2983),n=o(2329),i=o(5976),u={position:"fixed",overflow:"visible",top:"0px",left:"0px"},a={position:"fixed",top:"0px",left:"0px",width:"0px",height:"0px",visibility:"hidden"};t.usePopover=function(e){var t=e.isOpen,o=e.childRef,c=e.positions,d=e.containerClassName,l=e.parentElement,s=e.contentLocation,p=e.align,f=e.padding,v=e.reposition,h=e.boundaryInset,g=e.boundaryElement,R=e.onPositionPopover,b=i.useElementRef(d,u),m=i.useElementRef("react-tiny-popover-scout",a),w=r.useCallback(function(e){var r,i,u=void 0===e?{}:e,a=u.positionIndex,d=void 0===a?0:a,y=u.parentRect,C=void 0===y?l.getBoundingClientRect():y,E=u.childRect,P=void 0===E?null===(r=null==o?void 0:o.current)||void 0===r?void 0:r.getBoundingClientRect():E,_=u.scoutRect,T=void 0===_?null===(i=null==m?void 0:m.current)||void 0===i?void 0:i.getBoundingClientRect():_,x=u.popoverRect,N=void 0===x?b.current.getBoundingClientRect():x,M=u.boundaryRect,O=void 0===M?g===l?C:g.getBoundingClientRect():M;if(P&&C&&t){if(s){var L="function"==typeof s?s({childRect:P,popoverRect:N,parentRect:C,boundaryRect:O,padding:f,nudgedTop:0,nudgedLeft:0,boundaryInset:h,violations:n.EMPTY_CLIENT_RECT,hasViolations:!1}):s,j=L.top,A=L.left,I=Math.round(C.left+A-T.left),k=Math.round(C.top+j-T.top);b.current.style.transform="translate("+I+"px, "+k+"px)",R({childRect:P,popoverRect:N,parentRect:C,boundaryRect:O,padding:f,nudgedTop:0,nudgedLeft:0,boundaryInset:h,violations:n.EMPTY_CLIENT_RECT,hasViolations:!1});return}var B=d===c.length,S=B?c[0]:c[d],Y=n.getNewPopoverRect({childRect:P,popoverRect:N,boundaryRect:O,position:S,align:p,padding:f,reposition:v},h),z=Y.rect;if(Y.boundaryViolation&&v&&!B){w({positionIndex:d+1,childRect:P,popoverRect:N,parentRect:C,boundaryRect:O});return}var F=z.top,q=z.left,V=z.width,D=z.height,G=n.getNudgedPopoverRect(z,O,h),H=G.left,J=G.top,K=F,Q=q;v&&!B&&(K=J,Q=H),K=Math.round(K-T.top),Q=Math.round(Q-T.left),b.current.style.transform="translate("+Q+"px, "+K+"px)";var U={top:O.top+h-K,left:O.left+h-Q,right:Q+V-O.right+h,bottom:K+D-O.bottom+h};R({childRect:P,popoverRect:{top:K,left:Q,width:V,height:D,right:Q+V,bottom:K+D},parentRect:C,boundaryRect:O,position:S,align:p,padding:f,nudgedTop:J-F,nudgedLeft:H-q,boundaryInset:h,violations:{top:U.top<=0?0:U.top,left
1:U.left<=0?0:U.left,right:U.right<=0?0:U.right,bottom:U.bottom<=0?0:U.bottom},hasViolations:U.top>0||U.left>0||U.right>0||U.bottom>0})}},[l,o,m,b,g,t,s,c,p,f,v,h,R]);return{positionPopover:w,popoverRef:b,scoutRef:m}}},2329:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.getNudgedPopoverRect=t.getNewPopoverRect=t.popoverRectForPosition=t.createContainer=t.rectsAreEqual=t.EMPTY_CLIENT_RECT=void 0,t.EMPTY_CLIENT_RECT={top:0,left:0,bottom:0,height:0,right:0,width:0},t.rectsAreEqual=function(e,t){return e===t||(null==e?void 0:e.bottom)===(null==t?void 0:t.bottom)&&(null==e?void 0:e.height)===(null==t?void 0:t.height)&&(null==e?void 0:e.left)===(null==t?void 0:t.left)&&(null==e?void 0:e.right)===(null==t?void 0:t.right)&&(null==e?void 0:e.top)===(null==t?void 0:t.top)&&(null==e?void 0:e.width)===(null==t?void 0:t.width)},t.createContainer=function(e,t){var o=window.document.createElement("div");return t&&(o.className=t),Object.assign(o.style,e),o},t.popoverRectForPosition=function(e,t,o,r,n){var i,u,a=t.left+t.width/2,c=t.top+t.height/2,d=o.width,l=o.height;switch(e){case"left":i=c-l/2,u=t.left-r-d,"start"===n&&(i=t.top),"end"===n&&(i=t.bottom-l);break;case"bottom":i=t.bottom+r,u=a-d/2,"start"===n&&(u=t.left),"end"===n&&(u=t.right-d);break;case"right":i=c-l/2,u=t.right+r,"start"===n&&(i=t.top),"end"===n&&(i=t.bottom-l);break;default:i=t.top-l-r,u=a-d/2,"start"===n&&(u=t.left),"end"===n&&(u=t.right-d)}return{top:i,left:u,width:d,height:l,right:u+d,bottom:i+l}},t.getNewPopoverRect=function(e,o){var r=e.position,n=e.align,i=e.childRect,u=e.popoverRect,a=e.boundaryRect,c=e.padding,d=e.reposition,l=t.popoverRectForPosition(r,i,u,c,n),s=d&&("top"===r&&l.top<a.top+o||"left"===r&&l.left<a.left+o||"right"===r&&l.right>a.right-o||"bottom"===r&&l.bottom>a.bottom-o);return{rect:l,boundaryViolation:s}},t.getNudgedPopoverRect=function(e,t,o){var r=t.top+o,n=t.left+o,i=t.right-o,u=t.bottom-o,a=e.top<r?r:e.top;a=a+e.height>u?u-e.height:a;var c=e.left<n?n:e.left;return{top:a,left:c=c+e.width>i?i-e.width:c,width:e.width,height:e.height,right:c+e.width,bottom:a+e.height}}}}]);
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.