1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,835330,939948,t=>{"use strict";var e,n,r,i,a,o,s,c,u,l,d,f,p,v,h,m,g,_,y,b,w,S,k,E,x,C,T,A,R=t.i(314411),I={log:"log",debug:"debug",info:"info",warn:"warn",error:"error"},N=console,O={};Object.keys(I).forEach(function(t){O[t]=N[t]});var L="Datadog Browser SDK:",M={debug:O.debug.bind(N,L),log:O.log.bind(N,L),info:O.info.bind(N,L),warn:O.warn.bind(N,L),error:O.error.bind(N,L)},D="https://docs.datadoghq.com",P="".concat(D,"/real_user_monitoring/browser/troubleshooting"),U="More details:";function z(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){M.error(e,t)}}}var B=function(t,e,n){if(n||2==arguments.length)for(var r,i=0,a=e.length;i<a;i++)!r&&i in e||(r||(r=Array.prototype.slice.call(e,0,i)),r[i]=e[i]);return t.concat(r||Array.prototype.slice.call(e))},F=!1;function V(t){F=t}function H(t){return function(){return q(t,this,arguments)}}function q(t,e,n){try{return t.apply(e,n)}catch(t){if(j(t),o)try{o(t)}catch(t){j(t)}}}function j(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];F&&M.error.apply(M,B(["[MONITOR]"],t,!1))}function G(t,e){return -1!==t.indexOf(e)}function Z(t){if(Array.from)return Array.from(t);var e=[];if(t instanceof Set)t.forEach(function(t){return e.push(t)});else for(var n=0;n<t.length;n++)e.push(t[n]);return e}function K(t,e){for(var n=0;n<t.length;n+=1){var r=t[n];if(e(r,n))return r}}function W(t,e){Array.prototype.forEach.call(t,e)}function X(t){return Object.keys(t).map(function(e){return t[e]})}function Y(t){return Object.keys(t).map(function(e){return[e,t[e]]})}function J(t,e){return t.slice(0,e.length)===e}function $(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}function Q(){if("object"==typeof globalThis)return globalThis;Object.defineProperty(Object.prototype,"_dd_temp_",{get:function(){return this},configurable:!0});var t=_dd_temp_;return delete Object.prototype._dd_temp_,"object"!=typeof t&&(t="object"==typeof self?self:"object"==typeof window?window:{}),t}function tt(t,e){var n=window.__ddBrowserSdkExtensionCallback;n&&n({type:t,payload:e})}var te=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 tn(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return new te(function(e){var n=t.map(function(t){return t.subscribe(function(t){return e.notify(t)})});return function(){return n.forEach(function(t){return t.unsubscribe()})}})}function tr(t,e){var n,r=Q();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,i){return ta(t,e,[n],r,i)}function ta(t,e,n,r,i){var a=void 0===i?{}:i,o=a.once,s=a.capture,c=a.passive,u=H(function(e){(e.isTrusted||e.__ddIsTrusted||t.allowUntrustedEvents)&&(o&&f(),r(e))}),l=c?{capture:s,passive:c}:s,d=tr(e,"addEventListener");function f(){var t=tr(e,"removeEventListener");n.forEach(function(n){return t.call(e,n,u,l)})}return n.forEach(function(t){return d.call(e,t,u,l)}),{stop:f}}var to={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 tu(t,e){return tr(Q(),"setTimeout")(H(t),e)}function tl(t){tr(Q(),"clearTimeout")(t)}function td(t,e){return tr(Q(),"setInterval")(H(t),e)}function tf(t){tr(Q(),"clearInterval")(t)}function tp(t,e,n){var r,i,a=!n||void 0===n.leading||n.leading,o=!n||void 0===n.trailing||n.trailing,s=!1;return{throttled:function(){for(var n=[],c=0;c<arguments.length;c++)n[c]=arguments[c];if(s){r=n;return}a?t.apply(void 0,n):r=n,s=!0,i=tu(function(){o&&r&&t.apply(void 0,r),s=!1,r=void 0},e)},cancel:function(){tl(i),s=!1,r=void 0}}}function tv(){}function th(t,e,n){if("object"!=typeof t||null===t)return JSON.stringify(t);var r=tm(Object.prototype),i=tm(Array.prototype),a=tm(Object.getPrototypeOf(t)),o=tm(t);try{return JSON.stringify(t,e,n)}catch(t){return"<error: unable to serialize object>"}finally{r(),i(),a(),o()}}function tm(t){var e=t.toJSON;return e?(delete t.toJSON,function(){t.toJSON=e}):tv}function tg(t,e){void 0===e&&(e=225280);var n=tm(Object.prototype),r=tm(Array.prototype),i=[],a=new WeakMap,o=t_(t,"$",void 0,i,a),s=JSON.stringify(o),c=s?s.length:0;if(c>e)return void ty(e,"discarded",t);for(;i.length>0&&c<e;){var u=i.shift(),l=0;
1if(Array.isArray(u.source))for(var d=0;d<u.source.length;d++){var f=t_(u.source[d],u.path,d,i,a);if(void 0!==f?c+=JSON.stringify(f).length:c+=4,c+=l,l=1,c>e){ty(e,"truncated",t);break}u.target[d]=f}else for(var d in u.source)if(Object.prototype.hasOwnProperty.call(u.source,d)){var f=t_(u.source[d],u.path,d,i,a);if(void 0!==f&&(c+=JSON.stringify(f).length+l+d.length+3,l=1),c>e){ty(e,"truncated",t);break}u.target[d]=f}}return n(),r(),o}function t_(t,e,n,r,i){var a,o=function(t){if(t&&"function"==typeof t.toJSON)try{return t.toJSON()}catch(t){}return t}(t);if(!o||"object"!=typeof o){return"bigint"==typeof(a=o)?"[BigInt] ".concat(a.toString()):"function"==typeof a?"[Function] ".concat(a.name||"unknown"):"symbol"==typeof a?"[Symbol] ".concat(a.description||a.toString()):a}var s=function(t){try{if(t instanceof Event)return{isTrusted:t.isTrusted};var e=Object.prototype.toString.call(t).match(/\[object (.*)\]/);if(e&&e[1])return"[".concat(e[1],"]")}catch(t){}return"[Unserializable]"}(o);if("[Object]"!==s&&"[Array]"!==s&&"[Error]"!==s)return s;if(i.has(t))return"[Reference seen at ".concat(i.get(t),"]");var c=void 0!==n?"".concat(e,".").concat(n):e,u=Array.isArray(o)?[]:{};return i.set(t,c),r.push({source:o,target:u,path:c}),u}function ty(t,e,n){M.warn("The data provided has been ".concat(e," as it is over the limit of ").concat(t," characters:"),n)}function tb(t){var e=[],n=tR(t,"stack"),r=String(t);return n&&J(n,r)&&(n=n.slice(r.length)),n&&n.split("\n").forEach(function(t){var n=function(t){var e=tk.exec(t);if(e){var n=e[2]&&0===e[2].indexOf("native"),r=e[2]&&0===e[2].indexOf("eval"),i=tE.exec(e[2]);return r&&i&&(e[2]=i[1],e[3]=i[2],e[4]=i[3]),{args:n?[e[2]]:[],column:e[4]?+e[4]:void 0,func:e[1]||"?",line:e[3]?+e[3]:void 0,url:n?void 0:e[2]}}}(t)||function(t){var e=tx.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=tC.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=tT.exec(t);if(e){var n=e[3]&&e[3].indexOf(" > eval")>-1,r=tA.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:tR(t,"message"),name:tR(t,"name"),stack:e}}var tw="((?:file|https?|blob|chrome-extension|native|eval|webpack|snippet|<anonymous>|\\w+\\.|\\/).*?)",tS="(?::(\\d+))",tk=RegExp("^\\s*at (.*?) ?\\(".concat(tw).concat(tS,"?").concat(tS,"?\\)?\\s*$"),"i"),tE=new RegExp("\\((\\S*)".concat(tS).concat(tS,"\\)")),tx=RegExp("^\\s*at ?".concat(tw).concat(tS,"?").concat(tS,"??\\s*$"),"i"),tC=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i,tT=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)((?:file|https?|blob|chrome|webpack|resource|capacitor|\[native).*?|[^@]*bundle)(?::(\d+))?(?::(\d+))?\s*$/i,tA=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i;function tR(t,e){if("object"==typeof t&&t&&e in t){var n=t[e];return"string"==typeof n?n:void 0}}var tI=/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?([\s\S]*)$/;function tN(){var t,e=Error();if(!e.stack)try{throw e}catch(t){tv()}return q(function(){var n=tb(e);n.stack=n.stack.slice(2),t=tO(n)}),t}function tO(t){var e=tL(t);return t.stack.forEach(function(t){var n="?"===t.func?"<anonymous>":t.func,r=t.args&&t.args.length>0?"(".concat(t.args.join(", "),")"):"",i=t.line?":".concat(t.line):"",a=t.line&&t.column?":".concat(t.column):"";e+="\n at ".concat(n).concat(r," @ ").concat(t.url).concat(i).concat(a)}),e}function tL(t){return"".concat(t.name||"Error",": ").concat(t.message)}var tM="No stack, consider using an instance of Error";function tD(t){var e,n,r,i,a,o,s=t.stackTrace,c=t.originalError,u=t.handlingStack,l=t.startClocks,d=t.nonErrorPrefix,f=t.source,p=t.handling,v=c instanceof Error,h=(e=s,n=v,r=d,i=c,(null==e?void 0:e.message)&&(null==e?void 0:e.name)?e.message:n?"Empty message":"".concat(r," ").concat(th(tg(i)))),m=(a=v,void 0!==(o=s)&&(a||o.stack.length>0&&(o.stack.length>1||void 0!==o.stack[0].url)))?tO(s):tM,g=v?tU(c,f):void 0,_=s?s.name:void 0,y=tP(c);return{startClocks:l,source:f,handling:p,handlingStack:u,originalError:c,type:_,message:h,stack:m,causes:g,fingerprint:y}}function tP(t){return t instanceof Error&&"dd_fingerprint"in t?String(t.dd_fingerprint):void 0}function tU(t,e){for(var n=t,r=[];(null==n?void 0:n.cause)instanceof Error&&r.length<10;){var i=tb(n.cause);r.push({message:n.cause.message,source:e,type:null==i?void 0:i.name,stack:i&&tO(i)}),n=n.cause}return r.length?r:void 0}function tz(t){return $({},t)}function tB(t,e){return Object.keys(t).some(function(n){return t[n]===e})}function tF(t){return 0===Object.keys(t).length}(e=s||(s={})).WRITABLE_RESOURCE_GRAPHQL="writable_resource_graphql",e.TOLERANT_RESOURCE_TIMINGS="tolerant_resource_timings",e.REMOTE_CONFIGURATION="remote_configuration",e.UPDATE_VIEW_NAME="update_view_name",e.NULL_INP_TELEMETRY="null_inp_telemetry",e.
1LONG_ANIMATION_FRAME="long_animation_frame",e.VIEW_SPECIFIC_CONTEXT="view_specific_context";var tV=new Set;function tH(t){return tV.has(t)}var tq="datad0g.com",tj="datadoghq.com",tG="pci.browser-intake-datadoghq.com";function tZ(t){return 0!==t&&100*Math.random()<=t}function tK(t,e){return+t.toFixed(e)}function tW(t){return"number"==typeof t}var tX=31536e6;function tY(t){var e,n,r;return{relative:t,timeStamp:(e=t,(n=t$()-performance.now())>t3()?Math.round(function(t,e){return t+e}(n,e)):(r=e,Math.round(t3()+r)))}}function tJ(t){return tW(t)?tK(1e6*t,0):t}function t$(){return new Date().getTime()}function tQ(){return t$()}function t0(){return performance.now()}function t1(){return{relative:t0(),timeStamp:tQ()}}function t2(){return{relative:0,timeStamp:t3()}}function t3(){return void 0===c&&(c=performance.timing.navigationStart),c}function t5(t){return null===t?"null":Array.isArray(t)?"array":typeof t}function t6(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("object"!=typeof e||null===e)return e;if(e instanceof Date)return new Date(e.getTime());if(e instanceof 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 i=Array.isArray(t)?t:[],a=0;a<e.length;++a)i[a]=t6(i[a],e[a],n);return i}var o="object"===t5(t)?t:{};for(var s in e)Object.prototype.hasOwnProperty.call(e,s)&&(o[s]=t6(o[s],e[s],n));return o}}function t4(t){return t6(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 i=e[r];null!=i&&(t=t6(t,i))}return t}function t9(){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 t7(t,e){var n=t.indexOf(e);n>=0&&t.splice(n,1)}function et(){var t=[];return{add:function(e){t.push(e)>500&&t.splice(0,1)},remove:function(e){t7(t,e)},drain:function(e){t.forEach(function(t){return t(e)}),t.length=0}}}var ee="configuration",en="usage",er=["https://www.datadoghq-browser-agent.com","https://www.datad0g-browser-agent.com","https://d3uc069fcn7uxw.cloudfront.net","https://d20xtzwzcl0ceb.cloudfront.net","http://localhost","<anonymous>"],ei=["ddog-gov.com"],ea=et(),eo=function(t){ea.add(function(){return eo(t)})};function es(t,e){j(I.debug,t,e),eo($({type:"log",message:t,status:"debug"},e))}function ec(t,e){eo($({type:"log",status:"error"},function(t){if(t instanceof Error){var e,n=tb(t);return{error:{kind:n.name,stack:tO(((e=n).stack=e.stack.filter(function(t){return!t.url||er.some(function(e){return J(t.url,e)})}),e))},message:n.message}}return{error:{stack:tM},message:"".concat("Uncaught"," ").concat(th(t))}}(t),e))}function eu(t){eo({type:en,usage:t})}function el(){var t=Q().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 ed(t){var e=el();return!!e&&G(e.getCapabilities(),t)}function ef(t){void 0===t&&(t=null==(e=Q().location)?void 0:e.hostname);var e,n=el();return!!n&&n.getAllowedWebViewHosts().some(function(e){var n,r;return t===e||(n=t,r=".".concat(e),n.slice(-r.length)===r)})}function ep(){var t,e=window;if(e.Zone&&(t=tr(e,"MutationObserver"),e.MutationObserver&&t===e.MutationObserver)){var n=tr(new e.MutationObserver(tv),"originalInstance");t=n&&n.constructor}return t||(t=e.MutationObserver),t}function ev(t){return eh(t,location.href).href}function eh(t,e){var n=function(){if(void 0===u)try{var t=new em("http://test/path");u="http://test/path"===t.href}catch(t){u=!1}return u?em: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(th({url:t,base:e})))}if(void 0===e&&!/:/.test(t))throw Error("Invalid URL: '".concat(t,"'"));var r=document,i=r.createElement("a");if(void 0!==e){var a=(r=document.implementation.createHTMLDocument("")).createElement("base");a.href=e,r.head.appendChild(a),r.body.appendChild(i)}return i.href=t,i}var em=URL,eg="initial_document",e_=[["document",function(t){return eg===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 G(["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 G(["audio","video"],t)||null!==/\.(mp3|mp4)$/i.exec(e)}]];function ey(){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 eb(t){if(tH(s.TOLERANT_RESOURCE_TIMINGS))return!0;var e,n=ey(t.startTime,t.fetchStart,t.domainLookupStart,t.domainLookupEnd,t.connectStart,t.connectEnd,t.requestStart,t.responseStart,t.responseEnd),r=!((e=t).redirectEnd>e.startTime)||ey(t.startTime,t.redirectStart,t.redirectEnd,t.fetchStart);return n&&r}function ew(t,e,n){if(t<=e&&e<=n)return{duration:tJ(n-e),start:tJ(e-t)}}function eS(t,e){return e&&!t.isIntakeUrl(e)}
1var ek=/data:(.+)?(;base64)?,/g;function eE(t){if(t.length<=24e3);else if("data:"===t.substring(0,5))return t=t.substring(0,24e3),!0;return!1}function ex(t){return"".concat(t.match(ek)[0],"[...]")}function eC(t,e){return new te(function(n){if(window.PerformanceObserver){var r,i,a=function(e){var r,i=(r=t,e.filter(function(t){var e,n;return e=r,(n=t).entryType!==l.RESOURCE||!!eS(e,n.name)}));i.length>0&&n.notify(i)},o=!0,s=new PerformanceObserver(H(function(t){o?i=tu(function(){return a(t.getEntries())}):a(t.getEntries())}));try{s.observe(e)}catch(t){if(G([l.RESOURCE,l.NAVIGATION,l.LONG_TASK,l.PAINT],e.type)){e.buffered&&(i=tu(function(){return a(performance.getEntriesByType(e.type))}));try{s.observe({entryTypes:[e.type]})}catch(t){return}}}return o=!1,r=t,!d&&void 0!==window.performance&&"getEntries"in performance&&"addEventListener"in performance&&(d=ti(r,performance,"resourcetimingbufferfull",function(){performance.clearResourceTimings()})),function(){s.disconnect(),tl(i)}}})}function eT(t){return window.PerformanceObserver&&void 0!==PerformanceObserver.supportedEntryTypes&&PerformanceObserver.supportedEntryTypes.includes(t)}function eA(){return void 0!==window.performance&&"getEntries"in performance}function eR(t,e){var n=e.filter(function(t){return tB(l,t.entryType)});n.length&&t.notify(0,n)}(n=l||(l={})).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";var eI="agent";function eN(t,e,n){var r=0,i=!1;return{isLimitReached:function(){if(0===r&&tu(function(){r=0},6e4),(r+=1)<=e||i)return i=!1,!1;if(r===e+1){i=!0;try{n({message:"Reached max number of ".concat(t,"s by minute: ").concat(e),source:eI,startClocks:t1()})}finally{i=!1}}return!0}}}function eO(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,eO)}var eL=/([\w-]+)\s*=\s*([^;]+)/g;function eM(t,e){for(eL.lastIndex=0;;){var n=eL.exec(t);if(n){if(n[1]===e)return n[2]}else break}}function eD(t,e,n){void 0===n&&(n="");var r=t.charCodeAt(e-1),i=r>=55296&&r<=56319?e+1:e;return t.length<=i?t:"".concat(t.slice(0,i)).concat(n)}function eP(t,e,n,r){var i=new Date;i.setTime(i.getTime()+n);var a="expires=".concat(i.toUTCString()),o=r&&r.crossSite?"none":"strict",s=r&&r.domain?";domain=".concat(r.domain):"",c=r&&r.secure?";secure":"",u=r&&r.partitioned?";partitioned":"";document.cookie="".concat(t,"=").concat(e,";").concat(a,";path=/;samesite=").concat(o).concat(s).concat(c).concat(u)}function eU(t){return eM(document.cookie,t)}function ez(t){return f||(f=function(t){var e=new Map;for(eL.lastIndex=0;;){var n=eL.exec(t);if(n)e.set(n[1],n[2]);else break}return e}(document.cookie)),f.get(t)}function eB(){return!!(window._DATADOG_SYNTHETICS_INJECTS_RUM||ez("datadog-synthetics-injects-rum"))}function eF(t,e,n){for(var r=t,i=e.split("."),a=0;a<i.length;a+=1){var o=i[a];if(!eV(r))return;a!==i.length-1?r=r[o]:r[o]=n}}function eV(t){return"object"===t5(t)}var eH={"view.name":"string","view.url":"string","view.referrer":"string"},eq={context:"object"},ej={service:"string",version:"string"},eG=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}(),eZ=144e5,eK=9e5,eW=1/0;function eX(t){var e=t.expireDelay,n=t.maxEntries,r=[],i=td(function(){for(var t=t0()-e;r.length>0&&r[r.length-1].endTime<t;)r.pop()},6e4);return{add:function(t,e){var i={value:t,startTime:e,endTime:eW,remove:function(){t7(r,i)},close:function(t){i.endTime=t}};return n&&r.length>=n&&r.pop(),r.unshift(i),i},find:function(t,e){void 0===t&&(t=eW),void 0===e&&(e={returnInactive:!1});for(var n=0,i=r;n<i.length;n++){var a=i[n];if(a.startTime<=t){if(e.returnInactive||t<=a.endTime)return a.value;break}}},closeActive:function(t){var e=r[0];e&&e.endTime===eW&&e.close(t)},findAll:function(t,e){void 0===t&&(t=eW),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(){tf(i)}}}function eY(t,e,n,r){var i=(void 0===r?{}:r).computeHandlingStack,a=t[e];if("function"!=typeof a)if(!(e in t&&J(e,"on")))return{stop:tv};else a=tv;var o=!1,s=function(){if(o)return a.apply(this,arguments);var t,e=Z(arguments);q(n,null,[{target:this,parameters:e,onPostCall:function(e){t=e},handlingStack:i?tN():void 0}]);var r=a.apply(this,e);return t&&q(t,null,[r]),r};return t[e]=s,{stop:function(){o=!0,t[e]===s&&(t[e]=a)}}}function eJ(t,e,n){var r=Object.getOwnPropertyDescriptor(t,e);if(!r||!r.set||!r.configurable)return{stop:tv};var i=function(t,e){tu(function(){i!==tv&&n(t,e)},0)},a=function(t){r.set.call(this,t),i(this,t)};return Object.defineProperty(t,e,{set:a}),{stop:function(){var n;(null==(n=Object.getOwnPropertyDescriptor(t,e))?void 0:n.set)===a&&Object.defineProperty(t,e,r),i=tv}}}function e$(){return h||(h=new te(function(t){if(window.fetch)return eY(window,"fetch",function(e){var n,r,i,a,o,s,c,u,l,d,f;return n=e,r=t,i=n.parameters,a=n.onPostCall,o=n.handlingStack,s=i[0],void 0===(u=(c=i[1])&&c.method)&&s instanceof Request&&(u=s.method),l=void 0!==u?String(u).toUpperCase():"GET",d=s instanceof Request?s.url:ev(String(s)),f={state:"start",init:c,input:s,method:l,startClocks:t1(),url:d,handlingStack:o},void(r.notify(f),i[0]=f.input,i[1]=f.init,a(function(t){var e=r,n=t,i=f;function a(t){i.state="resolve",$(i,t),e.notify(i)}n.then(H(function(t){a({response:t,responseType:t.type,status:t.status,isAborted:!1})}),H(function(t){var e,n;a({status:0,isAborted:(null==(n=null==(e=i.init)?void 0:e.signal)?void 0:n.aborted)||t instanceof DOMException&&t.code===DOMException.ABORT_ERR,error:t})}))}))},{computeHandlingStack:!0}).stop})),h}var eQ=new WeakMap;function e0(t){var e=t.target,n=t.parameters,r=n[0],i=n[1];eQ.set(e,{state:"open",method:String(r).toUpperCase(),url:ev(String(i))})}function e1(t){var e=t.target,n=eQ.get(e);n&&(n.isAborted=!0)}function e2(t){var e=t5(t);return"string"===e||"function"===e||t instanceof RegExp}function e3(t,e,n){return void 0===n&&(n=!1),t.some(function(t){try{if("function"==typeof t)return t(e);if(t instanceof RegExp)return t.test(e);
1if("string"==typeof t)return n?J(e,t):t===e}catch(t){M.error(t)}return!1})}function e5(){var t,e,n;return null!=g?g:(void 0===t&&(t=window),n=t.navigator.userAgent,g=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 e6="_dd_s",e4=/^([a-zA-Z]+)=([a-z0-9-]+)$/;function e8(){return{isExpired:"1"}}function e9(t){var e;return void 0!==t.isExpired||!((void 0===(e=t).created||t$()-Number(e.created)<eZ)&&(void 0===e.expire||t$()<Number(e.expire)))}function e7(t){t.expire=String(t$()+eK)}function nt(t){return Y(t).map(function(t){var e=t[0],n=t[1];return"".concat(e,"=").concat(n)}).join("&")}function ne(t){var e,n={};return(e=t)&&(-1!==e.indexOf("&")||e4.test(e))&&t.split("&").forEach(function(t){var e=e4.exec(t);if(null!==e){var r=e[1],i=e[2];n[r]=i}}),n}function nn(){return ne(eU(e6))}function nr(t){localStorage.setItem(e6,nt(t))}function ni(){return ne(localStorage.getItem(e6))}function na(){nr(e8())}var no=[];function ns(t,e,n){void 0===n&&(n=0);var r,i,a=e.isLockEnabled,o=e.persistSession,s=e.expireSession,c=function(t){return o($({},t,{lock:i}))},u=function(){var t=e.retrieveSession(),n=t.lock;return t.lock&&delete t.lock,{session:t,lock:n}};if(_||(_=t),t!==_)return void no.push(t);if(a&&n>=100)return void nu(e);var l=u();if(a&&(l.lock||(i=eO(),c(l.session),(l=u()).lock!==i)))return void nc(t,e,n);var d=t.process(l.session);if(a&&(l=u()).lock!==i)return void nc(t,e,n);if(d&&(e9(d)?s():(e7(d),a?c(d):o(d))),a&&!(d&&e9(d))){if((l=u()).lock!==i)return void nc(t,e,n);o(l.session),d=l.session}null==(r=t.after)||r.call(t,d||l.session),nu(e)}function nc(t,e,n){tu(function(){ns(t,e,n+1)},10)}function nu(t){_=void 0;var e=no.shift();e&&ns(e,t)}var nl={GRANTED:"granted",NOT_GRANTED:"not-granted"};function nd(t,e,n){var r=function(t,e){var n="/api/v2/".concat(e),r=t.proxy;if("string"==typeof r){var i=ev(r);return function(t){return"".concat(i,"?ddforward=").concat(encodeURIComponent("".concat(n,"?").concat(t)))}}if("function"==typeof r)return function(t){return r({path:n,parameters:t})};var a=function(t,e){var n=e.site,r=void 0===n?tj:n,i=e.internalAnalyticsSubdomain;if("logs"===t&&e.usePciIntake&&r===tj)return tG;if(i&&r===tj)return"".concat(i,".").concat(tj);if("dd0g-gov.com"===r)return"http-intake.logs.".concat(r);var a=r.split("."),o=a.pop();return"browser-intake-".concat(a.join("-"),".").concat(o)}(e,t);return function(t){return"https://".concat(a).concat(n,"?").concat(t)}}(t,e);return{build:function(i,a){var o,s,c,u,l,d,f,p,v,h,m;return r((o=t,s=e,c=n,u=i,l=a,d=o.clientToken,f=o.internalAnalyticsSubdomain,p=l.retry,v=l.encoding,h=["sdk_version:".concat("5.26.0"),"api:".concat(u)].concat(c),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.26.0")),"dd-evp-origin=browser","dd-request-id=".concat(eO())],v&&m.push("dd-evp-encoding=".concat(v)),"rum"===s&&m.push("batch_time=".concat(tQ())),f&&m.reverse(),m.join("&")))},urlPrefix:r(""),trackType:e}}function nf(t,e){var n,r=200-t.length-1;(e.length>r||(n=e,function(){try{return RegExp("[\\p{Ll}]","u"),!0}catch(t){return!1}}()&&RegExp("[^\\p{Ll}\\p{Lo}0-9_:./-]","u").test(n)))&&M.warn("".concat(t," value doesn't meet tag requirements and will be sanitized. ").concat(U," ").concat(D,"/getting_started/tagging/#defining-tags"));var i=e.replace(/,/g,"_");return"".concat(t,":").concat(i)}var np={ALLOW:"allow",MASK:"mask",MASK_USER_INPUT:"mask-user-input"},nv={ALL:"all",SAMPLED:"sampled"};function nh(t,e){return null==t||"string"==typeof t||(M.error("".concat(e," must be defined as a string")),!1)}function nm(t,e){return void 0===t||!!(tW(t)&&t>=0&&t<=100)||(M.error("".concat(e," Sample Rate should be a number between 0 and 100")),!1)}function ng(t){0!==t.status||t.isAborted||(t.traceId=void 0,t.spanId=void 0,t.traceSampled=void 0)}function n_(t,e,n,r){if(void 0!==ny()&&n.findTrackedSession()){var i,a,o,s,c,u=K(t.allowedTracingUrls,function(t){return e3([t.match],e.url,!0)});!u||(e.traceSampled=!tW(t.traceSampleRate)||tZ(t.traceSampleRate),(e.traceSampled||t.traceContextInjection===nv.ALL)&&(e.traceId=nb(),e.spanId=nb(),r((i=e.traceId,a=e.spanId,o=e.traceSampled,s=u.propagatorTypes,c={}
1,s.forEach(function(t){switch(t){case"datadog":$(c,{"x-datadog-origin":"rum","x-datadog-parent-id":a.toDecimalString(),"x-datadog-sampling-priority":o?"1":"0","x-datadog-trace-id":i.toDecimalString()});break;case"tracecontext":$(c,{traceparent:"00-0000000000000000".concat(i.toPaddedHexadecimalString(),"-").concat(a.toPaddedHexadecimalString(),"-0").concat(o?"1":"0")});break;case"b3":$(c,{b3:"".concat(i.toPaddedHexadecimalString(),"-").concat(a.toPaddedHexadecimalString(),"-").concat(o?"1":"0")});break;case"b3multi":$(c,{"X-B3-TraceId":i.toPaddedHexadecimalString(),"X-B3-SpanId":a.toPaddedHexadecimalString(),"X-B3-Sampled":o?"1":"0"})}}),c))))}}function ny(){return window.crypto||window.msCrypto}function nb(){var t=new Uint8Array(8);function e(e){return 0x1000000*t[e]+(t[e+1]<<16)+(t[e+2]<<8)+t[e+3]}function n(t){var n=e(0),r=e(4),i="";do{var a=n%t*0x100000000+r;n=Math.floor(n/t),r=Math.floor(a/t),i=(a%t).toString(t)+i}while(n||r)return i}return ny().getRandomValues(t),t[0]=127&t[0],{toDecimalString:function(){return n(10)},toPaddedHexadecimalString:function(){var t=n(16);return Array(17-t.length).join("0")+t}}}var nw=1;function nS(){var t=nw;return nw+=1,t}function nk(t){return tW(t)&&t<0?void 0:t}function nE(t){var e=t.lifeCycle,n=t.isChildEvent,r=t.onChange,i=void 0===r?tv:r,a={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":a.errorCount+=1,i();break;case"action":a.actionCount+=1,t.action.frustration&&(a.frustrationCount+=t.action.frustration.type.length),i();break;case"long_task":a.longTaskCount+=1,i();break;case"resource":(null==(e=t._dd)?void 0:e.discarded)||(a.resourceCount+=1,i())}});return{stop:function(){o.unsubscribe()},eventCounts:a}}function nx(t,e,n){var r,i=!1,a=tu(H(function(){return u({hadActivity:!1})}),100),o=void 0!==n?tu(H(function(){return u({hadActivity:!0,end:tQ()})}),n):void 0,s=t.subscribe(function(t){var e=t.isBusy;tl(a),tl(r);var n=tQ();e||(r=tu(H(function(){return u({hadActivity:!0,end:n})}),100))}),c=function(){i=!0,tl(a),tl(r),tl(o),s.unsubscribe()};function u(t){i||(c(),e(t))}return{stop:c}}function nC(t,e,n){return new te(function(r){var i,a=[],o=0;a.push(e.subscribe(c),eC(n,{type:l.RESOURCE}).subscribe(function(t){t.some(function(t){return!nT(n,t.name)})&&c()}),t.subscribe(7,function(t){nT(n,t.url)||(void 0===i&&(i=t.requestIndex),o+=1,c())}),t.subscribe(8,function(t){nT(n,t.url)||void 0===i||t.requestIndex<i||(o-=1,c())}));var s=eY(window,"open",c).stop;return function(){s(),a.forEach(function(t){return t.unsubscribe()})};function c(){r.notify({isBusy:o>0})}})}function nT(t,e){return e3(t.excludedActivityUrls,e)}function nA(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 nR(t,e){return t.matches?t.matches(e):!!t.msMatchesSelector&&t.msMatchesSelector(e)}function nI(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 nN=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 nO(t){return t.nodeType===Node.TEXT_NODE}function nL(t){return t.nodeType===Node.ELEMENT_NODE}function nM(t){return nL(t)&&!!t.shadowRoot}function nD(t){return!!t.host&&t.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&nL(t.host)}function nP(t,e){for(var n=t.firstChild;n;)e(n),n=n.nextSibling;nM(t)&&e(t.shadowRoot)}function nU(t){return nD(t)?t.host:t.parentNode}var nz={IGNORE:"ignore",HIDDEN:"hidden",ALLOW:np.ALLOW,MASK:np.MASK,MASK_USER_INPUT:np.MASK_USER_INPUT},nB="data-dd-privacy",nF="data:image/gif;base64,R0lGODlhAQABAIAAAMLCwgAAACH5BAAAAAAALAAAAAABAAEAAAICRAEAOw==",nV={INPUT:!0,OUTPUT:!0,TEXTAREA:!0,SELECT:!0,OPTION:!0,DATALIST:!0,OPTGROUP:!0};function nH(t,e,n){if(n&&n.has(t))return n.get(t);var r=nU(t),i=r?nH(r,e,n):e,a=nq(nj(t),i);return n&&n.set(t,a),a}function nq(t,e){switch(e){case nz.HIDDEN:case nz.IGNORE:return e}switch(t){case nz.ALLOW:case nz.MASK:case nz.MASK_USER_INPUT:case nz.HIDDEN:case nz.IGNORE:return t;default:return e}}function nj(t){if(nL(t)){if("BASE"===t.tagName)return nz.ALLOW;if("INPUT"===t.tagName){if("password"===t.type||"email"===t.type||"tel"===t.type||"hidden"===t.type)return nz.MASK;var e=t.getAttribute("autocomplete");if(e&&0===e.indexOf("cc-"))return nz.MASK}if(nR(t,nW(nz.HIDDEN)))return nz.HIDDEN;if(nR(t,nW(nz.MASK)))return nz.MASK;if(nR(t,nW(nz.MASK_USER_INPUT)))return nz.MASK_USER_INPUT;if(nR(t,nW(nz.ALLOW)))return nz.ALLOW;if(function(t){if("SCRIPT"===t.nodeName)return!0;
1if("LINK"===t.nodeName){var e=i("rel");return/preload|prefetch/i.test(e)&&"script"===i("as")||"shortcut icon"===e||"icon"===e}if("META"===t.nodeName){var n=i("name"),e=i("rel"),r=i("property");return/^msapplication-tile(image|color)$/.test(n)||"application-name"===n||"icon"===e||"apple-touch-icon"===e||"shortcut icon"===e||"keywords"===n||"description"===n||/^(og|twitter|fb):/.test(r)||/^(og|twitter):/.test(n)||"pinterest"===n||"robots"===n||"googlebot"===n||"bingbot"===n||t.hasAttribute("http-equiv")||"author"===n||"generator"===n||"framework"===n||"publisher"===n||"progid"===n||/^article:/.test(r)||/^product:/.test(r)||"google-site-verification"===n||"yandex-verification"===n||"csrf-token"===n||"p:domain_verify"===n||"verify-v1"===n||"verification"===n||"shopify-checkout-api-token"===n}function i(e){return(t.getAttribute(e)||"").toLowerCase()}return!1}(t))return nz.IGNORE}}function nG(t,e){switch(e){case nz.MASK:case nz.HIDDEN:case nz.IGNORE:return!0;case nz.MASK_USER_INPUT:return nO(t)?nZ(t.parentNode):nZ(t);default:return!1}}function nZ(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!!nV[t.tagName]}function nK(t,e,n){var r,i=null==(r=t.parentElement)?void 0:r.tagName,a=t.textContent||"";if(!e||a.trim()){if("SCRIPT"===i)a="***";else if(n===nz.HIDDEN)a="***";else if(nG(t,n))if("DATALIST"===i||"SELECT"===i||"OPTGROUP"===i){if(!a.trim())return}else a="OPTION"===i?"***":a.replace(/\S/g,"x");return a}}function nW(t){return"[".concat(nB,'="').concat(t,'"], .').concat("dd-privacy-").concat(t)}var nX="data-dd-action-name";function nY(t,e){if(void 0===b&&(b="closest"in HTMLElement.prototype),b)n=t.closest("[".concat(e,"]"));else for(var n,r=t;r;){if(r.hasAttribute(e)){n=r;break}r=nI(r)}if(n)return n1(n0(n.getAttribute(e).trim()))}var nJ=[function(t,e,n){if(void 0===y&&(y="labels"in HTMLInputElement.prototype),y){if("labels"in t&&t.labels&&t.labels.length>0)return n2(t.labels[0],e)}else if(t.id){var r=t.ownerDocument&&K(t.ownerDocument.querySelectorAll("label"),function(e){return e.htmlFor===t.id});return r&&n2(r,e,n)}},function(t){if("INPUT"===t.nodeName){var e=t.getAttribute("type");if("button"===e||"submit"===e||"reset"===e)return t.value}},function(t,e,n){if("BUTTON"===t.nodeName||"LABEL"===t.nodeName||"button"===t.getAttribute("role"))return n2(t,e,n)},function(t){return t.getAttribute("aria-label")},function(t,e,n){var r=t.getAttribute("aria-labelledby");if(r)return 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 n2(t,e,n)}).join(" ")},function(t){return t.getAttribute("alt")},function(t){return t.getAttribute("name")},function(t){return t.getAttribute("title")},function(t){return t.getAttribute("placeholder")},function(t,e){if("options"in t&&t.options.length>0)return n2(t.options[0],e)}],n$=[function(t,e,n){return n2(t,e,n)}];function nQ(t,e,n,r){for(var i=t,a=0;a<=10&&i&&"BODY"!==i.nodeName&&"HTML"!==i.nodeName&&"HEAD"!==i.nodeName;){for(var o=0;o<n.length;o++){var s=(0,n[o])(i,e,r);if("string"==typeof s){var c=s.trim();if(c)return n1(n0(c))}}if("FORM"===i.nodeName)break;i=nI(i),a+=1}}function n0(t){return t.replace(/\s+/g," ")}function n1(t){return t.length>100?"".concat(eD(t,100)," [...]"):t}function n2(t,e,n){if(!t.isContentEditable){if("innerText"in t){var r=t.innerText,i=function(e){for(var n=t.querySelectorAll(e),i=0;i<n.length;i+=1){var a=n[i];if("innerText"in a){var o=a.innerText;o&&o.trim().length>0&&(r=r.replace(o,""))}}};return 0===e5()&&i("script, style"),i("[".concat(nX,"]")),e&&i("[".concat(e,"]")),n&&i("".concat(nW(nz.HIDDEN),", ").concat(nW(nz.MASK))),r}return t.textContent}}var n3=[nX,"data-testid","data-test","data-qa","data-cy","data-test-id","data-qa-id","data-testing","data-component","data-element","data-source-file"],n5=[n9,function(t){if(t.id&&!n8(t.id))return"#".concat(nA(t.id))}],n6=[n9,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(!n8(r))return"".concat(nA(t.tagName),".").concat(nA(r))}},function(t){return nA(t.tagName)}];function n4(t,e){var n;if("isConnected"in(n=t)?n.isConnected:n.ownerDocument.documentElement.contains(n)){for(var r,i=t;i&&"HTML"!==i.nodeName;){var a=n7(i,n5,rt,e,r);
1if(a)return a;r=n7(i,n6,re,e,r)||rn(function(t){for(var e=nI(t).firstElementChild,n=1;e&&e!==t;)e.tagName===t.tagName&&(n+=1),e=e.nextElementSibling;return"".concat(nA(t.tagName),":nth-of-type(").concat(n,")")}(i),r),i=nI(i)}return r}}function n8(t){return/[0-9]/.test(t)}function n9(t,e){if(e){var n=i(e);if(n)return n}for(var r=0;r<n3.length;r++){var n=i(n3[r]);if(n)return n}function i(e){if(t.hasAttribute(e))return"".concat(nA(t.tagName),"[").concat(e,'="').concat(nA(t.getAttribute(e)),'"]')}}function n7(t,e,n,r,i){for(var a=0;a<e.length;a++){var o=(0,e[a])(t,r);if(o&&n(t,o,i))return rn(o,i)}}function rt(t,e,n){return 1===t.ownerDocument.querySelectorAll(rn(e,n)).length}function re(t,e,n){if(void 0===n)r=function(t){return nR(t,e)};else{var r,i=!function(){if(void 0===w)try{document.querySelector(":scope"),w=!0}catch(t){w=!1}return w}()?rn(e,n):rn("".concat(e,":scope"),n);r=function(t){return null!==t.querySelector(i)}}for(var a=nI(t).firstElementChild;a;){if(a!==t&&r(a))return!1;a=a.nextElementSibling}return!0}function rn(t,e){return e?"".concat(t,">").concat(e):t}function rr(){var t=window.getSelection();return!t||t.isCollapsed}function ri(t){return t.target instanceof Element&&!1!==t.isPrimary}function ra(t){return!t.hasPageActivity&&!t.getUserActivity().input&&!t.getUserActivity().scroll&&!nR(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 ro=3e5;function rs(t,e){var n=rc(t)?{action:{id:t.id,loading_time:nk(tJ(t.duration)),frustration:{type:t.frustrationTypes},error:{count:t.counts.errorCount},long_task:{count:t.counts.longTaskCount},resource:{count:t.counts.resourceCount}},_dd:{action:{target:t.target,position:t.position}}}:void 0,r=rc(t)?void 0:t.context,i=t8({action:{id:eO(),target:{name:t.name},type:t.type},date:t.startClocks.timeStamp,type:"action",view:{in_foreground:e.wasInPageStateAt("active",t.startClocks.relative)}},n),a=rc(t)?{events:t.events}:{};return!rc(t)&&t.handlingStack&&(a.handlingStack=t.handlingStack),{customerContext:r,rawRumEvent:i,startTime:t.startClocks.relative,domainContext:a}}function rc(t){return"custom"!==t.type}var ru={},rl="csp_violation";function rd(t){return $({startClocks:t1(),source:"report",handling:"unhandled"},t)}function rf(t,e,n,r,i){return n?tO({name:t,message:e,stack:[{func:"?",url:n,line:null!=r?r:void 0,column:null!=i?i:void 0}]}):void 0}var rp=new nN;function rv(t){return t.startTime+t.duration}function rh(t,e,n){document.readyState===e||"complete"===document.readyState?n():ti(t,window,"complete"===e?"load":"DOMContentLoaded",n,{once:!0})}var rm=12e4;function rg(t,e){var n=e&&Number(e);if(t&&n)return{traceId:t,traceTime:n}}function r_(t){if(t&&t.nodeType===Node.COMMENT_NODE){var e=/^\s*DATADOG;(.*?)\s*$/.exec(t.data);if(e)return e[1]}}function ry(){var t={},e=performance.timing;for(var n in e)if(tW(e[n])){var r=e[n];t[n]=0===r?0:r-t3()}return t}function rb(t,e){rh(t,"interactive",function(){var t,n={entryType:l.RESOURCE,initiatorType:eg,traceId:function(t){var e,n,r,i=(n=(e=t).querySelector("meta[name=dd-trace-id]"),r=e.querySelector("meta[name=dd-trace-time]"),rg(n&&n.content,r&&r.content)||function(t){var e=function(t){for(var e=0;e<t.childNodes.length;e+=1){var n=r_(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=r_(r);if(n)return n;if(!nO(r))break}}(t);if(e)return rg(eM(e,"trace-id"),eM(e,"trace-time"))}(t));if(!(!i||i.traceTime<=t$()-rm))return i.traceId}(document),toJSON:function(){return $({},t,{toJSON:void 0})}};if(eT(l.NAVIGATION)&&performance.getEntriesByType(l.NAVIGATION).length>0)t=$(performance.getEntriesByType(l.NAVIGATION)[0].toJSON(),n);else{var r=ry();t=$(r,{decodedBodySize:0,encodedBodySize:0,transferSize:0,renderBlockingStatus:"non-blocking",duration:r.responseEnd,name:window.location.href,startTime:0},n)}e(t)})}function rw(t,e){var n=tY(t.startTime),r=function(t,e){if(t.traceId)return{_dd:{trace_id:t.traceId,span_id:nb().toDecimalString(),rule_psr:rk(e)}}}(t,e);if(e.trackResources||r){var i,a=function(t){var e,n=t.name;if(!function(t){try{return!!eh(t)}catch(t){return!1}}(n))return es('Failed to construct URL for "'.concat(t.name,'"')),"other";for(var r="/"===(e=eh(n).pathname)[0]?e:"/".concat(e),i=0;i<e_.length;i++){var a=e_[i],o=a[0];if((0,a[1])(t.initiatorType,r))return o}return"other"}(t),o=rS(t),s=t8({date:n.timeStamp,resource:{id:eO(),type:a,url:t.name,status_code:0===(i=t.responseStatus)?void 0:i},type:"resource",_dd:{discarded:!e.trackResources}},r,o);return{startTime:n.relative,rawRumEvent:s,domainContext:{performanceEntry:t}}}}function rS(t){var e,n,r,i,a=t.renderBlockingStatus;return{resource:$({duration:(n=(e=t).duration,r=e.startTime,i=e.responseEnd,0===n&&r<i?tJ(i-r):tJ(n)),render_blocking_status:a},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(eb(t)){var e=t.startTime,n=t.fetchStart,r=t.redirectStart,i=t.redirectEnd,a=t.domainLookupStart,o=t.domainLookupEnd,s=t.connectStart,c=t.secureConnectionStart,u=t.connectEnd,l=t.requestStart,d=t.responseStart,f={download:ew(e,d,t.responseEnd),first_byte:ew(e,l,d)};
1return n<u&&(f.connect=ew(e,s,u),s<=c&&c<=u&&(f.ssl=ew(e,c,u))),n<o&&(f.dns=ew(e,a,o)),e<i&&(f.redirect=ew(e,r,i)),f}}(t))}}function rk(t){return tW(t.traceSampleRate)?t.traceSampleRate/100:void 0}var rE=6e5,rx=6e5,rC=0,rT=1/0,rA=0,rR=function(){return S?rC:window.performance.interactionCount||0},rI=6e4;function rN(){var t=window.visualViewport;return Math.round(t?t.pageLeft-t.offsetLeft:void 0!==window.scrollX?window.scrollX:window.pageXOffset||0)}function rO(){var t=window.visualViewport;return Math.round(t?t.pageTop-t.offsetTop:void 0!==window.scrollY?window.scrollY:window.pageYOffset||0)}function rL(t){var e;return k||(e=t,k=new te(function(t){return ti(e,window,"resize",tp(function(){t.notify(rM())},200).throttled,{capture:!0,passive:!0}).stop})),k}function rM(){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 rD=3e5,rP=3e5;function rU(t){var e=t.indexOf("?");return e<0?t:t.slice(0,e)}var rz=[];function rB(t){return"2"===t||"1"===t}function rF(t){var e=t.encoder,n=t.request,r=t.flushController,i=t.messageBytesLimit,a={},o=r.flushObservable.subscribe(function(t){return function(t){var r,i=X(a).join("\n");a={};var o=(r=t.reason,G(X(to),r)),s=o?n.sendOnExit:n.send;if(o&&e.isAsync){var c=e.finishSync();c.outputBytesCount&&s(rV(c));var u=[c.pendingData,i].filter(Boolean).join("\n");u&&s({data:u,bytesCount:tc(u)})}else i&&e.write(e.isEmpty?i:"\n".concat(i)),e.finish(function(t){s(rV(t))})}(t)});function s(t,n){var o,s,c=th(t),u=e.estimateEncodedBytesCount(c);u>=i?M.warn("Discarded a message whose size was bigger than the maximum allowed size ".concat(i,"KB. ").concat(U," ").concat(P,"/#technical-limitations")):(void 0!==n&&void 0!==a[n]&&(o=a[n],delete a[n],s=e.estimateEncodedBytesCount(o),r.notifyAfterRemoveMessage(s)),r.notifyBeforeAddMessage(u),void 0!==n?(a[n]=c,r.notifyAfterAddMessage()):e.write(e.isEmpty?c:"\n".concat(c),function(t){r.notifyAfterAddMessage(t-u)}))}return{flushController:r,add:s,upsert:s,stop:o.unsubscribe}}function rV(t){return{data:"string"==typeof t.output?t.output:new Blob([t.output],{type:"text/plain"}),bytesCount:t.outputBytesCount,encoding:t.encoding}}var rH=3145728;function rq(t,e,n,r,i){0===e.transportStatus&&0===e.queuedPayloads.size()&&e.bandwidthMonitor.canHandle(t)?rj(t,e,n,{onSuccess:function(){return rG(0,e,n,r,i)},onFailure:function(){e.queuedPayloads.enqueue(t),function t(e,n,r,i){2===e.transportStatus&&tu(function(){rj(e.queuedPayloads.first(),e,n,{onSuccess:function(){e.queuedPayloads.dequeue(),e.currentBackoffTime=1e3,rG(1,e,n,r,i)},onFailure:function(){e.currentBackoffTime=Math.min(6e4,2*e.currentBackoffTime),t(e,n,r,i)}})},e.currentBackoffTime)}(e,n,r,i)}}):e.queuedPayloads.enqueue(t)}function rj(t,e,n,r){var i=r.onSuccess,a=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},a()):(e.transportStatus=0,i())})}function rG(t,e,n,r,i){0===t&&e.queuedPayloads.isFull()&&!e.queueFullReported&&(i({message:"Reached max ".concat(r," events size queued for upload: ").concat(rH/1048576,"MiB"),source:eI,startClocks:t1()}),e.queueFullReported=!0);var a=e.queuedPayloads;for(e.queuedPayloads=rZ();a.size()>0;)rq(a.dequeue(),e,n,r,i)}function rZ(){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>=rH}}}function rK(t,e,n,r){var i={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:rZ(),queueFullReported:!1},a=function(r,i){var a,o,s,c,u;return a=t,o=e,s=n,c=r,u=i,void(function(){try{return window.Request&&"keepalive"in new Request
1("http://a")}catch(t){return!1}}()&&c.bytesCount<s?fetch(o.build("fetch",c),{method:"POST",body:c.data,keepalive:!0,mode:"cors"}).then(H(function(t){return null==u?void 0:u({status:t.status,type:t.type})}),H(function(){rX(a,o.build("xhr",c),c.data,u)})):rX(a,o.build("xhr",c),c.data,u))};return{send:function(t){rq(t,i,a,e.trackType,r)},sendOnExit:function(r){!function(t,e,n,r){if(navigator.sendBeacon&&r.bytesCount<n)try{var i,a=e.build("beacon",r);if(navigator.sendBeacon(a,r.data))return}catch(t){i=t,rW||(rW=!0,ec(i))}rX(t,e.build("xhr",r),r.data)}(t,e,n,r)}}}var rW=!1;function rX(t,e,n,r){var i=new XMLHttpRequest;i.open("POST",e,!0),n instanceof Blob&&i.setRequestHeader("Content-Type",n.type),ti(t,i,"loadend",function(){null==r||r({status:i.status})},{once:!0}),i.send(n)}function rY(t){return Object.prototype.hasOwnProperty.call(history,t)?history:History.prototype}function rJ(){0!==E.batchCount&&(es("Customer data measures",E),r1())}function r$(){return{min:1/0,max:0,sum:0}}function rQ(t,e){t.sum+=e,t.min=Math.min(t.min,e),t.max=Math.max(t.max,e)}function r0(t,e){t.sum+=e.sum,t.min=Math.min(t.min,e.min),t.max=Math.max(t.max,e.max)}function r1(){E={batchCount:0,batchBytesCount:r$(),batchMessagesCount:r$(),globalContextBytes:r$(),userContextBytes:r$(),featureFlagBytes:r$()}}function r2(){C=!1,x={globalContextBytes:r$(),userContextBytes:r$(),featureFlagBytes:r$()}}function r3(){return"hidden"===document.visibilityState?"hidden":document.hasFocus()?"active":"passive"}function r5(t,e,n){var r=t.vitalsByName,i=t.vitalsByReference;void 0===n&&(n={});var a={name:e,startClocks:t1(),context:n.context,description:n.description},o={__dd_vital_reference:!0};return r.set(e,a),i.set(o,a),o}function r6(t,e,n,r){var i,a,o,s,c,u,l=e.vitalsByName,d=e.vitalsByReference;void 0===r&&(r={});var f="string"==typeof n?l.get(n):d.get(n);f&&(t((i=f,a=f.startClocks,o=r,s=t1(),{name:i.name,type:"duration",startClocks:a,duration:(u=a.timeStamp,s.timeStamp-u),context:t8(i.context,o.context),description:null!=(c=o.description)?c:i.description})),"string"==typeof n?l.delete(n):d.delete(n))}function r4(t,e){var n=eM(document.cookie,t),r=td(function(){var r=eM(document.cookie,t);r!==n&&e(r)},1e3);return function(){tf(r)}}var r8="datadog-ci-visibility-test-execution-id";function r9(t){var e={},n=new te,r={getContext:function(){return t4(e)},setContext:function(i){"object"===t5(i)?(e=tg(i),t.updateCustomerData(e)):r.clearContext(),n.notify()},setContextProperty:function(r,i){e[r]=tg(i),t.updateCustomerData(e),n.notify()},removeContextProperty:function(r){delete e[r],t.updateCustomerData(e),n.notify()},clearContext:function(){e={},t.resetCustomerData(),n.notify()},changeObservable:n};return r}function r7(t){var e=$({},t);return["id","name","email"].forEach(function(t){t in e&&(e[t]=String(e[t]))}),e}function it(){var t="",e=0;return{isAsync:!1,get isEmpty(){return!t},write:function(n,r){var i=tc(n);e+=i,t+=n,r&&r(i)},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 ie(t){var e=0,n=tp(function(n){e=tc(th(n)),t()},200),r=n.throttled,i=n.cancel,a=function(){i(),e=0};return{updateCustomerData:function(t){tF(t)?a():r(t)},resetCustomerData:a,getBytesCount:function(){return e},stop:function(){i()}}}var ir=[];function ii(t,e,n,r){var i,a,o=(i=n,a=r,"".concat("_dd_c","_").concat(i,"_").concat(a));function s(){var t=localStorage.getItem(o);return null!==t?JSON.parse(t):{}}ir.push(ti(t,window,"storage",function(t){o===t.key&&e.setContext(s())})),e.changeObservable.subscribe(function(){localStorage.setItem(o,JSON.stringify(e.getContext()))}),e.setContext(t8(s(),e.getContext()))}function ia(t,e){e.silentMultipleInit||M.error("".concat(t," is already initialized."))}var io=["tracecontext","datadog"];function is(){M.error("Error fetching the remote configuration.")}function ic(t){var e;return T||(T=new Map),T.has(t)?e=T.get(t):(e={records_count:0,segments_count:0,segments_total_raw_size:0},T.set(t,e),T.size>10&&function(){if(T)if(T.keys)T.delete(T.keys().next().value);else{var t=!0;T.forEach(function(e,n){t&&(T.delete(n),t=!1)})}}()),e}var iu=new WeakMap;function il(t){return iu.has(t)}function id(t){return iu.get(t)}function ip(t,e){var n=t.tagName,r=t.value;if(nG(t,e)){var i=t.type;if("INPUT"===n&&("button"===i||"submit"===i||"reset"===i))return r;if(!r||"OPTION"===n)return;return"***"}return"OPTION"===n||"SELECT"===n?t.value:"INPUT"===n||"TEXTAREA"===n?r:void 0}var iv=/url\((?:(')([^']*)'|(")([^"]*)"|([^)]*))\)/gm,ih=/^[A-Za-z]+:|^\/\//,im=/^data:.*,/i,ig=/[^a-z1-6-_]/;function i_(t){var e=t.toLowerCase().trim();return ig.test(e)?"div":e}function iy(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 ib(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 iw(t,e,n,r){if(e===nz.HIDDEN)return null;var i=t.getAttribute(n);if(e===nz.MASK&&n!==nB&&!n3.includes(n)&&n!==r.actionNameAttribute){var a=t.tagName;switch(n){case"title":case"alt":case"placeholder":return"***"}
1if("IMG"===a&&("src"===n||"srcset"===n)){if(t.naturalWidth>0)return iy(t.naturalWidth,t.naturalHeight);var o=t.getBoundingClientRect(),s=o.width,c=o.height;return s>0||c>0?iy(s,c):nF}if("SOURCE"===a&&("src"===n||"srcset"===n))return nF;if("A"===a&&"href"===n||i&&J(n,"data-")||"IFRAME"===a&&"srcdoc"===n)return"***"}return i&&"string"==typeof i&&eE(i)?ex(i):i}function iS(t){var e,n,r;if(!t)return null;try{e=t.rules||t.cssRules}catch(t){}return e?(n=Array.from(e,2===e5()?ik:iE).join(""),r=t.href,n.replace(iv,function(t,e,n,i,a,o){var s=n||a||o;if(!r||!s||ih.test(s)||im.test(s))return t;var c=e||i||"";return"url(".concat(c).concat(function(t,e){try{return eh(t,e).href}catch(e){return t}}(s,r)).concat(c,")")})):null}function ik(t){return"selectorText"in t&&t.selectorText.includes(":")?t.cssText.replace(/(\[[\w-]+[^\\])(:[^\]]+\])/g,"$1\\$2"):iE(t)}function iE(t){return"styleSheet"in t&&iS(t.styleSheet)||t.cssText}function ix(t,e){var n=function(t,e){switch(t.nodeType){case t.DOCUMENT_NODE:return{type:0,childNodes:iT(n=t,e),adoptedStyleSheets:ib(n.adoptedStyleSheets)};case t.DOCUMENT_FRAGMENT_NODE:return r=t,i=e,(a=nD(r))&&i.serializationContext.shadowRootsController.addShadowRoot(r),{type:11,childNodes:iT(r,i),isShadowRoot:a,adoptedStyleSheets:a?ib(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,i=i_(t.tagName),a="svg"===(n=t).tagName||n instanceof SVGElement||void 0,o=nq(nj(t),e.parentNodePrivacyLevel);if(o===nz.HIDDEN){var s=t.getBoundingClientRect(),c=s.width,u=s.height;return{type:2,tagName:i,attributes:((r={rr_width:"".concat(c,"px"),rr_height:"".concat(u,"px")})[nB]="hidden",r),childNodes:[],isSVG:a}}if(o!==nz.IGNORE){var l=function(t,e,n){if(e===nz.HIDDEN)return{};for(var r,i,a,o={},s=i_(t.tagName),c=t.ownerDocument,u=0;u<t.attributes.length;u+=1){var l=t.attributes.item(u).name,d=iw(t,e,l,n.configuration);null!==d&&(o[l]=d)}if(t.value&&("textarea"===s||"select"===s||"option"===s||"input"===s)){var f=ip(t,e);void 0!==f&&(o.value=f)}if("option"===s&&e===nz.ALLOW&&t.selected&&(o.selected=t.selected),"link"===s){var p=Array.from(c.styleSheets).find(function(e){return e.href===t.href}),v=iS(p);v&&p&&(o._cssText=v)}if("style"===s&&t.sheet){var v=iS(t.sheet);v&&(o._cssText=v)}"input"===s&&("radio"===t.type||"checkbox"===t.type)&&(e===nz.ALLOW?o.checked=!!t.checked:nG(t,e)&&delete o.checked),("audio"===s||"video"===s)&&(o.rr_mediaState=t.paused?"paused":"played");var h=n.serializationContext;switch(h.status){case 0:i=Math.round(t.scrollTop),a=Math.round(t.scrollLeft),(i||a)&&h.elementsScrollPositions.set(t,{scrollTop:i,scrollLeft:a});break;case 1:h.elementsScrollPositions.has(t)&&(i=(r=h.elementsScrollPositions.get(t)).scrollTop,a=r.scrollLeft)}return a&&(o.rr_scrollLeft=a),i&&(o.rr_scrollTop=i),o}(t,o,e),d=[];(t.childNodes.length>0||nM(t))&&"style"!==i&&(d=iT(t,e.parentNodePrivacyLevel===o&&e.ignoreWhiteSpace===("head"===i)?e:$({},e,{parentNodePrivacyLevel:o,ignoreWhiteSpace:"head"===i})));return{type:2,tagName:i,attributes:l,childNodes:d,isSVG:a}}}(t,e);case t.TEXT_NODE:var n,r,i,a,o,s=t,c=e,u=nK(s,c.ignoreWhiteSpace||!1,c.parentNodePrivacyLevel);if(void 0!==u)return{type:3,textContent:u};return;case t.CDATA_SECTION_NODE:return{type:4,textContent:""}}}(t,e);if(!n)return null;var r=id(t)||iC++;return n.id=r,iu.set(t,r),e.serializedNodeIds&&e.serializedNodeIds.add(r),n}var iC=1;function iT(t,e){var n=[];return nP(t,function(t){var r=ix(t,e);r&&n.push(r)}),n}function iA(t){return!!t.changedTouches}function iR(t){return!0===t.composed&&nM(t.target)?t.composedPath()[0]:t.target}var iI=function(t,e){var n=window.visualViewport,r={layoutViewportX:t,layoutViewportY:e,visualVie
1wportX: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},iN=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 iO(t,e){return{data:$({source:t},e),type:3,timestamp:tQ()}}function iL(t){var e=iA(t)?t.changedTouches[0]:t,n=e.clientX,r=e.clientY;if(window.visualViewport){var i=iI(n,r),a=i.visualViewportX,o=i.visualViewportY;n=a,r=o}if(!Number.isFinite(n)||!Number.isFinite(r)){t.isTrusted&&es("mouse/touch event without x/y");return}return{x:n,y:r}}var iM=((A={}).pointerup=0,A.mousedown=1,A.click=2,A.contextmenu=3,A.dblclick=4,A.focus=5,A.blur=6,A.touchstart=7,A.touchend=9,A);function iD(t,e,n,r){void 0===r&&(r=document);var i=tp(function(r){var i=iR(r);if(i&&nH(i,t.defaultPrivacyLevel)!==nz.HIDDEN&&il(i)){var a=id(i),o=i===document?{scrollTop:rO(),scrollLeft:rN()}:{scrollTop:Math.round(i.scrollTop),scrollLeft:Math.round(i.scrollLeft)};n.set(i,o),e(iO(3,{id:a,x:o.scrollLeft,y:o.scrollTop}))}},100),a=i.throttled,o=i.cancel,s=ti(t,r,"scroll",a,{capture:!0,passive:!0}).stop;return{stop:function(){s(),o()}}}function iP(t){for(var e=[],n=t;n.parentRule;){var r=Array.from(n.parentRule.cssRules).indexOf(n);e.unshift(r),n=n.parentRule}if(n.parentStyleSheet){var i=Array.from(n.parentStyleSheet.cssRules).indexOf(n);return e.unshift(i),e}}function iU(t,e,n){void 0===n&&(n=document);var r,i=t.defaultPrivacyLevel,a=new WeakMap,o=n!==document,s=ta(t,n,o?["change"]:["input","change"],function(t){var e=iR(t);(e instanceof HTMLInputElement||e instanceof HTMLTextAreaElement||e instanceof HTMLSelectElement)&&u(e)},{capture:!0,passive:!0}).stop;if(o)r=tv;else{var c=[eJ(HTMLInputElement.prototype,"value",u),eJ(HTMLInputElement.prototype,"checked",u),eJ(HTMLSelectElement.prototype,"value",u),eJ(HTMLTextAreaElement.prototype,"value",u),eJ(HTMLSelectElement.prototype,"selectedIndex",u)];r=function(){c.forEach(function(t){return t.stop()})}}return{stop:function(){r(),s()}};function u(t){var e,n=nH(t,i);if(n!==nz.HIDDEN){var r=t.type;if("radio"===r||"checkbox"===r){if(nG(t,n))return;e={isChecked:t.checked}}else{var a=ip(t,n);if(void 0===a)return;e={text:a}}l(t,e);var o=t.name;"radio"===r&&o&&t.checked&&W(document.querySelectorAll('input[type="radio"][name="'.concat(nA(o),'"]')),function(e){e!==t&&l(e,{isChecked:!1})})}}function l(t,n){if(il(t)){var r=a.get(t);r&&r.text===n.text&&r.isChecked===n.isChecked||(a.set(t,n),e(iO(5,$({id:id(t)},n))))}}}function iz(t,e,n,r){var i=ep();if(!i)return{stop:tv,flush:tv};var a=function(t){var e=tv,n=[];function r(){e(),t(n),n=[]}var i=tp(r,16,{leading:!1}),a=i.throttled,o=i.cancel;return{addMutations:function(t){0===n.length&&(e=function(t,e){if(window.requestIdleCallback&&window.cancelIdleCallback){var n=window.requestIdleCallback(H(t),e);return function(){return window.cancelIdleCallback(n)}}
1var r=window.requestAnimationFrame(H(t));return function(){return window.cancelAnimationFrame(r)}}(a,{timeout:100})),n.push.apply(n,t)},flush:r,stop:function(){e(),o()}}}(function(r){var i,a,s,c,u,l,d,f,p,v,h,m;i=r.concat(o.takeRecords()),a=t,s=e,c=n,u=new Map,i.filter(function(t){return"childList"===t.type}).forEach(function(t){t.removedNodes.forEach(function(t){!function t(e,n){nM(e)&&n(e.shadowRoot),nP(e,function(e){return t(e,n)})}(t,c.removeShadowRoot)})}),f=(d=function(t,e,n,r){for(var i=new Set,a=new Map,o=function(t){t.addedNodes.forEach(function(t){i.add(t)}),t.removedNodes.forEach(function(e){i.has(e)||a.set(e,t.target),i.delete(e)})},s=0;s<t.length;s++)o(t[s]);var c=Array.from(i);c.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 u=new Set,l=[],d=0;d<c.length;d++){var f=c[d];if(!g(f)){var p=nH(f.parentNode,e.defaultPrivacyLevel,r);
1if(p!==nz.HIDDEN&&p!==nz.IGNORE){var v=ix(f,{serializedNodeIds:u,parentNodePrivacyLevel:p,serializationContext:{status:2,shadowRootsController:n},configuration:e});if(v){var h=nU(f);l.push({nextId:function(t){for(var e=t.nextSibling;e;){if(il(e))return id(e);e=e.nextSibling}return null}(f),parentId:id(h),node:v})}}}}var m=[];return a.forEach(function(t,e){il(e)&&m.push({parentId:id(t),id:id(e)})}),{adds:l,removes:m,hasBeenSerialized:g};function g(t){return il(t)&&u.has(id(t))}}((l=i.filter(function(t){return t.target.isConnected&&function(t){for(var e=t;e;){if(!il(e)&&!nD(e))return!1;e=nU(e)}return!0}(t.target)&&nH(t.target,s.defaultPrivacyLevel,u)!==nz.HIDDEN})).filter(function(t){return"childList"===t.type}),s,c,u)).adds,p=d.removes,v=d.hasBeenSerialized,h=function(t,e,n){for(var r,i=[],a=new Set,o=t.filter(function(t){return!a.has(t.target)&&(a.add(t.target),!0)}),s=0;s<o.length;s++){var c=o[s];if(c.target.textContent!==c.oldValue){var u=nH(nU(c.target),e.defaultPrivacyLevel,n);u!==nz.HIDDEN&&u!==nz.IGNORE&&i.push({id:id(c.target),value:null!=(r=nK(c.target,!1,u))?r:null})}}return i}(l.filter(function(t){return"characterData"===t.type&&!v(t.target)}),s,u),m=function(t,e,n){for(var r=[],i=new Map,a=t.filter(function(t){var e=i.get(t.target);return!(e&&e.has(t.attributeName))&&(e?e.add(t.attributeName):i.set(t.target,new Set([t.attributeName])),!0)}),o=new Map,s=0;s<a.length;s++){var c=a[s];if(c.target.getAttribute(c.attributeName)!==c.oldValue){var u=nH(c.target,e.defaultPrivacyLevel,n),l=iw(c.target,u,c.attributeName,e),d=void 0;if("value"===c.attributeName){var f=ip(c.target,u);if(void 0===f)continue;d=f}else d="string"==typeof l?l:null;var p=o.get(c.target);p||(p={id:id(c.target),attributes:{}},r.push(p),o.set(c.target,p)),p.attributes[c.attributeName]=d}}return r}(l.filter(function(t){return"attributes"===t.type&&!v(t.target)}),s,u),(h.length||m.length||p.length||f.length)&&a(iO(0,{adds:f,removes:p,texts:h,attributes:m}))}),o=new i(H(a.addMutations));return o.observe(r,{attributeOldValue:!0,attributes:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0}),{stop:function(){o.disconnect(),a.stop()},flush:function(){a.flush()}}}var iB=function(t,e,n){var r=new Map,i={addShadowRoot:function(a){if(!r.has(a)){var o=iz(e,t,i,a),s=iU(t,e,a),c=iD(t,e,n,a);r.set(a,{flush:function(){return o.flush()},stop:function(){o.stop(),s.stop(),c.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 i};function iF(){return"function"==typeof Array.from&&"function"==typeof CSSSupportsRule&&"function"==typeof URL.createObjectURL&&"forEach"in NodeList.prototype}function iV(t,e,n){var r,i=0,a=[],o=0,s=[],c=ti(t,e,"message",function(t){var e=t.data;if("wrote"===e.type&&e.streamId===n){i+=e.additionalBytesCount,a.push(e.result),r=e.trailer;var o=s.shift();o&&o.id===e.id?o.writeCallback?o.writeCallback(e.result.byteLength):o.finishCallback&&o.finishCallback():(c(),es("Worker responses received out of order."))}}).stop;function u(){var t=0===a.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 i=t[r];e.set(i,n),n+=i.length}return e}(a.concat(r)),e={rawBytesCount:i,output:t,outputBytesCount:t.byteLength,encoding:"deflate"};return i=0,a=[],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}),s.push({id:o,writeCallback:r,data:t}),o+=1},finish:function(t){l(),s.length?(s.forEach(function(t){delete t.writeCallback}),s[s.length-1].finishCallback=function(){return t(u())}):t(u())},finishSync:function(){l();var t=s.map(function(t){return delete t.writeCallback,delete t.finishCallback,t.data}).join("");return $(u(),{pendingData:t})},estimateEncodedBytesCount:function(t){return t.length/8},stop:function(){c()}}}function iH(t){return new Worker(t.workerUrl||URL.createObjectURL(new Blob(['!function(){"use strict";function t(t){for(var e=t.reduce((function(t,e){return t+e.length}),0),a=new Uint8Array(e),n=0,r=0,i=t;r<i.length;r++){var s=i[r];a.set(s,n),n+=s.length}return a}function e(t){for(var e=t.length;--e>=0;)t[e]=0}var a=256,n=286,r=30,i=15,s=new Uint8Array([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0]),_=new Uint8Array([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13]),h=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7]),l=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),o=new Array(576);e(o);var d=new Array(60);e(d);var u=new Array(512);e(u);var f=new Array(256);e(f);var c=new Array(29);e(c);var p,g,w,v=new Array(r);function b(t,e,a,n,r){this.static_tree=t,this.extra_bits=e,this.extra_base=a,this.elems=n,this.max_length=r,this.has_stree=t&&t.length}function m(t,e){this.dyn_tree=t,this.max_code=0,this.stat_desc=e}e(v);var y=function(t){return t<256?u[t]:u[256+(t>>
vendor: 20,501 bytes, line 1
1>7)]},k=function(t,e){t.pending_buf[t.pending++]=255&e,t.pending_buf[t.pending++]=e>>>8&255},z=function(t,e,a){t.bi_valid>16-a?(t.bi_buf|=e<<t.bi_valid&65535,k(t,t.bi_buf),t.bi_buf=e>>16-t.bi_valid,t.bi_valid+=a-16):(t.bi_buf|=e<<t.bi_valid&65535,t.bi_valid+=a)},x=function(t,e,a){z(t,a[2*e],a[2*e+1])},A=function(t,e){var a=0;do{a|=1&t,t>>>=1,a<<=1}while(--e>0);return a>>>1},E=function(t,e,a){var n,r,s=new Array(16),_=0;for(n=1;n<=i;n++)s[n]=_=_+a[n-1]<<1;for(r=0;r<=e;r++){var h=t[2*r+1];0!==h&&(t[2*r]=A(s[h]++,h))}},Z=function(t){var e;for(e=0;e<n;e++)t.dyn_ltree[2*e]=0;for(e=0;e<r;e++)t.dyn_dtree[2*e]=0;for(e=0;e<19;e++)t.bl_tree[2*e]=0;t.dyn_ltree[512]=1,t.opt_len=t.static_len=0,t.last_lit=t.matches=0},U=function(t){t.bi_valid>8?k(t,t.bi_buf):t.bi_valid>0&&(t.pending_buf[t.pending++]=t.bi_buf),t.bi_buf=0,t.bi_valid=0},S=function(t,e,a,n){var r=2*e,i=2*a;return t[r]<t[i]||t[r]===t[i]&&n[e]<=n[a]},R=function(t,e,a){for(var n=t.heap[a],r=a<<1;r<=t.heap_len&&(r<t.heap_len&&S(e,t.heap[r+1],t.heap[r],t.depth)&&r++,!S(e,n,t.heap[r],t.depth));)t.heap[a]=t.heap[r],a=r,r<<=1;t.heap[a]=n},L=function(t,e,n){var r,i,h,l,o=0;if(0!==t.last_lit)do{r=t.pending_buf[t.d_buf+2*o]<<8|t.pending_buf[t.d_buf+2*o+1],i=t.pending_buf[t.l_buf+o],o++,0===r?x(t,i,e):(h=f[i],x(t,h+a+1,e),0!==(l=s[h])&&(i-=c[h],z(t,i,l)),r--,h=y(r),x(t,h,n),0!==(l=_[h])&&(r-=v[h],z(t,r,l)))}while(o<t.last_lit);x(t,256,e)},F=function(t,e){var a,n,r,s=e.dyn_tree,_=e.stat_desc.static_tree,h=e.stat_desc.has_stree,l=e.stat_desc.elems,o=-1;for(t.heap_len=0,t.heap_max=573,a=0;a<l;a++)0!==s[2*a]?(t.heap[++t.heap_len]=o=a,t.depth[a]=0):s[2*a+1]=0;for(;t.heap_len<2;)s[2*(r=t.heap[++t.heap_len]=o<2?++o:0)]=1,t.depth[r]=0,t.opt_len--,h&&(t.static_len-=_[2*r+1]);for(e.max_code=o,a=t.heap_len>>1;a>=1;a--)R(t,s,a);r=l;do{a=t.heap[1],t.heap[1]=t.heap[t.heap_len--],R(t,s,1),n=t.heap[1],t.heap[--t.heap_max]=a,t.heap[--t.heap_max]=n,s[2*r]=s[2*a]+s[2*n],t.depth[r]=(t.depth[a]>=t.depth[n]?t.depth[a]:t.depth[n])+1,s[2*a+1]=s[2*n+1]=r,t.heap[1]=r++,R(t,s,1)}while(t.heap_len>=2);t.heap[--t.heap_max]=t.heap[1],function(t,e){var a,n,r,s,_,h,l=e.dyn_tree,o=e.max_code,d=e.stat_desc.static_tree,u=e.stat_desc.has_stree,f=e.stat_desc.extra_bits,c=e.stat_desc.extra_base,p=e.stat_desc.max_length,g=0;for(s=0;s<=i;s++)t.bl_count[s]=0;for(l[2*t.heap[t.heap_max]+1]=0,a=t.heap_max+1;a<573;a++)(s=l[2*l[2*(n=t.heap[a])+1]+1]+1)>p&&(s=p,g++),l[2*n+1]=s,n>o||(t.bl_count[s]++,_=0,n>=c&&(_=f[n-c]),h=l[2*n],t.opt_len+=h*(s+_),u&&(t.static_len+=h*(d[2*n+1]+_)));if(0!==g){do{for(s=p-1;0===t.bl_count[s];)s--;t.bl_count[s]--,t.bl_count[s+1]+=2,t.bl_count[p]--,g-=2}while(g>0);for(s=p;0!==s;s--)for(n=t.bl_count[s];0!==n;)(r=t.heap[--a])>o||(l[2*r+1]!==s&&(t.opt_len+=(s-l[2*r+1])*l[2*r],l[2*r+1]=s),n--)}}(t,e),E(s,o,t.bl_count)},T=function(t,e,a){var n,r,i=-1,s=e[1],_=0,h=7,l=4;for(0===s&&(h=138,l=3),e[2*(a+1)+1]=65535,n=0;n<=a;n++)r=s,s=e[2*(n+1)+1],++_<h&&r===s||(_<l?t.bl_tree[2*r]+=_:0!==r?(r!==i&&t.bl_tree[2*r]++,t.bl_tree[32]++):_<=10?t.bl_tree[34]++:t.bl_tree[36]++,_=0,i=r,0===s?(h=138,l=3):r===s?(h=6,l=3):(h=7,l=4))},I=function(t,e,a){var n,r,i=-1,s=e[1],_=0,h=7,l=4;for(0===s&&(h=138,l=3),n=0;n<=a;n++)if(r=s,s=e[2*(n+1)+1],!(++_<h&&r===s)){if(_<l)do{x(t,r,t.bl_tree)}while(0!=--_);else 0!==r?(r!==i&&(x(t,r,t.bl_tree),_--),x(t,16,t.bl_tree),z(t,_-3,2)):_<=10?(x(t,17,t.bl_tree),z(t,_-3,3)):(x(t,18,t.bl_tree),z(t,_-11,7));_=0,i=r,0===s?(h=138,l=3):r===s?(h=6,l=3):(h=7,l=4)}},N=!1,O=function(t,e,a,n){z(t,0+(n?1:0),3),function(t,e,a,n){U(t),n&&(k(t,a),k(t,~a)),t.pending_buf.set(t.window.subarray(e,e+a),t.pending),t.pending+=a}(t,e,a,!0)},D=function(t,e,n,r){var i,s,_=0;t.level>0?(2===t.strm.data_type&&(t.strm.data_type=function(t){var e,n=4093624447;for(e=0;e<=31;e++,n>>>=1)if(1&n&&0!==t.dyn_ltree[2*e])return 0;if(0!==t.dyn_ltree[18]||0!==t.dyn_ltree[20]||0!==t.dyn_ltree[26])return 1;for(e=32;e<a;e++)if(0!==t.dyn_ltree[2*e])return 1;return 0}(t)),F(t,t.l_desc),F(t,t.d_desc),_=function(t){var e;for(T(t,t.dyn_ltree,t.l_desc.max_code),T(t,t.dyn_dtree,t.d_desc.max_code),F(t,t.bl_desc),e=18;e>=3&&0===t.bl_tree[2*l[e]+1];e--);return t.opt_len+=3*(e+1)+5+5+4,e}(t),i=t.opt_len+3+7>>>3,(s=t.static_len+3+7>>>3)<=i&&(i=s)):i=s=n+5,n+4<=i&&-1!==e?O(t,e,n,r):4===t.strategy||s===i?(z(t,2+(r?1:0),3),L(t,o,d)):(z(t,4+(r?1:0),3),function(t,e,a,n){var r;for(z(t,e-257,5),z(t,a-1,5),z(t,n-4,4),r=0;r<n;r++)z(t,t.bl_tree[2*l[r]+1],3);I(t,t.dyn_ltree,e-1),I(t,t.dyn_dtree,a-1)}(t,t.l_desc.max_code+1,t.d_desc.max_code+1,_+1),L(t,t.dyn_ltree,t.dyn_dtree)),Z(t),r&&U(t)},B={_tr_init:function(t){N||(!function(){var t,e,a,l,m,y=new Array(16);for(a=0,l=0;l<28;l++)for(c[l]=a,t=0;t<1<<s[l];t++)f[a++]=l;for(f[a-1]=l,m=0,l=0;l<16;l++)for(v[l]=m,t=0;t<1<<_[l];t++)u[m++]=l;for(m>>=7;l<r;l++)for(v[l]=m<<7,t=0;t<1<<_[l]-7;t++)u[256+m++]=l;for(e=0;e<=i;e++)y[e]=0;for(t=0;t<=143;)o[2*t+1]=8,t++,y[8]++;for(;t<=255;)o[2*t+1]=9,t++,y[9]++;for(;t<=279;)o[2*t+1]=7,t++,y[7]++;for(;t<=287;)o[2*t+1]=8,t++,y[8]++;for(E(o,287,y),t=0;t<r;t++)d[2*t+1]=5,d[2*t]=A(t,5);p=new b(o,s,257,n,i),g=new b(d,_,0,r,i),w=new b(new Array(0),h,0,19,7)}(),N=!0),t.l_desc=new m(t.dyn_ltree,p),t.d_desc=new m(t.dyn_dtree,g),t.bl_desc=new m(t.bl_tree,w),t.bi_buf=0,t.bi_valid=0,Z(t)},_tr_stored_block:O,_tr_flush_block:D,_tr_tally:function(t,e,n){return t.pending_buf[t.d_buf+2*t.last_lit]=e>>>8&255,t.pending_buf[t.d_buf+2*t.last_lit+1]=255&e,t.pending_buf[t.l_buf+t.last_lit]=255&n,t.last_lit++,0===e?t.dyn_ltree[2*n]++:(t.matches++,e--,t.dyn_ltree[2*(f[n]+a+1)]++,t.dyn_dtree[2*y(e)]++),t.last_lit===t.lit_bufsize-1},_tr_align:function(t){z(t,2,3),x(t,256,o),function(t){16===t.bi_valid?(k(t,t.bi_buf),t.bi_buf=0,t.bi_valid=0):t.bi_valid>=8&&(t.pending_buf[t.pending++]=255&t.bi_buf,t.bi_buf>>=8,t.bi_valid-=8)}(t)}},C=function(t,e,a,n){for(var r=65535&t|0,i=t>>>16&65535|0,s=0;0!==a;){a-=s=a>2e3?2e3:a;do{i=i+(r=r+e[n++]|0)|0}while(--s);r%=65521,i%=65521}return r|i<<16|0},H=new Uint32Array(function(){for(var t,e=[],a=0;a<256;a++){t=a;for(var n=0;n<8;n++)t=1&t?3988292384^t>>>1:t>>>1;e[a]=t}return e}()),M=function(t,e,a,n){var r=H,i=n+a;t^=-1;for(var s=n;s<i;s++)t=t>>>8^r[255&(t^e[s])];return-1^t},Y={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"},K={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_MEM_ERROR:-4,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8},P=B._tr_init,j=B._tr_stored_block,G=B._tr_flush_block,X=B._tr_tally,W=B._tr_align,q=K.Z_NO_FLUSH,J=K.Z_PARTIAL_FLUSH,Q=K.Z_FULL_FLUSH,V=K.Z_FINISH,$=K.Z_BLOCK,tt=K.Z_OK,et=K.Z_STREAM_END,at=K.Z_STREAM_ERROR,nt=K.Z_DATA_ERROR,rt=K.Z_BUF_ERROR,it=K.Z_DEFAULT_COMPRESSION,st=K.Z_FILTERED,_t=K.Z_HUFFMAN_ONLY,ht=K.Z_RLE,lt=K.Z_FIXED,ot=K.Z_DEFAULT_STRATEGY,dt=K.Z_UNKNOWN,ut=K.Z_DEFLATED,ft=258,ct=262,pt=103,gt=113,wt=666,vt=function(t,e){return t.msg=Y[e],e},bt=function(t){return(t<<1)-(t>4?9:0)},mt=function(t){for(var e=t.length;--e>=0;)t[e]=0},yt=function(t,e,a){return(e<<t.hash_shift^a)&t.hash_mask},kt=function(t){var e=t.state,a=e.pending;a>t.avail_out&&(a=t.avail_out),0!==a&&(t.output.set(e.pending_buf.subarray(e.pending_out,e.pending_out+a),t.next_out),t.next_out+=a,e.pending_out+=a,t.total_out+=a,t.avail_out-=a,e.pending-=a,0===e.pending&&(e.pending_out=0))},zt=function(t,e){G(t,t.block_start>=0?t.block_start:-1,t.strstart-t.block_start,e),t.block_start=t.strstart,kt(t.strm)},xt=function(t,e){t.pending_buf[t.pending++]=e},At=function(t,e){t.pending_buf[t.pending++]=e>>>8&255,t.pending_buf[t.pending++]=255&e},Et=function(t,e){var a,n,r=t.max_chain_length,i=t.strstart,s=t.prev_length,_=t.nice_match,h=t.strstart>t.w_size-ct?t.strstart-(t.w_size-ct):0,l=t.window,o=t.w_mask,d=t.prev,u=t.strstart+ft,f=l[i+s-1],c=l[i+s];t.prev_length>=t.good_match&&(r>>=2),_>t.lookahead&&(_=t.lookahead);do{if(l[(a=e)+s]===c&&l[a+s-1]===f&&l[a]===l[i]&&l[++a]===l[i+1]){i+=2,a++;do{}while(l[++i]===l[++a]&&l[++i]===l[++a]&&l[++i]===l[++a]&&l[++i]===l[++a]&&l[++i]===l[++a]&&l[++i]===l[++a]&&l[++i]===l[++a]&&l[++i]===l[++a]&&i<u);if(n=ft-(u-i),i=u-ft,n>s){if(t.match_start=e,s=n,n>=_)break;f=l[i+s-1],c=l[i+s]}}}while((e=d[e&o])>h&&0!=--r);return s<=t.lookahead?s:t.lookahead},Zt=function(t){var e,a,n,r,i,s,_,h,l,o,d=t.w_size;do{if(r=t.window_size-t.lookahead-t.strstart,t.strstart>=d+(d-ct)){t.window.set(t.window.subarray(d,d+d),0),t.match_start-=d,t.strstart-=d,t.block_start-=d,e=a=t.hash_size;do{n=t.head[--e],t.head[e]=n>=d?n-d:0}while(--a);e=a=d;do{n=t.prev[--e],t.prev[e]=n>=d?n-d:0}while(--a);r+=d}if(0===t.strm.avail_in)break;if(s=t.strm,_=t.window,h=t.strstart+t.lookahead,l=r,o=void 0,(o=s.avail_in)>l&&(o=l),a=0===o?0:(s.avail_in-=o,_.set(s.input.subarray(s.next_in,s.next_in+o),h),1===s.state.wrap?s.adler=C(s.adler,_,o,h):2===s.state.wrap&&(s.adler=M(s.adler,_,o,h)),s.next_in+=o,s.total_in+=o,o),t.lookahead+=a,t.lookahead+t.insert>=3)for(i=t.strstart-t.insert,t.ins_h=t.window[i],t.ins_h=yt(t,t.ins_h,t.window[i+1]);t.insert&&(t.ins_h=yt(t,t.ins_h,t.window[i+3-1]),t.prev[i&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=i,i++,t.insert--,!(t.lookahead+t.insert<3)););}while(t.lookahead<ct&&0!==t.strm.avail_in)},Ut=function(t,e){for(var a,n;;){if(t.lookahead<ct){if(Zt(t),t.lookahead<ct&&e===q)return 1;if(0===t.lookahead)break}if(a=0,t.lookahead>=3&&(t.ins_h=yt(t,t.ins_h,t.window[t.strstart+3-1]),a=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),0!==a&&t.strstart-a<=t.w_size-ct&&(t.match_length=Et(t,a)),t.match_length>=3)if(n=X(t,t.strstart-t.match_start,t.match_length-3),t.lookahead-=t.match_length,t.match_length<=t.max_lazy_match&&t.lookahead>=3){t.match_length--;do{t.strstart++,t.ins_h=yt(t,t.ins_h,t.window[t.strstart+3-1]),a=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart}while(0!=--t.match_length);t.strstart++}else t.strstart+=t.match_length,t.match_length=0,t.ins_h=t.window[t.strstart],t.ins_h=yt(t,t.ins_h,t.window[t.strstart+1]);else n=X(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++;if(n&&(zt(t,!1),0===t.strm.avail_out))return 1}return t.insert=t.strstart<2?t.strstart:2,e===V?(zt(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(zt(t,!1),0===t.strm.avail_out)?1:2},St=function(t,e){for(var a,n,r;;){if(t.lookahead<ct){if(Zt(t),t.lookahead<ct&&e===q)return 1;if(0===t.lookahead)break}if(a=0,t.lookahead>=3&&(t.ins_h=yt(t,t.ins_h,t.window[t.strstart+3-1]),a=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),t.prev_length=t.match_length,t.prev_match=t.match_start,t.match_length=2,0!==a&&t.prev_length<t.max_lazy_match&&t.strstart-a<=t.w_size-ct&&(t.match_length=Et(t,a),t.match_length<=5&&(t.strategy===st||3===t.match_length&&t.strstart-t.match_start>4096)&&(t.match_length=2)),t.prev_length>=3&&t.match_length<=t.prev_length){r=t.strstart+t.lookahead-3,n=X(t,t.strstart-1-t.prev_match,t.prev_length-3),t.lookahead-=t.prev_length-1,t.prev_length-=2;do{++t.strstart<=r&&(t.ins_h=yt(t,t.ins_h,t.window[t.strstart+3-1]),a=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart)}while(0!=--t.prev_length);if(t.match_available=0,t.match_length=2,t.strstart++,n&&(zt(t,!1),0===t.strm.avail_out))return 1}else if(t.match_available){if((n=X(t,0,t.window[t.strstart-1]))&&zt(t,!1),t.strstart++,t.lookahead--,0===t.strm.avail_out)return 1}else t.match_available=1,t.strstart++,t.lookahead--}return t.match_available&&(n=X(t,0,t.window[t.strstart-1]),t.match_available=0),t.insert=t.strstart<2?t.strstart:2,e===V?(zt(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(zt(t,!1),0===t.strm.avail_out)?1:2};function Rt(t,e,a,n,r){this.good_length=t,this.max_lazy=e,this.nice_length=a,this.max_chain=n,this.func=r}var Lt=[new Rt(0,0,0,0,(function(t,e){var a=65535;for(a>t.pending_buf_size-5&&(a=t.pending_buf_size-5);;){if(t.lookahead<=1){if(Zt(t),0===t.lookahead&&e===q)return 1;if(0===t.lookahead)break}t.strstart+=t.lookahead,t.lookahead=0;var n=t.block_start+a;if((0===t.strstart||t.strstart>=n)&&(t.lookahead=t.strstart-n,t.strstart=n,zt(t,!1),0===t.strm.avail_out))return 1;if(t.strstart-t.block_start>=t.w_size-ct&&(zt(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,e===V?(zt(t,!0),0===t.strm.avail_out?3:4):(t.strstart>t.block_start&&(zt(t,!1),t.strm.avail_out),1)})),new Rt(4,4,8,4,Ut),new Rt(4,5,16,8,Ut),new Rt(4,6,32,32,Ut),new Rt(4,4,16,16,St),new Rt(8,16,32,32,St),new Rt(8,16,128,128,St),new Rt(8,32,128,256,St),new Rt(32,128,258,1024,St),new Rt(32,258,258,4096,St)];function Ft(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=ut,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new Uint16Array(1146),this.dyn_dtree=new Uint16Array(122),this.bl_tree=new Uint16Array(78),mt(this.dyn_ltree),mt(this.dyn_dtree),mt(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new Uint16Array(16),this.heap=new Uint16Array(573),mt(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new Uint16Array(573),mt(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}var Tt=function(t){if(!t||!t.state)return vt(t,at);t.total_in=t.total_out=0,t.data_type=dt;var e=t.state;return e.pending=0,e.pending_out=0,e.wrap<0&&(e.wrap=-e.wrap),e.status=e.wrap?42:gt,t.adler=2===e.wrap?0:1,e.last_flush=q,P(e),tt},It=function(t){var e,a=Tt(t);return a===tt&&((e=t.state).window_size=2*e.w_size,mt(e.head),e.max_lazy_match=Lt[e.level].max_lazy,e.good_match=Lt[e.level].good_length,e.nice_match=Lt[e.level].nice_length,e.max_chain_length=Lt[e.level].max_chain,e.strstart=0,e.block_start=0,e.lookahead=0,e.insert=0,e.match_length=e.prev_length=2,e.match_available=0,e.ins_h=0),a},Nt=function(t,e,a,n,r,i){if(!t)return at;var s=1;if(e===it&&(e=6),n<0?(s=0,n=-n):n>15&&(s=2,n-=16),r<1||r>9||a!==ut||n<8||n>15||e<0||e>9||i<0||i>lt)return vt(t,at);8===n&&(n=9);var _=new Ft;return t.state=_,_.strm=t,_.wrap=s,_.gzhead=null,_.w_bits=n,_.w_size=1<<_.w_bits,_.w_mask=_.w_size-1,_.hash_bits=r+7,_.hash_size=1<<_.hash_bits,_.hash_mask=_.hash_size-1,_.hash_shift=~~((_.hash_bits+3-1)/3),_.window=new Uint8Array(2*_.w_size),_.head=new Uint16Array(_.hash_size),_.prev=new Uint16Array(_.w_size),_.lit_bufsize=1<<r+6,_.pending_buf_size=4*_.lit_bufsize,_.pending_buf=new Uint8Array(_.pending_buf_size),_.d_buf=1*_.lit_bufsize,_.l_buf=3*_.lit_bufsize,_.level=e,_.strategy=i,_.method=a,It(t)},Ot={deflateInit:function(t,e){return Nt(t,e,ut,15,8,ot)},deflateInit2:Nt,deflateReset:It,deflateResetKeep:Tt,deflateSetHeader:function(t,e){return t&&t.state?2!==t.state.wrap?at:(t.state.gzhead=e,tt):at},deflate:function(t,e){var a,n;if(!t||!t.state||e>$||e<0)return t?vt(t,at):at;var r=t.state;if(!t.output||!t.input&&0!==t.avail_in||r.status===wt&&e!==V)return vt(t,0===t.avail_out?rt:at);r.strm=t;var i=r.last_flush;if(r.last_flush=e,42===r.status)if(2===r.wrap)t.adler=0,xt(r,31),xt(r,139),xt(r,8),r.gzhead?(xt(r,(r.gzhead.text?1:0)+(r.gzhead.hcrc?2:0)+(r.gzhead.extra?4:0)+(r.gzhead.name?8:0)+(r.gzhead.comment?16:0)),xt(r,255&r.gzhead.time),xt(r,r.gzhead.time>>8&255),xt(r,r.gzhead.time>>16&255),xt(r,r.gzhead.time>>24&255),xt(r,9===r.level?2:r.strategy>=_t||r.level<2?4:0),xt(r,255&r.gzhead.os),r.gzhead.extra&&r.gzhead.extra.length&&(xt(r,255&r.gzhead.extra.length),xt(r,r.gzhead.extra.length>>8&255)),r.gzhead.hcrc&&(t.adler=M(t.adler,r.pending_buf,r.pending,0)),r.gzindex=0,r.status=69):(xt(r,0),xt(r,0),xt(r,0),xt(r,0),xt(r,0),xt(r,9===r.level?2:r.strategy>=_t||r.level<2?4:0),xt(r,3),r.status=gt);else{var s=ut+(r.w_bits-8<<4)<<8;s|=(r.strategy>=_t||r.level<2?0:r.level<6?1:6===r.level?2:3)<<6,0!==r.strstart&&(s|=32),s+=31-s%31,r.status=gt,At(r,s),0!==r.strstart&&(At(r,t.adler>>>16),At(r,65535&t.adler)),t.adler=1}if(69===r.status)if(r.gzhead.extra){for(a=r.pending;r.gzindex<(65535&r.gzhead.extra.length)&&(r.pending!==r.pending_buf_size||(r.gzhead.hcrc&&r.pending>a&&(t.adler=M(t.adler,r.pending_buf,r.pending-a,a)),kt(t),a=r.pending,r.pending!==r.pending_buf_size));)xt(r,255&r.gzhead.extra[r.gzindex]),r.gzindex++;r.gzhead.hcrc&&r.pending>a&&(t.adler=M(t.adler,r.pending_buf,r.pending-a,a)),r.gzindex===r.gzhead.extra.length&&(r.gzindex=0,r.status=73)}else r.status=73;if(73===r.status)if(r.gzhead.name){a=r.pending;do{if(r.pending===r.pending_buf_size&&(r.gzhead.hcrc&&r.pending>a&&(t.adler=M(t.adler,r.pending_buf,r.pending-a,a)),kt(t),a=r.pending,r.pending===r.pending_buf_size)){n=1;break}n=r.gzindex<r.gzhead.name.length?255&r.gzhead.name.charCodeAt(r.gzindex++):0,xt(r,n)}while(0!==n);r.gzhead.hcrc&&r.pending>a&&(t.adler=M(t.adler,r.pending_buf,r.pending-a,a)),0===n&&(r.gzindex=0,r.status=91)}else r.status=91;if(91===r.status)if(r.gzhead.comment){a=r.pending;do{if(r.pending===r.pending_buf_size&&(r.gzhead.hcrc&&r.pending>a&&(t.adler=M(t.adler,r.pending_buf,r.pending-a,a)),kt(t),a=r.pending,r.pending===r.pending_buf_size)){n=1;break}n=r.gzindex<r.gzhead.comment.length?255&r.gzhead.comment.charCodeAt(r.gzindex++):0,xt(r,n)}while(0!==n);r.gzhead.hcrc&&r.pending>a&&(t.adler=M(t.adler,r.pending_buf,r.pending-a,a)),0===n&&(r.status=pt)}else r.status=pt;if(r.status===pt&&(r.gzhead.hcrc?(r.pending+2>r.pending_buf_size&&kt(t),r.pending+2<=r.pending_buf_size&&(xt(r,255&t.adler),xt(r,t.adler>>8&255),t.adler=0,r.status=gt)):r.status=gt),0!==r.pending){if(kt(t),0===t.avail_out)return r.last_flush=-1,tt}else if(0===t.avail_in&&bt(e)<=bt(i)&&e!==V)return vt(t,rt);if(r.status===wt&&0!==t.avail_in)return vt(t,rt);if(0!==t.avail_in||0!==r.lookahead||e!==q&&r.status!==wt){var _=r.strategy===_t?function(t,e){for(var a;;){if(0===t.lookahead&&(Zt(t),0===t.lookahead)){if(e===q)return 1;break}if(t.match_length=0,a=X(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++,a&&(zt(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,e===V?(zt(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(zt(t,!1),0===t.strm.avail_out)?1:2}(r,e):r.strategy===ht?function(t,e){for(var a,n,r,i,s=t.window;;){if(t.lookahead<=ft){if(Zt(t),t.lookahead<=ft&&e===q)return 1;if(0===t.lookahead)break}if(t.match_length=0,t.lookahead>=3&&t.strstart>0&&(n=s[r=t.strstart-1])===s[++r]&&n===s[++r]&&n===s[++r]){i=t.strstart+ft;do{}while(n===s[++r]&&n===s[++r]&&n===s[++r]&&n===s[++r]&&n===s[++r]&&n===s[++r]&&n===s[++r]&&n===s[++r]&&r<i);t.match_length=ft-(i-r),t.match_length>t.lookahead&&(t.match_length=t.lookahead)}if(t.match_length>=3?(a=X(t,1,t.match_length-3),t.lookahead-=t.match_length,t.strstart+=t.match_length,t.match_length=0):(a=X(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++),a&&(zt(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,e===V?(zt(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(zt(t,!1),0===t.strm.avail_out)?1:2}(r,e):Lt[r.level].func(r,e);if(3!==_&&4!==_||(r.status=wt),1===_||3===_)return 0===t.avail_out&&(r.last_flush=-1),tt;if(2===_&&(e===J?W(r):e!==$&&(j(r,0,0,!1),e===Q&&(mt(r.head),0===r.lookahead&&(r.strstart=0,r.block_start=0,r.insert=0))),kt(t),0===t.avail_out))return r.last_flush=-1,tt}return e!==V?tt:r.wrap<=0?et:(2===r.wrap?(xt(r,255&t.adler),xt(r,t.adler>>8&255),xt(r,t.adler>>16&255),xt(r,t.adler>>24&255),xt(r,255&t.total_in),xt(r,t.total_in>>8&255),xt(r,t.total_in>>16&255),xt(r,t.total_in>>24&255)):(At(r,t.adler>>>16),At(r,65535&t.adler)),kt(t),r.wrap>0&&(r.wrap=-r.wrap),0!==r.pending?tt:et)},deflateEnd:function(t){if(!t||!t.state)return at;var e=t.state.status;return 42!==e&&69!==e&&73!==e&&91!==e&&e!==pt&&e!==gt&&e!==wt?vt(t,at):(t.state=null,e===gt?vt(t,nt):tt)},deflateSetDictionary:function(t,e){var a=e.length;if(!t||!t.state)return at;var n=t.state,r=n.wrap;if(2===r||1===r&&42!==n.status||n.lookahead)return at;if(1===r&&(t.adler=C(t.adler,e,a,0)),n.wrap=0,a>=n.w_size){0===r&&(mt(n.head),n.strstart=0,n.block_start=0,n.insert=0);var i=new Uint8Array(n.w_size);
1i.set(e.subarray(a-n.w_size,a),0),e=i,a=n.w_size}var s=t.avail_in,_=t.next_in,h=t.input;for(t.avail_in=a,t.next_in=0,t.input=e,Zt(n);n.lookahead>=3;){var l=n.strstart,o=n.lookahead-2;do{n.ins_h=yt(n,n.ins_h,n.window[l+3-1]),n.prev[l&n.w_mask]=n.head[n.ins_h],n.head[n.ins_h]=l,l++}while(--o);n.strstart=l,n.lookahead=2,Zt(n)}return n.strstart+=n.lookahead,n.block_start=n.strstart,n.insert=n.lookahead,n.lookahead=0,n.match_length=n.prev_length=2,n.match_available=0,t.next_in=_,t.input=h,t.avail_in=s,n.wrap=r,tt},deflateInfo:"pako deflate (from Nodeca project)"};for(var Dt=new Uint8Array(256),Bt=0;Bt<256;Bt++)Dt[Bt]=Bt>=252?6:Bt>=248?5:Bt>=240?4:Bt>=224?3:Bt>=192?2:1;Dt[254]=Dt[254]=1;var Ct=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0},Ht=Object.prototype.toString,Mt=K.Z_NO_FLUSH,Yt=K.Z_SYNC_FLUSH,Kt=K.Z_FULL_FLUSH,Pt=K.Z_FINISH,jt=K.Z_OK,Gt=K.Z_STREAM_END,Xt=K.Z_DEFAULT_COMPRESSION,Wt=K.Z_DEFAULT_STRATEGY,qt=K.Z_DEFLATED;function Jt(){this.options={level:Xt,method:qt,chunkSize:16384,windowBits:15,memLevel:8,strategy:Wt};var t=this.options;t.raw&&t.windowBits>0?t.windowBits=-t.windowBits:t.gzip&&t.windowBits>0&&t.windowBits<16&&(t.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new Ct,this.strm.avail_out=0;var e=Ot.deflateInit2(this.strm,t.level,t.method,t.windowBits,t.memLevel,t.strategy);if(e!==jt)throw new Error(Y[e]);if(t.header&&Ot.deflateSetHeader(this.strm,t.header),t.dictionary){var a;if(a="[object ArrayBuffer]"===Ht.call(t.dictionary)?new Uint8Array(t.dictionary):t.dictionary,(e=Ot.deflateSetDictionary(this.strm,a))!==jt)throw new Error(Y[e]);this._dict_set=!0}}function Qt(t,e,a){try{t.postMessage({type:"errored",error:e,streamId:a})}catch(n){t.postMessage({type:"errored",error:String(e),streamId:a})}}function Vt(t){var e=t.strm.adler;return new Uint8Array([3,0,e>>>24&255,e>>>16&255,e>>>8&255,255&e])}Jt.prototype.push=function(t,e){var a,n,r=this.strm,i=this.options.chunkSize;if(this.ended)return!1;for(n=e===~~e?e:!0===e?Pt:Mt,"[object ArrayBuffer]"===Ht.call(t)?r.input=new Uint8Array(t):r.input=t,r.next_in=0,r.avail_in=r.input.length;;)if(0===r.avail_out&&(r.output=new Uint8Array(i),r.next_out=0,r.avail_out=i),(n===Yt||n===Kt)&&r.avail_out<=6)this.onData(r.output.subarray(0,r.next_out)),r.avail_out=0;else{if((a=Ot.deflate(r,n))===Gt)return r.next_out>0&&this.onData(r.output.subarray(0,r.next_out)),a=Ot.deflateEnd(this.strm),this.onEnd(a),this.ended=!0,a===jt;if(0!==r.avail_out){if(n>0&&r.next_out>0)this.onData(r.output.subarray(0,r.next_out)),r.avail_out=0;else if(0===r.avail_in)break}else this.onData(r.output)}return!0},Jt.prototype.onData=function(t){this.chunks.push(t)},Jt.prototype.onEnd=function(t){t===jt&&(this.result=function(t){for(var e=0,a=0,n=t.length;a<n;a++)e+=t[a].length;for(var r=new Uint8Array(e),i=0,s=0,_=t.length;i<_;i++){var h=t[i];r.set(h,s),s+=h.length}return r}(this.chunks)),this.chunks=[],this.err=t,this.msg=this.strm.msg},function(e){void 0===e&&(e=self);try{var a=new Map;e.addEventListener("message",(function(n){try{var r=function(e,a){switch(a.action){case"init":return{type:"initialized",version:"5.26.0"};case"write":var n=e.get(a.streamId);n||(n=new Jt,e.set(a.streamId,n));var r=n.chunks.length,i=function(t){if("function"==typeof TextEncoder&&TextEncoder.prototype.encode)return(new TextEncoder).encode(t);var e,a,n,r,i,s=t.length,_=0;for(r=0;r<s;r++)55296==(64512&(a=t.charCodeAt(r)))&&r+1<s&&56320==(64512&(n=t.charCodeAt(r+1)))&&(a=65536+(a-55296<<10)+(n-56320),r++),_+=a<128?1:a<2048?2:a<65536?3:4;for(e=new Uint8Array(_),i=0,r=0;i<_;r++)55296==(64512&(a=t.charCodeAt(r)))&&r+1<s&&56320==(64512&(n=t.charCodeAt(r+1)))&&(a=65536+(a-55296<<10)+(n-56320),r++),a<128?e[i++]=a:a<2048?(e[i++]=192|a>>>6,e[i++]=128|63&a):a<65536?(e[i++]=224|a>>>12,e[i++]=128|a>>>6&63,e[i++]=128|63&a):(e[i++]=240|a>>>18,e[i++]=128|a>>>12&63,e[i++]=128|a>>>6&63,e[i++]=128|63&a);return e}(a.data);return n.push(i,K.Z_SYNC_FLUSH),{type:"wrote",id:a.id,streamId:a.streamId,result:t(n.chunks.slice(r)),trailer:Vt(n),additionalBytesCount:i.length};case"reset":e.delete(a.streamId)}}(a,n.data);r&&e.postMessage(r)}catch(t){Qt(e,t,n.data&&"streamId"in n.data?n.data.streamId:void 0)}}))}catch(t){Qt(e,t)}}()}();'])))}var iq={status:0};function ij(t,e,n,r){switch(void 0===r&&(r=iH),0===iq.status&&function(t,e,n){void 0===n&&(n=iH);try{var r=n(t),i=ti(t,r,"error",function(n){iG(t,e,n)}).stop,a=ti(t,r,"message",function(n){var r,i=n.data;
1"errored"===i.type?iG(t,e,i.error,i.streamId):"initialized"===i.type&&(r=i.version,1===iq.status&&(iq={status:3,worker:iq.worker,stop:iq.stop,version:r}))}).stop;r.postMessage({action:"init"}),tu(function(){var t;return t=e,void(1===iq.status&&(M.error("".concat(t," failed to start: a timeout occurred while initializing the Worker")),iq.initializationFailureCallbacks.forEach(function(t){return t()}),iq={status:2}))},1e4),iq={status:1,worker:r,stop:function(){i(),a()},initializationFailureCallbacks:[]}}catch(n){iG(t,e,n)}}(t,e,r),iq.status){case 1:return iq.initializationFailureCallbacks.push(n),iq.worker;case 3:return iq.worker}}function iG(t,e,n,r){if(1===iq.status||0===iq.status){var i;if(M.error("".concat(e," failed to start: an error occurred while creating the Worker:"),n),n instanceof Event||n instanceof Error&&(G(i=n.message,"Content Security Policy")||G(i,"requires 'TrustedScriptURL'"))){var a=void 0;a=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.",M.error("".concat(a," See documentation at ").concat(D,"/integrations/content_security_policy_logs/#use-csp-with-real-user-monitoring-and-session-replay"))}else ec(n);1===iq.status&&iq.initializationFailureCallbacks.forEach(function(t){return t()}),iq={status:2}}else ec(n,{worker_version:3===iq.status&&iq.version,stream_id:r})}var iZ=function(t,e,n){void 0===n&&(n={});var r,i,a,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 i,a=2===t?3072:16384,o=r;e.forEach(function(t){o+=t.getBytesCount()}),o>a&&(i=a,M.warn("Customer data exceeds the recommended ".concat(i/1024,"KiB threshold. ").concat(U," ").concat(P,"/#customer-data-exceeds-the-recommended-threshold-warning")),n=!0)}}return{createDetachedTracker:function(){var t=ie(function(){return r(t.getBytesCount())});return t},getOrCreateTracker:function(t){return e.has(t)||e.set(t,ie(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),c=r9(o.getOrCreateTracker(2)),u=r9(o.getOrCreateTracker(1)),l={tryToInit:function(t){r||(r=t)},update:function(t){r=t,i.notify()},isGranted:function(){return r===nl.GRANTED},observable:i=new te},d={vitalsByName:new Map,vitalsByReference:new WeakMap};function f(){return{context:c.getContext(),user:u.getContext(),hasReplay:!!e.isRecording()||void 0}}var v=function(t,e,n,r,i){var a,o,c,u,l=t.ignoreInitIfSyntheticsWillInjectRum,d=t.startDeflateWorker,f=et(),v=n.observable.subscribe(h);function h(){if(c&&u&&n.isGranted()){if(v.unsubscribe(),u.trackViewsManually){if(!a)return;f.remove(a.callback),t=a.options}var t,e=i(u,o,t);f.drain(e)}}function m(t){var e,r,i,a,s,l,f,v,m,g=ef();if(g&&(t=$({},e=t,{applicationId:"00000000-aaaa-0000-aaaa-000000000000",clientToken:"empty",sessionSampleRate:100,defaultPrivacyLevel:null!=(r=e.defaultPrivacyLevel)?r:null==(i=el())?void 0:i.getPrivacyLevel()})),c=t,f={session_sample_rate:(s=a=t).sessionSampleRate,telemetry_sample_rate:s.telemetrySampleRate,telemetry_configuration_sample_rate:s.telemetryConfigurationSampleRate,telemetry_usage_sample_rate:s.telemetryUsageSampleRate,use_before_send:!!s.beforeSend,use_cross_site_session_cookie:s.useCrossSiteSessionCookie,use_partitioned_cross_site_session_cookie:s.usePartitionedCrossSiteSessionCookie,use_secure_session_cookie:s.useSecureSessionCookie,use_proxy:!!s.proxy,silent_multiple_init:s.silentMultipleInit,track_session_across_subdomains:s.trackSessionAcrossSubdomains,allow_fallback_to_local_storage:!!s.allowFallbackToLocalStorage,store_contexts_across_pages:!!s.storeContextsAcrossPages,allow_untrusted_events:!!s.allowUntrustedEvents,tracking_consent:s.trackingConsent},m=$({session_replay_sample_rate:a.sessionReplaySampleRate,start_session_replay_recording_manually:a.startSessionReplayRecordingManually,trace_sample_rate:a.traceSampleRate,trace_context_injection:a.traceContextInjection,action_name_attribute:a.actionNameAttribute,use_allowed_tracing_urls:Array.isArray(a.allowedTracingUrls)&&a.allowedTracingUrls.length>0,selected_tracing_propagators:(v=new Set,Array.isArray(a.allowedTracingUrls)&&a.allowedTracingUrls.length>
10&&a.allowedTracingUrls.forEach(function(t){e2(t)?io.forEach(function(t){return v.add(t)}):"object"===t5(t)&&Array.isArray(t.propagatorTypes)&&t.propagatorTypes.forEach(function(t){return v.add(t)})}),Z(v)),default_privacy_level:a.defaultPrivacyLevel,enable_privacy_for_action_name:a.enablePrivacyForActionName,use_excluded_activity_urls:Array.isArray(a.excludedActivityUrls)&&a.excludedActivityUrls.length>0,use_worker_url:!!a.workerUrl,compress_intake_requests:a.compressIntakeRequests,track_views_manually:a.trackViewsManually,track_user_interactions:a.trackUserInteractions,track_resources:a.trackResources,track_long_task:a.trackLongTasks,plugins:null==(l=a.betaPlugins)?void 0:l.map(function(t){var e;return $({name:t.name},null==(e=t.getConfigurationTelemetry)?void 0:e.call(t))})},f),eo({type:ee,configuration:m}),u)return void ia("DD_RUM",t);var _=function(t){if(!t.applicationId)return void M.error("Application ID is not configured, no RUM data will be collected.");if(nm(t.sessionReplaySampleRate,"Session Replay")&&nm(t.traceSampleRate,"Trace")){if(void 0!==t.excludedActivityUrls&&!Array.isArray(t.excludedActivityUrls))return void M.error("Excluded Activity Urls should be an array");var e,n,r=function(t){if(void 0===t.allowedTracingUrls)return[];if(!Array.isArray(t.allowedTracingUrls))return void M.error("Allowed Tracing URLs should be an array");if(0!==t.allowedTracingUrls.length&&void 0===t.service)return void M.error("Service needs to be configured when tracing is enabled");var e=[];return t.allowedTracingUrls.forEach(function(t){if(e2(t))e.push({match:t,propagatorTypes:io});else"object"===t5(t)&&e2(t.match)&&Array.isArray(t.propagatorTypes)?e.push(t):M.warn("Allowed Tracing Urls parameters should be a string, RegExp, function, or an object. Ignoring parameter",t)}),e}(t);if(r){var i=function(t){var e,n,r,i,a,o,s,c,u,l,d,f,v,h,m,g,_,y,b,w,S,k,E,x,C;if(!t||!t.clientToken)return void M.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)||(M.error("Site should be a valid Datadog site. ".concat(U," ").concat(D,"/getting_started/site/.")),0))&&nm(t.sessionSampleRate,"Session")&&nm(t.telemetrySampleRate,"Telemetry")&&nm(t.telemetryConfigurationSampleRate,"Telemetry Configuration")&&nm(t.telemetryUsageSampleRate,"Telemetry Usage")&&nh(t.version,"Version")&&nh(t.env,"Env")&&nh(t.service,"Service")){if(void 0!==t.trackingConsent&&!tB(nl,t.trackingConsent))return void M.error('Tracking Consent should be either "granted" or "not-granted"');return $({beforeSend:t.beforeSend&&z(t.beforeSend,"beforeSend threw an error:"),sessionStoreStrategyType:(g=t,(w=!function(t){if(void 0===document.cookie||null===document.cookie)return!1;try{var e="dd_cookie_test_".concat(eO()),n="test";eP(e,n,6e4,t);var r=eU(e)===n;return eP(e,"",0,t),r}catch(t){return M.error(t),!1}}(((y={}).secure=!!(_=g).useSecureSessionCookie||!!_.usePartitionedCrossSiteSessionCookie||!!_.useCrossSiteSessionCookie,y.crossSite=!!_.usePartitionedCrossSiteSessionCookie||!!_.useCrossSiteSessionCookie,y.partitioned=!!_.usePartitionedCrossSiteSessionCookie,_.trackSessionAcrossSubdomains&&(y.domain=function(){if(void 0===p){for(var t="dd_site_test_".concat(eO()),e=window.location.hostname.split("."),n=e.pop();e.length&&!eU(t);)eP(t,"test",1e3,{domain:n="".concat(e.pop(),".").concat(n)});eP(t,"",0,{domain:n}),p=n}return p}()),b=y))?void 0:{type:"Cookie",cookieOptions:b})||!g.allowFallbackToLocalStorage||(w=function(){try{var t=eO(),e="".concat("_dd_test_").concat(t);localStorage.setItem(e,t);var n=localStorage.getItem(e);return localStorage.removeItem(e),t===n?{type:"LocalStorage"}:void 0}catch(t){return}}()),w),sessionSampleRate:null!=(e=t.sessionSampleRate)?e:100,telemetrySampleRate:null!=(n=t.telemetrySampleRate)?n:20,telemetryConfigurationSampleRate:null!=(r=t.telemetryConfigurationSampleRate)?r:5,telemetryUsageSampleRate:null!=(i=t.telemetryUsageSampleRate)?i:5,service:t.service||void 0,silentMultipleInit:!!t.silentMultipleInit,allowUntrustedEvents:!!t.allowUntrustedEvents,trackingConsent:null!=(a=t.trackingConsent)?a:nl.GRANTED,storeContextsAcrossPages:!!t.storeContextsAcrossPages,batchBytesLimit:16384,eventRateLimiterThreshold:3e3,maxTelemetryEventsPerPage:15,flushTimeout:3e4,batchMessagesLimit:50,messageBytesLimit:262144},(s=t.site||tj,c=t.env,u=t.service,l=t.version,d=t.datacenter,f=[],c&&f.push(nf("env",c)),u&&f.pu
1sh(nf("service",u)),l&&f.push(nf("version",l)),d&&f.push(nf("datacenter",d)),v=f,E=h={logsEndpointBuilder:nd(S=t,"logs",k=v),rumEndpointBuilder:nd(S,"rum",k),sessionReplayEndpointBuilder:nd(S,"replay",k)},x=s,C=X(E).map(function(t){return t.urlPrefix}),x===tj&&C.push("https://".concat(tG,"/")),$({isIntakeUrl:function(t){return m.some(function(e){return 0===t.indexOf(e)})},replica:function(t,e,n){if(t.replica){var r=$({},t,{site:tj,clientToken:t.replica.clientToken}),i={logsEndpointBuilder:nd(r,"logs",n),rumEndpointBuilder:nd(r,"rum",n)};return e.push.apply(e,X(i).map(function(t){return t.urlPrefix})),$({applicationId:t.replica.applicationId},i)}}(t,m=C,v),site:s},h)))}}(t);if(i)return $({applicationId:t.applicationId,version:t.version||void 0,actionNameAttribute:t.actionNameAttribute,sessionReplaySampleRate:null!=(e=t.sessionReplaySampleRate)?e:0,startSessionReplayRecordingManually:!!t.startSessionReplayRecordingManually,traceSampleRate:t.traceSampleRate,allowedTracingUrls:r,excludedActivityUrls:null!=(n=t.excludedActivityUrls)?n:[],workerUrl:t.workerUrl,compressIntakeRequests:!!t.compressIntakeRequests,trackUserInteractions:!!t.trackUserInteractions,trackViewsManually:!!t.trackViewsManually,trackResources:!!t.trackResources,trackLongTasks:!!t.trackLongTasks,subdomain:t.subdomain,defaultPrivacyLevel:tB(np,t.defaultPrivacyLevel)?t.defaultPrivacyLevel:np.MASK,enablePrivacyForActionName:!!t.enablePrivacyForActionName,customerDataTelemetrySampleRate:1,traceContextInjection:tB(nv,t.traceContextInjection)?t.traceContextInjection:nv.ALL,plugins:t.betaPlugins||[]},i)}}}(t);if(_){if(!g&&!_.sessionStoreStrategyType)return void M.warn("No storage available for session. We will not send any data.");if(_.compressIntakeRequests&&!g&&d&&!(o=d(_,"Datadog RUM",tv)))return;u=_,e$().subscribe(tv),n.tryToInit(_.trackingConsent),h()}}var g=function(t){f.add(function(e){return e.addDurationVital(t)})};return{init:function(t,e){var n,r,i,a;if(!t)return void M.error("Missing configuration");if(Array.isArray(n=t.enableExperimentalFeatures)&&n.filter(function(t){return tB(s,t)}).forEach(function(t){tV.add(t)}),c=t,!(l&&eB()))if(!function(t,e,n){if(t)for(var r=0;r<t.length;r++){var i=t[r][e];i&&i(n)}}(t.betaPlugins,"onInit",{initConfiguration:t,publicApi:e}),t.remoteConfigurationId&&tH(s.REMOTE_CONFIGURATION)){r=t,i=function(e){m($({},t,e))},ti(r,a=new XMLHttpRequest,"load",function(){200===a.status?i(JSON.parse(a.responseText)):is()}),ti(r,a,"error",function(){is()}),a.open("GET","".concat("https://d3uc069fcn7uxw.cloudfront.net/configuration","/").concat(encodeURIComponent(r.remoteConfigurationId),".json")),a.send()}else m(t)},get initConfiguration(){return c},getInternalContext:tv,stopSession:tv,addTiming:function(t,e){void 0===e&&(e=tQ()),f.add(function(n){return n.addTiming(t,e)})},startView:function(t,e){void 0===e&&(e=t1());var n=function(n){n.startView(t,e)};f.add(n),a||(a={options:t,callback:n},h())},updateViewName:function(t){f.add(function(e){return e.updateViewName(t)})},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 r5(r,t,e)},stopDurationVital:function(t,e){r6(g,r,t,e)},addDurationVital:g}}(n,f,l,d,function(r,i,a){tH(s.UPDATE_VIEW_NAME)&&(m.updateViewName=H(function(t){v.updateViewName(t)})),r.storeContextsAcrossPages&&(ii(r,c,"rum",2),ii(r,u,"rum",1)),o.setCompressionStatus(i?1:2);var p,h,g=t(r,e,o,f,a,i&&n.createDeflateEncoder?function(t){return n.createDeflateEncoder(r,i,t)}:it,l,d);return e.onRumStart(g.lifeCycle,r,g.session,g.viewContexts,i),p=v,h=g,v=$({init:function(t){ia("DD_RUM",t)},initConfiguration:p.initConfiguration},h),g}),h=H(function(t){var e="object"==typeof t?t:{name:t};e.context&&o.getOrCreateTracker(3).updateCustomerData(e.context),v.startView(e),eu({feature:"start-view"})}),m=(Object.defineProperty(a=$({version:"5.26.0",onReady:function(t){t()}},{init:H(function(t){return v.init(t,m)}),setTrackingConsent:H(function(t){l.update(t),eu({feature:"set-tracking-consent",tracking_consent:t})}),setGlobalContext:H(function(t){c.setContext(t),eu({feature:"set-global-context"})}),getGlobalContext:H(function(){return c.getContext()}),setGlobalContextProperty:H(function(t,e){c.setContextProperty(t,e),eu({feature:"set-global-context"})}),removeGlobalContextProperty:H(function(t){return c.removeContextProperty(t)}),clearGlobalContext:H(function(){return c.clearContext()}),getInternalContext:H(function(t){return v.getInternalContext(t)}
1),getInitConfiguration:H(function(){return t4(v.initConfiguration)}),addAction:function(t,e){var n=tN();q(function(){v.addAction({name:tg(t),context:tg(e),startClocks:t1(),type:"custom",handlingStack:n}),eu({feature:"add-action"})})},addError:function(t,e){var n=tN();q(function(){v.addError({error:t,handlingStack:n,context:tg(e),startClocks:t1()}),eu({feature:"add-error"})})},addTiming:H(function(t,e){v.addTiming(tg(t),e)}),setUser:H(function(t){var e;(e="object"===t5(t))||M.error("Unsupported user:",t),e&&u.setContext(r7(t)),eu({feature:"set-user"})}),getUser:H(function(){return u.getContext()}),setUserProperty:H(function(t,e){var n,r=r7(((n={})[t]=e,n))[t];u.setContextProperty(t,r),eu({feature:"set-user"})}),removeUserProperty:H(function(t){return u.removeContextProperty(t)}),clearUser:H(function(){return u.clearContext()}),startView:h,stopSession:H(function(){v.stopSession(),eu({feature:"stop-session"})}),addFeatureFlagEvaluation:H(function(t,e){v.addFeatureFlagEvaluation(tg(t),tg(e)),eu({feature:"add-feature-flag-evaluation"})}),getSessionReplayLink:H(function(){return e.getSessionReplayLink()}),startSessionReplayRecording:H(function(t){e.start(t),eu({feature:"start-session-replay-recording",force:t&&t.force})}),stopSessionReplayRecording:H(function(){return e.stop()}),addDurationVital:H(function(t,e){var n;eu({feature:"add-duration-vital"}),v.addDurationVital({name:tg(t),type:"duration",startClocks:{relative:(n=e.startTime)-t3(),timeStamp:n},duration:e.duration,context:tg(e&&e.context),description:tg(e&&e.description)})}),startDurationVital:H(function(t,e){return eu({feature:"start-duration-vital"}),v.startDurationVital(tg(t),{context:tg(e&&e.context),description:tg(e&&e.description)})}),stopDurationVital:H(function(t,e){eu({feature:"stop-duration-vital"}),v.stopDurationVital("string"==typeof t?tg(t):t,{context:tg(e&&e.context),description:tg(e&&e.description)})})}),"_setDebug",{get:function(){return V},enumerable:!1}),a);return m}(function(t,e,n,r,i,a,c,u){var d,f,p,h,g,_,y,b,w,k,T,A,R,O,L,D,P,U,z,B=[],F=new eG;F.subscribe(13,function(t){return tt("rum",t)});var V=function(t){var e,n,r,i,a,s,c,u,l,d=(e="browser-rum-sdk",n=t,a=new te,s=new Set,c=!G(ei,n.site)&&tZ(n.telemetrySampleRate),u=((r={}).log=c,r[ee]=c&&tZ(n.telemetryConfigurationSampleRate),r[en]=c&&tZ(n.telemetryUsageSampleRate),r),l={is_local_file:"file:"===window.location.protocol,is_worker:"WorkerGlobalScope"in self},eo=function(t){var r=th(t);if(u[t.type]&&s.size<n.maxTelemetryEventsPerPage&&!s.has(r)){var o,c,d,f=(o=e,c=t,d=l,t8({type:"telemetry",date:tQ(),service:o,version:"5.26.0",source:"browser",_dd:{format_version:2},telemetry:t8(c,{runtime_env:d,connectivity:t9()}),experimental_features:Z(tV)},void 0!==i?i():{}));a.notify(f),tt("telemetry",f),s.add(r)}},o=ec,{setContextProvider:function(t){i=t},observable:a,enabled:c});if(ef()){var f=el();d.observable.subscribe(function(t){return f.send("internal_telemetry",t)})}return d}(t);V.setContextProvider(function(){var e,n;return{application:{id:t.applicationId},session:{id:null==(e=tr.findTrackedSession())?void 0:e.id},view:{id:null==(n=tB.findView())?void 0:n.id},action:{id:tG.findActionId()}}});var j=function(t){F.notify(14,{error:t}),es("Error reported to customer",{"error.message":t.message})},X=(ts=n.getOrCreateTracker(0),tc=eX({expireDelay:eZ}),F.subscribe(2,function(t){var e=t.startClocks;tc.add({},e.relative),ts.resetCustomerData()}),F.subscribe(6,function(t){var e=t.endClocks;tc.closeActive(e.relative)}),{findFeatureFlagEvaluations:function(t){return tc.find(t)},addFeatureFlagEvaluation:function(t,e){var n=tc.find();n&&(n[t]=e,ts.updateCustomerData(n))},stop:function(){return ts.stop()}}),J=new te(function(e){var n=ta(t,window,["visibilitychange","freeze"],function(t){"visibilitychange"===t.type&&"hidden"===document.visibilityState?e.notify({reason:to.HIDDEN}):"freeze"===t.type&&e.notify({reason:to.FROZEN})},{capture:!0}).stop,r=ti(t,window,"beforeunload",function(){e.notify({reason:to.UNLOADING})}).stop;return function(){n(),r()}}),Q=J.subscribe(function(t){F.notify(11,t)});B.push(function(){return Q.unsubscribe()});var tr=ef()?(tm={id:"00000000-aaaa-0000-aaaa-000000000000",sessionReplay:+!!ed("records")},{findTrackedSession:function(){return tm},expire:tv,expireObservable:new te,setForcedReplay:tv}):((t_=function(t,e,n){var r,i,a,o,s,c,u,l=new te,d=new te,f=function(t,e){var n,r=new te,i=new te,a=new te,o="Cookie"===t.type?function(t){var e,n={isLockEnabled:1===e5(),persistSession:(e=t,function(t){eP(e6,nt(t),eK,e)}),retrieveSession:nn,expireSession:function(){var e;return e=t,void eP(e6,nt(e8()),eZ,e)}};if(!ez(e6)){var r=ez("_dd"),i=ez("_dd_r"),a=ez("_dd_l"),o={};r&&(o.id=r),a&&/^[01]$/.test(a)&&(o.logs=a),i&&/^[012]$/.test(i)&&(o.rum=i),tF(o)||(e7(o),n.persistSession(o))}return n}(t.cookieOptions):{isLockEnabled:!1,persistSession:nr,retrieveSession:ni,expireSession:na},s=o.expireSession,c=td(function(){ns({process:function(t){return e9(t)?e8():void 0},after:f},o)},1e3);p();var u=tp(function(){ns({process:function(t){if(!tF(t)){var n=f(t);return function(t){if(!tF(t)){var n=e(t.rum),r=n.trackingType,i=n.isTracked;t.rum=r,delete t.isExpired,i&&!t.id&&(t.id=eO(),t.created=String(t$()))}}(n),n}},after:function(t){tF(t)||v()||(n=t,r.notify()),n=t}},o)},1e3),l=u.throttled,d=u.cancel;function f(t){var e;
1return e9(t)&&(t=e8()),v()&&((e=t,n.id!==e.id||n.rum!==e.rum)?(n=e8(),i.notify()):(a.notify({previousState:n,newState:t}),n=t)),t}function p(){ns({process:function(t){if(tF(t))return e8()},after:function(t){n=t}},o)}function v(){return void 0!==n.rum}return{expandOrRenewSession:l,expandSession:function(){ns({process:function(t){return v()?f(t):void 0}},o)},getSession:function(){return n},renewObservable:r,expireObservable:i,sessionStateUpdateObservable:a,restartSession:p,expire:function(){d(),s(),f(e8())},stop:function(){tf(c)},updateSessionState:function(t){ns({process:function(e){return $({},e,t)},after:f},o)}}}(t.sessionStoreStrategyType,e);rz.push(function(){return f.stop()});var p=eX({expireDelay:eZ});function v(){return{id:f.getSession().id,trackingType:f.getSession().rum,isReplayForced:!!f.getSession().forcedReplay}}return rz.push(function(){return p.stop()}),f.renewObservable.subscribe(function(){p.add(v(),t0()),l.notify()}),f.expireObservable.subscribe(function(){d.notify(),p.closeActive(t0())}),f.expandOrRenewSession(),p.add(v(),t2().relative),n.observable.subscribe(function(){n.isGranted()?f.expandOrRenewSession():f.expire()}),r=ta(t,window,["click","touchstart","keydown","scroll"],function(){n.isGranted()&&f.expandOrRenewSession()},{capture:!0,passive:!0}).stop,rz.push(r),i=t,a=function(){return f.expandSession()},o=function(){"visible"===document.visibilityState&&a()},s=ti(i,document,"visibilitychange",o).stop,rz.push(s),c=td(o,6e4),rz.push(function(){tf(c)}),u=ti(t,window,"resume",function(){return f.restartSession()},{capture:!0}).stop,rz.push(u),{findSession:function(t,e){return p.find(t,e)},renewObservable:l,expireObservable:d,sessionStateUpdateObservable:f.sessionStateUpdateObservable,expire:f.expire,updateSessionState:f.updateSessionState}}(t,function(e){var n,r,i,a;return n=t,{trackingType:i="0"===(a=r=e)||"1"===a||"2"===a?r:tZ(n.sessionSampleRate)?tZ(n.sessionReplaySampleRate)?"1":"2":"0",isTracked:rB(i)}},c)).expireObservable.subscribe(function(){F.notify(9)}),t_.renewObservable.subscribe(function(){F.notify(10)}),t_.sessionStateUpdateObservable.subscribe(function(t){var e=t.previousState,n=t.newState;if(!e.forcedReplay&&n.forcedReplay){var r=t_.findSession();r&&(r.isReplayForced=!0)}}),{findTrackedSession:function(t){var e=t_.findSession(t);if(e&&rB(e.trackingType))return{id:e.id,sessionReplay:"1"===e.trackingType?1:2*!!e.isReplayForced}},expire:t_.expire,expireObservable:t_.expireObservable,setForcedReplay:function(){return t_.updateSessionState({forcedReplay:"1"})}});if(ef())ty=el(),F.subscribe(13,function(t){ty.send("rum",t)});else{var ts,tc,tm,t_,ty,tw,tS,tk,tE,tx,tC=(tw=V.observable,tS=tr.expireObservable,tk=t.replica,tE=function(t,e,n,r,i,a,o){void 0===o&&(o=rF);var s=u(t,e),c=n&&u(t,n);function u(t,e){var n=e.endpoint,s=e.encoder;return o({encoder:s,request:rK(t,n,t.batchBytesLimit,r),flushController:function(t){var e,n=t.messagesLimit,r=t.bytesLimit,i=t.durationLimit,a=t.pageExitObservable,o=t.sessionExpireObservable,s=a.subscribe(function(t){return f(t.reason)}),c=o.subscribe(function(){return f("session_expire")}),u=new te(function(){return function(){s.unsubscribe(),c.unsubscribe()}}),l=0,d=0;function f(t){if(0!==d){var e=d,n=l;d=0,l=0,p(),u.notify({reason:t,messagesCount:e,bytesCount:n})}}function p(){tl(e),e=void 0}return{flushObservable:u,get messagesCount(){return d},notifyBeforeAddMessage:function(t){l+t>=r&&f("bytes_limit"),d+=1,l+=t,void 0===e&&(e=tu(function(){f("duration_limit")},i))},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:i,sessionExpireObservable:a}),messageBytesLimit:t.messageBytesLimit})}return{flushObservable:s.flushController.flushObservable,add:function(t,e){void 0===e&&(e=!0),s.add(t),c&&e&&c.add(n.transformMessage?n.transformMessage(t):t)},upsert:function(t,e){s.upsert(t,e),c&&c.upsert(n.transformMessage?n.transformMessage(t):t,e)},stop:function(){s.stop(),c&&c.stop()}}}(t,{endpoint:t.rumEndpointBuilder,encoder:a(2)},tk&&{endpoint:tk.rumEndpointBuilder,transformMessage:function(t){return t8(t,{application:{id:tk.applicationId}})},encoder:a(3)},j,J,tS),F.subscribe(13,function(t){"view"===t.type?tE.upsert(t,t.view.id):tE.add(t)}),tw.subscribe(function(e){return tE.add(e,t.site===tq)}),tE);B.push(function(){return tC.stop()}),tx=tC.flushObservable,V.enabled&&tZ(t.customerDataTelemetrySampleRate)&&(r1(),r2(),F.subscribe(13,function(t){C=!0,rQ(x.globalContextBytes,n.getOrCreateTracker(2).getBytesCount()),rQ(x.userContextBytes,n.getOrCreateTracker(1).getBytesCount()),rQ(x.featureFlagBytes,G(["view","error"],t.type)?n.getOrCreateTracker(0).getBytesCount():0)}),tx.subscribe(function(t){var e=t.bytesCount,n=t.messagesCount;C&&(E.batchCount+=1,rQ(E.batchBytesCount,e),rQ(E.batchMessagesCount,n),r0(E.globalContextBytes,x.globalContextBytes),r0(E.userContextBytes,x.userContextBytes),r0(E.featureFlagBytes,x.featureFlagBytes),r2())}),td(rJ,1e4))}var tT=(em=ep(),new te(function(t){if(em){var e=new em(H(function(){return t.notify()}));return e.observe(document,{attributes:!0,characterData:!0,childList:!0,subtree:!0}),function(){return e.disconnect()}}})),tA=(e_=tz(eg=location),new te(function(e){var n,r,i,a,o,s=(n=t,r=u,i=eY(rY("pushState"),"pushState",function(t){(0,t.onPostCall)(r)}).stop,a=eY(rY("replaceState"),"replaceState",function(t){(0,t.onPostCall)(r)}).stop,o=ti(n,window,"popstate",r).stop,{stop:function(){i(),a(),o()}}).stop,c=ti(t,window,"hashchange",u).stop;function u(){if(e_.href!==eg.href){var t=tz(eg);e.notify({newLocation:t,oldLocation:e_}),e_=t}}return function(){s(),c()}})),tR=function(t,e){void 0===e&&(e=500);var n,r=eX({expireDelay:eZ,maxEntries:4e3});a(r3(),t0());var i=ta(t,window,["pageshow","focus","blur","visibilitychange","resume","freeze","pagehide"],function(t){var e;a("freeze"===(e=t).type?"frozen":"pagehide"===e.type?e.persisted?"frozen":"terminated":r3(),t.timeStamp)},{capture:!0}).stop;function a(t,e){void 0===e&&(e=t0()),t!==n&&(n=t,r.closeActive(e),r.add({state:n,startTime:e},e))}var o={findAll:function(t,n){var i=r.findAll(t,n);if(0!==i.length){for(var a=[],o=Math.max(0,i.length-e),s=i.length-1;s>=o;s--){var c=i[s],u=c.startTime-t;a.push({state:c.state,start:tJ(u)})}return a}},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:a,stop:function(){i(),r.stop()}};return o}(t),tM=function(t,e,n,r,i,a,o,c,u){var l,d,f,p,h,m,g,_,y,b,w,S,k,E=(d=eX({expireDelay:eZ}),t.subscribe(2,function(t){var e;d.add({service:(e=t).service,version:e.version,customerContext:e.context,id:e.id,name:e.name,startClocks:e.startClocks},t.startClocks.relative)}),t.subscribe(6,function(t){var e=t.endClocks;d.closeActive(e.relative)}),t.subscribe(4,function(t){var e=d.find(t.startClocks.relative);e&&t.name&&(e.name=t.name)}),t.subscribe(10,function(){d.reset()}),{findView:function(t){return d.find(t)},stop:function(){d.stop()}}),x=function(t,e,n){var r,i=eX({expireDelay:eZ});t.subscribe(2,function(t){var e=t.startClocks,a=n.href;i.add(o({url:a,referrer:r||document.referrer}),e.relative),r=a}),t.subscribe(6,function(t){var e=t.endClocks;i.closeActive(e.relative)});var a=e.subscribe(function(t){var e=t.newLocation,n=i.find();if(n){var r=t0();i.closeActive(r),i.add(o({url:e.href,referrer:n.referrer}),r)}});function o(t){return{url:t.url,referrer:t.referrer}}return{findUrl:function(t){return i.find(t)},stop:function(){a.unsubscribe(),i.stop()}}}(t,a,n),C=(t.subscribe(1,function(e){return t.notify(12,rs(e,i))}),f={findActionId:tv},e.trackUserInteractions&&(f=function(t,e,n){var r,i,a,o,s,c,u,l,d=eX({expireDelay:ro}),f=new te;t.subscribe(10,function(){d.reset()}),t.subscribe(5,h);var p=(o=(r={onPointerDown:function(r){var i=n,a=t,o=e,s=r,c=i.enablePrivacyF
1orActionName?nH(s.target,i.defaultPrivacyLevel):nz.ALLOW;if(c!==nz.HIDDEN){var u,l=function(t,e,n){var r,i,a,o,s=t.target.getBoundingClientRect();return{type:"click",target:{width:Math.round(s.width),height:Math.round(s.height),selector:n4(t.target,n.actionNameAttribute)},position:{x:Math.round(t.clientX-s.left),y:Math.round(t.clientY-s.top)},name:(r=t.target,i=n.enablePrivacyForActionName,a=n.actionNameAttribute,o=nY(r,nX)||a&&nY(r,a),e===nz.MASK?o||"Masked Element":o||nQ(r,a,nJ,i)||nQ(r,a,n$,i)||"")}}(s,c,i),d=!1;return u=function(t){d=t.hadActivity},nx(nC(a,o,i),u,100),{clickActionBase:l,hadActivityOnPointerDown:function(){return d}}}},onPointerUp:function(r,i,a){!function(t,e,n,r,i,a,o,s,c,u){var l,d=function t(e,n,r,i,a){var o,s=eO(),c=t1(),u=n.add(s,c.relative),l=nE({lifeCycle:e,isChildEvent:function(t){return void 0!==t.action&&(Array.isArray(t.action.id)?G(t.action.id,s):t.action.id===s)}}),d=0,f=[],p=new te;function v(t){0===d&&((d=1,o=t)?u.close(o-t3()):u.remove(),l.stop(),p.notify())}return{event:a,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:c,isStopped:function(){return 1===d||2===d},clone:function(){return t(e,n,r,i,a)},validate:function(t){if(v(),1===d){var n,r=l.eventCounts,u=r.resourceCount,p=r.errorCount,h=r.longTaskCount,m=$({type:"click",duration:o&&(n=c.timeStamp,o-n),startClocks:c,id:s,frustrationTypes:f,counts:{resourceCount:u,errorCount:p,longTaskCount:h},events:null!=t?t:[a],event:a},i);e.notify(1,m),d=2}},discard:function(){v(),d=2}}}(e,r,c,o,s);a(d);var f=(l=function(t){t.hadActivity&&t.end<d.startClocks.timeStamp?d.discard():t.hadActivity?d.stop(t.end):u()?d.stop(d.startClocks.timeStamp):d.stop()},nx(nC(e,n,t),l,1e4)).stop,p=e.subscribe(5,function(t){var e=t.endClocks;d.stop(e.timeStamp)}),v=i.subscribe(function(){d.stop()});d.stopObservable.subscribe(function(){p.unsubscribe(),f(),v.unsubscribe()})}(n,t,e,d,f,v,r.clickActionBase,i,a,r.hadActivityOnPointerDown)}}).onPointerDown,s=r.onPointerUp,c={selection:!1,input:!1,scroll:!1},u=[ti(n,window,"pointerdown",function(t){ri(t)&&(i=rr(),c={selection:!1,input:!1,scroll:!1},a=o(t))},{capture:!0}),ti(n,window,"selectionchange",function(){i&&rr()||(c.selection=!0)},{capture:!0}),ti(n,window,"scroll",function(){c.scroll=!0},{capture:!0,passive:!0}),ti(n,window,"pointerup",function(t){if(ri(t)&&a){var e=c;s(a,t,function(){return e}),a=void 0}},{capture:!0}),ti(n,window,"input",function(){c.input=!0},{capture:!0})],{stop:function(){u.forEach(function(t){return t.stop()})}}).stop;return{stop:function(){h(),f.notify(),p()},actionContexts:{findActionId:function(t){return d.findAll(t)}}};function v(t){if(!l||!l.tryAppend(t)){var e=t.clone();l=function(t,e){var n,r=[],i=0;function a(t){t.stopObservable.subscribe(o),r.push(t),tl(n),n=tu(s,1e3)}function o(){1===i&&r.every(function(t){return t.isStopped()})&&(i=2,e(r))}function s(){tl(n),0===i&&(i=1,o())}return a(t),{tryAppend:function(t){var e,n,o,c;return 0===i&&(!(r.length>0)||(e=r[r.length-1].event,n=t.event,e.target===n.target&&100>=(o=e,c=n,Math.sqrt(Math.pow(o.clientX-c.clientX,2)+Math.pow(o.clientY-c.clientY,2)))&&e.timeStamp-n.timeStamp<=1e3)?(a(t),!0):(s(),!1))},stop:function(){s()}}}(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(tQ()),r.validate(n.map(function(t){return t.event}))):(r.discard(),n.forEach(function(t){return t.validate()}))})}}function h(){l&&l.stop()}}(t,o,e).actionContexts),{addAction:function(e,n){t.notify(12,$({savedCommonContext:n},rs(e,i)))},actionContexts:f}),T=C.addAction,A=C.actionContexts,R=(p=rM(),{get:function(){return{viewport:p}},stop:rL(e).subscribe(function(t){p=t}).unsubscribe}),I=(void 0===h&&(m=window.cookieStore?(l=e,function(t,e){return ti(l,window.cookieStore,"change",function(n){var r=K(n.changed,function(e){return e.name===t})||K(n.deleted,function(e){return e.name===t});r&&e(r.value)}).stop}):r4,h=new te(function(t){return m(r8,function(e){return t.notify(e)})})),_=ez(r8)||(null==(g=window.Cypress)?void 0:g.env("traceId")),y=h.subscribe(function(t){_=t}),{get:function(){if("string"==typeof _)return{test_execution_id:_}},stop:function(){return y.unsubscribe()}});return(b={}).view=tH(s.VIEW_SPECIFIC_CONTEXT)?$({},eq,eH):eH,b.error=$({"error.message":"string","error.stack":"string","error.resource.url":"string","error.fingerprint":"string"},eq,eH,ej),b.resource=$({"resource.url":"string"},tH(s.WRITABLE_RESOURCE_GRAPHQL)?{"resource.graphql":"object"}:{},eq,eH,ej),b.action=$({"action.target.name":"string"},eq,eH,ej),b.long_task=$({},eq,eH),b.vital=$({},eq,eH),v=b,(w={}).error=eN("error",e.eventRateLimiterThreshold,u),w.action=eN("action",e.eventRateLimiterThreshold,u),w.vital=eN("vital",e.eventRateLimiterThreshold,u),S=w,k=function(){var t,e,n="string"==typeof(t=window._DATADOG_SYNTHETICS_PUBLIC_ID||ez("datadog-synthetics-public-id"))?t:void 0,r="string"==typeof(e=window._DATADOG_SYNTHETICS_RESULT_ID||ez("datadog-synthetics-result-id"))?e:void 0;if(n&&r)return{test_id:n,result_id:r,injected:eB()}}(),t.subscribe(12,function(n){var i=n.startTime,a=n.rawRumEvent,o=n.domainContext,s=n.savedCommonContext,u=n.customerContext,l=E.findView(i),d=x.findUrl(i),f=r.findTrackedSession(i);if(f&&l&&d){var p,h=s||c(),m=A.findActionId(i),g=t8({_dd:{format_version:2,drift:Math.round(t$()-(p=t3(),p+performance.now())),configuration:{session_sample_rate:tK(e.sessionSampleRate,3),session_replay_sample_rate:tK(e.sessionReplaySampleRate,3)},browser_sdk_version:ef()?"5.26.0":void 0},application:{id:e.applicationId},date:tQ(),service:l.service||e.service,version:l.version||e.version,source:"browser",session:{id:f.id,type:k?"synthetics":I.get()?"ci_test":"user"},view:{id:l.id,name:l.name,url:d.url,referrer:d.referrer},action:-1!==["error","resource","long_task"].indexOf(a.type)&&m?{id:m}:void 0,synthetics:k,ci_test:I.get(),display:R.get(),connectivity:t9
1()},a);g.context=t8(h.context,l.customerContext,u),"has_replay"in g.session||(g.session.has_replay=h.hasReplay),"view"===g.type&&(g.session.sampled_for_replay=1===f.sessionReplay),tF(h.user)||(g.usr=h.user),function(t,e,n,r){if(e){var i,a,o,s,c=(i=v[t.type],o=e(a=t4(t),n),Y(i).forEach(function(e){var n=e[0],r=e[1],i=function(t,e){for(var n=t,r=0,i=e.split(".");r<i.length;r++){var a,o,s=i[r];if(a=n,o=s,!(eV(a)&&Object.prototype.hasOwnProperty.call(a,o)))return;n=n[s]}return n}(a,n),o=t5(i);o===r?eF(t,n,tg(i)):"object"===r&&("undefined"===o||"null"===o)&&eF(t,n,{})}),o);if(!1===c&&"view"!==t.type)return!1;!1===c&&M.warn("Can't dismiss view events using beforeSend!")}return!(null==(s=r[t.type])?void 0:s.isLimitReached())}(g,e.beforeSend,o,S)&&(tF(g.context)&&delete g.context,t.notify(13,g))}}),{viewContexts:E,pageStateHistory:i,urlContexts:x,addAction:T,actionContexts:A,stop:function(){I.stop(),R.stop(),x.stop(),E.stop(),i.stop()}}}(F,t,location,tr,tR,tA,tT,r,j),tB=tM.viewContexts,tj=tM.urlContexts,tG=tM.actionContexts,tW=tM.addAction,t6=tM.stop;B.push(t6),ea.drain();var t7=(ey=location,F.subscribe(4,function(n){var r,i,a,o,s,c,u,l,d,f,p,v,h,m,g,_,y,b,w,S,k,E,x,C,T;return F.notify(12,(r=n,i=t,a=X,o=e,s=tR,E=o.getReplayStats(r.id),x=a.findFeatureFlagEvaluations(r.startClocks.relative),C=s.findAll(r.startClocks.relative,r.duration),T={_dd:{document_version:r.documentVersion,replay_stats:E,page_states:C,configuration:{start_session_replay_recording_manually:i.startSessionReplayRecordingManually}},date:r.startClocks.timeStamp,type:"view",view:{action:{count:r.eventCounts.actionCount},frustration:{count:r.eventCounts.frustrationCount},cumulative_layout_shift:null==(c=r.commonViewMetrics.cumulativeLayoutShift)?void 0:c.value,cumulative_layout_shift_time:tJ(null==(u=r.commonViewMetrics.cumulativeLayoutShift)?void 0:u.time),cumulative_layout_shift_target_selector:null==(l=r.commonViewMetrics.cumulativeLayoutShift)?void 0:l.targetSelector,first_byte:tJ(null==(d=r.initialViewMetrics.navigationTimings)?void 0:d.firstByte),dom_complete:tJ(null==(f=r.initialViewMetrics.navigationTimings)?void 0:f.domComplete),dom_content_loaded:tJ(null==(p=r.initialViewMetrics.navigationTimings)?void 0:p.domContentLoaded),dom_interactive:tJ(null==(v=r.initialViewMetrics.navigationTimings)?void 0:v.domInteractive),error:{count:r.eventCounts.errorCount},first_contentful_paint:tJ(r.initialViewMetrics.firstContentfulPaint),first_input_delay:tJ(null==(h=r.initialViewMetrics.firstInput)?void 0:h.delay),first_input_time:tJ(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:tJ(null==(_=r.commonViewMetrics.interactionToNextPaint)?void 0:_.value),interaction_to_next_paint_time:tJ(null==(y=r.commonViewMetrics.interactionToNextPaint)?void 0:y.time),interaction_to_next_paint_target_selector:null==(b=r.commonViewMetrics.interactionToNextPaint)?void 0:b.targetSelector,is_active:r.isActive,name:r.name,largest_contentful_paint:tJ(null==(w=r.initialViewMetrics.largestContentfulPaint)?void 0:w.value),largest_contentful_paint_target_selector:null==(S=r.initialViewMetrics.largestContentfulPaint)?void 0:S.targetSelector,load_event:tJ(null==(k=r.initialViewMetrics.navigationTimings)?void 0:k.loadEvent),loading_time:nk(tJ(r.commonViewMetrics.loadingTime)),loading_type:r.loadingType,long_task:{count:r.eventCounts.longTaskCount},resource:{count:r.eventCounts.resourceCount},time_spent:tJ(r.duration)},feature_flags:x&&!tF(x)?x: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:tJ(r.commonViewMetrics.scroll.maxScrollHeightTime)}}:void 0,session:{has_replay:!!E||void 0,is_active:!!r.sessionIsActive&&void 0},privacy:{replay_level:i.defaultPrivacyLevel}},tF(r.customTimings)||(T.view.custom_timings=function(t,e){for(var n={},r=0,i=Object.keys(t);r<i.length;r++){var a=i[r];n[a]=e(t[a])}return n}(r.customTimings,tJ)),{rawRumEvent:T,startTime:r.startClocks.relative,domainContext:{location:r.location}}))}),function(t,e,n,r,i,a,o){var c,u=new Set,d=f("initial_load",t2(),o);function f(i,a,o){var c=function(t,e,n,r,i,a,o){void 0===a&&(a=t1());var c,u,d,f,p,v,h,m,g,_,y,b,w,k,E,x,C,T,A,R,I,N,O,L,D,P,U,z,B,F,V,q,j,G,Z,X,Y,J,$,Q,tt,tn,tr,to,ts,tc,tl=eO(),th=new te,tm={},tg=0,t_=tz(r),ty=!0;o&&(tr=o.name,to=o.service||void 0,ts=o.version||void 0,tc=tH(s.VIEW_SPECIFIC_CONTEXT)?o.context:void 0);var tb={id:tl,name:tr,startClocks:a,service:to,version:ts,context:tc};t.notify(2,tb),t.notify(3,tb);var tw=tp(tU,3e3,{leading:!1}),tS=tw.throttled,tk=tw.cancel,tE=(v={},m=(h=function(t,e,n,r,i,a){var o,s="initial_load"===r,c=!0,u=[];function l(){c||s||!(u.length>0)||a(Math.max.apply(Math,u))}return{stop:(o=function(t){if(c){var e;c=!1,t.hadActivity&&u.push((e=i.timeStamp,t.end-e)),l()}}
1,nx(nC(t,e,n),o,void 0)).stop,setLoadEvent:function(t){s&&(s=!1,u.push(t),l())}}}(t,e,n,i,p=a,function(t){v.loadingTime=t,tS()})).stop,g=h.setLoadEvent,x=(_=function(t){v.scroll=t},void 0===y&&(c=n,void 0===u&&(u=1e3),y=new te(function(t){if(window.ResizeObserver){var e=tp(function(){var e,n;t.notify((e=rO(),n=rM().height,{scrollHeight:Math.round((document.scrollingElement||document.documentElement).scrollHeight),scrollDepth:Math.round(n+e),scrollTop:e}))},u,{leading:!1,trailing:!0}),n=document.scrollingElement||document.documentElement,r=new ResizeObserver(H(e.throttled));r.observe(n);var i=ti(c,window,"scroll",e.throttled,{passive:!0});return function(){e.cancel(),r.unobserve(n),i.stop()}}})),b=0,w=0,k=0,E=y.subscribe(function(t){var e=t.scrollDepth,n=t.scrollTop,r=t.scrollHeight,i=!1;(e>b&&(b=e,i=!0),r>w)&&(w=r,k=t0()-p.relative,i=!0);i&&_({maxDepth:Math.min(b,w),maxDepthScrollTop:n,maxScrollHeight:w,maxScrollHeightTime:k})}),{stop:function(){return E.unsubscribe()}}).stop,C=function(t,e,n,r){if(!(eT(l.LAYOUT_SHIFT)&&"WeakRef"in window))return{stop:tv};var i,a,o,s,c,u,d=0;r({value:0});var f=(o=0,s=0,{update:function(t){var e;return void 0===i||t.startTime-a>=1e3||t.startTime-i>=5e3?(i=a=t.startTime,s=o=t.value,e=!0):(o+=t.value,a=t.startTime,(e=t.value>s)&&(s=t.value)),{cumulatedValue:o,isMaxValue:e}}});return{stop:e.subscribe(0,function(e){for(var i=0;i<e.length;i++){var a=e[i];if(a.entryType===l.LAYOUT_SHIFT&&!a.hadRecentInput){var o=f.update(a),s=o.cumulatedValue;if(o.isMaxValue){var p=function(t){var e;if(t)return null==(e=K(t,function(t){return!!t.node&&nL(t.node)}))?void 0:e.node}(a.sources);c=p?new WeakRef(p):void 0,u=a.startTime-n}if(s>d){d=s;var p=null==c?void 0:c.deref();r({value:tK(d,4),targetSelector:p&&n4(p,t.actionNameAttribute),time:u})}}}}).unsubscribe}}(n,t,p.relative,function(t){v.cumulativeLayoutShift=t,tS()}).stop,A=(T=function(t,e,n,r){if(!(eT(l.EVENT)&&window.PerformanceEventTiming&&"interactionId"in PerformanceEventTiming.prototype))return{getInteractionToNextPaint:function(){},setViewEnd:tv,stop:tv};var i,a,o,s,c,u=(i=n,"interactionCount"in performance||S||(S=new window.PerformanceObserver(H(function(t){t.getEntries().forEach(function(t){t.interactionId&&(rT=Math.min(rT,t.interactionId),rC=((rA=Math.max(rA,t.interactionId))-rT)/7+1)})}))).observe({type:"event",buffered:!0,durationThreshold:0}),a="initial_load"===i?0:rR(),o={stopped:!1},{getViewInteractionCount:function(){return o.stopped?o.interactionCount:rR()-a},stopViewInteractionCount:function(){o={stopped:!0,interactionCount:rR()-a}}}),d=u.getViewInteractionCount,f=u.stopViewInteractionCount,p=1/0,v=function(t){var e=[];function n(){e.sort(function(t,e){return e.duration-t.duration}).splice(10)}return{process:function(t){var r=e.findIndex(function(e){return t.interactionId===e.interactionId}),i=e[e.length-1];-1!==r?t.duration>e[r].duration&&(e[r]=t,n()):(e.length<10||t.duration>i.duration)&&(e.push(t),n())},estimateP98Interaction:function(){var n=Math.min(e.length-1,Math.floor(t()/50));return e[n]}}}(d),h=-1;return{getInteractionToNextPaint:function(){return h>=0?{value:Math.min(h,rI),targetSelector:s,time:c}:d()?{value:0}:void 0},setViewEnd:function(t){p=t,f()},stop:r.subscribe(0,function(n){for(var r=0;r<n.length;r++){var i=n[r];(i.entryType===l.EVENT||i.entryType===l.FIRST_INPUT)&&i.interactionId&&i.startTime>=e&&i.startTime<=p&&v.process(i)}var a=v.estimateP98Interaction();a&&a.duration!==h&&(h=a.duration,c=a.startTime-e,s=a.target&&nL(a.target)?n4(a.target,t.actionNameAttribute):void 0)}).unsubscribe}}(n,p.relative,i,t)).stop,R=T.getInteractionToNextPaint,{stop:function(){m(),C(),x()},stopINPTracking:A,setLoadEvent:g,setViewEnd:T.setViewEnd,getCommonViewMetrics:function(){return v.interactionToNextPaint=R(),v}}),tx=tE.setLoadEvent,tC=tE.setViewEnd,tT=tE.stop,tA=tE.stopINPTracking,tR=tE.getCommonViewMetrics,tI="initial_load"===i?(I={},D=(N=function(t){tx(t.loadEvent),I.navigationTimings=t,tS()},O=function(t){var e;t.loadEventEnd<=0||N({domComplete:(e=t).domComplete,domContentLoaded:e.domContentLoadedEventEnd,domInteractive:e.domInteractive,loadEvent:e.loadEventEnd,firstByte:e.responseStart>=0&&e.responseStart<=t0()?e.responseStart:void 0})},L=tv,eT(l.NAVIGATION)?L=eC(n,{type:l.NAVIGATION,buffered:!0}).subscribe(function(t){return W(t,O)}
1).unsubscribe:(d=n,f=O,rh(d,"complete",function(){tu(function(){return f(ry())})})),{stop:L}).stop,void 0===P&&(P=window),"hidden"===document.visibilityState?U=0:(U=1/0,z=ta(n,P,["pagehide","visibilitychange"],function(t){("pagehide"===t.type||"hidden"===document.visibilityState)&&(U=t.timeStamp,z())},{capture:!0}).stop),V=(B={get timeStamp(){return U},stop:function(){null==z||z()}},F=function(t){I.firstContentfulPaint=t,tS()},{stop:t.subscribe(0,function(t){var e=K(t,function(t){return t.entryType===l.PAINT&&"first-contentful-paint"===t.name&&t.startTime<B.timeStamp&&t.startTime<rE});e&&F(e.startTime)}).unsubscribe}).stop,J=(q=window,j=function(t){I.largestContentfulPaint=t,tS()},G=1/0,Z=ta(n,q,["pointerdown","keydown"],function(t){G=t.timeStamp},{capture:!0,once:!0}).stop,X=0,Y=t.subscribe(0,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===l.LARGEST_CONTENTFUL_PAINT&&t.startTime<G&&t.startTime<B.timeStamp&&t.startTime<rx&&t.size>X});if(e){var r=void 0;e.element&&(r=n4(e.element,n.actionNameAttribute)),j({value:e.startTime,targetSelector:r}),X=e.size}}).unsubscribe,{stop:function(){Z(),Y()}}).stop,Q=($=function(t){I.firstInput=t,tS()},{stop:t.subscribe(0,function(t){var e=K(t,function(t){return t.entryType===l.FIRST_INPUT&&t.startTime<B.timeStamp});if(e){var r,i=(r=e.startTime,e.processingStart-r),a=void 0;e.target&&nL(e.target)&&(a=n4(e.target,n.actionNameAttribute)),$({delay:i>=0?i:0,time:e.startTime,targetSelector:a})}}).unsubscribe}).stop,{stop:function(){D(),V(),J(),Q(),B.stop()},initialViewMetrics:I}):{stop:tv,initialViewMetrics:{}},tN=tI.stop,tO=tI.initialViewMetrics,tL={stop:(tt=nE({lifeCycle:t,isChildEvent:function(t){return t.view.id===tl},onChange:tS})).stop,eventCounts:tt.eventCounts},tM=tL.stop,tD=tL.eventCounts,tP=td(tU,rD);function tU(){tk(),tg+=1;var e=void 0===tn?tQ():tn.timeStamp;t.notify(4,{customTimings:tm,documentVersion:tg,id:tl,name:tr,service:to,version:ts,context:tc,loadingType:i,location:t_,startClocks:a,commonViewMetrics:tR(),initialViewMetrics:tO,duration:e-a.timeStamp,isActive:void 0===tn,sessionIsActive:ty,eventCounts:tD})}return tU(),{get name(){return tr},service:to,version:ts,context:tc,stopObservable:th,end:function(e){var n,r,i=this;void 0===e&&(e={}),tn||(tn=null!=(n=e.endClocks)?n:t1(),ty=null==(r=e.sessionIsActive)||r,t.notify(5,{endClocks:tn}),t.notify(6,{endClocks:tn}),tf(tP),tC(tn.relative),tT(),tU(),tu(function(){i.stop()},rP))},stop:function(){tN(),tM(),tA(),th.notify()},addTiming:function(t,e){if(!tn){var n,r,i=e<tX?e:e-a.timeStamp;tm[(r=(n=t).replace(/[^a-zA-Z0-9-_.@$]/g,"_"))!==n&&M.warn("Invalid timing name: ".concat(n,", sanitized to: ").concat(r)),r]=i,tS()}},updateViewName:function(t){tH(s.UPDATE_VIEW_NAME)&&(tr=t,tU())}}}(e,n,r,t,i,a,o);return u.add(c),c.stopObservable.subscribe(function(){u.delete(c)}),c}return e.subscribe(10,function(){d=f("route_change",void 0,{name:d.name,service:d.service,version:d.version,context:d.context})}),e.subscribe(9,function(){d.end({sessionIsActive:!1})}),e.subscribe(11,function(t){t.reason===to.UNLOADING&&d.end()}),a&&(c=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)||rU(n.hash)===rU(e.hash))||(d.end(),d=f("route_change"))})),{addTiming:function(t,e){void 0===e&&(e=tQ()),d.addTiming(t,e)},startView:function(t,e){d.end({endClocks:e}),d=f("route_change",e,t)},updateViewName:function(t){d.updateViewName(t)},stop:function(){c&&c.unsubscribe(),d.end(),u.forEach(function(t){return t.stop()})}}}(ey,F,tT,t,tA,!t.trackViewsManually,i)),et=t7.addTiming,er=t7.startView,eu=t7.updateViewName,ev=t7.stop;B.push(ev);var eh=(void 0===ew&&(ew=rb),F.subscribe(8,function(e){var n=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!rp.has(t)}).filter(function(t){return eb(t)}).filter(function(e){var n,r,i;return n=e,r=t.startClocks.relative,i=rv({startTime:t.startClocks.relative,duration:t.duration}),n.startTime>=r-1&&rv(n)<=i+1});if(1===n.length)return rp.add(n[0]),n[0].toJSON()}}}(t),i=r?tY(r.startTime):t.startClocks,a=function(t,e){if(t.traceSampled&&t.traceId&&t.spanId)return{_dd:{span_id:t.spanId.toDecimalString(),trace_id:t.traceId.toDecimalString(),rule_psr:rk(e)}}}(t,e);if(e.trackResources||a){var o,s,c,u="xhr"===t.type?"xhr":"fetch",l=r?rS(r):void 0,d=(o=n,s=i,c=t.duration,o.wasInPageStateDuringPeriod("frozen",s.relative,c)?void 0:tJ(c)),f=t8({date:i.timeStamp,resource:{id:eO(),type:u,duration:d,method:t.method,status_code:t.status,url:eE(t.url)?ex(t.url):t.url},type:"resource",_dd:{discarded:!e.trackResources}},a,l);return{startTime:i.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}}}}(e,t,tR);n&&F.notify(12,n)}),ek=eC(t,{type:l.RESOURCE,buffered:!0}).subscribe(function(e){for(var n=0;n<e.length;n++){var r=e[n];if("xmlhttprequest"!==r.initiatorType&&"fetch"!==r.initiatorType){var i=rw(r,t);i&&F.notify(12,i)}}}),ew(t,function(e){var n=rw(e,t);n&&F.notify(12,n)}),{stop:function(){ek.unsubscribe()}}).stop;if(B.push(eh),tH(s.LONG_ANIMATION_FRAME)){if(t.trackLongTasks){var em,eg,e_,ey,ew,ek,eI,eL=(eI=eC(t,{type:l.LONG_ANIMATION_FRAME,buffered:!0}).subscribe(function(t){for(var e=0;e<t.length;e++){var n=t[e],r=tY(n.startTime),i={date:r.timeStamp,long_task:{id:eO(),entry_type:"long-animation-frame",duration:tJ(n.duration),blocking_duration:tJ(n.blockingDuration),first_ui_event_timestamp:tY(n.firstUIEventTimestamp).relative,render_start:tY(n.renderStart).relative,style_and_layout_start:tY(n.styleAndLayoutStart).relative,scripts:n.scripts.map(function(t){return{duration:tJ(t.duration),pause_duration:tJ(t.pauseDuration),forced_style_and_layout_duration:tJ(t.forcedStyleAndLayoutDuration),start_time:tY(t.startTime).relative,execution_start:tY(t.executionStart).relative,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}};F.notify(12,{rawRumEvent:i,startTime:r.relative,domainContext:{performanceEntry:n}})}}),{stop:function(){return eI.unsubscribe()}}).stop;B.push(eL)}}else F.subscribe(0,function(e){for(var n=0;n<e.length;n++){var r=e[n];if(r.entryType!==l.LONG_TASK||!t.trackLongTasks)break;var i=tY(r.startTime),a={date:i.timeStamp,long_task:{id:eO(),entry_type:"long-task",duration:tJ(r.duration)},type:"long_task",_dd:{discarded:!1}};F.notify(12,{rawRumEvent:a,startTime:i.relative,domainContext:{performanceEntry:r}})}});var eM=(d=R=new te,(f=[I.error].map(function(t){var e;return ru[t]||(ru[t]=(e=t,new te(function(t){var n=N[e];return N[e]=function(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];n.apply(console,r);var a=tN();q(function(){t.notify(function(t,e,n){var r,i=t.map(function(t){var e;return"string"==typeof(e=t)?tg(e):e instanceof Error?tL(tb(e)):th(tg(e),void 0,2)}).join(" ");if(e===I.error){var a=K(t,function(t){return t instanceof Error});r={stack:a?tO(tb(a)):void 0,fingerprint:tP(a),causes:a?tU(a,"console"):void 0,startClocks:t1(),message:i,source:"console",handling:"handled",handlingStack:n}}return{api:e,message:i,error:r,handlingStack:n}}(r,e,a))})},function(){N[e]=n}}))),ru[t]}),tn.apply(void 0,f)).subscribe(function(t){return d.notify(t.error)}),(p=O=function(t,e){var n=tD({stackTrace:t,originalError:e,startClocks:t1(),nonErrorPrefix:"Uncaught",source:"source",handling:"unhandled"});R.notify(n)},eY(window,"onerror",function(t){var e,n,r,i,a,o,s=t.parameters,c=s[0],u=s[1],l=s[2],d=s[3],f=s[4];if(f instanceof Error)o=tb(f);else{o={name:(e=c,"[object String]"===({}).toString.call(e)&&(r=(n=tI.exec(e))[1],i=n[2]),a={name:r,message:i}).name,message:a.message,stack:[{url:u,column:d,line:l}]}}p(o,null!=f?f:c)})).stop,(h=O,eY(window,"onunhandledrejection",function(t){var e=t.parameters[0].reason||"Empty reason";h(tb(e),e)})).stop,(D=[],G(L=[rl,"intervention"],rl)&&D.push((g=t,new te(function(t){return ti(g,document,"securitypolicyviolation",function(e){var n,r;t.notify((n=e,r="'".concat(n.blockedURI,"' blocked by '").concat(n.effectiveDirective,"' directive"),rd({type:n.effectiveDirective,message:"".concat(rl,": ").concat(r),originalError:n,csp:{dis
1position:n.disposition},stack:rf(n.effectiveDirective,n.originalPolicy?"".concat(r,' of the policy "').concat(eD(n.originalPolicy,100,"..."),'"'):"no policy",n.sourceFile,n.lineNumber,n.columnNumber)})))}).stop}))),(P=L.filter(function(t){return t!==rl})).length&&D.push((_=P,new te(function(t){if(window.ReportingObserver){var e=H(function(e,n){return e.forEach(function(e){var n,r,i;return t.notify((r=(n=e).type,rd({type:(i=n.body).id,message:"".concat(r,": ").concat(i.message),originalError:n,stack:rf(i.id,i.message,i.sourceFile,i.lineNumber,i.columnNumber)})))})}),n=new window.ReportingObserver(e,{types:_,buffered:!0});return n.observe(),function(){n.disconnect()}}}))),tn.apply(void 0,D)).subscribe(function(t){return R.notify(t)}),R.subscribe(function(t){return F.notify(14,{error:t})}),y=F,b=tR,w=X,y.subscribe(14,function(t){var e,n,r,i,a,o,s=t.error,c=t.customerContext,u=t.savedCommonContext;y.notify(12,$({customerContext:c,savedCommonContext:u},(e=s,n=b,r=w,i={date:e.startClocks.timeStamp,error:{id:eO(),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)}},(a=r.findFeatureFlagEvaluations(e.startClocks.relative))&&!tF(a)&&(i.feature_flags=a),o={error:e.originalError,handlingStack:e.handlingStack},{rawRumEvent:i,startTime:e.startClocks.relative,domainContext:o})))}),{addError:function(t,e){var n=t.error,r=t.handlingStack,i=t.startClocks,a=t.context,o=tD({stackTrace:n instanceof Error?tb(n):void 0,originalError:n,handlingStack:r,startClocks:i,nonErrorPrefix:"Provided",source:"custom",handling:"handled"});y.notify(14,{customerContext:a,savedCommonContext:e,error:o})}}).addError;U={clearTracingIfNeeded:ng,traceFetch:function(e){return n_(t,e,tr,function(t){var n;if(e.input instanceof Request&&!(null==(n=e.init)?void 0:n.headers))e.input=new Request(e.input),Object.keys(t).forEach(function(n){e.input.headers.append(n,t[n])});else{e.init=tz(e.init);var r=[];e.init.headers instanceof 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(Y(t))}})},traceXhr:function(e,n){return n_(t,e,tr,function(t){Object.keys(t).forEach(function(e){n.setRequestHeader(e,t[e])})})}},function(t,e,n){var r;(!m&&(r=e,m=new te(function(t){var e=eY(XMLHttpRequest.prototype,"open",e0).stop,n=eY(XMLHttpRequest.prototype,"send",function(e){!function(t,e,n){var r=t.target,i=t.handlingStack,a=eQ.get(r);if(a){a.state="start",a.startClocks=t1(),a.isAborted=!1,a.xhr=r,a.handlingStack=i;var o=!1,s=eY(r,"onreadystatechange",function(){r.readyState===XMLHttpRequest.DONE&&c()}).stop,c=function(){if(u(),s(),!o){var t;o=!0,a.state="complete",t=a.startClocks.timeStamp,a.duration=tQ()-t,a.status=r.status,n.notify(tz(a))}},u=ti(e,r,"loadend",c).stop;n.notify(a)}}(e,r,t)},{computeHandlingStack:!0}).stop,i=eY(XMLHttpRequest.prototype,"abort",e1).stop;return function(){e(),n(),i()}})),m).subscribe(function(r){if(eS(e,r.url))switch(r.state){case"start":n.traceXhr(r,r.xhr),r.requestIndex=nS(),t.notify(7,{requestIndex:r.requestIndex,url:r.url});break;case"complete":n.clearTracingIfNeeded(r),t.notify(8,{duration:r.duration,method:r.method,requestIndex:r.requestIndex,spanId:r.spanId,startClocks:r.startClocks,status:r.status,traceId:r.traceId,traceSampled:r.traceSampled,type:"xhr",url:r.url,xhr:r.xhr,isAborted:r.isAborted,handlingStack:r.handlingStack})}})}(F,t,U),k=F,T=t,A=U,e$().subscribe(function(t){if(eS(T,t.url))switch(t.state){case"start":A.traceFetch(t),t.requestIndex=nS(),k.notify(7,{requestIndex:t.requestIndex,url:t.url});break;case"resolve":var e,n,r,i;e=t,n=function(e){A.clearTracingIfNeeded(t),k.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})},(i=e.response&&function(t){try{return t.clone()}catch(t){return}}(e.response))&&i.body?function(t,e,n){var r=t.getReader(),i=[],a=0;
1function o(){if(r.cancel().catch(tv),n.collectStreamBody){if(1===i.length)s=i[0];else{var t,o,s=new Uint8Array(a),c=0;i.forEach(function(t){s.set(t,c),c+=t.length})}t=s.slice(0,n.bytesLimit),o=s.length>n.bytesLimit}e(void 0,t,o)}!function t(){r.read().then(H(function(e){e.done?o():(n.collectStreamBody&&i.push(e.value),(a+=e.value.length)>n.bytesLimit?o():t())}),H(function(t){return e(t)}))}()}(i.body,function(){var t;n((t=e.startClocks.timeStamp,tQ()-t))},{bytesLimit:1/0,collectStreamBody:!1}):n((r=e.startClocks.timeStamp,tQ()-r))}});var eU=function(t,e){var n=[];if(eA()){var r=performance.getEntries();tu(function(){return eR(t,r)})}if(window.PerformanceObserver){var i=H(function(e){return eR(t,e.getEntries())}),a=[l.LONG_TASK,l.PAINT],o=[l.LARGEST_CONTENTFUL_PAINT,l.FIRST_INPUT,l.LAYOUT_SHIFT,l.EVENT];try{o.forEach(function(t){var e=new window.PerformanceObserver(i);e.observe({type:t,buffered:!0,durationThreshold:40}),n.push(function(){return e.disconnect()})})}catch(t){a.push.apply(a,o)}var s=new PerformanceObserver(i);try{s.observe({entryTypes:a}),n.push(function(){return s.disconnect()})}catch(t){}if(eA()&&"addEventListener"in performance){var c=ti(e,performance,"resourcetimingbufferfull",function(){performance.clearResourceTimings()}).stop;n.push(c)}}if(!eT(l.FIRST_INPUT)){var u=function(t,e){var n=t$(),r=!1,i=ta(t,window,["click","mousedown","keydown","touchstart","pointerdown"],function(e){if(e.cancelable){var n,r,i={entryType:l.FIRST_INPUT,processingStart:t0(),processingEnd:t0(),startTime:e.timeStamp,duration:0,name:""};"pointerdown"===e.type?(n=t,r=i,ta(n,window,["pointerup","pointercancel"],function(t){"pointerup"===t.type&&a(r)},{once:!0})):a(i)}},{passive:!0,capture:!0}).stop;return{stop:i};function a(t){if(!r){r=!0,i();var a=t.processingStart-t.startTime;a>=0&&a<t$()-n&&e(t)}}}(e,function(e){eR(t,[e])}).stop;n.push(u)}return{stop:function(){n.forEach(function(t){return t()})}}}(F,t).stop;B.push(eU);var eW=function(t,e,n){function r(n){var r,i,a;e.wasInPageStateDuringPeriod("frozen",n.startClocks.relative,n.duration)||t.notify(12,(i=!0,a={date:(r=n).startClocks.timeStamp,vital:{id:eO(),type:r.type,name:r.name,duration:tJ(r.duration),description:r.description},type:"vital"},i&&(a._dd={vital:{computed_value:!0}}),{rawRumEvent:a,startTime:r.startClocks.relative,customerContext:r.context,domainContext:{}}))}return{addDurationVital:r,startDurationVital:function(t,e){return void 0===e&&(e={}),r5(n,t,e)},stopDurationVital:function(t,e){void 0===e&&(e={}),r6(r,n,t,e)}}}(F,tR,u),eJ=(z=t.applicationId,{get:function(t){var e=tB.findView(t),n=tj.findUrl(t),r=tr.findTrackedSession(t);if(r&&e&&n){var i=tG.findActionId(t);return{application_id:z,session_id:r.id,user_action:i?{id:i}:void 0,view:{id:e.id,name:e.name,referrer:n.referrer,url:n.url}}}}});return{addAction:tW,addError:eM,addTiming:et,addFeatureFlagEvaluation:X.addFeatureFlagEvaluation,startView:er,updateViewName:eu,lifeCycle:F,viewContexts:tB,session:tr,stopSession:function(){return tr.expire()},getInternalContext:eJ.get,startDurationVital:eW.startDurationVital,stopDurationVital:eW.stopDurationVital,addDurationVital:eW.addDurationVital,stop:function(){B.forEach(function(t){return t()})}}},function(t){if(ef()&&!ed("records")||!iF())return{start:tv,stop:tv,getReplayStats:function(){},onRumStart:tv,isRecording:function(){return!1},getSessionReplayLink:function(){}};var e={status:1},n=function(){e={status:1}},r=function(){e={status:0}},i=tv;return{start:function(t){return n(t)},stop:function(){return r()},getSessionReplayLink:function(){return i()},onRumStart:function(a,o,s,c,u){var l;o.startSessionReplayRecordingManually&&(e={status:0}),a.subscribe(9,function(){(2===e.status||3===e.status)&&(r(),e={status:1})}),a.subscribe(11,function(t){t.reason===to.UNLOADING&&r()}),a.subscribe(10,function(){1===e.status&&n()}),n=function(n){var i=s.findTrackedSession();if(!i||0===i.sessionReplay&&(!n||!n.force)){e={status:1};return}2!==e.status&&3!==e.status&&(e={status:2},rh(o,"interactive",function(){if(2===e.status){var n=(!l&&(u||(u=ij(o,"Datadog Session Replay",function(){r()},void 0)),u&&(l=iV(o,u,1))),l);
1if(!n){e={status:0};return}e={status:3,stopRecording:t(a,o,s,c,n).stop}}}),n&&n.force&&0===i.sessionReplay&&s.setForcedReplay())},r=function(){0!==e.status&&(3===e.status&&e.stopRecording(),e={status:0})},i=function(){var t,n,r,i,a,u,l,d,f,p,v,h,m,g,_,y;return t=0!==e.status,h=n=s.findTrackedSession(),m=t,r=iF()?h?0===h.sessionReplay?"incorrect-session-plan":m?void 0:"replay-not-started":"rum-not-tracked":"browser-not-supported",i=c.findView(),u=(a={viewContext:i,errorType:r,session:n}).session,l=a.viewContext,d=a.errorType,f=u?u.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=o).site,y=g.subdomain||function(t){switch(t.site){case tj:case"datadoghq.eu":return"app";case tq:return"dd";default:return}}(g),v="https://".concat(y?"".concat(y,"."):"").concat(_),"".concat(v).concat("/rum/replay/sessions/".concat(f),"?").concat(p.join("&"))},1===e.status&&n()},isRecording:function(){return 3===iq.status&&3===e.status},getReplayStats:function(t){return 3===iq.status?null==T?void 0:T.get(t):void 0}}}(function(t,e,n,r,i,a){var o,s=[],c=a||rK(e,e.sessionReplayEndpointBuilder,6e4,function(e){t.notify(14,{error:e}),es("Error reported to customer",{"error.message":e.message})});if(ef())o=(u=el(),{addRecord:function(t){var e=r.findView();u.send("record",t,e.id)}}).addRecord;else{var u,l=function(t,e,n,r){var i={status:0,nextSegmentCreationReason:"init"},a=t.subscribe(3,function(){s("view_change")}).unsubscribe,o=t.subscribe(11,function(t){s(t.reason)}).unsubscribe;function s(t){1===i.status&&(i.segment.flush(function(e,r){var i,a,o,s,c=(i=r.output,a=r.rawBytesCount,(o=new FormData).append("segment",new Blob([i],{type:"application/octet-stream"}),"".concat(e.session.id,"-").concat(e.start)),s=JSON.stringify($({raw_segment_size:a,compressed_segment_size:i.byteLength},e)),o.append("event",new Blob([s],{type:"application/json"})),{data:o,bytesCount:i.byteLength});G(X(to),t)?n.sendOnExit(c):n.send(c)}),tl(i.expirationTimeoutId)),i="stop"!==t?{status:0,nextSegmentCreationReason:t}:{status:2}}return{addRecord:function(t){if(2!==i.status){if(0===i.status){var n=e();if(!n)return;i={status:1,segment:function(t){var e=t.context,n=t.creationReason,r=t.encoder,i=0,a=e.view.id,o=$({start:1/0,end:-1/0,creation_reason:n,records_count:0,has_full_snapshot:!1,index_in_view:ic(a).segments_count,source:"browser"},e);return ic(a).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(i+=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,ic(n).segments_total_raw_size+=r,t(o,e)})}}}({encoder:r,context:n,creationReason:i.nextSegmentCreationReason}),expirationTimeoutId:tu(function(){s("segment_duration_limit")},3e4)}}i.segment.addRecord(t,function(t){t>6e4&&s("segment_bytes_limit")})}},stop:function(){s("stop"),a(),o()}}}(t,function(){var t=e.applicationId,i=n,a=r,o=i.findTrackedSession(),s=a.findView();return o&&s?{application:{id:t},session:{id:o.id},view:{id:s.id}}:void 0},c,i);o=l.addRecord,s.push(l.stop)}var d=function(t){var e,n,r,i,a,o,s,c,u,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),tt("record",{record:e}),n=t.viewContexts.findView().id,ic(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)}}),b=iB(m,_,y),w=(n=S,(r=function(t){return t.forEach(function(t){return _(t)})})((i=function(t,e){void 0===t&&(t=tQ()),void 0===e&&(e={status:0,elementsScrollPositions:y,shadowRootsController:b});var n=rM(),r=n.width,i=[{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:ix(document,{serializationContext:e,parentNodePrivacyLevel:m.defaultPrivacyLevel,configuration:m}),initialOffset:{left:rN(),top:rO()}},type:2,timestamp:t}];
1return window.visualViewport&&i.push({data:iN(window.visualViewport),type:8,timestamp:t}),i})()),{stop:g.subscribe(3,function(t){n(),r(i(t.startClocks.timeStamp,{shadowRootsController:b,status:1,elementsScrollPositions:y}))}).unsubscribe}).stop;function S(){b.flush(),E.flush()}var k=(a=new WeakMap,o=1,{getIdForEvent:function(t){return a.has(t)||a.set(t,o++),a.get(t)}}),E=iz(_,m,b,document),x=[E,(c=(s=tp(function(t){var e=iR(t);if(il(e)){var n=iL(t);if(!n)return;var r={id:id(e),timeOffset:0,x:n.x,y:n.y};_(iO(iA(t)?6:1,{positions:[r]}))}},50,{trailing:!1})).throttled,u=s.cancel,l=ta(m,document,["mousemove","touchmove"],c,{capture:!0,passive:!0}).stop,{stop:function(){l(),u()}}),ta(m,document,Object.keys(iM),function(t){var e,n=iR(t);if(nH(n,m.defaultPrivacyLevel)!==nz.HIDDEN&&il(n)){var r=id(n),i=iM[t.type];if(6!==i&&5!==i){var a=iL(t);if(!a)return;e={id:r,type:i,x:a.x,y:a.y}}else e={id:r,type:i};_($({id:k.getIdForEvent(t)},iO(2,e)))}},{capture:!0,passive:!0}),iD(m,_,y,document),(d=rL(m).subscribe(function(t){_(iO(4,t))}),{stop:function(){d.unsubscribe()}}),iU(m,_),ta(m,document,["play","pause"],function(t){var e=iR(t);e&&nH(e,m.defaultPrivacyLevel)!==nz.HIDDEN&&il(e)&&_(iO(7,{id:id(e),type:1*("play"!==t.type)}))},{capture:!0,passive:!0}),function(t){function e(t,e){t&&il(t.ownerNode)&&e(id(t.ownerNode))}var n=[eY(CSSStyleSheet.prototype,"insertRule",function(n){var r=n.target,i=n.parameters,a=i[0],o=i[1];e(r,function(e){return t(iO(8,{id:e,adds:[{rule:a,index:o}]}))})}),eY(CSSStyleSheet.prototype,"deleteRule",function(n){var r=n.target,i=n.parameters[0];e(r,function(e){return t(iO(8,{id:e,removes:[{index:i}]}))})})];function r(r){n.push(eY(r.prototype,"insertRule",function(n){var r=n.target,i=n.parameters,a=i[0],o=i[1];e(r.parentStyleSheet,function(e){var n=iP(r);n&&(n.push(o||0),t(iO(8,{id:e,adds:[{rule:a,index:n}]})))})}),eY(r.prototype,"deleteRule",function(n){var r=n.target,i=n.parameters[0];e(r.parentStyleSheet,function(e){var n=iP(r);n&&(n.push(i),t(iO(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()})}}}(_),ta(m,window,["focus","blur"],function(){_({data:{has_focus:document.hasFocus()},type:6,timestamp:tQ()})}),function(t,e){var n=window.visualViewport;if(!n)return{stop:tv};var r=tp(function(){e({data:iN(n),type:8,timestamp:tQ()})},200,{trailing:!1}),i=r.throttled,a=r.cancel,o=ta(t,n,["resize","scroll"],i,{capture:!0,passive:!0}).stop;return{stop:function(){o(),a()}}}(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 k.getIdForEvent(t)})}})}),{stop:function(){f.unsubscribe()}}),(p=function(t){S(),_(t)},v=g.subscribe(5,function(){p({timestamp:tQ(),type:7})}),{stop:function(){v.unsubscribe()}})];return{stop:function(){b.stop(),x.forEach(function(t){return t.stop()}),w()},flushMutations:S,shadowRootsController:b}}({emit:o,configuration:e,lifeCycle:t,viewContexts:r}).stop;return s.push(d),{stop:function(){s.forEach(function(t){return t()})}}}),{startDeflateWorker:ij,createDeflateEncoder:iV});r=Q(),(a=r[i="DD_RUM"])&&!a.q&&a.version&&M.warn("SDK is loaded more than once. This is unsupported and might have unexpected behavior."),r[i]=iZ,a&&a.q&&a.q.forEach(function(t){return z(t,"onReady callback threw an error:")()}),t.s(["datadogRum",0,iZ],939948);var iK=t.i(195389);async function iW(t){return(0,R.amplitudeReset)(),iZ.clearUser(),iZ.removeGlobalContextProperty("is_impersonating"),(0,iK.signOut)(t)}t.s(["signOutAndResetAnalytics",0,iW],835330)}]); 2 3//# sourceMappingURL=3tyglbkg8s7dk.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.