import{D as e,F as t,L as n,P as r,W as i,Z as a,k as o,r as s,v as c,w as l,x as u}from"./app-Caacqt0q.js";import{t as d}from"./AppLayout-BCFo2NWi.js";var f=[`innerHTML`],p=o({__name:`Frame`,props:{title:{},bodyHtml:{},css:{},js:{}},setup(o){let p=o,m=null,h=null;return t(()=>{p.css&&(m=document.createElement(`style`),m.setAttribute(`data-ext-frame`,``),m.textContent=p.css,document.head.appendChild(m)),p.js&&(h=document.createElement(`script`),h.textContent=p.js,document.body.appendChild(h))}),r(()=>{m?.remove(),h?.remove()}),(t,r)=>(n(),l(c,null,[e(a(s),{title:o.title},null,8,[`title`]),e(d,null,{default:i(()=>[u(`div`,{class:`ext-frame`,innerHTML:o.bodyHtml},null,8,f)]),_:1})],64))}});export{p as default};