!function(t,e){"use strict";var o={init:function(){e.hooks.addAction("frontend/element_ready/widget",o.ready),e.hooks.addAction("frontend/element_ready/section",o.ready),e.hooks.addAction("frontend/element_ready/column",o.ready),e.hooks.addAction("frontend/element_ready/container",o.ready)},ready:function(o){var r=o.data("settings"),i=o.data("model-cid"),n=o.data("id");i&&(r=e.config.elements.data[i].attributes),void 0!==r&&(o.on("mouseover",(function(e){if("yes"===r?.ekit_cursor_show){e.stopPropagation();var i=`<img class="ekit-cursor-image" src="${r?.ekit_cursor_image_src?.url}">`;"icon"==r?.ekit_cursor_type&&"svg"!==r?.ekit_cursor_icons?.library?i=`<i class="ekit-cursor-icon ${r?.ekit_cursor_icons?.value}"></i>`:"icon"==r?.ekit_cursor_type&&"svg"==r?.ekit_cursor_icons?.library?i=`<img class="ekit-cursor-svg" src="${r.ekit_cursor_icons.value.url}">`:"text"===r?.ekit_cursor_type&&(i=`<span class="ekit-cursor-text"> ${r.ekit_cursor_text_label}</span>`),t(o.find(".ekit-cursor")).each((function(e,o){t(o).remove()})),t(this).append(`<div class="ekit-cursor ${r.ekit_cursor_type}">\n\t\t\t\t\t\t<div class="ekit-cursor-${n} ekit-cursor-settings" id="ekit-cursor-${n}" >\n\t\t\t\t\t\t\t${i}\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</div>`),new Cotton(`#ekit-cursor-${n}`,{models:".ekit-cursor-enabled-yes",speed:1,centerMouse:!0,cottonActiveClass:"show"})}})),o.on("mouseleave mouseout",(function(){t(o.find(".ekit-cursor")).each((function(t,e){e.remove()}))})))}};t(window).on("elementor/frontend/init",o.init),t(window).on("elementor/editor/init",o.init)}(jQuery,window.elementorFrontend);