import {
  JsonView,
  PanelContainer,
  VaultSelector
} from "./chunk-VBEJ3GU4.mjs";

// src/panels/halo/IdentityPanel/IdentityPanel.tsx
import React from "react";
import { useDevices, useIdentity } from "@dxos/react-client/halo";
import { Toolbar } from "@dxos/react-ui";
var IdentityPanel = () => {
  const identity = useIdentity();
  const devices = useDevices();
  return /* @__PURE__ */ React.createElement(PanelContainer, {
    toolbar: /* @__PURE__ */ React.createElement(Toolbar.Root, null, /* @__PURE__ */ React.createElement(VaultSelector, null))
  }, /* @__PURE__ */ React.createElement(JsonView, {
    data: {
      ...identity,
      devices
    }
  }));
};

// src/panels/halo/IdentityPanel/index.ts
var IdentityPanel_default = IdentityPanel;
export {
  IdentityPanel_default as default
};
//# sourceMappingURL=IdentityPanel-5IT7UAYH.mjs.map
