@axe-core/watcher 4.3.0-next.20ff242f → 4.3.0-next.2c13e089
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/EXTENSION-LICENSES-3RD-PARTY.md +1 -1
- package/dist/utils/sync-fetch-worker.mjs +65 -1
- package/dist/utils/sync-fetch.d.ts +32 -0
- package/dist/utils/sync-fetch.js +29 -11
- package/dist/utils/sync-fetch.js.map +1 -1
- package/extension/background.js +1 -0
- package/extension/background.js.LICENSE.txt +1 -0
- package/extension/content.js +1 -1
- package/extension/manifest.json +5 -1
- package/package.json +75 -15
|
@@ -101,8 +101,70 @@ export const shouldUseEnvProxy = function () {
|
|
|
101
101
|
* @property {Object} options - The fetch options.
|
|
102
102
|
* @property {number} timeout - The timeout in milliseconds.
|
|
103
103
|
* @property {MessagePort} port - The message port for communication.
|
|
104
|
+
* @property {SharedArrayBuffer} signalBuffer - Used to wake the main thread.
|
|
105
|
+
* Encoding: Int32Array of length 2.
|
|
106
|
+
* [0] wake-reason: 0 = still waiting, 1 = postMessage delivered,
|
|
107
|
+
* 2 = worker died before delivering a message.
|
|
108
|
+
* [1] exit code when [0] === 2; otherwise 0.
|
|
104
109
|
*/
|
|
105
|
-
const
|
|
110
|
+
const SIGNAL_WAITING = 0
|
|
111
|
+
const SIGNAL_POSTMESSAGE = 1
|
|
112
|
+
const SIGNAL_DIED = 2
|
|
113
|
+
|
|
114
|
+
const { url, options, timeout, port, signalBuffer } = workerData
|
|
115
|
+
const signalArray = new Int32Array(signalBuffer)
|
|
116
|
+
|
|
117
|
+
/**
|
|
118
|
+
* Wake the main thread, which is blocked in Atomics.wait on signalArray[0].
|
|
119
|
+
* Call after every postMessage so the caller never spins waiting for a
|
|
120
|
+
* message that's already arrived. Idempotent — once signalArray[0] has been
|
|
121
|
+
* set, re-entry is a no-op.
|
|
122
|
+
*/
|
|
123
|
+
function notifyMainThread() {
|
|
124
|
+
if (Atomics.load(signalArray, 0) !== SIGNAL_WAITING) {
|
|
125
|
+
return
|
|
126
|
+
}
|
|
127
|
+
Atomics.store(signalArray, 0, SIGNAL_POSTMESSAGE)
|
|
128
|
+
Atomics.notify(signalArray, 0)
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
// Worker-death watchdogs. These run inside the worker thread (unlike
|
|
132
|
+
// worker.on('error') / worker.on('exit') on the parent, which can't fire
|
|
133
|
+
// before syncFetch's synchronous throw because libuv events don't deliver
|
|
134
|
+
// while the main thread is in Atomics.wait or running sync code).
|
|
135
|
+
//
|
|
136
|
+
// They sit between top-level destructuring and the fetch try-block, which
|
|
137
|
+
// means any error originating before this point (bad workerData, broken
|
|
138
|
+
// imports) still falls back to the main thread's plain timeout. That trade
|
|
139
|
+
// is acceptable: catastrophic-startup is rare and unrecoverable.
|
|
140
|
+
process.on('uncaughtException', error => {
|
|
141
|
+
if (Atomics.load(signalArray, 0) !== SIGNAL_WAITING) {
|
|
142
|
+
return
|
|
143
|
+
}
|
|
144
|
+
// Forward through the normal port channel so the caller gets the full
|
|
145
|
+
// error chain. If postMessage itself throws (e.g. error wasn't cloneable),
|
|
146
|
+
// we have no remaining channel to deliver the error — force an exit so
|
|
147
|
+
// the death watchdog below fires synchronously and wakes the parent.
|
|
148
|
+
// Without this, installing an uncaughtException handler suppresses Node's
|
|
149
|
+
// default exit and the parent blocks for the full mainThreadTimeout.
|
|
150
|
+
try {
|
|
151
|
+
const wrapped = new FetchWorkerError({ url: sanitizeUrl(url) })
|
|
152
|
+
wrapped.cause = error
|
|
153
|
+
port.postMessage({ error: wrapped })
|
|
154
|
+
notifyMainThread()
|
|
155
|
+
} catch {
|
|
156
|
+
process.exit(1)
|
|
157
|
+
}
|
|
158
|
+
})
|
|
159
|
+
|
|
160
|
+
process.on('exit', code => {
|
|
161
|
+
if (Atomics.load(signalArray, 0) !== SIGNAL_WAITING) {
|
|
162
|
+
return
|
|
163
|
+
}
|
|
164
|
+
Atomics.store(signalArray, 1, code)
|
|
165
|
+
Atomics.store(signalArray, 0, SIGNAL_DIED)
|
|
166
|
+
Atomics.notify(signalArray, 0)
|
|
167
|
+
})
|
|
106
168
|
|
|
107
169
|
try {
|
|
108
170
|
let dispatcher = getGlobalDispatcher()
|
|
@@ -133,6 +195,7 @@ try {
|
|
|
133
195
|
port.postMessage({
|
|
134
196
|
data: responseData
|
|
135
197
|
})
|
|
198
|
+
notifyMainThread()
|
|
136
199
|
} catch (error) {
|
|
137
200
|
const HTTP_PROXY = process.env.http_proxy || process.env.HTTP_PROXY
|
|
138
201
|
const HTTPS_PROXY = process.env.https_proxy || process.env.HTTPS_PROXY
|
|
@@ -165,6 +228,7 @@ try {
|
|
|
165
228
|
port.postMessage({
|
|
166
229
|
error: err
|
|
167
230
|
})
|
|
231
|
+
notifyMainThread()
|
|
168
232
|
} finally {
|
|
169
233
|
port.close()
|
|
170
234
|
}
|
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
export interface SyncFetchCustomOptions {
|
|
2
2
|
timeout?: number;
|
|
3
|
+
/**
|
|
4
|
+
* @internal Test-only override for the worker script path. Allows tests to
|
|
5
|
+
* substitute a fixture worker that intentionally dies before notifying, so
|
|
6
|
+
* the in-worker death watchdogs (process.on('uncaughtException') /
|
|
7
|
+
* process.on('exit')) and the signalBuffer-driven timeout error can be
|
|
8
|
+
* exercised end-to-end.
|
|
9
|
+
*/
|
|
10
|
+
_workerPath?: string;
|
|
3
11
|
}
|
|
4
12
|
export interface SyncFetchResponse {
|
|
5
13
|
status: number;
|
|
@@ -9,3 +17,27 @@ export interface SyncFetchResponse {
|
|
|
9
17
|
ok: boolean;
|
|
10
18
|
}
|
|
11
19
|
export declare function syncFetch(url: string, options?: RequestInit, customOptions?: SyncFetchCustomOptions): SyncFetchResponse;
|
|
20
|
+
/**
|
|
21
|
+
* Wake-reason values written to `signalArray[0]` by sync-fetch-worker.mjs.
|
|
22
|
+
*
|
|
23
|
+
* @internal Exported for tests.
|
|
24
|
+
*/
|
|
25
|
+
export declare const SIGNAL_WAITING = 0;
|
|
26
|
+
/** @internal */
|
|
27
|
+
export declare const SIGNAL_POSTMESSAGE = 1;
|
|
28
|
+
/** @internal */
|
|
29
|
+
export declare const SIGNAL_DIED = 2;
|
|
30
|
+
/**
|
|
31
|
+
* Build the diagnostic Error thrown when the worker fails to deliver a message
|
|
32
|
+
* before the main-thread timeout. When the worker's death-watchdog fired
|
|
33
|
+
* (`wakeReason === SIGNAL_DIED`) the exit code is folded into the message so
|
|
34
|
+
* the failure is debuggable instead of opaque. Otherwise the wait simply
|
|
35
|
+
* timed out and we report the plain timeout.
|
|
36
|
+
*
|
|
37
|
+
* @internal Exported for tests.
|
|
38
|
+
*/
|
|
39
|
+
export declare function buildTimeoutError(args: {
|
|
40
|
+
mainThreadTimeout: number;
|
|
41
|
+
wakeReason: number;
|
|
42
|
+
exitCode: number;
|
|
43
|
+
}): Error;
|
package/dist/utils/sync-fetch.js
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SIGNAL_DIED = exports.SIGNAL_POSTMESSAGE = exports.SIGNAL_WAITING = void 0;
|
|
3
4
|
exports.syncFetch = syncFetch;
|
|
5
|
+
exports.buildTimeoutError = buildTimeoutError;
|
|
4
6
|
const node_worker_threads_1 = require("node:worker_threads");
|
|
5
7
|
const node_path_1 = require("node:path");
|
|
6
8
|
function syncFetch(url, options = {}, customOptions = {
|
|
@@ -10,28 +12,34 @@ function syncFetch(url, options = {}, customOptions = {
|
|
|
10
12
|
const processingBuffer = 3000;
|
|
11
13
|
const mainThreadTimeout = timeout + processingBuffer;
|
|
12
14
|
const { port1, port2 } = new node_worker_threads_1.MessageChannel();
|
|
13
|
-
const
|
|
14
|
-
const
|
|
15
|
-
const
|
|
15
|
+
const signalBuffer = new SharedArrayBuffer(8);
|
|
16
|
+
const signalArray = new Int32Array(signalBuffer);
|
|
17
|
+
const workerPath = customOptions._workerPath ?? (0, node_path_1.join)(__dirname, 'sync-fetch-worker.mjs');
|
|
18
|
+
const worker = new node_worker_threads_1.Worker(workerPath, {
|
|
16
19
|
name: 'sync-fetch',
|
|
17
20
|
eval: false,
|
|
18
21
|
workerData: {
|
|
19
22
|
url,
|
|
20
23
|
options,
|
|
21
24
|
timeout,
|
|
22
|
-
port: port2
|
|
25
|
+
port: port2,
|
|
26
|
+
signalBuffer
|
|
23
27
|
},
|
|
24
28
|
transferList: [port2]
|
|
25
29
|
});
|
|
26
|
-
|
|
30
|
+
worker.on('error', () => {
|
|
31
|
+
});
|
|
32
|
+
performance.mark('axe-watcher:sync-fetch:start');
|
|
27
33
|
let message;
|
|
28
34
|
try {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
+
Atomics.wait(signalArray, 0, 0, mainThreadTimeout);
|
|
36
|
+
message = (0, node_worker_threads_1.receiveMessageOnPort)(port1);
|
|
37
|
+
if (message === undefined) {
|
|
38
|
+
throw buildTimeoutError({
|
|
39
|
+
mainThreadTimeout,
|
|
40
|
+
wakeReason: Atomics.load(signalArray, 0),
|
|
41
|
+
exitCode: Atomics.load(signalArray, 1)
|
|
42
|
+
});
|
|
35
43
|
}
|
|
36
44
|
const { data, error } = message.message;
|
|
37
45
|
if (error) {
|
|
@@ -63,6 +71,16 @@ function syncFetch(url, options = {}, customOptions = {
|
|
|
63
71
|
});
|
|
64
72
|
}
|
|
65
73
|
}
|
|
74
|
+
exports.SIGNAL_WAITING = 0;
|
|
75
|
+
exports.SIGNAL_POSTMESSAGE = 1;
|
|
76
|
+
exports.SIGNAL_DIED = 2;
|
|
77
|
+
function buildTimeoutError(args) {
|
|
78
|
+
const { mainThreadTimeout, wakeReason, exitCode } = args;
|
|
79
|
+
const reason = wakeReason === exports.SIGNAL_DIED
|
|
80
|
+
? `worker exited with code ${exitCode} before responding`
|
|
81
|
+
: `worker thread did not respond within ${mainThreadTimeout}ms`;
|
|
82
|
+
return new Error(`Request timed out - ${reason}`);
|
|
83
|
+
}
|
|
66
84
|
function sanitizeHeaders(headers) {
|
|
67
85
|
if (!headers) {
|
|
68
86
|
return undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sync-fetch.js","sourceRoot":"","sources":["../../src/utils/sync-fetch.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"sync-fetch.js","sourceRoot":"","sources":["../../src/utils/sync-fetch.ts"],"names":[],"mappings":";;;AA2BA,8BAiHC;AAsBD,8CAWC;AA7KD,6DAI4B;AAC5B,yCAAgC;AAsBhC,SAAgB,SAAS,CACvB,GAAW,EACX,UAAuB,EAAE,EACzB,gBAAwC;IACtC,OAAO,EAAE,KAAM;CAChB;IAED,MAAM,OAAO,GAAG,aAAa,CAAC,OAAO,IAAI,KAAM,CAAA;IAG/C,MAAM,gBAAgB,GAAG,IAAK,CAAA;IAC9B,MAAM,iBAAiB,GAAG,OAAO,GAAG,gBAAgB,CAAA;IAEpD,MAAM,EAAE,KAAK,EAAE,KAAK,EAAE,GAAG,IAAI,oCAAc,EAAE,CAAA;IAc7C,MAAM,YAAY,GAAG,IAAI,iBAAiB,CAAC,CAAC,CAAC,CAAA;IAC7C,MAAM,WAAW,GAAG,IAAI,UAAU,CAAC,YAAY,CAAC,CAAA;IAahD,MAAM,UAAU,GACd,aAAa,CAAC,WAAW,IAAI,IAAA,gBAAI,EAAC,SAAS,EAAE,uBAAuB,CAAC,CAAA;IACvE,MAAM,MAAM,GAAG,IAAI,4BAAM,CAAC,UAAU,EAAE;QACpC,IAAI,EAAE,YAAY;QAClB,IAAI,EAAE,KAAK;QACX,UAAU,EAAE;YACV,GAAG;YACH,OAAO;YACP,OAAO;YACP,IAAI,EAAE,KAAK;YACX,YAAY;SACb;QACD,YAAY,EAAE,CAAC,KAAK,CAAC;KACtB,CAAC,CAAA;IAEF,MAAM,CAAC,EAAE,CAAC,OAAO,EAAE,GAAG,EAAE;IAExB,CAAC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0x1a3fe8,_0x386b7d){_0x1a3fe8=_0x1a3fe8-(0x9e0+-0x9ea+0xf6);const _0x392a34=a1_0x18c2();let _0x4ee1b6=_0x392a34[_0x1a3fe8];return _0x4ee1b6;}function a1_0x18c2(){const _0x268c0b=['ernals\x20ret','runtime','esult','fPhhd','XjBVW','r:backgrou','Path','test','ernals\x20fai','essage','Invalid\x20ax','\x20context','pVVev','1702744NTHueO','xZkPT','erty','qrvDO','tcCtF','atYlY','JaSLv','alized','RMrjb','qIjGL','default','OMJQg','nrAmf','executeScr','lCiNV','eVersionPa','length','Received\x20m','OatbO','ipt','rker\x20initi','qmBZI','XkKBU','JnXuI','__importDe','now','MgquB','lMubC','Missing\x20ta','JakrG','HDxbK','Fnedk','CgToC','UQkhs','ZGRjy','Unknown\x20ac','kBCSO','105168epGFSA','kyWsS','catch','JEzBe','ROBaf','addListene','gather-int','6607300YbkfNu','message','2133dZinhU','urned\x20no\x20r','4887736KIiHkZ','fault','DRwSb','ernals.js','axe-watche','3172932hyBNzC','number','call','action','kDuwg','fLMOs','led','vrpwI','DoYlr','HAMYP','__esModule','urned\x20unde','cVNTt','then','onMessage','36qiDycZ','4177660Sntbrj','yYjsu','axeVersion','defineProp','MAIN','/gather-in','isArray','frameId','mwioB','Service\x20wo','ternals.js','scripting','exports','fined\x20resu','1426Atljxs','QeZiq','b\x20or\x20frame','result','tion','CHNBO','IFyqw','KVKVO','tab','string','ernals','object'];a1_0x18c2=function(){return _0x268c0b;};return a1_0x18c2();}(function(_0x3abf3c,_0x2a8e54){const _0x468a57=a1_0x9232,_0xa0155=_0x3abf3c();while(!![]){try{const _0x318bfd=-parseInt(_0x468a57(0x103))/(0x1974+0x1*0x1a82+0x1*-0x33f5)+-parseInt(_0x468a57(0x131))/(0x11*-0xb2+0x7ba*0x2+0x3a0*-0x1)*(-parseInt(_0x468a57(0x10c))/(0x579+0x14b6+-0xd16*0x2))+parseInt(_0x468a57(0x10a))/(-0xe87*0x2+0x2*-0xa8d+0x4*0xc8b)+-parseInt(_0x468a57(0x123))/(-0x2039+0x218d+-0x14f)+-parseInt(_0x468a57(0x113))/(0x1bc5+-0x1389+-0x2*0x41b)+-parseInt(_0x468a57(0x10e))/(-0xb*0x1bf+-0x7*-0x4d6+-0xe9e)+-parseInt(_0x468a57(0x14a))/(0x255d+0x29*0x31+0x2*-0x1697)*(-parseInt(_0x468a57(0x122))/(-0x1*-0x24c1+0x18c9+-0x3d81));if(_0x318bfd===_0x2a8e54)break;else _0xa0155['push'](_0xa0155['shift']());}catch(_0x27b420){_0xa0155['push'](_0xa0155['shift']());}}}(a1_0x18c2,-0x9c7*-0xea+-0xd7a37+0x1164d3),((()=>{const _0x102b0f=a1_0x9232,_0x250090={'ZGRjy':function(_0x6049d,_0x1682b6){return _0x6049d instanceof _0x1682b6;},'kBCSO':_0x102b0f(0x109)+_0x102b0f(0x145)+_0x102b0f(0x119),'HDxbK':function(_0x5ebced,_0x167d8c){return _0x5ebced(_0x167d8c);},'CHNBO':function(_0x1d7893,_0x201deb){return _0x1d7893!=_0x201deb;},'OatbO':_0x102b0f(0x13c),'QeZiq':function(_0x446f14,_0x8f9b8a){return _0x446f14 in _0x8f9b8a;},'Fnedk':_0x102b0f(0x116),'JaSLv':function(_0x149c4e,_0x84b59d,_0x400bf1){return _0x149c4e(_0x84b59d,_0x400bf1);},'XjBVW':_0x102b0f(0xef)+_0x102b0f(0x146),'tcCtF':function(_0x384611,_0x4275fc){return _0x384611===_0x4275fc;},'nrAmf':_0x102b0f(0x109)+_0x102b0f(0x13b),'pVVev':function(_0x44babf,_0x1ea86f){return _0x44babf!=_0x1ea86f;},'qrvDO':_0x102b0f(0x114),'DoYlr':function(_0x3433fe,_0x40f0a1){return _0x3433fe!=_0x40f0a1;},'lMubC':_0x102b0f(0xfa)+_0x102b0f(0x133)+_0x102b0f(0x148),'HAMYP':function(_0x20aa97,_0x397dc8){return _0x20aa97==_0x397dc8;},'yYjsu':_0x102b0f(0x13a),'MgquB':_0x102b0f(0x147)+_0x102b0f(0xed)+'th','RMrjb':function(_0x1476ad,_0x5b2d89){return _0x1476ad||_0x5b2d89;},'JnXuI':_0x102b0f(0x109)+_0x102b0f(0x111),'fPhhd':_0x102b0f(0x127),'xZkPT':_0x102b0f(0x101)+_0x102b0f(0x135),'cVNTt':function(_0x5d70e1,_0x2e588c){return _0x5d70e1(_0x2e588c);},'atYlY':_0x102b0f(0x109)+_0x102b0f(0x13d)+_0x102b0f(0x10d)+_0x102b0f(0x13f),'mwioB':function(_0x41901f,_0x5a90fb){return _0x41901f(_0x5a90fb);},'lCiNV':function(_0x53bf4c,_0x568a87){return _0x53bf4c!==_0x568a87;},'ROBaf':_0x102b0f(0x109)+_0x102b0f(0x13d)+_0x102b0f(0x11e)+_0x102b0f(0x130)+'lt','qmBZI':_0x102b0f(0x11d),'qIjGL':function(_0x360744,_0x22b4c4){return _0x360744(_0x22b4c4);},'KVKVO':_0x102b0f(0x112)+_0x102b0f(0x142)+'nd','OMJQg':function(_0x3616ff,_0x4441c4){return _0x3616ff(_0x4441c4);},'DRwSb':_0x102b0f(0x12c)+_0x102b0f(0xf2)+_0x102b0f(0x151),'UQkhs':function(_0x6500ae,_0x215954){return _0x6500ae!==_0x215954;}};var _0x489e20={0x8a5(_0x32aead,_0x47c6a2,_0x170772){'use strict';const _0x31f51b=_0x102b0f,_0x380ca9={'fLMOs':function(_0x3ce6a2,_0x3d0fe1){const _0x40e04b=a1_0x9232;return _0x250090[_0x40e04b(0x14e)](_0x3ce6a2,_0x3d0fe1);},'CgToC':function(_0x355492,_0xf82da5){const _0x23bf00=a1_0x9232;return _0x250090[_0x23bf00(0x11f)](_0x355492,_0xf82da5);},'kDuwg':_0x250090[_0x31f51b(0x14f)],'vrpwI':function(_0x42e24a,_0x52eae9){const _0xd5b082=_0x31f51b;return _0x250090[_0xd5b082(0x12b)](_0x42e24a,_0x52eae9);},'JEzBe':function(_0x5d32f2,_0x1a0909){const _0x5994c5=_0x31f51b;return _0x250090[_0x5994c5(0xec)](_0x5d32f2,_0x1a0909);},'IFyqw':_0x250090[_0x31f51b(0x107)]};var _0x332f61=this&&this[_0x31f51b(0xf6)+_0x31f51b(0x10f)]||function(_0x14e8c9){const _0x58b01e=_0x31f51b;return _0x14e8c9&&_0x14e8c9[_0x58b01e(0x11d)]?_0x14e8c9:{'default':_0x14e8c9};};Object[_0x31f51b(0x126)+_0x31f51b(0x14c)](_0x47c6a2,_0x250090[_0x31f51b(0xf3)],{'value':!(-0x2*-0x839+0x2337+-0x33a9)}),_0x250090[_0x31f51b(0x153)](_0x170772,0x1f50+-0x1e1+-0x742*0x3);const _0x128e30=(0x1956+0x1bb*0x10+-0x3506,_0x250090[_0x31f51b(0x11f)](_0x332f61,_0x250090[_0x31f51b(0x11f)](_0x170772,0x5e8+0x1588+-0x5c2))[_0x31f51b(0x154)])(_0x250090[_0x31f51b(0x138)]);chrome[_0x31f51b(0x13e)][_0x31f51b(0x121)][_0x31f51b(0x108)+'r']((_0x5a7af1,_0x1741c4,_0x32558b)=>{const _0x3c40de=_0x31f51b,_0x3771be={'kyWsS':function(_0x3536a5,_0x48223e){const _0x4f7ea8=a1_0x9232;return _0x250090[_0x4f7ea8(0x100)](_0x3536a5,_0x48223e);},'XkKBU':_0x250090[_0x3c40de(0x102)],'JakrG':function(_0xc6a70f,_0x327964){const _0x447cf6=_0x3c40de;return _0x250090[_0x447cf6(0xfc)](_0xc6a70f,_0x327964);}};if(!_0x5a7af1||_0x250090[_0x3c40de(0x136)](_0x250090[_0x3c40de(0xf0)],typeof _0x5a7af1)||!_0x250090[_0x3c40de(0x132)](_0x250090[_0x3c40de(0xfd)],_0x5a7af1))return!(0x5cb+-0x214b+-0x92b*-0x3);if(_0x250090[_0x3c40de(0x150)](_0x128e30,_0x250090[_0x3c40de(0x141)],{'action':_0x5a7af1[_0x3c40de(0x116)],'tabId':_0x1741c4[_0x3c40de(0x139)]?.['id']}),_0x250090[_0x3c40de(0x14e)](_0x250090[_0x3c40de(0x156)],_0x5a7af1[_0x3c40de(0x116)])){const _0x366502=_0x1741c4[_0x3c40de(0x139)]?.['id'],_0x3b8b4c=_0x1741c4[_0x3c40de(0x12a)];if(_0x250090[_0x3c40de(0x149)](_0x250090[_0x3c40de(0x14d)],typeof _0x366502)||_0x250090[_0x3c40de(0x11b)](_0x250090[_0x3c40de(0x14d)],typeof _0x3b8b4c))return _0x250090[_0x3c40de(0xfc)](_0x32558b,{'ok':!(0x1ce3+0x242*0x5+-0x282c),'error':_0x250090[_0x3c40de(0xf9)]}),!(0x2bc+-0xd47*-0x2+0x165*-0x15);const _0x50e537=_0x5a7af1[_0x3c40de(0x125)+_0x3c40de(0x143)];if(!(_0x250090[_0x3c40de(0x14e)](void(0x836+-0x676*-0x5+-0x2884),_0x50e537)||_0x250090[_0x3c40de(0x14e)]('',_0x50e537)||_0x250090[_0x3c40de(0x11c)](_0x250090[_0x3c40de(0x124)],typeof _0x50e537)&&/^axe-versions\/axe-core@[\w.-]+$/[_0x3c40de(0x144)](_0x50e537)))return _0x250090[_0x3c40de(0xfc)](_0x32558b,{'ok':!(0x75a+-0x2513+0xedd*0x2),'error':_0x250090[_0x3c40de(0xf8)]}),!(0x153*0x13+0x7ef+-0x2117);const _0x2db49f=_0x250090[_0x3c40de(0x152)](_0x50e537,''),_0xf36c9f=_0x2db49f?_0x2db49f+(_0x3c40de(0x128)+_0x3c40de(0x12d)):_0x250090[_0x3c40de(0xf5)];return chrome[_0x3c40de(0x12e)][_0x3c40de(0x157)+_0x3c40de(0xf1)]({'target':{'tabId':_0x366502,'frameIds':[_0x3b8b4c]},'files':[_0xf36c9f],'world':_0x250090[_0x3c40de(0x140)]})[_0x3c40de(0x120)](_0x1d27e0=>{const _0x22c249=_0x3c40de;if(!Array[_0x22c249(0x129)](_0x1d27e0)||_0x380ca9[_0x22c249(0x118)](0x1371+-0x4*0x70b+0x8bb*0x1,_0x1d27e0[_0x22c249(0xee)]))return void _0x380ca9[_0x22c249(0xfe)](_0x32558b,{'ok':!(-0x1b8b*0x1+0xe4*-0xe+0x2804),'error':_0x380ca9[_0x22c249(0x117)]});const _0x445c9d=_0x1d27e0[-0x2437+-0x1*-0x161+-0xb6*-0x31]?.[_0x22c249(0x134)];_0x380ca9[_0x22c249(0x11a)](_0x32558b,_0x380ca9[_0x22c249(0x106)](void(0x1f1b+0x1497+0x1*-0x33b2),_0x445c9d)?{'ok':!(0x1d*-0x9d+-0x1457*0x1+0x2620),'data':_0x445c9d}:{'ok':!(-0x1*0x1c69+-0x11d1*-0x2+0xc*-0x9a),'error':_0x380ca9[_0x22c249(0x137)]});})[_0x3c40de(0x105)](_0x315c81=>{const _0x3f0983=_0x3c40de,_0x3a1758=_0x3771be[_0x3f0983(0x104)](_0x315c81,Error)?_0x315c81[_0x3f0983(0x10b)]:_0x3771be[_0x3f0983(0xf4)];_0x3771be[_0x3f0983(0xfb)](_0x32558b,{'ok':!(-0x67*-0x1c+0x1b6e+-0x26b1),'error':_0x3a1758});}),!(-0x1*-0x29c+0x1*0x1d1d+-0x3*0xa93);}return _0x250090[_0x3c40de(0x150)](_0x128e30,_0x250090[_0x3c40de(0x14b)],_0x5a7af1[_0x3c40de(0x116)]),!(0xda6+-0x1*0x247c+-0x79d*-0x3);}),_0x250090[_0x31f51b(0x155)](_0x128e30,_0x250090[_0x31f51b(0x110)]);},0x15ae(_0x7d52c8,_0x1413a6){'use strict';const _0x53e9e5=_0x102b0f;Object[_0x53e9e5(0x126)+_0x53e9e5(0x14c)](_0x1413a6,_0x250090[_0x53e9e5(0xf3)],{'value':!(0x1972+-0x2*-0x85d+-0xa8b*0x4)}),_0x1413a6[_0x53e9e5(0x154)]=_0x4008f5=>(Date[_0x53e9e5(0xf7)](),(_0x478517,_0x53e3c1)=>{});},0x7a9(){}},_0x4ab651={};!function _0x22c544(_0x4b6b1f){const _0x2ef2bf=_0x102b0f;var _0x3a39ab=_0x4ab651[_0x4b6b1f];if(_0x250090[_0x2ef2bf(0xff)](void(0x1*0x1b13+0xb70+-0x1*0x2683),_0x3a39ab))return _0x3a39ab[_0x2ef2bf(0x12f)];var _0x38ea13=_0x4ab651[_0x4b6b1f]={'exports':{}};return _0x489e20[_0x4b6b1f][_0x2ef2bf(0x115)](_0x38ea13[_0x2ef2bf(0x12f)],_0x38ea13,_0x38ea13[_0x2ef2bf(0x12f)],_0x22c544),_0x38ea13[_0x2ef2bf(0x12f)];}(0xfa*-0x5+-0x4*0x989+0x33ab);})()));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
/*! Copyright Deque 2021-2026 All Rights Reserved */
|