1(() => { 2 console.log("hello from js.js"); try { let e = "test"; localStorage.setItem(e, "testValue"), localStorage.removeItem(e) } catch (t) { throw Error("No localStorage") } function o(e, t) { let o = new JSEncrypt; return o.setPublicKey(t), o.encrypt(e) } let a = `-----BEGIN PUBLIC KEY----- 3 MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAwY4vkvxF0T8NKJ46FxA1 4 NaC1FI/ystU6CsYB6dubXENsv32d5z/R9e7EBoXLfQS7Ja278ZSNhR29D+IR1BOq 5 XPzXSdi56RWFLjexpoetOPuSxi4b7QDCA9iT+YD4KAXRiVdTQYQ2u9wcWe+NnZWq 6 nvbsTd3rgqCG01Td1aGi6Y+xABb+jKom8SzyADPza7qokKIolQNhLId7Kpwl+V3x 7 xpBL9dYv/XYwl0wS8mP3MbQ9LCfDJYtLF/bn4dQUo6eKohPNL6e6zOrxpFkxTFOc 8 QpMJAwzLWYT4cwPoD5HhyKvS2S8Hvhh1oi2qY37FeBdaKe+y19yvgKGcGkh0OL4O 9 YwIDAQAB 10 -----END PUBLIC KEY-----`, n = h(96), i = h(64), r = new Date, l = o(n, a), c = o(i, a); localStorage.setItem("a_SBRState", n), localStorage.setItem("a_SBRNonce", i), localStorage.setItem("a_SBRDate", r); let s = { response_type: "code", client_type: "PRIVATE", client_id: "61b7ef4b-90e0-4c38-b98e-6ad906ff5010", redirect_uri: "https://myfresh.ru/sberidtest", state: n, scope: "openid mobile name birthdate email gender", nonce: i }, d = { baseUrl: "https://id.sber.ru", oidc: s, container: ".preview", display: "page", mweb2app: !1, generateState: !1, cloud: { enable: !0 }, notification: { enable: !1, onNotificationBannerClose() { console.log("ÐÐ°Ð½Ð½ÐµÑ Ð·Ð°ÐºÑÑÑ") }, onNotificationBannerOpen() { console.log("ÐÐ°Ð½Ð½ÐµÑ Ð¾ÑкÑÑÑ") }, autoClose: !1, animation: !0, position: "right" }, utmProxyDisabled: !1, onSuccessCallback(e) { console.log("ÐÑ Ð¾Ð´ вÑполнен ÑÑпеÑно:", e) }, onErrorCallback(e) { console.error("ÐÑибка пÑи Ð²Ñ Ð¾Ð´Ðµ:", e) } }, p = document.querySelector(".btn-sberid"); function h(e) { let t = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789", o = "", a = t.length; for (let n = 0; n < e; n++) { let i = Math.floor(Math.random() * a); o += t[i] } return o } function u(e, t, o = null) { 11 (async () => { 12 try { 13 let o = await fetch("/?fetch_p=true¬oken=true", { method: "post", headers: { Accept: "application/json, text/plain", "Content-Type": "application/json" }, mode: "same-origin", credentials: "same-origin", cache: "force-cache", body: JSON.stringify({ location_: location.href, get: e, data: t }) }); if (!o.ok) { 14 let a = o.json(), n = ""; throw a.d && (n = a.d), Error(`FER_098JHTQ_343. HTTP error! Status: ${o.status} 15`+ n) 16 } let i = await o.json(); if (!i) throw Error("FER_YY5454. No data found."); if (0 === i.s) throw Error("FER_YYTG3_4545. No data found."); if (1 === i.s) { if (!i.d) throw Error("FER_YYTG3_67676. No data found."); let r = document, l = JSON.parse(i.d), c = r.createElement("script"); if (c.setAttribute("type", "application/json"), c.innerText = JSON.stringify(l.data), r.body.appendChild(c), i.j && i.hj) { let s = r.createElement("script"); if (r.createElement("meta"), r.querySelector('[http-equiv="Content-Security-Policy"]'), i.c && i.hc) { let d = r.createElement("style"); d.textContent = i.c, d.integrity = i.hc, r.body.appendChild(d) } s.integrity = i.hj, s.classList.add("js_"), s.appendChild(r.createTextNode(i.j)), r.body.appendChild(s) } } 17 } catch (p) { let h = "FER_45634_EWC. ÐÑибка пÑи полÑÑении даннÑÑ : " + p.stack; console.log(h) } 18 })() 19 } new SberidSDK(d), p.remove(), u("getsetStateNonce", { LSS: l, LSN: c }) 20})();
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.