function a(n){try{const e=new URL(n);e.searchParams.delete("image_index");const r=e.searchParams.toString();return`${e.origin}${e.pathname}${r?`?${r}`:""}${e.hash}`}catch{return n}}function t(n,e){return n?a(n)!==a(e):!0}export{t as i};
