PageSourceSearch

https://stackarabic.com/wp-content/plugins/xpro-elementor-addons/m…/assets/swatches.js?ver=1515155

js stackarabic.com collected 2026-10-04 21:44:23 UTC 488 bytes, 1 lines download raw bytes

1jQuery(document).ready(function(t){t(".xpro_swatches_in_loop").on("click",".swatch",function(s){s.preventDefault();let e=t(this).closest(".xpro_swatches_in_loop").attr("data-attribute");t(this).closest(".xpro_swatches_in_loop").find(".swatch").removeClass("selected"),t(this).toggleClass("selected"),e=JSON.parse(e);let a=t(this).attr("data-value"),r=t(this).closest(".product ").find("img"),c=r.attr("src");r.removeAttr("srcset"),void 0!==e[a]?r.attr("src",e[a].src):r.attr("src",c)})});

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.