jQuery(window).on("load",function(){jQuery(".avada-select-wrapper").each(function(){var e=jQuery(this).find("select").val(),t=jQuery(this).find('[data-value="'+e+'"]'),a=jQuery(this).find("[data-checked]");t.length&&!t.is("[data-checked]")&&(a.removeAttr("data-checked"),t.attr("data-checked",!0))}),jQuery("body").on("click",".avada-color-select, .avada-image-select, .avada-button-select",function(e){var t=jQuery(this).closest(".avada-select-wrapper"),a=t.find("select"),r=jQuery(this).attr("data-value");if(e.preventDefault(),!jQuery(this).attr("data-disabled")){if(jQuery(this).is("[data-checked]"))return t.find("[data-checked]").removeAttr("data-checked"),void a.val("").trigger("change.wc-variation-form");t.find("[data-checked]").removeAttr("data-checked"),jQuery(this).attr("data-checked",!0),a.val(r).trigger("change.wc-variation-form")}}),jQuery("body").on("DOMNodeInserted DOMNodeRemoved",".avada-select-wrapper select",function(){var e=jQuery(this);jQuery(this).closest("td.value").find(".avada-color-select, .avada-button-select, .avada-image-select").each(function(){var t=jQuery(this).attr("data-value");e.find('[value="'+t+'"]').length?jQuery(this).removeAttr("data-disabled"):jQuery(this).attr("data-disabled",!0)})}),jQuery("body").on("show_variation",".variations_form",function(e){var t=jQuery(e.currentTarget).closest(".product").find(".product_meta").find(".sku"),a=t.attr("data-o_content");1