PageSourceSearch

https://login.harpers.org/js/1873.bundle.js

js harpers.org collected 2026-09-24 08:29:47 UTC 58,907 bytes, 1 lines download raw bytes

1"use strict";(globalThis.webpackChunkciam_ui=globalThis.webpackChunkciam_ui||[]).push([[1873],{"21en"(e,t,n){n.d(t,{H:()=>i,N:()=>s});var o=n("PXye"),r=n("q7oZ");function i(e,t,n){if(document.readyState===t||"complete"===document.readyState)return n(),{stop:o.l};const i="complete"===t?"load":"DOMContentLoaded";return(0,r.q)(e,window,i,n,{once:!0})}function s(e,t){return new Promise(n=>{i(e,t,n)})}},"3nhb"(e,t,n){n.d(t,{t:()=>d});var o=n("FDU9"),r=n("Zn7e"),i=n("pX5O"),s=n("RE+S"),c=n("Ziog"),a=n("aI0c"),u=n("7ql9");function l(){return new o.cP(e=>{const t=(t,n)=>{const o=(0,a.As)({stackTrace:n,originalError:t,startClocks:(0,i.M8)(),nonErrorPrefix:"Uncaught",source:u.g.SOURCE,handling:"unhandled"});e.notify(o)},{stop:n}=(o=t,(0,r.H)((0,c.VZ)(),"onerror",({parameters:[e,t,n,r,i]})=>{let c;(0,a.bJ)(i)||(c=(0,s.h)(e,t,n,r)),o(null!=i?i:e,c)}));var o;const{stop:l}=function(e){return(0,r.H)((0,c.VZ)(),"onunhandledrejection",({parameters:[t]})=>{e(t.reason||"Empty reason")})}(t);return()=>{n(),l()}})}function d(e=l){const t=new o.dX(500),n=e().subscribe(e=>{t.notify({type:0,error:e})});return{observable:t,stop:()=>{n.unsubscribe()}}}},"5El4"(e,t,n){n.d(t,{a:()=>c});var o=n("fBG3"),r=n("N/so"),i=n("YHPH");const s=220*r._m;function c(e,t=s){const n=(0,i.M)(Object.prototype),o=(0,i.M)(Array.prototype),r=[],c=new WeakMap,u=a(e,"$",void 0,r,c),d=JSON.stringify(u);let f=d?d.length:0;if(!(f>t)){for(;r.length>0&&f<t;){const n=r.shift();let o=0;if(Array.isArray(n.source))for(let i=0;i<n.source.length;i++){const s=a(n.source[i],n.path,i,r,c);if(f+=void 0!==s?JSON.stringify(s).length:4,f+=o,o=1,f>t){l(t,"truncated",e);break}n.target[i]=s}else for(const i in n.source)if(Object.prototype.hasOwnProperty.call(n.source,i)){const s=a(n.source[i],n.path,i,r,c);if(void 0!==s&&(f+=JSON.stringify(s).length+o+i.length+3,o=1),f>t){l(t,"truncated",e);break}n.target[i]=s}}return n(),o(),u}l(t,"discarded",e)}function a(e,t,n,o,r){const i=function(e){const t=e;if(t&&"function"==typeof t.toJSON)try{return t.toJSON()}catch(n){}return e}(e);if(!i||"object"!=typeof i)return function(e){if("bigint"==typeof e)return`[BigInt] ${e.toString()}`;if("function"==typeof e)return`[Function] ${e.name||"unknown"}`;if("symbol"==typeof e)return`[Symbol] ${e.description||e.toString()}`;return e}(i);const s=u(i);if("[Object]"!==s&&"[Array]"!==s&&"[Error]"!==s)return s;const c=e;if(r.has(c))return`[Reference seen at ${r.get(c)}]`;const a=void 0!==n?`${t}.${n}`:t,l=Array.isArray(i)?[]:{};return r.set(c,a),o.push({source:i,target:l,path:a}),l}function u(e){try{if(e instanceof Event)return{type:(t=e).type,isTrusted:t.isTrusted,currentTarget:t.currentTarget?u(t.currentTarget):null,target:t.target?u(t.target):null};if(e instanceof RegExp)return`[RegExp] ${e.toString()}`;const n=Object.prototype.toString.call(e).match(/\[object (.*)\]/);if(n&&n[1])return`[${n[1]}]`}catch(n){}var t;return"[Unserializable]"}function l(e,t,n){o.Vy.warn(`The data provided has been ${t} as it is over the limit of ${e} characters:`,n)}},"7ql9"(e,t,n){n.d(t,{g:()=>o});const o={AGENT:"agent",CONSOLE:"console",CUSTOM:"custom",LOGGER:"logger",NETWORK:"network",SOURCE:"source",REPORT:"report"}},"9dSU"(e,t,n){n.d(t,{Ck:()=>a});var o=n("q7oZ"),r=n("vjAG"),i=n("uKaK");const s="_dd_c",c=[];function a(e,t,n,a){const u=function(e,t){return`${s}_${e}_${t}`}(n,a);c.push((0,o.q)(e,window,"storage",({key:e})=>{u===e&&t.setContext(d())})),t.changeObservable.subscribe(function(){localStorage.setItem(u,JSON.stringify(t.getContext()))});const l=(0,r.kg)(d(),t.getContext());function d(){const e=localStorage.getItem(u);return e?JSON.parse(e):{}}(0,i.RI)(l)||t.setContext(l)}}
1,BNZG(e,t,n){n.d(t,{i:()=>g});var o=n("Zn7e"),r=n("DIDV"),i=n("FDU9"),s=n("pX5O"),c=n("EdLy"),a=n("Ziog"),u=n("N/so"),l=n("PXye");var d=n("zwU6");let f;const p=[];function g({responseBodyAction:e}={}){return e&&p.push(e),f||(f=new i.cP(e=>{if(!a.J2.fetch)return;const{stop:t}=(0,o.H)(a.J2,"fetch",t=>function({parameters:e,onPostCall:t,handlingStack:n},o){const[i,a]=e;let f=a&&a.method;void 0===f&&i instanceof Request&&(f=i.method);const g=void 0!==f?String(f).toUpperCase():"GET",y=i instanceof Request?i.url:(0,c.l2)(String(i)),m=(0,s.M8)(),v={state:"start",init:a,input:i,method:g,startClocks:m,url:y,handlingStack:n};o.notify(v),e[0]=v.input,e[1]=v.init,t(e=>{(async function(e,t,n){var o,r;const i=n;let s;i.state="resolve";try{s=await t}catch(a){return i.status=0,i.isAborted=(null===(r=null===(o=i.init)||void 0===o?void 0:o.signal)||void 0===r?void 0:r.aborted)||a instanceof DOMException&&a.code===DOMException.ABORT_ERR,i.error=a,void e.notify(i)}i.response=s,i.status=s.status,i.responseType=s.type,i.isAborted=!1;const c=p.reduce((e,t)=>Math.max(e,t(i)),0);if(0!==c){const e=(0,d.i)(s);if(e&&e.body)try{const t=await async function(e,t){const n=e.getReader(),o=[];for(;;){const e=await n.read();if(e.done)break;t.collectStreamBody&&o.push(e.value)}return n.cancel().catch(l.l),t.collectStreamBody?(0,u.wh)(o):void 0}(e.body,{collectStreamBody:2===c});i.responseBody=t&&(new TextDecoder).decode(t)}catch(f){}}e.notify(i)})(o,e,v).catch(r.Dx)})}(t,e),{computeHandlingStack:!0});return t})),f}},Bswk(e,t,n){n.d(t,{D:()=>l});var o=n("vjAG"),r=n("5El4"),i=n("FDU9"),s=n("fBG3"),c=n("FMiR");function a(e,t,n){const o={...e};for(const[r,{required:i,type:c}]of Object.entries(t))"string"!==c||u(o[r])||(o[r]=String(o[r])),i&&u(o[r])&&s.Vy.warn(`The property ${r} of ${n} is required; context will not be sent to the intake.`);return o}function u(e){return null==e||""===e}function l(e="",{propertiesConfig:t={}}={}){let n={};const u=new i.cP,l={getContext:()=>(0,o.Go)(n),setContext:o=>{!function(e){const t="object"===(0,c.P)(e);return t||s.Vy.error("Unsupported context:",e),t}(o)?l.clearContext():n=(0,r.a)(a(o,t,e)),u.notify()},setContextProperty:(o,i)=>{n=(0,r.a)(a({...n,[o]:i},t,e)),u.notify()},removeContextProperty:o=>{delete n[o],a(n,t,e),u.notify()},clearContext:()=>{n={},u.notify()},changeObservable:u};return l}},DIDV(e,t,n){n.d(t,{Bd:()=>s,Dx:()=>l,dm:()=>a,oO:()=>d,pM:()=>c,um:()=>u});var o=n("fBG3");let r,i=!1;function s(e){r=e}function c(e){i=e}function a(e){return function(...t){return u(e,this,t)}}function u(e,t,n){try{return e.apply(t,n)}catch(o){l(o)}}function l(e){if(d(e),r)try{r(e)}catch(e){d(e)}}function d(...e){i&&o.Vy.error("[MONITOR]",...e)}},EdLy(e,t,n){n.d(t,{AY:()=>i,L2:()=>s,c$:()=>c,l2:()=>r});var o=n("Ziog");function r(e){return c(e,location.href).href}function i(e){try{return!!c(e)}catch(t){return!1}}function s(e){const t=c(e).pathname;return"/"===t[0]?t:`/${t}`}function c(e,t){const{URL:n}=function(){if(!a){let t,n;try{t=document.createElement("iframe"),t.style.display="none",document.body.appendChild(t),n=t.contentWindow}catch(e){n=o.J2}a={URL:n.URL},null==t||t.remove()}return a}();try{return void 0!==t?new n(e,t):new n(e)}catch(r){throw new Error(`Failed to construct URL: ${String(r)}`)}}let a},FDU9(e,t,n){n.d(t,{dX:()=>a,cP:()=>s,Fx:()=>c});var o=n("DIDV"),r=n("Ziog");function i(e){var t;const n=null===(t=r.J2.queueMicrotask)||void 0===t?void 0:t.bind(r.J2);"function"==typeof n?n((0,o.dm)(e)):Promise.resolve().then((0,o.dm)(e))}class s{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 c(...e){return new s(t=>{const n=e.map(e=>e.subscribe(e=>t.notify(e)));return()=>n.forEach(e=>e.unsubscribe())})}class a extends s{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;const n={unsubscribe:()=>{t=!0,this.removeObserver(e)}};return i(()=>{for(const n of this.buffer){if(t)return;e(n)}t||this.addObserver(e)}),n}unbuffer(){i(()=>{this.maxBufferSize=this.buffer.length=0})}}}
1,FMiR(e,t,n){function o(e){return null===e?"null":Array.isArray(e)?"array":typeof e}function r(e){return"object"===o(e)}n.d(t,{O:()=>r,P:()=>o})},FbtF(e,t,n){n.d(t,{oT:()=>f,zn:()=>a,W3:()=>d,TE:()=>u,c$:()=>l,H9:()=>g,D9:()=>p});var o=n("uKaK"),r=n("TiVH"),i=n("pX5O"),s=n("TUkY");const c=/^([a-zA-Z]+)=([a-z0-9-]+)$/;function a(e,t){const n={isExpired:"1"};return t.trackAnonymousUser&&(null==e?void 0:e.anonymousId)&&(n.anonymousId=null==e?void 0:e.anonymousId),n}function u(e){return(0,o.RI)(e)}function l(e){return!u(e)}function d(e){return void 0!==e.isExpired||!((void 0===(t=e).created||(0,i.x3)()-Number(t.created)<s.AQ)&&(void 0===t.expire||(0,i.x3)()<Number(t.expire)));var t}function f(e){e.expire=String((0,i.x3)()+s.HB)}function p(e){return(0,r.WP)(e).map(([e,t])=>"anonymousId"===e?`aid=${t}`:`${e}=${t}`).join("&")}function g(e){const t={};return function(e){return!!e&&(-1!==e.indexOf("&")||c.test(e))}(e)&&e.split("&").forEach(e=>{const n=c.exec(e);if(null!==n){const[,e,o]=n;"aid"===e?t.anonymousId=o:t[e]=o}}),t}},"GZz+"(e,t,n){n.d(t,{AK:()=>S,sA:()=>w});var o=n("DIDV"),r=n("VECG"),i=n("FDU9"),s=n("N/so"),c=n("bgI0"),a=n("pX5O"),u=n("zwU6"),l=n("7ql9");const d=80*s._m,f=20*s.iH,p=a.iW,g=a.OY;function y(e,t,n,o,r,i){0===t.transportStatus&&0===t.queuedPayloads.size()&&t.bandwidthMonitor.canHandle(e)?v(e,t,n,i,{onSuccess:()=>b(0,t,n,o,r,i),onFailure:()=>{t.queuedPayloads.enqueue(e)||i.notify({type:"queue-full",bandwidth:t.bandwidthMonitor.stats(),payload:e}),m(t,n,o,r,i)}}):t.queuedPayloads.enqueue(e)||i.notify({type:"queue-full",bandwidth:t.bandwidthMonitor.stats(),payload:e})}function m(e,t,n,o,r){2===e.transportStatus&&(0,c.wg)(()=>{v(e.queuedPayloads.first(),e,t,r,{onSuccess:()=>{e.queuedPayloads.dequeue(),e.currentBackoffTime=g,b(1,e,t,n,o,r)},onFailure:()=>{e.currentBackoffTime=Math.min(p,2*e.currentBackoffTime),m(e,t,n,o,r)}})},e.currentBackoffTime)}function v(e,t,n,o,{onSuccess:r,onFailure:i}){t.bandwidthMonitor.add(e),n(e,n=>{t.bandwidthMonitor.remove(e),!function(e){return"opaque"!==e.type&&(0===e.status&&!navigator.onLine||408===e.status||429===e.status||(0,u.G)(e.status))}(n)?(t.transportStatus=0,o.notify({type:"success",bandwidth:t.bandwidthMonitor.stats(),payload:e}),r()):(t.transportStatus=t.bandwidthMonitor.ongoingRequestCount>0?1:2,e.retry={count:e.retry?e.retry.count+1:1,lastFailureStatus:n.status},o.notify({type:"failure",bandwidth:t.bandwidthMonitor.stats(),payload:e}),i())})}function b(e,t,n,o,r,i){0===e&&t.queuedPayloads.isFull()&&!t.queueFullReported&&(r({message:`Reached max ${o} events size queued for upload: ${f/s.iH}MiB`,source:l.g.AGENT,startClocks:(0,a.M8)()}),t.queueFullReported=!0);const c=t.queuedPayloads;for(t.queuedPayloads=h();c.size()>0;)y(c.dequeue(),t,n,o,r,i)}function h(){const e=[];return{bytesCount:0,enqueue(t){return!this.isFull()&&(e.push(t),this.bytesCount+=t.bytesCount,!0)},first:()=>e[0],dequeue(){const t=e.shift();return t&&(this.bytesCount-=t.bytesCount),t},size:()=>e.length,isFull(){return this.bytesCount>=f}}}const S=16*s._m;function w(e,t,n=S){const o=new i.cP,s={transportStatus:0,currentBackoffTime:g,bandwidthMonitor:{ongoingRequestCount:0,ongoingByteCount:0,canHandle(e){return 0===this.ongoingRequestCount||this.ongoingByteCount+e.bytesCount<=d&&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:o,send:i=>{for(const c of e)y(i,s,(e,t)=>{(0,r.sr)(r.R9.AVOID_FETCH_KEEPALIVE)?_(c,e,t):O(c,n,e,t)},c.trackType,t,o)},sendOnExit:t=>{for(const o of e)k(o,n,t)}}}function k(e,t,n){if(!!navigator.sendBeacon&&n.bytesCount<t)try{const t=e.build("beacon",n);if(navigator.sendBeacon(t,n.data))return}catch(r){!function(e){E||(E=!0,(0,o.Dx)(e))}(r)}_(e,n)}let E=!1;function O(e,t,n,r){if(function(){try{return window.Request&&"keepalive"in new Request("http://a")}catch(e){return!1}}()&&n.bytesCount<t){const t=e.build("fetch-keepalive",n);fetch(t,{method:"POST",body:n.data,keepalive:!0,mode:"cors"}).then((0,o.dm)(e=>null==r?void 0:r({status:e.status,type:e.type}))).catch((0,o.dm)(()=>_(e,n,r)))}else _(e,n,r)}function _(e,t,n){const r=e.build("fetch",t);fetch(r,{method:"POST",body:t.data,mode:"cors"}).then((0,o.dm)(e=>null==n?void 0:n({status:e.status,type:e.type}))).catch((0,o.dm)(()=>null==n?void 0:n({status:0})))}},Hhp9(e,t,n){n.d(t,{J:()=>s});var o=n("pX5O"),r=n("O2SO");const i=o.OY;function s(){const e=[];function t(t){let o;if(t.didTimeout){const e=performance.now();o=()=>30-(performance.now()-e)}else o=t.timeRemaining.bind(t);for(;o()>0&&e.length;)e.shift()();e.length&&n()}function n(){(0,r.BB)(t,{timeout:i})}return{push(t){1===e.push(t)&&n()},stop(){e.length=0}}}},Hz1A(e,t,n){function o(e){return e?(parseInt(e,10)^16*Math.random()>>parseInt(e,10)/4).toString(16):"10000000-1000-4000-8000-100000000000".replace(/[018]/g,o)}n.d(t,{Dh:()=>s,_R:()=>a,it:()=>c,lk:()=>o,rx:()=>i});const r=/(\S+?)\s*=\s*(.+?)(?:;|$)/g;function i(e,t){for(r.lastIndex=0;;){const n=r.exec(e);if(!n)break;if(n[1]===t)return n[2]}}function s(e){const t=new Map;for(r.lastIndex=0;;){const n=r.exec(e);if(!n)break;{const e=n[1],o=n[2];t.has(e)?t.get(e).push(o):t.set(e,[o])}}return t}function c(e){const t=new Map;for(r.lastIndex=0;;){const n=r.exec(e);if(!n)break;t.set(n[1],n[2])}return t}function a(e,t,n=""){const o=e.charCodeAt(t-1),r=o>=55296&&o<=56319?t+1:t;return e.length<=r?e:`${e.slice(0,r)}${n}`}}
1,I4oo(e,t,n){function o(e){return 0!==e&&100*Math.random()<=e}function r(e,t){return+e.toFixed(t)}function i(e){return s(e)&&e>=0&&e<=100}function s(e){return"number"==typeof e}n.d(t,{Et:()=>s,LI:()=>r,fp:()=>i,ic:()=>o})},IJTo(e,t,n){function o(e,t){const n=e.indexOf(t);n>=0&&e.splice(n,1)}function r(e){return Array.isArray(e)&&e.length>0}n.d(t,{Ai:()=>o,EI:()=>r})},Ig5h(e,t,n){n.d(t,{$O:()=>i,XP:()=>s,ug:()=>r});var o=n("vjAG");const r="DISCARDED",i="SKIPPED";function s(){const 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){const s=e[t]||[],c=[];for(const e of s){const t=e(n);if(t===r)return r;t!==i&&c.push(t)}return(0,o.kg)(...c)}}}},Ihxy(e,t,n){n.d(t,{Kp:()=>a,_T:()=>c,y5:()=>s});var o=n("FDU9"),r=n("TiVH"),i=n("q7oZ");const s={HIDDEN:"visibility_hidden",UNLOADING:"before_unload",PAGEHIDE:"page_hide",FROZEN:"page_frozen"};function c(e){return new o.cP(t=>{const{stop:n}=(0,i.l)(e,window,["visibilitychange","freeze"],e=>{"visibilitychange"===e.type&&"hidden"===document.visibilityState?t.notify({reason:s.HIDDEN}):"freeze"===e.type&&t.notify({reason:s.FROZEN})},{capture:!0}),o=(0,i.q)(e,window,"beforeunload",()=>{t.notify({reason:s.UNLOADING})}).stop;return()=>{n(),o()}})}function a(e){return(0,r.KQ)(s).includes(e)}},IpeG(e,t,n){n.d(t,{K:()=>s,V:()=>i});var o=n("fBG3"),r=n("FMiR");function i(e){const t=(0,r.P)(e);return"string"===t||"function"===t||e instanceof RegExp}function s(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(r){o.Vy.error(r)}return!1})}},J5kD(e,t,n){n.d(t,{Y:()=>r,v:()=>o});const o={DOCUMENT:"document",XHR:"xhr",BEACON:"beacon",FETCH:"fetch",CSS:"css",JS:"js",IMAGE:"image",FONT:"font",MEDIA:"media",OTHER:"other"},r={FETCH:o.FETCH,XHR:o.XHR}},LEnj(e,t,n){n.d(t,{nd:()=>k,oC:()=>E});var o=n("bgI0"),r=n("FDU9"),i=n("pX5O"),s=n("PXye"),c=n("Hz1A"),a=n("fBG3"),u=n("PL+z"),l=n("FbtF"),d=n("hI5M");const f=i.OY,p="--",g=[];let y;function m(e,t,n=0){var o;const{isLockEnabled:r,persistSession:s,expireSession:a}=t,u=e=>s({...e,lock:f}),d=()=>{const{lock:e,...n}=t.retrieveSession();return{session:n,lock:e&&!h(e)?e:void 0}};if(y||(y=e),e!==y)return void g.push(e);if(r&&n>=100)return void b(t);let f,m=d();if(r){if(m.lock)return void v(e,t,n);if(f=(0,c.lk)()+p+(0,i.nx)(),u(m.session),m=d(),m.lock!==f)return void v(e,t,n)}let S=e.process(m.session);if(r&&(m=d(),m.lock!==f))v(e,t,n);else{if(S&&((0,l.W3)(S)?a(S):((0,l.oT)(S),r?u(S):s(S))),r&&(!S||!(0,l.W3)(S))){if(m=d(),m.lock!==f)return void v(e,t,n);s(m.session),S=m.session}null===(o=e.after)||void 0===o||o.call(e,S||m.session),b(t)}}function v(e,t,n){(0,o.wg)(()=>{m(e,t,n+1)},10)}function b(e){y=void 0;const t=g.shift();t&&m(t,e)}function h(e){const[,t]=e.split(p);return!t||(0,i.vk)(Number(t),(0,i.nx)())>f}var S=n("TUkY");const w=i.OY;function k(e){switch(e.sessionPersistence){case S.Q_.COOKIE:return(0,u.ge)(e);case S.Q_.LOCAL_STORAGE:return(0,d.aW)();case void 0:{let t=(0,u.ge)(e);return!t&&e.allowFallbackToLocalStorage&&(t=(0,d.aW)()),t}default:a.Vy.error(`Invalid session persistence '${String(e.sessionPersistence)}'`)}}function E(e,t,n,a,f=function(e,t){return e.type===S.Q_.COOKIE?(0,u.iA)(t,e.cookieOptions):(0,d.eh)(t)}(e,t)){const p=new r.cP,g=new r.cP,y=new r.cP,v=(0,o.yb)(function(){const e=f.retrieveSession();(0,l.W3)(e)?m({process:e=>(0,l.W3)(e)?(0,l.zn)(e,t):void 0,after:E},f):E(e)},w);let b;O();const{throttled:h,cancel:k}=(0,s.n)(()=>{m({process:e=>{if((0,l.TE)(e))return;const t=E(e);return function(e){if((0,l.TE)(e))return!1;const t=a(e[n]);e[n]=t,delete e.isExpired,t===S.gB||e.id||(e.id=(0,c.lk)(),e.created=String((0,i.x3)()))}(t),t},after:e=>{(0,l.c$)(e)&&!_()&&function(e){b=e,p.notify()}(e),b=e}},f)},w);function E(e){return(0,l.W3)(e)&&(e=(0,l.zn)(e,t)),_()&&(!function(e){return b.id!==e.id||b[n]!==e[n]}(e)?(y.notify({previousState:b,newState:e}),b=e):(b=(0,l.zn)(b,t),g.notify())),e}function O(){m({process:e=>{if((0,l.TE)(e))return e.anonymousId=(0,c.lk)(),(0,l.zn)(e,t)},after:e=>{b=e}},f)}function _(){return void 0!==(null==b?void 0:b[n])}return{expandOrRenewSession:h,expandSession:function(){m({process:e=>_()?E(e):void 0},f)},getSession:()=>
1b,renewObservable:p,expireObservable:g,sessionStateUpdateObservable:y,restartSession:O,expire:e=>{k(),!1===e&&b&&delete b.anonymousId,f.expireSession(b),E((0,l.zn)(b,t))},stop:()=>{(0,o.vG)(v)},updateSessionState:function(e){m({process:t=>({...t,...e}),after:E},f)}}}},LGu8(e,t,n){n.d(t,{B9:()=>f,DQ:()=>y,OR:()=>u,Ri:()=>a,TV:()=>c,z$:()=>g});var o=n("fBG3"),r=n("pX5O"),i=n("Hz1A"),s=n("EdLy");function c(e,t,n=0,o){const r=new Date;r.setTime(r.getTime()+n);const i=`expires=${r.toUTCString()}`,s=o&&o.crossSite?"none":"strict",c=o&&o.domain?`;domain=${o.domain}`:"",a=o&&o.secure?";secure":"",u=o&&o.partitioned?";partitioned":"";document.cookie=`${e}=${t};${i};path=/;samesite=${s}${c}${a}${u}`}function a(e){return(0,i.rx)(document.cookie,e)}function u(e){return(0,i.Dh)(document.cookie).get(e)||[]}let l,d;function f(e){return l||(l=(0,i.it)(document.cookie)),l.get(e)}function p(e,t){c(e,"",0,t)}function g(e){if(void 0===document.cookie||null===document.cookie)return!1;try{const t=`dd_cookie_test_${(0,i.lk)()}`,n="test";c(t,n,r.iW,e);const o=a(t)===n;return p(t,e),o}catch(t){return o.Vy.error(t),!1}}function y(e=location.hostname,t=document.referrer){if(void 0===d){const n=function(e,t){try{return e||(0,s.c$)(t).hostname}catch(n){}}(e,t);if(n){const e=`dd_site_test_${(0,i.lk)()}`,t="test",o=n.split(".");let s=o.pop();for(;o.length&&!a(e);)s=`${o.pop()}.${s}`,c(e,t,r.OY,{domain:s});p(e,{domain:s}),d=s}}return d}},Lg0b(e,t,n){n.d(t,{ox:()=>E});var o=n("FDU9"),r=n("WrbB"),i=n("pX5O"),s=n("q7oZ"),c=n("bgI0"),a=n("Zv/8"),u=n("wzgf"),l=n("LGu8"),d=n("VECG"),f=n("TiVH"),p=n("DIDV"),g=n("TUkY"),y=n("LEnj"),m=n("FbtF"),v=n("PL+z"),b=n("tLpm"),h=n("hI5M");const S=i.iW,w=g.AQ;let k=[];function E(e,t,n,l){const E=new o.cP,_=new o.cP,x=(0,y.oC)(e.sessionStoreStrategyType,e,t,n);k.push(()=>x.stop());const C=(0,r.q)({expireDelay:w});if(k.push(()=>C.stop()),x.renewObservable.subscribe(()=>{C.add(T(),(0,i.$S)()),E.notify()}),x.expireObservable.subscribe(()=>{_.notify(),C.closeActive((0,i.$S)())}),x.expandOrRenewSession(),C.add(T(),(0,i.Oc)().relative),(0,d.sr)(d.R9.SHORT_SESSION_INVESTIGATION)){const t=x.getSession();t&&function(e,t){if(!window.cookieStore||!t.created)return;const n=Number(t.created),o=(0,i.x3)(),{stop:r}=(0,s.q)(e,cookieStore,"change",c);function c(e){const s=(0,f.Uk)(e.changed,e=>e.name===b.Z);if(!s)return;const c=(0,i.x3)()-n;if(c>14*i.iW)r();else{const e=(0,m.H9)(s.value);if(e.id&&e.id!==t.id){r();const n=(0,i.x3)()-o;O().then(o=>{(0,a.A2)("Session cookie changed",{time:n,session_age:c,old:t,new:e,cookie:o})}).catch(p.Dx)}}}k.push(r)}(e,t)}function T(){const n=x.getSession();return n?{id:n.id,trackingType:n[t],isReplayForced:!!n.forcedReplay,anonymousId:n.anonymousId}:(async function(e){const t=e.sessionStoreStrategyType;if(!t)return;let n,o;t.type===g.Q_.COOKIE?(n=(0,v.Hv)(t.cookieOptions,e),o={cookie:await O(),currentDomain:`${window.location.protocol}//${window.location.hostname}`}):n=(0,h.dX)();(0,a.A2)("Unexpected session state",{sessionStoreStrategyType:t.type,session:n,isSyntheticsTest:(0,u.Fs)(),createdTimestamp:null==n?void 0:n.created,expireTimestamp:null==n?void 0:n.expire,...o})}(e).catch(()=>{}),{id:"invalid",trackingType:g.gB,isReplayForced:!1,anonymousId:void 0})}return l.observable.subscribe(()=>{l.isGranted()?x.expandOrRenewSession():x.expire(!1)}),function(e,t){const{stop:n}=(0,s.l)(e,window,["click","touchstart","keydown","scroll"],t,{capture:!0,passive:!0});k.push(n)}(e,()=>
1{l.isGranted()&&x.expandOrRenewSession()}),function(e,t){const n=()=>{"visible"===document.visibilityState&&t()},{stop:o}=(0,s.q)(e,document,"visibilitychange",n);k.push(o);const r=(0,c.yb)(n,S);k.push(()=>{(0,c.vG)(r)})}(e,()=>x.expandSession()),function(e,t){const{stop:n}=(0,s.q)(e,window,"resume",t,{capture:!0});k.push(n)}(e,()=>x.restartSession()),{findSession:(e,t)=>C.find(e,t),renewObservable:E,expireObservable:_,sessionStateUpdateObservable:x.sessionStateUpdateObservable,expire:x.expire,updateSessionState:x.updateSessionState}}async function O(){let e;return e="cookieStore"in window?await window.cookieStore.getAll(b.Z):document.cookie.split(/\s*;\s*/).filter(e=>e.startsWith(b.Z)),{count:e.length,domain:(0,l.DQ)()||"undefined",...e}}},"N/so"(e,t,n){n.d(t,{WW:()=>s,_m:()=>o,iH:()=>r,wh:()=>c});const o=1024,r=1024*o,i=/[^\u0000-\u007F]/;function s(e){return i.test(e)?void 0!==window.TextEncoder?(new TextEncoder).encode(e).length:new Blob([e]).size:e.length}function c(e){if(1===e.length)return e[0];const t=e.reduce((e,t)=>e+t.length,0),n=new Uint8Array(t);let o=0;for(const r of e)n.set(r,o),o+=r.length;return n}},NgUp(e,t,n){n.d(t,{l:()=>g});var o=n("aI0c"),r=n("FDU9"),i=n("fBG3"),s=n("DIDV"),c=n("5El4"),a=n("YHPH"),u=n("7ql9"),l=n("RE+S"),d=n("jIMw"),f=n("pX5O");let p={};function g(e){const t=e.map(e=>(p[e]||(p[e]=function(e){return new r.cP(t=>{const n=i.JZ[e];return i.JZ[e]=(...r)=>{n.apply(console,r);const p=(0,d.uC)("console error");(0,s.um)(()=>{t.notify(function(e,t,n){const r=e.map(e=>function(e){if("string"==typeof e)return(0,c.a)(e);if((0,o.bJ)(e))return(0,d.NR)((0,l.T)(e));return(0,a.s)((0,c.a)(e),void 0,2)}(e)).join(" ");if(t===i.bP.error){const i=e.find(o.bJ),s=(0,o.As)({originalError:i,handlingStack:n,startClocks:(0,f.M8)(),source:u.g.CONSOLE,handling:"handled",nonErrorPrefix:"Provided",useFallbackStack:!1});return s.message=r,{api:t,message:r,handlingStack:n,error:s}}return{api:t,message:r,error:void 0,handlingStack:n}}(r,e,p))})},()=>{i.JZ[e]=n}})}(e)),p[e]));return(0,r.Fx)(...t)}},O2SO(e,t,n){n.d(t,{BB:()=>s});var o=n("bgI0"),r=n("DIDV"),i=n("pX5O");function s(e,t){if(window.requestIdleCallback&&window.cancelIdleCallback){const n=window.requestIdleCallback((0,r.dm)(e),t);return()=>window.cancelIdleCallback(n)}return function(e){const t=(0,i.x3)(),n=(0,o.wg)(()=>{e({didTimeout:!1,timeRemaining:()=>Math.max(0,50-((0,i.x3)()-t))})},0);return()=>(0,o.DJ)(n)}(e)}},"PL+z"(e,t,n){n.d(t,{iA:()=>l,Hv:()=>f,ge:()=>u});var o=n("uKaK"),r=n("ZNwq"),i=n("LGu8"),s=n("tLpm"),c=n("FbtF");var a=n("TUkY");function u(e){const t=function(e){const t={};if(t.secure=!!e.useSecureSessionCookie||!!e.usePartitionedCrossSiteSessionCookie,t.crossSite=!!e.usePartitionedCrossSiteSessionCookie,t.partitioned=!!e.usePartitionedCrossSiteSessionCookie,e.trackSessionAcrossSubdomains){const e=(0,i.DQ)();if(!e)return;t.domain=e}return t}(e);return t&&(0,i.z$)(t)?{type:a.Q_.COOKIE,cookieOptions:t}:void 0}function l(e,t){const n={isLockEnabled:(0,r.F2)(),persistSession:n=>d(t,e,n,a.HB),retrieveSession:()=>f(t,e),expireSession:n=>d(t,e,(0,c.zn)(n,e),a.AQ)};return function(e){if(!(0,i.B9)(s.Z)){const t=(0,i.B9)("_dd"),n=(0,i.B9)("_dd_r"),o=(0,i.B9)("_dd_l"),r={};t&&(r.id=t),o&&/^[01]$/.test(o)&&(r.logs=o),n&&/^[012]$/.test(n)&&(r.rum=n),(0,c.c$)(r)&&((0,c.oT)(r),e.persistSession(r))}}(n),n}function d(e,t,n,r){let u=(0,c.D9)(n);t.betaEncodeCookieOptions&&(u=(0,c.D9)({...n,...(0,o.RI)(n)?{}:{c:p(e)}})),(0,i.TV)(s.Z,u,t.trackAnonymousUser?a._P:r,e)}function f(e,t){if(t.betaEncodeCookieOptions)return function(e){const t=(0,i.OR)(s.Z),n=p(e);let o;for(const r of t.reverse())if(o=(0,c.H9)(r),o.c===n)break;return null==o||delete o.c,null!=o?o:{}}(e);const n=(0,i.Ri)(s.Z);return(0,c.H9)(n)}function p(e){let t=0;return t|=0,t|=(e.domain?e.domain.split(".").length-1:0)<<1,t|=e.crossSite?1:0,t.toString(16)}},PXye(e,t,n){n.d(t,{l:()=>i,n:()=>r});var o=n("bgI0");function r(e,t,n){const r=!n||void 0===n.leading||n.leading,i=!n||void 0===n.trailing||n.trailing;let s,c,a=!1;return{throttled:(...n)=>{a?s=n:(r?e(...n):s=n,a=!0,c=(0,o.wg)(()=>{i&&s&&e(...s),a=!1,s=void 0},t))},cancel:()=>{(0,o.DJ)(c),a=!1,s=void 0}}}function i(){}},QaFg(e,t,n){n.d(t,{q:()=>r});var o=n("Ziog");function r(){var e;const t=o.J2.navigator;return{status:t.onLine?"connected":"not_connected",interfaces:t.connection&&t.connection.type?[t.connection.type]:void 0,effective_type:null===(e=t.connection)||void 0===e?void 0:e.effectiveType}}},"RE+S"(e,t,n){n.d(t,{T:()=>i,h:()=>y});var o=n("FMiR");const r="?";function i(e){var t,n;const o=[];let i=g(e,"stack");const s=String(e);if(i&&i.startsWith(s)&&(i=i.slice(s.length)),i&&i.split("\n").forEach(e
1=>{const t=function(e){const t=a.exec(e);if(!t)return;const n=t[2]&&0===t[2].indexOf("native"),o=t[2]&&0===t[2].indexOf("eval"),i=u.exec(t[2]);o&&i&&(t[2]=i[1],t[3]=i[2],t[4]=i[3]);return{args:n?[t[2]]:[],column:t[4]?+t[4]:void 0,func:t[1]||r,line:t[3]?+t[3]:void 0,url:n?void 0:t[2]}}(e)||function(e){const t=l.exec(e);if(!t)return;return{args:[],column:t[3]?+t[3]:void 0,func:r,line:t[2]?+t[2]:void 0,url:t[1]}}(e)||function(e){const t=d.exec(e);if(!t)return;return{args:[],column:t[4]?+t[4]:void 0,func:t[1]||r,line:+t[3],url:t[2]}}(e)||function(e){const t=f.exec(e);if(!t)return;const n=t[3]&&t[3].indexOf(" > eval")>-1,o=p.exec(t[3]);n&&o&&(t[3]=o[1],t[4]=o[2],t[5]=void 0);return{args:t[2]?t[2].split(","):[],column:t[5]?+t[5]:void 0,func:t[1]||r,line:t[4]?+t[4]:void 0,url:t[3]}}(e);t&&(!t.func&&t.line&&(t.func=r),o.push(t))}),o.length>0&&function(){if(void 0!==b)return b;class e extends Error{constructor(){super(),this.name="Error"}}const[t,n]=[e,Error].map(e=>new e);return b=v(Object.getPrototypeOf(t))&&n.stack!==t.stack,b}()&&e instanceof Error){const i=[];let s=e;for(;(s=Object.getPrototypeOf(s))&&v(s);){const e=(null===(t=s.constructor)||void 0===t?void 0:t.name)||r;i.push(e)}for(let e=i.length-1;e>=0&&(null===(n=o[0])||void 0===n?void 0:n.func)===i[e];e--)o.shift()}return{message:g(e,"message"),name:g(e,"name"),stack:o}}const s="((?:file|https?|blob|chrome-extension|electron|native|eval|webpack|snippet|<anonymous>|\\w+\\.|\\/).*?)",c="(?::(\\d+))",a=new RegExp(`^\\s*at (.*?) ?\\(${s}${c}?${c}?\\)?\\s*$`,"i"),u=new RegExp(`\\((\\S*)${c}${c}\\)`);const l=new RegExp(`^\\s*at ?${s}${c}?${c}??\\s*$`,"i");const d=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i;const 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.O)(e)&&"string"==typeof e[t]?e[t]:void 0}function y(e,t,n,o){if(void 0===t)return;const{name:r,message:i}=function(e){let t,n;"[object String]"==={}.toString.call(e)&&([,t,n]=m.exec(e));return{name:t,message:n}}(e);return{name:r,message:i,stack:[{url:t,column:o,line:n}]}}const m=/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?([\s\S]*)$/;function v(e){return String(e.constructor).startsWith("class ")}let b},RaEg(e,t,n){n.d(t,{$:()=>s});var o=n("bgI0"),r=n("pX5O"),i=n("7ql9");function s(e,t,n=3e3){let s=0,c=!1;return{isLimitReached(){if(0===s&&(0,o.wg)(()=>{s=0},r.iW),s+=1,s<=n||c)return c=!1,!1;if(s===n+1){c=!0;try{t({message:`Reached max number of ${e}s by minute: ${n}`,source:i.g.AGENT,startClocks:(0,r.M8)()})}finally{c=!1}}return!0}}}},SHtM(e,t,n){n.d(t,{$:()=>c,Y:()=>a});var o=n("9dSU"),r=n("Ig5h"),i=n("Bswk"),s=n("uKaK");function c(e,t,n,i){const c=a();return t.storeContextsAcrossPages&&(0,o.Ck)(t,c,i,1),e.register(0,({eventType:e,startTime:o})=>{const i=c.getContext(),a=n.findTrackedSession(o);return a&&a.anonymousId&&!i.anonymous_id&&t.trackAnonymousUser&&(i.anonymous_id=a.anonymousId),(0,s.RI)(i)?r.$O:{type:e,usr:i}}),e.register(1,({startTime:e})=>{var t;return{anonymous_id:null===(t=n.findTrackedSession(e))||void 0===t?void 0:t.anonymousId}}),c}function a(){return(0,i.D)("user",{propertiesConfig:{id:{type:"string"},name:{type:"string"},email:{type:"string"}}})}},TUkY(e,t,n){n.d(t,{AQ:()=>r,HB:()=>i,Q_:()=>a,_P:()=>s,gB:()=>c});var o=n("pX5O");const r=4*o.MA,i=15*o.iW,s=o.$H,c="0",a={COOKIE:"cookie",LOCAL_STORAGE:"local-storage"}},TiVH(e,t,n){function o(e,t){for(let n=e.length-1;n>=0;n-=1){const o=e[n];if(t(o,n,e))return o}}function r(e){return Object.values(e)}function i(e){return Object.entries(e)}n.d(t,{KQ:()=>r,Uk:()=>o,WP:()=>i})},VECG(e,t,n){n.d(t,{Aq:()=>s,R9:()=>o,q7:()=>a,sr:()=>c});var o,r=n("uKaK");!function(e){e.TRACK_INTAKE_REQUESTS="track_intake_requests",e.USE_TREE_WALKER_FOR_ACTION_NAME="use_tree_walker_for_action_name",e.FEATURE_OPERATION_VITAL="feature_operation_vital",e.SHORT_SESSION_INVESTIGATION="short_session_investigation",e.AVOID_FETCH_KEEPALIVE="avoid_fetch_keepalive",e.USE_CHANGE_RECORDS="use_change_records"}(o||(o={}));const i=new Set;function s(e){Array.isArray(e)&&e.filter(e=>
1(0,r.Rj)(o,e)).forEach(e=>{i.add(e)})}function c(e){return i.has(e)}function a(){return i}},VjQA(e,t,n){n.d(t,{G:()=>a,n:()=>c});var o=n("pX5O"),r=n("EdLy"),i=n("Hz1A"),s=n("zDtL");function c(e,t,n){const s=function(e,t){const n=`/api/v2/${t}`,o=e.proxy;if("string"==typeof o){const e=(0,r.l2)(o);return t=>`${e}?ddforward=${encodeURIComponent(`${n}?${t}`)}`}if("function"==typeof o)return e=>o({path:n,parameters:e});const i=a(t,e);return e=>`https://${i}${n}?${e}`}(e,t);return{build(r,c){const a=function({clientToken:e,internalAnalyticsSubdomain:t,source:n="browser"},r,s,{retry:c,encoding:a},u=[]){const l=[`ddsource=${n}`,`dd-api-key=${e}`,`dd-evp-origin-version=${encodeURIComponent("6.25.4")}`,"dd-evp-origin=browser",`dd-request-id=${(0,i.lk)()}`].concat(u);a&&l.push(`dd-evp-encoding=${a}`);"rum"===r&&(l.push(`batch_time=${(0,o.nx)()}`,`_dd.api=${s}`),c&&l.push(`_dd.retry_count=${c.count}`,`_dd.retry_after=${c.lastFailureStatus}`));t&&l.reverse();return l.join("&")}(e,t,r,c,n);return s(a)},trackType:t}}function a(e,t){const{site:n=s.NW,internalAnalyticsSubdomain:o}=t;if("logs"===e&&t.usePciIntake&&n===s.NW)return s.$A;if(o&&n===s.NW)return`${o}.${s.NW}`;if(n===s.TC)return`http-intake.logs.${n}`;const r=n.split("."),i=r.pop();return`browser-intake-${r.join("-")}.${i}`}},WW3m(e,t,n){n.d(t,{F:()=>i,s:()=>s});var o=n("9dSU"),r=n("Bswk");function i(e,t,n,r){const i=s();return t.storeContextsAcrossPages&&(0,o.Ck)(t,i,n,2),e.register(0,()=>{const e=i.getContext();return r?{context:e}:e}),i}function s(){return(0,r.D)("global context")}},Wm6P(e,t,n){n.d(t,{Z:()=>c,m:()=>s});var o=n("v3rh"),r=n("DIDV"),i=n("fBG3");function s(e){const t={version:"6.25.4",onReady(e){e()},...e};return Object.defineProperty(t,"_setDebug",{get:()=>r.pM,enumerable:!1}),t}function c(e,t,n){const r=e[t];r&&!r.q&&r.version&&i.Vy.warn("SDK is loaded more than once. This is unsupported and might have unexpected behavior."),e[t]=n,r&&r.q&&r.q.forEach(e=>(0,o.y)(e,"onReady callback threw an error:")())}},WrbB(e,t,n){n.d(t,{q:()=>l});var o=n("bgI0"),r=n("IJTo"),i=n("pX5O");const s=1/0,c=i.iW;let a=null;const u=new Set;function l({expireDelay:e,maxEntries:t}){let n=[];a||(a=(0,o.yb)(()=>{u.forEach(e=>e())},c));const l=()=>{const t=(0,i.$S)()-e;for(;n.length>0&&n[n.length-1].endTime<t;)n.pop()};return u.add(l),{add:function(e,o){const i={value:e,startTime:o,endTime:s,remove:()=>{(0,r.Ai)(n,i)},close:e=>{i.endTime=e}};return t&&n.length>=t&&n.pop(),n.unshift(i),i},find:function(e=Infinity,t={returnInactive:!1}){for(const o of n)if(o.startTime<=e){if(t.returnInactive||e<=o.endTime)return o.value;break}},closeActive:function(e){const t=n[0];t&&t.endTime===s&&t.close(e)},findAll:function(e=Infinity,t=0){const o=(0,i.Gw)(e,t);return n.filter(t=>t.startTime<=o&&e<=t.endTime).map(e=>e.value)},reset:function(){n=[]},stop:function(){u.delete(l),0===u.size&&a&&((0,o.vG)(a),a=null)}}}},YHPH(e,t,n){n.d(t,{M:()=>i,s:()=>r});var o=n("PXye");function r(e,t,n){if("object"!=typeof e||null===e)return JSON.stringify(e);const o=i(Object.prototype),r=i(Array.prototype),s=i(Object.getPrototypeOf(e)),c=i(e);try{return JSON.stringify(e,t,n)}catch(a){return"<error: unable to serialize object>"}finally{o(),r(),s(),c()}}function i(e){const t=e,n=t.toJSON;return n?(delete t.toJSON,()=>{t.toJSON=n}):o.l}},ZMjL(e,t,n){n.d(t,{$:()=>r});var o=n("fBG3");function r(e,t){t.silentMultipleInit||o.Vy.error(`${e} is already initialized.`)}},ZNwq(e,t,n){function o(){return 0===s()}function r(){return 1===s()}let i;function s(){return null!=i?i:i=function(e=window){var t;const n=e.navigator.userAgent;if(e.chrome||/HeadlessChrome/.test(n))return 0;if(0===(null===(t=e.navigator.vendor)||void 0===t?void 0:t.indexOf("Apple"))||/safari/i.test(n)&&!/chrome|android/i.test(n))return 1;return 2}()}n.d(t,{F2:()=>o,nr:()=>r})},Ziog(e,t,n){function o(){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}n.d(t,{J2:()=>r,VZ:()=>o,Wq:()=>i});const r=o(),i="WorkerGlobalScope"in r},Zn7e(e,t,n){n.d(t,{H:()=>c,t:()=>a});
1var o=n("bgI0"),r=n("DIDV"),i=n("PXye"),s=n("jIMw");function c(e,t,n,{computeHandlingStack:o}={}){let c=e[t];if("function"!=typeof c){if(!(t in e)||"string"!=typeof t||!t.startsWith("on"))return{stop:i.l};c=i.l}let a=!1;const u=function(){if(a)return c.apply(this,arguments);const e=Array.from(arguments);let t;(0,r.um)(n,null,[{target:this,parameters:e,onPostCall:e=>{t=e},handlingStack:o?(0,s.uC)("instrumented method"):void 0}]);const i=c.apply(this,e);return t&&(0,r.um)(t,null,[i]),i};return e[t]=u,{stop:()=>{a=!0,e[t]===u&&(e[t]=c)}}}function a(e,t,n){const r=Object.getOwnPropertyDescriptor(e,t);if(!r||!r.set||!r.configurable)return{stop:i.l};const s=i.l;let c=(e,t)=>{(0,o.wg)(()=>{c!==s&&n(e,t)},0)};const a=function(e){r.set.call(this,e),c(this,e)};return Object.defineProperty(e,t,{set:a}),{stop:()=>{var n;(null===(n=Object.getOwnPropertyDescriptor(e,t))||void 0===n?void 0:n.set)===a&&Object.defineProperty(e,t,r),c=s}}}},Zs30(e,t,n){n.d(t,{tO:()=>l});var o=n("Ziog"),r=n("FDU9"),i=n("bgI0"),s=n("pX5O"),c=n("GZz+");const a=30*s.OY,u=o.Wq?1:50;function l({pageMayExitObservable:e,sessionExpireObservable:t}){const n=e.subscribe(e=>p(e.reason)),o=t.subscribe(()=>p("session_expire")),s=new r.cP(()=>()=>{n.unsubscribe(),o.unsubscribe()});let l,d=0,f=0;function p(e){if(0===f)return;const t=f,n=d;f=0,d=0,g(),s.notify({reason:e,messagesCount:t,bytesCount:n})}function g(){(0,i.DJ)(l),l=void 0}return{flushObservable:s,get messagesCount(){return f},notifyBeforeAddMessage(e){d+e>=c.AK&&p("bytes_limit"),f+=1,d+=e,void 0===l&&(l=(0,i.wg)(()=>{p("duration_limit")},a))},notifyAfterAddMessage(e=0){d+=e,f>=u?p("messages_limit"):d>=c.AK&&p("bytes_limit")},notifyAfterRemoveMessage(e){d-=e,f-=1,0===f&&g()}}}},"Zv/8"(e,t,n){n.d(t,{Rr:()=>P,A2:()=>$,VJ:()=>D,Gk:()=>B,Q6:()=>q,a5:()=>I});var o=n("fBG3"),r=n("aI0c"),i=n("jIMw"),s=n("VECG"),c=n("sL8f"),a=n("zDtL"),u=n("FDU9"),l=n("pX5O"),d=n("DIDV"),f=n("wRiy"),p=n("I4oo"),g=n("YHPH"),y=n("vjAG"),m=n("RE+S"),v=n("QaFg"),b=n("fbvQ"),h=n("kTsJ"),S=n("GZz+"),w=n("Zs30"),k=n("Ig5h"),E=n("Ziog");const O="log",_="configuration",x="usage",C=["https://www.datadoghq-browser-agent.com","https://www.datad0g-browser-agent.com","https://d3uc069fcn7uxw.cloudfront.net","https://d20xtzwzcl0ceb.cloudfront.net","http://localhost","<anonymous>"],T=[a.R8];let R;function A(){return R||(R=new u.dX(100)),R}function I(e,t,n,o,r,i){const m=new u.cP,{stop:C}=function(e,t,n,o,r){const i=[];if((0,b.d0)()){const e=(0,b.Y9)(),t=r.subscribe(t=>e.send("internal_telemetry",t));i.push(t.unsubscribe)}else{const s=[e.rumEndpointBuilder];e.replica&&function(e){return e.site===a.Bb}(e)&&s.push(e.replica.rumEndpointBuilder);const c=(0,h.X)({encoder:o(4),request:(0,S.sA)(s,t),flushController:(0,w.tO)({pageMayExitObservable:n,sessionExpireObservable:new u.cP})});i.push(c.stop);const l=r.subscribe(c.add);i.push(l.unsubscribe)}return{stop:()=>i.forEach(e=>e())}}(t,o,r,i,m),{enabled:R,metricsEnabled:I}=function(e,t,n,o,r=1,i=15){const a={},u=!T.includes(t.site)&&(0,p.ic)(t.telemetrySampleRate),m={[O]:u,[_]:u&&(0,p.ic)(t.telemetryConfigurationSampleRate),[x]:u&&(0,p.ic)(t.telemetryUsageSampleRate),metric:u&&(0,p.ic)(r)},b={is_local_file:"file:"===(null===(S=E.J2.location)||void 0===S?void 0:S.protocol),is_worker:E.Wq},h=A();var S;return h.subscribe(({rawEvent:t,metricName:r})=>{if(r&&!m.metric||!m[t.type])return;const s=r||t.status||t.type;let c=a[s];if(c||(c=a[s]=new Set),c.size>=i)return;const u=(0,g.s)(t);if(c.has(u))return;const d=n.triggerHook(1,{startTime:(0,l.M8)().relative});if(d===k.ug)return;const p=w(d,e,t,b);o.notify(p),(0,f.b)("telemetry",p),c.add(u)}),h.unbuffer(),(0,d.Bd)(D),{enabled:u,metricsEnabled:m.metric};function w(e,n,o,r){const i={type:"telemetry",date:(0,l.M8)().timeStamp,service:n,version:"6.25.4",source:"browser",_dd:{format_version:2},telemetry:(0,y.kg)(o,{runtime_env:r,connectivity:(0,v.q)(),sdk_setup:"npm"}),ddtags:(0,c.m5)(t).join(","),experimental_features:Array.from((0,s.q7)())};return(0,y.kg)(i,e)}}(e,t,n,m);return{stop:C,enabled:R,metricsEnabled:I}}function $(e,t){(0,d.oO)(o.bP.debug,e,t),A().notify({rawEvent:{type:O,message:e,status:"debug",...t}})}function D(e,t){A().notify({rawEvent:{type:O,status:"error",...M(e),...t}})}function P(e){A().notify({rawEvent:{type:_,configuration:e}})}function B(e,t){A().notify({rawEvent:{type:O,message:e,status:"debug",...t},metricName:e})}function q(e){A().notify({rawEvent:{type:x,usage:e}})}function M(e){if((0,r.bJ)(e)){const t=(0,m.T)(e);return{error:{kind:t.name,stack:(0,i.Yn)(N(t))},message:t.message}}return{error:{stack:r.e6},message:`Uncaught ${(0,g.s)(e)}`}}function N(e){return e.stack=e.stack.filter(e=>!e.url||C.some(t=>e.url.startsWith(t))),e}},aI0c(e,t,n){n.d(t,{As:()=>l,bJ:()=>g,e6:()=>a});
1var o=n("5El4"),r=n("YHPH"),i=n("RE+S"),s=n("jIMw"),c=n("FMiR");const a="No stack, consider using an instance of Error";function u({originalError:e,stackTrace:t,source:n,useFallbackStack:o=!0,nonErrorPrefix:r}){const c=g(e);return!t&&c&&(t=(0,i.T)(e)),{source:n,type:t?t.name:void 0,message:d(t,c,r,e),stack:t?(0,s.Yn)(t):o?a:void 0}}function l({stackTrace:e,originalError:t,handlingStack:n,componentStack:o,startClocks:r,nonErrorPrefix:i,useFallbackStack:s=!0,source:c,handling:a}){return{startClocks:r,handling:a,handlingStack:n,componentStack:o,originalError:t,...u({originalError:t,stackTrace:e,source:c,useFallbackStack:s,nonErrorPrefix:i}),causes:g(t)?y(t,c):void 0,fingerprint:f(t),context:p(t)}}function d(e,t,n,i){return(null==e?void 0:e.message)&&(null==e?void 0:e.name)?e.message:t?"Empty message":n?`${n} ${(0,r.s)((0,o.a)(i))}`:(0,r.s)((0,o.a)(i))}function f(e){return g(e)&&"dd_fingerprint"in e?String(e.dd_fingerprint):void 0}function p(e){if((0,c.O)(e))return e.dd_context}function g(e){return e instanceof Error||"[object Error]"===Object.prototype.toString.call(e)}function y(e,t){const n=[];let o=e.cause;for(;null!=o&&n.length<10;){const e=u({originalError:o,source:t,useFallbackStack:!1});n.push(e),o=g(o)?o.cause:void 0}return n.length?n:void 0}},bgI0(e,t,n){n.d(t,{DJ:()=>c,vG:()=>u,wg:()=>s,yb:()=>a});var o=n("k0ez"),r=n("DIDV"),i=n("Ziog");function s(e,t){return(0,o.W)((0,i.VZ)(),"setTimeout")((0,r.dm)(e),t)}function c(e){(0,o.W)((0,i.VZ)(),"clearTimeout")(e)}function a(e,t){return(0,o.W)((0,i.VZ)(),"setInterval")((0,r.dm)(e),t)}function u(e){(0,o.W)((0,i.VZ)(),"clearInterval")(e)}},bqVu(e,t,n){n.d(t,{N:()=>o,Q:()=>r});const o={userContext:"userContext",globalContext:"globalContext",accountContext:"accountContext"},r={getContext:"getContext",setContext:"setContext",setContextProperty:"setContextProperty",removeContextProperty:"removeContextProperty",clearContext:"clearContext"}},fBG3(e,t,n){n.d(t,{JZ:()=>r,Vy:()=>c,Xs:()=>u,bP:()=>o,fH:()=>a,xG:()=>l});const o={log:"log",debug:"debug",info:"info",warn:"warn",error:"error"},r=console,i={};Object.keys(o).forEach(e=>{i[e]=r[e]});const s="Datadog Browser SDK:",c={debug:i.debug.bind(r,s),log:i.log.bind(r,s),info:i.info.bind(r,s),warn:i.warn.bind(r,s),error:i.error.bind(r,s)},a="https://docs.datadoghq.com",u=`${a}/real_user_monitoring/browser/troubleshooting`,l="More details:"},fbvQ(e,t,n){n.d(t,{Ww:()=>i,Y9:()=>r,d0:()=>s});var o=n("Ziog");function r(){const e=(0,o.VZ)().DatadogEventBridge;if(e)return{getCapabilities(){var t;return JSON.parse((null===(t=e.getCapabilities)||void 0===t?void 0:t.call(e))||"[]")},getPrivacyLevel(){var t;return null===(t=e.getPrivacyLevel)||void 0===t?void 0:t.call(e)},getAllowedWebViewHosts:()=>JSON.parse(e.getAllowedWebViewHosts()),send(t,n,o){const r=o?{id:o}:void 0;e.send(JSON.stringify({eventType:t,event:n,view:r}))}}}function i(e){const t=r();return!!t&&t.getCapabilities().includes(e)}function s(e){var t;void 0===e&&(e=null===(t=(0,o.VZ)().location)||void 0===t?void 0:t.hostname);const n=r();return!!n&&n.getAllowedWebViewHosts().some(t=>e===t||e.endsWith(`.${t}`))}},geVX(e,t,n){n.d(t,{G:()=>d});var o=n("Zn7e"),r=n("FDU9"),i=n("pX5O"),s=n("EdLy"),c=n("uKaK"),a=n("q7oZ");let u;const l=new WeakMap;function d(e){return u||(u=function(e){return new r.cP(t=>{const{stop:n}=(0,o.H)(XMLHttpRequest.prototype,"open",f),{stop:r}=(0,o.H)(XMLHttpRequest.prototype,"send",n=>{!function({target:e,parameters:[t],handlingStack:n},r,s){const u=l.get(e);if(!u)return;const d=u;d.state="start",d.startClocks=(0,i.M8)(),d.isAborted=!1,d.xhr=e,d.handlingStack=n,d.requestBody=t;let f=!1;const{stop:p}=(0,o.H)(e,"onreadystatechange",()=>{e.readyState===XMLHttpRequest.DONE&&g()}),g=()=>{if(y(),p(),f)return;f=!0;const t=u;t.state="complete",t.duration=(0,i.vk)(d.startClocks.timeStamp,(0,i.nx)()),t.status=e.status,"string"==typeof e.response&&(t.responseBody=e.response),s.notify((0,c.yG)(t))},{stop:y}=(0,a.q)(r,e,"loadend",g);s.notify(d)}(n,e,t)},{computeHandlingStack:!0}),{stop:s}=(0,o.H)(XMLHttpRequest.prototype,"abort",p);return()=>{n(),r(),s()}})}(e)),u}function f({target:e,parameters:[t,n]}){l.set(e,{state:"open",method:String(t).toUpperCase(),url:(0,s.l2)(String(n))})}function p({target:e}){const t=l.get(e);t&&(t.isAborted=!0)}},"h/Zm"(e,t,n){n.d(t,{V:()=>l,u:()=>d});var o=n("jIMw"),r=n("DIDV"),i=n("FDU9"),s=n("q7oZ"),c=n("Hz1A"),a=n("7ql9"),u=n("pX5O");const l={intervention:"intervention",deprecation:"deprecation",cspViolation:"csp_violation"};function d(e,t){const n=[];t.includes(l.cspViolation)&&n.push(function(e){return new i.cP(t=>{const{stop:n}=(0,s.q)(e,document,"securitypolicyviolation",e=>{t.notify(function(e){const t=`'${e.blockedURI}' blocked by '${e.effectiveDirective}' directive`;return f({type:e.effectiveDirective,message:`${l.cspViolation}: ${t}
1`,originalError:e,csp:{disposition:e.disposition},stack:p(e.effectiveDirective,e.originalPolicy?`${t} of the policy "${(0,c._R)(e.originalPolicy,100,"...")}"`:"no policy",e.sourceFile,e.lineNumber,e.columnNumber)})}(e))});return n})}(e));const o=t.filter(e=>e!==l.cspViolation);return o.length&&n.push(function(e){return new i.cP(t=>{if(!window.ReportingObserver)return;const n=(0,r.dm)((e,n)=>e.forEach(e=>t.notify(function(e){const{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)})}(e)))),o=new window.ReportingObserver(n,{types:e,buffered:!0});return o.observe(),()=>{o.disconnect()}})}(o)),(0,i.Fx)(...n)}function f(e){return{startClocks:(0,u.M8)(),source:a.g.REPORT,handling:"unhandled",...e}}function p(e,t,n,r,i){return n?(0,o.Yn)({name:e,message:t,stack:[{func:"?",url:n,line:null!=r?r:void 0,column:null!=i?i:void 0}]}):void 0}},h49T(e,t,n){n.d(t,{D:()=>i,w:()=>r});var o=n("FDU9");const r={GRANTED:"granted",NOT_GRANTED:"not-granted"};function i(e){const t=new o.cP;return{tryToInit(t){e||(e=t)},update(n){e=n,t.notify()},isGranted:()=>e===r.GRANTED,observable:t}}},hI5M(e,t,n){n.d(t,{aW:()=>c,dX:()=>l,eh:()=>a});var o=n("Hz1A"),r=n("TUkY"),i=n("FbtF"),s=n("tLpm");function c(){try{const e=(0,o.lk)(),t=`_dd_test_${e}`;localStorage.setItem(t,e);const n=localStorage.getItem(t);return localStorage.removeItem(t),e===n?{type:r.Q_.LOCAL_STORAGE}:void 0}catch(e){return}}function a(e){return{isLockEnabled:!1,persistSession:u,retrieveSession:l,expireSession:t=>function(e,t){u((0,i.zn)(e,t))}(t,e)}}function u(e){localStorage.setItem(s.Z,(0,i.D9)(e))}function l(){const e=localStorage.getItem(s.Z);return(0,i.H9)(e)}},jIMw(e,t,n){n.d(t,{NR:()=>c,Yn:()=>s,uC:()=>i});var o=n("DIDV"),r=n("RE+S");function i(e){const t=new Error(e);let n;return t.name="HandlingStack",(0,o.um)(()=>{const e=(0,r.T)(t);e.stack=e.stack.slice(2),n=s(e)}),n}function s(e){let t=c(e);return e.stack.forEach(e=>{const n="?"===e.func?"<anonymous>":e.func,o=e.args&&e.args.length>0?`(${e.args.join(", ")})`:"",r=e.line?`:${e.line}`:"",i=e.line&&e.column?`:${e.column}`:"";t+=`\n  at ${n}${o} @ ${e.url}${r}${i}`}),t}function c(e){return`${e.name||"Error"}: ${e.message}`}},k0ez(e,t,n){n.d(t,{W:()=>r});var o=n("Ziog");function r(e,t){const n=(0,o.VZ)();let r;return n.Zone&&"function"==typeof n.Zone.__symbol__&&(r=e[n.Zone.__symbol__(t)]),r||(r=e[t]),r}},kTsJ(e,t,n){n.d(t,{X:()=>u});var o=n("fBG3"),r=n("TiVH"),i=n("Ihxy"),s=n("YHPH"),c=n("N/so");const a=256*c._m;function u({encoder:e,request:t,flushController:n}){let u={};const d=n.flushObservable.subscribe(n=>function(n){const o=(0,r.KQ)(u).join("\n");u={};const s=(0,i.Kp)(n.reason),a=s?t.sendOnExit:t.send;if(s&&e.isAsync){const t=e.finishSync();t.outputBytesCount&&a(l(t));const n=[t.pendingData,o].filter(Boolean).join("\n");n&&a({data:n,bytesCount:(0,c.WW)(n)})}else o&&e.write(e.isEmpty?o:`\n${o}`),e.finish(e=>{a(l(e))})}(n));function f(t,r){const i=(0,s.s)(t),l=e.estimateEncodedBytesCount(i);l>=a?o.Vy.warn(`Discarded a message whose size was bigger than the maximum allowed size ${a/c._m}KiB. ${o.xG} ${o.Xs}/#technical-limitations`):(function(e){return void 0!==e&&void 0!==u[e]}(r)&&function(t){const o=u[t];delete u[t];const r=e.estimateEncodedBytesCount(o);n.notifyAfterRemoveMessage(r)}(r),function(t,o,r){n.notifyBeforeAddMessage(o),void 0!==r?(u[r]=t,n.notifyAfterAddMessage()):e.write(e.isEmpty?t:`\n${t}`,e=>{n.notifyAfterAddMessage(e-o)})}(i,l,r))}return{flushController:n,add:f,upsert:f,stop:d.unsubscribe}}function l(e){let t;return t="string"==typeof e.output?e.output:new Blob([e.output],{type:"text/plain"}),{data:t,bytesCount:e.outputBytesCount,encoding:e.encoding}}},kmbF(e,t,n){n.d(t,{D:()=>o});class o{constructor(){this.callbacks={}}notify(e,t){const 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)}}}}},mWzl(e,t,n){n.d(t,{N:()=>r});var o=n("N/so");function r(){let e="",t=0;return{isAsync:!1,get isEmpty(){return!e},write(n,r){const i=(0,o.WW)(n);t+=i,e+=n,r&&r(i)},finish(e){e(this.finishSync())},finishSync(){const n={output:e,outputBytesCount:t,rawBytesCount:t,pendingData:""};return e="",t=0,n},estimateEncodedBytesCount:e=>e.length}}},pX5O(e,t,n){n.d(t,{$H:()=>c,$S:()=>y,FR:()=>a,Gw:()=>h,M8:()=>m,MA:()=>s,OY:()=>r,Oc:()=>v,TP:()=>d,Zj:()=>f,gs:()=>S,iW:()=>i,jR:()=>u,nx:()=>g,pu:()=>w,vk:()=>b,x3:()=>p});var o=n("I4oo");const r=1e3,i=60*r,s=60*i,c=365*(24*s);function a(e){return{relative:e,timeStamp:l(e)}}function u(e){return{relative:S(e),timeStamp:e}}function l(e){const t=p()-performance.now();return t>E()?Math.round(h(t,e)):function(e){return Math.round(h(E(),e))}(e)}function d(){return Math.round(p()-h(E(),performance.now()))}function f(e){return(0,o.Et)(e)?(0,o.LI)(1e6*e,0):e}function p(){return(new Date).getTime()}function g(){return p()}function y(){return performance.now()}function m(){return{relative:y(),timeStamp:g()}}function v(){return{relative:0,timeStamp:E()}}function b(e,t){return t-e}function h(e,t){return e+t}function S(e){return e-E()}function w(e){return e<c}let k;function E(){var e,t;return void 0===k&&(k=null!==(t=null===(e=performance.timing)||void 0===e?void 0:e.navigationStart)&&void 0!==t?t:performance.timeOrigin),k}}
1,q7oZ(e,t,n){n.d(t,{l:()=>s,q:()=>i});var o=n("DIDV"),r=n("k0ez");function i(e,t,n,o,r){return s(e,t,[n],o,r)}function s(e,t,n,i,{once:s,capture:c,passive:a}={}){const u=(0,o.dm)(t=>{(t.isTrusted||t.__ddIsTrusted||e.allowUntrustedEvents)&&(s&&p(),i(t))}),l=a?{capture:c,passive:a}:c,d=window.EventTarget&&t instanceof EventTarget?window.EventTarget.prototype:t,f=(0,r.W)(d,"addEventListener");function p(){const e=(0,r.W)(d,"removeEventListener");n.forEach(n=>e.call(t,n,u,l))}return n.forEach(e=>f.call(t,e,u,l)),{stop:p}}},sL8f(e,t,n){n.d(t,{m5:()=>r});var o=n("fBG3");function r(e){const{env:t,service:n,version:o,datacenter:r,sdkVersion:s,variant:c}=e,a=[i("sdk_version",null!=s?s:"6.25.4")];return t&&a.push(i("env",t)),n&&a.push(i("service",n)),o&&a.push(i("version",o)),r&&a.push(i("datacenter",r)),c&&a.push(i("variant",c)),a}function i(e,t){const n=t?`${e}:${t}`:e;return(n.length>200||function(e){if(!function(){try{return new RegExp("[\\p{Ll}]","u"),!0}catch(e){return!1}}())return!1;return new RegExp("[^\\p{Ll}\\p{Lo}0-9_:./-]","u").test(e)}(n))&&o.Vy.warn(`Tag ${n} doesn't meet tag requirements and will be sanitized. ${o.xG} ${o.fH}/getting_started/tagging/#defining-tags`),function(e){return e.replace(/,/g,"_")}(n)}},tLpm(e,t,n){n.d(t,{Z:()=>o});const o="_dd_s"},uKaK(e,t,n){function o(e){return{...e}}function r(e,t){return Object.keys(e).some(n=>e[n]===t)}function i(e){return 0===Object.keys(e).length}function s(e,t){const n={};for(const o of Object.keys(e))n[o]=t(e[o]);return n}n.d(t,{LG:()=>s,RI:()=>i,Rj:()=>r,yG:()=>o})},v3rh(e,t,n){n.d(t,{y:()=>r});var o=n("fBG3");function r(e,t){return(...n)=>{try{return e(...n)}catch(r){o.Vy.error(t,r)}}}},vjAG(e,t,n){n.d(t,{Go:()=>i,kg:()=>s});var o=n("FMiR");function r(e,t,n=function(){if("undefined"!=typeof WeakSet){const e=new WeakSet;return{hasAlreadyBeenSeen(t){const n=e.has(t);return n||e.add(t),n}}}const e=[];return{hasAlreadyBeenSeen(t){const 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){const 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)){const o=Array.isArray(e)?e:[];for(let e=0;e<t.length;++e)o[e]=r(o[e],t[e],n);return o}const i="object"===(0,o.P)(e)?e:{};for(const o in t)Object.prototype.hasOwnProperty.call(t,o)&&(i[o]=r(i[o],t[o],n));return i}function i(e){return r(void 0,e)}function s(...e){let t;for(const n of e)null!=n&&(t=r(t,n));return t}},wRiy(e,t,n){n.d(t,{b:()=>r});var o=n("Ziog");function r(e,t){const n=o.J2.__ddBrowserSdkExtensionCallback;n&&n({type:e,payload:t})}},wzgf(e,t,n){n.d(t,{Fs:()=>a,X6:()=>c,aj:()=>s,ao:()=>i});var o=n("LGu8"),r=n("Ziog");function i(){return!r.Wq&&Boolean(r.J2._DATADOG_SYNTHETICS_INJECTS_RUM||(0,o.B9)("datadog-synthetics-injects-rum"))}function s(){const e=window._DATADOG_SYNTHETICS_PUBLIC_ID||(0,o.B9)("datadog-synthetics-public-id");return"string"==typeof e?e:void 0}function c(){const e=window._DATADOG_SYNTHETICS_RESULT_ID||(0,o.B9)("datadog-synthetics-result-id");return"string"==typeof e?e:void 0}function a(){return Boolean(s()&&c())}},x8z4(e,t,n){function o(){try{return(new Intl.DateTimeFormat).resolvedOptions().timeZone}catch(e){return}}n.d(t,{O:()=>o})},xkkU(e,t,n){n.d(t,{WA:()=>y,uT:()=>m,bX:()=>b,hO:()=>S,Sz:()=>h});var o=n("v3rh"),r=n("fBG3"),i=n("I4oo"),s=n("uKaK"),c=n("LEnj"),a=n("h49T"),u=n("IpeG");const l=["chrome-extension://","moz-extension://"];function d(e){return l.some(t=>e.includes(t))}function f(e,t,n=("undefined"!=typeof location?location.origin:"")){const o=e.allowedTrackingOrigins;if(!o)return!function(e,t=""){return!d(e)&&d(t.split("\n").filter(e=>{const t=e.trim();return t.length&&/^at\s+|@/.test(t)})[1]||"")}(n,t)||(r.Vy.error("Running the Browser SDK in a Web extension content script is forbidden unless the `allowedTrackingOrigins` option is provided."),!1);const i=(0,u.K)(o,n);return i||r.Vy.error("SDK initialized on a non-allowed domain."),i}var p=n("Ziog"),g=n("yKqS");const y={ALLOW:"allow",MASK:"mask",MASK_USER_INPUT:"mask-user-input",MASK_UNLESS_ALLOWLISTED:"mask-unless-allowlisted"},m={ALL:"all",SAMPLED:"sampled"};function v(e,t){return null==e||"string"==typeof e||(r.Vy.error(`${t} must be defined as a string`),!1)}function b(e,t){return!(void 0!==e&&!(0,i.fp)(e))||(r.Vy.error(`${t} Sample Rate should be a number between 0 and 100`),!1)}function h(e,t){var n,i,u,l,d,y,m,h,S,w;if(e&&e.clientToken)if(void 0===e.allowedTrackingOrigins||Array.isArray(e.allowedTrackingOrigins)){if((!(k=e.site)||"string"!=typeof k||/(datadog|ddog|datad0g|dd0g)/.test(k)||(r.Vy.error(`Site should be a valid Datadog site. ${r.xG} ${r.fH}/getting_started/site/.`),0))&&b(e.sessionSampleRate,"Session")&&b(e.telemetrySampleRate,"Telemetry")&&b(e.telemetryConfigurationSampleRate,"Telemetry Configuration")&&b(e.telemetryUsageSampleRate,"Telemetry Usage")&&v(e.version,"Version")&&v(e.env,"Env")&&v(e.service,"Service")&&f(e,null!=t?t:"")){var k;if(void 0===e.trackingConsent||(0,s.Rj)(a.w,e.trackingConsent))return{beforeSend:e.beforeSend&&(0,o.y)(e.beforeSend,"beforeSend threw an error:"),sessionStoreStrategyType:p.Wq?void 0:(0,c.nd)(e),sessionSampleRate:null!==(n=e.sessionSampleRate)&&void 0!==n?n:100,telemetrySampleRate:null!==(i=e.telemetrySampleRate)&&void 0!==i?i:20,telemetryConfigurationSampleRate:null!==(u=e.telemetryConfigurationSampleRate)&&void 0!==u?u:5,telemetryUsageSampleRate:null!==(l=e.telemetryUsageSampleRate)&&void 0!==l?l:5,service:null!==(d=e.service)&&void 0!==d?d:void 0,env:null!==(y=e.env)&&void 0!==y?y:void 0,version:null!==(m=e.version)&&void 0!==m?m:void 0,datacenter:null!==(h=e.datacenter)&&void 0!==h?h:void 0,silentMultipleInit:!!e.silentMultipleInit,allowUntrustedEvents:!!e.allowUntrustedEvents,trackingConsent:null!==(S=e.trackingConsent)&&void 0!==S?S:a.w.GRANTED,trackAnonymousUser:null===(w=e.trackA
1nonymousUser)||void 0===w||w,storeContextsAcrossPages:!!e.storeContextsAcrossPages,betaEncodeCookieOptions:!!e.betaEncodeCookieOptions,variant:e.variant,sdkVersion:e.sdkVersion,...(0,g.T)(e)};r.Vy.error('Tracking Consent should be either "granted" or "not-granted"')}}else r.Vy.error("Allowed Tracking Origins must be an array");else r.Vy.error("Client Token is not configured, we will not send any data.")}function S(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:e.sessionPersistence,allow_fallback_to_local_storage:!!e.allowFallbackToLocalStorage,store_contexts_across_pages:!!e.storeContextsAcrossPages,allow_untrusted_events:!!e.allowUntrustedEvents,tracking_consent:e.trackingConsent,use_allowed_tracking_origins:Array.isArray(e.allowedTrackingOrigins),beta_encode_cookie_options:e.betaEncodeCookieOptions,source:e.source,sdk_version:e.sdkVersion,variant:e.variant}}},yDic(e,t,n){n.d(t,{B:()=>c,K:()=>a});var o=n("9dSU"),r=n("Ig5h"),i=n("uKaK"),s=n("Bswk");function c(e,t,n){const s=a();return t.storeContextsAcrossPages&&(0,o.Ck)(t,s,n,4),e.register(0,()=>{const e=s.getContext();return(0,i.RI)(e)||!e.id?r.$O:{account:e}}),s}function a(){return(0,s.D)("account",{propertiesConfig:{id:{type:"string",required:!0},name:{type:"string"}}})}},yGs3(e,t,n){n.d(t,{q:()=>i});var o=n("Zv/8"),r=n("DIDV");function i(e,t,n,i){return(0,r.dm)((...r)=>(i&&(0,o.Q6)({feature:i}),e()[t][n](...r)))}},yKqS(e,t,n){n.d(t,{T:()=>i,w:()=>s});var o=n("zDtL"),r=n("VjQA");function i(e){const t=e.site||o.NW,n=function(e){if("flutter"===e||"unity"===e)return e;return"browser"}(e.source),i=function(e){return{logsEndpointBuilder:(0,r.n)(e,"logs"),rumEndpointBuilder:(0,r.n)(e,"rum"),profilingEndpointBuilder:(0,r.n)(e,"profile"),sessionReplayEndpointBuilder:(0,r.n)(e,"replay"),exposuresEndpointBuilder:(0,r.n)(e,"exposures"),flagEvaluationEndpointBuilder:(0,r.n)(e,"flagevaluation")}}({...e,site:t,source:n}),s=function(e){if(!e.replica)return;const t={...e,site:o.NW,clientToken:e.replica.clientToken};return{logsEndpointBuilder:(0,r.n)(t,"logs"),rumEndpointBuilder:(0,r.n)(t,"rum",[`application.id=${e.replica.applicationId}`])}}({...e,site:t,source:n});return{replica:s,site:t,source:n,...i}}function s(e){return o.Ih.every(t=>e.includes(t))}},yOVQ(e,t,n){n.d(t,{O:()=>r});var o=n("IJTo");function r(){const e=[];return{add:t=>{e.push(t)>500&&e.splice(0,1)},remove:t=>{(0,o.Ai)(e,t)},drain:t=>{e.forEach(e=>e(t)),e.length=0}}}},zDtL(e,t,n){n.d(t,{$A:()=>a,Bb:()=>o,Ih:()=>u,NW:()=>i,R8:()=>c,TC:()=>r,dV:()=>s});const o="datad0g.com",r="dd0g-gov.com",i="datadoghq.com",s="datadoghq.eu",c="ddog-gov.com",a="pci.browser-intake-datadoghq.com",u=["ddsource","dd-api-key","dd-request-id"]},zwU6(e,t,n){function o(e){return e>=500}function r(e){try{return e.clone()}catch(t){return}}n.d(t,{G:()=>o,i:()=>r})}}]);

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.