PageSourceSearch

https://ineedleads.co.uk/assets/redirects-Ctdhj-vS.js

js ineedleads.co.uk collected 2026-10-09 22:55:22 UTC 717 bytes, 1 lines download raw bytes

1import{J as c}from"./button-DFML8rOM.js";import"./index-DKJ0tKwF.js";async function n(r,e){try{const{data:t,error:i}=await c.rpc("resolve_page_redirect",{p_domain:r,p_path:e||"/"});if(i||!t)return null;const a=Array.isArray(t)?t[0]:t;return a!=null&&a.target_url?{target_url:a.target_url,redirect_type:Number(a.redirect_type)||301}:null}catch{return null}}function u(r,e){try{c.rpc("bump_page_redirect_hit",{p_domain:r,p_path:e||"/"})}catch{}}async function o(r,e){const t=await n(r,e);if(!t)return!1;u(r,e);const i=t.target_url.startsWith("http")||t.target_url.startsWith("/")?t.target_url:`/${t.target_url}`;return window.location.replace(i),!0}export{u as bumpRedirectHit,o as maybeRedirect,n as resolveRedirect};

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.