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,{head:!0});const c=encodeURIComponent(JSON.stringify(a));setTimeout(function(){const a=b.innerHTML,d=document.getElementById("sl-ei-boxhead-elementor-value");d.value=a+"attsafelayoutatt"+c,d.dispatchEvent(new Event("change"))},2)}function b(){let b={},d=c.control_boxhead.val().split("attsafelayoutatt");1<d?.length&&(b=JSON.parse(decodeURIComponent(d[1])));let e={head:!0,popoverOffset:-150,callBack:a};setTimeout(function(){SLEImceIcons.menuText(document.getElementById("sl-ei-boxhead-elementor-body"),b,e)},10)}this.control_boxhead=this.$el.find("#sl-ei-boxhead-elementor-value");var c=this;b(),this.control_boxhead.on("change",()=>{SLEImceIcons.elementorAction=1,this.saveValue()}),this.control_boxhead.on("click",()=>{b()})},saveValue(){this.setValue(this.control_boxhead.val())}});elementor.addControlView("Safelayout_boxhead_control",a)});