PageSourceSearch

https://nowscan.io/_next/static/chunks/3053.f2007689fbc75714.js

js nowscan.io collected 2026-10-07 18:33:23 UTC 8,264 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3053],{29142:function(e,n,r){r.d(n,{Z:function(){return useIsSticky}});var a=r(23493),t=r.n(a),i=r(67294);function useIsSticky(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=!(arguments.length>2)||void 0===arguments[2]||arguments[2],[a,s]=i.useState(!1),l=i.useCallback(()=>{var r;Number(null===(r=e.current)||void 0===r?void 0:r.getBoundingClientRect().y)<n?s(!0):s(!1)},[e,n]);return i.useEffect(()=>{if(!r)return;let e=t()(l,300);return window.addEventListener("scroll",e),()=>{window.removeEventListener("scroll",e)}},[r]),a}},93027:function(e,n,r){r.d(n,{G:function(){return a},k:function(){return t}});let a="0x2B51Ae4412F79c3c1cB12AA40Ea4ECEb4e80511a",t={hash:a,implementation_name:null,is_contract:!1,is_verified:null,name:null,private_tags:[],public_tags:[],watchlist_names:[],ens_domain_name:null}},58244:function(e,n,r){var a=r(85893),t=r(12498),i=r(204),s=r(75350),l=r(67294),o=r(67333),u=r(29142);n.Z=(0,s.m)(e=>{let{children:n,className:r,showShadow:s}=e,c=l.useRef(null),d=(0,o.C)(),p=(0,u.Z)(c,111);return((0,t.ff)("white","black"),l.Children.toArray(n).filter(Boolean).length)?(0,a.jsx)(i.k,{className:r,backgroundColor:{base:"#251350",lg:"#52105600"},py:6,mx:{base:-4,lg:0},px:{base:4,lg:0},justifyContent:"space-between",width:{base:"100vw",lg:"unset"},position:{base:"sticky",lg:"static"},top:{base:"down"===d?"".concat(0,"px"):"".concat(106,"px"),lg:0},transitionProperty:"top,box-shadow,background-color,color",transitionDuration:"normal",zIndex:{base:"sticky2",lg:"docked"},boxShadow:{base:p?"md":"none",lg:p&&s?"action_bar":"none"},ref:c,children:n}):null})},19819:function(e,n,r){var a=r(85893),t=r(31507),i=r(56837),s=r(75350);r(67294),n.Z=(0,s.m)(e=>{let{className:n}=e;return(0,a.jsx)(t.b,{status:"warning",width:"fit-content",className:n,children:(0,a.jsx)(i.X,{children:"Something went wrong. Try refreshing the page or come back later."})})})},56048:function(e,n,r){var a=r(85893),t=r(93344),i=r(47523),s=r(33838),l=r(62723),o=r(204),u=r(14418),c=r(75350),d=r(23279),p=r.n(d),h=r(67294),m=r(55036),g=r(96026),b=r(76215);let BackLink=e=>{if(!e)return null;if(e.isLoading)return(0,a.jsx)(t.O,{boxSize:6,display:"inline-block",borderRadius:"base",mr:3,my:2,verticalAlign:"text-bottom",isLoaded:!e.isLoading});let n=(0,a.jsx)(g.Z,{name:"arrows/east",boxSize:6,transform:"rotate(180deg)",margin:"auto",color:"gray.400"});return"url"in e?(0,a.jsx)(i.u,{label:e.label,children:(0,a.jsx)(b.Z,{display:"inline-flex",href:e.url,h:"40px",mr:3,children:n})}):(0,a.jsx)(i.u,{label:e.label,children:(0,a.jsx)(s.r,{display:"inline-flex",onClick:e.onClick,h:"40px",mr:3,children:n})})};n.Z=(0,c.m)(e=>{let{title:n,contentAfter:r,withTextAd:s,backLink:c,className:d,isLoading:g,afterTitle:b,beforeTitle:f,secondRow:x}=e,y=(0,l.q)(),w=(0,m.Z)(),[k,v]=h.useState(!1),j=h.useRef(null),_=h.useRef(null),C=h.useCallback(()=>{if(!j.current||!_.current)return;let e=j.current.getBoundingClientRect(),n=_.current.getBoundingClientRect();2*e.height<=n.height?v(!0):v(!1)},[]);return h.useEffect(()=>{g||C()},[g,C]),h.useEffect(()=>{let e=p()(C,1e3);return window.addEventListener("resize",e),function(){window.removeEventListener("resize",e)}},[C]),(0,a.jsxs)(o.k,{className:d,flexDir:"column",rowGap:3,mb:6,children:[(0,a.jsxs)(o.k,{flexDir:"row",flexWrap:"wrap",rowGap:3,columnGap:3,alignItems:"center",children:[(0,a.jsxs)(o.k,{h:{base:"auto",lg:g?10:"auto"},maxW:"100%",alignItems:"center",children:[c&&(0,a.jsx)(BackLink,{...c,isLoading:g}),f,(0,a.jsx)(t.O,{isLoaded:!g,overflow:"hidden",children:(0,a.jsx)(i.u,{label:n,isOpen:y.isOpen,onClose:y.onClose,maxW:{base:"calc(100vw - 32px)",lg:"500px"},closeOnScroll:!!w,isDisabled:!k,children:(0,a.jsx)(u.X,{ref:j,as:"h1",size:"lg",whiteSpace:"normal",wordBreak:"break-all",style:{WebkitLineClamp:1,WebkitBoxOrient:"vertical",display:"-webkit-box"},overflow:"hidden",textOverflow:"ellipsis",onMouseEnter:y.onOpen,onMouseLeave:y.onClose,onClick:w?y.onToggle:void 0,children:(0,a.jsx)("span",{ref:_,children:n})})})}),b]}),r]}),x&&(0,a.jsx)(o.k,{alignItems:"center",minH:10,overflow:"hidden",_empty:{display:"none"},children:x})]})})},52323:function(e,n,r){var a=r(85893),t=r(204),i=r(93344),s=r(96272),l=r(89154),o=r(75350);r(67294);var u=r(96026);n.Z=(0,o.m)(e=>{let{page:n,onNextPageClick:r,onPrevPageClick:o,resetPage:c,hasPages:d,hasNextPage:p,className:h,canGoBackwards:m,isLoading:g,isVisible:b}=e;if(!b)return null;let f=1===n&&!d&&g;return(0,a.jsxs)(t.k,{className:h,fontSize:"sm",alignItems:"center",children:[(0,a.jsx)(i.O,{isLoaded:!f,display:"inline-block",mr:4,borderRadius:"base",children:(0,a.jsx)(s.z,{variant:"outline",size:"sm",onClick:c,isDisabled:1===n||g,children:"First"})}),(0,a.jsx)(i.O,{isLoaded:!f,display:"inline-block",mr:3,borderRadius:"base",children:(0,a.jsx)(l.h,{variant:"outline",onClick:o,size:"sm","aria-label":"Prev page",w:"36px",icon:(0,a.jsx)(u.Z,{name:"arrows/east-mini",w:5,h:5}),isDisabled:!m||g})}),(0,a.jsx)(i.O,{isLoaded:!f,display:"inline-block",borderRadius:"base",children:(0,a.jsx)(s.z,{variant:"outline",size:"sm",isActive:!0,borderWidth:"1px",fontWeight:400,h:8,minW:"36px",cursor:"unset",children:n})}),(0,a.jsx)(i.O,{isLoaded:!f,display:"inline-block",ml:3,borderRadius:"base",children:(0,a.jsx)(l.h,{variant:"outline",onClick:r,size:"sm","aria-label":"Next page",w:"36px",icon:(0,a.jsx)(u.Z,{name:"arrows/east-mini",w:5,h:5,transform:"rotate(180deg)"}),isDisabled:!p||g})})]})})},5737:function(e,n,r){r.d(n,{Z:function(){return useQueryWithPages}});var a=r(30202),t=r(57557),i=r.n(t),s=r(11163),l=r(67294),o=r(66261),u=r(98359),c=r(36217),d=r(97526);let p={1:{}}
1;function useQueryWithPages(e){let{resourceName:n,filters:r,sorting:t,options:h,pathParams:m,scrollRef:g}=e,b=u.rP[n],f=(0,a.NL)(),x=(0,s.useRouter)(),[y,w]=l.useState(x.query.page&&!Array.isArray(x.query.page)?Number(x.query.page):1),[k,v]=l.useState({[y]:function(e){if(e)try{return JSON.parse(decodeURIComponent((0,d.Z)(e)))}catch(e){}return{}}(x.query.next_page_params)}),[j,_]=l.useState(y>1),C=l.useRef(!1),q={...k[y],...r,...t},S=(0,l.useCallback)(()=>{(null==g?void 0:g.current)?g.current.scrollIntoView(!0):o.NY.scrollToTop({duration:0})},[g]),L=(0,c.Z)(n,{pathParams:m,queryParams:Object.keys(q).length?q:void 0,queryOptions:{staleTime:1===y?0:1/0,...h}}),{data:O}=L,E=function(e){if(e&&"object"==typeof e&&"next_page_params"in e)return e.next_page_params}(O),R=(0,l.useCallback)(()=>{if(!E)return;v(e=>({...e,[y+1]:E})),w(e=>e+1);let e={...x.query,page:String(y+1),next_page_params:encodeURIComponent(JSON.stringify(E))};_(!0),S(),x.push({pathname:x.pathname,query:e},void 0,{shallow:!0})},[E,y,x,S]),N=(0,l.useCallback)(()=>{let e={...x.query};2===y?e=i()(x.query,["next_page_params","page"]):(e.next_page_params=encodeURIComponent(JSON.stringify(k[y-1])),e.page=String(y-1)),S(),x.push({pathname:x.pathname,query:e},void 0,{shallow:!0}).then(()=>{w(e=>e-1),2===y&&f.removeQueries({queryKey:[n]})})},[x,y,k,S,f,n]),Z=(0,l.useCallback)(()=>{f.removeQueries({queryKey:[n]}),S();let e=i()(x.query,["next_page_params","page"]);x.push({pathname:x.pathname,query:e},void 0,{shallow:!0}).then(()=>{f.removeQueries({queryKey:[n]}),w(1),v(p),window.setTimeout(()=>{f.removeQueries({queryKey:[n],type:"inactive"})},100)})},[f,n,x,S]),z=(0,l.useCallback)(e=>{let n=i()(x.query,"next_page_params","page","filterFields"in b?b.filterFields:[]);e&&Object.entries(e).forEach(e=>{let[r,a]=e,t="boolean"==typeof a||a&&a.length;t&&(n[r]=Array.isArray(a)?a.join(","):String(a)||"")}),S(),x.push({pathname:x.pathname,query:n},void 0,{shallow:!0}).then(()=>{_(!1),w(1),v(p)})},[x,b,S]),B=(0,l.useCallback)(e=>{let n={...i()(x.query,"next_page_params","page",u.Qd),...e};S(),x.push({pathname:x.pathname,query:n},void 0,{shallow:!0}).then(()=>{_(!1),w(1),v(p)})},[x,S]),I=!!E&&Object.keys(E).length>0,A={page:y,onNextPageClick:R,onPrevPageClick:N,resetPage:Z,hasPages:j,hasNextPage:I,canGoBackwards:!!k[y-1],isLoading:L.isPlaceholderData,isVisible:j||I};return l.useEffect(()=>{1!==y&&C.current&&(f.cancelQueries({queryKey:[n]}),w(1))},[n]),l.useEffect(()=>{window.setTimeout(()=>{C.current=!0},0)},[]),{...L,pagination:A,onFilterChange:z,onSortingChange:B}}}}]);
2//# sourceMappingURL=3053.f2007689fbc75714.js.map

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.