@evomap/evolver 1.89.0 → 1.89.2
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/CONTRIBUTING.md +19 -0
- package/README.ja-JP.md +9 -32
- package/README.ko-KR.md +9 -32
- package/README.md +530 -86
- package/README.zh-CN.md +4 -31
- package/SKILL.md +1 -1
- package/assets/cover.png +0 -0
- package/index.js +14 -1
- package/package.json +17 -6
- package/scripts/a2a_export.js +63 -0
- package/scripts/a2a_ingest.js +79 -0
- package/scripts/a2a_promote.js +118 -0
- package/scripts/analyze_by_skill.js +121 -0
- package/scripts/build_binaries.js +479 -0
- package/scripts/check-changelog.js +166 -0
- package/scripts/extract_log.js +85 -0
- package/scripts/generate_history.js +75 -0
- package/scripts/gep_append_event.js +96 -0
- package/scripts/gep_personality_report.js +234 -0
- package/scripts/human_report.js +147 -0
- package/scripts/recall-verify-report.js +234 -0
- package/scripts/recover_loop.js +61 -0
- package/scripts/seed-merchants.js +91 -0
- package/scripts/suggest_version.js +89 -0
- package/scripts/validate-modules.js +38 -0
- package/scripts/validate-suite.js +78 -0
- package/skills/index.json +14 -0
- package/src/evolve/guards.js +1 -721
- package/src/evolve/pipeline/collect.js +1 -1283
- package/src/evolve/pipeline/dispatch.js +1 -421
- package/src/evolve/pipeline/enrich.js +1 -434
- package/src/evolve/pipeline/hub.js +1 -319
- package/src/evolve/pipeline/select.js +1 -274
- package/src/evolve/pipeline/signals.js +1 -206
- package/src/evolve/utils.js +1 -264
- package/src/evolve.js +1 -350
- package/src/forceUpdate.js +105 -20
- package/src/gep/a2aProtocol.js +1 -4395
- package/src/gep/autoDistillConv.js +1 -205
- package/src/gep/autoDistillLlm.js +1 -315
- package/src/gep/candidateEval.js +1 -92
- package/src/gep/candidates.js +1 -198
- package/src/gep/contentHash.js +1 -30
- package/src/gep/conversationSniffer.js +1 -266
- package/src/gep/crypto.js +1 -89
- package/src/gep/curriculum.js +1 -163
- package/src/gep/deviceId.js +1 -218
- package/src/gep/envFingerprint.js +1 -118
- package/src/gep/epigenetics.js +1 -31
- package/src/gep/execBridge.js +1 -711
- package/src/gep/explore.js +1 -289
- package/src/gep/hash.js +1 -15
- package/src/gep/hubFetch.js +1 -359
- package/src/gep/hubReview.js +1 -207
- package/src/gep/hubSearch.js +1 -526
- package/src/gep/hubVerify.js +1 -306
- package/src/gep/learningSignals.js +1 -89
- package/src/gep/memoryGraph.js +1 -1374
- package/src/gep/memoryGraphAdapter.js +1 -203
- package/src/gep/mutation.js +1 -203
- package/src/gep/narrativeMemory.js +1 -108
- package/src/gep/oauthLogin.js +34 -0
- package/src/gep/openPRRegistry.js +1 -205
- package/src/gep/personality.js +1 -423
- package/src/gep/policyCheck.js +1 -599
- package/src/gep/prompt.js +1 -836
- package/src/gep/recallInject.js +1 -409
- package/src/gep/recallVerifier.js +1 -318
- package/src/gep/reflection.js +1 -177
- package/src/gep/selector.js +1 -602
- package/src/gep/skillDistiller.js +1 -1294
- package/src/gep/skillPublisher.js +1 -1
- package/src/gep/solidify.js +1 -1699
- package/src/gep/strategy.js +1 -136
- package/src/gep/tokenSavings.js +1 -88
- package/src/gep/workspaceKeychain.js +1 -174
- package/src/proxy/extensions/traceControl.js +1 -99
- package/src/proxy/inject.js +1 -52
- package/src/proxy/lifecycle/manager.js +2 -0
- package/src/proxy/trace/extractor.js +1 -534
- package/src/proxy/trace/usage.js +1 -105
- package/.cursor/BUGBOT.md +0 -182
- package/.env.example +0 -68
- package/.git-commit-guard-token +0 -1
- package/.github/CODEOWNERS +0 -63
- package/.github/ISSUE_TEMPLATE/good_first_issue.md +0 -23
- package/.github/pull_request_template.md +0 -45
- package/.github/workflows/test.yml +0 -75
- package/CHANGELOG.md +0 -1123
- package/README.public.md +0 -594
- package/SECURITY.md +0 -108
- package/assets/gep/events.jsonl +0 -3
- package/examples/atp-consumer-quickstart.md +0 -100
- package/examples/hello-world.md +0 -38
- package/proxy-package.json +0 -39
- package/public.manifest.json +0 -141
- /package/assets/gep/{genes.json → genes.seed.json} +0 -0
- /package/{bundled-skills → skills}/_meta/SKILL.md +0 -0
package/src/gep/hubFetch.js
CHANGED
|
@@ -1,359 +1 @@
|
|
|
1
|
-
// hubFetch -- single chokepoint for every Hub-facing HTTP call.
|
|
2
|
-
//
|
|
3
|
-
// Two protections, both bypassable only via EVOMAP_HUB_ALLOW_INSECURE=1:
|
|
4
|
-
//
|
|
5
|
-
// 1. URL schema check. Rejects anything that does not parse as https://.
|
|
6
|
-
// This catches every misconfigured / attacker-supplied env var even
|
|
7
|
-
// when the caller bypassed resolveHubUrl() and read process.env
|
|
8
|
-
// directly (httpTransportSend / getHubUrl() / per-call opts.hubUrl /
|
|
9
|
-
// proxy this.hubUrl all reach here).
|
|
10
|
-
//
|
|
11
|
-
// 2. TLS verification. Built-in fetch validates certificates by default,
|
|
12
|
-
// but NODE_TLS_REJECT_UNAUTHORIZED=0 disables that globally. Passing
|
|
13
|
-
// an explicit undici.Agent with connect.rejectUnauthorized:true as
|
|
14
|
-
// the dispatcher makes Hub traffic immune to that env var.
|
|
15
|
-
//
|
|
16
|
-
// Escape hatch: EVOMAP_HUB_ALLOW_INSECURE=1 disables BOTH protections (used
|
|
17
|
-
// for local dev / mock hubs on http:// or with self-signed certs). Any
|
|
18
|
-
// value other than exactly "1" is treated as absent.
|
|
19
|
-
|
|
20
|
-
// Use BOTH Agent and fetch from the same undici package. Node's global
|
|
21
|
-
// fetch is built on an internal undici, and an Agent created from the
|
|
22
|
-
// installed `undici` package is not interface-compatible with it — mixing
|
|
23
|
-
// them yields `UND_ERR_INVALID_ARG: invalid onRequestStart method` at
|
|
24
|
-
// request time. Pulling fetch from the same package keeps them in sync.
|
|
25
|
-
const https = require('https');
|
|
26
|
-
const { Agent, fetch: undiciFetch, buildConnector } = require('undici');
|
|
27
|
-
|
|
28
|
-
// Cap idle keep-alive well below consumer-router NAT eviction (typically
|
|
29
|
-
// 60-300s). undici's default keepAliveTimeout is 600s, which means after an
|
|
30
|
-
// idle period the next request reuses a socket the NAT has already silently
|
|
31
|
-
// dropped and only fails after AbortSignal timeout — a major contributor to
|
|
32
|
-
// post-idle heartbeat death. headers/bodyTimeout are bounded so a wedged
|
|
33
|
-
// socket cannot stall the heartbeat indefinitely.
|
|
34
|
-
// Connect options shared between agents.
|
|
35
|
-
// - rejectUnauthorized: TLS verification, immune to NODE_TLS_REJECT_UNAUTHORIZED=0.
|
|
36
|
-
// - timeout: TCP+TLS handshake deadline.
|
|
37
|
-
// - autoSelectFamily: Happy Eyeballs. On dual-stack networks where the v6
|
|
38
|
-
// route black-holes after sleep/wake (common with residential routers),
|
|
39
|
-
// without this Node tries v6 first and only falls back to v4 after the
|
|
40
|
-
// full connect.timeout (~10s). With autoSelectFamily the v4 attempt
|
|
41
|
-
// races in within ~250ms, so the first post-wake hub call is fast
|
|
42
|
-
// instead of suffering a guaranteed 10s pause.
|
|
43
|
-
const _connectOpts = {
|
|
44
|
-
rejectUnauthorized: true,
|
|
45
|
-
timeout: 10_000,
|
|
46
|
-
autoSelectFamily: true,
|
|
47
|
-
autoSelectFamilyAttemptTimeout: 250,
|
|
48
|
-
};
|
|
49
|
-
|
|
50
|
-
// Round-8 (§21.6): wrap undici's built-in connector so we can enable
|
|
51
|
-
// OS-level TCP keepalive on the underlying socket. macOS default
|
|
52
|
-
// TCP_KEEPIDLE is 7200s -- way too long for our 10s heartbeat
|
|
53
|
-
// AbortSignal to ever benefit from kernel-level dead-socket detection.
|
|
54
|
-
// undici's keepAliveTimeout (10s above) trims sockets that have been
|
|
55
|
-
// idle in our pool, but a socket that is freshly idle (1-9s) and gets
|
|
56
|
-
// silently NAT-evicted during the macOS sleep window is reused on
|
|
57
|
-
// wake, the next request hangs until the AbortSignal trips, and the
|
|
58
|
-
// dispatcher pool fills with "destroying" sockets that pin capacity.
|
|
59
|
-
// With setKeepAlive(true, 15_000) the kernel fires TCP keepalive
|
|
60
|
-
// probes after 15s of socket idle, sees the silent drop within a few
|
|
61
|
-
// probe intervals, and surfaces ECONNRESET to the next read -- so
|
|
62
|
-
// reuse of a dead socket fails fast instead of hanging until app-
|
|
63
|
-
// layer timeout. autoSelectFamily, rejectUnauthorized, connect.timeout
|
|
64
|
-
// all still apply because we delegate to buildConnector(opts).
|
|
65
|
-
const _baseConnect = buildConnector(_connectOpts);
|
|
66
|
-
function _connectWithKeepAlive(opts, cb) {
|
|
67
|
-
return _baseConnect(opts, function (err, socket) {
|
|
68
|
-
if (err) return cb(err, socket);
|
|
69
|
-
try {
|
|
70
|
-
if (socket && typeof socket.setKeepAlive === 'function') {
|
|
71
|
-
socket.setKeepAlive(true, 15_000);
|
|
72
|
-
}
|
|
73
|
-
} catch (_) { /* never block connect on a setKeepAlive failure */ }
|
|
74
|
-
cb(null, socket);
|
|
75
|
-
});
|
|
76
|
-
}
|
|
77
|
-
// Marker so the #160 TLS-pinning contract (dispatcher.options.connect
|
|
78
|
-
// .rejectUnauthorized === true) remains introspectable now that
|
|
79
|
-
// `connect` is a function wrapping buildConnector(_connectOpts) instead
|
|
80
|
-
// of a plain options object. The actual TLS pinning is enforced by
|
|
81
|
-
// _connectOpts above; this property only mirrors that intent for tests
|
|
82
|
-
// and readers.
|
|
83
|
-
_connectWithKeepAlive.rejectUnauthorized = true;
|
|
84
|
-
|
|
85
|
-
function _makeStrictAgent() {
|
|
86
|
-
return new Agent({
|
|
87
|
-
connect: _connectWithKeepAlive,
|
|
88
|
-
keepAliveTimeout: 10_000,
|
|
89
|
-
keepAliveMaxTimeout: 60_000,
|
|
90
|
-
headersTimeout: 30_000,
|
|
91
|
-
bodyTimeout: 30_000,
|
|
92
|
-
pipelining: 1,
|
|
93
|
-
});
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
function _makeLongPollAgent() {
|
|
97
|
-
return new Agent({
|
|
98
|
-
connect: _connectWithKeepAlive,
|
|
99
|
-
keepAliveTimeout: 10_000,
|
|
100
|
-
keepAliveMaxTimeout: 60_000,
|
|
101
|
-
headersTimeout: 65_000,
|
|
102
|
-
bodyTimeout: 65_000,
|
|
103
|
-
pipelining: 1,
|
|
104
|
-
});
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
function _makeMailboxAgent() {
|
|
108
|
-
return new Agent({
|
|
109
|
-
connect: _connectWithKeepAlive,
|
|
110
|
-
keepAliveTimeout: 10_000,
|
|
111
|
-
keepAliveMaxTimeout: 60_000,
|
|
112
|
-
// Sits just above the highest mailbox AbortSignal (inbound=35s) so the
|
|
113
|
-
// app-layer signal is the authority on cancellation, while still
|
|
114
|
-
// bounding wedged-socket lifetime well below "forever".
|
|
115
|
-
headersTimeout: 45_000,
|
|
116
|
-
bodyTimeout: 45_000,
|
|
117
|
-
pipelining: 1,
|
|
118
|
-
});
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
// Default agent for short hub calls (heartbeat, hello, transport, publish).
|
|
122
|
-
// Header/body timeouts (30s) are bounded so a wedged socket cannot stall
|
|
123
|
-
// the heartbeat loop (HEARTBEAT_TIMEOUT_MS=10s leaves a 3x margin).
|
|
124
|
-
// keepAliveTimeout is well below consumer-router NAT eviction (typically
|
|
125
|
-
// 60-300s) so the next call after an idle period gets a fresh socket
|
|
126
|
-
// rather than reusing one the NAT has silently dropped.
|
|
127
|
-
// Node's native `https.Agent` for callers that build their own
|
|
128
|
-
// `https.request(...)` transport (atpExecute._postJson). hubFetch pins
|
|
129
|
-
// TLS verification for fetch() via the undici Agent above; this is the
|
|
130
|
-
// equivalent for the `node:https` API so the second protection layer
|
|
131
|
-
// described at the top of this file is honoured everywhere, not just by
|
|
132
|
-
// hubFetch.
|
|
133
|
-
const _strictHttpsAgent = new https.Agent({ rejectUnauthorized: true });
|
|
134
|
-
|
|
135
|
-
// Long-poll agent for /a2a/events/poll. The application-layer
|
|
136
|
-
// AbortSignal.timeout for that path is 60s (EVENT_POLL_TIMEOUT_MS), but
|
|
137
|
-
// _strictAgent's headersTimeout=30s would otherwise fire first and abort
|
|
138
|
-
// every long poll at 30s -- the hub gets no chance to deliver an event
|
|
139
|
-
// that arrives in the 30-55s window. Headers/body timeouts here sit just
|
|
140
|
-
// above the app-layer 60s ceiling so the AbortSignal is the visible
|
|
141
|
-
// timeout signal.
|
|
142
|
-
// Mailbox agent for /a2a/mailbox/inbound (35s AbortSignal) and
|
|
143
|
-
// /a2a/mailbox/outbound (30s AbortSignal). _strictAgent's 30s
|
|
144
|
-
// headers/bodyTimeout would fire AT OR BEFORE those app signals,
|
|
145
|
-
// silently capping inbound at 30s (regression vs main where _strictAgent
|
|
146
|
-
// had undici defaults ~300s) and racing with outbound's identical 30s
|
|
147
|
-
// signal. The 45s ceiling here keeps the app-layer AbortSignal as the
|
|
148
|
-
// authority while still bounding a wedged socket.
|
|
149
|
-
let _strictAgent = _makeStrictAgent();
|
|
150
|
-
let _longPollAgent = _makeLongPollAgent();
|
|
151
|
-
let _mailboxAgent = _makeMailboxAgent();
|
|
152
|
-
|
|
153
|
-
// Drain and rebuild both undici agents. Called from the index.js SIGCONT
|
|
154
|
-
// handler on macOS resume: undici's keepAliveTimeout is measured from
|
|
155
|
-
// "socket goes idle" on libuv's monotonic clock, which freezes through
|
|
156
|
-
// sleep. The next post-wake request can therefore reuse a socket the
|
|
157
|
-
// NAT silently dropped during the suspend window and only fail after the
|
|
158
|
-
// 30s headersTimeout -- well above HEARTBEAT_TIMEOUT_MS (10s). The
|
|
159
|
-
// AbortSignal trips first but the socket may linger in the pool's
|
|
160
|
-
// "destroying" state, pinning capacity. Closing both agents forces all
|
|
161
|
-
// idle sockets shut and frees the per-host autoSelectFamily cache so a
|
|
162
|
-
// stale "v6 wins" decision from before sleep does not stick when v6 is
|
|
163
|
-
// now black-holed. In-flight requests still finish on their existing
|
|
164
|
-
// socket (close() does not abort them). Cheap to call -- safe to invoke
|
|
165
|
-
// even if nothing changed.
|
|
166
|
-
function drainPool() {
|
|
167
|
-
const old = [_strictAgent, _longPollAgent, _mailboxAgent];
|
|
168
|
-
_strictAgent = _makeStrictAgent();
|
|
169
|
-
_longPollAgent = _makeLongPollAgent();
|
|
170
|
-
_mailboxAgent = _makeMailboxAgent();
|
|
171
|
-
for (const agent of old) {
|
|
172
|
-
try {
|
|
173
|
-
// Agent.close() returns a Promise that resolves when all in-flight
|
|
174
|
-
// requests finish. We do not await it -- the new agents already
|
|
175
|
-
// serve fresh calls, and the old ones drain naturally.
|
|
176
|
-
const p = agent.close();
|
|
177
|
-
if (p && typeof p.catch === 'function') p.catch(() => {});
|
|
178
|
-
} catch (_) {}
|
|
179
|
-
}
|
|
180
|
-
}
|
|
181
|
-
|
|
182
|
-
function _pickDispatcher(url) {
|
|
183
|
-
// Three dispatcher pools, picked by exact path match:
|
|
184
|
-
// - /a2a/events/poll -> _longPollAgent (65s timeouts)
|
|
185
|
-
// - /a2a/mailbox/{inbound,outbound} -> _mailboxAgent (45s timeouts)
|
|
186
|
-
// - everything else -> _strictAgent (30s timeouts)
|
|
187
|
-
//
|
|
188
|
-
// The split exists because each path has a different app-layer
|
|
189
|
-
// AbortSignal ceiling: event poll = 60s, mailbox inbound = 35s, mailbox
|
|
190
|
-
// outbound = 30s (racy against strict's 30s), heartbeat / hello /
|
|
191
|
-
// transport = <= 10s. The strict agent's 30s headers/bodyTimeout
|
|
192
|
-
// would otherwise fire BEFORE the longer app signals, silently
|
|
193
|
-
// capping those paths and making AbortSignal cosmetic. Mailbox /
|
|
194
|
-
// long-poll dispatchers keep the app-layer signal as the visible
|
|
195
|
-
// timeout while still bounding wedged-socket lifetime.
|
|
196
|
-
//
|
|
197
|
-
// Match on path (not host) to avoid coupling to a specific hub URL.
|
|
198
|
-
//
|
|
199
|
-
// Round-6 (§19.8): previously the matcher accepted both
|
|
200
|
-
// `pathname === '/a2a/events/poll'` AND `pathname.endsWith('/a2a/events/poll')`.
|
|
201
|
-
// The endsWith branch was a needless widening that also caught
|
|
202
|
-
// unrelated paths such as `/admin/a2a/events/poll`, `/v2/a2a/events/poll`,
|
|
203
|
-
// or any future hub path that happens to end with the same suffix --
|
|
204
|
-
// those would silently inherit the 65s long-poll timeout when they
|
|
205
|
-
// should fail fast on the 30s strict timeout. Use exact match only.
|
|
206
|
-
// For hub deployments mounted under a base path (rare; not in the
|
|
207
|
-
// current hub repo), set EVOLVER_LONG_POLL_PATH to override.
|
|
208
|
-
const longPollPath = process.env.EVOLVER_LONG_POLL_PATH || '/a2a/events/poll';
|
|
209
|
-
try {
|
|
210
|
-
const u = new URL(url);
|
|
211
|
-
if (u.pathname === longPollPath) {
|
|
212
|
-
return _longPollAgent;
|
|
213
|
-
}
|
|
214
|
-
if (u.pathname === '/a2a/mailbox/inbound' || u.pathname === '/a2a/mailbox/outbound') {
|
|
215
|
-
return _mailboxAgent;
|
|
216
|
-
}
|
|
217
|
-
} catch {
|
|
218
|
-
// fall through to strict
|
|
219
|
-
}
|
|
220
|
-
return _strictAgent;
|
|
221
|
-
}
|
|
222
|
-
|
|
223
|
-
// Test seam: lets unit tests swap in a mock fetch without forking the call
|
|
224
|
-
// path. Production code must NEVER reassign this from outside the module.
|
|
225
|
-
let _fetchImpl = undiciFetch;
|
|
226
|
-
function _setFetchImplForTest(fn) { _fetchImpl = fn || undiciFetch; }
|
|
227
|
-
|
|
228
|
-
// Error codes that indicate a network-layer disruption rather than an
|
|
229
|
-
// application-layer error. On Linux, a NetworkManager reconnect, VPN
|
|
230
|
-
// re-establishment, or WiFi hand-off invalidates the 5-tuples of all
|
|
231
|
-
// existing TCP connections in the undici pool. The kernel surfaces the
|
|
232
|
-
// break as one of these codes on the next read/write; undici wraps them
|
|
233
|
-
// in Error objects but preserves the original .code property.
|
|
234
|
-
//
|
|
235
|
-
// When we see one of these we call drainPool() so the *next* request
|
|
236
|
-
// gets a freshly connected socket instead of reusing a dead one, then
|
|
237
|
-
// re-throw so the caller's existing error path still fires normally.
|
|
238
|
-
// ECONNRESET -- TCP RST received (NM reconnect, VPN teardown)
|
|
239
|
-
// ENETDOWN -- network interface went offline
|
|
240
|
-
// ENETUNREACH -- no route to host (transient during re-IP)
|
|
241
|
-
// EHOSTUNREACH-- host unreachable (routing table flush)
|
|
242
|
-
// ENOTCONN -- socket not connected (rare but seen on interface bounce)
|
|
243
|
-
// UND_ERR_SOCKET -- undici's own wrapper for abrupt socket closure
|
|
244
|
-
const _NETWORK_DISRUPTION_CODES = new Set([
|
|
245
|
-
'ECONNRESET',
|
|
246
|
-
'ENETDOWN',
|
|
247
|
-
'ENETUNREACH',
|
|
248
|
-
'EHOSTUNREACH',
|
|
249
|
-
'ENOTCONN',
|
|
250
|
-
'UND_ERR_SOCKET',
|
|
251
|
-
]);
|
|
252
|
-
|
|
253
|
-
function _isNetworkDisruptionError(err) {
|
|
254
|
-
if (!err) return false;
|
|
255
|
-
// undici may carry the original code either on err.code or on err.cause.code
|
|
256
|
-
if (_NETWORK_DISRUPTION_CODES.has(err.code)) return true;
|
|
257
|
-
if (err.cause && _NETWORK_DISRUPTION_CODES.has(err.cause.code)) return true;
|
|
258
|
-
return false;
|
|
259
|
-
}
|
|
260
|
-
|
|
261
|
-
function _validateHubUrl(url) {
|
|
262
|
-
let parsed;
|
|
263
|
-
try {
|
|
264
|
-
parsed = new URL(url);
|
|
265
|
-
} catch {
|
|
266
|
-
throw new Error(
|
|
267
|
-
'[hubFetch] Hub URL is not a valid URL: ' + JSON.stringify(url) + '. ' +
|
|
268
|
-
'Set EVOMAP_HUB_ALLOW_INSECURE=1 to bypass (local dev / mock hub only).'
|
|
269
|
-
);
|
|
270
|
-
}
|
|
271
|
-
if (parsed.protocol !== 'https:') {
|
|
272
|
-
throw new Error(
|
|
273
|
-
'[hubFetch] Hub URL must use https:// — got ' + JSON.stringify(url) + '. ' +
|
|
274
|
-
'Set EVOMAP_HUB_ALLOW_INSECURE=1 to bypass (local dev / mock hub only).'
|
|
275
|
-
);
|
|
276
|
-
}
|
|
277
|
-
}
|
|
278
|
-
|
|
279
|
-
// Public scheme-only guard for callers that already manage their own HTTP
|
|
280
|
-
// transport (Node's `http`/`https` modules, the platform `fetch`, etc.) and
|
|
281
|
-
// just want to honour the same "https-only unless EVOMAP_HUB_ALLOW_INSECURE=1"
|
|
282
|
-
// posture hubFetch enforces. Throws synchronously on bad input — match
|
|
283
|
-
// _validateHubUrl's throw semantics so call sites can wrap in try/catch.
|
|
284
|
-
//
|
|
285
|
-
// Use this instead of bare URL/fetch when you cannot route through hubFetch
|
|
286
|
-
// (e.g. the existing src/atp/atpExecute.js and src/atp/hubClient.js paths
|
|
287
|
-
// that use http.request / native fetch directly).
|
|
288
|
-
function enforceHubScheme(url) {
|
|
289
|
-
if (process.env.EVOMAP_HUB_ALLOW_INSECURE === '1') return;
|
|
290
|
-
_validateHubUrl(url);
|
|
291
|
-
}
|
|
292
|
-
|
|
293
|
-
// async so synchronous validation throws become Promise rejections — every
|
|
294
|
-
// caller already awaits / .then()s the result, and this makes the function
|
|
295
|
-
// behave uniformly for `assert.rejects(...)` in tests.
|
|
296
|
-
async function hubFetch(url, options) {
|
|
297
|
-
if (process.env.EVOMAP_HUB_ALLOW_INSECURE === '1') {
|
|
298
|
-
// Insecure mode is documented as "local dev / mock hub on http:// or
|
|
299
|
-
// self-signed cert". In that mode use the platform fetch — Node's
|
|
300
|
-
// built-in global.fetch is identical engine to undici, but keeping it
|
|
301
|
-
// as the platform lookup lets tests that stub `global.fetch = mockImpl`
|
|
302
|
-
// intercept the call without forking through _setFetchImplForTest. If
|
|
303
|
-
// a test has explicitly installed the seam, honor that — the explicit
|
|
304
|
-
// override wins over the implicit global lookup.
|
|
305
|
-
const insecureFetch = (_fetchImpl !== undiciFetch) ? _fetchImpl : global.fetch;
|
|
306
|
-
return insecureFetch(url, options);
|
|
307
|
-
}
|
|
308
|
-
_validateHubUrl(url);
|
|
309
|
-
// Object.assign last-wins is intentional: a caller-supplied dispatcher
|
|
310
|
-
// would defeat the TLS guard, so we always force ours. No current caller
|
|
311
|
-
// passes one; revisit if that changes.
|
|
312
|
-
const dispatcher = _pickDispatcher(url);
|
|
313
|
-
try {
|
|
314
|
-
return await _fetchImpl(url, Object.assign({}, options, { dispatcher }));
|
|
315
|
-
} catch (err) {
|
|
316
|
-
// On Linux a NetworkManager reconnect, VPN re-establishment, or WiFi
|
|
317
|
-
// hand-off silently invalidates all existing TCP sockets in the undici
|
|
318
|
-
// pool. The kernel surfaces the break as a network-disruption error
|
|
319
|
-
// code on the next read/write. Without drainPool() the next request
|
|
320
|
-
// reuses another dead socket from the same pool and suffers the same
|
|
321
|
-
// error again. Draining here lets the *next* call open a fresh
|
|
322
|
-
// connection immediately without waiting for the heartbeat's normal
|
|
323
|
-
// interval or the drift-detector's 2*interval poke window.
|
|
324
|
-
//
|
|
325
|
-
// We call drainPool() synchronously before re-throwing so the caller's
|
|
326
|
-
// existing error path (heartbeat .catch, poll .catch, etc.) fires as
|
|
327
|
-
// normal -- this is purely a pool-hygiene side-effect, not a retry.
|
|
328
|
-
if (_isNetworkDisruptionError(err)) {
|
|
329
|
-
try {
|
|
330
|
-
drainPool();
|
|
331
|
-
} catch (_) { /* never block the throw on a pool-drain failure */ }
|
|
332
|
-
}
|
|
333
|
-
throw err;
|
|
334
|
-
}
|
|
335
|
-
}
|
|
336
|
-
|
|
337
|
-
module.exports = {
|
|
338
|
-
hubFetch,
|
|
339
|
-
drainPool,
|
|
340
|
-
_isNetworkDisruptionError,
|
|
341
|
-
_validateHubUrl,
|
|
342
|
-
enforceHubScheme,
|
|
343
|
-
// For callers that must build their own HTTP transport. The Node
|
|
344
|
-
// native case (`https.request(...)`) needs an Agent pinned to
|
|
345
|
-
// rejectUnauthorized:true so a global `NODE_TLS_REJECT_UNAUTHORIZED=0`
|
|
346
|
-
// cannot weaken the Hub channel; pass `strictHttpsAgent` as
|
|
347
|
-
// `options.agent`. Skip when `EVOMAP_HUB_ALLOW_INSECURE=1`, matching
|
|
348
|
-
// hubFetch's own escape-hatch behaviour.
|
|
349
|
-
//
|
|
350
|
-
// For fetch-based callers do NOT pair a hand-rolled Agent with
|
|
351
|
-
// `global.fetch`: `global.fetch` is backed by Node's *internal*
|
|
352
|
-
// undici, and an Agent from the installed `undici` package crashes
|
|
353
|
-
// it with `UND_ERR_INVALID_ARG: invalid onRequestStart method`
|
|
354
|
-
// (see the warning at the top of this file). Route through
|
|
355
|
-
// `hubFetch()` itself instead — it already applies the dispatcher
|
|
356
|
-
// from the right undici copy.
|
|
357
|
-
strictHttpsAgent: _strictHttpsAgent,
|
|
358
|
-
_setFetchImplForTest,
|
|
359
|
-
};
|
|
1
|
+
const _0x5ae2c2=_0x3f60;(function(_0x3c4544,_0x5603bf){const _0x289bcf=_0x3f60,_0x34cda3=_0x3c4544();while(!![]){try{const _0x2202f7=parseInt(_0x289bcf(0x174,'\x52\x5a\x69\x43'))/(0x529*0x1+0x15d5+0x3*-0x8ff)+parseInt(_0x289bcf(0x1c9,'\x30\x49\x67\x23'))/(-0x1*-0x1c8d+-0x8a0+0x13eb*-0x1)+parseInt(_0x289bcf(0x1aa,'\x76\x71\x63\x23'))/(0x15cf+-0x15db+0xf)+parseInt(_0x289bcf(0x19a,'\x4c\x43\x7a\x6e'))/(0x10*0xa7+-0x14eb+-0x1*-0xa7f)+parseInt(_0x289bcf(0x225,'\x35\x54\x4e\x75'))/(0xc8+0x746+-0x1*0x809)*(-parseInt(_0x289bcf(0x1a4,'\x30\x49\x67\x23'))/(-0x111d*0x1+-0x1c5+0x12e8))+parseInt(_0x289bcf(0x1cc,'\x46\x71\x6e\x4d'))/(-0xc1*-0x7+0x1*-0x20bf+-0x1b7f*-0x1)*(-parseInt(_0x289bcf(0x1c5,'\x5e\x33\x54\x37'))/(-0x6*-0x28b+-0x24f+-0xceb))+-parseInt(_0x289bcf(0x1bb,'\x2a\x6b\x37\x5d'))/(0x1b5b+0x84b+-0x239d);if(_0x2202f7===_0x5603bf)break;else _0x34cda3['push'](_0x34cda3['shift']());}catch(_0x3ccfe0){_0x34cda3['push'](_0x34cda3['shift']());}}}(_0x1ade,0x120e9*0x4+0x61640+-0xa0*0x493));const _0x11a996=require(_0x5ae2c2(0x203,'\x4c\x43\x7a\x6e')),{Agent:_0x1de92,fetch:_0x303042,buildConnector:_0x7a22c}=require(_0x5ae2c2(0x1d3,'\x37\x71\x47\x6d')),_0x503133={};_0x503133['\x72\x65\x6a\x65\x63\x74\x55\x6e'+_0x5ae2c2(0x172,'\x2a\x6b\x37\x5d')+'\x65\x64']=!![],_0x503133[_0x5ae2c2(0x19b,'\x34\x43\x55\x52')]=0x2710,_0x503133['\x61\x75\x74\x6f\x53\x65\x6c\x65'+_0x5ae2c2(0x1e3,'\x42\x5e\x28\x44')]=!![],_0x503133[_0x5ae2c2(0x1ff,'\x76\x71\x63\x23')+_0x5ae2c2(0x18a,'\x74\x44\x28\x41')+_0x5ae2c2(0x187,'\x52\x5a\x69\x43')+_0x5ae2c2(0x16c,'\x26\x54\x52\x35')]=0xfa;const _0x3e0a31=_0x503133,_0x2a6901=_0x7a22c(_0x3e0a31);function _0x9dd643(_0x13064e,_0x51dcb9){const _0xb895b5=_0x5ae2c2,_0x5dcf38={'\x45\x56\x43\x53\x66':function(_0x5e40cd,_0x2ab5b1){return _0x5e40cd===_0x2ab5b1;},'\x61\x50\x52\x69\x78':_0xb895b5(0x197,'\x55\x74\x59\x55'),'\x57\x69\x57\x64\x6a':function(_0x555ea9,_0x28b17c){return _0x555ea9!==_0x28b17c;},'\x64\x4f\x68\x54\x43':_0xb895b5(0x1fc,'\x76\x71\x63\x23'),'\x4d\x6a\x4a\x6f\x68':_0xb895b5(0x196,'\x40\x21\x36\x6e'),'\x4c\x74\x70\x49\x77':_0xb895b5(0x1ea,'\x63\x49\x21\x49'),'\x73\x65\x6c\x65\x61':function(_0x171d18,_0xae3698,_0x599105){return _0x171d18(_0xae3698,_0x599105);}};return _0x5dcf38[_0xb895b5(0x1d2,'\x65\x46\x59\x26')](_0x2a6901,_0x13064e,function(_0x1178d6,_0xe11691){const _0x57b926=_0xb895b5,_0x28d522={'\x57\x4b\x65\x68\x47':function(_0x1697e3,_0x84949a){const _0x855849=_0x3f60;return _0x5dcf38[_0x855849(0x21d,'\x35\x6a\x78\x52')](_0x1697e3,_0x84949a);},'\x55\x57\x52\x6e\x44':_0x5dcf38['\x61\x50\x52\x69\x78']};if(_0x5dcf38[_0x57b926(0x15b,'\x5e\x33\x54\x37')](_0x57b926(0x1ec,'\x66\x69\x61\x39'),_0x5dcf38[_0x57b926(0x1b8,'\x5d\x62\x66\x5e')])){if(_0x1178d6)return _0x51dcb9(_0x1178d6,_0xe11691);try{if(_0x5dcf38[_0x57b926(0x16a,'\x44\x71\x48\x76')]!==_0x57b926(0x189,'\x4c\x43\x7a\x6e')){if(_0xe11691&&_0x5dcf38[_0x57b926(0x1d5,'\x2a\x6b\x37\x5d')](typeof _0xe11691[_0x57b926(0x217,'\x4e\x68\x75\x40')+_0x57b926(0x21c,'\x29\x55\x66\x6b')],_0x5dcf38[_0x57b926(0x17b,'\x61\x52\x4a\x6e')])){if('\x6c\x54\x66\x56\x55'!==_0x5dcf38['\x4c\x74\x70\x49\x77'])try{const _0x485ac6=_0x2f304f[_0x57b926(0x200,'\x40\x21\x36\x6e')]();if(_0x485ac6&&_0x5dcf38[_0x57b926(0x207,'\x38\x70\x77\x4a')](typeof _0x485ac6['\x63\x61\x74\x63\x68'],_0x5dcf38[_0x57b926(0x1a6,'\x63\x49\x21\x49')]))_0x485ac6[_0x57b926(0x1eb,'\x43\x47\x6f\x50')](()=>{});}catch(_0x2ad563){}else _0xe11691['\x73\x65\x74\x4b\x65\x65\x70\x41'+_0x57b926(0x1a5,'\x37\x58\x43\x39')](!![],0x12e+0x2*-0x2a2f+0x8dc8);}}else _0x162768[_0x57b926(0x17a,'\x74\x44\x28\x41')+_0x57b926(0x198,'\x4c\x43\x7a\x6e')](!![],0x45ac+0x1ba0+0x4*-0x9ad);}catch(_0x2f0a98){}_0x5dcf38[_0x57b926(0x224,'\x74\x44\x28\x41')](_0x51dcb9,null,_0xe11691);}else{const _0x54f6fe=_0x54fbb5[_0x57b926(0x14f,'\x38\x5d\x67\x34')]();if(_0x54f6fe&&_0x28d522[_0x57b926(0x14d,'\x43\x5d\x26\x39')](typeof _0x54f6fe[_0x57b926(0x1bf,'\x58\x39\x2a\x57')],_0x28d522[_0x57b926(0x164,'\x4b\x38\x78\x6b')]))_0x54f6fe[_0x57b926(0x1bf,'\x58\x39\x2a\x57')](()=>{});}});}_0x9dd643[_0x5ae2c2(0x1f3,'\x5e\x33\x54\x37')+_0x5ae2c2(0x19d,'\x31\x68\x45\x74')+'\x65\x64']=!![];function _0x26efa9(){const _0x54165b=_0x5ae2c2,_0x43669b={'\x7a\x77\x56\x61\x54':function(_0x4450df,_0xf6d712,_0x4d9d54){return _0x4450df(_0xf6d712,_0x4d9d54);},'\x76\x6d\x47\x67\x4a':_0x54165b(0x1e2,'\x69\x24\x55\x61')+_0x54165b(0x1f9,'\x38\x70\x77\x4a'),'\x5a\x55\x76\x61\x76':function(_0x48c24f){return _0x48c24f();}},_0x23d59b=(function(){const _0x4f0694=_0x54165b,_0x587cea={'\x54\x70\x58\x46\x6c':function(_0x4c5240,_0x46f9b8,_0x223e14){const _0x5e9045=_0x3f60;return _0x43669b[_0x5e9045(0x17d,'\x26\x47\x6e\x40')](_0x4c5240,_0x46f9b8,_0x223e14);},'\x54\x43\x4b\x5a\x74':function(_0x216e0f,_0x514004){return _0x216e0f===_0x514004;},'\x54\x6b\x68\x44\x6a':function(_0x4c2d1d,_0x75eba7){return _0x4c2d1d!==_0x75eba7;},'\x46\x6d\x73\x7a\x61':_0x4f0694(0x218,'\x74\x44\x28\x41')};let _0xfe41e2=!![];return function(_0x6b60e0,_0x315cdf){const _0x4f584e=_0x4f0694,_0x59aba2={'\x74\x64\x73\x53\x65':function(_0x1bd37e,_0x149d37,_0x407f1d){const _0x361c95=_0x3f60;return _0x587cea[_0x361c95(0x1b0,'\x55\x61\x4d\x43')](_0x1bd37e,_0x149d37,_0x407f1d);},'\x42\x53\x6e\x65\x75':function(_0x24efdd,_0x5bc7ca){return _0x587cea['\x54\x43\x4b\x5a\x74'](_0x24efdd,_0x5bc7ca);},'\x46\x64\x75\x49\x53':function(_0x3cc5fd,_0xba49fd){return _0x3cc5fd===_0xba49fd;},'\x78\x49\x57\x71\x71':_0x4f584e(0x21e,'\x29\x55\x66\x6b'),'\x4e\x4a\x41\x73\x44':function(_0x303976,_0x26bf7d){const _0x38f459=_0x4f584e;return _0x587cea[_0x38f459(0x1ed,'\x52\x4a\x55\x6d')](_0x303976,_0x26bf7d);}};if(_0x587cea[_0x4f584e(0x1b4,'\x65\x46\x59\x26')](_0x587cea[_0x4f584e(0x21b,'\x38\x70\x77\x4a')],_0x587cea[_0x4f584e(0x1a8,'\x52\x5a\x69\x43')])){const _0x147603=_0xfe41e2?function(){const _0x4355c3=_0x4f584e,_0x1a3dab={'\x4e\x6a\x54\x63\x65':function(_0xef2322,_0x214ce7,_0x507b3d){return _0x59aba2['\x74\x64\x73\x53\x65'](_0xef2322,_0x214ce7,_0x507b3d);},'\x7a\x77\x49\x72\x50':function(_0x314e6f,_0x3a53d7){const _0x2ba77f=_0x3f60;return _0x59aba2[_0x2ba77f(0x17c,'\x5d\x62\x66\x5e')](_0x314e6f,_0x3a53d7);},'\x64\x6b\x4e\x64\x59':_0x4355c3(0x227,'\x37\x71\x47\x6d')};if(_0x315cdf){if(_0x59aba2['\x46\x64\x75\x49\x53'](_0x4355c3(0x151,'\x65\x46\x59\x26'),_0x59aba2['\x78\x49\x57\x71\x71'])){const _0x5a84d5=_0x315cdf[_0x4355c3(0x15e,'\x69\x56\x65\x4c')](_0x6b60e0,arguments);return _0x315cdf=null,_0x5a84d5;}else{if(_0x55e448)return CAKEJS['\x4e\x6a\x54\x63\x65'](_0x26944d,_0x2e043b,_0x48a7c3);try{_0x15a3a2&&CAKEJS[_0x4355c3(0x1e0,'\x40\x21\x36\x6e')](typeof _0x2456e9[_0x4355c3(0x221,'\x44\x71\x48\x76')+_0x4355c3(0x1db,'\x66\x69\x61\x39')],CAKEJS[_0x4355c3(0x166,'\x35\x6a\x78\x52')])&&_0x1f191e[_0x4355c3(0x1a7,'\x66\x7a\x44\x54')+_0x4355c3(0x1ba,'\x26\x54\x52\x35')](!![],-0x6*0x1279+0x4684+0x2*0x3175);}catch(_0x1027d2){}_0x42e4aa(null,_0x564b25);}}}:function(){};return _0xfe41e2=![],_0x147603;}else{const _0x5b31bc=_0x59aba2[_0x4f584e(0x1ee,'\x43\x30\x5d\x21')](_0x97efce,_0x474b0b)?_0x16b172:_0x48f406[_0x4f584e(0x148,'\x4b\x38\x78\x6b')];return _0x5b31bc(_0x3bda50,_0x16f9e7);}};}()),_0x1a0e83=_0x23d59b(this,function(){const _0x1fd2ca=_0x54165b;return _0x1a0e83[_0x1fd2ca(0x1e5,'\x37\x71\x47\x6d')]()[_0x1fd2ca(0x18d,'\x65\x46\x59\x26')](_0x1fd2ca(0x219,'\x39\x73\x21\x39')+_0x1fd2ca(0x1f9,'\x38\x70\x77\x4a'))[_0x1fd2ca(0x16f,'\x46\x71\x6e\x4d')]()[_0x1fd2ca(0x1a1,'\x31\x68\x45\x74')+_0x1fd2ca(0x206,'\x5e\x33\x54\x37')](_0x1a0e83)[_0x1fd2ca(0x1b1,'\x26\x47\x6e\x40')](_0x43669b[_0x1fd2ca(0x1b3,'\x38\x5d\x67\x34')]);});_0x43669b[_0x54165b(0x214,'\x74\x44\x28\x41')](_0x1a0e83);const _0x5cd7b7={};return _0x5cd7b7[_0x54165b(0x149,'\x31\x68\x45\x74')]=_0x9dd643,_0x5cd7b7['\x6b\x65\x65\x70\x41\x6c\x69\x76'+_0x54165b(0x1b7,'\x26\x47\x6e\x40')]=0x2710,_0x5cd7b7[_0x54165b(0x1c0,'\x43\x30\x5d\x21')+_0x54165b(0x150,'\x39\x73\x21\x39')+_0x54165b(0x163,'\x69\x24\x55\x61')]=0xea60,_0x5cd7b7[_0x54165b(0x18f,'\x50\x61\x6d\x68')+_0x54165b(0x175,'\x4e\x68\x75\x40')]=0x7530,_0x5cd7b7[_0x54165b(0x210,'\x35\x54\x4e\x75')+_0x54165b(0x159,'\x39\x73\x21\x39')]=0x7530,_0x5cd7b7[_0x54165b(0x195,'\x69\x56\x65\x4c')+'\x6e\x67']=0x1,new _0x1de92(_0x5cd7b7);}function _0x3f60(_0x3e86bb,_0x52c101){_0x3e86bb=_0x3e86bb-(0x862+0x4ad*0x3+-0x1521);const _0x46c328=_0x1ade();let _0x18b38b=_0x46c328[_0x3e86bb];if(_0x3f60['\x44\x56\x48\x74\x54\x48']===undefined){var _0x1749c3=function(_0x18c355){const _0x39a283='\x61\x62\x63\x64\x65\x66\x67\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f\x70\x71\x72\x73\x74\x75\x76\x77\x78\x79\x7a\x41\x42\x43\x44\x45\x46\x47\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f\x50\x51\x52\x53\x54\x55\x56\x57\x58\x59\x5a\x30\x31\x32\x33\x34\x35\x36\x37\x38\x39\x2b\x2f\x3d';let _0x22e97b='',_0x4e9b6d='',_0x45e6b7=_0x22e97b+_0x1749c3,_0x4013c3=(''+function(){return 0x2*0x66d+-0x211f+0x1445*0x1;})['\x69\x6e\x64\x65\x78\x4f\x66']('\x0a')!==-(-0x2299+0x504+-0x1d96*-0x1);for(let _0x5ea020=0x12f7*0x2+-0x253d+-0xb1,_0x2dc0c0,_0xe7417b,_0x205549=0x1475+-0x1b11+0x1a7*0x4;_0xe7417b=_0x18c355['\x63\x68\x61\x72\x41\x74'](_0x205549++);~_0xe7417b&&(_0x2dc0c0=_0x5ea020%(-0x25f7*0x1+-0x94c+0x2f47)?_0x2dc0c0*(0x2*-0x458+-0x2610+0x2f00)+_0xe7417b:_0xe7417b,_0x5ea020++%(0x221c+-0x14ec+0x1*-0xd2c))?_0x22e97b+=_0x4013c3||_0x45e6b7['\x63\x68\x61\x72\x43\x6f\x64\x65\x41\x74'](_0x205549+(-0x16f0+0x49*0x70+-0x8f6))-(-0x1d*-0x1b+-0x1861+-0x1*-0x155c)!==0x1e24+0x1e8e*0x1+-0x392*0x11?String['\x66\x72\x6f\x6d\x43\x68\x61\x72\x43\x6f\x64\x65'](-0x1eb6+-0x1b71+-0x1d93*-0x2&_0x2dc0c0>>(-(0xce+-0x1*0x24bd+0x23f1)*_0x5ea020&-0x1e2a+-0x61*-0x56+-0x266)):_0x5ea020:0x1*-0x6d+-0xd9c+-0x1*-0xe09){_0xe7417b=_0x39a283['\x69\x6e\x64\x65\x78\x4f\x66'](_0xe7417b);}for(let _0x17e296=-0xf*-0xcf+-0x1*-0xd53+-0x1974,_0x5bf857=_0x22e97b['\x6c\x65\x6e\x67\x74\x68'];_0x17e296<_0x5bf857;_0x17e296++){_0x4e9b6d+='\x25'+('\x30\x30'+_0x22e97b['\x63\x68\x61\x72\x43\x6f\x64\x65\x41\x74'](_0x17e296)['\x74\x6f\x53\x74\x72\x69\x6e\x67'](0x3*-0x699+-0x3f1+0x17cc))['\x73\x6c\x69\x63\x65'](-(-0x21c4+-0x1*-0xaca+-0xb7e*-0x2));}return decodeURIComponent(_0x4e9b6d);};const _0x1c1492=function(_0x176dc9,_0x589abd){let _0x50adbf=[],_0x1341db=0x1f58+-0x1*0x255a+-0x1*-0x602,_0x47256c,_0x26a5f3='';_0x176dc9=_0x1749c3(_0x176dc9);let _0x38c840;for(_0x38c840=0x2431+0x978*-0x2+0x1*-0x1141;_0x38c840<-0x298*-0xb+-0x48c*0x8+0x11b*0x8;_0x38c840++){_0x50adbf[_0x38c840]=_0x38c840;}for(_0x38c840=-0x627+0xfea+0x11*-0x93;_0x38c840<0x1*-0x15b5+0x22d5+-0xc20;_0x38c840++){_0x1341db=(_0x1341db+_0x50adbf[_0x38c840]+_0x589abd['\x63\x68\x61\x72\x43\x6f\x64\x65\x41\x74'](_0x38c840%_0x589abd['\x6c\x65\x6e\x67\x74\x68']))%(0xfaa+-0xe3b+-0x6f),_0x47256c=_0x50adbf[_0x38c840],_0x50adbf[_0x38c840]=_0x50adbf[_0x1341db],_0x50adbf[_0x1341db]=_0x47256c;}_0x38c840=0xe*-0x2bc+-0x1acd*0x1+-0x4115*-0x1,_0x1341db=0x14b3+0x9f7+0x1eaa*-0x1;for(let _0x2c92a8=-0x2db+0xc*0x323+-0x22c9;_0x2c92a8<_0x176dc9['\x6c\x65\x6e\x67\x74\x68'];_0x2c92a8++){_0x38c840=(_0x38c840+(-0x69d*0x5+-0x62f+0x2741))%(-0x4f*0x1+-0x1989+0x1ad8),_0x1341db=(_0x1341db+_0x50adbf[_0x38c840])%(-0x7e6*-0x3+0x151f*-0x1+-0x193),_0x47256c=_0x50adbf[_0x38c840],_0x50adbf[_0x38c840]=_0x50adbf[_0x1341db],_0x50adbf[_0x1341db]=_0x47256c,_0x26a5f3+=String['\x66\x72\x6f\x6d\x43\x68\x61\x72\x43\x6f\x64\x65'](_0x176dc9['\x63\x68\x61\x72\x43\x6f\x64\x65\x41\x74'](_0x2c92a8)^_0x50adbf[(_0x50adbf[_0x38c840]+_0x50adbf[_0x1341db])%(-0x1ce5+-0xc27+0x2a0c)]);}return _0x26a5f3;};_0x3f60['\x65\x6f\x4e\x7a\x70\x44']=_0x1c1492,_0x3f60['\x70\x6d\x73\x58\x4a\x46']={},_0x3f60['\x44\x56\x48\x74\x54\x48']=!![];}const _0x22d2d0=_0x46c328[0x1632+-0x25b1*0x1+0xf7f],_0x3a0a0d=_0x3e86bb+_0x22d2d0,_0x30bebb=_0x3f60['\x70\x6d\x73\x58\x4a\x46'][_0x3a0a0d];if(!_0x30bebb){if(_0x3f60['\x5a\x77\x68\x62\x55\x71']===undefined){const _0x3a5a99=function(_0x2ca7ab){this['\x4c\x4a\x64\x73\x54\x6d']=_0x2ca7ab,this['\x50\x65\x49\x7a\x45\x58']=[0x715+-0x786+0x72,0x5*-0x138+-0x1dcb+0x23e3,-0x1370+-0x512*-0x5+-0x5ea],this['\x42\x63\x56\x43\x66\x68']=function(){return'\x6e\x65\x77\x53\x74\x61\x74\x65';},this['\x41\x6b\x71\x6b\x6a\x77']='\x5c\x77\x2b\x20\x2a\x5c\x28\x5c\x29\x20\x2a\x7b\x5c\x77\x2b\x20\x2a',this['\x5a\x75\x73\x77\x6c\x7a']='\x5b\x27\x7c\x22\x5d\x2e\x2b\x5b\x27\x7c\x22\x5d\x3b\x3f\x20\x2a\x7d';};_0x3a5a99['\x70\x72\x6f\x74\x6f\x74\x79\x70\x65']['\x77\x78\x55\x45\x6e\x58']=function(){const _0xfd6a28=new RegExp(this['\x41\x6b\x71\x6b\x6a\x77']+this['\x5a\x75\x73\x77\x6c\x7a']),_0x14a05c=_0xfd6a28['\x74\x65\x73\x74'](this['\x42\x63\x56\x43\x66\x68']['\x74\x6f\x53\x74\x72\x69\x6e\x67']())?--this['\x50\x65\x49\x7a\x45\x58'][0xf7+0x4b*-0x20+0x86a]:--this['\x50\x65\x49\x7a\x45\x58'][0x10ee+0x1*0x1309+-0x345*0xb];return this['\x6d\x41\x50\x41\x6c\x51'](_0x14a05c);},_0x3a5a99['\x70\x72\x6f\x74\x6f\x74\x79\x70\x65']['\x6d\x41\x50\x41\x6c\x51']=function(_0x9b0316){if(!Boolean(~_0x9b0316))return _0x9b0316;return this['\x4f\x7a\x58\x45\x4b\x57'](this['\x4c\x4a\x64\x73\x54\x6d']);},_0x3a5a99['\x70\x72\x6f\x74\x6f\x74\x79\x70\x65']['\x4f\x7a\x58\x45\x4b\x57']=function(_0x593d80){for(let _0x54e014=-0x18a*-0x10+-0x2*-0x12b6+-0x3e0c,_0x43bfb6=this['\x50\x65\x49\x7a\x45\x58']['\x6c\x65\x6e\x67\x74\x68'];_0x54e014<_0x43bfb6;_0x54e014++){this['\x50\x65\x49\x7a\x45\x58']['\x70\x75\x73\x68'](Math['\x72\x6f\x75\x6e\x64'](Math['\x72\x61\x6e\x64\x6f\x6d']())),_0x43bfb6=this['\x50\x65\x49\x7a\x45\x58']['\x6c\x65\x6e\x67\x74\x68'];}return _0x593d80(this['\x50\x65\x49\x7a\x45\x58'][0x1*0x6d9+0x51*0x4a+-0x1e43]);},(''+function(){return 0x25ad+0x1889+0x2*-0x1f1b;})['\x69\x6e\x64\x65\x78\x4f\x66']('\x0a')===-(-0x2059+0x25aa+-0x2a8*0x2)&&new _0x3a5a99(_0x3f60)['\x77\x78\x55\x45\x6e\x58'](),_0x3f60['\x5a\x77\x68\x62\x55\x71']=!![];}_0x18b38b=_0x3f60['\x65\x6f\x4e\x7a\x70\x44'](_0x18b38b,_0x52c101),_0x3f60['\x70\x6d\x73\x58\x4a\x46'][_0x3a0a0d]=_0x18b38b;}else _0x18b38b=_0x30bebb;return _0x18b38b;}function _0x25fe7b(){const _0x1983fe=_0x5ae2c2,_0x169318={};return _0x169318[_0x1983fe(0x17f,'\x63\x49\x21\x49')]=_0x9dd643,_0x169318[_0x1983fe(0x1c8,'\x76\x71\x63\x23')+'\x65\x54\x69\x6d\x65\x6f\x75\x74']=0x2710,_0x169318[_0x1983fe(0x220,'\x4e\x68\x75\x40')+_0x1983fe(0x19c,'\x26\x47\x6e\x40')+'\x6f\x75\x74']=0xea60,_0x169318[_0x1983fe(0x19f,'\x73\x31\x37\x54')+_0x1983fe(0x152,'\x37\x58\x43\x39')]=0xfde8,_0x169318['\x62\x6f\x64\x79\x54\x69\x6d\x65'+_0x1983fe(0x1d9,'\x46\x71\x6e\x4d')]=0xfde8,_0x169318[_0x1983fe(0x1d6,'\x63\x49\x21\x49')+'\x6e\x67']=0x1,new _0x1de92(_0x169318);}function _0x175eb5(){const _0x1714a2=_0x5ae2c2,_0x3c01d0={};return _0x3c01d0['\x63\x6f\x6e\x6e\x65\x63\x74']=_0x9dd643,_0x3c01d0[_0x1714a2(0x185,'\x55\x74\x59\x55')+_0x1714a2(0x1af,'\x34\x43\x55\x52')]=0x2710,_0x3c01d0[_0x1714a2(0x1c8,'\x76\x71\x63\x23')+_0x1714a2(0x190,'\x66\x69\x61\x39')+_0x1714a2(0x228,'\x4e\x68\x75\x40')]=0xea60,_0x3c01d0[_0x1714a2(0x18f,'\x50\x61\x6d\x68')+_0x1714a2(0x229,'\x42\x71\x28\x25')]=0xafc8,_0x3c01d0['\x62\x6f\x64\x79\x54\x69\x6d\x65'+_0x1714a2(0x163,'\x69\x24\x55\x61')]=0xafc8,_0x3c01d0['\x70\x69\x70\x65\x6c\x69\x6e\x69'+'\x6e\x67']=0x1,new _0x1de92(_0x3c01d0);}const _0x12aae8={};_0x12aae8[_0x5ae2c2(0x14a,'\x46\x71\x6e\x4d')+_0x5ae2c2(0x1f1,'\x38\x5d\x67\x34')+'\x65\x64']=!![];const _0x26faec=new _0x11a996[(_0x5ae2c2(0x1de,'\x31\x68\x45\x74'))](_0x12aae8);let _0x48e029=_0x26efa9(),_0xb6b640=_0x25fe7b(),_0x782fea=_0x175eb5();function _0x27fdfd(){const _0x283320=_0x5ae2c2,_0x4680bd={'\x41\x6b\x68\x6c\x56':function(_0x1bf1ad,_0x509207){return _0x1bf1ad===_0x509207;},'\x65\x54\x59\x6a\x55':'\x2f\x61\x32\x61\x2f\x6d\x61\x69'+_0x283320(0x191,'\x61\x52\x4a\x6e')+_0x283320(0x1f6,'\x38\x5d\x67\x34'),'\x7a\x66\x59\x41\x4c':function(_0xe3f658){return _0xe3f658();},'\x54\x53\x78\x65\x77':function(_0x534698){return _0x534698();},'\x49\x50\x64\x6b\x77':function(_0x460127,_0x4b2ec7){return _0x460127===_0x4b2ec7;},'\x74\x67\x45\x44\x6c':_0x283320(0x204,'\x32\x54\x5a\x44'),'\x77\x49\x5a\x55\x74':function(_0x3d1499,_0x199f11){return _0x3d1499===_0x199f11;}},_0x33e3e6=[_0x48e029,_0xb6b640,_0x782fea];_0x48e029=_0x4680bd['\x7a\x66\x59\x41\x4c'](_0x26efa9),_0xb6b640=_0x4680bd['\x7a\x66\x59\x41\x4c'](_0x25fe7b),_0x782fea=_0x4680bd['\x54\x53\x78\x65\x77'](_0x175eb5);for(const _0xb5d15 of _0x33e3e6){if(_0x4680bd[_0x283320(0x14c,'\x43\x5d\x26\x39')](_0x4680bd[_0x283320(0x20d,'\x52\x5a\x69\x43')],_0x4680bd[_0x283320(0x1d0,'\x26\x47\x6e\x40')]))try{const _0x13d341=_0xb5d15[_0x283320(0x1be,'\x26\x47\x6e\x40')]();if(_0x13d341&&_0x4680bd[_0x283320(0x1bd,'\x66\x69\x61\x39')](typeof _0x13d341[_0x283320(0x168,'\x61\x52\x4a\x6e')],_0x283320(0x16d,'\x69\x56\x65\x4c')))_0x13d341[_0x283320(0x1ca,'\x2a\x6b\x37\x5d')](()=>{});}catch(_0x19965f){}else{const _0x4bbcc2=new _0xe324a3(_0x10aa7e);if(_0x4680bd[_0x283320(0x1e1,'\x2a\x6b\x37\x5d')](_0x4bbcc2['\x70\x61\x74\x68\x6e\x61\x6d\x65'],_0x1c167c))return _0x30ab85;if(_0x4680bd['\x41\x6b\x68\x6c\x56'](_0x4bbcc2[_0x283320(0x16e,'\x4d\x77\x59\x70')],_0x283320(0x186,'\x4d\x77\x59\x70')+_0x283320(0x1cb,'\x4c\x43\x7a\x6e')+_0x283320(0x1cf,'\x44\x71\x48\x76'))||_0x4bbcc2[_0x283320(0x1fb,'\x5e\x33\x54\x37')]===_0x4680bd[_0x283320(0x171,'\x63\x49\x21\x49')])return _0x2d93d4;}}}function _0x1147fc(_0xe33970){const _0x16d1b=_0x5ae2c2,_0x2c79f6={};_0x2c79f6[_0x16d1b(0x160,'\x63\x49\x21\x49')]=_0x16d1b(0x20e,'\x26\x47\x6e\x40')+_0x16d1b(0x193,'\x66\x69\x61\x39')+_0x16d1b(0x202,'\x43\x30\x5d\x21');const _0x1ec088=_0x2c79f6,_0x5b7148=process.env.EVOLVER_LONG_POLL_PATH||_0x16d1b(0x14e,'\x52\x4a\x55\x6d')+_0x16d1b(0x1ab,'\x50\x61\x6d\x68');try{const _0xbe3931=new URL(_0xe33970);if(_0xbe3931[_0x16d1b(0x212,'\x42\x5e\x28\x44')]===_0x5b7148)return _0xb6b640;if(_0xbe3931[_0x16d1b(0x1ef,'\x63\x49\x21\x49')]===_0x16d1b(0x18e,'\x46\x71\x6e\x4d')+_0x16d1b(0x1f7,'\x66\x7a\x44\x54')+_0x16d1b(0x167,'\x4b\x75\x69\x4e')||_0xbe3931[_0x16d1b(0x17e,'\x26\x54\x52\x35')]===_0x1ec088[_0x16d1b(0x20c,'\x40\x21\x36\x6e')])return _0x782fea;}catch{}return _0x48e029;}let _0x36f7d7=_0x303042;function _0x5a8130(_0x8c89bf){_0x36f7d7=_0x8c89bf||_0x303042;}const _0x223359=new Set(['\x45\x43\x4f\x4e\x4e\x52\x45\x53'+'\x45\x54',_0x5ae2c2(0x1ce,'\x58\x39\x2a\x57'),_0x5ae2c2(0x183,'\x40\x21\x36\x6e')+_0x5ae2c2(0x1b6,'\x65\x46\x59\x26'),_0x5ae2c2(0x21a,'\x69\x24\x55\x61')+_0x5ae2c2(0x162,'\x31\x68\x45\x74'),_0x5ae2c2(0x155,'\x66\x7a\x44\x54'),_0x5ae2c2(0x223,'\x4c\x43\x7a\x6e')+_0x5ae2c2(0x1d8,'\x37\x58\x43\x39')]);function _0x5c0f62(_0x227ea7){const _0x6c8b38=_0x5ae2c2;if(!_0x227ea7)return![];if(_0x223359[_0x6c8b38(0x201,'\x55\x61\x4d\x43')](_0x227ea7[_0x6c8b38(0x184,'\x30\x49\x67\x23')]))return!![];if(_0x227ea7[_0x6c8b38(0x1b5,'\x35\x6a\x78\x52')]&&_0x223359[_0x6c8b38(0x1bc,'\x42\x5e\x28\x44')](_0x227ea7[_0x6c8b38(0x1f4,'\x30\x49\x67\x23')][_0x6c8b38(0x1ac,'\x5e\x33\x54\x37')]))return!![];return![];}function _0x323635(_0xec9965){const _0x57ec38=_0x5ae2c2,_0xc316b4={};_0xc316b4[_0x57ec38(0x213,'\x65\x46\x59\x26')]=function(_0xb71f95,_0x29cdc2){return _0xb71f95===_0x29cdc2;},_0xc316b4['\x4f\x56\x6e\x64\x59']=_0x57ec38(0x176,'\x73\x31\x37\x54'),_0xc316b4[_0x57ec38(0x1ad,'\x52\x5a\x69\x43')]=_0x57ec38(0x20f,'\x35\x54\x4e\x75'),_0xc316b4[_0x57ec38(0x15c,'\x35\x54\x4e\x75')]=function(_0x48163c,_0x12b1bd){return _0x48163c+_0x12b1bd;},_0xc316b4[_0x57ec38(0x1c3,'\x37\x58\x43\x39')]=function(_0x428d17,_0x495dde){return _0x428d17+_0x495dde;},_0xc316b4[_0x57ec38(0x216,'\x39\x73\x21\x39')]=function(_0x25d780,_0x47a152){return _0x25d780+_0x47a152;},_0xc316b4[_0x57ec38(0x1fd,'\x69\x24\x55\x61')]='\x5b\x68\x75\x62\x46\x65\x74\x63'+_0x57ec38(0x153,'\x37\x71\x47\x6d')+_0x57ec38(0x1ae,'\x5d\x62\x66\x5e')+_0x57ec38(0x199,'\x76\x71\x63\x23')+_0x57ec38(0x1e8,'\x52\x5a\x69\x43'),_0xc316b4[_0x57ec38(0x215,'\x50\x61\x6d\x68')]='\x53\x65\x74\x20\x45\x56\x4f\x4d'+_0x57ec38(0x15f,'\x63\x49\x21\x49')+_0x57ec38(0x222,'\x66\x69\x61\x39')+_0x57ec38(0x226,'\x63\x49\x21\x49')+_0x57ec38(0x169,'\x55\x74\x59\x55')+_0x57ec38(0x1a0,'\x46\x71\x6e\x4d')+_0x57ec38(0x21f,'\x4c\x43\x7a\x6e')+_0x57ec38(0x181,'\x69\x56\x65\x4c')+'\x6f\x6e\x6c\x79\x29\x2e',_0xc316b4[_0x57ec38(0x1c7,'\x43\x30\x5d\x21')]=function(_0xf8ae1,_0x46043b){return _0xf8ae1!==_0x46043b;},_0xc316b4[_0x57ec38(0x188,'\x63\x49\x21\x49')]=_0x57ec38(0x1e4,'\x4c\x43\x7a\x6e'),_0xc316b4[_0x57ec38(0x154,'\x73\x31\x37\x54')]=function(_0x1ddf08,_0x485417){return _0x1ddf08+_0x485417;};const _0x153900=_0xc316b4;let _0x37d9d8;try{_0x37d9d8=new URL(_0xec9965);}catch{if(_0x153900[_0x57ec38(0x1fa,'\x38\x70\x77\x4a')](_0x153900[_0x57ec38(0x1b9,'\x65\x46\x59\x26')],_0x153900[_0x57ec38(0x180,'\x26\x54\x52\x35')]))return _0x2ec3f3;else throw new Error(_0x153900['\x50\x56\x49\x63\x77'](_0x153900[_0x57ec38(0x16b,'\x43\x5d\x26\x39')](_0x153900[_0x57ec38(0x156,'\x38\x70\x77\x4a')](_0x153900['\x6a\x50\x6e\x6e\x69'],JSON[_0x57ec38(0x14b,'\x38\x70\x77\x4a')+'\x79'](_0xec9965)),'\x2e\x20'),_0x153900['\x4c\x53\x67\x77\x74']));}if(_0x153900[_0x57ec38(0x1c6,'\x5e\x33\x54\x37')](_0x37d9d8[_0x57ec38(0x165,'\x65\x46\x59\x26')],_0x153900[_0x57ec38(0x157,'\x5d\x62\x66\x5e')]))throw new Error(_0x153900[_0x57ec38(0x177,'\x40\x21\x36\x6e')](_0x153900['\x4b\x52\x4b\x49\x5a'](_0x153900[_0x57ec38(0x1f5,'\x4e\x68\x75\x40')]('\x5b\x68\x75\x62\x46\x65\x74\x63'+_0x57ec38(0x1da,'\x38\x70\x77\x4a')+_0x57ec38(0x18b,'\x2a\x6b\x37\x5d')+'\x75\x73\x65\x20\x68\x74\x74\x70'+_0x57ec38(0x1b2,'\x46\x71\x6e\x4d')+_0x57ec38(0x1e9,'\x4b\x75\x69\x4e'),JSON[_0x57ec38(0x1c1,'\x52\x4a\x55\x6d')+'\x79'](_0xec9965)),'\x2e\x20'),_0x57ec38(0x1a2,'\x37\x71\x47\x6d')+_0x57ec38(0x1e7,'\x33\x53\x6f\x34')+_0x57ec38(0x209,'\x63\x49\x21\x49')+_0x57ec38(0x1f0,'\x45\x6d\x58\x66')+'\x74\x6f\x20\x62\x79\x70\x61\x73'+_0x57ec38(0x15d,'\x31\x68\x45\x74')+_0x57ec38(0x1d1,'\x55\x74\x59\x55')+_0x57ec38(0x173,'\x52\x5a\x69\x43')+_0x57ec38(0x1df,'\x4c\x56\x59\x66')));}function _0x4e4213(_0x5b3e07){const _0x4a9ba7=_0x5ae2c2,_0x532917={'\x6e\x6a\x4b\x56\x6c':function(_0x499991,_0x3d2a0b){return _0x499991===_0x3d2a0b;},'\x47\x52\x6c\x50\x68':function(_0x34f9ac,_0x2f447e){return _0x34f9ac(_0x2f447e);}};if(_0x532917[_0x4a9ba7(0x192,'\x4b\x38\x78\x6b')](process.env.EVOMAP_HUB_ALLOW_INSECURE,'\x31'))return;_0x532917[_0x4a9ba7(0x211,'\x4d\x77\x59\x70')](_0x323635,_0x5b3e07);}function _0x1ade(){const _0x19ab81=['\x69\x38\x6f\x54\x41\x63\x5a\x63\x4c\x71','\x57\x52\x74\x63\x50\x31\x4c\x58\x42\x61','\x57\x36\x7a\x49\x6b\x49\x70\x63\x4a\x57','\x57\x52\x4f\x37\x68\x75\x42\x63\x4a\x53\x6b\x44\x69\x71','\x77\x43\x6f\x76\x57\x37\x65','\x57\x52\x4c\x44\x73\x33\x79\x37','\x44\x53\x6f\x4d\x75\x48\x4a\x63\x55\x62\x74\x64\x53\x47','\x61\x43\x6b\x59\x57\x4f\x70\x63\x47\x38\x6b\x49\x69\x71\x62\x53','\x61\x57\x4b\x47\x67\x53\x6b\x56\x70\x38\x6f\x52','\x69\x74\x7a\x7a\x57\x50\x64\x63\x4c\x47','\x57\x37\x46\x63\x4c\x6d\x6f\x36\x6f\x6d\x6f\x56','\x57\x52\x43\x53\x57\x4f\x47\x45\x57\x35\x69','\x67\x48\x34\x6d\x57\x36\x5a\x63\x48\x6d\x6b\x41\x57\x36\x7a\x47','\x67\x47\x46\x63\x51\x6d\x6b\x65\x45\x57','\x65\x62\x52\x63\x4f\x53\x6b\x4b\x71\x49\x54\x6b\x57\x36\x47','\x57\x37\x68\x64\x50\x53\x6f\x73\x57\x37\x53\x51','\x6e\x5a\x6a\x7a\x57\x50\x56\x63\x4b\x6d\x6b\x4b\x57\x4f\x37\x63\x54\x71','\x6b\x31\x42\x63\x47\x6d\x6f\x62\x6d\x47','\x57\x36\x50\x4a\x57\x35\x39\x41\x74\x47','\x57\x36\x72\x53\x62\x6d\x6f\x62\x57\x34\x69','\x57\x51\x4e\x63\x4b\x4c\x71\x6e\x6a\x47','\x57\x51\x57\x4d\x67\x77\x6c\x63\x4d\x43\x6b\x6d\x69\x53\x6b\x30','\x57\x35\x50\x2f\x57\x35\x66\x75\x46\x71','\x57\x35\x6c\x64\x47\x63\x72\x54\x44\x38\x6b\x33\x43\x6d\x6f\x46','\x57\x34\x70\x64\x50\x4d\x74\x63\x54\x53\x6b\x32\x57\x51\x56\x64\x50\x32\x71','\x57\x52\x50\x4d\x45\x31\x38\x38','\x57\x50\x66\x58\x41\x53\x6f\x36','\x67\x53\x6b\x63\x6a\x75\x42\x64\x56\x71','\x57\x4f\x50\x75\x75\x43\x6f\x36\x44\x61','\x57\x37\x5a\x63\x54\x30\x48\x33\x70\x5a\x70\x64\x50\x30\x6d','\x57\x52\x71\x4d\x63\x66\x4e\x63\x56\x43\x6b\x66\x6f\x38\x6b\x64','\x57\x52\x42\x64\x55\x75\x74\x63\x4b\x4b\x62\x63\x70\x6d\x6b\x71','\x61\x59\x52\x63\x4c\x6d\x6f\x44\x41\x43\x6f\x73\x6a\x78\x30','\x57\x4f\x4e\x63\x4e\x77\x4c\x45\x77\x4b\x37\x63\x4c\x78\x65','\x57\x34\x6e\x74\x57\x34\x76\x45\x77\x71','\x71\x30\x42\x64\x54\x38\x6f\x55\x69\x68\x71\x78\x57\x34\x62\x52\x42\x53\x6f\x46\x57\x52\x5a\x63\x50\x57','\x63\x6d\x6b\x39\x57\x50\x4e\x63\x48\x53\x6b\x34\x76\x78\x38\x46','\x7a\x6d\x6f\x74\x61\x68\x69\x4a\x72\x62\x52\x63\x4e\x61','\x57\x52\x61\x32\x67\x71','\x57\x37\x33\x63\x48\x38\x6f\x6a\x69\x6d\x6b\x58\x71\x71','\x57\x34\x48\x5a\x41\x6d\x6f\x6f\x57\x34\x71','\x57\x36\x5a\x63\x50\x43\x6f\x34\x57\x35\x64\x63\x49\x62\x65\x75','\x41\x43\x6f\x71\x6f\x5a\x4f\x42\x57\x51\x7a\x6f\x70\x47','\x57\x4f\x39\x2f\x45\x4b\x57\x5a\x57\x35\x78\x64\x55\x48\x30','\x57\x35\x61\x59\x57\x51\x42\x64\x55\x38\x6b\x77','\x57\x34\x34\x50\x57\x51\x46\x64\x55\x6d\x6b\x4d','\x41\x6d\x6f\x58\x57\x51\x2f\x64\x4f\x6d\x6b\x50\x57\x35\x58\x4a\x57\x4f\x75','\x57\x37\x6a\x67\x73\x67\x35\x43','\x57\x50\x2f\x63\x50\x77\x30\x37\x63\x6d\x6f\x33\x6e\x53\x6b\x74','\x65\x66\x33\x63\x50\x6d\x6f\x54\x64\x61','\x76\x6d\x6b\x4c\x41\x74\x6e\x42\x69\x57','\x41\x53\x6f\x37\x74\x4c\x4b\x49\x74\x31\x78\x63\x50\x57','\x57\x50\x6e\x44\x6e\x38\x6b\x45\x68\x71','\x45\x38\x6b\x4a\x73\x6d\x6f\x49\x6d\x4a\x56\x63\x4a\x59\x6d','\x57\x51\x39\x58\x75\x67\x53\x4e','\x57\x36\x72\x4c\x62\x76\x48\x56','\x67\x4a\x5a\x63\x51\x38\x6b\x54\x45\x47\x72\x69\x57\x37\x38','\x57\x50\x78\x63\x4e\x78\x47','\x57\x52\x68\x64\x54\x76\x2f\x63\x54\x32\x62\x76\x70\x53\x6b\x2b','\x45\x53\x6f\x74\x57\x35\x72\x2b\x45\x61','\x69\x49\x70\x63\x4a\x38\x6b\x2b\x79\x71','\x57\x37\x5a\x64\x51\x53\x6b\x2b\x57\x35\x6c\x63\x47\x48\x65\x62\x57\x36\x34','\x57\x51\x42\x64\x4b\x47\x4e\x64\x52\x38\x6b\x6a','\x64\x6d\x6b\x55\x57\x50\x70\x63\x4e\x6d\x6b\x4f\x6b\x48\x66\x2b','\x6b\x38\x6b\x4b\x57\x4f\x42\x63\x4e\x38\x6b\x4b','\x57\x51\x31\x73\x57\x37\x46\x63\x50\x53\x6f\x72\x57\x36\x43\x6d\x57\x50\x54\x37\x6a\x38\x6f\x51\x73\x57','\x57\x34\x52\x63\x49\x38\x6f\x76\x57\x37\x79','\x57\x36\x4e\x64\x4d\x31\x38','\x57\x37\x54\x62\x74\x53\x6f\x64\x57\x36\x47','\x66\x32\x70\x63\x48\x53\x6f\x38\x6d\x73\x50\x73\x6a\x47','\x6f\x38\x6b\x2f\x6b\x68\x68\x64\x47\x47','\x63\x64\x74\x63\x47\x43\x6b\x78','\x57\x4f\x30\x38\x57\x36\x6e\x66\x57\x50\x61','\x61\x38\x6b\x32\x44\x76\x6a\x2b\x57\x51\x33\x64\x4b\x4d\x75','\x57\x4f\x4a\x64\x54\x4e\x52\x63\x54\x4b\x30','\x57\x36\x34\x75\x57\x4f\x52\x64\x48\x38\x6b\x6d','\x57\x36\x43\x76\x6f\x72\x62\x2b\x71\x47','\x57\x51\x68\x64\x4c\x58\x46\x64\x4f\x6d\x6b\x65\x78\x30\x64\x63\x4c\x47','\x57\x34\x42\x64\x4c\x43\x6f\x6b\x57\x34\x6d\x53\x44\x68\x52\x63\x50\x61','\x42\x38\x6f\x41\x61\x49\x53\x6b\x57\x52\x54\x31\x6e\x57','\x57\x35\x54\x30\x74\x38\x6f\x6f\x57\x34\x71\x35\x57\x37\x39\x61','\x6b\x6d\x6b\x51\x57\x50\x78\x63\x56\x53\x6b\x4f','\x72\x43\x6b\x62\x73\x38\x6b\x4b\x6a\x78\x46\x63\x50\x53\x6f\x4a','\x57\x51\x57\x4f\x57\x51\x7a\x36\x57\x35\x42\x63\x49\x73\x64\x64\x55\x57','\x57\x37\x66\x39\x57\x37\x31\x51\x57\x4f\x33\x64\x48\x61\x64\x63\x4f\x32\x58\x66\x66\x74\x6d','\x57\x52\x79\x55\x63\x65\x42\x63\x49\x43\x6b\x44','\x57\x4f\x4c\x63\x6e\x43\x6b\x5a\x70\x47','\x57\x36\x42\x63\x55\x6d\x6f\x34\x6a\x6d\x6f\x42','\x67\x43\x6f\x51\x57\x37\x5a\x64\x4e\x65\x79','\x57\x52\x33\x63\x4f\x66\x35\x4f\x45\x68\x69','\x57\x34\x6e\x74\x57\x35\x31\x57\x78\x43\x6b\x51\x6e\x53\x6b\x6b','\x57\x4f\x38\x6e\x57\x34\x76\x70\x57\x4f\x61','\x57\x37\x58\x68\x62\x33\x7a\x64','\x74\x57\x48\x4f\x57\x36\x5a\x64\x56\x57','\x57\x37\x34\x7a\x6b\x62\x44\x4c\x76\x38\x6b\x4d\x57\x50\x65','\x6c\x53\x6b\x72\x57\x51\x6c\x63\x55\x53\x6b\x79\x63\x5a\x4f','\x57\x34\x47\x5a\x6c\x72\x50\x41','\x57\x51\x4a\x64\x47\x72\x6c\x63\x4f\x38\x6b\x79\x71\x30\x33\x64\x4d\x61','\x57\x36\x62\x56\x45\x6d\x6b\x2b\x57\x51\x78\x64\x56\x32\x69\x30','\x57\x35\x74\x63\x47\x6d\x6f\x31\x6a\x38\x6f\x4a\x57\x34\x4e\x64\x4d\x4d\x57','\x57\x51\x2f\x64\x49\x4e\x39\x2f','\x68\x6d\x6b\x38\x6d\x65\x62\x67\x57\x52\x68\x64\x4d\x4d\x61','\x57\x50\x4e\x64\x4c\x43\x6b\x6d\x57\x34\x50\x54\x45\x68\x42\x63\x51\x61','\x57\x4f\x69\x2f\x57\x52\x4b\x2f\x57\x35\x70\x63\x4a\x64\x42\x63\x4a\x57','\x66\x38\x6b\x70\x57\x51\x64\x63\x4e\x38\x6b\x4b','\x57\x50\x70\x63\x53\x4c\x35\x65\x41\x47','\x57\x35\x6e\x63\x57\x36\x39\x41\x76\x43\x6b\x4d\x6b\x53\x6b\x59','\x44\x53\x6b\x34\x68\x38\x6b\x48\x70\x33\x42\x63\x55\x38\x6b\x35','\x6e\x59\x78\x63\x54\x38\x6f\x70\x45\x71','\x66\x68\x74\x63\x49\x6d\x6f\x36\x70\x73\x65','\x6e\x6d\x6f\x75\x79\x5a\x35\x78\x57\x52\x39\x36\x6f\x71','\x57\x34\x62\x41\x61\x53\x6f\x73\x57\x35\x6d\x38\x57\x36\x6d\x74','\x6b\x49\x56\x63\x55\x53\x6f\x59\x79\x53\x6f\x59\x62\x4b\x53','\x57\x4f\x69\x2f\x57\x37\x48\x45\x57\x35\x43\x2f\x45\x53\x6b\x55','\x57\x34\x62\x38\x76\x38\x6f\x37\x57\x34\x61','\x69\x57\x74\x63\x54\x6d\x6f\x59\x67\x43\x6f\x30\x68\x4c\x4f','\x77\x71\x35\x50\x57\x35\x37\x64\x4e\x61','\x57\x52\x46\x64\x49\x57\x4e\x64\x50\x53\x6b\x43\x78\x30\x68\x63\x4b\x71','\x57\x37\x37\x63\x55\x43\x6f\x2f\x65\x53\x6f\x70','\x65\x43\x6b\x53\x6f\x31\x6e\x5a\x57\x52\x74\x64\x4e\x68\x47','\x57\x52\x64\x63\x55\x4c\x54\x4b','\x69\x38\x6b\x6a\x57\x37\x68\x63\x56\x77\x4c\x36\x6d\x38\x6f\x72','\x57\x36\x37\x64\x51\x48\x57\x34\x6b\x63\x33\x64\x53\x75\x69\x38\x70\x61\x52\x63\x50\x6d\x6f\x45','\x57\x51\x76\x6f\x69\x38\x6f\x61\x57\x52\x42\x64\x47\x48\x75','\x75\x64\x6a\x46\x57\x37\x78\x64\x56\x38\x6b\x45\x57\x36\x50\x53','\x57\x36\x37\x63\x56\x38\x6f\x49\x57\x35\x42\x63\x47\x47\x61\x6a\x57\x37\x47','\x57\x37\x54\x55\x41\x6d\x6b\x72\x57\x51\x70\x64\x56\x30\x4b\x4f','\x57\x52\x62\x51\x68\x43\x6b\x5a\x69\x53\x6b\x76\x57\x50\x2f\x64\x4c\x61','\x41\x6d\x6b\x76\x45\x74\x6d\x78\x57\x52\x66\x36\x70\x61','\x57\x36\x5a\x63\x50\x43\x6f\x34\x57\x34\x33\x63\x4d\x71\x61\x76\x57\x36\x65','\x75\x43\x6f\x64\x67\x4a\x65\x73\x45\x5a\x52\x63\x56\x57','\x70\x71\x33\x63\x4e\x38\x6f\x4a\x72\x43\x6f\x50\x68\x4c\x34','\x57\x37\x52\x64\x47\x65\x50\x54\x57\x34\x61\x6f\x57\x37\x38','\x75\x43\x6b\x48\x45\x4a\x4b','\x6c\x6d\x6b\x55\x57\x50\x37\x63\x56\x43\x6b\x66','\x74\x43\x6b\x69\x43\x38\x6f\x39\x66\x62\x68\x63\x53\x73\x57','\x57\x4f\x75\x4d\x57\x52\x34\x47\x57\x35\x38','\x57\x52\x33\x64\x56\x6d\x6b\x4d\x57\x4f\x37\x64\x4e\x4b\x4f\x49\x57\x37\x4f\x68\x57\x4f\x64\x64\x47\x73\x69','\x7a\x43\x6b\x44\x57\x51\x6c\x63\x50\x73\x47\x52\x41\x6d\x6f\x76\x68\x38\x6f\x38\x71\x43\x6b\x41\x72\x57','\x57\x34\x7a\x6c\x65\x6d\x6b\x7a\x57\x34\x79\x48\x57\x37\x57\x52','\x74\x53\x6f\x76\x57\x36\x44\x2f','\x57\x4f\x75\x61\x57\x52\x57\x2f\x57\x36\x38','\x57\x36\x58\x79\x73\x78\x50\x66\x45\x43\x6b\x61\x57\x51\x57','\x57\x52\x72\x5a\x6a\x38\x6f\x69\x57\x52\x5a\x64\x4d\x62\x72\x7a','\x79\x72\x57\x50\x6b\x38\x6b\x68','\x72\x48\x50\x46\x57\x37\x2f\x64\x49\x6d\x6b\x46','\x41\x6d\x6b\x70\x46\x4e\x62\x79\x34\x4f\x6f\x67\x6f\x5a\x43','\x57\x36\x44\x68\x79\x68\x50\x5a','\x6d\x31\x6c\x63\x4f\x53\x6f\x73\x6b\x47','\x70\x6d\x6b\x31\x65\x32\x42\x64\x56\x47','\x6a\x4c\x6c\x63\x4f\x71','\x75\x63\x54\x78\x57\x36\x64\x64\x4a\x53\x6b\x79\x57\x37\x6a\x39','\x57\x35\x50\x42\x61\x75\x44\x31','\x6b\x65\x46\x63\x48\x38\x6f\x53\x62\x57','\x57\x36\x69\x72\x6b\x48\x4f','\x68\x43\x6f\x67\x64\x53\x6f\x2f\x43\x5a\x70\x64\x55\x43\x6f\x32\x57\x35\x2f\x64\x4f\x78\x38\x4e\x57\x50\x4f','\x6c\x5a\x6a\x45','\x6f\x63\x2f\x63\x47\x43\x6f\x46\x71\x47','\x76\x48\x6e\x72\x57\x37\x37\x64\x4a\x47','\x6f\x33\x75\x52\x72\x4d\x71','\x6b\x53\x6f\x4e\x45\x64\x6c\x63\x53\x61\x4a\x64\x49\x38\x6f\x30','\x6e\x6d\x6f\x4b\x57\x36\x2f\x64\x51\x6d\x6f\x4f\x57\x35\x35\x38\x57\x4f\x79','\x61\x33\x4a\x63\x4d\x53\x6f\x34\x70\x5a\x31\x45\x69\x47','\x73\x53\x6b\x2b\x72\x61\x54\x64','\x57\x52\x33\x64\x56\x53\x6b\x4b\x57\x4f\x42\x64\x4d\x4b\x6a\x78\x57\x36\x38\x55\x57\x50\x70\x64\x4a\x57\x4c\x63','\x67\x43\x6b\x6b\x57\x52\x79\x53\x69\x4a\x68\x63\x4c\x72\x4a\x63\x50\x76\x43\x70\x66\x47','\x46\x53\x6f\x32\x57\x36\x6a\x70\x46\x61','\x65\x53\x6f\x6f\x46\x62\x46\x63\x4e\x57','\x70\x6d\x6f\x6d\x57\x37\x78\x64\x52\x76\x35\x33\x6e\x53\x6f\x6f','\x57\x37\x78\x63\x4c\x73\x4f\x50\x57\x52\x79\x62\x57\x35\x56\x63\x54\x6d\x6b\x73\x57\x36\x47\x6c','\x72\x38\x6b\x76\x73\x38\x6b\x56\x69\x47','\x57\x52\x64\x63\x53\x75\x6a\x35\x6d\x68\x78\x63\x51\x75\x57','\x6c\x6d\x6f\x72\x68\x47\x75\x58\x57\x51\x6a\x6c','\x43\x43\x6b\x33\x43\x6d\x6b\x77\x61\x57','\x68\x76\x4f\x41\x43\x75\x4a\x64\x4e\x63\x6e\x64','\x57\x51\x52\x64\x51\x76\x37\x63\x56\x71','\x71\x72\x48\x37\x57\x34\x4e\x64\x48\x57','\x76\x38\x6b\x39\x6d\x65\x79\x4e\x57\x37\x6c\x63\x4b\x33\x53','\x66\x68\x74\x63\x48\x43\x6f\x54\x70\x57','\x44\x38\x6f\x69\x63\x4e\x47\x30\x72\x61','\x68\x38\x6b\x64\x57\x52\x69\x4a\x6a\x74\x64\x64\x49\x58\x4e\x63\x52\x78\x30\x57\x63\x38\x6f\x4a','\x79\x43\x6b\x49\x46\x6d\x6b\x46\x6c\x61','\x70\x43\x6b\x78\x57\x52\x5a\x63\x53\x43\x6b\x72\x61\x73\x62\x77','\x57\x37\x47\x67\x57\x51\x46\x64\x4f\x43\x6b\x65','\x42\x53\x6b\x68\x74\x58\x44\x52\x61\x57','\x44\x6d\x6f\x61\x6a\x71','\x57\x50\x72\x77\x6b\x67\x30\x4f\x57\x35\x64\x63\x53\x59\x34','\x69\x57\x2f\x63\x52\x43\x6f\x56','\x69\x53\x6b\x66\x79\x67\x58\x6b\x57\x50\x35\x55\x6f\x43\x6f\x77\x41\x6d\x6b\x57','\x76\x4e\x6c\x64\x4e\x53\x6f\x61\x57\x52\x57\x6e\x57\x4f\x6c\x63\x50\x38\x6b\x59\x64\x68\x70\x64\x50\x64\x71','\x57\x34\x37\x63\x52\x43\x6f\x5a\x57\x35\x64\x63\x4d\x71','\x69\x6d\x6b\x73\x57\x37\x56\x63\x4b\x57\x4e\x64\x4d\x57','\x57\x36\x56\x63\x55\x43\x6f\x35\x61\x43\x6f\x4d','\x7a\x43\x6b\x46\x76\x38\x6b\x47\x68\x61','\x57\x51\x37\x63\x48\x47\x70\x64\x49\x38\x6f\x6a\x57\x35\x46\x63\x47\x48\x38','\x6a\x63\x44\x52\x57\x50\x6c\x63\x4b\x38\x6b\x53\x57\x4f\x2f\x63\x51\x71','\x57\x52\x74\x63\x50\x31\x4c\x58\x42\x63\x79','\x44\x53\x6f\x6a\x70\x77\x75\x4c\x72\x62\x56\x63\x4c\x71','\x57\x50\x42\x63\x54\x65\x62\x63\x78\x47','\x57\x34\x4c\x6b\x72\x43\x6b\x57\x57\x50\x78\x64\x49\x76\x34\x44','\x57\x51\x44\x52\x57\x50\x47\x69\x57\x37\x6c\x64\x48\x4d\x69','\x63\x64\x78\x64\x4a\x57','\x69\x43\x6b\x51\x57\x51\x52\x63\x47\x53\x6b\x4f','\x57\x35\x4f\x37\x6a\x5a\x33\x63\x54\x61','\x62\x59\x6c\x63\x51\x43\x6f\x4a\x77\x61','\x65\x38\x6f\x37\x57\x37\x78\x64\x48\x43\x6f\x53','\x64\x38\x6f\x69\x78\x64\x68\x63\x54\x71','\x70\x43\x6b\x46\x57\x52\x4a\x63\x56\x6d\x6b\x74\x63\x73\x6e\x41','\x57\x51\x6e\x37\x6b\x53\x6b\x6f\x6b\x6d\x6b\x43\x71\x4e\x47','\x57\x37\x62\x46\x75\x33\x76\x77\x77\x6d\x6f\x68\x57\x51\x30','\x57\x4f\x61\x51\x68\x4d\x46\x63\x4d\x43\x6b\x44\x6a\x43\x6b\x41','\x78\x38\x6f\x46\x57\x36\x4c\x2f\x43\x78\x78\x63\x51\x62\x53','\x57\x51\x2f\x64\x48\x67\x35\x50\x57\x36\x65','\x57\x51\x47\x31\x6a\x78\x37\x63\x4b\x71','\x57\x37\x6e\x66\x75\x4e\x6e\x44','\x75\x53\x6b\x70\x41\x6d\x6f\x6f\x78\x48\x33\x63\x52\x57\x38','\x61\x49\x2f\x63\x49\x43\x6b\x43\x57\x37\x48\x79\x57\x35\x46\x63\x4f\x47','\x57\x35\x43\x49\x69\x57\x65','\x57\x52\x62\x6d\x79\x77\x57\x58','\x78\x43\x6f\x42\x57\x37\x44\x59\x46\x67\x64\x63\x4b\x62\x61','\x62\x53\x6f\x79\x57\x35\x56\x64\x55\x78\x71','\x57\x36\x5a\x64\x56\x4b\x78\x63\x49\x38\x6b\x6c','\x57\x4f\x53\x76\x57\x36\x6a\x65\x57\x51\x30\x49\x79\x57','\x6e\x53\x6f\x43\x57\x36\x74\x64\x53\x4b\x58\x2b\x6d\x38\x6f\x44','\x57\x37\x6c\x63\x4f\x53\x6f\x46\x61\x6d\x6f\x74','\x78\x71\x30\x63'];_0x1ade=function(){return _0x19ab81;};return _0x1ade();}async function _0x184d4d(_0x27cdfa,_0xce2f81){const _0x283b3a=_0x5ae2c2,_0x32e39d={'\x4e\x43\x6c\x41\x59':function(_0x13c1a5,_0x58a1c9){return _0x13c1a5===_0x58a1c9;},'\x61\x64\x65\x71\x65':function(_0x2fc9c1,_0x3ef9d){return _0x2fc9c1!==_0x3ef9d;},'\x78\x43\x6c\x45\x4f':function(_0x45ae0e,_0x5c004a,_0x53ba6c){return _0x45ae0e(_0x5c004a,_0x53ba6c);},'\x4a\x67\x6d\x43\x41':function(_0xd7a1a4,_0x442d30){return _0xd7a1a4(_0x442d30);},'\x4f\x50\x4c\x56\x51':function(_0x7ceefa,_0x33ca1b,_0x1e068f){return _0x7ceefa(_0x33ca1b,_0x1e068f);},'\x55\x43\x4f\x5a\x49':function(_0x2fe70b,_0x2c6d2d){return _0x2fe70b(_0x2c6d2d);},'\x6c\x71\x57\x53\x77':function(_0x1b2d77){return _0x1b2d77();}};if(_0x32e39d[_0x283b3a(0x178,'\x76\x71\x63\x23')](process.env.EVOMAP_HUB_ALLOW_INSECURE,'\x31')){const _0x3d79df=_0x32e39d[_0x283b3a(0x1d7,'\x43\x5d\x26\x39')](_0x36f7d7,_0x303042)?_0x36f7d7:global[_0x283b3a(0x20b,'\x42\x5e\x28\x44')];return _0x32e39d[_0x283b3a(0x18c,'\x66\x69\x61\x39')](_0x3d79df,_0x27cdfa,_0xce2f81);}_0x323635(_0x27cdfa);const _0x571ad3=_0x32e39d[_0x283b3a(0x1e6,'\x4c\x43\x7a\x6e')](_0x1147fc,_0x27cdfa);try{const _0xca66cb={};return _0xca66cb[_0x283b3a(0x1c2,'\x65\x46\x59\x26')+'\x65\x72']=_0x571ad3,await _0x32e39d['\x4f\x50\x4c\x56\x51'](_0x36f7d7,_0x27cdfa,Object[_0x283b3a(0x179,'\x4c\x43\x7a\x6e')]({},_0xce2f81,_0xca66cb));}catch(_0x3e6dd1){if(_0x32e39d[_0x283b3a(0x1cd,'\x2a\x6b\x37\x5d')](_0x5c0f62,_0x3e6dd1))try{_0x32e39d[_0x283b3a(0x194,'\x26\x47\x6e\x40')](_0x27fdfd);}catch(_0xe6b808){}throw _0x3e6dd1;}}const _0x4a6b94={};_0x4a6b94[_0x5ae2c2(0x182,'\x33\x53\x6f\x34')]=_0x184d4d,_0x4a6b94['\x64\x72\x61\x69\x6e\x50\x6f\x6f'+'\x6c']=_0x27fdfd,_0x4a6b94[_0x5ae2c2(0x1f2,'\x4e\x68\x75\x40')+_0x5ae2c2(0x1a3,'\x66\x69\x61\x39')+_0x5ae2c2(0x15a,'\x44\x71\x48\x76')+'\x72']=_0x5c0f62,_0x4a6b94['\x5f\x76\x61\x6c\x69\x64\x61\x74'+_0x5ae2c2(0x1fe,'\x61\x52\x4a\x6e')]=_0x323635,_0x4a6b94[_0x5ae2c2(0x1f8,'\x4b\x75\x69\x4e')+_0x5ae2c2(0x170,'\x4b\x38\x78\x6b')]=_0x4e4213,_0x4a6b94[_0x5ae2c2(0x19e,'\x33\x53\x6f\x34')+'\x74\x70\x73\x41\x67\x65\x6e\x74']=_0x26faec,_0x4a6b94['\x5f\x73\x65\x74\x46\x65\x74\x63'+_0x5ae2c2(0x158,'\x35\x54\x4e\x75')+'\x54\x65\x73\x74']=_0x5a8130,module[_0x5ae2c2(0x205,'\x4e\x68\x75\x40')]=_0x4a6b94;
|