1!function(){try{var e="u">typeof window?window:"u">typeof global?global:"u">typeof globalThis?globalThis:"u">typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="ce0f87a3-40c4-4a02-81c7-ef662a68fdec",e._sentryDebugIdIdentifier="sentry-dbid-ce0f87a3-40c4-4a02-81c7-ef662a68fdec")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2440],{46460:(e,t,s)=>{s.r(t),s.d(t,{DEFAULT_RUM_PROFILER_CONFIGURATION:()=>_,createRumProfiler:()=>I});var i=s(23452),n=s(23026),r=s(80174),a=s(1008),l=s(23202),o=s(93387),u=s(79808),d=s(45024);let c=/\/(?![vV]\d{1,2}\/)([^/\d?]*\d+[^/?]*)/g,f=(e,t)=>e||(t?t.replace(c,"/?"):"/");var p=s(74970),v=s(74091),m=s(12877);let b=v.AQ;function g(e){let t=(0,m.qj)({expireDelay:b});return e.subscribe(12,({rawRumEvent:e,startClocks:s,duration:i})=>{"long_task"===e.type&&t.add({id:e.long_task.id,startClocks:s,duration:i,entryType:e.long_task.entry_type===d.K.LONG_TASK?d.do.LONG_TASK:d.do.LONG_ANIMATION_FRAME},s.relative).close((0,l.Gw)(s.relative,i))}),t}let w=v.AQ;function h(e){let t=(0,m.qj)({expireDelay:w});return e.subscribe(15,e=>{t.add({id:e.id,label:"",startClocks:e.startClocks,duration:void 0},e.startClocks.relative)}),e.subscribe(12,({rawRumEvent:e,startClocks:s,duration:i})=>{if("action"===e.type){let n=t.getEntries(s.relative).find(t=>t.value.id===e.action.id),r=i??0;n?(n.value.duration=r,n.close((0,l.Gw)(s.relative,r))):t.add({id:e.action.id,label:"",startClocks:s,duration:i},s.relative).close((0,l.Gw)(s.relative,r))}}),t}let y=v.AQ;function k(e){let t=(0,m.qj)({expireDelay:y});return e.subscribe(16,e=>{t.add({id:e.id,startClocks:e.startClocks,duration:void 0,label:e.name},e.startClocks.relative)}),e.subscribe(12,({rawRumEvent:e,startClocks:s,duration:i})=>{if("vital"===e.type){let n=t.getEntries(s.relative).find(t=>t.value.id===e.vital.id);n?(n.value.duration=i,n.close((0,l.Gw)(s.relative,i))):t.add({id:e.vital.id,startClocks:s,duration:i,label:e.vital.name},s.relative).close((0,l.Gw)(s.relative,i))}}),t}let _={sampleIntervalMs:10,collectIntervalMs:6e4,minProfileDurationMs:5e3,minNumberOfSamples:50};function I(e,t,s,c,v,m,b=_){let w,y=(0,d.wP)(e,t,v,6),D=[],M=(0,i.B)(g)(t),S=(0,i.B)(h)(t),T=(0,i.B)(k)(t),C={state:"stopped",stateReason:"initializing"};function E(){if("running"===C.state)return;let t=m.findView();w=t?{startClocks:t.startClocks,viewId:t.id,viewName:f(t.name,document.location.pathname)}:void 0,D.push((0,n.q)(e,window,"visibilitychange",j).stop,(0,n.q)(e,window,"beforeunload",x).stop),N()}function A(e){(function(e){if("running"!==C.state){("paused"===C.state||"stopped"===C.state&&"stopped-by-user"===e)&&(C={state:"stopped",stateReason:e});return}let t=C;C={state:"stopped",stateReason:e},t.cleanupTasks.forEach(e=>e()),O(t)})(e),D.forEach(e=>e()),D.length=0,c.set({status:"stopped",error_reason:void 0})}function N(){let e,s=(0,r.VZ)().Profiler;if(!s)throw c.set({status:"error",error_reason:"not-supported-by-browser"}),Error("RUM Profiler is not supported in this browser.");"running"===C.state&&O(C);let{cleanupTasks:i}=function(e){if("running"===e.state)return{cleanupTasks:e.cleanupTasks};let s=[];return s.push(t.subscribe(2,e=>{let t={viewId:e.id,viewName:f(e.name,document.location.pathname),startClocks:e.startClocks};P(t),w=t}).unsubscribe),{cleanupTasks:s}}(C);try{e=new s({sampleInterval:b.sampleIntervalMs,maxBufferSize:Math.round(1.5*b.collectIntervalMs/b.sampleIntervalMs)})}catch(e){e instanceof Error&&e.message.includes("disabled by Document Policy")?(a.Vy.warn("[DD_RUM] Profiler startup failed. Ensure your server includes the `Document-Policy: js-profiling` response header when serving HTML pages.",e),c.set({status:"error",error_reason:"missing-document-policy-header"})):c.set({status:"error",error_reason:"unexpected-exception"});return}c.set({status:"running",error_reason:void 0}),C={state:"running",startClocks:(0,l.M8)(),profiler:e,timeoutId:(0,o.wg)(N,b.collectIntervalMs),views:[],cleanupTasks:i,longTasks:[]},P(w),e.addEventListener("samplebufferfull",R)}function O(t){(0,o.DJ)(t.timeoutId),t.profiler.removeEventListener("samplebufferfull",R);let{startClocks:i,views:n}=t;t.profiler.stop().then(t=>{let r=(0,l.M8)(),a=(0,l.vk)(i.relative,r.relative),o=M.findAll(i.relative,a),u=S.findAll(i.relative,a),d=T.findAll(i.relative,a),c=a<b.minProfileDurationMs,f=function(e){let t=0;for(let s of e)void 0!==s.stackId&&t++;return t}(t.samples)<b.minNumberOfSamples;0===o.length&&(c||f)||function(t){var i,n,r;let a,o,u,d=s.findTrackedSession()?.id,c={event:(i=t,n=e,r=d,a=(0,p.m5)(n),o=function(e,t,s){let{ids:i,names:n}=function(e){let t={ids:[],names:[]};for(let s of e)t.ids.push(s.viewId),s.viewName&&t.names.push(s.viewName);return t.names=Array.from(new Set(t.names)),t}(e.views),r=e.longTasks.map(e=>e.id).filter(e=>void 0!==e),a=e.actions?.map(e=>e.id).filter(e=>void 0!==e)??[],{ids:l,labels:o}=function(e){let t={ids:[],labels:[]};if(!e)return t;for(let s of e)t.ids.push(s.id),t.labels.push(s.label);return t.labels=Array.from(new Set(t.labels)),t}(e.vitals),u={application:{id:t}};return s&&(u.session={id:s}),i.length&&(u.view={id:i,name:n}),r.length&&(u.long_task={id:r}),a.length&&(u.action={id:a,label:[]}),l.length&&(u.vital={id:l,label:o}),u}(i,n.applicationId,r),u=a.concat(["language:javascript","runtime:chrome","family:chrome","host:browser"]),{...o,attachments:["wall-time.json"],start:new Date(i.startClocks.timeStamp).toISOString(),end:new Date(i.endClocks.timeStamp).toISOString(),family:"chrome",runtime:"chrome",format:"json",version:4,tags_profiler:u.join(","),_dd:{clock_drift:(0,l.TP)()}}),"wall-time.json":t};y.send(c)}(Object.assign(t,{startClocks:i,endClocks:r,clocksOrigin:(0,l.Oc)(),longTasks:o,actions:u,vitals:d,views:n,sampleInterval:b.sampleIntervalMs}))}).catch(u.Dx)}function P(e){"running"===C.state&&e&&C.views.push(e)}function R(){N()}function j(){"hidden"===document.visibilityState&&"running"===C.state?function(){if("running"!==C.state)return;let e=C;C={state:"paused"}
1,e.cleanupTasks.forEach(e=>e()),O(e)}():"visible"===document.visibilityState&&"paused"===C.state&&N()}function x(){N()}return t.subscribe(9,()=>{A("session-expired")}),t.subscribe(10,()=>{"stopped"===C.state&&"session-expired"===C.stateReason&&E()}),{start:E,stop:function(){A("stopped-by-user")},isStopped:function(){return"stopped"===C.state},isRunning:function(){return"running"===C.state},isPaused:function(){return"paused"===C.state}}}}}]);
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.