@mcp-b/react-components 0.71.0 → 0.72.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/dist/{AgentComputer-CpS9R2KG.d.ts → AgentComputer-BI8RsGzq.d.ts} +11 -1
- package/dist/{AgentComputer-DZCyQkcE.js → AgentComputer-KhPwXwh8.js} +332 -314
- package/dist/{ChatGptSignInScreen-CmbBe09G.js → ChatGptSignInScreen-CLq5cetL.js} +1 -1
- package/dist/{CodeBlock-dt0L8md0.js → CodeBlock-ZG47S5e4.js} +1 -1
- package/dist/{ComputerCalendar-Ci7tLASe.js → ComputerCalendar-B3xdMl90.js} +565 -478
- package/dist/{ComputerPresentation-BEQKYAjc.js → ComputerPresentation-rzx6n36S.js} +26 -4
- package/dist/{ExecutionResult-CXnGcmM4.js → ExecutionResult-BojdvFEY.js} +2 -2
- package/dist/{FileTree-CjfzpN6X.js → FileTree-C7fh3_H5.js} +1 -1
- package/dist/{ManagerOffice-BJ2vs-Lr.js → ManagerOffice-80ZkVjSt.js} +1 -1
- package/dist/{SetupChecklist-DwscX3Bw.js → SetupChecklist-BKCMkUuh.js} +1 -1
- package/dist/{ThinkSchedule-9nzxIoX1.d.ts → ThinkSchedule-C9vErgZQ.d.ts} +2 -3
- package/dist/{WorkspaceBrowser-mRScUczT.js → WorkspaceBrowser-BFdnZrm7.js} +2 -2
- package/dist/components/agents-sdk/AIProviderDialog.js +1 -1
- package/dist/components/agents-sdk/AgentActivity.js +1 -1
- package/dist/components/agents-sdk/AgentChat.js +1 -1
- package/dist/components/agents-sdk/AgentComputer.d.ts +1 -1
- package/dist/components/agents-sdk/AgentComputer.js +1 -1
- package/dist/components/agents-sdk/AgentScreenSwitcher.js +1 -1
- package/dist/components/agents-sdk/BrowserLiveScreen.js +1 -1
- package/dist/components/agents-sdk/BrowserLiveView.js +1 -1
- package/dist/components/agents-sdk/BrowserReplay.js +1 -1
- package/dist/components/agents-sdk/BrowserRunPanel.js +1 -1
- package/dist/components/agents-sdk/ComputerAutomations.d.ts +8 -3
- package/dist/components/agents-sdk/ComputerAutomations.js +7 -7
- package/dist/components/agents-sdk/ComputerCalendar.d.ts +22 -2
- package/dist/components/agents-sdk/ComputerCalendar.js +1 -1
- package/dist/components/agents-sdk/ComputerChannels.d.ts +51 -0
- package/dist/components/agents-sdk/ComputerChannels.js +311 -0
- package/dist/components/agents-sdk/ComputerFiles.d.ts +1 -1
- package/dist/components/agents-sdk/ComputerFiles.js +60 -48
- package/dist/components/agents-sdk/ComputerHome.js +1 -1
- package/dist/components/agents-sdk/ComputerLayout.d.ts +1 -1
- package/dist/components/agents-sdk/ComputerNotifications.js +1 -1
- package/dist/components/agents-sdk/ComputerPresentation.d.ts +2 -2
- package/dist/components/agents-sdk/ComputerPresentation.js +2 -2
- package/dist/components/agents-sdk/ComputerScreen.d.ts +1 -1
- package/dist/components/agents-sdk/ComputerScreen.js +3 -3
- package/dist/components/agents-sdk/ComputerSettings.d.ts +1 -1
- package/dist/components/agents-sdk/ComputerSettings.js +4 -4
- package/dist/components/agents-sdk/ComputerSpotlight.js +1 -1
- package/dist/components/agents-sdk/ComputerViewer.js +1 -1
- package/dist/components/agents-sdk/EmployeeApp.js +1 -1
- package/dist/components/agents-sdk/EmployeeChat.js +1 -1
- package/dist/components/agents-sdk/EmployeeChrome.js +2 -2
- package/dist/components/agents-sdk/EmployeeSchedules.d.ts +1 -1
- package/dist/components/agents-sdk/EmployeeSchedules.js +1 -1
- package/dist/components/agents-sdk/EmployeeStartScreen.js +2 -2
- package/dist/components/agents-sdk/ExecutionBoard.js +3 -3
- package/dist/components/agents-sdk/ManagerAccountActions.js +1 -1
- package/dist/components/agents-sdk/ManagerOffice.d.ts +2 -2
- package/dist/components/agents-sdk/ManagerOffice.js +1 -1
- package/dist/components/agents-sdk/ManagerOfficeScreens.js +2 -2
- package/dist/components/agents-sdk/McpConnectionRequest.js +1 -1
- package/dist/components/agents-sdk/McpPluginCatalog.js +1 -1
- package/dist/components/agents-sdk/McpServerPicker.js +1 -1
- package/dist/components/agents-sdk/ModelSelector.js +1 -1
- package/dist/components/agents-sdk/PromptInputCommands.js +1 -1
- package/dist/components/agents-sdk/SubagentRunIndicator.js +1 -1
- package/dist/components/agents-sdk/SubagentRunPanel.js +1 -1
- package/dist/components/agents-sdk/ThinkChatToolPanels.js +2 -2
- package/dist/components/agents-sdk/ThinkExecutionStatus.js +1 -1
- package/dist/components/agents-sdk/ThinkExecutionWorkbench.js +1 -1
- package/dist/components/agents-sdk/ThinkSchedule.d.ts +1 -1
- package/dist/components/agents-sdk/ThinkSchedule.js +2 -2
- package/dist/components/agents-sdk/ThinkScheduleActions.d.ts +1 -1
- package/dist/components/agents-sdk/ThinkScheduleActions.js +1 -1
- package/dist/components/agents-sdk/ThinkScheduleBrowser.d.ts +1 -1
- package/dist/components/agents-sdk/ThinkScheduleBrowser.js +1 -1
- package/dist/components/agents-sdk/ThinkScheduleDetail.d.ts +1 -1
- package/dist/components/agents-sdk/ThinkScheduleDetail.js +2 -2
- package/dist/components/agents-sdk/ThinkScheduleForm.js +4 -4
- package/dist/components/agents-sdk/ThinkThreadPicker.js +1 -1
- package/dist/components/agents-sdk/WorkbenchBack.js +1 -1
- package/dist/components/agents-sdk/WorkspaceAutomation.js +5 -5
- package/dist/components/agents-sdk/WorkspaceAutomationTable.js +4 -4
- package/dist/components/agents-sdk/WorkspaceBrowser.js +1 -1
- package/dist/components/agents-sdk/WorkspaceCorrespondence.js +3 -3
- package/dist/components/agents-sdk/WorkspaceDesktop.js +326 -162
- package/dist/components/agents-sdk/WorkspaceExplorer.js +2 -2
- package/dist/components/agents-sdk/WorkspaceFileDetails.js +2 -2
- package/dist/components/agents-sdk/WorkspaceFileView.js +5 -5
- package/dist/components/agents-sdk/WorkspaceHeader.js +1 -1
- package/dist/components/agents-sdk/WorkspacePerson.js +3 -3
- package/dist/components/agents-sdk/WorkspaceProject.js +4 -4
- package/dist/components/ai-sdk/Activity.js +1 -1
- package/dist/components/ai-sdk/AgentChatStartScreen.js +1 -1
- package/dist/components/ai-sdk/Approval.js +1 -1
- package/dist/components/ai-sdk/Artifact.js +1 -1
- package/dist/components/ai-sdk/ChainOfThought.d.ts +1 -1
- package/dist/components/ai-sdk/ChainOfThought.js +1 -1
- package/dist/components/ai-sdk/Checkpoint.js +1 -1
- package/dist/components/ai-sdk/CodeBlock.js +1 -1
- package/dist/components/ai-sdk/ComposerLink.js +1 -1
- package/dist/components/ai-sdk/ConnectedAppCards.js +2 -2
- package/dist/components/ai-sdk/Conversation.js +1 -1
- package/dist/components/ai-sdk/Goal.js +1 -1
- package/dist/components/ai-sdk/MediaPreviewCard.js +1 -1
- package/dist/components/ai-sdk/Message.js +2 -2
- package/dist/components/ai-sdk/MessageScroller.js +1 -1
- package/dist/components/ai-sdk/MessageScrollerVirtual.js +1 -1
- package/dist/components/ai-sdk/Plan.js +1 -1
- package/dist/components/ai-sdk/PromptInput.js +1 -1
- package/dist/components/ai-sdk/Queue.js +1 -1
- package/dist/components/ai-sdk/Reasoning.js +1 -1
- package/dist/components/ai-sdk/Sources.js +1 -1
- package/dist/components/ai-sdk/Task.js +1 -1
- package/dist/components/extension/ChatGptSignInScreen.js +1 -1
- package/dist/components/extension/CodexModelSelector.js +1 -1
- package/dist/components/extension/ConversationTabPicker.js +1 -1
- package/dist/components/extension/FirstRunSetup.d.ts +1 -1
- package/dist/components/extension/FirstRunSetup.js +1 -1
- package/dist/components/foundations/Checkbox.js +1 -1
- package/dist/components/foundations/ContextMenu.js +1 -1
- package/dist/components/foundations/Favicon.js +1 -1
- package/dist/components/foundations/Menubar.js +1 -1
- package/dist/components/foundations/SearchField.js +1 -1
- package/dist/components/foundations/Select.js +1 -1
- package/dist/components/foundations/Stepper.js +1 -1
- package/dist/components/foundations/Toast.js +1 -1
- package/dist/components/foundations/icons.d.ts +2 -2
- package/dist/components/foundations/icons.js +2 -2
- package/dist/components/general-purpose/CommandPalette.js +1 -1
- package/dist/components/general-purpose/Commit.js +2 -2
- package/dist/components/general-purpose/EnvironmentVariables.js +2 -2
- package/dist/components/general-purpose/FileTree.js +1 -1
- package/dist/components/general-purpose/PricingPlanCard.js +1 -1
- package/dist/components/general-purpose/ResponsiveSidebarShell.js +1 -1
- package/dist/components/general-purpose/SetupChecklist.js +1 -1
- package/dist/components/general-purpose/TestResults.js +1 -1
- package/dist/components/general-purpose/ThemeModeControl.js +1 -1
- package/dist/components/general-purpose/WallpaperPicker.js +1 -1
- package/dist/components/general-purpose/WebPreview.js +1 -1
- package/dist/components/nanites/AgentConnection.js +2 -2
- package/dist/components/nanites/AgentToolDetail.js +1 -1
- package/dist/{connected-app-drafts-C49343p9.js → connected-app-drafts-D2ijldOR.js} +2 -2
- package/dist/{copy-button-DWBVJR6D.js → copy-button-UNBY7oXF.js} +1 -1
- package/dist/{icons-B3n7zvU7.d.ts → icons-CMPZtOxO.d.ts} +2 -1
- package/dist/{icons-nLTnB9kd.js → icons-CNwk7DEu.js} +3 -2
- package/dist/{parts-DuT5-rDz.js → parts-Bb1aZP2y.js} +1 -1
- package/dist/{scheduled-table-source-gGpVJ1TN.js → scheduled-table-source-6YdnC3Sh.js} +1 -1
- package/dist/styles/app-top-bar.css +1 -1
- package/dist/styles/computer-calendar.css +12 -0
- package/dist/styles/computer-channels.css +87 -0
- package/dist/styles/index.css +1 -0
- package/dist/styles/list-detail.css +1 -2
- package/dist/styles/recipes.css +2 -2
- package/dist/styles/search-field.css +1 -1
- package/dist/styles/workspace-desktop.css +11 -7
- package/dist/{workspace-assets-DdtnBDU3.js → workspace-assets-CadpUKoz.js} +1 -1
- package/dist/{workspace-concept-panel-VkjvFCY_.js → workspace-concept-panel-CzxPyGpN.js} +1 -1
- package/dist/{workspace-delete-BOY6CMBf.js → workspace-delete-D9ZesEdu.js} +1 -1
- package/dist/{workspace-media-preview-B4iB5Tvi.js → workspace-media-preview-kXaEY4AN.js} +1 -1
- package/dist/{workspace-quick-look-8cbGu1Xf.js → workspace-quick-look-BDD-jXn3.js} +2 -2
- package/package.json +2 -2
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { desktopArtwork } from "./utils/desktop-artwork.js";
|
|
2
2
|
import { t as cx } from "./class-names-BiMDVpUo.js";
|
|
3
|
-
import { N as KeyboardIcon,
|
|
3
|
+
import { G as MonitorIcon, N as KeyboardIcon, W as MinusIcon, _t as XIcon, c as BellIcon, g as ChevronRightIcon, gt as WrenchIcon, h as ChevronLeftIcon, ht as WarningIcon, nt as SearchIcon, p as CheckIcon, z as MaximizeIcon } from "./icons-CNwk7DEu.js";
|
|
4
4
|
import { a as formatErrorMessage, n as clamp } from "./format-DL7f2rqp.js";
|
|
5
5
|
import { Button } from "./components/foundations/Button.js";
|
|
6
6
|
import { Tooltip } from "./components/foundations/Tooltip.js";
|
|
@@ -16,7 +16,7 @@ import { n as rootRem } from "./container-width-C43ccJ84.js";
|
|
|
16
16
|
import { a as HandlersContext, c as PortalContext, d as WindowContext, g as usePresentation, h as useComputerSlice, i as ComputerContext, l as PresentationContext, n as AppHostsContext, o as HostContext, p as useComputer, r as AppearanceContext, t as ActionsContext, u as WindowActiveContext } from "./context-BWJpR084.js";
|
|
17
17
|
import { n as useComputerWallpaper } from "./ComputerCustomWallpaper-CnGQYHp0.js";
|
|
18
18
|
import { COMPUTER_APP_IDS } from "./components/agents-sdk/ComputerAppIds.js";
|
|
19
|
-
import {
|
|
19
|
+
import { t as DEFAULT_COMPUTER_PRESENTATION, u as arrangeDock } from "./ComputerPresentation-rzx6n36S.js";
|
|
20
20
|
import { Popover } from "./components/foundations/Popover.js";
|
|
21
21
|
import { Toast } from "./components/foundations/Toast.js";
|
|
22
22
|
import { ThemeContext } from "./components/foundations/ThemeProvider.js";
|
|
@@ -3621,7 +3621,7 @@ function changes(last, next) {
|
|
|
3621
3621
|
/**
|
|
3622
3622
|
* The computer's presentation, owned here and reported whole to the host on
|
|
3623
3623
|
* every change: the controller reports the layout, Settings the wallpaper and
|
|
3624
|
-
* Dock, and Files each folder's view.
|
|
3624
|
+
* Dock, and Files each folder's view and the desktop's icon positions.
|
|
3625
3625
|
*/
|
|
3626
3626
|
var PresentationStore = class {
|
|
3627
3627
|
presentation;
|
|
@@ -3650,6 +3650,7 @@ var PresentationStore = class {
|
|
|
3650
3650
|
this.onChange?.(this.presentation);
|
|
3651
3651
|
}
|
|
3652
3652
|
setLayout = (layout) => this.update({ layout });
|
|
3653
|
+
setDesktopIcons = (desktop) => this.update({ desktop });
|
|
3653
3654
|
/** Records one folder's view, keeping the most recently arranged {@link MAX_FOLDER_VIEWS}. */
|
|
3654
3655
|
setFolderView(path, view) {
|
|
3655
3656
|
const { [path]: _replaced, ...rest } = this.presentation.folders;
|
|
@@ -4387,6 +4388,8 @@ const COMPUTER_SPOTLIGHT_SHORTCUT = {
|
|
|
4387
4388
|
aria: "Meta+K Control+K Alt+Space"
|
|
4388
4389
|
};
|
|
4389
4390
|
const NO_RESULTS = async () => [];
|
|
4391
|
+
/** How long a typed query rests before the workspace is searched. */
|
|
4392
|
+
const SEARCH_DEBOUNCE_MS = 150;
|
|
4390
4393
|
/**
|
|
4391
4394
|
* Spotlight, which `AgentComputer` draws in its menu bar: a trigger, the ⌘K,
|
|
4392
4395
|
* ⌃K and ⌥Space shortcuts within this computer, and `CommandPalette` over the
|
|
@@ -4395,7 +4398,7 @@ const NO_RESULTS = async () => [];
|
|
|
4395
4398
|
* blocks only it.
|
|
4396
4399
|
*/
|
|
4397
4400
|
function ComputerSpotlight(t0) {
|
|
4398
|
-
const $ = c(
|
|
4401
|
+
const $ = c(51);
|
|
4399
4402
|
const { extraResults: t1 } = t0;
|
|
4400
4403
|
const extraResults = t1 === void 0 ? NO_RESULTS : t1;
|
|
4401
4404
|
const { openApp } = useAgentComputerActions();
|
|
@@ -4498,44 +4501,51 @@ function ComputerSpotlight(t0) {
|
|
|
4498
4501
|
} else t5 = $[11];
|
|
4499
4502
|
const run = React.useEffectEvent(t5);
|
|
4500
4503
|
let t6;
|
|
4501
|
-
if ($[12] !== open || $[13] !== run) {
|
|
4504
|
+
if ($[12] !== open || $[13] !== query_0 || $[14] !== run) {
|
|
4502
4505
|
t6 = () => {
|
|
4503
4506
|
if (!open) return;
|
|
4504
4507
|
const signal_0 = { stale: false };
|
|
4505
|
-
run(signal_0);
|
|
4508
|
+
const timer = setTimeout(() => run(signal_0), query_0 === "" ? 0 : SEARCH_DEBOUNCE_MS);
|
|
4506
4509
|
return () => {
|
|
4507
4510
|
signal_0.stale = true;
|
|
4511
|
+
clearTimeout(timer);
|
|
4508
4512
|
};
|
|
4509
4513
|
};
|
|
4510
4514
|
$[12] = open;
|
|
4511
|
-
$[13] =
|
|
4512
|
-
$[14] =
|
|
4513
|
-
|
|
4515
|
+
$[13] = query_0;
|
|
4516
|
+
$[14] = run;
|
|
4517
|
+
$[15] = t6;
|
|
4518
|
+
} else t6 = $[15];
|
|
4514
4519
|
let t7;
|
|
4515
|
-
if ($[
|
|
4516
|
-
t7 = [
|
|
4517
|
-
|
|
4518
|
-
|
|
4519
|
-
|
|
4520
|
-
|
|
4520
|
+
if ($[16] !== open || $[17] !== query_0 || $[18] !== request) {
|
|
4521
|
+
t7 = [
|
|
4522
|
+
open,
|
|
4523
|
+
query_0,
|
|
4524
|
+
request
|
|
4525
|
+
];
|
|
4526
|
+
$[16] = open;
|
|
4527
|
+
$[17] = query_0;
|
|
4528
|
+
$[18] = request;
|
|
4529
|
+
$[19] = t7;
|
|
4530
|
+
} else t7 = $[19];
|
|
4521
4531
|
React.useEffect(t6, t7);
|
|
4522
4532
|
let t8;
|
|
4523
|
-
if ($[
|
|
4533
|
+
if ($[20] !== open) {
|
|
4524
4534
|
t8 = () => open;
|
|
4525
|
-
$[
|
|
4526
|
-
$[
|
|
4527
|
-
} else t8 = $[
|
|
4535
|
+
$[20] = open;
|
|
4536
|
+
$[21] = t8;
|
|
4537
|
+
} else t8 = $[21];
|
|
4528
4538
|
const isOpen = React.useEffectEvent(t8);
|
|
4529
4539
|
let t9;
|
|
4530
|
-
if ($[
|
|
4540
|
+
if ($[22] !== onOpenChange || $[23] !== open) {
|
|
4531
4541
|
t9 = () => onOpenChange(!open);
|
|
4532
|
-
$[
|
|
4533
|
-
$[
|
|
4534
|
-
$[
|
|
4535
|
-
} else t9 = $[
|
|
4542
|
+
$[22] = onOpenChange;
|
|
4543
|
+
$[23] = open;
|
|
4544
|
+
$[24] = t9;
|
|
4545
|
+
} else t9 = $[24];
|
|
4536
4546
|
const toggle = React.useEffectEvent(t9);
|
|
4537
4547
|
let t10;
|
|
4538
|
-
if ($[
|
|
4548
|
+
if ($[25] !== isOpen || $[26] !== toggle) {
|
|
4539
4549
|
t10 = () => {
|
|
4540
4550
|
const computer_0 = trigger.current?.closest("[data-slot=\"agent-computer\"]");
|
|
4541
4551
|
if (!computer_0) return;
|
|
@@ -4555,20 +4565,20 @@ function ComputerSpotlight(t0) {
|
|
|
4555
4565
|
doc.addEventListener("keydown", shortcut);
|
|
4556
4566
|
return () => doc.removeEventListener("keydown", shortcut);
|
|
4557
4567
|
};
|
|
4558
|
-
$[
|
|
4559
|
-
$[
|
|
4560
|
-
$[
|
|
4561
|
-
} else t10 = $[
|
|
4568
|
+
$[25] = isOpen;
|
|
4569
|
+
$[26] = toggle;
|
|
4570
|
+
$[27] = t10;
|
|
4571
|
+
} else t10 = $[27];
|
|
4562
4572
|
let t11;
|
|
4563
|
-
if ($[
|
|
4573
|
+
if ($[28] === Symbol.for("react.memo_cache_sentinel")) {
|
|
4564
4574
|
t11 = [];
|
|
4565
|
-
$[
|
|
4566
|
-
} else t11 = $[
|
|
4575
|
+
$[28] = t11;
|
|
4576
|
+
} else t11 = $[28];
|
|
4567
4577
|
React.useEffect(t10, t11);
|
|
4568
4578
|
let t12;
|
|
4569
|
-
if ($[
|
|
4579
|
+
if ($[29] !== apps || $[30] !== openApp || $[31] !== results.commands) {
|
|
4570
4580
|
let t13;
|
|
4571
|
-
if ($[
|
|
4581
|
+
if ($[33] !== openApp) {
|
|
4572
4582
|
t13 = (app) => ({
|
|
4573
4583
|
id: `app:${app.id}`,
|
|
4574
4584
|
label: app.label,
|
|
@@ -4581,29 +4591,29 @@ function ComputerSpotlight(t0) {
|
|
|
4581
4591
|
onSelect: () => void openApp(app.id),
|
|
4582
4592
|
preload: app.preload
|
|
4583
4593
|
});
|
|
4584
|
-
$[
|
|
4585
|
-
$[
|
|
4586
|
-
} else t13 = $[
|
|
4594
|
+
$[33] = openApp;
|
|
4595
|
+
$[34] = t13;
|
|
4596
|
+
} else t13 = $[34];
|
|
4587
4597
|
t12 = [...apps.map(t13), ...results.commands];
|
|
4588
|
-
$[
|
|
4589
|
-
$[
|
|
4590
|
-
$[
|
|
4591
|
-
$[
|
|
4592
|
-
} else t12 = $[
|
|
4598
|
+
$[29] = apps;
|
|
4599
|
+
$[30] = openApp;
|
|
4600
|
+
$[31] = results.commands;
|
|
4601
|
+
$[32] = t12;
|
|
4602
|
+
} else t12 = $[32];
|
|
4593
4603
|
const commands_0 = t12;
|
|
4594
4604
|
let t13;
|
|
4595
|
-
if ($[
|
|
4605
|
+
if ($[35] !== onOpenChange) {
|
|
4596
4606
|
t13 = () => onOpenChange(true);
|
|
4597
|
-
$[
|
|
4598
|
-
$[
|
|
4599
|
-
} else t13 = $[
|
|
4607
|
+
$[35] = onOpenChange;
|
|
4608
|
+
$[36] = t13;
|
|
4609
|
+
} else t13 = $[36];
|
|
4600
4610
|
let t14;
|
|
4601
|
-
if ($[
|
|
4611
|
+
if ($[37] === Symbol.for("react.memo_cache_sentinel")) {
|
|
4602
4612
|
t14 = /* @__PURE__ */ jsx(SearchIcon, {});
|
|
4603
|
-
$[
|
|
4604
|
-
} else t14 = $[
|
|
4613
|
+
$[37] = t14;
|
|
4614
|
+
} else t14 = $[37];
|
|
4605
4615
|
let t15;
|
|
4606
|
-
if ($[
|
|
4616
|
+
if ($[38] !== t13) {
|
|
4607
4617
|
t15 = /* @__PURE__ */ jsx(IconButton, {
|
|
4608
4618
|
ref: trigger,
|
|
4609
4619
|
label: "Search workspace",
|
|
@@ -4615,11 +4625,11 @@ function ComputerSpotlight(t0) {
|
|
|
4615
4625
|
onClick: t13,
|
|
4616
4626
|
children: t14
|
|
4617
4627
|
});
|
|
4618
|
-
$[
|
|
4619
|
-
$[
|
|
4620
|
-
} else t15 = $[
|
|
4628
|
+
$[38] = t13;
|
|
4629
|
+
$[39] = t15;
|
|
4630
|
+
} else t15 = $[39];
|
|
4621
4631
|
let t16;
|
|
4622
|
-
if ($[
|
|
4632
|
+
if ($[40] !== status) {
|
|
4623
4633
|
t16 = status === "error" ? /* @__PURE__ */ jsxs("p", {
|
|
4624
4634
|
role: "status",
|
|
4625
4635
|
children: [
|
|
@@ -4633,11 +4643,11 @@ function ComputerSpotlight(t0) {
|
|
|
4633
4643
|
})
|
|
4634
4644
|
]
|
|
4635
4645
|
}) : status === "loading" ? /* @__PURE__ */ jsx("p", { children: "Searching the workspace…" }) : null;
|
|
4636
|
-
$[
|
|
4637
|
-
$[
|
|
4638
|
-
} else t16 = $[
|
|
4646
|
+
$[40] = status;
|
|
4647
|
+
$[41] = t16;
|
|
4648
|
+
} else t16 = $[41];
|
|
4639
4649
|
let t17;
|
|
4640
|
-
if ($[
|
|
4650
|
+
if ($[42] !== commands_0 || $[43] !== container || $[44] !== onOpenChange || $[45] !== open || $[46] !== t16) {
|
|
4641
4651
|
t17 = /* @__PURE__ */ jsx(CommandPalette, {
|
|
4642
4652
|
commands: commands_0,
|
|
4643
4653
|
open,
|
|
@@ -4646,20 +4656,20 @@ function ComputerSpotlight(t0) {
|
|
|
4646
4656
|
container,
|
|
4647
4657
|
children: t16
|
|
4648
4658
|
});
|
|
4649
|
-
$[
|
|
4650
|
-
$[
|
|
4651
|
-
$[
|
|
4652
|
-
$[
|
|
4653
|
-
$[
|
|
4654
|
-
$[
|
|
4655
|
-
} else t17 = $[
|
|
4659
|
+
$[42] = commands_0;
|
|
4660
|
+
$[43] = container;
|
|
4661
|
+
$[44] = onOpenChange;
|
|
4662
|
+
$[45] = open;
|
|
4663
|
+
$[46] = t16;
|
|
4664
|
+
$[47] = t17;
|
|
4665
|
+
} else t17 = $[47];
|
|
4656
4666
|
let t18;
|
|
4657
|
-
if ($[
|
|
4667
|
+
if ($[48] !== t15 || $[49] !== t17) {
|
|
4658
4668
|
t18 = /* @__PURE__ */ jsxs(Fragment, { children: [t15, t17] });
|
|
4659
|
-
$[
|
|
4660
|
-
$[
|
|
4661
|
-
$[
|
|
4662
|
-
} else t18 = $[
|
|
4669
|
+
$[48] = t15;
|
|
4670
|
+
$[49] = t17;
|
|
4671
|
+
$[50] = t18;
|
|
4672
|
+
} else t18 = $[50];
|
|
4663
4673
|
return t18;
|
|
4664
4674
|
}
|
|
4665
4675
|
function _temp4$4(count) {
|
|
@@ -9070,7 +9080,7 @@ const NO_APPS = [];
|
|
|
9070
9080
|
* Use a key when changing employee identity to reset their presentation state.
|
|
9071
9081
|
*/
|
|
9072
9082
|
function AgentComputer(t0) {
|
|
9073
|
-
const $ = c(
|
|
9083
|
+
const $ = c(121);
|
|
9074
9084
|
let actionsRef;
|
|
9075
9085
|
let connection;
|
|
9076
9086
|
let extraResults;
|
|
@@ -9138,67 +9148,75 @@ function AgentComputer(t0) {
|
|
|
9138
9148
|
$[19] = t4;
|
|
9139
9149
|
} else t4 = $[19];
|
|
9140
9150
|
let t5;
|
|
9141
|
-
if ($[20] !== hosts.
|
|
9142
|
-
t5 = hosts.
|
|
9143
|
-
$[20] = hosts.
|
|
9151
|
+
if ($[20] !== hosts.channels) {
|
|
9152
|
+
t5 = hosts.channels ?? [];
|
|
9153
|
+
$[20] = hosts.channels;
|
|
9144
9154
|
$[21] = t5;
|
|
9145
9155
|
} else t5 = $[21];
|
|
9146
9156
|
let t6;
|
|
9147
|
-
if ($[22] !==
|
|
9148
|
-
t6 = [
|
|
9157
|
+
if ($[22] !== hosts.settings) {
|
|
9158
|
+
t6 = hosts.settings ? [hosts.settings.app] : [];
|
|
9159
|
+
$[22] = hosts.settings;
|
|
9160
|
+
$[23] = t6;
|
|
9161
|
+
} else t6 = $[23];
|
|
9162
|
+
let t7;
|
|
9163
|
+
if ($[24] !== hostApps || $[25] !== t2 || $[26] !== t3 || $[27] !== t4 || $[28] !== t5 || $[29] !== t6) {
|
|
9164
|
+
t7 = [
|
|
9149
9165
|
...t2,
|
|
9150
9166
|
...t3,
|
|
9151
9167
|
...t4,
|
|
9152
9168
|
...t5,
|
|
9169
|
+
...t6,
|
|
9153
9170
|
...hostApps
|
|
9154
9171
|
];
|
|
9155
|
-
$[
|
|
9156
|
-
$[
|
|
9157
|
-
$[
|
|
9158
|
-
$[
|
|
9159
|
-
$[
|
|
9160
|
-
$[
|
|
9161
|
-
|
|
9162
|
-
|
|
9163
|
-
const
|
|
9164
|
-
|
|
9165
|
-
if ($[28] !== t7) {
|
|
9166
|
-
let t9;
|
|
9167
|
-
if ($[30] === Symbol.for("react.memo_cache_sentinel")) {
|
|
9168
|
-
t9 = /[^a-z0-9]/gi;
|
|
9169
|
-
$[30] = t9;
|
|
9170
|
-
} else t9 = $[30];
|
|
9171
|
-
t8 = t7.replaceAll(t9, "");
|
|
9172
|
-
$[28] = t7;
|
|
9173
|
-
$[29] = t8;
|
|
9174
|
-
} else t8 = $[29];
|
|
9175
|
-
const anchorPrefix = `--computer-miniature-${t8}`;
|
|
9172
|
+
$[24] = hostApps;
|
|
9173
|
+
$[25] = t2;
|
|
9174
|
+
$[26] = t3;
|
|
9175
|
+
$[27] = t4;
|
|
9176
|
+
$[28] = t5;
|
|
9177
|
+
$[29] = t6;
|
|
9178
|
+
$[30] = t7;
|
|
9179
|
+
} else t7 = $[30];
|
|
9180
|
+
const apps = t7;
|
|
9181
|
+
const t8 = React.useId();
|
|
9176
9182
|
let t9;
|
|
9177
|
-
if ($[31] !==
|
|
9178
|
-
|
|
9179
|
-
$[
|
|
9183
|
+
if ($[31] !== t8) {
|
|
9184
|
+
let t10;
|
|
9185
|
+
if ($[33] === Symbol.for("react.memo_cache_sentinel")) {
|
|
9186
|
+
t10 = /[^a-z0-9]/gi;
|
|
9187
|
+
$[33] = t10;
|
|
9188
|
+
} else t10 = $[33];
|
|
9189
|
+
t9 = t8.replaceAll(t10, "");
|
|
9190
|
+
$[31] = t8;
|
|
9180
9191
|
$[32] = t9;
|
|
9181
9192
|
} else t9 = $[32];
|
|
9182
|
-
const
|
|
9193
|
+
const anchorPrefix = `--computer-miniature-${t9}`;
|
|
9183
9194
|
let t10;
|
|
9184
|
-
if ($[
|
|
9185
|
-
t10 = () => new
|
|
9195
|
+
if ($[34] !== savedPresentation) {
|
|
9196
|
+
t10 = () => new PresentationStore(savedPresentation ?? DEFAULT_COMPUTER_PRESENTATION);
|
|
9197
|
+
$[34] = savedPresentation;
|
|
9198
|
+
$[35] = t10;
|
|
9199
|
+
} else t10 = $[35];
|
|
9200
|
+
const [presentation] = React.useState(t10);
|
|
9201
|
+
let t11;
|
|
9202
|
+
if ($[36] !== anchorPrefix || $[37] !== apps || $[38] !== onActiveAppChange || $[39] !== presentation || $[40] !== selected) {
|
|
9203
|
+
t11 = () => new ComputerController({
|
|
9186
9204
|
apps,
|
|
9187
9205
|
selected,
|
|
9188
9206
|
onActiveAppChange,
|
|
9189
9207
|
onLayoutChange: presentation.setLayout
|
|
9190
9208
|
}, presentation.get().layout ?? void 0, anchorPrefix);
|
|
9191
|
-
$[
|
|
9192
|
-
$[
|
|
9193
|
-
$[
|
|
9194
|
-
$[
|
|
9195
|
-
$[
|
|
9196
|
-
$[
|
|
9197
|
-
} else
|
|
9198
|
-
const [computer] = React.useState(
|
|
9199
|
-
let
|
|
9200
|
-
if ($[
|
|
9201
|
-
|
|
9209
|
+
$[36] = anchorPrefix;
|
|
9210
|
+
$[37] = apps;
|
|
9211
|
+
$[38] = onActiveAppChange;
|
|
9212
|
+
$[39] = presentation;
|
|
9213
|
+
$[40] = selected;
|
|
9214
|
+
$[41] = t11;
|
|
9215
|
+
} else t11 = $[41];
|
|
9216
|
+
const [computer] = React.useState(t11);
|
|
9217
|
+
let t12;
|
|
9218
|
+
if ($[42] !== apps || $[43] !== computer || $[44] !== onActiveAppChange || $[45] !== onPresentationChange || $[46] !== presentation || $[47] !== selected) {
|
|
9219
|
+
t12 = () => {
|
|
9202
9220
|
presentation.receive(onPresentationChange);
|
|
9203
9221
|
computer.receive({
|
|
9204
9222
|
apps,
|
|
@@ -9207,288 +9225,288 @@ function AgentComputer(t0) {
|
|
|
9207
9225
|
onLayoutChange: presentation.setLayout
|
|
9208
9226
|
});
|
|
9209
9227
|
};
|
|
9210
|
-
$[
|
|
9211
|
-
$[
|
|
9212
|
-
$[
|
|
9213
|
-
$[
|
|
9214
|
-
$[
|
|
9215
|
-
$[
|
|
9216
|
-
$[
|
|
9217
|
-
} else
|
|
9218
|
-
React.useLayoutEffect(
|
|
9219
|
-
let t12;
|
|
9228
|
+
$[42] = apps;
|
|
9229
|
+
$[43] = computer;
|
|
9230
|
+
$[44] = onActiveAppChange;
|
|
9231
|
+
$[45] = onPresentationChange;
|
|
9232
|
+
$[46] = presentation;
|
|
9233
|
+
$[47] = selected;
|
|
9234
|
+
$[48] = t12;
|
|
9235
|
+
} else t12 = $[48];
|
|
9236
|
+
React.useLayoutEffect(t12);
|
|
9220
9237
|
let t13;
|
|
9221
|
-
if ($[46] !== computer) {
|
|
9222
|
-
t12 = () => () => computer.dispose();
|
|
9223
|
-
t13 = [computer];
|
|
9224
|
-
$[46] = computer;
|
|
9225
|
-
$[47] = t12;
|
|
9226
|
-
$[48] = t13;
|
|
9227
|
-
} else {
|
|
9228
|
-
t12 = $[47];
|
|
9229
|
-
t13 = $[48];
|
|
9230
|
-
}
|
|
9231
|
-
React.useEffect(t12, t13);
|
|
9232
|
-
const mounted = host?.computer;
|
|
9233
9238
|
let t14;
|
|
9234
|
-
|
|
9235
|
-
|
|
9236
|
-
t14 =
|
|
9237
|
-
t15 = [mounted, computer];
|
|
9239
|
+
if ($[49] !== computer) {
|
|
9240
|
+
t13 = () => () => computer.dispose();
|
|
9241
|
+
t14 = [computer];
|
|
9238
9242
|
$[49] = computer;
|
|
9239
|
-
$[50] =
|
|
9243
|
+
$[50] = t13;
|
|
9240
9244
|
$[51] = t14;
|
|
9241
|
-
$[52] = t15;
|
|
9242
9245
|
} else {
|
|
9246
|
+
t13 = $[50];
|
|
9243
9247
|
t14 = $[51];
|
|
9244
|
-
t15 = $[52];
|
|
9245
9248
|
}
|
|
9246
|
-
React.
|
|
9249
|
+
React.useEffect(t13, t14);
|
|
9250
|
+
const mounted = host?.computer;
|
|
9251
|
+
let t15;
|
|
9247
9252
|
let t16;
|
|
9248
|
-
if ($[53] !==
|
|
9249
|
-
|
|
9250
|
-
|
|
9251
|
-
$[
|
|
9252
|
-
|
|
9253
|
+
if ($[52] !== computer || $[53] !== mounted) {
|
|
9254
|
+
t15 = () => mounted?.attach(computer);
|
|
9255
|
+
t16 = [mounted, computer];
|
|
9256
|
+
$[52] = computer;
|
|
9257
|
+
$[53] = mounted;
|
|
9258
|
+
$[54] = t15;
|
|
9259
|
+
$[55] = t16;
|
|
9260
|
+
} else {
|
|
9261
|
+
t15 = $[54];
|
|
9262
|
+
t16 = $[55];
|
|
9263
|
+
}
|
|
9264
|
+
React.useLayoutEffect(t15, t16);
|
|
9253
9265
|
let t17;
|
|
9254
|
-
if ($[
|
|
9255
|
-
t17 =
|
|
9256
|
-
$[
|
|
9257
|
-
$[
|
|
9258
|
-
} else t17 = $[
|
|
9259
|
-
React.useImperativeHandle(actionsRef, t16, t17);
|
|
9260
|
-
const [portal, setPortal] = React.useState(null);
|
|
9266
|
+
if ($[56] !== computer.actions) {
|
|
9267
|
+
t17 = () => computer.actions;
|
|
9268
|
+
$[56] = computer.actions;
|
|
9269
|
+
$[57] = t17;
|
|
9270
|
+
} else t17 = $[57];
|
|
9261
9271
|
let t18;
|
|
9262
|
-
if ($[
|
|
9263
|
-
t18 =
|
|
9264
|
-
$[
|
|
9265
|
-
$[
|
|
9266
|
-
} else t18 = $[
|
|
9267
|
-
|
|
9272
|
+
if ($[58] !== computer) {
|
|
9273
|
+
t18 = [computer];
|
|
9274
|
+
$[58] = computer;
|
|
9275
|
+
$[59] = t18;
|
|
9276
|
+
} else t18 = $[59];
|
|
9277
|
+
React.useImperativeHandle(actionsRef, t17, t18);
|
|
9278
|
+
const [portal, setPortal] = React.useState(null);
|
|
9268
9279
|
let t19;
|
|
9269
|
-
if ($[
|
|
9270
|
-
t19 = (
|
|
9271
|
-
$[
|
|
9272
|
-
$[
|
|
9273
|
-
} else t19 = $[
|
|
9274
|
-
const
|
|
9280
|
+
if ($[60] !== presentation) {
|
|
9281
|
+
t19 = () => presentation.get().wallpaper;
|
|
9282
|
+
$[60] = presentation;
|
|
9283
|
+
$[61] = t19;
|
|
9284
|
+
} else t19 = $[61];
|
|
9285
|
+
const savedWallpaper = React.useSyncExternalStore(presentation.subscribe, t19);
|
|
9286
|
+
let t20;
|
|
9287
|
+
if ($[62] !== presentation) {
|
|
9288
|
+
t20 = (wallpaper) => presentation.update({ wallpaper });
|
|
9289
|
+
$[62] = presentation;
|
|
9290
|
+
$[63] = t20;
|
|
9291
|
+
} else t20 = $[63];
|
|
9292
|
+
const appearance = useComputerWallpaper(savedWallpaper, t20);
|
|
9275
9293
|
const wallpaper_0 = appearance.selected;
|
|
9276
9294
|
const desktop = hosts.files?.desktop;
|
|
9277
|
-
const
|
|
9278
|
-
const
|
|
9279
|
-
const
|
|
9280
|
-
let t23;
|
|
9281
|
-
if ($[61] !== wallpaper_0.darkBackground) {
|
|
9282
|
-
t23 = wallpaper_0.darkBackground && { "--sigvelo-recipe-computer-wallpaper-dark": `${VEIL}, ${wallpaper_0.darkBackground}` };
|
|
9283
|
-
$[61] = wallpaper_0.darkBackground;
|
|
9284
|
-
$[62] = t23;
|
|
9285
|
-
} else t23 = $[62];
|
|
9295
|
+
const t21 = computer.actions;
|
|
9296
|
+
const t22 = computer.handlers;
|
|
9297
|
+
const t23 = `${VEIL}, ${wallpaper_0.background}`;
|
|
9286
9298
|
let t24;
|
|
9287
|
-
if ($[
|
|
9288
|
-
t24 = {
|
|
9289
|
-
|
|
9290
|
-
|
|
9299
|
+
if ($[64] !== wallpaper_0.darkBackground) {
|
|
9300
|
+
t24 = wallpaper_0.darkBackground && { "--sigvelo-recipe-computer-wallpaper-dark": `${VEIL}, ${wallpaper_0.darkBackground}` };
|
|
9301
|
+
$[64] = wallpaper_0.darkBackground;
|
|
9302
|
+
$[65] = t24;
|
|
9303
|
+
} else t24 = $[65];
|
|
9304
|
+
let t25;
|
|
9305
|
+
if ($[66] !== style || $[67] !== t23 || $[68] !== t24) {
|
|
9306
|
+
t25 = {
|
|
9307
|
+
"--sigvelo-recipe-computer-wallpaper": t23,
|
|
9308
|
+
...t24,
|
|
9291
9309
|
...style
|
|
9292
9310
|
};
|
|
9293
|
-
$[
|
|
9294
|
-
$[
|
|
9295
|
-
$[
|
|
9296
|
-
$[
|
|
9297
|
-
} else
|
|
9298
|
-
const
|
|
9299
|
-
const
|
|
9300
|
-
const
|
|
9301
|
-
const
|
|
9302
|
-
let
|
|
9303
|
-
if ($[
|
|
9304
|
-
|
|
9311
|
+
$[66] = style;
|
|
9312
|
+
$[67] = t23;
|
|
9313
|
+
$[68] = t24;
|
|
9314
|
+
$[69] = t25;
|
|
9315
|
+
} else t25 = $[69];
|
|
9316
|
+
const t26 = t25;
|
|
9317
|
+
const t27 = Boolean(homeWidget);
|
|
9318
|
+
const t28 = desktop !== void 0;
|
|
9319
|
+
const t29 = host?.employee.name ?? "";
|
|
9320
|
+
let t30;
|
|
9321
|
+
if ($[70] !== connection || $[71] !== extraResults || $[72] !== extras || $[73] !== notifications) {
|
|
9322
|
+
t30 = /* @__PURE__ */ jsx(ComputerMenuExtras, {
|
|
9305
9323
|
notifications,
|
|
9306
9324
|
connection,
|
|
9307
9325
|
extraResults,
|
|
9308
9326
|
extras
|
|
9309
9327
|
});
|
|
9310
|
-
$[
|
|
9311
|
-
$[
|
|
9312
|
-
$[
|
|
9313
|
-
$[
|
|
9314
|
-
$[
|
|
9315
|
-
} else
|
|
9316
|
-
let
|
|
9317
|
-
if ($[
|
|
9318
|
-
|
|
9319
|
-
name:
|
|
9328
|
+
$[70] = connection;
|
|
9329
|
+
$[71] = extraResults;
|
|
9330
|
+
$[72] = extras;
|
|
9331
|
+
$[73] = notifications;
|
|
9332
|
+
$[74] = t30;
|
|
9333
|
+
} else t30 = $[74];
|
|
9334
|
+
let t31;
|
|
9335
|
+
if ($[75] !== homeWidget || $[76] !== t29 || $[77] !== t30) {
|
|
9336
|
+
t31 = /* @__PURE__ */ jsx(ShellBar, {
|
|
9337
|
+
name: t29,
|
|
9320
9338
|
homeWidget,
|
|
9321
|
-
status:
|
|
9339
|
+
status: t30
|
|
9322
9340
|
});
|
|
9323
|
-
$[
|
|
9324
|
-
$[
|
|
9325
|
-
$[
|
|
9326
|
-
$[
|
|
9327
|
-
} else
|
|
9328
|
-
let t31;
|
|
9329
|
-
if ($[76] === Symbol.for("react.memo_cache_sentinel")) {
|
|
9330
|
-
t31 = /* @__PURE__ */ jsx(ComputerHome, {});
|
|
9331
|
-
$[76] = t31;
|
|
9332
|
-
} else t31 = $[76];
|
|
9341
|
+
$[75] = homeWidget;
|
|
9342
|
+
$[76] = t29;
|
|
9343
|
+
$[77] = t30;
|
|
9344
|
+
$[78] = t31;
|
|
9345
|
+
} else t31 = $[78];
|
|
9333
9346
|
let t32;
|
|
9334
|
-
if ($[
|
|
9335
|
-
t32 = /* @__PURE__ */ jsx(
|
|
9336
|
-
home: t31,
|
|
9337
|
-
desktop,
|
|
9338
|
-
apps
|
|
9339
|
-
});
|
|
9340
|
-
$[77] = apps;
|
|
9341
|
-
$[78] = desktop;
|
|
9347
|
+
if ($[79] === Symbol.for("react.memo_cache_sentinel")) {
|
|
9348
|
+
t32 = /* @__PURE__ */ jsx(ComputerHome, {});
|
|
9342
9349
|
$[79] = t32;
|
|
9343
9350
|
} else t32 = $[79];
|
|
9344
9351
|
let t33;
|
|
9345
|
-
if ($[80]
|
|
9346
|
-
t33 = /* @__PURE__ */ jsx(
|
|
9347
|
-
|
|
9348
|
-
|
|
9349
|
-
|
|
9350
|
-
|
|
9351
|
-
|
|
9352
|
-
|
|
9353
|
-
|
|
9354
|
-
|
|
9355
|
-
|
|
9356
|
-
|
|
9357
|
-
|
|
9358
|
-
$[
|
|
9359
|
-
|
|
9360
|
-
|
|
9352
|
+
if ($[80] !== apps || $[81] !== desktop) {
|
|
9353
|
+
t33 = /* @__PURE__ */ jsx(ShellStage, {
|
|
9354
|
+
home: t32,
|
|
9355
|
+
desktop,
|
|
9356
|
+
apps
|
|
9357
|
+
});
|
|
9358
|
+
$[80] = apps;
|
|
9359
|
+
$[81] = desktop;
|
|
9360
|
+
$[82] = t33;
|
|
9361
|
+
} else t33 = $[82];
|
|
9362
|
+
let t34;
|
|
9363
|
+
if ($[83] === Symbol.for("react.memo_cache_sentinel")) {
|
|
9364
|
+
t34 = /* @__PURE__ */ jsx(ShellExpose, {});
|
|
9365
|
+
$[83] = t34;
|
|
9366
|
+
} else t34 = $[83];
|
|
9367
|
+
const t35 = hosts.files?.trash;
|
|
9368
|
+
const t36 = host?.employee.name ?? "";
|
|
9361
9369
|
let t37;
|
|
9362
|
-
if ($[84]
|
|
9363
|
-
t37 = /* @__PURE__ */ jsx(
|
|
9364
|
-
|
|
9365
|
-
|
|
9370
|
+
if ($[84] !== t35 || $[85] !== t36) {
|
|
9371
|
+
t37 = /* @__PURE__ */ jsx(ComputerDock, {
|
|
9372
|
+
trash: t35,
|
|
9373
|
+
name: t36
|
|
9374
|
+
});
|
|
9375
|
+
$[84] = t35;
|
|
9376
|
+
$[85] = t36;
|
|
9377
|
+
$[86] = t37;
|
|
9378
|
+
} else t37 = $[86];
|
|
9366
9379
|
let t38;
|
|
9367
|
-
if ($[
|
|
9368
|
-
t38 = /* @__PURE__ */
|
|
9380
|
+
if ($[87] === Symbol.for("react.memo_cache_sentinel")) {
|
|
9381
|
+
t38 = /* @__PURE__ */ jsx(ShellAnnouncer, {});
|
|
9382
|
+
$[87] = t38;
|
|
9383
|
+
} else t38 = $[87];
|
|
9384
|
+
let t39;
|
|
9385
|
+
if ($[88] !== t33 || $[89] !== t37) {
|
|
9386
|
+
t39 = /* @__PURE__ */ jsxs(AppFrame.Body, {
|
|
9369
9387
|
className: "agent-computer__body",
|
|
9370
9388
|
children: [
|
|
9371
|
-
t32,
|
|
9372
9389
|
t33,
|
|
9373
|
-
|
|
9374
|
-
t37
|
|
9390
|
+
t34,
|
|
9391
|
+
t37,
|
|
9392
|
+
t38
|
|
9375
9393
|
]
|
|
9376
9394
|
});
|
|
9377
|
-
$[
|
|
9378
|
-
$[
|
|
9379
|
-
$[
|
|
9380
|
-
} else
|
|
9381
|
-
let t39;
|
|
9395
|
+
$[88] = t33;
|
|
9396
|
+
$[89] = t37;
|
|
9397
|
+
$[90] = t39;
|
|
9398
|
+
} else t39 = $[90];
|
|
9382
9399
|
let t40;
|
|
9383
9400
|
let t41;
|
|
9384
|
-
|
|
9385
|
-
|
|
9386
|
-
t40 = /* @__PURE__ */ jsx(
|
|
9387
|
-
t41 = /* @__PURE__ */ jsx(
|
|
9401
|
+
let t42;
|
|
9402
|
+
if ($[91] === Symbol.for("react.memo_cache_sentinel")) {
|
|
9403
|
+
t40 = /* @__PURE__ */ jsx(ShellRevealEdges, {});
|
|
9404
|
+
t41 = /* @__PURE__ */ jsx(ShellAppSwitch, {});
|
|
9405
|
+
t42 = /* @__PURE__ */ jsx("div", {
|
|
9388
9406
|
ref: setPortal,
|
|
9389
9407
|
className: "agent-computer__portal"
|
|
9390
9408
|
});
|
|
9391
|
-
$[
|
|
9392
|
-
$[
|
|
9393
|
-
$[
|
|
9409
|
+
$[91] = t40;
|
|
9410
|
+
$[92] = t41;
|
|
9411
|
+
$[93] = t42;
|
|
9394
9412
|
} else {
|
|
9395
|
-
|
|
9396
|
-
|
|
9397
|
-
|
|
9413
|
+
t40 = $[91];
|
|
9414
|
+
t41 = $[92];
|
|
9415
|
+
t42 = $[93];
|
|
9398
9416
|
}
|
|
9399
|
-
const
|
|
9400
|
-
let t43;
|
|
9401
|
-
if ($[91] === Symbol.for("react.memo_cache_sentinel")) {
|
|
9402
|
-
t43 = /* @__PURE__ */ jsx(ShellEffects, {});
|
|
9403
|
-
$[91] = t43;
|
|
9404
|
-
} else t43 = $[91];
|
|
9417
|
+
const t43 = hosts.files?.dialogs;
|
|
9405
9418
|
let t44;
|
|
9406
|
-
if ($[
|
|
9407
|
-
t44 = /* @__PURE__ */
|
|
9419
|
+
if ($[94] === Symbol.for("react.memo_cache_sentinel")) {
|
|
9420
|
+
t44 = /* @__PURE__ */ jsx(ShellEffects, {});
|
|
9421
|
+
$[94] = t44;
|
|
9422
|
+
} else t44 = $[94];
|
|
9423
|
+
let t45;
|
|
9424
|
+
if ($[95] !== props || $[96] !== t26 || $[97] !== t27 || $[98] !== t28 || $[99] !== t31 || $[100] !== t39 || $[101] !== t43) {
|
|
9425
|
+
t45 = /* @__PURE__ */ jsxs(ShellRoot, {
|
|
9408
9426
|
...props,
|
|
9409
|
-
style:
|
|
9410
|
-
homeWidget:
|
|
9411
|
-
desktop:
|
|
9427
|
+
style: t26,
|
|
9428
|
+
homeWidget: t27,
|
|
9429
|
+
desktop: t28,
|
|
9412
9430
|
children: [
|
|
9413
|
-
|
|
9414
|
-
t38,
|
|
9431
|
+
t31,
|
|
9415
9432
|
t39,
|
|
9416
9433
|
t40,
|
|
9417
9434
|
t41,
|
|
9418
9435
|
t42,
|
|
9419
|
-
t43
|
|
9436
|
+
t43,
|
|
9437
|
+
t44
|
|
9420
9438
|
]
|
|
9421
9439
|
});
|
|
9422
|
-
$[
|
|
9423
|
-
$[
|
|
9424
|
-
$[
|
|
9425
|
-
$[
|
|
9426
|
-
$[
|
|
9427
|
-
$[
|
|
9428
|
-
$[
|
|
9429
|
-
$[99] = t44;
|
|
9430
|
-
} else t44 = $[99];
|
|
9431
|
-
let t45;
|
|
9432
|
-
if ($[100] !== appearance || $[101] !== t44) {
|
|
9433
|
-
t45 = /* @__PURE__ */ jsx(AppearanceContext, {
|
|
9434
|
-
value: appearance,
|
|
9435
|
-
children: t44
|
|
9436
|
-
});
|
|
9437
|
-
$[100] = appearance;
|
|
9438
|
-
$[101] = t44;
|
|
9440
|
+
$[95] = props;
|
|
9441
|
+
$[96] = t26;
|
|
9442
|
+
$[97] = t27;
|
|
9443
|
+
$[98] = t28;
|
|
9444
|
+
$[99] = t31;
|
|
9445
|
+
$[100] = t39;
|
|
9446
|
+
$[101] = t43;
|
|
9439
9447
|
$[102] = t45;
|
|
9440
9448
|
} else t45 = $[102];
|
|
9441
9449
|
let t46;
|
|
9442
|
-
if ($[103] !==
|
|
9443
|
-
t46 = /* @__PURE__ */ jsx(
|
|
9444
|
-
value:
|
|
9450
|
+
if ($[103] !== appearance || $[104] !== t45) {
|
|
9451
|
+
t46 = /* @__PURE__ */ jsx(AppearanceContext, {
|
|
9452
|
+
value: appearance,
|
|
9445
9453
|
children: t45
|
|
9446
9454
|
});
|
|
9447
|
-
$[103] =
|
|
9455
|
+
$[103] = appearance;
|
|
9448
9456
|
$[104] = t45;
|
|
9449
9457
|
$[105] = t46;
|
|
9450
9458
|
} else t46 = $[105];
|
|
9451
9459
|
let t47;
|
|
9452
|
-
if ($[106] !==
|
|
9453
|
-
t47 = /* @__PURE__ */ jsx(
|
|
9454
|
-
value:
|
|
9460
|
+
if ($[106] !== presentation || $[107] !== t46) {
|
|
9461
|
+
t47 = /* @__PURE__ */ jsx(PresentationContext, {
|
|
9462
|
+
value: presentation,
|
|
9455
9463
|
children: t46
|
|
9456
9464
|
});
|
|
9457
|
-
$[106] =
|
|
9465
|
+
$[106] = presentation;
|
|
9458
9466
|
$[107] = t46;
|
|
9459
9467
|
$[108] = t47;
|
|
9460
9468
|
} else t47 = $[108];
|
|
9461
9469
|
let t48;
|
|
9462
|
-
if ($[109] !==
|
|
9463
|
-
t48 = /* @__PURE__ */ jsx(
|
|
9464
|
-
value:
|
|
9470
|
+
if ($[109] !== portal || $[110] !== t47) {
|
|
9471
|
+
t48 = /* @__PURE__ */ jsx(PortalContext, {
|
|
9472
|
+
value: portal,
|
|
9465
9473
|
children: t47
|
|
9466
9474
|
});
|
|
9467
|
-
$[109] =
|
|
9475
|
+
$[109] = portal;
|
|
9468
9476
|
$[110] = t47;
|
|
9469
9477
|
$[111] = t48;
|
|
9470
9478
|
} else t48 = $[111];
|
|
9471
9479
|
let t49;
|
|
9472
|
-
if ($[112] !== computer.
|
|
9473
|
-
t49 = /* @__PURE__ */ jsx(
|
|
9474
|
-
value:
|
|
9480
|
+
if ($[112] !== computer.handlers || $[113] !== t48) {
|
|
9481
|
+
t49 = /* @__PURE__ */ jsx(HandlersContext, {
|
|
9482
|
+
value: t22,
|
|
9475
9483
|
children: t48
|
|
9476
9484
|
});
|
|
9477
|
-
$[112] = computer.
|
|
9485
|
+
$[112] = computer.handlers;
|
|
9478
9486
|
$[113] = t48;
|
|
9479
9487
|
$[114] = t49;
|
|
9480
9488
|
} else t49 = $[114];
|
|
9481
9489
|
let t50;
|
|
9482
|
-
if ($[115] !== computer || $[116] !== t49) {
|
|
9483
|
-
t50 = /* @__PURE__ */ jsx(
|
|
9484
|
-
value:
|
|
9490
|
+
if ($[115] !== computer.actions || $[116] !== t49) {
|
|
9491
|
+
t50 = /* @__PURE__ */ jsx(ActionsContext, {
|
|
9492
|
+
value: t21,
|
|
9485
9493
|
children: t49
|
|
9486
9494
|
});
|
|
9487
|
-
$[115] = computer;
|
|
9495
|
+
$[115] = computer.actions;
|
|
9488
9496
|
$[116] = t49;
|
|
9489
9497
|
$[117] = t50;
|
|
9490
9498
|
} else t50 = $[117];
|
|
9491
|
-
|
|
9499
|
+
let t51;
|
|
9500
|
+
if ($[118] !== computer || $[119] !== t50) {
|
|
9501
|
+
t51 = /* @__PURE__ */ jsx(ComputerContext, {
|
|
9502
|
+
value: computer,
|
|
9503
|
+
children: t50
|
|
9504
|
+
});
|
|
9505
|
+
$[118] = computer;
|
|
9506
|
+
$[119] = t50;
|
|
9507
|
+
$[120] = t51;
|
|
9508
|
+
} else t51 = $[120];
|
|
9509
|
+
return t51;
|
|
9492
9510
|
}
|
|
9493
9511
|
//#endregion
|
|
9494
9512
|
export { useAgentComputerWindow as a, COMPUTER_SPOTLIGHT_SHORTCUT as c, ComputerClock as d, ComputerNotifications as f, useAgentComputerPortalContainer as i, ComputerSpotlight as l, chordLabel as m, useAgentComputerActions as n, useAgentComputerWindowActive as o, useMinuteClock as p, useAgentComputerAppHandlers as r, ComputerHome as s, AgentComputer as t, ComputerAppearanceMenu as u };
|