PageSourceSearch

https://hoghogh.ai/assets/sentryInit-BVjfdZXf.js

js hoghogh.ai collected 2026-10-05 14:39:26 UTC 4,564 bytes, 1 lines download raw bytes

1import{i as j,b as k,w as E,s as O,a as C,c as R,d as U}from"./vendor-sentry-ClabmWtU.js";import"./vendor-react-2K49FsAP.js";function F(r){if(typeof r!="string")return"";try{return new URL(r,"https://hoghogh.ai").hostname.toLowerCase()}catch(s){return""}}function I(r){var i,n,c,o,u,d,f,m,p;const s=(n=(i=r.exception)==null?void 0:i.values)!=null?n:[];if(s.length!==1)return!1;const t=s[0];return t.type!=="Error"||t.value!=="Pa"||((u=(o=(c=t.stacktrace)==null?void 0:c.frames)==null?void 0:o.length)!=null?u:0)>0||((d=t.mechanism)==null?void 0:d.handled)!==!1||!/onunhandledrejection/i.test((m=(f=t.mechanism)==null?void 0:f.type)!=null?m:"")?!1:((p=r.breadcrumbs)!=null?p:[]).slice(-3).some(l=>{var g,y;const h=F((g=l.data)==null?void 0:g.url),b=Number((y=l.data)==null?void 0:y.status_code);return l.category==="xhr"&&(h==="clarity.ms"||h.endsWith(".clarity.ms"))&&b===0})}function q(r){try{return new URL(r).pathname}catch(s){return r.split(/[?#]/,1)[0]}}function P(r,s=""){var f,m,p,l,h,b,g,y,w;const t=(m=(f=r.exception)==null?void 0:f.values)!=null?m:[],e=[r.message,...t.flatMap(x=>[x.type,x.value])].filter(Boolean).join(": ");if(!/Maximum call stack size exceeded/i.test(e))return!1;const i=String((h=(l=(p=r.contexts)==null?void 0:p.os)==null?void 0:l.name)!=null?h:""),n=String((y=(g=(b=r.contexts)==null?void 0:b.browser)==null?void 0:g.name)!=null?y:""),c=/^iOS$/i.test(i)||/\b(?:iPhone|iPad|iPod)\b/i.test(s),o=/^(?:Google|Chrome Mobile iOS)$/i.test(n)||/\b(?:CriOS|GSA)\//i.test(s);if(!c||!o)return!1;const u=t.flatMap(x=>{var S,a;return(a=(S=x.stacktrace)==null?void 0:S.frames)!=null?a:[]});if(u.length===0)return!1;const d=(w=r.request)!=null&&w.url?q(r.request.url):"";return u.every(x=>{const S=[x.filename,x.abs_path].map(a=>String(a!=null?a:"").trim()).filter(Boolean);return S.some(a=>/\.(?:m?js|css)(?:[?#]|$)/i.test(a))?!1:S.length===0||S.every(a=>/^(?:undefined|<anonymous>)$/i.test(a)?!0:!!d&&q(a)===d)})}function $(r,s=""){var n,c,o;const t=(c=(n=r.exception)==null?void 0:n.values)!=null?c:[];if(t.length!==1)return!1;const e=t[0];if(e.type!=="SyntaxError"||!/^Unexpected token '?\.'?$/.test(String((o=e.value)!=null?o:"")))return!1;const i=/Chrome\/(\d+)/.exec(s);return i?Number(i[1])<80:!1}function N(r,s){const t=e=>{if(typeof e!="string")return e;const i=e.indexOf("?");return i>=0?e.slice(0,i):e};return j({dsn:r,integrations:[k()],tracesSampleRate:.2,environment:"production",release:"5.18.2",sendDefaultPii:!1,initialScope:{tags:{platform:s}},denyUrls:[/static\.cloudflareinsights\.com/,/^(chrome|moz|safari-web|safari|ms-browser)-extension:\/\//i,/^chrome:\/\//i,/\/?share-modal\.js(?:[?#]|$)/i],ignoreErrors:[/Failed to update a ServiceWorker/i,/ServiceWorker script .*(load failed|failed to)/i,/Script .*sw\.js.* load failed/i,"ResizeObserver loop completed with undelivered notifications","ResizeObserver loop limit exceeded","Non-Error promise rejection captured","FrameDoesNotExistError","runtime.lastError","The message port closed before a response was received","initialized multiple times",/Failed to fetch dynamically imported module/i,/error loading dynamically imported module/i,/Importing a module script failed/i,/Unable to preload CSS for/i,/^Load failed(?: \((?:ir\.)?hoghogh\.ai\))?$/i,/not implemented on (ios|android|web)/i,/Permission denied to access property .performance. on cross-origin object/i,/SecurityError.*cross-origin object/i,/Refused to evaluate a string as JavaScript/i,/unsafe-eval.*not an allowed source/i,/\["@context"\]\.toLowerCase/],beforeBreadcrumb(e){return e.category==="console"?null:(e.data&&typeof e.data.url=="string"&&(e.data.url=t(e.data.url)),e)},beforeSend(e){var o,u,d,f,m,p,l,h,b,g,y,w;const i=String((p=(m=(u=(o=e.request)==null?void 0:o.headers)==null?void 0:u["User-Agent"])!=null?m:(f=(d=e.request)==null?void 0:d.headers)==null?void 0:f["user-agent"])!=null?p:""),n=String((b=(h=(l=e.contexts)==null?void 0:l.browser)==null?void 0:h.name)!=null?b:"");return String((w=(y=(g=e.contexts)==null?void 0:g.device)==null?void 0:y.family)!=null?w:"")==="Spider"||/bot|crawler|spider|slurp|bingpreview|yandex|baidu|duckduck|semrush|ahrefs|mj12|dotbot|petalbot|facebookexternalhit|whatsapp|telegram/i.test(i)||/bot|spider|crawler|slurp|yandex|baidu/i.test(n)||P(e,navigator.userAgent)||I(e)||$(e,navigator.userAgent)?null:(e.request&&(e.request.url&&(e.request.url=t(e.request.url)),delete e.request.data,delete e.request.query_string,delete e.request.cookies),e)}}),{captureException:U,captureReactException:R,setUser:C,setMeasurement:O,withScope:E}}export{N as initSentry};

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.