@unotest/protocol 0.26.0 → 0.26.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/CHANGELOG.md +37 -0
- package/dist/index.d.ts +49 -5
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,42 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.26.1] - 2026-08-30
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- `BundleManifest` gains `declaredVariables?: string[]` — the external
|
|
8
|
+
NAMES a suite declares (values never travel) — and `BundleUploadOk`
|
|
9
|
+
gains `variableGaps?`, how a box reports the ones it cannot supply.
|
|
10
|
+
|
|
11
|
+
- `CollectionMeta` gains `prepare: string | null` — the collection's own
|
|
12
|
+
environment-preparation command, read from `prepare:` in its YAML.
|
|
13
|
+
|
|
14
|
+
- 9424f6b: Fix: screenshots stayed blank in the viewer when runs write to a separate
|
|
15
|
+
artifact root
|
|
16
|
+
|
|
17
|
+
A run whose artifacts do not live under the working directory — every run on
|
|
18
|
+
a box, where the sources are a disposable copy of a test bundle — emitted
|
|
19
|
+
`screenshot` events whose path was relativised against the working directory.
|
|
20
|
+
That came out as `../../../…`, which the viewer's asset route refuses to
|
|
21
|
+
serve, so every step preview rendered as a broken image. Artifact paths are
|
|
22
|
+
now relative to the artifact root, which is still the project root on every
|
|
23
|
+
local run.
|
|
24
|
+
|
|
25
|
+
The failure bundle had the mirror-image problem: it was written to
|
|
26
|
+
`.unotest/failures/` under the working directory, so on a box it landed
|
|
27
|
+
inside the bundle copy — outside the tree the viewer serves, and discarded on
|
|
28
|
+
the next bundle push. It now hangs off the artifact root too, which leaves
|
|
29
|
+
local runs byte-for-byte unchanged.
|
|
30
|
+
|
|
31
|
+
The inspector's Semantic DOM, Console, Network and Snapshot panes were dark
|
|
32
|
+
for a third reason, and this one bit local runs as well: they composed the
|
|
33
|
+
run's directory in the browser and left out the date shard runs have been
|
|
34
|
+
filed under since M-10, plus the environment suffix on a box. The viewer's
|
|
35
|
+
asset route now takes `?file=<name-relative-to-the-run-dir>` and resolves the
|
|
36
|
+
directory itself — runs root, target suffix, environment suffix and shard are
|
|
37
|
+
all things only the server knows. `?path=` stays for the whole paths the
|
|
38
|
+
server ships on run events.
|
|
39
|
+
|
|
3
40
|
## [0.26.0] - 2026-08-30
|
|
4
41
|
|
|
5
42
|
### Minor Changes
|
package/dist/index.d.ts
CHANGED
|
@@ -427,7 +427,12 @@ interface StepFailEvent extends RunArtifactBase {
|
|
|
427
427
|
}
|
|
428
428
|
interface ScreenshotEvent extends RunArtifactBase {
|
|
429
429
|
kind: "screenshot";
|
|
430
|
-
/**
|
|
430
|
+
/** Artifact-root-relative path to the PNG (under
|
|
431
|
+
* `unotest/.runs<suffix>/<shard>/<runId>/screenshot/`). The artifact
|
|
432
|
+
* root is the project root on every local run, and the environment's
|
|
433
|
+
* directory on a box — where the sources are a disposable bundle copy
|
|
434
|
+
* and making this cwd-relative yields a `../../..` path the viewer's
|
|
435
|
+
* asset route refuses to serve. */
|
|
431
436
|
path: string;
|
|
432
437
|
/** Step identity for captures bound to a specific step (per-step
|
|
433
438
|
* screenshots under `UNOTEST_STEP_SCREENSHOTS`). Same semantics as
|
|
@@ -473,10 +478,10 @@ interface JudgeVerdictEvent extends RunArtifactBase {
|
|
|
473
478
|
* agent-fix MCP tools. */
|
|
474
479
|
interface FailureBundleWrittenEvent extends RunArtifactBase {
|
|
475
480
|
kind: "failure-bundle:written";
|
|
476
|
-
/**
|
|
481
|
+
/** Artifact-root-relative path to the bundle directory. */
|
|
477
482
|
bundlePath: string;
|
|
478
|
-
/**
|
|
479
|
-
* when tier-2 capture succeeded. */
|
|
483
|
+
/** Artifact-root-relative path to the screenshot PNG inside the
|
|
484
|
+
* bundle, when tier-2 capture succeeded. */
|
|
480
485
|
screenshotPath?: string;
|
|
481
486
|
/** Page URL at the moment of failure (same value captured into the
|
|
482
487
|
* bundle's `snapshot.json`/`outline.txt`), for the viewer's ErrorCard. */
|
|
@@ -1156,6 +1161,12 @@ interface BundleManifest {
|
|
|
1156
1161
|
* `git config user.email`, falling back to the OS user. */
|
|
1157
1162
|
author?: string;
|
|
1158
1163
|
git?: BundleGitInfo;
|
|
1164
|
+
/** NAMES of the externals the suite declares (`.env` / `.secrets` key
|
|
1165
|
+
* names). Values never travel — they belong to the environment a box
|
|
1166
|
+
* runs the suite in — so the names are what lets a box answer "nothing
|
|
1167
|
+
* here can supply LOGIN" at upload instead of an hour later. Optional:
|
|
1168
|
+
* a bundle packed by an older CLI carries none. */
|
|
1169
|
+
declaredVariables?: string[];
|
|
1159
1170
|
/** Payload size, excluding this manifest. Diagnostics and limits — a
|
|
1160
1171
|
* box states its cap in these terms. */
|
|
1161
1172
|
fileCount: number;
|
|
@@ -1176,9 +1187,31 @@ declare function describeBundle(manifest: BundleManifest): string;
|
|
|
1176
1187
|
* already there and the upload was a no-op. Both are success: a CI job
|
|
1177
1188
|
* that pushes an unchanged suite must not go red. */
|
|
1178
1189
|
type BundleUploadStatus = "created" | "exists";
|
|
1190
|
+
/** An environment on the box that would not be able to RUN this suite:
|
|
1191
|
+
* the bundle declares external variables (its `.env.example` /
|
|
1192
|
+
* `.secrets.example` keys) that the environment neither sets nor holds
|
|
1193
|
+
* as a secret.
|
|
1194
|
+
*
|
|
1195
|
+
* Reported at UPLOAD, where a person is still watching, rather than as a
|
|
1196
|
+
* red suite an hour later — the values live with the environment by
|
|
1197
|
+
* design and no bundle can carry them, so "you pushed fine, and nothing
|
|
1198
|
+
* here can run it" is exactly what the box knows and the pusher does
|
|
1199
|
+
* not. Never fatal: a suite may legitimately not use every key it
|
|
1200
|
+
* declares. */
|
|
1201
|
+
interface BundleVariableGap {
|
|
1202
|
+
/** Project on the box — half of the `<project>/<environment>` target an
|
|
1203
|
+
* operator types, so the advice can be copied rather than assembled. */
|
|
1204
|
+
project: string;
|
|
1205
|
+
/** Environment name within the project (`prod`, `staging`). */
|
|
1206
|
+
environment: string;
|
|
1207
|
+
/** Declared by the bundle, provided by neither variables nor secrets. */
|
|
1208
|
+
missing: string[];
|
|
1209
|
+
}
|
|
1179
1210
|
interface BundleUploadOk {
|
|
1180
1211
|
status: BundleUploadStatus;
|
|
1181
1212
|
bundleId: string;
|
|
1213
|
+
/** Present only when something is missing somewhere. */
|
|
1214
|
+
variableGaps?: BundleVariableGap[];
|
|
1182
1215
|
}
|
|
1183
1216
|
/** Why an upload was refused. A code, not a message, because the CLI
|
|
1184
1217
|
* turns each into its own advice — and because matching on message text
|
|
@@ -1357,6 +1390,17 @@ interface CollectionMeta {
|
|
|
1357
1390
|
* is absent (callers default to 1 = sequential). A CLI `--workers`
|
|
1358
1391
|
* flag overrides this value for one run. */
|
|
1359
1392
|
workers: number | null;
|
|
1393
|
+
/** Optional `prepare:` from the YAML — a shell command that readies the
|
|
1394
|
+
* environment (seeding a database, resetting a fixture) before the
|
|
1395
|
+
* suite runs, inside the same queue slot.
|
|
1396
|
+
*
|
|
1397
|
+
* It belongs to the COLLECTION, not to a schedule: a suite that needs
|
|
1398
|
+
* seeded fixtures needs them however it was started. Before this, a
|
|
1399
|
+
* `prepare` could only live in a `schedules` entry, so the same
|
|
1400
|
+
* collection run from CI, from the viewer or by hand was red on a box
|
|
1401
|
+
* for the want of a table. A schedules entry may still name its own
|
|
1402
|
+
* `prepare` (it wins for that tick), and `--no-prepare` skips it. */
|
|
1403
|
+
prepare: string | null;
|
|
1360
1404
|
}
|
|
1361
1405
|
|
|
1362
1406
|
declare const RUN_MANIFEST_FILE = "manifest.json";
|
|
@@ -2274,4 +2318,4 @@ declare const JUDGE_ENV: {
|
|
|
2274
2318
|
readonly skipPreflight: "UNOTEST_JUDGE_SKIP_PREFLIGHT";
|
|
2275
2319
|
};
|
|
2276
2320
|
|
|
2277
|
-
export { ARTIFACTS_ROOT_ENV, type AddVariablePlan, type AddVariablePlanInput, type AppPathPickerSpec, type AppServerEvent, type AuthoringRunRequest, BLOBS_DIR, BOX_TOKEN_ENV, BOX_URL_ENV, BUNDLE_ID_ENV, BUNDLE_MANIFEST_FILE, BUNDLE_SCHEMA_VERSION, BUNDLE_UPLOAD_PATH, type BreakpointEntry, type BreakpointsFile, type BundleGitInfo, type BundleManifest, type BundleUploadError, type BundleUploadErrorCode, type BundleUploadOk, type BundleUploadResponse, type BundleUploadStatus, CI_RUN_PATH, COLLECTIONS_SUBDIR, COLLECTION_NAME_FORBIDDEN_RE, COMMANDS_FILE, type CheckSeverity, type CiProviderId, type CiQueuedRun, type CiRunAccepted, type CiRunError, type CiRunErrorCode, type CiRunRequest, type CiRunResponse, type CollectionMeta, type CollectionRunArtifact, type CollectionRunFinishedEvent, type CollectionRunRequest, type CollectionRunStartedEvent, type CollectionRunTab, type CollectionScenarioFinishedEvent, type CollectionScenarioStartedEvent, type CollectionTab, DAY_INDEX_FILE, type DbgCommand, type DbgCommandAbort, type DbgCommandClearBp, type DbgCommandContinue, type DbgCommandKind, type DbgCommandPause, type DbgCommandPickerStart, type DbgCommandPickerStop, type DbgCommandProbe, type DbgCommandRecord, type DbgCommandSetBp, type DbgCommandSnapshot, type DbgCommandStep, type DbgCommandWheel, type DebugCapabilities, type DoctorCheck, type DoctorContext, type DslDiagnostic, type DslValidateContext, type DslVocabArg, type DslVocabCategory, type DslVocabEntry, E2E_SUBDIR, ENV_FILE, EXPECT_FAIL_ANNOTATION, type EnqueueRunInput, type EnvChangedMessage, type EnvFile, type EnvUpdate, type EnvVar, type ErrorMessage, type FailureBundleWrittenEvent, type FsBreakpointsChangedMessage, type FsCollectionRunStepMessage, type FsCollectionsChangedMessage, type FsHelpersChangedMessage, type FsRunFinishedMessage, type FsRunStartedMessage, type FsRunStepMessage, type FsScenariosChangedMessage, HEARTBEAT_FILE, HELPERS_SUBDIR, type HelperMeta, type HelperTab, type HostRequirement, type IDslLanguageService, type ILaunchedProcess, type IProcessLauncher, type IRunQueue, type IRunnerAdapter, InvalidBlobHashError, JUDGE_ENV, JUDGE_ROUTES, type JudgeErrorResponse, type JudgeHealthResponse, type JudgeRequest, type JudgeVerdict, type JudgeVerdictEvent, LOCK_FILE, LOG_FILE, type LaunchSpec, type LocatorPickedEvent, type LockFile, type LogLineMessage, type Matcher, type OverviewTab, PICKER_SNAPSHOT_FILE, type ParsedTicketName, type PausedEvent, type PickerMode, type ProbeMatch, type ProbePinned, type ProbeResult, type ProbeResultEvent, QUEUE_DISABLED_ENV, QUEUE_GLOBAL_DIR_ENV, QUEUE_GLOBAL_SLOTS_ENV, QUEUE_LEASE_ENV, QUEUE_MUTEX_FILE, QUEUE_PRIORITIES, QUEUE_RUNNING_DIR, QUEUE_SCHEMA_VERSION, QUEUE_SLOTS_DIR, QUEUE_SUBDIR, QUEUE_TICKETS_DIR, type QueueChangedMessage, type QueueEntry, type QueuePoolState, type QueuePriority, type QueueProducer, type QueueProducerKind, type QueueSnapshot, type QueueTicket, type QueueTicketCi, type QueueTicketKind, type QueueTicketSource, RUNNER_CONFIG_KEYS, RUNS_SUBDIR, RUNTIME_FILE, RUN_INDEX_SCHEMA_VERSION, RUN_MANIFEST_FILE, RUN_SOURCES_FILE, type RecordedActionKind, type RegexLiteral, type ResumedEvent, type RunArtifact, type RunFinishedEvent, type RunId, type RunIndexEntry, type RunIndexHeader, type RunKind, type RunManifest, type RunMeta, type RunOutcome, type RunQueueLease, type RunQueueTicketHandle, type RunRequest, type RunSources, type RunStartedEvent, type RunStatus, RunnerAdapterNotFoundError, RunnerNotConfiguredError, type RuntimeState, type RuntimeStateFile, SCENARIOS_INDEX_DIR, SCENARIOS_LATEST_FILE, SCENARIO_RECENT_WINDOW, SECRETS_FILE, SEGMENT_NAME_FORBIDDEN_RE, SNAPSHOTS_SUBDIR, STDERR_FILE, STDOUT_FILE, STEPS_FILE, type ScenarioAnnotations, type ScenarioLatestEntry, type ScenarioMeta, type ScenarioRunRequest, type ScenarioRunTab, type ScenarioTab, type ScenariosLatest, type ScenariosPayload, type ScheduleEntry, type ScreenshotEvent, type SnapshotTab, type StepFailEvent, type StepOkEvent, type StepStartedEvent, TERMINAL_RUNTIME_STATES, TERMINAL_WS_EVENT, type TabKind, type TabKindName, type TerminalClientMessage, type TerminalCloseMessage, type TerminalDataMessage, type TerminalErrorMessage, type TerminalExitMessage, type TerminalKind, type TerminalOutputMessage, type TerminalResizeMessage, type TerminalServerMessage, type TerminalSpawnMessage, type ToolCallEvent, type ToolResultEvent, UNOTEST_DIR, UnplaceableRunIdError, UnsupportedRunKindError, type VariableCategory, type VariableKind, type VariablePlanError, WORKSPACE_FILE, WORKSPACE_SCHEMA_VERSION, type WheelChangedEvent, type WorkspaceBundle, type WorkspaceFile, type WsMessage, type WsMessageKind, activeEnvName, artifactsRootFrom, blobPathFor, blobRelPathFor, blobRelSegmentsFor, blobsRootFor, categorizeVariable, compareQueueTicketNames, debugDirFor, debuggerFileFor, deleteShadowWarning, describeBundle, describeTicketCi, envFileFor, envKeys, envLayerFilesFor, envNamesFromDirListing, foldScenarioRun, insertEnvVar, isAnnotationLine, isExternalVarName, isFailingStatus, isQueueDirName, isRecord, isRegexLiteral, isRunnerConfigKey, isRunsDirName, isTerminalRuntimeState, makeQueueTicketName, makeRunId, parseAppServerEvent, parseBundleManifest, parseBundleUploadResponse, parseCiProvider, parseCiRunRequest, parseCiRunResponse, parseEnvContent, parseQueueTicket, parseQueueTicketName, parseScenarioAnnotations, parseScheduleEntry, parseSchedulesJson, parseWorkspaceFile, planAddVariable, projectQueueRoot, projectRunDirFor, projectRunsRoot, queueDirFor, queuePriorityFromRank, queuePriorityRank, regexLiteral, removeEnvVar, requireRunDirFor, runDirFor, runIdStartedAt, runsDirFor, sanitizeRunIdSegment, scenarioIndexFileName, scenarioRefFromFileName, secretsFileFor, secretsLayerFilesFor, serializeEnvValue, shardDaysDescending, shardDirFor, shardPathForRunId, shardPathForTimestamp, testDirFor, validateCollectionName, validateSegmentName };
|
|
2321
|
+
export { ARTIFACTS_ROOT_ENV, type AddVariablePlan, type AddVariablePlanInput, type AppPathPickerSpec, type AppServerEvent, type AuthoringRunRequest, BLOBS_DIR, BOX_TOKEN_ENV, BOX_URL_ENV, BUNDLE_ID_ENV, BUNDLE_MANIFEST_FILE, BUNDLE_SCHEMA_VERSION, BUNDLE_UPLOAD_PATH, type BreakpointEntry, type BreakpointsFile, type BundleGitInfo, type BundleManifest, type BundleUploadError, type BundleUploadErrorCode, type BundleUploadOk, type BundleUploadResponse, type BundleUploadStatus, type BundleVariableGap, CI_RUN_PATH, COLLECTIONS_SUBDIR, COLLECTION_NAME_FORBIDDEN_RE, COMMANDS_FILE, type CheckSeverity, type CiProviderId, type CiQueuedRun, type CiRunAccepted, type CiRunError, type CiRunErrorCode, type CiRunRequest, type CiRunResponse, type CollectionMeta, type CollectionRunArtifact, type CollectionRunFinishedEvent, type CollectionRunRequest, type CollectionRunStartedEvent, type CollectionRunTab, type CollectionScenarioFinishedEvent, type CollectionScenarioStartedEvent, type CollectionTab, DAY_INDEX_FILE, type DbgCommand, type DbgCommandAbort, type DbgCommandClearBp, type DbgCommandContinue, type DbgCommandKind, type DbgCommandPause, type DbgCommandPickerStart, type DbgCommandPickerStop, type DbgCommandProbe, type DbgCommandRecord, type DbgCommandSetBp, type DbgCommandSnapshot, type DbgCommandStep, type DbgCommandWheel, type DebugCapabilities, type DoctorCheck, type DoctorContext, type DslDiagnostic, type DslValidateContext, type DslVocabArg, type DslVocabCategory, type DslVocabEntry, E2E_SUBDIR, ENV_FILE, EXPECT_FAIL_ANNOTATION, type EnqueueRunInput, type EnvChangedMessage, type EnvFile, type EnvUpdate, type EnvVar, type ErrorMessage, type FailureBundleWrittenEvent, type FsBreakpointsChangedMessage, type FsCollectionRunStepMessage, type FsCollectionsChangedMessage, type FsHelpersChangedMessage, type FsRunFinishedMessage, type FsRunStartedMessage, type FsRunStepMessage, type FsScenariosChangedMessage, HEARTBEAT_FILE, HELPERS_SUBDIR, type HelperMeta, type HelperTab, type HostRequirement, type IDslLanguageService, type ILaunchedProcess, type IProcessLauncher, type IRunQueue, type IRunnerAdapter, InvalidBlobHashError, JUDGE_ENV, JUDGE_ROUTES, type JudgeErrorResponse, type JudgeHealthResponse, type JudgeRequest, type JudgeVerdict, type JudgeVerdictEvent, LOCK_FILE, LOG_FILE, type LaunchSpec, type LocatorPickedEvent, type LockFile, type LogLineMessage, type Matcher, type OverviewTab, PICKER_SNAPSHOT_FILE, type ParsedTicketName, type PausedEvent, type PickerMode, type ProbeMatch, type ProbePinned, type ProbeResult, type ProbeResultEvent, QUEUE_DISABLED_ENV, QUEUE_GLOBAL_DIR_ENV, QUEUE_GLOBAL_SLOTS_ENV, QUEUE_LEASE_ENV, QUEUE_MUTEX_FILE, QUEUE_PRIORITIES, QUEUE_RUNNING_DIR, QUEUE_SCHEMA_VERSION, QUEUE_SLOTS_DIR, QUEUE_SUBDIR, QUEUE_TICKETS_DIR, type QueueChangedMessage, type QueueEntry, type QueuePoolState, type QueuePriority, type QueueProducer, type QueueProducerKind, type QueueSnapshot, type QueueTicket, type QueueTicketCi, type QueueTicketKind, type QueueTicketSource, RUNNER_CONFIG_KEYS, RUNS_SUBDIR, RUNTIME_FILE, RUN_INDEX_SCHEMA_VERSION, RUN_MANIFEST_FILE, RUN_SOURCES_FILE, type RecordedActionKind, type RegexLiteral, type ResumedEvent, type RunArtifact, type RunFinishedEvent, type RunId, type RunIndexEntry, type RunIndexHeader, type RunKind, type RunManifest, type RunMeta, type RunOutcome, type RunQueueLease, type RunQueueTicketHandle, type RunRequest, type RunSources, type RunStartedEvent, type RunStatus, RunnerAdapterNotFoundError, RunnerNotConfiguredError, type RuntimeState, type RuntimeStateFile, SCENARIOS_INDEX_DIR, SCENARIOS_LATEST_FILE, SCENARIO_RECENT_WINDOW, SECRETS_FILE, SEGMENT_NAME_FORBIDDEN_RE, SNAPSHOTS_SUBDIR, STDERR_FILE, STDOUT_FILE, STEPS_FILE, type ScenarioAnnotations, type ScenarioLatestEntry, type ScenarioMeta, type ScenarioRunRequest, type ScenarioRunTab, type ScenarioTab, type ScenariosLatest, type ScenariosPayload, type ScheduleEntry, type ScreenshotEvent, type SnapshotTab, type StepFailEvent, type StepOkEvent, type StepStartedEvent, TERMINAL_RUNTIME_STATES, TERMINAL_WS_EVENT, type TabKind, type TabKindName, type TerminalClientMessage, type TerminalCloseMessage, type TerminalDataMessage, type TerminalErrorMessage, type TerminalExitMessage, type TerminalKind, type TerminalOutputMessage, type TerminalResizeMessage, type TerminalServerMessage, type TerminalSpawnMessage, type ToolCallEvent, type ToolResultEvent, UNOTEST_DIR, UnplaceableRunIdError, UnsupportedRunKindError, type VariableCategory, type VariableKind, type VariablePlanError, WORKSPACE_FILE, WORKSPACE_SCHEMA_VERSION, type WheelChangedEvent, type WorkspaceBundle, type WorkspaceFile, type WsMessage, type WsMessageKind, activeEnvName, artifactsRootFrom, blobPathFor, blobRelPathFor, blobRelSegmentsFor, blobsRootFor, categorizeVariable, compareQueueTicketNames, debugDirFor, debuggerFileFor, deleteShadowWarning, describeBundle, describeTicketCi, envFileFor, envKeys, envLayerFilesFor, envNamesFromDirListing, foldScenarioRun, insertEnvVar, isAnnotationLine, isExternalVarName, isFailingStatus, isQueueDirName, isRecord, isRegexLiteral, isRunnerConfigKey, isRunsDirName, isTerminalRuntimeState, makeQueueTicketName, makeRunId, parseAppServerEvent, parseBundleManifest, parseBundleUploadResponse, parseCiProvider, parseCiRunRequest, parseCiRunResponse, parseEnvContent, parseQueueTicket, parseQueueTicketName, parseScenarioAnnotations, parseScheduleEntry, parseSchedulesJson, parseWorkspaceFile, planAddVariable, projectQueueRoot, projectRunDirFor, projectRunsRoot, queueDirFor, queuePriorityFromRank, queuePriorityRank, regexLiteral, removeEnvVar, requireRunDirFor, runDirFor, runIdStartedAt, runsDirFor, sanitizeRunIdSegment, scenarioIndexFileName, scenarioRefFromFileName, secretsFileFor, secretsLayerFilesFor, serializeEnvValue, shardDaysDescending, shardDirFor, shardPathForRunId, shardPathForTimestamp, testDirFor, validateCollectionName, validateSegmentName };
|
package/dist/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x705370=_0x4252;(function(_0x54fd00,_0x1b09a1){const _0x2fd5a8={_0x193be1:0x157,_0x1532e5:0x17a,_0x2edd52:0x10a,_0x337238:0x127,_0x1bc460:0x10e,_0x175a6f:0x114,_0x19be48:0x1a5,_0x563692:0x12b},_0x2bdb0e=_0x4252,_0x577da5=_0x54fd00();while(!![]){try{const _0x142552=parseInt(_0x2bdb0e(_0x2fd5a8._0x193be1))/0x1*(-parseInt(_0x2bdb0e(_0x2fd5a8._0x1532e5))/0x2)+-parseInt(_0x2bdb0e(0x1ae))/0x3*(parseInt(_0x2bdb0e(_0x2fd5a8._0x2edd52))/0x4)+-parseInt(_0x2bdb0e(0x186))/0x5*(parseInt(_0x2bdb0e(0x103))/0x6)+parseInt(_0x2bdb0e(_0x2fd5a8._0x337238))/0x7*(parseInt(_0x2bdb0e(0xd0))/0x8)+parseInt(_0x2bdb0e(_0x2fd5a8._0x1bc460))/0x9*(parseInt(_0x2bdb0e(_0x2fd5a8._0x175a6f))/0xa)+-parseInt(_0x2bdb0e(_0x2fd5a8._0x19be48))/0xb*(-parseInt(_0x2bdb0e(_0x2fd5a8._0x563692))/0xc)+parseInt(_0x2bdb0e(0x19f))/0xd*(-parseInt(_0x2bdb0e(0xc8))/0xe);if(_0x142552===_0x1b09a1)break;else _0x577da5['push'](_0x577da5['shift']());}catch(_0x233444){_0x577da5['push'](_0x577da5['shift']());}}}(_0x2c65,0x4b807));var __defProp=Object[_0x705370(0xfa)],__name=(_0x1eca7d,_0x565f78)=>__defProp(_0x1eca7d,_0x705370(0xdd),{'value':_0x565f78,'configurable':!![]});function parseAppServerEvent(_0x454b09){const _0x4e2dd2={_0x50f617:0x116},_0x17cf14=_0x705370,_0x2dedc7=_0x454b09[_0x17cf14(0xdc)]();if(!_0x2dedc7['startsWith']('{'))return null;try{const _0x3c9c4f=JSON['parse'](_0x2dedc7);if(_0x3c9c4f[_0x17cf14(0x116)]==='app-server:ready'||_0x3c9c4f[_0x17cf14(0x116)]===_0x17cf14(0x14c)||_0x3c9c4f[_0x17cf14(_0x4e2dd2._0x50f617)]===_0x17cf14(0x13f))return _0x3c9c4f;return null;}catch{return null;}}__name(parseAppServerEvent,_0x705370(0x101));function isRecord(_0x11a723){const _0x5912d3=_0x705370;return typeof _0x11a723===_0x5912d3(0xc0)&&_0x11a723!==null&&!Array[_0x5912d3(0x18f)](_0x11a723);}__name(isRecord,_0x705370(0xff));var UNOTEST_DIR=_0x705370(0x18d),E2E_SUBDIR='e2e',HELPERS_SUBDIR='_helpers',COLLECTIONS_SUBDIR=_0x705370(0x174),RUNS_SUBDIR=_0x705370(0xe0),SNAPSHOTS_SUBDIR=_0x705370(0xf1);function testDirFor(_0x3850c5){return''+E2E_SUBDIR+_0x3850c5;}__name(testDirFor,'testDirFor');function runsDirFor(_0x2cf097,_0x182864){return''+RUNS_SUBDIR+_0x2cf097+(_0x182864?'.'+_0x182864:'');}__name(runsDirFor,'runsDirFor');function isRunsDirName(_0x5de615){const _0x411e87=_0x705370;return _0x5de615===RUNS_SUBDIR||_0x5de615[_0x411e87(0x145)](RUNS_SUBDIR+'-')||_0x5de615['startsWith'](RUNS_SUBDIR+'.');}__name(isRunsDirName,_0x705370(0x185));function debugDirFor(_0x1ca785){return'.debug'+_0x1ca785;}__name(debugDirFor,_0x705370(0x105));function debuggerFileFor(_0x2ed65e){const _0x3c7a1f=_0x705370;return UNOTEST_DIR+_0x3c7a1f(0x190)+_0x2ed65e+_0x3c7a1f(0x11f);}__name(debuggerFileFor,_0x705370(0x191));var LOCK_FILE=_0x705370(0xe5),LOG_FILE=_0x705370(0xfc),STEPS_FILE=_0x705370(0x171),HEARTBEAT_FILE=_0x705370(0x173),DAY_INDEX_FILE=_0x705370(0xeb),SCENARIOS_INDEX_DIR='_scenarios',SCENARIOS_LATEST_FILE=_0x705370(0xd6),STDOUT_FILE=_0x705370(0x15a),STDERR_FILE='stderr.log',COMMANDS_FILE=_0x705370(0xda),RUNTIME_FILE=_0x705370(0x1af),PICKER_SNAPSHOT_FILE=_0x705370(0xef),ENV_FILE=_0x705370(0x112),SECRETS_FILE=_0x705370(0x136);function envFileFor(_0x5b69f1,_0x42f12f){return''+ENV_FILE+_0x5b69f1+(_0x42f12f?'.'+_0x42f12f:'');}__name(envFileFor,_0x705370(0x153));function secretsFileFor(_0x181c56,_0x3e00d6){return''+SECRETS_FILE+_0x181c56+(_0x3e00d6?'.'+_0x3e00d6:'');}__name(secretsFileFor,'secretsFileFor');function envLayerFilesFor(_0x51ec87,_0x433e3a){return layersFor(ENV_FILE,_0x51ec87,_0x433e3a);}__name(envLayerFilesFor,_0x705370(0xee));function secretsLayerFilesFor(_0x40b852,_0xb9d860){return layersFor(SECRETS_FILE,_0x40b852,_0xb9d860);}__name(secretsLayerFilesFor,'secretsLayerFilesFor');function layersFor(_0x370fd9,_0x59c9b5,_0x7ca320){const _0x467912={_0x379597:0x130},_0x565662=_0x705370,_0x4e4e1b=[_0x370fd9];if(_0x59c9b5)_0x4e4e1b['push'](''+_0x370fd9+_0x59c9b5);if(_0x7ca320){_0x4e4e1b['push'](_0x370fd9+'.'+_0x7ca320);if(_0x59c9b5)_0x4e4e1b[_0x565662(_0x467912._0x379597)](''+_0x370fd9+_0x59c9b5+'.'+_0x7ca320);}return _0x4e4e1b;}__name(layersFor,_0x705370(0x1b5));var ARTIFACTS_ROOT_ENV='UNOTEST_ARTIFACTS_ROOT';function artifactsRootFrom(_0x20ee75,_0x5096ee){const _0x486dd3=_0x20ee75[ARTIFACTS_ROOT_ENV]?.['trim']();return _0x486dd3?_0x486dd3:_0x5096ee;}__name(artifactsRootFrom,_0x705370(0x199));function activeEnvName(_0x2b5d16){const _0x54f386={_0x42d4b9:0xdc},_0x5e7ee6=_0x705370,_0x3a10cd=_0x2b5d16[_0x5e7ee6(0x133)]?.[_0x5e7ee6(_0x54f386._0x42d4b9)]();return _0x3a10cd?_0x3a10cd:void 0x0;}__name(activeEnvName,_0x705370(0x187));var RESERVED_ENV_NAMES=new Set(['example','sample',_0x705370(0x178)]);function envNamesFromDirListing(_0x27e696,_0x1f38d6){const _0x2d572f={_0x11ce8:0xf3,_0x2c6df1:0x145,_0x2e5226:0x1b9,_0x370aa9:0x131,_0x5efd86:0x17e},_0x4a395d=_0x705370,_0xcbc4ea=[_0x4a395d(_0x2d572f._0x11ce8),_0x4a395d(0x14e)]['flatMap'](_0x3c153f=>_0x1f38d6?[_0x3c153f,''+_0x3c153f+_0x1f38d6]:[_0x3c153f]),_0x10edc3=new Set();for(const _0xae6d17 of _0x27e696){for(const _0x3a58c1 of _0xcbc4ea){const _0x376a9d=_0x3a58c1+'.';if(!_0xae6d17[_0x4a395d(_0x2d572f._0x2c6df1)](_0x376a9d))continue;const _0x2d8c8a=_0xae6d17[_0x4a395d(_0x2d572f._0x2e5226)](_0x376a9d[_0x4a395d(_0x2d572f._0x370aa9)]);if(!_0x2d8c8a||_0x2d8c8a['includes']('/'))continue;if(RESERVED_ENV_NAMES[_0x4a395d(_0x2d572f._0x5efd86)](_0x2d8c8a))continue;_0x10edc3[_0x4a395d(0x166)](_0x2d8c8a);}}return[..._0x10edc3]['sort']();}__name(envNamesFromDirListing,_0x705370(0x19d));function isRegexLiteral(_0x10a5d3){const _0x46e4f4={_0x8a40e7:0x116,_0x34035d:0x162,_0x4f8e21:0x14b,_0x2e979f:0x15b},_0x276f26=_0x705370;return typeof _0x10a5d3===_0x276f26(0xc0)&&_0x10a5d3!==null&&_0x10a5d3[_0x276f26(_0x46e4f4._0x8a40e7)]===_0x276f26(_0x46e4f4._0x34035d)&&typeof _0x10a5d3[_0x276f26(_0x46e4f4._0x4f8e21)]===_0x276f26(_0x46e4f4._0x2e979f)&&typeof _0x10a5d3[_0x276f26(0x12c)]==='string';}function _0x4252(_0x33b801,_0x2fe28b){_0x33b801=_0x33b801-0xc0;const _0x2c65a9=_0x2c65();let _0x4252f4=_0x2c65a9[_0x33b801];if(_0x4252['EwHWNv']===undefined){var _0x31bf7f=function(_0x5a4f8d){const _0x53c709='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x1eca7d='',_0x565f78='';for(let _0x454b09=0x0,_0x2dedc7,_0x3c9c4f,_0x11a723=0x0;_0x3c9c4f=_0x5a4f8d['charAt'](_0x11a723++);~_0x3c9c4f&&(_0x2dedc7=_0x454b09%0x4?_0x2dedc7*0x40+_0x3c9c4f:_0x3c9c4f,_0x454b09++%0x4)?_0x1eca7d+=String['fromCharCode'](0xff&_0x2dedc7>>(-0x2*_0x454b09&0x6)):0x0){_0x3c9c4f=_0x53c709['indexOf'](_0x3c9c4f);}for(let _0x3850c5=0x0,_0x2cf097=_0x1eca7d['length'];_0x3850c5<_0x2cf097;_0x3850c5++){_0x565f78+='%'+('00'+_0x1eca7d['charCodeAt'](_0x3850c5)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x565f78);};_0x4252['YfqTFj']=_0x31bf7f,_0x4252['hWsJQd']={},_0x4252['EwHWNv']=!![];}const _0x32fe32=_0x2c65a9[0x0],_0x347854=_0x33b801+_0x32fe32,_0x22f3c3=_0x4252['hWsJQd'][_0x347854];return!_0x22f3c3?(_0x4252f4=_0x4252['YfqTFj'](_0x4252f4),_0x4252['hWsJQd'][_0x347854]=_0x4252f4):_0x4252f4=_0x22f3c3,_0x4252f4;}__name(isRegexLiteral,'isRegexLiteral');function regexLiteral(_0x34d369,_0x5efe34=''){const _0x5808a1={_0x418bef:0x162},_0xc304f4=_0x705370;return{'kind':_0xc304f4(_0x5808a1._0x418bef),'source':_0x34d369,'flags':_0x5efe34};}__name(regexLiteral,_0x705370(0xce));var RAND_BYTES=0x6;function makeRunId(_0x20712f){const _0x6084d6={_0x409c6c:0x142,_0x38fb42:0x104},_0x3304a3=_0x705370,_0x255f5e=sanitizeRunIdSegment(_0x20712f),_0xf10482=Date[_0x3304a3(_0x6084d6._0x409c6c)]()['toString'](0x24),_0xc2c4a0=new Uint8Array(RAND_BYTES);globalThis[_0x3304a3(0x1b7)][_0x3304a3(0xe2)](_0xc2c4a0);let _0x135faa='';for(let _0xcdae8=0x0;_0xcdae8<_0xc2c4a0['length'];_0xcdae8++){_0x135faa+=_0xc2c4a0[_0xcdae8][_0x3304a3(_0x6084d6._0x38fb42)](0x10)['padStart'](0x2,'0');}return _0x255f5e+'-'+_0xf10482+'-'+_0x135faa;}__name(makeRunId,_0x705370(0x129));function sanitizeRunIdSegment(_0x399820){const _0x21248b={_0x9df7be:0x15f},_0x54c42d=_0x705370,_0x4eecde=_0x399820[_0x54c42d(_0x21248b._0x9df7be)](/[^a-zA-Z0-9_-]+/g,'-')[_0x54c42d(0x15f)](/-+/g,'-')['replace'](/^-|-$/g,'');return _0x4eecde[_0x54c42d(0x131)]>0x0?_0x4eecde:_0x54c42d(0x195);}__name(sanitizeRunIdSegment,'sanitizeRunIdSegment');var RANDOM_SUFFIX_RE=/^[0-9a-f]{6,}$/,MIN_PLAUSIBLE_MS=Date[_0x705370(0xca)](0x7e4,0x0,0x1),MAX_PLAUSIBLE_MS=Date[_0x705370(0xca)](0x834,0x0,0x1);function runIdStartedAt(_0x5bc1cd){const _0x299610={_0x40ccf6:0xc9,_0x3a4c5d:0x131,_0x460899:0x1be,_0x5afe58:0x11b},_0x1ad23=_0x705370,_0x2a77e2=_0x5bc1cd[_0x1ad23(_0x299610._0x40ccf6)]('-');if(_0x2a77e2['length']<0x3)return null;const _0x2b1a74=_0x2a77e2[_0x2a77e2[_0x1ad23(_0x299610._0x3a4c5d)]-0x1];if(!RANDOM_SUFFIX_RE[_0x1ad23(0x1be)](_0x2b1a74))return null;const _0x342796=_0x2a77e2[_0x2a77e2[_0x1ad23(0x131)]-0x2];if(!/^[0-9a-z]+$/[_0x1ad23(_0x299610._0x460899)](_0x342796))return null;const _0x5d4d5e=parseInt(_0x342796,0x24);if(!Number[_0x1ad23(_0x299610._0x5afe58)](_0x5d4d5e))return null;if(_0x5d4d5e<MIN_PLAUSIBLE_MS||_0x5d4d5e>=MAX_PLAUSIBLE_MS)return null;return _0x5d4d5e;}__name(runIdStartedAt,_0x705370(0x108));function shardPathForTimestamp(_0x133eb0){const _0x138a12={_0x14e349:0xfd,_0xf862d8:0x123,_0x24fa3c:0x16b},_0x2247d2=_0x705370,_0x26abb9=new Date(_0x133eb0),_0x134d8a=String(_0x26abb9[_0x2247d2(_0x138a12._0x14e349)]())[_0x2247d2(_0x138a12._0xf862d8)](0x4,'0'),_0x2f0f5c=String(_0x26abb9['getUTCMonth']()+0x1)[_0x2247d2(0x123)](0x2,'0'),_0x34ef05=String(_0x26abb9[_0x2247d2(_0x138a12._0x24fa3c)]())[_0x2247d2(_0x138a12._0xf862d8)](0x2,'0');return _0x134d8a+'/'+_0x2f0f5c+'/'+_0x34ef05;}__name(shardPathForTimestamp,_0x705370(0x17b));function shardPathForRunId(_0x2333b6){const _0x4db7bf=runIdStartedAt(_0x2333b6);return _0x4db7bf===null?null:shardPathForTimestamp(_0x4db7bf);}__name(shardPathForRunId,_0x705370(0xea));function runDirFor(_0x23679b,_0x1f9e61){const _0x27e64f=shardPathForRunId(_0x1f9e61);return _0x27e64f===null?null:_0x23679b+'/'+_0x27e64f+'/'+_0x1f9e61;}__name(runDirFor,'runDirFor');var UnplaceableRunIdError=class extends Error{static{__name(this,_0x705370(0x13a));}constructor(_0x1794cf){const _0x4dc26d={_0x116f9b:0x128,_0x338051:0x13a},_0x4ca739=_0x705370;super(_0x4ca739(_0x4dc26d._0x116f9b)+_0x1794cf),this['name']=_0x4ca739(_0x4dc26d._0x338051);}};function requireRunDirFor(_0x470059,_0x5a21b2){const _0x1b937e=runDirFor(_0x470059,_0x5a21b2);if(_0x1b937e===null)throw new UnplaceableRunIdError(_0x5a21b2);return _0x1b937e;}__name(requireRunDirFor,'requireRunDirFor');function projectRunsRoot(_0x260a60='',_0x61416){return UNOTEST_DIR+'/'+runsDirFor(_0x260a60,_0x61416);}__name(projectRunsRoot,'projectRunsRoot');function projectRunDirFor(_0x5e6f54,_0x3331ec='',_0x1736e4){return requireRunDirFor(projectRunsRoot(_0x3331ec,_0x1736e4),_0x5e6f54);}__name(projectRunDirFor,'projectRunDirFor');function shardDirFor(_0x54e960,_0x3c1027){return _0x54e960+'/'+shardPathForTimestamp(_0x3c1027);}__name(shardDirFor,'shardDirFor');function*shardDaysDescending(_0x191d2d,_0x461267,_0x44c0bd){const _0x955308={_0x4c1fcd:0xd9},_0x303784=_0x705370,_0x4d5921=0x5265c00;let _0x684954=Math[_0x303784(_0x955308._0x4c1fcd)](_0x461267/_0x4d5921)*_0x4d5921;for(let _0x499c9a=0x0;_0x499c9a<_0x44c0bd;_0x499c9a++){yield shardDirFor(_0x191d2d,_0x684954),_0x684954-=_0x4d5921;}}__name(shardDaysDescending,_0x705370(0x18c));var RUN_INDEX_SCHEMA_VERSION=0x2,SCENARIO_RECENT_WINDOW=0xc;function isFailingStatus(_0x2b17b4){const _0x51632e={_0x4f24ae:0x16c},_0x9d2f0a=_0x705370;return _0x2b17b4==='failed'||_0x2b17b4===_0x9d2f0a(_0x51632e._0x4f24ae);}__name(isFailingStatus,'isFailingStatus');function foldScenarioRun(_0x2d36df,_0x1f839c){const _0x514926={_0x401cba:0x148,_0x147b79:0x172,_0x205300:0x134,_0x3c2274:0x155,_0x3711a1:0x1b9,_0x464663:0x155,_0x5bb8b6:0xc4,_0x49ec1c:0x126},_0xe37255=_0x705370,_0x1da825={'lastRunId':_0x1f839c[_0xe37255(_0x514926._0x401cba)],'lastStatus':_0x1f839c[_0xe37255(0x155)],'lastAt':_0x1f839c[_0xe37255(_0x514926._0x147b79)],'lastDurationMs':_0x1f839c['durationMs'],'recent':[..._0x2d36df?.[_0xe37255(_0x514926._0x205300)]??[],_0x1f839c[_0xe37255(_0x514926._0x3c2274)]][_0xe37255(_0x514926._0x3711a1)](-SCENARIO_RECENT_WINDOW)};if(!isFailingStatus(_0x1f839c[_0xe37255(_0x514926._0x464663)]))return{..._0x1da825,'failStreak':0x0,'failingSince':null};const _0x325969=(_0x2d36df?.[_0xe37255(_0x514926._0x5bb8b6)]??0x0)+0x1;return{..._0x1da825,'failStreak':_0x325969,'failingSince':_0x325969===0x1?_0x1f839c[_0xe37255(0x172)]:_0x2d36df?.[_0xe37255(_0x514926._0x49ec1c)]??_0x1f839c[_0xe37255(0x172)]};}__name(foldScenarioRun,'foldScenarioRun');function scenarioIndexFileName(_0x1d0142){const _0x43d26e={_0x4157c3:0x159},_0x39c28f=_0x705370;return encodeURIComponent(_0x1d0142)+_0x39c28f(_0x43d26e._0x4157c3);}__name(scenarioIndexFileName,_0x705370(0x1a7));function scenarioRefFromFileName(_0x370f6c){const _0x4fd705={_0x5200c6:0x1a3,_0x1a5f54:0x159,_0x489c6f:0x1b9,_0x3681e7:0x131},_0x47bd48=_0x705370;if(!_0x370f6c[_0x47bd48(_0x4fd705._0x5200c6)](_0x47bd48(_0x4fd705._0x1a5f54)))return null;try{return decodeURIComponent(_0x370f6c[_0x47bd48(_0x4fd705._0x489c6f)](0x0,-_0x47bd48(0x159)[_0x47bd48(_0x4fd705._0x3681e7)]));}catch{return null;}}__name(scenarioRefFromFileName,_0x705370(0xed));var CI_RUN_PATH=_0x705370(0xe1),PROVIDER_IDS=[_0x705370(0xc7),'gitlab',_0x705370(0x1a2)],RUN_ERROR_CODES=['unauthorized',_0x705370(0x10f),_0x705370(0x181),_0x705370(0x1bf),_0x705370(0x18b),_0x705370(0x165),_0x705370(0xfe)];function parseCiRunRequest(_0x2e4d2b){const _0x592eef={_0x2fbb77:0x131,_0x10944d:0x131,_0x570a4f:0x18f,_0x1f96e8:0x15b,_0xc11240:0x15b,_0x2b7926:0x15b},_0x350ecf=_0x705370;if(!isRecord(_0x2e4d2b))return null;const {bundleId:_0x43b57c,environment:_0x301c97,collections:_0x32c751,pr:_0xad2bfc,branch:_0x1a6ba0,sha:_0x1acfb3}=_0x2e4d2b;if(typeof _0x43b57c!==_0x350ecf(0x15b)||_0x43b57c[_0x350ecf(_0x592eef._0x2fbb77)]===0x0)return null;if(typeof _0x301c97!==_0x350ecf(0x15b)||_0x301c97[_0x350ecf(_0x592eef._0x10944d)]===0x0)return null;let _0x5a0234=null;if(_0x32c751!==void 0x0){if(!Array[_0x350ecf(_0x592eef._0x570a4f)](_0x32c751))return null;if(_0x32c751[_0x350ecf(0xf7)](_0x13bc4b=>typeof _0x13bc4b!=='string'||_0x13bc4b['length']===0x0))return null;_0x5a0234=_0x32c751;}if(_0xad2bfc!==void 0x0&&(typeof _0xad2bfc!=='number'||!Number[_0x350ecf(0x13d)](_0xad2bfc)))return null;for(const _0x404fab of[_0x1a6ba0,_0x1acfb3]){if(_0x404fab!==void 0x0&&typeof _0x404fab!==_0x350ecf(_0x592eef._0x1f96e8))return null;}return{'bundleId':_0x43b57c,'environment':_0x301c97,..._0x5a0234?{'collections':_0x5a0234}:{},...typeof _0xad2bfc===_0x350ecf(0x1b2)?{'pr':_0xad2bfc}:{},...typeof _0x1a6ba0===_0x350ecf(_0x592eef._0xc11240)?{'branch':_0x1a6ba0}:{},...typeof _0x1acfb3===_0x350ecf(_0x592eef._0x2b7926)?{'sha':_0x1acfb3}:{}};}__name(parseCiRunRequest,_0x705370(0x1ac));function parseCiRunResponse(_0x126527){const _0x400ae4={_0x159cfc:0x15b,_0x533a63:0x15c,_0x4175bc:0x130,_0x1363e4:0x1b2},_0x6fa91e=_0x705370;if(!isRecord(_0x126527))return null;if(isRecord(_0x126527['error'])){const {code:_0x59bb5b,message:_0x248427}=_0x126527[_0x6fa91e(0x111)];if(!RUN_ERROR_CODES['includes'](_0x59bb5b))return null;if(typeof _0x248427!==_0x6fa91e(_0x400ae4._0x159cfc))return null;return{'error':{'code':_0x59bb5b,'message':_0x248427}};}const {status:_0x51e85e,bundleId:_0x4b89db,environment:_0x5063cc,runs:_0x59106c,superseded:_0x3cbb1c}=_0x126527;if(_0x51e85e!==_0x6fa91e(_0x400ae4._0x533a63))return null;if(typeof _0x4b89db!==_0x6fa91e(0x15b)||typeof _0x5063cc!==_0x6fa91e(0x15b))return null;if(!Array[_0x6fa91e(0x18f)](_0x59106c))return null;const _0x27b151=[];for(const _0x557780 of _0x59106c){if(!isRecord(_0x557780))return null;const {runId:_0x38a58d,collection:_0x4262ee}=_0x557780;if(typeof _0x38a58d!==_0x6fa91e(0x15b)||typeof _0x4262ee!==_0x6fa91e(_0x400ae4._0x159cfc))return null;_0x27b151[_0x6fa91e(_0x400ae4._0x4175bc)]({'runId':_0x38a58d,'collection':_0x4262ee});}if(_0x3cbb1c!==void 0x0&&typeof _0x3cbb1c!==_0x6fa91e(_0x400ae4._0x1363e4))return null;return{'status':_0x6fa91e(0x15c),'bundleId':_0x4b89db,'environment':_0x5063cc,'runs':_0x27b151,...typeof _0x3cbb1c==='number'?{'superseded':_0x3cbb1c}:{}};}__name(parseCiRunResponse,_0x705370(0xf2));function parseCiProvider(_0x40e25b){return PROVIDER_IDS['includes'](_0x40e25b)?_0x40e25b:null;}__name(parseCiProvider,_0x705370(0x132));var QUEUE_SUBDIR=_0x705370(0x198),QUEUE_TICKETS_DIR='tickets',QUEUE_RUNNING_DIR=_0x705370(0x13e),QUEUE_SLOTS_DIR=_0x705370(0xd5),QUEUE_MUTEX_FILE='.mutex',QUEUE_LEASE_ENV=_0x705370(0x15e),QUEUE_DISABLED_ENV=_0x705370(0x182),QUEUE_GLOBAL_DIR_ENV='UNOTEST_QUEUE_GLOBAL_DIR',QUEUE_GLOBAL_SLOTS_ENV=_0x705370(0xf4),QUEUE_SCHEMA_VERSION=0x1;function queueDirFor(_0x2e3b97,_0x2952cf){return''+QUEUE_SUBDIR+_0x2e3b97+(_0x2952cf?'.'+_0x2952cf:'');}__name(queueDirFor,_0x705370(0x146));function isQueueDirName(_0x458d96){const _0x4fcb7c=_0x705370;return _0x458d96===QUEUE_SUBDIR||_0x458d96[_0x4fcb7c(0x145)](QUEUE_SUBDIR+'-')||_0x458d96[_0x4fcb7c(0x145)](QUEUE_SUBDIR+'.');}__name(isQueueDirName,_0x705370(0xe3));function projectQueueRoot(_0x4d6507='',_0xdc9500){return UNOTEST_DIR+'/'+queueDirFor(_0x4d6507,_0xdc9500);}__name(projectQueueRoot,_0x705370(0x1b8));var PRIORITY_RANKS=Object[_0x705370(0xe7)]({'maintenance':0x0,'interactive':0x1,'ci':0x2,'schedule':0x3}),RANK_PRIORITIES=[_0x705370(0xc1),'interactive','ci','schedule'],QUEUE_PRIORITIES=RANK_PRIORITIES;function queuePriorityRank(_0x102cff){return PRIORITY_RANKS[_0x102cff];}__name(queuePriorityRank,_0x705370(0x14f));function queuePriorityFromRank(_0x274972){return RANK_PRIORITIES[_0x274972]??null;}__name(queuePriorityFromRank,_0x705370(0x170));function describeTicketCi(_0x1c8302){const _0x10d6db={_0x4e76fc:0x11d,_0x48ccbc:0x1b9,_0x73a244:0xcc},_0x5c25aa=_0x705370,_0x10d889=_0x1c8302[_0x5c25aa(0x11d)]?'@'+_0x1c8302[_0x5c25aa(_0x10d6db._0x4e76fc)][_0x5c25aa(_0x10d6db._0x48ccbc)](0x0,0x7):'';if(_0x1c8302['pr']!==void 0x0)return _0x5c25aa(0x1b4)+_0x1c8302['pr']+_0x10d889;if(_0x1c8302[_0x5c25aa(0xd2)]!==void 0x0)return''+_0x1c8302[_0x5c25aa(0xd2)]+_0x10d889;return _0x10d889[_0x5c25aa(0x131)]>0x0?_0x10d889[_0x5c25aa(0x1b9)](0x1):_0x1c8302[_0x5c25aa(_0x10d6db._0x73a244)];}__name(describeTicketCi,_0x705370(0x118));function makeQueueTicketName(_0x5316aa,_0x4bf8fe,_0x34582e){const _0x1482f0=_0x705370;return queuePriorityRank(_0x5316aa)+'-'+_0x4bf8fe['toString'](0x24)+'-'+_0x34582e+_0x1482f0(0x11f);}__name(makeQueueTicketName,'makeQueueTicketName');var TICKET_NAME_RE=/^([0-3])-([0-9a-z]+)-([0-9a-f]+)\.json$/;function parseQueueTicketName(_0x279854){const _0x4355b6={_0x412865:0x156},_0x3dab62=_0x705370,_0x4b3c93=TICKET_NAME_RE[_0x3dab62(_0x4355b6._0x412865)](_0x279854);if(!_0x4b3c93)return null;const _0x3b3b17=Number(_0x4b3c93[0x1]),_0x6354b7=queuePriorityFromRank(_0x3b3b17);if(_0x6354b7===null)return null;const _0x459fce=parseInt(_0x4b3c93[0x2],0x24);if(!Number[_0x3dab62(0x11b)](_0x459fce))return null;return{'rank':_0x3b3b17,'priority':_0x6354b7,'createdAt':_0x459fce,'random':_0x4b3c93[0x3]};}__name(parseQueueTicketName,_0x705370(0x109));function compareQueueTicketNames(_0x485e89,_0x328000){const _0x382b2d={_0x2eab77:0x11e,_0x20a92a:0x161},_0x318acb=_0x705370,_0x4bd624=parseQueueTicketName(_0x485e89),_0x390a52=parseQueueTicketName(_0x328000);if(!_0x4bd624||!_0x390a52)return _0x485e89<_0x328000?-0x1:_0x485e89>_0x328000?0x1:0x0;if(_0x4bd624[_0x318acb(_0x382b2d._0x2eab77)]!==_0x390a52[_0x318acb(0x11e)])return _0x4bd624['rank']-_0x390a52[_0x318acb(_0x382b2d._0x2eab77)];if(_0x4bd624['createdAt']!==_0x390a52[_0x318acb(_0x382b2d._0x20a92a)])return _0x4bd624['createdAt']-_0x390a52[_0x318acb(_0x382b2d._0x20a92a)];return _0x4bd624[_0x318acb(0x19a)]<_0x390a52['random']?-0x1:_0x4bd624['random']>_0x390a52[_0x318acb(0x19a)]?0x1:0x0;}__name(compareQueueTicketNames,_0x705370(0x106));var TICKET_KINDS=[_0x705370(0x12a),_0x705370(0x167),_0x705370(0xe4),_0x705370(0xc1)],PRODUCER_KINDS=['cli',_0x705370(0x15d),_0x705370(0x110),_0x705370(0x1ab),'ci'];function parseQueueTicket(_0x32bfc2){const _0x181a74={_0x4ded68:0x15b,_0x23d8f6:0xcb,_0x41ba1f:0x1b2,_0x5dfa10:0x11b,_0x94dd76:0xcb,_0x958597:0x116,_0x35c064:0x1c0,_0x221e3c:0x1b2,_0x4ed5dd:0x13b,_0x1f10c5:0x131},_0x2dedfa=_0x705370;if(!isRecord(_0x32bfc2))return null;const {schemaVersion:_0xf8d739,runId:_0x35d8b2,kind:_0x523033,ref:_0x2c9cda,env:_0x2f8e3f,priority:_0x5afb57,weight:_0x4da27c,producer:_0x31f2f5,source:_0x5315c4,ci:_0x902b08,createdAt:_0x171f28}=_0x32bfc2;if(_0xf8d739!==QUEUE_SCHEMA_VERSION)return null;if(typeof _0x35d8b2!==_0x2dedfa(0x15b)||_0x35d8b2[_0x2dedfa(0x131)]===0x0)return null;if(typeof _0x2c9cda!==_0x2dedfa(_0x181a74._0x4ded68))return null;if(!TICKET_KINDS[_0x2dedfa(0xcb)](_0x523033))return null;if(!QUEUE_PRIORITIES[_0x2dedfa(_0x181a74._0x23d8f6)](_0x5afb57))return null;if(typeof _0x4da27c!==_0x2dedfa(_0x181a74._0x41ba1f)||!Number[_0x2dedfa(_0x181a74._0x5dfa10)](_0x4da27c)||_0x4da27c<0x1)return null;if(typeof _0x171f28!=='number'||!Number[_0x2dedfa(_0x181a74._0x5dfa10)](_0x171f28))return null;if(!isRecord(_0x31f2f5))return null;if(!PRODUCER_KINDS[_0x2dedfa(_0x181a74._0x94dd76)](_0x31f2f5[_0x2dedfa(_0x181a74._0x958597)]))return null;if(typeof _0x31f2f5[_0x2dedfa(_0x181a74._0x35c064)]!==_0x2dedfa(_0x181a74._0x221e3c)||typeof _0x31f2f5[_0x2dedfa(0x1a4)]!=='string')return null;if(_0x2f8e3f!==void 0x0&&typeof _0x2f8e3f!==_0x2dedfa(0x15b))return null;let _0x44f46b=null;if(_0x5315c4!==void 0x0){if(!isRecord(_0x5315c4)||typeof _0x5315c4[_0x2dedfa(_0x181a74._0x4ed5dd)]!==_0x2dedfa(0x15b)||_0x5315c4['bundleId'][_0x2dedfa(_0x181a74._0x1f10c5)]===0x0)return null;_0x44f46b={'bundleId':_0x5315c4[_0x2dedfa(0x13b)]};}let _0x573e46=null;if(_0x902b08!==void 0x0){_0x573e46=parseTicketCi(_0x902b08);if(_0x573e46===null)return null;}return{'schemaVersion':QUEUE_SCHEMA_VERSION,'runId':_0x35d8b2,'kind':_0x523033,'ref':_0x2c9cda,'priority':_0x5afb57,'weight':_0x4da27c,'producer':{'kind':_0x31f2f5['kind'],'pid':_0x31f2f5[_0x2dedfa(0x1c0)],'host':_0x31f2f5[_0x2dedfa(0x1a4)]},'createdAt':_0x171f28,...typeof _0x2f8e3f===_0x2dedfa(0x15b)?{'env':_0x2f8e3f}:{},..._0x44f46b?{'source':_0x44f46b}:{},..._0x573e46?{'ci':_0x573e46}:{}};}__name(parseQueueTicket,_0x705370(0x10d));function parseTicketCi(_0x10c148){const _0x133c23={_0x206a08:0x1b2,_0x3be618:0x15b,_0x21d58a:0x15b},_0x3a0eae=_0x705370;if(!isRecord(_0x10c148))return null;const _0x5888ae=parseCiProvider(_0x10c148['provider']);if(_0x5888ae===null)return null;const {repo:_0xd748aa,branch:_0x3ff8f0,sha:_0x1dfe1c,pr:_0x512326,checkId:_0xcf46a7}=_0x10c148;for(const _0x506ab3 of[_0xd748aa,_0x3ff8f0,_0x1dfe1c,_0xcf46a7]){if(_0x506ab3!==void 0x0&&typeof _0x506ab3!=='string')return null;}if(_0x512326!==void 0x0&&(typeof _0x512326!==_0x3a0eae(_0x133c23._0x206a08)||!Number[_0x3a0eae(0x13d)](_0x512326)))return null;return{'provider':_0x5888ae,...typeof _0xd748aa===_0x3a0eae(_0x133c23._0x3be618)?{'repo':_0xd748aa}:{},...typeof _0x3ff8f0===_0x3a0eae(0x15b)?{'branch':_0x3ff8f0}:{},...typeof _0x1dfe1c===_0x3a0eae(_0x133c23._0x21d58a)?{'sha':_0x1dfe1c}:{},...typeof _0x512326==='number'?{'pr':_0x512326}:{},...typeof _0xcf46a7==='string'?{'checkId':_0xcf46a7}:{}};}__name(parseTicketCi,_0x705370(0x1b1));var BUNDLE_SCHEMA_VERSION=0x1,BUNDLE_MANIFEST_FILE=_0x705370(0xcd),BUNDLE_UPLOAD_PATH=_0x705370(0xc3),BOX_URL_ENV='UNOTEST_BOX_URL',BOX_TOKEN_ENV=_0x705370(0x160),BUNDLE_ID_ENV=_0x705370(0xd1);function parseGitInfo(_0x6f243d){const _0x5d6df3={_0x514c3f:0x15b},_0x1605b2=_0x705370;if(!isRecord(_0x6f243d))return null;const {repo:_0x53d321,branch:_0xdb4951,sha:_0x135689,dirty:_0x1e17a8}=_0x6f243d;if(typeof _0x1e17a8!=='boolean')return null;for(const _0x55c955 of[_0x53d321,_0xdb4951,_0x135689]){if(_0x55c955!==void 0x0&&typeof _0x55c955!==_0x1605b2(_0x5d6df3._0x514c3f))return null;}return{'dirty':_0x1e17a8,...typeof _0x53d321===_0x1605b2(_0x5d6df3._0x514c3f)?{'repo':_0x53d321}:{},...typeof _0xdb4951===_0x1605b2(0x15b)?{'branch':_0xdb4951}:{},...typeof _0x135689===_0x1605b2(0x15b)?{'sha':_0x135689}:{}};}__name(parseGitInfo,'parseGitInfo');function parseBundleManifest(_0x1a1a4c){const _0x334037={_0x4c4fdd:0x131,_0x33818b:0x11b,_0x36f78d:0x1b2,_0x5b1b6d:0x13d,_0x28ced8:0x15b},_0x468995=_0x705370;if(!isRecord(_0x1a1a4c))return null;const {schemaVersion:_0x373baf,bundleId:_0x1e4895,sha256:_0x47a05e,createdAt:_0x5232bf,webVersion:_0x2eecd2,author:_0x888d8a,git:_0x9b42eb,fileCount:_0x44777d,byteSize:_0x494d58}=_0x1a1a4c;if(_0x373baf!==BUNDLE_SCHEMA_VERSION)return null;if(typeof _0x1e4895!=='string'||_0x1e4895[_0x468995(_0x334037._0x4c4fdd)]===0x0)return null;if(_0x47a05e!==void 0x0&&!/^[0-9a-f]{64}$/['test'](String(_0x47a05e)))return null;if(typeof _0x2eecd2!==_0x468995(0x15b)||_0x2eecd2[_0x468995(_0x334037._0x4c4fdd)]===0x0)return null;if(typeof _0x5232bf!=='number'||!Number[_0x468995(_0x334037._0x33818b)](_0x5232bf))return null;if(typeof _0x44777d!==_0x468995(_0x334037._0x36f78d)||!Number[_0x468995(0x13d)](_0x44777d))return null;if(typeof _0x494d58!==_0x468995(_0x334037._0x36f78d)||!Number[_0x468995(_0x334037._0x5b1b6d)](_0x494d58))return null;if(_0x888d8a!==void 0x0&&typeof _0x888d8a!==_0x468995(0x15b))return null;let _0x5cf431=null;if(_0x9b42eb!==void 0x0){_0x5cf431=parseGitInfo(_0x9b42eb);if(_0x5cf431===null)return null;}return{'schemaVersion':BUNDLE_SCHEMA_VERSION,'bundleId':_0x1e4895,...typeof _0x47a05e===_0x468995(_0x334037._0x28ced8)?{'sha256':_0x47a05e}:{},'createdAt':_0x5232bf,'webVersion':_0x2eecd2,'fileCount':_0x44777d,'byteSize':_0x494d58,...typeof _0x888d8a===_0x468995(_0x334037._0x28ced8)?{'author':_0x888d8a}:{},..._0x5cf431?{'git':_0x5cf431}:{}};}__name(parseBundleManifest,'parseBundleManifest');function describeBundle(_0x3582be){const _0x3352a7={_0x515a11:0xd2,_0x587f74:0xc2},_0x53818c=_0x705370,_0x2114cd=_0x3582be['git'];if(!_0x2114cd||_0x2114cd['branch']===void 0x0&&_0x2114cd[_0x53818c(0x11d)]===void 0x0)return _0x3582be[_0x53818c(0x13b)];const _0xbdb994=_0x2114cd[_0x53818c(0x11d)]?_0x2114cd[_0x53818c(0x11d)][_0x53818c(0x1b9)](0x0,0x7):'?',_0x511eb6=_0x2114cd[_0x53818c(_0x3352a7._0x515a11)]??'?';return _0x511eb6+'@'+_0xbdb994+(_0x2114cd[_0x53818c(0x14d)]?_0x53818c(_0x3352a7._0x587f74):'');}__name(describeBundle,_0x705370(0x18e));var UPLOAD_ERROR_CODES=[_0x705370(0xfb),_0x705370(0x113),_0x705370(0x165),_0x705370(0xd3),_0x705370(0xd8),_0x705370(0x10f),_0x705370(0xfe)];function parseBundleUploadResponse(_0x327143){const _0x4dd155={_0x4e2678:0x111,_0x493217:0xcb,_0x5d38d2:0x15b,_0x5556ef:0x131},_0xefb2e1=_0x705370;if(!isRecord(_0x327143))return null;if(isRecord(_0x327143[_0xefb2e1(_0x4dd155._0x4e2678)])){const {code:_0x11dd2b,message:_0x12c100}=_0x327143['error'];if(!UPLOAD_ERROR_CODES[_0xefb2e1(_0x4dd155._0x493217)](_0x11dd2b))return null;if(typeof _0x12c100!=='string')return null;return{'error':{'code':_0x11dd2b,'message':_0x12c100}};}const {status:_0x8b337e,bundleId:_0x220f1e}=_0x327143;if(_0x8b337e!==_0xefb2e1(0x1a1)&&_0x8b337e!=='exists')return null;if(typeof _0x220f1e!==_0xefb2e1(_0x4dd155._0x5d38d2)||_0x220f1e[_0xefb2e1(_0x4dd155._0x5556ef)]===0x0)return null;return{'status':_0x8b337e,'bundleId':_0x220f1e};}__name(parseBundleUploadResponse,_0x705370(0xf0));var WORKSPACE_SCHEMA_VERSION=0x1,WORKSPACE_FILE='.workspace.json';function stringList(_0x361884){const _0x365f84={_0x4ce77c:0x18f,_0x18aa89:0xf7},_0xc269d5=_0x705370;if(!Array[_0xc269d5(_0x365f84._0x4ce77c)](_0x361884))return null;if(_0x361884[_0xc269d5(_0x365f84._0x18aa89)](_0x3356e9=>typeof _0x3356e9!==_0xc269d5(0x15b)))return null;return _0x361884;}__name(stringList,_0x705370(0x184));function parseBundle(_0x557cfc){const _0x4b2852={_0x13a608:0x131,_0x10eabb:0x15b,_0x1b621d:0x15b,_0x354399:0x15b},_0x53647e=_0x705370;if(!isRecord(_0x557cfc))return null;const {bundleId:_0x439833,label:_0x5de0ff,branch:_0x2d53bc,sha:_0x257f3c,dirty:_0x2bd647,author:_0x361b9c,createdAt:_0x1c58d8,webVersion:_0x5762cf}=_0x557cfc;if(typeof _0x439833!==_0x53647e(0x15b)||_0x439833[_0x53647e(_0x4b2852._0x13a608)]===0x0)return null;if(typeof _0x5de0ff!==_0x53647e(_0x4b2852._0x10eabb)||typeof _0x5762cf!==_0x53647e(_0x4b2852._0x1b621d))return null;if(typeof _0x2bd647!=='boolean')return null;if(typeof _0x1c58d8!==_0x53647e(0x1b2)||!Number[_0x53647e(0x11b)](_0x1c58d8))return null;for(const _0x4e47e9 of[_0x2d53bc,_0x257f3c,_0x361b9c]){if(_0x4e47e9!==void 0x0&&typeof _0x4e47e9!=='string')return null;}return{'bundleId':_0x439833,'label':_0x5de0ff,'dirty':_0x2bd647,'createdAt':_0x1c58d8,'webVersion':_0x5762cf,...typeof _0x2d53bc==='string'?{'branch':_0x2d53bc}:{},...typeof _0x257f3c===_0x53647e(_0x4b2852._0x354399)?{'sha':_0x257f3c}:{},...typeof _0x361b9c==='string'?{'author':_0x361b9c}:{}};}__name(parseBundle,_0x705370(0x1a6));function parseWorkspaceFile(_0x10d233){const _0x438007={_0x372c50:0x15b,_0x52500b:0x177,_0x4bbc26:0x18f,_0xdc9074:0x15b,_0x133e93:0x15b,_0x3ffc49:0x15b},_0x20d89c=_0x705370;if(!isRecord(_0x10d233))return null;if(_0x10d233[_0x20d89c(0x102)]!==WORKSPACE_SCHEMA_VERSION)return null;const {workspace:_0x22efaf,environment:_0x180753,allowSwitch:_0x30c1c1,currentBundleId:_0x37538d,switchedBy:_0x28422d,switchedAt:_0x486a84,bundles:_0x50b531,variables:_0x2bcf43,secrets:_0x566b05,switchPath:_0xaf5752}=_0x10d233;if(typeof _0x22efaf!==_0x20d89c(0x15b)||typeof _0x180753!==_0x20d89c(_0x438007._0x372c50))return null;if(typeof _0x30c1c1!==_0x20d89c(_0x438007._0x52500b))return null;if(!Array[_0x20d89c(_0x438007._0x4bbc26)](_0x50b531))return null;const _0x47e59e=[];for(const _0x229a07 of _0x50b531){const _0x3e2954=parseBundle(_0x229a07);if(!_0x3e2954)return null;_0x47e59e[_0x20d89c(0x130)](_0x3e2954);}const _0xf21b60=stringList(_0x2bcf43),_0x20beff=stringList(_0x566b05);if(!_0xf21b60||!_0x20beff)return null;for(const _0x261e5a of[_0x37538d,_0x28422d,_0xaf5752]){if(_0x261e5a!==void 0x0&&typeof _0x261e5a!==_0x20d89c(_0x438007._0xdc9074))return null;}if(_0x486a84!==void 0x0&&typeof _0x486a84!==_0x20d89c(0x1b2))return null;return{'schemaVersion':WORKSPACE_SCHEMA_VERSION,'workspace':_0x22efaf,'environment':_0x180753,'allowSwitch':_0x30c1c1,'bundles':_0x47e59e,'variables':_0xf21b60,'secrets':_0x20beff,...typeof _0x37538d===_0x20d89c(_0x438007._0x133e93)?{'currentBundleId':_0x37538d}:{},...typeof _0x28422d===_0x20d89c(_0x438007._0x3ffc49)?{'switchedBy':_0x28422d}:{},...typeof _0x486a84===_0x20d89c(0x1b2)?{'switchedAt':_0x486a84}:{},...typeof _0xaf5752==='string'?{'switchPath':_0xaf5752}:{}};}__name(parseWorkspaceFile,_0x705370(0x1b3));function parseScheduleEntry(_0x5e73cc){const _0x4080c7={_0x3123f1:0x131,_0x1e3f02:0x15b,_0xe6d065:0x1b2},_0x24c09b=_0x705370;if(!isRecord(_0x5e73cc))return null;const {collection:_0x417978,cron:_0x56b371,env:_0x1cd817,prepare:_0x1774bb,workers:_0x393337}=_0x5e73cc;if(typeof _0x417978!=='string'||_0x417978[_0x24c09b(_0x4080c7._0x3123f1)]===0x0)return null;if(typeof _0x56b371!==_0x24c09b(_0x4080c7._0x1e3f02)||_0x56b371[_0x24c09b(0xdc)]()[_0x24c09b(0x131)]===0x0)return null;if(_0x1cd817!==void 0x0&&typeof _0x1cd817!=='string')return null;if(_0x1774bb!==void 0x0&&typeof _0x1774bb!=='string')return null;const _0x464bb5=typeof _0x393337===_0x24c09b(_0x4080c7._0xe6d065)&&Number[_0x24c09b(0x13d)](_0x393337)&&_0x393337>=0x1?_0x393337:void 0x0;return{'collection':_0x417978,'cron':_0x56b371,..._0x1cd817!==void 0x0?{'env':_0x1cd817}:{},..._0x1774bb!==void 0x0?{'prepare':_0x1774bb}:{},..._0x464bb5!==void 0x0?{'workers':_0x464bb5}:{}};}__name(parseScheduleEntry,'parseScheduleEntry');function parseSchedulesJson(_0x3b2f82){const _0x16fd08=_0x705370;let _0x4596d9;try{_0x4596d9=JSON[_0x16fd08(0x164)](_0x3b2f82);}catch{return null;}if(!Array[_0x16fd08(0x18f)](_0x4596d9))return null;const _0x29e947=[];for(const _0x51f43c of _0x4596d9){const _0x2cbb56=parseScheduleEntry(_0x51f43c);if(_0x2cbb56)_0x29e947[_0x16fd08(0x130)](_0x2cbb56);}return _0x29e947;}__name(parseSchedulesJson,_0x705370(0x16e));var BLOBS_DIR=_0x705370(0x12d),GENERATION_SEP='~',HASH_RE=/^[0-9a-f]{8,}$/,InvalidBlobHashError=class extends Error{static{__name(this,_0x705370(0x10c));}constructor(_0x9dde74){const _0x1d9bb1={_0x2d44e0:0xe6,_0xbbe03a:0xdd},_0x194d31=_0x705370;super(_0x194d31(_0x1d9bb1._0x2d44e0)+_0x9dde74),this[_0x194d31(_0x1d9bb1._0xbbe03a)]=_0x194d31(0x10c);}};function blobPathFor(_0x1a90a0,_0x330c85,_0x2c0cce,_0x333791=0x0){return _0x1a90a0+'/'+blobRelPathFor(_0x330c85,_0x2c0cce,_0x333791);}__name(blobPathFor,_0x705370(0x139));function blobRelSegmentsFor(_0x4da3f8,_0x4b97c8,_0x149913=0x0){const _0x5b761c={_0xe91324:0x1be,_0x27333f:0x1b9},_0x5325d3=_0x705370;if(!HASH_RE[_0x5325d3(_0x5b761c._0xe91324)](_0x4da3f8))throw new InvalidBlobHashError(_0x4da3f8);const _0x443614=_0x149913>0x0?''+GENERATION_SEP+_0x149913:'';return[BLOBS_DIR,_0x4da3f8[_0x5325d3(_0x5b761c._0x27333f)](0x0,0x2),_0x4da3f8['slice'](0x2,0x4),''+_0x4da3f8+_0x443614+'.'+_0x4b97c8];}__name(blobRelSegmentsFor,'blobRelSegmentsFor');function blobRelPathFor(_0x50961d,_0x85e1bb,_0x229841=0x0){const _0x3a3801=_0x705370;return blobRelSegmentsFor(_0x50961d,_0x85e1bb,_0x229841)[_0x3a3801(0x12e)]('/');}__name(blobRelPathFor,_0x705370(0xdb));function _0x2c65(){const _0x455384=['BMfTzq','AxnbBM5VDgf0Aw9UtgLUzq','AxnsDw5UzxjdB25MAwDlzxK','lNj1BNm','l2fWAs9IB3GVy2KVCNvU','z2v0uMfUzg9TvMfSDwvZ','AxnrDwv1zurPCK5HBwu','yxv0Ag9YAw5N','lNzPzxDLCI5SB2nR','yMXVyIbOyxnOig11C3qGyMuGBg93zxjJyxnLigHLEcWGz290oIa','zNjLzxPL','CNvUBMvYici','vu5pvevtvf9orvrxt1jl','C2HHCMrqyxrOrM9YuNvUswq','x2rHEs5QC29UBa','vu5pvevtvf9kvurhrv9srvrssuvt','C2nLBMfYAw9szwzgCM9TrMLSzu5HBwu','zw52tgf5zxjgAwXLC0zVCG','CgLJA2vYlxnUyxbZAg90lNr4Da','CgfYC2vcDw5KBgvvCgXVywrszxnWB25Zzq','lNnUyxbZAg90CW','CgfYC2vdAvj1BLjLC3bVBNnL','lMvUDG','vu5pvevtvf9rvuvvrv9hte9cquXFu0Xpvfm','AM9PBKXPBMvZ','CNvUBMvY','C29Tzq','BxvZDcbUB3qGC3rHCNqGD2L0AcaNxYCGkhjLC2vYDMvKkq','Aw5KzxHpzG','zgvMAw5LuhjVCgvYDhK','Dw5HDxrOB3jPEMvK','lNzPzxDLCI5SB2C','z2v0vvrdrNvSBfLLyxi','C3rVCMfNzq','AxnszwnVCMq','vu5pvevtvf9tte9xx01p','CgfYC2vbChbtzxj2zxjfDMvUDa','C2nOzw1HvMvYC2LVBG','nKLirhfgqq','Dg9tDhjPBMC','zgvIDwDeAxjgB3i','y29TCgfYzvf1zxvLvgLJA2v0tMfTzxm','C2vJCMv0C0nVBNrLBNq','CNvUswrtDgfYDgvKqxq','CgfYC2vrDwv1zvrPy2TLDe5HBwu','mtyZnZzIwxrgq3y','CMvTB3zLrw52vMfY','sw52ywXPzejSB2jiyxnOrxjYB3i','CgfYC2vrDwv1zvrPy2TLDa','ndaZmZqZmvPJCxnRra','C2nVCguTBwLZBwf0y2G','BwnW','zxjYB3i','Dw5VDgvZDc8Uzw52','Dg9VlwXHCMDL','mtbLExDvBMW','zMLUzeLUzgv4','A2LUza','vu5pvevtvf9erujvr19nqvHFqLLurvm','zgvZy3jPyMvuAwnRzxrdAq','igfSCMvHzhKGzxHPC3rZigLUia','zgvSzxrLu2HHzg93v2fYBMLUzW','AxngAw5PDgu','AxnbC3nPz25Tzw50tgLUzq','C2HH','CMfUAW','lMPZB24','vu5pvevtvf9erujvr19quKvwsuvxx0jzvevt','DMfSAwrHDgvgC1nHzMvoyw1L','BxvZDcbUB3qGy29UDgfPBIbCic8GoIaQid8GiIa8id4GFcbVCIbJB250CM9SignOyxjHy3rLCNm','CgfKu3rHCNq','ywjVCNrLza','C3bSAwnL','zMfPBgLUz1nPBMnL','ndGZn3vfuNfTCa','CNvUswqGy2fYCMLLCYbUBYb0Aw1LC3rHBxaSignHBM5VDcbWBgfJzsbPDcbPBIbHihnOyxjKoIa','BwfRzvj1BKLK','C2nLBMfYAw8','nti2otmWoejADefSqq','zMXHz3m','x2jSB2jZ','AM9PBG','vu5pvevtvf9kvurhrv9quKvbtujmrq','ChvZAa','BgvUz3rO','CgfYC2vdAvbYB3zPzgvY','vu5pvevtvf9ftLy','CMvJzw50','iokaLcbWAwnRigeGzgLMzMvYzw50ig5HBwuGB3iGzwrPDcb0AguGzxHPC3rPBMCGDMfSDwuU','Dw5VDgvZDc8UC2vJCMv0CW','vu5pvevtvf9kvurhrv9usu1ft1vux01t','vu5pvevtvf9kvurhrv9mt0DFtevwruW','yMXVyLbHDgHgB3i','vw5WBgfJzwfIBgvsDw5jzevYCM9Y','yNvUzgXLswq','zMfPBgvK','AxnjBNrLz2vY','CNvUBMLUzW','yxbWlxnLCNzLCJPLCNjVCG','C2vJCMv0','BxvZDcbUB3qGC3rHCNqGD2L0AcaNlIC','BM93','vu5pvevtvf9eruzbvuXux05bvKLhqvrjt05FveLnru9vvf9nuW','vu5pvevtvf9kvurhrv9dtefvrevFqKLo','C3rHCNrZv2L0Aa','CxvLDwveAxjgB3i','igLZigfSC28GC2v0igLUihvUB3rLC3qVlMvUDIdIGjqGDgHLihnLy3jLDcb2ywX1zsbUB3CGC2HHzg93CYbPDc4','CNvUswq','C3bSAxrmAw5LCW','vu5pvevtvf9dt05tt0Xf','C291CMnL','yxbWlxnLCNzLCJPYzxvZzwq','zgLYDhK','lNnLy3jLDhm','CxvLDwvqCMLVCML0EvjHBMS','Dw5RBM93BI1YDw5UzxiTA2v5','Dg9mB3DLCKnHC2u','qxbW','zw52rMLSzuzVCG','zw52','C3rHDhvZ','zxHLyW','mZm4mJDnAg5hsKS','uNvUBMvYtM90q29UzMLNDxjLzevYCM9Y','lMPZB25S','C3rKB3v0lMXVzW','C3rYAw5N','CxvLDwvK','DMLLD2vY','vu5pvevtvf9rvuvvrv9mruftrq','CMvWBgfJzq','vu5pvevtvf9ct1HFve9lru4','y3jLyxrLzef0','CMvNzxG','C2vJCMv0CW','CgfYC2u','BwfSzM9YBwvK','ywrK','y29SBgvJDgLVBG','vu5pvevtvf9kvurhrv9nt0rfta','DgvYBwLUywW','igLZigfSC28GC2v0igLUihvUB3rLC3qVlNnLy3jLDhmG4OcuihrOzsbZzwnYzxqGDMfSDwuGC2HHzg93CYb0AgLZig9Uzs4','z2v0vvrdrgf0zq','Aw50zxjYDxb0zwq','Aw52ywXPzc1Uyw1L','CgfYC2vty2HLzhvSzxnkC29U','vu5pvevtvf9kvurhrv9it1nu','CxvLDwvqCMLVCML0EuzYB21syw5R','C3rLChmUANnVBMW','C3rHCNrLzef0','AgvHCNrIzwf0','x2nVBgXLy3rPB25Z','vu5pvevtvf9kvurhrv9qt1ju','BwfUAwzLC3qUANnVBG','yM9VBgvHBG','DgvTCgXHDgu','l2HLywX0Aa','mJb4D3Lcq1a','C2HHCMrqyxrOrM9YvgLTzxn0yw1W','l2P1zgDL','CgfYC2vty2vUyxjPB0fUBM90yxrPB25Z','AgfZ','iI4G','tK9Fq09mt1i','Dw5RBM93BI1LBNzPCM9UBwvUDa','vu5pvevtvf9ot19rvuvvrq','vu5pvevtvf9qt1bvuf9huKfdrv9nuW','C3rYAw5NtgLZDa','AxnsDw5ZrgLYtMfTzq','mtmXoty5nvDOBgT2sW','ywn0AxzLrw52tMfTzq','BxvZDcbIzsbHihn0CMLUzW','C291CMnLCY5QC29U','vu5pvevtvf9kvurhrv9quK9wsurfuG','BM8Ty29SBgvJDgLVBNm','C2HHCMreyxLZrgvZy2vUzgLUzW','Dw5VDgvZDa','zgvZy3jPyMvcDw5KBgu','AxnbCNjHEq','lY5Kzwj1z2DLCG','zgvIDwDNzxjgAwXLrM9Y','igLZigfSC28GC2v0igLUihLVDxiGC2HLBgWGzw52AxjVBM1LBNqG4OcuigL0ihDPBgWGA2vLCcbYzxnVBhzPBMCGzNjVBsb0AgvYzsaODgHLigvUDMLYB25Tzw50ihDPBNmGB3zLCIb0AguGzMLSzsKU','vu5pvevtvf9erujvr19lruvqx0nbteXt','vu5pvevtvf9kvurhrv9vuKW','CNvU','vw5ZDxbWB3j0zwrsDw5lAw5KrxjYB3i','C2vYAwfSAxPLrw52vMfSDwu','lNf1zxvL','yxj0AwzHy3rZuM9VDezYB20','CMfUzg9T','AxnfEhrLCM5HBfzHCK5HBwu','CMvZzxj2zwrvBMrLCNnJB3jL','zw52tMfTzxngCM9TrgLYtgLZDgLUzW','vu5pvevtvf9erujvr19ive1mx01bwf9cwvrfuW','mtnAB291zum','uNvUBMvYqwrHChrLCK5VDezVDw5KrxjYB3i','y3jLyxrLza','yxbP','zw5KC1DPDgG','Ag9ZDa','mtf5t0PswgG','CgfYC2vcDw5KBgu','C2nLBMfYAw9jBMrLEezPBgvoyw1L','Bwf0y2G','zhvWBgLJyxrL','Aw5Zzxj0rw52vMfY','C2nOzwr1Bgu','CgfYC2vdAvj1BLjLCxvLC3q','CgfYC2vfBNzdB250zw50','mZe4tw1rre5U','CNvUDgLTzs5QC29U','vu5pvevtvf9erujvrW','CgfYC2vuAwnRzxrdAq','BNvTyMvY','CgfYC2vxB3jRC3bHy2vgAwXL','ufiGiW','Bgf5zxjZrM9Y','zMLSDgvY','y3j5ChrV','ChjVAMvJDff1zxvLuM9VDa','C2XPy2u','yxbW','refuqujbu0vFvvjm','DMfSAwrHDgvdB2XSzwn0Aw9UtMfTzq','vu5pvevtvf9kvurhrv9wt1rf','DgvZDa','Dw5RBM93BI1IDw5KBgu','CgLK','AxnbC3nPz25Tzw50t2y','B2jQzwn0','BwfPBNrLBMfUy2u','icH3AxaP','l2fWAs9IB3GVyNvUzgXLCW','zMfPBfn0CMvHAW','iIbKB2vZig5VDcbZDxbWB3j0ihj1BIbRAw5Kici','CgXHBKfKzfzHCMLHyMXL','z2L0AhvI','mJiXndK2ofrpDxHNAq','C3bSAxq','vvrd','Aw5JBhvKzxm','ChjVDMLKzxi','yNvUzgXLlMPZB24','CMvNzxHmAxrLCMfS','DMfSAwrHDgvtzwDTzw50tMfTzq','nZeZnMLyAhnYuq','vu5pvevtvf9cvu5etevFsuq','yNjHBMnO','AwqTBwLZBwf0y2G','ic0Tlq','C2XVDhm','x2XHDgvZDc5QC29U','zxHWzwn0lwzHAwW','BwLUlxzLCNnPB24','zMXVB3i','y29TBwfUzhmUANnVBMW','yMXVyLjLBfbHDgHgB3i','DhjPBq'];_0x2c65=function(){return _0x455384;};return _0x2c65();}function blobsRootFor(_0x251bcc){return _0x251bcc+'/'+BLOBS_DIR;}__name(blobsRootFor,'blobsRootFor');var FS_UNSAFE_NAME_RE=/[\\/:*?"<>|\x00-\x1f]/;function validateFsSafeName(_0x1f5531,_0x592d91){const _0x4fd26c={_0x6d1a1f:0x15b,_0x16ea2c:0x188,_0xc31976:0xdc,_0x154cf4:0x131,_0x2436d8:0x145,_0x4992a6:0x145,_0x1eafa4:0xf8,_0x521ae2:0x122},_0x106f89=_0x705370;if(typeof _0x1f5531!==_0x106f89(_0x4fd26c._0x6d1a1f))return _0x106f89(_0x4fd26c._0x16ea2c);const _0x3b1cda=_0x1f5531[_0x106f89(_0x4fd26c._0xc31976)]();if(_0x3b1cda[_0x106f89(_0x4fd26c._0x154cf4)]===0x0)return'must\x20not\x20be\x20empty';if(_0x3b1cda==='.'||_0x3b1cda==='..')return'must\x20not\x20be\x20\x22.\x22\x20or\x20\x22..\x22';if(_0x3b1cda[_0x106f89(_0x4fd26c._0x2436d8)]('.'))return _0x106f89(0x141);if(_0x592d91?.[_0x106f89(0x19c)]&&_0x3b1cda[_0x106f89(_0x4fd26c._0x4992a6)]('_'))return _0x106f89(_0x4fd26c._0x1eafa4);if(FS_UNSAFE_NAME_RE[_0x106f89(0x1be)](_0x3b1cda))return _0x106f89(_0x4fd26c._0x521ae2);return null;}__name(validateFsSafeName,_0x705370(0x121));var COLLECTION_NAME_FORBIDDEN_RE=FS_UNSAFE_NAME_RE;function validateCollectionName(_0x4cf4db){return validateFsSafeName(_0x4cf4db);}__name(validateCollectionName,_0x705370(0x1bc));var RUN_MANIFEST_FILE=_0x705370(0x176),RUN_SOURCES_FILE=_0x705370(0x189),UnsupportedRunKindError=class extends Error{static{__name(this,_0x705370(0x196));}constructor(_0x474687,_0x157414){const _0x1ecfa6={_0x519f55:0xe8,_0x3edce8:0xdd},_0x57cb86=_0x705370;super(_0x57cb86(_0x1ecfa6._0x519f55)+_0x157414+_0x57cb86(0xc5)+_0x474687+'\x22'),this[_0x57cb86(_0x1ecfa6._0x3edce8)]='UnsupportedRunKindError';}},RunnerAdapterNotFoundError=class extends Error{static{__name(this,'RunnerAdapterNotFoundError');}constructor(_0x2fac00,_0x2c4d28){const _0x2ae47d={_0x50774c:0x17f,_0x585ca7:0x1a0},_0x5f14fb=_0x705370;super('cannot\x20load\x20runner\x20adapter\x20\x22'+_0x2fac00+_0x5f14fb(_0x2ae47d._0x50774c)+_0x2c4d28),this['name']=_0x5f14fb(_0x2ae47d._0x585ca7);}},RunnerNotConfiguredError=class extends Error{static{__name(this,_0x705370(0x158));}constructor(_0x47f646){const _0x15d62c=_0x705370;super(_0x47f646),this['name']=_0x15d62c(0x158);}},EXPECT_FAIL_ANNOTATION=_0x705370(0xd7),ANNOTATION_RE=/^\s*\/\/\s*@([a-z0-9-]+)\s*$/;function isAnnotationLine(_0xb720b2){const _0x484321=_0x705370;return ANNOTATION_RE[_0x484321(0x1be)](_0xb720b2);}__name(isAnnotationLine,_0x705370(0xde));function parseScenarioAnnotations(_0x503e17){const _0x348d71={_0x3f2348:0xc9,_0x4bbb92:0xdc,_0x23f97d:0x166,_0x47a670:0x17e},_0x5c1cf4=_0x705370,_0x3d58e7=new Set();for(const _0x5b7646 of _0x503e17[_0x5c1cf4(_0x348d71._0x3f2348)](/\r?\n/)){const _0x4c21d1=_0x5b7646[_0x5c1cf4(_0x348d71._0x4bbb92)]();if(_0x4c21d1==='')continue;if(!_0x4c21d1['startsWith']('//'))break;const _0x2c8714=_0x4c21d1[_0x5c1cf4(0x1a8)](ANNOTATION_RE);if(_0x2c8714)_0x3d58e7[_0x5c1cf4(_0x348d71._0x23f97d)](_0x2c8714[0x1]);}return{'expectFail':_0x3d58e7[_0x5c1cf4(_0x348d71._0x47a670)](EXPECT_FAIL_ANNOTATION)};}__name(parseScenarioAnnotations,_0x705370(0x17d));var SEGMENT_NAME_FORBIDDEN_RE=FS_UNSAFE_NAME_RE;function validateSegmentName(_0x15cb8a){return validateFsSafeName(_0x15cb8a,{'reservedUnderscore':!![]});}__name(validateSegmentName,_0x705370(0xcf));var TERMINAL_WS_EVENT=_0x705370(0x169),RUNNER_CONFIG_KEYS=new Set(['UNOTEST_BROWSER','UNOTEST_HEADED',_0x705370(0x100),'UNOTEST_DEFAULT_TIMEOUT_MS',_0x705370(0x143),_0x705370(0x183),'UNOTEST_LOCALE','UNOTEST_TIMEZONE','UNOTEST_LOG_LEVEL',_0x705370(0x1b0),'UNOTEST_DEBUG_DIR',_0x705370(0x117),_0x705370(0x120),_0x705370(0x19e),_0x705370(0x193),_0x705370(0xe9),_0x705370(0x14a),'UNOTEST_CACHE_DIR',_0x705370(0x180),'FORCE_COLOR',_0x705370(0x1bb)]);function isRunnerConfigKey(_0x38fb28){const _0x52df65=_0x705370;return RUNNER_CONFIG_KEYS[_0x52df65(0x17e)](_0x38fb28);}__name(isRunnerConfigKey,_0x705370(0xdf));function categorizeVariable(_0x134afb){const _0x4fe440={_0x27794b:0xf6},_0x49c06b=_0x705370;if(_0x134afb[_0x49c06b(0x14b)]==='secrets')return'secret';return isRunnerConfigKey(_0x134afb[_0x49c06b(0xdd)])?_0x49c06b(_0x4fe440._0x27794b):_0x49c06b(0x1ba);}__name(categorizeVariable,'categorizeVariable');function isExternalVarName(_0x3158df){return/^[A-Z][A-Z0-9_]*$/['test'](_0x3158df);}__name(isExternalVarName,_0x705370(0x19b));var ENV_KEY_RE=/^[A-Za-z_][A-Za-z0-9_]*$/;function*assignmentEntries(_0x492f8e){const _0x4cc7e3={_0x4ebd57:0x145,_0x1481d9:0x1b9,_0x472a9a:0xdc},_0x3d773c=_0x705370;for(const _0x16b263 of _0x492f8e[_0x3d773c(0xc9)](/\r?\n/)){const _0xf39ed6=_0x16b263[_0x3d773c(0xdc)]();if(_0xf39ed6===''||_0xf39ed6[_0x3d773c(_0x4cc7e3._0x4ebd57)]('#'))continue;const _0x4b2245=_0xf39ed6[_0x3d773c(0xf9)]('=');if(_0x4b2245<=0x0)continue;const _0x4a10c1=_0xf39ed6[_0x3d773c(_0x4cc7e3._0x1481d9)](0x0,_0x4b2245)[_0x3d773c(_0x4cc7e3._0x472a9a)]();if(!ENV_KEY_RE[_0x3d773c(0x1be)](_0x4a10c1))continue;yield[_0x4a10c1,_0xf39ed6[_0x3d773c(0x1b9)](_0x4b2245+0x1)['trim']()];}}__name(assignmentEntries,'assignmentEntries');function parseEnvContent(_0x4945bf){const _0x501694=_0x705370,_0x1acbd8={};for(const [_0x1e0c37,_0x46d036]of assignmentEntries(_0x4945bf)){let _0x4878ad=_0x46d036;if(_0x4878ad['length']>=0x2){const _0x5b416a=_0x4878ad[0x0],_0x57b9bb=_0x4878ad[_0x4878ad[_0x501694(0x131)]-0x1];(_0x5b416a==='\x22'||_0x5b416a==='\x27')&&_0x5b416a===_0x57b9bb&&(_0x4878ad=_0x4878ad[_0x501694(0x1b9)](0x1,-0x1));}_0x1acbd8[_0x1e0c37]=_0x4878ad;}return _0x1acbd8;}__name(parseEnvContent,_0x705370(0x1ad));function serializeEnvValue(_0x2893fa){const _0x245f87={_0x3e1638:0x1be,_0x590eec:0x1be,_0x8e93e6:0x15f},_0x5e9aac=_0x705370;if(_0x2893fa==='')return'';if(/[\s#"'=\\]|^[`]/[_0x5e9aac(_0x245f87._0x3e1638)](_0x2893fa)||/[\n\r]/[_0x5e9aac(_0x245f87._0x590eec)](_0x2893fa)){const _0xce3bd8=_0x2893fa[_0x5e9aac(0x15f)](/\\/g,'\x5c\x5c')[_0x5e9aac(0x15f)](/"/g,'\x5c\x22')['replace'](/\n/g,'\x5cn')[_0x5e9aac(_0x245f87._0x8e93e6)](/\r/g,'\x5cr');return'\x22'+_0xce3bd8+'\x22';}return _0x2893fa;}__name(serializeEnvValue,_0x705370(0x197));function envKeys(_0x488ff7){const _0x2f67ee=_0x705370,_0x367b72=new Set();for(const [_0x57f6f5]of assignmentEntries(_0x488ff7))_0x367b72[_0x2f67ee(0x166)](_0x57f6f5);return _0x367b72;}__name(envKeys,'envKeys');function isSectionDivider(_0x149dda){const _0x1d9b01={_0x1d4196:0xdc},_0x2a4671=_0x705370,_0x72a8b1=_0x149dda[_0x2a4671(_0x1d9b01._0x1d4196)]();return _0x72a8b1[_0x2a4671(0x145)]('#')&&/---/['test'](_0x72a8b1);}__name(isSectionDivider,'isSectionDivider');function isAssignmentLine(_0x4fb2c2){const _0x290d09={_0x20a457:0xdc,_0xa1bd7a:0x145,_0x341541:0xf9},_0x1d202c=_0x705370,_0x3ab3e8=_0x4fb2c2[_0x1d202c(_0x290d09._0x20a457)]();if(_0x3ab3e8===''||_0x3ab3e8[_0x1d202c(_0x290d09._0xa1bd7a)]('#'))return![];const _0x36e4b6=_0x3ab3e8[_0x1d202c(_0x290d09._0x341541)]('=');return _0x36e4b6>0x0&&ENV_KEY_RE['test'](_0x3ab3e8[_0x1d202c(0x1b9)](0x0,_0x36e4b6)[_0x1d202c(0xdc)]());}__name(isAssignmentLine,_0x705370(0x11c));function isAssignmentOf(_0x57abe3,_0x5d18b0){const _0x2b9489={_0x6925c7:0xf9},_0x19629d=_0x705370,_0x883351=_0x57abe3[_0x19629d(0xdc)]();if(_0x883351===''||_0x883351['startsWith']('#'))return![];const _0x45bbe8=_0x883351[_0x19629d(_0x2b9489._0x6925c7)]('=');if(_0x45bbe8<=0x0)return![];return _0x883351[_0x19629d(0x1b9)](0x0,_0x45bbe8)['trim']()===_0x5d18b0;}__name(isAssignmentOf,_0x705370(0x1c1));function splitLines(_0x5bd342){const _0x2978a5={_0x544265:0x1b9},_0x4b81ee=_0x705370,_0x5bcbc8=_0x5bd342['endsWith']('\x0a'),_0xd3629b=_0x5bcbc8?_0x5bd342[_0x4b81ee(_0x2978a5._0x544265)](0x0,-0x1):_0x5bd342;return{'lines':_0xd3629b===''?[]:_0xd3629b[_0x4b81ee(0xc9)]('\x0a'),'trailingNewline':_0x5bcbc8};}__name(splitLines,_0x705370(0x149));function joinLines(_0x468dc4,_0x181353){const _0xb38757=_0x705370,_0x589a7b=_0x468dc4[_0xb38757(0x12e)]('\x0a');return _0x181353||_0x589a7b===''?_0x589a7b+'\x0a':_0x589a7b;}__name(joinLines,_0x705370(0xf5));function insertEnvVar(_0x192027,_0x32665c,_0x2826a0,_0xa7456b){const _0x3d4351={_0x20eade:0x151,_0x507391:0x131,_0x346727:0x130},_0x524a96=_0x705370,_0x2e48fe=_0x32665c+'='+serializeEnvValue(_0x2826a0),{lines:_0x178d77,trailingNewline:_0x477b48}=splitLines(_0x192027);if(_0xa7456b){const _0x33f2f2=new RegExp('\x5cb'+_0xa7456b[_0x524a96(_0x3d4351._0x20eade)]()+'\x5cb'),_0x439fee=_0x178d77[_0x524a96(0x115)](_0x38d600=>isSectionDivider(_0x38d600)&&_0x33f2f2[_0x524a96(0x1be)](_0x38d600[_0x524a96(0x151)]()));if(_0x439fee!==-0x1){let _0x560a39=_0x178d77[_0x524a96(_0x3d4351._0x507391)];for(let _0x33b765=_0x439fee+0x1;_0x33b765<_0x178d77['length'];_0x33b765++){if(isSectionDivider(_0x178d77[_0x33b765])){_0x560a39=_0x33b765;break;}}let _0x42b6cb=-0x1,_0x28ab7a=-0x1;for(let _0x588e57=_0x439fee+0x1;_0x588e57<_0x560a39;_0x588e57++){if(_0x178d77[_0x588e57][_0x524a96(0xdc)]()!=='')_0x28ab7a=_0x588e57;if(isAssignmentLine(_0x178d77[_0x588e57]))_0x42b6cb=_0x588e57;}const _0x370b05=_0x42b6cb>=0x0?_0x42b6cb:_0x28ab7a,_0x26bfb5=_0x370b05>=0x0?_0x370b05+0x1:_0x439fee+0x1;return _0x178d77[_0x524a96(0x125)](_0x26bfb5,0x0,_0x2e48fe),joinLines(_0x178d77,_0x477b48||_0x178d77['length']>0x0);}if(_0x178d77[_0x524a96(0x131)]>0x0)_0x178d77[_0x524a96(_0x3d4351._0x346727)]('');return _0x178d77['push']('#\x20---\x20'+_0xa7456b+_0x524a96(0xd4),_0x2e48fe),joinLines(_0x178d77,!![]);}return _0x178d77['push'](_0x2e48fe),joinLines(_0x178d77,!![]);}__name(insertEnvVar,_0x705370(0x1aa));function removeEnvVar(_0x514d5a,_0x27da16){const _0x42913c=_0x705370,{lines:_0x4ce401,trailingNewline:_0x39f931}=splitLines(_0x514d5a),_0x3c85bc=_0x4ce401[_0x42913c(0x1b6)](_0x2fd700=>!isAssignmentOf(_0x2fd700,_0x27da16)),_0x151601=_0x3c85bc['length']!==_0x4ce401['length'];return{'content':joinLines(_0x3c85bc,_0x39f931),'removed':_0x151601};}__name(removeEnvVar,_0x705370(0x10b));var SECTION_BY_KIND={'app':_0x705370(0x152),'runner':'Runner','secret':void 0x0};function planAddVariable(_0x771604){const _0x2300c1={_0x35ddc3:0x16d,_0x5c41ba:0x163,_0x107628:0x163,_0x1bbd0e:0x135,_0x23b471:0x140,_0x3055a4:0x130,_0x6875f9:0x16a},_0x5a3774=_0x705370,{name:_0x1ab331,kind:_0x8ffb8f}=_0x771604;if(_0x8ffb8f===_0x5a3774(0xf6)){if(!isRunnerConfigKey(_0x1ab331))return{'ok':![],'code':_0x5a3774(0x150),'message':_0x1ab331+'\x20is\x20not\x20a\x20known\x20runner\x20setting\x20—\x20choose\x20one\x20from\x20the\x20runner-config\x20list.'};}else{if(!isExternalVarName(_0x1ab331))return{'ok':![],'code':_0x5a3774(_0x2300c1._0x35ddc3),'message':_0x1ab331+'\x20must\x20be\x20UPPER_SNAKE\x20(e.g.\x20APP_BASE_URL)\x20so\x20a\x20scenario\x20can\x20reference\x20it\x20by\x20name.'};}const _0x16ba1d=envKeys(_0x771604['envContent'])[_0x5a3774(0x17e)](_0x1ab331),_0x4aacc7=envKeys(_0x771604[_0x5a3774(0x107)])['has'](_0x1ab331),_0x2741af=_0x8ffb8f===_0x5a3774(0x140)?_0x5a3774(_0x2300c1._0x5c41ba):_0x5a3774(0x154),_0x562217=_0x2741af===_0x5a3774(0x163)?_0x4aacc7:_0x16ba1d,_0x51a98f=_0x2741af===_0x5a3774(_0x2300c1._0x107628)?_0x5a3774(0x136):_0x5a3774(0x112);if(_0x562217)return{'ok':![],'code':_0x5a3774(0x1a9),'message':_0x1ab331+_0x5a3774(0x119)+_0x51a98f+_0x5a3774(_0x2300c1._0x1bbd0e)};const _0x4e4002=[];return _0x8ffb8f===_0x5a3774(_0x2300c1._0x23b471)&&_0x16ba1d&&_0x4e4002[_0x5a3774(0x130)](_0x1ab331+_0x5a3774(0x147)),_0x8ffb8f!==_0x5a3774(0x140)&&_0x4aacc7&&_0x4e4002[_0x5a3774(_0x2300c1._0x3055a4)](_0x1ab331+_0x5a3774(_0x2300c1._0x6875f9)),{'ok':!![],'target':_0x2741af,'sectionLabel':SECTION_BY_KIND[_0x8ffb8f],'warnings':_0x4e4002};}__name(planAddVariable,_0x705370(0xc6));function deleteShadowWarning(_0x147b0d,_0x546821,_0xa849f3){const _0x69f909=_0x705370;if(_0xa849f3!==void 0x0&&_0xa849f3!==_0x546821)return[_0x147b0d+_0x69f909(0x192)];return[];}__name(deleteShadowWarning,_0x705370(0x11a));var TERMINAL_RUNTIME_STATES=['completed',_0x705370(0x13c),_0x705370(0x124)];function isTerminalRuntimeState(_0x2b6311){return TERMINAL_RUNTIME_STATES['includes'](_0x2b6311);}__name(isTerminalRuntimeState,'isTerminalRuntimeState');var JUDGE_ROUTES={'judge':_0x705370(0x17c),'health':_0x705370(0x179)},JUDGE_ENV={'mode':'UNOTEST_JUDGE_MODE','url':_0x705370(0x194),'token':'UNOTEST_JUDGE_TOKEN','requestTimeoutMs':_0x705370(0x137),'preamble':_0x705370(0x12f),'provider':_0x705370(0x18a),'model':_0x705370(0x168),'callTimeoutMs':'UNOTEST_JUDGE_CALL_TIMEOUT_MS','retries':_0x705370(0xec),'vote':_0x705370(0x1bd),'accessToken':'UNOTEST_JUDGE_ACCESS_TOKEN','claudeBin':_0x705370(0x144),'host':_0x705370(0x16f),'port':_0x705370(0x175),'logLevel':_0x705370(0x138),'skipPreflight':'UNOTEST_JUDGE_SKIP_PREFLIGHT'};export{ARTIFACTS_ROOT_ENV,BLOBS_DIR,BOX_TOKEN_ENV,BOX_URL_ENV,BUNDLE_ID_ENV,BUNDLE_MANIFEST_FILE,BUNDLE_SCHEMA_VERSION,BUNDLE_UPLOAD_PATH,CI_RUN_PATH,COLLECTIONS_SUBDIR,COLLECTION_NAME_FORBIDDEN_RE,COMMANDS_FILE,DAY_INDEX_FILE,E2E_SUBDIR,ENV_FILE,EXPECT_FAIL_ANNOTATION,HEARTBEAT_FILE,HELPERS_SUBDIR,InvalidBlobHashError,JUDGE_ENV,JUDGE_ROUTES,LOCK_FILE,LOG_FILE,PICKER_SNAPSHOT_FILE,QUEUE_DISABLED_ENV,QUEUE_GLOBAL_DIR_ENV,QUEUE_GLOBAL_SLOTS_ENV,QUEUE_LEASE_ENV,QUEUE_MUTEX_FILE,QUEUE_PRIORITIES,QUEUE_RUNNING_DIR,QUEUE_SCHEMA_VERSION,QUEUE_SLOTS_DIR,QUEUE_SUBDIR,QUEUE_TICKETS_DIR,RUNNER_CONFIG_KEYS,RUNS_SUBDIR,RUNTIME_FILE,RUN_INDEX_SCHEMA_VERSION,RUN_MANIFEST_FILE,RUN_SOURCES_FILE,RunnerAdapterNotFoundError,RunnerNotConfiguredError,SCENARIOS_INDEX_DIR,SCENARIOS_LATEST_FILE,SCENARIO_RECENT_WINDOW,SECRETS_FILE,SEGMENT_NAME_FORBIDDEN_RE,SNAPSHOTS_SUBDIR,STDERR_FILE,STDOUT_FILE,STEPS_FILE,TERMINAL_RUNTIME_STATES,TERMINAL_WS_EVENT,UNOTEST_DIR,UnplaceableRunIdError,UnsupportedRunKindError,WORKSPACE_FILE,WORKSPACE_SCHEMA_VERSION,activeEnvName,artifactsRootFrom,blobPathFor,blobRelPathFor,blobRelSegmentsFor,blobsRootFor,categorizeVariable,compareQueueTicketNames,debugDirFor,debuggerFileFor,deleteShadowWarning,describeBundle,describeTicketCi,envFileFor,envKeys,envLayerFilesFor,envNamesFromDirListing,foldScenarioRun,insertEnvVar,isAnnotationLine,isExternalVarName,isFailingStatus,isQueueDirName,isRecord,isRegexLiteral,isRunnerConfigKey,isRunsDirName,isTerminalRuntimeState,makeQueueTicketName,makeRunId,parseAppServerEvent,parseBundleManifest,parseBundleUploadResponse,parseCiProvider,parseCiRunRequest,parseCiRunResponse,parseEnvContent,parseQueueTicket,parseQueueTicketName,parseScenarioAnnotations,parseScheduleEntry,parseSchedulesJson,parseWorkspaceFile,planAddVariable,projectQueueRoot,projectRunDirFor,projectRunsRoot,queueDirFor,queuePriorityFromRank,queuePriorityRank,regexLiteral,removeEnvVar,requireRunDirFor,runDirFor,runIdStartedAt,runsDirFor,sanitizeRunIdSegment,scenarioIndexFileName,scenarioRefFromFileName,secretsFileFor,secretsLayerFilesFor,serializeEnvValue,shardDaysDescending,shardDirFor,shardPathForRunId,shardPathForTimestamp,testDirFor,validateCollectionName,validateSegmentName};
|
|
1
|
+
const _0x1f456e=_0x3d64;(function(_0x1d96a3,_0x502878){const _0x1d86eb={_0x3cad26:0xf3,_0x570be5:0x15a,_0x464e22:0x186},_0x5e4ad3=_0x3d64,_0x4ca2bb=_0x1d96a3();while(!![]){try{const _0x96bf67=parseInt(_0x5e4ad3(0x18b))/0x1+parseInt(_0x5e4ad3(0x1c2))/0x2*(-parseInt(_0x5e4ad3(0x1ae))/0x3)+parseInt(_0x5e4ad3(0x172))/0x4+parseInt(_0x5e4ad3(0x1a2))/0x5+-parseInt(_0x5e4ad3(0xf8))/0x6+parseInt(_0x5e4ad3(_0x1d86eb._0x3cad26))/0x7*(parseInt(_0x5e4ad3(_0x1d86eb._0x570be5))/0x8)+parseInt(_0x5e4ad3(_0x1d86eb._0x464e22))/0x9*(-parseInt(_0x5e4ad3(0x13f))/0xa);if(_0x96bf67===_0x502878)break;else _0x4ca2bb['push'](_0x4ca2bb['shift']());}catch(_0x1079d5){_0x4ca2bb['push'](_0x4ca2bb['shift']());}}}(_0x2707,0xcf466));var __defProp=Object[_0x1f456e(0x134)],__name=(_0x2c2a73,_0x306fa4)=>__defProp(_0x2c2a73,_0x1f456e(0x1b9),{'value':_0x306fa4,'configurable':!![]});function parseAppServerEvent(_0x167da8){const _0x16db44={_0x36450b:0xeb,_0x96e8e3:0x1a5,_0x5ae6e4:0x13b,_0x2b1f94:0x11d},_0x2cecfc=_0x1f456e,_0x4664a6=_0x167da8[_0x2cecfc(_0x16db44._0x36450b)]();if(!_0x4664a6[_0x2cecfc(0x118)]('{'))return null;try{const _0x3350bc=JSON[_0x2cecfc(0x162)](_0x4664a6);if(_0x3350bc[_0x2cecfc(_0x16db44._0x96e8e3)]==='app-server:ready'||_0x3350bc[_0x2cecfc(_0x16db44._0x96e8e3)]===_0x2cecfc(_0x16db44._0x5ae6e4)||_0x3350bc['kind']===_0x2cecfc(_0x16db44._0x2b1f94))return _0x3350bc;return null;}catch{return null;}}function _0x3d64(_0x25ad30,_0x1a9709){_0x25ad30=_0x25ad30-0xe6;const _0x2707e0=_0x2707();let _0x3d6433=_0x2707e0[_0x25ad30];if(_0x3d64['fIJVeE']===undefined){var _0x2078ac=function(_0x5ad325){const _0x27ec8a='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x2c2a73='',_0x306fa4='';for(let _0x167da8=0x0,_0x4664a6,_0x3350bc,_0x4554db=0x0;_0x3350bc=_0x5ad325['charAt'](_0x4554db++);~_0x3350bc&&(_0x4664a6=_0x167da8%0x4?_0x4664a6*0x40+_0x3350bc:_0x3350bc,_0x167da8++%0x4)?_0x2c2a73+=String['fromCharCode'](0xff&_0x4664a6>>(-0x2*_0x167da8&0x6)):0x0){_0x3350bc=_0x27ec8a['indexOf'](_0x3350bc);}for(let _0x151b01=0x0,_0x36338b=_0x2c2a73['length'];_0x151b01<_0x36338b;_0x151b01++){_0x306fa4+='%'+('00'+_0x2c2a73['charCodeAt'](_0x151b01)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x306fa4);};_0x3d64['xXFchn']=_0x2078ac,_0x3d64['qXfdiE']={},_0x3d64['fIJVeE']=!![];}const _0x41e87a=_0x2707e0[0x0],_0x28b826=_0x25ad30+_0x41e87a,_0x10bd07=_0x3d64['qXfdiE'][_0x28b826];return!_0x10bd07?(_0x3d6433=_0x3d64['xXFchn'](_0x3d6433),_0x3d64['qXfdiE'][_0x28b826]=_0x3d6433):_0x3d6433=_0x10bd07,_0x3d6433;}__name(parseAppServerEvent,_0x1f456e(0x10a));function isRecord(_0x4554db){const _0x4f4bda=_0x1f456e;return typeof _0x4554db===_0x4f4bda(0x10d)&&_0x4554db!==null&&!Array['isArray'](_0x4554db);}__name(isRecord,_0x1f456e(0x1ec));var UNOTEST_DIR=_0x1f456e(0x1af),E2E_SUBDIR=_0x1f456e(0x19e),HELPERS_SUBDIR=_0x1f456e(0x179),COLLECTIONS_SUBDIR=_0x1f456e(0x10c),RUNS_SUBDIR=_0x1f456e(0xea),SNAPSHOTS_SUBDIR='.snapshots';function testDirFor(_0x151b01){return''+E2E_SUBDIR+_0x151b01;}__name(testDirFor,_0x1f456e(0x110));function runsDirFor(_0x36338b,_0x4867b5){return''+RUNS_SUBDIR+_0x36338b+(_0x4867b5?'.'+_0x4867b5:'');}__name(runsDirFor,_0x1f456e(0x19c));function isRunsDirName(_0x31d563){const _0xbc0d35={_0x84ef74:0x118},_0x2a060f=_0x1f456e;return _0x31d563===RUNS_SUBDIR||_0x31d563[_0x2a060f(0x118)](RUNS_SUBDIR+'-')||_0x31d563[_0x2a060f(_0xbc0d35._0x84ef74)](RUNS_SUBDIR+'.');}__name(isRunsDirName,_0x1f456e(0x1c0));function debugDirFor(_0x3fcd86){return'.debug'+_0x3fcd86;}__name(debugDirFor,_0x1f456e(0x157));function debuggerFileFor(_0x448b27){const _0x3f976=_0x1f456e;return UNOTEST_DIR+_0x3f976(0x1aa)+_0x448b27+'.json';}__name(debuggerFileFor,_0x1f456e(0x125));var LOCK_FILE=_0x1f456e(0x154),LOG_FILE='.viewer.log',STEPS_FILE='steps.jsonl',HEARTBEAT_FILE=_0x1f456e(0x171),DAY_INDEX_FILE=_0x1f456e(0x159),SCENARIOS_INDEX_DIR=_0x1f456e(0x17b),SCENARIOS_LATEST_FILE=_0x1f456e(0x16a),STDOUT_FILE=_0x1f456e(0x181),STDERR_FILE=_0x1f456e(0x147),COMMANDS_FILE=_0x1f456e(0x14d),RUNTIME_FILE=_0x1f456e(0x122),PICKER_SNAPSHOT_FILE=_0x1f456e(0x191),ENV_FILE=_0x1f456e(0x1e3),SECRETS_FILE=_0x1f456e(0xfb);function envFileFor(_0x38d22e,_0x421d4a){return''+ENV_FILE+_0x38d22e+(_0x421d4a?'.'+_0x421d4a:'');}__name(envFileFor,_0x1f456e(0x119));function secretsFileFor(_0x38eb1d,_0x3a8719){return''+SECRETS_FILE+_0x38eb1d+(_0x3a8719?'.'+_0x3a8719:'');}__name(secretsFileFor,_0x1f456e(0x105));function envLayerFilesFor(_0x188017,_0x549df0){return layersFor(ENV_FILE,_0x188017,_0x549df0);}__name(envLayerFilesFor,'envLayerFilesFor');function secretsLayerFilesFor(_0x42174d,_0x572f6f){return layersFor(SECRETS_FILE,_0x42174d,_0x572f6f);}__name(secretsLayerFilesFor,'secretsLayerFilesFor');function layersFor(_0x1adbbc,_0x145cbd,_0x3772bd){const _0x4794e4=_0x1f456e,_0x44f5d2=[_0x1adbbc];if(_0x145cbd)_0x44f5d2[_0x4794e4(0x1d5)](''+_0x1adbbc+_0x145cbd);if(_0x3772bd){_0x44f5d2['push'](_0x1adbbc+'.'+_0x3772bd);if(_0x145cbd)_0x44f5d2['push'](''+_0x1adbbc+_0x145cbd+'.'+_0x3772bd);}return _0x44f5d2;}__name(layersFor,'layersFor');var ARTIFACTS_ROOT_ENV=_0x1f456e(0x1ac);function artifactsRootFrom(_0x53ba1e,_0x19387d){const _0x1192a3=_0x53ba1e[ARTIFACTS_ROOT_ENV]?.['trim']();return _0x1192a3?_0x1192a3:_0x19387d;}__name(artifactsRootFrom,_0x1f456e(0x168));function activeEnvName(_0x1593cb){const _0x576978={_0x483ba8:0x150,_0x134054:0xeb},_0x537a19=_0x1f456e,_0xd0b5aa=_0x1593cb[_0x537a19(_0x576978._0x483ba8)]?.[_0x537a19(_0x576978._0x134054)]();return _0xd0b5aa?_0xd0b5aa:void 0x0;}__name(activeEnvName,_0x1f456e(0x166));var RESERVED_ENV_NAMES=new Set([_0x1f456e(0x1c4),_0x1f456e(0x1d9),_0x1f456e(0x1ef)]);function envNamesFromDirListing(_0x5ac762,_0x141e5d){const _0x5ab2c7={_0x4c0b79:0x138},_0x115d96=_0x1f456e,_0x5b4f0c=['.env',_0x115d96(0x163)]['flatMap'](_0x26a38e=>_0x141e5d?[_0x26a38e,''+_0x26a38e+_0x141e5d]:[_0x26a38e]),_0x4156af=new Set();for(const _0x3d0d94 of _0x5ac762){for(const _0x48e264 of _0x5b4f0c){const _0x117538=_0x48e264+'.';if(!_0x3d0d94[_0x115d96(0x118)](_0x117538))continue;const _0x595d1d=_0x3d0d94[_0x115d96(0x10e)](_0x117538[_0x115d96(0x187)]);if(!_0x595d1d||_0x595d1d[_0x115d96(0xfc)]('/'))continue;if(RESERVED_ENV_NAMES[_0x115d96(_0x5ab2c7._0x4c0b79)](_0x595d1d))continue;_0x4156af[_0x115d96(0x1d0)](_0x595d1d);}}return[..._0x4156af][_0x115d96(0xe6)]();}__name(envNamesFromDirListing,_0x1f456e(0x128));function isRegexLiteral(_0x57fe27){const _0x1e81b7={_0x456b5a:0x10d,_0x13da5b:0x1a5,_0xa4f978:0x12d},_0x33e72c=_0x1f456e;return typeof _0x57fe27===_0x33e72c(_0x1e81b7._0x456b5a)&&_0x57fe27!==null&&_0x57fe27[_0x33e72c(_0x1e81b7._0x13da5b)]===_0x33e72c(_0x1e81b7._0xa4f978)&&typeof _0x57fe27[_0x33e72c(0x15d)]===_0x33e72c(0x14f)&&typeof _0x57fe27['flags']===_0x33e72c(0x14f);}__name(isRegexLiteral,'isRegexLiteral');function regexLiteral(_0x2a3982,_0x1fec94=''){const _0x39d3d5={_0x415dcf:0x12d},_0x4bf85b=_0x1f456e;return{'kind':_0x4bf85b(_0x39d3d5._0x415dcf),'source':_0x2a3982,'flags':_0x1fec94};}__name(regexLiteral,_0x1f456e(0xf7));var RAND_BYTES=0x6;function makeRunId(_0x1ea968){const _0x38eaee={_0x3515fb:0x1c5,_0x20d250:0x13c,_0x212b18:0x187},_0x1ad7ad=_0x1f456e,_0x29d7f3=sanitizeRunIdSegment(_0x1ea968),_0x29f014=Date['now']()[_0x1ad7ad(0x16e)](0x24),_0x37a194=new Uint8Array(RAND_BYTES);globalThis[_0x1ad7ad(_0x38eaee._0x3515fb)][_0x1ad7ad(_0x38eaee._0x20d250)](_0x37a194);let _0x33d2cc='';for(let _0x4c7a57=0x0;_0x4c7a57<_0x37a194[_0x1ad7ad(_0x38eaee._0x212b18)];_0x4c7a57++){_0x33d2cc+=_0x37a194[_0x4c7a57][_0x1ad7ad(0x16e)](0x10)[_0x1ad7ad(0x152)](0x2,'0');}return _0x29d7f3+'-'+_0x29f014+'-'+_0x33d2cc;}__name(makeRunId,_0x1f456e(0x196));function sanitizeRunIdSegment(_0x20aa8f){const _0x2600af={_0x2e78dd:0x1c6,_0x35a493:0x14b},_0x14e810=_0x1f456e,_0x518277=_0x20aa8f[_0x14e810(0x1c6)](/[^a-zA-Z0-9_-]+/g,'-')[_0x14e810(_0x2600af._0x2e78dd)](/-+/g,'-')[_0x14e810(0x1c6)](/^-|-$/g,'');return _0x518277[_0x14e810(0x187)]>0x0?_0x518277:_0x14e810(_0x2600af._0x35a493);}__name(sanitizeRunIdSegment,'sanitizeRunIdSegment');var RANDOM_SUFFIX_RE=/^[0-9a-f]{6,}$/,MIN_PLAUSIBLE_MS=Date[_0x1f456e(0x13a)](0x7e4,0x0,0x1),MAX_PLAUSIBLE_MS=Date[_0x1f456e(0x13a)](0x834,0x0,0x1);function runIdStartedAt(_0x32f072){const _0x1d9d04={_0x501e77:0x187},_0x506678=_0x1f456e,_0xd7562a=_0x32f072[_0x506678(0x184)]('-');if(_0xd7562a[_0x506678(_0x1d9d04._0x501e77)]<0x3)return null;const _0x580fb5=_0xd7562a[_0xd7562a[_0x506678(_0x1d9d04._0x501e77)]-0x1];if(!RANDOM_SUFFIX_RE[_0x506678(0x1ee)](_0x580fb5))return null;const _0xf56632=_0xd7562a[_0xd7562a['length']-0x2];if(!/^[0-9a-z]+$/['test'](_0xf56632))return null;const _0x29bc64=parseInt(_0xf56632,0x24);if(!Number[_0x506678(0x14c)](_0x29bc64))return null;if(_0x29bc64<MIN_PLAUSIBLE_MS||_0x29bc64>=MAX_PLAUSIBLE_MS)return null;return _0x29bc64;}__name(runIdStartedAt,_0x1f456e(0x151));function shardPathForTimestamp(_0x3ccdff){const _0x248ea8=_0x1f456e,_0x2a44c3=new Date(_0x3ccdff),_0x47295a=String(_0x2a44c3[_0x248ea8(0x117)]())[_0x248ea8(0x152)](0x4,'0'),_0x13bebd=String(_0x2a44c3[_0x248ea8(0x1d4)]()+0x1)[_0x248ea8(0x152)](0x2,'0'),_0x5c66b7=String(_0x2a44c3[_0x248ea8(0x10b)]())['padStart'](0x2,'0');return _0x47295a+'/'+_0x13bebd+'/'+_0x5c66b7;}__name(shardPathForTimestamp,_0x1f456e(0x11a));function shardPathForRunId(_0xc862ea){const _0x591234=runIdStartedAt(_0xc862ea);return _0x591234===null?null:shardPathForTimestamp(_0x591234);}__name(shardPathForRunId,_0x1f456e(0x115));function runDirFor(_0x4d90c0,_0x3fd45e){const _0x50d7af=shardPathForRunId(_0x3fd45e);return _0x50d7af===null?null:_0x4d90c0+'/'+_0x50d7af+'/'+_0x3fd45e;}__name(runDirFor,_0x1f456e(0x1b5));var UnplaceableRunIdError=class extends Error{static{__name(this,_0x1f456e(0x15b));}constructor(_0x47c66f){const _0x190556={_0x1509bf:0x15b},_0x17a9aa=_0x1f456e;super(_0x17a9aa(0x1c3)+_0x47c66f),this[_0x17a9aa(0x1b9)]=_0x17a9aa(_0x190556._0x1509bf);}};function requireRunDirFor(_0x5cad41,_0x158aad){const _0xb948d7=runDirFor(_0x5cad41,_0x158aad);if(_0xb948d7===null)throw new UnplaceableRunIdError(_0x158aad);return _0xb948d7;}__name(requireRunDirFor,_0x1f456e(0x13d));function projectRunsRoot(_0x2ebced='',_0x5c0cd7){return UNOTEST_DIR+'/'+runsDirFor(_0x2ebced,_0x5c0cd7);}__name(projectRunsRoot,_0x1f456e(0xfa));function projectRunDirFor(_0x32b595,_0x4683d4='',_0x5d59c6){return requireRunDirFor(projectRunsRoot(_0x4683d4,_0x5d59c6),_0x32b595);}__name(projectRunDirFor,_0x1f456e(0x1a7));function shardDirFor(_0x13fed2,_0x4187e2){return _0x13fed2+'/'+shardPathForTimestamp(_0x4187e2);}__name(shardDirFor,_0x1f456e(0x1b8));function*shardDaysDescending(_0x491a26,_0x4d3651,_0x4d3fb7){const _0x4e3db5={_0x548883:0x18a},_0xf54603=_0x1f456e,_0x5fce7a=0x5265c00;let _0xef0c80=Math[_0xf54603(_0x4e3db5._0x548883)](_0x4d3651/_0x5fce7a)*_0x5fce7a;for(let _0x856339=0x0;_0x856339<_0x4d3fb7;_0x856339++){yield shardDirFor(_0x491a26,_0xef0c80),_0xef0c80-=_0x5fce7a;}}__name(shardDaysDescending,'shardDaysDescending');var RUN_INDEX_SCHEMA_VERSION=0x2,SCENARIO_RECENT_WINDOW=0xc;function isFailingStatus(_0x325d17){const _0x1dc7b0={_0x23ffc2:0x1d2},_0x12270c=_0x1f456e;return _0x325d17===_0x12270c(_0x1dc7b0._0x23ffc2)||_0x325d17===_0x12270c(0x1a1);}__name(isFailingStatus,_0x1f456e(0x155));function foldScenarioRun(_0x50a5e2,_0x57ff4d){const _0x6b8932={_0x38cef1:0x137,_0x5cf313:0x17c,_0x1b7866:0x1db,_0x35a38e:0x10e,_0x31061b:0x18f},_0x5e9d8b=_0x1f456e,_0x395bfb={'lastRunId':_0x57ff4d[_0x5e9d8b(0x1bc)],'lastStatus':_0x57ff4d[_0x5e9d8b(0x1db)],'lastAt':_0x57ff4d[_0x5e9d8b(0x18f)],'lastDurationMs':_0x57ff4d[_0x5e9d8b(_0x6b8932._0x38cef1)],'recent':[..._0x50a5e2?.[_0x5e9d8b(_0x6b8932._0x5cf313)]??[],_0x57ff4d[_0x5e9d8b(_0x6b8932._0x1b7866)]][_0x5e9d8b(_0x6b8932._0x35a38e)](-SCENARIO_RECENT_WINDOW)};if(!isFailingStatus(_0x57ff4d['status']))return{..._0x395bfb,'failStreak':0x0,'failingSince':null};const _0xf1b6b=(_0x50a5e2?.[_0x5e9d8b(0x1de)]??0x0)+0x1;return{..._0x395bfb,'failStreak':_0xf1b6b,'failingSince':_0xf1b6b===0x1?_0x57ff4d[_0x5e9d8b(0x18f)]:_0x50a5e2?.[_0x5e9d8b(0x1cf)]??_0x57ff4d[_0x5e9d8b(_0x6b8932._0x31061b)]};}__name(foldScenarioRun,'foldScenarioRun');function scenarioIndexFileName(_0x4792cf){const _0x44dd91={_0x5b2dd8:0x1c8},_0x25b1f9=_0x1f456e;return encodeURIComponent(_0x4792cf)+_0x25b1f9(_0x44dd91._0x5b2dd8);}__name(scenarioIndexFileName,'scenarioIndexFileName');function scenarioRefFromFileName(_0x29ba0e){const _0x4ee1d3={_0xba456d:0x10e,_0x4557db:0x1c8,_0x2ce6ef:0x187},_0x9a5cca=_0x1f456e;if(!_0x29ba0e['endsWith']('.jsonl'))return null;try{return decodeURIComponent(_0x29ba0e[_0x9a5cca(_0x4ee1d3._0xba456d)](0x0,-_0x9a5cca(_0x4ee1d3._0x4557db)[_0x9a5cca(_0x4ee1d3._0x2ce6ef)]));}catch{return null;}}__name(scenarioRefFromFileName,_0x1f456e(0x1e2));var CI_RUN_PATH='/api/box/ci/run',PROVIDER_IDS=[_0x1f456e(0x141),_0x1f456e(0x169),_0x1f456e(0x1dc)],RUN_ERROR_CODES=['unauthorized','scope-mismatch',_0x1f456e(0x1b7),_0x1f456e(0x12a),'no-collections','malformed',_0x1f456e(0x1e8)];function parseCiRunRequest(_0x546561){const _0x588704={_0x5f0bac:0x14f,_0x130497:0x187,_0x34f797:0x1b1,_0x226173:0x167},_0x3717c0=_0x1f456e;if(!isRecord(_0x546561))return null;const {bundleId:_0x4d8315,environment:_0x25bbf9,collections:_0x4622c9,pr:_0x1f4147,branch:_0x5b7659,sha:_0x2c6492}=_0x546561;if(typeof _0x4d8315!==_0x3717c0(0x14f)||_0x4d8315[_0x3717c0(0x187)]===0x0)return null;if(typeof _0x25bbf9!==_0x3717c0(_0x588704._0x5f0bac)||_0x25bbf9[_0x3717c0(_0x588704._0x130497)]===0x0)return null;let _0x23dffa=null;if(_0x4622c9!==void 0x0){if(!Array[_0x3717c0(0x18e)](_0x4622c9))return null;if(_0x4622c9[_0x3717c0(_0x588704._0x34f797)](_0xb35d32=>typeof _0xb35d32!=='string'||_0xb35d32[_0x3717c0(0x187)]===0x0))return null;_0x23dffa=_0x4622c9;}if(_0x1f4147!==void 0x0&&(typeof _0x1f4147!=='number'||!Number[_0x3717c0(0x111)](_0x1f4147)))return null;for(const _0x58ce77 of[_0x5b7659,_0x2c6492]){if(_0x58ce77!==void 0x0&&typeof _0x58ce77!==_0x3717c0(_0x588704._0x5f0bac))return null;}return{'bundleId':_0x4d8315,'environment':_0x25bbf9,..._0x23dffa?{'collections':_0x23dffa}:{},...typeof _0x1f4147===_0x3717c0(_0x588704._0x226173)?{'pr':_0x1f4147}:{},...typeof _0x5b7659==='string'?{'branch':_0x5b7659}:{},...typeof _0x2c6492===_0x3717c0(_0x588704._0x5f0bac)?{'sha':_0x2c6492}:{}};}__name(parseCiRunRequest,_0x1f456e(0x139));function parseCiRunResponse(_0x10fad9){const _0xb4b029={_0x389d2d:0x12e,_0x178a9c:0x167},_0x1bb827=_0x1f456e;if(!isRecord(_0x10fad9))return null;if(isRecord(_0x10fad9['error'])){const {code:_0x3ba2de,message:_0x950b80}=_0x10fad9[_0x1bb827(_0xb4b029._0x389d2d)];if(!RUN_ERROR_CODES[_0x1bb827(0xfc)](_0x3ba2de))return null;if(typeof _0x950b80!==_0x1bb827(0x14f))return null;return{'error':{'code':_0x3ba2de,'message':_0x950b80}};}const {status:_0x3d6190,bundleId:_0x131aa4,environment:_0x577291,runs:_0x539b83,superseded:_0x2a5b26}=_0x10fad9;if(_0x3d6190!==_0x1bb827(0x1bb))return null;if(typeof _0x131aa4!==_0x1bb827(0x14f)||typeof _0x577291!==_0x1bb827(0x14f))return null;if(!Array[_0x1bb827(0x18e)](_0x539b83))return null;const _0x3bba69=[];for(const _0x1ad4e8 of _0x539b83){if(!isRecord(_0x1ad4e8))return null;const {runId:_0x5cc16e,collection:_0x300396}=_0x1ad4e8;if(typeof _0x5cc16e!=='string'||typeof _0x300396!=='string')return null;_0x3bba69['push']({'runId':_0x5cc16e,'collection':_0x300396});}if(_0x2a5b26!==void 0x0&&typeof _0x2a5b26!==_0x1bb827(0x167))return null;return{'status':'queued','bundleId':_0x131aa4,'environment':_0x577291,'runs':_0x3bba69,...typeof _0x2a5b26===_0x1bb827(_0xb4b029._0x178a9c)?{'superseded':_0x2a5b26}:{}};}__name(parseCiRunResponse,_0x1f456e(0x1ba));function parseCiProvider(_0x1a17fb){const _0x2a6847=_0x1f456e;return PROVIDER_IDS[_0x2a6847(0xfc)](_0x1a17fb)?_0x1a17fb:null;}__name(parseCiProvider,_0x1f456e(0x14e));var QUEUE_SUBDIR='.queue',QUEUE_TICKETS_DIR=_0x1f456e(0x198),QUEUE_RUNNING_DIR='running',QUEUE_SLOTS_DIR='slots',QUEUE_MUTEX_FILE='.mutex',QUEUE_LEASE_ENV=_0x1f456e(0x114),QUEUE_DISABLED_ENV=_0x1f456e(0xec),QUEUE_GLOBAL_DIR_ENV=_0x1f456e(0x189),QUEUE_GLOBAL_SLOTS_ENV='UNOTEST_QUEUE_GLOBAL_SLOTS',QUEUE_SCHEMA_VERSION=0x1;function queueDirFor(_0x4784e8,_0x1549ce){return''+QUEUE_SUBDIR+_0x4784e8+(_0x1549ce?'.'+_0x1549ce:'');}__name(queueDirFor,_0x1f456e(0x148));function isQueueDirName(_0x1826cb){const _0x949af9={_0x54f374:0x118},_0x1ec942=_0x1f456e;return _0x1826cb===QUEUE_SUBDIR||_0x1826cb[_0x1ec942(_0x949af9._0x54f374)](QUEUE_SUBDIR+'-')||_0x1826cb[_0x1ec942(0x118)](QUEUE_SUBDIR+'.');}__name(isQueueDirName,_0x1f456e(0x108));function projectQueueRoot(_0x38bf8c='',_0x5c2e6d){return UNOTEST_DIR+'/'+queueDirFor(_0x38bf8c,_0x5c2e6d);}__name(projectQueueRoot,'projectQueueRoot');var PRIORITY_RANKS=Object[_0x1f456e(0x174)]({'maintenance':0x0,'interactive':0x1,'ci':0x2,'schedule':0x3}),RANK_PRIORITIES=[_0x1f456e(0x1cd),_0x1f456e(0x1b4),'ci',_0x1f456e(0x120)],QUEUE_PRIORITIES=RANK_PRIORITIES;function queuePriorityRank(_0x328945){return PRIORITY_RANKS[_0x328945];}__name(queuePriorityRank,_0x1f456e(0x19f));function queuePriorityFromRank(_0x6301bd){return RANK_PRIORITIES[_0x6301bd]??null;}__name(queuePriorityFromRank,_0x1f456e(0x1e6));function describeTicketCi(_0x34726e){const _0x33d784={_0x224f4a:0x1a9,_0x34dd56:0x197,_0x3612b6:0x197,_0x38e9f7:0x10e,_0x43289c:0x1a3},_0x4923d3=_0x1f456e,_0x540b95=_0x34726e['sha']?'@'+_0x34726e[_0x4923d3(_0x33d784._0x224f4a)][_0x4923d3(0x10e)](0x0,0x7):'';if(_0x34726e['pr']!==void 0x0)return'PR\x20#'+_0x34726e['pr']+_0x540b95;if(_0x34726e[_0x4923d3(_0x33d784._0x34dd56)]!==void 0x0)return''+_0x34726e[_0x4923d3(_0x33d784._0x3612b6)]+_0x540b95;return _0x540b95[_0x4923d3(0x187)]>0x0?_0x540b95[_0x4923d3(_0x33d784._0x38e9f7)](0x1):_0x34726e[_0x4923d3(_0x33d784._0x43289c)];}__name(describeTicketCi,_0x1f456e(0x1e0));function makeQueueTicketName(_0xc222df,_0x48db1a,_0x4d1bad){const _0x2965b1={_0x2160e5:0x16e},_0x17b4d7=_0x1f456e;return queuePriorityRank(_0xc222df)+'-'+_0x48db1a[_0x17b4d7(_0x2965b1._0x2160e5)](0x24)+'-'+_0x4d1bad+_0x17b4d7(0x100);}function _0x2707(){const _0x105d41=['C2nLBMfYAw8','BxvZDcbIzsbHihn0CMLUzW','uNvUBMvYtM90q29UzMLNDxjLzevYCM9Y','x2HLBhbLCNm','CgfYC2vty2HLzhvSzuvUDhj5','x3nJzw5HCMLVCW','CMvJzw50','zw52s2v5CW','C2vYAwfSAxPLrw52vMfSDwu','l2HLywX0Aa','CMvTB3zLrw52vMfY','C3rKB3v0lMXVzW','qxbW','z2L0','C3bSAxq','y29TCgfYzvf1zxvLvgLJA2v0tMfTzxm','mJC5qLPYy0nT','BgvUz3rO','y29TCgXLDgvK','vu5pvevtvf9rvuvvrv9hte9cquXFreLs','zMXVB3i','mZK0ntK2y2n4rvj4','yxnZAwDUBwvUDevUDhjPzxm','Aw5Zzxj0rw52vMfY','AxnbCNjHEq','C3rHCNrLzef0','refuqujbu0vFvvjm','CgLJA2vYlxnUyxbZAg90lNr4Da','vu5pvevtvf9kvurhrv9dtefvrevFqKLo','y2XP','tK9Fq09mt1i','DMfSAwrHDgvdB2XSzwn0Aw9UtMfTzq','BwfRzvj1BKLK','yNjHBMnO','DgLJA2v0CW','CgXHBKfKzfzHCMLHyMXL','ywjVCNrLza','vu5pvevtvf9kvurhrv9wt1rf','CNvUC0rPCKzVCG','CNvUBMvY','ztjL','CxvLDwvqCMLVCML0EvjHBMS','BwfUAwzLC3qUANnVBG','Aw50zxjYDxb0zwq','mZGZmZa3nuDLthvkva','ChjVDMLKzxi','BxvZDcbUB3qGyMuGzw1WDhK','A2LUza','yMXVyLjLBfnLz21LBNrZrM9Y','ChjVAMvJDfj1BKrPCKzVCG','vu5pvevtvf9tte9xx01p','C2HH','lY5Kzwj1z2DLCG','vu5pvevtvf9kvurhrv9srvrssuvt','vu5pvevtvf9buLrjrKfdvfnFuK9pva','yMXVyNnsB290rM9Y','nNrMtgPHBG','Dw5VDgvZDa','Aw52ywXPzc1Uyw1L','C29Tzq','C2vJCMv0C0nVBNrLBNq','uNvUBMvYqwrHChrLCK5VDezVDw5KrxjYB3i','Aw50zxjHy3rPDMu','CNvUrgLYrM9Y','igLZig5VDcbHigTUB3DUihj1BM5LCIbZzxr0Aw5NiokaLcbJAg9VC2uGB25LigzYB20GDgHLihj1BM5LCI1JB25MAwCGBgLZDc4','Dw5RBM93BI1LBNzPCM9UBwvUDa','C2HHCMreAxjgB3i','BMfTzq','CgfYC2vdAvj1BLjLC3bVBNnL','CxvLDwvK','CNvUswq','zgvZy3jPyMvcDw5KBgu','Dg9mB3DLCKnHC2u','CgfYC2vwyxjPywjSzuDHChm','AxnsDw5ZrgLYtMfTzq','C291CMnLCY5QC29U','mtq2ody2ueT6sxjo','CNvUswqGy2fYCMLLCYbUBYb0Aw1LC3rHBxaSignHBM5VDcbWBgfJzsbPDcbPBIbHihnOyxjKoIa','zxHHBxbSzq','y3j5ChrV','CMvWBgfJzq','C2vJCMv0CW','lMPZB25S','yNvUzgXLswq','BxvZDcbUB3qGC3rHCNqGD2L0AcaNxYCGkhjLC2vYDMvKkq','zMLUzeLUzgv4','DgvYBwLUywW','BwfPBNrLBMfUy2u','AwqTBwLZBwf0y2G','zMfPBgLUz1nPBMnL','ywrK','AxnuzxjTAw5HBfj1BNrPBwvtDgf0zq','zMfPBgvK','vu5pvevtvf9kvurhrv9bq0nfu1nFve9lru4','z2v0vvrdtw9UDgG','ChvZAa','yNvUzgXLlMPZB24','vu5pvevtvf9kvurhrv9ut0TftG','yM9VBgvHBG','C2fTCgXL','vu5pvevtvf9kvurhrv9nt0rfta','C3rHDhvZ','yxbP','Dw5RBM93BI1YDw5UzxiTA2v5','zMfPBfn0CMvHAW','vu5pvevtvf9mt0nbteu','zgvZy3jPyMvuAwnRzxrdAq','BxvZDcbUB3qGC3rHCNqGD2L0AcaNlIC','C2nLBMfYAw9szwzgCM9TrMLSzu5HBwu','Dw5VDgvZDc8Uzw52','l2fWAs9IB3GVyNvUzgXLCW','l2P1zgDL','CxvLDwvqCMLVCML0EuzYB21syw5R','vu5pvevtvf9mt0DFtevwruW','C3rVCMfNzq','AxnbC3nPz25Tzw50t2y','AxnfEhrLCM5HBfzHCK5HBwu','Aw5KzxHpzG','AxnszwnVCMq','DMfSAwrHDgvtzwDTzw50tMfTzq','DgvZDa','DgvTCgXHDgu','Ag9ZDa','C29YDa','vu5pvevtvf9ct1HFve9lru4','vu5pvevtvf9iruferuq','zw52','lNj1BNm','DhjPBq','vu5pvevtvf9ot19rvuvvrq','C2nOzw1HvMvYC2LVBG','CgfYC2vrDwv1zvrPy2TLDa','vu5pvevtvf9kvurhrv9nt0rf','CMfUAW','CgfYC2vfBNzdB250zw50','zw52q29UDgvUDa','mZa4zNLHthvM','zgvSzxrLu2HHzg93v2fYBMLUzW','zxHPC3rZ','yMXVyLjLBfbHDgHgB3i','CMvNzxHmAxrLCMfS','otCYnJK1nfDPvK9NCq','vu5pvevtvf9kvurhrv9usu1ft1vux01t','ChjVAMvJDfj1BNnsB290','Dw5VDgvZDc8UC2vJCMv0CW','Aw5JBhvKzxm','vu5pvevtvf9eruzbvuXux05bvKLhqvrjt05FveLnru9vvf9nuW','vu5pvevtvf9eruzbvuXux1rjtuvpvvrFtvm','vu5pvevtvf9kvurhrv9quKvbtujmrq','lMPZB24','iI4G','sw52ywXPzejSB2jiyxnOrxjYB3i','vu5pvevtvf9usu1fwK9orq','igLZigfSC28GC2v0igLUihvUB3rLC3qVlMvUDIdIGjqGDgHLihnLy3jLDcb2ywX1zsbUB3CGC2HHzg93CYbPDc4','C2vJCMv0C0zPBgvgB3i','zhvWBgLJyxrL','CgfYC2vcDw5KBgu','AxnrDwv1zurPCK5HBwu','vu5pvevtvf9erujvr19quKvwsuvxx0jzvevt','CgfYC2vbChbtzxj2zxjfDMvUDa','z2v0vvrdrgf0zq','x2nVBgXLy3rPB25Z','B2jQzwn0','C2XPy2u','CMvZzxj2zwrvBMrLCNnJB3jL','DgvZDerPCKzVCG','AxnjBNrLz2vY','y3jLyxrLzef0','zxHLyW','vu5pvevtvf9rvuvvrv9mruftrq','C2HHCMrqyxrOrM9YuNvUswq','vu5pvevtvf9orvrxt1jl','z2v0vvrdrNvSBfLLyxi','C3rHCNrZv2L0Aa','zw52rMLSzuzVCG','C2HHCMrqyxrOrM9YvgLTzxn0yw1W','BwnW','CgfYC2vhAxrjBMzV','yxbWlxnLCNzLCJPLCNjVCG','vu5pvevtvf9kvurhrv9vuKW','AxnbBM5VDgf0Aw9UtgLUzq','C2nOzwr1Bgu','CMfUzg9T','CNvUDgLTzs5QC29U','icH3AxaP','zxHWzwn0lwzHAwW','zgvIDwDNzxjgAwXLrM9Y','uNvUBMvY','lNDVCMTZCgfJzs5QC29U','zw52tMfTzxngCM9TrgLYtgLZDgLUzW','AxnsDw5UzxjdB25MAwDlzxK','Dw5RBM93BI1IDw5KBgu','y3jLyxrLza','CgfYC2vcDw5KBgvnyw5PzMvZDa','CMvNzxG','zxjYB3i','BwfRzvf1zxvLvgLJA2v0tMfTzq','yMXVyIbOyxnOig11C3qGyMuGBg93zxjJyxnLigHLEcWGz290oIa','vu5pvevtvf9dt05tt0Xf','CgfYC2vuAwnRzxrdAq','igLZigfSC28GC2v0igLUihLVDxiGC2HLBgWGzw52AxjVBM1LBNqG4OcuigL0ihDPBgWGA2vLCcbYzxnVBhzPBMCGzNjVBsb0AgvYzsaODgHLigvUDMLYB25Tzw50ihDPBNmGB3zLCIb0AguGzMLSzsKU','zgvMAw5LuhjVCgvYDhK','yxv0Ag9YAw5N','vu5pvevtvf9erujvr19lruvqx0nbteXt','zhvYyxrPB25nCW','AgfZ','CgfYC2vdAvj1BLjLCxvLC3q','vvrd','yxbWlxnLCNzLCJPYzxvZzwq','z2v0uMfUzg9TvMfSDwvZ','CMvXDwLYzvj1BKrPCKzVCG','iYaTls0G','nZm1mtbbu2XJCva','DMLLD2vY','z2L0AhvI','DMfSAwrHDgvgC1nHzMvoyw1L','CNvUBMvYici','vu5pvevtvf9erujvrW','CgfYC2vcDw5KBgvvCgXVywrszxnWB25Zzq','CgLK','C3rKzxjYlMXVzW','CxvLDwveAxjgB3i','vu5pvevtvf9kvurhrv9it1nu','vu5pvevtvf9kvurhrv9dquXmx1rjtuvpvvrFtvm','CNvU','AxngAw5PDgu','y29TBwfUzhmUANnVBMW','CgfYC2vdAvbYB3zPzgvY','C3rYAw5N','vu5pvevtvf9ftLy','CNvUswrtDgfYDgvKqxq','CgfKu3rHCNq','vu5pvevtvf9cvu5etevFsuq','lNzPzxDLCI5SB2nR','AxngywLSAw5Nu3rHDhvZ','y2fUBM90igXVywqGCNvUBMvYigfKyxb0zxiGiG','zgvIDwDeAxjgB3i','AM9PBG','x2rHEs5QC29UBa','mJC4nJGWzK9wD0PL','vw5WBgfJzwfIBgvsDw5jzevYCM9Y','ig11C3qGyMuGvvbqrvjFu05bs0uGkguUzY4Gqvbqx0jbu0vFvvjmksbZBYbHihnJzw5HCMLVignHBIbYzwzLCMvUy2uGAxqGyNKGBMfTzs4','C291CMnL','rK9sq0vFq09mt1i','vu5pvevtvf9dqunirv9esvi','vu5pvevtvf9kvurhrv9mt0DFtevwruW','vu5pvevtvf9qt1bvuf9huKfdrv9nuW','CgfYC2u','lNnLy3jLDhm','vu5pvevtvf9erujvr19nqvHFqLLurvm','CgfYC2vrDwv1zvrPy2TLDe5HBwu','ywn0AxzLrw52tMfTzq','BNvTyMvY','yxj0AwzHy3rZuM9VDezYB20','z2L0BgfI','x2XHDgvZDc5QC29U','zw5KC1DPDgG','C3rYAw5NtgLZDa','CgfYC2vty2vUyxjPB0fUBM90yxrPB25Z','Dg9tDhjPBMC','C2vJCMv0','yMXVyLbHDgHgB3i','AgvHCNrIzwf0','nJaZodeYr2THBfb4','yxbW','zNjLzxPL','x2jSB2jZ'];_0x2707=function(){return _0x105d41;};return _0x2707();}__name(makeQueueTicketName,_0x1f456e(0x12f));var TICKET_NAME_RE=/^([0-3])-([0-9a-z]+)-([0-9a-f]+)\.json$/;function parseQueueTicketName(_0x242b8e){const _0x45d307={_0x1bef9c:0x113,_0x5e4893:0x14c},_0x19fd1e=_0x1f456e,_0x5f4528=TICKET_NAME_RE[_0x19fd1e(_0x45d307._0x1bef9c)](_0x242b8e);if(!_0x5f4528)return null;const _0x209dd2=Number(_0x5f4528[0x1]),_0x47dfee=queuePriorityFromRank(_0x209dd2);if(_0x47dfee===null)return null;const _0x21a933=parseInt(_0x5f4528[0x2],0x24);if(!Number[_0x19fd1e(_0x45d307._0x5e4893)](_0x21a933))return null;return{'rank':_0x209dd2,'priority':_0x47dfee,'createdAt':_0x21a933,'random':_0x5f4528[0x3]};}__name(parseQueueTicketName,_0x1f456e(0x165));function compareQueueTicketNames(_0x10c928,_0x52127d){const _0xfe946d={_0x2fdbb:0xf0,_0x48facd:0xf0,_0x443698:0xf0,_0x4a787c:0x112,_0x180928:0x112,_0x29232e:0x121},_0x25772c=_0x1f456e,_0xf7d2a7=parseQueueTicketName(_0x10c928),_0x2dc934=parseQueueTicketName(_0x52127d);if(!_0xf7d2a7||!_0x2dc934)return _0x10c928<_0x52127d?-0x1:_0x10c928>_0x52127d?0x1:0x0;if(_0xf7d2a7['rank']!==_0x2dc934[_0x25772c(_0xfe946d._0x2fdbb)])return _0xf7d2a7[_0x25772c(_0xfe946d._0x48facd)]-_0x2dc934[_0x25772c(_0xfe946d._0x443698)];if(_0xf7d2a7[_0x25772c(0x112)]!==_0x2dc934[_0x25772c(_0xfe946d._0x4a787c)])return _0xf7d2a7[_0x25772c(0x112)]-_0x2dc934[_0x25772c(_0xfe946d._0x180928)];return _0xf7d2a7[_0x25772c(0x121)]<_0x2dc934[_0x25772c(0x121)]?-0x1:_0xf7d2a7[_0x25772c(_0xfe946d._0x29232e)]>_0x2dc934[_0x25772c(0x121)]?0x1:0x0;}__name(compareQueueTicketNames,_0x1f456e(0x185));var TICKET_KINDS=[_0x1f456e(0x176),'collection',_0x1f456e(0x135),_0x1f456e(0x1cd)],PRODUCER_KINDS=[_0x1f456e(0x193),_0x1f456e(0x140),_0x1f456e(0x11b),_0x1f456e(0x120),'ci'];function parseQueueTicket(_0x5183a7){const _0x2a17bd={_0x40abcf:0x187,_0x593a12:0xfc,_0x222e03:0x14c,_0xa73180:0xfc,_0x5aeefc:0x14f,_0x58487e:0x1c9,_0xaccbfc:0x1a5,_0xb0fc2d:0x146,_0x359f14:0x1f0},_0x8b9d9b=_0x1f456e;if(!isRecord(_0x5183a7))return null;const {schemaVersion:_0x40cf25,runId:_0x250366,kind:_0x307abd,ref:_0x3619a8,env:_0x4532b7,priority:_0x24788e,weight:_0x306679,producer:_0x437d1d,source:_0x476fea,ci:_0x56f617,createdAt:_0x538784}=_0x5183a7;if(_0x40cf25!==QUEUE_SCHEMA_VERSION)return null;if(typeof _0x250366!==_0x8b9d9b(0x14f)||_0x250366[_0x8b9d9b(_0x2a17bd._0x40abcf)]===0x0)return null;if(typeof _0x3619a8!==_0x8b9d9b(0x14f))return null;if(!TICKET_KINDS['includes'](_0x307abd))return null;if(!QUEUE_PRIORITIES[_0x8b9d9b(_0x2a17bd._0x593a12)](_0x24788e))return null;if(typeof _0x306679!=='number'||!Number[_0x8b9d9b(_0x2a17bd._0x222e03)](_0x306679)||_0x306679<0x1)return null;if(typeof _0x538784!==_0x8b9d9b(0x167)||!Number['isFinite'](_0x538784))return null;if(!isRecord(_0x437d1d))return null;if(!PRODUCER_KINDS[_0x8b9d9b(_0x2a17bd._0xa73180)](_0x437d1d['kind']))return null;if(typeof _0x437d1d['pid']!=='number'||typeof _0x437d1d[_0x8b9d9b(0x1f0)]!==_0x8b9d9b(_0x2a17bd._0x5aeefc))return null;if(_0x4532b7!==void 0x0&&typeof _0x4532b7!=='string')return null;let _0x2d3cec=null;if(_0x476fea!==void 0x0){if(!isRecord(_0x476fea)||typeof _0x476fea['bundleId']!=='string'||_0x476fea[_0x8b9d9b(_0x2a17bd._0x58487e)][_0x8b9d9b(_0x2a17bd._0x40abcf)]===0x0)return null;_0x2d3cec={'bundleId':_0x476fea[_0x8b9d9b(0x1c9)]};}let _0x1db3d5=null;if(_0x56f617!==void 0x0){_0x1db3d5=parseTicketCi(_0x56f617);if(_0x1db3d5===null)return null;}return{'schemaVersion':QUEUE_SCHEMA_VERSION,'runId':_0x250366,'kind':_0x307abd,'ref':_0x3619a8,'priority':_0x24788e,'weight':_0x306679,'producer':{'kind':_0x437d1d[_0x8b9d9b(_0x2a17bd._0xaccbfc)],'pid':_0x437d1d[_0x8b9d9b(_0x2a17bd._0xb0fc2d)],'host':_0x437d1d[_0x8b9d9b(_0x2a17bd._0x359f14)]},'createdAt':_0x538784,...typeof _0x4532b7===_0x8b9d9b(_0x2a17bd._0x5aeefc)?{'env':_0x4532b7}:{},..._0x2d3cec?{'source':_0x2d3cec}:{},..._0x1db3d5?{'ci':_0x1db3d5}:{}};}__name(parseQueueTicket,_0x1f456e(0xee));function parseTicketCi(_0x4d6814){const _0x4b90f0={_0x1a4a0c:0x1a3,_0x59912e:0x111,_0x2de4e1:0x14f,_0x8bacf2:0x167},_0x30092a=_0x1f456e;if(!isRecord(_0x4d6814))return null;const _0x2f66ad=parseCiProvider(_0x4d6814[_0x30092a(_0x4b90f0._0x1a4a0c)]);if(_0x2f66ad===null)return null;const {repo:_0x2469fb,branch:_0xa5801a,sha:_0x290778,pr:_0x439491,checkId:_0x3b2770}=_0x4d6814;for(const _0x43b716 of[_0x2469fb,_0xa5801a,_0x290778,_0x3b2770]){if(_0x43b716!==void 0x0&&typeof _0x43b716!=='string')return null;}if(_0x439491!==void 0x0&&(typeof _0x439491!=='number'||!Number[_0x30092a(_0x4b90f0._0x59912e)](_0x439491)))return null;return{'provider':_0x2f66ad,...typeof _0x2469fb===_0x30092a(0x14f)?{'repo':_0x2469fb}:{},...typeof _0xa5801a===_0x30092a(_0x4b90f0._0x2de4e1)?{'branch':_0xa5801a}:{},...typeof _0x290778===_0x30092a(0x14f)?{'sha':_0x290778}:{},...typeof _0x439491===_0x30092a(_0x4b90f0._0x8bacf2)?{'pr':_0x439491}:{},...typeof _0x3b2770==='string'?{'checkId':_0x3b2770}:{}};}__name(parseTicketCi,_0x1f456e(0x132));var BUNDLE_SCHEMA_VERSION=0x1,BUNDLE_MANIFEST_FILE=_0x1f456e(0x1d6),BUNDLE_UPLOAD_PATH=_0x1f456e(0x1e4),BOX_URL_ENV='UNOTEST_BOX_URL',BOX_TOKEN_ENV=_0x1f456e(0xe7),BUNDLE_ID_ENV=_0x1f456e(0x153);function parseGitInfo(_0x261804){const _0x321e14={_0x33a409:0x1d8,_0x55ec87:0x14f,_0x2b8144:0x14f},_0x1cc1ae=_0x1f456e;if(!isRecord(_0x261804))return null;const {repo:_0x1111f1,branch:_0x4f130f,sha:_0x2052f6,dirty:_0x51369d}=_0x261804;if(typeof _0x51369d!==_0x1cc1ae(_0x321e14._0x33a409))return null;for(const _0x123138 of[_0x1111f1,_0x4f130f,_0x2052f6]){if(_0x123138!==void 0x0&&typeof _0x123138!==_0x1cc1ae(_0x321e14._0x55ec87))return null;}return{'dirty':_0x51369d,...typeof _0x1111f1===_0x1cc1ae(_0x321e14._0x55ec87)?{'repo':_0x1111f1}:{},...typeof _0x4f130f===_0x1cc1ae(0x14f)?{'branch':_0x4f130f}:{},...typeof _0x2052f6===_0x1cc1ae(_0x321e14._0x2b8144)?{'sha':_0x2052f6}:{}};}__name(parseGitInfo,_0x1f456e(0x11c));function parseBundleManifest(_0x3b2213){const _0x563d3e={_0x168d2a:0x14f,_0x55055d:0x1ee,_0x3d96e4:0x14f,_0xa38849:0x14c,_0x398b35:0x111,_0x14a9c6:0x167,_0x53459d:0x187},_0x505d1e=_0x1f456e;if(!isRecord(_0x3b2213))return null;const {schemaVersion:_0x531279,bundleId:_0x266a5a,sha256:_0x54328d,createdAt:_0x4235d5,webVersion:_0x3aae9f,author:_0x527dde,git:_0x3a8ac2,fileCount:_0x166df4,byteSize:_0x5a0351,declaredVariables:_0x4fcbb2}=_0x3b2213;if(_0x531279!==BUNDLE_SCHEMA_VERSION)return null;if(typeof _0x266a5a!==_0x505d1e(_0x563d3e._0x168d2a)||_0x266a5a['length']===0x0)return null;if(_0x54328d!==void 0x0&&!/^[0-9a-f]{64}$/[_0x505d1e(_0x563d3e._0x55055d)](String(_0x54328d)))return null;if(typeof _0x3aae9f!==_0x505d1e(_0x563d3e._0x3d96e4)||_0x3aae9f[_0x505d1e(0x187)]===0x0)return null;if(typeof _0x4235d5!=='number'||!Number[_0x505d1e(_0x563d3e._0xa38849)](_0x4235d5))return null;if(typeof _0x166df4!=='number'||!Number[_0x505d1e(_0x563d3e._0x398b35)](_0x166df4))return null;if(typeof _0x5a0351!==_0x505d1e(_0x563d3e._0x14a9c6)||!Number['isInteger'](_0x5a0351))return null;if(_0x527dde!==void 0x0&&typeof _0x527dde!=='string')return null;let _0x10a0c5=null;if(_0x3a8ac2!==void 0x0){_0x10a0c5=parseGitInfo(_0x3a8ac2);if(_0x10a0c5===null)return null;}const _0x1e8b67=Array['isArray'](_0x4fcbb2)?_0x4fcbb2['filter'](_0xaecde5=>typeof _0xaecde5===_0x505d1e(0x14f)):[];return{'schemaVersion':BUNDLE_SCHEMA_VERSION,'bundleId':_0x266a5a,...typeof _0x54328d===_0x505d1e(0x14f)?{'sha256':_0x54328d}:{},'createdAt':_0x4235d5,'webVersion':_0x3aae9f,'fileCount':_0x166df4,'byteSize':_0x5a0351,...typeof _0x527dde==='string'?{'author':_0x527dde}:{},..._0x10a0c5?{'git':_0x10a0c5}:{},..._0x1e8b67[_0x505d1e(_0x563d3e._0x53459d)]>0x0?{'declaredVariables':_0x1e8b67}:{}};}__name(parseBundleManifest,_0x1f456e(0x12c));function describeBundle(_0x481d94){const _0x58b3fd={_0x1d5a67:0x183,_0x3f9d8d:0x1a9,_0x4635db:0x197},_0x2f77de=_0x1f456e,_0x220980=_0x481d94[_0x2f77de(_0x58b3fd._0x1d5a67)];if(!_0x220980||_0x220980['branch']===void 0x0&&_0x220980['sha']===void 0x0)return _0x481d94[_0x2f77de(0x1c9)];const _0x3ce3f7=_0x220980[_0x2f77de(_0x58b3fd._0x3f9d8d)]?_0x220980['sha']['slice'](0x0,0x7):'?',_0xbcd43d=_0x220980[_0x2f77de(_0x58b3fd._0x4635db)]??'?';return _0xbcd43d+'@'+_0x3ce3f7+(_0x220980['dirty']?_0x2f77de(0x123):'');}__name(describeBundle,_0x1f456e(0x1bd));var UPLOAD_ERROR_CODES=['unauthorized','too-large','malformed',_0x1f456e(0x1ce),'min-version','scope-mismatch',_0x1f456e(0x1e8)];function parseBundleUploadResponse(_0xb9631a){const _0x43febb={_0x50b7a9:0x12e,_0x37c558:0x14f,_0x4f7ebe:0xf5},_0x473324=_0x1f456e;if(!isRecord(_0xb9631a))return null;if(isRecord(_0xb9631a[_0x473324(_0x43febb._0x50b7a9)])){const {code:_0x41e445,message:_0x5780b6}=_0xb9631a[_0x473324(0x12e)];if(!UPLOAD_ERROR_CODES[_0x473324(0xfc)](_0x41e445))return null;if(typeof _0x5780b6!==_0x473324(_0x43febb._0x37c558))return null;return{'error':{'code':_0x41e445,'message':_0x5780b6}};}const {status:_0x438b64,bundleId:_0x478f3f}=_0xb9631a;if(_0x438b64!==_0x473324(0x12b)&&_0x438b64!==_0x473324(_0x43febb._0x4f7ebe))return null;if(typeof _0x478f3f!=='string'||_0x478f3f[_0x473324(0x187)]===0x0)return null;const _0x2d2826=parseVariableGaps(_0xb9631a['variableGaps']);return _0x2d2826===null?{'status':_0x438b64,'bundleId':_0x478f3f}:{'status':_0x438b64,'bundleId':_0x478f3f,'variableGaps':_0x2d2826};}__name(parseBundleUploadResponse,_0x1f456e(0x145));function parseVariableGaps(_0x4b68b3){const _0x56a4f1={_0xf792c5:0x18e,_0x1db080:0x14f,_0x249741:0x187},_0x1cc21f=_0x1f456e;if(!Array[_0x1cc21f(_0x56a4f1._0xf792c5)](_0x4b68b3))return null;const _0x7a9c98=[];for(const _0x59003d of _0x4b68b3){if(!isRecord(_0x59003d))continue;const {project:_0x32c7c9,environment:_0x17a6a7,missing:_0x48b473}=_0x59003d;if(typeof _0x32c7c9!==_0x1cc21f(_0x56a4f1._0x1db080)||typeof _0x17a6a7!==_0x1cc21f(_0x56a4f1._0x1db080))continue;if(!Array[_0x1cc21f(0x18e)](_0x48b473))continue;const _0x4473e5=_0x48b473['filter'](_0x29cb8d=>typeof _0x29cb8d==='string');if(_0x4473e5[_0x1cc21f(0x187)]>0x0)_0x7a9c98[_0x1cc21f(0x1d5)]({'project':_0x32c7c9,'environment':_0x17a6a7,'missing':_0x4473e5});}return _0x7a9c98[_0x1cc21f(_0x56a4f1._0x249741)]>0x0?_0x7a9c98:null;}__name(parseVariableGaps,_0x1f456e(0x1bf));var WORKSPACE_SCHEMA_VERSION=0x1,WORKSPACE_FILE=_0x1f456e(0x127);function stringList(_0x592518){const _0x5b7831={_0x5ba089:0x1b1},_0x51c88f=_0x1f456e;if(!Array[_0x51c88f(0x18e)](_0x592518))return null;if(_0x592518[_0x51c88f(_0x5b7831._0x5ba089)](_0x2f4112=>typeof _0x2f4112!=='string'))return null;return _0x592518;}__name(stringList,_0x1f456e(0x16c));function parseBundle(_0x23949a){const _0x5bf20c={_0x18c98e:0x14f,_0x2646a5:0x1d8,_0x35d740:0x167,_0x4c7e99:0x14f,_0x1f4f74:0x14f},_0x528e2e=_0x1f456e;if(!isRecord(_0x23949a))return null;const {bundleId:_0x1ff03a,label:_0x26c452,branch:_0x4b877d,sha:_0x474101,dirty:_0x5867ac,author:_0x4d4680,createdAt:_0x1f1e93,webVersion:_0x17aa99}=_0x23949a;if(typeof _0x1ff03a!==_0x528e2e(0x14f)||_0x1ff03a[_0x528e2e(0x187)]===0x0)return null;if(typeof _0x26c452!=='string'||typeof _0x17aa99!==_0x528e2e(_0x5bf20c._0x18c98e))return null;if(typeof _0x5867ac!==_0x528e2e(_0x5bf20c._0x2646a5))return null;if(typeof _0x1f1e93!==_0x528e2e(_0x5bf20c._0x35d740)||!Number[_0x528e2e(0x14c)](_0x1f1e93))return null;for(const _0x459d5e of[_0x4b877d,_0x474101,_0x4d4680]){if(_0x459d5e!==void 0x0&&typeof _0x459d5e!==_0x528e2e(_0x5bf20c._0x18c98e))return null;}return{'bundleId':_0x1ff03a,'label':_0x26c452,'dirty':_0x5867ac,'createdAt':_0x1f1e93,'webVersion':_0x17aa99,...typeof _0x4b877d===_0x528e2e(_0x5bf20c._0x4c7e99)?{'branch':_0x4b877d}:{},...typeof _0x474101===_0x528e2e(_0x5bf20c._0x1f4f74)?{'sha':_0x474101}:{},...typeof _0x4d4680==='string'?{'author':_0x4d4680}:{}};}__name(parseBundle,_0x1f456e(0x107));function parseWorkspaceFile(_0x1faf62){const _0x123f22={_0x4772e0:0x1d8,_0x11a473:0x167},_0x5d4120=_0x1f456e;if(!isRecord(_0x1faf62))return null;if(_0x1faf62[_0x5d4120(0xed)]!==WORKSPACE_SCHEMA_VERSION)return null;const {workspace:_0x3952f4,environment:_0x16143c,allowSwitch:_0x28c032,currentBundleId:_0x20a055,switchedBy:_0x29a259,switchedAt:_0x22a6c8,bundles:_0x27f269,variables:_0x41649f,secrets:_0x483deb,switchPath:_0x28b38a}=_0x1faf62;if(typeof _0x3952f4!=='string'||typeof _0x16143c!==_0x5d4120(0x14f))return null;if(typeof _0x28c032!==_0x5d4120(_0x123f22._0x4772e0))return null;if(!Array[_0x5d4120(0x18e)](_0x27f269))return null;const _0x5da384=[];for(const _0x54e02f of _0x27f269){const _0x7c3f44=parseBundle(_0x54e02f);if(!_0x7c3f44)return null;_0x5da384['push'](_0x7c3f44);}const _0x1facbc=stringList(_0x41649f),_0x271c24=stringList(_0x483deb);if(!_0x1facbc||!_0x271c24)return null;for(const _0x5576a8 of[_0x20a055,_0x29a259,_0x28b38a]){if(_0x5576a8!==void 0x0&&typeof _0x5576a8!==_0x5d4120(0x14f))return null;}if(_0x22a6c8!==void 0x0&&typeof _0x22a6c8!==_0x5d4120(0x167))return null;return{'schemaVersion':WORKSPACE_SCHEMA_VERSION,'workspace':_0x3952f4,'environment':_0x16143c,'allowSwitch':_0x28c032,'bundles':_0x5da384,'variables':_0x1facbc,'secrets':_0x271c24,...typeof _0x20a055===_0x5d4120(0x14f)?{'currentBundleId':_0x20a055}:{},...typeof _0x29a259===_0x5d4120(0x14f)?{'switchedBy':_0x29a259}:{},...typeof _0x22a6c8===_0x5d4120(_0x123f22._0x11a473)?{'switchedAt':_0x22a6c8}:{},...typeof _0x28b38a==='string'?{'switchPath':_0x28b38a}:{}};}__name(parseWorkspaceFile,'parseWorkspaceFile');function parseScheduleEntry(_0x3c93f5){const _0x295aaf={_0x10a3b5:0x14f,_0x32e837:0xeb,_0x245a95:0x167},_0x256310=_0x1f456e;if(!isRecord(_0x3c93f5))return null;const {collection:_0x241d4b,cron:_0x29396f,env:_0x570031,prepare:_0x306a09,workers:_0x245b27}=_0x3c93f5;if(typeof _0x241d4b!==_0x256310(0x14f)||_0x241d4b['length']===0x0)return null;if(typeof _0x29396f!==_0x256310(_0x295aaf._0x10a3b5)||_0x29396f[_0x256310(_0x295aaf._0x32e837)]()[_0x256310(0x187)]===0x0)return null;if(_0x570031!==void 0x0&&typeof _0x570031!==_0x256310(_0x295aaf._0x10a3b5))return null;if(_0x306a09!==void 0x0&&typeof _0x306a09!==_0x256310(_0x295aaf._0x10a3b5))return null;const _0x4668f2=typeof _0x245b27===_0x256310(_0x295aaf._0x245a95)&&Number['isInteger'](_0x245b27)&&_0x245b27>=0x1?_0x245b27:void 0x0;return{'collection':_0x241d4b,'cron':_0x29396f,..._0x570031!==void 0x0?{'env':_0x570031}:{},..._0x306a09!==void 0x0?{'prepare':_0x306a09}:{},..._0x4668f2!==void 0x0?{'workers':_0x4668f2}:{}};}__name(parseScheduleEntry,_0x1f456e(0x17a));function parseSchedulesJson(_0x2254c2){const _0x6039bc={_0x534947:0x1d5},_0x218bd8=_0x1f456e;let _0x527fd2;try{_0x527fd2=JSON[_0x218bd8(0x162)](_0x2254c2);}catch{return null;}if(!Array[_0x218bd8(0x18e)](_0x527fd2))return null;const _0x2034e4=[];for(const _0x4c2f9c of _0x527fd2){const _0x4b543f=parseScheduleEntry(_0x4c2f9c);if(_0x4b543f)_0x2034e4[_0x218bd8(_0x6039bc._0x534947)](_0x4b543f);}return _0x2034e4;}__name(parseSchedulesJson,'parseSchedulesJson');var BLOBS_DIR=_0x1f456e(0x175),GENERATION_SEP='~',HASH_RE=/^[0-9a-f]{8,}$/,InvalidBlobHashError=class extends Error{static{__name(this,_0x1f456e(0x102));}constructor(_0x184749){const _0x1673aa={_0x462817:0x102},_0x3475e0=_0x1f456e;super(_0x3475e0(0x130)+_0x184749),this[_0x3475e0(0x1b9)]=_0x3475e0(_0x1673aa._0x462817);}};function blobPathFor(_0x871821,_0x2e90b0,_0x3b09ed,_0x36f0fd=0x0){return _0x871821+'/'+blobRelPathFor(_0x2e90b0,_0x3b09ed,_0x36f0fd);}__name(blobPathFor,_0x1f456e(0x170));function blobRelSegmentsFor(_0x180487,_0xc79989,_0x1e87e7=0x0){const _0xb9df6b={_0x5a2ae8:0x1ee,_0x4938bd:0x10e},_0x437b4d=_0x1f456e;if(!HASH_RE[_0x437b4d(_0xb9df6b._0x5a2ae8)](_0x180487))throw new InvalidBlobHashError(_0x180487);const _0x1b9095=_0x1e87e7>0x0?''+GENERATION_SEP+_0x1e87e7:'';return[BLOBS_DIR,_0x180487[_0x437b4d(0x10e)](0x0,0x2),_0x180487[_0x437b4d(_0xb9df6b._0x4938bd)](0x2,0x4),''+_0x180487+_0x1b9095+'.'+_0xc79989];}__name(blobRelSegmentsFor,_0x1f456e(0x1a6));function blobRelPathFor(_0x3fbe57,_0x2103fe,_0x64c58c=0x0){const _0x406cc7={_0x5549ae:0x158},_0x3e2dba=_0x1f456e;return blobRelSegmentsFor(_0x3fbe57,_0x2103fe,_0x64c58c)[_0x3e2dba(_0x406cc7._0x5549ae)]('/');}__name(blobRelPathFor,_0x1f456e(0xf6));function blobsRootFor(_0x537a3e){return _0x537a3e+'/'+BLOBS_DIR;}__name(blobsRootFor,_0x1f456e(0x1ad));var FS_UNSAFE_NAME_RE=/[\\/:*?"<>|\x00-\x1f]/;function validateFsSafeName(_0x42e5bb,_0x1d2ba0){const _0x4c8f66={_0x13028d:0x177,_0x65edc9:0xeb,_0x1c4cab:0x1e1,_0x35eb64:0x10f},_0x28a157=_0x1f456e;if(typeof _0x42e5bb!==_0x28a157(0x14f))return _0x28a157(_0x4c8f66._0x13028d);const _0xc23e88=_0x42e5bb[_0x28a157(_0x4c8f66._0x65edc9)]();if(_0xc23e88['length']===0x0)return _0x28a157(0x1a4);if(_0xc23e88==='.'||_0xc23e88==='..')return'must\x20not\x20be\x20\x22.\x22\x20or\x20\x22..\x22';if(_0xc23e88[_0x28a157(0x118)]('.'))return _0x28a157(_0x4c8f66._0x1c4cab);if(_0x1d2ba0?.[_0x28a157(_0x4c8f66._0x35eb64)]&&_0xc23e88['startsWith']('_'))return _0x28a157(0x1ca);if(FS_UNSAFE_NAME_RE['test'](_0xc23e88))return'must\x20not\x20contain\x20\x5c\x20/\x20:\x20*\x20?\x20\x22\x20<\x20>\x20|\x20or\x20control\x20characters';return null;}__name(validateFsSafeName,_0x1f456e(0x142));var COLLECTION_NAME_FORBIDDEN_RE=FS_UNSAFE_NAME_RE;function validateCollectionName(_0x1409d8){return validateFsSafeName(_0x1409d8);}__name(validateCollectionName,_0x1f456e(0x195));var RUN_MANIFEST_FILE=_0x1f456e(0x1a0),RUN_SOURCES_FILE=_0x1f456e(0x1c1),UnsupportedRunKindError=class extends Error{static{__name(this,'UnsupportedRunKindError');}constructor(_0x53e73f,_0x433a37){const _0x3a0747=_0x1f456e;super(_0x3a0747(0x143)+_0x433a37+'\x22\x20does\x20not\x20support\x20run\x20kind\x20\x22'+_0x53e73f+'\x22'),this['name']='UnsupportedRunKindError';}},RunnerAdapterNotFoundError=class extends Error{static{__name(this,_0x1f456e(0x1b3));}constructor(_0x5e7412,_0x3f6242){const _0x12217c={_0x987318:0x156},_0x381793=_0x1f456e;super(_0x381793(_0x12217c._0x987318)+_0x5e7412+_0x381793(0x101)+_0x3f6242),this['name']=_0x381793(0x1b3);}},RunnerNotConfiguredError=class extends Error{static{__name(this,'RunnerNotConfiguredError');}constructor(_0x24381b){const _0x3c1833=_0x1f456e;super(_0x24381b),this[_0x3c1833(0x1b9)]=_0x3c1833(0x178);}},EXPECT_FAIL_ANNOTATION=_0x1f456e(0x124),ANNOTATION_RE=/^\s*\/\/\s*@([a-z0-9-]+)\s*$/;function isAnnotationLine(_0x1703a5){return ANNOTATION_RE['test'](_0x1703a5);}__name(isAnnotationLine,_0x1f456e(0x11f));function parseScenarioAnnotations(_0x5eb7d2){const _0x12bebb={_0x1bd2c8:0xeb,_0x14ed07:0x118,_0x4479d6:0x1d0},_0x3f4f51=_0x1f456e,_0x43cf61=new Set();for(const _0x504d40 of _0x5eb7d2['split'](/\r?\n/)){const _0x134b6f=_0x504d40[_0x3f4f51(_0x12bebb._0x1bd2c8)]();if(_0x134b6f==='')continue;if(!_0x134b6f[_0x3f4f51(_0x12bebb._0x14ed07)]('//'))break;const _0x11b46f=_0x134b6f['match'](ANNOTATION_RE);if(_0x11b46f)_0x43cf61[_0x3f4f51(_0x12bebb._0x4479d6)](_0x11b46f[0x1]);}return{'expectFail':_0x43cf61[_0x3f4f51(0x138)](EXPECT_FAIL_ANNOTATION)};}__name(parseScenarioAnnotations,_0x1f456e(0x16d));var SEGMENT_NAME_FORBIDDEN_RE=FS_UNSAFE_NAME_RE;function validateSegmentName(_0xda5703){return validateFsSafeName(_0xda5703,{'reservedUnderscore':!![]});}__name(validateSegmentName,_0x1f456e(0x1ed));var TERMINAL_WS_EVENT=_0x1f456e(0x1cc),RUNNER_CONFIG_KEYS=new Set(['UNOTEST_BROWSER',_0x1f456e(0xe8),_0x1f456e(0x1a8),_0x1f456e(0xfe),_0x1f456e(0xfd),_0x1f456e(0x161),_0x1f456e(0x1df),_0x1f456e(0x103),_0x1f456e(0x1e7),_0x1f456e(0x144),'UNOTEST_DEBUG_DIR',_0x1f456e(0x164),_0x1f456e(0x109),'UNOTEST_DEBUG_HTML_MAX_BYTES',_0x1f456e(0x136),_0x1f456e(0x116),_0x1f456e(0x131),_0x1f456e(0x15f),_0x1f456e(0x194),_0x1f456e(0x15e),_0x1f456e(0x190)]);function isRunnerConfigKey(_0x260be4){const _0x16c98b={_0xdb846:0x138},_0x3e627c=_0x1f456e;return RUNNER_CONFIG_KEYS[_0x3e627c(_0x16c98b._0xdb846)](_0x260be4);}__name(isRunnerConfigKey,_0x1f456e(0x129));function categorizeVariable(_0x44a8be){const _0x1844c1={_0x196617:0x15d,_0x26afe3:0x16f,_0x113085:0x19d},_0x4da939=_0x1f456e;if(_0x44a8be[_0x4da939(_0x1844c1._0x196617)]===_0x4da939(0x1c7))return _0x4da939(_0x1844c1._0x26afe3);return isRunnerConfigKey(_0x44a8be[_0x4da939(0x1b9)])?_0x4da939(_0x1844c1._0x113085):_0x4da939(0x173);}__name(categorizeVariable,'categorizeVariable');function isExternalVarName(_0x16936e){return/^[A-Z][A-Z0-9_]*$/['test'](_0x16936e);}__name(isExternalVarName,_0x1f456e(0x1ea));var ENV_KEY_RE=/^[A-Za-z_][A-Za-z0-9_]*$/;function*assignmentEntries(_0x31c166){const _0x1d2c78={_0x14c5fa:0x184,_0x336197:0x1eb,_0x39192f:0x1ee},_0x3d7df5=_0x1f456e;for(const _0x387503 of _0x31c166[_0x3d7df5(_0x1d2c78._0x14c5fa)](/\r?\n/)){const _0x6e9440=_0x387503['trim']();if(_0x6e9440===''||_0x6e9440[_0x3d7df5(0x118)]('#'))continue;const _0x340d5a=_0x6e9440[_0x3d7df5(_0x1d2c78._0x336197)]('=');if(_0x340d5a<=0x0)continue;const _0x8b7fd0=_0x6e9440[_0x3d7df5(0x10e)](0x0,_0x340d5a)['trim']();if(!ENV_KEY_RE[_0x3d7df5(_0x1d2c78._0x39192f)](_0x8b7fd0))continue;yield[_0x8b7fd0,_0x6e9440[_0x3d7df5(0x10e)](_0x340d5a+0x1)[_0x3d7df5(0xeb)]()];}}__name(assignmentEntries,_0x1f456e(0x18c));function parseEnvContent(_0x5a2793){const _0x423462=_0x1f456e,_0xf89c25={};for(const [_0x41d52e,_0x42d416]of assignmentEntries(_0x5a2793)){let _0x8ba335=_0x42d416;if(_0x8ba335['length']>=0x2){const _0x5d8f93=_0x8ba335[0x0],_0x2addea=_0x8ba335[_0x8ba335[_0x423462(0x187)]-0x1];(_0x5d8f93==='\x22'||_0x5d8f93==='\x27')&&_0x5d8f93===_0x2addea&&(_0x8ba335=_0x8ba335[_0x423462(0x10e)](0x1,-0x1));}_0xf89c25[_0x41d52e]=_0x8ba335;}return _0xf89c25;}__name(parseEnvContent,_0x1f456e(0xf1));function serializeEnvValue(_0x11157c){const _0x4098d1={_0x422cf5:0x1c6},_0x4cb5df=_0x1f456e;if(_0x11157c==='')return'';if(/[\s#"'=\\]|^[`]/[_0x4cb5df(0x1ee)](_0x11157c)||/[\n\r]/['test'](_0x11157c)){const _0x9aa512=_0x11157c['replace'](/\\/g,'\x5c\x5c')[_0x4cb5df(0x1c6)](/"/g,'\x5c\x22')[_0x4cb5df(_0x4098d1._0x422cf5)](/\n/g,'\x5cn')[_0x4cb5df(_0x4098d1._0x422cf5)](/\r/g,'\x5cr');return'\x22'+_0x9aa512+'\x22';}return _0x11157c;}__name(serializeEnvValue,_0x1f456e(0x17e));function envKeys(_0xceeec9){const _0x1e4346={_0x4b83b1:0x1d0},_0x3d64f3=_0x1f456e,_0x35b2a1=new Set();for(const [_0x4b44fd]of assignmentEntries(_0xceeec9))_0x35b2a1[_0x3d64f3(_0x1e4346._0x4b83b1)](_0x4b44fd);return _0x35b2a1;}__name(envKeys,_0x1f456e(0x17d));function isSectionDivider(_0x4c9756){const _0x14144e={_0x47a3cb:0x1ee},_0x5d8553=_0x1f456e,_0x2c9d10=_0x4c9756[_0x5d8553(0xeb)]();return _0x2c9d10['startsWith']('#')&&/---/[_0x5d8553(_0x14144e._0x47a3cb)](_0x2c9d10);}__name(isSectionDivider,'isSectionDivider');function isAssignmentLine(_0x37cdca){const _0x431558={_0x3f32c8:0x118,_0x630781:0x1eb,_0x383753:0xeb},_0x562670=_0x1f456e,_0x247000=_0x37cdca['trim']();if(_0x247000===''||_0x247000[_0x562670(_0x431558._0x3f32c8)]('#'))return![];const _0x27bd85=_0x247000[_0x562670(_0x431558._0x630781)]('=');return _0x27bd85>0x0&&ENV_KEY_RE['test'](_0x247000[_0x562670(0x10e)](0x0,_0x27bd85)[_0x562670(_0x431558._0x383753)]());}__name(isAssignmentLine,'isAssignmentLine');function isAssignmentOf(_0x36fb5e,_0x1c1eed){const _0x4a4b31={_0x5c41bd:0x118,_0x328fd6:0x1eb},_0x32694b=_0x1f456e,_0x458201=_0x36fb5e['trim']();if(_0x458201===''||_0x458201[_0x32694b(_0x4a4b31._0x5c41bd)]('#'))return![];const _0x1c1090=_0x458201[_0x32694b(_0x4a4b31._0x328fd6)]('=');if(_0x1c1090<=0x0)return![];return _0x458201['slice'](0x0,_0x1c1090)[_0x32694b(0xeb)]()===_0x1c1eed;}__name(isAssignmentOf,_0x1f456e(0x1e9));function splitLines(_0x159ed2){const _0x147510={_0x417251:0x16b},_0xbf8684=_0x1f456e,_0x4c625e=_0x159ed2[_0xbf8684(_0x147510._0x417251)]('\x0a'),_0x1fdf94=_0x4c625e?_0x159ed2[_0xbf8684(0x10e)](0x0,-0x1):_0x159ed2;return{'lines':_0x1fdf94===''?[]:_0x1fdf94[_0xbf8684(0x184)]('\x0a'),'trailingNewline':_0x4c625e};}__name(splitLines,'splitLines');function joinLines(_0x3ac6ce,_0x108815){const _0x40e818={_0x4c6062:0x158},_0x5daef7=_0x1f456e,_0x1285b7=_0x3ac6ce[_0x5daef7(_0x40e818._0x4c6062)]('\x0a');return _0x108815||_0x1285b7===''?_0x1285b7+'\x0a':_0x1285b7;}__name(joinLines,'joinLines');function insertEnvVar(_0x5c790a,_0x87c8e0,_0xa99877,_0x34f6bf){const _0x4d515c={_0x4e5755:0x1cb,_0x251fd5:0x187,_0xf5f54c:0x187,_0x587ddd:0x1d5},_0x545c35=_0x1f456e,_0x143576=_0x87c8e0+'='+serializeEnvValue(_0xa99877),{lines:_0x5b339d,trailingNewline:_0x3a3285}=splitLines(_0x5c790a);if(_0x34f6bf){const _0x4b582b=new RegExp('\x5cb'+_0x34f6bf[_0x545c35(0x1be)]()+'\x5cb'),_0x712f95=_0x5b339d[_0x545c35(_0x4d515c._0x4e5755)](_0x1d0275=>isSectionDivider(_0x1d0275)&&_0x4b582b[_0x545c35(0x1ee)](_0x1d0275['toLowerCase']()));if(_0x712f95!==-0x1){let _0x246d2e=_0x5b339d[_0x545c35(_0x4d515c._0x251fd5)];for(let _0x21b0b0=_0x712f95+0x1;_0x21b0b0<_0x5b339d['length'];_0x21b0b0++){if(isSectionDivider(_0x5b339d[_0x21b0b0])){_0x246d2e=_0x21b0b0;break;}}let _0x312bff=-0x1,_0x5d918f=-0x1;for(let _0x3b2834=_0x712f95+0x1;_0x3b2834<_0x246d2e;_0x3b2834++){if(_0x5b339d[_0x3b2834]['trim']()!=='')_0x5d918f=_0x3b2834;if(isAssignmentLine(_0x5b339d[_0x3b2834]))_0x312bff=_0x3b2834;}const _0x151b19=_0x312bff>=0x0?_0x312bff:_0x5d918f,_0x428d60=_0x151b19>=0x0?_0x151b19+0x1:_0x712f95+0x1;return _0x5b339d['splice'](_0x428d60,0x0,_0x143576),joinLines(_0x5b339d,_0x3a3285||_0x5b339d[_0x545c35(_0x4d515c._0xf5f54c)]>0x0);}if(_0x5b339d[_0x545c35(0x187)]>0x0)_0x5b339d[_0x545c35(_0x4d515c._0x587ddd)]('');return _0x5b339d['push'](_0x545c35(0x13e)+_0x34f6bf+'\x20---',_0x143576),joinLines(_0x5b339d,!![]);}return _0x5b339d[_0x545c35(0x1d5)](_0x143576),joinLines(_0x5b339d,!![]);}__name(insertEnvVar,_0x1f456e(0x18d));function removeEnvVar(_0x230d3b,_0xe7b953){const _0xac832f={_0x204efa:0x187,_0x4ef7e9:0x187},_0x54df3a=_0x1f456e,{lines:_0x5979e3,trailingNewline:_0x3f7b51}=splitLines(_0x230d3b),_0x527f6e=_0x5979e3['filter'](_0x2a9bc0=>!isAssignmentOf(_0x2a9bc0,_0xe7b953)),_0x4f3927=_0x527f6e[_0x54df3a(_0xac832f._0x204efa)]!==_0x5979e3[_0x54df3a(_0xac832f._0x4ef7e9)];return{'content':joinLines(_0x527f6e,_0x3f7b51),'removed':_0x4f3927};}__name(removeEnvVar,_0x1f456e(0x180));var SECTION_BY_KIND={'app':_0x1f456e(0x182),'runner':_0x1f456e(0x126),'secret':void 0x0};function planAddVariable(_0x2fd052){const _0x43f906={_0x1cf3f4:0x19d,_0x9a0b37:0xf2,_0x26e4c3:0x138,_0x457cea:0x1b2,_0x34ef75:0x138,_0x3435ec:0x16f,_0x538b3b:0xfb,_0x1a4a91:0x16f,_0x105cb6:0x104},_0x3100ff=_0x1f456e,{name:_0x53f312,kind:_0x30441c}=_0x2fd052;if(_0x30441c===_0x3100ff(_0x43f906._0x1cf3f4)){if(!isRunnerConfigKey(_0x53f312))return{'ok':![],'code':_0x3100ff(0x1dd),'message':_0x53f312+_0x3100ff(0x1b6)};}else{if(!isExternalVarName(_0x53f312))return{'ok':![],'code':_0x3100ff(0x1b0),'message':_0x53f312+_0x3100ff(0x15c)};}const _0x4351b5=envKeys(_0x2fd052[_0x3100ff(_0x43f906._0x9a0b37)])[_0x3100ff(_0x43f906._0x26e4c3)](_0x53f312),_0x1acb97=envKeys(_0x2fd052[_0x3100ff(_0x43f906._0x457cea)])[_0x3100ff(_0x43f906._0x34ef75)](_0x53f312),_0xc61f47=_0x30441c===_0x3100ff(_0x43f906._0x3435ec)?'secrets':_0x3100ff(0xe9),_0x4d1950=_0xc61f47===_0x3100ff(0x1c7)?_0x1acb97:_0x4351b5,_0x4c27c4=_0xc61f47===_0x3100ff(0x1c7)?_0x3100ff(_0x43f906._0x538b3b):_0x3100ff(0x1e3);if(_0x4d1950)return{'ok':![],'code':_0x3100ff(0x106),'message':_0x53f312+'\x20already\x20exists\x20in\x20'+_0x4c27c4+'\x20—\x20pick\x20a\x20different\x20name\x20or\x20edit\x20the\x20existing\x20value.'};const _0xa118d9=[];return _0x30441c===_0x3100ff(_0x43f906._0x1a4a91)&&_0x4351b5&&_0xa118d9[_0x3100ff(0x1d5)](_0x53f312+_0x3100ff(_0x43f906._0x105cb6)),_0x30441c!=='secret'&&_0x1acb97&&_0xa118d9['push'](_0x53f312+'\x20is\x20also\x20set\x20in\x20unotest/.secrets\x20—\x20the\x20secret\x20value\x20shadows\x20this\x20one.'),{'ok':!![],'target':_0xc61f47,'sectionLabel':SECTION_BY_KIND[_0x30441c],'warnings':_0xa118d9};}__name(planAddVariable,_0x1f456e(0x199));function deleteShadowWarning(_0x10757c,_0xc6e91c,_0xc43936){const _0x8898cc=_0x1f456e;if(_0xc43936!==void 0x0&&_0xc43936!==_0xc6e91c)return[_0x10757c+_0x8898cc(0x133)];return[];}__name(deleteShadowWarning,_0x1f456e(0xf4));var TERMINAL_RUNTIME_STATES=[_0x1f456e(0x188),_0x1f456e(0x1d2),_0x1f456e(0x19a)];function isTerminalRuntimeState(_0x4eef8a){const _0x2034d9={_0x4301de:0xfc},_0x202945=_0x1f456e;return TERMINAL_RUNTIME_STATES[_0x202945(_0x2034d9._0x4301de)](_0x4eef8a);}__name(isTerminalRuntimeState,_0x1f456e(0x1d1));var JUDGE_ROUTES={'judge':_0x1f456e(0x1e5),'health':_0x1f456e(0x17f)},JUDGE_ENV={'mode':_0x1f456e(0xef),'url':_0x1f456e(0x11e),'token':_0x1f456e(0x1d7),'requestTimeoutMs':_0x1f456e(0xf9),'preamble':_0x1f456e(0xff),'provider':'UNOTEST_JUDGE_PROVIDER','model':_0x1f456e(0x1da),'callTimeoutMs':_0x1f456e(0x14a),'retries':_0x1f456e(0x1ab),'vote':_0x1f456e(0x19b),'accessToken':_0x1f456e(0x1d3),'claudeBin':_0x1f456e(0x192),'host':_0x1f456e(0x149),'port':'UNOTEST_JUDGE_PORT','logLevel':_0x1f456e(0x160),'skipPreflight':'UNOTEST_JUDGE_SKIP_PREFLIGHT'};export{ARTIFACTS_ROOT_ENV,BLOBS_DIR,BOX_TOKEN_ENV,BOX_URL_ENV,BUNDLE_ID_ENV,BUNDLE_MANIFEST_FILE,BUNDLE_SCHEMA_VERSION,BUNDLE_UPLOAD_PATH,CI_RUN_PATH,COLLECTIONS_SUBDIR,COLLECTION_NAME_FORBIDDEN_RE,COMMANDS_FILE,DAY_INDEX_FILE,E2E_SUBDIR,ENV_FILE,EXPECT_FAIL_ANNOTATION,HEARTBEAT_FILE,HELPERS_SUBDIR,InvalidBlobHashError,JUDGE_ENV,JUDGE_ROUTES,LOCK_FILE,LOG_FILE,PICKER_SNAPSHOT_FILE,QUEUE_DISABLED_ENV,QUEUE_GLOBAL_DIR_ENV,QUEUE_GLOBAL_SLOTS_ENV,QUEUE_LEASE_ENV,QUEUE_MUTEX_FILE,QUEUE_PRIORITIES,QUEUE_RUNNING_DIR,QUEUE_SCHEMA_VERSION,QUEUE_SLOTS_DIR,QUEUE_SUBDIR,QUEUE_TICKETS_DIR,RUNNER_CONFIG_KEYS,RUNS_SUBDIR,RUNTIME_FILE,RUN_INDEX_SCHEMA_VERSION,RUN_MANIFEST_FILE,RUN_SOURCES_FILE,RunnerAdapterNotFoundError,RunnerNotConfiguredError,SCENARIOS_INDEX_DIR,SCENARIOS_LATEST_FILE,SCENARIO_RECENT_WINDOW,SECRETS_FILE,SEGMENT_NAME_FORBIDDEN_RE,SNAPSHOTS_SUBDIR,STDERR_FILE,STDOUT_FILE,STEPS_FILE,TERMINAL_RUNTIME_STATES,TERMINAL_WS_EVENT,UNOTEST_DIR,UnplaceableRunIdError,UnsupportedRunKindError,WORKSPACE_FILE,WORKSPACE_SCHEMA_VERSION,activeEnvName,artifactsRootFrom,blobPathFor,blobRelPathFor,blobRelSegmentsFor,blobsRootFor,categorizeVariable,compareQueueTicketNames,debugDirFor,debuggerFileFor,deleteShadowWarning,describeBundle,describeTicketCi,envFileFor,envKeys,envLayerFilesFor,envNamesFromDirListing,foldScenarioRun,insertEnvVar,isAnnotationLine,isExternalVarName,isFailingStatus,isQueueDirName,isRecord,isRegexLiteral,isRunnerConfigKey,isRunsDirName,isTerminalRuntimeState,makeQueueTicketName,makeRunId,parseAppServerEvent,parseBundleManifest,parseBundleUploadResponse,parseCiProvider,parseCiRunRequest,parseCiRunResponse,parseEnvContent,parseQueueTicket,parseQueueTicketName,parseScenarioAnnotations,parseScheduleEntry,parseSchedulesJson,parseWorkspaceFile,planAddVariable,projectQueueRoot,projectRunDirFor,projectRunsRoot,queueDirFor,queuePriorityFromRank,queuePriorityRank,regexLiteral,removeEnvVar,requireRunDirFor,runDirFor,runIdStartedAt,runsDirFor,sanitizeRunIdSegment,scenarioIndexFileName,scenarioRefFromFileName,secretsFileFor,secretsLayerFilesFor,serializeEnvValue,shardDaysDescending,shardDirFor,shardPathForRunId,shardPathForTimestamp,testDirFor,validateCollectionName,validateSegmentName};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@unotest/protocol",
|
|
3
|
-
"version": "0.26.
|
|
3
|
+
"version": "0.26.1",
|
|
4
4
|
"description": "Cross-runner protocol for the @unotest ecosystem: shared TypeScript types, path constants, the IRunnerAdapter contract that lets @unotest/viewer drive @unotest/web, @unotest/mobile (and future runners) through the same surface. Pure types + pure functions only — zero runtime deps, browser-safe.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"publishConfig": {
|