import { j as o } from "../../../../../_virtual/jsx-runtime.js";
import { a as i } from "../../../../sdk/dist/shared/chunk-PSTFJ5IJ.js";
import "../../../../sdk/dist/shared/chunk-3YVJ2ELD.js";
import "../../../../sdk/dist/shared/chunk-AFVJZPLS.js";
import "@sinclair/typebox";
import "../../../../sdk/dist/shared/chunk-A3GF4PYW.js";
import "../../../../sdk/dist/shared/chunk-W33JMRRN.js";
import { tx as e } from "../../../../style-system/dist/twind.js";
import p from "../../../../../_virtual/index21.js";
import { useBrickStyle as a } from "../hooks/use-brick-style.js";
import l from "../components/BrickRoot.js";
function w({ brick: t, editable: r }) {
  const s = a(t), m = t.props;
  return /* @__PURE__ */ o.jsxs(
    l,
    {
      brick: t,
      editable: r,
      manifest: i,
      className: e("relative", Object.values(s)),
      children: [
        r && /* @__PURE__ */ o.jsx("div", { className: "absolute inset-0" }),
        /* @__PURE__ */ o.jsx(p, { url: m.url, width: "100%", height: "100%" })
      ]
    }
  );
}
export {
  w as default
};
//# sourceMappingURL=video.js.map
