import { getCurrentInstance as s, inject as l, defineComponent as c, openBlock as i, createBlock as d, unref as a, normalizeStyle as u, withCtx as _, renderSlot as T, createElementVNode as p, toDisplayString as f } from "vue";
import { ElHeader as S } from "element-plus";
const h = 60, r = /* @__PURE__ */ new WeakMap(), m = (...n) => {
  var e;
  const o = n[0], t = (e = s()) == null ? void 0 : e.proxy;
  if (t == null)
    throw new Error("injectLocal must be called in setup");
  return r.has(t) && o in r.get(t) ? r.get(t)[o] : l(...n);
};
typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
const y = {
  rowKey: "id",
  title: "Fast Start",
  routerMode: "hash",
  basename: "/"
}, E = Symbol("FAST_START_CONTEXT"), A = () => m(E, y), C = { class: "fast-start-layout-header-title" }, F = /* @__PURE__ */ c({
  __name: "Header",
  setup(n) {
    const { title: e } = A();
    return (o, t) => (i(), d(a(S), {
      class: "fast-start-layout-header",
      style: u({ height: a(h) })
    }, {
      default: _(() => [
        T(o.$slots, "default", {}, () => [
          p("div", C, f(a(e)), 1)
        ])
      ]),
      _: 3
    }, 8, ["style"]));
  }
});
export {
  F as default
};
//# sourceMappingURL=Header.mjs.map
