import { defineComponent as l, createElementBlock as i, createCommentVNode as s, openBlock as r, Fragment as u, createVNode as n, createElementVNode as m, unref as d } from "vue";
import { I as p, P as c, g as b, a as f, _ as V } from "./index-CVEvAPNs.js";
import { u as g } from "./index-BFe8XjpO.js";
import { _ as k } from "./_image-formatter.vue_vue_type_script_setup_true_lang-C4aTg0C6.js";
import { _ as I } from "./_description.vue_vue_type_script_setup_true_lang-COx4EYgl.js";
const B = { class: "image" }, N = /* @__PURE__ */ l({
  __name: "audio",
  props: {
    content: {},
    disabled: { type: Boolean }
  },
  setup(t) {
    return g(t.content, "audio", { background: new f(), src: "" }), (e, o) => e.content.audio ? (r(), i(u, { key: 0 }, [
      n(d(p), {
        icon: d(c),
        modelValue: e.content.audio.src,
        "onUpdate:modelValue": o[0] || (o[0] = (a) => e.content.audio.src = a),
        placeholder: "Link zur Audio-Datei",
        disabled: e.disabled
      }, null, 8, ["icon", "modelValue", "disabled"]),
      m("div", B, [
        n(d(k), {
          modelValue: e.content.audio.background,
          "onUpdate:modelValue": o[1] || (o[1] = (a) => e.content.audio.background = a),
          icon: d(b),
          disabled: e.disabled,
          absolute: ""
        }, null, 8, ["modelValue", "icon", "disabled"])
      ]),
      n(d(I), {
        modelValue: e.content.description,
        "onUpdate:modelValue": o[2] || (o[2] = (a) => e.content.description = a),
        disabled: e.disabled
      }, null, 8, ["modelValue", "disabled"])
    ], 64)) : s("", !0);
  }
}), P = /* @__PURE__ */ V(N, [["__scopeId", "data-v-1d8a87d0"]]);
export {
  P as default
};
