PageSourceSearch

https://mypikpak.net/pikcloud/D83_2tS8.js

js mypikpak.net collected 2026-10-08 06:41:05 UTC 1,460 bytes, 1 lines download raw bytes

1import{q as b,V as g,be as w,bx as c,C as E,bo as T,J as _,b3 as l,x as v,ae as m,bW as p,bX as C,l as R}from"./6pRuBprh.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};t.SENTRY_RELEASE={id:"pikpak-ssr-production-9-23-2026"};var n=new t.Error().stack;n&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[n]="8c9d6288-af88-4a40-8157-6b3d6d26e16a",t._sentryDebugIdIdentifier="sentry-dbid-8c9d6288-af88-4a40-8157-6b3d6d26e16a")}catch{}})();const D=async(t,n)=>{const e=`${g}/order/activation-code`;return b(e,{method:"post",body:{activation_code:t,page:"invite",scene:n},withCredentials:!0})},N=1e3*60*60*24,f=/^[0-9]+$/,A=t=>{const n=w(c.INVITATION_CODE,{maxAge:3600}),e=E(n.value||""),i=p(),y=C(),s=T(),u=R(()=>!!s.userId&&!!s.createdTime),r=async()=>{const o=i.query?.[c.INVITATION_CODE]||"";o&&f.test(o)&&(e.value=o);const a=n.value||"";!o||e.value===a||(n.value=e.value||void 0)},I=async()=>!e.value||!f.test(e.value)?void 0:await D(e.value,"login"),d=()=>{v(u,()=>{if(u.value)try{const o=s.createdTime,a=new Date(o).getTime();if(a&&Date.now()-a<N){I();return}}catch(o){console.error("build relation of invitation after login error:",o)}},{once:!0})};return _(async()=>{await y.isReady(),r(),window.addEventListener(l.AFTER_LOGIN,d)}),v(()=>i.name,()=>{r()}),m(()=>{window.removeEventListener(l.AFTER_LOGIN,d)}),{invitationCode:e,setInviteCode:r}};export{A as u};

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.