@unotest/protocol 0.40.0 → 0.42.0
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 +29 -0
- package/dist/index.d.ts +75 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,34 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.42.0] - 2026-09-24
|
|
4
|
+
|
|
5
|
+
## [0.41.0] - 2026-09-21
|
|
6
|
+
|
|
7
|
+
### Patch Changes
|
|
8
|
+
|
|
9
|
+
- 436b683: The box's own screen gives the same first-run command as everything else
|
|
10
|
+
|
|
11
|
+
A freshly rented box shows two commands: one that points the project at the
|
|
12
|
+
box, one that sends the suite and starts it running. The second was printed
|
|
13
|
+
without `--collection`, and a box runs a collection or a schedule — never a
|
|
14
|
+
scenario by name. Copied exactly as shown, into a project straight out of
|
|
15
|
+
`init`, it came back refused with nothing to run: an answer about a project
|
|
16
|
+
that had done nothing wrong, from the first screen a new box owner reads.
|
|
17
|
+
|
|
18
|
+
The screen now prints the whole command, and says where collections live:
|
|
19
|
+
|
|
20
|
+
npx @unotest/web bundle push --run --env ENVIRONMENT --collection examples
|
|
21
|
+
|
|
22
|
+
The command is no longer written out on each surface that shows it. The box's
|
|
23
|
+
screen, the last line of `box create`, and the collection `init` writes all
|
|
24
|
+
come from one place, so the next flag to change changes in one edit rather
|
|
25
|
+
than in three. `examples` is the collection `init` creates, and the screen
|
|
26
|
+
says so — it is an example of a name, not a claim about your project.
|
|
27
|
+
|
|
28
|
+
The cabinet half is unchanged in behaviour: with exactly one environment and
|
|
29
|
+
one collection it still prints a command that can be pasted as is, and
|
|
30
|
+
placeholders where it cannot know.
|
|
31
|
+
|
|
3
32
|
## [0.40.0] - 2026-09-19
|
|
4
33
|
|
|
5
34
|
## [0.39.0] - 2026-09-18
|
package/dist/index.d.ts
CHANGED
|
@@ -944,6 +944,19 @@ interface CiRunAccepted {
|
|
|
944
944
|
* one. Reported rather than silent: "my run vanished" must have an
|
|
945
945
|
* answer in the CI log of the run that replaced it. */
|
|
946
946
|
superseded?: number;
|
|
947
|
+
/** Set when the run was accepted by an environment that will not become
|
|
948
|
+
* a viewer of it: it runs what its own branch deploys, and it stays on
|
|
949
|
+
* that branch. `branch` is the ENVIRONMENT's, never the one this bundle
|
|
950
|
+
* was packed from — the two differ in exactly the case that earns this
|
|
951
|
+
* note.
|
|
952
|
+
*
|
|
953
|
+
* A field and not a sentence, for the reason the refusals are codes:
|
|
954
|
+
* the wording belongs to whoever is showing it, and a command line is
|
|
955
|
+
* not the only surface that will want to. Older clients ignore an
|
|
956
|
+
* unknown key, so the note costs them nothing. */
|
|
957
|
+
environmentPinned?: {
|
|
958
|
+
branch: string;
|
|
959
|
+
};
|
|
947
960
|
}
|
|
948
961
|
/** Why a run request was refused. A code, not a message — the CLI turns
|
|
949
962
|
* each into its own advice, and matching on message text is the
|
|
@@ -977,6 +990,16 @@ type CiRunErrorCode =
|
|
|
977
990
|
/** A cloud-minted token that names no project, on a box that serves
|
|
978
991
|
* several. The message lists them; the token has to name one. */
|
|
979
992
|
| "ambiguous-project"
|
|
993
|
+
/** The environment runs what its own branch deploys (`allowSwitch:
|
|
994
|
+
* false`) and serves nothing yet, so a run ordered here would have
|
|
995
|
+
* nowhere to be seen: a box starts a viewer for an environment only
|
|
996
|
+
* while it serves a bundle. Its own code because the answer is neither
|
|
997
|
+
* "wrong credential" nor "wrong name": the request was understood and
|
|
998
|
+
* refused on purpose, and the message names the branch to push to
|
|
999
|
+
* instead. Narrow on purpose — the same environment WITH a bundle runs
|
|
1000
|
+
* the suite and says where the result will and will not appear (see
|
|
1001
|
+
* {@link CiRunAccepted.environmentPinned}). */
|
|
1002
|
+
| "pinned-environment-empty"
|
|
980
1003
|
/** The bundle could not be installed on the box. Retryable. */
|
|
981
1004
|
| "storage";
|
|
982
1005
|
interface CiRunError {
|
|
@@ -2031,7 +2054,41 @@ interface BoxReadEnvironment {
|
|
|
2031
2054
|
readonly environment: string;
|
|
2032
2055
|
/** What that environment serves right now (a bundle label). */
|
|
2033
2056
|
readonly note?: string;
|
|
2057
|
+
/** The id of that bundle — the label above is for reading, this is for
|
|
2058
|
+
* matching. A run carries the bundle it came from, and that is how a
|
|
2059
|
+
* reader tells "this environment still serves what that run used". */
|
|
2060
|
+
readonly bundleId?: string;
|
|
2061
|
+
/** How that bundle came to be installed: how long it took and where
|
|
2062
|
+
* its packages came from. Absent on a box older than this contract,
|
|
2063
|
+
* and on an environment with no bundle yet. */
|
|
2064
|
+
readonly install?: BoxReadInstall;
|
|
2065
|
+
}
|
|
2066
|
+
/** One install of one bundle, as the box reports it.
|
|
2067
|
+
*
|
|
2068
|
+
* `source` is MEASURED, not read out of the package manager's output:
|
|
2069
|
+
* the box compares what the lockfile names against what its own npm
|
|
2070
|
+
* cache already holds. It says what could come from the cache rather
|
|
2071
|
+
* than what npm then read — for `npm ci` with a full lockfile those are
|
|
2072
|
+
* the same, and `packages` carries the numbers so the word can be
|
|
2073
|
+
* checked instead of believed. */
|
|
2074
|
+
interface BoxReadInstall {
|
|
2075
|
+
/** ISO instant the install started. */
|
|
2076
|
+
readonly startedAt: string;
|
|
2077
|
+
readonly durationMs: number;
|
|
2078
|
+
readonly outcome: "installed" | "unchanged" | "failed";
|
|
2079
|
+
/** Absent on `unchanged` — nothing was fetched. `unknown` when the box
|
|
2080
|
+
* had no way to measure (no cache, no lockfile). */
|
|
2081
|
+
readonly source?: "network" | "cache" | "mixed" | "unknown";
|
|
2082
|
+
readonly packages?: {
|
|
2083
|
+
readonly total: number;
|
|
2084
|
+
readonly cached: number;
|
|
2085
|
+
};
|
|
2034
2086
|
}
|
|
2087
|
+
/** An install, or null when the box sent none — or sent something this
|
|
2088
|
+
* build does not recognise. Leniently, unlike the environment around
|
|
2089
|
+
* it: a name we cannot parse means we would route a read at the wrong
|
|
2090
|
+
* place, while an install we cannot parse is a line not printed. */
|
|
2091
|
+
declare function parseBoxReadInstall(value: unknown): BoxReadInstall | null;
|
|
2035
2092
|
/** Why a read was refused. A code rather than a message, because the
|
|
2036
2093
|
* status alone does not separate the two 404s a caller must act on
|
|
2037
2094
|
* differently: an environment this box does not serve (fix the header,
|
|
@@ -2427,6 +2484,23 @@ interface CollectionMeta {
|
|
|
2427
2484
|
prepare: string | null;
|
|
2428
2485
|
}
|
|
2429
2486
|
|
|
2487
|
+
/** The collection `init` writes into a new project, and the one the box's
|
|
2488
|
+
* screen shows as an example. Named once so the two cannot disagree:
|
|
2489
|
+
* a screen offering `examples` to a project that got something else is a
|
|
2490
|
+
* command that fails for a reason the reader cannot see. */
|
|
2491
|
+
declare const DEFAULT_COLLECTION_NAME = "examples";
|
|
2492
|
+
interface FirstRunCommandInput {
|
|
2493
|
+
/** The environment to run against — a real name where the caller knows
|
|
2494
|
+
* one, a placeholder where it does not. */
|
|
2495
|
+
environment: string;
|
|
2496
|
+
/** The collection to run. A box runs a collection or a schedule, never a
|
|
2497
|
+
* scenario by name, so this flag is not optional in the command: a
|
|
2498
|
+
* command without it is refused by the box with "nothing to run". */
|
|
2499
|
+
collection: string;
|
|
2500
|
+
}
|
|
2501
|
+
/** The command, and nothing else. */
|
|
2502
|
+
declare function firstRunCommand({ environment, collection }: FirstRunCommandInput): string;
|
|
2503
|
+
|
|
2430
2504
|
/** Snapshot file holding entry + every helper source that was loaded. */
|
|
2431
2505
|
declare const RUN_SOURCES_FILE = "sources.json";
|
|
2432
2506
|
interface RunSources {
|
|
@@ -3356,4 +3430,4 @@ declare const JUDGE_ENV: {
|
|
|
3356
3430
|
readonly skipPreflight: "UNOTEST_JUDGE_SKIP_PREFLIGHT";
|
|
3357
3431
|
};
|
|
3358
3432
|
|
|
3359
|
-
export { ACTOR_TICKET_HEADER, ARTIFACTS_ROOT_ENV, type AddVariablePlan, type AddVariablePlanInput, type AppPathPickerSpec, type AppServerEvent, type AuthoringRunRequest, BLOBS_DIR, BOX_ENV_VALUES_SEGMENT, BOX_NOTIFY_CHANNEL_KINDS, BOX_NOTIFY_EVENTS, BOX_NOTIFY_PATH, BOX_NOTIFY_STATES, BOX_NOTIFY_TRIGGER_KINDS, BOX_PUSH_TOKEN_PREFIX, BOX_READ_ENVIRONMENTS_PATH, BOX_READ_ENVIRONMENT_HEADER, BOX_READ_TOKEN_ENV, BOX_READ_TOKEN_PREFIX, BOX_REVEAL_SEGMENT, BOX_REVOCATIONS_RETRY_AFTER_SECONDS, BOX_RUNS_SEGMENT, BOX_SECRET_NAMES_ENV, BOX_SIGNED_TOKEN, BOX_SIGNED_TOKEN_PREFIX, BOX_TOKEN_ENV, BOX_URL_ENV, BOX_VALUES_PATH, BOX_VARIABLE_NAMES_ENV, BROWSER_CHANNEL_ENV, BROWSER_ENV, BUNDLED_BROWSER_CHANNEL, BUNDLE_ID_ENV, BUNDLE_MANIFEST_FILE, BUNDLE_SCHEMA_VERSION, BUNDLE_UPLOAD_PATH, type BoxEnvValuesReplaceRequest, type BoxEnvValuesView, type BoxNotifyChanged, type BoxNotifyChannelKind, type BoxNotifyChannelView, type BoxNotifyChannelWrite, type BoxNotifyEnabledPatch, type BoxNotifyError, type BoxNotifyErrorCode, type BoxNotifyEvent, type BoxNotifyLastDelivery, type BoxNotifyMute, type BoxNotifyMuteScope, type BoxNotifyMuteWrite, type BoxNotifyPreview, type BoxNotifyProjectView, type BoxNotifyQuietHours, type BoxNotifyQuietHoursWrite, type BoxNotifyRule, type BoxNotifyRuleWrite, type BoxNotifySecret, type BoxNotifySeriesEntry, type BoxNotifySeriesView, type BoxNotifyState, type BoxNotifyTestResult, type BoxNotifyTriggerKind, type BoxNotifyView, type BoxReadEnvironment, type BoxReadErrorBody, type BoxReadErrorCode, type BoxRunAccepted, type BoxRunRequest, type BoxRunState, type BoxRunStatus, type BoxSecretRevealResponse, type BoxSecretsRevealResponse, type BoxValueChanged, type BoxValueKind, type BoxValueSetRequest, type BoxValuesError, type BoxValuesErrorCode, type BoxValuesReplaceRequest, type BoxValuesReplaced, type BoxValuesResponse, type BreakpointEntry, type BreakpointsFile, type BundleGitInfo, type BundleManifest, type BundleScopeMismatch, type BundleUploadError, type BundleUploadErrorCode, type BundleUploadErrorDetail, 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 CollectionScheduleEntry, type CollectionTab, DAY_INDEX_FILE, DAY_SHORT, 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, FAILURES_DIR_SEGMENTS, FAILURES_ROOT_ENV, FREQ_FIELDS, type FailureBundleWrittenEvent, type FsBreakpointsChangedMessage, type FsCollectionRunStepMessage, type FsCollectionsChangedMessage, type FsHelpersChangedMessage, type FsRunFinishedMessage, type FsRunStartedMessage, type FsRunStepMessage, type FsScenariosChangedMessage, GUARD_SECRET_HEADER, 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 LogEvent, type LogLineMessage, type LoopIterationEvent, type Matcher, type NoteEvent, 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, RUNNER_SETTING_PREFIX, RUNS_SUBDIR, RUNTIME_FILE, RUN_ACTOR_ENV, RUN_INDEX_SCHEMA_VERSION, RUN_MANIFEST_FILE, RUN_SOURCES_FILE, RUN_TRIGGER_ENV, 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, type RunTrigger, type RunTriggerKind, RunnerAdapterNotFoundError, RunnerNotConfiguredError, type RuntimeState, type RuntimeStateFile, SCENARIOS_INDEX_DIR, SCENARIOS_LATEST_FILE, SCENARIO_RECENT_WINDOW, SCHEDULES_FILE, SCHEDULES_FINGERPRINT_ENV, 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 ScenarioScheduleEntry, type ScenarioTab, type ScenariosLatest, type ScenariosPayload, type ScheduleEntry, type ScheduleFreq, type ScheduleSpec, type ScreenshotEvent, type SnapshotTab, type SoftFailureRecord, type StepBlockFinishedEvent, type StepBlockStartedEvent, type StepFailEvent, type StepOkEvent, type StepPosition, type StepStartedEvent, TARGET_ENV_VAR, 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, WEEK_CHIP_ORDER, WORKSPACE_FILE, WORKSPACE_SCHEMA_VERSION, type WheelChangedEvent, type WorkspaceBundle, type WorkspaceFile, type WsMessage, type WsMessageKind, activeEnvName, artifactsRootFrom, blobPathFor, blobRelPathFor, blobRelSegmentsFor, blobsRootFor, boxEnvSecretRevealPath, boxEnvSecretsRevealPath, boxEnvValuePath, boxEnvValuesPath, boxNotifyChannelPath, boxNotifyMutePath, boxNotifyPreviewPath, boxNotifyPreviewTrigger, boxNotifyProjectPath, boxNotifyQuietHoursPath, boxNotifyRulePath, boxNotifySeriesPath, boxNotifySeriesResetPath, boxNotifyTestPath, boxRunPath, boxRunsPath, boxValueKindOfSegment, boxValuePath, boxValuesPath, canonicalScheduleSet, categorizeVariable, compareQueueTicketNames, cronFromSpec, debugDirFor, debuggerFileFor, declaredEnvKeys, decodeNameList, deleteShadowWarning, describeBundle, describeCron, describeSpec, describeTicketCi, encodeNameList, envFileFor, envKeys, envLayerFilesFor, envNamesFromDirListing, failuresRootFrom, failuresRootIn, failuresRootUnder, foldScenarioRun, formatNextTick, insertEnvVar, isAnnotationLine, isBoxNotifyState, isEnvVarName, isExternalVarName, isFailingStatus, isQueueDirName, isRecord, isRegexLiteral, isRunnerConfigKey, isRunnerSetting, isRunsDirName, isTerminalRuntimeState, makeQueueTicketName, makeRunId, manifestTrigger, mergeSchedules, nextTickFromSpec, parseAppServerEvent, parseBoxEnvValuesReplaceRequest, parseBoxNotifyChanged, parseBoxNotifyError, parseBoxNotifyMuteScope, parseBoxNotifyPreview, parseBoxNotifyProjectView, parseBoxNotifySeriesView, parseBoxNotifyTestResult, parseBoxNotifyView, parseBoxReadEnvironments, parseBoxReadError, parseBoxRunAccepted, parseBoxRunRequest, parseBoxRunStatus, parseBoxSecretRevealResponse, parseBoxSecretsRevealResponse, parseBoxValueSetRequest, parseBoxValuesReplaceRequest, parseBoxValuesResponse, parseBundleManifest, parseBundleUploadResponse, parseCiProvider, parseCiRunRequest, parseCiRunResponse, parseEnvContent, parseQueueTicket, parseQueueTicketName, parseScenarioAnnotations, parseScheduleEntry, parseSchedulesDoc, parseSchedulesJson, parseWorkspaceFile, planAddVariable, projectQueueRoot, projectRunDirFor, projectRunsRoot, queueDirFor, queuePriorityFromRank, queuePriorityRank, regexLiteral, removeEnvVar, replaceEnvVar, requireRunDirFor, reservedBoxValueNames, runDirFor, runIdStartedAt, runTriggerEnv, runTriggerFromEnv, runsDirFor, sanitizeRunIdSegment, scenarioIndexFileName, scenarioRefFromFileName, scheduleTarget, secretsFileFor, secretsLayerFilesFor, serializeEnvValue, shardDaysDescending, shardDirFor, shardPathForRunId, shardPathForTimestamp, specFromCron, testDirFor, validateCollectionName, validateSegmentName };
|
|
3433
|
+
export { ACTOR_TICKET_HEADER, ARTIFACTS_ROOT_ENV, type AddVariablePlan, type AddVariablePlanInput, type AppPathPickerSpec, type AppServerEvent, type AuthoringRunRequest, BLOBS_DIR, BOX_ENV_VALUES_SEGMENT, BOX_NOTIFY_CHANNEL_KINDS, BOX_NOTIFY_EVENTS, BOX_NOTIFY_PATH, BOX_NOTIFY_STATES, BOX_NOTIFY_TRIGGER_KINDS, BOX_PUSH_TOKEN_PREFIX, BOX_READ_ENVIRONMENTS_PATH, BOX_READ_ENVIRONMENT_HEADER, BOX_READ_TOKEN_ENV, BOX_READ_TOKEN_PREFIX, BOX_REVEAL_SEGMENT, BOX_REVOCATIONS_RETRY_AFTER_SECONDS, BOX_RUNS_SEGMENT, BOX_SECRET_NAMES_ENV, BOX_SIGNED_TOKEN, BOX_SIGNED_TOKEN_PREFIX, BOX_TOKEN_ENV, BOX_URL_ENV, BOX_VALUES_PATH, BOX_VARIABLE_NAMES_ENV, BROWSER_CHANNEL_ENV, BROWSER_ENV, BUNDLED_BROWSER_CHANNEL, BUNDLE_ID_ENV, BUNDLE_MANIFEST_FILE, BUNDLE_SCHEMA_VERSION, BUNDLE_UPLOAD_PATH, type BoxEnvValuesReplaceRequest, type BoxEnvValuesView, type BoxNotifyChanged, type BoxNotifyChannelKind, type BoxNotifyChannelView, type BoxNotifyChannelWrite, type BoxNotifyEnabledPatch, type BoxNotifyError, type BoxNotifyErrorCode, type BoxNotifyEvent, type BoxNotifyLastDelivery, type BoxNotifyMute, type BoxNotifyMuteScope, type BoxNotifyMuteWrite, type BoxNotifyPreview, type BoxNotifyProjectView, type BoxNotifyQuietHours, type BoxNotifyQuietHoursWrite, type BoxNotifyRule, type BoxNotifyRuleWrite, type BoxNotifySecret, type BoxNotifySeriesEntry, type BoxNotifySeriesView, type BoxNotifyState, type BoxNotifyTestResult, type BoxNotifyTriggerKind, type BoxNotifyView, type BoxReadEnvironment, type BoxReadErrorBody, type BoxReadErrorCode, type BoxReadInstall, type BoxRunAccepted, type BoxRunRequest, type BoxRunState, type BoxRunStatus, type BoxSecretRevealResponse, type BoxSecretsRevealResponse, type BoxValueChanged, type BoxValueKind, type BoxValueSetRequest, type BoxValuesError, type BoxValuesErrorCode, type BoxValuesReplaceRequest, type BoxValuesReplaced, type BoxValuesResponse, type BreakpointEntry, type BreakpointsFile, type BundleGitInfo, type BundleManifest, type BundleScopeMismatch, type BundleUploadError, type BundleUploadErrorCode, type BundleUploadErrorDetail, 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 CollectionScheduleEntry, type CollectionTab, DAY_INDEX_FILE, DAY_SHORT, DEFAULT_COLLECTION_NAME, 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, FAILURES_DIR_SEGMENTS, FAILURES_ROOT_ENV, FREQ_FIELDS, type FailureBundleWrittenEvent, type FirstRunCommandInput, type FsBreakpointsChangedMessage, type FsCollectionRunStepMessage, type FsCollectionsChangedMessage, type FsHelpersChangedMessage, type FsRunFinishedMessage, type FsRunStartedMessage, type FsRunStepMessage, type FsScenariosChangedMessage, GUARD_SECRET_HEADER, 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 LogEvent, type LogLineMessage, type LoopIterationEvent, type Matcher, type NoteEvent, 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, RUNNER_SETTING_PREFIX, RUNS_SUBDIR, RUNTIME_FILE, RUN_ACTOR_ENV, RUN_INDEX_SCHEMA_VERSION, RUN_MANIFEST_FILE, RUN_SOURCES_FILE, RUN_TRIGGER_ENV, 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, type RunTrigger, type RunTriggerKind, RunnerAdapterNotFoundError, RunnerNotConfiguredError, type RuntimeState, type RuntimeStateFile, SCENARIOS_INDEX_DIR, SCENARIOS_LATEST_FILE, SCENARIO_RECENT_WINDOW, SCHEDULES_FILE, SCHEDULES_FINGERPRINT_ENV, 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 ScenarioScheduleEntry, type ScenarioTab, type ScenariosLatest, type ScenariosPayload, type ScheduleEntry, type ScheduleFreq, type ScheduleSpec, type ScreenshotEvent, type SnapshotTab, type SoftFailureRecord, type StepBlockFinishedEvent, type StepBlockStartedEvent, type StepFailEvent, type StepOkEvent, type StepPosition, type StepStartedEvent, TARGET_ENV_VAR, 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, WEEK_CHIP_ORDER, WORKSPACE_FILE, WORKSPACE_SCHEMA_VERSION, type WheelChangedEvent, type WorkspaceBundle, type WorkspaceFile, type WsMessage, type WsMessageKind, activeEnvName, artifactsRootFrom, blobPathFor, blobRelPathFor, blobRelSegmentsFor, blobsRootFor, boxEnvSecretRevealPath, boxEnvSecretsRevealPath, boxEnvValuePath, boxEnvValuesPath, boxNotifyChannelPath, boxNotifyMutePath, boxNotifyPreviewPath, boxNotifyPreviewTrigger, boxNotifyProjectPath, boxNotifyQuietHoursPath, boxNotifyRulePath, boxNotifySeriesPath, boxNotifySeriesResetPath, boxNotifyTestPath, boxRunPath, boxRunsPath, boxValueKindOfSegment, boxValuePath, boxValuesPath, canonicalScheduleSet, categorizeVariable, compareQueueTicketNames, cronFromSpec, debugDirFor, debuggerFileFor, declaredEnvKeys, decodeNameList, deleteShadowWarning, describeBundle, describeCron, describeSpec, describeTicketCi, encodeNameList, envFileFor, envKeys, envLayerFilesFor, envNamesFromDirListing, failuresRootFrom, failuresRootIn, failuresRootUnder, firstRunCommand, foldScenarioRun, formatNextTick, insertEnvVar, isAnnotationLine, isBoxNotifyState, isEnvVarName, isExternalVarName, isFailingStatus, isQueueDirName, isRecord, isRegexLiteral, isRunnerConfigKey, isRunnerSetting, isRunsDirName, isTerminalRuntimeState, makeQueueTicketName, makeRunId, manifestTrigger, mergeSchedules, nextTickFromSpec, parseAppServerEvent, parseBoxEnvValuesReplaceRequest, parseBoxNotifyChanged, parseBoxNotifyError, parseBoxNotifyMuteScope, parseBoxNotifyPreview, parseBoxNotifyProjectView, parseBoxNotifySeriesView, parseBoxNotifyTestResult, parseBoxNotifyView, parseBoxReadEnvironments, parseBoxReadError, parseBoxReadInstall, parseBoxRunAccepted, parseBoxRunRequest, parseBoxRunStatus, parseBoxSecretRevealResponse, parseBoxSecretsRevealResponse, parseBoxValueSetRequest, parseBoxValuesReplaceRequest, parseBoxValuesResponse, parseBundleManifest, parseBundleUploadResponse, parseCiProvider, parseCiRunRequest, parseCiRunResponse, parseEnvContent, parseQueueTicket, parseQueueTicketName, parseScenarioAnnotations, parseScheduleEntry, parseSchedulesDoc, parseSchedulesJson, parseWorkspaceFile, planAddVariable, projectQueueRoot, projectRunDirFor, projectRunsRoot, queueDirFor, queuePriorityFromRank, queuePriorityRank, regexLiteral, removeEnvVar, replaceEnvVar, requireRunDirFor, reservedBoxValueNames, runDirFor, runIdStartedAt, runTriggerEnv, runTriggerFromEnv, runsDirFor, sanitizeRunIdSegment, scenarioIndexFileName, scenarioRefFromFileName, scheduleTarget, secretsFileFor, secretsLayerFilesFor, serializeEnvValue, shardDaysDescending, shardDirFor, shardPathForRunId, shardPathForTimestamp, specFromCron, testDirFor, validateCollectionName, validateSegmentName };
|
package/dist/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x30d09b=_0x49e3;(function(_0x176fe2,_0x10e727){const _0x2fdd37={_0x2519b2:0x2a3,_0x31c587:0x26e,_0x3671a3:0x1f5,_0x5cb220:0x297},_0x5292b4=_0x49e3,_0x3417b7=_0x176fe2();while(!![]){try{const _0xec7309=parseInt(_0x5292b4(_0x2fdd37._0x2519b2))/0x1+parseInt(_0x5292b4(_0x2fdd37._0x31c587))/0x2+parseInt(_0x5292b4(0x2df))/0x3+-parseInt(_0x5292b4(0x2c2))/0x4+parseInt(_0x5292b4(_0x2fdd37._0x3671a3))/0x5+-parseInt(_0x5292b4(_0x2fdd37._0x5cb220))/0x6*(-parseInt(_0x5292b4(0x219))/0x7)+-parseInt(_0x5292b4(0x29b))/0x8;if(_0xec7309===_0x10e727)break;else _0x3417b7['push'](_0x3417b7['shift']());}catch(_0x40fbdb){_0x3417b7['push'](_0x3417b7['shift']());}}}(_0x22f9,0xb98e4));var __defProp=Object[_0x30d09b(0x1c7)],__name=(_0x2cb85c,_0x59027e)=>__defProp(_0x2cb85c,_0x30d09b(0x360),{'value':_0x59027e,'configurable':!![]});function parseAppServerEvent(_0x2601e5){const _0x40533c={_0x539d8d:0x1a7,_0x1713a5:0x2e3},_0x454fd8=_0x30d09b,_0xcca845=_0x2601e5[_0x454fd8(0x35e)]();if(!_0xcca845[_0x454fd8(_0x40533c._0x539d8d)]('{'))return null;try{const _0x2352cc=JSON['parse'](_0xcca845);if(_0x2352cc['kind']==='app-server:ready'||_0x2352cc['kind']===_0x454fd8(_0x40533c._0x1713a5)||_0x2352cc[_0x454fd8(0x1c6)]==='app-server:error')return _0x2352cc;return null;}catch{return null;}}__name(parseAppServerEvent,_0x30d09b(0x2c6));function isRecord(_0x1e03d1){const _0x46b48c={_0x3bb8f2:0x1a9},_0x93e743=_0x30d09b;return typeof _0x1e03d1===_0x93e743(0x34b)&&_0x1e03d1!==null&&!Array[_0x93e743(_0x46b48c._0x3bb8f2)](_0x1e03d1);}__name(isRecord,_0x30d09b(0x2d8));var UNOTEST_DIR='unotest',E2E_SUBDIR=_0x30d09b(0x340),HELPERS_SUBDIR='_helpers',COLLECTIONS_SUBDIR=_0x30d09b(0x1f6),RUNS_SUBDIR='.runs',SNAPSHOTS_SUBDIR=_0x30d09b(0x236);function testDirFor(_0x2729ad){return''+E2E_SUBDIR+_0x2729ad;}__name(testDirFor,_0x30d09b(0x259));function runsDirFor(_0x3a29b5,_0x4af09b){return''+RUNS_SUBDIR+_0x3a29b5+(_0x4af09b?'.'+_0x4af09b:'');}__name(runsDirFor,_0x30d09b(0x1b9));function isRunsDirName(_0x4b2ff5){const _0x1621b3={_0x1f6278:0x1a7},_0x508923=_0x30d09b;return _0x4b2ff5===RUNS_SUBDIR||_0x4b2ff5[_0x508923(_0x1621b3._0x1f6278)](RUNS_SUBDIR+'-')||_0x4b2ff5[_0x508923(_0x1621b3._0x1f6278)](RUNS_SUBDIR+'.');}__name(isRunsDirName,_0x30d09b(0x35c));function debugDirFor(_0xcf0573){const _0x2986b8=_0x30d09b;return _0x2986b8(0x2a7)+_0xcf0573;}__name(debugDirFor,_0x30d09b(0x348));function debuggerFileFor(_0x5464ac){const _0xb0930a=_0x30d09b;return UNOTEST_DIR+'/.debugger'+_0x5464ac+_0xb0930a(0x28b);}__name(debuggerFileFor,'debuggerFileFor');var LOCK_FILE=_0x30d09b(0x1b6),LOG_FILE=_0x30d09b(0x194),STEPS_FILE=_0x30d09b(0x1c9),HEARTBEAT_FILE=_0x30d09b(0x333),DAY_INDEX_FILE=_0x30d09b(0x241),SCENARIOS_INDEX_DIR=_0x30d09b(0x362),SCENARIOS_LATEST_FILE=_0x30d09b(0x2ce),STDOUT_FILE=_0x30d09b(0x20c),STDERR_FILE=_0x30d09b(0x2e5),COMMANDS_FILE=_0x30d09b(0x206),RUNTIME_FILE=_0x30d09b(0x2af),PICKER_SNAPSHOT_FILE=_0x30d09b(0x332),ENV_FILE=_0x30d09b(0x343),SECRETS_FILE='unotest/.secrets',SCHEDULES_FILE='unotest/schedules.yaml';function envFileFor(_0x538bd4,_0x417b43){return''+ENV_FILE+_0x538bd4+(_0x417b43?'.'+_0x417b43:'');}__name(envFileFor,_0x30d09b(0x227));function secretsFileFor(_0x341ffc,_0x514b7a){return''+SECRETS_FILE+_0x341ffc+(_0x514b7a?'.'+_0x514b7a:'');}__name(secretsFileFor,_0x30d09b(0x254));function envLayerFilesFor(_0x5b092c,_0x1d181c){return layersFor(ENV_FILE,_0x5b092c,_0x1d181c);}__name(envLayerFilesFor,'envLayerFilesFor');function secretsLayerFilesFor(_0x26cd41,_0x50f1ef){return layersFor(SECRETS_FILE,_0x26cd41,_0x50f1ef);}__name(secretsLayerFilesFor,'secretsLayerFilesFor');function layersFor(_0x47b5fb,_0x43e1b4,_0x1c2d19){const _0x1a6633={_0x19e6d9:0x335},_0x1ea1b0=_0x30d09b,_0x2b4279=[_0x47b5fb];if(_0x43e1b4)_0x2b4279[_0x1ea1b0(0x335)](''+_0x47b5fb+_0x43e1b4);if(_0x1c2d19){_0x2b4279[_0x1ea1b0(0x335)](_0x47b5fb+'.'+_0x1c2d19);if(_0x43e1b4)_0x2b4279[_0x1ea1b0(_0x1a6633._0x19e6d9)](''+_0x47b5fb+_0x43e1b4+'.'+_0x1c2d19);}return _0x2b4279;}__name(layersFor,_0x30d09b(0x230));var ARTIFACTS_ROOT_ENV=_0x30d09b(0x294);function artifactsRootFrom(_0x5f7a3b,_0x24b0cb){const _0xda659f=_0x5f7a3b[ARTIFACTS_ROOT_ENV]?.['trim']();return _0xda659f?_0xda659f:_0x24b0cb;}__name(artifactsRootFrom,'artifactsRootFrom');var FAILURES_DIR_SEGMENTS=['.unotest',_0x30d09b(0x262)];function failuresRootUnder(_0x78e41b){const _0x4bf233={_0x1ceefd:0x33e},_0x501776=_0x30d09b;return[_0x78e41b['replace'](/\/+$/,''),...FAILURES_DIR_SEGMENTS][_0x501776(_0x4bf233._0x1ceefd)]('/');}__name(failuresRootUnder,_0x30d09b(0x2f5));var FAILURES_ROOT_ENV=_0x30d09b(0x317);function failuresRootFrom(_0x5939c7,_0x3673a6){const _0x48b21d=_0x30d09b,_0x368668=_0x5939c7[FAILURES_ROOT_ENV]?.[_0x48b21d(0x35e)]();return _0x368668?_0x368668:_0x3673a6;}__name(failuresRootFrom,_0x30d09b(0x33c));function activeEnvName(_0x237e3d){const _0x5be9c7={_0xdde4ca:0x35e},_0x12907c=_0x30d09b,_0x5c498c=_0x237e3d['UNOTEST_ENV']?.[_0x12907c(_0x5be9c7._0xdde4ca)]();return _0x5c498c?_0x5c498c:void 0x0;}__name(activeEnvName,_0x30d09b(0x1a1));var RESERVED_ENV_NAMES=new Set([_0x30d09b(0x25b),_0x30d09b(0x325),_0x30d09b(0x350)]);function envNamesFromDirListing(_0x1821fb,_0x4c8da9){const _0x1254d0={_0xd512f4:0x22f,_0x5cb92c:0x34a,_0x2a609f:0x1a7,_0x23c775:0x285,_0x5e3384:0x25d},_0x120a07=_0x30d09b,_0x5f06a4=[_0x120a07(_0x1254d0._0xd512f4),'.secrets'][_0x120a07(_0x1254d0._0x5cb92c)](_0x21c408=>_0x4c8da9?[_0x21c408,''+_0x21c408+_0x4c8da9]:[_0x21c408]),_0x2c5928=new Set();for(const _0x40057b of _0x1821fb){for(const _0x35c318 of _0x5f06a4){const _0x4cdbf5=_0x35c318+'.';if(!_0x40057b[_0x120a07(_0x1254d0._0x2a609f)](_0x4cdbf5))continue;const _0x4667d6=_0x40057b[_0x120a07(0x1eb)](_0x4cdbf5['length']);if(!_0x4667d6||_0x4667d6[_0x120a07(0x1fa)]('/'))continue;if(RESERVED_ENV_NAMES[_0x120a07(0x273)](_0x4667d6))continue;_0x2c5928[_0x120a07(_0x1254d0._0x23c775)](_0x4667d6);}}return[..._0x2c5928][_0x120a07(_0x1254d0._0x5e3384)]();}__name(envNamesFromDirListing,_0x30d09b(0x32c));function isRegexLiteral(_0x4c7226){const _0x17dfe4={_0x28ea46:0x34b,_0x521662:0x1c6,_0x240070:0x1de,_0x189c10:0x23f,_0x534cd4:0x361,_0x4c32b1:0x23f},_0x11ef8f=_0x30d09b;return typeof _0x4c7226===_0x11ef8f(_0x17dfe4._0x28ea46)&&_0x4c7226!==null&&_0x4c7226[_0x11ef8f(_0x17dfe4._0x521662)]===_0x11ef8f(0x300)&&typeof _0x4c7226[_0x11ef8f(_0x17dfe4._0x240070)]===_0x11ef8f(_0x17dfe4._0x189c10)&&typeof _0x4c7226[_0x11ef8f(_0x17dfe4._0x534cd4)]===_0x11ef8f(_0x17dfe4._0x4c32b1);}__name(isRegexLiteral,_0x30d09b(0x28d));function regexLiteral(_0x1cf0c0,_0x1b7c2e=''){const _0xcfdcb9=_0x30d09b;return{'kind':_0xcfdcb9(0x300),'source':_0x1cf0c0,'flags':_0x1b7c2e};}__name(regexLiteral,_0x30d09b(0x2aa));var RAND_BYTES=0x6;function makeRunId(_0x5c4933){const _0x4e8a03={_0x505f62:0x2ca,_0x41e571:0x1ee},_0x26e91e=_0x30d09b,_0x4103a9=sanitizeRunIdSegment(_0x5c4933),_0x58d099=Date[_0x26e91e(_0x4e8a03._0x505f62)]()['toString'](0x24),_0x3513f2=new Uint8Array(RAND_BYTES);globalThis[_0x26e91e(_0x4e8a03._0x41e571)][_0x26e91e(0x24f)](_0x3513f2);let _0x22f0a3='';for(let _0x1d62d3=0x0;_0x1d62d3<_0x3513f2[_0x26e91e(0x305)];_0x1d62d3++){_0x22f0a3+=_0x3513f2[_0x1d62d3]['toString'](0x10)[_0x26e91e(0x2ec)](0x2,'0');}return _0x4103a9+'-'+_0x58d099+'-'+_0x22f0a3;}__name(makeRunId,_0x30d09b(0x327));function sanitizeRunIdSegment(_0x2861ba){const _0x3b74ea={_0x2f01f0:0x27f},_0x2e4389=_0x30d09b,_0x4f218d=_0x2861ba[_0x2e4389(_0x3b74ea._0x2f01f0)](/[^a-zA-Z0-9_-]+/g,'-')[_0x2e4389(_0x3b74ea._0x2f01f0)](/-+/g,'-')[_0x2e4389(0x27f)](/^-|-$/g,'');return _0x4f218d[_0x2e4389(0x305)]>0x0?_0x4f218d:'run';}__name(sanitizeRunIdSegment,'sanitizeRunIdSegment');var RANDOM_SUFFIX_RE=/^[0-9a-f]{6,}$/,MIN_PLAUSIBLE_MS=Date['UTC'](0x7e4,0x0,0x1),MAX_PLAUSIBLE_MS=Date[_0x30d09b(0x2b4)](0x834,0x0,0x1);function runIdStartedAt(_0x40909e){const _0x2ffda3={_0x2d547e:0x305},_0x1e03d2=_0x30d09b,_0x5de43f=_0x40909e[_0x1e03d2(0x289)]('-');if(_0x5de43f[_0x1e03d2(_0x2ffda3._0x2d547e)]<0x3)return null;const _0x375858=_0x5de43f[_0x5de43f['length']-0x1];if(!RANDOM_SUFFIX_RE[_0x1e03d2(0x2b8)](_0x375858))return null;const _0x31c6f7=_0x5de43f[_0x5de43f[_0x1e03d2(_0x2ffda3._0x2d547e)]-0x2];if(!/^[0-9a-z]+$/['test'](_0x31c6f7))return null;const _0x6eab2d=parseInt(_0x31c6f7,0x24);if(!Number[_0x1e03d2(0x248)](_0x6eab2d))return null;if(_0x6eab2d<MIN_PLAUSIBLE_MS||_0x6eab2d>=MAX_PLAUSIBLE_MS)return null;return _0x6eab2d;}__name(runIdStartedAt,_0x30d09b(0x231));function shardPathForTimestamp(_0x4b947e){const _0x34bf92={_0x49c5d9:0x2ec,_0x1a20ca:0x21d},_0x2d2022=_0x30d09b,_0x3afc70=new Date(_0x4b947e),_0x5812ac=String(_0x3afc70[_0x2d2022(0x1b8)]())['padStart'](0x4,'0'),_0x4900d6=String(_0x3afc70[_0x2d2022(0x1d6)]()+0x1)[_0x2d2022(_0x34bf92._0x49c5d9)](0x2,'0'),_0x1705f3=String(_0x3afc70[_0x2d2022(_0x34bf92._0x1a20ca)]())[_0x2d2022(_0x34bf92._0x49c5d9)](0x2,'0');return _0x5812ac+'/'+_0x4900d6+'/'+_0x1705f3;}__name(shardPathForTimestamp,_0x30d09b(0x209));function shardPathForRunId(_0x2cdb5f){const _0x3af429=runIdStartedAt(_0x2cdb5f);return _0x3af429===null?null:shardPathForTimestamp(_0x3af429);}__name(shardPathForRunId,_0x30d09b(0x353));function runDirFor(_0x3b0e45,_0x28d2ff){const _0x37e167=shardPathForRunId(_0x28d2ff);return _0x37e167===null?null:_0x3b0e45+'/'+_0x37e167+'/'+_0x28d2ff;}__name(runDirFor,_0x30d09b(0x1ce));var UnplaceableRunIdError=class extends Error{static{__name(this,_0x30d09b(0x342));}constructor(_0x57effa){const _0x3e9cf6={_0xd57efb:0x360,_0x3b8b01:0x342},_0x35ff90=_0x30d09b;super('runId\x20carries\x20no\x20timestamp,\x20cannot\x20place\x20it\x20in\x20a\x20shard:\x20'+_0x57effa),this[_0x35ff90(_0x3e9cf6._0xd57efb)]=_0x35ff90(_0x3e9cf6._0x3b8b01);}};function requireRunDirFor(_0x155640,_0x79b22a){const _0x1e04cb=runDirFor(_0x155640,_0x79b22a);if(_0x1e04cb===null)throw new UnplaceableRunIdError(_0x79b22a);return _0x1e04cb;}__name(requireRunDirFor,_0x30d09b(0x280));function projectRunsRoot(_0x44e8b7='',_0x42b714){return UNOTEST_DIR+'/'+runsDirFor(_0x44e8b7,_0x42b714);}__name(projectRunsRoot,_0x30d09b(0x1e2));function failuresRootIn(_0x846ba6,_0x4abbdc){return failuresRootUnder(_0x846ba6['replace'](/\/+$/,'')+'/'+projectRunsRoot('',_0x4abbdc));}__name(failuresRootIn,'failuresRootIn');function projectRunDirFor(_0x4a1d8c,_0x28e4fb='',_0x38ed8d){return requireRunDirFor(projectRunsRoot(_0x28e4fb,_0x38ed8d),_0x4a1d8c);}__name(projectRunDirFor,_0x30d09b(0x1e8));function shardDirFor(_0x53cf23,_0x1bad26){return _0x53cf23+'/'+shardPathForTimestamp(_0x1bad26);}__name(shardDirFor,_0x30d09b(0x2bc));function*shardDaysDescending(_0x5178c7,_0x1d514d,_0x454c7e){const _0xf8b35e=0x5265c00;let _0x2968cf=Math['floor'](_0x1d514d/_0xf8b35e)*_0xf8b35e;for(let _0x518128=0x0;_0x518128<_0x454c7e;_0x518128++){yield shardDirFor(_0x5178c7,_0x2968cf),_0x2968cf-=_0xf8b35e;}}__name(shardDaysDescending,_0x30d09b(0x275));var RUN_INDEX_SCHEMA_VERSION=0x2,SCENARIO_RECENT_WINDOW=0xc;function isFailingStatus(_0x5f059b){const _0x374b56=_0x30d09b;return _0x5f059b===_0x374b56(0x1f7)||_0x5f059b===_0x374b56(0x25f);}__name(isFailingStatus,_0x30d09b(0x1fe));function foldScenarioRun(_0x3cb62d,_0x4d8c3f){const _0x22f256={_0x5cf931:0x208,_0x1be416:0x208},_0x164c86=_0x30d09b,_0x7b9471={'lastRunId':_0x4d8c3f[_0x164c86(0x309)],'lastStatus':_0x4d8c3f[_0x164c86(0x266)],'lastAt':_0x4d8c3f[_0x164c86(_0x22f256._0x5cf931)],'lastDurationMs':_0x4d8c3f[_0x164c86(0x1e5)],'recent':[..._0x3cb62d?.['recent']??[],_0x4d8c3f['status']]['slice'](-SCENARIO_RECENT_WINDOW)};if(!isFailingStatus(_0x4d8c3f[_0x164c86(0x266)]))return{..._0x7b9471,'failStreak':0x0,'failingSince':null};const _0x5bf326=(_0x3cb62d?.[_0x164c86(0x19c)]??0x0)+0x1;return{..._0x7b9471,'failStreak':_0x5bf326,'failingSince':_0x5bf326===0x1?_0x4d8c3f['startedAt']:_0x3cb62d?.[_0x164c86(0x1bf)]??_0x4d8c3f[_0x164c86(_0x22f256._0x1be416)]};}__name(foldScenarioRun,'foldScenarioRun');function scenarioIndexFileName(_0x11382b){const _0x30ce59=_0x30d09b;return encodeURIComponent(_0x11382b)+_0x30ce59(0x20a);}__name(scenarioIndexFileName,_0x30d09b(0x193));function scenarioRefFromFileName(_0x5d11f7){const _0x16282a={_0x41378a:0x1eb,_0x4095b5:0x20a},_0x38df97=_0x30d09b;if(!_0x5d11f7['endsWith'](_0x38df97(0x20a)))return null;try{return decodeURIComponent(_0x5d11f7[_0x38df97(_0x16282a._0x41378a)](0x0,-_0x38df97(_0x16282a._0x4095b5)['length']));}catch{return null;}}__name(scenarioRefFromFileName,_0x30d09b(0x315));var CI_RUN_PATH='/api/box/ci/run',PROVIDER_IDS=[_0x30d09b(0x2c0),'gitlab',_0x30d09b(0x33d)],RUN_ERROR_CODES=['unauthorized',_0x30d09b(0x244),'unknown-environment',_0x30d09b(0x2f3),'no-collections','malformed','expired',_0x30d09b(0x23b),'ambiguous-project',_0x30d09b(0x2ed)];function parseCiRunRequest(_0x432a40){const _0x4b0f04={_0x409dc5:0x305,_0x9652ba:0x305,_0x10fd5e:0x1b3,_0x4480da:0x2ae,_0x275c67:0x27e,_0x2e6f04:0x23f},_0x1bb78e=_0x30d09b;if(!isRecord(_0x432a40))return null;const {bundleId:_0x46b922,environment:_0x59c34c,collections:_0x413e35,pr:_0x55e99d,branch:_0x168b34,sha:_0x42e6ee}=_0x432a40;if(typeof _0x46b922!=='string'||_0x46b922[_0x1bb78e(_0x4b0f04._0x409dc5)]===0x0)return null;if(typeof _0x59c34c!==_0x1bb78e(0x23f)||_0x59c34c[_0x1bb78e(_0x4b0f04._0x9652ba)]===0x0)return null;let _0x1de76b=null;if(_0x413e35!==void 0x0){if(!Array['isArray'](_0x413e35))return null;if(_0x413e35[_0x1bb78e(_0x4b0f04._0x10fd5e)](_0x4d422b=>typeof _0x4d422b!=='string'||_0x4d422b[_0x1bb78e(0x305)]===0x0))return null;_0x1de76b=_0x413e35;}if(_0x55e99d!==void 0x0&&(typeof _0x55e99d!==_0x1bb78e(_0x4b0f04._0x4480da)||!Number[_0x1bb78e(_0x4b0f04._0x275c67)](_0x55e99d)))return null;for(const _0x2f2999 of[_0x168b34,_0x42e6ee]){if(_0x2f2999!==void 0x0&&typeof _0x2f2999!==_0x1bb78e(_0x4b0f04._0x2e6f04))return null;}return{'bundleId':_0x46b922,'environment':_0x59c34c,..._0x1de76b?{'collections':_0x1de76b}:{},...typeof _0x55e99d===_0x1bb78e(0x2ae)?{'pr':_0x55e99d}:{},...typeof _0x168b34===_0x1bb78e(0x23f)?{'branch':_0x168b34}:{},...typeof _0x42e6ee===_0x1bb78e(0x23f)?{'sha':_0x42e6ee}:{}};}__name(parseCiRunRequest,'parseCiRunRequest');function parseCiRunResponse(_0x51e0b1){const _0x2aef55={_0x209635:0x311,_0x4f2aa2:0x23f,_0x4d0859:0x2ae},_0x762d66=_0x30d09b;if(!isRecord(_0x51e0b1))return null;if(isRecord(_0x51e0b1[_0x762d66(0x311)])){const {code:_0x2c4bac,message:_0x519dde}=_0x51e0b1[_0x762d66(_0x2aef55._0x209635)];if(!RUN_ERROR_CODES[_0x762d66(0x1fa)](_0x2c4bac))return null;if(typeof _0x519dde!==_0x762d66(_0x2aef55._0x4f2aa2))return null;return{'error':{'code':_0x2c4bac,'message':_0x519dde}};}const {status:_0x1f1312,bundleId:_0xe9bca6,environment:_0x450276,runs:_0x18c811,superseded:_0x33612d}=_0x51e0b1;if(_0x1f1312!==_0x762d66(0x214))return null;if(typeof _0xe9bca6!=='string'||typeof _0x450276!==_0x762d66(_0x2aef55._0x4f2aa2))return null;if(!Array[_0x762d66(0x1a9)](_0x18c811))return null;const _0x15ea21=[];for(const _0x598eb7 of _0x18c811){if(!isRecord(_0x598eb7))return null;const {runId:_0x35d0ef,collection:_0x4b6cce}=_0x598eb7;if(typeof _0x35d0ef!==_0x762d66(_0x2aef55._0x4f2aa2)||typeof _0x4b6cce!==_0x762d66(0x23f))return null;_0x15ea21[_0x762d66(0x335)]({'runId':_0x35d0ef,'collection':_0x4b6cce});}if(_0x33612d!==void 0x0&&typeof _0x33612d!==_0x762d66(0x2ae))return null;return{'status':_0x762d66(0x214),'bundleId':_0xe9bca6,'environment':_0x450276,'runs':_0x15ea21,...typeof _0x33612d===_0x762d66(_0x2aef55._0x4d0859)?{'superseded':_0x33612d}:{}};}__name(parseCiRunResponse,_0x30d09b(0x27c));function parseCiProvider(_0x30240a){const _0x52e66e=_0x30d09b;return PROVIDER_IDS[_0x52e66e(0x1fa)](_0x30240a)?_0x30240a:null;}__name(parseCiProvider,_0x30d09b(0x307));var QUEUE_SUBDIR=_0x30d09b(0x287),QUEUE_TICKETS_DIR=_0x30d09b(0x306),QUEUE_RUNNING_DIR='running',QUEUE_SLOTS_DIR=_0x30d09b(0x354),QUEUE_MUTEX_FILE=_0x30d09b(0x1aa),QUEUE_LEASE_ENV=_0x30d09b(0x256),QUEUE_DISABLED_ENV=_0x30d09b(0x258),QUEUE_GLOBAL_DIR_ENV=_0x30d09b(0x1d3),QUEUE_GLOBAL_SLOTS_ENV=_0x30d09b(0x33f),QUEUE_SCHEMA_VERSION=0x1;function queueDirFor(_0x5696f7,_0x542365){return''+QUEUE_SUBDIR+_0x5696f7+(_0x542365?'.'+_0x542365:'');}__name(queueDirFor,'queueDirFor');function _0x49e3(_0x345b9b,_0x2d71d8){_0x345b9b=_0x345b9b-0x183;const _0x22f959=_0x22f9();let _0x49e33b=_0x22f959[_0x345b9b];if(_0x49e3['InsuzI']===undefined){var _0x5b548f=function(_0x4c5d74){const _0x272f00='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x2cb85c='',_0x59027e='';for(let _0x2601e5=0x0,_0xcca845,_0x2352cc,_0x1e03d1=0x0;_0x2352cc=_0x4c5d74['charAt'](_0x1e03d1++);~_0x2352cc&&(_0xcca845=_0x2601e5%0x4?_0xcca845*0x40+_0x2352cc:_0x2352cc,_0x2601e5++%0x4)?_0x2cb85c+=String['fromCharCode'](0xff&_0xcca845>>(-0x2*_0x2601e5&0x6)):0x0){_0x2352cc=_0x272f00['indexOf'](_0x2352cc);}for(let _0x2729ad=0x0,_0x3a29b5=_0x2cb85c['length'];_0x2729ad<_0x3a29b5;_0x2729ad++){_0x59027e+='%'+('00'+_0x2cb85c['charCodeAt'](_0x2729ad)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x59027e);};_0x49e3['iRePvQ']=_0x5b548f,_0x49e3['iSdrWs']={},_0x49e3['InsuzI']=!![];}const _0x3716b0=_0x22f959[0x0],_0x951905=_0x345b9b+_0x3716b0,_0x15d399=_0x49e3['iSdrWs'][_0x951905];return!_0x15d399?(_0x49e33b=_0x49e3['iRePvQ'](_0x49e33b),_0x49e3['iSdrWs'][_0x951905]=_0x49e33b):_0x49e33b=_0x15d399,_0x49e33b;}function isQueueDirName(_0x56f682){return _0x56f682===QUEUE_SUBDIR||_0x56f682['startsWith'](QUEUE_SUBDIR+'-')||_0x56f682['startsWith'](QUEUE_SUBDIR+'.');}__name(isQueueDirName,'isQueueDirName');function projectQueueRoot(_0x5cd728='',_0x1dc0e4){return UNOTEST_DIR+'/'+queueDirFor(_0x5cd728,_0x1dc0e4);}__name(projectQueueRoot,'projectQueueRoot');var PRIORITY_RANKS=Object[_0x30d09b(0x2b9)]({'maintenance':0x0,'interactive':0x1,'ci':0x2,'schedule':0x3}),RANK_PRIORITIES=[_0x30d09b(0x1ba),_0x30d09b(0x1dd),'ci',_0x30d09b(0x1ae)],QUEUE_PRIORITIES=RANK_PRIORITIES;function queuePriorityRank(_0x49f455){return PRIORITY_RANKS[_0x49f455];}__name(queuePriorityRank,_0x30d09b(0x2fa));function _0x22f9(){const _0x50b30c=['icOGkIaQ','mJHczK1Pq0e','DMfSDwvtDwzMAxG','D2vIAg9VAW','icOV','z2v0vvrdrgf0zq','y2HHDeLK','C291CMnLCY5QC29U','yM94tM90Awz5uhjLDMLLD1bHDgG','CgfYC2vcB3HsDw5tDgf0Dxm','CgfYC2vcB3HtzwnYzxrszxzLywXszxnWB25Zzq','BwfSzM9YBwvK','Aw52ywXPzc1Uyw1L','AxntDhjPBMDbCNjHEq','CgXHBKfKzfzHCMLHyMXL','zw52rMLSzuzVCG','yM94tM90Awz5q2HHBM5LBfbHDgG','iIdIGjqGB25LihnJAgvKDwXLihbLCIb0yxjNzxq','CMfUzg9T','vu5pvevtvf9eruzbvuXux1rjtuvpvvrFtvm','yMXVyLjLBfnLz21LBNrZrM9Y','A2v5CW','zxHWzwn0zwqGysbTyxbWAw5NihDPDgGGysbGC2nOzwr1BgvZoMaGyxjYyxK','lMvUDG','Bgf5zxjZrM9Y','CNvUswrtDgfYDgvKqxq','CMvZzxj2zwrcB3HwywX1zu5HBwvZ','Bxv0zq','igf0ia','yM94rw52u2vJCMv0C1jLDMvHBfbHDgG','lNnUyxbZAg90CW','vu5pvevtvf9dt05tt0Xf','C2vJCMv0','zNjLCq','y29SBgvJDgLVBG','CMv2B2nHDgLVBI1SAxn0lxvUyxzHAwXHyMXL','zgvZy3jPyMvcDw5KBgu','y2f0zwDVCML6zvzHCMLHyMXL','DhjPz2DLCG','C3rYAw5N','C2v0sg91CNm','x2rHEs5QC29UBa','Dw5RBM93BI1LBNzPCM9UBwvUDa','vu5pvevtvf9kvurhrv9bq0nfu1nFve9lru4','C2nVCguTBwLZBwf0y2G','vu5pvevtvf9kvurhrv9nt0rf','icH3AxaP','BwvYz2vty2HLzhvSzxm','AxngAw5PDgu','BwfRzvf1zxvLvgLJA2v0tMfTzq','zxzLCNKGnsbTAw4','ywz0zxjgywLSDxjLCW','CgfYC2vrDwv1zvrPy2TLDa','zgvSzxrLu2HHzg93v2fYBMLUzW','CgfYC2vty2vUyxjPB0fUBM90yxrPB25Z','z2v0uMfUzg9TvMfSDwvZ','Dw5VyL8','DMfSDwvZ','Dw5RBM93BI1ZzxjPzxm','iI4G','C2vJCMv0C0zPBgvgB3i','C2vYAwvZ','vu5pvevtvf9rvuvvrv9mruftrq','C3rYAw5NAwz5','vu5pvevtvf9ot19rvuvvrq','DgvZDerPCKzVCG','Ag9ZDa','zxHHBxbSzq','BwfW','C29YDa','AxnuCMLNz2vYs2LUza','Aw50zxjYDxb0zwq','vu5pvevtvf9cvu5etevFsuq','vu5pvevtvf9tq0HfrfvmrvnFrKLor0vsufjjtLq','zMfPBhvYzxm','AxnuzxjTAw5HBfj1BNrPBwvtDgf0zq','l2P1zgDL','sw52ywXPzejSB2jiyxnOrxjYB3i','C3rHDhvZ','zxHLyW','yM94uNvUugf0Aa','uNvUBMvYqwrHChrLCK5VDezVDw5KrxjYB3i','CgfYC2voyw1LzfjLy29Yza','CNvUlwLUlxbYB2DYzxnZ','AxnbBM5VDgf0Aw9UtgLUzq','DgLTzxm','mJqZnte4mfrdwMntta','vu5pvevtvf9erujvr19nqvHFqLLurvm','Aw5KzxHpzG','vw5ZDxbWB3j0zwrsDw5lAw5KrxjYB3i','AwqTBwLZBwf0y2G','AgfZ','CgfYC2vcB3HoB3rPzNLnDxrLu2nVCgu','C2HHCMreyxLZrgvZy2vUzgLUzW','zgfPBhKGyxqG','DxbKyxrLza','Dg9tDhjPBMC','vu5pvevtvf9kvurhrv9dquXmx1rjtuvpvvrFtvm','z2v0sg91CNm','l2fWAs9IB3GVyNvUzgXLCW','CgfYC2vdAvj1BLjLC3bVBNnL','vu5pvevtvf9iruferuq','AxnjBNrLz2vY','CMvWBgfJzq','CMvXDwLYzvj1BKrPCKzVCG','C2HH','CgfYC2vcB3HoB3rPzNLqCM9Qzwn0vMLLDW','vu5pvevtvf9qt1bvuf9huKfdrv9nuW','zw52','ywrK','D29YA2vYCW','lNf1zxvL','y29TCgXLDgvK','C3bSAxq','l3nLCMLLCW','lMPZB24','l2fWAs9IB3GVDMfSDwvZ','AxnszwDLEeXPDgvYywW','icOGkIaQicO','uNvUBMvYtM90q29UzMLNDxjLzevYCM9Y','yM90vg9Rzw4','vu5pvevtvf9kvurhrv9ut0TftG','zgvJB2rLtMfTzuXPC3q','DgHYzwfKswq','vu5pvevtvf9buLrjrKfdvfnFuK9pva','C3bLy0zYB21dCM9U','C2v0','mtC3mtaZofnesNndzG','DMfYAwfIBgvZ','u3vU','igfSCMvHzhKGzxHPC3rZigLUia','mJGYnJi4nJrQCNHIsK0','C2v0twLUDxrLCW','vgH1','Ec11BM90zxn0lwvUDMLYB25Tzw50','zw5HyMXLza','vu5pvevtvf9erujvr19esvi','zw52s2v5CW','zM9YyMLKzgvU','mta4odC1mvniue5NEa','CxvPzxriB3vYCW','Ag91CNm','CgfYC2vcB3HoB3rPzNLwAwv3','lMrLyNvN','l3rLC3q','CMfUAW','CMvNzxHmAxrLCMfS','vu5pvevtvf9ct1HFvvjm','BgfZDe5VDgLMAwvKqxq','tK9Fq09mt1i','BNvTyMvY','CNvUDgLTzs5QC29U','y29TCgfYzvf1zxvLvgLJA2v0tMfTzxm','iokaLcbWAwnRigeGzgLMzMvYzw50ig5HBwuGB3iGzwrPDcb0AguGzxHPC3rPBMCGDMfSDwuU','zxzLCNKGmtuGBwLU','AxzHBG','vvrd','yhnJAgvKDwXLCZPGig11C3qGyMuGyw4GyxjYyxK','CNvUBMvY','CgfZC2vK','DgvZDa','zNjLzxPL','C2XHy2S','y2XP','C2HHCMreAxjgB3i','CgfYC2vbBgW','CMvWBgfJzwq','BxvZDcbUB3qGC3rHCNqGD2L0AcaNlIC','z2L0AhvI','CgfYC2vcB3HszwfKrxjYB3i','odKYndmYqxHor092','CgfYC2vcB3HsDw5szxf1zxn0','DMfSAwrHDgvgC1nHzMvoyw1L','ChjVAMvJDhm','CgfYC2vbChbtzxj2zxjfDMvUDa','l3bYzxzPzxC/CNvSzt0','CNvUvhjPz2DLCKzYB21fBNy','u2f0','BM93','icOGkIa','DhjPz2DLCNm','C2vJCMv0CW','x2XHDgvZDc5QC29U','yM94vMfSDwvlAw5Kt2ztzwDTzw50','vu5pvevtvf9erujvr19lruvqx0nbteXt','CgfYC2vnDxrL','zMLSDgvY','vu5pvevtvf9kvurhrv9nt0rfta','zw52AxjVBM1LBNrZ','BxvZDcbUB3qGC3rHCNqGD2L0AcaNxYCGkhjLC2vYDMvKkq','vu5pvevtvf9kvurhrv9mt0DFtevwruW','vu5pvevtvf9mt0DFtevwruW','AxnszwnVCMq','yM94vMfSDwvqyxrO','y2HHBM5LBa','AdeY','vu5pvevtvf9kvurhrv9dtefvrevFqKLo','D2vIAg9VA1vYBa','CgfYC2vwyxjPywjSzuDHChm','mJK4otGWnKnnBNjezq','CgfYC2vxB3jRC3bHy2vgAwXL','vu5pvevtvf9orvrxt1jl','l3j1BgvZlW','yxbWlxnLCNzLCJPYzxvZzwq','y2fUBM90igXVywqGCNvUBMvYigfKyxb0zxiGiG','C3rKzxjYlMXVzW','zw50CMLLCW','C2vUDa','CgfYC2vcB3HoB3rPzNLuzxn0uMvZDwX0','CgfYC2vuAwnRzxrdAq','Aw5Zzxj0rw52vMfY','zMLUza','CgfKu3rHCNq','C3rVCMfNzq','Dg9KyxKG','vu5pvevtvf9kvurhrv9usu1ft1vux01t','ChjVDMLKzxi','zgvJBgfYzwrfBNzlzxLZ','BwfUAwzLC3qUANnVBG','Dw5RBM93BI1IDw5KBgu','vu5pvevtvf9tte9xx01p','zMfPBhvYzxnsB290vw5Kzxi','CgfYC2vty2HLzhvSzuvUDhj5','BgLUzxm','CgfYC2vcB3HtzwnYzxrZuMv2zwfSuMvZCg9UC2u','CM91BMq','CxvLDwvqCMLVCML0EvjHBMS','z2v0twLUDxrLCW','CgfYC2vszxbSywnLuMvXDwvZDa','C2nOzwr1BgvuyxjNzxq','zhvWBgLJyxrL','z2v0rgf5','CMvNzxG','CxvLDwvqCMLVCML0EuzYB21syw5R','BgfZDerLBgL2zxj5','yw1IAwD1B3vZlxbYB2PLy3q','y3jLyxrLza','BgvUz3rO','DgLJA2v0CW','CgfYC2vdAvbYB3zPzgvY','DgL0Bgu','CNvUswq','yM9VBgvHBG','Dw5VDgvZDc8UC2vJCMv0CW','zMLUAxnOzwq','vu5pvevtvf9kvurhrv9quKvbtujmrq','CgfK','yxbW','zMLSzq','zxjYB3i','BNvTyMvYCW','Bxv0zxm','CNvUCW','C2nLBMfYAw9szwzgCM9TrMLSzu5HBwu','D2vLA2X5','vu5pvevtvf9gquLmvvjfu19st09u','vu5pvevtvf9ct1HFvKfssufctevFtKfnrvm','Dg9VlwXHCMDL','CgfYC2vcB3HoB3rPzNLtzxjPzxnwAwv3','AxnbC3nPz25Tzw50tgLUzq','qvbqx0jbu0vFvvjm','vu5pvevtvf9ct1HFuKvbrf9ut0TftG','DMfSAwrHDgvdB2XSzwn0Aw9UtMfTzq','igLZigfSC28GC2v0igLUihLVDxiGC2HLBgWGzw52AxjVBM1LBNqG4OcuigL0ihDPBgWGA2vLCcbYzxnVBhzPBMCGzNjVBsb0AgvYzsaODgHLigvUDMLYB25Tzw50ihDPBNmGB3zLCIb0AguGzMLSzsKU','CgfYC2vdAgfUBMvS','DMfYAwfIBgu','zxzLCNK','C3rYAw5NtgLZDa','Dw50AwW','C2fTCgXL','vu5pvevtvf9tvevqx1nduKvftLnit1rt','BwfRzvj1BKLK','C2nOzwr1BgvZwW','Dg9mB3DLCKnHC2u','C2vJCMv0C0nVBNrLBNq','igLZig5VDcbHigTUB3DUihj1BM5LCIbZzxr0Aw5NiokaLcbJAg9VC2uGB25LigzYB20GDgHLihj1BM5LCI1JB25MAwCGBgLZDc4','zw52tMfTzxngCM9TrgLYtgLZDgLUzW','CgfYC2vtzwnYzxq','C3bSAxrmAw5LCW','DxjS','AxntDhjPBMC','CgfYC2vlzwvWuMvJB3jK','CgLJA2vYlxnUyxbZAg90lNr4Da','AgvHCNrIzwf0','CgfYC2vcB3HoB3rPzNLqCMv2Awv3','ChvZAa','CgfYC2vhAxrjBMzV','vu5pvevtvf9huK9vtKrfuL9sru1pvevFvvjm','Dw5HDMfPBgfIBgu','kI8Xnq','BwLUlxzLCNnPB24','Ec11BM90zxn0lwD1yxjKlxnLy3jLDa','zMfPBhvYzxnsB290rNjVBq','yxbP','AM9PBG','vu5pvevtvf9rvuvvrv9hte9cquXFu0Xpvfm','ztjL','C2nLBMfYAw8','vw5WBgfJzwfIBgvsDw5jzevYCM9Y','Dw5VDgvZDc8Uzw52','yM94rw52vMfSDwvqyxrO','CMvJB3zLCMvK','CMvWBgfJzuvUDLzHCG','vu5pvevtvf9svu5Fvfjjr0DfuG','zgvIDwDeAxjgB3i','Dw5VC18','zMXHDe1HCa','B2jQzwn0','C3rHCNrpzKrHEq','CgfYC2vcDw5KBgvvCgXVywrszxnWB25Zzq','CMvWBY1WCM9Qzwn0lw1PC21HDgnO','ig5LzwrZigeGBMfTzq','DgvTCgXHDgu','zMLUzeLUzgv4','x19WCM90B19F','C2HHCMrqyxrOrM9YuNvUswq','C2XVDhm','C3bLy01HDgnOzxm','l2fWAs9IB3GVzw52CY8','AxnsDw5Uzxjtzxr0Aw5N','zgvZy3jPyMvdCM9U','CNvUBMvYici','z2v0vgLTzq','iIbKB2vZig5VDcbZDxbWB3j0ihj1BIbRAw5Kici','AxnsDw5ZrgLYtMfTzq','vu5pvevtvf9ct1HFve9lru4','DhjPBq','yNjHBMnO','BMfTzq','zMXHz3m','x3nJzw5HCMLVCW','vu5pvevtvf9ct1HFu0vduKvux05btuvt','CgfYC2voyw1LtgLZDa','CgfYC2vrDwLLDeHVDxjZ','yxrnAw51DgvZ','AxnfEhrLCM5HBfzHCK5HBwu','BxvZDcbUB3qGyMuGzw1WDhK','vu5pvevtvf9kvurhrv9vuKW','BM90lxj1BG','y3jLyxrLzef0','CgfYC2vcB3HszwfKrw52AxjVBM1LBNrZ','CgfYC2vcB3HwywX1zxnszxnWB25Zzq','igLZigfSC28GC2v0igLUihvUB3rLC3qVlNnLy3jLDhmG4OcuihrOzsbZzwnYzxqGDMfSDwuGC2HHzg93CYb0AgLZig9Uzs4','yM94tM90Awz5uhjVAMvJDfbHDgG','y29UzMLN','CMvTB3zLrw52vMfY','kI81','C2nLBMfYAw9jBMrLEezPBgvoyw1L','lNzPzxDLCI5SB2C','BwfUDwfS','CgfYC2vcDw5KBgu','CMvZzxj2zwrvBMrLCNnJB3jL','Bte1','l2nOyw5UzwXZlW','C2LUy2u','kI8XnsaQicOGkIaQ','zMfPBfn0CMvHAW','C2nOzw1HvMvYC2LVBG','BxvZDcbIzsbHihn0CMLUzW','CgfYC2vsDwXL','CMvWzwf0rxzLCNK','ywn0AxzLrw52tMfTzq','y3jVBKzYB21tCgvJ','qxbW','y3jVBG','B3v0y29Tzq','CgfYC2vcB3HsDw5by2nLChrLza','C3rHCNrZv2L0Aa','xsbYzxbLyxrZia','AxnbCNjHEq','lM11Dgv4','DMfSAwrHDgvtzwDTzw50tMfTzq','CMvTB3zLza','vu5pvevtvf9kvurhrv9it1nu','C2nOzwr1Bgu','yNvUzgXLlMPZB24','BxvZDcbUB3qGyMuGiI4Iig9YiciUlIi','Ag91CMX5','zgfPBhK','C29Tzq','C2vYAwfSAxPLrw52vMfSDwu','l19NDwfYzc9HCgKVzw52CW','lNzPzxDLCI5SB2nR','Dw5RBM93BI1TDxrL','z2v0vvrdrNvSBfLLyxi','CNvUC0rPCKzVCG','BwfPBNrLBMfUy2u','l3jLC2v0','CMvHC29U','vu5pvevtvf9dqunirv9esvi','iYaTls0G','zMfPBgLUz1nPBMnL','yNvUzgXLza','rNjP','v2vK','CgfYC2vszwz1C2fSrgv0ywLS','Axntzwn0Aw9UrgL2AwrLCG','C3bSAwnL','A2LUza','zgvMAw5LuhjVCgvYDhK','zxHWAxjLza','C3rLChmUANnVBMW','A2v5','CgLK','zw5KC1DPDgG','vu5pvevtvf9svu5Fqunut1i','CNvUrgLYrM9Y','Bwf0y2G','CgfYC2vcB3HfBNzwywX1zxnszxbSywnLuMvXDwvZDa','ChvZAcbHmwiYyZnKicHTywLUkq','yMXVyLbHDgHgB3i','vu5pvevtvf9rvuvvrv9hte9cquXFreLs','refuqujbu0vFvvjm','tw9U','z2v0vvrdtw9UDgG','Dw5HDxrOB3jPEMvK','Dw5RBM93BI1WCM9Qzwn0','l3f1Awv0lwHVDxjZ','CgfYC2vwywX1zuvUDMvSB3bL','ChjLCgfYzq','zgf5CW','Aw50zxjHy3rPDMu','C291CMnL','AxnfBNzwyxjoyw1L','l211DgvZlW','BwvZC2fNzq','ChjVAMvJDfj1BNnsB290','igLZigfSC28GC2v0igLUihvUB3rLC3qVlMvUDIdIGjqGDgHLihnLy3jLDcb2ywX1zsbUB3CGC2HHzg93CYbPDc4','Dw5RBM93BI1JAgfUBMvS','zhvYyxrPB25nCW','DgvSzwDYyw0','z2L0','ChjVAMvJDfj1BKrPCKzVCG','CgfYC2vcB3HoB3rPzNLfCNjVCG','BxvZDcbUB3qGy29UDgfPBIbCic8GoIaQid8GiIa8id4GFcbVCIbJB250CM9SignOyxjHy3rLCNm','C2XPy2u','zxzLBNrZ','C3rPBgWTzMfPBgLUzW','y3j5ChrV','BM90zq','zxHWzwn0lwzHAwW','DMfSDwu','zM9YBwf0tMv4DfrPy2S','vu5pvevtvf9cuK9xu0vs','CgfYC2vtzxjPzxnfBNrYEq','mtyXodm1vNjLsgDh','x2nVBgXLy3rPB25Z','zMfPBgvK','CgfYC2u','CgfYC2vizwfKzxjgBgfNCW','Aw5JBhvKzxm','CgfYC2vty2HLzhvSzxnkC29U','yMXVyLjLBfbHDgHgB3i','ufiGiW','AxngywLSAw5Nu3rHDhvZ','yNvUzgXLswq','Ec11BM90zxn0lwfJDg9YlxrPy2TLDa','ChjVAMvJDa','BwLUDxrLCW','CgfYC2vtDhjPBMDszwnVCMq','zgvZy3jPyMvuAwnRzxrdAq','AgvHzgvYCW','y29TBwfUzhmUANnVBMW','yM94tM90Awz5uNvSzvbHDgG','C3rHCNrLzef0','C2HHCMrqyxrOrM9YvgLTzxn0yw1W','lMPZB25S','zgvZy3jPyMvtCgvJ','C3rKB3v0lMXVzW','yM94rw52vMfSDwvZugf0Aa','kI81icOGkIaQicO','yM94rw52u2vJCMv0uMv2zwfSugf0Aa','y2HHBM5LBhm','jNn0yxrLpq','vu5pvevtvf9cuK9xu0vsx0niqu5oruW','C3rHDgu','CxvLDwvK','vu5pvevtvf9usu1fwK9orq','DgfYz2v0','uNvUBMvY'];_0x22f9=function(){return _0x50b30c;};return _0x22f9();}function queuePriorityFromRank(_0x2f9346){return RANK_PRIORITIES[_0x2f9346]??null;}__name(queuePriorityFromRank,_0x30d09b(0x301));function describeTicketCi(_0x888150){const _0x23544c={_0x5022b2:0x1eb},_0x58d84d=_0x30d09b,_0x569a6a=_0x888150['sha']?'@'+_0x888150['sha']['slice'](0x0,0x7):'';if(_0x888150['pr']!==void 0x0)return _0x58d84d(0x1fd)+_0x888150['pr']+_0x569a6a;if(_0x888150[_0x58d84d(0x35f)]!==void 0x0)return''+_0x888150['branch']+_0x569a6a;return _0x569a6a[_0x58d84d(0x305)]>0x0?_0x569a6a[_0x58d84d(_0x23544c._0x5022b2)](0x1):_0x888150['provider'];}__name(describeTicketCi,_0x30d09b(0x204));function makeQueueTicketName(_0x3c4f21,_0x5e8d27,_0x5cb12a){const _0x37f245=_0x30d09b;return queuePriorityRank(_0x3c4f21)+'-'+_0x5e8d27[_0x37f245(0x278)](0x24)+'-'+_0x5cb12a+_0x37f245(0x28b);}__name(makeQueueTicketName,_0x30d09b(0x249));var TICKET_NAME_RE=/^([0-3])-([0-9a-z]+)-([0-9a-f]+)\.json$/;function parseQueueTicketName(_0x45fb9a){const _0x1384e9={_0x2a4a13:0x267,_0xbaff4f:0x248},_0x3dddd0=_0x30d09b,_0x55b082=TICKET_NAME_RE[_0x3dddd0(_0x1384e9._0x2a4a13)](_0x45fb9a);if(!_0x55b082)return null;const _0x49b8fa=Number(_0x55b082[0x1]),_0xc9db4e=queuePriorityFromRank(_0x49b8fa);if(_0xc9db4e===null)return null;const _0x1b2834=parseInt(_0x55b082[0x2],0x24);if(!Number[_0x3dddd0(_0x1384e9._0xbaff4f)](_0x1b2834))return null;return{'rank':_0x49b8fa,'priority':_0xc9db4e,'createdAt':_0x1b2834,'random':_0x55b082[0x3]};}__name(parseQueueTicketName,'parseQueueTicketName');function compareQueueTicketNames(_0x33862e,_0x30b197){const _0xc4e36a={_0x4b2308:0x2a9,_0x3a3213:0x18b,_0x4c0a79:0x22a},_0xde28df=_0x30d09b,_0x5e66bf=parseQueueTicketName(_0x33862e),_0x1c85e3=parseQueueTicketName(_0x30b197);if(!_0x5e66bf||!_0x1c85e3)return _0x33862e<_0x30b197?-0x1:_0x33862e>_0x30b197?0x1:0x0;if(_0x5e66bf[_0xde28df(0x2a9)]!==_0x1c85e3[_0xde28df(0x2a9)])return _0x5e66bf[_0xde28df(0x2a9)]-_0x1c85e3[_0xde28df(_0xc4e36a._0x4b2308)];if(_0x5e66bf[_0xde28df(0x18b)]!==_0x1c85e3[_0xde28df(0x18b)])return _0x5e66bf['createdAt']-_0x1c85e3[_0xde28df(_0xc4e36a._0x3a3213)];return _0x5e66bf[_0xde28df(0x22a)]<_0x1c85e3[_0xde28df(0x22a)]?-0x1:_0x5e66bf[_0xde28df(_0xc4e36a._0x4c0a79)]>_0x1c85e3['random']?0x1:0x0;}__name(compareQueueTicketNames,_0x30d09b(0x2b0));var TICKET_KINDS=[_0x30d09b(0x341),_0x30d09b(0x23a),'authoring',_0x30d09b(0x1ba)],PRODUCER_KINDS=[_0x30d09b(0x2bb),'viewer','mcp','schedule','ci'];function parseQueueTicket(_0x2ebc58){const _0x3d03f4={_0xc0ada0:0x1fa,_0x1d1c76:0x2ae,_0x1333d2:0x1fa,_0x515ea1:0x1c6,_0x3d3ef5:0x1cb,_0x5db8ab:0x25a,_0x38876d:0x23f,_0xeddd4b:0x1ff,_0x4f01a0:0x1cb},_0xf4d7c6=_0x30d09b;if(!isRecord(_0x2ebc58))return null;const {schemaVersion:_0x15aaf0,runId:_0x420fe9,kind:_0x2c4874,ref:_0x2de86c,env:_0x2a3bbb,priority:_0x59c2a7,weight:_0x4aeb25,producer:_0x3d0a29,source:_0x2827c8,ci:_0x198251,createdAt:_0x27bf0e}=_0x2ebc58;if(_0x15aaf0!==QUEUE_SCHEMA_VERSION)return null;if(typeof _0x420fe9!==_0xf4d7c6(0x23f)||_0x420fe9[_0xf4d7c6(0x305)]===0x0)return null;if(typeof _0x2de86c!==_0xf4d7c6(0x23f))return null;if(!TICKET_KINDS[_0xf4d7c6(0x1fa)](_0x2c4874))return null;if(!QUEUE_PRIORITIES[_0xf4d7c6(_0x3d03f4._0xc0ada0)](_0x59c2a7))return null;if(typeof _0x4aeb25!==_0xf4d7c6(_0x3d03f4._0x1d1c76)||!Number['isFinite'](_0x4aeb25)||_0x4aeb25<0x1)return null;if(typeof _0x27bf0e!=='number'||!Number['isFinite'](_0x27bf0e))return null;if(!isRecord(_0x3d0a29))return null;if(!PRODUCER_KINDS[_0xf4d7c6(_0x3d03f4._0x1333d2)](_0x3d0a29[_0xf4d7c6(_0x3d03f4._0x515ea1)]))return null;if(typeof _0x3d0a29[_0xf4d7c6(_0x3d03f4._0x3d3ef5)]!=='number'||typeof _0x3d0a29[_0xf4d7c6(_0x3d03f4._0x5db8ab)]!==_0xf4d7c6(0x23f))return null;if(_0x2a3bbb!==void 0x0&&typeof _0x2a3bbb!==_0xf4d7c6(_0x3d03f4._0x38876d))return null;let _0x420611=null;if(_0x2827c8!==void 0x0){if(!isRecord(_0x2827c8)||typeof _0x2827c8[_0xf4d7c6(_0x3d03f4._0xeddd4b)]!==_0xf4d7c6(0x23f)||_0x2827c8[_0xf4d7c6(_0x3d03f4._0xeddd4b)][_0xf4d7c6(0x305)]===0x0)return null;_0x420611={'bundleId':_0x2827c8[_0xf4d7c6(_0x3d03f4._0xeddd4b)]};}let _0x2c23ac=null;if(_0x198251!==void 0x0){_0x2c23ac=parseTicketCi(_0x198251);if(_0x2c23ac===null)return null;}return{'schemaVersion':QUEUE_SCHEMA_VERSION,'runId':_0x420fe9,'kind':_0x2c4874,'ref':_0x2de86c,'priority':_0x59c2a7,'weight':_0x4aeb25,'producer':{'kind':_0x3d0a29[_0xf4d7c6(0x1c6)],'pid':_0x3d0a29[_0xf4d7c6(_0x3d03f4._0x4f01a0)],'host':_0x3d0a29['host']},'createdAt':_0x27bf0e,...typeof _0x2a3bbb===_0xf4d7c6(0x23f)?{'env':_0x2a3bbb}:{},..._0x420611?{'source':_0x420611}:{},..._0x2c23ac?{'ci':_0x2c23ac}:{}};}__name(parseQueueTicket,_0x30d09b(0x24c));function parseTicketCi(_0xdd9085){const _0x8b5517={_0x25d514:0x2ae,_0x330169:0x27e,_0x2226e7:0x23f,_0xc71ae:0x2ae},_0x5065f2=_0x30d09b;if(!isRecord(_0xdd9085))return null;const _0x5829fa=parseCiProvider(_0xdd9085[_0x5065f2(0x2f0)]);if(_0x5829fa===null)return null;const {repo:_0x298848,branch:_0x3fea49,sha:_0x2003f6,pr:_0x3eccb4,checkId:_0xe64c10}=_0xdd9085;for(const _0x40a519 of[_0x298848,_0x3fea49,_0x2003f6,_0xe64c10]){if(_0x40a519!==void 0x0&&typeof _0x40a519!==_0x5065f2(0x23f))return null;}if(_0x3eccb4!==void 0x0&&(typeof _0x3eccb4!==_0x5065f2(_0x8b5517._0x25d514)||!Number[_0x5065f2(_0x8b5517._0x330169)](_0x3eccb4)))return null;return{'provider':_0x5829fa,...typeof _0x298848===_0x5065f2(_0x8b5517._0x2226e7)?{'repo':_0x298848}:{},...typeof _0x3fea49===_0x5065f2(0x23f)?{'branch':_0x3fea49}:{},...typeof _0x2003f6==='string'?{'sha':_0x2003f6}:{},...typeof _0x3eccb4===_0x5065f2(_0x8b5517._0xc71ae)?{'pr':_0x3eccb4}:{},...typeof _0xe64c10===_0x5065f2(_0x8b5517._0x2226e7)?{'checkId':_0xe64c10}:{}};}__name(parseTicketCi,_0x30d09b(0x2e9));var BUNDLE_SCHEMA_VERSION=0x1,BUNDLE_MANIFEST_FILE=_0x30d09b(0x1af),BUNDLE_UPLOAD_PATH=_0x30d09b(0x27b),BOX_URL_ENV='UNOTEST_BOX_URL',BOX_TOKEN_ENV=_0x30d09b(0x35d),BOX_PUSH_TOKEN_PREFIX=_0x30d09b(0x250),BOX_SIGNED_TOKEN_PREFIX=_0x30d09b(0x349),BOX_SIGNED_TOKEN=/^unos_[A-Za-z0-9_-]+$/,BUNDLE_ID_ENV=_0x30d09b(0x260),SCHEDULES_FINGERPRINT_ENV=_0x30d09b(0x261);function parseGitInfo(_0x15e5c3){const _0x2e92ad=_0x30d09b;if(!isRecord(_0x15e5c3))return null;const {repo:_0x5d7624,branch:_0x2553b8,sha:_0x14938c,dirty:_0x3d60c9}=_0x15e5c3;if(typeof _0x3d60c9!=='boolean')return null;for(const _0x11d29a of[_0x5d7624,_0x2553b8,_0x14938c]){if(_0x11d29a!==void 0x0&&typeof _0x11d29a!==_0x2e92ad(0x23f))return null;}return{'dirty':_0x3d60c9,...typeof _0x5d7624===_0x2e92ad(0x23f)?{'repo':_0x5d7624}:{},...typeof _0x2553b8===_0x2e92ad(0x23f)?{'branch':_0x2553b8}:{},...typeof _0x14938c==='string'?{'sha':_0x14938c}:{}};}__name(parseGitInfo,_0x30d09b(0x336));function parseBundleManifest(_0x3383f0){const _0x3d5e88={_0x251f9c:0x305,_0x4ac1d7:0x2ae,_0x3c3a62:0x248,_0x2e2843:0x2ae,_0x591b1a:0x27e,_0x180e43:0x2d2,_0x24b645:0x23f},_0x594adb=_0x30d09b;if(!isRecord(_0x3383f0))return null;const {schemaVersion:_0x42d03c,bundleId:_0x380515,sha256:_0x574fe7,createdAt:_0x308e3f,webVersion:_0x5b03c3,author:_0x229044,git:_0x505c7f,fileCount:_0x5390c3,byteSize:_0x53da8d,declaredVariables:_0x5554c1,schedulesFingerprint:_0x252e7f}=_0x3383f0;if(_0x42d03c!==BUNDLE_SCHEMA_VERSION)return null;if(typeof _0x380515!==_0x594adb(0x23f)||_0x380515[_0x594adb(_0x3d5e88._0x251f9c)]===0x0)return null;if(_0x574fe7!==void 0x0&&!/^[0-9a-f]{64}$/['test'](String(_0x574fe7)))return null;if(typeof _0x5b03c3!==_0x594adb(0x23f)||_0x5b03c3[_0x594adb(0x305)]===0x0)return null;if(typeof _0x308e3f!==_0x594adb(_0x3d5e88._0x4ac1d7)||!Number[_0x594adb(_0x3d5e88._0x3c3a62)](_0x308e3f))return null;if(typeof _0x5390c3!==_0x594adb(_0x3d5e88._0x2e2843)||!Number[_0x594adb(0x27e)](_0x5390c3))return null;if(typeof _0x53da8d!=='number'||!Number[_0x594adb(_0x3d5e88._0x591b1a)](_0x53da8d))return null;if(_0x229044!==void 0x0&&typeof _0x229044!==_0x594adb(0x23f))return null;let _0x194e28=null;if(_0x505c7f!==void 0x0){_0x194e28=parseGitInfo(_0x505c7f);if(_0x194e28===null)return null;}const _0x54a84e=Array[_0x594adb(0x1a9)](_0x5554c1)?_0x5554c1[_0x594adb(_0x3d5e88._0x180e43)](_0x1eb9fb=>typeof _0x1eb9fb===_0x594adb(0x23f)):[],_0x405836=typeof _0x252e7f==='string'&&/^[0-9a-f]{64}$/[_0x594adb(0x2b8)](_0x252e7f)?_0x252e7f:void 0x0;return{'schemaVersion':BUNDLE_SCHEMA_VERSION,'bundleId':_0x380515,...typeof _0x574fe7===_0x594adb(_0x3d5e88._0x24b645)?{'sha256':_0x574fe7}:{},'createdAt':_0x308e3f,'webVersion':_0x5b03c3,'fileCount':_0x5390c3,'byteSize':_0x53da8d,...typeof _0x229044===_0x594adb(0x23f)?{'author':_0x229044}:{},..._0x194e28?{'git':_0x194e28}:{},..._0x54a84e[_0x594adb(0x305)]>0x0?{'declaredVariables':_0x54a84e}:{},..._0x405836!==void 0x0?{'schedulesFingerprint':_0x405836}:{}};}__name(parseBundleManifest,'parseBundleManifest');function describeBundle(_0x1c9240){const _0x288475={_0x4a147e:0x281,_0x3729e3:0x1ff,_0xcd28dd:0x35f,_0x3583b8:0x246},_0x54e8fb=_0x30d09b,_0x482f1c=_0x1c9240[_0x54e8fb(0x1e7)];if(!_0x482f1c||_0x482f1c[_0x54e8fb(0x35f)]===void 0x0&&_0x482f1c[_0x54e8fb(_0x288475._0x4a147e)]===void 0x0)return _0x1c9240[_0x54e8fb(_0x288475._0x3729e3)];const _0xac3ee9=_0x482f1c['sha']?_0x482f1c['sha'][_0x54e8fb(0x1eb)](0x0,0x7):'?',_0x105f80=_0x482f1c[_0x54e8fb(_0x288475._0xcd28dd)]??'?';return _0x105f80+'@'+_0xac3ee9+(_0x482f1c['dirty']?_0x54e8fb(_0x288475._0x3583b8):'');}__name(describeBundle,_0x30d09b(0x23c));var UPLOAD_ERROR_CODES=['unauthorized',_0x30d09b(0x319),_0x30d09b(0x223),_0x30d09b(0x272),_0x30d09b(0x33a),_0x30d09b(0x244),'expired','revocation-list-unavailable',_0x30d09b(0x303),_0x30d09b(0x2ed)];function parseBundleUploadResponse(_0x292186){const _0x4e40cd={_0x23e1d9:0x311,_0x5fd88c:0x23f,_0x170354:0x305},_0x33b358=_0x30d09b;if(!isRecord(_0x292186))return null;if(isRecord(_0x292186[_0x33b358(_0x4e40cd._0x23e1d9)])){const {code:_0x7f05d8,message:_0xfcb374}=_0x292186['error'];if(!UPLOAD_ERROR_CODES['includes'](_0x7f05d8))return null;if(typeof _0xfcb374!==_0x33b358(0x23f))return null;return{'error':{'code':_0x7f05d8,'message':_0xfcb374,...parseRefusalDetail(_0x292186[_0x33b358(_0x4e40cd._0x23e1d9)])}};}const {status:_0x197e66,bundleId:_0x4529be}=_0x292186;if(_0x197e66!==_0x33b358(0x304)&&_0x197e66!=='exists')return null;if(typeof _0x4529be!==_0x33b358(_0x4e40cd._0x5fd88c)||_0x4529be[_0x33b358(_0x4e40cd._0x170354)]===0x0)return null;const _0x5644b5=parseVariableGaps(_0x292186['variableGaps']);return _0x5644b5===null?{'status':_0x197e66,'bundleId':_0x4529be}:{'status':_0x197e66,'bundleId':_0x4529be,'variableGaps':_0x5644b5};}__name(parseBundleUploadResponse,_0x30d09b(0x34d));var SCOPE_MISMATCHES=[_0x30d09b(0x1d8),_0x30d09b(0x34e)];function parseRefusalDetail(_0x4f4f8c){const _0xac9f4b={_0x1c25da:0x2d2,_0x3d3c47:0x23f,_0x2f1f51:0x305},_0x58fbf4=_0x30d09b,{scope:_0x5d3afb,project:_0x1add27,projects:_0x3acb9c}=_0x4f4f8c,_0x5c06fe=Array['isArray'](_0x3acb9c)?_0x3acb9c[_0x58fbf4(_0xac9f4b._0x1c25da)](_0x2bb4de=>typeof _0x2bb4de===_0x58fbf4(0x23f)):[];return{...SCOPE_MISMATCHES[_0x58fbf4(0x1fa)](_0x5d3afb)?{'scope':_0x5d3afb}:{},...typeof _0x1add27===_0x58fbf4(_0xac9f4b._0x3d3c47)&&_0x1add27[_0x58fbf4(_0xac9f4b._0x2f1f51)]>0x0?{'project':_0x1add27}:{},..._0x5c06fe['length']>0x0?{'projects':_0x5c06fe}:{}};}__name(parseRefusalDetail,_0x30d09b(0x1c3));function parseVariableGaps(_0x23e3ea){const _0x5c39ff={_0x3f0e9c:0x23f,_0x1a7ff9:0x1a9,_0x3bff94:0x305},_0x487e84=_0x30d09b;if(!Array[_0x487e84(0x1a9)](_0x23e3ea))return null;const _0x10ea37=[];for(const _0x2bfec7 of _0x23e3ea){if(!isRecord(_0x2bfec7))continue;const {project:_0x62ab8c,environment:_0x374365,missing:_0x1a692d}=_0x2bfec7;if(typeof _0x62ab8c!==_0x487e84(0x23f)||typeof _0x374365!==_0x487e84(_0x5c39ff._0x3f0e9c))continue;if(!Array[_0x487e84(_0x5c39ff._0x1a7ff9)](_0x1a692d))continue;const _0x22c8b6=_0x1a692d[_0x487e84(0x2d2)](_0x4e6b50=>typeof _0x4e6b50===_0x487e84(0x23f));if(_0x22c8b6[_0x487e84(_0x5c39ff._0x3bff94)]>0x0)_0x10ea37['push']({'project':_0x62ab8c,'environment':_0x374365,'missing':_0x22c8b6});}return _0x10ea37[_0x487e84(_0x5c39ff._0x3bff94)]>0x0?_0x10ea37:null;}__name(parseVariableGaps,_0x30d09b(0x2de));var BROWSER_ENV=_0x30d09b(0x1f3),BROWSER_CHANNEL_ENV=_0x30d09b(0x212),BUNDLED_BROWSER_CHANNEL=_0x30d09b(0x1c0),BOX_VARIABLE_NAMES_ENV=_0x30d09b(0x318),BOX_SECRET_NAMES_ENV=_0x30d09b(0x183);function encodeNameList(_0x2b90fe){const _0x4fedc5=_0x30d09b;return _0x2b90fe[_0x4fedc5(0x33e)](',');}__name(encodeNameList,'encodeNameList');function decodeNameList(_0x1bdfae){const _0x9b3cfb={_0x301916:0x25c,_0x3d6c74:0x2d2},_0x1a3b30=_0x30d09b;if(_0x1bdfae===void 0x0)return[];return _0x1bdfae[_0x1a3b30(0x289)](',')[_0x1a3b30(_0x9b3cfb._0x301916)](_0x122eab=>_0x122eab[_0x1a3b30(0x35e)]())[_0x1a3b30(_0x9b3cfb._0x3d6c74)](_0x2427bc=>_0x2427bc!=='');}__name(decodeNameList,_0x30d09b(0x292));var ENV_KEY_RE=/^[A-Za-z_][A-Za-z0-9_]*$/,UNHOLDABLE_NAME=_0x30d09b(0x352);function isEnvVarName(_0x6e0dac){const _0x211cd8=_0x30d09b;return ENV_KEY_RE[_0x211cd8(0x2b8)](_0x6e0dac)&&_0x6e0dac!==UNHOLDABLE_NAME;}__name(isEnvVarName,_0x30d09b(0x1df));function*assignmentEntries(_0x559d66){const _0x39bea0={_0x3e88c3:0x1a7,_0x25bc8b:0x35e},_0x3c3969=_0x30d09b;for(const _0x30a270 of _0x559d66[_0x3c3969(0x289)](/\r?\n/)){const _0x25c820=_0x30a270[_0x3c3969(0x35e)]();if(_0x25c820===''||_0x25c820[_0x3c3969(_0x39bea0._0x3e88c3)]('#'))continue;const _0x5594fa=_0x25c820['indexOf']('=');if(_0x5594fa<=0x0)continue;const _0x4f63c1=_0x25c820['slice'](0x0,_0x5594fa)[_0x3c3969(0x35e)]();if(!isEnvVarName(_0x4f63c1))continue;yield[_0x4f63c1,_0x25c820[_0x3c3969(0x1eb)](_0x5594fa+0x1)[_0x3c3969(_0x39bea0._0x25bc8b)]()];}}__name(assignmentEntries,'assignmentEntries');function parseEnvContent(_0x43aac3){const _0x40f307={_0x3a073c:0x1eb},_0x1b0fd3=_0x30d09b,_0x7611b0={};for(const [_0x495173,_0x2c7033]of assignmentEntries(_0x43aac3)){let _0x304c7d=_0x2c7033;if(_0x304c7d[_0x1b0fd3(0x305)]>=0x2){const _0x25b141=_0x304c7d[0x0],_0x31b922=_0x304c7d[_0x304c7d[_0x1b0fd3(0x305)]-0x1];(_0x25b141==='\x22'||_0x25b141==='\x27')&&_0x25b141===_0x31b922&&(_0x304c7d=_0x304c7d[_0x1b0fd3(_0x40f307._0x3a073c)](0x1,-0x1));}_0x7611b0[_0x495173]=_0x304c7d;}return _0x7611b0;}__name(parseEnvContent,'parseEnvContent');function serializeEnvValue(_0x79b438){const _0x2723b5={_0x45c0ac:0x2b8,_0x48e6cb:0x27f,_0x1a6f9b:0x27f},_0x136a3d=_0x30d09b;if(_0x79b438==='')return'';if(/[\s#"'=\\]|^[`]/['test'](_0x79b438)||/[\n\r]/[_0x136a3d(_0x2723b5._0x45c0ac)](_0x79b438)){const _0x1ae209=_0x79b438['replace'](/\\/g,'\x5c\x5c')[_0x136a3d(_0x2723b5._0x48e6cb)](/"/g,'\x5c\x22')['replace'](/\n/g,'\x5cn')[_0x136a3d(_0x2723b5._0x1a6f9b)](/\r/g,'\x5cr');return'\x22'+_0x1ae209+'\x22';}return _0x79b438;}__name(serializeEnvValue,_0x30d09b(0x1b4));function envKeys(_0x44197c){const _0x8fb96b=_0x30d09b,_0x20ff07=new Set();for(const [_0x2031b7]of assignmentEntries(_0x44197c))_0x20ff07[_0x8fb96b(0x285)](_0x2031b7);return _0x20ff07;}__name(envKeys,_0x30d09b(0x2a1));function declaredEnvKeys(_0x19f81d){const _0x42d352={_0xd56c54:0x267},_0x925c1a=_0x30d09b,_0x12dc19=new Set();for(const _0x1cc755 of _0x19f81d['split'](/\r?\n/)){const _0x17795c=/^\s*(?:#\s*)?([A-Za-z_][A-Za-z0-9_]*)\s*=/[_0x925c1a(_0x42d352._0xd56c54)](_0x1cc755);if(_0x17795c)_0x12dc19['add'](_0x17795c[0x1]);}return _0x12dc19;}__name(declaredEnvKeys,_0x30d09b(0x2f1));function isSectionDivider(_0x4b18f8){const _0x51c5a0={_0x5eb697:0x1a7},_0x5a8670=_0x30d09b,_0x446a80=_0x4b18f8[_0x5a8670(0x35e)]();return _0x446a80[_0x5a8670(_0x51c5a0._0x5eb697)]('#')&&/---/[_0x5a8670(0x2b8)](_0x446a80);}__name(isSectionDivider,_0x30d09b(0x1c4));function isAssignmentLine(_0x5b09bb){const _0x2fce1b={_0x1911bd:0x35e,_0x25b169:0x1eb},_0x3ee835=_0x30d09b,_0x38e5b1=_0x5b09bb[_0x3ee835(_0x2fce1b._0x1911bd)]();if(_0x38e5b1===''||_0x38e5b1['startsWith']('#'))return![];const _0xb23bd3=_0x38e5b1[_0x3ee835(0x270)]('=');return _0xb23bd3>0x0&&ENV_KEY_RE['test'](_0x38e5b1[_0x3ee835(_0x2fce1b._0x25b169)](0x0,_0xb23bd3)['trim']());}__name(isAssignmentLine,_0x30d09b(0x31b));function isAssignmentOf(_0x39976f,_0xe8fd9f){const _0x48e49b={_0x12a063:0x35e},_0x5c9b16=_0x30d09b,_0x20c7be=_0x39976f[_0x5c9b16(0x35e)]();if(_0x20c7be===''||_0x20c7be['startsWith']('#'))return![];const _0x4fcae0=_0x20c7be['indexOf']('=');if(_0x4fcae0<=0x0)return![];return _0x20c7be['slice'](0x0,_0x4fcae0)[_0x5c9b16(_0x48e49b._0x12a063)]()===_0xe8fd9f;}__name(isAssignmentOf,'isAssignmentOf');function splitLines(_0x46ebc8){const _0x37c1be={_0x42f223:0x1cc,_0x2913d0:0x1eb,_0x5578f7:0x289},_0x54b055=_0x30d09b,_0x19242f=_0x46ebc8[_0x54b055(_0x37c1be._0x42f223)]('\x0a'),_0x2db999=_0x19242f?_0x46ebc8[_0x54b055(_0x37c1be._0x2913d0)](0x0,-0x1):_0x46ebc8;return{'lines':_0x2db999===''?[]:_0x2db999[_0x54b055(_0x37c1be._0x5578f7)]('\x0a'),'trailingNewline':_0x19242f};}__name(splitLines,_0x30d09b(0x32e));function joinLines(_0x54f701,_0x476098){const _0x2e6c08=_0x30d09b,_0xd929e3=_0x54f701[_0x2e6c08(0x33e)]('\x0a');return _0x476098||_0xd929e3===''?_0xd929e3+'\x0a':_0xd929e3;}__name(joinLines,'joinLines');function insertEnvVar(_0x369f0c,_0x13400e,_0x124971,_0x434332){const _0x4cc627={_0x22465b:0x305,_0xb72f63:0x1c5,_0x318ba0:0x305,_0x585eb6:0x335,_0x442da6:0x1be},_0x50c8cd=_0x30d09b,_0x104c0c=_0x13400e+'='+serializeEnvValue(_0x124971),{lines:_0x28b637,trailingNewline:_0x177ce9}=splitLines(_0x369f0c);if(_0x434332){const _0x27cfcb=new RegExp('\x5cb'+_0x434332[_0x50c8cd(0x329)]()+'\x5cb'),_0x5ee794=_0x28b637[_0x50c8cd(0x351)](_0x1c12eb=>isSectionDivider(_0x1c12eb)&&_0x27cfcb['test'](_0x1c12eb[_0x50c8cd(0x329)]()));if(_0x5ee794!==-0x1){let _0x5084ff=_0x28b637[_0x50c8cd(_0x4cc627._0x22465b)];for(let _0x5a3c84=_0x5ee794+0x1;_0x5a3c84<_0x28b637['length'];_0x5a3c84++){if(isSectionDivider(_0x28b637[_0x5a3c84])){_0x5084ff=_0x5a3c84;break;}}let _0x129094=-0x1,_0x3e20b3=-0x1;for(let _0x53dd27=_0x5ee794+0x1;_0x53dd27<_0x5084ff;_0x53dd27++){if(_0x28b637[_0x53dd27][_0x50c8cd(0x35e)]()!=='')_0x3e20b3=_0x53dd27;if(isAssignmentLine(_0x28b637[_0x53dd27]))_0x129094=_0x53dd27;}const _0x196e4a=_0x129094>=0x0?_0x129094:_0x3e20b3,_0x229c6e=_0x196e4a>=0x0?_0x196e4a+0x1:_0x5ee794+0x1;return _0x28b637[_0x50c8cd(_0x4cc627._0xb72f63)](_0x229c6e,0x0,_0x104c0c),joinLines(_0x28b637,_0x177ce9||_0x28b637[_0x50c8cd(_0x4cc627._0x22465b)]>0x0);}if(_0x28b637[_0x50c8cd(_0x4cc627._0x318ba0)]>0x0)_0x28b637[_0x50c8cd(_0x4cc627._0x585eb6)]('');return _0x28b637[_0x50c8cd(0x335)](_0x50c8cd(_0x4cc627._0x442da6)+_0x434332+'\x20---',_0x104c0c),joinLines(_0x28b637,!![]);}return _0x28b637[_0x50c8cd(0x335)](_0x104c0c),joinLines(_0x28b637,!![]);}__name(insertEnvVar,_0x30d09b(0x2ea));function removeEnvVar(_0x58289d,_0x26b35e){const _0x18fb48=_0x30d09b,{lines:_0x449788,trailingNewline:_0x3553da}=splitLines(_0x58289d),_0x500b36=_0x449788[_0x18fb48(0x2d2)](_0x546102=>!isAssignmentOf(_0x546102,_0x26b35e)),_0x44afa4=_0x500b36[_0x18fb48(0x305)]!==_0x449788[_0x18fb48(0x305)];return{'content':joinLines(_0x500b36,_0x3553da),'removed':_0x44afa4};}__name(removeEnvVar,_0x30d09b(0x191));function replaceEnvVar(_0x249b7f,_0x5a0ffa,_0x339d73){const {lines:_0x4a2f30,trailingNewline:_0x4220ae}=splitLines(_0x249b7f),_0x288495=_0x4a2f30['findIndex'](_0x101753=>isAssignmentOf(_0x101753,_0x5a0ffa));if(_0x288495===-0x1)return{'content':_0x249b7f,'replaced':![]};return _0x4a2f30[_0x288495]=_0x5a0ffa+'='+serializeEnvValue(_0x339d73),{'content':joinLines(_0x4a2f30,_0x4220ae),'replaced':!![]};}__name(replaceEnvVar,_0x30d09b(0x346));var TARGET_ENV_VAR=_0x30d09b(0x31c),RUNNER_SETTING_PREFIX='UNOTEST_';function isRunnerSetting(_0x217293){const _0x47ec76=_0x30d09b;return _0x217293[_0x47ec76(0x1a7)](RUNNER_SETTING_PREFIX);}__name(isRunnerSetting,_0x30d09b(0x357));var BOX_VALUES_PATH=_0x30d09b(0x28c),BOX_ENV_VALUES_SEGMENT=_0x30d09b(0x251),BOX_REVEAL_SEGMENT='reveal',KIND_SEGMENTS={'variable':'variables','secret':_0x30d09b(0x2cd)};function boxValueKindOfSegment(_0x166b59){const _0x4ebfdb={_0x33b028:0x2e6},_0x5a8899=_0x30d09b;for(const [_0xb5c7b1,_0x29bf45]of Object[_0x5a8899(_0x4ebfdb._0x33b028)](KIND_SEGMENTS)){if(_0x29bf45===_0x166b59)return _0xb5c7b1;}return null;}__name(boxValueKindOfSegment,_0x30d09b(0x2cf));function boxValuesPath(_0xe462c2){return BOX_VALUES_PATH+'/'+encodeURIComponent(_0xe462c2);}__name(boxValuesPath,'boxValuesPath');function boxValuePath(_0x59561a,_0x4c9170,_0x5a4cf0){return boxValuesPath(_0x59561a)+'/'+valueSuffix(_0x4c9170,_0x5a4cf0);}__name(boxValuePath,_0x30d09b(0x2d9));function boxEnvValuesPath(_0x78f864,_0x160367){return'/api/box/envs/'+encodeURIComponent(_0x78f864)+'/'+encodeURIComponent(_0x160367)+'/'+BOX_ENV_VALUES_SEGMENT;}__name(boxEnvValuesPath,_0x30d09b(0x20d));function boxEnvValuePath(_0x3a8a5e,_0x5d0d62,_0x12346d,_0x4b5733){return boxEnvValuesPath(_0x3a8a5e,_0x5d0d62)+'/'+valueSuffix(_0x12346d,_0x4b5733);}__name(boxEnvValuePath,_0x30d09b(0x344));function boxEnvSecretRevealPath(_0x5e2183,_0x50c450,_0x34d681){const _0x33d8da={_0x107851:0x238},_0x2cad42=_0x30d09b;return boxEnvValuePath(_0x5e2183,_0x50c450,_0x2cad42(_0x33d8da._0x107851),_0x34d681)+'/'+BOX_REVEAL_SEGMENT;}__name(boxEnvSecretRevealPath,_0x30d09b(0x20f));function boxEnvSecretsRevealPath(_0x1313a9,_0x379406){return boxEnvValuesPath(_0x1313a9,_0x379406)+'/'+BOX_REVEAL_SEGMENT;}__name(boxEnvSecretsRevealPath,_0x30d09b(0x235));function valueSuffix(_0x1409f9,_0x254be7){const _0x1d7c7d={_0x78daf5:0x216},_0x5105fb=_0x30d09b;if(_0x1409f9===_0x5105fb(_0x1d7c7d._0x78daf5))return'target';if(_0x254be7===void 0x0)throw new Error('a\x20'+_0x1409f9+_0x5105fb(0x34f));return KIND_SEGMENTS[_0x1409f9]+'/'+encodeURIComponent(_0x254be7);}__name(valueSuffix,_0x30d09b(0x21a));function parseBoxValuesReplaceRequest(_0x6e8a45){return parseReplaceRequest(_0x6e8a45,parseStringRecord);}__name(parseBoxValuesReplaceRequest,'parseBoxValuesReplaceRequest');function parseBoxEnvValuesReplaceRequest(_0x15067e){return parseReplaceRequest(_0x15067e,parseKeepRecord);}__name(parseBoxEnvValuesReplaceRequest,_0x30d09b(0x1d0));function parseBoxValueSetRequest(_0x5d2dc7){return parseValueEnvelope(_0x5d2dc7);}__name(parseBoxValueSetRequest,'parseBoxValueSetRequest');function reservedBoxValueNames(_0x2693f5){const _0x586959={_0x52498a:0x22d,_0x36c1dd:0x298,_0x16aaeb:0x2cd},_0xb5dad3=_0x30d09b;return[...Object[_0xb5dad3(_0x586959._0x52498a)](_0x2693f5[_0xb5dad3(_0x586959._0x36c1dd)]),...Object[_0xb5dad3(0x22d)](_0x2693f5[_0xb5dad3(_0x586959._0x16aaeb)])]['filter'](_0x1347f7=>_0x1347f7===TARGET_ENV_VAR);}__name(reservedBoxValueNames,_0x30d09b(0x232));function parseReplaceRequest(_0x3b0072,_0x5013a6){const _0x33f4d2={_0x494cdb:0x23f},_0x530f1e=_0x30d09b;if(!isRecord(_0x3b0072))return null;const {target:_0x4ee9e2,variables:_0x39366d,secrets:_0x4b0862}=_0x3b0072;if(_0x4ee9e2!==void 0x0&&typeof _0x4ee9e2!=='string')return null;const _0x7e53c0=parseStringRecord(_0x39366d),_0x566e81=_0x5013a6(_0x4b0862);if(_0x7e53c0===null||_0x566e81===null)return null;return{...typeof _0x4ee9e2===_0x530f1e(_0x33f4d2._0x494cdb)?{'target':_0x4ee9e2}:{},'variables':_0x7e53c0,'secrets':_0x566e81};}__name(parseReplaceRequest,_0x30d09b(0x2fc));function parseValueEnvelope(_0x23beee){const _0x3ddb2f=_0x30d09b;if(!isRecord(_0x23beee))return null;return typeof _0x23beee['value']===_0x3ddb2f(0x23f)?{'value':_0x23beee[_0x3ddb2f(0x1f1)]}:null;}__name(parseValueEnvelope,_0x30d09b(0x1da));function parseStringRecord(_0x1bd552){return parseNamedRecord(_0x1bd552,isString);}__name(parseStringRecord,_0x30d09b(0x203));function parseKeepRecord(_0x546653){return parseNamedRecord(_0x546653,_0x38a8d5=>_0x38a8d5===null||isString(_0x38a8d5));}__name(parseKeepRecord,_0x30d09b(0x331));function parseNamedRecord(_0x5273e6,_0x366019){const _0x26327d={_0x595b6b:0x2e6},_0x5581e2=_0x30d09b;if(!isRecord(_0x5273e6))return null;const _0x276095={};for(const [_0x5c7df8,_0x10a138]of Object[_0x5581e2(_0x26327d._0x595b6b)](_0x5273e6)){if(!isEnvVarName(_0x5c7df8)||!_0x366019(_0x10a138))return null;_0x276095[_0x5c7df8]=_0x10a138;}return _0x276095;}__name(parseNamedRecord,_0x30d09b(0x26a));function isString(_0xbd350){return typeof _0xbd350==='string';}__name(isString,_0x30d09b(0x330));var VALUES_ERROR_CODES=['unauthorized',_0x30d09b(0x2a2),_0x30d09b(0x244),'unknown-environment','unknown-secret','reserved','malformed',_0x30d09b(0x1c8),_0x30d09b(0x23b),_0x30d09b(0x303),_0x30d09b(0x2ed)],VALUE_KINDS=[_0x30d09b(0x216),_0x30d09b(0x321),'secret'];function parseBoxValuesResponse(_0x24a61a){const _0x540786={_0x570054:0x311,_0x589e6b:0x30a,_0x359f04:0x298,_0x13e730:0x216,_0x10e815:0x296,_0x4de485:0x23f},_0x49f469=_0x30d09b;if(!isRecord(_0x24a61a))return null;if(isRecord(_0x24a61a[_0x49f469(_0x540786._0x570054)])){const {code:_0x1d67ca,message:_0x2a47ec}=_0x24a61a['error'];if(!VALUES_ERROR_CODES['includes'](_0x1d67ca))return null;if(typeof _0x2a47ec!=='string')return null;return{'error':{'code':_0x1d67ca,'message':_0x2a47ec}};}const {status:_0x441f0b,environment:_0x986ead}=_0x24a61a;if(typeof _0x986ead!==_0x49f469(0x23f))return null;if(_0x441f0b===_0x49f469(0x2be)){const {target:_0x1d01ab,variables:_0x4c422d,secrets:_0x1caf65,removed:_0xa6cd1e}=_0x24a61a;if(typeof _0x1d01ab!==_0x49f469(_0x540786._0x589e6b))return null;const _0x4a99bf=parseNameList(_0x4c422d),_0x489003=parseNameList(_0x1caf65);if(_0x4a99bf===null||_0x489003===null||!isRecord(_0xa6cd1e))return null;const _0x4a9240=parseNameList(_0xa6cd1e[_0x49f469(_0x540786._0x359f04)]),_0x1a46f5=parseNameList(_0xa6cd1e[_0x49f469(0x2cd)]);if(typeof _0xa6cd1e[_0x49f469(_0x540786._0x13e730)]!==_0x49f469(_0x540786._0x589e6b)||_0x4a9240===null||_0x1a46f5===null)return null;return{'status':_0x441f0b,'environment':_0x986ead,'target':_0x1d01ab,'variables':_0x4a99bf,'secrets':_0x489003,'removed':{'target':_0xa6cd1e[_0x49f469(_0x540786._0x13e730)],'variables':_0x4a9240,'secrets':_0x1a46f5}};}if(_0x441f0b===_0x49f469(_0x540786._0x10e815)||_0x441f0b==='removed'){const {kind:_0x2eb2f6,name:_0x55f9c8}=_0x24a61a;if(!VALUE_KINDS[_0x49f469(0x1fa)](_0x2eb2f6))return null;if(_0x55f9c8!==void 0x0&&typeof _0x55f9c8!==_0x49f469(_0x540786._0x4de485))return null;return{'status':_0x441f0b,'environment':_0x986ead,'kind':_0x2eb2f6,...typeof _0x55f9c8==='string'?{'name':_0x55f9c8}:{}};}return null;}__name(parseBoxValuesResponse,_0x30d09b(0x18d));function parseNameList(_0x32e90c){const _0x18f492={_0x3e777d:0x1a9},_0xd99daf=_0x30d09b;if(!Array[_0xd99daf(_0x18f492._0x3e777d)](_0x32e90c))return null;return _0x32e90c['every'](_0x2523cd=>typeof _0x2523cd==='string')?_0x32e90c:null;}__name(parseNameList,_0x30d09b(0x184));function parseBoxSecretRevealResponse(_0x40125){return parseValueEnvelope(_0x40125);}__name(parseBoxSecretRevealResponse,_0x30d09b(0x222));function parseBoxSecretsRevealResponse(_0x556d16){return parseStringRecord(_0x556d16);}__name(parseBoxSecretsRevealResponse,_0x30d09b(0x2f8));var BOX_NOTIFY_PATH='/api/box/notify';function boxNotifyProjectPath(_0x3121d1){return BOX_NOTIFY_PATH+'/'+encodeURIComponent(_0x3121d1);}__name(boxNotifyProjectPath,_0x30d09b(0x18f));function boxNotifyChannelPath(_0x5298c1,_0x16c41c){const _0x26a7ee={_0x813700:0x199},_0xf04e3e=_0x30d09b;return boxNotifyProjectPath(_0x5298c1)+_0xf04e3e(_0x26a7ee._0x813700)+encodeURIComponent(_0x16c41c);}__name(boxNotifyChannelPath,_0x30d09b(0x228));function boxNotifyTestPath(_0x41ff04,_0x4f2e85){const _0x106547={_0x2b64f4:0x2a8},_0x154b46=_0x30d09b;return boxNotifyChannelPath(_0x41ff04,_0x4f2e85)+_0x154b46(_0x106547._0x2b64f4);}__name(boxNotifyTestPath,'boxNotifyTestPath');function boxNotifyRulePath(_0x2c33b3,_0x20a6fd){const _0x14846f={_0x18e2b7:0x2e2},_0x5c186d=_0x30d09b;return boxNotifyProjectPath(_0x2c33b3)+_0x5c186d(_0x14846f._0x18e2b7)+encodeURIComponent(_0x20a6fd);}__name(boxNotifyRulePath,_0x30d09b(0x207));function boxNotifyQuietHoursPath(_0x36498f){const _0x3c5bbc=_0x30d09b;return boxNotifyProjectPath(_0x36498f)+_0x3c5bbc(0x1d9);}__name(boxNotifyQuietHoursPath,'boxNotifyQuietHoursPath');function boxNotifySeriesPath(_0x4f1dea){const _0x2d229c={_0x3a4193:0x28a},_0x3f992f=_0x30d09b;return boxNotifyProjectPath(_0x4f1dea)+_0x3f992f(_0x2d229c._0x3a4193);}__name(boxNotifySeriesPath,'boxNotifySeriesPath');function boxNotifySeriesResetPath(_0x3ef386,_0x23d465){const _0x4be899=_0x30d09b;return boxNotifySeriesPath(_0x3ef386)+'/'+encodeURIComponent(_0x23d465)+_0x4be899(0x1bb);}__name(boxNotifySeriesResetPath,'boxNotifySeriesResetPath');function boxNotifyMutePath(_0x3970eb,_0x3138fc){const _0xf81729={_0x1407cf:0x1e0},_0x1d1ff0=_0x30d09b;return boxNotifyProjectPath(_0x3970eb)+_0x1d1ff0(_0xf81729._0x1407cf)+encodeURIComponent(_0x3138fc);}__name(boxNotifyMutePath,'boxNotifyMutePath');function boxNotifyPreviewPath(_0x2bb0f1,_0x54e07d,_0x17474c){const _0x5abd9e={_0x584e74:0x2c7,_0x7ba040:0x211},_0x4ad3e6=_0x30d09b;return boxNotifyProjectPath(_0x2bb0f1)+_0x4ad3e6(_0x5abd9e._0x584e74)+encodeURIComponent(_0x54e07d)+_0x4ad3e6(_0x5abd9e._0x7ba040)+_0x17474c;}__name(boxNotifyPreviewPath,_0x30d09b(0x220));var BOX_NOTIFY_CHANNEL_KINDS=['slack',_0x30d09b(0x1e6),_0x30d09b(0x21b)],BOX_NOTIFY_TRIGGER_KINDS=[_0x30d09b(0x1ae),'ci',_0x30d09b(0x195),_0x30d09b(0x2bb)],BOX_NOTIFY_EVENTS=[_0x30d09b(0x1f7),_0x30d09b(0x345),_0x30d09b(0x18a),_0x30d09b(0x2b7)],BOX_NOTIFY_STATES=[_0x30d09b(0x1f7),'recovered',_0x30d09b(0x1ed),_0x30d09b(0x18a),_0x30d09b(0x2b7)],ERROR_CODES=[_0x30d09b(0x1d7),_0x30d09b(0x1d8),_0x30d09b(0x1e4),'unknown-rule',_0x30d09b(0x1b7),_0x30d09b(0x252),_0x30d09b(0x223),_0x30d09b(0x2ed)];function parseBoxNotifyView(_0x1fc783){const _0x1b447e={_0x4d8db3:0x1a9,_0x326dec:0x322},_0x57c7e9=_0x30d09b;if(!isRecord(_0x1fc783)||!Array[_0x57c7e9(_0x1b447e._0x4d8db3)](_0x1fc783['projects']))return null;const _0x1c751c=_0x1fc783[_0x57c7e9(0x2c5)]['map'](parseBoxNotifyProjectView);return _0x1c751c[_0x57c7e9(_0x1b447e._0x326dec)](_0x43d2e4=>_0x43d2e4!==null)?{'projects':_0x1c751c}:null;}__name(parseBoxNotifyView,_0x30d09b(0x2a6));function parseBoxNotifyProjectView(_0x6ce5c7){const _0x3246bf={_0x25499e:0x210},_0x1ff12f=_0x30d09b;if(!isRecord(_0x6ce5c7)||typeof _0x6ce5c7['project']!=='string')return null;const _0x2f610a=parseAll(_0x6ce5c7[_0x1ff12f(_0x3246bf._0x25499e)],parseChannel),_0x3c6d07=parseAll(_0x6ce5c7['rules'],parseRule),_0x5ca856=parseAll(_0x6ce5c7[_0x1ff12f(0x313)],parseMute);if(_0x2f610a===null||_0x3c6d07===null||_0x5ca856===null)return null;const _0x17db1e=_0x6ce5c7[_0x1ff12f(0x2a4)]===void 0x0?void 0x0:parseQuietHours(_0x6ce5c7['quietHours']);if(_0x17db1e===null)return null;return{'project':_0x6ce5c7['project'],'channels':_0x2f610a,'rules':_0x3c6d07,'mutes':_0x5ca856,..._0x17db1e!==void 0x0?{'quietHours':_0x17db1e}:{}};}__name(parseBoxNotifyProjectView,_0x30d09b(0x282));function parseBoxNotifySeriesView(_0xfe457b){const _0x46871d={_0x29a6b3:0x23f,_0x4bd3e4:0x255,_0x559c4a:0x201},_0x1774a9=_0x30d09b;if(!isRecord(_0xfe457b)||typeof _0xfe457b[_0x1774a9(0x201)]!==_0x1774a9(_0x46871d._0x29a6b3))return null;const _0x29b8bf=parseAll(_0xfe457b[_0x1774a9(_0x46871d._0x4bd3e4)],parseSeriesEntry);return _0x29b8bf===null?null:{'project':_0xfe457b[_0x1774a9(_0x46871d._0x559c4a)],'series':_0x29b8bf};}__name(parseBoxNotifySeriesView,_0x30d09b(0x31a));function parseBoxNotifyPreview(_0xb78239){const _0x3dea19={_0x2b1a31:0x32f,_0x37caaf:0x308,_0x3a0e1a:0x2f7},_0xaf4e2=_0x30d09b;if(!isRecord(_0xb78239)||!isState(_0xb78239[_0xaf4e2(0x213)])||typeof _0xb78239['title']!==_0xaf4e2(0x23f))return null;if(!isStringArray(_0xb78239[_0xaf4e2(0x2f7)]))return null;if(_0xb78239['url']!==void 0x0&&typeof _0xb78239[_0xaf4e2(_0x3dea19._0x2b1a31)]!==_0xaf4e2(0x23f))return null;return{'state':_0xb78239['state'],'title':_0xb78239[_0xaf4e2(_0x3dea19._0x37caaf)],'lines':_0xb78239[_0xaf4e2(_0x3dea19._0x3a0e1a)],..._0xb78239['url']!==void 0x0?{'url':_0xb78239[_0xaf4e2(_0x3dea19._0x2b1a31)]}:{}};}__name(parseBoxNotifyPreview,_0x30d09b(0x334));function parseBoxNotifyTestResult(_0x59b82b){const _0xecbadf={_0x4e8eae:0x23f,_0x27c9b2:0x2da,_0x1e8fba:0x1ef,_0x4ef885:0x1f7,_0x1db539:0x1e1},_0x4fd74f=_0x30d09b;if(!isRecord(_0x59b82b)||typeof _0x59b82b[_0x4fd74f(0x2da)]!=='string')return null;if(_0x59b82b['status']==='sent'){if(_0x59b82b[_0x4fd74f(0x1ef)]!==void 0x0&&typeof _0x59b82b[_0x4fd74f(0x1ef)]!==_0x4fd74f(_0xecbadf._0x4e8eae))return null;return{'status':_0x4fd74f(0x2e7),'channel':_0x59b82b[_0x4fd74f(_0xecbadf._0x27c9b2)],..._0x59b82b[_0x4fd74f(_0xecbadf._0x1e8fba)]!==void 0x0?{'note':_0x59b82b[_0x4fd74f(0x1ef)]}:{}};}if(_0x59b82b[_0x4fd74f(0x266)]===_0x4fd74f(0x1f7)&&typeof _0x59b82b[_0x4fd74f(0x1e1)]===_0x4fd74f(0x23f))return{'status':_0x4fd74f(_0xecbadf._0x4ef885),'channel':_0x59b82b[_0x4fd74f(0x2da)],'message':_0x59b82b[_0x4fd74f(_0xecbadf._0x1db539)]};return null;}__name(parseBoxNotifyTestResult,_0x30d09b(0x2e8));function parseBoxNotifyChanged(_0x31956b){const _0x4caa52={_0x37bbf3:0x304},_0x191f43=_0x30d09b;if(!isRecord(_0x31956b)||typeof _0x31956b['id']!==_0x191f43(0x23f))return null;const {status:_0x3e9cb9}=_0x31956b;if(_0x3e9cb9!==_0x191f43(_0x4caa52._0x37bbf3)&&_0x3e9cb9!==_0x191f43(0x277)&&_0x3e9cb9!==_0x191f43(0x1ac))return null;return{'status':_0x3e9cb9,'id':_0x31956b['id']};}__name(parseBoxNotifyChanged,'parseBoxNotifyChanged');function parseBoxNotifyError(_0x53ca40){const _0xefec28={_0x34e146:0x311,_0x47bf55:0x1fa,_0x48195c:0x23f},_0x336bb9=_0x30d09b;if(!isRecord(_0x53ca40)||!isRecord(_0x53ca40[_0x336bb9(_0xefec28._0x34e146)]))return null;const {code:_0x1145a0,message:_0x25927c}=_0x53ca40[_0x336bb9(0x311)];if(!ERROR_CODES[_0x336bb9(_0xefec28._0x47bf55)](_0x1145a0)||typeof _0x25927c!==_0x336bb9(_0xefec28._0x48195c))return null;return{'error':{'code':_0x1145a0,'message':_0x25927c}};}__name(parseBoxNotifyError,_0x30d09b(0x1e9));function isBoxNotifyState(_0x3a3367){return isState(_0x3a3367);}__name(isBoxNotifyState,'isBoxNotifyState');function boxNotifyPreviewTrigger(_0x1697ab){const _0x5d87a9={_0x1a0cf5:0x1d1},_0x38bfb5=_0x30d09b;switch(_0x1697ab){case _0x38bfb5(0x1ae):return{'kind':_0x1697ab};case'ci':return{'kind':_0x1697ab,'by':_0x38bfb5(_0x5d87a9._0x1a0cf5)};case _0x38bfb5(0x195):return{'kind':_0x1697ab,'by':_0x38bfb5(0x2b3)};case'cli':return{'kind':_0x1697ab};}}__name(boxNotifyPreviewTrigger,'boxNotifyPreviewTrigger');function parseAll(_0x345939,_0x585a8e){const _0x14aa19={_0x7f1a75:0x1a9},_0x436b63=_0x30d09b;if(!Array[_0x436b63(_0x14aa19._0x7f1a75)](_0x345939))return null;const _0x29f322=[];for(const _0x28acf7 of _0x345939){const _0x52b081=_0x585a8e(_0x28acf7);if(_0x52b081===null)return null;_0x29f322['push'](_0x52b081);}return _0x29f322;}__name(parseAll,_0x30d09b(0x2bd));function parseSecret(_0x11a10c){const _0x5584fb={_0x18f13d:0x296},_0x56804c=_0x30d09b;return isRecord(_0x11a10c)&&typeof _0x11a10c[_0x56804c(_0x5584fb._0x18f13d)]===_0x56804c(0x30a)?{'set':_0x11a10c[_0x56804c(0x296)]}:null;}__name(parseSecret,_0x30d09b(0x32d));function parseLastDelivery(_0x118419){const _0x474ef9={_0x25e5cd:0x2e7,_0x10fab7:0x1f7,_0x5384a1:0x311,_0x1d94c0:0x1a5},_0x33c783=_0x30d09b;if(!isRecord(_0x118419)||typeof _0x118419['at']!==_0x33c783(0x2ae))return null;if(_0x118419['outcome']!==_0x33c783(_0x474ef9._0x25e5cd)&&_0x118419[_0x33c783(0x1a5)]!==_0x33c783(_0x474ef9._0x10fab7))return null;if(_0x118419[_0x33c783(0x311)]!==void 0x0&&typeof _0x118419[_0x33c783(_0x474ef9._0x5384a1)]!=='string')return null;return{'at':_0x118419['at'],'outcome':_0x118419[_0x33c783(_0x474ef9._0x1d94c0)],..._0x118419[_0x33c783(_0x474ef9._0x5384a1)]!==void 0x0?{'error':_0x118419[_0x33c783(_0x474ef9._0x5384a1)]}:{}};}__name(parseLastDelivery,'parseLastDelivery');function parseChannel(_0x5776d9){const _0x490a5d={_0x57cc5c:0x23f,_0x3f115c:0x302,_0xe94b0a:0x2ba,_0x4980a6:0x293,_0xada7cc:0x293,_0x19463a:0x21b,_0x40c16d:0x32f},_0x18d292=_0x30d09b;if(!isRecord(_0x5776d9))return null;const {id:_0x2a9c42,name:_0x24959f,enabled:_0xd761d7,kind:_0x16767c}=_0x5776d9;if(typeof _0x2a9c42!=='string'||typeof _0x24959f!==_0x18d292(_0x490a5d._0x57cc5c)||typeof _0xd761d7!==_0x18d292(0x30a))return null;const _0x5509ed=_0x5776d9['lastDelivery']===void 0x0?void 0x0:parseLastDelivery(_0x5776d9[_0x18d292(_0x490a5d._0x3f115c)]);if(_0x5509ed===null)return null;const _0x44d43a={'id':_0x2a9c42,'name':_0x24959f,'enabled':_0xd761d7,..._0x5509ed!==void 0x0?{'lastDelivery':_0x5509ed}:{}};switch(_0x16767c){case _0x18d292(_0x490a5d._0xe94b0a):{const _0x484361=parseSecret(_0x5776d9[_0x18d292(0x2dd)]);return _0x484361===null?null:{..._0x44d43a,'kind':_0x16767c,'webhookUrl':_0x484361};}case'telegram':{const _0xa9665a=parseSecret(_0x5776d9[_0x18d292(0x290)]);if(_0xa9665a===null||typeof _0x5776d9[_0x18d292(0x21e)]!==_0x18d292(_0x490a5d._0x57cc5c))return null;if(_0x5776d9['threadId']!==void 0x0&&typeof _0x5776d9[_0x18d292(0x293)]!=='string')return null;return{..._0x44d43a,'kind':_0x16767c,'botToken':_0xa9665a,'chatId':_0x5776d9['chatId'],..._0x5776d9[_0x18d292(_0x490a5d._0x4980a6)]!==void 0x0?{'threadId':_0x5776d9[_0x18d292(_0x490a5d._0xada7cc)]}:{}};}case _0x18d292(_0x490a5d._0x19463a):{const _0x56570a=parseSecret(_0x5776d9['secret']);if(_0x56570a===null||typeof _0x5776d9['url']!==_0x18d292(_0x490a5d._0x57cc5c))return null;const _0x19a46e=_0x5776d9['headers']===void 0x0?void 0x0:parseHeaderFlags(_0x5776d9[_0x18d292(0x205)]);if(_0x19a46e===null)return null;return{..._0x44d43a,'kind':_0x16767c,'url':_0x5776d9[_0x18d292(_0x490a5d._0x40c16d)],'secret':_0x56570a,..._0x19a46e!==void 0x0?{'headers':_0x19a46e}:{}};}default:return null;}}__name(parseChannel,_0x30d09b(0x320));function parseHeaderFlags(_0x34a959){const _0x2bc29e=_0x30d09b;if(!isRecord(_0x34a959))return null;const _0x3e0e56={};for(const [_0x114075,_0x2801cd]of Object[_0x2bc29e(0x2e6)](_0x34a959)){const _0x57955d=parseSecret(_0x2801cd);if(_0x57955d===null)return null;_0x3e0e56[_0x114075]=_0x57955d;}return _0x3e0e56;}__name(parseHeaderFlags,_0x30d09b(0x1f9));function parseRule(_0x113f13){const _0x5a02b3={_0x19614e:0x23f,_0x229709:0x360,_0x5b97a5:0x1ec,_0x7a97cc:0x322,_0x6c04c3:0x210,_0x4f4a20:0x1a0,_0x44f81d:0x29f,_0x3b3c1c:0x2d4},_0x48c305=_0x30d09b;if(!isRecord(_0x113f13)||typeof _0x113f13['id']!==_0x48c305(_0x5a02b3._0x19614e)||typeof _0x113f13['enabled']!=='boolean')return null;if(_0x113f13[_0x48c305(0x360)]!==void 0x0&&typeof _0x113f13[_0x48c305(_0x5a02b3._0x229709)]!=='string')return null;if(_0x113f13['environments']!==void 0x0&&!isStringArray(_0x113f13['environments']))return null;if(!isStringArray(_0x113f13[_0x48c305(0x2cc)])||!_0x113f13[_0x48c305(0x2cc)][_0x48c305(0x322)](isTriggerKind))return null;if(!isStringArray(_0x113f13[_0x48c305(_0x5a02b3._0x5b97a5)])||!_0x113f13[_0x48c305(_0x5a02b3._0x5b97a5)][_0x48c305(_0x5a02b3._0x7a97cc)](isEvent))return null;if(!isStringArray(_0x113f13[_0x48c305(_0x5a02b3._0x6c04c3)])||typeof _0x113f13[_0x48c305(0x24b)]!==_0x48c305(0x2ae))return null;if(_0x113f13[_0x48c305(_0x5a02b3._0x4f4a20)]!==void 0x0&&typeof _0x113f13[_0x48c305(0x1a0)]!=='number')return null;return{'id':_0x113f13['id'],..._0x113f13[_0x48c305(0x360)]!==void 0x0?{'name':_0x113f13['name']}:{},'enabled':_0x113f13[_0x48c305(_0x5a02b3._0x44f81d)],..._0x113f13[_0x48c305(_0x5a02b3._0x3b3c1c)]!==void 0x0?{'environments':_0x113f13[_0x48c305(0x2d4)]}:{},'triggers':_0x113f13['triggers'],'events':_0x113f13[_0x48c305(0x1ec)],'channels':_0x113f13[_0x48c305(0x210)],'afterFailures':_0x113f13['afterFailures'],..._0x113f13[_0x48c305(_0x5a02b3._0x4f4a20)]!==void 0x0?{'repeatEvery':_0x113f13[_0x48c305(0x1a0)]}:{}};}__name(parseRule,_0x30d09b(0x19f));function parseBoxNotifyMuteScope(_0x28c3ac){const _0x1bb0dd={_0x45b311:0x201,_0x1267cf:0x255},_0x50ada6=_0x30d09b;if(!isRecord(_0x28c3ac))return null;if(_0x28c3ac[_0x50ada6(_0x1bb0dd._0x45b311)]===!![])return{'project':!![]};if(typeof _0x28c3ac[_0x50ada6(0x255)]===_0x50ada6(0x23f)&&_0x28c3ac[_0x50ada6(_0x1bb0dd._0x1267cf)]['length']>0x0)return{'series':_0x28c3ac[_0x50ada6(0x255)]};return null;}__name(parseBoxNotifyMuteScope,_0x30d09b(0x274));function parseMute(_0x105bf7){const _0x8af799={_0x5bd1fa:0x2ae,_0x53ab86:0x324,_0x5a79ee:0x1bc,_0x1e27d2:0x1bc,_0x169988:0x23f,_0x4458d0:0x1bc},_0x2c225f=_0x30d09b;if(!isRecord(_0x105bf7)||typeof _0x105bf7['id']!=='string'||typeof _0x105bf7['by']!=='string')return null;const _0x5afeb9=parseBoxNotifyMuteScope(_0x105bf7['scope']);if(_0x5afeb9===null||typeof _0x105bf7['at']!==_0x2c225f(_0x8af799._0x5bd1fa))return null;if(_0x105bf7[_0x2c225f(0x324)]!==void 0x0&&typeof _0x105bf7[_0x2c225f(_0x8af799._0x53ab86)]!==_0x2c225f(_0x8af799._0x5bd1fa))return null;if(_0x105bf7[_0x2c225f(_0x8af799._0x5a79ee)]!==void 0x0&&typeof _0x105bf7[_0x2c225f(_0x8af799._0x1e27d2)]!==_0x2c225f(_0x8af799._0x169988))return null;return{'id':_0x105bf7['id'],'scope':_0x5afeb9,..._0x105bf7[_0x2c225f(_0x8af799._0x53ab86)]!==void 0x0?{'until':_0x105bf7[_0x2c225f(_0x8af799._0x53ab86)]}:{},'by':_0x105bf7['by'],..._0x105bf7['reason']!==void 0x0?{'reason':_0x105bf7[_0x2c225f(_0x8af799._0x4458d0)]}:{},'at':_0x105bf7['at']};}__name(parseMute,_0x30d09b(0x2d1));function parseQuietHours(_0x48e687){const _0x1551d8={_0x2ffa2b:0x23f},_0x5b712d=_0x30d09b;if(!isRecord(_0x48e687))return null;const {from:_0x158aa5,to:_0x2f69d3,tz:_0x5bbc3f}=_0x48e687;if(typeof _0x158aa5!=='string'||typeof _0x2f69d3!==_0x5b712d(0x23f)||typeof _0x5bbc3f!==_0x5b712d(_0x1551d8._0x2ffa2b))return null;return{'from':_0x158aa5,'to':_0x2f69d3,'tz':_0x5bbc3f};}__name(parseQuietHours,_0x30d09b(0x185));function parseSeriesEntry(_0x50e34f){const _0x46e025={_0x1da332:0x1c6,_0x11b5f1:0x216,_0x3300cf:0x213,_0x47c940:0x1f7,_0x5c130b:0x1bc,_0x528b05:0x2ae,_0xc19af5:0x2ac,_0x3ea183:0x2ae,_0x76426d:0x1ca,_0x10b0c3:0x216,_0x8029e8:0x360,_0x50cf3d:0x1bc,_0x331a92:0x2ac,_0x218ff0:0x2ac},_0x3822bc=_0x30d09b;if(!isRecord(_0x50e34f)||typeof _0x50e34f[_0x3822bc(0x1ca)]!=='string'||typeof _0x50e34f['environment']!==_0x3822bc(0x23f))return null;if(!isRecord(_0x50e34f['target'])||typeof _0x50e34f['target']['name']!==_0x3822bc(0x23f))return null;if(_0x50e34f['target'][_0x3822bc(_0x46e025._0x1da332)]!=='collection'&&_0x50e34f[_0x3822bc(_0x46e025._0x11b5f1)][_0x3822bc(_0x46e025._0x1da332)]!==_0x3822bc(0x341))return null;if(_0x50e34f[_0x3822bc(_0x46e025._0x3300cf)]!=='ok'&&_0x50e34f[_0x3822bc(0x213)]!==_0x3822bc(_0x46e025._0x47c940))return null;if(typeof _0x50e34f[_0x3822bc(_0x46e025._0x5c130b)]!==_0x3822bc(0x23f)||typeof _0x50e34f[_0x3822bc(0x19a)]!==_0x3822bc(_0x46e025._0x528b05)||typeof _0x50e34f[_0x3822bc(0x262)]!==_0x3822bc(0x2ae))return null;if(_0x50e34f[_0x3822bc(_0x46e025._0xc19af5)]!==void 0x0&&typeof _0x50e34f['lastNotifiedAt']!==_0x3822bc(_0x46e025._0x3ea183))return null;const _0xaa02b6=_0x50e34f['mute']===void 0x0?void 0x0:parseMute(_0x50e34f[_0x3822bc(0x233)]);if(_0xaa02b6===null)return null;return{'key':_0x50e34f[_0x3822bc(_0x46e025._0x76426d)],'environment':_0x50e34f['environment'],'target':{'kind':_0x50e34f[_0x3822bc(_0x46e025._0x10b0c3)][_0x3822bc(0x1c6)],'name':_0x50e34f[_0x3822bc(0x216)][_0x3822bc(_0x46e025._0x8029e8)]},'state':_0x50e34f[_0x3822bc(_0x46e025._0x3300cf)],'reason':_0x50e34f[_0x3822bc(_0x46e025._0x50cf3d)],'since':_0x50e34f[_0x3822bc(0x19a)],'failures':_0x50e34f[_0x3822bc(0x262)],..._0x50e34f[_0x3822bc(_0x46e025._0x331a92)]!==void 0x0?{'lastNotifiedAt':_0x50e34f[_0x3822bc(_0x46e025._0x218ff0)]}:{},..._0xaa02b6!==void 0x0?{'mute':_0xaa02b6}:{}};}__name(parseSeriesEntry,_0x30d09b(0x1f4));function isStringArray(_0x36e628){const _0x4e9bdf=_0x30d09b;return Array['isArray'](_0x36e628)&&_0x36e628['every'](_0x4fb0c7=>typeof _0x4fb0c7===_0x4e9bdf(0x23f));}__name(isStringArray,_0x30d09b(0x225));function isTriggerKind(_0x2fd7e3){const _0x3385e1=_0x30d09b;return BOX_NOTIFY_TRIGGER_KINDS[_0x3385e1(0x1fa)](_0x2fd7e3);}__name(isTriggerKind,_0x30d09b(0x25e));function isEvent(_0x32d3ca){const _0x37912f={_0x8a67f3:0x1fa},_0x56b615=_0x30d09b;return BOX_NOTIFY_EVENTS[_0x56b615(_0x37912f._0x8a67f3)](_0x32d3ca);}__name(isEvent,'isEvent');function isState(_0x3b8336){const _0x21b7ca={_0x3e6b57:0x1fa},_0x136b7c=_0x30d09b;return typeof _0x3b8336==='string'&&BOX_NOTIFY_STATES[_0x136b7c(_0x21b7ca._0x3e6b57)](_0x3b8336);}__name(isState,'isState');var BOX_READ_TOKEN_ENV=_0x30d09b(0x31d),BOX_READ_TOKEN_PREFIX='ubr_',BOX_READ_ENVIRONMENT_HEADER=_0x30d09b(0x29e),BOX_READ_ENVIRONMENTS_PATH=_0x30d09b(0x1b5),BOX_REVOCATIONS_RETRY_AFTER_SECONDS=0x3c,READ_ERROR_CODES=['unauthorized','forbidden',_0x30d09b(0x242),'not-found','rate-limited',_0x30d09b(0x26b),_0x30d09b(0x338),_0x30d09b(0x1c8),_0x30d09b(0x23b),_0x30d09b(0x223)];function parseBoxReadError(_0x5c1596){const _0x4e8943={_0x34c5bd:0x1fa,_0x5d7ac5:0x23f},_0x37fec6=_0x30d09b;if(!isRecord(_0x5c1596)||!isRecord(_0x5c1596[_0x37fec6(0x311)]))return null;const {code:_0xdf2eee,message:_0x386fa4,retryAfterSeconds:_0x5c2d62}=_0x5c1596['error'];if(!READ_ERROR_CODES[_0x37fec6(_0x4e8943._0x34c5bd)](_0xdf2eee))return null;if(typeof _0x386fa4!==_0x37fec6(_0x4e8943._0x5d7ac5))return null;return{'error':{'code':_0xdf2eee,'message':_0x386fa4,...typeof _0x5c2d62==='number'?{'retryAfterSeconds':_0x5c2d62}:{}}};}__name(parseBoxReadError,_0x30d09b(0x2c1));function parseBoxReadEnvironments(_0x3fcd37){const _0x73ef16={_0x496ea0:0x1a9,_0x4d4695:0x23f,_0x1328d8:0x335},_0x303bb3=_0x30d09b;if(!Array[_0x303bb3(_0x73ef16._0x496ea0)](_0x3fcd37))return null;const _0x12229b=[];for(const _0x440e36 of _0x3fcd37){if(!isRecord(_0x440e36))return null;const {name:_0x191006,project:_0x46f888,environment:_0x3a7339,note:_0x163e4a}=_0x440e36;if(typeof _0x191006!==_0x303bb3(0x23f)||typeof _0x3a7339!==_0x303bb3(0x23f))return null;if(_0x46f888!==void 0x0&&typeof _0x46f888!==_0x303bb3(_0x73ef16._0x4d4695))return null;if(_0x163e4a!==void 0x0&&typeof _0x163e4a!=='string')return null;_0x12229b[_0x303bb3(_0x73ef16._0x1328d8)]({'name':_0x191006,'environment':_0x3a7339,..._0x46f888!==void 0x0?{'project':_0x46f888}:{},..._0x163e4a!==void 0x0?{'note':_0x163e4a}:{}});}return _0x12229b;}__name(parseBoxReadEnvironments,_0x30d09b(0x18c));var BOX_RUNS_SEGMENT=_0x30d09b(0x314),ACTOR_TICKET_HEADER=_0x30d09b(0x200),GUARD_SECRET_HEADER=_0x30d09b(0x33b);function boxRunsPath(_0x44fb88,_0x5a5bef){const _0x47e3d9=_0x30d09b;return _0x47e3d9(0x356)+encodeURIComponent(_0x44fb88)+'/'+encodeURIComponent(_0x5a5bef)+'/'+BOX_RUNS_SEGMENT;}__name(boxRunsPath,'boxRunsPath');function boxRunPath(_0x293eb7,_0x14f2ca,_0x28b6b2){return boxRunsPath(_0x293eb7,_0x14f2ca)+'/'+encodeURIComponent(_0x28b6b2);}__name(boxRunPath,_0x30d09b(0x268));function parseBoxRunRequest(_0x4bc693){const _0xcdb8e6=_0x30d09b;if(!isRecord(_0x4bc693))return null;const {kind:_0xe76b30,ref:_0x2cf03e}=_0x4bc693;if(_0xe76b30!==_0xcdb8e6(0x23a)&&_0xe76b30!==_0xcdb8e6(0x341))return null;if(typeof _0x2cf03e!=='string'||_0x2cf03e[_0xcdb8e6(0x305)]===0x0)return null;return{'kind':_0xe76b30,'ref':_0x2cf03e};}__name(parseBoxRunRequest,_0x30d09b(0x2c3));function parseBoxRunAccepted(_0xfdc170){const _0x1e3d3a={_0x5e63eb:0x23f,_0x4ad4a1:0x2ae},_0x450d34=_0x30d09b;if(!isRecord(_0xfdc170))return null;const {runId:_0x3c73bc,acceptedAt:_0x2d976c}=_0xfdc170;if(typeof _0x3c73bc!==_0x450d34(_0x1e3d3a._0x5e63eb)||_0x3c73bc['length']===0x0)return null;if(typeof _0x2d976c!==_0x450d34(_0x1e3d3a._0x4ad4a1))return null;return{'runId':_0x3c73bc,'acceptedAt':_0x2d976c};}__name(parseBoxRunAccepted,_0x30d09b(0x1a6));function parseBoxRunStatus(_0x17e641){const _0x18207c={_0x3c45af:0x214,_0x20f38b:0x30c,_0x751ee0:0x2ae},_0x40853d=_0x30d09b;if(!isRecord(_0x17e641))return null;const {runId:_0x34675e,state:_0x3a1920,exitCode:_0x84fed2,startedAt:_0x54b6c0,finishedAt:_0x5abadd}=_0x17e641;if(typeof _0x34675e!==_0x40853d(0x23f)||_0x34675e['length']===0x0)return null;if(_0x3a1920!==_0x40853d(_0x18207c._0x3c45af)&&_0x3a1920!=='running'&&_0x3a1920!==_0x40853d(_0x18207c._0x20f38b))return null;if(_0x84fed2!==void 0x0&&_0x84fed2!==null&&typeof _0x84fed2!==_0x40853d(0x2ae))return null;if(_0x54b6c0!==void 0x0&&typeof _0x54b6c0!==_0x40853d(_0x18207c._0x751ee0))return null;if(_0x5abadd!==void 0x0&&typeof _0x5abadd!==_0x40853d(0x2ae))return null;return{'runId':_0x34675e,'state':_0x3a1920,..._0x84fed2!==void 0x0?{'exitCode':_0x84fed2}:{},..._0x54b6c0!==void 0x0?{'startedAt':_0x54b6c0}:{},..._0x5abadd!==void 0x0?{'finishedAt':_0x5abadd}:{}};}__name(parseBoxRunStatus,_0x30d09b(0x221));var WORKSPACE_SCHEMA_VERSION=0x1,WORKSPACE_FILE='.workspace.json';function stringList(_0x4d1270){const _0x13058b={_0x30f1aa:0x1a9,_0x54f175:0x1b3},_0x1407c6=_0x30d09b;if(!Array[_0x1407c6(_0x13058b._0x30f1aa)](_0x4d1270))return null;if(_0x4d1270[_0x1407c6(_0x13058b._0x54f175)](_0x5c3cc7=>typeof _0x5c3cc7!==_0x1407c6(0x23f)))return null;return _0x4d1270;}__name(stringList,_0x30d09b(0x323));function parseBundle(_0x5e3dd1){const _0x3e6000={_0xcc37c6:0x23f,_0x1e640f:0x23f},_0x24c2b5=_0x30d09b;if(!isRecord(_0x5e3dd1))return null;const {bundleId:_0x173c52,label:_0x1b0a1e,branch:_0x13cad1,sha:_0x4ffc0f,dirty:_0x2dcbd1,author:_0x1a336c,createdAt:_0x1ffede,webVersion:_0x23809a}=_0x5e3dd1;if(typeof _0x173c52!==_0x24c2b5(0x23f)||_0x173c52[_0x24c2b5(0x305)]===0x0)return null;if(typeof _0x1b0a1e!==_0x24c2b5(0x23f)||typeof _0x23809a!==_0x24c2b5(_0x3e6000._0xcc37c6))return null;if(typeof _0x2dcbd1!=='boolean')return null;if(typeof _0x1ffede!=='number'||!Number[_0x24c2b5(0x248)](_0x1ffede))return null;for(const _0x2ca964 of[_0x13cad1,_0x4ffc0f,_0x1a336c]){if(_0x2ca964!==void 0x0&&typeof _0x2ca964!=='string')return null;}return{'bundleId':_0x173c52,'label':_0x1b0a1e,'dirty':_0x2dcbd1,'createdAt':_0x1ffede,'webVersion':_0x23809a,...typeof _0x13cad1==='string'?{'branch':_0x13cad1}:{},...typeof _0x4ffc0f===_0x24c2b5(0x23f)?{'sha':_0x4ffc0f}:{},...typeof _0x1a336c===_0x24c2b5(_0x3e6000._0x1e640f)?{'author':_0x1a336c}:{}};}__name(parseBundle,_0x30d09b(0x196));function parseWorkspaceFile(_0x464ea5){const _0x8cab51={_0x495537:0x23f,_0x3a374a:0x23f,_0x5bf5ca:0x2ae},_0x26493e=_0x30d09b;if(!isRecord(_0x464ea5))return null;if(_0x464ea5[_0x26493e(0x19d)]!==WORKSPACE_SCHEMA_VERSION)return null;const {workspace:_0x112776,environment:_0x157b28,allowSwitch:_0x2cbe04,currentBundleId:_0x7bf4dc,switchedBy:_0x28dbfb,switchedAt:_0x3f1413,bundles:_0x487726,variables:_0x5ed650,secrets:_0x4923a1,switchPath:_0x3f7fe3}=_0x464ea5;if(typeof _0x112776!==_0x26493e(_0x8cab51._0x495537)||typeof _0x157b28!==_0x26493e(0x23f))return null;if(typeof _0x2cbe04!==_0x26493e(0x30a))return null;if(!Array[_0x26493e(0x1a9)](_0x487726))return null;const _0x27d45f=[];for(const _0x4f8a6d of _0x487726){const _0x305f26=parseBundle(_0x4f8a6d);if(!_0x305f26)return null;_0x27d45f[_0x26493e(0x335)](_0x305f26);}const _0xa30476=stringList(_0x5ed650),_0x14c02b=stringList(_0x4923a1);if(!_0xa30476||!_0x14c02b)return null;for(const _0x1fcfe1 of[_0x7bf4dc,_0x28dbfb,_0x3f7fe3]){if(_0x1fcfe1!==void 0x0&&typeof _0x1fcfe1!==_0x26493e(_0x8cab51._0x3a374a))return null;}if(_0x3f1413!==void 0x0&&typeof _0x3f1413!=='number')return null;return{'schemaVersion':WORKSPACE_SCHEMA_VERSION,'workspace':_0x112776,'environment':_0x157b28,'allowSwitch':_0x2cbe04,'bundles':_0x27d45f,'variables':_0xa30476,'secrets':_0x14c02b,...typeof _0x7bf4dc===_0x26493e(0x23f)?{'currentBundleId':_0x7bf4dc}:{},...typeof _0x28dbfb==='string'?{'switchedBy':_0x28dbfb}:{},...typeof _0x3f1413===_0x26493e(_0x8cab51._0x5bf5ca)?{'switchedAt':_0x3f1413}:{},...typeof _0x3f7fe3===_0x26493e(0x23f)?{'switchPath':_0x3f7fe3}:{}};}__name(parseWorkspaceFile,_0x30d09b(0x2e0));function scheduleTarget(_0x568111){const _0x337d24={_0x48c6ce:0x23a,_0x4938a4:0x341},_0x3c6720=_0x30d09b;return _0x568111[_0x3c6720(0x23a)]!==void 0x0?{'kind':_0x3c6720(_0x337d24._0x48c6ce),'name':_0x568111[_0x3c6720(0x23a)]}:{'kind':_0x3c6720(_0x337d24._0x4938a4),'name':_0x568111['scenario']};}__name(scheduleTarget,_0x30d09b(0x2fd));function parseScheduleEntry(_0x3fc718){const _0x51ad16={_0xd91599:0x305,_0x5c994b:0x35e,_0x35b708:0x23a},_0x4a3d48=_0x30d09b;if(!isRecord(_0x3fc718))return null;const {collection:_0x19bc91,scenario:_0x2f63d3,cron:_0x522108,env:_0x95bde6,prepare:_0x5d7f35,workers:_0x2a489f,source:_0x51370a}=_0x3fc718,_0x363bf0=typeof _0x19bc91===_0x4a3d48(0x23f)&&_0x19bc91[_0x4a3d48(_0x51ad16._0xd91599)]>0x0?_0x2f63d3===void 0x0?{'collection':_0x19bc91}:null:typeof _0x2f63d3==='string'&&_0x2f63d3[_0x4a3d48(0x305)]>0x0&&_0x19bc91===void 0x0?{'scenario':_0x2f63d3}:null;if(_0x363bf0===null)return null;if(typeof _0x522108!==_0x4a3d48(0x23f)||_0x522108[_0x4a3d48(_0x51ad16._0x5c994b)]()[_0x4a3d48(_0x51ad16._0xd91599)]===0x0)return null;if(_0x95bde6!==void 0x0&&typeof _0x95bde6!=='string')return null;if(_0x5d7f35!==void 0x0&&typeof _0x5d7f35!==_0x4a3d48(0x23f))return null;const _0x2b1225=_0x4a3d48(_0x51ad16._0x35b708)in _0x363bf0&&typeof _0x2a489f===_0x4a3d48(0x2ae)&&Number['isInteger'](_0x2a489f)&&_0x2a489f>=0x1?_0x2a489f:void 0x0,_0x2da7c8=_0x51370a==='config'||_0x51370a==='file'?_0x51370a:void 0x0;return{..._0x363bf0,'cron':_0x522108,..._0x95bde6!==void 0x0?{'env':_0x95bde6}:{},..._0x5d7f35!==void 0x0?{'prepare':_0x5d7f35}:{},..._0x2b1225!==void 0x0?{'workers':_0x2b1225}:{},..._0x2da7c8!==void 0x0?{'source':_0x2da7c8}:{}};}__name(parseScheduleEntry,_0x30d09b(0x2f6));function parseSchedulesDoc(_0x445f1b){const _0x1a099a={_0x5f0d17:0x22e,_0x5eeba5:0x2b5,_0x220096:0x1c6,_0x4732c1:0x229,_0x3c5ceb:0x335},_0x28f006=_0x30d09b;if(_0x445f1b===null||_0x445f1b===void 0x0)return{'entries':[]};if(!isRecord(_0x445f1b))return{'error':_0x28f006(_0x1a099a._0x5f0d17)};const _0x2c1cb4=_0x445f1b['schedules']??[];if(!Array[_0x28f006(0x1a9)](_0x2c1cb4))return{'error':_0x28f006(_0x1a099a._0x5eeba5)};const _0x20b59f=[],_0x1454c2=new Set();for(const [_0x511262,_0x31715f]of _0x2c1cb4['entries']()){const _0x1de3d7=parseScheduleEntry(_0x31715f);if(!_0x1de3d7)return{'error':_0x28f006(0x328)+_0x511262+']\x20is\x20not\x20a\x20valid\x20entry\x20—\x20it\x20needs\x20exactly\x20one\x20of\x20`collection:`\x20/\x20`scenario:`\x20plus\x20a\x20`cron:`\x20string'};const _0x27458d=scheduleTarget(_0x1de3d7),_0x49b966=_0x27458d[_0x28f006(_0x1a099a._0x220096)]+':'+_0x27458d['name'];if(_0x1454c2['has'](_0x49b966))return{'error':_0x28f006(0x328)+_0x511262+_0x28f006(0x1a8)+_0x27458d[_0x28f006(_0x1a099a._0x220096)]+'\x20\x22'+_0x27458d[_0x28f006(0x360)]+_0x28f006(_0x1a099a._0x4732c1)};_0x1454c2[_0x28f006(0x285)](_0x49b966),_0x20b59f[_0x28f006(_0x1a099a._0x3c5ceb)](_0x1de3d7);}return{'entries':_0x20b59f};}__name(parseSchedulesDoc,'parseSchedulesDoc');function mergeSchedules(_0x1939bc,_0x4cb100){const _0x3e77d7={_0x29a276:0x2d2,_0x264bca:0x25c},_0x17d89b={_0x4c4507:0x273,_0x1b722d:0x1c6,_0x5defca:0x360},_0x1554c8=_0x30d09b,_0x4cfb8a=new Set(_0x4cb100['map'](_0x58efe3=>{const _0x580ae5=scheduleTarget(_0x58efe3);return _0x580ae5['kind']+':'+_0x580ae5['name'];})),_0x2c5da2=_0x1939bc[_0x1554c8(_0x3e77d7._0x29a276)](_0x4ffb78=>{const _0xb41351=_0x1554c8,_0x40a6de=scheduleTarget(_0x4ffb78);return!_0x4cfb8a[_0xb41351(_0x17d89b._0x4c4507)](_0x40a6de[_0xb41351(_0x17d89b._0x1b722d)]+':'+_0x40a6de[_0xb41351(_0x17d89b._0x5defca)]);});return[..._0x2c5da2[_0x1554c8(_0x3e77d7._0x264bca)](_0x57a2dd=>({..._0x57a2dd,'source':_0x1554c8(0x190)})),..._0x4cb100['map'](_0x2f3ade=>({..._0x2f3ade,'source':_0x1554c8(0x310)}))];}__name(mergeSchedules,_0x30d09b(0x247));function canonicalScheduleSet(_0x37b7bc){const _0x4503db={_0x34b0f4:0x25c,_0x4dbbe1:0x25d},_0x458030={_0x566734:0x1c6},_0x345c28={_0x1dfbdc:0x1c6,_0x4a0fde:0x360,_0x360640:0x1a4,_0xf84b1a:0x284,_0x172de2:0x1db,_0x9a774d:0x286,_0x35bba2:0x286},_0x49b911=_0x30d09b,_0x5766e1=_0x37b7bc[_0x49b911(_0x4503db._0x34b0f4)](_0x18ad4d=>{const _0x531733=_0x49b911,_0x1e92df=scheduleTarget(_0x18ad4d);return{'kind':_0x1e92df[_0x531733(_0x345c28._0x1dfbdc)],'name':_0x1e92df[_0x531733(_0x345c28._0x4a0fde)],'cron':_0x18ad4d[_0x531733(_0x345c28._0x360640)],..._0x18ad4d[_0x531733(_0x345c28._0xf84b1a)]!==void 0x0?{'env':_0x18ad4d[_0x531733(0x284)]}:{},..._0x18ad4d[_0x531733(_0x345c28._0x172de2)]!==void 0x0?{'prepare':_0x18ad4d['prepare']}:{},..._0x18ad4d[_0x531733(_0x345c28._0x9a774d)]!==void 0x0?{'workers':_0x18ad4d[_0x531733(_0x345c28._0x35bba2)]}:{}};})[_0x49b911(_0x4503db._0x4dbbe1)]((_0x48a9a7,_0x4b2dd8)=>{const _0x1713db=_0x49b911,_0x3e02f7=_0x48a9a7[_0x1713db(_0x458030._0x566734)]+':'+_0x48a9a7[_0x1713db(0x360)],_0x46ba1a=_0x4b2dd8['kind']+':'+_0x4b2dd8['name'];return _0x3e02f7<_0x46ba1a?-0x1:_0x3e02f7>_0x46ba1a?0x1:0x0;});return JSON[_0x49b911(0x257)](_0x5766e1);}__name(canonicalScheduleSet,'canonicalScheduleSet');function parseSchedulesJson(_0x4a3d0b){const _0x2c3ef0={_0x2e65b3:0x1f8,_0x4b9c48:0x1a9},_0x200540=_0x30d09b;let _0xca9665;try{_0xca9665=JSON[_0x200540(_0x2c3ef0._0x2e65b3)](_0x4a3d0b);}catch{return null;}if(!Array[_0x200540(_0x2c3ef0._0x4b9c48)](_0xca9665))return null;const _0x5dcd5b=[];for(const _0x5eab90 of _0xca9665){const _0x2c2e79=parseScheduleEntry(_0x5eab90);if(_0x2c2e79)_0x5dcd5b['push'](_0x2c2e79);}return _0x5dcd5b;}__name(parseSchedulesJson,_0x30d09b(0x1fb));var FREQ_FIELDS={'m5':{'minutes':![],'hours':![],'days':![]},'m15':{'minutes':![],'hours':![],'days':![]},'h1':{'minutes':!![],'hours':![],'days':![]},'h2':{'minutes':!![],'hours':![],'days':![]},'h4':{'minutes':!![],'hours':![],'days':![]},'h6':{'minutes':!![],'hours':![],'days':![]},'h12':{'minutes':!![],'hours':![],'days':![]},'daily':{'minutes':!![],'hours':!![],'days':![]},'weekly':{'minutes':!![],'hours':!![],'days':!![]}},HOUR_STEP={'h2':0x2,'h4':0x4,'h6':0x6,'h12':0xc};function cronFromSpec(_0x52d9ac){const _0x55493b={_0x444da3:0x20e,_0x50a633:0x198,_0x1b58ad:0x28e,_0x4e9064:0x21c,_0x297df9:0x1b2,_0x41bb2e:0x2a5,_0x5ea9a9:0x316,_0x5e01ee:0x2a5},_0x561690=_0x30d09b,_0x280681=list(_0x52d9ac['minutes']);switch(_0x52d9ac[_0x561690(0x239)]){case'm5':return _0x561690(_0x55493b._0x444da3);case _0x561690(_0x55493b._0x50a633):return _0x561690(0x19b);case'h1':return _0x280681+_0x561690(_0x55493b._0x1b58ad);case'h2':case'h4':case'h6':case'h12':return _0x280681+_0x561690(_0x55493b._0x4e9064)+HOUR_STEP[_0x52d9ac['freq']]+_0x561690(0x218);case _0x561690(_0x55493b._0x297df9):return _0x280681+'\x20'+list(_0x52d9ac[_0x561690(_0x55493b._0x41bb2e)])+_0x561690(0x218);case _0x561690(_0x55493b._0x5ea9a9):return _0x280681+'\x20'+list(_0x52d9ac[_0x561690(_0x55493b._0x5e01ee)])+_0x561690(0x2cb)+list(_0x52d9ac['days']);}}__name(cronFromSpec,_0x30d09b(0x1a2));function specFromCron(_0x19b986){const _0x3161bb={_0x31c6b8:0x35e,_0x2ba9c1:0x192,_0x2bbadb:0x339},_0x1969a4=_0x30d09b,_0xc2e661=_0x19b986[_0x1969a4(_0x3161bb._0x31c6b8)]()[_0x1969a4(0x289)](/\s+/);if(_0xc2e661['length']!==0x5)return null;const [_0x2f6504,_0x53b133,_0x4ba029,_0x31c16c,_0x473364]=_0xc2e661;if(_0x4ba029!=='*'||_0x31c16c!=='*')return null;if(_0x53b133==='*'&&_0x473364==='*'){if(_0x2f6504===_0x1969a4(_0x3161bb._0x2ba9c1))return spec('m5');if(_0x2f6504===_0x1969a4(_0x3161bb._0x2bbadb))return spec('m15');const _0xce5ce3=numbers(_0x2f6504);return _0xce5ce3&&spec('h1',_0xce5ce3);}const _0x390b26=numbers(_0x2f6504);if(!_0x390b26)return null;const _0x44d9cb=/^\*\/(\d+)$/[_0x1969a4(0x267)](_0x53b133);if(_0x44d9cb&&_0x473364==='*'){const _0x1ce8e2=Object[_0x1969a4(0x22d)](HOUR_STEP)[_0x1969a4(0x2eb)](_0x1658ae=>HOUR_STEP[_0x1658ae]===Number(_0x44d9cb[0x1]));return _0x1ce8e2?spec(_0x1ce8e2,_0x390b26):null;}const _0x56bcbc=numbers(_0x53b133);if(!_0x56bcbc)return null;if(_0x473364==='*')return spec(_0x1969a4(0x1b2),_0x390b26,_0x56bcbc);const _0x1c32d0=numbers(_0x473364);return _0x1c32d0&&spec('weekly',_0x390b26,_0x56bcbc,_0x1c32d0);}__name(specFromCron,_0x30d09b(0x295));function describeCron(_0x128e57){const _0xc442fb=specFromCron(_0x128e57);return _0xc442fb?describeSpec(_0xc442fb):_0x128e57;}__name(describeCron,_0x30d09b(0x358));function describeSpec(_0x45f00f){const _0x2b58d2={_0x19e8f2:0x24a,_0x1bb664:0x2b2,_0x2c5723:0x202,_0x574a66:0x239,_0x4a35f4:0x202,_0x59a18e:0x25c,_0x25300c:0x33e,_0x2b0b54:0x234},_0x318c7c=_0x30d09b;switch(_0x45f00f[_0x318c7c(0x239)]){case'm5':return _0x318c7c(_0x2b58d2._0x19e8f2);case _0x318c7c(0x198):return _0x318c7c(_0x2b58d2._0x1bb664);case'h1':return _0x318c7c(0x1b1)+atMinutes(_0x45f00f[_0x318c7c(_0x2b58d2._0x2c5723)]);case'h2':case'h4':case'h6':case'h12':return'every\x20'+HOUR_STEP[_0x45f00f[_0x318c7c(_0x2b58d2._0x574a66)]]+'h'+atMinutes(_0x45f00f[_0x318c7c(_0x2b58d2._0x4a35f4)]);case'daily':return _0x318c7c(0x276)+times(_0x45f00f);case _0x318c7c(0x316):return _0x45f00f[_0x318c7c(0x1dc)][_0x318c7c(_0x2b58d2._0x59a18e)](_0x2bed59=>DAY_SHORT[_0x2bed59]??String(_0x2bed59))[_0x318c7c(_0x2b58d2._0x25300c)](',\x20')+_0x318c7c(_0x2b58d2._0x2b0b54)+times(_0x45f00f);}}__name(describeSpec,_0x30d09b(0x20b));function nextTickFromSpec(_0x47abc3,_0x36f9b0){const _0x40af16={_0x30578f:0x35a},_0x13add0=_0x30d09b,_0x4ade3a=new Date(_0x36f9b0);_0x4ade3a['setSeconds'](0x0,0x0);for(let _0x389c43=0x0;_0x389c43<0x8*0x18*0x3c;_0x389c43++){_0x4ade3a[_0x13add0(0x29c)](_0x4ade3a[_0x13add0(0x2fb)]()+0x1);if(specMatches(_0x47abc3,_0x4ade3a))return _0x4ade3a[_0x13add0(0x35a)]();}return _0x4ade3a[_0x13add0(_0x40af16._0x30578f)]();}__name(nextTickFromSpec,'nextTickFromSpec');function specMatches(_0x1f2703,_0x387d90){const _0x1c43f2={_0x33c65f:0x239,_0x5432b3:0x202,_0x1d711f:0x1fa,_0x5a0f16:0x2a5,_0x48e353:0x202,_0x379dce:0x2a5,_0xbb1395:0x1fa,_0x91b5e8:0x2ff},_0x216605=_0x30d09b,_0x458d26=_0x387d90[_0x216605(0x2fb)](),_0x30bc00=_0x387d90[_0x216605(0x27a)]();switch(_0x1f2703[_0x216605(_0x1c43f2._0x33c65f)]){case'm5':return _0x458d26%0x5===0x0;case'm15':return _0x458d26%0xf===0x0;case'h1':return _0x1f2703[_0x216605(_0x1c43f2._0x5432b3)]['includes'](_0x458d26);case'h2':case'h4':case'h6':case _0x216605(0x2db):return _0x1f2703[_0x216605(0x202)][_0x216605(_0x1c43f2._0x1d711f)](_0x458d26)&&_0x30bc00%(HOUR_STEP[_0x1f2703[_0x216605(0x239)]]??0x1)===0x0;case'daily':return _0x1f2703[_0x216605(0x202)]['includes'](_0x458d26)&&_0x1f2703[_0x216605(_0x1c43f2._0x5a0f16)][_0x216605(_0x1c43f2._0x1d711f)](_0x30bc00);case _0x216605(0x316):return _0x1f2703[_0x216605(_0x1c43f2._0x48e353)][_0x216605(0x1fa)](_0x458d26)&&_0x1f2703[_0x216605(_0x1c43f2._0x379dce)][_0x216605(0x1fa)](_0x30bc00)&&_0x1f2703['days'][_0x216605(_0x1c43f2._0xbb1395)](_0x387d90[_0x216605(_0x1c43f2._0x91b5e8)]());}}__name(specMatches,_0x30d09b(0x355));function formatNextTick(_0x205f65,_0x5b2ec9){const _0x562fb5={_0x15048d:0x2fb,_0x1cb7e9:0x2ff},_0xfd7ea1=_0x30d09b,_0x2ef183=new Date(_0x205f65),_0x3708ff=new Date(_0x5b2ec9),_0x3e6f47=pad(_0x2ef183[_0xfd7ea1(0x27a)]())+':'+pad(_0x2ef183[_0xfd7ea1(_0x562fb5._0x15048d)]()),_0x69109a=Math[_0xfd7ea1(0x2f9)]((startOfDay(_0x2ef183)-startOfDay(_0x3708ff))/(0x18*0x3c*0x3c*0x3e8));if(_0x69109a===0x0)return _0xfd7ea1(0x2ee)+_0x3e6f47;if(_0x69109a===0x1)return'tomorrow\x20'+_0x3e6f47;return DAY_SHORT[_0x2ef183[_0xfd7ea1(_0x562fb5._0x1cb7e9)]()]+'\x20'+_0x3e6f47;}__name(formatNextTick,_0x30d09b(0x1f2));function startOfDay(_0x49c105){const _0x3f17da={_0x2f44a0:0x240},_0xbba23f=_0x30d09b,_0x1b9336=new Date(_0x49c105);return _0x1b9336[_0xbba23f(_0x3f17da._0x2f44a0)](0x0,0x0,0x0,0x0),_0x1b9336[_0xbba23f(0x35a)]();}__name(startOfDay,_0x30d09b(0x34c));var DAY_SHORT=[_0x30d09b(0x299),_0x30d09b(0x1d5),'Tue',_0x30d09b(0x1c2),_0x30d09b(0x29d),_0x30d09b(0x1c1),_0x30d09b(0x2c9)],WEEK_CHIP_ORDER=[0x1,0x2,0x3,0x4,0x5,0x6,0x0];function spec(_0x1682e2,_0x5bd606=[0x0],_0x475eaa=[0x3],_0x3db4d2=[0x1]){return{'freq':_0x1682e2,'minutes':_0x5bd606,'hours':_0x475eaa,'days':_0x3db4d2};}__name(spec,'spec');function list(_0x10fe59){const _0x1fa6f5={_0x387fab:0x33e},_0xfa8659=_0x30d09b;return[..._0x10fe59][_0xfa8659(0x25d)]((_0x5176e5,_0x2a1ec)=>_0x5176e5-_0x2a1ec)[_0xfa8659(_0x1fa6f5._0x387fab)](',');}__name(list,'list');function numbers(_0x43cd63){const _0x64ffdf={_0x2828c8:0x2b8},_0x27287e=_0x30d09b;if(!/^\d+(,\d+)*$/[_0x27287e(_0x64ffdf._0x2828c8)](_0x43cd63))return null;return _0x43cd63['split'](',')['map'](Number);}__name(numbers,_0x30d09b(0x312));var pad=__name(_0x1a6dde=>String(_0x1a6dde)['padStart'](0x2,'0'),_0x30d09b(0x30e));function atMinutes(_0x39305){const _0x1d4ca6={_0x39cffd:0x25c,_0x478e38:0x33e},_0x2093e9=_0x30d09b;if(_0x39305[_0x2093e9(0x305)]===0x1&&_0x39305[0x0]===0x0)return'';return'\x20at\x20'+[..._0x39305]['sort']((_0x48794e,_0x316a2f)=>_0x48794e-_0x316a2f)[_0x2093e9(_0x1d4ca6._0x39cffd)](_0x357420=>':'+pad(_0x357420))[_0x2093e9(_0x1d4ca6._0x478e38)](',\x20');}__name(atMinutes,_0x30d09b(0x186));function times(_0x2d40cc){const _0x1e998d={_0xcd5128:0x1eb},_0x1be882=_0x30d09b,_0x588224=[..._0x2d40cc['hours']]['sort']((_0x5c5be2,_0x549e0f)=>_0x5c5be2-_0x549e0f)[_0x1be882(0x34a)](_0x590a5c=>[..._0x2d40cc[_0x1be882(0x202)]][_0x1be882(0x25d)]((_0x5d037c,_0x5d4ced)=>_0x5d037c-_0x5d4ced)['map'](_0x2f3e71=>pad(_0x590a5c)+':'+pad(_0x2f3e71))),_0x5e76f0=_0x588224[_0x1be882(_0x1e998d._0xcd5128)](0x0,0x4),_0x3a6e2b=_0x588224[_0x1be882(0x305)]-_0x5e76f0['length'];return _0x5e76f0['join'](',\x20')+(_0x3a6e2b>0x0?'\x20+'+_0x3a6e2b:'');}__name(times,_0x30d09b(0x26d));var BLOBS_DIR='_blobs',GENERATION_SEP='~',HASH_RE=/^[0-9a-f]{8,}$/,InvalidBlobHashError=class extends Error{static{__name(this,'InvalidBlobHashError');}constructor(_0x27f571){const _0x3b77ea=_0x30d09b;super('blob\x20hash\x20must\x20be\x20lowercase\x20hex,\x20got:\x20'+_0x27f571),this[_0x3b77ea(0x360)]=_0x3b77ea(0x265);}};function blobPathFor(_0x457692,_0x46fa00,_0x1f0f3e,_0x2a0a12=0x0){return _0x457692+'/'+blobRelPathFor(_0x46fa00,_0x1f0f3e,_0x2a0a12);}__name(blobPathFor,_0x30d09b(0x1d2));function blobRelSegmentsFor(_0x1b8c19,_0x568702,_0x4142d7=0x0){const _0x4310c3=_0x30d09b;if(!HASH_RE['test'](_0x1b8c19))throw new InvalidBlobHashError(_0x1b8c19);const _0x4f3632=_0x4142d7>0x0?''+GENERATION_SEP+_0x4142d7:'';return[BLOBS_DIR,_0x1b8c19[_0x4310c3(0x1eb)](0x0,0x2),_0x1b8c19['slice'](0x2,0x4),''+_0x1b8c19+_0x4f3632+'.'+_0x568702];}__name(blobRelSegmentsFor,_0x30d09b(0x22c));function blobRelPathFor(_0x2811f9,_0xb9c172,_0x552bd2=0x0){return blobRelSegmentsFor(_0x2811f9,_0xb9c172,_0x552bd2)['join']('/');}__name(blobRelPathFor,_0x30d09b(0x1fc));function blobsRootFor(_0x28de0c){return _0x28de0c+'/'+BLOBS_DIR;}__name(blobsRootFor,'blobsRootFor');var FS_UNSAFE_NAME_RE=/[\\/:*?"<>|\x00-\x1f]/;function validateFsSafeName(_0x10be01,_0xc72a32){const _0x30d139={_0x132121:0x19e,_0x21d085:0x35e,_0x51d5fc:0x1b0},_0x4d2e6b=_0x30d09b;if(typeof _0x10be01!==_0x4d2e6b(0x23f))return _0x4d2e6b(_0x30d139._0x132121);const _0x480527=_0x10be01[_0x4d2e6b(_0x30d139._0x21d085)]();if(_0x480527[_0x4d2e6b(0x305)]===0x0)return _0x4d2e6b(0x188);if(_0x480527==='.'||_0x480527==='..')return _0x4d2e6b(_0x30d139._0x51d5fc);if(_0x480527['startsWith']('.'))return _0x4d2e6b(0x2bf);if(_0xc72a32?.[_0x4d2e6b(0x197)]&&_0x480527[_0x4d2e6b(0x1a7)]('_'))return _0x4d2e6b(0x2d5);if(FS_UNSAFE_NAME_RE[_0x4d2e6b(0x2b8)](_0x480527))return _0x4d2e6b(0x1ea);return null;}__name(validateFsSafeName,_0x30d09b(0x2c4));var COLLECTION_NAME_FORBIDDEN_RE=FS_UNSAFE_NAME_RE;function validateCollectionName(_0x472b8c){return validateFsSafeName(_0x472b8c);}__name(validateCollectionName,_0x30d09b(0x31e));var RUN_MANIFEST_FILE=_0x30d09b(0x2f2),RUN_TRIGGER_ENV=_0x30d09b(0x347),RUN_ACTOR_ENV=_0x30d09b(0x1cd),TRIGGER_KINDS=[_0x30d09b(0x1ae),'ci',_0x30d09b(0x195),'cli'];function runTriggerFromEnv(_0xb29916){const _0x567b36={_0x59111b:0x35e},_0x129475=_0x30d09b,_0x4355f6=_0xb29916[RUN_TRIGGER_ENV]?.[_0x129475(_0x567b36._0x59111b)]();if(!_0x4355f6||!TRIGGER_KINDS['includes'](_0x4355f6))return void 0x0;const _0x4999b0=_0xb29916[RUN_ACTOR_ENV]?.[_0x129475(0x35e)]();return{'kind':_0x4355f6,..._0x4999b0?{'by':_0x4999b0}:{}};}__name(runTriggerFromEnv,_0x30d09b(0x2c8));function runTriggerEnv(_0x24997d){const _0x155cb4={_0x55ca5f:0x1c6},_0x246696=_0x30d09b;return{[RUN_TRIGGER_ENV]:_0x24997d[_0x246696(_0x155cb4._0x55ca5f)],..._0x24997d['by']!==void 0x0?{[RUN_ACTOR_ENV]:_0x24997d['by']}:{}};}__name(runTriggerEnv,'runTriggerEnv');function manifestTrigger(_0x55626f){const _0x1c8b43={_0x318977:0x2bb},_0x4fe4c4=_0x30d09b;return _0x55626f[_0x4fe4c4(0x23e)]??{'kind':_0x4fe4c4(_0x1c8b43._0x318977)};}__name(manifestTrigger,'manifestTrigger');var RUN_SOURCES_FILE=_0x30d09b(0x21f),UnsupportedRunKindError=class extends Error{static{__name(this,_0x30d09b(0x271));}constructor(_0x484204,_0x2ceee6){const _0x3f6028={_0x4a6108:0x35b,_0x411cd9:0x271},_0x27e5f1=_0x30d09b;super(_0x27e5f1(0x359)+_0x2ceee6+_0x27e5f1(_0x3f6028._0x4a6108)+_0x484204+'\x22'),this[_0x27e5f1(0x360)]=_0x27e5f1(_0x3f6028._0x411cd9);}},RunnerAdapterNotFoundError=class extends Error{static{__name(this,_0x30d09b(0x269));}constructor(_0x3cba95,_0x136b62){const _0x2ae1b7={_0x310166:0x253,_0x492534:0x269},_0x45d79c=_0x30d09b;super(_0x45d79c(0x2e4)+_0x3cba95+_0x45d79c(_0x2ae1b7._0x310166)+_0x136b62),this['name']=_0x45d79c(_0x2ae1b7._0x492534);}},RunnerNotConfiguredError=class extends Error{static{__name(this,'RunnerNotConfiguredError');}constructor(_0x2e572c){const _0x34f1f4=_0x30d09b;super(_0x2e572c),this[_0x34f1f4(0x360)]=_0x34f1f4(0x28f);}},EXPECT_FAIL_ANNOTATION=_0x30d09b(0x1f0),ANNOTATION_RE=/^\s*\/\/\s*@([a-z0-9-]+)\s*$/;function isAnnotationLine(_0x43e6c8){const _0x5206f6={_0x505f12:0x2b8},_0x4e78c7=_0x30d09b;return ANNOTATION_RE[_0x4e78c7(_0x5206f6._0x505f12)](_0x43e6c8);}__name(isAnnotationLine,_0x30d09b(0x26c));function parseScenarioAnnotations(_0x4b4345){const _0x314b65={_0x1d1c56:0x285},_0x59fe99=_0x30d09b,_0x2f5213=new Set();for(const _0x2bb8bf of _0x4b4345['split'](/\r?\n/)){const _0x278c18=_0x2bb8bf['trim']();if(_0x278c18==='')continue;if(!_0x278c18['startsWith']('//'))break;const _0xf0ed4d=_0x278c18[_0x59fe99(0x1cf)](ANNOTATION_RE);if(_0xf0ed4d)_0x2f5213[_0x59fe99(_0x314b65._0x1d1c56)](_0xf0ed4d[0x1]);}return{'expectFail':_0x2f5213['has'](EXPECT_FAIL_ANNOTATION)};}__name(parseScenarioAnnotations,_0x30d09b(0x24e));var SEGMENT_NAME_FORBIDDEN_RE=FS_UNSAFE_NAME_RE;function validateSegmentName(_0x338130){return validateFsSafeName(_0x338130,{'reservedUnderscore':!![]});}__name(validateSegmentName,_0x30d09b(0x1ab));var TERMINAL_WS_EVENT='terminal',RUNNER_CONFIG_KEYS=new Set([_0x30d09b(0x1f3),_0x30d09b(0x212),_0x30d09b(0x27d),_0x30d09b(0x2f4),_0x30d09b(0x22b),'UNOTEST_DEFAULT_NAVIGATION_TIMEOUT_MS',_0x30d09b(0x283),'UNOTEST_LOCALE',_0x30d09b(0x215),_0x30d09b(0x2d7),'UNOTEST_DEBUG',_0x30d09b(0x2a0),_0x30d09b(0x26f),'UNOTEST_DEBUG_PREVIEW_BYTES','UNOTEST_DEBUG_HTML_MAX_BYTES',_0x30d09b(0x2d0),_0x30d09b(0x2e1),_0x30d09b(0x237),_0x30d09b(0x326),_0x30d09b(0x1bd),_0x30d09b(0x2ab),'UNOTEST_GROUNDER_MODE',_0x30d09b(0x337),_0x30d09b(0x2ad),'FORCE_COLOR',_0x30d09b(0x1d4)]);function isRunnerConfigKey(_0x2b864d){return RUNNER_CONFIG_KEYS['has'](_0x2b864d);}__name(isRunnerConfigKey,'isRunnerConfigKey');function categorizeVariable(_0x1336d8){const _0x4c182f={_0x1715f9:0x2cd,_0x5c3b66:0x238,_0x4617a1:0x30f},_0x40f766=_0x30d09b;if(_0x1336d8[_0x40f766(0x1de)]===_0x40f766(_0x4c182f._0x1715f9))return _0x40f766(_0x4c182f._0x5c3b66);return isRunnerConfigKey(_0x1336d8['name'])?_0x40f766(0x2b6):_0x40f766(_0x4c182f._0x4617a1);}__name(categorizeVariable,_0x30d09b(0x23d));function isExternalVarName(_0x2302be){const _0x41a331={_0x39aaaa:0x2b8},_0x5f2352=_0x30d09b;return/^[A-Z][A-Z0-9_]*$/[_0x5f2352(_0x41a331._0x39aaaa)](_0x2302be);}__name(isExternalVarName,_0x30d09b(0x187));var SECTION_BY_KIND={'app':_0x30d09b(0x1a3),'runner':_0x30d09b(0x217),'secret':void 0x0};function planAddVariable(_0x36aa7b){const _0x5391b6={_0x2554c2:0x224,_0x28c720:0x32a,_0x54d465:0x238,_0x2fcffb:0x2cd,_0x58a1ba:0x2b1,_0x219498:0x238,_0x11a3ca:0x18e},_0x33445a=_0x30d09b,{name:_0x568501,kind:_0x17b11f}=_0x36aa7b;if(_0x17b11f===_0x33445a(0x2b6)){if(!isRunnerConfigKey(_0x568501))return{'ok':![],'code':'unknown-runner-key','message':_0x568501+_0x33445a(0x32b)};}else{if(!isExternalVarName(_0x568501))return{'ok':![],'code':_0x33445a(_0x5391b6._0x2554c2),'message':_0x568501+'\x20must\x20be\x20UPPER_SNAKE\x20(e.g.\x20APP_BASE_URL)\x20so\x20a\x20scenario\x20can\x20reference\x20it\x20by\x20name.'};}const _0x19ea5c=envKeys(_0x36aa7b['envContent'])[_0x33445a(0x273)](_0x568501),_0x5b36ed=envKeys(_0x36aa7b[_0x33445a(_0x5391b6._0x28c720)])['has'](_0x568501),_0x11fdce=_0x17b11f===_0x33445a(_0x5391b6._0x54d465)?_0x33445a(0x2cd):'env',_0x32f837=_0x11fdce===_0x33445a(0x2cd)?_0x5b36ed:_0x19ea5c,_0x20c31e=_0x11fdce===_0x33445a(_0x5391b6._0x2fcffb)?_0x33445a(0x30b):_0x33445a(0x343);if(_0x32f837)return{'ok':![],'code':_0x33445a(0x2fe),'message':_0x568501+_0x33445a(0x29a)+_0x20c31e+_0x33445a(_0x5391b6._0x58a1ba)};const _0x32ec99=[];return _0x17b11f===_0x33445a(_0x5391b6._0x219498)&&_0x19ea5c&&_0x32ec99[_0x33445a(0x335)](_0x568501+_0x33445a(0x1e3)),_0x17b11f!==_0x33445a(0x238)&&_0x5b36ed&&_0x32ec99[_0x33445a(0x335)](_0x568501+_0x33445a(_0x5391b6._0x11a3ca)),{'ok':!![],'target':_0x11fdce,'sectionLabel':SECTION_BY_KIND[_0x17b11f],'warnings':_0x32ec99};}__name(planAddVariable,_0x30d09b(0x226));function deleteShadowWarning(_0x877f41,_0x5cb5b7,_0x11e2e6){const _0x6dd4b0={_0x87d8f:0x31f},_0x405981=_0x30d09b;if(_0x11e2e6!==void 0x0&&_0x11e2e6!==_0x5cb5b7)return[_0x877f41+_0x405981(_0x6dd4b0._0x87d8f)];return[];}__name(deleteShadowWarning,_0x30d09b(0x24d));var TERMINAL_RUNTIME_STATES=[_0x30d09b(0x288),_0x30d09b(0x1f7),'aborted'];function isTerminalRuntimeState(_0x2ddd7e){const _0x1ee97b={_0x533df2:0x1fa},_0x24eda6=_0x30d09b;return TERMINAL_RUNTIME_STATES[_0x24eda6(_0x1ee97b._0x533df2)](_0x2ddd7e);}__name(isTerminalRuntimeState,_0x30d09b(0x263));var JUDGE_ROUTES={'judge':_0x30d09b(0x264),'health':'/health'},JUDGE_ENV={'mode':_0x30d09b(0x245),'url':_0x30d09b(0x189),'token':_0x30d09b(0x291),'requestTimeoutMs':_0x30d09b(0x2ef),'preamble':_0x30d09b(0x30d),'provider':'UNOTEST_JUDGE_PROVIDER','model':_0x30d09b(0x2d3),'callTimeoutMs':_0x30d09b(0x279),'retries':'UNOTEST_JUDGE_RETRIES','vote':'UNOTEST_JUDGE_VOTE','accessToken':_0x30d09b(0x243),'claudeBin':_0x30d09b(0x2dc),'host':_0x30d09b(0x1ad),'port':'UNOTEST_JUDGE_PORT','logLevel':_0x30d09b(0x2d6),'skipPreflight':'UNOTEST_JUDGE_SKIP_PREFLIGHT'};export{ACTOR_TICKET_HEADER,ARTIFACTS_ROOT_ENV,BLOBS_DIR,BOX_ENV_VALUES_SEGMENT,BOX_NOTIFY_CHANNEL_KINDS,BOX_NOTIFY_EVENTS,BOX_NOTIFY_PATH,BOX_NOTIFY_STATES,BOX_NOTIFY_TRIGGER_KINDS,BOX_PUSH_TOKEN_PREFIX,BOX_READ_ENVIRONMENTS_PATH,BOX_READ_ENVIRONMENT_HEADER,BOX_READ_TOKEN_ENV,BOX_READ_TOKEN_PREFIX,BOX_REVEAL_SEGMENT,BOX_REVOCATIONS_RETRY_AFTER_SECONDS,BOX_RUNS_SEGMENT,BOX_SECRET_NAMES_ENV,BOX_SIGNED_TOKEN,BOX_SIGNED_TOKEN_PREFIX,BOX_TOKEN_ENV,BOX_URL_ENV,BOX_VALUES_PATH,BOX_VARIABLE_NAMES_ENV,BROWSER_CHANNEL_ENV,BROWSER_ENV,BUNDLED_BROWSER_CHANNEL,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,DAY_SHORT,E2E_SUBDIR,ENV_FILE,EXPECT_FAIL_ANNOTATION,FAILURES_DIR_SEGMENTS,FAILURES_ROOT_ENV,FREQ_FIELDS,GUARD_SECRET_HEADER,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,RUNNER_SETTING_PREFIX,RUNS_SUBDIR,RUNTIME_FILE,RUN_ACTOR_ENV,RUN_INDEX_SCHEMA_VERSION,RUN_MANIFEST_FILE,RUN_SOURCES_FILE,RUN_TRIGGER_ENV,RunnerAdapterNotFoundError,RunnerNotConfiguredError,SCENARIOS_INDEX_DIR,SCENARIOS_LATEST_FILE,SCENARIO_RECENT_WINDOW,SCHEDULES_FILE,SCHEDULES_FINGERPRINT_ENV,SECRETS_FILE,SEGMENT_NAME_FORBIDDEN_RE,SNAPSHOTS_SUBDIR,STDERR_FILE,STDOUT_FILE,STEPS_FILE,TARGET_ENV_VAR,TERMINAL_RUNTIME_STATES,TERMINAL_WS_EVENT,UNOTEST_DIR,UnplaceableRunIdError,UnsupportedRunKindError,WEEK_CHIP_ORDER,WORKSPACE_FILE,WORKSPACE_SCHEMA_VERSION,activeEnvName,artifactsRootFrom,blobPathFor,blobRelPathFor,blobRelSegmentsFor,blobsRootFor,boxEnvSecretRevealPath,boxEnvSecretsRevealPath,boxEnvValuePath,boxEnvValuesPath,boxNotifyChannelPath,boxNotifyMutePath,boxNotifyPreviewPath,boxNotifyPreviewTrigger,boxNotifyProjectPath,boxNotifyQuietHoursPath,boxNotifyRulePath,boxNotifySeriesPath,boxNotifySeriesResetPath,boxNotifyTestPath,boxRunPath,boxRunsPath,boxValueKindOfSegment,boxValuePath,boxValuesPath,canonicalScheduleSet,categorizeVariable,compareQueueTicketNames,cronFromSpec,debugDirFor,debuggerFileFor,declaredEnvKeys,decodeNameList,deleteShadowWarning,describeBundle,describeCron,describeSpec,describeTicketCi,encodeNameList,envFileFor,envKeys,envLayerFilesFor,envNamesFromDirListing,failuresRootFrom,failuresRootIn,failuresRootUnder,foldScenarioRun,formatNextTick,insertEnvVar,isAnnotationLine,isBoxNotifyState,isEnvVarName,isExternalVarName,isFailingStatus,isQueueDirName,isRecord,isRegexLiteral,isRunnerConfigKey,isRunnerSetting,isRunsDirName,isTerminalRuntimeState,makeQueueTicketName,makeRunId,manifestTrigger,mergeSchedules,nextTickFromSpec,parseAppServerEvent,parseBoxEnvValuesReplaceRequest,parseBoxNotifyChanged,parseBoxNotifyError,parseBoxNotifyMuteScope,parseBoxNotifyPreview,parseBoxNotifyProjectView,parseBoxNotifySeriesView,parseBoxNotifyTestResult,parseBoxNotifyView,parseBoxReadEnvironments,parseBoxReadError,parseBoxRunAccepted,parseBoxRunRequest,parseBoxRunStatus,parseBoxSecretRevealResponse,parseBoxSecretsRevealResponse,parseBoxValueSetRequest,parseBoxValuesReplaceRequest,parseBoxValuesResponse,parseBundleManifest,parseBundleUploadResponse,parseCiProvider,parseCiRunRequest,parseCiRunResponse,parseEnvContent,parseQueueTicket,parseQueueTicketName,parseScenarioAnnotations,parseScheduleEntry,parseSchedulesDoc,parseSchedulesJson,parseWorkspaceFile,planAddVariable,projectQueueRoot,projectRunDirFor,projectRunsRoot,queueDirFor,queuePriorityFromRank,queuePriorityRank,regexLiteral,removeEnvVar,replaceEnvVar,requireRunDirFor,reservedBoxValueNames,runDirFor,runIdStartedAt,runTriggerEnv,runTriggerFromEnv,runsDirFor,sanitizeRunIdSegment,scenarioIndexFileName,scenarioRefFromFileName,scheduleTarget,secretsFileFor,secretsLayerFilesFor,serializeEnvValue,shardDaysDescending,shardDirFor,shardPathForRunId,shardPathForTimestamp,specFromCron,testDirFor,validateCollectionName,validateSegmentName};
|
|
1
|
+
const _0x50ee4d=_0x5736;(function(_0x59be27,_0x25f3f5){const _0x34651c={_0x2a869d:0x274,_0x3ec5de:0x200,_0x482bee:0x169,_0x5c2c97:0x297},_0x13dec0=_0x5736,_0x43a077=_0x59be27();while(!![]){try{const _0x36dadd=-parseInt(_0x13dec0(0x2eb))/0x1*(parseInt(_0x13dec0(_0x34651c._0x2a869d))/0x2)+parseInt(_0x13dec0(0x320))/0x3+parseInt(_0x13dec0(0x225))/0x4+-parseInt(_0x13dec0(_0x34651c._0x3ec5de))/0x5+-parseInt(_0x13dec0(0x20a))/0x6*(-parseInt(_0x13dec0(0x253))/0x7)+parseInt(_0x13dec0(_0x34651c._0x482bee))/0x8+parseInt(_0x13dec0(_0x34651c._0x5c2c97))/0x9;if(_0x36dadd===_0x25f3f5)break;else _0x43a077['push'](_0x43a077['shift']());}catch(_0xd65133){_0x43a077['push'](_0x43a077['shift']());}}}(_0x30a6,0x8ecca));var __defProp=Object['defineProperty'],__name=(_0x1f5008,_0xfa3063)=>__defProp(_0x1f5008,'name',{'value':_0xfa3063,'configurable':!![]});function parseAppServerEvent(_0x111ae4){const _0x5981dd={_0x5c6638:0x1fd,_0x4a8420:0x2cb},_0x57ff6b=_0x5736,_0x1e48a2=_0x111ae4[_0x57ff6b(0x29b)]();if(!_0x1e48a2[_0x57ff6b(0x2bd)]('{'))return null;try{const _0x5a79b6=JSON['parse'](_0x1e48a2);if(_0x5a79b6[_0x57ff6b(0x1fd)]==='app-server:ready'||_0x5a79b6[_0x57ff6b(0x1fd)]===_0x57ff6b(0x1ab)||_0x5a79b6[_0x57ff6b(_0x5981dd._0x5c6638)]===_0x57ff6b(_0x5981dd._0x4a8420))return _0x5a79b6;return null;}catch{return null;}}__name(parseAppServerEvent,_0x50ee4d(0x1c7));function isRecord(_0x2a0ce6){const _0x59281e={_0x29269c:0x216},_0x15fd8f=_0x50ee4d;return typeof _0x2a0ce6===_0x15fd8f(0x17b)&&_0x2a0ce6!==null&&!Array[_0x15fd8f(_0x59281e._0x29269c)](_0x2a0ce6);}__name(isRecord,_0x50ee4d(0x1ff));var UNOTEST_DIR=_0x50ee4d(0x2a2),E2E_SUBDIR=_0x50ee4d(0x1a5),HELPERS_SUBDIR='_helpers',COLLECTIONS_SUBDIR=_0x50ee4d(0x1d7),RUNS_SUBDIR='.runs',SNAPSHOTS_SUBDIR=_0x50ee4d(0x262);function testDirFor(_0x461e9c){return''+E2E_SUBDIR+_0x461e9c;}__name(testDirFor,'testDirFor');function runsDirFor(_0x59f31e,_0x3f863e){return''+RUNS_SUBDIR+_0x59f31e+(_0x3f863e?'.'+_0x3f863e:'');}__name(runsDirFor,_0x50ee4d(0x1cd));function isRunsDirName(_0x425982){const _0x56e364={_0x12701:0x2bd},_0x1520e2=_0x50ee4d;return _0x425982===RUNS_SUBDIR||_0x425982[_0x1520e2(_0x56e364._0x12701)](RUNS_SUBDIR+'-')||_0x425982[_0x1520e2(0x2bd)](RUNS_SUBDIR+'.');}__name(isRunsDirName,_0x50ee4d(0x2e4));function debugDirFor(_0x59626b){const _0x22b3a5=_0x50ee4d;return _0x22b3a5(0x244)+_0x59626b;}__name(debugDirFor,_0x50ee4d(0x224));function debuggerFileFor(_0x59d7c2){const _0x13d05b=_0x50ee4d;return UNOTEST_DIR+_0x13d05b(0x1d6)+_0x59d7c2+_0x13d05b(0x1b0);}__name(debuggerFileFor,'debuggerFileFor');var LOCK_FILE=_0x50ee4d(0x2da),LOG_FILE=_0x50ee4d(0x238),STEPS_FILE=_0x50ee4d(0x33a),HEARTBEAT_FILE=_0x50ee4d(0x332),DAY_INDEX_FILE='_day.jsonl',SCENARIOS_INDEX_DIR=_0x50ee4d(0x26c),SCENARIOS_LATEST_FILE=_0x50ee4d(0x231),STDOUT_FILE=_0x50ee4d(0x2ca),STDERR_FILE=_0x50ee4d(0x20b),COMMANDS_FILE=_0x50ee4d(0x2cd),RUNTIME_FILE='runtime.json',PICKER_SNAPSHOT_FILE=_0x50ee4d(0x32a),ENV_FILE='unotest/.env',SECRETS_FILE=_0x50ee4d(0x294),SCHEDULES_FILE='unotest/schedules.yaml';function envFileFor(_0x26aea6,_0x3c290c){return''+ENV_FILE+_0x26aea6+(_0x3c290c?'.'+_0x3c290c:'');}__name(envFileFor,_0x50ee4d(0x230));function secretsFileFor(_0x1d4582,_0xd8bbb6){return''+SECRETS_FILE+_0x1d4582+(_0xd8bbb6?'.'+_0xd8bbb6:'');}__name(secretsFileFor,_0x50ee4d(0x237));function envLayerFilesFor(_0x3e6c52,_0x5c1122){return layersFor(ENV_FILE,_0x3e6c52,_0x5c1122);}__name(envLayerFilesFor,_0x50ee4d(0x2e1));function secretsLayerFilesFor(_0x2b47e1,_0x37085d){return layersFor(SECRETS_FILE,_0x2b47e1,_0x37085d);}__name(secretsLayerFilesFor,_0x50ee4d(0x1aa));function layersFor(_0x161ac7,_0x4e9648,_0x13bd5f){const _0x3e398f={_0x16b473:0x27e,_0x34e6ec:0x27e},_0x30740b=_0x50ee4d,_0x302556=[_0x161ac7];if(_0x4e9648)_0x302556[_0x30740b(_0x3e398f._0x16b473)](''+_0x161ac7+_0x4e9648);if(_0x13bd5f){_0x302556[_0x30740b(0x27e)](_0x161ac7+'.'+_0x13bd5f);if(_0x4e9648)_0x302556[_0x30740b(_0x3e398f._0x34e6ec)](''+_0x161ac7+_0x4e9648+'.'+_0x13bd5f);}return _0x302556;}__name(layersFor,_0x50ee4d(0x21e));var ARTIFACTS_ROOT_ENV='UNOTEST_ARTIFACTS_ROOT';function artifactsRootFrom(_0x1112f6,_0x362b17){const _0x5da80a={_0x3b870e:0x29b},_0x10865d=_0x50ee4d,_0x47b17c=_0x1112f6[ARTIFACTS_ROOT_ENV]?.[_0x10865d(_0x5da80a._0x3b870e)]();return _0x47b17c?_0x47b17c:_0x362b17;}__name(artifactsRootFrom,_0x50ee4d(0x22b));var FAILURES_DIR_SEGMENTS=[_0x50ee4d(0x2ad),_0x50ee4d(0x249)];function failuresRootUnder(_0x50ed83){const _0x30f9c4={_0x4b7263:0x1f0},_0x252150=_0x50ee4d;return[_0x50ed83[_0x252150(0x280)](/\/+$/,''),...FAILURES_DIR_SEGMENTS][_0x252150(_0x30f9c4._0x4b7263)]('/');}__name(failuresRootUnder,'failuresRootUnder');var FAILURES_ROOT_ENV=_0x50ee4d(0x240);function failuresRootFrom(_0x39683d,_0x1e701f){const _0x265903=_0x39683d[FAILURES_ROOT_ENV]?.['trim']();return _0x265903?_0x265903:_0x1e701f;}__name(failuresRootFrom,'failuresRootFrom');function activeEnvName(_0x3f29c8){const _0x18cd4a={_0x42d65a:0x29b},_0x2a53ba=_0x50ee4d,_0x2919b6=_0x3f29c8[_0x2a53ba(0x25c)]?.[_0x2a53ba(_0x18cd4a._0x42d65a)]();return _0x2919b6?_0x2919b6:void 0x0;}__name(activeEnvName,_0x50ee4d(0x25e));var RESERVED_ENV_NAMES=new Set([_0x50ee4d(0x33f),'sample',_0x50ee4d(0x1ca)]);function envNamesFromDirListing(_0x14faf7,_0x48cc08){const _0x5614e1={_0x470c95:0x2c5,_0x125ab8:0x2bd,_0x24a197:0x261},_0x5828a5=_0x50ee4d,_0x452863=[_0x5828a5(_0x5614e1._0x470c95),_0x5828a5(0x2b4)]['flatMap'](_0x3982bb=>_0x48cc08?[_0x3982bb,''+_0x3982bb+_0x48cc08]:[_0x3982bb]),_0x42ee28=new Set();for(const _0x56594e of _0x14faf7){for(const _0x534cfb of _0x452863){const _0x62c8e3=_0x534cfb+'.';if(!_0x56594e[_0x5828a5(_0x5614e1._0x125ab8)](_0x62c8e3))continue;const _0x5b76fe=_0x56594e['slice'](_0x62c8e3[_0x5828a5(_0x5614e1._0x24a197)]);if(!_0x5b76fe||_0x5b76fe[_0x5828a5(0x19a)]('/'))continue;if(RESERVED_ENV_NAMES[_0x5828a5(0x1db)](_0x5b76fe))continue;_0x42ee28[_0x5828a5(0x203)](_0x5b76fe);}}return[..._0x42ee28][_0x5828a5(0x2be)]();}__name(envNamesFromDirListing,_0x50ee4d(0x30a));function isRegexLiteral(_0x4dcfbe){const _0x14fb84={_0x5c5ed5:0x1e4,_0x395d61:0x1f7,_0x3b0816:0x1e4},_0x31cbc1=_0x50ee4d;return typeof _0x4dcfbe==='object'&&_0x4dcfbe!==null&&_0x4dcfbe[_0x31cbc1(0x1fd)]===_0x31cbc1(0x24b)&&typeof _0x4dcfbe['source']===_0x31cbc1(_0x14fb84._0x5c5ed5)&&typeof _0x4dcfbe[_0x31cbc1(_0x14fb84._0x395d61)]===_0x31cbc1(_0x14fb84._0x3b0816);}__name(isRegexLiteral,_0x50ee4d(0x2ba));function regexLiteral(_0x103512,_0x399412=''){const _0x391bb0={_0x6dbe33:0x24b},_0x2c2bb1=_0x50ee4d;return{'kind':_0x2c2bb1(_0x391bb0._0x6dbe33),'source':_0x103512,'flags':_0x399412};}__name(regexLiteral,_0x50ee4d(0x1e6));var RAND_BYTES=0x6;function makeRunId(_0x505395){const _0x22e154={_0x12d94c:0x29e,_0x5a3e6a:0x2a0},_0x8ef019=_0x50ee4d,_0x36a88c=sanitizeRunIdSegment(_0x505395),_0x14e70d=Date[_0x8ef019(0x17e)]()[_0x8ef019(_0x22e154._0x12d94c)](0x24),_0x269dfa=new Uint8Array(RAND_BYTES);globalThis[_0x8ef019(0x327)][_0x8ef019(0x191)](_0x269dfa);let _0x4755fa='';for(let _0x491d1c=0x0;_0x491d1c<_0x269dfa[_0x8ef019(0x261)];_0x491d1c++){_0x4755fa+=_0x269dfa[_0x491d1c][_0x8ef019(0x29e)](0x10)[_0x8ef019(_0x22e154._0x5a3e6a)](0x2,'0');}return _0x36a88c+'-'+_0x14e70d+'-'+_0x4755fa;}__name(makeRunId,_0x50ee4d(0x2f0));function sanitizeRunIdSegment(_0x1adcf2){const _0xc40812=_0x50ee4d,_0xd3343d=_0x1adcf2[_0xc40812(0x280)](/[^a-zA-Z0-9_-]+/g,'-')[_0xc40812(0x280)](/-+/g,'-')[_0xc40812(0x280)](/^-|-$/g,'');return _0xd3343d['length']>0x0?_0xd3343d:_0xc40812(0x2e9);}__name(sanitizeRunIdSegment,_0x50ee4d(0x210));var RANDOM_SUFFIX_RE=/^[0-9a-f]{6,}$/,MIN_PLAUSIBLE_MS=Date[_0x50ee4d(0x32e)](0x7e4,0x0,0x1),MAX_PLAUSIBLE_MS=Date['UTC'](0x834,0x0,0x1);function runIdStartedAt(_0x501a0b){const _0x20548d={_0x199763:0x2b1,_0x2ec542:0x261,_0x1f8eb1:0x2b7},_0x179a71=_0x50ee4d,_0x1f0559=_0x501a0b[_0x179a71(_0x20548d._0x199763)]('-');if(_0x1f0559[_0x179a71(_0x20548d._0x2ec542)]<0x3)return null;const _0x34c900=_0x1f0559[_0x1f0559['length']-0x1];if(!RANDOM_SUFFIX_RE[_0x179a71(0x1e0)](_0x34c900))return null;const _0x2a4da3=_0x1f0559[_0x1f0559[_0x179a71(0x261)]-0x2];if(!/^[0-9a-z]+$/['test'](_0x2a4da3))return null;const _0x15baf5=parseInt(_0x2a4da3,0x24);if(!Number[_0x179a71(_0x20548d._0x1f8eb1)](_0x15baf5))return null;if(_0x15baf5<MIN_PLAUSIBLE_MS||_0x15baf5>=MAX_PLAUSIBLE_MS)return null;return _0x15baf5;}__name(runIdStartedAt,'runIdStartedAt');function shardPathForTimestamp(_0x18ce73){const _0x53ee97={_0x4a90df:0x2db},_0x2c3dff=_0x50ee4d,_0x3fddca=new Date(_0x18ce73),_0x25fded=String(_0x3fddca[_0x2c3dff(_0x53ee97._0x4a90df)]())['padStart'](0x4,'0'),_0x26e6cf=String(_0x3fddca['getUTCMonth']()+0x1)[_0x2c3dff(0x2a0)](0x2,'0'),_0x400132=String(_0x3fddca[_0x2c3dff(0x1c1)]())['padStart'](0x2,'0');return _0x25fded+'/'+_0x26e6cf+'/'+_0x400132;}__name(shardPathForTimestamp,_0x50ee4d(0x330));function shardPathForRunId(_0x2e30d6){const _0x5ed957=runIdStartedAt(_0x2e30d6);return _0x5ed957===null?null:shardPathForTimestamp(_0x5ed957);}__name(shardPathForRunId,_0x50ee4d(0x269));function runDirFor(_0x373763,_0x5225b6){const _0xd4d97e=shardPathForRunId(_0x5225b6);return _0xd4d97e===null?null:_0x373763+'/'+_0xd4d97e+'/'+_0x5225b6;}__name(runDirFor,_0x50ee4d(0x201));var UnplaceableRunIdError=class extends Error{static{__name(this,'UnplaceableRunIdError');}constructor(_0x2e6078){const _0x18cf2a=_0x50ee4d;super('runId\x20carries\x20no\x20timestamp,\x20cannot\x20place\x20it\x20in\x20a\x20shard:\x20'+_0x2e6078),this[_0x18cf2a(0x2b9)]=_0x18cf2a(0x270);}};function requireRunDirFor(_0x2789f6,_0x2c1f40){const _0x3f99bd=runDirFor(_0x2789f6,_0x2c1f40);if(_0x3f99bd===null)throw new UnplaceableRunIdError(_0x2c1f40);return _0x3f99bd;}__name(requireRunDirFor,_0x50ee4d(0x1ad));function projectRunsRoot(_0x4c2c05='',_0x5df866){return UNOTEST_DIR+'/'+runsDirFor(_0x4c2c05,_0x5df866);}__name(projectRunsRoot,_0x50ee4d(0x1c9));function failuresRootIn(_0x5e260e,_0x38165d){const _0x2be4c3=_0x50ee4d;return failuresRootUnder(_0x5e260e[_0x2be4c3(0x280)](/\/+$/,'')+'/'+projectRunsRoot('',_0x38165d));}__name(failuresRootIn,'failuresRootIn');function projectRunDirFor(_0x1a7186,_0x20751d='',_0x289804){return requireRunDirFor(projectRunsRoot(_0x20751d,_0x289804),_0x1a7186);}__name(projectRunDirFor,_0x50ee4d(0x301));function shardDirFor(_0x1c02e9,_0x4b4ea3){return _0x1c02e9+'/'+shardPathForTimestamp(_0x4b4ea3);}__name(shardDirFor,_0x50ee4d(0x251));function*shardDaysDescending(_0xe5e354,_0x2de18c,_0x3291da){const _0xae783d={_0x3e4c7b:0x23e},_0x359689=_0x50ee4d,_0x5245e7=0x5265c00;let _0x53aa79=Math[_0x359689(_0xae783d._0x3e4c7b)](_0x2de18c/_0x5245e7)*_0x5245e7;for(let _0x497c31=0x0;_0x497c31<_0x3291da;_0x497c31++){yield shardDirFor(_0xe5e354,_0x53aa79),_0x53aa79-=_0x5245e7;}}__name(shardDaysDescending,_0x50ee4d(0x341));var RUN_INDEX_SCHEMA_VERSION=0x2,SCENARIO_RECENT_WINDOW=0xc;function isFailingStatus(_0x595793){const _0x290e0e=_0x50ee4d;return _0x595793===_0x290e0e(0x316)||_0x595793==='interrupted';}__name(isFailingStatus,'isFailingStatus');function foldScenarioRun(_0x46fc2b,_0x4ecac7){const _0x37770f={_0x417258:0x23b,_0x84fb8:0x2df,_0x49c3c5:0x2f1,_0x28030c:0x289},_0x31c5bc=_0x50ee4d,_0x12faeb={'lastRunId':_0x4ecac7[_0x31c5bc(0x256)],'lastStatus':_0x4ecac7[_0x31c5bc(_0x37770f._0x417258)],'lastAt':_0x4ecac7[_0x31c5bc(0x2f1)],'lastDurationMs':_0x4ecac7['durationMs'],'recent':[..._0x46fc2b?.['recent']??[],_0x4ecac7['status']][_0x31c5bc(_0x37770f._0x84fb8)](-SCENARIO_RECENT_WINDOW)};if(!isFailingStatus(_0x4ecac7[_0x31c5bc(0x23b)]))return{..._0x12faeb,'failStreak':0x0,'failingSince':null};const _0x1e5b8a=(_0x46fc2b?.['failStreak']??0x0)+0x1;return{..._0x12faeb,'failStreak':_0x1e5b8a,'failingSince':_0x1e5b8a===0x1?_0x4ecac7[_0x31c5bc(_0x37770f._0x49c3c5)]:_0x46fc2b?.[_0x31c5bc(_0x37770f._0x28030c)]??_0x4ecac7[_0x31c5bc(0x2f1)]};}__name(foldScenarioRun,_0x50ee4d(0x222));function scenarioIndexFileName(_0x4d7eea){return encodeURIComponent(_0x4d7eea)+'.jsonl';}__name(scenarioIndexFileName,_0x50ee4d(0x315));function scenarioRefFromFileName(_0x2ae243){const _0x4b3596={_0x4720f2:0x1ae,_0x3c2a6d:0x192,_0x109b82:0x261},_0x9f0bd3=_0x50ee4d;if(!_0x2ae243[_0x9f0bd3(_0x4b3596._0x4720f2)](_0x9f0bd3(_0x4b3596._0x3c2a6d)))return null;try{return decodeURIComponent(_0x2ae243[_0x9f0bd3(0x2df)](0x0,-_0x9f0bd3(0x192)[_0x9f0bd3(_0x4b3596._0x109b82)]));}catch{return null;}}__name(scenarioRefFromFileName,_0x50ee4d(0x184));var CI_RUN_PATH=_0x50ee4d(0x273),PROVIDER_IDS=[_0x50ee4d(0x1a6),_0x50ee4d(0x239),_0x50ee4d(0x2b0)],RUN_ERROR_CODES=[_0x50ee4d(0x2e7),'scope-mismatch',_0x50ee4d(0x190),'unknown-bundle',_0x50ee4d(0x2ce),_0x50ee4d(0x180),_0x50ee4d(0x1a3),_0x50ee4d(0x343),'ambiguous-project','pinned-environment-empty',_0x50ee4d(0x28d)];function parseCiRunRequest(_0xdcedc){const _0x2984c5={_0x18760f:0x1e4,_0x9e2f76:0x1e4,_0x3846cf:0x216,_0x31b404:0x2e5,_0x57d0a5:0x31a,_0x4bf765:0x285},_0x2edfa6=_0x50ee4d;if(!isRecord(_0xdcedc))return null;const {bundleId:_0x27517a,environment:_0x49420a,collections:_0x234a3d,pr:_0x3bb86f,branch:_0x30b408,sha:_0x3f868b}=_0xdcedc;if(typeof _0x27517a!==_0x2edfa6(_0x2984c5._0x18760f)||_0x27517a[_0x2edfa6(0x261)]===0x0)return null;if(typeof _0x49420a!==_0x2edfa6(_0x2984c5._0x9e2f76)||_0x49420a[_0x2edfa6(0x261)]===0x0)return null;let _0x229b1c=null;if(_0x234a3d!==void 0x0){if(!Array[_0x2edfa6(_0x2984c5._0x3846cf)](_0x234a3d))return null;if(_0x234a3d[_0x2edfa6(_0x2984c5._0x31b404)](_0x44dd83=>typeof _0x44dd83!==_0x2edfa6(0x1e4)||_0x44dd83[_0x2edfa6(0x261)]===0x0))return null;_0x229b1c=_0x234a3d;}if(_0x3bb86f!==void 0x0&&(typeof _0x3bb86f!==_0x2edfa6(_0x2984c5._0x57d0a5)||!Number[_0x2edfa6(_0x2984c5._0x4bf765)](_0x3bb86f)))return null;for(const _0x5d019d of[_0x30b408,_0x3f868b]){if(_0x5d019d!==void 0x0&&typeof _0x5d019d!==_0x2edfa6(0x1e4))return null;}return{'bundleId':_0x27517a,'environment':_0x49420a,..._0x229b1c?{'collections':_0x229b1c}:{},...typeof _0x3bb86f==='number'?{'pr':_0x3bb86f}:{},...typeof _0x30b408===_0x2edfa6(0x1e4)?{'branch':_0x30b408}:{},...typeof _0x3f868b===_0x2edfa6(_0x2984c5._0x18760f)?{'sha':_0x3f868b}:{}};}__name(parseCiRunRequest,_0x50ee4d(0x232));function parseCiRunResponse(_0x5a88f4){const _0x11456c={_0x9aa791:0x2d5,_0x4f4cfe:0x19a,_0x2d034:0x1e4,_0x17befd:0x216,_0x14e8c6:0x27e,_0x12a9ac:0x1e4,_0x2f116e:0x31a},_0x216241=_0x50ee4d;if(!isRecord(_0x5a88f4))return null;if(isRecord(_0x5a88f4[_0x216241(0x2d5)])){const {code:_0x461dc8,message:_0x152335}=_0x5a88f4[_0x216241(_0x11456c._0x9aa791)];if(!RUN_ERROR_CODES[_0x216241(_0x11456c._0x4f4cfe)](_0x461dc8))return null;if(typeof _0x152335!==_0x216241(_0x11456c._0x2d034))return null;return{'error':{'code':_0x461dc8,'message':_0x152335}};}const {status:_0x470277,bundleId:_0x3ab043,environment:_0x3e5b76,runs:_0x2b3b4b,superseded:_0x40f847,environmentPinned:_0x6092ad}=_0x5a88f4;if(_0x470277!==_0x216241(0x206))return null;if(typeof _0x3ab043!==_0x216241(0x1e4)||typeof _0x3e5b76!==_0x216241(0x1e4))return null;if(!Array[_0x216241(_0x11456c._0x17befd)](_0x2b3b4b))return null;const _0x4869ff=[];for(const _0x532b09 of _0x2b3b4b){if(!isRecord(_0x532b09))return null;const {runId:_0x4eb96b,collection:_0x1f7f0a}=_0x532b09;if(typeof _0x4eb96b!==_0x216241(_0x11456c._0x2d034)||typeof _0x1f7f0a!=='string')return null;_0x4869ff[_0x216241(_0x11456c._0x14e8c6)]({'runId':_0x4eb96b,'collection':_0x1f7f0a});}if(_0x40f847!==void 0x0&&typeof _0x40f847!=='number')return null;let _0x3b07cd=null;return _0x6092ad!==void 0x0&&(isRecord(_0x6092ad)&&typeof _0x6092ad['branch']===_0x216241(_0x11456c._0x12a9ac)&&(_0x3b07cd={'branch':_0x6092ad[_0x216241(0x2de)]})),{'status':_0x216241(0x206),'bundleId':_0x3ab043,'environment':_0x3e5b76,'runs':_0x4869ff,...typeof _0x40f847===_0x216241(_0x11456c._0x2f116e)?{'superseded':_0x40f847}:{},..._0x3b07cd?{'environmentPinned':_0x3b07cd}:{}};}__name(parseCiRunResponse,_0x50ee4d(0x30b));function parseCiProvider(_0x423b27){const _0x57c044=_0x50ee4d;return PROVIDER_IDS[_0x57c044(0x19a)](_0x423b27)?_0x423b27:null;}__name(parseCiProvider,'parseCiProvider');var QUEUE_SUBDIR='.queue',QUEUE_TICKETS_DIR=_0x50ee4d(0x1c6),QUEUE_RUNNING_DIR=_0x50ee4d(0x31b),QUEUE_SLOTS_DIR=_0x50ee4d(0x2e6),QUEUE_MUTEX_FILE='.mutex',QUEUE_LEASE_ENV=_0x50ee4d(0x1e2),QUEUE_DISABLED_ENV=_0x50ee4d(0x1a9),QUEUE_GLOBAL_DIR_ENV='UNOTEST_QUEUE_GLOBAL_DIR',QUEUE_GLOBAL_SLOTS_ENV=_0x50ee4d(0x18d),QUEUE_SCHEMA_VERSION=0x1;function queueDirFor(_0x3c38cc,_0x3f4830){return''+QUEUE_SUBDIR+_0x3c38cc+(_0x3f4830?'.'+_0x3f4830:'');}__name(queueDirFor,_0x50ee4d(0x2f8));function isQueueDirName(_0x30eaeb){const _0x5e6999=_0x50ee4d;return _0x30eaeb===QUEUE_SUBDIR||_0x30eaeb[_0x5e6999(0x2bd)](QUEUE_SUBDIR+'-')||_0x30eaeb[_0x5e6999(0x2bd)](QUEUE_SUBDIR+'.');}function _0x30a6(){const _0x2f1fd7=['rK9sq0vFq09mt1i','CgfYC2vfBNzdB250zw50','y29TCgXLDgvK','AgfZ','CgfYC2vcB3HszwfKrxjYB3i','iIbKB2vZig5VDcbZDxbWB3j0ihj1BIbRAw5Kici','CNvUBMvY','vu5pvevtvf9erujvrW','DgvZDa','Ag91CNm','vu5pvevtvf9rvuvvrv9mruftrq','CgfYC2vwywX1zuvUDMvSB3bL','C3rYAw5N','B3v0y29Tzq','CMvNzxHmAxrLCMfS','l3rLC3q','C3rPBgWTzMfPBgLUzW','yhnJAgvKDwXLCZPGig11C3qGyMuGyw4GyxjYyxK','DMfYAwfIBgvhyxbZ','zMLUzeLUzgv4','C2nVCgu','kI81icOGkIaQicO','CgfYC2vcB3HszwfKrw52AxjVBM1LBNrZ','vu5pvevtvf9erujvr19quKvwsuvxx0jzvevt','AM9PBG','zMLSzq','Aw5ZDgfSBgvK','iYaTls0G','yM94rw52vMfSDwvZugf0Aa','BwfW','CNvUBMvYici','zMXHz3m','C3bLy01HDgnOzxm','C2LUy2u','zxHWzwn0lwzHAwW','vu5pvevtvf9ct1HFve9lru4','l2HLywX0Aa','A2LUza','BwnW','AxnszwnVCMq','ndy3mZm4mhHpy3bZCq','CNvUrgLYrM9Y','DgL0Bgu','ywrK','yM94tM90Awz5uhjVAMvJDfbHDgG','y3jLyxrLzef0','CxvLDwvK','yw1IAwD1B3vZlxbYB2PLy3q','Ec11BM90zxn0lwvUDMLYB25Tzw50','BxvZDcbUB3qGC3rHCNqGD2L0AcaNlIC','mJy0rfbgs25Y','C3rKzxjYlMXVzW','zxzLBNrZ','CgfYC2vnDxrL','Aw5ZDgfSBezPzwXK','zNjLzxPL','C2fUAxrPEMvsDw5jzfnLz21LBNq','yNvUzgXLswq','vu5pvevtvf9eruzbvuXux1rjtuvpvvrFtvm','l2fWAs9IB3GVyNvUzgXLCW','ChjVAMvJDa','CgfYC2vty2HLzhvSzuvUDhj5','AxnbCNjHEq','l2fWAs9IB3GVBM90Awz5','z2v0vgLTzq','zw52q29UDgvUDa','AxnfDMvUDa','zxzLCNK','Dw5VC18','CgfYC2vlzwvWuMvJB3jK','Bgf5zxjZrM9Y','AxntDhjPBMC','AdeY','BwLUlxzLCNnPB24','zM9SzfnJzw5HCMLVuNvU','DhjPz2DLCNm','zgvIDwDeAxjgB3i','nda4otC3nMLsCKHysW','BwLUDxrLCW','BgfZDe5VDgLMAwvKqxq','yMXVyLjLBfnLz21LBNrZrM9Y','zw50CMLLCW','kI8Xnq','yxj0AwzHy3rZuM9VDezYB20','DMfSDwu','DgLTzxm','zw52AxjVBM1LBNrZ','sw52ywXPzejSB2jiyxnOrxjYB3i','zw52rMLSzuzVCG','x2XHDgvZDc5QC29U','CgfYC2vdAvj1BLjLCxvLC3q','vu5pvevtvf9cuK9xu0vs','C2v0u2vJB25KCW','BxvZDcbUB3qGC3rHCNqGD2L0AcaNxYCGkhjLC2vYDMvKkq','vu5pvevtvf9kvurhrv9wt1rf','C2vJCMv0C0zPBgvgB3i','lNzPzxDLCI5SB2C','z2L0BgfI','Aw5Zzxj0rw52vMfY','C3rHDhvZ','C3bSAwnL','vu5pvevtvf9svu5Fqunut1i','zMXVB3i','CgfYC2vcB3HsDw5tDgf0Dxm','vu5pvevtvf9gquLmvvjfu19st09u','Ag91CMX5','z2v0sg91CNm','vu5pvevtvf9kvurhrv9usu1ft1vux01t','lMrLyNvN','vu5pvevtvf9kvurhrv9quKvbtujmrq','DgvYBwLUywW','DMfYAwfIBgvZ','CgLK','zMfPBhvYzxm','vu5pvevtvf9dt05tt0Xf','CMvNzxG','CgfYC2vcDw5KBgvnyw5PzMvZDa','DMfSAwrHDgvgC1nHzMvoyw1L','zgvJB2rLtMfTzuXPC3q','C3rYAw5NtgLZDa','ChjVAMvJDhm','C2HHCMreAxjgB3i','vw5ZDxbWB3j0zwrsDw5lAw5KrxjYB3i','ndG4nM13uerTsG','BNb4ieb1BM90zxn0l3DLyIbIDw5KBguGChvZAcaTlxj1BIaTlwvUDIa','ChjLCgfYzq','CNvUswq','C2vYAwvZ','xsbYzxbLyxrZia','C2XHy2S','CgfYC2voyw1LzfjLy29Yza','tK9Fq09mt1i','vu5pvevtvf9ftLy','BgLUzxm','ywn0AxzLrw52tMfTzq','l2P1zgDL','zgvZy3jPyMvdCM9U','BgvUz3rO','lNnUyxbZAg90CW','icOGkIaQicO','CxvLDwvqCMLVCML0EvjHBMS','CgfYC2vcDw5KBgu','icOV','y2fJAgu','CMf0zs1SAw1PDgvK','C2HHCMrqyxrOrM9YuNvUswq','CMvZzxj2zwq','vu5pvevtvf9orvrxt1jl','x3nJzw5HCMLVCW','CMvZzxj2zwrvBMrLCNnJB3jL','A2v5CW','zw52','vw5WBgfJzwfIBgvsDw5jzevYCM9Y','l3jLC2v0','zxzLCNKG','l2fWAs9IB3GVy2KVCNvU','mNPItfHotW','vu5pvevtvf9kvurhrv9qt1ju','kI8XnsaQicOGkIaQ','ufiGiW','vu5pvevtvf9svu5Fvfjjr0DfuG','CMvTB3zLrw52vMfY','vu5pvevtvf9erujvr19esvi','Dw50AwW','CxvLDwvqCMLVCML0EuzYB21syw5R','vu5pvevtvf9eruzbvuXux05bvKLhqvrjt05FveLnru9vvf9nuW','ChvZAa','Dg90ywW','CMvWBgfJzq','vu5pvevtvf9huK9vtKrfuL9sru1pvevFvvjm','CMvJB3zLCMvK','AxnsDw5Uzxjtzxr0Aw5N','zNjLCq','AxnjBNrLz2vY','vu5pvevtvf9qt1bvuf9huKfdrv9nuW','ic0Tlq','DgvSzwDYyw0','zMfPBgLUz1nPBMnL','Dw5RBM93BI1ZzwnYzxq','AxnuzxjTAw5HBfj1BNrPBwvtDgf0zq','CgfYC2vty2HLzhvSzxneB2m','C3rVCMfNzq','CgfYC2vcB3HwywX1zxnszxnWB25Zzq','vu5pvevtvf9kvurhrv9nt0rf','y29SBgvJDgLVBG','CgfYC2vcB3HoB3rPzNLdAgfUz2vK','zgvJBgfYzwrfBNzlzxLZ','CMfUzg9T','Dw5VDgvZDc8UC2vJCMv0CW','CgfYC2vcB3HszwfKsw5ZDgfSBa','vu5pvevtvf9kvurhrv9quK9wsurfuG','ndK4nZa4suHku3bV','AM9PBKXPBMvZ','igLZigfSC28GC2v0igLUihvUB3rLC3qVlMvUDIdIGjqGDgHLihnLy3jLDcb2ywX1zsbUB3CGC2HHzg93CYbPDc4','CgfYC2vcB3HfBNzwywX1zxnszxbSywnLuMvXDwvZDa','DhjPBq','yM90vg9Rzw4','Bxv0zq','Dg9tDhjPBMC','DgfYz2v0','CgfKu3rHCNq','y29UzMLN','Dw5VDgvZDa','igLZigfSC28GC2v0igLUihLVDxiGC2HLBgWGzw52AxjVBM1LBNqG4OcuigL0ihDPBgWGA2vLCcbYzxnVBhzPBMCGzNjVBsb0AgvYzsaODgHLigvUDMLYB25Tzw50ihDPBNmGB3zLCIb0AguGzMLSzsKU','zMXHDe1HCa','CgfYC2vrDwv1zvrPy2TLDa','igfSCMvHzhKGzxHPC3rZigLUia','yNvUzgXLlMPZB24','zMLYC3rsDw5dB21Tyw5K','Dw5RBM93BI1WCM9Qzwn0','BM90lxj1BG','vu5pvevtvf9kvurhrv9srvrssuvt','y2HHBM5LBhm','lNvUB3rLC3q','zw52s2v5CW','CgfYC2vszxbSywnLuMvXDwvZDa','yxbP','C3bSAxq','zgvZy3jPyMvcDw5KBgu','C2vJCMv0CW','lNnLy3jLDhm','Dw5RBM93BI1ZzxjPzxm','vu5pvevtvf9kvurhrv9dquXmx1rjtuvpvvrFtvm','AxngAw5PDgu','C2nLBMfYAw8','BMfTzq','AxnszwDLEeXPDgvYywW','ChjVDMLKzxi','AgvHzgvYCW','C3rHCNrZv2L0Aa','C29YDa','vu5pvevtvf9iruferuq','l3j1BgvZlW','AxnsDw5UzxjdB25MAwDlzxK','iI4G','CgfYC2vcB3HwywX1zxnszxbSywnLuMvXDwvZDa','CMv2zwfS','lMvUDG','CNvUCW','CgfYC2vcB3HtzwnYzxrszxzLywXszxnWB25Zzq','v2vK','CgfYC2vcB3HoB3rPzNLwAwv3','C3rKB3v0lMXVzW','yxbWlxnLCNzLCJPLCNjVCG','y2fUBM90igXVywqGCNvUBMvYigfKyxb0zxiGiG','y29TBwfUzhmUANnVBMW','BM8Ty29SBgvJDgLVBNm','yxrnAw51DgvZ','CgfYC2vcB3HoB3rPzNLqCM9Qzwn0vMLLDW','yxbW','zgf5CW','l2fWAs9IB3GVDMfSDwvZ','yM94tM90Awz5uhjLDMLLD1rYAwDNzxi','zxjYB3i','BM90zq','CMvWzwf0rxzLCNK','A2v5','uNvUBMvYqwrHChrLCK5VDezVDw5KrxjYB3i','lNzPzxDLCI5SB2nR','z2v0vvrdrNvSBfLLyxi','yM94uNvUC1bHDgG','vu5pvevtvf9mt0DFtevwruW','yNjHBMnO','C2XPy2u','Ec11BM90zxn0lwfJDg9YlxrPy2TLDa','zw52tgf5zxjgAwXLC0zVCG','CxvPzxriB3vYCW','iIdIGjqGB25LihnJAgvKDwXLihbLCIb0yxjNzxq','AxnsDw5ZrgLYtMfTzq','C29Tzq','C2XVDhm','Dw5HDxrOB3jPEMvK','y2f0zwDVCML6zvzHCMLHyMXL','CNvU','AxnuCMLNz2vYs2LUza','mta2mZKWm2vMDe91sW','y3jVBKzYB21tCgvJ','zgfPBhK','Dw5RBM93BI1YDwXL','BMv0D29YAW','BwfRzvj1BKLK','C3rHCNrLzef0','z2v0twLUDxrLCW','C291CMnL','yxv0Ag9YAw5N','y3jVBG','CgfYC2vcB3HtzwnYzxrZuMv2zwfSuMvZCg9UC2u','C2v0','CxvLDwveAxjgB3i','vu5pvevtvf9cuK9xu0vsx0niqu5oruW','Dw5VyL8','zxzLCNKGmtuGBwLU','DwjYxW','CgfYC2vty2HLzhvSzxnkC29U','CgfYC2vrDwv1zvrPy2TLDe5HBwu','CgfYC2vcB3HwywX1zvnLDfjLCxvLC3q','CMvHC29U','ChjVAMvJDfj1BKrPCKzVCG','xsbPCYbUB3qGysb2ywXPzcbLBNrYEsdIGjqGAxqGBMvLzhmGzxHHy3rSEsbVBMuGB2yGygnVBgXLy3rPB246ycaVigbZy2vUyxjPBZPGihbSDxmGysbGy3jVBJPGihn0CMLUzW','CMvTB3zLza','ChjVAMvJDff1zxvLuM9VDa','zxHHBxbSzxm','CMvWBgfJzwq','Aw52ywXPzc1Uyw1L','y2HHBM5LBa','D2vIAg9VAW','zw52tMfTzxngCM9TrgLYtgLZDgLUzW','CgfYC2vdAvj1BLjLC3bVBNnL','zMLUAxnOzwq','zw52AxjVBM1LBNq','BwL4zwq','CgfYC2vrDwLLDeHVDxjZ','C3bSAxrmAw5LCW','CgfYC2vsDwXL','CgfYC2vcB3HoB3rPzNLfCNjVCG','CgfYC2vcB3HoB3rPzNLuzxn0uMvZDwX0','BgfZDerLBgL2zxj5','C2nLBMfYAw9jBMrLEezPBgvoyw1L','zMfPBgvK','vu5pvevtvf9usu1fwK9orq','igLZigfSC28GC2v0igLUihvUB3rLC3qVlNnLy3jLDhmG4OcuihrOzsbZzwnYzxqGDMfSDwuGC2HHzg93CYb0AgLZig9Uzs4','CgfYC2vxB3jRC3bHy2vgAwXL','BNvTyMvY','CNvUBMLUzW','vu5pvevtvf9huK9vtKrfuL9nt0rf','zM9YBwf0tMv4DfrPy2S','ywz0zxjgywLSDxjLCW','C2nOzwr1BgvuyxjNzxq','otmWmdGXtw9YqxbS','yMXVyNnsB290rM9Y','zxHLyW','C2vJCMv0','Dw5RBM93BG','tw9U','zw5HyMXLza','y3j5ChrV','yM94tM90Awz5uxvPzxriB3vYC1bHDgG','vhvL','CgLJA2vYlxnUyxbZAg90lNr4Da','igf0ia','CMfUAW','BwfUDwfS','vvrd','C2nVCguTBwLZBwf0y2G','C2HHCMrqyxrOrM9YvgLTzxn0yw1W','Dw5RBM93BI1TDxrL','AgvHCNrIzwf0','zMLUza','C2nOzw1HvMvYC2LVBG','CgfYC2vtDhjPBMDszwnVCMq','BwvZC2fNzq','AxnrDwv1zurPCK5HBwu','C3rYAw5NAwz5','vu5pvevtvf9dqunirv9esvi','C3rLChmUANnVBMW','DMfSDwvtDwzMAxG','BxvZDcbIzsbHihn0CMLUzW','vu5pvevtvf9cvu5etevFsuq','CgfYC2vmyxn0rgvSAxzLCNK','zxHHBxbSzq','DxjS','C2HHCMreyxLZrgvZy2vUzgLUzW','yNvUzgXLza','CMv2B2nHDgLVBI1SAxn0lxvUyxzHAwXHyMXL','Bxv0zxm','vu5pvevtvf9erujvr19nqvHFqLLurvm','l2fWAs9IB3GVzw52CY8','yMXVyLbHDgHgB3i','CgfK','iokaLcbWAwnRigeGzgLMzMvYzw50ig5HBwuGB3iGzwrPDcb0AguGzxHPC3rPBMCGDMfSDwuU','x19WCM90B19F','BxvZDcbUB3qGy29UDgfPBIbCic8GoIaQid8GiIa8id4GFcbVCIbJB250CM9SignOyxjHy3rLCNm','otmXoteYmgLMz0HsCG','vu5pvevtvf9kvurhrv9mt0DFtevwruW','ig5LzwrZigeGBMfTzq','BwfPBNrLBMfUy2u','yM9VBgvHBG','CgfYC2vuAwnRzxrdAq','vu5pvevtvf9tq0HfrfvmrvnFrKLor0vsufjjtLq','Bte1','yMXVyIbOyxnOig11C3qGyMuGBg93zxjJyxnLigHLEcWGz290oIa','CgfZC2vK','C2HH','CNvUlwLUlxbYB2DYzxnZ','ic0Ty29SBgvJDgLVBIa','D2vIAg9VA1vYBa','yM94tM90Awz5uhjLDMLLD1bHDgG','DMfSAwrHDgvdB2XSzwn0Aw9UtMfTzq','BxvZDcbUB3qGyMuGzw1WDhK','zgvZy3jPyMvuAwnRzxrdAq','B2jQzwn0','Dw5RBM93BI1JAgfUBMvS','yM94rw52u2vJCMv0uMv2zwfSugf0Aa','BM93','D29YA2vYCW','BwfSzM9YBwvK','C3rHDgu','yM94tM90Awz5u2vYAwvZuMvZzxrqyxrO','uNvUBMvYtM90q29UzMLNDxjLzevYCM9Y','C2nLBMfYAw9szwzgCM9TrMLSzu5HBwu','C2nOzwr1Bgu','CMvZzxj2zwrcB3HwywX1zu5HBwvZ','refuqujbu0vFvvjm','y2XP','Aw50zxjHy3rPDMu','ig11C3qGyMuGvvbqrvjFu05bs0uGkguUzY4Gqvbqx0jbu0vFvvjmksbZBYbHihnJzw5HCMLVignHBIbYzwzLCMvUy2uGAxqGyNKGBMfTzs4','yM94rw52vMfSDwvqyxrO','yM94uNvUugf0Aa','vu5pvevtvf9rvuvvrv9hte9cquXFu0Xpvfm','vu5pvevtvf9erujvr19ive1mx01bwf9cwvrfuW','y2fJAgvK','Dw5RBM93BI1LBNzPCM9UBwvUDa','z2v0uMfUzg9TvMfSDwvZ','lMPZB25S','icH3AxaP','CNvUvhjPz2DLCKzYB21fBNy','y2HHDeLK','C3bLyW','u3vU','yM94tM90Awz5vgvZDfbHDgG','CgfYC2u','Aw5JBhvKzxm','u2f0','CgfYC2vcB3HoB3rPzNLqCMv2Awv3','zxHPC3rZ','yM94tM90Awz5txv0zvbHDgG','Dg9VlwXHCMDL','CM91BMq','z2v0rgf5','yM94rw52u2vJCMv0C1jLDMvHBfbHDgG','zxHWAxjLza','AxntDhjPBMDbCNjHEq','ztjL','z2L0AhvI','Dw5JAgfUz2vK','CNvUvhjPz2DLCKvUDG','vu5pvevtvf9ot19rvuvvrq','C2vJCMv0C0XHEwvYrMLSzxngB3i','yxbWlxnLCNzLCJPYzxvZzwq','CgfYC2vty2vUyxjPB0fUBM90yxrPB25Z','CMvXDwLYzvj1BKrPCKzVCG','zw5KC1DPDgG','kI81','lMPZB24','C2vUDa','C2nOzwr1BgvZwW','AxncB3HoB3rPzNLtDgf0zq','AxnbBM5VDgf0Aw9UtgLUzq','Aw5KzxHpzG','l3bYzxzPzxC/CNvSzt0','D2vLA2X5','CMvWBgfJzuvUDLzHCG','qvbqx0jbu0vFvvjm','yM94vMfSDwvlAw5Kt2ztzwDTzw50','DhjPz2DLCG','zM9YyMLKzgvU','zxHWzwn0zwqGysbTyxbWAw5NihDPDgGGysbGC2nOzwr1BgvZoMaGyxjYyxK','vu5pvevtvf9kvurhrv9ut0TftG','DMfSDwvZ','vu5pvevtvf9ct1HFu0vduKvux05btuvt','z2v0vvrdrgf0zq','Ag9ZDa','DgHYzwfKswq','CgfYC2vizwfKzxjgBgfNCW','BwfRzvf1zxvLvgLJA2v0tMfTzq','DgLJA2v0CW','CgfYC2vbChbtzxj2zxjfDMvUDa','C2v0twLUDxrLCW','ChjVAMvJDfj1BNnsB290','DgvTCgXHDgu','uNvUBMvY','yM94tM90Awz5q2HHBM5LBfbHDgG','CNvUC0rPCKzVCG','zMLSDgvY','ChvZAcbHmwiYyZnKicHTywLUkq','BwfUAwzLC3ruCMLNz2vY','y3jLyxrLza','yM94tM90Awz5uNvSzvbHDgG','Dw5HDMfPBgfIBgu','C2vJCMv0C0nVBNrLBNq','lNDVCMTZCgfJzs5QC29U','lY5Kzwj1z2DLCG','x2nVBgXLy3rPB25Z'];_0x30a6=function(){return _0x2f1fd7;};return _0x30a6();}__name(isQueueDirName,_0x50ee4d(0x337));function projectQueueRoot(_0x8ba427='',_0x339238){return UNOTEST_DIR+'/'+queueDirFor(_0x8ba427,_0x339238);}__name(projectQueueRoot,_0x50ee4d(0x304));var PRIORITY_RANKS=Object[_0x50ee4d(0x20f)]({'maintenance':0x0,'interactive':0x1,'ci':0x2,'schedule':0x3}),RANK_PRIORITIES=[_0x50ee4d(0x16c),_0x50ee4d(0x189),'ci',_0x50ee4d(0x185)],QUEUE_PRIORITIES=RANK_PRIORITIES;function queuePriorityRank(_0x1d15df){return PRIORITY_RANKS[_0x1d15df];}__name(queuePriorityRank,_0x50ee4d(0x264));function queuePriorityFromRank(_0x8991df){return RANK_PRIORITIES[_0x8991df]??null;}__name(queuePriorityFromRank,_0x50ee4d(0x27c));function describeTicketCi(_0x42c86a){const _0x2620e5={_0x2f764a:0x2de,_0x21261d:0x2de,_0x1f19ce:0x261},_0x5132e7=_0x50ee4d,_0x1df0ad=_0x42c86a[_0x5132e7(0x173)]?'@'+_0x42c86a[_0x5132e7(0x173)]['slice'](0x0,0x7):'';if(_0x42c86a['pr']!==void 0x0)return _0x5132e7(0x277)+_0x42c86a['pr']+_0x1df0ad;if(_0x42c86a[_0x5132e7(_0x2620e5._0x2f764a)]!==void 0x0)return''+_0x42c86a[_0x5132e7(_0x2620e5._0x21261d)]+_0x1df0ad;return _0x1df0ad[_0x5132e7(_0x2620e5._0x1f19ce)]>0x0?_0x1df0ad[_0x5132e7(0x2df)](0x1):_0x42c86a[_0x5132e7(0x2bb)];}__name(describeTicketCi,_0x50ee4d(0x17a));function makeQueueTicketName(_0x1ce793,_0x45ee5e,_0x150dcb){const _0x2d96f6=_0x50ee4d;return queuePriorityRank(_0x1ce793)+'-'+_0x45ee5e[_0x2d96f6(0x29e)](0x24)+'-'+_0x150dcb+'.json';}__name(makeQueueTicketName,_0x50ee4d(0x1c5));var TICKET_NAME_RE=/^([0-3])-([0-9a-z]+)-([0-9a-f]+)\.json$/;function parseQueueTicketName(_0x29c122){const _0x3d81e5={_0x1e679f:0x2b7},_0x4f8df7=_0x50ee4d,_0x5025c3=TICKET_NAME_RE[_0x4f8df7(0x322)](_0x29c122);if(!_0x5025c3)return null;const _0x1e2db5=Number(_0x5025c3[0x1]),_0x52e0ee=queuePriorityFromRank(_0x1e2db5);if(_0x52e0ee===null)return null;const _0x20941c=parseInt(_0x5025c3[0x2],0x24);if(!Number[_0x4f8df7(_0x3d81e5._0x1e679f)](_0x20941c))return null;return{'rank':_0x1e2db5,'priority':_0x52e0ee,'createdAt':_0x20941c,'random':_0x5025c3[0x3]};}__name(parseQueueTicketName,_0x50ee4d(0x2fe));function compareQueueTicketNames(_0x16df55,_0x233f69){const _0x52513f={_0x2db15b:0x32c,_0x331838:0x293},_0x1b90ad=_0x50ee4d,_0x4db8f8=parseQueueTicketName(_0x16df55),_0x4f1544=parseQueueTicketName(_0x233f69);if(!_0x4db8f8||!_0x4f1544)return _0x16df55<_0x233f69?-0x1:_0x16df55>_0x233f69?0x1:0x0;if(_0x4db8f8[_0x1b90ad(0x32c)]!==_0x4f1544[_0x1b90ad(0x32c)])return _0x4db8f8['rank']-_0x4f1544[_0x1b90ad(_0x52513f._0x2db15b)];if(_0x4db8f8[_0x1b90ad(0x205)]!==_0x4f1544['createdAt'])return _0x4db8f8['createdAt']-_0x4f1544['createdAt'];return _0x4db8f8[_0x1b90ad(_0x52513f._0x331838)]<_0x4f1544[_0x1b90ad(0x293)]?-0x1:_0x4db8f8['random']>_0x4f1544['random']?0x1:0x0;}__name(compareQueueTicketNames,'compareQueueTicketNames');var TICKET_KINDS=[_0x50ee4d(0x2b8),_0x50ee4d(0x290),_0x50ee4d(0x2f4),_0x50ee4d(0x16c)],PRODUCER_KINDS=[_0x50ee4d(0x188),'viewer',_0x50ee4d(0x1fe),'schedule','ci'];function parseQueueTicket(_0x41b03a){const _0x28cb0e={_0x3cc780:0x1e4,_0x14eaed:0x19a,_0x4f7cbc:0x31a,_0x5b9af6:0x2b7,_0x463611:0x248,_0x2e1c1f:0x31a,_0x521746:0x261},_0x279dca=_0x50ee4d;if(!isRecord(_0x41b03a))return null;const {schemaVersion:_0x5215bd,runId:_0x12d609,kind:_0xfb5b31,ref:_0x18608d,env:_0x417c62,priority:_0x4383a6,weight:_0x5a47a8,producer:_0x5b5746,source:_0x11403a,ci:_0xc471d8,createdAt:_0x57f6d8}=_0x41b03a;if(_0x5215bd!==QUEUE_SCHEMA_VERSION)return null;if(typeof _0x12d609!==_0x279dca(_0x28cb0e._0x3cc780)||_0x12d609[_0x279dca(0x261)]===0x0)return null;if(typeof _0x18608d!==_0x279dca(_0x28cb0e._0x3cc780))return null;if(!TICKET_KINDS[_0x279dca(_0x28cb0e._0x14eaed)](_0xfb5b31))return null;if(!QUEUE_PRIORITIES[_0x279dca(_0x28cb0e._0x14eaed)](_0x4383a6))return null;if(typeof _0x5a47a8!==_0x279dca(_0x28cb0e._0x4f7cbc)||!Number['isFinite'](_0x5a47a8)||_0x5a47a8<0x1)return null;if(typeof _0x57f6d8!=='number'||!Number[_0x279dca(_0x28cb0e._0x5b9af6)](_0x57f6d8))return null;if(!isRecord(_0x5b5746))return null;if(!PRODUCER_KINDS[_0x279dca(0x19a)](_0x5b5746[_0x279dca(0x1fd)]))return null;if(typeof _0x5b5746[_0x279dca(_0x28cb0e._0x463611)]!==_0x279dca(_0x28cb0e._0x2e1c1f)||typeof _0x5b5746[_0x279dca(0x1c2)]!=='string')return null;if(_0x417c62!==void 0x0&&typeof _0x417c62!==_0x279dca(_0x28cb0e._0x3cc780))return null;let _0x49e13f=null;if(_0x11403a!==void 0x0){if(!isRecord(_0x11403a)||typeof _0x11403a[_0x279dca(0x211)]!==_0x279dca(0x1e4)||_0x11403a['bundleId'][_0x279dca(_0x28cb0e._0x521746)]===0x0)return null;_0x49e13f={'bundleId':_0x11403a[_0x279dca(0x211)]};}let _0x53a644=null;if(_0xc471d8!==void 0x0){_0x53a644=parseTicketCi(_0xc471d8);if(_0x53a644===null)return null;}return{'schemaVersion':QUEUE_SCHEMA_VERSION,'runId':_0x12d609,'kind':_0xfb5b31,'ref':_0x18608d,'priority':_0x4383a6,'weight':_0x5a47a8,'producer':{'kind':_0x5b5746['kind'],'pid':_0x5b5746['pid'],'host':_0x5b5746['host']},'createdAt':_0x57f6d8,...typeof _0x417c62==='string'?{'env':_0x417c62}:{},..._0x49e13f?{'source':_0x49e13f}:{},..._0x53a644?{'ci':_0x53a644}:{}};}__name(parseQueueTicket,_0x50ee4d(0x2a5));function parseTicketCi(_0x4ad188){const _0x33262e={_0x4972ac:0x2bb,_0x1830b5:0x1e4,_0x2e7768:0x31a,_0x490652:0x1e4,_0x1289bf:0x1e4},_0x1ca845=_0x50ee4d;if(!isRecord(_0x4ad188))return null;const _0x144940=parseCiProvider(_0x4ad188[_0x1ca845(_0x33262e._0x4972ac)]);if(_0x144940===null)return null;const {repo:_0x4f3845,branch:_0x2bf8d1,sha:_0x56245d,pr:_0x530372,checkId:_0x268b6d}=_0x4ad188;for(const _0x218a6a of[_0x4f3845,_0x2bf8d1,_0x56245d,_0x268b6d]){if(_0x218a6a!==void 0x0&&typeof _0x218a6a!==_0x1ca845(_0x33262e._0x1830b5))return null;}if(_0x530372!==void 0x0&&(typeof _0x530372!==_0x1ca845(_0x33262e._0x2e7768)||!Number[_0x1ca845(0x285)](_0x530372)))return null;return{'provider':_0x144940,...typeof _0x4f3845===_0x1ca845(0x1e4)?{'repo':_0x4f3845}:{},...typeof _0x2bf8d1==='string'?{'branch':_0x2bf8d1}:{},...typeof _0x56245d===_0x1ca845(_0x33262e._0x490652)?{'sha':_0x56245d}:{},...typeof _0x530372===_0x1ca845(0x31a)?{'pr':_0x530372}:{},...typeof _0x268b6d===_0x1ca845(_0x33262e._0x1289bf)?{'checkId':_0x268b6d}:{}};}__name(parseTicketCi,_0x50ee4d(0x16e));var BUNDLE_SCHEMA_VERSION=0x1,BUNDLE_MANIFEST_FILE=_0x50ee4d(0x2a7),BUNDLE_UPLOAD_PATH=_0x50ee4d(0x213),BOX_URL_ENV='UNOTEST_BOX_URL',BOX_TOKEN_ENV=_0x50ee4d(0x1fb),BOX_PUSH_TOKEN_PREFIX=_0x50ee4d(0x2fa),BOX_SIGNED_TOKEN_PREFIX=_0x50ee4d(0x21c),BOX_SIGNED_TOKEN=/^unos_[A-Za-z0-9_-]+$/,BUNDLE_ID_ENV=_0x50ee4d(0x33d),SCHEDULES_FINGERPRINT_ENV=_0x50ee4d(0x16f);function parseGitInfo(_0x509b4b){const _0x2f11b7={_0x2ac6de:0x16d,_0x8060c5:0x1e4,_0x1ef62c:0x1e4},_0xcfc7ea=_0x50ee4d;if(!isRecord(_0x509b4b))return null;const {repo:_0x36e6ae,branch:_0x4f4d95,sha:_0x20530a,dirty:_0x166ebc}=_0x509b4b;if(typeof _0x166ebc!==_0xcfc7ea(_0x2f11b7._0x2ac6de))return null;for(const _0x11baab of[_0x36e6ae,_0x4f4d95,_0x20530a]){if(_0x11baab!==void 0x0&&typeof _0x11baab!==_0xcfc7ea(_0x2f11b7._0x8060c5))return null;}return{'dirty':_0x166ebc,...typeof _0x36e6ae==='string'?{'repo':_0x36e6ae}:{},...typeof _0x4f4d95===_0xcfc7ea(_0x2f11b7._0x1ef62c)?{'branch':_0x4f4d95}:{},...typeof _0x20530a===_0xcfc7ea(_0x2f11b7._0x1ef62c)?{'sha':_0x20530a}:{}};}__name(parseGitInfo,'parseGitInfo');function parseBundleManifest(_0x8fcab3){const _0x4aee01={_0x2f9235:0x261,_0x16ec38:0x31a,_0x1bc635:0x2b7,_0x338c95:0x285,_0x267f56:0x1e4},_0x3e495d=_0x50ee4d;if(!isRecord(_0x8fcab3))return null;const {schemaVersion:_0x316601,bundleId:_0x53caa1,sha256:_0x40d957,createdAt:_0x40aec6,webVersion:_0x3762e4,author:_0x2f73ed,git:_0x3d3ffe,fileCount:_0x1b8de3,byteSize:_0x400edf,declaredVariables:_0x2900ef,schedulesFingerprint:_0x12b125}=_0x8fcab3;if(_0x316601!==BUNDLE_SCHEMA_VERSION)return null;if(typeof _0x53caa1!==_0x3e495d(0x1e4)||_0x53caa1[_0x3e495d(0x261)]===0x0)return null;if(_0x40d957!==void 0x0&&!/^[0-9a-f]{64}$/[_0x3e495d(0x1e0)](String(_0x40d957)))return null;if(typeof _0x3762e4!=='string'||_0x3762e4[_0x3e495d(_0x4aee01._0x2f9235)]===0x0)return null;if(typeof _0x40aec6!==_0x3e495d(_0x4aee01._0x16ec38)||!Number[_0x3e495d(_0x4aee01._0x1bc635)](_0x40aec6))return null;if(typeof _0x1b8de3!==_0x3e495d(0x31a)||!Number['isInteger'](_0x1b8de3))return null;if(typeof _0x400edf!==_0x3e495d(0x31a)||!Number[_0x3e495d(_0x4aee01._0x338c95)](_0x400edf))return null;if(_0x2f73ed!==void 0x0&&typeof _0x2f73ed!==_0x3e495d(_0x4aee01._0x267f56))return null;let _0x3da614=null;if(_0x3d3ffe!==void 0x0){_0x3da614=parseGitInfo(_0x3d3ffe);if(_0x3da614===null)return null;}const _0x500bc7=Array[_0x3e495d(0x216)](_0x2900ef)?_0x2900ef['filter'](_0x28595e=>typeof _0x28595e===_0x3e495d(0x1e4)):[],_0x541395=typeof _0x12b125===_0x3e495d(0x1e4)&&/^[0-9a-f]{64}$/[_0x3e495d(0x1e0)](_0x12b125)?_0x12b125:void 0x0;return{'schemaVersion':BUNDLE_SCHEMA_VERSION,'bundleId':_0x53caa1,...typeof _0x40d957===_0x3e495d(0x1e4)?{'sha256':_0x40d957}:{},'createdAt':_0x40aec6,'webVersion':_0x3762e4,'fileCount':_0x1b8de3,'byteSize':_0x400edf,...typeof _0x2f73ed===_0x3e495d(_0x4aee01._0x267f56)?{'author':_0x2f73ed}:{},..._0x3da614?{'git':_0x3da614}:{},..._0x500bc7[_0x3e495d(0x261)]>0x0?{'declaredVariables':_0x500bc7}:{},..._0x541395!==void 0x0?{'schedulesFingerprint':_0x541395}:{}};}__name(parseBundleManifest,_0x50ee4d(0x24c));function describeBundle(_0x352d13){const _0x3cf257={_0x1c7a6c:0x173,_0x34726c:0x2df,_0x1e152b:0x2de,_0x323b24:0x193},_0x15ff45=_0x50ee4d,_0x54c6f2=_0x352d13['git'];if(!_0x54c6f2||_0x54c6f2['branch']===void 0x0&&_0x54c6f2['sha']===void 0x0)return _0x352d13[_0x15ff45(0x211)];const _0xed21da=_0x54c6f2[_0x15ff45(0x173)]?_0x54c6f2[_0x15ff45(_0x3cf257._0x1c7a6c)][_0x15ff45(_0x3cf257._0x34726c)](0x0,0x7):'?',_0x308717=_0x54c6f2[_0x15ff45(_0x3cf257._0x1e152b)]??'?';return _0x308717+'@'+_0xed21da+(_0x54c6f2['dirty']?_0x15ff45(_0x3cf257._0x323b24):'');}__name(describeBundle,_0x50ee4d(0x2b2));var UPLOAD_ERROR_CODES=[_0x50ee4d(0x2e7),_0x50ee4d(0x19f),_0x50ee4d(0x180),'id-mismatch',_0x50ee4d(0x221),'scope-mismatch',_0x50ee4d(0x1a3),_0x50ee4d(0x343),_0x50ee4d(0x207),'storage'];function parseBundleUploadResponse(_0x4cb71d){const _0x2d8dcc={_0x2146c8:0x2d5,_0x81ac56:0x2d5,_0x5575a7:0x1d1,_0x59bca3:0x19d},_0x558707=_0x50ee4d;if(!isRecord(_0x4cb71d))return null;if(isRecord(_0x4cb71d[_0x558707(0x2d5)])){const {code:_0x5b665b,message:_0x33a2c2}=_0x4cb71d[_0x558707(_0x2d8dcc._0x2146c8)];if(!UPLOAD_ERROR_CODES[_0x558707(0x19a)](_0x5b665b))return null;if(typeof _0x33a2c2!==_0x558707(0x1e4))return null;return{'error':{'code':_0x5b665b,'message':_0x33a2c2,...parseRefusalDetail(_0x4cb71d[_0x558707(_0x2d8dcc._0x81ac56)])}};}const {status:_0xc5f7a8,bundleId:_0x141dab}=_0x4cb71d;if(_0xc5f7a8!==_0x558707(_0x2d8dcc._0x5575a7)&&_0xc5f7a8!==_0x558707(_0x2d8dcc._0x59bca3))return null;if(typeof _0x141dab!=='string'||_0x141dab[_0x558707(0x261)]===0x0)return null;const _0x5a6add=parseVariableGaps(_0x4cb71d[_0x558707(0x1ea)]);return _0x5a6add===null?{'status':_0xc5f7a8,'bundleId':_0x141dab}:{'status':_0xc5f7a8,'bundleId':_0x141dab,'variableGaps':_0x5a6add};}__name(parseBundleUploadResponse,'parseBundleUploadResponse');var SCOPE_MISMATCHES=[_0x50ee4d(0x2a9),'repo-project-mismatch'];function parseRefusalDetail(_0xdfb59){const _0xa37b16={_0x54907c:0x216,_0x56762b:0x261},_0x520b62=_0x50ee4d,{scope:_0x1c5ce5,project:_0x6ed07d,projects:_0x343ccd}=_0xdfb59,_0x1beaf1=Array[_0x520b62(_0xa37b16._0x54907c)](_0x343ccd)?_0x343ccd[_0x520b62(0x1ce)](_0x2429c0=>typeof _0x2429c0===_0x520b62(0x1e4)):[];return{...SCOPE_MISMATCHES['includes'](_0x1c5ce5)?{'scope':_0x1c5ce5}:{},...typeof _0x6ed07d==='string'&&_0x6ed07d[_0x520b62(_0xa37b16._0x56762b)]>0x0?{'project':_0x6ed07d}:{},..._0x1beaf1[_0x520b62(0x261)]>0x0?{'projects':_0x1beaf1}:{}};}function _0x5736(_0x3f6aa8,_0x2b5902){_0x3f6aa8=_0x3f6aa8-0x161;const _0x30a653=_0x30a6();let _0x573694=_0x30a653[_0x3f6aa8];if(_0x5736['soaapY']===undefined){var _0x52b3d3=function(_0x1d93e6){const _0x448cea='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x1f5008='',_0xfa3063='';for(let _0x111ae4=0x0,_0x1e48a2,_0x5a79b6,_0x2a0ce6=0x0;_0x5a79b6=_0x1d93e6['charAt'](_0x2a0ce6++);~_0x5a79b6&&(_0x1e48a2=_0x111ae4%0x4?_0x1e48a2*0x40+_0x5a79b6:_0x5a79b6,_0x111ae4++%0x4)?_0x1f5008+=String['fromCharCode'](0xff&_0x1e48a2>>(-0x2*_0x111ae4&0x6)):0x0){_0x5a79b6=_0x448cea['indexOf'](_0x5a79b6);}for(let _0x461e9c=0x0,_0x59f31e=_0x1f5008['length'];_0x461e9c<_0x59f31e;_0x461e9c++){_0xfa3063+='%'+('00'+_0x1f5008['charCodeAt'](_0x461e9c)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0xfa3063);};_0x5736['fAufnF']=_0x52b3d3,_0x5736['hgiZOJ']={},_0x5736['soaapY']=!![];}const _0x4c58c9=_0x30a653[0x0],_0x1c374d=_0x3f6aa8+_0x4c58c9,_0x21935d=_0x5736['hgiZOJ'][_0x1c374d];return!_0x21935d?(_0x573694=_0x5736['fAufnF'](_0x573694),_0x5736['hgiZOJ'][_0x1c374d]=_0x573694):_0x573694=_0x21935d,_0x573694;}__name(parseRefusalDetail,'parseRefusalDetail');function parseVariableGaps(_0x175f19){const _0x2c938f={_0x165c0a:0x1ce},_0x596fd4=_0x50ee4d;if(!Array['isArray'](_0x175f19))return null;const _0x39cbf3=[];for(const _0x4e0417 of _0x175f19){if(!isRecord(_0x4e0417))continue;const {project:_0x1fb8b0,environment:_0x5b3570,missing:_0x13a408}=_0x4e0417;if(typeof _0x1fb8b0!==_0x596fd4(0x1e4)||typeof _0x5b3570!=='string')continue;if(!Array[_0x596fd4(0x216)](_0x13a408))continue;const _0x35f38a=_0x13a408[_0x596fd4(_0x2c938f._0x165c0a)](_0xc7b133=>typeof _0xc7b133==='string');if(_0x35f38a[_0x596fd4(0x261)]>0x0)_0x39cbf3['push']({'project':_0x1fb8b0,'environment':_0x5b3570,'missing':_0x35f38a});}return _0x39cbf3[_0x596fd4(0x261)]>0x0?_0x39cbf3:null;}__name(parseVariableGaps,'parseVariableGaps');var BROWSER_ENV='UNOTEST_BROWSER',BROWSER_CHANNEL_ENV=_0x50ee4d(0x2f9),BUNDLED_BROWSER_CHANNEL=_0x50ee4d(0x342),BOX_VARIABLE_NAMES_ENV='UNOTEST_BOX_VARIABLE_NAMES',BOX_SECRET_NAMES_ENV=_0x50ee4d(0x1c0);function encodeNameList(_0x19a24c){const _0x4c7106={_0x278fde:0x1f0},_0x5445c8=_0x50ee4d;return _0x19a24c[_0x5445c8(_0x4c7106._0x278fde)](',');}__name(encodeNameList,'encodeNameList');function decodeNameList(_0x2b42cd){const _0x23fe21={_0x271101:0x1f5},_0x1aa23e=_0x50ee4d;if(_0x2b42cd===void 0x0)return[];return _0x2b42cd[_0x1aa23e(0x2b1)](',')[_0x1aa23e(_0x23fe21._0x271101)](_0x1454e2=>_0x1454e2['trim']())['filter'](_0x4b030c=>_0x4b030c!=='');}__name(decodeNameList,_0x50ee4d(0x24e));var ENV_KEY_RE=/^[A-Za-z_][A-Za-z0-9_]*$/,UNHOLDABLE_NAME=_0x50ee4d(0x167);function isEnvVarName(_0xbbc484){const _0x1d9e59={_0x1a88c6:0x1e0},_0x313263=_0x50ee4d;return ENV_KEY_RE[_0x313263(_0x1d9e59._0x1a88c6)](_0xbbc484)&&_0xbbc484!==UNHOLDABLE_NAME;}__name(isEnvVarName,'isEnvVarName');function*assignmentEntries(_0x2dfa70){const _0x28ef24={_0x9d9953:0x2df,_0x2d1ea7:0x29b},_0x497940=_0x50ee4d;for(const _0x353e61 of _0x2dfa70[_0x497940(0x2b1)](/\r?\n/)){const _0x4fda45=_0x353e61[_0x497940(0x29b)]();if(_0x4fda45===''||_0x4fda45[_0x497940(0x2bd)]('#'))continue;const _0x3b61d8=_0x4fda45['indexOf']('=');if(_0x3b61d8<=0x0)continue;const _0x595cfb=_0x4fda45[_0x497940(_0x28ef24._0x9d9953)](0x0,_0x3b61d8)[_0x497940(_0x28ef24._0x2d1ea7)]();if(!isEnvVarName(_0x595cfb))continue;yield[_0x595cfb,_0x4fda45[_0x497940(_0x28ef24._0x9d9953)](_0x3b61d8+0x1)[_0x497940(0x29b)]()];}}__name(assignmentEntries,'assignmentEntries');function parseEnvContent(_0x4b138f){const _0x3b7567={_0x371654:0x261,_0x58c356:0x261,_0x83cef6:0x2df},_0x445296=_0x50ee4d,_0x33f55c={};for(const [_0x124d7a,_0x58b8d7]of assignmentEntries(_0x4b138f)){let _0x3d8db3=_0x58b8d7;if(_0x3d8db3[_0x445296(_0x3b7567._0x371654)]>=0x2){const _0x645819=_0x3d8db3[0x0],_0x3a7e01=_0x3d8db3[_0x3d8db3[_0x445296(_0x3b7567._0x58c356)]-0x1];(_0x645819==='\x22'||_0x645819==='\x27')&&_0x645819===_0x3a7e01&&(_0x3d8db3=_0x3d8db3[_0x445296(_0x3b7567._0x83cef6)](0x1,-0x1));}_0x33f55c[_0x124d7a]=_0x3d8db3;}return _0x33f55c;}__name(parseEnvContent,_0x50ee4d(0x1d9));function serializeEnvValue(_0x1541fb){const _0x3f3be2={_0x247165:0x1e0,_0x1a716b:0x1e0,_0xe2d6f5:0x280},_0x1527ef=_0x50ee4d;if(_0x1541fb==='')return'';if(/[\s#"'=\\]|^[`]/[_0x1527ef(_0x3f3be2._0x247165)](_0x1541fb)||/[\n\r]/[_0x1527ef(_0x3f3be2._0x1a716b)](_0x1541fb)){const _0x46daf0=_0x1541fb[_0x1527ef(_0x3f3be2._0xe2d6f5)](/\\/g,'\x5c\x5c')['replace'](/"/g,'\x5c\x22')[_0x1527ef(_0x3f3be2._0xe2d6f5)](/\n/g,'\x5cn')[_0x1527ef(0x280)](/\r/g,'\x5cr');return'\x22'+_0x46daf0+'\x22';}return _0x1541fb;}__name(serializeEnvValue,'serializeEnvValue');function envKeys(_0xb1e6a1){const _0xfc098e=new Set();for(const [_0x478f93]of assignmentEntries(_0xb1e6a1))_0xfc098e['add'](_0x478f93);return _0xfc098e;}__name(envKeys,_0x50ee4d(0x2ae));function declaredEnvKeys(_0x488402){const _0x5eee83={_0x540189:0x322},_0x1239da=_0x50ee4d,_0x367e1c=new Set();for(const _0x3d6574 of _0x488402['split'](/\r?\n/)){const _0x941b79=/^\s*(?:#\s*)?([A-Za-z_][A-Za-z0-9_]*)\s*=/[_0x1239da(_0x5eee83._0x540189)](_0x3d6574);if(_0x941b79)_0x367e1c['add'](_0x941b79[0x1]);}return _0x367e1c;}__name(declaredEnvKeys,_0x50ee4d(0x292));function isSectionDivider(_0x497660){const _0x337264=_0x50ee4d,_0x20613c=_0x497660['trim']();return _0x20613c['startsWith']('#')&&/---/[_0x337264(0x1e0)](_0x20613c);}__name(isSectionDivider,'isSectionDivider');function isAssignmentLine(_0x40f7c5){const _0x28d4a2={_0xcb1fe4:0x2df},_0x54513e=_0x50ee4d,_0x107b37=_0x40f7c5[_0x54513e(0x29b)]();if(_0x107b37===''||_0x107b37['startsWith']('#'))return![];const _0x3a61e6=_0x107b37[_0x54513e(0x1b5)]('=');return _0x3a61e6>0x0&&ENV_KEY_RE['test'](_0x107b37[_0x54513e(_0x28d4a2._0xcb1fe4)](0x0,_0x3a61e6)[_0x54513e(0x29b)]());}__name(isAssignmentLine,'isAssignmentLine');function isAssignmentOf(_0x2e9c09,_0x5da1c4){const _0x4c7999={_0x432def:0x2df},_0xac9101=_0x50ee4d,_0x20d4bd=_0x2e9c09['trim']();if(_0x20d4bd===''||_0x20d4bd[_0xac9101(0x2bd)]('#'))return![];const _0x304a21=_0x20d4bd['indexOf']('=');if(_0x304a21<=0x0)return![];return _0x20d4bd[_0xac9101(_0x4c7999._0x432def)](0x0,_0x304a21)['trim']()===_0x5da1c4;}__name(isAssignmentOf,'isAssignmentOf');function splitLines(_0x43a39a){const _0x21a1ec={_0x332033:0x1ae,_0x448a89:0x2b1},_0x19bfc6=_0x50ee4d,_0x54b596=_0x43a39a[_0x19bfc6(_0x21a1ec._0x332033)]('\x0a'),_0x426997=_0x54b596?_0x43a39a[_0x19bfc6(0x2df)](0x0,-0x1):_0x43a39a;return{'lines':_0x426997===''?[]:_0x426997[_0x19bfc6(_0x21a1ec._0x448a89)]('\x0a'),'trailingNewline':_0x54b596};}__name(splitLines,_0x50ee4d(0x310));function joinLines(_0x4fc928,_0x556e40){const _0x5bd790={_0x2285b9:0x1f0},_0x3926f9=_0x50ee4d,_0x5a87b2=_0x4fc928[_0x3926f9(_0x5bd790._0x2285b9)]('\x0a');return _0x556e40||_0x5a87b2===''?_0x5a87b2+'\x0a':_0x5a87b2;}__name(joinLines,_0x50ee4d(0x298));function insertEnvVar(_0x123360,_0x311f4a,_0x36114d,_0x133340){const _0x24f2c9={_0x3b0a8a:0x1eb,_0x3da3b2:0x261,_0x5dc273:0x29b,_0x5e3a6a:0x261,_0x447447:0x27e},_0x3260b0=_0x50ee4d,_0x5837b1=_0x311f4a+'='+serializeEnvValue(_0x36114d),{lines:_0x4b8a8d,trailingNewline:_0x39e5f6}=splitLines(_0x123360);if(_0x133340){const _0x79ba1b=new RegExp('\x5cb'+_0x133340['toLowerCase']()+'\x5cb'),_0x38177b=_0x4b8a8d[_0x3260b0(_0x24f2c9._0x3b0a8a)](_0x4a74de=>isSectionDivider(_0x4a74de)&&_0x79ba1b[_0x3260b0(0x1e0)](_0x4a74de['toLowerCase']()));if(_0x38177b!==-0x1){let _0x5b633c=_0x4b8a8d['length'];for(let _0x471e2f=_0x38177b+0x1;_0x471e2f<_0x4b8a8d[_0x3260b0(_0x24f2c9._0x3da3b2)];_0x471e2f++){if(isSectionDivider(_0x4b8a8d[_0x471e2f])){_0x5b633c=_0x471e2f;break;}}let _0x42dd7c=-0x1,_0x5b77ec=-0x1;for(let _0x178301=_0x38177b+0x1;_0x178301<_0x5b633c;_0x178301++){if(_0x4b8a8d[_0x178301][_0x3260b0(_0x24f2c9._0x5dc273)]()!=='')_0x5b77ec=_0x178301;if(isAssignmentLine(_0x4b8a8d[_0x178301]))_0x42dd7c=_0x178301;}const _0xc067e4=_0x42dd7c>=0x0?_0x42dd7c:_0x5b77ec,_0x43a05a=_0xc067e4>=0x0?_0xc067e4+0x1:_0x38177b+0x1;return _0x4b8a8d[_0x3260b0(0x23c)](_0x43a05a,0x0,_0x5837b1),joinLines(_0x4b8a8d,_0x39e5f6||_0x4b8a8d[_0x3260b0(_0x24f2c9._0x5e3a6a)]>0x0);}if(_0x4b8a8d['length']>0x0)_0x4b8a8d['push']('');return _0x4b8a8d[_0x3260b0(0x27e)](_0x3260b0(0x1f3)+_0x133340+_0x3260b0(0x287),_0x5837b1),joinLines(_0x4b8a8d,!![]);}return _0x4b8a8d[_0x3260b0(_0x24f2c9._0x447447)](_0x5837b1),joinLines(_0x4b8a8d,!![]);}__name(insertEnvVar,_0x50ee4d(0x23a));function removeEnvVar(_0x43a6e6,_0x1676db){const _0x45e3c4={_0x34b554:0x261},_0x14241d=_0x50ee4d,{lines:_0x14c999,trailingNewline:_0x5aaa87}=splitLines(_0x43a6e6),_0x20e5d4=_0x14c999[_0x14241d(0x1ce)](_0xc19f59=>!isAssignmentOf(_0xc19f59,_0x1676db)),_0x39602c=_0x20e5d4[_0x14241d(_0x45e3c4._0x34b554)]!==_0x14c999[_0x14241d(0x261)];return{'content':joinLines(_0x20e5d4,_0x5aaa87),'removed':_0x39602c};}__name(removeEnvVar,_0x50ee4d(0x279));function replaceEnvVar(_0x22b4a8,_0x26bc5a,_0x271579){const _0x69533c=_0x50ee4d,{lines:_0xe96407,trailingNewline:_0x54bed3}=splitLines(_0x22b4a8),_0x8d10f5=_0xe96407[_0x69533c(0x1eb)](_0xe84bec=>isAssignmentOf(_0xe84bec,_0x26bc5a));if(_0x8d10f5===-0x1)return{'content':_0x22b4a8,'replaced':![]};return _0xe96407[_0x8d10f5]=_0x26bc5a+'='+serializeEnvValue(_0x271579),{'content':joinLines(_0xe96407,_0x54bed3),'replaced':!![]};}__name(replaceEnvVar,_0x50ee4d(0x1b8));var TARGET_ENV_VAR=_0x50ee4d(0x1b9),RUNNER_SETTING_PREFIX='UNOTEST_';function isRunnerSetting(_0x47c94a){const _0x49706a=_0x50ee4d;return _0x47c94a[_0x49706a(0x2bd)](RUNNER_SETTING_PREFIX);}__name(isRunnerSetting,_0x50ee4d(0x283));var BOX_VALUES_PATH=_0x50ee4d(0x2d3),BOX_ENV_VALUES_SEGMENT=_0x50ee4d(0x1bf),BOX_REVEAL_SEGMENT=_0x50ee4d(0x2c4),KIND_SEGMENTS={'variable':_0x50ee4d(0x247),'secret':'secrets'};function boxValueKindOfSegment(_0x3af124){const _0x263f11=_0x50ee4d;for(const [_0x31ead4,_0x7eadbb]of Object[_0x263f11(0x229)](KIND_SEGMENTS)){if(_0x7eadbb===_0x3af124)return _0x31ead4;}return null;}__name(boxValueKindOfSegment,_0x50ee4d(0x1ba));function boxValuesPath(_0x5e07fc){return BOX_VALUES_PATH+'/'+encodeURIComponent(_0x5e07fc);}__name(boxValuesPath,'boxValuesPath');function boxValuePath(_0x307752,_0x1cfaf7,_0x52711c){return boxValuesPath(_0x307752)+'/'+valueSuffix(_0x1cfaf7,_0x52711c);}__name(boxValuePath,'boxValuePath');function boxEnvValuesPath(_0x3371b5,_0x9bf305){const _0x39b32b=_0x50ee4d;return _0x39b32b(0x163)+encodeURIComponent(_0x3371b5)+'/'+encodeURIComponent(_0x9bf305)+'/'+BOX_ENV_VALUES_SEGMENT;}__name(boxEnvValuesPath,_0x50ee4d(0x1f4));function boxEnvValuePath(_0x124c91,_0x208500,_0x3ea428,_0x1e045d){return boxEnvValuesPath(_0x124c91,_0x208500)+'/'+valueSuffix(_0x3ea428,_0x1e045d);}__name(boxEnvValuePath,_0x50ee4d(0x18b));function boxEnvSecretRevealPath(_0x355ce6,_0x4e5e7a,_0x2cfb84){return boxEnvValuePath(_0x355ce6,_0x4e5e7a,'secret',_0x2cfb84)+'/'+BOX_REVEAL_SEGMENT;}__name(boxEnvSecretRevealPath,_0x50ee4d(0x17d));function boxEnvSecretsRevealPath(_0x2d01ef,_0x5190e1){return boxEnvValuesPath(_0x2d01ef,_0x5190e1)+'/'+BOX_REVEAL_SEGMENT;}__name(boxEnvSecretsRevealPath,_0x50ee4d(0x1a2));function valueSuffix(_0x38a439,_0x4ced2d){const _0x4f50f6={_0x3f2640:0x29f},_0x5a0ce5=_0x50ee4d;if(_0x38a439===_0x5a0ce5(0x29f))return _0x5a0ce5(_0x4f50f6._0x3f2640);if(_0x4ced2d===void 0x0)throw new Error('a\x20'+_0x38a439+_0x5a0ce5(0x16b));return KIND_SEGMENTS[_0x38a439]+'/'+encodeURIComponent(_0x4ced2d);}__name(valueSuffix,_0x50ee4d(0x33b));function parseBoxValuesReplaceRequest(_0x434fdc){return parseReplaceRequest(_0x434fdc,parseStringRecord);}__name(parseBoxValuesReplaceRequest,_0x50ee4d(0x2c3));function parseBoxEnvValuesReplaceRequest(_0x420c1a){return parseReplaceRequest(_0x420c1a,parseKeepRecord);}__name(parseBoxEnvValuesReplaceRequest,_0x50ee4d(0x29a));function parseBoxValueSetRequest(_0xe768a9){return parseValueEnvelope(_0xe768a9);}__name(parseBoxValueSetRequest,_0x50ee4d(0x2ff));function reservedBoxValueNames(_0x28e7c0){const _0xbc67f7={_0xf6ad5e:0x1ce},_0x8b2d78=_0x50ee4d;return[...Object[_0x8b2d78(0x26e)](_0x28e7c0[_0x8b2d78(0x247)]),...Object[_0x8b2d78(0x26e)](_0x28e7c0[_0x8b2d78(0x2b3)])][_0x8b2d78(_0xbc67f7._0xf6ad5e)](_0x12ca73=>_0x12ca73===TARGET_ENV_VAR);}__name(reservedBoxValueNames,_0x50ee4d(0x186));function parseReplaceRequest(_0x570f5b,_0x2af3f9){const _0xecff54={_0xb6d10e:0x1e4},_0x4dc9ab=_0x50ee4d;if(!isRecord(_0x570f5b))return null;const {target:_0x21de0c,variables:_0x494e08,secrets:_0x3ccb01}=_0x570f5b;if(_0x21de0c!==void 0x0&&typeof _0x21de0c!=='string')return null;const _0x1e3fc5=parseStringRecord(_0x494e08),_0x9d6d38=_0x2af3f9(_0x3ccb01);if(_0x1e3fc5===null||_0x9d6d38===null)return null;return{...typeof _0x21de0c===_0x4dc9ab(_0xecff54._0xb6d10e)?{'target':_0x21de0c}:{},'variables':_0x1e3fc5,'secrets':_0x9d6d38};}__name(parseReplaceRequest,_0x50ee4d(0x2af));function parseValueEnvelope(_0x4d5444){const _0x78a867=_0x50ee4d;if(!isRecord(_0x4d5444))return null;return typeof _0x4d5444[_0x78a867(0x22c)]===_0x78a867(0x1e4)?{'value':_0x4d5444[_0x78a867(0x22c)]}:null;}__name(parseValueEnvelope,_0x50ee4d(0x1e3));function parseStringRecord(_0x4d96fb){return parseNamedRecord(_0x4d96fb,isString);}__name(parseStringRecord,_0x50ee4d(0x335));function parseKeepRecord(_0x5dd1d6){return parseNamedRecord(_0x5dd1d6,_0x44f84c=>_0x44f84c===null||isString(_0x44f84c));}__name(parseKeepRecord,_0x50ee4d(0x21d));function parseNamedRecord(_0x1e4f77,_0x434bd2){const _0x517c9e={_0x44cf11:0x229},_0x123bc2=_0x50ee4d;if(!isRecord(_0x1e4f77))return null;const _0x4ea19f={};for(const [_0x130788,_0x35ea00]of Object[_0x123bc2(_0x517c9e._0x44cf11)](_0x1e4f77)){if(!isEnvVarName(_0x130788)||!_0x434bd2(_0x35ea00))return null;_0x4ea19f[_0x130788]=_0x35ea00;}return _0x4ea19f;}__name(parseNamedRecord,_0x50ee4d(0x25a));function isString(_0x2dd22d){const _0x214a7c=_0x50ee4d;return typeof _0x2dd22d===_0x214a7c(0x1e4);}__name(isString,_0x50ee4d(0x21f));var VALUES_ERROR_CODES=['unauthorized',_0x50ee4d(0x1bc),_0x50ee4d(0x32f),_0x50ee4d(0x190),_0x50ee4d(0x28a),_0x50ee4d(0x26a),_0x50ee4d(0x180),'expired','revocation-list-unavailable',_0x50ee4d(0x207),_0x50ee4d(0x28d)],VALUE_KINDS=[_0x50ee4d(0x29f),'variable',_0x50ee4d(0x323)];function parseBoxValuesResponse(_0x2bcd3b){const _0x345dcf={_0x1f546d:0x1e4,_0x593d5b:0x16d,_0x3a48ba:0x2b3,_0x4c3c4b:0x16d,_0x514c67:0x2f7,_0x22b114:0x303,_0xd2c4f:0x19a},_0x56eda3=_0x50ee4d;if(!isRecord(_0x2bcd3b))return null;if(isRecord(_0x2bcd3b['error'])){const {code:_0x34c9f4,message:_0x47d3d3}=_0x2bcd3b[_0x56eda3(0x2d5)];if(!VALUES_ERROR_CODES['includes'](_0x34c9f4))return null;if(typeof _0x47d3d3!==_0x56eda3(_0x345dcf._0x1f546d))return null;return{'error':{'code':_0x34c9f4,'message':_0x47d3d3}};}const {status:_0x56e44a,environment:_0x14703c}=_0x2bcd3b;if(typeof _0x14703c!=='string')return null;if(_0x56e44a===_0x56eda3(0x306)){const {target:_0x3e19a9,variables:_0x2fc484,secrets:_0x167280,removed:_0x2b517}=_0x2bcd3b;if(typeof _0x3e19a9!==_0x56eda3(_0x345dcf._0x593d5b))return null;const _0x2265f9=parseNameList(_0x2fc484),_0x139dec=parseNameList(_0x167280);if(_0x2265f9===null||_0x139dec===null||!isRecord(_0x2b517))return null;const _0x59e31c=parseNameList(_0x2b517['variables']),_0x25278c=parseNameList(_0x2b517[_0x56eda3(_0x345dcf._0x3a48ba)]);if(typeof _0x2b517[_0x56eda3(0x29f)]!==_0x56eda3(_0x345dcf._0x4c3c4b)||_0x59e31c===null||_0x25278c===null)return null;return{'status':_0x56e44a,'environment':_0x14703c,'target':_0x3e19a9,'variables':_0x2265f9,'secrets':_0x139dec,'removed':{'target':_0x2b517[_0x56eda3(0x29f)],'variables':_0x59e31c,'secrets':_0x25278c}};}if(_0x56e44a===_0x56eda3(_0x345dcf._0x514c67)||_0x56e44a===_0x56eda3(_0x345dcf._0x22b114)){const {kind:_0x35f71e,name:_0x504b54}=_0x2bcd3b;if(!VALUE_KINDS[_0x56eda3(_0x345dcf._0xd2c4f)](_0x35f71e))return null;if(_0x504b54!==void 0x0&&typeof _0x504b54!==_0x56eda3(0x1e4))return null;return{'status':_0x56e44a,'environment':_0x14703c,'kind':_0x35f71e,...typeof _0x504b54==='string'?{'name':_0x504b54}:{}};}return null;}__name(parseBoxValuesResponse,_0x50ee4d(0x28e));function parseNameList(_0xb2137a){const _0xcfb9ef={_0x542698:0x21b},_0x56d833=_0x50ee4d;if(!Array['isArray'](_0xb2137a))return null;return _0xb2137a[_0x56d833(_0xcfb9ef._0x542698)](_0x547552=>typeof _0x547552===_0x56d833(0x1e4))?_0xb2137a:null;}__name(parseNameList,'parseNameList');function parseBoxSecretRevealResponse(_0x3c41b7){return parseValueEnvelope(_0x3c41b7);}__name(parseBoxSecretRevealResponse,_0x50ee4d(0x2c7));function parseBoxSecretsRevealResponse(_0x2f6c27){return parseStringRecord(_0x2f6c27);}__name(parseBoxSecretsRevealResponse,_0x50ee4d(0x2f6));var BOX_NOTIFY_PATH=_0x50ee4d(0x217);function boxNotifyProjectPath(_0x29c6dd){return BOX_NOTIFY_PATH+'/'+encodeURIComponent(_0x29c6dd);}__name(boxNotifyProjectPath,_0x50ee4d(0x204));function boxNotifyChannelPath(_0x31f640,_0x334192){return boxNotifyProjectPath(_0x31f640)+'/channels/'+encodeURIComponent(_0x334192);}__name(boxNotifyChannelPath,_0x50ee4d(0x1cc));function boxNotifyTestPath(_0x530eb4,_0x3342c1){const _0x57d3fb=_0x50ee4d;return boxNotifyChannelPath(_0x530eb4,_0x3342c1)+_0x57d3fb(0x1e7);}__name(boxNotifyTestPath,_0x50ee4d(0x198));function boxNotifyRulePath(_0x3b58bb,_0x26cb24){const _0x3d777c={_0x4bc8b8:0x2c0},_0x1aa1d2=_0x50ee4d;return boxNotifyProjectPath(_0x3b58bb)+_0x1aa1d2(_0x3d777c._0x4bc8b8)+encodeURIComponent(_0x26cb24);}__name(boxNotifyRulePath,_0x50ee4d(0x1d2));function boxNotifyQuietHoursPath(_0x5e9af8){return boxNotifyProjectPath(_0x5e9af8)+'/quiet-hours';}__name(boxNotifyQuietHoursPath,_0x50ee4d(0x328));function boxNotifySeriesPath(_0x35b9ad){return boxNotifyProjectPath(_0x35b9ad)+'/series';}__name(boxNotifySeriesPath,'boxNotifySeriesPath');function boxNotifySeriesResetPath(_0x49e24d,_0x33c93c){const _0x549ece=_0x50ee4d;return boxNotifySeriesPath(_0x49e24d)+'/'+encodeURIComponent(_0x33c93c)+_0x549ece(0x271);}__name(boxNotifySeriesResetPath,_0x50ee4d(0x182));function boxNotifyMutePath(_0x272c45,_0x56b710){return boxNotifyProjectPath(_0x272c45)+'/mutes/'+encodeURIComponent(_0x56b710);}__name(boxNotifyMutePath,_0x50ee4d(0x19e));function boxNotifyPreviewPath(_0xd781a1,_0x3520f4,_0x8c003b){const _0x50684e=_0x50ee4d;return boxNotifyProjectPath(_0xd781a1)+_0x50684e(0x1b6)+encodeURIComponent(_0x3520f4)+'&state='+_0x8c003b;}__name(boxNotifyPreviewPath,_0x50ee4d(0x177));var BOX_NOTIFY_CHANNEL_KINDS=[_0x50ee4d(0x259),_0x50ee4d(0x288),_0x50ee4d(0x309)],BOX_NOTIFY_TRIGGER_KINDS=[_0x50ee4d(0x185),'ci','manual','cli'],BOX_NOTIFY_EVENTS=[_0x50ee4d(0x316),_0x50ee4d(0x282),_0x50ee4d(0x2aa),_0x50ee4d(0x172)],BOX_NOTIFY_STATES=[_0x50ee4d(0x316),_0x50ee4d(0x282),_0x50ee4d(0x1e8),_0x50ee4d(0x2aa),_0x50ee4d(0x172)],ERROR_CODES=[_0x50ee4d(0x2e7),_0x50ee4d(0x2a9),_0x50ee4d(0x17c),_0x50ee4d(0x2ee),_0x50ee4d(0x331),_0x50ee4d(0x2b5),'malformed','storage'];function parseBoxNotifyView(_0x505812){const _0x10cef8={_0x1e8ef9:0x216},_0x46f307=_0x50ee4d;if(!isRecord(_0x505812)||!Array[_0x46f307(_0x10cef8._0x1e8ef9)](_0x505812[_0x46f307(0x250)]))return null;const _0x28ee48=_0x505812['projects'][_0x46f307(0x1f5)](parseBoxNotifyProjectView);return _0x28ee48['every'](_0x3b467c=>_0x3b467c!==null)?{'projects':_0x28ee48}:null;}__name(parseBoxNotifyView,_0x50ee4d(0x2c9));function parseBoxNotifyProjectView(_0x3fe8e7){const _0x5ad876={_0x5df88c:0x161,_0x5d66e5:0x2e2},_0x36b1b6=_0x50ee4d;if(!isRecord(_0x3fe8e7)||typeof _0x3fe8e7[_0x36b1b6(0x214)]!=='string')return null;const _0x3da82f=parseAll(_0x3fe8e7['channels'],parseChannel),_0x302dbf=parseAll(_0x3fe8e7['rules'],parseRule),_0x2df8c1=parseAll(_0x3fe8e7[_0x36b1b6(_0x5ad876._0x5df88c)],parseMute);if(_0x3da82f===null||_0x302dbf===null||_0x2df8c1===null)return null;const _0x283b1b=_0x3fe8e7['quietHours']===void 0x0?void 0x0:parseQuietHours(_0x3fe8e7[_0x36b1b6(_0x5ad876._0x5d66e5)]);if(_0x283b1b===null)return null;return{'project':_0x3fe8e7[_0x36b1b6(0x214)],'channels':_0x3da82f,'rules':_0x302dbf,'mutes':_0x2df8c1,..._0x283b1b!==void 0x0?{'quietHours':_0x283b1b}:{}};}__name(parseBoxNotifyProjectView,_0x50ee4d(0x2d0));function parseBoxNotifySeriesView(_0xa84f60){const _0xbecd11={_0x2f60d5:0x214,_0x1f9dde:0x257},_0x2b07bb=_0x50ee4d;if(!isRecord(_0xa84f60)||typeof _0xa84f60[_0x2b07bb(_0xbecd11._0x2f60d5)]!=='string')return null;const _0x7b90b2=parseAll(_0xa84f60[_0x2b07bb(_0xbecd11._0x1f9dde)],parseSeriesEntry);return _0x7b90b2===null?null:{'project':_0xa84f60['project'],'series':_0x7b90b2};}__name(parseBoxNotifySeriesView,'parseBoxNotifySeriesView');function parseBoxNotifyPreview(_0x8acba1){const _0x1cd84d={_0x42da45:0x181,_0x452c1a:0x202,_0x1cd0b2:0x340,_0x3ee2c4:0x202,_0x4ac2cf:0x340},_0x534ada=_0x50ee4d;if(!isRecord(_0x8acba1)||!isState(_0x8acba1[_0x534ada(_0x1cd84d._0x42da45)])||typeof _0x8acba1[_0x534ada(_0x1cd84d._0x452c1a)]!==_0x534ada(0x1e4))return null;if(!isStringArray(_0x8acba1['lines']))return null;if(_0x8acba1[_0x534ada(_0x1cd84d._0x1cd0b2)]!==void 0x0&&typeof _0x8acba1[_0x534ada(0x340)]!==_0x534ada(0x1e4))return null;return{'state':_0x8acba1[_0x534ada(_0x1cd84d._0x42da45)],'title':_0x8acba1[_0x534ada(_0x1cd84d._0x3ee2c4)],'lines':_0x8acba1[_0x534ada(0x25d)],..._0x8acba1[_0x534ada(_0x1cd84d._0x4ac2cf)]!==void 0x0?{'url':_0x8acba1[_0x534ada(0x340)]}:{}};}__name(parseBoxNotifyPreview,_0x50ee4d(0x19c));function parseBoxNotifyTestResult(_0x3e89b0){const _0x5ba282={_0x1e964a:0x2d6,_0x5807b6:0x2d6,_0x594049:0x1b1,_0x33b71d:0x23b,_0x311c10:0x316,_0x48a895:0x308},_0x18d72d=_0x50ee4d;if(!isRecord(_0x3e89b0)||typeof _0x3e89b0['channel']!==_0x18d72d(0x1e4))return null;if(_0x3e89b0['status']==='sent'){if(_0x3e89b0[_0x18d72d(_0x5ba282._0x1e964a)]!==void 0x0&&typeof _0x3e89b0[_0x18d72d(_0x5ba282._0x5807b6)]!==_0x18d72d(0x1e4))return null;return{'status':_0x18d72d(_0x5ba282._0x594049),'channel':_0x3e89b0['channel'],..._0x3e89b0[_0x18d72d(0x2d6)]!==void 0x0?{'note':_0x3e89b0['note']}:{}};}if(_0x3e89b0[_0x18d72d(_0x5ba282._0x33b71d)]===_0x18d72d(_0x5ba282._0x311c10)&&typeof _0x3e89b0[_0x18d72d(0x336)]==='string')return{'status':_0x18d72d(0x316),'channel':_0x3e89b0[_0x18d72d(_0x5ba282._0x48a895)],'message':_0x3e89b0[_0x18d72d(0x336)]};return null;}__name(parseBoxNotifyTestResult,_0x50ee4d(0x313));function parseBoxNotifyChanged(_0x4911d9){const _0x4dad63={_0x578bee:0x1d1,_0x429222:0x303},_0x32a22a=_0x50ee4d;if(!isRecord(_0x4911d9)||typeof _0x4911d9['id']!=='string')return null;const {status:_0x1dbb8d}=_0x4911d9;if(_0x1dbb8d!==_0x32a22a(_0x4dad63._0x578bee)&&_0x1dbb8d!=='updated'&&_0x1dbb8d!==_0x32a22a(_0x4dad63._0x429222))return null;return{'status':_0x1dbb8d,'id':_0x4911d9['id']};}__name(parseBoxNotifyChanged,_0x50ee4d(0x291));function parseBoxNotifyError(_0x38163e){const _0x91769a={_0x55c57d:0x2d5},_0x412856=_0x50ee4d;if(!isRecord(_0x38163e)||!isRecord(_0x38163e[_0x412856(_0x91769a._0x55c57d)]))return null;const {code:_0x392fcd,message:_0x3bb89c}=_0x38163e[_0x412856(0x2d5)];if(!ERROR_CODES['includes'](_0x392fcd)||typeof _0x3bb89c!=='string')return null;return{'error':{'code':_0x392fcd,'message':_0x3bb89c}};}__name(parseBoxNotifyError,_0x50ee4d(0x312));function isBoxNotifyState(_0x5b2c57){return isState(_0x5b2c57);}__name(isBoxNotifyState,_0x50ee4d(0x1b3));function boxNotifyPreviewTrigger(_0x2d71fb){const _0x5d0369={_0x21a6a5:0x185,_0x333810:0x1cf,_0x49779a:0x32d},_0x1de34b=_0x50ee4d;switch(_0x2d71fb){case _0x1de34b(_0x5d0369._0x21a6a5):return{'kind':_0x2d71fb};case'ci':return{'kind':_0x2d71fb,'by':_0x1de34b(_0x5d0369._0x333810)};case _0x1de34b(_0x5d0369._0x49779a):return{'kind':_0x2d71fb,'by':'ivan'};case'cli':return{'kind':_0x2d71fb};}}__name(boxNotifyPreviewTrigger,_0x50ee4d(0x2d4));function parseAll(_0x4c72c7,_0x4e2e4b){const _0x2ecb12=_0x50ee4d;if(!Array[_0x2ecb12(0x216)](_0x4c72c7))return null;const _0x5e4cba=[];for(const _0x230269 of _0x4c72c7){const _0x3cfc8b=_0x4e2e4b(_0x230269);if(_0x3cfc8b===null)return null;_0x5e4cba[_0x2ecb12(0x27e)](_0x3cfc8b);}return _0x5e4cba;}__name(parseAll,'parseAll');function parseSecret(_0xa4b47){const _0x4112f5={_0x314f8d:0x16d},_0x581226=_0x50ee4d;return isRecord(_0xa4b47)&&typeof _0xa4b47[_0x581226(0x2f7)]===_0x581226(_0x4112f5._0x314f8d)?{'set':_0xa4b47[_0x581226(0x2f7)]}:null;}__name(parseSecret,'parseSecret');function parseLastDelivery(_0x206217){const _0x1d03ae={_0x5b45da:0x31a,_0x3a4bc0:0x2d5,_0x35a0f7:0x1e4},_0x503341=_0x50ee4d;if(!isRecord(_0x206217)||typeof _0x206217['at']!==_0x503341(_0x1d03ae._0x5b45da))return null;if(_0x206217[_0x503341(0x1e5)]!==_0x503341(0x1b1)&&_0x206217[_0x503341(0x1e5)]!=='failed')return null;if(_0x206217[_0x503341(_0x1d03ae._0x3a4bc0)]!==void 0x0&&typeof _0x206217[_0x503341(0x2d5)]!==_0x503341(_0x1d03ae._0x35a0f7))return null;return{'at':_0x206217['at'],'outcome':_0x206217['outcome'],..._0x206217[_0x503341(0x2d5)]!==void 0x0?{'error':_0x206217['error']}:{}};}__name(parseLastDelivery,_0x50ee4d(0x33e));function parseChannel(_0x8161d){const _0x48fc40={_0x305638:0x1e4,_0x198de0:0x16d,_0x52c857:0x314,_0x533a1a:0x176,_0x3b7477:0x29c,_0x5d606d:0x1c3,_0x3e6317:0x309},_0xfd0406=_0x50ee4d;if(!isRecord(_0x8161d))return null;const {id:_0x2cd55a,name:_0xbfa2e,enabled:_0x4d58e6,kind:_0x30f18c}=_0x8161d;if(typeof _0x2cd55a!==_0xfd0406(_0x48fc40._0x305638)||typeof _0xbfa2e!==_0xfd0406(_0x48fc40._0x305638)||typeof _0x4d58e6!==_0xfd0406(_0x48fc40._0x198de0))return null;const _0x18a1d9=_0x8161d['lastDelivery']===void 0x0?void 0x0:parseLastDelivery(_0x8161d[_0xfd0406(_0x48fc40._0x52c857)]);if(_0x18a1d9===null)return null;const _0x3f8969={'id':_0x2cd55a,'name':_0xbfa2e,'enabled':_0x4d58e6,..._0x18a1d9!==void 0x0?{'lastDelivery':_0x18a1d9}:{}};switch(_0x30f18c){case _0xfd0406(0x259):{const _0x1f92d4=parseSecret(_0x8161d[_0xfd0406(_0x48fc40._0x533a1a)]);return _0x1f92d4===null?null:{..._0x3f8969,'kind':_0x30f18c,'webhookUrl':_0x1f92d4};}case _0xfd0406(0x288):{const _0x292ee7=parseSecret(_0x8161d[_0xfd0406(_0x48fc40._0x3b7477)]);if(_0x292ee7===null||typeof _0x8161d[_0xfd0406(0x195)]!==_0xfd0406(_0x48fc40._0x305638))return null;if(_0x8161d['threadId']!==void 0x0&&typeof _0x8161d[_0xfd0406(_0x48fc40._0x5d606d)]!==_0xfd0406(0x1e4))return null;return{..._0x3f8969,'kind':_0x30f18c,'botToken':_0x292ee7,'chatId':_0x8161d['chatId'],..._0x8161d['threadId']!==void 0x0?{'threadId':_0x8161d['threadId']}:{}};}case _0xfd0406(_0x48fc40._0x3e6317):{const _0x5d0c2e=parseSecret(_0x8161d[_0xfd0406(0x323)]);if(_0x5d0c2e===null||typeof _0x8161d[_0xfd0406(0x340)]!==_0xfd0406(_0x48fc40._0x305638))return null;const _0x56ec75=_0x8161d[_0xfd0406(0x2bc)]===void 0x0?void 0x0:parseHeaderFlags(_0x8161d[_0xfd0406(0x2bc)]);if(_0x56ec75===null)return null;return{..._0x3f8969,'kind':_0x30f18c,'url':_0x8161d[_0xfd0406(0x340)],'secret':_0x5d0c2e,..._0x56ec75!==void 0x0?{'headers':_0x56ec75}:{}};}default:return null;}}__name(parseChannel,'parseChannel');function parseHeaderFlags(_0x5e7280){const _0x42482f={_0x277351:0x229},_0x4032f1=_0x50ee4d;if(!isRecord(_0x5e7280))return null;const _0x139984={};for(const [_0x88b8f,_0x12054e]of Object[_0x4032f1(_0x42482f._0x277351)](_0x5e7280)){const _0x55e5de=parseSecret(_0x12054e);if(_0x55e5de===null)return null;_0x139984[_0x88b8f]=_0x55e5de;}return _0x139984;}__name(parseHeaderFlags,_0x50ee4d(0x1c4));function parseRule(_0x2af252){const _0x56deec={_0x51fcac:0x16d,_0x2a3dd9:0x22e,_0x39a520:0x223,_0x39608a:0x21b,_0x3afc60:0x31a,_0x3e2240:0x326,_0x55408d:0x22e,_0x25006d:0x20c,_0x16f911:0x2ac},_0x3f1fab=_0x50ee4d;if(!isRecord(_0x2af252)||typeof _0x2af252['id']!==_0x3f1fab(0x1e4)||typeof _0x2af252['enabled']!==_0x3f1fab(_0x56deec._0x51fcac))return null;if(_0x2af252['name']!==void 0x0&&typeof _0x2af252['name']!=='string')return null;if(_0x2af252[_0x3f1fab(_0x56deec._0x2a3dd9)]!==void 0x0&&!isStringArray(_0x2af252[_0x3f1fab(0x22e)]))return null;if(!isStringArray(_0x2af252['triggers'])||!_0x2af252[_0x3f1fab(_0x56deec._0x39a520)]['every'](isTriggerKind))return null;if(!isStringArray(_0x2af252['events'])||!_0x2af252[_0x3f1fab(0x20c)][_0x3f1fab(_0x56deec._0x39608a)](isEvent))return null;if(!isStringArray(_0x2af252['channels'])||typeof _0x2af252[_0x3f1fab(0x31e)]!=='number')return null;if(_0x2af252['repeatEvery']!==void 0x0&&typeof _0x2af252[_0x3f1fab(0x2d7)]!==_0x3f1fab(_0x56deec._0x3afc60))return null;return{'id':_0x2af252['id'],..._0x2af252['name']!==void 0x0?{'name':_0x2af252[_0x3f1fab(0x2b9)]}:{},'enabled':_0x2af252[_0x3f1fab(_0x56deec._0x3e2240)],..._0x2af252[_0x3f1fab(_0x56deec._0x55408d)]!==void 0x0?{'environments':_0x2af252[_0x3f1fab(0x22e)]}:{},'triggers':_0x2af252[_0x3f1fab(0x223)],'events':_0x2af252[_0x3f1fab(_0x56deec._0x25006d)],'channels':_0x2af252[_0x3f1fab(_0x56deec._0x16f911)],'afterFailures':_0x2af252['afterFailures'],..._0x2af252['repeatEvery']!==void 0x0?{'repeatEvery':_0x2af252[_0x3f1fab(0x2d7)]}:{}};}__name(parseRule,_0x50ee4d(0x311));function parseBoxNotifyMuteScope(_0x4c31dc){const _0x343b8f={_0x564ef0:0x257,_0x1e529c:0x261,_0x170f89:0x257},_0xdf01a0=_0x50ee4d;if(!isRecord(_0x4c31dc))return null;if(_0x4c31dc[_0xdf01a0(0x214)]===!![])return{'project':!![]};if(typeof _0x4c31dc[_0xdf01a0(0x257)]===_0xdf01a0(0x1e4)&&_0x4c31dc[_0xdf01a0(_0x343b8f._0x564ef0)][_0xdf01a0(_0x343b8f._0x1e529c)]>0x0)return{'series':_0x4c31dc[_0xdf01a0(_0x343b8f._0x170f89)]};return null;}__name(parseBoxNotifyMuteScope,'parseBoxNotifyMuteScope');function parseMute(_0x26702f){const _0x5f4f3b={_0x269c08:0x1ec,_0x21f0bf:0x31a,_0xa33bf9:0x27b},_0x71ca08=_0x50ee4d;if(!isRecord(_0x26702f)||typeof _0x26702f['id']!==_0x71ca08(0x1e4)||typeof _0x26702f['by']!=='string')return null;const _0x266883=parseBoxNotifyMuteScope(_0x26702f[_0x71ca08(_0x5f4f3b._0x269c08)]);if(_0x266883===null||typeof _0x26702f['at']!==_0x71ca08(_0x5f4f3b._0x21f0bf))return null;if(_0x26702f[_0x71ca08(0x27b)]!==void 0x0&&typeof _0x26702f[_0x71ca08(_0x5f4f3b._0xa33bf9)]!=='number')return null;if(_0x26702f['reason']!==void 0x0&&typeof _0x26702f[_0x71ca08(0x300)]!==_0x71ca08(0x1e4))return null;return{'id':_0x26702f['id'],'scope':_0x266883,..._0x26702f[_0x71ca08(_0x5f4f3b._0xa33bf9)]!==void 0x0?{'until':_0x26702f[_0x71ca08(0x27b)]}:{},'by':_0x26702f['by'],..._0x26702f[_0x71ca08(0x300)]!==void 0x0?{'reason':_0x26702f[_0x71ca08(0x300)]}:{},'at':_0x26702f['at']};}__name(parseMute,_0x50ee4d(0x20d));function parseQuietHours(_0x5aef6e){const _0x357c58={_0x12268c:0x1e4},_0x42a3e3=_0x50ee4d;if(!isRecord(_0x5aef6e))return null;const {from:_0x14866e,to:_0x1694eb,tz:_0x57aeaf}=_0x5aef6e;if(typeof _0x14866e!==_0x42a3e3(0x1e4)||typeof _0x1694eb!==_0x42a3e3(_0x357c58._0x12268c)||typeof _0x57aeaf!=='string')return null;return{'from':_0x14866e,'to':_0x1694eb,'tz':_0x57aeaf};}__name(parseQuietHours,_0x50ee4d(0x30f));function parseSeriesEntry(_0x371329){const _0x224ef3={_0x4c1da4:0x2d8,_0x2407e8:0x1e4,_0x24850e:0x29f,_0x14a1e7:0x29f,_0x5457c5:0x29f,_0x19bf2e:0x1fd,_0x5f5aef:0x181,_0x17db28:0x316,_0x5188f6:0x1e4,_0x265c7e:0x227,_0x176c7a:0x29f,_0x100014:0x2b9,_0x1e1736:0x300},_0x5d215a=_0x50ee4d;if(!isRecord(_0x371329)||typeof _0x371329[_0x5d215a(_0x224ef3._0x4c1da4)]!==_0x5d215a(0x1e4)||typeof _0x371329[_0x5d215a(0x30d)]!==_0x5d215a(_0x224ef3._0x2407e8))return null;if(!isRecord(_0x371329[_0x5d215a(_0x224ef3._0x24850e)])||typeof _0x371329[_0x5d215a(0x29f)][_0x5d215a(0x2b9)]!==_0x5d215a(_0x224ef3._0x2407e8))return null;if(_0x371329[_0x5d215a(_0x224ef3._0x14a1e7)][_0x5d215a(0x1fd)]!=='collection'&&_0x371329[_0x5d215a(_0x224ef3._0x5457c5)][_0x5d215a(_0x224ef3._0x19bf2e)]!=='scenario')return null;if(_0x371329[_0x5d215a(0x181)]!=='ok'&&_0x371329[_0x5d215a(_0x224ef3._0x5f5aef)]!==_0x5d215a(_0x224ef3._0x17db28))return null;if(typeof _0x371329[_0x5d215a(0x300)]!==_0x5d215a(_0x224ef3._0x5188f6)||typeof _0x371329[_0x5d215a(0x1f9)]!=='number'||typeof _0x371329[_0x5d215a(0x249)]!=='number')return null;if(_0x371329[_0x5d215a(0x227)]!==void 0x0&&typeof _0x371329[_0x5d215a(_0x224ef3._0x265c7e)]!=='number')return null;const _0x5c73f7=_0x371329[_0x5d215a(0x29d)]===void 0x0?void 0x0:parseMute(_0x371329[_0x5d215a(0x29d)]);if(_0x5c73f7===null)return null;return{'key':_0x371329[_0x5d215a(_0x224ef3._0x4c1da4)],'environment':_0x371329[_0x5d215a(0x30d)],'target':{'kind':_0x371329['target'][_0x5d215a(_0x224ef3._0x19bf2e)],'name':_0x371329[_0x5d215a(_0x224ef3._0x176c7a)][_0x5d215a(_0x224ef3._0x100014)]},'state':_0x371329[_0x5d215a(0x181)],'reason':_0x371329[_0x5d215a(_0x224ef3._0x1e1736)],'since':_0x371329[_0x5d215a(0x1f9)],'failures':_0x371329['failures'],..._0x371329[_0x5d215a(0x227)]!==void 0x0?{'lastNotifiedAt':_0x371329[_0x5d215a(0x227)]}:{},..._0x5c73f7!==void 0x0?{'mute':_0x5c73f7}:{}};}__name(parseSeriesEntry,'parseSeriesEntry');function isStringArray(_0x2721ec){const _0x55886b={_0x3c7955:0x21b},_0x32ecad=_0x50ee4d;return Array[_0x32ecad(0x216)](_0x2721ec)&&_0x2721ec[_0x32ecad(_0x55886b._0x3c7955)](_0x493018=>typeof _0x493018===_0x32ecad(0x1e4));}__name(isStringArray,_0x50ee4d(0x1a4));function isTriggerKind(_0x1ec866){const _0x55af81={_0x3bf0c9:0x19a},_0x559205=_0x50ee4d;return BOX_NOTIFY_TRIGGER_KINDS[_0x559205(_0x55af81._0x3bf0c9)](_0x1ec866);}__name(isTriggerKind,_0x50ee4d(0x2ea));function isEvent(_0x213a38){const _0x274b27={_0x7dac71:0x19a},_0x3e0912=_0x50ee4d;return BOX_NOTIFY_EVENTS[_0x3e0912(_0x274b27._0x7dac71)](_0x213a38);}__name(isEvent,_0x50ee4d(0x21a));function isState(_0x201985){const _0x5891d4={_0x231290:0x19a},_0x1ce823=_0x50ee4d;return typeof _0x201985===_0x1ce823(0x1e4)&&BOX_NOTIFY_STATES[_0x1ce823(_0x5891d4._0x231290)](_0x201985);}__name(isState,'isState');var BOX_READ_TOKEN_ENV='UNOTEST_BOX_READ_TOKEN',BOX_READ_TOKEN_PREFIX=_0x50ee4d(0x2fc),BOX_READ_ENVIRONMENT_HEADER=_0x50ee4d(0x208),BOX_READ_ENVIRONMENTS_PATH='/_guard/api/envs';function installField(_0x467306){const _0x34853a=parseBoxReadInstall(_0x467306);return _0x34853a===null?{}:{'install':_0x34853a};}__name(installField,_0x50ee4d(0x20e));function parseBoxReadInstall(_0x1373ec){const _0x1e8889={_0xdf912:0x2ef,_0xb3318:0x267,_0x36978f:0x324,_0x13e662:0x27f,_0x56c3c9:0x31a,_0x24414d:0x18f},_0x8c334c=_0x50ee4d;if(!isRecord(_0x1373ec))return null;const {startedAt:_0x399368,durationMs:_0x5bb2ba,outcome:_0x78ff4d,source:_0x346108,packages:_0x350112}=_0x1373ec;if(typeof _0x399368!==_0x8c334c(0x1e4)||typeof _0x5bb2ba!==_0x8c334c(0x31a))return null;if(_0x78ff4d!==_0x8c334c(0x1f2)&&_0x78ff4d!==_0x8c334c(0x1a7)&&_0x78ff4d!=='failed')return null;return{'startedAt':_0x399368,'durationMs':_0x5bb2ba,'outcome':_0x78ff4d,..._0x346108===_0x8c334c(_0x1e8889._0xdf912)||_0x346108===_0x8c334c(_0x1e8889._0xb3318)||_0x346108===_0x8c334c(0x30e)||_0x346108===_0x8c334c(_0x1e8889._0x36978f)?{'source':_0x346108}:{},...isRecord(_0x350112)&&typeof _0x350112[_0x8c334c(_0x1e8889._0x13e662)]===_0x8c334c(_0x1e8889._0x56c3c9)&&typeof _0x350112['cached']===_0x8c334c(_0x1e8889._0x56c3c9)?{'packages':{'total':_0x350112[_0x8c334c(0x27f)],'cached':_0x350112[_0x8c334c(_0x1e8889._0x24414d)]}}:{}};}__name(parseBoxReadInstall,_0x50ee4d(0x295));var BOX_REVOCATIONS_RETRY_AFTER_SECONDS=0x3c,READ_ERROR_CODES=['unauthorized','forbidden',_0x50ee4d(0x190),'not-found',_0x50ee4d(0x268),_0x50ee4d(0x174),_0x50ee4d(0x1d3),_0x50ee4d(0x1a3),'revocation-list-unavailable','malformed'];function parseBoxReadError(_0x416e87){const _0x563ad9={_0x33a118:0x2d5,_0x1e917a:0x31a},_0xd936ba=_0x50ee4d;if(!isRecord(_0x416e87)||!isRecord(_0x416e87[_0xd936ba(_0x563ad9._0x33a118)]))return null;const {code:_0x3a0237,message:_0x2eb3a2,retryAfterSeconds:_0x501058}=_0x416e87['error'];if(!READ_ERROR_CODES['includes'](_0x3a0237))return null;if(typeof _0x2eb3a2!==_0xd936ba(0x1e4))return null;return{'error':{'code':_0x3a0237,'message':_0x2eb3a2,...typeof _0x501058===_0xd936ba(_0x563ad9._0x1e917a)?{'retryAfterSeconds':_0x501058}:{}}};}__name(parseBoxReadError,_0x50ee4d(0x1dc));function parseBoxReadEnvironments(_0xe9e91a){const _0x3aa69d={_0x48d639:0x216,_0x8c35ac:0x1e4,_0x19f375:0x1e4},_0x5daee7=_0x50ee4d;if(!Array[_0x5daee7(_0x3aa69d._0x48d639)](_0xe9e91a))return null;const _0x331f74=[];for(const _0x1878cc of _0xe9e91a){if(!isRecord(_0x1878cc))return null;const {name:_0x10e82f,project:_0x15d549,environment:_0x250f50,note:_0xef3a3f,bundleId:_0x1e5e93,install:_0x4072aa}=_0x1878cc;if(typeof _0x10e82f!=='string'||typeof _0x250f50!==_0x5daee7(_0x3aa69d._0x8c35ac))return null;if(_0x15d549!==void 0x0&&typeof _0x15d549!=='string')return null;if(_0xef3a3f!==void 0x0&&typeof _0xef3a3f!==_0x5daee7(_0x3aa69d._0x8c35ac))return null;if(_0x1e5e93!==void 0x0&&typeof _0x1e5e93!==_0x5daee7(_0x3aa69d._0x19f375))return null;_0x331f74['push']({'name':_0x10e82f,'environment':_0x250f50,..._0x15d549!==void 0x0?{'project':_0x15d549}:{},..._0xef3a3f!==void 0x0?{'note':_0xef3a3f}:{},..._0x1e5e93!==void 0x0?{'bundleId':_0x1e5e93}:{},...installField(_0x4072aa)});}return _0x331f74;}__name(parseBoxReadEnvironments,_0x50ee4d(0x1ee));var BOX_RUNS_SEGMENT=_0x50ee4d(0x2c6),ACTOR_TICKET_HEADER=_0x50ee4d(0x2e0),GUARD_SECRET_HEADER='x-unotest-guard-secret';function boxRunsPath(_0x315a41,_0x5dc677){const _0x532852={_0x158116:0x163},_0x2f3e09=_0x50ee4d;return _0x2f3e09(_0x532852._0x158116)+encodeURIComponent(_0x315a41)+'/'+encodeURIComponent(_0x5dc677)+'/'+BOX_RUNS_SEGMENT;}__name(boxRunsPath,_0x50ee4d(0x2dc));function boxRunPath(_0x164770,_0x5dcded,_0x436f53){return boxRunsPath(_0x164770,_0x5dcded)+'/'+encodeURIComponent(_0x436f53);}__name(boxRunPath,_0x50ee4d(0x18c));function parseBoxRunRequest(_0x1b3ab2){const _0x11b0f0={_0x52a77d:0x1e4,_0x29a194:0x261},_0x4a4713=_0x50ee4d;if(!isRecord(_0x1b3ab2))return null;const {kind:_0x401bdb,ref:_0x4c0bb5}=_0x1b3ab2;if(_0x401bdb!=='collection'&&_0x401bdb!=='scenario')return null;if(typeof _0x4c0bb5!==_0x4a4713(_0x11b0f0._0x52a77d)||_0x4c0bb5[_0x4a4713(_0x11b0f0._0x29a194)]===0x0)return null;return{'kind':_0x401bdb,'ref':_0x4c0bb5};}__name(parseBoxRunRequest,'parseBoxRunRequest');function parseBoxRunAccepted(_0x42f964){const _0x1a71af=_0x50ee4d;if(!isRecord(_0x42f964))return null;const {runId:_0x14bc03,acceptedAt:_0x32967e}=_0x42f964;if(typeof _0x14bc03!=='string'||_0x14bc03[_0x1a71af(0x261)]===0x0)return null;if(typeof _0x32967e!==_0x1a71af(0x31a))return null;return{'runId':_0x14bc03,'acceptedAt':_0x32967e};}__name(parseBoxRunAccepted,'parseBoxRunAccepted');function parseBoxRunStatus(_0xaf1469){const _0x37cc83={_0x5b4c61:0x30c,_0x353577:0x31a},_0x51a298=_0x50ee4d;if(!isRecord(_0xaf1469))return null;const {runId:_0x1a8b6c,state:_0x28e0f6,exitCode:_0x30c825,startedAt:_0x4db44d,finishedAt:_0x22413e}=_0xaf1469;if(typeof _0x1a8b6c!==_0x51a298(0x1e4)||_0x1a8b6c[_0x51a298(0x261)]===0x0)return null;if(_0x28e0f6!=='queued'&&_0x28e0f6!=='running'&&_0x28e0f6!==_0x51a298(_0x37cc83._0x5b4c61))return null;if(_0x30c825!==void 0x0&&_0x30c825!==null&&typeof _0x30c825!==_0x51a298(_0x37cc83._0x353577))return null;if(_0x4db44d!==void 0x0&&typeof _0x4db44d!==_0x51a298(0x31a))return null;if(_0x22413e!==void 0x0&&typeof _0x22413e!==_0x51a298(0x31a))return null;return{'runId':_0x1a8b6c,'state':_0x28e0f6,..._0x30c825!==void 0x0?{'exitCode':_0x30c825}:{},..._0x4db44d!==void 0x0?{'startedAt':_0x4db44d}:{},..._0x22413e!==void 0x0?{'finishedAt':_0x22413e}:{}};}__name(parseBoxRunStatus,_0x50ee4d(0x23f));var WORKSPACE_SCHEMA_VERSION=0x1,WORKSPACE_FILE=_0x50ee4d(0x1d5);function stringList(_0x36076a){const _0x2c066b={_0x46376f:0x216},_0x2daf51=_0x50ee4d;if(!Array[_0x2daf51(_0x2c066b._0x46376f)](_0x36076a))return null;if(_0x36076a['some'](_0x36a89b=>typeof _0x36a89b!==_0x2daf51(0x1e4)))return null;return _0x36076a;}__name(stringList,_0x50ee4d(0x24f));function parseBundle(_0x30dacd){const _0x347860={_0x74c964:0x1e4,_0x2791a4:0x1e4,_0x2993b9:0x31a,_0x14e8ee:0x1e4},_0x5702cd=_0x50ee4d;if(!isRecord(_0x30dacd))return null;const {bundleId:_0x4138bc,label:_0xd43ca9,branch:_0x14d686,sha:_0x486f4d,dirty:_0x2f6feb,author:_0x406c38,createdAt:_0x5a32a2,webVersion:_0x272ade}=_0x30dacd;if(typeof _0x4138bc!==_0x5702cd(_0x347860._0x74c964)||_0x4138bc['length']===0x0)return null;if(typeof _0xd43ca9!==_0x5702cd(_0x347860._0x2791a4)||typeof _0x272ade!==_0x5702cd(0x1e4))return null;if(typeof _0x2f6feb!==_0x5702cd(0x16d))return null;if(typeof _0x5a32a2!==_0x5702cd(_0x347860._0x2993b9)||!Number[_0x5702cd(0x2b7)](_0x5a32a2))return null;for(const _0x336306 of[_0x14d686,_0x486f4d,_0x406c38]){if(_0x336306!==void 0x0&&typeof _0x336306!==_0x5702cd(_0x347860._0x14e8ee))return null;}return{'bundleId':_0x4138bc,'label':_0xd43ca9,'dirty':_0x2f6feb,'createdAt':_0x5a32a2,'webVersion':_0x272ade,...typeof _0x14d686===_0x5702cd(0x1e4)?{'branch':_0x14d686}:{},...typeof _0x486f4d==='string'?{'sha':_0x486f4d}:{},...typeof _0x406c38==='string'?{'author':_0x406c38}:{}};}__name(parseBundle,_0x50ee4d(0x265));function parseWorkspaceFile(_0x30f49f){const _0x471de3={_0x109a69:0x334,_0x272a5b:0x216,_0x59ea0a:0x31a,_0x29049a:0x1e4},_0x1c6c59=_0x50ee4d;if(!isRecord(_0x30f49f))return null;if(_0x30f49f[_0x1c6c59(_0x471de3._0x109a69)]!==WORKSPACE_SCHEMA_VERSION)return null;const {workspace:_0x27c247,environment:_0x3d29d9,allowSwitch:_0x226f16,currentBundleId:_0x18265f,switchedBy:_0xa380f,switchedAt:_0x26c022,bundles:_0x380f5f,variables:_0xefa493,secrets:_0x235c5f,switchPath:_0x4c7f23}=_0x30f49f;if(typeof _0x27c247!==_0x1c6c59(0x1e4)||typeof _0x3d29d9!==_0x1c6c59(0x1e4))return null;if(typeof _0x226f16!==_0x1c6c59(0x16d))return null;if(!Array[_0x1c6c59(_0x471de3._0x272a5b)](_0x380f5f))return null;const _0x1da8ff=[];for(const _0x4ce3ee of _0x380f5f){const _0x4905ed=parseBundle(_0x4ce3ee);if(!_0x4905ed)return null;_0x1da8ff['push'](_0x4905ed);}const _0x14c03a=stringList(_0xefa493),_0x37e83f=stringList(_0x235c5f);if(!_0x14c03a||!_0x37e83f)return null;for(const _0xe7ed0a of[_0x18265f,_0xa380f,_0x4c7f23]){if(_0xe7ed0a!==void 0x0&&typeof _0xe7ed0a!==_0x1c6c59(0x1e4))return null;}if(_0x26c022!==void 0x0&&typeof _0x26c022!==_0x1c6c59(_0x471de3._0x59ea0a))return null;return{'schemaVersion':WORKSPACE_SCHEMA_VERSION,'workspace':_0x27c247,'environment':_0x3d29d9,'allowSwitch':_0x226f16,'bundles':_0x1da8ff,'variables':_0x14c03a,'secrets':_0x37e83f,...typeof _0x18265f===_0x1c6c59(0x1e4)?{'currentBundleId':_0x18265f}:{},...typeof _0xa380f==='string'?{'switchedBy':_0xa380f}:{},...typeof _0x26c022===_0x1c6c59(_0x471de3._0x59ea0a)?{'switchedAt':_0x26c022}:{},...typeof _0x4c7f23===_0x1c6c59(_0x471de3._0x29049a)?{'switchPath':_0x4c7f23}:{}};}__name(parseWorkspaceFile,_0x50ee4d(0x319));function scheduleTarget(_0x4b0c53){const _0x4e74f4={_0x2a7d0c:0x290,_0x561ba0:0x2b8},_0x5b1280=_0x50ee4d;return _0x4b0c53['collection']!==void 0x0?{'kind':_0x5b1280(_0x4e74f4._0x2a7d0c),'name':_0x4b0c53[_0x5b1280(0x290)]}:{'kind':_0x5b1280(0x2b8),'name':_0x4b0c53[_0x5b1280(_0x4e74f4._0x561ba0)]};}__name(scheduleTarget,_0x50ee4d(0x31f));function parseScheduleEntry(_0x3a9f61){const _0x1af02b={_0x28b10e:0x261,_0x3c712d:0x261,_0x52e86d:0x261,_0x210b49:0x1e4,_0x1d1a94:0x1e4,_0x4099f6:0x290,_0x57d6b1:0x31a,_0x129b9e:0x1f1},_0x51ec78=_0x50ee4d;if(!isRecord(_0x3a9f61))return null;const {collection:_0x238b21,scenario:_0x2438e3,cron:_0x424dc1,env:_0x46c93f,prepare:_0xace222,workers:_0x133cff,source:_0x11c0ba}=_0x3a9f61,_0x1a04bf=typeof _0x238b21===_0x51ec78(0x1e4)&&_0x238b21[_0x51ec78(_0x1af02b._0x28b10e)]>0x0?_0x2438e3===void 0x0?{'collection':_0x238b21}:null:typeof _0x2438e3==='string'&&_0x2438e3[_0x51ec78(_0x1af02b._0x3c712d)]>0x0&&_0x238b21===void 0x0?{'scenario':_0x2438e3}:null;if(_0x1a04bf===null)return null;if(typeof _0x424dc1!=='string'||_0x424dc1['trim']()[_0x51ec78(_0x1af02b._0x52e86d)]===0x0)return null;if(_0x46c93f!==void 0x0&&typeof _0x46c93f!==_0x51ec78(_0x1af02b._0x210b49))return null;if(_0xace222!==void 0x0&&typeof _0xace222!==_0x51ec78(_0x1af02b._0x1d1a94))return null;const _0x142bca=_0x51ec78(_0x1af02b._0x4099f6)in _0x1a04bf&&typeof _0x133cff===_0x51ec78(_0x1af02b._0x57d6b1)&&Number[_0x51ec78(0x285)](_0x133cff)&&_0x133cff>=0x1?_0x133cff:void 0x0,_0x21835d=_0x11c0ba===_0x51ec78(0x2a1)||_0x11c0ba===_0x51ec78(_0x1af02b._0x129b9e)?_0x11c0ba:void 0x0;return{..._0x1a04bf,'cron':_0x424dc1,..._0x46c93f!==void 0x0?{'env':_0x46c93f}:{},..._0xace222!==void 0x0?{'prepare':_0xace222}:{},..._0x142bca!==void 0x0?{'workers':_0x142bca}:{},..._0x21835d!==void 0x0?{'source':_0x21835d}:{}};}__name(parseScheduleEntry,_0x50ee4d(0x215));function parseSchedulesDoc(_0x37c6c0){const _0x430a73={_0x339407:0x1bd,_0x1a7489:0x1e9,_0x5f2ce1:0x1b2,_0x3a9f98:0x302,_0x2a4d2b:0x1fd,_0x54c403:0x2e3,_0x2917c1:0x203},_0x5c5a09=_0x50ee4d;if(_0x37c6c0===null||_0x37c6c0===void 0x0)return{'entries':[]};if(!isRecord(_0x37c6c0))return{'error':_0x5c5a09(_0x430a73._0x339407)};const _0x5ac6fc=_0x37c6c0['schedules']??[];if(!Array[_0x5c5a09(0x216)](_0x5ac6fc))return{'error':_0x5c5a09(_0x430a73._0x1a7489)};const _0x599eea=[],_0x100850=new Set();for(const [_0x18bc9f,_0x2664d3]of _0x5ac6fc[_0x5c5a09(0x229)]()){const _0x393265=parseScheduleEntry(_0x2664d3);if(!_0x393265)return{'error':_0x5c5a09(_0x430a73._0x5f2ce1)+_0x18bc9f+_0x5c5a09(_0x430a73._0x3a9f98)};const _0x25f1e9=scheduleTarget(_0x393265),_0x1676f7=_0x25f1e9[_0x5c5a09(_0x430a73._0x2a4d2b)]+':'+_0x25f1e9[_0x5c5a09(0x2b9)];if(_0x100850[_0x5c5a09(0x1db)](_0x1676f7))return{'error':'schedules['+_0x18bc9f+_0x5c5a09(0x258)+_0x25f1e9[_0x5c5a09(0x1fd)]+'\x20\x22'+_0x25f1e9['name']+_0x5c5a09(_0x430a73._0x54c403)};_0x100850[_0x5c5a09(_0x430a73._0x2917c1)](_0x1676f7),_0x599eea[_0x5c5a09(0x27e)](_0x393265);}return{'entries':_0x599eea};}__name(parseSchedulesDoc,_0x50ee4d(0x28c));function mergeSchedules(_0x166181,_0x17d8f2){const _0x4d3d7a={_0x3c14db:0x1f5},_0x236610={_0x3359e2:0x2b9},_0x5648fd=_0x50ee4d,_0x2e0ffd=new Set(_0x17d8f2[_0x5648fd(0x1f5)](_0xaed39=>{const _0xc64b10=_0x5648fd,_0x31390c=scheduleTarget(_0xaed39);return _0x31390c[_0xc64b10(0x1fd)]+':'+_0x31390c[_0xc64b10(_0x236610._0x3359e2)];})),_0x5c4fa2=_0x166181['filter'](_0x222137=>{const _0x51371f=_0x5648fd,_0x5f0b85=scheduleTarget(_0x222137);return!_0x2e0ffd['has'](_0x5f0b85[_0x51371f(0x1fd)]+':'+_0x5f0b85[_0x51371f(0x2b9)]);});return[..._0x5c4fa2['map'](_0x543954=>({..._0x543954,'source':'config'})),..._0x17d8f2[_0x5648fd(_0x4d3d7a._0x3c14db)](_0x4d3316=>({..._0x4d3316,'source':'file'}))];}__name(mergeSchedules,'mergeSchedules');function canonicalScheduleSet(_0xfeae71){const _0x3cd67f={_0x41b0a3:0x2be},_0x475a5f={_0x473bde:0x1fd},_0x5859d0={_0x24d1ca:0x2f5,_0x444aa2:0x17f},_0x408867=_0x50ee4d,_0x2ed93c=_0xfeae71[_0x408867(0x1f5)](_0x543771=>{const _0x17d68c=_0x408867,_0x3c27e9=scheduleTarget(_0x543771);return{'kind':_0x3c27e9['kind'],'name':_0x3c27e9[_0x17d68c(0x2b9)],'cron':_0x543771[_0x17d68c(_0x5859d0._0x24d1ca)],..._0x543771['env']!==void 0x0?{'env':_0x543771['env']}:{},..._0x543771[_0x17d68c(0x255)]!==void 0x0?{'prepare':_0x543771[_0x17d68c(0x255)]}:{},..._0x543771['workers']!==void 0x0?{'workers':_0x543771[_0x17d68c(_0x5859d0._0x444aa2)]}:{}};})[_0x408867(_0x3cd67f._0x41b0a3)]((_0x131963,_0x213ccb)=>{const _0x232c61=_0x408867,_0x5768d0=_0x131963[_0x232c61(_0x475a5f._0x473bde)]+':'+_0x131963[_0x232c61(0x2b9)],_0x3f0fc8=_0x213ccb[_0x232c61(0x1fd)]+':'+_0x213ccb[_0x232c61(0x2b9)];return _0x5768d0<_0x3f0fc8?-0x1:_0x5768d0>_0x3f0fc8?0x1:0x0;});return JSON[_0x408867(0x338)](_0x2ed93c);}__name(canonicalScheduleSet,'canonicalScheduleSet');function parseSchedulesJson(_0x55a2d2){const _0x204f2b={_0x24330d:0x199,_0x5ed116:0x216,_0x1ba21f:0x27e},_0x438264=_0x50ee4d;let _0x458fec;try{_0x458fec=JSON[_0x438264(_0x204f2b._0x24330d)](_0x55a2d2);}catch{return null;}if(!Array[_0x438264(_0x204f2b._0x5ed116)](_0x458fec))return null;const _0x57e238=[];for(const _0x7abd2c of _0x458fec){const _0x28fef7=parseScheduleEntry(_0x7abd2c);if(_0x28fef7)_0x57e238[_0x438264(_0x204f2b._0x1ba21f)](_0x28fef7);}return _0x57e238;}__name(parseSchedulesJson,_0x50ee4d(0x2fd));var FREQ_FIELDS={'m5':{'minutes':![],'hours':![],'days':![]},'m15':{'minutes':![],'hours':![],'days':![]},'h1':{'minutes':!![],'hours':![],'days':![]},'h2':{'minutes':!![],'hours':![],'days':![]},'h4':{'minutes':!![],'hours':![],'days':![]},'h6':{'minutes':!![],'hours':![],'days':![]},'h12':{'minutes':!![],'hours':![],'days':![]},'daily':{'minutes':!![],'hours':!![],'days':![]},'weekly':{'minutes':!![],'hours':!![],'days':!![]}},HOUR_STEP={'h2':0x2,'h4':0x4,'h6':0x6,'h12':0xc};function cronFromSpec(_0x1ceb99){const _0x394736={_0x338173:0x170,_0x3a8ab2:0x263,_0x30bca7:0x284,_0x5cccf8:0x1b7,_0x53bb9a:0x2d2},_0x5b262a=_0x50ee4d,_0x1d29c4=list(_0x1ceb99[_0x5b262a(0x226)]);switch(_0x1ceb99[_0x5b262a(0x284)]){case'm5':return _0x5b262a(0x1ed);case _0x5b262a(_0x394736._0x338173):return _0x5b262a(0x276);case'h1':return _0x1d29c4+_0x5b262a(_0x394736._0x3a8ab2);case'h2':case'h4':case'h6':case _0x5b262a(0x220):return _0x1d29c4+_0x5b262a(0x266)+HOUR_STEP[_0x1ceb99[_0x5b262a(_0x394736._0x30bca7)]]+'\x20*\x20*\x20*';case _0x5b262a(0x2ed):return _0x1d29c4+'\x20'+list(_0x1ceb99['hours'])+'\x20*\x20*\x20*';case _0x5b262a(_0x394736._0x5cccf8):return _0x1d29c4+'\x20'+list(_0x1ceb99[_0x5b262a(0x1e1)])+'\x20*\x20*\x20'+list(_0x1ceb99[_0x5b262a(_0x394736._0x53bb9a)]);}}__name(cronFromSpec,_0x50ee4d(0x2ec));function specFromCron(_0xff618b){const _0x38a440={_0x488658:0x1af,_0x435b1c:0x333,_0x5b292a:0x2ed,_0x11511a:0x1b7},_0x1fc544=_0x50ee4d,_0x2ce110=_0xff618b[_0x1fc544(0x29b)]()['split'](/\s+/);if(_0x2ce110[_0x1fc544(0x261)]!==0x5)return null;const [_0x4e0007,_0x59472e,_0x195125,_0x59bdd2,_0x3fbf98]=_0x2ce110;if(_0x195125!=='*'||_0x59bdd2!=='*')return null;if(_0x59472e==='*'&&_0x3fbf98==='*'){if(_0x4e0007===_0x1fc544(_0x38a440._0x488658))return spec('m5');if(_0x4e0007===_0x1fc544(0x22a))return spec(_0x1fc544(0x170));const _0x386cda=numbers(_0x4e0007);return _0x386cda&&spec('h1',_0x386cda);}const _0xedc88a=numbers(_0x4e0007);if(!_0xedc88a)return null;const _0x10ef4f=/^\*\/(\d+)$/['exec'](_0x59472e);if(_0x10ef4f&&_0x3fbf98==='*'){const _0x312df7=Object[_0x1fc544(0x26e)](HOUR_STEP)[_0x1fc544(_0x38a440._0x435b1c)](_0x4bb2d9=>HOUR_STEP[_0x4bb2d9]===Number(_0x10ef4f[0x1]));return _0x312df7?spec(_0x312df7,_0xedc88a):null;}const _0x8d1d6a=numbers(_0x59472e);if(!_0x8d1d6a)return null;if(_0x3fbf98==='*')return spec(_0x1fc544(_0x38a440._0x5b292a),_0xedc88a,_0x8d1d6a);const _0x4d0202=numbers(_0x3fbf98);return _0x4d0202&&spec(_0x1fc544(_0x38a440._0x11511a),_0xedc88a,_0x8d1d6a,_0x4d0202);}__name(specFromCron,'specFromCron');function describeCron(_0x20b72e){const _0x1293ce=specFromCron(_0x20b72e);return _0x1293ce?describeSpec(_0x1293ce):_0x20b72e;}__name(describeCron,_0x50ee4d(0x260));function describeSpec(_0x4f2d76){const _0x201277={_0x298e98:0x284,_0x41992a:0x170,_0x536f7d:0x2fb,_0x366c3b:0x1b7,_0x5080da:0x1f5,_0x5754a8:0x32b},_0x333c6a=_0x50ee4d;switch(_0x4f2d76[_0x333c6a(_0x201277._0x298e98)]){case'm5':return'every\x205\x20min';case _0x333c6a(_0x201277._0x41992a):return _0x333c6a(_0x201277._0x536f7d);case'h1':return _0x333c6a(0x241)+atMinutes(_0x4f2d76['minutes']);case'h2':case'h4':case'h6':case _0x333c6a(0x220):return _0x333c6a(0x272)+HOUR_STEP[_0x4f2d76[_0x333c6a(0x284)]]+'h'+atMinutes(_0x4f2d76['minutes']);case'daily':return'daily\x20at\x20'+times(_0x4f2d76);case _0x333c6a(_0x201277._0x366c3b):return _0x4f2d76['days'][_0x333c6a(_0x201277._0x5080da)](_0x26caff=>DAY_SHORT[_0x26caff]??String(_0x26caff))['join'](',\x20')+_0x333c6a(_0x201277._0x5754a8)+times(_0x4f2d76);}}__name(describeSpec,'describeSpec');function nextTickFromSpec(_0x150723,_0x1b1b13){const _0x199c40={_0x18f511:0x234,_0x17d144:0x1c8,_0x23bac0:0x218},_0x180eea=_0x50ee4d,_0x27067e=new Date(_0x1b1b13);_0x27067e[_0x180eea(_0x199c40._0x18f511)](0x0,0x0);for(let _0x4fdcd7=0x0;_0x4fdcd7<0x8*0x18*0x3c;_0x4fdcd7++){_0x27067e[_0x180eea(_0x199c40._0x17d144)](_0x27067e['getMinutes']()+0x1);if(specMatches(_0x150723,_0x27067e))return _0x27067e[_0x180eea(0x218)]();}return _0x27067e[_0x180eea(_0x199c40._0x23bac0)]();}__name(nextTickFromSpec,'nextTickFromSpec');function specMatches(_0x4f8690,_0x1e5651){const _0x590f3c={_0x24f038:0x284,_0x5a6fd1:0x170,_0x267439:0x226,_0x5667e5:0x19a,_0x5f3db9:0x1e1,_0x51f7cc:0x226,_0x48b94c:0x1a1},_0x3ac306=_0x50ee4d,_0x33912d=_0x1e5651[_0x3ac306(0x2f2)](),_0x390299=_0x1e5651['getHours']();switch(_0x4f8690[_0x3ac306(_0x590f3c._0x24f038)]){case'm5':return _0x33912d%0x5===0x0;case _0x3ac306(_0x590f3c._0x5a6fd1):return _0x33912d%0xf===0x0;case'h1':return _0x4f8690[_0x3ac306(_0x590f3c._0x267439)][_0x3ac306(_0x590f3c._0x5667e5)](_0x33912d);case'h2':case'h4':case'h6':case'h12':return _0x4f8690[_0x3ac306(_0x590f3c._0x267439)][_0x3ac306(_0x590f3c._0x5667e5)](_0x33912d)&&_0x390299%(HOUR_STEP[_0x4f8690[_0x3ac306(_0x590f3c._0x24f038)]]??0x1)===0x0;case'daily':return _0x4f8690[_0x3ac306(_0x590f3c._0x267439)]['includes'](_0x33912d)&&_0x4f8690[_0x3ac306(_0x590f3c._0x5f3db9)][_0x3ac306(_0x590f3c._0x5667e5)](_0x390299);case _0x3ac306(0x1b7):return _0x4f8690[_0x3ac306(_0x590f3c._0x51f7cc)][_0x3ac306(0x19a)](_0x33912d)&&_0x4f8690[_0x3ac306(_0x590f3c._0x5f3db9)][_0x3ac306(_0x590f3c._0x5667e5)](_0x390299)&&_0x4f8690[_0x3ac306(0x2d2)][_0x3ac306(0x19a)](_0x1e5651[_0x3ac306(_0x590f3c._0x48b94c)]());}}__name(specMatches,_0x50ee4d(0x1f8));function formatNextTick(_0x52b42c,_0x387ce6){const _0x2e1fa7={_0x3e48a7:0x1a0},_0x322aa3=_0x50ee4d,_0x1fc45a=new Date(_0x52b42c),_0x55a082=new Date(_0x387ce6),_0x154db1=pad(_0x1fc45a[_0x322aa3(0x242)]())+':'+pad(_0x1fc45a[_0x322aa3(0x2f2)]()),_0xd2383b=Math[_0x322aa3(_0x2e1fa7._0x3e48a7)]((startOfDay(_0x1fc45a)-startOfDay(_0x55a082))/(0x18*0x3c*0x3c*0x3e8));if(_0xd2383b===0x0)return'today\x20'+_0x154db1;if(_0xd2383b===0x1)return'tomorrow\x20'+_0x154db1;return DAY_SHORT[_0x1fc45a[_0x322aa3(0x1a1)]()]+'\x20'+_0x154db1;}__name(formatNextTick,_0x50ee4d(0x31d));function startOfDay(_0x53c2f8){const _0x4346c0={_0x2c795c:0x218},_0x230578=_0x50ee4d,_0x594c23=new Date(_0x53c2f8);return _0x594c23['setHours'](0x0,0x0,0x0,0x0),_0x594c23[_0x230578(_0x4346c0._0x2c795c)]();}__name(startOfDay,'startOfDay');var DAY_SHORT=[_0x50ee4d(0x197),_0x50ee4d(0x325),_0x50ee4d(0x329),_0x50ee4d(0x2c8),'Thu','Fri',_0x50ee4d(0x19b)],WEEK_CHIP_ORDER=[0x1,0x2,0x3,0x4,0x5,0x6,0x0];function spec(_0x61d0da,_0x5db4d6=[0x0],_0x4bc36a=[0x3],_0x276e40=[0x1]){return{'freq':_0x61d0da,'minutes':_0x5db4d6,'hours':_0x4bc36a,'days':_0x276e40};}__name(spec,_0x50ee4d(0x196));function list(_0x25925c){const _0x5d9c52={_0x1805f7:0x2be},_0x39ef58=_0x50ee4d;return[..._0x25925c][_0x39ef58(_0x5d9c52._0x1805f7)]((_0x56c540,_0x5e1586)=>_0x56c540-_0x5e1586)[_0x39ef58(0x1f0)](',');}__name(list,'list');function numbers(_0x52e7f7){const _0x4fee97={_0x5906e6:0x1e0,_0xd214a0:0x1f5},_0x6d69ac=_0x50ee4d;if(!/^\d+(,\d+)*$/[_0x6d69ac(_0x4fee97._0x5906e6)](_0x52e7f7))return null;return _0x52e7f7[_0x6d69ac(0x2b1)](',')[_0x6d69ac(_0x4fee97._0xd214a0)](Number);}__name(numbers,'numbers');var pad=__name(_0x5dbd4e=>String(_0x5dbd4e)[_0x50ee4d(0x2a0)](0x2,'0'),_0x50ee4d(0x165));function atMinutes(_0x3d76a4){const _0x481c93={_0x44dd30:0x261},_0x58e1c0=_0x50ee4d;if(_0x3d76a4[_0x58e1c0(_0x481c93._0x44dd30)]===0x1&&_0x3d76a4[0x0]===0x0)return'';return _0x58e1c0(0x32b)+[..._0x3d76a4][_0x58e1c0(0x2be)]((_0x7f240e,_0x20ed71)=>_0x7f240e-_0x20ed71)[_0x58e1c0(0x1f5)](_0x67a89a=>':'+pad(_0x67a89a))['join'](',\x20');}__name(atMinutes,_0x50ee4d(0x2cf));function times(_0x2e4b36){const _0x5237e8={_0x4747f4:0x1e1,_0x4c6250:0x2be},_0x56a844=_0x50ee4d,_0x27399c=[..._0x2e4b36[_0x56a844(_0x5237e8._0x4747f4)]][_0x56a844(_0x5237e8._0x4c6250)]((_0x3470c1,_0x5028d3)=>_0x3470c1-_0x5028d3)[_0x56a844(0x2a4)](_0x39a08b=>[..._0x2e4b36['minutes']][_0x56a844(0x2be)]((_0x22cb8b,_0x3b1899)=>_0x22cb8b-_0x3b1899)['map'](_0x1c43a2=>pad(_0x39a08b)+':'+pad(_0x1c43a2))),_0x101a34=_0x27399c['slice'](0x0,0x4),_0x37020d=_0x27399c[_0x56a844(0x261)]-_0x101a34['length'];return _0x101a34['join'](',\x20')+(_0x37020d>0x0?'\x20+'+_0x37020d:'');}__name(times,_0x50ee4d(0x22d));var BLOBS_DIR='_blobs',GENERATION_SEP='~',HASH_RE=/^[0-9a-f]{8,}$/,InvalidBlobHashError=class extends Error{static{__name(this,_0x50ee4d(0x22f));}constructor(_0x771915){const _0x5dc066={_0x16677f:0x171,_0x3cf631:0x22f},_0xe9f54e=_0x50ee4d;super(_0xe9f54e(_0x5dc066._0x16677f)+_0x771915),this[_0xe9f54e(0x2b9)]=_0xe9f54e(_0x5dc066._0x3cf631);}};function blobPathFor(_0x431c51,_0x1f815f,_0x1d7cfa,_0x5afd6b=0x0){return _0x431c51+'/'+blobRelPathFor(_0x1f815f,_0x1d7cfa,_0x5afd6b);}__name(blobPathFor,_0x50ee4d(0x164));function blobRelSegmentsFor(_0xeaabe8,_0x15f569,_0x32bbd1=0x0){const _0x18b68e={_0x5255f3:0x2df,_0x46abb9:0x2df},_0x546d7f=_0x50ee4d;if(!HASH_RE[_0x546d7f(0x1e0)](_0xeaabe8))throw new InvalidBlobHashError(_0xeaabe8);const _0x2ffe99=_0x32bbd1>0x0?''+GENERATION_SEP+_0x32bbd1:'';return[BLOBS_DIR,_0xeaabe8[_0x546d7f(_0x18b68e._0x5255f3)](0x0,0x2),_0xeaabe8[_0x546d7f(_0x18b68e._0x46abb9)](0x2,0x4),''+_0xeaabe8+_0x2ffe99+'.'+_0x15f569];}__name(blobRelSegmentsFor,_0x50ee4d(0x228));function blobRelPathFor(_0x86dcc9,_0x24d749,_0x1a3442=0x0){return blobRelSegmentsFor(_0x86dcc9,_0x24d749,_0x1a3442)['join']('/');}__name(blobRelPathFor,'blobRelPathFor');function blobsRootFor(_0xbac58d){return _0xbac58d+'/'+BLOBS_DIR;}__name(blobsRootFor,_0x50ee4d(0x321));var FS_UNSAFE_NAME_RE=/[\\/:*?"<>|\x00-\x1f]/;function validateFsSafeName(_0x5e682a,_0x153bc4){const _0x5664da={_0x20b380:0x33c,_0xea17fc:0x29b,_0x78b205:0x179,_0x32b278:0x209,_0x381f4c:0x26d,_0x4fa826:0x2bd,_0x42391c:0x235,_0x1f9516:0x1e0},_0x53ddb=_0x50ee4d;if(typeof _0x5e682a!=='string')return _0x53ddb(_0x5664da._0x20b380);const _0x13072b=_0x5e682a[_0x53ddb(_0x5664da._0xea17fc)]();if(_0x13072b[_0x53ddb(0x261)]===0x0)return _0x53ddb(_0x5664da._0x78b205);if(_0x13072b==='.'||_0x13072b==='..')return'must\x20not\x20be\x20\x22.\x22\x20or\x20\x22..\x22';if(_0x13072b['startsWith']('.'))return _0x53ddb(_0x5664da._0x32b278);if(_0x153bc4?.[_0x53ddb(_0x5664da._0x381f4c)]&&_0x13072b[_0x53ddb(_0x5664da._0x4fa826)]('_'))return _0x53ddb(_0x5664da._0x42391c);if(FS_UNSAFE_NAME_RE[_0x53ddb(_0x5664da._0x1f9516)](_0x13072b))return _0x53ddb(0x168);return null;}__name(validateFsSafeName,_0x50ee4d(0x24d));var COLLECTION_NAME_FORBIDDEN_RE=FS_UNSAFE_NAME_RE;function validateCollectionName(_0x5442f1){return validateFsSafeName(_0x5442f1);}__name(validateCollectionName,_0x50ee4d(0x178));var DEFAULT_COLLECTION_NAME=_0x50ee4d(0x305);function firstRunCommand({environment:_0x3be8b6,collection:_0x993c08}){const _0x595afa={_0x54d153:0x175},_0x49745a=_0x50ee4d;return _0x49745a(0x254)+_0x3be8b6+_0x49745a(_0x595afa._0x54d153)+_0x993c08;}__name(firstRunCommand,_0x50ee4d(0x2a8));var RUN_MANIFEST_FILE='manifest.json',RUN_TRIGGER_ENV=_0x50ee4d(0x278),RUN_ACTOR_ENV=_0x50ee4d(0x23d),TRIGGER_KINDS=[_0x50ee4d(0x185),'ci',_0x50ee4d(0x32d),'cli'];function runTriggerFromEnv(_0x585ffd){const _0x3bde82=_0x50ee4d,_0x117410=_0x585ffd[RUN_TRIGGER_ENV]?.[_0x3bde82(0x29b)]();if(!_0x117410||!TRIGGER_KINDS[_0x3bde82(0x19a)](_0x117410))return void 0x0;const _0x22af6e=_0x585ffd[RUN_ACTOR_ENV]?.[_0x3bde82(0x29b)]();return{'kind':_0x117410,..._0x22af6e?{'by':_0x22af6e}:{}};}__name(runTriggerFromEnv,_0x50ee4d(0x194));function runTriggerEnv(_0x3dd1a3){const _0x7c03c7={_0x16fd0a:0x1fd},_0x525e9b=_0x50ee4d;return{[RUN_TRIGGER_ENV]:_0x3dd1a3[_0x525e9b(_0x7c03c7._0x16fd0a)],..._0x3dd1a3['by']!==void 0x0?{[RUN_ACTOR_ENV]:_0x3dd1a3['by']}:{}};}__name(runTriggerEnv,_0x50ee4d(0x1a8));function manifestTrigger(_0x57dab3){const _0xd19fa1=_0x50ee4d;return _0x57dab3[_0xd19fa1(0x1bb)]??{'kind':_0xd19fa1(0x188)};}__name(manifestTrigger,_0x50ee4d(0x1d0));var RUN_SOURCES_FILE='sources.json',UnsupportedRunKindError=class extends Error{static{__name(this,_0x50ee4d(0x252));}constructor(_0x3f04ff,_0x260a29){const _0x38855c=_0x50ee4d;super(_0x38855c(0x1f6)+_0x260a29+_0x38855c(0x1dd)+_0x3f04ff+'\x22'),this[_0x38855c(0x2b9)]=_0x38855c(0x252);}},RunnerAdapterNotFoundError=class extends Error{static{__name(this,_0x50ee4d(0x2d9));}constructor(_0x4f49a7,_0x23e753){const _0x35e06c={_0xbc1a23:0x2c2,_0x36ef56:0x2d9},_0x76bca1=_0x50ee4d;super(_0x76bca1(0x2cc)+_0x4f49a7+_0x76bca1(_0x35e06c._0xbc1a23)+_0x23e753),this['name']=_0x76bca1(_0x35e06c._0x36ef56);}},RunnerNotConfiguredError=class extends Error{static{__name(this,_0x50ee4d(0x183));}constructor(_0x25f51a){const _0x3356df=_0x50ee4d;super(_0x25f51a),this[_0x3356df(0x2b9)]='RunnerNotConfiguredError';}},EXPECT_FAIL_ANNOTATION=_0x50ee4d(0x1fa),ANNOTATION_RE=/^\s*\/\/\s*@([a-z0-9-]+)\s*$/;function isAnnotationLine(_0x3d3ea7){const _0x5f738b={_0x2dc8c2:0x1e0},_0x31dcef=_0x50ee4d;return ANNOTATION_RE[_0x31dcef(_0x5f738b._0x2dc8c2)](_0x3d3ea7);}__name(isAnnotationLine,_0x50ee4d(0x1b4));function parseScenarioAnnotations(_0x1a9e83){const _0x5b0dde={_0x26da0a:0x203,_0x55062c:0x1db},_0x5be1c4=_0x50ee4d,_0x3042ad=new Set();for(const _0x2eb5ef of _0x1a9e83[_0x5be1c4(0x2b1)](/\r?\n/)){const _0x304e81=_0x2eb5ef[_0x5be1c4(0x29b)]();if(_0x304e81==='')continue;if(!_0x304e81[_0x5be1c4(0x2bd)]('//'))break;const _0x126655=_0x304e81['match'](ANNOTATION_RE);if(_0x126655)_0x3042ad[_0x5be1c4(_0x5b0dde._0x26da0a)](_0x126655[0x1]);}return{'expectFail':_0x3042ad[_0x5be1c4(_0x5b0dde._0x55062c)](EXPECT_FAIL_ANNOTATION)};}__name(parseScenarioAnnotations,_0x50ee4d(0x1ac));var SEGMENT_NAME_FORBIDDEN_RE=FS_UNSAFE_NAME_RE;function validateSegmentName(_0x4b02b6){return validateFsSafeName(_0x4b02b6,{'reservedUnderscore':!![]});}__name(validateSegmentName,'validateSegmentName');var TERMINAL_WS_EVENT=_0x50ee4d(0x246),RUNNER_CONFIG_KEYS=new Set([_0x50ee4d(0x233),_0x50ee4d(0x2f9),_0x50ee4d(0x2bf),'UNOTEST_SLOW_MO',_0x50ee4d(0x212),_0x50ee4d(0x27d),_0x50ee4d(0x286),'UNOTEST_LOCALE',_0x50ee4d(0x317),_0x50ee4d(0x2dd),_0x50ee4d(0x1df),_0x50ee4d(0x27a),_0x50ee4d(0x162),_0x50ee4d(0x1ef),_0x50ee4d(0x18e),'UNOTEST_DEBUG_KEEP_CALLS',_0x50ee4d(0x26b),_0x50ee4d(0x24a),'UNOTEST_STEP_SCREENSHOTS',_0x50ee4d(0x339),'UNOTEST_BOX_URL',_0x50ee4d(0x31c),_0x50ee4d(0x281),_0x50ee4d(0x25b),_0x50ee4d(0x1d8),_0x50ee4d(0x187)]);function isRunnerConfigKey(_0x3ce5fa){const _0x18aebd=_0x50ee4d;return RUNNER_CONFIG_KEYS[_0x18aebd(0x1db)](_0x3ce5fa);}__name(isRunnerConfigKey,_0x50ee4d(0x2c1));function categorizeVariable(_0x474a8a){const _0x278e62={_0x1687a9:0x323,_0x5cdf96:0x2b9},_0x155407=_0x50ee4d;if(_0x474a8a[_0x155407(0x2f3)]===_0x155407(0x2b3))return _0x155407(_0x278e62._0x1687a9);return isRunnerConfigKey(_0x474a8a[_0x155407(_0x278e62._0x5cdf96)])?'runner':_0x155407(0x2d1);}__name(categorizeVariable,_0x50ee4d(0x2e8));function isExternalVarName(_0x5b04fd){return/^[A-Z][A-Z0-9_]*$/['test'](_0x5b04fd);}__name(isExternalVarName,'isExternalVarName');var SECTION_BY_KIND={'app':'App','runner':_0x50ee4d(0x1cb),'secret':void 0x0};function planAddVariable(_0x3a17ba){const _0xf6a2aa={_0x37ab65:0x307,_0x5a157b:0x219,_0x380fe1:0x1db,_0x217be8:0x26f,_0x47f14c:0x2a6,_0x579931:0x166,_0x320125:0x323,_0x2de5e6:0x27e,_0x11e5a6:0x299},_0x2b26a9=_0x50ee4d,{name:_0x4486ae,kind:_0x474e98}=_0x3a17ba;if(_0x474e98===_0x2b26a9(0x1de)){if(!isRunnerConfigKey(_0x4486ae))return{'ok':![],'code':'unknown-runner-key','message':_0x4486ae+'\x20is\x20not\x20a\x20known\x20runner\x20setting\x20—\x20choose\x20one\x20from\x20the\x20runner-config\x20list.'};}else{if(!isExternalVarName(_0x4486ae))return{'ok':![],'code':_0x2b26a9(_0xf6a2aa._0x37ab65),'message':_0x4486ae+_0x2b26a9(0x18a)};}const _0x12eec1=envKeys(_0x3a17ba[_0x2b26a9(_0xf6a2aa._0x5a157b)])['has'](_0x4486ae),_0x58e81c=envKeys(_0x3a17ba[_0x2b26a9(0x1d4)])[_0x2b26a9(_0xf6a2aa._0x380fe1)](_0x4486ae),_0x34e79d=_0x474e98===_0x2b26a9(0x323)?_0x2b26a9(0x2b3):_0x2b26a9(_0xf6a2aa._0x217be8),_0x95738c=_0x34e79d===_0x2b26a9(0x2b3)?_0x58e81c:_0x12eec1,_0xcb3481=_0x34e79d==='secrets'?'unotest/.secrets':'unotest/.env';if(_0x95738c)return{'ok':![],'code':'duplicate','message':_0x4486ae+_0x2b26a9(_0xf6a2aa._0x47f14c)+_0xcb3481+_0x2b26a9(_0xf6a2aa._0x579931)};const _0x2cdab3=[];return _0x474e98===_0x2b26a9(_0xf6a2aa._0x320125)&&_0x12eec1&&_0x2cdab3[_0x2b26a9(_0xf6a2aa._0x2de5e6)](_0x4486ae+_0x2b26a9(_0xf6a2aa._0x11e5a6)),_0x474e98!=='secret'&&_0x58e81c&&_0x2cdab3['push'](_0x4486ae+_0x2b26a9(0x318)),{'ok':!![],'target':_0x34e79d,'sectionLabel':SECTION_BY_KIND[_0x474e98],'warnings':_0x2cdab3};}__name(planAddVariable,'planAddVariable');function deleteShadowWarning(_0x44074e,_0x134883,_0x1ac97c){const _0x556f72=_0x50ee4d;if(_0x1ac97c!==void 0x0&&_0x1ac97c!==_0x134883)return[_0x44074e+_0x556f72(0x2a3)];return[];}__name(deleteShadowWarning,'deleteShadowWarning');var TERMINAL_RUNTIME_STATES=[_0x50ee4d(0x1da),'failed','aborted'];function isTerminalRuntimeState(_0x5a7314){const _0x2df45b={_0x281f92:0x19a},_0x35e605=_0x50ee4d;return TERMINAL_RUNTIME_STATES[_0x35e605(_0x2df45b._0x281f92)](_0x5a7314);}__name(isTerminalRuntimeState,_0x50ee4d(0x28b));var JUDGE_ROUTES={'judge':_0x50ee4d(0x25f),'health':_0x50ee4d(0x1fc)},JUDGE_ENV={'mode':_0x50ee4d(0x28f),'url':'UNOTEST_JUDGE_URL','token':_0x50ee4d(0x1be),'requestTimeoutMs':_0x50ee4d(0x243),'preamble':_0x50ee4d(0x245),'provider':_0x50ee4d(0x296),'model':'UNOTEST_JUDGE_MODEL','callTimeoutMs':_0x50ee4d(0x2b6),'retries':_0x50ee4d(0x2ab),'vote':_0x50ee4d(0x236),'accessToken':'UNOTEST_JUDGE_ACCESS_TOKEN','claudeBin':'UNOTEST_JUDGE_CLAUDE_BIN','host':'UNOTEST_JUDGE_HOST','port':_0x50ee4d(0x275),'logLevel':_0x50ee4d(0x16a),'skipPreflight':'UNOTEST_JUDGE_SKIP_PREFLIGHT'};export{ACTOR_TICKET_HEADER,ARTIFACTS_ROOT_ENV,BLOBS_DIR,BOX_ENV_VALUES_SEGMENT,BOX_NOTIFY_CHANNEL_KINDS,BOX_NOTIFY_EVENTS,BOX_NOTIFY_PATH,BOX_NOTIFY_STATES,BOX_NOTIFY_TRIGGER_KINDS,BOX_PUSH_TOKEN_PREFIX,BOX_READ_ENVIRONMENTS_PATH,BOX_READ_ENVIRONMENT_HEADER,BOX_READ_TOKEN_ENV,BOX_READ_TOKEN_PREFIX,BOX_REVEAL_SEGMENT,BOX_REVOCATIONS_RETRY_AFTER_SECONDS,BOX_RUNS_SEGMENT,BOX_SECRET_NAMES_ENV,BOX_SIGNED_TOKEN,BOX_SIGNED_TOKEN_PREFIX,BOX_TOKEN_ENV,BOX_URL_ENV,BOX_VALUES_PATH,BOX_VARIABLE_NAMES_ENV,BROWSER_CHANNEL_ENV,BROWSER_ENV,BUNDLED_BROWSER_CHANNEL,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,DAY_SHORT,DEFAULT_COLLECTION_NAME,E2E_SUBDIR,ENV_FILE,EXPECT_FAIL_ANNOTATION,FAILURES_DIR_SEGMENTS,FAILURES_ROOT_ENV,FREQ_FIELDS,GUARD_SECRET_HEADER,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,RUNNER_SETTING_PREFIX,RUNS_SUBDIR,RUNTIME_FILE,RUN_ACTOR_ENV,RUN_INDEX_SCHEMA_VERSION,RUN_MANIFEST_FILE,RUN_SOURCES_FILE,RUN_TRIGGER_ENV,RunnerAdapterNotFoundError,RunnerNotConfiguredError,SCENARIOS_INDEX_DIR,SCENARIOS_LATEST_FILE,SCENARIO_RECENT_WINDOW,SCHEDULES_FILE,SCHEDULES_FINGERPRINT_ENV,SECRETS_FILE,SEGMENT_NAME_FORBIDDEN_RE,SNAPSHOTS_SUBDIR,STDERR_FILE,STDOUT_FILE,STEPS_FILE,TARGET_ENV_VAR,TERMINAL_RUNTIME_STATES,TERMINAL_WS_EVENT,UNOTEST_DIR,UnplaceableRunIdError,UnsupportedRunKindError,WEEK_CHIP_ORDER,WORKSPACE_FILE,WORKSPACE_SCHEMA_VERSION,activeEnvName,artifactsRootFrom,blobPathFor,blobRelPathFor,blobRelSegmentsFor,blobsRootFor,boxEnvSecretRevealPath,boxEnvSecretsRevealPath,boxEnvValuePath,boxEnvValuesPath,boxNotifyChannelPath,boxNotifyMutePath,boxNotifyPreviewPath,boxNotifyPreviewTrigger,boxNotifyProjectPath,boxNotifyQuietHoursPath,boxNotifyRulePath,boxNotifySeriesPath,boxNotifySeriesResetPath,boxNotifyTestPath,boxRunPath,boxRunsPath,boxValueKindOfSegment,boxValuePath,boxValuesPath,canonicalScheduleSet,categorizeVariable,compareQueueTicketNames,cronFromSpec,debugDirFor,debuggerFileFor,declaredEnvKeys,decodeNameList,deleteShadowWarning,describeBundle,describeCron,describeSpec,describeTicketCi,encodeNameList,envFileFor,envKeys,envLayerFilesFor,envNamesFromDirListing,failuresRootFrom,failuresRootIn,failuresRootUnder,firstRunCommand,foldScenarioRun,formatNextTick,insertEnvVar,isAnnotationLine,isBoxNotifyState,isEnvVarName,isExternalVarName,isFailingStatus,isQueueDirName,isRecord,isRegexLiteral,isRunnerConfigKey,isRunnerSetting,isRunsDirName,isTerminalRuntimeState,makeQueueTicketName,makeRunId,manifestTrigger,mergeSchedules,nextTickFromSpec,parseAppServerEvent,parseBoxEnvValuesReplaceRequest,parseBoxNotifyChanged,parseBoxNotifyError,parseBoxNotifyMuteScope,parseBoxNotifyPreview,parseBoxNotifyProjectView,parseBoxNotifySeriesView,parseBoxNotifyTestResult,parseBoxNotifyView,parseBoxReadEnvironments,parseBoxReadError,parseBoxReadInstall,parseBoxRunAccepted,parseBoxRunRequest,parseBoxRunStatus,parseBoxSecretRevealResponse,parseBoxSecretsRevealResponse,parseBoxValueSetRequest,parseBoxValuesReplaceRequest,parseBoxValuesResponse,parseBundleManifest,parseBundleUploadResponse,parseCiProvider,parseCiRunRequest,parseCiRunResponse,parseEnvContent,parseQueueTicket,parseQueueTicketName,parseScenarioAnnotations,parseScheduleEntry,parseSchedulesDoc,parseSchedulesJson,parseWorkspaceFile,planAddVariable,projectQueueRoot,projectRunDirFor,projectRunsRoot,queueDirFor,queuePriorityFromRank,queuePriorityRank,regexLiteral,removeEnvVar,replaceEnvVar,requireRunDirFor,reservedBoxValueNames,runDirFor,runIdStartedAt,runTriggerEnv,runTriggerFromEnv,runsDirFor,sanitizeRunIdSegment,scenarioIndexFileName,scenarioRefFromFileName,scheduleTarget,secretsFileFor,secretsLayerFilesFor,serializeEnvValue,shardDaysDescending,shardDirFor,shardPathForRunId,shardPathForTimestamp,specFromCron,testDirFor,validateCollectionName,validateSegmentName};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@unotest/protocol",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.42.0",
|
|
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": {
|