PageSourceSearch

https://static.ranker.com/_next/static/chunks/4034-9662cb472e3c75cc.js

js ranker.com collected 2026-09-24 08:25:01 UTC 174,737 bytes, 8 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4034],{8678:(t,e,n)=>{"use strict";n.d(e,{r:()=>a,y:()=>s});var r=n(40812),i=n(64933),o=n(94776);function a(t){var e=(0,o.f0)({version:"4.50.0",onReady:function(t){t()}},t);return Object.defineProperty(e,"_setDebug",{get:function(){return i.yD},enumerable:!1}),e}function s(t,e,n){var i=t[e];t[e]=n,i&&i.q&&i.q.forEach(function(t){return(0,r.Z)(t,"onReady callback threw an error:")()})}},83206:(t,e,n)=>{"use strict";n.d(e,{O:()=>o,y:()=>a});var r=n(64933),i=n(59693);function o(t,e,n,r,i){return a(t,e,[n],r,i)}function a(t,e,n,o,a){var s=void 0===a?{}:a,u=s.once,c=s.capture,l=s.passive,d=(0,r.zk)(u?function(t){v(),o(t)}:o),f=l?{capture:c,passive:l}:c,p=(0,i.I)(e,"addEventListener");function v(){var t=(0,i.I)(e,"removeEventListener");n.forEach(function(n){return t.call(e,n,d,f)})}return n.forEach(function(t){return p.call(e,t,d,f)}),{stop:v}}},49647:(t,e,n)=>{"use strict";n.d(e,{WQ:()=>d,d8:()=>s,ej:()=>u,kT:()=>c,oX:()=>l});var r,i=n(13842),o=n(25026),a=n(88129);function s(t,e,n,r){var i=new Date;i.setTime(i.getTime()+n);var o="expires=".concat(i.toUTCString()),a=r&&r.crossSite?"none":"strict",s=r&&r.domain?";domain=".concat(r.domain):"",u=r&&r.secure?";secure":"";document.cookie="".concat(t,"=").concat(e,";").concat(o,";path=/;samesite=").concat(a).concat(s).concat(u)}function u(t){return(0,a.MY)(document.cookie,t)}function c(t,e){s(t,"",0,e)}function l(t){if(void 0===document.cookie||null===document.cookie)return!1;try{var e="dd_cookie_test_".concat((0,a.DO)()),n="test";s(e,n,o.yR,t);var r=u(e)===n;return c(e,t),r}catch(t){return i.jf.error(t),!1}}function d(){if(void 0===r){for(var t="dd_site_test_".concat((0,a.DO)()),e=window.location.hostname.split("."),n=e.pop();e.length&&!u(t);)n="".concat(e.pop(),".").concat(n),s(t,"test",o.WT,{domain:n});c(t,{domain:n}),r=n}return r}},18679:(t,e,n)=>{"use strict";n.d(e,{y:()=>c});var r,i=n(55801),o=n(64933),a=n(73473),s=n(25026),u=n(70170);function c(){var t;return r||(r=t=new a.y(function(){if(window.fetch)return(0,i.Su)(window,"fetch",function(e){return function(n,r){var i,a=(0,o.L6)(l,null,[t,n,r]);return a?(i=e.call(this,a.input,a.init),(0,o.L6)(d,null,[t,i,a])):i=e.call(this,n,r),i}}).stop})),r}function l(t,e,n){var r=n&&n.method||e instanceof Request&&e.method||"GET",i=e instanceof Request?e.url:(0,u.D5)(String(e)),o={state:"start",init:n,input:e,method:r,startClocks:(0,s.$I)(),url:i};return t.notify(o),o}function d(t,e,n){var r=function(e){n.state="resolve","stack"in e||e instanceof Error?(n.status=0,n.isAborted=e instanceof DOMException&&e.code===DOMException.ABORT_ERR,n.error=e):"status"in e&&(n.response=e,n.responseType=e.type,n.status=e.status,n.isAborted=!1),t.notify(n)};e.then((0,o.zk)(r),(0,o.zk)(r))}},9024:(t,e,n)=>{"use strict";n.d(e,{PT:()=>l,Pd:()=>c,k$:()=>u});var r=n(57549),i=n(73473),o=n(94776),a=n(251),s=n(83206),u={HIDDEN:"visibility_hidden",UNLOADING:"before_unload",PAGEHIDE:"page_hide",FROZEN:"page_frozen"};function c(t){var e=new i.y(function(){var n=(0,r.W_)(r.uh.PAGEHIDE),i=(0,s.y)(t,window,["visibilitychange","freeze","pagehide"],function(t){"pagehide"===t.type&&n?e.notify({reason:u.PAGEHIDE}):"visibilitychange"===t.type&&"hidden"===document.visibilityState?e.notify({reason:u.HIDDEN}):"freeze"===t.type&&e.notify({reason:u.FROZEN})},{capture:!0}).stop,o=a.Z;return n||(o=(0,s.O)(t,window,"beforeunload",function(){e.notify({reason:u.UNLOADING})}).stop),function(){i(),o()}});return e}function l(t){return(0,o.q9)((0,o.TT)(u),t)}},5343:(t,e,n)=>{"use strict";n.d(e,{S:()=>d});var r,i=n(55801),o=n(73473),a=n(25026),s=n(70170),u=n(94162),c=n(83206),l=new WeakMap;function d(t){var e;return r||(r=e=new o.y(function(){var n=(0,i.Lm)(XMLHttpRequest.prototype,"open",{before:f}).stop,r=(0,i.Lm)(XMLHttpRequest.prototype,"send",{before:function(){p.call(this,t,e)}}).stop,o=(0,i.Lm)(XMLHttpRequest.prototype,"abort",{before:v}).stop;return function(){n(),r(),o()}})),r}function f(t,e){l.set(this,{state:"open",method:t,url:(0,s.D5)(String(e))})}function p(t,e){var n=this,r=l.get(this);if(r){r.state="start",r.startTime=(0,a._q)(),r.startClocks=(0,a.$I)(),r.isAborted=!1,r.xhr=this;var o=!1,s=(0,i.Lm)(this,"onreadystatechange",{before:function(){this.readyState===XMLHttpRequest.DONE&&d()}}).stop,d=function(){f(),s(),o||(o=!0,r.state="complete",r.duration=(0,a._J)(r.startClocks.timeStamp,(0,a.n$)()),r.status=n.status,e.notify((0,u.mv)(r)))},f=(0,c.O)(t,this,"loadend",d).stop;e.notify(r)}}function v(){var t=l.get(this);t&&(t.isAborted=!0)}},59665:(t,e,n)=>{"use strict";n.d(e,{Jj:()=>b,JZ:()=>S,fP:()=>w});var r=n(40812),i=n(13842),o=n(57549),a=n(25026),s=n(73603),u=n(51962),c=n(94162),l=n(94776),d=n(43691),f=n(70170),p=n(88129),v=n(11095),h={logs:"logs",rum:"rum",sessionReplay:"session-replay"},g={logs:"logs",rum:"rum",sessionReplay:"replay"};function m(t,e,n){var r=function(t,e){var n="/api/v2/".concat(g[e]),r=t.proxy,i=t.proxyUrl;if(r){var o=(0,f.D5)(r);return function(t){return"".concat(o,"?ddforward=").concat(encodeURIComponent("".concat(n,"?").concat(t)))}}var a=function(t,e){var n=t.site,r=void 0===n?v.D_:n,i=t.internalAnalyticsSubdomain;if(i&&r===v.D_)return"".concat(i,".").concat(v.D_);var o=r.split("."),a=o.pop(),s=r!==v.G8?"".concat(h[e],"."):"";return"".concat(s,"browser-intake-").concat(o.join("-"),".").concat(a)}(t,e);if(void 0===r&&i){var s=(0,f.D5)(i);return function(t){return"".concat(s,"?ddforward=").concat(encodeURIComponent("https://".concat(a).concat(n,"?").concat(t)))}}return function(t){return"https://".concat(a).concat(n,"?").concat(t)}}(t,e);return{build:function(i,s){var u,c,l,d,f,v,h;return r((u=t.clientToken,c=t.internalAnalyticsSubdomain,l=s.retry,d=s.flushReason,f=s.encoding,v=["sdk_version:".concat("4.50.0"),"api:".concat(i)].concat(n),d&&(0,o.W_)(o.uh.COLLECT_FLUSH_REASON)&&v.push("flush_reason:".concat(d)),l&&v.push("retry_count:".concat(l.count),"retry_after:".concat(l.lastFailureStatus)),h=["ddsource=browser","ddtags=".concat(encodeURIComponent(v.join(","))),"dd-api-key=".concat(u),"dd-evp-origin-version=".concat(encodeURIComponent("4.50.0")),"dd-evp-origin=browser","dd-request-id=".concat((0,p.DO)())],f&&h.push("dd-evp-encoding=".concat(f)),"rum"===e&&h.push("batch_time=".concat((0,a.n$)())),c&&h.reverse(),h.join("&")))},urlPrefix:r(""),endpointType:e}}var _=/[^a-z0-9_:./-]/;function y(t,e){var n=200-t.length-1;(e.length>n||_.test(e))&&i.jf.warn("".concat(t," value doesn't meet tag requirements and will be sanitized"));var r=e.replace(/,/g,"_");return"".concat(t,":").concat(r)}var b={ALLOW:"allow",MASK:"mask",MASK_USER_INPUT:"mask-user-input"};function w(t){if(!t||!t.clientToken){i.jf.error("Client Token is not configured, we will not send any data.");return}var e,n,f,p,h,g,_,b,w,S,T,k=null!==(w=t.sessionSampleRate)&&void 0!==w?w:t.sampleRate;if(void 0!==k&&!(0,s.zz)(k)){i.jf.error("Session Sample Rate should be a number between 0 and 100");return}if(void 0!==t.telemetrySampleRate&&!(0,s.zz)(t.telemetrySampleRate)){i.jf.error("Telemetry Sample Rate should be a number between 0 and 100");return}if(void 0!==t.telemetryConfigurationSampleRate&&!(0,s.zz)(t.telemetryConfigurationSampleRate)){i.jf.error("Telemetry Configuration Sample Rate should be a number between 0 and 100");return}return Array.isArray(t.enableExperimentalFeatures)&&(0,o.vn)(t.enableExperimentalFeatures.filter(function(t){return(0,c.E5)(o.uh,t)})),(0,l.f0)({beforeSend:t.beforeSend&&(0,r.Z)(t.beforeSend,"beforeSend threw an error:"),sessionStoreStrategyType:(0,d.hB)(t),sessionSampleRate:null!=k?k:100,telemetrySampleRate:null!==(S=t.telemetrySampleRate)&&void 0!==S?S:20,telemetryConfigurationSampleRate:null!==(T=t.telemetryConfigurationSampleRate)&&void 0!==T?T:5,service:t.service,silentMultipleInit:!!t.silentMultipleInit,batchBytesLimit:16*u.Hi,eventRateLimiterThreshold:3e3,maxTelemetryEventsPerPage:15,flushTimeout:30*a.WT,batchMessagesLimit:50,messageBytesLimit:256*u.Hi},(e=t.env,n=t.service,f=t.version,p=t.datacenter,h=[],e&&h.push(y("env",e)),n&&h.push(y("service",n)),f&&h.push(y("version",f)),p&&h.push(y("datacenter",p)),g={logsEndpointBuilder:m(t,"logs",h),rumEndpointBuilder:m(t,"rum",h),sessionReplayEndpointBuilder:m(t,"sessionReplay",h)},b=function(t,e,n){if(t.replica){var r=(0,l.f0)({},t,{site:v.D_,clientToken:t.replica.clientToken}),i={logsEndpointBuilder:m(r,"logs",n),rumEndpointBuilder:m(r,"rum",n)};return e.push.apply(e,(0,l.TT)(i).map(function(t){return t.urlPrefix})),(0,l.f0)({applicationId:t.replica.applicationId},i)}}(t,_=(0,l.TT)(g).map(function(t){return t.urlPrefix}),h),(0,l.f0)({isIntakeUrl:function(t){return _.some(function(e){return 0===t.indexOf(e)})},replica:b,site:t.site||v.D_},g)))}function S(t){var e,n,r=null!==(e=t.proxy)&&void 0!==e?e:t.proxyUrl;return{session_sample_rate:null!==(n=t.sessionSampleRate)&&void 0!==n?n:t.sampleRate,telemetry_sample_rate:t.telemetrySampleRate,telemetry_configuration_sample_rate:t.telemetryConfigurationSampleRate,use_before_send:!!t.beforeSend,use_cross_site_session_cookie:t.useCrossSiteSessionCookie,use_secure_session_cookie:t.useSecureSessionCookie,use_proxy:void 0!==r?!!r:void 0,silent_multiple_init:t.silentMultipleInit,track_session_across_subdomains:t.trackSessionAcrossSubdomains,track_resources:t.trackResources,track_long_task:t.trackLongTasks,allow_fallback_to_local_storage:!!t.allowFallbackToLocalStorage,store_contexts_across_pages:!!t.storeContextsAcrossPages}}},11095:(t,e,n)=>{"use strict";n.d(e,{DZ:()=>r,D_:()=>i,Ds:()=>o,G8:()=>a,y7:()=>s});var r="datad0g.com",i="datadoghq.com",o="datadoghq.eu",a="ap1.datadoghq.com",s="ddog-gov.com"},86296:(t,e,n)=>{"use strict";n.d(e,{a:()=>f});var r=n(1307),i=n(45242),o=n(73473),a=n(13842),s=n(64933),u=n(68566),c=n(94776),l=n(19012),d={};function f(t){var e=t.map(function(t){var e;return d[t]||(d[t]=e=new o.y(function(){var n=a.jG[t];return a.jG[t]=function(){for(var o=[],d=0;d<arguments.length;d++)o[d]=arguments[d];n.apply(console,o);var f=(0,i.Xp)();(0,s.L6)(function(){e.notify(function(t,e,n){var o,s,d=t.map(function(t){return"string"==typeof t?(0,u.N)(t):t instanceof Error?(0,i.jN)((0,r._)(t)):(0,l.l)((0,u.N)(t),void 0,2)}).join(" ");if(e===a.vA.error){var f=(0,c.sE)(t,function(t){return t instanceof Error});o=f?(0,i.P3)((0,r._)(f)):void 0,s=(0,i.un)(f),d="console error: ".concat(d)}return{api:e,message:d,stack:o,handlingStack:n,fingerprint:s}}(o,t,f))})},function(){a.jG[t]=n}})),d[t]});return o.$.apply(void 0,e)}},6129:(t,e,n)=>{"use strict";n.d(e,{W:()=>d});var r=n(51962),i=n(251),o=n(92904),a=n(33234),s=n(19012),u=n(68566),c=n(73473),l=n(4326);function d(t,e){void 0===e&&(e=r.qt);var n,d={},f=!1,p=new c.y,v=(0,i.P)(function(r){n=e((0,s.l)(r)),f||(f=(0,l.H)(n,t))},200).throttled,h={getBytesCount:function(){return n},get:function(){return d},add:function(t,e){d[t]=e,v(d),p.notify()},remove:function(t){delete d[t],v(d),p.notify()},set:function(t){v(d=t),p.notify()},getContext:function(){return(0,o.I8)(d)},setContext:function(t){"object"===(0,a.o)(t)?v(d=(0,u.N)(t)):h.clearContext(),p.notify()},setContextProperty:function(t,e){d[t]=(0,u.N)(e),v(d),p.notify()},removeContextProperty:function(t){delete d[t],v(d),p.notify()},clearContext:function(){d={},n=0,p.notify()},changeObservable:p};return h}},4326:(t,e,n)=>{"use strict";n.d(e,{H:()=>u});var r,i=n(51962),o=n(13842),a=3*i.Hi,s=((r={})[0]="feature flag evaluation",r[1]="user",r[2]="global context",r[3]="logger context",r);function u(t,e){return t>a&&(o.jf.warn("The ".concat(s[e]," data exceeds the recommended ").concat(a/i.Hi,"KiB threshold. More details: https://docs.datadoghq.com/real_user_monitoring/browser/troubleshooting/#customer-data-exceeds-the-recommended-3kib-warning")),!0)}},10311:(t,e,n)=>{"use strict";n.d(e,{PI:()=>s});var r=n(51962),i=n(83206),o=n(6129),a=[];function s(t,e,n,s){void 0===s&&(s=r.qt);var u="".concat("_dd_c","_").concat(e,"_").concat(n),c=(0,o.W)(n,s);return l(),a.push((0,i.O)(t,window,"storage",function(t){u===t.key&&l()})),c.changeObservable.subscribe(function(){localStorage.setItem(u,JSON.stringify(c.getContext()))}),c;function l(){var t=localStorage.getItem(u),e=null!==t?JSON.parse(t):{};c.setContext(e)}}},45242:(t,e,n)=>{"use strict";n.d(e,{AP:()=>c,K$:()=>u,P3:()=>d,Xp:()=>v,jN:()=>p,u5:()=>f,un:()=>l});var r=n(1307),i=n(64933),o=n(68566),a=n(251),s=n(19012),u="No stack, consider using an instance of Error";function c(t){var e=t.stackTrace,n=t.originalError,i=t.handlingStack,a=t.startClocks,c=t.nonErrorPrefix,f=t.source,p=t.handling,v=n instanceof Error,h=(null==e?void 0:e.message)&&(null==e?void 0:e.name)?e.message:v?"Empty message":"".concat(c," ").concat((0,s.l)((0,o.N)(n))),g=void 0!==e&&(v||e.stack.length>0&&(e.stack.length>1||void 0!==e.stack[0].url))?d(e):u,m=v?function(t,e){for(var n=t,i=[];(null==n?void 0:n.cause)instanceof Error&&i.length<10;){var o=(0,r._)(n.cause);i.push({message:n.cause.message,source:e,type:null==o?void 0:o.name,stack:o&&d(o)}),n=n.cause}return i.length?i:void 0}(n,f):void 0,_=null==e?void 0:e.name,y=l(n);return{startClocks:a,source:f,handling:p,handlingStack:i,originalError:n,type:_,message:h,stack:g,causes:m,fingerprint:y}}function l(t){return t instanceof Error&&"dd_fingerprint"in t?String(t.dd_fingerprint):void 0}function d(t){var e=p(t);return t.stack.forEach(function(t){var n="?"===t.func?"<anonymous>":t.func,r=t.args&&t.args.length>0?"(".concat(t.args.join(", "),")"):"",i=t.line?":".concat(t.line):"",o=t.line&&t.column?":".concat(t.column):"";e+="\n  at ".concat(n).concat(r," @ ").concat(t.url).concat(i).c
1oncat(o)}),e}function f(t){var e;return null===(e=/@ (.+)/.exec(t))||void 0===e?void 0:e[1]}function p(t){return"".concat(t.name||"Error",": ").concat(t.message)}function v(){var t,e=Error();if(!e.stack)try{throw e}catch(t){(0,a.Z)()}return(0,i.L6)(function(){var n=(0,r._)(e);n.stack=n.stack.slice(2),t=d(n)}),t}},42419:(t,e,n)=>{"use strict";n.d(e,{z:()=>r});var r={AGENT:"agent",CONSOLE:"console",CUSTOM:"custom",LOGGER:"logger",NETWORK:"network",SOURCE:"source",REPORT:"report"}},6299:(t,e,n)=>{"use strict";n.d(e,{L:()=>c});var r=n(25026),i=n(55801),o=n(1307),a=/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?([\s\S]*)$/,s=n(45242),u=n(42419);function c(t){var e,n,c,l;return n=(l=e=function(e,n){t.notify((0,s.AP)({stackTrace:e,originalError:n,startClocks:(0,r.$I)(),nonErrorPrefix:"Uncaught",source:u.z.SOURCE,handling:"unhandled"}))},(0,i.Lm)(window,"onerror",{before:function(t,e,n,r,i){var s;if(i instanceof Error)s=(0,o._)(i);else{var u,c,d,f=("[object String]"===({}).toString.call(t)&&(c=(u=a.exec(t))[1],d=u[2]),{name:c,message:d});s={name:f.name,message:f.message,stack:[{url:e,column:r,line:n}]}}l(s,null!=i?i:t)}})).stop,c=(0,i.Lm)(window,"onunhandledrejection",{before:function(t){var n=t.reason||"Empty reason";e((0,o._)(n),n)}}).stop,{stop:function(){n(),c()}}}},15123:(t,e,n)=>{"use strict";n.d(e,{K:()=>a});var r=n(65483),i=n(25026),o=n(42419);function a(t,e,n){var a=0,s=!1;return{isLimitReached:function(){if(0===a&&(0,r.iK)(function(){a=0},i.yR),(a+=1)<=e||s)return s=!1,!1;if(a===e+1){s=!0;try{n({message:"Reached max number of ".concat(t,"s by minute: ").concat(e),source:o.z.AGENT,startClocks:(0,i.$I)()})}finally{s=!1}}return!0}}}},73670:(t,e,n)=>{"use strict";n.d(e,{_:()=>c,v:()=>l});var r=n(45242),i=n(64933),o=n(73473),a=n(83206),s=n(94776),u=n(88129),c={intervention:"intervention",deprecation:"deprecation",cspViolation:"csp_violation"};function l(t,e){var n,r,l=[];(0,s.q9)(e,c.cspViolation)&&l.push(n=new o.y(function(){return(0,a.O)(t,document,"securitypolicyviolation",function(t){var e,r;n.notify((e=c.cspViolation,r="'".concat(t.blockedURI,"' blocked by '").concat(t.effectiveDirective,"' directive"),{type:c.cspViolation,subtype:t.effectiveDirective,message:"".concat(e,": ").concat(r),stack:d(t.effectiveDirective,t.originalPolicy?"".concat(r,' of the policy "').concat((0,u._z)(t.originalPolicy,100,"..."),'"'):"no policy",t.sourceFile,t.lineNumber,t.columnNumber)}))}).stop}));var f=e.filter(function(t){return t!==c.cspViolation});return f.length&&l.push(r=new o.y(function(){if(window.ReportingObserver){var t=(0,i.zk)(function(t,e){return t.forEach(function(t){var e,n;r.notify({type:e=t.type,subtype:(n=t.body).id,message:"".concat(e,": ").concat(n.message),stack:d(n.id,n.message,n.sourceFile,n.lineNumber,n.columnNumber)})})}),e=new window.ReportingObserver(t,{types:f,buffered:!0});return e.observe(),function(){e.disconnect()}}})),o.$.apply(void 0,l)}function d(t,e,n,i,o){return n?(0,r.P3)({name:t,message:e,stack:[{func:"?",url:n,line:null!=i?i:void 0,column:null!=o?o:void 0}]}):void 0}},78981:(t,e,n)=>{"use strict";n.d(e,{T:()=>i,s:()=>o});var r=n(25026),i=4*r.dV,o=15*r.yR},5135:(t,e,n)=>{"use strict";n.d(e,{HX:()=>f});var r=n(69029),i=n(25026),o=n(83206),a=n(65483),s=n(78981),u=n(43691),c=i.yR,l=s.T,d=[];function f(t,e,n){var s,f,p,v,h,g,m=(0,u.vH)(t.sessionStoreStrategyType,e,n);d.push(function(){return m.stop()});var _=new r.P(l);function y(){return{id:m.getSession().id,trackingType:m.getSession()[e]}}return d.push(function(){return _.stop()}),m.renewObservable.subscribe(function(){_.add(y(),(0,i._q)())}),m.expireObservable.subscribe(function(){_.closeActive((0,i._q)())}),m.expandOrRenewSession(),_.add(y(),(0,i.cQ)().relative),s=function(){return m.expandOrRenewSession()},f=(0,o.y)(t,window,["click","touchstart","keydown","scroll"],s,{capture:!0,passive:!0}).stop,d.push(f),p=function(){return m.expandSession()},v=function(){"visible"===document.visibilityState&&p()},h=(0,o.O)(t,document,"visibilitychange",v).stop,d.push(h),g=(0,a.Zi)(v,c),d.push(function(){(0,a.cv)(g)}),{findActiveSession:function(t){return _.find(t)},renewObservable:m.renewObservable,expireObservable:m.expireObservable,expire:m.expire}}},43691:(t,e,n)=>{"use strict";n.d(e,{hB:()=>R,vH:()=>I});var r,i=n(65483),o=n(73473),a=n(25026),s=n(251),u=n(88129),c=n(78981),l=n(12172),d=n(49647),f="_dd_s",p=n(94162),v=n(94776),h=/^([a-z]+)=([a-z0-9-]+)$/;function g(t){return(0,p.Qr)(t)}function m(t){t.expire=String((0,a.m6)()+c.s)}function _(t){return(0,v.qP)(t).map(function(t){var e=t[0],n=t[1];return"".concat(e,"=").concat(n)}).join("&")}function y(t){var e={};return t&&(-1!==t.indexOf("&")||h.test(t))&&t.split("&").forEach(function(t){var n=h.exec(t);if(null!==n){var r=n[1],i=n[2];e[r]=i}}),e}function b(){return y((0,d.ej)(f))}function w(t){localStorage.setItem(f,_(t))}function S(){return y(localStorage.getItem(f))}function T(){localStorage.removeItem(f)}var k=[];function E(t,e,n){void 0===n&&(n=0);var i,o,a=e.isLockEnabled,s=e.retrieveSession,c=e.persistSession,l=e.clearSession;if(r||(r=t),t!==r){k.push(t);return}if(a&&n>=100){C(e);return}var d=s();if(a&&(d.lock||(o=(0,u.DO)(),d.lock=o,c(d),(d=s()).lock!==o))){x(t,e,n);return}var f=t.process(d);if(a&&(d=s()).lock!==o){x(t,e,n);return}
1if(f&&(g(f)?l():(m(f),c(f))),a&&!(f&&g(f))){if((d=s()).lock!==o){x(t,e,n);return}delete d.lock,c(d),f=d}null===(i=t.after)||void 0===i||i.call(t,f||d),C(e)}function x(t,e,n){(0,i.iK)(function(){E(t,e,n+1)},10)}function C(t){r=void 0;var e=k.shift();e&&E(e,t)}var A=a.WT;function R(t){var e,n=((e={}).secure=!!t.useSecureSessionCookie||!!t.useCrossSiteSessionCookie,e.crossSite=!!t.useCrossSiteSessionCookie,t.trackSessionAcrossSubdomains&&(e.domain=(0,d.WQ)()),(0,d.oX)(e)?{type:"Cookie",cookieOptions:e}:void 0);return!n&&t.allowFallbackToLocalStorage&&(n=function(){try{var t=(0,u.DO)(),e="".concat("_dd_test_").concat(t);localStorage.setItem(e,t);var n=localStorage.getItem(e);return localStorage.removeItem(e),t===n?{type:"LocalStorage"}:void 0}catch(t){return}}()),n}function I(t,e,n){var r,p,v,h=new o.y,y=new o.y,k="Cookie"===t.type?(p=t.cookieOptions,!function(t){if(!(0,d.ej)(f)){var e=(0,d.ej)("_dd"),n=(0,d.ej)("_dd_r"),r=(0,d.ej)("_dd_l"),i={};e&&(i.id=e),r&&/^[01]$/.test(r)&&(i.logs=r),n&&/^[012]$/.test(n)&&(i.rum=n),g(i)||(m(i),t.persistSession(i))}}(v={isLockEnabled:(0,l.m)(),persistSession:function(t){(0,d.d8)(f,_(t),c.s,p)},retrieveSession:b,clearSession:function(){(0,d.kT)(f,p)}}),v):{isLockEnabled:!1,persistSession:w,retrieveSession:S,clearSession:T},x=k.clearSession,C=k.retrieveSession,R=(0,i.Zi)(function(){E({process:function(t){return L(t)?void 0:{}},after:O},k)},A),I=L(r=C())?r:{};function O(t){var n;return L(t)||(t={}),N()&&((n=t,I.id!==n.id||I[e]!==n[e])?(I={},y.notify()):I=t),t}function N(){return void 0!==I[e]}function L(t){return(void 0===t.created||(0,a.m6)()-Number(t.created)<c.T)&&(void 0===t.expire||(0,a.m6)()<Number(t.expire))}return{expandOrRenewSession:(0,s.P)(function(){var t;E({process:function(r){var i,o,s,c=O(r);return o=(i=n(c[e])).trackingType,s=i.isTracked,c[e]=o,s&&!c.id&&(c.id=(0,u.DO)(),c.created=String((0,a.m6)())),t=s,c},after:function(e){t&&!N()&&(I=e,h.notify()),I=e}},k)},A).throttled,expandSession:function(){E({process:function(t){return N()?O(t):void 0}},k)},getSession:function(){return I},renewObservable:h,expireObservable:y,expire:function(){x(),O({})},stop:function(){(0,i.cv)(R)}}}},99262:(t,e,n)=>{"use strict";n.d(e,{L7:()=>o,QB:()=>a,Y9:()=>i});var r=n(49647);function i(){return!!(window._DATADOG_SYNTHETICS_INJECTS_RUM||(0,r.ej)("datadog-synthetics-injects-rum"))}function o(){var t=window._DATADOG_SYNTHETICS_PUBLIC_ID||(0,r.ej)("datadog-synthetics-public-id");return"string"==typeof t?t:void 0}function a(){var t=window._DATADOG_SYNTHETICS_RESULT_ID||(0,r.ej)("datadog-synthetics-result-id");return"string"==typeof t?t:void 0}},18797:(t,e,n)=>{"use strict";n.d(e,{Uo:()=>E,eJ:()=>T,Sz:()=>k,VG:()=>S,VL:()=>w});var r,i=n(13842),o=n(45242),a=n(57549),s=n(11095),u=n(1307),c=n(73473),l=n(25026),d=n(64933),f=n(38971),p=n(94776),v=n(73603),h=n(19012),g=n(92904),m={log:"log",configuration:"configuration"},_=["https://www.datadoghq-browser-agent.com","https://www.datad0g-browser-agent.com","https://d3uc069fcn7uxw.cloudfront.net","https://d20xtzwzcl0ceb.cloudfront.net","http://localhost","<anonymous>"],y=[s.y7],b={maxEventsPerPage:0,sentEventCount:0,telemetryEnabled:!1,telemetryConfigurationEnabled:!1};function w(t,e){var n,i=new c.y;b.telemetryEnabled=!(0,p.q9)(y,e.site)&&(0,v.y7)(e.telemetrySampleRate),b.telemetryConfigurationEnabled=b.telemetryEnabled&&(0,v.y7)(e.telemetryConfigurationSampleRate);var o={is_local_file:"file:"===window.location.protocol,is_worker:"WorkerGlobalScope"in self};return r=function(e){if(b.telemetryEnabled){var r=(0,g.$e)({type:"telemetry",date:(0,l.n$)(),service:t,version:"4.50.0",source:"browser",_dd:{format_version:2},telemetry:(0,g.$e)(e,{runtime_env:o}),experimental_features:(0,p.Oc)((0,a.u0)())},void 0!==n?n():{});i.notify(r),(0,f.j)("telemetry",r)}},(0,d.P_)(k),(0,p.f0)(b,{maxEventsPerPage:e.maxTelemetryEventsPerPage,sentEventCount:0}),{setContextProvider:function(t){n=t},observable:i,enabled:b.telemetryEnabled}}function S(t){return t.site===s.DZ}function T(t,e){(0,d.DV)(i.vA.debug,t,e),x((0,p.f0)({type:m.log,message:t,status:"debug"},e))}function k(t,e){x((0,p.f0)({type:m.log,status:"error"},function(t){if(t instanceof Error){var e=(0,u._)(t);return{error:{kind:e.name,stack:(0,o.P3)((e.stack=e.stack.filter(function(t){return!t.url||_.some(function(e){return(0,p.Ny)(t.url,e)})}),e))},message:e.message}}return{error:{stack:o.K$},message:"".concat("Uncaught"," ").concat((0,h.l)(t))}}(t),e))}function E(t){b.telemetryConfigurationEnabled&&x({type:m.configuration,configuration:t})}function x(t){r&&b.sentEventCount<b.maxEventsPerPage&&(b.sentEventCount+=1,r(t))}},1307:(t,e,n)=>{"use strict";n.d(e,{_:()=>i});var r=n(94776);function i(t){var e=[],n=p(t,"stack"),i=String(t);return n&&(0,r.Ny)(n,i)&&(n=n.slice(i.length)),n&&n.split("\n").forEach(function(t){var n=function(t){var e=s.exec(t);if(e){var n=e[2]&&0===e[2].indexOf("native"),r=e[2]&&0===e[2].indexOf("eval"),i=u.exec(e[2]);return r&&i&&(e[2]=i[1],e[3]=i[2],e[4]=i[3]),{args:n?[e[2]]:[],column:e[4]?+e[4]:void 0,func:e[1]||"?",line:e[3]?+e[3]:void 0,url:n?void 0:e[2]}}}(t)||function(t){var e=c.exec(t);if(e)return{args:[],column:e[3]?+e[3]:void 0,func:"?",line:e[2]?+e[2]:void 0,url:e[1]}}(t)||function(t){var e=l.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){var e=d.exec(t);if(e){var n=e[3]&&e[3].indexOf(" > eval")>-1,r=f.exec(e[3]);return n&&r&&(e[3]=r[1],e[4]=r[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);n&&(!n.func&&n.line&&(n.func="?"),e.push(n))}),{message:p(t,"message"),name:p(t,"name"),stack:e}}var o="((?:file|https?|blob|chrome-extension|native|eval|webpack|snippet|<anonymous>|\\w+\\.|\\/).*?)",a="(?::(\\d+))",s=RegExp("^\\s*at (.*?) ?\\(".concat(o).concat(a,"?").concat(a,"?\\)?\\s*$"),"i"),u=new RegExp("\\((\\S*)".concat(a).concat(a,"\\)")),c=RegExp("^\\s*at ?".concat(o).concat(a,"?").concat(a,"??\\s*$"),"i"),l=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i,d=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)((?:file|https?|blob|chrome|webpack|resource|capacitor|\[native).*?|[^@]*bundle)(?::(\d+))?(?::(\d+))?\s*$/i,f=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i;function p(t,e){if("object"==typeof t&&t&&e in t){var n=t[e];return"string"==typeof n?n:void 0}}},54910:(t,e,n)=>{"use strict";n.d(e,{I:()=>a,z:()=>s});var r=n(13842),i=n(33234),o=n(94776);function a(t){var e=(0,o.f0)({},t);return["id","name","email"].forEach(function(t){t in e&&(e[t]=String(e[t]))}),e}function s(t){var e="object"===(0,i.o)(t);return e||r.jf.error("Unsupported user:",t),e}},29307:(t,e,n)=>{"use strict";n.d(e,{l:()=>r});var r=function(){function t(){this.callbacks={}}return t.prototype.notify=function(t,e){var n=this.callbacks[t];
1n&&n.forEach(function(t){return t(e)})},t.prototype.subscribe=function(t,e){var n=this;return this.callbacks[t]||(this.callbacks[t]=[]),this.callbacks[t].push(e),{unsubscribe:function(){n.callbacks[t]=n.callbacks[t].filter(function(t){return e!==t})}}},t}()},68783:(t,e,n)=>{"use strict";n.d(e,{S:()=>r});var r=function(){function t(){this.buffer=[]}return t.prototype.add=function(t){this.buffer.push(t)>500&&this.buffer.splice(0,1)},t.prototype.drain=function(){this.buffer.forEach(function(t){return t()}),this.buffer.length=0},t}()},40812:(t,e,n)=>{"use strict";n.d(e,{Z:()=>i});var r=n(13842);function i(t,e){return function(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];try{return t.apply(void 0,n)}catch(t){r.jf.error(e,t)}}}},13842:(t,e,n)=>{"use strict";n.d(e,{jG:()=>o,jf:()=>i,vA:()=>r});var r={log:"log",debug:"debug",info:"info",warn:"warn",error:"error"},i=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];Object.prototype.hasOwnProperty.call(r,t)||(t=r.log),i[t].apply(i,e)},o=console,a="Datadog Browser SDK:";i.debug=o.debug.bind(o,a),i.log=o.log.bind(o,a),i.info=o.info.bind(o,a),i.warn=o.warn.bind(o,a),i.error=o.error.bind(o,a)},57549:(t,e,n)=>{"use strict";n.d(e,{W_:()=>a,u0:()=>s,uh:()=>r,vn:()=>o}),function(t){t.PAGEHIDE="pagehide",t.FEATURE_FLAGS="feature_flags",t.RESOURCE_PAGE_STATES="resource_page_states",t.PAGE_STATES="page_states",t.COLLECT_FLUSH_REASON="collect_flush_reason",t.NO_RESOURCE_DURATION_FROZEN_STATE="no_resource_duration_frozen_state",t.SCROLLMAP="scrollmap",t.INTERACTION_TO_NEXT_PAINT="interaction_to_next_paint",t.WEB_VITALS_ATTRIBUTION="web_vitals_attribution",t.DISABLE_REPLAY_INLINE_CSS="disable_replay_inline_css"}(r||(r={}));var r,i=new Set;function o(t){t.forEach(function(t){i.add(t)})}function a(t){return i.has(t)}function s(){return i}},49271:(t,e,n)=>{"use strict";function r(){if("object"==typeof globalThis)return globalThis;Object.defineProperty(Object.prototype,"_dd_temp_",{get:function(){return this},configurable:!0});var t=_dd_temp_;return delete Object.prototype._dd_temp_,"object"!=typeof t&&("object"==typeof self?t=self:t="object"==typeof window?window:{}),t}n.d(e,{R:()=>r})},59693:(t,e,n)=>{"use strict";n.d(e,{I:()=>i});var r=n(49271);function i(t,e){var n,i=(0,r.R)();return i.Zone&&"function"==typeof i.Zone.__symbol__&&(n=t[i.Zone.__symbol__(e)]),n||(n=t[e]),n}},55801:(t,e,n)=>{"use strict";n.d(e,{Lm:()=>s,Su:()=>a,Xk:()=>u});var r=n(65483),i=n(64933),o=n(251);function a(t,e,n){var r=t[e],i=n(r),o=function(){if("function"==typeof i)return i.apply(this,arguments)};return t[e]=o,{stop:function(){t[e]===o?t[e]=r:i=r}}}function s(t,e,n){var r=n.before,o=n.after;return a(t,e,function(t){return function(){var e,n=arguments;return r&&(0,i.L6)(r,this,n),"function"==typeof t&&(e=t.apply(this,n)),o&&(0,i.L6)(o,this,n),e}})}function u(t,e,n){var i=Object.getOwnPropertyDescriptor(t,e);if(!i||!i.set||!i.configurable)return{stop:o.Z};var a=function(t,e){(0,r.iK)(function(){n(t,e)},0)},s=function(t){i.set.call(this,t),a(this,t)};return Object.defineProperty(t,e,{set:s}),{stop:function(){var n;(null===(n=Object.getOwnPropertyDescriptor(t,e))||void 0===n?void 0:n.set)===s?Object.defineProperty(t,e,i):a=o.Z}}}},92904:(t,e,n)=>{"use strict";n.d(e,{$e:()=>a,I8:()=>o});var r=n(33234);function i(t,e,n){if(void 0===n&&(n=function(){if("undefined"!=typeof WeakSet){var t=new WeakSet;return{hasAlreadyBeenSeen:function(e){var n=t.has(e);return n||t.add(e),n}}}var e=[];return{hasAlreadyBeenSeen:function(t){var n=e.indexOf(t)>=0;return n||e.push(t),n}}}()),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){var o=e.flags||[e.global?"g":"",e.ignoreCase?"i":"",e.multiline?"m":"",e.sticky?"y":"",e.unicode?"u":""].join("");return new RegExp(e.source,o)}if(!n.hasAlreadyBeenSeen(e)){if(Array.isArray(e)){for(var a=Array.isArray(t)?t:[],s=0;s<e.length;++s)a[s]=i(a[s],e[s],n);return a}var u="object"===(0,r.o)(t)?t:{};for(var c in e)Object.prototype.hasOwnProperty.call(e,c)&&(u[c]=i(u[c],e[c],n));return u}}function o(t){return i(void 0,t)}function a(){for(var t,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];for(var r=0;r<e.length;r++){var o=e[r];null!=o&&(t=i(t,o))}return t}},64933:(t,e,n)=>{"use strict";n.d(e,{DV:()=>f,L6:()=>d,P_:()=>s,Th:()=>c,yD:()=>u,zk:()=>l});var r,i=n(13842),o=function(t,e,n){if(n||2==arguments.length)for(var r,i=0,o=e.length;i<o;i++)!r&&i in e||(r||(r=Array.prototype.slice.call(e,0,i)),r[i]=e[i]);return t.concat(r||Array.prototype.slice.call(e))},a=!1;function s(t){r=t}function u(t){a=t}function c(t,e,n){var i=n.value;n.value=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return(r?l(i):i).apply(this,t)}}function l(t){return function(){return d(t,this,arguments)}}function d(t,e,n){try{return t.apply(e,n)}catch(t){if(f(i.vA.error,t),r)try{r(t)}catch(t){f(i.vA.error,t)}}}function f(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];a&&i.jf.apply(void 0,o([t,"[MONITOR]"],e,!1))}},73473:(t,e,n)=>{"use strict";n.d(e,{$:()=>i,y:()=>r});var r=function(){function t(t){this.onFirstSubscribe=t,this.observers=[]}return t.prototype.subscribe=function(t){var e=this;return!this.observers.length&&this.onFirstSubscribe&&(this.onLastUnsubscribe=this.onFirstSubscribe()||void 0),this.observers.push(t),{unsubscribe:function(){e.observers=e.observers.filter(function(e){return t!==e}),!e.observers.length&&e.onLastUnsubscribe&&e.onLastUnsubscribe()}}}
1,t.prototype.notify=function(t){this.observers.forEach(function(e){return e(t)})},t}();function i(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=new r(function(){var e=t.map(function(t){return t.subscribe(function(t){return n.notify(t)})});return function(){return e.forEach(function(t){return t.unsubscribe()})}});return n}},18057:(t,e,n)=>{"use strict";n.d(e,{n:()=>o});var r=n(64933),i=n(251);function o(t,e,n){var o=t.getReader(),a=[],s=0;function u(){if(o.cancel().catch(i.Z),n.collectStreamBody){if(1===a.length)u=a[0];else{u=new Uint8Array(s);var t,r,u,c=0;a.forEach(function(t){u.set(t,c),c+=t.length})}t=u.slice(0,n.bytesLimit),r=u.length>n.bytesLimit}e(void 0,t,r)}!function t(){o.read().then((0,r.zk)(function(e){if(e.done){u();return}n.collectStreamBody&&a.push(e.value),(s+=e.value.length)>n.bytesLimit?u():t()}),(0,r.zk)(function(t){return e(t)}))}()}},38971:(t,e,n)=>{"use strict";function r(t,e){var n=window.__ddBrowserSdkExtensionCallback;n&&n({type:t,payload:e})}n.d(e,{j:()=>r})},19012:(t,e,n)=>{"use strict";n.d(e,{l:()=>i,y:()=>o});var r=n(251);function i(t,e,n){if("object"!=typeof t||null===t)return JSON.stringify(t);var r=o(Object.prototype),i=o(Array.prototype),a=o(Object.getPrototypeOf(t)),s=o(t);try{return JSON.stringify(t,e,n)}catch(t){return"<error: unable to serialize object>"}finally{r(),i(),a(),s()}}function o(t){var e=t.toJSON;return e?(delete t.toJSON,function(){t.toJSON=e}):r.Z}},68566:(t,e,n)=>{"use strict";n.d(e,{N:()=>s});var r=n(13842),i=n(51962),o=n(19012),a=220*i.Hi;function s(t,e){void 0===e&&(e=a);var n,r=(0,o.y)(Object.prototype),i=(0,o.y)(Array.prototype),s=[],l=new WeakMap,d=u(t,"$",void 0,s,l),f=(null===(n=JSON.stringify(d))||void 0===n?void 0:n.length)||0;if(f>e){c(e,"discarded",t);return}for(;s.length>0&&f<e;){var p=s.shift(),v=0;if(Array.isArray(p.source))for(var h=0;h<p.source.length;h++){var g=u(p.source[h],p.path,h,s,l);if(void 0!==g?f+=JSON.stringify(g).length:f+=4,f+=v,v=1,f>e){c(e,"truncated",t);break}p.target[h]=g}else for(var h in p.source)if(Object.prototype.hasOwnProperty.call(p.source,h)){var g=u(p.source[h],p.path,h,s,l);if(void 0!==g&&(f+=JSON.stringify(g).length+v+h.length+3,v=1),f>e){c(e,"truncated",t);break}p.target[h]=g}}return r(),i(),d}function u(t,e,n,r,i){var o=function(t){if(t&&"function"==typeof t.toJSON)try{return t.toJSON()}catch(t){}return t}(t);if(!o||"object"!=typeof o)return"bigint"==typeof o?"[BigInt] ".concat(o.toString()):"function"==typeof o?"[Function] ".concat(o.name||"unknown"):"symbol"==typeof o?"[Symbol] ".concat(o.description||o.toString()):o;var a=function(t){try{if(t instanceof Event)return{isTrusted:t.isTrusted};var e=Object.prototype.toString.call(t).match(/\[object (.*)\]/);if(e&&e[1])return"[".concat(e[1],"]")}catch(t){}return"[Unserializable]"}(o);if("[Object]"!==a&&"[Array]"!==a&&"[Error]"!==a)return a;if(i.has(t))return"[Reference seen at ".concat(i.get(t),"]");var s=void 0!==n?"".concat(e,".").concat(n):e,u=Array.isArray(o)?[]:{};return i.set(t,s),r.push({source:o,target:u,path:s}),u}function c(t,e,n){r.jf.warn("The data provided has been ".concat(e," as it is over the limit of ").concat(t," characters:"),n)}},65483:(t,e,n)=>{"use strict";n.d(e,{Zi:()=>u,cv:()=>c,gr:()=>s,iK:()=>a});var r=n(59693),i=n(64933),o=n(49271);function a(t,e){return(0,r.I)((0,o.R)(),"setTimeout")((0,i.zk)(t),e)}function s(t){(0,r.I)((0,o.R)(),"clearTimeout")(t)}function u(t,e){return(0,r.I)((0,o.R)(),"setInterval")((0,i.zk)(t),e)}function c(t){(0,r.I)((0,o.R)(),"clearInterval")(t)}},12172:(t,e,n)=>{"use strict";function r(){return!!document.documentMode}function i(){return!!window.chrome||/HeadlessChrome/.test(window.navigator.userAgent)}n.d(e,{m:()=>i,w:()=>r})},51962:(t,e,n)=>{"use strict";n.d(e,{Hi:()=>r,Kb:()=>s,X9:()=>i,qt:()=>a});var r=1024,i=1048576,o=/[^\u0000-\u007F]/;function a(t){return o.test(t)?void 0!==window.TextEncoder?new TextEncoder().encode(t).length:new Blob([t]).size:t.length}function s(t){for(var e=new Uint8Array(t.reduce(function(t,e){return t+e.length},0)),n=0,r=0;r<t.length;r++){var i=t[r];e.set(i,n),n+=i.length}return e}},251:(t,e,n)=>{"use strict";n.d(e,{P:()=>i,Z:()=>o});var r=n(65483);function i(t,e,n){var i,o,a=!n||void 0===n.leading||n.leading,s=!n||void 0===n.trailing||n.trailing,u=!1;return{throttled:function(){for(var n=[],c=0;c<arguments.length;c++)n[c]=arguments[c];if(u){i=n;return}a?t.apply(void 0,n):i=n,u=!0,o=(0,r.iK)(function(){s&&i&&t.apply(void 0,i),u=!1,i=void 0},e)},cancel:function(){(0,r.gr)(o),u=!1,i=void 0}}}function o(){}},73603:(t,e,n)=>{"use strict";function r(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}n.d(e,{NM:()=>i,hj:()=>a,y7:()=>r,zz:()=>o})},94162:(t,e,n)=>{"use strict";n.d(e,{E5:()=>o,Q8:()=>s,Qr:()=>a,mv:()=>i});var r=n(94776);function i(t){return(0,r.f0)({},t)}function o(t,e){return Object.keys(t).some(function(n){return t[n]===e})}function a(t){return 0===Object.keys(t).length}function s(t,e){for(var n={},r=0,i=Object.keys(t);r<i.length;r++){var o=i[r];n[o]=e(t[o])}return n}},94776:(t,e,n)=>{"use strict";function r(t,e){return -1!==t.indexOf(e)}function i(t){if(Array.from)return Array.from(t);var e=[];
1if(t instanceof Set)t.forEach(function(t){return e.push(t)});else for(var n=0;n<t.length;n++)e.push(t[n]);return e}function o(t,e){for(var n=0;n<t.length;n+=1){var r=t[n];if(e(r,n))return r}}function a(t,e){for(var n=t.length-1;n>=0;n-=1){var r=t[n];if(e(r,n,t))return r}}function s(t,e){Array.prototype.forEach.call(t,e)}function u(t){return Object.keys(t).map(function(e){return t[e]})}function c(t){return Object.keys(t).map(function(e){return[e,t[e]]})}function l(t,e){return t.slice(0,e.length)===e}function d(t,e){return t.slice(-e.length)===e}function f(t,e){return t.matches?t.matches(e):!!t.msMatchesSelector&&t.msMatchesSelector(e)}function p(t){return window.CSS&&window.CSS.escape?window.CSS.escape(t):t.replace(/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g,function(t,e){return e?"\0"===t?"�":"".concat(t.slice(0,-1),"\\").concat(t.charCodeAt(t.length-1).toString(16)," "):"\\".concat(t)})}function v(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return e.forEach(function(e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])}),t}n.d(e,{Ap:()=>f,Ed:()=>s,Ny:()=>l,Oc:()=>i,QA:()=>p,TT:()=>u,dF:()=>a,f0:()=>v,pn:()=>d,q9:()=>r,qP:()=>c,sE:()=>o})},29100:(t,e,n)=>{"use strict";function r(t){return t>=500}function i(t){try{return t.clone()}catch(t){return}}n.d(e,{o:()=>r,u:()=>i})},88129:(t,e,n)=>{"use strict";function r(t){return t?(parseInt(t,10)^16*Math.random()>>parseInt(t,10)/4).toString(16):"".concat(1e7,"-").concat(1e3,"-").concat(4e3,"-").concat(8e3,"-").concat(1e11).replace(/[018]/g,r)}function i(t,e){var n=new RegExp("(?:^|;)\\s*".concat(e,"\\s*=\\s*([^;]+)")).exec(t);return n?n[1]:void 0}function o(t,e,n){void 0===n&&(n="");var r=t.charCodeAt(e-1),i=r>=55296&&r<=56319?e+1:e;return t.length<=i?t:"".concat(t.slice(0,i)).concat(n)}n.d(e,{DO:()=>r,MY:()=>i,_z:()=>o})},25026:(t,e,n)=>{"use strict";n.d(e,{$I:()=>v,Cn:()=>y,DY:()=>u,QA:()=>c,WK:()=>m,WT:()=>o,_J:()=>g,_q:()=>p,c0:()=>l,cQ:()=>h,dV:()=>s,m6:()=>d,n$:()=>f,ni:()=>_,yR:()=>a});var r,i=n(73603),o=1e3,a=6e4,s=36e5;function u(t){var e;return{relative:t,timeStamp:(e=d()-performance.now())>b()?Math.round(e+t):Math.round(b()+t)}}function c(){return Math.round(d()-(b()+performance.now()))}function l(t){return(0,i.hj)(t)?(0,i.NM)(1e6*t,0):t}function d(){return new Date().getTime()}function f(){return d()}function p(){return performance.now()}function v(){return{relative:p(),timeStamp:f()}}function h(){return{relative:0,timeStamp:b()}}function g(t,e){return e-t}function m(t,e){return t+e}function _(t){return t-b()}function y(t){return t<31536e6}function b(){return void 0===r&&(r=performance.timing.navigationStart),r}},33234:(t,e,n)=>{"use strict";function r(t){return null===t?"null":Array.isArray(t)?"array":typeof t}n.d(e,{o:()=>r})},70170:(t,e,n)=>{"use strict";n.d(e,{D5:()=>o,P$:()=>s,Q2:()=>c,jv:()=>a,ye:()=>u});var r,i=n(19012);function o(t){return c(t,d(window.location)).href}function a(t){try{return!!c(t)}catch(t){return!1}}function s(t){return d(c(t))}function u(t){var e=c(t).pathname;return"/"===e[0]?e:"/".concat(e)}function c(t,e){var n=function(){if(void 0===r)try{var t=new l("http://test/path");r="http://test/path"===t.href}catch(t){r=!1}return r?l:void 0}();if(n)try{return void 0!==e?new n(t,e):new n(t)}catch(n){throw Error("Failed to construct URL: ".concat(String(n)," ").concat((0,i.l)({url:t,base:e})))}if(void 0===e&&!/:/.test(t))throw Error("Invalid URL: '".concat(t,"'"));var o=document,a=o.createElement("a");if(void 0!==e){var s=(o=document.implementation.createHTMLDocument("")).createElement("base");s.href=e,o.head.appendChild(s),o.body.appendChild(a)}return a.href=t,a}var l=URL;function d(t){if(t.origin&&"null"!==t.origin)return t.origin;var e=t.host.replace(/(:80|:443)$/,"");return"".concat(t.protocol,"//").concat(e)}},69029:(t,e,n)=>{"use strict";n.d(e,{P:()=>s});var r=n(65483),i=n(25026),o=1/0,a=i.yR,s=function(){function t(t,e){var n=this;this.expireDelay=t,this.maxEntries=e,this.entries=[],this.clearOldValuesInterval=(0,r.Zi)(function(){return n.clearOldValues()},a)}return t.prototype.add=function(t,e){var n=this,r={value:t,startTime:e,endTime:o,remove:function(){var t=n.entries.indexOf(r);t>=0&&n.entries.splice(t,1)},close:function(t){r.endTime=t}};return this.maxEntries&&this.entries.length>=this.maxEntries&&this.entries.pop(),this.entries.unshift(r),r},t.prototype.find=function(t){void 0===t&&(t=o);for(var e=0,n=this.entries;
1e<n.length;e++){var r=n[e];if(r.startTime<=t){if(t<=r.endTime)return r.value;break}}},t.prototype.closeActive=function(t){var e=this.entries[0];e&&e.endTime===o&&e.close(t)},t.prototype.findAll=function(t,e){void 0===t&&(t=o),void 0===e&&(e=0);var n=(0,i.WK)(t,e);return this.entries.filter(function(e){return e.startTime<=n&&t<=e.endTime}).map(function(t){return t.value})},t.prototype.reset=function(){this.entries=[]},t.prototype.stop=function(){(0,r.cv)(this.clearOldValuesInterval)},t.prototype.clearOldValues=function(){for(var t=(0,i._q)()-this.expireDelay;this.entries.length>0&&this.entries[this.entries.length-1].endTime<t;)this.entries.pop()},t}()},76876:(t,e,n)=>{"use strict";n.d(e,{A:()=>o,x:()=>a});var r=n(94776),i=n(49271);function o(){var t=(0,i.R)().DatadogEventBridge;if(t)return{getAllowedWebViewHosts:function(){return JSON.parse(t.getAllowedWebViewHosts())},send:function(e,n){t.send(JSON.stringify({eventType:e,event:n}))}}}function a(t){void 0===t&&(t=null===(e=(0,i.R)().location)||void 0===e?void 0:e.hostname);var e,n=o();return!!n&&n.getAllowedWebViewHosts().some(function(e){return t===e||(0,r.pn)(t,".".concat(e))})}},30481:(t,e,n)=>{"use strict";n.d(e,{UF:()=>y});var r=n(18797),i=n(64933),o=n(83206),a=n(65483),s=n(25026),u=n(51962),c=n(29100),l=n(42419),d=80*u.Hi,f=3*u.X9,p=s.yR,v=s.WT;function h(t,e,n,r,i){0===e.transportStatus&&0===e.queuedPayloads.size()&&e.bandwidthMonitor.canHandle(t)?g(t,e,n,{onSuccess:function(){return m(0,e,n,r,i)},onFailure:function(){e.queuedPayloads.enqueue(t),function t(e,n,r,i){2===e.transportStatus&&(0,a.iK)(function(){g(e.queuedPayloads.first(),e,n,{onSuccess:function(){e.queuedPayloads.dequeue(),e.currentBackoffTime=v,m(1,e,n,r,i)},onFailure:function(){e.currentBackoffTime=Math.min(p,2*e.currentBackoffTime),t(e,n,r,i)}})},e.currentBackoffTime)}(e,n,r,i)}}):e.queuedPayloads.enqueue(t)}function g(t,e,n,r){var i=r.onSuccess,o=r.onFailure;e.bandwidthMonitor.add(t),n(t,function(n){e.bandwidthMonitor.remove(t),"opaque"!==n.type&&(0===n.status&&!navigator.onLine||408===n.status||429===n.status||(0,c.o)(n.status))?(e.transportStatus=e.bandwidthMonitor.ongoingRequestCount>0?1:2,t.retry={count:t.retry?t.retry.count+1:1,lastFailureStatus:n.status},o()):(e.transportStatus=0,i())})}function m(t,e,n,r,i){0===t&&e.queuedPayloads.isFull()&&!e.queueFullReported&&(i({message:"Reached max ".concat(r," events size queued for upload: ").concat(f/u.X9,"MiB"),source:l.z.AGENT,startClocks:(0,s.$I)()}),e.queueFullReported=!0);var o=e.queuedPayloads;for(e.queuedPayloads=_();o.size()>0;)h(o.dequeue(),e,n,r,i)}function _(){var t=[];return{bytesCount:0,enqueue:function(e){this.isFull()||(t.push(e),this.bytesCount+=e.bytesCount)},first:function(){return t[0]},dequeue:function(){var e=t.shift();return e&&(this.bytesCount-=e.bytesCount),e},size:function(){return t.length},isFull:function(){return this.bytesCount>=f}}}function y(t,e,n,o){var a={transportStatus:0,currentBackoffTime:v,bandwidthMonitor:{ongoingRequestCount:0,ongoingByteCount:0,canHandle:function(t){return 0===this.ongoingRequestCount||this.ongoingByteCount+t.bytesCount<=d&&this.ongoingRequestCount<32},add:function(t){this.ongoingRequestCount+=1,this.ongoingByteCount+=t.bytesCount},remove:function(t){this.ongoingRequestCount-=1,this.ongoingByteCount-=t.bytesCount}},queuedPayloads:_(),queueFullReported:!1},s=function(r,o){(function(){try{return window.Request&&"keepalive"in new Request("http://a")}catch(t){return!1}})()&&r.bytesCount<n?fetch(e.build("fetch",r),{method:"POST",body:r.data,keepalive:!0,mode:"cors"}).then((0,i.zk)(function(t){return null==o?void 0:o({status:t.status,type:t.type})}),(0,i.zk)(function(){w(t,e.build("xhr",r),r.data,o)})):w(t,e.build("xhr",r),r.data,o)};return{send:function(t){h(t,a,s,e.endpointType,o)},sendOnExit:function(i){!function(t,e,n,i){if(navigator.sendBeacon&&i.bytesCount<n)try{var o=e.build("beacon",i);if(navigator.sendBeacon(o,i.data))return}catch(t){b||(b=!0,(0,r.Sz)(t))}w(t,e.build("xhr",i),i.data)}(t,e,n,i)}}}var b=!1;function w(t,e,n,r){var i=new XMLHttpRequest;i.open("POST",e,!0),(0,o.O)(t,i,"loadend",function(){null==r||r({status:i.status})},{once:!0}),i.send(n)}},21022:(t,e,n)=>{"use strict";n.d(e,{W:()=>f});var r=n(13842),i=n(94776),o=n(9024),a=n(51962),s=n(19012),u=function(){function t(t,e,n){var r=this;this.request=t,this.flushController=e,this.messageBytesLimit=n,this.pushOnlyBuffer=[],this.upsertBuffer={},this.flushSubscription=this.flushController.flushObservable.subscribe(function(t){return r.flush(t)})}return t.prototype.add=function(t){this.addOrUpdate(t)},t.prototype.upsert=function(t,e){this.addOrUpdate(t,e)},t.prototype.stop=function(){this.flushSubscription.unsubscribe()},t.prototype.flush=function(t){var e=this.pushOnlyBuffer.concat((0,i.TT)(this.upsertBuffer));this.pushOnlyBuffer=[],this.upsertBuffer={};var n={data:e.join("\n"),bytesCount:t.bytesCount,flushReason:t.reason};(0,o.PT)(t.reason)?this.request.sendOnExit(n):this.request.send(n)},t.prototype.addOrUpdate=function(t,e){var n=this.process(t),i=n.processedMessage,o=n.messageBytesCount;if(o>=this.messageBytesLimit){r.jf.warn("Discarded a message whose size was bigger than the maximum allowed size ".concat(this.messageBytesLimit,"KB."));return}this.hasMessageFor(e)&&this.remove(e),this.push(i,o,e)},t.prototype.process=function(t){var e=(0,s.l)(t),n=(0,a.qt)(e);return{processedMessage:e,messageBytesCount:n}},t.prototype.push=function(t,e,n){var r=this.flushController.messagesCount>0?1:0;this.flushController.notifyBeforeAddMessage(e+r),void 0!==n?this.upsertBuffer[n]=t:this.pushOnlyBuffer.push(t),this.flushController.notifyAfterAddMessage()},t.prototype.remove=function(t){var e=this.upsertBuffer[t];delete this.upsertBuffer[t];var n=(0,a.qt)(e),r=this.flushController.messagesCount>1?1:0;this.flushController.notifyAfterRemoveMessage(n+r)},t.prototype.hasMessageFor=function(t){return void 0!==t&&void 0!==this.upsertBuffer[t]},t}(),c=n(30481),l=n(73473),d=n(65483);function f(t,e,n,r,i,o){var a=f(t,e.endpoint),s=n&&f(t,n.endpoint);function f(t,e){return new u((0,c.UF)(t,e,t.batchBytesLimit,r),function(t){var e,n=t.messagesLimit,r=t.bytesLimit,i=t.durationLimit,o=t.pageExitObservable,a=t.sessionExpireOb
1servable,s=o.subscribe(function(t){return v(t.reason)}),u=a.subscribe(function(){return v("session_expire")}),c=new l.y(function(){return function(){s.unsubscribe(),u.unsubscribe()}}),f=0,p=0;function v(t){if(0!==p){var e=p,n=f;p=0,f=0,h(),c.notify({reason:t,messagesCount:e,bytesCount:n})}}function h(){(0,d.gr)(e),e=void 0}return{flushObservable:c,get messagesCount(){return p},notifyBeforeAddMessage:function(t){f+t>=r&&v("bytes_limit"),p+=1,f+=t,void 0===e&&(e=(0,d.iK)(function(){v("duration_limit")},i))},notifyAfterAddMessage:function(){p>=n?v("messages_limit"):f>=r&&v("bytes_limit")},notifyAfterRemoveMessage:function(t){f-=t,0==(p-=1)&&h()}}}({messagesLimit:t.batchMessagesLimit,bytesLimit:t.batchBytesLimit,durationLimit:t.flushTimeout,pageExitObservable:i,sessionExpireObservable:o}),t.messageBytesLimit)}return{flushObservable:a.flushController.flushObservable,add:function(t,e){void 0===e&&(e=!0),a.add(t),s&&e&&s.add(n.transformMessage?n.transformMessage(t):t)},upsert:function(t,e){a.upsert(t,e),s&&s.upsert(n.transformMessage?n.transformMessage(t):t,e)},stop:function(){a.stop(),null==s||s.stop()}}}},47443:(t,e,n)=>{var r=n(42118);t.exports=function(t,e){return!!(null==t?0:t.length)&&r(t,e,0)>-1}},1196:t=>{t.exports=function(t,e,n){for(var r=-1,i=null==t?0:t.length;++r<i;)if(n(e,t[r]))return!0;return!1}},41848:t=>{t.exports=function(t,e,n,r){for(var i=t.length,o=n+(r?1:-1);r?o--:++o<i;)if(e(t[o],o,t))return o;return -1}},42118:(t,e,n)=>{var r=n(41848),i=n(62722),o=n(42351);t.exports=function(t,e,n){return e==e?o(t,e,n):r(t,i,n)}},47556:(t,e,n)=>{var r=n(88668),i=n(47443),o=n(1196),a=n(29932),s=n(7518),u=n(74757),c=Math.min;t.exports=function(t,e,n){for(var l=n?o:i,d=t[0].length,f=t.length,p=f,v=Array(f),h=1/0,g=[];p--;){var m=t[p];p&&e&&(m=a(m,s(e))),h=c(m.length,h),v[p]=!n&&(e||d>=120&&m.length>=120)?new r(p&&m):void 0}m=t[0];var _=-1,y=v[0];t:for(;++_<d&&g.length<h;){var b=m[_],w=e?e(b):b;if(b=n||0!==b?b:0,!(y?u(y,w):l(g,w,n))){for(p=f;--p;){var S=v[p];if(!(S?u(S,w):l(t[p],w,n)))continue t}y&&y.push(w),g.push(b)}}return g}},62722:t=>{t.exports=function(t){return t!=t}},45652:(t,e,n)=>{var r=n(88668),i=n(47443),o=n(1196),a=n(74757),s=n(23593),u=n(21814);t.exports=function(t,e,n){var c=-1,l=i,d=t.length,f=!0,p=[],v=p;if(n)f=!1,l=o;else if(d>=200){var h=e?null:s(t);if(h)return u(h);f=!1,l=a,v=new r}else v=e?[]:p;t:for(;++c<d;){var g=t[c],m=e?e(g):g;if(g=n||0!==g?g:0,f&&m==m){for(var _=v.length;_--;)if(v[_]===m)continue t;e&&v.push(m),p.push(g)}else l(v,m,n)||(v!==p&&v.push(m),p.push(g))}return p}},24387:(t,e,n)=>{var r=n(29246);t.exports=function(t){return r(t)?t:[]}},23593:(t,e,n)=>{var r=n(58525),i=n(50308),o=n(21814),a=r&&1/o(new r([,-0]))[1]==1/0?function(t){return new r(t)}:i;t.exports=a},42351:t=>{t.exports=function(t,e,n){for(var r=n-1,i=t.length;++r<i;)if(t[r]===e)return r;return -1}},25325:(t,e,n)=>{var r=n(29932),i=n(47556),o=n(5976),a=n(24387),s=o(function(t){var e=r(t,a);return e.length&&e[0]===t[0]?i(e):[]});t.exports=s},50308:t=>{t.exports=function(){}},44908:(t,e,n)=>{var r=n(45652);t.exports=function(t){return t&&t.length?r(t):[]}},62342:(t,e,n)=>{"use strict";n.d(e,{fy:()=>to});var r,i,o,a=n(8678),s=n(49271),u=n(6129),c=n(68783),l=n(92904),d=n(25026),f=n(64933),p=n(13842),v=n(76876),h=n(10311),g=n(68566),m=n(54910),_=n(94776),y=n(51962),b=n(59665),w=n(73670),S=32*y.Hi;function T(t,e,n){var r;if(void 0===t)return[];if(!("all"===t||Array.isArray(t)&&t.every(function(t){return(0,_.q9)(e,t)}))){p.jf.error("".concat(n,' should be "all" or an array with allowed values "').concat(e.join('", "'),'"'));return}return"all"===t?e:(r=new Set,t.forEach(function(t){return r.add(t)}),(0,_.Oc)(r))}var k=n(42419),E=n(1307),x=n(45242),C=function(t,e,n,r){var i,o=arguments.length,a=o<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,n,r);else for(var s=t.length-1;s>=0;s--)(i=t[s])&&(a=(o<3?i(a):o>3?i(e,n,a):i(e,n))||a);return o>3&&a&&Object.defineProperty(e,n,a),a},A={debug:"debug",error:"error",info:"info",warn:"warn"},R={console:"console",http:"http"},I=Object.keys(A),O=function(){function t(t,e,n,r,i){void 0===n&&(n=R.http),void 0===r&&(r=A.debug),void 0===i&&(i={}),this.handleLogStrategy=t,this.handlerType=n,this.level=r,this.contextManager=(0,u.W)(3),this.contextManager.set((0,_.f0)({},i,e?{logger:{name:e}}:void 0))}return t.prototype.log=function(t,e,n,r){if(void 0===n&&(n=A.info),n===A.error&&(i={origin:k.z.LOGGER}),null!=r){var i,o=r instanceof Error?(0,E._)(r):void 0,a=(0,x.AP)({stackTrace:o,originalError:r,nonErrorPrefix:"Provided",source:k.z.LOGGER,handling:"handled",startClocks:(0,d.$I)()});i={origin:k.z.LOGGER,stack:a.stack,kind:a.type,message:a.message}}var s=(0,g.N)(e),u=i?(0,l.$e)({error:i},s):s;this.handleLogStrategy({message:(0,g.N)(t),context:u,status:n},this)},t.prototype.debug=function(t,e,n){this.log(t,e,A.debug,n)},t.prototype.info=function(t,e,n){this.log(t,e,A.info,n)},t.prototype.warn=function(t,e,n){this.log(t,e,A.warn,n)},t.prototype.error=function(t,e,n){this.log(t,e,A.error,n)},t.prototype.setContext=function(t){this.contextManager.set(t)},t.prototype.getContext=function(){return this.contextManager.get()},t.prototype.addContext=function(t,e){this.contextManager.add(t,e)},t.prototype.removeContext=function(t){this.contextManager.remove(t)},t.prototype.setHandler=function(t){this.handlerType=t},t.prototype.getHandler=function(){return this.handlerType},t.prototype.setLevel=function(t){this.level=t},t.prototype.getLevel=function(){return this.level},C([f.Th],t.prototype,"log",null),t}(),N="logs",L=n(38971),z=n(18797),P=n(9024),M=n(99262),U=n(21022),D=n(5135),F=n(73473),B=n(73603);function j(t){return(0,B.y7)(t.sessionSampleRate)?"1":"0"}var V=n(15123),q=n(94162),H=((r={})[A.debug]=0,r[A.info]=1,r[A.warn]=2,r[A.error]=3,r);function Z(t,e,n){var r=n.getHandler(),i=Array.isArray(r)?r:[r];return H[t]>=H[n.getLevel()]&&(0,_.q9)(i,e)}var G=!1;function K(t){var e=window;if((0,M.Y9)()){var n=r(e.DD_RUM_SYNTHETICS);return n||G||(G=!0,(0,z.eJ)("Logs sent before RUM is injected by the synthetics worker",{testId:(0,M.L7)(),resultId:(0,M.QB)()})),n}return r(e.DD_RUM);function r(e){if(e&&e.getInternalContext)return e.getInternalContext(t)}
1}var W=n(86296),$=((i={})[p.vA.log]=A.info,i[p.vA.debug]=A.debug,i[p.vA.info]=A.info,i[p.vA.warn]=A.warn,i[p.vA.error]=A.error,i),J=((o={})[w._.cspViolation]=A.error,o[w._.intervention]=A.error,o[w._.deprecation]=A.warn,o),X=n(251),Y=n(5343),Q=n(18679),tt=n(29100),te=n(18057);function tn(t,e){return t.length>e.requestErrorResponseLengthLimit?"".concat(t.substring(0,e.requestErrorResponseLengthLimit),"..."):t}var tr=n(6299),ti=n(29307).l,to=function(t){var e=!1,n=(0,u.W)(2),r=(0,u.W)(1),i={},o=function(){},s=new c.S,y=function(t,e,n,r){void 0===n&&(n=(0,l.I8)(x())),void 0===r&&(r=(0,d.n$)()),s.add(function(){return y(t,e,n,r)})},k=function(){},E=new O(function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return y.apply(void 0,t)});function x(){return{view:{referrer:document.referrer,url:window.location.href},context:n.getContext(),user:r.getContext()}}return(0,a.r)({logger:E,init:(0,f.zk)(function(i){if(!i){p.jf.error("Missing configuration");return}if(k=function(){return(0,l.I8)(i)},(0,v.x)()&&(a=i,i=(0,_.f0)({},a,{clientToken:"empty"})),u=i,!e||(u.silentMultipleInit||p.jf.error("DD_LOGS is already initialized."),0)){var a,u,c,d=function(t){var e=(0,b.fP)(t),n=T(t.forwardConsoleLogs,(0,_.TT)(p.vA),"Forward Console Logs"),r=T(t.forwardReports,(0,_.TT)(w._),"Forward Reports");if(e&&n&&r)return t.forwardErrorsToLogs&&!(0,_.q9)(n,p.vA.error)&&n.push(p.vA.error),(0,_.f0)({forwardErrorsToLogs:!1!==t.forwardErrorsToLogs,forwardConsoleLogs:n,forwardReports:r,requestErrorResponseLengthLimit:S},e)}(i);if(d){if(i.storeContextsAcrossPages){var f=n.getContext();(n=(0,h.PI)(d,N,2)).setContext((0,l.$e)(n.getContext(),f));var g=r.getContext();(r=(0,h.PI)(d,N,1)).setContext((0,l.$e)(r.getContext(),g))}y=(c=t(i,d,x,E)).handleLog,o=c.getInternalContext,s.drain(),e=!0}}}),getLoggerGlobalContext:(0,f.zk)(function(){return n.get()}),getGlobalContext:(0,f.zk)(function(){return n.getContext()}),setLoggerGlobalContext:(0,f.zk)(function(t){return n.set(t)}),setGlobalContext:(0,f.zk)(function(t){return n.setContext(t)}),addLoggerGlobalContext:(0,f.zk)(function(t,e){return n.add(t,e)}),setGlobalContextProperty:(0,f.zk)(function(t,e){return n.setContextProperty(t,e)}),removeLoggerGlobalContext:(0,f.zk)(function(t){return n.remove(t)}),removeGlobalContextProperty:(0,f.zk)(function(t){return n.removeContextProperty(t)}),clearGlobalContext:(0,f.zk)(function(){return n.clearContext()}),createLogger:(0,f.zk)(function(t,e){return void 0===e&&(e={}),i[t]=new O(function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return y.apply(void 0,t)},(0,g.N)(t),e.handler,e.level,(0,g.N)(e.context)),i[t]}),getLogger:(0,f.zk)(function(t){return i[t]}),getInitConfiguration:(0,f.zk)(function(){return k()}),getInternalContext:(0,f.zk)(function(t){return o(t)}),setUser:(0,f.zk)(function(t){(0,m.z)(t)&&r.setContext((0,m.I)(t))}),getUser:(0,f.zk)(function(){return r.getContext()}),setUserProperty:(0,f.zk)(function(t,e){var n,i=(0,m.I)(((n={})[t]=e,n))[t];r.setContextProperty(t,i)}),removeUserProperty:(0,f.zk)(function(t){return r.removeContextProperty(t)}),clearUser:(0,f.zk)(function(){return r.clearContext()})})}(function(t,e,n,r){var i,o=new ti,a=[];o.subscribe(1,function(t){return(0,L.j)("logs",t)});var s=function(t){o.notify(0,{rawLogsEvent:{message:t.message,date:t.startClocks.timeStamp,error:{origin:k.z.AGENT},origin:k.z.AGENT,status:A.error}}),(0,z.eJ)("Error reported to customer",{"error.message":t.message})},u=(0,P.Pd)(e),c=!e.sessionStoreStrategyType||(0,v.x)()||(0,M.Y9)()?(y="1"===j(e)?{}:void 0,{findTrackedSession:function(){return y},expireObservable:new F.y}):{findTrackedSession:function(t){var e=S.findActiveSession(t);return e&&"1"===e.trackingType?{id:e.id}:void 0},expireObservable:(S=(0,D.HX)(e,"logs",function(t){var n;return{trackingType:n="0"===t||"1"===t?t:j(e),isTracked:"1"===n}})).expireObservable},h=function(t,e,n,r){var i=(0,z.VL)("browser-logs-sdk",t),o=[];if((0,v.x)()){var a=(0,v.A)(),s=i.observable.subscribe(function(t){return a.send("internal_telemetry",t)});o.push(function(){return s.unsubscribe()})}else{var u=(0,U.W)(t,{endpoint:t.rumEndpointBuilder},t.replica&&{endpoint:t.replica.rumEndpointBuilder},e,n,r);o.push(function(){return u.stop()});var c=i.observable.subscribe(function(e){return u.add(e,(0,z.VG)(t))});o.push(function(){return c.unsubscribe()})}return{telemetry:i,stop:function(){o.forEach(function(t){return t()})}}}(e,s,u,c.expireObservable),g=h.telemetry,m=h.stop;if(a.push(function(){return m()}),g.setContextProvider(function(){var t,e,n,r,i,o;return{application:{id:null===(t=K())||void 0===t?void 0:t.application_id},session:{id:null===(e=c.findTrackedSession())||void 0===e?void 0:e.id},view:{id:null===(r=null===(n=K())||void 0===n?void 0:n.view)||void 0===r?void 0:r.id},action:{id:null===(o=null===(i=K())||void 0===i?void 0:i.user_action)||void 0===o?void 0:o.id}}}),function(t,e){if(!t.forwardErrorsToLogs)return X.Z;function n(n,r){var i,o,a,s,u,c,l;function d(t){e.notify(0,{rawLogsEvent:{message:"".concat("xhr"===n?"XHR":"Fetch"," error ").concat(r.method," ").concat(r.url),date:r.startClocks.timeStamp,error:{origin:k.z.NETWORK,stack:t||"Failed to load"},http:{method:r.method,status_code:r.status,url:r.url},status:A.error,origin:k.z.NETWORK}})}
1!t.isIntakeUrl(r.url)&&(0===r.status&&"opaque"!==r.responseType||(0,tt.o)(r.status))&&("xhr"in r?d("string"==typeof(i=r.xhr).response?tn(i.response,t):i.response):r.response?(o=r.response,(a=(0,tt.u)(o))&&a.body?window.TextDecoder?(s=a.body,u=t.requestErrorResponseLengthLimit,c=function(t,e){d(t?"Unable to retrieve response: ".concat(t):e)},(0,te.n)(s,function(t,e,n){if(t)c(t);else{var r=new TextDecoder().decode(e);n&&(r+="..."),c(void 0,r)}},{bytesLimit:u,collectStreamBody:!0})):a.text().then((0,f.zk)(function(e){return d(tn(e,t))}),(0,f.zk)(function(t){return d("Unable to retrieve response: ".concat(t))})):d()):r.error&&(l=r.error,d(tn((0,x.P3)((0,E._)(l)),t))))}(0,Y.S)(t).subscribe(function(t){"complete"===t.state&&n("xhr",t)}),(0,Q.y)().subscribe(function(t){"resolve"===t.state&&n("fetch",t)})}(e,o),function(t,e){if(!t.forwardErrorsToLogs)return X.Z;var n=new F.y;(0,tr.L)(n).stop,n.subscribe(function(t){e.notify(0,{rawLogsEvent:{message:t.message,date:t.startClocks.timeStamp,error:{kind:t.type,origin:k.z.SOURCE,stack:t.stack},origin:k.z.SOURCE,status:A.error}})})}(e,o),(0,W.a)(e.forwardConsoleLogs).subscribe(function(t){o.notify(0,{rawLogsEvent:{date:(0,d.n$)(),message:t.message,origin:k.z.CONSOLE,error:t.api===p.vA.error?{origin:k.z.CONSOLE,stack:t.stack,fingerprint:t.fingerprint}:void 0,status:$[t.api]}})}),(0,w.v)(e,e.forwardReports).subscribe(function(t){var e,n=t.message,r=J[t.type];r===A.error?e={kind:t.subtype,origin:k.z.REPORT,stack:t.stack}:t.stack&&(n+=" Found in ".concat((0,x.u5)(t.stack))),o.notify(0,{rawLogsEvent:{date:(0,d.n$)(),message:n,origin:k.z.REPORT,error:e,status:r}})}),T=I.concat(["custom"]),C={},T.forEach(function(t){C[t]=(0,V.K)(t,e.eventRateLimiterThreshold,s)}),o.subscribe(0,function(t){var i,a,s,u=t.rawLogsEvent,f=t.messageContext,p=t.savedCommonContext,v=t.logger,h=void 0===v?r:v,g=(0,d.ni)(u.date),m=c.findTrackedSession(g);if(m){var _=(void 0===p?void 0:p)||n(),y=(0,l.$e)({service:e.service,session_id:m.id,usr:(0,q.Qr)(_.user)?void 0:_.user,view:_.view},_.context,K(g),u,h.getContext(),void 0===f?void 0:f);!Z(u.status,R.http,h)||(null===(i=e.beforeSend)||void 0===i?void 0:i.call(e,y))===!1||(null===(a=y.error)||void 0===a?void 0:a.origin)!==k.z.AGENT&&(null!==(s=C[y.status])&&void 0!==s?s:C.custom).isLimitReached()||o.notify(1,y)}}),(0,v.x)())!function(t){var e=(0,v.A)();t.subscribe(1,function(t){e.send("log",t)})}(o);else{var y,S,T,C,O,N,B=(O=c.expireObservable,N=(0,U.W)(e,{endpoint:e.logsEndpointBuilder},e.replica&&{endpoint:e.replica.logsEndpointBuilder},s,u,O),o.subscribe(1,function(t){N.add(t)}),N).stop;a.push(function(){return B()})}return(0,z.Uo)((i=(0,b.JZ)(t),(0,_.f0)({forward_errors_to_logs:t.forwardErrorsToLogs,forward_console_logs:t.forwardConsoleLogs,forward_reports:t.forwardReports},i))),{handleLog:function(t,e,n,r){var i=t.context;Z(t.status,R.console,e)&&(0,p.jf)(t.status,t.message,(0,l.$e)(e.getContext(),i)),o.notify(0,{rawLogsEvent:{date:r||(0,d.n$)(),message:t.message,status:t.status,origin:k.z.LOGGER},messageContext:i,savedCommonContext:n,logger:e})},getInternalContext:function(t){var e=c.findTrackedSession(t);if(e)return{session_id:e.id}},stop:function(){a.forEach(function(t){return t()})}}});(0,a.y)((0,s.R)(),"DD_LOGS",to)},33888:(t,e,n)=>{"use strict";n.d(e,{datadogRum:()=>nO});var r,i,o,a,s,u,c,l,d,f,p,v,h=n(8678),g=n(49271),m=n(6129),_=n(251),y=n(68783),b=n(25026),w=n(13842),S=n(92904),T=n(99262),k=n(76876),E=n(10311),x=n(64933),C=n(68566),A=n(45242),R=n(54910),I=n(94776),O=n(73603),N=n(59665),L=n(94162),z=n(33234);function P(t){var e=(0,z.o)(t);return"string"===e||"function"===e||t instanceof RegExp}function M(t,e,n){return void 0===n&&(n=!1),t.some(function(t){try{if("function"==typeof t)return t(e);if(t instanceof RegExp)return t.test(e);if("string"==typeof t)return n?(0,I.Ny)(e,t):t===e}catch(t){w.jf.error(t)}return!1})}var U=n(70170);function D(t){0!==t.status||t.isAborted||(t.traceId=void 0,t.spanId=void 0,t.traceSampled=void 0)}function F(t,e,n,r){if(void 0!==B()&&n.findTrackedSession()){var i,o,a,s,u,c=(0,I.sE)(t.allowedTracingUrls,function(t){return M([t.match],e.url,!0)});c&&(e.traceId=new j,e.spanId=new j,e.traceSampled=!(0,O.hj)(t.traceSampleRate)||(0,O.y7)(t.traceSampleRate),r((i=e.traceId,o=e.spanId,a=e.traceSampled,s=c.propagatorTypes,u={}
1,s.forEach(function(t){switch(t){case"datadog":(0,I.f0)(u,{"x-datadog-origin":"rum","x-datadog-parent-id":o.toDecimalString(),"x-datadog-sampling-priority":a?"1":"0","x-datadog-trace-id":i.toDecimalString()});break;case"tracecontext":(0,I.f0)(u,{traceparent:"00-0000000000000000".concat(i.toPaddedHexadecimalString(),"-").concat(o.toPaddedHexadecimalString(),"-0").concat(a?"1":"0")});break;case"b3":(0,I.f0)(u,{b3:"".concat(i.toPaddedHexadecimalString(),"-").concat(o.toPaddedHexadecimalString(),"-").concat(a?"1":"0")});break;case"b3multi":(0,I.f0)(u,{"X-B3-TraceId":i.toPaddedHexadecimalString(),"X-B3-SpanId":o.toPaddedHexadecimalString(),"X-B3-Sampled":a?"1":"0"})}}),u)))}}function B(){return window.crypto||window.msCrypto}var j=function(){function t(){this.buffer=new Uint8Array(8),B().getRandomValues(this.buffer),this.buffer[0]=127&this.buffer[0]}return t.prototype.toString=function(t){var e=this.readInt32(0),n=this.readInt32(4),r="";do{var i=e%t*4294967296+n;e=Math.floor(e/t),n=Math.floor(i/t),r=(i%t).toString(t)+r}while(e||n);return r},t.prototype.toDecimalString=function(){return this.toString(10)},t.prototype.toPaddedHexadecimalString=function(){var t=this.toString(16);return Array(17-t.length).join("0")+t},t.prototype.readInt32=function(t){return 16777216*this.buffer[t]+(this.buffer[t+1]<<16)+(this.buffer[t+2]<<8)+this.buffer[t+3]},t}();function V(t,e,n){return{context:t.getContext(),user:e.getContext(),hasReplay:!!n.isRecording()||void 0}}var q=n(38971),H=n(18797),Z=n(9024),G=n(73473),K=n(59693);function W(){var t,e=window;if(e.Zone&&(t=(0,K.I)(e,"MutationObserver"),e.MutationObserver&&t===e.MutationObserver)){var n=new e.MutationObserver(_.Z),r=(0,K.I)(n,"originalInstance");t=r&&r.constructor}return t||(t=e.MutationObserver),t}var $=n(65483),J=n(83206);function X(t,e,n){document.readyState===e||"complete"===document.readyState?n():(0,J.O)(t,window,"complete"===e?"load":"DOMContentLoaded",n,{once:!0})}var Y="initial_document",Q=[["document",function(t){return Y===t}],["xhr",function(t){return"xmlhttprequest"===t}],["fetch",function(t){return"fetch"===t}],["beacon",function(t){return"beacon"===t}],["css",function(t,e){return/\.css$/i.test(e)}],["js",function(t,e){return/\.js$/i.test(e)}],["image",function(t,e){return(0,I.q9)(["image","img","icon"],t)||null!==/\.(gif|jpg|jpeg|tiff|png|svg|ico)$/i.exec(e)}],["font",function(t,e){return null!==/\.(woff|eot|woff2|ttf)$/i.exec(e)}],["media",function(t,e){return(0,I.q9)(["audio","video"],t)||null!==/\.(mp3|mp4)$/i.exec(e)}]];function tt(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];for(var n=1;n<t.length;n+=1)if(t[n-1]>t[n])return!1;return!0}function te(t){if(tt(t.startTime,t.fetchStart,t.domainLookupStart,t.domainLookupEnd,t.connectStart,t.connectEnd,t.requestStart,t.responseStart,t.responseEnd)){if(!tn(t))return t;var e=t.redirectStart,n=t.redirectEnd;if(e<t.startTime&&(e=t.startTime),n<t.startTime&&(n=t.fetchStart),tt(t.startTime,e,n,t.fetchStart))return(0,I.f0)({},t,{redirectEnd:n,redirectStart:e})}}function tn(t){return t.fetchStart!==t.startTime}function tr(t,e,n){return{duration:(0,b.c0)((0,b._J)(e,n)),start:(0,b.c0)((0,b._J)(t,e))}}function ti(t,e){return e&&!t.isIntakeUrl(e)}var to=n(88129);function ta(t){return t.nodeType===Node.TEXT_NODE}function ts(t){return t.nodeType===Node.ELEMENT_NODE}function tu(t){return ts(t)&&!!t.shadowRoot}function tc(t){return!!t.host&&t.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&ts(t.host)}function tl(t){return tc(t)?t.host:t.parentNode}var td=2*b.yR;function tf(t,e){var n=e&&Number(e);if(t&&n)return{traceId:t,traceTime:n}}function tp(t){if(t&&t.nodeType===Node.COMMENT_NODE){var e=/^\s*DATADOG;(.*?)\s*$/.exec(t.data);if(e)return e[1]}}function tv(){return void 0!==window.performance&&"getEntries"in performance}function th(t){return window.PerformanceObserver&&void 0!==PerformanceObserver.supportedEntryTypes&&PerformanceObserver.supportedEntryTypes.includes(t)}function tg(){var t={},e=performance.timing;for(var n in e)if((0,O.hj)(e[n])){var r=e[n];t[n]=0===r?0:(0,b.ni)(r)}return t}function tm(t,e,n){var i=n.filter(function(t){return(0,L.E5)(r,t.entryType)}).filter(function(t){return!(t.entryType===r.NAVIGATION&&t.loadEventEnd<=0)&&(t.entryType!==r.RESOURCE||!!ti(e,t.name))});i.length&&t.notify(0,i)}!function(t){t.EVENT="event",t.FIRST_INPUT="first-input",t.LARGEST_CONTENTFUL_PAINT="largest-contentful-paint",t.LAYOUT_SHIFT="layout-shift",t.LONG_TASK="longtask",t.NAVIGATION="navigation",t.PAINT="paint",t.RESOURCE="resource"}(r||(r={}));var t_=n(15123);function ty(t,e,n){for(var r=t,i=e.split("."),o=0;o<i.length;o+=1){var a=i[o];if(!tb(r))return;o!==i.length-1?r=r[a]:r[a]=n}}function tb(t){return"object"===(0,z.o)(t)}var tw={"view.name":"string","view.url":"string","view.referrer":"string"},tS={context:"object"},tT=n(29307).l,tk=n(78981),tE=n(69029),tx=tk.T,tC=n(5343),tA=n(18679),tR=n(29100),tI=n(18057),tO=1;function tN(){var t=tO;return tO+=1,t}function tL(t){var e=t.lifeCycle,n=t.isChildEvent,r=t.onChange,i=void 0===r?_.Z:r,o={errorCount:0,longTaskCount:0,resourceCount:0,actionCount:0,frustrationCount:0},a=e.subscribe(11,function(t){var e;if("view"!==t.type&&n(t))switch(t.type){case"error":o.errorCount+=1,i();break;case"action":o.actionCount+=1,t.action.frustration&&(o.frustrationCount+=t.action.frustration.type.length),i();break;case"long_task":o.longTaskCount+=1,i();break;case"resource":(null===(e=t._dd)||void 0===e?void 0:e.discarded)||(o.resourceCount+=1,i())}});return{stop:function(){a.unsubscribe()},eventCounts:o}}var tz=n(55801);function tP(t,e,n){var r,i=!1,o=(0,$.iK)((0,x.zk)(function(){return c({hadActivity:!1})}),100),a=void 0!==n?(0,$.iK)((0,x.zk)(function(){return c({hadActivity:!0,end:(0,b.n$)()})}),n):void 0,s=t.subscribe(function(t){var e=t.isBusy;(0,$.gr)(o),(0,$.gr)(r);var n=(0,b.n$)();e||(r=(0,$.iK)((0,x.zk)(function(){return c({hadActivity:!0,end:n})}),100))}),u=function(){i=!0,(0,$.gr)(o),(0,$.gr)(r),(0,$.gr)(a),s.unsubscribe()};function c(t){i||(u(),e(t))}return{stop:u}}function tM(t,e,n){var i=new G.y(function(){var o,a=[],s=0;a.push(e.subscribe(c),t.subscribe(0,function(t){t.some(function(t){return t.entryType===r.RESOURCE&&!tU(n,t.n
1ame)})&&c()}),t.subscribe(5,function(t){tU(n,t.url)||(void 0===o&&(o=t.requestIndex),s+=1,c())}),t.subscribe(6,function(t){tU(n,t.url)||void 0===o||t.requestIndex<o||(s-=1,c())}));var u=(0,tz.Lm)(window,"open",{before:c}).stop;return function(){u(),a.forEach(function(t){return t.unsubscribe()})};function c(){i.notify({isBusy:s>0})}});return i}function tU(t,e){return M(t.excludedActivityUrls,e)}var tD=n(12172),tF="data-dd-action-name";function tB(t,e){if(void 0===a&&(a="closest"in HTMLElement.prototype),a)n=t.closest("[".concat(e,"]"));else for(var n,r=t;r;){if(r.hasAttribute(e)){n=r;break}r=r.parentElement}if(n)return tZ(tH(n.getAttribute(e).trim()))}var tj=[function(t,e){if(void 0===o&&(o="labels"in HTMLInputElement.prototype),o){if("labels"in t&&t.labels&&t.labels.length>0)return tG(t.labels[0],e)}else if(t.id){var n=t.ownerDocument&&(0,I.sE)(t.ownerDocument.querySelectorAll("label"),function(e){return e.htmlFor===t.id});return n&&tG(n,e)}},function(t){if("INPUT"===t.nodeName){var e=t.getAttribute("type");if("button"===e||"submit"===e||"reset"===e)return t.value}},function(t,e){if("BUTTON"===t.nodeName||"LABEL"===t.nodeName||"button"===t.getAttribute("role"))return tG(t,e)},function(t){return t.getAttribute("aria-label")},function(t,e){var n=t.getAttribute("aria-labelledby");if(n)return n.split(/\s+/).map(function(e){return t.ownerDocument?t.ownerDocument.getElementById(e):null}).filter(function(t){return!!t}).map(function(t){return tG(t,e)}).join(" ")},function(t){return t.getAttribute("alt")},function(t){return t.getAttribute("name")},function(t){return t.getAttribute("title")},function(t){return t.getAttribute("placeholder")},function(t,e){if("options"in t&&t.options.length>0)return tG(t.options[0],e)}],tV=[function(t,e){return tG(t,e)}];function tq(t,e,n){for(var r=t,i=0;i<=10&&r&&"BODY"!==r.nodeName&&"HTML"!==r.nodeName&&"HEAD"!==r.nodeName;){for(var o=0;o<n.length;o++){var a=(0,n[o])(r,e);if("string"==typeof a){var s=a.trim();if(s)return tZ(tH(s))}}if("FORM"===r.nodeName)break;r=r.parentElement,i+=1}}function tH(t){return t.replace(/\s+/g," ")}function tZ(t){return t.length>100?"".concat((0,to._z)(t,100)," [...]"):t}function tG(t,e){if(!t.isContentEditable){if("innerText"in t){var n=t.innerText,r=function(e){for(var r=t.querySelectorAll(e),i=0;i<r.length;i+=1){var o=r[i];if("innerText"in o){var a=o.innerText;a&&a.trim().length>0&&(n=n.replace(a,""))}}};return(0,tD.w)()&&r("script, style"),r("[".concat(tF,"]")),e&&r("[".concat(e,"]")),n}return t.textContent}}var tK=[tF,"data-testid","data-test","data-qa","data-cy","data-test-id","data-qa-id","data-testing","data-component","data-element","data-source-file"],tW=[tY,function(t){if(t.id&&!tX(t.id))return"#".concat((0,I.QA)(t.id))}],t$=[tY,function(t){if("BODY"!==t.tagName&&t.classList.length>0)for(var e=0;e<t.classList.length;e+=1){var n=t.classList[e];if(!tX(n))return"".concat((0,I.QA)(t.tagName),".").concat((0,I.QA)(n))}},function(t){return(0,I.QA)(t.tagName)}];function tJ(t,e){for(var n="",r=t;r&&"HTML"!==r.nodeName;){var i=tQ(r,tW,t0,e,n);if(i)return i;n=tQ(r,t$,t1,e,n)||t2(function(t){for(var e=t.parentElement.firstElementChild,n=1;e&&e!==t;)e.tagName===t.tagName&&(n+=1),e=e.nextElementSibling;return"".concat((0,I.QA)(t.tagName),":nth-of-type(").concat(n,")")}(r),n),r=r.parentElement}return n}function tX(t){return/[0-9]/.test(t)}function tY(t,e){if(e){var n=i(e);if(n)return n}for(var r=0;r<tK.length;r++){var n=i(tK[r]);if(n)return n}function i(e){if(t.hasAttribute(e))return"".concat((0,I.QA)(t.tagName),"[").concat(e,'="').concat((0,I.QA)(t.getAttribute(e)),'"]')}}function tQ(t,e,n,r,i){for(var o=0;o<e.length;o++){var a=(0,e[o])(t,r);if(a){var s=t2(a,i);if(n(t,s))return s}}}function t0(t,e){return 1===t.ownerDocument.querySelectorAll(e).length}function t1(t,e){return 1===t.parentElement.querySelectorAll(!function(){if(void 0===s)try{document.querySelector(":scope"),s=!0}catch(t){s=!1}return s}()?e:t2(":scope",e)).length}function t2(t,e){return e?"".concat(t,">").concat(e):t}var t3=b.WT;function t5(){var t=window.getSelection();return!t||t.isCollapsed}function t6(t){return t.target instanceof Element&&!1!==t.isPrimary}function t4(t){return!t.hasPageActivity&&!t.getUserActivity().input&&!(0,I.Ap)(t.event.target,'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] *')}var t9=10*b.WT,t8=5*b.yR;function t7(t,e){var n=et(t)?{action:{id:t.id,loading_time:(0,b.c0)(t.duration),frustration:{type:t.frustrationTypes},error:{count:t.counts.errorCount},long_task:{count:t.counts.longTaskCount},resource:{count:t.counts.resourceCount}},_dd:{action:{target:t.target,position:t.position}}}:void 0;return{customerContext:et(t)?void 0:t.context,rawRumEvent:(0,S.$e)({action:{id:(0,to.DO)(),target:{name:t.name},type:t.type},date:t.startClocks.timeStamp,type:"action",view:{in_foreground:e.isInActivePageStateAt(t.startClocks.relative)}},n),startTime:t.startClocks.relative,domainContext:et(t)?{event:t.event,events:t.events}:{}}}function et(t){return"custom"!==t.type}var ee=n(6299),en=n(1307),er=n(42419),ei=n(86296),eo=n(73670),ea=n(57549);function es(t){return(0,b.WK)(t.startTime,t.duration)}function eu(t){var e,n,r;return{resource:(0,I.f0)({duration:(e=t.duration,n=t.startTime,r=t.responseEnd,0===e&&n<r?(0,b.c0)((0,b._J)(n,r)):(0,b.c0)(e)),size:function(t){if(t.startTime<t.responseStart)return t.decodedBodySize}(t)},function(t){var e=te(t);if(e){var n=e.startTime,r=e.fetchStart,i=e.redirectStart,o=e.redirectEnd,a=e.domainLookupStart,s=e.domainLookupEnd,u=e.connectStart,c=e.secureConnectionStart,l=e.connectEnd,d=e.requestStart,f=e.responseStart,p={download:tr(n,f,e.responseEnd),first_byte:tr(n,d,f)};return l!==r&&(p.connect=tr(n,u,l),tt(u,c,l)&&(p.ssl=tr(n,c,l))),s!==r&&(p.dns=tr(n,a,s)),tn(t)&&(p.redirect=tr(n,i,o)),p}}(t))}}function ec(t){return(0,O.hj)(t.traceSampleRate)?t.traceSampleRate/100:void 0}function el(t,e){var n=t.findTrackedSession(e.relative);return{_dd:{discarded:!n||!n.resourceAllowed}}}function ed(t,e,n){if((0,ea.W_)(ea.uh.RESOURCE_PAGE_STATES))return{_dd:{page_states:t.findAll(e.relative,n),page_was_discarded:String(document.wasDiscarded)}}}var ef=10*b.yR,ep=10*b.yR,ev=0,eh=1/0,eg=0,em=function(){return u?ev:window.performance.interactionCount||0};
1function e_(){var t=window.visualViewport;return Math.round(t?t.pageLeft-t.offsetLeft:void 0!==window.scrollX?window.scrollX:window.pageXOffset||0)}function ey(){var t=window.visualViewport;return Math.round(t?t.pageTop-t.offsetTop:void 0!==window.scrollY?window.scrollY:window.pageYOffset||0)}function eb(t){var e;return c||(c=e=new G.y(function(){var n=(0,_.P)(function(){e.notify(ew())},200).throttled;return(0,J.O)(t,window,"resize",n,{capture:!0,passive:!0}).stop})),c}function ew(){var 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)}}var eS=b.WT,eT=5*b.yR,ek=5*b.yR;function eE(t){var e=t.indexOf("?");return e<0?t:t.slice(0,e)}var ex=n(5135);function eC(t){return"2"===t||"1"===t}var eA=n(21022),eR=tk.T,eI=n(51962),eO=n(19012),eN=n(4326),eL=tk.T,ez=10*b.WT;function eP(){0!==l.batchCount&&((0,H.eJ)("Customer data measures",l),eF())}function eM(){return{min:1/0,max:0,sum:0}}function eU(t,e){t.sum+=e,t.min=Math.min(t.min,e),t.max=Math.max(t.max,e)}function eD(t,e){t.sum+=e.sum,t.min=Math.min(t.min,e.min),t.max=Math.max(t.max,e.max)}function eF(){l={batchCount:0,batchBytesCount:eM(),batchMessagesCount:eM(),globalContextBytes:eM(),userContextBytes:eM(),featureFlagBytes:eM()}}function eB(){f=!1,d={globalContextBytes:eM(),userContextBytes:eM(),featureFlagBytes:eM()}}var ej=tk.T;function eV(){return"hidden"===document.visibilityState?"hidden":document.hasFocus()?"active":"passive"}var eq=n(11095),eH=n(30481),eZ={FullSnapshot:2,IncrementalSnapshot:3,Meta:4,Focus:6,ViewEnd:7,VisualViewport:8,FrustrationRecord:9},eG={Document:0,DocumentType:1,Element:2,Text:3,CDATA:4,DocumentFragment:11},eK={Mutation:0,MouseMove:1,MouseInteraction:2,Scroll:3,ViewportResize:4,Input:5,TouchMove:6,MediaInteraction:7,StyleSheetRule:8},eW={MouseUp:0,MouseDown:1,Click:2,ContextMenu:3,DblClick:4,Focus:5,Blur:6,TouchStart:7,TouchEnd:9},e$={Play:0,Pause:1};function eJ(t,e){return{data:(0,I.f0)({source:t},e),type:eZ.IncrementalSnapshot,timestamp:(0,b.n$)()}}var eX={IGNORE:"ignore",HIDDEN:"hidden",ALLOW:N.Jj.ALLOW,MASK:N.Jj.MASK,MASK_USER_INPUT:N.Jj.MASK_USER_INPUT},eY="data-dd-privacy",eQ="hidden",e0={INPUT:!0,OUTPUT:!0,TEXTAREA:!0,SELECT:!0,OPTION:!0,DATALIST:!0,OPTGROUP:!0};function e1(t,e){var n=tl(t),r=n?e1(n,e):e;return e2(e3(t),r)}function e2(t,e){switch(e){case eX.HIDDEN:case eX.IGNORE:return e}switch(t){case eX.ALLOW:case eX.MASK:case eX.MASK_USER_INPUT:case eX.HIDDEN:case eX.IGNORE:return t;default:return e}}function e3(t){if(ts(t)){var e=t.getAttribute(eY);if("BASE"===t.tagName)return eX.ALLOW;if("INPUT"===t.tagName){if("password"===t.type||"email"===t.type||"tel"===t.type||"hidden"===t.type)return eX.MASK;var n=t.getAttribute("autocomplete");if(n&&0===n.indexOf("cc-"))return eX.MASK}return e===eQ||t.classList.contains("dd-privacy-hidden")?eX.HIDDEN:"mask"===e||t.classList.contains("dd-privacy-mask")?eX.MASK:"mask-user-input"===e||t.classList.contains("dd-privacy-mask-user-input")?eX.MASK_USER_INPUT:"allow"===e||t.classList.contains("dd-privacy-allow")?eX.ALLOW:!function(t){if("SCRIPT"===t.nodeName)return!0;if("LINK"===t.nodeName){var e=i("rel");return/preload|prefetch/i.test(e)&&"script"===i("as")||"shortcut icon"===e||"icon"===e}if("META"===t.nodeName){var n=i("name"),e=i("rel"),r=i("property");return/^msapplication-tile(image|color)$/.test(n)||"application-name"===n||"icon"===e||"apple-touch-icon"===e||"shortcut icon"===e||"keywords"===n||"description"===n||/^(og|twitter|fb):/.test(r)||/^(og|twitter):/.test(n)||"pinterest"===n||"robots"===n||"googlebot"===n||"bingbot"===n||t.hasAttribute("http-equiv")||"author"===n||"generator"===n||"framework"===n||"publisher"===n||"progid"===n||/^article:/.test(r)||/^product:/.test(r)||"google-site-verification"===n||"yandex-verification"===n||"csrf-token"===n||"p:domain_verify"===n||"verify-v1"===n||"verification"===n||"shopify-checkout-api-token"===n}function i(e){return(t.getAttribute(e)||"").toLowerCase()}return!1}(t)?void 0:eX.IGNORE}}function e5(t,e){switch(e){case eX.MASK:case eX.HIDDEN:case eX.IGNORE:return!0;case eX.MASK_USER_INPUT:return ta(t)?e6(t.parentNode):e6(t);default:return!1}}
1function e6(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!!e0[t.tagName]}function e4(t,e,n){var r,i=null===(r=t.parentElement)||void 0===r?void 0:r.tagName,o=t.textContent||"";if(!e||o.trim()){if("SCRIPT"===i)o="***";else if(n===eX.HIDDEN)o="***";else if(e5(t,n)){if("DATALIST"===i||"SELECT"===i||"OPTGROUP"===i){if(!o.trim())return}else o="OPTION"===i?"***":o.replace(/\S/g,"x")}return o}}var e9=new WeakMap;function e8(t){return e9.has(t)}function e7(t){return e9.get(t)}function nt(t,e){var n=t.tagName,r=t.value;if(e5(t,e)){var i=t.type;if("INPUT"===n&&("button"===i||"submit"===i||"reset"===i))return r;if(!r||"OPTION"===n)return;return"***"}return"OPTION"===n||"SELECT"===n?t.value:"INPUT"===n||"TEXTAREA"===n?r:void 0}var ne=/url\((?:(')([^']*)'|(")([^"]*)"|([^)]*))\)/gm,nn=/^[A-Za-z]+:|^\/\//,nr=/^data:.*,/i,ni=/[^a-z1-6-_]/;function no(t){var e=t.toLowerCase().trim();return ni.test(e)?"div":e}function na(t){if(void 0!==t&&0!==t.length)return t.map(function(t){return{cssRules:Array.from(t.cssRules||t.rules,function(t){return t.cssText}),disabled:t.disabled||void 0,media:t.media.length>0?Array.from(t.media):void 0}})}function ns(t,e,n,r){if(e===eX.HIDDEN)return null;var i=t.getAttribute(n);if(e===eX.MASK&&n!==eY&&!tK.includes(n)&&n!==r.actionNameAttribute){var o=t.tagName;switch(n){case"title":case"alt":case"placeholder":return"***"}if(("IMG"===o||"SOURCE"===o)&&("src"===n||"srcset"===n))return"data:image/gif;base64,R0lGODlhAQABAIAAAMLCwgAAACH5BAAAAAAALAAAAAABAAEAAAICRAEAOw==";if("A"===o&&"href"===n||i&&(0,I.Ny)(n,"data-"))return"***"}return i&&"string"==typeof i&&i.length>1e5&&"data:"===i.slice(0,5)?"data:truncated":i}function nu(t){var e,n,r;if(!t)return null;try{e=t.rules||t.cssRules}catch(t){}return e?(n=Array.from(e,nc).join(""),r=t.href,n.replace(ne,function(t,e,n,i,o,a){var s=n||o||a;if(!r||!s||nn.test(s)||nr.test(s))return t;var u=e||i||"";return"url(".concat(u).concat(function(t,e){try{return(0,U.Q2)(t,e).href}catch(e){return t}}(s,r)).concat(u,")")})):null}function nc(t){return"styleSheet"in t&&nu(t.styleSheet)||t.cssText}function nl(t,e){var n=function(t,e){var n,r;switch(t.nodeType){case t.DOCUMENT_NODE:return{type:eG.Document,childNodes:nf(t,e),adoptedStyleSheets:na(t.adoptedStyleSheets)};case t.DOCUMENT_FRAGMENT_NODE:return n=[],t.childNodes.length&&(n=nf(t,e)),(r=tc(t))&&e.serializationContext.shadowRootsController.addShadowRoot(t),{type:eG.DocumentFragment,childNodes:n,isShadowRoot:r,adoptedStyleSheets:r?na(t.adoptedStyleSheets):void 0};case t.DOCUMENT_TYPE_NODE:return{type:eG.DocumentType,name:t.name,publicId:t.publicId,systemId:t.systemId};case t.ELEMENT_NODE:return function(t,e){var n,r=no(t.tagName),i="svg"===t.tagName||t instanceof SVGElement||void 0,o=e2(e3(t),e.parentNodePrivacyLevel);if(o===eX.HIDDEN){var a=t.getBoundingClientRect(),s=a.width,u=a.height;return{type:eG.Element,tagName:r,attributes:((n={rr_width:"".concat(s,"px"),rr_height:"".concat(u,"px")})[eY]=eQ,n),childNodes:[],isSVG:i}}if(o!==eX.IGNORE){var c=function(t,e,n){if(e===eX.HIDDEN)return{};for(var r,i,o,a={},s=no(t.tagName),u=t.ownerDocument,c=0;c<t.attributes.length;c+=1){var l=t.attributes.item(c).name,d=ns(t,e,l,n.configuration);null!==d&&(a[l]=d)}if(t.value&&("textarea"===s||"select"===s||"option"===s||"input"===s)){var f=nt(t,e);void 0!==f&&(a.value=f)}if("option"===s&&e===eX.ALLOW&&t.selected&&(a.selected=t.selected),"link"===s){var p=Array.from(u.styleSheets).find(function(e){return e.href===t.href}),v=nu(p);v&&p&&!(0,ea.W_)(ea.uh.DISABLE_REPLAY_INLINE_CSS)&&(a._cssText=v)}if("style"===s&&t.sheet){var v=nu(t.sheet);v&&(a._cssText=v)}"input"===s&&("radio"===t.type||"checkbox"===t.type)&&(e===eX.ALLOW?a.checked=!!t.checked:e5(t,e)&&delete a.checked),("audio"===s||"video"===s)&&(a.rr_mediaState=t.paused?"paused":"played");var h=n.serializationContext;switch(h.status){case 0:i=Math.round(t.scrollTop),o=Math.round(t.scrollLeft),(i||o)&&h.elementsScrollPositions.set(t,{scrollTop:i,scrollLeft:o});break;case 1:h.elementsScrollPositions.has(t)&&(i=(r=h.elementsScrollPositions.get(t)).scrollTop,o=r.scrollLeft)}return o&&(a.rr_scrollLeft=o),i&&(a.rr_scrollTop=i),a}(t,o,e),l=[];
1if(t.childNodes.length&&"style"!==r&&(l=nf(t,e.parentNodePrivacyLevel===o&&e.ignoreWhiteSpace===("head"===r)?e:(0,I.f0)({},e,{parentNodePrivacyLevel:o,ignoreWhiteSpace:"head"===r}))),tu(t)){var d=nl(t.shadowRoot,e);null!==d&&l.push(d)}return{type:eG.Element,tagName:r,attributes:c,childNodes:l,isSVG:i}}}(t,e);case t.TEXT_NODE:return function(t,e){var n=e4(t,e.ignoreWhiteSpace||!1,e.parentNodePrivacyLevel);if(void 0!==n)return{type:eG.Text,textContent:n}}(t,e);case t.CDATA_SECTION_NODE:return{type:eG.CDATA,textContent:""}}}(t,e);if(!n)return null;var r=e7(t)||nd++;return n.id=r,e9.set(t,r),e.serializedNodeIds&&e.serializedNodeIds.add(r),n}var nd=1;function nf(t,e){var n=[];return t.childNodes.forEach(function(t){var r=nl(t,e);r&&n.push(r)}),n}function np(t){return!!t.changedTouches}function nv(t){return!0===t.composed&&tu(t.target)?t.composedPath()[0]:t.target}var nh=function(t,e){var n=window.visualViewport,r={layoutViewportX:t,layoutViewportY:e,visualViewportX:t,visualViewportY:e};return n&&(Math.abs(n.pageTop-n.offsetTop-window.scrollY)>25||Math.abs(n.pageLeft-n.offsetLeft-window.scrollX)>25?(r.layoutViewportX=Math.round(t+n.offsetLeft),r.layoutViewportY=Math.round(e+n.offsetTop)):(r.visualViewportX=Math.round(t-n.offsetLeft),r.visualVie
1wportY=Math.round(e-n.offsetTop))),r},ng=function(t){return{scale:t.scale,offsetLeft:t.offsetLeft,offsetTop:t.offsetTop,pageLeft:t.pageLeft,pageTop:t.pageTop,height:t.height,width:t.width}};function nm(t){var e=np(t)?t.changedTouches[0]:t,n=e.clientX,r=e.clientY;if(window.visualViewport){var i=nh(n,r),o=i.visualViewportX,a=i.visualViewportY;n=o,r=a}if(!Number.isFinite(n)||!Number.isFinite(r)){t.isTrusted&&(0,H.eJ)("mouse/touch event without x/y");return}return{x:n,y:r}}var n_=((p={}).pointerup=eW.MouseUp,p.mousedown=eW.MouseDown,p.click=eW.Click,p.contextmenu=eW.ContextMenu,p.dblclick=eW.DblClick,p.focus=eW.Focus,p.blur=eW.Blur,p.touchstart=eW.TouchStart,p.touchend=eW.TouchEnd,p);function ny(t,e,n){void 0===n&&(n=document);var r,i=t.defaultPrivacyLevel,o=new WeakMap,a=n!==document,s=(0,J.y)(t,n,a?["change"]:["input","change"],function(t){var e=nv(t);(e instanceof HTMLInputElement||e instanceof HTMLTextAreaElement||e instanceof HTMLSelectElement)&&c(e)},{capture:!0,passive:!0}).stop;if(a)r=_.Z;else{var u=[(0,tz.Xk)(HTMLInputElement.prototype,"value",c),(0,tz.Xk)(HTMLInputElement.prototype,"checked",c),(0,tz.Xk)(HTMLSelectElement.prototype,"value",c),(0,tz.Xk)(HTMLTextAreaElement.prototype,"value",c),(0,tz.Xk)(HTMLSelectElement.prototype,"selectedIndex",c)];r=function(){u.forEach(function(t){return t.stop()})}}return function(){r(),s()};function c(t){var e,n=e1(t,i);if(n!==eX.HIDDEN){var r=t.type;if("radio"===r||"checkbox"===r){if(e5(t,n))return;e={isChecked:t.checked}}else{var o=nt(t,n);if(void 0===o)return;e={text:o}}l(t,e);var a=t.name;"radio"===r&&a&&t.checked&&(0,I.Ed)(document.querySelectorAll('input[type="radio"][name="'.concat((0,I.QA)(a),'"]')),function(e){e!==t&&l(e,{isChecked:!1})})}}function l(t,n){if(e8(t)){var r=o.get(t);r&&r.text===n.text&&r.isChecked===n.isChecked||(o.set(t,n),e((0,I.f0)({id:e7(t)},n)))}}}function nb(t){for(var e=[],n=t;n.parentRule;){var r=Array.from(n.parentRule.cssRules).indexOf(n);e.unshift(r),n=n.parentRule}if(n.parentStyleSheet){var i=Array.from(n.parentStyleSheet.cssRules).indexOf(n);return e.unshift(i),e}}function nw(t,e,n,r){var i=W();if(!i)return{stop:_.Z,flush:_.Z};var o=function(t){var e=_.Z,n=[];function r(){e(),t(n),n=[]}return{addMutations:function(t){0===n.length&&(e=function(t,e){if(window.requestIdleCallback&&window.cancelIdleCallback){var n=window.requestIdleCallback((0,x.zk)(t),e);return function(){return window.cancelIdleCallback(n)}}
1var r=window.requestAnimationFrame((0,x.zk)(t));return function(){return window.cancelAnimationFrame(r)}}(r,{timeout:100})),n.push.apply(n,t)},flush:r,stop:function(){e()}}}(function(i){!function(t,e,n,r,i){t.filter(function(t){return"childList"===t.type}).forEach(function(t){t.removedNodes.forEach(function(t){!function t(e,n){tu(e)&&n(e.shadowRoot),(tu(e)?e.shadowRoot.childNodes:e.childNodes).forEach(function(e){return t(e,n)})}(t,r.removeShadowRoot)})});var o=t.filter(function(t){return i.contains(t.target)&&function(t){for(var e=t;e;){if(!e8(e)&&!tc(e))return!1;e=tl(e)}return!0}(t.target)&&e1(t.target,n.defaultPrivacyLevel)!==eX.HIDDEN}),a=function(t,e,n){for(var r=new Set,i=new Map,o=function(t){t.addedNodes.forEach(function(t){r.add(t)}),t.removedNodes.forEach(function(e){r.has(e)||i.set(e,t.target),r.delete(e)})},a=0;a<t.length;a++)o(t[a]);var s=Array.from(r);!function(t){t.sort(function(t,e){var n=t.compareDocumentPosition(e);return n&Node.DOCUMENT_POSITION_CONTAINED_BY?-1:n&Node.DOCUMENT_POSITION_CONTAINS?1:n&Node.DOCUMENT_POSITION_FOLLOWING?1:n&Node.DOCUMENT_POSITION_PRECEDING?-1:0})}(s);for(var u=new Set,c=[],l=0;l<s.length;l++){var d=s[l];if(!g(d)){var f=e1(d.parentNode,e.defaultPrivacyLevel);if(f!==eX.HIDDEN&&f!==eX.IGNORE){var p=nl(d,{serializedNodeIds:u,parentNodePrivacyLevel:f,serializationContext:{status:2,shadowRootsController:n},configuration:e});if(p){var v=tl(d);c.push({nextId:function(t){for(var e=t.nextSibling;e;){if(e8(e))return e7(e);e=e.nextSibling}return null}(d),parentId:e7(v),node:p})}}}}var h=[];return i.forEach(function(t,e){e8(e)&&h.push({parentId:e7(t),id:e7(e)})}),{adds:c,removes:h,hasBeenSerialized:g};function g(t){return e8(t)&&u.has(e7(t))}}(o.filter(function(t){return"childList"===t.type}),n,r),s=a.adds,u=a.removes,c=a.hasBeenSerialized,l=function(t,e){for(var n,r=[],i=new Set,o=t.filter(function(t){return!i.has(t.target)&&(i.add(t.target),!0)}),a=0;a<o.length;a++){var s=o[a];if(s.target.textContent!==s.oldValue){var u=e1(tl(s.target),e.defaultPrivacyLevel);u!==eX.HIDDEN&&u!==eX.IGNORE&&r.push({id:e7(s.target),value:null!==(n=e4(s.target,!1,u))&&void 0!==n?n:null})}}return r}(o.filter(function(t){return"characterData"===t.type&&!c(t.target)}),n),d=function(t,e){for(var n=[],r=new Map,i=t.filter(function(t){var e=r.get(t.target);return(null==e||!e.has(t.attributeName))&&(e?e.add(t.attributeName):r.set(t.target,new Set([t.attributeName])),!0)}),o=new Map,a=0;a<i.length;a++){var s=i[a];if(s.target.getAttribute(s.attributeName)!==s.oldValue){var u=e1(s.target,e.defaultPrivacyLevel),c=ns(s.target,u,s.attributeName,e),l=void 0;if("value"===s.attributeName){var d=nt(s.target,u);if(void 0===d)continue;l=d}else l="string"==typeof c?c:null;var f=o.get(s.target);f||(f={id:e7(s.target),attributes:{}},n.push(f),o.set(s.target,f)),f.attributes[s.attributeName]=l}}return n}(o.filter(function(t){return"attributes"===t.type&&!c(t.target)}),n);(l.length||d.length||u.length||s.length)&&e({adds:s,removes:u,texts:l,attributes:d})}(i.concat(a.takeRecords()),t,e,n,r)}),a=new i((0,x.zk)(o.addMutations));return a.observe(r,{attributeOldValue:!0,attributes:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0}),{stop:function(){a.disconnect(),o.stop()},flush:function(){o.flush()}}}var nS=function(t,e){var n=e.mutationCb,r=e.inputCb,i=new Map,o={addShadowRoot:function(e){var a=nw(n,t,o,e),s=a.stop,u=a.flush,c=ny(t,r,e);i.set(e,{flush:u,stop:function(){s(),c()}})},removeShadowRoot:function(t){var e=i.get(t);e&&(e.stop(),i.delete(t))},stop:function(){i.forEach(function(t){return(0,t.stop)()})},flush:function(){i.forEach(function(t){return(0,t.flush)()})}};return o};function nT(t){var e;return v||(v=new Map),v.has(t)?e=v.get(t):(e={records_count:0,segments_count:0,segments_total_raw_size:0},v.set(t,e),v.size>10&&function(){if(v){if(v.keys)v.delete(v.keys().next().value);else{var t=!0;v.forEach(function(e,n){t&&(v.delete(n),t=!1)})}}}()),e}var nk=function(){function t(t,e,n){this.encoder=t;var r=e.view.id;this.metadata=(0,I.f0)({start:1/0,end:-1/0,creation_reason:n,records_count:0,has_full_snapshot:!1,index_in_view:nT(r).segments_count,source:"browser"},e),nT(r).segments_count+=1}return t.prototype.addRecord=function(t,e){this.metadata.start=Math.min(this.metadata.start,t.timestamp),this.metadata.end=Math.max(this.metadata.end,t.timestamp),this.metadata.records_count+=1,(r=this.metadata).has_full_snapshot||(r.has_full_snapshot=t.type===eZ.FullSnapshot),(0,q.j)("record",{record:t,segment:this.metadata}),n=this.metadata.view.id,nT(n).records_count+=1;var n,r,i=1===this.metadata.records_count?'{"records":[':",";this.encoder.write(i+JSON.stringify(t),e)},t.prototype.flush=function(t){var e=this;if(0===this.metadata.records_count)throw Error("Empty segment flushed");this.encoder.write("],".concat(JSON.stringify(this.metadata).slice(1),"\n"),function(){var n,r;n=e.metadata.view.id,r=e.encoder.rawBytesCount,nT(n).segments_total_raw_size+=r,t(e.metadata)}),this.encoder.reset()},t}(),nE=30*b.WT;function nx(){return"function"==typeof Array.from&&"function"==typeof CSSSupportsRule&&"function"==typeof URL.createObjectURL&&"forEach"in NodeList.prototype}var nC=10*b.WT;function nA(t){return new Worker(t.workerUrl||URL.createObjectURL(new Blob(['!function(){"use strict";function t(t){for(var e=t.reduce((function(t,e){return t+e.length}),0),a=new Uint8Array(e),n=0,r=0,i=t;r<i.length;r++){var s=i[r];a.set(s,n),n+=s.length}return a}function e(t){for(var e=t.length;--e>=0;)t[e]=0}var a=256,n=286,r=30,i=15,s=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]),_=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]),h=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7]),l=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),o=new Array(576);e(o);var d=new Array(60);e(d);var u=new Array(512);e(u);var f=new Array(256);e(f);var c=new Array(29);e(c);var p,g,w,v=new Array(r);function b(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 m(t,e){this.dyn_tree=t,this.max_code=0,this.stat_desc=e}e(v);var y=function(t){return t<256?u[t]:u[256+(t>>
vendor: 4,441 bytes, line 1
1>7)]},k=function(t,e){t.pending_buf[t.pending++]=255&e,t.pending_buf[t.pending++]=e>>>8&255},z=function(t,e,a){t.bi_valid>16-a?(t.bi_buf|=e<<t.bi_valid&65535,k(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)},x=function(t,e,a){z(t,a[2*e],a[2*e+1])},A=function(t,e){var a=0;do{a|=1&t,t>>>=1,a<<=1}while(--e>0);return a>>>1},E=function(t,e,a){var n,r,s=new Array(16),_=0;for(n=1;n<=i;n++)s[n]=_=_+a[n-1]<<1;for(r=0;r<=e;r++){var h=t[2*r+1];0!==h&&(t[2*r]=A(s[h]++,h))}},Z=function(t){var e;for(e=0;e<n;e++)t.dyn_ltree[2*e]=0;for(e=0;e<r;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},U=function(t){t.bi_valid>8?k(t,t.bi_buf):t.bi_valid>0&&(t.pending_buf[t.pending++]=t.bi_buf),t.bi_buf=0,t.bi_valid=0},S=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]},R=function(t,e,a){for(var n=t.heap[a],r=a<<1;r<=t.heap_len&&(r<t.heap_len&&S(e,t.heap[r+1],t.heap[r],t.depth)&&r++,!S(e,n,t.heap[r],t.depth));)t.heap[a]=t.heap[r],a=r,r<<=1;t.heap[a]=n},L=function(t,e,n){var r,i,h,l,o=0;if(0!==t.last_lit)do{r=t.pending_buf[t.d_buf+2*o]<<8|t.pending_buf[t.d_buf+2*o+1],i=t.pending_buf[t.l_buf+o],o++,0===r?x(t,i,e):(h=f[i],x(t,h+a+1,e),0!==(l=s[h])&&(i-=c[h],z(t,i,l)),r--,h=y(r),x(t,h,n),0!==(l=_[h])&&(r-=v[h],z(t,r,l)))}while(o<t.last_lit);x(t,256,e)},F=function(t,e){var a,n,r,s=e.dyn_tree,_=e.stat_desc.static_tree,h=e.stat_desc.has_stree,l=e.stat_desc.elems,o=-1;for(t.heap_len=0,t.heap_max=573,a=0;a<l;a++)0!==s[2*a]?(t.heap[++t.heap_len]=o=a,t.depth[a]=0):s[2*a+1]=0;for(;t.heap_len<2;)s[2*(r=t.heap[++t.heap_len]=o<2?++o:0)]=1,t.depth[r]=0,t.opt_len--,h&&(t.static_len-=_[2*r+1]);for(e.max_code=o,a=t.heap_len>>1;a>=1;a--)R(t,s,a);r=l;do{a=t.heap[1],t.heap[1]=t.heap[t.heap_len--],R(t,s,1),n=t.heap[1],t.heap[--t.heap_max]=a,t.heap[--t.heap_max]=n,s[2*r]=s[2*a]+s[2*n],t.depth[r]=(t.depth[a]>=t.depth[n]?t.depth[a]:t.depth[n])+1,s[2*a+1]=s[2*n+1]=r,t.heap[1]=r++,R(t,s,1)}while(t.heap_len>=2);t.heap[--t.heap_max]=t.heap[1],function(t,e){var a,n,r,s,_,h,l=e.dyn_tree,o=e.max_code,d=e.stat_desc.static_tree,u=e.stat_desc.has_stree,f=e.stat_desc.extra_bits,c=e.stat_desc.extra_base,p=e.stat_desc.max_length,g=0;for(s=0;s<=i;s++)t.bl_count[s]=0;for(l[2*t.heap[t.heap_max]+1]=0,a=t.heap_max+1;a<573;a++)(s=l[2*l[2*(n=t.heap[a])+1]+1]+1)>p&&(s=p,g++),l[2*n+1]=s,n>o||(t.bl_count[s]++,_=0,n>=c&&(_=f[n-c]),h=l[2*n],t.opt_len+=h*(s+_),u&&(t.static_len+=h*(d[2*n+1]+_)));if(0!==g){do{for(s=p-1;0===t.bl_count[s];)s--;t.bl_count[s]--,t.bl_count[s+1]+=2,t.bl_count[p]--,g-=2}while(g>0);for(s=p;0!==s;s--)for(n=t.bl_count[s];0!==n;)(r=t.heap[--a])>o||(l[2*r+1]!==s&&(t.opt_len+=(s-l[2*r+1])*l[2*r],l[2*r+1]=s),n--)}}(t,e),E(s,o,t.bl_count)},T=function(t,e,a){var n,r,i=-1,s=e[1],_=0,h=7,l=4;for(0===s&&(h=138,l=3),e[2*(a+1)+1]=65535,n=0;n<=a;n++)r=s,s=e[2*(n+1)+1],++_<h&&r===s||(_<l?t.bl_tree[2*r]+=_:0!==r?(r!==i&&t.bl_tree[2*r]++,t.bl_tree[32]++):_<=10?t.bl_tree[34]++:t.bl_tree[36]++,_=0,i=r,0===s?(h=138,l=3):r===s?(h=6,l=3):(h=7,l=4))},I=function(t,e,a){var n,r,i=-1,s=e[1],_=0,h=7,l=4;for(0===s&&(h=138,l=3),n=0;n<=a;n++)if(r=s,s=e[2*(n+1)+1],!(++_<h&&r===s)){if(_<l)do{x(t,r,t.bl_tree)}while(0!=--_);else 0!==r?(r!==i&&(x(t,r,t.bl_tree),_--),x(t,16,t.bl_tree),z(t,_-3,2)):_<=10?(x(t,17,t.bl_tree),z(t,_-3,3)):(x(t,18,t.bl_tree),z(t,_-11,7));_=0,i=r,0===s?(h=138,l=3):r===s?(h=6,l=3):(h=7,l=4)}},N=!1,O=function(t,e,a,n){z(t,0+(n?1:0),3),function(t,e,a,n){U(t),n&&(k(t,a),k(t,~a)),t.pending_buf.set(t.window.subarray(e,e+a),t.pending),t.pending+=a}(t,e,a,!0)},D=function(t,e,n,r){var i,s,_=0;t.level>0?(2===t.strm.data_type&&(t.strm.data_type=function(t){var e,n=4093624447;for(e=0;e<=31;e++,n>>>=1)if(1&n&&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<a;e++)if(0!==t.dyn_ltree[2*e])return 1;return 0}(t)),F(t,t.l_desc),F(t,t.d_desc),_=function(t){var e;for(T(t,t.dyn_ltree,t.l_desc.max_code),T(t,t.dyn_dtree,t.d_desc.max_code),F(t,t.bl_desc),e=18;e>=3&&0===t.bl_tree[2*l[e]+1];e--);return t.opt_len+=3*(e+1)+5+5+4,e}(t),i=t.opt_len+3+7>>>3,(s=t.static_len+3+7>>>3)<=i&&(i=s)):i=s=n+5,n+4<=i&&-1!==e?O(t,e,n,r):4===t.strategy||s===i?(z(t,2+(r?1:0),3),L(t,o,d)):(z(t,4+(r?1:0),3),function(t,e,a,n){var r;for(z(t,e-257,5),z(t,a-1,5),z(t,n-4,4),r=0;r<n;r++)z(t,t.bl_tree[2*l[r]+1],3);I(t,t.dyn_ltree,e-1),I(t,t.dyn_dtree,a-1)}
1(t,t.l_desc.max_code+1,t.d_desc.max_code+1,_+1),L(t,t.dyn_ltree,t.dyn_dtree)),Z(t),r&&U(t)},B={_tr_init:function(t){N||(!function(){var t,e,a,l,m,y=new Array(16);for(a=0,l=0;l<28;l++)for(c[l]=a,t=0;t<1<<s[l];t++)f[a++]=l;for(f[a-1]=l,m=0,l=0;l<16;l++)for(v[l]=m,t=0;t<1<<_[l];t++)u[m++]=l;for(m>>=7;l<r;l++)for(v[l]=m<<7,t=0;t<1<<_[l]-7;t++)u[256+m++]=l;for(e=0;e<=i;e++)y[e]=0;for(t=0;t<=143;)o[2*t+1]=8,t++,y[8]++;for(;t<=255;)o[2*t+1]=9,t++,y[9]++;for(;t<=279;)o[2*t+1]=7,t++,y[7]++;for(;t<=287;)o[2*t+1]=8,t++,y[8]++;for(E(o,287,y),t=0;t<r;t++)d[2*t+1]=5,d[2*t]=A(t,5);p=new b(o,s,257,n,i),g=new b(d,_,0,r,i),w=new b(new Array(0),h,0,19,7)}(),N=!0),t.l_desc=new m(t.dyn_ltree,p),t.d_desc=new m(t.dyn_dtree,g),t.bl_desc=new m(t.bl_tree,w),t.bi_buf=0,t.bi_valid=0,Z(t)},_tr_stored_block:O,_tr_flush_block:D,_tr_tally:function(t,e,n){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&n,t.last_lit++,0===e?t.dyn_ltree[2*n]++:(t.matches++,e--,t.dyn_ltree[2*(f[n]+a+1)]++,t.dyn_dtree[2*y(e)]++),t.last_lit===t.lit_bufsize-1},_tr_align:function(t){z(t,2,3),x(t,256,o),function(t){16===t.bi_valid?(k(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)}},C=function(t,e,a,n){for(var r=65535&t|0,i=t>>>16&65535|0,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|0},H=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}()),M=function(t,e,a,n){var r=H,i=n+a;t^=-1;for(var s=n;s<i;s++)t=t>>>8^r[255&(t^e[s])];return-1^t},Y={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"},K={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_MEM_ERROR:-4,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8},P=B._tr_init,j=B._tr_stored_block,G=B._tr_flush_block,X=B._tr_tally,W=B._tr_align,q=K.Z_NO_FLUSH,J=K.Z_PARTIAL_FLUSH,Q=K.Z_FULL_FLUSH,V=K.Z_FINISH,$=K.Z_BLOCK,tt=K.Z_OK,et=K.Z_STREAM_END,at=K.Z_STREAM_ERROR,nt=K.Z_DATA_ERROR,rt=K.Z_BUF_ERROR,it=K.Z_DEFAULT_COMPRESSION,st=K.Z_FILTERED,_t=K.Z_HUFFMAN_ONLY,ht=K.Z_RLE,lt=K.Z_FIXED,ot=K.Z_DEFAULT_STRATEGY,dt=K.Z_UNKNOWN,ut=K.Z_DEFLATED,ft=258,ct=262,pt=103,gt=113,wt=666,vt=function(t,e){return t.msg=Y[e],e},bt=function(t){return(t<<1)-(t>4?9:0)},mt=function(t){for(var e=t.length;--e>=0;)t[e]=0},yt=function(t,e,a){return(e<<t.hash_shift^a)&t.hash_mask},kt=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))},zt=function(t,e){G(t,t.block_start>=0?t.block_start:-1,t.strstart-t.block_start,e),t.block_start=t.strstart,kt(t.strm)},xt=function(t,e){t.pending_buf[t.pending++]=e},At=function(t,e){t.pending_buf[t.pending++]=e>>>8&255,t.pending_buf[t.pending++]=255&e},Et=function(t,e){var a,n,r=t.max_chain_length,i=t.strstart,s=t.prev_length,_=t.nice_match,h=t.strstart>t.w_size-ct?t.strstart-(t.w_size-ct):0,l=t.window,o=t.w_mask,d=t.prev,u=t.strstart+ft,f=l[i+s-1],c=l[i+s];t.prev_length>=t.good_match&&(r>>=2),_>t.lookahead&&(_=t.lookahead);do{if(l[(a=e)+s]===c&&l[a+s-1]===f&&l[a]===l[i]&&l[++a]===l[i+1]){i+=2,a++;do{}while(l[++i]===l[++a]&&l[++i]===l[++a]&&l[++i]===l[++a]&&l[++i]===l[++a]&&l[++i]===l[++a]&&l[++i]===l[++a]&&l[++i]===l[++a]&&l[++i]===l[++a]&&i<u);if(n=ft-(u-i),i=u-ft,n>s){if(t.match_start=e,s=n,n>=_)break;f=l[i+s-1],c=l[i+s]}}}while((e=d[e&o])>h&&0!=--r);return s<=t.lookahead?s:t.lookahead},Zt=function(t){var e,a,n,r,i,s,_,h,l,o,d=t.w_size;do{if(r=t.window_size-t.lookahead-t.strstart,t.strstart>=d+(d-ct)){t.window.set(t.window.subarray(d,d+d),0),t.match_start-=d,t.strstart-=d,t.block_start-=d,e=a=t.hash_size;do{n=t.head[--e],t.head[e]=n>=d?n-d:0}while(--a);e=a=d;do{n=t.prev[--e],t.prev[e]=n>=d?n-d:0}while(--a);r+=d}if(0===t.strm.avail_in)break;if(s=t.strm,_=t.window,h=t.strstart+t.lookahead,l=r,o=void 0,(o=s.avail_in)>l&&(o=l),a=0===o?0:(s.avail_in-=o,_.set(s.input.subarray(s.next_in,s.next_in+o),h),1===s.state.wrap?s.adler=C(s.adler,_,o,h):2===s.state.wrap&&(s.adler=M(s.adler,_,o,h)),s.next_in+=o,s.total_in+=o,o),t.lookahead+=a,t.lookahead+t.insert>=3)for(i=t.strstart-t.insert,t.ins_h=t.window[i],t.ins_h=yt(t,t.ins_h,t.window[i+1]
1);t.insert&&(t.ins_h=yt(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<ct&&0!==t.strm.avail_in)},Ut=function(t,e){for(var a,n;;){if(t.lookahead<ct){if(Zt(t),t.lookahead<ct&&e===q)return 1;if(0===t.lookahead)break}if(a=0,t.lookahead>=3&&(t.ins_h=yt(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-ct&&(t.match_length=Et(t,a)),t.match_length>=3)if(n=X(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=yt(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=yt(t,t.ins_h,t.window[t.strstart+1]);else n=X(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++;if(n&&(zt(t,!1),0===t.strm.avail_out))return 1}return t.insert=t.strstart<2?t.strstart:2,e===V?(zt(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(zt(t,!1),0===t.strm.avail_out)?1:2},St=function(t,e){for(var a,n,r;;){if(t.lookahead<ct){if(Zt(t),t.lookahead<ct&&e===q)return 1;if(0===t.lookahead)break}if(a=0,t.lookahead>=3&&(t.ins_h=yt(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-ct&&(t.match_length=Et(t,a),t.match_length<=5&&(t.strategy===st||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=X(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=yt(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&&(zt(t,!1),0===t.strm.avail_out))return 1}else if(t.match_available){if((n=X(t,0,t.window[t.strstart-1]))&&zt(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=X(t,0,t.window[t.strstart-1]),t.match_available=0),t.insert=t.strstart<2?t.strstart:2,e===V?(zt(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(zt(t,!1),0===t.strm.avail_out)?1:2};function Rt(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 Lt=[new Rt(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(Zt(t),0===t.lookahead&&e===q)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,zt(t,!1),0===t.strm.avail_out))return 1;if(t.strstart-t.block_start>=t.w_size-ct&&(zt(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,e===V?(zt(t,!0),0===t.strm.avail_out?3:4):(t.strstart>t.block_start&&(zt(t,!1),t.strm.avail_out),1)})),new Rt(4,4,8,4,Ut),new Rt(4,5,16,8,Ut),new Rt(4,6,32,32,Ut),new Rt(4,4,16,16,St),new Rt(8,16,32,32,St),new Rt(8,16,128,128,St),new Rt(8,32,128,256,St),new Rt(32,128,258,1024,St),new Rt(32,258,258,4096,St)];function Ft(){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=ut,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),mt(this.dyn_ltree),mt(this.dyn_dtree),mt(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),mt(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new Uint16Array(573),mt(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}var Tt=function(t){if(!t||!t.state)return vt(t,at);t.total_in=t.total_out=0,t.data_type=dt;var e=t.state;return e.pending=0,e.pending_out=0,e.wrap<0&&(e.wrap=-e.wrap),e.status=e.wrap?42:gt,t.adler=2===e.wrap?0:1,e.last_flush=q,P(e),tt},It=function(t){var e,a=Tt(t);return a===tt&&((e=t.state).window_size=2*e.w_size,mt(e.head),e.max_lazy_match=Lt[e.level].max_lazy,e.good_match=Lt[e.level].good_length,e.nice_match=Lt[e.level].nice_length,e.max_chain_length=Lt[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),a},Nt=function(t,e,a,n,r,i){if(!t)return at;var s=1;if(e===it&&(e=6),n<0?(s=0,n=-n):n>15&&(s=2,n-=16),r<1||r>9||a!==ut||n<8||n>15||e<0||e>9||i<0||i>lt)return vt(t,at);8===n&&(n=9);var _=new Ft;return t.state=_,_.strm=t,_.wrap=s,_.gzhead=null,_.w_bits=n,_.w_size=1<<_.w_bits,_.w_mask=_.w_size-1,_.hash_bits=r+7,_.hash_size=1<<_.hash_bits,_.hash_mask=_.hash_size-1,_.hash_shift=~~((_.hash_bits+3-1)/3),_.window=new Uint8Array(2*_.w_size),_.head=new Uint16Array(_.hash_size),_.prev=new Uint16Array(_.w_size),_.lit_bufsize=1<<r+6,_.pending_buf_size=4*_.lit_bufsize,_.pending_buf=new Uint8Array(_.pending_buf_size),_.d_buf=1*_.lit_bufsize,_.l_buf=3*_.lit_bufsize,_.level=e,_.strategy=i,_.method=a,It(t)}
1,Ot={deflateInit:function(t,e){return Nt(t,e,ut,15,8,ot)},deflateInit2:Nt,deflateReset:It,deflateResetKeep:Tt,deflateSetHeader:function(t,e){return t&&t.state?2!==t.state.wrap?at:(t.state.gzhead=e,tt):at},deflate:function(t,e){var a,n;if(!t||!t.state||e>$||e<0)return t?vt(t,at):at;var r=t.state;if(!t.output||!t.input&&0!==t.avail_in||r.status===wt&&e!==V)return vt(t,0===t.avail_out?rt:at);r.strm=t;var i=r.last_flush;if(r.last_flush=e,42===r.status)if(2===r.wrap)t.adler=0,xt(r,31),xt(r,139),xt(r,8),r.gzhead?(xt(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)),xt(r,255&r.gzhead.time),xt(r,r.gzhead.time>>8&255),xt(r,r.gzhead.time>>16&255),xt(r,r.gzhead.time>>24&255),xt(r,9===r.level?2:r.strategy>=_t||r.level<2?4:0),xt(r,255&r.gzhead.os),r.gzhead.extra&&r.gzhead.extra.length&&(xt(r,255&r.gzhead.extra.length),xt(r,r.gzhead.extra.length>>8&255)),r.gzhead.hcrc&&(t.adler=M(t.adler,r.pending_buf,r.pending,0)),r.gzindex=0,r.status=69):(xt(r,0),xt(r,0),xt(r,0),xt(r,0),xt(r,0),xt(r,9===r.level?2:r.strategy>=_t||r.level<2?4:0),xt(r,3),r.status=gt);else{var s=ut+(r.w_bits-8<<4)<<8;s|=(r.strategy>=_t||r.level<2?0:r.level<6?1:6===r.level?2:3)<<6,0!==r.strstart&&(s|=32),s+=31-s%31,r.status=gt,At(r,s),0!==r.strstart&&(At(r,t.adler>>>16),At(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=M(t.adler,r.pending_buf,r.pending-a,a)),kt(t),a=r.pending,r.pending!==r.pending_buf_size));)xt(r,255&r.gzhead.extra[r.gzindex]),r.gzindex++;r.gzhead.hcrc&&r.pending>a&&(t.adler=M(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=M(t.adler,r.pending_buf,r.pending-a,a)),kt(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,xt(r,n)}while(0!==n);r.gzhead.hcrc&&r.pending>a&&(t.adler=M(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=M(t.adler,r.pending_buf,r.pending-a,a)),kt(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,xt(r,n)}while(0!==n);r.gzhead.hcrc&&r.pending>a&&(t.adler=M(t.adler,r.pending_buf,r.pending-a,a)),0===n&&(r.status=pt)}else r.status=pt;if(r.status===pt&&(r.gzhead.hcrc?(r.pending+2>r.pending_buf_size&&kt(t),r.pending+2<=r.pending_buf_size&&(xt(r,255&t.adler),xt(r,t.adler>>8&255),t.adler=0,r.status=gt)):r.status=gt),0!==r.pending){if(kt(t),0===t.avail_out)return r.last_flush=-1,tt}else if(0===t.avail_in&&bt(e)<=bt(i)&&e!==V)return vt(t,rt);if(r.status===wt&&0!==t.avail_in)return vt(t,rt);if(0!==t.avail_in||0!==r.lookahead||e!==q&&r.status!==wt){var _=r.strategy===_t?function(t,e){for(var a;;){if(0===t.lookahead&&(Zt(t),0===t.lookahead)){if(e===q)return 1;break}if(t.match_length=0,a=X(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++,a&&(zt(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,e===V?(zt(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(zt(t,!1),0===t.strm.avail_out)?1:2}(r,e):r.strategy===ht?function(t,e){for(var a,n,r,i,s=t.window;;){if(t.lookahead<=ft){if(Zt(t),t.lookahead<=ft&&e===q)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+ft;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=ft-(i-r),t.match_length>t.lookahead&&(t.match_length=t.lookahead)}if(t.match_length>=3?(a=X(t,1,t.match_length-3),t.lookahead-=t.match_length,t.strstart+=t.match_length,t.match_length=0):(a=X(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++),a&&(zt(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,e===V?(zt(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(zt(t,!1),0===t.strm.avail_out)?1:2}(r,e):Lt[r.level].func(r,e);if(3!==_&&4!==_||(r.status=wt),1===_||3===_)return 0===t.avail_out&&(r.last_flush=-1),tt;if(2===_&&(e===J?W(r):e!==$&&(j(r,0,0,!1),e===Q&&(mt(r.head),0===r.lookahead&&(r.strstart=0,r.block_start=0,r.insert=0))),kt(t),0===t.avail_out))return r.last_flush=-1,tt}return e!==V?tt:r.wrap<=0?et:(2===r.wrap?(xt(r,255&t.adler),xt(r,t.adler>>8&255),xt(r,t.adler>>16&255),xt(r,t.adler>>24&255),xt(r,255&t.total_in),xt(r,t.total_in>>8&255),xt(r,t.total_in>>16&255),xt(r,t.total_in>>24&255)):(At(r,t.adler>>>16),At(r,65535&t.adler)),kt(t),r.wrap>0&&(r.wrap=-r.wrap),0!==r.pending?tt:et)},deflateEnd:function(t){if(!t||!t.state)return at;var e=t.state.status;return 42!==e&&69!==e&&73!==e&&91!==e&&e!==pt&&e!==gt&&e!==wt?vt(t,at):(t.state=null,e===gt?vt(t,nt):tt)},deflateSetDictionary:function(t,e){var a=e.length;if(!t||!t.state)return at;var n=t.state,r=n.wrap;if(2===r||1===r&&42!==n.status||n.lookahead)return at;if(1===r&&(t.adler=C(t.adler,e,a,0)),n.wrap=0,a>=n.w_size){0===r&&(mt(n.head),n.strstart=0,n.block_start=0,n.insert=0);var i=new Uint8Array(n.w_size);
1i.set(e.subarray(a-n.w_size,a),0),e=i,a=n.w_size}var s=t.avail_in,_=t.next_in,h=t.input;for(t.avail_in=a,t.next_in=0,t.input=e,Zt(n);n.lookahead>=3;){var l=n.strstart,o=n.lookahead-2;do{n.ins_h=yt(n,n.ins_h,n.window[l+3-1]),n.prev[l&n.w_mask]=n.head[n.ins_h],n.head[n.ins_h]=l,l++}while(--o);n.strstart=l,n.lookahead=2,Zt(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=_,t.input=h,t.avail_in=s,n.wrap=r,tt},deflateInfo:"pako deflate (from Nodeca project)"};for(var Dt=new Uint8Array(256),Bt=0;Bt<256;Bt++)Dt[Bt]=Bt>=252?6:Bt>=248?5:Bt>=240?4:Bt>=224?3:Bt>=192?2:1;Dt[254]=Dt[254]=1;var Ct=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},Ht=Object.prototype.toString,Mt=K.Z_NO_FLUSH,Yt=K.Z_SYNC_FLUSH,Kt=K.Z_FULL_FLUSH,Pt=K.Z_FINISH,jt=K.Z_OK,Gt=K.Z_STREAM_END,Xt=K.Z_DEFAULT_COMPRESSION,Wt=K.Z_DEFAULT_STRATEGY,qt=K.Z_DEFLATED;function Jt(){this.options={level:Xt,method:qt,chunkSize:16384,windowBits:15,memLevel:8,strategy:Wt};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 Ct,this.strm.avail_out=0;var e=Ot.deflateInit2(this.strm,t.level,t.method,t.windowBits,t.memLevel,t.strategy);if(e!==jt)throw new Error(Y[e]);if(t.header&&Ot.deflateSetHeader(this.strm,t.header),t.dictionary){var a;if(a="[object ArrayBuffer]"===Ht.call(t.dictionary)?new Uint8Array(t.dictionary):t.dictionary,(e=Ot.deflateSetDictionary(this.strm,a))!==jt)throw new Error(Y[e]);this._dict_set=!0}}function Qt(t,e,a){try{t.postMessage({type:"errored",error:e,streamId:a})}catch(n){t.postMessage({type:"errored",error:String(e),streamId:a})}}function Vt(t){var e=t.strm.adler;return new Uint8Array([3,0,e>>>24&255,e>>>16&255,e>>>8&255,255&e])}Jt.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?Pt:Mt,"[object ArrayBuffer]"===Ht.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),(n===Yt||n===Kt)&&r.avail_out<=6)this.onData(r.output.subarray(0,r.next_out)),r.avail_out=0;else{if((a=Ot.deflate(r,n))===Gt)return r.next_out>0&&this.onData(r.output.subarray(0,r.next_out)),a=Ot.deflateEnd(this.strm),this.onEnd(a),this.ended=!0,a===jt;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},Jt.prototype.onData=function(t){this.chunks.push(t)},Jt.prototype.onEnd=function(t){t===jt&&(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,_=t.length;i<_;i++){var h=t[i];r.set(h,s),s+=h.length}return r}(this.chunks)),this.chunks=[],this.err=t,this.msg=this.strm.msg},function(e){void 0===e&&(e=self);try{var a=new Map;e.addEventListener("message",(function(n){try{var r=function(e,a){switch(a.action){case"init":return{type:"initialized",version:"4.50.0"};case"write":var n=e.get(a.streamId);n||(n=new Jt,e.set(a.streamId,n));var r=n.chunks.length,i=function(t){if("function"==typeof TextEncoder&&TextEncoder.prototype.encode)return(new TextEncoder).encode(t);var e,a,n,r,i,s=t.length,_=0;for(r=0;r<s;r++)55296==(64512&(a=t.charCodeAt(r)))&&r+1<s&&56320==(64512&(n=t.charCodeAt(r+1)))&&(a=65536+(a-55296<<10)+(n-56320),r++),_+=a<128?1:a<2048?2:a<65536?3:4;for(e=new Uint8Array(_),i=0,r=0;i<_;r++)55296==(64512&(a=t.charCodeAt(r)))&&r+1<s&&56320==(64512&(n=t.charCodeAt(r+1)))&&(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,K.Z_SYNC_FLUSH),{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){Qt(e,t,n.data&&"streamId"in n.data?n.data.streamId:void 0)}}))}catch(t){Qt(e,t)}}()}();'])))}var nR={status:0};function nI(t,e,n,r){if(1===nR.status||0===nR.status){var i;if(w.jf.error("".concat(e," failed to start: an error occurred while creating the Worker:"),n),n instanceof Event||n instanceof Error&&(i=n.message,(0,I.q9)(i,"Content Security Policy")||(0,I.q9)(i,"requires 'TrustedScriptURL'"))){var o=void 0;o=t.workerUrl?"Please make sure the Worker URL ".concat(t.workerUrl," is correct and CSP is correctly configured."):"Please make sure CSP is correctly configured.",w.jf.error("".concat(o," See documentation at https://docs.datadoghq.com/integrations/content_security_policy_logs/#use-csp-with-real-user-monitoring-and-session-replay"))}else(0,H.Sz)(n);1===nR.status&&nR.initializationFailureCallbacks.forEach(function(t){return t()}),nR={status:2}}else(0,H.Sz)(n,{worker_version:3===nR.status&&nR.version,stream_id:r})}var nO=function(t,e,n){var r={}.ignoreInitIfSyntheticsWillInjectRum,i=void 0===r||r,o=!1,a=(0,m.W)(2),s=(0,m.W)(1),u=function(){},c=function(){},l=_.Z,d=function(){},f=new y.S,p=function(t,e){void 0===e&&(e=(0,b.n$)()),f.add(function(){return p(t,e)})},v=function(t,e){void 0===e&&(e=(0,b.$I)()),f.add(function(){return v(t,e)})},g=function(t,n){void 0===n&&(n=V(a,s,e)),f.add(function(){return g(t,n)})},M=function(t,n){void 0===n&&(n=V(a,s,e)),f.add(function(){return M(t,n)})},D=function(t,e){f.add(function(){return D(t,e)})};function F(n,r,i){if(n.storeContextsAcrossPages){var o=a.getContext();(a=(0,E.PI)(r,"rum",2)).setContext((0,S.$e)(a.getContext(),o));var c=s.getContext();(s=(0,E.PI)(r,"rum",1)).setContext((0,S.$e)(s.getContext(),c))}var h=t(n,r,e,a,s,i);d=function(){return e.getSessionReplayLink(r,h.session,h.viewContexts)},v=h.startView,g=h.addAction,M=h.addError,p=h.addTiming,D=h.addFeatureFlagEvaluation,u=h.getInternalContext,l=h.stopSession,f.drain(),e.onRumStart(h.lifeCycle,r,h.session,h.viewContexts)}var B=(0,x.zk)(function(t){v("object"==typeof t?t:{name:t})});return(0,h.r)({init:(0,x.zk)(function(t){if(!t){w.jf.error("Missing configuration");return}if(c=function(){return(0,S.I8)(t)},!(i&&(0,T.Y9)())){var e,n,r=(0,k.x)();if(r&&(e=t,t=(0,I.f0)({},e,{applicationId:"00000000-aaaa-0000-aaaa-000000000000",clientToken:"empty",sessionSampleRate:100})),n=t,!o||(n.silentMultipleInit||w.jf.error("DD_RUM is already initialized."),0)){var a=function(t){if(!t.applicationId){w.jf.error("Application ID is not configured, no RUM data will be collected.");return}if(void 0!==t.sessionReplaySampleRate&&!(0,O.zz)(t.sessionReplaySampleRate)){w.jf.error("Session Replay Sample Rate should be a number between 0 and 100");return}var e,n,r,i,o,a,s=null!==(e=t.premiumSampleRate)&&void 0!==e?e:t.replaySampleRate;if(void 0!==s&&void 0!==t.sessionReplaySampleRate&&(w.jf.warn("Ignoring Premium Sample Rate because Session Replay Sample Rate is set"),s=void 0),void 0!==s&&!(0,O.zz)(s)){w.jf.error("Premium Sample Rate should be a number between 0 and 100");return}var u=null!==(n=t.traceSampleRate)&&void 0!==n?n:t.tracingSampleRate;if(void 0!==u&&!(0,O.zz)(u)){w.jf.error("Trace Sample Rate should be a number between 0 and 100");return}if(void 0!==t.excludedActivityUrls&&!Array.isArray(t.excludedActivityUrls)){w.jf.error("Excluded A
1ctivity Urls should be an array");return}var c=function(t){if(void 0!==t.allowedTracingUrls&&void 0!==t.allowedTracingOrigins&&w.jf.warn("Both allowedTracingUrls and allowedTracingOrigins (deprecated) have been defined. The parameter allowedTracingUrls will override allowedTracingOrigins."),void 0!==t.allowedTracingUrls){if(!Array.isArray(t.allowedTracingUrls)){w.jf.error("Allowed Tracing URLs should be an array");return}if(0!==t.allowedTracingUrls.length&&void 0===t.service){w.jf.error("Service needs to be configured when tracing is enabled");return}var e=[];return t.allowedTracingUrls.forEach(function(t){P(t)?e.push({match:t,propagatorTypes:["datadog"]}):"object"===(0,z.o)(t)&&P(t.match)&&Array.isArray(t.propagatorTypes)?e.push(t):w.jf.warn("Allowed Tracing Urls parameters should be a string, RegExp, function, or an object. Ignoring parameter",t)}),e}if(void 0!==t.allowedTracingOrigins){if(!Array.isArray(t.allowedTracingOrigins)){w.jf.error("Allowed Tracing Origins should be an array");return}if(0!==t.allowedTracingOrigins.length&&void 0===t.service){w.jf.error("Service needs to be configured when tracing is enabled");return}var n=[];return t.allowedTracingOrigins.forEach(function(t){var e=function(t){var e;if("string"==typeof t?e=t:t instanceof RegExp?e=function(e){return t.test((0,U.P$)(e))}:"function"==typeof t&&(e=function(e){return t((0,U.P$)(e))}),void 0===e){w.jf.warn("Allowed Tracing Origins parameters should be a string, RegExp or function. Ignoring parameter",t);return}return{match:e,propagatorTypes:["datadog"]}}(t);e&&n.push(e)}),n}return[]}(t);if(c){var l=(0,N.fP)(t);if(l){var d=!!(null!==(r=t.trackUserInteractions)&&void 0!==r?r:t.trackInteractions),f=!!t.trackFrustrations;return(0,I.f0)({applicationId:t.applicationId,version:t.version,actionNameAttribute:t.actionNameAttribute,sessionReplaySampleRate:null!==(o=null!==(i=t.sessionReplaySampleRate)&&void 0!==i?i:s)&&void 0!==o?o:100,oldPlansBehavior:void 0===t.sessionReplaySampleRate,traceSampleRate:u,allowedTracingUrls:c,excludedActivityUrls:null!==(a=t.excludedActivityUrls)&&void 0!==a?a:[],workerUrl:t.workerUrl,trackUserInteractions:d||f,trackFrustrations:f,trackViewsManually:!!t.trackViewsManually,trackResources:t.trackResources,trackLongTasks:t.trackLongTasks,subdomain:t.subdomain,defaultPrivacyLevel:(0,L.E5)(N.Jj,t.defaultPrivacyLevel)?t.defaultPrivacyLevel:N.Jj.MASK_USER_INPUT,customerDataTelemetrySampleRate:1},l)}}}(t);if(a){if(!r&&!a.sessionStoreStrategyType){w.jf.warn("No storage available for session. We will not send any data.");return}if(a.trackViewsManually){var s=f;f=new y.S,v=function(e){F(t,a,e)},s.drain()}else F(t,a);o=!0}}}}),addRumGlobalContext:(0,x.zk)(function(t,e){return a.add(t,e)}),setGlobalContextProperty:(0,x.zk)(function(t,e){return a.setContextProperty(t,e)}),removeRumGlobalContext:(0,x.zk)(function(t){return a.remove(t)}),removeGlobalContextProperty:(0,x.zk)(function(t){return a.removeContextProperty(t)}),getRumGlobalContext:(0,x.zk)(function(){return a.get()}),getGlobalContext:(0,x.zk)(function(){return a.getContext()}),setRumGlobalContext:(0,x.zk)(function(t){return a.set(t)}),setGlobalContext:(0,x.zk)(function(t){return a.setContext(t)}),clearGlobalContext:(0,x.zk)(function(){return a.clearContext()}),getInternalContext:(0,x.zk)(function(t){return u(t)}),getInitConfiguration:(0,x.zk)(function(){return c()}),addAction:(0,x.zk)(function(t,e){g({name:(0,C.N)(t),context:(0,C.N)(e),startClocks:(0,b.$I)(),type:"custom"})}),addError:function(t,e){var n=(0,A.Xp)();(0,x.L6)(function(){M({error:t,handlingStack:n,context:(0,C.N)(e),startClocks:(0,b.$I)()})})},addTiming:(0,x.zk)(function(t,e){p((0,C.N)(t),e)}),setUser:(0,x.zk)(function(t){(0,R.z)(t)&&s.setContext((0,R.I)(t))}),getUser:(0,x.zk)(function(){return s.getContext()}),setUserProperty:(0,x.zk)(function(t,e){var n,r=(0,R.I)(((n={})[t]=e,n))[t];s.setContextProperty(t,r)}),removeUserProperty:(0,x.zk)(function(t){return s.removeContextProperty(t)}),removeUser:(0,x.zk)(function(){return s.clearContext()}),clearUser:(0,x.zk)(function(){return s.clearContext()}),startView:B,stopSession:(0,x.zk)(function(){l()}),startSessionReplayRecording:(0,x.zk)(e.start),stopSessionReplayRecording:(0,x.zk)(e.stop),addFeatureFlagEvaluation:(0,x.zk)(function(t,e){D((0,C.N)(t),(0,C.N)(e))}),getSessionReplayLink:(0,x.zk)(function(){return d()})})}(function(t,e,n,o,a,s){var c,p,v,h,g,m,y,E,R,M,B,j,K,tt,tn,tr,tu,tc,tl,tk,tO,tU,tD,tH,tZ,tG,tK,tW,t$=[],tX=new tT;tX.subscribe(11,function(t){return(0,q.j)("rum",t)});var tY=function(t){var e=(0,H.VL)("browser-rum-sdk",t);if((0,k.x)()){var n=(0,k.A)();e.observable.subscribe(function(t){return n.send("internal_telemetry",t)})}return e}(e);tY.setContextProvider(function(){var t,n;return{application:{id:e.applicationId},session:{id:null===(t=et.findTrackedSession())||void 0===t?void 0:t.id},view:{id:null===(n=eY.findView())||void 0===n?void 0:n.id},action:{id:e1.findActionId()}}});var tQ=function(t){tX.notify(12,{error:t}),(0,H.eJ)("Error reported to customer",{"error.message":t.message})},t0=function(t,e){if(void 0===e&&(e=eI.qt),!(0,ea.W_)(ea.uh.FEATURE_FLAGS))return{findFeatureFlagEvaluations:function(){},getFeatureFlagBytesCount:function(){return 0},addFeatureFlagEvaluation:_.Z,stop:_.Z};var n=new tE.P(eL),r=0,i=!1;t.subscribe(4,function(t){var e=t.endClocks;n.closeActive(e.relative)}),t.subscribe(2,function(t){var e=t.startClocks;n.add({},e.relative),r=0});var o=(0,_.P)(function(t){r=e((0,eO.l)(t)),i||(i=(0,eN.H)(r,0))},200),a=o.throttled;return{findFeatureFlagEvaluations:function(t){return n.find(t)},getFeatureFlagBytesCount:function(){return n.find()?r:0},addFeatureFlagEvaluation:function(t,e){var r=n.find();r&&(r[t]=e,a(r))},stop:o.cancel}}(tX),t1=(0,Z.Pd)(e),t2=t1.subscribe(function(t){tX.notify(9,t)});t$.push(function(){return t2.unsubscribe()});var et=(0,k.x)()?(eM={id:"00000000-aaaa-0000-aaaa-000000000000",plan:1,sessionReplayAllowed:!1,longTaskAllowed:!0,resourceAllowed:!0},{findTrackedSession:function(){return eM},expire:_.Z,expireObservable:new G.y}):((eq=(0,ex.HX)(e,"rum",function(t){var n;return{trackingType:n="0"===t||"1"===t||"2"===t?t:(0,O.y7)(e.sessionSampleRate)?(0,O.y7)(e.sessionReplaySampleRate)?"1":"2":"0",
1isTracked:eC(n)}})).expireObservable.subscribe(function(){tX.notify(7)}),eq.renewObservable.subscribe(function(){tX.notify(8)}),{findTrackedSession:function(t){var n=eq.findActiveSession(t);if(n&&eC(n.trackingType)){var r="1"===n.trackingType?2:1;return{id:n.id,plan:r,sessionReplayAllowed:2===r,longTaskAllowed:void 0!==e.trackLongTasks?e.trackLongTasks:e.oldPlansBehavior&&2===r,resourceAllowed:void 0!==e.trackResources?e.trackResources:e.oldPlansBehavior&&2===r}}},expire:eq.expire,expireObservable:eq.expireObservable});if((0,k.x)())!function(t){var e=(0,k.A)();t.subscribe(11,function(t){e.send("rum",t)})}(tX);else{var e_,eM,eq,eH,eZ,eG,eK,eW=(eH=tY.observable,eZ=et.expireObservable,eG=e.replica,eK=(0,eA.W)(e,{endpoint:e.rumEndpointBuilder},eG&&{endpoint:eG.rumEndpointBuilder,transformMessage:function(t){return(0,S.$e)(t,{application:{id:eG.applicationId}})}},tQ,t1,eZ),tX.subscribe(11,function(t){"view"===t.type?eK.upsert(t,t.view.id):eK.add(t)}),eH.subscribe(function(t){return eK.add(t,(0,H.VG)(e))}),eK);t$.push(function(){return eW.stop()}),e_=eW.flushObservable,tY.enabled&&(0,O.y7)(e.customerDataTelemetrySampleRate)&&(eF(),eB(),tX.subscribe(11,function(t){f=!0,eU(d.globalContextBytes,(0,L.Qr)(o.get())?0:o.getBytesCount()),eU(d.userContextBytes,(0,L.Qr)(a.get())?0:a.getBytesCount());var e=t0.findFeatureFlagEvaluations(),n=(0,I.q9)(["view","error"],t.type)&&e&&!(0,L.Qr)(e);eU(d.featureFlagBytes,n?t0.getFeatureFlagBytesCount():0)}),e_.subscribe(function(t){var e=t.bytesCount,n=t.messagesCount;f&&(l.batchCount+=1,eU(l.batchBytesCount,e),eU(l.batchMessagesCount,n),eD(l.globalContextBytes,d.globalContextBytes),eD(l.userContextBytes,d.userContextBytes),eD(l.featureFlagBytes,d.featureFlagBytes),eB())}),(0,$.Zi)(eP,ez))}var e$=(tc=W(),tl=new G.y(function(){if(tc){var t=new tc((0,x.zk)(function(){return tl.notify()}));return t.observe(document,{attributes:!0,characterData:!0,childList:!0,subtree:!0}),function(){return t.disconnect()}}}
1)),eJ=function(t,e){var n=(0,L.mv)(e),r=new G.y(function(){var e,n,r,o=(e=(0,tz.Lm)(history,"pushState",{after:i}).stop,n=(0,tz.Lm)(history,"replaceState",{after:i}).stop,r=(0,J.O)(t,window,"popstate",i).stop,{stop:function(){e(),n(),r()}}).stop,a=(0,J.O)(t,window,"hashchange",i).stop;return function(){o(),a()}});function i(){if(n.href!==e.href){var t=(0,L.mv)(e);r.notify({newLocation:t,oldLocation:n}),n=t}}return r}(e,location),eX=(c=tX,p=e,v=location,h=et,g=eJ,m=e$,y=function(){return V(o,a,n)},E=tQ,B=(R=new tE.P(tx),c.subscribe(2,function(t){R.add({service:t.service,version:t.version,id:t.id,name:t.name,startClocks:t.startClocks},t.startClocks.relative)}),c.subscribe(4,function(t){var e=t.endClocks;R.closeActive(e.relative)}),c.subscribe(8,function(){R.reset()}),{findView:function(t){return R.find(t)},stop:function(){R.stop()}}),j=function(t,e,n){var r,i=new tE.P(eR);t.subscribe(4,function(t){var e=t.endClocks;i.closeActive(e.relative)}),t.subscribe(2,function(t){var e=t.startClocks,o=n.href;i.add(a({url:o,referrer:r||document.referrer}),e.relative),r=o});var o=e.subscribe(function(t){var e=t.newLocation,n=i.find();if(n){var r=(0,b._q)();i.closeActive(r),i.add(a({url:e.href,referrer:n.referrer}),r)}});function a(t){return{url:t.url,referrer:t.referrer}}return{findUrl:function(t){return i.find(t)},stop:function(){o.unsubscribe(),i.stop()}}}(c,g,v),K=function(t,e){void 0===e&&(e=500);var n,r=new tE.P(ej,4e3);o(eV(),(0,b._q)());var i=(0,J.y)(t,window,["pageshow","focus","blur","visibilitychange","resume","freeze","pagehide"],function(t){t.isTrusted&&o("freeze"===t.type?"frozen":"pagehide"===t.type?t.persisted?"frozen":"terminated":eV(),t.timeStamp)},{capture:!0}).stop;function o(t,e){void 0===e&&(e=(0,b._q)()),t!==n&&(n=t,r.closeActive(e),r.add({state:n,startTime:e},e))}return{findAll:function(t,n){var i=r.findAll(t,n);if(0!==i.length){for(var o=[],a=Math.max(0,i.length-e),s=i.length-1;s>=a;s--){var u=i[s],c=(0,b._J)(t,u.startTime);o.push({state:u.state,start:(0,b.c0)(c)})}return o}},isInActivePageStateAt:function(t){var e=r.find(t);return void 0!==e&&"active"===e.state},addPageState:o,stop:function(){i(),r.stop()}}}(p),tn=(tt=function(t,e,n,r){t.subscribe(1,function(e){return t.notify(10,t7(e,r))});var i={findActionId:_.Z};return n.trackUserInteractions&&(i=function(t,e,n){var r,i,o,a,s,u,c,l,d=new tE.P(t8),f=new G.y;t.subscribe(8,function(){d.reset()}),t.subscribe(4,h);var p=(a=(r={onPointerDown:function(r){return function(t,e,n,r,i){if(!(!t.trackFrustrations&&r.find())){var o,a,s,u,c,l=(o=i,a=t.actionNameAttribute,{type:"click",target:{width:Math.round((u=o.target.getBoundingClientRect()).width),height:Math.round(u.height),selector:tJ(o.target,a)},position:{x:Math.round(o.clientX-u.left),y:Math.round(o.clientY-u.top)},name:tB(s=o.target,tF)||a&&tB(s,a)||tq(s,a,tj)||tq(s,a,tV)||""});if(t.trackFrustrations||l.name){var d=!1;return c=function(t){d=t.hadActivity},tP(tM(e,n,t),c,100),{clickActionBase:l,hadActivityOnPointerDown:function(){return d}}}}}(n,t,e,d,r)},onPointerUp:function(r,i,o){var a,s,u,c,l,p,h,g,m,_,y,w,S,T,k;return a=n,s=t,u=e,c=d,l=f,p=v,h=r.clickActionBase,g=i,m=o,_=r.hadActivityOnPointerDown,w=function t(e,n,r,i,o){var a,s=(0,to.DO)(),u=(0,b.$I)(),c=n.add(s,u.relative),l=tL({lifeCycle:e,isChildEvent:function(t){return void 0!==t.action&&(Array.isArray(t.action.id)?(0,I.q9)(t.action.id,s):t.action.id===s)}}),d=0,f=[],p=new G.y;function v(t){0===d&&(d=1,(a=t)?c.close((0,b.ni)(a)):c.remove(),l.stop(),p.notify())}return{event:o,stop:v,stopObservable:p,get hasError(){return l.eventCounts.errorCount>0},get hasPageActivity(){return void 0!==a},getUserActivity:r,addFrustration:function(t){f.push(t)},startClocks:u,isStopped:function(){return 1===d||2===d},clone:function(){return t(e,n,r,i,o)},validate:function(t){if(v(),1===d){var n=l.eventCounts,r=n.resourceCount,c=n.errorCount,p=n.longTaskCount,h=(0,I.f0)({type:"click",duration:a&&(0,b._J)(u.timeStamp,a),startClocks:u,id:s,frustrationTypes:f,counts:{resourceCount:r,errorCount:c,longTaskCount:p},events:null!=t?t:[o],event:o},i);e.notify(1,h),d=2}},discard:function(){v(),d=2}}}(s,c,m,h,g),a.trackFrustrations&&p(w),S=(y=function(t){t.hadActivity&&t.end<w.startClocks.timeStamp?w.discard():(t.hadActivity?w.stop(t.end):_()?w.stop(w.startClocks.timeStamp):w.stop(),a.trackFrustrations||(t.hadActivity?w.validate():w.discard()))},tP(tM(s,u,a),y,t9)).stop,T=s.subscribe(4,function(t){var e=t.endClocks;w.stop(e.timeStamp)}),k=l.subscribe(function(){w.stop()}),void w.stopObservable.subscribe(function(){T.unsubscribe(),S(),k.unsubscribe()})}}).onPointerDown,s=r.onPointerUp,u={selection:!1,input:!1},c=[(0,J.O)(n,window,"pointerdown",function(t){t6(t)&&(i=t5(),u={selection:!1,input:!1},o=a(t))},{capture:!0}),(0,J.O)(n,window,"selectionchange",function(){i&&t5()||(u.selection=!0)},{capture:!0}),(0,J.O)(n,window,"pointerup",function(t){if(t6(t)&&o){var e=u;s(o,t,function(){return e}),o=void 0}},{capture:!0}),(0,J.O)(n,window,"input",function(){u.input=!0},{capture:!0}
1)],{stop:function(){c.forEach(function(t){return t.stop()})}}).stop;return{stop:function(){h(),f.notify(),p()},actionContexts:{findActionId:function(t){return n.trackFrustrations?d.findAll(t):d.find(t)}}};function v(t){if(!l||!l.tryAppend(t)){var e=t.clone();l=function(t,e){var n,r=[],i=0;function o(t){t.stopObservable.subscribe(a),r.push(t),(0,$.gr)(n),n=(0,$.iK)(s,t3)}function a(){1===i&&r.every(function(t){return t.isStopped()})&&(i=2,e(r))}function s(){(0,$.gr)(n),0===i&&(i=1,a())}return o(t),{tryAppend:function(t){var e,n;return 0===i&&(!(r.length>0)||(e=r[r.length-1].event,n=t.event,e.target===n.target&&100>=Math.sqrt(Math.pow(e.clientX-n.clientX,2)+Math.pow(e.clientY-n.clientY,2))&&e.timeStamp-n.timeStamp<=t3)?(o(t),!0):(s(),!1))},stop:function(){s()}}}(t,function(t){(function(t,e){if(function(t){if(t.some(function(t){return t.getUserActivity().selection}))return!1;for(var e=0;e<t.length-2;e+=1)if(t[e+3-1].event.timeStamp-t[e].event.timeStamp<=b.WT)return!0;return!1}(t))return e.addFrustration("rage_click"),t.some(t4)&&e.addFrustration("dead_click"),e.hasError&&e.addFrustration("error_click"),{isRage:!0};var n=t.some(function(t){return t.getUserActivity().selection});return t.forEach(function(t){t.hasError&&t.addFrustration("error_click"),t4(t)&&!n&&t.addFrustration("dead_click")}),{isRage:!1}})(t,e).isRage?(t.forEach(function(t){return t.discard()}),e.stop((0,b.n$)()),e.validate(t.map(function(t){return t.event}))):(e.discard(),t.forEach(function(t){return t.validate()}))})}}function h(){l&&l.stop()}}(t,e,n).actionContexts),{addAction:function(e,n){t.notify(10,(0,I.f0)({savedCommonContext:n},t7(e,r)))},actionContexts:i}}(c,m,p,K)).addAction,tr=tt.actionContexts,tu=(M=ew(),{get:function(){return{viewport:M}},stop:eb(p).subscribe(function(t){M=t}).unsubscribe}),!function(t,e,n,r,o,a,s,u,c){(l={}).view=tw,l.error=(0,I.f0)({"error.message":"string","error.stack":"string","error.resource.url":"string","error.fingerprint":"string"},tS,tw),l.resource=(0,I.f0)({"resource.url":"string"},tS,tw),l.action=(0,I.f0)({"action.target.name":"string"},tS,tw),l.long_task=(0,I.f0)({},tS,tw),i=l;var l,d,f=((d={}).error=(0,t_.K)("error",t.eventRateLimiterThreshold,c),d.action=(0,t_.K)("action",t.eventRateLimiterThreshold,c),d),p=function(){var t=(0,T.L7)(),e=(0,T.QB)();if(t&&e)return{test_id:t,result_id:e,injected:(0,T.Y9)()}}(),v=function(){var t,e=null===(t=window.Cypress)||void 0===t?void 0:t.env("traceId");if("string"==typeof e)return{test_execution_id:e}}();e.subscribe(10,function(c){var l=c.startTime,d=c.rawRumEvent,h=c.domainContext,g=c.savedCommonContext,m=c.customerContext,_=r.findView(l),y=o.findUrl(l),T=n.findTrackedSession(l);if(T&&_&&y){var E=g||u(),x=a.findActionId(l),A={_dd:{format_version:2,drift:(0,b.QA)(),session:{plan:T.plan},configuration:{session_sample_rate:(0,O.NM)(t.sessionSampleRate,3),session_replay_sample_rate:(0,O.NM)(t.sessionReplaySampleRate,3)},browser_sdk_version:(0,k.x)()?"4.50.0":void 0},application:{id:t.applicationId},date:(0,b.n$)(),service:_.service||t.service,version:_.version||t.version,source:"browser",session:{id:T.id,type:p?"synthetics":v?"ci_test":"user"},view:{id:_.id,name:_.name,url:y.url,referrer:y.referrer},action:-1!==["error","resource","long_task"].indexOf(d.type)&&x?{id:x}:void 0,synthetics:p,ci_test:v,display:s.get()},R=(0,S.$e)(A,d);R.context=(0,S.$e)(E.context,m),"has_replay"in R.session||(R.session.has_replay=E.hasReplay),(0,L.Qr)(E.user)||(R.usr=E.user),function(t,e,n,r){if(e){var o,a,s,u,c=(o=i[t.type],s=e(a=(0,S.I8)(t),n),(0,I.qP)(o).forEach(function(e){var n=e[0],r=e[1],i=function(t,e){for(var n=t,r=0,i=e.split(".");r<i.length;r++){var o,a=i[r];if(!(tb(o=n)&&Object.prototype.hasOwnProperty.call(o,a)))return;n=n[a]}return n}(a,n),o=(0,z.o)(i);o===r?ty(t,n,(0,C.N)(i)):"object"===r&&("undefined"===o||"null"===o)&&ty(t,n,{})}),s);if(!1===c&&"view"!==t.type)return!1;!1===c&&w.jf.warn("Can't dismiss view events using beforeSend!")}return!(null===(u=r[t.type])||void 0===u?void 0:u.isLimitReached())}(R,t.beforeSend,h,f)&&((0,L.Qr)(R.context)&&delete R.context,e.notify(11,R))}})}(p,c,h,B,j,tr,tu,y,E),{viewContexts:B,pageStateHistory:K,urlContexts:j,addAction:tn,actionContexts:tr,stop:function(){tu.stop(),K.stop(),j.stop(),B.stop(),K.stop()}}),eY=eX.viewContexts,eQ=eX.pageStateHistory,e0=eX.urlContexts,e1=eX.actionContexts,e2=eX.addAction,e3=eX.stop;t$.push(e3),(0,H.Uo)((tU=(0,N.JZ)(t),(0,I.f0)({premium_sample_rate:t.premiumSampleRate,replay_sample_rate:t.replaySampleRate,session_replay_sample_rate:t.sessionReplaySampleRate,trace_sample_rate:null!==(tk=t.traceSampleRate)&&void 0!==tk?tk:t.tracingSampleRate,action_name_attribute:t.actionNameAttribute,use_allowed_tracing_origins:Array.isArray(t.allowedTracingOrigins)&&t.allowedTracingOrigins.length>0,use_allowed_tracing_urls:Array.isArray(t.allowedTracingUrls)&&t.allowedTracingUrls.length>0,selected_tracing_propagators:(tD=new Set,Array.isArray(t.allowedTracingUrls)&&t.allowedTracingUrls.length>
10&&t.allowedTracingUrls.forEach(function(t){P(t)?tD.add("datadog"):"object"===(0,z.o)(t)&&Array.isArray(t.propagatorTypes)&&t.propagatorTypes.forEach(function(t){return tD.add(t)})}),Array.isArray(t.allowedTracingOrigins)&&t.allowedTracingOrigins.length>0&&tD.add("datadog"),(0,I.Oc)(tD)),default_privacy_level:t.defaultPrivacyLevel,use_excluded_activity_urls:Array.isArray(t.excludedActivityUrls)&&t.excludedActivityUrls.length>0,use_worker_url:!!t.workerUrl,track_frustrations:t.trackFrustrations,track_views_manually:t.trackViewsManually,track_user_interactions:null!==(tO=t.trackUserInteractions)&&void 0!==tO?tO:t.trackInteractions},tU))),function(t,e){t.subscribe(0,function(n){for(var i=0;i<n.length;i++){var o=n[i];if(o.entryType!==r.LONG_TASK)break;var a=e.findTrackedSession(o.startTime);if(!a||!a.longTaskAllowed)break;var s=(0,b.DY)(o.startTime),u={date:s.timeStamp,long_task:{id:(0,to.DO)(),duration:(0,b.c0)(o.duration)},type:"long_task",_dd:{discarded:!1}};t.notify(10,{rawRumEvent:u,startTime:s.relative,domainContext:{performanceEntry:o.toJSON()}})}})}(tX,et),tX.subscribe(6,function(t){var n,r,i,o,a,s,u,c,l,d,f,p;tX.notify(10,(o="xhr"===t.type?"xhr":"fetch",s=(a=function(t){if(performance&&"getEntriesByName"in performance){var e=performance.getEntriesByName(t.url,"resource");if(e.length&&"toJSON"in e[0]){var n=e.map(function(t){return t.toJSON()}).filter(te).filter(function(e){var n,r;return n=t.startClocks.relative,r=es({startTime:t.startClocks.relative,duration:t.duration}),e.startTime>=n-1&&es(e)<=(0,b.WK)(r,1)});if(1===n.length)return n[0]}}}(t))?(0,b.DY)(a.startTime):t.startClocks,u=a?eu(a):void 0,c=function(t,e){if(t.traceSampled&&t.traceId&&t.spanId)return{_dd:{span_id:t.spanId.toDecimalString(),trace_id:t.traceId.toDecimalString(),rule_psr:ec(e)}}}(t,e),l=el(et,s),n=t.duration,d=(0,ea.W_)(ea.uh.NO_RESOURCE_DURATION_FROZEN_STATE)&&(null===(r=eQ.findAll(s.relative,n))||void 0===r?void 0:r.some(function(t){return"frozen"===t.state}))?void 0:(0,b.c0)(n),f=ed(eQ,s,null!==(i=null==a?void 0:a.duration)&&void 0!==i?i:t.duration),p=(0,S.$e)({date:s.timeStamp,resource:{id:(0,to.DO)(),type:o,duration:d,method:t.method,status_code:t.status,url:t.url},type:"resource"},c,u,l,f),{startTime:s.relative,rawRumEvent:p,domainContext:{performanceEntry:a&&a,xhr:t.xhr,response:t.response,requestInput:t.input,requestInit:t.init,error:t.error}}))}),tX.subscribe(0,function(t){for(var n=0;n<t.length;n++){var i=t[n];i.entryType!==r.RESOURCE||"xmlhttprequest"===i.initiatorType||"fetch"===i.initiatorType||tX.notify(10,function(t,e,n,r){var i=function(t){var e=t.name;if(!(0,U.jv)(e))return(0,H.eJ)('Failed to construct URL for "'.concat(t.name,'"')),"other";for(var n=(0,U.ye)(e),r=0;r<Q.length;r++){var i=Q[r],o=i[0];if((0,i[1])(t.initiatorType,n))return o}return"other"}(t),o=eu(t),a=(0,b.DY)(t.startTime),s=function(t,e){if(t.traceId)return{_dd:{trace_id:t.traceId,rule_psr:ec(e)}}}(t,e),u=el(n,a),c=ed(r,a,t.duration),l=(0,S.$e)({date:a.timeStamp,resource:{id:(0,to.DO)(),type:i,url:t.name},type:"resource"},s,o,u,c);return{startTime:a.relative,rawRumEvent:l,domainContext:{performanceEntry:t}}}(i,e,et,eQ))}});var e5=(tH=location,tX.subscribe(3,function(t){var r,i,o,a,s,u,c,l,d,f,p,v,h,g,m,_,y,w,S,T;return tX.notify(10,(_=n.getReplayStats(t.id),y=t0.findFeatureFlagEvaluations(t.startClocks.relative),w=(0,ea.W_)(ea.uh.PAGE_STATES),S=eQ.findAll(t.startClocks.relative,t.duration),T={_dd:{document_version:t.documentVersion,replay_stats:_,page_states:w?S:void 0},date:t.startClocks.timeStamp,type:"view",view:{action:{count:t.eventCounts.actionCount},frustration:{count:t.eventCounts.frustrationCount},cumulative_layout_shift:null===(i=t.commonViewMetrics.cumulativeLayoutShift)||void 0===i?void 0:i.value,cumulative_layout_shift_target_selector:null===(o=t.commonViewMetrics.cumulativeLayoutShift)||void 0===o?void 0:o.targetSelector,first_byte:(0,b.c0)(null===(a=t.initialViewMetrics.navigationTimings)||void 0===a?void 0:a.firstByte),dom_complete:(0,b.c0)(null===(s=t.initialViewMetrics.navigationTimings)||void 0===s?void 0:s.domComplete),dom_content_loaded:(0,b.c0)(null===(u=t.initialViewMetrics.navigationTimings)||void 0===u?void 0:u.domContentLoaded),dom_interactive:(0,b.c0)(null===(c=t.initialViewMetrics.navigationTimings)||void 0===c?void 0:c.domInteractive),error:{count:t.eventCounts.errorCount},first_contentful_paint:(0,b.c0)(t.initialViewMetrics.firstContentfulPaint),first_input_delay:(0,b.c0)(null===(l=t.initialViewMetrics.firstInput)||void 0===l?void 0:l.delay),first_input_time:(0,b.c0)(null===(d=t.initialViewMetrics.firstInput)||void 0===d?void 0:d.time),first_input_target_selector:null===(f=t.initialViewMetrics.firstInput)||void 0===f?void 0:f.targetSelector,interaction_to_next_paint:(0,b.c0)(null===(p=t.commonViewMetrics.interactionToNextPaint)||void 0===p?void 0:p.value),interaction_to_next_paint_target_selector:null===(v=t.commonViewMetrics.interactionToNextPaint)||void 0===v?void 0:v.targetSelector,is_active:t.isActive,name:t.name,largest_contentful_paint:(0,b.c0)(null===(h=t.initialViewMetrics.largestContentfulPaint)||void 0===h?void 0:h.value),largest_contentful_paint_target_selector:null===(g=t.initialViewMetrics.largestContentfulPaint)||void 0===g?void 0:g.targetSelector,load_event:(0,b.c0)(null===(m=t.initialViewMetrics.navigationTimings)||void 0===m?void 0:m.loadEvent),loading_time:(r=(0,b.c0)(t.commonViewMetrics.loadingTime),(0,O.hj)(r)&&r<0?void 0:r),loading_type:t.loadingType,long_task:{count:t.eventCounts.longTaskCount},resource:{count:t.eventCounts.resourceCount},time_spent:(0,b.c0)(t.duration),in_foreground_periods:!w&&S?function(t,e){for(var n=[],r=0;r<t.length;r++){var i=t[r],o=t[r+1];if("active"===i.state){var a=i.start>=0?i.start:0,s=o?o.start:(0,b.c0)(e);n.push({start:a,duration:s-a})}}return n}(S,t.duration):void 0},feature_flags:y&&!(0,L.Qr)(y)?y:void 0,display:t.commonViewMetrics.scroll?{scroll:{max_depth:t.commonViewMetrics.scroll.maxDepth,max_depth_scroll_top:t.commonViewMetrics.scroll.maxDepthScrollTop,max_scroll_height:t.commonViewMetrics.scroll.maxScrollHeight,max_scroll_height_time:(0,b.c0)(t.commonViewMetrics.scroll.maxScrollHeightTime)}}:void 0,session:{has_replay:!!_||void 0,is_active:!!t.sessionIsActive&&void 0},privacy:{replay_level:e.defaultPrivacyLevel}},(0,L.Qr)(t.customTimings)||(T.view.custom_timings=(0,L.Q8)(t.customTimings,b.c0)),{rawRumEvent:T,startTime:t.startClocks.relative,domainContext:{location:t.location}}))}),function(t,e,n,i,o,a,s){var c,l=new Set,d=f("initial_load",(0,b.cQ)(),s);function f(o,a,s){var c=function(t,e,n,i,o,a,s){void 0===a&&(a=(0,b.$I)());var c,l,d,f,p,v,h,g,m,y,S,T,k,E,C,A,R,N,z,P,M,U,D,F,B,j,V,q,H,Z,K,W,X,Y,Q,tt,te,tn,tr,ti,ta=(0,to.DO)(),tu=ne
1w G.y,tc={},tl=0,td=(0,L.mv)(i),tf=!0;s&&(tn=s.name,tr=s.service,ti=s.version),t.notify(2,{id:ta,name:tn,startClocks:a,service:tr,version:ti});var tp=(0,_.P)(tA,3e3,{leading:!1}),tv=tp.throttled,tg=tp.cancel,tm=(f={},v=(p=function(t,e,n,r,i,o){var a,s="initial_load"===r,u=!0,c=[];function l(){u||s||!(c.length>0)||o(Math.max.apply(Math,c))}return{stop:(a=function(t){u&&(u=!1,t.hadActivity&&c.push((0,b._J)(i.timeStamp,t.end)),l())},tP(tM(t,e,n),a,void 0)).stop,setLoadEvent:function(t){s&&(s=!1,c.push(t),l())}}}(t,e,n,o,d=a,function(t){f.loadingTime=t,tv()})).stop,h=p.setLoadEvent,E=(g=function(t){f.scroll=t},void 0===m&&(void 0===c&&(c=eS),m=l=new G.y(function(){if(window.ResizeObserver){var t=(0,_.P)(function(){var t,e;l.notify((t=ey(),e=ew().height,{scrollHeight:Math.round((document.scrollingElement||document.documentElement).scrollHeight),scrollDepth:Math.round(e+t),scrollTop:t}))},c,{leading:!1,trailing:!0}),e=document.scrollingElement||document.documentElement,r=new ResizeObserver((0,x.zk)(t.throttled));r.observe(e);var i=(0,J.O)(n,window,"scroll",t.throttled,{passive:!0});return function(){t.cancel(),r.unobserve(e),i.stop()}}})),y=0,S=0,T=0,k=m.subscribe(function(t){var e=t.scrollDepth,n=t.scrollTop,r=t.scrollHeight,i=!1;if(e>y&&(y=e,i=!0),r>S){S=r;var o=(0,b._q)();T=(0,b._J)(d.relative,o),i=!0}i&&g({maxDepth:Math.min(y,S),maxDepthScrollTop:n,maxScrollHeight:S,maxScrollHeightTime:T})}),{stop:function(){return k.unsubscribe()}}).stop,C=function(t,e,n){if(!th(r.LAYOUT_SHIFT))return{stop:_.Z};var i,o,a,s,u,c,l=0;n({value:0});var d=(u=0,c=0,{update:function(t){var e,n;void 0===i||t.startTime-o>=b.WT||t.startTime-i>=5*b.WT?(i=o=t.startTime,u=t.value,c=0,a=void 0):(u+=t.value,o=t.startTime),t.value>c&&(c=t.value,s=t.startTime,a=(null===(e=t.sources)||void 0===e?void 0:e.length)?null===(n=(0,I.sE)(t.sources,function(t){return!!t.node&&ts(t.node)}))||void 0===n?void 0:n.node:void 0)},value:function(){return u},largestLayoutShiftTarget:function(){return a},largestLayoutShiftTime:function(){return s}});return{stop:e.subscribe(0,function(e){for(var i=0;i<e.length;i++){var o=e[i];if(o.entryType===r.LAYOUT_SHIFT&&!o.hadRecentInput&&(d.update(o),d.value()>l)){l=d.value();var a=(0,O.NM)(l,4),s=d.largestLayoutShiftTarget(),u=void 0;(0,ea.W_)(ea.uh.WEB_VITALS_ATTRIBUTION)&&s&&(u=tJ(s,t.actionNameAttribute)),n({value:a,targetSelector:u})}}}).unsubscribe}}(n,t,function(t){f.cumulativeLayoutShift=t,tv()}
1).stop,R=(A=function(t,e,n){if(!(th(r.EVENT)&&window.PerformanceEventTiming&&"interactionId"in PerformanceEventTiming.prototype)||!(0,ea.W_)(ea.uh.INTERACTION_TO_NEXT_PAINT))return{getInteractionToNextPaint:function(){},stop:_.Z};var i,o,a=("interactionCount"in performance||u||(u=new window.PerformanceObserver((0,x.zk)(function(t){t.getEntries().forEach(function(t){t.interactionId&&(eh=Math.min(eh,t.interactionId),ev=((eg=Math.max(eg,t.interactionId))-eh)/7+1)})}))).observe({type:"event",buffered:!0,durationThreshold:0}),i="initial_load"===e?0:em(),{getViewInteractionCount:function(){return em()-i}}).getViewInteractionCount,s=function(t){var e=[];function n(){e.sort(function(t,e){return e.duration-t.duration}).splice(10)}return{process:function(t){var r=e.findIndex(function(e){return t.interactionId===e.interactionId}),i=e[e.length-1];-1!==r?t.duration>e[r].duration&&(e[r]=t,n()):(e.length<10||t.duration>i.duration)&&(e.push(t),n())},estimateP98Interaction:function(){var n=Math.min(e.length-1,Math.floor(t()/50));return e[n]}}}(a),c=-1;return{getInteractionToNextPaint:function(){return c>=0?{value:c,targetSelector:o}:a()?{value:0}:void 0},stop:n.subscribe(0,function(e){for(var n=0;n<e.length;n++){var i=e[n];(i.entryType===r.EVENT||i.entryType===r.FIRST_INPUT)&&i.interactionId&&s.process(i)}var a=s.estimateP98Interaction();a&&(c=a.duration,o=(0,ea.W_)(ea.uh.WEB_VITALS_ATTRIBUTION)&&a.target&&ts(a.target)?tJ(a.target,t.actionNameAttribute):void 0)}).unsubscribe}}(n,o,t)).stop,N=A.getInteractionToNextPaint,{stop:function(){v(),C(),E(),R()},setLoadEvent:h,getCommonViewMetrics:function(){return f.interactionToNextPaint=N(),f}}),t_=tm.setLoadEvent,ty=tm.stop,tb=tm.getCommonViewMetrics,tw="initial_load"===o?(z={},M=(P=function(t){t_(t.loadEvent),z.navigationTimings=t,tv()},{stop:t.subscribe(0,function(t){for(var e=0;e<t.length;e++){var n=t[e];n.entryType===r.NAVIGATION&&P({domComplete:n.domComplete,domContentLoaded:n.domContentLoadedEventEnd,domInteractive:n.domInteractive,loadEvent:n.loadEventEnd,firstByte:n.responseStart>=0&&n.responseStart<=(0,b._q)()?n.responseStart:void 0})}}).unsubscribe}).stop,void 0===U&&(U=window),"hidden"===document.visibilityState?D=0:(D=1/0,F=(0,J.y)(n,U,["pagehide","visibilitychange"],function(t){("pagehide"===t.type||"hidden"===document.visibilityState)&&(D=t.timeStamp,F())},{capture:!0}).stop),B={get timeStamp(){return D},stop:function(){null==F||F()}},V=(j=function(t){z.firstContentfulPaint=t,tv()},{stop:t.subscribe(0,function(t){var e=(0,I.sE)(t,function(t){return t.entryType===r.PAINT&&"first-contentful-paint"===t.name&&t.startTime<B.timeStamp&&t.startTime<ef});e&&j(e.startTime)}).unsubscribe}).stop,X=(q=window,H=function(t){z.largestContentfulPaint=t,tv()},Z=1/0,K=(0,J.y)(n,q,["pointerdown","keydown"],function(t){Z=t.timeStamp},{capture:!0,once:!0}).stop,W=t.subscribe(0,function(t){var e=(0,I.dF)(t,function(t){return t.entryType===r.LARGEST_CONTENTFUL_PAINT&&t.startTime<Z&&t.startTime<B.timeStamp&&t.startTime<ep});if(e){var i=void 0;(0,ea.W_)(ea.uh.WEB_VITALS_ATTRIBUTION)&&e.element&&(i=tJ(e.element,n.actionNameAttribute)),H({value:e.startTime,targetSelector:i})}}).unsubscribe,{stop:function(){K(),W()}}).stop,Q=(Y=function(t){z.firstInput=t,tv()},{stop:t.subscribe(0,function(t){var e=(0,I.sE)(t,function(t){return t.entryType===r.FIRST_INPUT&&t.startTime<B.timeStamp});if(e){var i=(0,b._J)(e.startTime,e.processingStart),o=void 0;(0,ea.W_)(ea.uh.WEB_VITALS_ATTRIBUTION)&&e.target&&ts(e.target)&&(o=tJ(e.target,n.actionNameAttribute)),Y({delay:i>=0?i:0,time:e.startTime,targetSelector:o})}}).unsubscribe}).stop,{stop:function(){M(),V(),X(),Q(),B.stop()},initialViewMetrics:z}):{stop:_.Z,initialViewMetrics:{}},tS=tw.stop,tT=tw.initialViewMetrics,tk={stop:(tt=tL({lifeCycle:t,isChildEvent:function(t){return t.view.id===ta},onChange:tv})).stop,eventCounts:tt.eventCounts},tE=tk.stop,tx=tk.eventCounts,tC=(0,$.Zi)(tA,eT);function tA(){tg(),tl+=1;var e=void 0===te?(0,b.n$)():te.timeStamp;t.notify(3,{customTimings:tc,documentVersion:tl,id:ta,name:tn,service:tr,version:ti,loadingType:o,location:td,startClocks:a,commonViewMetrics:tb(),initialViewMetrics:tT,duration:(0,b._J)(a.timeStamp,e),isActive:void 0===te,sessionIsActive:tf,eventCounts:tx})}return tA(),{name:tn,service:tr,version:ti,stopObservable:tu,end:function(e){var n,r,i=this;void 0===e&&(e={}),te||(te=null!==(n=e.endClocks)&&void 0!==n?n:(0,b.$I)(),tf=null===(r=e.sessionIsActive)||void 0===r||r,t.n
1otify(4,{endClocks:te}),(0,$.cv)(tC),ty(),tA(),(0,$.iK)(function(){i.stop()},ek))},stop:function(){tS(),tE(),tu.notify()},addTiming:function(t,e){if(!te){var n,r=(0,b.Cn)(e)?e:(0,b._J)(a.timeStamp,e);tc[(n=t.replace(/[^a-zA-Z0-9-_.@$]/g,"_"))!==t&&w.jf.warn("Invalid timing name: ".concat(t,", sanitized to: ").concat(n)),n]=r,tv()}}}}(e,n,i,t,o,a,s);return l.add(c),c.stopObservable.subscribe(function(){l.delete(c)}),c}return e.subscribe(8,function(){d=f("route_change",void 0,{name:d.name,service:d.service,version:d.version})}),e.subscribe(7,function(){d.end({sessionIsActive:!1})}),e.subscribe(9,function(t){(t.reason===Z.k$.UNLOADING||t.reason===Z.k$.PAGEHIDE)&&d.end()}),a&&(c=o.subscribe(function(t){var e,n,r;e=t.oldLocation,n=t.newLocation,e.pathname===n.pathname&&(r=n.hash.substr(1),document.getElementById(r)||eE(n.hash)===eE(e.hash))||(d.end(),d=f("route_change"))})),{addTiming:function(t,e){void 0===e&&(e=(0,b.n$)()),d.addTiming(t,e)},startView:function(t,e){d.end({endClocks:e}),d=f("route_change",e,t)},stop:function(){null==c||c.unsubscribe(),d.end(),l.forEach(function(t){return t.stop()})}}}(tH,tX,e$,e,eJ,!e.trackViewsManually,s)),e6=e5.addTiming,e4=e5.startView,e9=e5.stop;t$.push(e9);var e8=(tG=tZ=new G.y,(0,ei.a)([w.vA.error]).subscribe(function(t){return tG.notify({startClocks:(0,b.$I)(),message:t.message,stack:t.stack,fingerprint:t.fingerprint,source:er.z.CONSOLE,handling:"handled",handlingStack:t.handlingStack})}),(0,ee.L)(tZ),(0,eo.v)(e,[eo._.cspViolation,eo._.intervention]).subscribe(function(t){return tZ.notify({startClocks:(0,b.$I)(),message:t.message,stack:t.stack,type:t.subtype,source:er.z.REPORT,handling:"unhandled"})}),tZ.subscribe(function(t){return tX.notify(12,{error:t})}),tX.subscribe(12,function(t){var e,n,r=t.error,i=t.customerContext,o=t.savedCommonContext;tX.notify(10,(0,I.f0)({customerContext:i,savedCommonContext:o},(e={date:r.startClocks.timeStamp,error:{id:(0,to.DO)(),message:r.message,source:r.source,stack:r.stack,handling_stack:r.handlingStack,type:r.type,handling:r.handling,causes:r.causes,source_type:"browser",fingerprint:r.fingerprint},type:"error",view:{in_foreground:eQ.isInActivePageStateAt(r.startClocks.relative)}},(n=t0.findFeatureFlagEvaluations(r.startClocks.relative))&&!(0,L.Qr)(n)&&(e.feature_flags=n),{rawRumEvent:e,startTime:r.startClocks.relative,domainContext:{error:r.originalError}})))}),{addError:function(t,e){var n=t.error,r=t.handlingStack,i=t.startClocks,o=t.context,a=n instanceof Error?(0,en._)(n):void 0,s=(0,A.AP)({stackTrace:a,originalError:n,handlingStack:r,startClocks:i,nonErrorPrefix:"Provided",source:er.z.CUSTOM,handling:"handled"});tX.notify(12,{customerContext:o,savedCommonContext:e,error:s})}}).addError;tK={clearTracingIfNeeded:D,traceFetch:function(t){return F(e,t,et,function(e){var n;if(t.input instanceof Request&&!(null===(n=t.init)||void 0===n?void 0:n.headers))t.input=new Request(t.input),Object.keys(e).forEach(function(n){t.input.headers.append(n,e[n])});else{t.init=(0,L.mv)(t.init);var r=[];t.init.headers instanceof Headers?t.init.headers.forEach(function(t,e){r.push([e,t])}):Array.isArray(t.init.headers)?t.init.headers.forEach(function(t){r.push(t)}):t.init.headers&&Object.keys(t.init.headers).forEach(function(e){r.push([e,t.init.headers[e]])}),t.init.headers=r.concat((0,I.qP)(e))}})},traceXhr:function(t,n){return F(e,t,et,function(t){Object.keys(t).forEach(function(e){n.setRequestHeader(e,t[e])})})}},function(t,e,n){(0,tC.S)(e).subscribe(function(r){if(ti(e,r.url))switch(r.state){case"start":n.traceXhr(r,r.xhr),r.requestIndex=tN(),t.notify(5,{requestIndex:r.requestIndex,url:r.url});break;case"complete":n.clearTracingIfNeeded(r),t.notify(6,{duration:r.duration,method:r.method,requestIndex:r.requestIndex,spanId:r.spanId,startClocks:r.startClocks,status:r.status,traceId:r.traceId,traceSampled:r.traceSampled,type:"xhr",url:r.url,xhr:r.xhr})}})}(tX,e,tK),(0,tA.y)().subscribe(function(t){if(ti(e,t.url))switch(t.state){case"start":tK.traceFetch(t),t.requestIndex=tN(),tX.notify(5,{requestIndex:t.requestIndex,url:t.url});break;case"resolve":var n,r;n=function(e){tK.clearTracingIfNeeded(t),tX.notify(6,{duration:e,method:t.method,requestIndex:t.requestIndex,responseType:t.responseType,spanId:t.spanId,startClocks:t.startClocks,status:t.status,traceId:t.traceId,traceSampled:t.traceSampled,type:"fetch",url:t.url,response:t.response,init:t.init,input:t.input})},(r=t.response&&(0,tR.u)(t.response))&&r.body?(0,tI.n)(r.body,function(){n((0,b._J)(t.startClocks.timeStamp,(0,b.n$)()))},{bytesLimit:Number.POSITIVE_INFINITY,collectStreamBody:!1}):n((0,b._J)(t.startClocks.timeStamp,(0,b.n$)()))}}),function(t,e){var n;if(n=function(n){tm(t,e,[n])},X(e,"interactive",function(){var t,e={entryType:r.RESOURCE,initiatorType:Y,traceId:function(t){var e,n,r=(e=t.querySelector("meta[name=dd-trace-id]"),n=t.querySelector("meta[name=dd-trace-time]"),tf(e&&e.content,n&&n.content)||function(t){var e=function(t){for(var e=0;e<t.childNodes.length;e+=1){var n=tp(t.childNodes[e]);if(n)return n}if(t.body)for(var e=t.body.childNodes.length-1;e>=0;e-=1){var r=t.body.childNodes[e],n=tp(r);if(n)return n;if(!ta(r))break}}(t);if(e)return tf((0,to.MY)(e,"trace-id"),(0,to.MY)(e,"trace-time"))}(t));if(!(!r||r.traceTime<=(0,b.m6)()-td))return r.traceId}(document),toJSON:function(){return(0,I.f0)({},t,{toJSON:void 0})}};if(th(r.NAVIGATION)&&performance.getEntriesByType(r.NAVIGATION).length>0){var i=performance.getEntriesByType(r.NAVIGATION)[0];t=(0,I.f0)(i.toJSON(),e)}else{var o=tg();t=(0,I.f0)(o,{decodedBodySize:0,duration:o.responseEnd,name:window.location.href,startTime:0},e)}n(t)}),tv()){var i=performance.getEntries();(0,$.iK)(function(){return tm(t,e,i)})}if(window.PerformanceObserver){var o=(0,x.zk)(function(n){return tm(t,e,n.getEntries())}),a=[r.RESOURCE,r.NAVIGATION,r.LONG_TASK,r.PAINT],s=[r.LARGEST_CONTENTFUL_PAINT,r.FIRST_INPUT,r.LAYOUT_SHIFT,r.EVENT];
1try{s.forEach(function(t){new window.PerformanceObserver(o).observe({type:t,buffered:!0,durationThreshold:40})})}catch(t){a.push.apply(a,s)}new PerformanceObserver(o).observe({entryTypes:a}),tv()&&"addEventListener"in performance&&(0,J.O)(e,performance,"resourcetimingbufferfull",function(){performance.clearResourceTimings()})}th(r.NAVIGATION)||function(t,e){function n(){e((0,I.f0)(tg(),{entryType:r.NAVIGATION}))}X(t,"complete",function(){(0,$.iK)(n)})}(e,function(n){tm(t,e,[n])}),th(r.FIRST_INPUT)||function(t,e){var n=(0,b.m6)(),i=!1,o=(0,J.y)(t,window,["click","mousedown","keydown","touchstart","pointerdown"],function(e){if(e.cancelable){var n={entryType:r.FIRST_INPUT,processingStart:(0,b._q)(),startTime:e.timeStamp,duration:0};"pointerdown"===e.type?(0,J.y)(t,window,["pointerup","pointercancel"],function(t){"pointerup"===t.type&&a(n)},{once:!0}):a(n)}},{passive:!0,capture:!0}).stop;function a(t){if(!i){i=!0,o();var r=t.processingStart-t.startTime;r>=0&&r<(0,b.m6)()-n&&e(t)}}}(e,function(n){tm(t,e,[n])})}(tX,e);var e7=(tW=e.applicationId,{get:function(t){var e=eY.findView(t),n=e0.findUrl(t),r=et.findTrackedSession(t);if(r&&e&&n){var i=e1.findActionId(t);return{application_id:tW,session_id:r.id,user_action:i?{id:i}:void 0,view:{id:e.id,name:e.name,referrer:n.referrer,url:n.url}}}}});return{addAction:e2,addError:e8,addTiming:e6,addFeatureFlagEvaluation:t0.addFeatureFlagEvaluation,startView:e4,lifeCycle:tX,viewContexts:eY,session:et,stopSession:function(){return et.expire()},getInternalContext:e7.get,stop:function(){t$.forEach(function(t){return t()})}}},function(t,e){if((0,k.x)()||!nx())return{start:_.Z,stop:_.Z,getReplayStats:function(){},onRumStart:_.Z,isRecording:function(){return!1},getSessionReplayLink:function(){}};var n={status:0},r=function(){n={status:1}},i=function(){n={status:0}};return{start:function(){return r()},stop:function(){return i()},getSessionReplayLink:function(t,e,r){var i,o,a,s,u,c,l,d,f,p,v,h,g;return i=0!==n.status,v=o=e.findTrackedSession(),a=nx()?v?v.sessionReplayAllowed?i?void 0:"replay-not-started":"incorrect-session-plan":"rum-not-tracked":"browser-not-supported",u=(s={viewContext:r.findView(),errorType:a,session:o}).session,c=s.viewContext,l=s.errorType,d=u?u.id:"no-session-id",f=[],void 0!==l&&f.push("error-type=".concat(l)),c&&(f.push("seed=".concat(c.id)),f.push("from=".concat(c.startClocks.timeStamp))),h=t.site,g=t.subdomain||function(t){switch(t.site){case eq.D_:case eq.Ds:return"app";case eq.DZ:return"dd";default:return}}(t),p="https://".concat(g?"".concat(g,"."):"").concat(h),"".concat(p).concat("/rum/replay/sessions/".concat(d),"?").concat(f.join("&"))},onRumStart:function(e,o,a,s){e.subscribe(7,function(){(2===n.status||3===n.status)&&(i(),n={status:1})}),e.subscribe(8,function(){1===n.status&&r()}),r=function(){var r=a.findTrackedSession();if(!r||!r.sessionReplayAllowed){n={status:1};return}2!==n.status&&3!==n.status&&(n={status:2},X(o,"interactive",function(){if(2===n.status){var r,u,c,l,d,f,p=function(t,e,n,r){switch(void 0===r&&(r=nA),0===nR.status&&function(t,e,n){void 0===n&&(n=nA);try{var r=n(t),i=(0,J.O)(t,r,"error",function(n){nI(t,e,n)}).stop,o=(0,J.O)(t,r,"message",function(n){var r,i=n.data;"errored"===i.type?nI(t,e,i.error,i.streamId):"initialized"===i.type&&(r=i.version,1===nR.status&&(nR={status:3,worker:nR.worker,stop:nR.stop,version:r}))}).stop;r.postMessage({action:"init"}),(0,$.iK)(function(){1===nR.status&&(w.jf.error("".concat(e," failed to start: a timeout occurred while initializing the Worker")),nR.initializationFailureCallbacks.forEach(function(t){return t()}),nR={status:2})},nC),nR={status:1,worker:r,stop:function(){i(),o()},initializationFailureCallbacks:[]}}catch(n){nI(t,e,n)}}(t,e,r),nR.status){case 1:return nR.initializationFailureCallbacks.push(n),nR.worker;case 3:return nR.worker}}(o,"Datadog Session Replay",function(){i()},void 0);if(!p){n={status:0};return}n={status:3,stopRecording:t(e,o,a,s,(u=0,c=[],l=0,d=[],f=(0,J.O)(o,p,"message",function(t){var e=t.data;if("wrote"===e.type&&1===e.streamId){var n=d.shift();n&&n.id===e.id?(0===e.id?(u=e.additionalBytesCount,c=[e.result]):(u+=e.additionalBytesCount,c.push(e.result)),r=e.trailer,n.callback()):(f(),(0,H.eJ)("Worker responses received out of order."))}}).stop,{get encodedBytes(){if(!c.length)return new Uint8Array(0);return(0,eI.Kb)(c.concat(r))},get encodedBytesCount(){if(!c.length)return 0;return c.reduce(function(t,e){return t+e.length},0)+r.length},get rawBytesCount(){return u},write:function(t,e){p.postMessage({action:"write",id:l,data:t,streamId:1}
1),d.push({id:l,callback:e}),l+=1},reset:function(){p.postMessage({action:"reset",streamId:1}),l=0},stop:function(){f()}})).stop}}}))},i=function(){0!==n.status&&(3===n.status&&n.stopRecording(),n={status:0})},1===n.status&&r()},isRecording:function(){return 3===nR.status&&3===n.status},getReplayStats:function(t){return 3===nR.status?null==v?void 0:v.get(t):void 0}}}(function(t,e,n,r,i,o){var a=o||(0,eH.UF)(e,e.sessionReplayEndpointBuilder,6e4,function(e){t.notify(12,{error:e}),(0,H.eJ)("Error reported to customer",{"error.message":e.message})}),s=function(t,e,n,r){var i={status:0,nextSegmentCreationReason:"init"},o=t.subscribe(2,function(){s("view_change")}).unsubscribe,a=t.subscribe(9,function(t){s(t.reason)}).unsubscribe;function s(t){1===i.status&&(i.segment.flush(function(e){var i,o,a,s,u=(i=r.encodedBytes,o=r.rawBytesCount,(a=new FormData).append("segment",new Blob([i],{type:"application/octet-stream"}),"".concat(e.session.id,"-").concat(e.start)),s=JSON.stringify((0,I.f0)({raw_segment_size:o,compressed_segment_size:i.byteLength},e)),a.append("event",new Blob([s],{type:"application/json"})),{data:a,bytesCount:i.byteLength});(0,Z.PT)(t)?n.sendOnExit(u):n.send(u)}),(0,$.gr)(i.expirationTimeoutId)),i="stop"!==t?{status:0,nextSegmentCreationReason:t}:{status:2}}return{addRecord:function(t){if(2!==i.status){if(0===i.status){var n=e();if(!n)return;i={status:1,segment:new nk(r,n,i.nextSegmentCreationReason),expirationTimeoutId:(0,$.iK)(function(){s("segment_duration_limit")},nE)}}var o=i.segment;o.addRecord(t,function(){1===i.status&&i.segment===o&&r.encodedBytesCount>6e4&&s("segment_bytes_limit")})}},stop:function(){s("stop"),o(),a()}}}(t,function(){return function(t,e,n){var r=e.findTrackedSession(),i=n.findView();if(r&&i)return{application:{id:t},session:{id:r.id},view:{id:i.id}}}(e.applicationId,n,r)},a,i),u=s.addRecord,c=s.stop,l=function(t){var e,n,r,i,o,a,s,u,c,l,d,f,p,v,h,g,m,y,w,S,T,k,E,x,C,A,R,O,N,L=t.emit,z=t.configuration;if(!L)throw Error("emit function is required");var P=(e=new WeakMap,{set:function(t,n){(t!==document||document.scrollingElement)&&e.set(t===document?document.scrollingElement:t,n)},get:function(t){return e.get(t)},has:function(t){return e.has(t)}}),M=function(t){L(eJ(eK.Mutation,t))},U=function(t){return L(eJ(eK.Input,t))},D=nS(z,{mutationCb:M,inputCb:U}),F=function(t,e){void 0===t&&(t=(0,b.n$)()),void 0===e&&(e={status:0,elementsScrollPositions:P,shadowRootsController:D});var n=ew(),r=n.width;L({data:{height:n.height,href:window.location.href,width:r},type:eZ.Meta,timestamp:t}),L({data:{has_focus:document.hasFocus()},type:eZ.Focus,timestamp:t}),L({data:{node:nl(document,{serializationContext:e,parentNodePrivacyLevel:z.defaultPrivacyLevel,configuration:z}),initialOffset:{left:e_(),top:ey()}},type:eZ.FullSnapshot,timestamp:t}),window.visualViewport&&L({data:ng(window.visualViewport),type:eZ.VisualViewport,timestamp:t})};F();var B=(n={lifeCycle:t.lifeCycle,configuration:z,elementsScrollPositions:P,inputCb:U,mediaInteractionCb:function(t){return L(eJ(eK.MediaInteraction,t))},mouseInteractionCb:function(t){return L(t)},mousemoveCb:function(t,e){return L(eJ(e,{positions:t}))},mutationCb:M,scrollCb:function(t){return L(eJ(eK.Scroll,t))},styleSheetCb:function(t){return L(eJ(eK.StyleSheetRule,t))},viewportResizeCb:function(t){return L(eJ(eK.ViewportResize,t))},frustrationCb:function(t){return L(t)},focusCb:function(t){return L({data:t,type:eZ.Focus,timestamp:(0,b.n$)()})},visualViewportResizeCb:function(t){L({data:t,type:eZ.VisualViewport,timestamp:(0,b.n$)()})},shadowRootsController:D},r=new WeakMap,i=1,o={getIdForEvent:function(t){return r.has(t)||r.set(t,i++),r.get(t)}},a=nw(n.mutationCb,n.configuration,n.shadowRootsController,document),s=n.mousemoveCb,u=(0,_.P)(function(t){var e=nv(t);if(e8(e)){var n=nm(t);if(!n)return;s([{id:e7(e),timeOffset:0,x:n.x,y:n.y}],np(t)?eK.TouchMove:eK.MouseMove)}},50,{trailing:!1}).throttled,c=(0,J.y)(z,document,["mousemove","touchmove"],u,{capture:!0,passive:!0}).stop,l=n.mouseInteractionCb,d=(0,J.y)(z,document,Object.keys(n_),function(t){var e,n=nv(t);if(e1(n,z.defaultPrivacyLevel)!==eX.HIDDEN&&e8(n)){var r=e7(n),i=n_[t.type];if(i!==eW.Blur&&i!==eW.Focus){var a=nm(t);if(!a)return;e={id:r,type:i,x:a.x,y:a.y}}else e={id:r,type:i};l((0,I.f0)({id:o.getIdForEvent(t)},eJ(eK.MouseInteraction,e)))}},{capture:!0,passive:!0}).stop,f=n.scrollCb,p=n.configuration.defaultPrivacyLevel,v=n.elementsScrollPositions,h=(0,_.P)(function(t){var e=nv(t);if(e&&e1(e,p)!==eX.HIDDEN&&e8(e)){var n=e7(e),r=e===document?{scrollTop:ey(),scrollLeft:e_()}:{scrollTop:Math.round(e.scrollTop),scrollLeft:Math.round(e.scrollLeft)};v.set(e,r),f({id:n,x:r.scrollLeft,y:r.scrollTop})}},100).throttled,g=(0,J.O)(z,document,"scroll",h,{capture:!0,passive:!0}).stop,m=n.viewportResizeCb,y=eb(z).subscribe(m).unsubscribe,w=ny(z,n.inputCb),S=n.mediaInteractionCb,T=n.configuration.defaultPrivacyLevel,k=(0,J.y)(z,document,["play","pause"],function(t){var e=nv(t);e&&e1(e,T)!==eX.HIDDEN&&e8(e)&&S({id:e7(e),type:"play"===t.type?e$.Play:e$.Pause})},{capture:!0,passive:!0}).stop,E=function(t){function e(t,e){t&&e8(t.ownerNode)&&e(e7(t.ownerNode))}var n=[(0,tz.Lm)(CSSStyleSheet.prototype,"insertRule",{before:function(n,r){e(this,function(e){return t({id:e,adds:[{rule:n,index:r}]})})}}),(0,tz.Lm)(CSSStyleSheet.prototype,"deleteRule",{before:function(n){e(this,function(e){return t({id:e,removes:[{index:n}]})})}})];function r(r){n.push((0,tz.Lm)(r.prototype,"insertRule",{before:function(n,r){var i=this;e(this.parentStyleSheet,function(e){var o=nb(i);o&&(o.push(r||0),t({id:e,adds:[{rule:n,index:o}]}))})}}),(0,tz.Lm)(r.prototype,"deleteRule",{before:function(n){var r=this;e(this.parentStyleSheet,function(e){var i=nb(r);i&&(i.push(n),t({id:e,removes:[{index:i}]}))})}}))}return"undefined"!=typeof CSSGroupingRule?r(CSSGroupingRule):(r(CSSMediaRule),r(CSSSupportsRule)),function(){return n.forEac
1h(function(t){return t.stop()})}}(n.styleSheetCb),x=n.focusCb,C=(0,J.y)(z,window,["focus","blur"],function(){x({has_focus:document.hasFocus()})}).stop,A=function(t,e){var n=window.visualViewport;if(!n)return _.Z;var r=(0,_.P)(function(){e(ng(n))},200,{trailing:!1}),i=r.throttled,o=r.cancel,a=(0,J.y)(t,n,["resize","scroll"],i,{capture:!0,passive:!0}).stop;return function(){a(),o()}}(z,n.visualViewportResizeCb),R=n.lifeCycle,O=n.frustrationCb,N=R.subscribe(10,function(t){var e,n,r;"action"===t.rawRumEvent.type&&"click"===t.rawRumEvent.action.type&&(null===(n=null===(e=t.rawRumEvent.action.frustration)||void 0===e?void 0:e.type)||void 0===n?void 0:n.length)&&"events"in t.domainContext&&(null===(r=t.domainContext.events)||void 0===r?void 0:r.length)&&O({timestamp:t.rawRumEvent.date,type:eZ.FrustrationRecord,data:{frustrationTypes:t.rawRumEvent.action.frustration.type,recordIds:t.domainContext.events.map(function(t){return o.getIdForEvent(t)})}})}).unsubscribe,{flush:function(){a.flush()},stop:function(){a.stop(),c(),d(),g(),y(),w(),k(),E(),C(),A(),N()}}),j=B.stop,V=B.flush;function q(){D.flush(),V()}return{stop:function(){D.stop(),j()},takeSubsequentFullSnapshot:function(t){q(),F(t,{shadowRootsController:D,status:1,elementsScrollPositions:P})},flushMutations:q,shadowRootsController:D}}({emit:u,configuration:e,lifeCycle:t}),d=l.stop,f=l.takeSubsequentFullSnapshot,p=l.flushMutations,v=t.subscribe(4,function(){p(),u({timestamp:(0,b.n$)(),type:eZ.ViewEnd})}).unsubscribe,h=t.subscribe(2,function(t){f(t.startClocks.timeStamp)}).unsubscribe;return{stop:function(){v(),h(),d(),c()}}}));(0,h.y)((0,g.R)(),"DD_RUM",nO)},35449:function(t,e,n){!/**
2 *
3 *
4 * @author Jerry Bendy <[email protected]>
5 * @licence MIT
6 *
7 */function(t){"use strict";var e,n,r=function(){try{if(t.URLSearchParams&&"bar"===new t.URLSearchParams("foo=bar").get("foo"))return t.URLSearchParams}catch(t){}return null}(),i=r&&"a=1"===new r({a:1}).toString(),o=r&&"+"===new r("s=%2B").get("s"),a="__URLSearchParams__",s=!r||((e=new r).append("s"," &"),"s=+%26"===e.toString()),u=d.prototype,c=!!(t.Symbol&&t.Symbol.iterator);if(!r||!i||!o||!s){u.append=function(t,e){g(this[a],t,e)},u.delete=function(t){delete this[a][t]},u.get=function(t){var e=this[a];return this.has(t)?e[t][0]:null},u.getAll=function(t){var e=this[a];return this.has(t)?e[t].slice(0):[]},u.has=function(t){return _(this[a],t)},u.set=function(t,e){this[a][t]=[""+e]},u.toString=function(){var t,e,n,r,i=this[a],o=[];for(e in i)for(t=0,n=f(e),r=i[e];t<r.length;t++)o.push(n+"="+f(r[t]));return o.join("&")},o&&r&&!i&&t.Proxy?(n=new Proxy(r,{construct:function(t,e){return new t(new d(e[0]).toString())}})).toString=Function.prototype.toString.bind(d):n=d,Object.defineProperty(t,"URLSearchParams",{value:n});var l=t.URLSearchParams.prototype;l.polyfill=!0,l.forEach=l.forEach||function(t,e){var n=h(this.toString());Object.getOwnPropertyNames(n).forEach(function(r){n[r].forEach(function(n){t.call(e,n,r,this)},this)},this)},l.sort=l.sort||function(){var t,e,n,r=h(this.toString()),i=[];for(t in r)i.push(t);for(i.sort(),e=0;e<i.length;e++)this.delete(i[e]);for(e=0;e<i.length;e++){var o=i[e],a=r[o];for(n=0;n<a.length;n++)this.append(o,a[n])}},l.keys=l.keys||function(){var t=[];return this.forEach(function(e,n){t.push(n)}),v(t)},l.values=l.values||function(){var t=[];return this.forEach(function(e){t.push(e)}),v(t)},l.entries=l.entries||function(){var t=[];return this.forEach(function(e,n){t.push([n,e])}),v(t)},c&&(l[t.Symbol.iterator]=l[t.Symbol.iterator]||l.entries)}function d(t){((t=t||"")instanceof URLSearchParams||t instanceof d)&&(t=t.toString()),this[a]=h(t)}
7function f(t){var e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(t).replace(/[!'\(\)~]|%20|%00/g,function(t){return e[t]})}function p(t){return t.replace(/[ +]/g,"%20").replace(/(%[a-f0-9]{2})+/ig,function(t){return decodeURIComponent(t)})}function v(e){var n={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return c&&(n[t.Symbol.iterator]=function(){return n}),n}function h(t){var e={};if("object"==typeof t){if(m(t))for(var n=0;n<t.length;n++){var r=t[n];if(m(r)&&2===r.length)g(e,r[0],r[1]);else throw TypeError("Failed to construct 'URLSearchParams': Sequence initializer must only contain pair elements")}else for(var i in t)t.hasOwnProperty(i)&&g(e,i,t[i])}else{0===t.indexOf("?")&&(t=t.slice(1));for(var o=t.split("&"),a=0;a<o.length;a++){var s=o[a],u=s.indexOf("=");-1<u?g(e,p(s.slice(0,u)),p(s.slice(u+1))):s&&g(e,p(s),"")}}return e}function g(t,e,n){var r="string"==typeof n?n:null!=n&&"function"==typeof n.toString?n.toString():JSON.stringify(n);_(t,e)?t[e].push(r):t[e]=[r]}function m(t){return!!t&&"[object Array]"===Object.prototype.toString.call(t)}function _(t,e){return Object.prototype.hasOwnProperty.call(t,e)}}(void 0!==n.g?n.g:"undefined"!=typeof window?window:this)}}]);
8//# sourceMappingURL=4034-9662cb472e3c75cc.js.map

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.