PageSourceSearch

https://topmate.io/_next/static/chunks/8700.5f0a0fe9088aab6f.js

js topmate.io collected 2026-10-01 11:27:00 UTC 1,927 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8700],{8700:(e,n,t)=>{t.d(n,{TZ:()=>i,sendCustomError:()=>a});let o=null,r=()=>(!o&&(o=`session_${Date.now()}_${Math.random().toString(36).substr(2,9)}`,window?.localStorage&&window.localStorage.setItem("raygun-session-id",o)),o),s=()=>window&&window.rg4js&&window.rg4js("getRaygunInstance")?window.rg4js("getRaygunInstance"):null,i=(e,n={})=>{try{let t=s();if(t){let o=r(),s={userAction:e,actionTimestamp:new Date().toISOString(),sessionId:o,...n};t.withCustomData({lastUserAction:s}),console.log(`Raygun user action tracked: ${e}`)}}catch(e){console.error("Failed to track Raygun user action",e)}},a=(e,n={},t=[])=>{try{let o=s();if(!o)return;let i=r();if(Object.keys(n).length>0&&o.withCustomData({customErrorData:{...n,sessionId:i}}),t.length>0){let e=[...t,`session-${i}`];o.withTags(e)}let a={errorType:l(e),errorCategory:c(e),userJourney:u(),errorTimestamp:new Date().toISOString(),sessionId:i};o.withCustomData({errorContext:a}),o.send(e),console.log("Custom error sent to Raygun successfully")}catch(e){console.error("Failed to send custom error to Raygun",e)}},l=e=>"object"==typeof e&&e?.name?e.name:"object"==typeof e&&e?.constructor?.name?e.constructor.name:"UnknownError",c=e=>{let n=("object"==typeof e?e.message:e)?.toLowerCase()||"";return n.includes("network")||n.includes("fetch")?"network":n.includes("validation")?"validation":n.includes("authentication")?"authentication":n.includes("payment")||n.includes("stripe")?"payment":n.includes("booking")?"booking":"general"},u=()=>{let e=window?.location?.pathname||"";return e.includes("/dashboard")?"dashboard":e.includes("/booking")?"booking-flow":e.includes("/profile")?"profile":e.includes("/payment")?"payment":e.includes("/onboarding")?"onboarding":e.includes("/sign-in")||e.includes("/login")?"authentication":e.includes("/signup")||e.includes("/join")?"registration":"unknown"}}}]);

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.