PageSourceSearch

https://www.withfaye.com/_astro/api.yAE46a0r.js

js withfaye.com collected 2026-09-24 09:45:07 UTC 1,704 bytes, 1 lines download raw bytes

1globalThis.process??={},globalThis.process.env??={};import{un as e}from"./misc.DmYjMKcY.js";var t=class extends Error{status;constructor({message:t,status:e}={}){super(t??"Bad response"),this.name="BadResponseError",this.status=e??-1}},n=["_gcl_aw","_gcl_dc","_gcl_gb","_gcl_au","_fbp","_fbc","_ttp","ttcsid","_uetvid","_uetsid","_uetmsclkid"];function r(){let t=window.location.search,s=new URLSearchParams(t),a=s.get("irclickid"),i=s.get("utm_irclickid");if(a&&i){let e=t.lastIndexOf(`irclickid=${encodeURIComponent(a)}`);return t.lastIndexOf(`utm_irclickid=${encodeURIComponent(i)}`)>e?i:a}return a??i??e.get("irclickid")}function i(){let t={},s=e.get();for(let e of n){let a=s[e];a&&(t[e]=a)}let a=r();a&&(t.irclickid=a);for(let e of Object.keys(s))(e.startsWith("ttcsid_")||e.startsWith("impact_"))&&(t[e]=s[e]);return t}async function a(e,{headers:s,throwBadResponse:a=!0,includeAttribution:r,retry:n,...o}={}){let c=new URL(e,"https://api.withfaye.com/"),l={accept:"application/json","content-type":"application/json",platform:"onboarding",...s},{body:u}=o;if(r&&u){let t="string"==typeof u?JSON.parse(u):u;u=JSON.stringify({...t,attribution:i()})}let d,p=async()=>{let e=await window.fetch(c,{headers:l,...o,body:u});if(a&&!e.ok){let s=await e.json().then(t=>t.message??e.statusText).catch(()=>e.statusText);throw new t({message:String(s),status:e.status})}return e};if(!n)return p();for(let e=0;e<n.attempts;e++)try{return await p()}catch(s){if(s instanceof t&&s.status<500)throw s;d=s,e<n.attempts-1&&await new Promise(t=>setTimeout(t,n.delayMs*(e+1)))}throw d}async function o(t,{mapData:e,...s}={}){let i=await(await a(t,s)).json();return e?e(i):i.data??i}export{t as i,o as n,i as r,a as t};

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.