PageSourceSearch

https://www.quicknode.com/_next/static/chunks/3387-ff62c97faf8342d8.js

js quicknode.com collected 2026-09-24 08:32:19 UTC 14,182 bytes, 1 lines download raw bytes

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

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.