PageSourceSearch

https://statics.offerup.com/2026.39.1.0-5a1feb5b-69b8-4338-a7da-46…/pages/selling/insights-d4ab4ecafba7bd5a.js

js offerup.com collected 2026-09-24 15:20:28 UTC 5,600 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1372],{44667:(e,t,r)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/selling/insights",function(){return r(86412)}])},70919:()=>{},86412:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>l});var a=r(18847),o=r.n(a),i=r(99934);let n=o()(()=>Promise.all([r.e(7488),r.e(3632),r.e(8606),r.e(3479),r.e(415)]).then(r.bind(r,90415)).then(e=>e.SellerPerformancePage),{loadableGenerated:{webpack:()=>[90415]}}),l=(0,i.Jo)(n)},91794:()=>{},99934:(e,t,r)=>{"use strict";r.d(t,{nU:()=>X,sE:()=>j,Jo:()=>B});var a=r(37876);r(14232);var o=r(868),i=r(36049),n=r(36589),l=r(91040),s=r(93606),u=r(45978),c=r(3853),d=r(46725),p=r(18610),h=r(98122),g=r(6793),y=r(8455),C=r(70919),w=r.n(C),f=r(11945),v=r(19790);let m=async e=>{if(!e.req?.jwtToken)return null;try{let t=await e.apolloClient.query({query:n.BE3,context:{headers:{Authorization:`Bearer ${e.req.jwtToken}`}}});return e.authUser=t?.data.me?(0,v.o)(t.data.me):void 0,e.authUser}catch(e){d.v.error(e)}return null},q=async(e,t)=>((0,y.f)()&&await m(e),t.getInitialProps(e));var S=r(9215),k=r(91794),x=r.n(k),A=r(23666),P=r(68779);let E=async()=>{let{statsigForwardProxyUrl:e,environment:t}=P.O.experimentation,r={environment:{tier:t},initTimeoutMs:3e3,...e&&{apiForDownloadConfigSpecs:e,fallbackToStatsigAPI:!0}};try{await x().initialize(A.A.statsigAPIKey,r)}catch(t){throw d.v.error({error:t,statsigForwardProxyUrl:e},"Statsig SDK initialization failed"),t}};var T=r(15229),b=r(8759);let _=async(e,t)=>{let{statsigForwardProxyUrl:r,statsigSDKKey:a}=P.O.experimentation;await E();let o=(0,f.h)(t,e.authUser?.id,e.req.DX,e.res.locals[g.AB]),i=w().getClientInitializeResponse(o,a,{hash:"djb2"});return i||d.v.error({statsigForwardProxyUrl:r},"Statsig getClientInitializeResponse returned empty response"),i},D=async e=>{let t=e.appProps.location?.zipCode;try{return await e.apolloClient.query({query:n.u5U,variables:{input:{zipcode:t},excludeL3:!(0,b.DX)(e.query.cid,e.query.slug)}})}catch(e){d.v.error(e)}return null},I=async e=>{try{return(await e.apolloClient.query({query:n.Y5R,variables:{input:{deviceId:e.req.DX},...(0,T.L)(e.appProps.location)},context:{headers:{"user-agent":e.req.useragent.source}}})).data.userContext.userContext}catch(e){d.v.error(e)}return null},U=async e=>{try{let t=await e.apolloClient.query({query:S.GetVideoAuthTokensDocument}),{expirationTime:r}=t.data.getVideoAuthTokens;t.data?.getVideoAuthTokens?.sessionCookies?.forEach(t=>{var a;let o,i,n,l;a=e.res,o=t.indexOf("="),i=t.slice(0,o),n=t.slice(o+1),l=new Date(r).getTime()-Date.now(),a.cookie(i,n,{httpOnly:!0,secure:!0,maxAge:l,sameSite:"none",domain:A.A.cookieSubDomain})})}catch(e){d.v.error(e)}},z=async(e,t=!1)=>{if(!e.res)return{};let[r,a]=await Promise.all([D(e),I(e),U(e),!t?m(e):Promise.resolve({})]);try{let t=await _(e,a);return{categories:r,statsigValues:t,statsigUserContext:a??void 0}}catch(e){d.v.error(e)}return{categories:r}},O=e=>!!e&&(!!e.city||!!e.zipCode||!!e.latitude&&!!e.longitude),F=e=>{e.res?.cookie(p.dX,"1",{maxAge:3e5,sameSite:"lax",secure:!0})},N=async e=>{let t=(0,h.$)(e.req?.cookies[p.FW]);if(O(t))return t;let r=e.req?.ipAddress;if(!r||e.req?.cookies[p.dX])return null;try{let{data:{data:t}}=await l.A.get(`${A.A.locationUrl}/internal/locationv2/location`,{params:{ip:r},timeout:3e3}),a={city:t?.city,state:t?.state,zipCode:t?.zipCode,longitude:t?.lon,latitude:t?.lat,source:"ip"};if(!O(a))return F(e),null;return e.res.cookie(p.FW,JSON.stringify(a),{maxAge:864e5,sameSite:"lax",secure:!0}),a}catch(t){return d.v.error("Error fetching location from ip",{error:t,middleware:"location"}),F(e),null}},X=async e=>{let t=await N(e),r={colorMode:e.res?.locals.colorMode,location:t,isWebview:e.res?.locals.isWebview,isFTUE:e.req?.isFTUE,userAgent:e.req?.useragent,authenticatedViaToken:!!e.req?.jwtToken||!!e.req?.refreshToken||!!e.apolloClient?.cache.readQuery({query:n.BE3}),deviceId:e.req?.DX,sessionId:e.res?.locals[g.AB],secGpc:e.req?.headers["sec-gpc"]};return e.appProps=r,r},j=e=>{let t=(0,s.fq)({context:e});return e.apolloClient=t,t};function B(e){let t=t=>(0,a.jsx)(e,{...t});return t.getInitialProps=async t=>{let r,a;j(t);let n=(0,y.f)(),l=await X(t),s={};try{let o=[];return n&&o.push(z(t,!!e.getInitialProps)),e.getInitialProps&&o.push(q(t,e)),(await Promise.allSettled(o)).forEac
1h((e,t)=>{if("rejected"===e.status)throw e.reason;n&&0===t?(r=JSON.stringify(e.value.statsigValues),a=JSON.stringify(e.value.statsigUserContext)):s=e.value}),s?.notFound&&t.res&&(t.res.statusCode=404),{...s,appProps:l,httpStatusCode:t.res?.statusCode,initialApolloState:t.apolloClient.cache.extract(),apolloClient:t.apolloClient,initializeStatsigValues:r,initializeStatsigUserContext:a}}catch(g){d.v.error(g);let e=g instanceof o.K?g:new o.K({errorMessage:String(g)}),n=e.graphQLErrors?.find(e=>(0,u.Kg)(e.extensions)),p=n?.extensions;if(p)return{...s,appProps:l,initialApolloState:t.apolloClient.cache.extract(),apolloClient:t.apolloClient,vpnBlockError:(0,u.bt)(p.exception?.originalError?.error),initializeStatsigValues:r,initializeStatsigUserContext:a};let h=(e=>{let{message:t,httpStatusCode:r,...a}=(0,i.b)(e);return(0,c.DF)({message:t||e.message||"An unexpected error occurred",httpStatusCode:r||500,...a})})(e);return t.res&&(t.res.statusCode=h.httpStatusCode,404===h.httpStatusCode&&(s={...s,notFound:!0})),{...s,appProps:l,initialApolloState:t.apolloClient.cache.extract(),httpStatusCode:h.httpStatusCode,apolloClient:t.apolloClient,error:h,initializeStatsigValues:r,initializeStatsigUserContext:a}}},t.getLayout=e.getLayout,t}}},e=>{e.O(0,[636,6593,8792],()=>e(e.s=44667)),_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.