import{r as e}from"./p-a5747bb7.js";class t{constructor(t){e(this,t)}async create(e){const t=document.createElement("materials-dialog");return t.dialogTitle=e.title,t.actions=e.actions,t.body=e.body,t.addEventListener("accept",()=>t.remove()),t.addEventListener("cancel",()=>t.remove()),document.body.appendChild(t),t}}export{t as materials_dialog_controller};