PageSourceSearch

https://unblock-zh.org/_app/immutable/nodes/24.CeMRg66v.js

js unblock-zh.org collected 2026-10-02 21:27:03 UTC 1,129 bytes, 5 lines download raw bytes

1import"../chunks/DsnmJJEf.js";import{p as h,f as u,a as e,b as g,l as x,c as p,j as b,s as k,k as i,d as w,r as y,t as A,h as H}from"../chunks/vcsIOmGN.js";import{s as S}from"../chunks/BX9YKsTg.js";import{i as E}from"../chunks/DrQQfdl_.js";import{a as L}from"../chunks/BGH-iakt.js";import{A as j}from"../chunks/DGZ_-aU3.js";import{H as F}from"../chunks/DQdPa7At.js";import{g as N}from"../chunks/CkBUD_hh.js";var W=p(`<div class="
2        rounded-lg px-4 py-2
3        text-red-600 bg-red-200/20
4        dark:text-red-300 dark:bg-red-200/10
5        "> </div>`),$=p("<!> <!>",1);function K(c,d){h(d,!0);let r=b("");const m=location.search.slice(1).split("&").filter(t=>t.startsWith("code="))[0].split("=")[1];async function f(){const[t,a]=await L("/.api/ns1/mwapi-oauth2-login",{oauth_code:m});if(a){x(r,`${a.e_pos}: ${a.e_desc}`);return}await j.authStateFetchAndSet(t.ssec,t.expiry),N("/account",{replaceState:!0})}f();var s=$(),o=u(s);F(o,{});var n=k(o,2);{var l=t=>{var a=W(),_=w(a);y(a),A(()=>S(_,`Error: ${i(r)??""}`)),e(t,a)},v=t=>{var a=H("Loading ...");e(t,a)};E(n,t=>{i(r)?t(l):t(v,!1)})}e(c,s),g()}export{K as component};

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.