// ==UserScript== // @name Hua VPlayer // @namespace npm/vite-plugin-monkey // @version 0.0.2.79 // @author monkey // @description A video player for V.qq.com // @icon https://vitejs.dev/logo.svg // @license MIT // @match *://v.qq.com/* // @match *://*.v.qq.com/* // @require https://cdn.jsdelivr.net/npm/react@18.3.1/umd/react.production.min.js // @require https://cdn.jsdelivr.net/npm/react-dom@18.3.1/umd/react-dom.production.min.js // @grant none // @downloadURL none // ==/UserScript== (function(e){const o=document.createElement("style");o.id="monkey-hua-vplayer-popup-style-css",o.textContent=e,document.head.appendChild(o)})(" #root{max-width:1280px;margin:0 auto;padding:2rem;text-align:center}.App{--block-c-value: 0 0 0;--block-color: rgba(var(--block-c-value), .8);--white-color: rgba(255, 255, 255, 1);--green-color: rgba(67, 231, 0, 1);--yellow-color: rgba(215, 127, 47, 1);--blue-color: rgba(0, 154, 255, 1);--card-top: 27px;--card-left: 105px}.App ul{list-style:none;padding:0;margin:0}.App button{border:none;border-radius:4px}.App .card{position:fixed;top:var(--card-top);left:var(--card-left);z-index:20241222}.App .card button{padding:5px 8px;font-size:16px;color:var(--white-color);background-color:var(--green-color);cursor:pointer}.App dialog{width:var(--dialog-width, 0px);height:var(--dialog-height, 0px);padding:0;border:none;border-radius:8px;grid-template-columns:2fr;transition:all .3s ease-in-out}.App dialog .header{--font-size: 20px;--close-size: 28px;display:flex;justify-content:space-between;align-items:center;background-color:var(--white-color);margin-bottom:16px}.App dialog .header h2{margin:0;padding:0;font-size:var(--font-size);font-weight:400}.App dialog .header .close{color:var(--white-color);background-color:var(--green-color);width:var(--close-size);height:var(--close-size);border-radius:3px;cursor:pointer}.App dialog .body ul{--cols: 6;--li-py: 8px;--li-font-size: 14px;display:grid;grid-template-columns:repeat(var(--cols),1fr);gap:10px}.App dialog .body ul li{display:grid;justify-content:center;align-items:center;padding:var(--li-py) 0;color:var(--white-color);background-color:var(--blue-color);border-radius:4px;font-size:var(--li-font-size);transition:all .3s ease-in-out;cursor:pointer}.App dialog .body ul li:hover{background-color:var(--green-color)}.App dialog[open]{display:grid;--dialog-width: 520px;--dialog-height: 266px;padding:16px;border:2px solid var(--green-color)}.App dialog::backdrop{background-color:rgba(var(--block-c-value),.2);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-radius:4px}@media screen and (max-width: 768px){.App{--card-top: 12px;--card-left: 80px}.App dialog[open]{--dialog-width: 85vw;--dialog-height: 285px}.App dialog .header{--font-size: 20px;--close-size: 32px}.App dialog .body ul{--cols: 5;--li-py: 4px;--li-font-size: 10px}}:root{font-family:Inter,Avenir,Helvetica,Arial,sans-serif;font-size:16px;line-height:24px;font-weight:400;color-scheme:light dark;color:#ffffffde;background-color:#242424;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-webkit-text-size-adjust:100%} "); (function (require$$0, require$$0$1) { 'use strict'; var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof window !== "undefined" ? window : typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : {}; function getDefaultExportFromCjs(x) { return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, "default") ? x["default"] : x; } var jsxRuntime = { exports: {} }; var reactJsxRuntime_production_min = {}; /** * @license React * react-jsx-runtime.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ var hasRequiredReactJsxRuntime_production_min; function requireReactJsxRuntime_production_min() { if (hasRequiredReactJsxRuntime_production_min) return reactJsxRuntime_production_min; hasRequiredReactJsxRuntime_production_min = 1; var f = require$$0, k = Symbol.for("react.element"), l = Symbol.for("react.fragment"), m2 = Object.prototype.hasOwnProperty, n = f.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, p = { key: true, ref: true, __self: true, __source: true }; function q(c, a, g) { var b, d = {}, e = null, h = null; void 0 !== g && (e = "" + g); void 0 !== a.key && (e = "" + a.key); void 0 !== a.ref && (h = a.ref); for (b in a) m2.call(a, b) && !p.hasOwnProperty(b) && (d[b] = a[b]); if (c && c.defaultProps) for (b in a = c.defaultProps, a) void 0 === d[b] && (d[b] = a[b]); return { $$typeof: k, type: c, key: e, ref: h, props: d, _owner: n.current }; } reactJsxRuntime_production_min.Fragment = l; reactJsxRuntime_production_min.jsx = q; reactJsxRuntime_production_min.jsxs = q; return reactJsxRuntime_production_min; } var hasRequiredJsxRuntime; function requireJsxRuntime() { if (hasRequiredJsxRuntime) return jsxRuntime.exports; hasRequiredJsxRuntime = 1; { jsxRuntime.exports = requireReactJsxRuntime_production_min(); } return jsxRuntime.exports; } var jsxRuntimeExports = requireJsxRuntime(); var client = {}; var hasRequiredClient; function requireClient() { if (hasRequiredClient) return client; hasRequiredClient = 1; var m2 = require$$0$1; { client.createRoot = m2.createRoot; client.hydrateRoot = m2.hydrateRoot; } return client; } var clientExports = requireClient(); const ReactDOM = /* @__PURE__ */ getDefaultExportFromCjs(clientExports); const cookie = { write: function(t, e, day = 30) { var a = [], r = "/", o = location.hostname, i2 = location.protocol.startsWith("https"); a.push(t + "=" + encodeURIComponent(e)), a.push("expires=" + new Date(Date.now() + day * 864e5).toUTCString()), a.push("path=" + r), a.push("domain=" + o), true === i2 && a.push("secure"), document.cookie = a.join("; "); }, read: function(t, defaultValue) { var e = document.cookie.match(new RegExp("(^|;\\s*)(" + t + ")=([^;]*)")); if (e && e.length) { return decodeURIComponent(e[3]); } this.write(t, defaultValue); return defaultValue; }, remove: function(t) { this.write(t, "", Date.now() - 864e5); } }; const LINES = [ { name: "YT", url: "https://jx.yangtu.top/?url=", mobile: 0 }, { name: "冰豆", url: "https://bd.jx.cn/?url=", mobile: 0 }, { name: "CK", url: "https://www.ckplayer.vip/jiexi/?url=", mobile: 0 }, { name: "IK9", url: "https://yparse.ik9.cc/index.php?url=", mobile: 0 }, { name: "JX", url: "https://jiexi.site/?url=", mobile: 0 }, { name: "JY", url: "https://jx.playerjy.com/?url=", mobile: 0 }, { name: "解析la", url: "https://api.jiexi.la/?url=", mobile: 0 }, { name: "M3U8 TV", url: "https://jx.m3u8.tv/jiexi/?url=", mobile: 0 }, { name: "m3u8", url: "https://www.playm3u8.cn/jiexi.php?url=", mobile: 0 }, { name: "盘古", url: "https://www.pangujiexi.cc/jiexi.php?url=", mobile: 0 }, { name: "盘古2", url: "https://www.pangujiexi.com/jiexi/?url=", mobile: 0 }, { name: "剖云", url: "https://www.pouyun.com/?url=", mobile: 0 }, { name: "七哥", url: "https://jx.nnxv.cn/tv.php?url=", mobile: 0 }, { name: "神哥", url: "https://json.ovvo.pro/jx.php?url=", mobile: 0 }, { name: "听乐", url: "https://jx.dj6u.com/?url=", mobile: 1 }, { name: "虾米", url: "https://jx.xmflv.com/?url=", mobile: 0 }, { name: "虾米2", url: "https://jx.xmflv.cc/?url=", mobile: 0 }, { name: "夜幕", url: "https://www.yemu.xyz/?url=", mobile: 0 }, { name: "云析", url: "https://jx.yparse.com/index.php?url=", mobile: 0 }, { name: "17云", url: "https://www.1717yun.com/jx/ty.php?url=", mobile: 0 }, { name: "180", url: "https://jx.000180.top/jx/?url=", mobile: 0 }, { name: "8090", url: "https://www.8090g.cn/?url=", mobile: 0 } ]; const platfrom = { mobile: { container: "#player", episode: ".pl-episode", getParseUrl(cid, vid) { return `https://m.v.qq.com/x/m/play?cid=${cid}&vid=${vid}`; }, getEpisodeData(pinia2) { var _a; const list = (_a = pinia2 == null ? void 0 : pinia2.playlist) == null ? void 0 : _a.playList.list[0]; const data = list.filter((e) => /第(\d+)集/.test(e.playTitle)); return data; }, getData() { const tvUrl = getQuery("schema"); return getQuery(tvUrl); } }, pc: { container: "#player", episode: ".page-content__bottom", pattern: "/x/cover((/\\w+)+)", getParseUrl(cid, vid) { return `https://v.qq.com/x/cover/${cid}/${vid}.html`; }, getEpisodeData(pinia2) { var _a; const list = (_a = pinia2 == null ? void 0 : pinia2.episodeMain) == null ? void 0 : _a.listData[0].list[0]; const data = list.filter((e) => !e.isTrailer); return data; }, getData() { const matches = location.href.match(this.pattern); if (matches && matches[1]) { const data = matches[1].split("/").filter(Boolean); const [cid, vid] = data.slice(0, 2); const result = { cid, vid }; return result; } return null; } } }; const app = platfrom[isMobile() ? "mobile" : "pc"]; let pinia = null; let iframe = null; function App() { const dialog = require$$0.useRef(null); const onShow = () => { var _a; (_a = dialog.current) == null ? void 0 : _a.showModal(); console.log("%c Line:76 🍪 dialog.current", "color:#6ec1c2", dialog.current); pinia = window.__PINIA__; console.log("%c Line:77 🍉 pinia", "color:#b03734", pinia); }; const onClose = () => { var _a; return (_a = dialog.current) == null ? void 0 : _a.close(); }; function onPlayer(event) { const player = document.querySelector(app.container); const data = app.getData(); const parseUrl = app.getParseUrl(data.cid, data.vid); const lineUrl = event.currentTarget.dataset.line; const hybridUrl = `${lineUrl}${parseUrl}`; cookie.write("__lineUrl", lineUrl); if (iframe) { iframe.src = hybridUrl; onClose(); return; } iframe = createIframe(hybridUrl); clearChildNodes(player); clearChildNodes(player == null ? void 0 : player.parentNode, (e) => e !== player); player == null ? void 0 : player.appendChild(iframe); onClose(); } return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "App", children: [ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "card", children: /* @__PURE__ */ jsxRuntimeExports.jsx("button", { className: "", onClick: onShow, children: "VIP助手" }) }), /* @__PURE__ */ jsxRuntimeExports.jsxs("dialog", { ref: dialog, children: [ /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "header", children: [ /* @__PURE__ */ jsxRuntimeExports.jsx("h2", { children: "解析线路" }), /* @__PURE__ */ jsxRuntimeExports.jsx("button", { className: "close", onClick: onClose, children: "×" }) ] }), /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "body", children: /* @__PURE__ */ jsxRuntimeExports.jsx("ul", { children: LINES.map((line) => /* @__PURE__ */ jsxRuntimeExports.jsx("li", { "data-line": line.url, onClick: onPlayer, children: line.name }, line.name)) }) }) ] }) ] }); } function waitTime(ms) { return new Promise((resolve) => setTimeout(resolve, ms)); } function isMobile() { return /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent); } function getQuery(name, url) { if (!url && (name == null ? void 0 : name.includes("?"))) { url = name; name = void 0; } const handle = new URL(url || window.location.href); const s = new URLSearchParams(handle.search); const o = Object.fromEntries(s.entries()); return !name ? o : o.hasOwnProperty(name) ? o[name] : void 0; } function createIframe(url) { const iframe2 = document.createElement("iframe"); iframe2.src = url; iframe2.style.position = "absolute"; iframe2.style.zIndex = Date.now().toString(); iframe2.style.width = "100%"; iframe2.style.height = "100%"; iframe2.style.border = "none"; return iframe2; } function clearChildNodes(node, filter = () => true) { while (node.firstChild && filter(node.firstChild)) { node.removeChild(node.firstChild); } } function createEpisodeStyle() { const style = ` .panel-tip-pay.panel-tip-pay-video { display: none; } img.gaussian-blur-lcp-img { display: none; } .pl-episode-list {overflow: hidden;} .pl-episode-list ul { display: flex; flex-direction: row; flex-wrap: nowrap; align-items: center; gap: 8px; margin-bottom: 10px; overflow-x: scroll; padding-bottom: 10px; } .pl-episode-list li { position: relative; width: 51px; height: 51px; color: rgba(0,0,0,1); background-color: rgba(0, 0, 0, 0.1); text-align: center; font-size: 16px; font-weight: 600; border-radius: 4px; flex-shrink: 0; display: grid; align-items: center; justify-content: center; cursor: pointer; transition: all 0.3s ease-in-out; } .pl-episode-list li:hover { background-color: rgba(0, 154, 255, 1); } .pl-episode-list li .vip { position: absolute; top: 0; right: 0; background-color: #ffdf89; color: #663d00; font-size: 10px; font-weight: 600; padding: 0 4px; border-bottom-left-radius: 4px; box-shadow: -2px 2px 5px 0px #d2a52e; } .pl-episode-list[pc] h2 { font-weight: 500; font-size: 20px; line-height: 28px; padding: 16px 0 10px 0;} .pl-episode-list[pc] li { color: rgba(255,255,255,.6); background-color: rgba(255,255,255, 0.2);} `; const styleEl = document.createElement("style"); styleEl.innerHTML = style; return styleEl; } function createLiNodes(data) { return data.reverse().map((item2) => { const url = app.getParseUrl(item2.cid, item2.vid); let span = ""; if (item2.imgTag) { span = `
VIP
`; } return `
  • ${item2.title}${span}
  • `; }); } function renderEpisodeNode(data) { const cls = "pl-episode-list"; if (document.querySelector(`.${cls}`)) { return; } const el = document.createElement("div"); el.setAttribute(isMobile() ? "mobile" : "pc", ""); el.className = cls; el.appendChild(createEpisodeStyle()); if (!isMobile()) { const h2 = document.createElement("h2"); h2.textContent = "电视剧"; el.appendChild(h2); } const ul = document.createElement("ul"); ul.innerHTML = createLiNodes(data).join(""); el.appendChild(ul); ul.addEventListener("click", (e) => { const target2 = e.target; if (target2.tagName === "LI") { const parseUrl = target2.dataset.url; const lineUrl = cookie.read("__lineUrl", "https://jx.xmflv.com/?url="); const player = document.querySelector(app.container); const hybridUrl = `${lineUrl}${parseUrl}`; iframe = createIframe(hybridUrl); clearChildNodes(player); clearChildNodes(player == null ? void 0 : player.parentNode, (child) => child !== player); player == null ? void 0 : player.appendChild(iframe); if (!isMobile()) { const h2 = el.querySelector("h2"); h2.textContent = `${h2.textContent} - ${target2.dataset.title}`; } } }); return el; } waitTime(4e3).then(() => { const node = document.querySelector(app.episode); if (!node) return; pinia = window.__PINIA__; console.log("%c Line:301 🍐 pinia", "color:#42b983", pinia); const data = app.getEpisodeData(pinia); if (!data) return; const el = renderEpisodeNode(data); if (isMobile()) { node.parentNode.insertBefore(el, node); } else { node.insertBefore(el, node.firstChild); } }); var vconsole_min$1 = { exports: {} }; /*! * vConsole v3.15.1 (https://github.com/Tencent/vConsole) * * Tencent is pleased to support the open source community by making vConsole available. * Copyright (C) 2017 THL A29 Limited, a Tencent company. All rights reserved. * Licensed under the MIT License (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at * http://opensource.org/licenses/MIT * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ var vconsole_min = vconsole_min$1.exports; var hasRequiredVconsole_min; function requireVconsole_min() { if (hasRequiredVconsole_min) return vconsole_min$1.exports; hasRequiredVconsole_min = 1; (function(module, exports) { !function(t, n) { module.exports = n(); }(vconsole_min || self, function() { return function() { var __webpack_modules__ = { 4264: function(t, n, e) { t.exports = e(7588); }, 5036: function(t, n, e) { e(1719), e(5677), e(6394), e(5334), e(6969), e(2021), e(8328), e(2129); var o = e(1287); t.exports = o.Promise; }, 2582: function(t, n, e) { e(1646), e(6394), e(2004), e(462), e(8407), e(2429), e(1172), e(8288), e(1274), e(8201), e(6626), e(3211), e(9952), e(15), e(9831), e(7521), e(2972), e(6956), e(5222), e(2257); var o = e(1287); t.exports = o.Symbol; }, 8257: function(t, n, e) { var o = e(7583), r = e(9212), i2 = e(5637), a = o.TypeError; t.exports = function(t2) { if (r(t2)) return t2; throw a(i2(t2) + " is not a function"); }; }, 1186: function(t, n, e) { var o = e(7583), r = e(2097), i2 = e(5637), a = o.TypeError; t.exports = function(t2) { if (r(t2)) return t2; throw a(i2(t2) + " is not a constructor"); }; }, 9882: function(t, n, e) { var o = e(7583), r = e(9212), i2 = o.String, a = o.TypeError; t.exports = function(t2) { if ("object" == typeof t2 || r(t2)) return t2; throw a("Can't set " + i2(t2) + " as a prototype"); }; }, 6288: function(t, n, e) { var o = e(3649), r = e(3590), i2 = e(4615), a = o("unscopables"), c = Array.prototype; null == c[a] && i2.f(c, a, { configurable: true, value: r(null) }), t.exports = function(t2) { c[a][t2] = true; }; }, 4761: function(t, n, e) { var o = e(7583), r = e(2447), i2 = o.TypeError; t.exports = function(t2, n2) { if (r(n2, t2)) return t2; throw i2("Incorrect invocation"); }; }, 2569: function(t, n, e) { var o = e(7583), r = e(794), i2 = o.String, a = o.TypeError; t.exports = function(t2) { if (r(t2)) return t2; throw a(i2(t2) + " is not an object"); }; }, 5766: function(t, n, e) { var o = e(2977), r = e(6782), i2 = e(1825), a = function(t2) { return function(n2, e2, a2) { var c, u = o(n2), s = i2(u), l = r(a2, s); if (t2 && e2 != e2) { for (; s > l; ) if ((c = u[l++]) != c) return true; } else for (; s > l; l++) if ((t2 || l in u) && u[l] === e2) return t2 || l || 0; return !t2 && -1; }; }; t.exports = { includes: a(true), indexOf: a(false) }; }, 4805: function(t, n, e) { var o = e(2938), r = e(7386), i2 = e(5044), a = e(1324), c = e(1825), u = e(4822), s = r([].push), l = function(t2) { var n2 = 1 == t2, e2 = 2 == t2, r2 = 3 == t2, l2 = 4 == t2, f = 6 == t2, d = 7 == t2, v = 5 == t2 || f; return function(p, h, g, m2) { for (var _, b, y = a(p), w = i2(y), E = o(h, g), L = c(w), T = 0, x = m2 || u, C = n2 ? x(p, L) : e2 || d ? x(p, 0) : void 0; L > T; T++) if ((v || T in w) && (b = E(_ = w[T], T, y), t2)) if (n2) C[T] = b; else if (b) switch (t2) { case 3: return true; case 5: return _; case 6: return T; case 2: s(C, _); } else switch (t2) { case 4: return false; case 7: s(C, _); } return f ? -1 : r2 || l2 ? l2 : C; }; }; t.exports = { forEach: l(0), map: l(1), filter: l(2), some: l(3), every: l(4), find: l(5), findIndex: l(6), filterReject: l(7) }; }, 9269: function(t, n, e) { var o = e(6544), r = e(3649), i2 = e(4061), a = r("species"); t.exports = function(t2) { return i2 >= 51 || !o(function() { var n2 = []; return (n2.constructor = {})[a] = function() { return { foo: 1 }; }, 1 !== n2[t2](Boolean).foo; }); }; }, 4546: function(t, n, e) { var o = e(7583), r = e(6782), i2 = e(1825), a = e(5999), c = o.Array, u = Math.max; t.exports = function(t2, n2, e2) { for (var o2 = i2(t2), s = r(n2, o2), l = r(void 0 === e2 ? o2 : e2, o2), f = c(u(l - s, 0)), d = 0; s < l; s++, d++) a(f, d, t2[s]); return f.length = d, f; }; }, 6917: function(t, n, e) { var o = e(7386); t.exports = o([].slice); }, 5289: function(t, n, e) { var o = e(7583), r = e(4521), i2 = e(2097), a = e(794), c = e(3649)("species"), u = o.Array; t.exports = function(t2) { var n2; return r(t2) && (n2 = t2.constructor, (i2(n2) && (n2 === u || r(n2.prototype)) || a(n2) && null === (n2 = n2[c])) && (n2 = void 0)), void 0 === n2 ? u : n2; }; }, 4822: function(t, n, e) { var o = e(5289); t.exports = function(t2, n2) { return new (o(t2))(0 === n2 ? 0 : n2); }; }, 3616: function(t, n, e) { var o = e(3649)("iterator"), r = false; try { var i2 = 0, a = { next: function() { return { done: !!i2++ }; }, return: function() { r = true; } }; a[o] = function() { return this; }, Array.from(a, function() { throw 2; }); } catch (t2) { } t.exports = function(t2, n2) { if (!n2 && !r) return false; var e2 = false; try { var i3 = {}; i3[o] = function() { return { next: function() { return { done: e2 = true }; } }; }, t2(i3); } catch (t3) { } return e2; }; }, 9624: function(t, n, e) { var o = e(7386), r = o({}.toString), i2 = o("".slice); t.exports = function(t2) { return i2(r(t2), 8, -1); }; }, 3058: function(t, n, e) { var o = e(7583), r = e(8191), i2 = e(9212), a = e(9624), c = e(3649)("toStringTag"), u = o.Object, s = "Arguments" == a(/* @__PURE__ */ function() { return arguments; }()); t.exports = r ? a : function(t2) { var n2, e2, o2; return void 0 === t2 ? "Undefined" : null === t2 ? "Null" : "string" == typeof (e2 = function(t3, n3) { try { return t3[n3]; } catch (t4) { } }(n2 = u(t2), c)) ? e2 : s ? a(n2) : "Object" == (o2 = a(n2)) && i2(n2.callee) ? "Arguments" : o2; }; }, 1509: function(t, n, e) { var o = e(7386)("".replace), r = String(Error("zxcasd").stack), i2 = /\n\s*at [^:]*:[^\n]*/, a = i2.test(r); t.exports = function(t2, n2) { if (a && "string" == typeof t2) for (; n2--; ) t2 = o(t2, i2, ""); return t2; }; }, 3478: function(t, n, e) { var o = e(2870), r = e(929), i2 = e(6683), a = e(4615); t.exports = function(t2, n2, e2) { for (var c = r(n2), u = a.f, s = i2.f, l = 0; l < c.length; l++) { var f = c[l]; o(t2, f) || e2 && o(e2, f) || u(t2, f, s(n2, f)); } }; }, 926: function(t, n, e) { var o = e(6544); t.exports = !o(function() { function t2() { } return t2.prototype.constructor = null, Object.getPrototypeOf(new t2()) !== t2.prototype; }); }, 4683: function(t, n, e) { var o = e(2365).IteratorPrototype, r = e(3590), i2 = e(4677), a = e(8821), c = e(339), u = function() { return this; }; t.exports = function(t2, n2, e2, s) { var l = n2 + " Iterator"; return t2.prototype = r(o, { next: i2(+!s, e2) }), a(t2, l, false, true), c[l] = u, t2; }; }, 57: function(t, n, e) { var o = e(8494), r = e(4615), i2 = e(4677); t.exports = o ? function(t2, n2, e2) { return r.f(t2, n2, i2(1, e2)); } : function(t2, n2, e2) { return t2[n2] = e2, t2; }; }, 4677: function(t) { t.exports = function(t2, n) { return { enumerable: !(1 & t2), configurable: !(2 & t2), writable: !(4 & t2), value: n }; }; }, 5999: function(t, n, e) { var o = e(8734), r = e(4615), i2 = e(4677); t.exports = function(t2, n2, e2) { var a = o(n2); a in t2 ? r.f(t2, a, i2(0, e2)) : t2[a] = e2; }; }, 9012: function(t, n, e) { var o = e(7263), r = e(8262), i2 = e(6268), a = e(4340), c = e(9212), u = e(4683), s = e(729), l = e(7496), f = e(8821), d = e(57), v = e(1270), p = e(3649), h = e(339), g = e(2365), m2 = a.PROPER, _ = a.CONFIGURABLE, b = g.IteratorPrototype, y = g.BUGGY_SAFARI_ITERATORS, w = p("iterator"), E = "keys", L = "values", T = "entries", x = function() { return this; }; t.exports = function(t2, n2, e2, a2, p2, g2, C) { u(e2, n2, a2); var O, I, D, $ = function(t3) { if (t3 === p2 && S) return S; if (!y && t3 in P) return P[t3]; switch (t3) { case E: case L: case T: return function() { return new e2(this, t3); }; } return function() { return new e2(this); }; }, R = n2 + " Iterator", k = false, P = t2.prototype, M = P[w] || P["@@iterator"] || p2 && P[p2], S = !y && M || $(p2), j = "Array" == n2 && P.entries || M; if (j && (O = s(j.call(new t2()))) !== Object.prototype && O.next && (i2 || s(O) === b || (l ? l(O, b) : c(O[w]) || v(O, w, x)), f(O, R, true, true), i2 && (h[R] = x)), m2 && p2 == L && M && M.name !== L && (!i2 && _ ? d(P, "name", L) : (k = true, S = function() { return r(M, this); })), p2) if (I = { values: $(L), keys: g2 ? S : $(E), entries: $(T) }, C) for (D in I) (y || k || !(D in P)) && v(P, D, I[D]); else o({ target: n2, proto: true, forced: y || k }, I); return i2 && !C || P[w] === S || v(P, w, S, { name: p2 }), h[n2] = S, I; }; }, 2219: function(t, n, e) { var o = e(1287), r = e(2870), i2 = e(491), a = e(4615).f; t.exports = function(t2) { var n2 = o.Symbol || (o.Symbol = {}); r(n2, t2) || a(n2, t2, { value: i2.f(t2) }); }; }, 8494: function(t, n, e) { var o = e(6544); t.exports = !o(function() { return 7 != Object.defineProperty({}, 1, { get: function() { return 7; } })[1]; }); }, 6668: function(t, n, e) { var o = e(7583), r = e(794), i2 = o.document, a = r(i2) && r(i2.createElement); t.exports = function(t2) { return a ? i2.createElement(t2) : {}; }; }, 6778: function(t) { t.exports = { CSSRuleList: 0, CSSStyleDeclaration: 0, CSSValueList: 0, ClientRectList: 0, DOMRectList: 0, DOMStringList: 0, DOMTokenList: 1, DataTransferItemList: 0, FileList: 0, HTMLAllCollection: 0, HTMLCollection: 0, HTMLFormElement: 0, HTMLSelectElement: 0, MediaList: 0, MimeTypeArray: 0, NamedNodeMap: 0, NodeList: 1, PaintRequestList: 0, Plugin: 0, PluginArray: 0, SVGLengthList: 0, SVGNumberList: 0, SVGPathSegList: 0, SVGPointList: 0, SVGStringList: 0, SVGTransformList: 0, SourceBufferList: 0, StyleSheetList: 0, TextTrackCueList: 0, TextTrackList: 0, TouchList: 0 }; }, 9307: function(t, n, e) { var o = e(6668)("span").classList, r = o && o.constructor && o.constructor.prototype; t.exports = r === Object.prototype ? void 0 : r; }, 2274: function(t) { t.exports = "object" == typeof window; }, 3256: function(t, n, e) { var o = e(6918), r = e(7583); t.exports = /ipad|iphone|ipod/i.test(o) && void 0 !== r.Pebble; }, 7020: function(t, n, e) { var o = e(6918); t.exports = /(?:ipad|iphone|ipod).*applewebkit/i.test(o); }, 5354: function(t, n, e) { var o = e(9624), r = e(7583); t.exports = "process" == o(r.process); }, 6846: function(t, n, e) { var o = e(6918); t.exports = /web0s(?!.*chrome)/i.test(o); }, 6918: function(t, n, e) { var o = e(5897); t.exports = o("navigator", "userAgent") || ""; }, 4061: function(t, n, e) { var o, r, i2 = e(7583), a = e(6918), c = i2.process, u = i2.Deno, s = c && c.versions || u && u.version, l = s && s.v8; l && (r = (o = l.split("."))[0] > 0 && o[0] < 4 ? 1 : +(o[0] + o[1])), !r && a && (!(o = a.match(/Edge\/(\d+)/)) || o[1] >= 74) && (o = a.match(/Chrome\/(\d+)/)) && (r = +o[1]), t.exports = r; }, 5690: function(t) { t.exports = ["constructor", "hasOwnProperty", "isPrototypeOf", "propertyIsEnumerable", "toLocaleString", "toString", "valueOf"]; }, 1178: function(t, n, e) { var o = e(6544), r = e(4677); t.exports = !o(function() { var t2 = Error("a"); return !("stack" in t2) || (Object.defineProperty(t2, "stack", r(1, 7)), 7 !== t2.stack); }); }, 7263: function(t, n, e) { var o = e(7583), r = e(6683).f, i2 = e(57), a = e(1270), c = e(460), u = e(3478), s = e(4451); t.exports = function(t2, n2) { var e2, l, f, d, v, p = t2.target, h = t2.global, g = t2.stat; if (e2 = h ? o : g ? o[p] || c(p, {}) : (o[p] || {}).prototype) for (l in n2) { if (d = n2[l], f = t2.noTargetGet ? (v = r(e2, l)) && v.value : e2[l], !s(h ? l : p + (g ? "." : "#") + l, t2.forced) && void 0 !== f) { if (typeof d == typeof f) continue; u(d, f); } (t2.sham || f && f.sham) && i2(d, "sham", true), a(e2, l, d, t2); } }; }, 6544: function(t) { t.exports = function(t2) { try { return !!t2(); } catch (t3) { return true; } }; }, 1611: function(t, n, e) { var o = e(8987), r = Function.prototype, i2 = r.apply, a = r.call; t.exports = "object" == typeof Reflect && Reflect.apply || (o ? a.bind(i2) : function() { return a.apply(i2, arguments); }); }, 2938: function(t, n, e) { var o = e(7386), r = e(8257), i2 = e(8987), a = o(o.bind); t.exports = function(t2, n2) { return r(t2), void 0 === n2 ? t2 : i2 ? a(t2, n2) : function() { return t2.apply(n2, arguments); }; }; }, 8987: function(t, n, e) { var o = e(6544); t.exports = !o(function() { var t2 = (function() { }).bind(); return "function" != typeof t2 || t2.hasOwnProperty("prototype"); }); }, 8262: function(t, n, e) { var o = e(8987), r = Function.prototype.call; t.exports = o ? r.bind(r) : function() { return r.apply(r, arguments); }; }, 4340: function(t, n, e) { var o = e(8494), r = e(2870), i2 = Function.prototype, a = o && Object.getOwnPropertyDescriptor, c = r(i2, "name"), u = c && "something" === (function() { }).name, s = c && (!o || o && a(i2, "name").configurable); t.exports = { EXISTS: c, PROPER: u, CONFIGURABLE: s }; }, 7386: function(t, n, e) { var o = e(8987), r = Function.prototype, i2 = r.bind, a = r.call, c = o && i2.bind(a, a); t.exports = o ? function(t2) { return t2 && c(t2); } : function(t2) { return t2 && function() { return a.apply(t2, arguments); }; }; }, 5897: function(t, n, e) { var o = e(7583), r = e(9212), i2 = function(t2) { return r(t2) ? t2 : void 0; }; t.exports = function(t2, n2) { return arguments.length < 2 ? i2(o[t2]) : o[t2] && o[t2][n2]; }; }, 8272: function(t, n, e) { var o = e(3058), r = e(911), i2 = e(339), a = e(3649)("iterator"); t.exports = function(t2) { if (null != t2) return r(t2, a) || r(t2, "@@iterator") || i2[o(t2)]; }; }, 6307: function(t, n, e) { var o = e(7583), r = e(8262), i2 = e(8257), a = e(2569), c = e(5637), u = e(8272), s = o.TypeError; t.exports = function(t2, n2) { var e2 = arguments.length < 2 ? u(t2) : n2; if (i2(e2)) return a(r(e2, t2)); throw s(c(t2) + " is not iterable"); }; }, 911: function(t, n, e) { var o = e(8257); t.exports = function(t2, n2) { var e2 = t2[n2]; return null == e2 ? void 0 : o(e2); }; }, 7583: function(t, n, e) { var o = function(t2) { return t2 && t2.Math == Math && t2; }; t.exports = o("object" == typeof globalThis && globalThis) || o("object" == typeof window && window) || o("object" == typeof self && self) || o("object" == typeof e.g && e.g) || /* @__PURE__ */ function() { return this; }() || Function("return this")(); }, 2870: function(t, n, e) { var o = e(7386), r = e(1324), i2 = o({}.hasOwnProperty); t.exports = Object.hasOwn || function(t2, n2) { return i2(r(t2), n2); }; }, 4639: function(t) { t.exports = {}; }, 2716: function(t, n, e) { var o = e(7583); t.exports = function(t2, n2) { var e2 = o.console; e2 && e2.error && (1 == arguments.length ? e2.error(t2) : e2.error(t2, n2)); }; }, 482: function(t, n, e) { var o = e(5897); t.exports = o("document", "documentElement"); }, 275: function(t, n, e) { var o = e(8494), r = e(6544), i2 = e(6668); t.exports = !o && !r(function() { return 7 != Object.defineProperty(i2("div"), "a", { get: function() { return 7; } }).a; }); }, 5044: function(t, n, e) { var o = e(7583), r = e(7386), i2 = e(6544), a = e(9624), c = o.Object, u = r("".split); t.exports = i2(function() { return !c("z").propertyIsEnumerable(0); }) ? function(t2) { return "String" == a(t2) ? u(t2, "") : c(t2); } : c; }, 9734: function(t, n, e) { var o = e(7386), r = e(9212), i2 = e(1314), a = o(Function.toString); r(i2.inspectSource) || (i2.inspectSource = function(t2) { return a(t2); }), t.exports = i2.inspectSource; }, 4402: function(t, n, e) { var o = e(794), r = e(57); t.exports = function(t2, n2) { o(n2) && "cause" in n2 && r(t2, "cause", n2.cause); }; }, 2743: function(t, n, e) { var o, r, i2, a = e(9491), c = e(7583), u = e(7386), s = e(794), l = e(57), f = e(2870), d = e(1314), v = e(9137), p = e(4639), h = "Object already initialized", g = c.TypeError, m2 = c.WeakMap; if (a || d.state) { var _ = d.state || (d.state = new m2()), b = u(_.get), y = u(_.has), w = u(_.set); o = function(t2, n2) { if (y(_, t2)) throw new g(h); return n2.facade = t2, w(_, t2, n2), n2; }, r = function(t2) { return b(_, t2) || {}; }, i2 = function(t2) { return y(_, t2); }; } else { var E = v("state"); p[E] = true, o = function(t2, n2) { if (f(t2, E)) throw new g(h); return n2.facade = t2, l(t2, E, n2), n2; }, r = function(t2) { return f(t2, E) ? t2[E] : {}; }, i2 = function(t2) { return f(t2, E); }; } t.exports = { set: o, get: r, has: i2, enforce: function(t2) { return i2(t2) ? r(t2) : o(t2, {}); }, getterFor: function(t2) { return function(n2) { var e2; if (!s(n2) || (e2 = r(n2)).type !== t2) throw g("Incompatible receiver, " + t2 + " required"); return e2; }; } }; }, 114: function(t, n, e) { var o = e(3649), r = e(339), i2 = o("iterator"), a = Array.prototype; t.exports = function(t2) { return void 0 !== t2 && (r.Array === t2 || a[i2] === t2); }; }, 4521: function(t, n, e) { var o = e(9624); t.exports = Array.isArray || function(t2) { return "Array" == o(t2); }; }, 9212: function(t) { t.exports = function(t2) { return "function" == typeof t2; }; }, 2097: function(t, n, e) { var o = e(7386), r = e(6544), i2 = e(9212), a = e(3058), c = e(5897), u = e(9734), s = function() { }, l = [], f = c("Reflect", "construct"), d = /^\s*(?:class|function)\b/, v = o(d.exec), p = !d.exec(s), h = function(t2) { if (!i2(t2)) return false; try { return f(s, l, t2), true; } catch (t3) { return false; } }, g = function(t2) { if (!i2(t2)) return false; switch (a(t2)) { case "AsyncFunction": case "GeneratorFunction": case "AsyncGeneratorFunction": return false; } try { return p || !!v(d, u(t2)); } catch (t3) { return true; } }; g.sham = true, t.exports = !f || r(function() { var t2; return h(h.call) || !h(Object) || !h(function() { t2 = true; }) || t2; }) ? g : h; }, 4451: function(t, n, e) { var o = e(6544), r = e(9212), i2 = /#|\.prototype\./, a = function(t2, n2) { var e2 = u[c(t2)]; return e2 == l || e2 != s && (r(n2) ? o(n2) : !!n2); }, c = a.normalize = function(t2) { return String(t2).replace(i2, ".").toLowerCase(); }, u = a.data = {}, s = a.NATIVE = "N", l = a.POLYFILL = "P"; t.exports = a; }, 794: function(t, n, e) { var o = e(9212); t.exports = function(t2) { return "object" == typeof t2 ? null !== t2 : o(t2); }; }, 6268: function(t) { t.exports = false; }, 5871: function(t, n, e) { var o = e(7583), r = e(5897), i2 = e(9212), a = e(2447), c = e(7786), u = o.Object; t.exports = c ? function(t2) { return "symbol" == typeof t2; } : function(t2) { var n2 = r("Symbol"); return i2(n2) && a(n2.prototype, u(t2)); }; }, 4026: function(t, n, e) { var o = e(7583), r = e(2938), i2 = e(8262), a = e(2569), c = e(5637), u = e(114), s = e(1825), l = e(2447), f = e(6307), d = e(8272), v = e(7093), p = o.TypeError, h = function(t2, n2) { this.stopped = t2, this.result = n2; }, g = h.prototype; t.exports = function(t2, n2, e2) { var o2, m2, _, b, y, w, E, L = e2 && e2.that, T = !(!e2 || !e2.AS_ENTRIES), x = !(!e2 || !e2.IS_ITERATOR), C = !(!e2 || !e2.INTERRUPTED), O = r(n2, L), I = function(t3) { return o2 && v(o2, "normal", t3), new h(true, t3); }, D = function(t3) { return T ? (a(t3), C ? O(t3[0], t3[1], I) : O(t3[0], t3[1])) : C ? O(t3, I) : O(t3); }; if (x) o2 = t2; else { if (!(m2 = d(t2))) throw p(c(t2) + " is not iterable"); if (u(m2)) { for (_ = 0, b = s(t2); b > _; _++) if ((y = D(t2[_])) && l(g, y)) return y; return new h(false); } o2 = f(t2, m2); } for (w = o2.next; !(E = i2(w, o2)).done; ) { try { y = D(E.value); } catch (t3) { v(o2, "throw", t3); } if ("object" == typeof y && y && l(g, y)) return y; } return new h(false); }; }, 7093: function(t, n, e) { var o = e(8262), r = e(2569), i2 = e(911); t.exports = function(t2, n2, e2) { var a, c; r(t2); try { if (!(a = i2(t2, "return"))) { if ("throw" === n2) throw e2; return e2; } a = o(a, t2); } catch (t3) { c = true, a = t3; } if ("throw" === n2) throw e2; if (c) throw a; return r(a), e2; }; }, 2365: function(t, n, e) { var o, r, i2, a = e(6544), c = e(9212), u = e(3590), s = e(729), l = e(1270), f = e(3649), d = e(6268), v = f("iterator"), p = false; [].keys && ("next" in (i2 = [].keys()) ? (r = s(s(i2))) !== Object.prototype && (o = r) : p = true), null == o || a(function() { var t2 = {}; return o[v].call(t2) !== t2; }) ? o = {} : d && (o = u(o)), c(o[v]) || l(o, v, function() { return this; }), t.exports = { IteratorPrototype: o, BUGGY_SAFARI_ITERATORS: p }; }, 339: function(t) { t.exports = {}; }, 1825: function(t, n, e) { var o = e(97); t.exports = function(t2) { return o(t2.length); }; }, 2095: function(t, n, e) { var o, r, i2, a, c, u, s, l, f = e(7583), d = e(2938), v = e(6683).f, p = e(8117).set, h = e(7020), g = e(3256), m2 = e(6846), _ = e(5354), b = f.MutationObserver || f.WebKitMutationObserver, y = f.document, w = f.process, E = f.Promise, L = v(f, "queueMicrotask"), T = L && L.value; T || (o = function() { var t2, n2; for (_ && (t2 = w.domain) && t2.exit(); r; ) { n2 = r.fn, r = r.next; try { n2(); } catch (t3) { throw r ? a() : i2 = void 0, t3; } } i2 = void 0, t2 && t2.enter(); }, h || _ || m2 || !b || !y ? !g && E && E.resolve ? ((s = E.resolve(void 0)).constructor = E, l = d(s.then, s), a = function() { l(o); }) : _ ? a = function() { w.nextTick(o); } : (p = d(p, f), a = function() { p(o); }) : (c = true, u = y.createTextNode(""), new b(o).observe(u, { characterData: true }), a = function() { u.data = c = !c; })), t.exports = T || function(t2) { var n2 = { fn: t2, next: void 0 }; i2 && (i2.next = n2), r || (r = n2, a()), i2 = n2; }; }, 783: function(t, n, e) { var o = e(7583); t.exports = o.Promise; }, 8640: function(t, n, e) { var o = e(4061), r = e(6544); t.exports = !!Object.getOwnPropertySymbols && !r(function() { var t2 = Symbol(); return !String(t2) || !(Object(t2) instanceof Symbol) || !Symbol.sham && o && o < 41; }); }, 9491: function(t, n, e) { var o = e(7583), r = e(9212), i2 = e(9734), a = o.WeakMap; t.exports = r(a) && /native code/.test(i2(a)); }, 5084: function(t, n, e) { var o = e(8257), r = function(t2) { var n2, e2; this.promise = new t2(function(t3, o2) { if (void 0 !== n2 || void 0 !== e2) throw TypeError("Bad Promise constructor"); n2 = t3, e2 = o2; }), this.resolve = o(n2), this.reject = o(e2); }; t.exports.f = function(t2) { return new r(t2); }; }, 2764: function(t, n, e) { var o = e(8320); t.exports = function(t2, n2) { return void 0 === t2 ? arguments.length < 2 ? "" : n2 : o(t2); }; }, 3590: function(t, n, e) { var o, r = e(2569), i2 = e(8728), a = e(5690), c = e(4639), u = e(482), s = e(6668), l = e(9137), f = l("IE_PROTO"), d = function() { }, v = function(t2) { return "