import{i as n,b as _}from"./element-plus.8115766e.js";import{u,g as e,b as l,d as g}from"./index.637212e4.js";import{d as h,e as f,o as b,L as y,M as r,a as s,V as I,J as S,u as i,b9 as v,b8 as w}from"./@vue.cab01781.js";import"./@vueuse.724ed0af.js";import"./@element-plus.92b4185f.js";import"./lodash-es.29c53eac.js";import"./dayjs.66926594.js";import"./axios.2d915936.js";import"./async-validator.fb49d0f5.js";import"./@ctrl.82a509e0.js";import"./@popperjs.36402333.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./lodash.b68d77aa.js";import"./vue-router.5046cc50.js";import"./pinia.e85e8286.js";import"./vue-demi.bfae2336.js";import"./css-color-function.a8f9466d.js";import"./color.903ca10f.js";import"./clone.9d64bb7a.js";import"./color-convert.69e17089.js";import"./color-string.e356f5de.js";import"./color-name.e7a4e1d3.js";import"./nprogress.a96d99f2.js";import"./vue-clipboard3.91d4fd5f.js";import"./clipboard.c0a70c0c.js";import"./echarts.6ad8c478.js";import"./zrender.f91f2f01.js";import"./highlight.js.4ebdf9a4.js";import"./@highlightjs.0ab41b7b.js";const N=t=>(v("data-v-969af21d"),t=t(),w(),t),x=N(()=>s("div",{class:"image-slot"},null,-1)),B={class:"image-slot"},P=h({__name:"decoration-img",props:{width:{type:[String,Number],default:"auto"},height:{type:[String,Number],default:"auto"},radius:{type:[String,Number],default:0},...n},setup(t){const o=t,{getImageUrl:p}=u(),a=f(()=>({width:e(o.width),height:e(o.height),borderRadius:e(o.radius)}));return(m,V)=>{const c=l,d=_;return b(),y(d,S({style:i(a)},o,{src:i(p)(m.src)}),{placeholder:r(()=>[x]),error:r(()=>[s("div",B,[I(c,{name:"el-icon-Picture",size:30})])]),_:1},16,["style","src"])}}});const st=g(P,[["__scopeId","data-v-969af21d"]]);export{st as default};
