1;(function () { 2 const middleware = function ({ payload, next, integrations }) { 3 if (window.__agicap_page_data) { 4 payload.obj.context.page.path = window.location.pathname 5 payload.obj.context.page.url = document.URL 6 7 next(payload) 8 } else { 9 next(payload) 10 } 11 } 12 13 const registerMiddleware = () => { 14 if (window && window.analytics) { 15 window.analytics.addSourceMiddleware(middleware) 16 } else { 17 setTimeout(registerMiddleware, 100) 18 } 19 } 20 21 registerMiddleware() 22})()
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.