1var i="hmp_pending_coupon";function c(){try{let e=sessionStorage.getItem(i)?.trim()??"";return e.length>0?e:null}catch{return null}}function m(e){let r=e.trim();if(r)try{sessionStorage.setItem(i,r)}catch{}}function d(){try{sessionStorage.removeItem(i)}catch{}}var a=["acr_token","marketing_source","marketing_source_identifier","marketing_source_name","marketing_source_send_id","utm_source","utm_medium","utm_campaign","cart_id","store_id"];function p(e=window.location.href){let r=new URL(e),o=!1;for(let t of a)r.searchParams.has(t)&&(r.searchParams.delete(t),o=!0);let n=`${r.pathname}${r.search}${r.hash}`;return o&&window.history.replaceState(window.history.state,document.title,n),n}function s(e){let r=e.item_data?.find(t=>t.name?.toLowerCase()==="mpid"),o=Number(r?.value);if(Number.isFinite(o)&&o>0)return Math.trunc(o);let n=e.extensions?.mpid;if(typeof n=="number"&&Number.isFinite(n)&&n>0)return Math.trunc(n);if(typeof n=="string"){let t=Number(n);if(Number.isFinite(t)&&t>0)return Math.trunc(t)}return null}function g(e,r,o){if(e.length===0)return[];let n=new Set;for(let t of r)o!==null&&s(t)!==o||n.add(t.id);return e.filter(t=>!n.has(t.id))}export{p as a,g as b,c,m as d,d as e};
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.