import { j as o } from "../../../../../_virtual/jsx-runtime.js";
import { a as i } from "../../../../sdk/dist/shared/chunk-3P36LG6T.js";
import "../../../../sdk/dist/shared/chunk-6PGAWO4H.js";
import "../../../../sdk/dist/shared/chunk-F4JNKU7J.js";
import "@sinclair/typebox";
import "../../../../sdk/dist/shared/chunk-7UBMXMNJ.js";
import "../../../../sdk/dist/shared/chunk-JRCVYDCD.js";
import { tx as e } from "../../../../style-system/dist/twind.js";
import p from "../../../../../_virtual/index20.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
