1(self.webpackChunk_shell_client=self.webpackChunk_shell_client||[]).push([["41"],{5599(t,e,r){"use strict";r.d(e,{Z:()=>s,m:()=>a});var n=r(859),i=r(7826),o=r(462);function a(t){let e={version:"6.33.0",onReady(t){t()},...t};return Object.defineProperty(e,"_setDebug",{get:()=>i.pM,enumerable:!1}),e}function s(t,e,r){let i=t[e];i&&!i.q&&i.version&&o.Vy.warn("SDK is loaded more than once. This is unsupported and might have unexpected behavior."),t[e]=r,i&&i.q&&i.q.forEach(t=>(0,n.y)(t,"onReady callback threw an error:")())}},2954(t,e,r){"use strict";r.d(e,{l:()=>a,q:()=>o});var n=r(7826),i=r(3577);function o(t,e,r,n,i){return a(t,e,[r],n,i)}function a(t,e,r,o,{once:s,capture:u,passive:c}={}){let l=(0,n.dm)(e=>{(e.isTrusted||e.__ddIsTrusted||t.allowUntrustedEvents)&&(s&&h(),o(e))}),f=c?{capture:u,passive:c}:u,d=window.EventTarget&&e instanceof EventTarget?window.EventTarget.prototype:e,p=(0,i.W)(d,"addEventListener");function h(){let t=(0,i.W)(d,"removeEventListener");r.forEach(r=>t.call(e,r,l,f))}return r.forEach(t=>p.call(e,t,l,f)),{stop:h}}},3931(t,e,r){"use strict";r.d(e,{h:()=>o});var n=r(3577),i=r(8598);function o(t,e){return(0,n.W)((0,i.VZ)(),"fetch")(t,e)}},8558(t,e,r){"use strict";r.d(e,{Kp:()=>c,_T:()=>u,y5:()=>s});var n=r(6300),i=r(9974),o=r(8598),a=r(2954);let s={HIDDEN:"visibility_hidden",UNLOADING:"before_unload",PAGEHIDE:"page_hide",FROZEN:"page_frozen"};function u(t){return new n.cP(e=>{if(o.Wq)return;let{stop:r}=(0,a.l)(t,window,["visibilitychange","freeze"],t=>{"visibilitychange"===t.type&&"hidden"===document.visibilityState?e.notify({reason:s.HIDDEN}):"freeze"===t.type&&e.notify({reason:s.FROZEN})},{capture:!0}),n=(0,a.q)(t,window,"beforeunload",()=>{e.notify({reason:s.UNLOADING})}).stop;return()=>{r(),n()}})}function c(t){return(0,i.KQ)(s).includes(t)}},1099(t,e,r){"use strict";r.d(e,{H:()=>o,N:()=>a});var n=r(995),i=r(2954);function o(t,e,r){return document.readyState===e||"complete"===document.readyState?(r(),{stop:n.l}):(0,i.q)(t,window,"complete"===e?"load":"DOMContentLoaded",r,{once:!0})}function a(t,e){return new Promise(r=>{o(t,e,r)})}},6766(t,e,r){"use strict";r.d(e,{q:()=>i});var n=r(8598);function i(){var t;let e=n.J2.navigator;return{status:e.onLine?"connected":"not_connected",interfaces:e.connection&&e.connection.type?[e.connection.type]:void 0,effective_type:null==(t=e.connection)?void 0:t.effectiveType}}},7810(t,e,r){"use strict";r.d(e,{As:()=>l,bJ:()=>f,e6:()=>u});var n=r(8295),i=r(9757),o=r(7880),a=r(2135),s=r(9547);let u="No stack, consider using an instance of Error";function c({originalError:t,stackTrace:e,source:r,useFallbackStack:s=!0,nonErrorPrefix:c}){var l,d,p,h;let y=f(t);return!e&&y&&(e=(0,o.T)(t)),{source:r,type:e?e.name:void 0,message:(l=e,d=y,p=c,h=t,(null==l?void 0:l.message)&&(null==l?void 0:l.name)?l.message:d?"Empty message":p?`${p} ${(0,i.s)((0,n.a)(h))}`:(0,i.s)((0,n.a)(h))),stack:e?(0,a.Yn)(e):s?u:void 0}}function l({stackTrace:t,originalError:e,handlingStack:r,componentStack:n,startClocks:i,nonErrorPrefix:o,useFallbackStack:a=!0,source:u,handling:l}){var d;let p=c({originalError:e,stackTrace:t,source:u,useFallbackStack:a,nonErrorPrefix:o});return{startClocks:i,handling:l,handlingStack:r,componentStack:n,originalError:e,...p,causes:f(e)?function(t,e){let r=[],n=t.cause;for(;null!=n&&r.length<10;){let t=c({originalError:n,source:e,useFallbackStack:!1});r.push(t),n=f(n)?n.cause:void 0}return r.length?r:void 0}(e,u):void 0,fingerprint:f(d=e)&&"dd_fingerprint"in d?String(d.dd_fingerprint):void 0,context:function(t){if((0,s.O)(t))return t.dd_context}(e)}}function f(t){return t instanceof Error||"[object Error]"===Object.prototype.toString.call(t)}},5829(t,e,r){"use strict";r.d(e,{g:()=>n});let n={AGENT:"agent",CONSOLE:"console",CUSTOM:"custom",LOGGER:"logger",NETWORK:"network",SOURCE:"source",REPORT:"report"}},6921(t,e,r){"use strict";r.d(e,{$A:()=>c,Bb:()=>n,Ih:()=>l,KG:()=>u,NW:()=>o,R8:()=>s,TC:()=>i,dV:()=>a});let n="datad0g.com",i="dd0g-gov.com",o="datadoghq.com",a="datadoghq.eu",s="ddog-gov.com",u="us2.ddog-gov.com",c="pci.browser-intake-datadoghq.com",l=["ddsource","dd-api-key","dd-request-id"]},4929(t,e,r){"use strict";r.d(e,{AQ:()=>i,HB:()=>o,Q_:()=>u,_P:()=>a,gB:()=>s});var n=r(3260);let i=4*n.MA,o=15*n.iW,a=n.$H,s="0",u={COOKIE:"cookie",MEMORY:"memory",LOCAL_STORAGE:"local-storage"}},6332(t,e,r){"use strict";r.d(e,{m5:()=>i});var n=r(462);function i(t){let{env:e,service:r,version:n,datacenter:i,sdkVersion:a,variant:s}=t,u=[o("sdk_version",null!=a?a:"6.33.0")];return e&&u.push(o("env",e)),r&&u.push(o("service",r)),n&&u.push(o("version",n)),i&&u.push(o("datacenter",i)),s&&u.push(o("variant",s)),u}function o(t,e){var r;let i=e?`${t}:${e}`:t;return(i.length>200||(r=i,function(){try{return RegExp("[\\p{Ll}]","u"),!0}catch(t){return!1}}()&&RegExp("[^\\p{Ll}\\p{Lo}0-9_:./-]","u").test(r)))&&n.Vy.warn(`Tag ${i} doesn't meet tag requirements and will be sanitized. ${n.xG} ${n.fH}/getting_started/tagging/#defining-tags`),i.replace(/,/g,"_")}},9972(t,e,r){"use strict";let n;r.d(e,{a5:()=>P,VJ:()=>U,Gk:()=>M,Rr:()=>L,A2:()=>j,Q6:()=>D});var i=r(462),o=r(7810),a=r(2135),s=r(559),u=r(6332),c=r(6921),l=r(6300),f=r(3260),d=r(7826),p=r(1552),h=r(6044),y=r(9757),g=r(8550),m=r(7880),v=r(6766),b=r(6499),_=r(7206),w=r(8856),x=r(7288),S=r(8700),A=r(8558),E=r(262),T=r(8598),k=r(995);let O="configuration",R="usage",I=["https://www.datadoghq-browser-agent.com","https://www.datad0g-browser-agent.com","https://d3uc069fcn7uxw.cloudfront.net","https://d20xtzwzcl0ceb.cloudfront.net","http://localhost","<anonymous>"],C=[c.R8,c.KG];function N(){return n||(n=new l.dX(100)),n}function P(t,e,r){let n=new l.cP,{enabled:i,metricsEnabled:o}=function(t,e,r,n,i=1,o=15){var a;let c={},l=!C.includes(e.site)&&(0,h.ic)(e.telemetrySampleRate),m={log:l,[O]:l&&(0,h.ic)(e.telemetryConfigurationSampleRate),[R]:l&&(0,h.ic)(e.telemetryUsageSampleRate),metric:l&&(0,h.ic)(i)},b={is_local_file:(null==(a=T.J2.location)?void 0:a.protocol)==="file:",is_worker:T.Wq},_=N();return _.subscribe(({rawEvent:i,metricName:a})=>{var l,d,h,_;let w;if(a&&!m.metric||!m[i.type])return;let x=a||i.status||i.type,S=c[x];if(S||(S=c[x]=new Set),S.size>=o)return;let A=(0,y.s)(i);if(S.has(A))return;let T=r.triggerHook(1,{startTime:(0,f.M8)().relative});if(T===E.ug)return;let k=(l=T,d=t,h=i,_=b,w={type:"telemetry",date:(0,f.M8)().timeStamp,service:d,version:"6.33.0",source:"browser",_dd:{format_version:2},telemetry:(0,g.kg)(h,{runtime_env:_,connectivity:(0,v.q)(),sdk_setup:"npm"}),ddtags:(0,u.m5)(e).join(","),experimental_features:Array.from((0,s.q7)())},(0,g.kg)(w,l));n.notify(k),(0,p.b)("telemetry",k),S.add(A)}),_.unbuffer(),(0,d.Bd)(U),{enabled:l,metricsEnabled:m.metric}}(t,e,r,n),{stop:a}=function(t,e){let r=[];if((0,b.d0)()){let t=(0,b.Y9)(),n=e.subscribe(e=>t.send("internal_telemetry",e));
1r.push(n.unsubscribe)}else{let n=[t.rumEndpointBuilder];t.replica&&t.site===c.Bb&&n.push(t.replica.rumEndpointBuilder);let i=(0,_.X)({encoder:(0,S.N)(),request:(0,w.sA)(n,k.l),flushController:(0,x.tO)({pageMayExitObservable:(0,A._T)(t),sessionExpireObservable:new l.cP})});r.push(i.stop);let o=e.subscribe(i.add);r.push(o.unsubscribe)}return{stop:()=>r.forEach(t=>t())}}(e,n);return{stop:a,enabled:i,metricsEnabled:o}}function j(t,e){(0,d.oO)(i.bP.debug,t,e),N().notify({rawEvent:{type:"log",message:t,status:"debug",...e}})}function U(t,e){N().notify({rawEvent:{type:"log",status:"error",...function(t){if((0,o.bJ)(t)){var e;let r=(0,m.T)(t);return{error:{kind:r.name,stack:(0,a.Yn)(((e=r).stack=e.stack.filter(t=>!t.url||I.some(e=>t.url.startsWith(e))),e))},message:r.message}}return{error:{stack:o.e6},message:`Uncaught ${(0,y.s)(t)}`}}(t),...e}})}function L(t){N().notify({rawEvent:{type:O,configuration:t}})}function M(t,e){N().notify({rawEvent:{type:"log",message:t,status:"debug",...e},metricName:t})}function D(t){N().notify({rawEvent:{type:R,usage:t}})}},262(t,e,r){"use strict";r.d(e,{$O:()=>o,XP:()=>a,ug:()=>i});var n=r(8550);let i="DISCARDED",o="SKIPPED";function a(){let t={};return{register:(e,r)=>(t[e]||(t[e]=[]),t[e].push(r),{unregister:()=>{t[e]=t[e].filter(t=>t!==r)}}),triggerHook(e,r){let a=t[e]||[],s=[];for(let t of a){let e=t(r);if(e===i)return i;e!==o&&s.push(e)}return(0,n.kg)(...s)}}}},859(t,e,r){"use strict";r.d(e,{y:()=>i});var n=r(462);function i(t,e){return(...r)=>{try{return t(...r)}catch(t){n.Vy.error(e,t)}}}},462(t,e,r){"use strict";r.d(e,{JZ:()=>i,Vy:()=>s,Xs:()=>c,bP:()=>n,fH:()=>u,xG:()=>l});let n={log:"log",debug:"debug",info:"info",warn:"warn",error:"error"},i=console,o={};Object.keys(n).forEach(t=>{o[t]=i[t]});let a="Datadog Browser SDK:",s={debug:o.debug.bind(i,a),log:o.log.bind(i,a),info:o.info.bind(i,a),warn:o.warn.bind(i,a),error:o.error.bind(i,a)},u="https://docs.datadoghq.com",c=`${u}/real_user_monitoring/browser/troubleshooting`,l="More details:"},8700(t,e,r){"use strict";r.d(e,{N:()=>i});var n=r(5517);function i(){let t="",e=0;return{isAsync:!1,get isEmpty(){return!t},write(r,i){let o=(0,n.WW)(r);e+=o,t+=r,i&&i(o)},finish(t){t(this.finishSync())},finishSync(){let r={output:t,outputBytesCount:e,rawBytesCount:e,pendingData:""};return t="",e=0,r},estimateEncodedBytesCount:t=>t.length}}},559(t,e,r){"use strict";r.d(e,{Aq:()=>s,R9:()=>i,q7:()=>c,sr:()=>u});var n,i,o=r(4254);(n=i||(i={})).TRACK_INTAKE_REQUESTS="track_intake_requests",n.USE_TREE_WALKER_FOR_ACTION_NAME="use_tree_walker_for_action_name",n.FEATURE_OPERATION_VITAL="feature_operation_vital",n.START_STOP_ACTION="start_stop_action",n.START_STOP_RESOURCE="start_stop_resource",n.USE_CHANGE_RECORDS="use_change_records",n.USE_INCREMENTAL_CHANGE_RECORDS="use_incremental_change_records",n.TOO_MANY_REQUESTS_INVESTIGATION="too_many_requests_investigation",n.TRACK_RESOURCE_HEADERS="track_resource_headers";let a=new Set;function s(t){Array.isArray(t)&&t.filter(t=>(0,o.Rj)(i,t)).forEach(t=>{a.add(t)})}function u(t){return a.has(t)}function c(){return a}},3577(t,e,r){"use strict";r.d(e,{W:()=>i});var n=r(8598);function i(t,e){let r,i=(0,n.VZ)();return i.Zone&&"function"==typeof i.Zone.__symbol__&&(r=t[i.Zone.__symbol__(e)]),r||(r=t[e]),r}},8598(t,e,r){"use strict";function n(){if("object"==typeof globalThis)return globalThis;Object.defineProperty(Object.prototype,"_dd_temp_",{get(){return this},configurable:!0});let t=_dd_temp_;return delete Object.prototype._dd_temp_,"object"!=typeof t&&(t="object"==typeof self?self:"object"==typeof window?window:{}),t}r.d(e,{J2:()=>i,VZ:()=>n,Wq:()=>o});let i=n(),o="WorkerGlobalScope"in i},1482(t,e,r){"use strict";r.d(e,{H:()=>s,t:()=>u});var n=r(5973),i=r(7826),o=r(995),a=r(2135);function s(t,e,r,{computeHandlingStack:n}={}){let u=t[e];if("function"!=typeof u)if(!(e in t&&"string"==typeof e&&e.startsWith("on")))return{stop:o.l};else u=o.l;let c=!1,l=function(){let t;if(c)return u.apply(this,arguments);let e=Array.from(arguments);(0,i.um)(r,null,[{target:this,parameters:e,onPostCall:e=>{t=e},handlingStack:n?(0,a.uC)("instrumented method"):void 0}]);let o=u.apply(this,e);return t&&(0,i.um)(t,null,[o]),o};return t[e]=l,{stop:()=>{c=!0,t[e]===l&&(t[e]=u)}}}function u(t,e,r){let i=Object.getOwnPropertyDescriptor(t,e);if(!i||!i.set||!i.configurable)return{stop:o.l};let a=o.l,s=(t,e)=>{(0,n.wg)(()=>{s!==a&&r(t,e)},0)},u=function(t){i.set.call(this,t),s(this,t)};return Object.defineProperty(t,e,{set:u}),{stop:()=>{var r;(null==(r=Object.getOwnPropertyDescriptor(t,e))?void 0:r.set)===u&&Object.defineProperty(t,e,i),s=a}}}},8550(t,e,r){"use strict";r.d(e,{Go:()=>o,kg:()=>a});var n=r(9547);function i(t,e,r=function(){if("u">typeof WeakSet){let t=new WeakSet;return{hasAlreadyBeenSeen(e){let r=t.has(e);return r||t.add(e),r}}}let t=[];return{hasAlreadyBeenSeen(e){let r=t.indexOf(e)>=0;return r||t.push(e),r}}}()){if(void 0===e)return t;if("object"!=typeof e||null===e)return e;if(e instanceof Date)return new Date(e.getTime());if(e instanceof RegExp){let t=e.flags||[e.global?"g":"",e.ignoreCase?"i":"",e.multiline?"m":"",e.sticky?"y":"",e.unicode?"u":""].join("");return new RegExp(e.source,t)}if(r.hasAlreadyBeenSeen(e))return;if(Array.isArray(e)){let n=Array.isArray(t)?t:[];for(let t=0;t<e.length;++t)n[t]=i(n[t],e[t],r);return n}let o="object"===(0,n.P)(t)?t:{};for(let t in e)Object.prototype.hasOwnProperty.call(e,t)&&(o[t]=i(o[t],e[t],r));return o}function o(t){return i(void 0,t)}function a(...t){let e;for(let r of t)null!=r&&(e=i(e,r));return e}},2740(t,e,r){"use strict";function n(t){return t}r.d(e,{B:()=>n})},7826(t,e,r){"use strict";let n;r.d(e,{Bd:()=>a,Dx:()=>l,dm:()=>u,oO:()=>f,pM:()=>s,um:()=>c});var i=r(462);let o=!1;function a(t){n=t}function s(t){o=t}function u(t){return function(...e){return c(t,this,e)}}function c(t,e,r){try{return t.apply(e,r)}catch(t){l(t)}}function l(t){if(f(t),n)try{n(t)}catch(t){f(t)}}function f(...t){o&&i.Vy.error("[MONITOR]",...t)}},6300(t,e,r){"use strict";r.d(e,{dX:()=>u,Fx:()=>s,cP:()=>a});var n=r(7826),i=r(8598);function o(t){let e=i.J2.queueMicrotask;"function"==typeof e?e((0,n.dm)(t)):Promise.resolve().then((0,n.dm)(t))}class a{constructor(t){this.onFirstSubscribe=t,this.observers=[]}subscribe(t){return this.addObserver(t),{unsubscribe:()=>this.removeObserver(t)}}
1notify(t){this.observers.forEach(e=>e(t))}addObserver(t){this.observers.push(t),1===this.observers.length&&this.onFirstSubscribe&&(this.onLastUnsubscribe=this.onFirstSubscribe(this)||void 0)}removeObserver(t){this.observers=this.observers.filter(e=>t!==e),!this.observers.length&&this.onLastUnsubscribe&&this.onLastUnsubscribe()}}function s(...t){return new a(e=>{let r=t.map(t=>t.subscribe(t=>e.notify(t)));return()=>r.forEach(t=>t.unsubscribe())})}class u extends a{constructor(t){super(),this.maxBufferSize=t,this.buffer=[]}notify(t){this.buffer.push(t),this.buffer.length>this.maxBufferSize&&this.buffer.shift(),super.notify(t)}subscribe(t){let e=!1;return o(()=>{for(let r of this.buffer){if(e)return;t(r)}e||this.addObserver(t)}),{unsubscribe:()=>{e=!0,this.removeObserver(t)}}}unbuffer(){o(()=>{this.maxBufferSize=this.buffer.length=0})}}},8476(t,e,r){"use strict";r.d(e,{BB:()=>a});var n=r(5973),i=r(7826),o=r(3260);function a(t,e){var r;let a,s;if(window.requestIdleCallback&&window.cancelIdleCallback){let r=window.requestIdleCallback((0,i.dm)(t),e);return()=>window.cancelIdleCallback(r)}return r=t,a=(0,o.x3)(),s=(0,n.wg)(()=>{r({didTimeout:!1,timeRemaining:()=>Math.max(0,50-((0,o.x3)()-a))})},0),()=>(0,n.DJ)(s)}},1552(t,e,r){"use strict";r.d(e,{b:()=>i});var n=r(8598);function i(t,e){let r=n.J2.__ddBrowserSdkExtensionCallback;r&&r({type:t,payload:e})}},9757(t,e,r){"use strict";r.d(e,{M:()=>o,s:()=>i});var n=r(995);function i(t,e,r){if("object"!=typeof t||null===t)return JSON.stringify(t);let n=o(Object.prototype),i=o(Array.prototype),a=o(Object.getPrototypeOf(t)),s=o(t);try{return JSON.stringify(t,e,r)}catch(t){return"<error: unable to serialize object>"}finally{n(),i(),a(),s()}}function o(t){let e=t.toJSON;return e?(delete t.toJSON,()=>{t.toJSON=e}):n.l}},8295(t,e,r){"use strict";r.d(e,{a:()=>o});var n=r(462),i=r(9757);function o(t,e=225280){let r=(0,i.M)(Object.prototype),n=(0,i.M)(Array.prototype),u=[],c=new WeakMap,l=a(t,"$",void 0,u,c),f=JSON.stringify(l),d=f?f.length:0;if(d>e)return void s(e,"discarded",t);for(;u.length>0&&d<e;){let r=u.shift(),n=0;if(Array.isArray(r.source))for(let i=0;i<r.source.length;i++){let o=a(r.source[i],r.path,i,u,c);if(void 0!==o?d+=JSON.stringify(o).length:d+=4,d+=n,n=1,d>e){s(e,"truncated",t);break}r.target[i]=o}else for(let i in r.source)if(Object.prototype.hasOwnProperty.call(r.source,i)){let o=a(r.source[i],r.path,i,u,c);if(void 0!==o&&(d+=JSON.stringify(o).length+n+i.length+3,n=1),d>e){s(e,"truncated",t);break}r.target[i]=o}}return r(),n(),l}function a(t,e,r,n,i){let o=function(t){if(t&&"function"==typeof t.toJSON)try{return t.toJSON()}catch(t){}return t}(t);if(!o||"object"!=typeof o){var a;return"bigint"==typeof(a=o)?`[BigInt] ${a.toString()}`:"function"==typeof a?`[Function] ${a.name||"unknown"}`:"symbol"==typeof a?`[Symbol] ${a.description||a.toString()}`:a}let s=function t(e){try{if(e instanceof Event){var r;return{type:(r=e).type,isTrusted:r.isTrusted,currentTarget:r.currentTarget?t(r.currentTarget):null,target:r.target?t(r.target):null}}if(e instanceof RegExp)return`[RegExp] ${e.toString()}`;let n=Object.prototype.toString.call(e).match(/\[object (.*)\]/);if(n&&n[1])return`[${n[1]}]`}catch(t){}return"[Unserializable]"}(o);if("[Object]"!==s&&"[Array]"!==s&&"[Error]"!==s)return s;if(i.has(t))return`[Reference seen at ${i.get(t)}]`;let u=void 0!==r?`${e}.${r}`:e,c=Array.isArray(o)?[]:{};return i.set(t,u),n.push({source:o,target:c,path:u}),c}function s(t,e,r){n.Vy.warn(`The data provided has been ${e} as it is over the limit of ${t} characters:`,r)}},7880(t,e,r){"use strict";let n;r.d(e,{T:()=>o,h:()=>y});var i=r(9547);function o(t){var e,r;let i=[],o=h(t,"stack"),a=String(t);if(o&&o.startsWith(a)&&(o=o.slice(a.length)),o&&o.split("\n").forEach(t=>{let e=function(t){let e=u.exec(t);if(!e)return;let r=e[2]&&0===e[2].indexOf("native"),n=e[2]&&0===e[2].indexOf("eval"),i=c.exec(e[2]);return n&&i&&(e[2]=i[1],e[3]=i[2],e[4]=i[3]),{args:r?[e[2]]:[],column:e[4]?+e[4]:void 0,func:e[1]||"?",line:e[3]?+e[3]:void 0,url:r?void 0:e[2]}}(t)||function(t){let e=l.exec(t);if(e)return{args:[],column:e[4]?+e[4]:void 0,func:e[1]||"?",line:e[3]?+e[3]:void 0,url:e[2]}}(t)||function(t){let e=f.exec(t);if(e)return{args:[],column:e[4]?+e[4]:void 0,func:e[1]||"?",line:+e[3],url:e[2]}}(t)||function(t){let e=d.exec(t);if(!e)return;let r=e[3]&&e[3].indexOf(" > eval")>-1,n=p.exec(e[3]);return r&&n&&(e[3]=n[1],e[4]=n[2],e[5]=void 0),{args:e[2]?e[2].split(","):[],column:e[5]?+e[5]:void 0,func:e[1]||"?",line:e[4]?+e[4]:void 0,url:e[3]}}(t);e&&(!e.func&&e.line&&(e.func="?"),i.push(e))}),i.length>0&&function(){if(void 0!==n)return n;
1let[t,e]=[class extends Error{constructor(){super(),this.name="Error"}},Error].map(t=>new t);return n=m(Object.getPrototypeOf(t))&&e.stack!==t.stack}()&&t instanceof Error){let n=[],o=t;for(;(o=Object.getPrototypeOf(o))&&m(o);){let t=(null==(e=o.constructor)?void 0:e.name)||"?";n.push(t)}for(let t=n.length-1;t>=0&&(null==(r=i[0])?void 0:r.func)===n[t];t--)i.shift()}return{message:h(t,"message"),name:h(t,"name"),stack:i}}let a="((?:file|https?|blob|chrome-extension|electron|native|eval|webpack|snippet|<anonymous>|\\w+\\.|\\/).*?)",s="(?::(\\d+))",u=RegExp(`^\\s*at (.*?) ?\\(${a}${s}?${s}?\\)?\\s*$`,"i"),c=RegExp(`\\((\\S*)${s}${s}\\)`),l=RegExp(`^\\s*at\\s*(?:(.*)?(?: @))?\\s*${a}${s}?${s}??\\s*$`,"i"),f=/^\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|\[wasm code\])(?::(\d+))?(?::(\d+))?)|@)\s*$/i,p=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i;function h(t,e){return(0,i.O)(t)&&"string"==typeof t[e]?t[e]:void 0}function y(t,e,r,n){var i;let o,a;if(void 0===e)return;let{name:s,message:u}=(i=t,"[object String]"===({}).toString.call(i)&&([,o,a]=g.exec(i)),{name:o,message:a});return{name:s,message:u,stack:[{url:e,column:n,line:r}]}}let g=/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?([\s\S]*)$/;function m(t){return String(t.constructor).startsWith("class ")}},2135(t,e,r){"use strict";r.d(e,{NR:()=>s,Yn:()=>a,uC:()=>o});var n=r(7826),i=r(7880);function o(t){let e,r=Error(t);return r.name="HandlingStack",(0,n.um)(()=>{let t=(0,i.T)(r);t.stack=t.stack.slice(2),e=a(t)}),e}function a(t){let e=s(t);return t.stack.forEach(t=>{let r="?"===t.func?"<anonymous>":t.func,n=t.args&&t.args.length>0?`(${t.args.join(", ")})`:"",i=t.line?`:${t.line}`:"",o=t.line&&t.column?`:${t.column}`:"";e+=` 2 at ${r}${n} @ ${t.url}${i}${o}`}),e}function s(t){return`${t.name||"Error"}: ${t.message}`}},5973(t,e,r){"use strict";r.d(e,{DJ:()=>s,vG:()=>c,wg:()=>a,yb:()=>u});var n=r(3577),i=r(7826),o=r(8598);function a(t,e){return(0,n.W)((0,o.VZ)(),"setTimeout")((0,i.dm)(t),e)}function s(t){(0,n.W)((0,o.VZ)(),"clearTimeout")(t)}function u(t,e){return(0,n.W)((0,o.VZ)(),"setInterval")((0,i.dm)(t),e)}function c(t){(0,n.W)((0,o.VZ)(),"clearInterval")(t)}},3518(t,e,r){"use strict";function n(t,e){let r=t.indexOf(e);r>=0&&t.splice(r,1)}function i(t){return Array.isArray(t)&&t.length>0}r.d(e,{Ai:()=>n,EI:()=>i})},8559(t,e,r){"use strict";let n;function i(){return 0===a()}function o(){return 1===a()}function a(){return null!=n?n:n=function(t=window){var e;let r=t.navigator.userAgent;return t.chrome||/HeadlessChrome/.test(r)?0:(null==(e=t.navigator.vendor)?void 0:e.indexOf("Apple"))===0||/safari/i.test(r)&&!/chrome|android/i.test(r)?1:2}()}r.d(e,{F2:()=>i,nr:()=>o})},5517(t,e,r){"use strict";r.d(e,{WW:()=>o,iH:()=>n,wh:()=>a});let n=1048576,i=/[^\u0000-\u007F]/;function o(t){return i.test(t)?void 0!==window.TextEncoder?new TextEncoder().encode(t).length:new Blob([t]).size:t.length}function a(t){if(1===t.length)return t[0];let e=new Uint8Array(t.reduce((t,e)=>t+e.length,0)),r=0;for(let n of t)e.set(n,r),r+=n.length;return e}},995(t,e,r){"use strict";r.d(e,{l:()=>o,n:()=>i});var n=r(5973);function i(t,e,r){let i,o,a=!r||void 0===r.leading||r.leading,s=!r||void 0===r.trailing||r.trailing,u=!1;return{throttled:(...r)=>{if(u){i=r;return}a?t(...r):i=r,u=!0,o=(0,n.wg)(()=>{s&&i&&t(...i),u=!1,i=void 0},e)},cancel:()=>{(0,n.DJ)(o),u=!1,i=void 0}}}function o(){}},6044(t,e,r){"use strict";function n(t){return 0!==t&&100*Math.random()<=t}function i(t,e){return+t.toFixed(e)}function o(t){return a(t)&&t>=0&&t<=100}function a(t){return"number"==typeof t}r.d(e,{Et:()=>a,LI:()=>i,fp:()=>o,ic:()=>n})},4254(t,e,r){"use strict";function n(t){try{return JSON.parse(t)}catch(t){}}function i(t){return{...t}}function o(t,e){return Object.keys(t).some(r=>t[r]===e)}function a(t){return 0===Object.keys(t).length}function s(t,e){let r={};for(let n of Object.keys(t))r[n]=e(t[n]);return r}r.d(e,{LG:()=>s,RI:()=>a,Rj:()=>o,XU:()=>n,yG:()=>i})},9974(t,e,r){"use strict";function n(t,e){for(let r=t.length-1;r>=0;r-=1){let n=t[r];
2if(e(n,r,t))return n}}function i(t){return Object.values(t)}function o(t){return Object.entries(t)}r.d(e,{KQ:()=>i,Uk:()=>n,WP:()=>o})},1886(t,e,r){"use strict";function n(t){return t>=500}function i(t){try{return t.clone()}catch(t){return}}r.d(e,{G:()=>n,i:()=>i})},3260(t,e,r){"use strict";let n;r.d(e,{$H:()=>u,$S:()=>y,FR:()=>c,Gw:()=>b,M8:()=>g,MA:()=>s,OY:()=>o,Oc:()=>m,TP:()=>f,Zj:()=>d,gs:()=>_,iW:()=>a,jR:()=>l,nx:()=>h,pu:()=>w,vk:()=>v,x3:()=>p});var i=r(6044);let o=1e3,a=6e4,s=36e5,u=31536e6;function c(t){var e,r;let n;return{relative:t,timeStamp:(e=t,(n=p()-performance.now())>x()?Math.round(function(t,e){return t+e}(n,e)):(r=e,Math.round(x()+r)))}}function l(t){return{relative:_(t),timeStamp:t}}function f(){var t;return Math.round(p()-(t=x(),t+performance.now()))}function d(t){return(0,i.Et)(t)?(0,i.LI)(1e6*t,0):t}function p(){return new Date().getTime()}function h(){return p()}function y(){return performance.now()}function g(){return{relative:y(),timeStamp:h()}}function m(){return{relative:0,timeStamp:x()}}function v(t,e){return e-t}function b(t,e){return t+e}function _(t){return t-x()}function w(t){return t<u}function x(){var t,e;return void 0===n&&(n=null!=(e=null==(t=performance.timing)?void 0:t.navigationStart)?e:performance.timeOrigin),n}},9547(t,e,r){"use strict";function n(t){return null===t?"null":Array.isArray(t)?"array":typeof t}function i(t){return"object"===n(t)}r.d(e,{O:()=>i,P:()=>n})},4140(t,e,r){"use strict";let n;r.d(e,{AY:()=>a,L2:()=>s,c$:()=>u,l2:()=>o});var i=r(8598);function o(t){return u(t,location.href).href}function a(t){try{return!!u(t)}catch(t){return!1}}function s(t){let e=u(t).pathname;return"/"===e[0]?e:`/${e}`}function u(t,e){let{URL:r}=function(){var t;if(!n){let e,r;try{(e=document.createElement("iframe")).style.display="none",document.body.appendChild(e),r=null!=(t=e.contentWindow)?t:i.J2}catch(t){r=i.J2}n={URL:r.URL},null==e||e.remove()}return n}();try{return void 0!==e?new r(t,e):new r(t)}catch(t){throw Error(`Failed to construct URL: ${String(t)}`)}}},7661(t,e,r){"use strict";let n;r.d(e,{qj:()=>l});var i=r(5973),o=r(3518),a=r(3260);let s=1/0,u=a.iW,c=new Set;function l({expireDelay:t,maxEntries:e}){let r=[];n||(n=(0,i.yb)(()=>void c.forEach(t=>t()),u));let l=()=>{let e=(0,a.$S)()-t;for(;r.length>0&&r[r.length-1].endTime<e;)r.pop()};return c.add(l),{add:function(t,n){let i={value:t,startTime:n,endTime:s,remove:()=>{(0,o.Ai)(r,i)},close:t=>{i.endTime=t}};return e&&r.length>=e&&r.pop(),r.unshift(i),i},find:function(t=s,e={returnInactive:!1}){for(let n of r)if(n.startTime<=t){if(e.returnInactive||t<=n.endTime)return n.value;break}},closeActive:function(t){let e=r[0];e&&e.endTime===s&&e.close(t)},findAll:function(t=s,e=0){let n=(0,a.Gw)(t,e);return r.filter(e=>e.startTime<=n&&t<=e.endTime).map(t=>t.value)},getEntries:function(t){return r.filter(e=>e.startTime===t)},reset:function(){r=[]},stop:function(){c.delete(l),0===c.size&&n&&((0,i.vG)(n),n=void 0)}}}},7206(t,e,r){"use strict";r.d(e,{X:()=>u});var n=r(462),i=r(9974),o=r(8558),a=r(9757),s=r(5517);function u({encoder:t,request:e,flushController:r}){let u={},l=r.flushObservable.subscribe(r=>(function(r){let n=(0,i.KQ)(u).join("\n");u={};let a=(0,o.Kp)(r.reason),l=a?e.sendOnExit:e.send;if(a&&t.isAsync){let e=t.finishSync();e.outputBytesCount&&l(c(e));let r=[e.pendingData,n].filter(Boolean).join("\n");r&&l({data:r,bytesCount:(0,s.WW)(r)})}else n&&t.write(t.isEmpty?n:` 3${n}`),t.finish(t=>{l(c(t))})})(r));function f(e,i){let o,s,c=(0,a.s)(e),l=t.estimateEncodedBytesCount(c);l>=262144?n.Vy.warn(`Discarded a message whose size was bigger than the maximum allowed size 256KiB. ${n.xG} ${n.Xs}/#technical-limitations`):(void 0!==i&&void 0!==u[i]&&(o=u[i],delete u[i],s=t.estimateEncodedBytesCount(o),r.notifyAfterRemoveMessage(s)),r.notifyBeforeAddMessage(l),void 0!==i?(u[i]=c,r.notifyAfterAddMessage()):t.write(t.isEmpty?c:` 4${c}`,t=>{r.notifyAfterAddMessage(t-l)}))}return{flushController:r,add:f,upsert:f,stop:l.unsubscribe}}function c(t){return{data:"string"==typeof t.output?t.output:new Blob([t.output],{type:"text/plain"}),bytesCount:t.outputBytesCount,encoding:t.encoding}}},6499(t,e,r){"use strict";r.d(e,{Ww:()=>o,Y9:()=>i,d0:()=>a});var n=r(8598);function i(){let t=(0,n.VZ)().DatadogEventBridge;if(t)return{getCapabilities(){var e;return JSON.parse((null==(e=t.getCapabilities)?void 0:e.call(t))||"[]")},getPrivacyLevel(){var e;return null==(e=t.getPrivacyLevel)?void 0:e.call(t)},getAllowedWebViewHosts:()=>JSON.parse(t.getAllowedWebViewHosts()),send(e,r,n){t.send(JSON.stringify({eventType:e,event:r,view:n?{id:n}:void 0}))}}}function o(t){let e=i();return!!e&&e.getCapabilities().includes(t)}function a(t){var e;void 0===t&&(t=null==(e=(0,n.VZ)().location)?void 0:e.hostname);let r=i();return!!r&&r.getAllowedWebViewHosts().some(e=>t===e||t.endsWith(`.${e}`))}},7288(t,e,r){"use strict";r.d(e,{tO:()=>l});var n=r(8598),i=r(6300),o=r(5973),a=r(3260),s=r(8856);let u=30*a.OY,c=n.Wq?1:50;
4function l({pageMayExitObservable:t,sessionExpireObservable:e}){let r,n,a=new i.cP,l=t.subscribe(t=>{r=t.reason;try{a.notify(t.reason)}finally{r=void 0}y(t.reason)}),f=e.subscribe(()=>y("session_expire")),d=new i.cP(()=>()=>{l.unsubscribe(),f.unsubscribe()}),p=0,h=0;function y(t){if(0===h)return;let e=h,r=p;h=0,p=0,g(),d.notify({reason:t,messagesCount:e,bytesCount:r})}function g(){(0,o.DJ)(n),n=void 0}return{flushObservable:d,preparePageExitFlushObservable:a,get messagesCount(){return h},notifyBeforeAddMessage(t){p+t>=s.AK&&y(null!=r?r:"bytes_limit"),h+=1,p+=t,void 0===n&&(n=(0,o.wg)(()=>{y("duration_limit")},u))},notifyAfterAddMessage(t=0){p+=t,h>=c?y(null!=r?r:"messages_limit"):p>=s.AK&&y(null!=r?r:"bytes_limit")},notifyAfterRemoveMessage(t){p-=t,0==(h-=1)&&g()}}}},8856(t,e,r){"use strict";r.d(e,{sA:()=>b,AK:()=>v});var n=r(3931),i=r(7826),o=r(6300),a=r(5973),s=r(3260),u=r(5517),c=r(1886),l=r(5829);let f=20*u.iH,d=s.iW,p=s.OY;function h(t,e,r,n,i,o){0===e.transportStatus&&0===e.queuedPayloads.size()&&e.bandwidthMonitor.canHandle(t)?y(t,e,r,o,{onSuccess:()=>g(0,e,r,n,i,o),onFailure:()=>{e.queuedPayloads.enqueue(t)||o.notify({type:"queue-full",bandwidth:e.bandwidthMonitor.stats(),payload:t}),function t(e,r,n,i,o){2===e.transportStatus&&(0,a.wg)(()=>{y(e.queuedPayloads.first(),e,r,o,{onSuccess:()=>{e.queuedPayloads.dequeue(),e.currentBackoffTime=p,g(1,e,r,n,i,o)},onFailure:()=>{e.currentBackoffTime=Math.min(d,2*e.currentBackoffTime),t(e,r,n,i,o)}})},e.currentBackoffTime)}(e,r,n,i,o)}}):e.queuedPayloads.enqueue(t)||o.notify({type:"queue-full",bandwidth:e.bandwidthMonitor.stats(),payload:t})}function y(t,e,r,n,{onSuccess:i,onFailure:o}){e.bandwidthMonitor.add(t),r(t,r=>{var a;e.bandwidthMonitor.remove(t),"opaque"!==(a=r).type&&(0===a.status&&!navigator.onLine||408===a.status||429===a.status||(0,c.G)(a.status))?(e.transportStatus=e.bandwidthMonitor.ongoingRequestCount>0?1:2,t.retry={count:t.retry?t.retry.count+1:1,lastFailureStatus:r.status},n.notify({type:"failure",bandwidth:e.bandwidthMonitor.stats(),payload:t}),o()):(e.transportStatus=0,n.notify({type:"success",bandwidth:e.bandwidthMonitor.stats(),payload:t}),i())})}function g(t,e,r,n,i,o){0===t&&e.queuedPayloads.isFull()&&!e.queueFullReported&&(i({message:`Reached max ${n} events size queued for upload: ${f/u.iH}MiB`,source:l.g.AGENT,startClocks:(0,s.M8)()}),e.queueFullReported=!0);let a=e.queuedPayloads;for(e.queuedPayloads=m();a.size()>0;)h(a.dequeue(),e,r,n,i,o)}function m(){let t=[];return{bytesCount:0,enqueue(e){return!this.isFull()&&(t.push(e),this.bytesCount+=e.bytesCount,!0)},first:()=>t[0],dequeue(){let e=t.shift();return e&&(this.bytesCount-=e.bytesCount),e},size:()=>t.length,isFull(){return this.bytesCount>=f}}}let v=16384;function b(t,e,r=v){let n=new o.cP,a={transportStatus:0,currentBackoffTime:p,bandwidthMonitor:{ongoingRequestCount:0,ongoingByteCount:0,canHandle(t){return 0===this.ongoingRequestCount||this.ongoingByteCount+t.bytesCount<=81920&&this.ongoingRequestCount<32},add(t){this.ongoingRequestCount+=1,this.ongoingByteCount+=t.bytesCount},remove(t){this.ongoingRequestCount-=1,this.ongoingByteCount-=t.bytesCount},stats(){return{ongoingByteCount:this.ongoingByteCount,ongoingRequestCount:this.ongoingRequestCount}}},queuedPayloads:m(),queueFullReported:!1};return{observable:n,send:r=>{for(let i of t)h(r,a,(t,e)=>{w(i,t,e)},i.trackType,e,n)},sendOnExit:e=>{for(let n of t)!function(t,e,r){if(navigator.sendBeacon&&r.bytesCount<e)try{let e=t.build("beacon",r);if(navigator.sendBeacon(e,r.data))return}catch(t){var n;n=t,_||(_=!0,(0,i.Dx)(n))}w(t,r)}(n,r,e)}}}let _=!1;function w(t,e,r){let o=t.build("fetch",e);(0,n.h)(o,{method:"POST",body:e.data,mode:"cors"}).then((0,i.dm)(t=>null==r?void 0:r({status:t.status,type:t.type}))).catch((0,i.dm)(()=>null==r?void 0:r({status:0})))}},4813(t,e,r){"use strict";let n,i,o,a,s,u,c,l,f,d,p,h;r.d(e,{dx:()=>iA,$5:()=>e4,g1:()=>nZ,pB:()=>nJ,nS:()=>rs,XS:()=>ru,wP:()=>iE,$4:()=>rd,p_:()=>rc,AB:()=>iS,o:()=>r$,ei:()=>e5,eT:()=>rF,K:()=>Q,$m:()=>rM,zL:()=>nK,Gn:()=>nH,dT:()=>rG,NT:()=>rD,jR:()=>rW,W3:()=>eF,rf:()=>rQ,Wd:()=>rB,Ie:()=>rH,wI:()=>rf,ap:()=>rK,PJ:()=>rq,wR:()=>rl,do:()=>g,bb:()=>J});var y,g,m=r(6300);let v={GRANTED:"granted",NOT_GRANTED:"not-granted"};var b=r(2740),_=r(1482),w=r(3260),x=r(7880),S=r(8598),A=r(7810),E=r(5829);function T(){return new m.cP(t=>{var e,r;let n=(e,r)=>{let n=(0,A.As)({stackTrace:r,originalError:e,startClocks:(0,w.M8)(),nonErrorPrefix:"Uncaught",source:E.g.SOURCE,handling:"unhandled"});t.notify(n)},{stop:i}=(e=n,(0,_.H)((0,S.VZ)(),"onerror",({parameters:[t,r,n,i,o]})=>{let a;(0,A.bJ)(o)||(a=(0,x.h)(t,r,n,i)),e(null!=o?o:t,a)})),{stop:o}=(r=n,(0,_.H)((0,S.VZ)(),"onunhandledrejection",({parameters:[t]})=>{r(t.reason||"Empty reason")}));return()=>{i(),o()}})}var k=r(8700),O=r(2135),R=r(7826),I=r(9972),C=r(5599),N=r(8550),P=r(8295),j=r(559);function U(t,e,r,n){return(0,R.dm)((...i)=>(n&&(0,I.Q6)({feature:n}),t()[e][r](...i)))}let L="userContext",M="globalContext",D="accountContext",B="getContext",$="setContext",F="setContextProperty",V="removeContextProperty",z="clearContext";function q(t){return t?(parseInt(t,10)^16*Math.random()>>parseInt(t,10)/4).toString(16):"10000000-1000-4000-8000-100000000000".replace(/[018]/g,q)}let W=/(\S+?)\s*=\s*(.+?)(?:;|$)/g;function G(t,e){for(W.lastIndex=0;;){let r=W.exec(t);if(r){if(r[1]===e)return r[2]}else break}}function H(t,e,r=""){let n=t.charCodeAt(e-1),i=n>=55296&&n<=56319?e+1:e;return t.length<=i?t:`${t.slice(0,i)}${r}`}var K=r(462);function Z(t,e){e.silentMultipleInit||K.Vy.error(`${t} is already initialized.`)}let J={ACTION:"action",ERROR:"error",LONG_TASK:"long_task",VIEW:"view",RESOURCE:"resource",VITAL:"vital"},Q={LONG_TASK:"long-task",LONG_ANIMATION_FRAME:"long-animation-frame"},Y="initial_load",X="route_change",tt="bf_cache",te="custom",tr="error_click",tn="dead_click",ti="duration";function to({vitalsByName:t,vitalsByReference:e},r,n={}){let i={id:q(),name:r,startClocks:(0,w.M8)(),...n},o={__dd_vital_reference:!0};return t.set(r,i),e.set(o,i),o}function ta(t,{vitalsByName:e,vitalsByReference:r},n,i={}){var o,a,s,u,c;let l="string"==typeof n?e.get(n):r.get(n);l&&(t((o=l,a=l.startClocks,s=i,u=(0,w.M8)(),{id:o.id,name:o.name,type:ti,startClocks:a,duration:(0,w.vk)(a.timeStamp,u.t
4imeStamp),context:(0,N.kg)(o.context,s.context),description:null!=(c=s.description)?c:o.description,handlingStack:o.handlingStack})),"string"==typeof n?e.delete(n):r.delete(n))}function ts(t){let{startClocks:e,type:r,name:n,description:i,context:o,handlingStack:a}=t,s=t.type===ti?t.id:void 0,u={id:null!=s?s:q(),type:r,name:n,description:i,...r===ti?{duration:(0,w.Zj)(t.duration)}:{step_type:t.stepType,operation_key:t.operationKey,failure_reason:t.failureReason}};return{rawRumEvent:{date:e.timeStamp,vital:u,type:J.VITAL,context:o},startClocks:e,duration:r===ti?t.duration:void 0,domainContext:a?{handlingStack:a}:{}}}function tu(t,e,r){if(t)for(let n of t){let t=n[e];t&&t(r)}}var tc=r(3518),tl=r(2954),tf=r(4254);let td=[];function tp(t,e,r,n){var i,o;let a=(i=r,o=n,`_dd_c_${i}_${o}`);td.push((0,tl.q)(t,window,"storage",({key:t})=>{a===t&&e.setContext(u())})),e.changeObservable.subscribe(function(){localStorage.setItem(a,JSON.stringify(e.getContext()))});let s=(0,N.kg)(u(),e.getContext());function u(){let t=localStorage.getItem(a);return t?JSON.parse(t):{}}(0,tf.RI)(s)||e.setContext(s)}var th=r(9547);function ty(t,e,r){let n={...t};for(let[t,{required:i,type:o}]of Object.entries(e))"string"!==o||tg(n[t])||(n[t]=String(n[t])),i&&tg(n[t])&&K.Vy.warn(`The property ${t} of ${r} is required; context will not be sent to the intake.`);return n}function tg(t){return null==t||""===t}function tm(t="",{propertiesConfig:e={}}={}){let r={},n=new m.cP,i={getContext:()=>(0,N.Go)(r),setContext:o=>{let a;((a="object"===(0,th.P)(o))||K.Vy.error("Unsupported context:",o),a)?r=(0,P.a)(ty(o,e,t)):i.clearContext(),n.notify()},setContextProperty:(i,o)=>{r=(0,P.a)(ty({...r,[i]:o},e,t)),n.notify()},removeContextProperty:i=>{delete r[i],ty(r,e,t),n.notify()},clearContext:()=>{r={},n.notify()},changeObservable:n};return i}function tv(){return tm("global context")}var tb=r(262);function t_(){return tm("user",{propertiesConfig:{id:{type:"string"},name:{type:"string"},email:{type:"string"}}})}function tw(){return tm("account",{propertiesConfig:{id:{type:"string",required:!0},name:{type:"string"}}})}var tx=r(6499),tS=r(995),tA=r(4140),tE=r(5517);async function tT(t,e){let r=t.getReader(),n=[];for(;;){let t=await r.read();if(t.done)break;e.collectStreamBody&&n.push(t.value)}return r.cancel().catch(tS.l),e.collectStreamBody?(0,tE.wh)(n):void 0}var tk=r(1886);let tO=[];function tR({responseBodyAction:t}={}){return t&&tO.push(t),n||(n=new m.cP(t=>{if(!S.J2.fetch)return;let{stop:e}=(0,_.H)(S.J2,"fetch",e=>(function({parameters:t,onPostCall:e,handlingStack:r},n){var i,o;let[a,s]=t,u=s&&s.method;void 0===u&&a instanceof Request&&(u=a.method);let c=void 0!==u?String(u).toUpperCase():"GET",l=a instanceof Request?a.url:(0,tA.l2)(String(a)),f={state:"start",init:s,input:a,method:c,startClocks:(0,w.M8)(),url:l,handlingStack:r,isAbortedOnStart:a instanceof Request&&(null==(i=a.signal)?void 0:i.aborted)||(null==(o=null==s?void 0:s.signal)?void 0:o.aborted)||!1};n.notify(f),t[0]=f.input,t[1]=f.init,e(t=>{tI(n,t,f).catch(R.Dx)})})(e,t),{computeHandlingStack:!0});return e})),n}async function tI(t,e,r){var n,i;let o;r.state="resolve";try{o=await e}catch(e){r.status=0,r.isAborted=(null==(i=null==(n=r.init)?void 0:n.signal)?void 0:i.aborted)||e instanceof DOMException&&e.code===DOMException.ABORT_ERR,r.error=e,t.notify(r);return}r.response=o,r.status=o.status,r.responseType=o.type,r.isAborted=!1;let a=tO.reduce((t,e)=>Math.max(t,e(r)),0);if(0!==a){let t=(0,tk.i)(o);if(t&&t.body)try{let e=await tT(t.body,{collectStreamBody:2===a});r.responseBody=e&&new TextDecoder().decode(e)}catch(t){}}t.notify(r)}function tC(t,e,r=0,n){let i=new Date;i.setTime(i.getTime()+r);let o=`expires=${i.toUTCString()}`,a=n&&n.crossSite?"none":"strict",s=n&&n.domain?`;domain=${n.domain}`:"",u=n&&n.secure?";secure":"",c=n&&n.partitioned?";partitioned":"";document.cookie=`${t}=${e};${o};path=/;samesite=${a}${s}${u}${c}`}function tN(t){return G(document.cookie,t)}function tP(t){return i||(i=function(t){let e=new Map;for(W.lastIndex=0;;){let r=W.exec(t);if(r)e.set(r[1],r[2]);else break}return e}(document.cookie)),i.get(t)}function tj(t=location.hostname,e=document.referrer){if(void 0===o){let r=function(t,e){try{return t||(0,tA.c$)(e).hostname}catch(t){}}(t,e);if(r){let t=`dd_site_test_${q()}`,e=r.split("."),n=e.pop();for(;e.length&&!tN(t);)n=`${e.pop()}.${n}`,tC(t,"test",w.OY,{domain:n});tC(t,"",0,{domain:n}),o=n}}return o}let tU="datadog-synthetics-",tL=`${tU}public-id`,tM=`${tU}result-id`,tD=`${tU}injects-rum`,tB=`${tU}rum-context`;function t$(){return!S.Wq&&!!(S.J2._DATADOG_SYNTHETICS_INJECTS_RUM||tP(tD))}function tF(){var t;let e=function(){let t=S.J2._DATADOG_SYNTHETICS_RUM_CONTEXT;if(t)return t;let e=tP(tB);return e?(0,tf.XU)(decodeURIComponent(e)):{test_id:window._DATADOG_SYNTHETICS_PUBLIC_ID||tP(tL),result_id:window._DATADOG_SYNTHETICS_RESULT_ID||tP(tM)}}();return"object"==typeof(t=e)&&null!==t&&"string"==typeof t.test_id&&"string"==typeof t.result_id?e:void 0}let tV=tb.XP;var tz=r(859),tq=r(6044),tW=r(5973),tG=r(8559),tH=r(9974),tK=r(4929);let tZ=/^([a-zA-Z]+)=([a-z0-9-]+)$/;function tJ(t,e){let r={isExpired:"1"};return e.trackAnonymousUser&&(null==t?void 0:t.anonymousId)&&(r.anonymousId=null==t?void 0:t.anonymousId),r}function tQ(t){return(0,tf.RI)(t)}function tY(t){var e;return void 0!==t.isExpired||!((void 0===(e=t).created||(0,w.x3)()-Number(e.created)<tK.AQ)&&(void 0===e.expire||(0,w.x3)()<Number(e.expire)))}function tX(t){t.expire=String((0,w.x3)()+tK.HB)}function t0(t){return(0,tH.WP)(t).map(([t,e])=>"anonymousId"===t?`aid=${e}`:`${t}=${e}`).join("&")}function t1(t){let e={};return t&&(-1!==t.indexOf("&")||tZ.test(t))&&t.split("&").forEach(t=>{let r=tZ.exec(t);if(null!==r){let[,t,n]=r;"aid"===t?e.anonymousId=n:e[t]=n}}),e}function t2(t,e,r,n){let i=t0(r);e.betaEncodeCookieOptions&&(i=t0({...r,...!(0,tf.RI)(r)?{c:t6(t)}:{}})),tC("_dd_s",i,e.trackAnonymousUser?tK._P:n,t)}function t3(t,e){return e.betaEncodeCookieOptions?function(t){let e,r=(function(t){let e=new Map;for(W.lastIndex=0;;){let r=W.exec(t);if(r){let t=r[1],n=r[2];e.has(t)?e.get(t).push(n):e.set(t,[n])}else break}return e})(document.cookie).get("_dd_s")||[],n=t6(t);for(let t of r.reverse())if((e=t1(t)).c===n)break;return null==e||delete e.c,null!=e?e:{}}(t):t1(tN("_dd_s"))}function t6(t){return((t.domain?t.domain.split(".").length-1:0)<<1|!!t.crossSite).toString(16)}function t5(t){localStorage.setItem("_dd_s",t0(t))}function t8(){return t1(localStorage.getItem("_dd_s"))}let t4=w.OY,t9=[];function t7(t,e,r=0){var n;let i,{isLockEnabled:o,persistSession:s,expireSession:u}=e,c=t=>s({...t,lock:i}),l=()=>{let{lock:t,...r}=e.retrieveSession();return{session:r,lock:t&&!function(t){let[,e]=t.split("--");return!e||(0,w.vk)(Number(e),(0,w.nx)())>t4}(t)?t:void 0}};if(a||(a=t),t!==a)return void t9.push(t);if(o&&r>=100)return void ee(e);let f=l();if(o&&(f.lock||(i=q()+"--"+(0,w.nx)(),c(f.session),(f=l()).lock!==i)))return void et(t,e,r);let d=t.process(f.session);if(o&&(f=l()).lock!==i)return void et(t,e,r);
4if(d&&(tY(d)?u(d):(tX(d),o?c(d):s(d))),o&&!(d&&tY(d))){if((f=l()).lock!==i)return void et(t,e,r);s(f.session),d=f.session}null==(n=t.after)||n.call(t,d||f.session),ee(e)}function et(t,e,r){(0,tW.wg)(()=>{t7(t,e,r+1)},10)}function ee(t){a=void 0;let e=t9.shift();e&&t7(e,t)}let er="_DD_SESSION";function en(){let t=(0,S.VZ)();return t[er]||(t[er]={}),(0,tf.yG)(t[er])}function ei(t){(0,S.VZ)()[er]=(0,tf.yG)(t)}let eo=w.OY;function ea(t){let e=(0,th.P)(t);return"string"===e||"function"===e||t instanceof RegExp}function es(t,e,r=!1){return t.some(t=>{try{if("function"==typeof t)return t(e);if(t instanceof RegExp)return t.lastIndex=0,t.test(e);if("string"==typeof t)return r?e.startsWith(t):t===e}catch(t){K.Vy.error(t)}return!1})}let eu=["chrome-extension://","moz-extension://"];function ec(t){return eu.some(e=>t.includes(e))}var el=r(6921);function ef(t,e,r){let n=function(t,e){let r=`/api/v2/${e}`,n=t.proxy;if("string"==typeof n){let t=(0,tA.l2)(n);return e=>`${t}?ddforward=${encodeURIComponent(`${r}?${e}`)}`}if("function"==typeof n)return t=>n({path:r,parameters:t});let i=ed(e,t);return t=>`https://${i}${r}?${t}`}(t,e);return{build:(i,o)=>n(function({clientToken:t,internalAnalyticsSubdomain:e,source:r="browser"},n,i,{retry:o,encoding:a},s=[]){let u=[`ddsource=${r}`,`dd-api-key=${t}`,`dd-evp-origin-version=${encodeURIComponent("6.33.0")}`,"dd-evp-origin=browser",`dd-request-id=${q()}`].concat(s);return a&&u.push(`dd-evp-encoding=${a}`),"rum"===n&&(u.push(`batch_time=${(0,w.nx)()}`,`_dd.api=${i}`),o&&u.push(`_dd.retry_count=${o.count}`,`_dd.retry_after=${o.lastFailureStatus}`)),e&&u.reverse(),u.join("&")}(t,e,i,o,r)),trackType:e}}function ed(t,e){let{site:r=el.NW,internalAnalyticsSubdomain:n}=e;if("logs"===t&&e.usePciIntake&&r===el.NW)return el.$A;if(n&&r===el.NW)return`${n}.${el.NW}`;if(r===el.TC)return`http-intake.logs.${r}`;let i=r.split("."),o=i.pop();return`browser-intake-${i.join("-")}.${o}`}let ep={ALLOW:"allow",MASK:"mask",MASK_USER_INPUT:"mask-user-input",MASK_UNLESS_ALLOWLISTED:"mask-unless-allowlisted"},eh={ALL:"all",SAMPLED:"sampled"};function ey(t,e){return null==t||"string"==typeof t||(K.Vy.error(`${e} must be defined as a string`),!1)}function eg(t,e){return void 0===t||!!(0,tq.fp)(t)||(K.Vy.error(`${e} Sample Rate should be a number between 0 and 100`),!1)}let em=["tracecontext","datadog"],ev=["cache-control","etag","age","expires","content-type","content-encoding","vary","content-length","server-timing","x-cache"];function eb(t){return ea(t)?{match:t,propagatorTypes:em}:(0,th.O)(t)&&ea(t.match)&&(null===t.propagatorTypes||void 0===t.propagatorTypes||Array.isArray(t.propagatorTypes))?{match:t.match,propagatorTypes:t.propagatorTypes||em}:void 0}let e_=["request","response","any"];var ew=r(3931);function ex(t,e){e.lastIndex=0;let r=e.exec(t);if(!r)return;let[n,i]=r;return i||n}let eS=/[a-zA-Z_$]/,eA=/[a-zA-Z0-9_$]/,eE=/[0-9]/,eT=/[a-fA-F0-9]/,ek={0:()=>!1,1:()=>!1,2:t=>eS.test(t),3:t=>eA.test(t),4:t=>"."===t,5:t=>"["===t,6:t=>"]"===t,7:t=>eE.test(t),8:t=>"'\"".includes(t),9:(t,e)=>t===e.quote,10:()=>!0,11:t=>"\\"===t,12:(t,e)=>void 0===e.escapeSequence?`${e.quote}/\\bfnrtu`.includes(t):!!e.escapeSequence.startsWith("u")&&e.escapeSequence.length<5&&eT.test(t)},eO={0:[2,5],1:[],2:[3,4,5,1],3:[3,4,5,1],4:[2],5:[8,7],6:[4,5,1],7:[7,6],8:[11,9,10],9:[6],10:[11,9,10],11:[12],12:[12,11,9,10]},eR=[2,3,7,10],eI=[4,5,6],eC={'"':'"',"'":"'","/":"/","\\":"\\",b:"\b",f:"\f",n:"\n",r:"\r",t:" "},eN=["applicationId","service","env","version","sessionSampleRate","sessionReplaySampleRate","defaultPrivacyLevel","enablePrivacyForActionName","traceSampleRate","trackSessionAcrossSubdomains","allowedTracingUrls","allowedTrackingOrigins"];async function eP(t,e){let r,n,i=(r={fetch:{}},{get:()=>r,increment:(t,e)=>{r[t]||(r[t]={}),r[t][e]||(r[t][e]=0),r[t][e]=r[t][e]+1}}),o=await eU(t);return o.ok?(i.increment("fetch","success"),n=function(t,e,r,n){let i={...t};return eN.forEach(t=>{t in e&&(i[t]=o(e[t]))}),Object.keys(r).forEach(t=>{var n;void 0!==e[t]&&(n=r[t],e[t].forEach(({key:t,value:e})=>{n.setContextProperty(t,o(e))}))}),i;function o(t){if(Array.isArray(t))return t.map(o);if((0,th.O)(t)){if("rcSerializedType"in t){let r=t.rcSerializedType;switch(r){case"string":return t.value;case"regex":return ej(t.value);case"dynamic":var e=t;let i,o=e.strategy;switch(o){case"cookie":i=function({name:t}){let e=tN(t);return n.increment("cookie",void 0!==e?"success":"missing"),e}(e);break;case"dom":i=function({selector:t,attribute:e}){var r,i;let o;try{o=document.querySelector(t)}catch(e){K.Vy.error(`Invalid selector in the remote configuration: '${t}'`),n.increment("dom","failure");return}if(!o)return void n.increment("dom","missing");if(r=o,i=e,"password"===r.getAttribute("type")&&"value"===i){K.Vy.error(`Forbidden element selected by the remote configuration: '${t}'`),n.increment("dom","failure");return}let a=void 0!==e?o.getAttribute(e):o.textContent;return null===a?void n.increment("dom","missing"):(n.increment("dom","success"),a)}(e);break;case"js":i=function({path:t}){let e=window,r=function(t){let e,r=[],n=0,i={quote:void 0,escapeSequence:void 0},o="";for(let u of t){if(!(e=eO[n].find(t=>ek[t](u,i))))return[];if(void 0!==i.escapeSequence&&12!==e){var a,s;if(a=i.escapeSequence,!("\"'/\\bfnrt".includes(a)||a.startsWith("u")&&5===a.length))return[];o+=(s=i.escapeSequence).startsWith("u")?String.fromCharCode(parseInt(s.slice(1),16)):eC[s],i.escapeSequence=void 0}eR.includes(e)?o+=u:eI.includes(e)&&""!==o?(r.push(o),o=""):12===e?i.escapeSequence=i.escapeSequence?`${i.escapeSequence}${u}`:u:8===e?i.quote=u:9===e&&(i.quote=void 0),n=e}return eO[n].includes(1)?(""!==o&&r.push(o),r):[]}(t);if(0===r.length){K.Vy.error(`Invalid JSON path in the remote configuration: '${t}'`),n.increment("js","failure");return}for(let i of r){if(!(i in e))return void n.increment("js","missing");try{e=e[i]}catch(e){K.Vy.error(`Error accessing: '${t}'`,e),n.increment("js","failure");return}}return n.increment("js","success"),e}(e);break;case"localStorage":i=function({key:t}){let e;try{e=localStorage.getItem(t)}catch(t){n.increment("localStorage","failure");return}return n.increment("localStorage",null!==e?"success":"missing"),null!=e?e:void 0}(e);break;default:K.Vy.error(`Unsupported remote configuration: "strategy": "${o}"`);return}let a=e.extractor;return void 0!==a&&"string"==typeof i?function(t,e){let r=ej(t.value);if(void 0!==r)return ex(e,r)}(a,i):i;default:K.Vy.error(`Unsupported remote configuration: "rcSerializedType": "${r}"`);return}}return(0,tf.LG)(t,o)}return t}}(t,o.value,e,i)):(i.increment("fetch","failure"),K.Vy.error(o.error)),(0,I.Gk)("remote configuration metrics",{metrics:i.get()}),n}function ej(t){try{return new RegExp(t)}catch(e){K.Vy.error(`Invalid regex in the remote configuration: '${t}'`)}}async function eU(t){let e;try{var r;e=await (0,ew.h)((r=t).remoteConfigurationProxy?r.remoteConfigurationProxy:`https://sdk-configuration.${ed("rum",r)}/v1/${encodeURIComponent(r.remoteConfigurationId)}.json`)}catch(t){e=void 0}if(!e||!e.ok)return{ok:!1,error:Error("Error fetching the remote configuration.")};let n=await e.json();return n.rum?{ok:!0,value:n.rum}:{ok:!1,error:Error("No remote configuration for RUM.")}}function eL(t,e,r){t.changeObservable.subscribe(()=>{let n=t.getContext();r.add(t=>t[e].setContext(n))})}var eM=r(1552),eD=r(8558);let eB="_dd_tab_id";var e$=r(3577);function eF(){let t,e=window;if(e.Zone&&(t=(0,e$.W)(e,"MutationObserver"),e.MutationObserver&&t===e.MutationObserver)){let r=new e.MutationObserver(tS.l),n=(0,e$.W)(r,"originalInstance");
4t=n&&n.constructor}return t||(t=e.MutationObserver),t}let eV=class{constructor(){this.callbacks={}}notify(t,e){let r=this.callbacks[t];r&&r.forEach(t=>t(e))}subscribe(t,e){return this.callbacks[t]||(this.callbacks[t]=[]),this.callbacks[t].push(e),{unsubscribe:()=>{this.callbacks[t]=this.callbacks[t].filter(t=>e!==t)}}}};var ez=r(7661);let eq=tK.AQ,eW=new WeakMap;function eG({target:t,parameters:[e,r]}){eW.set(t,{state:"open",method:String(e).toUpperCase(),url:(0,tA.l2)(String(r))})}function eH({target:t}){let e=eW.get(t);e&&(e.isAborted=!0)}let eK="fetch",eZ="other",eJ="initial_document",eQ=[["document",t=>eJ===t],["xhr",t=>"xmlhttprequest"===t],[eK,t=>"fetch"===t],["beacon",t=>"beacon"===t],["css",(t,e)=>/\.css$/i.test(e)],["js",(t,e)=>/\.js$/i.test(e)],["image",(t,e)=>["image","img","icon"].includes(t)||null!==/\.(gif|jpg|jpeg|tiff|png|svg|ico)$/i.exec(e)],["font",(t,e)=>null!==/\.(woff|eot|woff2|ttf)$/i.exec(e)],["media",(t,e)=>["audio","video"].includes(t)||null!==/\.(mp3|mp4)$/i.exec(e)]];function eY(...t){for(let e=1;e<t.length;e+=1)if(t[e-1]>t[e])return!1;return!0}function eX(t){return"xmlhttprequest"===t.initiatorType||"fetch"===t.initiatorType}function e0(t){return t.duration>=0}function e1(t){var e;let r=eY(t.startTime,t.fetchStart,t.domainLookupStart,t.domainLookupEnd,t.connectStart,t.connectEnd,t.requestStart,t.responseStart,t.responseEnd),n=!((e=t).redirectEnd>e.startTime)||eY(t.startTime,t.redirectStart,t.redirectEnd,t.fetchStart);return r&&n}function e2(t,e,r){if(t<=e&&e<=r)return{duration:(0,w.Zj)((0,w.vk)(e,r)),start:(0,w.Zj)((0,w.vk)(t,e))}}function e3(t){return t&&(!el.Ih.every(e=>t.includes(e))||(0,j.sr)(j.R9.TRACK_INTAKE_REQUESTS))}let e6=/data:(.+)?(;base64)?,/g;function e5(t,e=24e3){if(t.length<=e||!t.startsWith("data:"))return t;let r=t.substring(0,100).match(e6);return r?`${r[0]}[...]`:t}let e8=new Map;function e4(t,e){var r,n;let i,o,a;if(100===e)return!0;if(0===e)return!1;let s=e8.get(e);return s&&t===s.sessionId?s.decision:(i=window.BigInt?(r=BigInt(`0x${t.split("-")[4]}`),n=e,o=BigInt("1111111111111111111"),Number(r*o%(a=BigInt("0x10000000000000000")))<=n/100*Number(a)):(0,tq.ic)(e),e8.set(e,{sessionId:t,decision:i}),i)}function e9(t){let e=crypto.getRandomValues(new Uint32Array(2));return 63===t&&(e[e.length-1]>>>=1),{toString(t=10){let r=e[1],n=e[0],i="";do{let e=r%t*0x100000000+n;r=Math.floor(r/t),n=Math.floor(e/t),i=(e%t).toString(t)+i}while(r||n);return i}}}function e7(t){return t.toString(16).padStart(16,"0")}function rt(t){0!==t.status||t.isAborted||(t.traceId=void 0,t.spanId=void 0,t.traceSampled=void 0)}function re(t,e,r,n,i,o){let a=r.findTrackedSession();if(!a)return;let s=t.allowedTracingUrls.find(t=>es([t.match],e.url,!0));if(!s)return;let u=e4(a.id,t.traceSampleRate);(u||t.traceContextInjection===eh.ALL)&&(e.traceSampled=u,e.traceId=e9(64),e.spanId=e9(63),o(function(t,e,r,n,i,o,a,s){let u={};if(i.forEach(n=>{switch(n){case"datadog":Object.assign(u,{"x-datadog-origin":"rum","x-datadog-parent-id":e.toString(),"x-datadog-sampling-priority":r?"1":"0","x-datadog-trace-id":t.toString()});break;case"tracecontext":Object.assign(u,{traceparent:`00-0000000000000000${e7(t)}-${e7(e)}-0${r?"1":"0"}`,tracestate:`dd=s:${r?"1":"0"};o:rum`});break;case"b3":Object.assign(u,{b3:`${e7(t)}-${e7(e)}-${r?"1":"0"}`});break;case"b3multi":Object.assign(u,{"X-B3-TraceId":e7(t),"X-B3-SpanId":e7(e),"X-B3-Sampled":r?"1":"0"})}}),s.propagateTraceBaggage){let t={"session.id":n},e=o.getContext().id;"string"==typeof e&&(t["user.id"]=e);let r=a.getContext().id;"string"==typeof r&&(t["account.id"]=r);let i=Object.entries(t).map(([t,e])=>`${t}=${encodeURIComponent(e)}`).join(",");i&&(u.baggage=i)}return u}(e.traceId,e.spanId,e.traceSampled,a.id,s.propagatorTypes,n,i,t)))}function rr(t,e){return e.allowedGraphQlUrls.find(e=>es([e.match],t))}let rn=1;function ri(){let t=rn;return rn+=1,t}function ro(t){return(0,tq.Et)(t)&&t<0?void 0:t}function ra(t){return t.nodeType===Node.TEXT_NODE}function rs(t){return t.nodeType===Node.ELEMENT_NODE}function ru(t){return rs(t)&&!!t.shadowRoot}function rc(t){return!!t.host&&t.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&rs(t.host)}function rl(t){return t.childNodes.length>0||ru(t)}function rf(t,e){let r=t.firstChild;for(;r;)e(r),r=r.nextSibling;ru(t)&&e(t.shadowRoot)}function rd(t){return rc(t)?t.host:t.parentNode}function rp(t){if(t.parentElement)return t.parentElement;let e=t.parentNode;return e&&rc(e)?e.host:null}function rh(t,e){return new m.cP(r=>{var n;let i,o;if(!window.PerformanceObserver)return;let a=t=>{let e=t.filter(t=>{var e;return!((e=t).entryType===g.RESOURCE&&(!e3(e.name)||!e0(e)))});e.length>0&&r.notify(e)},s=!0,u=new PerformanceObserver((0,R.dm)(t=>{s?i=(0,tW.wg)(()=>a(t.getEntries())):a(t.getEntries())}));try{u.observe(e)}catch(t){if([g.RESOURCE,g.NAVIGATION,g.LONG_TASK,g.PAINT].includes(e.type)){e.buffered&&(i=(0,tW.wg)(()=>a(performance.getEntriesByType(e.type))));try{u.observe({entryTypes:[e.type]})}catch(t){return}}}return s=!1,n=t,!c&&void 0!==window.performance&&"getEntries"in performance&&"addEventListener"in performance&&(c=(0,tl.q)(n,performance,"resourcetimingbufferfull",()=>{performance.clearResourceTimings()})),ry(g.FIRST_INPUT)||e.type!==g.FIRST_INPUT||({stop:o}=function(t,e){let r=(0,w.x3)(),n=!1,{stop:i}=(0,tl.l)(t,window,["click","mousedown","keydown","touchstart","pointerdown"],e=>{var r,n;if(!e.cancelable)return;let i={entryType:"first-input",processingStart:(0,w.$S)(),processingEnd:(0,w.$S)(),startTime:e.timeStamp,duration:0,name:"",cancelable:!1,target:null,interactionId:0,toJSON:()=>({})};"pointerdown"===e.type?(r=t,n=i,(0,tl.l)(r,window,["pointerup","pointercancel"],t=>{"pointerup"===t.type&&o(n)},{once:!0})):o(i)},{passive:!0,capture:!0});return{stop:i};function o(t){if(!n){n=!0,i();let o=t.processingStart-t.startTime;o>=0&&o<(0,w.x3)()-r&&e(t)}
4}}(t,t=>{a([t])})),()=>{u.disconnect(),o&&o(),(0,tW.DJ)(i)}})}function ry(t){return window.PerformanceObserver&&void 0!==PerformanceObserver.supportedEntryTypes&&PerformanceObserver.supportedEntryTypes.includes(t)}(y=g||(g={})).EVENT="event",y.FIRST_INPUT="first-input",y.LARGEST_CONTENTFUL_PAINT="largest-contentful-paint",y.LAYOUT_SHIFT="layout-shift",y.LONG_TASK="longtask",y.LONG_ANIMATION_FRAME="long-animation-frame",y.NAVIGATION="navigation",y.PAINT="paint",y.RESOURCE="resource",y.VISIBILITY_STATE="visibility-state";let rg="data-dd-excluded-activity-mutations";function rm(t,e,r,n,i,o){let a,s=(0,b.B)(rv)(t,e,r,n),u=!1,c=(0,tW.wg)((0,R.dm)(()=>p({hadActivity:!1})),100),l=void 0!==o?(0,tW.wg)((0,R.dm)(()=>p({hadActivity:!0,end:(0,w.nx)()})),o):void 0,f=s.subscribe(({isBusy:t})=>{(0,tW.DJ)(c),(0,tW.DJ)(a);let e=(0,w.nx)();t||(a=(0,tW.wg)((0,R.dm)(()=>p({hadActivity:!0,end:e})),100))}),d=()=>{u=!0,(0,tW.DJ)(c),(0,tW.DJ)(a),(0,tW.DJ)(l),f.unsubscribe()};function p(t){u||(d(),i(t))}return{stop:d}}function rv(t,e,r,n){return new m.cP(i=>{let o,a=[],s=0;return a.push(e.subscribe(t=>{t.every(r_)||u()}),r.subscribe(u),rh(n,{type:g.RESOURCE}).subscribe(t=>{t.some(t=>!rb(n,t.name))&&u()}),t.subscribe(7,t=>{rb(n,t.url)||(void 0===o&&(o=t.requestIndex),s+=1,u())}),t.subscribe(8,t=>{rb(n,t.url)||void 0===o||t.requestIndex<o||(s-=1,u())})),()=>{a.forEach(t=>t.unsubscribe())};function u(){i.notify({isBusy:s>0})}})}function rb(t,e){return es(t.excludedActivityUrls,e)}function r_(t){let e="characterData"===t.type?t.target.parentElement:t.target;return!!(e&&rs(e)&&e.matches(`[${rg}], [${rg}] *`))}let rw="data-dd-action-name",rx="Masked Element",rS=[rw,"data-testid","data-test","data-qa","data-cy","data-test-id","data-qa-id","data-testing","data-component","data-element","data-source-file"],rA=[rI,rO],rE=[rI,function(t){if("BODY"===t.tagName)return;let e=t.classList;for(let r=0;r<e.length;r+=1){let n=e[r];if(!rk(n))return`${CSS.escape(t.tagName)}.${CSS.escape(n)}`}},rR];function rT(t,e){if(!t.isConnected)return;let r=function(t){let e=[],r=t;for(;r;){let t=r.getRootNode();if(e.push({rootNode:t,target:r}),rc(t))r=t.host;else break}return e.reverse()}(t),n=[];for(let{rootNode:t,target:i}of r){let r=function(t,e,r){let n,i=t;for(;i&&"HTML"!==i.nodeName;){let t=rP(i,e,rA,rj,r,n);if(t)return rL(t,n);n=rL(rP(i,e,rE,rU,r,n)||function(t){let e=rN(t);return`${CSS.escape(t.tagName)}:nth-of-type(${e})`}(i),n),i=i.parentElement}return n}(i,t,e);if(!r)return;n.push(r)}return n.join("::shadow ")}function rk(t){return/[0-9]/.test(t)}function rO(t){if(t.id&&!rk(t.id))return`#${CSS.escape(t.id)}`}function rR(t){return CSS.escape(t.tagName)}function rI(t,e){if(e){let t=r(e);if(t)return t}for(let t of rS){let e=r(t);if(e)return e}function r(e){if(t.hasAttribute(e))return`${CSS.escape(t.tagName)}${rC(e,t.getAttribute(e))}`}}function rC(t,e){return`[${t}="${CSS.escape(e)}"]`}function rN(t){let e=t.parentNode.firstElementChild,r=1;for(;e&&e!==t;)e.tagName===t.tagName&&(r+=1),e=e.nextElementSibling;return r}function rP(t,e,r,n,i,o){for(let a of r){let r=a(t,i);if(r&&n(t,e,r,o))return r}}function rj(t,e,r,n){return 1===e.querySelectorAll(rL(r,n)).length}function rU(t,e,r,n){let i;if(void 0===n)i=t=>t.matches(r);else{let t=rL(`${r}:scope`,n);i=e=>null!==e.querySelector(t)}let o=t.previousElementSibling;for(;o;){if(i(o))return!1;o=o.previousElementSibling}for(o=t.nextElementSibling;o;){if(i(o))return!1;o=o.nextElementSibling}return!0}function rL(t,e){return e?`${t}>${e}`:t}let rM={IGNORE:"ignore",HIDDEN:"hidden",ALLOW:ep.ALLOW,MASK:ep.MASK,MASK_USER_INPUT:ep.MASK_USER_INPUT,MASK_UNLESS_ALLOWLISTED:ep.MASK_UNLESS_ALLOWLISTED},rD="data-dd-privacy",rB="hidden",r$="***",rF="data:image/gif;base64,R0lGODlhAQABAIAAAMLCwgAAACH5BAAAAAAALAAAAAABAAEAAAICRAEAOw==",rV={INPUT:!0,OUTPUT:!0,TEXTAREA:!0,SELECT:!0,OPTION:!0,DATALIST:!0,OPTGROUP:!0};function rz(t){return`[${rD}="${t}"], .dd-privacy-${t}`}function rq(t,e,r){if(r&&r.has(t))return r.get(t);let n=rd(t),i=n?rq(n,e,r):e,o=rW(rG(t),i);return r&&r.set(t,o),o}function rW(t,e){switch(e){case rM.HIDDEN:case rM.IGNORE:return e}switch(t){case rM.ALLOW:case rM.MASK:case rM.MASK_USER_INPUT:case rM.MASK_UNLESS_ALLOWLISTED:case rM.HIDDEN:case rM.IGNORE:return t;default:return e}}function rG(t){if(rs(t)){if("BASE"===t.tagName)return rM.ALLOW;if("INPUT"===t.tagName){if("password"===t.type||"email"===t.type||"tel"===t.type||"hidden"===t.type)return rM.MASK;let e=t.getAttribute("autocomplete");if(e&&(e.startsWith("cc-")||e.endsWith("-password")))return rM.MASK}if(t.matches(rz(rM.HIDDEN)))return rM.HIDDEN;if(t.matches(rz(rM.MASK)))return rM.MASK;if(t.matches(rz(rM.MASK_UNLESS_ALLOWLISTED)))return rM.MASK_UNLESS_ALLOWLISTED;if(t.matches(rz(rM.MASK_USER_INPUT)))return rM.MASK_USER_INPUT;if(t.matches(rz(rM.ALLOW)))return rM.ALLOW;if(function(t){if("SCRIPT"===t.nodeName)return!0;
4if("LINK"===t.nodeName){let t=e("rel");return/preload|prefetch/i.test(t)&&"script"===e("as")||"shortcut icon"===t||"icon"===t}if("META"===t.nodeName){let r=e("name"),n=e("rel"),i=e("property");return/^msapplication-tile(image|color)$/.test(r)||"application-name"===r||"icon"===n||"apple-touch-icon"===n||"shortcut icon"===n||"keywords"===r||"description"===r||/^(og|twitter|fb):/.test(i)||/^(og|twitter):/.test(r)||"pinterest"===r||"robots"===r||"googlebot"===r||"bingbot"===r||t.hasAttribute("http-equiv")||"author"===r||"generator"===r||"framework"===r||"publisher"===r||"progid"===r||/^article:/.test(i)||/^product:/.test(i)||"google-site-verification"===r||"yandex-verification"===r||"csrf-token"===r||"p:domain_verify"===r||"verify-v1"===r||"verification"===r||"shopify-checkout-api-token"===r}function e(e){return(t.getAttribute(e)||"").toLowerCase()}return!1}(t))return rM.IGNORE}}function rH(t,e){switch(e){case rM.MASK:case rM.HIDDEN:case rM.IGNORE:return!0;case rM.MASK_UNLESS_ALLOWLISTED:if(ra(t))return!!rZ(t.parentNode)||!rY(t.textContent||"");return rZ(t);case rM.MASK_USER_INPUT:return ra(t)?rZ(t.parentNode):rZ(t);default:return!1}}function rK(t,e,r,n,i){if(n!==rM.MASK&&n!==rM.MASK_UNLESS_ALLOWLISTED||e===rD||rS.includes(e)||e===i.actionNameAttribute)return!1;switch(e){case"title":case"alt":case"placeholder":case"aria-label":case"name":return!0}return!!("A"===t&&"href"===e||"IFRAME"===t&&"srcdoc"===e||r&&e.startsWith("data-"))||("IMG"===t||"SOURCE"===t)&&("src"===e||"srcset"===e)}function rZ(t){if(!t||t.nodeType!==t.ELEMENT_NODE)return!1;if("INPUT"===t.tagName)switch(t.type){case"button":case"color":case"reset":case"submit":return!1}return!!rV[t.tagName]}function rJ(t){return t.replace(/\S/g,"x")}function rQ(t,e){var r;let n=null==(r=t.parentElement)?void 0:r.tagName,i=t.textContent||"";if("HEAD"!==n||i.trim()){if("SCRIPT"===n)i=r$;else if(e===rM.HIDDEN)i=r$;else if(rH(t,e))if("DATALIST"===n||"SELECT"===n||"OPTGROUP"===n){if(!i.trim())return}else i="OPTION"===n?r$:rJ(i);return i}}function rY(t){var e;return!(t&&t.trim())||(null==(e=window.$DD_ALLOW)?void 0:e.has(t.toLocaleLowerCase()))||!1}function rX({lifeCycle:t,isChildEvent:e,onChange:r=tS.l}){let n={errorCount:0,longTaskCount:0,resourceCount:0,actionCount:0,frustrationCount:0},i=t.subscribe(13,t=>{var i;if("view"!==t.type&&"vital"!==t.type&&e(t))switch(t.type){case J.ERROR:n.errorCount+=1,r();break;case J.ACTION:n.actionCount+=1,t.action.frustration&&(n.frustrationCount+=t.action.frustration.type.length),r();break;case J.LONG_TASK:n.longTaskCount+=1,r();break;case J.RESOURCE:(null==(i=t._dd)?void 0:i.discarded)||(n.resourceCount+=1,r())}});return{stop:()=>{i.unsubscribe()},eventCounts:n}}let r0=5*w.iW;function r1(t){let e=(0,ez.qj)({expireDelay:r0}),r=new Map;function n(t){var e;r.delete(t.key),null==(e=t.eventCounts)||e.stop()}function i(){r.forEach(t=>{n(t)}),e.reset()}let o=t.subscribe(10,i);return{start:function(i,o,a,s){let u=q(),c=e.add(u,o.relative),l=r.get(i);l&&n(l);let f=(null==s?void 0:s.isChildEvent)?rX({lifeCycle:t,isChildEvent:s.isChildEvent(u)}):void 0,d={id:u,key:i,startClocks:o,data:a,historyEntry:c,eventCounts:f};return r.set(i,d),d},stop:function(t,e,i){var o;let a=r.get(t);if(!a)return;let s=i?(0,N.kg)(a.data,i):a.data;a.historyEntry.close(e.relative);let u=(0,w.vk)(a.startClocks.timeStamp,e.timeStamp),c=null==(o=a.eventCounts)?void 0:o.eventCounts;return n(a),{...s,id:a.id,startClocks:a.startClocks,duration:u,counts:c}},discard:function(t){var e;let i=r.get(t);if(!i)return;let o=null==(e=i.eventCounts)?void 0:e.eventCounts;return n(i),i.historyEntry.remove(),{...i.data,id:i.id,startClocks:i.startClocks,counts:o}},getCounts:function(t){var e,n;return null==(n=null==(e=r.get(t))?void 0:e.eventCounts)?void 0:n.eventCounts},findId:function(t){return e.findAll(t)},stopAll:function(){o.unsubscribe(),i(),e.stop()}}}let r2=["HTML","BODY"],r3=rS.concat(["role","type","disabled","readonly","tabindex","draggable","target","rel","download","method","action","enctype","autocomplete"]),r6=w.OY;function r5(t,e){let r=function(t,e){let r=t;for(;r;){if(r.matches(e))return r;r=rp(r)}return null}(t,`[${e}]`);if(r)return nt(r7(r.getAttribute(e).trim()))}let r8=[(t,e,r)=>{if("labels"in t&&t.labels&&t.labels.length>0)return nr(t.labels[0],e,r)},t=>{if("INPUT"===t.nodeName){let e=t.getAttribute("type");if("button"===e||"submit"===e||"reset"===e)return{name:t.value,nameSource:"text_content"}}},(t,e,r)=>{if("BUTTON"===t.nodeName||"LABEL"===t.nodeName||"button"===t.getAttribute("role"))return nr(t,e,r)},(t,e,r)=>ne(t,"aria-label",e,r),(t,e,r)=>{let n=t.getAttribute("aria-labelledby");if(n)return{name:n.split(/\s+/).map(e=>(function(t,e){let r=t.getRootNode();if(r instanceof ShadowRoot){let t=r.getElementById(e);if(t)return t}return t.ownerDocument?t.ownerDocument.getElementById(e):null})(t,e)).filter(t=>!!t).map(t=>nn(t,e,r)).join(" "),nameSource:"text_content"}},(t,e,r)=>ne(t,"alt",e,r),(t,e,r)=>ne(t,"name",e,r),(t,e,r)=>ne(t,"title",e,r),(t,e,r)=>ne(t,"placeholder",e,r),(t,e,r)=>{if("options"in t&&t.options.length>0)return nr(t.options[0],e,r)}],r4=[(t,e,r)=>nr(t,e,r)];function r9(t,e,r,n){let i=t,o=0;for(;o<=10&&i&&"BODY"!==i.nodeName&&"HTML"!==i.nodeName&&"HEAD"!==i.nodeName;){for(let t of e){let e=t(i,r,n);if(e){let{name:t,nameSource:r}=e,n=t&&t.trim();if(n)return{name:nt(r7(n)),nameSource:r}}}if("FORM"===i.nodeName)break;
4i=rp(i),o+=1}}function r7(t){return t.replace(/\s+/g," ")}function nt(t){return t.length>100?`${H(t,100)} [...]`:t}function ne(t,e,r,n){let{enablePrivacyForActionName:i,defaultPrivacyLevel:o}=r,a=t.getAttribute(e);if(a&&i){var s;let i=rq(t,o,n);rK(t.tagName,e,a,i,r)&&(a=rY(s=a)?s:rx||rJ(s))}else a||(a="");return{name:a,nameSource:"standard_attribute"}}function nr(t,e,r){return{name:nn(t,e,r)||"",nameSource:"text_content"}}function nn(t,e,r){if(t.isContentEditable)return;let{enablePrivacyForActionName:n,actionNameAttribute:i,defaultPrivacyLevel:o}=e;if((0,j.sr)(j.R9.USE_TREE_WALKER_FOR_ACTION_NAME)){var a=t,s=i,u=n,c=o,l=r;let e=document.createTreeWalker(a,NodeFilter.SHOW_ELEMENT|NodeFilter.SHOW_TEXT,function(t){let e=rq(t,c,l);if(u&&e&&rH(t,e))return NodeFilter.FILTER_REJECT;if(rs(t)){if(t.hasAttribute(rw)||s&&t.hasAttribute(s))return NodeFilter.FILTER_REJECT;let e=getComputedStyle(t);if("visible"!==e.visibility||"none"===e.display||e.contentVisibility&&"visible"!==e.contentVisibility)return NodeFilter.FILTER_REJECT}return NodeFilter.FILTER_ACCEPT}),f="";for(;e.nextNode();){let t=e.currentNode;if(rs(t)){("BR"===t.nodeName||"P"===t.nodeName||["block","flex","grid","list-item","table","table-caption"].includes(getComputedStyle(t).display))&&(f+=" ");continue}f+=t.textContent||""}return f.replace(/\s+/g," ").trim()}if("innerText"in t){let e=t.innerText,r=r=>{let n=t.querySelectorAll(r);for(let t=0;t<n.length;t+=1){let r=n[t];if("innerText"in r){let t=r.innerText;t&&t.trim().length>0&&(e=e.replace(t,""))}}};return r(`[${rw}]`),i&&r(`[${i}]`),n&&r(`${rz(rM.HIDDEN)}, ${rz(rM.MASK)}`),e}return t.textContent}function ni(){let t=window.getSelection();return!t||t.isCollapsed}function no(t){return t.target instanceof Element&&!1!==t.isPrimary}function na(t){if(t.hasPageActivity||t.getUserActivity().input||t.getUserActivity().scroll)return!1;let e=t.event.target;return"LABEL"===e.tagName&&e.hasAttribute("for")&&(e=document.getElementById(e.getAttribute("for"))),!e||!e.matches('input:not([type="checkbox"]):not([type="radio"]):not([type="button"]):not([type="submit"]):not([type="reset"]):not([type="range"]),textarea,select,[contenteditable],[contenteditable] *,canvas,a[href],a[href] *')}let ns=10*w.OY,nu=new Map;function nc(t,e){nu.set(t,e),nu.forEach((t,e)=>{(0,w.vk)(e,(0,w.$S)())>ns&&nu.delete(e)})}function nl(t){return e=>void 0!==e.action&&void 0!==e.action.id&&e.action.id.includes(t)}function nf(t){if(t.composed&&ru(t.target)&&"function"==typeof t.composedPath){let e=t.composedPath();if(e.length>0&&e[0]instanceof Element)return e[0]}return t.target}function nd(t){var e,r,n,i;let o="events"in t,a=ro((0,w.Zj)(t.duration));return{rawRumEvent:{type:J.ACTION,date:t.startClocks.timeStamp,action:{id:t.id,target:{name:t.name},type:t.type,...void 0!==a&&{loading_time:a},...t.counts&&{error:{count:t.counts.errorCount},long_task:{count:t.counts.longTaskCount},resource:{count:t.counts.resourceCount}},frustration:{type:t.frustrationTypes}},...o?{_dd:{action:{target:{selector:(null==(e=t.target)?void 0:e.selector)||void 0,width:(null==(r=t.target)?void 0:r.width)||void 0,height:(null==(n=t.target)?void 0:n.height)||void 0,composed_path_selector:null==(i=t.target)?void 0:i.composedPathSelector},position:t.position,name_source:t.nameSource}}}:{context:t.context}},duration:t.duration,startClocks:t.startClocks,domainContext:o?{events:t.events}:{handlingStack:t.handlingStack}}}var np=r(9757);let nh={},ny="csp_violation";function ng(t){return{startClocks:(0,w.M8)(),source:E.g.REPORT,handling:"unhandled",...t}}function nm(t,e,r,n,i){return r?(0,O.Yn)({name:t,message:e,stack:[{func:"?",url:r,line:null!=n?n:void 0,column:null!=i?i:void 0}]}):void 0}var nv=r(8476);let nb=w.OY;function n_(){let t=[];function e(e){let n;if(!e||e.didTimeout){let t=performance.now();n=()=>30-(performance.now()-t)}else n=e.timeRemaining.bind(e);for(;n()>0&&t.length;)t.shift()();t.length&&r()}function r(){(0,nv.BB)(e,{timeout:nb})}return{push(e){1===t.push(e)&&r()},stop(){t.length=0}}}let nw=new WeakSet;function nx(t){return(0,w.Gw)(t.startTime,t.duration)}var nS=r(1099);let nA=2*w.iW;function nE(t,e){let r=e&&Number(e);if(t&&r)return{traceId:t,traceTime:r}}function nT(t){if(t&&t.nodeType===Node.COMMENT_NODE){let e=/^\s*DATADOG;(.*?)\s*$/.exec(t.data);if(e)return e[1]}}function nk(){if(ry(g.NAVIGATION)){let t=performance.getEntriesByType(g.NAVIGATION)[0];if(t)return t}let t=function(){let t={},e=performance.timing;for(let r in e)if((0,tq.Et)(e[r])){let n=e[r];t[r]=0===n?0:(0,w.gs)(n)}return t}(),e={entryType:g.NAVIGATION,initiatorType:"navigation",name:window.location.href,startTime:0,duration:t.loadEventEnd,decodedBodySize:0,encodedBodySize:0,transferSize:0,workerStart:0,toJSON:()=>({...e,toJSON:void 0}),...t};return e}function nO(t){return t.responseStart>=0&&t.responseStart<=(0,w.$S)()?t.responseStart:void 0}function nR(t,e){(0,nS.H)(t,"interactive",()=>{let t=(0,b.B)(nk)(),r=Object.assign(t.toJSON(),{entryType:g.RESOURCE,initiatorType:eJ,duration:t.responseEnd,traceId:function(t){var e;let r,n,i=(r=(e=t).querySelector("meta[name=dd-trace-id]"),n=e.querySelector("meta[name=dd-trace-time]"),nE(r&&r.content,n&&n.content)||function(t){let e=function(t){for(let e=0;e<t.childNodes.length;e+=1){let r=nT(t.childNodes[e]);if(r)return r}if(t.body)for(let e=t.body.childNodes.length-1;e>=0;e-=1){let r=t.body.childNodes[e],n=nT(r);if(n)return n;if(!ra(r))break}}(t);if(e)return nE(G(e,"trace-id"),G(e,"trace-time"))}(t));if(!(!i||i.traceTime<=(0,w.x3)()-nA))return i.traceId}(document),toJSON:()=>({...r,toJSON:void 0})});e(r)})}function nI(t,e,r,n){let i=eX(t)&&n?n.getMatchingRequest(t):void 0;return nC(t,i,r,e)}function nC(t,e,r,n){var i,o,a,s;if(!t&&!e)return;let u=e?function(t,e){if(t.traceSampled&&t.traceId&&t.spanId)return{_dd:{span_id:t.spanId.toString(),trace_id:t.traceId.toString(),rule_psr:e.rulePsr}}}
4(e,n):function(t,e){if(t.traceId)return{_dd:{trace_id:t.traceId,span_id:e9(63).toString(),rule_psr:e.rulePsr}}}(t,n);if(!n.trackResources&&!u)return;let c=t?(0,w.FR)(t.startTime):e.startClocks,l=t?function(t){let{duration:e,startTime:r,responseEnd:n}=t;return 0===e&&r<n?(0,w.vk)(r,n):e}(t):(i=r,o=c,a=e.duration,i.wasInPageStateDuringPeriod("frozen",o.relative,a)?void 0:a),f=(0,j.sr)(j.R9.TRACK_RESOURCE_HEADERS)?function(t,e){let r=e.trackResourceHeaders;if(0===r.length||!t)return;let n=r.filter(e=>void 0===e.url||es([e.url],t.url,!0));if(0===n.length)return;let i=n.filter(t=>void 0===t.location||"any"===t.location||"response"===t.location),o=n.filter(t=>void 0===t.location||"any"===t.location||"request"===t.location),a=i.length>0?function(t,e){if(t.type===eK&&t.response)return nP(t.response.headers,e);if("xhr"===t.type&&t.xhr){let r=t.xhr.getAllResponseHeaders();if(r)try{return nP(new Headers(function(t){let e=[];for(let r of t.trim().split(/\r\n/)){let t=r.indexOf(":");t>0&&e.push([r.substring(0,t).trim(),r.substring(t+1).trim()])}return e}(r)),e)}catch(t){}}}(t,i):void 0,s=o.length>0?function(t,e){var r;let n;if(t.type===eK)return(null==(r=t.init)?void 0:r.headers)?n=new Headers(t.init.headers):t.input instanceof Request&&(n=t.input.headers),n?nP(n,e):void 0}(t,o):void 0;if(a||s)return{resource:{request:s?{headers:s}:void 0,response:a?{headers:a}:void 0}}}(e,n):void 0,d=e&&function(t,e){let r=rr(t.url,e);if(r){let e=function(t,e=!1){var r;let n,i,o,a;if("POST"===t.method?n=function(t){if(!t||"string"!=typeof t)return;let e=(0,tf.XU)(t);if(e)return{query:e.query,operationName:e.operationName,variables:e.variables?JSON.stringify(e.variables):void 0}}(t.requestBody):"GET"===t.method&&(r=t.url,a=(o=(i=(0,tA.c$)(r).searchParams).get("variables"))&&void 0!==(0,tf.XU)(o)?o:void 0,n={query:i.get("query")||void 0,operationName:i.get("operationName")||void 0,variables:a}),n)return function(t,e){let r,n,i;if(t.query){var o;let i=t.query.trim();r=null==(o=i.match(/^\s*(query|mutation|subscription)\b/i))?void 0:o[1],e&&(n=H(i,32768,"..."))}return t.variables&&(i=t.variables),{operationType:r,operationName:t.operationName,variables:i,payload:n}}(n,e)}(t,r.trackPayload);if(e){if(r.trackResponseErrors&&t.responseBody){let r=function(t){let e=(0,tf.XU)(t);if(e&&"object"==typeof e){if((0,tc.EI)(e.errors))return e.errors.map(t=>{var e;return{message:t.message,path:t.path,locations:t.locations,code:null==(e=t.extensions)?void 0:e.code}})}}(t.responseBody);r&&(e.error_count=r.length,e.errors=r)}return e}return}}(e,n),p=t&&function(t){let e=t.contentType;if(e)return{resource:{response:{headers:{"content-type":e}}}}}(t),h=(0,N.kg)({date:c.timeStamp,resource:{id:q(),duration:(0,w.Zj)(l),type:e?"xhr"===e.type?"xhr":eK:function(t){let e=t.name;if(!(0,tA.AY)(e))return eZ;let r=(0,tA.L2)(e);for(let[e,n]of eQ)if(n(t.initiatorType,r))return e;return eZ}(t),method:e?e.method:void 0,status_code:e?e.status:0===(s=t.responseStatus)?void 0:s,url:e?e5(e.url):t.name,protocol:t&&(""===t.nextHopProtocol?void 0:t.nextHopProtocol),delivery_type:t&&(""===t.deliveryType?"other":t.deliveryType),graphql:d},type:J.RESOURCE,_dd:{discarded:!n.trackResources}},u,t&&function(t){let{renderBlockingStatus:e}=t;return{resource:{render_blocking_status:e,...function(t){if(t.startTime<t.responseStart){let{encodedBodySize:e,decodedBodySize:r,transferSize:n}=t;return{size:r,encoded_body_size:e,decoded_body_size:r,transfer_size:n}}return{size:void 0,encoded_body_size:void 0,decoded_body_size:void 0,transfer_size:void 0}}(t),...function(t){if(!e1(t))return;let{startTime:e,fetchStart:r,workerStart:n,redirectStart:i,redirectEnd:o,domainLookupStart:a,domainLookupEnd:s,connectStart:u,secureConnectionStart:c,connectEnd:l,requestStart:f,responseStart:d,responseEnd:p}=t,h={download:e2(e,d,p),first_byte:e2(e,f,d)};return 0<n&&n<r&&(h.worker=e2(e,n,r)),r<l&&(h.connect=e2(e,u,l),u<=c&&c<=l&&(h.ssl=e2(e,c,l))),r<s&&(h.dns=e2(e,a,s)),e<o&&(h.redirect=e2(e,i,o)),h}(t)}}}(t),p,f);return{startClocks:c,duration:l,rawRumEvent:h,domainContext:function(t,e){if(e){let r={performanceEntry:t,isAborted:e.isAborted,handlingStack:e.handlingStack};return"xhr"===e.type?{xhr:e.xhr,...r}:{requestInput:e.input,requestInit:e.init,response:e.response,error:e.error,...r}}return{performanceEntry:t}}(t,e)}}let nN=/(token|cookie|secret|authorization|(api|secret|access|app).?key|(client|connecting|real).?ip|forwarded)/;function nP(t,e){let r={},n=0,i=0,o=!1;return t.forEach((t,a)=>{if(i++,n>=100){o||(K.Vy.warn("Maximum number of headers (100) has been reached. Further headers are dropped."),o=!0);return}let s=a.toLowerCase();if(nN.test(s))return;let u=e.find(t=>es([t.name],s));if(!u)return;let{extractor:c}=u,l=c?ex(t,c):t;void 0!==l&&(l.length>128&&(K.Vy.warn(`Header "${s}" value was truncated from ${l.length} to 128 characters.`),(0,I.A2)("Resource header value was truncated",{header_name:s,original_length:l.length,limit:128})),r[s]=H(l,128),n++)}),o&&(0,I.A2)("Maximum number of resource headers reached",{collectedHeaderCount:n,totalHeaderCount:i}),n>0?r:void 0}let nj=10*w.iW,nU=10*w.iW;function nL(t,e,r=window){if("hidden"===document.visibilityState)return{timeStamp:0,stop:tS.l};if(ry(g.VISIBILITY_STATE)){let t=performance.getEntriesByType(g.VISIBILITY_STATE).filter(t=>"hidden"===t.name).find(t=>t.startTime>=e.relative);if(t)return{timeStamp:t.startTime,stop:tS.l}}let n=1/0,{stop:i}=(0,tl.l)(t,r,["pagehide","visibilitychange"],t=>{("pagehide"===t.type||"hidden"===document.visibilityState)&&(n=t.timeStamp,i())},{capture:!0});return{get timeStamp(){return n},stop:i}}let nM=t=>{var e,r;let n,i,o,a;return t.previousRect.width*t.previousRect.height+t.currentRect.width*t.currentRect.height-(e=t.previousRect,r=t.currentRect,n=Math.max(e.left,r.left),i=Math.max(e.top,r.top),o=Math.min(e.right,r.right),a=Math.min(e.bottom,r.bottom),n>=o||i>=a?0:(o-n)*(a-i))};function nD({x:t,y:e,width:r,height:n}){return{x:t,y:e,width:r,height:n}}let nB=5*w.OY,n$=w.OY,nF=0,nV=1/0,nz=0,nq=()=>l?nF:window.performance.interactionCount||0,nW=+w.iW;function nG(t){return Math.min(t,nW)}
4function nH(){let t=window.visualViewport;return Math.round(t?t.pageLeft-t.offsetLeft:void 0!==window.scrollX?window.scrollX:window.pageXOffset||0)}function nK(){let t=window.visualViewport;return Math.round(t?t.pageTop-t.offsetTop:void 0!==window.scrollY?window.scrollY:window.pageYOffset||0)}function nZ(t){var e;return f||(e=t,f=new m.cP(t=>{let{throttled:r}=(0,tS.n)(()=>{t.notify(nJ())},200);return(0,tl.q)(e,window,"resize",r,{capture:!0,passive:!0}).stop})),f}function nJ(){let t=window.visualViewport;return t?{width:Number(t.width*t.scale),height:Number(t.height*t.scale)}:{width:Number(window.innerWidth||0),height:Number(window.innerHeight||0)}}let nQ=w.OY,nY=5*w.iW,nX=5*w.iW;function n0(t){let e=t.indexOf("?");return e<0?t:t.slice(0,e)}let n1=w.iW,n2=tK.AQ,n3=[];async function n6(t){let e,r,n=t.sessionStoreStrategyType;n&&(n.type===tK.Q_.COOKIE?(e=t3(n.cookieOptions,t),r={cookie:await n5(),currentDomain:`${window.location.protocol}//${window.location.hostname}`}):e=t8(),(0,I.A2)("Unexpected session state",{sessionStoreStrategyType:n.type,session:e,isSyntheticsTest:!!tF(),createdTimestamp:null==e?void 0:e.created,expireTimestamp:null==e?void 0:e.expire,...r}))}async function n5(){let t;return{count:(t="cookieStore"in window?await window.cookieStore.getAll("_dd_s"):document.cookie.split(/\s*;\s*/).filter(t=>t.startsWith("_dd_s"))).length,domain:tj()||"undefined",...t}}var n8=r(7206),n4=r(8856),n9=r(7288);let n7=tK.AQ;function it(t){return Object.prototype.hasOwnProperty.call(history,t)?history:History.prototype}let ie=tK.AQ,ir=10*w.OY;function ii(){0!==d.batchCount&&((0,I.Gk)("Customer data measures",d),is())}function io(){return{min:1/0,max:0,sum:0}}function ia(t,e){t.sum+=e,t.min=Math.min(t.min,e),t.max=Math.max(t.max,e)}function is(){d={batchCount:0,batchBytesCount:io(),batchMessagesCount:io()}}let iu=tK.AQ;function ic(){return"hidden"===document.visibilityState?"hidden":document.hasFocus()?"active":"passive"}let il=w.OY;function id(t,e){let r=G(document.cookie,t),n=(0,tW.yb)(()=>{let n=G(document.cookie,t);n!==r&&(r=n,e(n))},il);return()=>{(0,tW.vG)(n)}}let ip="datadog-ci-visibility-test-execution-id";function ih(t,e,r=3e3){let n=0,i=!1;return{isLimitReached(){if(0===n&&(0,tW.wg)(()=>{n=0},w.iW),(n+=1)<=r||i)return i=!1,!1;if(n===r+1){i=!0;try{e({message:`Reached max number of ${t}s by minute: ${r}`,source:E.g.AGENT,startClocks:(0,w.M8)()})}finally{i=!1}}return!0}}}var iy=r(6332);function ig(t){return"object"===(0,th.P)(t)}let im={"view.name":"string","view.url":"string","view.referrer":"string"},iv={context:"object"},ib={service:"string",version:"string"};var i_=r(6766);let iw=[J.ACTION,J.ERROR,J.LONG_TASK,J.RESOURCE,J.VITAL];function ix(t,e,r,n,i,o,a,c,f,y,v){var S,T;let k,C,U=[],L=new eV;L.subscribe(13,t=>(0,eM.b)("rum",t));let M=t=>{L.notify(14,{error:t}),(0,I.A2)("Error reported to customer",{"error.message":t.message})},D=(0,eD._T)(t),B=(0,tx.d0)()?(k={id:"00000000-aaaa-0000-aaaa-000000000000",sessionReplay:+!!(0,tx.Ww)("records")},{findTrackedSession:()=>k,expire:tS.l,expireObservable:new m.cP,setForcedReplay:tS.l}):((C=function(t,e,r,n){let i=new m.cP,o=new m.cP,a=function(t,e,r,n,i=function(t,e){return t.type===tK.Q_.COOKIE?function(t,e){let r={isLockEnabled:(0,tG.F2)(),persistSession:r=>t2(e,t,r,tK.HB),retrieveSession:()=>t3(e,t),expireSession:r=>t2(e,t,tJ(r,t),tK.AQ)};if(!tP("_dd_s")){let t=tP("_dd"),e=tP("_dd_r"),n=tP("_dd_l"),i={};t&&(i.id=t),n&&/^[01]$/.test(n)&&(i.logs=n),e&&/^[012]$/.test(e)&&(i.rum=e),tQ(i)||(tX(i),r.persistSession(i))}return r}(e,t.cookieOptions):t.type===tK.Q_.LOCAL_STORAGE?{isLockEnabled:!1,persistSession:t5,retrieveSession:t8,expireSession:t=>(function(t,e){t5(tJ(t,e))})(t,e)}:{expireSession:t=>(function(t,e){ei(tJ(t,e))})(t,e),isLockEnabled:!1,persistSession:ei,retrieveSession:en}}(t,e)){let o,a=new m.cP,s=new m.cP,u=new m.cP,c=(0,tW.yb)(function(){let t=i.retrieveSession();tY(t)?t7({process:t=>tY(t)?tJ(t,e):void 0,after:d},i):d(t)},eo);p();let{throttled:l,cancel:f}=(0,tS.n)(()=>{t7({process:t=>{if(tQ(t))return;let r=d(t);return function(t){if(tQ(t))return;let r=n(t.rum);t.rum=r,delete t.isExpired,r===tK.gB||t.id||(t.id=q(),t.created=String((0,w.x3)())),e.trackAnonymousUser&&!t.anonymousId&&(t.anonymousId=q())}(r),r},after:t=>{tQ(t)||h()||(o=t,a.notify()),o=t}},i)},eo);function d(t){var r;return tY(t)&&(t=tJ(t,e)),h()&&((r=t,o.id!==r.id||o.rum!==r.rum)?(o=tJ(o,e),s.notify()):(u.n
4otify({previousState:o,newState:t}),o=t)),t}function p(){t7({process:t=>{if(tQ(t))return t.anonymousId=q(),tJ(t,e)},after:t=>{o=t}},i)}function h(){return(null==o?void 0:o.rum)!==void 0}return{expandOrRenewSession:l,expandSession:function(){t7({process:t=>h()?d(t):void 0},i)},getSession:()=>o,renewObservable:a,expireObservable:s,sessionStateUpdateObservable:u,restartSession:p,expire:t=>{f(),!1===t&&o&&delete o.anonymousId,i.expireSession(o),d(tJ(o,e))},stop:()=>{(0,tW.vG)(c)},updateSessionState:function(t){t7({process:e=>({...e,...t}),after:d},i)}}}(t.sessionStoreStrategyType,t,"rum",r);n3.push(()=>a.stop());let s=(0,ez.qj)({expireDelay:n2});function u(){let e=a.getSession();return e?{id:e.id,trackingType:e.rum,isReplayForced:!!e.forcedReplay,anonymousId:e.anonymousId}:(n6(t).catch(()=>void 0),{id:"invalid",trackingType:tK.gB,isReplayForced:!1,anonymousId:void 0})}return n3.push(()=>s.stop()),a.renewObservable.subscribe(()=>{s.add(u(),(0,w.$S)()),i.notify()}),a.expireObservable.subscribe(()=>{o.notify(),s.closeActive((0,w.$S)())}),a.expandOrRenewSession(),s.add(u(),(0,w.Oc)().relative),n.observable.subscribe(()=>{n.isGranted()?a.expandOrRenewSession():a.expire(!1)}),function(t,e){let{stop:r}=(0,tl.l)(t,window,["click","touchstart","keydown","scroll"],e,{capture:!0,passive:!0});n3.push(r)}(t,()=>{n.isGranted()&&a.expandOrRenewSession()}),function(t,e){let r=()=>{"visible"===document.visibilityState&&e()},{stop:n}=(0,tl.q)(t,document,"visibilitychange",r);n3.push(n);let i=(0,tW.yb)(r,n1);n3.push(()=>{(0,tW.vG)(i)})}(t,()=>a.expandSession()),function(t,e){let{stop:r}=(0,tl.q)(t,window,"resume",e,{capture:!0});n3.push(r)}(t,()=>a.restartSession()),{findSession:(t,e)=>s.find(t,e),renewObservable:i,expireObservable:o,sessionStateUpdateObservable:a.sessionStateUpdateObservable,expire:a.expire,updateSessionState:a.updateSessionState}}(t,0,e=>{var r,n,i;return r=t,"0"===(i=n=e)||"1"===i||"2"===i?n:(0,tq.ic)(r.sessionSampleRate)?(0,tq.ic)(r.sessionReplaySampleRate)?"1":"2":"0"},o)).expireObservable.subscribe(()=>{L.notify(9)}),C.renewObservable.subscribe(()=>{L.notify(10)}),C.sessionStateUpdateObservable.subscribe(({previousState:t,newState:e})=>{if(!t.forcedReplay&&e.forcedReplay){let t=C.findSession();t&&(t.isReplayForced=!0)}}),{findTrackedSession:t=>{let e=C.findSession(t);if(e&&"0"!==e.trackingType)return{id:e.id,sessionReplay:"1"===e.trackingType?1:2*!!e.isReplayForced,anonymousId:e.anonymousId}},expire:C.expire,expireObservable:C.expireObservable,setForcedReplay:()=>C.updateSessionState({forcedReplay:"1"})});if((0,tx.d0)()){let t;t=(0,tx.Y9)(),L.subscribe(13,e=>{t.send("rum",e)});let e=D.subscribe(t=>{L.notify(11,t)});U.push(()=>e.unsubscribe())}else{let e,r,n=(S=B.expireObservable,e=[t.rumEndpointBuilder],t.replica&&e.push(t.replica.rumEndpointBuilder),r=(0,n8.X)({encoder:i(2),request:(0,n4.sA)(e,M),flushController:(0,n9.tO)({pageMayExitObservable:D,sessionExpireObservable:S})}),L.subscribe(13,t=>{t.type===J.VIEW?r.upsert(t,t.view.id):r.add(t)}),r),o=n.flushController.preparePageExitFlushObservable.subscribe(t=>{L.notify(11,{reason:t})});U.push(()=>o.unsubscribe()),U.push(()=>n.stop()),T=n.flushController.flushObservable,f.metricsEnabled&&(is(),p=!1,L.subscribe(13,()=>{p=!0}),T.subscribe(({bytesCount:t,messagesCount:e})=>{p&&(p=!1,d.batchCount+=1,ia(d.batchBytesCount,t),ia(d.batchMessagesCount,e))}),(0,tW.yb)(ii,ir))}y.register(1,()=>o.isGranted()?tb.$O:tb.ug);let{stop:$}=function(t,e){if(!e.metricsEnabled)return{stop:tS.l};let{unsubscribe:r}=t.subscribe(4,({initialViewMetrics:t})=>{var e,n;t.largestContentfulPaint&&t.navigationTimings&&((0,I.Gk)("Initial view metrics",{metrics:(e=t.largestContentfulPaint,n=t.navigationTimings,{lcp:{value:e.value},navigation:{domComplete:n.domComplete,domContentLoaded:n.domContentLoaded,domInteractive:n.domInteractive,firstByte:n.firstByte,loadEvent:n.loadEvent}})}),r())});return{stop:r}}(L,f);U.push($);let{stop:F,...V}=function(t,e,r,n,i,o,a,c,f,d){var p,y,v,S,T,k,C,U,L,M,D;let B,$,F,V,z,W,G,Z,ti,tu,tc,td,ty,tg,tE,tT,tk,tO,tI=[],tC=($=eF(),new m.cP(t=>{if(!$)return;let e=new $((0,R.dm)(e=>t.notify(e)));return e.observe(document,{attributes:!0,characterData:!0,childList:!0,subtree:!0}),()=>e.disconnect()})),tN=(F=(0,tf.yG)(location),new m.cP(t=>{var e,n;let{stop:i}=function(t,e){let{stop:r}=(0,_.H)(it("pushState"),"pushState",({onPostCall:t})=>{t(e)}),{stop:n}=(0,_.H)(it("replaceState"),"replaceState",({onPostCall:t})=>{t(e)}),{stop:i}=(0,tl.q)(t,window,"popstate",e);return{stop:()=>{r(),n(),i()}}}(r,a),{stop:o}=(e=r,n=a,(0,tl.q)(e,window,"hashchange",n));function a(){if(F.href===location.href)return;let e=(0,tf.yG)(location);t.notify({newLocation:e,oldLocation:F}),F=e}return()=>{i(),o()}})),{observable:tj,stop:tU}=function(){let t=new m.cP,{stop:e}=(0,_.H)(window,"open",()=>t.notify());return{observable:t,stop:e}}();tI.push(tU),e.register(0,({eventType:t})=>{let e=r.source;return{type:t,_dd:{format_version:2,drift:(0,w.TP)(),configuration:{session_sample_rate:(0,tq.LI)(r.
4sessionSampleRate,3),session_replay_sample_rate:(0,tq.LI)(r.sessionReplaySampleRate,3),profiling_sample_rate:(0,tq.LI)(r.profilingSampleRate,3),trace_sample_rate:(0,tq.LI)(r.traceSampleRate,3),beta_encode_cookie_options:r.betaEncodeCookieOptions},browser_sdk_version:(0,tx.d0)()?"6.33.0":void 0,sdk_name:f},application:{id:r.applicationId},date:(0,w.nx)(),source:e}}),e.register(1,()=>({application:{id:r.applicationId}}));let tL=function(t,e,r=500){let n,i=(0,ez.qj)({expireDelay:iu,maxEntries:4e3});ry(g.VISIBILITY_STATE)&&performance.getEntriesByType(g.VISIBILITY_STATE).forEach(t=>{a("hidden"===t.name?"hidden":"active",t.startTime)}),a(ic(),(0,w.$S)());let{stop:o}=(0,tl.l)(e,window,["pageshow","focus","blur","visibilitychange","resume","freeze","pagehide"],t=>{var e;a("freeze"===(e=t).type?"frozen":"pagehide"===e.type?e.persisted?"frozen":"terminated":ic(),t.timeStamp)},{capture:!0});function a(t,e=(0,w.$S)()){t!==n&&(n=t,i.closeActive(e),i.add({state:n,startTime:e},e))}function s(t,e,r){return i.findAll(e,r).some(e=>e.state===t)}return t.register(0,({startTime:t,duration:e=0,eventType:n})=>n===J.VIEW?{type:n,_dd:{page_states:function(t,e,r){if(0!==t.length)return t.slice(-r).reverse().map(({state:t,startTime:r})=>({state:t,start:(0,w.Zj)((0,w.vk)(e,r))}))}(i.findAll(t,e),t,r)}}:n===J.ACTION||n===J.ERROR?{type:n,view:{in_foreground:s("active",t,0)}}:tb.$O),{wasInPageStateDuringPeriod:s,addPageState:a,stop:()=>{o(),i.stop()}}}(e,r);tI.push(()=>tL.stop());let tM=(V=(0,ez.qj)({expireDelay:eq}),t.subscribe(1,t=>{var e;V.add({service:(e=t).service,version:e.version,context:e.context,id:e.id,name:e.name,startClocks:e.startClocks},t.startClocks.relative)}),t.subscribe(6,({endClocks:t})=>{V.closeActive(t.relative)}),t.subscribe(3,t=>{let e=V.find(t.startClocks.relative);e&&(t.name&&(e.name=t.name),t.context&&(e.context=t.context),e.sessionIsActive=t.sessionIsActive)}),t.subscribe(10,()=>{V.reset()}),{findView:t=>V.find(t),stop:()=>{V.stop()}});tI.push(()=>tM.stop());let tD=function(t,e,r){let n,i=(0,ez.qj)({expireDelay:n7});t.subscribe(1,({startClocks:t,url:e})=>{let r=(0,b.B)(location).href,o=void 0!==e?(0,tA.c$)(e,r).href:r;i.add(a({url:o,referrer:n||document.referrer}),t.relative),n=o}),t.subscribe(6,({endClocks:t})=>{i.closeActive(t.relative)});let o=r.subscribe(({newLocation:t})=>{let e=i.find();if(e){let r=(0,w.$S)();i.closeActive(r),i.add(a({url:t.href,referrer:e.referrer}),r)}});function a({url:t,referrer:e}){return{url:t,referrer:e}}return e.register(0,({startTime:t,eventType:e})=>{let r=i.find(t);return r?{type:e,view:{url:r.url,referrer:r.referrer}}:tb.ug}),{findUrl:t=>i.find(t),stop:()=>{o.unsubscribe(),i.stop()}}}(t,e,tN);tI.push(()=>tD.stop());let tB=(z=(0,ez.qj)({expireDelay:ie}),t.subscribe(1,({startClocks:t})=>{z.add({},t.relative)}),t.subscribe(6,({endClocks:t})=>{z.closeActive(t.relative)}),e.register(0,({startTime:t,eventType:e})=>{if(!r.trackFeatureFlagsForEvents.concat([J.VIEW,J.ERROR]).includes(e))return tb.$O;let n=z.find(t);return!n||(0,tf.RI)(n)?tb.$O:{type:e,feature_flags:n}}),{addFeatureFlagEvaluation:(t,e)=>{let r=z.find();r&&(r[t]=e)}});e.register(0,({eventType:t,startTime:e})=>{let r,o,a,s=n.findTrackedSession(e),u=tM.findView(e);return s&&u?(t===J.VIEW?(r=!!i.getReplayStats(u.id)||void 0,o=1===s.sessionReplay,a=!!u.sessionIsActive&&void 0):r=!!i.isRecording()||void 0,{type:t,session:{id:s.id,type:"user",has_replay:r,sampled_for_replay:o,is_active:a}}):tb.ug}),e.register(1,({startTime:t})=>{let e=n.findTrackedSession(t);return e?{session:{id:e.id}}:tb.$O}),e.register(0,({eventType:t})=>({type:t,connectivity:(0,i_.q)()})),s||(s=null!=(p=function(){try{let t=sessionStorage.getItem(eB);if(t)return t;let e=q();return sessionStorage.setItem(eB,e),e}catch(t){return}}())?p:q()),W=s,e.register(0,()=>({tab:{id:W}}));let tV=(G=tv(),r.storeContextsAcrossPages&&tp(r,G,"rum",2),e.register(0,()=>{let t=G.getContext();return{context:t}}),G),tz=(Z=t_(),r.storeContextsAcrossPages&&tp(r,Z,"rum",1),e.register(0,({eventType:t,startTime:e})=>{let i=Z.getContext(),o=n.findTrackedSession(e);
4return(o&&o.anonymousId&&!i.anonymous_id&&r.trackAnonymousUser&&(i.anonymous_id=o.anonymousId),(0,tf.RI)(i))?tb.$O:{type:t,usr:i}}),e.register(1,({startTime:t})=>{var e;return{anonymous_id:null==(e=n.findTrackedSession(t))?void 0:e.anonymousId}}),Z),tG=(ti=tw(),r.storeContextsAcrossPages&&tp(r,ti,"rum",4),e.register(0,()=>{let t=ti.getContext();return(0,tf.RI)(t)||!t.id?tb.$O:{account:t}}),ti),tK=function(t,e,r,n,i){var o;let a,s,{unsubscribe:u}=t.subscribe(0,e=>{t.notify(12,nd(e))}),c=tS.l;i.trackUserInteractions&&(a=function(t,e,r,n){let i,o=r1(t),a=new m.cP;t.subscribe(5,c),t.subscribe(11,c);let{stop:s}=function(t,{onPointerDown:e,onPointerUp:r}){let n,i,o={selection:!1,input:!1,scroll:!1},a=[(0,tl.q)(t,window,"pointerdown",t=>{no(t)&&(n=ni(),o={selection:!1,input:!1,scroll:!1},i=e(t))},{capture:!0}),(0,tl.q)(t,window,"selectionchange",()=>{n&&ni()||(o.selection=!0)},{capture:!0}),(0,tl.q)(t,window,"scroll",()=>{o.scroll=!0},{capture:!0,passive:!0}),(0,tl.q)(t,window,"pointerup",t=>{if(no(t)&&i){let e=o;r(i,t,()=>e),i=void 0}},{capture:!0}),(0,tl.q)(t,window,"input",()=>{o.input=!0},{capture:!0})];return{stop:()=>{a.forEach(t=>t.stop())}}}(n,{onPointerDown:i=>(function(t,e,r,n,i){let o,a=t.betaTrackActionsInShadowDom?nf(n):n.target;if((o=t.enablePrivacyForActionName?rq(a,t.defaultPrivacyLevel):rM.ALLOW)===rM.HIDDEN)return;let s=function(t,e,r){let n=r.betaTrackActionsInShadowDom?nf(t):t.target,i=n.getBoundingClientRect(),o=rT(n,r.actionNameAttribute),a=function(t,e){let r=t.filter(t=>t instanceof Element&&!r2.includes(t.tagName));if(0===r.length)return"";let n=e?[e].concat(r3):r3,i="";for(let t of r)if((i+=function(t,e){let r=rR(t),n=rO(t),i=Array.from(t.classList).filter(t=>!rk(t)).sort().map(t=>`.${CSS.escape(t)}`).join(""),o=function(t,e){let r=[];for(let n of Array.from(t.attributes))e.includes(n.name)&&r.push(rC(n.name,n.value));return r.sort().join("")}(t,e),a=function(t){let e=Array.from(t.parentNode.children);if(e.length<=1)return"";let r=e.filter(e=>e.tagName===t.tagName),n=e.indexOf(t),i=rN(t);return`:nth-child(${n+1})${r.length>1?`:nth-of-type(${i})`:""}`}(t);return`${r}${n||""}${o}${i}${a};`}(t,n)).length>=2048)return H(i,2048);return i}(t.composedPath(),r.actionNameAttribute);o&&nc(t.timeStamp,o);let{name:s,nameSource:u}=function(t,e,r=rM.ALLOW){let n=new Map,{actionNameAttribute:i}=e,o=r5(t,rw)||i&&r5(t,i);return o?{name:o,nameSource:"custom_attribute"}:r===rM.MASK?{name:rx,nameSource:"mask_placeholder"}:r9(t,r8,e,n)||r9(t,r4,e,n)||{name:"",nameSource:"blank"}}(n,r,e);return{type:"click",target:{width:Math.round(i.width),height:Math.round(i.height),selector:o,composedPathSelector:a||void 0},position:{x:Math.round(t.clientX-i.left),y:Math.round(t.clientY-i.top)},name:s,nameSource:u}}(n,o,t),u=!1;return rm(e,r,i,t,t=>{u=t.hadActivity},100),{clickActionBase:s,hadActivityOnPointerDown:()=>u}})(n,t,e,i,r),onPointerUp:({clickActionBase:i,hadActivityOnPointerDown:s},c,l)=>{!function(t,e,r,n,i,o,a,s,u,c,l){var f;let d=function t(e,r,n,i,o){let a,s=q(),u=(0,w.FR)(o.timeStamp),c=r.start(s,u,i,{isChildEvent:nl});e.notify(15,c);let l=0,f=[],d=new m.cP;function p(t){0===l&&(l=1,a=t?r.stop(s,(0,w.jR)(t)):r.discard(s),d.notify())}return{event:o,stop:p,stopObservable:d,get hasError(){var h;let t=null!=(h=null==a?void 0:a.counts)?h:r.getCounts(s);return!!t&&t.errorCount>0},get hasPageActivity(){return a&&"duration"in a},getUserActivity:n,addFrustration:t=>{f.push(t)},get startClocks(){return u},isStopped:()=>1===l||2===l,clone:()=>t(e,r,n,i,o),validate:t=>{if(p(),1!==l||!a)return;let r={frustrationTypes:f,events:null!=t?t:[o],event:o,...a,counts:a.counts};e.notify(0,r),l=2},discard:()=>{p(),l=2}}}(e,i,c,s,u);a(d);let p=null==(f=null==s?void 0:s.target)?void 0:f.selector;p&&nc(u.timeStamp,p);let{stop:h}=rm(e,r,n,t,t=>{t.hadActivity&&t.end<d.startClocks.timeStamp?d.discard():t.hadActivity?d.stop(t.end):l()?d.stop(d.startClocks.timeStamp):d.stop()},ns),y=e.subscribe(5,({endClocks:t})=>{d.stop(t.timeStamp)}),g=e.subscribe(11,()=>{d.stop((0,w.nx)())}),v=o.subscribe(()=>{d.stop()});d.stopObservable.subscribe(()=>{g.unsubscribe(),y.unsubscribe(),h(),v.unsubscribe()})}(n,t,e,r,o,a,u,i,c,l,s)}});return{stop:()=>{c(),a.notify(),s(),o.stopAll()},findActionId:o.findId};function u(t){if(!i||!i.tryAppend(t)){let e=t.clone();i=function(t,e){let r,n=[],i=0;function o(t){t.stopObservable.subscribe(a),n.push(t),(0,tW.DJ)(r),r=(0,tW.wg)(s,r6)}function a(){1===i&&n.every(t=>t.isStopped())&&(i=2,e(n))}function s(){(0,tW.DJ)(r),0===i&&(i=1,a())}return o(t),{tryAppend:t=>{var e,r,a,u;return 0===i&&(!(n.length>0)||(e=n[n.length-1].event,r=t.event,e.target===r.target&&100>=(a=e,u=r,Math.sqrt(Math.pow(a.clientX-u.clientX,2)+Math.pow(a.clientY-u.clientY,2)))&&e.timeStamp-r.timeStamp<=r6)?(o(t),!0):(s(),!1))},stop:()=>{s()}}}(t,t=>{(function(t,e){let{isRage:r}=function(t,e){if(function(t){if(t.some(t=>t.getUserActivity().selection||t.getUserActivity().scroll))return!1;for(let e=0;e<t.length-2;e+=1)if(t[e+3-1].event.timeStamp-t[e].event.timeStamp<=w.OY)return!0;return!1}(t))return e.addFrustration("rage_click"),t.some(na)&&e.addFrustration(tn),e.hasError&&e.addFrustration(tr),{isRage:!0};let r=t.some(t=>t.getUserActivity().selection);return t.forEach(t=>{t.hasError&&t.addFrustration(tr),na(t)&&!r&&t.addFrustration(tn)}),{isRage:!1}}(t,e);r?(t.forEach(t=>t.discard()),e.stop((0,w.nx)()),e.validate(t.map(t=>t.event))):(e.discard(),t.forEach(t=>t.validate()))})(t,e),i=void 0})}}function c(){i&&i.stop()}}(t,r,n,i));let l=(o=e=>{t.notify(12,nd(e))},{addAction:function(t){o({id:q(),frustrationTypes:[],...t})},startAction:function(e,r={},n=(0,w.M8)()){var i;let o=null!=(i=r.actionKey)?i:e,a=s.start(o,n,{name:e,...r},{isChildEvent:nl});t.notify(15,a)},stopAction:function(t,e={},r=(0,w.M8)()){var n;let i=null!=(n=e.actionKey)?n:t,a=s.stop(i,r,e);if(!a)return;let u=[];a.counts&&a.counts.errorCount>0&&u.push(tr),o({...a,type:a.type||te,frustrationTypes:u})},findActionId:(s=r1(t)).findId,stop:s.stopAll}),f={findActionId:t=>{var e;let r=l.findActionId(t),n=null!=(e=null==a?void 0:a.findActionId(t))?e:[];return r.concat(n)}};return e.register(0,({startTime:t,eventType:e})=>
4{if(e!==J.ERROR&&e!==J.RESOURCE&&e!==J.LONG_TASK)return tb.$O;let r=e===J.LONG_TASK?(0,w.Gw)(t,1):t,n=f.findActionId(r);return n.length?{type:e,action:{id:n}}:tb.$O}),e.register(1,({startTime:t})=>({action:{id:f.findActionId(t)}})),{addAction:l.addAction,startAction:l.startAction,stopAction:l.stopAction,actionContexts:f,stop:()=>{u(),c(),l.stop(),null==a||a.stop()}}}(t,e,tC,tj,r);tI.push(tK.stop);let tZ={addEvent:(e,r,n,i)=>{iw.includes(r.type)&&t.notify(12,{startClocks:(0,w.FR)(e),rawRumEvent:r,domainContext:n,duration:i})}},tJ=(tc=requestAnimationFrame((0,R.dm)(()=>{tu=nJ()})),td=nZ(r).subscribe(t=>{tu=t}).unsubscribe,e.register(0,({eventType:t})=>({type:t,display:tu?{viewport:tu}:void 0})),{stop:()=>{td(),tc&&cancelAnimationFrame(tc)}});tI.push(tJ.stop);let tQ=function(t,e,r=function(t,e){let r=window.cookieStore?function(t){return(e,r)=>(0,tl.q)(t,window.cookieStore,"change",t=>{let n=t.changed.find(t=>t.name===e)||t.deleted.find(t=>t.name===e);n&&r(n.value)}).stop}(t):id;return new m.cP(t=>r(e,e=>t.notify(e)))}(t,ip)){var n;let i=tP(ip)||(null==(n=window.Cypress)?void 0:n.env("traceId")),o=r.subscribe(t=>{i=t});return e.register(0,({eventType:t})=>"string"!=typeof i?tb.$O:{type:t,session:{type:"ci_test"},ci_test:{test_execution_id:i}}),{stop:()=>{o.unsubscribe()}}}(r,e);tI.push(tQ.stop),e.register(0,({eventType:t})=>tF()?{type:t,session:{type:"synthetics"},synthetics:{...tF(),injected:t$()}}:tb.$O),h={[J.VIEW]:{"view.performance.lcp.resource_url":"string",...iv,...im,...ib},[J.ERROR]:{"error.message":"string","error.stack":"string","error.handling_stack":"string","error.resource.url":"string","error.fingerprint":"string",...iv,...im,...ib},[J.RESOURCE]:{"resource.url":"string","resource.graphql.variables":"string","resource.request.headers":"object","resource.response.headers":"object",...iv,...im,...ib},[J.ACTION]:{"action.target.name":"string",...iv,...im,...ib},[J.LONG_TASK]:{"long_task.scripts[].source_url":"string","long_task.scripts[].invoker":"string",...iv,...im,...ib},[J.VITAL]:{...iv,...im,...ib}},ty={[J.ERROR]:ih(J.ERROR,d,void 0),[J.ACTION]:ih(J.ACTION,d,void 0),[J.VITAL]:ih(J.VITAL,d,void 0)},t.subscribe(12,({startClocks:n,duration:i,rawRumEvent:o,domainContext:a})=>{let s=e.triggerHook(0,{eventType:o.type,rawRumEvent:o,domainContext:a,startTime:n.relative,duration:i});if(s===tb.ug)return;let u=(0,N.kg)(s,o,{ddtags:(0,iy.m5)(r).join(",")});(function(t,e,r,n){var i,o;if(e){let n,i,a=(o=h[t.type],i=(t=>e(t,r))(n=(0,N.Go)(t)),(0,tH.WP)(o).forEach(([e,r])=>(function t(e,r,n,i){let[o,...a]=n;if("[]"===o){Array.isArray(e)&&Array.isArray(r)&&e.forEach((e,n)=>t(e,r[n],a,i));return}if(ig(e)&&ig(r)){if(a.length>0)return t(e[o],r[o],a,i);!function(t,e,r,n){if(t[e]===r)return;let i=(0,th.P)(r);i===n?t[e]=(0,P.a)(r):"object"===n&&("undefined"===i||"null"===i)&&(t[e]={})}(e,o,r[o],i)}})(t,n,e.split(/\.|(?=\[\])/),r)),i);if(!1===a&&t.type!==J.VIEW)return!1;!1===a&&K.Vy.warn("Can't dismiss view events using beforeSend!")}return!(null==(i=n[t.type])?void 0:i.isLimitReached())})(u,r.beforeSend,a,ty)&&((0,tf.RI)(u.context)&&delete u.context,t.notify(13,u))});let{addTiming:tY,setLoadingTime:tX,startView:t0,setViewName:t1,setViewContext:t2,setViewContextProperty:t3,getViewContext:t6,stop:t5}=(t.subscribe(4,e=>{var n,o,a,s,u,c,l,f,d,p,h,y,g,m,v,b,_,x,S,A;let E,T,k;return t.notify(12,(n=e,o=r,E=i.getReplayStats(n.id),T=null==(s=null==(a=n.commonViewMetrics)?void 0:a.cumulativeLayoutShift)?void 0:s.devicePixelRatio,k={_dd:{document_version:n.documentVersion,replay_stats:E,cls:T?{device_pixel_ratio:T}:void 0,configuration:{start_session_replay_recording_manually:o.startSessionReplayRecordingManually}},date:n.startClocks.timeStamp,type:J.VIEW,view:{action:{count:n.eventCounts.actionCount},frustration:{count:n.eventCounts.frustrationCount},cumulative_layout_shift:null==(u=n.commonViewMetrics.cumulativeLayoutShift)?void 0:u.value,cumulative_layout_shift_time:(0,w.Zj)(null==(c=n.commonViewMetrics.cumulativeLayoutShift)?void 0:c.time),cumulative_layout_shift_target_selector:null==(l=n.commonViewMetrics.cumulativeLayoutShift)?void 0:l.targetSelector,first_byte:(0,w.Zj)(null==(f=n.initialViewMetrics.navigationTimings)?void 0:f.firstByte),dom_complete:(0,w.Zj)(null==(d=n.initialViewMetrics.navigationTimings)?void 0:d.domComplete),dom_content_loaded:(0,w.Zj)(null==(p=n.initialViewMetrics.navigationTimings)?void 0:p.domContentLoaded),dom_interactive:(0,w.Zj)(null==(h=n.initialViewMetrics.navigationTimings)?void 0:h.domInteractive),error:{count:n.eventCounts.errorCount},first_contentful_paint:(0,w.Zj)(n.initialViewMetrics.firstContentfulPaint),first_input_delay:(0,w.Zj)(null==(y=n.initialViewMetrics.firstInput)?void 0:y.delay),first_input_time:(0,w.Zj)(null==(g=n.initialViewMetrics.firstInput)?void 0:g.time),first_input_target_selector:null==(m=n.initialViewMetrics.firstInput)?void 0:m.targetSelector,interaction_to_next_paint:(0,w.Zj)(null==(v=n.commonViewMetrics.interactionToNextPaint)?void 0:v.value),interaction_to_next_paint_time:(0,w.Zj)(null==(b=n.commonViewMetrics.interactionToNextPaint)?void 0:b.time),interaction_to_next_paint_target_selector:null==(_=n.commonViewMetrics.interactionToNextPaint)?void 0:_.targetSelector,is_active:n.isActive,name:n.name,largest_contentful_paint:(0,w.Zj)(null==(x=n.initialViewMetrics.largestContentfulPaint)?void 0:x.value),largest_contentful_paint_target_selector:null==(S=n.initialViewMetrics.largestContentfulPaint)?void 0:S.targetSelector,load_event:(0,w.Zj)(null==(A=n.initialViewMetrics.navigationTimings)?void 0:A.loadEvent),loading_time:ro((0,w.Zj)(n.commonViewMetrics.loadingTime)),loading_type:n.loadingType,long_task:{count:n.eventCounts.longTaskCount},performance:function({cumulativeLayoutShift:t,interactionToNextPaint:e},{firstContentfulPaint:r,firstInput:n,largestContentfulPaint:i}){return{cls:t&&{score:t.value,timestamp:(0,w.Zj)(t.time),target_selector:t.targetSelector,previous_rect:t.previousRect,current_rect:t.currentRect},fcp:r&&{timestamp:(0,w.Zj)(r)},fid:n&&{duration:(0,w.Zj)(n.delay),timestamp:(0,w.Zj)(n.time),target_selector:n.targetSelector},inp:e&&{duration:(0,w.Zj)(e.value),timestamp:(0,w.Zj)(e.time),target_selector:e.targetSelector,sub_parts:e.subParts?{input_delay:(0,w.Zj)(e.subParts.inputDelay),processing_duration:(0,w.Zj)(e.subParts.processingDuration),presentation_delay:(0,w.Zj)(e.subParts.presentationDelay)}:void 0},lcp:i&&{timestamp:(0,w.Zj)(i.value),target_selector:i.targetSelector,resource_url:i.resourceUrl,sub_parts:i.subParts?{load_delay:(0,w.Zj)(i.subParts.loadDelay),load_time:(0,w.Zj)(i.subParts.loadTime),render_delay:(0,w.Zj)(i.subParts.renderDelay)}:void 0}}}(n.commonViewMetrics,n.initialViewMetrics),resource:{count:n.eventCounts.resourceCount},time_spent:(0,w.Zj)(n.duration)},display:n.commonViewMetrics.scroll?{scroll:{max_depth:n.commonViewMetrics.scroll.maxDepth,max_depth_scroll_top:n.
4commonViewMetrics.scroll.maxDepthScrollTop,max_scroll_height:n.commonViewMetrics.scroll.maxScrollHeight,max_scroll_height_time:(0,w.Zj)(n.commonViewMetrics.scroll.maxScrollHeightTime)}}:void 0,privacy:{replay_level:o.defaultPrivacyLevel},device:{locale:navigator.language,locales:navigator.languages,time_zone:function(){try{return new Intl.DateTimeFormat().resolvedOptions().timeZone}catch(t){return}}()}},(0,tf.RI)(n.customTimings)||(k.view.custom_timings=(0,tf.LG)(n.customTimings,w.Zj)),{rawRumEvent:k,startClocks:n.startClocks,duration:n.duration,domainContext:{location:n.location,handlingStack:n.handlingStack}}))}),e.register(0,({startTime:t,eventType:e})=>{let r=tM.findView(t);return r?{type:e,service:r.service,version:r.version,context:r.context,view:{id:r.id,name:r.name}}:tb.ug}),e.register(1,({startTime:t})=>{var e;return{view:{id:null==(e=tM.findView(t))?void 0:e.id}}}),function(t,e,r,n,i,o,a){let s,u,c=new Set,f=d(Y,(0,w.Oc)(),a);function d(i,o,a){let s=function(t,e,r,n,i,o=(0,w.M8)(),a){var s;let u,c=q(),f=new m.cP,d={},p=0,h=(0,tf.yG)((0,b.B)(window.location)),y=tm(),v=!0,_=null==a?void 0:a.name,x=(null==a?void 0:a.service)||n.service,S=(null==a?void 0:a.version)||n.version,A=null==a?void 0:a.context,E=null==a?void 0:a.handlingStack;A&&y.setContext(A);let T={id:c,name:_,startClocks:o,service:x,version:S,context:A,url:null==a?void 0:a.url};t.notify(1,T),t.notify(2,T);let{throttled:k,cancel:O}=(0,tS.n)(W,3e3,{leading:!1}),{setLoadEvent:I,setViewEnd:C,stop:N,stopINPTracking:P,getCommonViewMetrics:j,setLoadingTime:U}=function(t,e,r,n,i,o,a){let s={}
4,u=!1,c=!1,{stop:f,setLoadEvent:d}=function(t,e,r,n,i,o,a){let s=i===Y,u=!0,c=[],l=nL(n,o);function f(){if(!u&&!s&&c.length>0){let t=Math.max(...c);t<l.timeStamp-o.relative&&a(t)}}let{stop:d}=rm(t,e,r,n,t=>{u&&(u=!1,t.hadActivity&&c.push((0,w.vk)(o.timeStamp,t.end)),f())});return{stop:()=>{d(),l.stop()},setLoadEvent:t=>{s&&(s=!1,c.push(t),f())}}}(t,e,r,n,o,a,t=>{u||(s.loadingTime=t,i())}),{stop:p}=function(t,e,r,n=function(t,e=nQ){return new m.cP(r=>{if(window.ResizeObserver){let n=(0,tS.n)(function(){r.notify(function(){let t=nK(),{height:e}=nJ();return{scrollHeight:Math.round((document.scrollingElement||document.documentElement).scrollHeight),scrollDepth:Math.round(e+t),scrollTop:t}}())},e,{leading:!1,trailing:!0}),i=document.scrollingElement||document.documentElement,o=new ResizeObserver((0,R.dm)(n.throttled));i&&o.observe(i);let a=(0,tl.q)(t,window,"scroll",n.throttled,{passive:!0});return()=>{n.cancel(),o.disconnect(),a.stop()}}})}(t)){let i=0,o=0,a=0,s=n.subscribe(({scrollDepth:t,scrollTop:n,scrollHeight:s})=>{let u=!1;if(t>i&&(i=t,u=!0),s>o){o=s;let t=(0,w.$S)();a=(0,w.vk)(e.relative,t),u=!0}u&&r({maxDepth:Math.min(i,o),maxDepthScrollTop:n,maxScrollHeight:o,maxScrollHeightTime:a})});return{stop:()=>s.unsubscribe()}}(n,a,t=>{s.scroll=t}),{stop:h}=function(t,e,r){let n,i,o,a,s;if(!(ry(g.LAYOUT_SHIFT)&&"WeakRef"in window))return{stop:tS.l};let u=0;r({value:0});let c=(a=0,s=0,{update:t=>{let e;return void 0===i||t.startTime-o>=n$||t.startTime-i>=nB?(i=o=t.startTime,s=a=t.value,e=!0):(a+=t.value,o=t.startTime,(e=t.value>s)&&(s=t.value)),{cumulatedValue:a,isMaxValue:e}}}),l=rh(t,{type:g.LAYOUT_SHIFT,buffered:!0}).subscribe(i=>{var o;for(let a of i){if(a.hadRecentInput||a.startTime<e)continue;let{cumulatedValue:i,isMaxValue:s}=c.update(a);if(s){let t=function(t){let e;for(let r of t)if(r.node&&rs(r.node)){let t=nM(r);(!e||nM(e)<t)&&(e=r)}return e}(a.sources);n={target:(null==t?void 0:t.node)?new WeakRef(t.node):void 0,time:(0,w.vk)(e,a.startTime),previousRect:null==t?void 0:t.previousRect,currentRect:null==t?void 0:t.currentRect,devicePixelRatio:window.devicePixelRatio}}if(i>u){u=i;let e=null==(o=null==n?void 0:n.target)?void 0:o.deref();r({value:(0,tq.LI)(u,4),targetSelector:e&&rT(e,t.actionNameAttribute),time:null==n?void 0:n.time,previousRect:(null==n?void 0:n.previousRect)?nD(n.previousRect):void 0,currentRect:(null==n?void 0:n.currentRect)?nD(n.currentRect):void 0,devicePixelRatio:null==n?void 0:n.devicePixelRatio})}}});return{stop:()=>{l.unsubscribe()}}}(n,a.relative,t=>{s.cumulativeLayoutShift=t,i()}),{stop:y,getInteractionToNextPaint:v,setViewEnd:b}=function(t,e,r){var n;let i,o,a;if(!(ry(g.EVENT)&&window.PerformanceEventTiming&&"interactionId"in PerformanceEventTiming.prototype))return{getInteractionToNextPaint:()=>void 0,setViewEnd:tS.l,stop:tS.l};let s=1/0,{getViewInteractionCount:u,stopViewInteractionCount:c}=(n=r,"interactionCount"in performance||l||(l=new window.PerformanceObserver((0,R.dm)(t=>{t.getEntries().forEach(t=>{t.interactionId&&(nV=Math.min(nV,t.interactionId),nF=((nz=Math.max(nz,t.interactionId))-nV)/7+1)})}))).observe({type:"event",buffered:!0,durationThreshold:0}),o=n===Y?0:nq(),a={stopped:!1},{getViewInteractionCount:()=>a.stopped?a.interactionCount:nq()-o,stopViewInteractionCount:()=>{a={stopped:!0,interactionCount:nq()-o}}}),f=function(t){let e=[];function r(){e.sort((t,e)=>e.duration-t.duration).splice(10)}return{process(t){let n=e.findIndex(e=>t.interactionId===e.interactionId),i=e[e.length-1];-1!==n?t.duration>e[n].duration&&(e[n]=t,r()):(e.length<10||t.duration>i.duration)&&(e.push(t),r())},estimateP98Interaction(){let r=Math.min(e.length-1,Math.floor(t()/50));return e[r]},isTracked:t=>e.some(e=>e.interactionId===t)}}(u),d=function(t){let e=new Map;function r(t,e){t.startTime=Math.min(e.startTime,t.startTime),t.processingStart=Math.min(e.processingStart,t.processingStart),t.processingEnd=Math.max(e.processingEnd,t.processingEnd)}return{process(t){if(void 0===t.interactionId||!t.processingStart||!t.processingEnd)return;let n=t.startTime+t.duration,i=e.get(t.interactionId);if(i)return void r(i,t);for(let[,i]of e.entries())if(8>=Math.abs(n-i.referenceRenderTime)){r(i,t),e.set(t.interactionId,i);return}e.set(t.interactionId,{startTime:t.startTime,processingStart:t.processingStart,processingEnd:t.processingEnd,referenceRenderTime:n})},pruneUntracked(){for(let[r]of e)t.isTracked(r)||e.delete(r)},computeSubParts(t,r){if(!t.processingStart||!t.processingEnd||void 0===t.interactionId)return;let n=e.get(t.interactionId);if(!n)return;let i=Math.max(n.startTime+r,n.processingStart),o=Math.min(n.processingEnd,i);return{inputDelay:(0,w.vk)(n.startTime,n.processingStart),processingDuration:(0,w.vk)(n.processingStart,o),presentationDelay:(0,w.vk)(o,i)}},stop(){e.clear()}}}(f),p=rh(t,{type:g.FIRST_INPUT,buffered:!0}).subscribe(y),h=rh(t,{type:g.EVENT,durationThreshold:40,buffered:!0}).subscribe(y);function y(r){for(let t of r)t.interactionId&&t.startTime>=e&&t.startTime<=s&&(f.process(t),d.process(t));d.pruneUntracked();let n=f.estimateP98Interaction();n&&function(r){let n=(0,w.vk)(e,r.startTime);if(!i||r.duration!==i.duration||n!==i.startTime){var o;let e,a=(o=r.startTime,e=nu.get(o),nu.delete(o),e);!a&&r.target&&rs(r.target)&&(a=rT(r.target,t.actionNameAttribute)),i={duration:r.duration,startTime:n,targetSelector:a}}i.subParts=d.computeSubParts(r,nG(i.duration))}(n)}return{getInteractionToNextPaint:()=>i?{value:nG(i.duration),targetSelector:i.targetSelector,time:i.startTime,subParts:i.subParts}:u()?{value:0}
4:void 0,setViewEnd:t=>{s=t,c()},stop:()=>{h.unsubscribe(),p.unsubscribe(),d.stop()}}}(n,a.relative,o);return{stop:()=>{f(),h(),p()},stopINPTracking:y,setLoadEvent:d,setViewEnd:t=>{c=!0,b(t)},getCommonViewMetrics:()=>(s.interactionToNextPaint=v(),s),setLoadingTime:t=>{if(c)return;let e=(0,w.vk)(a.timeStamp,null!=t?t:(0,w.nx)());u||f(),u=!0,s.loadingTime=e,i()}}}(t,e,r,n,z,i,o),{stop:L,initialViewMetrics:M}=i===Y?function(t,e,r,n){var i,o,a;let s,u={},{stop:c}=(i=t=>{r(t.loadEvent),u.navigationTimings=t,n()},function(t,e){let r,{stop:n}=(0,nS.H)(t,"complete",()=>{r=(0,tW.wg)(()=>e())});return{stop:()=>{n(),(0,tW.DJ)(r)}}}(t,()=>{var t;let e=(0,b.B)(nk)();e.loadEventEnd<=0||i({domComplete:(t=e).domComplete,domContentLoaded:t.domContentLoadedEventEnd,domInteractive:t.domInteractive,loadEvent:t.loadEventEnd,firstByte:nO(t)})})),l=nL(t,e),{stop:f}=(o=t=>{u.firstContentfulPaint=t,n()},{stop:rh(t,{type:g.PAINT,buffered:!0}).subscribe(t=>{let e=t.find(t=>"first-contentful-paint"===t.name&&t.startTime<l.timeStamp&&t.startTime<nj);e&&o(e.startTime)}).unsubscribe}),{stop:d}=function(t,e,r,n){let i=1/0,{stop:o}=(0,tl.l)(t,r,["pointerdown","keydown"],t=>{i=t.timeStamp},{capture:!0,once:!0}),a=0,s=rh(t,{type:g.LARGEST_CONTENTFUL_PAINT,buffered:!0}).subscribe(r=>{let o=(0,tH.Uk)(r,t=>t.entryType===g.LARGEST_CONTENTFUL_PAINT&&t.startTime<i&&t.startTime<e.timeStamp&&t.startTime<nU&&t.size>a);if(o){var s;let e;o.element&&(e=rT(o.element,t.actionNameAttribute));let r=""===(s=o).url?void 0:s.url,i=o.startTime,u=function(t,e){let r=nO(nk());if(void 0===r)return;let n=t?function(t,e){let r=function(){if(ry(g.RESOURCE))return performance.getEntriesByType(g.RESOURCE)}();if(r)return(0,tH.Uk)(r,r=>r.name===t&&r.startTime<=e)}(t,e):void 0,i=n?Math.max(r,n.requestStart||n.startTime):r,o=Math.min(e,Math.max(i,(null==n?void 0:n.responseEnd)||0));return{loadDelay:i-r,loadTime:o-i,renderDelay:e-o}}(r,i);n({value:i,targetSelector:e,resourceUrl:r,subParts:u}),a=o.size}});return{stop:()=>{o(),s.unsubscribe()}}}(t,l,window,t=>{u.largestContentfulPaint=t,n()}),{stop:p}=(a=t=>{u.firstInput=t,n()},s=rh(t,{type:g.FIRST_INPUT,buffered:!0}).subscribe(e=>{let r=e.find(t=>t.startTime<l.timeStamp);if(r){let e,n=(0,w.vk)(r.startTime,r.processingStart);r.target&&rs(r.target)&&(e=rT(r.target,t.actionNameAttribute)),a({delay:n>=0?n:0,time:r.startTime,targetSelector:e})}}),{stop:()=>{s.unsubscribe()}});return{stop:function(){c(),f(),d(),p(),l.stop()},initialViewMetrics:u}}(n,o,I,z):{stop:tS.l,initialViewMetrics:{}};i===tt&&(s=o.relative,requestAnimationFrame(()=>{requestAnimationFrame(()=>{(t=>{M.firstContentfulPaint=t,M.largestContentfulPaint={value:t},z()})((0,w.vk)(s,(0,w.$S)()))})}));let{stop:D,eventCounts:B}=function(t,e,r){let{stop:n,eventCounts:i}=rX({lifeCycle:t,isChildEvent:t=>t.view.id===e,onChange:r});return{stop:n,eventCounts:i}}(t,c,z),$=(0,tW.yb)(W,nY),F=t.subscribe(11,t=>{t.reason===eD.y5.UNLOADING&&W()});function V(){t.notify(3,{id:c,name:_,context:y.getContext(),startClocks:o,sessionIsActive:v})}function z(){V(),k()}function W(){O(),V(),p+=1;let e=void 0===u?(0,w.nx)():u.timeStamp;t.notify(4,{customTimings:d,documentVersion:p,id:c,name:_,service:x,version:S,context:y.getContext(),loadingType:i,location:h,handlingStack:E,startClocks:o,commonViewMetrics:j(),initialViewMetrics:M,duration:(0,w.vk)(o.timeStamp,e),isActive:void 0===u,sessionIsActive:v,eventCounts:B})}return W(),y.changeObservable.subscribe(z),{get name(){return _},service:x,version:S,contextManager:y,stopObservable:f,end(e={}){var r,n;u||(u=null!=(r=e.endClocks)?r:(0,w.M8)(),v=null==(n=e.sessionIsActive)||n,t.notify(5,{endClocks:u}),t.notify(6,{endClocks:u}),(0,tW.vG)($),C(u.relative),N(),F.unsubscribe(),W(),(0,tW.wg)(()=>{this.stop()},nX))},stop(){L(),D(),P(),f.notify()},addTiming(t,e){var r;let n;if(u)return;let i=(0,w.pu)(e)?e:(0,w.vk)(o.timeStamp,e);d[(n=(r=t).replace(/[^a-zA-Z0-9-_.@$]/g,"_"))!==r&&K.Vy.warn(`Invalid timing name: ${r}, sanitized to: ${n}`),n]=i,z()},setLoadingTime:U,setViewName(t){_=t,W()}}}(t,e,r,n,i,o,a);return c.add(s),s.stopObservable.subscribe(()=>{c.delete(s)}),s}return t.subscribe(10,()=>{f=d(X,void 0,{name:f.name,service:f.service,version:f.version,context:f.contextManager.getContext()})}),t.subscribe(9,()=>{f.end({sessionIsActive:!1})}),o&&(u=i.subscribe(({oldLocation:t,newLocation:e})=>{var r,n;let i;r=t,n=e,r.pathname===n.pathname&&(""!==(i=n.hash.substring(1))&&document.getElementById(i)||n0(n.hash)===n0(r.hash))||(f.end(),f=d(X))}),n.trackBfcacheViews&&(s=function(t,e){let{stop:r}=(0,tl.q)(t,window,"pageshow",t=>{t.persisted&&e(t)},{capture:!0});return r}(n,t=>{f.end(),f=d(tt,(0,w.FR)(t.timeStamp),void 0)}))),{addTiming:(t,e=(0,w.nx)())=>{f.addTiming(t,e)}
4,setLoadingTime:t=>f.setLoadingTime(t),startView:(t,e)=>{f.end({endClocks:e}),f=d(X,e,t)},setViewContext:t=>{f.contextManager.setContext(t)},setViewContextProperty:(t,e)=>{f.contextManager.setContextProperty(t,e)},setViewName:t=>{f.setViewName(t)},getViewContext:()=>f.contextManager.getContext(),stop:()=>{u&&u.unsubscribe(),s&&s(),f.end(),c.forEach(t=>t.stop())}}}(t,tC,tj,r,tN,!r.trackViewsManually,o)),t8=window,t4=new Map;function t9(){t8.DD_SOURCE_CODE_CONTEXT&&((0,tH.WP)(t8.DD_SOURCE_CODE_CONTEXT).forEach(([t,e])=>{let r=(0,x.T)({stack:t}).stack[0];r.url?t4.has(r.url)||t4.set(r.url,e):(0,I.VJ)("Source code context: missing frame url",{stack:t})}),t8.DD_SOURCE_CODE_CONTEXT={})}t9(),e.register(0,({domainContext:t,rawRumEvent:e})=>{var r,n,i,o;let a;if(t9(),0===t4.size)return tb.$O;let s=(r=t,"long_task"===(n=e).type&&"long-animation-frame"===n.long_task.entry_type?null==(i=n.long_task.scripts[0])?void 0:i.source_url:("handlingStack"in r&&(a=r.handlingStack),"error"===n.type&&n.error.stack&&(a=n.error.stack),null==(o=(0,x.T)({stack:a}).stack[0])?void 0:o.url)),u=s&&t4.get(s);return u?{type:e.type,service:u.service,version:u.version}:tb.$O}),tI.push(t5);let t7=function(t,e,r){let n,i=(0,b.B)(n_)(),o=e.trackEarlyRequests;if(o){let e,r,i;e=new Set,r=!1,i=t.subscribe(8,t=>{if(e.add(t),e.size>1e3){let t=e.values().next().value;if(!r){let n;if(r=!0,(0,j.sr)(j.R9.TOO_MANY_REQUESTS_INVESTIGATION)){let r=0,i=0,o=0,a=0;for(let t of e)t.isAborted&&r++,t.isAbortedOnStart&&i++,"xhr"===t.type&&o++,!performance.getEntriesByName(t.url,"resource").some(e=>e.startTime>=t.startClocks.relative)&&a++;let s=(0,w.nx)()-t.startClocks.timeStamp;n={abortedCount:r,abortedOnStartCount:i,xhrCount:o,fetchCount:e.size-o,oldestRequestAge:s,oldestRequestEndAge:s-t.duration,withoutMatchingEntryCount:a}}(0,I.A2)("Too many requests",n)}e.delete(t)}}),n={getMatchingRequest(t){let r,n=1/0;for(let i of e){let e=t.startTime-i.startClocks.relative;0<=e&&e<n&&i.url===t.name&&(n=Math.abs(e),r=i)}return r&&e.delete(r),r},stop(){i.unsubscribe()}}}else t.subscribe(8,t=>{s(()=>{var n,i,o;return n=t,i=e,o=r,nC(function(t){if(!performance||!("getEntriesByName"in performance))return;let e=performance.getEntriesByName(t.url,"resource");if(!e.length||!("toJSON"in e[0]))return;let r=e.filter(t=>!nw.has(t)).filter(t=>e0(t)&&e1(t)).filter(e=>{var r,n,i;return r=e,n=t.startClocks.relative,i=nx({startTime:t.startClocks.relative,duration:t.duration}),r.startTime>=n-1&&nx(r)<=(0,w.Gw)(i,1)});if(1===r.length)return nw.add(r[0]),r[0].toJSON()}(n),n,o,i)})});let a=rh(e,{type:g.RESOURCE,buffered:!0}).subscribe(t=>{for(let i of t)(o||!eX(i))&&s(()=>nI(i,e,r,n))});function s(e){i.push(()=>{let r=e();r&&t.notify(12,r)})}(0,b.B)(nR)(e,t=>{s(()=>nI(t,e,r,n))});let u=r1(t),c={startResource:function(t,e={},r=(0,w.M8)()){var n;let i=null!=(n=e.resourceKey)?n:t;u.start(i,r,{url:t,...e})},stopResource:function(e,r={},n=(0,w.M8)()){var i;let o=null!=(i=r.resourceKey)?i:e,a=u.stop(o,n,{context:r.context,type:r.type});if(!a)return;let s=(0,w.vk)(a.startClocks.relative,n.relative),c={date:a.startClocks.timeStamp,type:J.RESOURCE,resource:{id:a.id,type:a.type||eZ,url:e5(a.url),duration:(0,w.Zj)(s),method:a.method,status_code:r.statusCode,size:r.size},_dd:{},context:a.context};t.notify(12,{rawRumEvent:c,startClocks:a.startClocks,duration:s,domainContext:{isManual:!0}})}};return{startResource:c.startResource,stopResource:c.stopResource,stop:()=>{i.stop(),a.unsubscribe(),u.stopAll()}}}(t,r,tL);tI.push(t7.stop);let{stop:et}=(tg=rh(r,{type:ry(g.LONG_ANIMATION_FRAME)?g.LONG_ANIMATION_FRAME:g.LONG_TASK,buffered:!0}).subscribe(e=>{for(let n of e){if(!r.trackLongTasks)break;let e=(0,w.FR)(n.startTime),i=function(t,e){let r=q(),n=(0,w.Zj)(t.duration),i={date:e.timeStamp,type:J.LONG_TASK,_dd:{discarded:!1}};return t.entryType===g.LONG_TASK?{...i,long_task:{id:r,entry_type:Q.LONG_TASK,duration:n}}:{...i,long_task:{id:r,entry_type:Q.LONG_ANIMATION_FRAME,duration:n,blocking_duration:(0,w.Zj)(t.blockingDuration),first_ui_event_timestamp:(0,w.Zj)(t.firstUIEventTimestamp),render_start:(0,w.Zj)(t.renderStart),style_and_layout_start:(0,w.Zj)(t.styleAndLayoutStart),start_time:(0,w.Zj)(t.startTime),scripts:t.scripts.map(t=>({duration:(0,w.Zj)(t.duration),pause_duration:(0,w.Zj)(t.pauseDuration),forced_style_and_layout_duration:(0,w.Zj)(t.forcedStyleAndLayoutDuration),start_time:(0,w.Zj)(t.startTime),execution_start:(0,w.Zj)(t.executionStart),source_url:t.sourceURL,source_function_name:t.sourceFunctionName,source_char_position:t.sourceCharPosition,invoker:t.invoker,invoker_type:t.invokerType,window_attribution:t.windowAttribution}))}}}(n,e);t.notify(12,{rawRumEvent:i,startClocks:e,duration:n.duration,domainContext:{performanceEntry:n}})}}),{stop:()=>tg.unsubscribe()});tI.push(et);let{addError:ee}=(tE=new m.cP,c.subscribe(t=>{0===t.type&&tE.notify(t.error)}),T=tE,(B=[K.bP.error].map(t=>{var e;return nh[t]||(nh[t]=(e=t,new m.cP(t=>{let r=K.JZ[e];return K.JZ[e]=(...n)=>{r.apply(console,n);let i=(0,O.uC)("console error");(0,R.um)(()=>{t.notify(function(t,e,r){let n=t.map(t=>{var e;return"string"==typeof(e=t)?(0,P.a)(e):(0,A.bJ)(e)?(0,O.NR)((0,x.T)(e)):(0,np.s)((0,P.a)(e),void 0,2)}).join(" ");if(e===K.bP.error){let i=t.find(A.bJ),o=(0,A.As)({originalError:i,handlingStack:r,startClocks:(0,w.M8)(),source:E.g.CONSOLE,handling:"handled",nonErrorPrefix:"Provided",useFallbackStack:!1});return o.message=n,{api:e,message:n,handlingStack:r,error:o}}return{api:e,message:n,error:void 0,handlingStack:r}}(n,e,i))})},()=>{K.JZ[e]=r}}))),nh[t]}),(0,m.Fx)(...B)).subscribe(t=>T.notify(t.error)),(tT=[],(y=[ny,"intervention"]).includes(ny)&&tT.push((k=r,new m.cP(t=>{let{stop:e}=(0,tl.q)(k,document,"securitypolicyviolation",e=>{var r;let n;t.notify((r=e,n=`'${r.blockedURI}' blocked by '${r.effectiveDirective}' directive`,ng({type:r.effectiveDirective,message:`${ny}: ${n}
4`,originalError:r,csp:{disposition:r.disposition},stack:nm(r.effectiveDirective,r.originalPolicy?`${n} of the policy "${H(r.originalPolicy,100,"...")}"`:"no policy",r.sourceFile,r.lineNumber,r.columnNumber)})))});return e}))),(tk=y.filter(t=>t!==ny)).length&&tT.push((C=tk,new m.cP(t=>{if(!window.ReportingObserver)return;let e=(0,R.dm)((e,r)=>e.forEach(e=>t.notify(function(t){let{type:e,body:r}=t;return ng({type:r.id,message:`${e}: ${r.message}`,originalError:t,stack:nm(r.id,r.message,r.sourceFile,r.lineNumber,r.columnNumber)})}(e)))),r=new window.ReportingObserver(e,{types:C,buffered:!0});return r.observe(),()=>{r.disconnect()}}))),(0,m.Fx)(...tT)).subscribe(t=>tE.notify(t)),tE.subscribe(e=>t.notify(14,{error:e})),(U=t).subscribe(14,({error:t})=>{var e;let r,n;U.notify(12,(r={date:(e=t).startClocks.timeStamp,error:{id:q(),message:e.message,source:e.source,stack:e.stack,handling_stack:e.handlingStack,component_stack:e.componentStack,type:e.type,handling:e.handling,causes:e.causes,source_type:"browser",fingerprint:e.fingerprint,csp:e.csp},type:J.ERROR,context:e.context},n={error:e.originalError,handlingStack:e.handlingStack},{rawRumEvent:r,startClocks:e.startClocks,domainContext:n}))}),{addError:({error:t,handlingStack:e,componentStack:r,startClocks:n,context:i})=>{let o=(0,A.As)({originalError:t,handlingStack:e,componentStack:r,startClocks:n,nonErrorPrefix:"Provided",source:E.g.CUSTOM,handling:"handled"});o.context=(0,N.kg)(o.context,i),U.notify(14,{error:o})}});tO={clearTracingIfNeeded:rt,traceFetch:t=>re(r,t,n,tz,tG,e=>{var r;if(t.input instanceof Request&&!(null==(r=t.init)?void 0:r.headers))t.input=new Request(t.input),Object.keys(e).forEach(r=>{t.input.headers.append(r,e[r])});else{t.init=(0,tf.yG)(t.init);let r=[];t.init.headers instanceof Headers?t.init.headers.forEach((t,e)=>{r.push([e,t])}):Array.isArray(t.init.headers)?t.init.headers.forEach(t=>{r.push(t)}):t.init.headers&&Object.keys(t.init.headers).forEach(e=>{r.push([e,t.init.headers[e]])}),t.init.headers=r.concat((0,tH.WP)(e))}}),traceXhr:(t,e)=>re(r,t,n,tz,tG,t=>{Object.keys(t).forEach(r=>{e.setRequestHeader(r,t[r])})})},function(t,e,r){var n;(!u&&(n=e,u=new m.cP(t=>{let{stop:e}=(0,_.H)(XMLHttpRequest.prototype,"open",eG),{stop:r}=(0,_.H)(XMLHttpRequest.prototype,"send",e=>{!function({target:t,parameters:[e],handlingStack:r},n,i){let o=eW.get(t);if(!o)return;o.state="start",o.startClocks=(0,w.M8)(),o.isAborted=!1,o.xhr=t,o.handlingStack=r,o.requestBody=e;let a=!1,{stop:s}=(0,_.H)(t,"onreadystatechange",()=>{t.readyState===XMLHttpRequest.DONE&&u()}),u=()=>{c(),s(),a||(a=!0,o.state="complete",o.duration=(0,w.vk)(o.startClocks.timeStamp,(0,w.nx)()),o.status=t.status,"string"==typeof t.response&&(o.responseBody=t.response),i.notify((0,tf.yG)(o)))},{stop:c}=(0,tl.q)(n,t,"loadend",u);i.notify(o)}(e,n,t)},{computeHandlingStack:!0}),{stop:i}=(0,_.H)(XMLHttpRequest.prototype,"abort",eH);return()=>{e(),r(),i()}})),u).subscribe(e=>{if(e3(e.url))switch(e.state){case"start":r.traceXhr(e,e.xhr),e.requestIndex=ri(),t.notify(7,{requestIndex:e.requestIndex,url:e.url});break;case"complete":r.clearTracingIfNeeded(e),t.notify(8,{...e,type:"xhr",isAbortedOnStart:!1})}})}(t,r,tO),L=t,M=r,D=tO,tR({responseBodyAction:t=>{var e;return(null==(e=rr(t.url,M))?void 0:e.trackResponseErrors)?2:1}}).subscribe(t=>{var e;if(e3(t.url))switch(t.state){case"start":D.traceFetch(t),t.requestIndex=ri(),L.notify(7,{requestIndex:t.requestIndex,url:t.url});break;case"resolve":D.clearTracingIfNeeded(t),L.notify(8,{...t,duration:(0,w.vk)(t.startClocks.timeStamp,(0,w.nx)()),type:eK,requestBody:null==(e=t.init)?void 0:e.body})}});let er=function(t,e,r){function n(r){e.wasInPageStateDuringPeriod("frozen",r.startClocks.relative,r.duration)||t.notify(12,ts(r))}return{addOperationStepVital:function(e,r,n,i){if(!(0,j.sr)(j.R9.FEATURE_OPERATION_VITAL))return;let{operationKey:o,context:a,description:s,handlingStack:u}=n||{},c={name:e,type:"operation_step",operationKey:o,failureReason:i,stepType:r,startClocks:(0,w.M8)(),context:(0,P.a)(a),description:s,handlingStack:u};t.notify(12,ts(c))},addDurationVital:n,startDurationVital:(e,n={})=>{let i=to(r,e,n),o=r.vitalsByReference.get(i);return o&&t.notify(16,o),i},stopDurationVital:(t,e={})=>{ta(n,r,t,e)}}}(t,tL,a),en=(v=r.applicationId,S=tK.actionContexts,{get:t=>{let e=tM.findView(t),r=tD.findUrl(t),i=n.findTrackedSession(t);if(i&&e&&r){let n=S.findActionId(t);return{application_id:v,session_id:i.id,user_action:n?{id:n}:void 0,view:{id:e.id,name:e.name,referrer:r.referrer,url:r.url}}}}});return{addAction:tK.addAction,startAction:tK.startAction,stopAction:tK.stopAction,startResource:t7.startResource,stopResource:t7.stopResource,addEvent:tZ.addEvent,addError:ee,addTiming:tY,setLoadingTime:tX,addFeatureFlagEvaluation:tB.addFeatureFlagEvaluation,startView:t0,setVie
4wContext:t2,setViewContextProperty:t3,getViewContext:t6,setViewName:t1,viewHistory:tM,getInternalContext:en.get,startDurationVital:er.startDurationVital,stopDurationVital:er.stopDurationVital,addDurationVital:er.addDurationVital,addOperationStepVital:er.addOperationStepVital,globalContext:tV,userContext:tz,accountContext:tG,stop:()=>tI.forEach(t=>t())}}(L,y,t,B,e,n,a,c,v,M);return U.push(F),c.unbuffer(),U.push(()=>r.stop()),{...V,lifeCycle:L,session:B,stopSession:()=>B.expire(),telemetry:f,stop:()=>{U.forEach(t=>t())},hooks:y}}function iS(t,e,r={}){var n;let i,o,a,s={tryToInit(t){n||(n=t)},update(t){n=t,i.notify()},isGranted:()=>n===v.GRANTED,observable:i=new m.cP},u={vitalsByName:new Map,vitalsByReference:new WeakMap},c=(o=new m.dX(500),a=(0,b.B)(T)().subscribe(t=>{o.notify({type:0,error:t})}),{observable:o,stop:()=>{a.unsubscribe()}}).observable,l=function({ignoreInitIfSyntheticsWillInjectRum:t=!0,startDeflateWorker:e},r,n,i){let o,a,s,u,c,l,f=(l=[],{add:t=>{l.push(t)>500&&l.splice(0,1)},remove:t=>{(0,tc.Ai)(l,t)},drain:t=>{l.forEach(e=>e(t)),l.length=0}}),d=tv();eL(d,M,f);let p=t_();eL(p,L,f);let h=tw();eL(h,D,f);let y=tV(),g=r.observable.subscribe(_),m={};function _(){let t;if(!s||!u||!r.isGranted())return;if(c||(c=(0,b.B)(I.a5)("browser-rum-sdk",u,y)),g.unsubscribe(),u.trackViewsManually){if(!o)return;f.remove(o.callback),t=o.options}let e=i(u,a,t,c,y);f.drain(e)}function x(t,n){var i,o,c,l,f,d,p,h,y;let g,m,x=(0,tx.d0)();if(x&&(t={...p=t,applicationId:"00000000-aaaa-0000-aaaa-000000000000",clientToken:"empty",sessionSampleRate:100,defaultPrivacyLevel:null!=(h=p.defaultPrivacyLevel)?h:null==(y=(0,tx.Y9)())?void 0:y.getPrivacyLevel()}),s=t,(0,I.Rr)((g={session_sample_rate:(c=i=t).sessionSampleRate,telemetry_sample_rate:c.telemetrySampleRate,telemetry_configuration_sample_rate:c.telemetryConfigurationSampleRate,telemetry_usage_sample_rate:c.telemetryUsageSampleRate,use_before_send:!!c.beforeSend,use_partitioned_cross_site_session_cookie:c.usePartitionedCrossSiteSessionCookie,use_secure_session_cookie:c.useSecureSessionCookie,use_proxy:!!c.proxy,silent_multiple_init:c.silentMultipleInit,track_session_across_subdomains:c.trackSessionAcrossSubdomains,track_anonymous_user:c.trackAnonymousUser,session_persistence:Array.isArray(c.sessionPersistence)?c.sessionPersistence[0]:c.sessionPersistence,allow_fallback_to_local_storage:!!c.allowFallbackToLocalStorage,store_contexts_across_pages:!!c.storeContextsAcrossPages,allow_untrusted_events:!!c.allowUntrustedEvents,tracking_consent:c.trackingConsent,use_allowed_tracking_origins:Array.isArray(c.allowedTrackingOrigins),beta_encode_cookie_options:c.betaEncodeCookieOptions,source:c.source,sdk_version:c.sdkVersion,variant:c.variant},{session_replay_sample_rate:i.sessionReplaySampleRate,start_session_replay_recording_manually:i.startSessionReplayRecordingManually,trace_sample_rate:i.traceSampleRate,trace_context_injection:i.traceContextInjection,propagate_trace_baggage:i.propagateTraceBaggage,action_name_attribute:i.actionNameAttribute,use_allowed_tracing_urls:(0,tc.EI)(i.allowedTracingUrls),use_allowed_graph_ql_urls:(0,tc.EI)(i.allowedGraphQlUrls),use_track_graph_ql_payload:(l=i.allowedGraphQlUrls,(0,tc.EI)(l)&&l.some(t=>(0,th.O)(t)&&t.trackPayload)),use_track_graph_ql_response_errors:(f=i.allowedGraphQlUrls,(0,tc.EI)(f)&&f.some(t=>(0,th.O)(t)&&t.trackResponseErrors)),selected_tracing_propagators:(m=new Set,(0,tc.EI)(i.allowedTracingUrls)&&i.allowedTracingUrls.forEach(t=>{var e;null==(e=eb(t))||e.propagatorTypes.forEach(t=>m.add(t))}),Array.from(m)),default_privacy_level:i.defaultPrivacyLevel,enable_privacy_for_action_name:i.enablePrivacyForActionName,use_excluded_activity_urls:(0,tc.EI)(i.excludedActivityUrls),use_worker_url:!!i.workerUrl,compress_intake_requests:i.compressIntakeRequests,track_views_manually:i.trackViewsManually,track_user_interactions:i.trackUserInteractions,track_resources:i.trackResources,track_long_task:i.trackLongTasks,track_bfcache_views:i.trackBfcacheViews,track_early_requests:i.trackEarlyRequests,plugins:null==(o=i.plugins)?void 0:o.map(t=>{var e;return{name:t.name,...null==(e=t.getConfigurationTelemetry)?void 0:e.call(t)}}),track_feature_flags_for_events:i.trackFeatureFlagsForEvents,remote_configuration_id:i.remoteConfigurationId,profiling_sample_rate:i.profilingSampleRate,use_remote_configuration_proxy:!!i.remoteConfigurationProxy,track_resource_headers:!0===(d=i.trackResourceHeaders)?"default_headers":Array.isArray(d)?"custom"
4:void 0,...g})),u)return void Z("DD_RUM",t);let A=function(t,e){var r,n,i,o,a,s,u;if(void 0===t.trackFeatureFlagsForEvents||Array.isArray(t.trackFeatureFlagsForEvents)||K.Vy.warn("trackFeatureFlagsForEvents should be an array"),!t.applicationId)return void K.Vy.error("Application ID is not configured, no RUM data will be collected.");if(!eg(t.sessionReplaySampleRate,"Session Replay")||!eg(t.traceSampleRate,"Trace"))return;if(void 0!==t.excludedActivityUrls&&!Array.isArray(t.excludedActivityUrls))return void K.Vy.error("Excluded Activity Urls should be an array");let c=function(t){if(void 0===t.allowedTracingUrls)return[];if(!Array.isArray(t.allowedTracingUrls))return void K.Vy.error("Allowed Tracing URLs should be an array");if(0!==t.allowedTracingUrls.length&&void 0===t.service)return void K.Vy.error("Service needs to be configured when tracing is enabled");let e=[];return t.allowedTracingUrls.forEach(t=>{let r=eb(t);r?e.push(r):K.Vy.warn("Allowed Tracing Urls parameters should be a string, RegExp, function, or an object. Ignoring parameter",t)}),e}(t);if(!c)return;let l=function(t,e){var r,n,i,o,a,s,u,c,l,f,d,p,h;if(!t||!t.clientToken)return void K.Vy.error("Client Token is not configured, we will not send any data.");if(void 0!==t.allowedTrackingOrigins&&!Array.isArray(t.allowedTrackingOrigins))return void K.Vy.error("Allowed Tracking Origins must be an array");if((!(d=t.site)||"string"!=typeof d||/(datadog|ddog|datad0g|dd0g)/.test(d)||(K.Vy.error(`Site should be a valid Datadog site. ${K.xG} ${K.fH}/getting_started/site/.`),0))&&eg(t.sessionSampleRate,"Session")&&eg(t.telemetrySampleRate,"Telemetry")&&eg(t.telemetryConfigurationSampleRate,"Telemetry Configuration")&&eg(t.telemetryUsageSampleRate,"Telemetry Usage")&&ey(t.version,"Version")&&ey(t.env,"Env")&&ey(t.service,"Service")&&function(t,e){let r=(0,b.B)((0,S.VZ)().location),n=r?r.origin:"",i=t.allowedTrackingOrigins;if(!i)return!function(t,e=""){return!ec(t)&&ec(e.split("\n").filter(t=>{let e=t.trim();return e.length&&/^at\s+|@/.test(e)})[1]||"")}(n,e)||(K.Vy.error("Running the Browser SDK in a Web extension content script is forbidden unless the `allowedTrackingOrigins` option is provided."),!1);let o=es(i,n);return o||K.Vy.error("SDK initialized on a non-allowed domain."),o}(t,null!=e?e:"")){let e,d,y;if(void 0!==t.trackingConsent&&!(0,tf.Rj)(v,t.trackingConsent))return void K.Vy.error('Tracking Consent should be either "granted" or "not-granted"');return{beforeSend:t.beforeSend&&(0,tz.y)(t.beforeSend,"beforeSend threw an error:"),sessionStoreStrategyType:S.Wq?void 0:function(t){var e,r;let{sessionPersistence:n}=t;for(let i of(e=n,r=t,Array.isArray(e)?e:void 0!==e?[e]:r.allowFallbackToLocalStorage?[tK.Q_.COOKIE,tK.Q_.LOCAL_STORAGE]:[tK.Q_.COOKIE])){let e=function(t,e){switch(t){case tK.Q_.COOKIE:let r;return(r=function(t){let e={};if(e.secure=!!t.useSecureSessionCookie||!!t.usePartitionedCrossSiteSessionCookie,e.crossSite=!!t.usePartitionedCrossSiteSessionCookie,e.partitioned=!!t.usePartitionedCrossSiteSessionCookie,t.trackSessionAcrossSubdomains){let t=tj();if(!t)return;e.domain=t}return e}(e))&&function(t){if(void 0===document.cookie||null===document.cookie)return!1;try{let e=`dd_cookie_test_${q()}`,r="test";tC(e,r,w.iW,t);let n=tN(e)===r;return tC(e,"",0,t),n}catch(t){return K.Vy.error(t),!1}}(r)?{type:tK.Q_.COOKIE,cookieOptions:r}:void 0;case tK.Q_.LOCAL_STORAGE:try{let t=q(),e=`_dd_test_${t}`;localStorage.setItem(e,t);let r=localStorage.getItem(e);return localStorage.removeItem(e),t===r?{type:tK.Q_.LOCAL_STORAGE}:void 0}catch(t){return}case tK.Q_.MEMORY:return{type:tK.Q_.MEMORY};default:K.Vy.error(`Invalid session persistence '${String(t)}'`);return}}(i,t);if(void 0!==e)return e}}(t),sessionSampleRate:null!=(r=t.sessionSampleRate)?r:100,telemetrySampleRate:null!=(n=t.telemetrySampleRate)?n:20,telemetryConfigurationSampleRate:null!=(i=t.telemetryConfigurationSampleRate)?i:5,telemetryUsageSampleRate:null!=(o=t.telemetryUsageSampleRate)?o:5,service:null!=(a=t.service)?a:void 0,env:null!=(s=t.env)?s:void 0,version:null!=(u=t.version)?u:void 0,datacenter:null!=(c=t.datacenter)?c:void 0,silentMultipleInit:!!t.silentMultipleInit,allowUntrustedEvents:!!t.allowUntrustedEvents,trackingConsent:null!=(l=t.trackingConsent)?l:v.GRANTED,trackAnonymousUser:null==(f=t.trackAnonymousUser)||f,storeContextsAcrossPages:!!t.storeContextsAcrossPages,betaEncodeCookieOptions:!!t.betaEncodeCookieOptions,variant:t.variant,sdkVersion:t.sdkVersion,...(e=t.site||el.NW,d="flutter"===(p=t.source)||"unity"===p?p:"browser",y={logsEndpointBuilder:ef(h={...t,site:e,source:d},"logs"),rumEndpointBuilder:ef(h,"rum"),profilingEndpointBuilder:ef(h,"profile"),sessionReplayEndpointBuilder:ef(h,"replay"),exposuresEndpointBuilder:ef(h,"exposures"),flagEvaluationEndpointBuilder:ef(h,"flagevaluation")},{replica:function(t){if(!t.replica)return;let e={...t,site:el.NW,clientToken:t.replica.clientToken};return{logsEndpointBuilder:ef(e,"logs"),rumEndpointBuilder:ef(e,"rum",[`application.id=${t.replica.applicationId}`])}}({...t,site:e,source:d}),site:e,source:d,...y})}}}(t,e),f=function(t){if(!t.allowedGraphQlUrls)return[];if(!Array.isArray(t.allowedGraphQlUrls))return K.Vy.warn("allowedGraphQlUrls should be an array"),[];let e=[];
4return t.allowedGraphQlUrls.forEach(t=>{ea(t)?e.push({match:t,trackPayload:!1,trackResponseErrors:!1}):(0,th.O)(t)&&ea(t.match)&&e.push({match:t.match,trackPayload:!!t.trackPayload,trackResponseErrors:!!t.trackResponseErrors})}),e}(t);if(!l)return;let d=null!=(r=t.sessionReplaySampleRate)?r:0;return{applicationId:t.applicationId,actionNameAttribute:t.actionNameAttribute,betaTrackActionsInShadowDom:!!t.betaTrackActionsInShadowDom,sessionReplaySampleRate:d,startSessionReplayRecordingManually:void 0!==t.startSessionReplayRecordingManually?!!t.startSessionReplayRecordingManually:0===d,traceSampleRate:null!=(n=t.traceSampleRate)?n:100,rulePsr:(0,tq.Et)(t.traceSampleRate)?t.traceSampleRate/100:void 0,allowedTracingUrls:c,excludedActivityUrls:null!=(i=t.excludedActivityUrls)?i:[],workerUrl:t.workerUrl,compressIntakeRequests:!!t.compressIntakeRequests,trackUserInteractions:!!(null==(o=t.trackUserInteractions)||o),trackViewsManually:!!t.trackViewsManually,trackResources:!!(null==(a=t.trackResources)||a),trackResourceHeaders:function(t){let e=t.trackResourceHeaders;if(void 0===e||!1===e)return[];if(!0===e)return ev.map(t=>({name:t}));if(!Array.isArray(e))return K.Vy.warn("trackResourceHeaders should be true or an array of MatchHeader"),[];if(0===e.length)return K.Vy.warn("trackResourceHeaders is an empty array, no headers will be captured"),[];let r=[];return e.forEach((t,e)=>{(0,th.O)(t)&&ea(t.name)?void 0===t.url||ea(t.url)?void 0===t.extractor||t.extractor instanceof RegExp?void 0===t.location||e_.includes(t.location)?r.push({...t,name:"string"==typeof t.name?t.name.toLowerCase():t.name}):K.Vy.warn(`trackResourceHeaders[${e}].location should be 'request', 'response', or 'any'`):K.Vy.warn(`trackResourceHeaders[${e}].extractor should be a RegExp`):K.Vy.warn(`trackResourceHeaders[${e}].url should be a MatchOption`):K.Vy.warn(`trackResourceHeaders[${e}] should be a MatchHeader object with a 'name' property`)}),r}(t),trackLongTasks:!!(null==(s=t.trackLongTasks)||s),trackBfcacheViews:!!t.trackBfcacheViews,trackEarlyRequests:!!t.trackEarlyRequests,subdomain:t.subdomain,defaultPrivacyLevel:(0,tf.Rj)(ep,t.defaultPrivacyLevel)?t.defaultPrivacyLevel:ep.MASK,enablePrivacyForActionName:!!t.enablePrivacyForActionName,traceContextInjection:(0,tf.Rj)(eh,t.traceContextInjection)?t.traceContextInjection:eh.SAMPLED,plugins:t.plugins||[],trackFeatureFlagsForEvents:t.trackFeatureFlagsForEvents||[],profilingSampleRate:null!=(u=t.profilingSampleRate)?u:0,propagateTraceBaggage:!!t.propagateTraceBaggage,allowedGraphQlUrls:f,...l}}(t,n);if(A){if(!x&&!A.sessionStoreStrategyType)return void K.Vy.warn("No storage available for session. We will not send any data.");if(A.compressIntakeRequests&&!x&&e&&!(a=e(A,"Datadog RUM",tS.l)))return;u=A,tR().subscribe(tS.l),r.tryToInit(A.trackingConsent),_()}}let A=t=>{f.add(e=>e.addDurationVital(t))};return{init(e,r,n){e?((0,j.Aq)(e.enableExperimentalFeatures),s=e,t&&t$()||(tu(e.plugins,"onInit",{initConfiguration:e,publicApi:r}),e.remoteConfigurationId?eP(e,{user:p,context:d}).then(t=>{t&&x(t,n)}).catch(R.Dx):x(e,n))):K.Vy.error("Missing configuration")},get initConfiguration(){return s},getInternalContext:tS.l,stopSession:tS.l,addTiming(t,e=(0,w.nx)()){f.add(r=>r.addTiming(t,e))},setLoadingTime:t=>{f.add(e=>e.setLoadingTime(t))},startView(t,e=(0,w.M8)()){let r=r=>{r.startView(t,e)};f.add(r),o||(o={options:t,callback:r},_())},setViewName(t){f.add(e=>e.setViewName(t))},setViewContext(t){f.add(e=>e.setViewContext(t))},setViewContextProperty(t,e){f.add(r=>r.setViewContextProperty(t,e))},getViewContext:()=>m,globalContext:d,userContext:p,accountContext:h,addAction(t){f.add(e=>e.addAction(t))},startAction(t,e){let r=(0,w.M8)();f.add(n=>n.startAction(t,e,r))},stopAction(t,e){let r=(0,w.M8)();f.add(n=>n.stopAction(t,e,r))},startResource(t,e){let r=(0,w.M8)();f.add(n=>n.startResource(t,e,r))},stopResource(t,e){let r=(0,w.M8)();f.add(n=>n.stopResource(t,e,r))},addError(t){f.add(e=>e.addError(t))},addFeatureFlagEvaluation(t,e){f.add(r=>r.addFeatureFlagEvaluation(t,e))},startDurationVital:(t,e)=>to(n,t,e),stopDurationVital(t,e){ta(A,n,t,e)}
4,addDurationVital:A,addOperationStepVital:(t,e,r,n)=>{f.add(i=>i.addOperationStepVital((0,P.a)(t),e,(0,P.a)(r),(0,P.a)(n)))}}}(r,s,u,(n,i,o,a,f)=>{var d,p;let h=i&&r.createDeflateEncoder?t=>r.createDeflateEncoder(n,i,t):k.N,y=(0,b.B)(ix)(n,t,e,o,h,s,u,c,a,f,r.sdkName);return t.onRumStart(y.lifeCycle,n,y.session,y.viewHistory,i,y.telemetry),e.onRumStart(y.lifeCycle,y.hooks,n,y.session,y.viewHistory,h),d=l,p=y,l={init:t=>{Z("DD_RUM",t)},initConfiguration:d.initConfiguration,...p},tu(n.plugins,"onRumStart",{strategy:l,addEvent:y.addEvent,addError:y.addError}),y}),f=()=>l,d=(0,C.m)({init:t=>{let e=Error().stack;(0,R.um)(()=>l.init(t,d,e))},setTrackingConsent:(0,R.dm)(t=>{s.update(t),(0,I.Q6)({feature:"set-tracking-consent",tracking_consent:t})}),setViewName:(0,R.dm)(t=>{l.setViewName(t),(0,I.Q6)({feature:"set-view-name"})}),setViewContext:(0,R.dm)(t=>{l.setViewContext(t),(0,I.Q6)({feature:"set-view-context"})}),setViewContextProperty:(0,R.dm)((t,e)=>{l.setViewContextProperty(t,e),(0,I.Q6)({feature:"set-view-context-property"})}),getViewContext:(0,R.dm)(()=>((0,I.Q6)({feature:"set-view-context-property"}),l.getViewContext())),getInternalContext:(0,R.dm)(t=>l.getInternalContext(t)),getInitConfiguration:(0,R.dm)(()=>(0,N.Go)(l.initConfiguration)),addAction:(t,e)=>{let r=(0,O.uC)("action");(0,R.um)(()=>{l.addAction({name:(0,P.a)(t),context:(0,P.a)(e),startClocks:(0,w.M8)(),type:te,handlingStack:r}),(0,I.Q6)({feature:"add-action"})})},startAction:(0,R.dm)((t,e)=>{(!l.initConfiguration||(0,j.sr)(j.R9.START_STOP_ACTION))&&l.startAction((0,P.a)(t),{type:(0,P.a)(e&&e.type),context:(0,P.a)(e&&e.context),actionKey:e&&e.actionKey})}),stopAction:(0,R.dm)((t,e)=>{(!l.initConfiguration||(0,j.sr)(j.R9.START_STOP_ACTION))&&l.stopAction((0,P.a)(t),{type:(0,P.a)(e&&e.type),context:(0,P.a)(e&&e.context),actionKey:e&&e.actionKey})}),startResource:(0,R.dm)((t,e)=>{(!l.initConfiguration||(0,j.sr)(j.R9.START_STOP_RESOURCE))&&l.startResource((0,P.a)(t),{type:(0,P.a)(e&&e.type),method:(0,P.a)(e&&e.method),context:(0,P.a)(e&&e.context),resourceKey:e&&e.resourceKey})}),stopResource:(0,R.dm)((t,e)=>{(!l.initConfiguration||(0,j.sr)(j.R9.START_STOP_RESOURCE))&&l.stopResource((0,P.a)(t),{type:(0,P.a)(e&&e.type),statusCode:e&&e.statusCode,size:e&&e.size,context:(0,P.a)(e&&e.context),resourceKey:e&&e.resourceKey})}),addError:(t,e)=>{let r=(0,O.uC)("error");(0,R.um)(()=>{l.addError({error:t,handlingStack:r,context:(0,P.a)(e),startClocks:(0,w.M8)()}),(0,I.Q6)({feature:"add-error"})})},addTiming:(0,R.dm)((t,e)=>{l.addTiming((0,P.a)(t),e)}),setViewLoadingTime:(0,R.dm)(()=>{let t=(0,w.nx)();l.setLoadingTime(t),(0,I.Q6)({feature:"addViewLoadingTime"})}),setGlobalContext:U(f,M,$,"set-global-context"),getGlobalContext:U(f,M,B,"get-global-context"),setGlobalContextProperty:U(f,M,F,"set-global-context-property"),removeGlobalContextProperty:U(f,M,V,"remove-global-context-property"),clearGlobalContext:U(f,M,z,"clear-global-context"),setUser:U(f,L,$,"set-user"),getUser:U(f,L,B,"get-user"),setUserProperty:U(f,L,F,"set-user-property"),removeUserProperty:U(f,L,V,"remove-user-property"),clearUser:U(f,L,z,"clear-user"),setAccount:U(f,D,$,"set-account"),getAccount:U(f,D,B,"get-account"),setAccountProperty:U(f,D,F,"set-account-property"),removeAccountProperty:U(f,D,V,"remove-account-property"),clearAccount:U(f,D,z,"clear-account"),startView:t=>{let e=(0,O.uC)("view");(0,R.um)(()=>{l.startView({..."object"==typeof t?t:{name:t},handlingStack:e}),(0,I.Q6)({feature:"start-view"})})},stopSession:(0,R.dm)(()=>{l.stopSession(),(0,I.Q6)({feature:"stop-session"})}),addFeatureFlagEvaluation:(0,R.dm)((t,e)=>{l.addFeatureFlagEvaluation((0,P.a)(t),(0,P.a)(e)),(0,I.Q6)({feature:"add-feature-flag-evaluation"})}),getSessionReplayLink:(0,R.dm)(()=>t.getSessionReplayLink()),startSessionReplayRecording:(0,R.dm)(e=>{t.start(e),(0,I.Q6)({feature:"start-session-replay-recording",force:e&&e.force})}),stopSessionReplayRecording:(0,R.dm)(()=>t.stop()),addDurationVital:(t,e)=>{let r=(0,O.uC)("vital");(0,R.um)(()=>{(0,I.Q6)({feature:"add-duration-vital"}),l.addDurationVital({id:q(),name:(0,P.a)(t),type:ti,startClocks:(0,w.jR)(e.startTime),duration:e.duration,context:(0,P.a)(e&&e.context),description:(0,P.a)(e&&e.description),handlingStack:r})})},startDurationVital:(t,e)=>{let r=(0,O.uC)("vital");return(0,R.um)(()=>((0,I.Q6)({feature:"start-duration-vital"}),l.startDurationVital((0,P.a)(t),{context:(0,P.a)(e&&e.context),description:(0,P.a)(e&&e.description),handlingStack:r})))},stopDurationVital:(0,R.dm)((t,e)=>{(0,I.Q6)({feature:"stop-duration-vital"}),l.stopDurationVital("string"==typeof t?(0,P.a)(t):t,{context:(0,P.a)(e&&e.context),description:(0,P.a)(e&&e.description)})}),startFeatureOperation:(t,e)=>{let r=(0,O.uC)("vital");(0,R.um)(()=>{(0,I.Q6)({feature:"add-operation-step-vital",action_type:"start"}),l.addOperationStepVital(t,"start",{...e,handlingStack:r})})},succeedFeatureOperation:(0,R.dm)((t,e)=>{(0,I.Q6)({feature:"add-operation-step-vital",action_type:"succeed"}),l.addOperationStepVital(t,"end",e)}),failFeatureOperation:(0,R.dm)((t,e,r)=>{(0,I.Q6)({feature:"add-operation-step-vital",action_type:"fail"}),l.addOperationStepVital(t,"end",r,e)})});return d}function iA(t,{session:e,viewContext:r,errorType:n}){var i;let o,a,s=e?e.id:"no-session-id",u=[];void 0!==n&&u.push(`error-type=${n}`),r&&(u.push(`seed=${r.id}`),u.push(`from=${r.startClocks.timeStamp}`));let c=(o=(i=t).site,a=i.subdomain||function(t){switch(t.site){case el.NW:case el.dV:return"app";case el.Bb:return"dd";default:return}}(i),`https://${a?`${a}.`:""}${o}`),l=`/rum/replay/sessions/${s}`;return`${c}${l}?${u.join("&")}`}function iE(t,e,r,n){let i=(0,n4.sA)([t.profilingEndpointBuilder],t=>{e.notify(14,{error:t}),(0,I.A2)("Error reported to customer",{"error.message":t.message})}),o=r(n);return{async send({event:t,...e}){let r=new FormData,n=(0,np.s)(t);if(!n)throw Error("Failed to serialize event");r.append("event",new Blob([n],{type:"application/json"}),"event.json");let a=n.length;for(let[t,n]of(0,tH.WP)(e)){let e=(0,np.s)(n);if(!e)throw Error("Failed to serialize attachment");let i=await function(t,e){return new Promise(r=>{t.write(e),t.finish(t=>{r(t)})})}(o,e);a+=i.outputBytesCount,r.append(t,new Blob([i.output]),t)}i.send({data:r,bytesCount:a})}}}},2932(t,e,r){"use strict";let n;function i(t){return c(t).segments_count}function o(t){c(t).segments_count+=1}function a(t){c(t).records_count+=1}function s(t,e){c(t).segments_total_raw_size+=e}function u(t){return null==n?void 0:n.get(t)}function c(t){let e;return n||(n=new Map),n.has(t)?e=n.get(t):(e={records_count:0,segments_count:0,segments_total_raw_size:0},n.set(t,e),n.size>1e3&&function(){if(!n)return;let t=n.keys().next().value;t&&n.delete(t)}()),e}r.d(e,{$1:()=>a,H5:()=>o,K_:()=>i,L7:()=>s,lv:()=>u})},7300(t,e,r){"use strict";var n=r(4607)("ArrayBuffer.prototype.byteLength",!0),i=r(6227);t.exports=function(t){return i(t)?n?n(t):t.byteLength:NaN}},1361(t){"use strict";let e=(async function(){}).constructor;t.exports=()=>e},8165(t,e,r){"use strict";var n=r(9138),i=r(6095),o=r(4531);t.exports=r(7196)||n.call(o,i)},2012(t,e,r){"use strict";var n=r(9138),i=r(6095),o=r(8165);t.exports=function(){return o(n,i,arguments)}},6095(t){"use strict";
4t.exports=Function.prototype.apply},4531(t){"use strict";t.exports=Function.prototype.call},9903(t,e,r){"use strict";var n=r(9138),i=r(3468),o=r(4531),a=r(8165);t.exports=function(t){if(t.length<1||"function"!=typeof t[0])throw new i("a function is required");return a(n,o,t)}},7196(t){"use strict";t.exports="u">typeof Reflect&&Reflect&&Reflect.apply},8498(t,e,r){"use strict";var n=r(6108),i=r(4940),o=r(9903),a=r(2012);t.exports=function(t){var e=o(arguments),r=t.length-(arguments.length-1);return n(e,1+(r>0?r:0),!0)},i?i(t.exports,"apply",{value:a}):t.exports.apply=a},4607(t,e,r){"use strict";var n=r(528),i=r(9903),o=i([n("%String.prototype.indexOf%")]);t.exports=function(t,e){var r=n(t,!!e);return"function"==typeof r&&o(t,".prototype.")>-1?i([r]):r}},686(t,e,r){"use strict";var n=r(4940),i=r(5731),o=r(3468),a=r(9336);t.exports=function(t,e,r){if(!t||"object"!=typeof t&&"function"!=typeof t)throw new o("`obj` must be an object or a function`");if("string"!=typeof e&&"symbol"!=typeof e)throw new o("`property` must be a string or a symbol`");if(arguments.length>3&&"boolean"!=typeof arguments[3]&&null!==arguments[3])throw new o("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&"boolean"!=typeof arguments[4]&&null!==arguments[4])throw new o("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&"boolean"!=typeof arguments[5]&&null!==arguments[5])throw new o("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&"boolean"!=typeof arguments[6])throw new o("`loose`, if provided, must be a boolean");var s=arguments.length>3?arguments[3]:null,u=arguments.length>4?arguments[4]:null,c=arguments.length>5?arguments[5]:null,l=arguments.length>6&&arguments[6],f=!!a&&a(t,e);if(n)n(t,e,{configurable:null===c&&f?f.configurable:!c,enumerable:null===s&&f?f.enumerable:!s,value:r,writable:null===u&&f?f.writable:!u});else if(!l&&(s||u||c))throw new i("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");else t[e]=r}},1857(t,e,r){"use strict";var n=r(9228),i="function"==typeof Symbol&&"symbol"==typeof Symbol("foo"),o=Object.prototype.toString,a=Array.prototype.concat,s=r(686),u=r(7239)(),c=function(t,e,r,n){if(e in t){if(!0===n){if(t[e]===r)return}else if("function"!=typeof n||"[object Function]"!==o.call(n)||!n())return}u?s(t,e,r,!0):s(t,e,r)},l=function(t,e){var r=arguments.length>2?arguments[2]:{},o=n(e);i&&(o=a.call(o,Object.getOwnPropertySymbols(e)));for(var s=0;s<o.length;s+=1)c(t,o[s],e[o[s]],r[o[s]])};l.supportsDescriptors=!!u,t.exports=l},6423(t,e,r){"use strict";var n,i=r(9903),o=r(9336);try{n=[].__proto__===Array.prototype}catch(t){if(!t||"object"!=typeof t||!("code"in t)||"ERR_PROTO_ACCESS"!==t.code)throw t}var a=!!n&&o&&o(Object.prototype,"__proto__"),s=Object,u=s.getPrototypeOf;t.exports=a&&"function"==typeof a.get?i([a.get]):"function"==typeof u&&function(t){return u(null==t?t:s(t))}},4940(t){"use strict";var e=Object.defineProperty||!1;if(e)try{e({},"a",{value:1})}catch(t){e=!1}t.exports=e},9110(t){"use strict";t.exports=EvalError},9838(t){"use strict";t.exports=Error},1155(t){"use strict";t.exports=RangeError},4943(t){"use strict";t.exports=ReferenceError},5731(t){"use strict";t.exports=SyntaxError},3468(t){"use strict";t.exports=TypeError},2140(t){"use strict";t.exports=URIError},763(t,e,r){"use strict";var n=r(3468);t.exports=function(t){if(null==t)throw new n(arguments.length>0&&arguments[1]||"Cannot call method on "+t);return t}},9629(t){"use strict";t.exports=Object},6482(t){"use strict";t.exports=function(t){return!!t&&("function"==typeof t||"object"==typeof t)}},3606(t,e,r){"use strict";var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator,i=r(8659),o=r(9617),a=r(9543),s=r(3409),u=function(t,e){if(null==t)throw TypeError("Cannot call method on "+t);if("string"!=typeof e||"number"!==e&&"string"!==e)throw TypeError('hint must be "string" or "number"');var r,n,a,s="string"===e?["toString","valueOf"]:["valueOf","toString"];for(a=0;a<s.length;++a)if(o(r=t[s[a]])&&i(n=r.call(t)))return n;throw TypeError("No default value")},c=function(t,e){var r=t[e];if(null!=r){if(!o(r))throw TypeError(r+" returned for property "+String(e)+" of object "+t+" is not a function");return r}};t.exports=function(t){if(i(t))return t;var e,r="default";if(arguments.length>1&&(arguments[1]===String?r="string":arguments[1]===Number&&(r="number")),n&&(Symbol.toPrimitive?e=c(t,Symbol.toPrimitive):s(t)&&(e=Symbol.prototype.valueOf)),void 0!==e){var o=e.call(t,r);
4if(i(o))return o;throw TypeError("unable to convert exotic object to primitive")}return"default"===r&&(a(t)||s(t))&&(r="string"),u(t,"default"===r?"number":r)}},8659(t){"use strict";t.exports=function(t){return null===t||"function"!=typeof t&&"object"!=typeof t}},705(t,e,r){"use strict";var n=r(9617),i=Object.prototype.toString,o=Object.prototype.hasOwnProperty,a=function(t,e,r){for(var n=0,i=t.length;n<i;n++)o.call(t,n)&&(null==r?e(t[n],n,t):e.call(r,t[n],n,t))},s=function(t,e,r){for(var n=0,i=t.length;n<i;n++)null==r?e(t.charAt(n),n,t):e.call(r,t.charAt(n),n,t)},u=function(t,e,r){for(var n in t)o.call(t,n)&&(null==r?e(t[n],n,t):e.call(r,t[n],n,t))};t.exports=function(t,e,r){var o;if(!n(e))throw TypeError("iterator must be a function");(arguments.length>=3&&(o=r),"[object Array]"===i.call(t))?a(t,e,o):"string"==typeof t?s(t,e,o):u(t,e,o)}},8794(t){"use strict";var e=Object.prototype.toString,r=Math.max,n=function(t,e){for(var r=[],n=0;n<t.length;n+=1)r[n]=t[n];for(var i=0;i<e.length;i+=1)r[i+t.length]=e[i];return r},i=function(t,e){for(var r=[],n=e||0,i=0;n<t.length;n+=1,i+=1)r[i]=t[n];return r},o=function(t,e){for(var r="",n=0;n<t.length;n+=1)r+=t[n],n+1<t.length&&(r+=e);return r};t.exports=function(t){var a,s=this;if("function"!=typeof s||"[object Function]"!==e.apply(s))throw TypeError("Function.prototype.bind called on incompatible "+s);for(var u=i(arguments,1),c=r(0,s.length-u.length),l=[],f=0;f<c;f++)l[f]="$"+f;if(a=Function("binder","return function ("+o(l,",")+"){ return binder.apply(this,arguments); }")(function(){if(this instanceof a){var e=s.apply(this,n(u,arguments));return Object(e)===e?e:this}return s.apply(t,n(u,arguments))}),s.prototype){var d=function(){};d.prototype=s.prototype,a.prototype=new d,d.prototype=null}return a}},9138(t,e,r){"use strict";var n=r(8794);t.exports=Function.prototype.bind||n},13(t,e,r){"use strict";var n=r(9617),i=r(8554),o=r(8993)(),a=r(4607),s=a("Function.prototype.toString"),u=a("String.prototype.match"),c=a("Object.prototype.toString"),l=/^class /,f=function(t){if(n(t)||"function"!=typeof t)return!1;try{return!!u(s(t),l)}catch(t){}return!1},d=/\s*function\s+([^(\s]*)\s*/,p=!(0 in[,]),h=Function.prototype,y=function(){return!1};"object"==typeof document&&c(document.all)===c(document.all)&&(y=function(t){if((p||!t)&&(void 0===t||"object"==typeof t))try{var e=c(t);return("[object HTMLAllCollection]"===e||"[object Object]"===e)&&null==t("")}catch(t){}return!1}),t.exports=function(){if(y(this)||!f(this)&&!n(this))throw TypeError("Function.prototype.name sham getter called on non-function");if(o&&i(this,"name"))return this.name;if(this===h)return"";var t=u(s(this),d);return t&&t[1]}},2923(t,e,r){"use strict";var n=r(1857),i=r(8498),o=r(13),a=r(728),s=r(2786),u=i(o);n(u,{getPolyfill:a,implementation:o,shim:s}),t.exports=u},728(t,e,r){"use strict";var n=r(13);t.exports=function(){return n}},2786(t,e,r){"use strict";var n=r(1857).supportsDescriptors,i=r(8993)(),o=r(728),a=Object.defineProperty,s=TypeError;t.exports=function(){var t=o();if(i)return t;if(!n)throw new s("Shimming Function.prototype.name support requires ES5 property descriptor support.");var e=Function.prototype;return a(e,"name",{configurable:!0,enumerable:!1,get:function(){var r=t.call(this);return this!==e&&a(this,"name",{configurable:!0,enumerable:!1,value:r,writable:!1}),r}}),t}},8993(t){"use strict";var e=function(){return"string"==typeof(function(){}).name},r=Object.getOwnPropertyDescriptor;if(r)try{r([],"length")}catch(t){r=null}e.functionsHaveConfigurableNames=function(){if(!e()||!r)return!1;var t=r(function(){},"name");return!!t&&!!t.configurable};var n=Function.prototype.bind;e.boundFunctionsHaveNames=function(){return e()&&"function"==typeof n&&""!==(function(){}).bind().name},t.exports=e},528(t,e,r){"use strict";var n,i=r(9629),o=r(9838),a=r(9110),s=r(1155),u=r(4943),c=r(5731),l=r(3468),f=r(2140),d=r(8479),p=r(8449),h=r(8129),y=r(2387),g=r(5865),m=r(1319),v=r(6882),b=Function,_=function(t){try{return b('"use strict"; return ('+t+").constructor;")()}catch(t){}},w=r(9336),x=r(4940),S=function(){throw new l},A=w?function(){try{return arguments.callee,S}catch(t){try{return w(arguments,"callee").get}catch(t){return S}}}():S,E=r(3558)(),T=r(6369),k=r(7345),O=r(7859),R=r(6095),I=r(4531),C={},N="u">typeof Uint8Array&&T?T(Uint8Array):n,P={__proto__:null,"%AggregateError%":"u"<typeof AggregateError?n:AggregateError,"%Array%":Array,"%ArrayBuffer%":"u"<typeof ArrayBuffer?n:ArrayBuffer,"%ArrayIteratorPrototype%":E&&T?T([][Symbol.iterator]()):n,"%AsyncFromSyncIteratorPrototype%":n,"%AsyncFunction%":C,"%AsyncGenerator%":C,"%AsyncGeneratorFunction%":C,"%AsyncIteratorPrototype%":C,"%Atomics%":"u"<typeof Atomics?n:Atomics,"%BigInt%":"u"<typeof BigInt?n:BigInt,"%BigInt64Array%":"u"<typeof BigInt64Array?n:BigInt64Array,"%BigUint64Array%":"u"<typeof BigUint64Array?n:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"u"<typeof DataView?n:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":o,"%eval%":eval,"%EvalError%":a,"%Float16Array%":"u"<typeof Float16Array?n:Float16Array,"%Float32Array%":"u"<typeof Float32Array?n:Float32Array,"%Float64Array%":"u"<typeof Float64Array?n:Float64Array,"%FinalizationRegistry%":"u"<typeof FinalizationRegistry?n:FinalizationRegistry,"%Function%":b,"%GeneratorFunction%":C,"%Int8Array%":"u"<typeof Int8Array?n:Int8Array,"%Int16Array%":"u"<typeof Int16Array?n:Int16Array,"%Int32Array%":"u"<typeof Int32Array?n:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%
4IteratorPrototype%":E&&T?T(T([][Symbol.iterator]())):n,"%JSON%":"object"==typeof JSON?JSON:n,"%Map%":"u"<typeof Map?n:Map,"%MapIteratorPrototype%":"u">typeof Map&&E&&T?T(new Map()[Symbol.iterator]()):n,"%Math%":Math,"%Number%":Number,"%Object%":i,"%Object.getOwnPropertyDescriptor%":w,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"u"<typeof Promise?n:Promise,"%Proxy%":"u"<typeof Proxy?n:Proxy,"%RangeError%":s,"%ReferenceError%":u,"%Reflect%":"u"<typeof Reflect?n:Reflect,"%RegExp%":RegExp,"%Set%":"u"<typeof Set?n:Set,"%SetIteratorPrototype%":"u">typeof Set&&E&&T?T(new Set()[Symbol.iterator]()):n,"%SharedArrayBuffer%":"u"<typeof SharedArrayBuffer?n:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":E&&T?T(""[Symbol.iterator]()):n,"%Symbol%":E?Symbol:n,"%SyntaxError%":c,"%ThrowTypeError%":A,"%TypedArray%":N,"%TypeError%":l,"%Uint8Array%":"u"<typeof Uint8Array?n:Uint8Array,"%Uint8ClampedArray%":"u"<typeof Uint8ClampedArray?n:Uint8ClampedArray,"%Uint16Array%":"u"<typeof Uint16Array?n:Uint16Array,"%Uint32Array%":"u"<typeof Uint32Array?n:Uint32Array,"%URIError%":f,"%WeakMap%":"u"<typeof WeakMap?n:WeakMap,"%WeakRef%":"u"<typeof WeakRef?n:WeakRef,"%WeakSet%":"u"<typeof WeakSet?n:WeakSet,"%Function.prototype.call%":I,"%Function.prototype.apply%":R,"%Object.defineProperty%":x,"%Object.getPrototypeOf%":k,"%Math.abs%":d,"%Math.floor%":p,"%Math.max%":h,"%Math.min%":y,"%Math.pow%":g,"%Math.round%":m,"%Math.sign%":v,"%Reflect.getPrototypeOf%":O};if(T)try{null.error}catch(t){var j=T(T(t));P["%Error.prototype%"]=j}var U=function t(e){var r;if("%AsyncFunction%"===e)r=_("async function () {}");else if("%GeneratorFunction%"===e)r=_("function* () {}");else if("%AsyncGeneratorFunction%"===e)r=_("async function* () {}");else if("%AsyncGenerator%"===e){var n=t("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if("%AsyncIteratorPrototype%"===e){var i=t("%AsyncGenerator%");i&&T&&(r=T(i.prototype))}return P[e]=r,r},L={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},M=r(9138),D=r(8554),B=M.call(I,Array.prototype.concat),$=M.call(R,Array.prototype.splice),F=M.call(I,String.prototype.replace),V=M.call(I,String.prototype.slice),z=M.call(I,RegExp.prototype.exec),q=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,W=/\\(\\)?/g,G=function(t){var e=V(t,0,1),r=V(t,-1);if("%"===e&&"%"!==r)throw new c("invalid intrinsic syntax, expected closing `%`");if("%"===r&&"%"!==e)throw new c("invalid intrinsic syntax, expected opening `%`");var n=[];return F(t,q,function(t,e,r,i){n[n.length]=r?F(i,W,"$1"):e||t}),n},H=function(t,e){var r,n=t;if(D(L,n)&&(n="%"+(r=L[n])[0]+"%"),D(P,n)){var i=P[n];if(i===C&&(i=U(n)),void 0===i&&!e)throw new l("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:r,name:n,value:i}}throw new c("intrinsic "+t+" does not exist!")};t.exports=function(t,e){if("string"!=typeof t||0===t.length)throw new l("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof e)throw new l('"allowMissing" argument must be a boolean');if(null===z(/^%?[^%]*%?$/,t))throw new c("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var r=G(t),n=r.length>0?r[0]:"",i=H("%"+n+"%",e),o=i.name,a=i.value,s=!1,u=i.alias;u&&(n=u[0],$(r,B([0,1],u)));for(var f=1,d=!0;f<r.length;f+=1){var p=r[f],h=V(p,0,1),y=V(p,-1);if(('"'===h||"'"===h||"`"===h||'"'===y||"'"===y||"`"===y)&&h!==y)throw new c("property names with quotes must have matching quotes");
4if("constructor"!==p&&d||(s=!0),n+="."+p,D(P,o="%"+n+"%"))a=P[o];else if(null!=a){if(!(p in a)){if(!e)throw new l("base intrinsic for "+t+" exists, but the property is not available.");return}if(w&&f+1>=r.length){var g=w(a,p);a=(d=!!g)&&"get"in g&&!("originalValue"in g.get)?g.get:a[p]}else d=D(a,p),a=a[p];d&&!s&&(P[o]=a)}}return a}},7345(t,e,r){"use strict";t.exports=r(9629).getPrototypeOf||null},7859(t){"use strict";t.exports="u">typeof Reflect&&Reflect.getPrototypeOf||null},6369(t,e,r){"use strict";var n=r(7859),i=r(7345),o=r(6423);t.exports=n?function(t){return n(t)}:i?function(t){if(!t||"object"!=typeof t&&"function"!=typeof t)throw TypeError("getProto: not an object");return i(t)}:o?function(t){return o(t)}:null},1292(t){"use strict";t.exports=Object.getOwnPropertyDescriptor},9336(t,e,r){"use strict";var n=r(1292);if(n)try{n([],"length")}catch(t){n=null}t.exports=n},3955(t){"use strict";var e="u">typeof BigInt&&BigInt;t.exports=function(){return"function"==typeof e&&"function"==typeof BigInt&&"bigint"==typeof e(42)&&"bigint"==typeof BigInt(42)}},7239(t,e,r){"use strict";var n=r(4940),i=function(){return!!n};i.hasArrayLengthDefineBug=function(){if(!n)return null;try{return 1!==n([],"length",{value:1}).length}catch(t){return!0}},t.exports=i},3558(t,e,r){"use strict";var n="u">typeof Symbol&&Symbol,i=r(2908);t.exports=function(){return"function"==typeof n&&"function"==typeof Symbol&&"symbol"==typeof n("foo")&&"symbol"==typeof Symbol("bar")&&i()}},2908(t){"use strict";t.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var t={},e=Symbol("test"),r=Object(e);if("string"==typeof e||"[object Symbol]"!==Object.prototype.toString.call(e)||"[object Symbol]"!==Object.prototype.toString.call(r))return!1;for(var n in t[e]=42,t)return!1;if("function"==typeof Object.keys&&0!==Object.keys(t).length||"function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(t).length)return!1;var i=Object.getOwnPropertySymbols(t);if(1!==i.length||i[0]!==e||!Object.prototype.propertyIsEnumerable.call(t,e))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var o=Object.getOwnPropertyDescriptor(t,e);if(42!==o.value||!0!==o.enumerable)return!1}return!0}},1913(t,e,r){"use strict";var n=r(2908);t.exports=function(){return n()&&!!Symbol.toStringTag}},9499(t,e,r){e.utils=r(461),e.common=r(2191),e.sha=r(5746),e.ripemd=r(4169),e.hmac=r(1825),e.sha1=e.sha.sha1,e.sha256=e.sha.sha256,e.sha224=e.sha.sha224,e.sha384=e.sha.sha384,e.sha512=e.sha.sha512,e.ripemd160=e.ripemd.ripemd160},2191(t,e,r){"use strict";var n=r(461),i=r(7784);function o(){this.pending=null,this.pendingTotal=0,this.blockSize=this.constructor.blockSize,this.outSize=this.constructor.outSize,this.hmacStrength=this.constructor.hmacStrength,this.padLength=this.constructor.padLength/8,this.endian="big",this._delta8=this.blockSize/8,this._delta32=this.blockSize/32}e.BlockHash=o,o.prototype.update=function(t,e){if(t=n.toArray(t,e),this.pending?this.pending=this.pending.concat(t):this.pending=t,this.pendingTotal+=t.length,this.pending.length>=this._delta8){var r=(t=this.pending).length%this._delta8;this.pending=t.slice(t.length-r,t.length),0===this.pending.length&&(this.pending=null),t=n.join32(t,0,t.length-r,this.endian);for(var i=0;i<t.length;i+=this._delta32)this._update(t,i,i+this._delta32)}return this},o.prototype.digest=function(t){return this.update(this._pad()),i(null===this.pending),this._digest(t)},o.prototype._pad=function(){var t=this.pendingTotal,e=this._delta8,r=e-(t+this.padLength)%e,n=Array(r+this.padLength);n[0]=128;for(var i=1;i<r;i++)n[i]=0;if(t<<=3,"big"===this.endian){for(var o=8;o<this.padLength;o++)n[i++]=0;n[i++]=0,n[i++]=0,n[i++]=0,n[i++]=0,n[i++]=t>>>24&255,n[i++]=t>>>16&255,n[i++]=t>>>8&255,n[i++]=255&t}else for(o=8,n[i++]=255&t,n[i++]=t>>>8&255,n[i++]=t>>>16&255,n[i++]=t>>>24&255,n[i++]=0,n[i++]=0,n[i++]=0,n[i++]=0;o<this.padLength;o++)n[i++]=0;return n}},1825(t,e,r){"use strict";var n=r(461),i=r(7784);function o(t,e,r){if(!(this instanceof o))return new o(t,e,r);this.Hash=t,this.blockSize=t.blockSize/8,this.outSize=t.outSize/8,this.inner=null,this.outer=null,this._init(n.toArray(e,r))}t.exports=o,o.prototype._init=function(t){t.length>this.blockSize&&(t=new this.Hash().update(t).digest()),i(t.length<=this.blockSize);for(var e=t.length;e<this.blockSize;e++)t.push(0);for(e=0;e<t.length;e++)t[e]^=54;for(e=0,this.inner=new this.Hash().update(t);e<t.length;e++)t[e]^=106;this.outer=new this.Hash().update(t)},o.prototype.update=function(t,e){return this.inner.update(t,e),this},o.prototype.digest=function(t){return this.outer.update(this.inner.digest()),this.outer.digest(t)}},4169(t,e,r){"use strict";var n=r(461),i=r(2191),o=n.rotl32,a=n.sum32,s=n.sum32_3,u=n.sum32_4,c=i.BlockHash;function l(){if(!(this instanceof l))return new l;c.call(this),this.h=[0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0],this.endian="little"}function f(t,e,r,n){return t<=15?e^r^n:t<=31?e&r|~e&n:t<=47?(e|~r)^n:t<=63?e&n|r&~n:e^(r|~n)}n.inherits(l,c),e.ripemd160=l,l.blockSize=512,l.outSize=160,l.hmacStrength=192,l.padLength=64,l.prototype._update=function(t,e){for(var r=this.h[0],n=this.h[1],i=this.h[2],c=this.h[3],l=this.h[4],g=r,m=n,v=i,b=c,_=l,w=0;w<80;w++){var x,S,A=a(o(u(r,f(w,n,i,c),t[d[w]+e],(x=w)<=15?0:x<=31?0x5a827999:x<=47?0x6ed9eba1:x<=63?0x8f1bbcdc:0xa953fd4e),h[w]),l);r=l,l=c,c=o(i,10),i=n,n=A,A=a(o(u(g,f(79-w,m,v,b),t[p[w]+e],(S=w)<=15?0x50a28be6:S<=31?0x5c4dd124:S<=47?0x6d703ef3:0x7a6d76e9*!!(S<=63)),y[w]),_),g=_,_=b,b=o(v,10),v=m,m=A}A=s(this.h[1],i,b),this.h[1]=s(this.h[2],c,_),this.h[2]=s(this.h[3],l,g),this.h[3]=s(this.h[4],r,m),this.h[4]=s(this.h[0],n,v),this.h[0]=A},l.prototype._digest=function(t){return"hex"===t?n.toHex32(this.h,"little"):n.split32(this.h,"little")};var d=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],p=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],h=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],y=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]},5746(t,e,r){"use strict";e.sha1=r(2986),e.sha224=r(5393),e.sha256=r(536),e.sha384=r(2348),e.sha512=r(2157)},2986(t,e,r){"use strict";var n=r(461),i=r(2191),o=r(600),a=n.rotl32,s=n.sum32,u=n.sum32_5,c=o.ft_1,l=i.BlockHash,f=[0x5a827999,0x6ed9eba1,0x8f1bbcdc,0xca62c1d6];function d(){if(!(this instanceof d))return new d;l.call(this),this.h=[0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0],this.W=Array(80)}
vendor: 5,429 bytes, line 4
4n.inherits(d,l),t.exports=d,d.blockSize=512,d.outSize=160,d.hmacStrength=80,d.padLength=64,d.prototype._update=function(t,e){for(var r=this.W,n=0;n<16;n++)r[n]=t[e+n];for(;n<r.length;n++)r[n]=a(r[n-3]^r[n-8]^r[n-14]^r[n-16],1);var i=this.h[0],o=this.h[1],l=this.h[2],d=this.h[3],p=this.h[4];for(n=0;n<r.length;n++){var h=~~(n/20),y=u(a(i,5),c(h,o,l,d),p,r[n],f[h]);p=d,d=l,l=a(o,30),o=i,i=y}this.h[0]=s(this.h[0],i),this.h[1]=s(this.h[1],o),this.h[2]=s(this.h[2],l),this.h[3]=s(this.h[3],d),this.h[4]=s(this.h[4],p)},d.prototype._digest=function(t){return"hex"===t?n.toHex32(this.h,"big"):n.split32(this.h,"big")}},5393(t,e,r){"use strict";var n=r(461),i=r(536);function o(){if(!(this instanceof o))return new o;i.call(this),this.h=[0xc1059ed8,0x367cd507,0x3070dd17,0xf70e5939,0xffc00b31,0x68581511,0x64f98fa7,0xbefa4fa4]}n.inherits(o,i),t.exports=o,o.blockSize=512,o.outSize=224,o.hmacStrength=192,o.padLength=64,o.prototype._digest=function(t){return"hex"===t?n.toHex32(this.h.slice(0,7),"big"):n.split32(this.h.slice(0,7),"big")}},536(t,e,r){"use strict";var n=r(461),i=r(2191),o=r(600),a=r(7784),s=n.sum32,u=n.sum32_4,c=n.sum32_5,l=o.ch32,f=o.maj32,d=o.s0_256,p=o.s1_256,h=o.g0_256,y=o.g1_256,g=i.BlockHash,m=[0x428a2f98,0x71374491,0xb5c0fbcf,0xe9b5dba5,0x3956c25b,0x59f111f1,0x923f82a4,0xab1c5ed5,0xd807aa98,0x12835b01,0x243185be,0x550c7dc3,0x72be5d74,0x80deb1fe,0x9bdc06a7,0xc19bf174,0xe49b69c1,0xefbe4786,0xfc19dc6,0x240ca1cc,0x2de92c6f,0x4a7484aa,0x5cb0a9dc,0x76f988da,0x983e5152,0xa831c66d,0xb00327c8,0xbf597fc7,0xc6e00bf3,0xd5a79147,0x6ca6351,0x14292967,0x27b70a85,0x2e1b2138,0x4d2c6dfc,0x53380d13,0x650a7354,0x766a0abb,0x81c2c92e,0x92722c85,0xa2bfe8a1,0xa81a664b,0xc24b8b70,0xc76c51a3,0xd192e819,0xd6990624,0xf40e3585,0x106aa070,0x19a4c116,0x1e376c08,0x2748774c,0x34b0bcb5,0x391c0cb3,0x4ed8aa4a,0x5b9cca4f,0x682e6ff3,0x748f82ee,0x78a5636f,0x84c87814,0x8cc70208,0x90befffa,0xa4506ceb,0xbef9a3f7,0xc67178f2];function v(){if(!(this instanceof v))return new v;g.call(this),this.h=[0x6a09e667,0xbb67ae85,0x3c6ef372,0xa54ff53a,0x510e527f,0x9b05688c,0x1f83d9ab,0x5be0cd19],this.k=m,this.W=Array(64)}n.inherits(v,g),t.exports=v,v.blockSize=512,v.outSize=256,v.hmacStrength=192,v.padLength=64,v.prototype._update=function(t,e){for(var r=this.W,n=0;n<16;n++)r[n]=t[e+n];for(;n<r.length;n++)r[n]=u(y(r[n-2]),r[n-7],h(r[n-15]),r[n-16]);var i=this.h[0],o=this.h[1],g=this.h[2],m=this.h[3],v=this.h[4],b=this.h[5],_=this.h[6],w=this.h[7];for(a(this.k.length===r.length),n=0;n<r.length;n++){var x=c(w,p(v),l(v,b,_),this.k[n],r[n]),S=s(d(i),f(i,o,g));w=_,_=b,b=v,v=s(m,x),m=g,g=o,o=i,i=s(x,S)}this.h[0]=s(this.h[0],i),this.h[1]=s(this.h[1],o),this.h[2]=s(this.h[2],g),this.h[3]=s(this.h[3],m),this.h[4]=s(this.h[4],v),this.h[5]=s(this.h[5],b),this.h[6]=s(this.h[6],_),this.h[7]=s(this.h[7],w)},v.prototype._digest=function(t){return"hex"===t?n.toHex32(this.h,"big"):n.split32(this.h,"big")}},2348(t,e,r){"use strict";var n=r(461),i=r(2157);function o(){if(!(this instanceof o))return new o;i.call(this),this.h=[0xcbbb9d5d,0xc1059ed8,0x629a292a,0x367cd507,0x9159015a,0x3070dd17,0x152fecd8,0xf70e5939,0x67332667,0xffc00b31,0x8eb44a87,0x68581511,0xdb0c2e0d,0x64f98fa7,0x47b5481d,0xbefa4fa4]}n.inherits(o,i),t.exports=o,o.blockSize=1024,o.outSize=384,o.hmacStrength=192,o.padLength=128,o.prototype._digest=function(t){return"hex"===t?n.toHex32(this.h.slice(0,12),"big"):n.split32(this.h.slice(0,12),"big")}},2157(t,e,r){"use strict";var n=r(461),i=r(2191),o=r(7784),a=n.rotr64_hi,s=n.rotr64_lo,u=n.shr64_hi,c=n.shr64_lo,l=n.sum64,f=n.sum64_hi,d=n.sum64_lo,p=n.sum64_4_hi,h=n.sum64_4_lo,y=n.sum64_5_hi,g=n.sum64_5_lo,m=i.BlockHash,v=[0x428a2f98,0xd728ae22,0x71374491,0x23ef65cd,0xb5c0fbcf,0xec4d3b2f,0xe9b5dba5,0x8189dbbc,0x3956c25b,0xf348b538,0x59f111f1,0xb605d019,0x923f82a4,0xaf194f9b,0xab1c5ed5,0xda6d8118,0xd807aa98,0xa3030242,0x12835b01,0x45706fbe,0x243185be,0x4ee4b28c,0x550c7dc3,0xd5ffb4e2,0x72be5d74,0xf27b896f,0x80deb1fe,0x3b1696b1,0x9bdc06a7,0x25c71235,0xc19bf174,0xcf692694,0xe49b69c1,0x9ef14ad2,0xefbe4786,0x384f25e3,0xfc19dc6,0x8b8cd5b5,0x240ca1cc,0x77ac9c65,0x2de92c6f,0x592b0275,0x4a7484aa,0x6ea6e483,0x5cb0a9dc,0xbd41fbd4,0x76f988da,0x831153b5,0x983e5152,0xee66dfab,0xa831c66d,0x2db43210,0xb00327c8,0x98fb213f,0xbf597fc7,0xbeef0ee4,0xc6e00bf3,0x3da88fc2,0xd5a79147,0x930aa725,0x6ca6351,0xe003826f,0x14292967,0xa0e6e70,0x27b70a85,0x46d22ffc,0x2e1b2138,0x5c26c926,0x4d2c6dfc,0x5ac42aed,0x53380d13,0x9d95b3df,0x650a7354,0x8baf63de,0x766a0abb,0x3c77b2a8,0x81c2c92e,0x47edaee6,0x92722c85,0x1482353b,0xa2bfe8a1,0x4cf10364,0xa81a664b,0xbc423001,0xc24b8b70,0xd0f89791,0xc76c51a3,0x654be30,0xd192e819,0xd6ef5218,0xd6990624,0x5565a910,0xf40e3585,0x5771202a,0x106aa070,0x32bbd1b8,0x19a4c116,0xb8d2d0c8,0x1e376c08,0x5141ab53,0x2748774c,0xdf8eeb99,0x34b0bcb5,0xe19b48a8,0x391c0cb3,0xc5c95a63,0x4ed8aa4a,0xe3418acb,0x5b9cca4f,0x7763e373,0x682e6ff3,0xd6b2b8a3,0x748f82ee,0x5defb2fc,0x78a5636f,0x43172f60,0x84c87814,0xa1f0ab72,0x8cc70208,0x1a6439ec,0x90befffa,0x23631e28,0xa4506ceb,0xde82bde9,0xbef9a3f7,0xb2c67915,0xc67178f2,0xe372532b,0xca273ece,0xea26619c,0xd186b8c7,0x21c0c207,0xeada7dd6,0xcde0eb1e,0xf57d4f7f,0xee6ed178,0x6f067aa,0x72176fba,0xa637dc5,0xa2c898a6,0x113f9804,0xbef90dae,0x1b710b35,0x131c471b,0x28db77f5,0x23047d84,0x32caab7b,0x40c72493,0x3c9ebe0a,0x15c9bebc,0x431d67c4,0x9c100d4c,0x4cc5d4be,0xcb3e42b6,0x597f299c,0xfc657e2a,0x5fcb6fab,0x3ad6faec,0x6c44198c,0x4a475817];function b(){if(!(this instanceof b))return new b;
4m.call(this),this.h=[0x6a09e667,0xf3bcc908,0xbb67ae85,0x84caa73b,0x3c6ef372,0xfe94f82b,0xa54ff53a,0x5f1d36f1,0x510e527f,0xade682d1,0x9b05688c,0x2b3e6c1f,0x1f83d9ab,0xfb41bd6b,0x5be0cd19,0x137e2179],this.k=v,this.W=Array(160)}n.inherits(b,m),t.exports=b,b.blockSize=1024,b.outSize=512,b.hmacStrength=192,b.padLength=128,b.prototype._prepareBlock=function(t,e){for(var r=this.W,n=0;n<32;n++)r[n]=t[e+n];for(;n<r.length;n+=2){var i=function(t,e){var r=a(t,e,19)^a(e,t,29)^u(t,e,6);return r<0&&(r+=0x100000000),r}(r[n-4],r[n-3]),o=function(t,e){var r=s(t,e,19)^s(e,t,29)^c(t,e,6);return r<0&&(r+=0x100000000),r}(r[n-4],r[n-3]),l=r[n-14],f=r[n-13],d=function(t,e){var r=a(t,e,1)^a(t,e,8)^u(t,e,7);return r<0&&(r+=0x100000000),r}(r[n-30],r[n-29]),y=function(t,e){var r=s(t,e,1)^s(t,e,8)^c(t,e,7);return r<0&&(r+=0x100000000),r}(r[n-30],r[n-29]),g=r[n-32],m=r[n-31];r[n]=p(i,o,l,f,d,y,g,m),r[n+1]=h(i,o,l,f,d,y,g,m)}},b.prototype._update=function(t,e){this._prepareBlock(t,e);var r=this.W,n=this.h[0],i=this.h[1],u=this.h[2],c=this.h[3],p=this.h[4],h=this.h[5],m=this.h[6],v=this.h[7],b=this.h[8],_=this.h[9],w=this.h[10],x=this.h[11],S=this.h[12],A=this.h[13],E=this.h[14],T=this.h[15];o(this.k.length===r.length);for(var k=0;k<r.length;k+=2){var O=E,R=T,I=function(t,e){var r=a(t,e,14)^a(t,e,18)^a(e,t,9);return r<0&&(r+=0x100000000),r}(b,_),C=function(t,e){var r=s(t,e,14)^s(t,e,18)^s(e,t,9);return r<0&&(r+=0x100000000),r}(b,_),N=function(t,e,r,n,i){var o=t&r^~t&i;return o<0&&(o+=0x100000000),o}(b,0,w,0,S,A),P=function(t,e,r,n,i,o){var a=e&n^~e&o;return a<0&&(a+=0x100000000),a}(0,_,0,x,0,A),j=this.k[k],U=this.k[k+1],L=r[k],M=r[k+1],D=y(O,R,I,C,N,P,j,U,L,M),B=g(O,R,I,C,N,P,j,U,L,M);O=function(t,e){var r=a(t,e,28)^a(e,t,2)^a(e,t,7);return r<0&&(r+=0x100000000),r}(n,i),R=function(t,e){var r=s(t,e,28)^s(e,t,2)^s(e,t,7);return r<0&&(r+=0x100000000),r}(n,i);var $=f(O,R,I=function(t,e,r,n,i){var o=t&r^t&i^r&i;return o<0&&(o+=0x100000000),o}(n,0,u,0,p,h),C=function(t,e,r,n,i,o){var a=e&n^e&o^n&o;return a<0&&(a+=0x100000000),a}(0,i,0,c,0,h)),F=d(O,R,I,C);E=S,T=A,S=w,A=x,w=b,x=_,b=f(m,v,D,B),_=d(v,v,D,B),m=p,v=h,p=u,h=c,u=n,c=i,n=f(D,B,$,F),i=d(D,B,$,F)}l(this.h,0,n,i),l(this.h,2,u,c),l(this.h,4,p,h),l(this.h,6,m,v),l(this.h,8,b,_),l(this.h,10,w,x),l(this.h,12,S,A),l(this.h,14,E,T)},b.prototype._digest=function(t){return"hex"===t?n.toHex32(this.h,"big"):n.split32(this.h,"big")}},600(t,e,r){"use strict";var n=r(461).rotr32;function i(t,e,r){return t&e^t&r^e&r}e.ft_1=function(t,e,r,n){var o;return 0===t?(o=e)&r^~o&n:1===t||3===t?e^r^n:2===t?i(e,r,n):void 0},e.ch32=function(t,e,r){return t&e^~t&r},e.maj32=i,e.p32=function(t,e,r){return t^e^r},e.s0_256=function(t){return n(t,2)^n(t,13)^n(t,22)},e.s1_256=function(t){return n(t,6)^n(t,11)^n(t,25)},e.g0_256=function(t){return n(t,7)^n(t,18)^t>>>3},e.g1_256=function(t){return n(t,17)^n(t,19)^t>>>10}},461(t,e,r){"use strict";var n=r(7784);function i(t){return(t>>>24|t>>>8&65280|t<<8&0xff0000|(255&t)<<24)>>>0}function o(t){return 1===t.length?"0"+t:t}function a(t){if(7===t.length)return"0"+t;if(6===t.length)return"00"+t;if(5===t.length)return"000"+t;if(4===t.length)return"0000"+t;if(3===t.length)return"00000"+t;else if(2===t.length)return"000000"+t;else if(1===t.length)return"0000000"+t;else return t}e.inherits=r(5615),e.toArray=function(t,e){if(Array.isArray(t))return t.slice();if(!t)return[];var r=[];if("string"==typeof t)if(e){if("hex"===e)for((t=t.replace(/[^a-z0-9]+/ig,"")).length%2!=0&&(t="0"+t),i=0;i<t.length;i+=2)r.push(parseInt(t[i]+t[i+1],16))}else for(var n=0,i=0;i<t.length;i++){var o,a,s=t.charCodeAt(i);s<128?r[n++]=s:(s<2048?r[n++]=s>>6|192:((o=t,a=i,(64512&o.charCodeAt(a))!=55296||a<0||a+1>=o.length?1:(64512&o.charCodeAt(a+1))!=56320)?r[n++]=s>>12|224:(s=65536+((1023&s)<<10)+(1023&t.charCodeAt(++i)),r[n++]=s>>18|240,r[n++]=s>>12&63|128),r[n++]=s>>6&63|128),r[n++]=63&s|128)}else for(i=0;i<t.length;i++)r[i]=0|t[i];return r},e.toHex=function(t){for(var e="",r=0;r<t.length;r++)e+=o(t[r].toString(16));return e},e.htonl=i,e.toHex32=function(t,e){for(var r="",n=0;n<t.length;n++){var o=t[n];"little"===e&&(o=i(o)),r+=a(o.toString(16))}return r},e.zero2=o,e.zero8=a,e.join32=function(t,e,r,i){var o,a=r-e;n(a%4==0);for(var s=Array(a/4),u=0,c=e;u<s.length;u++,c+=4)o="big"===i?t[c]<<24|t[c+1]<<16|t[c+2]<<8|t[c+3]:t[c+3]<<24|t[c+2]<<16|t[c+1]<<8|t[c],s[u]=o>>>0;return s},e.split32=function(t,e){for(var r=Array(4*t.length),n=0,i=0;n<t.length;n++,i+=4){var o=t[n];"big"===e?(r[i]=o>>>24,r[i+1]=o>>>16&255,r[i+2]=o>>>8&255,r[i+3]=255&o):(r[i+3]=o>>>24,r[i+2]=o>>>16&255,r[i+1]=o>>>8&255,r[i]=255&o)}return r},e.rotr32=function(t,e){return t>>>e|t<<32-e},e.rotl32=function(t,e){return t<<e|t>>>32-e},e.sum32=function(t,e){return t+e>>>0},e.sum32_3=function(t,e,r){return t+e+r>>>0},e.sum32_4=function(t,e,r,n){return t+e+r+n>>>0},e.sum32_5=function(t,e,r,n,i){return t+e+r+n+i>>>0},e.sum64=function(t,e,r,n){var i=t[e],o=n+t[e+1]>>>0;t[e]=+(o<n)+r+i>>>0,t[e+1]=o},e.sum64_hi=function(t,e,r,n){return+(e+n>>>0<e)+t+r>>>0},e.sum64_lo=function(t,e,r,n){return e+n>>>0},e.sum64_4_hi=function(t,e,r,n,i,o,a,s){var u,c=e;return t+r+i+a+(u=0+ +((c=c+n>>>0)<e)+ +((c=c+o>>>0)<o)+ +((c=c+s>>>0)<s))>>>0},e.sum64_4_lo=function(t,e,r,n,i,o,a,s){return e+n+o+s>>>0},e.sum64_5_hi=function(t,e,r,n,i,o,a,s,u,c){var l,f=e;return t+r+i+a+u+(l=0+ +((f=f+n>>>0)<e)+ +((f=f+o>>>0)<o)+ +((f=f+s>>>0)<s)+ +((f=f+c>>>0)<c))>>>0},e.sum64_5_lo=function(t,e,r,n,i,o,a,s,u,c){return e+n+o+s+c>>>0},e.rotr64_hi=function(t,e,r){return(e<<32-r|t>>>r)>>>0},e.rotr64_lo=function(t,e,r){return(t<<32-r|e>>
4>r)>>>0},e.shr64_hi=function(t,e,r){return t>>>r},e.shr64_lo=function(t,e,r){return(t<<32-r|e>>>r)>>>0}},8554(t,e,r){"use strict";var n=Function.prototype.call,i=Object.prototype.hasOwnProperty;t.exports=r(9138).call(n,i)},5615(t){"function"==typeof Object.create?t.exports=function(t,e){e&&(t.super_=e,t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}))}:t.exports=function(t,e){if(e){t.super_=e;var r=function(){};r.prototype=e.prototype,t.prototype=new r,t.prototype.constructor=t}}},6227(t,e,r){"use strict";var n=r(8498),i=r(4607),o=r(528)("%ArrayBuffer%",!0),a=i("ArrayBuffer.prototype.byteLength",!0),s=i("Object.prototype.toString"),u=!!o&&!a&&new o(0).slice,c=!!u&&n(u);t.exports=a||c?function(t){if(!t||"object"!=typeof t)return!1;try{return a?a(t):c(t,0),!0}catch(t){return!1}}:o?function(t){return"[object ArrayBuffer]"===s(t)}:function(t){return!1}},4806(t,e,r){"use strict";var n=r(4607),i=r(6132),o=n("Object.prototype.toString"),a=n("Function.prototype.toString"),s=i(/^\s*async(?:\s+function(?:\s+|\()|\s*\()/),u=r(1913)(),c=r(6369),l=r(1361);t.exports=function(t){if("function"!=typeof t)return!1;if(s(a(t)))return!0;if(!u)return"[object AsyncFunction]"===o(t);if(!c)return!1;var e=l();return e&&e.prototype===c(t)}},8078(t,e,r){"use strict";if(r(3955)()){var n=BigInt.prototype.valueOf,i=function(t){try{return n.call(t),!0}catch(t){}return!1};t.exports=function(t){return null!=t&&"boolean"!=typeof t&&"string"!=typeof t&&"number"!=typeof t&&"symbol"!=typeof t&&"function"!=typeof t&&("bigint"==typeof t||i(t))}}else t.exports=function(t){return!1}},3725(t,e,r){"use strict";var n=r(4607),i=n("Boolean.prototype.toString"),o=n("Object.prototype.toString"),a=function(t){try{return i(t),!0}catch(t){return!1}},s=r(1913)();t.exports=function(t){return"boolean"==typeof t||null!==t&&"object"==typeof t&&(s?a(t):"[object Boolean]"===o(t))}},9617(t){"use strict";var e,r,n=Function.prototype.toString,i="object"==typeof Reflect&&null!==Reflect&&Reflect.apply;if("function"==typeof i&&"function"==typeof Object.defineProperty)try{e=Object.defineProperty({},"length",{get:function(){throw r}}),r={},i(function(){throw 42},null,e)}catch(t){t!==r&&(i=null)}else i=null;var o=/^\s*class\b/,a=function(t){try{var e=n.call(t);return o.test(e)}catch(t){return!1}},s=function(t){try{if(a(t))return!1;return n.call(t),!0}catch(t){return!1}},u=Object.prototype.toString,c="function"==typeof Symbol&&!!Symbol.toStringTag,l=!(0 in[,]),f=function(){return!1};if("object"==typeof document){var d=document.all;u.call(d)===u.call(document.all)&&(f=function(t){if((l||!t)&&(void 0===t||"object"==typeof t))try{var e=u.call(t);return("[object HTMLAllCollection]"===e||"[object HTML document.all class]"===e||"[object HTMLCollection]"===e||"[object Object]"===e)&&null==t("")}catch(t){}return!1})}t.exports=i?function(t){if(f(t))return!0;if(!t||"function"!=typeof t&&"object"!=typeof t)return!1;try{i(t,null,e)}catch(t){if(t!==r)return!1}return!a(t)&&s(t)}:function(t){if(f(t))return!0;if(!t||"function"!=typeof t&&"object"!=typeof t)return!1;if(c)return s(t);if(a(t))return!1;var e=u.call(t);return("[object Function]"===e||"[object GeneratorFunction]"===e||!!/^\[object HTML/.test(e))&&s(t)}},9543(t,e,r){"use strict";var n=r(4607),i=n("Date.prototype.getDay"),o=function(t){try{return i(t),!0}catch(t){return!1}},a=n("Object.prototype.toString"),s=r(1913)();t.exports=function(t){return"object"==typeof t&&null!==t&&(s?o(t):"[object Date]"===a(t))}},2594(t,e,r){"use strict";var n=r(4607)("FinalizationRegistry.prototype.register",!0);t.exports=n?function(t){if(!t||"object"!=typeof t)return!1;try{return n(t,{},null),!0}catch(t){return!1}}:function(t){return!1}},2625(t,e,r){"use strict";var n,i=r(4607),o=r(6132)(/^\s*(?:function)?\*/),a=r(1913)(),s=r(6369),u=i("Object.prototype.toString"),c=i("Function.prototype.toString"),l=function(){if(!a)return!1;try{return Function("return function*() {}")()}catch(t){}};t.exports=function(t){if("function"!=typeof t)return!1;if(o(c(t)))return!0;if(!a)return"[object GeneratorFunction]"===u(t);if(!s)return!1;if(void 0===n){var e=l();n=!!e&&s(e)}return s(t)===n}},8009(t){"use strict";var e,r="function"==typeof Map&&Map.prototype?Map:null,n="function"==typeof Set&&Set.prototype?Set:null;r||(e=function(t){return!1});var i=r?Map.prototype.has:null,o=n?Set.prototype.has:null;e||i||(e=function(t){return!1}),t.exports=e||function(t){if(!t||"object"!=typeof t)return!1;try{if(i.call(t),o)try{o.call(t)}catch(t){return!0}return t instanceof r}catch(t){}return!1}},6828(t,e,r){"use strict";var n=r(4607),i=n("Number.prototype.toString"),o=function(t){try{return i(t),!0}catch(t){return!1}},a=n("Object.prototype.toString"),s=r(1913)();t.exports=function(t){return"number"==typeof t||!!t&&"object"==typeof t&&(s?o(t):"[object Number]"===a(t))}},2672(t,e,r){"use strict";var n,i=r(4607),o=r(1913)(),a=r(8554),s=r(9336);if(o){var u=i("RegExp.prototype.exec"),c={},l=function(){throw c},f={toString:l,valueOf:l};"symbol"==typeof Symbol.toPrimitive&&(f[Symbol.toPrimitive]=l),n=function(t){if(!t||"object"!=typeof t)return!1;var e=s(t,"lastIndex");if(!(e&&a(e,"value")))return!1;try{u(t,f)}catch(t){return t===c}}}else{var d=i("Object.prototype.toString");n=function(t){return!!t&&("object"==typeof t||"function"==typeof t)&&"[object RegExp]"===d(t)}}t.exports=n},2583(t){"use strict";var e,r="function"==typeof Map&&Map.prototype?Map:null,n="function"==typeof Set&&Set.prototype?Set:null;n||(e=function(t){return!1});var i=r?Map.prototype.has:null,o=n?Set.prototype.has:null;e||o||(e=function(t){return!1}),t.exports=e||function(t){if(!t||"object"!=typeof t)return!1;
4try{if(o.call(t),i)try{i.call(t)}catch(t){return!0}return t instanceof n}catch(t){}return!1}},1189(t,e,r){"use strict";var n=r(4607)("SharedArrayBuffer.prototype.byteLength",!0);t.exports=n?function(t){if(!t||"object"!=typeof t)return!1;try{return n(t),!0}catch(t){return!1}}:function(t){return!1}},8120(t,e,r){"use strict";var n=r(4607),i=n("String.prototype.valueOf"),o=function(t){try{return i(t),!0}catch(t){return!1}},a=n("Object.prototype.toString"),s=r(1913)();t.exports=function(t){return"string"==typeof t||!!t&&"object"==typeof t&&(s?o(t):"[object String]"===a(t))}},3409(t,e,r){"use strict";var n=r(4607),i=n("Object.prototype.toString"),o=r(3558)(),a=r(6132);if(o){var s=n("Symbol.prototype.toString"),u=a(/^Symbol\(.*\)$/);t.exports=function(t){if("symbol"==typeof t)return!0;if(!t||"object"!=typeof t||"[object Symbol]"!==i(t))return!1;try{return"symbol"==typeof t.valueOf()&&u(s(t))}catch(t){return!1}}}else t.exports=function(t){return!1}},5943(t,e,r){"use strict";var n=r(2730);t.exports=function(t){return!!n(t)}},8341(t){"use strict";var e,r="function"==typeof WeakMap&&WeakMap.prototype?WeakMap:null,n="function"==typeof WeakSet&&WeakSet.prototype?WeakSet:null;r||(e=function(t){return!1});var i=r?r.prototype.has:null,o=n?n.prototype.has:null;e||i||(e=function(t){return!1}),t.exports=e||function(t){if(!t||"object"!=typeof t)return!1;try{if(i.call(t,i),o)try{o.call(t,o)}catch(t){return!0}return t instanceof r}catch(t){}return!1}},7213(t,e,r){"use strict";var n=r(4607)("WeakRef.prototype.deref",!0);t.exports="u"<typeof WeakRef?function(t){return!1}:function(t){if(!t||"object"!=typeof t)return!1;try{return n(t),!0}catch(t){return!1}}},2347(t,e,r){"use strict";var n=r(528),i=r(4607),o=n("%WeakSet%",!0),a=i("WeakSet.prototype.has",!0);if(a){var s=i("WeakMap.prototype.has",!0);t.exports=function(t){if(!t||"object"!=typeof t)return!1;try{if(a(t,a),s)try{s(t,s)}catch(t){return!0}return t instanceof o}catch(t){}return!1}}else t.exports=function(t){return!1}},6815(t){var e={}.toString;t.exports=Array.isArray||function(t){return"[object Array]"==e.call(t)}},8479(t){"use strict";t.exports=Math.abs},8449(t){"use strict";t.exports=Math.floor},1028(t,e,r){"use strict";var n=r(2422);t.exports=function(t){return("number"==typeof t||"bigint"==typeof t)&&!n(t)&&t!==1/0&&t!==-1/0}},1597(t,e,r){"use strict";var n=r(8479),i=r(8449),o=r(2422),a=r(1028);t.exports=function(t){if("number"!=typeof t||o(t)||!a(t))return!1;var e=n(t);return i(e)===e}},2422(t){"use strict";t.exports=Number.isNaN||function(t){return t!=t}},6906(t){"use strict";t.exports=function(t){return 0===t&&1/t==-1/0}},8129(t){"use strict";t.exports=Math.max},2387(t){"use strict";t.exports=Math.min},3251(t,e,r){"use strict";var n=r(8449);t.exports=function(t,e){var r=t%e;return n(r>=0?r:r+e)}},5865(t){"use strict";t.exports=Math.pow},1319(t){"use strict";t.exports=Math.round},6882(t,e,r){"use strict";var n=r(2422);t.exports=function(t){return n(t)||0===t?t:t<0?-1:1}},7784(t){function e(t,e){if(!t)throw Error(e||"Assertion failed")}t.exports=e,e.equal=function(t,e,r){if(t!=e)throw Error(r||"Assertion failed: "+t+" != "+e)}},8660(t,e,r){var n="function"==typeof Map&&Map.prototype,i=Object.getOwnPropertyDescriptor&&n?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,o=n&&i&&"function"==typeof i.get?i.get:null,a=n&&Map.prototype.forEach,s="function"==typeof Set&&Set.prototype,u=Object.getOwnPropertyDescriptor&&s?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,c=s&&u&&"function"==typeof u.get?u.get:null,l=s&&Set.prototype.forEach,f="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,d="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,p="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,h=Boolean.prototype.valueOf,y=Object.prototype.toString,g=Function.prototype.toString,m=String.prototype.match,v=String.prototype.slice,b=String.prototype.replace,_=String.prototype.toUpperCase,w=String.prototype.toLowerCase,x=RegExp.prototype.test,S=Array.prototype.concat,A=Array.prototype.join,E=Array.prototype.slice,T=Math.floor,k="function"==typeof BigInt?BigInt.prototype.valueOf:null,O=Object.getOwnPropertySymbols,R="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?Symbol.prototype.toString:null,I="function"==typeof Symbol&&"object"==typeof Symbol.iterator,C="function"==typeof Symbol&&Symbol.toStringTag&&(typeof Symbol.toStringTag===I?"object":"symbol")?Symbol.toStringTag:null,N=Object.prototype.propertyIsEnumerable,P=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(t){return t.__proto__}:null);function j(t,e){if(t===1/0||t===-1/0||t!=t||t&&t>-1e3&&t<1e3||x.call(/e/,e))return e;var r=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"==typeof t){var n=t<0?-T(-t):T(t);if(n!==t){var i=String(n),o=v.call(e,i.length+1);return b.call(i,r,"$&_")+"."+b.call(b.call(o,/([0-9]{3})/g,"$&_"),/_$/,"")}}return b.call(e,r,"$&_")}var U=r(3783),L=U.custom,M=q(L)?L:null,D={__proto__:null,double:'"',single:"'"},B={__proto__:null,double:/(["\\])/g,single:/(['\\])/g};function $(t,e,r){var n=D[r.quoteStyle||e];return n+t+n}function F(t){return!C||!("object"==typeof t&&(C in t||void 0!==t[C]))}function V(t){return"[object Array]"===H(t)&&F(t)}function z(t){return"[object RegExp]"===H(t)&&F(t)}function q(t){if(I)return t&&"object"==typeof t&&t instanceof Symbol;if("symbol"==typeof t)return!0;
4if(!t||"object"!=typeof t||!R)return!1;try{return R.call(t),!0}catch(t){}return!1}t.exports=function t(e,n,i,s){var u,y,_,x,T,O=n||{};if(G(O,"quoteStyle")&&!G(D,O.quoteStyle))throw TypeError('option "quoteStyle" must be "single" or "double"');if(G(O,"maxStringLength")&&("number"==typeof O.maxStringLength?O.maxStringLength<0&&O.maxStringLength!==1/0:null!==O.maxStringLength))throw TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var L=!G(O,"customInspect")||O.customInspect;if("boolean"!=typeof L&&"symbol"!==L)throw TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(G(O,"indent")&&null!==O.indent&&" "!==O.indent&&!(parseInt(O.indent,10)===O.indent&&O.indent>0))throw TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(G(O,"numericSeparator")&&"boolean"!=typeof O.numericSeparator)throw TypeError('option "numericSeparator", if provided, must be `true` or `false`');var W=O.numericSeparator;if(void 0===e)return"undefined";if(null===e)return"null";if("boolean"==typeof e)return e?"true":"false";if("string"==typeof e)return function t(e,r){if(e.length>r.maxStringLength){var n=e.length-r.maxStringLength;return t(v.call(e,0,r.maxStringLength),r)+("... "+n)+" more character"+(n>1?"s":"")}var i=B[r.quoteStyle||"single"];return i.lastIndex=0,$(b.call(b.call(e,i,"\\$1"),/[\x00-\x1f]/g,Z),"single",r)}(e,O);if("number"==typeof e){if(0===e)return 1/0/e>0?"0":"-0";var te=String(e);return W?j(e,te):te}if("bigint"==typeof e){var tr=String(e)+"n";return W?j(e,tr):tr}var tn=void 0===O.depth?5:O.depth;if(void 0===i&&(i=0),i>=tn&&tn>0&&"object"==typeof e)return V(e)?"[Array]":"[Object]";var ti=function(t,e){var r;if(" "===t.indent)r=" ";else{if("number"!=typeof t.indent||!(t.indent>0))return null;r=A.call(Array(t.indent+1)," ")}return{base:r,prev:A.call(Array(e+1),r)}}(O,i);if(void 0===s)s=[];else if(K(s,e)>=0)return"[Circular]";function to(e,r,n){if(r&&(s=E.call(s)).push(r),n){var o={depth:O.depth};return G(O,"quoteStyle")&&(o.quoteStyle=O.quoteStyle),t(e,o,i+1,s)}return t(e,O,i+1,s)}if("function"==typeof e&&!z(e)){var ta=function(t){if(t.name)return t.name;var e=m.call(g.call(t),/^function\s*([\w$]+)/);return e?e[1]:null}(e),ts=tt(e,to);return"[Function"+(ta?": "+ta:" (anonymous)")+"]"+(ts.length>0?" { "+A.call(ts,", ")+" }":"")}if(q(e)){var tu=I?b.call(String(e),/^(Symbol\(.*\))_[^)]*$/,"$1"):R.call(e);return"object"!=typeof e||I?tu:J(tu)}if((tc=e)&&"object"==typeof tc&&("u">typeof HTMLElement&&tc instanceof HTMLElement||"string"==typeof tc.nodeName&&"function"==typeof tc.getAttribute)){for(var tc,tl,tf="<"+w.call(String(e.nodeName)),td=e.attributes||[],tp=0;tp<td.length;tp++){tf+=" "+td[tp].name+"="+$((tl=td[tp].value,b.call(String(tl),/"/g,""")),"double",O)}return tf+=">",e.childNodes&&e.childNodes.length&&(tf+="..."),tf+="</"+w.call(String(e.nodeName))+">"}if(V(e)){if(0===e.length)return"[]";var th=tt(e,to);return ti&&!function(t){for(var e=0;e<t.length;e++)if(K(t[e],"\n")>=0)return!1;return!0}(th)?"["+X(th,ti)+"]":"[ "+A.call(th,", ")+" ]"}if("[object Error]"===H(u=e)&&F(u)){var ty=tt(e,to);return"cause"in Error.prototype||!("cause"in e)||N.call(e,"cause")?0===ty.length?"["+String(e)+"]":"{ ["+String(e)+"] "+A.call(ty,", ")+" }":"{ ["+String(e)+"] "+A.call(S.call("[cause]: "+to(e.cause),ty),", ")+" }"}if("object"==typeof e&&L){if(M&&"function"==typeof e[M]&&U)return U(e,{depth:tn-i});else if("symbol"!==L&&"function"==typeof e.inspect)return e.inspect()}if(function(t){if(!o||!t||"object"!=typeof t)return!1;try{o.call(t);try{c.call(t)}catch(t){return!0}return t instanceof Map}catch(t){}return!1}(e)){var tg=[];return a&&a.call(e,function(t,r){tg.push(to(r,e,!0)+" => "+to(t,e))}),Y("Map",o.call(e),tg,ti)}if(function(t){if(!c||!t||"object"!=typeof t)return!1;try{c.call(t);try{o.call(t)}catch(t){return!0}return t instanceof Set}catch(t){}return!1}(e)){var tm=[];return l&&l.call(e,function(t){tm.push(to(t,e))}),Y("Set",c.call(e),tm,ti)}if(function(t){if(!f||!t||"object"!=typeof t)return!1;try{f.call(t,f);try{d.call(t,d)}catch(t){return!0}return t instanceof WeakMap}catch(t){}return!1}(e))return Q("WeakMap");if(function(t){if(!d||!t||"object"!=typeof t)return!1;try{d.call(t,d);try{f.call(t,f)}catch(t){return!0}return t instanceof WeakSet}catch(t){}return!1}(e))return Q("WeakSet");if(function(t){if(!p||!t||"object"!=typeof t)return!1;try{return p.call(t),!0}catch(t){}return!1}(e))return Q("WeakRef");if("[object Number]"===H(y=e)&&F(y))return J(to(Number(e)));if(function(t){if(!t||"object"!=typeof t||!k)return!1;try{return k.call(t),!0}catch(t){}return!1}(e))return J(to(k.call(e)));if("[object Boolean]"===H(_=e)&&F(_))return J(h.call(e));if("[object String]"===H(x=e)&&F(x))return J(to(String(e)));if("u">typeof window&&e===window)return"{ [object Window] }";if("u">typeof globalThis&&e===globalThis||void 0!==r.g&&e===r.g)return"{ [object globalThis] }";if(!("[object Date]"===H(T=e)&&F(T))&&!z(e)){var tv=tt(e,to),tb=P?P(e)===Object.prototype:e instanceof Object||e.constructor===Object,t_=e instanceof Object?"":"null prototype",tw=!tb&&C&&Object(e)===e&&C in e?v.call(H(e),8,-1):t_?"Object":"",tx=(tb||"function"!=typeof e.constructor?"":e.constructor.name?e.constructor.name+" ":"")+(tw||t_?"["+A.call(S.call([],tw||[],t_||[]),": ")+"] ":"");return 0===tv.length?tx+"{}":ti?tx+"{"+X(tv,ti)+"}":tx+"{ "+A.call(tv,", ")+" }"}return String(e)};var W=Object.prototype.hasOwnProperty||function(t){return t in this};function G(t,e){return W.call(t,e)}
4function H(t){return y.call(t)}function K(t,e){if(t.indexOf)return t.indexOf(e);for(var r=0,n=t.length;r<n;r++)if(t[r]===e)return r;return -1}function Z(t){var e=t.charCodeAt(0),r={8:"b",9:"t",10:"n",12:"f",13:"r"}[e];return r?"\\"+r:"\\x"+(e<16?"0":"")+_.call(e.toString(16))}function J(t){return"Object("+t+")"}function Q(t){return t+" { ? }"}function Y(t,e,r,n){return t+" ("+e+") {"+(n?X(r,n):A.call(r,", "))+"}"}function X(t,e){if(0===t.length)return"";var r="\n"+e.prev+e.base;return r+A.call(t,","+r)+"\n"+e.prev}function tt(t,e){var r,n=V(t),i=[];if(n){i.length=t.length;for(var o=0;o<t.length;o++)i[o]=G(t,o)?e(t[o],t):""}var a="function"==typeof O?O(t):[];if(I){r={};for(var s=0;s<a.length;s++)r["$"+a[s]]=a[s]}for(var u in t)if(G(t,u)&&(!n||String(Number(u))!==u||!(u<t.length)))if(I&&r["$"+u]instanceof Symbol)continue;else x.call(/[^\w$]/,u)?i.push(e(u,t)+": "+e(t[u],t)):i.push(u+": "+e(t[u],t));if("function"==typeof O)for(var c=0;c<a.length;c++)N.call(t,a[c])&&i.push("["+e(a[c])+"]: "+e(t[a[c]],t));return i}},8160(t,e,r){"use strict";var n;if(!Object.keys){var i=Object.prototype.hasOwnProperty,o=Object.prototype.toString,a=r(968),s=Object.prototype.propertyIsEnumerable,u=!s.call({toString:null},"toString"),c=s.call(function(){},"prototype"),l=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],f=function(t){var e=t.constructor;return e&&e.prototype===t},d={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},p=function(){if("u"<typeof window)return!1;for(var t in window)try{if(!d["$"+t]&&i.call(window,t)&&null!==window[t]&&"object"==typeof window[t])try{f(window[t])}catch(t){return!0}}catch(t){return!0}return!1}(),h=function(t){if("u"<typeof window||!p)return f(t);try{return f(t)}catch(t){return!1}};n=function(t){var e=null!==t&&"object"==typeof t,r="[object Function]"===o.call(t),n=a(t),s=e&&"[object String]"===o.call(t),f=[];if(!e&&!r&&!n)throw TypeError("Object.keys called on a non-object");var d=c&&r;if(s&&t.length>0&&!i.call(t,0))for(var p=0;p<t.length;++p)f.push(String(p));if(n&&t.length>0)for(var y=0;y<t.length;++y)f.push(String(y));else for(var g in t)!(d&&"prototype"===g)&&i.call(t,g)&&f.push(String(g));if(u)for(var m=h(t),v=0;v<l.length;++v)!(m&&"constructor"===l[v])&&i.call(t,l[v])&&f.push(l[v]);return f}}t.exports=n},9228(t,e,r){"use strict";var n=Array.prototype.slice,i=r(968),o=Object.keys,a=o?function(t){return o(t)}:r(8160),s=Object.keys;a.shim=function(){return Object.keys?!function(){var t=Object.keys(arguments);return t&&t.length===arguments.length}(1,2)&&(Object.keys=function(t){return i(t)?s(n.call(t)):s(t)}):Object.keys=a,Object.keys||a},t.exports=a},968(t){"use strict";var e=Object.prototype.toString;t.exports=function(t){var r=e.call(t),n="[object Arguments]"===r;return n||(n="[object Array]"!==r&&null!==t&&"object"==typeof t&&"number"==typeof t.length&&t.length>=0&&"[object Function]"===e.call(t.callee)),n}},9501(t){"use strict";t.exports=["Float16Array","Float32Array","Float64Array","Int8Array","Int16Array","Int32Array","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array"]},5873(t,e,r){"use strict";var n=r(6015);e.createRoot=n.createRoot,e.hydrateRoot=n.hydrateRoot},7350(t,e,r){"use strict";r.d(e,{tH:()=>a});var n=r(1157);let i=(0,n.createContext)(null),o={didCatch:!1,error:null};class a extends n.Component{constructor(t){super(t),this.resetErrorBoundary=this.resetErrorBoundary.bind(this),this.state=o}static getDerivedStateFromError(t){return{didCatch:!0,error:t}}resetErrorBoundary(){let{error:t}=this.state;if(null!==t){for(var e,r,n=arguments.length,i=Array(n),a=0;a<n;a++)i[a]=arguments[a];null==(e=(r=this.props).onReset)||e.call(r,{args:i,reason:"imperative-api"}),this.setState(o)}}componentDidCatch(t,e){var r,n;null==(r=(n=this.props).onError)||r.call(n,t,e)}componentDidUpdate(t,e){let{didCatch:r}=this.state,{resetKeys:n}=this.props;if(r&&null!==e.error&&function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return t.length!==e.length||t.some((t,r)=>!Object.is(t,e[r]))}(t.resetKeys,n)){var i,a;null==(i=(a=this.props).onReset)||i.call(a,{next:n,prev:t.resetKeys,reason:"keys"}),this.setState(o)}}render(){let{children:t,fallbackRender:e,FallbackComponent:r,fallback:o}=this.props,{didCatch:a,error:s}=this.state,u=t;if(a){let t={error:s,resetErrorBoundary:this.resetErrorBoundary};if("function"==typeof e)u=e(t);else if(r)u=(0,n.createElement)(r,t);else if(void 0!==o)u=o;else throw s}return(0,n.createElement)(i.Provider,{value:{didCatch:a,error:s,resetErrorBoundary:this.resetErrorBoundary}},u)}}},8366(t,e,r){"use strict";
4var n=r(528)("%Array.prototype.concat%"),i=r(8498),o=r(4607)("Array.prototype.slice"),a=r(2908)()&&Symbol.isConcatSpreadable,s=[],u=a?i.apply(n,s):null,c=a?r(6815):null;t.exports=a?function(t){for(var e=0;e<arguments.length;e+=1){var r=arguments[e];if(r&&"object"==typeof r&&"boolean"==typeof r[a]){s[a]||(s[a]=!0);var n=c(r)?o(r):[r];n[a]=!0,arguments[e]=n}}return u(arguments)}:i(n,s)},6132(t,e,r){"use strict";var n=r(4607),i=r(2672),o=n("RegExp.prototype.exec"),a=r(3468);t.exports=function(t){if(!i(t))throw new a("`regex` must be a RegExp");return function(e){return null!==o(t,e)}}},6108(t,e,r){"use strict";var n=r(528),i=r(686),o=r(7239)(),a=r(9336),s=r(3468),u=n("%Math.floor%");t.exports=function(t,e){if("function"!=typeof t)throw new s("`fn` is not a function");if("number"!=typeof e||e<0||e>0xffffffff||u(e)!==e)throw new s("`length` must be a positive 32-bit integer");var r=arguments.length>2&&!!arguments[2],n=!0,c=!0;if("length"in t&&a){var l=a(t,"length");l&&!l.configurable&&(n=!1),l&&!l.writable&&(c=!1)}return(n||c||!r)&&(o?i(t,"length",e,!0,!0):i(t,"length",e)),t}},1809(t,e,r){"use strict";var n=r(763),i=r(4527),o=r(4607)("String.prototype.replace"),a=/^\s$/.test("᠎"),s=a?/^[\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u180E\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF]+/:/^[\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF]+/,u=a?/[\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u180E\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF]+$/:/[\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF]+$/;t.exports=function(){return o(o(i(n(this)),s,""),u,"")}},2383(t,e,r){"use strict";var n=r(8498),i=r(1857),o=r(763),a=r(1809),s=r(6996),u=r(1870),c=n(s()),l=function(t){return o(t),c(t)};i(l,{getPolyfill:s,implementation:a,shim:u}),t.exports=l},6996(t,e,r){"use strict";var n=r(1809);t.exports=function(){return String.prototype.trim&&"​"==="​".trim()&&"᠎"==="᠎".trim()&&"_᠎"==="_᠎".trim()&&"᠎_"==="᠎_".trim()?String.prototype.trim:n}},1870(t,e,r){"use strict";var n=r(7239)(),i=r(686),o=r(6996);t.exports=function(){var t=o();return String.prototype.trim!==t&&(n?i(String.prototype,"trim",t,!0):i(String.prototype,"trim",t)),t}},4420(t,e,r){"use strict";var n=r(2730),i=r(6767),o=r(9336);function a(t){return Object.prototype.toString.call(t)}var s=Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)};function u(t,e){if(t.forEach)return t.forEach(e);for(var r=0;r<t.length;r++)e(t[r],r,t)}var c=Object.keys||function(t){var e=[];for(var r in t)e[e.length]=r;return e},l=Object.prototype.propertyIsEnumerable,f=Object.getOwnPropertySymbols;function d(t){var e=c(t);if(f)for(var r=f(t),n=0;n<r.length;n++)l.call(t,r[n])&&(e[e.length]=r[n]);return e}var p=Object.prototype.hasOwnProperty||function(t,e){return e in t};function h(t,e){if("object"==typeof t&&null!==t){if(s(t))r=[];else if("[object Date]"===a(t))r=new Date(t.getTime?t.getTime():t);else if("[object RegExp]"===a(t))r=new RegExp(t);else if("[object Error]"===a(t))r={message:t.message};else if("[object Boolean]"===a(t)||"[object Number]"===a(t)||"[object String]"===a(t))r=Object(t);else{var r;if(n(t))return i(t);if(Object.create&&Object.getPrototypeOf)r=Object.create(Object.getPrototypeOf(t));else if(t.constructor===Object)r={};else{var o=t.constructor&&t.constructor.prototype||t.__proto__||{},l=function(){};l.prototype=o,r=new l}}return u((e.includeSymbols?d:c)(t),function(e){r[e]=t[e]}),r}return t}var y={__proto__:null};function g(t,e){var r=[],n=[],i=!0,a=arguments.length>2?arguments[2]:y,l=a.includeSymbols?d:c,f=!!a.immutable;return function t(c){var d=f?h(c,a):c,y={__proto__:null},g=!0,m={node:d,node_:c,path:[].concat(r),parent:n[n.length-1],parents:n,key:r[r.length-1],removedKeys:{__proto__:null},isRoot:0===r.length,level:r.length,circular:null,update:function(t,e){m.isRoot||(m.parent.node[m.key]=t),m.node=t,e&&(g=!1)},delete:function(t){delete m.parent.node[m.key],m.parent.removedKeys[m.key]=!0,t&&(g=!1)},remove:function(t){s(m.parent.node)?(m.parent.node.splice(m.key,1),m.parent.removedKeys[m.key]=!0,t&&(g=!1)):m.delete(t)},keys:null,before:function(t){y.before=t},after:function(t){y.after=t},pre:function(t){y.pre=t},post:function(t){y.post=t},stop:function(){i=!1},block:function(){g=!1}};if(!i)return m;function v(){if("object"==typeof m.node&&null!==m.node){m.keys&&m.node_===m.node||(m.keys=l(m.node)),m.isLeaf=0===m.keys.length;for(var t=0;t<n.length;t++)if(n[t].node_===c){m.circular=n[t];break}}
4else m.isLeaf=!0,m.keys=null;m.notLeaf=!m.isLeaf,m.notRoot=!m.isRoot}v();var b=e.call(m,m.node);return void 0!==b&&m.update&&m.update(b),y.before&&y.before.call(m,m.node),g&&("object"!=typeof m.node||null===m.node||m.circular||(n[n.length]=m,v(),u(m.keys,function(e,n){var i=n-1 in m.removedKeys;i&&(e=m.keys[n-1]),r[r.length]=e,y.pre&&y.pre.call(m,m.node[e],e);var a=t(m.node[e]);f&&p.call(m.node,e)&&!function(t,e){if("function"!=typeof o)return!0;var r=o(t,e);return!r||!r.writable}(m.node,e)&&!i&&(m.node[e]=a.node),a.isLast=n===m.keys.length-1,a.isFirst=0===n,y.post&&y.post.call(m,a),r.pop()}),n.pop()),y.after&&y.after.call(m,m.node)),m}(t).node}function m(t){this.options=arguments.length>1?arguments[1]:y,this.value=t}function v(t){var e=arguments.length>1?arguments[1]:y;return new m(t,e)}m.prototype.get=function(t){for(var e=this.value,r=0;e&&r<t.length;r++){var n=t[r];if(!p.call(e,n)||!this.options.includeSymbols&&"symbol"==typeof n)return;e=e[n]}return e},m.prototype.has=function(t){var e=this.value;if(!e&&t.length>0)return!1;for(var r=0;e&&r<t.length;r++){var n=t[r];if(!p.call(e,n)||!this.options.includeSymbols&&"symbol"==typeof n)return!1;e=e[n]}return!0},m.prototype.set=function(t,e){for(var r=this.value,n=0;n<t.length-1;n++){var i=t[n];p.call(r,i)||(r[i]={}),r=r[i]}return r[t[n]]=e,e},m.prototype.map=function(t){return g(this.value,t,{__proto__:null,immutable:!0,includeSymbols:!!this.options.includeSymbols})},m.prototype.forEach=function(t){return this.value=g(this.value,t,this.options),this.value},m.prototype.reduce=function(t,e){var r=1==arguments.length,n=r?this.value:e;return this.forEach(function(e){this.isRoot&&r||(n=t.call(this,n,e))}),n},m.prototype.paths=function(){var t=[];return this.forEach(function(){t[t.length]=this.path}),t},m.prototype.nodes=function(){var t=[];return this.forEach(function(){t[t.length]=this.node}),t},m.prototype.clone=function(){var t=[],e=[],r=this.options;return n(this.value)?i(this.value):function n(i){for(var o=0;o<t.length;o++)if(t[o]===i)return e[o];if("object"==typeof i&&null!==i){var a=h(i,r);return t[t.length]=i,e[e.length]=a,u((r.includeSymbols?d:c)(i),function(t){a[t]=n(i[t])}),t.pop(),e.pop(),a}return i}(this.value)},u(d(m.prototype),function(t){v[t]=function(e){var r=[].slice.call(arguments,1),n=new m(e);return n[t].apply(n,r)}}),t.exports=v},1279(t,e,r){"use strict";var n=r(3468),i=r(4607)("TypedArray.prototype.buffer",!0),o=r(5943);t.exports=i||function(t){if(!o(t))throw new n("Not a Typed Array");return t.buffer}},3961(t,e,r){"use strict";var n=r(705),i=r(8498),o=r(9744)(),a=r(4834)(),s={__proto__:null},u=r(9336),c=Object.defineProperty;if(u){var l=function(t){return t.byteOffset};n(a,function(t){if("function"==typeof r.g[t]||"object"==typeof r.g[t]){var e=r.g[t].prototype,n=u(e,"byteOffset");if(n||(n=u(o(e),"byteOffset")),n&&n.get)s[t]=i(n.get);else if(c){var a=new r.g[t](2);(n=u(a,"byteOffset"))&&n.configurable&&c(a,"length",{value:3}),2===a.length&&(s[t]=l)}}})}var f=function(t){var e;return n(s,function(r){if("number"!=typeof e)try{var n=r(t);"number"==typeof n&&(e=n)}catch(t){}}),e},d=r(5943);t.exports=function(t){return!!d(t)&&f(t)}},5141(t,e,r){"use strict";var n=r(8498),i=r(705),o=r(9336),a=r(5943),s=r(9501),u=r(9744)(),c={__proto__:null},l=Object.defineProperty;if(o){var f=function(t){return t.length};i(s,function(t){var e=r.g[t];if("function"==typeof e||"object"==typeof e){var i=e.prototype,a=o(i,"length");if(a||(a=o(u(i),"length")),a&&a.get)c["$"+t]=n(a.get);else if(l){var s=new r.g[t](2);(a=o(s,"length"))&&a.configurable&&l(s,"length",{value:3}),2===s.length&&(c["$"+t]=f)}}})}var d=function(t){var e;return i(c,function(r){if("number"!=typeof e)try{var n=r(t);"number"==typeof n&&(e=n)}catch(t){}}),e};t.exports=function(t){return!!a(t)&&d(t)}},3505(t,e,r){"use strict";var n=r(3468),i=r(2903),o=r(4612),a=r(6715),s=r(8129),u=r(2387),c=r(3939),l=r(7783),f=r(2703),d=r(4527),p=r(9502),h=r(364),y=r(2930),g=r(448),m=r(1279),v=r(3961);t.exports=function(t,e){g(this,"SEQ-CST");var r,b,_=this.length,w=f(t);r=w===-1/0?0:w<0?s(_+w,0):u(w,_);var x=void 0===e?_:f(e);b=x===-1/0?0:x<0?s(_+x,0):u(x,_);var S=s(b-r,0),A=y(this,[S]);if(S>
40){if(a(m(this)))throw new n("Cannot use a Typed Array with an underlying ArrayBuffer that is detached");if(h(this)===h(A))for(var E=m(this),T=m(A),k=p(this),O=r*k+v(this),R=v(A),I=R+S*k;R<I;)l(T,R,"UINT8",o(E,O,"UINT8",!0,"UNORDERED"),!0,"UNORDERED"),O+=1,R+=1;else for(var C=0;r<b;){var N=i(this,d(r));c(A,d(C),N,!0),r+=1,C+=1}}return A}},6767(t,e,r){"use strict";var n=r(1857),i=r(8498),o=r(3505),a=r(3796),s=r(926),u=i(a());n(u,{getPolyfill:a,implementation:o,shim:s}),t.exports=u},3796(t,e,r){"use strict";var n=r(3505);t.exports=function(){return"function"==typeof Uint8Array&&Uint8Array.prototype.slice||n}},926(t,e,r){"use strict";var n=r(1857),i=r(6369),o=r(3796);t.exports=function(){if("function"==typeof Uint8Array){var t=o(),e=i(Uint8Array.prototype);n(e,{slice:t},{slice:function(){return e.slice!==t}})}return t}},8502(t,e,r){"use strict";var n=r(8120),i=r(6828),o=r(3725),a=r(3409),s=r(8078);t.exports=function(t){return null==t||"object"!=typeof t&&"function"!=typeof t?null:n(t)?"String":i(t)?"Number":o(t)?"Boolean":a(t)?"Symbol":s(t)?"BigInt":void 0}},2624(t,e,r){"use strict";var n=r(8502),i=r(9334),o=r(2730),a=r(6815),s=r(9543),u=r(2672),c=r(7213),l=r(2594),f=r(2923),d=r(2625),p=r(4806),h=r(4607),y=r(1913)()&&Symbol.toStringTag,g=Object,m=h("Promise.prototype.then",!0),v=function(t){if(!t||"object"!=typeof t||!m)return!1;try{return m(t,null,function(){}),!0}catch(t){}return!1},b=function(t){return!!t&&"BigInt"!==t&&"Boolean"!==t&&"Null"!==t&&"Number"!==t&&"String"!==t&&"Symbol"!==t&&"Undefined"!==t&&"Math"!==t&&"JSON"!==t&&"Reflect"!==t&&"Atomics"!==t&&"Map"!==t&&"Set"!==t&&"WeakMap"!==t&&"WeakSet"!==t&&"BigInt64Array"!==t&&"BigUint64Array"!==t&&"Float32Array"!==t&&"Float64Array"!==t&&"Int16Array"!==t&&"Int32Array"!==t&&"Int8Array"!==t&&"Uint16Array"!==t&&"Uint32Array"!==t&&"Uint8Array"!==t&&"Uint8ClampedArray"!==t&&"Array"!==t&&"Date"!==t&&"FinalizationRegistry"!==t&&"Promise"!==t&&"RegExp"!==t&&"WeakRef"!==t&&"Function"!==t&&"GeneratorFunction"!==t&&"AsyncFunction"!==t};t.exports=function(t){if(null==t)return t;var e=n(g(t))||i(t)||o(t);if(e)return e;if(a(t))return"Array";if(s(t))return"Date";if(u(t))return"RegExp";if(c(t))return"WeakRef";if(l(t))return"FinalizationRegistry";if("function"==typeof t)return d(t)?"GeneratorFunction":p(t)?"AsyncFunction":"Function";if(v(t))return"Promise";if(y&&y in t){var r=t[y];if(b(r))return r}if("function"==typeof t.constructor){var h=f(t.constructor);if(b(h))return h}return"Object"}},9334(t,e,r){"use strict";var n=r(8009),i=r(2583),o=r(8341),a=r(2347);t.exports=function(t){if(t&&"object"==typeof t){if(n(t))return"Map";if(i(t))return"Set";if(o(t))return"WeakMap";if(a(t))return"WeakSet"}return!1}},2730(t,e,r){"use strict";var n=r(705),i=r(4834),o=r(8498),a=r(4607),s=r(9336),u=r(6369),c=a("Object.prototype.toString"),l=r(1913)(),f="u"<typeof globalThis?r.g:globalThis,d=i(),p=a("String.prototype.slice"),h=a("Array.prototype.indexOf",!0)||function(t,e){for(var r=0;r<t.length;r+=1)if(t[r]===e)return r;return -1},y={__proto__:null};l&&s&&u?n(d,function(t){var e=new f[t];if(Symbol.toStringTag in e&&u){var r=u(e),n=s(r,Symbol.toStringTag);!n&&r&&(n=s(u(r),Symbol.toStringTag)),y["$"+t]=o(n.get)}}):n(d,function(t){var e=new f[t],r=e.slice||e.set;r&&(y["$"+t]=o(r))});var g=function(t){var e=!1;return n(y,function(r,n){if(!e)try{"$"+r(t)===n&&(e=p(n,1))}catch(t){}}),e},m=function(t){var e=!1;return n(y,function(r,n){if(!e)try{r(t),e=p(n,1)}catch(t){}}),e};t.exports=function(t){if(!t||"object"!=typeof t)return!1;if(!l){var e=p(c(t),8,-1);return h(d,e)>-1?e:"Object"===e&&m(t)}return s?g(t):null}},4834(t,e,r){"use strict";var n=r(9501),i="u"<typeof globalThis?r.g:globalThis;t.exports=function(){for(var t=[],e=0;e<n.length;e++)"function"==typeof i[n[e]]&&(t[t.length]=n[e]);return t}},4486(t,e,r){"use strict";var n=r(3468),i=r(6715),o=r(6227),a=r(1189),s=r(7300),u=r(4607)("SharedArrayBuffer.prototype.byteLength",!0);t.exports=function(t,e){var r=a(t);if(!o(t)&&!r)throw new n("Assertion failed: `arrayBuffer` must be an ArrayBuffer or a SharedArrayBuffer");if("SEQ-CST"!==e&&"UNORDERED"!==e)throw new n("Assertion failed: `order` must be ~SEQ-CST~ or ~UNORDERED~");if(i(t))throw new n("Assertion failed: `arrayBuffer` must not be detached");return r?u(t):s(t)}},5264(t,e,r){"use strict";var n=r(528)("%BigInt%",!0),i=r(1155),o=r(3468),a=n&&n(0);t.exports=function(t,e){if("bigint"!=typeof t||"bigint"!=typeof e)throw new o("Assertion failed: `n` and `d` arguments must be BigInts");if(e===a)throw new i("Division by zero");return t===a?a:t%e}},8689(t,e,r){"use strict";var n=r(3468),i=r(6482),o=r(7604),a=r(700),s=r(4063),u=r(7326),c=r(5676),l=r(1328),f=r(5722);t.exports=function(t,e,r){if(!i(t))throw new n("Assertion failed: Type(O)
4is not Object");if(!c(e))throw new n("Assertion failed: P is not a Property Key");var d=o(r)?r:f(r);if(!o(d))throw new n("Assertion failed: Desc is not a valid Property Descriptor");return a(u,l,s,t,e,d)}},4063(t,e,r){"use strict";var n=r(3468),i=r(7604),o=r(290);t.exports=function(t){if(void 0!==t&&!i(t))throw new n("Assertion failed: `Desc` must be a Property Descriptor");return o(t)}},2903(t,e,r){"use strict";var n=r(3468),i=r(8660),o=r(5676),a=r(6482);t.exports=function(t,e){if(!a(t))throw new n("Assertion failed: Type(O) is not Object");if(!o(e))throw new n("Assertion failed: P is not a Property Key, got "+i(e));return t[e]}},4612(t,e,r){"use strict";var n=r(528),i=r(5731),o=r(3468),a=r(4607),s=r(1597),u=n("%Uint8Array%",!0),c=a("Array.prototype.slice"),l=r(6715),f=r(6448),d=r(6227),p=r(1189),h=r(8366),y=r(7452),g=r(3241);t.exports=function(t,e,r,n,a){var m,v=p(t);if(!d(t)&&!v)throw new o("Assertion failed: `arrayBuffer` must be an ArrayBuffer or a SharedArrayBuffer");if(!s(e))throw new o("Assertion failed: `byteIndex` must be an integer");if("string"!=typeof r||"number"!=typeof y.size["$"+r])throw new o("Assertion failed: `type` must be one of "+y.choices);if("boolean"!=typeof n)throw new o("Assertion failed: `isTypedArray` must be a boolean");if("SEQ-CST"!==a&&"UNORDERED"!==a)throw new o("Assertion failed: `order` must be either `SEQ-CST` or `UNORDERED`");if(arguments.length>5&&"boolean"!=typeof arguments[5])throw new o("Assertion failed: `isLittleEndian` must be a boolean, if present");if(l(t))throw new o("Assertion failed: `arrayBuffer` is detached");if(e<0)throw new o("Assertion failed: `byteIndex` must be non-negative");var b=y.size["$"+r];if(!b)throw new o("Assertion failed: `type` must be one of "+y.choices);if(v)throw new i("SharedArrayBuffer is not supported by this implementation");m=c(new u(t,e),0,b);var _=arguments.length>5?arguments[5]:"little"===g;return f(r,_?c(h([0,0,0,0,0,0,0,0],m),-b):c(h(m,[0,0,0,0,0,0,0,0]),0,b),_)}},4702(t,e,r){"use strict";var n=r(3468),i=r(8554),o=r(6482),a=r(5676);t.exports=function(t,e){if(!o(t))throw new n("Assertion failed: `O` must be an Object");if(!a(e))throw new n("Assertion failed: `P` must be a Property Key");return i(t,e)}},234(t,e,r){"use strict";t.exports=r(6009)},6878(t){"use strict";t.exports=function(t){return"BIGUINT64"===t||"BIGINT64"===t}},6627(t,e,r){"use strict";t.exports=r(9617)},5591(t,e,r){"use strict";var n=r(2651)("%Reflect.construct%",!0),i=r(8689);try{i({},"",{"[[Get]]":function(){}})}catch(t){i=null}if(i&&n){var o={},a={};i(a,"length",{"[[Get]]":function(){throw o},"[[Enumerable]]":!0}),t.exports=function(t){try{n(t,a)}catch(t){return t===o}}}else t.exports=function(t){return"function"==typeof t&&!!t.prototype}},7326(t,e,r){"use strict";var n=r(3468),i=r(8554),o=r(7604);t.exports=function(t){if(void 0===t)return!1;if(!o(t))throw new n("Assertion failed: `Desc` must be a Property Descriptor");return!!i(t,"[[Value]]")||!!i(t,"[[Writable]]")}},6715(t,e,r){"use strict";var n=r(3468),i=r(7300),o=r(4834)(),a=r(4607),s=r(6227),u=r(1189),c=a("SharedArrayBuffer.prototype.byteLength",!0);t.exports=function(t){var e=u(t);if(!s(t)&&!e)throw new n("Assertion failed: `arrayBuffer` must be an Object with an [[ArrayBufferData]] internal slot");if(0===(e?c:i)(t))try{new r.g[o[0]](t)}catch(t){return!!t&&"TypeError"===t.name}return!1}},250(t,e,r){"use strict";var n=r(3468),i=r(4607),o=i("%ArrayBuffer.prototype.resizable%",!0),a=i("%SharedArrayBuffer.prototype.growable%",!0),s=r(6227),u=r(1189);t.exports=function(t){var e=s(t),r=u(t);if(!e&&!r)throw new n("Assertion failed: `arrayBuffer` must be an ArrayBuffer or SharedArrayBuffer");return e&&o?!o(t):!r||!a||!a(t)}},416(t,e,r){"use strict";var n=r(3468),i=r(6715),o=r(250),a=r(9502),s=r(1041),u=r(1279),c=r(3961),l=r(5141);t.exports=function(t){if(!s(t))throw new n("Assertion failed: `taRecord` must be a TypedArray With Buffer Witness Record");var e,r=t["[[Object]]"],f=t["[[CachedBufferByteLength]]"];if(i(u(r))&&"DETACHED"!==f)throw new n("Assertion failed: typed array is detached only if the byte length is ~DETACHED~");if("DETACHED"===f)return!0;var d=c(r),p=o(u(r))?l(r):"AUTO";
4return e="AUTO"===p?f:d+p*a(r),!!(d>f)||!!(e>f)}},9454(t){"use strict";t.exports=function(t){return"UINT8"===t||"UINT8C"===t||"UINT16"===t||"UINT32"===t||"BIGUINT64"===t}},3154(t,e,r){"use strict";var n=r(3468),i=r(4486),o=r(6715),a=r(5943),s=r(1279);t.exports=function(t,e){if(!a(t))throw new n("Assertion failed: `obj` must be a Typed Array");if("SEQ-CST"!==e&&"UNORDERED"!==e)throw new n("Assertion failed: `order` must be ~SEQ-CST~ or ~UNORDERED~");var r=s(t);return{"[[Object]]":t,"[[CachedBufferByteLength]]":o(r)?"DETACHED":i(r,e)}}},132(t,e,r){"use strict";var n=r(3468),i=r(4702),o=r(2599),a=r(1220),s=r(9594),u=r(9028),c=r(9813),l=r(2741),f=r(4187),d=r(8352),p=r(7429),h=r(2382),y=r(4407),g=r(9534),m=r(7452),v={__proto__:null,$INT8:c,$UINT8:d,$UINT8C:p,$INT16:s,$UINT16:l,$INT32:u,$UINT32:f,$BIGINT64:o,$BIGUINT64:a};t.exports=function(t,e,r){if("string"!=typeof t||!i(m.size,"$"+t))throw new n("Assertion failed: `type` must be a TypedArray element type");if("number"!=typeof e&&"bigint"!=typeof e)throw new n("Assertion failed: `value` must be a Number or a BigInt");if("boolean"!=typeof r)throw new n("Assertion failed: `isLittleEndian` must be a Boolean");if("FLOAT32"===t)return h(e,r);if("FLOAT64"===t)return y(e,r);var o=m.size["$"+t];return g((0,v["$"+t])(e),o,r)}},6448(t,e,r){"use strict";var n=r(528),i=r(4607),o=r(1155),a=r(5731),s=r(3468),u=n("%BigInt%",!0),c=r(4702),l=r(234),f=r(6878),d=r(9454),p=r(564),h=r(7507),y=r(2337),g=r(3643),m=r(3763),v=i("Array.prototype.reverse"),b=i("Array.prototype.slice"),_=r(7452);t.exports=function(t,e,r){if(!c(_.size,"$"+t))throw new s("Assertion failed: `type` must be a TypedArray element type");if(!l(e)||!g(e,m))throw new s("Assertion failed: `rawBytes` must be an Array of bytes");if("boolean"!=typeof r)throw new s("Assertion failed: `isLittleEndian` must be a Boolean");var n=_.size["$"+t];if(e.length!==n)throw new o("Assertion failed: `rawBytes` must have a length of "+n+" for type "+t);var i=f(t);if(i&&!u)throw new a("this environment does not support BigInts");return(e=b(e,0,n),r||v(e),"FLOAT32"===t)?p(e):"FLOAT64"===t?h(e):y(e,n,d(t),i)}},1328(t,e,r){"use strict";var n=r(2422);t.exports=function(t,e){return t===e?0!==t||1/t==1/e:n(t)&&n(e)}},3939(t,e,r){"use strict";var n=r(3468),i=r(6482),o=r(5676),a=r(1328),s=function(){try{return delete[].length,!0}catch(t){return!1}}();t.exports=function(t,e,r,u){if(!i(t))throw new n("Assertion failed: `O` must be an Object");if(!o(e))throw new n("Assertion failed: `P` must be a Property Key");if("boolean"!=typeof u)throw new n("Assertion failed: `Throw` must be a Boolean");if(u){if(t[e]=r,s&&!a(t[e],r))throw new n("Attempted to assign to readonly property.");return!0}try{return t[e]=r,!s||a(t[e],r)}catch(t){return!1}}},7783(t,e,r){"use strict";var n=r(528),i=r(5731),o=r(3468),a=r(1597),s=n("%Uint8Array%",!0),u=r(6878),c=r(6715),l=r(132),f=r(6227),d=r(1189),p=r(8554),h=r(7452),y=r(3241),g=r(626);t.exports=function(t,e,r,n,m,v){var b=d(t);if(!f(t)&&!b)throw new o("Assertion failed: `arrayBuffer` must be an ArrayBuffer or a SharedArrayBuffer");if(!a(e)||e<0)throw new o("Assertion failed: `byteIndex` must be a non-negative integer");if("string"!=typeof r||!p(h.size,"$"+r))throw new o("Assertion failed: `type` must be one of "+h.choices);if("number"!=typeof n&&"bigint"!=typeof n)throw new o("Assertion failed: `value` must be a Number or a BigInt");if("boolean"!=typeof m)throw new o("Assertion failed: `isTypedArray` must be a boolean");if("SEQ-CST"!==v&&"UNORDERED"!==v&&"INIT"!==v)throw new o('Assertion failed: `order` must be `"SEQ-CST"`, `"UNORDERED"`, or `"INIT"`');if(arguments.length>6&&"boolean"!=typeof arguments[6])throw new o("Assertion failed: `isLittleEndian` must be a boolean, if present");if(c(t))throw new o("Assertion failed: ArrayBuffer is detached");if(u(r)?"bigint"!=typeof n:"number"!=typeof n)throw new o("Assertion failed: `value` must be a BigInt if type is ~BIGINT64~ or ~BIGUINT64~, otherwise a Number");var _=h.size["$"+r],w=arguments.length>6?arguments[6]:"little"===y,x=l(r,n,w);if(b)throw new i("SharedArrayBuffer is not supported by this implementation");var S=new s(t,e,_);g(x,function(t,e){S[e]=t})}},2509(t,e,r){"use strict";var n=r(528)("%Symbol.species%",!0),i=r(3468),o=r(6482),a=r(5591);t.exports=function(t,e){if(!o(t))throw new i("Assertion failed: Type(O)
4is not Object");var r=t.constructor;if(void 0===r)return e;if(!o(r))throw new i("O.constructor is not an Object");var s=n?r[n]:void 0;if(null==s)return e;if(a(s))return s;throw new i("no constructor found")}},4264(t,e,r){"use strict";var n=r(528)("%BigInt%",!0),i=r(3468),o=r(5731);t.exports=function(t){if("string"!=typeof t)throw new i("`argument` must be a string");if(!n)throw new o("BigInts are not supported in this environment");try{return n(t)}catch(t){return}}},742(t,e,r){"use strict";var n=r(528),i=n("%RegExp%"),o=r(3468),a=n("%parseInt%"),s=r(4607),u=r(6132),c=s("String.prototype.slice"),l=u(/^0b[01]+$/i),f=u(/^0o[0-7]+$/i),d=u(/^[-+]0x[0-9a-f]+$/i),p=u(new i("[\x85​￾]","g")),h=r(2383);t.exports=function t(e){if("string"!=typeof e)throw new o("Assertion failed: `argument` is not a String");if(l(e))return+a(c(e,2),2);if(f(e))return+a(c(e,2),8);if(p(e)||d(e))return NaN;var r=h(e);return r!==e?t(r):+e}},4981(t,e,r){"use strict";var n=r(528),i=n("%BigInt%",!0),o=n("%Number%"),a=r(3468),s=r(5731),u=r(4264),c=r(745);t.exports=function(t){if(!i)throw new s("BigInts are not supported in this environment");var e=c(t,o);if(null==e)throw new a("Cannot convert null or undefined to a BigInt");if("boolean"==typeof e)return e?i(1):i(0);if("number"==typeof e)throw new a("Cannot convert a Number value to a BigInt");if("string"==typeof e){var r=u(e);if(void 0===r)throw new a("Failed to parse String to BigInt");return r}if("symbol"==typeof e)throw new a("Cannot convert a Symbol value to a BigInt");if("bigint"!=typeof e)throw new s("Assertion failed: unknown primitive type");return e}},2599(t,e,r){"use strict";var n=r(528)("%BigInt%",!0),i=r(5865),o=r(4981),a=r(5264),s=r(2515),u=n&&BigInt(i(2,32))*BigInt(i(2,31)),c=n&&BigInt(i(2,32))*BigInt(i(2,32));t.exports=function(t){var e=s(a,o(t),c);return e>=u?e-c:e}},1220(t,e,r){"use strict";var n=r(528)("%BigInt%",!0),i=r(5865),o=r(4981),a=r(5264),s=r(2515),u=n&&BigInt(i(2,32))*BigInt(i(2,32));t.exports=function(t){return s(a,o(t),u)}},4124(t){"use strict";t.exports=function(t){return!!t}},9594(t,e,r){"use strict";var n=r(8581),i=r(9503),o=r(4721),a=r(1028);t.exports=function(t){var e=i(t);if(!a(e)||0===e)return 0;var r=n(o(e),65536);return r>=32768?r-65536:r}},9028(t,e,r){"use strict";var n=r(8581),i=r(9503),o=r(4721),a=r(1028);t.exports=function(t){var e=i(t);if(!a(e)||0===e)return 0;var r=n(o(e),0x100000000),s=r>=0x80000000?r-0x100000000:r;return 0===s?0:s}},9813(t,e,r){"use strict";var n=r(8581),i=r(9503),o=r(4721),a=r(1028);t.exports=function(t){var e=i(t);if(!a(e)||0===e)return 0;var r=n(o(e),256);return r>=128?r-256:r}},2703(t,e,r){"use strict";var n=r(9503),i=r(4721),o=r(2422),a=r(1028);t.exports=function(t){var e=n(t);return o(e)||0===e?0:a(e)?i(e):e}},9503(t,e,r){"use strict";var n=r(528),i=r(3468),o=n("%Number%"),a=r(8809),s=r(745),u=r(742);t.exports=function(t){var e=a(t)?t:s(t,o);if("symbol"==typeof e)throw new i("Cannot convert a Symbol value to a number");if("bigint"==typeof e)throw new i("Conversion from 'BigInt' to 'number' is not allowed.");return"string"==typeof e?u(e):+e}},745(t,e,r){"use strict";var n=r(3606);t.exports=function(t){return arguments.length>1?n(t,arguments[1]):n(t)}},5722(t,e,r){"use strict";var n=r(8554),i=r(3468),o=r(6482),a=r(6627),s=r(4124);t.exports=function(t){if(!o(t))throw new i("ToPropertyDescriptor requires an object");var e={};if(n(t,"enumerable")&&(e["[[Enumerable]]"]=s(t.enumerable)),n(t,"configurable")&&(e["[[Configurable]]"]=s(t.configurable)),n(t,"value")&&(e["[[Value]]"]=t.value),n(t,"writable")&&(e["[[Writable]]"]=s(t.writable)),n(t,"get")){var r=t.get;if(void 0!==r&&!a(r))throw new i("getter must be a function");e["[[Get]]"]=r}if(n(t,"set")){var u=t.set;if(void 0!==u&&!a(u))throw new i("setter must be a function");e["[[Set]]"]=u}if((n(e,"[[Get]]")||n(e,"[[Set]]"))&&(n(e,"[[Value]]")||n(e,"[[Writable]]")))throw new i("Invalid property descriptor. Cannot both specify accessors and a value or writable attribute");return e}},4527(t,e,r){"use strict";var n=r(528)("%String%"),i=r(3468);t.exports=function(t){if("symbol"==typeof t)throw new i("Cannot convert a Symbol value to a string");return n(t)}},2741(t,e,r){"use strict";var n=r(8581),i=r(9503),o=r(4721),a=r(1028);t.exports=function(t){var e=i(t);if(!a(e)||0===e)return 0;var r=n(o(e),65536);return 0===r?0:r}},4187(t,e,r){"use strict";var n=r(8581),i=r(9503),o=r(4721),a=r(1028);t.exports=function(t){var e=i(t);if(!a(e)||0===e)return 0;var r=n(o(e),0x100000000);return 0===r?0:r}},8352(t,e,r){"use strict";var n=r(1028),i=r(8581),o=r(9503),a=r(4721);t.exports=function(t){var e=o(t);return n(e)&&0!==e?i(a(e),256):0}},7429(t,e,r){"use strict";var n=r(2160),i=r(9503),o=r(1621),a=r(2422);t.exports=function(t){var e=i(t);if(a(e))return 0;var r=n(e,0,255),s=o(r);return r<s+.5?s:r>s+.5?s+1:s%2==0?s:s+1}},3948(t,e,r){"use strict";
4var n=r(5731),i=r(3468),o=r(234),a=r(5591),s=r(416),u=r(814),c=r(448),l=r(4834)();t.exports=function(t,e){if(!a(t))throw new i("Assertion failed: `constructor` must be a constructor");if(!o(e))throw new i("Assertion failed: `argumentList` must be a List");if(0===l.length)throw new n("Assertion failed: Typed Arrays are not supported in this environment");var r=0===e.length?new t:1===e.length?new t(e[0]):2===e.length?new t(e[0],e[1]):new t(e[0],e[1],e[2]),f=c(r,"SEQ-CST");if(1===e.length&&"number"==typeof e[0]){if(s(f))throw new i("new Typed Array is out of bounds");if(u(f)<e[0])throw new i("`argumentList[0]` must be <= `newTypedArray.length`")}return r}},9502(t,e,r){"use strict";var n=r(5731),i=r(3468),o=r(1597),a=r(2730),s=r(7452);t.exports=function(t){var e=a(t);if(!e)throw new i("Assertion failed: `O` must be a TypedArray");var r=s.size["$"+s.name["$"+e]];if(!o(r)||r<0)throw new n("Assertion failed: Unknown TypedArray type `"+e+"`");return r}},364(t,e,r){"use strict";var n=r(5731),i=r(3468),o=r(2730),a=r(7452);t.exports=function(t){var e=o(t);if(!e)throw new i("Assertion failed: `O` must be a TypedArray");var r=a.name["$"+e];if("string"!=typeof r)throw new n("Assertion failed: Unknown TypedArray type `"+e+"`");return r}},814(t,e,r){"use strict";var n=r(3468),i=r(1621),o=r(250),a=r(416),s=r(9502),u=r(1041),c=r(1279),l=r(3961),f=r(5141);t.exports=function(t){if(!u(t))throw new n("Assertion failed: `taRecord` must be a TypedArray With Buffer Witness Record");if(a(t))throw new n("Assertion failed: `taRecord` is out of bounds");var e=t["[[Object]]"],r=o(c(e)),d=r?f(e):"AUTO";if("AUTO"!==d)return d;if(r)throw new n("Assertion failed: array buffer is not fixed length");var p=l(e),h=s(e),y=t["[[CachedBufferByteLength]]"];if("DETACHED"===y)throw new n("Assertion failed: typed array is detached");return i((y-p)/h)}},2930(t,e,r){"use strict";var n=r(5731),i=r(3468),o=r(2730),a=r(4834)(),s=r(234),u=r(2509),c=r(3948),l=r(2222);t.exports=function(t,e){if(0===a.length)throw new n("Assertion failed: Typed Arrays are not supported in this environment");var r=o(t);if(!r)throw new i("Assertion failed: exemplar must be a TypedArray");if(!s(e))throw new i("Assertion failed: `argumentList` must be a List");var f=l(r);if("function"!=typeof f)throw new n("Assertion failed: `constructor` of `exemplar` ("+r+") must exist. Please report this!");return c(u(t,f),e)}},448(t,e,r){"use strict";var n=r(3468),i=r(6482),o=r(416),a=r(3154),s=r(5943);t.exports=function(t,e){if("SEQ-CST"!==e&&"UNORDERED"!==e)throw new n("Assertion failed: `order` must be ~SEQ-CST~ or ~UNORDERED~");if(!i(t))throw new n("Assertion failed: `O` must be an Object");if(!s(t))throw new n("Assertion failed: `O` must be a Typed Array");var r=a(t,e);if(o(r))throw new n("`O` must be in-bounds and backed by a non-detached buffer");return r}},2160(t,e,r){"use strict";var n=r(3468),i=r(8129),o=r(2387);t.exports=function(t,e,r){if("number"!=typeof t||"number"!=typeof e||"number"!=typeof r||!(e<=r))throw new n("Assertion failed: all three arguments must be MVs, and `lower` must be `<= upper`");return o(i(e,t),r)}},1621(t,e,r){"use strict";var n=r(8449);t.exports=function(t){return"bigint"==typeof t?t:n(t)}},8581(t,e,r){"use strict";var n=r(7496);t.exports=function(t,e){return n(t,e)}},7452(t){"use strict";t.exports={__proto__:null,name:{__proto__:null,$Int8Array:"INT8",$Uint8Array:"UINT8",$Uint8ClampedArray:"UINT8C",$Int16Array:"INT16",$Uint16Array:"UINT16",$Int32Array:"INT32",$Uint32Array:"UINT32",$BigInt64Array:"BIGINT64",$BigUint64Array:"BIGUINT64",$Float32Array:"FLOAT32",$Float64Array:"FLOAT64"},size:{__proto__:null,$INT8:1,$UINT8:1,$UINT8C:1,$INT16:2,$UINT16:2,$INT32:4,$UINT32:4,$BIGINT64:8,$BIGUINT64:8,$FLOAT32:4,$FLOAT64:8},choices:'"INT8", "UINT8", "UINT8C", "INT16", "UINT16", "INT32", "UINT32", "BIGINT64", "BIGUINT64", "FLOAT32", or "FLOAT64"'}},4721(t,e,r){"use strict";var n=r(1621),i=r(3468);t.exports=function(t){if("number"!=typeof t&&"bigint"!=typeof t)throw new i("argument must be a Number or a BigInt");var e=t<0?-n(-t):n(t);return 0===e?0:e}},2651(t,e,r){"use strict";t.exports=r(528)},700(t,e,r){"use strict";var n=r(7239),i=r(4940),o=n.hasArrayLengthDefineBug(),a=o&&r(6009),s=r(4607)("Object.prototype.propertyIsEnumerable");t.exports=function(t,e,r,n,u,c){if(!i){if(!t(c)||!c["[[Configurable]]"]||!c["[[Writable]]"]||u in n&&s(n,u)!==!!c["[[Enumerable]]"])return!1;var l=c["[[Value]]"];return n[u]=l,e(n[u],l)}return o&&"length"===u&&"[[Value]]"in c&&a(n)&&n.length!==c["[[Value]]"]?(n.length=c["[[Value]]"],n.length===c["[[Value]]"]):(i(n,u,r(c)),!0)}},6009(t,e,r){"use strict";var n=r(528)("%Array%"),i=!n.isArray&&r(4607)("Object.prototype.toString");t.exports=n.isArray||function(t){return"[object Array]"===i(t)}},564(t,e,r){"use strict";var n=r(5865);t.exports=function(t){var e=128&t[3]?-1:1,r=(127&t[3])<<1|t[2]>>7,i=(127&t[2])<<16|t[1]<<8|t[0];return 0===r&&0===i?1===e?0:-0:255===r&&0===i?1===e?1/0:-1/0:255===r&&0!==i?NaN:-127==(r-=127)?e*i*n(2,-149):e*(1+i*n(2,-23))*n(2,r)}},7507(t,e,r){"use strict";var n=r(5865);t.exports=function(t){var e=128&t[7]?-1:1,r=(127&t[7])<<4|(240&t[6])>>4,i=(15&t[6])*0x1000000000000+0x10000000000*t[5]+0x100000000*t[4]+0x1000000*t[3]+65536*t[2]+256*t[1]+t[0];return 0===r&&0===i?0*e:2047===r&&0!==i?NaN:2047===r&&0===i?1/0*e:-1023==(r-=1023)?e*i*5e-324:e*(1+i/0x10000000000000)*n(2,r)}},2337(t,e,r){"use strict";var n=r(528),i=r(5865),o=n("%Number%"),a=n("%BigInt%",!0);t.exports=function(t,e,r,n){for(var s=n?a:o,u=s(0),c=0;c<t.length;c++)u+=s(t[c]*i(2,8*c));return!r&&128&t[e-1]&&(u-=s(i(2,8*e))),u}},3241(t,e,r){"use strict";var n=r(528),i=n("%Uint8Array%",!0),o=n("%Uint32Array%",!0),a=r(1279),s=o&&new o([0x12345678]),u=s&&new i(a(s));t.exports=u?120===u[0]?"little":18===u[0]?"big":52===u[0]?"mixed":"unknown":"indeterminate"},3643(t){"use strict";
4t.exports=function(t,e){for(var r=0;r<t.length;r+=1)if(!e(t[r],r,t))return!1;return!0}},626(t){"use strict";t.exports=function(t,e){for(var r=0;r<t.length;r+=1)e(t[r],r,t)}},373(t){"use strict";t.exports=function(t){var e,r="";if(0===t)return r;for(var n=1075,i=0;i<1075&&((e=2*t)>=1?(t=e-1,r+="1",1075===n&&(n=i)):(t=e,r+="0"),1!==e&&!(i-n>54));i+=1);return r}},290(t){"use strict";t.exports=function(t){if(void 0===t)return t;var e={};return"[[Value]]"in t&&(e.value=t["[[Value]]"]),"[[Writable]]"in t&&(e.writable=!!t["[[Writable]]"]),"[[Get]]"in t&&(e.get=t["[[Get]]"]),"[[Set]]"in t&&(e.set=t["[[Set]]"]),"[[Enumerable]]"in t&&(e.enumerable=!!t["[[Enumerable]]"]),"[[Configurable]]"in t&&(e.configurable=!!t["[[Configurable]]"]),e}},5524(t,e,r){"use strict";var n=r(8449);t.exports=function(t){for(var e,r="";t>0;)t=n(e=t/2),r=e===t?"0"+r:"1"+r;return r}},9534(t,e,r){"use strict";var n=r(528),i=n("%Number%"),o=n("%BigInt%",!0);t.exports=function(t,e,r){var n="bigint"==typeof t?o:i;t<0&&(t>>>=0);for(var a=[],s=0;s<e;s++)a[r?s:e-1-s]=i(t&n(255)),t>>=n(8);return a}},3763(t){"use strict";t.exports=function(t){return"number"==typeof t&&t>=0&&t<=255&&(0|t)===t}},6982(t,e,r){"use strict";t.exports=r(1597)},3365(t,e,r){"use strict";t.exports=r(6482)},8809(t){"use strict";t.exports=function(t){return null===t||"function"!=typeof t&&"object"!=typeof t}},5676(t){"use strict";t.exports=function(t){return"string"==typeof t||"symbol"==typeof t}},7496(t,e,r){"use strict";t.exports=r(3251)},2515(t){"use strict";t.exports=function(t,e,r){var n=t(e,r);return n>=0?n:n+r}},7604(t,e,r){"use strict";var n=r(3468),i=r(8554),o={__proto__:null,"[[Configurable]]":!0,"[[Enumerable]]":!0,"[[Get]]":!0,"[[Set]]":!0,"[[Value]]":!0,"[[Writable]]":!0};t.exports=function(t){if(!t||"object"!=typeof t)return!1;for(var e in t)if(i(t,e)&&!o[e])return!1;var r=i(t,"[[Value]]")||i(t,"[[Writable]]"),a=i(t,"[[Get]]")||i(t,"[[Set]]");if(r&&a)throw new n("Property Descriptors may not be both accessor and data descriptors");return!0}},1041(t,e,r){"use strict";var n=r(8554),i=r(5943),o=r(6982);t.exports=function(t){return!!t&&"object"==typeof t&&n(t,"[[Object]]")&&n(t,"[[CachedBufferByteLength]]")&&(o(t["[[CachedBufferByteLength]]"])&&t["[[CachedBufferByteLength]]"]>=0||"DETACHED"===t["[[CachedBufferByteLength]]"])&&i(t["[[Object]]"])}},2222(t,e,r){"use strict";var n=r(528),i={__proto__:null,$Int8Array:n("%Int8Array%",!0),$Uint8Array:n("%Uint8Array%",!0),$Uint8ClampedArray:n("%Uint8ClampedArray%",!0),$Int16Array:n("%Int16Array%",!0),$Uint16Array:n("%Uint16Array%",!0),$Int32Array:n("%Int32Array%",!0),$Uint32Array:n("%Uint32Array%",!0),$BigInt64Array:n("%BigInt64Array%",!0),$BigUint64Array:n("%BigUint64Array%",!0),$Float16Array:n("%Float16Array%",!0),$Float32Array:n("%Float32Array%",!0),$Float64Array:n("%Float64Array%",!0)};t.exports=function(t){return i["$"+t]}},2382(t,e,r){"use strict";var n=r(8479),i=r(8449),o=r(5865),a=r(1028),s=r(2422),u=r(6906);t.exports=function(t,e){if(s(t))return e?[0,0,192,127]:[127,192,0,0];if(0===t)return r=128*!!u(t),e?[0,0,0,r]:[r,0,0,0];if(n(t)>34028234663852886e22||!a(t))return r=t<0?255:127,e?[0,0,128,r]:[r,128,0,0];var r,c=+(t<0);t=n(t);for(var l=0;t>=2;)l+=1,t/=2;for(;t<1;)l-=1,t*=2;var f=t-1;f*=o(2,23)+.5,f=i(f),l+=127;var d=c<<31|(l<<=23)|f,p=255&d,h=255&(d>>=8),y=255&(d>>=8),g=255&(d>>=8);return e?[p,h,y,g]:[g,y,h,p]}},4407(t,e,r){"use strict";var n=r(528)("%parseInt%"),i=r(8479),o=r(8449),a=r(6906),s=r(4607),u=s("String.prototype.indexOf"),c=s("String.prototype.slice"),l=r(373),f=r(5524),d="11111111111",p="00000000000",h=p+p+p+p+"0000000";t.exports=function(t,e){var r=t<0||a(t)?"1":"0";if(isNaN(t))s=d,y="1"+h;else if(isFinite(t))if(0===t)s=p,y="0"+h;else{var s,y,g,m=o(t=i(t)),v=f(m),b=l(t-m);if(v)s=v.length-1;else{var _=u(b,"1");_>-1&&(g=_+1),s=-g}y=v+b,s<0?(s<=-1023&&(g=1022),y=c(y,g)):y=c(y,1),s=c(p+f(s+1023),-11),y=c(y+h+"0",0,52)}else s=d,y="0"+h;for(var w=r+s+y,x=[],S=0;S<8;S++)x[e?8-S-1:S]=n(c(w,8*S,(S+1)*8),2);return x}},8949(t,e,r){"use strict";var n=r(528),i=r(6627),o=r(3365),a=r(2624),s=r(3468),u=r(6369),c=r(9629);t.exports=function(t){if(!o(t))throw new s("Reflect.getPrototypeOf called on non-object");
4if(u)return u(t);var e=a(t);if(e){var r=n("%"+e+".prototype%",!0);if(r)return r}return i(t.constructor)?t.constructor.prototype:t instanceof Object?c.prototype:null}},9744(t,e,r){"use strict";var n=r(8949),i=r(6369);t.exports=function(){return"object"==typeof Reflect&&Reflect&&Reflect.getPrototypeOf?Reflect.getPrototypeOf:i?function(t){return i(t)}:n}},3686(t,e,r){"use strict";let n;r.d(e,{initRealUserMonitoring:()=>K,oN:()=>J,sI:()=>X,isValidEnv:()=>Z});var i=r(5599),o=r(8598),a=r(4813),s=r(6499),u=r(995),c=r(2932),l=r(3260),f=r(2740),d=r(2954),p=r(5973),h=r(462),y=r(9972);function g({configuredUrl:t,error:e,source:r,scriptType:n}){var i;if(h.Vy.error(`${r} failed to start: an error occurred while initializing the ${n}:`,e),e instanceof Event||e instanceof Error&&((i=e.message).includes("Content Security Policy")||i.includes("requires 'TrustedScriptURL'"))){let e;e=t?`Please make sure the ${n} URL ${t} is correct and CSP is correctly configured.`:"Please make sure CSP is correctly configured.",h.Vy.error(`${e} See documentation at ${h.fH}/integrations/content_security_policy_logs/#use-csp-with-real-user-monitoring-and-session-replay`)}else"worker"===n&&(0,y.VJ)(e)}let m=30*l.OY;function v(t){return new Worker(t.workerUrl||URL.createObjectURL(new Blob(['(()=>{function t(t){if(1===t.length)return t[0];const e=t.reduce((t,e)=>t+e.length,0),a=new Uint8Array(e);let n=0;for(const e of t)a.set(e,n),n+=e.length;return a}function e(t){for(var e=t.length;--e>=0;)t[e]=0}var a=new Uint8Array([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0]),n=new Uint8Array([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13]),r=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7]),i=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),s=Array(576);e(s);var h=Array(60);e(h);var l=Array(512);e(l);var _=Array(256);e(_);var o=Array(29);e(o);var d,u,f,c=Array(30);function p(t,e,a,n,r){this.static_tree=t,this.extra_bits=e,this.extra_base=a,this.elems=n,this.max_length=r,this.has_stree=t&&t.length}function g(t,e){this.dyn_tree=t,this.max_code=0,this.stat_desc=e}e(c);var v=function(t){return t<256?l[t]:l[256+(t>>>7)]},w=function(t,e){t.pending_buf[t.pending++]=255&e,t.pending_buf[t.pending++]=e>>>8&255},m=function(t,e,a){t.bi_valid>16-a?(t.bi_buf|=e<<t.bi_valid&65535,w(t,t.bi_buf),t.bi_buf=e>>16-t.bi_valid,t.bi_valid+=a-16):(t.bi_buf|=e<<t.bi_valid&65535,t.bi_valid+=a)},b=function(t,e,a){m(t,a[2*e],a[2*e+1])},y=function(t,e){var a=0;do{a|=1&t,t>>>=1,a<<=1}while(--e>0);return a>>>1},z=function(t,e,a){var n,r,i=Array(16),s=0;for(n=1;n<=15;n++)i[n]=s=s+a[n-1]<<1;for(r=0;r<=e;r++){var h=t[2*r+1];0!==h&&(t[2*r]=y(i[h]++,h))}},k=function(t){var e;for(e=0;e<286;e++)t.dyn_ltree[2*e]=0;for(e=0;e<30;e++)t.dyn_dtree[2*e]=0;for(e=0;e<19;e++)t.bl_tree[2*e]=0;t.dyn_ltree[512]=1,t.opt_len=t.static_len=0,t.last_lit=t.matches=0},x=function(t){t.bi_valid>8?w(t,t.bi_buf):t.bi_valid>0&&(t.pending_buf[t.pending++]=t.bi_buf),t.bi_buf=0,t.bi_valid=0},A=function(t,e,a,n){var r=2*e,i=2*a;return t[r]<t[i]||t[r]===t[i]&&n[e]<=n[a]},U=function(t,e,a){for(var n=t.heap[a],r=a<<1;r<=t.heap_len&&(r<t.heap_len&&A(e,t.heap[r+1],t.heap[r],t.depth)&&r++,!A(e,n,t.heap[r],t.depth));)t.heap[a]=t.heap[r],a=r,r<<=1;t.heap[a]=n},B=function(t,e,r){var i,s,h,l,d=0;if(0!==t.last_lit)do{i=t.pending_buf[t.d_buf+2*d]<<8|t.pending_buf[t.d_buf+2*d+1],s=t.pending_buf[t.l_buf+d],d++,0===i?b(t,s,e):(h=_[s],b(t,h+256+1,e),0!==(l=a[h])&&(s-=o[h],m(t,s,l)),i--,h=v(i),b(t,h,r),0!==(l=n[h])&&(i-=c[h],m(t,i,l)))}while(d<t.last_lit);b(t,256,e)},I=function(t,e){var a,n,r,i=e.dyn_tree,s=e.stat_desc.static_tree,h=e.stat_desc.has_stree,l=e.stat_desc.elems,_=-1;for(t.heap_len=0,t.heap_max=573,a=0;a<l;a++)0!==i[2*a]?(t.heap[++t.heap_len]=_=a,t.depth[a]=0):i[2*a+1]=0;for(;t.heap_len<2;)i[2*(r=t.heap[++t.heap_len]=_<2?++_:0)]=1,t.depth[r]=0,t.opt_len--,h&&(t.static_len-=s[2*r+1]);for(e.max_code=_,a=t.heap_len>>1;a>=1;a--)U(t,i,a);r=l;do{a=t.heap[1],t.heap[1]=t.heap[t.heap_len--],U(t,i,1),n=t.heap[1],t.heap[--t.heap_max]=a,t.heap[--t.heap_max]=n,i[2*r]=i[2*a]+i[2*n],t.depth[r]=(t.depth[a]>=t.depth[n]?t.depth[a]:t.depth[n])+1,i[2*a+1]=i[2*n+1]=r,t.heap[1]=r++,U(t,i,1)}while(t.heap_len>=2);t.heap[--t.heap_max]=t.heap[1],function(t,e){var a,n,r,i,s,h,l=e.dyn_tree,_=e.max_code,o=e.stat_desc.static_tree,d=e.stat_desc.has_stree,u=e.stat_desc.extra_bits,f=e.stat_desc.extra_base,c=e.stat_desc.max_length,p=0;for(i=0;i<=15;i++)t.bl_count[i]=0;for(l[2*t.heap[t.heap_max]+1]=0,a=t.heap_max+1;a<573;a++)(i=l[2*l[2*(n=t.heap[a])+1]+1]+1)>c&&(i=c,p++),l[2*n+1]=i,n>_||(t.bl_count[i]++,s=0,n>=f&&(s=u[n-f]),h=l[2*n],t.opt_len+=h*(i+s),d&&(t.static_len+=h*(o[2*n+1]+s)));if(0!==p){do{for(i=c-1;0===t.bl_count[i];)i--;t.bl_count[i]--,t.bl_count[i+1]+=2,t.bl_count[c]--,p-=2}while(p>0);for(i=c;0!==i;i--)for(n=t.bl_count[i];0!==n;
4)(r=t.heap[--a])>_||(l[2*r+1]!==i&&(t.opt_len+=(i-l[2*r+1])*l[2*r],l[2*r+1]=i),n--)}}(t,e),z(i,_,t.bl_count)},E=function(t,e,a){var n,r,i=-1,s=e[1],h=0,l=7,_=4;for(0===s&&(l=138,_=3),e[2*(a+1)+1]=65535,n=0;n<=a;n++)r=s,s=e[2*(n+1)+1],++h<l&&r===s||(h<_?t.bl_tree[2*r]+=h:0!==r?(r!==i&&t.bl_tree[2*r]++,t.bl_tree[32]++):h<=10?t.bl_tree[34]++:t.bl_tree[36]++,h=0,i=r,0===s?(l=138,_=3):r===s?(l=6,_=3):(l=7,_=4))},C=function(t,e,a){var n,r,i=-1,s=e[1],h=0,l=7,_=4;for(0===s&&(l=138,_=3),n=0;n<=a;n++)if(r=s,s=e[2*(n+1)+1],!(++h<l&&r===s)){if(h<_)do{b(t,r,t.bl_tree)}while(0!==--h);else 0!==r?(r!==i&&(b(t,r,t.bl_tree),h--),b(t,16,t.bl_tree),m(t,h-3,2)):h<=10?(b(t,17,t.bl_tree),m(t,h-3,3)):(b(t,18,t.bl_tree),m(t,h-11,7));h=0,i=r,0===s?(l=138,_=3):r===s?(l=6,_=3):(l=7,_=4)}},D=!1,M=function(t,e,a,n){m(t,0+(n?1:0),3),function(t,e,a){x(t),w(t,a),w(t,~a),t.pending_buf.set(t.window.subarray(e,e+a),t.pending),t.pending+=a}(t,e,a)},j=M,L=function(t,e,a,n){for(var r=65535&t,i=t>>>16&65535,s=0;0!==a;){a-=s=a>2e3?2e3:a;do{i=i+(r=r+e[n++]|0)|0}while(--s);r%=65521,i%=65521}return r|i<<16},S=new Uint32Array(function(){for(var t,e=[],a=0;a<256;a++){t=a;for(var n=0;n<8;n++)t=1&t?3988292384^t>>>1:t>>>1;e[a]=t}return e}()),T=function(t,e,a,n){var r=S,i=n+a;t^=-1;for(var s=n;s<i;s++)t=t>>>8^r[255&(t^e[s])];return-1^t},O={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"},q=j,F=function(t,e,a){return t.pending_buf[t.d_buf+2*t.last_lit]=e>>>8&255,t.pending_buf[t.d_buf+2*t.last_lit+1]=255&e,t.pending_buf[t.l_buf+t.last_lit]=255&a,t.last_lit++,0===e?t.dyn_ltree[2*a]++:(t.matches++,e--,t.dyn_ltree[2*(_[a]+256+1)]++,t.dyn_dtree[2*v(e)]++),t.last_lit===t.lit_bufsize-1},G=-2,H=258,J=262,K=103,N=113,P=666,Q=function(t,e){return t.msg=O[e],e},R=function(t){return(t<<1)-(t>4?9:0)},V=function(t){for(var e=t.length;--e>=0;)t[e]=0},W=function(t,e,a){return(e<<t.hash_shift^a)&t.hash_mask},X=function(t){var e=t.state,a=e.pending;a>t.avail_out&&(a=t.avail_out),0!==a&&(t.output.set(e.pending_buf.subarray(e.pending_out,e.pending_out+a),t.next_out),t.next_out+=a,e.pending_out+=a,t.total_out+=a,t.avail_out-=a,e.pending-=a,0===e.pending&&(e.pending_out=0))},Y=function(t,e){(function(t,e,a,n){var r,l,_=0;t.level>0?(2===t.strm.data_type&&(t.strm.data_type=function(t){var e,a=4093624447;for(e=0;e<=31;e++,a>>>=1)if(1&a&&0!==t.dyn_ltree[2*e])return 0;if(0!==t.dyn_ltree[18]||0!==t.dyn_ltree[20]||0!==t.dyn_ltree[26])return 1;for(e=32;e<256;e++)if(0!==t.dyn_ltree[2*e])return 1;return 0}(t)),I(t,t.l_desc),I(t,t.d_desc),_=function(t){var e;for(E(t,t.dyn_ltree,t.l_desc.max_code),E(t,t.dyn_dtree,t.d_desc.max_code),I(t,t.bl_desc),e=18;e>=3&&0===t.bl_tree[2*i[e]+1];e--);return t.opt_len+=3*(e+1)+5+5+4,e}(t),r=t.opt_len+3+7>>>3,(l=t.static_len+3+7>>>3)<=r&&(r=l)):r=l=a+5,a+4<=r&&-1!==e?M(t,e,a,n):4===t.strategy||l===r?(m(t,2+(n?1:0),3),B(t,s,h)):(m(t,4+(n?1:0),3),function(t,e,a,n){var r;for(m(t,e-257,5),m(t,a-1,5),m(t,n-4,4),r=0;r<n;r++)m(t,t.bl_tree[2*i[r]+1],3);C(t,t.dyn_ltree,e-1),C(t,t.dyn_dtree,a-1)}(t,t.l_desc.max_code+1,t.d_desc.max_code+1,_+1),B(t,t.dyn_ltree,t.dyn_dtree)),k(t),n&&x(t)})(t,t.block_start>=0?t.block_start:-1,t.strstart-t.block_start,e),t.block_start=t.strstart,X(t.strm)},Z=function(t,e){t.pending_buf[t.pending++]=e},$=function(t,e){t.pending_buf[t.pending++]=e>>>8&255,t.pending_buf[t.pending++]=255&e},tt=function(t,e,a,n){var r=t.avail_in;return r>n&&(r=n),0===r?0:(t.avail_in-=r,e.set(t.input.subarray(t.next_in,t.next_in+r),a),1===t.state.wrap?t.adler=L(t.adler,e,r,a):2===t.state.wrap&&(t.adler=T(t.adler,e,r,a)),t.next_in+=r,t.total_in+=r,r)},et=function(t,e){var a,n,r=t.max_chain_length,i=t.strstart,s=t.prev_length,h=t.nice_match,l=t.strstart>t.w_size-J?t.strstart-(t.w_size-J):0,_=t.window,o=t.w_mask,d=t.prev,u=t.strstart+H,f=_[i+s-1],c=_[i+s];t.prev_length>=t.good_match&&(r>>=2),h>t.lookahead&&(h=t.lookahead);do{if(_[(a=e)+s]===c&&_[a+s-1]===f&&_[a]===_[i]&&_[++a]===_[i+1]){i+=2,a++;do{}while(_[++i]===_[++a]&&_[++i]===_[++a]&&_[++i]===_[++a]&&_[++i]===_[++a]&&_[++i]===_[++a]&&_[++i]===_[++a]&&_[++i]===_[++a]&&_[++i]===_[++a]&&i<u);if(n=H-(u-i),i=u-H,n>s){if(t.match_start=e,s=n,n>=h)break;f=_[i+s-1],c=_[i+s]}}}while((e=d[e&o])>l&&0!==--r);return s<=t.lookahead?s:t.lookahead},at=function(t){var e,a,n,r,i,s=t.w_size;do{if(r=t.window_size-t.lookahead-t.strstart,t.strstart>=s+(s-J)){t.window.set(t.window.subarray(s,s+s),0),t.match_start-=s,t.strstart-=s,t.block_start-=s,e=a=t.hash_size;do{n=t.head[--e],t.head[e]=n>=s?n-s:0}while(--a);e=a=s;do{n=t.prev[--e],t.prev[e]=n>=s?n-s:0}while(--a);r+=s}if(0===t.strm.avail_in)break;if(a=tt(t.strm,t.window,t.strstart+t.lookahead,r),t.lookahead+=a,t.lookahead+t.insert>=3)for(i=t.strstart-t.insert,t.ins_h=t.window[i],t.ins_h=W(t,t.ins_h,t.window[i+1]
4);t.insert&&(t.ins_h=W(t,t.ins_h,t.window[i+3-1]),t.prev[i&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=i,i++,t.insert--,!(t.lookahead+t.insert<3)););}while(t.lookahead<J&&0!==t.strm.avail_in)},nt=function(t,e){for(var a,n;;){if(t.lookahead<J){if(at(t),t.lookahead<J&&0===e)return 1;if(0===t.lookahead)break}if(a=0,t.lookahead>=3&&(t.ins_h=W(t,t.ins_h,t.window[t.strstart+3-1]),a=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),0!==a&&t.strstart-a<=t.w_size-J&&(t.match_length=et(t,a)),t.match_length>=3)if(n=F(t,t.strstart-t.match_start,t.match_length-3),t.lookahead-=t.match_length,t.match_length<=t.max_lazy_match&&t.lookahead>=3){t.match_length--;do{t.strstart++,t.ins_h=W(t,t.ins_h,t.window[t.strstart+3-1]),a=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart}while(0!==--t.match_length);t.strstart++}else t.strstart+=t.match_length,t.match_length=0,t.ins_h=t.window[t.strstart],t.ins_h=W(t,t.ins_h,t.window[t.strstart+1]);else n=F(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++;if(n&&(Y(t,!1),0===t.strm.avail_out))return 1}return t.insert=t.strstart<2?t.strstart:2,4===e?(Y(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(Y(t,!1),0===t.strm.avail_out)?1:2},rt=function(t,e){for(var a,n,r;;){if(t.lookahead<J){if(at(t),t.lookahead<J&&0===e)return 1;if(0===t.lookahead)break}if(a=0,t.lookahead>=3&&(t.ins_h=W(t,t.ins_h,t.window[t.strstart+3-1]),a=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),t.prev_length=t.match_length,t.prev_match=t.match_start,t.match_length=2,0!==a&&t.prev_length<t.max_lazy_match&&t.strstart-a<=t.w_size-J&&(t.match_length=et(t,a),t.match_length<=5&&(1===t.strategy||3===t.match_length&&t.strstart-t.match_start>4096)&&(t.match_length=2)),t.prev_length>=3&&t.match_length<=t.prev_length){r=t.strstart+t.lookahead-3,n=F(t,t.strstart-1-t.prev_match,t.prev_length-3),t.lookahead-=t.prev_length-1,t.prev_length-=2;do{++t.strstart<=r&&(t.ins_h=W(t,t.ins_h,t.window[t.strstart+3-1]),a=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart)}while(0!==--t.prev_length);if(t.match_available=0,t.match_length=2,t.strstart++,n&&(Y(t,!1),0===t.strm.avail_out))return 1}else if(t.match_available){if((n=F(t,0,t.window[t.strstart-1]))&&Y(t,!1),t.strstart++,t.lookahead--,0===t.strm.avail_out)return 1}else t.match_available=1,t.strstart++,t.lookahead--}return t.match_available&&(n=F(t,0,t.window[t.strstart-1]),t.match_available=0),t.insert=t.strstart<2?t.strstart:2,4===e?(Y(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(Y(t,!1),0===t.strm.avail_out)?1:2};function it(t,e,a,n,r){this.good_length=t,this.max_lazy=e,this.nice_length=a,this.max_chain=n,this.func=r}var st=[new it(0,0,0,0,function(t,e){var a=65535;for(a>t.pending_buf_size-5&&(a=t.pending_buf_size-5);;){if(t.lookahead<=1){if(at(t),0===t.lookahead&&0===e)return 1;if(0===t.lookahead)break}t.strstart+=t.lookahead,t.lookahead=0;var n=t.block_start+a;if((0===t.strstart||t.strstart>=n)&&(t.lookahead=t.strstart-n,t.strstart=n,Y(t,!1),0===t.strm.avail_out))return 1;if(t.strstart-t.block_start>=t.w_size-J&&(Y(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,4===e?(Y(t,!0),0===t.strm.avail_out?3:4):(t.strstart>t.block_start&&(Y(t,!1),t.strm.avail_out),1)}),new it(4,4,8,4,nt),new it(4,5,16,8,nt),new it(4,6,32,32,nt),new it(4,4,16,16,rt),new it(8,16,32,32,rt),new it(8,16,128,128,rt),new it(8,32,128,256,rt),new it(32,128,258,1024,rt),new it(32,258,258,4096,rt)];function ht(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=8,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new Uint16Array(1146),this.dyn_dtree=new Uint16Array(122),this.bl_tree=new Uint16Array(78),V(this.dyn_ltree),V(this.dyn_dtree),V(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new Uint16Array(16),this.heap=new Uint16Array(573),V(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new Uint16Array(573),V(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}for(var lt=function(t){var e,i=function(t){if(!t||!t.state)return Q(t,G);t.total_in=t.total_out=0,t.data_type=2;var e=t.state;return e.pending=0,e.pending_out=0,e.wrap<0&&(e.wrap=-e.wrap),e.status=e.wrap?42:N,t.adler=2===e.wrap?0:1,e.last_flush=0,function(t){D||(function(){var t,e,i,g,v,w=Array(16);for(i=0,g=0;g<28;g++)for(o[g]=i,t=0;t<1<<a[g];t++)_[i++]=g;for(_[i-1]=g,v=0,g=0;g<16;g++)for(c[g]=v,t=0;t<1<<n[g];t++)l[v++]=g;for(v>>=7;g<30;g++)for(c[g]=v<<7,t=0;t<1<<n[g]-7;t++)l[256+v++]=g;for(e=0;e<=15;e++)w[e]=0;for(t=0;t<=143;)s[2*t+1]=8,t++,w[8]++;for(;t<=255;)s[2*t+1]=9,t++,w[9]++;for(;t<=279;)s[2*t+1]=7,t++,w[7]++;for(;t<=287;)s[2*t+1]=8,t++,w[8]++;for(z(s,287,w),t=0;t<30;t++)h[2*t+1]=5,h[2*t]=y(t,5);d=new p(s,a,257,286,15),u=new p(h,n,0,30,15),f=new p([],r,0,19,7)}(),D=!0),t.l_desc=new g(t.dyn_ltree,d),t.d_desc=new g(t.dyn_dtree,u),t.bl_desc=new g(t.bl_tree,f),t.bi_buf=0,t.bi_valid=0,k(t)}(e),0}(t);return 0===i&&((e=t.state).window_size=2*e.w_size,V(e.head),e.max_lazy_match=st[e.level].max_lazy,e.good_match=st[e.level].good_length,e.nice_match=st[e.level].nice_length,e.max_chain_length=st[e.level].max_chain,e.strstart=0,e.block_start=0,e.lookahead=0,e.insert=0,e.match_length=e.prev_length=2,e.match_available=0,e.ins_h=0),i},_t=function(t,e){var a,n;if(!t||!t.state||e>5||e<0)return t?Q(t,G):G;var r=t.state;if(!t.output||!t.input&&0!==t.avail_in||r.status===P&&4!==e)return Q(t,0===t.avail_out?-5:G);r.strm=t;var i=r.last_flush;if(r.last_flush=e,42===r.status)if(2===r.wrap)t.adler=0,Z(r,31),Z(r,139),Z(r,8),r.gzhead?(Z(r,(r.gzhead.text?1:0)+(r.gzhead.hcrc?2:0)+(r.gzhead.extra?4:0)+(r.gzhead.name?8:0)+(r.gzhead.comment?16:0)),Z(r,255&r.gzhead.time),Z(r,r.gzhead.time>>8&255),Z(r,r.gzhead.time>>16&255),Z(r,r.gzhead.time>>24&255),Z(r,9===r.level?2:r.strategy>=2||r.level<2?4:0),Z(r,255&r.gzhead.os),r.gzhead.extra&&r.gzhead.extra.length&&(Z(r,255&r.gzhead.extra.length),Z(r,r.gzhead.extra.length>>8&255)),r.gzhead.hcrc&&(t.adler=T(t.adler,r.pending_buf,r.pending,0)),r.gzindex=0,r.status=69):(Z(r,0),Z(r,0),Z(r,0),Z(r,0),Z(r,0),Z(r,9===r.level?2:r.strategy>=2||r.level<2?4:0),Z(r,3),r.status=N);else{var h=8+(r.w_bits-8<<4)<<8;h|=(r.strategy>
4=2||r.level<2?0:r.level<6?1:6===r.level?2:3)<<6,0!==r.strstart&&(h|=32),h+=31-h%31,r.status=N,$(r,h),0!==r.strstart&&($(r,t.adler>>>16),$(r,65535&t.adler)),t.adler=1}if(69===r.status)if(r.gzhead.extra){for(a=r.pending;r.gzindex<(65535&r.gzhead.extra.length)&&(r.pending!==r.pending_buf_size||(r.gzhead.hcrc&&r.pending>a&&(t.adler=T(t.adler,r.pending_buf,r.pending-a,a)),X(t),a=r.pending,r.pending!==r.pending_buf_size));)Z(r,255&r.gzhead.extra[r.gzindex]),r.gzindex++;r.gzhead.hcrc&&r.pending>a&&(t.adler=T(t.adler,r.pending_buf,r.pending-a,a)),r.gzindex===r.gzhead.extra.length&&(r.gzindex=0,r.status=73)}else r.status=73;if(73===r.status)if(r.gzhead.name){a=r.pending;do{if(r.pending===r.pending_buf_size&&(r.gzhead.hcrc&&r.pending>a&&(t.adler=T(t.adler,r.pending_buf,r.pending-a,a)),X(t),a=r.pending,r.pending===r.pending_buf_size)){n=1;break}n=r.gzindex<r.gzhead.name.length?255&r.gzhead.name.charCodeAt(r.gzindex++):0,Z(r,n)}while(0!==n);r.gzhead.hcrc&&r.pending>a&&(t.adler=T(t.adler,r.pending_buf,r.pending-a,a)),0===n&&(r.gzindex=0,r.status=91)}else r.status=91;if(91===r.status)if(r.gzhead.comment){a=r.pending;do{if(r.pending===r.pending_buf_size&&(r.gzhead.hcrc&&r.pending>a&&(t.adler=T(t.adler,r.pending_buf,r.pending-a,a)),X(t),a=r.pending,r.pending===r.pending_buf_size)){n=1;break}n=r.gzindex<r.gzhead.comment.length?255&r.gzhead.comment.charCodeAt(r.gzindex++):0,Z(r,n)}while(0!==n);r.gzhead.hcrc&&r.pending>a&&(t.adler=T(t.adler,r.pending_buf,r.pending-a,a)),0===n&&(r.status=K)}else r.status=K;if(r.status===K&&(r.gzhead.hcrc?(r.pending+2>r.pending_buf_size&&X(t),r.pending+2<=r.pending_buf_size&&(Z(r,255&t.adler),Z(r,t.adler>>8&255),t.adler=0,r.status=N)):r.status=N),0!==r.pending){if(X(t),0===t.avail_out)return r.last_flush=-1,0}else if(0===t.avail_in&&R(e)<=R(i)&&4!==e)return Q(t,-5);if(r.status===P&&0!==t.avail_in)return Q(t,-5);if(0!==t.avail_in||0!==r.lookahead||0!==e&&r.status!==P){var l=2===r.strategy?function(t,e){for(var a;;){if(0===t.lookahead&&(at(t),0===t.lookahead)){if(0===e)return 1;break}if(t.match_length=0,a=F(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++,a&&(Y(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,4===e?(Y(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(Y(t,!1),0===t.strm.avail_out)?1:2}(r,e):3===r.strategy?function(t,e){for(var a,n,r,i,s=t.window;;){if(t.lookahead<=H){if(at(t),t.lookahead<=H&&0===e)return 1;if(0===t.lookahead)break}if(t.match_length=0,t.lookahead>=3&&t.strstart>0&&(n=s[r=t.strstart-1])===s[++r]&&n===s[++r]&&n===s[++r]){i=t.strstart+H;do{}while(n===s[++r]&&n===s[++r]&&n===s[++r]&&n===s[++r]&&n===s[++r]&&n===s[++r]&&n===s[++r]&&n===s[++r]&&r<i);t.match_length=H-(i-r),t.match_length>t.lookahead&&(t.match_length=t.lookahead)}if(t.match_length>=3?(a=F(t,1,t.match_length-3),t.lookahead-=t.match_length,t.strstart+=t.match_length,t.match_length=0):(a=F(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++),a&&(Y(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,4===e?(Y(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(Y(t,!1),0===t.strm.avail_out)?1:2}(r,e):st[r.level].func(r,e);if(3!==l&&4!==l||(r.status=P),1===l||3===l)return 0===t.avail_out&&(r.last_flush=-1),0;if(2===l&&(1===e?function(t){m(t,2,3),b(t,256,s),function(t){16===t.bi_valid?(w(t,t.bi_buf),t.bi_buf=0,t.bi_valid=0):t.bi_valid>=8&&(t.pending_buf[t.pending++]=255&t.bi_buf,t.bi_buf>>=8,t.bi_valid-=8)}(t)}(r):5!==e&&(q(r,0,0,!1),3===e&&(V(r.head),0===r.lookahead&&(r.strstart=0,r.block_start=0,r.insert=0))),X(t),0===t.avail_out))return r.last_flush=-1,0}return 4!==e?0:r.wrap<=0?1:(2===r.wrap?(Z(r,255&t.adler),Z(r,t.adler>>8&255),Z(r,t.adler>>16&255),Z(r,t.adler>>24&255),Z(r,255&t.total_in),Z(r,t.total_in>>8&255),Z(r,t.total_in>>16&255),Z(r,t.total_in>>24&255)):($(r,t.adler>>>16),$(r,65535&t.adler)),X(t),r.wrap>0&&(r.wrap=-r.wrap),0!==r.pending?0:1)},ot=function(t){if(!t||!t.state)return G;var e=t.state.status;return 42!==e&&69!==e&&73!==e&&91!==e&&e!==K&&e!==N&&e!==P?Q(t,G):(t.state=null,e===N?Q(t,-3):0)},dt=new Uint8Array(256),ut=0;ut<256;ut++)dt[ut]=ut>=252?6:ut>=248?5:ut>=240?4:ut>=224?3:ut>=192?2:1;dt[254]=dt[254]=1;var ft=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0},ct=Object.prototype.toString;function pt(){this.options={level:-1,method:8,chunkSize:16384,windowBits:15,memLevel:8,strategy:0};var t=this.options;t.raw&&t.windowBits>0?t.windowBits=-t.windowBits:t.gzip&&t.windowBits>0&&t.windowBits<16&&(t.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new ft,this.strm.avail_out=0;var e,a,n=function(t,e,a,n,r,i){if(!t)return G;var s=1;if(-1===e&&(e=6),n<0?(s=0,n=-n):n>15&&(s=2,n-=16),r<1||r>9||8!==a||n<8||n>15||e<0||e>9||i<0||i>4)return Q(t,G);8===n&&(n=9);var h=new ht;return t.state=h,h.strm=t,h.wrap=s,h.gzhead=null,h.w_bits=n,h.w_size=1<<h.w_bits,h.w_mask=h.w_size-1,h.hash_bits=r+7,h.hash_size=1<<h.hash_bits,h.hash_mask=h.hash_size-1,h.hash_shift=~~((h.hash_bits+3-1)/3),h.window=new Uint8Array(2*h.w_size),h.head=new Uint16Array(h.hash_size),h.prev=new Uint16Array(h.w_size),h.lit_bufsize=1<<r+6,h.pending_buf_size=4*h.lit_bufsize,h.pending_buf=new Uint8Array(h.pending_buf_size),h.d_buf=1*h.lit_bufsize,h.l_buf=3*h.lit_bufsize,h.level=e,h.strategy=i,h.method=a,lt(t)}(this.strm,t.level,t.method,t.windowBits,t.memLevel,t.strategy);if(0!==n)throw Error(O[n]);if(t.header&&(e=this.strm,a=t.header,e&&e.state&&(2!==e.state.wrap||(e.state.gzhead=a))),t.dictionary){var r;if(r="[object ArrayBuffer]"===ct.call(t.dictionary)?new Uint8Array(t.dictionary):t.dictionary,0!==(n=function(t,e){var a=e.length;if(!t||!t.state)return G;var n=t.state,r=n.wrap;if(2===r||1===r&&42!==n.status||n.lookahead)return G;if(1===r&&(t.adler=L(t.adler,e,a,0)),n.wrap=0,a>=n.w_size){0===r&&(V(n.head),n.strstart=0,n.block_start=0,n.insert=0);var i=new Uint8Array(n.w_size);
4i.set(e.subarray(a-n.w_size,a),0),e=i,a=n.w_size}var s=t.avail_in,h=t.next_in,l=t.input;for(t.avail_in=a,t.next_in=0,t.input=e,at(n);n.lookahead>=3;){var _=n.strstart,o=n.lookahead-2;do{n.ins_h=W(n,n.ins_h,n.window[_+3-1]),n.prev[_&n.w_mask]=n.head[n.ins_h],n.head[n.ins_h]=_,_++}while(--o);n.strstart=_,n.lookahead=2,at(n)}return n.strstart+=n.lookahead,n.block_start=n.strstart,n.insert=n.lookahead,n.lookahead=0,n.match_length=n.prev_length=2,n.match_available=0,t.next_in=h,t.input=l,t.avail_in=s,n.wrap=r,0}(this.strm,r)))throw Error(O[n]);this._dict_set=!0}}function gt(t,e,a){try{t.postMessage({type:"errored",error:e,streamId:a})}catch(n){t.postMessage({type:"errored",error:e+"",streamId:a})}}function vt(t){const e=t.strm.adler;return new Uint8Array([3,0,e>>>24&255,e>>>16&255,e>>>8&255,255&e])}pt.prototype.push=function(t,e){var a,n,r=this.strm,i=this.options.chunkSize;if(this.ended)return!1;for(n=e===~~e?e:!0===e?4:0,"[object ArrayBuffer]"===ct.call(t)?r.input=new Uint8Array(t):r.input=t,r.next_in=0,r.avail_in=r.input.length;;)if(0===r.avail_out&&(r.output=new Uint8Array(i),r.next_out=0,r.avail_out=i),(2===n||3===n)&&r.avail_out<=6)this.onData(r.output.subarray(0,r.next_out)),r.avail_out=0;else{if(1===(a=_t(r,n)))return r.next_out>0&&this.onData(r.output.subarray(0,r.next_out)),a=ot(this.strm),this.onEnd(a),this.ended=!0,0===a;if(0!==r.avail_out){if(n>0&&r.next_out>0)this.onData(r.output.subarray(0,r.next_out)),r.avail_out=0;else if(0===r.avail_in)break}else this.onData(r.output)}return!0},pt.prototype.onData=function(t){this.chunks.push(t)},pt.prototype.onEnd=function(t){0===t&&(this.result=function(t){for(var e=0,a=0,n=t.length;a<n;a++)e+=t[a].length;for(var r=new Uint8Array(e),i=0,s=0,h=t.length;i<h;i++){var l=t[i];r.set(l,s),s+=l.length}return r}(this.chunks)),this.chunks=[],this.err=t,this.msg=this.strm.msg},function(e=self){try{const a=new Map;e.addEventListener("message",n=>{try{const r=function(e,a){switch(a.action){case"init":return{type:"initialized",version:"6.33.0"};case"write":{let n=e.get(a.streamId);n||(n=new pt,e.set(a.streamId,n));const r=n.chunks.length,i=function(t){if("function"==typeof TextEncoder&&TextEncoder.prototype.encode)return(new TextEncoder).encode(t);let e,a,n,r,i,s=t.length,h=0;for(r=0;r<s;r++)a=t.charCodeAt(r),55296==(64512&a)&&r+1<s&&(n=t.charCodeAt(r+1),56320==(64512&n)&&(a=65536+(a-55296<<10)+(n-56320),r++)),h+=a<128?1:a<2048?2:a<65536?3:4;for(e=new Uint8Array(h),i=0,r=0;i<h;r++)a=t.charCodeAt(r),55296==(64512&a)&&r+1<s&&(n=t.charCodeAt(r+1),56320==(64512&n)&&(a=65536+(a-55296<<10)+(n-56320),r++)),a<128?e[i++]=a:a<2048?(e[i++]=192|a>>>6,e[i++]=128|63&a):a<65536?(e[i++]=224|a>>>12,e[i++]=128|a>>>6&63,e[i++]=128|63&a):(e[i++]=240|a>>>18,e[i++]=128|a>>>12&63,e[i++]=128|a>>>6&63,e[i++]=128|63&a);return e}(a.data);return n.push(i,2),{type:"wrote",id:a.id,streamId:a.streamId,result:t(n.chunks.slice(r)),trailer:vt(n),additionalBytesCount:i.length}}case"reset":e.delete(a.streamId)}}(a,n.data);r&&e.postMessage(r)}catch(t){gt(e,t,n.data&&"streamId"in n.data?n.data.streamId:void 0)}})}catch(t){gt(e,t)}}()})();'])))}let b={status:0};function _(t,e,r){switch(0===b.status&&function(t,e){try{let r=(0,f.B)(v)(t),{stop:n}=(0,d.q)(t,r,"error",r=>{w(t,e,r)}),{stop:i}=(0,d.q)(t,r,"message",({data:r})=>{var n;"errored"===r.type?w(t,e,r.error,r.streamId):"initialized"===r.type&&(n=r.version,1===b.status&&(b={status:3,worker:b.worker,stop:b.stop,version:n}))});r.postMessage({action:"init"}),(0,p.wg)(()=>{var t;return t=e,void(1===b.status&&(h.Vy.error(`${t} failed to start: a timeout occurred while initializing the Worker`),b.initializationFailureCallbacks.forEach(t=>t()),b={status:2}))},m),b={status:1,worker:r,stop:()=>{n(),i()},initializationFailureCallbacks:[]}}catch(r){w(t,e,r)}}(t,e),b.status){case 1:return b.initializationFailureCallbacks.push(r),b.worker;case 3:return b.worker}}function w(t,e,r,n){1===b.status||0===b.status?(g({configuredUrl:t.workerUrl,error:r,source:e,scriptType:"worker"}),1===b.status&&b.initializationFailureCallbacks.forEach(t=>t()),b={status:2}):(0,y.VJ)(r,{worker_version:3===b.status&&b.version,stream_id:n})}var x=r(5517);function S(t,e,r){let n,i=0,o=[],a=!0,s=0,u=[],{stop:c}=(0,d.q)(t,e,"message",({data:t})=>{if("wrote"!==t.type||t.streamId!==r)return;let e=u[0];e&&(e.id===t.id?(u.shift(),i+=t.additionalBytesCount,o.push(t.result),n=t.trailer,e.writeCallback?e.writeCallback(t.result.byteLength):e.finishCallback&&e.finishCallback()):e.id<t.id&&c())});function l(){let t=0===o.length?new Uint8Array(0):(0,x.wh)(o.concat(n)),e={rawBytesCount:i,output:t,outputBytesCount:t.byteLength,encoding:"deflate"};return i=0,o=[],e}function f(){a||(e.postMessage({action:"reset",streamId:r}),a=!0)}return{isAsync:!0,get isEmpty(){return a},write(t,n){e.postMessage({action:"write",id:s,data:t,streamId:r}),u.push({id:s,writeCallback:n,data:t}),a=!1,s+=1},finish(t){f(),u.length?(u.forEach(t=>{delete t.writeCallback}),u[u.length-1].finishCallback=()=>t(l())):t(l())},finishSync(){f();let t=u.map(t=>t.data).join("");return u.length=0,{...l(),pendingData:t}},estimateEncodedBytesCount:t=>t.length/8,stop(){c()}}}function A(){return"function"==typeof Array.from&&"function"==typeof CSSSupportsRule&&"function"==typeof URL.createObjectURL&&"forEach"in NodeList.prototype}var E=r(6300),T=r(1099),k=r(7826);async function O(){try{return await (0,f.B)(R)()}catch(t){g({error:t,source:"Recorder",scriptType:"module"})}}async function R(){return(await r.e("586").then(r.bind(r,2864))).startRecording}async function I(t,e,r){try{return await r}finally{t.notify(e)}}var C=r(262);async function N(){try{return await (0,f.B)(P)()}catch(t){g({error:t,source:"Profiler",scriptType:"module"})}}async function P(){return(await r.e("621").then(r.bind(r,1717))).createRumProfiler}let j=function(){let t;if((0,s.d0)()&&!(0,s.Ww)("records")||!A())return{start:u.l,stop:u.l,getReplayStats:()=>void 0,onRumStart:u.l,isRecording:()=>!1,getSessionReplayLink:()=>void 0};let{strategy:e,shouldStartImmediately:r}=(t=0,{strategy:{start(){t=1},stop(){t=2},isRecording:()=>!1,getSessionReplayLink:u.l},shouldStartImmediately:e=>1===t||0===t&&!e.startSessionReplayRecordingManually});return{start:t=>e.start(t),stop:()=>e.stop(),getSessionReplayLink:()=>
4e.getSessionReplayLink(),onRumStart:function(t,n,i,o,s,c){let f;e=function(t,e,r,n,i,o){let s,c=0;e.subscribe(9,()=>{(2===c||3===c)&&(h(),c=1)}),e.subscribe(10,()=>{1===c&&p()});let f=new E.cP;!function(t,e){let r,n,i;if(!t.metricsEnabled)return u.l;let{unsubscribe:o}=e.subscribe(t=>{switch(t.type){case"start":r={forced:t.forced,timestamp:(0,l.nx)()},n=void 0,i=void 0;break;case"document-ready":r&&(n=(0,l.vk)(r.timestamp,(0,l.nx)()));break;case"recorder-settled":r&&(i=(0,l.vk)(r.timestamp,(0,l.nx)()));break;case"aborted":case"deflate-encoder-load-failed":case"recorder-load-failed":case"succeeded":var e,a,s,u;o(),r&&(0,y.Gk)("Recorder init metrics",{metrics:(e=r.forced,a=i,s=(0,l.vk)(r.timestamp,(0,l.nx)()),u=t.type,{forced:e,loadRecorderModuleDuration:a,recorderInitDuration:s,result:u,waitForDocReadyDuration:n})})}})}(o,f);let d=async a=>{f.notify({type:"start",forced:a});let[u]=await Promise.all([I(f,{type:"recorder-settled"},O()),I(f,{type:"document-ready"},(0,T.N)(t,"interactive"))]);if(2!==c)return void f.notify({type:"aborted"});if(!u){c=0,f.notify({type:"recorder-load-failed"});return}let l=i();if(!l){c=0,f.notify({type:"deflate-encoder-load-failed"});return}({stop:s}=u(e,t,r,n,l,o)),c=3,f.notify({type:"succeeded"})};function p(t){var e,n,i,o,a;let s=r.findTrackedSession();if(e=s,n=t,!e||0===e.sessionReplay&&(!n||!n.force)){c=1;return}if(2===(i=c)||3===i)return;c=2;let u=(o=s,(a=t)&&a.force&&0===o.sessionReplay||!1);d(u).catch(k.Dx),u&&r.setForcedReplay()}function h(){3===c&&(null==s||s()),c=0}return{start:p,stop:h,getSessionReplayLink:()=>{var e,i,o;let s,u,l;return e=0!==c,i=s=r.findTrackedSession(),o=e,u=A()?i?0===i.sessionReplay?"incorrect-session-plan":o?void 0:"replay-not-started":"rum-not-tracked":"browser-not-supported",l=n.findView(),(0,a.dx)(t,{viewContext:l,errorType:u,session:s})},isRecording:()=>3===c}}(n,t,i,o,function(){return!f&&(null!=s||(s=_(n,"Datadog Session Replay",()=>e.stop())),s&&(f=S(n,s,1))),f},c),r(n)&&e.start()},isRecording:()=>3===b.status&&e.isRecording(),getReplayStats:t=>3===b.status?(0,c.lv)(t):void 0}}(),U=(0,a.AB)(j,{onRumStart:function(t,e,r,i,s,u){let c,l=i.findTrackedSession();if(!l||!(0,a.$5)(l.id,r.profilingSampleRate))return;let f=(c={status:"starting"},e.register(0,({eventType:t})=>t!==a.bb.VIEW&&t!==a.bb.LONG_TASK&&t!==a.bb.ACTION&&t!==a.bb.VITAL?C.$O:{type:t,_dd:{profiling:c}}),{get:()=>c,set:t=>{c=t}});void 0===(0,o.VZ)().Profiler?f.set({status:"error",error_reason:"not-supported-by-browser"}):N().then(e=>{e?(n=e(r,t,i,f,u,s,void 0)).start():f.set({status:"error",error_reason:"failed-to-lazy-load"})}).catch(k.Dx)},stop:()=>{null==n||n.stop()}},{startDeflateWorker:_,createDeflateEncoder:S,sdkName:"rum"});(0,i.Z)((0,o.VZ)(),"DD_RUM",U);var L=r(4420);function M(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function D(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(t){return Object.getOwnPropertyDescriptor(r,t).enumerable}))),n.forEach(function(e){var n;n=r[e],e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n})}return t}function B(t){return function(t){if(Array.isArray(t))return M(t)}(t)||function(t){if("u">typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return M(t,void 0);var r=Object.prototype.toString.call(t).slice(8,-1);if("Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return M(t,void 0)}}(t)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function $(t){return t&&"u">typeof Symbol&&t.constructor===Symbol?"symbol":typeof t}var F=[{match:/https:\/\/(was|public-dps).dun(elm|dev|qa|preprod).(io|com)\/.*/,propagatorTypes:["tracecontext"]}],V=[/^https:\/\/.*\.attentivemobile\.com/,/^https:\/\/.*\.contentsquare\.net/,/^https:\/\/.*\.doubleclick\.net/,/^https:\/\/.*\.google-analytics\.com/,/^https:\/\/.*\.google\.(com|co\.uk)/,/^https:\/\/.*\.googleapis\.com/,/^https:\/\/.*\.googlesyndication\.com/,/^https:\/\/.*\.pinterest\.com/,/^https:\/\/.*\.snapchat\.com/,/^https:\/\/.*\.tealiumiq\.com/,/^https:\/\/.*\.tiktok\.com/,/^https:\/\/f\.monetate\.net/],z=["name","firstName","lastName","first_name","last_name","customerName","email","emailAddress","user","password","shopperIP","shopperEmail","transactionReference","transactionLast4Digits","transactionCardToken","cardSummary","expiryDate","encryptedCardNumber","encryptedExpiryMonth","encryptedExpiryYear","encryptedSecurityCode","holderName","addressId","billingAddressId","shippingAddressId","addressCode","houseNumberOrName","stateOrProvince","line1","line2","line3","shipping_addressline1","shipping_addressline2","shipping_addressline3","shipping_city","shipping_postcode","shipping_country","address1","address2","address1","billingAddress1","billingAddress2","billingAddress3","billingCity","billingPostcode","billingCountry","addressLine1","addressLine2","addressLine3","street","postal_code","postcode","postalCode","phone_number","phonenumber","phone","mobile","telephoneNumber","city","town","country","Authorization","myAccountSignUpLink","alias","trackingLink"],q=["view.name","context.server.name","action.name","action.target.name"],W=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e=B(z).concat(B(t)).map(function(t){return t.toLowerCase()}),r=function(t){if(null===t)return t;var e=Array.isArray(t)?"array":void 0===t?"undefined":$(t),r="".concat("REDACTED"," ").concat(e);return Array.isArray(t)?"".concat(r,": ").concat(t.length," items"):"string"==typeof t?"".concat(r,": ").concat(t.length," chars"):"number"==typeof t?"".concat(r,": ").concat(t.toString().replace(/\d/g,"N")):r},n=function(t,n){var i=t.path.join(".");return q.includes(i)?n:void 0!==t.key&&e.includes(t.key.toLowerCase())&&"[object Object]"!==({}).toString.apply(n)?r(n):n},i=function(t){return L(t).map(function(t){if(this.circular)return"[Circular]";if("string"==typeof(null==t?void 0:t.constructor.name)&&"Buffer"===t.constructor.name)return"[Buffer]";if(this.isLeaf&&"string"==typeof t)try{return"number"==typeof t||"string"==typeof t?n(this,t):i(t)}catch(t){}return n(this,t)})};return i}(),G=("u"<typeof window?"undefined":$(window))<"u",H=G&&window.DD_RUM;function K(t){var e=t.serviceName,r=t.env,n=t.application,i=t.isCoreSite,o=t.commitSha,a=t.contextAttributes,s=t.overrides,u=t.trackingConsent;if(G){var c=(f=navigator.userAgent,RegExp("360Spider|A6-Indexer|Aboundex|acoonbot|AddThisAdidxbot|ADmantX|AdvBot|ahrefsbot|aihitbot|AISearchBot|antibot|Applebot|arabot|archive.org_bot|backlinkcrawler|baiduspider|bibnum.bnf|biglotron|bingbot|binlar|blekkobot|blexbot|bnf.fr_bot|bot|brainobot|BUbiNG|buzzbot|careerbot|CC Metadata Scaper|ccbot|changedetection|citeseerxbot|coccoc|Commons-HttpClient|content crawler spider|convera|crawler4j|CrystalSemanticsBot|curl|cXensebot|CyberPatrol|discobot|Domain Re-Animator Bot|domaincrawler|dotbot|drupact|DuckDuckBot|ec2linkfinder|edisterbot|elisabot|europarchive.org|exabot|ezooms|facebookexternalhit|Facebot|FAST Enterprise Crawler|FAST-WebCrawler|findlink|findthatfile|findxbot|fluffy|fr-crawler|g00g1e.net|gigablast|GingerCrawler|gnam gnam spider|Google favicon|Googlebot-Image|Googlebot-Mobile|googlebot/|GrapeshotCrawler|grub.org|gslfbot|heritrix|httpunit|httrack|ia_archiver|ichiro|integromedb|intelium_bot|InterfaxScanBot|IOI|ip-web-crawler.com|ips-agent|it2media-domain-crawler|java|jyxobot|lb-spider|libwww|Linguee Bot|linkdex|Lipperhey SEO Service|lipperhey|Livelapbot|lssbot|lssrocketcrawler|ltx71|Mail.RU_Bot|Mediapartners-Google|MegaIndex|memorybot|MJ12bot|mlbot|msnbot|msrbot|NerdByNature.Bot|nerdybot|netresearchserver|ngbot|niki-bot|nutch|openindexspider|OrangeBot|page2rss|panscient|phpcrawl|postrank|proximic|psbot|purebot|Python-urllib|Qwantify|RetrevoPageAnalyzer|rogerbot|scribdbot|seekbot|SemanticScholarBot|SemrushBot|seokicks-robot|seznambot|SimpleCrawler|sistrix crawler|sitebot|siteexplorer.info|slurp|smtbot|sogou|spbot|speedy|summify|tagoobot|teoma|toplistbot|turnitinbot|TweetmemeBot|twengabot|Twitterbot|urlappendbot|UsineNouvelleCrawler|voilabot|Voyager|wbsearchbot|web-archive-net.com.bot|webcompanycrawler|webcrawler|webmon |WeSEE:Search|wget|wocbot|woriobot|wotbox|xovibot|y!j-asr|yacybot|yandexbot|yanga|yeti|yoozBot","i").test(f));if("Datadog"===n){var l,f,d,p,h,y,g,m,v,b,_,w,x,S,A,E,T,k,O=t.applicationId,R=t.clientToken,I=t.shouldObfuscateEvents,C=t.shouldObfuscateUrls;p=(d={service:e,applicationId:O,clientToken:R,isCoreSite:void 0!==i&&i,env:r,shouldObfuscateEvents:void 0!==I&&I,shouldObfuscateUrls:void 0!==C&&C,additionalContext:a||{},version:o,isBot:c,overrides:s,trackingConsent:void 0===u||u}).service,h=d.applicationId,y=d.clientToken,g=d.isCoreSite,m=d.env,v=d.shouldObfuscateEvents,b=d.shouldObfuscateUrls,_=d.overrides,w=d.additionalContext,x=d.version,S=d.isBot,A=d.trackingConsent,E=g?(l=m,{allowedTracingUrls:F,excludedActivityUrls:V,enableExperimentalFeatures:["feature_flags"],sessionSampleRate:S?0:"prod"===l?25:100,sessionReplaySampleRate:0,trackResources:!0,trackLongTasks:!0,trackSe
4ssionAcrossSubdomains:!0,trackUserInteractions:!0,silentMultipleInit:!0,compressIntakeRequests:!0,traceContextInjection:"all",telemetrySampleRate:20*("prod"!==l),actionNameAttribute:"data-reporting-id"}):{allowedTracingUrls:[],excludedActivityUrls:[],enableExperimentalFeatures:[],sessionSampleRate:100,sessionReplaySampleRate:0,trackResources:!0,trackLongTasks:!0,trackSessionAcrossSubdomains:!0,trackUserInteractions:!0,silentMultipleInit:!0},U.init((T=D({beforeSend:function(t){var e,r,n,i;return!("prod"===m&&"error"===t.type&&(null==(e=t.error.stack)?void 0:e.startsWith("Error: Minified React error")))&&(v&&Object.assign(t,W(t)),b&&(n=/(mposToken=|mposToken%3D|mposToken%253D)[^&%]*/g,i="$1REDACTED",t.view.url=t.view.url.replace(n,i),t.view.referrer&&(t.view.referrer=null==(r=t.view.referrer)?void 0:r.replace(n,i)),"resource"===t.type&&(t.resource.url=t.resource.url.replace(n,i)),"error"===t.type&&t.error.resource&&(t.error.resource.url=t.error.resource.url.replace(n,i))),!0)}},E,_),k=k={applicationId:h,clientToken:y,service:p,env:m,version:x,trackingConsent:void 0===A||A?"granted":"not-granted"},Object.getOwnPropertyDescriptors?Object.defineProperties(T,Object.getOwnPropertyDescriptors(k)):(function(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);r.push.apply(r,n)}return r})(Object(k)).forEach(function(t){Object.defineProperty(T,t,Object.getOwnPropertyDescriptor(k,t))}),T)),Y(w||{})}}}function Z(t){return["local","dev","qa","preprod","prod"].includes(t)}var J=function(t,e){H&&window.DD_RUM.addAction(t,e)},Q=function(){if(H)return window.DD_RUM.getGlobalContext()},Y=function(t){var e=Q()||{};if(H){var r=function t(e,r,n){if(n<=0)return D({},e,r);var i=D({},e);return Object.keys(r).forEach(function(e){var o=i[e],a=r[e];Array.isArray(o)&&Array.isArray(a)?i[e]=B(o).concat(B(a)):(void 0===o?"undefined":$(o))=="object"&&(void 0===a?"undefined":$(a))=="object"&&null!==o&&null!==a?i[e]=t(o,a,n-1):i[e]=a}),i}(e,t,3);window.DD_RUM.setGlobalContext(r)}},X=function(t,e){H&&window.DD_RUM.addFeatureFlagEvaluation(t,e)}},3431(t,e,r){"use strict";r.d(e,{dh:()=>n.loadRemote,fK:()=>n.registerRemotes,iE:()=>n.getInstance});var n=r(6490)},6682(t,e,r){"use strict";r.d(e,{s:()=>o});var n=r(5952);function i(){}function o({storage:t,key:e="REACT_QUERY_OFFLINE_CACHE",throttleTime:r=1e3,serialize:o=JSON.stringify,deserialize:a=JSON.parse,retry:s}){if(t){let i=r=>{try{t.setItem(e,o(r));return}catch(t){return t}};return{persistClient:function(t,e=100){let r,i=null;return function(...o){r=o,null===i&&(i=n.zs.setTimeout(()=>{t(...r),i=null},e))}}(t=>{let e=t,r=i(e),n=0;for(;r&&e;)n++,(e=s?.({persistedClient:e,error:r,errorCount:n}))&&(r=i(e))},r),restoreClient:()=>{let r=t.getItem(e);if(r)return a(r)},removeClient:()=>{t.removeItem(e)}}}return{persistClient:i,restoreClient:i,removeClient:i}}},9440(t,e,r){"use strict";r.d(e,{t:()=>f});var n=r(1157),i=r(8050),o=["added","removed","updated"];function a(t){return o.includes(t)}async function s({queryClient:t,persister:e,maxAge:r=864e5,buster:n="",hydrateOptions:o}){try{let a=await e.restoreClient();if(a)if(!a.timestamp)return e.removeClient();else{let s=Date.now()-a.timestamp>r,u=a.buster!==n;if(s||u)return e.removeClient();(0,i.Qv)(t,a.clientState,o)}}catch(t){throw await e.removeClient(),t}}async function u({queryClient:t,persister:e,buster:r="",dehydrateOptions:n}){let o={buster:r,timestamp:Date.now(),clientState:(0,i.hw)(t,n)};await e.persistClient(o)}var c=r(2392),l=r(78),f=({children:t,persistOptions:e,onSuccess:r,onError:i,...o})=>{let[f,d]=n.useState(!0),p=n.useRef({persistOptions:e,onSuccess:r,onError:i}),h=n.useRef(!1);return n.useEffect(()=>{p.current={persistOptions:e,onSuccess:r,onError:i}}),n.useEffect(()=>{let t,e,r={...p.current.persistOptions,queryClient:o.client};return h.current||(h.current=!0,s(r).then(()=>p.current.onSuccess?.()).catch(()=>p.current.onError?.()).finally(()=>{d(!1)})),f?void 0:(t=r.queryClient.getQueryCache().subscribe(t=>{a(t.type)&&u(r)}),e=r.queryClient.getMutationCache().subscribe(t=>{a(t.type)&&u(r)}),()=>{t(),e()})},[o.client,f]),(0,l.jsx)(c.QueryClientProvider,{...o,children:(0,l.jsx)(c.IsRestoringProvider,{value:f,children:t})})}},3478(t,e,r){"use strict";function n(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)t[n]=r[n]}return t}r.d(e,{A:()=>i});var i=function t(e,r){function i(t,i,o){if("u">typeof document){"number"==typeof(o=n({},r,o)).expires&&(o.expires=new Date(Date.now()+864e5*o.expires)),o.expires&&(o.expires=o.expires.toUTCString()),t=encodeURIComponent(t).replace(/%(2[346B]|5E|60|7C)/g,decode
4URIComponent).replace(/[()]/g,escape);var a="";for(var s in o)o[s]&&(a+="; "+s,!0!==o[s]&&(a+="="+o[s].split(";")[0]));return document.cookie=t+"="+e.write(i,t)+a}}return Object.create({set:i,get:function(t){if("u">typeof document&&(!arguments.length||t)){for(var r=document.cookie?document.cookie.split("; "):[],n={},i=0;i<r.length;i++){var o=r[i].split("="),a=o.slice(1).join("=");try{var s=decodeURIComponent(o[0]);if(n[s]=e.read(a,s),t===s)break}catch(t){}}return t?n[t]:n}},remove:function(t,e){i(t,"",n({},e,{expires:-1}))},withAttributes:function(e){return t(this.converter,n({},this.attributes,e))},withConverter:function(e){return t(n({},this.converter,e),this.attributes)}},{attributes:{value:Object.freeze(r)},converter:{value:Object.freeze(e)}})}({read:function(t){return'"'===t[0]&&(t=t.slice(1,-1)),t.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(t){return encodeURIComponent(t).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}},{path:"/"})},7219(t,e,r){"use strict";let n;r.d(e,{Ou:()=>v,cn:()=>I,qY:()=>E});var i=function(t,e){return(i=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])})(t,e)},o=function(){return(o=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var i in e=arguments[r])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t}).apply(this,arguments)};function a(t,e,r,n){return new(r||(r=Promise))(function(i,o){function a(t){try{u(n.next(t))}catch(t){o(t)}}function s(t){try{u(n.throw(t))}catch(t){o(t)}}function u(t){var e;t.done?i(t.value):((e=t.value)instanceof r?e:new r(function(t){t(e)})).then(a,s)}u((n=n.apply(t,e||[])).next())})}function s(t,e){var r,n,i,o={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]},a=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return a.next=s(0),a.throw=s(1),a.return=s(2),"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(s){return function(u){var c=[s,u];if(r)throw TypeError("Generator is already executing.");for(;a&&(a=0,c[0]&&(o=0)),o;)try{if(r=1,n&&(i=2&c[0]?n.return:c[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,c[1])).done)return i;switch(n=0,i&&(c=[2&c[0],i.value]),c[0]){case 0:case 1:i=c;break;case 4:return o.label++,{value:c[1],done:!1};case 5:o.label++,n=c[1],c=[0];continue;case 7:c=o.ops.pop(),o.trys.pop();continue;default:if(!(i=(i=o.trys).length>0&&i[i.length-1])&&(6===c[0]||2===c[0])){o=0;continue}if(3===c[0]&&(!i||c[1]>i[0]&&c[1]<i[3])){o.label=c[1];break}if(6===c[0]&&o.label<i[1]){o.label=i[1],i=c;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(c);break}i[2]&&o.ops.pop(),o.trys.pop();continue}c=e.call(t,o)}catch(t){c=[6,t],n=0}finally{r=i=0}if(5&c[0])throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}}"function"==typeof SuppressedError&&SuppressedError;var u={exports:{}};function c(){}c.prototype={on:function(t,e,r){var n=this.e||(this.e={});return(n[t]||(n[t]=[])).push({fn:e,ctx:r}),this},once:function(t,e,r){var n=this;function i(){n.off(t,i),e.apply(r,arguments)}return i._=e,this.on(t,i,r)},emit:function(t){for(var e=[].slice.call(arguments,1),r=((this.e||(this.e={}))[t]||[]).slice(),n=0,i=r.length;n<i;n++)r[n].fn.apply(r[n].ctx,e);return this},off:function(t,e){var r=this.e||(this.e={}),n=r[t],i=[];if(n&&e)for(var o=0,a=n.length;o<a;o++)n[o].fn!==e&&n[o].fn._!==e&&i.push(n[o]);return i.length?r[t]=i:delete r[t],this}},u.exports=c;var l=u.exports.TinyEmitter=c,f=function(t){return null!=t[1]},d=function(t){var e=t.properties,r=function(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&0>e.indexOf(n)&&(r[n]=t[n]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(n=Object.getOwnPropertySymbols(t);i<n.length;i++)0>e.indexOf(n[i])&&Object.prototype.propertyIsEnumerable.call(t,n[i])&&(r[n[i]]=t[n[i]])}return r}(t,["properties"]),n=function(t){return Object.entries(t).sort(function(t,e){var r=t[0],n=e[0];return r.localeCompare(n,void 0)})};return JSON.stringify([n(r),n(void 0===e?{}:e)])},p=function(t){return a(void 0,void 0,void 0,function(){var e;return s(this,function(r){var n;switch(r.label){case 0:e=d(t),r.label=1;case 1:return r.trys.push([1,3,,4]),[4,(n=e,a(void 0,void 0,void 0,function(){var t,e,r,i;return s(this,function(o){switch(o.label){case 0:if(t="u">typeof globalThis&&(null==(r=globalThis.crypto)?void 0:r.subtle)?null==(i=globalThis.crypto)?void 0:i.subtle:void 0,"u"<typeof TextEncoder||!(null==t?void 0:t.digest)||"u"<typeof Uint8Array)throw Error("Hashing function not available");return e=(new TextEncoder).encode(n),[4,t.digest("SHA-256",e)];case 1:return[2,Array.from(new Uint8Array(o.sent())).map(function(t){return t.toString(16).padStart(2,"0")}).join("")]}})}))];case 2:return[2,r.sent()];case 3:return r.sent(),[2,e];case 4:return[2]}})})},h=function(t){var e,r=t.clientKey,n=t.appName,i=t.connectionId,o=t.customHeaders,a=t.headerName,s=t.etag,u=t.isPost,c=((e={accept:"application/json"})[(void 0===a?"authorization":a).toLocaleLowerCase()]=r,e["unleash-sdk"]="unleash-client-js:3.7.8",e["unleash-appname"]=n,e);return u&&(c["content-type"]="application/json"),s&&(c["if-none-match"]=s),Ob
4ject.entries(o||{}).filter(f).forEach(function(t){var e=t[0],r=t[1];return c[e.toLocaleLowerCase()]=r}),c["unleash-connection-id"]=i,c},y=function(){},g=function(){function t(t){var e=t.onError,r=t.onSent,n=t.appName,i=t.metricsInterval,o=t.disableMetrics,a=t.url,s=t.clientKey,u=t.fetch,c=t.headerName,l=t.customHeaders,f=t.metricsIntervalInitial,d=t.connectionId;this.onError=e,this.onSent=r||y,this.disabled=void 0!==o&&o,this.metricsInterval=1e3*i,this.metricsIntervalInitial=1e3*f,this.appName=n,this.url=a instanceof URL?a:new URL(a),this.clientKey=s,this.bucket=this.createEmptyBucket(),this.fetch=u,this.headerName=c,this.customHeaders=void 0===l?{}:l,this.connectionId=d}return t.prototype.start=function(){var t=this;if(this.disabled)return!1;"number"==typeof this.metricsInterval&&this.metricsInterval>0&&(this.metricsIntervalInitial>0?setTimeout(function(){t.startTimer(),t.sendMetrics()},this.metricsIntervalInitial):this.startTimer())},t.prototype.stop=function(){this.timer&&(clearInterval(this.timer),delete this.timer)},t.prototype.createEmptyBucket=function(){return{start:new Date,stop:null,toggles:{}}},t.prototype.getHeaders=function(){return h({clientKey:this.clientKey,appName:this.appName,connectionId:this.connectionId,customHeaders:this.customHeaders,headerName:this.headerName,isPost:!0})},t.prototype.sendMetrics=function(){return a(this,void 0,void 0,function(){var t,e,r;return s(this,function(n){switch(n.label){case 0:if(t="".concat(this.url,"/client/metrics"),e=this.getPayload(),this.bucketIsEmpty(e))return[2];n.label=1;case 1:return n.trys.push([1,3,,4]),[4,this.fetch(t,{cache:"no-cache",method:"POST",headers:this.getHeaders(),body:JSON.stringify(e)})];case 2:return n.sent(),this.onSent(e),[3,4];case 3:return console.error("Unleash: unable to send feature metrics",r=n.sent()),this.onError(r),[3,4];case 4:return[2]}})})},t.prototype.count=function(t,e){return!(this.disabled||!this.bucket)&&(this.assertBucket(t),this.bucket.toggles[t][e?"yes":"no"]++,!0)},t.prototype.countVariant=function(t,e){return!(this.disabled||!this.bucket)&&(this.assertBucket(t),this.bucket.toggles[t].variants[e]?this.bucket.toggles[t].variants[e]+=1:this.bucket.toggles[t].variants[e]=1,!0)},t.prototype.assertBucket=function(t){if(this.disabled||!this.bucket)return!1;this.bucket.toggles[t]||(this.bucket.toggles[t]={yes:0,no:0,variants:{}})},t.prototype.startTimer=function(){var t=this;this.timer=setInterval(function(){t.sendMetrics()},this.metricsInterval)},t.prototype.bucketIsEmpty=function(t){return 0===Object.keys(t.bucket.toggles).length},t.prototype.getPayload=function(){var t=o(o({},this.bucket),{stop:new Date});return this.bucket=this.createEmptyBucket(),{bucket:t,appName:this.appName,instanceId:"browser"}},t}(),m=function(){function t(){this.store=new Map}return t.prototype.save=function(t,e){return a(this,void 0,void 0,function(){return s(this,function(r){return this.store.set(t,e),[2]})})},t.prototype.get=function(t){return a(this,void 0,void 0,function(){return s(this,function(e){return[2,this.store.get(t)]})})},t}(),v=function(){function t(t){void 0===t&&(t="unleash:repository"),this.prefix=t}return t.prototype.save=function(t,e){return a(this,void 0,void 0,function(){var r,n;return s(this,function(i){r=JSON.stringify(e),n="".concat(this.prefix,":").concat(t);try{window.localStorage.setItem(n,r)}catch(t){console.error(t)}return[2]})})},t.prototype.get=function(t){try{var e="".concat(this.prefix,":").concat(t),r=window.localStorage.getItem(e);return r?JSON.parse(r):void 0}catch(t){console.error(t)}},t}();let b=new Uint8Array(16),_=[];for(let t=0;t<256;++t)_.push((t+256).toString(16).slice(1));var w={randomUUID:"u">typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)},x=function(){function t(){}return t.prototype.generateEventId=function(){return function(t,e,r){if(w.randomUUID&&!t)return w.randomUUID();let i=(t=t||{}).random||(t.rng||function(){if(!n&&!(n="u">typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)))throw Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return n(b)})();return i[6]=15&i[6]|64,i[8]=63&i[8]|128,function(t,e=0){return _[t[e+0]]+_[t[e+1]]+_[t[e+2]]+_[t[e+3]]+"-"+_[t[e+4]]+_[t[e+5]]+"-"+_[t[e+6]]+_[t[e+7]]+"-"+_[t[e+8]]+_[t[e+9]]+"-"+_[t[e+10]]+_[t[e+11]]+_[t[e+12]]+_[t[e+13]]+_[t[e+14]]+_[t[e+15]]}(i)}()},t.prototype.createImpressionEvent=function(t,e,r,n,i,a){var s=this.createBaseEvent(t,e,r,n,i);return a?o(o({},s),{variant:a}):s},t.prototype.createBaseEvent=function(t,e,r,n,i){return{eventType:n,eventId:this.generateEventId(),context:t,enabled:e,featureName:r,impressionData:i}},t}(),S=["userId","sessionId","remoteAddress","currentTime"],A=function(t){return S.includes(t)},E={INIT:"initialized",ERROR:"error",READY:"ready",UPDATE:"update",IMPRESSION:"impression",SENT:"sent",RECOVERED:"recovered"},T={name:"disabled",enabled:!1,feature_enabled:!1},k="repo",O="repoLastUpdateTimestamp",R=function(){try{if("u">typeof window&&"fetch"in window)return fetch.bind(window);if("fetch"in globalThis)return fetch.bind(globalThis)}catch(t){console.error('Unleash failed to resolve "fetch"',t)}},I=function(t){function e(e){var r,n=e.storageProvider,i=e.url,a=e.clientKey,s=e.disableRefresh,u=e.refreshInterval,c=e.metricsInterval,l=e.metricsIntervalInitial,f=e.disableMetrics,d=e.appName,p=e.environment,h=e.context,y=e.fetch,b=void 0===y?R():y,_=e.createAbortController,w=void 0===_?function(){try{if("u">typeof window&&"AbortController"in window)return function(){return new window.AbortController};if("fetch"in globalThis)return function(){return new globalThis.AbortController}}catch(t){console.error('Unleash failed to resolve "AbortController" factory',t)}}():_,S=e.bootstrap,A=e.bootstrapOverride,T=e.headerName,k=void 0===T?"Authorization":T,O=e.customHeaders,I=void 0===O?{}:O,C=e.impressionDataAll,N=e.usePOSTrequests,P=e.experimental,j=t.call(this)||this;if(j.toggles=[],j.etag="",j.readyEventEmitted=!1,j.fetchedFromServer=!1,j.usePOSTrequests=!1,j.started=!1,!i)throw Error("url is required");if(!a)throw Error("clientKey is required");if(!d)throw Error("appName is required.");j.eventsHandler=new x,j.impressionDataAll=void 0!==C&&C,j.toggles=S&&S.length>0?S:[],j.url=i instanceof URL?i:new URL(i),j.clientKey=a,j.headerName=k,j.customHeaders=I,j.storage=n||("u">typeof window?new v:new m),j.refreshInterval=void 0!==s&&s?0:1e3*(void 0===u?30:u),j.context=o({appName:d,environment:void 0===p?"default":p},h),j.usePOSTrequests=void 0!==N&&N,j.sdkState="initializing";var U=null==P?void 0:P.metricsUrl;return!U||U instanceof URL||(U=new URL(U)),j.experimental=o(o({},P),{metricsUrl:U}),(null==P?void 0:P.togglesStorageTTL)&&(null==P?void 0:P.togglesStorageTTL)>0&&(j.experimental.togglesStorageTTL=1e3*P.togglesStorageTTL),j.lastRefreshTimestamp=0,j.ready=new Promise(function(t){j.init().then(t).cat
4ch(function(e){console.error(e),j.sdkState="error",j.emit(E.ERROR,e),j.lastError=e,t()})}),b||console.error('Unleash: You must either provide your own "fetch" implementation or run in an environment where "fetch" is available.'),w||console.error('Unleash: You must either provide your own "AbortController" implementation or run in an environment where "AbortController" is available.'),j.fetch=b,j.createAbortController=w,j.bootstrap=S&&S.length>0?S:void 0,j.bootstrapOverride=void 0===A||A,j.connectionId="xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(t){var e=16*Math.random()|0;return("x"===t?e:3&e|8).toString(16)}),j.metrics=new g({onError:j.emit.bind(j,E.ERROR),onSent:j.emit.bind(j,E.SENT),appName:d,metricsInterval:void 0===c?30:c,disableMetrics:void 0!==f&&f,url:(null==(r=j.experimental)?void 0:r.metricsUrl)||j.url,clientKey:a,fetch:b,headerName:k,customHeaders:I,metricsIntervalInitial:void 0===l?2:l,connectionId:j.connectionId}),j}return function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Class extends value "+String(e)+" is not a constructor or null");function r(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}(e,t),e.prototype.getAllToggles=function(){return function(t,e,r){if(r||2==arguments.length)for(var n,i=0,o=e.length;i<o;i++)!n&&i in e||(n||(n=Array.prototype.slice.call(e,0,i)),n[i]=e[i]);return t.concat(n||Array.prototype.slice.call(e))}([],this.toggles,!0)},e.prototype.isEnabled=function(t){var e,r=this.toggles.find(function(e){return e.name===t}),n=!!r&&r.enabled;if(this.metrics.count(t,n),(null==r?void 0:r.impressionData)||this.impressionDataAll){var i=this.eventsHandler.createImpressionEvent(this.context,n,t,"isEnabled",null!=(e=null==r?void 0:r.impressionData)?e:void 0);this.emit(E.IMPRESSION,i)}return n},e.prototype.getVariant=function(t){var e,r=this.toggles.find(function(e){return e.name===t}),n=(null==r?void 0:r.enabled)||!1,i=r?r.variant:T;if(i.name&&this.metrics.countVariant(t,i.name),this.metrics.count(t,n),(null==r?void 0:r.impressionData)||this.impressionDataAll){var a=this.eventsHandler.createImpressionEvent(this.context,n,t,"getVariant",null!=(e=null==r?void 0:r.impressionData)?e:void 0,i.name);this.emit(E.IMPRESSION,a)}return o(o({},i),{feature_enabled:n})},e.prototype.updateToggles=function(){return a(this,void 0,void 0,function(){var t=this;return s(this,function(e){switch(e.label){case 0:return this.timerRef||this.fetchedFromServer?[4,this.fetchToggles()]:[3,2];case 1:return e.sent(),[3,4];case 2:return this.started?[4,new Promise(function(e){var r=function(){t.fetchToggles().then(function(){t.off(E.READY,r),e()})};t.once(E.READY,r)})]:[3,4];case 3:e.sent(),e.label=4;case 4:return[2]}})})},e.prototype.updateContext=function(t){return a(this,void 0,void 0,function(){var e;return s(this,function(r){switch(r.label){case 0:return(t.appName||t.environment)&&console.warn("appName and environment are static. They can't be updated with updateContext."),e={environment:this.context.environment,appName:this.context.appName,sessionId:this.context.sessionId},this.context=o(o({},e),t),[4,this.updateToggles()];case 1:return r.sent(),[2]}})})},e.prototype.getContext=function(){return o({},this.context)},e.prototype.setContextField=function(t,e){return a(this,void 0,void 0,function(){var r,n,i;return s(this,function(a){switch(a.label){case 0:return A(t)?this.context=o(o({},this.context),((n={})[t]=e,n)):(r=o(o({},this.context.properties),((i={})[t]=e,i)),this.context=o(o({},this.context),{properties:r})),[4,this.updateToggles()];case 1:return a.sent(),[2]}})})},e.prototype.removeContextField=function(t){return a(this,void 0,void 0,function(){var e;return s(this,function(r){switch(r.label){case 0:return A(t)?this.context=o(o({},this.context),((e={})[t]=void 0,e)):"object"==typeof this.context.properties&&delete this.context.properties[t],[4,this.updateToggles()];case 1:return r.sent(),[2]}})})},e.prototype.setReady=function(){this.readyEventEmitted=!0,this.emit(E.READY)},e.prototype.init=function(){return a(this,void 0,void 0,function(){var t,e,r;return s(this,function(n){switch(n.label){case 0:return[4,this.resolveSessionId()];case 1:return t=n.sent(),this.context=o({sessionId:t},this.context),[4,this.storage.get(k)];case 2:return e=n.sent()||[],r=this,[4,this.getLastRefreshTimestamp()];case 3:return r.lastRefreshTimestamp=n.sent(),this.bootstrap&&(this.bootstrapOverride||0===e.length)?[4,this.storage.save(k,this.bootstrap)]:[3,6];case 4:return n.sent(),this.toggles=this.bootstrap,this.sdkState="healthy",[4,this.storeLastRefreshTimestamp()];case 5:return n.sent(),this.setReady(),[3,7];case 6:this.toggles=e,n.label=7;
4case 7:return this.sdkState="healthy",this.emit(E.INIT),[2]}})})},e.prototype.start=function(){return a(this,void 0,void 0,function(){var t,e=this;return s(this,function(r){switch(r.label){case 0:return this.started=!0,this.timerRef?(console.error("Unleash SDK has already started, if you want to restart the SDK you should call client.stop() before starting again."),[2]):[4,this.ready];case 1:return r.sent(),this.metrics.start(),t=this.refreshInterval,[4,this.initialFetchToggles()];case 2:return r.sent(),t>0&&(this.timerRef=setInterval(function(){return e.fetchToggles()},t)),[2]}})})},e.prototype.stop=function(){this.timerRef&&(clearInterval(this.timerRef),this.timerRef=void 0),this.metrics.stop()},e.prototype.isReady=function(){return this.readyEventEmitted},e.prototype.getError=function(){return"error"===this.sdkState?this.lastError:void 0},e.prototype.sendMetrics=function(){return this.metrics.sendMetrics()},e.prototype.resolveSessionId=function(){return a(this,void 0,void 0,function(){var t;return s(this,function(e){switch(e.label){case 0:return this.context.sessionId?[2,this.context.sessionId]:[4,this.storage.get("sessionId")];case 1:return(t=e.sent())?[3,3]:(t=Math.floor(1e9*Math.random()),[4,this.storage.save("sessionId",t.toString(10))]);case 2:e.sent(),e.label=3;case 3:return[2,t.toString(10)]}})})},e.prototype.getHeaders=function(){return h({clientKey:this.clientKey,connectionId:this.connectionId,appName:this.context.appName,customHeaders:this.customHeaders,headerName:this.headerName,etag:this.etag,isPost:this.usePOSTrequests})},e.prototype.storeToggles=function(t){return a(this,void 0,void 0,function(){return s(this,function(e){switch(e.label){case 0:return this.toggles=t,this.emit(E.UPDATE),[4,this.storage.save(k,t)];case 1:return e.sent(),[2]}})})},e.prototype.isTogglesStorageTTLEnabled=function(){var t;return!!((null==(t=this.experimental)?void 0:t.togglesStorageTTL)&&this.experimental.togglesStorageTTL>0)},e.prototype.isUpToDate=function(){if(!this.isTogglesStorageTTLEnabled())return!1;var t,e=Date.now(),r=(null==(t=this.experimental)?void 0:t.togglesStorageTTL)||0;return this.lastRefreshTimestamp>0&&this.lastRefreshTimestamp<=e&&e-this.lastRefreshTimestamp<=r},e.prototype.getLastRefreshTimestamp=function(){return a(this,void 0,void 0,function(){var t,e;return s(this,function(r){switch(r.label){case 0:return this.isTogglesStorageTTLEnabled()?[4,this.storage.get(O)]:[3,3];case 1:return t=r.sent(),[4,p(this.context)];case 2:return e=r.sent(),[2,(null==t?void 0:t.key)===e?t.timestamp:0];case 3:return[2,0]}})})},e.prototype.storeLastRefreshTimestamp=function(){return a(this,void 0,void 0,function(){var t,e;return s(this,function(r){switch(r.label){case 0:return this.isTogglesStorageTTLEnabled()?(this.lastRefreshTimestamp=Date.now(),e={},[4,p(this.context)]):[3,3];case 1:return e.key=r.sent(),e.timestamp=this.lastRefreshTimestamp,t=e,[4,this.storage.save(O,t)];case 2:r.sent(),r.label=3;case 3:return[2]}})})},e.prototype.initialFetchToggles=function(){if(!this.isUpToDate())return this.fetchToggles();this.fetchedFromServer||(this.fetchedFromServer=!0,this.setReady())},e.prototype.fetchToggles=function(){return a(this,void 0,void 0,function(){var t,e,r,n,i,o,a,u,c;return s(this,function(s){switch(s.label){case 0:if(!this.fetch)return[3,9];this.abortController&&!this.abortController.signal.aborted&&this.abortController.abort(),this.abortController=null==(c=this.createAbortController)?void 0:c.call(this),t=this.abortController?this.abortController.signal:void 0,s.label=1;case 1:var l,d,p;return s.trys.push([1,7,8,9]),r=(e=this.usePOSTrequests)?this.url:(l=this.url,d=this.context,p=new URL(l.toString()),Object.entries(d).filter(f).forEach(function(t){var e=t[0],r=t[1];"properties"===e&&r?Object.entries(r).filter(f).forEach(function(t){var e=t[0],r=t[1];return p.searchParams.append("properties[".concat(e,"]"),r)}):p.searchParams.append(e,r)}),p),n=e?"POST":"GET",i=e?JSON.stringify({context:this.context}):void 0,[4,this.fetch(r.toString(),{method:n,cache:"no-cache",headers:this.getHeaders(),body:i,signal:t})];case 2:return o=s.sent(),"error"===this.sdkState&&o.status<400&&(this.sdkState="healthy",this.emit
4(E.RECOVERED)),o.ok?(this.etag=o.headers.get("ETag")||"",[4,o.json()]):[3,5];case 3:return a=s.sent(),[4,this.storeToggles(a.toggles)];case 4:return s.sent(),"healthy"!==this.sdkState&&(this.sdkState="healthy"),this.fetchedFromServer||(this.fetchedFromServer=!0,this.setReady()),this.storeLastRefreshTimestamp(),[3,6];case 5:304===o.status?this.storeLastRefreshTimestamp():(console.error("Unleash: Fetching feature toggles did not have an ok response"),this.sdkState="error",this.emit(E.ERROR,{type:"HttpError",code:o.status}),this.lastError={type:"HttpError",code:o.status}),s.label=6;case 6:return[3,9];case 7:return"object"==typeof(u=s.sent())&&null!==u&&"name"in u&&"AbortError"===u.name||(console.error("Unleash: unable to fetch feature toggles",u),this.sdkState="error",this.emit(E.ERROR,u),this.lastError=u),[3,9];case 8:return this.abortController=null,[7];case 9:return[2]}})})},e}(l)},2469(t,e,r){"use strict";r.d(e,{Ck:()=>tp,IN:()=>R,fK:()=>tc,rH:()=>ta,zB:()=>I});var n,i,o=function(){var t=self.performance&&performance.getEntriesByType&&performance.getEntriesByType("navigation")[0];if(t&&t.responseStart>0&&t.responseStart<performance.now())return t},a=function(t){if("loading"===document.readyState)return"loading";var e=o();if(e){if(t<e.domInteractive)return"loading";if(0===e.domContentLoadedEventStart||t<e.domContentLoadedEventStart)return"dom-interactive";if(0===e.domComplete||t<e.domComplete)return"dom-content-loaded"}return"complete"},s=function(t){var e=t.nodeName;return 1===t.nodeType?e.toLowerCase():e.toUpperCase().replace(/^#/,"")},u=function(t,e){var r="";try{for(;t&&9!==t.nodeType;){var n=t,i=n.id?"#"+n.id:s(n)+(n.classList&&n.classList.value&&n.classList.value.trim()&&n.classList.value.trim().length?"."+n.classList.value.trim().replace(/\s+/g,"."):"");if(r.length+i.length>(e||100)-1)return r||i;if(r=r?i+">"+r:i,n.id)break;t=n.parentNode}}catch(t){}return r},c=-1,l=function(){return c},f=function(t){addEventListener("pageshow",function(e){e.persisted&&(c=e.timeStamp,t(e))},!0)},d=function(){var t=o();return t&&t.activationStart||0},p=function(t,e){var r=o(),n="navigate";return l()>=0?n="back-forward-cache":r&&(document.prerendering||d()>0?n="prerender":document.wasDiscarded?n="restore":r.type&&(n=r.type.replace(/_/g,"-"))),{name:t,value:void 0===e?-1:e,rating:"good",delta:0,entries:[],id:"v4-".concat(Date.now(),"-").concat(Math.floor(0x82f79cd8fff*Math.random())+1e12),navigationType:n}},h=function(t,e,r){try{if(PerformanceObserver.supportedEntryTypes.includes(t)){var n=new PerformanceObserver(function(t){Promise.resolve().then(function(){e(t.getEntries())})});return n.observe(Object.assign({type:t,buffered:!0},r||{})),n}}catch(t){}},y=function(t,e,r,n){var i,o;return function(a){var s;e.value>=0&&(a||n)&&((o=e.value-(i||0))||void 0===i)&&(i=e.value,e.delta=o,s=e.value,e.rating=s>r[1]?"poor":s>r[0]?"needs-improvement":"good",t(e))}},g=function(t){requestAnimationFrame(function(){return requestAnimationFrame(function(){return t()})})},m=function(t){document.addEventListener("visibilitychange",function(){"hidden"===document.visibilityState&&t()})},v=function(t){var e=!1;return function(){e||(t(),e=!0)}},b=-1,_=function(){return"hidden"!==document.visibilityState||document.prerendering?1/0:0},w=function(t){"hidden"===document.visibilityState&&b>-1&&(b="visibilitychange"===t.type?t.timeStamp:0,S())},x=function(){addEventListener("visibilitychange",w,!0),addEventListener("prerenderingchange",w,!0)},S=function(){removeEventListener("visibilitychange",w,!0),removeEventListener("prerenderingchange",w,!0)},A=function(){return b<0&&(b=_(),x(),f(function(){setTimeout(function(){b=_(),x()},0)})),{get firstHiddenTime(){return b}}},E=function(t){document.prerendering?addEventListener("prerenderingchange",function(){return t()},!0):t()},T=[1800,3e3],k=function(t,e){e=e||{},E(function(){var r,n=A(),i=p("FCP"),o=h("paint",function(t){t.forEach(function(t){"first-contentful-paint"===t.name&&(o.disconnect(),t.startTime<n.firstHiddenTime&&(i.value=Math.max(t.startTime-d(),0),i.entries.push(t),r(!0)))})});o&&(r=y(t,i,T,e.reportAllChanges),f(function(n){r=y(t,i=p("FCP"),T,e.reportAllChanges),g(function(){i.value=performance.now()-n.timeStamp,r(!0)})}))})},O=[.1,.25],R=function(t,e){var r,n;r=function(e){t(function(t){var e,r={};if(t.entries.length){var n=t.entries.reduce(function(t,e){return t&&t.value>e.value?t:e});if(n&&n.sources&&n.sources.length){var i=(e=n.sources).find(function(t){return t.node&&1===t.node.nodeType})||e[0];i&&(r={largestShiftTarget:u(i.node),largestShiftTime:n.startTime,largestShiftValue:n.value,largestShiftSource:i,largestShiftEntry:n,loadState:a(n.startTime)})}}return Object.assign(t,{attribution:r})}(e))},n=(n=e)||{},k(v(function(){var t,e=p("CLS",0),i=0,o=[],a=function(r){r.forEach(function(t){if(!t.hadRecentInput){var e=o[0],r=o[o.length-1];i&&t.startTime-r.startTime<1e3&&t.startTime-e.startTime<5e3?(i+=t.value,o.push(t)):(i=t.value,o=[t])}}),i>e.value&&(e.value=i,e.entries=o,t())},s=h("layout-shift",a);s&&(t=y(r,e,O,n.reportAllChanges),m(function(){a(s.takeRecords()),t(!0)}),f(function(){i=0,t=y(r,e=p("CLS",0),O,n.reportAllChanges),g(function(){return t()})}),setTimeout(t,0))}))},I=function(t,e){k(function(e){t(function(t){var e={timeToFirstByte:0,firstByteToFCP:t.value,loadState:a(l())};if(t.entries.length){var r=o(),n=t.entries[t.entries.length-1];if(r){var i=r.activationStart||0,s=Math.max(0,r.responseStart-i);e={timeToFirstByte:s,firstByteToFCP:t.value-s,loadState:a(t.entries[0].startTime),navigationEntry:r,fcpEntry:n}}}return Object.assign(t,{attribution:e})}(e))},e)}
4,C=0,N=1/0,P=0,j=function(t){t.forEach(function(t){t.interactionId&&(N=Math.min(N,t.interactionId),C=(P=Math.max(P,t.interactionId))?(P-N)/7+1:0)})},U=function(){return n?C:performance.interactionCount||0},L=function(){"interactionCount"in performance||n||(n=h("event",j,{type:"event",buffered:!0,durationThreshold:0}))},M=[],D=new Map,B=0,$=function(){var t=Math.min(M.length-1,Math.floor((U()-B)/50));return M[t]},F=[],V=function(t){if(F.forEach(function(e){return e(t)}),t.interactionId||"first-input"===t.entryType){var e=M[M.length-1],r=D.get(t.interactionId);if(r||M.length<10||t.duration>e.latency){if(r)t.duration>r.latency?(r.entries=[t],r.latency=t.duration):t.duration===r.latency&&t.startTime===r.entries[0].startTime&&r.entries.push(t);else{var n={id:t.interactionId,latency:t.duration,entries:[t]};D.set(n.id,n),M.push(n)}M.sort(function(t,e){return e.latency-t.latency}),M.length>10&&M.splice(10).forEach(function(t){return D.delete(t.id)})}}},z=function(t){var e=self.requestIdleCallback||self.setTimeout,r=-1;return t=v(t),"hidden"===document.visibilityState?t():(r=e(t),m(t)),r},q=[200,500],W=function(t,e){"PerformanceEventTiming"in self&&"interactionId"in PerformanceEventTiming.prototype&&(e=e||{},E(function(){L();var r,n,i=p("INP"),o=function(t){z(function(){t.forEach(V);var e=$();e&&e.latency!==i.value&&(i.value=e.latency,i.entries=e.entries,n())})},a=h("event",o,{durationThreshold:null!=(r=e.durationThreshold)?r:40});n=y(t,i,q,e.reportAllChanges),a&&(a.observe({type:"first-input",buffered:!0}),m(function(){o(a.takeRecords()),n(!0)}),f(function(){B=U(),M.length=0,D.clear(),n=y(t,i=p("INP"),q,e.reportAllChanges)}))}))},G=[],H=[],K=0,Z=new WeakMap,J=new Map,Q=-1,Y=function(t){G=G.concat(t),X()},X=function(){Q<0&&(Q=z(tt))},tt=function(){J.size>10&&J.forEach(function(t,e){D.has(e)||J.delete(e)});var t=M.map(function(t){return Z.get(t.entries[0])}),e=H.length-50;H=H.filter(function(r,n){return n>=e||t.includes(r)});for(var r=new Set,n=0;n<H.length;n++){var i=H[n];to(i.startTime,i.processingEnd).forEach(function(t){r.add(t)})}var o=G.length-1-50;G=G.filter(function(t,e){return t.startTime>K&&e>o||r.has(t)}),Q=-1};F.push(function(t){t.interactionId&&t.target&&!J.has(t.interactionId)&&J.set(t.interactionId,t.target)},function(t){var e,r=t.startTime+t.duration;K=Math.max(K,t.processingEnd);for(var n=H.length-1;n>=0;n--){var i=H[n];if(8>=Math.abs(r-i.renderTime)){(e=i).startTime=Math.min(t.startTime,e.startTime),e.processingStart=Math.min(t.processingStart,e.processingStart),e.processingEnd=Math.max(t.processingEnd,e.processingEnd),e.entries.push(t);break}}e||(e={startTime:t.startTime,processingStart:t.processingStart,processingEnd:t.processingEnd,renderTime:r,entries:[t]},H.push(e)),(t.interactionId||"first-input"===t.entryType)&&Z.set(t,e),X()});var te,tr,tn,ti,to=function(t,e){for(var r,n=[],i=0;r=G[i];i++)if(!(r.startTime+r.duration<t)){if(r.startTime>e)break;n.push(r)}return n},ta=function(t,e){i||(i=h("long-animation-frame",Y)),W(function(e){var r,n,i,o,s,c,l,f,d,p;t((r=e.entries[0],n=Z.get(r),i=r.processingStart,o=n.processingEnd,s=n.entries.sort(function(t,e){return t.processingStart-e.processingStart}),c=to(r.startTime,o),f=(l=e.entries.find(function(t){return t.target}))&&l.target||J.get(r.interactionId),d=[r.startTime+r.duration,o].concat(c.map(function(t){return t.startTime+t.duration})),p=Math.max.apply(Math,d),Object.assign(e,{attribution:{interactionTarget:u(f),interactionTargetElement:f,interactionType:r.name.startsWith("key")?"keyboard":"pointer",interactionTime:r.startTime,nextPaintTime:p,processedEventEntries:s,longAnimationFrameEntries:c,inputDelay:i-r.startTime,processingDuration:o-i,presentationDelay:Math.max(p-o,0),loadState:a(r.startTime)}})))},e)},ts=[2500,4e3],tu={},tc=function(t,e){var r,n;r=function(e){t(function(t){var e={timeToFirstByte:0,resourceLoadDelay:0,resourceLoadDuration:0,elementRenderDelay:t.value};if(t.entries.length){var r=o();if(r){var n=r.activationStart||0,i=t.entries[t.entries.length-1],a=i.url&&performance.getEntriesByType("resource").filter(function(t){return t.name===i.url})[0],s=Math.max(0,r.responseStart-n),c=Math.max(s,a?(a.requestStart||a.startTime)-n:0),l=Math.max(c,a?a.responseEnd-n:0),f=Math.max(l,i.startTime-n);e={element:u(i.element),timeToFirstByte:s,resourceLoadDelay:c-s,resourceLoadDuration:l-c,elementRenderDelay:f-l,navigationEntry:r,lcpEntry:i},i.url&&(e.url=i.url),a&&(e.lcpResourceEntry=a)}}return Object.assign(t,{attribution:e})}(e))},n=(n=e)||{},E(function(){var t,e=A(),i=p("LCP"),o=function(r){n.reportAllChanges||(r=r.slice(-1)),r.forEach(function(r){r.startTime<e.firstHiddenTime&&(i.value=Math.max(r.startTime-d(),0),i.entries=[r],t())})},a=h("largest-contentful-paint",o);if(a){t=y(r,i,ts,n.reportAllChanges);var s=v(function(){tu[i.id]||(o(a.takeRecords()),a.disconnect(),tu[i.id]=!0,t(!0))});["keydown","click"].forEach(function(t){addEventListener(t,function(){return z(s)},{once:!0,capture:!0})}),m(s),f(function(e){t=y(r,i=p("LCP"),ts,n.reportAllChanges),g(function(){i.value=performance.now()-e.timeStamp,tu[i.id]=!0,t(!0)})})}})},tl=[800,1800],tf=function t(e){document.prerendering?E(function(){return t(e)}):"complete"!==document.readyState?addEventListener("load",function(){return t(e)},!0):setTimeout(e,0)},td=function(t,e){e=e||{};var r=p("TTFB"),n=y(t,r,tl,e.reportAllChanges);tf(function(){var i=o();
4i&&(r.value=Math.max(i.responseStart-d(),0),r.entries=[i],n(!0),f(function(){(n=y(t,r=p("TTFB",0),tl,e.reportAllChanges))(!0)}))})},tp=function(t,e){td(function(e){t(function(t){var e={waitingDuration:0,cacheDuration:0,dnsDuration:0,connectionDuration:0,requestDuration:0};if(t.entries.length){var r=t.entries[0],n=r.activationStart||0,i=Math.max((r.workerStart||r.fetchStart)-n,0),o=Math.max(r.domainLookupStart-n,0),a=Math.max(r.connectStart-n,0),s=Math.max(r.connectEnd-n,0);e={waitingDuration:i,cacheDuration:o-i,dnsDuration:a-o,connectionDuration:s-a,requestDuration:t.value-s,navigationEntry:r}}return Object.assign(t,{attribution:e})}(e))},e)},th=new Date,ty=function(t,e){te||(te=e,tr=t,tn=new Date,tv(removeEventListener),tg())},tg=function(){if(tr>=0&&tr<tn-th){var t={entryType:"first-input",name:te.type,target:te.target,cancelable:te.cancelable,startTime:te.timeStamp,processingStart:te.timeStamp+tr};ti.forEach(function(e){e(t)}),ti=[]}},tm=function(t){if(t.cancelable){var e,r,n,i=(t.timeStamp>1e12?new Date:performance.now())-t.t
4imeStamp;"pointerdown"==t.type?(e=function(){ty(i,t),n()},r=function(){n()},n=function(){removeEventListener("pointerup",e,null),removeEventListener("pointercancel",r,null)},addEventListener("pointerup",e,null),addEventListener("pointercancel",r,null)):ty(i,t)}},tv=function(t){["mousedown","keydown","touchstart","pointerdown"].forEach(function(e){return t(e,tm,null)})}}}]); 5//# sourceMappingURL=41-a419de541a5f83b9.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.