PageSourceSearch

https://iron290.com/_next/static/chunks/b7346a692d167d1f.js?dpl=ad42237553ea6abef9af2cb640259b8e6f96ff57

js iron290.com collected 2026-10-04 10:56:39 UTC 60,855 bytes, 4 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,305274,700490,e=>{"use strict";var t,n,r,o,i=e.i(892888),s=e.i(905681),a=e.i(81650);(t=r||(r={}))[t.NONE=0]="NONE",t[t.SAMPLED=1]="SAMPLED";var u="0000000000000000",l="00000000000000000000000000000000",c={traceId:l,spanId:u,traceFlags:r.NONE},d=function(){function e(e){void 0===e&&(e=c),this._spanContext=e}return e.prototype.spanContext=function(){return this._spanContext},e.prototype.setAttribute=function(e,t){return this},e.prototype.setAttributes=function(e){return this},e.prototype.addEvent=function(e,t){return this},e.prototype.addLink=function(e){return this},e.prototype.addLinks=function(e){return this},e.prototype.setStatus=function(e){return this},e.prototype.updateName=function(e){return this},e.prototype.end=function(e){},e.prototype.isRecording=function(){return!1},e.prototype.recordException=function(e,t){},e}(),f=(0,a.createContextKey)("OpenTelemetry Context Key SPAN");function p(e){return e.getValue(f)||void 0}function g(){return p(s.ContextAPI.getInstance().active())}function y(e,t){return e.setValue(f,t)}function h(e){return e.deleteValue(f)}function v(e,t){return y(e,new d(t))}function m(e){var t;return null==(t=p(e))?void 0:t.spanContext()}var b=/^([0-9a-f]{32})$/i,S=/^[0-9a-f]{16}$/i;function w(e){var t,n;return t=e.traceId,b.test(t)&&t!==l&&(n=e.spanId,S.test(n)&&n!==u)}function _(e){return new d(e)}var k=s.ContextAPI.getInstance(),x=function(){function e(){}return e.prototype.startSpan=function(e,t,n){if(void 0===n&&(n=k.active()),null==t?void 0:t.root)return new d;var r,o=n&&m(n);return"object"==typeof(r=o)&&"string"==typeof r.spanId&&"string"==typeof r.traceId&&"number"==typeof r.traceFlags&&w(o)?new d(o):new d},e.prototype.startActiveSpan=function(e,t,n,r){if(!(arguments.length<2)){2==arguments.length?s=t:3==arguments.length?(o=t,s=n):(o=t,i=n,s=r);var o,i,s,a=null!=i?i:k.active(),u=this.startSpan(e,o,a),l=y(a,u);return k.with(l,s,void 0,u)}},e}(),C=new x,E=function(){function e(e,t,n,r){this._provider=e,this.name=t,this.version=n,this.options=r}return e.prototype.startSpan=function(e,t,n){return this._getTracer().startSpan(e,t,n)},e.prototype.startActiveSpan=function(e,t,n,r){var o=this._getTracer();return Reflect.apply(o.startActiveSpan,o,arguments)},e.prototype._getTracer=function(){if(this._delegate)return this._delegate;var e=this._provider.getDelegateTracer(this.name,this.version,this.options);return e?(this._delegate=e,this._delegate):C},e}(),T=new(function(){function e(){}return e.prototype.getTracer=function(e,t,n){return new x},e}()),$=function(){function e(){}return e.prototype.getTracer=function(e,t,n){var r;return null!=(r=this.getDelegateTracer(e,t,n))?r:new E(this,e,t,n)},e.prototype.getDelegate=function(){var e;return null!=(e=this._delegate)?e:T},e.prototype.setDelegate=function(e){this._delegate=e},e.prototype.getDelegateTracer=function(e,t,n){var r;return null==(r=this._delegate)?void 0:r.getTracer(e,t,n)},e}(),O=e.i(735747),A="trace",R=(function(){function e(){this._proxyTracerProvider=new $,this.wrapSpanContext=_,this.isSpanContextValid=w,this.deleteSpan=h,this.getSpan=p,this.getActiveSpan=g,this.getSpanContext=m,this.setSpan=y,this.setSpanContext=v}return e.getInstance=function(){return this._instance||(this._instance=new e),this._instance},e.prototype.setGlobalTracerProvider=function(e){var t=(0,i.registerGlobal)(A,this._proxyTracerProvider,O.DiagAPI.instance());return t&&this._proxyTracerProvider.setDelegate(e),t},e.prototype.getTracerProvider=function(){return(0,i.getGlobal)(A)||this._proxyTracerProvider},e.prototype.getTracer=function(e,t){return this.getTracerProvider().getTracer(e,t)},e.prototype.disable=function(){(0,i.unregisterGlobal)(A,O.DiagAPI.instance()),this._proxyTracerProvider=new $},e})().getInstance();e.s(["trace",()=>R],305274),(n=o||(o={}))[n.UNSET=0]="UNSET",n[n.OK=1]="OK",n[n.ERROR=2]="ERROR",e.s(["SpanStatusCode",()=>o],700490)},232370,e=>{"use strict";var t=e.i(196112),n=e.i(405741);let r=(e,t,n,r)=>{let o=t?.section_data_extended?.find(t=>
1t.id===e),i=n?.find(t=>t.id===e);return r?o:i};e.s(["findButtonDataByCardId",0,r,"generateButtonLink",0,(e,r,o,i,s,a)=>o?({[n.CustomMenusLinkType.URL]:r||"#",[n.CustomMenusLinkType.EMail]:r?`mailto:${r}`:"#",[n.CustomMenusLinkType.PhoneNumber]:r?`tel:${r}`:"#",[n.CustomMenusLinkType.Popup]:"#"})[e]||"#":i&&s&&a?`/news-details/news/${(0,t.formatSpecialChar)(i)}/${s}/${a}`:"#","getButtonLabel",0,(e,t,n,o,i)=>{let s=r(e,t,n,o);return s?.buttonTitle||i},"isDevelopmentEnv",0,()=>!1,"modifyIframeUrl",0,(e,t)=>{if(t){let n=`&user_id=${t}`;return e.includes("?")?e+n:e+"?user_id="+t}return e},"replaceNullWithEmptyString",0,e=>{for(let t in e)e[t]="null"===e[t]||"undefined"===e[t]?null:e[t];return e},"sortData",0,e=>[...e].sort((e,t)=>(e?.order??0)-(t?.order??0))])},73166,790173,294501,e=>{"use strict";var t,n,r,o,i,s;let a,u,l,c,d,f,p,g,y,h,v,m,b,S,w,_,k,x,C,E={log:"log",debug:"debug",info:"info",warn:"warn",error:"error"},T=console,$={};Object.keys(E).forEach(e=>{$[e]=T[e]});let O="Datadog Browser SDK:",A={debug:$.debug.bind(T,O),log:$.log.bind(T,O),info:$.info.bind(T,O),warn:$.warn.bind(T,O),error:$.error.bind(T,O)},R="https://docs.datadoghq.com",I=`${R}/real_user_monitoring/browser/troubleshooting`,P="More details:";function L(e,t){return(...n)=>{try{return e(...n)}catch(e){A.error(t,e)}}}let D=!1;function N(e){D=e}function B(e){return function(...t){return U(e,this,t)}}function U(e,t,n){try{return e.apply(t,n)}catch(e){M(e)}}function M(e){if(q(e),g)try{g(e)}catch(e){q(e)}}function q(...e){D&&A.error("[MONITOR]",...e)}function j(){if("object"==typeof globalThis)return globalThis;Object.defineProperty(Object.prototype,"_dd_temp_",{get(){return this},configurable:!0});let e=_dd_temp_;return delete Object.prototype._dd_temp_,"object"!=typeof e&&(e="object"==typeof self?self:"object"==typeof window?window:{}),e}let F=j(),H="WorkerGlobalScope"in F,G="userContext",z="globalContext",V="accountContext",W="getContext",K="setContext",J="setContextProperty",Z="removeContextProperty",X="clearContext",Y=/[^\u0000-\u007F]/;function Q(e){return Y.test(e)?void 0!==window.TextEncoder?new TextEncoder().encode(e).length:new Blob([e]).size:e.length}function ee(e,t){let n,r=j();return r.Zone&&"function"==typeof r.Zone.__symbol__&&(n=e[r.Zone.__symbol__(t)]),n||(n=e[t]),n}function et(e,t){return ee(j(),"setTimeout")(B(e),t)}function en(e){ee(j(),"clearTimeout")(e)}function er(e,t){return ee(j(),"setInterval")(B(e),t)}function eo(e){ee(j(),"clearInterval")(e)}function ei(){}
1function es(e,t,n){if("object"!=typeof e||null===e)return JSON.stringify(e);let r=ea(Object.prototype),o=ea(Array.prototype),i=ea(Object.getPrototypeOf(e)),s=ea(e);try{return JSON.stringify(e,t,n)}catch(e){return"<error: unable to serialize object>"}finally{r(),o(),i(),s()}}function ea(e){let t=e.toJSON;return t?(delete e.toJSON,()=>{e.toJSON=t}):ei}function eu(e,t=225280){let n=ea(Object.prototype),r=ea(Array.prototype),o=[],i=new WeakMap,s=el(e,"$",void 0,o,i),a=JSON.stringify(s),u=a?a.length:0;if(u>t)return void ec(t,"discarded",e);for(;o.length>0&&u<t;){let n=o.shift(),r=0;if(Array.isArray(n.source))for(let s=0;s<n.source.length;s++){let a=el(n.source[s],n.path,s,o,i);if(void 0!==a?u+=JSON.stringify(a).length:u+=4,u+=r,r=1,u>t){ec(t,"truncated",e);break}n.target[s]=a}else for(let s in n.source)if(Object.prototype.hasOwnProperty.call(n.source,s)){let a=el(n.source[s],n.path,s,o,i);if(void 0!==a&&(u+=JSON.stringify(a).length+r+s.length+3,r=1),u>t){ec(t,"truncated",e);break}n.target[s]=a}}return n(),r(),s}function el(e,t,n,r,o){let i=function(e){if(e&&"function"==typeof e.toJSON)try{return e.toJSON()}catch(e){}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&&r[1])return`[${r[1]}]`}catch(e){}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,l=Array.isArray(i)?[]:{};return o.set(e,u),r.push({source:i,target:l,path:u}),l}function ec(e,t,n){A.warn(`The data provided has been ${t} as it is over the limit of ${e} characters:`,n)}function ed(e){var t,n;let r=[],o=eS(e,"stack"),i=String(e);if(o&&o.startsWith(i)&&(o=o.slice(i.length)),o&&o.split("\n").forEach(e=>{let t=function(e){let t=eg.exec(e);if(!t)return;let n=t[2]&&0===t[2].indexOf("native"),r=t[2]&&0===t[2].indexOf("eval"),o=ey.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=eh.exec(e);if(t)return{args:[],column:t[3]?+t[3]:void 0,func:"?",line:t[2]?+t[2]:void 0,url:t[1]}}(e)||function(e){let t=ev.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=em.exec(e);if(!t)return;let n=t[3]&&t[3].indexOf(" > eval")>-1,r=eb.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);t&&(!t.func&&t.line&&(t.func="?"),r.push(t))}),r.length>0&&function(){if(void 0!==y)return y;let[e,t]=[class extends Error{constructor(){super(),this.name="Error"}},Error].map(e=>new e);return y=e_(Object.getPrototypeOf(e))&&t.stack!==e.stack}()&&e instanceof Error){let o=[],i=e;for(;(i=Object.getPrototypeOf(i))&&e_(i);){let e=(null==(t=i.constructor)?void 0:t.name)||"?";o.push(e)}for(let e=o.length-1;e>=0&&(null==(n=r[0])?void 0:n.func)===o[e];e--)r.shift()}return{message:eS(e,"message"),name:eS(e,"name"),stack:r}}let ef="((?:file|https?|blob|chrome-extension|electron|native|eval|webpack|snippet|<anonymous>|\\w+\\.|\\/).*?)",ep="(?::(\\d+))",eg=RegExp(`^\\s*at (.*?) ?\\(${ef}${ep}?${ep}?\\)?\\s*$`,"i"),ey=RegExp(`\\((\\S*)${ep}${ep}\\)`),eh=RegExp(`^\\s*at ?${ef}${ep}?${ep}??\\s*$`,"i"),ev=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i,em=/^\s*(.*?)(?:\((.*?)\))?(?:(?:(?:^|@)((?:file|https?|blob|chrome|webpack|resource|capacitor|\[native).*?|[^@]*bundle|\[wasm code\])(?::(\d+))?(?::(\d+))?)|@)\s*$/i,eb=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i;function eS(e,t){if("object"!=typeof e||!e||!(t in e))return;let n=e[t];return"string"==typeof n?n:void 0}let ew=/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?([\s\S]*)$/;function e_(e){return String(e.constructor).startsWith("class ")}function ek(e){let t,n=Error(e);return n.name="HandlingStack",U(()=>{let e=ed(n);e.stack=e.stack.slice(2),t=ex(e)}),t}function ex(e){let t=eC(e);
1return 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+=`
2  at ${n}${r} @ ${e.url}${o}${i}`}),t}function eC(e){return`${e.name||"Error"}: ${e.message}`}let eE="No stack, consider using an instance of Error";function eT({originalError:e,stackTrace:t,source:n,useFallbackStack:r=!0,nonErrorPrefix:o}){var i,s,a,u;let l=eO(e);return!t&&l&&(t=ed(e)),{source:n,type:t?t.name:void 0,message:(i=t,s=l,a=o,u=e,(null==i?void 0:i.message)&&(null==i?void 0:i.name)?i.message:s?"Empty message":a?`${a} ${es(eu(u))}`:es(eu(u))),stack:t?ex(t):r?eE:void 0}}function e$({stackTrace:e,originalError:t,handlingStack:n,componentStack:r,startClocks:o,nonErrorPrefix:i,useFallbackStack:s=!0,source:a,handling:u}){var l;let c=eT({originalError:t,stackTrace:e,source:a,useFallbackStack:s,nonErrorPrefix:i});return{startClocks:o,handling:u,handlingStack:n,componentStack:r,originalError:t,...c,causes:eO(t)?function(e,t){let n=[],r=e.cause;for(;null!=r&&n.length<10;){let e=eT({originalError:r,source:t,useFallbackStack:!1});n.push(e),r=eO(r)?r.cause:void 0}return n.length?n:void 0}(t,a):void 0,fingerprint:eO(l=t)&&"dd_fingerprint"in l?String(l.dd_fingerprint):void 0,context:function(e){if(null!==e&&"object"==typeof e&&"dd_context"in e)return e.dd_context}(t)}}function eO(e){return e instanceof Error||"[object Error]"===Object.prototype.toString.call(e)}function eA(e,t){return Object.keys(e).some(n=>e[n]===t)}function eR(e){return 0===Object.keys(e).length}(t=n||(n={})).TRACK_INTAKE_REQUESTS="track_intake_requests",t.USE_TREE_WALKER_FOR_ACTION_NAME="use_tree_walker_for_action_name",t.FEATURE_OPERATION_VITAL="feature_operation_vital",t.SHORT_SESSION_INVESTIGATION="short_session_investigation",t.AVOID_FETCH_KEEPALIVE="avoid_fetch_keepalive";let eI=new Set;function eP(e){let{env:t,service:n,version:r,datacenter:o,sdkVersion:i,variant:s}=e,a=[eL("sdk_version",null!=i?i:"6.25.0")];return t&&a.push(eL("env",t)),n&&a.push(eL("service",n)),r&&a.push(eL("version",r)),o&&a.push(eL("datacenter",o)),s&&a.push(eL("variant",s)),a}function eL(e,t){var n;let r=t?`${e}:${t}`:e;return(r.length>200||(n=r,function(){try{return RegExp("[\\p{Ll}]","u"),!0}catch(e){return!1}}()&&RegExp("[^\\p{Ll}\\p{Lo}0-9_:./-]","u").test(n)))&&A.warn(`Tag ${r} doesn't meet tag requirements and will be sanitized. ${P} ${R}/getting_started/tagging/#defining-tags`),eD(r)}function eD(e){return e.replace(/,/g,"_")}let eN="datadoghq.com",eB=["ddsource","dd-api-key","dd-request-id"];function eU(e){var t;let n=null==(t=F.queueMicrotask)?void 0:t.bind(F);"function"==typeof n?n(B(e)):Promise.resolve().then(B(e))}class eM{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 eq(...e){return new eM(t=>{let n=e.map(e=>e.subscribe(e=>t.notify(e)));return()=>n.forEach(e=>e.unsubscribe())})}class ej extends eM{constructor(e){super(),this.maxBufferSize=e,this.buffer=[]}notify(e){this.buffer.push(e),this.buffer.length>this.maxBufferSize&&this.buffer.shift(),super.notify(e)}subscribe(e){let t=!1;return eU(()=>{for(let n of this.buffer){if(t)return;e(n)}t||this.addObserver(e)}),{unsubscribe:()=>{t=!0,this.removeObserver(e)}}}unbuffer(){eU(()=>{this.maxBufferSize=this.buffer.length=0})}}function eF(){return new Date().getTime()}function eH(){return performance.now()}function eG(){return{relative:eH(),timeStamp:eF()}}function ez(){var e,t;return void 0===h&&(h=null!=(t=null==(e=performance.timing)?void 0:e.navigationStart)?t:performance.timeOrigin),h}function eV(e,t){let n=F.__ddBrowserSdkExtensionCallback;n&&n({type:e,payload:t})}function eW(e){return 0!==e&&100*Math.random()<=e}function eK(e){return null===e?"null":Array.isArray(e)?"array":typeof e}function eJ(e,t,n=function(){if("u">typeof WeakSet){let e=new WeakSet;return{hasAlreadyBeenSeen(t){let n=e.has(t);return n||e.add(t),n}}}let e=[];return{hasAlreadyBeenSeen(t){let n=e.indexOf(t)>=0;return n||e.push(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){let e=t.flags||[t.global?"g":"",t.ignoreCase?"i":"",t.multiline?"m":"",t.sticky?"y":"",t.unicode?"u":""].join("");return new RegExp(t.source,e)}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]=eJ(r[e],t[e],n);return r}let r="object"===eK(e)?e:{};for(let e in t)Object.prototype.hasOwnProperty.call(t,e)&&(r[e]=eJ(r[e],t[e],n));return r}function eZ(...e){let t;for(let n of e)null!=n&&(t=eJ(t,n));return t}function eX(){let e=j().DatadogEventBridge;if(e)return{getCapabilities(){var t;return JSON.parse((null==(t=e.getCapabilities)?void 0:t.call(e))||"[]")},getPrivacyLevel(){var t;return null==(t=e.getPrivacyLevel)?void 0:t.call(e)},getAllowedWebViewHosts:()=>JSON.parse(e.getAllowedWebViewHosts()),send(t,n,r){e.send(JSON.stringify({eventType:t,event:n,view:r?{id:r}:void 0}))}}}function eY(e){var t;void 0===e&&(e=null==(t=j().location)?void 0:t.hostname);let n=eX();return!!n&&n.getAllowedWebViewHosts().some(t=>e===t||e.endsWith(`.${t}`))}let eQ="agent",e0="console",e1="logger",e2="source",e3="report",e4=0x1400000;function e5(e,t,n,r,o,i){0===t.transportStatus&&0===t.queuedPayloads.size()&&t.bandwidthMonitor.canHandle(e)?e6(e,t,n,i,{onSuccess:()=>e7(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&&et(()=>{e6(t.queuedPayloads.first(),t,n,i,{onSuccess:()=>{t.queuedPayloads.dequeue(),t.currentBackoffTime=1e3,e7(1,t,n,r,o,i)},onFailure:()=>{t.currentBackoffTime=Math.min(6e4,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 e6(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||s.status>=500)?(t.transportStatus=t.bandwidthMonitor.ongoingRequestCount>0?1:2,e.retry={count:e.retry?e.retry.count+1:1,lastFailureStatus:n.status}
2,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 e7(e,t,n,r,o,i){0===e&&t.queuedPayloads.isFull()&&!t.queueFullReported&&(o({message:`Reached max ${r} events size queued for upload: ${e4/1048576}MiB`,source:eQ,startClocks:eG()}),t.queueFullReported=!0);let s=t.queuedPayloads;for(t.queuedPayloads=e9();s.size()>0;)e5(s.dequeue(),t,n,r,o,i)}function e9(){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>=e4}}}function e8(e,t,r=16384){let o=new eM,i={transportStatus:0,currentBackoffTime:1e3,bandwidthMonitor:{ongoingRequestCount:0,ongoingByteCount:0,canHandle(e){return 0===this.ongoingRequestCount||this.ongoingByteCount+e.bytesCount<=81920&&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:e9(),queueFullReported:!1};return{observable:o,send:s=>{for(let a of e)e5(s,i,(e,t)=>{var o;(o=n.AVOID_FETCH_KEEPALIVE,eI.has(o))?tt(a,e,t):!function(e,t,n,r){(function(){try{return window.Request&&"keepalive"in new Request("http://a")}catch(e){return!1}})()&&n.bytesCount<t?fetch(e.build("fetch-keepalive",n),{method:"POST",body:n.data,keepalive:!0,mode:"cors"}).then(B(e=>null==r?void 0:r({status:e.status,type:e.type}))).catch(B(()=>tt(e,n,r))):tt(e,n,r)}(a,r,e,t)},a.trackType,t,o)},sendOnExit:t=>{for(let n of e)!function(e,t,n){if(navigator.sendBeacon&&n.bytesCount<t)try{let t=e.build("beacon",n);if(navigator.sendBeacon(t,n.data))return}catch(e){var r;r=e,te||(te=!0,M(r))}tt(e,n)}(n,r,t)}}}let te=!1;function tt(e,t,n){fetch(e.build("fetch",t),{method:"POST",body:t.data,mode:"cors"}).then(B(e=>null==n?void 0:n({status:e.status,type:e.type}))).catch(B(()=>null==n?void 0:n({status:0})))}let tn=H?1:50;function tr({pageMayExitObservable:e,sessionExpireObservable:t}){let n,r=e.subscribe(e=>u(e.reason)),o=t.subscribe(()=>u("session_expire")),i=new eM(()=>()=>{r.unsubscribe(),o.unsubscribe()}),s=0,a=0;function u(e){if(0===a)return;let t=a,n=s;a=0,s=0,l(),i.notify({reason:e,messagesCount:t,bytesCount:n})}function l(){en(n),n=void 0}return{flushObservable:i,get messagesCount(){return a},notifyBeforeAddMessage(e){s+e>=16384&&u("bytes_limit"),a+=1,s+=e,void 0===n&&(n=et(()=>{u("duration_limit")},3e4))},notifyAfterAddMessage(e=0){s+=e,a>=tn?u("messages_limit"):s>=16384&&u("bytes_limit")},notifyAfterRemoveMessage(e){s-=e,0==(a-=1)&&l()}}}function to(e){return Object.values(e)}function ti(e,t,n,r,{once:o,capture:i,passive:s}={}){let a=B(t=>{(t.isTrusted||t.__ddIsTrusted||e.allowUntrustedEvents)&&(o&&d(),r(t))}),u=s?{capture:i,passive:s}:i,l=window.EventTarget&&t instanceof EventTarget?window.EventTarget.prototype:t,c=ee(l,"addEventListener");function d(){let e=ee(l,"removeEventListener");n.forEach(n=>e.call(t,n,a,u))}return n.forEach(e=>c.call(t,e,a,u)),{stop:d}}let ts={HIDDEN:"visibility_hidden",UNLOADING:"before_unload",PAGEHIDE:"page_hide",FROZEN:"page_frozen"};function ta({encoder:e,request:t,flushController:n}){let r={},o=n.flushObservable.subscribe(n=>(function(n){var o;let i=to(r).join("\n");r={};let s=(o=n.reason,to(ts).includes(o)),a=s?t.sendOnExit:t.send;if(s&&e.isAsync){let t=e.finishSync();t.outputBytesCount&&a(tu(t));let n=[t.pendingData,i].filter(Boolean).join("\n");n&&a({data:n,bytesCount:Q(n)})}else i&&e.write(e.isEmpty?i:`
3${i}`),e.finish(e=>{a(tu(e))})})(n));function i(t,o){let i,s,a=es(t),u=e.estimateEncodedBytesCount(a);u>=262144?A.warn(`Discarded a message whose size was bigger than the maximum allowed size ${256}KiB. ${P} ${I}/#technical-limitations`):(void 0!==o&&void 0!==r[o]&&(i=r[o],delete r[o],s=e.estimateEncodedBytesCount(i),n.notifyAfterRemoveMessage(s)),n.notifyBeforeAddMessage(u),void 0!==o?(r[o]=a,n.notifyAfterAddMessage()):e.write(e.isEmpty?a:`
4${a}`,e=>{n.notifyAfterAddMessage(e-u)}))}return{flushController:n,add:i,upsert:i,stop:o.unsubscribe}}function tu(e){return{data:"string"==typeof e.output?e.output:new Blob([e.output],{type:"text/plain"}),bytesCount:e.outputBytesCount,encoding:e.encoding}}let tl="DISCARDED",tc="SKIPPED",td="configuration",tf="usage",tp=["https://www.datadoghq-browser-agent.com","https://www.datad0g-browser-agent.com","https://d3uc069fcn7uxw.cloudfront.net","https://d20xtzwzcl0ceb.cloudfront.net","http://localhost","<anonymous>"],tg=["ddog-gov.com"];function ty(){return v||(v=new ej(100)),v}function th(e,t){q(E.debug,e,t),ty().notify({rawEvent:{type:"log",message:e,status:"debug",...t}})}function tv(e,t){ty().notify({rawEvent:{type:"log",status:"error",...function(e){if(eO(e)){var t;let n=ed(e);return{error:{kind:n.name,stack:ex(((t=n).stack=t.stack.filter(e=>!e.url||tp.some(t=>e.url.startsWith(t))),t))},message:n.message}}return{error:{stack:eE},message:`Uncaught ${es(e)}`}}(e),...t}})}function tm(e){ty().notify({rawEvent:{type:tf,usage:e}})}function tb(e,t){t.silentMultipleInit||A.error(`${e} is already initialized.`)}let tS={GRANTED:"granted",NOT_GRANTED:"not-granted"};function tw(e,t,n,r){return B((...o)=>(r&&tm({feature:r}),e()[t][n](...o)))}function t_(e,t,n){e.changeObservable.subscribe(()=>{let r=e.getContext();n.add(e=>e[t].setContext(r))})}function tk(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:ei};else o=ei;let i=!1,s=function(){let e;if(i)return o.apply(this,arguments);let t=Array.from(arguments);U(n,null,[{target:this,parameters:t,onPostCall:t=>{e=t},handlingStack:r?ek("instrumented method"):void 0}]);let s=o.apply(this,t);return e&&U(e,null,[s]),s};return e[t]=s,{stop:()=>{i=!0,e[t]===s&&(e[t]=o)}}}function tx(e,t,n){let r={...e};for(let[e,{required:o,type:i}]of Object.entries(t))"string"!==i||tC(r[e])||(r[e]=String(r[e])),o&&tC(r[e])&&A.warn(`The property ${e} of ${n} is required; context will not be sent to the intake.`);return r}function tC(e){return null==e||""===e}function tE(e="",{propertiesConfig:t={}}={}){let n={},r=new eM,o={getContext:()=>eJ(void 0,n),setContext:i=>{let s;((s="object"===eK(i))||A.error("Unsupported context:",i),s)?n=eu(tx(i,t,e)):o.clearContext(),r.notify()},setContextProperty:(o,i)=>{n=eu(tx({...n,[o]:i}
4,t,e)),r.notify()},removeContextProperty:o=>{delete n[o],tx(n,t,e),r.notify()},clearContext:()=>{n={},r.notify()},changeObservable:r};return o}function tT(e,t,n){let r=n.getHandler(),o=Array.isArray(r)?r:[r];return tO[e]>=tO[n.getLevel()]&&o.includes(t)}let t$={ok:"ok",debug:"debug",info:"info",notice:"notice",warn:"warn",error:"error",critical:"critical",alert:"alert",emerg:"emerg"},tO={[t$.ok]:0,[t$.debug]:1,[t$.info]:2,[t$.notice]:4,[t$.warn]:5,[t$.error]:6,[t$.critical]:7,[t$.alert]:8,[t$.emerg]:9};function tA(e,{includeMessage:t=!1}={}){return{stack:e.stack,kind:e.type,message:t?e.message:void 0,causes:e.causes,fingerprint:e.fingerprint,handling:e.handling}}e.s(["StatusType",0,t$,"isAuthorized",()=>tT],790173);let tR={console:"console",http:"http",silent:"silent"},tI=Object.keys(t$);class tP{constructor(e,t,n=tR.http,r=t$.debug,o={}){this.handleLogStrategy=e,this.handlerType=n,this.level=r,this.contextManager=tE("logger"),this.tags=[],this.contextManager.setContext(o),t&&this.contextManager.setContextProperty("logger",{name:t})}logImplementation(e,t,n=t$.info,r,o){let i,s=eu(t);if(null!=r){let e=e$({originalError:r,nonErrorPrefix:"Provided",source:e1,handling:"handled",startClocks:eG()});i=eZ({error:tA(e,{includeMessage:!0})},e.context,s)}else i=s;this.handleLogStrategy({message:eu(e),context:i,status:n},this,o)}log(e,t,n=t$.info,r){let o;tT(n,tR.http,this)&&(o=ek("log")),this.logImplementation(e,t,n,r,o)}setContext(e){this.contextManager.setContext(e)}getContext(){return this.contextManager.getContext()}setContextProperty(e,t){this.contextManager.setContextProperty(e,t)}removeContextProperty(e){this.contextManager.removeContextProperty(e)}clearContext(){this.contextManager.clearContext()}addTag(e,t){this.tags.push(eL(e,t))}removeTagsWithKey(e){let t=eD(e);this.tags=this.tags.filter(e=>e!==t&&!e.startsWith(`${t}:`))}getTags(){return this.tags.slice()}setHandler(e){this.handlerType=e}getHandler(){return this.handlerType}setLevel(e){this.level=e}getLevel(){return this.level}}function tL(e){return function(t,n,r){let o;tT(e,tR.http,this)&&(o=ek("log")),this.logImplementation(t,n,e,r,o)}}function tD(){return H?{}:{view:{referrer:document.referrer,url:window.location.href}}}function tN(e,t){let n=e.indexOf(t);n>=0&&e.splice(n,1)}function tB(e){return tU(e,location.href).href}function tU(e,t){let{URL:n}=function(){if(!m){let e,t;try{(e=document.createElement("iframe")).style.display="none",document.body.appendChild(e),t=e.contentWindow}catch(e){t=F}m={URL:t.URL},null==e||e.remove()}return m}();try{return void 0!==t?new n(e,t):new n(e)}catch(e){throw Error(`Failed to construct URL: ${String(e)}`)}}async function tM(e,t){let n=e.getReader(),r=[];for(;;){let e=await n.read();if(e.done)break;t.collectStreamBody&&r.push(e.value)}return n.cancel().catch(ei),t.collectStreamBody?function(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}(r):void 0}!function(e,t,n,r){var o,i=arguments.length,s=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(i<3?o(s):i>3?o(t,n,s):o(t,n))||s);i>3&&s&&Object.defineProperty(t,n,s)}([function(e,t,n){let r=n.value;n.value=function(...e){return(g?B(r):r).apply(this,e)}}],tP.prototype,"logImplementation",null),tP.prototype.ok=tL(t$.ok),tP.prototype.debug=tL(t$.debug),tP.prototype.info=tL(t$.info),tP.prototype.notice=tL(t$.notice),tP.prototype.warn=tL(t$.warn),tP.prototype.error=tL(t$.error),tP.prototype.critical=tL(t$.critical),tP.prototype.alert=tL(t$.alert),tP.prototype.emerg=tL(t$.emerg),e.s(["HandlerType",0,tR,"Logger",()=>tP,"STATUSES",0,tI],294501);let tq=[];function tj({responseBodyAction:e}={}){return e&&tq.push(e),b||(b=new eM(e=>{if(!F.fetch)return;let{stop:t}=tk(F,"fetch",t=>(function({parameters:e,onPostCall:t,handlingStack:n},r){let[o,i]=e,s=i&&i.method;void 0===s&&o instanceof Request&&(s=o.method);let a=void 0!==s?String(s).toUpperCase():"GET",u=o instanceof Request?o.url:tB(String(o)),l={state:"start",init:i,input:o,method:a,startClocks:eG(),url:u,handlingStack:n};r.notify(l),e[0]=l.input,e[1]=l.init,t(e=>{tF(r,e,l).catch(M)})})(t,e),{computeHandlingStack:!0});return t})),b}async function tF(e,t,n){var r,o;let i;n.state="resolve";try{i=await t}catch(t){n.status=0,n.isAborted=(null==(o=null==(r=n.init)?void 0:r.signal)?void 0:o.aborted)||t instanceof DOMException&&t.code===DOMException.ABORT_ERR,n.error=t,e.notify(n);return}n.response=i,n.status=i.status,n.responseType=i.type,n.isAborted=!1;let s=tq.reduce((e,t)=>
4Math.max(e,t(n)),0);if(0!==s){let e=function(e){try{return e.clone()}catch(e){return}}(i);if(e&&e.body)try{let t=await tM(e.body,{collectStreamBody:2===s});n.responseBody=t&&new TextDecoder().decode(t)}catch(e){}}e.notify(n)}let tH=[];function tG(e,t,n,r){var o,i;let s=(o=n,i=r,`_dd_c_${o}_${i}`);tH.push(ti(e,window,["storage"],({key:e})=>{s===e&&t.setContext(u())},void 0)),t.changeObservable.subscribe(function(){localStorage.setItem(s,JSON.stringify(t.getContext()))});let a=eZ(u(),t.getContext());function u(){let e=localStorage.getItem(s);return e?JSON.parse(e):{}}eR(a)||t.setContext(a)}function tz(){return tE("account",{propertiesConfig:{id:{type:"string",required:!0},name:{type:"string"}}})}function tV(){return tE("global context")}function tW(){return tE("user",{propertiesConfig:{id:{type:"string"},name:{type:"string"},email:{type:"string"}}})}function tK(e){return e?(parseInt(e,10)^16*Math.random()>>parseInt(e,10)/4).toString(16):"10000000-1000-4000-8000-100000000000".replace(/[018]/g,tK)}let tJ=/([\w-]+)\s*=\s*([^;]+)/g;function tZ(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}`}function tX(e,t,n=0,r){let o=new Date;o.setTime(o.getTime()+n);let i=`expires=${o.toUTCString()}`,s=r&&r.crossSite?"none":"strict",a=r&&r.domain?`;domain=${r.domain}`:"",u=r&&r.secure?";secure":"",l=r&&r.partitioned?";partitioned":"";document.cookie=`${e}=${t};${i};path=/;samesite=${s}${a}${u}${l}`}function tY(e){var t=document.cookie;for(tJ.lastIndex=0;;){let n=tJ.exec(t);if(n){if(n[1]===e)return n[2]}else break}}function tQ(e){return w||(w=function(e){let t=new Map;for(tJ.lastIndex=0;;){let n=tJ.exec(e);if(n)t.set(n[1],n[2]);else break}return t}(document.cookie)),w.get(e)}function t0(e=location.hostname,t=document.referrer){if(void 0===_){let n=function(e,t){try{return e||tU(t).hostname}catch(e){}}(e,t);if(n){let e=`dd_site_test_${tK()}`,t=n.split("."),r=t.pop();for(;t.length&&!tY(e);)tX(e,"test",1e3,{domain:r=`${t.pop()}.${r}`});tX(e,"",0,{domain:r}),_=r}}return _}let t1="_dd_s",t2=144e5,t3=9e5,t4=31536e6,t5="cookie",t6="local-storage",t7=/^([a-zA-Z]+)=([a-z0-9-]+)$/;function t9(e,t){let n={isExpired:"1"};return t.trackAnonymousUser&&(null==e?void 0:e.anonymousId)&&(n.anonymousId=null==e?void 0:e.anonymousId),n}function t8(e){var t;return void 0!==e.isExpired||!((void 0===(t=e).created||eF()-Number(t.created)<t2)&&(void 0===t.expire||eF()<Number(t.expire)))}function ne(e){e.expire=String(eF()+t3)}function nt(e){return Object.entries(e).map(([e,t])=>"anonymousId"===e?`aid=${t}`:`${e}=${t}`).join("&")}function nn(e){let t={};return e&&(-1!==e.indexOf("&")||t7.test(e))&&e.split("&").forEach(e=>{let n=t7.exec(e);if(null!==n){let[,e,r]=n;"aid"===e?t.anonymousId=r:t[e]=r}}),t}function nr(e){let t=function(e){let t={};if(t.secure=!!e.useSecureSessionCookie||!!e.usePartitionedCrossSiteSessionCookie,t.crossSite=!!e.usePartitionedCrossSiteSessionCookie,t.partitioned=!!e.usePartitionedCrossSiteSessionCookie,e.trackSessionAcrossSubdomains){let e=t0();if(!e)return;t.domain=e}return t}(e);return t&&function(e){if(void 0===document.cookie||null===document.cookie)return!1;try{let t=`dd_cookie_test_${tK()}`,n="test";tX(t,n,6e4,e);let r=tY(t)===n;return tX(t,"",0,e),r}catch(e){return A.error(e),!1}}(t)?{type:t5,cookieOptions:t}:void 0}function no(e,t,n,r){let o=nt(n);t.betaEncodeCookieOptions&&(o=nt({...n,...!eR(n)?{c:ns(e)}:{}}
4)),tX(t1,o,t.trackAnonymousUser?t4:r,e)}function ni(e,t){return t.betaEncodeCookieOptions?function(e){let t,n=(function(e){let t=new Map;for(tJ.lastIndex=0;;){let n=tJ.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})(document.cookie).get(t1)||[],r=ns(e);for(let e of n.reverse())if((t=nn(e)).c===r)break;return null==t||delete t.c,null!=t?t:{}}(e):nn(tY(t1))}function ns(e){return((e.domain?e.domain.split(".").length-1:0)<<1|!!e.crossSite).toString(16)}function na(){try{let e=tK(),t=`_dd_test_${e}`;localStorage.setItem(t,e);let n=localStorage.getItem(t);return localStorage.removeItem(t),e===n?{type:t6}:void 0}catch(e){return}}function nu(e){localStorage.setItem(t1,nt(e))}function nl(){return nn(localStorage.getItem(t1))}let nc=[];function nd(e,t,n=0){var r;let o,{isLockEnabled:i,persistSession:s,expireSession:a}=t,u=e=>s({...e,lock:o}),l=()=>{let{lock:e,...n}=t.retrieveSession();return{session:n,lock:e&&!function(e){var t;let[,n]=e.split("--");return!n||(t=Number(n),eF()-t>1e3)}(e)?e:void 0}};if(k||(k=e),e!==k)return void nc.push(e);if(i&&n>=100)return void np(t);let c=l();if(i&&(c.lock||(o=tK()+"--"+eF(),u(c.session),(c=l()).lock!==o)))return void nf(e,t,n);let d=e.process(c.session);if(i&&(c=l()).lock!==o)return void nf(e,t,n);if(d&&(t8(d)?a(d):(ne(d),i?u(d):s(d))),i&&!(d&&t8(d))){if((c=l()).lock!==o)return void nf(e,t,n);s(c.session),d=c.session}null==(r=e.after)||r.call(e,d||c.session),np(t)}function nf(e,t,n){et(()=>{nd(e,t,n+1)},10)}function np(e){k=void 0;let t=nc.shift();t&&nd(t,e)}let ng=["chrome-extension://","moz-extension://"];function ny(e){return ng.some(t=>e.includes(t))}function nh(e,t,n){let r=function(e,t){let n=`/api/v2/${t}`,r=e.proxy;if("string"==typeof r){let e=tB(r);return t=>`${e}?ddforward=${encodeURIComponent(`${n}?${t}`)}`}if("function"==typeof r)return e=>r({path:n,parameters:e});let o=function(e,t){let{site:n=eN,internalAnalyticsSubdomain:r}=t;if("logs"===e&&t.usePciIntake&&n===eN)return"pci.browser-intake-datadoghq.com";if(r&&n===eN)return`${r}.${eN}`;if("dd0g-gov.com"===n)return`http-intake.logs.${n}`;let o=n.split("."),i=o.pop();return`browser-intake-${o.join("-")}.${i}`}(t,e);return e=>`https://${o}${n}?${e}`}(e,t);return{build:(o,i)=>r(function({clientToken:e,internalAnalyticsSubdomain:t,source:n="browser"},r,o,{retry:i,encoding:s},a=[]){let u=[`ddsource=${n}`,`dd-api-key=${e}`,`dd-evp-origin-version=${encodeURIComponent("6.25.0")}`,"dd-evp-origin=browser",`dd-request-id=${tK()}`].concat(a);return s&&u.push(`dd-evp-encoding=${s}`),"rum"===r&&(u.push(`batch_time=${eF()}`,`_dd.api=${o}`),i&&u.push(`_dd.retry_count=${i.count}`,`_dd.retry_after=${i.lastFailureStatus}`)),t&&u.reverse(),u.join("&")}(e,t,o,i,n)),trackType:t}}function nv(e,t){return null==e||"string"==typeof e||(A.error(`${t} must be defined as a string`),!1)}function nm(e,t){return void 0===e||!!("number"==typeof e&&e>=0&&e<=100)||(A.error(`${t} Sample Rate should be a number between 0 and 100`),!1)}let nb={intervention:"intervention",deprecation:"deprecation",cspViolation:"csp_violation"};function nS(e){return{startClocks:eG(),source:e3,handling:"unhandled",...e}}function nw(e,t,n,r,o){return n?ex({name:e,message:t,stack:[{func:"?",url:n,line:null!=r?r:void 0,column:null!=o?o:void 0}]}):void 0}function n_(e,t,n){let r;return void 0===e?[]:"all"===e||Array.isArray(e)&&e.every(e=>t.includes(e))?"all"===e?t:(r=new Set,e.forEach(e=>r.add(e)),Array.from(r)):void A.error(`${n} should be "all" or an array with allowed values "${t.join('", "')}"`)}function nk(){return!H&&!!(F._DATADOG_SYNTHETICS_INJECTS_RUM||tQ("datadog-synthetics-injects-rum"))}function nx(){let e="",t=0;return{isAsync:!1,get isEmpty(){return!e},write(n,r){let o=Q(n);t+=o,e+=n,r&&r(o)},finish(e){e(this.finishSync())},finishSync(){let n={output:e,outputBytesCount:t,rawBytesCount:t,pendingData:""};return e="",t=0,n},estimateEncodedBytesCount:e=>e.length}}let nC=1/0,nE=null,nT=new Set,n$=[];async function nO(e){let t,n,r=e.sessionStoreStrategyType;if(r){let o,i;r.type===t5?(t=ni(r.cookieOptions,e),n={cookie:await nA(),currentDomain:`${window.location.protocol}//${window.location.hostname}`}):t=nl(),th("Unexpected session state",{sessionStoreStrategyType:r.type,session:t,isSyntheticsTest:"string"==typeof(o=window._DATADOG_SYNTHETICS_PUBLIC_ID||tQ("datadog-synthetics-public-id"))&&
4!!o&&"string"==typeof(i=window._DATADOG_SYNTHETICS_RESULT_ID||tQ("datadog-synthetics-result-id"))&&!!i,createdTimestamp:null==t?void 0:t.created,expireTimestamp:null==t?void 0:t.expire,...n})}}async function nA(){let e;return{count:(e="cookieStore"in window?await window.cookieStore.getAll(t1):document.cookie.split(/\s*;\s*/).filter(e=>e.startsWith(t1))).length,domain:t0()||"undefined",...e}}function nR(e,t){var n;return"0"===(n=t)||"1"===n?t:eW(e.sessionSampleRate)?"1":"0"}let nI={},nP={[E.log]:t$.info,[E.debug]:t$.debug,[E.info]:t$.info,[E.warn]:t$.warn,[E.error]:t$.error},nL=new WeakMap;function nD({target:e,parameters:[t,n]}){nL.set(e,{state:"open",method:String(t).toUpperCase(),url:tB(String(n))})}function nN({target:e}){let t=nL.get(e);t&&(t.isAborted=!0)}let nB=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)}}}},nU={[t$.ok]:E.debug,[t$.debug]:E.debug,[t$.info]:E.info,[t$.notice]:E.info,[t$.warn]:E.warn,[t$.error]:E.error,[t$.critical]:E.error,[t$.alert]:E.error,[t$.emerg]:E.error},nM=function(){let e={};return{register:(t,n)=>(e[t]||(e[t]=[]),e[t].push(n),{unregister:()=>{e[t]=e[t].filter(e=>e!==n)}}),triggerHook(t,n){let r=e[t]||[],o=[];for(let e of r){let t=e(n);if(t===tl)return tl;t!==tc&&o.push(t)}return eZ(...o)}}},nq="logs",nj=(i=function(e,t,r,o){var i,s,a,u,l,c,d,f;let p,y,h,v,m,b,w,_,k,C=new nB,O=nM(),A=[];C.subscribe(1,e=>eV("logs",e));let R=e=>{C.notify(0,{rawLogsEvent:{message:e.message,date:e.startClocks.timeStamp,origin:eQ,status:t$.error}}),th("Error reported to customer",{"error.message":e.message})},I=H?new eM:new eM(t=>{let{stop:n}=ti(e,window,["visibilitychange","freeze"],e=>{"visibilitychange"===e.type&&"hidden"===document.visibilityState?t.notify({reason:ts.HIDDEN}):"freeze"===e.type&&t.notify({reason:ts.FROZEN})},{capture:!0}),r=ti(e,window,["beforeunload"],()=>{t.notify({reason:ts.UNLOADING})},void 0).stop;return()=>{n(),r()}}),P=function(e,t,n,r,o,i){let s=new eM,{stop:a}=function(e,t,n,r,o){let i=[];if(eY()){let e=eX(),t=o.subscribe(t=>e.send("internal_telemetry",t));i.push(t.unsubscribe)}else{let s=[e.rumEndpointBuilder];e.replica&&"datad0g.com"===e.site&&s.push(e.replica.rumEndpointBuilder);let a=ta({encoder:r(4),request:e8(s,t),flushController:tr({pageMayExitObservable:n,sessionExpireObservable:new eM})});i.push(a.stop);let u=o.subscribe(a.add);i.push(u.unsubscribe)}return{stop:()=>i.forEach(e=>e())}}(t,r,o,i,s),{enabled:u,metricsEnabled:l}=function(e,t,n,r,o=1,i=15){var s;let a={},u=!tg.includes(t.site)&&eW(t.telemetrySampleRate),l={log:u,[td]:u&&eW(t.telemetryConfigurationSampleRate),[tf]:u&&eW(t.telemetryUsageSampleRate),metric:u&&eW(o)},c={is_local_file:(null==(s=F.location)?void 0:s.protocol)==="file:",is_worker:H},d=ty();return d.subscribe(({rawEvent:o,metricName:s})=>{var u,d,f,p,g;let y,h;if(s&&!l.metric||!l[o.type])return;let v=s||o.status||o.type,m=a[v];if(m||(m=a[v]=new Set),m.size>=i)return;let b=es(o);if(m.has(b))return;let S=n.triggerHook(1,{startTime:eG().relative});if(S===tl)return;let w=(u=S,d=e,f=o,p=c,h={type:"telemetry",date:eG().timeStamp,service:d,version:"6.25.0",source:"browser",_dd:{format_version:2},telemetry:eZ(f,{runtime_env:p,connectivity:{status:(y=F.navigator).onLine?"connected":"not_connected",interfaces:y.connection&&y.connection.type?[y.connection.type]:void 0,effective_type:null==(g=y.connection)?void 0:g.effectiveType},sdk_setup:"npm"}),ddtags:eP(t).join(","),experimental_features:Array.from(eI)},eZ(h,u));r.notify(w),eV("telemetry",w),m.add(b)}),d.unbuffer(),g=tv,{enabled:u,metricsEnabled:l.metric}}(e,t,n,s);return{stop:a,enabled:u,metricsEnabled:l}}("browser-logs-sdk",e,O,R,I,nx);A.push(P.stop);let L=!e.sessionStoreStrategyType||eY()||nk()?(p="1"===nR(e)?{}:void 0,{findTrackedSession:()=>p,expireObservable:new eM}):{findTrackedSession:(e,t={returnInactive:!1})=>{let n=y.findSession(e,t);return n&&"1"===n.trackingType?{id:n.id,anonymousId:n.anonymousId}:void 0},expireObservable:(y=function(e,t,r,o){var i;let s=new eM,a=new eM,u=function(e,t,n,r,o=function(e,t){return e.type===t5?function(e,t){let n={isLockEnabled:0===(null!=S?S:S=function(e=window){var t;let n=e.navigator.userAgent;return e.chrome||/HeadlessChrome/.test(n)?0:(null==(t=e.navigator.vendor)?void 0:t.indexOf("Apple"))===0||/safari/i.test(n)&&!/chrome|android/i.test(n)?1:2}()),persistSession:n=>no(t,e,n,t3),retrieveSession:()=>ni(t,e),expireSession:n=>no(t,e,t9(n,e),t2)};if(!tQ(t1)){let e=tQ("_dd"),t=tQ("_dd_r"),r=tQ("_dd_l"),o={};e&&(o.id=e),r&&/^[01]$/.test(r)&&(o.logs=r),t&&/^[012]$/.test(t)&&(o.rum=t),eR(o)||
4(ne(o),n.persistSession(o))}return n}(t,e.cookieOptions):{isLockEnabled:!1,persistSession:nu,retrieveSession:nl,expireSession:e=>(function(e,t){nu(t9(e,t))})(e,t)}}(e,t)){var i;let s,a,u,l,c=new eM,d=new eM,f=new eM,p=er(function(){let e=o.retrieveSession();t8(e)?nd({process:e=>t8(e)?t9(e,t):void 0,after:h},o):h(e)},1e3);v();let{throttled:g,cancel:y}=(i=()=>{nd({process:e=>{if(eR(e))return;let t=h(e);return function(e){if(eR(e))return;let t=r(e[n]);e[n]=t,delete e.isExpired,"0"===t||e.id||(e.id=tK(),e.created=String(eF()))}(t),t},after:e=>{eR(e)||m()||(s=e,c.notify()),s=e}},o)},l=!1,{throttled:(...e)=>{if(l){a=e;return}i(...e),l=!0,u=et(()=>{a&&i(...a),l=!1,a=void 0},1e3)},cancel:()=>{en(u),l=!1,a=void 0}});function h(e){var r;return t8(e)&&(e=t9(e,t)),m()&&((r=e,s.id!==r.id||s[n]!==r[n])?(s=t9(s,t),d.notify()):(f.notify({previousState:s,newState:e}),s=e)),e}function v(){nd({process:e=>{if(eR(e))return e.anonymousId=tK(),t9(e,t)},after:e=>{s=e}},o)}function m(){return(null==s?void 0:s[n])!==void 0}return{expandOrRenewSession:g,expandSession:function(){nd({process:e=>m()?h(e):void 0},o)},getSession:()=>s,renewObservable:c,expireObservable:d,sessionStateUpdateObservable:f,restartSession:v,expire:e=>{y(),!1===e&&s&&delete s.anonymousId,o.expireSession(s),h(t9(s,t))},stop:()=>{eo(p)},updateSessionState:function(e){nd({process:t=>({...t,...e}),after:h},o)}}}(e.sessionStoreStrategyType,e,t,r);n$.push(()=>u.stop());let l=function({expireDelay:e,maxEntries:t}){let n=[];nE||(nE=er(()=>void nT.forEach(e=>e()),6e4));let r=()=>{let t=eH()-e;for(;n.length>0&&n[n.length-1].endTime<t;)n.pop()};return nT.add(r),{add:function(e,r){let o={value:e,startTime:r,endTime:nC,remove:()=>{tN(n,o)},close:e=>{o.endTime=e}};return t&&n.length>=t&&n.pop(),n.unshift(o),o},find:function(e=nC,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&&t.endTime===nC&&t.close(e)},findAll:function(e=nC,t=0){let r=e+t;return n.filter(t=>t.startTime<=r&&e<=t.endTime).map(e=>e.value)},reset:function(){n=[]},stop:function(){nT.delete(r),0===nT.size&&nE&&(eo(nE),nE=null)}}}({expireDelay:t2});if(n$.push(()=>l.stop()),u.renewObservable.subscribe(()=>{l.add(c(),eH()),s.notify()}),u.expireObservable.subscribe(()=>{a.notify(),l.closeActive(eH())}),u.expandOrRenewSession(),l.add(c(),{relative:0,timeStamp:ez()}.relative),i=n.SHORT_SESSION_INVESTIGATION,eI.has(i)){let t=u.getSession();t&&function(e,t){if(!window.cookieStore||!t.created)return;let n=Number(t.created),r=eF(),{stop:o}=ti(e,cookieStore,["change"],function(e){let i=function(e,t){for(let n=e.length-1;n>=0;n-=1){let r=e[n];if(t(r,n,e))return r}}(e.changed,e=>e.name===t1);if(!i)return;let s=eF()-n;if(s>84e4)o();else{let e=nn(i.value);if(e.id&&e.id!==t.id){o();let n=eF()-r;nA().then(r=>{th("Session cookie changed",{time:n,session_age:s,old:t,new:e,cookie:r})}).catch(M)}}},void 0);n$.push(o)}(e,t)}function c(){let n=u.getSession();return n?{id:n.id,trackingType:n[t],isReplayForced:!!n.forcedReplay,anonymousId:n.anonymousId}:(nO(e).catch(()=>void 0),{id:"invalid",trackingType:"0",isReplayForced:!1,anonymousId:void 0})}return o.observable.subscribe(()=>{o.isGranted()?u.expandOrRenewSession():u.expire(!1)}),function(e,t){let{stop:n}=ti(e,window,["click","touchstart","keydown","scroll"],t,{capture:!0,passive:!0});n$.push(n)}(e,()=>{o.isGranted()&&u.expandOrRenewSession()}),function(e,t){let n=()=>{"visible"===document.visibilityState&&t()},{stop:r}=ti(e,document,["visibilitychange"],n,void 0);n$.push(r);let o=er(n,6e4);n$.push(()=>{eo(o)})}(e,()=>u.expandSession()),function(e,t){let{stop:n}=ti(e,window,["resume"],t,{capture:!0});n$.push(n)}(e,()=>u.restartSession()),{findSession:(e,t)=>l.find(e,t),renewObservable:s,expireObservable:a,sessionStateUpdateObservable:u.sessionStateUpdateObservable,expire:u.expire,updateSessionState:u.updateSessionState}}(e,"logs",t=>nR(e,t),r)).expireObservable};function D(){return r.isGranted()?tc:tl}O.register(0,D),O.register(1,D),O.register(0,({startTime:t})=>{let n=L.findTrackedSession(t);return L.findTrackedSession(t,{returnInactive:!0})?{service:e.service,session_id:n?n.id:void 0,session:n?{id:n.id}:void 0}:tl}),O.register(1,({startTime:e})=>{let t=L.findTrackedSession(e);return t&&t.id?{session:{id:t.id}}:tc});let N=(h=tz(),e.storeContextsAcrossPages&&tG(e,h,nq,4),O.register(0,()=>{let e=h.getContext();return eR(e)||!e.id?tc:{account:e}}),h),q=(v=tW(),e.storeContextsAcrossPages&&tG(e,v,nq,1),O.register(0,({eventType:t,startTime:n})=>{let r=v.getContext(),o=L.findTrackedSession(n);return(o&&o.anonymousId&&!r.anonymous_id&&e.trackAnonymousUser&&(r.anonymous_id=o.anonymousId),eR(r))?tc:{type:t,usr:r}}),O.register(1,({startTime:e})=>{var t;return{anonymous_id:null==(t=L.findTrackedSession(e))?void 0:t.anonymousId}}),v),j=(m=tV(),e.storeContextsAcrossPages&&tG(e,m,nq,2),O.register(0,()=>{let e=m.getContext();return e}),m);function G(e){let t=function(e,t){if(t&&t.getInternalContext)return t.getInternalContext(e)}(e,nk()?F.DD_RUM_SYNTHETICS:F.DD_RUM);if(t)return t}O.register(0,({startTime:e})=>{let t=G(e);return t||tc}),O.register(1,({startTime:e})=>{var t,n;let r=G(e);return r?{application:{id:r.application_id},view:{id:null==(t=r.view)?void 0:t.id},action:{id:null==(n=r.user_action)?void 0:n.id}}:tc}),function(e,t){var n;if(e.forwardErrorsToLogs)(H?new eM:(!x&&(n=e,x=new eM(e=>{let{stop:t}=tk(XMLHttpRequest.prototype,"open",nD),{stop:r}=tk(XMLHttpRequest.prototype,"send",t=>{!function({target:e,parameters:[t],handlingStack:n},r,o){let i=nL.get(e);if(!i)return;i.state="start",i.startClocks=eG(),i.isAborted=!1,i.xhr=e,i.handlingStack=n,i.requestBody=t;let s=!1,{stop:a}=tk(e,"onreadystatechange",()=>{e.readyState===XMLHttpRequest.DONE&&u()}),u=()=>{var t;
4l(),a(),s||(s=!0,i.state="complete",t=i.startClocks.timeStamp,i.duration=eF()-t,i.status=e.status,"string"==typeof e.response&&(i.responseBody=e.response),o.notify({...i}))},{stop:l}=ti(r,e,["loadend"],u,void 0);o.notify(i)}(t,n,e)},{computeHandlingStack:!0}),{stop:o}=tk(XMLHttpRequest.prototype,"abort",nN);return()=>{t(),r(),o()}})),x)).subscribe(e=>{"complete"===e.state&&o("xhr",e)}),tj({responseBodyAction:e=>2*!!r(e)}).subscribe(e=>{"resolve"===e.state&&o("fetch",e)});function r(e){var t,n;return t=e.url,!eB.every(e=>t.includes(e))&&(0===(n=e).status&&"opaque"!==n.responseType||e.status>=500)}function o(n,o){if(!r(o))return;let i="error"in o&&o.error?ex(ed(o.error)):o.responseBody||"Failed to load",s={isAborted:o.isAborted,handlingStack:o.handlingStack};t.notify(0,{rawLogsEvent:{message:`${"xhr"===n?"XHR":"Fetch"} error ${o.method} ${o.url}`,date:o.startClocks.timeStamp,error:{stack:tZ(i,e.requestErrorResponseLengthLimit,"..."),handling:void 0},http:{method:o.method,status_code:o.status,url:o.url},status:t$.error,origin:"network"},domainContext:s})}}(e,C),s=e,a=C,u=o,s.forwardErrorsToLogs&&u.subscribe(e=>{if(0===e.type){let t=e.error;a.notify(0,{rawLogsEvent:{message:t.message,date:t.startClocks.timeStamp,error:tA(t),origin:e2,status:t$.error},messageContext:t.context})}}),o.unbuffer(),l=e,c=C,eq(...l.forwardConsoleLogs.map(e=>{var t;return nI[e]||(nI[e]=(t=e,new eM(e=>{let n=T[t];return T[t]=(...r)=>{n.apply(console,r);let o=ek("console error");U(()=>{e.notify(function(e,t,n){let r=e.map(e=>{var t;return"string"==typeof(t=e)?eu(t):eO(t)?eC(ed(t)):es(eu(t),void 0,2)}).join(" ");if(t===E.error){let o=e$({originalError:e.find(eO),handlingStack:n,startClocks:eG(),source:e0,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))})},()=>{T[t]=n}}))),nI[e]})).subscribe(e=>{var t;let n={rawLogsEvent:{date:eF(),message:e.message,origin:e0,error:e.error&&tA(e.error),status:nP[e.api]},messageContext:null==(t=e.error)?void 0:t.context,domainContext:{handlingStack:e.handlingStack}};c.notify(0,n)}),(i=e.forwardReports,b=[],i.includes(nb.cspViolation)&&b.push((d=e,new eM(e=>{let{stop:t}=ti(d,document,["securitypolicyviolation"],t=>{var n;let r;e.notify((n=t,r=`'${n.blockedURI}' blocked by '${n.effectiveDirective}' directive`,nS({type:n.effectiveDirective,message:`${nb.cspViolation}: ${r}`,originalError:n,csp:{disposition:n.disposition},stack:nw(n.effectiveDirective,n.originalPolicy?`${r} of the policy "${tZ(n.originalPolicy,100,"...")}"`:"no policy",n.sourceFile,n.lineNumber,n.columnNumber)})))},void 0);return t}))),(w=i.filter(e=>e!==nb.cspViolation)).length&&b.push((f=w,new eM(e=>{if(!window.ReportingObserver)return;let t=B((t,n)=>t.forEach(t=>e.notify(function(e){let{type:t,body:n}=e;return nS({type:n.id,message:`${t}: ${n.message}`,originalError:e,stack:nw(n.id,n.message,n.sourceFile,n.lineNumber,n.columnNumber)})}(t)))),n=new window.ReportingObserver(t,{types:f,buffered:!0});return n.observe(),()=>{n.disconnect()}}))),eq(...b)).subscribe(e=>{let t,n=e.message,r="deprecation"===e.originalError.type?t$.warn:t$.error;if(r===t$.error)t=tA(e);else{var o,i;e.stack&&(n+=` Found in ${o=e.stack,null==(i=/@ (.+)/.exec(o))?void 0:i[1]}`)}C.notify(0,{rawLogsEvent:{date:eF(),message:n,origin:e3,error:t,status:r}})});let{handleLog:z}={handleLog:function(e,t,n,r,o){let i=eZ(t.getContext(),e.context);if(tT(e.status,tR.console,t)&&function({status:e,message:t},n){$[nU[e]].call(T,t,n)}(e,i),tT(e.status,tR.http,t)){let s={rawLogsEvent:{date:o||eF(),message:e.message,status:e.status,origin:e1},messageContext:i,savedCommonContext:r,ddtags:t.getTags()};n&&(s.domainContext={handlingStack:n}),C.notify(0,s)}}};if(_=tI.concat(["custom"]),k={},_.forEach(e=>{k[e]=function(e,t,n=3e3){let r=0,o=!1;return{isLimitReached(){if(0===r&&et(()=>{r=0},6e4),(r+=1)<=n||o)return o=!1,!1;if(r===n+1){o=!0;try{t({message:`Reached max number of ${e}s by minute: ${n}`,source:eQ,startClocks:eG()})}finally{o=!1}}return!0}}}(e,R,void 0)}),C.subscribe(0,({rawLogsEvent:n,messageContext:r,savedCommonContext:o,domainContext:i,ddtags:s=[]})=>{var a,u;let l=n.date-ez(),c=o||t(),d=O.triggerHook(0,{startTime:l});if(d===tl)return;let f=eP(e),p=eZ({view:c.view},d,n,r,{ddtags:f.concat(s).join(",")});(null==(a=e.beforeSend)?void 0:a.call(e,p,i))===!1||p.origin!==eQ&&(null!=(u=k[p.status])?u:k.custom).isLimitReached()||C.notify(1,p)}),eY()){let e;e=eX(),C.subscribe(1,t=>{e.send("log",t)})}else{let t,n,{stop:r}=(t=[e.logsEndpointBuilder],e.replica&&t.push(e.replica.logsEndpointBuilder),n=ta({encoder:nx(),request:e8(t,R),flushController:tr({pageMayExitObservable:I,sessionExpireOb
4servable:L.expireObservable})}),C.subscribe(1,e=>{n.add(e)}),n);A.push(()=>r())}return{handleLog:z,getInternalContext:({get:e=>{let t=L.findTrackedSession(e);if(t)return{session_id:t.id}}}).get,accountContext:N,globalContext:j,userContext:q,stop:()=>{A.forEach(e=>e())}}},l={tryToInit(e){s||(s=e)},update(e){s=e,a.notify()},isGranted:()=>s===tS.GRANTED,observable:a=new eM},c=function(e=function(){return new eM(e=>{var t,n;let r=(t,n)=>{let r=e$({stackTrace:n,originalError:t,startClocks:eG(),nonErrorPrefix:"Uncaught",source:e2,handling:"unhandled"});e.notify(r)},{stop:o}=(t=r,tk(j(),"onerror",({parameters:[e,n,r,o,i]})=>{let s;eO(i)||(s=function(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]=ew.exec(o)),{name:i,message:s});return{name:a,message:u,stack:[{url:t,column:r,line:n}]}}(e,n,r,o)),t(null!=i?i:e,s)})),{stop:i}=(n=r,tk(j(),"onunhandledrejection",({parameters:[e]})=>{n(e.reason||"Empty reason")}));return()=>{o(),i()}})}){let t=new ej(500),n=e().subscribe(e=>{t.notify({type:0,error:e})});return{observable:t,stop:()=>{n.unsubscribe()}}}().observable,d=function(e,t,r){let o,i,s,a=(s=[],{add:e=>{s.push(e)>500&&s.splice(0,1)},remove:e=>{tN(s,e)},drain:e=>{s.forEach(t=>t(e)),s.length=0}}),u=tV();t_(u,z,a);let l=tz();t_(l,V,a);let c=tW();t_(c,G,a);let d=t.observable.subscribe(f);function f(){if(!i||!o||!t.isGranted())return;d.unsubscribe();let e=r(o,i);a.drain(e)}return{init(e,r){var s,a,u,l;let c;if(!e)return void A.error("Missing configuration");if(Array.isArray(s=e.enableExperimentalFeatures)&&s.filter(e=>eA(n,e)).forEach(e=>{eI.add(e)}),eY()&&(e={...e,clientToken:"empty"}),o=e,c={session_sample_rate:(u=a=e).sessionSampleRate,telemetry_sample_rate:u.telemetrySampleRate,telemetry_configuration_sample_rate:u.telemetryConfigurationSampleRate,telemetry_usage_sample_rate:u.telemetryUsageSampleRate,use_before_send:!!u.beforeSend,use_partitioned_cross_site_session_cookie:u.usePartitionedCrossSiteSessionCookie,use_secure_session_cookie:u.useSecureSessionCookie,use_proxy:!!u.proxy,silent_multiple_init:u.silentMultipleInit,track_session_across_subdomains:u.trackSessionAcrossSubdomains,track_anonymous_user:u.trackA
4nonymousUser,session_persistence:u.sessionPersistence,allow_fallback_to_local_storage:!!u.allowFallbackToLocalStorage,store_contexts_across_pages:!!u.storeContextsAcrossPages,allow_untrusted_events:!!u.allowUntrustedEvents,tracking_consent:u.trackingConsent,use_allowed_tracking_origins:Array.isArray(u.allowedTrackingOrigins),beta_encode_cookie_options:u.betaEncodeCookieOptions,source:u.source,sdk_version:u.sdkVersion,variant:u.variant},l={forward_errors_to_logs:a.forwardErrorsToLogs,forward_console_logs:a.forwardConsoleLogs,forward_reports:a.forwardReports,use_pci_intake:a.usePciIntake,...c},ty().notify({rawEvent:{type:td,configuration:l}}),i)return void tb("DD_LOGS",e);let d=function(e,t){!0===e.usePciIntake&&e.site&&"datadoghq.com"!==e.site&&A.warn("PCI compliance for Logs is only available for Datadog organizations in the US1 site. Default intake will be used.");let n=function(e,t){var n,r,o,i,s,a,u,l,c,d,f,p,g;if(!e||!e.clientToken)return void A.error("Client Token is not configured, we will not send any data.");if(void 0!==e.allowedTrackingOrigins&&!Array.isArray(e.allowedTrackingOrigins))return void A.error("Allowed Tracking Origins must be an array");if((!(f=e.site)||"string"!=typeof f||/(datadog|ddog|datad0g|dd0g)/.test(f)||(A.error(`Site should be a valid Datadog site. ${P} ${R}/getting_started/site/.`),0))&&nm(e.sessionSampleRate,"Session")&&nm(e.telemetrySampleRate,"Telemetry")&&nm(e.telemetryConfigurationSampleRate,"Telemetry Configuration")&&nm(e.telemetryUsageSampleRate,"Telemetry Usage")&&nv(e.version,"Version")&&nv(e.env,"Env")&&nv(e.service,"Service")&&function(e,t,n="u">typeof location?location.origin:""){let r=e.allowedTrackingOrigins;if(!r)return!function(e,t=""){return!ny(e)&&ny(t.split("\n").filter(e=>{let t=e.trim();return t.length&&/^at\s+|@/.test(t)})[1]||"")}(n,t)||(A.error("Running the Browser SDK in a Web extension content script is forbidden unless the `allowedTrackingOrigins` option is provided."),!1);let o=function(e,t,n=!1){return e.some(e=>{try{if("function"==typeof e)return e(t);if(e instanceof RegExp)return e.test(t);if("string"==typeof e)return n?t.startsWith(e):e===t}catch(e){A.error(e)}return!1})}(r,n);return o||A.error("SDK initialized on a non-allowed domain."),o}(e,null!=t?t:"")){let t,f,y;if(void 0!==e.trackingConsent&&!eA(tS,e.trackingConsent))return void A.error('Tracking Consent should be either "granted" or "not-granted"');return{beforeSend:e.beforeSend&&L(e.beforeSend,"beforeSend threw an error:"),sessionStoreStrategyType:H?void 0:function(e){switch(e.sessionPersistence){case t5:return nr(e);case t6:return na();case void 0:{let t=nr(e);return!t&&e.allowFallbackToLocalStorage&&(t=na()),t}default:A.error(`Invalid session persistence '${String(e.sessionPersistence)}'`)}}(e),sessionSampleRate:null!=(n=e.sessionSampleRate)?n:100,telemetrySampleRate:null!=(r=e.telemetrySampleRate)?r:20,telemetryConfigurationSampleRate:null!=(o=e.telemetryConfigurationSampleRate)?o:5,telemetryUsageSampleRate:null!=(i=e.telemetryUsageSampleRate)?i:5,service:null!=(s=e.service)?s:void 0,env:null!=(a=e.env)?a:void 0,version:null!=(u=e.version)?u:void 0,datacenter:null!=(l=e.datacenter)?l:void 0,silentMultipleInit:!!e.silentMultipleInit,allowUntrustedEvents:!!e.allowUntrustedEvents,trackingConsent:null!=(c=e.trackingConsent)?c:tS.GRANTED,trackAnonymousUser:null==(d=e.trackAnonymousUser)||d,storeContextsAcrossPages:!!e.storeContextsAcrossPages,betaEncodeCookieOptions:!!e.betaEncodeCookieOptions,variant:e.variant,sdkVersion:e.sdkVersion,...(t=e.site||eN,f="flutter"===(p=e.source)||"unity"===p?p:"browser",y={logsEndpointBuilder:nh(g={...e,site:t,source:f},"logs"),rumEndpointBuilder:nh(g,"rum"),profilingEndpointBuilder:nh(g,"profile"),sessionReplayEndpointBuilder:nh(g,"replay"),exposuresEndpointBuilder:nh(g,"exposures"),flagEvaluationEndpointBuilder:nh(g,"flagevaluation")},{replica:function(e){if(!e.replica)return;let t={...e,site:eN,clientToken:e.replica.clientToken};return{logsEndpointBuilder:nh(t,"logs"),rumEndpointBuilder:nh(t,"rum",[`application.id=${e.replica.applicationId}`])}}({...e,site:t,source:f}),site:t,source:f,...y})}}}(e,t),r=n_(e.forwardConsoleLogs,to(E),"Forward Console Logs"),o=n_(e.forwardReports,to(nb),"Forward Reports");if(n&&r&&o)return e.forwardErrorsToLogs&&!r.includes(E.error)&&r.push(E.error),{forwardErrorsToLogs:!1!==e.forwardErrorsToLogs,forwardConsoleLogs:r,forwardReports:o,requestErrorResponseLengthLimit:32768,...n}}(e,r);d&&(i=d,tj().subscribe(ei),t.tryToInit(d.trackingConsent),f())},get initConfiguration(){return o},globalContext:u,accountContext:l,userContext:c,getInternalContext:ei,handleLog(t,n,r,o=e(),i=eF()){a.add(e=>e.handleLog(t,n,r,o,i))}}}(tD,l,(e,t)=>{let n=i(t,tD,l,c);return d={init:e=>{tb("DD_LOGS",e)},initConfiguration:e,...n},n}),f=()=>d,p={},Object.defineProperty(u={version:"6.25.0",onReady(e){e()},...{logger:new tP((...e)=>d.handleLog(...e)),init:e=>{let t=Error().stack;U(()=>d.init(e,t))},setTrackingConsent:B(e=>{l.update(e),tm({feature:"set-tracking-consent",tracking_consent:e})}),getGlobalContext:tw(f,z,W),setGlobalContext:tw(f,z,K),setGlobalContextProperty:tw(f,z,J),removeGlobalContextProperty:tw(f,z,Z),clearGlobalContext:tw(f,z,X),createLogger:B((e,t={})=>(p[e]=new tP((...e)=>d.handleLog(...e),eu(e),t.handler,t.level,eu(t.context)),p[e])),getLogger:B(e=>p[e]),getInitConfiguration:B(()=>eJ(void 0,d.initConfiguration)),getInternalContext:B(e=>d.getInternalContext(e)),setUser:tw(f,G,K),getUser:tw(f,G,W),setUserProperty:tw(f,G,J),removeUserProperty:tw(f,G,Z),clearUser:tw(f,G,X),setAccount:tw(f,V,K),getAccount:tw(f,V,W),setAccountProperty:tw(f,V,J),removeAccountProperty:tw(f,V,Z),clearAccount:tw(f,V,X)}},"_setDebug",{get:()=>N,enumerable:!1}),u);r=j(),(C=r[o="DD_LOGS"])&&!C.q&&C.version&&A.warn("SDK is loaded more than once. This is unsupported and might have unex
4pected behavior."),r[o]=nj,C&&C.q&&C.q.forEach(e=>L(e,"onReady callback threw an error:")()),e.s(["datadogLogs",0,nj],73166)},275430,e=>{"use strict";var t=e.i(73166),n=e.i(294501),r=e.i(790173);e.s(["HandlerType",()=>n.HandlerType,"Logger",()=>n.Logger,"StatusType",()=>r.StatusType,"datadogLogs",()=>t.datadogLogs])},415197,e=>{"use strict";e.i(305274),e.i(700490);var t=e.i(232370);function n(n,r,o,i){if(!(0,t.isDevelopmentEnv)())try{let{datadogLogs:t}=e.r(275430),s={...i,page:window.location.pathname,hostname:window.location.hostname};o&&(s.error={message:o instanceof Error?o.message:String(o),stack:o instanceof Error?o.stack:void 0}),t.logger[n](r,s)}catch{console.error(`[logger] ${r}`,o)}}e.s(["logger",0,{error(e,t,r={}){n("error",e,t,r)},warn(e,t={}){n("warn",e,null,t)},info(e,t={}){n("info",e,null,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.