├── .editorconfig
├── .gitignore
├── .prettierrc
├── .vscode
└── settings.json
├── LICENSE
├── README.md
├── dist
└── joybook.user.js
├── eslint.config.mjs
├── package-lock.json
├── package.json
├── src
├── components
│ ├── avatar.ts
│ ├── initialize.ts
│ ├── listenerAjax.ts
│ ├── quality.ts
│ ├── removeTips.ts
│ └── unlockVideo.ts
├── constant.ts
├── main.ts
├── store.ts
├── styles
│ └── global.scss
├── types
│ ├── bilibili.d.ts
│ ├── modules.d.ts
│ └── vite-env.d.ts
└── utils
│ ├── cookie.ts
│ └── helper.ts
├── tsconfig.json
└── vite.config.ts
/.editorconfig:
--------------------------------------------------------------------------------
1 | root = true
2 |
3 | [*]
4 | charset = utf-8
5 | end_of_line = lf
6 | indent_style = space
7 | indent_size = 2
8 | insert_final_newline = true
9 | tab_width = 2
10 | trim_trailing_whitespace = true
11 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | .cache/
2 | coverage/
3 | src/styles/*.css
4 | node_modules/
5 | *.log
6 | *.map
7 |
8 | # OS generated files
9 | .DS_Store
10 | .DS_Store?
11 | ._*
12 | .Spotlight-V100
13 | .Trashes
14 | ehthumbs.db
15 | Thumbs.db
16 |
--------------------------------------------------------------------------------
/.prettierrc:
--------------------------------------------------------------------------------
1 | {
2 | "useTabs": true,
3 | "printWidth": 80,
4 | "arrowParens": "always",
5 | "semi": true,
6 | "trailingComma": "es5",
7 | "tabWidth": 2,
8 | "singleQuote": false
9 | }
10 |
--------------------------------------------------------------------------------
/.vscode/settings.json:
--------------------------------------------------------------------------------
1 | {
2 | "cSpell.words": [
3 | "bangumi",
4 | "bili",
5 | "bilibili",
6 | "Dede",
7 | "defaulticon",
8 | "iife",
9 | "joybook",
10 | "nocompat",
11 | "playinfo",
12 | "playurl",
13 | "SESSDATA",
14 | "Tampermonkey",
15 | "tseslint",
16 | "userscript",
17 | "xmlhttp"
18 | ],
19 | "typescript.tsdk": "node_modules\\typescript\\lib"
20 | }
21 |
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | MIT License
2 |
3 | Copyright (c) 2020 PClive
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
22 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # Joybook Tampermonkey
2 |
3 | ## 停止维护
4 | 根据b站大会员规则第六条,本脚本暂停维护。
5 |
6 | ## 安装
7 | 1. 在 chrome 应用商店安装 [Tampermonkey BETA](https://chrome.google.com/webstore/detail/tampermonkey-beta/gcalenpjmijncebpfijmoaglllgpjagf)
8 | 2. 点击[脚本](https://github.com/PC6live/joybook-tampermonkey/raw/master/dist/joybook.user.js)或者[Greasy Fork](https://greasyfork.org/zh-CN/scripts/449163-bilibili-joybook)进行安装
9 |
10 | ## 脚本说明
11 |
12 | 1. 共享大会员权限给普通账号
13 | 2. 不同步观看历史、收藏、评论、点评、短评、弹幕、动态、消息等内容。
14 |
15 | ## 操作说明
16 |
17 | 1. 登录账号。
18 | 2. 等待自动刷新直到可以再次登录。
19 | 3. 确认左下角出现刚才登陆过的账号头像(普通用户蓝色边框,大会员用户粉红边框)。
20 | 4. 登录另一个账号(第一步是会员账户,则登录你的账户,反之亦然)。
21 | 5. 刷新。
22 |
23 | ## 注意事项
24 |
25 | 1. 如果无法正常使用,尝试在禁用所有扩展和其他 Tampermonkey 脚本后再次尝试。
26 |
27 | ## 本地构建
28 |
29 | - 安装 [Node.js](https://nodejs.org) Current 或者 LTS 版本
30 | - 安装依赖 npm install
31 | - 构建生产版本使用 npm run build
32 |
--------------------------------------------------------------------------------
/dist/joybook.user.js:
--------------------------------------------------------------------------------
1 | // ==UserScript==
2 | // @name bilibili-joybook
3 | // @namespace https://github.com/PC6live/bilibili-joybook-tampermonkey
4 | // @version 0.0.14
5 | // @author PC6live
6 | // @description 共享大会员
7 | // @license MIT
8 | // @homepage https://github.com/PC6live/bilibili-joybook-tampermonkey
9 | // @supportURL https://github.com/PC6live/bilibili-joybook-tampermonkey/issues
10 | // @match *://*.bilibili.com/*
11 | // @exclude *://passport.bilibili.com/*
12 | // @connect bilibili.com
13 | // @grant GM_addStyle
14 | // @grant GM_cookie
15 | // @grant GM_deleteValue
16 | // @grant GM_getTab
17 | // @grant GM_getValue
18 | // @grant GM_listValues
19 | // @grant GM_saveTab
20 | // @grant GM_setValue
21 | // @grant GM_xmlhttpRequest
22 | // @grant unsafeWindow
23 | // @run-at document-start
24 | // @noframes
25 | // ==/UserScript==
26 |
27 | (o=>{if(typeof GM_addStyle=="function"){GM_addStyle(o);return}const t=document.createElement("style");t.textContent=o,document.head.append(t)})(" .d-none{display:none}.button{display:flex;min-width:32px;min-height:32px;border-radius:50%;overflow:hidden;border:2px solid rgb(138,138,138);cursor:pointer}#joybook-container{z-index:99;width:48px;height:48px;position:fixed;bottom:30px;left:-30px;transition:.3s ease-in-out}#joybook-settings{position:relative;display:flex;flex-direction:column;justify-content:center;align-items:center}.joybook-avatar{box-sizing:border-box;position:relative;cursor:pointer;overflow:hidden;border-radius:50%;background-color:#888;border:4px solid #fb7299;opacity:1;width:100%;height:100%}.joybook-avatar>img{width:100%;height:100%}.joybook-avatar.user{border:4px solid #47b5ff}#settings-options-container{position:relative}#settings-options-container>*{margin:6px 0} ");
28 |
29 | (function () {
30 | 'use strict';
31 |
32 | var _GM_cookie = /* @__PURE__ */ (() => typeof GM_cookie != "undefined" ? GM_cookie : void 0)();
33 | var _GM_deleteValue = /* @__PURE__ */ (() => typeof GM_deleteValue != "undefined" ? GM_deleteValue : void 0)();
34 | var _GM_getTab = /* @__PURE__ */ (() => typeof GM_getTab != "undefined" ? GM_getTab : void 0)();
35 | var _GM_getValue = /* @__PURE__ */ (() => typeof GM_getValue != "undefined" ? GM_getValue : void 0)();
36 | var _GM_listValues = /* @__PURE__ */ (() => typeof GM_listValues != "undefined" ? GM_listValues : void 0)();
37 | var _GM_saveTab = /* @__PURE__ */ (() => typeof GM_saveTab != "undefined" ? GM_saveTab : void 0)();
38 | var _GM_setValue = /* @__PURE__ */ (() => typeof GM_setValue != "undefined" ? GM_setValue : void 0)();
39 | var _GM_xmlhttpRequest = /* @__PURE__ */ (() => typeof GM_xmlhttpRequest != "undefined" ? GM_xmlhttpRequest : void 0)();
40 | var _unsafeWindow = /* @__PURE__ */ (() => typeof unsafeWindow != "undefined" ? unsafeWindow : void 0)();
41 | const USER_INFO_URL = "https://api.bilibili.com/x/web-interface/nav";
42 | const get = (key, defaultValue) => {
43 | return _GM_getValue(key, defaultValue);
44 | };
45 | const set = (key, value) => {
46 | _GM_setValue(key, value);
47 | };
48 | const del = (key) => {
49 | _GM_deleteValue(key);
50 | };
51 | const store = {
52 | get,
53 | set,
54 | del,
55 | getAll: () => {
56 | const key = _GM_listValues();
57 | const obj = {};
58 | key.forEach((v) => {
59 | obj[v] = _GM_getValue(v);
60 | });
61 | return obj;
62 | }
63 | };
64 | const cookie = {
65 | get: (details = {}) => new Promise(
66 | (resolve2) => _GM_cookie.list(details, (cookies) => resolve2(cookies))
67 | ),
68 | set: async (cookies) => Promise.all(
69 | cookies.map(
70 | (v) => new Promise((resolve2) => _GM_cookie.set(v, (error) => resolve2(error)))
71 | )
72 | ),
73 | delete: async (cookies) => Promise.all(
74 | cookies.map(
75 | (v) => new Promise(
76 | (resolve2) => _GM_cookie.delete(v, (error) => resolve2(error))
77 | )
78 | )
79 | ),
80 | deleteAll: async () => cookie.delete(await cookie.get())
81 | };
82 | const sleep = (time = 1) => new Promise((resolve2) => setTimeout(resolve2, 1e3 * time));
83 | const createElement = (str) => {
84 | const el = document.createElement("div");
85 | el.innerHTML = str;
86 | return el.firstElementChild;
87 | };
88 | const deleteAllValue = () => _GM_listValues().forEach((v) => _GM_deleteValue(v));
89 | const message = (message2) => {
90 | console.log(`bili-joybook: ${message2}`);
91 | };
92 | function cookiesReady() {
93 | const { userCookie, vipCookie } = store.getAll();
94 | return !!userCookie && !!vipCookie;
95 | }
96 | function cookieToString(cookies) {
97 | return cookies.map((v) => `${v.name}=${v.value}`).join("; ");
98 | }
99 | const container = document.createElement("div");
100 | function avatar() {
101 | const { userCookie, vipCookie } = store.getAll();
102 | const cookie2 = vipCookie || userCookie;
103 | _GM_xmlhttpRequest({
104 | url: USER_INFO_URL,
105 | cookie: cookie2 && cookieToString(cookie2),
106 | anonymous: true,
107 | headers: {
108 | referer: window.location.href
109 | },
110 | onload(resp) {
111 | const { face, vipStatus } = JSON.parse(resp.response).data;
112 | const avatarClass = vipStatus ? "joybook-avatar" : "joybook-avatar user";
113 | const img = face ? `
` : "";
114 | const html = createElement(`
115 |
116 | ${img}
117 |
118 | `);
119 | if (html) container.appendChild(html);
120 | }
121 | });
122 | }
123 | function handleEvent() {
124 | const delay = 1500;
125 | let timeout;
126 | const onMouseEnter = () => {
127 | if (timeout) window.clearTimeout(timeout);
128 | container.style.transform = "translateX(50px)";
129 | };
130 | const onMouseLeave = () => {
131 | timeout = window.setTimeout(() => {
132 | container.style.transform = "translateX(0px)";
133 | }, delay);
134 | };
135 | const onDeleteClick = async () => {
136 | const result = window.confirm("确定要删除脚本数据吗?");
137 | if (!result) return;
138 | deleteAllValue();
139 | await cookie.deleteAll();
140 | window.location.reload();
141 | };
142 | container.addEventListener("mouseenter", onMouseEnter);
143 | container.addEventListener("mouseleave", onMouseLeave);
144 | container.addEventListener("click", onDeleteClick);
145 | }
146 | const __vite_glob_0_0 = () => {
147 | window.addEventListener("load", () => {
148 | container.id = "joybook-container";
149 | document.body.appendChild(container);
150 | avatar();
151 | handleEvent();
152 | });
153 | };
154 | const getUserType = async () => {
155 | const resp = await fetch(USER_INFO_URL, {
156 | method: "get",
157 | credentials: "include"
158 | });
159 | const result = await resp.json();
160 | return result.data;
161 | };
162 | async function handleLogin(key) {
163 | const storeKey = ["SESSDATA", "DedeUserID", "DedeUserID__ckMd5", "bili_jct"];
164 | const cookies = await cookie.get({ domain: ".bilibili.com" });
165 | store.set(
166 | key,
167 | cookies.filter((v) => storeKey.includes(v.name))
168 | );
169 | await cookie.deleteAll();
170 | const { userCookie, vipCookie } = store.getAll();
171 | if (userCookie && vipCookie) {
172 | await cookie.set(userCookie);
173 | }
174 | window.location.reload();
175 | }
176 | const __vite_glob_0_1 = async () => {
177 | const { isLogin, vipStatus } = await getUserType();
178 | if (!isLogin || cookiesReady()) return;
179 | const user = vipStatus ? "vipCookie" : "userCookie";
180 | await handleLogin(user);
181 | };
182 | var events = ["load", "loadend", "timeout", "error", "readystatechange", "abort"];
183 | var OriginXhr = "__origin_xhr";
184 | function configEvent(event, xhrProxy) {
185 | var e = {};
186 | for (var attr in event) e[attr] = event[attr];
187 | e.target = e.currentTarget = xhrProxy;
188 | return e;
189 | }
190 | function hook(proxy2, win) {
191 | win = win || window;
192 | var originXhr = win.XMLHttpRequest;
193 | var hooking = true;
194 | var HookXMLHttpRequest = function() {
195 | var xhr = new originXhr();
196 | for (var i = 0; i < events.length; ++i) {
197 | var key = "on" + events[i];
198 | if (xhr[key] === void 0) xhr[key] = null;
199 | }
200 | for (var attr in xhr) {
201 | var type = "";
202 | try {
203 | type = typeof xhr[attr];
204 | } catch (e) {
205 | }
206 | if (type === "function") {
207 | this[attr] = hookFunction(attr);
208 | } else if (attr !== OriginXhr) {
209 | Object.defineProperty(this, attr, {
210 | get: getterFactory(attr),
211 | set: setterFactory(attr),
212 | enumerable: true
213 | });
214 | }
215 | }
216 | var that = this;
217 | xhr.getProxy = function() {
218 | return that;
219 | };
220 | this[OriginXhr] = xhr;
221 | };
222 | HookXMLHttpRequest.prototype = originXhr.prototype;
223 | HookXMLHttpRequest.prototype.constructor = HookXMLHttpRequest;
224 | win.XMLHttpRequest = HookXMLHttpRequest;
225 | Object.assign(win.XMLHttpRequest, { UNSENT: 0, OPENED: 1, HEADERS_RECEIVED: 2, LOADING: 3, DONE: 4 });
226 | function getterFactory(attr) {
227 | return function() {
228 | var originValue = this[OriginXhr][attr];
229 | if (hooking) {
230 | var v = this.hasOwnProperty(attr + "_") ? this[attr + "_"] : originValue;
231 | var attrGetterHook = (proxy2[attr] || {})["getter"];
232 | return attrGetterHook && attrGetterHook(v, this) || v;
233 | } else {
234 | return originValue;
235 | }
236 | };
237 | }
238 | function setterFactory(attr) {
239 | return function(v) {
240 | var xhr = this[OriginXhr];
241 | if (hooking) {
242 | var that = this;
243 | var hook2 = proxy2[attr];
244 | if (attr.substring(0, 2) === "on") {
245 | that[attr + "_"] = v;
246 | xhr[attr] = function(e) {
247 | e = configEvent(e, that);
248 | var ret = proxy2[attr] && proxy2[attr].call(that, xhr, e);
249 | ret || v.call(that, e);
250 | };
251 | } else {
252 | var attrSetterHook = (hook2 || {})["setter"];
253 | v = attrSetterHook && attrSetterHook(v, that) || v;
254 | this[attr + "_"] = v;
255 | try {
256 | xhr[attr] = v;
257 | } catch (e) {
258 | }
259 | }
260 | } else {
261 | xhr[attr] = v;
262 | }
263 | };
264 | }
265 | function hookFunction(fun) {
266 | return function() {
267 | var args = [].slice.call(arguments);
268 | if (proxy2[fun] && hooking) {
269 | var ret = proxy2[fun].call(this, args, this[OriginXhr]);
270 | if (ret) return ret;
271 | }
272 | return this[OriginXhr][fun].apply(this[OriginXhr], args);
273 | };
274 | }
275 | function unHook() {
276 | hooking = false;
277 | if (win.XMLHttpRequest === HookXMLHttpRequest) {
278 | win.XMLHttpRequest = originXhr;
279 | HookXMLHttpRequest.prototype.constructor = originXhr;
280 | originXhr = void 0;
281 | }
282 | }
283 | return { originXhr, unHook };
284 | }
285 | var eventLoad = events[0], eventLoadEnd = events[1], eventTimeout = events[2], eventError = events[3], eventReadyStateChange = events[4], eventAbort = events[5];
286 | var prototype = "prototype";
287 | function proxy(proxy2, win) {
288 | win = win || window;
289 | return proxyAjax(proxy2, win);
290 | }
291 | function trim(str) {
292 | return str.replace(/^\s+|\s+$/g, "");
293 | }
294 | function getEventTarget(xhr) {
295 | return xhr.watcher || (xhr.watcher = document.createElement("a"));
296 | }
297 | function triggerListener(xhr, name) {
298 | var xhrProxy = xhr.getProxy();
299 | var callback = "on" + name + "_";
300 | var event = configEvent({ type: name }, xhrProxy);
301 | xhrProxy[callback] && xhrProxy[callback](event);
302 | var evt;
303 | if (typeof Event === "function") {
304 | evt = new Event(name, { bubbles: false });
305 | } else {
306 | evt = document.createEvent("Event");
307 | evt.initEvent(name, false, true);
308 | }
309 | getEventTarget(xhr).dispatchEvent(evt);
310 | }
311 | function Handler(xhr) {
312 | this.xhr = xhr;
313 | this.xhrProxy = xhr.getProxy();
314 | }
315 | Handler[prototype] = /* @__PURE__ */ Object.create({
316 | resolve: function resolve(response) {
317 | var xhrProxy = this.xhrProxy;
318 | var xhr = this.xhr;
319 | xhrProxy.readyState = 4;
320 | xhr.resHeader = response.headers;
321 | xhrProxy.response = xhrProxy.responseText = response.response;
322 | xhrProxy.statusText = response.statusText;
323 | xhrProxy.status = response.status;
324 | triggerListener(xhr, eventReadyStateChange);
325 | triggerListener(xhr, eventLoad);
326 | triggerListener(xhr, eventLoadEnd);
327 | },
328 | reject: function reject(error) {
329 | this.xhrProxy.status = 0;
330 | triggerListener(this.xhr, error.type);
331 | triggerListener(this.xhr, eventLoadEnd);
332 | }
333 | });
334 | function makeHandler(next) {
335 | function sub(xhr) {
336 | Handler.call(this, xhr);
337 | }
338 | sub[prototype] = Object.create(Handler[prototype]);
339 | sub[prototype].next = next;
340 | return sub;
341 | }
342 | var RequestHandler = makeHandler(function(rq) {
343 | var xhr = this.xhr;
344 | rq = rq || xhr.config;
345 | xhr.withCredentials = rq.withCredentials;
346 | xhr.open(rq.method, rq.url, rq.async !== false, rq.user, rq.password);
347 | for (var key in rq.headers) {
348 | xhr.setRequestHeader(key, rq.headers[key]);
349 | }
350 | xhr.send(rq.body);
351 | });
352 | var ResponseHandler = makeHandler(function(response) {
353 | this.resolve(response);
354 | });
355 | var ErrorHandler = makeHandler(function(error) {
356 | this.reject(error);
357 | });
358 | function proxyAjax(proxy2, win) {
359 | var onRequest = proxy2.onRequest, onResponse = proxy2.onResponse, onError = proxy2.onError;
360 | function getResponseData(xhrProxy) {
361 | var responseType = xhrProxy.responseType;
362 | if (!responseType || responseType === "text") {
363 | return xhrProxy.responseText;
364 | }
365 | var response = xhrProxy.response;
366 | if (responseType === "json" && !response) {
367 | try {
368 | return JSON.parse(xhrProxy.responseText);
369 | } catch (e) {
370 | console.warn(e);
371 | }
372 | }
373 | return response;
374 | }
375 | function handleResponse(xhr, xhrProxy) {
376 | var handler = new ResponseHandler(xhr);
377 | var ret = {
378 | response: getResponseData(xhrProxy),
379 | status: xhrProxy.status,
380 | statusText: xhrProxy.statusText,
381 | config: xhr.config,
382 | headers: xhr.resHeader || xhr.getAllResponseHeaders().split("\r\n").reduce(function(ob, str) {
383 | if (str === "") return ob;
384 | var m = str.split(":");
385 | ob[m.shift()] = trim(m.join(":"));
386 | return ob;
387 | }, {})
388 | };
389 | if (!onResponse) return handler.resolve(ret);
390 | onResponse(ret, handler);
391 | }
392 | function onerror(xhr, xhrProxy, error, errorType) {
393 | var handler = new ErrorHandler(xhr);
394 | error = { config: xhr.config, error, type: errorType };
395 | if (onError) {
396 | onError(error, handler);
397 | } else {
398 | handler.next(error);
399 | }
400 | }
401 | function preventXhrProxyCallback() {
402 | return true;
403 | }
404 | function errorCallback(errorType) {
405 | return function(xhr, e) {
406 | onerror(xhr, this, e, errorType);
407 | return true;
408 | };
409 | }
410 | function stateChangeCallback(xhr, xhrProxy) {
411 | if (xhr.readyState === 4 && xhr.status !== 0) {
412 | handleResponse(xhr, xhrProxy);
413 | } else if (xhr.readyState !== 4) {
414 | triggerListener(xhr, eventReadyStateChange);
415 | }
416 | return true;
417 | }
418 | var { originXhr, unHook } = hook({
419 | onload: preventXhrProxyCallback,
420 | onloadend: preventXhrProxyCallback,
421 | onerror: errorCallback(eventError),
422 | ontimeout: errorCallback(eventTimeout),
423 | onabort: errorCallback(eventAbort),
424 | onreadystatechange: function(xhr) {
425 | return stateChangeCallback(xhr, this);
426 | },
427 | open: function open(args, xhr) {
428 | var _this = this;
429 | var config = xhr.config = { headers: {} };
430 | config.method = args[0];
431 | config.url = args[1];
432 | config.async = args[2];
433 | config.user = args[3];
434 | config.password = args[4];
435 | config.xhr = xhr;
436 | var evName = "on" + eventReadyStateChange;
437 | if (!xhr[evName]) {
438 | xhr[evName] = function() {
439 | return stateChangeCallback(xhr, _this);
440 | };
441 | }
442 | if (onRequest) return true;
443 | },
444 | send: function(args, xhr) {
445 | var config = xhr.config;
446 | config.withCredentials = xhr.withCredentials;
447 | config.body = args[0];
448 | if (onRequest) {
449 | var req = function() {
450 | onRequest(config, new RequestHandler(xhr));
451 | };
452 | config.async === false ? req() : setTimeout(req);
453 | return true;
454 | }
455 | },
456 | setRequestHeader: function(args, xhr) {
457 | xhr.config.headers[args[0].toLowerCase()] = args[1];
458 | if (onRequest) return true;
459 | },
460 | addEventListener: function(args, xhr) {
461 | var _this = this;
462 | if (events.indexOf(args[0]) !== -1) {
463 | var handler = args[1];
464 | getEventTarget(xhr).addEventListener(args[0], function(e) {
465 | var event = configEvent(e, _this);
466 | event.type = args[0];
467 | event.isTrusted = true;
468 | handler.call(_this, event);
469 | });
470 | return true;
471 | }
472 | },
473 | getAllResponseHeaders: function(_, xhr) {
474 | var headers = xhr.resHeader;
475 | if (headers) {
476 | var header = "";
477 | for (var key in headers) {
478 | header += key + ": " + headers[key] + "\r\n";
479 | }
480 | return header;
481 | }
482 | },
483 | getResponseHeader: function(args, xhr) {
484 | var headers = xhr.resHeader;
485 | if (headers) {
486 | return headers[(args[0] || "").toLowerCase()];
487 | }
488 | }
489 | }, win);
490 | return {
491 | originXhr,
492 | unProxy: unHook
493 | };
494 | }
495 | const reloadByLogin = (url) => {
496 | if (url.includes("/passport-login/web/login")) {
497 | message("login reload");
498 | sleep(1).then(() => window.location.reload());
499 | }
500 | };
501 | const listenLogout = async (url) => {
502 | if (url.includes("/login/exit")) {
503 | store.del("userCookie");
504 | await cookie.deleteAll();
505 | window.location.reload();
506 | }
507 | };
508 | const request = (config) => {
509 | return new Promise((resolve2) => {
510 | const { vipCookie } = store.getAll();
511 | if (!vipCookie) return;
512 | const url = new URL(config.url, window.location.href);
513 | _GM_xmlhttpRequest({
514 | method: config.method,
515 | url: url.href,
516 | anonymous: true,
517 | cookie: cookieToString(vipCookie),
518 | headers: {
519 | referer: window.location.href
520 | },
521 | responseType: "json",
522 | onload(event) {
523 | return resolve2(event.response);
524 | },
525 | onabort() {
526 | return resolve2();
527 | },
528 | onerror() {
529 | return resolve2();
530 | }
531 | });
532 | });
533 | };
534 | const handlers = [
535 | {
536 | // 视频信息
537 | url: "api.bilibili.com/x/player/wbi/playurl",
538 | on: (userResponse, vipResponse) => {
539 | delete vipResponse.data.last_play_cid;
540 | delete vipResponse.data.last_play_time;
541 | userResponse.data = {
542 | ...userResponse.data,
543 | ...vipResponse.data
544 | };
545 | return userResponse;
546 | }
547 | },
548 | {
549 | // 用户信息
550 | url: "api.bilibili.com/x/player/wbi/v2",
551 | on: (userResponse, vipResponse) => {
552 | userResponse.data.vip = vipResponse.data.vip;
553 | return userResponse;
554 | }
555 | },
556 | {
557 | // bangumi 信息
558 | url: "api.bilibili.com/pgc/player/web/v2/playurl",
559 | on: (userResponse, vipResponse) => {
560 | userResponse.result = vipResponse.result;
561 | return userResponse;
562 | }
563 | }
564 | ];
565 | const __vite_glob_0_2 = () => {
566 | proxy(
567 | {
568 | //请求发起前进入
569 | onRequest: (config, handler) => {
570 | reloadByLogin(config.url);
571 | listenLogout(config.url);
572 | handler.next(config);
573 | },
574 | //请求发生错误时进入,比如超时;注意,不包括http状态码错误,如404仍然会认为请求成功
575 | onError: (err, handler) => {
576 | handler.next(err);
577 | },
578 | //请求成功后进入
579 | onResponse: async (response, handler) => {
580 | const requestUrl = response.config.url;
581 | for (const { url, on } of handlers) {
582 | if (requestUrl.includes(url)) {
583 | const vipResponse = await request(response.config);
584 | const userResponse = JSON.parse(response.response);
585 | if (vipResponse) {
586 | response.response = on(
587 | structuredClone(userResponse),
588 | structuredClone(vipResponse)
589 | );
590 | return handler.resolve(response);
591 | }
592 | }
593 | }
594 | handler.next(response);
595 | }
596 | },
597 | _unsafeWindow
598 | );
599 | };
600 | const __vite_glob_0_3 = async () => {
601 | let qualityCookie = (await cookie.get({ name: "CURRENT_QUALITY" }))[0];
602 | if (!qualityCookie) {
603 | qualityCookie = {
604 | domain: ".bilibili.com",
605 | hostOnly: false,
606 | httpOnly: false,
607 | name: "CURRENT_QUALITY",
608 | path: "/",
609 | sameSite: "unspecified",
610 | secure: false,
611 | session: false,
612 | value: "120"
613 | };
614 | } else {
615 | qualityCookie.value = "120";
616 | }
617 | _GM_cookie.set(qualityCookie);
618 | Object.defineProperty(_unsafeWindow, "__playinfo__", {
619 | configurable: true,
620 | set() {
621 | },
622 | get() {
623 | }
624 | });
625 | };
626 | const __vite_glob_0_4 = () => {
627 | window.addEventListener("DOMContentLoaded", () => {
628 | var _a;
629 | const tips = document.querySelector(".adblock-tips");
630 | (_a = tips == null ? void 0 : tips.parentElement) == null ? void 0 : _a.removeChild(tips);
631 | });
632 | };
633 | const __vite_glob_0_5 = () => {
634 | const { vipCookie, userCookie } = store.getAll();
635 | if (!vipCookie || !userCookie) return;
636 | if (window.location.pathname.includes("bangumi")) {
637 | _GM_getTab(async (tab) => {
638 | if (tab.dirty) {
639 | await cookie.set(userCookie);
640 | tab.dirty = false;
641 | _GM_saveTab(tab);
642 | } else {
643 | await cookie.set(vipCookie);
644 | tab.dirty = true;
645 | _GM_saveTab(tab);
646 | window.location.reload();
647 | }
648 | });
649 | }
650 | };
651 | async function main() {
652 | const components = /* @__PURE__ */ Object.assign({
653 | "./components/avatar.ts": __vite_glob_0_0,
654 | "./components/initialize.ts": __vite_glob_0_1,
655 | "./components/listenerAjax.ts": __vite_glob_0_2,
656 | "./components/quality.ts": __vite_glob_0_3,
657 | "./components/removeTips.ts": __vite_glob_0_4,
658 | "./components/unlockVideo.ts": __vite_glob_0_5
659 | });
660 | for (const script of Object.values(components)) {
661 | script();
662 | }
663 | message("所有组件加载完成");
664 | }
665 | main();
666 |
667 | })();
--------------------------------------------------------------------------------
/eslint.config.mjs:
--------------------------------------------------------------------------------
1 | // @ts-check
2 |
3 | import eslint from "@eslint/js";
4 | import tseslint from "typescript-eslint";
5 |
6 | export default tseslint.config(
7 | eslint.configs.recommended,
8 | ...tseslint.configs.recommended,
9 | {
10 | ignores: ["dist"],
11 | rules: {
12 | "@typescript-eslint/no-explicit-any": "off",
13 | },
14 | }
15 | );
16 |
--------------------------------------------------------------------------------
/package-lock.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "bili-joybook",
3 | "version": "0.0.14",
4 | "lockfileVersion": 3,
5 | "requires": true,
6 | "packages": {
7 | "": {
8 | "name": "bili-joybook",
9 | "version": "0.0.14",
10 | "license": "MIT",
11 | "dependencies": {
12 | "ajax-hook": "^3.0.3"
13 | },
14 | "devDependencies": {
15 | "@eslint/js": "^9.11.0",
16 | "@types/eslint__js": "^8.42.3",
17 | "eslint": "^9.11.0",
18 | "prettier": "^3.3.3",
19 | "sass": "^1.79.3",
20 | "type-fest": "^4.26.1",
21 | "typescript": "^5.6.2",
22 | "typescript-eslint": "^8.6.0",
23 | "vite": "^5.4.7",
24 | "vite-plugin-monkey": "^4.0.6"
25 | }
26 | },
27 | "node_modules/@esbuild/aix-ppc64": {
28 | "version": "0.21.5",
29 | "resolved": "https://registry.npmmirror.com/@esbuild/aix-ppc64/-/aix-ppc64-0.21.5.tgz",
30 | "integrity": "sha512-1SDgH6ZSPTlggy1yI6+Dbkiz8xzpHJEVAlF/AM1tHPLsf5STom9rwtjE4hKAF20FfXXNTFqEYXyJNWh1GiZedQ==",
31 | "cpu": [
32 | "ppc64"
33 | ],
34 | "dev": true,
35 | "license": "MIT",
36 | "optional": true,
37 | "os": [
38 | "aix"
39 | ],
40 | "engines": {
41 | "node": ">=12"
42 | }
43 | },
44 | "node_modules/@esbuild/android-arm": {
45 | "version": "0.21.5",
46 | "resolved": "https://registry.npmmirror.com/@esbuild/android-arm/-/android-arm-0.21.5.tgz",
47 | "integrity": "sha512-vCPvzSjpPHEi1siZdlvAlsPxXl7WbOVUBBAowWug4rJHb68Ox8KualB+1ocNvT5fjv6wpkX6o/iEpbDrf68zcg==",
48 | "cpu": [
49 | "arm"
50 | ],
51 | "dev": true,
52 | "license": "MIT",
53 | "optional": true,
54 | "os": [
55 | "android"
56 | ],
57 | "engines": {
58 | "node": ">=12"
59 | }
60 | },
61 | "node_modules/@esbuild/android-arm64": {
62 | "version": "0.21.5",
63 | "resolved": "https://registry.npmmirror.com/@esbuild/android-arm64/-/android-arm64-0.21.5.tgz",
64 | "integrity": "sha512-c0uX9VAUBQ7dTDCjq+wdyGLowMdtR/GoC2U5IYk/7D1H1JYC0qseD7+11iMP2mRLN9RcCMRcjC4YMclCzGwS/A==",
65 | "cpu": [
66 | "arm64"
67 | ],
68 | "dev": true,
69 | "license": "MIT",
70 | "optional": true,
71 | "os": [
72 | "android"
73 | ],
74 | "engines": {
75 | "node": ">=12"
76 | }
77 | },
78 | "node_modules/@esbuild/android-x64": {
79 | "version": "0.21.5",
80 | "resolved": "https://registry.npmmirror.com/@esbuild/android-x64/-/android-x64-0.21.5.tgz",
81 | "integrity": "sha512-D7aPRUUNHRBwHxzxRvp856rjUHRFW1SdQATKXH2hqA0kAZb1hKmi02OpYRacl0TxIGz/ZmXWlbZgjwWYaCakTA==",
82 | "cpu": [
83 | "x64"
84 | ],
85 | "dev": true,
86 | "license": "MIT",
87 | "optional": true,
88 | "os": [
89 | "android"
90 | ],
91 | "engines": {
92 | "node": ">=12"
93 | }
94 | },
95 | "node_modules/@esbuild/darwin-arm64": {
96 | "version": "0.21.5",
97 | "resolved": "https://registry.npmmirror.com/@esbuild/darwin-arm64/-/darwin-arm64-0.21.5.tgz",
98 | "integrity": "sha512-DwqXqZyuk5AiWWf3UfLiRDJ5EDd49zg6O9wclZ7kUMv2WRFr4HKjXp/5t8JZ11QbQfUS6/cRCKGwYhtNAY88kQ==",
99 | "cpu": [
100 | "arm64"
101 | ],
102 | "dev": true,
103 | "license": "MIT",
104 | "optional": true,
105 | "os": [
106 | "darwin"
107 | ],
108 | "engines": {
109 | "node": ">=12"
110 | }
111 | },
112 | "node_modules/@esbuild/darwin-x64": {
113 | "version": "0.21.5",
114 | "resolved": "https://registry.npmmirror.com/@esbuild/darwin-x64/-/darwin-x64-0.21.5.tgz",
115 | "integrity": "sha512-se/JjF8NlmKVG4kNIuyWMV/22ZaerB+qaSi5MdrXtd6R08kvs2qCN4C09miupktDitvh8jRFflwGFBQcxZRjbw==",
116 | "cpu": [
117 | "x64"
118 | ],
119 | "dev": true,
120 | "license": "MIT",
121 | "optional": true,
122 | "os": [
123 | "darwin"
124 | ],
125 | "engines": {
126 | "node": ">=12"
127 | }
128 | },
129 | "node_modules/@esbuild/freebsd-arm64": {
130 | "version": "0.21.5",
131 | "resolved": "https://registry.npmmirror.com/@esbuild/freebsd-arm64/-/freebsd-arm64-0.21.5.tgz",
132 | "integrity": "sha512-5JcRxxRDUJLX8JXp/wcBCy3pENnCgBR9bN6JsY4OmhfUtIHe3ZW0mawA7+RDAcMLrMIZaf03NlQiX9DGyB8h4g==",
133 | "cpu": [
134 | "arm64"
135 | ],
136 | "dev": true,
137 | "license": "MIT",
138 | "optional": true,
139 | "os": [
140 | "freebsd"
141 | ],
142 | "engines": {
143 | "node": ">=12"
144 | }
145 | },
146 | "node_modules/@esbuild/freebsd-x64": {
147 | "version": "0.21.5",
148 | "resolved": "https://registry.npmmirror.com/@esbuild/freebsd-x64/-/freebsd-x64-0.21.5.tgz",
149 | "integrity": "sha512-J95kNBj1zkbMXtHVH29bBriQygMXqoVQOQYA+ISs0/2l3T9/kj42ow2mpqerRBxDJnmkUDCaQT/dfNXWX/ZZCQ==",
150 | "cpu": [
151 | "x64"
152 | ],
153 | "dev": true,
154 | "license": "MIT",
155 | "optional": true,
156 | "os": [
157 | "freebsd"
158 | ],
159 | "engines": {
160 | "node": ">=12"
161 | }
162 | },
163 | "node_modules/@esbuild/linux-arm": {
164 | "version": "0.21.5",
165 | "resolved": "https://registry.npmmirror.com/@esbuild/linux-arm/-/linux-arm-0.21.5.tgz",
166 | "integrity": "sha512-bPb5AHZtbeNGjCKVZ9UGqGwo8EUu4cLq68E95A53KlxAPRmUyYv2D6F0uUI65XisGOL1hBP5mTronbgo+0bFcA==",
167 | "cpu": [
168 | "arm"
169 | ],
170 | "dev": true,
171 | "license": "MIT",
172 | "optional": true,
173 | "os": [
174 | "linux"
175 | ],
176 | "engines": {
177 | "node": ">=12"
178 | }
179 | },
180 | "node_modules/@esbuild/linux-arm64": {
181 | "version": "0.21.5",
182 | "resolved": "https://registry.npmmirror.com/@esbuild/linux-arm64/-/linux-arm64-0.21.5.tgz",
183 | "integrity": "sha512-ibKvmyYzKsBeX8d8I7MH/TMfWDXBF3db4qM6sy+7re0YXya+K1cem3on9XgdT2EQGMu4hQyZhan7TeQ8XkGp4Q==",
184 | "cpu": [
185 | "arm64"
186 | ],
187 | "dev": true,
188 | "license": "MIT",
189 | "optional": true,
190 | "os": [
191 | "linux"
192 | ],
193 | "engines": {
194 | "node": ">=12"
195 | }
196 | },
197 | "node_modules/@esbuild/linux-ia32": {
198 | "version": "0.21.5",
199 | "resolved": "https://registry.npmmirror.com/@esbuild/linux-ia32/-/linux-ia32-0.21.5.tgz",
200 | "integrity": "sha512-YvjXDqLRqPDl2dvRODYmmhz4rPeVKYvppfGYKSNGdyZkA01046pLWyRKKI3ax8fbJoK5QbxblURkwK/MWY18Tg==",
201 | "cpu": [
202 | "ia32"
203 | ],
204 | "dev": true,
205 | "license": "MIT",
206 | "optional": true,
207 | "os": [
208 | "linux"
209 | ],
210 | "engines": {
211 | "node": ">=12"
212 | }
213 | },
214 | "node_modules/@esbuild/linux-loong64": {
215 | "version": "0.21.5",
216 | "resolved": "https://registry.npmmirror.com/@esbuild/linux-loong64/-/linux-loong64-0.21.5.tgz",
217 | "integrity": "sha512-uHf1BmMG8qEvzdrzAqg2SIG/02+4/DHB6a9Kbya0XDvwDEKCoC8ZRWI5JJvNdUjtciBGFQ5PuBlpEOXQj+JQSg==",
218 | "cpu": [
219 | "loong64"
220 | ],
221 | "dev": true,
222 | "license": "MIT",
223 | "optional": true,
224 | "os": [
225 | "linux"
226 | ],
227 | "engines": {
228 | "node": ">=12"
229 | }
230 | },
231 | "node_modules/@esbuild/linux-mips64el": {
232 | "version": "0.21.5",
233 | "resolved": "https://registry.npmmirror.com/@esbuild/linux-mips64el/-/linux-mips64el-0.21.5.tgz",
234 | "integrity": "sha512-IajOmO+KJK23bj52dFSNCMsz1QP1DqM6cwLUv3W1QwyxkyIWecfafnI555fvSGqEKwjMXVLokcV5ygHW5b3Jbg==",
235 | "cpu": [
236 | "mips64el"
237 | ],
238 | "dev": true,
239 | "license": "MIT",
240 | "optional": true,
241 | "os": [
242 | "linux"
243 | ],
244 | "engines": {
245 | "node": ">=12"
246 | }
247 | },
248 | "node_modules/@esbuild/linux-ppc64": {
249 | "version": "0.21.5",
250 | "resolved": "https://registry.npmmirror.com/@esbuild/linux-ppc64/-/linux-ppc64-0.21.5.tgz",
251 | "integrity": "sha512-1hHV/Z4OEfMwpLO8rp7CvlhBDnjsC3CttJXIhBi+5Aj5r+MBvy4egg7wCbe//hSsT+RvDAG7s81tAvpL2XAE4w==",
252 | "cpu": [
253 | "ppc64"
254 | ],
255 | "dev": true,
256 | "license": "MIT",
257 | "optional": true,
258 | "os": [
259 | "linux"
260 | ],
261 | "engines": {
262 | "node": ">=12"
263 | }
264 | },
265 | "node_modules/@esbuild/linux-riscv64": {
266 | "version": "0.21.5",
267 | "resolved": "https://registry.npmmirror.com/@esbuild/linux-riscv64/-/linux-riscv64-0.21.5.tgz",
268 | "integrity": "sha512-2HdXDMd9GMgTGrPWnJzP2ALSokE/0O5HhTUvWIbD3YdjME8JwvSCnNGBnTThKGEB91OZhzrJ4qIIxk/SBmyDDA==",
269 | "cpu": [
270 | "riscv64"
271 | ],
272 | "dev": true,
273 | "license": "MIT",
274 | "optional": true,
275 | "os": [
276 | "linux"
277 | ],
278 | "engines": {
279 | "node": ">=12"
280 | }
281 | },
282 | "node_modules/@esbuild/linux-s390x": {
283 | "version": "0.21.5",
284 | "resolved": "https://registry.npmmirror.com/@esbuild/linux-s390x/-/linux-s390x-0.21.5.tgz",
285 | "integrity": "sha512-zus5sxzqBJD3eXxwvjN1yQkRepANgxE9lgOW2qLnmr8ikMTphkjgXu1HR01K4FJg8h1kEEDAqDcZQtbrRnB41A==",
286 | "cpu": [
287 | "s390x"
288 | ],
289 | "dev": true,
290 | "license": "MIT",
291 | "optional": true,
292 | "os": [
293 | "linux"
294 | ],
295 | "engines": {
296 | "node": ">=12"
297 | }
298 | },
299 | "node_modules/@esbuild/linux-x64": {
300 | "version": "0.21.5",
301 | "resolved": "https://registry.npmmirror.com/@esbuild/linux-x64/-/linux-x64-0.21.5.tgz",
302 | "integrity": "sha512-1rYdTpyv03iycF1+BhzrzQJCdOuAOtaqHTWJZCWvijKD2N5Xu0TtVC8/+1faWqcP9iBCWOmjmhoH94dH82BxPQ==",
303 | "cpu": [
304 | "x64"
305 | ],
306 | "dev": true,
307 | "license": "MIT",
308 | "optional": true,
309 | "os": [
310 | "linux"
311 | ],
312 | "engines": {
313 | "node": ">=12"
314 | }
315 | },
316 | "node_modules/@esbuild/netbsd-x64": {
317 | "version": "0.21.5",
318 | "resolved": "https://registry.npmmirror.com/@esbuild/netbsd-x64/-/netbsd-x64-0.21.5.tgz",
319 | "integrity": "sha512-Woi2MXzXjMULccIwMnLciyZH4nCIMpWQAs049KEeMvOcNADVxo0UBIQPfSmxB3CWKedngg7sWZdLvLczpe0tLg==",
320 | "cpu": [
321 | "x64"
322 | ],
323 | "dev": true,
324 | "license": "MIT",
325 | "optional": true,
326 | "os": [
327 | "netbsd"
328 | ],
329 | "engines": {
330 | "node": ">=12"
331 | }
332 | },
333 | "node_modules/@esbuild/openbsd-x64": {
334 | "version": "0.21.5",
335 | "resolved": "https://registry.npmmirror.com/@esbuild/openbsd-x64/-/openbsd-x64-0.21.5.tgz",
336 | "integrity": "sha512-HLNNw99xsvx12lFBUwoT8EVCsSvRNDVxNpjZ7bPn947b8gJPzeHWyNVhFsaerc0n3TsbOINvRP2byTZ5LKezow==",
337 | "cpu": [
338 | "x64"
339 | ],
340 | "dev": true,
341 | "license": "MIT",
342 | "optional": true,
343 | "os": [
344 | "openbsd"
345 | ],
346 | "engines": {
347 | "node": ">=12"
348 | }
349 | },
350 | "node_modules/@esbuild/sunos-x64": {
351 | "version": "0.21.5",
352 | "resolved": "https://registry.npmmirror.com/@esbuild/sunos-x64/-/sunos-x64-0.21.5.tgz",
353 | "integrity": "sha512-6+gjmFpfy0BHU5Tpptkuh8+uw3mnrvgs+dSPQXQOv3ekbordwnzTVEb4qnIvQcYXq6gzkyTnoZ9dZG+D4garKg==",
354 | "cpu": [
355 | "x64"
356 | ],
357 | "dev": true,
358 | "license": "MIT",
359 | "optional": true,
360 | "os": [
361 | "sunos"
362 | ],
363 | "engines": {
364 | "node": ">=12"
365 | }
366 | },
367 | "node_modules/@esbuild/win32-arm64": {
368 | "version": "0.21.5",
369 | "resolved": "https://registry.npmmirror.com/@esbuild/win32-arm64/-/win32-arm64-0.21.5.tgz",
370 | "integrity": "sha512-Z0gOTd75VvXqyq7nsl93zwahcTROgqvuAcYDUr+vOv8uHhNSKROyU961kgtCD1e95IqPKSQKH7tBTslnS3tA8A==",
371 | "cpu": [
372 | "arm64"
373 | ],
374 | "dev": true,
375 | "license": "MIT",
376 | "optional": true,
377 | "os": [
378 | "win32"
379 | ],
380 | "engines": {
381 | "node": ">=12"
382 | }
383 | },
384 | "node_modules/@esbuild/win32-ia32": {
385 | "version": "0.21.5",
386 | "resolved": "https://registry.npmmirror.com/@esbuild/win32-ia32/-/win32-ia32-0.21.5.tgz",
387 | "integrity": "sha512-SWXFF1CL2RVNMaVs+BBClwtfZSvDgtL//G/smwAc5oVK/UPu2Gu9tIaRgFmYFFKrmg3SyAjSrElf0TiJ1v8fYA==",
388 | "cpu": [
389 | "ia32"
390 | ],
391 | "dev": true,
392 | "license": "MIT",
393 | "optional": true,
394 | "os": [
395 | "win32"
396 | ],
397 | "engines": {
398 | "node": ">=12"
399 | }
400 | },
401 | "node_modules/@esbuild/win32-x64": {
402 | "version": "0.21.5",
403 | "resolved": "https://registry.npmmirror.com/@esbuild/win32-x64/-/win32-x64-0.21.5.tgz",
404 | "integrity": "sha512-tQd/1efJuzPC6rCFwEvLtci/xNFcTZknmXs98FYDfGE4wP9ClFV98nyKrzJKVPMhdDnjzLhdUyMX4PsQAPjwIw==",
405 | "cpu": [
406 | "x64"
407 | ],
408 | "dev": true,
409 | "license": "MIT",
410 | "optional": true,
411 | "os": [
412 | "win32"
413 | ],
414 | "engines": {
415 | "node": ">=12"
416 | }
417 | },
418 | "node_modules/@eslint-community/eslint-utils": {
419 | "version": "4.4.0",
420 | "resolved": "https://registry.npmmirror.com/@eslint-community/eslint-utils/-/eslint-utils-4.4.0.tgz",
421 | "integrity": "sha512-1/sA4dwrzBAyeUoQ6oxahHKmrZvsnLCg4RfxW3ZFGGmQkSNQPFNLV9CUEFQP1x9EYXHTo5p6xdhZM1Ne9p/AfA==",
422 | "dev": true,
423 | "license": "MIT",
424 | "dependencies": {
425 | "eslint-visitor-keys": "^3.3.0"
426 | },
427 | "engines": {
428 | "node": "^12.22.0 || ^14.17.0 || >=16.0.0"
429 | },
430 | "peerDependencies": {
431 | "eslint": "^6.0.0 || ^7.0.0 || >=8.0.0"
432 | }
433 | },
434 | "node_modules/@eslint-community/eslint-utils/node_modules/eslint-visitor-keys": {
435 | "version": "3.4.3",
436 | "resolved": "https://registry.npmmirror.com/eslint-visitor-keys/-/eslint-visitor-keys-3.4.3.tgz",
437 | "integrity": "sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==",
438 | "dev": true,
439 | "license": "Apache-2.0",
440 | "engines": {
441 | "node": "^12.22.0 || ^14.17.0 || >=16.0.0"
442 | },
443 | "funding": {
444 | "url": "https://opencollective.com/eslint"
445 | }
446 | },
447 | "node_modules/@eslint-community/regexpp": {
448 | "version": "4.11.1",
449 | "resolved": "https://registry.npmmirror.com/@eslint-community/regexpp/-/regexpp-4.11.1.tgz",
450 | "integrity": "sha512-m4DVN9ZqskZoLU5GlWZadwDnYo3vAEydiUayB9widCl9ffWx2IvPnp6n3on5rJmziJSw9Bv+Z3ChDVdMwXCY8Q==",
451 | "dev": true,
452 | "license": "MIT",
453 | "engines": {
454 | "node": "^12.0.0 || ^14.0.0 || >=16.0.0"
455 | }
456 | },
457 | "node_modules/@eslint/config-array": {
458 | "version": "0.18.0",
459 | "resolved": "https://registry.npmmirror.com/@eslint/config-array/-/config-array-0.18.0.tgz",
460 | "integrity": "sha512-fTxvnS1sRMu3+JjXwJG0j/i4RT9u4qJ+lqS/yCGap4lH4zZGzQ7tu+xZqQmcMZq5OBZDL4QRxQzRjkWcGt8IVw==",
461 | "dev": true,
462 | "license": "Apache-2.0",
463 | "dependencies": {
464 | "@eslint/object-schema": "^2.1.4",
465 | "debug": "^4.3.1",
466 | "minimatch": "^3.1.2"
467 | },
468 | "engines": {
469 | "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
470 | }
471 | },
472 | "node_modules/@eslint/eslintrc": {
473 | "version": "3.1.0",
474 | "resolved": "https://registry.npmmirror.com/@eslint/eslintrc/-/eslintrc-3.1.0.tgz",
475 | "integrity": "sha512-4Bfj15dVJdoy3RfZmmo86RK1Fwzn6SstsvK9JS+BaVKqC6QQQQyXekNaC+g+LKNgkQ+2VhGAzm6hO40AhMR3zQ==",
476 | "dev": true,
477 | "license": "MIT",
478 | "dependencies": {
479 | "ajv": "^6.12.4",
480 | "debug": "^4.3.2",
481 | "espree": "^10.0.1",
482 | "globals": "^14.0.0",
483 | "ignore": "^5.2.0",
484 | "import-fresh": "^3.2.1",
485 | "js-yaml": "^4.1.0",
486 | "minimatch": "^3.1.2",
487 | "strip-json-comments": "^3.1.1"
488 | },
489 | "engines": {
490 | "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
491 | },
492 | "funding": {
493 | "url": "https://opencollective.com/eslint"
494 | }
495 | },
496 | "node_modules/@eslint/js": {
497 | "version": "9.11.0",
498 | "resolved": "https://registry.npmmirror.com/@eslint/js/-/js-9.11.0.tgz",
499 | "integrity": "sha512-LPkkenkDqyzTFauZLLAPhIb48fj6drrfMvRGSL9tS3AcZBSVTllemLSNyCvHNNL2t797S/6DJNSIwRwXgMO/eQ==",
500 | "dev": true,
501 | "license": "MIT",
502 | "engines": {
503 | "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
504 | }
505 | },
506 | "node_modules/@eslint/object-schema": {
507 | "version": "2.1.4",
508 | "resolved": "https://registry.npmmirror.com/@eslint/object-schema/-/object-schema-2.1.4.tgz",
509 | "integrity": "sha512-BsWiH1yFGjXXS2yvrf5LyuoSIIbPrGUWob917o+BTKuZ7qJdxX8aJLRxs1fS9n6r7vESrq1OUqb68dANcFXuQQ==",
510 | "dev": true,
511 | "license": "Apache-2.0",
512 | "engines": {
513 | "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
514 | }
515 | },
516 | "node_modules/@eslint/plugin-kit": {
517 | "version": "0.2.0",
518 | "resolved": "https://registry.npmmirror.com/@eslint/plugin-kit/-/plugin-kit-0.2.0.tgz",
519 | "integrity": "sha512-vH9PiIMMwvhCx31Af3HiGzsVNULDbyVkHXwlemn/B0TFj/00ho3y55efXrUZTfQipxoHC5u4xq6zblww1zm1Ig==",
520 | "dev": true,
521 | "license": "Apache-2.0",
522 | "dependencies": {
523 | "levn": "^0.4.1"
524 | },
525 | "engines": {
526 | "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
527 | }
528 | },
529 | "node_modules/@humanwhocodes/module-importer": {
530 | "version": "1.0.1",
531 | "resolved": "https://registry.npmmirror.com/@humanwhocodes/module-importer/-/module-importer-1.0.1.tgz",
532 | "integrity": "sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA==",
533 | "dev": true,
534 | "license": "Apache-2.0",
535 | "engines": {
536 | "node": ">=12.22"
537 | },
538 | "funding": {
539 | "type": "github",
540 | "url": "https://github.com/sponsors/nzakas"
541 | }
542 | },
543 | "node_modules/@humanwhocodes/retry": {
544 | "version": "0.3.0",
545 | "resolved": "https://registry.npmmirror.com/@humanwhocodes/retry/-/retry-0.3.0.tgz",
546 | "integrity": "sha512-d2CGZR2o7fS6sWB7DG/3a95bGKQyHMACZ5aW8qGkkqQpUoZV6C0X7Pc7l4ZNMZkfNBf4VWNe9E1jRsf0G146Ew==",
547 | "dev": true,
548 | "license": "Apache-2.0",
549 | "engines": {
550 | "node": ">=18.18"
551 | },
552 | "funding": {
553 | "type": "github",
554 | "url": "https://github.com/sponsors/nzakas"
555 | }
556 | },
557 | "node_modules/@jridgewell/sourcemap-codec": {
558 | "version": "1.5.0",
559 | "resolved": "https://registry.npmmirror.com/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.5.0.tgz",
560 | "integrity": "sha512-gv3ZRaISU3fjPAgNsriBRqGWQL6quFx04YMPW/zD8XMLsU32mhCCbfbO6KZFLjvYpCZ8zyDEgqsgf+PwPaM7GQ==",
561 | "dev": true,
562 | "license": "MIT"
563 | },
564 | "node_modules/@nodelib/fs.scandir": {
565 | "version": "2.1.5",
566 | "resolved": "https://registry.npmmirror.com/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz",
567 | "integrity": "sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==",
568 | "dev": true,
569 | "license": "MIT",
570 | "dependencies": {
571 | "@nodelib/fs.stat": "2.0.5",
572 | "run-parallel": "^1.1.9"
573 | },
574 | "engines": {
575 | "node": ">= 8"
576 | }
577 | },
578 | "node_modules/@nodelib/fs.stat": {
579 | "version": "2.0.5",
580 | "resolved": "https://registry.npmmirror.com/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz",
581 | "integrity": "sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==",
582 | "dev": true,
583 | "license": "MIT",
584 | "engines": {
585 | "node": ">= 8"
586 | }
587 | },
588 | "node_modules/@nodelib/fs.walk": {
589 | "version": "1.2.8",
590 | "resolved": "https://registry.npmmirror.com/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz",
591 | "integrity": "sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==",
592 | "dev": true,
593 | "license": "MIT",
594 | "dependencies": {
595 | "@nodelib/fs.scandir": "2.1.5",
596 | "fastq": "^1.6.0"
597 | },
598 | "engines": {
599 | "node": ">= 8"
600 | }
601 | },
602 | "node_modules/@rollup/rollup-android-arm-eabi": {
603 | "version": "4.22.4",
604 | "resolved": "https://registry.npmmirror.com/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.22.4.tgz",
605 | "integrity": "sha512-Fxamp4aEZnfPOcGA8KSNEohV8hX7zVHOemC8jVBoBUHu5zpJK/Eu3uJwt6BMgy9fkvzxDaurgj96F/NiLukF2w==",
606 | "cpu": [
607 | "arm"
608 | ],
609 | "dev": true,
610 | "license": "MIT",
611 | "optional": true,
612 | "os": [
613 | "android"
614 | ]
615 | },
616 | "node_modules/@rollup/rollup-android-arm64": {
617 | "version": "4.22.4",
618 | "resolved": "https://registry.npmmirror.com/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.22.4.tgz",
619 | "integrity": "sha512-VXoK5UMrgECLYaMuGuVTOx5kcuap1Jm8g/M83RnCHBKOqvPPmROFJGQaZhGccnsFtfXQ3XYa4/jMCJvZnbJBdA==",
620 | "cpu": [
621 | "arm64"
622 | ],
623 | "dev": true,
624 | "license": "MIT",
625 | "optional": true,
626 | "os": [
627 | "android"
628 | ]
629 | },
630 | "node_modules/@rollup/rollup-darwin-arm64": {
631 | "version": "4.22.4",
632 | "resolved": "https://registry.npmmirror.com/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.22.4.tgz",
633 | "integrity": "sha512-xMM9ORBqu81jyMKCDP+SZDhnX2QEVQzTcC6G18KlTQEzWK8r/oNZtKuZaCcHhnsa6fEeOBionoyl5JsAbE/36Q==",
634 | "cpu": [
635 | "arm64"
636 | ],
637 | "dev": true,
638 | "license": "MIT",
639 | "optional": true,
640 | "os": [
641 | "darwin"
642 | ]
643 | },
644 | "node_modules/@rollup/rollup-darwin-x64": {
645 | "version": "4.22.4",
646 | "resolved": "https://registry.npmmirror.com/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.22.4.tgz",
647 | "integrity": "sha512-aJJyYKQwbHuhTUrjWjxEvGnNNBCnmpHDvrb8JFDbeSH3m2XdHcxDd3jthAzvmoI8w/kSjd2y0udT+4okADsZIw==",
648 | "cpu": [
649 | "x64"
650 | ],
651 | "dev": true,
652 | "license": "MIT",
653 | "optional": true,
654 | "os": [
655 | "darwin"
656 | ]
657 | },
658 | "node_modules/@rollup/rollup-linux-arm-gnueabihf": {
659 | "version": "4.22.4",
660 | "resolved": "https://registry.npmmirror.com/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.22.4.tgz",
661 | "integrity": "sha512-j63YtCIRAzbO+gC2L9dWXRh5BFetsv0j0va0Wi9epXDgU/XUi5dJKo4USTttVyK7fGw2nPWK0PbAvyliz50SCQ==",
662 | "cpu": [
663 | "arm"
664 | ],
665 | "dev": true,
666 | "license": "MIT",
667 | "optional": true,
668 | "os": [
669 | "linux"
670 | ]
671 | },
672 | "node_modules/@rollup/rollup-linux-arm-musleabihf": {
673 | "version": "4.22.4",
674 | "resolved": "https://registry.npmmirror.com/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.22.4.tgz",
675 | "integrity": "sha512-dJnWUgwWBX1YBRsuKKMOlXCzh2Wu1mlHzv20TpqEsfdZLb3WoJW2kIEsGwLkroYf24IrPAvOT/ZQ2OYMV6vlrg==",
676 | "cpu": [
677 | "arm"
678 | ],
679 | "dev": true,
680 | "license": "MIT",
681 | "optional": true,
682 | "os": [
683 | "linux"
684 | ]
685 | },
686 | "node_modules/@rollup/rollup-linux-arm64-gnu": {
687 | "version": "4.22.4",
688 | "resolved": "https://registry.npmmirror.com/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.22.4.tgz",
689 | "integrity": "sha512-AdPRoNi3NKVLolCN/Sp4F4N1d98c4SBnHMKoLuiG6RXgoZ4sllseuGioszumnPGmPM2O7qaAX/IJdeDU8f26Aw==",
690 | "cpu": [
691 | "arm64"
692 | ],
693 | "dev": true,
694 | "license": "MIT",
695 | "optional": true,
696 | "os": [
697 | "linux"
698 | ]
699 | },
700 | "node_modules/@rollup/rollup-linux-arm64-musl": {
701 | "version": "4.22.4",
702 | "resolved": "https://registry.npmmirror.com/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.22.4.tgz",
703 | "integrity": "sha512-Gl0AxBtDg8uoAn5CCqQDMqAx22Wx22pjDOjBdmG0VIWX3qUBHzYmOKh8KXHL4UpogfJ14G4wk16EQogF+v8hmA==",
704 | "cpu": [
705 | "arm64"
706 | ],
707 | "dev": true,
708 | "license": "MIT",
709 | "optional": true,
710 | "os": [
711 | "linux"
712 | ]
713 | },
714 | "node_modules/@rollup/rollup-linux-powerpc64le-gnu": {
715 | "version": "4.22.4",
716 | "resolved": "https://registry.npmmirror.com/@rollup/rollup-linux-powerpc64le-gnu/-/rollup-linux-powerpc64le-gnu-4.22.4.tgz",
717 | "integrity": "sha512-3aVCK9xfWW1oGQpTsYJJPF6bfpWfhbRnhdlyhak2ZiyFLDaayz0EP5j9V1RVLAAxlmWKTDfS9wyRyY3hvhPoOg==",
718 | "cpu": [
719 | "ppc64"
720 | ],
721 | "dev": true,
722 | "license": "MIT",
723 | "optional": true,
724 | "os": [
725 | "linux"
726 | ]
727 | },
728 | "node_modules/@rollup/rollup-linux-riscv64-gnu": {
729 | "version": "4.22.4",
730 | "resolved": "https://registry.npmmirror.com/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.22.4.tgz",
731 | "integrity": "sha512-ePYIir6VYnhgv2C5Xe9u+ico4t8sZWXschR6fMgoPUK31yQu7hTEJb7bCqivHECwIClJfKgE7zYsh1qTP3WHUA==",
732 | "cpu": [
733 | "riscv64"
734 | ],
735 | "dev": true,
736 | "license": "MIT",
737 | "optional": true,
738 | "os": [
739 | "linux"
740 | ]
741 | },
742 | "node_modules/@rollup/rollup-linux-s390x-gnu": {
743 | "version": "4.22.4",
744 | "resolved": "https://registry.npmmirror.com/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.22.4.tgz",
745 | "integrity": "sha512-GqFJ9wLlbB9daxhVlrTe61vJtEY99/xB3C8e4ULVsVfflcpmR6c8UZXjtkMA6FhNONhj2eA5Tk9uAVw5orEs4Q==",
746 | "cpu": [
747 | "s390x"
748 | ],
749 | "dev": true,
750 | "license": "MIT",
751 | "optional": true,
752 | "os": [
753 | "linux"
754 | ]
755 | },
756 | "node_modules/@rollup/rollup-linux-x64-gnu": {
757 | "version": "4.22.4",
758 | "resolved": "https://registry.npmmirror.com/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.22.4.tgz",
759 | "integrity": "sha512-87v0ol2sH9GE3cLQLNEy0K/R0pz1nvg76o8M5nhMR0+Q+BBGLnb35P0fVz4CQxHYXaAOhE8HhlkaZfsdUOlHwg==",
760 | "cpu": [
761 | "x64"
762 | ],
763 | "dev": true,
764 | "license": "MIT",
765 | "optional": true,
766 | "os": [
767 | "linux"
768 | ]
769 | },
770 | "node_modules/@rollup/rollup-linux-x64-musl": {
771 | "version": "4.22.4",
772 | "resolved": "https://registry.npmmirror.com/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.22.4.tgz",
773 | "integrity": "sha512-UV6FZMUgePDZrFjrNGIWzDo/vABebuXBhJEqrHxrGiU6HikPy0Z3LfdtciIttEUQfuDdCn8fqh7wiFJjCNwO+g==",
774 | "cpu": [
775 | "x64"
776 | ],
777 | "dev": true,
778 | "license": "MIT",
779 | "optional": true,
780 | "os": [
781 | "linux"
782 | ]
783 | },
784 | "node_modules/@rollup/rollup-win32-arm64-msvc": {
785 | "version": "4.22.4",
786 | "resolved": "https://registry.npmmirror.com/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.22.4.tgz",
787 | "integrity": "sha512-BjI+NVVEGAXjGWYHz/vv0pBqfGoUH0IGZ0cICTn7kB9PyjrATSkX+8WkguNjWoj2qSr1im/+tTGRaY+4/PdcQw==",
788 | "cpu": [
789 | "arm64"
790 | ],
791 | "dev": true,
792 | "license": "MIT",
793 | "optional": true,
794 | "os": [
795 | "win32"
796 | ]
797 | },
798 | "node_modules/@rollup/rollup-win32-ia32-msvc": {
799 | "version": "4.22.4",
800 | "resolved": "https://registry.npmmirror.com/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.22.4.tgz",
801 | "integrity": "sha512-SiWG/1TuUdPvYmzmYnmd3IEifzR61Tragkbx9D3+R8mzQqDBz8v+BvZNDlkiTtI9T15KYZhP0ehn3Dld4n9J5g==",
802 | "cpu": [
803 | "ia32"
804 | ],
805 | "dev": true,
806 | "license": "MIT",
807 | "optional": true,
808 | "os": [
809 | "win32"
810 | ]
811 | },
812 | "node_modules/@rollup/rollup-win32-x64-msvc": {
813 | "version": "4.22.4",
814 | "resolved": "https://registry.npmmirror.com/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.22.4.tgz",
815 | "integrity": "sha512-j8pPKp53/lq9lMXN57S8cFz0MynJk8OWNuUnXct/9KCpKU7DgU3bYMJhwWmcqC0UU29p8Lr0/7KEVcaM6bf47Q==",
816 | "cpu": [
817 | "x64"
818 | ],
819 | "dev": true,
820 | "license": "MIT",
821 | "optional": true,
822 | "os": [
823 | "win32"
824 | ]
825 | },
826 | "node_modules/@types/eslint": {
827 | "version": "9.6.1",
828 | "resolved": "https://registry.npmmirror.com/@types/eslint/-/eslint-9.6.1.tgz",
829 | "integrity": "sha512-FXx2pKgId/WyYo2jXw63kk7/+TY7u7AziEJxJAnSFzHlqTAS3Ync6SvgYAN/k4/PQpnnVuzoMuVnByKK2qp0ag==",
830 | "dev": true,
831 | "license": "MIT",
832 | "dependencies": {
833 | "@types/estree": "*",
834 | "@types/json-schema": "*"
835 | }
836 | },
837 | "node_modules/@types/eslint__js": {
838 | "version": "8.42.3",
839 | "resolved": "https://registry.npmmirror.com/@types/eslint__js/-/eslint__js-8.42.3.tgz",
840 | "integrity": "sha512-alfG737uhmPdnvkrLdZLcEKJ/B8s9Y4hrZ+YAdzUeoArBlSUERA2E87ROfOaS4jd/C45fzOoZzidLc1IPwLqOw==",
841 | "dev": true,
842 | "license": "MIT",
843 | "dependencies": {
844 | "@types/eslint": "*"
845 | }
846 | },
847 | "node_modules/@types/estree": {
848 | "version": "1.0.6",
849 | "resolved": "https://registry.npmmirror.com/@types/estree/-/estree-1.0.6.tgz",
850 | "integrity": "sha512-AYnb1nQyY49te+VRAVgmzfcgjYS91mY5P0TKUDCLEM+gNnA+3T6rWITXRLYCpahpqSQbN5cE+gHpnPyXjHWxcw==",
851 | "dev": true,
852 | "license": "MIT"
853 | },
854 | "node_modules/@types/json-schema": {
855 | "version": "7.0.15",
856 | "resolved": "https://registry.npmmirror.com/@types/json-schema/-/json-schema-7.0.15.tgz",
857 | "integrity": "sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==",
858 | "dev": true,
859 | "license": "MIT"
860 | },
861 | "node_modules/@types/node": {
862 | "version": "22.5.5",
863 | "resolved": "https://registry.npmmirror.com/@types/node/-/node-22.5.5.tgz",
864 | "integrity": "sha512-Xjs4y5UPO/CLdzpgR6GirZJx36yScjh73+2NlLlkFRSoQN8B0DpfXPdZGnvVmLRLOsqDpOfTNv7D9trgGhmOIA==",
865 | "dev": true,
866 | "license": "MIT",
867 | "optional": true,
868 | "peer": true,
869 | "dependencies": {
870 | "undici-types": "~6.19.2"
871 | }
872 | },
873 | "node_modules/@typescript-eslint/eslint-plugin": {
874 | "version": "8.6.0",
875 | "resolved": "https://registry.npmmirror.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.6.0.tgz",
876 | "integrity": "sha512-UOaz/wFowmoh2G6Mr9gw60B1mm0MzUtm6Ic8G2yM1Le6gyj5Loi/N+O5mocugRGY+8OeeKmkMmbxNqUCq3B4Sg==",
877 | "dev": true,
878 | "license": "MIT",
879 | "dependencies": {
880 | "@eslint-community/regexpp": "^4.10.0",
881 | "@typescript-eslint/scope-manager": "8.6.0",
882 | "@typescript-eslint/type-utils": "8.6.0",
883 | "@typescript-eslint/utils": "8.6.0",
884 | "@typescript-eslint/visitor-keys": "8.6.0",
885 | "graphemer": "^1.4.0",
886 | "ignore": "^5.3.1",
887 | "natural-compare": "^1.4.0",
888 | "ts-api-utils": "^1.3.0"
889 | },
890 | "engines": {
891 | "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
892 | },
893 | "funding": {
894 | "type": "opencollective",
895 | "url": "https://opencollective.com/typescript-eslint"
896 | },
897 | "peerDependencies": {
898 | "@typescript-eslint/parser": "^8.0.0 || ^8.0.0-alpha.0",
899 | "eslint": "^8.57.0 || ^9.0.0"
900 | },
901 | "peerDependenciesMeta": {
902 | "typescript": {
903 | "optional": true
904 | }
905 | }
906 | },
907 | "node_modules/@typescript-eslint/parser": {
908 | "version": "8.6.0",
909 | "resolved": "https://registry.npmmirror.com/@typescript-eslint/parser/-/parser-8.6.0.tgz",
910 | "integrity": "sha512-eQcbCuA2Vmw45iGfcyG4y6rS7BhWfz9MQuk409WD47qMM+bKCGQWXxvoOs1DUp+T7UBMTtRTVT+kXr7Sh4O9Ow==",
911 | "dev": true,
912 | "license": "BSD-2-Clause",
913 | "dependencies": {
914 | "@typescript-eslint/scope-manager": "8.6.0",
915 | "@typescript-eslint/types": "8.6.0",
916 | "@typescript-eslint/typescript-estree": "8.6.0",
917 | "@typescript-eslint/visitor-keys": "8.6.0",
918 | "debug": "^4.3.4"
919 | },
920 | "engines": {
921 | "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
922 | },
923 | "funding": {
924 | "type": "opencollective",
925 | "url": "https://opencollective.com/typescript-eslint"
926 | },
927 | "peerDependencies": {
928 | "eslint": "^8.57.0 || ^9.0.0"
929 | },
930 | "peerDependenciesMeta": {
931 | "typescript": {
932 | "optional": true
933 | }
934 | }
935 | },
936 | "node_modules/@typescript-eslint/scope-manager": {
937 | "version": "8.6.0",
938 | "resolved": "https://registry.npmmirror.com/@typescript-eslint/scope-manager/-/scope-manager-8.6.0.tgz",
939 | "integrity": "sha512-ZuoutoS5y9UOxKvpc/GkvF4cuEmpokda4wRg64JEia27wX+PysIE9q+lzDtlHHgblwUWwo5/Qn+/WyTUvDwBHw==",
940 | "dev": true,
941 | "license": "MIT",
942 | "dependencies": {
943 | "@typescript-eslint/types": "8.6.0",
944 | "@typescript-eslint/visitor-keys": "8.6.0"
945 | },
946 | "engines": {
947 | "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
948 | },
949 | "funding": {
950 | "type": "opencollective",
951 | "url": "https://opencollective.com/typescript-eslint"
952 | }
953 | },
954 | "node_modules/@typescript-eslint/type-utils": {
955 | "version": "8.6.0",
956 | "resolved": "https://registry.npmmirror.com/@typescript-eslint/type-utils/-/type-utils-8.6.0.tgz",
957 | "integrity": "sha512-dtePl4gsuenXVwC7dVNlb4mGDcKjDT/Ropsk4za/ouMBPplCLyznIaR+W65mvCvsyS97dymoBRrioEXI7k0XIg==",
958 | "dev": true,
959 | "license": "MIT",
960 | "dependencies": {
961 | "@typescript-eslint/typescript-estree": "8.6.0",
962 | "@typescript-eslint/utils": "8.6.0",
963 | "debug": "^4.3.4",
964 | "ts-api-utils": "^1.3.0"
965 | },
966 | "engines": {
967 | "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
968 | },
969 | "funding": {
970 | "type": "opencollective",
971 | "url": "https://opencollective.com/typescript-eslint"
972 | },
973 | "peerDependenciesMeta": {
974 | "typescript": {
975 | "optional": true
976 | }
977 | }
978 | },
979 | "node_modules/@typescript-eslint/types": {
980 | "version": "8.6.0",
981 | "resolved": "https://registry.npmmirror.com/@typescript-eslint/types/-/types-8.6.0.tgz",
982 | "integrity": "sha512-rojqFZGd4MQxw33SrOy09qIDS8WEldM8JWtKQLAjf/X5mGSeEFh5ixQlxssMNyPslVIk9yzWqXCsV2eFhYrYUw==",
983 | "dev": true,
984 | "license": "MIT",
985 | "engines": {
986 | "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
987 | },
988 | "funding": {
989 | "type": "opencollective",
990 | "url": "https://opencollective.com/typescript-eslint"
991 | }
992 | },
993 | "node_modules/@typescript-eslint/typescript-estree": {
994 | "version": "8.6.0",
995 | "resolved": "https://registry.npmmirror.com/@typescript-eslint/typescript-estree/-/typescript-estree-8.6.0.tgz",
996 | "integrity": "sha512-MOVAzsKJIPIlLK239l5s06YXjNqpKTVhBVDnqUumQJja5+Y94V3+4VUFRA0G60y2jNnTVwRCkhyGQpavfsbq/g==",
997 | "dev": true,
998 | "license": "BSD-2-Clause",
999 | "dependencies": {
1000 | "@typescript-eslint/types": "8.6.0",
1001 | "@typescript-eslint/visitor-keys": "8.6.0",
1002 | "debug": "^4.3.4",
1003 | "fast-glob": "^3.3.2",
1004 | "is-glob": "^4.0.3",
1005 | "minimatch": "^9.0.4",
1006 | "semver": "^7.6.0",
1007 | "ts-api-utils": "^1.3.0"
1008 | },
1009 | "engines": {
1010 | "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
1011 | },
1012 | "funding": {
1013 | "type": "opencollective",
1014 | "url": "https://opencollective.com/typescript-eslint"
1015 | },
1016 | "peerDependenciesMeta": {
1017 | "typescript": {
1018 | "optional": true
1019 | }
1020 | }
1021 | },
1022 | "node_modules/@typescript-eslint/typescript-estree/node_modules/brace-expansion": {
1023 | "version": "2.0.1",
1024 | "resolved": "https://registry.npmmirror.com/brace-expansion/-/brace-expansion-2.0.1.tgz",
1025 | "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==",
1026 | "dev": true,
1027 | "license": "MIT",
1028 | "dependencies": {
1029 | "balanced-match": "^1.0.0"
1030 | }
1031 | },
1032 | "node_modules/@typescript-eslint/typescript-estree/node_modules/minimatch": {
1033 | "version": "9.0.5",
1034 | "resolved": "https://registry.npmmirror.com/minimatch/-/minimatch-9.0.5.tgz",
1035 | "integrity": "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==",
1036 | "dev": true,
1037 | "license": "ISC",
1038 | "dependencies": {
1039 | "brace-expansion": "^2.0.1"
1040 | },
1041 | "engines": {
1042 | "node": ">=16 || 14 >=14.17"
1043 | },
1044 | "funding": {
1045 | "url": "https://github.com/sponsors/isaacs"
1046 | }
1047 | },
1048 | "node_modules/@typescript-eslint/utils": {
1049 | "version": "8.6.0",
1050 | "resolved": "https://registry.npmmirror.com/@typescript-eslint/utils/-/utils-8.6.0.tgz",
1051 | "integrity": "sha512-eNp9cWnYf36NaOVjkEUznf6fEgVy1TWpE0o52e4wtojjBx7D1UV2WAWGzR+8Y5lVFtpMLPwNbC67T83DWSph4A==",
1052 | "dev": true,
1053 | "license": "MIT",
1054 | "dependencies": {
1055 | "@eslint-community/eslint-utils": "^4.4.0",
1056 | "@typescript-eslint/scope-manager": "8.6.0",
1057 | "@typescript-eslint/types": "8.6.0",
1058 | "@typescript-eslint/typescript-estree": "8.6.0"
1059 | },
1060 | "engines": {
1061 | "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
1062 | },
1063 | "funding": {
1064 | "type": "opencollective",
1065 | "url": "https://opencollective.com/typescript-eslint"
1066 | },
1067 | "peerDependencies": {
1068 | "eslint": "^8.57.0 || ^9.0.0"
1069 | }
1070 | },
1071 | "node_modules/@typescript-eslint/visitor-keys": {
1072 | "version": "8.6.0",
1073 | "resolved": "https://registry.npmmirror.com/@typescript-eslint/visitor-keys/-/visitor-keys-8.6.0.tgz",
1074 | "integrity": "sha512-wapVFfZg9H0qOYh4grNVQiMklJGluQrOUiOhYRrQWhx7BY/+I1IYb8BczWNbbUpO+pqy0rDciv3lQH5E1bCLrg==",
1075 | "dev": true,
1076 | "license": "MIT",
1077 | "dependencies": {
1078 | "@typescript-eslint/types": "8.6.0",
1079 | "eslint-visitor-keys": "^3.4.3"
1080 | },
1081 | "engines": {
1082 | "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
1083 | },
1084 | "funding": {
1085 | "type": "opencollective",
1086 | "url": "https://opencollective.com/typescript-eslint"
1087 | }
1088 | },
1089 | "node_modules/@typescript-eslint/visitor-keys/node_modules/eslint-visitor-keys": {
1090 | "version": "3.4.3",
1091 | "resolved": "https://registry.npmmirror.com/eslint-visitor-keys/-/eslint-visitor-keys-3.4.3.tgz",
1092 | "integrity": "sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==",
1093 | "dev": true,
1094 | "license": "Apache-2.0",
1095 | "engines": {
1096 | "node": "^12.22.0 || ^14.17.0 || >=16.0.0"
1097 | },
1098 | "funding": {
1099 | "url": "https://opencollective.com/eslint"
1100 | }
1101 | },
1102 | "node_modules/acorn": {
1103 | "version": "8.12.1",
1104 | "resolved": "https://registry.npmmirror.com/acorn/-/acorn-8.12.1.tgz",
1105 | "integrity": "sha512-tcpGyI9zbizT9JbV6oYE477V6mTlXvvi0T0G3SNIYE2apm/G5huBa1+K89VGeovbg+jycCrfhl3ADxErOuO6Jg==",
1106 | "dev": true,
1107 | "license": "MIT",
1108 | "bin": {
1109 | "acorn": "bin/acorn"
1110 | },
1111 | "engines": {
1112 | "node": ">=0.4.0"
1113 | }
1114 | },
1115 | "node_modules/acorn-jsx": {
1116 | "version": "5.3.2",
1117 | "resolved": "https://registry.npmmirror.com/acorn-jsx/-/acorn-jsx-5.3.2.tgz",
1118 | "integrity": "sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==",
1119 | "dev": true,
1120 | "license": "MIT",
1121 | "peerDependencies": {
1122 | "acorn": "^6.0.0 || ^7.0.0 || ^8.0.0"
1123 | }
1124 | },
1125 | "node_modules/acorn-walk": {
1126 | "version": "8.3.4",
1127 | "resolved": "https://registry.npmmirror.com/acorn-walk/-/acorn-walk-8.3.4.tgz",
1128 | "integrity": "sha512-ueEepnujpqee2o5aIYnvHU6C0A42MNdsIDeqy5BydrkuC5R1ZuUFnm27EeFJGoEHJQgn3uleRvmTXaJgfXbt4g==",
1129 | "dev": true,
1130 | "license": "MIT",
1131 | "dependencies": {
1132 | "acorn": "^8.11.0"
1133 | },
1134 | "engines": {
1135 | "node": ">=0.4.0"
1136 | }
1137 | },
1138 | "node_modules/ajax-hook": {
1139 | "version": "3.0.3",
1140 | "resolved": "https://registry.npmmirror.com/ajax-hook/-/ajax-hook-3.0.3.tgz",
1141 | "integrity": "sha512-pcVLNEG1f97++3UQQTIGFxYkBNjUDQS4gIOMIFYSUaTe4HklxjqJinR0WjeJaUD5RTBXvRivrssWO//Io/eaxA=="
1142 | },
1143 | "node_modules/ajv": {
1144 | "version": "6.12.6",
1145 | "resolved": "https://registry.npmmirror.com/ajv/-/ajv-6.12.6.tgz",
1146 | "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==",
1147 | "dev": true,
1148 | "license": "MIT",
1149 | "dependencies": {
1150 | "fast-deep-equal": "^3.1.1",
1151 | "fast-json-stable-stringify": "^2.0.0",
1152 | "json-schema-traverse": "^0.4.1",
1153 | "uri-js": "^4.2.2"
1154 | },
1155 | "funding": {
1156 | "type": "github",
1157 | "url": "https://github.com/sponsors/epoberezkin"
1158 | }
1159 | },
1160 | "node_modules/ansi-regex": {
1161 | "version": "5.0.1",
1162 | "resolved": "https://registry.npmmirror.com/ansi-regex/-/ansi-regex-5.0.1.tgz",
1163 | "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==",
1164 | "dev": true,
1165 | "license": "MIT",
1166 | "engines": {
1167 | "node": ">=8"
1168 | }
1169 | },
1170 | "node_modules/ansi-styles": {
1171 | "version": "4.3.0",
1172 | "resolved": "https://registry.npmmirror.com/ansi-styles/-/ansi-styles-4.3.0.tgz",
1173 | "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",
1174 | "dev": true,
1175 | "license": "MIT",
1176 | "dependencies": {
1177 | "color-convert": "^2.0.1"
1178 | },
1179 | "engines": {
1180 | "node": ">=8"
1181 | },
1182 | "funding": {
1183 | "url": "https://github.com/chalk/ansi-styles?sponsor=1"
1184 | }
1185 | },
1186 | "node_modules/argparse": {
1187 | "version": "2.0.1",
1188 | "resolved": "https://registry.npmmirror.com/argparse/-/argparse-2.0.1.tgz",
1189 | "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==",
1190 | "dev": true,
1191 | "license": "Python-2.0"
1192 | },
1193 | "node_modules/balanced-match": {
1194 | "version": "1.0.2",
1195 | "resolved": "https://registry.npmmirror.com/balanced-match/-/balanced-match-1.0.2.tgz",
1196 | "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==",
1197 | "dev": true,
1198 | "license": "MIT"
1199 | },
1200 | "node_modules/big-integer": {
1201 | "version": "1.6.52",
1202 | "resolved": "https://registry.npmmirror.com/big-integer/-/big-integer-1.6.52.tgz",
1203 | "integrity": "sha512-QxD8cf2eVqJOOz63z6JIN9BzvVs/dlySa5HGSBH5xtR8dPteIRQnBxxKqkNTiT6jbDTF6jAfrd4oMcND9RGbQg==",
1204 | "dev": true,
1205 | "license": "Unlicense",
1206 | "engines": {
1207 | "node": ">=0.6"
1208 | }
1209 | },
1210 | "node_modules/bplist-parser": {
1211 | "version": "0.2.0",
1212 | "resolved": "https://registry.npmmirror.com/bplist-parser/-/bplist-parser-0.2.0.tgz",
1213 | "integrity": "sha512-z0M+byMThzQmD9NILRniCUXYsYpjwnlO8N5uCFaCqIOpqRsJCrQL9NK3JsD67CN5a08nF5oIL2bD6loTdHOuKw==",
1214 | "dev": true,
1215 | "license": "MIT",
1216 | "dependencies": {
1217 | "big-integer": "^1.6.44"
1218 | },
1219 | "engines": {
1220 | "node": ">= 5.10.0"
1221 | }
1222 | },
1223 | "node_modules/brace-expansion": {
1224 | "version": "1.1.11",
1225 | "resolved": "https://registry.npmmirror.com/brace-expansion/-/brace-expansion-1.1.11.tgz",
1226 | "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==",
1227 | "dev": true,
1228 | "license": "MIT",
1229 | "dependencies": {
1230 | "balanced-match": "^1.0.0",
1231 | "concat-map": "0.0.1"
1232 | }
1233 | },
1234 | "node_modules/braces": {
1235 | "version": "3.0.3",
1236 | "resolved": "https://registry.npmmirror.com/braces/-/braces-3.0.3.tgz",
1237 | "integrity": "sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==",
1238 | "dev": true,
1239 | "license": "MIT",
1240 | "dependencies": {
1241 | "fill-range": "^7.1.1"
1242 | },
1243 | "engines": {
1244 | "node": ">=8"
1245 | }
1246 | },
1247 | "node_modules/bundle-name": {
1248 | "version": "3.0.0",
1249 | "resolved": "https://registry.npmmirror.com/bundle-name/-/bundle-name-3.0.0.tgz",
1250 | "integrity": "sha512-PKA4BeSvBpQKQ8iPOGCSiell+N8P+Tf1DlwqmYhpe2gAhKPHn8EYOxVT+ShuGmhg8lN8XiSlS80yiExKXrURlw==",
1251 | "dev": true,
1252 | "license": "MIT",
1253 | "dependencies": {
1254 | "run-applescript": "^5.0.0"
1255 | },
1256 | "engines": {
1257 | "node": ">=12"
1258 | },
1259 | "funding": {
1260 | "url": "https://github.com/sponsors/sindresorhus"
1261 | }
1262 | },
1263 | "node_modules/callsites": {
1264 | "version": "3.1.0",
1265 | "resolved": "https://registry.npmmirror.com/callsites/-/callsites-3.1.0.tgz",
1266 | "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==",
1267 | "dev": true,
1268 | "license": "MIT",
1269 | "engines": {
1270 | "node": ">=6"
1271 | }
1272 | },
1273 | "node_modules/chalk": {
1274 | "version": "4.1.2",
1275 | "resolved": "https://registry.npmmirror.com/chalk/-/chalk-4.1.2.tgz",
1276 | "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==",
1277 | "dev": true,
1278 | "license": "MIT",
1279 | "dependencies": {
1280 | "ansi-styles": "^4.1.0",
1281 | "supports-color": "^7.1.0"
1282 | },
1283 | "engines": {
1284 | "node": ">=10"
1285 | },
1286 | "funding": {
1287 | "url": "https://github.com/chalk/chalk?sponsor=1"
1288 | }
1289 | },
1290 | "node_modules/chokidar": {
1291 | "version": "4.0.0",
1292 | "resolved": "https://registry.npmmirror.com/chokidar/-/chokidar-4.0.0.tgz",
1293 | "integrity": "sha512-mxIojEAQcuEvT/lyXq+jf/3cO/KoA6z4CeNDGGevTybECPOMFCnQy3OPahluUkbqgPNGw5Bi78UC7Po6Lhy+NA==",
1294 | "dev": true,
1295 | "license": "MIT",
1296 | "dependencies": {
1297 | "readdirp": "^4.0.1"
1298 | },
1299 | "engines": {
1300 | "node": ">= 14.16.0"
1301 | },
1302 | "funding": {
1303 | "url": "https://paulmillr.com/funding/"
1304 | }
1305 | },
1306 | "node_modules/color-convert": {
1307 | "version": "2.0.1",
1308 | "resolved": "https://registry.npmmirror.com/color-convert/-/color-convert-2.0.1.tgz",
1309 | "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==",
1310 | "dev": true,
1311 | "license": "MIT",
1312 | "dependencies": {
1313 | "color-name": "~1.1.4"
1314 | },
1315 | "engines": {
1316 | "node": ">=7.0.0"
1317 | }
1318 | },
1319 | "node_modules/color-name": {
1320 | "version": "1.1.4",
1321 | "resolved": "https://registry.npmmirror.com/color-name/-/color-name-1.1.4.tgz",
1322 | "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==",
1323 | "dev": true,
1324 | "license": "MIT"
1325 | },
1326 | "node_modules/concat-map": {
1327 | "version": "0.0.1",
1328 | "resolved": "https://registry.npmmirror.com/concat-map/-/concat-map-0.0.1.tgz",
1329 | "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==",
1330 | "dev": true,
1331 | "license": "MIT"
1332 | },
1333 | "node_modules/cross-spawn": {
1334 | "version": "7.0.3",
1335 | "resolved": "https://registry.npmmirror.com/cross-spawn/-/cross-spawn-7.0.3.tgz",
1336 | "integrity": "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==",
1337 | "dev": true,
1338 | "license": "MIT",
1339 | "dependencies": {
1340 | "path-key": "^3.1.0",
1341 | "shebang-command": "^2.0.0",
1342 | "which": "^2.0.1"
1343 | },
1344 | "engines": {
1345 | "node": ">= 8"
1346 | }
1347 | },
1348 | "node_modules/debug": {
1349 | "version": "4.3.7",
1350 | "resolved": "https://registry.npmmirror.com/debug/-/debug-4.3.7.tgz",
1351 | "integrity": "sha512-Er2nc/H7RrMXZBFCEim6TCmMk02Z8vLC2Rbi1KEBggpo0fS6l0S1nnapwmIi3yW/+GOJap1Krg4w0Hg80oCqgQ==",
1352 | "dev": true,
1353 | "license": "MIT",
1354 | "dependencies": {
1355 | "ms": "^2.1.3"
1356 | },
1357 | "engines": {
1358 | "node": ">=6.0"
1359 | },
1360 | "peerDependenciesMeta": {
1361 | "supports-color": {
1362 | "optional": true
1363 | }
1364 | }
1365 | },
1366 | "node_modules/deep-is": {
1367 | "version": "0.1.4",
1368 | "resolved": "https://registry.npmmirror.com/deep-is/-/deep-is-0.1.4.tgz",
1369 | "integrity": "sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==",
1370 | "dev": true,
1371 | "license": "MIT"
1372 | },
1373 | "node_modules/default-browser": {
1374 | "version": "4.0.0",
1375 | "resolved": "https://registry.npmmirror.com/default-browser/-/default-browser-4.0.0.tgz",
1376 | "integrity": "sha512-wX5pXO1+BrhMkSbROFsyxUm0i/cJEScyNhA4PPxc41ICuv05ZZB/MX28s8aZx6xjmatvebIapF6hLEKEcpneUA==",
1377 | "dev": true,
1378 | "license": "MIT",
1379 | "dependencies": {
1380 | "bundle-name": "^3.0.0",
1381 | "default-browser-id": "^3.0.0",
1382 | "execa": "^7.1.1",
1383 | "titleize": "^3.0.0"
1384 | },
1385 | "engines": {
1386 | "node": ">=14.16"
1387 | },
1388 | "funding": {
1389 | "url": "https://github.com/sponsors/sindresorhus"
1390 | }
1391 | },
1392 | "node_modules/default-browser-id": {
1393 | "version": "3.0.0",
1394 | "resolved": "https://registry.npmmirror.com/default-browser-id/-/default-browser-id-3.0.0.tgz",
1395 | "integrity": "sha512-OZ1y3y0SqSICtE8DE4S8YOE9UZOJ8wO16fKWVP5J1Qz42kV9jcnMVFrEE/noXb/ss3Q4pZIH79kxofzyNNtUNA==",
1396 | "dev": true,
1397 | "license": "MIT",
1398 | "dependencies": {
1399 | "bplist-parser": "^0.2.0",
1400 | "untildify": "^4.0.0"
1401 | },
1402 | "engines": {
1403 | "node": ">=12"
1404 | },
1405 | "funding": {
1406 | "url": "https://github.com/sponsors/sindresorhus"
1407 | }
1408 | },
1409 | "node_modules/define-lazy-prop": {
1410 | "version": "3.0.0",
1411 | "resolved": "https://registry.npmmirror.com/define-lazy-prop/-/define-lazy-prop-3.0.0.tgz",
1412 | "integrity": "sha512-N+MeXYoqr3pOgn8xfyRPREN7gHakLYjhsHhWGT3fWAiL4IkAt0iDw14QiiEm2bE30c5XX5q0FtAA3CK5f9/BUg==",
1413 | "dev": true,
1414 | "license": "MIT",
1415 | "engines": {
1416 | "node": ">=12"
1417 | },
1418 | "funding": {
1419 | "url": "https://github.com/sponsors/sindresorhus"
1420 | }
1421 | },
1422 | "node_modules/dom-serializer": {
1423 | "version": "2.0.0",
1424 | "resolved": "https://registry.npmmirror.com/dom-serializer/-/dom-serializer-2.0.0.tgz",
1425 | "integrity": "sha512-wIkAryiqt/nV5EQKqQpo3SToSOV9J0DnbJqwK7Wv/Trc92zIAYZ4FlMu+JPFW1DfGFt81ZTCGgDEabffXeLyJg==",
1426 | "dev": true,
1427 | "license": "MIT",
1428 | "dependencies": {
1429 | "domelementtype": "^2.3.0",
1430 | "domhandler": "^5.0.2",
1431 | "entities": "^4.2.0"
1432 | },
1433 | "funding": {
1434 | "url": "https://github.com/cheeriojs/dom-serializer?sponsor=1"
1435 | }
1436 | },
1437 | "node_modules/domelementtype": {
1438 | "version": "2.3.0",
1439 | "resolved": "https://registry.npmmirror.com/domelementtype/-/domelementtype-2.3.0.tgz",
1440 | "integrity": "sha512-OLETBj6w0OsagBwdXnPdN0cnMfF9opN69co+7ZrbfPGrdpPVNBUj02spi6B1N7wChLQiPn4CSH/zJvXw56gmHw==",
1441 | "dev": true,
1442 | "funding": [
1443 | {
1444 | "type": "github",
1445 | "url": "https://github.com/sponsors/fb55"
1446 | }
1447 | ],
1448 | "license": "BSD-2-Clause"
1449 | },
1450 | "node_modules/domhandler": {
1451 | "version": "5.0.3",
1452 | "resolved": "https://registry.npmmirror.com/domhandler/-/domhandler-5.0.3.tgz",
1453 | "integrity": "sha512-cgwlv/1iFQiFnU96XXgROh8xTeetsnJiDsTc7TYCLFd9+/WNkIqPTxiM/8pSd8VIrhXGTf1Ny1q1hquVqDJB5w==",
1454 | "dev": true,
1455 | "license": "BSD-2-Clause",
1456 | "dependencies": {
1457 | "domelementtype": "^2.3.0"
1458 | },
1459 | "engines": {
1460 | "node": ">= 4"
1461 | },
1462 | "funding": {
1463 | "url": "https://github.com/fb55/domhandler?sponsor=1"
1464 | }
1465 | },
1466 | "node_modules/domutils": {
1467 | "version": "3.1.0",
1468 | "resolved": "https://registry.npmmirror.com/domutils/-/domutils-3.1.0.tgz",
1469 | "integrity": "sha512-H78uMmQtI2AhgDJjWeQmHwJJ2bLPD3GMmO7Zja/ZZh84wkm+4ut+IUnUdRa8uCGX88DiVx1j6FRe1XfxEgjEZA==",
1470 | "dev": true,
1471 | "license": "BSD-2-Clause",
1472 | "dependencies": {
1473 | "dom-serializer": "^2.0.0",
1474 | "domelementtype": "^2.3.0",
1475 | "domhandler": "^5.0.3"
1476 | },
1477 | "funding": {
1478 | "url": "https://github.com/fb55/domutils?sponsor=1"
1479 | }
1480 | },
1481 | "node_modules/entities": {
1482 | "version": "4.5.0",
1483 | "resolved": "https://registry.npmmirror.com/entities/-/entities-4.5.0.tgz",
1484 | "integrity": "sha512-V0hjH4dGPh9Ao5p0MoRY6BVqtwCjhz6vI5LT8AJ55H+4g9/4vbHx1I54fS0XuclLhDHArPQCiMjDxjaL8fPxhw==",
1485 | "dev": true,
1486 | "license": "BSD-2-Clause",
1487 | "engines": {
1488 | "node": ">=0.12"
1489 | },
1490 | "funding": {
1491 | "url": "https://github.com/fb55/entities?sponsor=1"
1492 | }
1493 | },
1494 | "node_modules/esbuild": {
1495 | "version": "0.21.5",
1496 | "resolved": "https://registry.npmmirror.com/esbuild/-/esbuild-0.21.5.tgz",
1497 | "integrity": "sha512-mg3OPMV4hXywwpoDxu3Qda5xCKQi+vCTZq8S9J/EpkhB2HzKXq4SNFZE3+NK93JYxc8VMSep+lOUSC/RVKaBqw==",
1498 | "dev": true,
1499 | "hasInstallScript": true,
1500 | "license": "MIT",
1501 | "bin": {
1502 | "esbuild": "bin/esbuild"
1503 | },
1504 | "engines": {
1505 | "node": ">=12"
1506 | },
1507 | "optionalDependencies": {
1508 | "@esbuild/aix-ppc64": "0.21.5",
1509 | "@esbuild/android-arm": "0.21.5",
1510 | "@esbuild/android-arm64": "0.21.5",
1511 | "@esbuild/android-x64": "0.21.5",
1512 | "@esbuild/darwin-arm64": "0.21.5",
1513 | "@esbuild/darwin-x64": "0.21.5",
1514 | "@esbuild/freebsd-arm64": "0.21.5",
1515 | "@esbuild/freebsd-x64": "0.21.5",
1516 | "@esbuild/linux-arm": "0.21.5",
1517 | "@esbuild/linux-arm64": "0.21.5",
1518 | "@esbuild/linux-ia32": "0.21.5",
1519 | "@esbuild/linux-loong64": "0.21.5",
1520 | "@esbuild/linux-mips64el": "0.21.5",
1521 | "@esbuild/linux-ppc64": "0.21.5",
1522 | "@esbuild/linux-riscv64": "0.21.5",
1523 | "@esbuild/linux-s390x": "0.21.5",
1524 | "@esbuild/linux-x64": "0.21.5",
1525 | "@esbuild/netbsd-x64": "0.21.5",
1526 | "@esbuild/openbsd-x64": "0.21.5",
1527 | "@esbuild/sunos-x64": "0.21.5",
1528 | "@esbuild/win32-arm64": "0.21.5",
1529 | "@esbuild/win32-ia32": "0.21.5",
1530 | "@esbuild/win32-x64": "0.21.5"
1531 | }
1532 | },
1533 | "node_modules/escape-string-regexp": {
1534 | "version": "4.0.0",
1535 | "resolved": "https://registry.npmmirror.com/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz",
1536 | "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==",
1537 | "dev": true,
1538 | "license": "MIT",
1539 | "engines": {
1540 | "node": ">=10"
1541 | },
1542 | "funding": {
1543 | "url": "https://github.com/sponsors/sindresorhus"
1544 | }
1545 | },
1546 | "node_modules/eslint": {
1547 | "version": "9.11.0",
1548 | "resolved": "https://registry.npmmirror.com/eslint/-/eslint-9.11.0.tgz",
1549 | "integrity": "sha512-yVS6XODx+tMFMDFcG4+Hlh+qG7RM6cCJXtQhCKLSsr3XkLvWggHjCqjfh0XsPPnt1c56oaT6PMgW9XWQQjdHXA==",
1550 | "dev": true,
1551 | "license": "MIT",
1552 | "dependencies": {
1553 | "@eslint-community/eslint-utils": "^4.2.0",
1554 | "@eslint-community/regexpp": "^4.11.0",
1555 | "@eslint/config-array": "^0.18.0",
1556 | "@eslint/eslintrc": "^3.1.0",
1557 | "@eslint/js": "9.11.0",
1558 | "@eslint/plugin-kit": "^0.2.0",
1559 | "@humanwhocodes/module-importer": "^1.0.1",
1560 | "@humanwhocodes/retry": "^0.3.0",
1561 | "@nodelib/fs.walk": "^1.2.8",
1562 | "ajv": "^6.12.4",
1563 | "chalk": "^4.0.0",
1564 | "cross-spawn": "^7.0.2",
1565 | "debug": "^4.3.2",
1566 | "escape-string-regexp": "^4.0.0",
1567 | "eslint-scope": "^8.0.2",
1568 | "eslint-visitor-keys": "^4.0.0",
1569 | "espree": "^10.1.0",
1570 | "esquery": "^1.5.0",
1571 | "esutils": "^2.0.2",
1572 | "fast-deep-equal": "^3.1.3",
1573 | "file-entry-cache": "^8.0.0",
1574 | "find-up": "^5.0.0",
1575 | "glob-parent": "^6.0.2",
1576 | "ignore": "^5.2.0",
1577 | "imurmurhash": "^0.1.4",
1578 | "is-glob": "^4.0.0",
1579 | "is-path-inside": "^3.0.3",
1580 | "json-stable-stringify-without-jsonify": "^1.0.1",
1581 | "lodash.merge": "^4.6.2",
1582 | "minimatch": "^3.1.2",
1583 | "natural-compare": "^1.4.0",
1584 | "optionator": "^0.9.3",
1585 | "strip-ansi": "^6.0.1",
1586 | "text-table": "^0.2.0"
1587 | },
1588 | "bin": {
1589 | "eslint": "bin/eslint.js"
1590 | },
1591 | "engines": {
1592 | "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
1593 | },
1594 | "funding": {
1595 | "url": "https://eslint.org/donate"
1596 | },
1597 | "peerDependencies": {
1598 | "jiti": "*"
1599 | },
1600 | "peerDependenciesMeta": {
1601 | "jiti": {
1602 | "optional": true
1603 | }
1604 | }
1605 | },
1606 | "node_modules/eslint-scope": {
1607 | "version": "8.0.2",
1608 | "resolved": "https://registry.npmmirror.com/eslint-scope/-/eslint-scope-8.0.2.tgz",
1609 | "integrity": "sha512-6E4xmrTw5wtxnLA5wYL3WDfhZ/1bUBGOXV0zQvVRDOtrR8D0p6W7fs3JweNYhwRYeGvd/1CKX2se0/2s7Q/nJA==",
1610 | "dev": true,
1611 | "license": "BSD-2-Clause",
1612 | "dependencies": {
1613 | "esrecurse": "^4.3.0",
1614 | "estraverse": "^5.2.0"
1615 | },
1616 | "engines": {
1617 | "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
1618 | },
1619 | "funding": {
1620 | "url": "https://opencollective.com/eslint"
1621 | }
1622 | },
1623 | "node_modules/eslint-visitor-keys": {
1624 | "version": "4.0.0",
1625 | "resolved": "https://registry.npmmirror.com/eslint-visitor-keys/-/eslint-visitor-keys-4.0.0.tgz",
1626 | "integrity": "sha512-OtIRv/2GyiF6o/d8K7MYKKbXrOUBIK6SfkIRM4Z0dY3w+LiQ0vy3F57m0Z71bjbyeiWFiHJ8brqnmE6H6/jEuw==",
1627 | "dev": true,
1628 | "license": "Apache-2.0",
1629 | "engines": {
1630 | "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
1631 | },
1632 | "funding": {
1633 | "url": "https://opencollective.com/eslint"
1634 | }
1635 | },
1636 | "node_modules/espree": {
1637 | "version": "10.1.0",
1638 | "resolved": "https://registry.npmmirror.com/espree/-/espree-10.1.0.tgz",
1639 | "integrity": "sha512-M1M6CpiE6ffoigIOWYO9UDP8TMUw9kqb21tf+08IgDYjCsOvCuDt4jQcZmoYxx+w7zlKw9/N0KXfto+I8/FrXA==",
1640 | "dev": true,
1641 | "license": "BSD-2-Clause",
1642 | "dependencies": {
1643 | "acorn": "^8.12.0",
1644 | "acorn-jsx": "^5.3.2",
1645 | "eslint-visitor-keys": "^4.0.0"
1646 | },
1647 | "engines": {
1648 | "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
1649 | },
1650 | "funding": {
1651 | "url": "https://opencollective.com/eslint"
1652 | }
1653 | },
1654 | "node_modules/esquery": {
1655 | "version": "1.6.0",
1656 | "resolved": "https://registry.npmmirror.com/esquery/-/esquery-1.6.0.tgz",
1657 | "integrity": "sha512-ca9pw9fomFcKPvFLXhBKUK90ZvGibiGOvRJNbjljY7s7uq/5YO4BOzcYtJqExdx99rF6aAcnRxHmcUHcz6sQsg==",
1658 | "dev": true,
1659 | "license": "BSD-3-Clause",
1660 | "dependencies": {
1661 | "estraverse": "^5.1.0"
1662 | },
1663 | "engines": {
1664 | "node": ">=0.10"
1665 | }
1666 | },
1667 | "node_modules/esrecurse": {
1668 | "version": "4.3.0",
1669 | "resolved": "https://registry.npmmirror.com/esrecurse/-/esrecurse-4.3.0.tgz",
1670 | "integrity": "sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==",
1671 | "dev": true,
1672 | "license": "BSD-2-Clause",
1673 | "dependencies": {
1674 | "estraverse": "^5.2.0"
1675 | },
1676 | "engines": {
1677 | "node": ">=4.0"
1678 | }
1679 | },
1680 | "node_modules/estraverse": {
1681 | "version": "5.3.0",
1682 | "resolved": "https://registry.npmmirror.com/estraverse/-/estraverse-5.3.0.tgz",
1683 | "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==",
1684 | "dev": true,
1685 | "license": "BSD-2-Clause",
1686 | "engines": {
1687 | "node": ">=4.0"
1688 | }
1689 | },
1690 | "node_modules/esutils": {
1691 | "version": "2.0.3",
1692 | "resolved": "https://registry.npmmirror.com/esutils/-/esutils-2.0.3.tgz",
1693 | "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==",
1694 | "dev": true,
1695 | "license": "BSD-2-Clause",
1696 | "engines": {
1697 | "node": ">=0.10.0"
1698 | }
1699 | },
1700 | "node_modules/execa": {
1701 | "version": "7.2.0",
1702 | "resolved": "https://registry.npmmirror.com/execa/-/execa-7.2.0.tgz",
1703 | "integrity": "sha512-UduyVP7TLB5IcAQl+OzLyLcS/l32W/GLg+AhHJ+ow40FOk2U3SAllPwR44v4vmdFwIWqpdwxxpQbF1n5ta9seA==",
1704 | "dev": true,
1705 | "license": "MIT",
1706 | "dependencies": {
1707 | "cross-spawn": "^7.0.3",
1708 | "get-stream": "^6.0.1",
1709 | "human-signals": "^4.3.0",
1710 | "is-stream": "^3.0.0",
1711 | "merge-stream": "^2.0.0",
1712 | "npm-run-path": "^5.1.0",
1713 | "onetime": "^6.0.0",
1714 | "signal-exit": "^3.0.7",
1715 | "strip-final-newline": "^3.0.0"
1716 | },
1717 | "engines": {
1718 | "node": "^14.18.0 || ^16.14.0 || >=18.0.0"
1719 | },
1720 | "funding": {
1721 | "url": "https://github.com/sindresorhus/execa?sponsor=1"
1722 | }
1723 | },
1724 | "node_modules/fast-deep-equal": {
1725 | "version": "3.1.3",
1726 | "resolved": "https://registry.npmmirror.com/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz",
1727 | "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==",
1728 | "dev": true,
1729 | "license": "MIT"
1730 | },
1731 | "node_modules/fast-glob": {
1732 | "version": "3.3.2",
1733 | "resolved": "https://registry.npmmirror.com/fast-glob/-/fast-glob-3.3.2.tgz",
1734 | "integrity": "sha512-oX2ruAFQwf/Orj8m737Y5adxDQO0LAB7/S5MnxCdTNDd4p6BsyIVsv9JQsATbTSq8KHRpLwIHbVlUNatxd+1Ow==",
1735 | "dev": true,
1736 | "license": "MIT",
1737 | "dependencies": {
1738 | "@nodelib/fs.stat": "^2.0.2",
1739 | "@nodelib/fs.walk": "^1.2.3",
1740 | "glob-parent": "^5.1.2",
1741 | "merge2": "^1.3.0",
1742 | "micromatch": "^4.0.4"
1743 | },
1744 | "engines": {
1745 | "node": ">=8.6.0"
1746 | }
1747 | },
1748 | "node_modules/fast-glob/node_modules/glob-parent": {
1749 | "version": "5.1.2",
1750 | "resolved": "https://registry.npmmirror.com/glob-parent/-/glob-parent-5.1.2.tgz",
1751 | "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==",
1752 | "dev": true,
1753 | "license": "ISC",
1754 | "dependencies": {
1755 | "is-glob": "^4.0.1"
1756 | },
1757 | "engines": {
1758 | "node": ">= 6"
1759 | }
1760 | },
1761 | "node_modules/fast-json-stable-stringify": {
1762 | "version": "2.1.0",
1763 | "resolved": "https://registry.npmmirror.com/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz",
1764 | "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==",
1765 | "dev": true,
1766 | "license": "MIT"
1767 | },
1768 | "node_modules/fast-levenshtein": {
1769 | "version": "2.0.6",
1770 | "resolved": "https://registry.npmmirror.com/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz",
1771 | "integrity": "sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==",
1772 | "dev": true,
1773 | "license": "MIT"
1774 | },
1775 | "node_modules/fastq": {
1776 | "version": "1.17.1",
1777 | "resolved": "https://registry.npmmirror.com/fastq/-/fastq-1.17.1.tgz",
1778 | "integrity": "sha512-sRVD3lWVIXWg6By68ZN7vho9a1pQcN/WBFaAAsDDFzlJjvoGx0P8z7V1t72grFJfJhu3YPZBuu25f7Kaw2jN1w==",
1779 | "dev": true,
1780 | "license": "ISC",
1781 | "dependencies": {
1782 | "reusify": "^1.0.4"
1783 | }
1784 | },
1785 | "node_modules/file-entry-cache": {
1786 | "version": "8.0.0",
1787 | "resolved": "https://registry.npmmirror.com/file-entry-cache/-/file-entry-cache-8.0.0.tgz",
1788 | "integrity": "sha512-XXTUwCvisa5oacNGRP9SfNtYBNAMi+RPwBFmblZEF7N7swHYQS6/Zfk7SRwx4D5j3CH211YNRco1DEMNVfZCnQ==",
1789 | "dev": true,
1790 | "license": "MIT",
1791 | "dependencies": {
1792 | "flat-cache": "^4.0.0"
1793 | },
1794 | "engines": {
1795 | "node": ">=16.0.0"
1796 | }
1797 | },
1798 | "node_modules/fill-range": {
1799 | "version": "7.1.1",
1800 | "resolved": "https://registry.npmmirror.com/fill-range/-/fill-range-7.1.1.tgz",
1801 | "integrity": "sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==",
1802 | "dev": true,
1803 | "license": "MIT",
1804 | "dependencies": {
1805 | "to-regex-range": "^5.0.1"
1806 | },
1807 | "engines": {
1808 | "node": ">=8"
1809 | }
1810 | },
1811 | "node_modules/find-up": {
1812 | "version": "5.0.0",
1813 | "resolved": "https://registry.npmmirror.com/find-up/-/find-up-5.0.0.tgz",
1814 | "integrity": "sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==",
1815 | "dev": true,
1816 | "license": "MIT",
1817 | "dependencies": {
1818 | "locate-path": "^6.0.0",
1819 | "path-exists": "^4.0.0"
1820 | },
1821 | "engines": {
1822 | "node": ">=10"
1823 | },
1824 | "funding": {
1825 | "url": "https://github.com/sponsors/sindresorhus"
1826 | }
1827 | },
1828 | "node_modules/flat-cache": {
1829 | "version": "4.0.1",
1830 | "resolved": "https://registry.npmmirror.com/flat-cache/-/flat-cache-4.0.1.tgz",
1831 | "integrity": "sha512-f7ccFPK3SXFHpx15UIGyRJ/FJQctuKZ0zVuN3frBo4HnK3cay9VEW0R6yPYFHC0AgqhukPzKjq22t5DmAyqGyw==",
1832 | "dev": true,
1833 | "license": "MIT",
1834 | "dependencies": {
1835 | "flatted": "^3.2.9",
1836 | "keyv": "^4.5.4"
1837 | },
1838 | "engines": {
1839 | "node": ">=16"
1840 | }
1841 | },
1842 | "node_modules/flatted": {
1843 | "version": "3.3.1",
1844 | "resolved": "https://registry.npmmirror.com/flatted/-/flatted-3.3.1.tgz",
1845 | "integrity": "sha512-X8cqMLLie7KsNUDSdzeN8FYK9rEt4Dt67OsG/DNGnYTSDBG4uFAJFBnUeiV+zCVAvwFy56IjM9sH51jVaEhNxw==",
1846 | "dev": true,
1847 | "license": "ISC"
1848 | },
1849 | "node_modules/fsevents": {
1850 | "version": "2.3.3",
1851 | "resolved": "https://registry.npmmirror.com/fsevents/-/fsevents-2.3.3.tgz",
1852 | "integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==",
1853 | "dev": true,
1854 | "hasInstallScript": true,
1855 | "license": "MIT",
1856 | "optional": true,
1857 | "os": [
1858 | "darwin"
1859 | ],
1860 | "engines": {
1861 | "node": "^8.16.0 || ^10.6.0 || >=11.0.0"
1862 | }
1863 | },
1864 | "node_modules/get-stream": {
1865 | "version": "6.0.1",
1866 | "resolved": "https://registry.npmmirror.com/get-stream/-/get-stream-6.0.1.tgz",
1867 | "integrity": "sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==",
1868 | "dev": true,
1869 | "license": "MIT",
1870 | "engines": {
1871 | "node": ">=10"
1872 | },
1873 | "funding": {
1874 | "url": "https://github.com/sponsors/sindresorhus"
1875 | }
1876 | },
1877 | "node_modules/glob-parent": {
1878 | "version": "6.0.2",
1879 | "resolved": "https://registry.npmmirror.com/glob-parent/-/glob-parent-6.0.2.tgz",
1880 | "integrity": "sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==",
1881 | "dev": true,
1882 | "license": "ISC",
1883 | "dependencies": {
1884 | "is-glob": "^4.0.3"
1885 | },
1886 | "engines": {
1887 | "node": ">=10.13.0"
1888 | }
1889 | },
1890 | "node_modules/globals": {
1891 | "version": "14.0.0",
1892 | "resolved": "https://registry.npmmirror.com/globals/-/globals-14.0.0.tgz",
1893 | "integrity": "sha512-oahGvuMGQlPw/ivIYBjVSrWAfWLBeku5tpPE2fOPLi+WHffIWbuh2tCjhyQhTBPMf5E9jDEH4FOmTYgYwbKwtQ==",
1894 | "dev": true,
1895 | "license": "MIT",
1896 | "engines": {
1897 | "node": ">=18"
1898 | },
1899 | "funding": {
1900 | "url": "https://github.com/sponsors/sindresorhus"
1901 | }
1902 | },
1903 | "node_modules/graphemer": {
1904 | "version": "1.4.0",
1905 | "resolved": "https://registry.npmmirror.com/graphemer/-/graphemer-1.4.0.tgz",
1906 | "integrity": "sha512-EtKwoO6kxCL9WO5xipiHTZlSzBm7WLT627TqC/uVRd0HKmq8NXyebnNYxDoBi7wt8eTWrUrKXCOVaFq9x1kgag==",
1907 | "dev": true,
1908 | "license": "MIT"
1909 | },
1910 | "node_modules/has-flag": {
1911 | "version": "4.0.0",
1912 | "resolved": "https://registry.npmmirror.com/has-flag/-/has-flag-4.0.0.tgz",
1913 | "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==",
1914 | "dev": true,
1915 | "license": "MIT",
1916 | "engines": {
1917 | "node": ">=8"
1918 | }
1919 | },
1920 | "node_modules/htmlparser2": {
1921 | "version": "9.1.0",
1922 | "resolved": "https://registry.npmmirror.com/htmlparser2/-/htmlparser2-9.1.0.tgz",
1923 | "integrity": "sha512-5zfg6mHUoaer/97TxnGpxmbR7zJtPwIYFMZ/H5ucTlPZhKvtum05yiPK3Mgai3a0DyVxv7qYqoweaEd2nrYQzQ==",
1924 | "dev": true,
1925 | "funding": [
1926 | "https://github.com/fb55/htmlparser2?sponsor=1",
1927 | {
1928 | "type": "github",
1929 | "url": "https://github.com/sponsors/fb55"
1930 | }
1931 | ],
1932 | "license": "MIT",
1933 | "dependencies": {
1934 | "domelementtype": "^2.3.0",
1935 | "domhandler": "^5.0.3",
1936 | "domutils": "^3.1.0",
1937 | "entities": "^4.5.0"
1938 | }
1939 | },
1940 | "node_modules/human-signals": {
1941 | "version": "4.3.1",
1942 | "resolved": "https://registry.npmmirror.com/human-signals/-/human-signals-4.3.1.tgz",
1943 | "integrity": "sha512-nZXjEF2nbo7lIw3mgYjItAfgQXog3OjJogSbKa2CQIIvSGWcKgeJnQlNXip6NglNzYH45nSRiEVimMvYL8DDqQ==",
1944 | "dev": true,
1945 | "license": "Apache-2.0",
1946 | "engines": {
1947 | "node": ">=14.18.0"
1948 | }
1949 | },
1950 | "node_modules/ignore": {
1951 | "version": "5.3.2",
1952 | "resolved": "https://registry.npmmirror.com/ignore/-/ignore-5.3.2.tgz",
1953 | "integrity": "sha512-hsBTNUqQTDwkWtcdYI2i06Y/nUBEsNEDJKjWdigLvegy8kDuJAS8uRlpkkcQpyEXL0Z/pjDy5HBmMjRCJ2gq+g==",
1954 | "dev": true,
1955 | "license": "MIT",
1956 | "engines": {
1957 | "node": ">= 4"
1958 | }
1959 | },
1960 | "node_modules/immutable": {
1961 | "version": "4.3.7",
1962 | "resolved": "https://registry.npmmirror.com/immutable/-/immutable-4.3.7.tgz",
1963 | "integrity": "sha512-1hqclzwYwjRDFLjcFxOM5AYkkG0rpFPpr1RLPMEuGczoS7YA8gLhy8SWXYRAA/XwfEHpfo3cw5JGioS32fnMRw==",
1964 | "dev": true,
1965 | "license": "MIT"
1966 | },
1967 | "node_modules/import-fresh": {
1968 | "version": "3.3.0",
1969 | "resolved": "https://registry.npmmirror.com/import-fresh/-/import-fresh-3.3.0.tgz",
1970 | "integrity": "sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==",
1971 | "dev": true,
1972 | "license": "MIT",
1973 | "dependencies": {
1974 | "parent-module": "^1.0.0",
1975 | "resolve-from": "^4.0.0"
1976 | },
1977 | "engines": {
1978 | "node": ">=6"
1979 | },
1980 | "funding": {
1981 | "url": "https://github.com/sponsors/sindresorhus"
1982 | }
1983 | },
1984 | "node_modules/import-meta-resolve": {
1985 | "version": "4.1.0",
1986 | "resolved": "https://registry.npmmirror.com/import-meta-resolve/-/import-meta-resolve-4.1.0.tgz",
1987 | "integrity": "sha512-I6fiaX09Xivtk+THaMfAwnA3MVA5Big1WHF1Dfx9hFuvNIWpXnorlkzhcQf6ehrqQiiZECRt1poOAkPmer3ruw==",
1988 | "dev": true,
1989 | "license": "MIT",
1990 | "funding": {
1991 | "type": "github",
1992 | "url": "https://github.com/sponsors/wooorm"
1993 | }
1994 | },
1995 | "node_modules/imurmurhash": {
1996 | "version": "0.1.4",
1997 | "resolved": "https://registry.npmmirror.com/imurmurhash/-/imurmurhash-0.1.4.tgz",
1998 | "integrity": "sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==",
1999 | "dev": true,
2000 | "license": "MIT",
2001 | "engines": {
2002 | "node": ">=0.8.19"
2003 | }
2004 | },
2005 | "node_modules/is-docker": {
2006 | "version": "3.0.0",
2007 | "resolved": "https://registry.npmmirror.com/is-docker/-/is-docker-3.0.0.tgz",
2008 | "integrity": "sha512-eljcgEDlEns/7AXFosB5K/2nCM4P7FQPkGc/DWLy5rmFEWvZayGrik1d9/QIY5nJ4f9YsVvBkA6kJpHn9rISdQ==",
2009 | "dev": true,
2010 | "license": "MIT",
2011 | "bin": {
2012 | "is-docker": "cli.js"
2013 | },
2014 | "engines": {
2015 | "node": "^12.20.0 || ^14.13.1 || >=16.0.0"
2016 | },
2017 | "funding": {
2018 | "url": "https://github.com/sponsors/sindresorhus"
2019 | }
2020 | },
2021 | "node_modules/is-extglob": {
2022 | "version": "2.1.1",
2023 | "resolved": "https://registry.npmmirror.com/is-extglob/-/is-extglob-2.1.1.tgz",
2024 | "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==",
2025 | "dev": true,
2026 | "license": "MIT",
2027 | "engines": {
2028 | "node": ">=0.10.0"
2029 | }
2030 | },
2031 | "node_modules/is-glob": {
2032 | "version": "4.0.3",
2033 | "resolved": "https://registry.npmmirror.com/is-glob/-/is-glob-4.0.3.tgz",
2034 | "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==",
2035 | "dev": true,
2036 | "license": "MIT",
2037 | "dependencies": {
2038 | "is-extglob": "^2.1.1"
2039 | },
2040 | "engines": {
2041 | "node": ">=0.10.0"
2042 | }
2043 | },
2044 | "node_modules/is-inside-container": {
2045 | "version": "1.0.0",
2046 | "resolved": "https://registry.npmmirror.com/is-inside-container/-/is-inside-container-1.0.0.tgz",
2047 | "integrity": "sha512-KIYLCCJghfHZxqjYBE7rEy0OBuTd5xCHS7tHVgvCLkx7StIoaxwNW3hCALgEUjFfeRk+MG/Qxmp/vtETEF3tRA==",
2048 | "dev": true,
2049 | "license": "MIT",
2050 | "dependencies": {
2051 | "is-docker": "^3.0.0"
2052 | },
2053 | "bin": {
2054 | "is-inside-container": "cli.js"
2055 | },
2056 | "engines": {
2057 | "node": ">=14.16"
2058 | },
2059 | "funding": {
2060 | "url": "https://github.com/sponsors/sindresorhus"
2061 | }
2062 | },
2063 | "node_modules/is-number": {
2064 | "version": "7.0.0",
2065 | "resolved": "https://registry.npmmirror.com/is-number/-/is-number-7.0.0.tgz",
2066 | "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==",
2067 | "dev": true,
2068 | "license": "MIT",
2069 | "engines": {
2070 | "node": ">=0.12.0"
2071 | }
2072 | },
2073 | "node_modules/is-path-inside": {
2074 | "version": "3.0.3",
2075 | "resolved": "https://registry.npmmirror.com/is-path-inside/-/is-path-inside-3.0.3.tgz",
2076 | "integrity": "sha512-Fd4gABb+ycGAmKou8eMftCupSir5lRxqf4aD/vd0cD2qc4HL07OjCeuHMr8Ro4CoMaeCKDB0/ECBOVWjTwUvPQ==",
2077 | "dev": true,
2078 | "license": "MIT",
2079 | "engines": {
2080 | "node": ">=8"
2081 | }
2082 | },
2083 | "node_modules/is-stream": {
2084 | "version": "3.0.0",
2085 | "resolved": "https://registry.npmmirror.com/is-stream/-/is-stream-3.0.0.tgz",
2086 | "integrity": "sha512-LnQR4bZ9IADDRSkvpqMGvt/tEJWclzklNgSw48V5EAaAeDd6qGvN8ei6k5p0tvxSR171VmGyHuTiAOfxAbr8kA==",
2087 | "dev": true,
2088 | "license": "MIT",
2089 | "engines": {
2090 | "node": "^12.20.0 || ^14.13.1 || >=16.0.0"
2091 | },
2092 | "funding": {
2093 | "url": "https://github.com/sponsors/sindresorhus"
2094 | }
2095 | },
2096 | "node_modules/is-wsl": {
2097 | "version": "2.2.0",
2098 | "resolved": "https://registry.npmmirror.com/is-wsl/-/is-wsl-2.2.0.tgz",
2099 | "integrity": "sha512-fKzAra0rGJUUBwGBgNkHZuToZcn+TtXHpeCgmkMJMMYx1sQDYaCSyjJBSCa2nH1DGm7s3n1oBnohoVTBaN7Lww==",
2100 | "dev": true,
2101 | "license": "MIT",
2102 | "dependencies": {
2103 | "is-docker": "^2.0.0"
2104 | },
2105 | "engines": {
2106 | "node": ">=8"
2107 | }
2108 | },
2109 | "node_modules/is-wsl/node_modules/is-docker": {
2110 | "version": "2.2.1",
2111 | "resolved": "https://registry.npmmirror.com/is-docker/-/is-docker-2.2.1.tgz",
2112 | "integrity": "sha512-F+i2BKsFrH66iaUFc0woD8sLy8getkwTwtOBjvs56Cx4CgJDeKQeqfz8wAYiSb8JOprWhHH5p77PbmYCvvUuXQ==",
2113 | "dev": true,
2114 | "license": "MIT",
2115 | "bin": {
2116 | "is-docker": "cli.js"
2117 | },
2118 | "engines": {
2119 | "node": ">=8"
2120 | },
2121 | "funding": {
2122 | "url": "https://github.com/sponsors/sindresorhus"
2123 | }
2124 | },
2125 | "node_modules/isexe": {
2126 | "version": "2.0.0",
2127 | "resolved": "https://registry.npmmirror.com/isexe/-/isexe-2.0.0.tgz",
2128 | "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==",
2129 | "dev": true,
2130 | "license": "ISC"
2131 | },
2132 | "node_modules/js-yaml": {
2133 | "version": "4.1.0",
2134 | "resolved": "https://registry.npmmirror.com/js-yaml/-/js-yaml-4.1.0.tgz",
2135 | "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==",
2136 | "dev": true,
2137 | "license": "MIT",
2138 | "dependencies": {
2139 | "argparse": "^2.0.1"
2140 | },
2141 | "bin": {
2142 | "js-yaml": "bin/js-yaml.js"
2143 | }
2144 | },
2145 | "node_modules/json-buffer": {
2146 | "version": "3.0.1",
2147 | "resolved": "https://registry.npmmirror.com/json-buffer/-/json-buffer-3.0.1.tgz",
2148 | "integrity": "sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ==",
2149 | "dev": true,
2150 | "license": "MIT"
2151 | },
2152 | "node_modules/json-schema-traverse": {
2153 | "version": "0.4.1",
2154 | "resolved": "https://registry.npmmirror.com/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz",
2155 | "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==",
2156 | "dev": true,
2157 | "license": "MIT"
2158 | },
2159 | "node_modules/json-stable-stringify-without-jsonify": {
2160 | "version": "1.0.1",
2161 | "resolved": "https://registry.npmmirror.com/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz",
2162 | "integrity": "sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw==",
2163 | "dev": true,
2164 | "license": "MIT"
2165 | },
2166 | "node_modules/keyv": {
2167 | "version": "4.5.4",
2168 | "resolved": "https://registry.npmmirror.com/keyv/-/keyv-4.5.4.tgz",
2169 | "integrity": "sha512-oxVHkHR/EJf2CNXnWxRLW6mg7JyCCUcG0DtEGmL2ctUo1PNTin1PUil+r/+4r5MpVgC/fn1kjsx7mjSujKqIpw==",
2170 | "dev": true,
2171 | "license": "MIT",
2172 | "dependencies": {
2173 | "json-buffer": "3.0.1"
2174 | }
2175 | },
2176 | "node_modules/levn": {
2177 | "version": "0.4.1",
2178 | "resolved": "https://registry.npmmirror.com/levn/-/levn-0.4.1.tgz",
2179 | "integrity": "sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==",
2180 | "dev": true,
2181 | "license": "MIT",
2182 | "dependencies": {
2183 | "prelude-ls": "^1.2.1",
2184 | "type-check": "~0.4.0"
2185 | },
2186 | "engines": {
2187 | "node": ">= 0.8.0"
2188 | }
2189 | },
2190 | "node_modules/locate-path": {
2191 | "version": "6.0.0",
2192 | "resolved": "https://registry.npmmirror.com/locate-path/-/locate-path-6.0.0.tgz",
2193 | "integrity": "sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==",
2194 | "dev": true,
2195 | "license": "MIT",
2196 | "dependencies": {
2197 | "p-locate": "^5.0.0"
2198 | },
2199 | "engines": {
2200 | "node": ">=10"
2201 | },
2202 | "funding": {
2203 | "url": "https://github.com/sponsors/sindresorhus"
2204 | }
2205 | },
2206 | "node_modules/lodash.merge": {
2207 | "version": "4.6.2",
2208 | "resolved": "https://registry.npmmirror.com/lodash.merge/-/lodash.merge-4.6.2.tgz",
2209 | "integrity": "sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==",
2210 | "dev": true,
2211 | "license": "MIT"
2212 | },
2213 | "node_modules/magic-string": {
2214 | "version": "0.30.11",
2215 | "resolved": "https://registry.npmmirror.com/magic-string/-/magic-string-0.30.11.tgz",
2216 | "integrity": "sha512-+Wri9p0QHMy+545hKww7YAu5NyzF8iomPL/RQazugQ9+Ez4Ic3mERMd8ZTX5rfK944j+560ZJi8iAwgak1Ac7A==",
2217 | "dev": true,
2218 | "license": "MIT",
2219 | "dependencies": {
2220 | "@jridgewell/sourcemap-codec": "^1.5.0"
2221 | }
2222 | },
2223 | "node_modules/merge-stream": {
2224 | "version": "2.0.0",
2225 | "resolved": "https://registry.npmmirror.com/merge-stream/-/merge-stream-2.0.0.tgz",
2226 | "integrity": "sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==",
2227 | "dev": true,
2228 | "license": "MIT"
2229 | },
2230 | "node_modules/merge2": {
2231 | "version": "1.4.1",
2232 | "resolved": "https://registry.npmmirror.com/merge2/-/merge2-1.4.1.tgz",
2233 | "integrity": "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==",
2234 | "dev": true,
2235 | "license": "MIT",
2236 | "engines": {
2237 | "node": ">= 8"
2238 | }
2239 | },
2240 | "node_modules/micromatch": {
2241 | "version": "4.0.8",
2242 | "resolved": "https://registry.npmmirror.com/micromatch/-/micromatch-4.0.8.tgz",
2243 | "integrity": "sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA==",
2244 | "dev": true,
2245 | "license": "MIT",
2246 | "dependencies": {
2247 | "braces": "^3.0.3",
2248 | "picomatch": "^2.3.1"
2249 | },
2250 | "engines": {
2251 | "node": ">=8.6"
2252 | }
2253 | },
2254 | "node_modules/mimic-fn": {
2255 | "version": "4.0.0",
2256 | "resolved": "https://registry.npmmirror.com/mimic-fn/-/mimic-fn-4.0.0.tgz",
2257 | "integrity": "sha512-vqiC06CuhBTUdZH+RYl8sFrL096vA45Ok5ISO6sE/Mr1jRbGH4Csnhi8f3wKVl7x8mO4Au7Ir9D3Oyv1VYMFJw==",
2258 | "dev": true,
2259 | "license": "MIT",
2260 | "engines": {
2261 | "node": ">=12"
2262 | },
2263 | "funding": {
2264 | "url": "https://github.com/sponsors/sindresorhus"
2265 | }
2266 | },
2267 | "node_modules/minimatch": {
2268 | "version": "3.1.2",
2269 | "resolved": "https://registry.npmmirror.com/minimatch/-/minimatch-3.1.2.tgz",
2270 | "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==",
2271 | "dev": true,
2272 | "license": "ISC",
2273 | "dependencies": {
2274 | "brace-expansion": "^1.1.7"
2275 | },
2276 | "engines": {
2277 | "node": "*"
2278 | }
2279 | },
2280 | "node_modules/mrmime": {
2281 | "version": "1.0.1",
2282 | "resolved": "https://registry.npmmirror.com/mrmime/-/mrmime-1.0.1.tgz",
2283 | "integrity": "sha512-hzzEagAgDyoU1Q6yg5uI+AorQgdvMCur3FcKf7NhMKWsaYg+RnbTyHRa/9IlLF9rf455MOCtcqqrQQ83pPP7Uw==",
2284 | "dev": true,
2285 | "license": "MIT",
2286 | "engines": {
2287 | "node": ">=10"
2288 | }
2289 | },
2290 | "node_modules/ms": {
2291 | "version": "2.1.3",
2292 | "resolved": "https://registry.npmmirror.com/ms/-/ms-2.1.3.tgz",
2293 | "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==",
2294 | "dev": true,
2295 | "license": "MIT"
2296 | },
2297 | "node_modules/nanoid": {
2298 | "version": "3.3.7",
2299 | "resolved": "https://registry.npmmirror.com/nanoid/-/nanoid-3.3.7.tgz",
2300 | "integrity": "sha512-eSRppjcPIatRIMC1U6UngP8XFcz8MQWGQdt1MTBQ7NaAmvXDfvNxbvWV3x2y6CdEUciCSsDHDQZbhYaB8QEo2g==",
2301 | "dev": true,
2302 | "funding": [
2303 | {
2304 | "type": "github",
2305 | "url": "https://github.com/sponsors/ai"
2306 | }
2307 | ],
2308 | "license": "MIT",
2309 | "bin": {
2310 | "nanoid": "bin/nanoid.cjs"
2311 | },
2312 | "engines": {
2313 | "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1"
2314 | }
2315 | },
2316 | "node_modules/natural-compare": {
2317 | "version": "1.4.0",
2318 | "resolved": "https://registry.npmmirror.com/natural-compare/-/natural-compare-1.4.0.tgz",
2319 | "integrity": "sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==",
2320 | "dev": true,
2321 | "license": "MIT"
2322 | },
2323 | "node_modules/npm-run-path": {
2324 | "version": "5.3.0",
2325 | "resolved": "https://registry.npmmirror.com/npm-run-path/-/npm-run-path-5.3.0.tgz",
2326 | "integrity": "sha512-ppwTtiJZq0O/ai0z7yfudtBpWIoxM8yE6nHi1X47eFR2EWORqfbu6CnPlNsjeN683eT0qG6H/Pyf9fCcvjnnnQ==",
2327 | "dev": true,
2328 | "license": "MIT",
2329 | "dependencies": {
2330 | "path-key": "^4.0.0"
2331 | },
2332 | "engines": {
2333 | "node": "^12.20.0 || ^14.13.1 || >=16.0.0"
2334 | },
2335 | "funding": {
2336 | "url": "https://github.com/sponsors/sindresorhus"
2337 | }
2338 | },
2339 | "node_modules/npm-run-path/node_modules/path-key": {
2340 | "version": "4.0.0",
2341 | "resolved": "https://registry.npmmirror.com/path-key/-/path-key-4.0.0.tgz",
2342 | "integrity": "sha512-haREypq7xkM7ErfgIyA0z+Bj4AGKlMSdlQE2jvJo6huWD1EdkKYV+G/T4nq0YEF2vgTT8kqMFKo1uHn950r4SQ==",
2343 | "dev": true,
2344 | "license": "MIT",
2345 | "engines": {
2346 | "node": ">=12"
2347 | },
2348 | "funding": {
2349 | "url": "https://github.com/sponsors/sindresorhus"
2350 | }
2351 | },
2352 | "node_modules/onetime": {
2353 | "version": "6.0.0",
2354 | "resolved": "https://registry.npmmirror.com/onetime/-/onetime-6.0.0.tgz",
2355 | "integrity": "sha512-1FlR+gjXK7X+AsAHso35MnyN5KqGwJRi/31ft6x0M194ht7S+rWAvd7PHss9xSKMzE0asv1pyIHaJYq+BbacAQ==",
2356 | "dev": true,
2357 | "license": "MIT",
2358 | "dependencies": {
2359 | "mimic-fn": "^4.0.0"
2360 | },
2361 | "engines": {
2362 | "node": ">=12"
2363 | },
2364 | "funding": {
2365 | "url": "https://github.com/sponsors/sindresorhus"
2366 | }
2367 | },
2368 | "node_modules/open": {
2369 | "version": "9.1.0",
2370 | "resolved": "https://registry.npmmirror.com/open/-/open-9.1.0.tgz",
2371 | "integrity": "sha512-OS+QTnw1/4vrf+9hh1jc1jnYjzSG4ttTBB8UxOwAnInG3Uo4ssetzC1ihqaIHjLJnA5GGlRl6QlZXOTQhRBUvg==",
2372 | "dev": true,
2373 | "license": "MIT",
2374 | "dependencies": {
2375 | "default-browser": "^4.0.0",
2376 | "define-lazy-prop": "^3.0.0",
2377 | "is-inside-container": "^1.0.0",
2378 | "is-wsl": "^2.2.0"
2379 | },
2380 | "engines": {
2381 | "node": ">=14.16"
2382 | },
2383 | "funding": {
2384 | "url": "https://github.com/sponsors/sindresorhus"
2385 | }
2386 | },
2387 | "node_modules/optionator": {
2388 | "version": "0.9.4",
2389 | "resolved": "https://registry.npmmirror.com/optionator/-/optionator-0.9.4.tgz",
2390 | "integrity": "sha512-6IpQ7mKUxRcZNLIObR0hz7lxsapSSIYNZJwXPGeF0mTVqGKFIXj1DQcMoT22S3ROcLyY/rz0PWaWZ9ayWmad9g==",
2391 | "dev": true,
2392 | "license": "MIT",
2393 | "dependencies": {
2394 | "deep-is": "^0.1.3",
2395 | "fast-levenshtein": "^2.0.6",
2396 | "levn": "^0.4.1",
2397 | "prelude-ls": "^1.2.1",
2398 | "type-check": "^0.4.0",
2399 | "word-wrap": "^1.2.5"
2400 | },
2401 | "engines": {
2402 | "node": ">= 0.8.0"
2403 | }
2404 | },
2405 | "node_modules/p-limit": {
2406 | "version": "3.1.0",
2407 | "resolved": "https://registry.npmmirror.com/p-limit/-/p-limit-3.1.0.tgz",
2408 | "integrity": "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==",
2409 | "dev": true,
2410 | "license": "MIT",
2411 | "dependencies": {
2412 | "yocto-queue": "^0.1.0"
2413 | },
2414 | "engines": {
2415 | "node": ">=10"
2416 | },
2417 | "funding": {
2418 | "url": "https://github.com/sponsors/sindresorhus"
2419 | }
2420 | },
2421 | "node_modules/p-locate": {
2422 | "version": "5.0.0",
2423 | "resolved": "https://registry.npmmirror.com/p-locate/-/p-locate-5.0.0.tgz",
2424 | "integrity": "sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==",
2425 | "dev": true,
2426 | "license": "MIT",
2427 | "dependencies": {
2428 | "p-limit": "^3.0.2"
2429 | },
2430 | "engines": {
2431 | "node": ">=10"
2432 | },
2433 | "funding": {
2434 | "url": "https://github.com/sponsors/sindresorhus"
2435 | }
2436 | },
2437 | "node_modules/parent-module": {
2438 | "version": "1.0.1",
2439 | "resolved": "https://registry.npmmirror.com/parent-module/-/parent-module-1.0.1.tgz",
2440 | "integrity": "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==",
2441 | "dev": true,
2442 | "license": "MIT",
2443 | "dependencies": {
2444 | "callsites": "^3.0.0"
2445 | },
2446 | "engines": {
2447 | "node": ">=6"
2448 | }
2449 | },
2450 | "node_modules/path-exists": {
2451 | "version": "4.0.0",
2452 | "resolved": "https://registry.npmmirror.com/path-exists/-/path-exists-4.0.0.tgz",
2453 | "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==",
2454 | "dev": true,
2455 | "license": "MIT",
2456 | "engines": {
2457 | "node": ">=8"
2458 | }
2459 | },
2460 | "node_modules/path-key": {
2461 | "version": "3.1.1",
2462 | "resolved": "https://registry.npmmirror.com/path-key/-/path-key-3.1.1.tgz",
2463 | "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==",
2464 | "dev": true,
2465 | "license": "MIT",
2466 | "engines": {
2467 | "node": ">=8"
2468 | }
2469 | },
2470 | "node_modules/picocolors": {
2471 | "version": "1.1.0",
2472 | "resolved": "https://registry.npmmirror.com/picocolors/-/picocolors-1.1.0.tgz",
2473 | "integrity": "sha512-TQ92mBOW0l3LeMeyLV6mzy/kWr8lkd/hp3mTg7wYK7zJhuBStmGMBG0BdeDZS/dZx1IukaX6Bk11zcln25o1Aw==",
2474 | "dev": true,
2475 | "license": "ISC"
2476 | },
2477 | "node_modules/picomatch": {
2478 | "version": "2.3.1",
2479 | "resolved": "https://registry.npmmirror.com/picomatch/-/picomatch-2.3.1.tgz",
2480 | "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==",
2481 | "dev": true,
2482 | "license": "MIT",
2483 | "engines": {
2484 | "node": ">=8.6"
2485 | },
2486 | "funding": {
2487 | "url": "https://github.com/sponsors/jonschlinkert"
2488 | }
2489 | },
2490 | "node_modules/postcss": {
2491 | "version": "8.4.47",
2492 | "resolved": "https://registry.npmmirror.com/postcss/-/postcss-8.4.47.tgz",
2493 | "integrity": "sha512-56rxCq7G/XfB4EkXq9Egn5GCqugWvDFjafDOThIdMBsI15iqPqR5r15TfSr1YPYeEI19YeaXMCbY6u88Y76GLQ==",
2494 | "dev": true,
2495 | "funding": [
2496 | {
2497 | "type": "opencollective",
2498 | "url": "https://opencollective.com/postcss/"
2499 | },
2500 | {
2501 | "type": "tidelift",
2502 | "url": "https://tidelift.com/funding/github/npm/postcss"
2503 | },
2504 | {
2505 | "type": "github",
2506 | "url": "https://github.com/sponsors/ai"
2507 | }
2508 | ],
2509 | "license": "MIT",
2510 | "dependencies": {
2511 | "nanoid": "^3.3.7",
2512 | "picocolors": "^1.1.0",
2513 | "source-map-js": "^1.2.1"
2514 | },
2515 | "engines": {
2516 | "node": "^10 || ^12 || >=14"
2517 | }
2518 | },
2519 | "node_modules/prelude-ls": {
2520 | "version": "1.2.1",
2521 | "resolved": "https://registry.npmmirror.com/prelude-ls/-/prelude-ls-1.2.1.tgz",
2522 | "integrity": "sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==",
2523 | "dev": true,
2524 | "license": "MIT",
2525 | "engines": {
2526 | "node": ">= 0.8.0"
2527 | }
2528 | },
2529 | "node_modules/prettier": {
2530 | "version": "3.3.3",
2531 | "resolved": "https://registry.npmmirror.com/prettier/-/prettier-3.3.3.tgz",
2532 | "integrity": "sha512-i2tDNA0O5IrMO757lfrdQZCc2jPNDVntV0m/+4whiDfWaTKfMNgR7Qz0NAeGz/nRqF4m5/6CLzbP4/liHt12Ew==",
2533 | "dev": true,
2534 | "license": "MIT",
2535 | "bin": {
2536 | "prettier": "bin/prettier.cjs"
2537 | },
2538 | "engines": {
2539 | "node": ">=14"
2540 | },
2541 | "funding": {
2542 | "url": "https://github.com/prettier/prettier?sponsor=1"
2543 | }
2544 | },
2545 | "node_modules/punycode": {
2546 | "version": "2.3.1",
2547 | "resolved": "https://registry.npmmirror.com/punycode/-/punycode-2.3.1.tgz",
2548 | "integrity": "sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==",
2549 | "dev": true,
2550 | "license": "MIT",
2551 | "engines": {
2552 | "node": ">=6"
2553 | }
2554 | },
2555 | "node_modules/queue-microtask": {
2556 | "version": "1.2.3",
2557 | "resolved": "https://registry.npmmirror.com/queue-microtask/-/queue-microtask-1.2.3.tgz",
2558 | "integrity": "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==",
2559 | "dev": true,
2560 | "funding": [
2561 | {
2562 | "type": "github",
2563 | "url": "https://github.com/sponsors/feross"
2564 | },
2565 | {
2566 | "type": "patreon",
2567 | "url": "https://www.patreon.com/feross"
2568 | },
2569 | {
2570 | "type": "consulting",
2571 | "url": "https://feross.org/support"
2572 | }
2573 | ],
2574 | "license": "MIT"
2575 | },
2576 | "node_modules/readdirp": {
2577 | "version": "4.0.1",
2578 | "resolved": "https://registry.npmmirror.com/readdirp/-/readdirp-4.0.1.tgz",
2579 | "integrity": "sha512-GkMg9uOTpIWWKbSsgwb5fA4EavTR+SG/PMPoAY8hkhHfEEY0/vqljY+XHqtDf2cr2IJtoNRDbrrEpZUiZCkYRw==",
2580 | "dev": true,
2581 | "license": "MIT",
2582 | "engines": {
2583 | "node": ">= 14.16.0"
2584 | },
2585 | "funding": {
2586 | "type": "individual",
2587 | "url": "https://paulmillr.com/funding/"
2588 | }
2589 | },
2590 | "node_modules/resolve-from": {
2591 | "version": "4.0.0",
2592 | "resolved": "https://registry.npmmirror.com/resolve-from/-/resolve-from-4.0.0.tgz",
2593 | "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==",
2594 | "dev": true,
2595 | "license": "MIT",
2596 | "engines": {
2597 | "node": ">=4"
2598 | }
2599 | },
2600 | "node_modules/reusify": {
2601 | "version": "1.0.4",
2602 | "resolved": "https://registry.npmmirror.com/reusify/-/reusify-1.0.4.tgz",
2603 | "integrity": "sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==",
2604 | "dev": true,
2605 | "license": "MIT",
2606 | "engines": {
2607 | "iojs": ">=1.0.0",
2608 | "node": ">=0.10.0"
2609 | }
2610 | },
2611 | "node_modules/rollup": {
2612 | "version": "4.22.4",
2613 | "resolved": "https://registry.npmmirror.com/rollup/-/rollup-4.22.4.tgz",
2614 | "integrity": "sha512-vD8HJ5raRcWOyymsR6Z3o6+RzfEPCnVLMFJ6vRslO1jt4LO6dUo5Qnpg7y4RkZFM2DMe3WUirkI5c16onjrc6A==",
2615 | "dev": true,
2616 | "license": "MIT",
2617 | "dependencies": {
2618 | "@types/estree": "1.0.5"
2619 | },
2620 | "bin": {
2621 | "rollup": "dist/bin/rollup"
2622 | },
2623 | "engines": {
2624 | "node": ">=18.0.0",
2625 | "npm": ">=8.0.0"
2626 | },
2627 | "optionalDependencies": {
2628 | "@rollup/rollup-android-arm-eabi": "4.22.4",
2629 | "@rollup/rollup-android-arm64": "4.22.4",
2630 | "@rollup/rollup-darwin-arm64": "4.22.4",
2631 | "@rollup/rollup-darwin-x64": "4.22.4",
2632 | "@rollup/rollup-linux-arm-gnueabihf": "4.22.4",
2633 | "@rollup/rollup-linux-arm-musleabihf": "4.22.4",
2634 | "@rollup/rollup-linux-arm64-gnu": "4.22.4",
2635 | "@rollup/rollup-linux-arm64-musl": "4.22.4",
2636 | "@rollup/rollup-linux-powerpc64le-gnu": "4.22.4",
2637 | "@rollup/rollup-linux-riscv64-gnu": "4.22.4",
2638 | "@rollup/rollup-linux-s390x-gnu": "4.22.4",
2639 | "@rollup/rollup-linux-x64-gnu": "4.22.4",
2640 | "@rollup/rollup-linux-x64-musl": "4.22.4",
2641 | "@rollup/rollup-win32-arm64-msvc": "4.22.4",
2642 | "@rollup/rollup-win32-ia32-msvc": "4.22.4",
2643 | "@rollup/rollup-win32-x64-msvc": "4.22.4",
2644 | "fsevents": "~2.3.2"
2645 | }
2646 | },
2647 | "node_modules/rollup/node_modules/@types/estree": {
2648 | "version": "1.0.5",
2649 | "resolved": "https://registry.npmmirror.com/@types/estree/-/estree-1.0.5.tgz",
2650 | "integrity": "sha512-/kYRxGDLWzHOB7q+wtSUQlFrtcdUccpfy+X+9iMBpHK8QLLhx2wIPYuS5DYtR9Wa/YlZAbIovy7qVdB1Aq6Lyw==",
2651 | "dev": true,
2652 | "license": "MIT"
2653 | },
2654 | "node_modules/run-applescript": {
2655 | "version": "5.0.0",
2656 | "resolved": "https://registry.npmmirror.com/run-applescript/-/run-applescript-5.0.0.tgz",
2657 | "integrity": "sha512-XcT5rBksx1QdIhlFOCtgZkB99ZEouFZ1E2Kc2LHqNW13U3/74YGdkQRmThTwxy4QIyookibDKYZOPqX//6BlAg==",
2658 | "dev": true,
2659 | "license": "MIT",
2660 | "dependencies": {
2661 | "execa": "^5.0.0"
2662 | },
2663 | "engines": {
2664 | "node": ">=12"
2665 | },
2666 | "funding": {
2667 | "url": "https://github.com/sponsors/sindresorhus"
2668 | }
2669 | },
2670 | "node_modules/run-applescript/node_modules/execa": {
2671 | "version": "5.1.1",
2672 | "resolved": "https://registry.npmmirror.com/execa/-/execa-5.1.1.tgz",
2673 | "integrity": "sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg==",
2674 | "dev": true,
2675 | "license": "MIT",
2676 | "dependencies": {
2677 | "cross-spawn": "^7.0.3",
2678 | "get-stream": "^6.0.0",
2679 | "human-signals": "^2.1.0",
2680 | "is-stream": "^2.0.0",
2681 | "merge-stream": "^2.0.0",
2682 | "npm-run-path": "^4.0.1",
2683 | "onetime": "^5.1.2",
2684 | "signal-exit": "^3.0.3",
2685 | "strip-final-newline": "^2.0.0"
2686 | },
2687 | "engines": {
2688 | "node": ">=10"
2689 | },
2690 | "funding": {
2691 | "url": "https://github.com/sindresorhus/execa?sponsor=1"
2692 | }
2693 | },
2694 | "node_modules/run-applescript/node_modules/human-signals": {
2695 | "version": "2.1.0",
2696 | "resolved": "https://registry.npmmirror.com/human-signals/-/human-signals-2.1.0.tgz",
2697 | "integrity": "sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw==",
2698 | "dev": true,
2699 | "license": "Apache-2.0",
2700 | "engines": {
2701 | "node": ">=10.17.0"
2702 | }
2703 | },
2704 | "node_modules/run-applescript/node_modules/is-stream": {
2705 | "version": "2.0.1",
2706 | "resolved": "https://registry.npmmirror.com/is-stream/-/is-stream-2.0.1.tgz",
2707 | "integrity": "sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==",
2708 | "dev": true,
2709 | "license": "MIT",
2710 | "engines": {
2711 | "node": ">=8"
2712 | },
2713 | "funding": {
2714 | "url": "https://github.com/sponsors/sindresorhus"
2715 | }
2716 | },
2717 | "node_modules/run-applescript/node_modules/mimic-fn": {
2718 | "version": "2.1.0",
2719 | "resolved": "https://registry.npmmirror.com/mimic-fn/-/mimic-fn-2.1.0.tgz",
2720 | "integrity": "sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==",
2721 | "dev": true,
2722 | "license": "MIT",
2723 | "engines": {
2724 | "node": ">=6"
2725 | }
2726 | },
2727 | "node_modules/run-applescript/node_modules/npm-run-path": {
2728 | "version": "4.0.1",
2729 | "resolved": "https://registry.npmmirror.com/npm-run-path/-/npm-run-path-4.0.1.tgz",
2730 | "integrity": "sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw==",
2731 | "dev": true,
2732 | "license": "MIT",
2733 | "dependencies": {
2734 | "path-key": "^3.0.0"
2735 | },
2736 | "engines": {
2737 | "node": ">=8"
2738 | }
2739 | },
2740 | "node_modules/run-applescript/node_modules/onetime": {
2741 | "version": "5.1.2",
2742 | "resolved": "https://registry.npmmirror.com/onetime/-/onetime-5.1.2.tgz",
2743 | "integrity": "sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==",
2744 | "dev": true,
2745 | "license": "MIT",
2746 | "dependencies": {
2747 | "mimic-fn": "^2.1.0"
2748 | },
2749 | "engines": {
2750 | "node": ">=6"
2751 | },
2752 | "funding": {
2753 | "url": "https://github.com/sponsors/sindresorhus"
2754 | }
2755 | },
2756 | "node_modules/run-applescript/node_modules/strip-final-newline": {
2757 | "version": "2.0.0",
2758 | "resolved": "https://registry.npmmirror.com/strip-final-newline/-/strip-final-newline-2.0.0.tgz",
2759 | "integrity": "sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA==",
2760 | "dev": true,
2761 | "license": "MIT",
2762 | "engines": {
2763 | "node": ">=6"
2764 | }
2765 | },
2766 | "node_modules/run-parallel": {
2767 | "version": "1.2.0",
2768 | "resolved": "https://registry.npmmirror.com/run-parallel/-/run-parallel-1.2.0.tgz",
2769 | "integrity": "sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==",
2770 | "dev": true,
2771 | "funding": [
2772 | {
2773 | "type": "github",
2774 | "url": "https://github.com/sponsors/feross"
2775 | },
2776 | {
2777 | "type": "patreon",
2778 | "url": "https://www.patreon.com/feross"
2779 | },
2780 | {
2781 | "type": "consulting",
2782 | "url": "https://feross.org/support"
2783 | }
2784 | ],
2785 | "license": "MIT",
2786 | "dependencies": {
2787 | "queue-microtask": "^1.2.2"
2788 | }
2789 | },
2790 | "node_modules/sass": {
2791 | "version": "1.79.3",
2792 | "resolved": "https://registry.npmmirror.com/sass/-/sass-1.79.3.tgz",
2793 | "integrity": "sha512-m7dZxh0W9EZ3cw50Me5GOuYm/tVAJAn91SUnohLRo9cXBixGUOdvmryN+dXpwR831bhoY3Zv7rEFt85PUwTmzA==",
2794 | "dev": true,
2795 | "license": "MIT",
2796 | "dependencies": {
2797 | "chokidar": "^4.0.0",
2798 | "immutable": "^4.0.0",
2799 | "source-map-js": ">=0.6.2 <2.0.0"
2800 | },
2801 | "bin": {
2802 | "sass": "sass.js"
2803 | },
2804 | "engines": {
2805 | "node": ">=14.0.0"
2806 | }
2807 | },
2808 | "node_modules/semver": {
2809 | "version": "7.6.3",
2810 | "resolved": "https://registry.npmmirror.com/semver/-/semver-7.6.3.tgz",
2811 | "integrity": "sha512-oVekP1cKtI+CTDvHWYFUcMtsK/00wmAEfyqKfNdARm8u1wNVhSgaX7A8d4UuIlUI5e84iEwOhs7ZPYRmzU9U6A==",
2812 | "dev": true,
2813 | "license": "ISC",
2814 | "bin": {
2815 | "semver": "bin/semver.js"
2816 | },
2817 | "engines": {
2818 | "node": ">=10"
2819 | }
2820 | },
2821 | "node_modules/shebang-command": {
2822 | "version": "2.0.0",
2823 | "resolved": "https://registry.npmmirror.com/shebang-command/-/shebang-command-2.0.0.tgz",
2824 | "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==",
2825 | "dev": true,
2826 | "license": "MIT",
2827 | "dependencies": {
2828 | "shebang-regex": "^3.0.0"
2829 | },
2830 | "engines": {
2831 | "node": ">=8"
2832 | }
2833 | },
2834 | "node_modules/shebang-regex": {
2835 | "version": "3.0.0",
2836 | "resolved": "https://registry.npmmirror.com/shebang-regex/-/shebang-regex-3.0.0.tgz",
2837 | "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==",
2838 | "dev": true,
2839 | "license": "MIT",
2840 | "engines": {
2841 | "node": ">=8"
2842 | }
2843 | },
2844 | "node_modules/signal-exit": {
2845 | "version": "3.0.7",
2846 | "resolved": "https://registry.npmmirror.com/signal-exit/-/signal-exit-3.0.7.tgz",
2847 | "integrity": "sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==",
2848 | "dev": true,
2849 | "license": "ISC"
2850 | },
2851 | "node_modules/source-map-js": {
2852 | "version": "1.2.1",
2853 | "resolved": "https://registry.npmmirror.com/source-map-js/-/source-map-js-1.2.1.tgz",
2854 | "integrity": "sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA==",
2855 | "dev": true,
2856 | "license": "BSD-3-Clause",
2857 | "engines": {
2858 | "node": ">=0.10.0"
2859 | }
2860 | },
2861 | "node_modules/strip-ansi": {
2862 | "version": "6.0.1",
2863 | "resolved": "https://registry.npmmirror.com/strip-ansi/-/strip-ansi-6.0.1.tgz",
2864 | "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==",
2865 | "dev": true,
2866 | "license": "MIT",
2867 | "dependencies": {
2868 | "ansi-regex": "^5.0.1"
2869 | },
2870 | "engines": {
2871 | "node": ">=8"
2872 | }
2873 | },
2874 | "node_modules/strip-final-newline": {
2875 | "version": "3.0.0",
2876 | "resolved": "https://registry.npmmirror.com/strip-final-newline/-/strip-final-newline-3.0.0.tgz",
2877 | "integrity": "sha512-dOESqjYr96iWYylGObzd39EuNTa5VJxyvVAEm5Jnh7KGo75V43Hk1odPQkNDyXNmUR6k+gEiDVXnjB8HJ3crXw==",
2878 | "dev": true,
2879 | "license": "MIT",
2880 | "engines": {
2881 | "node": ">=12"
2882 | },
2883 | "funding": {
2884 | "url": "https://github.com/sponsors/sindresorhus"
2885 | }
2886 | },
2887 | "node_modules/strip-json-comments": {
2888 | "version": "3.1.1",
2889 | "resolved": "https://registry.npmmirror.com/strip-json-comments/-/strip-json-comments-3.1.1.tgz",
2890 | "integrity": "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==",
2891 | "dev": true,
2892 | "license": "MIT",
2893 | "engines": {
2894 | "node": ">=8"
2895 | },
2896 | "funding": {
2897 | "url": "https://github.com/sponsors/sindresorhus"
2898 | }
2899 | },
2900 | "node_modules/supports-color": {
2901 | "version": "7.2.0",
2902 | "resolved": "https://registry.npmmirror.com/supports-color/-/supports-color-7.2.0.tgz",
2903 | "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==",
2904 | "dev": true,
2905 | "license": "MIT",
2906 | "dependencies": {
2907 | "has-flag": "^4.0.0"
2908 | },
2909 | "engines": {
2910 | "node": ">=8"
2911 | }
2912 | },
2913 | "node_modules/systemjs": {
2914 | "version": "6.15.1",
2915 | "resolved": "https://registry.npmmirror.com/systemjs/-/systemjs-6.15.1.tgz",
2916 | "integrity": "sha512-Nk8c4lXvMB98MtbmjX7JwJRgJOL8fluecYCfCeYBznwmpOs8Bf15hLM6z4z71EDAhQVrQrI+wt1aLWSXZq+hXA==",
2917 | "dev": true,
2918 | "license": "MIT"
2919 | },
2920 | "node_modules/text-table": {
2921 | "version": "0.2.0",
2922 | "resolved": "https://registry.npmmirror.com/text-table/-/text-table-0.2.0.tgz",
2923 | "integrity": "sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw==",
2924 | "dev": true,
2925 | "license": "MIT"
2926 | },
2927 | "node_modules/titleize": {
2928 | "version": "3.0.0",
2929 | "resolved": "https://registry.npmmirror.com/titleize/-/titleize-3.0.0.tgz",
2930 | "integrity": "sha512-KxVu8EYHDPBdUYdKZdKtU2aj2XfEx9AfjXxE/Aj0vT06w2icA09Vus1rh6eSu1y01akYg6BjIK/hxyLJINoMLQ==",
2931 | "dev": true,
2932 | "license": "MIT",
2933 | "engines": {
2934 | "node": ">=12"
2935 | },
2936 | "funding": {
2937 | "url": "https://github.com/sponsors/sindresorhus"
2938 | }
2939 | },
2940 | "node_modules/to-regex-range": {
2941 | "version": "5.0.1",
2942 | "resolved": "https://registry.npmmirror.com/to-regex-range/-/to-regex-range-5.0.1.tgz",
2943 | "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==",
2944 | "dev": true,
2945 | "license": "MIT",
2946 | "dependencies": {
2947 | "is-number": "^7.0.0"
2948 | },
2949 | "engines": {
2950 | "node": ">=8.0"
2951 | }
2952 | },
2953 | "node_modules/ts-api-utils": {
2954 | "version": "1.3.0",
2955 | "resolved": "https://registry.npmmirror.com/ts-api-utils/-/ts-api-utils-1.3.0.tgz",
2956 | "integrity": "sha512-UQMIo7pb8WRomKR1/+MFVLTroIvDVtMX3K6OUir8ynLyzB8Jeriont2bTAtmNPa1ekAgN7YPDyf6V+ygrdU+eQ==",
2957 | "dev": true,
2958 | "license": "MIT",
2959 | "engines": {
2960 | "node": ">=16"
2961 | },
2962 | "peerDependencies": {
2963 | "typescript": ">=4.2.0"
2964 | }
2965 | },
2966 | "node_modules/type-check": {
2967 | "version": "0.4.0",
2968 | "resolved": "https://registry.npmmirror.com/type-check/-/type-check-0.4.0.tgz",
2969 | "integrity": "sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==",
2970 | "dev": true,
2971 | "license": "MIT",
2972 | "dependencies": {
2973 | "prelude-ls": "^1.2.1"
2974 | },
2975 | "engines": {
2976 | "node": ">= 0.8.0"
2977 | }
2978 | },
2979 | "node_modules/type-fest": {
2980 | "version": "4.26.1",
2981 | "resolved": "https://registry.npmmirror.com/type-fest/-/type-fest-4.26.1.tgz",
2982 | "integrity": "sha512-yOGpmOAL7CkKe/91I5O3gPICmJNLJ1G4zFYVAsRHg7M64biSnPtRj0WNQt++bRkjYOqjWXrhnUw1utzmVErAdg==",
2983 | "dev": true,
2984 | "license": "(MIT OR CC0-1.0)",
2985 | "engines": {
2986 | "node": ">=16"
2987 | },
2988 | "funding": {
2989 | "url": "https://github.com/sponsors/sindresorhus"
2990 | }
2991 | },
2992 | "node_modules/typescript": {
2993 | "version": "5.6.2",
2994 | "resolved": "https://registry.npmmirror.com/typescript/-/typescript-5.6.2.tgz",
2995 | "integrity": "sha512-NW8ByodCSNCwZeghjN3o+JX5OFH0Ojg6sadjEKY4huZ52TqbJTJnDo5+Tw98lSy63NZvi4n+ez5m2u5d4PkZyw==",
2996 | "dev": true,
2997 | "license": "Apache-2.0",
2998 | "bin": {
2999 | "tsc": "bin/tsc",
3000 | "tsserver": "bin/tsserver"
3001 | },
3002 | "engines": {
3003 | "node": ">=14.17"
3004 | }
3005 | },
3006 | "node_modules/typescript-eslint": {
3007 | "version": "8.6.0",
3008 | "resolved": "https://registry.npmmirror.com/typescript-eslint/-/typescript-eslint-8.6.0.tgz",
3009 | "integrity": "sha512-eEhhlxCEpCd4helh3AO1hk0UP2MvbRi9CtIAJTVPQjuSXOOO2jsEacNi4UdcJzZJbeuVg1gMhtZ8UYb+NFYPrA==",
3010 | "dev": true,
3011 | "license": "MIT",
3012 | "dependencies": {
3013 | "@typescript-eslint/eslint-plugin": "8.6.0",
3014 | "@typescript-eslint/parser": "8.6.0",
3015 | "@typescript-eslint/utils": "8.6.0"
3016 | },
3017 | "engines": {
3018 | "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
3019 | },
3020 | "funding": {
3021 | "type": "opencollective",
3022 | "url": "https://opencollective.com/typescript-eslint"
3023 | },
3024 | "peerDependenciesMeta": {
3025 | "typescript": {
3026 | "optional": true
3027 | }
3028 | }
3029 | },
3030 | "node_modules/undici-types": {
3031 | "version": "6.19.8",
3032 | "resolved": "https://registry.npmmirror.com/undici-types/-/undici-types-6.19.8.tgz",
3033 | "integrity": "sha512-ve2KP6f/JnbPBFyobGHuerC9g1FYGn/F8n1LWTwNxCEzd6IfqTwUQcNXgEtmmQ6DlRrC1hrSrBnCZPokRrDHjw==",
3034 | "dev": true,
3035 | "license": "MIT",
3036 | "optional": true,
3037 | "peer": true
3038 | },
3039 | "node_modules/untildify": {
3040 | "version": "4.0.0",
3041 | "resolved": "https://registry.npmmirror.com/untildify/-/untildify-4.0.0.tgz",
3042 | "integrity": "sha512-KK8xQ1mkzZeg9inewmFVDNkg3l5LUhoq9kN6iWYB/CC9YMG8HA+c1Q8HwDe6dEX7kErrEVNVBO3fWsVq5iDgtw==",
3043 | "dev": true,
3044 | "license": "MIT",
3045 | "engines": {
3046 | "node": ">=8"
3047 | }
3048 | },
3049 | "node_modules/uri-js": {
3050 | "version": "4.4.1",
3051 | "resolved": "https://registry.npmmirror.com/uri-js/-/uri-js-4.4.1.tgz",
3052 | "integrity": "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==",
3053 | "dev": true,
3054 | "license": "BSD-2-Clause",
3055 | "dependencies": {
3056 | "punycode": "^2.1.0"
3057 | }
3058 | },
3059 | "node_modules/vite": {
3060 | "version": "5.4.7",
3061 | "resolved": "https://registry.npmmirror.com/vite/-/vite-5.4.7.tgz",
3062 | "integrity": "sha512-5l2zxqMEPVENgvzTuBpHer2awaetimj2BGkhBPdnwKbPNOlHsODU+oiazEZzLK7KhAnOrO+XGYJYn4ZlUhDtDQ==",
3063 | "dev": true,
3064 | "license": "MIT",
3065 | "dependencies": {
3066 | "esbuild": "^0.21.3",
3067 | "postcss": "^8.4.43",
3068 | "rollup": "^4.20.0"
3069 | },
3070 | "bin": {
3071 | "vite": "bin/vite.js"
3072 | },
3073 | "engines": {
3074 | "node": "^18.0.0 || >=20.0.0"
3075 | },
3076 | "funding": {
3077 | "url": "https://github.com/vitejs/vite?sponsor=1"
3078 | },
3079 | "optionalDependencies": {
3080 | "fsevents": "~2.3.3"
3081 | },
3082 | "peerDependencies": {
3083 | "@types/node": "^18.0.0 || >=20.0.0",
3084 | "less": "*",
3085 | "lightningcss": "^1.21.0",
3086 | "sass": "*",
3087 | "sass-embedded": "*",
3088 | "stylus": "*",
3089 | "sugarss": "*",
3090 | "terser": "^5.4.0"
3091 | },
3092 | "peerDependenciesMeta": {
3093 | "@types/node": {
3094 | "optional": true
3095 | },
3096 | "less": {
3097 | "optional": true
3098 | },
3099 | "lightningcss": {
3100 | "optional": true
3101 | },
3102 | "sass": {
3103 | "optional": true
3104 | },
3105 | "sass-embedded": {
3106 | "optional": true
3107 | },
3108 | "stylus": {
3109 | "optional": true
3110 | },
3111 | "sugarss": {
3112 | "optional": true
3113 | },
3114 | "terser": {
3115 | "optional": true
3116 | }
3117 | }
3118 | },
3119 | "node_modules/vite-plugin-monkey": {
3120 | "version": "4.0.6",
3121 | "resolved": "https://registry.npmmirror.com/vite-plugin-monkey/-/vite-plugin-monkey-4.0.6.tgz",
3122 | "integrity": "sha512-JiJqlDhU/4xkAMDuJV/iR2QQXqQG+YGmSNubJTumcNQr4T+DQlQ7+VP6zbdAGDO/vVfSReDn+Ztr5bcFu0GIww==",
3123 | "dev": true,
3124 | "license": "MIT",
3125 | "dependencies": {
3126 | "acorn-walk": "^8.3.1",
3127 | "cross-spawn": "^7.0.3",
3128 | "htmlparser2": "^9.0.0",
3129 | "import-meta-resolve": "^4.1.0",
3130 | "magic-string": "^0.30.5",
3131 | "mrmime": "^1.0.1",
3132 | "open": "^9.1.0",
3133 | "picocolors": "^1.0.0",
3134 | "systemjs": "^6.14.2"
3135 | },
3136 | "peerDependencies": {
3137 | "vite": "^5.0.0"
3138 | },
3139 | "peerDependenciesMeta": {
3140 | "vite": {
3141 | "optional": true
3142 | }
3143 | }
3144 | },
3145 | "node_modules/which": {
3146 | "version": "2.0.2",
3147 | "resolved": "https://registry.npmmirror.com/which/-/which-2.0.2.tgz",
3148 | "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==",
3149 | "dev": true,
3150 | "license": "ISC",
3151 | "dependencies": {
3152 | "isexe": "^2.0.0"
3153 | },
3154 | "bin": {
3155 | "node-which": "bin/node-which"
3156 | },
3157 | "engines": {
3158 | "node": ">= 8"
3159 | }
3160 | },
3161 | "node_modules/word-wrap": {
3162 | "version": "1.2.5",
3163 | "resolved": "https://registry.npmmirror.com/word-wrap/-/word-wrap-1.2.5.tgz",
3164 | "integrity": "sha512-BN22B5eaMMI9UMtjrGd5g5eCYPpCPDUy0FJXbYsaT5zYxjFOckS53SQDE3pWkVoWpHXVb3BrYcEN4Twa55B5cA==",
3165 | "dev": true,
3166 | "license": "MIT",
3167 | "engines": {
3168 | "node": ">=0.10.0"
3169 | }
3170 | },
3171 | "node_modules/yocto-queue": {
3172 | "version": "0.1.0",
3173 | "resolved": "https://registry.npmmirror.com/yocto-queue/-/yocto-queue-0.1.0.tgz",
3174 | "integrity": "sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==",
3175 | "dev": true,
3176 | "license": "MIT",
3177 | "engines": {
3178 | "node": ">=10"
3179 | },
3180 | "funding": {
3181 | "url": "https://github.com/sponsors/sindresorhus"
3182 | }
3183 | }
3184 | }
3185 | }
3186 |
--------------------------------------------------------------------------------
/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "bili-joybook",
3 | "version": "0.0.15",
4 | "description": "白嫖大会员",
5 | "main": "dist/joybook.user.js",
6 | "type": "module",
7 | "keywords": [
8 | "bilibili"
9 | ],
10 | "author": "PClive",
11 | "license": "MIT",
12 | "scripts": {
13 | "dev": "vite",
14 | "build": "tsc && vite build",
15 | "preview": "vite preview"
16 | },
17 | "devDependencies": {
18 | "@eslint/js": "^9.11.0",
19 | "@types/eslint__js": "^8.42.3",
20 | "eslint": "^9.11.0",
21 | "prettier": "^3.3.3",
22 | "sass": "^1.79.3",
23 | "type-fest": "^4.26.1",
24 | "typescript": "^5.6.2",
25 | "typescript-eslint": "^8.6.0",
26 | "vite": "^5.4.7",
27 | "vite-plugin-monkey": "^4.0.6"
28 | },
29 | "dependencies": {
30 | "ajax-hook": "^3.0.3"
31 | }
32 | }
33 |
--------------------------------------------------------------------------------
/src/components/avatar.ts:
--------------------------------------------------------------------------------
1 | import { GM_xmlhttpRequest } from "$";
2 | import { USER_INFO_URL } from "src/constant";
3 | import { store } from "src/store";
4 | import { cookie } from "src/utils/cookie";
5 | import {
6 | cookieToString,
7 | createElement,
8 | deleteAllValue,
9 | } from "src/utils/helper";
10 | import { UserInfo } from "./initialize";
11 |
12 | /** 头像容器 */
13 | const container: HTMLDivElement = document.createElement("div");
14 |
15 | function avatar() {
16 | const { userCookie, vipCookie } = store.getAll();
17 |
18 | const cookie = vipCookie || userCookie;
19 |
20 | GM_xmlhttpRequest({
21 | url: USER_INFO_URL,
22 | cookie: cookie && cookieToString(cookie),
23 | anonymous: true,
24 | headers: {
25 | referer: window.location.href,
26 | },
27 | onload(resp) {
28 | const { face, vipStatus } = JSON.parse(resp.response).data as UserInfo;
29 | const avatarClass = vipStatus ? "joybook-avatar" : "joybook-avatar user";
30 |
31 | const img = face ? `
` : "";
32 | const html = createElement(`
33 |
34 | ${img}
35 |
36 | `);
37 | if (html) container.appendChild(html);
38 | },
39 | });
40 | }
41 |
42 | function handleEvent() {
43 | const delay = 1500;
44 | let timeout: number;
45 | const onMouseEnter = () => {
46 | if (timeout) window.clearTimeout(timeout);
47 | container.style.transform = "translateX(50px)";
48 | };
49 |
50 | const onMouseLeave = () => {
51 | timeout = window.setTimeout(() => {
52 | container.style.transform = "translateX(0px)";
53 | }, delay);
54 | };
55 | const onDeleteClick = async () => {
56 | const result = window.confirm("确定要删除脚本数据吗?");
57 | if (!result) return;
58 |
59 | deleteAllValue();
60 |
61 | await cookie.deleteAll();
62 |
63 | window.location.reload();
64 | };
65 |
66 | container.addEventListener("mouseenter", onMouseEnter);
67 | container.addEventListener("mouseleave", onMouseLeave);
68 | container.addEventListener("click", onDeleteClick);
69 | }
70 |
71 | // 生成左下角用户头像
72 | export default () => {
73 | window.addEventListener("load", () => {
74 | // 渲染设定
75 | container.id = "joybook-container";
76 | document.body.appendChild(container);
77 |
78 | avatar();
79 | handleEvent();
80 | });
81 | };
82 |
--------------------------------------------------------------------------------
/src/components/initialize.ts:
--------------------------------------------------------------------------------
1 | import { USER_INFO_URL } from "src/constant";
2 | import { store } from "src/store";
3 | import { cookie } from "src/utils/cookie";
4 | import { cookiesReady } from "src/utils/helper";
5 |
6 | export interface UserInfo {
7 | face: string;
8 | isLogin: boolean;
9 | vipStatus: number;
10 | }
11 |
12 | const getUserType = async (): Promise => {
13 | const resp = await fetch(USER_INFO_URL, {
14 | method: "get",
15 | credentials: "include",
16 | });
17 | const result = await resp.json();
18 |
19 | return result.data;
20 | };
21 |
22 | async function handleLogin(key: "vipCookie" | "userCookie"): Promise {
23 | const storeKey = ["SESSDATA", "DedeUserID", "DedeUserID__ckMd5", "bili_jct"];
24 |
25 | const cookies = await cookie.get({ domain: ".bilibili.com" });
26 |
27 | // 储存用户 cookies
28 | store.set(
29 | key,
30 | cookies.filter((v) => storeKey.includes(v.name))
31 | );
32 |
33 | // 因为需要再次进行登录,所以删除浏览器 cookies
34 | await cookie.deleteAll();
35 |
36 | // 如果已完成初始化,则设置为 user cookies
37 | const { userCookie, vipCookie } = store.getAll();
38 | if (userCookie && vipCookie) {
39 | await cookie.set(userCookie);
40 | }
41 |
42 | window.location.reload();
43 | }
44 |
45 | // 处理用户登录
46 | export default async () => {
47 | // 获取登录状态
48 | const { isLogin, vipStatus } = await getUserType();
49 |
50 | if (!isLogin || cookiesReady()) return;
51 |
52 | const user = vipStatus ? "vipCookie" : "userCookie";
53 |
54 | await handleLogin(user);
55 | };
56 |
--------------------------------------------------------------------------------
/src/components/listenerAjax.ts:
--------------------------------------------------------------------------------
1 | import { GM_xmlhttpRequest, unsafeWindow } from "$";
2 | import { proxy, XhrRequestConfig } from "ajax-hook";
3 | import { store } from "src/store";
4 | import { cookie } from "src/utils/cookie";
5 | import { cookieToString, message, sleep } from "src/utils/helper";
6 |
7 | /**
8 | * 监听登录,帮助初始化函数储存 cookies
9 | */
10 | const reloadByLogin = (url: string): void => {
11 | if (url.includes("/passport-login/web/login")) {
12 | message("login reload");
13 | sleep(1).then(() => window.location.reload());
14 | }
15 | };
16 |
17 | /**
18 | * 监听登出,并删除用户 cookies
19 | */
20 | const listenLogout = async (url: string) => {
21 | if (url.includes("/login/exit")) {
22 | store.del("userCookie");
23 |
24 | await cookie.deleteAll();
25 |
26 | window.location.reload();
27 | }
28 | };
29 |
30 | const request = (config: XhrRequestConfig) => {
31 | return new Promise | void>((resolve) => {
32 | const { vipCookie } = store.getAll();
33 | if (!vipCookie) return;
34 |
35 | const url = new URL(config.url, window.location.href);
36 |
37 | GM_xmlhttpRequest({
38 | method: config.method,
39 | url: url.href,
40 | anonymous: true,
41 | cookie: cookieToString(vipCookie),
42 | headers: {
43 | referer: window.location.href,
44 | },
45 | responseType: "json",
46 | onload(event) {
47 | return resolve(event.response);
48 | },
49 | onabort() {
50 | return resolve();
51 | },
52 | onerror() {
53 | return resolve();
54 | },
55 | });
56 | });
57 | };
58 |
59 | const handlers: {
60 | url: string;
61 | on: (userResponse: any, vipResponse: any) => any;
62 | }[] = [
63 | {
64 | // 视频信息
65 | url: "api.bilibili.com/x/player/wbi/playurl",
66 | on: (userResponse, vipResponse) => {
67 | // 移除播放时间信息
68 | delete vipResponse.data.last_play_cid;
69 | delete vipResponse.data.last_play_time;
70 |
71 | userResponse.data = {
72 | ...userResponse.data,
73 | ...vipResponse.data,
74 | };
75 | return userResponse;
76 | },
77 | },
78 | {
79 | // 用户信息
80 | url: "api.bilibili.com/x/player/wbi/v2",
81 | on: (userResponse, vipResponse) => {
82 | userResponse.data.vip = vipResponse.data.vip;
83 | return userResponse;
84 | },
85 | },
86 | {
87 | // bangumi 信息
88 | url: "api.bilibili.com/pgc/player/web/v2/playurl",
89 | on: (userResponse, vipResponse) => {
90 | userResponse.result = vipResponse.result;
91 | return userResponse;
92 | },
93 | },
94 | ];
95 |
96 | export default () => {
97 | proxy(
98 | {
99 | //请求发起前进入
100 | onRequest: (config, handler) => {
101 | reloadByLogin(config.url);
102 | listenLogout(config.url);
103 |
104 | handler.next(config);
105 | },
106 | //请求发生错误时进入,比如超时;注意,不包括http状态码错误,如404仍然会认为请求成功
107 | onError: (err, handler) => {
108 | handler.next(err);
109 | },
110 | //请求成功后进入
111 | onResponse: async (response, handler) => {
112 | const requestUrl = response.config.url;
113 |
114 | for (const { url, on } of handlers) {
115 | if (requestUrl.includes(url)) {
116 | const vipResponse = await request(response.config);
117 | // 必然是 json,如果不是那就是接口变了
118 | const userResponse = JSON.parse(response.response);
119 | if (vipResponse) {
120 | response.response = on(
121 | structuredClone(userResponse),
122 | structuredClone(vipResponse)
123 | );
124 |
125 | return handler.resolve(response);
126 | }
127 | }
128 | }
129 |
130 | handler.next(response);
131 | },
132 | },
133 | unsafeWindow
134 | );
135 | };
136 |
--------------------------------------------------------------------------------
/src/components/quality.ts:
--------------------------------------------------------------------------------
1 | import { GM_cookie, unsafeWindow } from "$";
2 | import { cookie } from "src/utils/cookie";
3 |
4 | export default async () => {
5 | // 直接设置4K画质,这样就可以默认最高画质了
6 |
7 | let qualityCookie = (await cookie.get({ name: "CURRENT_QUALITY" }))[0];
8 |
9 | if (!qualityCookie) {
10 | qualityCookie = {
11 | domain: ".bilibili.com",
12 | hostOnly: false,
13 | httpOnly: false,
14 | name: "CURRENT_QUALITY",
15 | path: "/",
16 | sameSite: "unspecified",
17 | secure: false,
18 | session: false,
19 | value: "120",
20 | };
21 | } else {
22 | qualityCookie.value = "120";
23 | }
24 |
25 | GM_cookie.set(qualityCookie);
26 |
27 | // 处理 video 画质
28 | Object.defineProperty(unsafeWindow, "__playinfo__", {
29 | configurable: true,
30 | set() {
31 | // const quality = (value.result || value.data)?.accept_quality[0] as string;
32 | // if (quality) setQuality(quality);
33 | },
34 | get() {
35 | // return "120";
36 | },
37 | });
38 | };
39 |
--------------------------------------------------------------------------------
/src/components/removeTips.ts:
--------------------------------------------------------------------------------
1 | export default () => {
2 | window.addEventListener("DOMContentLoaded", () => {
3 | const tips = document.querySelector(".adblock-tips");
4 | tips?.parentElement?.removeChild(tips);
5 | });
6 | };
7 |
--------------------------------------------------------------------------------
/src/components/unlockVideo.ts:
--------------------------------------------------------------------------------
1 | import { GM_getTab, GM_saveTab } from "$";
2 | import { store } from "src/store";
3 | import { cookie } from "src/utils/cookie";
4 |
5 | // 解除非会员点击切换画质限制
6 | export default () => {
7 | const { vipCookie, userCookie } = store.getAll();
8 |
9 | if (!vipCookie || !userCookie) return;
10 |
11 | // FIXME: 不行,ssr 中包含播放时间等信息
12 | if (window.location.pathname.includes("bangumi")) {
13 | GM_getTab(async (tab) => {
14 | if (tab.dirty) {
15 | await cookie.set(userCookie);
16 | tab.dirty = false;
17 | GM_saveTab(tab);
18 | } else {
19 | await cookie.set(vipCookie);
20 | tab.dirty = true;
21 | GM_saveTab(tab);
22 | window.location.reload();
23 | }
24 | });
25 | }
26 |
27 | // GM_getTab(async (tab) => {
28 | // console.log(tab.__NEXT_DATA__);
29 |
30 | // if (tab.__NEXT_DATA__) {
31 | // let store;
32 | // Object.defineProperty(unsafeWindow, "__NEXT_DATA__", {
33 | // set(value) {
34 | // console.log(value);
35 |
36 | // store = value;
37 | // },
38 | // get() {
39 | // // store.props.pageProps.dehydratedState =
40 | // // tab.__NEXT_DATA__.props.pageProps.dehydratedState;
41 |
42 | // return tab.__NEXT_DATA__;
43 | // },
44 | // });
45 | // } else {
46 | // // 使用会员 cookies 请求 ssr data 并保存在 tab
47 | // GM_xmlhttpRequest({
48 | // url: window.location.href,
49 | // cookie: cookieToString(vipCookie),
50 | // responseType: "document",
51 | // onload(event) {
52 | // const dom = event.responseXML;
53 | // const __NEXT_DATA__ = dom?.getElementById("__NEXT_DATA__");
54 | // if (__NEXT_DATA__) {
55 | // const data = JSON.parse(__NEXT_DATA__.innerHTML);
56 | // tab.__NEXT_DATA__ = data;
57 | // GM_saveTab(tab);
58 | // window.location.reload();
59 | // }
60 | // },
61 | // });
62 | // }
63 | // });
64 |
65 | // GM_xmlhttpRequest({
66 | // url: window.location.href,
67 | // cookie: cookieToString(vipCookie),
68 | // responseType: "document",
69 | // onload(event) {
70 | // const dom = event.responseXML;
71 | // const __NEXT_DATA__ = dom?.getElementById("__NEXT_DATA__");
72 | // if (__NEXT_DATA__) {
73 | // const data = JSON.parse(__NEXT_DATA__.innerHTML);
74 | // console.log(data);
75 | // }
76 | // },
77 | // });
78 |
79 | // let cache: any = {};
80 |
81 | // Object.defineProperty(unsafeWindow, "__NEXT_DATA__", {
82 | // set(value) {
83 | // console.log(value);
84 | // cache = value;
85 | // },
86 | // get() {
87 | // cache.props.pageProps.dehydratedState.queries[0].state.data.result.play_view_business_info.user_status.vip_info =
88 | // {
89 | // real_vip: true,
90 | // status: 1,
91 | // type: 1,
92 | // };
93 |
94 | // return cache;
95 | // },
96 | // });
97 | };
98 |
--------------------------------------------------------------------------------
/src/constant.ts:
--------------------------------------------------------------------------------
1 | export const USER_INFO_URL = "https://api.bilibili.com/x/web-interface/nav";
2 | export const WEB_URL = "https://www.bilibili.com/";
3 |
--------------------------------------------------------------------------------
/src/main.ts:
--------------------------------------------------------------------------------
1 | import "src/styles/global.scss";
2 | import { message } from "./utils/helper";
3 |
4 | async function main() {
5 | const components: Record void> = import.meta.glob(
6 | "./components/*.ts",
7 | {
8 | eager: true,
9 | import: "default",
10 | }
11 | );
12 | for (const script of Object.values(components)) {
13 | script();
14 | }
15 | message("所有组件加载完成");
16 | }
17 |
18 | main();
19 |
--------------------------------------------------------------------------------
/src/store.ts:
--------------------------------------------------------------------------------
1 | import { GM_deleteValue, GM_getValue, GM_listValues, GM_setValue } from "$";
2 | import { CbCookie } from "./utils/cookie";
3 |
4 | type Store = {
5 | vipCookie?: CbCookie[];
6 | userCookie?: CbCookie[];
7 | };
8 |
9 | const get = (
10 | key: K,
11 | defaultValue?: Store[K]
12 | ): Store[K] => {
13 | return GM_getValue(key, defaultValue);
14 | };
15 |
16 | const set = (key: K, value: Store[K]) => {
17 | GM_setValue(key, value);
18 | };
19 |
20 | const del = (key: keyof Store) => {
21 | GM_deleteValue(key);
22 | };
23 |
24 | export const store = {
25 | get,
26 | set,
27 | del,
28 | getAll: () => {
29 | const key = GM_listValues();
30 | const obj = {} as Store;
31 | key.forEach((v) => {
32 | obj[v as keyof Store] = GM_getValue(v);
33 | });
34 | return obj;
35 | },
36 | };
37 |
--------------------------------------------------------------------------------
/src/styles/global.scss:
--------------------------------------------------------------------------------
1 | $primaryColor: #fb7299;
2 |
3 | .d-none {
4 | display: none;
5 | }
6 |
7 | .button {
8 | display: flex;
9 | min-width: 32px;
10 | min-height: 32px;
11 | border-radius: 50%;
12 | overflow: hidden;
13 | border: 2px solid rgb(138, 138, 138);
14 | cursor: pointer;
15 | }
16 |
17 | #joybook-container {
18 | z-index: 99;
19 | width: 48px;
20 | height: 48px;
21 | position: fixed;
22 | bottom: 30px;
23 | left: -30px;
24 | transition: 0.3s ease-in-out;
25 | }
26 |
27 | #joybook-settings {
28 | position: relative;
29 | display: flex;
30 | flex-direction: column;
31 | justify-content: center;
32 | align-items: center;
33 | }
34 |
35 | .joybook-avatar {
36 | box-sizing: border-box;
37 | position: relative;
38 | cursor: pointer;
39 | overflow: hidden;
40 | border-radius: 50%;
41 | background-color: rgb(136, 136, 136);
42 | border: 4px solid $primaryColor;
43 | opacity: 1;
44 | width: 100%;
45 | height: 100%;
46 | & > img {
47 | width: 100%;
48 | height: 100%;
49 | }
50 | &.user {
51 | border: 4px solid #47b5ff;
52 | }
53 | }
54 |
55 | #settings-options-container {
56 | position: relative;
57 |
58 | & > * {
59 | margin: 6px 0;
60 | }
61 | }
62 |
--------------------------------------------------------------------------------
/src/types/bilibili.d.ts:
--------------------------------------------------------------------------------
1 | interface vipInfo {
2 | is_vip: boolean;
3 | due_date: number;
4 | status: number;
5 | type: number;
6 | }
7 |
--------------------------------------------------------------------------------
/src/types/modules.d.ts:
--------------------------------------------------------------------------------
1 | declare module "*.css";
2 | declare module "*.scss";
3 | declare module "*.sass";
4 |
--------------------------------------------------------------------------------
/src/types/vite-env.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 | ///
3 | ////
4 |
--------------------------------------------------------------------------------
/src/utils/cookie.ts:
--------------------------------------------------------------------------------
1 | import { GM_cookie } from "$";
2 | import type { Merge } from "type-fest";
3 |
4 | export type ChromeCookie = Parameters[0];
5 | export type CbCookie = Merge<
6 | Awaited>[number],
7 | {
8 | sameSite: ChromeCookie["sameSite"];
9 | }
10 | >;
11 |
12 | export const cookie = {
13 | get: (details: Parameters[0] = {}) =>
14 | new Promise((resolve) =>
15 | GM_cookie.list(details, (cookies) => resolve(cookies as CbCookie[]))
16 | ),
17 |
18 | set: async (cookies: ChromeCookie[]) =>
19 | Promise.all(
20 | cookies.map(
21 | (v) =>
22 | new Promise((resolve) => GM_cookie.set(v, (error) => resolve(error)))
23 | )
24 | ),
25 |
26 | delete: async (cookies: Parameters[0][]) =>
27 | Promise.all(
28 | cookies.map(
29 | (v) =>
30 | new Promise((resolve) =>
31 | GM_cookie.delete(v, (error) => resolve(error))
32 | )
33 | )
34 | ),
35 |
36 | deleteAll: async () => cookie.delete(await cookie.get()),
37 | };
38 |
--------------------------------------------------------------------------------
/src/utils/helper.ts:
--------------------------------------------------------------------------------
1 | import { GM_deleteValue, GM_listValues } from "$";
2 | import { store } from "src/store";
3 | import { CbCookie, cookie } from "./cookie";
4 |
5 | export const sleep = (time = 1): Promise =>
6 | new Promise((resolve) => setTimeout(resolve, 1000 * time));
7 |
8 | export const createElement = (str: string): Element | null => {
9 | const el = document.createElement("div");
10 | el.innerHTML = str;
11 | return el.firstElementChild;
12 | };
13 |
14 | export const isVideo = (): boolean =>
15 | /(bangumi\/play\/*)|(video\/*)/gi.test(window.location.pathname);
16 |
17 | export const deleteAllValue = (): void =>
18 | GM_listValues().forEach((v) => GM_deleteValue(v));
19 |
20 | export const message = (message: string): void => {
21 | console.log(`bili-joybook: ${message}`);
22 | };
23 |
24 | export function cookiesReady(): boolean {
25 | const { userCookie, vipCookie } = store.getAll();
26 | return !!userCookie && !!vipCookie;
27 | }
28 |
29 | export async function changeUser(type: "vip" | "user") {
30 | if (!cookiesReady()) return;
31 |
32 | const { userCookie, vipCookie } = store.getAll();
33 |
34 | await cookie.set(type === "vip" ? vipCookie! : userCookie!);
35 | }
36 |
37 | export function cookieToString(cookies: CbCookie[]) {
38 | return cookies.map((v) => `${v.name}=${v.value}`).join("; ");
39 | }
40 |
--------------------------------------------------------------------------------
/tsconfig.json:
--------------------------------------------------------------------------------
1 | {
2 | "compilerOptions": {
3 | "target": "ESNext",
4 | "useDefineForClassFields": true,
5 | "module": "ESNext",
6 | "lib": ["ESNext", "DOM"],
7 | "moduleResolution": "Node",
8 | "strict": true,
9 | "sourceMap": true,
10 | "resolveJsonModule": true,
11 | "isolatedModules": true,
12 | "esModuleInterop": true,
13 | "noEmit": true,
14 | "noUnusedLocals": true,
15 | "noUnusedParameters": true,
16 | "noImplicitReturns": true,
17 | "skipLibCheck": true,
18 | "baseUrl": "."
19 | },
20 | "include": ["src"]
21 | }
22 |
--------------------------------------------------------------------------------
/vite.config.ts:
--------------------------------------------------------------------------------
1 | import { resolve } from "path";
2 | import { defineConfig } from "vite";
3 | import monkey from "vite-plugin-monkey";
4 | import pkg from "./package.json";
5 |
6 | export default defineConfig({
7 | resolve: {
8 | alias: {
9 | src: resolve(__dirname, "./src"),
10 | },
11 | },
12 | plugins: [
13 | monkey({
14 | entry: "src/main.ts",
15 | build: {
16 | fileName: "joybook.user.js",
17 | },
18 | userscript: {
19 | version: pkg.version,
20 | name: "bilibili-joybook",
21 | description: "共享大会员",
22 | author: "PC6live",
23 | namespace: "https://github.com/PC6live/bilibili-joybook-tampermonkey",
24 | match: "*://*.bilibili.com/*",
25 | exclude: "*://passport.bilibili.com/*",
26 | homepage: "https://github.com/PC6live/bilibili-joybook-tampermonkey",
27 | supportURL:
28 | "https://github.com/PC6live/bilibili-joybook-tampermonkey/issues",
29 | license: "MIT",
30 | "run-at": "document-start",
31 | noframes: true,
32 | connect: "bilibili.com",
33 | },
34 | }),
35 | ],
36 | });
37 |
--------------------------------------------------------------------------------