import{t as u}from"./debounce-Xd493GvO.js";import{u as h}from"./useOnEvent-Cta5e-FG.js";import{r as l,c as t,w as d,j as f,ag as g,B as y,z as s,y as _,u as a}from"./vue-BJk78QHK.js";import"./index-M_JNBppB.js";import"./element-3_pOinej.js";import"./utils-YI6ye1sf.js";import"./threejs-BafxXW5-.js";import"./vxe-Dx3zSILm.js";const x=Object.assign({name:"Decoration10"},{__name:"Decoration10",props:{element:{type:Object,default:()=>({})},linkage:{type:Object,default:()=>({})}},setup(c){const e=c,o=l(0),m=t(()=>e.element.style.otherColorLeft||e.element.style.otherColorRigth?[e.element.style.otherColorLeft,e.element.style.otherColorRigth]:[]);t(()=>e.element.style.otherBgColor?e.element.style.otherBgColor:"rgba(144, 240, 144, 0)");const i=t(()=>{const r=e.element.style.width,n=e.element.style.height;return{width:r,height:n}});return d(i,u(()=>{o.value++},1e3),{deep:!0}),h(t(()=>e.linkage),l(e.element)),f(()=>{}),(r,n)=>{const p=g("dv-decoration-10");return s(),y("div",null,[(s(),_(p,{key:a(o),color:a(m)},null,8,["color"]))])}}});export{x as default};
