import{o as a,c as o,a as t,p as c,g as n,_ as i}from"./index.js";const p=e=>(c("data-v-9f9a6e7c"),e=e(),n(),e),r={class:"iface-centered display-text__container"},_=p(()=>t("div",{class:"display-text"},null,-1)),d={class:"background"},l=["innerHTML"];function x(e,f,u,m,s,y){return a(),o("div",r,[_,t("div",d,[t("div",{class:"text",innerHTML:s.text},null,8,l)])])}const h={name:"display-text",props:["openParams"],data(){return{text:"NULL"}},created(){if(this.openParams){this.text=this.openParams[0];const e=/color\s*=\s*(['"]?)#([0-9A-F]{6})\1/gi;this.text=this.text.replace(e,'style="color:#$2"'),this.openParams[1]&&setTimeout(()=>{window.closeInterface("DisplayText")},this.openParams[1])}}},T=i(h,[["render",x],["__scopeId","data-v-9f9a6e7c"]]);export{T as default};
