@tangle-network/sandbox 0.5.0 → 0.6.1
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/dist/agent/index.d.ts +7 -3
- package/dist/agent/index.js +1 -1
- package/dist/auth/index.js +1 -1
- package/dist/client-DNRk-fYq.js +1 -0
- package/dist/{client-DMkVWoYk.d.ts → client-DRbtd2hi.d.ts} +2 -357
- package/dist/collaboration/index.js +1 -1
- package/dist/collaboration-BxlfZ2Uh.js +1 -0
- package/dist/core.d.ts +2 -2
- package/dist/core.js +1 -1
- package/dist/errors-DZsfJUuc.js +1 -0
- package/dist/{index-C-XX8Q_j.d.ts → index-Bl4L_Cpm.d.ts} +1 -1
- package/dist/index.d.ts +26 -26
- package/dist/index.js +1 -1
- package/dist/intelligence/index.js +1 -1
- package/dist/openai/index.js +1 -1
- package/dist/{sandbox-Dyf07Ckv.d.ts → sandbox-BQbq1EGP.d.ts} +218 -2
- package/dist/sandbox-d6iLJeH2.js +1 -0
- package/dist/session-gateway/index.js +1 -1
- package/dist/tangle/index.d.ts +1 -1
- package/dist/tangle/index.js +1 -1
- package/dist/tangle-BrobUtQo.js +1 -0
- package/package.json +1 -1
- package/dist/client-BYIDON4d.js +0 -1
- package/dist/collaboration-CRyb5e8F.js +0 -1
- package/dist/errors-CljiGR__.js +0 -1
- package/dist/sandbox-B4HyvZga.js +0 -1
- package/dist/tangle-DvKC4_jP.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { A as BatchEvent, An as SandboxFleetDriverCapability, Bn as SandboxFleetOperationsSummary, Bt as ListSandboxOptions, C as AttachSandboxFleetMachineOptions, Cn as SandboxEnvironment, Dn as SandboxFleetCostEstimate, En as SandboxFleetArtifactSpec, G as CreateRequestOptions, Hn as SandboxFleetToken, In as SandboxFleetMachineRecord, It as IntelligenceReportWindow, J as CreateSandboxFleetWithCoordinatorOptions, K as CreateSandboxFleetOptions, Kn as SandboxFleetTraceOptions, M as BatchResult, Mn as SandboxFleetInfo, Mr as TokenRefreshHandler, Mt as IntelligenceReport, N as BatchTask, Nt as IntelligenceReportBudget, Pt as IntelligenceReportCompareTo, Qn as SandboxInfo, Rn as SandboxFleetManifest, Rr as UsageInfo, Sr as SshKeysManager, Tn as SandboxFleetArtifact, Un as SandboxFleetTraceBundle, W as CreateIntelligenceReportOptions, Xn as SandboxFleetWorkspaceRestoreResult, Y as CreateSandboxOptions, Yn as SandboxFleetWorkspaceReconcileResult, Zn as SandboxFleetWorkspaceSnapshotResult, _n as ReconcileSandboxFleetsResult, _t as FleetExecDispatchOptions, a as TraceExportSink, an as PromptResult, bt as FleetPromptDispatchOptions, dn as PublicTemplateVersionInfo, fn as PublishPublicTemplateOptions, gn as ReconcileSandboxFleetsOptions, gt as FleetDispatchStreamOptions, hn as ReapExpiredSandboxFleetsResult, ht as FleetDispatchResultBufferOptions, i as TraceExportResult, in as PromptOptions, j as BatchOptions, kn as SandboxFleetDispatchResponse, lt as ExecOptions, mn as ReapExpiredSandboxFleetsOptions, mt as FleetDispatchResultBuffer, n as SandboxInstance, pn as PublishPublicTemplateVersionOptions, pr as SecretsManager, pt as FleetDispatchCancelResult, q as CreateSandboxFleetTokenOptions, qn as SandboxFleetUsage, rn as PromptInputPart, t as HttpClient, un as PublicTemplateInfo, ut as ExecResult, vt as FleetExecDispatchResult, wr as SubscriptionInfo, xn as SandboxClientConfig, xt as FleetPromptDispatchResult, yt as FleetMachineId, zt as ListSandboxFleetOptions } from "./sandbox-BQbq1EGP.js";
|
|
2
2
|
|
|
3
3
|
//#region src/lib/sse-parser.d.ts
|
|
4
4
|
/**
|
|
@@ -185,327 +185,6 @@ declare class SandboxFleetClient {
|
|
|
185
185
|
private listBySandboxMetadata;
|
|
186
186
|
}
|
|
187
187
|
//#endregion
|
|
188
|
-
//#region src/integrations.d.ts
|
|
189
|
-
type IntegrationPrincipalType = "customer" | "team";
|
|
190
|
-
type IntegrationProvider = "generic" | "github" | "generic_oauth2";
|
|
191
|
-
type IntegrationVerificationKind = "none" | "hmac_shared_secret" | "provider:github";
|
|
192
|
-
type IntegrationActionKind = "sandbox.create" | "sandbox.dispatch" | "sandbox.event" | "sandbox.respond_inline";
|
|
193
|
-
type IntegrationDeliveryStatus = "pending" | "delivered" | "failed" | "disabled";
|
|
194
|
-
/**
|
|
195
|
-
* Opaque JSON value flowing through an integration. Tied to whichever
|
|
196
|
-
* trigger/endpoint shape is on the wire — the SDK doesn't introspect
|
|
197
|
-
* it. Aliased instead of using bare `unknown` so call sites read as
|
|
198
|
-
* "this came from JSON" rather than "this is genuinely any type".
|
|
199
|
-
*/
|
|
200
|
-
type IntegrationJsonValue = unknown;
|
|
201
|
-
interface IntegrationAction {
|
|
202
|
-
kind: IntegrationActionKind;
|
|
203
|
-
config: IntegrationJsonValue;
|
|
204
|
-
mappings?: Record<string, string>;
|
|
205
|
-
}
|
|
206
|
-
interface IntegrationScope {
|
|
207
|
-
sandboxIds?: string[];
|
|
208
|
-
sessionIds?: string[];
|
|
209
|
-
teamId?: string;
|
|
210
|
-
}
|
|
211
|
-
interface ConnectionInfo {
|
|
212
|
-
id: string;
|
|
213
|
-
ownerType: IntegrationPrincipalType;
|
|
214
|
-
ownerId: string;
|
|
215
|
-
provider: IntegrationProvider;
|
|
216
|
-
externalId: string;
|
|
217
|
-
displayName: string | null;
|
|
218
|
-
authKind: "oauth2" | "api_key" | "signing_only";
|
|
219
|
-
metadata: Record<string, unknown> | null;
|
|
220
|
-
status: "active" | "revoked" | "error";
|
|
221
|
-
installedAt: string;
|
|
222
|
-
}
|
|
223
|
-
interface AutomationInfo {
|
|
224
|
-
id: string;
|
|
225
|
-
ownerType: IntegrationPrincipalType;
|
|
226
|
-
ownerId: string;
|
|
227
|
-
connectionId: string | null;
|
|
228
|
-
name: string;
|
|
229
|
-
description: string | null;
|
|
230
|
-
recipeId: string | null;
|
|
231
|
-
enabled: boolean;
|
|
232
|
-
createdAt: string;
|
|
233
|
-
updatedAt: string;
|
|
234
|
-
}
|
|
235
|
-
interface EndpointInfo {
|
|
236
|
-
id: string;
|
|
237
|
-
automationId: string | null;
|
|
238
|
-
ownerType: IntegrationPrincipalType;
|
|
239
|
-
ownerId: string;
|
|
240
|
-
connectionId: string | null;
|
|
241
|
-
url: string | null;
|
|
242
|
-
events: string[];
|
|
243
|
-
scope: IntegrationScope | null;
|
|
244
|
-
description: string | null;
|
|
245
|
-
enabled: boolean;
|
|
246
|
-
ephemeralForSandboxId: string | null;
|
|
247
|
-
consecutiveFailures: number;
|
|
248
|
-
disabledReason: string | null;
|
|
249
|
-
disabledAt: string | null;
|
|
250
|
-
createdAt: string;
|
|
251
|
-
updatedAt: string;
|
|
252
|
-
}
|
|
253
|
-
interface EndpointWithSecret extends EndpointInfo {
|
|
254
|
-
/** Returned only at create / rotate. Save it on your end. */
|
|
255
|
-
secret: string;
|
|
256
|
-
}
|
|
257
|
-
interface TriggerInfo {
|
|
258
|
-
id: string;
|
|
259
|
-
automationId: string | null;
|
|
260
|
-
ownerType: IntegrationPrincipalType;
|
|
261
|
-
ownerId: string;
|
|
262
|
-
connectionId: string | null;
|
|
263
|
-
urlToken: string;
|
|
264
|
-
/** Public URL the third party POSTs to. */
|
|
265
|
-
publicUrl: string;
|
|
266
|
-
verificationKind: IntegrationVerificationKind;
|
|
267
|
-
eventFilter: Record<string, unknown> | null;
|
|
268
|
-
action: IntegrationAction;
|
|
269
|
-
rateLimitRpm: number;
|
|
270
|
-
allowIps: string[] | null;
|
|
271
|
-
description: string | null;
|
|
272
|
-
enabled: boolean;
|
|
273
|
-
ephemeralForSandboxId: string | null;
|
|
274
|
-
createdAt: string;
|
|
275
|
-
updatedAt: string;
|
|
276
|
-
}
|
|
277
|
-
interface TriggerWithSecret extends TriggerInfo {
|
|
278
|
-
/** Returned only at create. Null when verificationKind === "none". */
|
|
279
|
-
secret: string | null;
|
|
280
|
-
}
|
|
281
|
-
interface DeliveryAttempt {
|
|
282
|
-
id: string;
|
|
283
|
-
endpointId: string;
|
|
284
|
-
automationId: string | null;
|
|
285
|
-
type: string;
|
|
286
|
-
payload: IntegrationJsonValue;
|
|
287
|
-
status: IntegrationDeliveryStatus;
|
|
288
|
-
attempts: number;
|
|
289
|
-
lastAttemptAt: string | null;
|
|
290
|
-
nextAttemptAt: string | null;
|
|
291
|
-
lastResponseStatus: number | null;
|
|
292
|
-
lastResponseBodyExcerpt: string | null;
|
|
293
|
-
createdAt: string;
|
|
294
|
-
deliveredAt: string | null;
|
|
295
|
-
}
|
|
296
|
-
interface TriggerRun {
|
|
297
|
-
id: string;
|
|
298
|
-
triggerId: string;
|
|
299
|
-
automationId: string | null;
|
|
300
|
-
requestId: string;
|
|
301
|
-
requestHeaders: Record<string, string>;
|
|
302
|
-
requestBody: string;
|
|
303
|
-
requestIp: string | null;
|
|
304
|
-
verificationStatus: "ok" | "bad_signature" | "expired" | "filtered_out" | "rate_limited";
|
|
305
|
-
actionStatus: "queued" | "running" | "succeeded" | "failed" | "rate_limited" | "skipped";
|
|
306
|
-
actionResult: Record<string, unknown> | null;
|
|
307
|
-
errorMessage: string | null;
|
|
308
|
-
createdAt: string;
|
|
309
|
-
completedAt: string | null;
|
|
310
|
-
}
|
|
311
|
-
interface RecipeManifest {
|
|
312
|
-
id: string;
|
|
313
|
-
title: string;
|
|
314
|
-
description: string;
|
|
315
|
-
icon?: string;
|
|
316
|
-
requiresConnection?: IntegrationProvider;
|
|
317
|
-
userInputs?: Array<{
|
|
318
|
-
key: string;
|
|
319
|
-
label: string;
|
|
320
|
-
type?: "text" | "select";
|
|
321
|
-
default?: string;
|
|
322
|
-
options?: string[];
|
|
323
|
-
required?: boolean;
|
|
324
|
-
}>;
|
|
325
|
-
automation: {
|
|
326
|
-
name: string;
|
|
327
|
-
description?: string;
|
|
328
|
-
};
|
|
329
|
-
}
|
|
330
|
-
interface CreateAutomationInput {
|
|
331
|
-
teamId?: string;
|
|
332
|
-
name: string;
|
|
333
|
-
description?: string;
|
|
334
|
-
connectionId?: string;
|
|
335
|
-
recipeId?: string;
|
|
336
|
-
enabled?: boolean;
|
|
337
|
-
triggers?: Array<{
|
|
338
|
-
verificationKind: IntegrationVerificationKind;
|
|
339
|
-
connectionId?: string;
|
|
340
|
-
eventFilter?: Record<string, unknown>;
|
|
341
|
-
action: IntegrationAction;
|
|
342
|
-
rateLimitRpm?: number;
|
|
343
|
-
allowIps?: string[];
|
|
344
|
-
description?: string;
|
|
345
|
-
}>;
|
|
346
|
-
endpoints?: Array<{
|
|
347
|
-
url?: string;
|
|
348
|
-
connectionId?: string;
|
|
349
|
-
events: string[];
|
|
350
|
-
scope?: IntegrationScope;
|
|
351
|
-
description?: string;
|
|
352
|
-
}>;
|
|
353
|
-
}
|
|
354
|
-
interface CreateEndpointInput {
|
|
355
|
-
teamId?: string;
|
|
356
|
-
automationId?: string;
|
|
357
|
-
connectionId?: string;
|
|
358
|
-
url?: string;
|
|
359
|
-
events: string[];
|
|
360
|
-
scope?: IntegrationScope;
|
|
361
|
-
description?: string;
|
|
362
|
-
}
|
|
363
|
-
interface CreateTriggerInput {
|
|
364
|
-
teamId?: string;
|
|
365
|
-
automationId?: string;
|
|
366
|
-
connectionId?: string;
|
|
367
|
-
verificationKind: IntegrationVerificationKind;
|
|
368
|
-
eventFilter?: Record<string, unknown>;
|
|
369
|
-
action: IntegrationAction;
|
|
370
|
-
rateLimitRpm?: number;
|
|
371
|
-
allowIps?: string[];
|
|
372
|
-
description?: string;
|
|
373
|
-
}
|
|
374
|
-
interface InstallRecipeInput {
|
|
375
|
-
teamId?: string;
|
|
376
|
-
connectionId?: string;
|
|
377
|
-
inputs?: Record<string, string>;
|
|
378
|
-
}
|
|
379
|
-
declare class IntegrationsManager {
|
|
380
|
-
private readonly client;
|
|
381
|
-
constructor(client: HttpClient);
|
|
382
|
-
readonly automations: {
|
|
383
|
-
list: (opts?: {
|
|
384
|
-
teamId?: string;
|
|
385
|
-
}) => Promise<AutomationInfo[]>;
|
|
386
|
-
get: (id: string, opts?: {
|
|
387
|
-
teamId?: string;
|
|
388
|
-
}) => Promise<{
|
|
389
|
-
automation: AutomationInfo;
|
|
390
|
-
triggers: TriggerInfo[];
|
|
391
|
-
endpoints: EndpointInfo[];
|
|
392
|
-
}>;
|
|
393
|
-
create: (input: CreateAutomationInput) => Promise<{
|
|
394
|
-
automation: AutomationInfo;
|
|
395
|
-
triggers: TriggerInfo[];
|
|
396
|
-
endpoints: EndpointInfo[];
|
|
397
|
-
}>;
|
|
398
|
-
update: (id: string, patch: {
|
|
399
|
-
teamId?: string;
|
|
400
|
-
name?: string;
|
|
401
|
-
description?: string;
|
|
402
|
-
enabled?: boolean;
|
|
403
|
-
connectionId?: string | null;
|
|
404
|
-
}) => Promise<AutomationInfo>;
|
|
405
|
-
delete: (id: string, opts?: {
|
|
406
|
-
teamId?: string;
|
|
407
|
-
}) => Promise<void>;
|
|
408
|
-
/**
|
|
409
|
-
* Unified inbound + outbound timeline for an automation.
|
|
410
|
-
* Returns the most recent N rows (default 100). Pagination is
|
|
411
|
-
* by `since` ISO8601 timestamp.
|
|
412
|
-
*/
|
|
413
|
-
logs: (id: string, opts?: {
|
|
414
|
-
teamId?: string;
|
|
415
|
-
since?: string;
|
|
416
|
-
limit?: number;
|
|
417
|
-
}) => Promise<{
|
|
418
|
-
deliveries: DeliveryAttempt[];
|
|
419
|
-
runs: TriggerRun[];
|
|
420
|
-
}>;
|
|
421
|
-
/**
|
|
422
|
-
* Install an automation from a recipe manifest. The recipe defines
|
|
423
|
-
* what gets created (one Automation, plus underlying triggers /
|
|
424
|
-
* endpoints) and which inputs the user must supply.
|
|
425
|
-
*/
|
|
426
|
-
installFromRecipe: (recipeId: string, input?: InstallRecipeInput) => Promise<{
|
|
427
|
-
automation: AutomationInfo;
|
|
428
|
-
triggers: TriggerInfo[];
|
|
429
|
-
endpoints: EndpointInfo[];
|
|
430
|
-
}>;
|
|
431
|
-
};
|
|
432
|
-
/**
|
|
433
|
-
* Iterate all log entries for an automation, paging through
|
|
434
|
-
* deliveries+runs in 200-row batches. Use this to power export
|
|
435
|
-
* scripts or dashboards. Defined on the manager (not under
|
|
436
|
-
* .automations) because async generators can't reference an
|
|
437
|
-
* enclosing object literal's other methods through `this` cleanly.
|
|
438
|
-
*/
|
|
439
|
-
iterateAutomationLogs(id: string, opts?: {
|
|
440
|
-
teamId?: string;
|
|
441
|
-
since?: string;
|
|
442
|
-
}): AsyncGenerator<{
|
|
443
|
-
deliveries: DeliveryAttempt[];
|
|
444
|
-
runs: TriggerRun[];
|
|
445
|
-
}>;
|
|
446
|
-
readonly recipes: {
|
|
447
|
-
list: () => Promise<RecipeManifest[]>;
|
|
448
|
-
get: (id: string) => Promise<RecipeManifest>;
|
|
449
|
-
};
|
|
450
|
-
readonly connections: {
|
|
451
|
-
list: (opts?: {
|
|
452
|
-
teamId?: string;
|
|
453
|
-
}) => Promise<ConnectionInfo[]>;
|
|
454
|
-
delete: (id: string, opts?: {
|
|
455
|
-
teamId?: string;
|
|
456
|
-
}) => Promise<void>;
|
|
457
|
-
};
|
|
458
|
-
readonly endpoints: {
|
|
459
|
-
list: (opts?: {
|
|
460
|
-
teamId?: string;
|
|
461
|
-
}) => Promise<EndpointInfo[]>;
|
|
462
|
-
create: (input: CreateEndpointInput) => Promise<EndpointWithSecret>;
|
|
463
|
-
update: (id: string, patch: {
|
|
464
|
-
teamId?: string;
|
|
465
|
-
url?: string;
|
|
466
|
-
events?: string[];
|
|
467
|
-
scope?: IntegrationScope;
|
|
468
|
-
description?: string;
|
|
469
|
-
enabled?: boolean;
|
|
470
|
-
}) => Promise<EndpointInfo>;
|
|
471
|
-
delete: (id: string, opts?: {
|
|
472
|
-
teamId?: string;
|
|
473
|
-
}) => Promise<void>;
|
|
474
|
-
rotateSecret: (id: string, opts?: {
|
|
475
|
-
teamId?: string;
|
|
476
|
-
}) => Promise<EndpointWithSecret>;
|
|
477
|
-
listDeliveries: (id: string, opts?: {
|
|
478
|
-
teamId?: string;
|
|
479
|
-
since?: string;
|
|
480
|
-
status?: IntegrationDeliveryStatus;
|
|
481
|
-
limit?: number;
|
|
482
|
-
}) => Promise<DeliveryAttempt[]>;
|
|
483
|
-
};
|
|
484
|
-
readonly triggers: {
|
|
485
|
-
list: (opts?: {
|
|
486
|
-
teamId?: string;
|
|
487
|
-
}) => Promise<TriggerInfo[]>;
|
|
488
|
-
create: (input: CreateTriggerInput) => Promise<TriggerWithSecret>;
|
|
489
|
-
update: (id: string, patch: {
|
|
490
|
-
teamId?: string;
|
|
491
|
-
eventFilter?: Record<string, unknown> | null;
|
|
492
|
-
action?: IntegrationAction;
|
|
493
|
-
rateLimitRpm?: number;
|
|
494
|
-
allowIps?: string[] | null;
|
|
495
|
-
description?: string;
|
|
496
|
-
enabled?: boolean;
|
|
497
|
-
}) => Promise<TriggerInfo>;
|
|
498
|
-
delete: (id: string, opts?: {
|
|
499
|
-
teamId?: string;
|
|
500
|
-
}) => Promise<void>;
|
|
501
|
-
listRuns: (id: string, opts?: {
|
|
502
|
-
teamId?: string;
|
|
503
|
-
since?: string;
|
|
504
|
-
limit?: number;
|
|
505
|
-
}) => Promise<TriggerRun[]>;
|
|
506
|
-
};
|
|
507
|
-
}
|
|
508
|
-
//#endregion
|
|
509
188
|
//#region src/client.d.ts
|
|
510
189
|
/**
|
|
511
190
|
* Client for the Tangle Sandbox platform.
|
|
@@ -539,7 +218,6 @@ declare class SandboxClient implements HttpClient {
|
|
|
539
218
|
private readonly trustLocalCliAuth;
|
|
540
219
|
private _secrets;
|
|
541
220
|
private _sshKeys;
|
|
542
|
-
private _integrations;
|
|
543
221
|
private _fleets;
|
|
544
222
|
private _intelligence;
|
|
545
223
|
constructor(config: SandboxClientConfig);
|
|
@@ -576,39 +254,6 @@ declare class SandboxClient implements HttpClient {
|
|
|
576
254
|
*/
|
|
577
255
|
get secrets(): SecretsManager;
|
|
578
256
|
get sshKeys(): SshKeysManager;
|
|
579
|
-
/**
|
|
580
|
-
* Access the integrations manager — webhooks (inbound + outbound),
|
|
581
|
-
* automations, connections to managed connectors, and recipes.
|
|
582
|
-
*
|
|
583
|
-
* Spec: specs/sandbox-integrations.md.
|
|
584
|
-
*
|
|
585
|
-
* @example
|
|
586
|
-
* ```typescript
|
|
587
|
-
* // Outbound: get pinged when a sandbox fails
|
|
588
|
-
* const ep = await client.integrations.endpoints.create({
|
|
589
|
-
* url: "https://example.com/hook",
|
|
590
|
-
* events: ["sandbox.failed", "sandbox.permanently_dead"],
|
|
591
|
-
* });
|
|
592
|
-
* console.log(ep.secret); // shown once — store it
|
|
593
|
-
*
|
|
594
|
-
* // Inbound: a public URL that, when POSTed to, runs an action
|
|
595
|
-
* const trg = await client.integrations.triggers.create({
|
|
596
|
-
* verificationKind: "hmac_shared_secret",
|
|
597
|
-
* action: {
|
|
598
|
-
* kind: "sandbox.create",
|
|
599
|
-
* config: { template: "node-22", prompt: "Run: ${body.prompt}" },
|
|
600
|
-
* },
|
|
601
|
-
* });
|
|
602
|
-
* console.log(trg.publicUrl);
|
|
603
|
-
*
|
|
604
|
-
* // One-click recipe install
|
|
605
|
-
* const auto = await client.integrations.automations.installFromRecipe(
|
|
606
|
-
* "github.pr-review",
|
|
607
|
-
* { connectionId: "ic_…", inputs: { template: "node-22" } },
|
|
608
|
-
* );
|
|
609
|
-
* ```
|
|
610
|
-
*/
|
|
611
|
-
get integrations(): IntegrationsManager;
|
|
612
257
|
private _environments;
|
|
613
258
|
/**
|
|
614
259
|
* Access available development environments.
|
|
@@ -1058,4 +703,4 @@ declare class TeamsClient {
|
|
|
1058
703
|
* Alias for SandboxClient for cleaner imports.
|
|
1059
704
|
*/
|
|
1060
705
|
//#endregion
|
|
1061
|
-
export {
|
|
706
|
+
export { Team as a, SandboxFleet as c, ParsedSSEEvent as d, parseSSEStream as f, SandboxClient as i, SandboxFleetClient as l, IntelligenceClient as n, TeamInvitation as o, InviteTeamMemberOptions as r, TeamMember as s, CreateTeamOptions as t, ParseSSEStreamOptions as u };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
(function(_0x44cff2,_0x3aaf8e){var _0x3d3a42=a0_0x1a8a,_0x445a72=_0x44cff2();while(!![]){try{var _0xf3ee37=parseInt(_0x3d3a42(0x15a))/0x1*(-parseInt(_0x3d3a42(0x156))/0x2)+-parseInt(_0x3d3a42(0x152))/0x3*(parseInt(_0x3d3a42(0x157))/0x4)+parseInt(_0x3d3a42(0x159))/0x5+parseInt(_0x3d3a42(0x15b))/0x6+parseInt(_0x3d3a42(0x158))/0x7*(-parseInt(_0x3d3a42(0x15d))/0x8)+-parseInt(_0x3d3a42(0x153))/0x9*(parseInt(_0x3d3a42(0x155))/0xa)+-parseInt(_0x3d3a42(0x15c))/0xb*(-parseInt(_0x3d3a42(0x154))/0xc);if(_0xf3ee37===_0x3aaf8e)break;else _0x445a72['push'](_0x445a72['shift']());}catch(_0x304a0d){_0x445a72['push'](_0x445a72['shift']());}}}(a0_0x5c9f,0xd56b8));function a0_0x1a8a(_0x423a33,_0x138886){_0x423a33=_0x423a33-0x152;var _0x5c9f04=a0_0x5c9f();var _0x1a8a84=_0x5c9f04[_0x423a33];if(a0_0x1a8a['\x41\x58\x47\x6b\x69\x55']===undefined){var _0x395868=function(_0x4628e4){var _0x36d5cc='\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';var _0x368e31='',_0x5b2a0f='';for(var _0x387a46=0x0,_0x2cd10d,_0x30174d,_0x5208fc=0x0;_0x30174d=_0x4628e4['\x63\x68\x61\x72\x41\x74'](_0x5208fc++);~_0x30174d&&(_0x2cd10d=_0x387a46%0x4?_0x2cd10d*0x40+_0x30174d:_0x30174d,_0x387a46++%0x4)?_0x368e31+=String['\x66\x72\x6f\x6d\x43\x68\x61\x72\x43\x6f\x64\x65'](0xff&_0x2cd10d>>(-0x2*_0x387a46&0x6)):0x0){_0x30174d=_0x36d5cc['\x69\x6e\x64\x65\x78\x4f\x66'](_0x30174d);}for(var _0x10cab5=0x0,_0x165c37=_0x368e31['\x6c\x65\x6e\x67\x74\x68'];_0x10cab5<_0x165c37;_0x10cab5++){_0x5b2a0f+='\x25'+('\x30\x30'+_0x368e31['\x63\x68\x61\x72\x43\x6f\x64\x65\x41\x74'](_0x10cab5)['\x74\x6f\x53\x74\x72\x69\x6e\x67'](0x10))['\x73\x6c\x69\x63\x65'](-0x2);}return decodeURIComponent(_0x5b2a0f);};a0_0x1a8a['\x76\x62\x6c\x42\x41\x56']=_0x395868,a0_0x1a8a['\x69\x58\x49\x54\x66\x69']={},a0_0x1a8a['\x41\x58\x47\x6b\x69\x55']=!![];}var _0xc57278=_0x5c9f04[0x0],_0x2cbe5e=_0x423a33+_0xc57278,_0x563c53=a0_0x1a8a['\x69\x58\x49\x54\x66\x69'][_0x2cbe5e];return!_0x563c53?(_0x1a8a84=a0_0x1a8a['\x76\x62\x6c\x42\x41\x56'](_0x1a8a84),a0_0x1a8a['\x69\x58\x49\x54\x66\x69'][_0x2cbe5e]=_0x1a8a84):_0x1a8a84=_0x563c53,_0x1a8a84;}import{a as a0_0x368e31,i as a0_0x5b2a0f,n as a0_0x387a46,r as a0_0x2cd10d,t as a0_0x30174d}from'\x2e\x2e\x2f\x63\x6f\x6c\x6c\x61\x62\x6f\x72\x61\x74\x69\x6f\x6e\x2d\x42\x78\x6c\x66\x5a\x32\x55\x68\x2e\x6a\x73';export{a0_0x368e31 as CollaborationClient,a0_0x30174d as CollaborationFileBridge,a0_0x387a46 as buildCollaborationDocumentId,a0_0x2cd10d as normalizeCollaborationPath,a0_0x5b2a0f as parseCollaborationDocumentId};function a0_0x5c9f(){var _0xc2a0d=['\x6e\x4d\x50\x57\x43\x4b\x44\x65\x79\x71','\x6d\x74\x48\x52\x77\x4e\x72\x59\x76\x65\x6d','\x6e\x74\x71\x32\x6f\x64\x61\x33\x6e\x4b\x72\x6d\x41\x32\x31\x4a\x41\x61','\x6d\x74\x43\x34\x6e\x74\x61\x58\x6d\x65\x54\x79\x77\x65\x4c\x78\x44\x57','\x6d\x4d\x6e\x5a\x7a\x30\x7a\x72\x41\x57','\x6d\x74\x47\x31\x6e\x5a\x75\x59\x6d\x65\x35\x55\x42\x32\x66\x59\x75\x57','\x6d\x5a\x47\x31\x43\x65\x39\x4a\x45\x65\x58\x57','\x6d\x74\x43\x59\x6e\x74\x61\x35\x6d\x66\x50\x33\x73\x75\x6e\x56\x7a\x61','\x6d\x74\x65\x5a\x6d\x4a\x4b\x30\x6e\x32\x44\x32\x74\x4b\x76\x55\x75\x71','\x6f\x74\x4b\x32\x6d\x5a\x47\x35\x6e\x66\x7a\x53\x79\x4d\x54\x53\x72\x71','\x6e\x74\x76\x57\x72\x76\x72\x70\x42\x68\x4f','\x6d\x74\x71\x30\x6d\x74\x79\x34\x73\x4d\x4c\x6a\x75\x68\x48\x78'];a0_0x5c9f=function(){return _0xc2a0d;};return a0_0x5c9f();}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const a0_0x13119d=a0_0x53b5;(function(_0xa1532e,_0xc37ba6){const _0x578da5=a0_0x53b5,_0x3d6580=_0xa1532e();while(!![]){try{const _0x4c8190=-parseInt(_0x578da5(0x232))/0x1*(-parseInt(_0x578da5(0x245))/0x2)+-parseInt(_0x578da5(0x1e6))/0x3*(parseInt(_0x578da5(0x1f2))/0x4)+-parseInt(_0x578da5(0x243))/0x5+-parseInt(_0x578da5(0x223))/0x6*(-parseInt(_0x578da5(0x216))/0x7)+parseInt(_0x578da5(0x1f5))/0x8*(parseInt(_0x578da5(0x22b))/0x9)+parseInt(_0x578da5(0x242))/0xa*(parseInt(_0x578da5(0x244))/0xb)+parseInt(_0x578da5(0x1ee))/0xc;if(_0x4c8190===_0xc37ba6)break;else _0x3d6580['push'](_0x3d6580['shift']());}catch(_0x3307af){_0x3d6580['push'](_0x3d6580['shift']());}}}(a0_0x3932,0xd264a));function a0_0x3932(){const _0x598957=['\x7a\x32\x76\x30\x71\x32\x39\x55\x44\x67\x76\x55\x44\x61','\x74\x66\x48\x67\x7a\x78\x47','\x7a\x4d\x76\x30\x79\x32\x48\x6a\x42\x78\x62\x53','\x42\x33\x6a\x50\x7a\x32\x4c\x55','\x76\x30\x58\x4f\x42\x31\x43','\x43\x33\x72\x59\x41\x77\x35\x4e','\x43\x4d\x76\x5a\x42\x32\x58\x32\x7a\x75\x48\x4c\x79\x77\x72\x4c\x43\x4e\x6d','\x42\x4d\x76\x34\x44\x66\x62\x48\x44\x67\x47','\x43\x4d\x76\x53\x79\x78\x72\x50\x44\x4d\x76\x71\x79\x78\x72\x4f\x69\x67\x31\x31\x43\x33\x71\x47\x42\x4d\x39\x30\x69\x67\x6e\x56\x42\x4e\x72\x48\x41\x77\x34\x47\x69\x49\x34\x55\x69\x47','\x6e\x4c\x66\x54\x42\x77\x66\x59\x73\x61','\x79\x32\x39\x4b\x7a\x71','\x43\x4d\x76\x53\x79\x78\x72\x50\x44\x4d\x76\x71\x79\x78\x72\x4f\x69\x67\x4c\x5a\x69\x68\x6a\x4c\x43\x78\x76\x50\x43\x4d\x76\x4b','\x41\x68\x76\x4e\x72\x78\x61','\x44\x32\x39\x59\x41\x33\x6e\x57\x79\x77\x6e\x4c\x73\x77\x71','\x79\x4d\x39\x31\x42\x4d\x72\x71\x79\x78\x72\x4f','\x74\x4c\x6e\x50\x42\x65\x38','\x43\x32\x76\x30','\x6d\x4a\x43\x35\x72\x77\x44\x49\x77\x4d\x44\x79','\x41\x4e\x6e\x56\x42\x47','\x41\x77\x35\x4b\x7a\x78\x48\x70\x7a\x47','\x42\x65\x39\x66\x79\x4d\x53','\x44\x4e\x7a\x35\x75\x33\x69','\x44\x32\x39\x59\x41\x33\x6e\x57\x79\x77\x6e\x4c\x73\x77\x71\x47\x42\x78\x76\x5a\x44\x63\x62\x55\x42\x33\x71\x47\x79\x32\x39\x55\x44\x67\x66\x50\x42\x49\x62\x57\x79\x78\x72\x4f\x69\x68\x6e\x4c\x43\x67\x66\x59\x79\x78\x72\x56\x43\x4e\x6d\x47\x42\x33\x69\x47\x42\x4e\x76\x53\x42\x63\x62\x49\x45\x78\x72\x4c\x43\x57','\x71\x77\x6a\x56\x43\x4e\x72\x66\x43\x4e\x6a\x56\x43\x47','\x6d\x5a\x66\x6b\x77\x4d\x4c\x68\x43\x4d\x69','\x42\x67\x76\x55\x7a\x33\x72\x4f','\x42\x33\x62\x30\x41\x77\x39\x55\x43\x57','\x79\x4d\x4c\x55\x7a\x61','\x44\x77\x35\x5a\x44\x77\x6a\x5a\x79\x33\x6a\x50\x79\x4d\x76\x65\x42\x32\x6e\x31\x42\x77\x76\x55\x44\x61','\x44\x77\x35\x5a\x44\x77\x6a\x5a\x79\x33\x6a\x50\x79\x4d\x76\x67\x41\x77\x58\x4c\x72\x78\x7a\x4c\x42\x4e\x72\x5a','\x43\x4e\x44\x30\x7a\x77\x75','\x43\x32\x6e\x4f\x7a\x77\x72\x31\x42\x67\x76\x78\x43\x4d\x4c\x30\x7a\x71','\x7a\x4d\x58\x31\x43\x32\x47','\x43\x33\x76\x49\x43\x32\x6e\x59\x41\x77\x6a\x4c\x76\x67\x39\x67\x41\x77\x58\x4c\x72\x78\x7a\x4c\x42\x4e\x72\x5a','\x43\x32\x58\x50\x79\x32\x75','\x79\x4d\x39\x56\x44\x68\x6e\x30\x43\x4d\x66\x57','\x43\x4d\x76\x53\x79\x78\x72\x50\x44\x4d\x76\x71\x79\x78\x72\x4f','\x43\x33\x76\x49\x43\x32\x6e\x59\x41\x77\x6a\x4c','\x75\x65\x39\x74\x76\x61','\x42\x67\x66\x5a\x44\x66\x44\x59\x41\x78\x72\x30\x7a\x77\x35\x64\x42\x32\x35\x30\x7a\x77\x35\x30','\x6d\x5a\x6d\x5a\x6d\x67\x7a\x69\x43\x76\x4c\x79\x42\x71','\x6e\x74\x4b\x31\x6f\x74\x65\x30\x6d\x67\x72\x66\x77\x4e\x44\x72\x7a\x47','\x6d\x5a\x65\x59\x6f\x64\x72\x5a\x77\x4c\x76\x48\x76\x4d\x43','\x6d\x4a\x6d\x5a\x6d\x4a\x6a\x6e\x7a\x33\x6a\x67\x71\x76\x75','\x41\x67\x66\x5a','\x43\x4d\x76\x53\x79\x78\x72\x50\x44\x4d\x76\x71\x79\x78\x72\x4f\x69\x67\x31\x31\x43\x33\x71\x47\x42\x4d\x39\x30\x69\x67\x6a\x4c\x69\x67\x76\x54\x43\x68\x72\x35','\x79\x77\x6a\x56\x43\x4e\x71','\x6e\x4c\x50\x6d\x71\x4d\x35\x65\x41\x71','\x44\x67\x4c\x54\x7a\x77\x39\x31\x44\x65\x31\x5a','\x7a\x4e\x76\x55\x79\x33\x72\x50\x42\x32\x34','\x43\x4d\x76\x57\x42\x67\x66\x4a\x7a\x75\x6e\x56\x42\x4e\x72\x4c\x42\x4e\x71','\x41\x77\x35\x4a\x42\x68\x76\x4b\x7a\x78\x6d','\x7a\x67\x76\x49\x42\x33\x76\x55\x79\x32\x76\x6e\x43\x57','\x79\x4e\x6a\x50\x7a\x67\x44\x4c\x6f\x4d\x7a\x50\x42\x67\x75','\x7a\x77\x44\x33\x76\x67\x30','\x6d\x4a\x65\x59\x6e\x4a\x61\x58\x6d\x5a\x7a\x52\x76\x31\x66\x66\x76\x30\x65','\x6c\x32\x66\x57\x41\x73\x39\x4a\x42\x32\x58\x53\x79\x77\x6a\x56\x43\x4d\x66\x30\x41\x77\x39\x55\x6c\x33\x6e\x55\x79\x78\x62\x5a\x41\x67\x39\x30','\x43\x67\x76\x55\x7a\x67\x4c\x55\x7a\x31\x44\x59\x41\x78\x72\x4c\x76\x67\x4c\x54\x7a\x78\x69','\x44\x32\x39\x59\x41\x33\x6e\x57\x79\x77\x6e\x4c\x73\x77\x71\x47\x41\x78\x6d\x47\x43\x4d\x76\x58\x44\x77\x4c\x59\x7a\x77\x71','\x6d\x4a\x75\x58\x6f\x74\x47\x31\x6d\x4d\x6a\x32\x71\x4b\x72\x65\x79\x57','\x79\x4c\x44\x36\x73\x4b\x43','\x43\x4d\x76\x58\x44\x77\x76\x5a\x44\x65\x50\x5a\x42\x32\x34','\x6f\x64\x6d\x34\x6e\x67\x7a\x4e\x74\x32\x35\x5a\x44\x57','\x7a\x67\x76\x53\x7a\x78\x72\x4c\x7a\x61','\x7a\x67\x76\x5a\x44\x68\x6a\x56\x45\x77\x76\x4b','\x41\x66\x6a\x6f\x77\x4c\x79','\x42\x77\x76\x5a\x43\x32\x66\x4e\x7a\x71','\x73\x78\x44\x65\x41\x32\x57','\x44\x33\x6a\x50\x44\x67\x75','\x79\x32\x39\x55\x44\x67\x76\x55\x44\x61','\x74\x33\x76\x30\x71\x4e\x4b','\x44\x67\x50\x79\x74\x67\x53','\x43\x4d\x76\x4d\x43\x4d\x76\x5a\x41\x66\x72\x56\x41\x32\x76\x55','\x43\x33\x72\x48\x43\x4e\x72\x5a\x76\x32\x4c\x30\x41\x61','\x71\x32\x39\x55\x44\x67\x76\x55\x44\x63\x31\x75\x45\x78\x62\x4c','\x44\x33\x6a\x50\x44\x67\x76\x67\x41\x77\x58\x4c','\x44\x68\x4c\x57\x7a\x71','\x41\x67\x66\x55\x7a\x67\x58\x4c\x72\x4d\x4c\x53\x7a\x75\x76\x32\x7a\x77\x35\x30','\x74\x31\x50\x4d\x73\x77\x43','\x41\x67\x76\x48\x7a\x67\x76\x59\x43\x57','\x75\x32\x31\x79\x42\x32\x75','\x76\x4e\x7a\x67\x43\x75\x43','\x41\x4d\x39\x50\x42\x47','\x43\x4d\x76\x55\x79\x77\x31\x4c\x7a\x61','\x7a\x4d\x4c\x53\x44\x67\x76\x59','\x44\x78\x62\x4b\x79\x78\x72\x4c\x7a\x61','\x42\x76\x4c\x56\x42\x4b\x4b','\x79\x77\x72\x48\x43\x68\x72\x4c\x43\x47','\x45\x4b\x6e\x55\x72\x67\x75','\x7a\x67\x76\x5a\x44\x68\x6a\x56\x45\x71','\x43\x4d\x76\x57\x42\x67\x66\x4a\x7a\x71','\x7a\x4d\x76\x30\x79\x32\x47','\x79\x4d\x66\x5a\x7a\x76\x76\x59\x42\x61','\x42\x4d\x66\x54\x7a\x71','\x43\x33\x72\x59\x41\x77\x35\x4e\x41\x77\x7a\x35','\x6d\x74\x71\x57\x6e\x74\x43\x57\x6e\x78\x50\x36\x42\x4b\x72\x6a\x72\x57','\x43\x66\x66\x62\x71\x30\x57','\x43\x4d\x76\x53\x79\x78\x72\x50\x44\x4d\x76\x71\x79\x78\x72\x4f\x69\x67\x31\x31\x43\x33\x71\x47\x42\x4d\x39\x30\x69\x67\x6e\x56\x42\x4e\x72\x48\x41\x77\x34\x47\x42\x4e\x76\x53\x42\x63\x62\x49\x45\x78\x72\x4c\x43\x57','\x79\x78\x62\x57\x42\x67\x4c\x4a\x79\x78\x72\x50\x42\x32\x34\x56\x41\x4e\x6e\x56\x42\x47'];a0_0x3932=function(){return _0x598957;};return a0_0x3932();}function a0_0x53b5(_0xd2ddd3,_0x233d27){_0xd2ddd3=_0xd2ddd3-0x1e3;const _0x39322e=a0_0x3932();let _0x53b531=_0x39322e[_0xd2ddd3];if(a0_0x53b5['\x6e\x78\x59\x66\x41\x4b']===undefined){var _0x110d21=function(_0xce7949){const _0x1e1bdf='\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 _0x2e6605='',_0x4e30fa='';for(let _0x464fa4=0x0,_0x484a87,_0x35cdaa,_0x143f87=0x0;_0x35cdaa=_0xce7949['\x63\x68\x61\x72\x41\x74'](_0x143f87++);~_0x35cdaa&&(_0x484a87=_0x464fa4%0x4?_0x484a87*0x40+_0x35cdaa:_0x35cdaa,_0x464fa4++%0x4)?_0x2e6605+=String['\x66\x72\x6f\x6d\x43\x68\x61\x72\x43\x6f\x64\x65'](0xff&_0x484a87>>(-0x2*_0x464fa4&0x6)):0x0){_0x35cdaa=_0x1e1bdf['\x69\x6e\x64\x65\x78\x4f\x66'](_0x35cdaa);}for(let _0x1bcdc1=0x0,_0x304edb=_0x2e6605['\x6c\x65\x6e\x67\x74\x68'];_0x1bcdc1<_0x304edb;_0x1bcdc1++){_0x4e30fa+='\x25'+('\x30\x30'+_0x2e6605['\x63\x68\x61\x72\x43\x6f\x64\x65\x41\x74'](_0x1bcdc1)['\x74\x6f\x53\x74\x72\x69\x6e\x67'](0x10))['\x73\x6c\x69\x63\x65'](-0x2);}return decodeURIComponent(_0x4e30fa);};a0_0x53b5['\x4a\x56\x4f\x75\x52\x4c']=_0x110d21,a0_0x53b5['\x45\x42\x6a\x41\x42\x75']={},a0_0x53b5['\x6e\x78\x59\x66\x41\x4b']=!![];}const _0x311519=_0x39322e[0x0],_0x8a8ef6=_0xd2ddd3+_0x311519,_0x5c0772=a0_0x53b5['\x45\x42\x6a\x41\x42\x75'][_0x8a8ef6];return!_0x5c0772?(_0x53b531=a0_0x53b5['\x4a\x56\x4f\x75\x52\x4c'](_0x53b531),a0_0x53b5['\x45\x42\x6a\x41\x42\x75'][_0x8a8ef6]=_0x53b531):_0x53b531=_0x5c0772,_0x53b531;}import{f as a0_0x3822f2,r as a0_0x1c8447,u as a0_0x54292c}from'\x2e\x2f\x65\x72\x72\x6f\x72\x73\x2d\x44\x5a\x73\x66\x4a\x55\x75\x63\x2e\x6a\x73';const DEFAULT_TIMEOUT_MS=0x7530;function normalizeBaseUrl(_0x2b18dd){const _0x250723=a0_0x53b5;return _0x2b18dd[_0x250723(0x211)](/\/+$/,'');}var CollaborationClient=class{['\x62\x61\x73\x65\x55\x72\x6c'];[a0_0x13119d(0x1e7)];[a0_0x13119d(0x21c)];[a0_0x13119d(0x206)];constructor(_0x59424d){const _0x94708e=a0_0x13119d,_0x7919e1={'\x57\x4c\x68\x6f\x57':function(_0x2ec557,_0x558470){return _0x2ec557(_0x558470);}};this['\x62\x61\x73\x65\x55\x72\x6c']=_0x7919e1[_0x94708e(0x21e)](normalizeBaseUrl,_0x59424d[_0x94708e(0x213)]),this['\x74\x69\x6d\x65\x6f\x75\x74\x4d\x73']=_0x59424d[_0x94708e(0x1e7)]??DEFAULT_TIMEOUT_MS,this['\x66\x65\x74\x63\x68\x49\x6d\x70\x6c']=_0x59424d['\x66\x65\x74\x63\x68']??globalThis[_0x94708e(0x212)][_0x94708e(0x235)](globalThis),this[_0x94708e(0x206)]=_0x59424d['\x68\x65\x61\x64\x65\x72\x73'];}async[a0_0x13119d(0x23d)](_0x46140d){const _0x3a32b0=a0_0x13119d,_0x5a6cf0={'\x4c\x4e\x6e\x78\x61':'\x2f\x61\x70\x69\x2f\x63\x6f\x6c\x6c\x61\x62\x6f\x72\x61\x74\x69\x6f\x6e\x2f\x62\x6f\x6f\x74\x73\x74\x72\x61\x70'};return this[_0x3a32b0(0x1f4)](_0x5a6cf0['\x4c\x4e\x6e\x78\x61'],{'\x6d\x65\x74\x68\x6f\x64':_0x3a32b0(0x240),'\x62\x6f\x64\x79':JSON['\x73\x74\x72\x69\x6e\x67\x69\x66\x79'](_0x46140d)});}async[a0_0x13119d(0x1ff)](_0x30d9e5){const _0x29af5e=a0_0x13119d,_0x270205={'\x7a\x43\x6e\x44\x65':'\x2f\x61\x70\x69\x2f\x63\x6f\x6c\x6c\x61\x62\x6f\x72\x61\x74\x69\x6f\x6e\x2f\x74\x6f\x6b\x65\x6e','\x68\x62\x50\x46\x6c':_0x29af5e(0x240)};return this[_0x29af5e(0x1f4)](_0x270205[_0x29af5e(0x20f)],{'\x6d\x65\x74\x68\x6f\x64':_0x270205['\x68\x62\x50\x46\x6c'],'\x62\x6f\x64\x79':JSON['\x73\x74\x72\x69\x6e\x67\x69\x66\x79'](_0x30d9e5)});}async['\x73\x61\x76\x65\x53\x6e\x61\x70\x73\x68\x6f\x74'](_0x213ae5){const _0x30439b=a0_0x13119d,_0x2f4001={'\x65\x67\x77\x54\x6d':_0x30439b(0x1ef)};return this[_0x30439b(0x1f4)](_0x2f4001[_0x30439b(0x1ed)],{'\x6d\x65\x74\x68\x6f\x64':_0x30439b(0x240),'\x62\x6f\x64\x79':JSON[_0x30439b(0x215)](_0x213ae5)});}async[a0_0x13119d(0x1f4)](_0x4e8f01,_0x9f1d82){const _0x3199d0=a0_0x13119d,_0x189742={'\x4f\x75\x74\x42\x79':function(_0x3b19bc,_0x446e96){return _0x3b19bc instanceof _0x446e96;},'\x74\x6a\x58\x4c\x6b':_0x3199d0(0x231),'\x53\x6d\x58\x6f\x65':function(_0x4712d3,_0x11b57e){return _0x4712d3 instanceof _0x11b57e;},'\x4f\x5a\x66\x49\x67':_0x3199d0(0x224),'\x72\x77\x74\x65\x65':function(_0x515c98,_0x48b8d9){return _0x515c98(_0x48b8d9);}},_0x5b0ce6=new AbortController(),_0x342114=setTimeout(()=>_0x5b0ce6[_0x3199d0(0x1e5)](),this[_0x3199d0(0x1e7)]);try{const _0x42033c=new Headers(await this[_0x3199d0(0x220)]());if(!_0x42033c[_0x3199d0(0x1e3)](_0x3199d0(0x201)))_0x42033c[_0x3199d0(0x22a)](_0x3199d0(0x201),_0x3199d0(0x219));const _0x5b9bf9=await this['\x66\x65\x74\x63\x68\x49\x6d\x70\x6c'](''+this[_0x3199d0(0x213)]+_0x4e8f01,{..._0x9f1d82,'\x68\x65\x61\x64\x65\x72\x73':_0x42033c,'\x73\x69\x67\x6e\x61\x6c':_0x9f1d82['\x73\x69\x67\x6e\x61\x6c']??_0x5b0ce6['\x73\x69\x67\x6e\x61\x6c']});if(!_0x5b9bf9['\x6f\x6b']){const _0x149a5a=await _0x5b9bf9['\x74\x65\x78\x74']();throw a0_0x3822f2(_0x5b9bf9['\x73\x74\x61\x74\x75\x73'],_0x149a5a,{'\x6d\x65\x74\x68\x6f\x64':_0x9f1d82['\x6d\x65\x74\x68\x6f\x64'],'\x70\x61\x74\x68':_0x4e8f01},_0x5b9bf9[_0x3199d0(0x206)]);}return _0x5b9bf9[_0x3199d0(0x22c)]();}catch(_0x54a342){if(_0x189742[_0x3199d0(0x1fd)](_0x54a342,Error)&&_0x54a342[_0x3199d0(0x214)]===_0x189742[_0x3199d0(0x1fe)])throw new a0_0x54292c(this['\x74\x69\x6d\x65\x6f\x75\x74\x4d\x73']);if(_0x189742[_0x3199d0(0x207)](_0x54a342,Error)&&_0x189742[_0x3199d0(0x205)]in _0x54a342)throw _0x54a342;throw new a0_0x1c8447('\x46\x61\x69\x6c\x65\x64\x20\x74\x6f\x20\x63\x6f\x6e\x6e\x65\x63\x74\x20\x74\x6f\x20\x63\x6f\x6c\x6c\x61\x62\x6f\x72\x61\x74\x69\x6f\x6e\x20\x41\x50\x49\x3a\x20'+(_0x189742[_0x3199d0(0x207)](_0x54a342,Error)?_0x54a342[_0x3199d0(0x1f9)]:String(_0x54a342)),_0x189742[_0x3199d0(0x1fd)](_0x54a342,Error)?_0x54a342:void 0x0);}finally{_0x189742[_0x3199d0(0x238)](clearTimeout,_0x342114);}}async[a0_0x13119d(0x220)](){const _0x1b36d7=a0_0x13119d;if(typeof this[_0x1b36d7(0x206)]===_0x1b36d7(0x1e8))return this[_0x1b36d7(0x206)]();return this[_0x1b36d7(0x206)];}};const DOCUMENT_PREFIX='\x77\x6f\x72\x6b\x73\x70\x61\x63\x65\x3a',FILE_SEGMENT='\x3a\x66\x69\x6c\x65\x3a';function assertValidWorkspaceId(_0xcbc36a){const _0x38820c=a0_0x13119d,_0x4f4642={'\x68\x52\x4e\x5a\x56':_0x38820c(0x230)};if(!_0xcbc36a)throw new Error(_0x38820c(0x1f1));if(_0xcbc36a['\x69\x6e\x63\x6c\x75\x64\x65\x73']('\x2f')||_0xcbc36a[_0x38820c(0x1ea)]('\x5c')||_0xcbc36a['\x69\x6e\x63\x6c\x75\x64\x65\x73']('\x00'))throw new Error(_0x4f4642[_0x38820c(0x1f8)]);}function normalizeCollaborationPath(_0x1ed904){const _0x50be9c=a0_0x13119d,_0x211530={'\x6d\x59\x6f\x6e\x49':function(_0x4152cf,_0x396692){return _0x4152cf===_0x396692;}};if(!_0x1ed904)throw new Error(_0x50be9c(0x225));const _0x44eacd=_0x1ed904[_0x50be9c(0x211)](/\\/g,'\x2f')['\x73\x70\x6c\x69\x74']('\x2f')[_0x50be9c(0x20b)](_0x362db5=>_0x362db5['\x6c\x65\x6e\x67\x74\x68']>0x0&&_0x362db5!=='\x2e');if(_0x44eacd[_0x50be9c(0x233)]===0x0)throw new Error(_0x50be9c(0x1e4));for(const _0xebdf8b of _0x44eacd){if(_0x211530[_0x50be9c(0x20d)](_0xebdf8b,'\x2e\x2e'))throw new Error(_0x50be9c(0x222));if(_0xebdf8b[_0x50be9c(0x1ea)]('\x00'))throw new Error(_0x50be9c(0x218));}return _0x44eacd[_0x50be9c(0x209)]('\x2f');}function buildCollaborationDocumentId(_0x37e474){const _0x3840ce=a0_0x13119d,_0x4dffbf={'\x49\x77\x44\x6b\x6c':function(_0x3f8d28,_0x3ca903){return _0x3f8d28(_0x3ca903);}};_0x4dffbf['\x49\x77\x44\x6b\x6c'](assertValidWorkspaceId,_0x37e474[_0x3840ce(0x227)]);const _0x207c12=_0x4dffbf[_0x3840ce(0x1fa)](normalizeCollaborationPath,_0x37e474[_0x3840ce(0x23e)]);return''+DOCUMENT_PREFIX+_0x37e474[_0x3840ce(0x227)]+FILE_SEGMENT+_0x207c12;}function parseCollaborationDocumentId(_0x4005e6){const _0x32dc9a=a0_0x13119d,_0x2543f2={'\x4e\x53\x69\x6c\x4f':function(_0x867638,_0x5ea468){return _0x867638(_0x5ea468);}};if(!_0x4005e6[_0x32dc9a(0x200)](DOCUMENT_PREFIX))return null;const _0x3f9605=_0x4005e6[_0x32dc9a(0x22d)](FILE_SEGMENT,0xa);if(_0x3f9605===-0x1)return null;const _0x23c85d=_0x4005e6[_0x32dc9a(0x23c)](0xa,_0x3f9605),_0x4954a4=_0x4005e6['\x73\x6c\x69\x63\x65'](_0x3f9605+0x6);try{return _0x2543f2[_0x32dc9a(0x229)](assertValidWorkspaceId,_0x23c85d),{'\x77\x6f\x72\x6b\x73\x70\x61\x63\x65\x49\x64':_0x23c85d,'\x72\x65\x6c\x61\x74\x69\x76\x65\x50\x61\x74\x68':normalizeCollaborationPath(_0x4954a4)};}catch{return null;}}const DEFAULT_DEBOUNCE_MS=0x1f4,FILE_ORIGIN=a0_0x13119d(0x1ec);var CollaborationFileBridge=class{['\x64\x65\x62\x6f\x75\x6e\x63\x65\x4d\x73'];['\x6f\x70\x74\x69\x6f\x6e\x73'];[a0_0x13119d(0x20e)]=null;[a0_0x13119d(0x236)]=null;[a0_0x13119d(0x237)]=null;[a0_0x13119d(0x1f0)]=null;[a0_0x13119d(0x1f7)]=![];[a0_0x13119d(0x228)];['\x6c\x61\x73\x74\x57\x72\x69\x74\x74\x65\x6e\x43\x6f\x6e\x74\x65\x6e\x74']=null;constructor(_0x224884){const _0xa37669=a0_0x13119d;this[_0xa37669(0x234)]=_0x224884,this[_0xa37669(0x228)]=_0x224884['\x72\x65\x6c\x61\x74\x69\x76\x65\x50\x61\x74\x68'],this[_0xa37669(0x1eb)]=_0x224884['\x64\x65\x62\x6f\x75\x6e\x63\x65\x4d\x73']??DEFAULT_DEBOUNCE_MS;}['\x62\x69\x6e\x64'](_0x4ff0a6){const _0x21abc7=a0_0x13119d,_0x58acce={'\x68\x75\x67\x45\x70':function(_0x19e0c1,_0xefc0c0){return _0x19e0c1===_0xefc0c0;}};this[_0x21abc7(0x210)](),this[_0x21abc7(0x1f7)]=![],this[_0x21abc7(0x20e)]=_0x4ff0a6,this[_0x21abc7(0x228)]=this['\x6f\x70\x74\x69\x6f\x6e\x73'][_0x21abc7(0x23e)],this[_0x21abc7(0x236)]=_0x4ff0a6[_0x21abc7(0x23f)](_0xb2959d=>{const _0x185aef=_0x21abc7;if(_0xb2959d[_0x185aef(0x21d)]===FILE_ORIGIN)return;if(this[_0x185aef(0x241)]!==null&&_0x58acce[_0x185aef(0x226)](_0xb2959d[_0x185aef(0x1fc)],this['\x6c\x61\x73\x74\x57\x72\x69\x74\x74\x65\x6e\x43\x6f\x6e\x74\x65\x6e\x74']))return;this[_0x185aef(0x239)](_0xb2959d[_0x185aef(0x1fc)]);}),this[_0x21abc7(0x237)]=this['\x6f\x70\x74\x69\x6f\x6e\x73'][_0x21abc7(0x23b)](this[_0x21abc7(0x228)],_0x2596fa=>{const _0x462dbd=_0x21abc7;this[_0x462dbd(0x204)](_0x2596fa);});}async[a0_0x13119d(0x23a)](){const _0x4395a2=a0_0x13119d,_0x52ffda={'\x76\x76\x79\x53\x72':function(_0x38ac9b,_0x4ff3e1){return _0x38ac9b(_0x4ff3e1);}};if(!this['\x61\x64\x61\x70\x74\x65\x72'])return;this[_0x4395a2(0x1f0)]&&(_0x52ffda[_0x4395a2(0x22f)](clearTimeout,this['\x70\x65\x6e\x64\x69\x6e\x67\x57\x72\x69\x74\x65\x54\x69\x6d\x65\x72']),this['\x70\x65\x6e\x64\x69\x6e\x67\x57\x72\x69\x74\x65\x54\x69\x6d\x65\x72']=null);const _0x14c397=this[_0x4395a2(0x20e)][_0x4395a2(0x21a)]();await this[_0x4395a2(0x1fb)](_0x14c397);}['\x67\x65\x74\x50\x61\x74\x68'](){const _0x3013bb=a0_0x13119d;return this[_0x3013bb(0x228)];}['\x64\x65\x73\x74\x72\x6f\x79'](){const _0x1a6152=a0_0x13119d;this[_0x1a6152(0x1f7)]=!![],this[_0x1a6152(0x1f0)]&&(clearTimeout(this[_0x1a6152(0x1f0)]),this[_0x1a6152(0x1f0)]=null),this[_0x1a6152(0x236)]?.(),this[_0x1a6152(0x236)]=null,this[_0x1a6152(0x237)]?.(),this[_0x1a6152(0x237)]=null,this['\x61\x64\x61\x70\x74\x65\x72']=null;}[a0_0x13119d(0x239)](_0x46afc2){const _0x326b59=a0_0x13119d,_0x18b514={'\x6c\x4f\x45\x62\x6b':function(_0x1e6d3e,_0x447c89){return _0x1e6d3e(_0x447c89);}};if(this[_0x326b59(0x1f0)])_0x18b514[_0x326b59(0x22e)](clearTimeout,this[_0x326b59(0x1f0)]);this[_0x326b59(0x1f0)]=setTimeout(()=>{const _0x571965=_0x326b59;this[_0x571965(0x1f0)]=null,this[_0x571965(0x1fb)](_0x46afc2);},this[_0x326b59(0x1eb)]);}async[a0_0x13119d(0x1fb)](_0x115987){const _0x5d4fbc=a0_0x13119d;if(this[_0x5d4fbc(0x1f7)])return;this[_0x5d4fbc(0x241)]=_0x115987,await this[_0x5d4fbc(0x234)][_0x5d4fbc(0x202)](this['\x62\x6f\x75\x6e\x64\x50\x61\x74\x68'],_0x115987);}[a0_0x13119d(0x204)](_0x3054fa){const _0x43e3ff=a0_0x13119d,_0x4169fb={'\x4b\x57\x73\x62\x47':'\x32\x7c\x33\x7c\x34\x7c\x36\x7c\x31\x7c\x30\x7c\x35','\x62\x57\x7a\x4a\x47':function(_0x3d178c,_0x5119a0){return _0x3d178c!==_0x5119a0;},'\x4c\x58\x46\x65\x78':function(_0x3d6db0,_0x263756){return _0x3d6db0===_0x263756;},'\x56\x76\x46\x71\x47':_0x43e3ff(0x1f6),'\x70\x51\x41\x43\x4c':_0x43e3ff(0x20c)},_0x7e9719=_0x4169fb['\x4b\x57\x73\x62\x47']['\x73\x70\x6c\x69\x74']('\x7c');let _0x15695b=0x0;while(!![]){switch(_0x7e9719[_0x15695b++]){case'\x30':if(_0x4169fb[_0x43e3ff(0x1f3)](this[_0x43e3ff(0x241)],null)&&_0x4169fb['\x4c\x58\x46\x65\x78'](_0x3054fa[_0x43e3ff(0x1fc)],this[_0x43e3ff(0x241)]))return;continue;case'\x31':if(_0x3054fa['\x63\x6f\x6e\x74\x65\x6e\x74']===this[_0x43e3ff(0x20e)][_0x43e3ff(0x21a)]())return;continue;case'\x32':if(!this[_0x43e3ff(0x20e)]||this[_0x43e3ff(0x1f7)])return;continue;case'\x33':if(_0x3054fa[_0x43e3ff(0x203)]===_0x43e3ff(0x20a)&&_0x3054fa[_0x43e3ff(0x221)]){this[_0x43e3ff(0x228)]=_0x3054fa[_0x43e3ff(0x221)],this[_0x43e3ff(0x234)]['\x6f\x6e\x46\x69\x6c\x65\x52\x65\x6e\x61\x6d\x65\x64']?.(_0x3054fa);return;}continue;case'\x34':if(_0x4169fb[_0x43e3ff(0x21b)](_0x3054fa['\x74\x79\x70\x65'],_0x4169fb[_0x43e3ff(0x208)])){this[_0x43e3ff(0x234)]['\x6f\x6e\x46\x69\x6c\x65\x44\x65\x6c\x65\x74\x65\x64']?.(_0x3054fa);return;}continue;case'\x35':this[_0x43e3ff(0x20e)][_0x43e3ff(0x1e9)](_0x3054fa[_0x43e3ff(0x1fc)],{'\x6f\x72\x69\x67\x69\x6e':FILE_ORIGIN,'\x76\x65\x72\x73\x69\x6f\x6e':_0x3054fa['\x76\x65\x72\x73\x69\x6f\x6e']});continue;case'\x36':if(_0x3054fa['\x74\x79\x70\x65']!==_0x4169fb[_0x43e3ff(0x217)]||typeof _0x3054fa[_0x43e3ff(0x1fc)]!==_0x43e3ff(0x21f))return;continue;}break;}}};export{CollaborationClient as a,parseCollaborationDocumentId as i,buildCollaborationDocumentId as n,normalizeCollaborationPath as r,CollaborationFileBridge as t};
|
package/dist/core.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { i as SandboxClient } from "./client-
|
|
1
|
+
import { Jt as PreviewLinkInfo, Qn as SandboxInfo, Wt as NetworkConfig, Y as CreateSandboxOptions, Yt as PreviewLinkManager, lt as ExecOptions, n as SandboxInstance, nr as SandboxStatus, ut as ExecResult, xn as SandboxClientConfig } from "./sandbox-BQbq1EGP.js";
|
|
2
|
+
import { i as SandboxClient } from "./client-DRbtd2hi.js";
|
|
3
3
|
import { a as PartialFailureError, c as SandboxErrorJson, d as StateError, f as TimeoutError, i as NotFoundError, l as SandboxFailureDetail, n as CapabilityError, o as QuotaError, p as ValidationError, r as NetworkError, s as SandboxError, t as AuthError, u as ServerError } from "./errors-1Se5ATyZ.js";
|
|
4
4
|
export { AuthError, CapabilityError, type CreateSandboxOptions, type ExecOptions, type ExecResult, type NetworkConfig, NetworkError, NotFoundError, PartialFailureError, type PreviewLinkInfo, type PreviewLinkManager, QuotaError, SandboxClient as Sandbox, SandboxClient, type SandboxClientConfig, SandboxError, type SandboxErrorJson, type SandboxFailureDetail, type SandboxInfo, SandboxInstance, type SandboxStatus, ServerError, StateError, TimeoutError, ValidationError };
|
package/dist/core.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x2558aa,_0x3ec384){var _0x26a6fb=a0_0x47dd,_0x5c49ca=_0x2558aa();while(!![]){try{var _0x44d60d=-parseInt(_0x26a6fb(0xf4))/0x1*(parseInt(_0x26a6fb(0xf7))/0x2)+-parseInt(_0x26a6fb(0xf0))/0x3*(parseInt(_0x26a6fb(0xf5))/0x4)+parseInt(_0x26a6fb(0xf3))/0x5+-parseInt(_0x26a6fb(0xf6))/0x6+-parseInt(_0x26a6fb(0xf1))/0x7+-parseInt(_0x26a6fb(0xf2))/0x8+parseInt(_0x26a6fb(0xf8))/0x9;if(_0x44d60d===_0x3ec384)break;else _0x5c49ca['push'](_0x5c49ca['shift']());}catch(_0x243fbe){_0x5c49ca['push'](_0x5c49ca['shift']());}}}(a0_0x1317,0xf09c1));import{t as a0_0x270add}from'\x2e\x2f\x73\x61\x6e\x64\x62\x6f\x78\x2d\x64\x36\x69\x4c\x4a\x65\x48\x32\x2e\x6a\x73';function a0_0x47dd(_0x484ed8,_0x1e62d0){_0x484ed8=_0x484ed8-0xf0;var _0x1317e2=a0_0x1317();var _0x47ddfa=_0x1317e2[_0x484ed8];if(a0_0x47dd['\x6c\x76\x58\x4d\x6d\x49']===undefined){var _0x370e65=function(_0x5aa104){var _0x3712fc='\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';var _0x270add='',_0x2dc1a8='';for(var _0x430b4d=0x0,_0x5c6942,_0x4358a5,_0x1c9194=0x0;_0x4358a5=_0x5aa104['\x63\x68\x61\x72\x41\x74'](_0x1c9194++);~_0x4358a5&&(_0x5c6942=_0x430b4d%0x4?_0x5c6942*0x40+_0x4358a5:_0x4358a5,_0x430b4d++%0x4)?_0x270add+=String['\x66\x72\x6f\x6d\x43\x68\x61\x72\x43\x6f\x64\x65'](0xff&_0x5c6942>>(-0x2*_0x430b4d&0x6)):0x0){_0x4358a5=_0x3712fc['\x69\x6e\x64\x65\x78\x4f\x66'](_0x4358a5);}for(var _0x3f4589=0x0,_0x2d08b5=_0x270add['\x6c\x65\x6e\x67\x74\x68'];_0x3f4589<_0x2d08b5;_0x3f4589++){_0x2dc1a8+='\x25'+('\x30\x30'+_0x270add['\x63\x68\x61\x72\x43\x6f\x64\x65\x41\x74'](_0x3f4589)['\x74\x6f\x53\x74\x72\x69\x6e\x67'](0x10))['\x73\x6c\x69\x63\x65'](-0x2);}return decodeURIComponent(_0x2dc1a8);};a0_0x47dd['\x46\x6c\x46\x46\x6d\x53']=_0x370e65,a0_0x47dd['\x44\x4a\x7a\x79\x46\x58']={},a0_0x47dd['\x6c\x76\x58\x4d\x6d\x49']=!![];}var _0x3e6532=_0x1317e2[0x0],_0x1f3079=_0x484ed8+_0x3e6532,_0x2b6f96=a0_0x47dd['\x44\x4a\x7a\x79\x46\x58'][_0x1f3079];return!_0x2b6f96?(_0x47ddfa=a0_0x47dd['\x46\x6c\x46\x46\x6d\x53'](_0x47ddfa),a0_0x47dd['\x44\x4a\x7a\x79\x46\x58'][_0x1f3079]=_0x47ddfa):_0x47ddfa=_0x2b6f96,_0x47ddfa;}import{a as a0_0x2dc1a8,c as a0_0x430b4d,d as a0_0x5c6942,i as a0_0x4358a5,l as a0_0x1c9194,n as a0_0x3f4589,o as a0_0x2d08b5,r as a0_0x52e0b2,s as a0_0x588f44,t as a0_0x311378,u as a0_0x23b89a}from'\x2e\x2f\x65\x72\x72\x6f\x72\x73\x2d\x44\x5a\x73\x66\x4a\x55\x75\x63\x2e\x6a\x73';import{n as a0_0x143aef}from'\x2e\x2f\x63\x6c\x69\x65\x6e\x74\x2d\x44\x4e\x52\x6b\x2d\x66\x59\x71\x2e\x6a\x73';export{a0_0x311378 as AuthError,a0_0x3f4589 as CapabilityError,a0_0x52e0b2 as NetworkError,a0_0x4358a5 as NotFoundError,a0_0x2dc1a8 as PartialFailureError,a0_0x2d08b5 as QuotaError,a0_0x143aef as Sandbox,a0_0x143aef as SandboxClient,a0_0x588f44 as SandboxError,a0_0x270add as SandboxInstance,a0_0x430b4d as ServerError,a0_0x1c9194 as StateError,a0_0x23b89a as TimeoutError,a0_0x5c6942 as ValidationError};function a0_0x1317(){var _0x2c98e5=['\x6f\x74\x6d\x59\x6e\x64\x6d\x34\x6e\x75\x58\x4e\x76\x32\x39\x55\x42\x57','\x6f\x74\x61\x31\x6f\x64\x6e\x49\x79\x33\x6a\x77\x74\x32\x79','\x6d\x74\x43\x57\x6e\x64\x75\x59\x42\x78\x62\x67\x73\x32\x48\x75','\x6d\x74\x4b\x30\x6d\x74\x61\x32\x6d\x65\x72\x4c\x79\x4b\x44\x6c\x74\x61','\x6d\x74\x62\x67\x42\x65\x6e\x50\x73\x4e\x6d','\x6d\x4a\x65\x32\x6d\x74\x71\x35\x6d\x5a\x66\x73\x75\x65\x31\x33\x41\x4b\x71','\x6d\x30\x76\x34\x74\x78\x62\x49\x74\x57','\x6d\x74\x65\x58\x6f\x74\x65\x59\x6e\x4a\x72\x52\x79\x76\x6e\x54\x44\x67\x34','\x6e\x4a\x4b\x57\x6e\x74\x79\x33\x6d\x4b\x4c\x4e\x74\x68\x48\x59\x41\x57'];a0_0x1317=function(){return _0x2c98e5;};return a0_0x1317();}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function a0_0x401e(){const _0x364992=['\x43\x4d\x76\x30\x43\x4e\x4b\x54\x79\x77\x7a\x30\x7a\x78\x69','\x6d\x74\x69\x34\x6d\x74\x47\x59\x6d\x4b\x76\x70\x42\x68\x76\x4d\x45\x47','\x6d\x4a\x6d\x33\x6d\x74\x69\x34\x76\x4d\x31\x54\x75\x30\x66\x59','\x41\x32\x7a\x73\x77\x4b\x57','\x6c\x33\x62\x59\x42\x32\x50\x4c\x79\x33\x72\x5a','\x72\x78\x72\x65\x75\x4b\x57','\x7a\x77\x35\x4b\x43\x67\x39\x50\x42\x4e\x71','\x75\x67\x66\x59\x44\x67\x4c\x48\x42\x65\x7a\x48\x41\x77\x58\x31\x43\x4d\x76\x66\x43\x4e\x6a\x56\x43\x47','\x71\x30\x6a\x6a\x71\x77\x47','\x75\x65\x66\x73\x76\x65\x4c\x62\x74\x66\x39\x67\x71\x75\x4c\x6d\x76\x76\x6a\x66','\x44\x77\x35\x52\x42\x4d\x39\x33\x42\x47','\x43\x65\x31\x55\x76\x76\x4b','\x44\x68\x6a\x50\x42\x71','\x42\x4e\x76\x54\x79\x4d\x76\x59','\x42\x32\x6a\x51\x7a\x77\x6e\x30','\x42\x4c\x50\x35\x73\x77\x69','\x7a\x78\x72\x34\x75\x4d\x47','\x71\x76\x72\x55\x72\x4b\x53','\x6e\x68\x4c\x56\x74\x4b\x6a\x58\x74\x47','\x45\x63\x31\x5a\x41\x77\x72\x4c\x79\x32\x66\x59\x6c\x77\x4c\x54\x79\x77\x44\x4c','\x44\x67\x4c\x54\x7a\x77\x39\x31\x44\x65\x31\x5a','\x7a\x4d\x66\x50\x42\x68\x76\x59\x7a\x78\x6d','\x7a\x4b\x54\x4e\x43\x33\x61','\x69\x67\x35\x56\x44\x63\x62\x4d\x42\x33\x76\x55\x7a\x64\x4f\x47','\x7a\x67\x76\x30\x79\x77\x4c\x53\x43\x57','\x77\x4b\x31\x6b\x73\x78\x43','\x76\x75\x35\x74\x76\x76\x62\x71\x74\x31\x6a\x75\x72\x75\x72\x46\x71\x30\x66\x71\x71\x75\x6a\x6a\x74\x65\x4c\x75\x77\x71','\x42\x33\x6a\x50\x7a\x32\x4c\x55','\x6e\x5a\x44\x49\x72\x66\x76\x32\x44\x4c\x69','\x79\x32\x66\x31\x43\x32\x75','\x43\x78\x76\x56\x44\x67\x66\x75\x45\x78\x62\x4c','\x43\x4d\x76\x5a\x42\x33\x76\x59\x79\x32\x76\x75\x45\x78\x62\x4c','\x44\x68\x6a\x7a\x77\x4d\x65','\x42\x77\x76\x5a\x43\x32\x66\x4e\x7a\x71','\x43\x33\x72\x48\x44\x68\x76\x5a','\x76\x77\x35\x52\x42\x4d\x39\x33\x42\x49\x62\x4c\x43\x4e\x6a\x56\x43\x47','\x75\x68\x6a\x4d\x45\x68\x79','\x71\x30\x44\x54\x45\x65\x53','\x76\x4b\x66\x6d\x73\x75\x72\x62\x76\x65\x4c\x70\x74\x4c\x39\x66\x75\x4c\x6a\x70\x75\x47','\x45\x63\x31\x56\x43\x4d\x6e\x4f\x7a\x78\x6e\x30\x43\x4d\x66\x30\x42\x33\x69\x54\x44\x4d\x76\x59\x43\x32\x4c\x56\x42\x47','\x79\x33\x76\x59\x43\x4d\x76\x55\x44\x66\x6e\x30\x79\x78\x72\x4c','\x45\x63\x31\x5a\x41\x77\x72\x4c\x79\x32\x66\x59\x6c\x77\x4c\x54\x79\x77\x44\x4c\x6c\x78\x72\x48\x7a\x57','\x73\x66\x4c\x6a\x42\x32\x38','\x6e\x74\x75\x59\x72\x77\x54\x76\x74\x68\x6a\x73','\x7a\x4d\x48\x63\x76\x68\x4f','\x76\x67\x48\x6b\x79\x32\x79','\x79\x4c\x48\x4e\x41\x75\x6d','\x75\x32\x76\x59\x44\x4d\x76\x59\x72\x78\x6a\x59\x42\x33\x69','\x72\x4b\x58\x66\x72\x76\x72\x46\x72\x65\x4c\x74\x75\x65\x66\x75\x71\x30\x48\x46\x75\x65\x66\x73\x76\x65\x4c\x62\x74\x66\x39\x67\x71\x75\x4c\x6d\x76\x76\x6a\x66','\x43\x33\x72\x48\x43\x4e\x72\x5a\x76\x32\x4c\x30\x41\x61','\x72\x75\x50\x30\x75\x32\x43','\x75\x30\x76\x73\x76\x4b\x76\x73\x78\x30\x76\x73\x75\x4b\x39\x73','\x79\x33\x76\x59\x43\x4d\x76\x55\x44\x61','\x76\x75\x35\x6c\x74\x4b\x39\x78\x74\x4c\x39\x66\x75\x4c\x6a\x70\x75\x47','\x7a\x33\x4c\x54\x73\x76\x47','\x43\x4c\x44\x63\x71\x76\x4b','\x72\x4b\x58\x66\x72\x76\x72\x46\x75\x30\x48\x62\x75\x4b\x76\x65\x78\x31\x44\x70\x75\x4b\x54\x74\x75\x65\x66\x64\x72\x76\x39\x76\x74\x4c\x6e\x76\x75\x66\x62\x70\x75\x4c\x72\x66\x72\x61','\x45\x67\x39\x33\x79\x4d\x47','\x6f\x64\x43\x58\x6e\x5a\x61\x30\x6d\x66\x44\x4f\x7a\x75\x31\x76\x41\x47','\x75\x78\x76\x56\x44\x67\x65\x47\x7a\x78\x48\x4a\x7a\x77\x76\x4b\x7a\x77\x71\x36\x69\x61','\x7a\x78\x6a\x59\x42\x33\x69','\x43\x67\x66\x30\x41\x61','\x72\x4b\x58\x66\x72\x76\x72\x46\x72\x65\x76\x71\x75\x4b\x39\x77\x73\x76\x6e\x6a\x74\x30\x35\x46\x72\x4b\x66\x6a\x74\x65\x76\x65','\x43\x33\x72\x59\x41\x77\x35\x4e','\x42\x67\x4c\x54\x41\x78\x71','\x42\x67\x76\x55\x7a\x33\x72\x4f','\x43\x4d\x76\x5a\x42\x33\x76\x59\x79\x32\x76\x6a\x7a\x61','\x6d\x4a\x61\x34\x6d\x64\x6d\x32\x6f\x66\x62\x78\x79\x75\x7a\x4c\x71\x47','\x6d\x74\x62\x41\x45\x78\x62\x6b\x74\x30\x34','\x71\x30\x66\x71\x71\x75\x6a\x6a\x74\x65\x4c\x75\x77\x76\x39\x76\x74\x4c\x6e\x76\x75\x66\x62\x70\x75\x4c\x72\x66\x72\x61','\x41\x78\x6e\x6f\x79\x75\x34','\x72\x76\x50\x73\x44\x75\x43','\x43\x4d\x66\x30\x7a\x76\x39\x53\x41\x77\x31\x50\x44\x61','\x76\x67\x6e\x6f\x7a\x76\x43','\x75\x76\x72\x63\x71\x77\x47','\x75\x76\x76\x70\x76\x65\x66\x46\x72\x76\x48\x64\x72\x75\x76\x65\x72\x75\x71','\x76\x67\x4c\x54\x7a\x77\x39\x31\x44\x65\x76\x59\x43\x4d\x39\x59','\x43\x4d\x76\x30\x43\x4e\x4c\x62\x7a\x4e\x72\x4c\x43\x4b\x31\x5a','\x43\x30\x48\x58\x71\x4c\x75','\x7a\x4d\x4c\x53\x44\x67\x76\x59','\x74\x4d\x39\x30\x72\x4d\x39\x31\x42\x4d\x72\x66\x43\x4e\x6a\x56\x43\x47','\x75\x30\x48\x62\x75\x4b\x76\x65\x78\x31\x44\x70\x75\x4b\x54\x74\x75\x65\x66\x64\x72\x76\x39\x76\x74\x4c\x6e\x76\x75\x66\x62\x70\x75\x4c\x72\x66\x72\x61','\x74\x4b\x39\x75\x78\x30\x4c\x6e\x75\x65\x58\x66\x74\x75\x76\x6f\x76\x65\x76\x65','\x43\x77\x76\x68\x76\x32\x75','\x45\x76\x48\x30\x42\x65\x47','\x74\x4b\x76\x75\x76\x30\x39\x73\x73\x31\x39\x66\x75\x4c\x6a\x70\x75\x47','\x44\x67\x76\x5a\x44\x61','\x42\x77\x66\x34','\x45\x63\x31\x5a\x41\x77\x72\x4c\x79\x32\x66\x59\x6c\x78\x7a\x4c\x43\x4e\x6e\x50\x42\x32\x34','\x41\x67\x66\x5a','\x71\x32\x39\x69\x74\x4d\x38','\x43\x32\x4c\x4b\x7a\x77\x6e\x48\x43\x47','\x71\x78\x76\x30\x41\x65\x76\x59\x43\x4d\x39\x59','\x79\x32\x66\x57\x79\x77\x6a\x50\x42\x67\x4c\x30\x45\x71','\x74\x4b\x31\x78\x75\x76\x69','\x76\x4d\x66\x53\x41\x77\x72\x48\x44\x67\x4c\x56\x42\x4b\x76\x59\x43\x4d\x39\x59','\x6f\x74\x69\x30\x6e\x74\x75\x31\x73\x4d\x54\x70\x73\x67\x54\x56','\x42\x4d\x39\x33','\x74\x4b\x39\x75\x78\x30\x7a\x70\x76\x75\x35\x65','\x71\x78\x76\x30\x41\x67\x76\x55\x44\x67\x4c\x4a\x79\x78\x72\x50\x42\x32\x34\x47\x7a\x4d\x66\x50\x42\x67\x76\x4b','\x44\x33\x72\x62\x77\x4d\x43','\x42\x4d\x66\x54\x7a\x71','\x43\x67\x66\x59\x43\x32\x75','\x43\x32\x66\x55\x7a\x67\x6a\x56\x45\x63\x31\x48\x43\x67\x4b','\x43\x4d\x76\x5a\x44\x77\x58\x30\x43\x57','\x6d\x74\x79\x30\x6e\x64\x65\x31\x6e\x5a\x48\x51\x74\x66\x62\x49\x76\x68\x71','\x45\x63\x31\x30\x79\x77\x35\x4e\x42\x67\x75\x54\x43\x4d\x76\x58\x44\x77\x76\x5a\x44\x63\x31\x57\x79\x78\x72\x4f','\x71\x32\x66\x57\x79\x77\x6a\x50\x42\x67\x4c\x30\x45\x75\x76\x59\x43\x4d\x39\x59','\x43\x76\x6e\x6a\x73\x78\x47','\x44\x33\x50\x6e\x77\x68\x75','\x43\x4e\x76\x55\x44\x67\x4c\x54\x7a\x71','\x72\x30\x50\x6b\x74\x4e\x75','\x6c\x33\x6e\x50\x7a\x67\x76\x4a\x79\x78\x6a\x5a','\x75\x4d\x76\x58\x44\x77\x76\x5a\x44\x63\x62\x30\x41\x77\x31\x4c\x7a\x63\x62\x56\x44\x78\x71\x47\x79\x77\x7a\x30\x7a\x78\x69\x47','\x74\x32\x72\x36\x45\x66\x4f','\x79\x32\x39\x4b\x7a\x71','\x43\x4d\x76\x58\x44\x77\x4c\x59\x7a\x77\x72\x74\x44\x67\x66\x30\x7a\x71','\x6d\x5a\x47\x59\x6d\x31\x62\x49\x79\x30\x7a\x4a\x79\x71','\x75\x32\x66\x55\x7a\x67\x6a\x56\x45\x65\x76\x59\x43\x4d\x39\x59','\x41\x78\x6e\x67\x41\x77\x35\x50\x44\x67\x75','\x7a\x32\x76\x30','\x79\x32\x7a\x34\x72\x4b\x38','\x76\x65\x4c\x6e\x72\x75\x39\x76\x76\x61','\x7a\x4d\x4c\x4c\x42\x67\x72\x5a','\x72\x4b\x58\x66\x72\x76\x72\x46\x75\x65\x66\x73\x76\x65\x4c\x62\x74\x66\x39\x67\x71\x75\x4c\x6d\x76\x76\x6a\x66','\x79\x32\x39\x55\x44\x67\x66\x50\x42\x4d\x76\x59\x73\x77\x31\x48\x7a\x32\x75','\x41\x78\x6e\x62\x43\x4e\x6a\x48\x45\x71','\x6d\x5a\x61\x58\x79\x4d\x72\x78\x73\x4b\x4c\x57','\x75\x33\x72\x48\x44\x67\x76\x66\x43\x4e\x6a\x56\x43\x47','\x43\x32\x4c\x4b\x7a\x77\x6e\x48\x43\x4c\x7a\x4c\x43\x4e\x6e\x50\x42\x32\x34','\x6d\x78\x57\x59\x46\x64\x76\x38\x6d\x33\x57\x30\x46\x64\x61'];a0_0x401e=function(){return _0x364992;};return a0_0x401e();}const a0_0x80b6be=a0_0x43c1;(function(_0x1c89b4,_0x18c4aa){const _0x5c9821=a0_0x43c1,_0x460001=_0x1c89b4();while(!![]){try{const _0x435306=-parseInt(_0x5c9821(0x1de))/0x1*(-parseInt(_0x5c9821(0x194))/0x2)+parseInt(_0x5c9821(0x1ed))/0x3+-parseInt(_0x5c9821(0x17b))/0x4*(parseInt(_0x5c9821(0x1c9))/0x5)+parseInt(_0x5c9821(0x1a3))/0x6+-parseInt(_0x5c9821(0x1e8))/0x7*(-parseInt(_0x5c9821(0x1ee))/0x8)+parseInt(_0x5c9821(0x1d2))/0x9*(-parseInt(_0x5c9821(0x1ad))/0xa)+parseInt(_0x5c9821(0x185))/0xb*(-parseInt(_0x5c9821(0x1ac))/0xc);if(_0x435306===_0x18c4aa)break;else _0x460001['push'](_0x460001['shift']());}catch(_0x5c6580){_0x460001['push'](_0x460001['shift']());}}}(a0_0x401e,0xf05cc));var SandboxError=class extends Error{[a0_0x80b6be(0x18b)];[a0_0x80b6be(0x1dc)];[a0_0x80b6be(0x184)];[a0_0x80b6be(0x1f2)];[a0_0x80b6be(0x1b6)];[a0_0x80b6be(0x1ea)];['\x63\x6f\x6e\x74\x61\x69\x6e\x65\x72\x49\x6d\x61\x67\x65'];constructor(_0x234a63,_0x2b8da0,_0x2a12c0,_0x3e568c){const _0x14fddc=a0_0x80b6be;super(_0x234a63),this[_0x14fddc(0x1ce)]=_0x14fddc(0x1df),this[_0x14fddc(0x1dc)]=_0x2b8da0,this[_0x14fddc(0x18b)]=_0x2a12c0,this[_0x14fddc(0x184)]=_0x3e568c?.[_0x14fddc(0x184)],this[_0x14fddc(0x1f2)]=_0x3e568c?.[_0x14fddc(0x1f2)],this['\x72\x65\x74\x72\x79\x41\x66\x74\x65\x72\x4d\x73']=_0x3e568c?.[_0x14fddc(0x1b6)],this['\x73\x69\x64\x65\x63\x61\x72\x56\x65\x72\x73\x69\x6f\x6e']=_0x3e568c?.[_0x14fddc(0x1ea)],this['\x63\x6f\x6e\x74\x61\x69\x6e\x65\x72\x49\x6d\x61\x67\x65']=_0x3e568c?.[_0x14fddc(0x1e6)];}},AuthError=class extends SandboxError{constructor(_0x148019=a0_0x80b6be(0x1cc),_0x62ffd0){const _0x2516b0=a0_0x80b6be,_0x26146c={'\x43\x47\x6d\x78\x4b':'\x41\x55\x54\x48\x5f\x45\x52\x52\x4f\x52','\x50\x72\x66\x78\x76':_0x2516b0(0x1c5)};super(_0x148019,_0x26146c[_0x2516b0(0x18e)],0x191,_0x62ffd0),this[_0x2516b0(0x1ce)]=_0x26146c[_0x2516b0(0x18d)];}},NotFoundError=class extends SandboxError{[a0_0x80b6be(0x188)];[a0_0x80b6be(0x1ab)];constructor(_0xf11317,_0x55e8e2,_0x41434e){const _0x554a28=a0_0x80b6be,_0x423718={'\x51\x54\x42\x41\x68':_0x554a28(0x1cb)};super(_0xf11317+_0x554a28(0x180)+_0x55e8e2,_0x423718[_0x554a28(0x1b3)],0x194,_0x41434e),this[_0x554a28(0x1ce)]=_0x554a28(0x1b9),this['\x72\x65\x73\x6f\x75\x72\x63\x65\x54\x79\x70\x65']=_0xf11317,this[_0x554a28(0x1ab)]=_0x55e8e2;}},QuotaError=class extends SandboxError{['\x71\x75\x6f\x74\x61\x54\x79\x70\x65'];[a0_0x80b6be(0x19d)];[a0_0x80b6be(0x1a9)];['\x72\x65\x74\x72\x79\x41\x66\x74\x65\x72\x4d\x73'];constructor(_0x12fc68,_0x4209a3,_0x26f68e,_0x579353,_0x3e8e7e,_0x548e19=0x1ad){const _0x592202=a0_0x80b6be,_0x1c0279=_0x592202(0x1eb)['\x73\x70\x6c\x69\x74']('\x7c');let _0x2344a5=0x0;while(!![]){switch(_0x1c0279[_0x2344a5++]){case'\x30':this[_0x592202(0x1b6)]=_0x3e8e7e?.['\x72\x65\x74\x72\x79\x41\x66\x74\x65\x72\x4d\x73'];continue;case'\x31':super(_0x4209a3??_0x592202(0x1a4)+_0x12fc68,_0x592202(0x1b4),_0x548e19,_0x3e8e7e);continue;case'\x32':this[_0x592202(0x1ce)]='\x51\x75\x6f\x74\x61\x45\x72\x72\x6f\x72';continue;case'\x33':this['\x63\x75\x72\x72\x65\x6e\x74']=_0x26f68e;continue;case'\x34':this['\x6c\x69\x6d\x69\x74']=_0x579353;continue;case'\x35':this[_0x592202(0x187)]=_0x12fc68;continue;}break;}}},CapabilityError=class extends SandboxError{['\x63\x61\x70\x61\x62\x69\x6c\x69\x74\x79'];constructor(_0x427ed7,_0x1cd053=a0_0x80b6be(0x1ae),_0x4bac89=0x190,_0x30b8e3,_0x3aba4d){const _0x155daf=a0_0x80b6be;super(_0x427ed7,_0x1cd053,_0x4bac89,_0x30b8e3),this[_0x155daf(0x1ce)]=_0x155daf(0x1d4),this[_0x155daf(0x1c6)]=_0x3aba4d;}},PartialFailureError=class extends SandboxError{['\x66\x61\x69\x6c\x75\x72\x65\x73'];constructor(_0x5d3052,_0x12f15f=a0_0x80b6be(0x172),_0x6ef00a=0x1f6,_0x30465d,_0x1575ec){const _0x55b39c=a0_0x80b6be;super(_0x5d3052,_0x12f15f,_0x6ef00a,_0x30465d),this['\x6e\x61\x6d\x65']=_0x55b39c(0x170),this[_0x55b39c(0x17e)]=_0x1575ec;}},ValidationError=class extends SandboxError{[a0_0x80b6be(0x1e4)];constructor(_0x3bd41e,_0x2d1a87,_0x4b097b){const _0x852131=a0_0x80b6be;super(_0x3bd41e,_0x852131(0x18f),0x190,_0x4b097b),this['\x6e\x61\x6d\x65']=_0x852131(0x1c8),this[_0x852131(0x1e4)]=_0x2d1a87;}},StateError=class extends SandboxError{[a0_0x80b6be(0x191)];[a0_0x80b6be(0x1dd)];constructor(_0x7e5a65,_0x17d7b1,_0x76254b,_0x576b90){const _0xec5711=a0_0x80b6be,_0x5dc5b3={'\x4c\x59\x72\x53\x78':_0xec5711(0x1e9)};super(_0x7e5a65,'\x49\x4e\x56\x41\x4c\x49\x44\x5f\x53\x54\x41\x54\x45',0x199,_0x576b90),this['\x6e\x61\x6d\x65']=_0x5dc5b3['\x4c\x59\x72\x53\x78'],this[_0xec5711(0x191)]=_0x17d7b1,this[_0xec5711(0x1dd)]=_0x76254b;}},TimeoutError=class extends SandboxError{[a0_0x80b6be(0x17d)];constructor(_0x29ead6,_0x33054e,_0x43a295){const _0x2c56d9=a0_0x80b6be,_0x447f8e={'\x69\x73\x46\x56\x7a':_0x2c56d9(0x1e3),'\x67\x79\x6d\x49\x58':_0x2c56d9(0x1b5)};super(_0x33054e??_0x2c56d9(0x1da)+_0x29ead6+'\x6d\x73',_0x447f8e['\x69\x73\x46\x56\x7a'],0x198,_0x43a295),this[_0x2c56d9(0x1ce)]=_0x447f8e[_0x2c56d9(0x19f)],this[_0x2c56d9(0x17d)]=_0x29ead6;}},NetworkError=class extends SandboxError{[a0_0x80b6be(0x186)];constructor(_0x294230,_0x566234,_0x17706a){const _0x1a0830=a0_0x80b6be,_0x56c2ed={'\x71\x65\x47\x57\x65':function(_0x401478,_0x258ec2){return _0x401478 instanceof _0x258ec2;}},_0x3a0302=_0x56c2ed[_0x1a0830(0x1bc)](_0x566234,Error)?_0x566234:void 0x0,_0xf3cd8d=_0x56c2ed[_0x1a0830(0x1bc)](_0x566234,Error)?_0x17706a:_0x566234??_0x17706a;super(_0x294230,_0x1a0830(0x1be),void 0x0,_0xf3cd8d),this['\x6e\x61\x6d\x65']='\x4e\x65\x74\x77\x6f\x72\x6b\x45\x72\x72\x6f\x72',this['\x63\x61\x75\x73\x65']=_0x3a0302;}},ServerError=class extends SandboxError{constructor(_0x26e335,_0x2f60d7=0x1f4,_0x48e69f){const _0x28f20e=a0_0x80b6be;super(_0x26e335,_0x28f20e(0x19c),_0x2f60d7,_0x48e69f),this['\x6e\x61\x6d\x65']=_0x28f20e(0x198);}};function parseRetryAfterMs(_0x3f410e,_0x487886){const _0x18e70a=a0_0x80b6be,_0x2864d7={'\x71\x53\x49\x49\x78':function(_0x16f391,_0x552df6){return _0x16f391(_0x552df6);}};if(typeof _0x487886[_0x18e70a(0x1b6)]===_0x18e70a(0x176)&&Number[_0x18e70a(0x1e0)](_0x487886[_0x18e70a(0x1b6)]))return Math['\x6d\x61\x78'](0x0,_0x487886[_0x18e70a(0x1b6)]);if(!_0x3f410e)return void 0x0;const _0x1d510f=_0x3f410e[_0x18e70a(0x175)]();if(!_0x1d510f)return void 0x0;const _0x5c966f=_0x2864d7[_0x18e70a(0x1d5)](Number,_0x1d510f);if(Number[_0x18e70a(0x1e0)](_0x5c966f))return Math[_0x18e70a(0x1c0)](0x0,_0x5c966f)*0x3e8;const _0x23fe77=Date[_0x18e70a(0x1cf)](_0x1d510f);if(!Number[_0x18e70a(0x1af)](_0x23fe77))return Math['\x6d\x61\x78'](0x0,_0x23fe77-Date[_0x18e70a(0x1ca)]());}function a0_0x43c1(_0x1d966d,_0x3d86e1){_0x1d966d=_0x1d966d-0x170;const _0x401e17=a0_0x401e();let _0x43c148=_0x401e17[_0x1d966d];if(a0_0x43c1['\x73\x52\x76\x4f\x71\x46']===undefined){var _0x41f4cb=function(_0x1a9c06){const _0xdbe99d='\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 _0x36c3be='',_0x1aa651='';for(let _0x2be6da=0x0,_0x27c80c,_0xf6f07f,_0x237196=0x0;_0xf6f07f=_0x1a9c06['\x63\x68\x61\x72\x41\x74'](_0x237196++);~_0xf6f07f&&(_0x27c80c=_0x2be6da%0x4?_0x27c80c*0x40+_0xf6f07f:_0xf6f07f,_0x2be6da++%0x4)?_0x36c3be+=String['\x66\x72\x6f\x6d\x43\x68\x61\x72\x43\x6f\x64\x65'](0xff&_0x27c80c>>(-0x2*_0x2be6da&0x6)):0x0){_0xf6f07f=_0xdbe99d['\x69\x6e\x64\x65\x78\x4f\x66'](_0xf6f07f);}for(let _0xf375fb=0x0,_0x20bb79=_0x36c3be['\x6c\x65\x6e\x67\x74\x68'];_0xf375fb<_0x20bb79;_0xf375fb++){_0x1aa651+='\x25'+('\x30\x30'+_0x36c3be['\x63\x68\x61\x72\x43\x6f\x64\x65\x41\x74'](_0xf375fb)['\x74\x6f\x53\x74\x72\x69\x6e\x67'](0x10))['\x73\x6c\x69\x63\x65'](-0x2);}return decodeURIComponent(_0x1aa651);};a0_0x43c1['\x64\x70\x6e\x66\x76\x61']=_0x41f4cb,a0_0x43c1['\x49\x45\x50\x62\x67\x42']={},a0_0x43c1['\x73\x52\x76\x4f\x71\x46']=!![];}const _0x1615df=_0x401e17[0x0],_0x262179=_0x1d966d+_0x1615df,_0x472c7c=a0_0x43c1['\x49\x45\x50\x62\x67\x42'][_0x262179];return!_0x472c7c?(_0x43c148=a0_0x43c1['\x64\x70\x6e\x66\x76\x61'](_0x43c148),a0_0x43c1['\x49\x45\x50\x62\x67\x42'][_0x262179]=_0x43c148):_0x43c148=_0x472c7c,_0x43c148;}function inferOrigin(_0x299fb0,_0x145859){const _0x554eaa=a0_0x80b6be,_0x6cb79a={'\x79\x58\x74\x6c\x48':_0x554eaa(0x17c),'\x45\x74\x44\x52\x4c':'\x78\x2d\x73\x69\x64\x65\x63\x61\x72\x2d\x69\x6d\x61\x67\x65\x2d\x74\x61\x67','\x5a\x4d\x4a\x49\x77':_0x554eaa(0x190),'\x77\x7a\x4d\x58\x75':'\x63\x6f\x6e\x74\x72\x6f\x6c\x2d\x70\x6c\x61\x6e\x65','\x65\x74\x78\x52\x68':'\x2f\x76\x31\x2f','\x54\x68\x4a\x63\x66':'\x73\x61\x6e\x64\x62\x6f\x78\x2d\x61\x70\x69','\x4e\x4d\x57\x51\x52':_0x554eaa(0x1f0)},_0x2e6acd=_0x145859?.[_0x554eaa(0x1a6)]??_0x299fb0?.[_0x554eaa(0x1e1)](_0x554eaa(0x1d3))??void 0x0;if(!_0x299fb0)return _0x145859?.[_0x554eaa(0x1a6)]?_0x554eaa(0x1d0):void 0x0;if(_0x299fb0[_0x554eaa(0x1c2)](_0x554eaa(0x1c1))||_0x299fb0['\x68\x61\x73'](_0x6cb79a[_0x554eaa(0x1bd)])||_0x299fb0[_0x554eaa(0x1c2)](_0x6cb79a[_0x554eaa(0x1f1)]))return _0x554eaa(0x1c4);if(_0x299fb0[_0x554eaa(0x1c2)](_0x6cb79a[_0x554eaa(0x182)]))return _0x6cb79a[_0x554eaa(0x1d6)];if(_0x2e6acd?.[_0x554eaa(0x19a)](_0x6cb79a[_0x554eaa(0x179)]))return _0x6cb79a[_0x554eaa(0x196)];if(_0x2e6acd){if(_0x2e6acd['\x73\x74\x61\x72\x74\x73\x57\x69\x74\x68'](_0x6cb79a[_0x554eaa(0x1c7)])||_0x2e6acd[_0x554eaa(0x19a)](_0x554eaa(0x1d9))||_0x2e6acd[_0x554eaa(0x19a)]('\x2f\x69\x6e\x73\x74\x61\x6e\x63\x65\x73'))return'\x63\x6f\x6e\x74\x72\x6f\x6c\x2d\x70\x6c\x61\x6e\x65';return _0x554eaa(0x1d7);}return _0x554eaa(0x173);}function isQuotaCode(_0x49f706){const _0x5343ad=a0_0x80b6be,_0x5454f5={'\x6b\x66\x52\x5a\x4c':_0x5343ad(0x1b4),'\x43\x6f\x48\x4e\x6f':'\x5f\x51\x55\x4f\x54\x41\x5f\x45\x58\x43\x45\x45\x44\x45\x44'};return _0x49f706===_0x5454f5[_0x5343ad(0x1ef)]||_0x49f706?.['\x65\x6e\x64\x73\x57\x69\x74\x68'](_0x5454f5[_0x5343ad(0x1c3)])===!![];}function isCapabilityCode(_0x4c17c9){const _0x1f8c97=a0_0x80b6be,_0x490b95={'\x48\x59\x49\x6f\x6f':_0x1f8c97(0x1ae),'\x4f\x64\x7a\x78\x5a':function(_0x3d53e7,_0x141a36){return _0x3d53e7===_0x141a36;}};return _0x4c17c9==='\x43\x41\x50\x41\x42\x49\x4c\x49\x54\x59\x5f\x4e\x4f\x54\x5f\x45\x4e\x41\x42\x4c\x45\x44'||_0x4c17c9===_0x490b95[_0x1f8c97(0x193)]||_0x490b95[_0x1f8c97(0x1db)](_0x4c17c9,_0x1f8c97(0x183))||_0x4c17c9===_0x1f8c97(0x1a1)||_0x4c17c9===_0x1f8c97(0x1ba);}function isPartialFailureCode(_0x2099f4){const _0x22996e=a0_0x80b6be,_0x2c349f={'\x72\x57\x42\x41\x59':function(_0x1026f3,_0x45d24e){return _0x1026f3===_0x45d24e;},'\x49\x69\x62\x49\x64':_0x22996e(0x172),'\x70\x4d\x6e\x55\x59':function(_0x4e1d24,_0x1d114d){return _0x4e1d24===_0x1d114d;},'\x74\x72\x59\x5a\x61':_0x22996e(0x1a7)};return _0x2c349f[_0x22996e(0x1a0)](_0x2099f4,_0x2c349f['\x49\x69\x62\x49\x64'])||_0x2099f4===_0x22996e(0x1e5)||_0x2c349f[_0x22996e(0x174)](_0x2099f4,_0x22996e(0x199))||_0x2099f4===_0x2c349f[_0x22996e(0x189)];}function asString(_0x6f8922){const _0x558a0d=a0_0x80b6be,_0x284b4b={'\x43\x42\x49\x41\x68':function(_0x47acc7,_0x3bb8d9){return _0x47acc7===_0x3bb8d9;}};return _0x284b4b[_0x558a0d(0x171)](typeof _0x6f8922,_0x558a0d(0x1a8))&&_0x6f8922['\x74\x72\x69\x6d']()[_0x558a0d(0x1aa)]>0x0?_0x6f8922:void 0x0;}function isFailureDetail(_0x155bda){const _0x479c5d=a0_0x80b6be,_0x55f225={'\x66\x4b\x67\x73\x70':function(_0x3e77e2,_0x21f7a1){return _0x3e77e2===_0x21f7a1;},'\x66\x68\x42\x54\x7a':function(_0x1761df,_0x5709a8){return _0x1761df!==_0x5709a8;}};return _0x55f225[_0x479c5d(0x17f)](typeof _0x155bda,_0x479c5d(0x177))&&_0x55f225[_0x479c5d(0x195)](_0x155bda,null)&&!Array[_0x479c5d(0x1e7)](_0x155bda);}function readCapability(_0x55bbc6,_0x48f714){const _0x118c2c=a0_0x80b6be,_0x5bb874=typeof _0x48f714===_0x118c2c(0x177)&&_0x48f714!==null?asString(_0x48f714[_0x118c2c(0x1c6)]):void 0x0;return asString(_0x55bbc6[_0x118c2c(0x1c6)])??_0x5bb874;}function readFailures(_0x43ddc3,_0x20833a){const _0x2b25fd=a0_0x80b6be,_0xd95b5d={'\x63\x66\x78\x46\x4f':function(_0x3a751a,_0xf7b34e){return _0x3a751a>_0xf7b34e;},'\x45\x5a\x52\x75\x47':function(_0x24d98b,_0xa0b20){return _0x24d98b!==_0xa0b20;}};if(Array[_0x2b25fd(0x1e7)](_0x43ddc3[_0x2b25fd(0x17e)]))return _0x43ddc3[_0x2b25fd(0x17e)][_0x2b25fd(0x1b8)](isFailureDetail);if(Array[_0x2b25fd(0x1e7)](_0x43ddc3[_0x2b25fd(0x1d1)])){const _0x4b34eb=_0x43ddc3[_0x2b25fd(0x1d1)]['\x66\x69\x6c\x74\x65\x72'](_0x41b033=>typeof _0x41b033===_0x2b25fd(0x177)&&_0x41b033!==null&&_0x41b033['\x6f\x6b']===![]);if(_0xd95b5d[_0x2b25fd(0x1e2)](_0x4b34eb['\x6c\x65\x6e\x67\x74\x68'],0x0))return _0x4b34eb[_0x2b25fd(0x1b8)](isFailureDetail);}if(typeof _0x20833a==='\x6f\x62\x6a\x65\x63\x74'&&_0xd95b5d[_0x2b25fd(0x1b0)](_0x20833a,null)&&Array['\x69\x73\x41\x72\x72\x61\x79'](_0x20833a[_0x2b25fd(0x17e)]))return _0x20833a[_0x2b25fd(0x17e)]['\x66\x69\x6c\x74\x65\x72'](isFailureDetail);}function parseErrorResponse(_0x4cc723,_0x42e48d,_0x4a6089,_0x5817d5){const _0x2c920b=a0_0x80b6be,_0x21c83a={'\x78\x6f\x77\x62\x68':_0x2c920b(0x177),'\x77\x74\x41\x5a\x67':function(_0x27c232,_0x4ae701){return _0x27c232!==_0x4ae701;},'\x47\x4a\x4a\x4e\x75':function(_0x4e7c3e,_0x4fafa7){return _0x4e7c3e===_0x4fafa7;},'\x62\x58\x67\x69\x43':'\x55\x6e\x6b\x6e\x6f\x77\x6e\x20\x65\x72\x72\x6f\x72','\x73\x48\x71\x42\x55':_0x2c920b(0x1a8),'\x45\x4a\x74\x53\x67':function(_0x229cb2,_0x21e7a1){return _0x229cb2===_0x21e7a1;},'\x6e\x5a\x79\x49\x62':_0x2c920b(0x1ec),'\x50\x41\x46\x57\x48':function(_0x6a7c10,_0x323bc6){return _0x6a7c10(_0x323bc6);},'\x41\x54\x6e\x46\x4b':'\x52\x65\x73\x6f\x75\x72\x63\x65','\x54\x63\x4e\x65\x57':_0x2c920b(0x1b1),'\x6d\x64\x78\x62\x45':function(_0x481fbd,_0x5dc290){return _0x481fbd>=_0x5dc290;}};let _0x10dbaa;try{_0x10dbaa=JSON[_0x2c920b(0x1cf)](_0x42e48d);}catch{_0x10dbaa={'\x6d\x65\x73\x73\x61\x67\x65':_0x42e48d};}const _0x175f02=_0x10dbaa[_0x2c920b(0x1a5)],_0x4e4809=typeof _0x175f02===_0x21c83a[_0x2c920b(0x1a2)]&&_0x175f02!==null?_0x175f02[_0x2c920b(0x18a)]:void 0x0,_0x16947f=typeof _0x175f02===_0x2c920b(0x177)&&_0x21c83a[_0x2c920b(0x1cd)](_0x175f02,null)?_0x175f02[_0x2c920b(0x1dc)]:void 0x0,_0x261df8=_0x10dbaa[_0x2c920b(0x18a)]||_0x4e4809||(_0x21c83a[_0x2c920b(0x1d8)](typeof _0x175f02,_0x2c920b(0x1a8))?_0x175f02:void 0x0)||_0x42e48d||_0x21c83a[_0x2c920b(0x197)],_0x4c4b29=_0x21c83a[_0x2c920b(0x1d8)](typeof _0x10dbaa[_0x2c920b(0x181)],_0x21c83a[_0x2c920b(0x1b7)])&&_0x10dbaa[_0x2c920b(0x181)][_0x2c920b(0x175)]()[_0x2c920b(0x1aa)]>0x0?_0x10dbaa[_0x2c920b(0x181)][_0x2c920b(0x175)]():void 0x0,_0x279b7d=!!_0x4c4b29&&_0x4c4b29!==_0x261df8&&(_0x21c83a[_0x2c920b(0x19b)](_0x261df8,_0x2c920b(0x18c))||/^failed\b/i[_0x2c920b(0x1bf)](_0x261df8)||/^provision failed\b/i['\x74\x65\x73\x74'](_0x261df8)||/^deprovision failed\b/i[_0x2c920b(0x1bf)](_0x261df8)),_0x34ff3d=_0x10dbaa[_0x2c920b(0x1dc)]||_0x16947f,_0x455b68=''+(_0x4a6089?(_0x4a6089['\x6d\x65\x74\x68\x6f\x64']??'\x52\x45\x51\x55\x45\x53\x54')+'\x20'+(_0x4a6089[_0x2c920b(0x1a6)]??'')+'\x3a\x20':'')+(_0x279b7d?_0x261df8+'\x3a\x20'+_0x4c4b29:_0x261df8),_0x3dd9ff={'\x6f\x72\x69\x67\x69\x6e':inferOrigin(_0x5817d5,_0x4a6089),'\x65\x6e\x64\x70\x6f\x69\x6e\x74':_0x4a6089?.[_0x2c920b(0x1a6)]??_0x5817d5?.['\x67\x65\x74'](_0x2c920b(0x1d3))??void 0x0,'\x72\x65\x74\x72\x79\x41\x66\x74\x65\x72\x4d\x73':parseRetryAfterMs(_0x5817d5?.[_0x2c920b(0x1e1)](_0x21c83a[_0x2c920b(0x178)])??void 0x0,_0x10dbaa),'\x73\x69\x64\x65\x63\x61\x72\x56\x65\x72\x73\x69\x6f\x6e':_0x5817d5?.[_0x2c920b(0x1e1)]('\x78\x2d\x73\x69\x64\x65\x63\x61\x72\x2d\x76\x65\x72\x73\x69\x6f\x6e')??void 0x0,'\x63\x6f\x6e\x74\x61\x69\x6e\x65\x72\x49\x6d\x61\x67\x65':_0x5817d5?.[_0x2c920b(0x1e1)](_0x2c920b(0x17c))??_0x5817d5?.[_0x2c920b(0x1e1)](_0x2c920b(0x192))??void 0x0};if(_0x21c83a['\x50\x41\x46\x57\x48'](isQuotaCode,_0x34ff3d))return new QuotaError(_0x10dbaa[_0x2c920b(0x187)]||_0x2c920b(0x1b1),_0x455b68,_0x10dbaa[_0x2c920b(0x19d)],_0x10dbaa[_0x2c920b(0x1a9)],_0x3dd9ff,_0x4cc723);if(isCapabilityCode(_0x34ff3d))return new CapabilityError(_0x455b68,_0x34ff3d,_0x4cc723,_0x3dd9ff,readCapability(_0x10dbaa,_0x175f02));if(isPartialFailureCode(_0x34ff3d))return new PartialFailureError(_0x455b68,_0x34ff3d,_0x4cc723,_0x3dd9ff,readFailures(_0x10dbaa,_0x175f02));switch(_0x4cc723){case 0x190:return new ValidationError(_0x455b68,_0x10dbaa['\x66\x69\x65\x6c\x64\x73'],_0x3dd9ff);case 0x191:return new AuthError(_0x455b68,_0x3dd9ff);case 0x194:return new NotFoundError(_0x10dbaa[_0x2c920b(0x188)]||_0x21c83a[_0x2c920b(0x17a)],_0x10dbaa['\x72\x65\x73\x6f\x75\x72\x63\x65\x49\x64']||_0x2c920b(0x173),_0x3dd9ff);case 0x198:return new TimeoutError(_0x10dbaa['\x74\x69\x6d\x65\x6f\x75\x74\x4d\x73']||0x7530,_0x455b68,_0x3dd9ff);case 0x199:return new StateError(_0x455b68,_0x10dbaa[_0x2c920b(0x191)]||'\x75\x6e\x6b\x6e\x6f\x77\x6e',_0x10dbaa['\x72\x65\x71\x75\x69\x72\x65\x64\x53\x74\x61\x74\x65'],_0x3dd9ff);case 0x1ad:return new QuotaError(_0x10dbaa[_0x2c920b(0x187)]||_0x21c83a[_0x2c920b(0x1b2)],_0x455b68,_0x10dbaa[_0x2c920b(0x19d)],_0x10dbaa[_0x2c920b(0x1a9)],_0x3dd9ff);case 0x1f5:return new SandboxError(_0x455b68,_0x34ff3d||_0x2c920b(0x1bb),_0x4cc723,_0x3dd9ff);default:if(_0x21c83a['\x6d\x64\x78\x62\x45'](_0x4cc723,0x1f4))return new ServerError(_0x455b68,_0x4cc723,_0x3dd9ff);return new SandboxError(_0x455b68,_0x34ff3d||_0x2c920b(0x19e),_0x4cc723,_0x3dd9ff);}}export{PartialFailureError as a,ServerError as c,ValidationError as d,parseErrorResponse as f,NotFoundError as i,StateError as l,CapabilityError as n,QuotaError as o,NetworkError as r,SandboxError as s,AuthError as t,TimeoutError as u};
|