PageSourceSearch

https://app.tweethunter.io/_next/static/chunks/pages/thread-finder-8ffdcfa53838f8f9.js

js tweethunter.io collected 2026-09-24 09:25:05 UTC 7,229 bytes, 1 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="65798ed0-646d-4777-833e-5dbdf3d0dfb3",e._sentryDebugIdIdentifier="sentry-dbid-65798ed0-646d-4777-833e-5dbdf3d0dfb3")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6327],{91431:function(e,t,i){"use strict";i.d(t,{R:function(){return m}});var n=i(65440),r=i(67294),o=i(9762),s=i(16575);function l(e){let{scrollTop:t,isScrolling:i}=(0,s.G)(e.offset,e.scrollFps);return(0,o.$)({scrollTop:t,isScrolling:i,positioner:e.positioner,resizeObserver:e.resizeObserver,items:e.items,onRender:e.onRender,as:e.as,id:e.id,className:e.className,style:e.style,role:e.role,tabIndex:e.tabIndex,containerRef:e.containerRef,itemAs:e.itemAs,itemStyle:e.itemStyle,itemHeightEstimate:e.itemHeightEstimate,itemKey:e.itemKey,overscanBy:e.overscanBy,height:e.height,render:e.render})}i(34155);var a=i(23778),d=i(86685),u=i(5364),c=i(25312),f=i(65355),h=i(76706);let p={index:void 0,position:void 0,prevTop:void 0};i(34155);let v=r.createElement;function m(e){let t=r.useRef(null),i=(0,n.iP)({initialWidth:e.ssrWidth,initialHeight:e.ssrHeight}),o=(0,a.q)(t,i),s=Object.assign({offset:o.offset,width:o.width||i[0],height:i[1],containerRef:t},e);s.positioner=(0,d.G)(s),s.resizeObserver=(0,u.y)(s.positioner);let m=function(e,t){var i;let{align:n="top",element:o="undefined"!=typeof window&&window,offset:s=0,height:l="undefined"!=typeof window?window.innerHeight:0}=t,a=(0,f.Z)({positioner:e,element:o,align:n,offset:s,height:l}),d=r.useRef(()=>{let e=a.current.element;return e&&"current"in e?e.current:e}).current,[u,v]=r.useReducer((e,t)=>{let i={position:e.position,index:e.index,prevTop:e.prevTop};if("scrollToIndex"===t.type){var n;return{position:a.current.positioner.get(null!==(n=t.value)&&void 0!==n?n:-1),index:t.value,prevTop:void 0}}if("setPosition"===t.type)i.position=t.value;else if("setPrevTop"===t.type)i.prevTop=t.value;else if("reset"===t.type)return p;return i},p),m=(0,h.z)(v,15);(0,c.Z)(d(),"scroll",()=>{if(!u.position&&u.index){let e=a.current.positioner.get(u.index);e&&v({type:"setPosition",value:e})}});let g=void 0!==u.index&&(null===(i=a.current.positioner.get(u.index))||void 0===i?void 0:i.top);return r.useEffect(()=>{let e=d();if(!e)return;let{height:t,align:i,offset:n,positioner:r}=a.current;if(u.position){let r=u.position.top;"bottom"===i?r=r-t+u.position.height:"center"===i&&(r-=(t-u.position.height)/2),e.scrollTo(0,Math.max(0,r+=n));let o=!1,s=setTimeout(()=>!o&&v({type:"reset"}),400);return()=>{o=!0,clearTimeout(s)}}if(void 0!==u.index){let i=r.shortestColumn()/r.size()*u.index;u.prevTop&&(i=Math.max(i,u.prevTop+t)),e.scrollTo(0,i),m({type:"setPrevTop",value:i})}},[g,u,a,d,m]),r.useRef(e=>{v({type:"scrollToIndex",value:e})}).current}(s.positioner,{height:s.height,offset:o.offset,align:"object"==typeof e.scrollToIndex?e.scrollToIndex.align:void 0}),g=e.scrollToIndex&&("number"==typeof e.scrollToIndex?e.scrollToIndex:e.scrollToIndex.index);return r.useEffect(()=>{void 0!==g&&m(g)},[g,m]),v(l,s)}},91984:function(e,t,i){(window.__NEXT_P=window.__NEXT_P||[]).push(["/thread-finder",function(){return i(53379)}])},53379:function(e,t,i){"use strict";i.r(t),i.d(t,{__N_SSG:function(){return T},default:function(){return j}});var n=i(85893),r=i(67294),o=i(11163),s=i(68029),l=i(3712),a=i(90092),d=i(15715),u=i(6630),c=i(91431),f=i(74931),h=i(97410),p=i(4349),v=i(71314),m=i(99433),g=i(52193),x=i(20618),y=i(99832),b=i(19996);let w=0;var T=!0;function j(e){let{defaultCreators:t}=e,[i,T]=(0,r.useState)(t),[j,_]=(0,r.useState)(!1),[I,E]=(0,r.useState)([]),N=(0,o.useRouter)();(0,r.useEffect)(()=>{b.S1({}),fetch("https://tweethunter.io/api/tools").then(e=>e.json()).then(e=>{(null==e?void 0:e.tools)&&E(e.tools)}).catch(()=>{})},[]);let S=async(e,t)=>{let i=await fetch("".concat((0,y.kG)("searchCreators"),"?twUserName=").concat(t)),n=await i.json();if(n.success&&n.creators){var r,o;w=Math.max(null===(r=n.creators)||void 0===r?void 0:r.length,w);for(let e=null===(o=n.creators)||void 0===o?void 0:o.length;e<w;e++)n.creators.push({});
1T(n.creators)}},R=async()=>{let e=await fetch((0,y.kG)("defaultCreators")),t=await e.json();if(t.success&&t.creators){var i;t.creators.forEach(e=>{"string"==typeof e.entities&&(e.entities=JSON.parse(e.entities))}),T(t.creators),w=null===(i=t.creators)||void 0===i?void 0:i.length}};return(0,r.useEffect)(()=>{R()},[]),(0,r.useEffect)(()=>{var e,t;(null===(e=N.query)||void 0===e?void 0:e.email)&&(null===(t=N.query)||void 0===t?void 0:t.unsubscribe)==="all"&&!j&&(_(!0),f.default.promise(new Promise(async(e,t)=>{try{let i=await fetch("/api/email/unsubscribe",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({email:N.query.email,type:"unsubscribeAll"})}),n=await i.json();n.success?e(n.message):t(n.message)}catch(e){t(e)}}),{loading:"Unsubscribing...",success:e=>"".concat(e),error:e=>"".concat(e)}))},[N.query]),(0,n.jsxs)(s.x,{children:[(0,n.jsx)(m.R,{tools:I}),(0,n.jsxs)(s.x,{maxW:1200,margin:"auto",p:4,children:[(0,n.jsx)(v.u,{title:"Find the best creators and get notified for their threads",desc:"Filter our the noise and get notified for the best threads from the creators you love.",url:"https://tweethunter.io/thread-finder",image:"https://ondemand.bannerbear.com/simpleurl/9MOpzJ843LWBnGWYvq/image/title/text/Twitter Thread Finder"}),(0,n.jsxs)(l.K,{mt:10,children:[(0,n.jsx)(a.x,{fontSize:"2xl",fontWeight:"600",textAlign:"center",maxW:"600px",margin:"auto",as:"h1",children:"Find the best creators and get notified for their threads"}),(0,n.jsx)(a.x,{mb:4,color:"neutral.content",fontSize:"md",textAlign:"center",children:"We let you choose any Twitter account and get notified when they ship a new thread"}
1),(0,n.jsx)(d.M,{mt:100,children:(0,n.jsx)(h.Z,{sendRequest:S,placeholder:"@patxol",align:"center",disableFilters:!0,searchMode:"people",withHandleSuggestions:!0})}),(null==i?void 0:i.length)>0?(0,n.jsx)(d.M,{children:(0,n.jsx)(c.R,{items:i,columnWidth:260,columnGutter:10,render:e=>{var t,i,r;return(null==e?void 0:null===(t=e.data)||void 0===t?void 0:t.id_str)?(0,n.jsx)(p.Z,{user:e,linkOverride:"/thread-finder/"+(null==e?void 0:null===(i=e.data)||void 0===i?void 0:i.screen_name)},null==e?void 0:null===(r=e.data)||void 0===r?void 0:r.id_str):(0,n.jsx)(n.Fragment,{})}})}):(0,n.jsx)(d.M,{m:20,children:(0,n.jsx)(u.r,{loading:!0,css:"display: block; margin: 0 auto; border-color: red;",size:50})})]})]}),(0,n.jsx)(x.D,{headline:"Found great threads?\nNow create your own viral content.",subheadline:"tweethunter uses AI to help you write, schedule, and grow your X audience."}),(0,n.jsx)(g.B,{tools:I})]})}},50232:function(e,t,i){"use strict";i.d(t,{X:function(){return d}});var n=i(85893),r=i(65544),o=i(34926),s=i(49381),l=i(73035),a=i(17997);let d=(0,s.G)(function(e,t){let i=(0,l.m)("Heading",e),{className:s,...d}=(0,r.L)(e);return(0,n.jsx)(a.m.h2,{ref:t,className:(0,o.cx)("chakra-heading",e.className),...d,__css:i})});d.displayName="Heading"}},function(e){e.O(0,[7410,3492,9774,2888,179],function(){return e(e.s=91984)}),_N_E=e.O()}]);

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.