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