PageSourceSearch

https://www.vividseats.com/athena-assets/394ca363/prod/next-assets/_next/static/chunks/3rav0spm0gw68.js

js vividseats.com collected 2026-09-24 09:25:14 UTC 181,301 bytes, 3 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,639727,function(t){"use strict";var e=t.i(631900),n=t.i(867494);t.s(["DefaultPrivacyLevel",()=>n.DefaultPrivacyLevel,"datadogRum",()=>e.datadogRum])},999462,function(t){"use strict";var e=t.i(456625),n=t.i(23331),r=t.i(299914),u=t.i(64022),i=t.i(678559),o=t.i(365091),a={logHandler:"default-logger"},s=function(t){try{var e=new WeakSet;return JSON.stringify(t,function(t,n){if((void 0===n?"undefined":(0,o._)(n))==="object"&&null!==n){if(e.has(n))return"[Circular]";e.add(n)}return n})}catch(t){return"[unserializable]"}},c=["Hydration failed","Text content does not match","error while hydrating but React was able to recover"],l=function(){function r(){(0,e._)(this,r)}return(0,n._)(r,[{key:"logError",value:function(e,n){var r=c.some(function(t){var n;return null==(n=e.message)?void 0:n.includes(t)}),o=(0,u._)({},a,n,r?{logHandler:"react-rehydration-error"}:{});try{t.r(639727).datadogRum.addError(e,o)}catch(t){console.error(s((0,i._)((0,u._)({},o),{error:{message:e.message,name:e.name,stack:e.stack}})))}}}]),r}(),d=new l;t.s(["Logger",0,l,"default",0,d,"toError",0,function(t){return(0,r._)(t,Error)?t:Error((void 0===t?"undefined":(0,o._)(t))==="object"&&null!==t?s(t):String(t))}])},631900,867494,function(t){"use strict";var e,n,r,u,i,o,a,s,c,l,d,f,p,v,h,m,g,_,y,A,E,b,C,w,D,F,S,B,k,x={log:"log",debug:"debug",info:"info",warn:"warn",error:"error"},T=console,R={};Object.keys(x).forEach(function(t){R[t]=T[t]});var I="Datadog Browser SDK:",N={debug:R.debug.bind(T,I),log:R.log.bind(T,I),info:R.info.bind(T,I),warn:R.warn.bind(T,I),error:R.error.bind(T,I)},O="https://docs.datadoghq.com",L="".concat(O,"/real_user_monitoring/browser/troubleshooting"),M="More details:";function P(t,e){return function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];try{return t.apply(void 0,n)}catch(t){N.error(e,t)}}}var U=function(t,e,n){if(n||2==arguments.length)for(var r,u=0,i=e.length;u<i;u++)!r&&u in e||(r||(r=Array.prototype.slice.call(e,0,u)),r[u]=e[u]);return t.concat(r||Array.prototype.slice.call(e))},z=!1;function V(t){z=t}function j(t){return function(){return q(t,this,arguments)}}function q(t,e,n){try{return t.apply(e,n)}catch(t){if(H(t),o)try{o(t)}catch(t){H(t)}}}function H(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];z&&N.error.apply(N,U(["[MONITOR]"],t,!1))}var G=t.i(299914);function W(t,e){return -1!==t.indexOf(e)}function K(t){if(Array.from)return Array.from(t);var e=[];if((0,G._)(t,Set))t.forEach(function(t){return e.push(t)});else for(var n=0;n<t.length;n++)e.push(t[n]);return e}function J(t,e){for(var n=0;n<t.length;n+=1){var r=t[n];if(e(r,n))return r}}function Y(t){return Object.keys(t).map(function(e){return t[e]})}function X(t){return Object.keys(t).map(function(e){return[e,t[e]]})}function $(t,e){return t.slice(0,e.length)===e}function Z(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return e.forEach(function(e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])}),t}var Q=t.i(365091);function tt(){if(("u"<typeof globalThis?"undefined":(0,Q._)(globalThis))==="object")return globalThis;Object.defineProperty(Object.prototype,"_dd_temp_",{get:function(){return this},configurable:!0});var t=_dd_temp_;return delete Object.prototype._dd_temp_,(void 0===t?"undefined":(0,Q._)(t))!=="object"&&(t=("u"<typeof self?"undefined":(0,Q._)(self))==="object"?self:("u"<typeof window?"undefined":(0,Q._)(window))==="object"?window:{}),t}function te(t,e){var n=window.__ddBrowserSdkExtensionCallback;n&&n({type:t,payload:e})}var tn=function(){function t(t){this.onFirstSubscribe=t,this.observers=[]}return t.prototype.subscribe=function(t){var e=this;return this.observers.push(t),1===this.observers.length&&this.onFirstSubscribe&&(this.onLastUnsubscribe=this.onFirstSubscribe(this)||void 0),{unsubscribe:function(){e.observers=e.observers.filter(function(e){return t!==e}),!e.observers.length&&e.onLastUnsubscribe&&e.onLastUnsubscribe()}}},t.prototype.notify=function(t){this.observers.forEach(function(e){return e(t)})},t}();function tr(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return new tn(function(e){var n=t.map(function(t){return t.subscribe(function(t){return e.notify(t)})});
1return function(){return n.forEach(function(t){return t.unsubscribe()})}})}function tu(t,e){var n,r=tt();return r.Zone&&"function"==typeof r.Zone.__symbol__&&(n=t[r.Zone.__symbol__(e)]),n||(n=t[e]),n}function ti(t,e,n,r,u){return to(t,e,[n],r,u)}function to(t,e,n,r,u){var i=void 0===u?{}:u,o=i.once,a=i.capture,s=i.passive,c=j(function(e){(e.isTrusted||e.__ddIsTrusted||t.allowUntrustedEvents)&&(o&&p(),r(e))}),l=s?{capture:a,passive:s}:a,d=window.EventTarget&&(0,G._)(e,EventTarget)?window.EventTarget.prototype:e,f=tu(d,"addEventListener");function p(){var t=tu(d,"removeEventListener");n.forEach(function(n){return t.call(e,n,c,l)})}return n.forEach(function(t){return f.call(e,t,c,l)}),{stop:p}}var ta={HIDDEN:"visibility_hidden",UNLOADING:"before_unload",PAGEHIDE:"page_hide",FROZEN:"page_frozen"},ts=/[^\u0000-\u007F]/;function tc(t){return ts.test(t)?void 0!==window.TextEncoder?new TextEncoder().encode(t).length:new Blob([t]).size:t.length}function tl(t,e){return tu(tt(),"setTimeout")(j(t),e)}function td(t){tu(tt(),"clearTimeout")(t)}function tf(t,e){return tu(tt(),"setInterval")(j(t),e)}function tp(t){tu(tt(),"clearInterval")(t)}function tv(t,e,n){var r,u,i=!n||void 0===n.leading||n.leading,o=!n||void 0===n.trailing||n.trailing,a=!1;return{throttled:function(){for(var n=[],s=0;s<arguments.length;s++)n[s]=arguments[s];if(a){r=n;return}i?t.apply(void 0,n):r=n,a=!0,u=tl(function(){o&&r&&t.apply(void 0,r),a=!1,r=void 0},e)},cancel:function(){td(u),a=!1,r=void 0}}}function th(){}function tm(t,e,n){if((void 0===t?"undefined":(0,Q._)(t))!=="object"||null===t)return JSON.stringify(t);var r=tg(Object.prototype),u=tg(Array.prototype),i=tg(Object.getPrototypeOf(t)),o=tg(t);try{return JSON.stringify(t,e,n)}catch(t){return"<error: unable to serialize object>"}finally{r(),u(),i(),o()}}function tg(t){var e=t.toJSON;return e?(delete t.toJSON,function(){t.toJSON=e}):th}function t_(t,e){void 0===e&&(e=225280);var n=tg(Object.prototype),r=tg(Array.prototype),u=[],i=new WeakMap,o=ty(t,"$",void 0,u,i),a=JSON.stringify(o),s=a?a.length:0;if(s>e)return void tA(e,"discarded",t);for(;u.length>0&&s<e;){var c=u.shift(),l=0;if(Array.isArray(c.source))for(var d=0;d<c.source.length;d++){var f=ty(c.source[d],c.path,d,u,i);if(void 0!==f?s+=JSON.stringify(f).length:s+=4,s+=l,l=1,s>e){tA(e,"truncated",t);break}c.target[d]=f}else for(var d in c.source)if(Object.prototype.hasOwnProperty.call(c.source,d)){var f=ty(c.source[d],c.path,d,u,i);if(void 0!==f&&(s+=JSON.stringify(f).length+l+d.length+3,l=1),s>e){tA(e,"truncated",t);break}c.target[d]=f}}return n(),r(),o}function ty(t,e,n,r,u){var i,o=function(t){if(t&&"function"==typeof t.toJSON)try{return t.toJSON()}catch(t){}return t}(t);if(!o||(void 0===o?"undefined":(0,Q._)(o))!=="object"){return(void 0===(i=o)?"undefined":(0,Q._)(i))==="bigint"?"[BigInt] ".concat(i.toString()):"function"==typeof i?"[Function] ".concat(i.name||"unknown"):(void 0===i?"undefined":(0,Q._)(i))==="symbol"?"[Symbol] ".concat(i.description||i.toString()):i}var a=function(t){try{if((0,G._)(t,Event))return{isTrusted:t.isTrusted};var e=Object.prototype.toString.call(t).match(/\[object (.*)\]/);if(e&&e[1])return"[".concat(e[1],"]")}catch(t){}return"[Unserializable]"}(o);if("[Object]"!==a&&"[Array]"!==a&&"[Error]"!==a)return a;if(u.has(t))return"[Reference seen at ".concat(u.get(t),"]");var s=void 0!==n?"".concat(e,".").concat(n):e,c=Array.isArray(o)?[]:{};return u.set(t,s),r.push({source:o,target:c,path:s}),c}function tA(t,e,n){N.warn("The data provided has been ".concat(e," as it is over the limit of ").concat(t," characters:"),n)}function tE(t){var e=[],n=tx(t,"stack"),r=String(t);return n&&$(n,r)&&(n=n.slice(r.length)),n&&n.split("\n").forEach(function(t){var n=function(t){var e=tw.exec(t);if(e){var n=e[2]&&0===e[2].indexOf("native"),r=e[2]&&0===e[2].indexOf("eval"),u=tD.exec(e[2]);return r&&u&&(e[2]=u[1],e[3]=u[2],e[4]=u[3]),{args:n?[e[2]]:[],column:e[4]?+e[4]:void 0,func:e[1]||"?",line:e[3]?+e[3]:void 0,url:n?void 0:e[2]}}}(t)||function(t){var e=tF.exec(t);if(e)return{args:[],column:e[3]?+e[3]:void 0,func:"?",line:e[2]?+e[2]:void 0,url:e[1]}}(t)||function(t){var e=tS.exec(t);if(e)return{args:[],column:e[4]?+e[4]:void 0,func:e[1]||"?",line:+e[3],url:e[2]}}(t)||function(t){var e=tB.exec(t);if(e){var n=e[3]&&e[3].indexOf(" > eval")>-1,r=tk.exec(e[3]);return n&&r&&(e[3]=r[1],e[4]=r[2],e[5]=void 0),{args:e[2]?e[2].split(","):[],column:e[5]?+e[5]:void 0,func:e[1]||"?",line:e[4]?+e[4]:void 0,url:e[3]}}}(t);n&&(!n.func&&n.line&&(n.func="?"),e.push(n))}),{message:tx(t,"message"),name:tx(t,"name"),stack:e}}
1var tb="((?:file|https?|blob|chrome-extension|electron|native|eval|webpack|snippet|<anonymous>|\\w+\\.|\\/).*?)",tC="(?::(\\d+))",tw=RegExp("^\\s*at (.*?) ?\\(".concat(tb).concat(tC,"?").concat(tC,"?\\)?\\s*$"),"i"),tD=new RegExp("\\((\\S*)".concat(tC).concat(tC,"\\)")),tF=RegExp("^\\s*at ?".concat(tb).concat(tC,"?").concat(tC,"??\\s*$"),"i"),tS=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i,tB=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)((?:file|https?|blob|chrome|webpack|resource|capacitor|\[native).*?|[^@]*bundle)(?::(\d+))?(?::(\d+))?\s*$/i,tk=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i;function tx(t,e){if((void 0===t?"undefined":(0,Q._)(t))==="object"&&t&&e in t){var n=t[e];return"string"==typeof n?n:void 0}}var tT=/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?([\s\S]*)$/;function tR(){var t,e=Error();if(!e.stack)try{throw e}catch(t){th()}return q(function(){var n=tE(e);n.stack=n.stack.slice(2),t=tI(n)}),t}function tI(t){var e=tN(t);return t.stack.forEach(function(t){var n="?"===t.func?"<anonymous>":t.func,r=t.args&&t.args.length>0?"(".concat(t.args.join(", "),")"):"",u=t.line?":".concat(t.line):"",i=t.line&&t.column?":".concat(t.column):"";e+="\n  at ".concat(n).concat(r," @ ").concat(t.url).concat(u).concat(i)}),e}function tN(t){return"".concat(t.name||"Error",": ").concat(t.message)}var tO="No stack, consider using an instance of Error";function tL(t){var e,n,r,u,i,o,a=t.stackTrace,s=t.originalError,c=t.handlingStack,l=t.startClocks,d=t.nonErrorPrefix,f=t.source,p=t.handling,v=tP(s),h=(e=a,n=v,r=d,u=s,(null==e?void 0:e.message)&&(null==e?void 0:e.name)?e.message:n?"Empty message":"".concat(r," ").concat(tm(t_(u)))),m=(i=v,void 0!==(o=a)&&(i||o.stack.length>0&&(o.stack.length>1||void 0!==o.stack[0].url)))?tI(a):tO,g=v?tU(s,f):void 0,_=a?a.name:void 0,y=tM(s);return{startClocks:l,source:f,handling:p,handlingStack:c,originalError:s,type:_,message:h,stack:m,causes:g,fingerprint:y}}function tM(t){return tP(t)&&"dd_fingerprint"in t?String(t.dd_fingerprint):void 0}function tP(t){return(0,G._)(t,Error)||"[object Error]"===Object.prototype.toString.call(t)}function tU(t,e){for(var n=t,r=[];tP(null==n?void 0:n.cause)&&r.length<10;){var u=tE(n.cause);r.push({message:n.cause.message,source:e,type:null==u?void 0:u.name,stack:u&&tI(u)}),n=n.cause}return r.length?r:void 0}function tz(t){return Z({},t)}function tV(t,e){return Object.keys(t).some(function(n){return t[n]===e})}function tj(t){return 0===Object.keys(t).length}(e=a||(a={})).WRITABLE_RESOURCE_GRAPHQL="writable_resource_graphql",e.REMOTE_CONFIGURATION="remote_configuration",e.LONG_ANIMATION_FRAME="long_animation_frame",e.ANONYMOUS_USER_TRACKING="anonymous_user_tracking",e.ACTION_NAME_MASKING="action_name_masking",e.CONSISTENT_TRACE_SAMPLING="consistent_trace_sampling",e.DELAY_VIEWPORT_COLLECTION="delay_viewport_collection";var tq=new Set;function tH(t){return tq.has(t)}var tG="datad0g.com",tW="datadoghq.com",tK=["ddsource","ddtags"];function tJ(t){return 0!==t&&100*Math.random()<=t}function tY(t,e){return+t.toFixed(e)}function tX(t){return"number"==typeof t}var t$=31536e6;function tZ(t){var e,n,r;return{relative:t,timeStamp:(e=t,(n=t0()-performance.now())>t7()?Math.round(function(t,e){return t+e}(n,e)):(r=e,Math.round(t7()+r)))}}function tQ(t){return tX(t)?tY(1e6*t,0):t}function t0(){return new Date().getTime()}function t1(){return t0()}function t2(){return performance.now()}function t3(){return{relative:t2(),timeStamp:t1()}}function t5(){return{relative:0,timeStamp:t7()}}function t7(){return void 0===s&&(s=performance.timing.navigationStart),s}function t6(t){return null===t?"null":Array.isArray(t)?"array":void 0===t?"undefined":(0,Q._)(t)}function t4(t,e,n){if(void 0===n&&(n=function(){if("u">typeof WeakSet){var t=new WeakSet;return{hasAlreadyBeenSeen:function(e){var n=t.has(e);return n||t.add(e),n}}}var e=[];return{hasAlreadyBeenSeen:function(t){var n=e.indexOf(t)>=0;return n||e.push(t),n}}}()),void 0===e)return t;if((void 0===e?"undefined":(0,Q._)(e))!=="object"||null===e)return e;if((0,G._)(e,Date))return new Date(e.getTime());if((0,G._)(e,RegExp)){var r=e.flags||[e.global?"g":"",e.ignoreCase?"i":"",e.multiline?"m":"",e.sticky?"y":"",e.unicode?"u":""].join("");return new RegExp(e.source,r)}if(!n.hasAlreadyBeenSeen(e)){if(Array.isArray(e)){for(var u=Array.isArray(t)?t:[],i=0;i<e.length;++i)u[i]=t4(u[i],e[i],n);return u}var o="object"===t6(t)?t:{};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&(o[a]=t4(o[a],e[a],n));return o}}function t9(t){return t4(void 0,t)}function t8(){for(var t,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];for(var r=0;r<e.length;r++){var u=e[r];null!=u&&(t=t4(t,u))}return t}function et(){var t,e=window.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}}function ee(t,e){var n=t.indexOf(e);n>=0&&t.splice(n,1)}function en(){var t=[];return{add:function(e){t.push(e)>500&&t.splice(0,1)},remove:function(e){ee(t,e)},drain:function(e){t.forEach(function(t){return t(e)}),t.length=0}}}var er="configuration",eu="usage",ei=["https://www.datadoghq-browser-agent.com","https://www.datad0g-browser-agent.com","https://d3uc069fcn7uxw.cloudfront.net","https://d20xtzwzcl0ceb.cloudfront.net","http://localhost","<anonymous>"],eo=["ddog-gov.com"],ea=en(),es=function(t){ea.add(function(){return es(t)})};function ec(t,e){H(x.debug,t,e),es(Z({type:"log",message:t,status:"debug"},e))}function el(t,e){es(Z({type:"log",status:"error"},function(t){if(tP(t)){var e,n=tE(t);return{error:{kind:n.name,stack:tI(((e=n).stack=e.stack.filter(function(t){return!t.url||ei.some(function(e){return $(t.url,e)})}),e))},message:n.message}}return{error:{stack:tO},message:"".concat("Uncaught"," ").concat(tm(t))}}(t),e))}function ed(t){es({type:eu,usage:t})}function ef(){var t=tt().DatadogEventBridge;if(t)return{getCapabilities:function(){var e;return JSON.parse((null==(e=t.getCapabilities)?void 0:e.call(t))||"[]")},getPrivacyLevel:function(){var e;return null==(e=t.getPrivacyLevel)?void 0:e.call(t)},getAllowedWebViewHosts:function(){return JSON.parse(t.getAllowedWebViewHosts())},send:function(e,n,r){t.send(JSON.stringify({eventType:e,event:n,view:r?{id:r}:void 0}))}}}function ep(t){var e=ef();return!!e&&W(e.getCapabilities(),t)}function ev(t){void 0===t&&(t=null==(e=tt().location)?void 0:e.hostname);var e,n=ef();return!!n&&n.getAllowedWebViewHosts().some(function(e){var n,r;return t===e||(n=t,r=".".concat(e),n.slice(-r.length)===r)})}function eh(){var t,e=window;if(e.Zone&&(t=tu(e,"MutationObserver"),e.MutationObserver&&t===e.MutationObserver)){var n=tu(new e.MutationObserver(th),"originalInstance");
1t=n&&n.constructor}return t||(t=e.MutationObserver),t}function em(t,e,n,r){var u=(void 0===r?{}:r).computeHandlingStack,i=t[e];if("function"!=typeof i)if(!(e in t&&$(e,"on")))return{stop:th};else i=th;var o=!1,a=function(){if(o)return i.apply(this,arguments);var t,e=K(arguments);q(n,null,[{target:this,parameters:e,onPostCall:function(e){t=e},handlingStack:u?tR():void 0}]);var r=i.apply(this,e);return t&&q(t,null,[r]),r};return t[e]=a,{stop:function(){o=!0,t[e]===a&&(t[e]=i)}}}function eg(t,e,n){var r=Object.getOwnPropertyDescriptor(t,e);if(!r||!r.set||!r.configurable)return{stop:th};var u=function(t,e){tl(function(){u!==th&&n(t,e)},0)},i=function(t){r.set.call(this,t),u(this,t)};return Object.defineProperty(t,e,{set:i}),{stop:function(){var n;(null==(n=Object.getOwnPropertyDescriptor(t,e))?void 0:n.set)===i&&Object.defineProperty(t,e,r),u=th}}}var e_="agent";function ey(t,e,n){var r=0,u=!1;return{isLimitReached:function(){if(0===r&&tl(function(){r=0},6e4),(r+=1)<=e||u)return u=!1,!1;if(r===e+1){u=!0;try{n({message:"Reached max number of ".concat(t,"s by minute: ").concat(e),source:e_,startClocks:t3()})}finally{u=!1}}return!0}}}function eA(t){return t?(parseInt(t,10)^16*Math.random()>>parseInt(t,10)/4).toString(16):"".concat(1e7,"-").concat(1e3,"-").concat(4e3,"-").concat(8e3,"-").concat(1e11).replace(/[018]/g,eA)}var eE=/([\w-]+)\s*=\s*([^;]+)/g;function eb(t,e){for(eE.lastIndex=0;;){var n=eE.exec(t);if(n){if(n[1]===e)return n[2]}else break}}function eC(t,e,n){void 0===n&&(n="");var r=t.charCodeAt(e-1),u=r>=55296&&r<=56319?e+1:e;return t.length<=u?t:"".concat(t.slice(0,u)).concat(n)}function ew(t,e,n,r){void 0===n&&(n=0);var u=new Date;u.setTime(u.getTime()+n);var i="expires=".concat(u.toUTCString()),o=r&&r.crossSite?"none":"strict",a=r&&r.domain?";domain=".concat(r.domain):"",s=r&&r.secure?";secure":"",c=r&&r.partitioned?";partitioned":"";document.cookie="".concat(t,"=").concat(e,";").concat(i,";path=/;samesite=").concat(o).concat(a).concat(s).concat(c)}function eD(t){return eb(document.cookie,t)}function eF(t){return c||(c=function(t){var e=new Map;for(eE.lastIndex=0;;){var n=eE.exec(t);if(n)e.set(n[1],n[2]);else break}return e}(document.cookie)),c.get(t)}function eS(){return!!(window._DATADOG_SYNTHETICS_INJECTS_RUM||eF("datadog-synthetics-injects-rum"))}function eB(t,e,n){for(var r=t,u=e.split("."),i=0;i<u.length;i+=1){var o=u[i];if(!ek(r))return;i!==u.length-1?r=r[o]:r[o]=n}}function ek(t){return"object"===t6(t)}var ex={"view.name":"string","view.url":"string","view.referrer":"string"},eT={context:"object"},eR={service:"string",version:"string"},eI=function(){function t(){this.callbacks={}}return t.prototype.notify=function(t,e){var n=this.callbacks[t];n&&n.forEach(function(t){return t(e)})},t.prototype.subscribe=function(t,e){var n=this;return this.callbacks[t]||(this.callbacks[t]=[]),this.callbacks[t].push(e),{unsubscribe:function(){n.callbacks[t]=n.callbacks[t].filter(function(t){return e!==t})}}},t}(),eN=144e5,eO=9e5,eL="cookie",eM="local-storage",eP=1/0;function eU(t){var e=t.expireDelay,n=t.maxEntries,r=[],u=tf(function(){for(var t=t2()-e;r.length>0&&r[r.length-1].endTime<t;)r.pop()},6e4);return{add:function(t,e){var u={value:t,startTime:e,endTime:eP,remove:function(){ee(r,u)},close:function(t){u.endTime=t}};return n&&r.length>=n&&r.pop(),r.unshift(u),u},find:function(t,e){void 0===t&&(t=eP),void 0===e&&(e={returnInactive:!1});for(var n=0,u=r;n<u.length;n++){var i=u[n];if(i.startTime<=t){if(e.returnInactive||t<=i.endTime)return i.value;break}}},closeActive:function(t){var e=r[0];e&&e.endTime===eP&&e.close(t)},findAll:function(t,e){void 0===t&&(t=eP),void 0===e&&(e=0);var n=t+e;return r.filter(function(e){return e.startTime<=n&&t<=e.endTime}).map(function(t){return t.value})},reset:function(){r=[]},stop:function(){tp(u)}}}function ez(t){return eV(t,location.href).href}function eV(t,e){var n=function(){if(void 0===f)try{var t=new ej("http://test/path");f="http://test/path"===t.href}catch(t){f=!1}return f?ej:void 0}();if(n)try{return void 0!==e?new n(t,e):new n(t)}catch(n){throw Error("Failed to construct URL: ".concat(String(n)," ").concat(tm({url:t,base:e})))}if(void 0===e&&!/:/.test(t))throw Error("Invalid URL: '".concat(t,"'"));var r=document,u=r.createElement("a");if(void 0!==e){var i=(r=document.implementation.createHTMLDocument("")).createElement("base");i.href=e,r.head.appendChild(i),r.body.appendChild(u)}return u.href=t,u}var ej=URL;function eq(){return p||(p=new tn(function(t){if(window.fetch)return em(window,"fetch",function(e){var n,r,u,i,o,a,s,c,l,d,f;return n=e,r=t,u=n.parameters,i=n.onPostCall,o=n.handlingStack,a=u[0],void 0===(c=(s=u[1])&&s.method)&&(0,G._)(a,Request)&&(c=a.method),l=void 0!==c?String(c).toUpperCase():"GET",d=(0,G._)(a,Request)?a.url:ez(String(a)),f={state:"start",init:s,input:a,method:l,startClocks:t3(),url:d,handlingStack:o},void(r.notify(f),u[0]=f.input,u[1]=f.init,i(function(t){var e=r,n=t,u=f;function i(t){u.state="resolve",Z(u,t),e.notify(u)}n.then(j(function(t){i({response:t,responseType:t.type,status:t.status,isAborted:!1})}),j(function(t){var e,n;i({status:0,isAborted:(null==(n=null==(e=u.init)?void 0:e.signal)?void 0:n.aborted)||(0,G._)(t,DOMException)&&t.code===DOMException.ABORT_ERR,error:t})}))}))},{computeHandlingStack:!0}).stop})),p}var eH=new WeakMap;function eG(t){var e=t.target,n=t.parameters,r=n[0],u=n[1];eH.set(e,{state:"open",method:String(r).toUpperCase(),url:ez(String(u))})}function eW(t){var e=t.target,n=eH.get(e);n&&(n.isAborted=!0)}function eK(t,e,n){var r=function(t,e){var n="/api/v2/".concat(e),r=t.proxy;if("string"==typeof r){var u=ez(r);return function(t){return"".concat(u,"?ddforward=").concat(encodeURIComponent("".concat(n,"?").concat(t)))}}if("function"==typeof r)return function(t){return r({path:n,parameters:t})};var i=function(t,e){var n=e.site,r=void 0===n?tW:n,u=e.internalAnalyticsSubdomain;if("logs"===t&&e.usePciIntake&&r===tW)return"pci.browser-intake-datadoghq.com";if(u&&r===tW)return"".concat(u,".").concat(tW);if("dd0g-gov.com"===r)return"http-intake.logs.".concat(r);var i=r.split("."),o=i.pop();return"browser-intake-".concat(i.join("-"),".").concat(o)}(e,t);
1return function(t){return"https://".concat(i).concat(n,"?").concat(t)}}(t,e);return{build:function(u,i){var o,a,s,c,l,d,f,p,v,h,m;return r((o=t,a=e,s=n,c=u,l=i,d=o.clientToken,f=o.internalAnalyticsSubdomain,p=l.retry,v=l.encoding,h=["sdk_version:".concat("5.35.1"),"api:".concat(c)].concat(s),p&&h.push("retry_count:".concat(p.count),"retry_after:".concat(p.lastFailureStatus)),m=["ddsource=browser","ddtags=".concat(encodeURIComponent(h.join(","))),"dd-api-key=".concat(d),"dd-evp-origin-version=".concat(encodeURIComponent("5.35.1")),"dd-evp-origin=browser","dd-request-id=".concat(eA())],v&&m.push("dd-evp-encoding=".concat(v)),"rum"===a&&m.push("batch_time=".concat(t1())),f&&m.reverse(),m.join("&")))},urlPrefix:r(""),trackType:e}}function eJ(t,e){var n,r=200-t.length-1;(e.length>r||(n=e,function(){try{return RegExp("[\\u0061-\\u007A\\u00B5\\u00DF-\\u00F6\\u00F8-\\u00FF\\u0101\\u0103\\u0105\\u0107\\u0109\\u010B\\u010D\\u010F\\u0111\\u0113\\u0115\\u0117\\u0119\\u011B\\u011D\\u011F\\u0121\\u0123\\u0125\\u0127\\u0129\\u012B\\u012D\\u012F\\u0131\\u0133\\u0135\\u0137-\\u0138\\u013A\\u013C\\u013E\\u0140\\u0142\\u0144\\u0146\\u0148-\\u0149\\u014B\\u014D\\u014F\\u0151\\u0153\\u0155\\u0157\\u0159\\u015B\\u015D\\u015F\\u0161\\u0163\\u0165\\u0167\\u0169\\u016B\\u016D\\u016F\\u0171\\u0173\\u0175\\u0177\\u017A\\u017C\\u017E-\\u0180\\u0183\\u0185\\u0188\\u018C-\\u018D\\u0192\\u0195\\u0199-\\u019B\\u019E\\u01A1\\u01A3\\u01A5\\u01A8\\u01AA-\\u01AB\\u01AD\\u01B0\\u01B4\\u01B6\\u01B9-\\u01BA\\u01BD-\\u01BF\\u01C6\\u01C9\\u01CC\\u01CE\\u01D0\\u01D2\\u01D4\\u01D6\\u01D8\\u01DA\\u01DC-\\u01DD\\u01DF\\u01E1\\u01E3\\u01E5\\u01E7\\u01E9\\u01EB\\u01ED\\u01EF-\\u01F0\\u01F3\\u01F5\\u01F9\\u01FB\\u01FD\\u01FF\\u0201\\u0203\\u0205\\u0207\\u0209\\u020B\\u020D\\u020F\\u0211\\u0213\\u0215\\u0217\\u0219\\u021B\\u021D\\u021F\\u0221\\u0223\\u0225\\u0227\\u0229\\u022B\\u022D\\u022F\\u0231\\u0233-\\u0239\\u023C\\u023F-\\u0240\\u0242\\u0247\\u0249\\u024B\\u024D\\u024F-\\u0293\\u0296-\\u02AF\\u0371\\u0373\\u0377\\u037B-\\u037D\\u0390\\u03AC-\\u03CE\\u03D0-\\u03D1\\u03D5-\\u03D7\\u03D9\\u03DB\\u03DD\\u03DF\\u03E1\\u03E3\\u03E5\\u03E7\\u03E9\\u03EB\\u03ED\\u03EF-\\u03F3\\u03F5\\u03F8\\u03FB-\\u03FC\\u0430-\\u045F\\u0461\\u0463\\u0465\\u0467\\u0469\\u046B\\u046D\\u046F\\u0471\\u0473\\u0475\\u0477\\u0479\\u047B\\u047D\\u047F\\u0481\\u048B\\u048D\\u048F\\u0491\\u0493\\u0495\\u0497\\u0499\\u049B\\u049D\\u049F\\u04A1\\u04A3\\u04A5\\u04A7\\u04A9\\u04AB\\u04AD\\u04AF\\u04B1\\u04B3\\u04B5\\u04B7\\u04B9\\u04BB\\u04BD\\u04BF\\u04C2\\u04C4\\u04C6\\u04C8\\u04CA\\u04CC\\u04CE-\\u04CF\\u04D1\\u04D3\\u04D5\\u04D7\\u04D9\\u04DB\\u04DD\\u04DF\\u04E1\\u04E3\\u04E5\\u04E7\\u04E9\\u04EB\\u04ED\\u04EF\\u04F1\\u04F3\\u04F5\\u04F7\\u04F9\\u04FB\\u04FD\\u04FF\\u0501\\u0503\\u0505\\u0507\\u0509\\u050B\\u050D\\u050F\\u0511\\u0513\\u0515\\u0517\\u0519\\u051B\\u051D\\u051F\\u0521\\u0523\\u0525\\u0527\\u0529\\u052B\\u052D\\u052F\\u0560-\\u0588\\u10D0-\\u10FA\\u10FD-\\u10FF\\u13F8-\\u13FD\\u1C80-\\u1C88\\u1C8A\\u1D00-\\u1D2B\\u1D6B-\\u1D77\\u1D79-\\u1D9A\\u1E01\\u1E03\\u1E05\\u1E07\\u1E09\\u1E0B\\u1E0D\\u1E0F\\u1E11\\u1E13\\u1E15\\u1E17\\u1E19\\u1E1B\\u1E1D\\u1E1F\\u1E21\\u1E23\\u1E25\\u1E27\\u1E29\\u1E2B\\u1E2D\\u1E2F\\u1E31\\u1E33\\u1E35\\u1E37\\u1E39\\u1E3B\\u1E3D\\u1E3F\\u1E41\\u1E43\\u1E45\\u1E47\\u1E49\\u1E4B\\u1E4D\\u1E4F\\u1E51\\u1E53\\u1E55\\u1E57\\u1E59\\u1E5B\\u1E5D\\u1E5F\\u1E61\\u1E63\\u1E65\\u1E67\\u1E69\\u1E6B\\u1E6D\\u1E6F\\u1E71\\u1E73\\u1E75\\u1E77\\u1E79\\u1E7B\\u1E7D\\u1E7F\\u1E81\\u1E83\\u1E85\\u1E87\\u1E89\\u1E8B\\u1E8D\\u1E8F\\u1E91\\u1E93\\u1E95-\\u1E9D\\u1E9F\\u1EA1\\u1EA3\\u1EA5\\u1EA7\\u1EA9\\u1EAB\\u1EAD\\u1EAF\\u1EB1\\u1EB3\\u1EB5\\u1EB7\\u1EB9\\u1EBB\\u1EBD\\u1EBF\\u1EC1\\u1EC3\\u1EC5\\u1EC7\\u1EC9\\u1ECB\\u1ECD\\u1ECF\\u1ED1\\u1ED3\\u1ED5\\u1ED7\\u1ED9\\u1EDB\\u1EDD\\u1EDF\\u1EE1\\u1EE3\\u1EE5\\u1EE7\\u1EE9\\u1EEB\\u1EED\\u1EEF\\u1EF1\\u1EF3\\u1EF5\\u1EF7\\u1EF9\\u1EFB\\u1EFD\\u1EFF-\\u1F07\\u1F10-\\u1F15\\u1F20-\\u1F27\\u1F30-\\u1F37\\u1F40-\\u1F45\\u1F50-\\u1F57\\u1F60-\\u1F67\\u1F70-\\u1F7D\\u1F80-\\u1F87\\u1F90-\\u1F97\\u1FA0-\\u1FA7\\u1FB0-\\u1FB4\\u1FB6-\\u1FB7\\u1FBE\\u1FC2-\\u1FC4\\u1FC6-\\u1FC7\\u1FD0-\\u1FD3\\u1FD6-\\u1FD7\\u1FE0-\\u1FE7\\u1FF2-\\u1FF4\\u1FF6-\\u1FF7\\u210A\\u210E-\\u210F\\u2113\\u212F\\u2134\\u2139\\u213C-\\u213D\\u2146-\\u2149\\u214E\\u2184\\u2C30-\\u2C5F\\u2C61\\u2C65-\\u2C66\\u2C68\\u2C6A\\u2C6C\\u2C71\\u2C73-\\u2C74\\u2C76-\\u2C7B\\u2C81\\u2C83\\u2C85\\u2C87\\u2C89\\u2C8B\\u2C8D\\u2C8F\\u2C91\\u2C93\\u2C95\\u2C97\\u2C99\\u2C9B\\u2C9D\\u2C9F\\u2CA1\\u2CA3\\u2CA5\\u2CA7\\u2CA9\\u2CAB\\u2CAD\\u2CAF\\u2C
1B1\\u2CB3\\u2CB5\\u2CB7\\u2CB9\\u2CBB\\u2CBD\\u2CBF\\u2CC1\\u2CC3\\u2CC5\\u2CC7\\u2CC9\\u2CCB\\u2CCD\\u2CCF\\u2CD1\\u2CD3\\u2CD5\\u2CD7\\u2CD9\\u2CDB\\u2CDD\\u2CDF\\u2CE1\\u2CE3-\\u2CE4\\u2CEC\\u2CEE\\u2CF3\\u2D00-\\u2D25\\u2D27\\u2D2D\\uA641\\uA643\\uA645\\uA647\\uA649\\uA64B\\uA64D\\uA64F\\uA651\\uA653\\uA655\\uA657\\uA659\\uA65B\\uA65D\\uA65F\\uA661\\uA663\\uA665\\uA667\\uA669\\uA66B\\uA66D\\uA681\\uA683\\uA685\\uA687\\uA689\\uA68B\\uA68D\\uA68F\\uA691\\uA693\\uA695\\uA697\\uA699\\uA69B\\uA723\\uA725\\uA727\\uA729\\uA72B\\uA72D\\uA72F-\\uA731\\uA733\\uA735\\uA737\\uA739\\uA73B\\uA73D\\uA73F\\uA741\\uA743\\uA745\\uA747\\uA749\\uA74B\\uA74D\\uA74F\\uA751\\uA753\\uA755\\uA757\\uA759\\uA75B\\uA75D\\uA75F\\uA761\\uA763\\uA765\\uA767\\uA769\\uA76B\\uA76D\\uA76F\\uA771-\\uA778\\uA77A\\uA77C\\uA77F\\uA781\\uA783\\uA785\\uA787\\uA78C\\uA78E\\uA791\\uA793-\\uA795\\uA797\\uA799\\uA79B\\uA79D\\uA79F\\uA7A1\\uA7A3\\uA7A5\\uA7A7\\uA7A9\\uA7AF\\uA7B5\\uA7B7\\uA7B9\\uA7BB\\uA7BD\\uA7BF\\uA7C1\\uA7C3\\uA7C8\\uA7CA\\uA7CD\\uA7CF\\uA7D1\\uA7D3\\uA7D5\\uA7D7\\uA7D9\\uA7DB\\uA7F6\\uA7FA\\uAB30-\\uAB5A\\uAB60-\\uAB68\\uAB70-\\uABBF\\uFB00-\\uFB06\\uFB13-\\uFB17\\uFF41-\\uFF5A\\u{10428}-\\u{1044F}\\u{104D8}-\\u{104FB}\\u{10597}-\\u{105A1}\\u{105A3}-\\u{105B1}\\u{105B3}-\\u{105B9}\\u{105BB}-\\u{105BC}\\u{10CC0}-\\u{10CF2}\\u{10D70}-\\u{10D85}\\u{118C0}-\\u{118DF}\\u{16E60}-\\u{16E7F}\\u{16EBB}-\\u{16ED3}\\u{1D41A}-\\u{1D433}\\u{1D44E}-\\u{1D454}\\u{1D456}-\\u{1D467}\\u{1D482}-\\u{1D49B}\\u{1D4B6}-\\u{1D4B9}\\u{1D4BB}\\u{1D4BD}-\\u{1D4C3}\\u{1D4C5}-\\u{1D4CF}\\u{1D4EA}-\\u{1D503}\\u{1D51E}-\\u{1D537}\\u{1D552}-\\u{1D56B}\\u{1D586}-\\u{1D59F}\\u{1D5BA}-\\u{1D5D3}\\u{1D5EE}-\\u{1D607}\\u{1D622}-\\u{1D63B}\\u{1D656}-\\u{1D66F}\\u{1D68A}-\\u{1D6A5}\\u{1D6C2}-\\u{1D6DA}\\u{1D6DC}-\\u{1D6E1}\\u{1D6FC}-\\u{1D714}\\u{1D716}-\\u{1D71B}\\u{1D736}-\\u{1D74E}\\u{1D750}-\\u{1D755}\\u{1D770}-\\u{1D788}\\u{1D78A}-\\u{1D78F}\\u{1D7AA}-\\u{1D7C2}\\u{1D7C4}-\\u{1D7C9}\\u{1D7CB}\\u{1DF00}-\\u{1DF09}\\u{1DF0B}-\\u{1DF1E}\\u{1DF25}-\\u{1DF2A}\\u{1E922}-\\u{1E943}]","u"),!0}catch(t){return!1}}()&&RegExp("[^\\u0061-\\u007A\\u00B5\\u00DF-\\u00F6\\u00F8-\\u00FF\\u0101\\u0103\\u0105\\u0107\\u0109\\u010B\\u010D\\u010F\\u0111\\u0113\\u0115\\u0117\\u0119\\u011B\\u011D\\u011F\\u0121\\u0123\\u0125\\u0127\\u0129\\u012B\\u012D\\u012F\\u0131\\u0133\\u0135\\u0137-\\u0138\\u013A\\u013C\\u013E\\u0140\\u0142\\u0144\\u0146\\u0148-\\u0149\\u014B\\u014D\\u014F\\u0151\\u0153\\u0155\\u0157\\u0159\\u015B\\u015D\\u015F\\u0161\\u0163\\u0165\\u0167\\u0169\\u016B\\u016D\\u016F\\u0171\\u0173\\u0175\\u0177\\u017A\\u017C\\u017E-\\u0180\\u0183\\u0185\\u0188\\u018C-\\u018D\\u0192\\u0195\\u0199-\\u019B\\u019E\\u01A1\\u01A3\\u01A5\\u01A8\\u01AA-\\u01AB\\u01AD\\u01B0\\u01B4\\u01B6\\u01B9-\\u01BA\\u01BD-\\u01BF\\u01C6\\u01C9\\u01CC\\u01CE\\u01D0\\u01D2\\u01D4\\u01D6\\u01D8\\u01DA\\u01DC-\\u01DD\\u01DF\\u01E1\\u01E3\\u01E5\\u01E7\\u01E9\\u01EB\\u01ED\\u01EF-\\u01F0\\u01F3\\u01F5\\u01F9\\u01FB\\u01FD\\u01FF\\u0201\\u0203\\u0205\\u0207\\u0209\\u020B\\u020D\\u020F\\u0211\\u0213\\u0215\\u0217\\u0219\\u021B\\u021D\\u021F\\u0221\\u0223\\u0225\\u0227\\u0229\\u022B\\u022D\\u022F\\u0231\\u0233-\\u0239\\u023C\\u023F-\\u0240\\u0242\\u0247\\u0249\\u024B\\u024D\\u024F-\\u0293\\u0296-\\u02AF\\u0371\\u0373\\u0377\\u037B-\\u037D\\u0390\\u03AC-\\u03CE\\u03D0-\\u03D1\\u03D5-\\u03D7\\u03D9\\u03DB\\u03DD\\u03DF\\u03E1\\u03E3\\u03E5\\u03E7\\u03E9\\u03EB\\u03ED\\u03EF-\\u03F3\\u03F5\\u03F8\\u03FB-\\u03FC\\u0430-\\u045F\\u0461\\u0463\\u0465\\u0467\\u0469\\u046B\\u046D\\u046F\\u0471\\u0473\\u0475\\u0477\\u0479\\u047B\\u047D\\u047F\\u0481\\u048B\\u048D\\u048F\\u0491\\u0493\\u0495\\u0497\\u0499\\u049B\\u049D\\u049F\\u04A1\\u04A3\\u04A5\\u04A7\\u04A9\\u04AB\\u04AD\\u04AF\\u04B1\\u04B3\\u04B5\\u04B7\\u04B9\\u04BB\\u04BD\\u04BF\\u04C2\\u04C4\\u04C6\\u04C8\\u04CA\\u04CC\\u04CE-\\u04CF\\u04D1\\u04D3\\u04D5\\u04D7\\u04D9\\u04DB\\u04DD\\u04DF\\u04E1\\u04E3\\u04E5\\u04E7\\u04E9\\u04EB\\u04ED\\u04EF\\u04F1\\u04F3\\u04F5\\u04F7\\u04F9\\u04FB\\u04FD\\u04FF\\u0501\\u0503\\u0505\\u0507\\u0509\\u050B\\u050D\\u050F\\u0511\\u0513\\u0515\\u0517\\u0519\\u051B\\u051D\\u051F\\u0521\\u0523\\u0525\\u0527\\u0529\\u052B\\u052D\\u052F\\u
10560-\\u0588\\u10D0-\\u10FA\\u10FD-\\u10FF\\u13F8-\\u13FD\\u1C80-\\u1C88\\u1C8A\\u1D00-\\u1D2B\\u1D6B-\\u1D77\\u1D79-\\u1D9A\\u1E01\\u1E03\\u1E05\\u1E07\\u1E09\\u1E0B\\u1E0D\\u1E0F\\u1E11\\u1E13\\u1E15\\u1E17\\u1E19\\u1E1B\\u1E1D\\u1E1F\\u1E21\\u1E23\\u1E25\\u1E27\\u1E29\\u1E2B\\u1E2D\\u1E2F\\u1E31\\u1E33\\u1E35\\u1E37\\u1E39\\u1E3B\\u1E3D\\u1E3F\\u1E41\\u1E43\\u1E45\\u1E47\\u1E49\\u1E4B\\u1E4D\\u1E4F\\u1E51\\u1E53\\u1E55\\u1E57\\u1E59\\u1E5B\\u1E5D\\u1E5F\\u1E61\\u1E63\\u1E65\\u1E67\\u1E69\\u1E6B\\u1E6D\\u1E6F\\u1E71\\u1E73\\u1E75\\u1E77\\u1E79\\u1E7B\\u1E7D\\u1E7F\\u1E81\\u1E83\\u1E85\\u1E87\\u1E89\\u1E8B\\u1E8D\\u1E8F\\u1E91\\u1E93\\u1E95-\\u1E9D\\u1E9F\\u1EA1\\u1EA3\\u1EA5\\u1EA7\\u1EA9\\u1EAB\\u1EAD\\u1EAF\\u1EB1\\u1EB3\\u1EB5\\u1EB7\\u1EB9\\u1EBB\\u1EBD\\u1EBF\\u1EC1\\u1EC3\\u1EC5\\u1EC7\\u1EC9\\u1ECB\\u1ECD\\u1ECF\\u1ED1\\u1ED3\\u1ED5\\u1ED7\\u1ED9\\u1EDB\\u1EDD\\u1EDF\\u1EE1\\u1EE3\\u1EE5\\u1EE7\\u1EE9\\u1EEB\\u1EED\\u1EEF\\u1EF1\\u1EF3\\u1EF5\\u1EF7\\u1EF9\\u1EFB\\u1EFD\\u1EFF-\\u1F07\\u1F10-\\u1F15\\u1F20-\\u1F27\\u1F30-\\u1F37\\u1F40-\\u1F45\\u1F50-\\u1F57\\u1F60-\\u1F67\\u1F70-\\u1F7D\\u1F80-\\u1F87\\u1F90-\\u1F97\\u1FA0-\\u1FA7\\u1FB0-\\u1FB4\\u1FB6-\\u1FB7\\u1FBE\\u1FC2-\\u1FC4\\u1FC6-\\u1FC7\\u1FD0-\\u1FD3\\u1FD6-\\u1FD7\\u1FE0-\\u1FE7\\u1FF2-\\u1FF4\\u1FF6-\\u1FF7\\u210A\\u210E-\\u210F\\u2113\\u212F\\u2134\\u2139\\u213C-\\u213D\\u2146-\\u2149\\u214E\\u2184\\u2C30-\\u2C5F\\u2C61\\u2C65-\\u2C66\\u2C68\\u2C6A\\u2C6C\\u2C71\\u2C73-\\u2C74\\u2C76-\\u2C7B\\u2C81\\u2C83\\u2C85\\u2C87\\u2C89\\u2C8B\\u2C8D\\u2C8F\\u2C91\\u2C93\\u2C95\\u2C97\\u2C99\\u2C9B\\u2C9D\\u2C9F\\u2CA1\\u2CA3\\u2CA5\\u2CA7\\u2CA9\\u2CAB\\u2CAD\\u2CAF\\u2CB1\\u2CB3\\u2CB5\\u2CB7\\u2CB9\\u2CBB\\u2CBD\\u2CBF\\u2CC1\\u2CC3\\u2CC5\\u2CC7\\u2CC9\\u2CCB\\u2CCD\\u2CCF\\u2CD1\\u2CD3\\u2CD5\\u2CD7\\u2CD9\\u2CDB\\u2CDD\\u2CDF\\u2CE1\\u2CE3-\\u2CE4\\u2CEC\\u2CEE\\u2CF3\\u2D00-\\u2D25\\u2D27\\u2D2D\\uA641\\uA643\\uA645\\uA647\\uA649\\uA64B\\uA64D\\uA64F\\uA651\\uA653\\uA655\\uA657\\uA659\\uA65B\\uA65D\\uA65F\\uA661\\uA663\\uA665\\uA667\\uA669\\uA66B\\uA66D\\uA681\\uA683\\uA685\\uA687\\uA689\\uA68B\\uA68D\\uA68F\\uA691\\uA693\\uA695\\uA697\\uA699\\uA69B\\uA723\\uA725\\uA727\\uA729\\uA72B\\uA72D\\uA72F-\\uA731\\uA733\\uA735\\uA737\\uA739\\uA73B\\uA73D\\uA73F\\uA741\\uA743\\uA745\\uA747\\uA749\\uA74B\\uA74D\\uA74F\\uA751\\uA753\\uA755\\uA757\\uA759\\uA75B\\uA75D\\uA75F\\uA761\\uA763\\uA765\\uA767\\uA769\\uA76B\\uA76D\\uA76F\\uA771-\\uA778\\uA77A\\uA77C\\uA77F\\uA781\\uA783\\uA785\\uA787\\uA78C\\uA78E\\uA791\\uA793-\\uA795\\uA797\\uA799\\uA79B\\uA79D\\uA79F\\uA7A1\\uA7A3\\uA7A5\\uA7A7\\uA7A9\\uA7AF\\uA7B5\\uA7B7\\uA7B9\\uA7BB\\uA7BD\\uA7BF\\uA7C1\\uA7C3\\uA7C8\\uA7CA\\uA7CD\\uA7CF\\uA7D1\\uA7D3\\uA7D5\\uA7D7\\uA7D9\\uA7DB\\uA7F6\\uA7FA\\uAB30-\\uAB5A\\uAB60-\\uAB68\\uAB70-\\uABBF\\uFB00-\\uFB06\\uFB13-\\uFB17\\uFF41-\\uFF5A\\u{10428}-\\u{1044F}\\u{104D8}-\\u{104FB}\\u{10597}-\\u{105A1}\\u{105A3}-\\u{105B1}\\u{105B3}-\\u{105B9}\\u{105BB}-\\u{105BC}\\u{10CC0}-\\u{10CF2}\\u{10D70}-\\u{10D85}\\u{118C0}-\\u{118DF}\\u{16E60}-\\u{16E7F}\\u{16EBB}-\\u{16ED3}\\u{1D41A}-\\u{1D433}\\u{1D44E}-\\u{1D454}\\u{1D456}-\\u{1D467}\\u{1D482}-\\u{1D49B}\\u{1D4B6}-\\u{1D4B9}\\u{1D4BB}\\u{1D4BD}-\\u{1D4C3}\\u{1D4C5}-\\u{1D4CF}\\u{1D4EA}-\\u{1D503}\\u{1D51E}-\\u{1D537}\\u{1D552}-\\u{1D56B}\\u{1D586}-\\u{1D59F}\\u{1D5BA}-\\u{1D5D3}\\u{1D5EE}-\\u{1D607}\\u{1D622}-\\u{1D63B}\\u{1D656}-\\u{1D66F}\\u{1D68A}-\\u{1D6A5}\\u{1D6C2}-\\u{1D6DA}\\u{1D6DC}-\\u{1D6E1}\\u{1D6FC}-\\u{1D714}\\u{1D716}-\\u{1D71B}\\u{1D736}-\\u{1D74E}\\u{1D750}-\\u{1D755}\\u{1D770}-\\u{1D788}\\u{1D78A}-\\u{1D78F}\\u{1D7AA}-\\u{1D7C2}\\u{1D7C4}-\\u{1D7C9}\\u{1D7CB}\\u{1DF00}-\\u{1DF09}\\u{1DF0B}-\\u{1DF1E}\\u{1DF25}-\\u{1DF2A}\\u{1E922}-\\u{1E943}\\u00AA\\u00BA\\u01BB\\u01C0-\\u01C3\\u0294-\\u0295\\u05D0-\\u05EA\\u05EF-\\u05F2\\u0620-\\u063F\\u0641-\\u064A\\u066E-\\u066F\\u0671-\\u06D3\\u06D5\\u06EE-\\u06EF\\u06FA-\\u06FC\\u06FF\\u0710\\u0712-\\u072F\\u074D-\\u07A5\\u07B1\\u07CA-\\u07EA\\u0800-\\u0815\\u0840-\\u0858\\u0860-\\u086A\\u0870-\\u0887\\u0889-\\u088F\\u08A0-\\u08C8\\u0904-\\u0939\\u093D\\u0950\\u0958-\\u0961\\u0972-\\u0980\\u0985-\\u098C\\u098F-\\u0990\\u0993-\\u09A8\\u09AA-\\u09B0\\u09B2\\u09B6-\\u09B9\\u09BD\\u09CE\\u09DC-\\u
109DD\\u09DF-\\u09E1\\u09F0-\\u09F1\\u09FC\\u0A05-\\u0A0A\\u0A0F-\\u0A10\\u0A13-\\u0A28\\u0A2A-\\u0A30\\u0A32-\\u0A33\\u0A35-\\u0A36\\u0A38-\\u0A39\\u0A59-\\u0A5C\\u0A5E\\u0A72-\\u0A74\\u0A85-\\u0A8D\\u0A8F-\\u0A91\\u0A93-\\u0AA8\\u0AAA-\\u0AB0\\u0AB2-\\u0AB3\\u0AB5-\\u0AB9\\u0ABD\\u0AD0\\u0AE0-\\u0AE1\\u0AF9\\u0B05-\\u0B0C\\u0B0F-\\u0B10\\u0B13-\\u0B28\\u0B2A-\\u0B30\\u0B32-\\u0B33\\u0B35-\\u0B39\\u0B3D\\u0B5C-\\u0B5D\\u0B5F-\\u0B61\\u0B71\\u0B83\\u0B85-\\u0B8A\\u0B8E-\\u0B90\\u0B92-\\u0B95\\u0B99-\\u0B9A\\u0B9C\\u0B9E-\\u0B9F\\u0BA3-\\u0BA4\\u0BA8-\\u0BAA\\u0BAE-\\u0BB9\\u0BD0\\u0C05-\\u0C0C\\u0C0E-\\u0C10\\u0C12-\\u0C28\\u0C2A-\\u0C39\\u0C3D\\u0C58-\\u0C5A\\u0C5C-\\u0C5D\\u0C60-\\u0C61\\u0C80\\u0C85-\\u0C8C\\u0C8E-\\u0C90\\u0C92-\\u0CA8\\u0CAA-\\u0CB3\\u0CB5-\\u0CB9\\u0CBD\\u0CDC-\\u0CDE\\u0CE0-\\u0CE1\\u0CF1-\\u0CF2\\u0D04-\\u0D0C\\u0D0E-\\u0D10\\u0D12-\\u0D3A\\u0D3D\\u0D4E\\u0D54-\\u0D56\\u0D5F-\\u0D61\\u0D7A-\\u0D7F\\u0D85-\\u0D96\\u0D9A-\\u0DB1\\u0DB3-\\u0DBB\\u0DBD\\u0DC0-\\u0DC6\\u0E01-\\u0E30\\u0E32-\\u0E33\\u0E40-\\u0E45\\u0E81-\\u0E82\\u0E84\\u0E86-\\u0E8A\\u0E8C-\\u0EA3\\u0EA5\\u0EA7-\\u0EB0\\u0EB2-\\u0EB3\\u0EBD\\u0EC0-\\u0EC4\\u0EDC-\\u0EDF\\u0F00\\u0F40-\\u0F47\\u0F49-\\u0F6C\\u0F88-\\u0F8C\\u1000-\\u102A\\u103F\\u1050-\\u1055\\u105A-\\u105D\\u1061\\u1065-\\u1066\\u106E-\\u1070\\u1075-\\u1081\\u108E\\u1100-\\u1248\\u124A-\\u124D\\u1250-\\u1256\\u1258\\u125A-\\u125D\\u1260-\\u1288\\u128A-\\u128D\\u1290-\\u12B0\\u12B2-\\u12B5\\u12B8-\\u12BE\\u12C0\\u12C2-\\u12C5\\u12C8-\\u12D6\\u12D8-\\u1310\\u1312-\\u1315\\u1318-\\u135A\\u1380-\\u138F\\u1401-\\u166C\\u166F-\\u167F\\u1681-\\u169A\\u16A0-\\u16EA\\u16F1-\\u16F8\\u1700-\\u1711\\u171F-\\u1731\\u1740-\\u1751\\u1760-\\u176C\\u176E-\\u1770\\u1780-\\u17B3\\u17DC\\u1820-\\u1842\\u1844-\\u1878\\u1880-\\u1884\\u1887-\\u18A8\\u18AA\\u18B0-\\u18F5\\u1900-\\u191E\\u1950-\\u196D\\u1970-\\u1974\\u1980-\\u19AB\\u19B0-\\u19C9\\u1A00-\\u1A16\\u1A20-\\u1A54\\u1B05-\\u1B33\\u1B45-\\u1B4C\\u1B83-\\u1BA0\\u1BAE-\\u1BAF\\u1BBA-\\u1BE5\\u1C00-\\u1C23\\u1C4D-\\u1C4F\\u1C5A-\\u1C77\\u1CE9-\\u1CEC\\u1CEE-\\u1CF3\\u1CF5-\\u1CF6\\u1CFA\\u2135-\\u2138\\u2D30-\\u2D67\\u2D80-\\u2D96\\u2DA0-\\u2DA6\\u2DA8-\\u2DAE\\u2DB0-\\u2DB6\\u2DB8-\\u2DBE\\u2DC0-\\u2DC6\\u2DC8-\\u2DCE\\u2DD0-\\u2DD6\\u2DD8-\\u2DDE\\u3006\\u303C\\u3041-\\u3096\\u309F\\u30A1-\\u30FA\\u30FF\\u3105-\\u312F\\u3131-\\u318E\\u31A0-\\u31BF\\u31F0-\\u31FF\\u3400-\\u4DBF\\u4E00-\\uA014\\uA016-\\uA48C\\uA4D0-\\uA4F7\\uA500-\\uA60B\\uA610-\\uA61F\\uA62A-\\uA62B\\uA66E\\uA6A0-\\uA6E5\\uA78F\\uA7F7\\uA7FB-\\uA801\\uA803-\\uA805\\uA807-\\uA80A\\uA80C-\\uA822\\uA840-\\uA873\\uA882-\\uA8B3\\uA8F2-\\uA8F7\\uA8FB\\uA8FD-\\uA8FE\\uA90A-\\uA925\\uA930-\\uA946\\uA960-\\uA97C\\uA984-\\uA9B2\\uA9E0-\\uA9E4\\uA9E7-\\uA9EF\\uA9FA-\\uA9FE\\uAA00-\\uAA28\\uAA40-\\uAA42\\uAA44-\\uAA4B\\uAA60-\\uAA6F\\uAA71-\\uAA76\\uAA7A\\uAA7E-\\uAAAF\\uAAB1\\uAAB5-\\uAAB6\\uAAB9-\\uAABD\\uAAC0\\uAAC2\\uAADB-\\uAADC\\uAAE0-\\uAAEA\\uAAF2\\uAB01-\\uAB06\\uAB09-\\uAB0E\\uAB11-\\uAB16\\uAB20-\\uAB26\\uAB28-\\uAB2E\\uABC0-\\uABE2\\uAC00-\\uD7A3\\uD7B0-\\uD7C6\\uD7CB-\\uD7FB\\uF900-\\uFA6D\\uFA70-\\uFAD9\\uFB1D\\uFB1F-\\uFB28\\uFB2A-\\uFB36\\uFB38-\\uFB3C\\uFB3E\\uFB40-\\uFB41\\uFB43-\\uFB44\\uFB46-\\uFBB1\\uFBD3-\\uFD3D\\uFD50-\\uFD8F\\uFD92-\\uFDC7\\uFDF0-\\uFDFB\\uFE70-\\uFE74\\uFE76-\\uFEFC\\uFF66-\\uFF6F\\uFF71-\\uFF9D\\uFFA0-\\uFFBE\\uFFC2-\\uFFC7\\uFFCA-\\uFFCF\\uFFD2-\\uFFD7\\uFFDA-\\uFFDC\\u{10000}-\\u{1000B}\\u{1000D}-\\u{10026}\\u{10028}-\\u{1003A}\\u{1003C}-\\u{1003D}\\u{1003F}-\\u{1004D}\\u{10050}-\\u{1005D}\\u{10080}-\\u{100FA}\\u{10280}-\\u{1029C}\\u{102A0}-\\u{102D0}\\u{10300}-\\u{1031F}\\u{1032D}-\\u{10340}\\u{10342}-\\u{10349}\\u{10350}-\\u{10375}\\u{10380}-\\u{1039D}\\u{103A0}-\\u{103C3}\\u{103C8}-\\u{103CF}\\u{10450}-\\u{1049D}\\u{10500}-\\u{10527}\\u{10530}-\\u{10563}\\u{105C0}-\\u{105F3}\\u{10600}-\\u{10736}\\u{10740}-\\u{10755}\\u{10760}-\\u{10767}\\u{10800}-\\u{10805}\\u{10808}\\u{1080A}-\\u{10835}\\u{10837}-\\u{10838}\\u{1083C}\\u{1083F}-\\u{10855}\\u{10860}-\\u{10876}\\u{10880}-\\u{1089E}\\u{108E0}-\\u{108F2}\\u{108F4}-\\u{108F5}\\u{10900}-\\u{10915}\\u{10920}-\\u{10939}\\u{10940}-\\u{10959}\\u{10980}-\\u{109B7}\\u{109BE}-\\u{109BF}\\u{10A00}\\u{10A10}-\\u{10A13}\\u{10A15}-\\u{10A17}\\u{10A19}-\\u{10A35}\\u{10A60}-\\u{10A7C}\\u{10A80}-\\u{10A9C}\\u{10AC0}-\\u{10AC7}\\u{10AC9}-\\u{10AE4}\\u{10B00}-\\u{10B35}\\u{10B40}-\\u{10B55}\\u{10B60}-\\u{10B72}\\u{10B80}-\\u{10B91}\\u{10C00}-\\u{10C48}\\u{10D00}-\\u{10D23}\\u{10D4A}-\\u{10D4D}\\u{10D4F}\\u{10E80}-\\u{10EA9}\\u{10EB0}-\\u{10EB1}\\u{10EC2}-\\u{10EC4}\\u{10EC6}-\\u{10EC7}\\u{10F00}-\\u{10F1C}\\u{10F27}\\u{10F30}-\\u{10F45}\\u{10F70}-\\u{10F81}\\u{10FB0}-\\u{10FC4}\\u{10FE0}-\\u{10FF6}\\u{11003}-\\u{11037}\\u{11071}-\\u{11072}\\u{11075}\\u{11083}-\\u{110AF}\\u{110D0}-\\u{110E8}\\u{11103}-\\u{11126}\\u{11144}\\u{11147}\\u{11150}-\\u{11172}\\u{11176}\\u{11183}-\\u{111B2}\\u{111C1}-\\u{111C4}\\u{111DA}\\u{111DC}\\u{11200}-\\u{11211}\\u{11213}-\\u{1122B}\\u{1123F}-\\u{11240}\\u{11280}-\\u{11286}\\u{11288}\\u{1128A}-\\u{1128D}\\u{1128F}-\\u{1129D}\\u{1129F}-\\u{112A8}\\u{112B0}-\\u{112DE}\\u{11305}-\\u{1130C}\\u{1130F}-\\u{11310}\\u{11313}-\\u{11328}\\u{1132A}-\\u{11330}\\u{11332}-\\u{11333}\\u{11335}-\\u{11339}\\u{1133D}\\u{11350}\\u{1135D}-\\u{11361}\\u{11380}-\\u{11389}\\u{1138B}\\u{1138E}\\u{11390}-\\u{113B5}\\u{113B7}\\u{113D1}\\u{113D3}\\u{11400}-\\u{11434}\\u{11447}-\\u{1144A}\\u{1145F}-\\u{11461}\\u{11480}-\\u{114AF}\\u{114C4}-\\u{114C5}\\u{114C7}\\u{11580}-\\u{115AE}\\u{115D8}-\\u{115DB}\\u{11600}-\\u{1162F}\\u{11644}\\u{11680}-\\u{116AA}\\u{116B8}\\u{11700}-\\u{1171A}\\u{11740}-\\u{11746}\\u{11800}-\\u{1182B}\\u{118FF}-\\u{11906}\\u{11909}\\u{1190C}-\\u{11913}\\u{11915}-\\u{11916}\\u{11918}-\\u{1192F}\\u{1193F}\\u{11941}\\u{119A0}-\\u{119A7}\\u{119AA}-\\u{119D0}\\u{119E1}\\u{119E3}\\u{11A00}\\u{11A0B}-\\u{11A32}\\u{11A3A}\\u{11A50}\\u{11A5C}-\\u{11A89}\\u{11A9D}\\u{11AB0}-\\u{11AF8}\\u{11BC0}-\\u{11BE0}\\u{11C00}-\\u{11C08}\\u{11C0A}-\\u{11C2E}\\u{11C40}\\u{11C72}-\\u{11C8F}\\u{11D00}-\\u{11D06}\\u{11D08}-\\u{11D09}\\u{11D0B}-\\u{11D30}\\u{11D46}\\u{11D60}-\\u{11D65}\\u{11D67}-\\u{11D68}\\u{11D6A}-\\u{11D89}\\u{11D98}\\u{11DB0}-\\u{11DD8}\\u{11DDA}-\\u{11DDB}\\u{11EE0}-\\u{11EF2}\\u{11F02}\\u{11F04}-\\u{11F10}\\u{11F12}-\\u{11F33}\\u{11FB0}\\u{12000}-\\u{12399}\\u{12480}-\\u{12543}\\u{12F90}-\\u{12FF0}\\u{13000}-\\u{1342F}\\u{13441}-\\u{13446}\\u{13460}-\\u{143FA}\\u{14400}-\\u{14646}\\u{16100}-\\u{1611D}\\u{16800}-\\u{16A38}\\u{16A40}-\\u{16A5E}\\u{16A70}-\\u{16ABE}\\u{16AD0}-\\u{16AED}\\u{16B00}-\\u{16B2F}\\u{16B63}-\\u{16B77}\\u{16B7D}-\\u{16B8F}\\u{16D43}-\\u{16D6A}\\u{16F00}-\\u{16F4A}\\u{16F50}\\u{17000}-\\u{18CD5}\\u{18CFF}-\\u{18D1E}\\u{18D80}-\\u{18DF2}\\u{1B000}-\\u{1B122}\\u{1B132}\\u{1B150}-\\u{1B152}\\u{1B155}\\u{1B164}-\\u{1B167}\\u{1B170}-\\u{1B2FB}\\u{1BC00}-\\u{1BC6A}\\u{1BC70}-\\u{1BC7C}\\u{1BC80}-\\u{1BC88}\\u{1BC90}-\\u{1BC99}\\u{1DF0A}\\u{1E100}-\\u{1E12C}\\u{1E14E}\\u{1E290}-\\u{1E2AD}\\u{1E2C0}-\\u{1E2EB}\\u{1E4D0}-\\u{1E4EA}\\u{1E5D0}-\\u{1E5ED}\\u{1E5F0}\\u{1E6C0}-\\u{1E6DE}\\u{1E6E0}-\\u{1E6E2}\\u{1E6E4}-\\u{1E6E5}\\u{1E6E7}-\\u{1E6ED}\\u{1E6F0}-\\u{1E6F4}\\u{1E6FE}\\u{1E7E0}-\\u{1E7E6}\\u{1E7E8}-\\u{1E7EB}\\u{1E7ED}-\\u{1E7EE}\\u{1E7F0}-\\u{1E7FE}\\u{1E800}-\\u{1E8C4}\\u{1EE00}-\\u{1EE03}\\u{1EE05}-\\u{1EE1F}\\u{1EE21}-\\u{1EE22}\\u{1EE24}\\u{1EE27}\\u{1EE29}-\\u{1EE32}\\u{1EE34}-\\u{1EE37}\\u{1EE39}\\u{1EE3B}\\u{1EE42}\\u{1EE47}\\u{1EE49}\\u{1EE4B}\\u{1EE4D}-\\u{1EE4F}\\u{1EE51}-\\u{1EE52}\\u{1EE54}\\u{1EE57}\\u{1EE59}\\u{1EE5B}\\u{1EE5D}\\u{1EE5F}\\u{1EE61}-\\u{1EE62}\\u{1EE64}\\u{1EE67}-\\u{1EE6A}\\u{1EE6C}-\\u{1EE72}\\u{1EE74}-\\u{1EE77}\\u{1EE79}-\\u{1EE7C}\\u{1EE7E}\\u{1EE80}-\\u{1EE89}\\u{1EE8B}-\\u{1EE9B}\\u{1EEA1}-\\u{1EEA3}\\u{1EEA5}-\\u{1EEA9}\\u{1EEAB}-\\u{1EEBB}\\u{20000}-\\u{2A6DF}\\u{2A700}-\\u{2B81D}\\u{2B820}-\\u{2CEAD}\\u{2CEB0}-\\u{2EBE0}\\u{2EBF0}-\\u{2EE5D}\\u{2F800}-\\u{2FA1D}\\u{30000}-\\u{3134A}\\u{31350}-\\u{33479}0-9_:./-]","u").test(n)))&&N.warn("".concat(t," value doesn't meet tag requirements and will be sanitized. ").concat(M," ").concat(O,"/getting_started/tagging/#defining-tags"));var u=e.replace(/,/g,"_");return"".concat(t,":").concat(u)}var eY="initial_document",eX=[["document",function(t){return eY===t}],["xhr",function(t){return"xmlhttprequest"===t}],["fetch",function(t){return"fetch"===t}],["beacon",function(t){return"beacon"===t}],["css",function(t,e){return/\.css$/i.test(e)}],["js",function(t,e){return/\.js$/i.test(e)}],["image",function(t,e){return W(["image","img","icon"],t)||null!==/\.(gif|jpg|jpeg|tiff|png|svg|ico)$/i.exec(e)}],["font",function(t,e){return null!==/\.(woff|eot|woff2|ttf)$/i.exec(e)}],["media",function(t,e){return W(["audio","video"],t)||null!==/\.(mp3|mp4)$/i.exec(e)}]];function e$(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];for(var n=1;n<t.length;n+=1)if(t[n-1]>t[n])return!1;return!0}function eZ(t){return t.duration>=0}function eQ(t){var e,n=e$(t.startTime,t.fetchStart,t.domainLookupStart,t.domainLookupEnd,t.connectStart,t.connectEnd,t.requestStart,t.responseStart,t.responseEnd),r=!((e=t).redirectEnd>e.startTime)||e$(t.startTime,t.redirectStart,t.redirectEnd,t.fetchStart);return n&&r}function e0(t,e,n){if(t<=e&&e<=n)return{duration:tQ(n-e),start:tQ(e-t)}}function e1(t){return""===t.nextHopProtocol?void 0:t.nextHopProtocol}function e2(t){return""===t.deliveryType?"other":t.deliveryType}function e3(t){return t&&!tK.every(function(e){return W(t,e)})}var e5=/data:(.+)?(;base64)?,/g;function e7(t){if(t.length<=24e3);else if("data:"===t.substring(0,5))return t=t.substring(0,24e3),!0;return!1}function e6(t){return"".concat(t.match(e5)[0],"[...]")}function e4(t){var e=t6(t);return"string"===e||"function"===e||(0,G._)(t,RegExp)}function e9(t,e,n){return void 0===n&&(n=!1),t.some(function(t){try{if("function"==typeof t)return t(e);if((0,G._)(t,RegExp))return t.test(e);
1if("string"==typeof t)return n?$(e,t):t===e}catch(t){N.error(t)}return!1})}function e8(){var t,e,n;return null!=h?h:(void 0===t&&(t=window),n=t.navigator.userAgent,h=t.chrome||/HeadlessChrome/.test(n)?1:(null==(e=t.navigator.vendor)?void 0:e.indexOf("Apple"))===0||/safari/i.test(n)&&!/chrome|android/i.test(n)?2:3*!t.document.documentMode)}var nt="_dd_s";function ne(t){var e=Z({},t);return["id","name","email"].forEach(function(t){t in e&&(e[t]=String(e[t]))}),e}var nn=/^([a-zA-Z]+)=([a-z0-9-]+)$/;function nr(t){var e={isExpired:"1"};return tH(a.ANONYMOUS_USER_TRACKING)&&((null==t?void 0:t.anonymousId)?e.anonymousId=null==t?void 0:t.anonymousId:e.anonymousId=Math.floor(0x20000000000000*Math.random()).toString(36)),e}function nu(t){var e;return void 0!==t.isExpired||!((void 0===(e=t).created||t0()-Number(e.created)<eN)&&(void 0===e.expire||t0()<Number(e.expire)))}function ni(t){t.expire=String(t0()+eO)}function no(t){return X(t).map(function(t){var e=t[0],n=t[1];return"anonymousId"===e?"aid=".concat(n):"".concat(e,"=").concat(n)}).join("&")}function na(t){var e={};return t&&(-1!==t.indexOf("&")||nn.test(t))&&t.split("&").forEach(function(t){var n=nn.exec(t);if(null!==n){var r=n[1],u=n[2];"aid"===r?e.anonymousId=u:e[r]=u}}),e}function ns(t){var e,n,r=((n={}).secure=!!(e=t).useSecureSessionCookie||!!e.usePartitionedCrossSiteSessionCookie||!!e.useCrossSiteSessionCookie,n.crossSite=!!e.usePartitionedCrossSiteSessionCookie||!!e.useCrossSiteSessionCookie,n.partitioned=!!e.usePartitionedCrossSiteSessionCookie,e.trackSessionAcrossSubdomains&&(n.domain=function(){if(void 0===l){for(var t="dd_site_test_".concat(eA()),e=window.location.hostname.split("."),n=e.pop();e.length&&!eD(t);)ew(t,"test",1e3,{domain:n="".concat(e.pop(),".").concat(n)});ew(t,"",0,{domain:n}),l=n}return l}()),n);return!function(t){if(void 0===document.cookie||null===document.cookie)return!1;try{var e="dd_cookie_test_".concat(eA()),n="test";ew(e,n,6e4,t);var r=eD(e)===n;return ew(e,"",0,t),r}catch(t){return N.error(t),!1}}(r)?void 0:{type:eL,cookieOptions:r}}function nc(){return na(eD(nt))}function nl(){try{var t=eA(),e="".concat("_dd_test_").concat(t);localStorage.setItem(e,t);var n=localStorage.getItem(e);return localStorage.removeItem(e),t===n?{type:eM}:void 0}catch(t){return}}function nd(t){localStorage.setItem(nt,no(t))}function nf(){return na(localStorage.getItem(nt))}function np(t){nd(nr(t))}var nv=[];function nh(t,e,n){void 0===n&&(n=0);var r,u,i=e.isLockEnabled,o=e.persistSession,a=e.expireSession,s=function(t){return o(Z({},t,{lock:u}))},c=function(){var t=e.retrieveSession(),n=t.lock;return t.lock&&delete t.lock,{session:t,lock:n}};if(m||(m=t),t!==m)return void nv.push(t);if(i&&n>=100)return void ng(e);var l=c();if(i&&(l.lock||(u=eA(),s(l.session),(l=c()).lock!==u)))return void nm(t,e,n);var d=t.process(l.session);if(i&&(l=c()).lock!==u)return void nm(t,e,n);if(d&&(nu(d)?a(d):(ni(d),i?s(d):o(d))),i&&!(d&&nu(d))){if((l=c()).lock!==u)return void nm(t,e,n);o(l.session),d=l.session}null==(r=t.after)||r.call(t,d||l.session),ng(e)}function nm(t,e,n){tl(function(){nh(t,e,n+1)},10)}function ng(t){m=void 0;var e=nv.shift();e&&nh(e,t)}var n_={GRANTED:"granted",NOT_GRANTED:"not-granted"},ny={ALLOW:"allow",MASK:"mask",MASK_USER_INPUT:"mask-user-input"},nA={ALL:"all",SAMPLED:"sampled"};function nE(t,e){return null==t||"string"==typeof t||(N.error("".concat(e," must be defined as a string")),!1)}function nb(t,e){return void 0===t||!!(tX(t)&&t>=0&&t<=100)||(N.error("".concat(e," Sample Rate should be a number between 0 and 100")),!1)}function nC(t){var e,n,r,u,i,o,a,s,c,l,d,f,p,v,h,m;if(!t||!t.clientToken)return void N.error("Client Token is not configured, we will not send any data.");if((!(o=t.site)||"string"!=typeof o||/(datadog|ddog|datad0g|dd0g)/.test(o)||(N.error("Site should be a valid Datadog site. ".concat(M," ").concat(O,"/getting_started/site/.")),0))&&nb(t.sessionSampleRate,"Session")&&nb(t.telemetrySampleRate,"Telemetry")&&nb(t.telemetryConfigurationSampleRate,"Telemetry Configuration")&&nb(t.telemetryUsageSampleRate,"Telemetry Usage")&&nE(t.version,"Version")&&nE(t.env,"Env")&&nE(t.service,"Service")){if(void 0!==t.trackingConsent&&!tV(n_,t.trackingConsent))return void N.error('Tracking Consent should be either "granted" or "not-granted"');return Z({beforeSend:t.beforeSend&&P(t.beforeSend,"beforeSend threw an error:"),sessionStoreStrategyType:function(t){switch(t.sessionPersistence){case eL:return ns(t);case eM:return nl();case void 0:var e=ns(t);return!e&&t.allowFallbackToLocalStorage&&(e=nl()),e;default:N.error("Invalid session persistence '".concat(String(t.sessionPersistence),"'"))}}(t),sessionSampleRate:null!=(e=t.sessionSampleRate)?e:100,telemetrySampleRate:null!=(n=t.telemetrySampleRate)?n:20,telemetryConfigurationSampleRate:null!=(r=t.telemetryConfigurationSampleRate)?r:5,telemetryUsageSampleRate:null!=(u=t.telemetryUsageSampleRate)?u:5,service:t.service||void 0,silentMultipleInit:!!t.silentMultipleInit,allowUntrustedEvents:!!t.allowUntrustedEvents,trackingConsent:null!=(i=t.trackingConsent)?i:n_.GRANTED,storeContextsAcrossPages:!!t.storeContextsAcrossPages,batchBytesLimit:16384,eventRateLimiterThreshold:3e3,maxTelemetryEventsPerPage:15,flushTimeout:3e4,batchMessagesLimit:50,messageBytesLimit:262144},(a=t.site||tW,s=t.env,c=t.service,l=t.version,d=t.datacenter,f=[],s&&f.push(eJ("env",s)),c&&f.push(eJ("service",c)),l&&f.pu
1sh(eJ("version",l)),d&&f.push(eJ("datacenter",d)),p=f,v={logsEndpointBuilder:eK(h=t,"logs",m=p),rumEndpointBuilder:eK(h,"rum",m),sessionReplayEndpointBuilder:eK(h,"replay",m)},Z({replica:function(t,e){if(t.replica){var n=Z({},t,{site:tW,clientToken:t.replica.clientToken}),r={logsEndpointBuilder:eK(n,"logs",e),rumEndpointBuilder:eK(n,"rum",e)};return Z({applicationId:t.replica.applicationId},r)}}(t,p),site:a},v)))}}function nw(t){return{session_sample_rate:t.sessionSampleRate,telemetry_sample_rate:t.telemetrySampleRate,telemetry_configuration_sample_rate:t.telemetryConfigurationSampleRate,telemetry_usage_sample_rate:t.telemetryUsageSampleRate,use_before_send:!!t.beforeSend,use_cross_site_session_cookie:t.useCrossSiteSessionCookie,use_partitioned_cross_site_session_cookie:t.usePartitionedCrossSiteSessionCookie,use_secure_session_cookie:t.useSecureSessionCookie,use_proxy:!!t.proxy,silent_multiple_init:t.silentMultipleInit,track_session_across_subdomains:t.trackSessionAcrossSubdomains,session_persistence:t.sessionPersistence,allow_fallback_to_local_storage:!!t.allowFallbackToLocalStorage,store_contexts_across_pages:!!t.storeContextsAcrossPages,allow_untrusted_events:!!t.allowUntrustedEvents,tracking_consent:t.trackingConsent}}function nD(){return window.crypto||window.msCrypto}t.s(["DefaultPrivacyLevel",0,ny,"TraceContextInjection",0,nA,"isSampleRate",0,nb,"serializeConfiguration",0,nw,"validateAndBuildConfiguration",0,nC],867494);function nF(t){return g||(g=tH(a.CONSISTENT_TRACE_SAMPLING)&&function(){try{return crypto.getRandomValues(new BigUint64Array(1)),!0}catch(t){return!1}}()?nS:nB),g(t)}function nS(t){var e=crypto.getRandomValues(new BigUint64Array(1))[0];return 63===t&&(e>>=BigInt("1")),e}function nB(t){var e=nD().getRandomValues(new Uint32Array(2));return 63===t&&(e[e.length-1]>>>=1),{toString:function(t){void 0===t&&(t=10);var n=e[1],r=e[0],u="";do{var i=n%t*0x100000000+r;n=Math.floor(n/t),r=Math.floor(i/t),u=(i%t).toString(t)+u}while(n||r)return u}}}function nk(t){var e=t.toString(16);return Array(17-e.length).join("0")+e}function nx(t){0!==t.status||t.isAborted||(t.traceId=void 0,t.spanId=void 0,t.traceSampled=void 0)}function nT(t,e,n,r){if(void 0!==nD()&&n.findTrackedSession()){var u=J(t.allowedTracingUrls,function(t){return e9([t.match],e.url,!0)});if(u){var i,o,a,s,c,l=nF(64);e.traceSampled=function(t,e){if(100===e)return!0;if(0===e)return!1;if((void 0===t?"undefined":(0,Q._)(t))!=="bigint")return tJ(e);var n=BigInt("1111111111111111111"),r=BigInt("0x10000000000000000");return Number(t*n%r)<=e/100*Number(r)}(l,t.traceSampleRate),(e.traceSampled||t.traceContextInjection===nA.ALL)&&(e.traceId=l,e.spanId=nF(63),r((i=e.traceId,o=e.spanId,a=e.traceSampled,s=u.propagatorTypes,c={},s.forEach(function(t){switch(t){case"datadog":Z(c,{"x-datadog-origin":"rum","x-datadog-parent-id":o.toString(),"x-datadog-sampling-priority":a?"1":"0","x-datadog-trace-id":i.toString()});break;case"tracecontext":Z(c,{traceparent:"00-0000000000000000".concat(nk(i),"-").concat(nk(o),"-0").concat(a?"1":"0")});break;case"b3":Z(c,{b3:"".concat(nk(i),"-").concat(nk(o),"-").concat(a?"1":"0")});break;case"b3multi":Z(c,{"X-B3-TraceId":nk(i),"X-B3-SpanId":nk(o),"X-B3-Sampled":a?"1":"0"})}}),c)))}}}var nR=1;function nI(){var t=nR;return nR+=1,t}function nN(t){return tX(t)&&t<0?void 0:t}function nO(t){var e=t.lifeCycle,n=t.isChildEvent,r=t.onChange,u=void 0===r?th:r,i={errorCount:0,longTaskCount:0,resourceCount:0,actionCount:0,frustrationCount:0},o=e.subscribe(13,function(t){var e;if("view"!==t.type&&"vital"!==t.type&&n(t))switch(t.type){case"error":i.errorCount+=1,u();break;case"action":i.actionCount+=1,t.action.frustration&&(i.frustrationCount+=t.action.frustration.type.length),u();break;case"long_task":i.longTaskCount+=1,u();break;case"resource":(null==(e=t._dd)?void 0:e.discarded)||(i.resourceCount+=1,u())}});return{stop:function(){o.unsubscribe()},eventCounts:i}}function nL(t,e){return new tn(function(n){if(window.PerformanceObserver){var r,u,i,o=function(t){var e=t.filter(function(t){var e;return!((e=t).entryType===_.RESOURCE&&(!e3(e.name)||!eZ(e)))});e.length>0&&n.notify(e)},a=!0,s=new PerformanceObserver(j(function(t){a?u=tl(function(){return o(t.getEntries())}):o(t.getEntries())}));try{s.observe(e)}catch(t){if(W([_.RESOURCE,_.NAVIGATION,_.LONG_TASK,_.PAINT],e.type)){e.buffered&&(u=tl(function(){return o(performance.getEntriesByType(e.type))}));try{s.observe({entryTypes:[e.type]})}catch(t){return}}}return a=!1,r=t,!y&&void 0!==window.performance&&"getEntries"in performance&&"addEventListener"in performance&&(y=ti(r,performance,"resourcetimingbufferfull",function(){performance.clearResourceTimings()})),nM(_.FIRST_INPUT)||e.type!==_.FIRST_INPUT||(i=function(t,e){var n=t0(),r=!1,u=to(t,window,["click","mousedown","keydown","touchstart","pointerdown"],function(e){if(e.cancelable){var n,r,u={entryType:"first-input",processingStart:t2(),processingEnd:t2(),startTime:e.timeStamp,duration:0,name:"",cancelable:!1,target:null,toJSON:function(){return{}}};"pointerdown"===e.type?(n=t,r=u,to(n,window,["pointerup","pointercancel"],function(t){"pointerup"===t.type&&i(r)},{once:!0})):i(u)}},{passive:!0,capture:!0}).stop;return{stop:u};function i(t){if(!r){r=!0,u();var i=t.processingStart-t.startTime;i>=0&&i<t0()-n&&e(t)}}}(t,function(t){o([t])}).stop),function(){s.disconnect(),i&&i(),td(u)}}})}function nM(t){return window.PerformanceObserver&&void 0!==PerformanceObserver.supportedEntryTypes&&PerformanceObserver.supportedEntryTypes.includes(t)}(n=_||(_={})).EVENT="event",n.FIRST_INPUT="first-input",n.LARGEST_CONTENTFUL_PAINT="largest-contentful-paint",n.LAYOUT_SHIFT="layout-shift",n.LONG_TASK="longtask",n.LONG_ANIMATION_FRAME="long-animation-frame",n.NAVIGATION="navigation",n.PAINT="paint",n.RESOURCE="resource";function nP(t,e,n){var r,u=!1,i=tl(j(function(){return c({hadActivity:!1})}),100),o=void 0!==n?tl(j(function(){return c({hadActivity:!0,end:t1()})}),n):void 0,a=t.subscribe(function(t){var e=t.isBusy;td(i),td(r);var n=t1();e||(r=tl(j(function(){return c({hadActivity:!0,end:n})}),100))}),s=function(){u=!0,td(i),td(r),td(o),a.unsubscribe()};function c(t){u||(s(),e(t))}return{stop:s}}function nU(t,e,n,r){return new tn(function(u){var i,o=[],a=0;return o.push(e.subscribe(s),n.subscribe(s),nL(r,{type:_.RESOURCE}).subscribe(function(t){t.some(function(t){return!nz(r,t.name)})&&s()}),t.subscribe(7,function(t){nz(r,t.url)||(void 0===i&&(i=t.requestIndex),a+=1,s())}),t.subscribe(8,function(t){nz(r,t.url)||void 0===i||t.requestIndex<i||(a-=1,s())})),function(){o.forEach(function(t){return t.unsubscribe()})};function s(){u.notify({isBusy:a>0})}})}function nz(t,e){return e9(t.excludedActivityUrls,e)}function nV(t){return window.CSS&&window.CSS.escape?window.CSS.escape(t):t.replace(/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g,function(t,e){return e?"\0"===t?"�":"".concat(t.slice(0,-1),"\\").concat(t.charCodeAt(t.length-1).toString(16)," "):"\\".concat(t)})}function nj(t,e){return t.matches?t.matches(e):!!t.msMatchesSelector&&t.msMatchesSelector(e)}function nq(t){if(t.parentElement)return t.parentElement;for(;t.parentNode;){if(t.parentNode.nodeType===Node.ELEMENT_NODE)return t.parentNode;t=t.parentNode}return null}var nH=function(){function t(t){var e=this;this.map=new WeakMap,t&&t.forEach(function(t){return e.map.set(t,1)})}return t.prototype.add=function(t){return this.map.set(t,1),this},t.prototype.delete=function(t){return this.map.delete(t)},t.prototype.has=function(t){return this.map.has(t)},t}();function nG(t){return t.nodeType===Node.TEXT_NODE}function nW(t){return t.nodeType===Node.ELEMENT_NODE}function nK(t){return nW(t)&&!!t.shadowRoot}function nJ(t){return!!t.host&&t.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&nW(t.host)}function nY(t,e){for(var n=t.firstChild;n;)e(n),n=n.nextSibling;nK(t)&&e(t.shadowRoot)}function nX(t){return nJ(t)?t.host:t.parentNode}var n$={IGNORE:"ignore",HIDDEN:"hidden",ALLOW:ny.ALLOW,MASK:ny.MASK,MASK_USER_INPUT:ny.MASK_USER_INPUT},nZ="data-dd-privacy",nQ="data:image/gif;base64,R0lGODlhAQABAIAAAMLCwgAAACH5BAAAAAAALAAAAAABAAEAAAICRAEAOw==",n0={INPUT:!0,OUTPUT:!0,TEXTAREA:!0,SELECT:!0,OPTION:!0,DATALIST:!0,OPTGROUP:!0};function n1(t,e,n){if(n&&n.has(t))return n.get(t);var r=nX(t),u=r?n1(r,e,n):e,i=n2(n3(t),u);return n&&n.set(t,i),i}function n2(t,e){switch(e){case n$.HIDDEN:case n$.IGNORE:return e}switch(t){case n$.ALLOW:case n$.MASK:case n$.MASK_USER_INPUT:case n$.HIDDEN:case n$.IGNORE:return t;default:return e}}function n3(t){if(nW(t)){if("BASE"===t.tagName)return n$.ALLOW;if("INPUT"===t.tagName){if("password"===t.type||"email"===t.type||"tel"===t.type||"hidden"===t.type)return n$.MASK;var e=t.getAttribute("autocomplete");if(e&&(e.startsWith("cc-")||e.endsWith("-password")))return n$.MASK}if(nj(t,n4(n$.HIDDEN)))return n$.HIDDEN;if(nj(t,n4(n$.MASK)))return n$.MASK;if(nj(t,n4(n$.MASK_USER_INPUT)))return n$.MASK_USER_INPUT;if(nj(t,n4(n$.ALLOW)))return n$.ALLOW;if(function(t){if("SCRIPT"===t.nodeName)return!0;
1if("LINK"===t.nodeName){var e=u("rel");return/preload|prefetch/i.test(e)&&"script"===u("as")||"shortcut icon"===e||"icon"===e}if("META"===t.nodeName){var n=u("name"),e=u("rel"),r=u("property");return/^msapplication-tile(image|color)$/.test(n)||"application-name"===n||"icon"===e||"apple-touch-icon"===e||"shortcut icon"===e||"keywords"===n||"description"===n||/^(og|twitter|fb):/.test(r)||/^(og|twitter):/.test(n)||"pinterest"===n||"robots"===n||"googlebot"===n||"bingbot"===n||t.hasAttribute("http-equiv")||"author"===n||"generator"===n||"framework"===n||"publisher"===n||"progid"===n||/^article:/.test(r)||/^product:/.test(r)||"google-site-verification"===n||"yandex-verification"===n||"csrf-token"===n||"p:domain_verify"===n||"verify-v1"===n||"verification"===n||"shopify-checkout-api-token"===n}function u(e){return(t.getAttribute(e)||"").toLowerCase()}return!1}(t))return n$.IGNORE}}function n5(t,e){switch(e){case n$.MASK:case n$.HIDDEN:case n$.IGNORE:return!0;case n$.MASK_USER_INPUT:return nG(t)?n7(t.parentNode):n7(t);default:return!1}}function n7(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!!n0[t.tagName]}function n6(t,e,n){var r,u=null==(r=t.parentElement)?void 0:r.tagName,i=t.textContent||"";if(!e||i.trim()){if("SCRIPT"===u)i="***";else if(n===n$.HIDDEN)i="***";else if(n5(t,n))if("DATALIST"===u||"SELECT"===u||"OPTGROUP"===u){if(!i.trim())return}else i="OPTION"===u?"***":i.replace(/\S/g,"x");return i}}function n4(t){return"[".concat(nZ,'="').concat(t,'"], .').concat("dd-privacy-").concat(t)}var n9="data-dd-action-name";function n8(t,e){if(void 0===E&&(E="closest"in HTMLElement.prototype),E)n=t.closest("[".concat(e,"]"));else for(var n,r=t;r;){if(r.hasAttribute(e)){n=r;break}r=nq(r)}if(n)return ru(rr(n.getAttribute(e).trim()))}var rt=[function(t,e,n){if(void 0===A&&(A="labels"in HTMLInputElement.prototype),A){if("labels"in t&&t.labels&&t.labels.length>0)return ro(t.labels[0],e)}else if(t.id){var r=t.ownerDocument&&J(t.ownerDocument.querySelectorAll("label"),function(e){return e.htmlFor===t.id});return r&&ro(r,e,n)}},function(t){if("INPUT"===t.nodeName){var e=t.getAttribute("type");if("button"===e||"submit"===e||"reset"===e)return{name:t.value,nameSource:"text_content"}}},function(t,e,n){if("BUTTON"===t.nodeName||"LABEL"===t.nodeName||"button"===t.getAttribute("role"))return ro(t,e,n)},function(t){return ri(t,"aria-label")},function(t,e,n){var r=t.getAttribute("aria-labelledby");if(r)return{name:r.split(/\s+/).map(function(e){var n,r;return n=t,r=e,n.ownerDocument?n.ownerDocument.getElementById(r):null}).filter(function(t){return!!t}).map(function(t){return ra(t,e,n)}).join(" "),nameSource:"text_content"}},function(t){return ri(t,"alt")},function(t){return ri(t,"name")},function(t){return ri(t,"title")},function(t){return ri(t,"placeholder")},function(t,e){if("options"in t&&t.options.length>0)return ro(t.options[0],e)}],re=[function(t,e,n){return ro(t,e,n)}];function rn(t,e,n,r){for(var u=t,i=0;i<=10&&u&&"BODY"!==u.nodeName&&"HTML"!==u.nodeName&&"HEAD"!==u.nodeName;){for(var o=0;o<n.length;o++){var a=(0,n[o])(u,e,r);if(a){var s=a.name,c=a.nameSource,l=s&&s.trim();if(l)return{name:ru(rr(l)),nameSource:c}}}if("FORM"===u.nodeName)break;u=nq(u),i+=1}}function rr(t){return t.replace(/\s+/g," ")}function ru(t){return t.length>100?"".concat(eC(t,100)," [...]"):t}function ri(t,e){return{name:t.getAttribute(e)||"",nameSource:"standard_attribute"}}function ro(t,e,n){return{name:ra(t,e,n)||"",nameSource:"text_content"}}function ra(t,e,n){if(!t.isContentEditable){if("innerText"in t){var r=t.innerText,u=function(e){for(var n=t.querySelectorAll(e),u=0;u<n.length;u+=1){var i=n[u];if("innerText"in i){var o=i.innerText;o&&o.trim().length>0&&(r=r.replace(o,""))}}};return 0===e8()&&u("script, style"),u("[".concat(n9,"]")),e&&u("[".concat(e,"]")),n&&u("".concat(n4(n$.HIDDEN),", ").concat(n4(n$.MASK))),r}return t.textContent}}var rs=[n9,"data-testid","data-test","data-qa","data-cy","data-test-id","data-qa-id","data-testing","data-component","data-element","data-source-file"],rc=[rp,function(t){if(t.id&&!rf(t.id))return"#".concat(nV(t.id))}],rl=[rp,function(t){if("BODY"!==t.tagName)for(var e=function(t){if(t.classList)return t.classList;var e=(t.getAttribute("class")||"").trim();return e?e.split(/\s+/):[]}(t),n=0;n<e.length;n+=1){var r=e[n];if(!rf(r))return"".concat(nV(t.tagName),".").concat(nV(r))}},function(t){return nV(t.tagName)}];function rd(t,e){var n;if("isConnected"in(n=t)?n.isConnected:n.ownerDocument.documentElement.contains(n)){for(var r,u=t;u&&"HTML"!==u.nodeName;){var i=rv(u,rc,rh,e,r);if(i)return i;r=rv(u,rl,rm,e,r)||rg(function(t){for(var e=nq(t).firstElementChild,n=1;e&&e!==t;)e.tagName===t.tagName&&(n+=1),e=e.nextElementSibling;return"".concat(nV(t.tagName),":nth-of-type(").concat(n,")")}(u),r),u=nq(u)}return r}}function rf(t){return/[0-9]/.test(t)}function rp(t,e){if(e){var n=u(e);if(n)return n}for(var r=0;r<rs.length;r++){var n=u(rs[r]);if(n)return n}function u(e){if(t.hasAttribute(e))return"".concat(nV(t.tagName),"[").concat(e,'="').concat(nV(t.getAttribute(e)),'"]')}}function rv(t,e,n,r,u){for(var i=0;i<e.length;i++){var o=(0,e[i])(t,r);if(o&&n(t,o,u))return rg(o,u)}}function rh(t,e,n){return 1===t.ownerDocument.querySelectorAll(rg(e,n)).length}function rm(t,e,n){if(void 0===n)r=function(t){return nj(t,e)};else{var r,u=!function(){if(void 0===b)try{document.querySelector(":scope"),b=!0}catch(t){b=!1}return b}()?rg(e,n):rg("".concat(e,":scope"),n);r=function(t){return null!==t.querySelector(u)}}for(var i=nq(t).firstElementChild;i;){if(i!==t&&r(i))return!1;i=i.nextElementSibling}return!0}function rg(t,e){return e?"".concat(t,">").concat(e):t}function r_(){var t=window.getSelection();return!t||t.isCollapsed}function ry(t){return(0,G._)(t.target,Element)&&!1!==t.isPrimary}function rA(t){return!t.hasPageActivity&&!t.getUserActivity().input&&!t.getUserActivity().scroll&&!nj(t.event.target,'input:not([type="checkbox"]):not([type="radio"]):not([type="button"]):not([type="submit"]):not([type="reset"]):not([type="range"]),textarea,select,[contenteditable],[contenteditable] *,canvas,a[href],a[href] *')}var rE=new Map;
1function rb(t,e){rE.set(t,e),rE.forEach(function(t,e){t2()-e>1e4&&rE.delete(e)})}var rC=3e5;function rw(t,e){var n=rD(t)?{action:{id:t.id,loading_time:nN(tQ(t.duration)),frustration:{type:t.frustrationTypes},error:{count:t.counts.errorCount},long_task:{count:t.counts.longTaskCount},resource:{count:t.counts.resourceCount}},_dd:{action:{target:t.target,position:t.position,name_source:tH(a.ACTION_NAME_MASKING)?t.nameSource:void 0}}}:void 0,r=rD(t)?void 0:t.context,u=t8({action:{id:eA(),target:{name:t.name},type:t.type},date:t.startClocks.timeStamp,type:"action",view:{in_foreground:e.wasInPageStateAt("active",t.startClocks.relative)}},n),i=rD(t)?{events:t.events}:{};return!rD(t)&&t.handlingStack&&(i.handlingStack=t.handlingStack),{customerContext:r,rawRumEvent:u,startTime:t.startClocks.relative,domainContext:i}}function rD(t){return"custom"!==t.type}var rF={},rS="csp_violation";function rB(t){return Z({startClocks:t3(),source:"report",handling:"unhandled"},t)}function rk(t,e,n,r,u){return n?tI({name:t,message:e,stack:[{func:"?",url:n,line:null!=r?r:void 0,column:null!=u?u:void 0}]}):void 0}function rx(t,e){if(window.requestIdleCallback&&window.cancelIdleCallback){var n,r,u,i=window.requestIdleCallback(j(t),e);return function(){return window.cancelIdleCallback(i)}}return n=t,r=t0(),u=tl(function(){n({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(t0()-r))}})},0),function(){return td(u)}}var rT=new nH;function rR(t){return t.startTime+t.duration}function rI(t,e,n){return document.readyState===e||"complete"===document.readyState?(n(),{stop:th}):ti(t,window,"complete"===e?"load":"DOMContentLoaded",n,{once:!0})}var rN=12e4;function rO(t,e){var n=e&&Number(e);if(t&&n)return{traceId:t,traceTime:n}}function rL(t){if(t&&t.nodeType===Node.COMMENT_NODE){var e=/^\s*DATADOG;(.*?)\s*$/.exec(t.data);if(e)return e[1]}}function rM(){if(nM(_.NAVIGATION)){var t=performance.getEntriesByType(_.NAVIGATION)[0];if(t)return t}var e=function(){var t={},e=performance.timing;for(var n in e)if(tX(e[n])){var r=e[n];t[n]=0===r?0:r-t7()}return t}(),n=Z({entryType:_.NAVIGATION,initiatorType:"navigation",name:window.location.href,startTime:0,duration:e.responseEnd,decodedBodySize:0,encodedBodySize:0,transferSize:0,workerStart:0,toJSON:function(){return Z({},n,{toJSON:void 0})}},e);return n}function rP(t,e){rI(t,"interactive",function(){var t=Z(rM().toJSON(),{entryType:_.RESOURCE,initiatorType:eY,traceId:function(t){var e,n,r,u=(n=(e=t).querySelector("meta[name=dd-trace-id]"),r=e.querySelector("meta[name=dd-trace-time]"),rO(n&&n.content,r&&r.content)||function(t){var e=function(t){for(var e=0;e<t.childNodes.length;e+=1){var n=rL(t.childNodes[e]);if(n)return n}if(t.body)for(var e=t.body.childNodes.length-1;e>=0;e-=1){var r=t.body.childNodes[e],n=rL(r);if(n)return n;if(!nG(r))break}}(t);if(e)return rO(eb(e,"trace-id"),eb(e,"trace-time"))}(t));if(!(!u||u.traceTime<=t0()-rN))return u.traceId}(document),toJSON:function(){return Z({},t,{toJSON:void 0})}});e(t)})}function rU(t,e){var n=tZ(t.startTime),r=function(t,e){if(t.traceId)return{_dd:{trace_id:t.traceId,span_id:nF(63).toString(),rule_psr:e.rulePsr}}}(t,e);if(e.trackResources||r){var u,i=function(t){var e,n=t.name;if(!function(t){try{return!!eV(t)}catch(t){return!1}}(n))return ec('Failed to construct URL for "'.concat(t.name,'"')),"other";for(var r="/"===(e=eV(n).pathname)[0]?e:"/".concat(e),u=0;u<eX.length;u++){var i=eX[u],o=i[0];if((0,i[1])(t.initiatorType,r))return o}return"other"}(t),o=rz(t),a=t8({date:n.timeStamp,resource:{id:eA(),type:i,url:t.name,status_code:0===(u=t.responseStatus)?void 0:u,protocol:e1(t),delivery_type:e2(t)},type:"resource",_dd:{discarded:!e.trackResources}},r,o);return{startTime:n.relative,rawRumEvent:a,domainContext:{performanceEntry:t}}}}function rz(t){var e,n,r,u,i=t.renderBlockingStatus;return{resource:Z({duration:(n=(e=t).duration,r=e.startTime,u=e.responseEnd,0===n&&r<u?tQ(u-r):tQ(n)),render_blocking_status:i},function(t){if(t.startTime<t.responseStart){var e=t.encodedBodySize,n=t.decodedBodySize;return{size:n,encoded_body_size:e,decoded_body_size:n,transfer_size:t.transferSize}}return{size:void 0,encoded_body_size:void 0,decoded_body_size:void 0,transfer_size:void 0}}(t),function(t){if(eQ(t)){var e=t.startTime,n=t.fetchStart,r=t.workerStart,u=t.redirectStart,i=t.redirectEnd,o=t.domainLookupStart,a=t.domainLookupEnd,s=t.connectStart,c=t.secureConnectionStart,l=t.connectEnd,d=t.requestStart,f=t.responseStart,p={download:e0(e,f,t.responseEnd),first_byte:e0(e,d,f)};return 0<r&&r<n&&(p.worker=e0(e,r,n)),n<l&&(p.connect=e0(e,s,l),s<=c&&
1c<=l&&(p.ssl=e0(e,c,l))),n<a&&(p.dns=e0(e,o,a)),e<i&&(p.redirect=e0(e,u,i)),p}}(t))}}function rV(t){var e={},n=new tn,r={getContext:function(){return t9(e)},setContext:function(u){"object"===t6(u)?(e=t_(u),null==t||t.updateCustomerData(e)):r.clearContext(),n.notify()},setContextProperty:function(r,u){e[r]=t_(u),null==t||t.updateCustomerData(e),n.notify()},removeContextProperty:function(r){delete e[r],null==t||t.updateCustomerData(e),n.notify()},clearContext:function(){e={},null==t||t.resetCustomerData(),n.notify()},changeObservable:n};return r}var rj=6e5,rq=6e5;function rH(t,e){var n,r;return void 0===e&&(e=window),"hidden"===document.visibilityState?n=0:(n=1/0,r=to(t,e,["pagehide","visibilitychange"],function(t){("pagehide"===t.type||"hidden"===document.visibilityState)&&(n=t.timeStamp,r())},{capture:!0}).stop),{get timeStamp(){return n},stop:function(){null==r||r()}}}var rG=0,rW=1/0,rK=0,rJ=function(){return C?rG:window.performance.interactionCount||0},rY=6e4;function rX(){var t=window.visualViewport;return Math.round(t?t.pageLeft-t.offsetLeft:void 0!==window.scrollX?window.scrollX:window.pageXOffset||0)}function r$(){var t=window.visualViewport;return Math.round(t?t.pageTop-t.offsetTop:void 0!==window.scrollY?window.scrollY:window.pageYOffset||0)}function rZ(t){var e;return w||(e=t,w=new tn(function(t){return ti(e,window,"resize",tv(function(){t.notify(rQ())},200).throttled,{capture:!0,passive:!0}).stop})),w}function rQ(){var t=window.visualViewport;return t?{width:Number(t.width*t.scale),height:Number(t.height*t.scale)}:{width:Number(window.innerWidth||0),height:Number(window.innerHeight||0)}}var r0=3e5,r1=3e5;function r2(t){var e=t.indexOf("?");return e<0?t:t.slice(0,e)}var r3=[];function r5(t){return"2"===t||"1"===t}function r7(t){var e=t.encoder,n=t.request,r=t.flushController,u=t.messageBytesLimit,i={},o=r.flushObservable.subscribe(function(t){return function(t){var r,u=Y(i).join("\n");i={};var o=(r=t.reason,W(Y(ta),r)),a=o?n.sendOnExit:n.send;if(o&&e.isAsync){var s=e.finishSync();s.outputBytesCount&&a(r6(s));var c=[s.pendingData,u].filter(Boolean).join("\n");c&&a({data:c,bytesCount:tc(c)})}else u&&e.write(e.isEmpty?u:"\n".concat(u)),e.finish(function(t){a(r6(t))})}(t)});function a(t,n){var o,a,s=tm(t),c=e.estimateEncodedBytesCount(s);c>=u?N.warn("Discarded a message whose size was bigger than the maximum allowed size ".concat(u,"KB. ").concat(M," ").concat(L,"/#technical-limitations")):(void 0!==n&&void 0!==i[n]&&(o=i[n],delete i[n],a=e.estimateEncodedBytesCount(o),r.notifyAfterRemoveMessage(a)),r.notifyBeforeAddMessage(c),void 0!==n?(i[n]=s,r.notifyAfterAddMessage()):e.write(e.isEmpty?s:"\n".concat(s),function(t){r.notifyAfterAddMessage(t-c)}))}return{flushController:r,add:a,upsert:a,stop:o.unsubscribe}}function r6(t){return{data:"string"==typeof t.output?t.output:new Blob([t.output],{type:"text/plain"}),bytesCount:t.outputBytesCount,encoding:t.encoding}}var r4=3145728;function r9(t,e,n,r,u){0===e.transportStatus&&0===e.queuedPayloads.size()&&e.bandwidthMonitor.canHandle(t)?r8(t,e,n,{onSuccess:function(){return ut(0,e,n,r,u)},onFailure:function(){e.queuedPayloads.enqueue(t),function t(e,n,r,u){2===e.transportStatus&&tl(function(){r8(e.queuedPayloads.first(),e,n,{onSuccess:function(){e.queuedPayloads.dequeue(),e.currentBackoffTime=1e3,ut(1,e,n,r,u)},onFailure:function(){e.currentBackoffTime=Math.min(6e4,2*e.currentBackoffTime),t(e,n,r,u)}})},e.currentBackoffTime)}(e,n,r,u)}}):e.queuedPayloads.enqueue(t)}function r8(t,e,n,r){var u=r.onSuccess,i=r.onFailure;e.bandwidthMonitor.add(t),n(t,function(n){var r;e.bandwidthMonitor.remove(t),"opaque"!==(r=n).type&&(0===r.status&&!navigator.onLine||408===r.status||429===r.status||r.status>=500)?(e.transportStatus=e.bandwidthMonitor.ongoingRequestCount>0?1:2,t.retry={count:t.retry?t.retry.count+1:1,lastFailureStatus:n.status},i()):(e.transportStatus=0,u())})}function ut(t,e,n,r,u){0===t&&e.queuedPayloads.isFull()&&!e.queueFullReported&&(u({message:"Reached max ".concat(r," events size queued for upload: ").concat(r4/1048576,"MiB"),source:e_,startClocks:t3()}),e.queueFullReported=!0);var i=e.queuedPayloads;for(e.queuedPayloads=ue();i.size()>0;)r9(i.dequeue(),e,n,r,u)}function ue(){var t=[];return{bytesCount:0,enqueue:function(e){this.isFull()||(t.push(e),this.bytesCount+=e.bytesCount)},first:function(){return t[0]},dequeue:function(){var e=t.shift();return e&&(this.bytesCount-=e.bytesCount),e},size:function(){return t.length},isFull:function(){return this.bytesCount>=r4}}}function un(t,e,n){var r={transportStatus:0,currentBackoffTime:1e3,bandwidthMonitor:{ongoingRequestCount:0,ongoingByteCount:0,canHandle:function(t){return 0===this.ongoingRequestCount||this.ongoingByteCount+t.bytesCount<=81920&&this.ongoingRequestCount<32},add:function(t){this.ongoingRequestCount+=1,this.ongoingByteCount+=t.bytesCount},remove:function(t){this.ongoingRequestCount-=1,this.ongoingByteCount-=t.bytesCount}},queuedPayloads:ue(),queueFullReported:!1},u=function(n,r){var u,i,o,a;return u=t,i=e,o=n,a=r,void(function(){try{return window.Request&&"keepalive"in new Request
1("http://a")}catch(t){return!1}}()&&o.bytesCount<i?fetch(u.build("fetch",o),{method:"POST",body:o.data,keepalive:!0,mode:"cors"}).then(j(function(t){return null==a?void 0:a({status:t.status,type:t.type})}),j(function(){uu(u.build("xhr",o),o.data,a)})):uu(u.build("xhr",o),o.data,a))};return{send:function(e){r9(e,r,u,t.trackType,n)},sendOnExit:function(n){!function(t,e,n){if(navigator.sendBeacon&&n.bytesCount<e)try{var r,u=t.build("beacon",n);if(navigator.sendBeacon(u,n.data))return}catch(t){r=t,ur||(ur=!0,el(r))}uu(t.build("xhr",n),n.data)}(t,e,n)}}}var ur=!1;function uu(t,e,n){var r=new XMLHttpRequest;r.open("POST",t,!0),(0,G._)(e,Blob)&&r.setRequestHeader("Content-Type",e.type),ti({allowUntrustedEvents:!0},r,"loadend",function(){null==n||n({status:r.status})},{once:!0}),r.send(e)}function ui(t){return Object.prototype.hasOwnProperty.call(history,t)?history:History.prototype}function uo(){0!==D.batchCount&&(ec("Customer data measures",D),ul())}function ua(){return{min:1/0,max:0,sum:0}}function us(t,e){t.sum+=e,t.min=Math.min(t.min,e),t.max=Math.max(t.max,e)}function uc(t,e){t.sum+=e.sum,t.min=Math.min(t.min,e.min),t.max=Math.max(t.max,e.max)}function ul(){D={batchCount:0,batchBytesCount:ua(),batchMessagesCount:ua(),globalContextBytes:ua(),userContextBytes:ua(),featureFlagBytes:ua()}}function ud(){S=!1,F={globalContextBytes:ua(),userContextBytes:ua(),featureFlagBytes:ua()}}function uf(){return"hidden"===document.visibilityState?"hidden":document.hasFocus()?"active":"passive"}function up(t,e,n){var r=t.vitalsByName,u=t.vitalsByReference;void 0===n&&(n={});var i={name:e,startClocks:t3(),context:n.context,description:n.description},o={__dd_vital_reference:!0};return r.set(e,i),u.set(o,i),o}function uv(t,e,n,r){var u,i,o,a,s,c,l=e.vitalsByName,d=e.vitalsByReference;void 0===r&&(r={});var f="string"==typeof n?l.get(n):d.get(n);f&&(t((u=f,i=f.startClocks,o=r,a=t3(),{name:u.name,type:"duration",startClocks:i,duration:(c=i.timeStamp,a.timeStamp-c),context:t8(u.context,o.context),description:null!=(s=o.description)?s:u.description})),"string"==typeof n?l.delete(n):d.delete(n))}function uh(t,e){var n=eb(document.cookie,t),r=tf(function(){var r=eb(document.cookie,t);r!==n&&e(r)},1e3);return function(){tp(r)}}var um="datadog-ci-visibility-test-execution-id";function ug(){var t="",e=0;return{isAsync:!1,get isEmpty(){return!t},write:function(n,r){var u=tc(n);e+=u,t+=n,r&&r(u)},finish:function(t){t(this.finishSync())},finishSync:function(){var n={output:t,outputBytesCount:e,rawBytesCount:e,pendingData:""};return t="",e=0,n},estimateEncodedBytesCount:function(t){return t.length}}}function u_(t){var e=0,n=tv(function(n){e=tc(tm(n)),t()},200),r=n.throttled,u=n.cancel,i=function(){u(),e=0};return{updateCustomerData:function(t){tj(t)?i():r(t)},resetCustomerData:i,getBytesCount:function(){return e},stop:function(){u()}}}var uy=[];
1function uA(t,e,n,r){var u,i,o=(u=n,i=r,"".concat("_dd_c","_").concat(u,"_").concat(i));function a(){var t=localStorage.getItem(o);return null!==t?JSON.parse(t):{}}uy.push(ti(t,window,"storage",function(t){o===t.key&&e.setContext(a())})),e.changeObservable.subscribe(function(){localStorage.setItem(o,JSON.stringify(e.getContext()))}),e.setContext(t8(a(),e.getContext()))}function uE(t,e){e.silentMultipleInit||N.error("".concat(t," is already initialized."))}var ub=["tracecontext","datadog"];function uC(){N.error("Error fetching the remote configuration.")}function uw(t){var e;return B||(B=new Map),B.has(t)?e=B.get(t):(e={records_count:0,segments_count:0,segments_total_raw_size:0},B.set(t,e),B.size>10&&function(){if(B)if(B.keys){var t=B.keys().next().value;t&&B.delete(t)}else{var e=!0;B.forEach(function(t,n){e&&(B.delete(n),e=!1)})}}()),e}var uD=new WeakMap;function uF(t){return uD.has(t)}function uS(t){return uD.get(t)}function uB(t,e){var n=t.tagName,r=t.value;if(n5(t,e)){var u=t.type;if("INPUT"===n&&("button"===u||"submit"===u||"reset"===u))return r;if(!r||"OPTION"===n)return;return"***"}return"OPTION"===n||"SELECT"===n?t.value:"INPUT"===n||"TEXTAREA"===n?r:void 0}var uk=/url\((?:(')([^']*)'|(")([^"]*)"|([^)]*))\)/gm,ux=/^[A-Za-z]+:|^\/\//,uT=/^data:.*,/i,uR=/[^a-z1-6-_]/;function uI(t){var e=t.toLowerCase().trim();return uR.test(e)?"div":e}function uN(t,e){return"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='".concat(t,"' height='").concat(e,"' style='background-color:silver'%3E%3C/svg%3E")}function uO(t){if(void 0!==t&&0!==t.length)return t.map(function(t){return{cssRules:Array.from(t.cssRules||t.rules,function(t){return t.cssText}),disabled:t.disabled||void 0,media:t.media.length>0?Array.from(t.media):void 0}})}function uL(t,e,n,r){if(e===n$.HIDDEN)return null;var u=t.getAttribute(n);if(e===n$.MASK&&n!==nZ&&!rs.includes(n)&&n!==r.actionNameAttribute){var i=t.tagName;switch(n){case"title":case"alt":case"placeholder":return"***"}if("IMG"===i&&("src"===n||"srcset"===n)){if(t.naturalWidth>0)return uN(t.naturalWidth,t.naturalHeight);var o=t.getBoundingClientRect(),a=o.width,s=o.height;return a>0||s>0?uN(a,s):nQ}if("SOURCE"===i&&("src"===n||"srcset"===n))return nQ;if("A"===i&&"href"===n||u&&$(n,"data-")||"IFRAME"===i&&"srcdoc"===n)return"***"}return u&&"string"==typeof u&&e7(u)?e6(u):u}function uM(t){var e,n,r;if(!t)return null;try{e=t.rules||t.cssRules}catch(t){}return e?(n=Array.from(e,2===e8()?uP:uU).join(""),r=t.href,n.replace(uk,function(t,e,n,u,i,o){var a=n||i||o;if(!r||!a||ux.test(a)||uT.test(a))return t;var s=e||u||"";return"url(".concat(s).concat(function(t,e){try{return eV(t,e).href}catch(e){return t}}(a,r)).concat(s,")")})):null}function uP(t){return"selectorText"in t&&t.selectorText.includes(":")?t.cssText.replace(/(\[[\w-]+[^\\])(:[^\]]+\])/g,"$1\\$2"):uU(t)}function uU(t){return"styleSheet"in t&&uM(t.styleSheet)||t.cssText}function uz(t,e){var n=function(t,e){switch(t.nodeType){case t.DOCUMENT_NODE:return{type:0,childNodes:uj(n=t,e),adoptedStyleSheets:uO(n.adoptedStyleSheets)};case t.DOCUMENT_FRAGMENT_NODE:return r=t,u=e,(i=nJ(r))&&u.serializationContext.shadowRootsController.addShadowRoot(r),{type:11,childNodes:uj(r,u),isShadowRoot:i,adoptedStyleSheets:i?uO(r.adoptedStyleSheets):void 0};case t.DOCUMENT_TYPE_NODE:return{type:1,name:(o=t).name,publicId:o.publicId,systemId:o.systemId};case t.ELEMENT_NODE:return function(t,e){var n,r,u=uI(t.tagName),i="svg"===(n=t).tagName||(0,G._)(n,SVGElement)||void 0,o=n2(n3(t),e.parentNodePrivacyLevel);if(o===n$.HIDDEN){var a=t.getBoundingClientRect(),s=a.width,c=a.height;return{type:2,tagName:u,attributes:((r={rr_width:"".concat(s,"px"),rr_height:"".concat(c,"px")})[nZ]="hidden",r),childNodes:[],isSVG:i}}if(o!==n$.IGNORE){var l=function(t,e,n){if(e===n$.HIDDEN)return{};for(var r,u,i,o={},a=uI(t.tagName),s=t.ownerDocument,c=0;c<t.attributes.length;c+=1){var l=t.attributes.item(c).name,d=uL(t,e,l,n.configuration);null!==d&&(o[l]=d)}if(t.value&&("textarea"===a||"select"===a||"option"===a||"input"===a)){var f=uB(t,e);void 0!==f&&(o.value=f)}if("option"===a&&e===n$.ALLOW&&t.selected&&(o.selected=t.selected),"link"===a){var p=Array.from(s.styleSheets).find(function(e){return e.href===t.href}),v=uM(p);v&&p&&(o._cssText=v)}if("style"===a&&t.sheet){var v=uM(t.sheet);v&&(o._cssText=v)}"input"===a&&("radio"===t.type||"checkbox"===t.type)&&(e===n$.ALLOW?o.checked=!!t.checked:n5(t,e)&&delete o.checked),("audio"===a||"video"===a)&&(o.rr_mediaState=t.paused?"paused":"played");var h=n.serializationContext;switch(h.status){case 0:u=Math.round(t.scrollTop),i=Math.round(t.scrollLeft),(u||i)&&h.elementsScrollPositions.set(t,{scrollTop:u,scrollLeft:i});break;case 1:h.elementsScrollPositions.has(t)&&(u=(r=h.elementsScrollPositions.get(t)).scrollTop,i=r.scrollLeft)}return i&&(o.rr_scrollLeft=i),u&&(o.rr_scrollTop=u),o}(t,o,e),d=[];(t.childNodes.length>0||nK(t))&&"style"!==u&&(d=uj(t,e.parentNodePrivacyLevel===o&&e.ignoreWhiteSpace===("head"===u)?e:Z({},e,{parentNodePrivacyLevel:o,ignoreWhiteSpace:"head"===u})));return{type:2,tagName:u,attributes:l,childNodes:d,isSVG:i}}}(t,e);case t.TEXT_NODE:var n,r,u,i,o,a=t,s=e,c=n6(a,s.ignoreWhiteSpace||!1,s.parentNodePrivacyLevel);if(void 0!==c)return{type:3,textContent:c};return;case t.CDATA_SECTION_NODE:return{type:4,textContent:""}}}(t,e);if(!n)return null;var r=uS(t)||uV++;return n.id=r,uD.set(t,r),e.serializedNodeIds&&e.serializedNodeIds.add(r),n}var uV=1;function uj(t,e){var n=[];return nY(t,function(t){var r=uz(t,e);r&&n.push(r)}),n}function uq(t){return!!t.changedTouches}function uH(t){return!0===t.composed&&nK(t.target)?t.composedPath()[0]:t.target}
1var uG=function(t,e){var n=window.visualViewport,r={layoutViewportX:t,layoutViewportY:e,visualViewportX:t,visualViewportY:e};return n&&(Math.abs(n.pageTop-n.offsetTop-window.scrollY)>25||Math.abs(n.pageLeft-n.offsetLeft-window.scrollX)>25?(r.layoutViewportX=Math.round(t+n.offsetLeft),r.layoutViewportY=Math.round(e+n.offsetTop)):(r.visualViewportX=Math.round(t-n.offsetLeft),r.visualViewportY=Math.round(e-n.offsetTop))),r},uW=function(t){return{scale:t.scale,offsetLeft:t.offsetLeft,offsetTop:t.offsetTop,pageLeft:t.pageLeft,pageTop:t.pageTop,height:t.height,width:t.width}};function uK(t,e){return{data:Z({source:t},e),type:3,timestamp:t1()}}function uJ(t){var e=uq(t)?t.changedTouches[0]:t,n=e.clientX,r=e.clientY;if(window.visualViewport){var u=uG(n,r),i=u.visualViewportX,o=u.visualViewportY;n=i,r=o}if(!Number.isFinite(n)||!Number.isFinite(r)){t.isTrusted&&ec("mouse/touch event without x/y");return}return{x:n,y:r}}var uY=((k={}).pointerup=0,k.mousedown=1,k.click=2,k.contextmenu=3,k.dblclick=4,k.focus=5,k.blur=6,k.touchstart=7,k.touchend=9,k);function uX(t,e,n,r){void 0===r&&(r=document);var u=tv(function(r){var u=uH(r);if(u&&n1(u,t.defaultPrivacyLevel)!==n$.HIDDEN&&uF(u)){var i=uS(u),o=u===document?{scrollTop:r$(),scrollLeft:rX()}:{scrollTop:Math.round(u.scrollTop),scrollLeft:Math.round(u.scrollLeft)};n.set(u,o),e(uK(3,{id:i,x:o.scrollLeft,y:o.scrollTop}))}},100),i=u.throttled,o=u.cancel,a=ti(t,r,"scroll",i,{capture:!0,passive:!0}).stop;return{stop:function(){a(),o()}}}function u$(t){for(var e=[],n=t;n.parentRule;){var r=Array.from(n.parentRule.cssRules).indexOf(n);e.unshift(r),n=n.parentRule}if(n.parentStyleSheet){var u=Array.from(n.parentStyleSheet.cssRules).indexOf(n);return e.unshift(u),e}}function uZ(t,e,n){void 0===n&&(n=document);var r,u=t.defaultPrivacyLevel,i=new WeakMap,o=n!==document,a=to(t,n,o?["change"]:["input","change"],function(t){var e=uH(t);((0,G._)(e,HTMLInputElement)||(0,G._)(e,HTMLTextAreaElement)||(0,G._)(e,HTMLSelectElement))&&c(e)},{capture:!0,passive:!0}).stop;if(o)r=th;else{var s=[eg(HTMLInputElement.prototype,"value",c),eg(HTMLInputElement.prototype,"checked",c),eg(HTMLSelectElement.prototype,"value",c),eg(HTMLTextAreaElement.prototype,"value",c),eg(HTMLSelectElement.prototype,"selectedIndex",c)];r=function(){s.forEach(function(t){return t.stop()})}}return{stop:function(){r(),a()}};function c(t){var e,n=n1(t,u);if(n!==n$.HIDDEN){var r,i=t.type;if("radio"===i||"checkbox"===i){if(n5(t,n))return;e={isChecked:t.checked}}else{var o=uB(t,n);if(void 0===o)return;e={text:o}}l(t,e);var a=t.name;"radio"===i&&a&&t.checked&&(r=document.querySelectorAll('input[type="radio"][name="'.concat(nV(a),'"]')),Array.prototype.forEach.call(r,function(e){e!==t&&l(e,{isChecked:!1})}))}}function l(t,n){if(uF(t)){var r=i.get(t);r&&r.text===n.text&&r.isChecked===n.isChecked||(i.set(t,n),e(uK(5,Z({id:uS(t)},n))))}}}function uQ(t,e,n,r){var u=eh();if(!u)return{stop:th,flush:th};var i=function(t){var e=th,n=[];function r(){e(),t(n),n=[]}var u=tv(r,16,{leading:!1}),i=u.throttled,o=u.cancel;return{addMutations:function(t){0===n.length&&(e=rx(i,{timeout:100})),n.push.apply(n,t)},flush:r,stop:function(){e(),o()}}}(function(r){var u,i,a,s,c,l,d,f,p,v,h,m;u=r.concat(o.takeRecords()),i=t,a=e,s=n,c=new Map,u.filter(function(t){return"childList"===t.type}).forEach(function(t){t.removedNodes.forEach(function(t){!function t(e,n){nK(e)&&n(e.shadowRoot),nY(e,function(e){return t(e,n)})}(t,s.removeShadowRoot)})}),f=(d=function(t,e,n,r){for(var u=new Set,i=new Map,o=function(t){t.addedNodes.forEach(function(t){u.add(t)}),t.removedNodes.forEach(function(e){u.has(e)||i.set(e,t.target),u.delete(e)})},a=0;a<t.length;a++)o(t[a]);var s=Array.from(u);s.sort(function(t,e){var n=t.compareDocumentPosition(e);return n&Node.DOCUMENT_POSITION_CONTAINED_BY?-1:n&Node.DOCUMENT_POSITION_CONTAINS?1:n&Node.DOCUMENT_POSITION_FOLLOWING?1:n&Node.DOCUMENT_POSITION_PRECEDING?-1:0});for(var c=new Set,l=[],d=0;d<s.length;d++){var f=s[d];if(!g(f)){var p=n1(f.parentNode,e.defaultPrivacyLevel,r);if(p!==n$.HIDDEN&&p!==n$.IGNORE){var v=uz(f,{serializedNodeIds:c,parentNodePrivacyLevel:p,serializationContext:{status:2,shadowRootsController:n},configuration:e});if(v){var h=nX(f);l.push({nextId:function(t){for(var e=t.nextSibling;e;){if(uF(e))return uS(e);e=e.nextSibling}return null}(f),parentId:uS(h),node:v})}}}}var m=[];
1return i.forEach(function(t,e){uF(e)&&m.push({parentId:uS(t),id:uS(e)})}),{adds:l,removes:m,hasBeenSerialized:g};function g(t){return uF(t)&&c.has(uS(t))}}((l=u.filter(function(t){return t.target.isConnected&&function(t){for(var e=t;e;){if(!uF(e)&&!nJ(e))return!1;e=nX(e)}return!0}(t.target)&&n1(t.target,a.defaultPrivacyLevel,c)!==n$.HIDDEN})).filter(function(t){return"childList"===t.type}),a,s,c)).adds,p=d.removes,v=d.hasBeenSerialized,h=function(t,e,n){for(var r,u=[],i=new Set,o=t.filter(function(t){return!i.has(t.target)&&(i.add(t.target),!0)}),a=0;a<o.length;a++){var s=o[a];if(s.target.textContent!==s.oldValue){var c=n1(nX(s.target),e.defaultPrivacyLevel,n);c!==n$.HIDDEN&&c!==n$.IGNORE&&u.push({id:uS(s.target),value:null!=(r=n6(s.target,!1,c))?r:null})}}return u}(l.filter(function(t){return"characterData"===t.type&&!v(t.target)}),a,c),m=function(t,e,n){for(var r=[],u=new Map,i=t.filter(function(t){var e=u.get(t.target);return!(e&&e.has(t.attributeName))&&(e?e.add(t.attributeName):u.set(t.target,new Set([t.attributeName])),!0)}),o=new Map,a=0;a<i.length;a++){var s=i[a];if(s.target.getAttribute(s.attributeName)!==s.oldValue){var c=n1(s.target,e.defaultPrivacyLevel,n),l=uL(s.target,c,s.attributeName,e),d=void 0;if("value"===s.attributeName){var f=uB(s.target,c);if(void 0===f)continue;d=f}else d="string"==typeof l?l:null;var p=o.get(s.target);p||(p={id:uS(s.target),attributes:{}},r.push(p),o.set(s.target,p)),p.attributes[s.attributeName]=d}}return r}(l.filter(function(t){return"attributes"===t.type&&!v(t.target)}),a,c),(h.length||m.length||p.length||f.length)&&i(uK(0,{adds:f,removes:p,texts:h,attributes:m}))}),o=new u(j(i.addMutations));return o.observe(r,{attributeOldValue:!0,attributes:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0}),{stop:function(){o.disconnect(),i.stop()},flush:function(){i.flush()}}}var u0=function(t,e,n){var r=new Map,u={addShadowRoot:function(i){if(!r.has(i)){var o=uQ(e,t,u,i),a=uZ(t,e,i),s=uX(t,e,n,i);r.set(i,{flush:function(){return o.flush()},stop:function(){o.stop(),a.stop(),s.stop()}})}},removeShadowRoot:function(t){var e=r.get(t);e&&(e.stop(),r.delete(t))},stop:function(){r.forEach(function(t){return(0,t.stop)()})},flush:function(){r.forEach(function(t){return(0,t.flush)()})}};return u};function u1(t,e,n){var r,u=0,i=[],o=0,a=[],s=ti(t,e,"message",function(t){var e=t.data;if("wrote"===e.type&&e.streamId===n){u+=e.additionalBytesCount,i.push(e.result),r=e.trailer;var o=a.shift();o&&o.id===e.id?o.writeCallback?o.writeCallback(e.result.byteLength):o.finishCallback&&o.finishCallback():(s(),ec("Worker responses received out of order."))}}).stop;function c(){var t=0===i.length?new Uint8Array(0):function(t){for(var e=new Uint8Array(t.reduce(function(t,e){return t+e.length},0)),n=0,r=0;r<t.length;r++){var u=t[r];e.set(u,n),n+=u.length}return e}(i.concat(r)),e={rawBytesCount:u,output:t,outputBytesCount:t.byteLength,encoding:"deflate"};return u=0,i=[],e}function l(){o>0&&(e.postMessage({action:"reset",streamId:n}),o=0)}return{isAsync:!0,get isEmpty(){return 0===o},write:function(t,r){e.postMessage({action:"write",id:o,data:t,streamId:n}),a.push({id:o,writeCallback:r,data:t}),o+=1},finish:function(t){l(),a.length?(a.forEach(function(t){delete t.writeCallback}),a[a.length-1].finishCallback=function(){return t(c())}):t(c())},finishSync:function(){l();var t=a.map(function(t){return delete t.writeCallback,delete t.finishCallback,t.data}).join("");return Z(c(),{pendingData:t})},estimateEncodedBytesCount:function(t){return t.length/8},stop:function(){s()}}}function u2(t){return new Worker(t.workerUrl||URL.createObjectURL(new Blob(['!function(){"use strict";function t(t){for(var e=t.reduce((function(t,e){return t+e.length}),0),a=new Uint8Array(e),n=0,r=0,i=t;r<i.length;r++){var s=i[r];a.set(s,n),n+=s.length}return a}function e(t){for(var e=t.length;--e>=0;)t[e]=0}var a=256,n=286,r=30,i=15,s=new Uint8Array([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0]),h=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]),l=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7]),_=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),o=new Array(576);e(o);var d=new Array(60);e(d);var u=new Array(512);e(u);var f=new Array(256);e(f);var c=new Array(29);e(c);var p,g,w,v=new Array(r);function b(t,e,a,n,r){this.static_tree=t,this.extra_bits=e,this.extra_base=a,this.elems=n,this.max_length=r,this.has_stree=t&&t.length}function m(t,e){this.dyn_tree=t,this.max_code=0,this.stat_desc=e}e(v);var y=function(t){return t<256?u[t]:u[256+(t>>
vendor: 4,441 bytes, line 1
1>7)]},k=function(t,e){t.pending_buf[t.pending++]=255&e,t.pending_buf[t.pending++]=e>>>8&255},z=function(t,e,a){t.bi_valid>16-a?(t.bi_buf|=e<<t.bi_valid&65535,k(t,t.bi_buf),t.bi_buf=e>>16-t.bi_valid,t.bi_valid+=a-16):(t.bi_buf|=e<<t.bi_valid&65535,t.bi_valid+=a)},x=function(t,e,a){z(t,a[2*e],a[2*e+1])},A=function(t,e){var a=0;do{a|=1&t,t>>>=1,a<<=1}while(--e>0);return a>>>1},U=function(t,e,a){var n,r,s=new Array(16),h=0;for(n=1;n<=i;n++)s[n]=h=h+a[n-1]<<1;for(r=0;r<=e;r++){var l=t[2*r+1];0!==l&&(t[2*r]=A(s[l]++,l))}},I=function(t){var e;for(e=0;e<n;e++)t.dyn_ltree[2*e]=0;for(e=0;e<r;e++)t.dyn_dtree[2*e]=0;for(e=0;e<19;e++)t.bl_tree[2*e]=0;t.dyn_ltree[512]=1,t.opt_len=t.static_len=0,t.last_lit=t.matches=0},B=function(t){t.bi_valid>8?k(t,t.bi_buf):t.bi_valid>0&&(t.pending_buf[t.pending++]=t.bi_buf),t.bi_buf=0,t.bi_valid=0},E=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]},S=function(t,e,a){for(var n=t.heap[a],r=a<<1;r<=t.heap_len&&(r<t.heap_len&&E(e,t.heap[r+1],t.heap[r],t.depth)&&r++,!E(e,n,t.heap[r],t.depth));)t.heap[a]=t.heap[r],a=r,r<<=1;t.heap[a]=n},C=function(t,e,n){var r,i,l,_,o=0;if(0!==t.last_lit)do{r=t.pending_buf[t.d_buf+2*o]<<8|t.pending_buf[t.d_buf+2*o+1],i=t.pending_buf[t.l_buf+o],o++,0===r?x(t,i,e):(l=f[i],x(t,l+a+1,e),0!==(_=s[l])&&(i-=c[l],z(t,i,_)),r--,l=y(r),x(t,l,n),0!==(_=h[l])&&(r-=v[l],z(t,r,_)))}while(o<t.last_lit);x(t,256,e)},D=function(t,e){var a,n,r,s=e.dyn_tree,h=e.stat_desc.static_tree,l=e.stat_desc.has_stree,_=e.stat_desc.elems,o=-1;for(t.heap_len=0,t.heap_max=573,a=0;a<_;a++)0!==s[2*a]?(t.heap[++t.heap_len]=o=a,t.depth[a]=0):s[2*a+1]=0;for(;t.heap_len<2;)s[2*(r=t.heap[++t.heap_len]=o<2?++o:0)]=1,t.depth[r]=0,t.opt_len--,l&&(t.static_len-=h[2*r+1]);for(e.max_code=o,a=t.heap_len>>1;a>=1;a--)S(t,s,a);r=_;do{a=t.heap[1],t.heap[1]=t.heap[t.heap_len--],S(t,s,1),n=t.heap[1],t.heap[--t.heap_max]=a,t.heap[--t.heap_max]=n,s[2*r]=s[2*a]+s[2*n],t.depth[r]=(t.depth[a]>=t.depth[n]?t.depth[a]:t.depth[n])+1,s[2*a+1]=s[2*n+1]=r,t.heap[1]=r++,S(t,s,1)}while(t.heap_len>=2);t.heap[--t.heap_max]=t.heap[1],function(t,e){var a,n,r,s,h,l,_=e.dyn_tree,o=e.max_code,d=e.stat_desc.static_tree,u=e.stat_desc.has_stree,f=e.stat_desc.extra_bits,c=e.stat_desc.extra_base,p=e.stat_desc.max_length,g=0;for(s=0;s<=i;s++)t.bl_count[s]=0;for(_[2*t.heap[t.heap_max]+1]=0,a=t.heap_max+1;a<573;a++)(s=_[2*_[2*(n=t.heap[a])+1]+1]+1)>p&&(s=p,g++),_[2*n+1]=s,n>o||(t.bl_count[s]++,h=0,n>=c&&(h=f[n-c]),l=_[2*n],t.opt_len+=l*(s+h),u&&(t.static_len+=l*(d[2*n+1]+h)));if(0!==g){do{for(s=p-1;0===t.bl_count[s];)s--;t.bl_count[s]--,t.bl_count[s+1]+=2,t.bl_count[p]--,g-=2}while(g>0);for(s=p;0!==s;s--)for(n=t.bl_count[s];0!==n;)(r=t.heap[--a])>o||(_[2*r+1]!==s&&(t.opt_len+=(s-_[2*r+1])*_[2*r],_[2*r+1]=s),n--)}}(t,e),U(s,o,t.bl_count)},j=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))},M=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{x(t,r,t.bl_tree)}while(0!=--h);else 0!==r?(r!==i&&(x(t,r,t.bl_tree),h--),x(t,16,t.bl_tree),z(t,h-3,2)):h<=10?(x(t,17,t.bl_tree),z(t,h-3,3)):(x(t,18,t.bl_tree),z(t,h-11,7));h=0,i=r,0===s?(l=138,_=3):r===s?(l=6,_=3):(l=7,_=4)}},L=!1,T=function(t,e,a,n){z(t,0+(n?1:0),3),function(t,e,a,n){B(t),n&&(k(t,a),k(t,~a)),t.pending_buf.set(t.window.subarray(e,e+a),t.pending),t.pending+=a}(t,e,a,!0)},H=function(t,e,n,r){var i,s,h=0;t.level>0?(2===t.strm.data_type&&(t.strm.data_type=function(t){var e,n=4093624447;for(e=0;e<=31;e++,n>>>=1)if(1&n&&0!==t.dyn_ltree[2*e])return 0;if(0!==t.dyn_ltree[18]||0!==t.dyn_ltree[20]||0!==t.dyn_ltree[26])return 1;for(e=32;e<a;e++)if(0!==t.dyn_ltree[2*e])return 1;return 0}(t)),D(t,t.l_desc),D(t,t.d_desc),h=function(t){var e;for(j(t,t.dyn_ltree,t.l_desc.max_code),j(t,t.dyn_dtree,t.d_desc.max_code),D(t,t.bl_desc),e=18;e>=3&&0===t.bl_tree[2*_[e]+1];e--);return t.opt_len+=3*(e+1)+5+5+4,e}(t),i=t.opt_len+3+7>>>3,(s=t.static_len+3+7>>>3)<=i&&(i=s)):i=s=n+5,n+4<=i&&-1!==e?T(t,e,n,r):4===t.strategy||s===i?(z(t,2+(r?1:0),3),C(t,o,d)):(z(t,4+(r?1:0),3),function(t,e,a,n){var r;for(z(t,e-257,5),z(t,a-1,5),z(t,n-4,4),r=0;r<n;r++)z(t,t.bl_tree[2*_[r]+1],3);M(t,t.dyn_ltree,e-1),M(t,t.dyn_dtree,a-1)}
1(t,t.l_desc.max_code+1,t.d_desc.max_code+1,h+1),C(t,t.dyn_ltree,t.dyn_dtree)),I(t),r&&B(t)},R={_tr_init:function(t){L||(!function(){var t,e,a,_,m,y=new Array(16);for(a=0,_=0;_<28;_++)for(c[_]=a,t=0;t<1<<s[_];t++)f[a++]=_;for(f[a-1]=_,m=0,_=0;_<16;_++)for(v[_]=m,t=0;t<1<<h[_];t++)u[m++]=_;for(m>>=7;_<r;_++)for(v[_]=m<<7,t=0;t<1<<h[_]-7;t++)u[256+m++]=_;for(e=0;e<=i;e++)y[e]=0;for(t=0;t<=143;)o[2*t+1]=8,t++,y[8]++;for(;t<=255;)o[2*t+1]=9,t++,y[9]++;for(;t<=279;)o[2*t+1]=7,t++,y[7]++;for(;t<=287;)o[2*t+1]=8,t++,y[8]++;for(U(o,287,y),t=0;t<r;t++)d[2*t+1]=5,d[2*t]=A(t,5);p=new b(o,s,257,n,i),g=new b(d,h,0,r,i),w=new b(new Array(0),l,0,19,7)}(),L=!0),t.l_desc=new m(t.dyn_ltree,p),t.d_desc=new m(t.dyn_dtree,g),t.bl_desc=new m(t.bl_tree,w),t.bi_buf=0,t.bi_valid=0,I(t)},_tr_stored_block:T,_tr_flush_block:H,_tr_tally:function(t,e,n){return t.pending_buf[t.d_buf+2*t.last_lit]=e>>>8&255,t.pending_buf[t.d_buf+2*t.last_lit+1]=255&e,t.pending_buf[t.l_buf+t.last_lit]=255&n,t.last_lit++,0===e?t.dyn_ltree[2*n]++:(t.matches++,e--,t.dyn_ltree[2*(f[n]+a+1)]++,t.dyn_dtree[2*y(e)]++),t.last_lit===t.lit_bufsize-1},_tr_align:function(t){z(t,2,3),x(t,256,o),function(t){16===t.bi_valid?(k(t,t.bi_buf),t.bi_buf=0,t.bi_valid=0):t.bi_valid>=8&&(t.pending_buf[t.pending++]=255&t.bi_buf,t.bi_buf>>=8,t.bi_valid-=8)}(t)}},K=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},N=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}()),O=function(t,e,a,n){var r=N,i=n+a;t^=-1;for(var s=n;s<i;s++)t=t>>>8^r[255&(t^e[s])];return~t},q={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"},F=0,G=2,J=3,P=4,Q=0,V=1,W=-1,X=0,Y=8,Z=R._tr_init,$=R._tr_stored_block,tt=R._tr_flush_block,et=R._tr_tally,at=R._tr_align,nt=F,rt=1,it=J,st=P,ht=5,lt=Q,_t=V,ot=-2,dt=-3,ut=-5,ft=W,ct=1,pt=2,gt=3,wt=4,vt=X,bt=2,mt=Y,yt=258,kt=262,zt=103,xt=113,At=666,Ut=function(t,e){return t.msg=q[e],e},It=function(t){return(t<<1)-(t>4?9:0)},Bt=function(t){for(var e=t.length;--e>=0;)t[e]=0},Et=function(t,e,a){return(e<<t.hash_shift^a)&t.hash_mask},St=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))},Ct=function(t,e){tt(t,t.block_start>=0?t.block_start:-1,t.strstart-t.block_start,e),t.block_start=t.strstart,St(t.strm)},Dt=function(t,e){t.pending_buf[t.pending++]=e},jt=function(t,e){t.pending_buf[t.pending++]=e>>>8&255,t.pending_buf[t.pending++]=255&e},Mt=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-kt?t.strstart-(t.w_size-kt):0,_=t.window,o=t.w_mask,d=t.prev,u=t.strstart+yt,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=yt-(u-i),i=u-yt,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},Lt=function(t){var e,a,n,r,i,s,h,l,_,o,d=t.w_size;do{if(r=t.window_size-t.lookahead-t.strstart,t.strstart>=d+(d-kt)){t.window.set(t.window.subarray(d,d+d),0),t.match_start-=d,t.strstart-=d,t.block_start-=d,e=a=t.hash_size;do{n=t.head[--e],t.head[e]=n>=d?n-d:0}while(--a);e=a=d;do{n=t.prev[--e],t.prev[e]=n>=d?n-d:0}while(--a);r+=d}if(0===t.strm.avail_in)break;if(s=t.strm,h=t.window,l=t.strstart+t.lookahead,_=r,o=void 0,(o=s.avail_in)>_&&(o=_),a=0===o?0:(s.avail_in-=o,h.set(s.input.subarray(s.next_in,s.next_in+o),l),1===s.state.wrap?s.adler=K(s.adler,h,o,l):2===s.state.wrap&&(s.adler=O(s.adler,h,o,l)),s.next_in+=o,s.total_in+=o,o),t.lookahead+=a,t.lookahead+t.insert>=3)for(i=t.strstart-t.insert,t.ins_h=t.window[i],t.ins_h=Et(t,t.ins_h,t.window[i+1]
1);t.insert&&(t.ins_h=Et(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<kt&&0!==t.strm.avail_in)},Tt=function(t,e){for(var a,n;;){if(t.lookahead<kt){if(Lt(t),t.lookahead<kt&&e===nt)return 1;if(0===t.lookahead)break}if(a=0,t.lookahead>=3&&(t.ins_h=Et(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-kt&&(t.match_length=Mt(t,a)),t.match_length>=3)if(n=et(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=Et(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=Et(t,t.ins_h,t.window[t.strstart+1]);else n=et(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++;if(n&&(Ct(t,!1),0===t.strm.avail_out))return 1}return t.insert=t.strstart<2?t.strstart:2,e===st?(Ct(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(Ct(t,!1),0===t.strm.avail_out)?1:2},Ht=function(t,e){for(var a,n,r;;){if(t.lookahead<kt){if(Lt(t),t.lookahead<kt&&e===nt)return 1;if(0===t.lookahead)break}if(a=0,t.lookahead>=3&&(t.ins_h=Et(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-kt&&(t.match_length=Mt(t,a),t.match_length<=5&&(t.strategy===ct||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=et(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=Et(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&&(Ct(t,!1),0===t.strm.avail_out))return 1}else if(t.match_available){if((n=et(t,0,t.window[t.strstart-1]))&&Ct(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=et(t,0,t.window[t.strstart-1]),t.match_available=0),t.insert=t.strstart<2?t.strstart:2,e===st?(Ct(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(Ct(t,!1),0===t.strm.avail_out)?1:2};function Rt(t,e,a,n,r){this.good_length=t,this.max_lazy=e,this.nice_length=a,this.max_chain=n,this.func=r}var Kt=[new Rt(0,0,0,0,(function(t,e){var a=65535;for(a>t.pending_buf_size-5&&(a=t.pending_buf_size-5);;){if(t.lookahead<=1){if(Lt(t),0===t.lookahead&&e===nt)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,Ct(t,!1),0===t.strm.avail_out))return 1;if(t.strstart-t.block_start>=t.w_size-kt&&(Ct(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,e===st?(Ct(t,!0),0===t.strm.avail_out?3:4):(t.strstart>t.block_start&&(Ct(t,!1),t.strm.avail_out),1)})),new Rt(4,4,8,4,Tt),new Rt(4,5,16,8,Tt),new Rt(4,6,32,32,Tt),new Rt(4,4,16,16,Ht),new Rt(8,16,32,32,Ht),new Rt(8,16,128,128,Ht),new Rt(8,32,128,256,Ht),new Rt(32,128,258,1024,Ht),new Rt(32,258,258,4096,Ht)];function Nt(){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=mt,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),Bt(this.dyn_ltree),Bt(this.dyn_dtree),Bt(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),Bt(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new Uint16Array(573),Bt(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}var Ot=function(t){if(!t||!t.state)return Ut(t,ot);t.total_in=t.total_out=0,t.data_type=bt;var e=t.state;return e.pending=0,e.pending_out=0,e.wrap<0&&(e.wrap=-e.wrap),e.status=e.wrap?42:xt,t.adler=2===e.wrap?0:1,e.last_flush=nt,Z(e),lt},qt=function(t){var e,a=Ot(t);return a===lt&&((e=t.state).window_size=2*e.w_size,Bt(e.head),e.max_lazy_match=Kt[e.level].max_lazy,e.good_match=Kt[e.level].good_length,e.nice_match=Kt[e.level].nice_length,e.max_chain_length=Kt[e.level].max_chain,e.strstart=0,e.block_start=0,e.lookahead=0,e.insert=0,e.match_length=e.prev_length=2,e.match_available=0,e.ins_h=0),a},Ft=function(t,e,a,n,r,i){if(!t)return ot;var s=1;if(e===ft&&(e=6),n<0?(s=0,n=-n):n>15&&(s=2,n-=16),r<1||r>9||a!==mt||n<8||n>15||e<0||e>9||i<0||i>wt)return Ut(t,ot);8===n&&(n=9);var h=new Nt;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,qt(t)},Gt={deflateInit:function(t,e){return Ft(t,e,mt,15,8,vt)},deflateInit2:Ft,deflateReset:qt,deflateResetKeep:Ot,deflateSetHeader:function(t,e){return t&&t.state?2!==t.state.wrap?ot:(t.state.gzhead=e,lt):ot},deflate:function(t,e){var a,n;if(!t||!t.state||e>ht||e<0)return t?Ut(t,ot):ot;var r=t.state;if(!t.output||!t.input&&0!==t.avail_in||r.status===At&&e!==st)return Ut(t,0===t.avail_out?ut:ot);r.strm=t;var i=r.last_flush;if(r.last_flush=e,42===r.status)if(2===r.wrap)t.adler=0,Dt(r,31),Dt(r,139),Dt(r,8),r.gzhead?(Dt(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)),Dt(r,255&r.gzhead.time),Dt(r,r.gzhead.time>>8&255),Dt(r,r.gzhead.time>>16&255),Dt(r,r.gzhead.time>>24&255),Dt(r,9===r.level?2:r.strategy>=pt||r.level<2?4:0),Dt(r,255&r.gzhead.os),r.gzhead.extra&&r.gzhead.extra.length&&(Dt(r,255&r.gzhead.extra.length),Dt(r,r.gzhead.extra.length>>8&255)),r.gzhead.hcrc&&(t.adler=O(t.adler,r.pending_buf,r.pending,0)),r.gzindex=0,r.status=69):(Dt(r,0),Dt(r,0),Dt(r,0),Dt(r,0),Dt(r,0),Dt(r,9===r.level?2:r.strategy>=pt||r.level<2?4:0),Dt(r,3),r.status=xt);else{var s=mt+(r.w_bits-8<<4)<<8;s|=(r.strategy>
1=pt||r.level<2?0:r.level<6?1:6===r.level?2:3)<<6,0!==r.strstart&&(s|=32),s+=31-s%31,r.status=xt,jt(r,s),0!==r.strstart&&(jt(r,t.adler>>>16),jt(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=O(t.adler,r.pending_buf,r.pending-a,a)),St(t),a=r.pending,r.pending!==r.pending_buf_size));)Dt(r,255&r.gzhead.extra[r.gzindex]),r.gzindex++;r.gzhead.hcrc&&r.pending>a&&(t.adler=O(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=O(t.adler,r.pending_buf,r.pending-a,a)),St(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,Dt(r,n)}while(0!==n);r.gzhead.hcrc&&r.pending>a&&(t.adler=O(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=O(t.adler,r.pending_buf,r.pending-a,a)),St(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,Dt(r,n)}while(0!==n);r.gzhead.hcrc&&r.pending>a&&(t.adler=O(t.adler,r.pending_buf,r.pending-a,a)),0===n&&(r.status=zt)}else r.status=zt;if(r.status===zt&&(r.gzhead.hcrc?(r.pending+2>r.pending_buf_size&&St(t),r.pending+2<=r.pending_buf_size&&(Dt(r,255&t.adler),Dt(r,t.adler>>8&255),t.adler=0,r.status=xt)):r.status=xt),0!==r.pending){if(St(t),0===t.avail_out)return r.last_flush=-1,lt}else if(0===t.avail_in&&It(e)<=It(i)&&e!==st)return Ut(t,ut);if(r.status===At&&0!==t.avail_in)return Ut(t,ut);if(0!==t.avail_in||0!==r.lookahead||e!==nt&&r.status!==At){var h=r.strategy===pt?function(t,e){for(var a;;){if(0===t.lookahead&&(Lt(t),0===t.lookahead)){if(e===nt)return 1;break}if(t.match_length=0,a=et(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++,a&&(Ct(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,e===st?(Ct(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(Ct(t,!1),0===t.strm.avail_out)?1:2}(r,e):r.strategy===gt?function(t,e){for(var a,n,r,i,s=t.window;;){if(t.lookahead<=yt){if(Lt(t),t.lookahead<=yt&&e===nt)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+yt;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=yt-(i-r),t.match_length>t.lookahead&&(t.match_length=t.lookahead)}if(t.match_length>=3?(a=et(t,1,t.match_length-3),t.lookahead-=t.match_length,t.strstart+=t.match_length,t.match_length=0):(a=et(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++),a&&(Ct(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,e===st?(Ct(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(Ct(t,!1),0===t.strm.avail_out)?1:2}(r,e):Kt[r.level].func(r,e);if(3!==h&&4!==h||(r.status=At),1===h||3===h)return 0===t.avail_out&&(r.last_flush=-1),lt;if(2===h&&(e===rt?at(r):e!==ht&&($(r,0,0,!1),e===it&&(Bt(r.head),0===r.lookahead&&(r.strstart=0,r.block_start=0,r.insert=0))),St(t),0===t.avail_out))return r.last_flush=-1,lt}return e!==st?lt:r.wrap<=0?_t:(2===r.wrap?(Dt(r,255&t.adler),Dt(r,t.adler>>8&255),Dt(r,t.adler>>16&255),Dt(r,t.adler>>24&255),Dt(r,255&t.total_in),Dt(r,t.total_in>>8&255),Dt(r,t.total_in>>16&255),Dt(r,t.total_in>>24&255)):(jt(r,t.adler>>>16),jt(r,65535&t.adler)),St(t),r.wrap>0&&(r.wrap=-r.wrap),0!==r.pending?lt:_t)},deflateEnd:function(t){if(!t||!t.state)return ot;var e=t.state.status;return 42!==e&&69!==e&&73!==e&&91!==e&&e!==zt&&e!==xt&&e!==At?Ut(t,ot):(t.state=null,e===xt?Ut(t,dt):lt)},deflateSetDictionary:function(t,e){var a=e.length;if(!t||!t.state)return ot;var n=t.state,r=n.wrap;if(2===r||1===r&&42!==n.status||n.lookahead)return ot;if(1===r&&(t.adler=K(t.adler,e,a,0)),n.wrap=0,a>=n.w_size){0===r&&(Bt(n.head),n.strstart=0,n.block_start=0,n.insert=0);var i=new Uint8Array(n.w_size);
1i.set(e.subarray(a-n.w_size,a),0),e=i,a=n.w_size}var s=t.avail_in,h=t.next_in,l=t.input;for(t.avail_in=a,t.next_in=0,t.input=e,Lt(n);n.lookahead>=3;){var _=n.strstart,o=n.lookahead-2;do{n.ins_h=Et(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,Lt(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,lt},deflateInfo:"pako deflate (from Nodeca project)"};for(var Jt=new Uint8Array(256),Pt=0;Pt<256;Pt++)Jt[Pt]=Pt>=252?6:Pt>=248?5:Pt>=240?4:Pt>=224?3:Pt>=192?2:1;Jt[254]=Jt[254]=1;var Qt=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},Vt=Object.prototype.toString,Wt=F,Xt=G,Yt=J,Zt=P,$t=Q,te=V,ee=W,ae=X,ne=Y;function re(){this.options={level:ee,method:ne,chunkSize:16384,windowBits:15,memLevel:8,strategy:ae};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 Qt,this.strm.avail_out=0;var e=Gt.deflateInit2(this.strm,t.level,t.method,t.windowBits,t.memLevel,t.strategy);if(e!==$t)throw new Error(q[e]);if(t.header&&Gt.deflateSetHeader(this.strm,t.header),t.dictionary){var a;if(a="[object ArrayBuffer]"===Vt.call(t.dictionary)?new Uint8Array(t.dictionary):t.dictionary,(e=Gt.deflateSetDictionary(this.strm,a))!==$t)throw new Error(q[e]);this._dict_set=!0}}function ie(t,e,a){try{t.postMessage({type:"errored",error:e,streamId:a})}catch(n){t.postMessage({type:"errored",error:String(e),streamId:a})}}function se(t){var e=t.strm.adler;return new Uint8Array([3,0,e>>>24&255,e>>>16&255,e>>>8&255,255&e])}re.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?Zt:Wt,"[object ArrayBuffer]"===Vt.call(t)?r.input=new Uint8Array(t):r.input=t,r.next_in=0,r.avail_in=r.input.length;;)if(0===r.avail_out&&(r.output=new Uint8Array(i),r.next_out=0,r.avail_out=i),(n===Xt||n===Yt)&&r.avail_out<=6)this.onData(r.output.subarray(0,r.next_out)),r.avail_out=0;else{if((a=Gt.deflate(r,n))===te)return r.next_out>0&&this.onData(r.output.subarray(0,r.next_out)),a=Gt.deflateEnd(this.strm),this.onEnd(a),this.ended=!0,a===$t;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},re.prototype.onData=function(t){this.chunks.push(t)},re.prototype.onEnd=function(t){t===$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){void 0===e&&(e=self);try{var a=new Map;e.addEventListener("message",(function(n){try{var r=function(e,a){switch(a.action){case"init":return{type:"initialized",version:"5.35.1"};case"write":var n=e.get(a.streamId);n||(n=new re,e.set(a.streamId,n));var r=n.chunks.length,i=function(t){if("function"==typeof TextEncoder&&TextEncoder.prototype.encode)return(new TextEncoder).encode(t);var e,a,n,r,i,s=t.length,h=0;for(r=0;r<s;r++)55296==(64512&(a=t.charCodeAt(r)))&&r+1<s&&56320==(64512&(n=t.charCodeAt(r+1)))&&(a=65536+(a-55296<<10)+(n-56320),r++),h+=a<128?1:a<2048?2:a<65536?3:4;for(e=new Uint8Array(h),i=0,r=0;i<h;r++)55296==(64512&(a=t.charCodeAt(r)))&&r+1<s&&56320==(64512&(n=t.charCodeAt(r+1)))&&(a=65536+(a-55296<<10)+(n-56320),r++),a<128?e[i++]=a:a<2048?(e[i++]=192|a>>>6,e[i++]=128|63&a):a<65536?(e[i++]=224|a>>>12,e[i++]=128|a>>>6&63,e[i++]=128|63&a):(e[i++]=240|a>>>18,e[i++]=128|a>>>12&63,e[i++]=128|a>>>6&63,e[i++]=128|63&a);return e}(a.data);return n.push(i,G),{type:"wrote",id:a.id,streamId:a.streamId,result:t(n.chunks.slice(r)),trailer:se(n),additionalBytesCount:i.length};case"reset":e.delete(a.streamId)}}(a,n.data);r&&e.postMessage(r)}catch(t){ie(e,t,n.data&&"streamId"in n.data?n.data.streamId:void 0)}}))}catch(t){ie(e,t)}}()}();'])))}var u3={status:0};function u5(t,e,n,r){switch(void 0===r&&(r=u2),0===u3.status&&function(t,e,n){void 0===n&&(n=u2);try{var r=n(t),u=ti(t,r,"error",function(n){u7(t,e,n)}).stop,i=ti(t,r,"message",function(n){var r,u=n.data;"errored"===u.type?u7(t,e,u.error,u.streamId):"initialized"===u.type&&(r=u.version,1===u3.status&&(u3={status:3,worker:u3.worker,stop:u3.stop,version:r}))}).stop;r.postMessage({action:"init"}),tl(function(){var t;return t=e,void(1===u3.status&&(N.error("".concat(t," failed to start: a timeout occurred while initializing the Worker")),u3.initializationFailureCallbacks.forEach(function(t){return t()}),u3={status:2}))},3e4),u3={status:1,worker:r,stop:function(){u(),i()},initializationFailureCallbacks:[]}}catch(n){u7(t,e,n)}}(t,e,r),u3.status){case 1:return u3.initializationFailureCallbacks.push(n),u3.worker;case 3:return u3.worker}}function u7(t,e,n,r){if(1===u3.status||0===u3.status){var u;if(N.error("".concat(e," failed to start: an error occurred while creating the Worker:"),n),(0,G._)(n,Event)||(0,G._)(n,Error)&&(W(u=n.message,"Content Security Policy")||W(u,"requires 'TrustedScriptURL'"))){var i=void 0;i=t.workerUrl?"Please make sure the Worker URL ".concat(t.workerUrl," is correct and CSP is correctly configured."):"Please make sure CSP is correctly configured.",N.error("".concat(i," See documentation at ").concat(O,"/integrations/content_security_policy_logs/#use-csp-with-real-user-monitoring-and-session-replay"))}else el(n);1===u3.status&&u3.initializationFailureCallbacks.forEach(function(t){return t()}),u3={status:2}}
1else el(n,{worker_version:3===u3.status&&u3.version,stream_id:r})}function u6(){return"function"==typeof Array.from&&"function"==typeof CSSSupportsRule&&"function"==typeof URL.createObjectURL&&"forEach"in NodeList.prototype}var u4=function(t,e,n){void 0===n&&(n={});var r,u,i,o=function(t){void 0===t&&(t=2);var e=new Map,n=!1;function r(r){if(void 0===r&&(r=0),!n&&0!==t){var u,i=2===t?3072:16384,o=r;e.forEach(function(t){o+=t.getBytesCount()}),o>i&&(u=i,N.warn("Customer data exceeds the recommended ".concat(u/1024,"KiB threshold. ").concat(M," ").concat(L,"/#customer-data-exceeds-the-recommended-threshold-warning")),n=!0)}}return{createDetachedTracker:function(){var t=u_(function(){return r(t.getBytesCount())});return t},getOrCreateTracker:function(t){return e.has(t)||e.set(t,u_(r)),e.get(t)},setCompressionStatus:function(e){0===t&&(t=e,r())},getCompressionStatus:function(){return t},stop:function(){e.forEach(function(t){return t.stop()}),e.clear()}}}(0),s=rV(o.getOrCreateTracker(2)),c=rV(o.getOrCreateTracker(1)),l={tryToInit:function(t){r||(r=t)},update:function(t){r=t,u.notify()},isGranted:function(){return r===n_.GRANTED},observable:u=new tn},d={vitalsByName:new Map,vitalsByReference:new WeakMap};function f(){return{context:s.getContext(),user:c.getContext(),hasReplay:!!e.isRecording()||void 0}}var p=function(t,e,n,r,u){var i,o,s,c,l=t.ignoreInitIfSyntheticsWillInjectRum,d=t.startDeflateWorker,f=en(),p=n.observable.subscribe(v);function v(){if(s&&c&&n.isGranted()){if(p.unsubscribe(),c.trackViewsManually){if(!i)return;f.remove(i.callback),t=i.options}var t,e=u(c,o,t);f.drain(e)}}function h(t){var e,r,u,i,a,l,f,p,h=ev();if(h&&(t=Z({},e=t,{applicationId:"00000000-aaaa-0000-aaaa-000000000000",clientToken:"empty",sessionSampleRate:100,defaultPrivacyLevel:null!=(r=e.defaultPrivacyLevel)?r:null==(u=ef())?void 0:u.getPrivacyLevel()})),s=t,l=nw(i=t),p=Z({session_replay_sample_rate:i.sessionReplaySampleRate,start_session_replay_recording_manually:i.startSessionReplayRecordingManually,trace_sample_rate:i.traceSampleRate,trace_context_injection:i.traceContextInjection,action_name_attribute:i.actionNameAttribute,use_allowed_tracing_urls:Array.isArray(i.allowedTracingUrls)&&i.allowedTracingUrls.length>0,selected_tracing_propagators:(f=new Set,Array.isArray(i.allowedTracingUrls)&&i.allowedTracingUrls.length>0&&i.allowedTracingUrls.forEach(function(t){e4(t)?ub.forEach(function(t){return f.add(t)}):"object"===t6(t)&&Array.isArray(t.propagatorTypes)&&t.propagatorTypes.forEach(function(t){return f.add(t)})}),K(f)),default_privacy_level:i.defaultPrivacyLevel,enable_privacy_for_action_name:i.enablePrivacyForActionName,use_excluded_activity_urls:Array.isArray(i.excludedActivityUrls)&&i.excludedActivityUrls.length>0,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,plugins:null==(a=i.plugins)?void 0:a.map(function(t){var e;return Z({name:t.name},null==(e=t.getConfigurationTelemetry)?void 0:e.call(t))})},l),es({type:er,configuration:p}),c)return void uE("DD_RUM",t);var m=function(t){if(!t.applicationId)return void N.error("Application ID is not configured, no RUM data will be collected.");if(nb(t.sessionReplaySampleRate,"Session Replay")&&nb(t.traceSampleRate,"Trace")){if(void 0!==t.excludedActivityUrls&&!Array.isArray(t.excludedActivityUrls))return void N.error("Excluded Activity Urls should be an array");var e,n,r,u=function(t){if(void 0===t.allowedTracingUrls)return[];if(!Array.isArray(t.allowedTracingUrls))return void N.error("Allowed Tracing URLs should be an array");if(0!==t.allowedTracingUrls.length&&void 0===t.service)return void N.error("Service needs to be configured when tracing is enabled");var e=[];return t.allowedTracingUrls.forEach(function(t){if(e4(t))e.push({match:t,propagatorTypes:ub});else"object"===t6(t)&&e4(t.match)&&Array.isArray(t.propagatorTypes)?e.push(t):N.warn("Allowed Tracing Urls parameters should be a string, RegExp, function, or an object. Ignoring parameter",t)}),e}(t);if(u){var i=nC(t);if(i){var o=null!=(e=t.sessionReplaySampleRate)?e:0;return Z({applicationId:t.applicationId,version:t.version||void 0,actionNameAttribute:t.actionNameAttribute,sessionReplaySampleRate:o,startSessionReplayRecordingManually:void 0!==t.startSessionReplayRecordingManually?!!t.startSessionReplayRecordingManually:0===o,traceSampleRate:null!=(n=t.traceSampleRate)?n:100,rulePsr:tX(t.traceSampleRate)?t.traceSampleRate/100:void 0,allowedTracingUrls:u,excludedActivityUrls:null!=(r=t.excludedActivityUrls)?r:[],workerUrl:t.workerUrl,compressIntakeRequests:!!t.compressIntakeRequests,trackUserInteractions:!!t.trackUserInteractions,trackViewsManually:!!t.trackViewsManually,trackResources:!!t.trackResources,trackLongTasks:!!t.trackLongTasks,subdomain:t.subdomain,defaultPrivacyLevel:tV(ny,t.defaultPrivacyLevel)?t.defaultPrivacyLevel:ny.MASK,enablePrivacyF
1orActionName:!!t.enablePrivacyForActionName,customerDataTelemetrySampleRate:1,traceContextInjection:tV(nA,t.traceContextInjection)?t.traceContextInjection:nA.ALL,plugins:t.plugins||[]},i)}}}}(t);if(m){if(!h&&!m.sessionStoreStrategyType)return void N.warn("No storage available for session. We will not send any data.");if(m.compressIntakeRequests&&!h&&d&&!(o=d(m,"Datadog RUM",th)))return;c=m,eq().subscribe(th),n.tryToInit(m.trackingConsent),v()}}var m=function(t){f.add(function(e){return e.addDurationVital(t)})};return{init:function(t,e){var n,r,u,i;if(!t)return void N.error("Missing configuration");if(Array.isArray(n=t.enableExperimentalFeatures)&&n.filter(function(t){return tV(a,t)}).forEach(function(t){tq.add(t)}),s=t,!(l&&eS()))if(!function(t,e,n){if(t)for(var r=0;r<t.length;r++){var u=t[r][e];u&&u(n)}}(t.plugins,"onInit",{initConfiguration:t,publicApi:e}),t.remoteConfigurationId&&tH(a.REMOTE_CONFIGURATION)){r=t,u=function(e){h(Z({},t,e))},ti(r,i=new XMLHttpRequest,"load",function(){200===i.status?u(JSON.parse(i.responseText)):uC()}),ti(r,i,"error",function(){uC()}),i.open("GET","".concat("https://d3uc069fcn7uxw.cloudfront.net/configuration","/").concat(encodeURIComponent(r.remoteConfigurationId),".json")),i.send()}else h(t)},get initConfiguration(){return s},getInternalContext:th,stopSession:th,addTiming:function(t,e){void 0===e&&(e=t1()),f.add(function(n){return n.addTiming(t,e)})},startView:function(t,e){void 0===e&&(e=t3());var n=function(n){n.startView(t,e)};f.add(n),i||(i={options:t,callback:n},v())},setViewName:function(t){f.add(function(e){return e.setViewName(t)})},setViewContext:function(t){f.add(function(e){return e.setViewContext(t)})},setViewContextProperty:function(t,e){f.add(function(n){return n.setViewContextProperty(t,e)})},addAction:function(t,n){void 0===n&&(n=e()),f.add(function(e){return e.addAction(t,n)})},addError:function(t,n){void 0===n&&(n=e()),f.add(function(e){return e.addError(t,n)})},addFeatureFlagEvaluation:function(t,e){f.add(function(n){return n.addFeatureFlagEvaluation(t,e)})},startDurationVital:function(t,e){return up(r,t,e)},stopDurationVital:function(t,e){uv(m,r,t,e)},addDurationVital:m}}(n,f,l,d,function(r,u,i){r.storeContextsAcrossPages&&(uA(r,s,"rum",2),uA(r,c,"rum",1)),o.setCompressionStatus(u?1:2);var a,v,h=t(r,e,o,f,i,u&&n.createDeflateEncoder?function(t){return n.createDeflateEncoder(r,u,t)}:ug,l,d);return e.onRumStart(h.lifeCycle,r,h.session,h.viewHistory,u),a=p,v=h,p=Z({init:function(t){uE("DD_RUM",t)},initConfiguration:a.initConfiguration},v),h}),v=j(function(t){var e=(void 0===t?"undefined":(0,Q._)(t))==="object"?t:{name:t};e.context&&o.getOrCreateTracker(3).updateCustomerData(e.context),p.startView(e),ed({feature:"start-view"})}),h=(Object.defineProperty(i=Z({version:"5.35.1",onReady:function(t){t()}},{init:j(function(t){p.init(t,h)}),setTrackingConsent:j(function(t){l.update(t),ed({feature:"set-tracking-consent",tracking_consent:t})}),setViewName:j(function(t){p.setViewName(t)}),setViewContext:j(function(t){p.setViewContext(t)}),setViewContextProperty:j(function(t,e){p.setViewContextProperty(t,e)}),setGlobalContext:j(function(t){s.setContext(t),ed({feature:"set-global-context"})}),getGlobalContext:j(function(){return s.getContext()}),setGlobalContextProperty:j(function(t,e){s.setContextProperty(t,e),ed({feature:"set-global-context"})}),removeGlobalContextProperty:j(function(t){return s.removeContextProperty(t)}),clearGlobalContext:j(function(){return s.clearContext()}),getInternalContext:j(function(t){return p.getInternalContext(t)}),getInitConfiguration:j(function(){return t9(p.initConfiguration)}),addAction:function(t,e){var n=tR();q(function(){p.addAction({name:t_(t),context:t_(e),startClocks:t3(),type:"custom",handlingStack:n}),ed({feature:"add-action"})})},addError:function(t,e){var n=tR();q(function(){p.addError({error:t,handlingStack:n,context:t_(e),startClocks:t3()}),ed({feature:"add-error"})})},addTiming:j(function(t,e){p.addTiming(t_(t),e)}),setUser:j(function(t){var e;(e="object"===t6(t))||N.error("Unsupported user:",t),e&&c.setContext(ne(t)),ed({feature:"set-user"})}),getUser:j(function(){return c.getContext()}),setUserProperty:j(function(t,e){var n,r=ne(((n={}
1)[t]=e,n))[t];c.setContextProperty(t,r),ed({feature:"set-user"})}),removeUserProperty:j(function(t){return c.removeContextProperty(t)}),clearUser:j(function(){return c.clearContext()}),startView:v,stopSession:j(function(){p.stopSession(),ed({feature:"stop-session"})}),addFeatureFlagEvaluation:j(function(t,e){p.addFeatureFlagEvaluation(t_(t),t_(e)),ed({feature:"add-feature-flag-evaluation"})}),getSessionReplayLink:j(function(){return e.getSessionReplayLink()}),startSessionReplayRecording:j(function(t){e.start(t),ed({feature:"start-session-replay-recording",force:t&&t.force})}),stopSessionReplayRecording:j(function(){return e.stop()}),addDurationVital:j(function(t,e){var n;ed({feature:"add-duration-vital"}),p.addDurationVital({name:t_(t),type:"duration",startClocks:{relative:(n=e.startTime)-t7(),timeStamp:n},duration:e.duration,context:t_(e&&e.context),description:t_(e&&e.description)})}),startDurationVital:j(function(t,e){return ed({feature:"start-duration-vital"}),p.startDurationVital(t_(t),{context:t_(e&&e.context),description:t_(e&&e.description)})}),stopDurationVital:j(function(t,e){ed({feature:"stop-duration-vital"}),p.stopDurationVital("string"==typeof t?t_(t):t,{context:t_(e&&e.context),description:t_(e&&e.description)})})}),"_setDebug",{get:function(){return V},enumerable:!1}),i);return h}(function(t,e,n,r,u,i,s,c){var l,f,p,h,m,g,y,A,E,b,w,B,k,R,I,O,L,M,P=[],U=new eI;U.subscribe(13,function(t){return te("rum",t)});var z=function(t){var e,n,r,u,i,a,s,c,l,d=(e="browser-rum-sdk",n=t,i=new tn,a=new Set,s=!W(eo,n.site)&&tJ(n.telemetrySampleRate),c=((r={}).log=s,r[er]=s&&tJ(n.telemetryConfigurationSampleRate),r[eu]=s&&tJ(n.telemetryUsageSampleRate),r),l={is_local_file:"file:"===window.location.protocol,is_worker:"WorkerGlobalScope"in self},es=function(t){var r=tm(t);if(c[t.type]&&a.size<n.maxTelemetryEventsPerPage&&!a.has(r)){var o,s,d,f=(o=e,s=t,d=l,t8({type:"telemetry",date:t1(),service:o,version:"5.35.1",source:"browser",_dd:{format_version:2},telemetry:t8(s,{runtime_env:d,connectivity:et(),sdk_setup:"npm"}),experimental_features:K(tq)},void 0!==u?u():{}));i.notify(f),te("telemetry",f),a.add(r)}},o=el,{setContextProvider:function(t){u=t},observable:i,enabled:s});if(ev()){var f=ef();d.observable.subscribe(function(t){return f.send("internal_telemetry",t)})}return d}(t);z.setContextProvider(function(){var e,n;return{application:{id:t.applicationId},session:{id:null==(e=Q.findTrackedSession())?void 0:e.id},view:{id:null==(n=tW.findView())?void 0:n.id},action:{id:tX.findActionId()}}});var V=function(t){U.notify(14,{error:t}),ec("Error reported to customer",{"error.message":t.message})},H=(tt=n.getOrCreateTracker(0),tu=eU({expireDelay:eN}),U.subscribe(1,function(t){var e=t.startClocks;tu.add({},e.relative),tt.resetCustomerData()}),U.subscribe(6,function(t){var e=t.endClocks;tu.closeActive(e.relative)}),{findFeatureFlagEvaluations:function(t){return tu.find(t)},addFeatureFlagEvaluation:function(t,e){var n=tu.find();n&&(n[t]=e,tt.updateCustomerData(n))},stop:function(){return tt.stop()}}),Y=new tn(function(e){var n=to(t,window,["visibilitychange","freeze"],function(t){"visibilitychange"===t.type&&"hidden"===document.visibilityState?e.notify({reason:ta.HIDDEN}):"freeze"===t.type&&e.notify({reason:ta.FROZEN})},{capture:!0}).stop,r=ti(t,window,"beforeunload",function(){e.notify({reason:ta.UNLOADING})}).stop;return function(){n(),r()}}),$=Y.subscribe(function(t){U.notify(11,t)});P.push(function(){return $.unsubscribe()});var Q=ev()?(ts={id:"00000000-aaaa-0000-aaaa-000000000000",sessionReplay:+!!ep("records")},{findTrackedSession:function(){return ts},expire:th,expireObservable:new tn,setForcedReplay:th}):((tc=function(t,e,n){var r,u,i,o,s,c,l,d=new tn,f=new tn,p=function(t,e){var n,r=new tn,u=new tn,i=new tn,o=t.type===eL?function(t){var e,n={isLockEnabled:1===e8(),persistSession:(e=t,function(t){ew(nt,no(t),eO,e)}),retrieveSession:nc,expireSession:function(e){var n;return n=t,void ew(nt,no(nr(e)),tH(a.ANONYMOUS_USER_TRACKING)?t$:eN,n)}};if(!eF(nt)){var r=eF("_dd"),u=eF("_dd_r"),i=eF("_dd_l"),o={};r&&(o.id=r),i&&/^[01]$/.test(i)&&(o.logs=i),u&&/^[012]$/.test(u)&&(o.rum=u),tj(o)||(ni(o),n.persistSession(o))}return n}(t.cookieOptions):{isLockEnabled:!1,persistSession:nd,retrieveSession:nf,expireSession:np},s=o.expireSession,c=tf(function(){nh({process:function(t){return nu(t)?nr(t):void 0},after:p},o)},1e3);v();var l=tv(function(){nh({process:function(t){if(!tj(t)){var n=p(t);return function(t){if(!tj(t)){var n=e(t.rum),r=n.trackingType,u=n.isTracked;t.rum=r,delete t.isExpired,u&&!t.id&&(t.id=eA(),t.created=String(t0()))}}(n),n}},after:function(t){tj(t)||h()||(n=t,r.notify()),n=t}},o)},1e3),d=l.throttled,f=l.cancel;function p(t){var e;return nu(t)&&(t=nr(t)),h()&&((e=t,n.id!==e.id||n.rum!==e.rum)?(n=nr(n),u.notify()):(i.notify({previousState:n,newState:t}),n=t)),t}function v(){nh({process:function(t){if(tj(t))return nr(t)},after:function(t){n=t}},o)}function h(){return void 0!==n.rum}return{expandOrRenewSession:d,expandSession:function(){nh({process:function(t){return h()?p(t):void 0}},o)},getSession:function(){return n}
1,renewObservable:r,expireObservable:u,sessionStateUpdateObservable:i,restartSession:v,expire:function(){f(),s(n),p(nr(n))},stop:function(){tp(c)},updateSessionState:function(t){nh({process:function(e){return Z({},e,t)},after:p},o)}}}(t.sessionStoreStrategyType,e);r3.push(function(){return p.stop()});var v=eU({expireDelay:eN});function h(){return{id:p.getSession().id,trackingType:p.getSession().rum,isReplayForced:!!p.getSession().forcedReplay,anonymousId:p.getSession().anonymousId}}return r3.push(function(){return v.stop()}),p.renewObservable.subscribe(function(){v.add(h(),t2()),d.notify()}),p.expireObservable.subscribe(function(){f.notify(),v.closeActive(t2())}),p.expandOrRenewSession(),v.add(h(),t5().relative),n.observable.subscribe(function(){n.isGranted()?p.expandOrRenewSession():p.expire()}),r=to(t,window,["click","touchstart","keydown","scroll"],function(){n.isGranted()&&p.expandOrRenewSession()},{capture:!0,passive:!0}).stop,r3.push(r),u=t,i=function(){return p.expandSession()},o=function(){"visible"===document.visibilityState&&i()},s=ti(u,document,"visibilitychange",o).stop,r3.push(s),c=tf(o,6e4),r3.push(function(){tp(c)}),l=ti(t,window,"resume",function(){return p.restartSession()},{capture:!0}).stop,r3.push(l),{findSession:function(t,e){return v.find(t,e)},renewObservable:d,expireObservable:f,sessionStateUpdateObservable:p.sessionStateUpdateObservable,expire:p.expire,updateSessionState:p.updateSessionState}}(t,function(e){var n,r,u,i;return n=t,{trackingType:u="0"===(i=r=e)||"1"===i||"2"===i?r:tJ(n.sessionSampleRate)?tJ(n.sessionReplaySampleRate)?"1":"2":"0",isTracked:r5(u)}},s)).expireObservable.subscribe(function(){U.notify(9)}),tc.renewObservable.subscribe(function(){U.notify(10)}),tc.sessionStateUpdateObservable.subscribe(function(t){var e=t.previousState,n=t.newState;if(!e.forcedReplay&&n.forcedReplay){var r=tc.findSession();r&&(r.isReplayForced=!0)}}),{findTrackedSession:function(t){var e=tc.findSession(t);if(e&&r5(e.trackingType))return{id:e.id,sessionReplay:"1"===e.trackingType?1:2*!!e.isReplayForced,anonymousId:e.anonymousId}},expire:tc.expire,expireObservable:tc.expireObservable,setForcedReplay:function(){return tc.updateSessionState({forcedReplay:"1"})}});if(ev())tg=ef(),U.subscribe(13,function(t){tg.send("rum",t)});else{var tt,tu,ts,tc,tg,ty,tA,tb,tC,tw,tD=(ty=z.observable,tA=Q.expireObservable,tb=t.replica,tC=function(t,e,n,r,u,i,o){void 0===o&&(o=r7);var a=c(t,e),s=n&&c(t,n);function c(t,e){var n=e.endpoint,a=e.encoder;return o({encoder:a,request:un(n,t.batchBytesLimit,r),flushController:function(t){var e,n=t.messagesLimit,r=t.bytesLimit,u=t.durationLimit,i=t.pageExitObservable,o=t.sessionExpireObservable,a=i.subscribe(function(t){return f(t.reason)}),s=o.subscribe(function(){return f("session_expire")}),c=new tn(function(){return function(){a.unsubscribe(),s.unsubscribe()}}),l=0,d=0;function f(t){if(0!==d){var e=d,n=l;d=0,l=0,p(),c.notify({reason:t,messagesCount:e,bytesCount:n})}}function p(){td(e),e=void 0}return{flushObservable:c,get messagesCount(){return d},notifyBeforeAddMessage:function(t){l+t>=r&&f("bytes_limit"),d+=1,l+=t,void 0===e&&(e=tl(function(){f("duration_limit")},u))},notifyAfterAddMessage:function(t){void 0===t&&(t=0),l+=t,d>=n?f("messages_limit"):l>=r&&f("bytes_limit")},notifyAfterRemoveMessage:function(t){l-=t,0==(d-=1)&&p()}}}({messagesLimit:t.batchMessagesLimit,bytesLimit:t.batchBytesLimit,durationLimit:t.flushTimeout,pageExitObservable:u,sessionExpireObservable:i}),messageBytesLimit:t.messageBytesLimit})}return{flushObservable:a.flushController.flushObservable,add:function(t,e){void 0===e&&(e=!0),a.add(t),s&&e&&s.add(n.transformMessage?n.transformMessage(t):t)},upsert:function(t,e){a.upsert(t,e),s&&s.upsert(n.transformMessage?n.transformMessage(t):t,e)},stop:function(){a.stop(),s&&s.stop()}}}(t,{endpoint:t.rumEndpointBuilder,encoder:i(2)},tb&&{endpoint:tb.rumEndpointBuilder,transformMessage:function(t){return t8(t,{application:{id:tb.applicationId}})},encoder:i(3)},V,Y,tA),U.subscribe(13,function(t){"view"===t.type?tC.upsert(t,t.view.id):tC.add(t)}),ty.subscribe(function(e){return tC.add(e,t.site===tG)}),tC);P.push(function(){return tD.stop()}),tw=tD.flushObservable,z.enabled&&tJ(t.customerDataTelemetrySampleRate)&&(ul(),ud(),U.subscribe(13,function(t){S=!0,us(F.globalContextBytes,n.getOrCreateTracker(2).getBytesCount()),us(F.userContextBytes,n.getOrCreateTracker(1).getBytesCount()),us(F.featureFlagBytes,W(["view","error"],t.type)?n.getOrCreateTracker(0).getBytesCount():0)}),tw.subscribe(function(t){var e=t.bytesCount,n=t.messagesCount;S&&(D.batchCount+=1,us(D.batchBytesCount,e),us(D.batchMessagesCount,n),uc(D.globalContextBytes,F.globalContextBytes),uc(D.userContextBytes,F.userContextBytes),uc(D.featureFlagBytes,F.featureFlagBytes),ud())}),tf(uo,1e4))}var tF=(eM=eh(),new tn(function(t){if(eM){var e=new eM(j(function(){return t.notify()}));return e.observe(document,{attributes:!0,characterData:!0,childList:!0,subtree:!0}),function(){return e.disconnect()}}})),tS=(ez=tz(eP=location),new tn(function(e){var n,r,u,i,o,a=(n=t,r=c,u=em(ui("pushState"),"pushState",function(t){(0,t.onPostCall)(r)}).stop,i=em(ui("replaceState"),"replaceState",function(t){(0,t.onPostCall)(r)}).stop,o=ti(n,window,"popstate",r).stop,{stop:function(){u(),i(),o()}}).stop,s=ti(t,window,"hashchange",c).stop;function c(){if(ez.href!==eP.href){var t=tz(eP);e.notify({newLocation:t,oldLocation:ez}),ez=t}}return function(){a(),s()}})),tB=function(t,e){void 0===e&&(e=500);var n,r=eU({expireDelay:eN,maxEntries:4e3});i(uf(),t2());var u=to(t,window,["pageshow","focus","blur","visibilitychange","resume","freeze","pagehide"],function(t){var e;i("freeze"===(e=t).type?"frozen":"pagehide"===e.type?e.persisted?"frozen":"terminated":uf(),t.timeStamp)},{capture:!0}).stop;function i(t,e){void 0===e&&(e=t2()),t!==n&&(n=t,r.closeActive(e),r.add({state:n,startTime:e},e))}var o={findAll:function(t,n){var u=r.findAll(t,n);if(0!==u.length){for(var i=[],o=Math.max(0,u.length-e),a=u.length-1;a>=o;a--){var s=u[a],c=s.startTime-t;i.push({state:s.state,start:tQ(c)})}return i}},wasInPageStateAt:function(t,e){return o.wasInPageStateDuringPeriod(t,e,0)},wasInPageStateDuringPeriod:function(t,e,n){return r.findAll(e,n).some(function(e){return e.state===t})},addPageState:i,stop:function(){u(),r.stop()}};return o}(t),tk=(eV=new tn,ej=em(window,"open",function(){return eV.notify()}).stop,{observable:eV,stop:ej}),tx=tk.observable,tO=tk.stop;P.push(tO);var tV=function(t,e,n,r,u,i,o,s,c,l){var f,p,v,h,m,g,_,y,A,E,b,C,w,D,F,S,B,k,x=(p=eU({expireDelay:eN}),t.subscribe(1,function(t){var e;p.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,function(t){var e=t.endClocks;p.closeActive(e.relative)}),t.subscribe(3,function(t){var e=p.find(t.startClocks.relative);e&&t.name&&(e.name=t.name),e&&t.context&&(e.context=t.context)}),t.subscribe(10,function(){p.reset()}),{findView:function(t){return p.find(t)},stop:function(){p.stop()}}),T=function(t,e,n){var r,u=eU({expireDelay:eN});t.subscribe(1,function(t){var e=t.startClocks,i=n.href;u.add(o({url:i,referrer:r||document.referrer}),e.relative),r=i}),t.subscribe(6,function(t){var e=t.endClocks;u.closeActive(e.relative)});var i=e.subscribe(function(t){var e=t.newLocation,n=u.find();if(n){var r=t2();u.closeActive(r),u.add(o({url:e.href,referrer:n.referrer}),r)}});function o(t){return{url:t.url,referrer:t.referrer}}return{findUrl:function(t){return u.find(t)},stop:function(){i.unsubscribe(),u.stop()}}}(t,i,n),R=(t.subscribe(0,function(e){return t.notify(12,rw(e,u))}),h={findActionId:th},m=th,e.trackUserInteractions&&(h=(v=function(t,e,n,r){var u,i,o,a,s,c,l,d,f=eU({expireDelay:rC}),p=new tn;t.subscribe(10,function(){f.reset()}),t.subscribe(5,m);var v=(a=(u={onPointerDown:function(u){var i=r,o=t,a=e,s=u,c=n,l=i.enablePrivacyF
1orActionName?n1(s.target,i.defaultPrivacyLevel):n$.ALLOW;if(l!==n$.HIDDEN){var d,f=function(t,e,n){var r,u,i,o,a=t.target.getBoundingClientRect(),s=rd(t.target,n.actionNameAttribute);s&&rb(t.timeStamp,s);var c=(r=t.target,u=n.enablePrivacyForActionName,i=n.actionNameAttribute,(o=n8(r,n9)||i&&n8(r,i))?{name:o,nameSource:"custom_attribute"}:e===n$.MASK?{name:"Masked Element",nameSource:"mask_placeholder"}:rn(r,i,rt,u)||rn(r,i,re,u)||{name:"",nameSource:"blank"});return{type:"click",target:{width:Math.round(a.width),height:Math.round(a.height),selector:s},position:{x:Math.round(t.clientX-a.left),y:Math.round(t.clientY-a.top)},name:c.name,nameSource:c.nameSource}}(s,l,i),p=!1;return d=function(t){p=t.hadActivity},nP(nU(o,a,c,i),d,100),{clickActionBase:f,hadActivityOnPointerDown:function(){return p}}}},onPointerUp:function(u,i,o){!function(t,e,n,r,u,i,o,a,s,c,l){var d,f,p=function t(e,n,r,u,i){var o,a=eA(),s=t3(),c=n.add(a,s.relative),l=nO({lifeCycle:e,isChildEvent:function(t){return void 0!==t.action&&(Array.isArray(t.action.id)?W(t.action.id,a):t.action.id===a)}}),d=0,f=[],p=new tn;function v(t){0===d&&((d=1,o=t)?c.close(o-t7()):c.remove(),l.stop(),p.notify())}return{event:i,stop:v,stopObservable:p,get hasError(){return l.eventCounts.errorCount>0},get hasPageActivity(){return void 0!==o},getUserActivity:r,addFrustration:function(t){f.push(t)},startClocks:s,isStopped:function(){return 1===d||2===d},clone:function(){return t(e,n,r,u,i)},validate:function(t){if(v(),1===d){var n,r=l.eventCounts,c=r.resourceCount,p=r.errorCount,h=r.longTaskCount,m=Z({type:"click",duration:o&&(n=s.timeStamp,o-n),startClocks:s,id:a,frustrationTypes:f,counts:{resourceCount:c,errorCount:p,longTaskCount:h},events:null!=t?t:[i],event:i},u);e.notify(0,m),d=2}},discard:function(){v(),d=2}}}(e,u,c,a,s);o(p);var v=null==(f=null==a?void 0:a.target)?void 0:f.selector;v&&rb(s.timeStamp,v);var h=(d=function(t){t.hadActivity&&t.end<p.startClocks.timeStamp?p.discard():t.hadActivity?p.stop(t.end):l()?p.stop(p.startClocks.timeStamp):p.stop()},nP(nU(e,n,r,t),d,1e4)).stop,m=e.subscribe(5,function(t){var e=t.endClocks;p.stop(e.timeStamp)}),g=i.subscribe(function(){p.stop()});p.stopObservable.subscribe(function(){m.unsubscribe(),h(),g.unsubscribe()})}(r,t,e,n,f,p,h,u.clickActionBase,i,o,u.hadActivityOnPointerDown)}}).onPointerDown,s=u.onPointerUp,c={selection:!1,input:!1,scroll:!1},l=[ti(r,window,"pointerdown",function(t){ry(t)&&(i=r_(),c={selection:!1,input:!1,scroll:!1},o=a(t))},{capture:!0}),ti(r,window,"selectionchange",function(){i&&r_()||(c.selection=!0)},{capture:!0}),ti(r,window,"scroll",function(){c.scroll=!0},{capture:!0,passive:!0}),ti(r,window,"pointerup",function(t){if(ry(t)&&o){var e=c;s(o,t,function(){return e}),o=void 0}},{capture:!0}),ti(r,window,"input",function(){c.input=!0},{capture:!0})],{stop:function(){l.forEach(function(t){return t.stop()})}}).stop;return{stop:function(){m(),p.notify(),v()},actionContexts:{findActionId:function(t){return f.findAll(t)}}};function h(t){if(!d||!d.tryAppend(t)){var e=t.clone();d=function(t,e){var n,r=[],u=0;function i(t){t.stopObservable.subscribe(o),r.push(t),td(n),n=tl(a,1e3)}function o(){1===u&&r.every(function(t){return t.isStopped()})&&(u=2,e(r))}function a(){td(n),0===u&&(u=1,o())}return i(t),{tryAppend:function(t){var e,n,o,s;return 0===u&&(!(r.length>0)||(e=r[r.length-1].event,n=t.event,e.target===n.target&&100>=(o=e,s=n,Math.sqrt(Math.pow(o.clientX-s.clientX,2)+Math.pow(o.clientY-s.clientY,2)))&&e.timeStamp-n.timeStamp<=1e3)?(i(t),!0):(a(),!1))},stop:function(){a()}}}(t,function(t){var n,r;(function(t,e){if(function(t){if(t.some(function(t){return t.getUserActivity().selection||t.getUserActivity().scroll}))return!1;for(var e=0;e<t.length-2;e+=1)if(t[e+3-1].event.timeStamp-t[e].event.timeStamp<=1e3)return!0;return!1}(t))return e.addFrustration("rage_click"),t.some(rA)&&e.addFrustration("dead_click"),e.hasError&&e.addFrustration("error_click"),{isRage:!0};var n=t.some(function(t){return t.getUserActivity().selection});return t.forEach(function(t){t.hasError&&t.addFrustration("error_click"),rA(t)&&!n&&t.addFrustration("dead_click")}),{isRage:!1}})(n=t,r=e).isRage?(n.forEach(function(t){return t.discard()}),r.stop(t1()),r.validate(n.map(function(t){return t.event}
1))):(r.discard(),n.forEach(function(t){return t.validate()}))})}}function m(){d&&d.stop()}}(t,o,s,e)).actionContexts,m=v.stop),{addAction:function(e,n){t.notify(12,Z({savedCommonContext:n},rw(e,u)))},actionContexts:h,stop:m}),I=(tH(a.DELAY_VIEWPORT_COLLECTION)?_=requestAnimationFrame(function(){g=rQ()}):g=rQ(),y=rZ(e).subscribe(function(t){g=t}).unsubscribe,{get:function(){return g?{viewport:g}:void 0},stop:function(){y(),_&&cancelAnimationFrame(_)}}),O=(void 0===A&&(E=window.cookieStore?(f=e,function(t,e){return ti(f,window.cookieStore,"change",function(n){var r=J(n.changed,function(e){return e.name===t})||J(n.deleted,function(e){return e.name===t});r&&e(r.value)}).stop}):uh,A=new tn(function(t){return E(um,function(e){return t.notify(e)})})),C=eF(um)||(null==(b=window.Cypress)?void 0:b.env("traceId")),w=A.subscribe(function(t){C=t}),{get:function(){if("string"==typeof C)return{test_execution_id:C}},stop:function(){return w.unsubscribe()}});return D=R.actionContexts,(F={}).view=Z({},eT,ex),F.error=Z({"error.message":"string","error.stack":"string","error.resource.url":"string","error.fingerprint":"string"},eT,ex,eR),F.resource=Z({"resource.url":"string"},tH(a.WRITABLE_RESOURCE_GRAPHQL)?{"resource.graphql":"object"}:{},eT,ex,eR),F.action=Z({"action.target.name":"string"},eT,ex,eR),F.long_task=Z({},eT,ex),F.vital=Z({},eT,ex),d=F,(S={}).error=ey("error",e.eventRateLimiterThreshold,l),S.action=ey("action",e.eventRateLimiterThreshold,l),S.vital=ey("vital",e.eventRateLimiterThreshold,l),B=S,k=function(){var t,e,n="string"==typeof(t=window._DATADOG_SYNTHETICS_PUBLIC_ID||eF("datadog-synthetics-public-id"))?t:void 0,r="string"==typeof(e=window._DATADOG_SYNTHETICS_RESULT_ID||eF("datadog-synthetics-result-id"))?e:void 0;if(n&&r)return{test_id:n,result_id:r,injected:eS()}}(),t.subscribe(12,function(n){var u=n.startTime,i=n.rawRumEvent,o=n.domainContext,s=n.savedCommonContext,l=n.customerContext,f=x.findView(u),p=T.findUrl(u),v=r.findTrackedSession(u);if(v&&f&&p){var h,m=s||c(),g=D.findActionId(u),_=t8({_dd:{format_version:2,drift:Math.round(t0()-(h=t7(),h+performance.now())),configuration:{session_sample_rate:tY(e.sessionSampleRate,3),session_replay_sample_rate:tY(e.sessionReplaySampleRate,3)},browser_sdk_version:ev()?"5.35.1":void 0},application:{id:e.applicationId},date:t1(),service:f.service||e.service,version:f.version||e.version,source:"browser",session:{id:v.id,type:k?"synthetics":O.get()?"ci_test":"user"},view:{id:f.id,name:f.name,url:p.url,referrer:p.referrer},action:-1!==["error","resource","long_task"].indexOf(i.type)&&g?{id:g}:void 0,synthetics:k,ci_test:O.get(),display:I.get(),connectivity:et()},i);_.context=t8(m.context,f.context,l),"has_replay"in _.session||(_.session.has_replay=m.hasReplay),"view"===_.type&&(_.session.sampled_for_replay=1===v.sessionReplay),tH(a.ANONYMOUS_USER_TRACKING)&&!m.user.anonymous_id&&(m.user.anonymous_id=v.anonymousId),tj(m.user)||(_.usr=m.user),function(t,e,n,r){if(e){var u,i,o,a,s=(u=d[t.type],o=e(i=t9(t),n),X(u).forEach(function(e){var n=e[0],r=e[1],u=function(t,e){for(var n=t,r=0,u=e.split(".");r<u.length;r++){var i,o,a=u[r];if(i=n,o=a,!(ek(i)&&Object.prototype.hasOwnProperty.call(i,o)))return;n=n[a]}return n}(i,n),o=t6(u);o===r?eB(t,n,t_(u)):"object"===r&&("undefined"===o||"null"===o)&&eB(t,n,{})}),o);if(!1===s&&"view"!==t.type)return!1;!1===s&&N.warn("Can't dismiss view events using beforeSend!")}return!(null==(a=r[t.type])?void 0:a.isLimitReached())}(_,e.beforeSend,o,B)&&(tj(_.context)&&delete _.context,t.notify(13,_))}}),{viewHistory:x,pageStateHistory:u,urlContexts:T,addAction:R.addAction,actionContexts:R.actionContexts,stop:function(){R.stop(),O.stop(),I.stop(),T.stop(),x.stop(),u.stop()}}}(U,t,location,Q,tB,tS,tF,tx,r,V),tW=tV.viewHistory,tK=tV.urlContexts,tX=tV.actionContexts,t4=tV.addAction,ee=tV.stop;P.push(ee),ea.drain();var en=(eK=location,U.subscribe(4,function(n){var r,u,i,o,a,s,c,l,d,f,p,v,h,m,g,_,y,A,E,b,C,w,D,F,S;return U.notify(12,(r=n,u=t,i=H,o=e,a=tB,w=o.getReplayStats(r.id),D=i.findFeatureFlagEvaluations(r.startClocks.relative),F=a.findAll(r.startClocks.relative,r.duration),S={_dd:{document_version:r.documentVersion,replay_stats:w,page_states:F,configuration:{start_session_replay_recording_manually:u.startSessionReplayRecordingManually}},date:r.startClocks.timeStamp,type:"view",view:{action:{count:r.eventCounts.actionCount},frustration:{count:r.eventCounts.frustrationCount},cumulative_layout_shift:null==(s=r.commonViewMetrics.cumulativeLayoutShift)?void 0:s.value,cumulative_layout_shift_time:tQ(null==(c=r.commonViewMetrics.cumulativeLayoutShift)?void 0:c.time),cumulative_layout_shift_target_selector:null==(l=r.commonViewMetrics.cumulativeLayoutShift)?void 0:l.targetSelector,first_byte:tQ(null==(d=r.initialViewMetrics.navigationTimings)?void 0:d.firstByte),dom_complete:tQ(null==(f=r.initialViewMetrics.navigationTimings)?void 0:f.domComplete),dom_content_loaded:tQ(null==(p=r.initialViewMetrics.navigationTimings)?void 0:p.domContentLoaded),dom_interactive:tQ(null==(v=r.initialViewMetrics.navigationTimings)?void 0:v.domInteractive),error:{count:r.eventCounts.errorCount},first_contentful_paint:tQ(r.initialViewMetrics.firstContentfulPaint),first_input_delay:tQ(null==(h=r.initialViewMetrics.firstInput)?void 0:h.delay),first_input_time:tQ(null==(m=r.initialViewMetrics.firstInput)?void 0:m.time),first_input_target_selector:null==(g=r.initialViewMetrics.firstInput)?void 0:g.targetSelector,interaction_to_next_paint:tQ(null==(_=r.commonViewMetrics.interactionToNextPaint)?void 0:_.value),interaction_to_next_paint_time:tQ(null==(y=r.commonViewMetrics.interactionToNextPaint)?void 0:y.time),interaction_to_next_paint_target_selector:null==(A=r.commonViewMetrics.interactionToNextPaint)?void 0:A.targetSelector,is_active:r.isActive,name:r.name,largest_contentful_paint:tQ(null==(E=r.initialViewMetrics.largestContentfulPaint)?void 0:E.value),largest_contentful_paint_target_selector:null==(b=r.initialViewMetrics.largestContentfulPaint)?void 0:b.targetSelector,load_event:tQ(null==(C=r.initialViewMetrics.navigationTimings)?void 0:C.loadEvent),loading_time:nN(tQ(r.commonViewMetrics.loadingTime)),loading_type:r.loadingType,long_task:{count:r.eventCounts.longTaskCount},resource:{count:r.eventCounts.resourceCount},time_spent:tQ(r.duration)},feature_flags:D&&!tj(D)?D:void 0,display:r.commonViewMetrics.scroll?{scroll:{max_depth:r.commonViewMetrics.scroll.maxDepth,max_depth_scroll_top:r.commonViewMetrics.scroll.maxDepthScrollTop,max_scroll_height:r.commonViewMetrics.scroll.maxScrollHeight,max_scroll_height_time:tQ(r.commonViewMetrics.scroll.maxScrollHeightTime)}}:void 0,session:{has_replay:!!w||void 0,is_active:!!r.sessionIsActive&&void 0},privacy:{replay_level:u.defaultPrivacyLevel}},tj(r.customTimings)||(S.view.custom_timings=function(t,e){for(var n={},r=0,u=Object.keys(t);r<u.length;r++){var i=u[r];n[i]=e(t[i])}return n}(r.customTimings,tQ)),{rawRumEvent:S,startTime:r.startClocks.relative,domainContext:{location:r.location}}))}),function(t,e,n,r,u,i,o,a){var s,c=new Set,l=d("initial_load",t5(),a);function d(i,o,a){var s=function(t,e,n,r,u,i,o,a){void 0===o&&(o=t3());var s,c,l,d,f,p,v,h,m,g,y,A,E,b,w,D,F,S,B,k,x,T,R,I,O,L,M,P,U,z,V,q,H,G,W,K,Y,X,$,Z,Q,tt,te,tr,tu,ta=eA(),ts=new tn,tc={},tm=0,tg=tz(u),t_=rV(),ty=!0;a&&(tt=a.name,te=a.service||void 0,tr=a.version||void 0,a.context&&(tu=a.context,t_.setContext(tu)));var tA={id:ta,name:tt,startClocks:o,service:te,version:tr,context:tu};t.notify(1,tA),t.notify(2,tA);var tE=tv(tM,3e3,{leading:!1}),tb=tE.throttled,tC=tE.cancel,tw=(h={},g=(m=function(t,e,n,r,u,i,o){var a,s="initial_load"===u,c=!0,l=[],d=rH(r);function f(){if(!c&&!s&&l.length>0){var t=Math.max.apply(Math,l);t<d.timeStamp&&o(t)}}var p=(a=function(t){if(c){var e;c=!1,t.hadActivity&&l.push((e=i.timeStamp,t.end-e)),f()}},nP(nU(t,e,n,r),a,void 0)).stop;return{stop:function(){p(),d.stop()}
1,setLoadEvent:function(t){s&&(s=!1,l.push(t),f())}}}(t,e,n,r,i,v=o,function(t){h.loadingTime=t,tb()})).stop,y=m.setLoadEvent,S=(A=function(t){h.scroll=t},void 0===E&&(s=r,void 0===c&&(c=1e3),E=new tn(function(t){if(window.ResizeObserver){var e=tv(function(){var e,n;t.notify((e=r$(),n=rQ().height,{scrollHeight:Math.round((document.scrollingElement||document.documentElement).scrollHeight),scrollDepth:Math.round(n+e),scrollTop:e}))},c,{leading:!1,trailing:!0}),n=document.scrollingElement||document.documentElement,r=new ResizeObserver(j(e.throttled));n&&r.observe(n);var u=ti(s,window,"scroll",e.throttled,{passive:!0});return function(){e.cancel(),r.disconnect(),u.stop()}}})),b=0,w=0,D=0,F=E.subscribe(function(t){var e=t.scrollDepth,n=t.scrollTop,r=t.scrollHeight,u=!1;(e>b&&(b=e,u=!0),r>w)&&(w=r,D=t2()-v.relative,u=!0);u&&A({maxDepth:Math.min(b,w),maxDepthScrollTop:n,maxScrollHeight:w,maxScrollHeightTime:D})}),{stop:function(){return F.unsubscribe()}}).stop,B=function(t,e,n){if(!(nM(_.LAYOUT_SHIFT)&&"WeakRef"in window))return{stop:th};var r,u,i,o,a,s,c=0;n({value:0});var l=(i=0,o=0,{update:function(t){var e;return void 0===r||t.startTime-u>=1e3||t.startTime-r>=5e3?(r=u=t.startTime,o=i=t.value,e=!0):(i+=t.value,u=t.startTime,(e=t.value>o)&&(o=t.value)),{cumulatedValue:i,isMaxValue:e}}}),d=nL(t,{type:_.LAYOUT_SHIFT,buffered:!0}).subscribe(function(r){for(var u=0;u<r.length;u++){var i=r[u];if(!i.hadRecentInput&&!(i.startTime<e)){var o=l.update(i),d=o.cumulatedValue;if(o.isMaxValue){var f=function(t){var e;if(t)return null==(e=J(t,function(t){return!!t.node&&nW(t.node)}))?void 0:e.node}(i.sources);a=f?new WeakRef(f):void 0,s=i.startTime-e}if(d>c){c=d;var f=null==a?void 0:a.deref();n({value:tY(c,4),targetSelector:f&&rd(f,t.actionNameAttribute),time:s})}}}});return{stop:function(){d.unsubscribe()}}}(r,v.relative,function(t){h.cumulativeLayoutShift=t,tb()}).stop,x=(k=function(t,e,n){if(!(nM(_.EVENT)&&window.PerformanceEventTiming&&"interactionId"in PerformanceEventTiming.prototype))return{getInteractionToNextPaint:function(){},setViewEnd:th,stop:th};var r,u,i,o,a,s=(r=n,"interactionCount"in performance||C||(C=new window.PerformanceObserver(j(function(t){t.getEntries().forEach(function(t){t.interactionId&&(rW=Math.min(rW,t.interactionId),rG=((rK=Math.max(rK,t.interactionId))-rW)/7+1)})}))).observe({type:"event",buffered:!0,durationThreshold:0}),u="initial_load"===r?0:rJ(),i={stopped:!1},{getViewInteractionCount:function(){return i.stopped?i.interactionCount:rJ()-u},stopViewInteractionCount:function(){i={stopped:!0,interactionCount:rJ()-u}}}),c=s.getViewInteractionCount,l=s.stopViewInteractionCount,d=1/0,f=function(t){var e=[];function n(){e.sort(function(t,e){return e.duration-t.duration}).splice(10)}return{process:function(t){var r=e.findIndex(function(e){return t.interactionId===e.interactionId}),u=e[e.length-1];-1!==r?t.duration>e[r].duration&&(e[r]=t,n()):(e.length<10||t.duration>u.duration)&&(e.push(t),n())},estimateP98Interaction:function(){var n=Math.min(e.length-1,Math.floor(t()/50));return e[n]}}}(c),p=-1;function v(n){for(var r,u,i=0;i<n.length;i++){var s=n[i];s.interactionId&&s.startTime>=e&&s.startTime<=d&&f.process(s)}var c=f.estimateP98Interaction();c&&c.duration!==p&&(p=c.duration,a=c.startTime-e,r=c.startTime,u=rE.get(r),rE.delete(r),!(o=u)&&c.target&&nW(c.target)&&(o=rd(c.target,t.actionNameAttribute)))}var h=nL(t,{type:_.FIRST_INPUT,buffered:!0}).subscribe(v),m=nL(t,{type:_.EVENT,durationThreshold:40,buffered:!0}).subscribe(v);return{getInteractionToNextPaint:function(){return p>=0?{value:Math.min(p,rY),targetSelector:o,time:a}:c()?{value:0}:void 0},setViewEnd:function(t){d=t,l()},stop:function(){m.unsubscribe(),h.unsubscribe()}}}(r,v.relative,i)).stop,T=k.getInteractionToNextPaint,{stop:function(){g(),B(),S()},stopINPTracking:x,setLoadEvent:y,setViewEnd:k.setViewEnd,getCommonViewMetrics:function(){return h.interactionToNextPaint=T(),h}}),tD=tw.setLoadEvent,tF=tw.setViewEnd,tS=tw.stop,tB=tw.stopINPTracking,tk=tw.getCommonViewMetrics,tx="initial_load"===i?(R={},L=(I=function(t){tD(t.loadEvent),R.navigationTimings=t,tb()},void 0===O&&(O=rM),l=r,d=function(){var t,e=O();e.loadEventEnd<=0||I({domComplete:(t=e).domComplete,domContentLoaded:t.domContentLoadedEventEnd,domInteractive:t.domInteractive,loadEvent:t.loadEventEnd,firstByte:t.responseStart>=0&&t.responseStart<=t2()?t.responseStart:void 0})},p=rI(l,"complete",function(){f=tl(function(){return d()})}).stop,{stop:function(){p(),td(f)}}).stop,M=rH(r),U=(P=function(t){R.firstContentfulPaint=t,tb()},{stop:nL(r,{type:_.PAINT,buffered:!0}).subscribe(function(t){var e=J(t,function(t){return"first-contentful-paint"===t.name&&t.startTime<M.timeStamp&&t.startTime<rj});e&&P(e.startTime)}).unsubscribe}).stop,K=(z=window,V=function(t){R.largestContentfulPaint=t,tb()},q=1/0,H=to(r,z,["pointerdown","keydown"],function(t){q=t.timeStamp},{capture:!0,once:!0}).stop,G=0,W=nL(r,{type:_.LARGEST_CONTENTFUL_PAINT,buffered:!0}).subscribe(function(t){var e=function(t,e){for(var n=t.length-1;n>=0;n-=1){var r=t[n];if(e(r,n,t))return r}}(t,function(t){return t.entryType===_.LARGEST_CONTENTFUL_PAINT&&t.startTime<q&&t.startTime<M.timeStamp&&t.startTime<rq&&t.size>G});if(e){var n=void 0;e.element&&(n=rd(e.element,r.actionNameAttribute)),V({value:e.startTime,targetSelector:n}),G=e.size}}),{stop:function(){H(),W.unsubscribe()}}).stop,$=(Y=function(t){R.firstInput=t,tb()},X=nL(r,{type:_.FIRST_INPUT,buffered:!0}).subscribe(function(t){var e=J(t,function(t){return t.startTime<M.timeStamp});if(e){var n,u=(n=e.startTime,e.processingStart-n),i=void 0;e.target&&nW(e.target)&&(i=rd(e.target,r.actionNameAttribute)),Y({delay:u>=0?u:0,time:e.startTime,targetSelector:i})}}),{stop:function(){X.unsubscribe()}}).stop,{stop:function(){L(),U(),K(),$(),M.stop()},initialViewMetrics:R}):{stop:th,initialViewMetrics:{}},tT=tx.stop,tR=tx.initialViewMetrics,tI={stop:(Z=nO({lifeCycle:t,isChildEvent:function(t){return t.view.id===ta},onChange:tb})).stop,eventCounts:Z.eventCounts},tN=tI.stop,tO=tI.eventCounts,tL=tf(tM,r0);function tM(){tC(),tm+=1;var e=void 0===Q?t1():Q.timeStamp;t.notify(4,{customTimings:tc,documentVersion:tm,id:ta,name:tt,service:te,version:tr,context:t_.getContext(),loadingType:i,location:tg,startClocks:o,commonViewMetrics:tk(),initialViewMetrics:tR,duration:e-o.timeStamp,isActive:void 0===Q,sessionIsActive:ty,eventCounts:tO})}return tM(),t_.changeObservable.subscribe(function(){t.notify(3,{id:ta,name:tt,context:t_.getContext(),startClocks:o}),tb()}),{get name(){return tt},service:te,version:tr,contextManager:t_,stopObservable:ts,end:function(e){var n,r,u=this;void 0===e&&(e={}),Q||(Q=null!=(n=e.endClocks)?n:t3(),ty=null==(r=e.sessionIsActive)||r,t.notify(5,{endClocks:Q}),t.notify(6,{endClocks:Q}),tp(tL),tF(Q.relative),tS(),tM(),tl(function(){u.stop()},r1))},stop:function(){tT(),tN(),tB(),ts.notify()},addTiming:function(t,e){if(!Q){var n,r,u=e<t$?e:e-o.timeStamp;tc[(r=(n=t).replace(/[^a-zA-Z0-9-_.@$]/g,"_"))!==n&&N.warn("Invalid timing name: ".concat(n,", sanitized to: ").concat(r)),r]=u,tb()}}
1,setViewName:function(t){tt=t,tM()}}}(e,n,r,u,t,i,o,a);return c.add(s),s.stopObservable.subscribe(function(){c.delete(s)}),s}return e.subscribe(10,function(){l=d("route_change",void 0,{name:l.name,service:l.service,version:l.version,context:l.contextManager.getContext()})}),e.subscribe(9,function(){l.end({sessionIsActive:!1})}),e.subscribe(11,function(t){t.reason===ta.UNLOADING&&l.end()}),o&&(s=i.subscribe(function(t){var e,n,r;e=t.oldLocation,n=t.newLocation,e.pathname===n.pathname&&(""!==(r=n.hash.substring(1))&&document.getElementById(r)||r2(n.hash)===r2(e.hash))||(l.end(),l=d("route_change"))})),{addTiming:function(t,e){void 0===e&&(e=t1()),l.addTiming(t,e)},startView:function(t,e){l.end({endClocks:e}),l=d("route_change",e,t)},setViewContext:function(t){l.contextManager.setContext(t)},setViewContextProperty:function(t,e){l.contextManager.setContextProperty(t,e)},setViewName:function(t){l.setViewName(t)},stop:function(){s&&s.unsubscribe(),l.end(),c.forEach(function(t){return t.stop()})}}}(eK,U,tF,tx,t,tS,!t.trackViewsManually,u)),ei=en.addTiming,ed=en.startView,eg=en.setViewName,e_=en.setVie
1wContext,eE=en.setViewContextProperty,eb=en.stop;P.push(eb);var eD=function(t,e,n,r,u){void 0===r&&(r=function(){var t=[];function e(e){var r;if(e.didTimeout){var u=performance.now();r=function(){return 30-(performance.now()-u)}}else r=e.timeRemaining.bind(e);for(;r()>0&&t.length;)t.shift()();t.length&&n()}function n(){rx(e,{timeout:1e3})}return{push:function(e){1===t.push(e)&&n()}}}()),void 0===u&&(u=rP),t.subscribe(8,function(t){o(function(){return function(t,e,n){var r=function(t){if(performance&&"getEntriesByName"in performance){var e=performance.getEntriesByName(t.url,"resource");if(e.length&&"toJSON"in e[0]){var n=e.filter(function(t){return!rT.has(t)}).filter(function(t){return eZ(t)&&eQ(t)}).filter(function(e){var n,r,u;return n=e,r=t.startClocks.relative,u=rR({startTime:t.startClocks.relative,duration:t.duration}),n.startTime>=r-1&&rR(n)<=u+1});if(1===n.length)return rT.add(n[0]),n[0].toJSON()}}}(t),u=r?tZ(r.startTime):t.startClocks,i=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}}}(t,e);if(e.trackResources||i){var o,a,s,c="xhr"===t.type?"xhr":"fetch",l=r?rz(r):void 0,d=(o=n,a=u,s=t.duration,o.wasInPageStateDuringPeriod("frozen",a.relative,s)?void 0:tQ(s)),f=t8({date:u.timeStamp,resource:{id:eA(),type:c,duration:d,method:t.method,status_code:t.status,protocol:r&&e1(r),url:e7(t.url)?e6(t.url):t.url,delivery_type:r&&e2(r)},type:"resource",_dd:{discarded:!e.trackResources}},i,l);return{startTime:u.relative,rawRumEvent:f,domainContext:{performanceEntry:r,xhr:t.xhr,response:t.response,requestInput:t.input,requestInit:t.init,error:t.error,isAborted:t.isAborted,handlingStack:t.handlingStack}}}}(t,e,n)})});var i=nL(e,{type:_.RESOURCE,buffered:!0}).subscribe(function(t){for(var n=function(t){"xmlhttprequest"!==t.initiatorType&&"fetch"!==t.initiatorType&&o(function(){return rU(t,e)})},r=0;r<t.length;r++)n(t[r])});function o(e){r.push(function(){var n=e();n&&t.notify(12,n)})}return u(e,function(t){o(function(){return rU(t,e)})}),{stop:function(){i.unsubscribe()}}}(U,t,tB).stop;if(P.push(eD),tH(a.LONG_ANIMATION_FRAME)){if(t.trackLongTasks){var eM,eP,ez,eV,ej,eK,eJ,eY=(eJ=nL(t,{type:_.LONG_ANIMATION_FRAME,buffered:!0}).subscribe(function(t){for(var e=0;e<t.length;e++){var n=t[e],r=tZ(n.startTime),u={date:r.timeStamp,long_task:{id:eA(),entry_type:"long-animation-frame",duration:tQ(n.duration),blocking_duration:tQ(n.blockingDuration),first_ui_event_timestamp:tQ(n.firstUIEventTimestamp),render_start:tQ(n.renderStart),style_and_layout_start:tQ(n.styleAndLayoutStart),start_time:tQ(n.startTime),scripts:n.scripts.map(function(t){return{duration:tQ(t.duration),pause_duration:tQ(t.pauseDuration),forced_style_and_layout_duration:tQ(t.forcedStyleAndLayoutDuration),start_time:tQ(t.startTime),execution_start:tQ(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}})},type:"long_task",_dd:{discarded:!1}};U.notify(12,{rawRumEvent:u,startTime:r.relative,domainContext:{performanceEntry:n}})}}),{stop:function(){return eJ.unsubscribe()}}).stop;P.push(eY)}}else nL(t,{type:_.LONG_TASK,buffered:!0}).subscribe(function(e){for(var n=0;n<e.length;n++){var r=e[n];if(r.entryType!==_.LONG_TASK||!t.trackLongTasks)break;var u=tZ(r.startTime),i={date:u.timeStamp,long_task:{id:eA(),entry_type:"long-task",duration:tQ(r.duration)},type:"long_task",_dd:{discarded:!1}};U.notify(12,{rawRumEvent:i,startTime:u.relative,domainContext:{performanceEntry:r}})}});var eX=(l=B=new tn,(f=[x.error].map(function(t){var e;return rF[t]||(rF[t]=(e=t,new tn(function(t){var n=T[e];return T[e]=function(){for(var r=[],u=0;u<arguments.length;u++)r[u]=arguments[u];n.apply(console,r);var i=tR();q(function(){t.notify(function(t,e,n){var r,u=t.map(function(t){var e;return"string"==typeof(e=t)?t_(e):tP(e)?tN(tE(e)):tm(t_(e),void 0,2)}).join(" ");if(e===x.error){var i=J(t,tP);r={stack:i?tI(tE(i)):void 0,fingerprint:tM(i),causes:i?tU(i,"console"):void 0,startClocks:t3(),message:u,source:"console",handling:"handled",handlingStack:n}}return{api:e,message:u,error:r,handlingStack:n}}(r,e,i))})},function(){T[e]=n}}))),rF[t]}),tr.apply(void 0,f)).subscribe(function(t){return l.notify(t.error)}),(p=k=function(t,e){var n=tL({stackTrace:t,originalError:e,startClocks:t3(),nonErrorPrefix:"Uncaught",source:"source",handling:"unhandled"});B.notify(n)},em(window,"onerror",function(t){var e,n,r,u,i,o,a=t.parameters,s=a[0],c=a[1],l=a[2],d=a[3],f=a[4];if(tP(f))o=tE(f);else{o={name:(e=s,"[object String]"===({}).toString.call(e)&&(r=(n=tT.exec(e))[1],u=n[2]),i={name:r,message:u}).name,message:i.message,stack:[{url:c,column:d,line:l}]}}p(o,null!=f?f:s)})).stop,(h=k,em(window,"onunhandledrejection",function(t){var e=t.parameters[0].reason||"Empty reason";h(tE(e),e)})).stop,(I=[],W(R=[rS,"intervention"],rS)&&I.push((m=t,new tn(function(t){return ti(m,document,"securitypolicyviolation",function(e){var n,r;t.notify((n=e,r="'".concat(n.blockedURI,"' blocked by '").concat(n.effectiveDirective,"' directive"),rB({type:n.effectiveDirective,message:"".concat(rS,": ").concat(r),originalError:n,csp:{dis
1position:n.disposition},stack:rk(n.effectiveDirective,n.originalPolicy?"".concat(r,' of the policy "').concat(eC(n.originalPolicy,100,"..."),'"'):"no policy",n.sourceFile,n.lineNumber,n.columnNumber)})))}).stop}))),(O=R.filter(function(t){return t!==rS})).length&&I.push((g=O,new tn(function(t){if(window.ReportingObserver){var e=j(function(e,n){return e.forEach(function(e){var n,r,u;return t.notify((r=(n=e).type,rB({type:(u=n.body).id,message:"".concat(r,": ").concat(u.message),originalError:n,stack:rk(u.id,u.message,u.sourceFile,u.lineNumber,u.columnNumber)})))})}),n=new window.ReportingObserver(e,{types:g,buffered:!0});return n.observe(),function(){n.disconnect()}}}))),tr.apply(void 0,I)).subscribe(function(t){return B.notify(t)}),B.subscribe(function(t){return U.notify(14,{error:t})}),y=U,A=tB,E=H,y.subscribe(14,function(t){var e,n,r,u,i,o,a=t.error,s=t.customerContext,c=t.savedCommonContext;y.notify(12,Z({customerContext:s,savedCommonContext:c},(e=a,n=A,r=E,u={date:e.startClocks.timeStamp,error:{id:eA(),message:e.message,source:e.source,stack:e.stack,handling_stack:e.handlingStack,type:e.type,handling:e.handling,causes:e.causes,source_type:"browser",fingerprint:e.fingerprint,csp:e.csp},type:"error",view:{in_foreground:n.wasInPageStateAt("active",e.startClocks.relative)}},(i=r.findFeatureFlagEvaluations(e.startClocks.relative))&&!tj(i)&&(u.feature_flags=i),o={error:e.originalError,handlingStack:e.handlingStack},{rawRumEvent:u,startTime:e.startClocks.relative,domainContext:o})))}),{addError:function(t,e){var n=t.error,r=t.handlingStack,u=t.startClocks,i=t.context,o=tL({stackTrace:tP(n)?tE(n):void 0,originalError:n,handlingStack:r,startClocks:u,nonErrorPrefix:"Provided",source:"custom",handling:"handled"});y.notify(14,{customerContext:i,savedCommonContext:e,error:o})}}).addError;L={clearTracingIfNeeded:nx,traceFetch:function(e){return nT(t,e,Q,function(t){var n;if(!(0,G._)(e.input,Request)||(null==(n=e.init)?void 0:n.headers)){e.init=tz(e.init);var r=[];(0,G._)(e.init.headers,Headers)?e.init.headers.forEach(function(t,e){r.push([e,t])}):Array.isArray(e.init.headers)?e.init.headers.forEach(function(t){r.push(t)}):e.init.headers&&Object.keys(e.init.headers).forEach(function(t){r.push([t,e.init.headers[t]])}),e.init.headers=r.concat(X(t))}else e.input=new Request(e.input),Object.keys(t).forEach(function(n){e.input.headers.append(n,t[n])})})},traceXhr:function(e,n){return nT(t,e,Q,function(t){Object.keys(t).forEach(function(e){n.setRequestHeader(e,t[e])})})}},function(t,e,n){var r;(!v&&(r=e,v=new tn(function(t){var e=em(XMLHttpRequest.prototype,"open",eG).stop,n=em(XMLHttpRequest.prototype,"send",function(e){!function(t,e,n){var r=t.target,u=t.handlingStack,i=eH.get(r);if(i){i.state="start",i.startClocks=t3(),i.isAborted=!1,i.xhr=r,i.handlingStack=u;var o=!1,a=em(r,"onreadystatechange",function(){r.readyState===XMLHttpRequest.DONE&&s()}).stop,s=function(){if(c(),a(),!o){var t;o=!0,i.state="complete",t=i.startClocks.timeStamp,i.duration=t1()-t,i.status=r.status,n.notify(tz(i))}},c=ti(e,r,"loadend",s).stop;n.notify(i)}}(e,r,t)},{computeHandlingStack:!0}).stop,u=em(XMLHttpRequest.prototype,"abort",eW).stop;return function(){e(),n(),u()}})),v).subscribe(function(e){if(e3(e.url))switch(e.state){case"start":n.traceXhr(e,e.xhr),e.requestIndex=nI(),t.notify(7,{requestIndex:e.requestIndex,url:e.url});break;case"complete":n.clearTracingIfNeeded(e),t.notify(8,{duration:e.duration,method:e.method,requestIndex:e.requestIndex,spanId:e.spanId,startClocks:e.startClocks,status:e.status,traceId:e.traceId,traceSampled:e.traceSampled,type:"xhr",url:e.url,xhr:e.xhr,isAborted:e.isAborted,handlingStack:e.handlingStack})}})}(U,t,L),b=U,w=L,eq().subscribe(function(t){if(e3(t.url))switch(t.state){case"start":w.traceFetch(t),t.requestIndex=nI(),b.notify(7,{requestIndex:t.requestIndex,url:t.url});break;case"resolve":var e,n,r,u;e=t,n=function(e){w.clearTracingIfNeeded(t),b.notify(8,{duration:e,method:t.method,requestIndex:t.requestIndex,responseType:t.responseType,spanId:t.spanId,startClocks:t.startClocks,status:t.status,traceId:t.traceId,traceSampled:t.traceSampled,type:"fetch",url:t.url,response:t.response,init:t.init,input:t.input,isAborted:t.isAborted,handlingStack:t.handlingStack})},(u=e.response&&function(t){try{return t.clone()}catch(t){return}}(e.response))&&u.body?function(t,e,n){var r=t.getReader(),u=[],i=0;function o(){if(r.cancel().catch(th),n.collectStreamBody){if(1===u.length)a=u[0];else{var t,o,a=new Uint8Array(i),s=0;u.forEach(function(t){a.set(t,s),s+=t.length})}t=a.slice(0,n.bytesLimit),o=a.length>n.bytesLimit}e(void 0,t,o)}!function t(){r.read().then(j(function(e){e.done?o():(n.collectStreamBody&&u.push(e.value),(i+=e.value.length)>n.bytesLimit?o():t())}),j(function(t){return e(t)}))}()}(u.body,function(){var t;n((t=e.startClocks.timeStamp,t1()-t))},{bytesLimit:1/0,collectStreamBody:!1}):n((r=e.startClocks.timeStamp,t1()-r))}});var e$=function(t,e,n){function r(n){var r,u,i;e.wasInPageStateDuringPeriod("frozen",n.startClocks.relative,n.duration)||t.notify(12,(u=!0,i={date:(r=n).startClocks.timeStamp,vital:{id:eA(),type:r.type,name:r.name,duration:tQ(r.duration),description:r.description},type:"vital"},u&&(i._dd={vital:{computed_value:!0}}),{rawRumEvent:i,startTime:r.startClocks.relative,customerContext:r.context,domainContext:{}}))}return{addDurationVital:r,startDurationVital:function(t,e){return void 0===e&&(e={}),up(n,t,e)},stopDurationVital:function(t,e){void 0===e&&(e={}),uv(r,n,t,e)}}}(U,tB,c),e0=(M=t.applicationId,{get:function(t){var e=tW.findView(t),n=tK.findUrl(t),r=Q.findTrackedSession(t);if(r&&e&&n){var u=tX.findActionId(t);return{application_id:M,session_id:r.id,user_action:u?{id:u}:void 0,view:{id:e.id,name:e.name,referrer:n.referrer,url:n.url}}}}});return{addAction:t4,addError:eX,addTiming:ei,addFeatureFlagEvaluation:H.addFeatureFlagEvaluation,startView:ed,setViewContext:e_,setViewContextProperty:eE,setVie
1wName:eg,lifeCycle:U,viewHistory:tW,session:Q,stopSession:function(){return Q.expire()},getInternalContext:e0.get,startDurationVital:e$.startDurationVital,stopDurationVital:e$.stopDurationVital,addDurationVital:e$.addDurationVital,stop:function(){P.forEach(function(t){return t()})}}},function(t){if(ev()&&!ep("records")||!u6())return{start:th,stop:th,getReplayStats:function(){},onRumStart:th,isRecording:function(){return!1},getSessionReplayLink:function(){}};var e,n=(e=0,{strategy:{start:function(){e=1},stop:function(){e=2},isRecording:function(){return!1},getSessionReplayLink:th},shouldStartImmediately:function(t){return 1===e||0===e&&!t.startSessionReplayRecordingManually}}),r=n.strategy,u=n.shouldStartImmediately;return{start:function(t){return r.start(t)},stop:function(){return r.stop()},getSessionReplayLink:function(){return r.getSessionReplayLink()},onRumStart:function(e,n,i,o,a){var s;r=function(t,e,n,r,u,i){var o,a=0;function s(s){var c,l,d,f,p,v=n.findTrackedSession();if(c=v,l=s,!c||0===c.sessionReplay&&(!l||!l.force)){a=1;return}2!==(d=a)&&3!==d&&(a=2,rI(t,"interactive",function(){if(2===a){var s=i();if(!s){a=0;return}o=u(e,t,n,r,s).stop,a=3}}),f=v,(p=s)&&p.force&&0===f.sessionReplay&&n.setForcedReplay())}function c(){0!==a&&3===a&&(null==o||o()),a=0}return e.subscribe(9,function(){(2===a||3===a)&&(c(),a=1)}),e.subscribe(11,function(t){t.reason===ta.UNLOADING&&c()}),e.subscribe(10,function(){1===a&&s()}),{start:s,stop:c,getSessionReplayLink:function(){var e,u,i,o,s,c,l,d,f,p,v,h,m,g,_,y;return e=0!==a,h=u=n.findTrackedSession(),m=e,i=u6()?h?0===h.sessionReplay?"incorrect-session-plan":m?void 0:"replay-not-started":"rum-not-tracked":"browser-not-supported",o=r.findView(),c=(s={viewContext:o,errorType:i,session:u}).session,l=s.viewContext,d=s.errorType,f=c?c.id:"no-session-id",p=[],void 0!==d&&p.push("error-type=".concat(d)),l&&(p.push("seed=".concat(l.id)),p.push("from=".concat(l.startClocks.timeStamp))),_=(g=t).site,y=g.subdomain||function(t){switch(t.site){case tW:case"datadoghq.eu":return"app";case tG:return"dd";default:return}}(g),v="https://".concat(y?"".concat(y,"."):"").concat(_),"".concat(v).concat("/rum/replay/sessions/".concat(f),"?").concat(p.join("&"))},isRecording:function(){return 3===a}}}(n,e,i,o,t,function(){return!s&&(null!=a||(a=u5(n,"Datadog Session Replay",function(){r.stop()},void 0)),a&&(s=u1(n,a,1))),s}),u(n)&&r.start()},isRecording:function(){return 3===u3.status&&r.isRecording()},getReplayStats:function(t){return 3===u3.status?null==B?void 0:B.get(t):void 0}}}(function(t,e,n,r,u,i){var o,a=[],s=i||un(e.sessionReplayEndpointBuilder,6e4,function(e){t.notify(14,{error:e}),ec("Error reported to customer",{"error.message":e.message})});if(ev())o=(c=ef(),{addRecord:function(t){var e=r.findView();c.send("record",t,e.id)}}).addRecord;else{var c,l=function(t,e,n,r){var u={status:0,nextSegmentCreationReason:"init"},i=t.subscribe(2,function(){a("view_change")}).unsubscribe,o=t.subscribe(11,function(t){a(t.reason)}).unsubscribe;function a(t){1===u.status&&(u.segment.flush(function(e,r){var u,i,o,a,s=(u=r.output,i=r.rawBytesCount,(o=new FormData).append("segment",new Blob([u],{type:"application/octet-stream"}),"".concat(e.session.id,"-").concat(e.start)),a=JSON.stringify(Z({raw_segment_size:i,compressed_segment_size:u.byteLength},e)),o.append("event",new Blob([a],{type:"application/json"})),{data:o,bytesCount:u.byteLength});W(Y(ta),t)?n.sendOnExit(s):n.send(s)}),td(u.expirationTimeoutId)),u="stop"!==t?{status:0,nextSegmentCreationReason:t}:{status:2}}return{addRecord:function(t){if(2!==u.status){if(0===u.status){var n=e();if(!n)return;u={status:1,segment:function(t){var e=t.context,n=t.creationReason,r=t.encoder,u=0,i=e.view.id,o=Z({start:1/0,end:-1/0,creation_reason:n,records_count:0,has_full_snapshot:!1,index_in_view:uw(i).segments_count,source:"browser"},e);return uw(i).segments_count+=1,{addRecord:function(t,e){o.start=Math.min(o.start,t.timestamp),o.end=Math.max(o.end,t.timestamp),o.records_count+=1,o.has_full_snapshot||(o.has_full_snapshot=2===t.type);var n=r.isEmpty?'{"records":[':",";r.write(n+JSON.stringify(t),function(t){e(u+=t)})},flush:function(t){if(r.isEmpty)throw Error("Empty segment flushed");r.write("],".concat(JSON.stringify(o).slice(1),"\n")),r.finish(function(e){var n,r;n=o.view.id,r=e.rawBytesCount,uw(n).segments_total_raw_size+=r,t(o,e)})}}}({encoder:r,context:n,creationReason:u.nextSegmentCreationReason}),expirationTimeoutId:tl(function(){a("segment_duration_limit")},5e3)}}u.segment.addRecord(t,function(t){t>6e4&&a("segment_bytes_limit")})}},stop:function(){a("stop"),i(),o()}}}
1(t,function(){var t=e.applicationId,u=n,i=r,o=u.findTrackedSession(),a=i.findView();return o&&a?{application:{id:t},session:{id:o.id},view:{id:a.id}}:void 0},s,u);o=l.addRecord,a.push(l.stop)}var d=function(t){var e,n,r,u,i,o,a,s,c,l,d,f,p,v,h=t.emit,m=t.configuration,g=t.lifeCycle;if(!h)throw Error("emit function is required");var _=function(e){var n;h(e),te("record",{record:e}),n=t.viewHistory.findView().id,uw(n).records_count+=1},y=(e=new WeakMap,{set:function(t,n){(t!==document||document.scrollingElement)&&e.set(t===document?document.scrollingElement:t,n)},get:function(t){return e.get(t)},has:function(t){return e.has(t)}}),A=u0(m,_,y),E=(n=b,(r=function(t){return t.forEach(function(t){return _(t)})})((u=function(t,e){void 0===t&&(t=t1()),void 0===e&&(e={status:0,elementsScrollPositions:y,shadowRootsController:A});var n=rQ(),r=n.width,u=[{data:{height:n.height,href:window.location.href,width:r},type:4,timestamp:t},{data:{has_focus:document.hasFocus()},type:6,timestamp:t},{data:{node:uz(document,{serializationContext:e,parentNodePrivacyLevel:m.defaultPrivacyLevel,configuration:m}),initialOffset:{left:rX(),top:r$()}},type:2,timestamp:t}];return window.visualViewport&&u.push({data:uW(window.visualViewport),type:8,timestamp:t}),u})()),{stop:g.subscribe(2,function(t){n(),r(u(t.startClocks.timeStamp,{shadowRootsController:A,status:1,elementsScrollPositions:y}))}).unsubscribe}).stop;function b(){A.flush(),w.flush()}var C=(i=new WeakMap,o=1,{getIdForEvent:function(t){return i.has(t)||i.set(t,o++),i.get(t)}}),w=uQ(_,m,A,document),D=[w,(s=(a=tv(function(t){var e=uH(t);if(uF(e)){var n=uJ(t);if(!n)return;var r={id:uS(e),timeOffset:0,x:n.x,y:n.y};_(uK(uq(t)?6:1,{positions:[r]}))}},50,{trailing:!1})).throttled,c=a.cancel,l=to(m,document,["mousemove","touchmove"],s,{capture:!0,passive:!0}).stop,{stop:function(){l(),c()}}),to(m,document,Object.keys(uY),function(t){var e,n=uH(t);if(n1(n,m.defaultPrivacyLevel)!==n$.HIDDEN&&uF(n)){var r=uS(n),u=uY[t.type];if(6!==u&&5!==u){var i=uJ(t);if(!i)return;e={id:r,type:u,x:i.x,y:i.y}}else e={id:r,type:u};_(Z({id:C.getIdForEvent(t)},uK(2,e)))}},{capture:!0,passive:!0}),uX(m,_,y,document),(d=rZ(m).subscribe(function(t){_(uK(4,t))}),{stop:function(){d.unsubscribe()}}),uZ(m,_),to(m,document,["play","pause"],function(t){var e=uH(t);e&&n1(e,m.defaultPrivacyLevel)!==n$.HIDDEN&&uF(e)&&_(uK(7,{id:uS(e),type:1*("play"!==t.type)}))},{capture:!0,passive:!0}),function(t){function e(t,e){t&&uF(t.ownerNode)&&e(uS(t.ownerNode))}var n=[em(CSSStyleSheet.prototype,"insertRule",function(n){var r=n.target,u=n.parameters,i=u[0],o=u[1];e(r,function(e){return t(uK(8,{id:e,adds:[{rule:i,index:o}]}))})}),em(CSSStyleSheet.prototype,"deleteRule",function(n){var r=n.target,u=n.parameters[0];e(r,function(e){return t(uK(8,{id:e,removes:[{index:u}]}))})})];function r(r){n.push(em(r.prototype,"insertRule",function(n){var r=n.target,u=n.parameters,i=u[0],o=u[1];e(r.parentStyleSheet,function(e){var n=u$(r);n&&(n.push(o||0),t(uK(8,{id:e,adds:[{rule:i,index:n}]})))})}),em(r.prototype,"deleteRule",function(n){var r=n.target,u=n.parameters[0];e(r.parentStyleSheet,function(e){var n=u$(r);n&&(n.push(u),t(uK(8,{id:e,removes:[{index:n}]})))})}))}return"u">typeof CSSGroupingRule?r(CSSGroupingRule):(r(CSSMediaRule),r(CSSSupportsRule)),{stop:function(){n.forEach(function(t){return t.stop()})}}}(_),to(m,window,["focus","blur"],function(){_({data:{has_focus:document.hasFocus()},type:6,timestamp:t1()})}),function(t,e){var n=window.visualViewport;if(!n)return{stop:th};var r=tv(function(){e({data:uW(n),type:8,timestamp:t1()})},200,{trailing:!1}),u=r.throttled,i=r.cancel,o=to(t,n,["resize","scroll"],u,{capture:!0,passive:!0}).stop;return{stop:function(){o(),i()}}}(m,_),(f=g.subscribe(12,function(t){var e,n;"action"===t.rawRumEvent.type&&"click"===t.rawRumEvent.action.type&&(null==(n=null==(e=t.rawRumEvent.action.frustration)?void 0:e.type)?void 0:n.length)&&"events"in t.domainContext&&t.domainContext.events&&t.domainContext.events.length&&_({timestamp:t.rawRumEvent.date,type:9,data:{frustrationTypes:t.rawRumEvent.action.frustration.type,recordIds:t.domainContext.events.map(function(t){return C.getIdForEvent(t)})}})}),{stop:function(){f.unsubscribe()}}),(p=function(t){b(),_(t)}
1,v=g.subscribe(5,function(){p({timestamp:t1(),type:7})}),{stop:function(){v.unsubscribe()}})];return{stop:function(){A.stop(),D.forEach(function(t){return t.stop()}),E()},flushMutations:b,shadowRootsController:A}}({emit:o,configuration:e,lifeCycle:t,viewHistory:r}).stop;return a.push(d),{stop:function(){a.forEach(function(t){return t()})}}}),{startDeflateWorker:u5,createDeflateEncoder:u1});r=tt(),(i=r[u="DD_RUM"])&&!i.q&&i.version&&N.warn("SDK is loaded more than once. This is unsupported and might have unexpected behavior."),r[u]=u4,i&&i.q&&i.q.forEach(function(t){return P(t,"onReady callback threw an error:")()}),t.s(["datadogRum",0,u4],631900)}]);
2
3//# sourceMappingURL=0-nsi_zxp0i3y.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.