PageSourceSearch

https://snapbox.ai/assets/Super-Bwx74v_h.js

js snapbox.ai collected 2026-10-05 12:40:41 UTC 841 bytes, 1 lines download raw bytes

1import{_ as v,A as k,c as x,l as w,g as h}from"./index-GRB8Jcml.js";const T={name:"CodePage",setup(){const e=w("cryptojs"),i=location.href;let n=new URLSearchParams(new URL(i).search).get("code");if(n=decodeURIComponent(n),n==null)return;var l=e.enc.Utf8.parse("abcfye0123456789abcdef0123456789"),p=e.enc.Utf8.parse("abcfye0123456789");function f(a,c,r){var o=e.enc.Base64.parse(a),s=e.AES.decrypt({ciphertext:o},c,{iv:r,mode:e.mode.CBC,padding:e.pad.Pkcs7});return s.toString(e.enc.Utf8)}var u=f(n,l,p);let t=JSON.parse(u);const y=t.expires_at;let _=new Date().getTime(),d=new Date(y).getTime()-_;if(console.log("diff"),console.log(d),!(d<0)){const a=t.token,c=t.type,r=t.nickname,o=t.level,s=t.mall_id,g=t.link_id;k.loginByAdmin(a,c,r,o,s,g)}}};function U(e,i,m,n,l,p){return h(),x("div")}const S=v(T,[["render",U]]);export{S as default};

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.