// # Source: https://github.com/smallfawn/QLScriptPublic/blob/main/daily/ydyp.js // # Raw: https://raw.githubusercontent.com/smallfawn/QLScriptPublic/main/daily/ydyp.js // # Repo: smallfawn/QLScriptPublic // # Path: daily/ydyp.js // # UploadedAt: 2026-05-14T17:47:57+08:00 // # SHA256: da3e5cb2ed48bc6940da8036157d38a7cbe4b1a47d1732994dc5468b6e9bb835 // # Category: web版/账密 // # Evidence: web/H5关键词 + username/password/login // /** * new Env("中国移动云盘") * 变量名ydyp_ck * cron 8 10 * * * * from:https://github.com/Yuheng0101/X * 变量值 [注意事项: 简易方法,开抓包进App,搜refresh,找到authTokenRefresh.do ,请求头中的Authorization,响应体 xxx 中xxx值(新版加密抓这个)] */ const e = (() => { const e = e => e in globalThis; switch (!0) { case e("$task"): return "Quantumult X"; case e("$loon"): return "Loon"; case e("$rocket"): return "Shadowrocket"; case e("Egern"): return "Egern"; case Boolean(globalThis.$environment?.["surge-version"]): return "Surge"; case Boolean(globalThis.$environment?.["stash-version"]): return "Stash"; case Boolean(globalThis.process?.versions?.node): return "Node.js"; default: return } })(); class t { static #e = new Map([]); static #t = []; static #r = new Map([]); static clear = () => {}; static count = (e = "default") => { switch (t.#e.has(e)) { case !0: t.#e.set(e, t.#e.get(e) + 1); break; case !1: t.#e.set(e, 0) } t.log(`${e}: ${t.#e.get(e)}`) }; static countReset = (e = "default") => { switch (t.#e.has(e)) { case !0: t.#e.set(e, 0), t.log(`${e}: ${t.#e.get(e)}`); break; case !1: t.warn(`Counter "${e}" doesn’t exist`) } }; static debug = (...e) => { t.#o < 4 || (e = e.map(e => `🅱️ ${e}`), t.log(...e)) }; static error(...r) { if (!(t.#o < 1)) { switch (e) { case "Surge": case "Loon": case "Stash": case "Egern": case "Shadowrocket": case "Quantumult X": default: r = r.map(e => `❌ ${e}`); break; case "Node.js": r = r.map(e => `❌ ${e.stack}`) } t.log(...r) } } static exception = (...e) => t.error(...e); static group = e => t.#t.unshift(e); static groupEnd = () => t.#t.shift(); static info(...e) { t.#o < 3 || (e = e.map(e => `ℹ️ ${e}`), t.log(...e)) } static #o = 3; static get logLevel() { switch (t.#o) { case 0: return "OFF"; case 1: return "ERROR"; case 2: return "WARN"; case 3: default: return "INFO"; case 4: return "DEBUG"; case 5: return "ALL" } } static set logLevel(e) { switch (typeof e) { case "string": e = e.toLowerCase(); break; case "number": break; default: e = "warn" } switch (e) { case 0: case "off": t.#o = 0; break; case 1: case "error": t.#o = 1; break; case 2: case "warn": case "warning": default: t.#o = 2; break; case 3: case "info": t.#o = 3; break; case 4: case "debug": t.#o = 4; break; case 5: case "all": t.#o = 5 } } static log = (...e) => { 0 !== t.#o && (e = e.map(e => { switch (typeof e) { case "object": e = JSON.stringify(e); break; case "bigint": case "number": case "boolean": case "string": e = e.toString() } return e }), t.#t.forEach(t => { (e = e.map(e => ` ${e}`)).unshift(`▼ ${t}:`) }), e = ["", ...e], console.log(e.join("\n"))) }; static time = (e = "default") => t.#r.set(e, Date.now()); static timeEnd = (e = "default") => t.#r.delete(e); static timeLog = (e = "default") => { const r = t.#r.get(e); r ? t.log(`${e}: ${Date.now()-r}ms`) : t.warn(`Timer "${e}" doesn’t exist`) }; static warn(...e) { t.#o < 2 || (e = e.map(e => `⚠️ ${e}`), t.log(...e)) } } class r { static escape(e) { const t = { "&": "&", "<": "<", ">": ">", '"': """, "'": "'" }; return e.replace(/[&<>"']/g, e => t[e]) } static get(e = {}, t = "", o = void 0) { Array.isArray(t) || (t = r.toPath(t)); const n = t.reduce((e, t) => Object(e)[t], e); return void 0 === n ? o : n } static merge(e, ...t) { if (null == e) return e; for (const o of t) if (null != o) for (const t of Object.keys(o)) { const n = o[t], i = e[t]; switch (!0) { case r.#n(n) && r.#n(i): e[t] = r.merge(i, n); break; case n instanceof Map && i instanceof Map: if (n.size > 0) for (const [e, t] of n) i.set(e, t); break; case n instanceof Set && i instanceof Set: if (n.size > 0) for (const e of n) i.add(e); break; case Array.isArray(n) && 0 === n.length && void 0 !== i: case n instanceof Map && 0 === n.size && void 0 !== i: case n instanceof Set && 0 === n.size && void 0 !== i: break; case void 0 !== n: e[t] = n } } return e } static #n(e) { if (null === e || "object" != typeof e) return !1; const t = Object.getPrototypeOf(e); return null === t || t === Object.prototype } static omit(e = {}, t = []) { return Array.isArray(t) || (t = [t.toString()]), t.forEach(t => r.unset(e, t)), e } static pick(e = {}, t = []) { Array.isArray(t) || (t = [t.toString()]); const r = Object.entries(e).filter(([e, r]) => t.includes(e)); return Object.fromEntries(r) } static set(e, t, o) { return Array.isArray(t) || (t = r.toPath(t)), t.slice(0, -1).reduce((e, r, o) => Object(e[r]) === e[r] ? e[r] : e[r] = /^\d+$/.test(t[o + 1]) ? [] : {}, e)[t[t.length - 1]] = o, e } static toPath(e) { return e.replace(/\[(\d+)\]/g, ".$1").split(".").filter(Boolean) } static unescape(e) { const t = { "&": "&", "<": "<", ">": ">", """: '"', "'": "'" }; return e.replace(/&|<|>|"|'/g, e => t[e]) } static unset(e = {}, t = "") { Array.isArray(t) || (t = r.toPath(t)); return t.reduce((e, r, o) => o === t.length - 1 ? (delete e[r], !0) : Object(e)[r], e) } }(() => { switch (t.debug("☑️ $argument"), typeof globalThis.$argument) { case "string": { const e = Object.fromEntries(globalThis.$argument.split("&").map(e => e.split("=", 2).map(e => e.replace(/\"/g, "")))); globalThis.$argument = {}, Object.keys(e).forEach(t => r.set(globalThis.$argument, t, e[t])); break } case "object": { if (null === globalThis.$argument) { globalThis.$argument = {}; break } const e = {}; Object.keys(globalThis.$argument).forEach(t => r.set(e, t, globalThis.$argument[t])), globalThis.$argument = e; break } case "undefined": globalThis.$argument = {} } globalThis.$argument.LogLevel && (t.logLevel = globalThis.$argument.LogLevel), t.debug("✅ $argument", `$argument: ${JSON.stringify(globalThis.$argument)}`) })(); const o = { 100: "Continue", 101: "Switching Protocols", 102: "Processing", 103: "Early Hints", 200: "OK", 201: "Created", 202: "Accepted", 203: "Non-Authoritative Information", 204: "No Content", 205: "Reset Content", 206: "Partial Content", 207: "Multi-Status", 208: "Already Reported", 226: "IM Used", 300: "Multiple Choices", 301: "Moved Permanently", 302: "Found", 304: "Not Modified", 307: "Temporary Redirect", 308: "Permanent Redirect", 400: "Bad Request", 401: "Unauthorized", 402: "Payment Required", 403: "Forbidden", 404: "Not Found", 405: "Method Not Allowed", 406: "Not Acceptable", 407: "Proxy Authentication Required", 408: "Request Timeout", 409: "Conflict", 410: "Gone", 411: "Length Required", 412: "Precondition Failed", 413: "Content Too Large", 414: "URI Too Long", 415: "Unsupported Media Type", 416: "Range Not Satisfiable", 417: "Expectation Failed", 418: "I'm a teapot", 421: "Misdirected Request", 422: "Unprocessable Entity", 423: "Locked", 424: "Failed Dependency", 425: "Too Early", 426: "Upgrade Required", 428: "Precondition Required", 429: "Too Many Requests", 431: "Request Header Fields Too Large", 451: "Unavailable For Legal Reasons", 500: "Internal Server Error", 501: "Not Implemented", 502: "Bad Gateway", 503: "Service Unavailable", 504: "Gateway Timeout", 505: "HTTP Version Not Supported", 506: "Variant Also Negotiates", 507: "Insufficient Storage", 508: "Loop Detected", 510: "Not Extended", 511: "Network Authentication Required" }; const n = r => { const o = {}; switch (typeof r) { case void 0: break; case "string": case "number": case "boolean": switch (e) { case "Surge": case "Stash": case "Egern": default: o.url = r; break; case "Loon": case "Shadowrocket": o.openUrl = r; break; case "Quantumult X": o["open-url"] = r; case "Node.js": } break; case "object": { const t = r.open || r["open-url"] || r.url || r.openUrl, n = r.copy || r["update-pasteboard"] || r.updatePasteboard, i = r.media || r["media-url"] || r.mediaUrl; switch (e) { case "Surge": case "Stash": case "Egern": case "Shadowrocket": default: if (t && (o.action = "open-url", o.url = t), n && (o.action = "clipboard", o.text = n), i) switch (!0) { case i.startsWith("http"): o["media-url"] = i; break; case i.startsWith("data:"): { const e = /^data:(?\w+\/\w+);base64,(?.+)/, { MIME: t, Base64: n } = i.match(e).groups; o["media-base64"] = n, o["media-base64-mime"] = r.mime || t; break } default: switch (o["media-base64"] = i, !0) { case i.startsWith("CiVQREYt"): case i.startsWith("JVBERi0"): o["media-base64-mime"] = "application/pdf"; break; case i.startsWith("R0lGODdh"): case i.startsWith("R0lGODlh"): o["media-base64-mime"] = "image/gif"; break; case i.startsWith("iVBORw0KGgo"): o["media-base64-mime"] = "image/png"; break; case i.startsWith("/9j/"): o["media-base64-mime"] = "image/jpg"; break; case i.startsWith("Qk02U"): o["media-base64-mime"] = "image/bmp" } } r["auto-dismiss"] && (o["auto-dismiss"] = r["auto-dismiss"]), r.sound && (o.sound = r.sound); break; case "Loon": t && (o.openUrl = t), i?.startsWith("http") && (o.mediaUrl = i); break; case "Quantumult X": t && (o["open-url"] = t), i?.startsWith("http") && (o["media-url"] = i), n && (o["update-pasteboard"] = n); case "Node.js": } break } default: t.error("不支持的通知参数类型: " + typeof r, "") } return o }; function i(e = 1e3) { return new Promise(t => setTimeout(t, e)) } class s { static data = null; static dataFile = "box.dat"; static #i = /^@(?[^.]+)(?:\.(?.*))?$/; static getItem(t, o = null) { let n = o; switch (t.startsWith("@")) { case !0: { const { key: e, path: o } = t.match(s.#i)?.groups; t = e; let i = s.getItem(t, {}); "object" != typeof i && (i = {}), n = r.get(i, o); try { n = JSON.parse(n) } catch (e) {} break } default: switch (e) { case "Surge": case "Loon": case "Stash": case "Egern": case "Shadowrocket": n = $persistentStore.read(t); break; case "Quantumult X": n = $prefs.valueForKey(t); break; case "Node.js": s.data = s.#s(s.dataFile), n = s.data?.[t]; break; default: n = s.data?.[t] || null } try { n = JSON.parse(n) } catch (e) {} } return n ?? o } static setItem(t = new String, o = new String) { let n = !1; if ("object" == typeof o) o = JSON.stringify(o); else o = String(o); switch (t.startsWith("@")) { case !0: { const { key: e, path: i } = t.match(s.#i)?.groups; t = e; let a = s.getItem(t, {}); "object" != typeof a && (a = {}), r.set(a, i, o), n = s.setItem(t, a); break } default: switch (e) { case "Surge": case "Loon": case "Stash": case "Egern": case "Shadowrocket": n = $persistentStore.write(o, t); break; case "Quantumult X": n = $prefs.setValueForKey(o, t); break; case "Node.js": s.data = s.#s(s.dataFile), s.data[t] = o, s.#a(s.dataFile), n = !0; break; default: n = s.data?.[t] || null } } return n } static removeItem(t) { let o = !1; switch (t.startsWith("@")) { case !0: { const { key: e, path: n } = t.match(s.#i)?.groups; t = e; let i = s.getItem(t); "object" != typeof i && (i = {}), keyValue = r.unset(i, n), o = s.setItem(t, i); break } default: switch (e) { case "Surge": o = $persistentStore.write(null, t); break; case "Loon": case "Stash": case "Egern": case "Shadowrocket": default: o = !1; break; case "Quantumult X": o = $prefs.removeValueForKey(t); break; case "Node.js": s.data = s.#s(s.dataFile), delete s.data[t], s.#a(s.dataFile), o = !0 } } return o } static clear() { let t = !1; switch (e) { case "Surge": case "Loon": case "Stash": case "Egern": case "Shadowrocket": default: t = !1; break; case "Quantumult X": t = $prefs.removeAllValues(); break; case "Node.js": s.data = s.#s(s.dataFile), s.data = {}, s.#a(s.dataFile), t = !0 } return t } static #s = t => { if ("Node.js" !== e) return {}; { this.fs = this.fs ? this.fs : require("node:fs"), this.path = this.path ? this.path : require("node:path"); const e = this.path.resolve(t), r = this.path.resolve(process.cwd(), t), o = this.fs.existsSync(e), n = !o && this.fs.existsSync(r); if (!o && !n) return {}; { const t = o ? e : r; try { return JSON.parse(this.fs.readFileSync(t)) } catch (e) { return {} } } } }; static #a = (t = this.dataFile) => { if ("Node.js" === e) { this.fs = this.fs ? this.fs : require("node:fs"), this.path = this.path ? this.path : require("node:path"); const e = this.path.resolve(t), r = this.path.resolve(process.cwd(), t), o = this.fs.existsSync(e), n = !o && this.fs.existsSync(r), i = JSON.stringify(this.data); o ? this.fs.writeFileSync(e, i) : n ? this.fs.writeFileSync(r, i) : this.fs.writeFileSync(e, i) } } } const a = globalThis.$argument ?? { }; var c = { displayName: "中国移动云盘" }; const u = { defaultTimeout: 5e3, userAgent: "Mozilla/5.0 (Linux; Android 11; M2012K10C Build/RP1A.200720.011; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/90.0.4430.210 Mobile Safari/537.36 MCloudApp/10.0.1", noteHeaders: { "X-Tingyun-Id": "p35OnrDoP8k;c=2;r=1122634489;u=43ee994e8c3a6057970124db00b2442c::8B3D3F05462B6E4C", Charset: "UTF-8", Connection: "Keep-Alive", "User-Agent": "mobile", APP_CP: "android", CP_VERSION: "3.2.0", "x-huawei-channelsrc": "10001400", Host: "mnote.caiyun.feixin.10086.cn", "Content-Type": "application/json; charset=UTF-8", Accept: "*/*" } }, l = { missingCookie: "‼️缺少授权字段, 请抓取(填写)相关参数后再执行脚本", runStart: "开始执行", runFailed: "执行失败", runCompleted: "任务执行完成" }, h = { cookieKeys: ["ydyp_ck", "cookie", "cloud139_cookie"] }, d = { envPrefix: "CLOUD139", defaults: { upload: !1, share: !1, push: !0, clickNum: 15, drawTimes: 1, delayMin: 1e3, delayMax: 1500, timeout: 5e3, uploadFilename: "7", uploadSizeMb: 7, uploadDirId: "", shareFilename: "" } }; var f = "undefined" != typeof globalThis ? globalThis : "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof self ? self : {}; function p(e) { return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e } var y = { exports: {} }; var g, m = { exports: {} }; function v() { return g || (g = 1, m.exports = function() { var e = e || function(e, t) { var r; if ("undefined" != typeof window && window.crypto && (r = window.crypto), "undefined" != typeof self && self.crypto && (r = self.crypto), "undefined" != typeof globalThis && globalThis.crypto && (r = globalThis.crypto), !r && "undefined" != typeof window && window.msCrypto && (r = window.msCrypto), !r && void 0 !== f && f.crypto && (r = f.crypto), !r) try { r = require("crypto") } catch (e) {} var o = function() { if (r) { if ("function" == typeof r.getRandomValues) try { return r.getRandomValues(new Uint32Array(1))[0] } catch (e) {} if ("function" == typeof r.randomBytes) try { return r.randomBytes(4).readInt32LE() } catch (e) {} } throw new Error("Native crypto module could not be used to get secure random number.") }, n = Object.create || function() { function e() {} return function(t) { var r; return e.prototype = t, r = new e, e.prototype = null, r } }(), i = {}, s = i.lib = {}, a = s.Base = { extend: function(e) { var t = n(this); return e && t.mixIn(e), t.hasOwnProperty("init") && this.init !== t.init || (t.init = function() { t.$super.init.apply(this, arguments) }), t.init.prototype = t, t.$super = this, t }, create: function() { var e = this.extend(); return e.init.apply(e, arguments), e }, init: function() {}, mixIn: function(e) { for (var t in e) e.hasOwnProperty(t) && (this[t] = e[t]); e.hasOwnProperty("toString") && (this.toString = e.toString) }, clone: function() { return this.init.prototype.extend(this) } }, c = s.WordArray = a.extend({ init: function(e, r) { e = this.words = e || [], this.sigBytes = r != t ? r : 4 * e.length }, toString: function(e) { return (e || l).stringify(this) }, concat: function(e) { var t = this.words, r = e.words, o = this.sigBytes, n = e.sigBytes; if (this.clamp(), o % 4) for (var i = 0; i < n; i++) { var s = r[i >>> 2] >>> 24 - i % 4 * 8 & 255; t[o + i >>> 2] |= s << 24 - (o + i) % 4 * 8 } else for (var a = 0; a < n; a += 4) t[o + a >>> 2] = r[a >>> 2]; return this.sigBytes += n, this }, clamp: function() { var t = this.words, r = this.sigBytes; t[r >>> 2] &= 4294967295 << 32 - r % 4 * 8, t.length = e.ceil(r / 4) }, clone: function() { var e = a.clone.call(this); return e.words = this.words.slice(0), e }, random: function(e) { for (var t = [], r = 0; r < e; r += 4) t.push(o()); return new c.init(t, e) } }), u = i.enc = {}, l = u.Hex = { stringify: function(e) { for (var t = e.words, r = e.sigBytes, o = [], n = 0; n < r; n++) { var i = t[n >>> 2] >>> 24 - n % 4 * 8 & 255; o.push((i >>> 4).toString(16)), o.push((15 & i).toString(16)) } return o.join("") }, parse: function(e) { for (var t = e.length, r = [], o = 0; o < t; o += 2) r[o >>> 3] |= parseInt(e.substr(o, 2), 16) << 24 - o % 8 * 4; return new c.init(r, t / 2) } }, h = u.Latin1 = { stringify: function(e) { for (var t = e.words, r = e.sigBytes, o = [], n = 0; n < r; n++) { var i = t[n >>> 2] >>> 24 - n % 4 * 8 & 255; o.push(String.fromCharCode(i)) } return o.join("") }, parse: function(e) { for (var t = e.length, r = [], o = 0; o < t; o++) r[o >>> 2] |= (255 & e.charCodeAt(o)) << 24 - o % 4 * 8; return new c.init(r, t) } }, d = u.Utf8 = { stringify: function(e) { try { return decodeURIComponent(escape(h.stringify(e))) } catch (e) { throw new Error("Malformed UTF-8 data") } }, parse: function(e) { return h.parse(unescape(encodeURIComponent(e))) } }, p = s.BufferedBlockAlgorithm = a.extend({ reset: function() { this._data = new c.init, this._nDataBytes = 0 }, _append: function(e) { "string" == typeof e && (e = d.parse(e)), this._data.concat(e), this._nDataBytes += e.sigBytes }, _process: function(t) { var r, o = this._data, n = o.words, i = o.sigBytes, s = this.blockSize, a = i / (4 * s), u = (a = t ? e.ceil(a) : e.max((0 | a) - this._minBufferSize, 0)) * s, l = e.min(4 * u, i); if (u) { for (var h = 0; h < u; h += s) this._doProcessBlock(n, h); r = n.splice(0, u), o.sigBytes -= l } return new c.init(r, l) }, clone: function() { var e = a.clone.call(this); return e._data = this._data.clone(), e }, _minBufferSize: 0 }); s.Hasher = p.extend({ cfg: a.extend(), init: function(e) { this.cfg = this.cfg.extend(e), this.reset() }, reset: function() { p.reset.call(this), this._doReset() }, update: function(e) { return this._append(e), this._process(), this }, finalize: function(e) { return e && this._append(e), this._doFinalize() }, blockSize: 16, _createHelper: function(e) { return function(t, r) { return new e.init(r).finalize(t) } }, _createHmacHelper: function(e) { return function(t, r) { return new y.HMAC.init(e, r).finalize(t) } } }); var y = i.algo = {}; return i }(Math); return e }()), m.exports } var b, w = { exports: {} }; function k() { return b || (b = 1, w.exports = function(e) { return o = (r = e).lib, n = o.Base, i = o.WordArray, (s = r.x64 = {}).Word = n.extend({ init: function(e, t) { this.high = e, this.low = t } }), s.WordArray = n.extend({ init: function(e, r) { e = this.words = e || [], this.sigBytes = r != t ? r : 8 * e.length }, toX32: function() { for (var e = this.words, t = e.length, r = [], o = 0; o < t; o++) { var n = e[o]; r.push(n.high), r.push(n.low) } return i.create(r, this.sigBytes) }, clone: function() { for (var e = n.clone.call(this), t = e.words = this.words.slice(0), r = t.length, o = 0; o < r; o++) t[o] = t[o].clone(); return e } }), e; var t, r, o, n, i, s }(v())), w.exports } var _, x = { exports: {} }; function S() { return _ || (_ = 1, x.exports = function(e) { return function() { if ("function" == typeof ArrayBuffer) { var t = e.lib.WordArray, r = t.init, o = t.init = function(e) { if (e instanceof ArrayBuffer && (e = new Uint8Array(e)), (e instanceof Int8Array || "undefined" != typeof Uint8ClampedArray && e instanceof Uint8ClampedArray || e instanceof Int16Array || e instanceof Uint16Array || e instanceof Int32Array || e instanceof Uint32Array || e instanceof Float32Array || e instanceof Float64Array) && (e = new Uint8Array(e.buffer, e.byteOffset, e.byteLength)), e instanceof Uint8Array) { for (var t = e.byteLength, o = [], n = 0; n < t; n++) o[n >>> 2] |= e[n] << 24 - n % 4 * 8; r.call(this, o, t) } else r.apply(this, arguments) }; o.prototype = t } }(), e.lib.WordArray }(v())), x.exports } var B, A = { exports: {} }; function T() { return B || (B = 1, A.exports = function(e) { return function() { var t = e, r = t.lib.WordArray, o = t.enc; function n(e) { return e << 8 & 4278255360 | e >>> 8 & 16711935 } o.Utf16 = o.Utf16BE = { stringify: function(e) { for (var t = e.words, r = e.sigBytes, o = [], n = 0; n < r; n += 2) { var i = t[n >>> 2] >>> 16 - n % 4 * 8 & 65535; o.push(String.fromCharCode(i)) } return o.join("") }, parse: function(e) { for (var t = e.length, o = [], n = 0; n < t; n++) o[n >>> 1] |= e.charCodeAt(n) << 16 - n % 2 * 16; return r.create(o, 2 * t) } }, o.Utf16LE = { stringify: function(e) { for (var t = e.words, r = e.sigBytes, o = [], i = 0; i < r; i += 2) { var s = n(t[i >>> 2] >>> 16 - i % 4 * 8 & 65535); o.push(String.fromCharCode(s)) } return o.join("") }, parse: function(e) { for (var t = e.length, o = [], i = 0; i < t; i++) o[i >>> 1] |= n(e.charCodeAt(i) << 16 - i % 2 * 16); return r.create(o, 2 * t) } } }(), e.enc.Utf16 }(v())), A.exports } var C, E = { exports: {} }; function $() { return C || (C = 1, E.exports = function(e) { return function() { var t = e, r = t.lib.WordArray; function o(e, t, o) { for (var n = [], i = 0, s = 0; s < t; s++) if (s % 4) { var a = o[e.charCodeAt(s - 1)] << s % 4 * 2 | o[e.charCodeAt(s)] >>> 6 - s % 4 * 2; n[i >>> 2] |= a << 24 - i % 4 * 8, i++ } return r.create(n, i) } t.enc.Base64 = { stringify: function(e) { var t = e.words, r = e.sigBytes, o = this._map; e.clamp(); for (var n = [], i = 0; i < r; i += 3) for (var s = (t[i >>> 2] >>> 24 - i % 4 * 8 & 255) << 16 | (t[i + 1 >>> 2] >>> 24 - (i + 1) % 4 * 8 & 255) << 8 | t[i + 2 >>> 2] >>> 24 - (i + 2) % 4 * 8 & 255, a = 0; a < 4 && i + .75 * a < r; a++) n.push(o.charAt(s >>> 6 * (3 - a) & 63)); var c = o.charAt(64); if (c) for (; n.length % 4;) n.push(c); return n.join("") }, parse: function(e) { var t = e.length, r = this._map, n = this._reverseMap; if (!n) { n = this._reverseMap = []; for (var i = 0; i < r.length; i++) n[r.charCodeAt(i)] = i } var s = r.charAt(64); if (s) { var a = e.indexOf(s); - 1 !== a && (t = a) } return o(e, t, n) }, _map: "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=" } }(), e.enc.Base64 }(v())), E.exports } var R, z = { exports: {} }; function D() { return R || (R = 1, z.exports = function(e) { return function() { var t = e, r = t.lib.WordArray; function o(e, t, o) { for (var n = [], i = 0, s = 0; s < t; s++) if (s % 4) { var a = o[e.charCodeAt(s - 1)] << s % 4 * 2 | o[e.charCodeAt(s)] >>> 6 - s % 4 * 2; n[i >>> 2] |= a << 24 - i % 4 * 8, i++ } return r.create(n, i) } t.enc.Base64url = { stringify: function(e, t) { void 0 === t && (t = !0); var r = e.words, o = e.sigBytes, n = t ? this._safe_map : this._map; e.clamp(); for (var i = [], s = 0; s < o; s += 3) for (var a = (r[s >>> 2] >>> 24 - s % 4 * 8 & 255) << 16 | (r[s + 1 >>> 2] >>> 24 - (s + 1) % 4 * 8 & 255) << 8 | r[s + 2 >>> 2] >>> 24 - (s + 2) % 4 * 8 & 255, c = 0; c < 4 && s + .75 * c < o; c++) i.push(n.charAt(a >>> 6 * (3 - c) & 63)); var u = n.charAt(64); if (u) for (; i.length % 4;) i.push(u); return i.join("") }, parse: function(e, t) { void 0 === t && (t = !0); var r = e.length, n = t ? this._safe_map : this._map, i = this._reverseMap; if (!i) { i = this._reverseMap = []; for (var s = 0; s < n.length; s++) i[n.charCodeAt(s)] = s } var a = n.charAt(64); if (a) { var c = e.indexOf(a); - 1 !== c && (r = c) } return o(e, r, i) }, _map: "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=", _safe_map: "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_" } }(), e.enc.Base64url }(v())), z.exports } var H, M = { exports: {} }; function j() { return H || (H = 1, M.exports = function(e) { return function(t) { var r = e, o = r.lib, n = o.WordArray, i = o.Hasher, s = r.algo, a = []; ! function() { for (var e = 0; e < 64; e++) a[e] = 4294967296 * t.abs(t.sin(e + 1)) | 0 }(); var c = s.MD5 = i.extend({ _doReset: function() { this._hash = new n.init([1732584193, 4023233417, 2562383102, 271733878]) }, _doProcessBlock: function(e, t) { for (var r = 0; r < 16; r++) { var o = t + r, n = e[o]; e[o] = 16711935 & (n << 8 | n >>> 24) | 4278255360 & (n << 24 | n >>> 8) } var i = this._hash.words, s = e[t + 0], c = e[t + 1], f = e[t + 2], p = e[t + 3], y = e[t + 4], g = e[t + 5], m = e[t + 6], v = e[t + 7], b = e[t + 8], w = e[t + 9], k = e[t + 10], _ = e[t + 11], x = e[t + 12], S = e[t + 13], B = e[t + 14], A = e[t + 15], T = i[0], C = i[1], E = i[2], $ = i[3]; T = u(T, C, E, $, s, 7, a[0]), $ = u($, T, C, E, c, 12, a[1]), E = u(E, $, T, C, f, 17, a[2]), C = u(C, E, $, T, p, 22, a[3]), T = u(T, C, E, $, y, 7, a[4]), $ = u($, T, C, E, g, 12, a[5]), E = u(E, $, T, C, m, 17, a[6]), C = u(C, E, $, T, v, 22, a[7]), T = u(T, C, E, $, b, 7, a[8]), $ = u($, T, C, E, w, 12, a[9]), E = u(E, $, T, C, k, 17, a[10]), C = u(C, E, $, T, _, 22, a[11]), T = u(T, C, E, $, x, 7, a[12]), $ = u($, T, C, E, S, 12, a[13]), E = u(E, $, T, C, B, 17, a[14]), T = l(T, C = u(C, E, $, T, A, 22, a[15]), E, $, c, 5, a[16]), $ = l($, T, C, E, m, 9, a[17]), E = l(E, $, T, C, _, 14, a[18]), C = l(C, E, $, T, s, 20, a[19]), T = l(T, C, E, $, g, 5, a[20]), $ = l($, T, C, E, k, 9, a[21]), E = l(E, $, T, C, A, 14, a[22]), C = l(C, E, $, T, y, 20, a[23]), T = l(T, C, E, $, w, 5, a[24]), $ = l($, T, C, E, B, 9, a[25]), E = l(E, $, T, C, p, 14, a[26]), C = l(C, E, $, T, b, 20, a[27]), T = l(T, C, E, $, S, 5, a[28]), $ = l($, T, C, E, f, 9, a[29]), E = l(E, $, T, C, v, 14, a[30]), T = h(T, C = l(C, E, $, T, x, 20, a[31]), E, $, g, 4, a[32]), $ = h($, T, C, E, b, 11, a[33]), E = h(E, $, T, C, _, 16, a[34]), C = h(C, E, $, T, B, 23, a[35]), T = h(T, C, E, $, c, 4, a[36]), $ = h($, T, C, E, y, 11, a[37]), E = h(E, $, T, C, v, 16, a[38]), C = h(C, E, $, T, k, 23, a[39]), T = h(T, C, E, $, S, 4, a[40]), $ = h($, T, C, E, s, 11, a[41]), E = h(E, $, T, C, p, 16, a[42]), C = h(C, E, $, T, m, 23, a[43]), T = h(T, C, E, $, w, 4, a[44]), $ = h($, T, C, E, x, 11, a[45]), E = h(E, $, T, C, A, 16, a[46]), T = d(T, C = h(C, E, $, T, f, 23, a[47]), E, $, s, 6, a[48]), $ = d($, T, C, E, v, 10, a[49]), E = d(E, $, T, C, B, 15, a[50]), C = d(C, E, $, T, g, 21, a[51]), T = d(T, C, E, $, x, 6, a[52]), $ = d($, T, C, E, p, 10, a[53]), E = d(E, $, T, C, k, 15, a[54]), C = d(C, E, $, T, c, 21, a[55]), T = d(T, C, E, $, b, 6, a[56]), $ = d($, T, C, E, A, 10, a[57]), E = d(E, $, T, C, m, 15, a[58]), C = d(C, E, $, T, S, 21, a[59]), T = d(T, C, E, $, y, 6, a[60]), $ = d($, T, C, E, _, 10, a[61]), E = d(E, $, T, C, f, 15, a[62]), C = d(C, E, $, T, w, 21, a[63]), i[0] = i[0] + T | 0, i[1] = i[1] + C | 0, i[2] = i[2] + E | 0, i[3] = i[3] + $ | 0 }, _doFinalize: function() { var e = this._data, r = e.words, o = 8 * this._nDataBytes, n = 8 * e.sigBytes; r[n >>> 5] |= 128 << 24 - n % 32; var i = t.floor(o / 4294967296), s = o; r[15 + (n + 64 >>> 9 << 4)] = 16711935 & (i << 8 | i >>> 24) | 4278255360 & (i << 24 | i >>> 8), r[14 + (n + 64 >>> 9 << 4)] = 16711935 & (s << 8 | s >>> 24) | 4278255360 & (s << 24 | s >>> 8), e.sigBytes = 4 * (r.length + 1), this._process(); for (var a = this._hash, c = a.words, u = 0; u < 4; u++) { var l = c[u]; c[u] = 16711935 & (l << 8 | l >>> 24) | 4278255360 & (l << 24 | l >>> 8) } return a }, clone: function() { var e = i.clone.call(this); return e._hash = this._hash.clone(), e } }); function u(e, t, r, o, n, i, s) { var a = e + (t & r | ~t & o) + n + s; return (a << i | a >>> 32 - i) + t } function l(e, t, r, o, n, i, s) { var a = e + (t & o | r & ~o) + n + s; return (a << i | a >>> 32 - i) + t } function h(e, t, r, o, n, i, s) { var a = e + (t ^ r ^ o) + n + s; return (a << i | a >>> 32 - i) + t } function d(e, t, r, o, n, i, s) { var a = e + (r ^ (t | ~o)) + n + s; return (a << i | a >>> 32 - i) + t } r.MD5 = i._createHelper(c), r.HmacMD5 = i._createHmacHelper(c) }(Math), e.MD5 }(v())), M.exports } var I, F = { exports: {} }; function N() { return I || (I = 1, F.exports = function(e) { return r = (t = e).lib, o = r.WordArray, n = r.Hasher, i = t.algo, s = [], a = i.SHA1 = n.extend({ _doReset: function() { this._hash = new o.init([1732584193, 4023233417, 2562383102, 271733878, 3285377520]) }, _doProcessBlock: function(e, t) { for (var r = this._hash.words, o = r[0], n = r[1], i = r[2], a = r[3], c = r[4], u = 0; u < 80; u++) { if (u < 16) s[u] = 0 | e[t + u]; else { var l = s[u - 3] ^ s[u - 8] ^ s[u - 14] ^ s[u - 16]; s[u] = l << 1 | l >>> 31 } var h = (o << 5 | o >>> 27) + c + s[u]; h += u < 20 ? 1518500249 + (n & i | ~n & a) : u < 40 ? 1859775393 + (n ^ i ^ a) : u < 60 ? (n & i | n & a | i & a) - 1894007588 : (n ^ i ^ a) - 899497514, c = a, a = i, i = n << 30 | n >>> 2, n = o, o = h } r[0] = r[0] + o | 0, r[1] = r[1] + n | 0, r[2] = r[2] + i | 0, r[3] = r[3] + a | 0, r[4] = r[4] + c | 0 }, _doFinalize: function() { var e = this._data, t = e.words, r = 8 * this._nDataBytes, o = 8 * e.sigBytes; return t[o >>> 5] |= 128 << 24 - o % 32, t[14 + (o + 64 >>> 9 << 4)] = Math.floor(r / 4294967296), t[15 + (o + 64 >>> 9 << 4)] = r, e.sigBytes = 4 * t.length, this._process(), this._hash }, clone: function() { var e = n.clone.call(this); return e._hash = this._hash.clone(), e } }), t.SHA1 = n._createHelper(a), t.HmacSHA1 = n._createHmacHelper(a), e.SHA1; var t, r, o, n, i, s, a }(v())), F.exports } var P, O = { exports: {} }; function L() { return P || (P = 1, O.exports = function(e) { return function(t) { var r = e, o = r.lib, n = o.WordArray, i = o.Hasher, s = r.algo, a = [], c = []; ! function() { function e(e) { for (var r = t.sqrt(e), o = 2; o <= r; o++) if (!(e % o)) return !1; return !0 } function r(e) { return 4294967296 * (e - (0 | e)) | 0 } for (var o = 2, n = 0; n < 64;) e(o) && (n < 8 && (a[n] = r(t.pow(o, .5))), c[n] = r(t.pow(o, 1 / 3)), n++), o++ }(); var u = [], l = s.SHA256 = i.extend({ _doReset: function() { this._hash = new n.init(a.slice(0)) }, _doProcessBlock: function(e, t) { for (var r = this._hash.words, o = r[0], n = r[1], i = r[2], s = r[3], a = r[4], l = r[5], h = r[6], d = r[7], f = 0; f < 64; f++) { if (f < 16) u[f] = 0 | e[t + f]; else { var p = u[f - 15], y = (p << 25 | p >>> 7) ^ (p << 14 | p >>> 18) ^ p >>> 3, g = u[f - 2], m = (g << 15 | g >>> 17) ^ (g << 13 | g >>> 19) ^ g >>> 10; u[f] = y + u[f - 7] + m + u[f - 16] } var v = o & n ^ o & i ^ n & i, b = (o << 30 | o >>> 2) ^ (o << 19 | o >>> 13) ^ (o << 10 | o >>> 22), w = d + ((a << 26 | a >>> 6) ^ (a << 21 | a >>> 11) ^ (a << 7 | a >>> 25)) + (a & l ^ ~a & h) + c[f] + u[f]; d = h, h = l, l = a, a = s + w | 0, s = i, i = n, n = o, o = w + (b + v) | 0 } r[0] = r[0] + o | 0, r[1] = r[1] + n | 0, r[2] = r[2] + i | 0, r[3] = r[3] + s | 0, r[4] = r[4] + a | 0, r[5] = r[5] + l | 0, r[6] = r[6] + h | 0, r[7] = r[7] + d | 0 }, _doFinalize: function() { var e = this._data, r = e.words, o = 8 * this._nDataBytes, n = 8 * e.sigBytes; return r[n >>> 5] |= 128 << 24 - n % 32, r[14 + (n + 64 >>> 9 << 4)] = t.floor(o / 4294967296), r[15 + (n + 64 >>> 9 << 4)] = o, e.sigBytes = 4 * r.length, this._process(), this._hash }, clone: function() { var e = i.clone.call(this); return e._hash = this._hash.clone(), e } }); r.SHA256 = i._createHelper(l), r.HmacSHA256 = i._createHmacHelper(l) }(Math), e.SHA256 }(v())), O.exports } var q, U = { exports: {} }; var W, J = { exports: {} }; function X() { return W || (W = 1, J.exports = function(e) { return function() { var t = e, r = t.lib.Hasher, o = t.x64, n = o.Word, i = o.WordArray, s = t.algo; function a() { return n.create.apply(n, arguments) } var c = [a(1116352408, 3609767458), a(1899447441, 602891725), a(3049323471, 3964484399), a(3921009573, 2173295548), a(961987163, 4081628472), a(1508970993, 3053834265), a(2453635748, 2937671579), a(2870763221, 3664609560), a(3624381080, 2734883394), a(310598401, 1164996542), a(607225278, 1323610764), a(1426881987, 3590304994), a(1925078388, 4068182383), a(2162078206, 991336113), a(2614888103, 633803317), a(3248222580, 3479774868), a(3835390401, 2666613458), a(4022224774, 944711139), a(264347078, 2341262773), a(604807628, 2007800933), a(770255983, 1495990901), a(1249150122, 1856431235), a(1555081692, 3175218132), a(1996064986, 2198950837), a(2554220882, 3999719339), a(2821834349, 766784016), a(2952996808, 2566594879), a(3210313671, 3203337956), a(3336571891, 1034457026), a(3584528711, 2466948901), a(113926993, 3758326383), a(338241895, 168717936), a(666307205, 1188179964), a(773529912, 1546045734), a(1294757372, 1522805485), a(1396182291, 2643833823), a(1695183700, 2343527390), a(1986661051, 1014477480), a(2177026350, 1206759142), a(2456956037, 344077627), a(2730485921, 1290863460), a(2820302411, 3158454273), a(3259730800, 3505952657), a(3345764771, 106217008), a(3516065817, 3606008344), a(3600352804, 1432725776), a(4094571909, 1467031594), a(275423344, 851169720), a(430227734, 3100823752), a(506948616, 1363258195), a(659060556, 3750685593), a(883997877, 3785050280), a(958139571, 3318307427), a(1322822218, 3812723403), a(1537002063, 2003034995), a(1747873779, 3602036899), a(1955562222, 1575990012), a(2024104815, 1125592928), a(2227730452, 2716904306), a(2361852424, 442776044), a(2428436474, 593698344), a(2756734187, 3733110249), a(3204031479, 2999351573), a(3329325298, 3815920427), a(3391569614, 3928383900), a(3515267271, 566280711), a(3940187606, 3454069534), a(4118630271, 4000239992), a(116418474, 1914138554), a(174292421, 2731055270), a(289380356, 3203993006), a(460393269, 320620315), a(685471733, 587496836), a(852142971, 1086792851), a(1017036298, 365543100), a(1126000580, 2618297676), a(1288033470, 3409855158), a(1501505948, 4234509866), a(1607167915, 987167468), a(1816402316, 1246189591)], u = []; ! function() { for (var e = 0; e < 80; e++) u[e] = a() }(); var l = s.SHA512 = r.extend({ _doReset: function() { this._hash = new i.init([new n.init(1779033703, 4089235720), new n.init(3144134277, 2227873595), new n.init(1013904242, 4271175723), new n.init(2773480762, 1595750129), new n.init(1359893119, 2917565137), new n.init(2600822924, 725511199), new n.init(528734635, 4215389547), new n.init(1541459225, 327033209)]) }, _doProcessBlock: function(e, t) { for (var r = this._hash.words, o = r[0], n = r[1], i = r[2], s = r[3], a = r[4], l = r[5], h = r[6], d = r[7], f = o.high, p = o.low, y = n.high, g = n.low, m = i.high, v = i.low, b = s.high, w = s.low, k = a.high, _ = a.low, x = l.high, S = l.low, B = h.high, A = h.low, T = d.high, C = d.low, E = f, $ = p, R = y, z = g, D = m, H = v, M = b, j = w, I = k, F = _, N = x, P = S, O = B, L = A, q = T, U = C, W = 0; W < 80; W++) { var J, X, K = u[W]; if (W < 16) X = K.high = 0 | e[t + 2 * W], J = K.low = 0 | e[t + 2 * W + 1]; else { var V = u[W - 15], G = V.high, Q = V.low, Z = (G >>> 1 | Q << 31) ^ (G >>> 8 | Q << 24) ^ G >>> 7, Y = (Q >>> 1 | G << 31) ^ (Q >>> 8 | G << 24) ^ (Q >>> 7 | G << 25), ee = u[W - 2], te = ee.high, re = ee.low, oe = (te >>> 19 | re << 13) ^ (te << 3 | re >>> 29) ^ te >>> 6, ne = (re >>> 19 | te << 13) ^ (re << 3 | te >>> 29) ^ (re >>> 6 | te << 26), ie = u[W - 7], se = ie.high, ae = ie.low, ce = u[W - 16], ue = ce.high, le = ce.low; X = (X = (X = Z + se + ((J = Y + ae) >>> 0 < Y >>> 0 ? 1 : 0)) + oe + ((J += ne) >>> 0 < ne >>> 0 ? 1 : 0)) + ue + ((J += le) >>> 0 < le >>> 0 ? 1 : 0), K.high = X, K.low = J } var he, de = I & N ^ ~I & O, fe = F & P ^ ~F & L, pe = E & R ^ E & D ^ R & D, ye = $ & z ^ $ & H ^ z & H, ge = (E >>> 28 | $ << 4) ^ (E << 30 | $ >>> 2) ^ (E << 25 | $ >>> 7), me = ($ >>> 28 | E << 4) ^ ($ << 30 | E >>> 2) ^ ($ << 25 | E >>> 7), ve = (I >>> 14 | F << 18) ^ (I >>> 18 | F << 14) ^ (I << 23 | F >>> 9), be = (F >>> 14 | I << 18) ^ (F >>> 18 | I << 14) ^ (F << 23 | I >>> 9), we = c[W], ke = we.high, _e = we.low, xe = q + ve + ((he = U + be) >>> 0 < U >>> 0 ? 1 : 0), Se = me + ye; q = O, U = L, O = N, L = P, N = I, P = F, I = M + (xe = (xe = (xe = xe + de + ((he += fe) >>> 0 < fe >>> 0 ? 1 : 0)) + ke + ((he += _e) >>> 0 < _e >>> 0 ? 1 : 0)) + X + ((he += J) >>> 0 < J >>> 0 ? 1 : 0)) + ((F = j + he | 0) >>> 0 < j >>> 0 ? 1 : 0) | 0, M = D, j = H, D = R, H = z, R = E, z = $, E = xe + (ge + pe + (Se >>> 0 < me >>> 0 ? 1 : 0)) + (($ = he + Se | 0) >>> 0 < he >>> 0 ? 1 : 0) | 0 } p = o.low = p + $, o.high = f + E + (p >>> 0 < $ >>> 0 ? 1 : 0), g = n.low = g + z, n.high = y + R + (g >>> 0 < z >>> 0 ? 1 : 0), v = i.low = v + H, i.high = m + D + (v >>> 0 < H >>> 0 ? 1 : 0), w = s.low = w + j, s.high = b + M + (w >>> 0 < j >>> 0 ? 1 : 0), _ = a.low = _ + F, a.high = k + I + (_ >>> 0 < F >>> 0 ? 1 : 0), S = l.low = S + P, l.high = x + N + (S >>> 0 < P >>> 0 ? 1 : 0), A = h.low = A + L, h.high = B + O + (A >>> 0 < L >>> 0 ? 1 : 0), C = d.low = C + U, d.high = T + q + (C >>> 0 < U >>> 0 ? 1 : 0) }, _doFinalize: function() { var e = this._data, t = e.words, r = 8 * this._nDataBytes, o = 8 * e.sigBytes; return t[o >>> 5] |= 128 << 24 - o % 32, t[30 + (o + 128 >>> 10 << 5)] = Math.floor(r / 4294967296), t[31 + (o + 128 >>> 10 << 5)] = r, e.sigBytes = 4 * t.length, this._process(), this._hash.toX32() }, clone: function() { var e = r.clone.call(this); return e._hash = this._hash.clone(), e }, blockSize: 32 }); t.SHA512 = r._createHelper(l), t.HmacSHA512 = r._createHmacHelper(l) }(), e.SHA512 }(v(), k())), J.exports } var K, V = { exports: {} }; var G, Q = { exports: {} }; function Z() { return G || (G = 1, Q.exports = function(e) { return function(t) { var r = e, o = r.lib, n = o.WordArray, i = o.Hasher, s = r.x64.Word, a = r.algo, c = [], u = [], l = []; ! function() { for (var e = 1, t = 0, r = 0; r < 24; r++) { c[e + 5 * t] = (r + 1) * (r + 2) / 2 % 64; var o = (2 * e + 3 * t) % 5; e = t % 5, t = o } for (e = 0; e < 5; e++) for (t = 0; t < 5; t++) u[e + 5 * t] = t + (2 * e + 3 * t) % 5 * 5; for (var n = 1, i = 0; i < 24; i++) { for (var a = 0, h = 0, d = 0; d < 7; d++) { if (1 & n) { var f = (1 << d) - 1; f < 32 ? h ^= 1 << f : a ^= 1 << f - 32 } 128 & n ? n = n << 1 ^ 113 : n <<= 1 } l[i] = s.create(a, h) } }(); var h = []; ! function() { for (var e = 0; e < 25; e++) h[e] = s.create() }(); var d = a.SHA3 = i.extend({ cfg: i.cfg.extend({ outputLength: 512 }), _doReset: function() { for (var e = this._state = [], t = 0; t < 25; t++) e[t] = new s.init; this.blockSize = (1600 - 2 * this.cfg.outputLength) / 32 }, _doProcessBlock: function(e, t) { for (var r = this._state, o = this.blockSize / 2, n = 0; n < o; n++) { var i = e[t + 2 * n], s = e[t + 2 * n + 1]; i = 16711935 & (i << 8 | i >>> 24) | 4278255360 & (i << 24 | i >>> 8), s = 16711935 & (s << 8 | s >>> 24) | 4278255360 & (s << 24 | s >>> 8), (C = r[n]).high ^= s, C.low ^= i } for (var a = 0; a < 24; a++) { for (var d = 0; d < 5; d++) { for (var f = 0, p = 0, y = 0; y < 5; y++) f ^= (C = r[d + 5 * y]).high, p ^= C.low; var g = h[d]; g.high = f, g.low = p } for (d = 0; d < 5; d++) { var m = h[(d + 4) % 5], v = h[(d + 1) % 5], b = v.high, w = v.low; for (f = m.high ^ (b << 1 | w >>> 31), p = m.low ^ (w << 1 | b >>> 31), y = 0; y < 5; y++)(C = r[d + 5 * y]).high ^= f, C.low ^= p } for (var k = 1; k < 25; k++) { var _ = (C = r[k]).high, x = C.low, S = c[k]; S < 32 ? (f = _ << S | x >>> 32 - S, p = x << S | _ >>> 32 - S) : (f = x << S - 32 | _ >>> 64 - S, p = _ << S - 32 | x >>> 64 - S); var B = h[u[k]]; B.high = f, B.low = p } var A = h[0], T = r[0]; for (A.high = T.high, A.low = T.low, d = 0; d < 5; d++) for (y = 0; y < 5; y++) { var C = r[k = d + 5 * y], E = h[k], $ = h[(d + 1) % 5 + 5 * y], R = h[(d + 2) % 5 + 5 * y]; C.high = E.high ^ ~$.high & R.high, C.low = E.low ^ ~$.low & R.low } C = r[0]; var z = l[a]; C.high ^= z.high, C.low ^= z.low } }, _doFinalize: function() { var e = this._data, r = e.words; this._nDataBytes; var o = 8 * e.sigBytes, i = 32 * this.blockSize; r[o >>> 5] |= 1 << 24 - o % 32, r[(t.ceil((o + 1) / i) * i >>> 5) - 1] |= 128, e.sigBytes = 4 * r.length, this._process(); for (var s = this._state, a = this.cfg.outputLength / 8, c = a / 8, u = [], l = 0; l < c; l++) { var h = s[l], d = h.high, f = h.low; d = 16711935 & (d << 8 | d >>> 24) | 4278255360 & (d << 24 | d >>> 8), f = 16711935 & (f << 8 | f >>> 24) | 4278255360 & (f << 24 | f >>> 8), u.push(f), u.push(d) } return new n.init(u, a) }, clone: function() { for (var e = i.clone.call(this), t = e._state = this._state.slice(0), r = 0; r < 25; r++) t[r] = t[r].clone(); return e } }); r.SHA3 = i._createHelper(d), r.HmacSHA3 = i._createHmacHelper(d) }(Math), e.SHA3 }(v(), k())), Q.exports } var Y, ee = { exports: {} }; var te, re = { exports: {} }; function oe() { return te || (te = 1, re.exports = function(e) { var t, r, o; r = (t = e).lib.Base, o = t.enc.Utf8, t.algo.HMAC = r.extend({ init: function(e, t) { e = this._hasher = new e.init, "string" == typeof t && (t = o.parse(t)); var r = e.blockSize, n = 4 * r; t.sigBytes > n && (t = e.finalize(t)), t.clamp(); for (var i = this._oKey = t.clone(), s = this._iKey = t.clone(), a = i.words, c = s.words, u = 0; u < r; u++) a[u] ^= 1549556828, c[u] ^= 909522486; i.sigBytes = s.sigBytes = n, this.reset() }, reset: function() { var e = this._hasher; e.reset(), e.update(this._iKey) }, update: function(e) { return this._hasher.update(e), this }, finalize: function(e) { var t = this._hasher, r = t.finalize(e); return t.reset(), t.finalize(this._oKey.clone().concat(r)) } }) }(v())), re.exports } var ne, ie = { exports: {} }; var se, ae = { exports: {} }; function ce() { return se || (se = 1, ae.exports = function(e) { return r = (t = e).lib, o = r.Base, n = r.WordArray, i = t.algo, s = i.MD5, a = i.EvpKDF = o.extend({ cfg: o.extend({ keySize: 4, hasher: s, iterations: 1 }), init: function(e) { this.cfg = this.cfg.extend(e) }, compute: function(e, t) { for (var r, o = this.cfg, i = o.hasher.create(), s = n.create(), a = s.words, c = o.keySize, u = o.iterations; a.length < c;) { r && i.update(r), r = i.update(e).finalize(t), i.reset(); for (var l = 1; l < u; l++) r = i.finalize(r), i.reset(); s.concat(r) } return s.sigBytes = 4 * c, s } }), t.EvpKDF = function(e, t, r) { return a.create(r).compute(e, t) }, e.EvpKDF; var t, r, o, n, i, s, a }(v(), N(), oe())), ae.exports } var ue, le = { exports: {} }; function he() { return ue || (ue = 1, le.exports = function(e) { e.lib.Cipher || function(t) { var r = e, o = r.lib, n = o.Base, i = o.WordArray, s = o.BufferedBlockAlgorithm, a = r.enc; a.Utf8; var c = a.Base64, u = r.algo.EvpKDF, l = o.Cipher = s.extend({ cfg: n.extend(), createEncryptor: function(e, t) { return this.create(this._ENC_XFORM_MODE, e, t) }, createDecryptor: function(e, t) { return this.create(this._DEC_XFORM_MODE, e, t) }, init: function(e, t, r) { this.cfg = this.cfg.extend(r), this._xformMode = e, this._key = t, this.reset() }, reset: function() { s.reset.call(this), this._doReset() }, process: function(e) { return this._append(e), this._process() }, finalize: function(e) { return e && this._append(e), this._doFinalize() }, keySize: 4, ivSize: 4, _ENC_XFORM_MODE: 1, _DEC_XFORM_MODE: 2, _createHelper: function() { function e(e) { return "string" == typeof e ? b : m } return function(t) { return { encrypt: function(r, o, n) { return e(o).encrypt(t, r, o, n) }, decrypt: function(r, o, n) { return e(o).decrypt(t, r, o, n) } } } }() }); o.StreamCipher = l.extend({ _doFinalize: function() { return this._process(!0) }, blockSize: 1 }); var h = r.mode = {}, d = o.BlockCipherMode = n.extend({ createEncryptor: function(e, t) { return this.Encryptor.create(e, t) }, createDecryptor: function(e, t) { return this.Decryptor.create(e, t) }, init: function(e, t) { this._cipher = e, this._iv = t } }), f = h.CBC = function() { var e = d.extend(); function r(e, r, o) { var n, i = this._iv; i ? (n = i, this._iv = t) : n = this._prevBlock; for (var s = 0; s < o; s++) e[r + s] ^= n[s] } return e.Encryptor = e.extend({ processBlock: function(e, t) { var o = this._cipher, n = o.blockSize; r.call(this, e, t, n), o.encryptBlock(e, t), this._prevBlock = e.slice(t, t + n) } }), e.Decryptor = e.extend({ processBlock: function(e, t) { var o = this._cipher, n = o.blockSize, i = e.slice(t, t + n); o.decryptBlock(e, t), r.call(this, e, t, n), this._prevBlock = i } }), e }(), p = (r.pad = {}).Pkcs7 = { pad: function(e, t) { for (var r = 4 * t, o = r - e.sigBytes % r, n = o << 24 | o << 16 | o << 8 | o, s = [], a = 0; a < o; a += 4) s.push(n); var c = i.create(s, o); e.concat(c) }, unpad: function(e) { var t = 255 & e.words[e.sigBytes - 1 >>> 2]; e.sigBytes -= t } }; o.BlockCipher = l.extend({ cfg: l.cfg.extend({ mode: f, padding: p }), reset: function() { var e; l.reset.call(this); var t = this.cfg, r = t.iv, o = t.mode; this._xformMode == this._ENC_XFORM_MODE ? e = o.createEncryptor : (e = o.createDecryptor, this._minBufferSize = 1), this._mode && this._mode.__creator == e ? this._mode.init(this, r && r.words) : (this._mode = e.call(o, this, r && r.words), this._mode.__creator = e) }, _doProcessBlock: function(e, t) { this._mode.processBlock(e, t) }, _doFinalize: function() { var e, t = this.cfg.padding; return this._xformMode == this._ENC_XFORM_MODE ? (t.pad(this._data, this.blockSize), e = this._process(!0)) : (e = this._process(!0), t.unpad(e)), e }, blockSize: 4 }); var y = o.CipherParams = n.extend({ init: function(e) { this.mixIn(e) }, toString: function(e) { return (e || this.formatter).stringify(this) } }), g = (r.format = {}).OpenSSL = { stringify: function(e) { var t = e.ciphertext, r = e.salt; return (r ? i.create([1398893684, 1701076831]).concat(r).concat(t) : t).toString(c) }, parse: function(e) { var t, r = c.parse(e), o = r.words; return 1398893684 == o[0] && 1701076831 == o[1] && (t = i.create(o.slice(2, 4)), o.splice(0, 4), r.sigBytes -= 16), y.create({ ciphertext: r, salt: t }) } }, m = o.SerializableCipher = n.extend({ cfg: n.extend({ format: g }), encrypt: function(e, t, r, o) { o = this.cfg.extend(o); var n = e.createEncryptor(r, o), i = n.finalize(t), s = n.cfg; return y.create({ ciphertext: i, key: r, iv: s.iv, algorithm: e, mode: s.mode, padding: s.padding, blockSize: e.blockSize, formatter: o.format }) }, decrypt: function(e, t, r, o) { return o = this.cfg.extend(o), t = this._parse(t, o.format), e.createDecryptor(r, o).finalize(t.ciphertext) }, _parse: function(e, t) { return "string" == typeof e ? t.parse(e, this) : e } }), v = (r.kdf = {}).OpenSSL = { execute: function(e, t, r, o, n) { if (o || (o = i.random(8)), n) s = u.create({ keySize: t + r, hasher: n }).compute(e, o); else var s = u.create({ keySize: t + r }).compute(e, o); var a = i.create(s.words.slice(t), 4 * r); return s.sigBytes = 4 * t, y.create({ key: s, iv: a, salt: o }) } }, b = o.PasswordBasedCipher = m.extend({ cfg: m.cfg.extend({ kdf: v }), encrypt: function(e, t, r, o) { var n = (o = this.cfg.extend(o)).kdf.execute(r, e.keySize, e.ivSize, o.salt, o.hasher); o.iv = n.iv; var i = m.encrypt.call(this, e, t, n.key, o); return i.mixIn(n), i }, decrypt: function(e, t, r, o) { o = this.cfg.extend(o), t = this._parse(t, o.format); var n = o.kdf.execute(r, e.keySize, e.ivSize, t.salt, o.hasher); return o.iv = n.iv, m.decrypt.call(this, e, t, n.key, o) } }) }() }(v(), ce())), le.exports } var de, fe = { exports: {} }; function pe() { return de || (de = 1, fe.exports = function(e) { return e.mode.CFB = function() { var t = e.lib.BlockCipherMode.extend(); function r(e, t, r, o) { var n, i = this._iv; i ? (n = i.slice(0), this._iv = void 0) : n = this._prevBlock, o.encryptBlock(n, 0); for (var s = 0; s < r; s++) e[t + s] ^= n[s] } return t.Encryptor = t.extend({ processBlock: function(e, t) { var o = this._cipher, n = o.blockSize; r.call(this, e, t, n, o), this._prevBlock = e.slice(t, t + n) } }), t.Decryptor = t.extend({ processBlock: function(e, t) { var o = this._cipher, n = o.blockSize, i = e.slice(t, t + n); r.call(this, e, t, n, o), this._prevBlock = i } }), t }(), e.mode.CFB }(v(), he())), fe.exports } var ye, ge = { exports: {} }; function me() { return ye || (ye = 1, ge.exports = function(e) { return e.mode.CTR = (t = e.lib.BlockCipherMode.extend(), r = t.Encryptor = t.extend({ processBlock: function(e, t) { var r = this._cipher, o = r.blockSize, n = this._iv, i = this._counter; n && (i = this._counter = n.slice(0), this._iv = void 0); var s = i.slice(0); r.encryptBlock(s, 0), i[o - 1] = i[o - 1] + 1 | 0; for (var a = 0; a < o; a++) e[t + a] ^= s[a] } }), t.Decryptor = r, t), e.mode.CTR; var t, r }(v(), he())), ge.exports } var ve, be = { exports: {} }; function we() { return ve || (ve = 1, be.exports = function(e) { /** @preserve * Counter block mode compatible with Dr Brian Gladman fileenc.c * derived from CryptoJS.mode.CTR * Jan Hruby jhruby.web@gmail.com */ return e.mode.CTRGladman = function() { var t = e.lib.BlockCipherMode.extend(); function r(e) { if (255 & ~(e >> 24)) e += 1 << 24; else { var t = e >> 16 & 255, r = e >> 8 & 255, o = 255 & e; 255 === t ? (t = 0, 255 === r ? (r = 0, 255 === o ? o = 0 : ++o) : ++r) : ++t, e = 0, e += t << 16, e += r << 8, e += o } return e } function o(e) { return 0 === (e[0] = r(e[0])) && (e[1] = r(e[1])), e } var n = t.Encryptor = t.extend({ processBlock: function(e, t) { var r = this._cipher, n = r.blockSize, i = this._iv, s = this._counter; i && (s = this._counter = i.slice(0), this._iv = void 0), o(s); var a = s.slice(0); r.encryptBlock(a, 0); for (var c = 0; c < n; c++) e[t + c] ^= a[c] } }); return t.Decryptor = n, t }(), e.mode.CTRGladman }(v(), he())), be.exports } var ke, _e = { exports: {} }; function xe() { return ke || (ke = 1, _e.exports = function(e) { return e.mode.OFB = (t = e.lib.BlockCipherMode.extend(), r = t.Encryptor = t.extend({ processBlock: function(e, t) { var r = this._cipher, o = r.blockSize, n = this._iv, i = this._keystream; n && (i = this._keystream = n.slice(0), this._iv = void 0), r.encryptBlock(i, 0); for (var s = 0; s < o; s++) e[t + s] ^= i[s] } }), t.Decryptor = r, t), e.mode.OFB; var t, r }(v(), he())), _e.exports } var Se, Be = { exports: {} }; var Ae, Te = { exports: {} }; var Ce, Ee = { exports: {} }; var $e, Re = { exports: {} }; var ze, De = { exports: {} }; var He, Me = { exports: {} }; var je, Ie = { exports: {} }; var Fe, Ne = { exports: {} }; var Pe, Oe = { exports: {} }; function Le() { return Pe || (Pe = 1, Oe.exports = function(e) { return function() { var t = e, r = t.lib, o = r.WordArray, n = r.BlockCipher, i = t.algo, s = [57, 49, 41, 33, 25, 17, 9, 1, 58, 50, 42, 34, 26, 18, 10, 2, 59, 51, 43, 35, 27, 19, 11, 3, 60, 52, 44, 36, 63, 55, 47, 39, 31, 23, 15, 7, 62, 54, 46, 38, 30, 22, 14, 6, 61, 53, 45, 37, 29, 21, 13, 5, 28, 20, 12, 4], a = [14, 17, 11, 24, 1, 5, 3, 28, 15, 6, 21, 10, 23, 19, 12, 4, 26, 8, 16, 7, 27, 20, 13, 2, 41, 52, 31, 37, 47, 55, 30, 40, 51, 45, 33, 48, 44, 49, 39, 56, 34, 53, 46, 42, 50, 36, 29, 32], c = [1, 2, 4, 6, 8, 10, 12, 14, 15, 17, 19, 21, 23, 25, 27, 28], u = [{ 0: 8421888, 268435456: 32768, 536870912: 8421378, 805306368: 2, 1073741824: 512, 1342177280: 8421890, 1610612736: 8389122, 1879048192: 8388608, 2147483648: 514, 2415919104: 8389120, 2684354560: 33280, 2952790016: 8421376, 3221225472: 32770, 3489660928: 8388610, 3758096384: 0, 4026531840: 33282, 134217728: 0, 402653184: 8421890, 671088640: 33282, 939524096: 32768, 1207959552: 8421888, 1476395008: 512, 1744830464: 8421378, 2013265920: 2, 2281701376: 8389120, 2550136832: 33280, 2818572288: 8421376, 3087007744: 8389122, 3355443200: 8388610, 3623878656: 32770, 3892314112: 514, 4160749568: 8388608, 1: 32768, 268435457: 2, 536870913: 8421888, 805306369: 8388608, 1073741825: 8421378, 1342177281: 33280, 1610612737: 512, 1879048193: 8389122, 2147483649: 8421890, 2415919105: 8421376, 2684354561: 8388610, 2952790017: 33282, 3221225473: 514, 3489660929: 8389120, 3758096385: 32770, 4026531841: 0, 134217729: 8421890, 402653185: 8421376, 671088641: 8388608, 939524097: 512, 1207959553: 32768, 1476395009: 8388610, 1744830465: 2, 2013265921: 33282, 2281701377: 32770, 2550136833: 8389122, 2818572289: 514, 3087007745: 8421888, 3355443201: 8389120, 3623878657: 0, 3892314113: 33280, 4160749569: 8421378 }, { 0: 1074282512, 16777216: 16384, 33554432: 524288, 50331648: 1074266128, 67108864: 1073741840, 83886080: 1074282496, 100663296: 1073758208, 117440512: 16, 134217728: 540672, 150994944: 1073758224, 167772160: 1073741824, 184549376: 540688, 201326592: 524304, 218103808: 0, 234881024: 16400, 251658240: 1074266112, 8388608: 1073758208, 25165824: 540688, 41943040: 16, 58720256: 1073758224, 75497472: 1074282512, 92274688: 1073741824, 109051904: 524288, 125829120: 1074266128, 142606336: 524304, 159383552: 0, 176160768: 16384, 192937984: 1074266112, 209715200: 1073741840, 226492416: 540672, 243269632: 1074282496, 260046848: 16400, 268435456: 0, 285212672: 1074266128, 301989888: 1073758224, 318767104: 1074282496, 335544320: 1074266112, 352321536: 16, 369098752: 540688, 385875968: 16384, 402653184: 16400, 419430400: 524288, 436207616: 524304, 452984832: 1073741840, 469762048: 540672, 486539264: 1073758208, 503316480: 1073741824, 520093696: 1074282512, 276824064: 540688, 293601280: 524288, 310378496: 1074266112, 327155712: 16384, 343932928: 1073758208, 360710144: 1074282512, 377487360: 16, 394264576: 1073741824, 411041792: 1074282496, 427819008: 1073741840, 444596224: 1073758224, 461373440: 524304, 478150656: 0, 494927872: 16400, 511705088: 1074266128, 528482304: 540672 }, { 0: 260, 1048576: 0, 2097152: 67109120, 3145728: 65796, 4194304: 65540, 5242880: 67108868, 6291456: 67174660, 7340032: 67174400, 8388608: 67108864, 9437184: 67174656, 10485760: 65792, 11534336: 67174404, 12582912: 67109124, 13631488: 65536, 14680064: 4, 15728640: 256, 524288: 67174656, 1572864: 67174404, 2621440: 0, 3670016: 67109120, 4718592: 67108868, 5767168: 65536, 6815744: 65540, 7864320: 260, 8912896: 4, 9961472: 256, 11010048: 67174400, 12058624: 65796, 13107200: 65792, 14155776: 67109124, 15204352: 67174660, 16252928: 67108864, 16777216: 67174656, 17825792: 65540, 18874368: 65536, 19922944: 67109120, 20971520: 256, 22020096: 67174660, 23068672: 67108868, 24117248: 0, 25165824: 67109124, 26214400: 67108864, 27262976: 4, 28311552: 65792, 29360128: 67174400, 30408704: 260, 31457280: 65796, 32505856: 67174404, 17301504: 67108864, 18350080: 260, 19398656: 67174656, 20447232: 0, 21495808: 65540, 22544384: 67109120, 23592960: 256, 24641536: 67174404, 25690112: 65536, 26738688: 67174660, 27787264: 65796, 28835840: 67108868, 29884416: 67109124, 30932992: 67174400, 31981568: 4, 33030144: 65792 }, { 0: 2151682048, 65536: 2147487808, 131072: 4198464, 196608: 2151677952, 262144: 0, 327680: 4198400, 393216: 2147483712, 458752: 4194368, 524288: 2147483648, 589824: 4194304, 655360: 64, 720896: 2147487744, 786432: 2151678016, 851968: 4160, 917504: 4096, 983040: 2151682112, 32768: 2147487808, 98304: 64, 163840: 2151678016, 229376: 2147487744, 294912: 4198400, 360448: 2151682112, 425984: 0, 491520: 2151677952, 557056: 4096, 622592: 2151682048, 688128: 4194304, 753664: 4160, 819200: 2147483648, 884736: 4194368, 950272: 4198464, 1015808: 2147483712, 1048576: 4194368, 1114112: 4198400, 1179648: 2147483712, 1245184: 0, 1310720: 4160, 1376256: 2151678016, 1441792: 2151682048, 1507328: 2147487808, 1572864: 2151682112, 1638400: 2147483648, 1703936: 2151677952, 1769472: 4198464, 1835008: 2147487744, 1900544: 4194304, 1966080: 64, 2031616: 4096, 1081344: 2151677952, 1146880: 2151682112, 1212416: 0, 1277952: 4198400, 1343488: 4194368, 1409024: 2147483648, 1474560: 2147487808, 1540096: 64, 1605632: 2147483712, 1671168: 4096, 1736704: 2147487744, 1802240: 2151678016, 1867776: 4160, 1933312: 2151682048, 1998848: 4194304, 2064384: 4198464 }, { 0: 128, 4096: 17039360, 8192: 262144, 12288: 536870912, 16384: 537133184, 20480: 16777344, 24576: 553648256, 28672: 262272, 32768: 16777216, 36864: 537133056, 40960: 536871040, 45056: 553910400, 49152: 553910272, 53248: 0, 57344: 17039488, 61440: 553648128, 2048: 17039488, 6144: 553648256, 10240: 128, 14336: 17039360, 18432: 262144, 22528: 537133184, 26624: 553910272, 30720: 536870912, 34816: 537133056, 38912: 0, 43008: 553910400, 47104: 16777344, 51200: 536871040, 55296: 553648128, 59392: 16777216, 63488: 262272, 65536: 262144, 69632: 128, 73728: 536870912, 77824: 553648256, 81920: 16777344, 86016: 553910272, 90112: 537133184, 94208: 16777216, 98304: 553910400, 102400: 553648128, 106496: 17039360, 110592: 537133056, 114688: 262272, 118784: 536871040, 122880: 0, 126976: 17039488, 67584: 553648256, 71680: 16777216, 75776: 17039360, 79872: 537133184, 83968: 536870912, 88064: 17039488, 92160: 128, 96256: 553910272, 100352: 262272, 104448: 553910400, 108544: 0, 112640: 553648128, 116736: 16777344, 120832: 262144, 124928: 537133056, 129024: 536871040 }, { 0: 268435464, 256: 8192, 512: 270532608, 768: 270540808, 1024: 268443648, 1280: 2097152, 1536: 2097160, 1792: 268435456, 2048: 0, 2304: 268443656, 2560: 2105344, 2816: 8, 3072: 270532616, 3328: 2105352, 3584: 8200, 3840: 270540800, 128: 270532608, 384: 270540808, 640: 8, 896: 2097152, 1152: 2105352, 1408: 268435464, 1664: 268443648, 1920: 8200, 2176: 2097160, 2432: 8192, 2688: 268443656, 2944: 270532616, 3200: 0, 3456: 270540800, 3712: 2105344, 3968: 268435456, 4096: 268443648, 4352: 270532616, 4608: 270540808, 4864: 8200, 5120: 2097152, 5376: 268435456, 5632: 268435464, 5888: 2105344, 6144: 2105352, 6400: 0, 6656: 8, 6912: 270532608, 7168: 8192, 7424: 268443656, 7680: 270540800, 7936: 2097160, 4224: 8, 4480: 2105344, 4736: 2097152, 4992: 268435464, 5248: 268443648, 5504: 8200, 5760: 270540808, 6016: 270532608, 6272: 270540800, 6528: 270532616, 6784: 8192, 7040: 2105352, 7296: 2097160, 7552: 0, 7808: 268435456, 8064: 268443656 }, { 0: 1048576, 16: 33555457, 32: 1024, 48: 1049601, 64: 34604033, 80: 0, 96: 1, 112: 34603009, 128: 33555456, 144: 1048577, 160: 33554433, 176: 34604032, 192: 34603008, 208: 1025, 224: 1049600, 240: 33554432, 8: 34603009, 24: 0, 40: 33555457, 56: 34604032, 72: 1048576, 88: 33554433, 104: 33554432, 120: 1025, 136: 1049601, 152: 33555456, 168: 34603008, 184: 1048577, 200: 1024, 216: 34604033, 232: 1, 248: 1049600, 256: 33554432, 272: 1048576, 288: 33555457, 304: 34603009, 320: 1048577, 336: 33555456, 352: 34604032, 368: 1049601, 384: 1025, 400: 34604033, 416: 1049600, 432: 1, 448: 0, 464: 34603008, 480: 33554433, 496: 1024, 264: 1049600, 280: 33555457, 296: 34603009, 312: 1, 328: 33554432, 344: 1048576, 360: 1025, 376: 34604032, 392: 33554433, 408: 34603008, 424: 0, 440: 34604033, 456: 1049601, 472: 1024, 488: 33555456, 504: 1048577 }, { 0: 134219808, 1: 131072, 2: 134217728, 3: 32, 4: 131104, 5: 134350880, 6: 134350848, 7: 2048, 8: 134348800, 9: 134219776, 10: 133120, 11: 134348832, 12: 2080, 13: 0, 14: 134217760, 15: 133152, 2147483648: 2048, 2147483649: 134350880, 2147483650: 134219808, 2147483651: 134217728, 2147483652: 134348800, 2147483653: 133120, 2147483654: 133152, 2147483655: 32, 2147483656: 134217760, 2147483657: 2080, 2147483658: 131104, 2147483659: 134350848, 2147483660: 0, 2147483661: 134348832, 2147483662: 134219776, 2147483663: 131072, 16: 133152, 17: 134350848, 18: 32, 19: 2048, 20: 134219776, 21: 134217760, 22: 134348832, 23: 131072, 24: 0, 25: 131104, 26: 134348800, 27: 134219808, 28: 134350880, 29: 133120, 30: 2080, 31: 134217728, 2147483664: 131072, 2147483665: 2048, 2147483666: 134348832, 2147483667: 133152, 2147483668: 32, 2147483669: 134348800, 2147483670: 134217728, 2147483671: 134219808, 2147483672: 134350880, 2147483673: 134217760, 2147483674: 134219776, 2147483675: 0, 2147483676: 133120, 2147483677: 2080, 2147483678: 131104, 2147483679: 134350848 }], l = [4160749569, 528482304, 33030144, 2064384, 129024, 8064, 504, 2147483679], h = i.DES = n.extend({ _doReset: function() { for (var e = this._key.words, t = [], r = 0; r < 56; r++) { var o = s[r] - 1; t[r] = e[o >>> 5] >>> 31 - o % 32 & 1 } for (var n = this._subKeys = [], i = 0; i < 16; i++) { var u = n[i] = [], l = c[i]; for (r = 0; r < 24; r++) u[r / 6 | 0] |= t[(a[r] - 1 + l) % 28] << 31 - r % 6, u[4 + (r / 6 | 0)] |= t[28 + (a[r + 24] - 1 + l) % 28] << 31 - r % 6; for (u[0] = u[0] << 1 | u[0] >>> 31, r = 1; r < 7; r++) u[r] = u[r] >>> 4 * (r - 1) + 3; u[7] = u[7] << 5 | u[7] >>> 27 } var h = this._invSubKeys = []; for (r = 0; r < 16; r++) h[r] = n[15 - r] }, encryptBlock: function(e, t) { this._doCryptBlock(e, t, this._subKeys) }, decryptBlock: function(e, t) { this._doCryptBlock(e, t, this._invSubKeys) }, _doCryptBlock: function(e, t, r) { this._lBlock = e[t], this._rBlock = e[t + 1], d.call(this, 4, 252645135), d.call(this, 16, 65535), f.call(this, 2, 858993459), f.call(this, 8, 16711935), d.call(this, 1, 1431655765); for (var o = 0; o < 16; o++) { for (var n = r[o], i = this._lBlock, s = this._rBlock, a = 0, c = 0; c < 8; c++) a |= u[c][((s ^ n[c]) & l[c]) >>> 0]; this._lBlock = s, this._rBlock = i ^ a } var h = this._lBlock; this._lBlock = this._rBlock, this._rBlock = h, d.call(this, 1, 1431655765), f.call(this, 8, 16711935), f.call(this, 2, 858993459), d.call(this, 16, 65535), d.call(this, 4, 252645135), e[t] = this._lBlock, e[t + 1] = this._rBlock }, keySize: 2, ivSize: 2, blockSize: 2 }); function d(e, t) { var r = (this._lBlock >>> e ^ this._rBlock) & t; this._rBlock ^= r, this._lBlock ^= r << e } function f(e, t) { var r = (this._rBlock >>> e ^ this._lBlock) & t; this._lBlock ^= r, this._rBlock ^= r << e } t.DES = n._createHelper(h); var p = i.TripleDES = n.extend({ _doReset: function() { var e = this._key.words; if (2 !== e.length && 4 !== e.length && e.length < 6) throw new Error("Invalid key length - 3DES requires the key length to be 64, 128, 192 or >192."); var t = e.slice(0, 2), r = e.length < 4 ? e.slice(0, 2) : e.slice(2, 4), n = e.length < 6 ? e.slice(0, 2) : e.slice(4, 6); this._des1 = h.createEncryptor(o.create(t)), this._des2 = h.createEncryptor(o.create(r)), this._des3 = h.createEncryptor(o.create(n)) }, encryptBlock: function(e, t) { this._des1.encryptBlock(e, t), this._des2.decryptBlock(e, t), this._des3.encryptBlock(e, t) }, decryptBlock: function(e, t) { this._des3.decryptBlock(e, t), this._des2.encryptBlock(e, t), this._des1.decryptBlock(e, t) }, keySize: 6, ivSize: 2, blockSize: 2 }); t.TripleDES = n._createHelper(p) }(), e.TripleDES }(v(), $(), j(), ce(), he())), Oe.exports } var qe, Ue = { exports: {} }; var We, Je = { exports: {} }; var Xe, Ke = { exports: {} }; var Ve, Ge = { exports: {} }; function Qe() { return Ve || (Ve = 1, Ge.exports = function(e) { return function() { var t = e, r = t.lib.BlockCipher, o = t.algo; const n = 16, i = [608135816, 2242054355, 320440878, 57701188, 2752067618, 698298832, 137296536, 3964562569, 1160258022, 953160567, 3193202383, 887688300, 3232508343, 3380367581, 1065670069, 3041331479, 2450970073, 2306472731], s = [ [3509652390, 2564797868, 805139163, 3491422135, 3101798381, 1780907670, 3128725573, 4046225305, 614570311, 3012652279, 134345442, 2240740374, 1667834072, 1901547113, 2757295779, 4103290238, 227898511, 1921955416, 1904987480, 2182433518, 2069144605, 3260701109, 2620446009, 720527379, 3318853667, 677414384, 3393288472, 3101374703, 2390351024, 1614419982, 1822297739, 2954791486, 3608508353, 3174124327, 2024746970, 1432378464, 3864339955, 2857741204, 1464375394, 1676153920, 1439316330, 715854006, 3033291828, 289532110, 2706671279, 2087905683, 3018724369, 1668267050, 732546397, 1947742710, 3462151702, 2609353502, 2950085171, 1814351708, 2050118529, 680887927, 999245976, 1800124847, 3300911131, 1713906067, 1641548236, 4213287313, 1216130144, 1575780402, 4018429277, 3917837745, 3693486850, 3949271944, 596196993, 3549867205, 258830323, 2213823033, 772490370, 2760122372, 1774776394, 2652871518, 566650946, 4142492826, 1728879713, 2882767088, 1783734482, 3629395816, 2517608232, 2874225571, 1861159788, 326777828, 3124490320, 2130389656, 2716951837, 967770486, 1724537150, 2185432712, 2364442137, 1164943284, 2105845187, 998989502, 3765401048, 2244026483, 1075463327, 1455516326, 1322494562, 910128902, 469688178, 1117454909, 936433444, 3490320968, 3675253459, 1240580251, 122909385, 2157517691, 634681816, 4142456567, 3825094682, 3061402683, 2540495037, 79693498, 3249098678, 1084186820, 1583128258, 426386531, 1761308591, 1047286709, 322548459, 995290223, 1845252383, 2603652396, 3431023940, 2942221577, 3202600964, 3727903485, 1712269319, 422464435, 3234572375, 1170764815, 3523960633, 3117677531, 1434042557, 442511882, 3600875718, 1076654713, 1738483198, 4213154764, 2393238008, 3677496056, 1014306527, 4251020053, 793779912, 2902807211, 842905082, 4246964064, 1395751752, 1040244610, 2656851899, 3396308128, 445077038, 3742853595, 3577915638, 679411651, 2892444358, 2354009459, 1767581616, 3150600392, 3791627101, 3102740896, 284835224, 4246832056, 1258075500, 768725851, 2589189241, 3069724005, 3532540348, 1274779536, 3789419226, 2764799539, 1660621633, 3471099624, 4011903706, 913787905, 3497959166, 737222580, 2514213453, 2928710040, 3937242737, 1804850592, 3499020752, 2949064160, 2386320175, 2390070455, 2415321851, 4061277028, 2290661394, 2416832540, 1336762016, 1754252060, 3520065937, 3014181293, 791618072, 3188594551, 3933548030, 2332172193, 3852520463, 3043980520, 413987798, 3465142937, 3030929376, 4245938359, 2093235073, 3534596313, 375366246, 2157278981, 2479649556, 555357303, 3870105701, 2008414854, 3344188149, 4221384143, 3956125452, 2067696032, 3594591187, 2921233993, 2428461, 544322398, 577241275, 1471733935, 610547355, 4027169054, 1432588573, 1507829418, 2025931657, 3646575487, 545086370, 48609733, 2200306550, 1653985193, 298326376, 1316178497, 3007786442, 2064951626, 458293330, 2589141269, 3591329599, 3164325604, 727753846, 2179363840, 146436021, 1461446943, 4069977195, 705550613, 3059967265, 3887724982, 4281599278, 3313849956, 1404054877, 2845806497, 146425753, 1854211946], [1266315497, 3048417604, 3681880366, 3289982499, 290971e4, 1235738493, 2632868024, 2414719590, 3970600049, 1771706367, 1449415276, 3266420449, 422970021, 1963543593, 2690192192, 3826793022, 1062508698, 1531092325, 1804592342, 2583117782, 2714934279, 4024971509, 1294809318, 4028980673, 1289560198, 2221992742, 1669523910, 35572830, 157838143, 1052438473, 1016535060, 1802137761, 1753167236, 1386275462, 3080475397, 2857371447, 1040679964, 2145300060, 2390574316, 1461121720, 2956646967, 4031777805, 4028374788, 33600511, 2920084762, 1018524850, 629373528, 3691585981, 3515945977, 2091462646, 2486323059, 586499841, 988145025, 935516892, 3367335476, 2599673255, 2839830854, 265290510, 3972581182, 2759138881, 3795373465, 1005194799, 847297441, 406762289, 1314163512, 1332590856, 1866599683, 4127851711, 750260880, 613907577, 1450815602, 3165620655, 3734664991, 3650291728, 3012275730, 3704569646, 1427272223, 778793252, 1343938022, 2676280711, 2052605720, 1946737175, 3164576444, 3914038668, 3967478842, 3682934266, 1661551462, 3294938066, 4011595847, 840292616, 3712170807, 616741398, 312560963, 711312465, 1351876610, 322626781, 1910503582, 271666773, 2175563734, 1594956187, 70604529, 3617834859, 1007753275, 1495573769, 4069517037, 2549218298, 2663038764, 504708206, 2263041392, 3941167025, 2249088522, 1514023603, 1998579484, 1312622330, 694541497, 2582060303, 2151582166, 1382467621, 776784248, 2618340202, 3323268794, 2497899128, 2784771155, 503983604, 4076293799, 907881277, 423175695, 432175456, 1378068232, 4145222326, 3954048622, 3938656102, 3820766613, 2793130115, 2977904593, 26017576, 3274890735, 3194772133, 1700274565, 1756076034, 4006520079, 3677328699, 720338349, 1533947780, 354530856, 688349552, 3973924725, 1637815568, 332179504, 3949051286, 53804574, 2852348879, 3044236432, 1282449977, 3583942155, 3416972820, 4006381244, 1617046695, 2628476075, 3002303598, 1686838959, 431878346, 2686675385, 1700445008, 1080580658, 1009431731, 832498133, 3223435511, 2605976345, 2271191193, 2516031870, 1648197032, 4164389018, 2548247927, 300782431, 375919233, 238389289, 3353747414, 2531188641, 2019080857, 1475708069, 455242339, 2609103871, 448939670, 3451063019, 1395535956, 2413381860, 1841049896, 1491858159, 885456874, 4264095073, 4001119347, 1565136089, 3898914787, 1108368660, 540939232, 1173283510, 2745871338, 3681308437, 4207628240, 3343053890, 4016749493, 1699691293, 1103962373, 3625875870, 2256883143, 3830138730, 1031889488, 3479347698, 1535977030, 4236805024, 3251091107, 2132092099, 1774941330, 1199868427, 1452454533, 157007616, 2904115357, 342012276, 595725824, 1480756522, 206960106, 497939518, 591360097, 863170706, 2375253569, 3596610801, 1814182875, 2094937945, 3421402208, 1082520231, 3463918190, 2785509508, 435703966, 3908032597, 1641649973, 2842273706, 3305899714, 1510255612, 2148256476, 2655287854, 3276092548, 4258621189, 236887753, 3681803219, 274041037, 1734335097, 3815195456, 3317970021, 1899903192, 1026095262, 4050517792, 356393447, 2410691914, 3873677099, 3682840055], [3913112168, 2491498743, 4132185628, 2489919796, 1091903735, 1979897079, 3170134830, 3567386728, 3557303409, 857797738, 1136121015, 1342202287, 507115054, 2535736646, 337727348, 3213592640, 1301675037, 2528481711, 1895095763, 1721773893, 3216771564, 62756741, 2142006736, 835421444, 2531993523, 1442658625, 3659876326, 2882144922, 676362277, 1392781812, 170690266, 3921047035, 1759253602, 3611846912, 1745797284, 664899054, 1329594018, 3901205900, 3045908486, 2062866102, 2865634940, 3543621612, 3464012697, 1080764994, 553557557, 3656615353, 3996768171, 991055499, 499776247, 1265440854, 648242737, 3940784050, 980351604, 3713745714, 1749149687, 3396870395, 4211799374, 3640570775, 1161844396, 3125318951, 1431517754, 545492359, 4268468663, 3499529547, 1437099964, 2702547544, 3433638243, 2581715763, 2787789398, 1060185593, 1593081372, 2418618748, 4260947970, 69676912, 2159744348, 86519011, 2512459080, 3838209314, 1220612927, 3339683548, 133810670, 1090789135, 1078426020, 1569222167, 845107691, 3583754449, 4072456591, 1091646820, 628848692, 1613405280, 3757631651, 526609435, 236106946, 48312990, 2942717905, 3402727701, 1797494240, 859738849, 992217954, 4005476642, 2243076622, 3870952857, 3732016268, 765654824, 3490871365, 2511836413, 1685915746, 3888969200, 1414112111, 2273134842, 3281911079, 4080962846, 172450625, 2569994100, 980381355, 4109958455, 2819808352, 2716589560, 2568741196, 3681446669, 3329971472, 1835478071, 660984891, 3704678404, 4045999559, 3422617507, 3040415634, 1762651403, 1719377915, 3470491036, 2693910283, 3642056355, 3138596744, 1364962596, 2073328063, 1983633131, 926494387, 3423689081, 2150032023, 4096667949, 1749200295, 3328846651, 309677260, 2016342300, 1779581495, 3079819751, 111262694, 1274766160, 443224088, 298511866, 1025883608, 3806446537, 1145181785, 168956806, 3641502830, 3584813610, 1689216846, 3666258015, 3200248200, 1692713982, 2646376535, 4042768518, 1618508792, 1610833997, 3523052358, 4130873264, 2001055236, 3610705100, 2202168115, 4028541809, 2961195399, 1006657119, 2006996926, 3186142756, 1430667929, 3210227297, 1314452623, 4074634658, 4101304120, 2273951170, 1399257539, 3367210612, 3027628629, 1190975929, 2062231137, 2333990788, 2221543033, 2438960610, 1181637006, 548689776, 2362791313, 3372408396, 3104550113, 3145860560, 296247880, 1970579870, 3078560182, 3769228297, 1714227617, 3291629107, 3898220290, 166772364, 1251581989, 493813264, 448347421, 195405023, 2709975567, 677966185, 3703036547, 1463355134, 2715995803, 1338867538, 1343315457, 2802222074, 2684532164, 233230375, 2599980071, 2000651841, 3277868038, 1638401717, 4028070440, 3237316320, 6314154, 819756386, 300326615, 590932579, 1405279636, 3267499572, 3150704214, 2428286686, 3959192993, 3461946742, 1862657033, 1266418056, 963775037, 2089974820, 2263052895, 1917689273, 448879540, 3550394620, 3981727096, 150775221, 3627908307, 1303187396, 508620638, 2975983352, 2726630617, 1817252668, 1876281319, 1457606340, 908771278, 3720792119, 3617206836, 2455994898, 1729034894, 1080033504], [976866871, 3556439503, 2881648439, 1522871579, 1555064734, 1336096578, 3548522304, 2579274686, 3574697629, 3205460757, 3593280638, 3338716283, 3079412587, 564236357, 2993598910, 1781952180, 1464380207, 3163844217, 3332601554, 1699332808, 1393555694, 1183702653, 3581086237, 1288719814, 691649499, 2847557200, 2895455976, 3193889540, 2717570544, 1781354906, 1676643554, 2592534050, 3230253752, 1126444790, 2770207658, 2633158820, 2210423226, 2615765581, 2414155088, 3127139286, 673620729, 2805611233, 1269405062, 4015350505, 3341807571, 4149409754, 1057255273, 2012875353, 2162469141, 2276492801, 2601117357, 993977747, 3918593370, 2654263191, 753973209, 36408145, 2530585658, 25011837, 3520020182, 2088578344, 530523599, 2918365339, 1524020338, 1518925132, 3760827505, 3759777254, 1202760957, 3985898139, 3906192525, 674977740, 4174734889, 2031300136, 2019492241, 3983892565, 4153806404, 3822280332, 352677332, 2297720250, 60907813, 90501309, 3286998549, 1016092578, 2535922412, 2839152426, 457141659, 509813237, 4120667899, 652014361, 1966332200, 2975202805, 55981186, 2327461051, 676427537, 3255491064, 2882294119, 3433927263, 1307055953, 942726286, 933058658, 2468411793, 3933900994, 4215176142, 1361170020, 2001714738, 2830558078, 3274259782, 1222529897, 1679025792, 2729314320, 3714953764, 1770335741, 151462246, 3013232138, 1682292957, 1483529935, 471910574, 1539241949, 458788160, 3436315007, 1807016891, 3718408830, 978976581, 1043663428, 3165965781, 1927990952, 4200891579, 2372276910, 3208408903, 3533431907, 1412390302, 2931980059, 4132332400, 1947078029, 3881505623, 4168226417, 2941484381, 1077988104, 1320477388, 886195818, 18198404, 3786409e3, 2509781533, 112762804, 3463356488, 1866414978, 891333506, 18488651, 661792760, 1628790961, 3885187036, 3141171499, 876946877, 2693282273, 1372485963, 791857591, 2686433993, 3759982718, 3167212022, 3472953795, 2716379847, 445679433, 3561995674, 3504004811, 3574258232, 54117162, 3331405415, 2381918588, 3769707343, 4154350007, 1140177722, 4074052095, 668550556, 3214352940, 367459370, 261225585, 2610173221, 4209349473, 3468074219, 3265815641, 314222801, 3066103646, 3808782860, 282218597, 3406013506, 3773591054, 379116347, 1285071038, 846784868, 2669647154, 3771962079, 3550491691, 2305946142, 453669953, 1268987020, 3317592352, 3279303384, 3744833421, 2610507566, 3859509063, 266596637, 3847019092, 517658769, 3462560207, 3443424879, 370717030, 4247526661, 2224018117, 4143653529, 4112773975, 2788324899, 2477274417, 1456262402, 2901442914, 1517677493, 1846949527, 2295493580, 3734397586, 2176403920, 1280348187, 1908823572, 3871786941, 846861322, 1172426758, 3287448474, 3383383037, 1655181056, 3139813346, 901632758, 1897031941, 2986607138, 3066810236, 3447102507, 1393639104, 373351379, 950779232, 625454576, 3124240540, 4148612726, 2007998917, 544563296, 2244738638, 2330496472, 2058025392, 1291430526, 424198748, 50039436, 29584100, 3605783033, 2429876329, 2791104160, 1057563949, 3255363231, 3075367218, 3463963227, 1469046755, 985887462] ]; var a = { pbox: [], sbox: [] }; function c(e, t) { let r = t >> 24 & 255, o = t >> 16 & 255, n = t >> 8 & 255, i = 255 & t, s = e.sbox[0][r] + e.sbox[1][o]; return s ^= e.sbox[2][n], s += e.sbox[3][i], s } function u(e, t, r) { let o, i = t, s = r; for (let t = 0; t < n; ++t) i ^= e.pbox[t], s = c(e, i) ^ s, o = i, i = s, s = o; return o = i, i = s, s = o, s ^= e.pbox[n], i ^= e.pbox[n + 1], { left: i, right: s } } function l(e, t, r) { let o, i = t, s = r; for (let t = n + 1; t > 1; --t) i ^= e.pbox[t], s = c(e, i) ^ s, o = i, i = s, s = o; return o = i, i = s, s = o, s ^= e.pbox[1], i ^= e.pbox[0], { left: i, right: s } } function h(e, t, r) { for (let t = 0; t < 4; t++) { e.sbox[t] = []; for (let r = 0; r < 256; r++) e.sbox[t][r] = s[t][r] } let o = 0; for (let s = 0; s < n + 2; s++) e.pbox[s] = i[s] ^ t[o], o++, o >= r && (o = 0); let a = 0, c = 0, l = 0; for (let t = 0; t < n + 2; t += 2) l = u(e, a, c), a = l.left, c = l.right, e.pbox[t] = a, e.pbox[t + 1] = c; for (let t = 0; t < 4; t++) for (let r = 0; r < 256; r += 2) l = u(e, a, c), a = l.left, c = l.right, e.sbox[t][r] = a, e.sbox[t][r + 1] = c; return !0 } var d = o.Blowfish = r.extend({ _doReset: function() { if (this._keyPriorReset !== this._key) { var e = this._keyPriorReset = this._key, t = e.words, r = e.sigBytes / 4; h(a, t, r) } }, encryptBlock: function(e, t) { var r = u(a, e[t], e[t + 1]); e[t] = r.left, e[t + 1] = r.right }, decryptBlock: function(e, t) { var r = l(a, e[t], e[t + 1]); e[t] = r.left, e[t + 1] = r.right }, blockSize: 2, keySize: 4, ivSize: 2 }); t.Blowfish = r._createHelper(d) }(), e.Blowfish }(v(), $(), j(), ce(), he())), Ge.exports } y.exports = function(e) { return e }(v(), k(), S(), T(), $(), D(), j(), N(), L(), q || (q = 1, U.exports = function(e) { return r = (t = e).lib.WordArray, o = t.algo, n = o.SHA256, i = o.SHA224 = n.extend({ _doReset: function() { this._hash = new r.init([3238371032, 914150663, 812702999, 4144912697, 4290775857, 1750603025, 1694076839, 3204075428]) }, _doFinalize: function() { var e = n._doFinalize.call(this); return e.sigBytes -= 4, e } }), t.SHA224 = n._createHelper(i), t.HmacSHA224 = n._createHmacHelper(i), e.SHA224; var t, r, o, n, i }(v(), L())), X(), K || (K = 1, V.exports = function(e) { return r = (t = e).x64, o = r.Word, n = r.WordArray, i = t.algo, s = i.SHA512, a = i.SHA384 = s.extend({ _doReset: function() { this._hash = new n.init([new o.init(3418070365, 3238371032), new o.init(1654270250, 914150663), new o.init(2438529370, 812702999), new o.init(355462360, 4144912697), new o.init(1731405415, 4290775857), new o.init(2394180231, 1750603025), new o.init(3675008525, 1694076839), new o.init(1203062813, 3204075428)]) }, _doFinalize: function() { var e = s._doFinalize.call(this); return e.sigBytes -= 16, e } }), t.SHA384 = s._createHelper(a), t.HmacSHA384 = s._createHmacHelper(a), e.SHA384; var t, r, o, n, i, s, a }(v(), k(), X())), Z(), Y || (Y = 1, ee.exports = function(e) { /** @preserve (c) 2012 by Cédric Mesnil. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. - Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ return function() { var t = e, r = t.lib, o = r.WordArray, n = r.Hasher, i = t.algo, s = o.create([0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 7, 4, 13, 1, 10, 6, 15, 3, 12, 0, 9, 5, 2, 14, 11, 8, 3, 10, 14, 4, 9, 15, 8, 1, 2, 7, 0, 6, 13, 11, 5, 12, 1, 9, 11, 10, 0, 8, 12, 4, 13, 3, 7, 15, 14, 5, 6, 2, 4, 0, 5, 9, 7, 12, 2, 10, 14, 1, 3, 8, 11, 6, 15, 13]), a = o.create([5, 14, 7, 0, 9, 2, 11, 4, 13, 6, 15, 8, 1, 10, 3, 12, 6, 11, 3, 7, 0, 13, 5, 10, 14, 15, 8, 12, 4, 9, 1, 2, 15, 5, 1, 3, 7, 14, 6, 9, 11, 8, 12, 2, 10, 0, 4, 13, 8, 6, 4, 1, 3, 11, 15, 0, 5, 12, 2, 13, 9, 7, 10, 14, 12, 15, 10, 4, 1, 5, 8, 7, 6, 2, 13, 14, 0, 3, 9, 11]), c = o.create([11, 14, 15, 12, 5, 8, 7, 9, 11, 13, 14, 15, 6, 7, 9, 8, 7, 6, 8, 13, 11, 9, 7, 15, 7, 12, 15, 9, 11, 7, 13, 12, 11, 13, 6, 7, 14, 9, 13, 15, 14, 8, 13, 6, 5, 12, 7, 5, 11, 12, 14, 15, 14, 15, 9, 8, 9, 14, 5, 6, 8, 6, 5, 12, 9, 15, 5, 11, 6, 8, 13, 12, 5, 12, 13, 14, 11, 8, 5, 6]), u = o.create([8, 9, 9, 11, 13, 15, 15, 5, 7, 7, 8, 11, 14, 14, 12, 6, 9, 13, 15, 7, 12, 8, 9, 11, 7, 7, 12, 7, 6, 15, 13, 11, 9, 7, 15, 11, 8, 6, 6, 14, 12, 13, 5, 14, 13, 13, 7, 5, 15, 5, 8, 11, 14, 14, 6, 14, 6, 9, 12, 9, 12, 5, 15, 8, 8, 5, 12, 9, 12, 5, 14, 6, 8, 13, 6, 5, 15, 13, 11, 11]), l = o.create([0, 1518500249, 1859775393, 2400959708, 2840853838]), h = o.create([1352829926, 1548603684, 1836072691, 2053994217, 0]), d = i.RIPEMD160 = n.extend({ _doReset: function() { this._hash = o.create([1732584193, 4023233417, 2562383102, 271733878, 3285377520]) }, _doProcessBlock: function(e, t) { for (var r = 0; r < 16; r++) { var o = t + r, n = e[o]; e[o] = 16711935 & (n << 8 | n >>> 24) | 4278255360 & (n << 24 | n >>> 8) } var i, d, b, w, k, _, x, S, B, A, T, C = this._hash.words, E = l.words, $ = h.words, R = s.words, z = a.words, D = c.words, H = u.words; for (_ = i = C[0], x = d = C[1], S = b = C[2], B = w = C[3], A = k = C[4], r = 0; r < 80; r += 1) T = i + e[t + R[r]] | 0, T += r < 16 ? f(d, b, w) + E[0] : r < 32 ? p(d, b, w) + E[1] : r < 48 ? y(d, b, w) + E[2] : r < 64 ? g(d, b, w) + E[3] : m(d, b, w) + E[4], T = (T = v(T |= 0, D[r])) + k | 0, i = k, k = w, w = v(b, 10), b = d, d = T, T = _ + e[t + z[r]] | 0, T += r < 16 ? m(x, S, B) + $[0] : r < 32 ? g(x, S, B) + $[1] : r < 48 ? y(x, S, B) + $[2] : r < 64 ? p(x, S, B) + $[3] : f(x, S, B) + $[4], T = (T = v(T |= 0, H[r])) + A | 0, _ = A, A = B, B = v(S, 10), S = x, x = T; T = C[1] + b + B | 0, C[1] = C[2] + w + A | 0, C[2] = C[3] + k + _ | 0, C[3] = C[4] + i + x | 0, C[4] = C[0] + d + S | 0, C[0] = T }, _doFinalize: function() { var e = this._data, t = e.words, r = 8 * this._nDataBytes, o = 8 * e.sigBytes; t[o >>> 5] |= 128 << 24 - o % 32, t[14 + (o + 64 >>> 9 << 4)] = 16711935 & (r << 8 | r >>> 24) | 4278255360 & (r << 24 | r >>> 8), e.sigBytes = 4 * (t.length + 1), this._process(); for (var n = this._hash, i = n.words, s = 0; s < 5; s++) { var a = i[s]; i[s] = 16711935 & (a << 8 | a >>> 24) | 4278255360 & (a << 24 | a >>> 8) } return n }, clone: function() { var e = n.clone.call(this); return e._hash = this._hash.clone(), e } }); function f(e, t, r) { return e ^ t ^ r } function p(e, t, r) { return e & t | ~e & r } function y(e, t, r) { return (e | ~t) ^ r } function g(e, t, r) { return e & r | t & ~r } function m(e, t, r) { return e ^ (t | ~r) } function v(e, t) { return e << t | e >>> 32 - t } t.RIPEMD160 = n._createHelper(d), t.HmacRIPEMD160 = n._createHmacHelper(d) }(), e.RIPEMD160 }(v())), oe(), ne || (ne = 1, ie.exports = function(e) { return o = (r = (t = e).lib).Base, n = r.WordArray, s = (i = t.algo).SHA256, a = i.HMAC, c = i.PBKDF2 = o.extend({ cfg: o.extend({ keySize: 4, hasher: s, iterations: 25e4 }), init: function(e) { this.cfg = this.cfg.extend(e) }, compute: function(e, t) { for (var r = this.cfg, o = a.create(r.hasher, e), i = n.create(), s = n.create([1]), c = i.words, u = s.words, l = r.keySize, h = r.iterations; c.length < l;) { var d = o.update(t).finalize(s); o.reset(); for (var f = d.words, p = f.length, y = d, g = 1; g < h; g++) { y = o.finalize(y), o.reset(); for (var m = y.words, v = 0; v < p; v++) f[v] ^= m[v] } i.concat(d), u[0]++ } return i.sigBytes = 4 * l, i } }), t.PBKDF2 = function(e, t, r) { return c.create(r).compute(e, t) }, e.PBKDF2; var t, r, o, n, i, s, a, c }(v(), L(), oe())), ce(), he(), pe(), me(), we(), xe(), Se || (Se = 1, Be.exports = function(e) { return e.mode.ECB = ((t = e.lib.BlockCipherMode.extend()).Encryptor = t.extend({ processBlock: function(e, t) { this._cipher.encryptBlock(e, t) } }), t.Decryptor = t.extend({ processBlock: function(e, t) { this._cipher.decryptBlock(e, t) } }), t), e.mode.ECB; var t }(v(), he())), Ae || (Ae = 1, Te.exports = function(e) { return e.pad.AnsiX923 = { pad: function(e, t) { var r = e.sigBytes, o = 4 * t, n = o - r % o, i = r + n - 1; e.clamp(), e.words[i >>> 2] |= n << 24 - i % 4 * 8, e.sigBytes += n }, unpad: function(e) { var t = 255 & e.words[e.sigBytes - 1 >>> 2]; e.sigBytes -= t } }, e.pad.Ansix923 }(v(), he())), Ce || (Ce = 1, Ee.exports = function(e) { return e.pad.Iso10126 = { pad: function(t, r) { var o = 4 * r, n = o - t.sigBytes % o; t.concat(e.lib.WordArray.random(n - 1)).concat(e.lib.WordArray.create([n << 24], 1)) }, unpad: function(e) { var t = 255 & e.words[e.sigBytes - 1 >>> 2]; e.sigBytes -= t } }, e.pad.Iso10126 }(v(), he())), $e || ($e = 1, Re.exports = function(e) { return e.pad.Iso97971 = { pad: function(t, r) { t.concat(e.lib.WordArray.create([2147483648], 1)), e.pad.ZeroPadding.pad(t, r) }, unpad: function(t) { e.pad.ZeroPadding.unpad(t), t.sigBytes-- } }, e.pad.Iso97971 }(v(), he())), ze || (ze = 1, De.exports = function(e) { return e.pad.ZeroPadding = { pad: function(e, t) { var r = 4 * t; e.clamp(), e.sigBytes += r - (e.sigBytes % r || r) }, unpad: function(e) { var t = e.words, r = e.sigBytes - 1; for (r = e.sigBytes - 1; r >= 0; r--) if (t[r >>> 2] >>> 24 - r % 4 * 8 & 255) { e.sigBytes = r + 1; break } } }, e.pad.ZeroPadding }(v(), he())), He || (He = 1, Me.exports = function(e) { return e.pad.NoPadding = { pad: function() {}, unpad: function() {} }, e.pad.NoPadding }(v(), he())), je || (je = 1, Ie.exports = function(e) { return r = (t = e).lib.CipherParams, o = t.enc.Hex, t.format.Hex = { stringify: function(e) { return e.ciphertext.toString(o) }, parse: function(e) { var t = o.parse(e); return r.create({ ciphertext: t }) } }, e.format.Hex; var t, r, o }(v(), he())), Fe || (Fe = 1, Ne.exports = function(e) { return function() { var t = e, r = t.lib.BlockCipher, o = t.algo, n = [], i = [], s = [], a = [], c = [], u = [], l = [], h = [], d = [], f = []; ! function() { for (var e = [], t = 0; t < 256; t++) e[t] = t < 128 ? t << 1 : t << 1 ^ 283; var r = 0, o = 0; for (t = 0; t < 256; t++) { var p = o ^ o << 1 ^ o << 2 ^ o << 3 ^ o << 4; p = p >>> 8 ^ 255 & p ^ 99, n[r] = p, i[p] = r; var y = e[r], g = e[y], m = e[g], v = 257 * e[p] ^ 16843008 * p; s[r] = v << 24 | v >>> 8, a[r] = v << 16 | v >>> 16, c[r] = v << 8 | v >>> 24, u[r] = v, v = 16843009 * m ^ 65537 * g ^ 257 * y ^ 16843008 * r, l[p] = v << 24 | v >>> 8, h[p] = v << 16 | v >>> 16, d[p] = v << 8 | v >>> 24, f[p] = v, r ? (r = y ^ e[e[e[m ^ y]]], o ^= e[e[o]]) : r = o = 1 } }(); var p = [0, 1, 2, 4, 8, 16, 32, 64, 128, 27, 54], y = o.AES = r.extend({ _doReset: function() { if (!this._nRounds || this._keyPriorReset !== this._key) { for (var e = this._keyPriorReset = this._key, t = e.words, r = e.sigBytes / 4, o = 4 * ((this._nRounds = r + 6) + 1), i = this._keySchedule = [], s = 0; s < o; s++) s < r ? i[s] = t[s] : (u = i[s - 1], s % r ? r > 6 && s % r == 4 && (u = n[u >>> 24] << 24 | n[u >>> 16 & 255] << 16 | n[u >>> 8 & 255] << 8 | n[255 & u]) : (u = n[(u = u << 8 | u >>> 24) >>> 24] << 24 | n[u >>> 16 & 255] << 16 | n[u >>> 8 & 255] << 8 | n[255 & u], u ^= p[s / r | 0] << 24), i[s] = i[s - r] ^ u); for (var a = this._invKeySchedule = [], c = 0; c < o; c++) { if (s = o - c, c % 4) var u = i[s]; else u = i[s - 4]; a[c] = c < 4 || s <= 4 ? u : l[n[u >>> 24]] ^ h[n[u >>> 16 & 255]] ^ d[n[u >>> 8 & 255]] ^ f[n[255 & u]] } } }, encryptBlock: function(e, t) { this._doCryptBlock(e, t, this._keySchedule, s, a, c, u, n) }, decryptBlock: function(e, t) { var r = e[t + 1]; e[t + 1] = e[t + 3], e[t + 3] = r, this._doCryptBlock(e, t, this._invKeySchedule, l, h, d, f, i), r = e[t + 1], e[t + 1] = e[t + 3], e[t + 3] = r }, _doCryptBlock: function(e, t, r, o, n, i, s, a) { for (var c = this._nRounds, u = e[t] ^ r[0], l = e[t + 1] ^ r[1], h = e[t + 2] ^ r[2], d = e[t + 3] ^ r[3], f = 4, p = 1; p < c; p++) { var y = o[u >>> 24] ^ n[l >>> 16 & 255] ^ i[h >>> 8 & 255] ^ s[255 & d] ^ r[f++], g = o[l >>> 24] ^ n[h >>> 16 & 255] ^ i[d >>> 8 & 255] ^ s[255 & u] ^ r[f++], m = o[h >>> 24] ^ n[d >>> 16 & 255] ^ i[u >>> 8 & 255] ^ s[255 & l] ^ r[f++], v = o[d >>> 24] ^ n[u >>> 16 & 255] ^ i[l >>> 8 & 255] ^ s[255 & h] ^ r[f++]; u = y, l = g, h = m, d = v } y = (a[u >>> 24] << 24 | a[l >>> 16 & 255] << 16 | a[h >>> 8 & 255] << 8 | a[255 & d]) ^ r[f++], g = (a[l >>> 24] << 24 | a[h >>> 16 & 255] << 16 | a[d >>> 8 & 255] << 8 | a[255 & u]) ^ r[f++], m = (a[h >>> 24] << 24 | a[d >>> 16 & 255] << 16 | a[u >>> 8 & 255] << 8 | a[255 & l]) ^ r[f++], v = (a[d >>> 24] << 24 | a[u >>> 16 & 255] << 16 | a[l >>> 8 & 255] << 8 | a[255 & h]) ^ r[f++], e[t] = y, e[t + 1] = g, e[t + 2] = m, e[t + 3] = v }, keySize: 8 }); t.AES = r._createHelper(y) }(), e.AES }(v(), $(), j(), ce(), he())), Le(), qe || (qe = 1, Ue.exports = function(e) { return function() { var t = e, r = t.lib.StreamCipher, o = t.algo, n = o.RC4 = r.extend({ _doReset: function() { for (var e = this._key, t = e.words, r = e.sigBytes, o = this._S = [], n = 0; n < 256; n++) o[n] = n; n = 0; for (var i = 0; n < 256; n++) { var s = n % r, a = t[s >>> 2] >>> 24 - s % 4 * 8 & 255; i = (i + o[n] + a) % 256; var c = o[n]; o[n] = o[i], o[i] = c } this._i = this._j = 0 }, _doProcessBlock: function(e, t) { e[t] ^= i.call(this) }, keySize: 8, ivSize: 0 }); function i() { for (var e = this._S, t = this._i, r = this._j, o = 0, n = 0; n < 4; n++) { r = (r + e[t = (t + 1) % 256]) % 256; var i = e[t]; e[t] = e[r], e[r] = i, o |= e[(e[t] + e[r]) % 256] << 24 - 8 * n } return this._i = t, this._j = r, o } t.RC4 = r._createHelper(n); var s = o.RC4Drop = n.extend({ cfg: n.cfg.extend({ drop: 192 }), _doReset: function() { n._doReset.call(this); for (var e = this.cfg.drop; e > 0; e--) i.call(this) } }); t.RC4Drop = r._createHelper(s) }(), e.RC4 }(v(), $(), j(), ce(), he())), We || (We = 1, Je.exports = function(e) { return function() { var t = e, r = t.lib.StreamCipher, o = t.algo, n = [], i = [], s = [], a = o.Rabbit = r.extend({ _doReset: function() { for (var e = this._key.words, t = this.cfg.iv, r = 0; r < 4; r++) e[r] = 16711935 & (e[r] << 8 | e[r] >>> 24) | 4278255360 & (e[r] << 24 | e[r] >>> 8); var o = this._X = [e[0], e[3] << 16 | e[2] >>> 16, e[1], e[0] << 16 | e[3] >>> 16, e[2], e[1] << 16 | e[0] >>> 16, e[3], e[2] << 16 | e[1] >>> 16], n = this._C = [e[2] << 16 | e[2] >>> 16, 4294901760 & e[0] | 65535 & e[1], e[3] << 16 | e[3] >>> 16, 4294901760 & e[1] | 65535 & e[2], e[0] << 16 | e[0] >>> 16, 4294901760 & e[2] | 65535 & e[3], e[1] << 16 | e[1] >>> 16, 4294901760 & e[3] | 65535 & e[0]]; for (this._b = 0, r = 0; r < 4; r++) c.call(this); for (r = 0; r < 8; r++) n[r] ^= o[r + 4 & 7]; if (t) { var i = t.words, s = i[0], a = i[1], u = 16711935 & (s << 8 | s >>> 24) | 4278255360 & (s << 24 | s >>> 8), l = 16711935 & (a << 8 | a >>> 24) | 4278255360 & (a << 24 | a >>> 8), h = u >>> 16 | 4294901760 & l, d = l << 16 | 65535 & u; for (n[0] ^= u, n[1] ^= h, n[2] ^= l, n[3] ^= d, n[4] ^= u, n[5] ^= h, n[6] ^= l, n[7] ^= d, r = 0; r < 4; r++) c.call(this) } }, _doProcessBlock: function(e, t) { var r = this._X; c.call(this), n[0] = r[0] ^ r[5] >>> 16 ^ r[3] << 16, n[1] = r[2] ^ r[7] >>> 16 ^ r[5] << 16, n[2] = r[4] ^ r[1] >>> 16 ^ r[7] << 16, n[3] = r[6] ^ r[3] >>> 16 ^ r[1] << 16; for (var o = 0; o < 4; o++) n[o] = 16711935 & (n[o] << 8 | n[o] >>> 24) | 4278255360 & (n[o] << 24 | n[o] >>> 8), e[t + o] ^= n[o] }, blockSize: 4, ivSize: 2 }); function c() { for (var e = this._X, t = this._C, r = 0; r < 8; r++) i[r] = t[r]; for (t[0] = t[0] + 1295307597 + this._b | 0, t[1] = t[1] + 3545052371 + (t[0] >>> 0 < i[0] >>> 0 ? 1 : 0) | 0, t[2] = t[2] + 886263092 + (t[1] >>> 0 < i[1] >>> 0 ? 1 : 0) | 0, t[3] = t[3] + 1295307597 + (t[2] >>> 0 < i[2] >>> 0 ? 1 : 0) | 0, t[4] = t[4] + 3545052371 + (t[3] >>> 0 < i[3] >>> 0 ? 1 : 0) | 0, t[5] = t[5] + 886263092 + (t[4] >>> 0 < i[4] >>> 0 ? 1 : 0) | 0, t[6] = t[6] + 1295307597 + (t[5] >>> 0 < i[5] >>> 0 ? 1 : 0) | 0, t[7] = t[7] + 3545052371 + (t[6] >>> 0 < i[6] >>> 0 ? 1 : 0) | 0, this._b = t[7] >>> 0 < i[7] >>> 0 ? 1 : 0, r = 0; r < 8; r++) { var o = e[r] + t[r], n = 65535 & o, a = o >>> 16, c = ((n * n >>> 17) + n * a >>> 15) + a * a, u = ((4294901760 & o) * o | 0) + ((65535 & o) * o | 0); s[r] = c ^ u } e[0] = s[0] + (s[7] << 16 | s[7] >>> 16) + (s[6] << 16 | s[6] >>> 16) | 0, e[1] = s[1] + (s[0] << 8 | s[0] >>> 24) + s[7] | 0, e[2] = s[2] + (s[1] << 16 | s[1] >>> 16) + (s[0] << 16 | s[0] >>> 16) | 0, e[3] = s[3] + (s[2] << 8 | s[2] >>> 24) + s[1] | 0, e[4] = s[4] + (s[3] << 16 | s[3] >>> 16) + (s[2] << 16 | s[2] >>> 16) | 0, e[5] = s[5] + (s[4] << 8 | s[4] >>> 24) + s[3] | 0, e[6] = s[6] + (s[5] << 16 | s[5] >>> 16) + (s[4] << 16 | s[4] >>> 16) | 0, e[7] = s[7] + (s[6] << 8 | s[6] >>> 24) + s[5] | 0 } t.Rabbit = r._createHelper(a) }(), e.Rabbit }(v(), $(), j(), ce(), he())), Xe || (Xe = 1, Ke.exports = function(e) { return function() { var t = e, r = t.lib.StreamCipher, o = t.algo, n = [], i = [], s = [], a = o.RabbitLegacy = r.extend({ _doReset: function() { var e = this._key.words, t = this.cfg.iv, r = this._X = [e[0], e[3] << 16 | e[2] >>> 16, e[1], e[0] << 16 | e[3] >>> 16, e[2], e[1] << 16 | e[0] >>> 16, e[3], e[2] << 16 | e[1] >>> 16], o = this._C = [e[2] << 16 | e[2] >>> 16, 4294901760 & e[0] | 65535 & e[1], e[3] << 16 | e[3] >>> 16, 4294901760 & e[1] | 65535 & e[2], e[0] << 16 | e[0] >>> 16, 4294901760 & e[2] | 65535 & e[3], e[1] << 16 | e[1] >>> 16, 4294901760 & e[3] | 65535 & e[0]]; this._b = 0; for (var n = 0; n < 4; n++) c.call(this); for (n = 0; n < 8; n++) o[n] ^= r[n + 4 & 7]; if (t) { var i = t.words, s = i[0], a = i[1], u = 16711935 & (s << 8 | s >>> 24) | 4278255360 & (s << 24 | s >>> 8), l = 16711935 & (a << 8 | a >>> 24) | 4278255360 & (a << 24 | a >>> 8), h = u >>> 16 | 4294901760 & l, d = l << 16 | 65535 & u; for (o[0] ^= u, o[1] ^= h, o[2] ^= l, o[3] ^= d, o[4] ^= u, o[5] ^= h, o[6] ^= l, o[7] ^= d, n = 0; n < 4; n++) c.call(this) } }, _doProcessBlock: function(e, t) { var r = this._X; c.call(this), n[0] = r[0] ^ r[5] >>> 16 ^ r[3] << 16, n[1] = r[2] ^ r[7] >>> 16 ^ r[5] << 16, n[2] = r[4] ^ r[1] >>> 16 ^ r[7] << 16, n[3] = r[6] ^ r[3] >>> 16 ^ r[1] << 16; for (var o = 0; o < 4; o++) n[o] = 16711935 & (n[o] << 8 | n[o] >>> 24) | 4278255360 & (n[o] << 24 | n[o] >>> 8), e[t + o] ^= n[o] }, blockSize: 4, ivSize: 2 }); function c() { for (var e = this._X, t = this._C, r = 0; r < 8; r++) i[r] = t[r]; for (t[0] = t[0] + 1295307597 + this._b | 0, t[1] = t[1] + 3545052371 + (t[0] >>> 0 < i[0] >>> 0 ? 1 : 0) | 0, t[2] = t[2] + 886263092 + (t[1] >>> 0 < i[1] >>> 0 ? 1 : 0) | 0, t[3] = t[3] + 1295307597 + (t[2] >>> 0 < i[2] >>> 0 ? 1 : 0) | 0, t[4] = t[4] + 3545052371 + (t[3] >>> 0 < i[3] >>> 0 ? 1 : 0) | 0, t[5] = t[5] + 886263092 + (t[4] >>> 0 < i[4] >>> 0 ? 1 : 0) | 0, t[6] = t[6] + 1295307597 + (t[5] >>> 0 < i[5] >>> 0 ? 1 : 0) | 0, t[7] = t[7] + 3545052371 + (t[6] >>> 0 < i[6] >>> 0 ? 1 : 0) | 0, this._b = t[7] >>> 0 < i[7] >>> 0 ? 1 : 0, r = 0; r < 8; r++) { var o = e[r] + t[r], n = 65535 & o, a = o >>> 16, c = ((n * n >>> 17) + n * a >>> 15) + a * a, u = ((4294901760 & o) * o | 0) + ((65535 & o) * o | 0); s[r] = c ^ u } e[0] = s[0] + (s[7] << 16 | s[7] >>> 16) + (s[6] << 16 | s[6] >>> 16) | 0, e[1] = s[1] + (s[0] << 8 | s[0] >>> 24) + s[7] | 0, e[2] = s[2] + (s[1] << 16 | s[1] >>> 16) + (s[0] << 16 | s[0] >>> 16) | 0, e[3] = s[3] + (s[2] << 8 | s[2] >>> 24) + s[1] | 0, e[4] = s[4] + (s[3] << 16 | s[3] >>> 16) + (s[2] << 16 | s[2] >>> 16) | 0, e[5] = s[5] + (s[4] << 8 | s[4] >>> 24) + s[3] | 0, e[6] = s[6] + (s[5] << 16 | s[5] >>> 16) + (s[4] << 16 | s[4] >>> 16) | 0, e[7] = s[7] + (s[6] << 8 | s[6] >>> 24) + s[5] | 0 } t.RabbitLegacy = r._createHelper(a) }(), e.RabbitLegacy }(v(), $(), j(), ce(), he())), Qe()); var Ze = p(y.exports); class Ye { constructor() { this.lines = [], this.errors = [], this.amounts = [], this.invalid = [] } info(e) { this.lines.push(e), t.log(e) } line(e) { this.lines.push(e), t.log(e) } section(e) { this.info(`\n======== ${e} ========`) } renderSummary() { const e = []; return this.invalid.length && e.push(`失效账号:\n${this.invalid.join("\n")}`), this.amounts.length && e.push(`云朵统计:\n${this.amounts.join("\n")}`), this.errors.length && e.push(`异常信息:\n${this.errors.join("\n")}`), e.join("\n\n") || "执行完成" } } function et(e) { return "boolean" == typeof e ? e : ["1", "true", "yes", "on"].includes(String(e).toLowerCase()) } function tt(e, t) { const r = Number(e); return Number.isFinite(r) ? r : t } function rt(e) { return String(e || "").startsWith("Basic ") ? String(e) : `Basic ${e}` } function ot(e, t, r) { return "cloud_app" === e && "month" === t ? [110, 113, 417, 409].includes(r) : "cloud_app" === e && "day" === t ? 404 === r : "email_app" === e && "month" === t && [1004, 1005, 1015, 1020].includes(r) } function nt(e) { return [e.getFullYear(), String(e.getMonth() + 1).padStart(2, "0"), String(e.getDate()).padStart(2, "0"), String(e.getHours()).padStart(2, "0"), String(e.getMinutes()).padStart(2, "0"), String(e.getSeconds()).padStart(2, "0")].join("") } function it(e) { const t = "19f3a063d67e4694ca63a4227ec9a94a19088404f9a28084e3e486b928039a299bf756ebc77aa4f6bfa250308ec6a8be8b63b5271a00350d136d117b8a72f39c5bd15cdfd350cba4271dc797f15412d9f269e666aea5039f5049d00739b320bb9e8585a008b52c1cbd86970cae9476446f3e41871de8d9f6112db94b05e5dc7ea0a942a9daf145ac8e487d3d5cba7cea145680efc64794d43dd15c5062b81e1cda7bf278b9bc4e1b8955846e6bc4b6a61c28f831f81b2270289e5a8a677c3141ddc9868129060c0c3b5ef507fbd46c004f6de346332ef7f05c0094215eae1217ee7c13c8dca6d174cfb49c716dd42903bb4b02d823b5f1ff93c3f88768251b56cc"; let r = ""; for (let o = 0; o < e; o += 1) r += t.charAt(Math.floor(514 * Math.random())); return r } function st(e) { const t = []; for (let r = 0; r < e; r += 4) t.push(4294967296 * Math.random() | 0); return Ze.lib.WordArray.create(t, e) } async function at(e, t) { const r = Math.floor(Math.random() * (t - e + 1)) + e; await i(r) } function ct() { const e = a, t = d.defaults, r = d.envPrefix; return { cookie: ut(e, h.cookieKeys, lt(h.cookieKeys, "")), uploadEnabled: et(ut(e, ["upload"], lt([`${r}_UPLOAD`, "cloud139_upload"], t.upload))), uploadDirId: String(ut(e, ["dirId", "dir_id"], lt([`${r}_DIR_ID`, "cloud139_dir_id", "DIR_ID"], t.uploadDirId)) || ""), uploadFilename: String(ut(e, ["uploadFilename"], lt([`${r}_UPLOAD_FILENAME`, "cloud139_upload_filename"], t.uploadFilename)) || t.uploadFilename), uploadSizeMb: tt(ut(e, ["uploadSizeMb"], lt([`${r}_UPLOAD_SIZE_MB`, "cloud139_upload_size_mb"], t.uploadSizeMb)), t.uploadSizeMb), shareEnabled: et(ut(e, ["share"], lt([`${r}_SHARE`, "cloud139_share"], t.share))), shareFilename: String(ut(e, ["shareFilename"], lt([`${r}_SHARE_FILENAME`, "cloud139_share_filename"], t.shareFilename)) || ""), push: et(ut(e, ["push"], lt([`${r}_PUSH`, "cloud139_push"], t.push))), clickNum: tt(ut(e, ["clickNum"], lt([`${r}_CLICK_NUM`, "cloud139_click_num"], t.clickNum)), t.clickNum), drawTimes: tt(ut(e, ["drawTimes"], lt([`${r}_DRAW_TIMES`, "cloud139_draw_times"], t.drawTimes)), t.drawTimes), delayMin: tt(ut(e, ["delayMin"], lt([`${r}_DELAY_MIN`, "cloud139_delay_min"], t.delayMin)), t.delayMin), delayMax: tt(ut(e, ["delayMax"], lt([`${r}_DELAY_MAX`, "cloud139_delay_max"], t.delayMax)), t.delayMax), requestTimeout: tt(ut(e, ["timeout"], lt([`${r}_TIMEOUT`, "cloud139_timeout"], t.timeout)), t.timeout) } } function ut(e, t, r) { for (const r of t) { const t = e[r]; if (null != t && "" !== t) return t } return r } function lt(e, t) { ! function() { if (ht) return; if (ht = !0, "undefined" == typeof process || !process.versions?.node || "function" != typeof process.loadEnvFile) return; try { process.loadEnvFile(".env") } catch (e) {} }(); const r = "undefined" != typeof process && process.env ? process.env : {}; for (const t of e) { if (void 0 !== r[t] && null !== r[t] && "" !== r[t]) return r[t]; try { const e = s.getItem?.(t); if (null != e && "" !== e) return e } catch (e) {} } return t } let ht = !1; function dt() { function e(e, t, r, o, n) { return { name: "AxiosError", message: e || "Axios Error", code: t, config: r, request: o, response: n, isAxiosError: !0, toString() { return this.name + ": " + this.message } } } class t { constructor() { this.handlers = [] } use(e, t) { return this.handlers.push({ onFulfilled: e, onRejected: t }), this.handlers.length - 1 } eject(e) { this.handlers[e] && (this.handlers[e] = null) } forEach(e) { for (let t = 0; t < this.handlers.length; t += 1) { const r = this.handlers[t]; r && e(r) } } } function r() { const e = {}; for (let t = 0; t < arguments.length; t += 1) { const r = arguments[t]; if (!r) continue; const o = Object.keys(r); for (let t = 0; t < o.length; t += 1) e[o[t]] = r[o[t]] } return e } function o(e) { return String(e || "get").toLowerCase() } function n(e) { return e >= 200 && e < 300 } function i(e) { switch (String(e || "").split(";")[0].trim().toLowerCase()) { case "application/protobuf": case "application/x-protobuf": case "application/vnd.google.protobuf": case "application/vnd.apple.flatbuffer": case "application/grpc": case "application/grpc+proto": case "application/octet-stream": return !0; default: return !1 } } function s(e, t, r) { return r ? function(e) { return void 0 !== e.bodyBytes ? a(e.bodyBytes) : void 0 !== e.rawBody ? a(e.rawBody) : void 0 !== e.body ? a(e.body) : void 0 !== e.data ? a(e.data) : void 0 }(e) : function(e, t) { for (let r = 0; r < t.length; r += 1) { const o = e[t[r]]; if (void 0 !== o) return o } }(e, ["data", "body", "bodyBytes", "rawBody"]) } function a(e) { if (e instanceof ArrayBuffer) return e; if ("undefined" != typeof ArrayBuffer && ArrayBuffer.isView && ArrayBuffer.isView(e)) return e.buffer.slice(e.byteOffset, e.byteOffset + e.byteLength); if ("string" == typeof e) { if ("undefined" != typeof TextEncoder) return (new TextEncoder).encode(e).buffer; if ("undefined" != typeof Buffer) { const t = Buffer.from(e, "utf8"); return t.buffer.slice(t.byteOffset, t.byteOffset + t.byteLength) } } return e } function c(e, t, r) { const o = r.responseType || "json"; switch (o) { case "arraybuffer": return a(e); case "text": return function(e) { switch (!0) { case "string" == typeof e: return e; case "undefined" != typeof Buffer && Buffer.isBuffer && Buffer.isBuffer(e): return e.toString("utf8"); case "undefined" != typeof TextDecoder && e instanceof ArrayBuffer: return new TextDecoder("utf-8").decode(e); default: return e } }(e) } if ("string" != typeof e) return e; const n = String(t && (t["content-type"] || t["Content-Type"]) || ""); if ("json" === o || n.indexOf("application/json") >= 0) try { return e.length ? JSON.parse(e) : null } catch (t) { return e } return e } function u(e) { const t = { url: e.url, method: o(e.method), headers: e.headers, timeout: e.timeout, policy: e.policy, redirection: "boolean" == typeof e.redirection ? e.redirection : e.followRedirect, "auto-redirect": e["auto-redirect"], "auto-cookie": e["auto-cookie"], opts: e.opts }; switch (!0) { case void 0 !== e.bodyBytes: t.bodyBytes = a(e.bodyBytes); break; case void 0 !== e.data && (e.data instanceof ArrayBuffer || ArrayBuffer.isView && ArrayBuffer.isView(e.data)): t.bodyBytes = a(e.data); break; case void 0 !== e.body: t.body = e.body; break; case void 0 !== e.data: t.body = e.data } const r = Object.keys(e); for (let o = 0; o < r.length; o += 1) { const n = r[o]; void 0 === t[n] && (t[n] = e[n]) } t.method || (t.method = function(e) { return void 0 !== e.body || void 0 !== e.bodyBytes }(t) ? "post" : "get"), t.method = o(t.method), Object.assign(t, function(e) { if (null != e && "" !== e || (e = 5e3), null == e) return {}; const t = Number.parseInt(e, 10); return Number.isNaN(t) ? {} : { timeout: t } }(t.timeout)), "boolean" == typeof t.redirection && void 0 === t["auto-redirect"] && (t["auto-redirect"] = t.redirection), t.headers = t.headers || {}, function(e, t) { for (let r = 0; r < t.length; r += 1) delete e[t[r]] }(t.headers, ["Host", ":authority", "Content-Length", "content-length"]); const n = t.headers.Accept || t.headers.accept; switch (("arraybuffer" === t.responseType || i(n)) && (t["binary-mode"] = !0), !0) { case void 0 !== t.bodyBytes && void 0 === t.body: t.data = t.bodyBytes; break; case void 0 !== t.body: t.data = t.body } return t } function l(e, t, r) { const o = e || {}, a = o.headers || {}, u = a["content-type"] || a["Content-Type"], l = { data: c(s(o, 0, "arraybuffer" === t.responseType || !0 === t["binary-mode"] || i(u)), a, t), status: Number(void 0 !== o.status ? o.status : void 0 !== o.statusCode ? o.statusCode : 0), statusText: o.statusText || "", headers: a, config: t, request: o.request || r, raw: o }; return l.ok = (t.validateStatus || n)(l.status), l } function h(e) { return !!(e && "object" == typeof e && "status" in e && "data" in e && "headers" in e && "config" in e) } function d(e) { if (!e) return null; if ("function" == typeof e) return e; if ("function" == typeof e.request) return e.request.bind(e); throw new TypeError("Unsupported adapter shape") } class f { constructor(e) { this.defaults = Object.assign({ headers: { Accept: "application/json, text/plain, */*" }, validateStatus: n, throwHttpErrors: !0 }, e || {}), this.interceptors = { request: new t, response: new t } } resolveAdapter(e) { const t = d(e.adapter); if (t) return t; const r = e.adapters || this.defaults.adapters || []; for (let e = 0; e < r.length; e += 1) { const t = d(r[e]); if (t) return t } return "function" == typeof e.fetch ? e.fetch : "function" == typeof this.defaults.fetch ? this.defaults.fetch : null } dispatchRequest(t) { const r = this.resolveAdapter(t); if (!r) return Promise.reject(new e("No available adapter", "ERR_NOT_SUPPORT", t)); const o = function(e) { const t = u(e); return { url: t.url, method: t.method, headers: t.headers, body: t.body, bodyBytes: t.bodyBytes, timeout: t.timeout, policy: t.policy, redirection: t.redirection, "auto-redirect": t["auto-redirect"], "auto-cookie": t["auto-cookie"], opts: t.opts, "binary-mode": t["binary-mode"], data: t.data } }(t); return Promise.resolve(r(o, t)).then(function(r) { const o = h(r) ? r : l(r, t, r && r.request); if (!o.ok && !1 !== t.throwHttpErrors) throw new e("Request failed with status code " + o.status, "ERR_BAD_RESPONSE", t, o.request, o); return o }, function(r) { throw function(t, r) { if (t && t.isAxiosError) return t; let o = t && t.request, n = t && t.response; return n && !h(n) && (n = l(n, r, n.request || o), o = n.request), !n && t && "object" == typeof t && ("status" in t || "statusCode" in t || "body" in t || "bodyBytes" in t || "data" in t ? n = l(t, r, o) : t.response && "object" == typeof t.response && (n = l(t.response, r, t.response.request || o), o = n.request)), new e(t && t.message || (n && n.status ? "Request failed with status code " + n.status : null) || String(t || "Network Error"), t && t.code || (n && n.status ? "ERR_BAD_RESPONSE" : "ERR_NETWORK"), r, o, n) }(r, t) }) } mergeConfig(e) { const t = "string" == typeof e ? { url: e } : e || {}, n = Object.assign({}, this.defaults, t); var i, s; if (n.headers = r(this.defaults.headers, t.headers), n.method = o(n.method), n.baseURL && n.url && (i = n.url, !/^[a-z][a-z\d+\-.]*:\/\//i.test(String(i || ""))) && (n.url = function(e, t) { return e ? t ? String(e).replace(/\/+$/, "") + "/" + String(t).replace(/^\/+/, "") : e : t || "" }(n.baseURL, n.url)), n.url = function(e, t, r) { if (!t) return e; const o = "function" == typeof r ? r(t) : function(e) { const t = [], r = Object.keys(e || {}); for (let o = 0; o < r.length; o += 1) { const n = r[o], i = e[n]; if (null != i) if (Array.isArray(i)) for (let e = 0; e < i.length; e += 1) t.push(encodeURIComponent(n) + "=" + encodeURIComponent(String(i[e]))); else t.push(encodeURIComponent(n) + "=" + encodeURIComponent(String(i))) } return t.join("&") }(t); return o ? String(e) + (String(e).indexOf("?") >= 0 ? "&" : "?") + o : e }(n.url || "", n.params, n.paramsSerializer), s = n.data, !("[object Object]" !== Object.prototype.toString.call(s) || n.data instanceof ArrayBuffer || ArrayBuffer.isView && ArrayBuffer.isView(n.data))) { let e = null; const t = Object.keys(n.headers || {}); for (let r = 0; r < t.length; r += 1) if ("content-type" === t[r].toLowerCase()) { e = t[r]; break } e || (e = "Content-Type", n.headers[e] = "application/x-www-form-urlencoded"), String(n.headers[e] || "").indexOf("application/json") >= 0 && (n.data = JSON.stringify(n.data)) } return n } request(e) { const t = this.mergeConfig(e); t.transport = u(t); const r = []; this.interceptors.request.forEach(function(e) { r.unshift(e.onFulfilled, e.onRejected) }), r.push(this.dispatchRequest.bind(this), void 0), this.interceptors.response.forEach(function(e) { r.push(e.onFulfilled, e.onRejected) }); let o = Promise.resolve(t); for (; r.length;) o = o.then(r.shift(), r.shift()); return o } create(e) { return new f(Object.assign({}, this.defaults, e || {}, { headers: r(this.defaults.headers, e && e.headers) })) } isAxiosError(e) { return !(!e || !e.isAxiosError) } } ["get", "options", "delete", "head"].forEach(function(e) { f.prototype[e] = function(t, r) { return this.request(Object.assign({}, r || {}, { method: e, url: t })) } }), ["post", "put", "patch"].forEach(function(e) { f.prototype[e] = function(t, r, o) { return this.request(Object.assign({}, o || {}, { method: e, url: t, data: r })) } }); const p = new f; return { Axios: f, axios: p, createAxios: function(e) { return new f(e) }, normalizeAdapter: d, AxiosError: e, InterceptorManager: t } } "object" == typeof module && module.exports && (module.exports = dt); const ft = u.userAgent, pt = u.noteHeaders, { Axios: yt } = dt(), gt = new yt({ timeout: u.defaultTimeout, adapter: async t => async function(t, n = {}) { switch (typeof t) { case "object": t = { ...n, ...t }; break; case "string": t = { ...n, url: t }; break; default: throw new TypeError(`${Function.name}: 参数类型错误, resource 必须为对象或字符串`) } t.method || (t.method = "GET", (t.body ?? t.bodyBytes) && (t.method = "POST")), delete t.headers?.Host, delete t.headers?.[":authority"], delete t.headers?.["Content-Length"], delete t.headers?.["content-length"]; const i = t.method.toLocaleLowerCase(); if (t.timeout || (t.timeout = 5), t.timeout && (t.timeout = Number.parseInt(t.timeout, 10), t.timeout > 500 && (t.timeout = Math.round(t.timeout / 1e3))), t.timeout) switch (e) { case "Loon": case "Quantumult X": case "Node.js": t.timeout = 1e3 * t.timeout } switch (e) { case "Loon": case "Surge": case "Stash": case "Egern": case "Shadowrocket": default: if (t.policy) switch (e) { case "Loon": t.node = t.policy; break; case "Stash": r.set(t, "headers.X-Stash-Selected-Proxy", encodeURI(t.policy)); break; case "Shadowrocket": r.set(t, "headers.X-Surge-Proxy", t.policy) } switch ("boolean" == typeof t.redirection && (t["auto-redirect"] = t.redirection), t.bodyBytes && !t.body && (t.body = t.bodyBytes, t.bodyBytes = void 0), (t.headers?.Accept || t.headers?.accept)?.split(";")?.[0]) { case "application/protobuf": case "application/x-protobuf": case "application/vnd.google.protobuf": case "application/vnd.apple.flatbuffer": case "application/grpc": case "application/grpc+proto": case "application/octet-stream": t["binary-mode"] = !0 } return new Promise((e, r) => { globalThis.$httpClient[i](t, (n, i, s) => { n ? r(n) : (i.ok = /^2\d\d$/.test(i.status), i.statusCode = i.status, i.statusText = o[i.status], s && (i.body = s, 1 == t["binary-mode"] && (i.bodyBytes = s)), e(i)) }) }); case "Quantumult X": return t.policy && r.set(t, "opts.policy", t.policy), "boolean" == typeof t["auto-redirect"] && r.set(t, "opts.redirection", t["auto-redirect"]), t.body instanceof ArrayBuffer ? (t.bodyBytes = t.body, t.body = void 0) : ArrayBuffer.isView(t.body) ? (t.bodyBytes = t.body.buffer.slice(t.body.byteOffset, t.body.byteLength + t.body.byteOffset), t.body = void 0) : t.body && (t.bodyBytes = void 0), Promise.race([globalThis.$task.fetch(t).then(e => { switch (e.ok = /^2\d\d$/.test(e.statusCode), e.status = e.statusCode, e.statusText = o[e.status], (e.headers?.["Content-Type"] ?? e.headers?.["content-type"])?.split(";")?.[0]) { case "application/protobuf": case "application/x-protobuf": case "application/vnd.google.protobuf": case "application/vnd.apple.flatbuffer": case "application/grpc": case "application/grpc+proto": case "application/octet-stream": e.body = e.bodyBytes } return e.bodyBytes = void 0, e }, e => Promise.reject(e.error)), new Promise((e, r) => { setTimeout(() => { r(new Error(`${Function.name}: 请求超时, 请检查网络后重试`)) }, t.timeout) })]); case "Node.js": { switch (globalThis.fetch || (globalThis.fetch = require("node-fetch")), t["auto-cookie"]) { case void 0: case "true": case !0: case "1": case 1: default: globalThis.fetch?.cookieJar || (globalThis.fetch = require("fetch-cookie").default(globalThis.fetch)); case "false": case !1: case "0": case 0: case "-1": case -1: } t.redirect = t.redirection ? "follow" : "manual"; const { url: e, ...r } = t; return Promise.race([globalThis.fetch(e, r).then(async e => { const t = await e.arrayBuffer(); let r; try { r = e.headers.raw() } catch { r = Array.from(e.headers.entries()).reduce((e, [t, r]) => (e[t] = e[t] ? [...e[t], r] : [r], e), {}) } return { ok: e.ok ?? /^2\d\d$/.test(e.status), status: e.status, statusCode: e.status, statusText: e.statusText, body: new TextDecoder("utf-8").decode(t), bodyBytes: t, headers: Object.fromEntries(Object.entries(r).map(([e, t]) => [e, "set-cookie" !== e.toLowerCase() ? t.toString() : t])) } }).catch(e => Promise.reject(e.message)), new Promise((e, r) => { setTimeout(() => { r(new Error(`${Function.name}: 请求超时, 请检查网络后重试`)) }, t.timeout) })]) } } }({ ...t, timeout: "number" == typeof t.timeout ? Math.max(1, 1e3 * t.timeout) : t.timeout }) }), mt = "https://orches.yun.139.com/orchestration/auth-rebuild/token/v1.0/querySpecToken", vt = "https://user-njs.yun.139.com/user/querySpecToken", bt = e => `https://caiyun.feixin.10086.cn:7071/portal/auth/tyrzLogin.action?ssoToken=${encodeURIComponent(e)}`; function wt(e) { return { ssoForMCloud: async function() { const t = await e.requestJson({ url: mt, method: "post", headers: { Authorization: e.authorization, "User-Agent": ft, "Content-Type": "application/json", Accept: "*/*", Host: "orches.yun.139.com" }, data: { account: e.account, toSourceId: "001005" } }); return t?.success ? t.data.token : null }, ssoForPortal: async function() { const t = await e.requestJson({ url: vt, method: "post", headers: { Authorization: rt(e.authorization), "Content-Type": "application/json", Accept: "*/*", Host: "user-njs.yun.139.com", "User-Agent": ft }, data: { phoneNumber: e.account, toSourceId: "001003" } }); return t?.success ? t.data.token : null }, fetchJwt: async function(t) { return e.requestJson({ url: bt(t), method: "post", headers: e.jwtHeaders }) } } } const kt = "http://mnote.caiyun.feixin.10086.cn/noteServer/api/authTokenRefresh.do", _t = "http://mnote.caiyun.feixin.10086.cn/noteServer/api/syncNotebookV3.do", xt = "http://mnote.caiyun.feixin.10086.cn/noteServer/api/createNote.do"; function St(e) { return { refreshNoteToken: async function() { return e.request({ url: kt, method: "post", headers: pt, data: { authToken: e.authToken, userPhone: e.account }, throwHttpErrors: !1 }) }, syncNotebook: async function(t) { return e.requestJson({ url: _t, method: "post", headers: t, data: { addNotebooks: [], delNotebooks: [], notebookRefs: [], updateNotebooks: [] } }) }, createNote: async function(t, r) { const o = e.randomHex(32), n = String(Date.now()); return e.request({ url: xt, method: "post", headers: t, data: { archived: 0, attachmentdir: o, attachmentdirid: "", attachments: [], audioInfo: { audioDuration: 0, audioSize: 0, audioStatus: 0 }, contentid: "", contents: [{ contentid: 0, data: '000000', noteId: o, sortOrder: 0, type: "RICHTEXT" }], cp: "", createtime: n, description: "android", expands: { noteType: 0 }, latlng: "", location: "", noteid: o, notestatus: 0, remindtime: "", remindtype: 1, revision: "1", sharecount: "0", sharestatus: "0", system: "mobile", tags: [{ id: r, orderIndex: "0", text: "默认笔记本" }], title: "00000", topmost: "0", updatetime: n, userphone: e.account, version: "1.00", visitTime: "" }, throwHttpErrors: !1 }) } } } const Bt = { wxSign: "https://caiyun.feixin.10086.cn/market/playoffic/followSignInfo?isWx=true", drawInfo: "https://caiyun.feixin.10086.cn/market/playoffic/drawInfo", draw: "https://caiyun.feixin.10086.cn/market/playoffic/draw", shake: "https://caiyun.feixin.10086.cn:7071/market/shake-server/shake/shakeIt?flag=1" }, At = { info: "https://caiyun.feixin.10086.cn/market/signin/hecheng1T/info?op=info", invite: "https://caiyun.feixin.10086.cn/market/signin/hecheng1T/beinvite", finish: "https://caiyun.feixin.10086.cn/market/signin/hecheng1T/finish?flag=true" }, Tt = { info: "https://caiyun.feixin.10086.cn/market/backupgift/info", receive: "https://caiyun.feixin.10086.cn/market/backupgift/receive" }, Ct = { status: "https://caiyun.feixin.10086.cn/market/msgPushOn/task/status", obtain: "https://caiyun.feixin.10086.cn/market/msgPushOn/task/obtain" }; function Et(e) { return { getWxSignInfo: async function() { return e.requestJson({ url: Bt.wxSign, method: "get", headers: e.jwtHeaders }) }, getDrawInfo: async function() { return e.requestJson({ url: Bt.drawInfo, method: "get", headers: e.jwtHeaders }) }, doDraw: async function() { return e.requestJson({ url: Bt.draw, method: "get", headers: e.jwtHeaders }) }, doShake: async function() { return e.requestJson({ url: Bt.shake, method: "post", headers: e.jwtHeaders }) }, getCloudGameInfo: async function() { return e.requestJson({ url: At.info, method: "get", headers: e.jwtHeaders }) }, inviteCloudGame: async function() { return e.requestJson({ url: At.invite, method: "get", headers: e.jwtHeaders }) }, finishCloudGame: async function() { return e.requestJson({ url: At.finish, method: "get", headers: e.jwtHeaders }) }, getBackupInfo: async function() { return e.requestJson({ url: Tt.info, method: "get", headers: e.jwtHeaders }) }, receiveBackupReward: async function() { return e.requestJson({ url: Tt.receive, method: "get", headers: e.jwtHeaders }) }, getMsgPushStatus: async function() { return e.requestJson({ url: Ct.status, method: "get", headers: e.jwtHeaders }) }, obtainMsgPushReward: async function(t) { return e.requestJson({ url: Ct.obtain, method: "post", headers: e.jwtHeaders, data: { type: t } }) } } } const $t = "https://caiyun.feixin.10086.cn/market/signin/page/info?client=app", Rt = "https://caiyun.feixin.10086.cn/market/manager/commonMarketconfig/getByMarketRuleName?marketName=sign_in_3", zt = e => `https://caiyun.feixin.10086.cn/market/signin/task/taskList?marketname=${e}`, Dt = e => `https://caiyun.feixin.10086.cn/market/signin/task/click?key=task&id=${e}`, Ht = "https://caiyun.feixin.10086.cn/market/signin/page/receive", Mt = e => `https://caiyun.feixin.10086.cn/market/prizeApi/checkPrize/getUserPrizeLogPage?currPage=1&pageSize=15&_=${e}`, jt = "https://caiyun.feixin.10086.cn/market/signin/page/taskExpansion", It = e => `https://caiyun.feixin.10086.cn/market/signin/page/receiveTaskExpansion?acceptDate=${e}`; function Ft(e) { return { getSigninStatus: async function() { return e.requestJson({ url: $t, method: "get", headers: e.jwtHeaders }) }, doSignin: async function() { return e.requestJson({ url: Rt, method: "get", headers: e.jwtHeaders }) }, getTaskList: async function(t) { return e.requestJson({ url: zt(t), method: "get", headers: e.jwtHeaders }) }, clickTask: async function(t, r = {}) { return e.requestJson({ url: Dt(t), method: "get", headers: e.jwtHeaders, ...r }) }, receiveClouds: async function() { return e.requestJson({ url: Ht, method: "get", headers: e.jwtHeaders }) }, getPrizeLog: async function(t) { return e.requestJson({ url: Mt(t), method: "get", headers: e.jwtHeaders }) }, getTaskExpansion: async function() { return e.requestJson({ url: jt, method: "get", headers: e.jwtHeaders }) }, receiveTaskExpansion: async function(t) { return e.requestJson({ url: It(t), method: "get", headers: e.jwtHeaders }) } } } const Nt = "http://ose.caiyun.feixin.10086.cn/richlifeApp/devapp/IUploadAndDownload", Pt = "https://ose.caiyun.feixin.10086.cn/richlifeApp/devapp/IUploadAndDownload", Ot = "https://personal-kd-njs.yun.139.com/hcy/file/list", Lt = "https://yun.139.com/orchestration/personalCloud-rebuild/outlink/v1.0/getOutLink"; function qt(e) { return { uploadSimpleFile: async function() { const t = ["", `${e.account}`, "1", "1", '', "", "0", "", "", "1", "", "C4CA4238A0B923820DCC509A6F75849B", "", "0", "0", "", "", "", "", "", "0", "", "2", '', "", "", ""].join(""); return e.request({ url: Nt, method: "post", headers: { "x-huawei-uploadSrc": "1", "x-ClientOprType": "11", Connection: "keep-alive", "x-NetType": "6", "x-DeviceInfo": "6|127.0.0.1|1|10.0.1|Xiaomi|M2012K10C|CB63218727431865A48E691BFFDB49A1|02-00-00-00-00-00|android 11|1080X2272|zh||||032|", "x-huawei-channelSrc": "10000023", "x-MM-Source": "032", "x-SvcType": "1", APP_NUMBER: e.account, Authorization: e.authorization, "X-Tingyun-Id": "p35OnrDoP8k;c=2;r=1955442920;u=43ee994e8c3a6057970124db00b2442c::8B3D3F05462B6E4C", Host: "ose.caiyun.feixin.10086.cn", "User-Agent": "okhttp/3.11.0", "Content-Type": "application/xml; charset=UTF-8", Accept: "*/*" }, data: t, responseType: "text", throwHttpErrors: !1 }) }, uploadLargeFile: async function() { const t = e.randomWordArray(1024 * e.config.uploadSizeMb * 1024), r = e.md5(t), o = ["", `${e.account}`, "1", `${1024*e.config.uploadSizeMb*1024}`, '', "", ``, `${1024*e.config.uploadSizeMb*1024}`, "", "", "0", "", '', `${r}`, `modifyTime${e.formatDate(new Date)}`, "", "", "", `${e.config.uploadDirId}`, "0", "", "2", ""].join(""); return e.request({ url: Pt, method: "post", headers: { "x-huawei-uploadSrc": "1", "x-huawei-channelSrc": "10200153", "x-ClientOprType": "11", Connection: "keep-alive", "x-NetType": "6", "x-DeviceInfo": "||11|8.2.1.20241205|PC|V0lOLUVQSUxVNjE1TUlI|D1EA1E8B761492DFF34B18F05A5876E0|| Windows 10 (10.0)|1366X738|RW5nbGlzaA==|||", "x-MM-Source": "032", "x-SvcType": "1", Authorization: rt(e.authorization), Host: "ose.caiyun.feixin.10086.cn", "User-Agent": "Mozilla/5.0", "Content-Type": "text/xml;UTF-8", Accept: "*/*" }, data: o, responseType: "text", throwHttpErrors: !1 }) }, listPersonalFiles: async function() { return e.requestJson({ url: Ot, method: "post", headers: { "x-yun-op-type": "1", "x-yun-net-type": "1", "x-yun-module-type": "100", "x-yun-app-channel": "10214200", "x-yun-client-info": "1||8|5.10.1|microsoft|microsoft|306d1d1c-016c-4251-9ea6-951dca||windows 10 x64|||||", "x-tingyun": "c=M|4Nl_NnGbjwY", authorization: rt(e.authorization), "x-yun-api-version": "v1", xweb_xhr: "1", "x-yun-tid": "cb8a2b4b-8eb7-4b05-b1c1-e41020", "content-type": "application/json" }, data: { parentFileId: e.config.uploadDirId, pageInfo: { pageSize: 40, pageCursor: "0|[9-1-0,11-0-1][JzIwMjQtMDMtMDlUMTA6MzM6MTguNzEyWic=,J0ZzSVEweF9NVVVDVmNqQ1plaTJ0SFZxSjVadjNsbEZ5bCc=]" }, imageThumbnailStyleList: ["Big", "Small"], orderDirection: "DESC", orderBy: "updated_at" } }) }, createOutLink: async function(t, r) { return e.requestJson({ url: Lt, method: "post", headers: { ...e.jwtHeaders, Authorization: rt(e.authorization) }, data: { getOutLinkReq: { subLinkType: 0, encrypt: 1, coIDLst: [t], caIDLst: [], pubType: 1, dedicatedName: r, periodUnit: 1, viewerLst: [], extInfo: { isWatermark: 0, shareChannel: "3001" }, period: 1, commonAccountInfo: { account: e.account, accountType: 1 } } } }) } } } class Ut { constructor(e, t, r) { this.rawCookie = String(e || "").trim(), this.config = t, this.reporter = r, this.cookies = {}, this.jwtHeaders = { "User-Agent": ft, Accept: "*/*", Host: "caiyun.feixin.10086.cn:7071" }, this.noteToken = "", this.noteAuth = "", this.notebookId = "", this.clickNum = t.clickNum, this.drawTimes = t.drawTimes, this.parseCookie(), this.requester = function(e, t) { return { request: r, requestJson: async function(e, t = 3) { return (await r({ responseType: "json", ...e }, t)).data }, requestText: async function(e, t = 3) { return (await r({ responseType: "text", ...e }, t)).data } }; async function r(r, o = 3) { let n; for (let s = 0; s < o; s += 1) try { return await e.request({ timeout: t(), responseType: "json", ...r }) } catch (e) { n = e, s < o - 1 && await i(1e3) } throw n } }(gt, () => this.config.requestTimeout); const o = this; var n; this.api = { ...wt(n = { get authorization() { return o.authorization }, get account() { return o.account }, get authToken() { return o.authToken }, get config() { return o.config }, get jwtHeaders() { return o.jwtHeaders }, request: (...e) => o.request(...e), requestJson: (...e) => o.requestJson(...e), requestText: (...e) => o.requestText(...e), md5: e => Ze.MD5(e).toString().toUpperCase(), randomHex: it, randomWordArray: st, formatDate: nt }), ...Ft(n), ...Et(n), ...St(n), ...qt(n) } } parseCookie() { if (this.rawCookie.includes("#")) { const [e, t, r] = this.rawCookie.split("#"); this.authorization = e, this.account = t, this.authToken = r || "" } else this.authorization = this.rawCookie, this.authToken = "00", this.account = function(e) { try { const t = String(e || "").replace(/^Basic\s+/i, ""); return Ze.enc.Utf8.stringify(Ze.enc.Base64.parse(t)).split(":")[1] || "13800138000" } catch (e) { return "13800138000" } }(this.authorization); this.maskedAccount = function(e) { const t = String(e || "未知账号"); return t.length >= 7 ? `${t.slice(0,3)}****${t.slice(7)}` : t }(this.account), this.cookies.sensors_stay_time = String(Date.now()) } log(e) { this.reporter.line(`[${this.maskedAccount}] ${e}`) } async run() { try { if (!await this.jwt()) return void this.reporter.invalid.push(this.maskedAccount); await this.signinStatus(), await this.clickTask(), await this.processTaskList("sign_in_3", "cloud_app"), await this.cloudGame(), await this.wxSign(), await this.shake(), await this.surplusNum(), await this.backupCloud(), await this.openSend(), await this.processTaskList("newsign_139mail", "email_app"), await this.receive(), this.config.uploadEnabled && await this.uploadLargeFile(), this.config.shareEnabled && await this.shareFile() } catch (e) { this.reporter.errors.push(`${this.maskedAccount}: ${e.message||String(e)}`), this.log(`执行异常: ${function(e){if(e instanceof Error)return`${e.name}: ${e.message}`;try{return JSON.stringify(e)}catch(t){return String(e)}}(e)}`) } } async request(e, t = 3) { return this.requester.request(e, t) } async requestJson(e, t = 3) { return this.requester.requestJson(e, t) } async requestText(e, t = 3) { return this.requester.requestText(e, t) } async ssoForMCloud() { return this.api.ssoForMCloud() } async ssoForPortal() { return this.api.ssoForPortal() } async jwt() { const e = await this.ssoForMCloud() || await this.ssoForPortal(); if (!e) return this.log("获取 ssoToken 失败"), !1; const t = await this.api.fetchJwt(e); return t && 0 === t.code ? (this.jwtHeaders.jwtToken = t.result.token, this.cookies.jwtToken = t.result.token, this.log("jwtToken 获取成功"), !0) : (this.log(`获取 jwtToken 失败: ${t?.msg||"未知错误"}`), !1) } async signinStatus() { await this.sleep(); const e = await this.api.getSigninStatus(); if ("success" !== e?.msg) return void this.log(`签到状态查询失败: ${e?.msg||"未知错误"}`); if (e.result?.todaySignIn) return void this.log("今日已签到"); const t = await this.api.doSignin(); this.log("success" === t?.msg ? "签到成功" : `签到失败: ${t?.msg||"未知错误"}`) } async clickTask() { let e = 0; for (let t = 0; t < this.clickNum; t += 1) try { const t = await this.api.clickTask(319); t?.result && (e += 1), await i(200) } catch (e) {} this.log(e > 0 ? `戳一下成功 ${e} 次` : `戳一下未获得奖励 x ${this.clickNum}`) } async processTaskList(e, t) { const r = await this.api.getTaskList(e); await this.sleep(); const o = r?.result || {}; for (const e of Object.keys(o)) if (!["new", "hidden", "hiddenabc"].includes(e)) for (const r of o[e]) ot(t, e, r.id) || ("FINISH" !== r.state ? (this.log(`去完成任务: ${r.name}`), await this.doTask(r.id, e, t), await i(2e3)) : this.log(`已完成任务: ${r.name}`)) } async doTask(e, t, r) { if (await this.sleep(), await this.api.clickTask(e, { throwHttpErrors: !1 }), "cloud_app" === r && "day" === t) switch (e) { case 106: await this.uploadZeroFile(); break; case 107: await this.createDefaultNote() } } async refreshNoteToken() { if (!this.authToken || "00" === this.authToken) return !1; const e = await this.api.refreshNoteToken(); return this.noteToken = e.headers?.NOTE_TOKEN || e.headers?.note_token || "", this.noteAuth = e.headers?.APP_AUTH || e.headers?.app_auth || "", !(!this.noteToken || !this.noteAuth) } async createDefaultNote() { if (!await this.refreshNoteToken()) return void this.log("跳过创建笔记: 缺少 authToken"); const e = { ...pt, APP_NUMBER: this.account, APP_AUTH: this.noteAuth, NOTE_TOKEN: this.noteToken }, t = await this.api.syncNotebook(e); this.notebookId = t?.notebooks?.[0]?.notebookId || "", this.notebookId ? (await this.api.createNote(e, this.notebookId), this.log("创建笔记完成")) : this.log("获取默认笔记本失败") } async uploadZeroFile() { await this.api.uploadSimpleFile(), this.log("上传任务文件完成") } async wxSign() { await this.sleep(); const e = await this.api.getWxSignInfo(); this.log(e?.result?.todaySignIn ? "公众号签到成功" : `公众号签到失败: ${e?.msg||"可能未绑定公众号"}`) } async shake() { let e = 0; for (let t = 0; t < this.clickNum; t += 1) try { const t = await this.api.doShake(); t?.result?.shakePrizeconfig?.name && (e += 1, this.log(`摇一摇获得: ${t.result.shakePrizeconfig.name}`)), await i(1e3) } catch (e) {} e || this.log(`摇一摇未中奖 x ${this.clickNum}`) } async surplusNum() { await this.sleep(); const e = await this.api.getDrawInfo(), t = e?.result?.surplusNumber || 0; if (this.log(`剩余抽奖次数: ${t}`), !(t <= 50 - this.drawTimes)) for (let e = 0; e < this.drawTimes; e += 1) { await this.sleep(); const e = await this.api.doDraw(); this.log(0 === e?.code ? `抽奖成功: ${e?.result?.prizeName||""}` : "抽奖失败") } } async cloudGame() { const e = await this.api.getCloudGameInfo(), t = e?.result?.info?.curr || 0, r = e?.result?.history?.[0]?.rank || "", o = e?.result?.history?.[0]?.count || 0; this.log(`云朵大作战剩余 ${t} 次, 排名 ${r}, 合成 ${o} 次`); for (let e = 0; e < t; e += 1) await this.api.inviteCloudGame(), await at(1e4, 15e3), await this.api.finishCloudGame(), this.log("云朵大作战完成一局") } async receive() { const e = await this.api.receiveClouds(); await this.sleep(); const t = await this.api.getPrizeLog(Date.now()), r = (t?.result?.result || []).filter(e => 1 === e.flag).map(e => e.prizeName).join("、"), o = e?.result?.receive || 0, n = e?.result?.total || 0; this.reporter.amounts.push(`${this.maskedAccount}: 云朵 ${n}${r?`, 待领取 ${r}`:""}`), this.log(`当前待领取 ${o} 云朵, 当前总数 ${n}`) } async backupCloud() { const e = await this.api.getBackupInfo(), t = e?.result?.state; if (0 === t) { const e = await this.api.receiveBackupReward(); this.log(`连续备份奖励: ${e?.result?.result||""}`) } else 1 === t && this.log("本月连续备份奖励已领取"); await this.sleep(); const r = await this.api.getTaskExpansion(); if (r?.result?.preMonthBackup && !r?.result?.curMonthBackupTaskAccept) { const e = await this.api.receiveTaskExpansion(r.result.acceptDate); this.log(`膨胀云朵领取: ${e?.result?.cloudCount||e?.msg||""}`) } } async openSend() { const e = await this.api.getMsgPushStatus(); if (1 === e?.result?.pushOn) for (const t of [1, 2]) { const r = 1 === t ? "firstTaskStatus" : "secondTaskStatus"; if ([2, 3].includes(e.result[r])) { const e = await this.api.obtainMsgPushReward(t); this.log(`通知奖励${t}: ${e?.result?.description||"已处理"}`) } } else this.log("通知权限未开启") } async uploadLargeFile() { this.config.uploadDirId ? (await this.api.uploadLargeFile(), this.log(`大文件上传任务已执行: ${this.config.uploadFilename}`)) : this.log("跳过大文件上传: 缺少 dirId") } async shareFile() { if (!this.config.shareFilename || !this.config.uploadDirId) return void this.log("跳过分享任务: 缺少 shareFilename 或 dirId"); const e = await this.api.listPersonalFiles(), t = (e?.data?.items || []).find(e => String(e.name || "").includes(this.config.shareFilename)); if (!t) return void this.log("未找到可分享文件"); const r = await this.api.createOutLink(t.fileId, t.name), o = r?.data?.getOutLinkRes?.getOutLinkResSet?.[0]?.linkUrl || ""; this.log(o ? `分享成功: ${o}` : "分享失败") } async sleep() { await at(this.config.delayMin, this.config.delayMax) } } const Wt = c.displayName, { missingCookie: Jt, runCompleted: Xt } = l; async function Kt(r = ct()) { if (!r.cookie) throw new Error(Jt); const o = (i = r.cookie, String(i).split(/[@\n]/).map(e => e.trim()).filter(Boolean)); var i; const s = new Ye; s.info(`${Wt} 共获取到 ${o.length} 个账号`); for (let e = 0; e < o.length; e += 1) { s.section(`第 ${e+1} 个账号`); const t = new Ut(o[e], r, s); await t.run(), e < o.length - 1 && await at(5e3, 1e4) } const a = s.renderSummary(); return t.log(a), r.push && function(r = `ℹ️ ${e} 通知`, o = "", i = "", s = {}) { const a = n(s); switch (e) { case "Surge": case "Loon": case "Stash": case "Egern": case "Shadowrocket": default: $notification.post(r, o, i, a); break; case "Quantumult X": $notify(r, o, i, a); case "Node.js": } t.group("📣 系统通知"), t.log(r, o, i, JSON.stringify(a, null, 2)), t.groupEnd() }?.(Wt, Xt, a), { summary: a, reporter: s } } const Vt = c.displayName, { runStart: Gt, runFailed: Qt } = l; !async function() { try { t.log(`\n${Vt} ${Gt}`), await Kt(ct()) } catch (e) { t.log(`${Vt} ${Qt}: ${e?.message||String(e)}`), t.error(e instanceof Error ? e : new Error(String(e))) } finally { ! function(n = {}) { switch (e) { case "Surge": n.policy && r.set(n, "headers.X-Surge-Policy", n.policy), t.log("🚩 执行结束!", `🕛 ${(new Date).getTime()/1e3-$script.startTime} 秒`), $done(n); break; case "Loon": n.policy && (n.node = n.policy), t.log("🚩 执行结束!", `🕛 ${(new Date-$script.startTime)/1e3} 秒`), $done(n); break; case "Stash": n.policy && r.set(n, "headers.X-Stash-Selected-Proxy", encodeURI(n.policy)), t.log("🚩 执行结束!", `🕛 ${(new Date-$script.startTime)/1e3} 秒`), $done(n); break; case "Egern": case "Shadowrocket": t.log("🚩 执行结束!"), $done(n); break; case "Quantumult X": switch (n.policy && r.set(n, "opts.policy", n.policy), typeof(n = r.pick(n, ["status", "url", "headers", "body", "bodyBytes"])).status) { case "number": n.status = `HTTP/1.1 ${n.status} ${o[n.status]}`; break; case "string": case "undefined": break; default: throw new TypeError(`${Function.name}: 参数类型错误, status 必须为数字或字符串`) } n.body instanceof ArrayBuffer ? (n.bodyBytes = n.body, n.body = void 0) : ArrayBuffer.isView(n.body) ? (n.bodyBytes = n.body.buffer.slice(n.body.byteOffset, n.body.byteLength + n.body.byteOffset), n.body = void 0) : n.body && (n.bodyBytes = void 0), t.log("🚩 执行结束!"), $done(n); break; case "Node.js": t.log("🚩 执行结束!"), process.exit(1); break; default: t.log("🚩 执行结束!") } }({}) } }();