window.addEventListener("elementor/init",function(){const a=elementor.modules.controls.BaseData.extend({onReady(){function a(){const a=SLEImceIcons.attText,b=document.createElement("div");SLEImceIcons.boxText(b,a);const c=encodeURIComponent(JSON.stringify(a));setTimeout(function(){const a=b.innerHTML,d=document.getElementById("sl-ei-boxtext-elementor-value");d.value=a+"attsafelayoutatt"+c,d.dispatchEvent(new Event("change"))},2)}function b(){let b={},d=c.control_boxtext.val().split("attsafelayoutatt");1<d?.length&&(b=JSON.parse(decodeURIComponent(d[1])));let e={popoverOffset:-150,callBack:a};setTimeout(function(){SLEImceIcons.menuText(document.getElementById("sl-ei-boxtext-elementor-body"),b,e)},10)}this.control_boxtext=this.$el.find("#sl-ei-boxtext-elementor-value");var c=this;b(),this.control_boxtext.on("change",()=>{SLEImceIcons.elementorAction=1,this.saveValue()}),this.control_boxtext.on("click",()=>{b()})},saveValue(){this.setValue(this.control_boxtext.val())}});elementor.addControlView("Safelayout_boxtext_control",a)});