import { defineComponent as p, computed as a, createElementBlock as g, openBlock as t, Fragment as k, createVNode as u, createElementVNode as C, unref as o, renderSlot as r, createBlock as f, createCommentVNode as O } from "vue";
import { useConfig as $ } from "../../hooks/useConfig.js";
import { generateClientOptions as h } from "../../v2/blocks/scalar-request-example-block/helpers/generate-client-options.js";
import v from "../SectionFlare/SectionFlare.vue.js";
import y from "./Introduction/Introduction.vue.js";
import _ from "./Operations/TraversedEntryContainer.vue.js";
import B from "./Models/Models.vue.js";
const N = { class: "narrow-references-container" }, q = /* @__PURE__ */ p({
  __name: "Content",
  props: {
    document: {},
    config: {},
    store: {}
  },
  setup(V) {
    const n = $(), i = a(
      () => h(n.value.hiddenClients)
    );
    return (e, E) => {
      var c, s, m, l, d;
      return t(), g(k, null, [
        u(o(v)),
        C("div", N, [
          r(e.$slots, "start"),
          (s = (c = e.document) == null ? void 0 : c.info) != null && s.title || (l = (m = e.document) == null ? void 0 : m.info) != null && l.description ? (t(), f(o(y), {
            key: 0,
            document: e.document,
            store: e.store,
            clientOptions: i.value,
            config: o(n)
          }, null, 8, ["document", "store", "clientOptions", "config"])) : r(e.$slots, "empty-state", { key: 1 }),
          u(o(_), {
            document: e.document,
            config: o(n),
            clientOptions: i.value,
            store: e.store
          }, null, 8, ["document", "config", "clientOptions", "store"]),
          (d = o(n)) != null && d.hideModels ? O("", !0) : (t(), f(o(B), {
            key: 2,
            document: e.document,
            config: o(n)
          }, null, 8, ["document", "config"])),
          r(e.$slots, "end")
        ])
      ], 64);
    };
  }
});
export {
  q as default
};
