PageSourceSearch

https://manifol.io/_next/static/chunks/pages/_app-a164ddbe223dac86.js

js manifol.io collected 2026-10-03 23:52:31 UTC 146,768 bytes, 8 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[888],{8679:function(t,e,n){"use strict";var r=n(1296),i={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},a={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},o={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function u(t){return r.isMemo(t)?o:s[t.$$typeof]||i}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[r.Memo]=o;var c=Object.defineProperty,l=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,h=Object.prototype;t.exports=function t(e,n,r){if("string"!=typeof n){if(h){var i=p(n);i&&i!==h&&t(e,i,r)}var o=l(n);d&&(o=o.concat(d(n)));for(var s=u(e),v=u(n),m=0;m<o.length;++m){var g=o[m];if(!a[g]&&!(r&&r[g])&&!(v&&v[g])&&!(s&&s[g])){var y=f(n,g);try{c(e,g,y)}catch(t){}}}}return e}},6103:function(t,e){"use strict";/** @license React v16.13.1
2 * react-is.production.min.js
3 *
4 * Copyright (c) Facebook, Inc. and its affiliates.
5 *
6 * This source code is licensed under the MIT license found in the
7 * LICENSE file in the root directory of this source tree.
8 */var n="function"==typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,i=n?Symbol.for("react.portal"):60106,a=n?Symbol.for("react.fragment"):60107,o=n?Symbol.for("react.strict_mode"):60108,s=n?Symbol.for("react.profiler"):60114,u=n?Symbol.for("react.provider"):60109,c=n?Symbol.for("react.context"):60110,l=n?Symbol.for("react.async_mode"):60111,d=n?Symbol.for("react.concurrent_mode"):60111,f=n?Symbol.for("react.forward_ref"):60112,p=n?Symbol.for("react.suspense"):60113,h=n?Symbol.for("react.suspense_list"):60120,v=n?Symbol.for("react.memo"):60115,m=n?Symbol.for("react.lazy"):60116,g=n?Symbol.for("react.block"):60121,y=n?Symbol.for("react.fundamental"):60117,b=n?Symbol.for("react.responder"):60118,_=n?Symbol.for("react.scope"):60119;function w(t){if("object"==typeof t&&null!==t){var e=t.$$typeof;switch(e){case r:switch(t=t.type){case l:case d:case a:case s:case o:case p:return t;default:switch(t=t&&t.$$typeof){case c:case f:case m:case v:case u:return t;default:return e}}case i:return e}}}function S(t){return w(t)===d}e.AsyncMode=l,e.ConcurrentMode=d,e.ContextConsumer=c,e.ContextProvider=u,e.Element=r,e.ForwardRef=f,e.Fragment=a,e.Lazy=m,e.Memo=v,e.Portal=i,e.Profiler=s,e.StrictMode=o,e.Suspense=p,e.isAsyncMode=function(t){return S(t)||w(t)===l},e.isConcurrentMode=S,e.isContextConsumer=function(t){return w(t)===c},e.isContextProvider=function(t){return w(t)===u},e.isElement=function(t){return"object"==typeof t&&null!==t&&t.$$typeof===r},e.isForwardRef=function(t){return w(t)===f},e.isFragment=function(t){return w(t)===a},e.isLazy=function(t){return w(t)===m},e.isMemo=function(t){return w(t)===v},e.isPortal=function(t){return w(t)===i},e.isProfiler=function(t){return w(t)===s},e.isStrictMode=function(t){return w(t)===o},e.isSuspense=function(t){return w(t)===p},e.isValidElementType=function(t){return"string"==typeof t||"function"==typeof t||t===a||t===d||t===s||t===o||t===p||t===h||"object"==typeof t&&null!==t&&(t.$$typeof===m||t.$$typeof===v||t.$$typeof===u||t.$$typeof===c||t.$$typeof===f||t.$$typeof===y||t.$$typeof===b||t.$$typeof===_||t.$$typeof===g)},e.typeOf=w},1296:function(t,e,n){"use strict";t.exports=n(6103)},6840:function(t,e,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/_app",function(){return n(1660)}])},9672:function(t,e){"use strict";let n="info",r=t=>{let e=["debug","info","warn","error"],r=e.indexOf(t)>=e.indexOf(n);return r},i=function(t){for(var e=arguments.length,n=Array(e>1?e-1:0),i=1;i<e;i++)n[i-1]=arguments[i];if(r(t))switch(t){case"debug":case"info":console.log(...n);break;case"warn":console.warn(...n);break;case"error":console.error(...n)}};e.Z={debug:function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];return i("debug",...e)},info:function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];return i("info",...e)},warn:function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];return i("warn",...e)},error:function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];return i("error",...e)},setLevel:t=>{n=t}}},1660:function(t,e,n){"use strict";n.r(e),n.d(e,{ddEnv:function(){return is},default:function(){return iu}});var r,i,a,o,s,u,c,l,d,f,p,h,v,m,g,y,b,_,w,S,k,T,C,x,E,A,R=n(5893),O=n(9672),I=n(8909),N=n(1928),L={log:"log",debug:"debug",info:"info",warn:"warn",error:"error"},M=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];Object.prototype.hasOwnProperty.call(L,t)||(t=L.log),M[t].apply(M,e)},D=console;function P(t,e){return function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];try{return t.apply(void 0,n)}catch(t){M.error(e,t)}}}M.debug=D.debug.bind(D),M.log=D.log.bind(D),M.info=D.info.bind(D),M.warn=D.warn.bind(D),M.error=D.error.bind(D);var z=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))},U=!1;function B(t){U=t}function F(t){return function(){return j(t,this,arguments)}}function j(t,e,n){try{return t.apply(e,n)}catch(t){if(q(L.error,t),s)try{s(t)}catch(t){q(L.error,t)}}}function q(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];U&&M.apply(void 0,z([t,"[MONITOR]"],e,!1))}function H(t,e){return -1!==t.indexOf(e)}function V(t){if(Array.from)return Array.from(t);var e=[];
8if(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 G(t,e){for(var n=0;n<t.length;n+=1){var r=t[n];if(e(r,n))return r}}function $(t){return Object.keys(t).map(function(e){return t[e]})}function J(t){return Object.keys(t).map(function(e){return[e,t[e]]})}function W(t,e){return t.slice(0,e.length)===e}function X(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?"\x00"===t?"�":"".concat(t.slice(0,-1),"\\").concat(t.charCodeAt(t.length-1).toString(16)," "):"\\".concat(t)})}function Y(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 K(){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}var Z=/[^\u0000-\u007F]/;function Q(t){return Z.test(t)?void 0!==window.TextEncoder?new TextEncoder().encode(t).length:new Blob([t]).size:t.length}function tt(t,e){var n,r=K();return r.Zone&&"function"==typeof r.Zone.__symbol__&&(n=t[r.Zone.__symbol__(e)]),n||(n=t[e]),n}function te(t,e){return tt(K(),"setTimeout")(F(t),e)}function tn(t){tt(K(),"clearTimeout")(t)}function tr(t,e){return tt(window,"setInterval")(F(t),e)}function ti(t){tt(window,"clearInterval")(t)}function ta(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=[],u=0;u<arguments.length;u++)n[u]=arguments[u];if(s){r=n;return}a?t.apply(void 0,n):r=n,s=!0,i=te(function(){o&&r&&t.apply(void 0,r),s=!1,r=void 0},e)},cancel:function(){tn(i),s=!1,r=void 0}}}function to(){}function ts(t){return null===t?"null":Array.isArray(t)?"array":typeof t}function tu(t,e,n){if(void 0===n&&(n=function(){if("undefined"!=typeof WeakSet){var t=new WeakSet;return{hasAlreadyBeenSeen:function(e){var n=t.has(e);return n||t.add(e),n}}}var e=[];return{hasAlreadyBeenSeen:function(t){var n=e.indexOf(t)>=0;return n||e.push(t),n}}}()),void 0===e)return t;if("object"!=typeof e||null===e)return e;if(e instanceof Date)return new Date(e.getTime());if(e instanceof RegExp){var r=e.flags||[e.global?"g":"",e.ignoreCase?"i":"",e.multiline?"m":"",e.sticky?"y":"",e.unicode?"u":""].join("");return 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]=tu(i[a],e[a],n);return i}var o="object"===ts(t)?t:{};for(var s in e)Object.prototype.hasOwnProperty.call(e,s)&&(o[s]=tu(o[s],e[s],n));return o}}function tc(t){return tu(void 0,t)}function tl(){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=tu(t,i))}return t}function td(t,e,n){if("object"!=typeof t||null===t)return JSON.stringify(t);var r=tf(Object.prototype),i=tf(Array.prototype),a=tf(Object.getPrototypeOf(t)),o=tf(t);try{return JSON.stringify(t,e,n)}catch(t){return"<error: unable to serialize object>"}finally{r(),i(),a(),o()}}function tf(t){var e=t,n=e.toJSON;return n?(delete e.toJSON,function(){e.toJSON=n}):to}function tp(t,e){void 0===e&&(e=225280);var n,r=tf(Object.prototype),i=tf(Array.prototype),a=[],o=new WeakMap,s=th(t,"$",void 0,a,o),u=(null===(n=JSON.stringify(s))||void 0===n?void 0:n.length)||0;if(u>e){tv(e,"discarded",t);return}for(;a.length>0&&u<e;){var c=a.shift(),l=0;if(Array.isArray(c.source))for(var d=0;d<c.source.length;d++){var f=th(c.source[d],c.path,d,a,o);if(void 0!==f?u+=JSON.stringify(f).length:u+=4,u+=l,l=1,u>e){tv(e,"truncated",t);break}c.target[d]=f}else for(var d in c.source)if(Object.prototype.hasOwnProperty.call(c.source,d)){var f=th(c.source[d],c.path,d,a,o);if(void 0!==f&&(u+=JSON.stringify(f).length+l+d.length+3,l=1),u>e){tv(e,"truncated",t);break}c.target[d]=f}}return r(),i(),s}function th(t,e,n,r,i){var a=function(t){if(t&&"function"==typeof t.toJSON)try{return t.toJSON()}catch(t){}return t}(t);if(!a||"object"!=typeof a)return"bigint"==typeof a?"[BigInt] ".concat(a.toString()):"function"==typeof a?"[Function] ".concat(a.name||"unknown"):"symbol"==typeof a?"[Symbol] ".concat(a.description||a.toString()):a;var o=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]"}(a);if("[Object]"!==o&&"[Array]"!==o&&"[Error]"!==o)return o;if(i.has(t))return"[Reference seen at ".concat(i.get(t),"]");var s=void 0!==n?"".concat(e,".").concat(n):e,u=Array.isArray(a)?[]:{};return i.set(t,s),r.push({source:a,target:u,path:s}),u}function tv(t,e,n){M.warn("The data provided has been ".concat(e," as it is over the limit of ").concat(t," characters:"),n)}function tm(t,e){return t>3072&&(M.warn("The ".concat(e," data exceeds the recommended ").concat(3,"KiB threshold. More details: https://docs.datadoghq.com/real_user_monitoring/browser/troubleshooting/#customer-data-exceeds-the-recommended-3kib-warning")),!0)}function tg(t,e){void 0===e&&(e=Q);var n,r={},i=!1,a=ta(function(r){n=e(td(r)),i||(i=tm(n,t))},200).throttled;return{getBytesCount:function(){return n},get:function(){return r},add:function(t,e){r[t]=e,a(r)},remove:function(t){delete r[t],a(r)}
8,set:function(t){a(r=t)},getContext:function(){return tc(r)},setContext:function(t){a(r=tp(t))},setContextProperty:function(t,e){r[t]=tp(e),a(r)},removeContextProperty:function(t){delete r[t],a(r)},clearContext:function(){r={},n=0}}}var ty=function(){function t(){this.buffer=[]}return t.prototype.add=function(t){this.buffer.push(t)>500&&this.buffer.splice(0,1)},t.prototype.drain=function(){this.buffer.forEach(function(t){return t()}),this.buffer.length=0},t}();function tb(t){return 0!==t&&100*Math.random()<=t}function t_(t,e){return+t.toFixed(e)}function tw(t){return tS(t)&&t>=0&&t<=100}function tS(t){return"number"==typeof t}function tk(t){var e;return{relative:t,timeStamp:(e=tC()-performance.now())>tO()?Math.round(e+t):Math.round(tO()+t)}}function tT(t){return tS(t)?t_(1e6*t,0):t}function tC(){return new Date().getTime()}function tx(){return tC()}function tE(){return performance.now()}function tA(){return{relative:tE(),timeStamp:tx()}}function tR(){return{relative:0,timeStamp:tO()}}function tO(){return void 0===u&&(u=performance.timing.navigationStart),u}function tI(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,tI)}function tN(t,e){var n=RegExp("(?:^|;)\\s*".concat(e,"\\s*=\\s*([^;]+)")).exec(t);return n?n[1]:void 0}function tL(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 tM(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):"",u=r&&r.secure?";secure":"";document.cookie="".concat(t,"=").concat(e,";").concat(a,";path=/;samesite=").concat(o).concat(s).concat(u)}function tD(t){return tN(document.cookie,t)}function tP(t,e){tM(t,"",0,e)}function tz(){return Boolean(window._DATADOG_SYNTHETICS_INJECTS_RUM||tD("datadog-synthetics-injects-rum"))}function tU(){var t=K().DatadogEventBridge;if(t)return{getAllowedWebViewHosts:function(){return JSON.parse(t.getAllowedWebViewHosts())},send:function(e,n){t.send(JSON.stringify({eventType:e,event:n}))}}}function tB(t){void 0===t&&(t=null===(e=K().location)||void 0===e?void 0:e.hostname);var e,n=tU();return!!n&&n.getAllowedWebViewHosts().some(function(e){var n,r;return t===e||(n=t,r=".".concat(e),n.slice(-r.length)===r)})}function tF(t){var e=[],n=tX(t,"stack"),r=String(t);return n&&W(n,r)&&(n=n.slice(r.length)),n&&n.split("\n").forEach(function(t){var n=function(t){var e=tH.exec(t);if(e){var n=e[2]&&0===e[2].indexOf("native"),r=e[2]&&0===e[2].indexOf("eval"),i=tV.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=tG.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=t$.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=tJ.exec(t);if(e){var n=e[3]&&e[3].indexOf(" > eval")>-1,r=tW.exec(e[3]);return n&&r&&(e[3]=r[1],e[4]=r[2],e[5]=void 0),{args:e[2]?e[2].split(","):[],column:e[5]?+e[5]:void 0,func:e[1]||"?",line:e[4]?+e[4]:void 0,url:e[3]}}}(t);n&&(!n.func&&n.line&&(n.func="?"),e.push(n))}),{message:tX(t,"message"),name:tX(t,"name"),stack:e}}var tj="((?:file|https?|blob|chrome-extension|native|eval|webpack|snippet|<anonymous>|\\w+\\.|\\/).*?)",tq="(?::(\\d+))",tH=RegExp("^\\s*at (.*?) ?\\(".concat(tj).concat(tq,"?").concat(tq,"?\\)?\\s*$"),"i"),tV=RegExp("\\((\\S*)".concat(tq).concat(tq,"\\)")),tG=RegExp("^\\s*at ?".concat(tj).concat(tq,"?").concat(tq,"??\\s*$"),"i"),t$=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i,tJ=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)((?:file|https?|blob|chrome|webpack|resource|capacitor|\[native).*?|[^@]*bundle)(?::(\d+))?(?::(\d+))?\s*$/i,tW=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i;function tX(t,e){if("object"==typeof t&&t&&e in t){var n=t[e];return"string"==typeof n?n:void 0}}var tY="No stack, consider using an instance of Error";function tK(t){var e=t.stackTrace,n=t.originalError,r=t.handlingStack,i=t.startClocks,a=t.nonErrorPrefix,o=t.source,s=t.handling,u=n instanceof Error,c=(null==e?void 0:e.message)&&(null==e?void 0:e.name)?e.message:u?"Empty message":"".concat(a," ").concat(td(tp(n))),l=void 0!==e&&(u||e.stack.length>0&&(e.stack.length>1||void 0!==e.stack[0].url))?tQ(e):tY,d=u?function(t,e){for(var n=t,r=[];(null==n?void 0:n.cause)instanceof Error&&r.length<10;){var i=tF(n.cause);r.push({message:n.cause.message,source:e,type:null==i?void 0:i.name,stack:i&&tQ(i)}),n=n.cause}return r.length?r:void 0}(n,o):void 0,f=null==e?void 0:e.name,p=tZ(n);return{startClocks:i,source:o,handling:s,handlingStack:r,originalError:n,type:f,message:c,stack:l,causes:d,fingerprint:p}}function tZ(t){return t instanceof Error&&"dd_fingerprint"in t?String(t.dd_fingerprint):void 0}function tQ(t){var e=t0(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).c
8oncat(a)}),e}function t0(t){return"".concat(t.name||"Error",": ").concat(t.message)}function t1(){var t,e=Error();if(!e.stack)try{throw e}catch(t){}return j(function(){var n=tF(e);n.stack=n.stack.slice(2),t=tQ(n)}),t}function t2(t){var e=Y({},t);return["id","name","email"].forEach(function(t){t in e&&(e[t]=String(e[t]))}),e}(r=l||(l={})).PAGEHIDE="pagehide",r.FEATURE_FLAGS="feature_flags",r.RESOURCE_PAGE_STATES="resource_page_states",r.PAGE_STATES="page_states",r.COLLECT_FLUSH_REASON="collect_flush_reason",r.NO_RESOURCE_DURATION_FROZEN_STATE="no_resource_duration_frozen_state",r.SCROLLMAP="scrollmap";var t5=new Set;function t3(t){return t5.has(t)}function t6(t){return Y({},t)}function t4(t,e){return Object.keys(t).some(function(n){return t[n]===e})}function t8(t){return 0===Object.keys(t).length}var t9=function(){function t(t){this.onFirstSubscribe=t,this.observers=[]}return t.prototype.subscribe=function(t){var e=this;return!this.observers.length&&this.onFirstSubscribe&&(this.onLastUnsubscribe=this.onFirstSubscribe()||void 0),this.observers.push(t),{unsubscribe:function(){e.observers=e.observers.filter(function(e){return t!==e}),!e.observers.length&&e.onLastUnsubscribe&&e.onLastUnsubscribe()}}},t.prototype.notify=function(t){this.observers.forEach(function(e){return e(t)})},t}();function t7(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=new t9(function(){var e=t.map(function(t){return t.subscribe(function(t){return n.notify(t)})});return function(){return e.forEach(function(t){return t.unsubscribe()})}});return n}var et="_dd_s",ee=/^([a-z]+)=([a-z0-9-]+)$/;function en(t){t.expire=String(tC()+9e5)}function er(t){return J(t).map(function(t){var e=t[0],n=t[1];return"".concat(e,"=").concat(n)}).join("&")}function ei(t){var e={};return t&&(-1!==t.indexOf("&")||ee.test(t))&&t.split("&").forEach(function(t){var n=ee.exec(t);if(null!==n){var r=n[1],i=n[2];e[r]=i}}),e}function ea(){return ei(tD(et))}function eo(t){localStorage.setItem(et,er(t))}function es(){return ei(localStorage.getItem(et))}function eu(){localStorage.removeItem(et)}var ec=[];function el(t,e,n){void 0===n&&(n=0);var r,i,a=e.retrieveSession,o=e.persistSession,s=e.clearSession,u=ed();if(d||(d=t),t!==d){ec.push(t);return}if(u&&n>=100){ep(e);return}var c=a();if(u&&(c.lock||(i=tI(),c.lock=i,o(c),(c=a()).lock!==i))){ef(t,e,n);return}var l=t.process(c);if(u&&(c=a()).lock!==i){ef(t,e,n);return}if(l&&(t8(l)?s():(en(l),o(l))),u&&!(l&&t8(l))){if((c=a()).lock!==i){ef(t,e,n);return}delete c.lock,o(c),l=c}null===(r=t.after)||void 0===r||r.call(t,l||c),ep(e)}var ed=function(){return!!window.chrome||/HeadlessChrome/.test(window.navigator.userAgent)};function ef(t,e,n){te(function(){el(t,e,n+1)},10)}function ep(t){d=void 0;var e=ec.shift();e&&el(e,t)}function eh(t){return ev(t,eg(window.location)).href}function ev(t,e){var n=function(){if(void 0===f)try{var t=new em("http://test/path");f="http://test/path"===t.href}catch(t){f=!1}return f?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(td({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;function eg(t){if(t.origin&&"null"!==t.origin)return t.origin;var e=t.host.replace(/(:80|:443)$/,"");return"".concat(t.protocol,"//").concat(e)}var ey="datad0g.com",eb="datadoghq.com",e_={logs:"logs",rum:"rum",sessionReplay:"session-replay"},ew={logs:"logs",rum:"rum",sessionReplay:"replay"};function eS(t,e,n){var r=function(t,e){var n="/api/v2/".concat(ew[e]),r=t.proxy,i=t.proxyUrl;if(r){var a=eh(r);return function(t){return"".concat(a,"?ddforward=").concat(encodeURIComponent("".concat(n,"?").concat(t)))}}var o=function(t,e){var n=t.site,r=void 0===n?eb:n,i=t.internalAnalyticsSubdomain;if(i&&r===eb)return"".concat(i,".").concat(eb);var a=r.split("."),o=a.pop(),s="ap1.datadoghq.com"!==r?"".concat(e_[e],"."):"";return"".concat(s,"browser-intake-").concat(a.join("-"),".").concat(o)}(t,e);if(void 0===r&&i){var s=eh(i);return function(t){return"".concat(s,"?ddforward=").concat(encodeURIComponent("https://".concat(o).concat(n,"?").concat(t)))}}return function(t){return"https://".concat(o).concat(n,"?").concat(t)}}(t,e);return{build:function(i,a,o){var s,u,c,d;return r((s=t.clientToken,u=t.internalAnalyticsSubdomain,c=["sdk_version:".concat("4.45.0"),"api:".concat(i)].concat(n),a&&t3(l.COLLECT_FLUSH_REASON)&&c.push("flush_reason:".concat(a)),o&&c.push("retry_count:".concat(o.count),"retry_after:".concat(o.lastFailureStatus)),d=["ddsource=browser","ddtags=".concat(encodeURIComponent(c.join(","))),"dd-api-key=".concat(s),"dd-evp-origin-version=".concat(encodeURIComponent("4.45.0")),"dd-evp-origin=browser","dd-request-id=".concat(tI())],"rum"===e&&d.push("batch_time=".concat(tx())),u&&d.reverse(),d.join("&")))},urlPrefix:r(""),endpointType:e}}var ek=/[^a-z0-9_:./-]/;function eT(t,e){var n=200-t.length-1;(e.length>n||ek.test(e))&&M.warn("".concat(t," value doesn't meet tag requirements and will be sanitized"));var r=e.replace(/,/g,"_");return"".concat(t,":").concat(r)}var eC={ALLOW:"allow",MASK:"mask",MASK_USER_INPUT:"mask-user-input"};function ex(t){var e=ts(t);return"string"===e||"function"===e||t instanceof RegExp}function eE(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);
8if("string"==typeof t)return n?W(e,t):t===e}catch(t){M.error(t)}return!1})}function eA(t){0!==t.status||t.isAborted||(t.traceId=void 0,t.spanId=void 0,t.traceSampled=void 0)}function eR(t,e,n,r){if(void 0!==eO()&&n.findTrackedSession()){var i,a,o,s,u,c=G(t.allowedTracingUrls,function(t){return eE([t.match],e.url,!0)});c&&(e.traceId=new eI,e.spanId=new eI,e.traceSampled=!tS(t.traceSampleRate)||tb(t.traceSampleRate),r((i=e.traceId,a=e.spanId,o=e.traceSampled,s=c.propagatorTypes,u={},s.forEach(function(t){switch(t){case"datadog":Y(u,{"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":Y(u,{traceparent:"00-0000000000000000".concat(i.toPaddedHexadecimalString(),"-").concat(a.toPaddedHexadecimalString(),"-0").concat(o?"1":"0")});break;case"b3":Y(u,{b3:"".concat(i.toPaddedHexadecimalString(),"-").concat(a.toPaddedHexadecimalString(),"-").concat(o?"1":"0")});break;case"b3multi":Y(u,{"X-B3-TraceId":i.toPaddedHexadecimalString(),"X-B3-SpanId":a.toPaddedHexadecimalString(),"X-B3-Sampled":o?"1":"0"})}}),u)))}}function eO(){return window.crypto||window.msCrypto}var eI=function(){function t(){this.buffer=new Uint8Array(8),eO().getRandomValues(this.buffer),this.buffer[0]=127&this.buffer[0]}return t.prototype.toString=function(t){var e=this.readInt32(0),n=this.readInt32(4),r="";do{var i=e%t*4294967296+n;e=Math.floor(e/t),n=Math.floor(i/t),r=(i%t).toString(t)+r}while(e||n);return r},t.prototype.toDecimalString=function(){return this.toString(10)},t.prototype.toPaddedHexadecimalString=function(){var t=this.toString(16);return Array(17-t.length).join("0")+t},t.prototype.readInt32=function(t){return 16777216*this.buffer[t]+(this.buffer[t+1]<<16)+(this.buffer[t+2]<<8)+this.buffer[t+3]},t}();function eN(t,e,n){return{context:t.getContext(),user:e.getContext(),hasReplay:!!n.isRecording()||void 0}}function eL(t,e){var n=window.__ddBrowserSdkExtensionCallback;n&&n({type:t,payload:e})}var eM={log:"log",configuration:"configuration"},eD=["https://www.datadoghq-browser-agent.com","https://www.datad0g-browser-agent.com","https://d3uc069fcn7uxw.cloudfront.net","https://d20xtzwzcl0ceb.cloudfront.net","http://localhost","<anonymous>"],eP=["ddog-gov.com"],ez={maxEventsPerPage:0,sentEventCount:0,telemetryEnabled:!1,telemetryConfigurationEnabled:!1};function eU(t,e){q(L.debug,t,e),eF(Y({type:eM.log,message:t,status:"debug"},e))}function eB(t){eF(Y({type:eM.log,status:"error"},function(t){if(t instanceof Error){var e=tF(t);return{error:{kind:e.name,stack:tQ((e.stack=e.stack.filter(function(t){return!t.url||eD.some(function(e){return W(t.url,e)})}),e))},message:e.message}}return{error:{stack:tY},message:"".concat("Uncaught"," ").concat(td(t))}}(t)))}function eF(t){p&&ez.sentEventCount<ez.maxEventsPerPage&&(ez.sentEventCount+=1,p(t))}function ej(t,e,n,r){return eq(t,[e],n,r)}function eq(t,e,n,r){var i=void 0===r?{}:r,a=i.once,o=i.capture,s=i.passive,u=F(a?function(t){d(),n(t)}:n),c=s?{capture:o,passive:s}:o,l=tt(t,"addEventListener");function d(){var n=tt(t,"removeEventListener");e.forEach(function(e){return n.call(t,e,u,c)})}return e.forEach(function(e){return l.call(t,e,u,c)}),{stop:d}}var eH={HIDDEN:"visibility_hidden",UNLOADING:"before_unload",PAGEHIDE:"page_hide",FROZEN:"page_frozen"};function eV(){var t,e=window;if(e.Zone&&(t=tt(e,"MutationObserver"),e.MutationObserver&&t===e.MutationObserver)){var n=tt(new e.MutationObserver(to),"originalInstance");t=n&&n.constructor}return t||(t=e.MutationObserver),t}function eG(t,e){document.readyState===t||"complete"===document.readyState?e():ej(window,"complete"===t?"load":"DOMContentLoaded",e,{once:!0})}var e$="initial_document",eJ=[["document",function(t){return e$===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 H(["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 H(["audio","video"],t)||null!==/\.(mp3|mp4)$/i.exec(e)}]];function eW(){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 eX(t){if(eW(t.startTime,t.fetchStart,t.domainLookupStart,t.domainLookupEnd,t.connectStart,t.connectEnd,t.requestStart,t.responseStart,t.responseEnd)){if(!eY(t))return t;var e=t.redirectStart,n=t.redirectEnd;if(e<t.startTime&&(e=t.startTime),n<t.startTime&&(n=t.fetchStart),eW(t.
8startTime,e,n,t.fetchStart))return Y({},t,{redirectEnd:n,redirectStart:e})}}function eY(t){return t.fetchStart!==t.startTime}function eK(t,e,n){return{duration:tT(n-e),start:tT(e-t)}}function eZ(t,e){return e&&!t.isIntakeUrl(e)}function eQ(t){return t.nodeType===Node.TEXT_NODE}function e0(t){return t.nodeType===Node.ELEMENT_NODE}function e1(t){return e0(t)&&Boolean(t.shadowRoot)}function e2(t){return!!t.host&&t.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&e0(t.host)}function e5(t){return e2(t)?t.host:t.parentNode}function e3(t,e){var n=e&&Number(e);if(t&&n)return{traceId:t,traceTime:n}}function e6(t){if(t&&t.nodeType===Node.COMMENT_NODE){var e=/^\s*DATADOG;(.*?)\s*$/.exec(t.data);if(e)return e[1]}}function e4(){return void 0!==window.performance&&"getEntries"in performance}function e8(t){return window.PerformanceObserver&&void 0!==PerformanceObserver.supportedEntryTypes&&PerformanceObserver.supportedEntryTypes.includes(t)}function e9(){var t={},e=performance.timing;for(var n in e)if(tS(e[n])){var r=n,i=e[r];t[r]=0===i?0:i-tO()}return t}function e7(t,e,n){var r=n.filter(function(t){return"resource"===t.entryType||"navigation"===t.entryType||"paint"===t.entryType||"longtask"===t.entryType||"largest-contentful-paint"===t.entryType||"first-input"===t.entryType||"layout-shift"===t.entryType}).filter(function(t){return!("navigation"===t.entryType&&t.loadEventEnd<=0)&&("resource"!==t.entryType||!!eZ(e,t.name))});r.length&&t.notify(0,r)}var nt={AGENT:"agent",CONSOLE:"console",CUSTOM:"custom",LOGGER:"logger",NETWORK:"network",SOURCE:"source",REPORT:"report"};function ne(t,e,n){var r=0,i=!1;return{isLimitReached:function(){if(0===r&&te(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:nt.AGENT,startClocks:tA()})}finally{i=!1}}return!0}}}function nn(){var t;return h||(h=t=new t9(function(){var e=ta(function(){t.notify(nr())},200).throttled;return ej(window,"resize",e,{capture:!0,passive:!0}).stop})),h}function nr(){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)}}function ni(t,e,n){for(var r=t,i=e.split("."),a=0;a<i.length;a+=1){var o=i[a];if(!na(r))return;a!==i.length-1?r=r[o]:r[o]=n}}function na(t){return"object"===ts(t)}var no={"view.url":"string","view.referrer":"string"},ns={context:"object"},nu=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}(),nc=1/0,nl=function(){function t(t,e){var n=this;this.expireDelay=t,this.maxEntries=e,this.entries=[],this.clearOldValuesInterval=tr(function(){return n.clearOldValues()},6e4)}return t.prototype.add=function(t,e){var n=this,r={value:t,startTime:e,endTime:nc,remove:function(){var t=n.entries.indexOf(r);t>=0&&n.entries.splice(t,1)},close:function(t){r.endTime=t}};return this.maxEntries&&this.entries.length>=this.maxEntries&&this.entries.pop(),this.entries.unshift(r),r},t.prototype.find=function(t){void 0===t&&(t=nc);for(var e=0,n=this.entries;e<n.length;e++){var r=n[e];if(r.startTime<=t){if(t<=r.endTime)return r.value;break}}},t.prototype.closeActive=function(t){var e=this.entries[0];e&&e.endTime===nc&&e.close(t)},t.prototype.findAll=function(t,e){void 0===t&&(t=nc),void 0===e&&(e=0);var n=t+e;return this.entries.filter(function(e){return e.startTime<=n&&t<=e.endTime}).map(function(t){return t.value})},t.prototype.reset=function(){this.entries=[]},t.prototype.stop=function(){ti(this.clearOldValuesInterval)},t.prototype.clearOldValues=function(){for(var t=tE()-this.expireDelay;this.entries.length>0&&this.entries[this.entries.length-1].endTime<t;)this.entries.pop()},t}();function nd(t,e,n){var r=t[e],i=n(r),a=function(){if("function"==typeof i)return i.apply(this,arguments)};return t[e]=a,{stop:function(){t[e]===a?t[e]=r:i=r}}}function nf(t,e,n){var r=n.before,i=n.after;return nd(t,e,function(t){return function(){var e,n=arguments;return r&&j(r,this,n),"function"==typeof t&&(e=t.apply(this,n)),i&&j(i,this,n),e}})}function np(t,e,n){var r=Object.getOwnPropertyDescriptor(t,e);if(!r||!r.set||!r.configurable)return{stop:to};var i=function(t,e){te(function(){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?void 0:n.set)===a?Object.defineProperty(t,e,r):i=to}}}var nh=new WeakMap;function nv(t,e){nh.set(this,{state:"open",method:t,url:eh(String(e))})}function nm(t){var e=this,n=nh.get(this);if(n){var r=n;r.state="start",r.startTime=tE(),r.startClocks=tA(),r.isAborted=!1,r.xhr=this;var i=!1,a=nf(this,"onreadystatechange",{before:function(){this.readyState===XMLHttpRequest.DONE&&o()}}).stop,o=function(){if(s(),a(),!i){i=!0;var o,u=n;u.state="complete",u.duration=(o=r.startClocks.timeStamp,tx()-o),u.status=e.status,t.notify(t6(u))}},s=ej(this,"loadend",o).stop;
8t.notify(r)}}function ng(){var t=nh.get(this);t&&(t.isAborted=!0)}function ny(t,e,n){var r=n&&n.method||e instanceof Request&&e.method||"GET",i=e instanceof Request?e.url:eh(String(e)),a={state:"start",init:n,input:e,method:r,startClocks:tA(),url:i};return t.notify(a),a}function nb(t,e,n){var r=function(e){var r=n;r.state="resolve","stack"in e||e instanceof Error?(r.status=0,r.isAborted=e instanceof DOMException&&e.code===DOMException.ABORT_ERR,r.error=e):"status"in e&&(r.response=e,r.responseType=e.type,r.status=e.status,r.isAborted=!1),t.notify(r)};e.then(F(r),F(r))}var n_=1;function nw(){var t=n_;return n_+=1,t}function nS(t){var e=t.lifeCycle,n=t.isChildEvent,r=t.onChange,i=void 0===r?to:r,a={errorCount:0,longTaskCount:0,resourceCount:0,actionCount:0,frustrationCount:0},o=e.subscribe(11,function(t){if("view"!==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":a.resourceCount+=1,i()}});return{stop:function(){o.unsubscribe()},eventCounts:a}}function nk(t,e,n){var r,i=!1,a=te(F(function(){return c({hadActivity:!1})}),100),o=void 0!==n?te(F(function(){return c({hadActivity:!0,end:tx()})}),n):void 0,s=t.subscribe(function(t){var e=t.isBusy;tn(a),tn(r);var n=tx();e||(r=te(F(function(){return c({hadActivity:!0,end:n})}),100))}),u=function(){i=!0,tn(a),tn(r),tn(o),s.unsubscribe()};function c(t){i||(u(),e(t))}return{stop:u}}function nT(t,e,n){var r=new t9(function(){var i,a=[],o=0;a.push(e.subscribe(u),t.subscribe(0,function(t){t.some(function(t){return"resource"===t.entryType&&!nC(n,t.name)})&&u()}),t.subscribe(5,function(t){nC(n,t.url)||(void 0===i&&(i=t.requestIndex),o+=1,u())}),t.subscribe(6,function(t){nC(n,t.url)||void 0===i||t.requestIndex<i||(o-=1,u())}));var s=nf(window,"open",{before:u}).stop;return function(){s(),a.forEach(function(t){return t.unsubscribe()})};function u(){r.notify({isBusy:o>0})}});return r}function nC(t,e){return eE(t.excludedActivityUrls,e)}var nx="data-dd-action-name";function nE(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=r.parentElement}if(n)return nN(nI(n.getAttribute(e).trim()))}var nA=[function(t,e){if(void 0===y&&(y="labels"in HTMLInputElement.prototype),y){if("labels"in t&&t.labels&&t.labels.length>0)return nL(t.labels[0],e)}else if(t.id){var n=t.ownerDocument&&G(t.ownerDocument.querySelectorAll("label"),function(e){return e.htmlFor===t.id});return n&&nL(n,e)}},function(t){if("INPUT"===t.nodeName){var e=t.getAttribute("type");if("button"===e||"submit"===e||"reset"===e)return t.value}},function(t,e){if("BUTTON"===t.nodeName||"LABEL"===t.nodeName||"button"===t.getAttribute("role"))return nL(t,e)},function(t){return t.getAttribute("aria-label")},function(t,e){var n=t.getAttribute("aria-labelledby");if(n)return n.split(/\s+/).map(function(e){return t.ownerDocument?t.ownerDocument.getElementById(e):null}).filter(function(t){return Boolean(t)}).map(function(t){return nL(t,e)}).join(" ")},function(t){return t.getAttribute("alt")},function(t){return t.getAttribute("name")},function(t){return t.getAttribute("title")},function(t){return t.getAttribute("placeholder")},function(t,e){if("options"in t&&t.options.length>0)return nL(t.options[0],e)}],nR=[function(t,e){return nL(t,e)}];function nO(t,e,n){for(var r=t,i=0;i<=10&&r&&"BODY"!==r.nodeName&&"HTML"!==r.nodeName&&"HEAD"!==r.nodeName;){for(var a=0;a<n.length;a++){var o=(0,n[a])(r,e);if("string"==typeof o){var s=o.trim();if(s)return nN(nI(s))}}if("FORM"===r.nodeName)break;r=r.parentElement,i+=1}}function nI(t){return t.replace(/\s+/g," ")}function nN(t){return t.length>100?"".concat(tL(t,100)," [...]"):t}function nL(t,e){if(!t.isContentEditable){if("innerText"in t){var n=t.innerText,r=function(e){for(var r=t.querySelectorAll(e),i=0;i<r.length;i+=1){var a=r[i];if("innerText"in a){var o=a.innerText;o&&o.trim().length>0&&(n=n.replace(o,""))}}};return Boolean(document.documentMode)&&r("script, style"),r("[".concat(nx,"]")),e&&r("[".concat(e,"]")),n}return t.textContent}}var nM=[nx,"data-testid","data-test","data-qa","data-cy","data-test-id","data-qa-id","data-testing","data-component","data-element","data-source-file"],nD=[nU,function(t){if(t.id&&!nz(t.id))return"#".concat(X(t.id))}],nP=[nU,function(t){if("BODY"!==t.tagName&&t.classList.length>0)for(var e=0;e<t.classList.length;e+=1){var n=t.classList[e];if(!nz(n))return"".concat(t.tagName,".").concat(X(n))}},function(t){return t.tagName}];function nz(t){return/[0-9]/.test(t)}function nU(t,e){if(e){var n=i(e);if(n)return n}for(var r=0;r<nM.length;r++){var n=i(nM[r]);if(n)return n}function i(e){if(t.hasAttribute(e))return"".concat(t.tagName,"[").concat(e,'="').concat(X(t.getAttribute(e)),'"]')}}function nB(t,e,n,r,i){for(var a=0;a<e.length;a++){var o=(0,e[a])(t,r);if(o){var s=nq(o,i);if(n(t,s))return s}}}function nF(t,e){return 1===t.ownerDocument.querySelectorAll(e).length}function nj(t,e){return 1===t.parentElement.querySelectorAll(!function(){if(void 0===_)try{document.querySelector(":scope"),_=!0}catch(t){_=!1}return _}()?e:nq(":scope",e)).length}function nq(t,e){return e?"".concat(t,">").concat(e):t}function nH(){var t=window.getSelection();return!t||t.isCollapsed}function nV(t){return t.target instanceof Element&&!1!==t.isPrimary}function nG(t){var e,n;return!t.hasPageActivity&&!t.getUserActivity().input&&(e=t.event.target,n='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] *',e.matches?!e.matches(n):!(e.msMatchesSelector&&e.msMatchesSelector(n)))}function n$(t,e){var n=nJ(t)?{action:{id:t.id,loading_time:tT(t.duration),frustration:{type:t.frustrationTypes},error:{count:t.counts.errorCount},long_task:{count:t.counts.longTaskCount},resource:{count:t.counts.resourceCount}},_dd:{action:{target:t.target,position:t.position}}}:void 0;return{customerContext:nJ(t)?void 0:t.context,rawRumEvent:tl({action:{id:tI(),target:{name:t.name},type:t.type},date:t.startClocks.timeStamp,type:"action",view:{in_foreground:e.isInActivePageStateAt(t.startClocks.relative)}},n),startTime:t.startClocks.relative,domainContext:nJ(t)?{event:t.event,events:t.events}:{}}}function nJ(t){return"custom"!==t.type}var nW=/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?([\s\S]*)$/,nX={},nY={intervention:"intervention",deprecation:"deprecation",cspViolation:"csp_violation"};function nK(t,e,n,r,i){return n?tQ({name:t,message:e,stack:[{func:"?",url:n,line:null!=r?r:void 0,column:null!=i?i:void 0}]}):void 0}function nZ(t){return t.startTime+t.duration}function nQ(t){var e,n,r;return{resource:Y({duration:(e=t.duration,n=t.startTime,r=t.responseEnd,0===e&&n<r?tT(r-n):tT(e)),size:function(t){if(t.startTime<t.responseStart)return t.decodedBodySize}(t)},function(t){var e=eX(t);if(e){var n=e.startTime,r=e.fetchStart,i=e.redirectStart,a=e.redirectEnd,o=e.domainLookupStart,s=e.domainLookupEnd,u=e.connectStart,c=e.secureConnectionStart,l=e.connectEnd,d=e.requestStart,f=e.responseStart,p={download:eK(n,f,e.responseEnd),first_byte:eK(n,d,f)};return l!==r&&(p.connect=eK(n,u,l),eW(u,c,l)&&(p.ssl=eK(n,c,l))),s!==r&&(p.dns=eK(n,o,s)),eY(t)&&(p.redirect=eK(n,i,a)),p}}(t))}}function n0(t){return tS(t.traceSampleRate)?t.traceSampleRate/100:void 0}function n1(t,e){var n=t.findTrackedSession(e.relative);return{_dd:{discarded:!n||!n.resourceAllowed}}}function n2(t,e,n){if(t3(l.RESOURCE_PAGE_STATES))return{_dd:{page_states:t.findAll(e.relative,n),page_was_discarded:String(document.wasDiscarded)}}}function n5(t){return void 0===t&&(t=window),w||("hidden"===document.visibilityState?w={timeStamp:0}:(w={timeStamp:1/0},S=eq(t,["pagehide","visibilitychange"],function(t){("pagehide"===t.type||"hidden"===document.visibilityState)&&(w.timeStamp=t.timeStamp,S())},{capture:!0}).stop)),w}
8function n3(){var t=window.visualViewport;return Math.round(t?t.pageLeft-t.offsetLeft:void 0!==window.scrollX?window.scrollX:window.pageXOffset||0)}function n6(){var t=window.visualViewport;return Math.round(t?t.pageTop-t.offsetTop:void 0!==window.scrollY?window.scrollY:window.pageYOffset||0)}function n4(){var t=n6(),e=nr().height;return{scrollHeight:Math.round((document.scrollingElement||document.documentElement).scrollHeight),scrollDepth:Math.round(e+t),scrollTop:t}}function n8(t){var e=t.indexOf("?");return e<0?t:t.slice(0,e)}var n9=[];function n7(t){return"2"===t||"1"===t}var rt=function(){function t(t,e,n){var r=this;this.request=t,this.flushController=e,this.messageBytesLimit=n,this.pushOnlyBuffer=[],this.upsertBuffer={},this.flushController.flushObservable.subscribe(function(t){return r.flush(t)})}return t.prototype.add=function(t){this.addOrUpdate(t)},t.prototype.upsert=function(t,e){this.addOrUpdate(t,e)},t.prototype.flush=function(t){var e,n=this.pushOnlyBuffer.concat($(this.upsertBuffer));this.pushOnlyBuffer=[],this.upsertBuffer={};var r={data:n.join("\n"),bytesCount:t.bytesCount,flushReason:t.reason};(e=t.reason,H($(eH),e))?this.request.sendOnExit(r):this.request.send(r)},t.prototype.addOrUpdate=function(t,e){var n=this.process(t),r=n.processedMessage,i=n.messageBytesCount;if(i>=this.messageBytesLimit){M.warn("Discarded a message whose size was bigger than the maximum allowed size ".concat(this.messageBytesLimit,"KB."));return}this.hasMessageFor(e)&&this.remove(e),this.push(r,i,e)},t.prototype.process=function(t){var e=td(t),n=Q(e);return{processedMessage:e,messageBytesCount:n}},t.prototype.push=function(t,e,n){var r=this.flushController.messagesCount>0?1:0;this.flushController.notifyBeforeAddMessage(e+r),void 0!==n?this.upsertBuffer[n]=t:this.pushOnlyBuffer.push(t),this.flushController.notifyAfterAddMessage()},t.prototype.remove=function(t){var e=this.upsertBuffer[t];delete this.upsertBuffer[t];var n=Q(e),r=this.flushController.messagesCount>1?1:0;this.flushController.notifyAfterRemoveMessage(n+r)},t.prototype.hasMessageFor=function(t){return void 0!==t&&void 0!==this.upsertBuffer[t]},t}();function re(t,e,n,r,i){0===e.transportStatus&&0===e.queuedPayloads.size()&&e.bandwidthMonitor.canHandle(t)?rn(t,e,n,{onSuccess:function(){return rr(0,e,n,r,i)},onFailure:function(){e.queuedPayloads.enqueue(t),function t(e,n,r,i){2===e.transportStatus&&te(function(){rn(e.queuedPayloads.first(),e,n,{onSuccess:function(){e.queuedPayloads.dequeue(),e.currentBackoffTime=1e3,rr(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 rn(t,e,n,r){var i=r.onSuccess,a=r.onFailure;e.bandwidthMonitor.add(t),n(t,function(n){e.bandwidthMonitor.remove(t),"opaque"!==n.type&&(0===n.status&&!navigator.onLine||408===n.status||429===n.status||n.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 rr(t,e,n,r,i){0===t&&e.queuedPayloads.isFull()&&!e.queueFullReported&&(i({message:"Reached max ".concat(r," events size queued for upload: ").concat(3,"MiB"),source:nt.AGENT,startClocks:tA()}),e.queueFullReported=!0);var a=e.queuedPayloads;for(e.queuedPayloads=ri();a.size()>0;)re(a.dequeue(),e,n,r,i)}function ri(){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>=3145728}}}function ra(t,e,n){var r={transportStatus:0,currentBackoffTime:1e3,bandwidthMonitor:{ongoingRequestCount:0,ongoingByteCount:0,canHandle:function(t){return 0===this.ongoingRequestCount||this.ongoingByteCount+t.bytesCount<=81920&&this.ongoingRequestCount<32},add:function(t){this.ongoingRequestCount+=1,this.ongoingByteCount+=t.bytesCount},remove:function(t){this.ongoingRequestCount-=1,this.ongoingByteCount-=t.bytesCount}},queuedPayloads:ri(),queueFullReported:!1},i=function(n,r){return function(t,e,n,r){var i=n.data,a=n.bytesCount,o=n.flushReason,s=n.retry;if(function(){try{return window.Request&&"keepalive"in new Request
8("http://a")}catch(t){return!1}}()&&a<e){var u=t.build("fetch",o,s);fetch(u,{method:"POST",body:i,keepalive:!0,mode:"cors"}).then(F(function(t){return null==r?void 0:r({status:t.status,type:t.type})}),F(function(){rs(t.build("xhr",o,s),i,r)}))}else rs(t.build("xhr",o,s),i,r)}(t,e,n,r)};return{send:function(e){re(e,r,i,t.endpointType,n)},sendOnExit:function(n){!function(t,e,n){var r=n.data,i=n.bytesCount,a=n.flushReason;if(navigator.sendBeacon&&i<e)try{var o=t.build("beacon",a);if(navigator.sendBeacon(o,r))return}catch(t){ro||(ro=!0,eB(t))}rs(t.build("xhr",a),r)}(t,e,n)}}}var ro=!1;function rs(t,e,n){var r=new XMLHttpRequest;r.open("POST",t,!0),ej(r,"loadend",function(){null==n||n({status:r.status})},{once:!0}),r.send(e)}function ru(){0!==k.batchCount&&(eU("Customer data measures",k),rf())}function rc(){return{min:1/0,max:0,sum:0}}function rl(t,e){t.sum+=e,t.min=Math.min(t.min,e),t.max=Math.max(t.max,e)}function rd(t,e){t.sum+=e.sum,t.min=Math.min(t.min,e.min),t.max=Math.max(t.max,e.max)}function rf(){k={batchCount:0,batchBytesCount:rc(),batchMessagesCount:rc(),globalContextBytes:rc(),userContextBytes:rc(),featureFlagBytes:rc()}}function rp(){C=!1,T={globalContextBytes:rc(),userContextBytes:rc(),featureFlagBytes:rc()}}function rh(){return"hidden"===document.visibilityState?"hidden":document.hasFocus()?"active":"passive"}var rv={FullSnapshot:2,IncrementalSnapshot:3,Meta:4,Focus:6,ViewEnd:7,VisualViewport:8,FrustrationRecord:9},rm={Document:0,DocumentType:1,Element:2,Text:3,CDATA:4,DocumentFragment:11},rg={Mutation:0,MouseMove:1,MouseInteraction:2,Scroll:3,ViewportResize:4,Input:5,TouchMove:6,MediaInteraction:7,StyleSheetRule:8},ry={MouseUp:0,MouseDown:1,Click:2,ContextMenu:3,DblClick:4,Focus:5,Blur:6,TouchStart:7,TouchEnd:9},rb={Play:0,Pause:1};function r_(t,e){return{data:Y({source:t},e),type:rv.IncrementalSnapshot,timestamp:tx()}}var rw={IGNORE:"ignore",HIDDEN:"hidden",ALLOW:eC.ALLOW,MASK:eC.MASK,MASK_USER_INPUT:eC.MASK_USER_INPUT},rS="data-dd-privacy",rk="hidden",rT={INPUT:!0,OUTPUT:!0,TEXTAREA:!0,SELECT:!0,OPTION:!0,DATALIST:!0,OPTGROUP:!0};function rC(t,e){var n=e5(t),r=n?rC(n,e):e;return rx(rE(t),r)}function rx(t,e){switch(e){case rw.HIDDEN:case rw.IGNORE:return e}switch(t){case rw.ALLOW:case rw.MASK:case rw.MASK_USER_INPUT:case rw.HIDDEN:case rw.IGNORE:return t;default:return e}}function rE(t){if(e0(t)){var e=t.getAttribute(rS);if("BASE"===t.tagName)return rw.ALLOW;if("INPUT"===t.tagName){if("password"===t.type||"email"===t.type||"tel"===t.type||"hidden"===t.type)return rw.MASK;var n=t.getAttribute("autocomplete");if(n&&0===n.indexOf("cc-"))return rw.MASK}return e===rk||t.classList.contains("dd-privacy-hidden")?rw.HIDDEN:"mask"===e||t.classList.contains("dd-privacy-mask")?rw.MASK:"mask-user-input"===e||t.classList.contains("dd-privacy-mask-user-input")?rw.MASK_USER_INPUT:"allow"===e||t.classList.contains("dd-privacy-allow")?rw.ALLOW:!function(t){if("SCRIPT"===t.nodeName)return!0;if("LINK"===t.nodeName){var e=i("rel");return/preload|prefetch/i.test(e)&&"script"===i("as")||"shortcut icon"===e||"icon"===e}if("META"===t.nodeName){var n=i("name"),e=i("rel"),r=i("property");return/^msapplication-tile(image|color)$/.test(n)||"application-name"===n||"icon"===e||"apple-touch-icon"===e||"shortcut icon"===e||"keywords"===n||"description"===n||/^(og|twitter|fb):/.test(r)||/^(og|twitter):/.test(n)||"pinterest"===n||"robots"===n||"googlebot"===n||"bingbot"===n||t.hasAttribute("http-equiv")||"author"===n||"generator"===n||"framework"===n||"publisher"===n||"progid"===n||/^article:/.test(r)||/^product:/.test(r)||"google-site-verification"===n||"yandex-verification"===n||"csrf-token"===n||"p:domain_verify"===n||"verify-v1"===n||"verification"===n||"shopify-checkout-api-token"===n}function i(e){return(t.getAttribute(e)||"").toLowerCase()}return!1}(t)?void 0:rw.IGNORE}}function rA(t,e){switch(e){case rw.MASK:case rw.HIDDEN:case rw.IGNORE:return!0;case rw.MASK_USER_INPUT:return eQ(t)?rR(t.parentNode):rR(t);default:return!1}}function rR(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!!rT[t.tagName]}function rO(t,e,n){var r,i=null===(r=t.parentElement)||void 0===r?void 0:r.tagName,a=t.textContent||"";if(!e||a.trim()){if("SCRIPT"===i)a="***";else if(n===rw.HIDDEN)a="***";else if(rA(t,n)&&"STYLE"!==i){if("DATALIST"===i||"SELECT"===i||"OPTGROUP"===i){if(!a.trim())return}else a="OPTION"===i?"***":a.replace(/\S/g,"x")}return a}}var rI=new WeakMap;function rN(t){return rI.has(t)}function rL(t){return rI.get(t)}function rM(t,e){var n=t.tagName,r=t.value;if(rA(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 rD=/url\((?:(')([^']*)'|(")([^"]*)"|([^)]*))\)/gm,rP=/^[A-Za-z]+:|^\/\//,rz=/^data:.*,/i,rU=/[^a-z1-6-_]/;function rB(t){var e=t.toLowerCase().trim();return rU.test(e)?"div":e}function rF(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 rj(t,e,n,r){if(e===rw.HIDDEN)return null;var i=t.getAttribute(n);if(e===rw.MASK&&n!==rS&&!nM.includes(n)&&n!==r.actionNameAttribute){var a=t.tagName;switch(n){case"title":case"alt":case"placeholder":return"***"}if(("IMG"===a||"SOURCE"===a)&&("src"===n||"srcset"===n))return"data:image/gif;base64,R0lGODlhAQABAIAAAMLCwgAAACH5BAAAAAAALAAAAAABAAEAAAICRAEAOw==";if("A"===a&&"href"===n||i&&W(n,"data-"))return"***"}return i&&"string"==typeof i&&i.length>1e5&&"data:"===i.slice(0,5)?"data:truncated":i}function rq(t){var e,n,r;if(!t)return null;try{e=t.rules||t.cssRules}catch(t){}return e?(n=Array.from(e,rH).join(""),r=t.href,n.replace(rD,function(t,e,n,i,a,o){var s=n||a||o;if(!r||!s||rP.test(s)||rz.test(s))return t;var u=e||i||"";
8return"url(".concat(u).concat(function(t,e){try{return ev(t,e).href}catch(e){return t}}(s,r)).concat(u,")")})):null}function rH(t){return"styleSheet"in t?rq(t.styleSheet)||"":t.cssText}function rV(t,e){var n=function(t,e){var n,r;switch(t.nodeType){case t.DOCUMENT_NODE:return{type:rm.Document,childNodes:r$(t,e),adoptedStyleSheets:rF(t.adoptedStyleSheets)};case t.DOCUMENT_FRAGMENT_NODE:return n=[],t.childNodes.length&&(n=r$(t,e)),(r=e2(t))&&e.serializationContext.shadowRootsController.addShadowRoot(t),{type:rm.DocumentFragment,childNodes:n,isShadowRoot:r,adoptedStyleSheets:r?rF(t.adoptedStyleSheets):void 0};case t.DOCUMENT_TYPE_NODE:return{type:rm.DocumentType,name:t.name,publicId:t.publicId,systemId:t.systemId};case t.ELEMENT_NODE:return function(t,e){var n,r=rB(t.tagName),i="svg"===t.tagName||t instanceof SVGElement||void 0,a=rx(rE(t),e.parentNodePrivacyLevel);if(a===rw.HIDDEN){var o=t.getBoundingClientRect(),s=o.width,u=o.height;return{type:rm.Element,tagName:r,attributes:((n={rr_width:"".concat(s,"px"),rr_height:"".concat(u,"px")})[rS]=rk,n),childNodes:[],isSVG:i}}if(a!==rw.IGNORE){var c=function(t,e,n){if(e===rw.HIDDEN)return{};for(var r,i,a,o={},s=rB(t.tagName),u=t.ownerDocument,c=0;c<t.attributes.length;c+=1){var l=t.attributes.item(c).name,d=rj(t,e,l,n.configuration);null!==d&&(o[l]=d)}if(t.value&&("textarea"===s||"select"===s||"option"===s||"input"===s)){var f=rM(t,e);void 0!==f&&(o.value=f)}if("option"===s&&e===rw.ALLOW&&t.selected&&(o.selected=t.selected),"link"===s){var p=Array.from(u.styleSheets).find(function(e){return e.href===t.href}),h=rq(p);h&&p&&(o._cssText=h)}if("style"===s&&t.sheet&&!(t.innerText||t.textContent||"").trim().length){var h=rq(t.sheet);h&&(o._cssText=h)}"input"===s&&("radio"===t.type||"checkbox"===t.type)&&(e===rw.ALLOW?o.checked=!!t.checked:rA(t,e)&&delete o.checked),("audio"===s||"video"===s)&&(o.rr_mediaState=t.paused?"paused":"played");var v=n.serializationContext;switch(v.status){case 0:i=Math.round(t.scrollTop),a=Math.round(t.scrollLeft),(i||a)&&v.elementsScrollPositions.set(t,{scrollTop:i,scrollLeft:a});break;case 1:v.elementsScrollPositions.has(t)&&(i=(r=v.elementsScrollPositions.get(t)).scrollTop,a=r.scrollLeft)}return a&&(o.rr_scrollLeft=a),i&&(o.rr_scrollTop=i),o}(t,a,e),l=[];if(t.childNodes.length){var d=void 0;d=e.parentNodePrivacyLevel===a&&e.ignoreWhiteSpace===("head"===r)?e:Y({},e,{parentNodePrivacyLevel:a,ignoreWhiteSpace:"head"===r}),l=r$(t,d)}if(e1(t)){var f=rV(t.shadowRoot,e);null!==f&&l.push(f)}return{type:rm.Element,tagName:r,attributes:c,childNodes:l,isSVG:i}}}(t,e);case t.TEXT_NODE:return function(t,e){var n,r=null===(n=t.parentElement)||void 0===n?void 0:n.tagName,i=rO(t,e.ignoreWhiteSpace||!1,e.parentNodePrivacyLevel);if(void 0!==i)return{type:rm.Text,textContent:i,isStyle:"STYLE"===r||void 0}}(t,e);case t.CDATA_SECTION_NODE:return{type:rm.CDATA,textContent:""}}}(t,e);if(!n)return null;var r=rL(t)||rG++,i=n;return i.id=r,rI.set(t,r),e.serializedNodeIds&&e.serializedNodeIds.add(r),i}var rG=1;function r$(t,e){var n=[];return t.childNodes.forEach(function(t){var r=rV(t,e);r&&n.push(r)}),n}function rJ(t){return Boolean(t.changedTouches)}function rW(t){return!0===t.composed&&e1(t.target)?t.composedPath()[0]:t.target}var rX=function(t,e){var n=window.visualViewport,r={layoutViewportX:t,layoutViewportY:e,visualVie
8wportX: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},rY=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 rK(t){var e=rJ(t)?t.changedTouches[0]:t,n=e.clientX,r=e.clientY;if(window.visualViewport){var i=rX(n,r),a=i.visualViewportX,o=i.visualViewportY;n=a,r=o}if(!Number.isFinite(n)||!Number.isFinite(r)){t.isTrusted&&eU("mouse/touch event without x/y");return}return{x:n,y:r}}var rZ=((x={}).pointerup=ry.MouseUp,x.mousedown=ry.MouseDown,x.click=ry.Click,x.contextmenu=ry.ContextMenu,x.dblclick=ry.DblClick,x.focus=ry.Focus,x.blur=ry.Blur,x.touchstart=ry.TouchStart,x.touchend=ry.TouchEnd,x);function rQ(t,e,n){void 0===n&&(n=document);var r,i=new WeakMap,a=n!==document,o=eq(n,a?["change"]:["input","change"],function(t){var e=rW(t);(e instanceof HTMLInputElement||e instanceof HTMLTextAreaElement||e instanceof HTMLSelectElement)&&u(e)},{capture:!0,passive:!0}).stop;if(a)r=to;else{var s=[np(HTMLInputElement.prototype,"value",u),np(HTMLInputElement.prototype,"checked",u),np(HTMLSelectElement.prototype,"value",u),np(HTMLTextAreaElement.prototype,"value",u),np(HTMLSelectElement.prototype,"selectedIndex",u)];r=function(){s.forEach(function(t){return t.stop()})}}return function(){r(),o()};function u(t){var n,r,i=rC(t,e);if(i!==rw.HIDDEN){var a=t.type;if("radio"===a||"checkbox"===a){if(rA(t,i))return;r={isChecked:t.checked}}else{var o=rM(t,i);if(void 0===o)return;r={text:o}}c(t,r);var s=t.name;"radio"===a&&s&&t.checked&&(n=document.querySelectorAll('input[type="radio"][name="'.concat(s,'"]')),Array.prototype.forEach.call(n,function(e){e!==t&&c(e,{isChecked:!1})}))}}function c(e,n){if(rN(e)){var r=i.get(e);r&&r.text===n.text&&r.isChecked===n.isChecked||(i.set(e,n),t(Y({id:rL(e)},n)))}}}function r0(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 r1(t,e,n,r){var i=eV();if(!i)return{stop:to,flush:to};var a=function(t){var e=to,n=[];function r(){e(),t(n),n=[]}return{addMutations:function(t){0===n.length&&(e=function(t,e){if(window.requestIdleCallback&&window.cancelIdleCallback){var n=window.requestIdleCallback(F(t),e);return function(){return window.cancelIdleCallback(n)}}
8var r=window.requestAnimationFrame(F(t));return function(){return window.cancelAnimationFrame(r)}}(r,{timeout:100})),n.push.apply(n,t)},flush:r,stop:function(){e()}}}(function(i){!function(t,e,n,r,i){t.filter(function(t){return"childList"===t.type}).forEach(function(t){t.removedNodes.forEach(function(t){!function t(e,n){e1(e)&&n(e.shadowRoot),(e1(e)?e.shadowRoot.childNodes:e.childNodes).forEach(function(e){return t(e,n)})}(t,r.removeShadowRoot)})});var a=t.filter(function(t){return i.contains(t.target)&&function(t){for(var e=t;e;){if(!rN(e)&&!e2(e))return!1;e=e5(e)}return!0}(t.target)&&rC(t.target,n.defaultPrivacyLevel)!==rw.HIDDEN}),o=function(t,e,n){for(var r=new Set,i=new Map,a=function(t){t.addedNodes.forEach(function(t){r.add(t)}),t.removedNodes.forEach(function(e){r.has(e)||i.set(e,t.target),r.delete(e)})},o=0;o<t.length;o++)a(t[o]);var s=Array.from(r);!function(t){t.sort(function(t,e){var n=t.compareDocumentPosition(e);return n&Node.DOCUMENT_POSITION_CONTAINED_BY?-1:n&Node.DOCUMENT_POSITION_CONTAINS?1:n&Node.DOCUMENT_POSITION_FOLLOWING?1:n&Node.DOCUMENT_POSITION_PRECEDING?-1:0})}(s);for(var u=new Set,c=[],l=0;l<s.length;l++){var d=s[l];if(!m(d)){var f=rC(d.parentNode,e.defaultPrivacyLevel);if(f!==rw.HIDDEN&&f!==rw.IGNORE){var p=rV(d,{serializedNodeIds:u,parentNodePrivacyLevel:f,serializationContext:{status:2,shadowRootsController:n},configuration:e});if(p){var h=e5(d);c.push({nextId:function(t){for(var e=t.nextSibling;e;){if(rN(e))return rL(e);e=e.nextSibling}return null}(d),parentId:rL(h),node:p})}}}}var v=[];return i.forEach(function(t,e){rN(e)&&v.push({parentId:rL(t),id:rL(e)})}),{adds:c,removes:v,hasBeenSerialized:m};function m(t){return rN(t)&&u.has(rL(t))}}(a.filter(function(t){return"childList"===t.type}),n,r),s=o.adds,u=o.removes,c=o.hasBeenSerialized,l=function(t,e){for(var n,r=[],i=new Set,a=t.filter(function(t){return!i.has(t.target)&&(i.add(t.target),!0)}),o=0;o<a.length;o++){var s=a[o];if(s.target.textContent!==s.oldValue){var u=rC(e5(s.target),e.defaultPrivacyLevel);u!==rw.HIDDEN&&u!==rw.IGNORE&&r.push({id:rL(s.target),value:null!==(n=rO(s.target,!1,u))&&void 0!==n?n:null})}}return r}(a.filter(function(t){return"characterData"===t.type&&!c(t.target)}),n),d=function(t,e){for(var n=[],r=new Map,i=t.filter(function(t){var e=r.get(t.target);return(null==e||!e.has(t.attributeName))&&(e?e.add(t.attributeName):r.set(t.target,new Set([t.attributeName])),!0)}),a=new Map,o=0;o<i.length;o++){var s=i[o];if(s.target.getAttribute(s.attributeName)!==s.oldValue){var u=rC(s.target,e.defaultPrivacyLevel),c=rj(s.target,u,s.attributeName,e),l=void 0;if("value"===s.attributeName){var d=rM(s.target,u);if(void 0===d)continue;l=d}else l="string"==typeof c?c:null;var f=a.get(s.target);f||(f={id:rL(s.target),attributes:{}},n.push(f),a.set(s.target,f)),f.attributes[s.attributeName]=l}}return n}(a.filter(function(t){return"attributes"===t.type&&!c(t.target)}),n);(l.length||d.length||u.length||s.length)&&e({adds:s,removes:u,texts:l,attributes:d})}(i.concat(o.takeRecords()),t,e,n,r)}),o=new i(F(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 r2=function(t,e){var n=e.mutationCb,r=e.inputCb,i=new Map,a={addShadowRoot:function(e){var o=r1(n,t,a,e),s=o.stop,u=o.flush,c=rQ(r,t.defaultPrivacyLevel,e);i.set(e,{flush:u,stop:function(){s(),c()}})},removeShadowRoot:function(t){var e=i.get(t);e&&(e.stop(),i.delete(t))},stop:function(){i.forEach(function(t){return(0,t.stop)()})},flush:function(){i.forEach(function(t){return(0,t.flush)()})}};return a};function r5(t){r6(t).records_count+=1}function r3(t){return null==E?void 0:E.get(t)}function r6(t){var e;return E||(E=new Map),E.has(t)?e=E.get(t):(e={records_count:0,segments_count:0,segments_total_raw_size:0},E.set(t,e),E.size>10&&function(){if(E){if(E.keys)E.delete(E.keys().next().value);else{var t=!0;E.forEach(function(e,n){t&&(E.delete(n),t=!1)})}}}()),e}var r4=0,r8=function(){function t(t,e,n,r,i,a){var o=this;this.worker=t,this.id=r4++;var s=e.view.id;this.metadata=Y({start:r.timestamp,end:r.timestamp,creation_reason:n,records_count:1,has_full_snapshot:r.type===rv.FullSnapshot,index_in_view:r6(s).segments_count,source:"browser"},e),r6(s).segments_count+=1,r5(s);var u=ej(t,"message",function(t){var e,n=t.data;"errored"!==n.type&&"initialized"!==n.type&&(n.id===o.id?(e=n.additionalBytesCount,r6(s).segments_total_raw_size+=e,"flushed"===n.type?(a(n.result,n.rawBytesCount),u()):i(n.compressedBytesCount)):n.id>o.id&&(u(),eU("Segment did not receive a 'flush' response before being replaced.")))}).stop;eL("record",{record:r,segment:this.metadata}),this.worker.postMessage({data:'{"records":['.concat(JSON.stringify(r)),id:this.id,action:"write"})}return t.prototype.addRecord=function(t){var e;this.metadata.start=Math.min(this.metadata.start,t.timestamp),this.metadata.end=Math.max(this.metadata.end,t.timestamp),this.metadata.records_count+=1,r5(this.metadata.view.id),(e=this.metadata).has_full_snapshot||(e.has_full_snapshot=t.type===rv.FullSnapshot),eL("record",{record:t,segment:this.metadata}),this.worker.postMessage({data:",".concat(JSON.stringify(t)),id:this.id,action:"write"})},t.prototype.flush=function(t){this.worker.postMessage({data:"],".concat(JSON.stringify(this.metadata).slice(1),"\n"),id:this.id,action:"flush"}),this.flushReason=t},t}();function r9(){return A||(A=URL.createObjectURL(new Blob(['!function(){"use strict";function t(t){for(var e=t.length;--e>=0;)t[e]=0}var e=256,a=286,n=30,r=15,i=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]),s=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]),_=new Array(576);t(_);var o=new Array(60);t(o);var d=new Array(512);t(d);var u=new Array(256);t(u);var f=new Array(29);t(f);var c,p,g,w=new Array(n);function v(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 b(t,e){this.dyn_tree=t,this.max_code=0,this.stat_desc=e}t(w);var m=function(t){return t<256?d[t]:d[256+(t>>>7)]},y=function(t,e){t.pending_buf[t.pending++]=255&e,t.pending_buf[t.pending++]=e>>>8&255},k=function(t,e,a){t.bi_valid>16-a?(t.bi_buf|=e<<t.bi_valid&65535,y(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)},z=function(t,e,a){k(t,a[2*e],a[2*e+1])},x=function(t,e){var a=0;do{a|=1&t,t>>>=1,a<<=1}while(--e>0);return a>>>1},A=function(t,e,a){var n,i,s=new Array(16),h=0;for(n=1;n<=r;n++)s[n]=h=h+a[n-1]<<1;for(i=0;i<=e;i++){var l=t[2*i+1];0!==l&&(t[2*i]=x(s[l]++,l))}},U=function(t){var e;
vendor: 19,416 bytes, line 8
8for(e=0;e<a;e++)t.dyn_ltree[2*e]=0;for(e=0;e<n;e++)t.dyn_dtree[2*e]=0;for(e=0;e<19;e++)t.bl_tree[2*e]=0;t.dyn_ltree[512]=1,t.opt_len=t.static_len=0,t.last_lit=t.matches=0},B=function(t){t.bi_valid>8?y(t,t.bi_buf):t.bi_valid>0&&(t.pending_buf[t.pending++]=t.bi_buf),t.bi_buf=0,t.bi_valid=0},C=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]},E=function(t,e,a){for(var n=t.heap[a],r=a<<1;r<=t.heap_len&&(r<t.heap_len&&C(e,t.heap[r+1],t.heap[r],t.depth)&&r++,!C(e,n,t.heap[r],t.depth));)t.heap[a]=t.heap[r],a=r,r<<=1;t.heap[a]=n},S=function(t,a,n){var r,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],h=t.pending_buf[t.l_buf+o],o++,0===r?z(t,h,a):(l=u[h],z(t,l+e+1,a),0!==(_=i[l])&&(h-=f[l],k(t,h,_)),r--,l=m(r),z(t,l,n),0!==(_=s[l])&&(r-=w[l],k(t,r,_)))}while(o<t.last_lit);z(t,256,a)},D=function(t,e){var a,n,i,s=e.dyn_tree,h=e.stat_desc.static_tree,l=e.stat_desc.has_stree,_=e.stat_desc.elems,o=-1;for(t.heap_len=0,t.heap_max=573,a=0;a<_;a++)0!==s[2*a]?(t.heap[++t.heap_len]=o=a,t.depth[a]=0):s[2*a+1]=0;for(;t.heap_len<2;)s[2*(i=t.heap[++t.heap_len]=o<2?++o:0)]=1,t.depth[i]=0,t.opt_len--,l&&(t.static_len-=h[2*i+1]);for(e.max_code=o,a=t.heap_len>>1;a>=1;a--)E(t,s,a);i=_;do{a=t.heap[1],t.heap[1]=t.heap[t.heap_len--],E(t,s,1),n=t.heap[1],t.heap[--t.heap_max]=a,t.heap[--t.heap_max]=n,s[2*i]=s[2*a]+s[2*n],t.depth[i]=(t.depth[a]>=t.depth[n]?t.depth[a]:t.depth[n])+1,s[2*a+1]=s[2*n+1]=i,t.heap[1]=i++,E(t,s,1)}while(t.heap_len>=2);t.heap[--t.heap_max]=t.heap[1],function(t,e){var a,n,i,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<=r;s++)t.bl_count[s]=0;for(_[2*t.heap[t.heap_max]+1]=0,a=t.heap_max+1;a<573;a++)(s=_[2*_[2*(n=t.heap[a])+1]+1]+1)>p&&(s=p,g++),_[2*n+1]=s,n>o||(t.bl_count[s]++,h=0,n>=c&&(h=f[n-c]),l=_[2*n],t.opt_len+=l*(s+h),u&&(t.static_len+=l*(d[2*n+1]+h)));if(0!==g){do{for(s=p-1;0===t.bl_count[s];)s--;t.bl_count[s]--,t.bl_count[s+1]+=2,t.bl_count[p]--,g-=2}while(g>0);for(s=p;0!==s;s--)for(n=t.bl_count[s];0!==n;)(i=t.heap[--a])>o||(_[2*i+1]!==s&&(t.opt_len+=(s-_[2*i+1])*_[2*i],_[2*i+1]=s),n--)}}(t,e),A(s,o,t.bl_count)},M=function(t,e,a){var n,r,i=-1,s=e[1],h=0,l=7,_=4;for(0===s&&(l=138,_=3),e[2*(a+1)+1]=65535,n=0;n<=a;n++)r=s,s=e[2*(n+1)+1],++h<l&&r===s||(h<_?t.bl_tree[2*r]+=h:0!==r?(r!==i&&t.bl_tree[2*r]++,t.bl_tree[32]++):h<=10?t.bl_tree[34]++:t.bl_tree[36]++,h=0,i=r,0===s?(l=138,_=3):r===s?(l=6,_=3):(l=7,_=4))},j=function(t,e,a){var n,r,i=-1,s=e[1],h=0,l=7,_=4;for(0===s&&(l=138,_=3),n=0;n<=a;n++)if(r=s,s=e[2*(n+1)+1],!(++h<l&&r===s)){if(h<_)do{z(t,r,t.bl_tree)}while(0!=--h);else 0!==r?(r!==i&&(z(t,r,t.bl_tree),h--),z(t,16,t.bl_tree),k(t,h-3,2)):h<=10?(z(t,17,t.bl_tree),k(t,h-3,3)):(z(t,18,t.bl_tree),k(t,h-11,7));h=0,i=r,0===s?(l=138,_=3):r===s?(l=6,_=3):(l=7,_=4)}},I=!1,L=function(t,e,a,n){k(t,0+(n?1:0),3),function(t,e,a,n){B(t),n&&(y(t,a),y(t,~a)),t.pending_buf.set(t.window.subarray(e,e+a),t.pending),t.pending+=a}(t,e,a,!0)},T=function(t,a,n,r){var i,s,h=0;t.level>0?(2===t.strm.data_type&&(t.strm.data_type=function(t){var a,n=4093624447;for(a=0;a<=31;a++,n>>>=1)if(1&n&&0!==t.dyn_ltree[2*a])return 0;if(0!==t.dyn_ltree[18]||0!==t.dyn_ltree[20]||0!==t.dyn_ltree[26])return 1;for(a=32;a<e;a++)if(0!==t.dyn_ltree[2*a])return 1;return 0}(t)),D(t,t.l_desc),D(t,t.d_desc),h=function(t){var e;for(M(t,t.dyn_ltree,t.l_desc.max_code),M(t,t.dyn_dtree,t.d_desc.max_code),D(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!==a?L(t,a,n,r):4===t.strategy||s===i?(k(t,2+(r?1:0),3),S(t,_,o)):(k(t,4+(r?1:0),3),function(t,e,a,n){var r;for(k(t,e-257,5),k(t,a-1,5),k(t,n-4,4),r=0;r<n;r++)k(t,t.bl_tree[2*l[r]+1],3);j(t,t.dyn_ltree,e-1),j(t,t.dyn_dtree,a-1)}(t,t.l_desc.max_code+1,t.d_desc.max_code+1,h+1),S(t,t.dyn_ltree,t.dyn_dtree)),U(t),r&&B(t)},H={_tr_init:function(t){I||(!function(){var t,e,l,b,m,y=new Array(16);for(l=0,b=0;b<28;b++)for(f[b]=l,t=0;t<1<<i[b];t++)u[l++]=b;for(u[l-1]=b,m=0,b=0;b<16;b++)for(w[b]=m,t=0;t<1<<s[b];t++)d[m++]=b;for(m>>=7;b<n;b++)for(w[b]=m<<7,t=0;t<1<<s[b]-7;t++)d[256+m++]=b;for(e=0;e<=r;e++)y[e]=0;for(t=0;t<=143;)_[2*t+1]=8,t++,y[8]++;for(;t<=255;)_[2*t+1]=9,t++,y[9]++;for(;t<=279;)_[2*t+1]=7,t++,y[7]++;for(;t<=287;)_[2*t+1]=8,t++,y[8]++;for(A(_,287,y),t=0;t<n;t++)o[2*t+1]=5,o[2*t]=x(t,5);c=new v(_,i,257,a,r),p=new v(o,s,0,n,r),g=new v(new Array(0),h,0,19,7)}(),I=!0),t.l_desc=new b(t.dyn_ltree,c),t.d_desc=new b(t.dyn_dtree,p),t.bl_desc=new b(t.bl_tree,g),t.bi_buf=0,t.bi_valid=0,U(t)},_tr_stored_block:L,_tr_flush_block:T,_tr_tally:function(t,a,n){return t.pending_buf[t.d_buf+2*t.last_lit]=a>>>8&255,t.pending_buf[t.d_buf+2*t.last_lit+1]=255&a,t.pending_buf[t.l_buf+t.last_lit]=255&n,t.last_lit++,0===a?t.dyn_ltree[2*n]++:(t.matches++,a--,t.dyn_ltree[2*(u[n]+e+1)]++,t.dyn_dtree[2*m(a)]++),t.last_lit===t.lit_bufsize-1},_tr_align:function(t){k(t,2,3),z(t,256,_),function(t){16===t.bi_valid?(y(t,t.bi_buf),t.bi_buf=0,t.bi_valid=0):t.bi_valid>=8&&(t.pending_buf[t.pending++]=255&t.bi_buf,t.bi_buf>>=8,t.bi_valid-=8)}(t)}},R=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},K=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}()),N=function(t,e,a,n){var r=K,i=n+a;t^=-1;for(var s=n;s<i;s++)t=t>>>8^r[255&(t^e[s])];return-1^t},O={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"},q=0,F=2,G=3,J=4,P=0,Q=1,V=-1,W=0,X=8,Y=H._tr_init,Z=H._tr_stored_block,$=H._tr_flush_block,tt=H._tr_tally,et=H._tr_align,at=q,nt=1,rt=G,it=J,st=5,ht=P,lt=Q,_t=-2,ot=-3,dt=-5,ut=V,ft=1,ct=2,pt=3,gt=4,wt=W,vt=2,bt=X,mt=258,yt=262,kt=103,zt=113,xt=666,At=function(t,e){return t.msg=O[e],e},Ut=function(t){return(t<<1)-(t>4?9:0)},Bt=function(t){for(var e=t.length;--e>=0;)t[e]=0},Ct=function(t,e,a){return(e<<t.hash_shift^a)&t.hash_mask},Et=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))},St=function(t,e){$(t,t.block_start>=0?t.block_start:-1,t.strstart-t.block_start,e),t.block_start=t.strstart,Et(t.strm)},Dt=function(t,e){t.pending_buf[t.pending++]=e},Mt=function(t,e){t.pending_buf[t.pending++]=e>>>8&255,t.pending_buf[t.pending++]=255&e},jt=function(t,e){var a,n,r=t.max_chain_length,i=t.strstart,s=t.prev_length,h=t.nice_match,l=t.strstart>t.w_size-yt?t.strstart-(t.w_size-yt):0,_=t.window,o=t.w_mask,d=t.prev,u=t.strstart+mt,f=_[i+s-1],c=_[i+s];t.prev_length>=t.good_match&&(r>>=2),h>t.lookahead&&(h=t.lookahead);do{if(_[(a=e)+s]===c&&_[a+s-1]===f&&_[a]===_[i]&&_[++a]===_[i+1]){i+=2,a++;do{}while(_[++i]===_[++a]&&_[++i]===_[++a]&&_[++i]===_[++a]&&_[++i]===_[++a]&&_[++i]===_[++a]&&_[++i]===_[++a]&&_[++i]===_[++a]&&_[++i]===_[++a]&&i<u);if(n=mt-(u-i),i=u-mt,n>s){if(t.match_start=e,s=n,n>=h)break;f=_[i+s-1],c=_[i+s]}}}while((e=d[e&o])>l&&0!=--r);return s<=t.lookahead?s:t.lookahead},It=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-yt)){t.window.set(t.window.subarray(d,d+d),0),t.match_start-=d,t.strstart-=d,t.block_start-=d,e=a=t.hash_size;do{n=t.head[--e],t.head[e]=n>=d?n-d:0}while(--a);e=a=d;do{n=t.prev[--e],t.prev[e]=n>=d?n-d:0}while(--a);r+=d}if(0===t.strm.avail_in)break;if(s=t.strm,h=t.window,l=t.strstart+t.lookahead,_=r,o=void 0,(o=s.avail_in)>_&&(o=_),a=0===o?0:(s.avail_in-=o,h.set(s.input.subarray(s.next_in,s.next_in+o),l),1===s.state.wrap?s.adler=R(s.adler,h,o,l):2===s.state.wrap&&(s.adler=N(s.adler,h,o,l)),s.next_in+=o,s.total_in+=o,o),t.lookahead+=a,t.lookahead+t.insert>=3)for(i=t.strstart-t.insert,t.ins_h=t.window[i],t.ins_h=Ct(t,t.ins_h,t.window[i+1]);t.insert&&(t.ins_h=Ct(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<yt&&0!==t.strm.avail_in)},Lt=function(t,e){for(var a,n;;){if(t.lookahead<yt){if(It(t),t.lookahead<yt&&e===at)return 1;if(0===t.lookahead)break}if(a=0,t.lookahead>=3&&(t.ins_h=Ct(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-yt&&(t.match_length=jt(t,a)),t.match_length>=3)if(n=tt(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=Ct(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=Ct(t,t.ins_h,t.window[t.strstart+1]);else n=tt(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++;if(n&&(St(t,!1),0===t.strm.avail_out))return 1}return t.insert=t.strstart<2?t.strstart:2,e===it?(St(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(St(t,!1),0===t.strm.avail_out)?1:2},Tt=function(t,e){for(var a,n,r;;){if(t.lookahead<yt){if(It(t),t.lookahead<yt&&e===at)return 1;if(0===t.lookahead)break}if(a=0,t.lookahead>=3&&(t.ins_h=Ct(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-yt&&(t.match_length=jt(t,a),t.match_length<=5&&(t.strategy===ft||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=tt(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=Ct(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&&(St(t,!1),0===t.strm.avail_out))return 1}else if(t.match_available){if((n=tt(t,0,t.window[t.strstart-1]))&&St(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=tt(t,0,t.window[t.strstart-1]),t.match_available=0),t.insert=t.strstart<2?t.strstart:2,e===it?(St(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(St(t,!1),0===t.strm.avail_out)?1:2};function Ht(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 Rt=[new Ht(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(It(t),0===t.lookahead&&e===at)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,St(t,!1),0===t.strm.avail_out))return 1;if(t.strstart-t.block_start>=t.w_size-yt&&(St(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,e===it?(St(t,!0),0===t.strm.avail_out?3:4):(t.strstart>t.block_start&&(St(t,!1),t.strm.avail_out),1)})),new Ht(4,4,8,4,Lt),new Ht(4,5,16,8,Lt),new Ht(4,6,32,32,Lt),new Ht(4,4,16,16,Tt),new Ht(8,16,32,32,Tt),new Ht(8,16,128,128,Tt),new Ht(8,32,128,256,Tt),new Ht(32,128,258,1024,Tt),new Ht(32,258,258,4096,Tt)];function Kt(){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=bt,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new Uint16Array(1146),this.dyn_dtree=new Uint16Array(122),this.bl_tree=new Uint16Array(78),Bt(this.dyn_ltree),Bt(this.dyn_dtree),Bt(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new Uint16Array(16),this.heap=new Uint16Array(573),Bt(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new Uint16Array(573),Bt(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}var Nt=function(t){if(!t||!t.state)return At(t,_t);t.total_in=t.total_out=0,t.data_type=vt;var e=t.state;return e.pending=0,e.pending_out=0,e.wrap<0&&(e.wrap=-e.wrap),e.status=e.wrap?42:zt,t.adler=2===e.wrap?0:1,e.last_flush=at,Y(e),ht},Ot=function(t){var e,a=Nt(t);return a===ht&&((e=t.state).window_size=2*e.w_size,Bt(e.head),e.max_lazy_match=Rt[e.level].max_lazy,e.good_match=Rt[e.level].good_length,e.nice_match=Rt[e.level].nice_length,e.max_chain_length=Rt[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},qt=function(t,e,a,n,r,i){if(!t)return _t;var s=1;if(e===ut&&(e=6),n<0?(s=0,n=-n):n>15&&(s=2,n-=16),r<1||r>9||a!==bt||n<8||n>15||e<0||e>9||i<0||i>gt)return At(t,_t);8===n&&(n=9);var h=new Kt;return t.state=h,h.strm=t,h.wrap=s,h.gzhead=null,h.w_bits=n,h.w_size=1<<h.w_bits,h.w_mask=h.w_size-1,h.hash_bits=r+7,h.hash_size=1<<h.hash_bits,h.hash_mask=h.hash_size-1,h.hash_shift=~~((h.hash_bits+3-1)/3),h.window=new Uint8Array(2*h.w_size),h.head=new Uint16Array(h.hash_size),h.prev=new Uint16Array(h.w_size),h.lit_bufsize=1<<r+6,h.pending_buf_size=4*h.lit_bufsize,h.pending_buf=new Uint8Array(h.pending_buf_size),h.d_buf=1*h.lit_bufsize,h.l_buf=3*h.lit_bufsize,h.level=e,h.strategy=i,h.method=a,Ot(t)},Ft={deflateInit:function(t,e){return qt(t,e,bt,15,8,wt)},deflateInit2:qt,deflateReset:Ot,deflateResetKeep:Nt,deflateSetHeader:function(t,e){return t&&t.state?2!==t.state.wrap?_t:(t.state.gzhead=e,ht):_t},deflate:function(t,e){var a,n;if(!t||!t.state||e>st||e<0)return t?At(t,_t):_t;var r=t.state;if(!t.output||!t.input&&0!==t.avail_in||r.status===xt&&e!==it)return At(t,0===t.avail_out?dt:_t);r.strm=t;var i=r.last_flush;if(r.last_flush=e,42===r.status)if(2===r.wrap)t.adler=0,Dt(r,31),Dt(r,139),Dt(r,8),r.gzhead?(Dt(r,(r.gzhead.text?1:0)+(r.gzhead.hcrc?2:0)+(r.gzhead.extra?4:0)+(r.gzhead.name?8:0)+(r.gzhead.comment?16:0)),Dt(r,255&r.gzhead.time),Dt(r,r.gzhead.time>>8&255),Dt(r,r.gzhead.time>>16&255),Dt(r,r.gzhead.time>>24&255),Dt(r,9===r.level?2:r.strategy>=ct||r.level<2?4:0),Dt(r,255&r.gzhead.os),r.gzhead.extra&&r.gzhead.extra.length&&(Dt(r,255&r.gzhead.extra.length),Dt(r,r.gzhead.extra.length>>8&255)),r.gzhead.hcrc&&(t.adler=N(t.adler,r.pending_buf,r.pending,0)),r.gzindex=0,r.status=69):(Dt(r,0),Dt(r,0),Dt(r,0),Dt(r,0),Dt(r,0),Dt(r,9===r.level?2:r.strategy>=ct||r.level<2?4:0),Dt(r,3),r.status=zt);else{var s=bt+(r.w_bits-8<<4)<<8;s|=(r.strategy>=ct||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=zt,Mt(r,s),0!==r.strstart&&(Mt(r,t.adler>>>16),Mt(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=N(t.adler,r.pending_buf,r.pending-a,a)),Et(t),a=r.pending,r.pending!==r.pending_buf_size));)Dt(r,255&r.gzhead.extra[r.gzindex]),r.gzindex++;r.gzhead.hcrc&&r.pending>a&&(t.adler=N(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=N(t.adler,r.pending_buf,r.pending-a,a)),Et(t),a=r.pending,r.pending===r.pending_buf_size)){n=1;break}n=r.gzindex<r.gzhead.name.length?255&r.gzhead.name.charCodeAt(r.gzindex++):0,Dt(r,n)}while(0!==n);r.gzhead.hcrc&&r.pending>a&&(t.adler=N(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=N(t.adler,r.pending_buf,r.pending-a,a)),Et(t),a=r.pending,r.pending===r.pending_buf_size)){n=1;break}n=r.gzindex<r.gzhead.comment.length?255&r.gzhead.comment.charCodeAt(r.gzindex++):0,Dt(r,n)}while(0!==n);r.gzhead.hcrc&&r.pending>a&&(t.adler=N(t.adler,r.pending_buf,r.pending-a,a)),0===n&&(r.status=kt)}else r.status=kt;if(r.status===kt&&(r.gzhead.hcrc?(r.pending+2>r.pending_buf_size&&Et(t),r.pending+2<=r.pending_buf_size&&(Dt(r,255&t.adler),Dt(r,t.adler>>8&255),t.adler=0,r.status=zt)):r.status=zt),0!==r.pending){if(Et(t),0===t.avail_out)return r.last_flush=-1,ht}else if(0===t.avail_in&&Ut(e)<=Ut(i)&&e!==it)return At(t,dt);if(r.status===xt&&0!==t.avail_in)return At(t,dt);if(0!==t.avail_in||0!==r.lookahead||e!==at&&r.status!==xt){var h=r.strategy===ct?function(t,e){for(var a;;){if(0===t.lookahead&&(It(t),0===t.lookahead)){if(e===at)return 1;break}if(t.match_length=0,a=tt(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++,a&&(St(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,e===it?(St(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(St(t,!1),0===t.strm.avail_out)?1:2}(r,e):r.strategy===pt?function(t,e){for(var a,n,r,i,s=t.window;;){if(t.lookahead<=mt){if(It(t),t.lookahead<=mt&&e===at)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+mt;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=mt-(i-r),t.match_length>t.lookahead&&(t.match_length=t.lookahead)}if(t.match_length>=3?(a=tt(t,1,t.match_length-3),t.lookahead-=t.match_length,t.strstart+=t.match_length,t.match_length=0):(a=tt(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++),a&&(St(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,e===it?(St(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(St(t,!1),0===t.strm.avail_out)?1:2}(r,e):Rt[r.level].func(r,e);if(3!==h&&4!==h||(r.status=xt),1===h||3===h)return 0===t.avail_out&&(r.last_flush=-1),ht;if(2===h&&(e===nt?et(r):e!==st&&(Z(r,0,0,!1),e===rt&&(Bt(r.head),0===r.lookahead&&(r.strstart=0,r.block_start=0,r.insert=0))),Et(t),0===t.avail_out))return r.last_flush=-1,ht}return e!==it?ht:r.wrap<=0?lt:(2===r.wrap?(Dt(r,255&t.adler),Dt(r,t.adler>>8&255),Dt(r,t.adler>>16&255),Dt(r,t.adler>>24&255),Dt(r,255&t.total_in),Dt(r,t.total_in>>8&255),Dt(r,t.total_in>>16&255),Dt(r,t.total_in>>24&255)):(Mt(r,t.adler>>>16),Mt(r,65535&t.adler)),Et(t),r.wrap>0&&(r.wrap=-r.wrap),0!==r.pending?ht:lt)},deflateEnd:function(t){if(!t||!t.state)return _t;var e=t.state.status;return 42!==e&&69!==e&&73!==e&&91!==e&&e!==kt&&e!==zt&&e!==xt?At(t,_t):(t.state=null,e===zt?At(t,ot):ht)},deflateSetDictionary:function(t,e){var a=e.length;if(!t||!t.state)return _t;var n=t.state,r=n.wrap;if(2===r||1===r&&42!==n.status||n.lookahead)return _t;if(1===r&&(t.adler=R(t.adler,e,a,0)),n.wrap=0,a>=n.w_size){0===r&&(Bt(n.head),n.strstart=0,n.block_start=0,n.insert=0);var i=new Uint8Array(n.w_size);
8i.set(e.subarray(a-n.w_size,a),0),e=i,a=n.w_size}var s=t.avail_in,h=t.next_in,l=t.input;for(t.avail_in=a,t.next_in=0,t.input=e,It(n);n.lookahead>=3;){var _=n.strstart,o=n.lookahead-2;do{n.ins_h=Ct(n,n.ins_h,n.window[_+3-1]),n.prev[_&n.w_mask]=n.head[n.ins_h],n.head[n.ins_h]=_,_++}while(--o);n.strstart=_,n.lookahead=2,It(n)}return n.strstart+=n.lookahead,n.block_start=n.strstart,n.insert=n.lookahead,n.lookahead=0,n.match_length=n.prev_length=2,n.match_available=0,t.next_in=h,t.input=l,t.avail_in=s,n.wrap=r,ht},deflateInfo:"pako deflate (from Nodeca project)"};for(var Gt=new Uint8Array(256),Jt=0;Jt<256;Jt++)Gt[Jt]=Jt>=252?6:Jt>=248?5:Jt>=240?4:Jt>=224?3:Jt>=192?2:1;Gt[254]=Gt[254]=1;var Pt=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},Qt=Object.prototype.toString,Vt=q,Wt=F,Xt=G,Yt=J,Zt=P,$t=Q,te=V,ee=W,ae=X;function ne(){this.options={level:te,method:ae,chunkSize:16384,windowBits:15,memLevel:8,strategy:ee};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 Pt,this.strm.avail_out=0;var e=Ft.deflateInit2(this.strm,t.level,t.method,t.windowBits,t.memLevel,t.strategy);if(e!==Zt)throw new Error(O[e]);if(t.header&&Ft.deflateSetHeader(this.strm,t.header),t.dictionary){var a;if(a="[object ArrayBuffer]"===Qt.call(t.dictionary)?new Uint8Array(t.dictionary):t.dictionary,(e=Ft.deflateSetDictionary(this.strm,a))!==Zt)throw new Error(O[e]);this._dict_set=!0}}function re(t){return function(){for(var e=[],a=0;a<arguments.length;a++)e[a]=arguments[a];try{return t.apply(void 0,e)}catch(t){try{self.postMessage({type:"errored",error:t})}catch(e){self.postMessage({type:"errored",error:String(t)})}}}}ne.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?Yt:Vt,"[object ArrayBuffer]"===Qt.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===Wt||n===Xt)&&r.avail_out<=6)this.onData(r.output.subarray(0,r.next_out)),r.avail_out=0;else{if((a=Ft.deflate(r,n))===$t)return r.next_out>0&&this.onData(r.output.subarray(0,r.next_out)),a=Ft.deflateEnd(this.strm),this.onEnd(a),this.ended=!0,a===Zt;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},ne.prototype.onData=function(t){this.chunks.push(t)},ne.prototype.onEnd=function(t){t===Zt&&(this.result=function(t){for(var e=0,a=0,n=t.length;a<n;a++)e+=t[a].length;for(var r=new Uint8Array(e),i=0,s=0,h=t.length;i<h;i++){var l=t[i];r.set(l,s),s+=l.length}return r}(this.chunks)),this.chunks=[],this.err=t,this.msg=this.strm.msg},re((function(){var t=new ne,e=0;function a(a){var n=function(t){if("function"==typeof TextEncoder&&TextEncoder.prototype.encode)return(new TextEncoder).encode(t);var e,a,n,r,i,s=t.length,h=0;for(r=0;r<s;r++)55296==(64512&(a=t.charCodeAt(r)))&&r+1<s&&56320==(64512&(n=t.charCodeAt(r+1)))&&(a=65536+(a-55296<<10)+(n-56320),r++),h+=a<128?1:a<2048?2:a<65536?3:4;for(e=new Uint8Array(h),i=0,r=0;i<h;r++)55296==(64512&(a=t.charCodeAt(r)))&&r+1<s&&56320==(64512&(n=t.charCodeAt(r+1)))&&(a=65536+(a-55296<<10)+(n-56320),r++),a<128?e[i++]=a:a<2048?(e[i++]=192|a>>>6,e[i++]=128|63&a):a<65536?(e[i++]=224|a>>>12,e[i++]=128|a>>>6&63,e[i++]=128|63&a):(e[i++]=240|a>>>18,e[i++]=128|a>>>12&63,e[i++]=128|a>>>6&63,e[i++]=128|63&a);return e}(a);return t.push(n,F),e+=n.length,n.length}self.addEventListener("message",re((function(n){var r=n.data;switch(r.action){case"init":self.postMessage({type:"initialized"});break;case"write":var i=a(r.data);self.postMessage({type:"wrote",id:r.id,compressedBytesCount:t.chunks.reduce((function(t,e){return t+e.length}),0),additionalBytesCount:i});break;case"flush":i=r.data?a(r.data):0,t.push("",J),self.postMessage({type:"flushed",id:r.id,result:t.result,additionalBytesCount:i,rawBytesCount:e}),t=new ne,e=0}})))}))()}();']))),new Worker(A)}var r7={status:0};function it(t,e){switch(void 0===e&&(e=r9),r7.status){case 0:r7={status:1,callbacks:[t]},function(t){void 0===t&&(t=r9);try{var e=t();ej(e,"error",ie),ej(e,"message",function(t){var n=t.data;"errored"===n.type?ie(n.error):"initialized"===n.type&&1===r7.status&&(r7.callbacks.forEach(function(t){return t(e)}),r7={status:3,worker:e})}),e.postMessage({action:"init"})}catch(t){ie(t)}}(e);break;case 1:r7.callbacks.push(t);break;case 2:t();break;case 3:t(r7.worker)}}function ie(t){var e;1===r7.status?(M.error("Session Replay recording failed to start: an error occurred while creating the Worker:",t),t instanceof Event||t instanceof Error&&(H(e=t.message,"Content Security Policy")||H(e,"requires 'TrustedScriptURL'"))?M.error("Please make sure CSP is correctly configured https://docs.datadoghq.com/real_user_monitoring/faq/content_security_policy"):eB(t),r7.callbacks.forEach(function(t){return t()}),r7={status:2}):eB(t)}function ir(){return"function"==typeof Array.from&&"function"==typeof CSSSupportsRule&&"function"==typeof URL.createObjectURL&&"forEach"in NodeList.prototype}var ii=function(t,e,n){var r,i,a=(void 0===n?{}:n).ignoreInitIfSyntheticsWillInjectRum,o=void 0===a||a,s=!1,u=tg("global context"),d=tg("user"),f=function(){},p=function(){},h=to,v=function(){},m=new ty,g=function(t,e){void 0===e&&(e=tx()),m.add(function(){return g(t,e)})},y=function(t,e){void 0===e&&(e=tA()),m.add(function(){return y(t,e)})},b=function(t,n){void 0===n&&(n=eN(u,d,e)),m.add(function(){return b(t,n)})},_=function(t,n){void 0===n&&(n=eN(u,d,e)),m.add(function(){return _(t,n)})},w=function(t,e){m.add(function(){return w(t,e)})};function S(n,r,i){var a=t(n,r,e,u,d,i);v=function(){return e.getSessionReplayLink(r,a.session,a.viewContexts)},y=a.startView,b=a.addAction,_=a.addError,g=a.addTiming,w=a.addFeatureFlagEvaluation,f=
8a.getInternalContext,h=a.stopSession,m.drain(),e.onRumStart(a.lifeCycle,r,a.session,a.viewContexts)}var k=F(function(t){y("object"==typeof t?t:{name:t})});return r={init:F(function(t){if(p=function(){return tc(t)},!(o&&tz())){var e,n=tB();if(n&&(t=Y({},t,{applicationId:"00000000-aaaa-0000-aaaa-000000000000",clientToken:"empty",sessionSampleRate:100})),e=t,!s||(e.silentMultipleInit||M.error("DD_RUM is already initialized."),0)){var r=function(t){if(!t.applicationId){M.error("Application ID is not configured, no RUM data will be collected.");return}if(void 0!==t.sessionReplaySampleRate&&!tw(t.sessionReplaySampleRate)){M.error("Session Replay Sample Rate should be a number between 0 and 100");return}var e,n,r,i,a,o,s=null!==(e=t.premiumSampleRate)&&void 0!==e?e:t.replaySampleRate;if(void 0!==s&&void 0!==t.sessionReplaySampleRate&&(M.warn("Ignoring Premium Sample Rate because Session Replay Sample Rate is set"),s=void 0),void 0!==s&&!tw(s)){M.error("Premium Sample Rate should be a number between 0 and 100");return}var u=null!==(n=t.traceSampleRate)&&void 0!==n?n:t.tracingSampleRate;if(void 0!==u&&!tw(u)){M.error("Trace Sample Rate should be a number between 0 and 100");return}if(void 0!==t.excludedActivityUrls&&!Array.isArray(t.excludedActivityUrls)){M.error("Excluded Activity Urls should be an array");return}var d=function(t){if(void 0!==t.allowedTracingUrls&&void 0!==t.allowedTracingOrigins&&M.warn("Both allowedTracingUrls and allowedTracingOrigins (deprecated) have been defined. The parameter allowedTracingUrls will override allowedTracingOrigins."),void 0!==t.allowedTracingUrls){if(!Array.isArray(t.allowedTracingUrls)){M.error("Allowed Tracing URLs should be an array");return}if(0!==t.allowedTracingUrls.length&&void 0===t.service){M.error("Service needs to be configured when tracing is enabled");return}var e=[];return t.allowedTracingUrls.forEach(function(t){ex(t)?e.push({match:t,propagatorTypes:["datadog"]}):"object"===ts(t)&&ex(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}if(void 0!==t.allowedTracingOrigins){if(!Array.isArray(t.allowedTracingOrigins)){M.error("Allowed Tracing Origins should be an array");return}if(0!==t.allowedTracingOrigins.length&&void 0===t.service){M.error("Service needs to be configured when tracing is enabled");return}var n=[];return t.allowedTracingOrigins.forEach(function(t){var e=function(t){var e;if("string"==typeof t?e=t:t instanceof RegExp?e=function(e){return t.test(eg(ev(e)))}:"function"==typeof t&&(e=function(e){return t(eg(ev(e)))}),void 0===e){M.warn("Allowed Tracing Origins parameters should be a string, RegExp or function. Ignoring parameter",t);return}return{match:e,propagatorTypes:["datadog"]}}(t);e&&n.push(e)}),n}return[]}(t);if(d){var f=function(t){if(!t||!t.clientToken){M.error("Client Token is not configured, we will not send any data.");return}var e,n,r,i,a,o,s,u,d,f,p,h,v=null!==(f=t.sessionSampleRate)&&void 0!==f?f:t.sampleRate;if(void 0!==v&&!tw(v)){M.error("Session Sample Rate should be a number between 0 and 100");return}if(void 0!==t.telemetrySampleRate&&!tw(t.telemetrySampleRate)){M.error("Telemetry Sample Rate should be a number between 0 and 100");return}if(void 0!==t.telemetryConfigurationSampleRate&&!tw(t.telemetryConfigurationSampleRate)){M.error("Telemetry Configuration Sample Rate should be a number between 0 and 100");return}return Array.isArray(t.enableExperimentalFeatures)&&function(t){t.forEach(function(t){t5.add(t)})}(t.enableExperimentalFeatures.filter(function(t){return t4(l,t)})),Y({beforeSend:t.beforeSend&&P(t.beforeSend,"beforeSend threw an error:"),sessionStoreStrategyType:((n=!function(t){if(void 0===document.cookie||null===document.cookie)return!1;try{var e="dd_cookie_test_".concat(tI()),n="test";tM(e,n,6e4,t);var r=tD(e)===n;return tP(e,t),r}catch(t){return M.error(t),!1}}(((e={}).secure=!!t.useSecureSessionCookie||!!t.useCrossSiteSessionCookie,e.crossSite=!!t.useCrossSiteSessionCookie,t.trackSessionAcrossSubdomains&&(e.domain=function(){if(void 0===c){for(var t="dd_site_test_".concat(tI()),e=window.location.hostname.split("."),n=e.pop();e.length&&!tD(t);)tM(t,"test",1e3,{domain:n="".concat(e.pop(),".").concat(n)});tP(t,{domain:n}),c=n}return c}()),e))?void 0:{type:"Cookie",cookieOptions:e})||!t.allowFallbackToLocalStorage||(n=function(){try{var t=tI(),e="".concat("_dd_test_").concat(t);localStorage.setItem(e,t);var n=localStorage.getItem(e);return localStorage.removeItem(e),t===n?{type:"LocalStorage"}:void 0}catch(t){return}}()),n),sessionSampleRate:null!=v?v:100,telemetrySampleRate:null!==(p=t.telemetrySampleRate)&&void 0!==p?p:20,telemetryConfigurationSampleRate:null!==(h=t.telemetryConfigurationSampleRate)&&void 0!==h?h:5,service:t.service,silentMultipleInit:!!t.silentMultipleInit,batchBytesLimit:16384,eventRateLimiterThreshold:3e3,maxTelemetryEventsPerPage:15,flushTimeout:3e4,batchMessagesLimit:50,messageBytesLimit:262144},(r=t.env,i=t.service,a=t.version,o=t.datacenter,s=[],r&&s.push(eT("env",r)),i&&s.push(eT("service",i)),a&&s.push(eT("version",a)),o&&s.push(eT("datacenter",o)),d=$(u={logsEndpointBuilder:eS(t,"logs",s),rumEndpointBuilder:eS(t,"rum",s),sessionReplayEndpointBuilder:eS(t,"
8sessionReplay",s)}).map(function(t){return t.urlPrefix}),Y({isIntakeUrl:function(t){return d.some(function(e){return 0===t.indexOf(e)})},replica:function(t,e,n){if(t.replica){var r=Y({},t,{site:eb,clientToken:t.replica.clientToken}),i={logsEndpointBuilder:eS(r,"logs",n),rumEndpointBuilder:eS(r,"rum",n)};return e.push.apply(e,$(i).map(function(t){return t.urlPrefix})),Y({applicationId:t.replica.applicationId},i)}}(t,d,s),site:t.site||eb},u)))}(t);if(f){var p=!!(null!==(r=t.trackUserInteractions)&&void 0!==r?r:t.trackInteractions),h=!!t.trackFrustrations;return Y({applicationId:t.applicationId,version:t.version,actionNameAttribute:t.actionNameAttribute,sessionReplaySampleRate:null!==(a=null!==(i=t.sessionReplaySampleRate)&&void 0!==i?i:s)&&void 0!==a?a:100,oldPlansBehavior:void 0===t.sessionReplaySampleRate,traceSampleRate:u,allowedTracingUrls:d,excludedActivityUrls:null!==(o=t.excludedActivityUrls)&&void 0!==o?o:[],trackUserInteractions:p||h,trackFrustrations:h,trackViewsManually:!!t.trackViewsManually,trackResources:t.trackResources,trackLongTasks:t.trackLongTasks,subdomain:t.subdomain,defaultPrivacyLevel:t4(eC,t.defaultPrivacyLevel)?t.defaultPrivacyLevel:eC.MASK_USER_INPUT,customerDataTelemetrySampleRate:1},f)}}}(t);if(r){if(!n&&!r.sessionStoreStrategyType){M.warn("No storage available for session. We will not send any data.");return}if(r.trackViewsManually){var i=m;m=new ty,y=function(e){S(t,r,e)},i.drain()}else S(t,r);s=!0}}}}),addRumGlobalContext:F(u.add),setGlobalContextProperty:F(u.setContextProperty),removeRumGlobalContext:F(u.remove),removeGlobalContextProperty:F(u.removeContextProperty),getRumGlobalContext:F(u.get),getGlobalContext:F(u.getContext),setRumGlobalContext:F(u.set),setGlobalContext:F(u.setContext),clearGlobalContext:F(u.clearContext),getInternalContext:F(function(t){return f(t)}),getInitConfiguration:F(function(){return p()}),addAction:F(function(t,e){b({name:tp(t),context:tp(e),startClocks:tA(),type:"custom"})}),addError:function(t,e){var n=t1();j(function(){_({error:t,handlingStack:n,context:tp(e),startClocks:tA()})})},addTiming:F(function(t,e){g(tp(t),e)}),setUser:F(function(t){var e;(e="object"===ts(t))||M.error("Unsupported user:",t),e&&d.setContext(t2(t))}),getUser:F(d.getContext),setUserProperty:F(function(t,e){var n,r=t2(((n={})[t]=e,n))[t];d.setContextProperty(t,r)}),removeUserProperty:F(d.removeContextProperty),removeUser:F(d.clearContext),clearUser:F(d.clearContext),startView:k,stopSession:F(function(){h()}),startSessionReplayRecording:F(e.start),stopSessionReplayRecording:F(e.stop),addFeatureFlagEvaluation:F(function(t,e){w(tp(t),tp(e))}),getSessionReplayLink:F(function(){return v()})},Object.defineProperty(i=Y({version:"4.45.0",onReady:function(t){t()}},r),"_setDebug",{get:function(){return B},enumerable:!1}),i}(function(t,e,n,r,i,a){var o,u,c,d,f,h,y,b,_,w,S,x,E,A,R,O,I,N,P,z,U,B,q,$,W,X,K,Z,tt,tu,tf,th,tv,tg,ty,tw,tj,tq,tH,tV,tG,t$,tJ,tW,tX,tY,t2=new nu;t2.subscribe(11,function(t){return eL("rum",t)});var t4=function(t){var e,n,r=(n=new t9,ez.telemetryEnabled=!H(eP,t.site)&&tb(t.telemetrySampleRate),ez.telemetryConfigurationEnabled=ez.telemetryEnabled&&tb(t.telemetryConfigurationSampleRate),p=function(t){if(ez.telemetryEnabled){var r=tl({type:"telemetry",date:tx(),service:"browser-rum-sdk",version:"4.45.0",source:"browser",_dd:{format_version:2},telemetry:t,experimental_features:V(t5)},void 0!==e?e():{});n.notify(r),eL("telemetry",r)}},s=eB,Y(ez,{maxEventsPerPage:t.maxTelemetryEventsPerPage,sentEventCount:0}),{setContextProvider:function(t){e=t},observable:n,enabled:ez.telemetryEnabled});if(tB()){var i=tU();r.observable.subscribe(function(t){return i.send("internal_telemetry",t)})}return r}(e);t4.setContextProvider(function(){var t,n;return{application:{id:e.applicationId},session:{id:null===(t=ed.findTrackedSession())||void 0===t?void 0:t.id},view:{id:null===(n=em.findView())||void 0===n?void 0:n.id},action:{id:e_.findActionId()}}});var ee=function(t){t2.notify(12,{error:t}),eU("Error reported to customer",{"error.message":t.message})},ei=function(t,e){if(void 0===e&&(e=Q),!t3(l.FEATURE_FLAGS))return{findFeatureFlagEvaluations:function(){},getFeatureFlagBytesCount:function(){return 0},addFeatureFlagEvaluation:to,stop:to};var n=new nl(144e5),r=0,i=!1;t.subscribe(4,function(t){var e=t.endClocks;n.closeActive(e.relative)}),t.subscribe(2,function(t){var e=t.startClocks;n.add({},e.relative),r=0});var a=ta(function(t){r=e(td(t)),i||(i=tm(r,"feature flag evaluation"))},200),o=a.throttled;return{findFeatureFlagEvaluations:function(t){return n.find(t)},getFeatureFlagBytesCount:function(){return n.find()?r:0},addFeatureFlagEvaluation:function(t,e){var r=n.find();r&&(r[t]=e,o(r))},stop:a.cancel}}(t2),ec=u=new t9(function(){var t=t3(l.PAGEHIDE),e=eq(window,["visibilitychange","freeze","pagehide"],function(e){"pagehide"===e.type&&t?u.notify({reason:eH.PAGEHIDE}):"visibilitychange"===e.type&&"hidden"===document.visibilityState?u.notify({reason:eH.HIDDEN}):"freeze"===e.type&&u.notify({reason:eH.FROZEN})},{capture:!0}).stop,n=to;return t||(n=ej(window,"beforeunload",function(){u.notify({reason:eH.UNLOADING})}).stop),function(){e(),n()}});ec.subscribe(function(t){t2.notify(9,t)});var ed=tB()?(c={id:"00000000-aaaa-0000-aaaa-000000000000",plan:1,sessionReplayAllowed:!1,longTaskAllowed:!0,resourceAllowed:!0},{findTrackedSession:function(){return c},expire:to,expireObservable:new t9}):((d=function(t,e,n){var r,i,a,o,s=function(t,e,n){var r,i,a,o,s=new t9,u=new t9,c="Cookie"===t.type?(function(t){if(!tD(et)){var e=tD("_dd"),n=tD("_dd_r"),r=tD("_dd_l"),i={};e&&(i.id=e),r&&/^[01]$/.test(r)&&(i.logs=r),n&&/^[012]$/.test(n)&&(i.rum=n),t8(i)||(en(i),t.persistSession(i))}}(o={persistSession:(r=a=t.cookieOptions,function(t){tM(et,er(t),9e5,r)}),retrieveSession:ea,clearSession:function(){tP(et,a)}}),o):{persistSession:eo,retrieveSession:es,clearSession:eu},l=c.clearSession,d=c.retrieveSession,f=tr(function(){el({process:function(t){return m(t)?void 0:{}},after:h},c)},1e3),p=m(i=d())?i:{};function h(t){var n;return m(t)||(t={}),v()&&((n=t,p.id!==n.id||p[e]!==n[e])?(p={},u.notify()):p=t),t}function v(){return void 0!==p[e]}function m(t){return(void 0===t.created||tC()-Number(t.created)<144e5)&&(void 0===t.expire||tC()<Number(t.expire))}return{expandOrRenewSession:ta(function(){var t;el({process:function(r){var i,a,o,s,u=h(r);return o=(a=n((i=u)[e])).trackingType,s=a.isTracked,i[e]=o,s&&!i.id&&(i.id=tI(),i.created=String(tC())),t=s,u},after:function(e){t&&!v()&&(p=e,s.notify()),p=e}},c)},1e3).throttled,expandSession:function(){el({process:function(t){return v()?h(t):void 0}},c)},getSession:function(){return p},renewObservable:s,expireObservable:u,expire:function(){l(),h({})},stop:function(){ti(f)}}}(t,e,n);n9.push(function(){return s.stop()});var u=new nl(144e5);function c(){return{id:s.getSession().id,trackingType:s.getSession()[e]}}return n9.push(function(){return u.stop()}),s.renewObservable.subscribe(function(){u.add(c(),tE())}),s.expireObservable.subscribe(function(){u.closeActive(tE())}),s.expandOrRenewSession(),u.add(c(),tR().relative),r=eq(window,["click","touchstart","keydown","scroll"],function(){return s.expandOrRenewSession()},{capture:!0,passive:!0}).stop,n9.push(r),i=function(){"visible"===document.visibilityState&&s.expandSession()}
8,a=ej(document,"visibilitychange",i).stop,n9.push(a),o=tr(i,6e4),n9.push(function(){ti(o)}),{findActiveSession:function(t){return u.find(t)},renewObservable:s.renewObservable,expireObservable:s.expireObservable,expire:s.expire}}(e.sessionStoreStrategyType,"rum",function(t){var n;return{trackingType:n="0"===t||"1"===t||"2"===t?t:tb(e.sessionSampleRate)?tb(e.sessionReplaySampleRate)?"1":"2":"0",isTracked:n7(n)}})).expireObservable.subscribe(function(){t2.notify(7)}),d.renewObservable.subscribe(function(){t2.notify(8)}),{findTrackedSession:function(t){var n=d.findActiveSession(t);if(n&&n7(n.trackingType)){var r="1"===n.trackingType?2:1;return{id:n.id,plan:r,sessionReplayAllowed:2===r,longTaskAllowed:void 0!==e.trackLongTasks?e.trackLongTasks:e.oldPlansBehavior&&2===r,resourceAllowed:void 0!==e.trackResources?e.trackResources:e.oldPlansBehavior&&2===r}}},expire:d.expire,expireObservable:d.expireObservable});if(tB())!function(t){var e=tU();t.subscribe(11,function(t){e.send("rum",t)})}(t2);else{o=(f=t4.observable,h=function(t,e,n,r){var i,a=c(t.rumEndpointBuilder),o=a.batch,s=a.flushController,u=t.replica;function c(i){var a=function(t){var e,n=t.messagesLimit,r=t.bytesLimit,i=t.durationLimit,a=t.pageExitObservable,o=t.sessionExpireObservable,s=new t9;a.subscribe(function(t){return l(t.reason)}),o.subscribe(function(){return l("session_expire")});var u=0,c=0;function l(t){if(0!==c){var e=c,n=u;c=0,u=0,d(),s.notify({reason:t,messagesCount:e,bytesCount:n})}}function d(){tn(e),e=void 0}return{flushObservable:s,get messagesCount(){return c},notifyBeforeAddMessage:function(t){u+t>=r&&l("bytes_limit"),c+=1,u+=t,void 0===e&&(e=te(function(){l("duration_limit")},i))},notifyAfterAddMessage:function(){c>=n?l("messages_limit"):u>=r&&l("bytes_limit")},notifyAfterRemoveMessage:function(t){u-=t,0==(c-=1)&&d()}}}({messagesLimit:t.batchMessagesLimit,bytesLimit:t.batchBytesLimit,durationLimit:t.flushTimeout,pageExitObservable:n,sessionExpireObservable:r});return{batch:new rt(ra(i,t.batchBytesLimit,e),a,t.messageBytesLimit),flushController:a}}function l(t){return tl(t,{application:{id:u.applicationId}})}return void 0!==u&&(i=c(u.rumEndpointBuilder).batch),{flushObservable:s.flushObservable,add:function(t,e){void 0===e&&(e=!0),o.add(t),i&&e&&i.add(l(t))},upsert:function(t,e){o.upsert(t,e),i&&i.upsert(l(t),e)}}}(e,ee,ec,ed.expireObservable),t2.subscribe(11,function(t){"view"===t.type?h.upsert(t,t.view.id):h.add(t)}),f.subscribe(function(t){return h.add(t,e.site===ey)}),h).flushObservable,t4.enabled&&tb(e.customerDataTelemetrySampleRate)&&(rf(),rp(),t2.subscribe(11,function(t){C=!0,rl(T.globalContextBytes,t8(r.get())?0:r.getBytesCount()),rl(T.userContextBytes,t8(i.get())?0:i.getBytesCount());var e=ei.findFeatureFlagEvaluations(),n=H(["view","error"],t.type)&&e&&!t8(e);rl(T.featureFlagBytes,n?ei.getFeatureFlagBytesCount():0)}),o.subscribe(function(t){var e=t.bytesCount,n=t.messagesCount;C&&(k.batchCount+=1,rl(k.batchBytesCount,e),rl(k.batchMessagesCount,n),rd(k.globalContextBytes,T.globalContextBytes),rd(k.userContextBytes,T.userContextBytes),rd(k.featureFlagBytes,T.featureFlagBytes),rp())}),tr(ru,1e4))}var ef=(tt=eV(),tu=new t9(function(){if(tt){var t=new tt(F(function(){return tu.notify()}));return t.observe(document,{attributes:!0,characterData:!0,childList:!0,subtree:!0}),function(){return t.disconnect()}}})),ep=function(t){var e=t6(t),n=new t9(function(){var t,e,n,i=(t=nf(history,"pushState",{after:r}).stop,e=nf(history,"replaceState",{after:r}).stop,n=ej(window,"popstate",r).stop,{stop:function(){t(),e(),n()}}).stop,a=ej(window,"hashchange",r).stop;return function(){i(),a()}});function r(){if(e.href!==t.href){var r=t6(t);n.notify({newLocation:r,oldLocation:e}),e=r}}return n}(location),eh=(y=t2,b=e,_=location,w=ed,S=ep,x=ef,E=function(){return eN(r,i,n)},A=ee,O=(R=new nl(144e5),y.subscribe(2,function(t){R.add({service:t.service,version:t.version,id:t.id,name:t.name,startClocks:t.startClocks},t.startClocks.relative)}),y.subscribe(4,function(t){var e=t.endClocks;R.closeActive(e.relative)}),y.subscribe(8,function(){R.reset()}),{findView:function(t){return R.find(t)},stop:function(){R.stop()}}),I=function(t,e,n){var r,i=new nl(144e5);t.subscribe(4,function(t){var e=t.endClocks;i.closeActive(e.relative)}),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});var a=e.subscribe(function(t){var e=t.newLocation,n=i.find();if(n){var r=tE();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()}}}(y,S,_),z=(P=function(t,e,n,r){t.subscribe(1,function(e){return t.notify(10,n$(e,r))});var i={findActionId:to};return n.trackUserInteractions&&(i=function(t,e,n){var r,i,a,o,s,u,c,l,d=new nl(3e5),f=new t9;t.subscribe(8,function(){d.reset()}),t.subscribe(4,v);var p=(o=(r={onPointerDown:function(r){return function(t,e,n,r,i){if(!(!t.trackFrustrations&&r.find())){var a,o,s,u,c=(a=i,o=t.actionNameAttribute,{type:"click",target:{width:Math.round((u=a.target.getBoundingClientRect()).width),height:Math.round(u.height),selector:function(t,e){for(var n="",r=t;r&&"HTML"!==r.nodeName;){var i=nB(r,nD,nF,e,n);if(i)return i;n=nB(r,nP,nj,e,n)||nq(function(t){for(var e=t.parentElement.firstElementChild,n=1;e&&e!==t;)e.tagName===t.tagName&&(n+=1),e=e.nextElementSibling;return"".concat(t.tagName,":nth-of-type(").concat(n,")")}(r),n),r=r.parentElement}return n}(a.target,o)},position:{x:Math.round(a.clientX-u.left),y:Math.round(a.clientY-u.top)},name:nE(s=a.target,nx)||o&&nE(s,o)||nO(s,o,nA)||nO(s,o,nR)||""});if(t.trackFrustrations||c.name){var l=!1;return nk(nT(e,n,t),function(t){l=t.hadActivity},100),{clickActionBase:c,hadActivityOnPointerDown:function(){return l}}}}}(n,t,e,d,r)},onPointerUp:function(r,i,a){var o,s,u,c,l,p,v,m,g,y,b,_,w,S;
8return o=n,s=t,u=e,c=d,l=f,p=h,v=r.clickActionBase,m=i,g=a,y=r.hadActivityOnPointerDown,b=function t(e,n,r,i,a){var o,s=tI(),u=tA(),c=n.add(s,u.relative),l=nS({lifeCycle:e,isChildEvent:function(t){return void 0!==t.action&&(Array.isArray(t.action.id)?H(t.action.id,s):t.action.id===s)}}),d=0,f=[],p=new t9;function h(t){0===d&&((d=1,o=t)?c.close(o-tO()):c.remove(),l.stop(),p.notify())}return{event:a,stop:h,stopObservable:p,get hasError(){return l.eventCounts.errorCount>0},get hasPageActivity(){return void 0!==o},getUserActivity:r,addFrustration:function(t){f.push(t)},startClocks:u,isStopped:function(){return 1===d||2===d},clone:function(){return t(e,n,r,i,a)},validate:function(t){if(h(),1===d){var n=l.eventCounts,r=n.resourceCount,c=n.errorCount,p=n.longTaskCount,v=Y({type:"click",duration:o&&o-u.timeStamp,startClocks:u,id:s,frustrationTypes:f,counts:{resourceCount:r,errorCount:c,longTaskCount:p},events:null!=t?t:[a],event:a},i);e.notify(1,v),d=2}},discard:function(){h(),d=2}}}(s,c,g,v,m),o.trackFrustrations&&p(b),_=nk(nT(s,u,o),function(t){t.hadActivity&&t.end<b.startClocks.timeStamp?b.discard():(t.hadActivity?b.stop(t.end):y()?b.stop(b.startClocks.timeStamp):b.stop(),o.trackFrustrations||(t.hadActivity?b.validate():b.discard()))},1e4).stop,w=s.subscribe(4,function(t){var e=t.endClocks;b.stop(e.timeStamp)}),S=l.subscribe(function(){b.stop()}),void b.stopObservable.subscribe(function(){w.unsubscribe(),_(),S.unsubscribe()})}}).onPointerDown,s=r.onPointerUp,u={selection:!1,input:!1},c=[ej(window,"pointerdown",function(t){nV(t)&&(i=nH(),u={selection:!1,input:!1},a=o(t))},{capture:!0}),ej(window,"selectionchange",function(){i&&nH()||(u.selection=!0)},{capture:!0}),ej(window,"pointerup",function(t){if(nV(t)&&a){var e=u;s(a,t,function(){return e}),a=void 0}},{capture:!0}),ej(window,"input",function(){u.input=!0},{capture:!0})],{stop:function(){c.forEach(function(t){return t.stop()})}}).stop;return{stop:function(){v(),f.notify(),p()},actionContexts:{findActionId:function(t){return n.trackFrustrations?d.findAll(t):d.find(t)}}};function h(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),tn(n),n=te(s,1e3)}function o(){1===i&&r.every(function(t){return t.isStopped()})&&(i=2,e(r))}function s(){tn(n),0===i&&(i=1,o())}return a(t),{tryAppend:function(t){var e,n;return 0===i&&(!(r.length>0)||(e=r[r.length-1].event,n=t.event,e.target===n.target&&100>=Math.sqrt(Math.pow(e.clientX-n.clientX,2)+Math.pow(e.clientY-n.clientY,2))&&e.timeStamp-n.timeStamp<=1e3)?(a(t),!0):(s(),!1))},stop:function(){s()}}}(t,function(t){(function(t,e){if(function(t){if(t.some(function(t){return t.getUserActivity().selection}))return!1;for(var e=0;e<t.length-2;e+=1)if(t[e+3-1].event.timeStamp-t[e].event.timeStamp<=1e3)return!0;return!1}(t))return e.addFrustration("rage_click"),t.some(nG)&&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"),nG(t)&&!n&&t.addFrustration("dead_click")}),{isRage:!1}})(t,e).isRage?(t.forEach(function(t){return t.discard()}),e.stop(tx()),e.validate(t.map(function(t){return t.event}))):(e.discard(),t.forEach(function(t){return t.validate()}))})}}function v(){l&&l.stop()}}(t,e,n).actionContexts),{addAction:function(e,n){t.notify(10,Y({savedCommonContext:n},n$(e,r)))},actionContexts:i}}(y,x,b,N=function(t){void 0===t&&(t=500);var e,n=new nl(144e5,4e3);i(rh(),tE());var r=eq(window,["pageshow","focus","blur","visibilitychange","resume","freeze","pagehide"],function(t){t.isTrusted&&i("freeze"===t.type?"frozen":"pagehide"===t.type?t.persisted?"frozen":"terminated":rh(),t.timeStamp)},{capture:!0}).stop;function i(t,r){void 0===r&&(r=tE()),t!==e&&(e=t,n.closeActive(r),n.add({state:e,startTime:r},r))}return{findAll:function(e,r){var i=n.findAll(e,r);if(0!==i.length){for(var a=[],o=Math.max(0,i.length-t),s=i.length-1;s>=o;s--){var u=i[s],c=u.startTime-e;a.push({state:u.state,start:tT(c)})}return a}},isInActivePageStateAt:function(t){var e=n.find(t);return void 0!==e&&"active"===e.state},addPageState:i,stop:function(){r(),n.stop()}}}())).addAction,!function(t,e,n,r,i,a,o,s){(u={}).view=no,u.error=Y({"error.message":"string","error.stack":"string","error.resource.url":"string","error.fingerprint":"string"},ns,no),u.resource=Y({"resource.url":"string"},ns,no),u.action=Y({"action.target.name":"string"},ns,no),u.long_task=Y({},ns,no);var u,c,l=((c={}).error=ne("error",t.eventRateLimiterThreshold,s),c.action=ne("action",t.eventRateLimiterThreshold,s),c),d=function(){var t,e,n="string"==typeof(t=window._DATADOG_SYNTHETICS_PUBLIC_ID||tD("datadog-synthetics-public-id"))?t:void 0,r="string"==typeof(e=window._DATADOG_SYNTHETICS_RESULT_ID||tD("datadog-synthetics-result-id"))?e:void 0;if(n&&r)return{test_id:n,result_id:r,injected:tz()}}(),f=function(){var t,e=null===(t=window.Cypress)||void 0===t?void 0:t.env("traceId");if("string"==typeof e)return{test_execution_id:e}}();e.subscribe(10,function(s){var c=s.startTime,p=s.rawRumEvent,h=s.domainContext,m=s.savedCommonContext,g=s.customerContext,y=r.findView(c),b=i.findUrl(c),_=n.findTrackedSession(c);if(_&&y&&b){var w,S=m||o(),k=a.findActionId(c),T=tl({_dd:{format_version:2,drift:Math.round(tC()-(tO()+performance.now())),session:{plan:_.plan},configuration:{session_sample_rate:t_(t.sessionSampleRate,3),session_replay_sample_rate:t_(t.sessionReplaySampleRate,3)},browser_sdk_version:tB()?"4.45.0":void 0},application:{id:t.applicationId},date:tx(),service:y.service||t.service,version:y.version||t.version,source:"browser",session:{id:_.id,type:d?"synthetics":f?"ci_test":"user"},view:{id:y.id,name:y.name,url:b.url,referrer:b.referrer},action:-1!==["error","resource","long_task"].indexOf(p.type)&&k?{id:k}:void 0,synthetics:d,ci_test:f,display:(v||(v=nr(),nn().subscribe(function(t){v=t}).unsubscribe),{viewport:v})},p);T.context=tl(S.context,g),"has_replay"in T.session||(T.session.has_replay=S.hasReplay),t8(S.user)||(T.usr=S.user),function(t,e,n,r){if(e){var i,a,o,s,c=(i=u[t.type],o=e(a=tc(t),n),J(i).forEac
8h(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=i[r];if(!(na(a=n)&&Object.prototype.hasOwnProperty.call(a,o)))return;n=n[o]}return n}(a,n),o=ts(i);o===r?ni(t,n,tp(i)):"object"===r&&("undefined"===o||"null"===o)&&ni(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?void 0:s.isLimitReached())}(T,t.beforeSend,h,l)&&(t8(T.context)&&delete T.context,e.notify(11,T))}})}(b,y,w,O,I,U=P.actionContexts,E,A),{viewContexts:O,pageStateHistory:N,urlContexts:I,addAction:z,actionContexts:U,stop:function(){O.stop(),N.stop()}}),em=eh.viewContexts,eg=eh.pageStateHistory,eb=eh.urlContexts,e_=eh.actionContexts,ew=eh.addAction;tv=null!==(tf=t.proxy)&&void 0!==tf?tf:t.proxyUrl,tw={session_sample_rate:null!==(th=t.sessionSampleRate)&&void 0!==th?th:t.sampleRate,telemetry_sample_rate:t.telemetrySampleRate,telemetry_configuration_sample_rate:t.telemetryConfigurationSampleRate,use_before_send:!!t.beforeSend,use_cross_site_session_cookie:t.useCrossSiteSessionCookie,use_secure_session_cookie:t.useSecureSessionCookie,use_proxy:void 0!==tv?!!tv:void 0,silent_multiple_init:t.silentMultipleInit,track_session_across_subdomains:t.trackSessionAcrossSubdomains,track_resources:t.trackResources,track_long_task:t.trackLongTasks,allow_fallback_to_local_storage:!!t.allowFallbackToLocalStorage},tq=Y({premium_sample_rate:t.premiumSampleRate,replay_sample_rate:t.replaySampleRate,session_replay_sample_rate:t.sessionReplaySampleRate,trace_sample_rate:null!==(tg=t.traceSampleRate)&&void 0!==tg?tg:t.tracingSampleRate,action_name_attribute:t.actionNameAttribute,use_allowed_tracing_origins:Array.isArray(t.allowedTracingOrigins)&&t.allowedTracingOrigins.length>0,use_allowed_tracing_urls:Array.isArray(t.allowedTracingUrls)&&t.allowedTracingUrls.length>0,selected_tracing_propagators:(tj=new Set,Array.isArray(t.allowedTracingUrls)&&t.allowedTracingUrls.length>0&&t.allowedTracingUrls.forEach(function(t){ex(t)?tj.add("datadog"):"object"===ts(t)&&Array.isArray(t.propagatorTypes)&&t.propagatorTypes.forEach(function(t){return tj.add(t)})}),Array.isArray(t.allowedTracingOrigins)&&t.allowedTracingOrigins.length>0&&tj.add("datadog"),V(tj)),default_privacy_level:t.defaultPrivacyLevel,use_excluded_activity_urls:Array.isArray(t.excludedActivityUrls)&&t.excludedActivityUrls.length>0,track_frustrations:t.trackFrustrations,track_views_manually:t.trackViewsManually,track_user_interactions:null!==(ty=t.trackUserInteractions)&&void 0!==ty?ty:t.trackInteractions},tw),ez.telemetryConfigurationEnabled&&eF({type:eM.configuration,configuration:tq}),function(t,e){t.subscribe(0,function(n){for(var r=0;r<n.length;r++){var i=n[r];if("longtask"!==i.entryType)break;var a=e.findTrackedSession(i.startTime);if(!a||!a.longTaskAllowed)break;var o=tk(i.startTime),s={date:o.timeStamp,long_task:{id:tI(),duration:tT(i.duration)},type:"long_task",_dd:{discarded:!1}};t.notify(10,{rawRumEvent:s,startTime:o.relative,domainContext:{performanceEntry:i.toJSON()}})}})}(t2,ed),t2.subscribe(6,function(t){var n,r,i,a,o,s,u,c,d,f,p,h;t2.notify(10,(a="xhr"===t.type?"xhr":"fetch",s=(o=function(t){if(performance&&"getEntriesByName"in performance){var e=performance.getEntriesByName(t.url,"resource");if(e.length&&"toJSON"in e[0]){var n=e.map(function(t){return t.toJSON()}).filter(eX).filter(function(e){var n,r;return n=t.startClocks.relative,r=nZ({startTime:t.startClocks.relative,duration:t.duration}),e.startTime>=n-1&&nZ(e)<=r+1});if(1===n.length)return n[0]}}}(t))?tk(o.startTime):t.startClocks,u=o?nQ(o):void 0,c=function(t,e){if(t.traceSampled&&t.traceId&&t.spanId)return{_dd:{span_id:t.spanId.toDecimalString(),trace_id:t.traceId.toDecimalString(),rule_psr:n0(e)}}}(t,e),d=n1(ed,s),n=t.duration,f=t3(l.NO_RESOURCE_DURATION_FROZEN_STATE)&&(null===(r=eg.findAll(s.relative,n))||void 0===r?void 0:r.some(function(t){return"frozen"===t.state}))?void 0:tT(n),p=n2(eg,s,null!==(i=null==o?void 0:o.duration)&&void 0!==i?i:t.duration),h=tl({date:s.timeStamp,resource:{id:tI(),type:a,duration:f,method:t.method,status_code:t.status,url:t.url},type:"resource"},c,u,d,p),{startTime:s.relative,rawRumEvent:h,domainContext:{performanceEntry:o&&o,xhr:t.xhr,response:t.response,requestInput:t.input,requestInit:t.init,error:t.error}}))}),t2.subscribe(0,function(t){for(var n=0;n<t.length;n++){var r=t[n];"resource"!==r.entryType||"xmlhttprequest"===r.initiatorType||"fetch"===r.initiatorType||t2.notify(10,function(t,e,n,r){var i=function(t){var e,n=t.name;if(!function(t){try{return!!ev(t)}catch(t){return!1}}(n))return eU('Failed to construct URL for "'.concat(t.name,'"')),"other";for(var r="/"===(e=ev(n).pathname)[0]?e:"/".concat(e),i=0;i<eJ.length;i++){var a=eJ[i],o=a[0];if((0,a[1])(t.initiatorType,r))return o}return"other"}(t),a=nQ(t),o=tk(t.startTime),s=function(t,e){if(t.traceId)return{_dd:{trace_id:t.traceId,rule_psr:n0(e)}}}(t,e),u=n1(n,o),c=n2(r,o,t.duration),l=tl({date:o.timeStamp,resource:{id:tI(),type:i,url:t.name},type:"resource"},s,a,u,c);return{startTime:o.relative,rawRumEvent:l,domainContext:{performanceEntry:t}}}(r,e,ed,eg))}});var eS=(tH=location,t2.subscribe(3,function(t){var r,i,a,o,s,u;return t2.notify(10,(i=n.getReplayStats(t.id),a=ei.findFeatureFlagEvaluations(t.startClocks.relative),o=t3(l.PAGE_STATES),s=eg.findAll(t.startClocks.relative,t.duration),u={_dd:{document_version:t.documentVersion,replay_stats:i,page_states:o?s:void 0},date:t.startClocks.timeStamp,type:"view",view:{action:{count:t.eventCounts.actionCount},frustration:{count:t.eventCounts.frustrationCount},cumulative_layout_shift:t.cumulativeLayoutShift,first_byte:tT(t.timings.firstByte),dom_complete:tT(t.timings.domComplete),dom_content_loaded:tT(t.timings.domContentLoaded),dom_interactive:tT(t.timings.domInteractive),error:{count:t.eventCounts.errorCount},first_contentful_paint:tT(t.timings.firstContentfulPaint),first_input_delay:tT(t.timings.firstInputDelay),first_input_time:tT(t.timings.firstInputTime),is_active:t.isActive,name:t.name,largest_contentful_paint:tT(t.timings.largestContentfulPaint),load_event:tT(t.timings.loadEvent),loading_time:tS(r=tT(t.loadingTime))&&r<0?void 0:r,loading_type:t.loadingType,long_task:{count:t.eventCounts.longTaskCount},resource:{count:t.eventCounts.resourceCount},time_spent:tT(t.duration),in_foreground_periods:!o&&s?function(t,e){for(var n=[],r=0;r<t.length;r++){var i=t[r],a=t[r+1];if("active"===i.state){var o=i.start>=0?i.start:0,s=a?a.start:tT(e);n.push({start:o,duration:s-o})}}return n}(s,t.duration):void 0},feature_flags:a&&!t8(a)?a:void 0,display:t.scrollMetrics?{scroll:{max_depth:t.scrollMetrics.maxDepth,max_depth_scroll_height:t.scrollMetrics.maxDepthScrollHeight,max_depth_scroll_top:t.scrollMetrics.maxDepthScrollTop,max_depth_time:tT(t.scrollMetrics.maxDepthTime)}}:void 0,session:{has_replay:!!i||void 0,is_active:!!t.sessionIsActive&&void 0},privacy:{replay_level:e.defaultPrivacyLevel}},t8(t.customTimings)||(u.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}(t.customTimings,tT)),{rawRumEvent:u,startTime:t.startClocks.relative,domainContext:{location:t.location}}))}),function(t,e,n,r,i,a,o){var s,u=c("initial_load",tR(),o);function c(i,a,o){return function(t,e,n,r,i,a,o){void 0===a&&(a=tA());var s,u,c,d,f,p,h,v,m,g,y,b,_,w,S,k,T,C,x,E,A=tI(),R={},O=0,I=t6(r),N=!0;o&&(C=o.name,x=o.service,E=o.version),t.notify(2,{id:A,name:C,startClocks:a,service:x,version:E});var L=ta(K,3e3,{leading:!1}),D=L.throttled,P=L.cancel,z=(g={},b=(y=function(t,e,n,r,i,a){var o="initial_load"===r,s=!0,u=[];function c(){s||o||!(u.length>0)||a(Math.max.apply(Math,u))}return{stop:nk(nT(t,e,n),function(t){if(s){if(s=!1,t.hadActivity){var e;u.push((e=i.timeStamp,t.end-e))}c()}}
8,void 0).stop,setLoadEvent:function(t){o&&(o=!1,u.push(t),c())}}}(t,e,n,i,h=a,function(t){if(g.loadingTime=t,t3(l.SCROLLMAP)){var e=n4(),n=e.scrollHeight;v={maxDepth:e.scrollDepth,maxDepthScrollHeight:n,maxDepthTime:t,maxDepthScrollTop:e.scrollTop}}D()})).stop,_=y.setLoadEvent,w=function(t,e,n){if(void 0===n&&(n=n4),!t3(l.SCROLLMAP))return{stop:to};var r=0,i=ta(function(){var i=n(),a=i.scrollHeight,o=i.scrollDepth,s=i.scrollTop;if(o>r){var u=tE()-t.relative;e({maxDepth:r=o,maxDepthScrollHeight:a,maxDepthTime:u,maxDepthScrollTop:s})}},1e3,{leading:!1,trailing:!0}),a=ej(window,"scroll",i.throttled,{passive:!0}).stop;return{stop:function(){i.cancel(),a()}}}(h,function(t){v=t},n4).stop,e8("layout-shift")?(g.cumulativeLayoutShift=0,m=(s=function(t){g.cumulativeLayoutShift=t,D()},f=0,d=0,p={update:function(t){void 0===u||t.startTime-c>=1e3||t.startTime-u>=5e3?(u=c=t.startTime,d=t.value):(d+=t.value,c=t.startTime)},value:function(){return d}},{stop:t.subscribe(0,function(t){for(var e=0;e<t.length;e++){var n=t[e];"layout-shift"===n.entryType&&!n.hadRecentInput&&(p.update(n),p.value()>f&&s(t_(f=p.value(),4)))}}).unsubscribe}).stop):m=to,{stop:function(){b(),m(),w()},setLoadEvent:_,viewMetrics:g,getScrollMetrics:function(){return v}}),U=z.setLoadEvent,B=z.stop,F=z.viewMetrics,j=z.getScrollMetrics,q="initial_load"===i?function(t,e,n){var r,i,a,o,s,u,c,l,d,f,p={};function h(t){Y(p,t),n()}var v=(r=function(t){e(t.loadEvent),h(t)},{stop:t.subscribe(0,function(t){for(var e=0;e<t.length;e++){var n=t[e];"navigation"===n.entryType&&r({domComplete:n.domComplete,domContentLoaded:n.domContentLoadedEventEnd,domInteractive:n.domInteractive,loadEvent:n.loadEventEnd,firstByte:n.responseStart>=0&&n.responseStart<=tE()?n.responseStart:void 0})}}).unsubscribe}).stop,m=(i=n5(),{stop:t.subscribe(0,function(t){var e=G(t,function(t){return"paint"===t.entryType&&"first-contentful-paint"===t.name&&t.startTime<i.timeStamp&&t.startTime<6e5});e&&h({firstContentfulPaint:e.startTime})}).unsubscribe}).stop,g=(a=window,o=function(t){h({largestContentfulPaint:t})},s=n5(),u=1/0,c=eq(a,["pointerdown","keydown"],function(t){u=t.timeStamp},{capture:!0,once:!0}).stop,l=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"largest-contentful-paint"===t.entryType&&t.startTime<u&&t.startTime<s.timeStamp&&t.startTime<6e5});e&&o(e.startTime)}).unsubscribe,{stop:function(){c(),l()}}).stop,y=(d=function(t){h({firstInputDelay:t.firstInputDelay,firstInputTime:t.firstInputTime})},f=n5(),{stop:t.subscribe(0,function(t){var e=G(t,function(t){return"first-input"===t.entryType&&t.startTime<f.timeStamp});if(e){var n,r=(n=e.startTime,e.processingStart-n);d({firstInputDelay:r>=0?r:0,firstInputTime:e.startTime})}}).unsubscribe}).stop;function b(){v(),m(),g(),y()}return{stop:b,timings:p,scheduleStop:function(){te(b,3e5)}}}(t,U,D):{scheduleStop:to,timings:{}},H=q.scheduleStop,V=q.timings,$=(k=(S=nS({lifeCycle:t,isChildEvent:function(t){return t.view.id===A},onChange:D})).stop,{scheduleStop:function(){te(k,3e5)},eventCounts:S.eventCounts}),J=$.scheduleStop,W=$.eventCounts,X=tr(K,3e5);function K(){P(),O+=1;var e=void 0===T?tx():T.timeStamp;t.notify(3,Y({customTimings:R,documentVersion:O,id:A,name:C,service:x,version:E,loadingType:i,location:I,startClocks:a,timings:V,duration:e-a.timeStamp,isActive:void 0===T,sessionIsActive:N,eventCounts:W,scrollMetrics:j()},F))}return K(),{name:C,service:x,version:E,end:function(e){var n,r;void 0===e&&(e={}),T||(T=null!==(n=e.endClocks)&&void 0!==n?n:tA(),N=null===(r=e.sessionIsActive)||void 0===r||r,t.notify(4,{endClocks:T}),ti(X),B(),H(),J(),K())},addTiming:function(t,e){if(!T){var n,r=e<31536e6?e:e-a.timeStamp;R[(n=t.replace(/[^a-zA-Z0-9-_.@$]/g,"_"))!==t&&M.warn("Invalid timing name: ".concat(t,", sanitized to: ").concat(n)),n]=r,D()}}}}(e,n,r,t,i,a,o)}return e.subscribe(8,function(){u=c("route_change",void 0,{name:u.name,service:u.service,version:u.version})}),e.subscribe(7,function(){u.end({sessionIsActive:!1})}),e.subscribe(9,function(t){(t.reason===eH.UNLOADING||t.reason===eH.PAGEHIDE)&&u.end()}),a&&(s=i.subscribe(function(t){var e,n,r;e=t.oldLocation,n=t.newLocation,e.pathname===n.pathname&&(r=n.hash.substr(1),document.getElementById(r)||n8(n.hash)===n8(e.hash))||(u.end(),u=c("route_change"))})),{addTiming:function(t,e){void 0===e&&(e=tx()),u.addTiming(t,e)},startView:function(t,e){u.end({endClocks:e}),u=c("route_change",e,t)},stop:function(){null==s||s.unsubscribe(),u.end()}}}(tH,t2,ef,e,ep,!e.trackViewsManually,a)),ek=eS.addTiming,eT=eS.startView,eC=(B=tV=new t9,(q=[L.error].map(function(t){var e;return nX[t]||(nX[t]=e=new t9(function(){var n=D[t];return D[t]=function(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];n.apply(console,r);var a=t1();j(function(){e.notify(function(t,e,n){var r,i,a=t.map(function(t){return"string"==typeof t?tp(t):t instanceof Error?t0(tF(t)):td(tp(t),void 0,2)}).join(" ");if(e===L.error){var o=G(t,function(t){return t instanceof Error});r=o?tQ(tF(o)):void 0,i=tZ(o),a="console error: ".concat(a)}return{api:e,message:a,stack:r,handlingStack:n,fingerprint:i}}(r,t,a))})},function(){D[t]=n}})),nX[t]}),t7.apply(void 0,q)).subscribe(function(t){return B.notify({startClocks:tA(),message:t.message,stack:t.stack,fingerprint:t.fingerprint,source:nt.CONSOLE,handling:"handled",handlingStack:t.handlingStack})}),($=tG=function(t,e){tV.notify(tK({stackTrace:t,originalError:e,startClocks:tA(),nonErrorPrefix:"Uncaught",source:nt.SOURCE,handling:"unhandled"}))},nf(window,"onerror",{before:function(t,e,n,r,i){var a;if(i instanceof Error)a=tF(i);else{var o,s,u,c=("[object String]"===({}).toString.call(t)&&(s=(o=nW.exec(t))[1],u=o[2]),{name:s,message:u});a={name:c.name,message:c.message,stack:[{url:e,column:r,line:n}
8]}}$(a,null!=i?i:t)}})).stop,nf(window,"onunhandledrejection",{before:function(t){var e=t.reason||"Empty reason";tG(tF(e),e)}}).stop,(t$=[nY.cspViolation,nY.intervention],tJ=[],H(t$,nY.cspViolation)&&tJ.push(W=new t9(function(){return ej(document,"securitypolicyviolation",function(t){var e,n;W.notify((e=nY.cspViolation,n="'".concat(t.blockedURI,"' blocked by '").concat(t.effectiveDirective,"' directive"),{type:nY.cspViolation,subtype:t.effectiveDirective,message:"".concat(e,": ").concat(n),stack:nK(t.effectiveDirective,t.originalPolicy?"".concat(n,' of the policy "').concat(tL(t.originalPolicy,100,"..."),'"'):"no policy",t.sourceFile,t.lineNumber,t.columnNumber)}))}).stop})),(tW=t$.filter(function(t){return t!==nY.cspViolation})).length&&tJ.push(X=new t9(function(){if(window.ReportingObserver){var t=F(function(t,e){return t.forEach(function(t){var e,n;X.notify({type:e=t.type,subtype:(n=t.body).id,message:"".concat(e,": ").concat(n.message),stack:nK(n.id,n.message,n.sourceFile,n.lineNumber,n.columnNumber)})})}),e=new window.ReportingObserver(t,{types:tW,buffered:!0});return e.observe(),function(){e.disconnect()}}})),t7.apply(void 0,tJ)).subscribe(function(t){return tV.notify({startClocks:tA(),message:t.message,stack:t.stack,type:t.subtype,source:nt.REPORT,handling:"unhandled"})}),tV.subscribe(function(t){return t2.notify(12,{error:t})}),t2.subscribe(12,function(t){var e,n,r=t.error,i=t.customerContext,a=t.savedCommonContext;t2.notify(10,Y({customerContext:i,savedCommonContext:a},(e={date:r.startClocks.timeStamp,error:{id:tI(),message:r.message,source:r.source,stack:r.stack,handling_stack:r.handlingStack,type:r.type,handling:r.handling,causes:r.causes,source_type:"browser",fingerprint:r.fingerprint},type:"error",view:{in_foreground:eg.isInActivePageStateAt(r.startClocks.relative)}},(n=ei.findFeatureFlagEvaluations(r.startClocks.relative))&&!t8(n)&&(e.feature_flags=n),{rawRumEvent:e,startTime:r.startClocks.relative,domainContext:{error:r.originalError}})))}),{addError:function(t,e){var n=t.error,r=t.handlingStack,i=t.startClocks,a=t.context,o=tK({stackTrace:n instanceof Error?tF(n):void 0,originalError:n,handlingStack:r,startClocks:i,nonErrorPrefix:"Provided",source:nt.CUSTOM,handling:"handled"});t2.notify(12,{customerContext:a,savedCommonContext:e,error:o})}}).addError;tX={clearTracingIfNeeded:eA,traceFetch:function(t){return eR(e,t,ed,function(e){var n;if(t.input instanceof Request&&!(null===(n=t.init)||void 0===n?void 0:n.headers))t.input=new Request(t.input),Object.keys(e).forEach(function(n){t.input.headers.append(n,e[n])});else{t.init=t6(t.init);var r=[];t.init.headers instanceof Headers?t.init.headers.forEach(function(t,e){r.push([e,t])}):Array.isArray(t.init.headers)?t.init.headers.forEach(function(t){r.push(t)}):t.init.headers&&Object.keys(t.init.headers).forEach(function(e){r.push([e,t.init.headers[e]])}),t.init.headers=r.concat(J(e))}})},traceXhr:function(t,n){return eR(e,t,ed,function(t){Object.keys(t).forEach(function(e){n.setRequestHeader(e,t[e])})})}},(m||(m=K=new t9(function(){var t=nf(XMLHttpRequest.prototype,"open",{before:nv}).stop,e=nf(XMLHttpRequest.prototype,"send",{before:function(){nm.call(this,K)}}).stop,n=nf(XMLHttpRequest.prototype,"abort",{before:ng}).stop;return function(){t(),e(),n()}})),m).subscribe(function(t){var n=t;if(eZ(e,n.url))switch(n.state){case"start":tX.traceXhr(n,n.xhr),n.requestIndex=nw(),t2.notify(5,{requestIndex:n.requestIndex,url:n.url});break;case"complete":tX.clearTracingIfNeeded(n),t2.notify(6,{duration:n.duration,method:n.method,requestIndex:n.requestIndex,spanId:n.spanId,startClocks:n.startClocks,status:n.status,traceId:n.traceId,traceSampled:n.traceSampled,type:"xhr",url:n.url,xhr:n.xhr})}}),(g||(g=Z=new t9(function(){if(window.fetch)return nd(window,"fetch",function(t){return function(e,n){var r,i=j(ny,null,[Z,e,n]);return i?(r=t.call(this,i.input,i.init),j(nb,null,[Z,r,i])):r=t.call(this,e,n),r}}).stop})),g).subscribe(function(t){var n,r,i,a=t;if(eZ(e,a.url))switch(a.state){case"start":tX.traceFetch(a),a.requestIndex=nw(),t2.notify(5,{requestIndex:a.requestIndex,url:a.url});break;case"resolve":n=function(t){tX.clearTracingIfNeeded(a),t2.notify(6,{duration:t,method:a.method,requestIndex:a.requestIndex,responseType:a.responseType,spanId:a.spanId,startClocks:a.startClocks,status:a.status,traceId:a.traceId,traceSampled:a.traceSampled,type:"fetch",url:a.url,response:a.response,init:a.init,input:a.input})},(i=a.response&&function(t){try{return t.clone()}catch(t){return}}(a.response))&&i.body?function(t,e,n){var r=t.getReader(),i=[],a=0;function o(){if(r.cancel().catch(to),n.collectStreamBody){if(1===i.length)s=i[0];else{s=new Uint8Array(a);var t,o,s,u=0;
8i.forEach(function(t){s.set(t,u),u+=t.length})}t=s.slice(0,n.bytesLimit),o=s.length>n.bytesLimit}e(void 0,t,o)}(function t(){r.read().then(F(function(e){if(e.done){o();return}n.collectStreamBody&&i.push(e.value),(a+=e.value.length)>n.bytesLimit?o():t()}),F(function(t){return e(t)}))})()}(i.body,function(){var t;n((t=a.startClocks.timeStamp,tx()-t))},{bytesLimit:Number.POSITIVE_INFINITY,collectStreamBody:!1}):n((r=a.startClocks.timeStamp,tx()-r))}}),function(t,e){var n;if(n=function(n){e7(t,e,[n])},eG("interactive",function(){var t,e={entryType:"resource",initiatorType:e$,traceId:function(t){var e,n,r=(e=t.querySelector("meta[name=dd-trace-id]"),n=t.querySelector("meta[name=dd-trace-time]"),e3(e&&e.content,n&&n.content)||function(t){var e=function(t){for(var e=0;e<t.childNodes.length;e+=1){var n=e6(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=e6(r);if(n)return n;if(!eQ(r))break}}(t);if(e)return e3(tN(e,"trace-id"),tN(e,"trace-time"))}(t));if(!(!r||r.traceTime<=tC()-12e4))return r.traceId}(document)};if(e8("navigation")&&performance.getEntriesByType("navigation").length>0)t=Y(performance.getEntriesByType("navigation")[0].toJSON(),e);else{var r=e9();t=Y(r,{decodedBodySize:0,duration:r.responseEnd,name:window.location.href,startTime:0},e)}n(t)}),e4()){var r=performance.getEntries();te(function(){return e7(t,e,r)})}if(window.PerformanceObserver){var i=F(function(n){return e7(t,e,n.getEntries())}),a=["resource","navigation","longtask","paint"],o=["largest-contentful-paint","first-input","layout-shift"];try{o.forEach(function(t){new PerformanceObserver(i).observe({type:t,buffered:!0})})}catch(t){a.push.apply(a,o)}new PerformanceObserver(i).observe({entryTypes:a}),e4()&&"addEventListener"in performance&&ej(performance,"resourcetimingbufferfull",function(){performance.clearResourceTimings()})}e8("navigation")||function(t){function e(){t(Y(e9(),{entryType:"navigation"}))}eG("complete",function(){te(e)})}(function(n){e7(t,e,[n])}),e8("first-input")||function(t){var e=tC(),n=!1,r=eq(window,["click","mousedown","keydown","touchstart","pointerdown"],function(t){if(t.cancelable){var e={entryType:"first-input",processingStart:tE(),startTime:t.timeStamp};"pointerdown"===t.type?eq(window,["pointerup","pointercancel"],function(t){"pointerup"===t.type&&i(e)},{once:!0}):i(e)}},{passive:!0,capture:!0}).stop;function i(i){if(!n){n=!0,r();var a=i.processingStart-i.startTime;a>=0&&a<tC()-e&&t(i)}}}(function(n){e7(t,e,[n])})}(t2,e);var eE=(tY=e.applicationId,{get:function(t){var e=em.findView(t),n=eb.findUrl(t),r=ed.findTrackedSession(t);if(r&&e&&n){var i=e_.findActionId(t);return{application_id:tY,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:ew,addError:eC,addTiming:ek,addFeatureFlagEvaluation:ei.addFeatureFlagEvaluation,startView:eT,lifeCycle:t2,viewContexts:em,session:ed,stopSession:function(){return ed.expire()},getInternalContext:eE.get}},function(t,e){if(void 0===e&&(e=it),tB()||!ir())return{start:to,stop:to,getReplayStats:function(){},onRumStart:to,isRecording:function(){return!1},getSessionReplayLink:function(){}};var n={status:0},r=function(){n={status:1}},i=function(){n={status:0}};return{start:function(){return r()},stop:function(){return i()},getReplayStats:r3,getSessionReplayLink:function(t,e,r){var i,a,o,s,u,c,l,d,f,p,h,v,m;return i=0!==n.status,h=a=e.findTrackedSession(),o=ir()?h?h.sessionReplayAllowed?i?void 0:"replay-not-started":"incorrect-session-plan":"rum-not-tracked":"browser-not-supported",u=(s={viewContext:r.findView(),errorType:o,session:a}).session,c=s.viewContext,l=s.errorType,d=u?u.id:"no-session-id",f=[],void 0!==l&&f.push("error-type=".concat(l)),c&&(f.push("seed=".concat(c.id)),f.push("from=".concat(c.startClocks.timeStamp))),v=t.site,m=t.subdomain||function(t){switch(t.site){case eb:case"datadoghq.eu":return"app";case ey:return"dd";default:return}}(t),p="https://".concat(m?"".concat(m,"."):"").concat(v),"".concat(p).concat("/rum/replay/sessions/".concat(d),"?").concat(f.join("&"))},onRumStart:function(a,o,s,u){a.subscribe(7,function(){(2===n.status||3===n.status)&&(i(),n={status:1})}),a.subscribe(8,function(){1===n.status&&r()}),r=function(){var r=s.findTrackedSession();if(!r||!r.sessionReplayAllowed){n={status:1};return}2!==n.status&&3!==n.status&&(n={status:2},eG("interactive",function(){2===n.status&&e(function(e){if(2===n.status){if(!e){n={status:0};return}n={status:3,stopRecording:t(a,o,s,u,e).stop}}})}))},i=function(){0!==n.status&&(3===n.status&&n.stopRecording(),n={status:0})},1===n.status&&r()},isRecording:function(){return 3===n.status}}}(function(t,e,n,r,i,a){var o,s=a||ra(e.sessionReplayEndpointBuilder,6e4,function(e){t.notify(12,{error:e}),eU("Error reported to customer",{"error.message":e.message})}),u=(o=e.applicationId,function(t,e,n,r){var i={status:0,nextSegmentCreationReason:"init"},a=t.subscribe(2,function(){s("view_change")}).unsubscribe,o=t.subscribe(9,function(t){s(t.reason)}).unsubscribe;function s(t){1===i.status&&(i.segment.flush(t),tn(i.expirationTimeoutId)),i="stop"
8!==t?{status:0,nextSegmentCreationReason:t}:{status:2}}return{addRecord:function(t){switch(i.status){case 0:!function(t,a){var o=e();if(o){var u=new r8(r,o,t,a,function(t){!u.flushReason&&t>6e4&&s("segment_bytes_limit")},function(t,e){var r,i,a,o,s=(r=u.metadata,(i=new FormData).append("segment",new Blob([t],{type:"application/octet-stream"}),"".concat(r.session.id,"-").concat(r.start)),a=JSON.stringify(Y({raw_segment_size:e,compressed_segment_size:t.byteLength},r)),i.append("event",new Blob([a],{type:"application/json"})),{data:i,bytesCount:t.byteLength});(o=u.flushReason,H($(eH),o))?n.sendOnExit(s):n.send(s)});i={status:1,segment:u,expirationTimeoutId:te(function(){s("segment_duration_limit")},3e4)}}}(i.nextSegmentCreationReason,t);break;case 1:i.segment.addRecord(t)}},stop:function(){s("stop"),a(),o()}}}(t,function(){return function(t,e,n){var r=e.findTrackedSession(),i=n.findView();if(r&&i)return{application:{id:t},session:{id:r.id},view:{id:i.id}}}(o,n,r)},s,i)),c=u.addRecord,l=u.stop,d=function(t){var e,n,r,i,a,o,s,u,c,l,d,f,p,h,v,m,g,y,b,_,w,S,k,T,C,x,E,A,R,O,I=t.emit;if(!I)throw Error("emit function is required");var N=(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)}}),L=function(t){I(r_(rg.Mutation,t))},M=function(t){return I(r_(rg.Input,t))},D=r2(t.configuration,{mutationCb:L,inputCb:M}),P=function(e,n){void 0===e&&(e=tx()),void 0===n&&(n={status:0,elementsScrollPositions:N,shadowRootsController:D});var r,i=nr(),a=i.width;I({data:{height:i.height,href:window.location.href,width:a},type:rv.Meta,timestamp:e}),I({data:{has_focus:document.hasFocus()},type:rv.Focus,timestamp:e}),I({data:{node:rV(document,{serializationContext:n,parentNodePrivacyLevel:(r=t.configuration).defaultPrivacyLevel,configuration:r}),initialOffset:{left:n3(),top:n6()}},type:rv.FullSnapshot,timestamp:e}),window.visualViewport&&I({data:rY(window.visualViewport),type:rv.VisualViewport,timestamp:e})};P();var z=(n={lifeCycle:t.lifeCycle,configuration:t.configuration,elementsScrollPositions:N,inputCb:M,mediaInteractionCb:function(t){return I(r_(rg.MediaInteraction,t))},mouseInteractionCb:function(t){return I(t)},mousemoveCb:function(t,e){return I(r_(e,{positions:t}))},mutationCb:L,scrollCb:function(t){return I(r_(rg.Scroll,t))},styleSheetCb:function(t){return I(r_(rg.StyleSheetRule,t))},viewportResizeCb:function(t){return I(r_(rg.ViewportResize,t))},frustrationCb:function(t){return I(t)},focusCb:function(t){return I({data:t,type:rv.Focus,timestamp:tx()})},visualViewportResizeCb:function(t){I({data:t,type:rv.VisualViewport,timestamp:tx()})},shadowRootsController:D},r=new WeakMap,i=1,a={getIdForEvent:function(t){return r.has(t)||r.set(t,i++),r.get(t)}},o=r1(n.mutationCb,n.configuration,n.shadowRootsController,document),s=n.mousemoveCb,u=ta(function(t){var e=rW(t);if(rN(e)){var n=rK(t);if(!n)return;s([{id:rL(e),timeOffset:0,x:n.x,y:n.y}],rJ(t)?rg.TouchMove:rg.MouseMove)}},50,{trailing:!1}).throttled,c=eq(document,["mousemove","touchmove"],u,{capture:!0,passive:!0}).stop,l=n.mouseInteractionCb,d=n.configuration.defaultPrivacyLevel,f=eq(document,Object.keys(rZ),function(t){var e,n=rW(t);if(rC(n,d)!==rw.HIDDEN&&rN(n)){var r=rL(n),i=rZ[t.type];if(i!==ry.Blur&&i!==ry.Focus){var o=rK(t);if(!o)return;e={id:r,type:i,x:o.x,y:o.y}}else e={id:r,type:i};l(Y({id:a.getIdForEvent(t)},r_(rg.MouseInteraction,e)))}},{capture:!0,passive:!0}).stop,p=n.scrollCb,h=n.configuration.defaultPrivacyLevel,v=n.elementsScrollPositions,m=ta(function(t){var e=rW(t);if(e&&rC(e,h)!==rw.HIDDEN&&rN(e)){var n=rL(e),r=e===document?{scrollTop:n6(),scrollLeft:n3()}:{scrollTop:Math.round(e.scrollTop),scrollLeft:Math.round(e.scrollLeft)};v.set(e,r),p({id:n,x:r.scrollLeft,y:r.scrollTop})}},100).throttled,g=ej(document,"scroll",m,{capture:!0,passive:!0}).stop,y=n.viewportResizeCb,b=nn().subscribe(y).unsubscribe,_=rQ(n.inputCb,n.configuration.defaultPrivacyLevel),w=n.mediaInteractionCb,S=n.configuration.defaultPrivacyLevel,k=eq(document,["play","pause"],function(t){var e=rW(t);e&&rC(e,S)!==rw.HIDDEN&&rN(e)&&w({id:rL(e),type:"play"===t.type?rb.Play:rb.Pause})},{capture:!0,passive:!0}).stop,T=function(t){function e(t,e){t&&rN(t.ownerNode)&&e(rL(t.ownerNode))}var n=[nf(CSSStyleSheet.prototype,"insertRule",{before:function(n,r){e(this,function(e){return t({id:e,adds:[{rule:n,index:r}]})})}}),nf(CSSStyleSheet.prototype,"deleteRule",{before:function(n){e(this,function(e){return t({id:e,removes:[{index:n}]})})}})];function r(r){n.push(nf(r.prototype,"insertRule",{before:function(n,r){var i=this;e(this.parentStyleSheet,function(e){var a=r0(i);a&&(a.push(r||0),t({id:e,adds:[{rule:n,index:a}]}))})}}),nf(r.prototype,"deleteRule",{before:function(n){var r=this;e(this.parentStyleSheet,function(e){var i=r0(r);i&&(i.push(n),t({id:e,removes:[{index:i}]}))})}}))}return"undefined"!=typeof CSSGroupingRule?r(CSSGroupingRule):(r(CSSMediaRule),r(CSSSupportsRule)),function(){return n.forEac
8h(function(t){return t.stop()})}}(n.styleSheetCb),C=n.focusCb,x=eq(window,["focus","blur"],function(){C({has_focus:document.hasFocus()})}).stop,E=function(t){var e=window.visualViewport;if(!e)return to;var n=ta(function(){t(rY(e))},200,{trailing:!1}),r=n.throttled,i=n.cancel,a=eq(e,["resize","scroll"],r,{capture:!0,passive:!0}).stop;return function(){a(),i()}}(n.visualViewportResizeCb),A=n.lifeCycle,R=n.frustrationCb,O=A.subscribe(10,function(t){var e,n,r;"action"===t.rawRumEvent.type&&"click"===t.rawRumEvent.action.type&&(null===(n=null===(e=t.rawRumEvent.action.frustration)||void 0===e?void 0:e.type)||void 0===n?void 0:n.length)&&"events"in t.domainContext&&(null===(r=t.domainContext.events)||void 0===r?void 0:r.length)&&R({timestamp:t.rawRumEvent.date,type:rv.FrustrationRecord,data:{frustrationTypes:t.rawRumEvent.action.frustration.type,recordIds:t.domainContext.events.map(function(t){return a.getIdForEvent(t)})}})}).unsubscribe,{flush:function(){o.flush()},stop:function(){o.stop(),c(),f(),g(),b(),_(),k(),T(),x(),E(),O()}}),U=z.stop,B=z.flush;function F(){D.flush(),B()}return{stop:function(){D.stop(),U()},takeSubsequentFullSnapshot:function(t){F(),P(t,{shadowRootsController:D,status:1,elementsScrollPositions:N})},flushMutations:F,shadowRootsController:D}}({emit:c,configuration:e,lifeCycle:t}),f=d.stop,p=d.takeSubsequentFullSnapshot,h=d.flushMutations,v=t.subscribe(4,function(){h(),c({timestamp:tx(),type:rv.ViewEnd})}).unsubscribe,m=t.subscribe(2,function(t){p(t.startClocks.timeStamp)}).unsubscribe;return{stop:function(){v(),m(),f(),l()}}}));o=(i=K())[a="DD_RUM"],i[a]=ii,o&&o.q&&o.q.forEach(function(t){return P(t,"onReady callback threw an error:")()});let ia="e34a8b71-b983-4b31-9061-be9e6b1cdfc5",io="pub6cb0efaf1279d1637d44b41ec66cad83",is="prod";function iu(t){let{Component:e,pageProps:n}=t;return(0,R.jsx)(N.f6,{theme:I.r,children:(0,R.jsx)(e,{...n})})}ia&&io&&is&&(ii.init({applicationId:ia,clientToken:io,site:"datadoghq.com",service:"manifolio",env:is,sessionSampleRate:100,sessionReplaySampleRate:100,trackUserInteractions:!0,trackResources:!0,trackLongTasks:!0,defaultPrivacyLevel:"mask-user-input"}),ii.startSessionReplayRecording()),globalThis.logger=O.Z},8909:function(t,e,n){"use strict";n.d(e,{h:function(){return i.a},r:function(){return a}});var r=n(4538),i=n.n(r);let a={background:"#F5F5F5",border:{main:"#2D0070"},primary:"#002654",primaryLight:"#002674",bodyFont:"Iowan Old Style, Petrona, Apple Garamond, Baskerville, Times New Roman, Times, Source Serif Pro, serif",green:"#0f9889",red:"#db1f00",link:"#002654",breakpoints:{xs:"@media screen and (max-width: ".concat(0,"px)"),sm:"@media screen and (max-width: ".concat(600,"px)"),md:"@media screen and (max-width: ".concat(960,"px)"),lg:"@media screen and (max-width: ".concat(1280,"px)"),xl:"@media screen and (max-width: ".concat(1400,"px)")}}},4538:function(t){t.exports={style:{fontFamily:"'__Petrona_76d460', '__Petrona_Fallback_76d460'",fontStyle:"normal"},className:"__className_76d460"}},1914:function(t,e){},1928:function(t,e,n){"use strict";n.d(e,{Ni:function(){return c},f6:function(){return d}});var r=n(7294),i=n(8679),a=n.n(i);function o(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function s(){return(s=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function u(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}n(1914);var c=(0,r.createContext)(),l={context:c,withTheme:function(t){var e=r.forwardRef(function(e,n){return r.createElement(c.Consumer,null,function(i){return r.createElement(t,s({theme:i,ref:n},e))})});return a()(e,t),e},useTheme:function(){return r.useContext(c)},ThemeProvider:function(t){function e(){for(var e,n=arguments.length,i=Array(n),a=0;a<n;a++)i[a]=arguments[a];return o(u(u(e=t.call.apply(t,[this].concat(i))||this)),"cachedTheme",void 0),o(u(u(e)),"lastOuterTheme",void 0),o(u(u(e)),"lastTheme",void 0),o(u(u(e)),"renderProvider",function(t){var n=e.props.children;return r.createElement(c.Provider,{value:e.getTheme(t)},n)}),e}(n=e).prototype=Object.create(t.prototype),n.prototype.constructor=n,n.__proto__=t;var n,i=e.prototype;return i.getTheme=function(t){if(this.props.theme!==this.lastTheme||t!==this.lastOuterTheme||!this.cachedTheme){if(this.lastOuterTheme=t,this.lastTheme=this.props.theme,"function"==typeof this.lastTheme){var e=this.props.theme;this.cachedTheme=e(t)}else{var n=this.props.theme;this.cachedTheme=t?s({},t,n):n}}return this.cachedTheme},i.render=function(){return this.props.children?r.createElement(c.Consumer,null,this.renderProvider):null},e}(r.Component)},d=(l.withTheme,l.ThemeProvider);l.useTheme}},function(t){var e=function(e){return t(t.s=e)};t.O(0,[774,179],function(){return e(6840),e(387)}),_N_E=t.O()}]);

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.