import { _ as _export_sfc, B as BannerPage, a as authoredContent, r as resolveComponent, o as openBlock, c as createBlock, w as withCtx, b as createBaseVNode, d as createElementBlock, e as renderList, F as Fragment, p as pushScopeId, f as popScopeId } from "./index.a738533d.js";
import { F as FilmCard } from "./FilmCard.a63ed926.js";
const FilmsView_vue_vue_type_style_index_0_scoped_21c8f56e_lang = "";
const _sfc_main = {
  components: { FilmCard, BannerPage },
  data() {
    return {
      bannerFrames: authoredContent.allFilms.banner,
      released: authoredContent.allFilms.released,
      production: authoredContent.allFilms.production
    };
  }
};
const _withScopeId = (n) => (pushScopeId("data-v-21c8f56e"), n = n(), popScopeId(), n);
const _hoisted_1 = { class: "films-container" };
const _hoisted_2 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createBaseVNode("h3", null, "Released", -1));
const _hoisted_3 = { class: "poster-set" };
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
  const _component_FilmCard = resolveComponent("FilmCard");
  const _component_BannerPage = resolveComponent("BannerPage");
  return openBlock(), createBlock(_component_BannerPage, { bannerFrames: $data.bannerFrames }, {
    default: withCtx(() => [
      createBaseVNode("div", _hoisted_1, [
        _hoisted_2,
        createBaseVNode("div", _hoisted_3, [
          (openBlock(true), createElementBlock(Fragment, null, renderList($data.released, (filmKey) => {
            return openBlock(), createBlock(_component_FilmCard, { filmKey }, null, 8, ["filmKey"]);
          }), 256))
        ])
      ])
    ]),
    _: 1
  }, 8, ["bannerFrames"]);
}
const FilmsView = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-21c8f56e"]]);
export {
  FilmsView as default
};