"use strict";(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[82799],{8678:(e,t,n)=>{n.d(t,{r:()=>a,y:()=>u});var r=n(40812),o=n(64933),i=n(94776);function a(e){var t=(0,i.f0)({version:"5.3.0",onReady:function(e){e()}},e);return Object.defineProperty(t,"_setDebug",{get:function(){return o.yD},enumerable:!1}),t}function u(e,t,n){var o=e[t];e[t]=n,o&&o.q&&o.q.forEach((function(e){return(0,r.Z)(e,"onReady callback threw an error:")()}))}},83206:(e,t,n)=>{n.d(t,{EZ:()=>r,Oo:()=>a,yw:()=>u});var r,o=n(64933),i=n(59693);function a(e,t,n,r,o){return u(e,t,[n],r,o)}function u(e,t,n,r,a){var u=void 0===a?{}:a,c=u.once,s=u.capture,f=u.passive,l=(0,o.zk)((function(t){(t.isTrusted||t.__ddIsTrusted||e.allowUntrustedEvents)&&(c&&p(),r(t))})),d=f?{capture:s,passive:f}:s,v=(0,i.I)(t,"addEventListener");function p(){var e=(0,i.I)(t,"removeEventListener");n.forEach((function(n){return e.call(t,n,l,d)}))}return n.forEach((function(e){return v.call(t,e,l,d)})),{stop:p}}!function(e){e.BEFORE_UNLOAD="beforeunload",e.CLICK="click",e.DBL_CLICK="dblclick",e.KEY_DOWN="keydown",e.LOAD="load",e.POP_STATE="popstate",e.SCROLL="scroll",e.TOUCH_START="touchstart",e.TOUCH_END="touchend",e.TOUCH_MOVE="touchmove",e.VISIBILITY_CHANGE="visibilitychange",e.PAGE_SHOW="pageshow",e.FREEZE="freeze",e.RESUME="resume",e.DOM_CONTENT_LOADED="DOMContentLoaded",e.POINTER_DOWN="pointerdown",e.POINTER_UP="pointerup",e.POINTER_CANCEL="pointercancel",e.HASH_CHANGE="hashchange",e.PAGE_HIDE="pagehide",e.MOUSE_DOWN="mousedown",e.MOUSE_UP="mouseup",e.MOUSE_MOVE="mousemove",e.FOCUS="focus",e.BLUR="blur",e.CONTEXT_MENU="contextmenu",e.RESIZE="resize",e.CHANGE="change",e.INPUT="input",e.PLAY="play",e.PAUSE="pause",e.SECURITY_POLICY_VIOLATION="securitypolicyviolation",e.SELECTION_CHANGE="selectionchange",e.STORAGE="storage"}(r||(r={}))},49647:(e,t,n)=>{n.d(t,{OC:()=>f,WQ:()=>v,d8:()=>c,ej:()=>s,kT:()=>l,oX:()=>d});var r,o,i=n(13842),a=n(25026),u=n(88129);function c(e,t,n,r){var o=new Date;o.setTime(o.getTime()+n);var i="expires=".concat(o.toUTCString()),a=r&&r.crossSite?"none":"strict",u=r&&r.domain?";domain=".concat(r.domain):"",c=r&&r.secure?";secure":"";document.cookie="".concat(e,"=").concat(t,";").concat(i,";path=/;samesite=").concat(a).concat(u).concat(c)}function s(e){return(0,u.MY)(document.cookie,e)}function f(e){return r||(r=(0,u.kq)(document.cookie)),r.get(e)}function l(e,t){c(e,"",0,t)}function d(e){if(void 0===document.cookie||null===document.cookie)return!1;try{var t="dd_cookie_test_".concat((0,u.DO)()),n="test";c(t,n,a.yR,e);var r=s(t)===n;return l(t,e),r}catch(e){return i.jf.error(e),!1}}function v(){if(void 0===o){for(var e="dd_site_test_".concat((0,u.DO)()),t=window.location.hostname.split("."),n=t.pop();t.length&&!s(e);)n="".concat(t.pop(),".").concat(n),c(e,"test",a.WT,{domain:n});l(e,{domain:n}),o=n}return o}},18679:(e,t,n)=>{n.d(t,{y:()=>s});var r,o=n(55801),i=n(64933),a=n(73473),u=n(25026),c=n(70170);function s(){var e;return r||(e=new a.y((function(){if(window.fetch)return(0,o.Su)(window,"fetch",(function(t){return function(n,r){var o,a=(0,i.L6)(f,null,[e,n,r]);return a?(o=t.call(this,a.input,a.init),(0,i.L6)(l,null,[e,o,a])):o=t.call(this,n,r),o}})).stop})),r=e),r}function f(e,t,n){var r=n&&n.method||t instanceof Request&&t.method,o=r?r.toUpperCase():"GET",i=t instanceof Request?t.url:(0,c.D5)(String(t)),a={state:"start",init:n,input:t,method:o,startClocks:(0,u.$I)(),url:i};return e.notify(a),a}function l(e,t,n){var r=function(t){var r=n;r.state="resolve","stack"in t||t instanceof Error?(r.status=0,r.isAborted=t instanceof DOMException&&t.code===DOMException.ABORT_ERR,r.error=t):"status"in t&&(r.response=t,r.responseType=t.type,r.status=t.status,r.isAborted=!1),e.notify(r)};t.then((0,i.zk)(r),(0,i.zk)(r))}},9024:(e,t,n)=>{n.d(t,{PT:()=>f,Pd:()=>s,k$:()=>c});var r=n(57549),o=n(73473),i=n(94776),a=n(251),u=n(83206),c={HIDDEN:"visibility_hidden",UNLOADING:"before_unload",PAGEHIDE:"page_hide",FROZEN:"page_frozen"};function s(e){var t=new o.y((function(){var n=(0,r.W_)(r.uh.PAGEHIDE),o=(0,u.yw)(e,window,[u.EZ.VISIBILITY_CHANGE,u.EZ.FREEZE,u.EZ.PAGE_HIDE],(function(e){e.type===u.EZ.PAGE_HIDE&&n?t.notify({reason:c.PAGEHIDE}):e.type===u.EZ.VISIBILITY_CHANGE&&"hidden"===document.visibilityState?t.notify({reason:c.HIDDEN}):e.type===u.EZ.FREEZE&&t.notify({reason:c.FROZEN})}),{capture:!0}).stop,i=a.Z;return n||(i=(0,u.Oo)(e,window,u.EZ.BEFORE_UNLOAD,(function(){t.notify({reason:c.UNLOADING})})).stop),function(){o(),i()}}));return t}function f(e){return(0,i.q9)((0,i.TT)(c),e)}},10193:(e,t,n)=>{n.d(t,{T:()=>o});var r=n(83206);function o(e,t,n){if(document.readyState===t||"complete"===document.readyState)n();else{var o="complete"===t?r.EZ.LOAD:r.EZ.DOM_CONTENT_LOADED;(0,r.Oo)(e,window,o,n,{once:!0})}}},5343:(e,t,n)=>{n.d(t,{S:()=>l});var r,o=n(55801),i=n(73473),a=n(25026),u=n(70170),c=n(94162),s=n(83206),f=new WeakMap;function l(e){return r||(r=function(e){var t=new i.y((function(){var n=(0,o.Lm)(XMLHttpRequest.prototype,"open",{before:d}).stop,r=(0,o.Lm)(XMLHttpRequest.prototype,"send",{before:function(){v.call(this,e,t)}}).stop,i=(0,o.Lm)(XMLHttpRequest.prototype,"abort",{before:p}).stop;return function(){n(),r(),i()}}));return t}(e)),r}function d(e,t){f.set(this,{state:"open",method:e.toUpperCase(),url:(0,u.D5)(String(t))})}function v(e,t){var n=this,r=f.get(this);if(r){var i=r;i.state="start",i.startClocks=(0,a.$I)(),i.isAborted=!1,i.xhr=this;var u=!1,l=(0,o.Lm)(this,"onreadystatechange",{before:function(){this.readyState===XMLHttpRequest.DONE&&d()}}).stop,d=function(){if(v(),l(),!u){u=!0;var e=r;e.state="complete",e.duration=(0,a._J)(i.startClocks.timeStamp,(0,a.n$)()),e.status=n.status,t.notify((0,c.mv)(e))}},v=(0,s.Oo)(e,this,"loadend",d).stop;t.notify(i)}}function p(){var e=f.get(this);e&&(e.isAborted=!0)}},27662:(e,t,n)=>{n.d(t,{Jj:()=>E,JZ:()=>_,fP:()=>S});var r=n(40812),o=n(13842),i=n(57549),a=n(25026),u=n(73603),c=n(51962),s=n(94162),f=n(94776),l=n(31371),d=n(70170),v=n(88129),p=n(11095);function h(e,t,n){var r=function(e,t){var n="/api/v2/".concat(t),r=e.proxy;if(r){var o=(0,d.D5)(r);return function(e){return"".concat(o,"?ddforward=").concat(encodeURIComponent("".concat(n,"?").concat(e)))}}var i=function(e){var t=e.site,n=void 0===t?p.D_:t,r=e.internalAnalyticsSubdomain;if(r&&n===p.D_)return"".concat(r,".").concat(p.D_);var o=n.split("."),i=o.pop();return"browser-intake-".concat(o.join("-"),".").concat(i)}(e);return function(e){return"https://".concat(i).concat(n,"?").concat(e)}}(e,t);return{build:function(o,u){var c=function(e,t,n,r,o){var u=e.clientToken,c=e.internalAnalyticsSubdomain,s=o.retry,f=o.flushReason,l=o.encoding,d=["sdk_version:".concat("5.3.0"),"api:".concat(r)].concat(n);f&&(0,i.W_)(i.uh.COLLECT_FLUSH_REASON)&&d.push("flush_reason:".concat(f));s&&d.push("retry_count:".concat(s.count),"retry_after:".concat(s.lastFailureStatus));var p=["ddsource=browser","ddtags=".concat(encodeURIComponent(d.join(","))),"dd-api-key=".concat(u),"dd-evp-origin-version=".concat(encodeURIComponent("5.3.0")),"dd-evp-origin=browser","dd-request-id=".concat((0,v.DO)())];l&&p.push("dd-evp-encoding=".concat(l));"rum"===t&&p.push("batch_time=".concat((0,a.n$)()));c&&p.reverse();return p.join("&")}(e,t,n,o,u);return r(c)},urlPrefix:r(""),trackType:t}}var y=200;var m=/[^a-z0-9_:./-]/;function g(e,t){var n=y-e.length-1;(t.length>n||m.test(t))&&o.jf.warn("".concat(e," value doesn't meet tag requirements and will be sanitized"));var r=t.replace(/,/g,"_");return"".concat(e,":").concat(r)}function b(e){var t=function(e){var t=e.env,n=e.service,r=e.version,o=e.datacenter,i=[];return t&&i.push(g("env",t)),n&&i.push(g("service",n)),r&&i.push(g("version",r)),o&&i.push(g("datacenter",o)),i}(e),n=function(e,t){return{logsEndpointBuilder:h(e,"logs",t),rumEndpointBuilder:h(e,"rum",t),sessionReplayEndpointBuilder:h(e,"replay",t)}}(e,t),r=(0,f.TT)(n).map((function(e){return e.urlPrefix})),o=function(e,t,n){if(!e.replica)return;var r=(0,f.f0)({},e,{site:p.D_,clientToken:e.replica.clientToken}),o={logsEndpointBuilder:h(r,"logs",n),rumEndpointBuilder:h(r,"rum",n)};return t.push.apply(t,(0,f.TT)(o).map((function(e){return e.urlPrefix}))),(0,f.f0)({applicationId:e.replica.applicationId},o)}(e,r,t);return(0,f.f0)({isIntakeUrl:function(e){return r.some((function(t){return 0===e.indexOf(t)}))},replica:o,site:e.site||p.D_},n)}var E={ALLOW:"allow",MASK:"mask",MASK_USER_INPUT:"mask-user-input"};function S(e){var t,n,d;if(e&&e.clientToken)if(void 0===e.sessionSampleRate||(0,u.zz)(e.sessionSampleRate))if(void 0===e.telemetrySampleRate||(0,u.zz)(e.telemetrySampleRate)){if(void 0===e.telemetryConfigurationSampleRate||(0,u.zz)(e.telemetryConfigurationSampleRate))return Array.isArray(e.enableExperimentalFeatures)&&(0,i.vn)(e.enableExperimentalFeatures.filter((function(e){return(0,s.E5)(i.uh,e)}))),(0,f.f0)({beforeSend:e.beforeSend&&(0,r.Z)(e.beforeSend,"beforeSend threw an error:"),sessionStoreStrategyType:(0,l.hB)(e),sessionSampleRate:null!==(t=e.sessionSampleRate)&&void 0!==t?t:100,telemetrySampleRate:null!==(n=e.telemetrySampleRate)&&void 0!==n?n:20,telemetryConfigurationSampleRate:null!==(d=e.telemetryConfigurationSampleRate)&&void 0!==d?d:5,service:e.service,silentMultipleInit:!!e.silentMultipleInit,allowUntrustedEvents:!!e.allowUntrustedEvents,batchBytesLimit:16*c.Hi,eventRateLimiterThreshold:3e3,maxTelemetryEventsPerPage:15,flushTimeout:30*a.WT,batchMessagesLimit:50,messageBytesLimit:256*c.Hi},b(e));o.jf.error("Telemetry Configuration Sample Rate should be a number between 0 and 100")}else o.jf.error("Telemetry Sample Rate should be a number between 0 and 100");else o.jf.error("Session Sample Rate should be a number between 0 and 100");else o.jf.error("Client Token is not configured, we will not send any data.")}function _(e){return{session_sample_rate:e.sessionSampleRate,telemetry_sample_rate:e.telemetrySampleRate,telemetry_configuration_sample_rate:e.telemetryConfigurationSampleRate,use_before_send:!!e.beforeSend,use_cross_site_session_cookie:e.useCrossSiteSessionCookie,use_secure_session_cookie:e.useSecureSessionCookie,use_proxy:!!e.proxy,silent_multiple_init:e.silentMultipleInit,track_session_across_subdomains:e.trackSessionAcrossSubdomains,allow_fallback_to_local_storage:!!e.allowFallbackToLocalStorage,store_contexts_across_pages:!!e.storeContextsAcrossPages,allow_untrusted_events:!!e.allowUntrustedEvents}}},11095:(e,t,n)=>{n.d(t,{DZ:()=>r,D_:()=>o,Ds:()=>i,y7:()=>a});var r="datad0g.com",o="datadoghq.com",i="datadoghq.eu",a="ddog-gov.com"},86296:(e,t,n)=>{n.d(t,{a:()=>d});var r=n(45242),o=n(73473),i=n(13842),a=n(64933),u=n(68566),c=n(94776),s=n(19012),f=n(70340),l={};function d(e){var t=e.map((function(e){return l[e]||(l[e]=function(e){var t=new o.y((function(){var n=i.jG[e];return i.jG[e]=function(){for(var o=[],l=0;l{n.d(t,{W:()=>d});var r=n(51962),o=n(251),i=n(92904),a=n(33234),u=n(19012),c=n(68566),s=n(73473),f=n(4326),l=200;function d(e,t){void 0===t&&(t=r.qt);var n,d={},v=!1,p=new s.y,h=(0,o.P)((function(r){n=t((0,u.l)(r)),v||(v=(0,f.H)(n,e))}),l).throttled,y={getBytesCount:function(){return n},getContext:function(){return(0,i.I8)(d)},setContext:function(e){"object"===(0,a.o)(e)?(d=(0,c.N)(e),h(d)):y.clearContext(),p.notify()},setContextProperty:function(e,t){d[e]=(0,c.N)(t),h(d),p.notify()},removeContextProperty:function(e){delete d[e],h(d),p.notify()},clearContext:function(){d={},n=0,p.notify()},changeObservable:p};return y}},4326:(e,t,n)=>{n.d(t,{H:()=>c});var r,o=n(51962),i=n(13842),a=3*o.Hi,u=((r={})[0]="feature flag evaluation",r[1]="user",r[2]="global context",r[3]="logger context",r);function c(e,t){return e>a&&(i.jf.warn("The ".concat(u[t]," data exceeds the recommended ").concat(a/o.Hi,"KiB threshold. More details: https://docs.datadoghq.com/real_user_monitoring/browser/troubleshooting/#customer-data-exceeds-the-recommended-3kib-warning")),!0)}},10311:(e,t,n)=>{n.d(t,{PI:()=>c});var r=n(51962),o=n(83206),i=n(6129),a="_dd_c",u=[];function c(e,t,n,c){void 0===c&&(c=r.qt);var s=function(e,t){return"".concat(a,"_").concat(e,"_").concat(t)}(t,n),f=(0,i.W)(n,c);return l(),u.push((0,o.Oo)(e,window,o.EZ.STORAGE,(function(e){var t=e.key;s===t&&l()}))),f.changeObservable.subscribe((function(){localStorage.setItem(s,JSON.stringify(f.getContext()))})),f;function l(){var e=localStorage.getItem(s),t=null!==e?JSON.parse(e):{};f.setContext(t)}}},70340:(e,t,n)=>{n.d(t,{_:()=>i,f:()=>h});var r=n(94776),o="?";function i(e){var t=[],n=p(e,"stack"),i=String(e);return n&&(0,r.Ny)(n,i)&&(n=n.slice(i.length)),n&&n.split("\n").forEach((function(e){var n=function(e){var t=c.exec(e);if(!t)return;var n=t[2]&&0===t[2].indexOf("native"),r=t[2]&&0===t[2].indexOf("eval"),i=s.exec(t[2]);r&&i&&(t[2]=i[1],t[3]=i[2],t[4]=i[3]);return{args:n?[t[2]]:[],column:t[4]?+t[4]:void 0,func:t[1]||o,line:t[3]?+t[3]:void 0,url:n?void 0:t[2]}}(e)||function(e){var t=f.exec(e);if(!t)return;return{args:[],column:t[3]?+t[3]:void 0,func:o,line:t[2]?+t[2]:void 0,url:t[1]}}(e)||function(e){var t=l.exec(e);if(!t)return;return{args:[],column:t[4]?+t[4]:void 0,func:t[1]||o,line:+t[3],url:t[2]}}(e)||function(e){var t=d.exec(e);if(!t)return;var n=t[3]&&t[3].indexOf(" > eval")>-1,r=v.exec(t[3]);n&&r&&(t[3]=r[1],t[4]=r[2],t[5]=void 0);return{args:t[2]?t[2].split(","):[],column:t[5]?+t[5]:void 0,func:t[1]||o,line:t[4]?+t[4]:void 0,url:t[3]}}(e);n&&(!n.func&&n.line&&(n.func=o),t.push(n))})),{message:p(e,"message"),name:p(e,"name"),stack:t}}var a="((?:file|https?|blob|chrome-extension|native|eval|webpack|snippet||\\w+\\.|\\/).*?)",u="(?::(\\d+))",c=new RegExp("^\\s*at (.*?) ?\\(".concat(a).concat(u,"?").concat(u,"?\\)?\\s*$"),"i"),s=new RegExp("\\((\\S*)".concat(u).concat(u,"\\)"));var f=new RegExp("^\\s*at ?".concat(a).concat(u,"?").concat(u,"??\\s*$"),"i");var l=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i;var d=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)((?:file|https?|blob|chrome|webpack|resource|capacitor|\[native).*?|[^@]*bundle)(?::(\d+))?(?::(\d+))?\s*$/i,v=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i;function p(e,t){if("object"===typeof e&&e&&t in e){var n=e[t];return"string"===typeof n?n:void 0}}function h(e,t,n,r){var o=[{url:t,column:r,line:n}],i=function(e){var t,n,r;"[object String]"==={}.toString.call(e)&&(n=(t=y.exec(e))[1],r=t[2]);return{name:n,message:r}}(e);return{name:i.name,message:i.message,stack:o}}var y=/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?([\s\S]*)$/},45242:(e,t,n)=>{n.d(t,{AP:()=>s,K$:()=>c,P3:()=>l,Xp:()=>v,jN:()=>d,un:()=>f});var r=n(64933),o=n(68566),i=n(251),a=n(19012),u=n(70340),c="No stack, consider using an instance of Error";function s(e){var t=e.stackTrace,n=e.originalError,r=e.handlingStack,i=e.startClocks,s=e.nonErrorPrefix,d=e.source,v=e.handling,p=n instanceof Error,h=function(e,t,n,r){return(null===e||void 0===e?void 0:e.message)&&(null===e||void 0===e?void 0:e.name)?e.message:t?"Empty message":"".concat(n," ").concat((0,a.l)((0,o.N)(r)))}(t,p,s,n),y=function(e,t){if(void 0===t)return!1;if(e)return!0;return t.stack.length>0&&(t.stack.length>1||void 0!==t.stack[0].url)}(p,t)?l(t):c,m=p?function(e,t){var n=e,r=[];for(;(null===n||void 0===n?void 0:n.cause)instanceof Error&&r.length<10;){var o=(0,u._)(n.cause);r.push({message:n.cause.message,source:t,type:null===o||void 0===o?void 0:o.name,stack:o&&l(o)}),n=n.cause}return r.length?r:void 0}(n,d):void 0;return{startClocks:i,source:d,handling:v,handlingStack:r,originalError:n,type:null===t||void 0===t?void 0:t.name,message:h,stack:y,causes:m,fingerprint:f(n)}}function f(e){return e instanceof Error&&"dd_fingerprint"in e?String(e.dd_fingerprint):void 0}function l(e){var t=d(e);return e.stack.forEach((function(e){var n="?"===e.func?"":e.func,r=e.args&&e.args.length>0?"(".concat(e.args.join(", "),")"):"",o=e.line?":".concat(e.line):"",i=e.line&&e.column?":".concat(e.column):"";t+="\n at ".concat(n).concat(r," @ ").concat(e.url).concat(o).concat(i)})),t}function d(e){return"".concat(e.name||"Error",": ").concat(e.message)}function v(){var e,t=new Error;if(!t.stack)try{throw t}catch(e){(0,i.Z)()}return(0,r.L6)((function(){var n=(0,u._)(t);n.stack=n.stack.slice(2),e=l(n)})),e}},42419:(e,t,n)=>{n.d(t,{z:()=>r});var r={AGENT:"agent",CONSOLE:"console",CUSTOM:"custom",LOGGER:"logger",NETWORK:"network",SOURCE:"source",REPORT:"report"}},21315:(e,t,n)=>{n.d(t,{Lp:()=>c});var r=n(55801),o=n(25026),i=n(70340),a=n(45242),u=n(42419);function c(e){var t,n=function(t,n){var r=(0,a.AP)({stackTrace:t,originalError:n,startClocks:(0,o.$I)(),nonErrorPrefix:"Uncaught",source:u.z.SOURCE,handling:"unhandled"});e.notify(r)},c=(t=n,(0,r.Lm)(window,"onerror",{before:function(e,n,r,o,a){var u;u=a instanceof Error?(0,i._)(a):(0,i.f)(e,n,r,o),t(u,null!==a&&void 0!==a?a:e)}})).stop,s=function(e){return(0,r.Lm)(window,"onunhandledrejection",{before:function(t){var n=t.reason||"Empty reason",r=(0,i._)(n);e(r,n)}})}(n).stop;return{stop:function(){c(),s()}}}},15123:(e,t,n)=>{n.d(t,{K:()=>a});var r=n(65483),o=n(25026),i=n(42419);function a(e,t,n){var a=0,u=!1;return{isLimitReached:function(){if(0===a&&(0,r.iK)((function(){a=0}),o.yR),(a+=1)<=t||u)return u=!1,!1;if(a===t+1){u=!0;try{n({message:"Reached max number of ".concat(e,"s by minute: ").concat(t),source:i.z.AGENT,startClocks:(0,o.$I)()})}finally{u=!1}}return!0}}}},73670:(e,t,n)=>{n.d(t,{_:()=>s,v:()=>f});var r=n(45242),o=n(64933),i=n(73473),a=n(83206),u=n(94776),c=n(88129),s={intervention:"intervention",deprecation:"deprecation",cspViolation:"csp_violation"};function f(e,t){var n=[];(0,u.q9)(t,s.cspViolation)&&n.push(function(e){var t=new i.y((function(){return(0,a.Oo)(e,document,a.EZ.SECURITY_POLICY_VIOLATION,(function(e){t.notify(function(e){var t=s.cspViolation,n="'".concat(e.blockedURI,"' blocked by '").concat(e.effectiveDirective,"' directive");return{type:s.cspViolation,subtype:e.effectiveDirective,message:"".concat(t,": ").concat(n),stack:l(e.effectiveDirective,e.originalPolicy?"".concat(n,' of the policy "').concat((0,c._z)(e.originalPolicy,100,"..."),'"'):"no policy",e.sourceFile,e.lineNumber,e.columnNumber)}}(e))})).stop}));return t}(e));var r=t.filter((function(e){return e!==s.cspViolation}));return r.length&&n.push(function(e){var t=new i.y((function(){if(window.ReportingObserver){var n=(0,o.zk)((function(e,n){return e.forEach((function(e){var n,r,o;t.notify((r=(n=e).type,o=n.body,{type:r,subtype:o.id,message:"".concat(r,": ").concat(o.message),stack:l(o.id,o.message,o.sourceFile,o.lineNumber,o.columnNumber)}))}))})),r=new window.ReportingObserver(n,{types:e,buffered:!0});return r.observe(),function(){r.disconnect()}}}));return t}(r)),i.$.apply(void 0,n)}function l(e,t,n,o,i){return n?(0,r.P3)({name:e,message:t,stack:[{func:"?",url:n,line:null!==o&&void 0!==o?o:void 0,column:null!==i&&void 0!==i?i:void 0}]}):void 0}},78981:(e,t,n)=>{n.d(t,{T:()=>o,s:()=>i});var r=n(25026),o=4*r.dV,i=15*r.yR},5135:(e,t,n)=>{n.d(t,{HX:()=>d});var r=n(69029),o=n(25026),i=n(83206),a=n(65483),u=n(78981),c=n(31371),s=o.yR,f=u.T,l=[];function d(e,t,n){var u=(0,c.vH)(e.sessionStoreStrategyType,t,n);l.push((function(){return u.stop()}));var d=new r.P(f);function v(){return{id:u.getSession().id,trackingType:u.getSession()[t]}}return l.push((function(){return d.stop()})),u.renewObservable.subscribe((function(){d.add(v(),(0,o._q)())})),u.expireObservable.subscribe((function(){d.closeActive((0,o._q)())})),u.expandOrRenewSession(),d.add(v(),(0,o.cQ)().relative),function(e,t){var n=(0,i.yw)(e,window,[i.EZ.CLICK,i.EZ.TOUCH_START,i.EZ.KEY_DOWN,i.EZ.SCROLL],t,{capture:!0,passive:!0}).stop;l.push(n)}(e,(function(){return u.expandOrRenewSession()})),function(e,t){var n=function(){"visible"===document.visibilityState&&t()},r=(0,i.Oo)(e,document,i.EZ.VISIBILITY_CHANGE,n).stop;l.push(r);var o=(0,a.Zi)(n,s);l.push((function(){(0,a.cv)(o)}))}(e,(function(){return u.expandSession()})),{findActiveSession:function(e){return d.find(e)},renewObservable:u.renewObservable,expireObservable:u.expireObservable,expire:u.expire}}},31371:(e,t,n)=>{n.d(t,{hB:()=>H,vH:()=>z});var r=n(65483),o=n(73473),i=n(25026),a=n(251),u=n(88129),c=n(78981),s=n(12172),f=n(49647),l="_dd_s",d=n(94162),v=n(94776),p=/^([a-z]+)=([a-z0-9-]+)$/,h="&";function y(e){return(0,d.Qr)(e)}function m(e){e.expire=String((0,i.m6)()+c.s)}function g(e){return(0,v.qP)(e).map((function(e){var t=e[0],n=e[1];return"".concat(t,"=").concat(n)})).join(h)}function b(e){var t={};return function(e){return!!e&&(-1!==e.indexOf(h)||p.test(e))}(e)&&e.split(h).forEach((function(e){var n=p.exec(e);if(null!==n){var r=n[1],o=n[2];t[r]=o}})),t}var E="_dd",S="_dd_r",_="_dd_l",w="rum",O="logs";function C(e){var t=function(e){var t={};t.secure=!!e.useSecureSessionCookie||!!e.useCrossSiteSessionCookie,t.crossSite=!!e.useCrossSiteSessionCookie,e.trackSessionAcrossSubdomains&&(t.domain=(0,f.WQ)());return t}(e);return(0,f.oX)(t)?{type:"Cookie",cookieOptions:t}:void 0}function k(e){var t,n={isLockEnabled:(0,s.mJ)(),persistSession:(t=e,function(e){(0,f.d8)(l,g(e),c.s,t)}),retrieveSession:T,clearSession:R(e)};return function(e){if(!(0,f.OC)(l)){var t=(0,f.OC)(E),n=(0,f.OC)(S),r=(0,f.OC)(_),o={};t&&(o.id=t),r&&/^[01]$/.test(r)&&(o[O]=r),n&&/^[012]$/.test(n)&&(o[w]=n),y(o)||(m(o),e.persistSession(o))}}(n),n}function T(){return b((0,f.ej)(l))}function R(e){return function(){(0,f.kT)(l,e)}}var A="_dd_test_";function L(e){localStorage.setItem(l,g(e))}function x(){return b(localStorage.getItem(l))}function I(){localStorage.removeItem(l)}var D,N=10,P=100,B=[];function j(e,t,n){var r;void 0===n&&(n=0);var o=t.isLockEnabled,i=t.retrieveSession,a=t.persistSession,c=t.clearSession;if(D||(D=e),e===D)if(o&&n>=P)U(t);else{var s,f=i();if(o){if(f.lock)return void M(e,t,n);if(s=(0,u.DO)(),f.lock=s,a(f),(f=i()).lock!==s)return void M(e,t,n)}var l=e.process(f);if(o&&(f=i()).lock!==s)M(e,t,n);else{if(l&&(y(l)?c():(m(l),a(l))),o&&(!l||!y(l))){if((f=i()).lock!==s)return void M(e,t,n);delete f.lock,a(f),l=f}null===(r=e.after)||void 0===r||r.call(e,l||f),U(t)}}else B.push(e)}function M(e,t,n){(0,r.iK)((function(){j(e,t,n+1)}),N)}function U(e){D=void 0;var t=B.shift();t&&j(t,e)}var q=i.WT;function H(e){var t=C(e);return!t&&e.allowFallbackToLocalStorage&&(t=function(){try{var e=(0,u.DO)(),t="".concat(A).concat(e);localStorage.setItem(t,e);var n=localStorage.getItem(t);return localStorage.removeItem(t),e===n?{type:"LocalStorage"}:void 0}catch(e){return}}()),t}function z(e,t,n){var s=new o.y,f=new o.y,l="Cookie"===e.type?k(e.cookieOptions):{isLockEnabled:!1,persistSession:L,retrieveSession:x,clearSession:I},d=l.clearSession,v=l.retrieveSession,p=(0,r.Zi)((function(){j({process:function(e){return g(e)?void 0:{}},after:y},l)}),q),h=function(){var e=v();if(g(e))return e;return{}}();function y(e){return g(e)||(e={}),m()&&(!function(e){return h.id!==e.id||h[t]!==e[t]}(e)?h=e:(h={},f.notify())),e}function m(){return void 0!==h[t]}function g(e){return(void 0===e.created||(0,i.m6)()-Number(e.created){n.d(t,{L7:()=>c,QB:()=>s,Y9:()=>u});var r=n(49647),o="datadog-synthetics-public-id",i="datadog-synthetics-result-id",a="datadog-synthetics-injects-rum";function u(){return Boolean(window._DATADOG_SYNTHETICS_INJECTS_RUM||(0,r.OC)(a))}function c(){var e=window._DATADOG_SYNTHETICS_PUBLIC_ID||(0,r.OC)(o);return"string"===typeof e?e:void 0}function s(){var e=window._DATADOG_SYNTHETICS_RESULT_ID||(0,r.OC)(i);return"string"===typeof e?e:void 0}},2632:(e,t,n)=>{n.d(t,{Uo:()=>C,eJ:()=>w,Sz:()=>O,VG:()=>_,VL:()=>S});var r,o=n(13842),i=n(45242),a=n(57549),u=n(11095),c=n(73473),s=n(25026),f=n(64933),l=n(38971),d=n(94776),v=n(73603),p=n(19012),h=n(92904),y=n(70340),m={log:"log",configuration:"configuration"},g=["https://www.datadoghq-browser-agent.com","https://www.datad0g-browser-agent.com","https://d3uc069fcn7uxw.cloudfront.net","https://d20xtzwzcl0ceb.cloudfront.net","http://localhost",""],b=[u.y7],E={maxEventsPerPage:0,sentEventCount:0,telemetryEnabled:!1,telemetryConfigurationEnabled:!1};function S(e,t){var n,o=new c.y;E.telemetryEnabled=!(0,d.q9)(b,t.site)&&(0,v.y7)(t.telemetrySampleRate),E.telemetryConfigurationEnabled=E.telemetryEnabled&&(0,v.y7)(t.telemetryConfigurationSampleRate);var i={is_local_file:"file:"===window.location.protocol,is_worker:"WorkerGlobalScope"in self};return r=function(t){if(E.telemetryEnabled){var r=function(e,t,r){return(0,h.$e)({type:"telemetry",date:(0,s.n$)(),service:e,version:"5.3.0",source:"browser",_dd:{format_version:2},telemetry:(0,h.$e)(t,{runtime_env:r}),experimental_features:(0,d.Oc)((0,a.u0)())},void 0!==n?n():{})}(e,t,i);o.notify(r),(0,l.j)("telemetry",r)}},(0,f.P_)(O),(0,d.f0)(E,{maxEventsPerPage:t.maxTelemetryEventsPerPage,sentEventCount:0}),{setContextProvider:function(e){n=e},observable:o,enabled:E.telemetryEnabled}}function _(e){return e.site===u.DZ}function w(e,t){(0,f.DV)(o.vA.debug,e,t),k((0,d.f0)({type:m.log,message:e,status:"debug"},t))}function O(e,t){k((0,d.f0)({type:m.log,status:"error"},function(e){if(e instanceof Error){var t=(0,y._)(e);return{error:{kind:t.name,stack:(0,i.P3)(T(t))},message:t.message}}return{error:{stack:i.K$},message:"".concat("Uncaught"," ").concat((0,p.l)(e))}}(e),t))}function C(e){E.telemetryConfigurationEnabled&&k({type:m.configuration,configuration:e})}function k(e){r&&E.sentEventCount{n.d(t,{I:()=>a,z:()=>u});var r=n(13842),o=n(33234),i=n(94776);function a(e){var t=(0,i.f0)({},e);return["id","name","email"].forEach((function(e){e in t&&(t[e]=String(t[e]))})),t}function u(e){var t="object"===(0,o.o)(e);return t||r.jf.error("Unsupported user:",e),t}},29307:(e,t,n)=>{n.d(t,{l:()=>r});var r=function(){function e(){this.callbacks={}}return e.prototype.notify=function(e,t){var n=this.callbacks[e];n&&n.forEach((function(e){return e(t)}))},e.prototype.subscribe=function(e,t){var n=this;return this.callbacks[e]||(this.callbacks[e]=[]),this.callbacks[e].push(t),{unsubscribe:function(){n.callbacks[e]=n.callbacks[e].filter((function(e){return t!==e}))}}},e}()},68783:(e,t,n)=>{n.d(t,{S:()=>r});var r=function(){function e(){this.buffer=[]}return e.prototype.add=function(e){this.buffer.push(e)>500&&this.buffer.splice(0,1)},e.prototype.drain=function(){this.buffer.forEach((function(e){return e()})),this.buffer.length=0},e}()},40812:(e,t,n)=>{n.d(t,{Z:()=>o});var r=n(13842);function o(e,t){return function(){for(var n=[],o=0;o{n.d(t,{jG:()=>o,jf:()=>u,vA:()=>r});var r={log:"log",debug:"debug",info:"info",warn:"warn",error:"error"},o=console,i={};Object.keys(r).forEach((function(e){i[e]=o[e]}));var a="Datadog Browser SDK:",u={debug:i.debug.bind(o,a),log:i.log.bind(o,a),info:i.info.bind(o,a),warn:i.warn.bind(o,a),error:i.error.bind(o,a)}},83895:(e,t,n)=>{n.d(t,{G:()=>o});var r=n(51962);function o(){var e="",t=0;return{isAsync:!1,get isEmpty(){return!e},write:function(n,o){var i=(0,r.qt)(n);t+=i,e+=n,o&&o(i)},finish:function(e){e(this.finishSync())},finishSync:function(){var n={output:e,outputBytesCount:t,rawBytesCount:t,pendingData:""};return e="",t=0,n},estimateEncodedBytesCount:function(e){return e.length}}}},57549:(e,t,n)=>{var r;n.d(t,{W_:()=>a,u0:()=>u,uh:()=>r,vn:()=>i}),function(e){e.PAGEHIDE="pagehide",e.FEATURE_FLAGS="feature_flags",e.RESOURCE_PAGE_STATES="resource_page_states",e.COLLECT_FLUSH_REASON="collect_flush_reason",e.SCROLLMAP="scrollmap",e.WEB_VITALS_ATTRIBUTION="web_vitals_attribution",e.DISABLE_REPLAY_INLINE_CSS="disable_replay_inline_css"}(r||(r={}));var o=new Set;function i(e){e.forEach((function(e){o.add(e)}))}function a(e){return o.has(e)}function u(){return o}},49271:(e,t,n)=>{function r(){if("object"===typeof globalThis)return globalThis;Object.defineProperty(Object.prototype,"_dd_temp_",{get:function(){return this},configurable:!0});var e=_dd_temp_;return delete Object.prototype._dd_temp_,"object"!==typeof e&&(e="object"===typeof self?self:"object"===typeof window?window:{}),e}n.d(t,{R:()=>r})},59693:(e,t,n)=>{n.d(t,{I:()=>o});var r=n(49271);function o(e,t){var n,o=(0,r.R)();return o.Zone&&"function"===typeof o.Zone.__symbol__&&(n=e[o.Zone.__symbol__(t)]),n||(n=e[t]),n}},55801:(e,t,n)=>{n.d(t,{Lm:()=>i,Su:()=>o});var r=n(64933);function o(e,t,n){var r=e[t],o=n(r),i=function(){if("function"===typeof o)return o.apply(this,arguments)};return e[t]=i,{stop:function(){e[t]===i?e[t]=r:o=r}}}function i(e,t,n){var i=n.before,a=n.after;return o(e,t,(function(e){return function(){var t,n=arguments;return i&&(0,r.L6)(i,this,n),"function"===typeof e&&(t=e.apply(this,n)),a&&(0,r.L6)(a,this,n),t}}))}},95562:(e,t,n)=>{n.d(t,{o:()=>a,v:()=>u});var r=n(94776),o=n(13842),i=n(33234);function a(e){var t=(0,i.o)(e);return"string"===t||"function"===t||e instanceof RegExp}function u(e,t,n){return void 0===n&&(n=!1),e.some((function(e){try{if("function"===typeof e)return e(t);if(e instanceof RegExp)return e.test(t);if("string"===typeof e)return n?(0,r.Ny)(t,e):e===t}catch(e){o.jf.error(e)}return!1}))}},92904:(e,t,n)=>{n.d(t,{$e:()=>a,I8:()=>i});var r=n(33234);function o(e,t,n){if(void 0===n&&(n=function(){if("undefined"!==typeof WeakSet){var e=new WeakSet;return{hasAlreadyBeenSeen:function(t){var n=e.has(t);return n||e.add(t),n}}}var t=[];return{hasAlreadyBeenSeen:function(e){var n=t.indexOf(e)>=0;return n||t.push(e),n}}}()),void 0===t)return e;if("object"!==typeof t||null===t)return t;if(t instanceof Date)return new Date(t.getTime());if(t instanceof RegExp){var i=t.flags||[t.global?"g":"",t.ignoreCase?"i":"",t.multiline?"m":"",t.sticky?"y":"",t.unicode?"u":""].join("");return new RegExp(t.source,i)}if(!n.hasAlreadyBeenSeen(t)){if(Array.isArray(t)){for(var a=Array.isArray(e)?e:[],u=0;u{n.d(t,{DV:()=>l,L6:()=>f,P_:()=>u,yD:()=>c,zk:()=>s});var r,o=n(13842),i=function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o{n.d(t,{$:()=>o,y:()=>r});var r=function(){function e(e){this.onFirstSubscribe=e,this.observers=[]}return e.prototype.subscribe=function(e){var t=this;return!this.observers.length&&this.onFirstSubscribe&&(this.onLastUnsubscribe=this.onFirstSubscribe()||void 0),this.observers.push(e),{unsubscribe:function(){t.observers=t.observers.filter((function(t){return e!==t})),!t.observers.length&&t.onLastUnsubscribe&&t.onLastUnsubscribe()}}},e.prototype.notify=function(e){this.observers.forEach((function(t){return t(e)}))},e}();function o(){for(var e=[],t=0;t{n.d(t,{n:()=>i});var r=n(64933),o=n(251);function i(e,t,n){var i=e.getReader(),a=[],u=0;function c(){var e,r;if(i.cancel().catch(o.Z),n.collectStreamBody){var c;if(1===a.length)c=a[0];else{c=new Uint8Array(u);var s=0;a.forEach((function(e){c.set(e,s),s+=e.length}))}e=c.slice(0,n.bytesLimit),r=c.length>n.bytesLimit}t(void 0,e,r)}!function e(){i.read().then((0,r.zk)((function(t){t.done?c():(n.collectStreamBody&&a.push(t.value),(u+=t.value.length)>n.bytesLimit?c():e())})),(0,r.zk)((function(e){return t(e)})))}()}},38971:(e,t,n)=>{function r(e,t){var n=window.__ddBrowserSdkExtensionCallback;n&&n({type:e,payload:t})}n.d(t,{j:()=>r})},19012:(e,t,n)=>{n.d(t,{l:()=>o,y:()=>i});var r=n(251);function o(e,t,n){if("object"!==typeof e||null===e)return JSON.stringify(e);var r=i(Object.prototype),o=i(Array.prototype),a=i(Object.getPrototypeOf(e)),u=i(e);try{return JSON.stringify(e,t,n)}catch(e){return""}finally{r(),o(),a(),u()}}function i(e){var t=e,n=t.toJSON;return n?(delete t.toJSON,function(){t.toJSON=n}):r.Z}},68566:(e,t,n)=>{n.d(t,{N:()=>s});var r=n(13842),o=n(51962),i=n(19012),a=220*o.Hi,u="$",c=3;function s(e,t){var n;void 0===t&&(t=a);var r=(0,i.y)(Object.prototype),o=(0,i.y)(Array.prototype),s=[],d=new WeakMap,v=f(e,u,void 0,s,d),p=(null===(n=JSON.stringify(v))||void 0===n?void 0:n.length)||0;if(!(p>t)){for(;s.length>0&&pt){l(t,"truncated",e);break}h.target[m]=g}else for(var m in h.source)if(Object.prototype.hasOwnProperty.call(h.source,m)){var g;if(void 0!==(g=f(h.source[m],h.path,m,s,d))&&(p+=JSON.stringify(g).length+y+m.length+c,y=1),p>t){l(t,"truncated",e);break}h.target[m]=g}}return r(),o(),v}l(t,"discarded",e)}function f(e,t,n,r,o){var i=function(e){var t=e;if(t&&"function"===typeof t.toJSON)try{return t.toJSON()}catch(e){}return e}(e);if(!i||"object"!==typeof i)return function(e){if("bigint"===typeof e)return"[BigInt] ".concat(e.toString());if("function"===typeof e)return"[Function] ".concat(e.name||"unknown");if("symbol"===typeof e)return"[Symbol] ".concat(e.description||e.toString());return e}(i);var a=function(e){try{if(e instanceof Event)return{isTrusted:e.isTrusted};var t=Object.prototype.toString.call(e).match(/\[object (.*)\]/);if(t&&t[1])return"[".concat(t[1],"]")}catch(e){}return"[Unserializable]"}(i);if("[Object]"!==a&&"[Array]"!==a&&"[Error]"!==a)return a;var u=e;if(o.has(u))return"[Reference seen at ".concat(o.get(u),"]");var c=void 0!==n?"".concat(t,".").concat(n):t,s=Array.isArray(i)?[]:{};return o.set(u,c),r.push({source:i,target:s,path:c}),s}function l(e,t,n){r.jf.warn("The data provided has been ".concat(t," as it is over the limit of ").concat(e," characters:"),n)}},65483:(e,t,n)=>{n.d(t,{Zi:()=>c,cv:()=>s,gr:()=>u,iK:()=>a});var r=n(59693),o=n(64933),i=n(49271);function a(e,t){return(0,r.I)((0,i.R)(),"setTimeout")((0,o.zk)(e),t)}function u(e){(0,r.I)((0,i.R)(),"clearTimeout")(e)}function c(e,t){return(0,r.I)((0,i.R)(),"setInterval")((0,o.zk)(e),t)}function s(e){(0,r.I)((0,i.R)(),"clearInterval")(e)}},12172:(e,t,n)=>{function r(){return 0===a()}function o(){return 1===a()}var i;function a(){return null!==i&&void 0!==i?i:i=function(e){var t;void 0===e&&(e=window);var n=e.navigator.userAgent;if(e.chrome||/HeadlessChrome/.test(n))return 1;if(0===(null===(t=e.navigator.vendor)||void 0===t?void 0:t.indexOf("Apple"))||/safari/i.test(n)&&!/chrome|android/i.test(n))return 2;if(e.document.documentMode)return 0;return 3}()}n.d(t,{mJ:()=>o,w1:()=>r})},51962:(e,t,n)=>{n.d(t,{Hi:()=>r,X9:()=>o,qt:()=>a});var r=1024,o=1024*r,i=/[^\u0000-\u007F]/;function a(e){return i.test(e)?void 0!==window.TextEncoder?(new TextEncoder).encode(e).length:new Blob([e]).size:e.length}},251:(e,t,n)=>{n.d(t,{P:()=>o,Z:()=>i});var r=n(65483);function o(e,t,n){var o,i,a=!n||void 0===n.leading||n.leading,u=!n||void 0===n.trailing||n.trailing,c=!1;return{throttled:function(){for(var n=[],s=0;s{function r(e){return 0!==e&&100*Math.random()<=e}function o(e,t){return+e.toFixed(t)}function i(e){return a(e)&&e>=0&&e<=100}function a(e){return"number"===typeof e}n.d(t,{NM:()=>o,hj:()=>a,y7:()=>r,zz:()=>i})},94162:(e,t,n)=>{n.d(t,{E5:()=>i,Q8:()=>u,Qr:()=>a,mv:()=>o});var r=n(94776);function o(e){return(0,r.f0)({},e)}function i(e,t){return Object.keys(e).some((function(n){return e[n]===t}))}function a(e){return 0===Object.keys(e).length}function u(e,t){for(var n={},r=0,o=Object.keys(e);r{function r(e,t){return-1!==e.indexOf(t)}function o(e){if(Array.from)return Array.from(e);var t=[];if(e instanceof Set)e.forEach((function(e){return t.push(e)}));else for(var n=0;n=0;n-=1){var r=e[n];if(t(r,n,e))return r}}function u(e){return Object.keys(e).map((function(t){return e[t]}))}function c(e){return Object.keys(e).map((function(t){return[t,e[t]]}))}function s(e,t){return e.slice(0,t.length)===t}function f(e,t){return e.slice(-t.length)===t}function l(e,t){return e.matches?e.matches(t):!!e.msMatchesSelector&&e.msMatchesSelector(t)}function d(e){return window.CSS&&window.CSS.escape?window.CSS.escape(e):e.replace(/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g,(function(e,t){return t?"\0"===e?"�":"".concat(e.slice(0,-1),"\\").concat(e.charCodeAt(e.length-1).toString(16)," "):"\\".concat(e)}))}function v(e){for(var t=[],n=1;nl,Ny:()=>s,Oc:()=>o,QA:()=>d,TT:()=>u,dF:()=>a,f0:()=>v,pn:()=>f,q9:()=>r,qP:()=>c,sE:()=>i})},29100:(e,t,n)=>{function r(e){return e>=500}function o(e){try{return e.clone()}catch(e){return}}n.d(t,{o:()=>r,u:()=>o})},88129:(e,t,n)=>{function r(e){return e?(parseInt(e,10)^16*Math.random()>>parseInt(e,10)/4).toString(16):"".concat(1e7,"-").concat(1e3,"-").concat(4e3,"-").concat(8e3,"-").concat(1e11).replace(/[018]/g,r)}n.d(t,{DO:()=>r,MY:()=>i,_z:()=>u,kq:()=>a});var o=/([\w-]+)\s*=\s*([^;]+)/g;function i(e,t){for(o.lastIndex=0;;){var n=o.exec(e);if(!n)break;if(n[1]===t)return n[2]}}function a(e){var t=new Map;for(o.lastIndex=0;;){var n=o.exec(e);if(!n)break;t.set(n[1],n[2])}return t}function u(e,t,n){void 0===n&&(n="");var r=e.charCodeAt(t-1),o=r>=55296&&r<=56319?t+1:t;return e.length<=o?e:"".concat(e.slice(0,o)).concat(n)}},25026:(e,t,n)=>{n.d(t,{$I:()=>y,Cn:()=>S,DY:()=>s,QA:()=>l,WK:()=>b,WT:()=>i,_J:()=>g,_q:()=>h,c0:()=>d,cQ:()=>m,dV:()=>u,m6:()=>v,n$:()=>p,ni:()=>E,yR:()=>a});var r,o=n(73603),i=1e3,a=60*i,u=60*a,c=365*(24*u);function s(e){return{relative:e,timeStamp:f(e)}}function f(e){var t=v()-performance.now();return t>_()?Math.round(b(t,e)):function(e){return Math.round(b(_(),e))}(e)}function l(){return Math.round(v()-b(_(),performance.now()))}function d(e){return(0,o.hj)(e)?(0,o.NM)(1e6*e,0):e}function v(){return(new Date).getTime()}function p(){return v()}function h(){return performance.now()}function y(){return{relative:h(),timeStamp:p()}}function m(){return{relative:0,timeStamp:_()}}function g(e,t){return t-e}function b(e,t){return e+t}function E(e){return e-_()}function S(e){return e{function r(e){return null===e?"null":Array.isArray(e)?"array":typeof e}n.d(t,{o:()=>r})},70170:(e,t,n)=>{n.d(t,{D5:()=>o,jv:()=>i,ye:()=>a});var r=n(19012);function o(e){return u(e,f(window.location)).href}function i(e){try{return!!u(e)}catch(e){return!1}}function a(e){var t=u(e).pathname;return"/"===t[0]?t:"/".concat(t)}function u(e,t){var n=function(){if(void 0===c)try{var e=new s("http://test/path");c="http://test/path"===e.href}catch(e){c=!1}return c?s:void 0}();if(n)try{return void 0!==t?new n(e,t):new n(e)}catch(n){throw new Error("Failed to construct URL: ".concat(String(n)," ").concat((0,r.l)({url:e,base:t})))}if(void 0===t&&!/:/.test(e))throw new Error("Invalid URL: '".concat(e,"'"));var o=document,i=o.createElement("a");if(void 0!==t){var a=(o=document.implementation.createHTMLDocument("")).createElement("base");a.href=t,o.head.appendChild(a),o.body.appendChild(i)}return i.href=e,i}var c,s=URL;function f(e){if(e.origin&&"null"!==e.origin)return e.origin;var t=e.host.replace(/(:80|:443)$/,"");return"".concat(e.protocol,"//").concat(t)}},69029:(e,t,n)=>{n.d(t,{P:()=>u});var r=n(65483),o=n(25026),i=1/0,a=o.yR,u=function(){function e(e,t){var n=this;this.expireDelay=e,this.maxEntries=t,this.entries=[],this.clearOldValuesInterval=(0,r.Zi)((function(){return n.clearOldValues()}),a)}return e.prototype.add=function(e,t){var n=this,r={value:e,startTime:t,endTime:i,remove:function(){var e=n.entries.indexOf(r);e>=0&&n.entries.splice(e,1)},close:function(e){r.endTime=e}};return this.maxEntries&&this.entries.length>=this.maxEntries&&this.entries.pop(),this.entries.unshift(r),r},e.prototype.find=function(e){void 0===e&&(e=i);for(var t=0,n=this.entries;t0&&this.entries[this.entries.length-1].endTime{n.d(t,{A:()=>i,x:()=>a});var r=n(94776),o=n(49271);function i(){var e=(0,o.R)().DatadogEventBridge;if(e)return{getAllowedWebViewHosts:function(){return JSON.parse(e.getAllowedWebViewHosts())},send:function(t,n){e.send(JSON.stringify({eventType:t,event:n}))}}}function a(e){var t;void 0===e&&(e=null===(t=(0,o.R)().location)||void 0===t?void 0:t.hostname);var n=i();return!!n&&n.getAllowedWebViewHosts().some((function(t){return e===t||(0,r.pn)(e,".".concat(t))}))}},78817:(e,t,n)=>{n.d(t,{W:()=>I});var r=n(13842),o=n(94776),i=n(9024),a=n(19012),u=n(51962),c=function(){function e(e,t,n,r){var o=this;this.encoder=e,this.request=t,this.flushController=n,this.messageBytesLimit=r,this.upsertBuffer={},this.flushSubscription=this.flushController.flushObservable.subscribe((function(e){return o.flush(e)}))}return e.prototype.add=function(e){this.addOrUpdate(e)},e.prototype.upsert=function(e,t){this.addOrUpdate(e,t)},e.prototype.stop=function(){this.flushSubscription.unsubscribe()},e.prototype.flush=function(e){var t=(0,o.TT)(this.upsertBuffer).join("\n");this.upsertBuffer={};var n=(0,i.PT)(e.reason),r=n?this.request.sendOnExit:this.request.send;if(n&&this.encoder.isAsync){var a=this.encoder.finishSync();a.outputBytesCount&&r(s(a,e));var c=[a.pendingData,t].filter(Boolean).join("\n");c&&r({data:c,bytesCount:(0,u.qt)(c),flushReason:e.reason})}else t&&this.encoder.write(this.encoder.isEmpty?t:"\n".concat(t)),this.encoder.finish((function(t){r(s(t,e))}))},e.prototype.addOrUpdate=function(e,t){var n=(0,a.l)(e),o=this.encoder.estimateEncodedBytesCount(n);o>=this.messageBytesLimit?r.jf.warn("Discarded a message whose size was bigger than the maximum allowed size ".concat(this.messageBytesLimit,"KB.")):(this.hasMessageFor(t)&&this.remove(t),this.push(n,o,t))},e.prototype.push=function(e,t,n){var r=this;this.flushController.notifyBeforeAddMessage(t),void 0!==n?(this.upsertBuffer[n]=e,this.flushController.notifyAfterAddMessage()):this.encoder.write(this.encoder.isEmpty?e:"\n".concat(e),(function(e){r.flushController.notifyAfterAddMessage(e-t)}))},e.prototype.remove=function(e){var t=this.upsertBuffer[e];delete this.upsertBuffer[e];var n=this.encoder.estimateEncodedBytesCount(t);this.flushController.notifyAfterRemoveMessage(n)},e.prototype.hasMessageFor=function(e){return void 0!==e&&void 0!==this.upsertBuffer[e]},e}();function s(e,t){return{data:"string"===typeof e.output?e.output:new Blob([e.output],{type:"text/plain"}),bytesCount:e.outputBytesCount,encoding:e.encoding,flushReason:t.reason}}var f=n(2632),l=n(64933),d=n(83206),v=n(65483),p=n(25026),h=n(29100),y=n(42419),m=80*u.Hi,g=32,b=3*u.X9,E=p.yR,S=p.WT;function _(e,t,n,r,o){0===t.transportStatus&&0===t.queuedPayloads.size()&&t.bandwidthMonitor.canHandle(e)?O(e,t,n,{onSuccess:function(){return C(0,t,n,r,o)},onFailure:function(){t.queuedPayloads.enqueue(e),w(t,n,r,o)}}):t.queuedPayloads.enqueue(e)}function w(e,t,n,r){2===e.transportStatus&&(0,v.iK)((function(){O(e.queuedPayloads.first(),e,t,{onSuccess:function(){e.queuedPayloads.dequeue(),e.currentBackoffTime=S,C(1,e,t,n,r)},onFailure:function(){e.currentBackoffTime=Math.min(E,2*e.currentBackoffTime),w(e,t,n,r)}})}),e.currentBackoffTime)}function O(e,t,n,r){var o=r.onSuccess,i=r.onFailure;t.bandwidthMonitor.add(e),n(e,(function(n){t.bandwidthMonitor.remove(e),!function(e){return"opaque"!==e.type&&(0===e.status&&!navigator.onLine||408===e.status||429===e.status||(0,h.o)(e.status))}(n)?(t.transportStatus=0,o()):(t.transportStatus=t.bandwidthMonitor.ongoingRequestCount>0?1:2,e.retry={count:e.retry?e.retry.count+1:1,lastFailureStatus:n.status},i())}))}function C(e,t,n,r,o){0===e&&t.queuedPayloads.isFull()&&!t.queueFullReported&&(o({message:"Reached max ".concat(r," events size queued for upload: ").concat(b/u.X9,"MiB"),source:y.z.AGENT,startClocks:(0,p.$I)()}),t.queueFullReported=!0);var i=t.queuedPayloads;for(t.queuedPayloads=k();i.size()>0;)_(i.dequeue(),t,n,r,o)}function k(){var e=[];return{bytesCount:0,enqueue:function(t){this.isFull()||(e.push(t),this.bytesCount+=t.bytesCount)},first:function(){return e[0]},dequeue:function(){var t=e.shift();return t&&(this.bytesCount-=t.bytesCount),t},size:function(){return e.length},isFull:function(){return this.bytesCount>=b}}}function T(e,t,n,r){var o={transportStatus:0,currentBackoffTime:S,bandwidthMonitor:{ongoingRequestCount:0,ongoingByteCount:0,canHandle:function(e){return 0===this.ongoingRequestCount||this.ongoingByteCount+e.bytesCount<=m&&this.ongoingRequestCount=r&&d("bytes_limit"),l+=1,f+=e,void 0===t&&(t=(0,v.iK)((function(){d("duration_limit")}),o))},notifyAfterAddMessage:function(e){void 0===e&&(e=0),f+=e,l>=n?d("messages_limit"):f>=r&&d("bytes_limit")},notifyAfterRemoveMessage:function(e){f-=e,0===(l-=1)&&p()}}}function I(e,t,n,r,o,i){var a=s(e,t),u=n&&s(e,n);function s(e,t){var n=t.endpoint,a=t.encoder;return new c(a,T(e,n,e.batchBytesLimit,r),x({messagesLimit:e.batchMessagesLimit,bytesLimit:e.batchBytesLimit,durationLimit:e.flushTimeout,pageExitObservable:o,sessionExpireObservable:i}),e.messageBytesLimit)}return{flushObservable:a.flushController.flushObservable,add:function(e,t){void 0===t&&(t=!0),a.add(e),u&&t&&u.add(n.transformMessage?n.transformMessage(e):e)},upsert:function(e,t){a.upsert(e,t),u&&u.upsert(n.transformMessage?n.transformMessage(e):e,t)},stop:function(){a.stop(),null===u||void 0===u||u.stop()}}}}}]); //# sourceMappingURL=82799.js.map