!function(e){woodmartThemeModule.$document.on("wdBackHistory wdProductsTabsLoaded wdSearchFullScreenContentLoaded wdActionAfterAddToCart wdShopPageInit wdArrowsLoadProducts wdLoadMoreLoadProducts wdUpdateWishlist wdQuickViewOpen wdQuickShopSuccess wdProductBaseHoverIconsResize wdRecentlyViewedProductLoaded updated_checkout updated_cart_totals",function(){woodmartThemeModule.btnsToolTips()}),woodmartThemeModule.$document.on("wdUpdateTooltip",function(t,o){woodmartThemeModule.updateTooltip(o)}),e.each(["frontend/element_ready/wd_products.default","frontend/element_ready/wd_products_tabs.default","frontend/element_ready/wd_single_product_nav.default","frontend/element_ready/wd_single_product_size_guide_button.default","frontend/element_ready/wd_single_product_compare_button.default","frontend/element_ready/wd_single_product_wishlist_button.default"],function(t,o){woodmartThemeModule.wdElementorAddAction(o,function(){woodmartThemeModule.btnsToolTips()})}),woodmartThemeModule.btnsToolTips=function(){function t(t,o){!t.hasClass("wd-hint")&&!t.closest(".wd-review-likes").length&&woodmartThemeModule.windowWidth<=1024||t.hasClass("wd-tooltip-inited")||(t.tooltip({animation:!1,container:"body",trigger:"hover",boundary:"window",placement:o,title:function(){var t=e(this);return 0<t.find(".added_to_cart").length||0<t.find(".add_to_cart_button").length?t.find(".add_to_cart_button").text():0<t.find(".wd-swatch-text").length?t.find(".wd-swatch-text").text():t.closest(".wd-review-likes").length?woodmart_settings.review_likes_tooltip:t.text()}}),t.tooltip("show"),t.addClass("wd-tooltip-inited"))}e(woodmart_settings.tooltip_top_selector).on("mouseenter touchstart",function(){t(e(this),"top")}),e(woodmart_settings.tooltip_left_selector).on("mouseenter touchstart",function(){t(e(this),woodmartThemeModule.$body.hasClass("rtl")?"right":"left")})},woodmartThemeModule.updateTooltip=function(t){t=e(t);t.hasClass("wd-tooltip-inited")||(t=t.parent(".wd-tooltip-inited")),woodmartThemeModule.windowWidth<=1024||!t.hasClass("wd-tooltip-inited")||void 0===e.fn.tooltip||!t.is(":hover")||t.tooltip("update").tooltip("show")},e(document).ready(function(){woodmartThemeModule.btnsToolTips()})}(jQuery);