1(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[2612],{65665:function(t,e,r){"use strict";var n=r(44149),i=r(81944),o=r(35472);function a(t){let e={version:"6.33.0",onReady(t){t()},...t};return Object.defineProperty(e,"_setDebug",{get:()=>i.pM,enumerable:!1}),e}function s(t,e,r){let i=t[e];i&&!i.q&&i.version&&o.Vy.warn("SDK is loaded more than once. This is unsupported and might have unexpected behavior."),t[e]=r,i&&i.q&&i.q.forEach(t=>(0,n.y)(t,"onReady callback threw an error:")())}r.d(e,{Z:function(){return s},m:function(){return a}})},90988:function(t,e,r){"use strict";var n=r(81944),i=r(96415);function o(t,e,r,n,i){return a(t,e,[r],n,i)}function a(t,e,r,o,{once:s,capture:u,passive:l}={}){let c=(0,n.dm)(e=>{(e.isTrusted||e.__ddIsTrusted||t.allowUntrustedEvents)&&(s&&h(),o(e))}),d=l?{capture:u,passive:l}:u,f=window.EventTarget&&e instanceof EventTarget?window.EventTarget.prototype:e,p=(0,i.W)(f,"addEventListener");function h(){let t=(0,i.W)(f,"removeEventListener");r.forEach(r=>t.call(e,r,c,d))}return r.forEach(t=>p.call(e,t,c,d)),{stop:h}}r.d(e,{l:function(){return a},q:function(){return o}})},7805:function(t,e,r){"use strict";var n=r(96415),i=r(58996);function o(t,e){return(0,n.W)((0,i.VZ)(),"fetch")(t,e)}r.d(e,{h:function(){return o}})},60092:function(t,e,r){"use strict";var n=r(27445),i=r(23728),o=r(58996),a=r(90988);let s={HIDDEN:"visibility_hidden",UNLOADING:"before_unload",PAGEHIDE:"page_hide",FROZEN:"page_frozen"};function u(t){return new n.cP(e=>{if(o.Wq)return;let{stop:r}=(0,a.l)(t,window,["visibilitychange","freeze"],t=>{"visibilitychange"===t.type&&"hidden"===document.visibilityState?e.notify({reason:s.HIDDEN}):"freeze"===t.type&&e.notify({reason:s.FROZEN})},{capture:!0}),n=(0,a.q)(t,window,"beforeunload",()=>{e.notify({reason:s.UNLOADING})}).stop;return()=>{r(),n()}})}function l(t){return(0,i.KQ)(s).includes(t)}r.d(e,{Kp:function(){return l},_T:function(){return u}},{y5:s})},57397:function(t,e,r){"use strict";var n=r(9441),i=r(90988);function o(t,e,r){return document.readyState===e||"complete"===document.readyState?(r(),{stop:n.l}):(0,i.q)(t,window,"complete"===e?"load":"DOMContentLoaded",r,{once:!0})}function a(t,e){return new Promise(r=>{o(t,e,r)})}r.d(e,{H:function(){return o},N:function(){return a}})},49344:function(t,e,r){"use strict";var n=r(58996);function i(){var t;let e=n.J2.navigator;return{status:e.onLine?"connected":"not_connected",interfaces:e.connection&&e.connection.type?[e.connection.type]:void 0,effective_type:null==(t=e.connection)?void 0:t.effectiveType}}r.d(e,{q:function(){return i}})},63852:function(t,e,r){"use strict";var n=r(83765),i=r(13175),o=r(87894),a=r(51081),s=r(56525);let u="No stack, consider using an instance of Error";function l({originalError:t,stackTrace:e,source:r,useFallbackStack:s=!0,nonErrorPrefix:c}){var f,p,h,m;let g=d(t);return!e&&g&&(e=(0,o.T)(t)),{source:r,type:e?e.name:void 0,message:(f=e,p=g,h=c,m=t,(null==f?void 0:f.message)&&(null==f?void 0:f.name)?f.message:p?"Empty message":h?`${h} ${(0,i.s)((0,n.a)(m))}`:(0,i.s)((0,n.a)(m))),stack:e?(0,a.Yn)(e):s?u:void 0}}function c({stackTrace:t,originalError:e,handlingStack:r,componentStack:n,startClocks:i,nonErrorPrefix:o,useFallbackStack:a=!0,source:u,handling:f}){var p;let h=l({originalError:e,stackTrace:t,source:u,useFallbackStack:a,nonErrorPrefix:o});return{startClocks:i,handling:f,handlingStack:r,componentStack:n,originalError:e,...h,causes:d(e)?function(t,e){let r=[],n=t.cause;for(;null!=n&&r.length<10;){let t=l({originalError:n,source:e,useFallbackStack:!1});r.push(t),n=d(n)?n.cause:void 0}return r.length?r:void 0}(e,u):void 0,fingerprint:d(p=e)&&"dd_fingerprint"in p?String(p.dd_fingerprint):void 0,context:function(t){if((0,s.O)(t))return t.dd_context}(e)}}function d(t){return t instanceof Error||"[object Error]"===Object.prototype.toString.call(t)}r.d(e,{As:function(){return c},bJ:function(){return d}},{e6:u})},40975:function(t,e,r){"use strict";r.d(e,{},{g:{AGENT:"agent",CONSOLE:"console",CUSTOM:"custom",LOGGER:"logger",NETWORK:"network",SOURCE:"source",REPORT:"report"}})},44263:function(t,e,r){"use strict";r.d(e,{},{$A:"pci.browser-intake-datadoghq.com",Bb:"datad0g.com",Ih:["ddsource","dd-api-key","dd-request-id"],KG:"us2.ddog-gov.com",NW:"datadoghq.com",R8:"ddog-gov.com",TC:"dd0g-gov.com",dV:"datadoghq.eu"})},24511:function(t,e,r){"use strict";var n=r(81174);let i=4*n.MA,o=n.$H;r.d(e,{},{AQ:i,HB:9e5,Q_:{COOKIE:"cookie",MEMORY:"memory",LOCAL_STORAGE:"local-storage"},_P:o})},61542:function(t,e,r){"use strict";var n=r(35472);function i(t){let{env:e,service:r,version:n,datacenter:i,sdkVersion:a,variant:s}=t,u=[o("sdk_version",null!=a?a:"6.33.0")];return e&&u.push(o("env",e)),r&&u.push(o("service",r)),n&&u.push(o("version",n)),i&&u.push(o("datacenter",i)),s&&u.push(o("variant",s)),u}function o(t,e){var r;let i=e?`${t}:${e}`:t;return(i.length>200||(r=i,function(){try{return RegExp("[\\p{Ll}]","u"),!0}catch(t){return!1}}()&&RegExp("[^\\p{Ll}\\p{Lo}0-9_:./-]","u").test(r)))&&n.Vy.warn(`Tag ${i} doesn't meet tag requirements and will be sanitized. ${n.xG} ${n.fH}/getting_started/tagging/#defining-tags`),i.replace(/,/g,"_")}r.d(e,{m5:function(){return i}})},89797:function(t,e,r){"use strict";let n;r.d(e,{Rr:function(){return $},A2:function(){return P},VJ:function(){return M},Gk:function(){return U},Q6:function(){return V},a5:function(){return L}});var i=r(35472),o=r(63852),a=r(51081),s=r(9013),u=r(61542),l=r(44263),c=r(27445),d=r(81174),f=r(81944),p=r(83746),h=r(54650),m=r(13175),g=r(24052),v=r(87894),y=r(49344),_=r(4645),b=r(40284),w=r(14432),S=r(89070),k=r(82642),E=r(60092),A=r(41708),T=r(58996),x=r(9441);let R="configuration",C="usage",O=["https://www.datadoghq-browser-agent.com","https://www.datad0g-browser-agent.com","https://d3uc069fcn7uxw.cloudfront.net","https://d20xtzwzcl0ceb.cloudfront.net","http://localhost","<anonymous>"],I=[l.R8,l.KG];function N(){return n||(n=new c.dX(100)),n}function L(t,e,r){let n=new c.cP,{enabled:i,metricsEnabled:o}=function(t,e,r,n,i=1,o=15){var a;let l={},c=!I.includes(e.site)&&(0,h.ic)(e.telemetrySampleRate),v={log:c,[R]:c&&(0,h.ic)(e.telemetryConfigurationSampleRate),[C]:c&&(0,h.ic)(e.telemetryUsageSampleRate),metric:c&&(0,h.ic)(i)},_={is_local_file:(null==(a=T.J2.location)?void 0:a.protocol)==="file:",is_worker:T.Wq},b=N();return b.subscribe(({rawEvent:i,metricName:a})=>{var c,f,h,b;let w;if(a&&!v.metric||!v[i.type])return;let S=a||i.status||i.type,k=l[S];if(k||(k=l[S]=new Set),k.size>=o)return;let E=(0,m.s)(i);if(k.has(E))return;let T=r.triggerHook(1,{startTime:(0,d.M8)().relative});if(T===A.ug)return;let x=(c=T,f=t,h=i,b=_,w={type:"telemetry",date:(0,d.M8)().timeStamp,service:f,version:"6.33.0",source:"browser",_dd:{format_version:2},telemetry:(0,g.kg)(h,{runtime_env:b,connectivity:(0,y.q)(),sdk_setup:"npm"}),ddtags:(0,u.m5)(e).join(","),experimental_features:Array.from((0,s.q7)())},(0,g.kg)(w,c));n.notify(x),(0,p.b)("telemetry",x),k.add(E)}),b.unbuffer(),(0,f.Bd)(M),{enabled:c,metricsEnabled:v.metric}}(t,e,r,n),{stop:a}=function(t,e){let r=[];if((0,_.d0)()){let t=(0,_.Y9)(),n=e.subscribe(e=>t.send("internal_telemetry",e));
1r.push(n.unsubscribe)}else{let n=[t.rumEndpointBuilder];t.replica&&t.site===l.Bb&&n.push(t.replica.rumEndpointBuilder);let i=(0,b.X)({encoder:(0,k.N)(),request:(0,w.sA)(n,x.l),flushController:(0,S.tO)({pageMayExitObservable:(0,E._T)(t),sessionExpireObservable:new c.cP})});r.push(i.stop);let o=e.subscribe(i.add);r.push(o.unsubscribe)}return{stop:()=>r.forEach(t=>t())}}(e,n);return{stop:a,enabled:i,metricsEnabled:o}}function P(t,e){(0,f.oO)(i.bP.debug,t,e),N().notify({rawEvent:{type:"log",message:t,status:"debug",...e}})}function M(t,e){N().notify({rawEvent:{type:"log",status:"error",...function(t){if((0,o.bJ)(t)){var e;let r=(0,v.T)(t);return{error:{kind:r.name,stack:(0,a.Yn)(((e=r).stack=e.stack.filter(t=>!t.url||O.some(e=>t.url.startsWith(e))),e))},message:r.message}}return{error:{stack:o.e6},message:`Uncaught ${(0,m.s)(t)}`}}(t),...e}})}function $(t){N().notify({rawEvent:{type:R,configuration:t}})}function U(t,e){N().notify({rawEvent:{type:"log",message:t,status:"debug",...e},metricName:t})}function V(t){N().notify({rawEvent:{type:C,usage:t}})}},41708:function(t,e,r){"use strict";var n=r(24052);let i="DISCARDED",o="SKIPPED";function a(){let t={};return{register:(e,r)=>(t[e]||(t[e]=[]),t[e].push(r),{unregister:()=>{t[e]=t[e].filter(t=>t!==r)}}),triggerHook(e,r){let a=t[e]||[],s=[];for(let t of a){let e=t(r);if(e===i)return i;e!==o&&s.push(e)}return(0,n.kg)(...s)}}}r.d(e,{XP:function(){return a}},{$O:o,ug:i})},44149:function(t,e,r){"use strict";var n=r(35472);function i(t,e){return(...r)=>{try{return t(...r)}catch(t){n.Vy.error(e,t)}}}r.d(e,{y:function(){return i}})},35472:function(t,e,r){"use strict";let n={log:"log",debug:"debug",info:"info",warn:"warn",error:"error"},i=console,o={};Object.keys(n).forEach(t=>{o[t]=i[t]});let a="Datadog Browser SDK:",s={debug:o.debug.bind(i,a),log:o.log.bind(i,a),info:o.info.bind(i,a),warn:o.warn.bind(i,a),error:o.error.bind(i,a)},u="https://docs.datadoghq.com",l=`${u}/real_user_monitoring/browser/troubleshooting`;r.d(e,{},{JZ:i,Vy:s,Xs:l,bP:n,fH:u,xG:"More details:"})},82642:function(t,e,r){"use strict";var n=r(95235);function i(){let t="",e=0;return{isAsync:!1,get isEmpty(){return!t},write(r,i){let o=(0,n.WW)(r);e+=o,t+=r,i&&i(o)},finish(t){t(this.finishSync())},finishSync(){let r={output:t,outputBytesCount:e,rawBytesCount:e,pendingData:""};return t="",e=0,r},estimateEncodedBytesCount:t=>t.length}}r.d(e,{N:function(){return i}})},9013:function(t,e,r){"use strict";var n,i,o=r(94640);(n=i||(i={})).TRACK_INTAKE_REQUESTS="track_intake_requests",n.USE_TREE_WALKER_FOR_ACTION_NAME="use_tree_walker_for_action_name",n.FEATURE_OPERATION_VITAL="feature_operation_vital",n.START_STOP_ACTION="start_stop_action",n.START_STOP_RESOURCE="start_stop_resource",n.USE_CHANGE_RECORDS="use_change_records",n.USE_INCREMENTAL_CHANGE_RECORDS="use_incremental_change_records",n.TOO_MANY_REQUESTS_INVESTIGATION="too_many_requests_investigation",n.TRACK_RESOURCE_HEADERS="track_resource_headers";let a=new Set;function s(t){Array.isArray(t)&&t.filter(t=>(0,o.Rj)(i,t)).forEach(t=>{a.add(t)})}function u(t){return a.has(t)}function l(){return a}r.d(e,{Aq:function(){return s},R9:function(){return i},q7:function(){return l},sr:function(){return u}})},96415:function(t,e,r){"use strict";var n=r(58996);function i(t,e){let r,i=(0,n.VZ)();return i.Zone&&"function"==typeof i.Zone.__symbol__&&(r=t[i.Zone.__symbol__(e)]),r||(r=t[e]),r}r.d(e,{W:function(){return i}})},58996:function(t,e,r){"use strict";function n(){if("object"==typeof globalThis)return globalThis;Object.defineProperty(Object.prototype,"_dd_temp_",{get(){return this},configurable:!0});let t=_dd_temp_;return delete Object.prototype._dd_temp_,"object"!=typeof t&&(t="object"==typeof self?self:"object"==typeof window?window:{}),t}let i=n();r.d(e,{VZ:function(){return n}},{J2:i,Wq:"WorkerGlobalScope"in i})},19016:function(t,e,r){"use strict";var n=r(41319),i=r(81944),o=r(9441),a=r(51081);function s(t,e,r,{computeHandlingStack:n}={}){let u=t[e];if("function"!=typeof u)if(!(e in t&&"string"==typeof e&&e.startsWith("on")))return{stop:o.l};else u=o.l;let l=!1,c=function(){let t;if(l)return u.apply(this,arguments);let e=Array.from(arguments);(0,i.um)(r,null,[{target:this,parameters:e,onPostCall:e=>{t=e},handlingStack:n?(0,a.uC)("instrumented method"):void 0}]);let o=u.apply(this,e);return t&&(0,i.um)(t,null,[o]),o};return t[e]=c,{stop:()=>{l=!0,t[e]===c&&(t[e]=u)}}}function u(t,e,r){let i=Object.getOwnPropertyDescriptor(t,e);if(!i||!i.set||!i.configurable)return{stop:o.l};let a=o.l,s=(t,e)=>{(0,n.wg)(()=>{s!==a&&r(t,e)},0)},u=function(t){i.set.call(this,t),s(this,t)};return Object.defineProperty(t,e,{set:u}),{stop:()=>{var r;(null==(r=Object.getOwnPropertyDescriptor(t,e))?void 0:r.set)===u&&Object.defineProperty(t,e,i),s=a}}}r.d(e,{H:function(){return s},t:function(){return u}})},24052:function(t,e,r){"use strict";var n=r(56525);function i(t,e,r=function(){if("u">typeof WeakSet){let t=new WeakSet;return{hasAlreadyBeenSeen(e){let r=t.has(e);return r||t.add(e),r}}}let t=[];return{hasAlreadyBeenSeen(e){let r=t.indexOf(e)>=0;return r||t.push(e),r}}}()){if(void 0===e)return t;if("object"!=typeof e||null===e)return e;if(e instanceof Date)return new Date(e.getTime());if(e instanceof RegExp){let t=e.flags||[e.global?"g":"",e.ignoreCase?"i":"",e.multiline?"m":"",e.sticky?"y":"",e.unicode?"u":""].join("");return new RegExp(e.source,t)}if(r.hasAlreadyBeenSeen(e))return;if(Array.isArray(e)){let n=Array.isArray(t)?t:[];for(let t=0;t<e.length;++t)n[t]=i(n[t],e[t],r);return n}let o="object"===(0,n.P)(t)?t:{};for(let t in e)Object.prototype.hasOwnProperty.call(e,t)&&(o[t]=i(o[t],e[t],r));return o}function o(t){return i(void 0,t)}function a(...t){let e;for(let r of t)null!=r&&(e=i(e,r));return e}r.d(e,{Go:function(){return o},kg:function(){return a}})},76782:function(t,e,r){"use strict";function n(t){return t}r.d(e,{B:function(){return n}})},81944:function(t,e,r){"use strict";let n;var i=r(35472);let o=!1;function a(t){n=t}function s(t){o=t}function u(t){return function(...e){return l(t,this,e)}}function l(t,e,r){try{return t.apply(e,r)}catch(t){c(t)}}function c(t){if(d(t),n)try{n(t)}catch(t){d(t)}}function d(...t){o&&i.Vy.error("[MONITOR]",...t)}r.d(e,{Bd:function(){return a},Dx:function(){return c},dm:function(){return u},oO:function(){return d},pM:function(){return s},um:function(){return l}})},27445:function(t,e,r){"use strict";r.d(e,{dX:function(){return u},cP:function(){return a},Fx:function(){return s}});var n=r(81944),i=r(58996);function o(t){let e=i.J2.queueMicrotask;"function"==typeof e?e((0,n.dm)(t)):Promise.resolve().then((0,n.dm)(t))}class a{constructor(t){this.onFirstSubscribe=t,this.observers=[]}subscribe(t){return this.addObserver(t),{unsubscribe:()=>this.removeObserver(t)}}
1notify(t){this.observers.forEach(e=>e(t))}addObserver(t){this.observers.push(t),1===this.observers.length&&this.onFirstSubscribe&&(this.onLastUnsubscribe=this.onFirstSubscribe(this)||void 0)}removeObserver(t){this.observers=this.observers.filter(e=>t!==e),!this.observers.length&&this.onLastUnsubscribe&&this.onLastUnsubscribe()}}function s(...t){return new a(e=>{let r=t.map(t=>t.subscribe(t=>e.notify(t)));return()=>r.forEach(t=>t.unsubscribe())})}class u extends a{constructor(t){super(),this.maxBufferSize=t,this.buffer=[]}notify(t){this.buffer.push(t),this.buffer.length>this.maxBufferSize&&this.buffer.shift(),super.notify(t)}subscribe(t){let e=!1;return o(()=>{for(let r of this.buffer){if(e)return;t(r)}e||this.addObserver(t)}),{unsubscribe:()=>{e=!0,this.removeObserver(t)}}}unbuffer(){o(()=>{this.maxBufferSize=this.buffer.length=0})}}},54994:function(t,e,r){"use strict";var n=r(41319),i=r(81944),o=r(81174);function a(t,e){var r;let a,s;if(window.requestIdleCallback&&window.cancelIdleCallback){let r=window.requestIdleCallback((0,i.dm)(t),e);return()=>window.cancelIdleCallback(r)}return r=t,a=(0,o.x3)(),s=(0,n.wg)(()=>{r({didTimeout:!1,timeRemaining:()=>Math.max(0,50-((0,o.x3)()-a))})},0),()=>(0,n.DJ)(s)}r.d(e,{BB:function(){return a}})},83746:function(t,e,r){"use strict";var n=r(58996);function i(t,e){let r=n.J2.__ddBrowserSdkExtensionCallback;r&&r({type:t,payload:e})}r.d(e,{b:function(){return i}})},13175:function(t,e,r){"use strict";var n=r(9441);function i(t,e,r){if("object"!=typeof t||null===t)return JSON.stringify(t);let n=o(Object.prototype),i=o(Array.prototype),a=o(Object.getPrototypeOf(t)),s=o(t);try{return JSON.stringify(t,e,r)}catch(t){return"<error: unable to serialize object>"}finally{n(),i(),a(),s()}}function o(t){let e=t.toJSON;return e?(delete t.toJSON,()=>{t.toJSON=e}):n.l}r.d(e,{M:function(){return o},s:function(){return i}})},83765:function(t,e,r){"use strict";var n=r(35472),i=r(13175);function o(t,e=225280){let r=(0,i.M)(Object.prototype),n=(0,i.M)(Array.prototype),u=[],l=new WeakMap,c=a(t,"$",void 0,u,l),d=JSON.stringify(c),f=d?d.length:0;if(f>e)return void s(e,"discarded",t);for(;u.length>0&&f<e;){let r=u.shift(),n=0;if(Array.isArray(r.source))for(let i=0;i<r.source.length;i++){let o=a(r.source[i],r.path,i,u,l);if(void 0!==o?f+=JSON.stringify(o).length:f+=4,f+=n,n=1,f>e){s(e,"truncated",t);break}r.target[i]=o}else for(let i in r.source)if(Object.prototype.hasOwnProperty.call(r.source,i)){let o=a(r.source[i],r.path,i,u,l);if(void 0!==o&&(f+=JSON.stringify(o).length+n+i.length+3,n=1),f>e){s(e,"truncated",t);break}r.target[i]=o}}return r(),n(),c}function a(t,e,r,n,i){let o=function(t){if(t&&"function"==typeof t.toJSON)try{return t.toJSON()}catch(t){}return t}(t);if(!o||"object"!=typeof o){var a;return"bigint"==typeof(a=o)?`[BigInt] ${a.toString()}`:"function"==typeof a?`[Function] ${a.name||"unknown"}`:"symbol"==typeof a?`[Symbol] ${a.description||a.toString()}`:a}let s=function t(e){try{if(e instanceof Event){var r;return{type:(r=e).type,isTrusted:r.isTrusted,currentTarget:r.currentTarget?t(r.currentTarget):null,target:r.target?t(r.target):null}}if(e instanceof RegExp)return`[RegExp] ${e.toString()}`;let n=Object.prototype.toString.call(e).match(/\[object (.*)\]/);if(n&&n[1])return`[${n[1]}]`}catch(t){}return"[Unserializable]"}(o);if("[Object]"!==s&&"[Array]"!==s&&"[Error]"!==s)return s;if(i.has(t))return`[Reference seen at ${i.get(t)}]`;let u=void 0!==r?`${e}.${r}`:e,l=Array.isArray(o)?[]:{};return i.set(t,u),n.push({source:o,target:l,path:u}),l}function s(t,e,r){n.Vy.warn(`The data provided has been ${e} as it is over the limit of ${t} characters:`,r)}r.d(e,{a:function(){return o}})},87894:function(t,e,r){"use strict";let n;var i=r(56525);function o(t){var e,r;let i=[],o=h(t,"stack"),a=String(t);if(o&&o.startsWith(a)&&(o=o.slice(a.length)),o&&o.split("\n").forEach(t=>{let e=function(t){let e=u.exec(t);if(!e)return;let r=e[2]&&0===e[2].indexOf("native"),n=e[2]&&0===e[2].indexOf("eval"),i=l.exec(e[2]);return n&&i&&(e[2]=i[1],e[3]=i[2],e[4]=i[3]),{args:r?[e[2]]:[],column:e[4]?+e[4]:void 0,func:e[1]||"?",line:e[3]?+e[3]:void 0,url:r?void 0:e[2]}}(t)||function(t){let e=c.exec(t);if(e)return{args:[],column:e[4]?+e[4]:void 0,func:e[1]||"?",line:e[3]?+e[3]:void 0,url:e[2]}}(t)||function(t){let e=d.exec(t);if(e)return{args:[],column:e[4]?+e[4]:void 0,func:e[1]||"?",line:+e[3],url:e[2]}}(t)||function(t){let e=f.exec(t);if(!e)return;let r=e[3]&&e[3].indexOf(" > eval")>-1,n=p.exec(e[3]);return r&&n&&(e[3]=n[1],e[4]=n[2],e[5]=void 0),{args:e[2]?e[2].split(","):[],column:e[5]?+e[5]:void 0,func:e[1]||"?",line:e[4]?+e[4]:void 0,url:e[3]}}(t);e&&(!e.func&&e.line&&(e.func="?"),i.push(e))}),i.length>0&&function(){if(void 0!==n)return n;
1let[t,e]=[class extends Error{constructor(){super(),this.name="Error"}},Error].map(t=>new t);return n=v(Object.getPrototypeOf(t))&&e.stack!==t.stack}()&&t instanceof Error){let n=[],o=t;for(;(o=Object.getPrototypeOf(o))&&v(o);){let t=(null==(e=o.constructor)?void 0:e.name)||"?";n.push(t)}for(let t=n.length-1;t>=0&&(null==(r=i[0])?void 0:r.func)===n[t];t--)i.shift()}return{message:h(t,"message"),name:h(t,"name"),stack:i}}let a="((?:file|https?|blob|chrome-extension|electron|native|eval|webpack|snippet|<anonymous>|\\w+\\.|\\/).*?)",s="(?::(\\d+))",u=RegExp(`^\\s*at (.*?) ?\\(${a}${s}?${s}?\\)?\\s*$`,"i"),l=RegExp(`\\((\\S*)${s}${s}\\)`),c=RegExp(`^\\s*at\\s*(?:(.*)?(?: @))?\\s*${a}${s}?${s}??\\s*$`,"i"),d=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i,f=/^\s*(.*?)(?:\((.*?)\))?(?:(?:(?:^|@)((?:file|https?|blob|chrome|webpack|resource|capacitor|\[native).*?|[^@]*bundle|\[wasm code\])(?::(\d+))?(?::(\d+))?)|@)\s*$/i,p=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i;function h(t,e){return(0,i.O)(t)&&"string"==typeof t[e]?t[e]:void 0}function m(t,e,r,n){var i;let o,a;if(void 0===e)return;let{name:s,message:u}=(i=t,"[object String]"===({}).toString.call(i)&&([,o,a]=g.exec(i)),{name:o,message:a});return{name:s,message:u,stack:[{url:e,column:n,line:r}]}}let g=/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?([\s\S]*)$/;function v(t){return String(t.constructor).startsWith("class ")}r.d(e,{T:function(){return o},h:function(){return m}})},51081:function(t,e,r){"use strict";var n=r(81944),i=r(87894);function o(t){let e,r=Error(t);return r.name="HandlingStack",(0,n.um)(()=>{let t=(0,i.T)(r);t.stack=t.stack.slice(2),e=a(t)}),e}function a(t){let e=s(t);return t.stack.forEach(t=>{let r="?"===t.func?"<anonymous>":t.func,n=t.args&&t.args.length>0?`(${t.args.join(", ")})`:"",i=t.line?`:${t.line}`:"",o=t.line&&t.column?`:${t.column}`:"";e+=` 2 at ${r}${n} @ ${t.url}${i}${o}`}),e}function s(t){return`${t.name||"Error"}: ${t.message}`}r.d(e,{NR:function(){return s},Yn:function(){return a},uC:function(){return o}})},41319:function(t,e,r){"use strict";var n=r(96415),i=r(81944),o=r(58996);function a(t,e){return(0,n.W)((0,o.VZ)(),"setTimeout")((0,i.dm)(t),e)}function s(t){(0,n.W)((0,o.VZ)(),"clearTimeout")(t)}function u(t,e){return(0,n.W)((0,o.VZ)(),"setInterval")((0,i.dm)(t),e)}function l(t){(0,n.W)((0,o.VZ)(),"clearInterval")(t)}r.d(e,{DJ:function(){return s},vG:function(){return l},wg:function(){return a},yb:function(){return u}})},40068:function(t,e,r){"use strict";function n(t,e){let r=t.indexOf(e);r>=0&&t.splice(r,1)}function i(t){return Array.isArray(t)&&t.length>0}r.d(e,{Ai:function(){return n},EI:function(){return i}})},78901:function(t,e,r){"use strict";let n;function i(){return 0===a()}function o(){return 1===a()}function a(){return null!=n?n:n=function(t=window){var e;let r=t.navigator.userAgent;return t.chrome||/HeadlessChrome/.test(r)?0:(null==(e=t.navigator.vendor)?void 0:e.indexOf("Apple"))===0||/safari/i.test(r)&&!/chrome|android/i.test(r)?1:2}()}r.d(e,{F2:function(){return i},nr:function(){return o}})},95235:function(t,e,r){"use strict";let n=/[^\u0000-\u007F]/;function i(t){return n.test(t)?void 0!==window.TextEncoder?new TextEncoder().encode(t).length:new Blob([t]).size:t.length}function o(t){if(1===t.length)return t[0];let e=new Uint8Array(t.reduce((t,e)=>t+e.length,0)),r=0;for(let n of t)e.set(n,r),r+=n.length;return e}r.d(e,{WW:function(){return i},wh:function(){return o}},{iH:1048576})},9441:function(t,e,r){"use strict";var n=r(41319);function i(t,e,r){let i,o,a=!r||void 0===r.leading||r.leading,s=!r||void 0===r.trailing||r.trailing,u=!1;return{throttled:(...r)=>{if(u){i=r;return}a?t(...r):i=r,u=!0,o=(0,n.wg)(()=>{s&&i&&t(...i),u=!1,i=void 0},e)},cancel:()=>{(0,n.DJ)(o),u=!1,i=void 0}}}function o(){}r.d(e,{l:function(){return o},n:function(){return i}})},54650:function(t,e,r){"use strict";function n(t){return 0!==t&&100*Math.random()<=t}function i(t,e){return+t.toFixed(e)}function o(t){return a(t)&&t>=0&&t<=100}function a(t){return"number"==typeof t}r.d(e,{Et:function(){return a},LI:function(){return i},fp:function(){return o},ic:function(){return n}})},94640:function(t,e,r){"use strict";function n(t){try{return JSON.parse(t)}catch(t){}}function i(t){return{...t}}function o(t,e){return Object.keys(t).some(r=>t[r]===e)}function a(t){return 0===Object.keys(t).length}function s(t,e){let r={};for(let n of Object.keys(t))r[n]=e(t[n]);return r}r.d(e,{LG:function(){return s},RI:function(){return a},Rj:function(){return o},XU:function(){return n},yG:function(){return i}})},23728:function(t,e,r){"use strict";function n(t,e){for(let r=t.length-1;r>=0;r-=1){let n=t[r];
2if(e(n,r,t))return n}}function i(t){return Object.values(t)}function o(t){return Object.entries(t)}r.d(e,{KQ:function(){return i},Uk:function(){return n},WP:function(){return o}})},22252:function(t,e,r){"use strict";function n(t){return t>=500}function i(t){try{return t.clone()}catch(t){return}}r.d(e,{G:function(){return n},i:function(){return i}})},81174:function(t,e,r){"use strict";let n;var i=r(54650);function o(t){var e,r;let n;return{relative:t,timeStamp:(e=t,(n=l()-performance.now())>y()?Math.round(function(t,e){return t+e}(n,e)):(r=e,Math.round(y()+r)))}}function a(t){return{relative:g(t),timeStamp:t}}function s(){var t;return Math.round(l()-(t=y(),t+performance.now()))}function u(t){return(0,i.Et)(t)?(0,i.LI)(1e6*t,0):t}function l(){return new Date().getTime()}function c(){return l()}function d(){return performance.now()}function f(){return{relative:d(),timeStamp:c()}}function p(){return{relative:0,timeStamp:y()}}function h(t,e){return e-t}function m(t,e){return t+e}function g(t){return t-y()}function v(t){return t<31536e6}function y(){var t,e;return void 0===n&&(n=null!=(e=null==(t=performance.timing)?void 0:t.navigationStart)?e:performance.timeOrigin),n}r.d(e,{$S:function(){return d},FR:function(){return o},Gw:function(){return m},M8:function(){return f},Oc:function(){return p},TP:function(){return s},Zj:function(){return u},gs:function(){return g},jR:function(){return a},nx:function(){return c},pu:function(){return v},vk:function(){return h},x3:function(){return l}},{$H:31536e6,MA:36e5})},56525:function(t,e,r){"use strict";function n(t){return null===t?"null":Array.isArray(t)?"array":typeof t}function i(t){return"object"===n(t)}r.d(e,{O:function(){return i},P:function(){return n}})},14278:function(t,e,r){"use strict";let n;var i=r(58996);function o(t){return u(t,location.href).href}function a(t){try{return!!u(t)}catch(t){return!1}}function s(t){let e=u(t).pathname;return"/"===e[0]?e:`/${e}`}function u(t,e){let{URL:r}=function(){var t;if(!n){let e,r;try{(e=document.createElement("iframe")).style.display="none",document.body.appendChild(e),r=null!=(t=e.contentWindow)?t:i.J2}catch(t){r=i.J2}n={URL:r.URL},null==e||e.remove()}return n}();try{return void 0!==e?new r(t,e):new r(t)}catch(t){throw Error(`Failed to construct URL: ${String(t)}`)}}r.d(e,{AY:function(){return a},L2:function(){return s},c$:function(){return u},l2:function(){return o}})},9127:function(t,e,r){"use strict";let n;var i=r(41319),o=r(40068),a=r(81174);let s=new Set;function u({expireDelay:t,maxEntries:e}){let r=[];n||(n=(0,i.yb)(()=>void s.forEach(t=>t()),6e4));let l=()=>{let e=(0,a.$S)()-t;for(;r.length>0&&r[r.length-1].endTime<e;)r.pop()};return s.add(l),{add:function(t,n){let i={value:t,startTime:n,endTime:1/0,remove:()=>{(0,o.Ai)(r,i)},close:t=>{i.endTime=t}};return e&&r.length>=e&&r.pop(),r.unshift(i),i},find:function(t=1/0,e={returnInactive:!1}){for(let n of r)if(n.startTime<=t){if(e.returnInactive||t<=n.endTime)return n.value;break}},closeActive:function(t){let e=r[0];e&&1/0===e.endTime&&e.close(t)},findAll:function(t=1/0,e=0){let n=(0,a.Gw)(t,e);return r.filter(e=>e.startTime<=n&&t<=e.endTime).map(t=>t.value)},getEntries:function(t){return r.filter(e=>e.startTime===t)},reset:function(){r=[]},stop:function(){s.delete(l),0===s.size&&n&&((0,i.vG)(n),n=void 0)}}}r.d(e,{qj:function(){return u}})},40284:function(t,e,r){"use strict";var n=r(35472),i=r(23728),o=r(60092),a=r(13175),s=r(95235);function u({encoder:t,request:e,flushController:r}){let c={},d=r.flushObservable.subscribe(r=>(function(r){let n=(0,i.KQ)(c).join("\n");c={};let a=(0,o.Kp)(r.reason),u=a?e.sendOnExit:e.send;if(a&&t.isAsync){let e=t.finishSync();e.outputBytesCount&&u(l(e));let r=[e.pendingData,n].filter(Boolean).join("\n");r&&u({data:r,bytesCount:(0,s.WW)(r)})}else n&&t.write(t.isEmpty?n:` 3${n}`),t.finish(t=>{u(l(t))})})(r));function f(e,i){let o,s,u=(0,a.s)(e),l=t.estimateEncodedBytesCount(u);l>=262144?n.Vy.warn(`Discarded a message whose size was bigger than the maximum allowed size 256KiB. ${n.xG} ${n.Xs}/#technical-limitations`):(void 0!==i&&void 0!==c[i]&&(o=c[i],delete c[i],s=t.estimateEncodedBytesCount(o),r.notifyAfterRemoveMessage(s)),r.notifyBeforeAddMessage(l),void 0!==i?(c[i]=u,r.notifyAfterAddMessage()):t.write(t.isEmpty?u:` 4${u}`,t=>{r.notifyAfterAddMessage(t-l)}))}return{flushController:r,add:f,upsert:f,stop:d.unsubscribe}}function l(t){return{data:"string"==typeof t.output?t.output:new Blob([t.output],{type:"text/plain"}),bytesCount:t.outputBytesCount,encoding:t.encoding}}r.d(e,{X:function(){return u}})},4645:function(t,e,r){"use strict";var n=r(58996);function i(){let t=(0,n.VZ)().DatadogEventBridge;if(t)return{getCapabilities(){var e;return JSON.parse((null==(e=t.getCapabilities)?void 0:e.call(t))||"[]")},getPrivacyLevel(){var e;return null==(e=t.getPrivacyLevel)?void 0:e.call(t)},getAllowedWebViewHosts:()=>JSON.parse(t.getAllowedWebViewHosts()),send(e,r,n){t.send(JSON.stringify({eventType:e,event:r,view:n?{id:n}:void 0}))}}}function o(t){let e=i();return!!e&&e.getCapabilities().includes(t)}function a(t){var e;void 0===t&&(t=null==(e=(0,n.VZ)().location)?void 0:e.hostname);let r=i();return!!r&&r.getAllowedWebViewHosts().some(e=>t===e||t.endsWith(`.${e}`))}r.d(e,{Ww:function(){return o},Y9:function(){return i},d0:function(){return a}})},89070:function(t,e,r){"use strict";var n=r(58996),i=r(27445),o=r(41319),a=r(14432);let s=n.Wq?1:50;
4function u({pageMayExitObservable:t,sessionExpireObservable:e}){let r,n,l=new i.cP,c=t.subscribe(t=>{r=t.reason;try{l.notify(t.reason)}finally{r=void 0}m(t.reason)}),d=e.subscribe(()=>m("session_expire")),f=new i.cP(()=>()=>{c.unsubscribe(),d.unsubscribe()}),p=0,h=0;function m(t){if(0===h)return;let e=h,r=p;h=0,p=0,g(),f.notify({reason:t,messagesCount:e,bytesCount:r})}function g(){(0,o.DJ)(n),n=void 0}return{flushObservable:f,preparePageExitFlushObservable:l,get messagesCount(){return h},notifyBeforeAddMessage(t){p+t>=a.AK&&m(null!=r?r:"bytes_limit"),h+=1,p+=t,void 0===n&&(n=(0,o.wg)(()=>{m("duration_limit")},3e4))},notifyAfterAddMessage(t=0){p+=t,h>=s?m(null!=r?r:"messages_limit"):p>=a.AK&&m(null!=r?r:"bytes_limit")},notifyAfterRemoveMessage(t){p-=t,0==(h-=1)&&g()}}}r.d(e,{tO:function(){return u}})},14432:function(t,e,r){"use strict";r.d(e,{AK:function(){return g},sA:function(){return v}});var n=r(7805),i=r(81944),o=r(27445),a=r(41319),s=r(81174),u=r(95235),l=r(22252),c=r(40975);let d=20*u.iH;function f(t,e,r,n,i,o){0===e.transportStatus&&0===e.queuedPayloads.size()&&e.bandwidthMonitor.canHandle(t)?p(t,e,r,o,{onSuccess:()=>h(0,e,r,n,i,o),onFailure:()=>{e.queuedPayloads.enqueue(t)||o.notify({type:"queue-full",bandwidth:e.bandwidthMonitor.stats(),payload:t}),function t(e,r,n,i,o){2===e.transportStatus&&(0,a.wg)(()=>{p(e.queuedPayloads.first(),e,r,o,{onSuccess:()=>{e.queuedPayloads.dequeue(),e.currentBackoffTime=1e3,h(1,e,r,n,i,o)},onFailure:()=>{e.currentBackoffTime=Math.min(6e4,2*e.currentBackoffTime),t(e,r,n,i,o)}})},e.currentBackoffTime)}(e,r,n,i,o)}}):e.queuedPayloads.enqueue(t)||o.notify({type:"queue-full",bandwidth:e.bandwidthMonitor.stats(),payload:t})}function p(t,e,r,n,{onSuccess:i,onFailure:o}){e.bandwidthMonitor.add(t),r(t,r=>{var a;e.bandwidthMonitor.remove(t),"opaque"!==(a=r).type&&(0===a.status&&!navigator.onLine||408===a.status||429===a.status||(0,l.G)(a.status))?(e.transportStatus=e.bandwidthMonitor.ongoingRequestCount>0?1:2,t.retry={count:t.retry?t.retry.count+1:1,lastFailureStatus:r.status},n.notify({type:"failure",bandwidth:e.bandwidthMonitor.stats(),payload:t}),o()):(e.transportStatus=0,n.notify({type:"success",bandwidth:e.bandwidthMonitor.stats(),payload:t}),i())})}function h(t,e,r,n,i,o){0===t&&e.queuedPayloads.isFull()&&!e.queueFullReported&&(i({message:`Reached max ${n} events size queued for upload: ${d/u.iH}MiB`,source:c.g.AGENT,startClocks:(0,s.M8)()}),e.queueFullReported=!0);let a=e.queuedPayloads;for(e.queuedPayloads=m();a.size()>0;)f(a.dequeue(),e,r,n,i,o)}function m(){let t=[];return{bytesCount:0,enqueue(e){return!this.isFull()&&(t.push(e),this.bytesCount+=e.bytesCount,!0)},first:()=>t[0],dequeue(){let e=t.shift();return e&&(this.bytesCount-=e.bytesCount),e},size:()=>t.length,isFull(){return this.bytesCount>=d}}}let g=16384;function v(t,e,r=g){let n=new o.cP,a={transportStatus:0,currentBackoffTime:1e3,bandwidthMonitor:{ongoingRequestCount:0,ongoingByteCount:0,canHandle(t){return 0===this.ongoingRequestCount||this.ongoingByteCount+t.bytesCount<=81920&&this.ongoingRequestCount<32},add(t){this.ongoingRequestCount+=1,this.ongoingByteCount+=t.bytesCount},remove(t){this.ongoingRequestCount-=1,this.ongoingByteCount-=t.bytesCount},stats(){return{ongoingByteCount:this.ongoingByteCount,ongoingRequestCount:this.ongoingRequestCount}}},queuedPayloads:m(),queueFullReported:!1};return{observable:n,send:r=>{for(let i of t)f(r,a,(t,e)=>{_(i,t,e)},i.trackType,e,n)},sendOnExit:e=>{for(let n of t)!function(t,e,r){if(navigator.sendBeacon&&r.bytesCount<e)try{let e=t.build("beacon",r);if(navigator.sendBeacon(e,r.data))return}catch(t){var n;n=t,y||(y=!0,(0,i.Dx)(n))}_(t,r)}(n,r,e)}}}let y=!1;function _(t,e,r){let o=t.build("fetch",e);(0,n.h)(o,{method:"POST",body:e.data,mode:"cors"}).then((0,i.dm)(t=>null==r?void 0:r({status:t.status,type:t.type}))).catch((0,i.dm)(()=>null==r?void 0:r({status:0})))}},33907:function(t,e,r){"use strict";let n,i,o,a,s,u,l,c,d,f,p,h;r.d(e,{eT:function(){return rU},o:function(){return"***"},$m:function(){return rM},NT:function(){return r$},Wd:function(){return"hidden"},bb:function(){return J},K:function(){return Q},do:function(){return g},wP:function(){return ii},wI:function(){return rl},W3:function(){return eD},PJ:function(){return rq},dT:function(){return rz},$4:function(){return rc},Gn:function(){return nL},zL:function(){return nP},dx:function(){return ir},rf:function(){return rH},pB:function(){return n$},wR:function(){return ru},g1:function(){return nM},nS:function(){return ro},XS:function(){return ra},p_:function(){return rs},$5:function(){return e3},AB:function(){return ie},jR:function(){return rj},ei:function(){return e5},ap:function(){return rB},Ie:function(){return rF}});var m,g,v=r(27445);let y={GRANTED:"granted",NOT_GRANTED:"not-granted"};var _=r(76782),b=r(19016),w=r(81174),S=r(87894),k=r(58996),E=r(63852),A=r(40975);function T(){return new v.cP(t=>{var e,r;let n=(e,r)=>{let n=(0,E.As)({stackTrace:r,originalError:e,startClocks:(0,w.M8)(),nonErrorPrefix:"Uncaught",source:A.g.SOURCE,handling:"unhandled"});t.notify(n)},{stop:i}=(e=n,(0,b.H)((0,k.VZ)(),"onerror",({parameters:[t,r,n,i,o]})=>{let a;(0,E.bJ)(o)||(a=(0,S.h)(t,r,n,i)),e(null!=o?o:t,a)})),{stop:o}=(r=n,(0,b.H)((0,k.VZ)(),"onunhandledrejection",({parameters:[t]})=>{r(t.reason||"Empty reason")}));return()=>{i(),o()}})}
4var x=r(82642),R=r(51081),C=r(81944),O=r(89797),I=r(65665),N=r(24052),L=r(83765),P=r(9013);function M(t,e,r,n){return(0,C.dm)((...i)=>(n&&(0,O.Q6)({feature:n}),t()[e][r](...i)))}let $="userContext",U="globalContext",V="accountContext",D="getContext",q="setContext",j="setContextProperty",z="removeContextProperty",F="clearContext";function B(t){return t?(parseInt(t,10)^16*Math.random()>>parseInt(t,10)/4).toString(16):"10000000-1000-4000-8000-100000000000".replace(/[018]/g,B)}let G=/(\S+?)\s*=\s*(.+?)(?:;|$)/g;function W(t,e){for(G.lastIndex=0;;){let r=G.exec(t);if(r){if(r[1]===e)return r[2]}else break}}function H(t,e,r=""){let n=t.charCodeAt(e-1),i=n>=55296&&n<=56319?e+1:e;return t.length<=i?t:`${t.slice(0,i)}${r}`}var Z=r(35472);function K(t,e){e.silentMultipleInit||Z.Vy.error(`${t} is already initialized.`)}let J={ACTION:"action",ERROR:"error",LONG_TASK:"long_task",VIEW:"view",RESOURCE:"resource",VITAL:"vital"},Q={LONG_TASK:"long-task",LONG_ANIMATION_FRAME:"long-animation-frame"},Y="initial_load",X="route_change",tt="bf_cache",te="custom",tr="error_click",tn="dead_click",ti="duration";function to({vitalsByName:t,vitalsByReference:e},r,n={}){let i={id:B(),name:r,startClocks:(0,w.M8)(),...n},o={__dd_vital_reference:!0};return t.set(r,i),e.set(o,i),o}function ta(t,{vitalsByName:e,vitalsByReference:r},n,i={}){var o,a,s,u,l;let c="string"==typeof n?e.get(n):r.get(n);c&&(t((o=c,a=c.startClocks,s=i,u=(0,w.M8)(),{id:o.id,name:o.name,type:ti,startClocks:a,duration:(0,w.vk)(a.timeStamp,u.timeStamp),context:(0,N.kg)(o.context,s.context),description:null!=(l=s.description)?l:o.description,handlingStack:o.handlingStack})),"string"==typeof n?e.delete(n):r.delete(n))}function ts(t){let{startClocks:e,type:r,name:n,description:i,context:o,handlingStack:a}=t,s=t.type===ti?t.id:void 0,u={id:null!=s?s:B(),type:r,name:n,description:i,...r===ti?{duration:(0,w.Zj)(t.duration)}:{step_type:t.stepType,operation_key:t.operationKey,failure_reason:t.failureReason}};return{rawRumEvent:{date:e.timeStamp,vital:u,type:J.VITAL,context:o},startClocks:e,duration:r===ti?t.duration:void 0,domainContext:a?{handlingStack:a}:{}}}function tu(t,e,r){if(t)for(let n of t){let t=n[e];t&&t(r)}}var tl=r(40068),tc=r(90988),td=r(94640);let tf=[];function tp(t,e,r,n){var i,o;let a=(i=r,o=n,`_dd_c_${i}_${o}`);tf.push((0,tc.q)(t,window,"storage",({key:t})=>{a===t&&e.setContext(u())})),e.changeObservable.subscribe(function(){localStorage.setItem(a,JSON.stringify(e.getContext()))});let s=(0,N.kg)(u(),e.getContext());function u(){let t=localStorage.getItem(a);return t?JSON.parse(t):{}}(0,td.RI)(s)||e.setContext(s)}var th=r(56525);function tm(t,e,r){let n={...t};for(let[t,{required:i,type:o}]of Object.entries(e))"string"!==o||tg(n[t])||(n[t]=String(n[t])),i&&tg(n[t])&&Z.Vy.warn(`The property ${t} of ${r} is required; context will not be sent to the intake.`);return n}function tg(t){return null==t||""===t}function tv(t="",{propertiesConfig:e={}}={}){let r={},n=new v.cP,i={getContext:()=>(0,N.Go)(r),setContext:o=>{let a;((a="object"===(0,th.P)(o))||Z.Vy.error("Unsupported context:",o),a)?r=(0,L.a)(tm(o,e,t)):i.clearContext(),n.notify()},setContextProperty:(i,o)=>{r=(0,L.a)(tm({...r,[i]:o},e,t)),n.notify()},removeContextProperty:i=>{delete r[i],tm(r,e,t),n.notify()},clearContext:()=>{r={},n.notify()},changeObservable:n};return i}function ty(){return tv("global context")}var t_=r(41708);function tb(){return tv("user",{propertiesConfig:{id:{type:"string"},name:{type:"string"},email:{type:"string"}}})}function tw(){return tv("account",{propertiesConfig:{id:{type:"string",required:!0},name:{type:"string"}}})}var tS=r(4645),tk=r(9441),tE=r(14278),tA=r(95235);async function tT(t,e){let r=t.getReader(),n=[];for(;;){let t=await r.read();if(t.done)break;e.collectStreamBody&&n.push(t.value)}return r.cancel().catch(tk.l),e.collectStreamBody?(0,tA.wh)(n):void 0}var tx=r(22252);let tR=[];function tC({responseBodyAction:t}={}){return t&&tR.push(t),n||(n=new v.cP(t=>{if(!k.J2.fetch)return;let{stop:e}=(0,b.H)(k.J2,"fetch",e=>(function({parameters:t,onPostCall:e,handlingStack:r},n){var i,o;let[a,s]=t,u=s&&s.method;void 0===u&&a instanceof Request&&(u=a.method);let l=void 0!==u?String(u).toUpperCase():"GET",c=a instanceof Request?a.url:(0,tE.l2)(String(a)),d={state:"start",init:s,input:a,method:l,startClocks:(0,w.M8)(),url:c,handlingStack:r,isAbortedOnStart:a instanceof Request&&(null==(i=a.signal)?void 0:i.aborted)||(null==(o=null==s?void 0:s.signal)?void 0:o.aborted)||!1};
4n.notify(d),t[0]=d.input,t[1]=d.init,e(t=>{tO(n,t,d).catch(C.Dx)})})(e,t),{computeHandlingStack:!0});return e})),n}async function tO(t,e,r){var n,i;let o;r.state="resolve";try{o=await e}catch(e){r.status=0,r.isAborted=(null==(i=null==(n=r.init)?void 0:n.signal)?void 0:i.aborted)||e instanceof DOMException&&e.code===DOMException.ABORT_ERR,r.error=e,t.notify(r);return}r.response=o,r.status=o.status,r.responseType=o.type,r.isAborted=!1;let a=tR.reduce((t,e)=>Math.max(t,e(r)),0);if(0!==a){let t=(0,tx.i)(o);if(t&&t.body)try{let e=await tT(t.body,{collectStreamBody:2===a});r.responseBody=e&&new TextDecoder().decode(e)}catch(t){}}t.notify(r)}function tI(t,e,r=0,n){let i=new Date;i.setTime(i.getTime()+r);let o=`expires=${i.toUTCString()}`,a=n&&n.crossSite?"none":"strict",s=n&&n.domain?`;domain=${n.domain}`:"",u=n&&n.secure?";secure":"",l=n&&n.partitioned?";partitioned":"";document.cookie=`${t}=${e};${o};path=/;samesite=${a}${s}${u}${l}`}function tN(t){return W(document.cookie,t)}function tL(t){return i||(i=function(t){let e=new Map;for(G.lastIndex=0;;){let r=G.exec(t);if(r)e.set(r[1],r[2]);else break}return e}(document.cookie)),i.get(t)}function tP(t=location.hostname,e=document.referrer){if(void 0===o){let r=function(t,e){try{return t||(0,tE.c$)(e).hostname}catch(t){}}(t,e);if(r){let t=`dd_site_test_${B()}`,e=r.split("."),n=e.pop();for(;e.length&&!tN(t);)tI(t,"test",1e3,{domain:n=`${e.pop()}.${n}`});tI(t,"",0,{domain:n}),o=n}}return o}let tM="datadog-synthetics-",t$=`${tM}public-id`,tU=`${tM}result-id`,tV=`${tM}injects-rum`,tD=`${tM}rum-context`;function tq(){return!k.Wq&&!!(k.J2._DATADOG_SYNTHETICS_INJECTS_RUM||tL(tV))}function tj(){var t;let e=function(){let t=k.J2._DATADOG_SYNTHETICS_RUM_CONTEXT;if(t)return t;let e=tL(tD);return e?(0,td.XU)(decodeURIComponent(e)):{test_id:window._DATADOG_SYNTHETICS_PUBLIC_ID||tL(t$),result_id:window._DATADOG_SYNTHETICS_RESULT_ID||tL(tU)}}();return"object"==typeof(t=e)&&null!==t&&"string"==typeof t.test_id&&"string"==typeof t.result_id?e:void 0}let tz=t_.XP;var tF=r(44149),tB=r(54650),tG=r(41319),tW=r(78901),tH=r(23728),tZ=r(24511);let tK=/^([a-zA-Z]+)=([a-z0-9-]+)$/;function tJ(t,e){let r={isExpired:"1"};return e.trackAnonymousUser&&(null==t?void 0:t.anonymousId)&&(r.anonymousId=null==t?void 0:t.anonymousId),r}function tQ(t){return(0,td.RI)(t)}function tY(t){var e;return void 0!==t.isExpired||!((void 0===(e=t).created||(0,w.x3)()-Number(e.created)<tZ.AQ)&&(void 0===e.expire||(0,w.x3)()<Number(e.expire)))}function tX(t){t.expire=String((0,w.x3)()+tZ.HB)}function t0(t){return(0,tH.WP)(t).map(([t,e])=>"anonymousId"===t?`aid=${e}`:`${t}=${e}`).join("&")}function t1(t){let e={};return t&&(-1!==t.indexOf("&")||tK.test(t))&&t.split("&").forEach(t=>{let r=tK.exec(t);if(null!==r){let[,t,n]=r;"aid"===t?e.anonymousId=n:e[t]=n}}),e}function t2(t,e,r,n){let i=t0(r);e.betaEncodeCookieOptions&&(i=t0({...r,...!(0,td.RI)(r)?{c:t4(t)}:{}})),tI("_dd_s",i,e.trackAnonymousUser?tZ._P:n,t)}function t5(t,e){return e.betaEncodeCookieOptions?function(t){let e,r=(function(t){let e=new Map;for(G.lastIndex=0;;){let r=G.exec(t);if(r){let t=r[1],n=r[2];e.has(t)?e.get(t).push(n):e.set(t,[n])}else break}return e})(document.cookie).get("_dd_s")||[],n=t4(t);for(let t of r.reverse())if((e=t1(t)).c===n)break;return null==e||delete e.c,null!=e?e:{}}(t):t1(tN("_dd_s"))}function t4(t){return((t.domain?t.domain.split(".").length-1:0)<<1|!!t.crossSite).toString(16)}function t3(t){localStorage.setItem("_dd_s",t0(t))}function t6(){return t1(localStorage.getItem("_dd_s"))}let t8=[];function t9(t,e,r=0){var n;let i,{isLockEnabled:o,persistSession:s,expireSession:u}=e,l=t=>s({...t,lock:i}),c=()=>{let{lock:t,...r}=e.retrieveSession();return{session:r,lock:t&&!function(t){let[,e]=t.split("--");return!e||(0,w.vk)(Number(e),(0,w.nx)())>1e3}(t)?t:void 0}};if(a||(a=t),t!==a)return void t8.push(t);if(o&&r>=100)return void et(e);let d=c();if(o&&(d.lock||(i=B()+"--"+(0,w.nx)(),l(d.session),(d=c()).lock!==i)))return void t7(t,e,r);let f=t.process(d.session);if(o&&(d=c()).lock!==i)return void t7(t,e,r);
4if(f&&(tY(f)?u(f):(tX(f),o?l(f):s(f))),o&&!(f&&tY(f))){if((d=c()).lock!==i)return void t7(t,e,r);s(d.session),f=d.session}null==(n=t.after)||n.call(t,f||d.session),et(e)}function t7(t,e,r){(0,tG.wg)(()=>{t9(t,e,r+1)},10)}function et(t){a=void 0;let e=t8.shift();e&&t9(e,t)}let ee="_DD_SESSION";function er(){let t=(0,k.VZ)();return t[ee]||(t[ee]={}),(0,td.yG)(t[ee])}function en(t){(0,k.VZ)()[ee]=(0,td.yG)(t)}function ei(t){let e=(0,th.P)(t);return"string"===e||"function"===e||t instanceof RegExp}function eo(t,e,r=!1){return t.some(t=>{try{if("function"==typeof t)return t(e);if(t instanceof RegExp)return t.lastIndex=0,t.test(e);if("string"==typeof t)return r?e.startsWith(t):t===e}catch(t){Z.Vy.error(t)}return!1})}let ea=["chrome-extension://","moz-extension://"];function es(t){return ea.some(e=>t.includes(e))}var eu=r(44263);function el(t,e,r){let n=function(t,e){let r=`/api/v2/${e}`,n=t.proxy;if("string"==typeof n){let t=(0,tE.l2)(n);return e=>`${t}?ddforward=${encodeURIComponent(`${r}?${e}`)}`}if("function"==typeof n)return t=>n({path:r,parameters:t});let i=ec(e,t);return t=>`https://${i}${r}?${t}`}(t,e);return{build:(i,o)=>n(function({clientToken:t,internalAnalyticsSubdomain:e,source:r="browser"},n,i,{retry:o,encoding:a},s=[]){let u=[`ddsource=${r}`,`dd-api-key=${t}`,`dd-evp-origin-version=${encodeURIComponent("6.33.0")}`,"dd-evp-origin=browser",`dd-request-id=${B()}`].concat(s);return a&&u.push(`dd-evp-encoding=${a}`),"rum"===n&&(u.push(`batch_time=${(0,w.nx)()}`,`_dd.api=${i}`),o&&u.push(`_dd.retry_count=${o.count}`,`_dd.retry_after=${o.lastFailureStatus}`)),e&&u.reverse(),u.join("&")}(t,e,i,o,r)),trackType:e}}function ec(t,e){let{site:r=eu.NW,internalAnalyticsSubdomain:n}=e;if("logs"===t&&e.usePciIntake&&r===eu.NW)return eu.$A;if(n&&r===eu.NW)return`${n}.${eu.NW}`;if(r===eu.TC)return`http-intake.logs.${r}`;let i=r.split("."),o=i.pop();return`browser-intake-${i.join("-")}.${o}`}let ed={ALLOW:"allow",MASK:"mask",MASK_USER_INPUT:"mask-user-input",MASK_UNLESS_ALLOWLISTED:"mask-unless-allowlisted"},ef={ALL:"all",SAMPLED:"sampled"};function ep(t,e){return null==t||"string"==typeof t||(Z.Vy.error(`${e} must be defined as a string`),!1)}function eh(t,e){return void 0===t||!!(0,tB.fp)(t)||(Z.Vy.error(`${e} Sample Rate should be a number between 0 and 100`),!1)}let em=["tracecontext","datadog"],eg=["cache-control","etag","age","expires","content-type","content-encoding","vary","content-length","server-timing","x-cache"];function ev(t){return ei(t)?{match:t,propagatorTypes:em}:(0,th.O)(t)&&ei(t.match)&&(null===t.propagatorTypes||void 0===t.propagatorTypes||Array.isArray(t.propagatorTypes))?{match:t.match,propagatorTypes:t.propagatorTypes||em}:void 0}let ey=["request","response","any"];var e_=r(7805);function eb(t,e){e.lastIndex=0;let r=e.exec(t);if(!r)return;let[n,i]=r;return i||n}let ew=/[a-zA-Z_$]/,eS=/[a-zA-Z0-9_$]/,ek=/[0-9]/,eE=/[a-fA-F0-9]/,eA={0:()=>!1,1:()=>!1,2:t=>ew.test(t),3:t=>eS.test(t),4:t=>"."===t,5:t=>"["===t,6:t=>"]"===t,7:t=>ek.test(t),8:t=>"'\"".includes(t),9:(t,e)=>t===e.quote,10:()=>!0,11:t=>"\\"===t,12:(t,e)=>void 0===e.escapeSequence?`${e.quote}/\\bfnrtu`.includes(t):!!e.escapeSequence.startsWith("u")&&e.escapeSequence.length<5&&eE.test(t)},eT={0:[2,5],1:[],2:[3,4,5,1],3:[3,4,5,1],4:[2],5:[8,7],6:[4,5,1],7:[7,6],8:[11,9,10],9:[6],10:[11,9,10],11:[12],12:[12,11,9,10]},ex=[2,3,7,10],eR=[4,5,6],eC={'"':'"',"'":"'","/":"/","\\":"\\",b:"\b",f:"\f",n:"\n",r:"\r",t:" "},eO=["applicationId","service","env","version","sessionSampleRate","sessionReplaySampleRate","defaultPrivacyLevel","enablePrivacyForActionName","traceSampleRate","trackSessionAcrossSubdomains","allowedTracingUrls","allowedTrackingOrigins"];async function eI(t,e){let r,n,i=(r={fetch:{}},{get:()=>r,increment:(t,e)=>{r[t]||(r[t]={}),r[t][e]||(r[t][e]=0),r[t][e]=r[t][e]+1}}),o=await eL(t);return o.ok?(i.increment("fetch","success"),n=function(t,e,r,n){let i={...t};return eO.forEach(t=>{t in e&&(i[t]=o(e[t]))}),Object.keys(r).forEach(t=>{var n;void 0!==e[t]&&(n=r[t],e[t].forEach(({key:t,value:e})=>{n.setContextProperty(t,o(e))}))}),i;function o(t){if(Array.isArray(t))return t.map(o);if((0,th.O)(t)){if("rcSerializedType"in t){let r=t.rcSerializedType;switch(r){case"string":return t.value;case"regex":return eN(t.value);case"dynamic":var e=t;let i,o=e.strategy;switch(o){case"cookie":i=function({name:t}){let e=tN(t);return n.increment("cookie",void 0!==e?"success":"missing"),e}(e);break;case"dom":i=function({selector:t,attribute:e}){var r,i;let o;try{o=document.querySelector(t)}catch(e){Z.Vy.error(`Invalid selector in the remote configuration: '${t}'`),n.increment("dom","failure");return}if(!o)return void n.increment("dom","missing");if(r=o,i=e,"password"===r.getAttribute("type")&&"value"===i){Z.Vy.error(`Forbidden element selected by the remote configuration: '${t}'`),n.increment("dom","failure");return}let a=void 0!==e?o.getAttribute(e):o.textContent;return null===a?void n.increment("dom","missing"):(n.increment("dom","success"),a)}(e);break;case"js":i=function({path:t}){let e=window,r=function(t){let e,r=[],n=0,i={quote:void 0,escapeSequence:void 0},o="";for(let u of t){if(!(e=eT[n].find(t=>eA[t](u,i))))return[];if(void 0!==i.escapeSequence&&12!==e){var a,s;if(a=i.escapeSequence,!("\"'/\\bfnrt".includes(a)||a.startsWith("u")&&5===a.length))return[];o+=(s=i.escapeSequence).startsWith("u")?String.fromCharCode(parseInt(s.slice(1),16)):eC[s],i.escapeSequence=void 0}ex.includes(e)?o+=u:eR.includes(e)&&""!==o?(r.push(o),o=""):12===e?i.escapeSequence=i.escapeSequence?`${i.escapeSequence}${u}`:u:8===e?i.quote=u:9===e&&(i.quote=void 0),n=e}return eT[n].includes(1)?(""!==o&&r.push(o),r):[]}(t);if(0===r.length){Z.Vy.error(`Invalid JSON path in the remote configuration: '${t}'`),n.increment("js","failure");return}for(let i of r){if(!(i in e))return void n.increment("js","missing");try{e=e[i]}catch(e){Z.Vy.error(`Error accessing: '${t}'`,e),n.increment("js","failure");return}}return n.increment("js","success"),e}(e);break;case"localStorage":i=function({key:t}){let e;try{e=localStorage.getItem(t)}catch(t){n.increment("localStorage","failure");return}return n.increment("localStorage",null!==e?"success":"missing"),null!=e?e:void 0}(e);break;default:Z.Vy.error(`Unsupported remote configuration: "strategy": "${o}"`);return}let a=e.extractor;return void 0!==a&&"string"==typeof i?function(t,e){let r=eN(t.value);if(void 0!==r)return eb(e,r)}(a,i):i;default:Z.Vy.error(`Unsupported remote configuration: "rcSerializedType": "${r}"`);return}}return(0,td.LG)(t,o)}return t}}(t,o.value,e,i)):(i.increment("fetch","failure"),Z.Vy.error(o.error)),(0,O.Gk)("remote configuration metrics",{metrics:i.get()}),n}function eN(t){try{return new RegExp(t)}catch(e){Z.Vy.error(`Invalid regex in the remote configuration: '${t}'`)}}async function eL(t){let e;try{var r;e=await (0,e_.h)((r=t).remoteConfigurationProxy?r.remoteConfigurationProxy:`https://sdk-configuration.${ec("rum",r)}/v1/${encodeURIComponent(r.remoteConfigurationId)}.json`)}catch(t){e=void 0}if(!e||!e.ok)return{ok:!1,error:Error("Error fetching the remote configuration.")};let n=await e.json();return n.rum?{ok:!0,value:n.rum}:{ok:!1,error:Error("No remote configuration for RUM.")}}function eP(t,e,r){t.changeObservable.subscribe(()=>{let n=t.getContext();r.add(t=>t[e].setContext(n))})}var eM=r(83746),e$=r(60092);let eU="_dd_tab_id";var eV=r(96415);function eD(){let t,e=window;if(e.Zone&&(t=(0,eV.W)(e,"MutationObserver"),e.MutationObserver&&t===e.MutationObserver)){let r=new e.MutationObserver(tk.l),n=(0,eV.W)(r,"originalInstance");
4t=n&&n.constructor}return t||(t=e.MutationObserver),t}let eq=class{constructor(){this.callbacks={}}notify(t,e){let r=this.callbacks[t];r&&r.forEach(t=>t(e))}subscribe(t,e){return this.callbacks[t]||(this.callbacks[t]=[]),this.callbacks[t].push(e),{unsubscribe:()=>{this.callbacks[t]=this.callbacks[t].filter(t=>e!==t)}}}};var ej=r(9127);let ez=tZ.AQ,eF=new WeakMap;function eB({target:t,parameters:[e,r]}){eF.set(t,{state:"open",method:String(e).toUpperCase(),url:(0,tE.l2)(String(r))})}function eG({target:t}){let e=eF.get(t);e&&(e.isAborted=!0)}let eW="fetch",eH="other",eZ="initial_document",eK=[["document",t=>eZ===t],["xhr",t=>"xmlhttprequest"===t],[eW,t=>"fetch"===t],["beacon",t=>"beacon"===t],["css",(t,e)=>/\.css$/i.test(e)],["js",(t,e)=>/\.js$/i.test(e)],["image",(t,e)=>["image","img","icon"].includes(t)||null!==/\.(gif|jpg|jpeg|tiff|png|svg|ico)$/i.exec(e)],["font",(t,e)=>null!==/\.(woff|eot|woff2|ttf)$/i.exec(e)],["media",(t,e)=>["audio","video"].includes(t)||null!==/\.(mp3|mp4)$/i.exec(e)]];function eJ(...t){for(let e=1;e<t.length;e+=1)if(t[e-1]>t[e])return!1;return!0}function eQ(t){return"xmlhttprequest"===t.initiatorType||"fetch"===t.initiatorType}function eY(t){return t.duration>=0}function eX(t){var e;let r=eJ(t.startTime,t.fetchStart,t.domainLookupStart,t.domainLookupEnd,t.connectStart,t.connectEnd,t.requestStart,t.responseStart,t.responseEnd),n=!((e=t).redirectEnd>e.startTime)||eJ(t.startTime,t.redirectStart,t.redirectEnd,t.fetchStart);return r&&n}function e0(t,e,r){if(t<=e&&e<=r)return{duration:(0,w.Zj)((0,w.vk)(e,r)),start:(0,w.Zj)((0,w.vk)(t,e))}}function e1(t){return t&&(!eu.Ih.every(e=>t.includes(e))||(0,P.sr)(P.R9.TRACK_INTAKE_REQUESTS))}let e2=/data:(.+)?(;base64)?,/g;function e5(t,e=24e3){if(t.length<=e||!t.startsWith("data:"))return t;let r=t.substring(0,100).match(e2);return r?`${r[0]}[...]`:t}let e4=new Map;function e3(t,e){var r,n;let i,o,a;if(100===e)return!0;if(0===e)return!1;let s=e4.get(e);return s&&t===s.sessionId?s.decision:(i=window.BigInt?(r=BigInt(`0x${t.split("-")[4]}`),n=e,o=BigInt("1111111111111111111"),Number(r*o%(a=BigInt("0x10000000000000000")))<=n/100*Number(a)):(0,tB.ic)(e),e4.set(e,{sessionId:t,decision:i}),i)}function e6(t){let e=crypto.getRandomValues(new Uint32Array(2));return 63===t&&(e[e.length-1]>>>=1),{toString(t=10){let r=e[1],n=e[0],i="";do{let e=r%t*0x100000000+n;r=Math.floor(r/t),n=Math.floor(e/t),i=(e%t).toString(t)+i}while(r||n);return i}}}function e8(t){return t.toString(16).padStart(16,"0")}function e9(t){0!==t.status||t.isAborted||(t.traceId=void 0,t.spanId=void 0,t.traceSampled=void 0)}function e7(t,e,r,n,i,o){let a=r.findTrackedSession();if(!a)return;let s=t.allowedTracingUrls.find(t=>eo([t.match],e.url,!0));if(!s)return;let u=e3(a.id,t.traceSampleRate);(u||t.traceContextInjection===ef.ALL)&&(e.traceSampled=u,e.traceId=e6(64),e.spanId=e6(63),o(function(t,e,r,n,i,o,a,s){let u={};if(i.forEach(n=>{switch(n){case"datadog":Object.assign(u,{"x-datadog-origin":"rum","x-datadog-parent-id":e.toString(),"x-datadog-sampling-priority":r?"1":"0","x-datadog-trace-id":t.toString()});break;case"tracecontext":Object.assign(u,{traceparent:`00-0000000000000000${e8(t)}-${e8(e)}-0${r?"1":"0"}`,tracestate:`dd=s:${r?"1":"0"};o:rum`});break;case"b3":Object.assign(u,{b3:`${e8(t)}-${e8(e)}-${r?"1":"0"}`});break;case"b3multi":Object.assign(u,{"X-B3-TraceId":e8(t),"X-B3-SpanId":e8(e),"X-B3-Sampled":r?"1":"0"})}}),s.propagateTraceBaggage){let t={"session.id":n},e=o.getContext().id;"string"==typeof e&&(t["user.id"]=e);let r=a.getContext().id;"string"==typeof r&&(t["account.id"]=r);let i=Object.entries(t).map(([t,e])=>`${t}=${encodeURIComponent(e)}`).join(",");i&&(u.baggage=i)}return u}(e.traceId,e.spanId,e.traceSampled,a.id,s.propagatorTypes,n,i,t)))}function rt(t,e){return e.allowedGraphQlUrls.find(e=>eo([e.match],t))}let re=1;function rr(){let t=re;return re+=1,t}function rn(t){return(0,tB.Et)(t)&&t<0?void 0:t}function ri(t){return t.nodeType===Node.TEXT_NODE}function ro(t){return t.nodeType===Node.ELEMENT_NODE}function ra(t){return ro(t)&&!!t.shadowRoot}function rs(t){return!!t.host&&t.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&ro(t.host)}function ru(t){return t.childNodes.length>0||ra(t)}function rl(t,e){let r=t.firstChild;for(;r;)e(r),r=r.nextSibling;ra(t)&&e(t.shadowRoot)}function rc(t){return rs(t)?t.host:t.parentNode}function rd(t){if(t.parentElement)return t.parentElement;let e=t.parentNode;
4return e&&rs(e)?e.host:null}function rf(t,e){return new v.cP(r=>{var n;let i,o;if(!window.PerformanceObserver)return;let a=t=>{let e=t.filter(t=>{var e;return!((e=t).entryType===g.RESOURCE&&(!e1(e.name)||!eY(e)))});e.length>0&&r.notify(e)},s=!0,u=new PerformanceObserver((0,C.dm)(t=>{s?i=(0,tG.wg)(()=>a(t.getEntries())):a(t.getEntries())}));try{u.observe(e)}catch(t){if([g.RESOURCE,g.NAVIGATION,g.LONG_TASK,g.PAINT].includes(e.type)){e.buffered&&(i=(0,tG.wg)(()=>a(performance.getEntriesByType(e.type))));try{u.observe({entryTypes:[e.type]})}catch(t){return}}}return s=!1,n=t,!l&&void 0!==window.performance&&"getEntries"in performance&&"addEventListener"in performance&&(l=(0,tc.q)(n,performance,"resourcetimingbufferfull",()=>{performance.clearResourceTimings()})),rp(g.FIRST_INPUT)||e.type!==g.FIRST_INPUT||({stop:o}=function(t,e){let r=(0,w.x3)(),n=!1,{stop:i}=(0,tc.l)(t,window,["click","mousedown","keydown","touchstart","pointerdown"],e=>{var r,n;if(!e.cancelable)return;let i={entryType:"first-input",processingStart:(0,w.$S)(),processingEnd:(0,w.$S)(),startTime:e.timeStamp,duration:0,name:"",cancelable:!1,target:null,interactionId:0,toJSON:()=>({})};"pointerdown"===e.type?(r=t,n=i,(0,tc.l)(r,window,["pointerup","pointercancel"],t=>{"pointerup"===t.type&&o(n)},{once:!0})):o(i)},{passive:!0,capture:!0});return{stop:i};function o(t){if(!n){n=!0,i();let o=t.processingStart-t.startTime;o>=0&&o<(0,w.x3)()-r&&e(t)}}}(t,t=>{a([t])})),()=>{u.disconnect(),o&&o(),(0,tG.DJ)(i)}})}function rp(t){return window.PerformanceObserver&&void 0!==PerformanceObserver.supportedEntryTypes&&PerformanceObserver.supportedEntryTypes.includes(t)}(m=g||(g={})).EVENT="event",m.FIRST_INPUT="first-input",m.LARGEST_CONTENTFUL_PAINT="largest-contentful-paint",m.LAYOUT_SHIFT="layout-shift",m.LONG_TASK="longtask",m.LONG_ANIMATION_FRAME="long-animation-frame",m.NAVIGATION="navigation",m.PAINT="paint",m.RESOURCE="resource",m.VISIBILITY_STATE="visibility-state";let rh="data-dd-excluded-activity-mutations";function rm(t,e,r,n,i,o){let a,s=(0,_.B)(rg)(t,e,r,n),u=!1,l=(0,tG.wg)((0,C.dm)(()=>p({hadActivity:!1})),100),c=void 0!==o?(0,tG.wg)((0,C.dm)(()=>p({hadActivity:!0,end:(0,w.nx)()})),o):void 0,d=s.subscribe(({isBusy:t})=>{(0,tG.DJ)(l),(0,tG.DJ)(a);let e=(0,w.nx)();t||(a=(0,tG.wg)((0,C.dm)(()=>p({hadActivity:!0,end:e})),100))}),f=()=>{u=!0,(0,tG.DJ)(l),(0,tG.DJ)(a),(0,tG.DJ)(c),d.unsubscribe()};function p(t){u||(f(),i(t))}return{stop:f}}function rg(t,e,r,n){return new v.cP(i=>{let o,a=[],s=0;return a.push(e.subscribe(t=>{t.every(ry)||u()}),r.subscribe(u),rf(n,{type:g.RESOURCE}).subscribe(t=>{t.some(t=>!rv(n,t.name))&&u()}),t.subscribe(7,t=>{rv(n,t.url)||(void 0===o&&(o=t.requestIndex),s+=1,u())}),t.subscribe(8,t=>{rv(n,t.url)||void 0===o||t.requestIndex<o||(s-=1,u())})),()=>{a.forEach(t=>t.unsubscribe())};function u(){i.notify({isBusy:s>0})}})}function rv(t,e){return eo(t.excludedActivityUrls,e)}function ry(t){let e="characterData"===t.type?t.target.parentElement:t.target;return!!(e&&ro(e)&&e.matches(`[${rh}], [${rh}] *`))}let r_="data-dd-action-name",rb="Masked Element",rw=[r_,"data-testid","data-test","data-qa","data-cy","data-test-id","data-qa-id","data-testing","data-component","data-element","data-source-file"],rS=[rR,rT],rk=[rR,function(t){if("BODY"===t.tagName)return;let e=t.classList;for(let r=0;r<e.length;r+=1){let n=e[r];if(!rA(n))return`${CSS.escape(t.tagName)}.${CSS.escape(n)}`}},rx];function rE(t,e){if(!t.isConnected)return;let r=function(t){let e=[],r=t;for(;r;){let t=r.getRootNode();if(e.push({rootNode:t,target:r}),rs(t))r=t.host;else break}return e.reverse()}(t),n=[];for(let{rootNode:t,target:i}of r){let r=function(t,e,r){let n,i=t;for(;i&&"HTML"!==i.nodeName;){let t=rI(i,e,rS,rN,r,n);if(t)return rP(t,n);n=rP(rI(i,e,rk,rL,r,n)||function(t){let e=rO(t);return`${CSS.escape(t.tagName)}:nth-of-type(${e})`}(i),n),i=i.parentElement}return n}(i,t,e);if(!r)return;n.push(r)}return n.join("::shadow ")}function rA(t){return/[0-9]/.test(t)}function rT(t){if(t.id&&!rA(t.id))return`#${CSS.escape(t.id)}`}function rx(t){return CSS.escape(t.tagName)}function rR(t,e){if(e){let t=r(e);if(t)return t}for(let t of rw){let e=r(t);if(e)return e}function r(e){if(t.hasAttribute(e))return`${CSS.escape(t.tagName)}${rC(e,t.getAttribute(e))}`}}function rC(t,e){return`[${t}="${CSS.escape(e)}"]`}function rO(t){let e=t.parentNode.firstElementChild,r=1;for(;e&&e!==t;)e.tagName===t.tagName&&(r+=1),e=e.nextElementSibling;return r}function rI(t,e,r,n,i,o){for(let a of r){let r=a(t,i);if(r&&n(t,e,r,o))return r}}function rN(t,e,r,n){return 1===e.querySelectorAll(rP(r,n)).length}function rL(t,e,r,n){let i;if(void 0===n)i=t=>t.matches(r);else{let t=rP(`${r}:scope`,n);i=e=>null!==e.querySelector(t)}let o=t.previousElementSibling;for(;o;){if(i(o))return!1;o=o.previousElementSibling}for(o=t.nextElementSibling;o;){if(i(o))return!1;o=o.nextElementSibling}return!0}function rP(t,e){return e?`${t}>${e}`:t}let rM={IGNORE:"ignore",HIDDEN:"hidden",ALLOW:ed.ALLOW,MASK:ed.MASK,MASK_USER_INPUT:ed.MASK_USER_INPUT,MASK_UNLESS_ALLOWLISTED:ed.MASK_UNLESS_ALLOWLISTED},r$="data-dd-privacy",rU="data:image/gif;base64,R0lGODlhAQABAIAAAMLCwgAAACH5BAAAAAAALAAAAAABAAEAAAICRAEAOw==",rV={INPUT:!0,OUTPUT:!0,TEXTAREA:!0,SELECT:!0,OPTION:!0,DATALIST:!0,OPTGROUP:!0};function rD(t){return`[${r$}="${t}"], .dd-privacy-${t}`}function rq(t,e,r){if(r&&r.has(t))return r.get(t);let n=rc(t),i=n?rq(n,e,r):e,o=rj(rz(t),i);return r&&r.set(t,o),o}function rj(t,e){switch(e){case rM.HIDDEN:case rM.IGNORE:return e}switch(t){case rM.ALLOW:case rM.MASK:case rM.MASK_USER_INPUT:case rM.MASK_UNLESS_ALLOWLISTED:case rM.HIDDEN:case rM.IGNORE:return t;default:return e}}function rz(t){if(ro(t)){if("BASE"===t.tagName)return rM.ALLOW;if("INPUT"===t.tagName){if("password"===t.type||"email"===t.type||"tel"===t.type||"hidden"===t.type)return rM.MASK;let e=t.getAttribute("autocomplete");if(e&&(e.startsWith("cc-")||e.endsWith("-password")))return rM.MASK}
4if(t.matches(rD(rM.HIDDEN)))return rM.HIDDEN;if(t.matches(rD(rM.MASK)))return rM.MASK;if(t.matches(rD(rM.MASK_UNLESS_ALLOWLISTED)))return rM.MASK_UNLESS_ALLOWLISTED;if(t.matches(rD(rM.MASK_USER_INPUT)))return rM.MASK_USER_INPUT;if(t.matches(rD(rM.ALLOW)))return rM.ALLOW;if(function(t){if("SCRIPT"===t.nodeName)return!0;if("LINK"===t.nodeName){let t=e("rel");return/preload|prefetch/i.test(t)&&"script"===e("as")||"shortcut icon"===t||"icon"===t}if("META"===t.nodeName){let r=e("name"),n=e("rel"),i=e("property");return/^msapplication-tile(image|color)$/.test(r)||"application-name"===r||"icon"===n||"apple-touch-icon"===n||"shortcut icon"===n||"keywords"===r||"description"===r||/^(og|twitter|fb):/.test(i)||/^(og|twitter):/.test(r)||"pinterest"===r||"robots"===r||"googlebot"===r||"bingbot"===r||t.hasAttribute("http-equiv")||"author"===r||"generator"===r||"framework"===r||"publisher"===r||"progid"===r||/^article:/.test(i)||/^product:/.test(i)||"google-site-verification"===r||"yandex-verification"===r||"csrf-token"===r||"p:domain_verify"===r||"verify-v1"===r||"verification"===r||"shopify-checkout-api-token"===r}function e(e){return(t.getAttribute(e)||"").toLowerCase()}return!1}(t))return rM.IGNORE}}function rF(t,e){switch(e){case rM.MASK:case rM.HIDDEN:case rM.IGNORE:return!0;case rM.MASK_UNLESS_ALLOWLISTED:if(ri(t))return!!rG(t.parentNode)||!rZ(t.textContent||"");return rG(t);case rM.MASK_USER_INPUT:return ri(t)?rG(t.parentNode):rG(t);default:return!1}}function rB(t,e,r,n,i){if(n!==rM.MASK&&n!==rM.MASK_UNLESS_ALLOWLISTED||e===r$||rw.includes(e)||e===i.actionNameAttribute)return!1;switch(e){case"title":case"alt":case"placeholder":case"aria-label":case"name":return!0}return!!("A"===t&&"href"===e||"IFRAME"===t&&"srcdoc"===e||r&&e.startsWith("data-"))||("IMG"===t||"SOURCE"===t)&&("src"===e||"srcset"===e)}function rG(t){if(!t||t.nodeType!==t.ELEMENT_NODE)return!1;if("INPUT"===t.tagName)switch(t.type){case"button":case"color":case"reset":case"submit":return!1}return!!rV[t.tagName]}function rW(t){return t.replace(/\S/g,"x")}function rH(t,e){var r;let n=null==(r=t.parentElement)?void 0:r.tagName,i=t.textContent||"";if("HEAD"!==n||i.trim()){if("SCRIPT"===n)i="***";else if(e===rM.HIDDEN)i="***";else if(rF(t,e))if("DATALIST"===n||"SELECT"===n||"OPTGROUP"===n){if(!i.trim())return}else i="OPTION"===n?"***":rW(i);return i}}function rZ(t){var e;return!(t&&t.trim())||(null==(e=window.$DD_ALLOW)?void 0:e.has(t.toLocaleLowerCase()))||!1}function rK({lifeCycle:t,isChildEvent:e,onChange:r=tk.l}){let n={errorCount:0,longTaskCount:0,resourceCount:0,actionCount:0,frustrationCount:0},i=t.subscribe(13,t=>{var i;if("view"!==t.type&&"vital"!==t.type&&e(t))switch(t.type){case J.ERROR:n.errorCount+=1,r();break;case J.ACTION:n.actionCount+=1,t.action.frustration&&(n.frustrationCount+=t.action.frustration.type.length),r();break;case J.LONG_TASK:n.longTaskCount+=1,r();break;case J.RESOURCE:(null==(i=t._dd)?void 0:i.discarded)||(n.resourceCount+=1,r())}});return{stop:()=>{i.unsubscribe()},eventCounts:n}}function rJ(t){let e=(0,ej.qj)({expireDelay:3e5}),r=new Map;function n(t){var e;r.delete(t.key),null==(e=t.eventCounts)||e.stop()}function i(){r.forEach(t=>{n(t)}),e.reset()}let o=t.subscribe(10,i);return{start:function(i,o,a,s){let u=B(),l=e.add(u,o.relative),c=r.get(i);c&&n(c);let d=(null==s?void 0:s.isChildEvent)?rK({lifeCycle:t,isChildEvent:s.isChildEvent(u)}):void 0,f={id:u,key:i,startClocks:o,data:a,historyEntry:l,eventCounts:d};return r.set(i,f),f},stop:function(t,e,i){var o;let a=r.get(t);if(!a)return;let s=i?(0,N.kg)(a.data,i):a.data;a.historyEntry.close(e.relative);let u=(0,w.vk)(a.startClocks.timeStamp,e.timeStamp),l=null==(o=a.eventCounts)?void 0:o.eventCounts;return n(a),{...s,id:a.id,startClocks:a.startClocks,duration:u,counts:l}},discard:function(t){var e;let i=r.get(t);if(!i)return;let o=null==(e=i.eventCounts)?void 0:e.eventCounts;return n(i),i.historyEntry.remove(),{...i.data,id:i.id,startClocks:i.startClocks,counts:o}},getCounts:function(t){var e,n;return null==(n=null==(e=r.get(t))?void 0:e.eventCounts)?void 0:n.eventCounts},findId:function(t){return e.findAll(t)},stopAll:function(){o.unsubscribe(),i(),e.stop()}}}let rQ=["HTML","BODY"],rY=rw.concat(["role","type","disabled","readonly","tabindex","draggable","target","rel","download","method","action","enctype","autocomplete"]);function rX(t,e){let r=function(t,e){let r=t;for(;r;){if(r.matches(e))return r;r=rd(r)}return null}(t,`[${e}]`);if(r)return r4(r5(r.getAttribute(e).trim()))}let r0=[(t,e,r)=>{if("labels"in t&&t.labels&&t.labels.length>0)return r6(t.labels[0],e,r)},t=>{if("INPUT"===t.nodeName){let e=t.getAttribute("type");if("button"===e||"submit"===e||"reset"===e)return{name:t.value,nameSource:"text_content"}}},(t,e,r)=>{if("BUTTON"===t.nodeName||"LABEL"===t.nodeName||"button"===t.getAttribute("role"))return r6(t,e,r)},(t,e,r)=>r3(t,"aria-label",e,r),(t,e,r)=>{let n=t.getAttribute("aria-labelledby");if(n)return{name:n.split(/\s+/).map(e=>(function(t,e){let r=t.getRootNode();if(r instanceof ShadowRoot){let t=r.getElementById(e);if(t)return t}return t.ownerDocument?t.ownerDocument.getElementById(e):null})(t,e)).filter(t=>!!t).map(t=>r8(t,e,r)).join(" "),nameSource:"text_content"}},(t,e,r)=>r3(t,"alt",e,r),(t,e,r)=>r3(t,"name",e,r),(t,e,r)=>r3(t,"title",e,r),(t,e,r)=>r3(t,"placeholder",e,r),(t,e,r)=>{if("options"in t&&t.options.length>0)return r6(t.options[0],e,r)}],r1=[(t,e,r)=>r6(t,e,r)];function r2(t,e,r,n){let i=t,o=0;for(;o<=10&&i&&"BODY"!==i.nodeName&&"HTML"!==i.nodeName&&"HEAD"!==i.nodeName;){for(let t of e){let e=t(i,r,n);if(e){let{name:t,nameSource:r}=e,n=t&&t.trim();if(n)return{name:r4(r5(n)),nameSource:r}}}if("FORM"===i.nodeName)break;
4i=rd(i),o+=1}}function r5(t){return t.replace(/\s+/g," ")}function r4(t){return t.length>100?`${H(t,100)} [...]`:t}function r3(t,e,r,n){let{enablePrivacyForActionName:i,defaultPrivacyLevel:o}=r,a=t.getAttribute(e);if(a&&i){var s;let i=rq(t,o,n);rB(t.tagName,e,a,i,r)&&(a=rZ(s=a)?s:rb||rW(s))}else a||(a="");return{name:a,nameSource:"standard_attribute"}}function r6(t,e,r){return{name:r8(t,e,r)||"",nameSource:"text_content"}}function r8(t,e,r){if(t.isContentEditable)return;let{enablePrivacyForActionName:n,actionNameAttribute:i,defaultPrivacyLevel:o}=e;if((0,P.sr)(P.R9.USE_TREE_WALKER_FOR_ACTION_NAME)){var a=t,s=i,u=n,l=o,c=r;let e=document.createTreeWalker(a,NodeFilter.SHOW_ELEMENT|NodeFilter.SHOW_TEXT,function(t){let e=rq(t,l,c);if(u&&e&&rF(t,e))return NodeFilter.FILTER_REJECT;if(ro(t)){if(t.hasAttribute(r_)||s&&t.hasAttribute(s))return NodeFilter.FILTER_REJECT;let e=getComputedStyle(t);if("visible"!==e.visibility||"none"===e.display||e.contentVisibility&&"visible"!==e.contentVisibility)return NodeFilter.FILTER_REJECT}return NodeFilter.FILTER_ACCEPT}),d="";for(;e.nextNode();){let t=e.currentNode;if(ro(t)){("BR"===t.nodeName||"P"===t.nodeName||["block","flex","grid","list-item","table","table-caption"].includes(getComputedStyle(t).display))&&(d+=" ");continue}d+=t.textContent||""}return d.replace(/\s+/g," ").trim()}if("innerText"in t){let e=t.innerText,r=r=>{let n=t.querySelectorAll(r);for(let t=0;t<n.length;t+=1){let r=n[t];if("innerText"in r){let t=r.innerText;t&&t.trim().length>0&&(e=e.replace(t,""))}}};return r(`[${r_}]`),i&&r(`[${i}]`),n&&r(`${rD(rM.HIDDEN)}, ${rD(rM.MASK)}`),e}return t.textContent}function r9(){let t=window.getSelection();return!t||t.isCollapsed}function r7(t){return t.target instanceof Element&&!1!==t.isPrimary}function nt(t){if(t.hasPageActivity||t.getUserActivity().input||t.getUserActivity().scroll)return!1;let e=t.event.target;return"LABEL"===e.tagName&&e.hasAttribute("for")&&(e=document.getElementById(e.getAttribute("for"))),!e||!e.matches('input:not([type="checkbox"]):not([type="radio"]):not([type="button"]):not([type="submit"]):not([type="reset"]):not([type="range"]),textarea,select,[contenteditable],[contenteditable] *,canvas,a[href],a[href] *')}let ne=new Map;function nr(t,e){ne.set(t,e),ne.forEach((t,e)=>{(0,w.vk)(e,(0,w.$S)())>1e4&&ne.delete(e)})}function nn(t){return e=>void 0!==e.action&&void 0!==e.action.id&&e.action.id.includes(t)}function ni(t){if(t.composed&&ra(t.target)&&"function"==typeof t.composedPath){let e=t.composedPath();if(e.length>0&&e[0]instanceof Element)return e[0]}return t.target}function no(t){var e,r,n,i;let o="events"in t,a=rn((0,w.Zj)(t.duration));return{rawRumEvent:{type:J.ACTION,date:t.startClocks.timeStamp,action:{id:t.id,target:{name:t.name},type:t.type,...void 0!==a&&{loading_time:a},...t.counts&&{error:{count:t.counts.errorCount},long_task:{count:t.counts.longTaskCount},resource:{count:t.counts.resourceCount}},frustration:{type:t.frustrationTypes}},...o?{_dd:{action:{target:{selector:(null==(e=t.target)?void 0:e.selector)||void 0,width:(null==(r=t.target)?void 0:r.width)||void 0,height:(null==(n=t.target)?void 0:n.height)||void 0,composed_path_selector:null==(i=t.target)?void 0:i.composedPathSelector},position:t.position,name_source:t.nameSource}}}:{context:t.context}},duration:t.duration,startClocks:t.startClocks,domainContext:o?{events:t.events}:{handlingStack:t.handlingStack}}}var na=r(13175);let ns={},nu="csp_violation";function nl(t){return{startClocks:(0,w.M8)(),source:A.g.REPORT,handling:"unhandled",...t}}function nc(t,e,r,n,i){return r?(0,R.Yn)({name:t,message:e,stack:[{func:"?",url:r,line:null!=n?n:void 0,column:null!=i?i:void 0}]}):void 0}var nd=r(54994);function nf(){let t=[];function e(e){let n;if(!e||e.didTimeout){let t=performance.now();n=()=>30-(performance.now()-t)}else n=e.timeRemaining.bind(e);for(;n()>0&&t.length;)t.shift()();t.length&&r()}function r(){(0,nd.BB)(e,{timeout:1e3})}return{push(e){1===t.push(e)&&r()},stop(){t.length=0}}}let np=new WeakSet;function nh(t){return(0,w.Gw)(t.startTime,t.duration)}var nm=r(57397);function ng(t,e){let r=e&&Number(e);if(t&&r)return{traceId:t,traceTime:r}}function nv(t){if(t&&t.nodeType===Node.COMMENT_NODE){let e=/^\s*DATADOG;(.*?)\s*$/.exec(t.data);if(e)return e[1]}}function ny(){if(rp(g.NAVIGATION)){let t=performance.getEntriesByType(g.NAVIGATION)[0];if(t)return t}let t=function(){let t={},e=performance.timing;for(let r in e)if((0,tB.Et)(e[r])){let n=e[r];t[r]=0===n?0:(0,w.gs)(n)}return t}(),e={entryType:g.NAVIGATION,initiatorType:"navigation",name:window.location.href,startTime:0,duration:t.loadEventEnd,decodedBodySize:0,encodedBodySize:0,transferSize:0,workerStart:0,toJSON:()=>({...e,toJSON:void 0}),...t};return e}function n_(t){return t.responseStart>=0&&t.responseStart<=(0,w.$S)()?t.responseStart:void 0}function nb(t,e){(0,nm.H)(t,"interactive",()=>{let t=(0,_.B)(ny)(),r=Object.assign(t.toJSON(),{entryType:g.RESOURCE,initiatorType:eZ,duration:t.responseEnd,traceId:function(t){var e;let r,n,i=(r=(e=t).querySelector("meta[name=dd-trace-id]"),n=e.querySelector("meta[name=dd-trace-time]"),ng(r&&r.content,n&&n.content)||function(t){let e=function(t){for(let e=0;e<t.childNodes.length;e+=1){let r=nv(t.childNodes[e]);if(r)return r}if(t.body)for(let e=t.body.childNodes.length-1;e>=0;e-=1){let r=t.body.childNodes[e],n=nv(r);if(n)return n;if(!ri(r))break}}(t);if(e)return ng(W(e,"trace-id"),W(e,"trace-time"))}(t));if(!(!i||i.traceTime<=(0,w.x3)()-12e4))return i.traceId}(document),toJSON:()=>({...r,toJSON:void 0})});e(r)})}function nw(t,e,r,n){let i=eQ(t)&&n?n.getMatchingRequest(t):void 0;return nS(t,i,r,e)}function nS(t,e,r,n){var i,o,a,s;if(!t&&!e)return;let u=e?function(t,e){if(t.traceSampled&&t.traceId&&t.spanId)return{_dd:{span_id:t.spanId.toString(),trace_id:t.traceId.toString(),rule_psr:e.rulePsr}}}
4(e,n):function(t,e){if(t.traceId)return{_dd:{trace_id:t.traceId,span_id:e6(63).toString(),rule_psr:e.rulePsr}}}(t,n);if(!n.trackResources&&!u)return;let l=t?(0,w.FR)(t.startTime):e.startClocks,c=t?function(t){let{duration:e,startTime:r,responseEnd:n}=t;return 0===e&&r<n?(0,w.vk)(r,n):e}(t):(i=r,o=l,a=e.duration,i.wasInPageStateDuringPeriod("frozen",o.relative,a)?void 0:a),d=(0,P.sr)(P.R9.TRACK_RESOURCE_HEADERS)?function(t,e){let r=e.trackResourceHeaders;if(0===r.length||!t)return;let n=r.filter(e=>void 0===e.url||eo([e.url],t.url,!0));if(0===n.length)return;let i=n.filter(t=>void 0===t.location||"any"===t.location||"response"===t.location),o=n.filter(t=>void 0===t.location||"any"===t.location||"request"===t.location),a=i.length>0?function(t,e){if(t.type===eW&&t.response)return nE(t.response.headers,e);if("xhr"===t.type&&t.xhr){let r=t.xhr.getAllResponseHeaders();if(r)try{return nE(new Headers(function(t){let e=[];for(let r of t.trim().split(/\r\n/)){let t=r.indexOf(":");t>0&&e.push([r.substring(0,t).trim(),r.substring(t+1).trim()])}return e}(r)),e)}catch(t){}}}(t,i):void 0,s=o.length>0?function(t,e){var r;let n;if(t.type===eW)return(null==(r=t.init)?void 0:r.headers)?n=new Headers(t.init.headers):t.input instanceof Request&&(n=t.input.headers),n?nE(n,e):void 0}(t,o):void 0;if(a||s)return{resource:{request:s?{headers:s}:void 0,response:a?{headers:a}:void 0}}}(e,n):void 0,f=e&&function(t,e){let r=rt(t.url,e);if(r){let e=function(t,e=!1){var r;let n,i,o,a;if("POST"===t.method?n=function(t){if(!t||"string"!=typeof t)return;let e=(0,td.XU)(t);if(e)return{query:e.query,operationName:e.operationName,variables:e.variables?JSON.stringify(e.variables):void 0}}(t.requestBody):"GET"===t.method&&(r=t.url,a=(o=(i=(0,tE.c$)(r).searchParams).get("variables"))&&void 0!==(0,td.XU)(o)?o:void 0,n={query:i.get("query")||void 0,operationName:i.get("operationName")||void 0,variables:a}),n)return function(t,e){let r,n,i;if(t.query){var o;let i=t.query.trim();r=null==(o=i.match(/^\s*(query|mutation|subscription)\b/i))?void 0:o[1],e&&(n=H(i,32768,"..."))}return t.variables&&(i=t.variables),{operationType:r,operationName:t.operationName,variables:i,payload:n}}(n,e)}(t,r.trackPayload);if(e){if(r.trackResponseErrors&&t.responseBody){let r=function(t){let e=(0,td.XU)(t);if(e&&"object"==typeof e){if((0,tl.EI)(e.errors))return e.errors.map(t=>{var e;return{message:t.message,path:t.path,locations:t.locations,code:null==(e=t.extensions)?void 0:e.code}})}}(t.responseBody);r&&(e.error_count=r.length,e.errors=r)}return e}return}}(e,n),p=t&&function(t){let e=t.contentType;if(e)return{resource:{response:{headers:{"content-type":e}}}}}(t),h=(0,N.kg)({date:l.timeStamp,resource:{id:B(),duration:(0,w.Zj)(c),type:e?"xhr"===e.type?"xhr":eW:function(t){let e=t.name;if(!(0,tE.AY)(e))return eH;let r=(0,tE.L2)(e);for(let[e,n]of eK)if(n(t.initiatorType,r))return e;return eH}(t),method:e?e.method:void 0,status_code:e?e.status:0===(s=t.responseStatus)?void 0:s,url:e?e5(e.url):t.name,protocol:t&&(""===t.nextHopProtocol?void 0:t.nextHopProtocol),delivery_type:t&&(""===t.deliveryType?"other":t.deliveryType),graphql:f},type:J.RESOURCE,_dd:{discarded:!n.trackResources}},u,t&&function(t){let{renderBlockingStatus:e}=t;return{resource:{render_blocking_status:e,...function(t){if(t.startTime<t.responseStart){let{encodedBodySize:e,decodedBodySize:r,transferSize:n}=t;return{size:r,encoded_body_size:e,decoded_body_size:r,transfer_size:n}}return{size:void 0,encoded_body_size:void 0,decoded_body_size:void 0,transfer_size:void 0}}(t),...function(t){if(!eX(t))return;let{startTime:e,fetchStart:r,workerStart:n,redirectStart:i,redirectEnd:o,domainLookupStart:a,domainLookupEnd:s,connectStart:u,secureConnectionStart:l,connectEnd:c,requestStart:d,responseStart:f,responseEnd:p}=t,h={download:e0(e,f,p),first_byte:e0(e,d,f)};return 0<n&&n<r&&(h.worker=e0(e,n,r)),r<c&&(h.connect=e0(e,u,c),u<=l&&l<=c&&(h.ssl=e0(e,l,c))),r<s&&(h.dns=e0(e,a,s)),e<o&&(h.redirect=e0(e,i,o)),h}(t)}}}(t),p,d);return{startClocks:l,duration:c,rawRumEvent:h,domainContext:function(t,e){if(e){let r={performanceEntry:t,isAborted:e.isAborted,handlingStack:e.handlingStack};return"xhr"===e.type?{xhr:e.xhr,...r}:{requestInput:e.input,requestInit:e.init,response:e.response,error:e.error,...r}}return{performanceEntry:t}}(t,e)}}let nk=/(token|cookie|secret|authorization|(api|secret|access|app).?key|(client|connecting|real).?ip|forwarded)/;function nE(t,e){let r={},n=0,i=0,o=!1;return t.forEach((t,a)=>{if(i++,n>=100){o||(Z.Vy.warn("Maximum number of headers (100) has been reached. Further headers are dropped."),o=!0);return}let s=a.toLowerCase();if(nk.test(s))return;let u=e.find(t=>eo([t.name],s));if(!u)return;let{extractor:l}=u,c=l?eb(t,l):t;void 0!==c&&(c.length>128&&(Z.Vy.warn(`Header "${s}" value was truncated from ${c.length} to 128 characters.`),(0,O.A2)("Resource header value was truncated",{header_name:s,original_length:c.length,limit:128})),r[s]=H(c,128),n++)}),o&&(0,O.A2)("Maximum number of resource headers reached",{collectedHeaderCount:n,totalHeaderCount:i}),n>0?r:void 0}function nA(t,e,r=window){if("hidden"===document.visibilityState)return{timeStamp:0,stop:tk.l};
4if(rp(g.VISIBILITY_STATE)){let t=performance.getEntriesByType(g.VISIBILITY_STATE).filter(t=>"hidden"===t.name).find(t=>t.startTime>=e.relative);if(t)return{timeStamp:t.startTime,stop:tk.l}}let n=1/0,{stop:i}=(0,tc.l)(t,r,["pagehide","visibilitychange"],t=>{("pagehide"===t.type||"hidden"===document.visibilityState)&&(n=t.timeStamp,i())},{capture:!0});return{get timeStamp(){return n},stop:i}}let nT=t=>{var e,r;let n,i,o,a;return t.previousRect.width*t.previousRect.height+t.currentRect.width*t.currentRect.height-(e=t.previousRect,r=t.currentRect,n=Math.max(e.left,r.left),i=Math.max(e.top,r.top),o=Math.min(e.right,r.right),a=Math.min(e.bottom,r.bottom),n>=o||i>=a?0:(o-n)*(a-i))};function nx({x:t,y:e,width:r,height:n}){return{x:t,y:e,width:r,height:n}}let nR=0,nC=1/0,nO=0,nI=()=>c?nR:window.performance.interactionCount||0;function nN(t){return Math.min(t,6e4)}function nL(){let t=window.visualViewport;return Math.round(t?t.pageLeft-t.offsetLeft:void 0!==window.scrollX?window.scrollX:window.pageXOffset||0)}function nP(){let t=window.visualViewport;return Math.round(t?t.pageTop-t.offsetTop:void 0!==window.scrollY?window.scrollY:window.pageYOffset||0)}function nM(t){var e;return d||(e=t,d=new v.cP(t=>{let{throttled:r}=(0,tk.n)(()=>{t.notify(n$())},200);return(0,tc.q)(e,window,"resize",r,{capture:!0,passive:!0}).stop})),d}function n$(){let t=window.visualViewport;return t?{width:Number(t.width*t.scale),height:Number(t.height*t.scale)}:{width:Number(window.innerWidth||0),height:Number(window.innerHeight||0)}}function nU(t){let e=t.indexOf("?");return e<0?t:t.slice(0,e)}let nV=tZ.AQ,nD=[];async function nq(t){let e,r,n=t.sessionStoreStrategyType;n&&(n.type===tZ.Q_.COOKIE?(e=t5(n.cookieOptions,t),r={cookie:await nj(),currentDomain:`${window.location.protocol}//${window.location.hostname}`}):e=t6(),(0,O.A2)("Unexpected session state",{sessionStoreStrategyType:n.type,session:e,isSyntheticsTest:!!tj(),createdTimestamp:null==e?void 0:e.created,expireTimestamp:null==e?void 0:e.expire,...r}))}async function nj(){let t;return{count:(t="cookieStore"in window?await window.cookieStore.getAll("_dd_s"):document.cookie.split(/\s*;\s*/).filter(t=>t.startsWith("_dd_s"))).length,domain:tP()||"undefined",...t}}var nz=r(40284),nF=r(14432),nB=r(89070);let nG=tZ.AQ;function nW(t){return Object.prototype.hasOwnProperty.call(history,t)?history:History.prototype}let nH=tZ.AQ;function nZ(){0!==f.batchCount&&((0,O.Gk)("Customer data measures",f),nQ())}function nK(){return{min:1/0,max:0,sum:0}}function nJ(t,e){t.sum+=e,t.min=Math.min(t.min,e),t.max=Math.max(t.max,e)}function nQ(){f={batchCount:0,batchBytesCount:nK(),batchMessagesCount:nK()}}let nY=tZ.AQ;function nX(){return"hidden"===document.visibilityState?"hidden":document.hasFocus()?"active":"passive"}function n0(t,e){let r=W(document.cookie,t),n=(0,tG.yb)(()=>{let n=W(document.cookie,t);n!==r&&(r=n,e(n))},1e3);return()=>{(0,tG.vG)(n)}}let n1="datadog-ci-visibility-test-execution-id";function n2(t,e,r=3e3){let n=0,i=!1;return{isLimitReached(){if(0===n&&(0,tG.wg)(()=>{n=0},6e4),(n+=1)<=r||i)return i=!1,!1;if(n===r+1){i=!0;try{e({message:`Reached max number of ${t}s by minute: ${r}`,source:A.g.AGENT,startClocks:(0,w.M8)()})}finally{i=!1}}return!0}}}var n5=r(61542);function n4(t){return"object"===(0,th.P)(t)}let n3={"view.name":"string","view.url":"string","view.referrer":"string"},n6={context:"object"},n8={service:"string",version:"string"};var n9=r(49344);let n7=[J.ACTION,J.ERROR,J.LONG_TASK,J.RESOURCE,J.VITAL];function it(t,e,r,n,i,o,a,l,d,m,y){var k,T;let x,I,M=[],$=new eq;$.subscribe(13,t=>(0,eM.b)("rum",t));let U=t=>{$.notify(14,{error:t}),(0,O.A2)("Error reported to customer",{"error.message":t.message})},V=(0,e$._T)(t),D=(0,tS.d0)()?(x={id:"00000000-aaaa-0000-aaaa-000000000000",sessionReplay:+!!(0,tS.Ww)("records")},{findTrackedSession:()=>x,expire:tk.l,expireObservable:new v.cP,setForcedReplay:tk.l}):((I=function(t,e,r){let n=new v.cP,i=new v.cP,o=function(t,e,r,n=function(t,e){return t.type===tZ.Q_.COOKIE?function(t,e){let r={isLockEnabled:(0,tW.F2)(),persistSession:r=>t2(e,t,r,tZ.HB),retrieveSession:()=>t5(e,t),expireSession:r=>t2(e,t,tJ(r,t),tZ.AQ)};if(!tL("_dd_s")){let t=tL("_dd"),e=tL("_dd_r"),n=tL("_dd_l"),i={};t&&(i.id=t),n&&/^[01]$/.test(n)&&(i.logs=n),e&&/^[012]$/.test(e)&&(i.rum=e),tQ(i)||(tX(i),r.persistSession(i))}return r}(e,t.cookieOptions):t.type===tZ.Q_.LOCAL_STORAGE?{isLockEnabled:!1,persistSession:t3,retrieveSession:t6,expireSession:t=>{t3(tJ(t,e))}}:{expireSession:t=>{en(tJ(t,e))},isLockEnabled:!1,persistSession:en,retrieveSession:er}}(t,e)){let i,o=new v.cP,a=new v.cP,s=new v.cP,u=(0,tG.yb)(function(){let t=n.retrieveSession();tY(t)?t9({process:t=>tY(t)?tJ(t,e):void 0,after:d},n):d(t)},1e3);f();let{throttled:l,cancel:c}=(0,tk.n)(()=>{t9({process:t=>{if(tQ(t))return;let n=d(t);return function(t){if(tQ(t))return;let n=r(t.rum);t.rum=n,delete t.isExpired,"0"===n||t.id||(t.id=B(),t.created=String((0,w.x3)())),e.trackAnonymousUser&&!t.anonymousId&&(t.anonymousId=B())}(n),n},after:t=>{tQ(t)||p()||(i=t,o.notify()),i=t}},n)},1e3);function d(t){var r;return tY(t)&&(t=tJ(t,e)),p()&&((r=t,i.id!==r.id||i.rum!==r.rum)?(i=tJ(i,e),a.notify()):(s.notify({previousState:i,newState:t}),i=t)),t}function f(){t9({process:t=>{if(tQ(t))return t.anonymousId=B(),tJ(t,e)},after:t=>{i=t}},n)}function p(){return(null==i?void 0:i.rum)!==void 0}return{expandOrRenewSession:l,expandSession:function(){t9({process:t=>p()?d(t):void 0},n)},getSession:()=>
4i,renewObservable:o,expireObservable:a,sessionStateUpdateObservable:s,restartSession:f,expire:t=>{c(),!1===t&&i&&delete i.anonymousId,n.expireSession(i),d(tJ(i,e))},stop:()=>{(0,tG.vG)(u)},updateSessionState:function(t){t9({process:e=>({...e,...t}),after:d},n)}}}(t.sessionStoreStrategyType,t,e);nD.push(()=>o.stop());let a=(0,ej.qj)({expireDelay:nV});function s(){let e=o.getSession();return e?{id:e.id,trackingType:e.rum,isReplayForced:!!e.forcedReplay,anonymousId:e.anonymousId}:(nq(t).catch(()=>void 0),{id:"invalid",trackingType:"0",isReplayForced:!1,anonymousId:void 0})}return nD.push(()=>a.stop()),o.renewObservable.subscribe(()=>{a.add(s(),(0,w.$S)()),n.notify()}),o.expireObservable.subscribe(()=>{i.notify(),a.closeActive((0,w.$S)())}),o.expandOrRenewSession(),a.add(s(),(0,w.Oc)().relative),r.observable.subscribe(()=>{r.isGranted()?o.expandOrRenewSession():o.expire(!1)}),function(t,e){let{stop:r}=(0,tc.l)(t,window,["click","touchstart","keydown","scroll"],e,{capture:!0,passive:!0});nD.push(r)}(t,()=>{r.isGranted()&&o.expandOrRenewSession()}),function(t,e){let r=()=>{"visible"===document.visibilityState&&e()},{stop:n}=(0,tc.q)(t,document,"visibilitychange",r);nD.push(n);let i=(0,tG.yb)(r,6e4);nD.push(()=>{(0,tG.vG)(i)})}(t,()=>o.expandSession()),function(t,e){let{stop:r}=(0,tc.q)(t,window,"resume",e,{capture:!0});nD.push(r)}(t,()=>o.restartSession()),{findSession:(t,e)=>a.find(t,e),renewObservable:n,expireObservable:i,sessionStateUpdateObservable:o.sessionStateUpdateObservable,expire:o.expire,updateSessionState:o.updateSessionState}}(t,e=>{var r,n,i;return r=t,"0"===(i=n=e)||"1"===i||"2"===i?n:(0,tB.ic)(r.sessionSampleRate)?(0,tB.ic)(r.sessionReplaySampleRate)?"1":"2":"0"},o)).expireObservable.subscribe(()=>{$.notify(9)}),I.renewObservable.subscribe(()=>{$.notify(10)}),I.sessionStateUpdateObservable.subscribe(({previousState:t,newState:e})=>{if(!t.forcedReplay&&e.forcedReplay){let t=I.findSession();t&&(t.isReplayForced=!0)}}),{findTrackedSession:t=>{let e=I.findSession(t);if(e&&"0"!==e.trackingType)return{id:e.id,sessionReplay:"1"===e.trackingType?1:2*!!e.isReplayForced,anonymousId:e.anonymousId}},expire:I.expire,expireObservable:I.expireObservable,setForcedReplay:()=>I.updateSessionState({forcedReplay:"1"})});if((0,tS.d0)()){let t;t=(0,tS.Y9)(),$.subscribe(13,e=>{t.send("rum",e)});let e=V.subscribe(t=>{$.notify(11,t)});M.push(()=>e.unsubscribe())}else{let e,r,n=(k=D.expireObservable,e=[t.rumEndpointBuilder],t.replica&&e.push(t.replica.rumEndpointBuilder),r=(0,nz.X)({encoder:i(2),request:(0,nF.sA)(e,U),flushController:(0,nB.tO)({pageMayExitObservable:V,sessionExpireObservable:k})}),$.subscribe(13,t=>{t.type===J.VIEW?r.upsert(t,t.view.id):r.add(t)}),r),o=n.flushController.preparePageExitFlushObservable.subscribe(t=>{$.notify(11,{reason:t})});M.push(()=>o.unsubscribe()),M.push(()=>n.stop()),T=n.flushController.flushObservable,d.metricsEnabled&&(nQ(),p=!1,$.subscribe(13,()=>{p=!0}),T.subscribe(({bytesCount:t,messagesCount:e})=>{p&&(p=!1,f.batchCount+=1,nJ(f.batchBytesCount,t),nJ(f.batchMessagesCount,e))}),(0,tG.yb)(nZ,1e4))}m.register(1,()=>o.isGranted()?t_.$O:t_.ug);let{stop:q}=function(t,e){if(!e.metricsEnabled)return{stop:tk.l};let{unsubscribe:r}=t.subscribe(4,({initialViewMetrics:t})=>{var e,n;t.largestContentfulPaint&&t.navigationTimings&&((0,O.Gk)("Initial view metrics",{metrics:(e=t.largestContentfulPaint,n=t.navigationTimings,{lcp:{value:e.value},navigation:{domComplete:n.domComplete,domContentLoaded:n.domContentLoaded,domInteractive:n.domInteractive,firstByte:n.firstByte,loadEvent:n.loadEvent}})}),r())});return{stop:r}}($,d);M.push(q);let{stop:j,...z}=function(t,e,r,n,i,o,a,l,d,f){var p,m,y,k,T,x,I,M,$,U,V;let D,q,j,z,F,G,W,K,ti,tu,tl,tf,tm,tg,tA,tT,tx,tR,tO=[],tI=(q=eD(),new v.cP(t=>{if(!q)return;let e=new q((0,C.dm)(e=>t.notify(e)));return e.observe(document,{attributes:!0,characterData:!0,childList:!0,subtree:!0}),()=>e.disconnect()})),tN=(j=(0,td.yG)(location),new v.cP(t=>{var e,n;let{stop:i}=function(t,e){let{stop:r}=(0,b.H)(nW("pushState"),"pushState",({onPostCall:t})=>{t(e)}),{stop:n}=(0,b.H)(nW("replaceState"),"replaceState",({onPostCall:t})=>{t(e)}),{stop:i}=(0,tc.q)(t,window,"popstate",e);return{stop:()=>{r(),n(),i()}}}(r,a),{stop:o}=(e=r,n=a,(0,tc.q)(e,window,"hashchange",n));function a(){if(j.href===location.href)return;let e=(0,td.yG)(location);t.notify({newLocation:e,oldLocation:j}),j=e}return()=>{i(),o()}})),{observable:tP,stop:tM}=function(){let t=new v.cP,{stop:e}=(0,b.H)(window,"open",()=>t.notify());return{observable:t,stop:e}}();tO.push(tM),e.register(0,({eventType:t})=>{let e=r.source;return{type:t,_dd:{format_version:2,drift:(0,w.TP)(),configuration:{session_sample_rate:(0,tB.LI)(r.sessionSampleRate,3),session_replay_sample_rate:(0,tB.LI)(r.sessionReplaySampleRate,3),profiling_sample_rate:(0,tB.LI)(r.profilingSampleRate,3),trace_sample_rate:(0,tB.LI)(r.traceSampleRate,3),beta_encode_cookie_options:r.betaEncodeCookieOptions},browser_sdk_version:(0,tS.d0)()?"6.33.0":void 0,sdk_name:d},application:{id:r.applicationId},date:(0,w.nx)(),source:e}}),e.register(1,()=>({application:{id:r.applicationId}}));let t$=function(t,e,r=500){let n,i=(0,ej.qj)({expireDelay:nY,maxEntries:4e3});rp(g.VISIBILITY_STATE)&&performance.getEntriesByType(g.VISIBILITY_STATE).forEac
4h(t=>{a("hidden"===t.name?"hidden":"active",t.startTime)}),a(nX(),(0,w.$S)());let{stop:o}=(0,tc.l)(e,window,["pageshow","focus","blur","visibilitychange","resume","freeze","pagehide"],t=>{var e;a("freeze"===(e=t).type?"frozen":"pagehide"===e.type?e.persisted?"frozen":"terminated":nX(),t.timeStamp)},{capture:!0});function a(t,e=(0,w.$S)()){t!==n&&(n=t,i.closeActive(e),i.add({state:n,startTime:e},e))}function s(t,e,r){return i.findAll(e,r).some(e=>e.state===t)}return t.register(0,({startTime:t,duration:e=0,eventType:n})=>n===J.VIEW?{type:n,_dd:{page_states:function(t,e,r){if(0!==t.length)return t.slice(-r).reverse().map(({state:t,startTime:r})=>({state:t,start:(0,w.Zj)((0,w.vk)(e,r))}))}(i.findAll(t,e),t,r)}}:n===J.ACTION||n===J.ERROR?{type:n,view:{in_foreground:s("active",t,0)}}:t_.$O),{wasInPageStateDuringPeriod:s,addPageState:a,stop:()=>{o(),i.stop()}}}(e,r);tO.push(()=>t$.stop());let tU=(z=(0,ej.qj)({expireDelay:ez}),t.subscribe(1,t=>{var e;z.add({service:(e=t).service,version:e.version,context:e.context,id:e.id,name:e.name,startClocks:e.startClocks},t.startClocks.relative)}),t.subscribe(6,({endClocks:t})=>{z.closeActive(t.relative)}),t.subscribe(3,t=>{let e=z.find(t.startClocks.relative);e&&(t.name&&(e.name=t.name),t.context&&(e.context=t.context),e.sessionIsActive=t.sessionIsActive)}),t.subscribe(10,()=>{z.reset()}),{findView:t=>z.find(t),stop:()=>{z.stop()}});tO.push(()=>tU.stop());let tV=function(t,e,r){let n,i=(0,ej.qj)({expireDelay:nG});t.subscribe(1,({startClocks:t,url:e})=>{let r=(0,_.B)(location).href,o=void 0!==e?(0,tE.c$)(e,r).href:r;i.add(a({url:o,referrer:n||document.referrer}),t.relative),n=o}),t.subscribe(6,({endClocks:t})=>{i.closeActive(t.relative)});let o=r.subscribe(({newLocation:t})=>{let e=i.find();if(e){let r=(0,w.$S)();i.closeActive(r),i.add(a({url:t.href,referrer:e.referrer}),r)}});function a({url:t,referrer:e}){return{url:t,referrer:e}}return e.register(0,({startTime:t,eventType:e})=>{let r=i.find(t);return r?{type:e,view:{url:r.url,referrer:r.referrer}}:t_.ug}),{findUrl:t=>i.find(t),stop:()=>{o.unsubscribe(),i.stop()}}}(t,e,tN);tO.push(()=>tV.stop());let tD=(F=(0,ej.qj)({expireDelay:nH}),t.subscribe(1,({startClocks:t})=>{F.add({},t.relative)}),t.subscribe(6,({endClocks:t})=>{F.closeActive(t.relative)}),e.register(0,({startTime:t,eventType:e})=>{if(!r.trackFeatureFlagsForEvents.concat([J.VIEW,J.ERROR]).includes(e))return t_.$O;let n=F.find(t);return!n||(0,td.RI)(n)?t_.$O:{type:e,feature_flags:n}}),{addFeatureFlagEvaluation:(t,e)=>{let r=F.find();r&&(r[t]=e)}});e.register(0,({eventType:t,startTime:e})=>{let r,o,a,s=n.findTrackedSession(e),u=tU.findView(e);return s&&u?(t===J.VIEW?(r=!!i.getReplayStats(u.id)||void 0,o=1===s.sessionReplay,a=!!u.sessionIsActive&&void 0):r=!!i.isRecording()||void 0,{type:t,session:{id:s.id,type:"user",has_replay:r,sampled_for_replay:o,is_active:a}}):t_.ug}),e.register(1,({startTime:t})=>{let e=n.findTrackedSession(t);return e?{session:{id:e.id}}:t_.$O}),e.register(0,({eventType:t})=>({type:t,connectivity:(0,n9.q)()})),s||(s=null!=(p=function(){try{let t=sessionStorage.getItem(eU);if(t)return t;let e=B();return sessionStorage.setItem(eU,e),e}catch(t){return}}())?p:B()),G=s,e.register(0,()=>({tab:{id:G}}));let tz=(W=ty(),r.storeContextsAcrossPages&&tp(r,W,"rum",2),e.register(0,()=>{let t=W.getContext();return{context:t}}),W),tF=(K=tb(),r.storeContextsAcrossPages&&tp(r,K,"rum",1),e.register(0,({eventType:t,startTime:e})=>{let i=K.getContext(),o=n.findTrackedSession(e);return(o&&o.anonymousId&&!i.anonymous_id&&r.trackAnonymousUser&&(i.anonymous_id=o.anonymousId),(0,td.RI)(i))?t_.$O:{type:t,usr:i}}),e.register(1,({startTime:t})=>{var e;return{anonymous_id:null==(e=n.findTrackedSession(t))?void 0:e.anonymousId}}),K),tW=(ti=tw(),r.storeContextsAcrossPages&&tp(r,ti,"rum",4),e.register(0,()=>{let t=ti.getContext();return(0,td.RI)(t)||!t.id?t_.$O:{account:t}}),ti),tZ=function(t,e,r,n,i){var o;let a,s,{unsubscribe:u}=t.subscribe(0,e=>{t.notify(12,no(e))}),l=tk.l;i.trackUserInteractions&&(a=function(t,e,r,n){let i,o=rJ(t),a=new v.cP;t.subscribe(5,l),t.subscribe(11,l);let{stop:s}=function(t,{onPointerDown:e,onPointerUp:r}){let n,i,o={selection:!1,input:!1,scroll:!1},a=[(0,tc.q)(t,window,"pointerdown",t=>{r7(t)&&(n=r9(),o={selection:!1,input:!1,scroll:!1},i=e(t))},{capture:!0}),(0,tc.q)(t,window,"selectionchange",()=>{n&&r9()||(o.selection=!0)},{capture:!0}),(0,tc.q)(t,window,"scroll",()=>{o.scroll=!0},{capture:!0,passive:!0}),(0,tc.q)(t,window,"pointerup",t=>{if(r7(t)&&i){let e=o;r(i,t,()=>e),i=void 0}},{capture:!0}),(0,tc.q)(t,window,"input",()=>{o.input=!0},{capture:!0})];return{stop:()=>{a.forEach(t=>t.stop())}}}(n,{onPointerDown:i=>(function(t,e,r,n,i){let o,a=t.betaTrackActionsInShadowDom?ni(n):n.target;
4if((o=t.enablePrivacyForActionName?rq(a,t.defaultPrivacyLevel):rM.ALLOW)===rM.HIDDEN)return;let s=function(t,e,r){let n=r.betaTrackActionsInShadowDom?ni(t):t.target,i=n.getBoundingClientRect(),o=rE(n,r.actionNameAttribute),a=function(t,e){let r=t.filter(t=>t instanceof Element&&!rQ.includes(t.tagName));if(0===r.length)return"";let n=e?[e].concat(rY):rY,i="";for(let t of r)if((i+=function(t,e){let r=rx(t),n=rT(t),i=Array.from(t.classList).filter(t=>!rA(t)).sort().map(t=>`.${CSS.escape(t)}`).join(""),o=function(t,e){let r=[];for(let n of Array.from(t.attributes))e.includes(n.name)&&r.push(rC(n.name,n.value));return r.sort().join("")}(t,e),a=function(t){let e=Array.from(t.parentNode.children);if(e.length<=1)return"";let r=e.filter(e=>e.tagName===t.tagName),n=e.indexOf(t),i=rO(t);return`:nth-child(${n+1})${r.length>1?`:nth-of-type(${i})`:""}`}(t);return`${r}${n||""}${o}${i}${a};`}(t,n)).length>=2048)return H(i,2048);return i}(t.composedPath(),r.actionNameAttribute);o&&nr(t.timeStamp,o);let{name:s,nameSource:u}=function(t,e,r=rM.ALLOW){let n=new Map,{actionNameAttribute:i}=e,o=rX(t,r_)||i&&rX(t,i);return o?{name:o,nameSource:"custom_attribute"}:r===rM.MASK?{name:rb,nameSource:"mask_placeholder"}:r2(t,r0,e,n)||r2(t,r1,e,n)||{name:"",nameSource:"blank"}}(n,r,e);return{type:"click",target:{width:Math.round(i.width),height:Math.round(i.height),selector:o,composedPathSelector:a||void 0},position:{x:Math.round(t.clientX-i.left),y:Math.round(t.clientY-i.top)},name:s,nameSource:u}}(n,o,t),u=!1;return rm(e,r,i,t,t=>{u=t.hadActivity},100),{clickActionBase:s,hadActivityOnPointerDown:()=>u}})(n,t,e,i,r),onPointerUp:({clickActionBase:i,hadActivityOnPointerDown:s},l,c)=>{!function(t,e,r,n,i,o,a,s,u,l,c){var d;let f=function t(e,r,n,i,o){let a,s=B(),u=(0,w.FR)(o.timeStamp),l=r.start(s,u,i,{isChildEvent:nn});e.notify(15,l);let c=0,d=[],f=new v.cP;function p(t){0===c&&(c=1,a=t?r.stop(s,(0,w.jR)(t)):r.discard(s),f.notify())}return{event:o,stop:p,stopObservable:f,get hasError(){var t;let e=null!=(t=null==a?void 0:a.counts)?t:r.getCounts(s);return!!e&&e.errorCount>0},get hasPageActivity(){return a&&"duration"in a},getUserActivity:n,addFrustration:t=>{d.push(t)},get startClocks(){return u},isStopped:()=>1===c||2===c,clone:()=>t(e,r,n,i,o),validate:t=>{if(p(),1!==c||!a)return;let r={frustrationTypes:d,events:null!=t?t:[o],event:o,...a,counts:a.counts};e.notify(0,r),c=2},discard:()=>{p(),c=2}}}(e,i,l,s,u);a(f);let p=null==(d=null==s?void 0:s.target)?void 0:d.selector;p&&nr(u.timeStamp,p);let{stop:h}=rm(e,r,n,t,t=>{t.hadActivity&&t.end<f.startClocks.timeStamp?f.discard():t.hadActivity?f.stop(t.end):c()?f.stop(f.startClocks.timeStamp):f.stop()},1e4),m=e.subscribe(5,({endClocks:t})=>{f.stop(t.timeStamp)}),g=e.subscribe(11,()=>{f.stop((0,w.nx)())}),y=o.subscribe(()=>{f.stop()});f.stopObservable.subscribe(()=>{g.unsubscribe(),m.unsubscribe(),h(),y.unsubscribe()})}(n,t,e,r,o,a,u,i,l,c,s)}});return{stop:()=>{l(),a.notify(),s(),o.stopAll()},findActionId:o.findId};function u(t){if(!i||!i.tryAppend(t)){let e=t.clone();i=function(t,e){let r,n=[],i=0;function o(t){t.stopObservable.subscribe(a),n.push(t),(0,tG.DJ)(r),r=(0,tG.wg)(s,1e3)}function a(){1===i&&n.every(t=>t.isStopped())&&(i=2,e(n))}function s(){(0,tG.DJ)(r),0===i&&(i=1,a())}return o(t),{tryAppend:t=>{var e,r,a,u;return 0===i&&(!(n.length>0)||(e=n[n.length-1].event,r=t.event,e.target===r.target&&100>=(a=e,u=r,Math.sqrt(Math.pow(a.clientX-u.clientX,2)+Math.pow(a.clientY-u.clientY,2)))&&e.timeStamp-r.timeStamp<=1e3)?(o(t),!0):(s(),!1))},stop:()=>{s()}}}(t,t=>{(function(t,e){let{isRage:r}=function(t,e){if(function(t){if(t.some(t=>t.getUserActivity().selection||t.getUserActivity().scroll))return!1;for(let e=0;e<t.length-2;e+=1)if(t[e+3-1].event.timeStamp-t[e].event.timeStamp<=1e3)return!0;return!1}(t))return e.addFrustration("rage_click"),t.some(nt)&&e.addFrustration(tn),e.hasError&&e.addFrustration(tr),{isRage:!0};let r=t.some(t=>t.getUserActivity().selection);return t.forEach(t=>{t.hasError&&t.addFrustration(tr),nt(t)&&!r&&t.addFrustration(tn)}),{isRage:!1}}(t,e);r?(t.forEach(t=>t.discard()),e.stop((0,w.nx)()),e.validate(t.map(t=>t.event))):(e.discard(),t.forEach(t=>t.validate()))})(t,e),i=void 0})}}function l(){i&&i.stop()}}(t,r,n,i));let c=(o=e=>{t.notify(12,no(e))},{addAction:function(t){o({id:B(),frustrationTypes:[],...t})},startAction:function(e,r={},n=(0,w.M8)()){var i;let o=null!=(i=r.actionKey)?i:e,a=s.start(o,n,{name:e,...r},{isChildEvent:nn});t.notify(15,a)},stopAction:function(t,e={},r=(0,w.M8)()){var n;let i=null!=(n=e.actionKey)?n:t,a=s.stop(i,r,e);if(!a)return;let u=[];a.counts&&a.counts.errorCount>0&&u.push(tr),o({...a,type:a.type||te,frustrationTypes:u})},findActionId:(s=rJ(t)).findId,stop:s.stopAll}),d={findActionId:t=>{var e;let r=c.findActionId(t),n=null!=(e=null==a?void 0:a.findActionId(t))?e:[];return r.concat(n)}};return e.register(0,({startTime:t,eventType:e})=>
4{if(e!==J.ERROR&&e!==J.RESOURCE&&e!==J.LONG_TASK)return t_.$O;let r=e===J.LONG_TASK?(0,w.Gw)(t,1):t,n=d.findActionId(r);return n.length?{type:e,action:{id:n}}:t_.$O}),e.register(1,({startTime:t})=>({action:{id:d.findActionId(t)}})),{addAction:c.addAction,startAction:c.startAction,stopAction:c.stopAction,actionContexts:d,stop:()=>{u(),l(),c.stop(),null==a||a.stop()}}}(t,e,tI,tP,r);tO.push(tZ.stop);let tK={addEvent:(e,r,n,i)=>{n7.includes(r.type)&&t.notify(12,{startClocks:(0,w.FR)(e),rawRumEvent:r,domainContext:n,duration:i})}},tJ=(tl=requestAnimationFrame((0,C.dm)(()=>{tu=n$()})),tf=nM(r).subscribe(t=>{tu=t}).unsubscribe,e.register(0,({eventType:t})=>({type:t,display:tu?{viewport:tu}:void 0})),{stop:()=>{tf(),tl&&cancelAnimationFrame(tl)}});tO.push(tJ.stop);let tQ=function(t,e,r=function(t,e){var r;let n=window.cookieStore?(r=t,(t,e)=>(0,tc.q)(r,window.cookieStore,"change",r=>{let n=r.changed.find(e=>e.name===t)||r.deleted.find(e=>e.name===t);n&&e(n.value)}).stop):n0;return new v.cP(t=>n(e,e=>t.notify(e)))}(t,n1)){var n;let i=tL(n1)||(null==(n=window.Cypress)?void 0:n.env("traceId")),o=r.subscribe(t=>{i=t});return e.register(0,({eventType:t})=>"string"!=typeof i?t_.$O:{type:t,session:{type:"ci_test"},ci_test:{test_execution_id:i}}),{stop:()=>{o.unsubscribe()}}}(r,e);tO.push(tQ.stop),e.register(0,({eventType:t})=>tj()?{type:t,session:{type:"synthetics"},synthetics:{...tj(),injected:tq()}}:t_.$O),h={[J.VIEW]:{"view.performance.lcp.resource_url":"string",...n6,...n3,...n8},[J.ERROR]:{"error.message":"string","error.stack":"string","error.handling_stack":"string","error.resource.url":"string","error.fingerprint":"string",...n6,...n3,...n8},[J.RESOURCE]:{"resource.url":"string","resource.graphql.variables":"string","resource.request.headers":"object","resource.response.headers":"object",...n6,...n3,...n8},[J.ACTION]:{"action.target.name":"string",...n6,...n3,...n8},[J.LONG_TASK]:{"long_task.scripts[].source_url":"string","long_task.scripts[].invoker":"string",...n6,...n3,...n8},[J.VITAL]:{...n6,...n3,...n8}},tm={[J.ERROR]:n2(J.ERROR,f,void 0),[J.ACTION]:n2(J.ACTION,f,void 0),[J.VITAL]:n2(J.VITAL,f,void 0)},t.subscribe(12,({startClocks:n,duration:i,rawRumEvent:o,domainContext:a})=>{let s=e.triggerHook(0,{eventType:o.type,rawRumEvent:o,domainContext:a,startTime:n.relative,duration:i});if(s===t_.ug)return;let u=(0,N.kg)(s,o,{ddtags:(0,n5.m5)(r).join(",")});(function(t,e,r,n){var i,o;if(e){let n,i,a=(o=h[t.type],i=(t=>e(t,r))(n=(0,N.Go)(t)),(0,tH.WP)(o).forEach(([e,r])=>(function t(e,r,n,i){let[o,...a]=n;if("[]"===o){Array.isArray(e)&&Array.isArray(r)&&e.forEach((e,n)=>t(e,r[n],a,i));return}if(n4(e)&&n4(r)){if(a.length>0)return t(e[o],r[o],a,i);!function(t,e,r,n){if(t[e]===r)return;let i=(0,th.P)(r);i===n?t[e]=(0,L.a)(r):"object"===n&&("undefined"===i||"null"===i)&&(t[e]={})}(e,o,r[o],i)}})(t,n,e.split(/\.|(?=\[\])/),r)),i);if(!1===a&&t.type!==J.VIEW)return!1;!1===a&&Z.Vy.warn("Can't dismiss view events using beforeSend!")}return!(null==(i=n[t.type])?void 0:i.isLimitReached())})(u,r.beforeSend,a,tm)&&((0,td.RI)(u.context)&&delete u.context,t.notify(13,u))});let{addTiming:tY,setLoadingTime:tX,startView:t0,setViewName:t1,setViewContext:t2,setViewContextProperty:t5,getViewContext:t4,stop:t3}=(t.subscribe(4,e=>{var n,o,a,s,u,l,c,d,f,p,h,m,g,v,y,_,b,S,k,E;let A,T,x;return t.notify(12,(n=e,o=r,A=i.getReplayStats(n.id),T=null==(s=null==(a=n.commonViewMetrics)?void 0:a.cumulativeLayoutShift)?void 0:s.devicePixelRatio,x={_dd:{document_version:n.documentVersion,replay_stats:A,cls:T?{device_pixel_ratio:T}:void 0,configuration:{start_session_replay_recording_manually:o.startSessionReplayRecordingManually}},date:n.startClocks.timeStamp,type:J.VIEW,view:{action:{count:n.eventCounts.actionCount},frustration:{count:n.eventCounts.frustrationCount},cumulative_layout_shift:null==(u=n.commonViewMetrics.cumulativeLayoutShift)?void 0:u.value,cumulative_layout_shift_time:(0,w.Zj)(null==(l=n.commonViewMetrics.cumulativeLayoutShift)?void 0:l.time),cumulative_layout_shift_target_selector:null==(c=n.commonViewMetrics.cumulativeLayoutShift)?void 0:c.targetSelector,first_byte:(0,w.Zj)(null==(d=n.initialViewMetrics.navigationTimings)?void 0:d.firstByte),dom_complete:(0,w.Zj)(null==(f=n.initialViewMetrics.navigationTimings)?void 0:f.domComplete),dom_content_loaded:(0,w.Zj)(null==(p=n.initialViewMetrics.navigationTimings)?void 0:p.domContentLoaded),dom_interactive:(0,w.Zj)(null==(h=n.initialViewMetrics.navigationTimings)?void 0:h.domInteractive),error:{count:n.eventCounts.errorCount},first_contentful_paint:(0,w.Zj)(n.initialViewMetrics.firstContentfulPaint),first_input_delay:(0,w.Zj)(null==(m=n.initialViewMetrics.firstInput)?void 0:m.delay),first_input_time:(0,w.Zj)(null==(g=n.initialViewMetrics.firstInput)?void 0:g.time),first_input_target_selector:null==(v=n.initialViewMetrics.firstInput)?void 0:v.targetSelector,interaction_to_next_paint:(0,w.Zj)(null==(y=n.commonViewMetrics.interactionToNextPaint)?void 0:y.value),interaction_to_next_paint_time:(0,w.Zj)(null==(_=n.commonViewMetrics.interactionToNextPaint)?void 0:_.time),interaction_to_next_paint_target_selector:null==(b=n.commonViewMetrics.interactionToNextPaint)?void 0:b.targetSelector,is_active:n.isActive,name:n.name,largest_contentful_paint:(0,w.Zj)(null==(S=n.initialViewMetrics.largestContentfulPaint)?void 0:S.value),largest_contentful_paint_target_selector:null==(k=n.initialViewMetrics.largestContentfulPaint)?void 0:k.targetSelector,load_event:(0,w.Zj)(null==(E=n.initialViewMetrics.navigationTimings)?void 0:E.loadEvent),loading_time:rn((0,w.Zj)(n.commonViewMetrics.loadingTime)),loading_type:n.loadingType,long_task:{count:n.eventCounts.longTaskCount},performance:function({cumulativeLayoutShift:t,interactionToNextPaint:e},{firstContentfulPaint:r,firstInput:n,largestContentfulPaint:i}){return{cls:t&&{score:t.value,timestamp:(0,w.Zj)(t.time),target_selector:t.targetSelector,previous_rect:t.previousRect,current_rect:t.currentRect},fcp:r&&{timestamp:(0,w.Zj)(r)},fid:n&&{duration:(0,w.Zj)(n.delay),timestamp:(0,w.Zj)(n.time),target_selector:n.targetSelector},inp:e&&{duration:(0,w.Zj)(e.value),timestamp:(0,w.Zj)(e.time),target_selector:e.targetSelector,sub_parts:e.subParts?{input_delay:(0,w.Zj)(e.subParts.inputDelay),processing_duration:(0,w.Zj)(e.subParts.processingDuration),presentation_delay:(0,w.Zj)(e.subParts.presentationDelay)}:void 0},lcp:i&&{timestamp:(0,w.Zj)(i.value),target_selector:i.targetSelector,resource_url:i.resourceUrl,sub_parts:i.subParts?{load_delay:(0,w.Zj)(i.subParts.loadDelay),load_time:(0,w.Zj)(i.subParts.loadTime),render_delay:(0,w.Zj)(i.subParts.renderDelay)}:void 0}}}(n.commonViewMetrics,n.initialViewMetrics),resource:{count:n.eventCounts.resourceCount},time_spent:(0,w.Zj)(n.duration)},display:n.commonViewMetrics.scroll?{scroll:{max_depth:n.commonViewMetrics.scroll.maxDepth,max_depth_scroll_top:n.
4commonViewMetrics.scroll.maxDepthScrollTop,max_scroll_height:n.commonViewMetrics.scroll.maxScrollHeight,max_scroll_height_time:(0,w.Zj)(n.commonViewMetrics.scroll.maxScrollHeightTime)}}:void 0,privacy:{replay_level:o.defaultPrivacyLevel},device:{locale:navigator.language,locales:navigator.languages,time_zone:function(){try{return new Intl.DateTimeFormat().resolvedOptions().timeZone}catch(t){return}}()}},(0,td.RI)(n.customTimings)||(x.view.custom_timings=(0,td.LG)(n.customTimings,w.Zj)),{rawRumEvent:x,startClocks:n.startClocks,duration:n.duration,domainContext:{location:n.location,handlingStack:n.handlingStack}}))}),e.register(0,({startTime:t,eventType:e})=>{let r=tU.findView(t);return r?{type:e,service:r.service,version:r.version,context:r.context,view:{id:r.id,name:r.name}}:t_.ug}),e.register(1,({startTime:t})=>{var e;return{view:{id:null==(e=tU.findView(t))?void 0:e.id}}}),function(t,e,r,n,i,o,a){let s,u,l=new Set,d=f(Y,(0,w.Oc)(),a);function f(i,o,a){let s=function(t,e,r,n,i,o=(0,w.M8)(),a){var s;let u,l=B(),d=new v.cP,f={},p=0,h=(0,td.yG)((0,_.B)(window.location)),m=tv(),y=!0,b=null==a?void 0:a.name,S=(null==a?void 0:a.service)||n.service,k=(null==a?void 0:a.version)||n.version,E=null==a?void 0:a.context,A=null==a?void 0:a.handlingStack;E&&m.setContext(E);let T={id:l,name:b,startClocks:o,service:S,version:k,context:E,url:null==a?void 0:a.url};t.notify(1,T),t.notify(2,T);let{throttled:x,cancel:R}=(0,tk.n)(G,3e3,{leading:!1}),{setLoadEvent:O,setViewEnd:I,stop:N,stopINPTracking:L,getCommonViewMetrics:P,setLoadingTime:M}=function(t,e,r,n,i,o,a){let s={},u=!1,l=!1,{stop:d,setLoadEvent:f}=function(t,e,r,n,i,o,a){let s=i===Y,u=!0,l=[],c=nA(n,o);function d(){if(!u&&!s&&l.length>0){let t=Math.max(...l);t<c.timeStamp-o.relative&&a(t)}}let{stop:f}=rm(t,e,r,n,t=>{u&&(u=!1,t.hadActivity&&l.push((0,w.vk)(o.timeStamp,t.end)),d())});return{stop:()=>{f(),c.stop()},setLoadEvent:t=>{s&&(s=!1,l.push(t),d())}}}(t,e,r,n,o,a,t=>{u||(s.loadingTime=t,i())}),{stop:p}=function(t,e,r,n=function(t,e=1e3){return new v.cP(r=>{if(window.ResizeObserver){let n=(0,tk.n)(function(){r.notify(function(){let t=nP(),{height:e}=n$();return{scrollHeight:Math.round((document.scrollingElement||document.documentElement).scrollHeight),scrollDepth:Math.round(e+t),scrollTop:t}}())},e,{leading:!1,trailing:!0}),i=document.scrollingElement||document.documentElement,o=new ResizeObserver((0,C.dm)(n.throttled));i&&o.observe(i);let a=(0,tc.q)(t,window,"scroll",n.throttled,{passive:!0});return()=>{n.cancel(),o.disconnect(),a.stop()}}})}(t)){let i=0,o=0,a=0,s=n.subscribe(({scrollDepth:t,scrollTop:n,scrollHeight:s})=>{let u=!1;if(t>i&&(i=t,u=!0),s>o){o=s;let t=(0,w.$S)();a=(0,w.vk)(e.relative,t),u=!0}u&&r({maxDepth:Math.min(i,o),maxDepthScrollTop:n,maxScrollHeight:o,maxScrollHeightTime:a})});return{stop:()=>s.unsubscribe()}}(n,a,t=>{s.scroll=t}),{stop:h}=function(t,e,r){let n,i,o,a,s;if(!(rp(g.LAYOUT_SHIFT)&&"WeakRef"in window))return{stop:tk.l};let u=0;r({value:0});let l=(a=0,s=0,{update:t=>{let e;return void 0===i||t.startTime-o>=1e3||t.startTime-i>=5e3?(i=o=t.startTime,s=a=t.value,e=!0):(a+=t.value,o=t.startTime,(e=t.value>s)&&(s=t.value)),{cumulatedValue:a,isMaxValue:e}}}),c=rf(t,{type:g.LAYOUT_SHIFT,buffered:!0}).subscribe(i=>{var o;for(let a of i){if(a.hadRecentInput||a.startTime<e)continue;let{cumulatedValue:i,isMaxValue:s}=l.update(a);if(s){let t=function(t){let e;for(let r of t)if(r.node&&ro(r.node)){let t=nT(r);(!e||nT(e)<t)&&(e=r)}return e}(a.sources);n={target:(null==t?void 0:t.node)?new WeakRef(t.node):void 0,time:(0,w.vk)(e,a.startTime),previousRect:null==t?void 0:t.previousRect,currentRect:null==t?void 0:t.currentRect,devicePixelRatio:window.devicePixelRatio}}if(i>u){u=i;let e=null==(o=null==n?void 0:n.target)?void 0:o.deref();r({value:(0,tB.LI)(u,4),targetSelector:e&&rE(e,t.actionNameAttribute),time:null==n?void 0:n.time,previousRect:(null==n?void 0:n.previousRect)?nx(n.previousRect):void 0,currentRect:(null==n?void 0:n.currentRect)?nx(n.currentRect):void 0,devicePixelRatio:null==n?void 0:n.devicePixelRatio})}}});return{stop:()=>{c.unsubscribe()}}}(n,a.relative,t=>{s.cumulativeLayoutShift=t,i()}),{stop:m,getInteractionToNextPaint:y,setViewEnd:_}=function(t,e,r){var n;let i,o,a;if(!(rp(g.EVENT)&&window.PerformanceEventTiming&&"interactionId"in PerformanceEventTiming.prototype))return{getInteractionToNextPaint:()=>
4void 0,setViewEnd:tk.l,stop:tk.l};let s=1/0,{getViewInteractionCount:u,stopViewInteractionCount:l}=(n=r,"interactionCount"in performance||c||(c=new window.PerformanceObserver((0,C.dm)(t=>{t.getEntries().forEach(t=>{t.interactionId&&(nC=Math.min(nC,t.interactionId),nR=((nO=Math.max(nO,t.interactionId))-nC)/7+1)})}))).observe({type:"event",buffered:!0,durationThreshold:0}),o=n===Y?0:nI(),a={stopped:!1},{getViewInteractionCount:()=>a.stopped?a.interactionCount:nI()-o,stopViewInteractionCount:()=>{a={stopped:!0,interactionCount:nI()-o}}}),d=function(t){let e=[];function r(){e.sort((t,e)=>e.duration-t.duration).splice(10)}return{process(t){let n=e.findIndex(e=>t.interactionId===e.interactionId),i=e[e.length-1];-1!==n?t.duration>e[n].duration&&(e[n]=t,r()):(e.length<10||t.duration>i.duration)&&(e.push(t),r())},estimateP98Interaction(){let r=Math.min(e.length-1,Math.floor(t()/50));return e[r]},isTracked:t=>e.some(e=>e.interactionId===t)}}(u),f=function(t){let e=new Map;function r(t,e){t.startTime=Math.min(e.startTime,t.startTime),t.processingStart=Math.min(e.processingStart,t.processingStart),t.processingEnd=Math.max(e.processingEnd,t.processingEnd)}return{process(t){if(void 0===t.interactionId||!t.processingStart||!t.processingEnd)return;let n=t.startTime+t.duration,i=e.get(t.interactionId);if(i)return void r(i,t);for(let[,i]of e.entries())if(8>=Math.abs(n-i.referenceRenderTime)){r(i,t),e.set(t.interactionId,i);return}e.set(t.interactionId,{startTime:t.startTime,processingStart:t.processingStart,processingEnd:t.processingEnd,referenceRenderTime:n})},pruneUntracked(){for(let[r]of e)t.isTracked(r)||e.delete(r)},computeSubParts(t,r){if(!t.processingStart||!t.processingEnd||void 0===t.interactionId)return;let n=e.get(t.interactionId);if(!n)return;let i=Math.max(n.startTime+r,n.processingStart),o=Math.min(n.processingEnd,i);return{inputDelay:(0,w.vk)(n.startTime,n.processingStart),processingDuration:(0,w.vk)(n.processingStart,o),presentationDelay:(0,w.vk)(o,i)}},stop(){e.clear()}}}(d),p=rf(t,{type:g.FIRST_INPUT,buffered:!0}).subscribe(m),h=rf(t,{type:g.EVENT,durationThreshold:40,buffered:!0}).subscribe(m);function m(r){for(let t of r)t.interactionId&&t.startTime>=e&&t.startTime<=s&&(d.process(t),f.process(t));f.pruneUntracked();let n=d.estimateP98Interaction();n&&function(r){let n=(0,w.vk)(e,r.startTime);if(!i||r.duration!==i.duration||n!==i.startTime){var o;let e,a=(o=r.startTime,e=ne.get(o),ne.delete(o),e);!a&&r.target&&ro(r.target)&&(a=rE(r.target,t.actionNameAttribute)),i={duration:r.duration,startTime:n,targetSelector:a}}i.subParts=f.computeSubParts(r,nN(i.duration))}(n)}return{getInteractionToNextPaint:()=>i?{value:nN(i.duration),targetSelector:i.targetSelector,time:i.startTime,subParts:i.subParts}:u()?{value:0}:void 0,setViewEnd:t=>{s=t,l()},stop:()=>{h.unsubscribe(),p.unsubscribe(),f.stop()}}}(n,a.relative,o);return{stop:()=>{d(),h(),p()},stopINPTracking:m,setLoadEvent:f,setViewEnd:t=>{l=!0,_(t)},getCommonViewMetrics:()=>
4(s.interactionToNextPaint=y(),s),setLoadingTime:t=>{if(l)return;let e=(0,w.vk)(a.timeStamp,null!=t?t:(0,w.nx)());u||d(),u=!0,s.loadingTime=e,i()}}}(t,e,r,n,F,i,o),{stop:$,initialViewMetrics:U}=i===Y?function(t,e,r,n){var i,o,a;let s,u={},{stop:l}=(i=t=>{r(t.loadEvent),u.navigationTimings=t,n()},function(t,e){let r,{stop:n}=(0,nm.H)(t,"complete",()=>{r=(0,tG.wg)(()=>e())});return{stop:()=>{n(),(0,tG.DJ)(r)}}}(t,()=>{var t;let e=(0,_.B)(ny)();e.loadEventEnd<=0||i({domComplete:(t=e).domComplete,domContentLoaded:t.domContentLoadedEventEnd,domInteractive:t.domInteractive,loadEvent:t.loadEventEnd,firstByte:n_(t)})})),c=nA(t,e),{stop:d}=(o=t=>{u.firstContentfulPaint=t,n()},{stop:rf(t,{type:g.PAINT,buffered:!0}).subscribe(t=>{let e=t.find(t=>"first-contentful-paint"===t.name&&t.startTime<c.timeStamp&&t.startTime<6e5);e&&o(e.startTime)}).unsubscribe}),{stop:f}=function(t,e,r,n){let i=1/0,{stop:o}=(0,tc.l)(t,r,["pointerdown","keydown"],t=>{i=t.timeStamp},{capture:!0,once:!0}),a=0,s=rf(t,{type:g.LARGEST_CONTENTFUL_PAINT,buffered:!0}).subscribe(r=>{let o=(0,tH.Uk)(r,t=>t.entryType===g.LARGEST_CONTENTFUL_PAINT&&t.startTime<i&&t.startTime<e.timeStamp&&t.startTime<6e5&&t.size>a);if(o){var s;let e;o.element&&(e=rE(o.element,t.actionNameAttribute));let r=""===(s=o).url?void 0:s.url,i=o.startTime,u=function(t,e){let r=n_(ny());if(void 0===r)return;let n=t?function(t,e){let r=function(){if(rp(g.RESOURCE))return performance.getEntriesByType(g.RESOURCE)}();if(r)return(0,tH.Uk)(r,r=>r.name===t&&r.startTime<=e)}(t,e):void 0,i=n?Math.max(r,n.requestStart||n.startTime):r,o=Math.min(e,Math.max(i,(null==n?void 0:n.responseEnd)||0));return{loadDelay:i-r,loadTime:o-i,renderDelay:e-o}}(r,i);n({value:i,targetSelector:e,resourceUrl:r,subParts:u}),a=o.size}});return{stop:()=>{o(),s.unsubscribe()}}}(t,c,window,t=>{u.largestContentfulPaint=t,n()}),{stop:p}=(a=t=>{u.firstInput=t,n()},s=rf(t,{type:g.FIRST_INPUT,buffered:!0}).subscribe(e=>{let r=e.find(t=>t.startTime<c.timeStamp);if(r){let e,n=(0,w.vk)(r.startTime,r.processingStart);r.target&&ro(r.target)&&(e=rE(r.target,t.actionNameAttribute)),a({delay:n>=0?n:0,time:r.startTime,targetSelector:e})}}),{stop:()=>{s.unsubscribe()}});return{stop:function(){l(),d(),f(),p(),c.stop()},initialViewMetrics:u}}(n,o,O,F):{stop:tk.l,initialViewMetrics:{}};i===tt&&(s=o.relative,requestAnimationFrame(()=>{requestAnimationFrame(()=>{(t=>{U.firstContentfulPaint=t,U.largestContentfulPaint={value:t},F()})((0,w.vk)(s,(0,w.$S)()))})}));let{stop:V,eventCounts:D}=function(t,e,r){let{stop:n,eventCounts:i}=rK({lifeCycle:t,isChildEvent:t=>t.view.id===e,onChange:r});return{stop:n,eventCounts:i}}(t,l,F),q=(0,tG.yb)(G,3e5),j=t.subscribe(11,t=>{t.reason===e$.y5.UNLOADING&&G()});function z(){t.notify(3,{id:l,name:b,context:m.getContext(),startClocks:o,sessionIsActive:y})}function F(){z(),x()}function G(){R(),z(),p+=1;let e=void 0===u?(0,w.nx)():u.timeStamp;t.notify(4,{customTimings:f,documentVersion:p,id:l,name:b,service:S,version:k,context:m.getContext(),loadingType:i,location:h,handlingStack:A,startClocks:o,commonViewMetrics:P(),initialViewMetrics:U,duration:(0,w.vk)(o.timeStamp,e),isActive:void 0===u,sessionIsActive:y,eventCounts:D})}return G(),m.changeObservable.subscribe(F),{get name(){return b},service:S,version:k,contextManager:m,stopObservable:d,end(e={}){var r,n;u||(u=null!=(r=e.endClocks)?r:(0,w.M8)(),y=null==(n=e.sessionIsActive)||n,t.notify(5,{endClocks:u}),t.notify(6,{endClocks:u}),(0,tG.vG)(q),I(u.relative),N(),j.unsubscribe(),G(),(0,tG.wg)(()=>{this.stop()},3e5))},stop(){$(),V(),L(),d.notify()},addTiming(t,e){var r;let n;if(u)return;let i=(0,w.pu)(e)?e:(0,w.vk)(o.timeStamp,e);f[(n=(r=t).replace(/[^a-zA-Z0-9-_.@$]/g,"_"))!==r&&Z.Vy.warn(`Invalid timing name: ${r}, sanitized to: ${n}`),n]=i,F()},setLoadingTime:M,setViewName(t){b=t,G()}}}(t,e,r,n,i,o,a);return l.add(s),s.stopObservable.subscribe(()=>{l.delete(s)}),s}return t.subscribe(10,()=>{d=f(X,void 0,{name:d.name,service:d.service,version:d.version,context:d.contextManager.getContext()})}),t.subscribe(9,()=>{d.end({sessionIsActive:!1})}),o&&(u=i.subscribe(({oldLocation:t,newLocation:e})=>{var r,n;let i;r=t,n=e,r.pathname===n.pathname&&(""!==(i=n.hash.substring(1))&&document.getElementById(i)||nU(n.hash)===nU(r.hash))||(d.end(),d=f(X))}),n.trackBfcacheViews&&(s=function(t,e){let{stop:r}=(0,tc.q)(t,window,"pageshow",t=>{t.persisted&&e(t)},{capture:!0});return r}(n,t=>{d.end(),d=f(tt,(0,w.FR)(t.timeStamp),void 0)}))),{addTiming:(t,e=(0,w.nx)())=>{d.addTiming(t,e)}
4,setLoadingTime:t=>d.setLoadingTime(t),startView:(t,e)=>{d.end({endClocks:e}),d=f(X,e,t)},setViewContext:t=>{d.contextManager.setContext(t)},setViewContextProperty:(t,e)=>{d.contextManager.setContextProperty(t,e)},setViewName:t=>{d.setViewName(t)},getViewContext:()=>d.contextManager.getContext(),stop:()=>{u&&u.unsubscribe(),s&&s(),d.end(),l.forEach(t=>t.stop())}}}(t,tI,tP,r,tN,!r.trackViewsManually,o)),t6=window,t8=new Map;function t9(){t6.DD_SOURCE_CODE_CONTEXT&&((0,tH.WP)(t6.DD_SOURCE_CODE_CONTEXT).forEach(([t,e])=>{let r=(0,S.T)({stack:t}).stack[0];r.url?t8.has(r.url)||t8.set(r.url,e):(0,O.VJ)("Source code context: missing frame url",{stack:t})}),t6.DD_SOURCE_CODE_CONTEXT={})}t9(),e.register(0,({domainContext:t,rawRumEvent:e})=>{var r,n,i,o;let a;if(t9(),0===t8.size)return t_.$O;let s=(r=t,"long_task"===(n=e).type&&"long-animation-frame"===n.long_task.entry_type?null==(i=n.long_task.scripts[0])?void 0:i.source_url:("handlingStack"in r&&(a=r.handlingStack),"error"===n.type&&n.error.stack&&(a=n.error.stack),null==(o=(0,S.T)({stack:a}).stack[0])?void 0:o.url)),u=s&&t8.get(s);return u?{type:e.type,service:u.service,version:u.version}:t_.$O}),tO.push(t3);let t7=function(t,e,r){let n,i=(0,_.B)(nf)(),o=e.trackEarlyRequests;if(o){let e,r,i;e=new Set,r=!1,i=t.subscribe(8,t=>{if(e.add(t),e.size>1e3){let t=e.values().next().value;if(!r){let n;if(r=!0,(0,P.sr)(P.R9.TOO_MANY_REQUESTS_INVESTIGATION)){let r=0,i=0,o=0,a=0;for(let t of e)t.isAborted&&r++,t.isAbortedOnStart&&i++,"xhr"===t.type&&o++,!performance.getEntriesByName(t.url,"resource").some(e=>e.startTime>=t.startClocks.relative)&&a++;let s=(0,w.nx)()-t.startClocks.timeStamp;n={abortedCount:r,abortedOnStartCount:i,xhrCount:o,fetchCount:e.size-o,oldestRequestAge:s,oldestRequestEndAge:s-t.duration,withoutMatchingEntryCount:a}}(0,O.A2)("Too many requests",n)}e.delete(t)}}),n={getMatchingRequest(t){let r,n=1/0;for(let i of e){let e=t.startTime-i.startClocks.relative;0<=e&&e<n&&i.url===t.name&&(n=Math.abs(e),r=i)}return r&&e.delete(r),r},stop(){i.unsubscribe()}}}else t.subscribe(8,t=>{s(()=>{var n,i,o;return n=t,i=e,o=r,nS(function(t){if(!performance||!("getEntriesByName"in performance))return;let e=performance.getEntriesByName(t.url,"resource");if(!e.length||!("toJSON"in e[0]))return;let r=e.filter(t=>!np.has(t)).filter(t=>eY(t)&&eX(t)).filter(e=>{var r,n,i;return r=e,n=t.startClocks.relative,i=nh({startTime:t.startClocks.relative,duration:t.duration}),r.startTime>=n-1&&nh(r)<=(0,w.Gw)(i,1)});if(1===r.length)return np.add(r[0]),r[0].toJSON()}(n),n,o,i)})});let a=rf(e,{type:g.RESOURCE,buffered:!0}).subscribe(t=>{for(let i of t)(o||!eQ(i))&&s(()=>nw(i,e,r,n))});function s(e){i.push(()=>{let r=e();r&&t.notify(12,r)})}(0,_.B)(nb)(e,t=>{s(()=>nw(t,e,r,n))});let u=rJ(t),l={startResource:function(t,e={},r=(0,w.M8)()){var n;let i=null!=(n=e.resourceKey)?n:t;u.start(i,r,{url:t,...e})},stopResource:function(e,r={},n=(0,w.M8)()){var i;let o=null!=(i=r.resourceKey)?i:e,a=u.stop(o,n,{context:r.context,type:r.type});if(!a)return;let s=(0,w.vk)(a.startClocks.relative,n.relative),l={date:a.startClocks.timeStamp,type:J.RESOURCE,resource:{id:a.id,type:a.type||eH,url:e5(a.url),duration:(0,w.Zj)(s),method:a.method,status_code:r.statusCode,size:r.size},_dd:{},context:a.context};t.notify(12,{rawRumEvent:l,startClocks:a.startClocks,duration:s,domainContext:{isManual:!0}})}};return{startResource:l.startResource,stopResource:l.stopResource,stop:()=>{i.stop(),a.unsubscribe(),u.stopAll()}}}(t,r,t$);tO.push(t7.stop);let{stop:et}=(tg=rf(r,{type:rp(g.LONG_ANIMATION_FRAME)?g.LONG_ANIMATION_FRAME:g.LONG_TASK,buffered:!0}).subscribe(e=>{for(let n of e){if(!r.trackLongTasks)break;let e=(0,w.FR)(n.startTime),i=function(t,e){let r=B(),n=(0,w.Zj)(t.duration),i={date:e.timeStamp,type:J.LONG_TASK,_dd:{discarded:!1}};return t.entryType===g.LONG_TASK?{...i,long_task:{id:r,entry_type:Q.LONG_TASK,duration:n}}:{...i,long_task:{id:r,entry_type:Q.LONG_ANIMATION_FRAME,duration:n,blocking_duration:(0,w.Zj)(t.blockingDuration),first_ui_event_timestamp:(0,w.Zj)(t.firstUIEventTimestamp),render_start:(0,w.Zj)(t.renderStart),style_and_layout_start:(0,w.Zj)(t.styleAndLayoutStart),start_time:(0,w.Zj)(t.startTime),scripts:t.scripts.map(t=>({duration:(0,w.Zj)(t.duration),pause_duration:(0,w.Zj)(t.pauseDuration),forced_style_and_layout_duration:(0,w.Zj)(t.forcedStyleAndLayoutDuration),start_time:(0,w.Zj)(t.startTime),execution_start:(0,w.Zj)(t.executionStart),source_url:t.sourceURL,source_function_name:t.sourceFunctionName,source_char_position:t.sourceCharPosition,invoker:t.invoker,invoker_type:t.invokerType,window_attribution:t.windowAttribution}))}}}(n,e);t.notify(12,{rawRumEvent:i,startClocks:e,duration:n.duration,domainContext:{performanceEntry:n}})}}),{stop:()=>tg.unsubscribe()});tO.push(et);let{addError:ee}=(tA=new v.cP,l.subscribe(t=>{0===t.type&&tA.notify(t.error)}),T=tA,(D=[Z.bP.error].map(t=>{var e;return ns[t]||(ns[t]=(e=t,new v.cP(t=>{let r=Z.JZ[e];return Z.JZ[e]=(...n)=>{r.apply(console,n);let i=(0,R.uC)("console error");(0,C.um)(()=>{t.notify(function(t,e,r){let n=t.map(t=>{var e;return"string"==typeof(e=t)?(0,L.a)(e):(0,E.bJ)(e)?(0,R.NR)((0,S.T)(e)):(0,na.s)((0,L.a)(e),void 0,2)}).join(" ");if(e===Z.bP.error){let i=t.find(E.bJ),o=(0,E.As)({originalError:i,handlingStack:r,startClocks:(0,w.M8)(),source:A.g.CONSOLE,handling:"handled",nonErrorPrefix:"Provided",useFallbackStack:!1});return o.message=n,{api:e,message:n,handlingStack:r,error:o}}return{api:e,message:n,error:void 0,handlingStack:r}}(n,e,i))})},()=>{Z.JZ[e]=r}}))),ns[t]}),(0,v.Fx)(...D)).subscribe(t=>T.notify(t.error)),(tT=[],(m=[nu,"intervention"]).includes(nu)&&tT.push((x=r,new v.cP(t=>{let{stop:e}=(0,tc.q)(x,document,"securitypolicyviolation",e=>{var r;let n;t.notify((r=e,n=`'${r.blockedURI}' blocked by '${r.effectiveDirective}' directive`,nl({type:r.effectiveDirective,message:`${nu}: ${n}
4`,originalError:r,csp:{disposition:r.disposition},stack:nc(r.effectiveDirective,r.originalPolicy?`${n} of the policy "${H(r.originalPolicy,100,"...")}"`:"no policy",r.sourceFile,r.lineNumber,r.columnNumber)})))});return e}))),(tx=m.filter(t=>t!==nu)).length&&tT.push((I=tx,new v.cP(t=>{if(!window.ReportingObserver)return;let e=(0,C.dm)((e,r)=>e.forEach(e=>t.notify(function(t){let{type:e,body:r}=t;return nl({type:r.id,message:`${e}: ${r.message}`,originalError:t,stack:nc(r.id,r.message,r.sourceFile,r.lineNumber,r.columnNumber)})}(e)))),r=new window.ReportingObserver(e,{types:I,buffered:!0});return r.observe(),()=>{r.disconnect()}}))),(0,v.Fx)(...tT)).subscribe(t=>tA.notify(t)),tA.subscribe(e=>t.notify(14,{error:e})),(M=t).subscribe(14,({error:t})=>{var e;let r,n;M.notify(12,(r={date:(e=t).startClocks.timeStamp,error:{id:B(),message:e.message,source:e.source,stack:e.stack,handling_stack:e.handlingStack,component_stack:e.componentStack,type:e.type,handling:e.handling,causes:e.causes,source_type:"browser",fingerprint:e.fingerprint,csp:e.csp},type:J.ERROR,context:e.context},n={error:e.originalError,handlingStack:e.handlingStack},{rawRumEvent:r,startClocks:e.startClocks,domainContext:n}))}),{addError:({error:t,handlingStack:e,componentStack:r,startClocks:n,context:i})=>{let o=(0,E.As)({originalError:t,handlingStack:e,componentStack:r,startClocks:n,nonErrorPrefix:"Provided",source:A.g.CUSTOM,handling:"handled"});o.context=(0,N.kg)(o.context,i),M.notify(14,{error:o})}});tR={clearTracingIfNeeded:e9,traceFetch:t=>e7(r,t,n,tF,tW,e=>{var r;if(t.input instanceof Request&&!(null==(r=t.init)?void 0:r.headers))t.input=new Request(t.input),Object.keys(e).forEach(r=>{t.input.headers.append(r,e[r])});else{t.init=(0,td.yG)(t.init);let r=[];t.init.headers instanceof Headers?t.init.headers.forEach((t,e)=>{r.push([e,t])}):Array.isArray(t.init.headers)?t.init.headers.forEach(t=>{r.push(t)}):t.init.headers&&Object.keys(t.init.headers).forEach(e=>{r.push([e,t.init.headers[e]])}),t.init.headers=r.concat((0,tH.WP)(e))}}),traceXhr:(t,e)=>e7(r,t,n,tF,tW,t=>{Object.keys(t).forEach(r=>{e.setRequestHeader(r,t[r])})})},function(t,e,r){var n;(!u&&(n=e,u=new v.cP(t=>{let{stop:e}=(0,b.H)(XMLHttpRequest.prototype,"open",eB),{stop:r}=(0,b.H)(XMLHttpRequest.prototype,"send",e=>{!function({target:t,parameters:[e],handlingStack:r},n,i){let o=eF.get(t);if(!o)return;o.state="start",o.startClocks=(0,w.M8)(),o.isAborted=!1,o.xhr=t,o.handlingStack=r,o.requestBody=e;let a=!1,{stop:s}=(0,b.H)(t,"onreadystatechange",()=>{t.readyState===XMLHttpRequest.DONE&&u()}),u=()=>{l(),s(),a||(a=!0,o.state="complete",o.duration=(0,w.vk)(o.startClocks.timeStamp,(0,w.nx)()),o.status=t.status,"string"==typeof t.response&&(o.responseBody=t.response),i.notify((0,td.yG)(o)))},{stop:l}=(0,tc.q)(n,t,"loadend",u);i.notify(o)}(e,n,t)},{computeHandlingStack:!0}),{stop:i}=(0,b.H)(XMLHttpRequest.prototype,"abort",eG);return()=>{e(),r(),i()}})),u).subscribe(e=>{if(e1(e.url))switch(e.state){case"start":r.traceXhr(e,e.xhr),e.requestIndex=rr(),t.notify(7,{requestIndex:e.requestIndex,url:e.url});break;case"complete":r.clearTracingIfNeeded(e),t.notify(8,{...e,type:"xhr",isAbortedOnStart:!1})}})}(t,r,tR),$=t,U=r,V=tR,tC({responseBodyAction:t=>{var e;return(null==(e=rt(t.url,U))?void 0:e.trackResponseErrors)?2:1}}).subscribe(t=>{var e;if(e1(t.url))switch(t.state){case"start":V.traceFetch(t),t.requestIndex=rr(),$.notify(7,{requestIndex:t.requestIndex,url:t.url});break;case"resolve":V.clearTracingIfNeeded(t),$.notify(8,{...t,duration:(0,w.vk)(t.startClocks.timeStamp,(0,w.nx)()),type:eW,requestBody:null==(e=t.init)?void 0:e.body})}});let er=function(t,e,r){function n(r){e.wasInPageStateDuringPeriod("frozen",r.startClocks.relative,r.duration)||t.notify(12,ts(r))}return{addOperationStepVital:function(e,r,n,i){if(!(0,P.sr)(P.R9.FEATURE_OPERATION_VITAL))return;let{operationKey:o,context:a,description:s,handlingStack:u}=n||{},l={name:e,type:"operation_step",operationKey:o,failureReason:i,stepType:r,startClocks:(0,w.M8)(),context:(0,L.a)(a),description:s,handlingStack:u};t.notify(12,ts(l))},addDurationVital:n,startDurationVital:(e,n={})=>{let i=to(r,e,n),o=r.vitalsByReference.get(i);return o&&t.notify(16,o),i},stopDurationVital:(t,e={})=>{ta(n,r,t,e)}}}(t,t$,a),en=(y=r.applicationId,k=tZ.actionContexts,{get:t=>{let e=tU.findView(t),r=tV.findUrl(t),i=n.findTrackedSession(t);if(i&&e&&r){let n=k.findActionId(t);return{application_id:y,session_id:i.id,user_action:n?{id:n}:void 0,view:{id:e.id,name:e.name,referrer:r.referrer,url:r.url}}}}});return{addAction:tZ.addAction,startAction:tZ.startAction,stopAction:tZ.stopAction,startResource:t7.startResource,stopResource:t7.stopResource,addEvent:tK.addEvent,addError:ee,addTiming:tY,setLoadingTime:tX,addFeatureFlagEvaluation:tD.addFeatureFlagEvaluation,startView:t0,setVie
4wContext:t2,setViewContextProperty:t5,getViewContext:t4,setViewName:t1,viewHistory:tU,getInternalContext:en.get,startDurationVital:er.startDurationVital,stopDurationVital:er.stopDurationVital,addDurationVital:er.addDurationVital,addOperationStepVital:er.addOperationStepVital,globalContext:tz,userContext:tF,accountContext:tW,stop:()=>tO.forEach(t=>t())}}($,m,t,D,e,n,a,l,y,U);return M.push(j),l.unbuffer(),M.push(()=>r.stop()),{...z,lifeCycle:$,session:D,stopSession:()=>D.expire(),telemetry:d,stop:()=>{M.forEach(t=>t())},hooks:m}}function ie(t,e,r={}){var n;let i,o,a,s={tryToInit(t){n||(n=t)},update(t){n=t,i.notify()},isGranted:()=>n===y.GRANTED,observable:i=new v.cP},u={vitalsByName:new Map,vitalsByReference:new WeakMap},l=(o=new v.dX(500),a=(0,_.B)(T)().subscribe(t=>{o.notify({type:0,error:t})}),{observable:o,stop:()=>{a.unsubscribe()}}).observable,c=function({ignoreInitIfSyntheticsWillInjectRum:t=!0,startDeflateWorker:e},r,n,i){let o,a,s,u,l,c,d=(c=[],{add:t=>{c.push(t)>500&&c.splice(0,1)},remove:t=>{(0,tl.Ai)(c,t)},drain:t=>
4{c.forEach(e=>e(t)),c.length=0}}),f=ty();eP(f,U,d);let p=tb();eP(p,$,d);let h=tw();eP(h,V,d);let m=tz(),g=r.observable.subscribe(b),v={};function b(){let t;if(!s||!u||!r.isGranted())return;if(l||(l=(0,_.B)(O.a5)("browser-rum-sdk",u,m)),g.unsubscribe(),u.trackViewsManually){if(!o)return;d.remove(o.callback),t=o.options}let e=i(u,a,t,l,m);d.drain(e)}function S(t,n){var i,o,l,c,d,f,p,h,m;let g,v,w=(0,tS.d0)();if(w&&(t={...p=t,applicationId:"00000000-aaaa-0000-aaaa-000000000000",clientToken:"empty",sessionSampleRate:100,defaultPrivacyLevel:null!=(h=p.defaultPrivacyLevel)?h:null==(m=(0,tS.Y9)())?void 0:m.getPrivacyLevel()}),s=t,(0,O.Rr)((g={session_sample_rate:(l=i=t).sessionSampleRate,telemetry_sample_rate:l.telemetrySampleRate,telemetry_configuration_sample_rate:l.telemetryConfigurationSampleRate,telemetry_usage_sample_rate:l.telemetryUsageSampleRate,use_before_send:!!l.beforeSend,use_partitioned_cross_site_session_cookie:l.usePartitionedCrossSiteSessionCookie,use_secure_session_cookie:l.useSecureSessionCookie,use_proxy:!!l.proxy,silent_multiple_init:l.silentMultipleInit,track_session_across_subdomains:l.trackSessionAcrossSubdomains,track_anonymous_user:l.trackAnonymousUser,session_persistence:Array.isArray(l.sessionPersistence)?l.sessionPersistence[0]:l.sessionPersistence,allow_fallback_to_local_storage:!!l.allowFallbackToLocalStorage,store_contexts_across_pages:!!l.storeContextsAcrossPages,allow_untrusted_events:!!l.allowUntrustedEvents,tracking_consent:l.trackingConsent,use_allowed_tracking_origins:Array.isArray(l.allowedTrackingOrigins),beta_encode_cookie_options:l.betaEncodeCookieOptions,source:l.source,sdk_version:l.sdkVersion,variant:l.variant},{session_replay_sample_rate:i.sessionReplaySampleRate,start_session_replay_recording_manually:i.startSessionReplayRecordingManually,trace_sample_rate:i.traceSampleRate,trace_context_injection:i.traceContextInjection,propagate_trace_baggage:i.propagateTraceBaggage,action_name_attribute:i.actionNameAttribute,use_allowed_tracing_urls:(0,tl.EI)(i.allowedTracingUrls),use_allowed_graph_ql_urls:(0,tl.EI)(i.allowedGraphQlUrls),use_track_graph_ql_payload:(c=i.allowedGraphQlUrls,(0,tl.EI)(c)&&c.some(t=>(0,th.O)(t)&&t.trackPayload)),use_track_graph_ql_response_errors:(d=i.allowedGraphQlUrls,(0,tl.EI)(d)&&d.some(t=>(0,th.O)(t)&&t.trackResponseErrors)),selected_tracing_propagators:(v=new Set,(0,tl.EI)(i.allowedTracingUrls)&&i.allowedTracingUrls.forEach(t=>{var e;null==(e=ev(t))||e.propagatorTypes.forEach(t=>v.add(t))}),Array.from(v)),default_privacy_level:i.defaultPrivacyLevel,enable_privacy_for_action_name:i.enablePrivacyForActionName,use_excluded_activity_urls:(0,tl.EI)(i.excludedActivityUrls),use_worker_url:!!i.workerUrl,compress_intake_requests:i.compressIntakeRequests,track_views_manually:i.trackViewsManually,track_user_interactions:i.trackUserInteractions,track_resources:i.trackResources,track_long_task:i.trackLongTasks,track_bfcache_views:i.trackBfcacheViews,track_early_requests:i.trackEarlyRequests,plugins:null==(o=i.plugins)?void 0:o.map(t=>{var e;return{name:t.name,...null==(e=t.getConfigurationTelemetry)?void 0:e.call(t)}}),track_feature_flags_for_events:i.trackFeatureFlagsForEvents,remote_configuration_id:i.remoteConfigurationId,profiling_sample_rate:i.profilingSampleRate,use_remote_configuration_proxy:!!i.remoteConfigurationProxy,track_resource_headers:!0===(f=i.trackResourceHeaders)?"default_headers":Array.isArray(f)?"custom":void 0,...g})),u)return void K("DD_RUM",t);let S=function(t,e){var r,n,i,o,a,s,u;if(void 0===t.trackFeatureFlagsForEvents||Array.isArray(t.trackFeatureFlagsForEvents)||Z.Vy.warn("trackFeatureFlagsForEvents should be an array"),!t.applicationId)return void Z.Vy.error("Application ID is not configured, no RUM data will be collected.");if(!eh(t.sessionReplaySampleRate,"Session Replay")||!eh(t.traceSampleRate,"Trace"))return;if(void 0!==t.excludedActivityUrls&&!Array.isArray(t.excludedActivityUrls))return void Z.Vy.error("Excluded Activity Urls should be an array");let l=function(t){if(void 0===t.allowedTracingUrls)return[];if(!Array.isArray(t.allowedTracingUrls))return void Z.Vy.error("Allowed Tracing URLs should be an array");if(0!==t.allowedTracingUrls.length&&void 0===t.service)return void Z.Vy.error("Service needs to be configured when tracing is enabled");let e=[];
4return t.allowedTracingUrls.forEach(t=>{let r=ev(t);r?e.push(r):Z.Vy.warn("Allowed Tracing Urls parameters should be a string, RegExp, function, or an object. Ignoring parameter",t)}),e}(t);if(!l)return;let c=function(t,e){var r,n,i,o,a,s,u,l,c,d,f,p,h;if(!t||!t.clientToken)return void Z.Vy.error("Client Token is not configured, we will not send any data.");if(void 0!==t.allowedTrackingOrigins&&!Array.isArray(t.allowedTrackingOrigins))return void Z.Vy.error("Allowed Tracking Origins must be an array");if((!(f=t.site)||"string"!=typeof f||/(datadog|ddog|datad0g|dd0g)/.test(f)||(Z.Vy.error(`Site should be a valid Datadog site. ${Z.xG} ${Z.fH}/getting_started/site/.`),0))&&eh(t.sessionSampleRate,"Session")&&eh(t.telemetrySampleRate,"Telemetry")&&eh(t.telemetryConfigurationSampleRate,"Telemetry Configuration")&&eh(t.telemetryUsageSampleRate,"Telemetry Usage")&&ep(t.version,"Version")&&ep(t.env,"Env")&&ep(t.service,"Service")&&function(t,e){let r=(0,_.B)((0,k.VZ)().location),n=r?r.origin:"",i=t.allowedTrackingOrigins;if(!i)return!function(t,e=""){return!es(t)&&es(e.split("\n").filter(t=>{let e=t.trim();return e.length&&/^at\s+|@/.test(e)})[1]||"")}(n,e)||(Z.Vy.error("Running the Browser SDK in a Web extension content script is forbidden unless the `allowedTrackingOrigins` option is provided."),!1);let o=eo(i,n);return o||Z.Vy.error("SDK initialized on a non-allowed domain."),o}(t,null!=e?e:"")){let e,f,m;if(void 0!==t.trackingConsent&&!(0,td.Rj)(y,t.trackingConsent))return void Z.Vy.error('Tracking Consent should be either "granted" or "not-granted"');return{beforeSend:t.beforeSend&&(0,tF.y)(t.beforeSend,"beforeSend threw an error:"),sessionStoreStrategyType:k.Wq?void 0:function(t){var e,r;let{sessionPersistence:n}=t;for(let i of(e=n,r=t,Array.isArray(e)?e:void 0!==e?[e]:r.allowFallbackToLocalStorage?[tZ.Q_.COOKIE,tZ.Q_.LOCAL_STORAGE]:[tZ.Q_.COOKIE])){let e=function(t,e){switch(t){case tZ.Q_.COOKIE:let r;return(r=function(t){let e={};if(e.secure=!!t.useSecureSessionCookie||!!t.usePartitionedCrossSiteSessionCookie,e.crossSite=!!t.usePartitionedCrossSiteSessionCookie,e.partitioned=!!t.usePartitionedCrossSiteSessionCookie,t.trackSessionAcrossSubdomains){let t=tP();if(!t)return;e.domain=t}return e}(e))&&function(t){if(void 0===document.cookie||null===document.cookie)return!1;try{let e=`dd_cookie_test_${B()}`,r="test";tI(e,r,6e4,t);let n=tN(e)===r;return tI(e,"",0,t),n}catch(t){return Z.Vy.error(t),!1}}(r)?{type:tZ.Q_.COOKIE,cookieOptions:r}:void 0;case tZ.Q_.LOCAL_STORAGE:try{let t=B(),e=`_dd_test_${t}`;localStorage.setItem(e,t);let r=localStorage.getItem(e);return localStorage.removeItem(e),t===r?{type:tZ.Q_.LOCAL_STORAGE}:void 0}catch(t){return}case tZ.Q_.MEMORY:return{type:tZ.Q_.MEMORY};default:Z.Vy.error(`Invalid session persistence '${String(t)}'`);return}}(i,t);if(void 0!==e)return e}}(t),sessionSampleRate:null!=(r=t.sessionSampleRate)?r:100,telemetrySampleRate:null!=(n=t.telemetrySampleRate)?n:20,telemetryConfigurationSampleRate:null!=(i=t.telemetryConfigurationSampleRate)?i:5,telemetryUsageSampleRate:null!=(o=t.telemetryUsageSampleRate)?o:5,service:null!=(a=t.service)?a:void 0,env:null!=(s=t.env)?s:void 0,version:null!=(u=t.version)?u:void 0,datacenter:null!=(l=t.datacenter)?l:void 0,silentMultipleInit:!!t.silentMultipleInit,allowUntrustedEvents:!!t.allowUntrustedEvents,trackingConsent:null!=(c=t.trackingConsent)?c:y.GRANTED,trackAnonymousUser:null==(d=t.trackAnonymousUser)||d,storeContextsAcrossPages:!!t.storeContextsAcrossPages,betaEncodeCookieOptions:!!t.betaEncodeCookieOptions,variant:t.variant,sdkVersion:t.sdkVersion,...(e=t.site||eu.NW,f="flutter"===(p=t.source)||"unity"===p?p:"browser",m={logsEndpointBuilder:el(h={...t,site:e,source:f},"logs"),rumEndpointBuilder:el(h,"rum"),profilingEndpointBuilder:el(h,"profile"),sessionReplayEndpointBuilder:el(h,"replay"),exposuresEndpointBuilder:el(h,"exposures"),flagEvaluationEndpointBuilder:el(h,"flagevaluation")},{replica:function(t){if(!t.replica)return;let e={...t,site:eu.NW,clientToken:t.replica.clientToken};return{logsEndpointBuilder:el(e,"logs"),rumEndpointBuilder:el(e,"rum",[`application.id=${t.replica.applicationId}`])}}({...t,site:e,source:f}),site:e,source:f,...m})}}}(t,e),d=function(t){if(!t.allowedGraphQlUrls)return[];if(!Array.isArray(t.allowedGraphQlUrls))return Z.Vy.warn("allowedGraphQlUrls should be an array"),[];let e=[];
4return t.allowedGraphQlUrls.forEach(t=>{ei(t)?e.push({match:t,trackPayload:!1,trackResponseErrors:!1}):(0,th.O)(t)&&ei(t.match)&&e.push({match:t.match,trackPayload:!!t.trackPayload,trackResponseErrors:!!t.trackResponseErrors})}),e}(t);if(!c)return;let f=null!=(r=t.sessionReplaySampleRate)?r:0;return{applicationId:t.applicationId,actionNameAttribute:t.actionNameAttribute,betaTrackActionsInShadowDom:!!t.betaTrackActionsInShadowDom,sessionReplaySampleRate:f,startSessionReplayRecordingManually:void 0!==t.startSessionReplayRecordingManually?!!t.startSessionReplayRecordingManually:0===f,traceSampleRate:null!=(n=t.traceSampleRate)?n:100,rulePsr:(0,tB.Et)(t.traceSampleRate)?t.traceSampleRate/100:void 0,allowedTracingUrls:l,excludedActivityUrls:null!=(i=t.excludedActivityUrls)?i:[],workerUrl:t.workerUrl,compressIntakeRequests:!!t.compressIntakeRequests,trackUserInteractions:!!(null==(o=t.trackUserInteractions)||o),trackViewsManually:!!t.trackViewsManually,trackResources:!!(null==(a=t.trackResources)||a),trackResourceHeaders:function(t){let e=t.trackResourceHeaders;if(void 0===e||!1===e)return[];if(!0===e)return eg.map(t=>({name:t}));if(!Array.isArray(e))return Z.Vy.warn("trackResourceHeaders should be true or an array of MatchHeader"),[];if(0===e.length)return Z.Vy.warn("trackResourceHeaders is an empty array, no headers will be captured"),[];let r=[];return e.forEach((t,e)=>{(0,th.O)(t)&&ei(t.name)?void 0===t.url||ei(t.url)?void 0===t.extractor||t.extractor instanceof RegExp?void 0===t.location||ey.includes(t.location)?r.push({...t,name:"string"==typeof t.name?t.name.toLowerCase():t.name}):Z.Vy.warn(`trackResourceHeaders[${e}].location should be 'request', 'response', or 'any'`):Z.Vy.warn(`trackResourceHeaders[${e}].extractor should be a RegExp`):Z.Vy.warn(`trackResourceHeaders[${e}].url should be a MatchOption`):Z.Vy.warn(`trackResourceHeaders[${e}] should be a MatchHeader object with a 'name' property`)}),r}(t),trackLongTasks:!!(null==(s=t.trackLongTasks)||s),trackBfcacheViews:!!t.trackBfcacheViews,trackEarlyRequests:!!t.trackEarlyRequests,subdomain:t.subdomain,defaultPrivacyLevel:(0,td.Rj)(ed,t.defaultPrivacyLevel)?t.defaultPrivacyLevel:ed.MASK,enablePrivacyForActionName:!!t.enablePrivacyForActionName,traceContextInjection:(0,td.Rj)(ef,t.traceContextInjection)?t.traceContextInjection:ef.SAMPLED,plugins:t.plugins||[],trackFeatureFlagsForEvents:t.trackFeatureFlagsForEvents||[],profilingSampleRate:null!=(u=t.profilingSampleRate)?u:0,propagateTraceBaggage:!!t.propagateTraceBaggage,allowedGraphQlUrls:d,...c}}(t,n);if(S){if(!w&&!S.sessionStoreStrategyType)return void Z.Vy.warn("No storage available for session. We will not send any data.");if(S.compressIntakeRequests&&!w&&e&&!(a=e(S,"Datadog RUM",tk.l)))return;u=S,tC().subscribe(tk.l),r.tryToInit(S.trackingConsent),b()}}let E=t=>{d.add(e=>e.addDurationVital(t))};return{init(e,r,n){e?((0,P.Aq)(e.enableExperimentalFeatures),s=e,t&&tq()||(tu(e.plugins,"onInit",{initConfiguration:e,publicApi:r}),e.remoteConfigurationId?eI(e,{user:p,context:f}).then(t=>{t&&S(t,n)}).catch(C.Dx):S(e,n))):Z.Vy.error("Missing configuration")},get initConfiguration(){return s},getInternalContext:tk.l,stopSession:tk.l,addTiming(t,e=(0,w.nx)()){d.add(r=>r.addTiming(t,e))},setLoadingTime:t=>{d.add(e=>e.setLoadingTime(t))},startView(t,e=(0,w.M8)()){let r=r=>{r.startView(t,e)};d.add(r),o||(o={options:t,callback:r},b())},setViewName(t){d.add(e=>e.setViewName(t))},setViewContext(t){d.add(e=>e.setViewContext(t))},setViewContextProperty(t,e){d.add(r=>r.setViewContextProperty(t,e))},getViewContext:()=>v,globalContext:f,userContext:p,accountContext:h,addAction(t){d.add(e=>e.addAction(t))},startAction(t,e){let r=(0,w.M8)();d.add(n=>n.startAction(t,e,r))},stopAction(t,e){let r=(0,w.M8)();d.add(n=>n.stopAction(t,e,r))},startResource(t,e){let r=(0,w.M8)();d.add(n=>n.startResource(t,e,r))},stopResource(t,e){let r=(0,w.M8)();d.add(n=>n.stopResource(t,e,r))},addError(t){d.add(e=>e.addError(t))},addFeatureFlagEvaluation(t,e){d.add(r=>r.addFeatureFlagEvaluation(t,e))},startDurationVital:(t,e)=>to(n,t,e),stopDurationVital(t,e){ta(E,n,t,e)},addDurationVital:E,addOperationStepVital:(t,e,r,n)=>{d.add(i=>i.addOperationStepVital((0,L.a)(t),e,(0,L.a)(r),(0,L.a)(n)))}}}(r,s,u,(n,i,o,a,d)=>{var f,p;let h=i&&r.createDeflateEncoder?t=>r.createDeflateEncoder(n,i,t):x.N,m=(0,_.B)(it)(n,t,e,o,h,s,u,l,a,d,r.sdkName);return t.onRumStart(m.lifeCycle,n,m.session,m.viewHistory,i,m.telemetry),e.onRumStart(m.lifeCycle,m.hooks,n,m.session,m.viewHistory,h),f=c,p=m,c={init:t=>{K("DD_RUM",t)},initConfiguration:f.initConfiguration,...p},tu(n.plugins,"onRumStart",{strategy:c,addEvent:m.addEvent,addError:m.addError}),m}),d=()=>c,f=(0,I.m)({init:t=>{let e=Error().stack;(0,C.um)(()=>c.init(t,f,e))},setTrackingConsent:(0,C.dm)(t=>{s.update(t),(0,O.Q6)({feature:"set-tracking-consent",tracking_consent:t})}
4),setViewName:(0,C.dm)(t=>{c.setViewName(t),(0,O.Q6)({feature:"set-view-name"})}),setViewContext:(0,C.dm)(t=>{c.setViewContext(t),(0,O.Q6)({feature:"set-view-context"})}),setViewContextProperty:(0,C.dm)((t,e)=>{c.setViewContextProperty(t,e),(0,O.Q6)({feature:"set-view-context-property"})}),getViewContext:(0,C.dm)(()=>((0,O.Q6)({feature:"set-view-context-property"}),c.getViewContext())),getInternalContext:(0,C.dm)(t=>c.getInternalContext(t)),getInitConfiguration:(0,C.dm)(()=>(0,N.Go)(c.initConfiguration)),addAction:(t,e)=>{let r=(0,R.uC)("action");(0,C.um)(()=>{c.addAction({name:(0,L.a)(t),context:(0,L.a)(e),startClocks:(0,w.M8)(),type:te,handlingStack:r}),(0,O.Q6)({feature:"add-action"})})},startAction:(0,C.dm)((t,e)=>{(!c.initConfiguration||(0,P.sr)(P.R9.START_STOP_ACTION))&&c.startAction((0,L.a)(t),{type:(0,L.a)(e&&e.type),context:(0,L.a)(e&&e.context),actionKey:e&&e.actionKey})}),stopAction:(0,C.dm)((t,e)=>{(!c.initConfiguration||(0,P.sr)(P.R9.START_STOP_ACTION))&&c.stopAction((0,L.a)(t),{type:(0,L.a)(e&&e.type),context:(0,L.a)(e&&e.context),actionKey:e&&e.actionKey})}),startResource:(0,C.dm)((t,e)=>{(!c.initConfiguration||(0,P.sr)(P.R9.START_STOP_RESOURCE))&&c.startResource((0,L.a)(t),{type:(0,L.a)(e&&e.type),method:(0,L.a)(e&&e.method),context:(0,L.a)(e&&e.context),resourceKey:e&&e.resourceKey})}),stopResource:(0,C.dm)((t,e)=>{(!c.initConfiguration||(0,P.sr)(P.R9.START_STOP_RESOURCE))&&c.stopResource((0,L.a)(t),{type:(0,L.a)(e&&e.type),statusCode:e&&e.statusCode,size:e&&e.size,context:(0,L.a)(e&&e.context),resourceKey:e&&e.resourceKey})}),addError:(t,e)=>{let r=(0,R.uC)("error");(0,C.um)(()=>{c.addError({error:t,handlingStack:r,context:(0,L.a)(e),startClocks:(0,w.M8)()}),(0,O.Q6)({feature:"add-error"})})},addTiming:(0,C.dm)((t,e)=>{c.addTiming((0,L.a)(t),e)}),setViewLoadingTime:(0,C.dm)(()=>{let t=(0,w.nx)();c.setLoadingTime(t),(0,O.Q6)({feature:"addViewLoadingTime"})}),setGlobalContext:M(d,U,q,"set-global-context"),getGlobalContext:M(d,U,D,"get-global-context"),setGlobalContextProperty:M(d,U,j,"set-global-context-property"),removeGlobalContextProperty:M(d,U,z,"remove-global-context-property"),clearGlobalContext:M(d,U,F,"clear-global-context"),setUser:M(d,$,q,"set-user"),getUser:M(d,$,D,"get-user"),setUserProperty:M(d,$,j,"set-user-property"),removeUserProperty:M(d,$,z,"remove-user-property"),clearUser:M(d,$,F,"clear-user"),setAccount:M(d,V,q,"set-account"),getAccount:M(d,V,D,"get-account"),setAccountProperty:M(d,V,j,"set-account-property"),removeAccountProperty:M(d,V,z,"remove-account-property"),clearAccount:M(d,V,F,"clear-account"),startView:t=>{let e=(0,R.uC)("view");(0,C.um)(()=>{c.startView({..."object"==typeof t?t:{name:t},handlingStack:e}),(0,O.Q6)({feature:"start-view"})})},stopSession:(0,C.dm)(()=>{c.stopSession(),(0,O.Q6)({feature:"stop-session"})}),addFeatureFlagEvaluation:(0,C.dm)((t,e)=>{c.addFeatureFlagEvaluation((0,L.a)(t),(0,L.a)(e)),(0,O.Q6)({feature:"add-feature-flag-evaluation"})}),getSessionReplayLink:(0,C.dm)(()=>t.getSessionReplayLink()),startSessionReplayRecording:(0,C.dm)(e=>{t.start(e),(0,O.Q6)({feature:"start-session-replay-recording",force:e&&e.force})}),stopSessionReplayRecording:(0,C.dm)(()=>t.stop()),addDurationVital:(t,e)=>{let r=(0,R.uC)("vital");(0,C.um)(()=>{(0,O.Q6)({feature:"add-duration-vital"}),c.addDurationVital({id:B(),name:(0,L.a)(t),type:ti,startClocks:(0,w.jR)(e.startTime),duration:e.duration,context:(0,L.a)(e&&e.context),description:(0,L.a)(e&&e.description),handlingStack:r})})},startDurationVital:(t,e)=>{let r=(0,R.uC)("vital");return(0,C.um)(()=>((0,O.Q6)({feature:"start-duration-vital"}),c.startDurationVital((0,L.a)(t),{context:(0,L.a)(e&&e.context),description:(0,L.a)(e&&e.description),handlingStack:r})))},stopDurationVital:(0,C.dm)((t,e)=>{(0,O.Q6)({feature:"stop-duration-vital"}),c.stopDurationVital("string"==typeof t?(0,L.a)(t):t,{context:(0,L.a)(e&&e.context),description:(0,L.a)(e&&e.description)})}),startFeatureOperation:(t,e)=>{let r=(0,R.uC)("vital");(0,C.um)(()=>{(0,O.Q6)({feature:"add-operation-step-vital",action_type:"start"}),c.addOperationStepVital(t,"start",{...e,handlingStack:r})})},succeedFeatureOperation:(0,C.dm)((t,e)=>{(0,O.Q6)({feature:"add-operation-step-vital",action_type:"succeed"}),c.addOperationStepVital(t,"end",e)}),failFeatureOperation:(0,C.dm)((t,e,r)=>{(0,O.Q6)({feature:"add-operation-step-vital",action_type:"fail"}),c.addOperationStepVital(t,"end",r,e)})});return f}function ir(t,{session:e,viewContext:r,errorType:n}){var i;let o,a,s=e?e.id:"no-session-id",u=[];void 0!==n&&u.push(`error-type=${n}`),r&&(u.push(`seed=${r.id}`),u.push(`from=${r.startClocks.timeStamp}`));let l=(o=(i=t).site,a=i.subdomain||function(t){switch(t.site){case eu.NW:case eu.dV:return"app";case eu.Bb:return"dd";default:return}}(i),`https://${a?`${a}.`:""}${o}`),c=`/rum/replay/sessions/${s}`;return`${l}${c}?${u.join("&")}`}function ii(t,e,r,n){let i=(0,nF.sA)([t.profilingEndpointBuilder],t=>{e.notify(14,{error:t}),(0,O.A2)("Error reported to customer",{"error.message":t.message})}),o=r(n);return{async send({event:t,...e}){let r=new FormData,n=(0,na.s)(t);if(!n)throw Error("Failed to serialize event");r.append("event",new Blob([n],{type:"application/json"}),"event.json");let a=n.length;for(let[t,n]of(0,tH.WP)(e)){let e=(0,na.s)(n);if(!e)throw Error("Failed to serialize attachment");let i=await function(t,e){return new Promise(r=>{t.write(e),t.finish(t=>{r(t)})})}(o,e);a+=i.outputBytesCount,r.append(t,new Blob([i.output]),t)}i.send({data:r,bytesCount:a})}}}},11498:function(t,e,r){"use strict";r.d(e,{G:function(){return d}});
4var n=r(33907),i=r(81944),o=r(58996),a=r(41708),s=r(76782),u=r(47090);async function l(){try{return await (0,s.B)(c)()}catch(t){(0,u.i)({error:t,source:"Profiler",scriptType:"module"})}}async function c(){return(await r.e(2621).then(r.bind(r,59442))).createRumProfiler}function d(){let t;return{onRumStart:function(e,r,s,u,c,d){let f,p=u.findTrackedSession();if(!p||!(0,n.$5)(p.id,s.profilingSampleRate))return;let h=(f={status:"starting"},r.register(0,({eventType:t})=>t!==n.bb.VIEW&&t!==n.bb.LONG_TASK&&t!==n.bb.ACTION&&t!==n.bb.VITAL?a.$O:{type:t,_dd:{profiling:f}}),{get:()=>f,set:t=>{f=t}});void 0===(0,o.VZ)().Profiler?h.set({status:"error",error_reason:"not-supported-by-browser"}):l().then(r=>{r?(t=r(s,e,u,h,d,c,void 0)).start():h.set({status:"error",error_reason:"failed-to-lazy-load"})}).catch(i.Dx)},stop:()=>{null==t||t.stop()}}}},49220:function(t,e,r){"use strict";r.d(e,{b:function(){return b}});var n=r(4645),i=r(9441),o=r(5301),a=r(70942),s=r(48062);function u(){return"function"==typeof Array.from&&"function"==typeof CSSSupportsRule&&"function"==typeof URL.createObjectURL&&"forEach"in NodeList.prototype}var l=r(27445),c=r(57397),d=r(81944),f=r(33907),p=r(81174),h=r(89797),m=r(76782),g=r(47090);async function v(){try{return await (0,m.B)(y)()}catch(t){(0,g.i)({error:t,source:"Recorder",scriptType:"module"})}}async function y(){return(await r.e(2586).then(r.bind(r,84088))).startRecording}async function _(t,e,r){try{return await r}finally{t.notify(e)}}function b(){let t;if((0,n.d0)()&&!(0,n.Ww)("records")||!u())return{start:i.l,stop:i.l,getReplayStats:()=>void 0,onRumStart:i.l,isRecording:()=>!1,getSessionReplayLink:()=>void 0};let{strategy:e,shouldStartImmediately:r}=(t=0,{strategy:{start(){t=1},stop(){t=2},isRecording:()=>!1,getSessionReplayLink:i.l},shouldStartImmediately:e=>1===t||0===t&&!e.startSessionReplayRecordingManually});return{start:t=>e.start(t),stop:()=>e.stop(),getSessionReplayLink:()=>e.getSessionReplayLink(),onRumStart:function(t,n,o,m,g,y){let b;e=function(t,e,r,n,o,a){let s,m=0;e.subscribe(9,()=>{(2===m||3===m)&&(w(),m=1)}),e.subscribe(10,()=>{1===m&&b()});let g=new l.cP;!function(t,e){let r,n,o;if(!t.metricsEnabled)return i.l;let{unsubscribe:a}=e.subscribe(t=>{switch(t.type){case"start":r={forced:t.forced,timestamp:(0,p.nx)()},n=void 0,o=void 0;break;case"document-ready":r&&(n=(0,p.vk)(r.timestamp,(0,p.nx)()));break;case"recorder-settled":r&&(o=(0,p.vk)(r.timestamp,(0,p.nx)()));break;case"aborted":case"deflate-encoder-load-failed":case"recorder-load-failed":case"succeeded":var e,i,s,u;a(),r&&(0,h.Gk)("Recorder init metrics",{metrics:(e=r.forced,i=o,s=(0,p.vk)(r.timestamp,(0,p.nx)()),u=t.type,{forced:e,loadRecorderModuleDuration:i,recorderInitDuration:s,result:u,waitForDocReadyDuration:n})})}})}(a,g);let y=async i=>{g.notify({type:"start",forced:i});let[u]=await Promise.all([_(g,{type:"recorder-settled"},v()),_(g,{type:"document-ready"},(0,c.N)(t,"interactive"))]);if(2!==m)return void g.notify({type:"aborted"});if(!u){m=0,g.notify({type:"recorder-load-failed"});return}let l=o();if(!l){m=0,g.notify({type:"deflate-encoder-load-failed"});return}({stop:s}=u(e,t,r,n,l,a)),m=3,g.notify({type:"succeeded"})};function b(t){var e,n,i,o,a;let s=r.findTrackedSession();if(e=s,n=t,!e||0===e.sessionReplay&&(!n||!n.force)){m=1;return}if(2===(i=m)||3===i)return;m=2;let u=(o=s,(a=t)&&a.force&&0===o.sessionReplay||!1);y(u).catch(d.Dx),u&&r.setForcedReplay()}function w(){3===m&&(null==s||s()),m=0}return{start:b,stop:w,getSessionReplayLink:()=>{var e,i,o;let a,s,l;return e=0!==m,i=a=r.findTrackedSession(),o=e,s=u()?i?0===i.sessionReplay?"incorrect-session-plan":o?void 0:"replay-not-started":"rum-not-tracked":"browser-not-supported",l=n.findView(),(0,f.dx)(t,{viewContext:l,errorType:s,session:a})},isRecording:()=>3===m}}(n,t,o,m,function(){return!b&&(null!=g||(g=(0,a.u4)(n,"Datadog Session Replay",()=>e.stop())),g&&(b=(0,s.Y)(n,g,1))),b},y),r(n)&&e.start()},isRecording:()=>3===(0,a.Ye)()&&e.isRecording(),getReplayStats:t=>3===(0,a.Ye)()?(0,o.lv)(t):void 0}}},48062:function(t,e,r){"use strict";var n=r(90988),i=r(95235);function o(t,e,r){let o,a=0,s=[],u=!0,l=0,c=[],{stop:d}=(0,n.q)(t,e,"message",({data:t})=>{if("wrote"!==t.type||t.streamId!==r)return;let e=c[0];e&&(e.id===t.id?(c.shift(),a+=t.additionalBytesCount,s.push(t.result),o=t.trailer,e.writeCallback?e.writeCallback(t.result.byteLength):e.finishCallback&&e.finishCallback()):e.id<t.id&&d())});function f(){let t=0===s.length?new Uint8Array(0):(0,i.wh)(s.concat(o)),e={rawBytesCount:a,output:t,outputBytesCount:t.byteLength,encoding:"deflate"};return a=0,s=[],e}function p(){u||(e.postMessage({action:"reset",streamId:r}),u=!0)}return{isAsync:!0,get isEmpty(){return u},write(t,n){e.postMessage({action:"write",id:l,data:t,streamId:r}),c.push({id:l,writeCallback:n,data:t}),u=!1,l+=1},finish(t){p(),c.length?(c.forEach(t=>{delete t.writeCallback}),c[c.length-1].finishCallback=()=>t(f())):t(f())},finishSync(){p();let t=c.map(t=>t.data).join("");return c.length=0,{...f(),pendingData:t}},estimateEncodedBytesCount:t=>t.length/8,stop(){d()}}}r.d(e,{Y:function(){return o}})},70942:function(t,e,r){"use strict";
4var n=r(76782),i=r(90988),o=r(41319),a=r(35472),s=r(89797),u=r(47090);function l(t){return new Worker(t.workerUrl||URL.createObjectURL(new Blob(['(()=>{function t(t){if(1===t.length)return t[0];const e=t.reduce((t,e)=>t+e.length,0),a=new Uint8Array(e);let n=0;for(const e of t)a.set(e,n),n+=e.length;return a}function e(t){for(var e=t.length;--e>=0;)t[e]=0}var a=new Uint8Array([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0]),n=new Uint8Array([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13]),r=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7]),i=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),s=Array(576);e(s);var h=Array(60);e(h);var l=Array(512);e(l);var _=Array(256);e(_);var o=Array(29);e(o);var d,u,f,c=Array(30);function p(t,e,a,n,r){this.static_tree=t,this.extra_bits=e,this.extra_base=a,this.elems=n,this.max_length=r,this.has_stree=t&&t.length}function g(t,e){this.dyn_tree=t,this.max_code=0,this.stat_desc=e}e(c);var v=function(t){return t<256?l[t]:l[256+(t>>>7)]},w=function(t,e){t.pending_buf[t.pending++]=255&e,t.pending_buf[t.pending++]=e>>>8&255},m=function(t,e,a){t.bi_valid>16-a?(t.bi_buf|=e<<t.bi_valid&65535,w(t,t.bi_buf),t.bi_buf=e>>16-t.bi_valid,t.bi_valid+=a-16):(t.bi_buf|=e<<t.bi_valid&65535,t.bi_valid+=a)},b=function(t,e,a){m(t,a[2*e],a[2*e+1])},y=function(t,e){var a=0;do{a|=1&t,t>>>=1,a<<=1}while(--e>0);return a>>>1},z=function(t,e,a){var n,r,i=Array(16),s=0;for(n=1;n<=15;n++)i[n]=s=s+a[n-1]<<1;for(r=0;r<=e;r++){var h=t[2*r+1];0!==h&&(t[2*r]=y(i[h]++,h))}},k=function(t){var e;for(e=0;e<286;e++)t.dyn_ltree[2*e]=0;for(e=0;e<30;e++)t.dyn_dtree[2*e]=0;for(e=0;e<19;e++)t.bl_tree[2*e]=0;t.dyn_ltree[512]=1,t.opt_len=t.static_len=0,t.last_lit=t.matches=0},x=function(t){t.bi_valid>8?w(t,t.bi_buf):t.bi_valid>0&&(t.pending_buf[t.pending++]=t.bi_buf),t.bi_buf=0,t.bi_valid=0},A=function(t,e,a,n){var r=2*e,i=2*a;return t[r]<t[i]||t[r]===t[i]&&n[e]<=n[a]},U=function(t,e,a){for(var n=t.heap[a],r=a<<1;r<=t.heap_len&&(r<t.heap_len&&A(e,t.heap[r+1],t.heap[r],t.depth)&&r++,!A(e,n,t.heap[r],t.depth));)t.heap[a]=t.heap[r],a=r,r<<=1;t.heap[a]=n},B=function(t,e,r){var i,s,h,l,d=0;if(0!==t.last_lit)do{i=t.pending_buf[t.d_buf+2*d]<<8|t.pending_buf[t.d_buf+2*d+1],s=t.pending_buf[t.l_buf+d],d++,0===i?b(t,s,e):(h=_[s],b(t,h+256+1,e),0!==(l=a[h])&&(s-=o[h],m(t,s,l)),i--,h=v(i),b(t,h,r),0!==(l=n[h])&&(i-=c[h],m(t,i,l)))}while(d<t.last_lit);b(t,256,e)},I=function(t,e){var a,n,r,i=e.dyn_tree,s=e.stat_desc.static_tree,h=e.stat_desc.has_stree,l=e.stat_desc.elems,_=-1;for(t.heap_len=0,t.heap_max=573,a=0;a<l;a++)0!==i[2*a]?(t.heap[++t.heap_len]=_=a,t.depth[a]=0):i[2*a+1]=0;for(;t.heap_len<2;)i[2*(r=t.heap[++t.heap_len]=_<2?++_:0)]=1,t.depth[r]=0,t.opt_len--,h&&(t.static_len-=s[2*r+1]);for(e.max_code=_,a=t.heap_len>>1;a>=1;a--)U(t,i,a);r=l;do{a=t.heap[1],t.heap[1]=t.heap[t.heap_len--],U(t,i,1),n=t.heap[1],t.heap[--t.heap_max]=a,t.heap[--t.heap_max]=n,i[2*r]=i[2*a]+i[2*n],t.depth[r]=(t.depth[a]>=t.depth[n]?t.depth[a]:t.depth[n])+1,i[2*a+1]=i[2*n+1]=r,t.heap[1]=r++,U(t,i,1)}while(t.heap_len>=2);t.heap[--t.heap_max]=t.heap[1],function(t,e){var a,n,r,i,s,h,l=e.dyn_tree,_=e.max_code,o=e.stat_desc.static_tree,d=e.stat_desc.has_stree,u=e.stat_desc.extra_bits,f=e.stat_desc.extra_base,c=e.stat_desc.max_length,p=0;for(i=0;i<=15;i++)t.bl_count[i]=0;for(l[2*t.heap[t.heap_max]+1]=0,a=t.heap_max+1;a<573;a++)(i=l[2*l[2*(n=t.heap[a])+1]+1]+1)>c&&(i=c,p++),l[2*n+1]=i,n>_||(t.bl_count[i]++,s=0,n>=f&&(s=u[n-f]),h=l[2*n],t.opt_len+=h*(i+s),d&&(t.static_len+=h*(o[2*n+1]+s)));if(0!==p){do{for(i=c-1;0===t.bl_count[i];)i--;t.bl_count[i]--,t.bl_count[i+1]+=2,t.bl_count[c]--,p-=2}while(p>0);for(i=c;0!==i;i--)for(n=t.bl_count[i];0!==n;)(r=t.heap[--a])>_||(l[2*r+1]!==i&&(t.opt_len+=(i-l[2*r+1])*l[2*r],l[2*r+1]=i),n--)}}(t,e),z(i,_,t.bl_count)},E=function(t,e,a){var n,r,i=-1,s=e[1],h=0,l=7,_=4;for(0===s&&(l=138,_=3),e[2*(a+1)+1]=65535,n=0;n<=a;n++)r=s,s=e[2*(n+1)+1],++h<l&&r===s||(h<_?t.bl_tree[2*r]+=h:0!==r?(r!==i&&t.bl_tree[2*r]++,t.bl_tree[32]++):h<=10?t.bl_tree[34]++:t.bl_tree[36]++,h=0,i=r,0===s?(l=138,_=3):r===s?(l=6,_=3):(l=7,_=4))},C=function(t,e,a){var n,r,i=-1,s=e[1],h=0,l=7,_=4;for(0===s&&(l=138,_=3),n=0;n<=a;n++)if(r=s,s=e[2*(n+1)+1],!(++h<l&&r===s)){if(h<_)do{b(t,r,t.bl_tree)}while(0!==--h);else 0!==r?(r!==i&&(b(t,r,t.bl_tree),h--),b(t,16,t.bl_tree),m(t,h-3,2)):h<=10?(b(t,17,t.bl_tree),m(t,h-3,3)):(b(t,18,t.bl_tree),m(t,h-11,7));h=0,i=r,0===s?(l=138,_=3):r===s?(l=6,_=3):(l=7,_=4)}},D=!1,M=function(t,e,a,n){m(t,0+(n?1:0),3),function(t,e,a){x(t),w(t,a),w(t,~a),t.pending_buf.set(t.window.subarray(e,e+a),t.pending),t.pending+=a}(t,e,a)},j=M,L=function(t,e,a,n){for(var r=65535&t,i=t>>>16&65535,s=0;0!==a;){a-=s=a>2e3?2e3:a;do{i=i+(r=r+e[n++]|0)|0}while(--s);r%=65521,i%=65521}return r|i<<16},S=new Uint32Array(function(){for(var t,e=[],a=0;a<256;a++){t=a;for(var n=0;n<8;n++)t=1&t?3988292384^t>>>1:t>>>1;e[a]=t}return e}()),T=function(t,e,a,n){var r=S,i=n+a;t^=-1;for(var s=n;s<i;s++)t=t>>>8^r[255&(t^e[s])];return-1^t},O={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"},q=j,F=function(t,e,a){return t.pending_buf[t.d_buf+2*t.last_lit]=e>>>8&255,t.pending_buf[t.d_buf+2*t.last_lit+1]=255&e,t.pending_buf[t.l_buf+t.last_lit]=255&a,t.last_lit++,0===e?t.dyn_ltree[2*a]++:(t.matches++,e--,t.dyn_ltree[2*(_[a]+256+1)]++,t.dyn_dtree[2*v(e)]++),t.last_lit===t.lit_bufsize-1},G=-2,H=258,J=262,K=103,N=113,P=666,Q=function(t,e){return t.msg=O[e],e},R=function(t){return(t<<1)-(t>4?9:0)},V=function(t){for(var e=t.length;--e>=0;)t[e]=0},W=function(t,e,a){return(e<<t.hash_shift^a)&t.hash_mask},X=function(t){var e=t.state,a=e.pending;a>t.avail_out&&(a=t.avail_out),0!==a&&(t.output.set(e.pending_buf.subarray(e.pending_out,e.pending_out+a),t.next_out),t.next_out+=a,e.pending_out+=a,t.total_out+=a,t.avail_out-=a,e.pending-=a,0===e.pending&&(e.pending_out=0))},Y=function(t,e){(function(t,e,a,n){var r,l,_=0;t.level>0?(2===t.strm.data_type&&(t.strm.data_type=function(t){var e,a=4093624447;for(e=0;e<=31;e++,a>>>=1)if(1&a&&0!==t.dyn_ltree[2*e])return 0;if(0!==t.dyn_ltree[18]||0!==t.dyn_ltree[20]||0!==t.dyn_ltree[26])return 1;for(e=32;e<256;e++)if(0!==t.dyn_ltree[2*e])return 1;return 0}(t)),I(t,t.l_desc),I(t,t.d_desc),_=function(t){var e;
vendor: 8,978 bytes, line 4
4for(E(t,t.dyn_ltree,t.l_desc.max_code),E(t,t.dyn_dtree,t.d_desc.max_code),I(t,t.bl_desc),e=18;e>=3&&0===t.bl_tree[2*i[e]+1];e--);return t.opt_len+=3*(e+1)+5+5+4,e}(t),r=t.opt_len+3+7>>>3,(l=t.static_len+3+7>>>3)<=r&&(r=l)):r=l=a+5,a+4<=r&&-1!==e?M(t,e,a,n):4===t.strategy||l===r?(m(t,2+(n?1:0),3),B(t,s,h)):(m(t,4+(n?1:0),3),function(t,e,a,n){var r;for(m(t,e-257,5),m(t,a-1,5),m(t,n-4,4),r=0;r<n;r++)m(t,t.bl_tree[2*i[r]+1],3);C(t,t.dyn_ltree,e-1),C(t,t.dyn_dtree,a-1)}(t,t.l_desc.max_code+1,t.d_desc.max_code+1,_+1),B(t,t.dyn_ltree,t.dyn_dtree)),k(t),n&&x(t)})(t,t.block_start>=0?t.block_start:-1,t.strstart-t.block_start,e),t.block_start=t.strstart,X(t.strm)},Z=function(t,e){t.pending_buf[t.pending++]=e},$=function(t,e){t.pending_buf[t.pending++]=e>>>8&255,t.pending_buf[t.pending++]=255&e},tt=function(t,e,a,n){var r=t.avail_in;return r>n&&(r=n),0===r?0:(t.avail_in-=r,e.set(t.input.subarray(t.next_in,t.next_in+r),a),1===t.state.wrap?t.adler=L(t.adler,e,r,a):2===t.state.wrap&&(t.adler=T(t.adler,e,r,a)),t.next_in+=r,t.total_in+=r,r)},et=function(t,e){var a,n,r=t.max_chain_length,i=t.strstart,s=t.prev_length,h=t.nice_match,l=t.strstart>t.w_size-J?t.strstart-(t.w_size-J):0,_=t.window,o=t.w_mask,d=t.prev,u=t.strstart+H,f=_[i+s-1],c=_[i+s];t.prev_length>=t.good_match&&(r>>=2),h>t.lookahead&&(h=t.lookahead);do{if(_[(a=e)+s]===c&&_[a+s-1]===f&&_[a]===_[i]&&_[++a]===_[i+1]){i+=2,a++;do{}while(_[++i]===_[++a]&&_[++i]===_[++a]&&_[++i]===_[++a]&&_[++i]===_[++a]&&_[++i]===_[++a]&&_[++i]===_[++a]&&_[++i]===_[++a]&&_[++i]===_[++a]&&i<u);if(n=H-(u-i),i=u-H,n>s){if(t.match_start=e,s=n,n>=h)break;f=_[i+s-1],c=_[i+s]}}}while((e=d[e&o])>l&&0!==--r);return s<=t.lookahead?s:t.lookahead},at=function(t){var e,a,n,r,i,s=t.w_size;do{if(r=t.window_size-t.lookahead-t.strstart,t.strstart>=s+(s-J)){t.window.set(t.window.subarray(s,s+s),0),t.match_start-=s,t.strstart-=s,t.block_start-=s,e=a=t.hash_size;do{n=t.head[--e],t.head[e]=n>=s?n-s:0}while(--a);e=a=s;do{n=t.prev[--e],t.prev[e]=n>=s?n-s:0}while(--a);r+=s}if(0===t.strm.avail_in)break;if(a=tt(t.strm,t.window,t.strstart+t.lookahead,r),t.lookahead+=a,t.lookahead+t.insert>=3)for(i=t.strstart-t.insert,t.ins_h=t.window[i],t.ins_h=W(t,t.ins_h,t.window[i+1]);t.insert&&(t.ins_h=W(t,t.ins_h,t.window[i+3-1]),t.prev[i&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=i,i++,t.insert--,!(t.lookahead+t.insert<3)););}while(t.lookahead<J&&0!==t.strm.avail_in)},nt=function(t,e){for(var a,n;;){if(t.lookahead<J){if(at(t),t.lookahead<J&&0===e)return 1;if(0===t.lookahead)break}if(a=0,t.lookahead>=3&&(t.ins_h=W(t,t.ins_h,t.window[t.strstart+3-1]),a=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),0!==a&&t.strstart-a<=t.w_size-J&&(t.match_length=et(t,a)),t.match_length>=3)if(n=F(t,t.strstart-t.match_start,t.match_length-3),t.lookahead-=t.match_length,t.match_length<=t.max_lazy_match&&t.lookahead>=3){t.match_length--;do{t.strstart++,t.ins_h=W(t,t.ins_h,t.window[t.strstart+3-1]),a=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart}while(0!==--t.match_length);t.strstart++}else t.strstart+=t.match_length,t.match_length=0,t.ins_h=t.window[t.strstart],t.ins_h=W(t,t.ins_h,t.window[t.strstart+1]);else n=F(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++;if(n&&(Y(t,!1),0===t.strm.avail_out))return 1}return t.insert=t.strstart<2?t.strstart:2,4===e?(Y(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(Y(t,!1),0===t.strm.avail_out)?1:2},rt=function(t,e){for(var a,n,r;;){if(t.lookahead<J){if(at(t),t.lookahead<J&&0===e)return 1;if(0===t.lookahead)break}if(a=0,t.lookahead>=3&&(t.ins_h=W(t,t.ins_h,t.window[t.strstart+3-1]),a=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),t.prev_length=t.match_length,t.prev_match=t.match_start,t.match_length=2,0!==a&&t.prev_length<t.max_lazy_match&&t.strstart-a<=t.w_size-J&&(t.match_length=et(t,a),t.match_length<=5&&(1===t.strategy||3===t.match_length&&t.strstart-t.match_start>4096)&&(t.match_length=2)),t.prev_length>=3&&t.match_length<=t.prev_length){r=t.strstart+t.lookahead-3,n=F(t,t.strstart-1-t.prev_match,t.prev_length-3),t.lookahead-=t.prev_length-1,t.prev_length-=2;do{++t.strstart<=r&&(t.ins_h=W(t,t.ins_h,t.window[t.strstart+3-1]),a=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart)}while(0!==--t.prev_length);if(t.match_available=0,t.match_length=2,t.strstart++,n&&(Y(t,!1),0===t.strm.avail_out))return 1}else if(t.match_available){if((n=F(t,0,t.window[t.strstart-1]))&&Y(t,!1),t.strstart++,t.lookahead--,0===t.strm.avail_out)return 1}else t.match_available=1,t.strstart++,t.lookahead--}return t.match_available&&(n=F(t,0,t.window[t.strstart-1]),t.match_available=0),t.insert=t.strstart<2?t.strstart:2,4===e?(Y(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(Y(t,!1),0===t.strm.avail_out)?1:2};function it(t,e,a,n,r){this.good_length=t,this.max_lazy=e,this.nice_length=a,this.max_chain=n,this.func=r}var st=[new it(0,0,0,0,function(t,e){var a=65535;for(a>t.pending_buf_size-5&&(a=t.pending_buf_size-5);;){if(t.lookahead<=1){if(at(t),0===t.lookahead&&0===e)return 1;if(0===t.lookahead)break}t.strstart+=t.lookahead,t.lookahead=0;var n=t.block_start+a;if((0===t.strstart||t.strstart>=n)&&(t.lookahead=t.strstart-n,t.strstart=n,Y(t,!1),0===t.strm.avail_out))return 1;if(t.strstart-t.block_start>=t.w_size-J&&(Y(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,4===e?(Y(t,!0),0===t.strm.avail_out?3:4):(t.strstart>t.block_start&&(Y(t,!1),t.strm.avail_out),1)}),new it(4,4,8,4,nt),new it(4,5,16,8,nt),new it(4,6,32,32,nt),new it(4,4,16,16,rt),new it(8,16,32,32,rt),new it(8,16,128,128,rt),new it(8,32,128,256,rt),new it(32,128,258,1024,rt),new it(32,258,258,4096,rt)];function ht(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=8,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new Uint16Array(1146),this.dyn_dtree=new Uint16Array(122),this.bl_tree=new Uint16Array(78),V(this.dyn_ltree),V(this.dyn_dtree),V(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new Uint16Array(16),this.heap=new Uint16Array(573),V(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new Uint16Array(573),V(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}for(var lt=function(t){var e,i=function(t){if(!t||!t.state)return Q(t,G);t.total_in=t.total_out=0,t.data_type=2;var e=t.state;return e.pending=0,e.pending_out=0,e.wrap<0&&(e.wrap=-e.wrap),e.status=e.wrap?42:N,t.adler=2===e.wrap?0:1,e.last_flush=0,function(t){D||(function(){var t,e,i,g,v,w=Array(16);for(i=0,g=0;g<28;g++)for(o[g]=i,t=0;t<1<<a[g];t++)_[i++]=g;for(_[i-1]=g,v=0,g=0;g<16;g++)for(c[g]=v,t=0;t<1<<n[g];t++)l[v++]=g;for(v>>=7;g<30;g++)for(c[g]=v<<7,t=0;t<1<<n[g]-7;t++)l[256+v++]=g;for(e=0;e<=15;e++)w[e]=0;for(t=0;t<=143;)s[2*t+1]=8,t++,w[8]++;for(;t<=255;)s[2*t+1]=9,t++,w[9]++;for(;t<=279;)s[2*t+1]=7,t++,w[7]++;for(;t<=287;)s[2*t+1]=8,t++,w[8]++;for(z(s,287,w),t=0;t<30;t++)h[2*t+1]=5,h[2*t]=y(t,5);d=new p(s,a,257,286,15),u=new p(h,n,0,30,15),f=new p([],r,0,19,7)}(),D=!0),t.l_desc=new g(t.dyn_ltree,d),t.d_desc=new g(t.dyn_dtree,u),t.bl_desc=new g(t.bl_tree,f),t.bi_buf=0,t.bi_valid=0,k(t)}(e),0}(t);return 0===i&&((e=t.state).window_size=2*e.w_size,V(e.head),e.max_lazy_match=st[e.level].max_lazy,e.good_match=st[e.level].good_length,e.nice_match=st[e.level].nice_length,e.max_chain_length=st[e.level].max_chain,e.strstart=0,e.block_start=0,e.lookahead=0,e.insert=0,e.match_length=e.prev_length=2,e.match_available=0,e.ins_h=0),i},_t=function(t,e){var a,n;if(!t||!t.state||e>5||e<0)return t?Q(t,G):G;var r=t.state;if(!t.output||!t.input&&0!==t.avail_in||r.status===P&&4!==e)return Q(t,0===t.avail_out?-5:G);r.strm=t;var i=r.last_flush;if(r.last_flush=e,42===r.status)if(2===r.wrap)t.adler=0,Z(r,31),Z(r,139),Z(r,8),r.gzhead?(Z(r,(r.gzhead.text?1:0)+(r.gzhead.hcrc?2:0)+(r.gzhead.extra?4:0)+(r.gzhead.name?8:0)+(r.gzhead.comment?16:0)),Z(r,255&r.gzhead.time),Z(r,r.gzhead.time>>8&255),Z(r,r.gzhead.time>>16&255),Z(r,r.gzhead.time>>24&255),Z(r,9===r.level?2:r.strategy>=2||r.level<2?4:0),Z(r,255&r.gzhead.os),r.gzhead.extra&&r.gzhead.extra.length&&(Z(r,255&r.gzhead.extra.length),Z(r,r.gzhead.extra.length>>8&255)),r.gzhead.hcrc&&(t.adler=T(t.adler,r.pending_buf,r.pending,0)),r.gzindex=0,r.status=69):(Z(r,0),Z(r,0),Z(r,0),Z(r,0),Z(r,0),Z(r,9===r.level?2:r.strategy>=2||r.level<2?4:0),Z(r,3),r.status=N);else{var h=8+(r.w_bits-8<<4)<<8;h|=(r.strategy>
4=2||r.level<2?0:r.level<6?1:6===r.level?2:3)<<6,0!==r.strstart&&(h|=32),h+=31-h%31,r.status=N,$(r,h),0!==r.strstart&&($(r,t.adler>>>16),$(r,65535&t.adler)),t.adler=1}if(69===r.status)if(r.gzhead.extra){for(a=r.pending;r.gzindex<(65535&r.gzhead.extra.length)&&(r.pending!==r.pending_buf_size||(r.gzhead.hcrc&&r.pending>a&&(t.adler=T(t.adler,r.pending_buf,r.pending-a,a)),X(t),a=r.pending,r.pending!==r.pending_buf_size));)Z(r,255&r.gzhead.extra[r.gzindex]),r.gzindex++;r.gzhead.hcrc&&r.pending>a&&(t.adler=T(t.adler,r.pending_buf,r.pending-a,a)),r.gzindex===r.gzhead.extra.length&&(r.gzindex=0,r.status=73)}else r.status=73;if(73===r.status)if(r.gzhead.name){a=r.pending;do{if(r.pending===r.pending_buf_size&&(r.gzhead.hcrc&&r.pending>a&&(t.adler=T(t.adler,r.pending_buf,r.pending-a,a)),X(t),a=r.pending,r.pending===r.pending_buf_size)){n=1;break}n=r.gzindex<r.gzhead.name.length?255&r.gzhead.name.charCodeAt(r.gzindex++):0,Z(r,n)}while(0!==n);r.gzhead.hcrc&&r.pending>a&&(t.adler=T(t.adler,r.pending_buf,r.pending-a,a)),0===n&&(r.gzindex=0,r.status=91)}else r.status=91;if(91===r.status)if(r.gzhead.comment){a=r.pending;do{if(r.pending===r.pending_buf_size&&(r.gzhead.hcrc&&r.pending>a&&(t.adler=T(t.adler,r.pending_buf,r.pending-a,a)),X(t),a=r.pending,r.pending===r.pending_buf_size)){n=1;break}n=r.gzindex<r.gzhead.comment.length?255&r.gzhead.comment.charCodeAt(r.gzindex++):0,Z(r,n)}while(0!==n);r.gzhead.hcrc&&r.pending>a&&(t.adler=T(t.adler,r.pending_buf,r.pending-a,a)),0===n&&(r.status=K)}else r.status=K;if(r.status===K&&(r.gzhead.hcrc?(r.pending+2>r.pending_buf_size&&X(t),r.pending+2<=r.pending_buf_size&&(Z(r,255&t.adler),Z(r,t.adler>>8&255),t.adler=0,r.status=N)):r.status=N),0!==r.pending){if(X(t),0===t.avail_out)return r.last_flush=-1,0}else if(0===t.avail_in&&R(e)<=R(i)&&4!==e)return Q(t,-5);if(r.status===P&&0!==t.avail_in)return Q(t,-5);if(0!==t.avail_in||0!==r.lookahead||0!==e&&r.status!==P){var l=2===r.strategy?function(t,e){for(var a;;){if(0===t.lookahead&&(at(t),0===t.lookahead)){if(0===e)return 1;break}if(t.match_length=0,a=F(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++,a&&(Y(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,4===e?(Y(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(Y(t,!1),0===t.strm.avail_out)?1:2}(r,e):3===r.strategy?function(t,e){for(var a,n,r,i,s=t.window;;){if(t.lookahead<=H){if(at(t),t.lookahead<=H&&0===e)return 1;if(0===t.lookahead)break}if(t.match_length=0,t.lookahead>=3&&t.strstart>0&&(n=s[r=t.strstart-1])===s[++r]&&n===s[++r]&&n===s[++r]){i=t.strstart+H;do{}while(n===s[++r]&&n===s[++r]&&n===s[++r]&&n===s[++r]&&n===s[++r]&&n===s[++r]&&n===s[++r]&&n===s[++r]&&r<i);t.match_length=H-(i-r),t.match_length>t.lookahead&&(t.match_length=t.lookahead)}if(t.match_length>=3?(a=F(t,1,t.match_length-3),t.lookahead-=t.match_length,t.strstart+=t.match_length,t.match_length=0):(a=F(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++),a&&(Y(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,4===e?(Y(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(Y(t,!1),0===t.strm.avail_out)?1:2}(r,e):st[r.level].func(r,e);if(3!==l&&4!==l||(r.status=P),1===l||3===l)return 0===t.avail_out&&(r.last_flush=-1),0;if(2===l&&(1===e?function(t){m(t,2,3),b(t,256,s),function(t){16===t.bi_valid?(w(t,t.bi_buf),t.bi_buf=0,t.bi_valid=0):t.bi_valid>=8&&(t.pending_buf[t.pending++]=255&t.bi_buf,t.bi_buf>>=8,t.bi_valid-=8)}(t)}(r):5!==e&&(q(r,0,0,!1),3===e&&(V(r.head),0===r.lookahead&&(r.strstart=0,r.block_start=0,r.insert=0))),X(t),0===t.avail_out))return r.last_flush=-1,0}return 4!==e?0:r.wrap<=0?1:(2===r.wrap?(Z(r,255&t.adler),Z(r,t.adler>>8&255),Z(r,t.adler>>16&255),Z(r,t.adler>>24&255),Z(r,255&t.total_in),Z(r,t.total_in>>8&255),Z(r,t.total_in>>16&255),Z(r,t.total_in>>24&255)):($(r,t.adler>>>16),$(r,65535&t.adler)),X(t),r.wrap>0&&(r.wrap=-r.wrap),0!==r.pending?0:1)},ot=function(t){if(!t||!t.state)return G;var e=t.state.status;return 42!==e&&69!==e&&73!==e&&91!==e&&e!==K&&e!==N&&e!==P?Q(t,G):(t.state=null,e===N?Q(t,-3):0)},dt=new Uint8Array(256),ut=0;ut<256;ut++)dt[ut]=ut>=252?6:ut>=248?5:ut>=240?4:ut>=224?3:ut>=192?2:1;dt[254]=dt[254]=1;var ft=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0},ct=Object.prototype.toString;function pt(){this.options={level:-1,method:8,chunkSize:16384,windowBits:15,memLevel:8,strategy:0};var t=this.options;t.raw&&t.windowBits>0?t.windowBits=-t.windowBits:t.gzip&&t.windowBits>0&&t.windowBits<16&&(t.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new ft,this.strm.avail_out=0;var e,a,n=function(t,e,a,n,r,i){if(!t)return G;var s=1;if(-1===e&&(e=6),n<0?(s=0,n=-n):n>15&&(s=2,n-=16),r<1||r>9||8!==a||n<8||n>15||e<0||e>9||i<0||i>4)return Q(t,G);8===n&&(n=9);var h=new ht;return t.state=h,h.strm=t,h.wrap=s,h.gzhead=null,h.w_bits=n,h.w_size=1<<h.w_bits,h.w_mask=h.w_size-1,h.hash_bits=r+7,h.hash_size=1<<h.hash_bits,h.hash_mask=h.hash_size-1,h.hash_shift=~~((h.hash_bits+3-1)/3),h.window=new Uint8Array(2*h.w_size),h.head=new Uint16Array(h.hash_size),h.prev=new Uint16Array(h.w_size),h.lit_bufsize=1<<r+6,h.pending_buf_size=4*h.lit_bufsize,h.pending_buf=new Uint8Array(h.pending_buf_size),h.d_buf=1*h.lit_bufsize,h.l_buf=3*h.lit_bufsize,h.level=e,h.strategy=i,h.method=a,lt(t)}(this.strm,t.level,t.method,t.windowBits,t.memLevel,t.strategy);if(0!==n)throw Error(O[n]);if(t.header&&(e=this.strm,a=t.header,e&&e.state&&(2!==e.state.wrap||(e.state.gzhead=a))),t.dictionary){var r;if(r="[object ArrayBuffer]"===ct.call(t.dictionary)?new Uint8Array(t.dictionary):t.dictionary,0!==(n=function(t,e){var a=e.length;if(!t||!t.state)return G;var n=t.state,r=n.wrap;if(2===r||1===r&&42!==n.status||n.lookahead)return G;if(1===r&&(t.adler=L(t.adler,e,a,0)),n.wrap=0,a>=n.w_size){0===r&&(V(n.head),n.strstart=0,n.block_start=0,n.insert=0);var i=new Uint8Array(n.w_size);
4i.set(e.subarray(a-n.w_size,a),0),e=i,a=n.w_size}var s=t.avail_in,h=t.next_in,l=t.input;for(t.avail_in=a,t.next_in=0,t.input=e,at(n);n.lookahead>=3;){var _=n.strstart,o=n.lookahead-2;do{n.ins_h=W(n,n.ins_h,n.window[_+3-1]),n.prev[_&n.w_mask]=n.head[n.ins_h],n.head[n.ins_h]=_,_++}while(--o);n.strstart=_,n.lookahead=2,at(n)}return n.strstart+=n.lookahead,n.block_start=n.strstart,n.insert=n.lookahead,n.lookahead=0,n.match_length=n.prev_length=2,n.match_available=0,t.next_in=h,t.input=l,t.avail_in=s,n.wrap=r,0}(this.strm,r)))throw Error(O[n]);this._dict_set=!0}}function gt(t,e,a){try{t.postMessage({type:"errored",error:e,streamId:a})}catch(n){t.postMessage({type:"errored",error:e+"",streamId:a})}}function vt(t){const e=t.strm.adler;return new Uint8Array([3,0,e>>>24&255,e>>>16&255,e>>>8&255,255&e])}pt.prototype.push=function(t,e){var a,n,r=this.strm,i=this.options.chunkSize;if(this.ended)return!1;for(n=e===~~e?e:!0===e?4:0,"[object ArrayBuffer]"===ct.call(t)?r.input=new Uint8Array(t):r.input=t,r.next_in=0,r.avail_in=r.input.length;;)if(0===r.avail_out&&(r.output=new Uint8Array(i),r.next_out=0,r.avail_out=i),(2===n||3===n)&&r.avail_out<=6)this.onData(r.output.subarray(0,r.next_out)),r.avail_out=0;else{if(1===(a=_t(r,n)))return r.next_out>0&&this.onData(r.output.subarray(0,r.next_out)),a=ot(this.strm),this.onEnd(a),this.ended=!0,0===a;if(0!==r.avail_out){if(n>0&&r.next_out>0)this.onData(r.output.subarray(0,r.next_out)),r.avail_out=0;else if(0===r.avail_in)break}else this.onData(r.output)}return!0},pt.prototype.onData=function(t){this.chunks.push(t)},pt.prototype.onEnd=function(t){0===t&&(this.result=function(t){for(var e=0,a=0,n=t.length;a<n;a++)e+=t[a].length;for(var r=new Uint8Array(e),i=0,s=0,h=t.length;i<h;i++){var l=t[i];r.set(l,s),s+=l.length}return r}(this.chunks)),this.chunks=[],this.err=t,this.msg=this.strm.msg},function(e=self){try{const a=new Map;e.addEventListener("message",n=>{try{const r=function(e,a){switch(a.action){case"init":return{type:"initialized",version:"6.33.0"};case"write":{let n=e.get(a.streamId);n||(n=new pt,e.set(a.streamId,n));const r=n.chunks.length,i=function(t){if("function"==typeof TextEncoder&&TextEncoder.prototype.encode)return(new TextEncoder).encode(t);let e,a,n,r,i,s=t.length,h=0;for(r=0;r<s;r++)a=t.charCodeAt(r),55296==(64512&a)&&r+1<s&&(n=t.charCodeAt(r+1),56320==(64512&n)&&(a=65536+(a-55296<<10)+(n-56320),r++)),h+=a<128?1:a<2048?2:a<65536?3:4;for(e=new Uint8Array(h),i=0,r=0;i<h;r++)a=t.charCodeAt(r),55296==(64512&a)&&r+1<s&&(n=t.charCodeAt(r+1),56320==(64512&n)&&(a=65536+(a-55296<<10)+(n-56320),r++)),a<128?e[i++]=a:a<2048?(e[i++]=192|a>>>6,e[i++]=128|63&a):a<65536?(e[i++]=224|a>>>12,e[i++]=128|a>>>6&63,e[i++]=128|63&a):(e[i++]=240|a>>>18,e[i++]=128|a>>>12&63,e[i++]=128|a>>>6&63,e[i++]=128|63&a);return e}(a.data);return n.push(i,2),{type:"wrote",id:a.id,streamId:a.streamId,result:t(n.chunks.slice(r)),trailer:vt(n),additionalBytesCount:i.length}}case"reset":e.delete(a.streamId)}}(a,n.data);r&&e.postMessage(r)}catch(t){gt(e,t,n.data&&"streamId"in n.data?n.data.streamId:void 0)}})}catch(t){gt(e,t)}}()})();'])))}let c={status:0};function d(t,e,r){switch(0===c.status&&function(t,e){try{let r=(0,n.B)(l)(t),{stop:s}=(0,i.q)(t,r,"error",r=>{p(t,e,r)}),{stop:u}=(0,i.q)(t,r,"message",({data:r})=>{var n;"errored"===r.type?p(t,e,r.error,r.streamId):"initialized"===r.type&&(n=r.version,1===c.status&&(c={status:3,worker:c.worker,stop:c.stop,version:n}))});r.postMessage({action:"init"}),(0,o.wg)(()=>{var t;return t=e,void(1===c.status&&(a.Vy.error(`${t} failed to start: a timeout occurred while initializing the Worker`),c.initializationFailureCallbacks.forEach(t=>t()),c={status:2}))},3e4),c={status:1,worker:r,stop:()=>{s(),u()},initializationFailureCallbacks:[]}}catch(r){p(t,e,r)}}(t,e),c.status){case 1:return c.initializationFailureCallbacks.push(r),c.worker;case 3:return c.worker}}function f(){return c.status}function p(t,e,r,n){1===c.status||0===c.status?((0,u.i)({configuredUrl:t.workerUrl,error:r,source:e,scriptType:"worker"}),1===c.status&&c.initializationFailureCallbacks.forEach(t=>t()),c={status:2}):(0,s.VJ)(r,{worker_version:3===c.status&&c.version,stream_id:n})}r.d(e,{Ye:function(){return f},u4:function(){return d}})},5301:function(t,e,r){"use strict";let n;function i(t){return l(t).segments_count}function o(t){l(t).segments_count+=1}function a(t){l(t).records_count+=1}function s(t,e){l(t).segments_total_raw_size+=e}function u(t){return null==n?void 0:n.get(t)}function l(t){let e;return n||(n=new Map),n.has(t)?e=n.get(t):(e={records_count:0,segments_count:0,segments_total_raw_size:0},n.set(t,e),n.size>1e3&&function(){if(!n)return;let t=n.keys().next().value;t&&n.delete(t)}()),e}r.d(e,{$1:function(){return a},H5:function(){return o},K_:function(){return i},L7:function(){return s},lv:function(){return u}})},47090:function(t,e,r){"use strict";var n=r(35472),i=r(89797);function o({configuredUrl:t,error:e,source:r,scriptType:a}){var s;
4if(n.Vy.error(`${r} failed to start: an error occurred while initializing the ${a}:`,e),e instanceof Event||e instanceof Error&&((s=e.message).includes("Content Security Policy")||s.includes("requires 'TrustedScriptURL'"))){let e;e=t?`Please make sure the ${a} URL ${t} is correct and CSP is correctly configured.`:"Please make sure CSP is correctly configured.",n.Vy.error(`${e} See documentation at ${n.fH}/integrations/content_security_policy_logs/#use-csp-with-real-user-monitoring-and-session-replay`)}else"worker"===a&&(0,i.VJ)(e)}r.d(e,{i:function(){return o}})},76622:function(t,e){"use strict";e.V=function(t){let e=new AbortController;return e.abort(t),e.signal}},27434:function(t,e){"use strict";e.N=function(t){if(0===t.length)return new AbortController().signal;if(1===t.length)return t[0];for(let e of t)if(e.aborted)return e;let e=new AbortController,r=Array(t.length);return t.forEach((t,n)=>{let i=()=>{for(let n of(e.abort(t.reason),r))n()};t.addEventListener("abort",i),r[n]=()=>t.removeEventListener("abort",i)}),e.signal}},76563:function(t,e){"use strict";e.i=function(t){let e=new AbortController;return setTimeout(()=>{e.abort(new DOMException(`signal timed out after ${t} ms`,"TimeoutError"))},t),e.signal}},63758:function(){!function(t){"use strict";function e(e,r){var n=t.createEvent("Event");n.initEvent(e,!0,!1),r.dispatchEvent(n)}function r(e){return function(r,i){return e!==a.exit||t[n.element]?(t.addEventListener(n.events.change,function e(){r(),t.removeEventListener(n.events.change,e,!1)},!1),void t.addEventListener(n.events.error,function e(){i(TypeError()),t.removeEventListener(n.events.error,e,!1)},!1)):void setTimeout(function(){i(TypeError())},1)}}var n,i,o={w3:{enabled:"fullscreenEnabled",element:"fullscreenElement",request:"requestFullscreen",exit:"exitFullscreen",events:{change:"fullscreenchange",error:"fullscreenerror"}},webkit:{enabled:"webkitFullscreenEnabled",element:"webkitCurrentFullScreenElement",request:"webkitRequestFullscreen",exit:"webkitExitFullscreen",events:{change:"webkitfullscreenchange",error:"webkitfullscreenerror"}},moz:{enabled:"mozFullScreenEnabled",element:"mozFullScreenElement",request:"mozRequestFullScreen",exit:"mozCancelFullScreen",events:{change:"mozfullscreenchange",error:"mozfullscreenerror"}},ms:{enabled:"msFullscreenEnabled",element:"msFullscreenElement",request:"msRequestFullscreen",exit:"msExitFullscreen",events:{change:"MSFullscreenChange",error:"MSFullscreenError"}}},a=o.w3;for(i in o)if(o[i].enabled in t){n=o[i];break}a.enabled in t||!n||(t.addEventListener(n.events.change,function(r){r.stopPropagation(),r.stopImmediatePropagation(),t[a.enabled]=t[n.enabled],t[a.element]=t[n.element],e(a.events.change,r.target)},!1),t.addEventListener(n.events.error,function(t){e(a.events.error,t.target)},!1),t[a.enabled]=t[n.enabled],t[a.element]=t[n.element],t[a.exit]=function(){var e=t[n.exit]();return!e&&Promise?new Promise(r(a.exit)):e},Element.prototype[a.request]=function(){var t=this[n.request].apply(this,arguments);return!t&&Promise?new Promise(r(a.request)):t})}(document)},39212:function(t){var e=function(t){"use strict";var e,r=Object.prototype,n=r.hasOwnProperty,i=Object.defineProperty||function(t,e,r){t[e]=r.value},o="function"==typeof Symbol?Symbol:{},a=o.iterator||"@@iterator",s=o.asyncIterator||"@@asyncIterator",u=o.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function c(t,r,n,o){var a,s,u,l,c=Object.create((r&&r.prototype instanceof g?r:g).prototype);return i(c,"_invoke",{value:(a=t,s=n,u=new x(o||[]),l=f,function(t,r){if(l===p)throw Error("Generator is already running");if(l===h){if("throw"===t)throw r;return{value:e,done:!0}}for(u.method=t,u.arg=r;;){var n=u.delegate;if(n){var i=function t(r,n){var i=n.method,o=r.iterator[i];if(e===o)return(n.delegate=null,"throw"===i&&r.iterator.return&&(n.method="return",n.arg=e,t(r,n),"throw"===n.method))?m:("return"!==i&&(n.method="throw",n.arg=TypeError("The iterator does not provide a '"+i+"' method")),m);var a=d(o,r.iterator,n.arg);if("throw"===a.type)return n.method="throw",n.arg=a.arg,n.delegate=null,m;var s=a.arg;
vendor: 4,448 bytes, line 4
4return s?s.done?(n[r.resultName]=s.value,n.next=r.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,m):s:(n.method="throw",n.arg=TypeError("iterator result is not an object"),n.delegate=null,m)}(n,u);if(i){if(i===m)continue;return i}}if("next"===u.method)u.sent=u._sent=u.arg;else if("throw"===u.method){if(l===f)throw l=h,u.arg;u.dispatchException(u.arg)}else"return"===u.method&&u.abrupt("return",u.arg);l=p;var o=d(a,s,u);if("normal"===o.type){if(l=u.done?h:"suspendedYield",o.arg===m)continue;return{value:o.arg,done:u.done}}"throw"===o.type&&(l=h,u.method="throw",u.arg=o.arg)}})}),c}function d(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=c;var f="suspendedStart",p="executing",h="completed",m={};function g(){}function v(){}function y(){}var _={};l(_,a,function(){return this});var b=Object.getPrototypeOf,w=b&&b(b(R([])));w&&w!==r&&n.call(w,a)&&(_=w);var S=y.prototype=g.prototype=Object.create(_);function k(t){["next","throw","return"].forEach(function(e){l(t,e,function(t){return this._invoke(e,t)})})}function E(t,e){var r;i(this,"_invoke",{value:function(i,o){function a(){return new e(function(r,a){!function r(i,o,a,s){var u=d(t[i],t,o);if("throw"===u.type)s(u.arg);else{var l=u.arg,c=l.value;return c&&"object"==typeof c&&n.call(c,"__await")?e.resolve(c.__await).then(function(t){r("next",t,a,s)},function(t){r("throw",t,a,s)}):e.resolve(c).then(function(t){l.value=t,a(l)},function(t){return r("throw",t,a,s)})}}(i,o,r,a)})}return r=r?r.then(a,a):a()}})}function A(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function x(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(A,this),this.reset(!0)}function R(t){if(null!=t){var r=t[a];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,o=function r(){for(;++i<t.length;)if(n.call(t,i))return r.value=t[i],r.done=!1,r;return r.value=e,r.done=!0,r};return o.next=o}}throw TypeError(typeof t+" is not iterable")}return v.prototype=y,i(S,"constructor",{value:y,configurable:!0}),i(y,"constructor",{value:v,configurable:!0}),v.displayName=l(y,u,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===v||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,y):(t.__proto__=y,l(t,u,"GeneratorFunction")),t.prototype=Object.create(S),t},t.awrap=function(t){return{__await:t}},k(E.prototype),l(E.prototype,s,function(){return this}),t.AsyncIterator=E,t.async=function(e,r,n,i,o){void 0===o&&(o=Promise);var a=new E(c(e,r,n,i),o);return t.isGeneratorFunction(r)?a:a.next().then(function(t){return t.done?t.value:a.next()})},k(S),l(S,u,"Generator"),l(S,a,function(){return this}),l(S,"toString",function(){return"[object Generator]"}),t.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},t.values=R,x.prototype={constructor:x,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(T),!t)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function i(n,i){return s.type="throw",s.arg=t,r.next=n,i&&(r.method="next",r.arg=e),!!i}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],s=a.completion;if("root"===a.tryLoc)return i("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev<a.catchLoc)return i(a.catchLoc,!0);else if(this.prev<a.finallyLoc)return i(a.finallyLoc)}else if(u){if(this.prev<a.catchLoc)return i(a.catchLoc,!0)}else if(l){if(this.prev<a.finallyLoc)return i(a.finallyLoc)}else throw Error("try statement without catch or finally")}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);
4var a=o?o.completion:{};return(a.type=t,a.arg=e,o)?(this.method="next",this.next=o.finallyLoc,m):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),m},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),m}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var i=n.arg;T(r)}return i}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:R(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),m}},t}(t.exports);try{regeneratorRuntime=e}catch(t){"object"==typeof globalThis?globalThis.regeneratorRuntime=e:Function("r","regeneratorRuntime = r")(e)}},89036:function(t,e,r){"use strict";r(39212);var n=r(27434),i=r(76563),o=r(76622);let a=(t,e)=>{t in AbortSignal||Object.defineProperty(AbortSignal,t,{value:e,configurable:!0,writable:!0})};r(63758),"u"<typeof AbortSignal?console.warn("AbortSignal is not defined in this environment. The polyfill will not be installed."):(a("any",n.N),a("timeout",i.i),a("abort",o.V))},51099:function(t,e,r){"use strict";r.d(e,{h:function(){return 0}})},93521:function(t,e,r){"use strict";var n=r(62906),i=r(90563),o=r(57215),a=function(){function t(){(0,n._)(this,t),(0,o._)(this,"_map",void 0),this._map=new Map}return(0,i._)(t,[{key:"getItem",value:function(t){var e=this._map.get(t);return null!=e?e:null}},{key:"setItem",value:function(t,e){var r=null==e?String(e):e;this._map.set(t,r)}},{key:"removeItem",value:function(t){this._map.delete(t)}},{key:"clear",value:function(){this._map.clear()}}]),t}();r.d(e,{R:function(){return a}})},88045:function(t,e,r){"use strict";var n=r(62906),i=r(90563),o=r(57215),a=function(){function t(e,r){(0,n._)(this,t),(0,o._)(this,"_prefix",void 0),(0,o._)(this,"_storage",void 0),this._prefix=e,this._storage=r}return(0,i._)(t,[{key:"get",value:function(t){var e,r=this._storage,n=(e=this._prefix,e+t);return r.getItem(n)}},{key:"getAsync",value:function(t){return Promise.resolve(this.get(t))}},{key:"getJSON",value:function(t){var e=this.get(t);return null===e?null:function(t){try{return JSON.parse(t)}catch(t){return null}}(e)}},{key:"getJSONAsync",value:function(t){return Promise.resolve(this.getJSON(t))}},{key:"set",value:function(t,e){var r,n=this._storage,i=(r=this._prefix,r+t);n.setItem(i,e)}},{key:"setAsync",value:function(t,e){return this.set(t,e),Promise.resolve()}},{key:"setJSON",value:function(t,e){var r=JSON.stringify(e);this.set(t,r)}},{key:"setJSONAsync",value:function(t,e){return this.setJSON(t,e),Promise.resolve()}},{key:"remove",value:function(t){var e,r=this._storage,n=(e=this._prefix,e+t);r.removeItem(n)}},{key:"removeAsync",value:function(t){return this.remove(t),Promise.resolve()}}]),t}();r.d(e,{j:function(){return a}})},75227:function(t,e,r){"use strict";var n=r(93521),i=r(91896);function o(t){var e,r,o;if("string"!=typeof t||""===t)throw TypeError();return(e=(0,i.LG)())&&"localStorage"in e&&e.localStorage&&function(t,e){try{t.setItem(e,"")}catch(t){return!1}return t.removeItem(e),!0}(window.localStorage,t)&&1?(r=window.localStorage,o=window.sessionStorage):(r=new n.R,o=new n.R),{local:r,session:o}}r.d(e,{A:function(){return o}})},26950:function(t,e,r){"use strict";r(74344)},62906:function(t,e,r){"use strict";function n(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}r.d(e,{_:function(){return n}})},90563:function(t,e,r){"use strict";function n(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function i(t,e,r){return e&&n(t.prototype,e),r&&n(t,r),t}r.d(e,{_:function(){return i}})},57215:function(t,e,r){"use strict";function n(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}r.d(e,{_:function(){return n}})}}]);
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.