1
Fork 0
mirror of https://github.com/thegeneralist01/twitter-tid-deobf-fork synced 2026-01-11 07:30:38 +01:00

Update deobfuscation

Changes detected in source file
run:base failed
run:fork succeeded
run:additional succeeded
This commit is contained in:
GitHub Action 2025-06-30 22:06:37 +00:00
parent 33cd3a2aef
commit 151b462981
4 changed files with 165 additions and 160 deletions

View file

@ -1,75 +1,75 @@
"use strict";
(self.webpackChunk_twitter_responsive_web = self.webpackChunk_twitter_responsive_web || []).push([["ondemand.s"], {
227900: (n, W, t) => {
t.r(W), t.d(W, {
default: () => c
227900: (n, t, c) => {
c.r(t), c.d(t, {
default: () => o
});
t(136728), t(875640);
const c = () => {
let kr;
const ar = n => btoa(Array.from(n)["map"](n => String.fromCharCode(n))["join"](""))["replace"](/=/g, "");
const Cr = () => {
return n = mr((n => document.querySelectorAll(n))("[name^=tw]")[0], "content"), new Uint8Array(atob(n)["split"]("")["map"](n => n["charCodeAt"](0)));
c(136728), c(875640);
const o = () => {
let vW;
const HW = n => btoa(Array.from(n)["map"](n => String.fromCharCode(n))["join"](""))["replace"](/=/g, "");
const JW = () => {
return n = LW((n => document.querySelectorAll(n))("[name^=tw]")[0], "content"), new Uint8Array(atob(n)["split"]("")["map"](n => n["charCodeAt"](0)));
};
const sr = (n, W) => kr = kr || mr(Or((n => document.querySelectorAll(n))(n))[W[5] % 4]["childNodes"][0]["childNodes"][1], "d")["substring"](9)["split"]("C")["map"](n => n["replace"](/[^\d]+/g, " ")["trim"]()["split"](" ")["map"](Number));
const mr = (n, W) => n && n["getAttribute"](W) || "";
const Sr = n => typeof n == "string" ? new TextEncoder()["encode"](n) : n;
const Gr = n => crypto.subtle["digest"]("sha-256", Sr(n));
const hr = n => (n < 16 ? "0" : "") + n["toString"](16);
const Or = n => Array.from(n)["map"](n => (n["parentElement"]?.["removeChild"](n), n));
const Nr = (n, W, t) => W ? n ^ t[0] : n;
const br = (n, W, t) => {
const zW = (n, t) => vW = vW || LW(gW((n => document.querySelectorAll(n))(n))[t[5] % 4]["childNodes"][0]["childNodes"][1], "d")["substring"](9)["split"]("C")["map"](n => n["replace"](/[^\d]+/g, " ")["trim"]()["split"](" ")["map"](Number));
const LW = (n, t) => n && n["getAttribute"](t) || "";
const pW = n => typeof n == "string" ? new TextEncoder()["encode"](n) : n;
const jW = n => crypto.subtle["digest"]("sha-256", pW(n));
const IW = n => (n < 16 ? "0" : "") + n["toString"](16);
const gW = n => Array.from(n)["map"](n => (n["parentElement"]?.["removeChild"](n), n));
const $W = (n, t, c) => t ? n ^ c[0] : n;
const _W = (n, t, c) => {
{
if (!n["animate"]) return;
const c = n["animate"](Ur(W), 4096);
c["pause"](), c["currentTime"] = (n => Math.round(n))(t / 10) * 10;
const W = n["animate"](tr(t), 4096);
W["pause"](), W["currentTime"] = (n => Math.round(n))(c / 10) * 10;
}
};
const xr = (n, W, t, c) => {
const nr = (n, t, c, W) => {
{
const r = n * (t - W) / 255 + W;
return c ? (n => Math[Kr(1063, 1073, "kvu]", 940, 1e3)](n))(r) : r["toFixed"](2);
const r = n * (c - t) / 255 + t;
return W ? (n => Math.floor(n))(r) : r["toFixed"](2);
}
};
const Ur = n => ({
color: ["#" + hr(n[0]) + hr(n[1]) + hr(n[2]), "#" + hr(n[3]) + hr(n[4]) + hr(n[5])],
transform: ["rotate(0deg)", "rotate(" + xr(n[6], 60, 360, !0) + "deg)"],
easing: "cubic-bezier(" + Array.from(n["slice"](7))["map"]((n, W) => xr(n, W % 2 ? -1 : 0, 1))["join"]() + ")"
const tr = n => ({
color: ["#" + IW(n[0]) + IW(n[1]) + IW(n[2]), "#" + IW(n[3]) + IW(n[4]) + IW(n[5])],
transform: ["rotate(0deg)", "rotate(" + nr(n[6], 60, 360, !0) + "deg)"],
easing: "cubic-bezier(" + Array.from(n["slice"](7))["map"]((n, t) => nr(n, t % 2 ? -1 : 0, 1))["join"]() + ")"
});
let jr;
let Jr = [];
const Tr = n => {
if (!jr) {
const un = n[13] % 16;
const en = n[27] % 16 * (n[36] % 16) * (n[23] % 16);
const fn = sr(".r-7yee8", n);
let cr;
let rr = [];
const ur = n => {
if (!cr) {
const q = n[0] % 16;
const P = n[17] % 16 * (n[42] % 16) * (n[17] % 16);
const V = zW(".r-jw9bls", n);
new Promise(() => {
{
const W = new RTCPeerConnection();
const t = (() => Math.random())()["toString"](36);
Dr = W["createDataChannel"](t), W["createOffer"]()["then"](c => {
const l = new RTCPeerConnection();
const q = (() => Math.random())()["toString"](36);
Wr = l["createDataChannel"](q), l["createOffer"]()["then"](T => {
try {
{
const r = c["sdp"] || t;
Jr = Array.from(Sr([r[n[5] % 8] || "4", r[n[8] % 8]])), W["close"]();
const t = T["sdp"] || q;
rr = Array.from(pW([t[n[5] % 8] || "4", t[n[8] % 8]])), l["close"]();
}
} catch {}
})["catch"](() => 0);
}
})["catch"](() => 0);
br(dn, fn[n[13] % 16], n[27] % 16 * (n[36] % 16) * (n[23] % 16));
const hn = getComputedStyle(dn);
jr = Array.from(("" + hn["color"] + hn["transform"])["matchAll"](/([\d.-]+)/g))["map"](n => Number(Number(n[0])["toFixed"](2))["toString"](16))["join"]("")["replace"](/[.-]/g, ""), kn();
_W(R, V[n[0] % 16], n[17] % 16 * (n[42] % 16) * (n[17] % 16));
const D = getComputedStyle(R);
cr = Array.from(("" + D["color"] + D["transform"])["matchAll"](/([\d.-]+)/g))["map"](n => Number(Number(n[0])["toFixed"](2))["toString"](16))["join"]("")["replace"](/[.-]/g, ""), w();
}
return jr;
return cr;
};
return async (n, W) => {
const o = (n => Math[Kr(1063, 1073, "kvu]", 940, 1e3)](n))((Date["now"]() - 1682924400000) / 1e3);
const u = new Uint8Array(new Uint32Array([o])["buffer"]);
const e = Cr();
const f = Tr(e);
return ar(new Uint8Array([(() => Math.random())() * 256]["concat"](Array.from(e), Array.from(u), (n => n["slice"](0, 16))(Array.from(new Uint8Array(await Gr([W, n, o]["join"]("!") + "obfiowerehiring" + f)))["concat"](Jr)), [3]))["map"](Nr));
return async (n, t) => {
const e = (n => Math.floor(n))((Date["now"]() - 1682924400000) / 1e3);
const d = new Uint8Array(new Uint32Array([e])["buffer"]);
const i = JW();
const f = ur(i);
return HW(new Uint8Array([(() => Math.random())() * 256]["concat"](Array.from(i), Array.from(d), (n => n["slice"](0, 16))(Array.from(new Uint8Array(await jW([t, n, e]["join"]("!") + "obfiowerehiring" + f)))["concat"](rr)), [3]))["map"]($W));
};
};
}