PageSourceSearch

https://www.unclaimedbaggage.com/cdn/shop/t/370/assets/size-sort.js?v=31048180045071749261784136567

js unclaimedbaggage.com collected 2026-10-02 05:23:43 UTC 1,795 bytes, 2 lines download raw bytes

1(function(){var LETTER_ORDER=["4XS","3XS","XXXS","2XS","XXS","XS","XS/S","S","S/M","M","M/L","L","L/XL","XL","XL/XXL","XXL","2XL","XXXL","3XL","4XL","5XL","6XL","0X","1X","2X","3X","4X","5X","6X","OS","O/S","ONE SIZE","ONESIZE"];function sizeKey(value){var up=value.trim().toUpperCase(),letterIndex=LETTER_ORDER.indexOf(up);if(letterIndex!==-1)return{group:0,num:letterIndex,str:""};var num=Number(up);return up!==""&&!Number.isNaN(num)?(/^0+$/.test(up)&&(num-=(up.length-1)*.001),{group:1,num:num,str:""}):{group:2,num:0,str:up}}function compareSizes(a,b){var ka=sizeKey(a),kb=sizeKey(b);return ka.group-kb.group||ka.num-kb.num||ka.str.localeCompare(kb.str,void 0,{numeric:!0})}var TEXT_NODE=3;function sortSizeSpan(el){var text=el.textContent,match=text.match(/^(\s*Size:\s*)(.+?)(\s*)$/);if(!(!match||match[2].indexOf(",")===-1)){var values=[];if(match[2].split(",").forEach(function(v){v=v.trim(),v&&values.indexOf(v)===-1&&values.push(v)}),!!values.length){var sortedList=values.sort(compareSizes).join(", "),nodes=el.childNodes;if(nodes.length===3&&nodes[1].nodeType===TEXT_NODE)nodes[1].nodeValue!==sortedList&&(nodes[1].nodeValue=sortedList);else if(nodes.length===1&&nodes[0].nodeType===TEXT_NODE){var full=match[1]+sortedList+match[3];nodes[0].nodeValue!==full&&(nodes[0].nodeValue=full)}}}}function scan(){document.querySelectorAll("span.option").forEach(sortSizeSpan)}var scheduled=!1,observer=new MutationObserver(function(){scheduled||(scheduled=!0,requestAnimationFrame(function(){scheduled=!1,scan()}))});observer.observe(document.documentElement,{childList:!0,subtree:!0,characterData:!0}),document.readyState==="loading"?document.addEventListener("DOMContentLoaded",scan):scan()})();
2//# sourceMappingURL=/cdn/shop/t/370/assets/size-sort.js.map?v=31048180045071749261784136567

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.