1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8236],{4148:(e,t,n)=>{let r;n.d(t,{q:()=>l});var o=n(52206),i=n(13845),s=n(21738);let a=1/0,u=s.iW,c=new Set;function l({expireDelay:e,maxEntries:t}){let n=[],l=()=>{if(!e)return;let t=(0,s.$S)()-e;for(;n.length>0&&n[n.length-1].endTime<t;)n.pop()};return e&&(r||(r=(0,o.yb)(()=>void c.forEach(e=>e()),u)),c.add(l)),{add:function(e,r){let o={value:e,startTime:r,endTime:a,remove:()=>{(0,i.Ai)(n,o)},close:e=>{o.endTime=e}};return t&&n.length>=t&&n.pop(),n.unshift(o),o},find:function(e=a,t={returnInactive:!1}){for(let r of n)if(r.startTime<=e){if(t.returnInactive||e<=r.endTime)return r.value;break}},closeActive:function(e){let t=n[0];t?.endTime===a&&t.close(e)},findAll:function(e=a,t=0){let r=(0,s.Gw)(e,t);return n.filter(t=>t.startTime<=r&&e<=t.endTime).map(e=>e.value)},findAllEntries:function(e=a,t=0){let r=(0,s.Gw)(e,t);return n.filter(t=>t.startTime<=r&&e<=t.endTime)},getEntries:function(e){return n.filter(t=>t.startTime===e)},reset:function(){n=[]},stop:function(){c.delete(l),0===c.size&&r&&((0,o.vG)(r),r=void 0)}}}},4533:(e,t,n)=>{n.d(t,{q:()=>o});var r=n(68251);function o(){let{navigator:e}=r.J;return{status:e?.onLine?"connected":"not_connected",interfaces:e?.connection?.type?[e.connection.type]:void 0,effective_type:e?.connection?.effectiveType}}},5422:(e,t,n)=>{n.d(t,{dX:()=>u,cP:()=>s,Fx:()=>a});var r=n(40034),o=n(68251);function i(e){let t=o.J.queueMicrotask;"function"==typeof t?t((0,r.dm)(e)):Promise.resolve().then((0,r.dm)(e))}var s=class{constructor(e){this.onFirstSubscribe=e,this.observers=[]}subscribe(e){return this.addObserver(e),{unsubscribe:()=>this.removeObserver(e)}}notify(e){this.observers.forEach(t=>t(e))}addObserver(e){this.observers.push(e),1===this.observers.length&&this.onFirstSubscribe&&(this.onLastUnsubscribe=this.onFirstSubscribe(this)||void 0)}removeObserver(e){this.observers=this.observers.filter(t=>e!==t),!this.observers.length&&this.onLastUnsubscribe&&this.onLastUnsubscribe()}};function a(...e){return new s(t=>{let n=e.map(e=>e.subscribe(e=>t.notify(e)));return()=>n.forEach(e=>e.unsubscribe())})}var u=class extends s{constructor(e,t){super(),this.maxBufferSize=e,this.onDrop=t,this.buffer=[],this.droppedCount=0}notify(e){this.buffer.push(e),this.buffer.length>this.maxBufferSize&&(this.buffer.shift(),this.droppedCount++),super.notify(e)}subscribe(e){let t=!1;return i(()=>{for(let n of this.buffer){if(t)return;e(n)}t||this.addObserver(e)}),{unsubscribe:()=>{t=!0,this.removeObserver(e)}}}unbuffer(){i(()=>{this.droppedCount>0&&this.onDrop&&this.onDrop(this.droppedCount),this.maxBufferSize=this.buffer.length=0})}}},7011:(e,t,n)=>{function r(e){return e>=500}function o(e){try{return e.clone()}catch{return}}n.d(t,{G:()=>r,i:()=>o})},8321:(e,t,n)=>{n.d(t,{P:()=>s,q:()=>i});var r=n(40034),o=n(29172);function i(e,t,n,i){return(0,r.dm)((...r)=>(i&&(0,o.Q6)({feature:i}),e()[t][n](...r)))}function s(e,t,n){e.changeObservable.subscribe(()=>{let r=e.getContext();n.notify(e=>e[t].setContext(r))})}},8490:(e,t,n)=>{n.d(t,{Hg:()=>u,np:()=>a,ns:()=>s});var r=n(16005),o=n(21738),i=n(36454);function s(e,t,n){return{build:(r,i)=>u({proxy:e.proxy,site:e.site,path:`/api/v2/${t}`,parameters:function({clientToken:e,source:t="browser"},n,r,{retry:i,encoding:s},a=[]){let u=[`ddsource=${t}`,`dd-api-key=${e}`,`dd-evp-origin-version=${encodeURIComponent("7.7.0")}`,"dd-evp-origin=browser",`dd-request-id=${function e(t){return t?(parseInt(t,10)^16*Math.random()>>parseInt(t,10)/4).toString(16):"10000000-1000-4000-8000-100000000000".replace(/[018]/g,e)}()}`].concat(a);return s&&u.push(`dd-evp-encoding=${s}`),"rum"===n&&(u.push(`batch_time=${(0,o.nx)()}`,`_dd.api=${r}`),i&&u.push(`_dd.retry_count=${i.count}`,`_dd.retry_after=${i.lastFailureStatus}`)),u.join("&")}(e,t,r,i,n)}),trackType:t}}function a({replica:e,proxy:t,source:n},r){if(e)return s({clientToken:e.clientToken,proxy:t,source:n,site:i.NW},r,"rum"===r?[`application.id=${e.applicationId}`]:void 0)}function u({proxy:e,site:t=i.NW,path:n,parameters:o="",subdomain:s}){let a=n;if(o&&(a+=`?${o}`),"string"==typeof e){let t=`${(0,r.l2)(e)}?ddforward=${encodeURIComponent(a)}`;return s&&(t+=`&ddforwardSubdomain=${s}`),t}if("function"==typeof e)return e({path:n,parameters:o,subdomain:s});let u=t.split("."),c=u.pop(),l=`browser-intake-${u.join("-")}.${c}`;return s&&(l=`${s}.${l}`),`https://${l}${a}`}},8531:(e,t,n)=>{n.d(t,{LG:()=>u,RI:()=>a,Rj:()=>s,XU:()=>o,yG:()=>i});let r=(e,t)=>"__proto__"===e?void 0:t;function o(e){try{return JSON.parse(e,r)}catch{}}function i(e){return{...e}}function s(e,t){return Object.keys(e).some(n=>e[n]===t)}function a(e){return 0===Object.keys(e).length}function u(e,t){let n={};for(let r of Object.keys(e))n[r]=t(e[r]);return n}},11697:(e,t,n)=>{function r(e){return e?(parseInt(e,10)^16*Math.random()>>parseInt(e,10)/4).toString(16):"10000000-1000-4000-8000-100000000000".replace(/[018]/g,r)}n.d(t,{Dh:()=>s,_R:()=>u,it:()=>a,lk:()=>r,rx:()=>i});let o=/(\S+?)\s*=\s*(.*?)(?:;|$)/g;function i(e,t){for(o.lastIndex=0;;){let n=o.exec(e);if(n){if(n[1]===t)return n[2]}else break}}function s(e){let t=new Map;for(o.lastIndex=0;;){let n=o.exec(e);if(n){let e=n[1],r=n[2];t.has(e)?t.get(e).push(r):t.set(e,[r])}else break}return t}function a(e){let t=new Map;for(o.lastIndex=0;;){let n=o.exec(e);if(n)t.set(n[1],n[2]);else break}return t}function u(e,t,n=""){let r=e.charCodeAt(t-1),o=r>=55296&&r<=56319?t+1:t;return e.length<=o?e:`${e.slice(0,o)}${n}`}},12642:(e,t,n)=>{n.d(t,{Aq:()=>s,R9:()=>o,q7:()=>u,sr:()=>a});var r=n(8531);let o=function(e){return e.TRACK_INTAKE_REQUESTS="track_intake_requests",e.TRACK_WEBSOCKETS="track_websockets",e}({}),i=new Set;function s(e){Array.isArray(e)&&e.filter(e=>
1(0,r.Rj)(o,e)).forEach(e=>{i.add(e)})}function a(e){return i.has(e)}function u(){return i}},13041:(e,t,n)=>{n.d(t,{WA:()=>i,hF:()=>a,hO:()=>u,uT:()=>s});var r=n(94687),o=n(36454);let i={ALLOW:"allow",MASK:"mask",MASK_USER_INPUT:"mask-user-input",MASK_UNLESS_ALLOWLISTED:"mask-unless-allowlisted"},s={ALL:"all",SAMPLED:"sampled"},a={clientToken:{type:"string",required:!0},service:{type:"string"},env:{type:"string"},version:{type:"string"},site:{type:"site",default:o.NW},proxy:{type:"union",variants:[{type:"string"},{type:"function",signature:void 0}]},sessionSampleRate:{type:"percentage",default:100},telemetrySampleRate:{type:"percentage",default:20},telemetryConfigurationSampleRate:{type:"percentage",default:5},telemetryUsageSampleRate:{type:"percentage",default:5},silentMultipleInit:{type:"boolean",default:!1,strict:!1},storeContextsAcrossPages:{type:"boolean",default:!1,strict:!1},trackAnonymousUser:{type:"boolean",default:!0,strict:!1},useSecureSessionCookie:{type:"boolean",default:!1,strict:!1},usePartitionedCrossSiteSessionCookie:{type:"boolean",default:!1,strict:!1},trackSessionAcrossSubdomains:{type:"boolean",default:!1,strict:!1},allowedTrackingOrigins:{type:"match-option",multiple:!0,strict:!1},trackingConsent:{type:"enum",values:r.w,default:r.w.GRANTED},beforeSend:{type:"function",signature:void 0},source:{type:"enum",values:["browser","flutter","unity"],default:"browser",strict:!1},sessionPersistence:{type:"enum",values:["cookie","local-storage","memory"],multiple:!0,strict:!1},replica:{type:"schema",schema:{clientToken:{type:"string",required:!0},applicationId:{type:"string"}}},datacenter:{type:"string"},sdkVersion:{type:"string"},variant:{type:"string"}};function u(e){return{session_sample_rate:e.sessionSampleRate,telemetry_sample_rate:e.telemetrySampleRate,telemetry_configuration_sample_rate:e.telemetryConfigurationSampleRate,telemetry_usage_sample_rate:e.telemetryUsageSampleRate,use_before_send:!!e.beforeSend,use_partitioned_cross_site_session_cookie:e.usePartitionedCrossSiteSessionCookie,use_secure_session_cookie:e.useSecureSessionCookie,use_proxy:!!e.proxy,silent_multiple_init:e.silentMultipleInit,track_session_across_subdomains:e.trackSessionAcrossSubdomains,track_anonymous_user:e.trackAnonymousUser,session_persistence:Array.isArray(e.sessionPersistence)?e.sessionPersistence[0]:e.sessionPersistence,store_contexts_across_pages:!!e.storeContextsAcrossPages,allow_untrusted_events:!!e.allowUntrustedEvents,tracking_consent:e.trackingConsent,use_allowed_tracking_origins:Array.isArray(e.allowedTrackingOrigins),source:e.source,sdk_version:e.sdkVersion,variant:e.variant}}},13845:(e,t,n)=>{function r(e,t){let n=e.indexOf(t);n>=0&&e.splice(n,1)}function o(e){return Array.isArray(e)&&e.length>0}n.d(t,{Ai:()=>r,EI:()=>o})},16005:(e,t,n)=>{let r;n.d(t,{AY:()=>s,L2:()=>a,c$:()=>u,l2:()=>i});var o=n(68251);function i(e){return u(e,o.J.location?.href).href}function s(e){try{return!!u(e)}catch{return!1}}function a(e){let t=u(e).pathname;return"/"===t[0]?t:`/${t}`}function u(e,t){let{URL:n}=function(){if(!r){let e,t;try{(e=document.createElement("iframe")).style.display="none",document.body.appendChild(e),t=e.contentWindow??o.J}catch{t=o.J}r={URL:t.URL},e?.remove()}return r}();try{return void 0!==t?new n(e,t):new n(e)}catch(e){throw Error(`Failed to construct URL: ${String(e)}`)}}},19073:(e,t,n)=>{n.d(t,{H7:()=>a,my:()=>u,tv:()=>d});var r=n(40034),o=n(52206),i=n(72948),s=n(80886);function a(e,t,n,{computeHandlingStack:r}={}){let o=e[t];if("function"!=typeof o)if(!(t in e&&"string"==typeof t&&t.startsWith("on")))return{stop:i.l};else o=i.l;let u=!1,{stop:d}=c(e,t,o,function(){if(u)return o.apply(this,arguments);let e=Array.from(arguments);return l(n,{target:this,parameters:e,handlingStack:r?(0,s.uC)("instrumented method"):void 0},()=>o.apply(this,e))});return{stop:()=>{u=!0,d()}}}function u(e,t,n,{computeHandlingStack:r}={}){let o=e[t];if("function"!=typeof o)return{stop:i.l};let a=!1,d=function(){if(!new.target)return Reflect.apply(o,this,Array.from(arguments));let e=new.target===d?o:new.target;if(a)return Reflect.construct(o,arguments,e);let t=Array.from(arguments);return l(n,{parameters:t,handlingStack:r?(0,s.uC)("instrumented constructor"):void 0},()=>Reflect.construct(o,t,e))},f=function(e,t){for(let n of[].concat(Object.getOwnPropertyNames(t),Object.getOwnPropertySymbols(t))){let r=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(e,n,r)}let{stop:n}=c(t.prototype,"constructor",t.prototype.constructor,e);return n}(d,o),{stop:p}=c(e,t,o,d);return{stop:()=>{a=!0,f(),p()}}}function c(e,t,n,r){return e[t]=r,{stop:()=>{e[t]===r&&(e[t]=n)}}}function l(e,t,n){let o;(0,r.um)(e,null,[{...t,onPostCall:e=>{o=e}}]);let i=n();return o&&(0,r.um)(o,null,[i]),i}function d(e,t,n){let r=Object.getOwnPropertyDescriptor(e,t);if(!r?.set||!r.configurable)return{stop:i.l};let s=i.l,a=(e,t)=>{(0,o.wg)(()=>{a!==s&&n(e,t)},0)},u=function(e){r.set.call(this,e),a(this,e)};
1return Object.defineProperty(e,t,{set:u}),{stop:()=>{Object.getOwnPropertyDescriptor(e,t)?.set===u&&Object.defineProperty(e,t,r),a=s}}}},19465:(e,t,n)=>{let r;n.d(t,{BX:()=>l,fK:()=>d,gX:()=>a,lQ:()=>c,q2:()=>u});var o=n(40034),i=n(88948),s=n(72948);let a=function(e){return e.BEFORE_UNLOAD="beforeunload",e.CLICK="click",e.DBL_CLICK="dblclick",e.KEY_DOWN="keydown",e.LOAD="load",e.POP_STATE="popstate",e.SCROLL="scroll",e.TOUCH_START="touchstart",e.TOUCH_END="touchend",e.TOUCH_MOVE="touchmove",e.VISIBILITY_CHANGE="visibilitychange",e.PAGE_SHOW="pageshow",e.FREEZE="freeze",e.RESUME="resume",e.DOM_CONTENT_LOADED="DOMContentLoaded",e.POINTER_DOWN="pointerdown",e.POINTER_UP="pointerup",e.POINTER_CANCEL="pointercancel",e.HASH_CHANGE="hashchange",e.PAGE_HIDE="pagehide",e.MOUSE_DOWN="mousedown",e.MOUSE_UP="mouseup",e.MOUSE_MOVE="mousemove",e.FOCUS="focus",e.BLUR="blur",e.CONTEXT_MENU="contextmenu",e.RESIZE="resize",e.CHANGE="change",e.INPUT="input",e.PLAY="play",e.PAUSE="pause",e.SECURITY_POLICY_VIOLATION="securitypolicyviolation",e.SELECTION_CHANGE="selectionchange",e.STORAGE="storage",e.UNHANDLED_REJECTION="unhandledrejection",e}({});function u(e,t,n,r){return c(e,[t],n,r)}function c(e,t,n,{once:s,capture:a,passive:u}={}){let l=(0,o.dm)(e=>{(e.isTrusted||e.__ddIsTrusted||!1!==r)&&(s&&g(),n(e))}),d=u?{capture:a,passive:u}:a,f=window.EventTarget&&e instanceof EventTarget?window.EventTarget.prototype:e,p=(0,i.W)(f,"addEventListener");function g(){let n=(0,i.W)(f,"removeEventListener");t.forEach(t=>n.call(e,t,l,d))}return t.forEach(t=>p.call(e,t,l,d)),{stop:g}}function l(e,t){if(!e)return!1;try{return u(e,t,s.l).stop(),!0}catch{return!1}}function d(e){!0!==r&&(r=e??!1)}},19522:(e,t,n)=>{n.d(t,{WW:()=>s,_m:()=>r,iH:()=>o,wh:()=>a});let r=1024,o=1048576,i=/[^\u0000-\u007F]/;function s(e){return i.test(e)?new TextEncoder().encode(e).length:e.length}function a(e){if(1===e.length)return e[0];let t=new Uint8Array(e.reduce((e,t)=>e+t.length,0)),n=0;for(let r of e)t.set(r,n),n+=r.length;return t}},19986:(e,t,n)=>{let r;n.d(t,{ox:()=>W,Ql:()=>F});var o=n(50331),i=n(40034),s=n(5422),a=n(11697),u=n(78415),c=n(52206),l=n(72948),d=n(19465),f=n(29172),p=n(4148),g=n(68196),y=n(8531),m=n(65515),h=n(23466);let b=/^([a-zA-Z]+)=([a-z0-9-]+)$/;var v=n(21738);function S(e){return e.created?Number(e.created):void 0}function E(e){let t=e.expire&&Number(e.expire),n=S(e);if(t&&n)return Math.min(t,n+h.AQ)}function w(e,t){let n={isExpired:"1"};return t.trackAnonymousUser&&e?.anonymousId&&(n.anonymousId=e?.anonymousId),n}function O(e){return(0,y.RI)(e)}function _(e){return void 0!==e.isExpired||!function(e){let t=E(e);return!!t&&(0,v.x3)()<t}(e)}function C(e){e.expire=String((0,v.x3)()+h.HB)}function A(e){return(0,m.WP)(e).map(([e,t])=>"anonymousId"===e?`aid=${t}`:`${e}=${t}`).join("&")}function R(e){let t={};return e&&(-1!==e.indexOf("&")||b.test(e))&&e.split("&").forEach(e=>{let n=b.exec(e);if(null!==n){let[,e,r]=n;"aid"===e?t.anonymousId=r:t[e]=r}}),t}function k(e,t){return O(e)?(t.trackAnonymousUser&&(e.anonymousId=(0,a.lk)()),w(e,t)):e}function T(e,t){if(O(e))return e;let n=e;return _(e)&&(n=w(e,t)),n.id||(n.id=(0,a.lk)(),n.created=String((0,v.x3)())),t.trackAnonymousUser&&!n.anonymousId&&(n.anonymousId=(0,a.lk)()),delete n.isExpired,C(n),n}var x=n(83312),$=n(30082);let I="_dd_s_v2",N="_dd_s";async function P(e){let t=(0,x.fJ)(e);if(t){if((0,$.gU)()&&await (0,$.z$)($.i1,t))return{type:h.Q_.COOKIE,cookieOptions:t,cookieApi:1};if(await (0,$.z$)($.yA,t))return{type:h.Q_.COOKIE,cookieOptions:t,cookieApi:0}}}function D(e,t){return 1===e?(0,$.i1)(I,t):(0,$.yA)(I,t)}function M(e,t){let n;for(let r of e.slice().reverse())if((n=R(r)).c===t)break;return delete n?.c,n??{}}function U(e){return((e.domain?e.domain.split(".").length-1:0)<<1|!!e.crossSite).toString(16)}var L=n(68251);let G="_DD_SESSION";async function q(e){var t;for(let n of void 0!==(t=e.sessionPersistence)?t:L.W?[h.Q_.MEMORY]:[h.Q_.COOKIE]){let t=await function(e,t){switch(e){case h.Q_.COOKIE:return P(t);case h.Q_.LOCAL_STORAGE:try{let e=(0,a.lk)(),t=`_dd_test_${e}`;localStorage.setItem(t,e);let n=localStorage.getItem(t);return localStorage.removeItem(t),e===n?{type:h.Q_.LOCAL_STORAGE}:void 0}catch{return}case h.Q_.MEMORY:return{type:h.Q_.MEMORY};default:o.Vy.error(`Invalid session persistence '${String(e)}'`);return}}(n,e);if(void 0!==t)return t}}function B(e,t){switch(e.type){case h.Q_.COOKIE:return function(e,t){let{c
1ookieOptions:n,cookieApi:o}=e,a=new s.cP,c=!!t.trackAnonymousUser,l=U(n),d=(0,u.B)(D)(o,n),f=!0;function p(e){return d.getAllAndSet(t=>{var r,o;let i=M(t,l);return f&&(0,y.RI)(i)&&(i=M((0,x.OR)(N),l)),f=!1,{value:(r=e(i),o=n,A((0,y.RI)(r)?r:{...r,c:U(o)})),expireDelay:c?h._P:h.AQ}})}return d.observable.subscribe(()=>{d.getAll().then(e=>{a.notify(M(e,l))}).catch(e=>(0,i.Dx)(Error(`Error while reading session cookies on change: ${e}`)))}),{async setSessionState(e,t){"undefined"!=typeof navigator&&navigator.locks?await navigator.locks.request(I,()=>p(e)).catch(e=>{var t;if(!((t=e)instanceof Error&&("AbortError"===t.name||t.message.includes("no longer runnable"))))throw e}):(r=(r??Promise.resolve()).then(()=>p(e)),await r)},sessionObservable:a}}(e,t);case h.Q_.LOCAL_STORAGE:let n=new s.cP(e=>(0,d.q2)(window,"storage",t=>{"_dd_s_v2"===t.key&&t.storageArea===localStorage&&e.notify(R(t.newValue))}).stop),o=!0;return{async setSessionState(e,t){let r=R(localStorage.getItem(I));o&&O(r)&&(r=R(localStorage.getItem(N))),o=!1;let i=e(r);localStorage.setItem(I,A(i)),await Promise.resolve(),n.notify(i)},sessionObservable:n};case h.Q_.MEMORY:let a=L.J;a._DD_SESSION||(a[G]={});let c=a[G],l=new s.cP,f=c.onChange;return c.onChange=e=>{f?.(e),l.notify(e)},{async setSessionState(e,t){let n=(0,y.yG)(e(c.state??{}));c.state=n,await Promise.resolve(),c.onChange?.(n)},sessionObservable:l}}}let H=v.iW,j=12*v.MA,J=[];async function W(e,t){let n,r=(0,v.$S)(),a=new s.cP,y=new s.cP,m=await (0,u.B)(q)(e);if(!m)return void o.Vy.warn("No storage available for session. We will not send any data.");let h=(0,u.B)(B)(m,e),b=(0,p.q)({maxEntries:1e3});J.push(()=>b.stop());let A=!1,{throttled:R,cancel:x}=(0,l.n)(()=>{A=!1,h.setSessionState(t=>T(t,e),"expandOrRenewOnActivity").catch(i.Dx)},v.OY);J.push(x),J.push(()=>(0,c.DJ)(n));let $=!1;J.push(()=>{$=!0});let I=await N().catch(e=>(0,i.Dx)(Error(`Error while resolving initial session state: ${e}`)));if(I&&!$){for(;!t.isGranted();)if(M(),await new Promise(e=>t.onGrantedOnce(e)),$||!(I=await N().catch(i.Dx))||$)return;return b.add(U(I),(0,v.Oc)().relative),P(I),function(){let e=h.sessionObservable.subscribe(e=>{P(e),D(e)});J.push(()=>e.unsubscribe())}(),t.observable.subscribe(()=>{t.isGranted()?(A=!1,h.setSessionState(t=>T(t,e),"expandOrRenewOnConsent").catch(i.Dx)):M()}),L.W||(function(e){let{stop:t}=(0,d.lQ)(window,["click","touchstart","keydown","scroll"],e,{capture:!0,passive:!0});J.push(t)}(()=>{t.isGranted()&&R()}),function(e){let t=()=>{"visible"===document.visibilityState&&e()},{stop:n}=(0,d.q2)(document,"visibilitychange",t);J.push(n);let r=(0,c.yb)(t,H);J.push(()=>{(0,c.vG)(r)})}(()=>{A||h.setSessionState(e=>(_(e)||O(e)||!e.id||C(e),e),"expandOnVisibility").catch(i.Dx)}),function(e){let{stop:t}=(0,d.q2)(window,"resume",e,{capture:!0});J.push(t)}(()=>{h.setSessionState(t=>k(t,e),"initializeOnResume").catch(i.Dx)})),(0,f.Gk)("Session manager init metrics",{metrics:{duration:(0,v.vk)(r,(0,v.$S)())}}),{findSession:(e,t)=>b.find(e,t),findTrackedSession:(t,{returnInactive:n=!1,maxAge:r=j}={})=>{let o=b.find(t,{returnInactive:n});if(o&&"invalid"!==o.id&&(0,g.$5)(o.id,e.sessionSampleRate)&&!((0,v.x3)()-o.createdAt>r))return o},renewObservable:a,expireObservable:y,expire:M,updateSessionState:e=>{h.setSessionState(t=>({...t,...e}),"updateState").catch(i.Dx)}}}async function N(){let t={};return await h.setSessionState(n=>t=T(k(n,e),e),"initialize"),t}function P(r){(0,c.DJ)(n);let o=E(r);o&&(n=(0,c.wg)(()=>{h.setSessionState(n=>_(n)?(t.isGranted()||delete n.anonymousId,w(n,e)):n,"expireOnTimeout").catch(i.Dx)},o-(0,v.x3)()))}function D(e){let t=b.find(),n=t?.id!==void 0,r=void 0!==e.id,o=n&&r&&t.id!==e.id;if(n&&(!r||o)&&(A=!0,y.notify(),b.closeActive((0,v.$S)())),r&&(!n||o)){if(A)return;b.add(U(e),(0,v.$S)()),a.notify()}else n&&r&&!o&&(t.isReplayForced=!!e.forcedReplay)}function M(){x();let n=w(b.find(),e);t.isGranted()||delete n.anonymousId,D(n),h.setSessionState(n=>(t.isGranted()||delete n.anonymousId,w(n,e)),"expire").catch(i.Dx)}function U(e){let t=S(e)??(0,v.nx)();return e.id?{id:e.id,isReplayForced:!!e.forcedReplay,anonymousId:e.anonymousId,createdAt:t}:{id:"invalid",isReplayForced:!1,anonymousId:void 0,createdAt:t}}}
1function F(){let e={id:(0,a.lk)(),isReplayForced:!1,anonymousId:void 0,createdAt:(0,v.nx)()};return Promise.resolve({findSession:()=>e,findTrackedSession:()=>e,renewObservable:new s.cP,expireObservable:new s.cP,expire:l.l,updateSessionState:t=>{e={...e,...t}}})}},20829:(e,t,n)=>{n.d(t,{J:()=>l,y:()=>d});var r=n(74883),o=n(29172),i=n(68251);let s=new Map,a=new Set,u=!1;function c(){let e=i.J.window?.DD_SOURCE_CODE_CONTEXT;if(!e)return;let t=!1,n=!1,c=!1;for(let[o,i]of Object.entries(e)){if(t=t||void 0!==i.ddDebugId,n=n||void 0!==i.service,c=c||void 0!==i.version,a.has(o))continue;a.add(o);let e=(0,r.T)({stack:o}).stack[0]?.url;e&&!s.has(e)&&s.set(e,i)}u||(u=!0,(0,o.Q6)({feature:"source-code-context",use_debug_id:t,use_service:n,use_version:c}))}function l(e){c();let t=new Set,n=[];for(let r of e){if(t.has(r))continue;t.add(r);let e=s.get(r)?.ddDebugId;void 0!==e&&n.push({url:r,id:e})}return n.length?n:void 0}function d(e){return c(),s.get(e)}},21738:(e,t,n)=>{let r;n.d(t,{$H:()=>a,$S:()=>p,A3:()=>v,FR:()=>m,Gw:()=>f,M8:()=>g,MA:()=>s,OY:()=>o,Oc:()=>y,Zj:()=>d,_O:()=>S,d6:()=>b,iW:()=>i,jR:()=>h,nx:()=>c,uc:()=>E,vk:()=>l,x3:()=>u});let o=1e3,i=6e4,s=36e5,a=31536e6;function u(){return new Date().getTime()}function c(){return u()}function l(e,t){return t-e}function d(e){return"number"!=typeof e?e:Math.round(1e6*e)}function f(e,t){return e+t}function p(){return performance.now()}function g(){return{relative:p(),timeStamp:c()}}function y(){return{relative:0,timeStamp:E()}}function m(e){return{relative:e,timeStamp:function(e){let t=u()-performance.now();return t>E()?Math.round(t+e):Math.round(E()+e)}(e)}}function h(e){return{relative:b(e),timeStamp:e}}function b(e){return e-E()}function v(e){return e<a}function S(){return Math.round(u()-(E()+performance.now()))}function E(){return void 0===r&&(r=performance.timing?.navigationStart??performance.timeOrigin),r}},22818:(e,t,n)=>{n.d(t,{M:()=>i,s:()=>o});var r=n(72948);function o(e,t,n){if("object"!=typeof e||null===e)return JSON.stringify(e);let r=i(Object.prototype),o=i(Array.prototype),s=i(Object.getPrototypeOf(e)),a=i(e);try{return JSON.stringify(e,t,n)}catch{return"<error: unable to serialize object>"}finally{r(),o(),s(),a()}}function i(e){let t=e.toJSON;return t?(delete e.toJSON,()=>{e.toJSON=t}):r.l}},23309:(e,t,n)=>{n.d(t,{b:()=>o});var r=n(68251);function o(e,t){let n=r.J.__ddBrowserSdkExtensionCallback;n&&n({type:e,payload:t})}},23466:(e,t,n)=>{n.d(t,{AQ:()=>o,HB:()=>i,Q_:()=>a,_P:()=>s});var r=n(21738);let o=4*r.MA,i=15*r.iW,s=r.$H,a={COOKIE:"cookie",MEMORY:"memory",LOCAL_STORAGE:"local-storage"}},24595:(e,t,n)=>{n.d(t,{AK:()=>b,sA:()=>v});var r=n(40034),o=n(5422),i=n(19522),s=n(97984),a=n(52206),u=n(7011),c=n(21738);let l=80*i._m,d=20*i.iH,f=c.iW,p=c.OY;function g(e,t,n,r,o,i){0===t.transportStatus&&0===t.queuedPayloads.size()&&t.bandwidthMonitor.canHandle(e)?y(e,t,n,i,{onSuccess:()=>m(0,t,n,r,o,i),onFailure:()=>{t.queuedPayloads.enqueue(e)||i.notify({type:"queue-full",bandwidth:t.bandwidthMonitor.stats(),payload:e}),function e(t,n,r,o,i){2===t.transportStatus&&(0,a.wg)(()=>{y(t.queuedPayloads.first(),t,n,i,{onSuccess:()=>{t.queuedPayloads.dequeue(),t.currentBackoffTime=p,m(1,t,n,r,o,i)},onFailure:()=>{t.currentBackoffTime=Math.min(f,2*t.currentBackoffTime),e(t,n,r,o,i)}})},t.currentBackoffTime)}(t,n,r,o,i)}}):t.queuedPayloads.enqueue(e)||i.notify({type:"queue-full",bandwidth:t.bandwidthMonitor.stats(),payload:e})}function y(e,t,n,r,{onSuccess:o,onFailure:i}){t.bandwidthMonitor.add(e),n(e,n=>{var s;t.bandwidthMonitor.remove(e),"opaque"!==(s=n).type&&(0===s.status&&!navigator.onLine||408===s.status||429===s.status||(0,u.G)(s.status))?(t.transportStatus=t.bandwidthMonitor.ongoingRequestCount>0?1:2,e.retry={count:e.retry?e.retry.count+1:1,lastFailureStatus:n.status},r.notify({type:"failure",bandwidth:t.bandwidthMonitor.stats(),payload:e}),i()):(t.transportStatus=0,r.notify({type:"success",bandwidth:t.bandwidthMonitor.stats(),payload:e}),o())})}function m(e,t,n,r,o,s){0===e&&t.queuedPayloads.isFull()&&!t.queueFullReported&&(o(`Reached max ${r} events size queued for upload: ${d/i.iH}MiB`),t.queueFullReported=!0);let a=t.queuedPayloads;for(t.queuedPayloads=h();a.size()>0;)g(a.dequeue(),t,n,r,o,s)}function h(){let e=[];return{bytesCount:0,enqueue(t){return!this.isFull()&&(e.push(t),this.bytesCount+=t.bytesCount,!0)},first:()=>e[0],dequeue(){let t=e.shift();return t&&(this.bytesCount-=t.bytesCount),t},size:()=>e.length,isFull(){return this.bytesCount>=d}}}let b=16*i._m;function v(e,t,n=b){let i=new o.cP,s={transportStatus:0,currentBackoffTime:p,bandwidthMonitor:{ongoingRequestCount:0,ongoingByteCount:0,canHandle(e){return 0===this.ongoingRequestCount||this.ongoingByteCount+e.bytesCount<=l&&this.ongoingRequestCount<32},add(e){this.ongoingRequestCount+=1,this.ongoingByteCount+=e.bytesCount},remove(e){this.ongoingRequestCount-=1,this.ongoingByteCount-=e.bytesCount},stats(){return{ongoingByteCount:this.ongoingByteCount,ongoingRequestCount:this.ongoingRequestCount}}},queuedPayloads:h(),queueFullReported:!1};return{observable:i,send:n=>{for(let r of e)g(n,s,(e,t)=>{E(r,e,t)},r.trackType,t,i)},sendOnExit:t=>{for(let o of e)!function(e,t,n){if(n.bytesCount<t)try{let t=e.build("beacon",n);if(navigator.sendBeacon(t,n.data))return}catch(e){var o;o=e,S||(S=!0,(0,r.Dx)(o))}E(e,n)}(o,n,t)}}}let S=!1;function E(e,t,n){(0,s.h)(e.build("fetch",t),{method:"POST",body:t.data,mode:"cors"}).then((0,r.dm)(e=>n?.({status:e.status,type:e.type}))).catch((0,r.dm)(()=>n?.({status:0})))}}
1,24933:(e,t,n)=>{n.d(t,{D:()=>l});var r=n(50331),o=n(5422),i=n(38446),s=n(87584),a=n(76225);function u(e,t,n){let o={...e};for(let[e,{required:i,type:s}]of Object.entries(t))"string"!==s||c(o[e])||(o[e]=String(o[e])),i&&c(o[e])&&r.Vy.warn(`The property ${e} of ${n} is required; context will not be sent to the intake.`);return o}function c(e){return null==e||""===e}function l(e="",{propertiesConfig:t={}}={}){let n={},c=new o.cP,d={getContext:()=>(0,a.Go)(n),setContext:o=>{!function(e){let t="object"===(0,s.Pw)(e);return t||r.Vy.error("Unsupported context:",e),t}(o)?d.clearContext():n=(0,i.a)(u(o,t,e)),c.notify()},setContextProperty:(r,o)=>{n=(0,i.a)(u({...n,[r]:o},t,e)),c.notify()},removeContextProperty:r=>{delete n[r],u(n,t,e),c.notify()},clearContext:()=>{n={},c.notify()},changeObservable:c};return d}},27648:(e,t,n)=>{n.d(t,{V:()=>l,u:()=>d});var r=n(40034),o=n(5422),i=n(11697),s=n(80886),a=n(19465),u=n(61704),c=n(21738);let l={intervention:"intervention",deprecation:"deprecation",cspViolation:"csp_violation"};function d(e){var t;let n=[];e.includes(l.cspViolation)&&n.push(new o.cP(e=>{if(!(0,a.BX)(document,"securitypolicyviolation"))return;let{stop:t}=(0,a.q2)(document,"securitypolicyviolation",t=>{e.notify(function(e){let t=`'${e.blockedURI}' blocked by '${e.effectiveDirective}' directive`;return f({type:e.effectiveDirective,message:`${l.cspViolation}: ${t}`,originalError:e,csp:{disposition:e.disposition},stack:p(e.effectiveDirective,e.originalPolicy?`${t} of the policy "${(0,i._R)(e.originalPolicy,100,"...")}"`:"no policy",e.sourceFile,e.lineNumber,e.columnNumber)})}(t))});return t}));let s=e.filter(e=>e!==l.cspViolation);return s.length&&n.push((t=s,new o.cP(e=>{if(!window.ReportingObserver)return;let n=(0,r.dm)((t,n)=>t.forEach(t=>e.notify(function(e){let{type:t,body:n}=e;return f({type:n.id,message:`${t}: ${n.message}`,originalError:e,stack:p(n.id,n.message,n.sourceFile,n.lineNumber,n.columnNumber)})}(t)))),o=new window.ReportingObserver(n,{types:t,buffered:!0});return o.observe(),()=>{o.disconnect()}}))),(0,o.Fx)(...n)}function f(e){return{startClocks:(0,c.M8)(),source:u.gf.REPORT,handling:"unhandled",...e}}function p(e,t,n,r,o){return n?(0,s.Yn)({name:e,message:t,stack:[{func:"?",url:n,line:r??void 0,column:o??void 0}]}):void 0}},29172:(e,t,n)=>{let r;n.d(t,{Xf:()=>T,H0:()=>k,Rr:()=>D,A2:()=>N,VJ:()=>P,Gk:()=>M,Q6:()=>U,a5:()=>I});var o=n(50331),i=n(40034),s=n(5422),a=n(12642),u=n(72948),c=n(74883),l=n(80886),d=n(22818),f=n(32989),p=n(39473),g=n(23309),y=n(82337),m=n(4533),h=n(46224),b=n(30359);let v={LOG:"log",CONFIGURATION:"configuration",USAGE:"usage"};var S=n(36454),E=n(8490),w=n(76225),O=n(68251),_=n(30462),C=n(21738),A=n(59102);let R=["https://www.datadoghq-browser-agent.com","https://www.datad0g-browser-agent.com","https://d3uc069fcn7uxw.cloudfront.net","https://d20xtzwzcl0ceb.cloudfront.net","http://localhost","<anonymous>"],k=function(e){return e.LOGS="browser-logs-sdk",e.RUM="browser-rum-sdk",e}({}),T=function(e){return e.CUSTOMER_DATA_METRIC_NAME="Customer data measures",e.REMOTE_CONFIGURATION_METRIC_NAME="remote configuration metrics",e.RECORDER_INIT_METRICS_TELEMETRY_NAME="Recorder init metrics",e.SEGMENT_METRICS_TELEMETRY_NAME="Segment network request metrics",e.SESSION_MANAGER_INIT_METRICS_TELEMETRY_NAME="Session manager init metrics",e}({}),x=[S.R8,S.KG];function $(){return r||(r=new s.dX(100)),r}function I(e,t,n,r){let o=new s.cP,{enabled:c,metricsEnabled:l}=function(e,t,n,r,o,s=1,u=15){let c={},l=!x.includes(t.site)&&(0,y.ic)(t.telemetrySampleRate),f={[v.LOG]:l,[v.CONFIGURATION]:l&&(0,y.ic)(t.telemetryConfigurationSampleRate),[v.USAGE]:l&&(0,y.ic)(t.telemetryUsageSampleRate),metric:l&&(0,y.ic)(s)},h={is_local_file:O.J.location?.protocol==="file:",is_worker:O.W},b=$();return b.subscribe(({rawEvent:i,metricName:s})=>{var l,y,b,v;if(s&&!f.metric||!f[i.type])return;let S=s||i.status||i.type,E=c[S];if(E||(E=c[S]=new Set),E.size>=u)return;let O=(0,d.s)(i);if(E.has(O))return;let _=n.trigger({startTime:(0,C.M8)().relative});if(_===A.ug)return;let R=(l=_,y=e,b=i,v=h,(0,w.kg)({type:"telemetry",date:(0,C.M8)().timeStamp,service:y,version:"7.7.0",source:"browser",_dd:{format_version:2},telemetry:(0,w.kg)(b,{runtime_env:v,connectivity:(0,m.q)(),sdk_setup:"npm",sdk_name:o}),ddtags:(0,p.m5)(t).join(","),experimental_features:Array.from((0,a.q7)())},l));r.notify(R),(0,g.b)("telemetry",R),E.add(O)}),b.unbuffer(),(0,i.Bd)(P),{enabled:l,metricsEnabled:f.metric}}(e,t,n,o,r),{stop:f}=function(e,t){let n=[];if((0,h.d0)()){let e=(0,h.Y9)(),r=t.subscribe(t=>e.send("internal_telemetry",t));n.push(r.unsubscribe)}else{let r=[(0,E.ns)(e,"rum")],o=(0,E.np)(e,"rum");o&&e.site===S.Bb&&r.push(o);let i=(0,b.X)({endpoints:r,reportError:u.l});n.push(i.stop);let s=t.subscribe(i.add);n.push(s.unsubscribe)}return{stop:()=>
1n.forEach(e=>e())}}(t,o);return{stop:f,enabled:c,metricsEnabled:l}}function N(e,t){(0,_.N)()&&o.Vy.debug("[Telemetry]",e,t),$().notify({rawEvent:{type:v.LOG,message:e,status:"debug",...t}})}function P(e,t){$().notify({rawEvent:{type:v.LOG,status:"error",...function(e){if((0,f.b)(e)){var t;let n=(0,c.T)(e);return{error:{kind:n.name,stack:(0,l.Yn)(((t=n).stack=t.stack.filter(e=>!e.url||R.some(t=>e.url.startsWith(t))),t))},message:n.message}}return{error:{stack:f.e},message:`Uncaught ${(0,d.s)(e)}`}}(e),...t}})}function D(e){$().notify({rawEvent:{type:v.CONFIGURATION,configuration:e}})}function M(e,t){$().notify({rawEvent:{type:v.LOG,message:e,status:"debug",...t},metricName:e})}function U(e){$().notify({rawEvent:{type:v.USAGE,usage:e}})}},30082:(e,t,n)=>{n.d(t,{gU:()=>h,i1:()=>g,yA:()=>m,z$:()=>p});var r=n(50331),o=n(5422),i=n(11697),s=n(83312),a=n(78415),u=n(52206),c=n(19465),l=n(29172),d=n(68251),f=n(21738);async function p(e,t){let n=`dd_cookie_test_${(0,i.lk)()}`,o="test",s=e(n,t);try{return await s.getAllAndSet(()=>({value:o,expireDelay:f.iW})),(await s.getAll()).includes(o)}catch(e){return r.Vy.error(e),!1}finally{try{await s.delete()}catch{}}}function g(e,t){let n=(0,a.B)(d.J.cookieStore),r=new o.cP(()=>(0,c.q2)(n,"change",t=>{(t.changed.some(t=>t.name===e)||t.deleted.some(t=>t.name===e))&&r.notify()}).stop);return{getAll:async()=>(await n.getAll(e)).map(e=>e.value),delete:()=>n.delete({name:e,domain:t.domain,path:"/",partitioned:t.partitioned}),async getAllAndSet(r){let o=await n.getAll(e),{value:i,expireDelay:a}=r(o.map(e=>e.value));try{await n.set({name:e,value:i,expires:(0,f.x3)()+a,path:"/",sameSite:t.crossSite?"none":"strict",domain:t.domain,secure:t.secure,partitioned:t.partitioned})}catch(n){if(!e.startsWith("dd_cookie_test_")){let r=(0,s.OR)(e);(0,l.A2)("Failed to set cookie using Cookie Store API",{"error.message":n.message,newValue:i,cookieOptions:{...t},cookies:o.map(e=>({...e})),cookieCount:o.length,documentCookies:r})}}},observable:r}}let y=f.OY;function m(e,t){let n=(0,s.OR)(e),r=new o.cP(()=>{let t=(0,u.yb)(()=>{i((0,s.OR)(e))},y);return()=>{(0,u.vG)(t)}});function i(e){String(e)!==String(n)&&(n=e,r.notify())}return{getAll:()=>Promise.resolve((0,s.OR)(e)),async getAllAndSet(n){let{value:r,expireDelay:o}=n((0,s.OR)(e));(0,s.TV)(e,r,o,t),await Promise.resolve(),i([r])},async delete(){(0,s.Yj)(e,t),await Promise.resolve(),i([])},observable:r}}function h(){let e=(0,a.B)(d.J.cookieStore);return!!(e&&(0,c.BX)(e,"change"))}},30359:(e,t,n)=>{n.d(t,{X:()=>v});var r=n(50331),o=n(87713),i=n(78415),s=n(19522),a=n(22818),u=n(24595),c=n(65515),l=n(40403),d=n(61605),f=n(5422),p=n(52206),g=n(68251);let y=30*n(21738).OY,m=g.W?1:50;function h({pageMayExitObservable:e}){let t,n,r=new f.cP,o=e.subscribe(e=>{t=e.reason;try{r.notify(e.reason)}finally{t=void 0}c(e.reason)}),i=new f.cP(()=>()=>{o.unsubscribe()}),s=0,a=0;function c(e){if(0===a)return;let t=a,r=s;a=0,s=0,(0,p.DJ)(n),n=void 0,i.notify({reason:e,messagesCount:t,bytesCount:r})}return{flushObservable:i,prepareUrgentFlushObservable:r,forceFlush:c,get messagesCount(){return a},notifyBeforeAddMessage(e){s+e>=u.AK&&c(t??"bytes_limit"),a+=1,s+=e,void 0===n&&(n=(0,p.wg)(()=>{c("duration_limit")},y))},notifyAfterAddMessage(e=0){s+=e,a>=m?c(t??"messages_limit"):s>=u.AK&&c(t??"bytes_limit")}}}let b=256*s._m;function v({encoder:e=(0,d.N)(),endpoints:t,reportError:n}){let f=(0,i.B)(u.sA)(t,n),p=(0,i.B)(l._T)(),g=(0,i.B)(h)({pageMayExitObservable:p}),y={},m=g.flushObservable.subscribe(t=>(function(t){let n=(0,c.KQ)(y).join("\n");y={};let r=(0,l.Kp)(t.reason),o=r?f.sendOnExit:f.send;if(r&&e.isAsync){let t=e.finishSync();t.outputBytesCount&&o(S(t));let r=[t.pendingData,n].filter(Boolean).join("\n");r&&o({data:r,bytesCount:(0,s.WW)(r)})}else n&&e.write(e.isEmpty?n:` 2${n}`),e.finish(e=>{o(S(e))})})(t));function v(t,n){let i=(0,a.s)(t),u=e.estimateEncodedBytesCount(i);if(u>=b)return void r.Vy.warn(`Discarded a message whose size was bigger than the maximum allowed size ${b/s._m}KiB. ${o.xG} ${r.Xs}/#technical-limitations`);if(void 0!==n){let t;void 0!==y[n]?t=u-e.estimateEncodedBytesCount(y[n]):(g.notifyBeforeAddMessage(u),t=0),y[n]=i,g.notifyAfterAddMessage(t)}else g.notifyBeforeAddMessage(u),e.write(e.isEmpty?i:` 3${i}`,e=>{g.notifyAfterAddMessage(e-u)})}return{get isEmpty(){return 0===g.messagesCount},add:v,upsert:v,prepareUrgentFlushObservable:g.prepareUrgentFlushObservable,forceFlush:g.forceFlush,flushObservable:g.flushObservable,stop:m.unsubscribe}}function S(e){return{data:"string"==typeof e.output?e.output:new Blob([e.output],{type:"text/plain"}),bytesCount:e.outputBytesCount,encoding:e.encoding}}}
3,30462:(e,t,n)=>{n.d(t,{N:()=>i,p:()=>o});let r=!1;function o(e){r=e}function i(){return r}},32989:(e,t,n)=>{n.d(t,{b:()=>o,e:()=>r});let r="No stack, consider using an instance of Error";function o(e){try{return e instanceof Error||"[object Error]"===Object.prototype.toString.call(e)}catch{return!1}}},34804:(e,t,n)=>{let r;n.d(t,{C:()=>g,i:()=>m});var o=n(40034),i=n(5422),s=n(19073),a=n(7011),u=n(72948),c=n(19522);async function l(e){let t=e.getReader(),n=[];for(;;){let e=await t.read();if(e.done)break;n.push(e.value)}return t.cancel().catch(u.l),(0,c.wh)(n)}var d=n(68251),f=n(16005),p=n(21738);let g=function(e){return e[e.IGNORE=0]="IGNORE",e[e.COLLECT=1]="COLLECT",e}({}),y=[];function m({responseBodyAction:e}={}){return e&&y.push(e),r||(r=new i.cP(e=>{if(!d.J.fetch)return;let{stop:t}=(0,s.H7)(d.J,"fetch",t=>(function({parameters:e,onPostCall:t,handlingStack:n},r){let[i,s]=e,a=s?.method;void 0===a&&i instanceof Request&&(a=i.method);let u=void 0!==a?String(a).toUpperCase():"GET",c=i instanceof Request?i.url:(0,f.l2)(String(i)),l={state:"start",init:s,input:i,method:u,startClocks:(0,p.M8)(),url:c,handlingStack:n,isAbortedOnStart:i instanceof Request&&i.signal?.aborted||s?.signal?.aborted||!1};r.notify(l),e[0]=l.input,e[1]=l.init,t(e=>{h(r,e,l).catch(o.Dx)})})(t,e),{computeHandlingStack:!0});return t})),r}async function h(e,t,n){let r;try{r=await t}catch(t){e.notify({...n,state:"resolve",status:0,isAborted:n.init?.signal?.aborted||t instanceof DOMException&&t.code===DOMException.ABORT_ERR,error:t});return}if(n.response=r,n.status=r.status,n.responseType=r.type,n.isAborted=!1,1===y.reduce((e,t)=>Math.max(e,t(n)),0)){let e=(0,a.i)(r);if(e?.body)try{let t=await l(e.body);n.responseBody=new TextDecoder().decode(t)}catch{}}e.notify({...n,state:"resolve"})}},36454:(e,t,n)=>{n.d(t,{Bb:()=>r,KG:()=>a,NW:()=>o,R8:()=>s,dV:()=>i,wo:()=>c});let r="datad0g.com",o="datadoghq.com",i="datadoghq.eu",s="ddog-gov.com",a="us2.ddog-gov.com",u=["ddsource","dd-api-key","dd-request-id"];function c(e){return u.every(t=>e.includes(t))}},36757:(e,t,n)=>{n.d(t,{B:()=>a,K:()=>u});var r=n(8531),o=n(24933),i=n(48645),s=n(59102);function a(e,t,n){let o=u();return t.storeContextsAcrossPages&&(0,i.Ck)(o,n,4),e.register(()=>{let e=o.getContext();return(0,r.RI)(e)||!e.id?s.$O:{account:e}}),o}function u(){return(0,o.D)("account",{propertiesConfig:{id:{type:"string",required:!0},name:{type:"string"}}})}},38446:(e,t,n)=>{n.d(t,{a:()=>a});var r=n(50331),o=n(19522),i=n(22818);let s=220*o._m;function a(e,t=s){let n=(0,i.M)(Object.prototype),r=(0,i.M)(Array.prototype);try{let n=[],r=new WeakMap,o=u(e,"$",void 0,n,r),i=JSON.stringify(o),s=i?i.length:0;if(s>t)return void c(t,"discarded",e);for(;n.length>0&&s<t;){let o=n.shift(),i=0;if(Array.isArray(o.source))for(let a=0;a<o.source.length;a++){let l=u(o.source[a],o.path,a,n,r);if(void 0!==l?s+=JSON.stringify(l).length:s+=4,s+=i,i=1,s>t){c(t,"truncated",e);break}o.target[a]=l}else for(let a in o.source)if(Object.prototype.hasOwnProperty.call(o.source,a)){let l=u(o.source[a],o.path,a,n,r);if(void 0!==l&&(s+=JSON.stringify(l).length+i+a.length+3,i=1),s>t){c(t,"truncated",e);break}o.target[a]=l}}return o}finally{n(),r()}}function u(e,t,n,r,o){let i=function(e){if(("object"!=typeof e||null===e)&&"function"!=typeof e)return e;if("function"==typeof e.toJSON)try{return e.toJSON()}catch{}return e}(e);if(!i||"object"!=typeof i){var s;return"bigint"==typeof(s=i)?`[BigInt] ${s.toString()}`:"function"==typeof s?`[Function] ${s.name||"unknown"}`:"symbol"==typeof s?`[Symbol] ${s.description||s.toString()}`:s}let a=function e(t){try{if(t instanceof Event){var n;return{type:(n=t).type,isTrusted:n.isTrusted,currentTarget:n.currentTarget?e(n.currentTarget):null,target:n.target?e(n.target):null}}if(t instanceof RegExp)return`[RegExp] ${t.toString()}`;let r=Object.prototype.toString.call(t).match(/\[object (.*)\]/);if(r?.[1])return`[${r[1]}]`}catch{}return"[Unserializable]"}(i);if("[Object]"!==a&&"[Array]"!==a&&"[Error]"!==a)return a;if(o.has(e))return`[Reference seen at ${o.get(e)}]`;let u=void 0!==n?`${t}.${n}`:t,c=Array.isArray(i)?[]:{};return o.set(e,u),r.push({source:i,target:c,path:u}),c}
3function c(e,t,n){r.Vy.warn(`The data provided has been ${t} as it is over the limit of ${e} characters:`,n)}},38610:(e,t,n)=>{n.d(t,{o:()=>_,t:()=>C});var r=n(5422),o=n(78415),i=n(29172),s=n(72948),a=n(74883),u=n(19073),c=n(19465),l=n(32989),d=n(61704),f=n(71189),p=n(68251),g=n(21738);function y(){return new r.cP(e=>{var t,n;let r=(t,n)=>{let r=(0,f.As)({stackTrace:n,originalError:t,startClocks:(0,g.M8)(),nonErrorPrefix:"Uncaught",source:d.gf.SOURCE,handling:"unhandled"});e.notify(r)},{stop:o}=(t=r,(0,u.H7)(p.J,"onerror",({parameters:[e,n,r,o,i]})=>{let s;(0,l.b)(i)||(s=(0,a.h)(e,n,r,o)),t(i??e,s)})),{stop:i}=(n=r,(0,c.BX)(p.J.window,"unhandledrejection")?(0,u.H7)(p.J,"onunhandledrejection",({parameters:[e]})=>{n(e.reason||"Empty reason")}):{stop:s.l});return()=>{o(),i()}})}var m=n(45993),h=n(34804),b=n(40034),v=n(80886),S=n(22818),E=n(38446),w=n(87713);let O={},_=function(e){return e[e.RUNTIME_ERROR=0]="RUNTIME_ERROR",e[e.FETCH=1]="FETCH",e[e.XHR=2]="XHR",e[e.CONSOLE=3]="CONSOLE",e}({});function C(){var e;let t=new r.dX(500,e=>{(0,i.A2)("Early data collection dropped data on unbuffer",{count:e})}),n=[];function s(e,r){n.push(r.subscribe(n=>{t.notify({type:e,data:n})}))}return s(0,(0,o.B)(y)()),s(1,(0,h.i)()),s(2,(0,m.G)()),s(3,(e=Object.values(w.bP),(0,r.Fx)(...e.map(e=>{var t;return O[e]||(O[e]=(t=e,new r.cP(e=>{let n=w.JZ[t];return w.JZ[t]=(...r)=>{n.apply(console,r);let o=(0,v.uC)("console error");(0,b.um)(()=>
3{e.notify(function(e,t,n){let r=e.map(e=>{var t;return"string"==typeof(t=e)?(0,E.a)(t):(0,l.b)(t)?(0,v.NR)((0,a.T)(t)):(0,S.s)((0,E.a)(t),void 0,2)}).join(" ");if(t===w.bP.error){let o=(0,f.As)({originalError:e.find(l.b),handlingStack:n,startClocks:(0,g.M8)(),source:d.gf.CONSOLE,handling:"handled",nonErrorPrefix:"Provided",useFallbackStack:!1});return o.message=r,{api:t,message:r,handlingStack:n,error:o}}return{api:t,message:r,error:void 0,handlingStack:n}}(r,t,o))})},()=>{w.JZ[t]=n}}))),O[e]})))),{observable:t,stop:()=>n.forEach(e=>e.unsubscribe())}}},39473:(e,t,n)=>{n.d(t,{NQ:()=>s,iP:()=>a,m5:()=>i});var r=n(50331),o=n(87713);function i(e){let{env:t,service:n,version:r,datacenter:o,sdkVersion:i,variant:a}=e,u=[s("sdk_version",i??"7.7.0")];return t&&u.push(s("env",t)),n&&u.push(s("service",n)),r&&u.push(s("version",r)),o&&u.push(s("datacenter",o)),a&&u.push(s("variant",a)),u}function s(e,t){var n;let i=t?`${e}:${t}`:e;return(i.length>200||(n=i,RegExp("[^\\p{Ll}\\p{Lo}0-9_:./-]","u").test(n)))&&r.Vy.warn(`Tag ${i} doesn't meet tag requirements and will be sanitized. ${o.xG} ${o.fH}/getting_started/tagging/#defining-tags`),a(i)}function a(e){return e.replace(/,/g,"_")}},40034:(e,t,n)=>{let r;n.d(t,{um:()=>u,dm:()=>a,Dx:()=>c,Bd:()=>l});var o=n(50331),i=n(30462);let{monitored:s,monitor:a,callMonitored:u,monitorError:c}=function(e,t){function n(e){return function(...t){return r(e,this,t)}}function r(e,t,n){try{return e.apply(t,n)}catch(e){o(e)}}function o(n){let r=t=>{(0,i.N)()&&e.error("[MONITOR]",t)};r(n);try{t(n)}catch(e){r(e)}}return{monitored:function(e,t,r){r.value=n(r.value)},monitor:n,callMonitored:r,monitorError:o}}(o.Vy,e=>r?.(e));function l(e){r=e}},40403:(e,t,n)=>{n.d(t,{Kp:()=>c,_T:()=>u,y5:()=>a});var r=n(5422),o=n(19465),i=n(65515),s=n(68251);let a={HIDDEN:"visibility_hidden",UNLOADING:"before_unload",PAGEHIDE:"page_hide",FROZEN:"page_frozen"};function u(){return new r.cP(e=>{let t=s.J.window;if(!t)return;let{stop:n}=(0,o.lQ)(t,["visibilitychange","freeze"],t=>{"visibilitychange"===t.type&&"hidden"===document.visibilityState?e.notify({reason:a.HIDDEN}):"freeze"===t.type&&e.notify({reason:a.FROZEN})},{capture:!0}),r=(0,o.q2)(t,"beforeunload",()=>{e.notify({reason:a.UNLOADING})}).stop;return()=>{n(),r()}})}function c(e){return(0,i.KQ)(a).includes(e)}},43407:(e,t,n)=>{n.d(t,{D:()=>r});var r=class{constructor(){this.callbacks={}}notify(e,t){let n=this.callbacks[e];n&&n.forEach(e=>e(t))}subscribe(e,t){return this.callbacks[e]||(this.callbacks[e]=[]),this.callbacks[e].push(t),{unsubscribe:()=>{this.callbacks[e]=this.callbacks[e].filter(e=>t!==e)}}}}},45993:(e,t,n)=>{let r;n.d(t,{G:()=>d});var o=n(5422),i=n(19073),s=n(19465),a=n(68251),u=n(16005),c=n(21738);let l=new WeakMap;function d(){return r||(r="XMLHttpRequest"in a.J?new o.cP(e=>{let{stop:t}=(0,i.H7)(XMLHttpRequest.prototype,"open",f),{stop:n}=(0,i.H7)(XMLHttpRequest.prototype,"send",t=>{!function({target:e,parameters:[t],handlingStack:n},r){let o=l.get(e);if(!o)return;o.state="start",o.startClocks=(0,c.M8)(),o.isAborted=!1,o.xhr=e,o.handlingStack=n,o.requestBody=t;let a=!1,{stop:u}=(0,i.H7)(e,"onreadystatechange",()=>{e.readyState===XMLHttpRequest.DONE&&d()}),d=()=>{f(),u(),a||(a=!0,o.duration=(0,c.vk)(o.startClocks.timeStamp,(0,c.nx)()),o.status=e.status,"string"==typeof e.response&&(o.responseBody=e.response),r.notify({...o,state:"complete"}))},{stop:f}=(0,s.q2)(e,"loadend",d);r.notify(o)}(t,e)},{computeHandlingStack:!0}),{stop:r}=(0,i.H7)(XMLHttpRequest.prototype,"abort",p);return()=>{t(),n(),r()}}):new o.cP),r}function f({target:e,parameters:[t,n]}){l.set(e,{state:"open",method:String(t).toUpperCase(),url:(0,u.l2)(String(n))})}function p({target:e}){let t=l.get(e);t&&(t.isAborted=!0)}},46224:(e,t,n)=>{n.d(t,{Ww:()=>a,Y9:()=>s,d0:()=>u,oc:()=>i});var r=n(50331),o=n(68251);let i=function(e){return e.RECORDS="records",e.PROFILES="profiles",e}({});function s(){let e=o.J.DatadogEventBridge;if(e)return{getCapabilities:()=>JSON.parse(e.getCapabilities?.()||"[]"),getPrivacyLevel:()=>e.getPrivacyLevel?.(),getIsTraceSampled:()=>JSON.parse(e.getIsTraceSampled?.()||"null"),getAllowedWebViewHosts:()=>JSON.parse(e.getAllowedWebViewHosts()),send(t,n,r){e.send(JSON.stringify({eventType:t,event:n,view:r?{id:r}:void 0}))}}}function a(e){let t=s();return!!t&&t.getCapabilities().includes(e)}function u(e=o.J.location?.hostname){return s()?.getAllowedWebViewHosts().some(t=>(function(e,t){if(!t.includes("*"))return e===t||e.endsWith(`.${t}`);let n=t.split("*");if(2!==n.length)return r.Vy.error(`Invalid WebView host pattern "${t}": only one wildcard (*) is supported.`),!1;let[o,i]=n;return e.length>
3o.length+i.length&&e.startsWith(o)&&e.endsWith(i)})(e,t))??!1}},46613:(e,t,n)=>{n.d(t,{F:()=>i,s:()=>s});var r=n(24933),o=n(48645);function i(e,t,n,r){let i=s();return t.storeContextsAcrossPages&&(0,o.Ck)(i,n,2),e.register(()=>{let e=i.getContext();return r?{context:e}:e}),i}function s(){return(0,r.D)("global context")}},48645:(e,t,n)=>{n.d(t,{Ck:()=>a});var r=n(8531),o=n(19465),i=n(76225);let s=[];function a(e,t,n){var a,u;if("undefined"==typeof window||"undefined"==typeof localStorage)return;let c=(a=t,u=n,`_dd_c_${a}_${u}`);s.push((0,o.q2)(window,"storage",({key:t})=>{c===t&&e.setContext(d())})),e.changeObservable.subscribe(function(){localStorage.setItem(c,JSON.stringify(e.getContext()))});let l=(0,i.kg)(d(),e.getContext());function d(){let e=localStorage.getItem(c);return e?(0,r.XU)(e)??{}:{}}(0,r.RI)(l)||e.setContext(l)}},49197:(e,t,n)=>{let r;n.d(t,{j:()=>s});var o=n(11697);let i="_dd_tab_id";function s(e){let t=(r||(r=function(){try{let e=sessionStorage.getItem(i);if(e)return e;let t=(0,o.lk)();return sessionStorage.setItem(i,t),t}catch{return}}()??(0,o.lk)()),r);e.register(()=>({tab:{id:t}}))}},50331:(e,t,n)=>{n.d(t,{Vy:()=>o,Xs:()=>i});var r=n(87713);let o=(0,r.XH)("Datadog Browser SDK:"),i=`${r.fH}/real_user_monitoring/browser/troubleshooting`},51414:(e,t,n)=>{n.d(t,{Nr:()=>r,QQ:()=>o});let r={userContext:"userContext",globalContext:"globalContext",accountContext:"accountContext"},o={getContext:"getContext",setContext:"setContext",setContextProperty:"setContextProperty",removeContextProperty:"removeContextProperty",clearContext:"clearContext"}},52206:(e,t,n)=>{n.d(t,{DJ:()=>a,vG:()=>c,wg:()=>s,yb:()=>u});var r=n(40034),o=n(88948),i=n(68251);function s(e,t){return(0,o.W)(i.J,"setTimeout")((0,r.dm)(e),t)}function a(e){(0,o.W)(i.J,"clearTimeout")(e)}function u(e,t){return(0,o.W)(i.J,"setInterval")((0,r.dm)(e),t)}function c(e){(0,o.W)(i.J,"clearInterval")(e)}},53175:(e,t,n)=>{n.d(t,{Y:()=>o,v:()=>r});let r={DOCUMENT:"document",XHR:"xhr",BEACON:"beacon",FETCH:"fetch",CSS:"css",JS:"js",IMAGE:"image",FONT:"font",MEDIA:"media",WEBSOCKET:"websocket",OTHER:"other"},o={FETCH:r.FETCH,XHR:r.XHR}},59102:(e,t,n)=>{n.d(t,{$O:()=>s,ab:()=>o,ug:()=>i});var r=n(76225);function o(){let e=[];return{register:t=>(e.push(t),{unregister(){e=e.filter(e=>e!==t)}}),trigger(t){let n=[];for(let r of e){let e=r(t);if("DISCARDED"===e)return i;"SKIPPED"!==e&&n.push(e)}return(0,r.kg)(...n)}}}let i="DISCARDED",s="SKIPPED"},61605:(e,t,n)=>{n.d(t,{N:()=>o});var r=n(19522);function o(){let e="",t=0;return{isAsync:!1,get isEmpty(){return!e},write(n,o){let i=(0,r.WW)(n);t+=i,e+=n,o&&o(i)},finish(e){e(this.finishSync())},finishSync(){let n={output:e,outputBytesCount:t,rawBytesCount:t,pendingData:""};return e="",t=0,n},estimateEncodedBytesCount:e=>e.length}}},61704:(e,t,n)=>{n.d(t,{O7:()=>o,aC:()=>i,gf:()=>r});let r={AGENT:"agent",CONSOLE:"console",CUSTOM:"custom",LOGGER:"logger",NETWORK:"network",SOURCE:"source",REPORT:"report"},o=function(e){return e.UNCAUGHT="Uncaught",e.PROVIDED="Provided",e}({}),i=function(e){return e.HANDLED="handled",e.UNHANDLED="unhandled",e}({})},65515:(e,t,n)=>{function r(e,t){for(let n=e.length-1;n>=0;n-=1){let r=e[n];if(t(r,n,e))return r}}function o(e){return Object.values(e)}function i(e){return Object.entries(e)}n.d(t,{KQ:()=>o,Uk:()=>r,WP:()=>i})},68196:(e,t,n)=>{function r(e,t){return e*t/100}n.d(t,{$5:()=>i,it:()=>r});let o=new Map;function i(e,t){if(100===t)return!0;if(0===t)return!1;let n=o.get(t);if(e===n?.sessionId)return n.decision;let r=function(e,t){let n=1n<<64n;return Number(0xf6b75ab2bc471c7n*e%n)<=t/100*Number(n)}(BigInt(`0x${e.split("-")[4]}`),t);return o.set(t,{sessionId:e,decision:r}),r}},68251:(e,t,n)=>{n.d(t,{J:()=>r,W:()=>o});let r=globalThis,o="WorkerGlobalScope"in r},71189:(e,t,n)=>{n.d(t,{$X:()=>p,As:()=>f});var r=n(74883),o=n(80886),i=n(22818),s=n(38446),a=n(32989),u=n(20829),c=n(87584);function l({originalError:e,stackTrace:t,source:n,useFallbackStack:r=!0,nonErrorPrefix:u}){var c,l,d,f;let p=(0,a.b)(e);return{source:n,type:t?t.name:void 0,message:(c=t,l=p,d=u,f=e,c?.message&&c?.name?c.message:l?"Empty message":d?`${d} ${(0,i.s)((0,s.a)(f))}`:(0,i.s)((0,s.a)(f))),stack:t?(0,o.Yn)(t):r?a.e:void 0}}function d(e){return e?.stack.map(e=>e.url).filter(e=>!!e)??[]}function f({stackTrace:e,originalError:t,handlingStack:n,componentStack:o,startClocks:i,nonErrorPrefix:s,useFallbackStack:f=!0,source:p,handling:g}){var y;let m=e??((0,a.b)(t)?(0,r.T)(t):void 0),h=(0,a.b)(t)?function(e){let t=[],n=e.cause;for(;null!=n&&t.length<10;){let e=(0,a.b)(n),o=e?(0,r.T)(n):void 0;t.push({originalError:n,stackTrace:o}),n=e?n.cause:void 0}return t}(t):[],b=l({originalError:t,stackTrace:m,source:p,useFallbackStack:f,nonErrorPrefix:s}),v=h.map(({originalError:e,stackTrace:t})=>l({originalError:e,stackTrace:t,source:p,useFallbackStack:!1}));return{startClocks:i,handling:g,handlingStack:n,componentStack:o,originalError:t,...b,debugIds:function(e,t){let n=t.flatMap(({stackTrace:e})=>d(e));return(0,u.J)(d(e).concat(n))}(m,h),causes:v.length?v:void 0,fingerprint:(y=t,(0,a.b)(y)&&"dd_fingerprint"in y?String(y.dd_fingerprint):void 0),context:function(e){if((0,c.OE)(e))return e.dd_context}(t)}}function p(e){return/@ (.+)/.exec(e)?.[1]}},71425:(e,t,n)=>{n.d(t,{$:()=>a,Y:()=>u});var r=n(8531),o=n(24933),i=n(48645),s=n(59102);function a(e,t,n,o){let a=u();return t.storeContextsAcrossPages&&(0,i.Ck)(a,o,1),e.register(({eventType:e,startTime:o})=>{let i=a.getContext(),u=n.findTrackedSession(o);
3return(u?.anonymousId&&!i.anonymous_id&&t.trackAnonymousUser&&(i.anonymous_id=u.anonymousId),(0,r.RI)(i))?s.$O:{type:e,usr:i}}),a}function u(){return(0,o.D)("user",{propertiesConfig:{id:{type:"string"},name:{type:"string"},email:{type:"string"}}})}},72580:(e,t,n)=>{n.d(t,{$:()=>o});var r=n(50331);function o(e,t){t.silentMultipleInit||r.Vy.error(`${e} is already initialized.`)}},72948:(e,t,n)=>{n.d(t,{l:()=>i,n:()=>o});var r=n(52206);function o(e,t,n){let o,i,s=n?.leading===void 0||n.leading,a=n?.trailing===void 0||n.trailing,u=!1;return{throttled:(...n)=>{if(u){o=n;return}s?e(...n):o=n,u=!0,i=(0,r.wg)(()=>{a&&o&&e(...o),u=!1,o=void 0},t)},cancel:()=>{(0,r.DJ)(i),u=!1,o=void 0}}}function i(){}},74883:(e,t,n)=>{let r;n.d(t,{T:()=>i,h:()=>y});var o=n(87584);function i(e){let t=[],n=g(e,"stack"),o=String(e);if(n?.startsWith(o)&&(n=n.slice(o.length)),n&&n.split("\n").forEach(e=>{let n=function(e){let t=u.exec(e);if(!t)return;let n=t[2]?.indexOf("native")===0,r=t[2]?.indexOf("eval")===0,o=c.exec(t[2]);return r&&o&&(t[2]=o[1],t[3]=o[2],t[4]=o[3]),{args:n?[t[2]]:[],column:t[4]?+t[4]:void 0,func:t[1]||"?",line:t[3]?+t[3]:void 0,url:n?void 0:t[2]}}(e)||function(e){let t=l.exec(e);if(t)return{args:[],column:t[4]?+t[4]:void 0,func:t[1]||"?",line:t[3]?+t[3]:void 0,url:t[2]}}(e)||function(e){let t=d.exec(e);if(t)return{args:[],column:t[4]?+t[4]:void 0,func:t[1]||"?",line:+t[3],url:t[2]}}(e)||function(e){let t=f.exec(e);if(!t)return;let n=t[3]&&t[3].indexOf(" > eval")>-1,r=p.exec(t[3]);return n&&r&&(t[3]=r[1],t[4]=r[2],t[5]=void 0),{args:t[2]?t[2].split(","):[],column:t[5]?+t[5]:void 0,func:t[1]||"?",line:t[4]?+t[4]:void 0,url:t[3]}}(e);n&&(!n.func&&n.line&&(n.func="?"),t.push(n))}),t.length>0&&function(){if(void 0!==r)return r;class e extends Error{constructor(){super(),this.name="Error"}}let[t,n]=[e,Error].map(e=>new e);return r=h(Object.getPrototypeOf(t))&&n.stack!==t.stack}()&&e instanceof Error){let n=[],r=e;for(;(r=Object.getPrototypeOf(r))&&h(r);){let e=r.constructor?.name||"?";n.push(e)}for(let e=n.length-1;e>=0&&t[0]?.func===n[e];e--)t.shift()}return{message:g(e,"message"),name:g(e,"name"),stack:t}}let s="((?:file|https?|blob|chrome-extension|electron|native|eval|webpack|snippet|<anonymous>|\\w+\\.|\\/).*?)",a="(?::(\\d+))",u=RegExp(`^\\s*at (.*?) ?\\(${s}${a}?${a}?\\)?\\s*$`,"i"),c=RegExp(`\\((\\S*)${a}${a}\\)`),l=RegExp(`^\\s*at\\s*(?:(.*)?(?: @))?\\s*${s}${a}?${a}??\\s*$`,"i"),d=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i,f=/^\s*(.*?)(?:\((.*?)\))?(?:(?:(?:^|@)((?:file|https?|blob|chrome|webpack|resource|capacitor|\[native).*?|[^@]*bundle|\[wasm code\])(?::(\d+))?(?::(\d+))?)|@)\s*$/i,p=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i;function g(e,t){return(0,o.OE)(e)&&"string"==typeof e[t]?e[t]:void 0}function y(e,t,n,r){var o;let i,s;if(void 0===t)return;let{name:a,message:u}=(o=e,"[object String]"===({}).toString.call(o)&&([,i,s]=m.exec(o)),{name:i,message:s});return{name:a,message:u,stack:[{url:t,column:r,line:n}]}}let m=/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?([\s\S]*)$/;function h(e){return String(e.constructor).startsWith("class ")}},75789:(e,t,n)=>{n.d(t,{K:()=>o});var r=n(50331);function o(e,t,n=!1){return e.some(e=>{try{if("function"==typeof e)return e(t);if(e instanceof RegExp)return e.lastIndex=0,e.test(t);if("string"==typeof e)return n?t.startsWith(e):e===t}catch(e){r.Vy.error(e)}return!1})}},76225:(e,t,n)=>{n.d(t,{Go:()=>i,kg:()=>s});var r=n(87584);function o(e,t,n){if(void 0===t)return e;if("object"!=typeof t||null===t)return t;if(t instanceof Date)return new Date(t.getTime());if(t instanceof RegExp)return new RegExp(t.source,t.flags);if(n.hasAlreadyBeenSeen(t))return;if(Array.isArray(t)){let r=Array.isArray(e)?e:[];for(let e=0;e<t.length;++e)r[e]=o(r[e],t[e],n);return r}let i="object"===(0,r.Pw)(e)?e:{};for(let e in t)Object.prototype.hasOwnProperty.call(t,e)&&"__proto__"!==e&&(i[e]=o(i[e],t[e],n));return i}function i(e){return o(void 0,e,a())}function s(...e){let t;for(let n of e)null!=n&&(t=o(t,n,a()));return t}function a(){let e=new WeakSet;return{hasAlreadyBeenSeen(t){let n=e.has(t);return n||e.add(t),n}}}},76991:(e,t,n)=>{n.d(t,{$:()=>i});var r=n(52206),o=n(21738);function i(e,t,n=3e3){let s=0,a=!1;return{isLimitReached(){if(0===s&&(0,r.wg)(()=>{s=0},o.iW),(s+=1)<=n||a)return a=!1,!1;if(s===n+1){a=!0;try{t(`Reached max number of ${e}s by minute: ${n}`)}finally{a=!1}
3}return!0}}}},77715:(e,t,n)=>{n.d(t,{Fs:()=>p,IM:()=>f,ao:()=>d});var r=n(83312),o=n(8531),i=n(68251);let s="datadog-synthetics-",a=`${s}public-id`,u=`${s}result-id`,c=`${s}injects-rum`,l=`${s}rum-context`;function d(){return!i.W&&!!(i.J._DATADOG_SYNTHETICS_INJECTS_RUM||(0,r.B9)(c))}function f(){var e;let t=function(){let e=i.J._DATADOG_SYNTHETICS_RUM_CONTEXT;if(e)return e;let t=(0,r.B9)(l);return t?(0,o.XU)(decodeURIComponent(t)):{test_id:window._DATADOG_SYNTHETICS_PUBLIC_ID||(0,r.B9)(a),result_id:window._DATADOG_SYNTHETICS_RESULT_ID||(0,r.B9)(u)}}();return"object"==typeof(e=t)&&null!==e&&"string"==typeof e.test_id&&"string"==typeof e.result_id?t:void 0}function p(){return!!f()}},78415:(e,t,n)=>{n.d(t,{B:()=>r});function r(e){return e}},80886:(e,t,n)=>{n.d(t,{NR:()=>a,Yn:()=>s,uC:()=>i});var r=n(40034),o=n(74883);function i(e){let t,n=Error(e);return n.name="HandlingStack",(0,r.um)(()=>{let e=(0,o.T)(n);e.stack=e.stack.slice(2),t=s(e)}),t}function s(e){let t=a(e);return e.stack.forEach(e=>{let n="?"===e.func?"<anonymous>":e.func,r=e.args&&e.args.length>0?`(${e.args.join(", ")})`:"",o=e.line?`:${e.line}`:"",i=e.line&&e.column?`:${e.column}`:"";t+=` 4 at ${n}${r} @ ${e.url}${o}${i}`}),t}function a(e){return`${e.name||"Error"}: ${e.message}`}},81232:(e,t,n)=>{n.d(t,{Z:()=>a,m:()=>s});var r=n(50331),o=n(91252),i=n(30462);function s(e){let t={version:"7.7.0",onReady(e){e()},...e};return Object.defineProperty(t,"_setDebug",{get:()=>i.p,enumerable:!1}),t}function a(e,t,n){let i=e[t];i&&!i.q&&i.version&&r.Vy.warn("SDK is loaded more than once. This is unsupported and might have unexpected behavior."),e[t]=n,i?.q&&i.q.forEach(e=>(0,o.y)(e,"onReady callback threw an error:")())}},82337:(e,t,n)=>{function r(e){return 0!==e&&100*Math.random()<=e}function o(e,t){return+e.toFixed(t)}function i(e){return"number"==typeof e}n.d(t,{Et:()=>i,LI:()=>o,ic:()=>r})},83312:(e,t,n)=>{let r,o;n.d(t,{B9:()=>f,OR:()=>d,Ri:()=>l,TV:()=>c,Yj:()=>p,fJ:()=>g});var i=n(11697),s=n(68251),a=n(16005),u=n(21738);function c(e,t,n=0,r){let o=new Date;o.setTime(o.getTime()+n);let i=`expires=${o.toUTCString()}`,s=r?.crossSite?"none":"strict",a=r?.domain?`;domain=${r.domain}`:"",u=r?.secure?";secure":"",l=r?.partitioned?";partitioned":"";document.cookie=`${e}=${t};${i};path=/;samesite=${s}${a}${u}${l}`}function l(e){let t=(0,i.rx)(document.cookie,e);if(""!==t)return t}function d(e){return(0,i.Dh)(document.cookie).get(e)||[]}function f(e){return r||(r=(0,i.it)(document.cookie)),r.get(e)}function p(e,t){c(e,"",0,t)}function g(e){let t={};if(t.secure=e.useSecureSessionCookie||e.usePartitionedCrossSiteSessionCookie,t.crossSite=e.usePartitionedCrossSiteSessionCookie,t.partitioned=e.usePartitionedCrossSiteSessionCookie,e.trackSessionAcrossSubdomains){let e=function(e=s.J.location?.hostname??"",t="undefined"!=typeof document?document.referrer:""){if("undefined"!=typeof document){if(void 0===o){let n=function(e,t){try{return e||(0,a.c$)(t).hostname}catch{}}(e,t);if(n){let e=`dd_site_test_${(0,i.lk)()}`,t=n.split("."),r=t.pop();for(;t.length&&!l(e);)r=`${t.pop()}.${r}`,c(e,"test",u.OY,{domain:r});p(e,{domain:r}),o=r}}return o}}();if(!e)return;t.domain=e}return t}},87584:(e,t,n)=>{function r(e){return null===e?"null":Array.isArray(e)?"array":typeof e}function o(e){return"object"===r(e)}function i(e){return"number"==typeof e&&e>=0&&e<=100}function s(e){return"string"==typeof e||e instanceof RegExp||"function"==typeof e}n.d(t,{OE:()=>o,Pw:()=>r,Vl:()=>s,fp:()=>i})},87713:(e,t,n)=>{n.d(t,{JZ:()=>s,XH:()=>u,Z9:()=>a,bP:()=>i,fH:()=>r,xG:()=>o});let r="https://docs.datadoghq.com",o="More details:",i={log:"log",debug:"debug",info:"info",warn:"warn",error:"error"},s=console,a={log:s.log,debug:s.debug,info:s.info,warn:s.warn,error:s.error};function u(e){return{debug:a.debug.bind(s,e),log:a.log.bind(s,e),info:a.info.bind(s,e),warn:a.warn.bind(s,e),error:a.error.bind(s,e)}}},88948:(e,t,n)=>{n.d(t,{W:()=>o});var r=n(68251);function o(e,t){let n,o=r.J;return o.Zone&&"function"==typeof o.Zone.__symbol__&&(n=e[o.Zone.__symbol__(t)]),n||(n=e[t]),n}},89067:(e,t,n)=>{n.d(t,{l:()=>o});var r=n(59102);function o(e,t,n){e.register(({startTime:e})=>{let o=t.findTrackedSession(e);return o?{session:{id:o.id},anonymous_id:o.anonymousId,...n}:r.$O})}},89751:(e,t,n)=>{n.d(t,{S:()=>s});var r=n(87584),o=n(76225),i=n(87713);function s(e,t,n){return e&&"object"==typeof e?a(t,e,n):void n.error("Configuration must be an object")}function a(e,t,n){let r={};for(let[s,a]of Object.entries(e)){let e=t[s],u=a.multiple?function(e,t,n){if(null==t)return;if("enum"===e.type&&e.allowAll&&"all"===t)return l(e.values).slice();let r=Array.isArray(t)?t:[t],o=[];for(let t of r){let r=c(e,t,n);if(void 0===r){if(!1!==e.strict)return}else o.push(r)}if(!1!==e.strict||0!==o.length||!(r.length>0))return o}(a,e,n):c(a,e,n);if(void 0===u){if(null!=e&&""!==e){if(n.error(function(e,t){switch(t.type){case"string":return`"${e}" must be a non-empty string`;case"percentage":return`"${e}" must be a number between 0 and 100`;case"boolean":return`"${e}" must be a boolean`;case"site":return`"${e}" must be a valid Datadog site. ${i.xG} ${i.fH}/getting_started/site/.`;case"match-option":return`"${e}" must be a string, RegExp, or function`;case"enum":return`"${e}" must be one of: "${l(t.values).join('", "')}"`;case"union":return`"${e}" does not match any expected type`;case"schema":return`"${e}" is not a valid object`;case"function":return`"${e}" must be a function`}}(s,a)),a.required||!1!==a.strict)return}else if(a.required)return void n.error(`"${s}" is required`);r[s]="default"in a?(0,o.Go)(a.default):void 0}else r[s]=u}return r}let u=/(datadog|ddog|datad0g|dd0g)/;
4function c(e,t,n){if("schema"===e.type){if("object"!=typeof t||null===t)return;return a(e.schema,t,n)}if("union"===e.type){if(null==t)return;for(let r of e.variants){let e=c(r,t,n);if(void 0!==e)return e}return}if(null!=t)switch(e.type){case"function":return"function"==typeof t?t:void 0;case"string":return"string"==typeof t&&t.length>0?t:void 0;case"percentage":return(0,r.fp)(t)?t:void 0;case"boolean":return"boolean"==typeof t?t:!1===e.strict?!!t:void 0;case"site":if("string"!=typeof t||!u.test(t))return;return t;case"match-option":return(0,r.Vl)(t)?t:void 0;case"enum":return"string"==typeof t&&l(e.values).includes(t)?t:void 0}}function l(e){return Array.isArray(e)?e:Object.values(e)}},91252:(e,t,n)=>{n.d(t,{y:()=>o});var r=n(50331);function o(e,t){return(...n)=>{try{return e(...n)}catch(e){r.Vy.error(t,e)}}}},93600:(e,t,n)=>{n.d(t,{tG:()=>c});var r=n(50331),o=n(75789),i=n(78415);let s=["chrome-extension://","moz-extension://"];function a(e){return s.some(t=>e.includes(t))}var u=n(68251);function c(e,t){let n=(0,i.B)(u.J.location),s=n?n.origin:"",c=e.allowedTrackingOrigins;if(!c)return!function(e,t=""){return!a(e)&&a(t.split("\n").filter(e=>{let t=e.trim();return t.length&&/^at\s+|@/.test(t)})[1]||"")}(s,t)||(r.Vy.error("Running the Browser SDK in a Web extension content script is forbidden unless the `allowedTrackingOrigins` option is provided."),!1);let l=(0,o.K)(c,s);return l||r.Vy.error("SDK initialized on a non-allowed domain."),l}},94687:(e,t,n)=>{n.d(t,{D:()=>i,w:()=>o});var r=n(5422);let o={GRANTED:"granted",NOT_GRANTED:"not-granted"};function i(e){let t=new r.cP;function n(){return e===o.GRANTED}return{tryToInit(t){e||(e=t)},onGrantedOnce(e){if(n())e();else{let r=t.subscribe(()=>{n()&&(e(),r.unsubscribe())})}},update(n){e=n,t.notify()},isGranted:n,observable:t}}},97984:(e,t,n)=>{n.d(t,{h:()=>i});var r=n(88948),o=n(68251);function i(e,t){return(0,r.W)(o.J,"fetch")(e,t)}}}]);
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.