250RAPER_EXTENSION_ID_CHROMIUM: "[redacted]",
VITE_TRADE_API_BASE_URL: "/trade",
VITE_UNLEASH_APIKEY: "zerohash-sdk:dev.[redacted]"
}.VITE_LOCAL_CDN_HOST || "http://localhost:5173",
dev: "https://sdk-cdn.dev.0hash.com",
cert: "https://sdk-cdn.cert.zerohash.com",
prod: "https://sdk-cdn.zerohash.com",
"eu-cert": "https://sdk-cdn.cert.zerohash.eu",
"eu-prod": "https://sdk-cdn.zerohash.eu"
}, m = "https://sdk-cdn.gating.0hash.com", h = (e, t, n = {}) => {
let { eu: r = !1, legacyAliases: i = !1, local: a = p.local } = n, o
LowAi Review Evidence
The runtime loads the widget from Zerohash CDN hosts. Its failure handler sends a constructed error report to environment-mapped Zerohash collectors, including decoded context claims and browser metadata.
dist/index.jsView on unpkg · L250 86onentTag: t, appName: n, appVersion: s, scriptUrls: c, fallbackScriptUrls: u, collectorUrls: d, env: f, jwt: p, timeoutMs: m = 15e3, onLoad: h, onError: g } = e;
if (typeof document > "u") return o;
let _ = `${t}-script-${f}`;
if (customElements.get(t) || document.getElementById(_)) return o;
let v = r(p), y = e.report ?? ((e) => l(d && a(d, f, p), e, s)), b = !1, x = 0, S, C = () => {
S !== void 0 && clearTimeout(S);
}, w = (e, r, a) => {
if (b) return;
let o = Math.round(performance.now() - x), s = {
webComponentTag: t,
appNa
LowAi Review Evidence
The runtime loads the widget from Zerohash CDN hosts. Its failure handler sends a constructed error report to environment-mapped Zerohash collectors, including decoded context claims and browser metadata.
dist/index.jsView on unpkg · L86 62omponent: e.webComponentTag,
script_url: e.scriptUrl,
reason: e.reason,
tried_fallback: String(e.triedFallback),
elapsed_ms: String(e.elapsedMs)
}
}]
}
};
}, l = (e, t, n) => {
if (!e || typeof fetch > "u") return;
let { sessionId: r, payload: i } = c(t, n);
try {
fetch(e, {
method: "POST",
headers: {
"Content-Type": "application/json",
"x-faro-session-id": r
},
body: JSON.stringify(i),
keepalive: !0
}).catch(() => void 0);
} catch {}
}, u = (e) => {
let { webComponentTag: t, appName
LowAi Review Evidence
The runtime loads the widget from Zerohash CDN hosts. Its failure handler sends a constructed error report to environment-mapped Zerohash collectors, including decoded context claims and browser metadata.
dist/index.jsView on unpkg · L62 1var e = {
dev: "https://grafana-faro-collector.dev.0hash.com/collect",
cert: "https://grafana-faro-collector.cert.zerohash.com/collect",
prod: "https://grafana-faro-collector.zerohash.com/collect",
"eu-cert": "https://grafana-faro-collector.cert.zerohash.eu/collect",
"eu-prod": "https://grafana-faro-collector.zerohash.eu/collect",
sandbox: "https://grafana-faro-collector.cert.zerohash.com/collect",
production: "https://grafana-faro-collector.zerohash.com/collect"
}, t = (e) => {
if (!e || typeof e != "string") return null;
let t = e.split(".");
if (t.length < 2) return null;
try {
LowAi Review Evidence
The runtime loads the widget from Zerohash CDN hosts. Its failure handler sends a constructed error report to environment-mapped Zerohash collectors, including decoded context claims and browser metadata.
dist/index.jsView on unpkg · L1 41latform_name = e.claims.platformName), e.claims.platformCode && (i.platform_code = e.claims.platformCode), e.claims.region && (i.region = e.claims.region), r && (i.zh_web_sdk_version = r), {
sessionId: n,
payload: {
meta: {
app: {
name: e.appName,
version: t ?? "unknown",
environment: e.env
},
session: {
id: n,
attributes: i
},
browser: typeof navigator < "u" ? { userAgent: navigator.userAgent } : void 0,
page: typeof window < "u" ? { url: window.location.origin } : void 0
},
logs: [{
message: `Failed to load the script for ${e.
LowAi Review Evidence
The runtime loads the widget from Zerohash CDN hosts. Its failure handler sends a constructed error report to environment-mapped Zerohash collectors, including decoded context claims and browser metadata.
dist/index.jsView on unpkg · L41