!function(){function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e(t)}function t(t,n){for(var o=0;o<n.length;o++){var r=n[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,(void 0,i=function(t,n){if("object"!==e(t)||null===t)return t;var o=t[Symbol.toPrimitive];if(void 0!==o){var r=o.call(t,"string");if("object"!==e(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(r.key),"symbol"===e(i)?i:String(i)),r)}var i}function n(){return n="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var o=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=r(e)););return e}(e,t);if(o){var i=Object.getOwnPropertyDescriptor(o,t);return i.get?i.get.call(arguments.length<3?e:n):i.value}},n.apply(this,arguments)}function o(e,t){return o=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},o(e,t)}function r(e){return r=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},r(e)}var i=function(i){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&o(e,t)}(s,elementorModules.ViewModule);var c,u,l,a,f=(l=s,a=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var t,n=r(l);if(a){var o=r(this).constructor;t=Reflect.construct(n,arguments,o)}else t=n.apply(this,arguments);return function(t,n){if(n&&("object"===e(n)||"function"==typeof n))return n;if(void 0!==n)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(t)}(this,t)});function s(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s),f.apply(this,arguments)}return c=s,(u=[{key:"__construct",value:function(e){var t=this;n(r(s.prototype),"__construct",this).apply(self,e),elementorFrontend.on("components:init",(function(){return t.onFrontendComponentsInit()}))}},{key:"createDocumentsHandles",value:function(){var e=this;jQuery.each(elementorFrontend.documentsManager.documents,(function(t,n){var o=n.$element;if(!o.hasClass("elementor-edit-mode")&&!n.$element.children(".elementor-document-handle").length){var r=jQuery("<div>",{class:"elementor-document-handle"}),i=jQuery("<i>",{class:"eicon-edit"}),c=o.data("elementor-title"),u=jQuery("<div>",{class:"elementor-document-handle__title"}).text(neuron.translate("edit_element",[c]));r.append(i,u),r.on("click",(function(){return e.onDocumentHandleClick(n)})),o.prepend(r)}}))}},{key:"onDocumentHandleClick",value:function(e){elementorCommon.api.internal("panel/state-loading"),elementorCommon.api.run("editor/documents/switch",{id:e.getSettings("id")}).finally((function(){return elementorCommon.api.internal("panel/state-ready")}))}},{key:"onFrontendComponentsInit",value:function(){var e=this;this.createDocumentsHandles(),elementor.on("document:loaded",(function(){return e.createDocumentsHandles()}))}}])&&t(c.prototype,u),Object.defineProperty(c,"prototype",{writable:!1}),s}();window.neuronPreview=new i}();