import { getCurrentInstance as a, provide as s, defineComponent as l, openBlock as p, createBlock as i, unref as u } from "vue";
import { RouterView as d } from "vue-router";
const n = /* @__PURE__ */ new WeakMap(), m = (e, r) => {
  var t;
  const o = (t = a()) == null ? void 0 : t.proxy;
  if (o == null)
    throw new Error("provideLocal must be called in setup");
  n.has(o) || n.set(o, /* @__PURE__ */ Object.create(null));
  const c = n.get(o);
  c[e] = r, s(e, r);
};
typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
const f = Symbol("RESOURCE_CONTEXT"), _ = (e) => m(f, e), E = /* @__PURE__ */ l({
  name: "FsResource",
  __name: "Resource",
  props: {
    name: {}
  },
  setup(e) {
    return _({ name: e.name }), (t, o) => (p(), i(u(d)));
  }
});
export {
  E as default
};
//# sourceMappingURL=Resource.mjs.map
