// source --> https://staging.ledlightings.net/wp-content/themes/xstore/js/modules/call-popup.min.js?ver=1.0 
!function(e){"use strict";etTheme.autoinit.contactUsPopup=etTheme.contactUsPopup=function(){e(document).on("click",".et-call-popup",function(){var t=e(this).data("type");e('.et-called-popup[data-type="'+t+'"]').first().addClass("active")}),e(document).on("click",".et-close-popup",function(){e(this).parents(".et-called-popup").removeClass("active")}),e(".et-request-quote").length&&e(window).on("scroll",function(){0<e(window).scrollTop()&&e(".et-request-quote").removeClass("inactive")})}}(jQuery);
// source --> https://staging.ledlightings.net/wp-content/themes/xstore/js/modules/single-product-sticky-cart.min.js?ver=1.0 
!function(o){"use strict";etTheme.autoinit.sticky_cart=etTheme.sticky_cart=function(){if(etTheme.et_woocommerce.is_single_product&&!(o(".etheme-sticky-cart").length<1||o("form.cart").length<1)){let e=!1;o(".etheme-sticky-cart:not(.always-shown)").length&&o(window).on("scroll",function(){var t=o(this).scrollTop();o("form.cart").offset().top<t?(o(".etheme-sticky-cart:not(.always-shown)").removeClass("outside"),o("#back-top, .et-request-quote").css("bottom","85px"),o("#back-top ~ .et-request-quote").css("bottom","140px")):(o(".etheme-sticky-cart:not(.always-shown)").addClass("outside"),e&&o(".etheme_custom_add_to_cart_toggle").trigger("click"),o("#back-top").attr("style",null),o(".et-request-quote").attr("style",null))}),o(document).on("click",".etheme_custom_add_to_cart",function(){var t=0,e=(o(".header-wrapper .sticky-on").length&&o.each(o(".header-wrapper .sticky-on"),function(){t+=o(this).outerHeight()}),o("form.cart").offset().top-t);e-=30,o("html, body").animate({scrollTop:e},500)}),o("body:not(.et-preloader-hide) .etheme-sticky-cart").find(".variations_form, .grouped_form").addClass("hidden"),o(document).on("click",".etheme_custom_add_to_cart_toggle",function(){e?(o(this).parent().find("form").addClass("hidden"),o("body").removeClass("sticky-cart-form-shown")):(o(this).parent().find("form").removeClass("hidden"),o("body").addClass("sticky-cart-form-shown")),e=!e}),o(document).on("click",".etheme-sticky-cart form.cart .single_add_to_cart_button:not(.disabled)",function(){o("body").removeClass("sticky-cart-form-shown")})}}}(jQuery);