import { defineComponent as s, createElementBlock as t, openBlock as i, createVNode as o, withCtx as l, createElementVNode as c } from "vue";
import { U as d, _ as n } from "./index-D1PfnS4S.js";
const m = { class: "saved-image-document-modal" }, r = { class: "saved-image-document-modal__container" }, _ = ["src"], g = ["src"], h = /* @__PURE__ */ s({
  __name: "UIBlockViewDetailImageListModalType1",
  props: {
    imgs: {},
    initialSlide: {}
  },
  setup(a) {
    return (p, u) => (i(), t("div", m, [
      o(d, {
        list: a.imgs,
        "space-between": 6,
        "initial-slide": a.initialSlide
      }, {
        default: l(({ item: e }) => [
          c("div", r, [
            e.id ? (i(), t("img", {
              key: 1,
              width: "320",
              height: "400",
              src: e.url,
              alt: "document"
            }, null, 8, g)) : (i(), t("img", {
              key: 0,
              width: "320",
              height: "400",
              src: `data:image/${e.base64.format};base64, ${e.base64.base64String}`,
              alt: "document"
            }, null, 8, _))
          ])
        ]),
        _: 1
      }, 8, ["list", "initial-slide"])
    ]));
  }
}), k = /* @__PURE__ */ n(h, [["__scopeId", "data-v-19fe0377"]]);
export {
  k as default
};
