import{a as t}from"./index-q2k2ACYe.js";const n=function(t,n=1500){var r=!0;return function(){r&&(t.apply(this,arguments),r=!1,setTimeout((()=>{r=!0}),n))}};let r=null;r=t({curEID:"",formats:{},isReadOnly:!1,firstInstanceFlag:""});const s={state:r,actions:{getEditor:function(t){return r[`${t}-ctx`]},setEditor:function(t,n){r[`${t}-ctx`]=n},getEID:function(){return r.curEID},setEID:function(t){r.curEID=t},getFormats:function(){return r.formats},setFormats:function(t){r.formats=t},getReadOnly:function(){return r.isReadOnly},setReadOnly:function(t){r.isReadOnly=t},destroy:function(){r={},r.curEID="",r.formats={},r.isReadOnly=!1,r.firstInstanceFlag=""}}};export{s as o,n as t};
