(()=>{var t;t=jQuery,window.elementorFrontend,t(window).on("elementor/frontend/init",function(){let e,i=elementorModules.frontend.handlers.Base;var n,s;e=i.extend({bindEvents:function(){this.run()},getDefaultSettings:function(){return{allowHTML:!0}},onElementChange:(n=function(t){-1!==t.indexOf("usk_mini_cart")&&this.run()},function(){var t=this,e=arguments;clearTimeout(s),s=setTimeout(function(){s=null,n.apply(t,e)},400)}),settings:function(t){return this.getElementSettings("usk_mini_cart_"+t)},run:function(e){var i=this.getDefaultSettings();this.findElement(".elementor-widget").get(0),jQuery(this.$element).hasClass("elementor-section")&&this.$element.get(0);var n=this.$element.find(".usk-mini-cart-toggle-btn"),s=this.$element.find(".usk-mini-cart");if(n.length){var o="usk-mini-cart-"+this.$element.data("id");i=t(n).data("settings"),toolslide("#"+o,{toggleButton:i.toggleButton,position:void 0!==this.settings("position")?this.settings("position"):"right",height:void 0!==this.settings("height.size")?this.settings("height.size")+this.settings("height.unit"):"100%",width:void 0!==this.settings("width.size")?this.settings("width.size")+this.settings("width.unit"):"340px",closeable:"yes"===this.settings("closeable"),startOpen:"yes"===this.settings("startOpen"),autoclose:"yes"===this.settings("autoclose"),autocloseDelay:this.settings("autocloseDelay")?this.settings("autocloseDelay"):5e3,clickOutsideToClose:"yes"===this.settings("clickOutsideToClose"),animations:{replace:"crossfade 0.5s ease-in-out",toggle:"slide 0.5s ease"}}),t(s).appendTo("body")}}}),elementorFrontend.hooks.addAction("frontend/element_ready/usk-mini-cart.default",function(t){elementorFrontend.elementsHandler.addHandler(e,{$element:t})})})})();