import { r as d, a as r, j as e } from "./chunks/chunk-BKyTJ1V5.js";
import { g as s } from "./chunks/chunk-CGD3Ka0J.js";
var t = {}, i;
function c() {
  if (i) return t;
  i = 1;
  var o = d();
  return t.createRoot = o.createRoot, t.hydrateRoot = o.hydrateRoot, t;
}
var w = c();
const l = /* @__PURE__ */ s(w), u = (o) => new Promise((n) => setTimeout(n, o)), m = r.lazy(
  () => Promise.all([
    import("./chunks/chunk-C5yjo889.js"),
    u(100)
  ]).then(([o]) => o)
), a = {
  _root: null,
  async init() {
    const o = document.getElementById("ninjadraw-app");
    o && (this._root = l.createRoot(o), this._root.render(
      /* @__PURE__ */ e.jsx(r.Suspense, { children: /* @__PURE__ */ e.jsx(m, {}) })
    ));
  }
};
typeof window < "u" && (window.Yalogica = window.Yalogica || {}, window.Yalogica.NinjaDraw = window.Yalogica.NinjaDraw || {}, window.Yalogica.NinjaDraw.Editor = a);
typeof window < "u" && window.addEventListener("load", () => {
  a.init();
});
