1function flagOrder(t){var e=t.attr("class"),a=sessionStorage.getItem(e);if(null!==a)t.css("order",a);else{var i=0;if(e.includes("flag-action")||e.includes("flag-custom1"))i=2;var s=t.text().trim().length+i;sessionStorage.setItem(e,"-"+s),t.css("order","-"+s)}}function flags_detail(){if("productDetail"===getShoptetDataLayer().pageType){if(11===Number(shoptet.abilities.about.id))var t=".product-top";else t=".p-detail-inner";$(t).find(".flags-default .flag").each((function(){flagOrder($(this))})),$(t).find(".flags-default").css("opacity",1)}}function flags_cat(){$(".product .flags-default .flag:not(.flagdone)").each((function(){flagOrder($(this)),$(this).addClass("flagdone")})),$(".product .flags-default").css("opacity",1)}$(document).ready((function(){3===shoptet.abilities.about.generation&&(flags_detail(),flags_cat())})),document.addEventListener("dmproductsDone",(function(){3===shoptet.abilities.about.generation&&flags_cat()})),document.addEventListener("ShoptetDOMContentLoaded",(function(){3===shoptet.abilities.about.generation&&flags_cat()}));
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.