@evomap/evolver-proxy 2.0.38 → 2.0.40

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.
@@ -0,0 +1,18 @@
1
+ export type DiscoveryFailureCode = 'hub_timeout' | 'hub_unavailable' | 'hub_rate_limited' | 'permission_denied' | 'invalid_response';
2
+ export interface DiscoveryFailureBody {
3
+ error: DiscoveryFailureCode;
4
+ code: DiscoveryFailureCode;
5
+ retryable: boolean;
6
+ retryAfterMs?: number;
7
+ timeoutMs?: number;
8
+ operation?: string;
9
+ }
10
+ export interface DiscoveryFailure {
11
+ status: number;
12
+ body: DiscoveryFailureBody;
13
+ }
14
+ /**
15
+ * Maps only known upstream failures from read-only discovery calls. Unknown errors
16
+ * deliberately continue to the IPC server's existing invalid-request behavior.
17
+ */
18
+ export declare function classifyDiscoveryUpstreamError(error: unknown): DiscoveryFailure | undefined;
@@ -0,0 +1,80 @@
1
+ import { AuthError, HubClientError, HubUnreachableError } from '@evomap/evolver-adapter-public';
2
+ /**
3
+ * Maps only known upstream failures from read-only discovery calls. Unknown errors
4
+ * deliberately continue to the IPC server's existing invalid-request behavior.
5
+ */
6
+ export function classifyDiscoveryUpstreamError(error) {
7
+ if (error instanceof AuthError && (error.status === 401 || error.status === 403)) {
8
+ return failure(error.status, 'permission_denied', false);
9
+ }
10
+ if (isDiscoverySearchDegradedError(error)) {
11
+ return failure(503, 'hub_unavailable', true);
12
+ }
13
+ if (isInvalidDiscoveryResponseError(error)) {
14
+ return failure(502, 'invalid_response', false);
15
+ }
16
+ if (error instanceof HubClientError && error.status === 429) {
17
+ return failure(429, 'hub_rate_limited', true, {
18
+ retryAfterMs: retryAfterMs(error.retryAfterMs),
19
+ });
20
+ }
21
+ if (error instanceof HubUnreachableError) {
22
+ const { details } = error;
23
+ const upstreamRetryAfterMs = details.retryAfterSource === 'local_backoff'
24
+ ? undefined
25
+ : retryAfterMs(details.retryAfterMs);
26
+ const operation = details.operation;
27
+ if (details.timeoutMs !== undefined || details.status === 504) {
28
+ return failure(504, 'hub_timeout', true, {
29
+ retryAfterMs: upstreamRetryAfterMs,
30
+ timeoutMs: details.timeoutMs,
31
+ operation,
32
+ });
33
+ }
34
+ return failure(503, 'hub_unavailable', true, {
35
+ retryAfterMs: upstreamRetryAfterMs,
36
+ operation,
37
+ });
38
+ }
39
+ // HubFetch intentionally exposes JSON 5xx as this exact Error shape. Do not
40
+ // broaden this: arbitrary programmer errors and non-5xx response errors must
41
+ // retain the IPC server's non-retryable fallback behavior.
42
+ if (error instanceof Error && error.message === 'hub 504')
43
+ return failure(504, 'hub_timeout', true);
44
+ if (error instanceof Error && /^hub (?:500|502|503)$/.test(error.message)) {
45
+ return failure(503, 'hub_unavailable', true);
46
+ }
47
+ return undefined;
48
+ }
49
+ function isDiscoverySearchDegradedError(error) {
50
+ return hasErrorName(error, 'SemanticSearchDegradedError')
51
+ || hasExactErrorMessage(error, 'semantic_search_degraded')
52
+ || hasExactErrorMessage(error, 'recipe_search_degraded');
53
+ }
54
+ function isInvalidDiscoveryResponseError(error) {
55
+ return hasErrorName(error, 'MalformedRecipeSearchPageError')
56
+ || hasErrorName(error, 'SemanticSearchInvalidResponseError')
57
+ || hasExactErrorMessage(error, 'semantic_search_status_invalid');
58
+ }
59
+ function hasErrorName(error, name) {
60
+ return typeof error === 'object' && error !== null && error.name === name;
61
+ }
62
+ function hasExactErrorMessage(error, message) {
63
+ return error instanceof Error && error.message === message;
64
+ }
65
+ function failure(status, code, retryable, details = {}) {
66
+ return {
67
+ status,
68
+ body: {
69
+ error: code,
70
+ code,
71
+ retryable,
72
+ ...(details.retryAfterMs !== undefined ? { retryAfterMs: details.retryAfterMs } : {}),
73
+ ...(details.timeoutMs !== undefined ? { timeoutMs: details.timeoutMs } : {}),
74
+ ...(details.operation !== undefined ? { operation: details.operation } : {}),
75
+ },
76
+ };
77
+ }
78
+ function retryAfterMs(value) {
79
+ return typeof value === 'number' && Number.isFinite(value) && value >= 0 ? value : undefined;
80
+ }
@@ -11,6 +11,7 @@ export declare const DEFAULT_IPC_PORT = 19820;
11
11
  export type HubAuthFailurePolicy = 'deny' | 'warn';
12
12
  export declare function resolveHubAuthFailurePolicy(env?: Record<string, string | undefined>): HubAuthFailurePolicy;
13
13
  export interface ProxyDaemonDeps {
14
+ recipeExecutionDirectory?: string;
14
15
  /** operator配置,不能由单次搜索请求关闭。 */
15
16
  benchmarkId?: string;
16
17
  sourceProvenance?: assetstore.ProvenanceStore;
@@ -167,6 +168,7 @@ export declare class ProxyDaemon {
167
168
  private readonly publishRecallVerifier;
168
169
  private readonly proxyHandler;
169
170
  private readonly hub;
171
+ private readonly recipeGovernance;
170
172
  private readonly recipeComposeStarted;
171
173
  private ipc;
172
174
  private readonly now;
@@ -260,6 +262,7 @@ export declare class ProxyDaemon {
260
262
  private qualifyAssets;
261
263
  private respondAssetSearch;
262
264
  private qualifyFetch;
265
+ private recallAssets;
263
266
  private localFetchAssets;
264
267
  private handleProxyRoute;
265
268
  private searchAssets;
@@ -7,8 +7,10 @@ import { LifecycleManager } from '../lifecycle/manager.js';
7
7
  import { executeForceUpdate } from '../selfUpdate/executor.js';
8
8
  import { reportPendingSelfUpdateLastUpdate, reportSelfUpdateLastUpdate } from '../selfUpdate/lastUpdate.js';
9
9
  import { backfillProxyTraceUploads } from '../llm/traceBackfill.js';
10
+ import { invokeRecipeIpc, recipeIpcScope } from './recipeExecution.js';
10
11
  import { hubAuthFailureHint } from './selectHub.js';
11
12
  import { CollaborationFacade } from './collaborationFacade.js';
13
+ import { classifyDiscoveryUpstreamError } from './discoveryErrors.js';
12
14
  import { PublishBindingLedger } from './publishBindingLedger.js';
13
15
  import { PublishRecallVerifier, resolvePublishRecallConfig, } from './publishRecallVerifier.js';
14
16
  const DEFAULT_PUBLISH_EXECUTION_VERIFY_TIMEOUT_MS = 30_000;
@@ -103,6 +105,7 @@ export class ProxyDaemon {
103
105
  publishRecallVerifier;
104
106
  proxyHandler;
105
107
  hub;
108
+ recipeGovernance;
106
109
  recipeComposeStarted = new Set();
107
110
  ipc;
108
111
  now;
@@ -144,6 +147,7 @@ export class ProxyDaemon {
144
147
  publishAbortController = new AbortController();
145
148
  constructor(deps) {
146
149
  this.deps = deps;
150
+ this.recipeGovernance = new hubNs.RecipeExecutionGovernance(deps.recipeExecutionDirectory);
147
151
  this.benchmark = assetstore.benchmarkContext(deps.benchmarkId ?? process.env['EVOLVER_BENCHMARK_ID']);
148
152
  this.now = deps.now ?? (() => Date.now());
149
153
  this.random = deps.random ?? Math.random;
@@ -192,11 +196,16 @@ export class ProxyDaemon {
192
196
  const proxyHandler = this.proxyHandler;
193
197
  const syncProxyHandler = (envelope) => this.handleHubModeBoundOutbound(envelope);
194
198
  const assetByIdSource = isAssetByIdFetcher(deps.hub) ? deps.hub : (isAssetByIdFetcher(hubToUse) ? hubToUse : undefined);
199
+ // The hub is the authority on what it holds. A delivery bound to the
200
+ // requested id is handed on even when its body no longer hashes to that id:
201
+ // roughly a fifth of promoted assets are in that state, one of them saying
202
+ // so in its own payload (`payload_backfill_reason:
203
+ // hub_synthesized_from_outcome_fallback`), and refusing them client-side
204
+ // turned a hub data-integrity fault into "not retrievable" at the caller.
205
+ // The hub's own refusals — a row for a different asset, a revoked one —
206
+ // still stand, because those are the hub refusing, not us second-guessing.
195
207
  this.remoteAssetById = assetByIdSource
196
- ? async (assetId) => {
197
- const fetched = await assetByIdSource.fetchAssetById(assetId);
198
- return assetMatchesId(fetched, assetId) ? fetched : null;
199
- }
208
+ ? async (assetId) => assetByIdSource.fetchAssetById(assetId, { allowUnverifiedExactIdentity: true })
200
209
  : undefined;
201
210
  const publishRecallConfig = resolvePublishRecallConfig();
202
211
  this.publishRecallVerifier = deps.publishRecallVerifier ?? new PublishRecallVerifier({
@@ -344,6 +353,7 @@ export class ProxyDaemon {
344
353
  this.publishBindingLedger.verify(assets, publishReceipt);
345
354
  },
346
355
  ...(this.deps.onIpcAuthFailure ? { onAuthFailure: this.deps.onIpcAuthFailure } : {}),
356
+ routeBodyLimits: hubNs.recipeIpcBodyLimits,
347
357
  extraRoutes: [(ctx) => reference.withReferenceScope(this.referenceStore?.scope, () => this.handleProxyRoute(ctx))],
348
358
  });
349
359
  const port = await this.listenIpc(this.ipc);
@@ -860,6 +870,17 @@ export class ProxyDaemon {
860
870
  const qualified = this.qualifyAssets(assets);
861
871
  return { ...qualified, missing: ids.filter((id) => !qualified.assets.some((asset) => assetMatchesId(asset, id))) };
862
872
  }
873
+ async recallAssets(query) {
874
+ try {
875
+ return await this.deps.hub.fetch(query);
876
+ }
877
+ catch (error) {
878
+ if (!isAuthLikeError(error))
879
+ throw error;
880
+ this.markHubAuthFailed(error);
881
+ return null;
882
+ }
883
+ }
863
884
  async localFetchAssets(ids) {
864
885
  const assets = [];
865
886
  const missing = [];
@@ -892,6 +913,7 @@ export class ProxyDaemon {
892
913
  hub_mode: this.deps.hubMode ?? 'public',
893
914
  runtime_namespace: this.deps.runtimeNamespace ?? 'default',
894
915
  node_id: this.lifecycle.nodeId ?? null,
916
+ recipe_execution_scope: recipeIpcScope(this.hub.recipes?.execution),
895
917
  outbound_pending: this.store.countPending('proxy', this.deps.runtimeNamespace),
896
918
  inbound_pending: this.store.countPending('agent', this.deps.runtimeNamespace) + this.store.countPending('core', this.deps.runtimeNamespace),
897
919
  last_sync_at: this.store.getState('sync:last_sync_at') ?? null,
@@ -1023,24 +1045,34 @@ export class ProxyDaemon {
1023
1045
  return true;
1024
1046
  }
1025
1047
  try {
1026
- const results = await this.searchAssets(query);
1027
- this.respondAssetSearch(ctx, body, results, limit);
1048
+ let remoteFailure;
1049
+ const results = await this.searchAssets(query, (error) => {
1050
+ remoteFailure = error;
1051
+ });
1052
+ this.respondAssetSearch(ctx, body, results, limit, remoteFailure === undefined ? {} : assetSearchDegradedResponse(remoteFailure));
1028
1053
  }
1029
1054
  catch (error) {
1030
- if (!isAuthLikeError(error))
1031
- throw error;
1032
- this.markHubAuthFailed(error);
1033
- if (this.hubAuthFailurePolicy === 'deny') {
1034
- ctx.json(401, this.hubAuthFailureBody());
1055
+ if (isAuthLikeError(error)) {
1056
+ this.markHubAuthFailed(error);
1057
+ if (this.hubAuthFailurePolicy === 'deny') {
1058
+ ctx.json(401, this.hubAuthFailureBody());
1059
+ return true;
1060
+ }
1061
+ const results = await this.localSearchAssets(query);
1062
+ this.respondAssetSearch(ctx, body, results, limit, {
1063
+ degraded: true,
1064
+ local_fallback: true,
1065
+ auth_status: HUB_AUTH_FAILED,
1066
+ warning: HUB_AUTH_FAILURE_WARNING,
1067
+ });
1035
1068
  return true;
1036
1069
  }
1037
- const results = await this.localSearchAssets(query);
1038
- this.respondAssetSearch(ctx, body, results, limit, {
1039
- degraded: true,
1040
- local_fallback: true,
1041
- auth_status: HUB_AUTH_FAILED,
1042
- warning: HUB_AUTH_FAILURE_WARNING,
1043
- });
1070
+ const failure = classifyDiscoveryUpstreamError(error);
1071
+ if (failure) {
1072
+ ctx.json(failure.status, failure.body);
1073
+ return true;
1074
+ }
1075
+ throw error;
1044
1076
  }
1045
1077
  return true;
1046
1078
  }
@@ -1069,7 +1101,17 @@ export class ProxyDaemon {
1069
1101
  ...(cursor ? { cursor } : {}),
1070
1102
  ...(sort ? { sort } : {}),
1071
1103
  };
1072
- const receipt = q ? await recipes.search(request) : await recipes.list(request);
1104
+ let receipt;
1105
+ try {
1106
+ receipt = q ? await recipes.search(request) : await recipes.list(request);
1107
+ }
1108
+ catch (error) {
1109
+ const failure = classifyDiscoveryUpstreamError(error);
1110
+ if (!failure)
1111
+ throw error;
1112
+ ctx.json(failure.status, failure.body);
1113
+ return true;
1114
+ }
1073
1115
  ctx.json(200, {
1074
1116
  recipes: receipt.recipes,
1075
1117
  ...(receipt.nextCursor ? { nextCursor: receipt.nextCursor } : {}),
@@ -1078,29 +1120,10 @@ export class ProxyDaemon {
1078
1120
  });
1079
1121
  return true;
1080
1122
  }
1081
- if (ctx.route === 'POST /recipe/express') {
1082
- const body = asRecord(await ctx.readJson());
1083
- if (hubModeMismatch(body['expected_hub_mode'], this.deps.hubMode)) {
1084
- ctx.json(409, { error: 'proxy_hub_mode_mismatch' });
1085
- return true;
1086
- }
1087
- const recipes = this.hub.recipes;
1088
- if (!recipes) {
1089
- ctx.json(501, { error: 'recipe_unsupported' });
1090
- return true;
1091
- }
1092
- const recipeId = typeof body['recipe_id'] === 'string'
1093
- ? body['recipe_id']
1094
- : typeof body['recipeId'] === 'string'
1095
- ? body['recipeId']
1096
- : '';
1097
- if (!recipeId.trim()) {
1098
- ctx.json(400, { error: 'recipe_id_required' });
1099
- return true;
1100
- }
1101
- const inputPayload = asRecord(body['input_payload']) ?? asRecord(body['inputPayload']) ?? {};
1102
- const receipt = await recipes.express(recipeId.trim(), { inputPayload });
1103
- ctx.json(200, receipt);
1123
+ const recipeOperation = ctx.route.startsWith('POST /recipe/') ? ctx.route.slice('POST /recipe/'.length) : '';
1124
+ if (Object.hasOwn(hubNs.recipeExecutionSchemas, recipeOperation)) {
1125
+ const receipt = await invokeRecipeIpc(this.hub.recipes, this.recipeGovernance, recipeOperation, await ctx.readJson(), this.deps.hubMode);
1126
+ ctx.json(receipt.status, receipt.body);
1104
1127
  return true;
1105
1128
  }
1106
1129
  if (ctx.route === 'POST /asset/fetch') {
@@ -1137,6 +1160,29 @@ export class ProxyDaemon {
1137
1160
  });
1138
1161
  return true;
1139
1162
  }
1163
+ const recallText = typeof body.text === 'string' && body.text.trim() ? body.text.trim() : undefined;
1164
+ const recallSignals = Array.isArray(body.signals) ? body.signals.filter((s) => typeof s === 'string') : [];
1165
+ if (ids.length === 0 && (recallText !== undefined || recallSignals.length > 0)) {
1166
+ const recalled = await this.recallAssets({
1167
+ ...(recallText !== undefined ? { text: recallText } : {}),
1168
+ ...(recallSignals.length > 0 ? { signalsAny: recallSignals } : {}),
1169
+ ...(typeof body.limit === 'number' ? { limit: body.limit } : {}),
1170
+ });
1171
+ if (recalled === null) {
1172
+ if (this.hubAuthFailurePolicy === 'deny') {
1173
+ ctx.json(401, this.hubAuthFailureBody());
1174
+ return true;
1175
+ }
1176
+ ctx.json(200, {
1177
+ assets: [], missing: [], query: body,
1178
+ degraded: true, local_fallback: true,
1179
+ auth_status: HUB_AUTH_FAILED, warning: HUB_AUTH_FAILURE_WARNING,
1180
+ });
1181
+ return true;
1182
+ }
1183
+ ctx.json(200, { ...this.qualifyFetch([], recalled, []), query: body, recalled_by: recallText !== undefined ? 'text' : 'signals' });
1184
+ return true;
1185
+ }
1140
1186
  const assets = [];
1141
1187
  const missing = [];
1142
1188
  for (const id of ids) {
@@ -1553,8 +1599,16 @@ export class ProxyDaemon {
1553
1599
  respondAgentDirectory(ctx, parsed);
1554
1600
  return true;
1555
1601
  }
1556
- const result = await directory.search(parsed.value);
1557
- respondAgentDirectory(ctx, result);
1602
+ try {
1603
+ const result = await directory.search(parsed.value);
1604
+ respondAgentDirectory(ctx, result);
1605
+ }
1606
+ catch (error) {
1607
+ const failure = classifyDiscoveryUpstreamError(error);
1608
+ if (!failure)
1609
+ throw error;
1610
+ ctx.json(failure.status, failure.body);
1611
+ }
1558
1612
  return true;
1559
1613
  }
1560
1614
  if (ctx.route === 'POST /agent/profile') {
@@ -1570,8 +1624,16 @@ export class ProxyDaemon {
1570
1624
  respondAgentDirectory(ctx, invalidAgentDirectoryRequest(error));
1571
1625
  return true;
1572
1626
  }
1573
- const result = await directory.getProfile(agentId, { timeoutMs });
1574
- respondAgentDirectory(ctx, result);
1627
+ try {
1628
+ const result = await directory.getProfile(agentId, { timeoutMs });
1629
+ respondAgentDirectory(ctx, result);
1630
+ }
1631
+ catch (error) {
1632
+ const failure = classifyDiscoveryUpstreamError(error);
1633
+ if (!failure)
1634
+ throw error;
1635
+ ctx.json(failure.status, failure.body);
1636
+ }
1575
1637
  return true;
1576
1638
  }
1577
1639
  if (ctx.route === 'POST /agent/discover') {
@@ -1595,12 +1657,20 @@ export class ProxyDaemon {
1595
1657
  respondAgentDirectory(ctx, invalidAgentDirectoryRequest(error));
1596
1658
  return true;
1597
1659
  }
1598
- const result = await directory.discoverForTask(request);
1599
- respondAgentDirectory(ctx, result);
1660
+ try {
1661
+ const result = await directory.discoverForTask(request);
1662
+ respondAgentDirectory(ctx, result);
1663
+ }
1664
+ catch (error) {
1665
+ const failure = classifyDiscoveryUpstreamError(error);
1666
+ if (!failure)
1667
+ throw error;
1668
+ ctx.json(failure.status, failure.body);
1669
+ }
1600
1670
  return true;
1601
1671
  }
1602
1672
  }
1603
- async searchAssets(query) {
1673
+ async searchAssets(query, onRemoteFailure) {
1604
1674
  const limit = Math.max(1, Math.min(Number(query.limit ?? 5), 25));
1605
1675
  const local = this.assetStore ? await this.assetStore.search(query) : [];
1606
1676
  if (query.kind === 'AntiGene')
@@ -1615,6 +1685,9 @@ export class ProxyDaemon {
1615
1685
  throw error;
1616
1686
  if (localSafe.length === 0)
1617
1687
  throw error;
1688
+ if (onRemoteFailure && classifyDiscoveryUpstreamError(error)?.body.retryable !== true)
1689
+ throw error;
1690
+ onRemoteFailure?.(error);
1618
1691
  remote = [];
1619
1692
  }
1620
1693
  reference.assertExecutionEligible(remote, this.referenceStore?.scope);
@@ -2639,6 +2712,17 @@ function isSynchronousAssetSubmitEnvelope(envelope) {
2639
2712
  return envelope.type === 'asset_submit'
2640
2713
  && envelope.idempotencyKey.startsWith(SYNC_ASSET_SUBMIT_PREFIX);
2641
2714
  }
2715
+ function assetSearchDegradedResponse(error) {
2716
+ const classified = classifyDiscoveryUpstreamError(error);
2717
+ return {
2718
+ ...(classified ? { ...classified.body, status: classified.status } : {}),
2719
+ search_status: 'degraded',
2720
+ complete: false,
2721
+ local_fallback: true,
2722
+ source: 'local',
2723
+ reason: classified?.body.error ?? 'remote_search_failed',
2724
+ };
2725
+ }
2642
2726
  function isTerminalSynchronousPublishFailure(error) {
2643
2727
  if (error instanceof AuthError || errorName(error) === 'AuthError')
2644
2728
  return true;
@@ -0,0 +1,6 @@
1
+ import { hub } from '@evomap/evolver-core';
2
+ export declare function recipeIpcScope(capability: hub.RecipeExecutionCapability | undefined): string | null;
3
+ export declare function invokeRecipeIpc(capability: hub.RecipeCapability | undefined, governance: hub.RecipeExecutionGovernance, operation: hub.RecipeExecutionOperation, raw: unknown, hubMode: 'public' | 'private' | undefined): Promise<{
4
+ status: number;
5
+ body: unknown;
6
+ }>;
@@ -0,0 +1,38 @@
1
+ import { hub } from '@evomap/evolver-core';
2
+ import { recipeHubError } from '@evomap/evolver-adapter-public';
3
+ export function recipeIpcScope(capability) {
4
+ try {
5
+ return hub.requireRecipeExecution(capability).scope() || null;
6
+ }
7
+ catch {
8
+ return null;
9
+ }
10
+ }
11
+ export async function invokeRecipeIpc(capability, governance, operation, raw, hubMode) {
12
+ if (!raw || typeof raw !== 'object' || Array.isArray(raw))
13
+ return { status: 400, body: { error: 'invalid_recipe_input' } };
14
+ const { expected_hub_mode: expected, expected_recipe_scope: expectedScope, ...input } = raw;
15
+ if (expected !== undefined && expected !== 'public' && expected !== 'private')
16
+ return { status: 400, body: { error: 'invalid_expected_hub_mode' } };
17
+ if (expected !== undefined && expected !== (hubMode ?? 'public'))
18
+ return { status: 409, body: { error: 'proxy_hub_mode_mismatch' } };
19
+ try {
20
+ const parsed = hub.parseRecipeExecutionInput(operation, input);
21
+ if (expectedScope !== undefined && (typeof expectedScope !== 'string' || !expectedScope || expectedScope !== recipeIpcScope(capability?.execution)))
22
+ throw new hub.RecipeExecutionError('recipe_identity_scope_mismatch', 409);
23
+ const result = await governance.invoke(capability?.execution, operation, parsed);
24
+ return { status: 200, body: result };
25
+ }
26
+ catch (error) {
27
+ const message = error instanceof Error ? error.message : '';
28
+ const status = message.startsWith('recipe_paid_consent_required:') || message === 'recipe_host_credit_ceiling_exceeded' ? 403
29
+ : message === 'recipe_execution_protocol_unsupported' ? 501
30
+ : message === 'recipe_intent_payload_conflict' ? 409 : undefined;
31
+ if (status !== undefined) {
32
+ const code = message.split(':')[0];
33
+ return { status, body: { error: code, code, status } };
34
+ }
35
+ const mapped = recipeHubError(error, operation);
36
+ return { status: mapped.status, body: { error: mapped.code, code: mapped.code, status: mapped.status, ...(mapped.retryAfterMs !== undefined ? { retryAfterMs: mapped.retryAfterMs } : {}) } };
37
+ }
38
+ }
@@ -1 +1 @@
1
- const _0x4405f3=_0x5d88;(function(_0x3db2b8,_0x11a1fc){const _0x1cabf8=_0x5d88,_0x365202=_0x3db2b8();while(!![]){try{const _0x14f407=-parseInt(_0x1cabf8(0x1c4,'\x34\x36\x51\x67'))/(-0x1*0xa2e+-0x103*0xd+-0x67*-0x3a)+-parseInt(_0x1cabf8(0x177,'\x4a\x45\x49\x36'))/(0xf*0x2d+0xa98+-0xd39)+-parseInt(_0x1cabf8(0x18c,'\x6f\x4e\x57\x5a'))/(0x1*-0x159e+-0x1669*-0x1+0x32*-0x4)*(parseInt(_0x1cabf8(0x1b6,'\x62\x71\x4a\x41'))/(0x773*0x4+-0x2215+0x44d))+-parseInt(_0x1cabf8(0x1ef,'\x4a\x45\x49\x36'))/(-0x22ad+0x386*-0x7+0x3b5c)*(parseInt(_0x1cabf8(0x1e9,'\x23\x54\x40\x35'))/(0x233c+-0x1904+0xae*-0xf))+-parseInt(_0x1cabf8(0x1f4,'\x34\x36\x51\x67'))/(0x1*-0x1dd+0x1dd6*-0x1+0x1fba)+-parseInt(_0x1cabf8(0x1a5,'\x7a\x6f\x66\x4a'))/(0x18a+0x19f2+-0xfb*0x1c)*(parseInt(_0x1cabf8(0x1b3,'\x35\x66\x45\x75'))/(0x26b3+0x1a94+-0x413e))+-parseInt(_0x1cabf8(0x1c1,'\x67\x4e\x64\x33'))/(-0x1be0+-0xe4a+0x2a34)*(-parseInt(_0x1cabf8(0x18d,'\x59\x78\x5d\x6c'))/(-0x2359*-0x1+0x67*0x28+-0x3366));if(_0x14f407===_0x11a1fc)break;else _0x365202['push'](_0x365202['shift']());}catch(_0x8eb150){_0x365202['push'](_0x365202['shift']());}}}(_0x58ea,0x157*-0x73c+-0xb04b7+-0x1*-0x1d2589));const DEFAULT_COOLDOWN_MS=(-0x24e2+-0xcbb+-0x83*-0x61)*(-0x12*-0xdf+0x124f+0x1*-0x21c1)*(0x4153+-0x7be4+0x13*0xf6b),MIN_COOLDOWN_MS=0x1585f*0x1+-0x2*-0x7039+-0x14e71,MAX_COOLDOWN_MS=(0x1909+-0x23e3+-0x2be*-0x4)*(-0x78e+-0x2639+-0x2ddf*-0x1)*(0x6*0x3e3+0x22cb*-0x1+-0x9*-0x14d)*(0x1*0x4a72+0xbbf*0xf+-0x1043),MAX_STATE_ENTRIES=-0x44*0x11+-0x276*0x1+0x71a,STATE_KEY=_0x4405f3(0x185,'\x4f\x48\x48\x6b')+_0x4405f3(0x1aa,'\x26\x69\x69\x41')+_0x4405f3(0x1b4,'\x69\x74\x21\x55'),CLAIM_CODE_RE=/^[A-Za-z0-9][A-Za-z0-9_-]{1,127}$/;export function createClaimNudge(_0x30fd88){const _0x27f6bf=_0x4405f3,_0x1fc4d0=_0x30fd88[_0x27f6bf(0x1cc,'\x50\x4c\x5a\x51')]??process.env,_0x2befaf=_0x30fd88[_0x27f6bf(0x1c7,'\x79\x75\x37\x31')]??(()=>Date[_0x27f6bf(0x17b,'\x6a\x34\x74\x71')]()),_0x54173a=_0x30fd88['\x77\x72\x69\x74\x65']??(_0x41c8e4=>{const _0x14a84a=_0x27f6bf;process[_0x14a84a(0x17d,'\x52\x4f\x50\x34')][_0x14a84a(0x19c,'\x59\x78\x5d\x6c')](_0x41c8e4);});let _0xa4f6ec={'\x76\x65\x72\x73\x69\x6f\x6e':0x1,'\x65\x6e\x74\x72\x69\x65\x73':{}};return _0x17387c=>{const _0x2274a7=_0x27f6bf;if('\x50\x64\x47\x66\x7a'==='\x54\x78\x5a\x52\x52'){const _0x269bf9=_0x388acc?.[_0x2274a7(0x180,'\x4e\x74\x59\x38')]();if(!_0x269bf9||_0x269bf9[_0x2274a7(0x1b7,'\x50\x4c\x5a\x51')]>-0x1067+-0x1*-0x12e0+-0x11b*-0x5)return _0x51c8b4;try{const _0x4e3fbe=new _0x31be9a(_0x269bf9),_0x235fe5=new _0x418ffd(_0x401392);if(_0x4e3fbe[_0x2274a7(0x189,'\x70\x52\x50\x21')]||_0x4e3fbe[_0x2274a7(0x18b,'\x42\x54\x21\x4d')])return _0xe3a4c6;const _0x15dd77=_0x4e3fbe[_0x2274a7(0x1a0,'\x70\x57\x59\x72')]===_0x235fe5[_0x2274a7(0x1ab,'\x21\x32\x4a\x67')],_0x591991=_0x4e3fbe['\x68\x6f\x73\x74\x6e\x61\x6d\x65']===_0x2274a7(0x1ba,'\x4d\x5a\x53\x38')+'\x69'||_0x4e3fbe['\x68\x6f\x73\x74\x6e\x61\x6d\x65'][_0x2274a7(0x1e7,'\x51\x67\x28\x6c')](_0x2274a7(0x1a8,'\x7a\x6f\x66\x4a')+'\x61\x69');if(_0x4e3fbe['\x70\x72\x6f\x74\x6f\x63\x6f\x6c']===_0x2274a7(0x1e0,'\x70\x52\x50\x21')&&(_0x15dd77||_0x591991))return _0x4e3fbe[_0x2274a7(0x195,'\x34\x2a\x66\x42')]();if(_0x4e3fbe[_0x2274a7(0x1de,'\x79\x75\x37\x31')]==='\x68\x74\x74\x70\x3a'&&_0x15dd77&&_0x1530c4(_0x4e3fbe['\x68\x6f\x73\x74\x6e\x61\x6d\x65']))return _0x4e3fbe[_0x2274a7(0x1ce,'\x4a\x45\x49\x36')]();}catch{}return _0x771049;}else{if(!_0x17387c['\x6f\x6b']||_0x1fc4d0[_0x2274a7(0x1e3,'\x51\x67\x28\x6c')+_0x2274a7(0x1ac,'\x34\x36\x51\x67')+_0x2274a7(0x198,'\x28\x4c\x31\x31')+_0x2274a7(0x1e4,'\x70\x57\x59\x72')]==='\x31')return![];const _0x3b377c=normalizeClaimCode(_0x17387c['\x63\x6c\x61\x69\x6d\x43\x6f\x64'+'\x65']),_0x5de775=_0x3b377c?trustedClaimUrl(_0x17387c[_0x2274a7(0x1eb,'\x70\x57\x59\x72')],_0x30fd88['\x68\x75\x62\x55\x72\x6c']):undefined;if(!_0x3b377c||!_0x5de775)return![];const _0x4178fc=_0x2befaf(),_0x23c62a=claimNudgeCooldownMs(_0x1fc4d0[_0x2274a7(0x1e5,'\x70\x52\x50\x21')+_0x2274a7(0x1d4,'\x35\x66\x45\x75')+_0x2274a7(0x19d,'\x23\x54\x40\x35')+_0x2274a7(0x1bc,'\x51\x67\x28\x6c')]),_0x1e1a94=mergeState(readState(_0x30fd88[_0x2274a7(0x1bf,'\x43\x7a\x43\x62')]),_0xa4f6ec),_0x38294f=_0x1e1a94[_0x2274a7(0x181,'\x69\x74\x21\x55')][_0x3b377c]??-0x2*0x3a5+0x509*0x7+0x1bf5*-0x1;if(_0x38294f>-0x1e7*0x5+-0x16d8+0x205b&&_0x4178fc-_0x38294f<_0x23c62a)return![];const _0x1a1a2f=['','\x5b\x65\x76\x6f\x6c\x76\x65\x72'+_0x2274a7(0x1b2,'\x4a\x45\x49\x36')+'\x54\x68\x69\x73\x20\x6e\x6f\x64'+_0x2274a7(0x192,'\x34\x36\x51\x67')+_0x2274a7(0x1dc,'\x79\x75\x37\x31')+_0x2274a7(0x184,'\x32\x59\x63\x66')+_0x2274a7(0x1f3,'\x42\x70\x4c\x57')+_0x2274a7(0x1b5,'\x28\x79\x72\x6f')+'\x2e',_0x2274a7(0x17a,'\x6a\x34\x74\x71')+'\x4c\x3a\x20'+_0x5de775,_0x2274a7(0x19b,'\x23\x54\x40\x35')+_0x2274a7(0x197,'\x6d\x6c\x6f\x40')+_0x3b377c,_0x2274a7(0x19f,'\x4e\x74\x59\x38')+_0x2274a7(0x1da,'\x28\x4c\x31\x31')+_0x2274a7(0x1c8,'\x64\x25\x4d\x5e')+_0x2274a7(0x1cb,'\x75\x29\x78\x2a')+_0x2274a7(0x190,'\x35\x66\x45\x75')+_0x2274a7(0x1be,'\x74\x48\x4c\x4f')+_0x2274a7(0x1e2,'\x66\x57\x29\x7a')+'\x20\x69\x74\x2e','']['\x6a\x6f\x69\x6e']('\x0a');try{_0x54173a(_0x1a1a2f);}catch{return'\x50\x61\x79\x4b\x63'!==_0x2274a7(0x1d9,'\x65\x26\x6b\x31')?![]:{'\x76\x65\x72\x73\x69\x6f\x6e':0x1,'\x65\x6e\x74\x72\x69\x65\x73':{}};}_0xa4f6ec=pruneState({..._0x1e1a94[_0x2274a7(0x1ea,'\x7a\x53\x35\x76')],[_0x3b377c]:_0x4178fc});try{_0x30fd88[_0x2274a7(0x1f1,'\x28\x79\x72\x6f')][_0x2274a7(0x1cd,'\x4d\x61\x32\x68')](STATE_KEY,JSON[_0x2274a7(0x1f2,'\x26\x4f\x32\x53')+'\x79'](_0xa4f6ec));}catch{}return!![];}};}export function wrapHelloWithClaimNudge(_0x3f7f7d,_0x338381){return async _0x268a49=>{const _0x44cd1a=_0x5d88,_0x521a61=await _0x3f7f7d(_0x268a49);try{_0x44cd1a(0x1ad,'\x28\x4c\x31\x31')===_0x44cd1a(0x1d8,'\x58\x38\x70\x35')?_0x338381(_0x521a61):_0x58991c(_0xc79a19);}catch{}return _0x521a61;};}export function claimNudgeCooldownMs(_0x3b366b){const _0x3dbbb9=_0x4405f3,_0x2be5a9=Number(_0x3b366b);if(!Number[_0x3dbbb9(0x1e6,'\x79\x75\x37\x31')](_0x2be5a9)||_0x2be5a9<=-0x4*0x71f+-0xef9+0x5*0x8b1)return DEFAULT_COOLDOWN_MS;return Math[_0x3dbbb9(0x1ae,'\x35\x36\x24\x43')](MIN_COOLDOWN_MS,Math[_0x3dbbb9(0x186,'\x6d\x6c\x6f\x40')](Math[_0x3dbbb9(0x1c0,'\x64\x25\x4d\x5e')](_0x2be5a9),MAX_COOLDOWN_MS));}function normalizeClaimCode(_0x2c4980){const _0x3a323f=_0x4405f3,_0x56ab2b=_0x2c4980?.[_0x3a323f(0x1a3,'\x35\x36\x24\x43')]();return _0x56ab2b&&CLAIM_CODE_RE[_0x3a323f(0x199,'\x75\x29\x78\x2a')](_0x56ab2b)?_0x56ab2b:undefined;}function trustedClaimUrl(_0x508eb7,_0x189929){const _0x1a9c7e=_0x4405f3,_0x30792a=_0x508eb7?.[_0x1a9c7e(0x182,'\x4d\x61\x32\x68')]();if(!_0x30792a||_0x30792a[_0x1a9c7e(0x1f0,'\x32\x59\x63\x66')]>-0x48b+-0x1738+-0x5*-0x727)return undefined;try{if('\x72\x61\x48\x66\x68'===_0x1a9c7e(0x191,'\x42\x54\x21\x4d')){const _0x3b1564=new URL(_0x30792a),_0x1e496b=new URL(_0x189929);if(_0x3b1564[_0x1a9c7e(0x172,'\x62\x71\x4a\x41')]||_0x3b1564[_0x1a9c7e(0x1d1,'\x34\x2a\x66\x42')])return undefined;const _0x333547=_0x3b1564[_0x1a9c7e(0x1c6,'\x69\x74\x21\x55')]===_0x1e496b['\x6f\x72\x69\x67\x69\x6e'],_0x534953=_0x3b1564[_0x1a9c7e(0x1a6,'\x44\x69\x52\x76')]==='\x65\x76\x6f\x6d\x61\x70\x2e\x61'+'\x69'||_0x3b1564[_0x1a9c7e(0x1ec,'\x23\x54\x40\x35')][_0x1a9c7e(0x1c3,'\x75\x29\x78\x2a')](_0x1a9c7e(0x174,'\x34\x36\x51\x67')+'\x61\x69');if(_0x3b1564['\x70\x72\x6f\x74\x6f\x63\x6f\x6c']===_0x1a9c7e(0x18e,'\x23\x54\x40\x35')&&(_0x333547||_0x534953))return _0x3b1564[_0x1a9c7e(0x1e8,'\x6a\x34\x74\x71')]();if(_0x3b1564[_0x1a9c7e(0x1d2,'\x73\x59\x4d\x57')]===_0x1a9c7e(0x1d0,'\x50\x4c\x5a\x51')&&_0x333547&&isLoopback(_0x3b1564[_0x1a9c7e(0x194,'\x7a\x6f\x66\x4a')]))return _0x3b1564[_0x1a9c7e(0x1f7,'\x26\x4f\x32\x53')]();}else _0x483b22['\x73\x74\x64\x65\x72\x72'][_0x1a9c7e(0x1d3,'\x4e\x74\x59\x38')](_0x188b95);}catch{}return undefined;}function isLoopback(_0x127643){const _0x266e41=_0x4405f3;return _0x127643===_0x266e41(0x179,'\x23\x6b\x6f\x4f')+'\x74'||_0x127643===_0x266e41(0x176,'\x35\x36\x24\x43')+'\x31'||_0x127643===_0x266e41(0x193,'\x6f\x4e\x57\x5a');}function readState(_0x21d29f){const _0x134bd9=_0x4405f3;try{if('\x55\x4e\x46\x62\x4d'===_0x134bd9(0x17c,'\x72\x68\x58\x62')){const _0x19415f=_0x21d29f['\x67\x65\x74\x53\x74\x61\x74\x65'](STATE_KEY);if(!_0x19415f)return{'\x76\x65\x72\x73\x69\x6f\x6e':0x1,'\x65\x6e\x74\x72\x69\x65\x73':{}};const _0x3f54c4=JSON[_0x134bd9(0x18a,'\x6a\x61\x6a\x37')](_0x19415f);if(_0x3f54c4['\x76\x65\x72\x73\x69\x6f\x6e']!==0x1226+-0x109d+0x8*-0x31||!_0x3f54c4['\x65\x6e\x74\x72\x69\x65\x73']||typeof _0x3f54c4[_0x134bd9(0x1d5,'\x65\x26\x6b\x31')]!==_0x134bd9(0x1ee,'\x46\x5e\x54\x34')||Array[_0x134bd9(0x1bb,'\x44\x69\x52\x76')](_0x3f54c4[_0x134bd9(0x1c9,'\x28\x79\x72\x6f')])){if(_0x134bd9(0x1c2,'\x73\x59\x4d\x57')!==_0x134bd9(0x1f6,'\x21\x32\x4a\x67'))return{'\x76\x65\x72\x73\x69\x6f\x6e':0x1,'\x65\x6e\x74\x72\x69\x65\x73':{}};else{const _0x417a5f=new _0x245d2c(_0x435e5f),_0x4edb39=new _0x4851ce(_0x2a288a);if(_0x417a5f[_0x134bd9(0x1c5,'\x43\x7a\x43\x62')]||_0x417a5f[_0x134bd9(0x17f,'\x43\x7a\x43\x62')])return _0x345a97;const _0x27e6fd=_0x417a5f[_0x134bd9(0x1b8,'\x6a\x34\x74\x71')]===_0x4edb39[_0x134bd9(0x1ab,'\x21\x32\x4a\x67')],_0x1458a3=_0x417a5f[_0x134bd9(0x1ca,'\x28\x4c\x31\x31')]===_0x134bd9(0x19e,'\x28\x4c\x31\x31')+'\x69'||_0x417a5f[_0x134bd9(0x1e1,'\x4f\x48\x48\x6b')][_0x134bd9(0x1db,'\x67\x4e\x64\x33')](_0x134bd9(0x188,'\x69\x74\x21\x55')+'\x61\x69');if(_0x417a5f[_0x134bd9(0x1ed,'\x62\x71\x4a\x41')]===_0x134bd9(0x175,'\x69\x74\x21\x55')&&(_0x27e6fd||_0x1458a3))return _0x417a5f[_0x134bd9(0x1bd,'\x21\x53\x46\x6a')]();if(_0x417a5f['\x70\x72\x6f\x74\x6f\x63\x6f\x6c']===_0x134bd9(0x1af,'\x7a\x6f\x66\x4a')&&_0x27e6fd&&_0x257617(_0x417a5f[_0x134bd9(0x1d6,'\x64\x25\x4d\x5e')]))return _0x417a5f[_0x134bd9(0x1a2,'\x21\x6b\x68\x28')]();}}const _0x2fdce9={};for(const [_0x4aea9c,_0xc8fb27]of Object[_0x134bd9(0x1ea,'\x7a\x53\x35\x76')](_0x3f54c4[_0x134bd9(0x1a7,'\x51\x67\x28\x6c')])){if('\x62\x4b\x48\x70\x58'===_0x134bd9(0x1a1,'\x42\x70\x4c\x57')){const _0x552fe5=_0xc5a0d4?.[_0x134bd9(0x178,'\x23\x6b\x6f\x4f')]();return _0x552fe5&&_0x1c2437[_0x134bd9(0x1dd,'\x59\x78\x5d\x6c')](_0x552fe5)?_0x552fe5:_0x274b71;}else{if(CLAIM_CODE_RE['\x74\x65\x73\x74'](_0x4aea9c)&&typeof _0xc8fb27==='\x6e\x75\x6d\x62\x65\x72'&&Number[_0x134bd9(0x196,'\x4f\x48\x48\x6b')](_0xc8fb27)&&_0xc8fb27>-0x84e+0x21f4+0xcd3*-0x2)_0x2fdce9[_0x4aea9c]=_0xc8fb27;}}return{'\x76\x65\x72\x73\x69\x6f\x6e':0x1,'\x65\x6e\x74\x72\x69\x65\x73':_0x2fdce9};}else{const _0xd03e1c={..._0xd5ebd2[_0x134bd9(0x1a4,'\x4e\x74\x59\x38')]};for(const [_0x36919d,_0x2682cc]of _0x2f070b[_0x134bd9(0x17e,'\x62\x71\x4a\x41')](_0x5b1240['\x65\x6e\x74\x72\x69\x65\x73']))_0xd03e1c[_0x36919d]=_0x78409e[_0x134bd9(0x18f,'\x26\x4f\x32\x53')](_0xd03e1c[_0x36919d]??-0x1215+0x1599+0x14*-0x2d,_0x2682cc);return{'\x76\x65\x72\x73\x69\x6f\x6e':0x1,'\x65\x6e\x74\x72\x69\x65\x73':_0xd03e1c};}}catch{return{'\x76\x65\x72\x73\x69\x6f\x6e':0x1,'\x65\x6e\x74\x72\x69\x65\x73':{}};}}function _0x5d88(_0x96df89,_0x4b50f8){_0x96df89=_0x96df89-(0x1d12*0x1+-0x3*0xaab+0x461);const _0x1ca8f8=_0x58ea();let _0x2dacec=_0x1ca8f8[_0x96df89];if(_0x5d88['\x6c\x79\x41\x55\x68\x4e']===undefined){var _0x4209f0=function(_0x3ea09f){const _0x20d7ef='\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 _0x468ae2='',_0x442456='';for(let _0x19c251=-0x19ce+0xb*-0x11e+-0x5c*-0x6a,_0x319c76,_0x5f0540,_0xbf536b=0x1615+0x1abe+-0x30d3*0x1;_0x5f0540=_0x3ea09f['\x63\x68\x61\x72\x41\x74'](_0xbf536b++);~_0x5f0540&&(_0x319c76=_0x19c251%(0x25d5+0x6ad+-0x2c7e)?_0x319c76*(0x4a3*-0x1+0x1663+0x8c*-0x20)+_0x5f0540:_0x5f0540,_0x19c251++%(-0x1*0x1c4c+0x18dd*-0x1+0x352d))?_0x468ae2+=String['\x66\x72\x6f\x6d\x43\x68\x61\x72\x43\x6f\x64\x65'](-0xe*-0x16f+-0x155+-0x11be&_0x319c76>>(-(-0x1*-0xd0a+-0x8c3+-0x445*0x1)*_0x19c251&-0x1cf4+-0x1004+0xd*0x376)):0x13*-0xf3+0x1b7f+-0x976){_0x5f0540=_0x20d7ef['\x69\x6e\x64\x65\x78\x4f\x66'](_0x5f0540);}for(let _0x4cdeda=0x741*0x1+-0x1*-0x1bef+-0x2330,_0x6e23a2=_0x468ae2['\x6c\x65\x6e\x67\x74\x68'];_0x4cdeda<_0x6e23a2;_0x4cdeda++){_0x442456+='\x25'+('\x30\x30'+_0x468ae2['\x63\x68\x61\x72\x43\x6f\x64\x65\x41\x74'](_0x4cdeda)['\x74\x6f\x53\x74\x72\x69\x6e\x67'](-0x20fa+-0x176*0x19+0x4590))['\x73\x6c\x69\x63\x65'](-(-0xb6+-0x1b29*-0x1+-0x1a71));}return decodeURIComponent(_0x442456);};const _0x5a84bf=function(_0x3ad0a2,_0xa34cab){let _0x2f498d=[],_0x53dd01=-0x17e*0x5+-0x1bce+0x2344,_0x2b85e4,_0x5f5c22='';_0x3ad0a2=_0x4209f0(_0x3ad0a2);let _0x4f2a0b;for(_0x4f2a0b=0x1020+-0x9*-0x23e+-0x244e;_0x4f2a0b<-0xd79*0x1+0x366+0xb13;_0x4f2a0b++){_0x2f498d[_0x4f2a0b]=_0x4f2a0b;}for(_0x4f2a0b=-0x1c9+-0x95f+0x198*0x7;_0x4f2a0b<0x146*-0x1e+-0x1*-0xf75+0x17bf;_0x4f2a0b++){_0x53dd01=(_0x53dd01+_0x2f498d[_0x4f2a0b]+_0xa34cab['\x63\x68\x61\x72\x43\x6f\x64\x65\x41\x74'](_0x4f2a0b%_0xa34cab['\x6c\x65\x6e\x67\x74\x68']))%(0x1dfa+-0x13*0x93+0x1*-0x1211),_0x2b85e4=_0x2f498d[_0x4f2a0b],_0x2f498d[_0x4f2a0b]=_0x2f498d[_0x53dd01],_0x2f498d[_0x53dd01]=_0x2b85e4;}_0x4f2a0b=0x1a87*0x1+-0x10b1+-0x9d6,_0x53dd01=-0x22e4+-0x87f+-0x1*-0x2b63;for(let _0x4f5919=0xdf*0x13+-0x2*0xd77+0xa61;_0x4f5919<_0x3ad0a2['\x6c\x65\x6e\x67\x74\x68'];_0x4f5919++){_0x4f2a0b=(_0x4f2a0b+(0x5*-0x274+-0x252*-0x1+0x9f3))%(-0x1a3*-0x11+0x9e5+-0x19*0x178),_0x53dd01=(_0x53dd01+_0x2f498d[_0x4f2a0b])%(-0x8b+0x238b+0x44*-0x80),_0x2b85e4=_0x2f498d[_0x4f2a0b],_0x2f498d[_0x4f2a0b]=_0x2f498d[_0x53dd01],_0x2f498d[_0x53dd01]=_0x2b85e4,_0x5f5c22+=String['\x66\x72\x6f\x6d\x43\x68\x61\x72\x43\x6f\x64\x65'](_0x3ad0a2['\x63\x68\x61\x72\x43\x6f\x64\x65\x41\x74'](_0x4f5919)^_0x2f498d[(_0x2f498d[_0x4f2a0b]+_0x2f498d[_0x53dd01])%(-0x215*0x5+0x34*0x73+0x17*-0x85)]);}return _0x5f5c22;};_0x5d88['\x62\x6b\x63\x50\x68\x73']=_0x5a84bf,_0x5d88['\x48\x6f\x69\x6f\x6e\x5a']={},_0x5d88['\x6c\x79\x41\x55\x68\x4e']=!![];}const _0x50e8ec=_0x1ca8f8[0x2*-0xa04+-0x1003+-0x240b*-0x1],_0x586021=_0x96df89+_0x50e8ec,_0x18b7e9=_0x5d88['\x48\x6f\x69\x6f\x6e\x5a'][_0x586021];return!_0x18b7e9?(_0x5d88['\x78\x68\x46\x72\x6e\x78']===undefined&&(_0x5d88['\x78\x68\x46\x72\x6e\x78']=!![]),_0x2dacec=_0x5d88['\x62\x6b\x63\x50\x68\x73'](_0x2dacec,_0x4b50f8),_0x5d88['\x48\x6f\x69\x6f\x6e\x5a'][_0x586021]=_0x2dacec):_0x2dacec=_0x18b7e9,_0x2dacec;}function _0x58ea(){const _0x47313f=['\x57\x4f\x76\x4c\x41\x43\x6f\x64\x77\x38\x6f\x6e\x57\x52\x6c\x63\x53\x57','\x57\x34\x34\x4b\x73\x48\x65\x34\x62\x53\x6b\x74\x57\x36\x4f','\x57\x34\x4e\x64\x49\x57\x37\x64\x49\x53\x6b\x79\x57\x4f\x42\x63\x55\x73\x75','\x57\x35\x62\x78\x61\x61\x46\x64\x48\x43\x6f\x6c\x63\x38\x6b\x39\x57\x34\x70\x63\x4e\x32\x53','\x57\x4f\x6d\x7a\x57\x50\x6d\x75\x57\x50\x2f\x64\x4a\x61','\x6b\x6d\x6f\x36\x77\x30\x42\x63\x54\x38\x6b\x48','\x6a\x65\x4c\x4c\x57\x34\x46\x63\x53\x75\x66\x48','\x6b\x32\x5a\x64\x4f\x53\x6f\x46\x57\x36\x6c\x63\x53\x53\x6b\x51\x57\x37\x71','\x44\x43\x6f\x44\x77\x43\x6f\x74\x6d\x6d\x6f\x55\x57\x52\x57','\x57\x50\x6e\x73\x66\x48\x4c\x4c\x57\x36\x69\x4b','\x6e\x33\x64\x63\x47\x53\x6f\x6a\x57\x51\x52\x63\x52\x64\x61\x53','\x57\x34\x6c\x63\x54\x75\x47\x35\x75\x53\x6f\x5a\x57\x50\x74\x64\x48\x71','\x6b\x43\x6b\x4e\x57\x51\x6d\x65\x64\x61','\x57\x52\x5a\x64\x49\x6d\x6f\x78\x57\x36\x78\x64\x48\x57','\x57\x34\x37\x63\x4a\x53\x6f\x4f\x57\x51\x70\x64\x4b\x53\x6b\x2b\x6f\x6d\x6b\x4c\x57\x52\x58\x7a\x57\x34\x72\x74\x57\x50\x4b','\x78\x43\x6b\x35\x57\x34\x78\x63\x4d\x6d\x6b\x37','\x57\x4f\x7a\x51\x64\x53\x6f\x50\x57\x50\x38\x66\x79\x65\x71','\x57\x51\x64\x64\x4f\x4b\x74\x63\x4b\x6d\x6f\x6c\x65\x53\x6b\x35\x57\x37\x74\x64\x53\x53\x6b\x36\x69\x6d\x6b\x57','\x6c\x38\x6b\x47\x57\x51\x4b\x65\x62\x38\x6b\x67\x45\x53\x6f\x6e','\x57\x34\x38\x4a\x72\x58\x65\x30\x75\x47','\x75\x53\x6b\x68\x57\x4f\x30','\x57\x52\x78\x64\x49\x53\x6f\x7a\x57\x36\x42\x63\x4a\x4d\x37\x64\x50\x31\x38','\x57\x4f\x5a\x64\x48\x62\x4e\x64\x4d\x38\x6b\x45\x57\x50\x42\x63\x50\x61','\x57\x36\x6c\x63\x4d\x6d\x6f\x4b\x57\x35\x6e\x47\x57\x4f\x6c\x64\x4b\x4c\x6d','\x57\x4f\x79\x4b\x67\x53\x6f\x4f\x57\x51\x43\x75\x42\x71\x57','\x57\x4f\x4f\x73\x57\x4f\x53','\x57\x36\x31\x54\x57\x37\x72\x67\x46\x6d\x6f\x43\x57\x35\x4f\x65','\x6f\x74\x6a\x71\x57\x52\x33\x64\x53\x59\x37\x64\x4b\x6d\x6f\x34','\x57\x52\x5a\x63\x50\x43\x6f\x41\x6a\x57','\x57\x4f\x43\x69\x57\x4f\x4b\x64\x57\x35\x65','\x57\x37\x37\x63\x55\x57\x4a\x63\x52\x47\x75\x54\x43\x59\x30','\x77\x6d\x6b\x79\x57\x37\x2f\x63\x48\x6d\x6b\x6e\x57\x37\x54\x56\x57\x35\x69','\x57\x36\x6e\x31\x57\x34\x4e\x63\x52\x6d\x6f\x41','\x57\x37\x71\x45\x78\x43\x6f\x35\x7a\x38\x6f\x39\x57\x4f\x5a\x63\x52\x71','\x6f\x32\x37\x63\x56\x72\x35\x51\x57\x50\x47\x56','\x57\x52\x6c\x64\x49\x38\x6f\x6c\x57\x37\x37\x64\x4d\x59\x2f\x64\x56\x4c\x69','\x57\x52\x5a\x64\x53\x4d\x64\x64\x4d\x64\x6e\x53\x73\x72\x47\x76','\x57\x37\x62\x31\x57\x52\x43\x4f\x71\x61','\x63\x77\x37\x63\x4b\x73\x76\x58','\x57\x51\x52\x63\x4e\x53\x6f\x4b\x57\x4f\x44\x48\x57\x50\x70\x64\x49\x31\x38','\x57\x50\x4e\x64\x4c\x6d\x6b\x39\x57\x36\x46\x63\x56\x6d\x6f\x48\x46\x6d\x6b\x2f','\x68\x6d\x6b\x65\x57\x50\x6d\x42\x66\x47\x46\x64\x51\x53\x6b\x5a','\x57\x52\x56\x63\x52\x38\x6f\x42\x6a\x57','\x74\x6d\x6b\x41\x57\x50\x75\x62\x65\x47\x68\x64\x4f\x43\x6f\x2f','\x57\x4f\x7a\x51\x68\x53\x6f\x4f\x57\x51\x65\x6a\x7a\x57','\x57\x36\x52\x64\x49\x43\x6f\x71\x6c\x57\x70\x64\x4b\x57','\x73\x43\x6b\x39\x57\x4f\x57\x4f\x62\x43\x6b\x62\x57\x52\x7a\x63','\x79\x43\x6b\x41\x63\x38\x6b\x55\x69\x6d\x6f\x79\x57\x36\x4c\x50','\x57\x50\x6a\x6c\x64\x48\x54\x53\x57\x36\x4f\x4c\x57\x37\x47','\x57\x36\x4e\x64\x4c\x38\x6f\x61','\x57\x34\x46\x64\x51\x38\x6f\x52\x65\x59\x42\x63\x52\x61\x78\x64\x56\x71','\x76\x43\x6b\x42\x57\x52\x57\x43\x65\x57\x56\x64\x55\x53\x6f\x32','\x57\x52\x6a\x5a\x6a\x73\x72\x54\x57\x34\x79\x64\x57\x34\x38','\x6d\x38\x6f\x4e\x79\x76\x78\x63\x52\x6d\x6b\x4d\x57\x34\x6a\x79','\x57\x37\x39\x2b\x71\x6d\x6f\x34\x70\x48\x74\x63\x54\x4b\x53\x4c\x6f\x61','\x46\x43\x6f\x56\x68\x64\x64\x63\x50\x68\x52\x64\x55\x47','\x57\x34\x37\x64\x56\x6d\x6f\x4b\x43\x43\x6b\x73\x57\x35\x5a\x63\x48\x66\x30','\x57\x51\x34\x4b\x63\x38\x6b\x30\x68\x58\x56\x63\x52\x30\x43','\x57\x50\x65\x73\x77\x4b\x56\x63\x4b\x53\x6f\x6d\x69\x38\x6b\x69','\x57\x36\x43\x73\x57\x34\x69\x65\x6b\x49\x79','\x45\x77\x47\x32\x57\x4f\x64\x64\x4c\x71\x4e\x64\x55\x6d\x6f\x37\x41\x71','\x61\x63\x39\x32\x57\x50\x69\x6d\x62\x57','\x57\x50\x52\x64\x4e\x47\x6c\x64\x4d\x38\x6b\x73','\x57\x35\x72\x59\x6c\x30\x64\x63\x4e\x38\x6f\x51\x76\x43\x6f\x4c','\x57\x50\x61\x79\x75\x53\x6b\x71\x77\x38\x6b\x70\x57\x4f\x76\x34','\x57\x51\x4a\x64\x50\x30\x74\x63\x4b\x38\x6f\x69\x66\x38\x6f\x6d\x57\x35\x37\x64\x50\x53\x6b\x36\x61\x53\x6b\x68\x46\x61','\x44\x67\x38\x30\x57\x37\x5a\x63\x53\x4e\x68\x64\x55\x6d\x6f\x39\x76\x61\x52\x64\x4d\x59\x57','\x6c\x59\x35\x68\x6b\x43\x6f\x65','\x57\x35\x6e\x50\x64\x4c\x33\x63\x47\x38\x6f\x4b\x75\x53\x6f\x4b','\x57\x50\x71\x74\x75\x65\x33\x63\x4b\x38\x6f\x6f\x69\x43\x6b\x62','\x57\x34\x33\x63\x51\x43\x6b\x7a\x57\x52\x61\x51\x68\x62\x42\x63\x49\x47','\x57\x52\x46\x63\x54\x71\x78\x64\x49\x53\x6b\x76\x72\x43\x6b\x70\x57\x52\x47','\x57\x34\x47\x4c\x77\x47\x79\x55\x62\x47','\x44\x61\x47\x75\x63\x43\x6b\x47\x57\x34\x4b\x4a\x57\x36\x57','\x44\x77\x4b\x33\x57\x37\x33\x63\x53\x57\x78\x64\x55\x53\x6f\x33\x72\x5a\x4e\x64\x47\x71','\x41\x38\x6b\x79\x6e\x63\x65','\x43\x38\x6b\x66\x70\x49\x31\x66\x6a\x43\x6b\x31\x41\x57','\x62\x6d\x6f\x4b\x75\x30\x4a\x63\x53\x38\x6f\x56\x57\x37\x4c\x54','\x6b\x43\x6f\x4e\x72\x71','\x57\x50\x35\x42\x57\x35\x64\x64\x4f\x43\x6b\x2b','\x6b\x43\x6b\x4b\x57\x36\x38\x4d\x46\x43\x6b\x62','\x57\x4f\x71\x6f\x71\x75\x33\x63\x4c\x6d\x6f\x6b\x70\x57','\x6b\x53\x6b\x59\x57\x52\x38\x66\x68\x53\x6b\x69\x7a\x43\x6f\x6d','\x57\x36\x62\x31\x57\x34\x4e\x63\x54\x71','\x57\x34\x75\x2f\x77\x47\x71\x30\x77\x43\x6b\x77','\x57\x36\x50\x36\x57\x36\x4c\x34','\x65\x38\x6f\x4d\x57\x34\x35\x52\x75\x53\x6f\x77\x57\x36\x54\x76\x69\x53\x6b\x54\x57\x51\x50\x45\x73\x57','\x67\x63\x75\x34\x57\x50\x71\x77\x74\x38\x6f\x61\x57\x50\x4b','\x74\x43\x6b\x37\x57\x50\x4b\x35\x63\x6d\x6b\x7a\x57\x52\x48\x6c','\x43\x75\x64\x63\x51\x71','\x57\x37\x33\x64\x56\x43\x6f\x44\x69\x6d\x6f\x41\x62\x32\x61\x48','\x57\x4f\x34\x30\x77\x62\x4b\x57\x78\x43\x6b\x76\x57\x37\x75','\x57\x37\x46\x64\x4a\x53\x6f\x62\x6c\x72\x37\x63\x49\x64\x52\x64\x48\x57','\x69\x38\x6b\x6f\x66\x57\x5a\x64\x4d\x71','\x57\x37\x2f\x63\x4f\x49\x42\x64\x4a\x73\x31\x66\x78\x71\x30','\x57\x50\x4a\x64\x51\x53\x6f\x64\x57\x52\x53\x67\x6e\x61\x74\x63\x49\x71\x43','\x57\x37\x37\x64\x55\x6d\x6b\x7a\x62\x38\x6f\x63\x69\x67\x65\x48\x78\x71','\x57\x51\x34\x2f\x64\x6d\x6b\x57\x61\x4b\x61','\x57\x34\x50\x4e\x6a\x71','\x57\x35\x71\x39\x43\x53\x6f\x65\x71\x38\x6f\x6d\x57\x52\x46\x63\x4e\x71','\x57\x37\x33\x63\x4f\x48\x33\x64\x4d\x64\x69','\x57\x37\x5a\x64\x53\x62\x52\x64\x4c\x53\x6f\x79\x73\x53\x6b\x71\x57\x36\x69','\x57\x37\x64\x64\x4f\x43\x6f\x6d\x57\x36\x57\x59','\x57\x34\x46\x64\x54\x43\x6f\x61\x57\x50\x64\x63\x4f\x53\x6b\x7a\x45\x6d\x6b\x36','\x57\x37\x52\x63\x54\x73\x4a\x63\x51\x71\x61\x52\x42\x59\x34','\x73\x6d\x6b\x48\x57\x52\x4b\x31\x62\x43\x6b\x6a\x57\x51\x39\x63','\x45\x65\x5a\x64\x56\x76\x47','\x57\x34\x4e\x63\x55\x38\x6f\x77\x57\x36\x35\x64\x57\x52\x5a\x64\x53\x77\x6d','\x57\x50\x44\x48\x67\x43\x6f\x55','\x57\x51\x37\x64\x4f\x30\x78\x63\x4e\x6d\x6f\x6f\x68\x6d\x6b\x37\x57\x34\x70\x64\x4c\x6d\x6b\x4f\x6f\x38\x6b\x42','\x57\x4f\x75\x4e\x67\x43\x6b\x50\x68\x66\x52\x63\x4f\x75\x30','\x57\x52\x4a\x63\x55\x6d\x6f\x62\x6a\x38\x6f\x6f','\x57\x4f\x69\x6d\x70\x43\x6b\x46\x6d\x4a\x78\x63\x4a\x77\x34','\x57\x36\x2f\x63\x47\x43\x6f\x34\x57\x34\x50\x56\x57\x50\x70\x63\x4b\x76\x43','\x57\x35\x44\x52\x57\x34\x68\x63\x53\x43\x6f\x73\x57\x37\x5a\x63\x4b\x53\x6b\x45','\x57\x34\x6c\x64\x4f\x53\x6f\x53\x46\x38\x6b\x77\x57\x36\x43','\x57\x50\x71\x65\x72\x6d\x6b\x4e\x67\x71','\x57\x34\x42\x64\x51\x71\x70\x64\x4c\x38\x6f\x52\x6d\x4e\x52\x64\x48\x71','\x6d\x75\x48\x6b\x73\x47','\x57\x37\x66\x50\x57\x35\x74\x63\x51\x53\x6f\x77\x57\x37\x64\x63\x4a\x57','\x57\x50\x4a\x63\x51\x43\x6b\x66\x57\x35\x33\x64\x55\x53\x6f\x61\x75\x43\x6b\x6b\x57\x50\x6c\x63\x51\x58\x2f\x63\x54\x61','\x44\x6d\x6f\x62\x41\x38\x6f\x76\x6c\x6d\x6f\x55\x57\x51\x48\x6c','\x57\x52\x6a\x5a\x6e\x73\x76\x74\x57\x34\x4f\x65','\x57\x4f\x68\x64\x56\x38\x6f\x66\x57\x4f\x56\x63\x4f\x43\x6b\x7a\x7a\x43\x6f\x58','\x77\x4c\x75\x49\x43\x53\x6b\x35\x57\x50\x37\x63\x52\x63\x46\x64\x56\x77\x62\x2b','\x57\x50\x31\x62\x57\x51\x4a\x64\x56\x71\x68\x63\x50\x6d\x6f\x6d\x68\x47','\x62\x62\x62\x2b\x6c\x43\x6f\x4f\x57\x50\x71','\x57\x35\x33\x63\x4d\x73\x64\x64\x50\x6d\x6b\x36\x41\x6d\x6b\x36\x57\x34\x4b','\x57\x37\x70\x63\x4d\x43\x6f\x45\x57\x36\x58\x67','\x6b\x66\x54\x42','\x57\x34\x46\x64\x52\x53\x6f\x68\x57\x50\x74\x64\x54\x47','\x57\x51\x7a\x30\x57\x36\x34','\x57\x50\x4c\x4b\x66\x4b\x34\x73\x75\x53\x6b\x72\x57\x52\x6c\x64\x53\x77\x65','\x79\x63\x31\x58\x57\x51\x42\x64\x55\x74\x37\x64\x4f\x38\x6b\x2f'];_0x58ea=function(){return _0x47313f;};return _0x58ea();}function mergeState(_0x411c76,_0x3ecb04){const _0x210ab6=_0x4405f3,_0x3f42cd={..._0x411c76['\x65\x6e\x74\x72\x69\x65\x73']};for(const [_0x8f139f,_0x55afb3]of Object[_0x210ab6(0x1b9,'\x35\x31\x42\x2a')](_0x3ecb04[_0x210ab6(0x1c9,'\x28\x79\x72\x6f')]))_0x3f42cd[_0x8f139f]=Math[_0x210ab6(0x1b0,'\x72\x68\x58\x62')](_0x3f42cd[_0x8f139f]??-0x3ab+0x1cad+-0x1902,_0x55afb3);return{'\x76\x65\x72\x73\x69\x6f\x6e':0x1,'\x65\x6e\x74\x72\x69\x65\x73':_0x3f42cd};}function pruneState(_0x1733f0){const _0x549374=_0x4405f3;return{'\x76\x65\x72\x73\x69\x6f\x6e':0x1,'\x65\x6e\x74\x72\x69\x65\x73':Object[_0x549374(0x173,'\x6f\x4e\x57\x5a')+'\x69\x65\x73'](Object[_0x549374(0x1df,'\x75\x29\x78\x2a')](_0x1733f0)[_0x549374(0x1cf,'\x59\x78\x5d\x6c')]((_0x33503e,_0x29a89a)=>_0x29a89a[-0x1a1e+0x9ff+0x1020]-_0x33503e[0x6da+-0x26f7+0x100f*0x2])['\x73\x6c\x69\x63\x65'](0xf97+-0x1108+0x171,MAX_STATE_ENTRIES))};}
1
+ const _0x349c8f=_0x4e41;(function(_0x69f279,_0x3e2f91){const _0x4e2b02=_0x4e41,_0x58827f=_0x69f279();while(!![]){try{const _0x27aa57=parseInt(_0x4e2b02(0xde,'\x42\x26\x58\x28'))/(-0x169a+0x13*0x13c+-0xd9*0x1)+-parseInt(_0x4e2b02(0xd4,'\x24\x4b\x4b\x51'))/(0x5d1+-0x1*0x745+-0x22*-0xb)*(-parseInt(_0x4e2b02(0xec,'\x77\x67\x6c\x78'))/(-0x1*-0x20d1+0x19ad+-0x551*0xb))+parseInt(_0x4e2b02(0x111,'\x67\x4b\x2a\x41'))/(0x1b90+0xe*-0x7a+-0x14e0)+parseInt(_0x4e2b02(0xf8,'\x6c\x26\x4c\x21'))/(-0x1544+-0x2*-0x77c+-0x15*-0x4d)+parseInt(_0x4e2b02(0xc2,'\x21\x70\x4c\x57'))/(-0x1*0xca7+0x24d+0xa60)+-parseInt(_0x4e2b02(0xe5,'\x4f\x5e\x37\x59'))/(0x727*-0x3+0x9*0x337+-0x1*0x773)+-parseInt(_0x4e2b02(0x10f,'\x6d\x64\x56\x56'))/(0x1d4a+0x2318*-0x1+0x1f2*0x3)*(parseInt(_0x4e2b02(0x105,'\x77\x67\x6c\x78'))/(-0x1f*0x98+0x1159*-0x2+0x3d*0xdf));if(_0x27aa57===_0x3e2f91)break;else _0x58827f['push'](_0x58827f['shift']());}catch(_0x36dfa3){_0x58827f['push'](_0x58827f['shift']());}}}(_0x20fe,0x789a5+-0x750a7+0xdec42));const DEFAULT_COOLDOWN_MS=(0x515+-0x4*0x9aa+0x2199)*(-0x1*-0x445+0x7*0x1ea+-0x116f)*(0x1da5*-0xa+-0x1af9e+-0x6af0*-0x9),MIN_COOLDOWN_MS=0x61*-0x31d+0x137a0+0xe0bd,MAX_COOLDOWN_MS=(-0x11e5+0x1fa8+0x1f3*-0x7)*(-0x1587*0x1+-0x609+0x1ba8)*(0x3*0x9d1+-0x127*-0xf+-0x2e80)*(-0x10a66+-0xc178+-0xe76a*-0x3),MAX_STATE_ENTRIES=-0x8cb+0x1*-0x145e+0x1d49,STATE_KEY=_0x349c8f(0xc9,'\x42\x26\x58\x28')+_0x349c8f(0xfa,'\x2a\x75\x78\x55')+_0x349c8f(0x128,'\x59\x43\x4c\x71'),CLAIM_CODE_RE=/^[A-Za-z0-9][A-Za-z0-9_-]{1,127}$/;export function createClaimNudge(_0xa62603){const _0x434c5f=_0x349c8f,_0x4aad59=_0xa62603[_0x434c5f(0xb8,'\x6d\x64\x56\x56')]??process.env,_0x56b0e4=_0xa62603[_0x434c5f(0xd9,'\x67\x4b\x2a\x41')]??(()=>Date[_0x434c5f(0xea,'\x4f\x5e\x37\x59')]()),_0x2e48fb=_0xa62603[_0x434c5f(0xca,'\x69\x26\x38\x6b')]??(_0x1709e0=>{const _0x56162e=_0x434c5f;process[_0x56162e(0xb0,'\x2a\x75\x78\x55')]['\x77\x72\x69\x74\x65'](_0x1709e0);});let _0x25fe30={'\x76\x65\x72\x73\x69\x6f\x6e':0x1,'\x65\x6e\x74\x72\x69\x65\x73':{}};return _0x25f6e7=>{const _0x85b585=_0x434c5f;if(!_0x25f6e7['\x6f\x6b']||_0x4aad59['\x45\x56\x4f\x4c\x56\x45\x52\x5f'+_0x85b585(0xfe,'\x32\x49\x53\x61')+_0x85b585(0xe2,'\x58\x6a\x33\x76')+_0x85b585(0x102,'\x57\x4d\x59\x6c')]==='\x31')return![];const _0x53a94b=normalizeClaimCode(_0x25f6e7[_0x85b585(0xc6,'\x43\x6e\x6f\x46')+'\x65']),_0x2600cd=_0x53a94b?trustedClaimUrl(_0x25f6e7[_0x85b585(0xcf,'\x2a\x58\x40\x2a')],_0xa62603[_0x85b585(0x110,'\x4e\x4a\x64\x41')]):undefined;if(!_0x53a94b||!_0x2600cd)return![];const _0x2b2e01=_0x56b0e4(),_0x4e8ffc=claimNudgeCooldownMs(_0x4aad59[_0x85b585(0xcb,'\x6a\x5b\x55\x64')+_0x85b585(0x107,'\x58\x4d\x57\x37')+_0x85b585(0x11f,'\x51\x4a\x71\x4d')+_0x85b585(0xd3,'\x6a\x5b\x55\x64')]),_0x56f257=mergeState(readState(_0xa62603[_0x85b585(0xdc,'\x6f\x4a\x44\x4f')]),_0x25fe30),_0x295c31=_0x56f257[_0x85b585(0xf3,'\x48\x5a\x36\x76')][_0x53a94b]??-0x2*-0x646+-0x84c+-0x440;if(_0x295c31>-0x1*0x4fd+-0x1*-0x18df+0x5*-0x3fa&&_0x2b2e01-_0x295c31<_0x4e8ffc)return![];const _0x519abd=['',_0x85b585(0xce,'\x24\x4b\x4b\x51')+_0x85b585(0xbe,'\x23\x4f\x35\x43')+_0x85b585(0x120,'\x65\x78\x4d\x68')+'\x65\x20\x69\x73\x20\x6e\x6f\x74'+_0x85b585(0xd5,'\x4f\x5e\x37\x59')+_0x85b585(0xb6,'\x51\x4a\x71\x4d')+_0x85b585(0xcd,'\x57\x2a\x31\x73')+_0x85b585(0xed,'\x51\x24\x73\x6a')+'\x2e',_0x85b585(0xc4,'\x5d\x24\x50\x6c')+_0x85b585(0xb5,'\x59\x43\x4c\x71')+_0x2600cd,_0x85b585(0xf2,'\x38\x43\x65\x69')+_0x85b585(0xcc,'\x30\x5b\x41\x70')+_0x53a94b,'\x43\x6c\x61\x69\x6d\x69\x6e\x67'+'\x20\x69\x73\x20\x6f\x70\x74\x69'+_0x85b585(0xf0,'\x44\x52\x47\x70')+_0x85b585(0x121,'\x48\x5a\x36\x76')+_0x85b585(0xd1,'\x6e\x23\x21\x6b')+_0x85b585(0xba,'\x57\x35\x23\x36')+_0x85b585(0xfc,'\x6f\x4a\x44\x4f')+_0x85b585(0x100,'\x58\x6a\x33\x76'),''][_0x85b585(0xee,'\x32\x49\x53\x61')]('\x0a');try{_0x85b585(0xc5,'\x65\x36\x25\x32')===_0x85b585(0x122,'\x2a\x75\x78\x55')?_0x2e48fb(_0x519abd):_0x2cdba7[_0x85b585(0xf5,'\x57\x4d\x59\x6c')][_0x85b585(0xd8,'\x54\x73\x73\x50')](_0x6e76f0,_0x28c435[_0x85b585(0xe9,'\x24\x4b\x4b\x51')+'\x79'](_0x5d1649));}catch{if(_0x85b585(0xc0,'\x4d\x44\x29\x37')===_0x85b585(0xf7,'\x43\x6e\x6f\x46'))return![];else{if(_0x37c497[_0x85b585(0x11c,'\x58\x6a\x33\x76')](_0x467d13)&&typeof _0x49b6da===_0x85b585(0x126,'\x46\x54\x53\x4b')&&_0x3c02fc[_0x85b585(0xf6,'\x46\x54\x53\x4b')](_0x371f18)&&_0x3d47be>0xb9d*-0x2+0x4*0x7ae+-0x77e)_0x173b32[_0x484dce]=_0x1b7853;}}_0x25fe30=pruneState({..._0x56f257[_0x85b585(0x10e,'\x77\x4d\x26\x5b')],[_0x53a94b]:_0x2b2e01});try{_0xa62603[_0x85b585(0xf5,'\x57\x4d\x59\x6c')][_0x85b585(0xff,'\x6f\x4a\x44\x4f')](STATE_KEY,JSON[_0x85b585(0xe6,'\x65\x36\x25\x32')+'\x79'](_0x25fe30));}catch{}return!![];};}function _0x4e41(_0x4b3c4c,_0xff3252){_0x4b3c4c=_0x4b3c4c-(-0x1a32+-0xb*-0x160+0xbc1);const _0x4bda38=_0x20fe();let _0x5aedbe=_0x4bda38[_0x4b3c4c];if(_0x4e41['\x73\x75\x75\x67\x44\x4b']===undefined){var _0x4a2bd8=function(_0x4a833e){const _0x583c01='\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 _0x5b2cc8='',_0x332879='';for(let _0x48a2c6=-0x76f*0x3+0xe*0x1+0x163f,_0x3b3215,_0x1928cb,_0x490b93=-0xe*0x4f+0x1b82+-0x1730;_0x1928cb=_0x4a833e['\x63\x68\x61\x72\x41\x74'](_0x490b93++);~_0x1928cb&&(_0x3b3215=_0x48a2c6%(-0x1*-0x1913+-0xc70+-0xc9f)?_0x3b3215*(0x2532+0x2a*0x13+0x502*-0x8)+_0x1928cb:_0x1928cb,_0x48a2c6++%(-0x2d*0x2b+-0x1*-0x14c6+0x6d*-0x1f))?_0x5b2cc8+=String['\x66\x72\x6f\x6d\x43\x68\x61\x72\x43\x6f\x64\x65'](-0x449*0x7+0x1*0x19fe+0x10*0x50&_0x3b3215>>(-(0x245b+0x124*0x2+-0x26a1)*_0x48a2c6&-0x93b*-0x2+0x84d+0x1*-0x1abd)):-0x1bac+0x12e4+0x8c8){_0x1928cb=_0x583c01['\x69\x6e\x64\x65\x78\x4f\x66'](_0x1928cb);}for(let _0x4d0061=0x1c64+-0x28*-0x45+-0x272c,_0x57b8cb=_0x5b2cc8['\x6c\x65\x6e\x67\x74\x68'];_0x4d0061<_0x57b8cb;_0x4d0061++){_0x332879+='\x25'+('\x30\x30'+_0x5b2cc8['\x63\x68\x61\x72\x43\x6f\x64\x65\x41\x74'](_0x4d0061)['\x74\x6f\x53\x74\x72\x69\x6e\x67'](0x1*-0x1af0+0x3*0x490+0xd50))['\x73\x6c\x69\x63\x65'](-(-0x261c+0x1*0xf27+0x16f7*0x1));}return decodeURIComponent(_0x332879);};const _0x2c38ca=function(_0xde20e1,_0x1b971d){let _0x52d8e3=[],_0x835c51=0x1*-0x98c+0x6b*0x7+-0x1*-0x69f,_0x388614,_0x215372='';_0xde20e1=_0x4a2bd8(_0xde20e1);let _0x3efa15;for(_0x3efa15=-0x7af+-0x7a6+-0x9d*-0x19;_0x3efa15<-0x1254+0x1*-0x1fef+0x1*0x3343;_0x3efa15++){_0x52d8e3[_0x3efa15]=_0x3efa15;}for(_0x3efa15=-0x1*-0x23b9+-0x47*-0x72+0x1*-0x4357;_0x3efa15<-0x15*0xfb+0x5*0x49f+-0x184;_0x3efa15++){_0x835c51=(_0x835c51+_0x52d8e3[_0x3efa15]+_0x1b971d['\x63\x68\x61\x72\x43\x6f\x64\x65\x41\x74'](_0x3efa15%_0x1b971d['\x6c\x65\x6e\x67\x74\x68']))%(0x20f*0x8+0x103a+0x2*-0xfd9),_0x388614=_0x52d8e3[_0x3efa15],_0x52d8e3[_0x3efa15]=_0x52d8e3[_0x835c51],_0x52d8e3[_0x835c51]=_0x388614;}_0x3efa15=0x18bd+-0x1b*-0xb+-0x5*0x52e,_0x835c51=0xbcf*-0x3+0x69f+0x3*0x99a;for(let _0x966033=-0x140a+0x142b+-0x21;_0x966033<_0xde20e1['\x6c\x65\x6e\x67\x74\x68'];_0x966033++){_0x3efa15=(_0x3efa15+(-0x70e+-0x2*0xe9+0x8e1))%(-0x5cd+0x8ec+-0x21f*0x1),_0x835c51=(_0x835c51+_0x52d8e3[_0x3efa15])%(-0x150b+0x22*-0x51+0x137*0x1b),_0x388614=_0x52d8e3[_0x3efa15],_0x52d8e3[_0x3efa15]=_0x52d8e3[_0x835c51],_0x52d8e3[_0x835c51]=_0x388614,_0x215372+=String['\x66\x72\x6f\x6d\x43\x68\x61\x72\x43\x6f\x64\x65'](_0xde20e1['\x63\x68\x61\x72\x43\x6f\x64\x65\x41\x74'](_0x966033)^_0x52d8e3[(_0x52d8e3[_0x3efa15]+_0x52d8e3[_0x835c51])%(0x136a+-0x6*0x40e+0x5ea)]);}return _0x215372;};_0x4e41['\x52\x4e\x61\x54\x63\x58']=_0x2c38ca,_0x4e41['\x4e\x6a\x55\x4c\x4e\x51']={},_0x4e41['\x73\x75\x75\x67\x44\x4b']=!![];}const _0xcee8eb=_0x4bda38[0x248b+0x1*0x6e2+-0x2b6d],_0xa0b289=_0x4b3c4c+_0xcee8eb,_0x422388=_0x4e41['\x4e\x6a\x55\x4c\x4e\x51'][_0xa0b289];return!_0x422388?(_0x4e41['\x49\x79\x6c\x51\x4b\x47']===undefined&&(_0x4e41['\x49\x79\x6c\x51\x4b\x47']=!![]),_0x5aedbe=_0x4e41['\x52\x4e\x61\x54\x63\x58'](_0x5aedbe,_0xff3252),_0x4e41['\x4e\x6a\x55\x4c\x4e\x51'][_0xa0b289]=_0x5aedbe):_0x5aedbe=_0x422388,_0x5aedbe;}function _0x20fe(){const _0x1d4660=['\x57\x52\x33\x63\x48\x47\x76\x48\x78\x43\x6f\x31\x75\x74\x46\x63\x49\x75\x34\x6c\x57\x51\x65','\x57\x37\x74\x63\x50\x53\x6f\x44\x77\x67\x2f\x63\x4b\x61','\x57\x35\x76\x72\x73\x65\x4c\x69\x57\x35\x54\x6f','\x63\x38\x6b\x61\x46\x53\x6b\x44\x6a\x61','\x41\x38\x6f\x30\x44\x43\x6f\x4c\x57\x51\x56\x63\x4f\x4a\x2f\x64\x47\x38\x6b\x50\x57\x51\x70\x63\x4e\x74\x78\x64\x4a\x47','\x57\x51\x44\x66\x6f\x4d\x53\x54','\x76\x59\x42\x63\x4f\x72\x4e\x64\x48\x4e\x69\x76\x57\x37\x6d','\x77\x6d\x6f\x37\x6f\x61\x30','\x57\x34\x35\x42\x70\x5a\x66\x32\x61\x6d\x6b\x46','\x67\x38\x6b\x51\x46\x75\x54\x49\x57\x50\x52\x63\x4b\x33\x66\x73\x61\x78\x65\x62\x57\x50\x57','\x57\x34\x6c\x63\x4c\x43\x6b\x78\x79\x4a\x57\x51\x44\x6d\x6b\x50','\x57\x37\x39\x44\x69\x4a\x61\x2f\x63\x38\x6b\x64\x57\x37\x4f','\x63\x72\x31\x4d\x71\x6d\x6f\x34\x57\x52\x74\x64\x4e\x61\x43','\x41\x62\x71\x41\x6a\x47\x53','\x79\x72\x38\x43\x63\x30\x71','\x57\x34\x57\x39\x57\x36\x75\x69\x6c\x47','\x6d\x38\x6b\x4b\x46\x71','\x57\x4f\x68\x63\x4e\x4b\x34\x43\x69\x33\x38','\x57\x4f\x71\x36\x42\x6d\x6f\x6a\x46\x57','\x57\x37\x78\x63\x4f\x43\x6f\x71\x77\x67\x70\x64\x48\x6d\x6b\x74\x61\x71','\x79\x43\x6b\x35\x6e\x43\x6b\x53\x57\x52\x43','\x57\x35\x6e\x71\x57\x37\x4a\x63\x55\x43\x6b\x6c\x57\x37\x68\x64\x4f\x61','\x45\x63\x6d\x34\x6b\x63\x4c\x6a','\x57\x36\x37\x63\x50\x53\x6b\x4d\x74\x75\x75','\x57\x50\x52\x63\x52\x6d\x6f\x50\x57\x35\x61','\x57\x4f\x52\x63\x48\x76\x43\x6d\x6c\x32\x4a\x63\x4d\x57','\x57\x4f\x46\x63\x4c\x78\x39\x2b\x63\x71','\x57\x35\x46\x64\x52\x53\x6b\x75','\x57\x37\x6c\x63\x56\x43\x6f\x59\x78\x62\x66\x66\x46\x53\x6b\x74','\x69\x6d\x6f\x67\x7a\x38\x6f\x59\x57\x37\x39\x55\x6a\x6d\x6b\x63\x69\x58\x44\x79\x77\x61','\x57\x52\x74\x64\x52\x53\x6b\x7a','\x57\x4f\x42\x63\x4a\x4c\x61','\x57\x37\x5a\x63\x4e\x4b\x69\x32\x73\x53\x6b\x31\x46\x48\x61','\x57\x37\x38\x39\x57\x37\x75\x30','\x68\x43\x6b\x34\x6d\x53\x6b\x6e\x63\x38\x6b\x57\x57\x52\x52\x63\x47\x61','\x74\x67\x5a\x63\x53\x4a\x5a\x64\x4f\x38\x6b\x6b\x57\x50\x44\x62','\x67\x53\x6f\x79\x6e\x38\x6b\x65\x75\x43\x6f\x4c\x57\x34\x58\x62','\x6d\x53\x6f\x65\x57\x35\x33\x64\x53\x38\x6f\x61\x64\x6d\x6f\x50\x75\x61','\x57\x34\x30\x77\x6b\x38\x6b\x75\x57\x35\x69','\x77\x53\x6f\x62\x6b\x57','\x43\x78\x7a\x4b\x79\x43\x6f\x57\x57\x37\x39\x4d\x6e\x6d\x6b\x43\x41\x53\x6f\x6f\x57\x51\x38\x6f','\x57\x4f\x52\x63\x48\x75\x43\x6e\x65\x77\x74\x63\x4e\x6d\x6f\x53','\x57\x50\x4f\x43\x57\x4f\x44\x50\x57\x52\x69\x46\x57\x51\x4a\x64\x54\x57','\x79\x38\x6b\x45\x41\x43\x6b\x52\x6d\x47','\x61\x6d\x6b\x4e\x57\x36\x70\x63\x4d\x6d\x6b\x55\x57\x36\x69\x42\x57\x34\x71','\x42\x4a\x4b\x4f\x70\x5a\x6a\x45\x57\x36\x4f','\x70\x38\x6b\x51\x6f\x6d\x6b\x49\x57\x37\x78\x64\x54\x33\x34','\x6c\x75\x46\x64\x54\x6d\x6f\x49\x74\x64\x61\x5a\x46\x61','\x57\x35\x54\x71\x68\x38\x6f\x65\x41\x61','\x6c\x43\x6b\x44\x67\x6d\x6b\x5a\x6d\x38\x6b\x75\x57\x4f\x78\x63\x55\x47','\x57\x37\x69\x62\x64\x49\x61','\x69\x38\x6b\x4f\x46\x6d\x6b\x4c\x76\x53\x6b\x69\x76\x53\x6f\x79','\x69\x68\x68\x63\x56\x4e\x2f\x63\x4b\x5a\x7a\x41\x6a\x61','\x72\x4e\x70\x63\x4c\x74\x5a\x64\x4f\x6d\x6b\x32\x57\x50\x66\x69','\x71\x68\x68\x63\x47\x63\x46\x64\x50\x6d\x6b\x67\x57\x50\x61','\x78\x59\x42\x64\x4e\x74\x57\x77\x57\x50\x31\x46\x57\x34\x53','\x70\x43\x6b\x48\x6f\x6d\x6b\x64\x57\x36\x4a\x64\x53\x33\x4e\x64\x4e\x57','\x6c\x6d\x6b\x65\x61\x6d\x6b\x58\x6f\x53\x6b\x43\x57\x4f\x71','\x73\x73\x6c\x64\x56\x63\x64\x64\x48\x33\x7a\x6c\x6f\x43\x6f\x63\x7a\x38\x6b\x44\x71\x47','\x66\x78\x50\x75\x57\x52\x50\x34\x6f\x71\x5a\x63\x56\x57','\x57\x34\x6d\x34\x57\x50\x61\x5a\x66\x30\x79\x70\x57\x51\x74\x64\x51\x73\x62\x69\x57\x35\x4f','\x62\x63\x6e\x36\x57\x51\x35\x58\x65\x62\x5a\x64\x4b\x71','\x57\x37\x47\x39\x57\x37\x69\x74\x63\x6d\x6f\x78\x67\x43\x6b\x63','\x57\x50\x30\x32\x6e\x61','\x57\x51\x39\x44\x44\x4e\x6a\x55\x61\x4e\x6c\x63\x55\x61','\x74\x4e\x6e\x6d','\x75\x67\x7a\x42\x66\x5a\x57','\x57\x4f\x79\x6d\x57\x4f\x2f\x63\x4d\x49\x43','\x44\x58\x4a\x63\x50\x53\x6b\x31\x67\x68\x4f\x6a\x44\x43\x6b\x4d\x61\x49\x64\x63\x53\x47','\x57\x4f\x76\x56\x57\x35\x44\x59\x76\x58\x4f\x4b\x57\x51\x75','\x6f\x4d\x7a\x55\x45\x32\x30\x64\x57\x51\x4e\x63\x52\x4a\x2f\x63\x50\x4e\x76\x39\x63\x71','\x57\x37\x4b\x77\x78\x77\x44\x30\x68\x61','\x42\x38\x6f\x73\x63\x4a\x61\x77\x57\x37\x46\x64\x51\x77\x65','\x57\x4f\x61\x69\x57\x4f\x2f\x63\x4d\x49\x53\x62\x57\x52\x53','\x64\x53\x6b\x51\x57\x37\x4f','\x61\x49\x69\x6c\x57\x36\x79\x51\x42\x4c\x5a\x64\x4d\x53\x6b\x38\x6d\x53\x6b\x6e\x75\x43\x6b\x54','\x43\x38\x6b\x50\x78\x43\x6b\x50\x64\x66\x31\x4d\x45\x57','\x72\x6d\x6f\x58\x6f\x61\x30\x31\x57\x34\x4e\x64\x49\x4c\x65','\x78\x38\x6f\x58\x6f\x71\x30','\x63\x67\x64\x63\x55\x4e\x4e\x63\x4b\x73\x44\x77\x6d\x61','\x77\x33\x4c\x6b','\x57\x52\x74\x64\x52\x53\x6b\x42\x57\x36\x74\x63\x4e\x38\x6b\x69\x75\x57','\x57\x36\x68\x64\x51\x31\x39\x72\x61\x71\x4f\x77\x44\x61','\x57\x50\x7a\x46\x57\x36\x2f\x63\x51\x6d\x6b\x6e\x57\x36\x68\x64\x56\x43\x6f\x53','\x45\x6d\x6b\x46\x6f\x53\x6b\x53','\x72\x4e\x50\x75\x57\x52\x44\x32','\x6e\x78\x65\x68\x6a\x43\x6f\x37\x68\x53\x6b\x4e\x57\x50\x75','\x73\x4a\x31\x6d\x77\x75\x47','\x67\x43\x6b\x4f\x6c\x43\x6b\x35\x57\x37\x68\x63\x53\x4d\x37\x64\x4c\x71','\x63\x76\x6e\x49\x71\x6d\x6f\x2b\x57\x51\x4e\x64\x4c\x47','\x73\x43\x6f\x57\x70\x57\x53\x59\x57\x34\x33\x64\x4c\x61','\x73\x43\x6b\x36\x6d\x43\x6f\x4b\x77\x47','\x57\x4f\x42\x63\x4d\x67\x75\x78\x6b\x67\x74\x63\x4e\x6d\x6f\x48','\x63\x38\x6b\x54\x57\x34\x4e\x63\x4b\x38\x6b\x6d','\x57\x4f\x79\x77\x75\x53\x6b\x39\x79\x59\x70\x64\x49\x68\x35\x44\x6d\x68\x79\x2b\x41\x57','\x57\x52\x2f\x63\x56\x68\x6a\x6f\x61\x64\x69','\x42\x4d\x30\x2f\x69\x74\x50\x73\x57\x37\x74\x63\x50\x47','\x61\x6d\x6b\x4b\x6a\x6d\x6b\x6c\x63\x38\x6b\x57\x57\x52\x52\x63\x47\x61','\x61\x32\x76\x44\x65\x74\x66\x70\x57\x51\x4e\x63\x56\x47','\x57\x37\x33\x63\x50\x53\x6f\x42\x75\x4b\x70\x63\x4b\x6d\x6b\x72\x71\x47','\x76\x53\x6b\x35\x61\x6d\x6b\x64\x57\x4f\x75\x75\x66\x43\x6b\x59','\x75\x68\x44\x61\x6e\x49\x31\x62\x57\x51\x4a\x63\x52\x57','\x64\x6d\x6f\x33\x70\x31\x43','\x57\x37\x6c\x63\x50\x38\x6f\x31\x74\x78\x74\x63\x4e\x38\x6b\x43','\x46\x53\x6b\x6a\x67\x57','\x79\x59\x6d\x4f\x70\x73\x47\x62','\x57\x37\x38\x33\x57\x35\x75\x30\x64\x53\x6f\x46\x61\x38\x6b\x61','\x57\x36\x4e\x64\x50\x31\x50\x7a\x65\x64\x79\x47\x44\x71','\x43\x6d\x6f\x65\x57\x34\x78\x64\x55\x38\x6f\x7a\x62\x71','\x46\x38\x6f\x47\x46\x48\x6d\x4b\x57\x52\x6c\x63\x4f\x48\x4b','\x70\x33\x65\x73\x6f\x38\x6b\x50\x77\x38\x6b\x47','\x6e\x67\x4f\x6c\x6b\x38\x6b\x4c\x74\x61','\x57\x51\x4b\x63\x57\x4f\x4c\x30\x57\x52\x62\x43\x57\x50\x6c\x64\x49\x71','\x57\x52\x61\x76\x57\x50\x75','\x6a\x65\x64\x64\x50\x53\x6f\x31\x72\x49\x57\x4a','\x57\x51\x74\x63\x52\x68\x66\x67','\x76\x58\x34\x67\x64\x68\x33\x64\x48\x43\x6f\x76','\x57\x36\x70\x63\x55\x6d\x6f\x43\x57\x51\x37\x64\x47\x43\x6f\x46\x45\x53\x6b\x54\x6c\x53\x6f\x46\x57\x36\x37\x63\x53\x47','\x6e\x53\x6b\x57\x7a\x33\x44\x78\x64\x61','\x57\x34\x6a\x4f\x43\x43\x6f\x46\x79\x6d\x6f\x43\x69\x53\x6f\x52\x57\x34\x6e\x51\x57\x4f\x4a\x63\x52\x38\x6b\x77','\x64\x33\x68\x63\x55\x32\x71','\x7a\x43\x6b\x5a\x77\x38\x6b\x59\x63\x31\x39\x38','\x65\x33\x56\x63\x55\x32\x74\x63\x4b\x73\x66\x73\x6d\x57'];_0x20fe=function(){return _0x1d4660;};return _0x20fe();}export function wrapHelloWithClaimNudge(_0x23713e,_0x43d249){return async _0x4df8dc=>{const _0x5c6576=await _0x23713e(_0x4df8dc);try{_0x43d249(_0x5c6576);}catch{}return _0x5c6576;};}export function claimNudgeCooldownMs(_0x339a2a){const _0xbeff87=_0x349c8f,_0x209ed1=Number(_0x339a2a);if(!Number[_0xbeff87(0xbd,'\x2a\x58\x40\x2a')](_0x209ed1)||_0x209ed1<=-0x1*-0x47d+-0xc09+0x78c)return DEFAULT_COOLDOWN_MS;return Math[_0xbeff87(0x125,'\x4e\x4a\x64\x41')](MIN_COOLDOWN_MS,Math[_0xbeff87(0xc1,'\x23\x4f\x35\x43')](Math[_0xbeff87(0x11a,'\x46\x55\x5a\x70')](_0x209ed1),MAX_COOLDOWN_MS));}function normalizeClaimCode(_0x1fec0d){const _0x200817=_0x349c8f,_0xf746b5=_0x1fec0d?.[_0x200817(0xb2,'\x56\x5b\x63\x5a')]();return _0xf746b5&&CLAIM_CODE_RE[_0x200817(0x112,'\x24\x4b\x4b\x51')](_0xf746b5)?_0xf746b5:undefined;}function trustedClaimUrl(_0x40f21c,_0x1d5900){const _0x2bdd12=_0x349c8f,_0x33f6bd=_0x40f21c?.[_0x2bdd12(0x10d,'\x77\x67\x6c\x78')]();if(!_0x33f6bd||_0x33f6bd[_0x2bdd12(0x106,'\x44\x46\x6a\x54')]>0x1*0xf45+0xda1+-0x1*0x14e6)return undefined;try{if(_0x2bdd12(0xf1,'\x55\x7a\x72\x65')!==_0x2bdd12(0x129,'\x32\x49\x53\x61')){const _0x32af5e={..._0x18f592[_0x2bdd12(0xeb,'\x6d\x64\x56\x56')]};for(const [_0x295b18,_0x1e4e2f]of _0x289b7a['\x65\x6e\x74\x72\x69\x65\x73'](_0x3a93f4[_0x2bdd12(0xd0,'\x2a\x58\x40\x2a')]))_0x32af5e[_0x295b18]=_0x477d[_0x2bdd12(0xe4,'\x43\x6e\x6f\x46')](_0x32af5e[_0x295b18]??-0xde2*-0x1+-0x1559+0x777,_0x1e4e2f);return{'\x76\x65\x72\x73\x69\x6f\x6e':0x1,'\x65\x6e\x74\x72\x69\x65\x73':_0x32af5e};}else{const _0x1495d7=new URL(_0x33f6bd),_0x578add=new URL(_0x1d5900);if(_0x1495d7[_0x2bdd12(0xbc,'\x6a\x5b\x55\x64')]||_0x1495d7[_0x2bdd12(0xdf,'\x6a\x4c\x29\x52')])return undefined;const _0x441c60=_0x1495d7[_0x2bdd12(0xe1,'\x30\x5b\x41\x70')]===_0x578add[_0x2bdd12(0x116,'\x59\x43\x4c\x71')],_0x3d30d8=_0x1495d7[_0x2bdd12(0xe7,'\x58\x6a\x33\x76')]==='\x65\x76\x6f\x6d\x61\x70\x2e\x61'+'\x69'||_0x1495d7[_0x2bdd12(0xfb,'\x6a\x5b\x55\x64')][_0x2bdd12(0xc3,'\x46\x54\x53\x4b')](_0x2bdd12(0xbf,'\x44\x46\x6a\x54')+'\x61\x69');if(_0x1495d7[_0x2bdd12(0x10a,'\x5d\x24\x50\x6c')]===_0x2bdd12(0x103,'\x2a\x75\x78\x55')&&(_0x441c60||_0x3d30d8))return _0x1495d7['\x74\x6f\x53\x74\x72\x69\x6e\x67']();if(_0x1495d7[_0x2bdd12(0x11b,'\x4d\x57\x4c\x4e')]===_0x2bdd12(0xb1,'\x51\x4a\x71\x4d')&&_0x441c60&&isLoopback(_0x1495d7[_0x2bdd12(0x114,'\x24\x4b\x4b\x51')]))return _0x1495d7[_0x2bdd12(0x104,'\x54\x73\x73\x50')]();}}catch{}return undefined;}function isLoopback(_0xca93af){const _0x1a54c7=_0x349c8f;return _0xca93af==='\x6c\x6f\x63\x61\x6c\x68\x6f\x73'+'\x74'||_0xca93af==='\x31\x32\x37\x2e\x30\x2e\x30\x2e'+'\x31'||_0xca93af===_0x1a54c7(0x127,'\x33\x46\x4d\x64');}function readState(_0x1774b4){const _0x22f74a=_0x349c8f;try{if(_0x22f74a(0x123,'\x77\x4d\x26\x5b')==='\x69\x4c\x79\x49\x70')return{'\x76\x65\x72\x73\x69\x6f\x6e':0x1,'\x65\x6e\x74\x72\x69\x65\x73':{}};else{const _0x335f7a=_0x1774b4[_0x22f74a(0xd2,'\x38\x43\x65\x69')](STATE_KEY);if(!_0x335f7a)return{'\x76\x65\x72\x73\x69\x6f\x6e':0x1,'\x65\x6e\x74\x72\x69\x65\x73':{}};const _0x19c0a9=JSON[_0x22f74a(0xdd,'\x41\x70\x7a\x4d')](_0x335f7a);if(_0x19c0a9[_0x22f74a(0xe3,'\x41\x70\x7a\x4d')]!==-0x5*-0x51a+-0x254+-0x172d||!_0x19c0a9[_0x22f74a(0x113,'\x65\x36\x25\x32')]||typeof _0x19c0a9[_0x22f74a(0x11d,'\x65\x78\x4d\x68')]!==_0x22f74a(0xf9,'\x77\x67\x6c\x78')||Array[_0x22f74a(0x101,'\x59\x43\x4c\x71')](_0x19c0a9[_0x22f74a(0xb3,'\x46\x54\x53\x4b')]))return{'\x76\x65\x72\x73\x69\x6f\x6e':0x1,'\x65\x6e\x74\x72\x69\x65\x73':{}};const _0x242f00={};for(const [_0x137ae5,_0x240491]of Object[_0x22f74a(0xaf,'\x51\x24\x73\x6a')](_0x19c0a9[_0x22f74a(0xc7,'\x2a\x75\x78\x55')])){if('\x57\x4b\x67\x55\x6a'===_0x22f74a(0xb4,'\x77\x67\x6c\x78')){if(CLAIM_CODE_RE[_0x22f74a(0xbb,'\x54\x73\x73\x50')](_0x137ae5)&&typeof _0x240491===_0x22f74a(0x109,'\x44\x52\x47\x70')&&Number['\x69\x73\x46\x69\x6e\x69\x74\x65'](_0x240491)&&_0x240491>-0x2628+0x1*-0x593+0x2bbb)_0x242f00[_0x137ae5]=_0x240491;}else return{'\x76\x65\x72\x73\x69\x6f\x6e':0x1,'\x65\x6e\x74\x72\x69\x65\x73':{}};}return{'\x76\x65\x72\x73\x69\x6f\x6e':0x1,'\x65\x6e\x74\x72\x69\x65\x73':_0x242f00};}}catch{return _0x22f74a(0x118,'\x57\x2a\x31\x73')===_0x22f74a(0x124,'\x54\x73\x73\x50')?{'\x76\x65\x72\x73\x69\x6f\x6e':0x1,'\x65\x6e\x74\x72\x69\x65\x73':{}}:{'\x76\x65\x72\x73\x69\x6f\x6e':0x1,'\x65\x6e\x74\x72\x69\x65\x73':_0x4344a1[_0x22f74a(0xfd,'\x59\x43\x4c\x71')+_0x22f74a(0x10b,'\x5d\x24\x50\x6c')](_0x5122a3[_0x22f74a(0x10c,'\x42\x26\x58\x28')](_0x4b54ec)[_0x22f74a(0xe8,'\x58\x6a\x33\x76')]((_0x45b31a,_0x37cbbb)=>_0x37cbbb[0x78c*-0x3+-0x22ba+0x305*0x13]-_0x45b31a[0x1d0b+-0x655+-0x16b5])[_0x22f74a(0xef,'\x4f\x5e\x37\x59')](0x1*-0x2593+0x1*-0xef8+0x348b*0x1,_0x4762a1))};}}function mergeState(_0x1c8224,_0x4910fc){const _0x568030=_0x349c8f,_0x54eb10={..._0x1c8224[_0x568030(0x108,'\x44\x52\x47\x70')]};for(const [_0x1044d6,_0x18751a]of Object[_0x568030(0x117,'\x71\x54\x23\x5d')](_0x4910fc[_0x568030(0xf4,'\x58\x6a\x33\x76')]))_0x54eb10[_0x1044d6]=Math[_0x568030(0xdb,'\x6f\x4a\x44\x4f')](_0x54eb10[_0x1044d6]??-0x14*0x8d+-0x1*-0x19b5+-0xeb1,_0x18751a);return{'\x76\x65\x72\x73\x69\x6f\x6e':0x1,'\x65\x6e\x74\x72\x69\x65\x73':_0x54eb10};}function pruneState(_0x48f47f){const _0xda04d2=_0x349c8f;return{'\x76\x65\x72\x73\x69\x6f\x6e':0x1,'\x65\x6e\x74\x72\x69\x65\x73':Object['\x66\x72\x6f\x6d\x45\x6e\x74\x72'+_0xda04d2(0xb9,'\x46\x54\x53\x4b')](Object[_0xda04d2(0xc8,'\x38\x43\x65\x69')](_0x48f47f)['\x73\x6f\x72\x74']((_0xb715cd,_0x4bf750)=>_0x4bf750[-0x16e2+-0xb59*-0x1+0xb8a]-_0xb715cd[0x88d+-0x195a+-0xef*-0x12])['\x73\x6c\x69\x63\x65'](-0x55f*-0x3+-0x1bcd+0xbb0,MAX_STATE_ENTRIES))};}