PageSourceSearch

https://midlandsoccerclub.com/chunk-HF46WQGC.js

js midlandsoccerclub.com collected 2026-10-09 22:39:31 UTC 6,097 bytes, 1 lines download raw bytes

1import{A as w,K as h,R as B,Z as O,a as M,c as H,e as V,g as E,h as U,i as R,j as m,k as v,n as Y,p as j,q as F,qa as K,u as G}from"./chunk-CX7YYXQV.js";import{a as L,b as x}from"./chunk-BMIYOSOG.js";function z(s){let e=0;for(let t of s)t.stackId!==void 0&&e++;return e}var me=/\/(?![vV]\d{1,2}\/)([^/\d?]*\d+[^/?]*)/g;function X(s){return s?s.replace(me,"/?"):"/"}var D=(s,e)=>s||X(e);function q(s,e,t){let{ids:i,names:l}=be(s.views),c=s.longTasks.map(f=>f.id).filter(f=>f!==void 0),a=s.actions?.map(f=>f.id).filter(f=>f!==void 0)??[],{ids:b,labels:y}=ve(s.vitals),p={application:{id:e}};return t&&(p.session={id:t}),i.length&&(p.view={id:i,name:l}),c.length&&(p.long_task={id:c}),a.length&&(p.action={id:a,label:[]}),b.length&&(p.vital={id:b,label:y}),p}function be(s){let e={ids:[],names:[]};for(let t of s)e.ids.push(t.viewId),t.viewName&&e.names.push(t.viewName);return e.names=Array.from(new Set(e.names)),e}function ve(s){let e={ids:[],labels:[]};if(!s)return e;for(let t of s)e.ids.push(t.id),e.labels.push(t.label);return e.labels=Array.from(new Set(e.labels)),e}function J(s,e,t){return{event:he(s,e,t),"wall-time.json":s}}function he(s,e,t){let i=G(e),l=q(s,e.applicationId,t),c=ye(i);return x(L({},l),{attachments:["wall-time.json"],start:new Date(s.startClocks.timeStamp).toISOString(),end:new Date(s.endClocks.timeStamp).toISOString(),family:"chrome",runtime:"chrome",format:"json",version:4,tags_profiler:c.join(","),_dd:{clock_drift:V()}})}function ye(s){return s.concat(["language:javascript","runtime:chrome","family:chrome","host:browser"])}var Ie=v;function Q(s){let e=h({expireDelay:Ie});return s.subscribe(12,({rawRumEvent:t,startClocks:i,duration:l})=>{t.type==="long_task"&&e.add({id:t.long_task.id,startClocks:i,duration:l,entryType:t.long_task.entry_type===B.LONG_TASK?O.LONG_TASK:O.LONG_ANIMATION_FRAME},i.relative).close(m(i.relative,l))}),e}var Te=v;function W(s){let e=h({expireDelay:Te});return s.subscribe(15,t=>{e.add({id:t.id,label:"",startClocks:t.startClocks,duration:void 0},t.startClocks.relative)}),s.subscribe(12,({rawRumEvent:t,startClocks:i,duration:l})=>{if(t.type==="action"){let c=e.getEntries(i.relative).find(b=>b.value.id===t.action.id),a=l??0;c?(c.value.duration=a,c.close(m(i.relative,a))):e.add({id:t.action.id,label:"",startClocks:i,duration:l},i.relative).close(m(i.relative,a))}}),e}var _e=v;function Z(s){let e=h({expireDelay:_e});return s.subscribe(16,t=>{e.add({id:t.id,startClocks:t.startClocks,duration:void 0,label:t.name},t.startClocks.relative)}),s.subscribe(12,({rawRumEvent:t,startClocks:i,duration:l})=>{if(t.type==="vital"){let c=e.getEntries(i.relative).find(a=>a.value.id===t.vital.id);c?(c.value.duration=l,c.close(m(i.relative,l))):e.add({id:t.vital.id,startClocks:i,duration:l,label:t.vital.name},i.relative).close(m(i.relative,l))}}),e}var ge={sampleIntervalMs:10,collectIntervalMs:6e4,minProfileDurationMs:5e3,minNumberOfSamples:50};function Je(s,e,t,i,l,c,a=ge){let b=K(s,e,l,6),y,p=[],f=Q(e),$=W(e),C=Z(e),r={state:"stopped",stateReason:"initializing"};e.subscribe(9,()=>{k("session-expired")}),e.subscribe(10,()=>{r.state==="stopped"&&r.stateReason==="session-expired"&&S()});function S(){if(r.state==="running")return;let n=c.findView();y=n?{startClocks:n.startClocks,viewId:n.id,viewName:D(n.name,document.location.pathname)}:void 0,p.push(w(s,window,"visibilitychange",re).stop,w(s,window,"beforeunload",oe).stop),I()}function ee(){k("stopped-by-user")}function k(n){se(n),p.forEach(o=>o()),p.length=0,i.set({status:"stopped",error_reason:void 0})}function te(n){if(n.state==="running")return{cleanupTasks:n.cleanupTasks};let o=[],d=e.subscribe(2,u=>{let T={viewId:u.id,viewName:D(u.name,document.location.pathname),startClocks:u.startClocks};A(T),y=T});return o.push(d.unsubscribe),{cleanupTasks:o}}function I(){let n=H().Profiler;if(!n)throw i.set({status:"error",error_reason:"not-supported-by-browser"}),new Error("RUM Profiler is not supported in this browser.");r.state==="running"&&g(r);let{cleanupTasks:o}=te(r),d;try{d=new n({sampleInterval:a.sampleIntervalMs,maxBufferSize:Math.round(a.collectIntervalMs*1.5/a.sampleIntervalMs)})}catch(u){u instanceof Error&&u.message.includes("disabled by Document Policy")?(M.warn("[DD_RUM] Profiler startup failed. Ensure your server includes the `Document-Policy: js-profiling` response header when serving HTML pages.",u),i.set({status:"error",error_reason:"missing-document-policy-header"})):i.set({status:"error",error_reason:"unexpected-exception"});return}i.set({status:"running",error_reason:void 0}),r={state:"running",startClocks:E(),profiler:d,timeoutId:j(I,a.collectIntervalMs),views:[],cleanupTasks:o,longTasks:[]},A(y),d.addEventListener("samplebufferfull",N)}function g(n){F(n.timeoutId),n.profiler.removeEventListener("samplebufferfull",N);let{startClocks:o,views:d}=n;n.profiler.stop().then(u=>{let T=E(),_=R(o.relative,T.relative),P=f.findAll(o.relative,_),ue=$.findAll(o.relative,_),de=C.findAll(o.relative,_),pe=_<a.minProfileDurationMs,fe=z(u.samples)<a.minNumberOfSamples;P.length===0&&(pe||fe)||ie(Object.assign(u,{startClocks:o,endClocks:T,clocksOrigin:U(),longTasks:P,actions:ue,vitals:de,views:d,sampleInterval:a.sampleIntervalMs}),o.relative)}).catch(Y)}function se(n){if(r.state!=="running"){(r.state==="paused"||r.state==="stopped"&&n==="stopped-by-user")&&(r={state:"stopped",stateReason:n});return}let o=r;r={state:"stopped",stateReason:n},o.cleanupTasks.forEach(d=>d()),g(o)}function ne(){if(r.state!=="running")return;let n=r;r={state:"paused"},n.cleanupTasks.forEach(o=>o()),g(n)}function A(n){r.state!=="running"||!n||r.views.push(n)}function ie(n,o){let d=t.findTrackedSession(o)?.id,u=J(n,s,d);b.send(u)}function N(){I()}function re(){document.visibilityState==="hidden"&&r.state==="running"?ne():document.visibilityState==="visible"&&r.state==="paused"&&I()}function oe(){I()}function ae(){return r.state==="stopped"}function le(){return r.state==="running"}function ce(){return r.state==="paused"}
1return{start:S,stop:ee,isStopped:ae,isRunning:le,isPaused:ce}}export{ge as DEFAULT_RUM_PROFILER_CONFIGURATION,Je as createRumProfiler};

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.