import{t as p}from"./debounce-Xd493GvO.js";import{u as h}from"./useOnEvent-Cta5e-FG.js";import{r as s,c as t,w as d,j as y,ag as f,B as g,z as a,y as _,u as c}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:"Decoration9"},{__name:"Decoration9",props:{element:{type:Object,default:()=>({})},linkage:{type:Object,default:()=>({})}},setup(o){const e=o,r=s(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 n=e.element.style.width,l=e.element.style.height;return{width:n,height:l}});return d(i,p(()=>{r.value++},1e3),{deep:!0}),h(t(()=>e.linkage),s(e.element)),y(()=>{}),(n,l)=>{const u=f("dv-decoration-9");return a(),g("div",null,[(a(),_(u,{key:c(r),color:c(m),dur:o.element.style.dur},null,8,["color","dur"]))])}}});export{x as default};
