import{u as m}from"./index-M_JNBppB.js";/* empty css                        */import{r as i}from"./request-CEvu378m.js";import{t as f}from"./element-3_pOinej.js";import{r as l,c as d,j as g,B as _,z as r,y as a,u as t}from"./vue-BJk78QHK.js";import"./threejs-BafxXW5-.js";import"./utils-YI6ye1sf.js";import"./vxe-Dx3zSILm.js";const h={style:{overflow:"hidden"}},R=Object.assign({name:"Picture2"},{__name:"Picture2",props:{propValue:{type:Object,required:!0,default:()=>({})},element:{type:Object,default:()=>({})}},setup(u){const e=u,{getImgUrl:c}=m(),n=l(new URL("/assets/logo-DwRDtNJT.png",import.meta.url).href),o=d(()=>e.propValue.url),p=l(null);return g(()=>{e.request&&(p.value=i(e.request,e.element.propValue,"url",""))}),(y,k)=>{const s=f;return r(),_("div",h,[t(o)?(r(),a(s,{key:0,style:{width:"100%",height:"100%"},src:t(c)(t(o))},null,8,["src"])):(r(),a(s,{key:1,style:{width:"100%",height:"100%"},src:t(n)},null,8,["src"]))])}}});export{R as default};
