PageSourceSearch

https://mix.com/_next/static/chunks/pages/user/[username]-279b53f1935f7571.js

js mix.com collected 2026-10-01 09:17:32 UTC 4,001 bytes, 5 lines download raw bytes

1
2!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="693c970c-01f3-5aa3-9a65-e72dceee32c2")}catch(e){}}();
3!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},l=(new e.Error).stack;l&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[l]="2b5e569b-d5fb-41e5-8415-439c0b4ffd1b",e._sentryDebugIdIdentifier="sentry-dbid-2b5e569b-d5fb-41e5-8415-439c0b4ffd1b")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6293],{43515:function(e,l,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/user/[username]",function(){return n(88571)}])},88571:function(e,l,n){"use strict";n.r(l),n.d(l,{__N_SSP:function(){return x}});var u=n(85893),i=n(11163),t=n(67294),d=n(5678),r=n(36937),s=n(19616),o=n(16897),a=n(60656),c=n(89186),f=n(31302),_=n(95332),v=n(5482),g=n(58908),b=n(55340),y=n(63808),p=n(93897),k=n(61661),h=n(40419);let w=v.globals.PageContext,m=v.globals.PageContext.PageType;var x=!0;l.default=e=>{var l,n,v,x,E;let{nativeAutoRedirectUrl:I,username:P}=e,{changePageContext:C,commandContext:S}=(0,r.D)(),U=(0,c.$)(I),{data:L}=y.Z.useGetUserDetailsQuery({username:P}),{currentUserID:N,isLoggedIn:R,refreshCurrentUser:D}=(0,s.O)();(0,t.useEffect)(()=>{N===(null==L?void 0:L.user_id)&&(null==D||D())},[N,null==L?void 0:L.user_id,D]);let T=a.P;L&&T({current_resource_id:L.user_id,current_resource_type:L.type,is_self_profile:L.user_id==N,is_following:!0==L.meta.isLiked,is_follower:!0==L.meta.isLiker}),(0,d.LI)(()=>{(null==L?void 0:L.user_id)&&C(new w({page:m.USER_PROFILE_PAGES,userId:{value:L.user_id}}))},[null==L?void 0:L.user_id]),(0,d.LI)(()=>{I&&(null==U?void 0:U.deeplinkUrl)&&(_.Z.debug("[AUTO_REDIRECT] Redirecting to ".concat(U.deeplinkUrl)),window.location.href=U.deeplinkUrl)},[null==U?void 0:U.deeplinkUrl]);let j=(0,h.TL)(),G=(0,i.useRouter)(),Z=null!==(v=null==L?void 0:L.username)&&void 0!==v?v:P;(0,d.LI)(()=>{j((0,k.Jf)(null!=Z?Z:null))},[j,Z]);let O=(0,h.CG)(e=>P?(0,k.Zp)(e,P,"likes"):1),{data:J,isLoading:A,isFetching:B,isUninitialized:F}=y.Z.useGetLikedUrlsQuery({page:O,user_id:null!==(x=null==L?void 0:L.user_id)&&void 0!==x?x:0,username:P},{skip:!L}),{items:Q,meta:X}=null!=J?J:{},M=A||B||F,W=(0,t.useCallback)(e=>{let l="?skipSSR=true&liked_by=".concat(Z),n="/!".concat(e,"?liked_by=").concat(Z),u="/!".concat(e).concat(l);j((0,k.Jf)(null!=Z?Z:null)),j((0,p.oW)(O)),j((0,p.gC)(e)),G.push(u,n).catch(()=>{})},[j,O,G,Z]),Y=(0,t.useCallback)(()=>{P&&j((0,k.jJ)({username:P,type:"likes",incrementBy:(null==X?void 0:X.nextPage)&&X.nextPage-O>1?X.nextPage-O:1}))},[j,P,O,null==X?void 0:X.nextPage]),$=(0,h.CG)(e=>(0,k.G8)(e,P,"likes")),q=(0,b.BN)(Q,"url"),[z,H]=(0,t.useState)(!!R&&null);(0,t.useEffect)(()=>{if(!R){H(!1);return}if(void 0===N||(null==L?void 0:L.user_id)===void 0){H(null);return}H(L.user_id===N)},[N,R,null==L?void 0:L.user_id]);let K=!!L&&void 0!==J&&!M&&0===q.length&&null!==z,V=(0,t.useRef)(null);return(0,f.Z)({sentinelRef:V,loadMore:Y,shouldLoadMore:!M&&!$,page:O}),(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)(o.d,{urls:q,loadingItems:M&&!$?5:void 0,onClick:W,pageSection:null!==(E=null==S?void 0:null===(n=S.currentContext)||void 0===n?void 0:null===(l=n.pageSection)||void 0===l?void 0:l.value)&&void 0!==E?E:"likes",node:g.Z.USER.slug,streamUrlId:null}),K&&(0,u.jsx)("div",{className:"mx-3 my-2 flex h-16 items-center justify-center rounded-xl bg-primary/90 p-4 text-gray-500",children:z?"You haven't liked anything yet.":"This user hasn't liked anything yet."}),(0,u.jsx)("div",{ref:V,className:"absolute bottom-0 left-0 h-1/5 max-h-[20vh] w-full opacity-0"})]})}}},function(e){e.O(0,[5594,7809,2888,9774,179],function(){return e(e.s=43515)}),_N_E=e.O()}]);
4//# sourceMappingURL=[username]-279b53f1935f7571.js.map
5//# debugId=693c970c-01f3-5aa3-9a65-e72dceee32c2

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.