<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">(()=&gt;{var rl=Object.create;var Us=Object.defineProperty;var ol=Object.getOwnPropertyDescriptor;var il=Object.getOwnPropertyNames;var sl=Object.getPrototypeOf,al=Object.prototype.hasOwnProperty;var cl=(e,t)=&gt;()=&gt;(e&amp;&amp;(t=e(e=0)),t);var Hs=(e,t)=&gt;()=&gt;(t||e((t={exports:{}}).exports,t),t.exports);var ul=(e,t,n,r)=&gt;{if(t&amp;&amp;typeof t=="object"||typeof t=="function")for(let o of il(t))!al.call(e,o)&amp;&amp;o!==n&amp;&amp;Us(e,o,{get:()=&gt;t[o],enumerable:!(r=ol(t,o))||r.enumerable});return e};var ll=(e,t,n)=&gt;(n=e!=null?rl(sl(e)):{},ul(t||!e||!e.__esModule?Us(n,"default",{value:e,enumerable:!0}):n,e));var dl,l=cl(()=&gt;{dl=typeof window&lt;"u"?window:typeof global&lt;"u"?global:typeof self&lt;"u"?self:{};dl.SENTRY_RELEASE={id:"84ff4a847dc55b11cd9b885a374e67c03426ebc3"}});var Vu=Hs(A=&gt;{"use strict";l();var Pn=Symbol.for("react.element"),Vg=Symbol.for("react.portal"),Yg=Symbol.for("react.fragment"),Kg=Symbol.for("react.strict_mode"),Jg=Symbol.for("react.profiler"),Xg=Symbol.for("react.provider"),Qg=Symbol.for("react.context"),Zg=Symbol.for("react.forward_ref"),e_=Symbol.for("react.suspense"),t_=Symbol.for("react.memo"),n_=Symbol.for("react.lazy"),Fu=Symbol.iterator;function r_(e){return e===null||typeof e!="object"?null:(e=Fu&amp;&amp;e[Fu]||e["@@iterator"],typeof e=="function"?e:null)}var Hu={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},$u=Object.assign,Wu={};function Xt(e,t,n){this.props=e,this.context=t,this.refs=Wu,this.updater=n||Hu}Xt.prototype.isReactComponent={};Xt.prototype.setState=function(e,t){if(typeof e!="object"&amp;&amp;typeof e!="function"&amp;&amp;e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};Xt.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function ju(){}ju.prototype=Xt.prototype;function Ms(e,t,n){this.props=e,this.context=t,this.refs=Wu,this.updater=n||Hu}var Os=Ms.prototype=new ju;Os.constructor=Ms;$u(Os,Xt.prototype);Os.isPureReactComponent=!0;var Bu=Array.isArray,zu=Object.prototype.hasOwnProperty,As={current:null},Gu={key:!0,ref:!0,__self:!0,__source:!0};function qu(e,t,n){var r,o={},i=null,s=null;if(t!=null)for(r in t.ref!==void 0&amp;&amp;(s=t.ref),t.key!==void 0&amp;&amp;(i=""+t.key),t)zu.call(t,r)&amp;&amp;!Gu.hasOwnProperty(r)&amp;&amp;(o[r]=t[r]);var a=arguments.length-2;if(a===1)o.children=n;else if(1&lt;a){for(var c=Array(a),u=0;u&lt;a;u++)c[u]=arguments[u+2];o.children=c}if(e&amp;&amp;e.defaultProps)for(r in a=e.defaultProps,a)o[r]===void 0&amp;&amp;(o[r]=a[r]);return{$$typeof:Pn,type:e,key:i,ref:s,props:o,_owner:As.current}}function o_(e,t){return{$$typeof:Pn,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function Ns(e){return typeof e=="object"&amp;&amp;e!==null&amp;&amp;e.$$typeof===Pn}function i_(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var Uu=/\/+/g;function Rs(e,t){return typeof e=="object"&amp;&amp;e!==null&amp;&amp;e.key!=null?i_(""+e.key):t.toString(36)}function fo(e,t,n,r,o){var i=typeof e;(i==="undefined"||i==="boolean")&amp;&amp;(e=null);var s=!1;if(e===null)s=!0;else switch(i){case"string":case"number":s=!0;break;case"object":switch(e.$$typeof){case Pn:case Vg:s=!0}}if(s)return s=e,o=o(s),e=r===""?"."+Rs(s,0):r,Bu(o)?(n="",e!=null&amp;&amp;(n=e.replace(Uu,"$&amp;/")+"/"),fo(o,t,n,"",function(u){return u})):o!=null&amp;&amp;(Ns(o)&amp;&amp;(o=o_(o,n+(!o.key||s&amp;&amp;s.key===o.key?"":(""+o.key).replace(Uu,"$&amp;/")+"/")+e)),t.push(o)),1;if(s=0,r=r===""?".":r+":",Bu(e))for(var a=0;a&lt;e.length;a++){i=e[a];var c=r+Rs(i,a);s+=fo(i,t,n,c,o)}else if(c=r_(e),typeof c=="function")for(e=c.call(e),a=0;!(i=e.next()).done;)i=i.value,c=r+Rs(i,a++),s+=fo(i,t,n,c,o);else if(i==="object")throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return s}function lo(e,t,n){if(e==null)return e;var r=[],o=0;return fo(e,r,"","",function(i){return t.call(n,i,o++)}),r}function s_(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(n){(e._status===0||e._status===-1)&amp;&amp;(e._status=1,e._result=n)},function(n){(e._status===0||e._status===-1)&amp;&amp;(e._status=2,e._result=n)}),e._status===-1&amp;&amp;(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var me={current:null},po={transition:null},a_={ReactCurrentDispatcher:me,ReactCurrentBatchConfig:po,ReactCurrentOwner:As};A.Children={map:lo,forEach:function(e,t,n){lo(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return lo(e,function(){t++}),t},toArray:function(e){return lo(e,function(t){return t})||[]},only:function(e){if(!Ns(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};A.Component=Xt;A.Fragment=Yg;A.Profiler=Jg;A.PureComponent=Ms;A.StrictMode=Kg;A.Suspense=e_;A.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=a_;A.cloneElement=function(e,t,n){if(e==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var r=$u({},e.props),o=e.key,i=e.ref,s=e._owner;if(t!=null){if(t.ref!==void 0&amp;&amp;(i=t.ref,s=As.current),t.key!==void 0&amp;&amp;(o=""+t.key),e.type&amp;&amp;e.type.defaultProps)var a=e.type.defaultProps;for(c in t)zu.call(t,c)&amp;&amp;!Gu.hasOwnProperty(c)&amp;&amp;(r[c]=t[c]===void 0&amp;&amp;a!==void 0?a[c]:t[c])}var c=arguments.length-2;if(c===1)r.children=n;else if(1&lt;c){a=Array(c);for(var u=0;u&lt;c;u++)a[u]=arguments[u+2];r.children=a}return{$$typeof:Pn,type:e.type,key:o,ref:i,props:r,_owner:s}};A.createContext=function(e){return e={$$typeof:Qg,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:Xg,_context:e},e.Consumer=e};A.createElement=qu;A.createFactory=function(e){var t=qu.bind(null,e);return t.type=e,t};A.createRef=function(){return{current:null}};A.forwardRef=function(e){return{$$typeof:Zg,render:e}};A.isValidElement=Ns;A.lazy=function(e){return{$$typeof:n_,_payload:{_status:-1,_result:e},_init:s_}};A.memo=function(e,t){return{$$typeof:t_,type:e,compare:t===void 0?null:t}};A.startTransition=function(e){var t=po.transition;po.transition={};try{e()}finally{po.transition=t}};A.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")};A.useCallback=function(e,t){return me.current.useCallback(e,t)};A.useContext=function(e){return me.current.useContext(e)};A.useDebugValue=function(){};A.useDeferredValue=function(e){return me.current.useDeferredValue(e)};A.useEffect=function(e,t){return me.current.useEffect(e,t)};A.useId=function(){return me.current.useId()};A.useImperativeHandle=function(e,t,n){return me.current.useImperativeHandle(e,t,n)};A.useInsertionEffect=function(e,t){return me.current.useInsertionEffect(e,t)};A.useLayoutEffect=function(e,t){return me.current.useLayoutEffect(e,t)};A.useMemo=function(e,t){return me.current.useMemo(e,t)};A.useReducer=function(e,t,n){return me.current.useReducer(e,t,n)};A.useRef=function(e){return me.current.useRef(e)};A.useState=function(e){return me.current.useState(e)};A.useSyncExternalStore=function(e,t,n){return me.current.useSyncExternalStore(e,t,n)};A.useTransition=function(){return me.current.useTransition()};A.version="18.2.0"});var Ku=Hs((KC,Yu)=&gt;{"use strict";l();Yu.exports=Vu()});l();l();mt=typeof window&lt;"u"?window:typeof global&lt;"u"?global:typeof self&lt;"u"?self:{},mt._sentryModuleMetadata=mt._sentryModuleMetadata||{},mt._sentryModuleMetadata[new mt.Error().stack]=Object.assign({},mt._sentryModuleMetadata[new mt.Error().stack],{"_sentryBundlerPluginAppKey:roh-js-app":!0});var mt;l();l();l();l();l();l();var D=typeof __SENTRY_DEBUG__&gt;"u"||__SENTRY_DEBUG__;l();l();var I=globalThis;l();l();var ve=typeof __SENTRY_DEBUG__&gt;"u"||__SENTRY_DEBUG__;l();l();l();var Ae="9.6.0";function Ge(){return ht(I),I}function ht(e){let t=e.__SENTRY__=e.__SENTRY__||{};return t.version=t.version||Ae,t[Ae]=t[Ae]||{}}function gt(e,t,n=I){let r=n.__SENTRY__=n.__SENTRY__||{},o=r[Ae]=r[Ae]||{};return o[e]||(o[e]=t())}var fl="Sentry Logger ",Zt=["debug","info","warn","error","log","assert","trace"],xt={};function he(e){if(!("console"in I))return e();let t=I.console,n={},r=Object.keys(xt);r.forEach(o=&gt;{let i=xt[o];n[o]=t[o],t[o]=i});try{return e()}finally{r.forEach(o=&gt;{t[o]=n[o]})}}function pl(){let e=!1,t={enable:()=&gt;{e=!0},disable:()=&gt;{e=!1},isEnabled:()=&gt;e};return ve?Zt.forEach(n=&gt;{t[n]=(...r)=&gt;{e&amp;&amp;he(()=&gt;{I.console[n](`${fl}[${n}]:`,...r)})}}):Zt.forEach(n=&gt;{t[n]=()=&gt;{}}),t}var g=gt("logger",pl);l();var Ne="?",$s=/\(error: (.*)\)/,Ws=/captureMessage|captureException/;function $n(...e){let t=e.sort((n,r)=&gt;n[0]-r[0]).map(n=&gt;n[1]);return(n,r=0,o=0)=&gt;{let i=[],s=n.split(`
`);for(let a=r;a&lt;s.length;a++){let c=s[a];if(c.length&gt;1024)continue;let u=$s.test(c)?c.replace($s,"$1"):c;if(!u.match(/\S*Error: /)){for(let f of t){let d=f(u);if(d){i.push(d);break}}if(i.length&gt;=50+o)break}}return js(i.slice(o))}}function wo(e){return Array.isArray(e)?$n(...e):e}function js(e){if(!e.length)return[];let t=Array.from(e);return/sentryWrapped/.test(Hn(t).function||"")&amp;&amp;t.pop(),t.reverse(),Ws.test(Hn(t).function||"")&amp;&amp;(t.pop(),Ws.test(Hn(t).function||"")&amp;&amp;t.pop()),t.slice(0,50).map(n=&gt;({...n,filename:n.filename||Hn(t).filename,function:n.function||Ne}))}function Hn(e){return e[e.length-1]||{}}var vo="&lt;anonymous&gt;";function ge(e){try{return!e||typeof e!="function"?vo:e.name||vo}catch{return vo}}function Wn(e){let t=e.exception;if(t){let n=[];try{return t.values.forEach(r=&gt;{r.stacktrace.frames&amp;&amp;n.push(...r.stacktrace.frames)}),n}catch{return}}}var jn={},zs={};function se(e,t){jn[e]=jn[e]||[],jn[e].push(t)}function ae(e,t){if(!zs[e]){zs[e]=!0;try{t()}catch(n){ve&amp;&amp;g.error(`Error while instrumenting ${e}`,n)}}}function ee(e,t){let n=e&amp;&amp;jn[e];if(n)for(let r of n)try{r(t)}catch(o){ve&amp;&amp;g.error(`Error while triggering instrumentation handler.
Type: ${e}
Name: ${ge(r)}
Error:`,o)}}var xo=null;function ko(e){let t="error";se(t,e),ae(t,ml)}function ml(){xo=I.onerror,I.onerror=function(e,t,n,r,o){return ee("error",{column:r,error:o,line:n,msg:e,url:t}),xo?xo.apply(this,arguments):!1},I.onerror.__SENTRY_INSTRUMENTED__=!0}l();var Co=null;function Ro(e){let t="unhandledrejection";se(t,e),ae(t,hl)}function hl(){Co=I.onunhandledrejection,I.onunhandledrejection=function(e){return ee("unhandledrejection",e),Co?Co.apply(this,arguments):!0},I.onunhandledrejection.__SENTRY_INSTRUMENTED__=!0}l();l();l();l();l();l();l();l();l();var Gs=Object.prototype.toString;function _t(e){switch(Gs.call(e)){case"[object Error]":case"[object Exception]":case"[object DOMException]":case"[object WebAssembly.Exception]":return!0;default:return De(e,Error)}}function kt(e,t){return Gs.call(e)===`[object ${t}]`}function zn(e){return kt(e,"ErrorEvent")}function Gn(e){return kt(e,"DOMError")}function Mo(e){return kt(e,"DOMException")}function ce(e){return kt(e,"String")}function Ct(e){return typeof e=="object"&amp;&amp;e!==null&amp;&amp;"__sentry_template_string__"in e&amp;&amp;"__sentry_template_values__"in e}function yt(e){return e===null||Ct(e)||typeof e!="object"&amp;&amp;typeof e!="function"}function Ce(e){return kt(e,"Object")}function St(e){return typeof Event&lt;"u"&amp;&amp;De(e,Event)}function Oo(e){return typeof Element&lt;"u"&amp;&amp;De(e,Element)}function Ao(e){return kt(e,"RegExp")}function qe(e){return!!(e?.then&amp;&amp;typeof e.then=="function")}function No(e){return Ce(e)&amp;&amp;"nativeEvent"in e&amp;&amp;"preventDefault"in e&amp;&amp;"stopPropagation"in e}function De(e,t){try{return e instanceof t}catch{return!1}}function en(e){return!!(typeof e=="object"&amp;&amp;e!==null&amp;&amp;(e.__isVue||e._isVue))}var Do=I,gl=80;function tt(e,t={}){if(!e)return"&lt;unknown&gt;";try{let n=e,r=5,o=[],i=0,s=0,a=" &gt; ",c=a.length,u,f=Array.isArray(t)?t:t.keyAttrs,d=!Array.isArray(t)&amp;&amp;t.maxStringLength||gl;for(;n&amp;&amp;i++&lt;r&amp;&amp;(u=_l(n,f),!(u==="html"||i&gt;1&amp;&amp;s+o.length*c+u.length&gt;=d));)o.push(u),s+=u.length,n=n.parentNode;return o.reverse().join(a)}catch{return"&lt;unknown&gt;"}}function _l(e,t){let n=e,r=[];if(!n?.tagName)return"";if(Do.HTMLElement&amp;&amp;n instanceof HTMLElement&amp;&amp;n.dataset){if(n.dataset.sentryComponent)return n.dataset.sentryComponent;if(n.dataset.sentryElement)return n.dataset.sentryElement}r.push(n.tagName.toLowerCase());let o=t?.length?t.filter(s=&gt;n.getAttribute(s)).map(s=&gt;[s,n.getAttribute(s)]):null;if(o?.length)o.forEach(s=&gt;{r.push(`[${s[0]}="${s[1]}"]`)});else{n.id&amp;&amp;r.push(`#${n.id}`);let s=n.className;if(s&amp;&amp;ce(s)){let a=s.split(/\s+/);for(let c of a)r.push(`.${c}`)}}let i=["aria-label","type","name","title","alt"];for(let s of i){let a=n.getAttribute(s);a&amp;&amp;r.push(`[${s}="${a}"]`)}return r.join("")}function Ve(){try{return Do.document.location.href}catch{return""}}function Lo(e){if(!Do.HTMLElement)return null;let t=e,n=5;for(let r=0;r&lt;n;r++){if(!t)return null;if(t instanceof HTMLElement){if(t.dataset.sentryComponent)return t.dataset.sentryComponent;if(t.dataset.sentryElement)return t.dataset.sentryElement}t=t.parentNode}return null}l();function Le(e,t=0){return typeof e!="string"||t===0||e.length&lt;=t?e:`${e.slice(0,t)}...`}function qn(e,t){if(!Array.isArray(e))return"";let n=[];for(let r=0;r&lt;e.length;r++){let o=e[r];try{en(o)?n.push("[VueViewModel]"):n.push(String(o))}catch{n.push("[value cannot be serialized]")}}return n.join(t)}function qs(e,t,n=!1){return ce(e)?Ao(t)?t.test(e):ce(t)?n?e===t:e.includes(t):!1:!1}function nt(e,t=[],n=!1){return t.some(r=&gt;qs(e,r,n))}function X(e,t,n){if(!(t in e))return;let r=e[t];if(typeof r!="function")return;let o=n(r);typeof o=="function"&amp;&amp;Vn(o,r);try{e[t]=o}catch{ve&amp;&amp;g.log(`Failed to replace method "${t}" in object`,e)}}function ue(e,t,n){try{Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0})}catch{ve&amp;&amp;g.log(`Failed to add non-enumerable property "${t}" to object`,e)}}function Vn(e,t){try{let n=t.prototype||{};e.prototype=t.prototype=n,ue(e,"__sentry_original__",t)}catch{}}function Et(e){return e.__sentry_original__}function Yn(e){if(_t(e))return{message:e.message,name:e.name,stack:e.stack,...Ys(e)};if(St(e)){let t={type:e.type,target:Vs(e.target),currentTarget:Vs(e.currentTarget),...Ys(e)};return typeof CustomEvent&lt;"u"&amp;&amp;De(e,CustomEvent)&amp;&amp;(t.detail=e.detail),t}else return e}function Vs(e){try{return Oo(e)?tt(e):Object.prototype.toString.call(e)}catch{return"&lt;unknown&gt;"}}function Ys(e){if(typeof e=="object"&amp;&amp;e!==null){let t={};for(let n in e)Object.prototype.hasOwnProperty.call(e,n)&amp;&amp;(t[n]=e[n]);return t}else return{}}function Fo(e,t=40){let n=Object.keys(Yn(e));n.sort();let r=n[0];if(!r)return"[object has no keys]";if(r.length&gt;=t)return Le(r,t);for(let o=n.length;o&gt;0;o--){let i=n.slice(0,o).join(", ");if(!(i.length&gt;t))return o===n.length?i:Le(i,t)}return""}function V(e){return Po(e,new Map)}function Po(e,t){if(yl(e)){let n=t.get(e);if(n!==void 0)return n;let r={};t.set(e,r);for(let o of Object.getOwnPropertyNames(e))typeof e[o]&lt;"u"&amp;&amp;(r[o]=Po(e[o],t));return r}if(Array.isArray(e)){let n=t.get(e);if(n!==void 0)return n;let r=[];return t.set(e,r),e.forEach(o=&gt;{r.push(Po(o,t))}),r}return e}function yl(e){if(!Ce(e))return!1;try{let t=Object.getPrototypeOf(e).constructor.name;return!t||t==="Object"}catch{return!0}}l();var Ks=1e3;function Pe(){return Date.now()/Ks}function Sl(){let{performance:e}=I;if(!e?.now)return Pe;let t=Date.now()-e.now(),n=e.timeOrigin==null?t:e.timeOrigin;return()=&gt;(n+e.now())/Ks}var _e=Sl(),Bo;function El(){let{performance:e}=I;if(!e?.now)return[void 0,"none"];let t=3600*1e3,n=e.now(),r=Date.now(),o=e.timeOrigin?Math.abs(e.timeOrigin+n-r):t,i=o&lt;t,s=e.timing?.navigationStart,c=typeof s=="number"?Math.abs(s+n-r):t,u=c&lt;t;return i||u?o&lt;=c?[e.timeOrigin,"timeOrigin"]:[s,"navigationStart"]:[r,"dateNow"]}function Uo(){return Bo||(Bo=El()),Bo[0]}l();function Il(){let e=I;return e.crypto||e.msCrypto}function Q(e=Il()){let t=()=&gt;Math.random()*16;try{if(e?.randomUUID)return e.randomUUID().replace(/-/g,"");e?.getRandomValues&amp;&amp;(t=()=&gt;{let n=new Uint8Array(1);return e.getRandomValues(n),n[0]})}catch{}return("10000000100040008000"+1e11).replace(/[018]/g,n=&gt;(n^(t()&amp;15)&gt;&gt;n/4).toString(16))}function Js(e){return e.exception?.values?.[0]}function Re(e){let{message:t,event_id:n}=e;if(t)return t;let r=Js(e);return r?r.type&amp;&amp;r.value?`${r.type}: ${r.value}`:r.type||r.value||n||"&lt;unknown&gt;":n||"&lt;unknown&gt;"}function Rt(e,t,n){let r=e.exception=e.exception||{},o=r.values=r.values||[],i=o[0]=o[0]||{};i.value||(i.value=t||""),i.type||(i.type=n||"Error")}function Fe(e,t){let n=Js(e);if(!n)return;let r={type:"generic",handled:!0},o=n.mechanism;if(n.mechanism={...r,...o,...t},t&amp;&amp;"data"in t){let i={...o?.data,...t.data};n.mechanism.data=i}}function Kn(e){if(Tl(e))return!0;try{ue(e,"__sentry_captured__",!0)}catch{}return!1}function Tl(e){try{return e.__sentry_captured__}catch{}}l();var Ye;(function(e){e[e.PENDING=0]="PENDING";let n=1;e[e.RESOLVED=n]="RESOLVED";let r=2;e[e.REJECTED=r]="REJECTED"})(Ye||(Ye={}));function le(e){return new Me(t=&gt;{t(e)})}function rt(e){return new Me((t,n)=&gt;{n(e)})}var Me=class e{constructor(t){this._state=Ye.PENDING,this._handlers=[],this._runExecutor(t)}then(t,n){return new e((r,o)=&gt;{this._handlers.push([!1,i=&gt;{if(!t)r(i);else try{r(t(i))}catch(s){o(s)}},i=&gt;{if(!n)o(i);else try{r(n(i))}catch(s){o(s)}}]),this._executeHandlers()})}catch(t){return this.then(n=&gt;n,t)}finally(t){return new e((n,r)=&gt;{let o,i;return this.then(s=&gt;{i=!1,o=s,t&amp;&amp;t()},s=&gt;{i=!0,o=s,t&amp;&amp;t()}).then(()=&gt;{if(i){r(o);return}n(o)})})}_executeHandlers(){if(this._state===Ye.PENDING)return;let t=this._handlers.slice();this._handlers=[],t.forEach(n=&gt;{n[0]||(this._state===Ye.RESOLVED&amp;&amp;n[1](this._value),this._state===Ye.REJECTED&amp;&amp;n[2](this._value),n[0]=!0)})}_runExecutor(t){let n=(i,s)=&gt;{if(this._state===Ye.PENDING){if(qe(s)){s.then(r,o);return}this._state=i,this._value=s,this._executeHandlers()}},r=i=&gt;{n(Ye.RESOLVED,i)},o=i=&gt;{n(Ye.REJECTED,i)};try{t(r,o)}catch(i){o(i)}}};function Xs(e){let t=_e(),n={sid:Q(),init:!0,timestamp:t,started:t,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=&gt;bl(n)};return e&amp;&amp;Ke(n,e),n}function Ke(e,t={}){if(t.user&amp;&amp;(!e.ipAddress&amp;&amp;t.user.ip_address&amp;&amp;(e.ipAddress=t.user.ip_address),!e.did&amp;&amp;!t.did&amp;&amp;(e.did=t.user.id||t.user.email||t.user.username)),e.timestamp=t.timestamp||_e(),t.abnormal_mechanism&amp;&amp;(e.abnormal_mechanism=t.abnormal_mechanism),t.ignoreDuration&amp;&amp;(e.ignoreDuration=t.ignoreDuration),t.sid&amp;&amp;(e.sid=t.sid.length===32?t.sid:Q()),t.init!==void 0&amp;&amp;(e.init=t.init),!e.did&amp;&amp;t.did&amp;&amp;(e.did=`${t.did}`),typeof t.started=="number"&amp;&amp;(e.started=t.started),e.ignoreDuration)e.duration=void 0;else if(typeof t.duration=="number")e.duration=t.duration;else{let n=e.timestamp-e.started;e.duration=n&gt;=0?n:0}t.release&amp;&amp;(e.release=t.release),t.environment&amp;&amp;(e.environment=t.environment),!e.ipAddress&amp;&amp;t.ipAddress&amp;&amp;(e.ipAddress=t.ipAddress),!e.userAgent&amp;&amp;t.userAgent&amp;&amp;(e.userAgent=t.userAgent),typeof t.errors=="number"&amp;&amp;(e.errors=t.errors),t.status&amp;&amp;(e.status=t.status)}function Qs(e,t){let n={};t?n={status:t}:e.status==="ok"&amp;&amp;(n={status:"exited"}),Ke(e,n)}function bl(e){return V({sid:`${e.sid}`,init:e.init,started:new Date(e.started*1e3).toISOString(),timestamp:new Date(e.timestamp*1e3).toISOString(),status:e.status,errors:e.errors,did:typeof e.did=="number"||typeof e.did=="string"?`${e.did}`:void 0,duration:e.duration,abnormal_mechanism:e.abnormal_mechanism,attrs:{release:e.release,environment:e.environment,ip_address:e.ipAddress,user_agent:e.userAgent}})}l();function Ho(){return Q()}function Jn(){return Q().substring(16)}l();function ot(e,t,n=2){if(!t||typeof t!="object"||n&lt;=0)return t;if(e&amp;&amp;Object.keys(t).length===0)return e;let r={...e};for(let o in t)Object.prototype.hasOwnProperty.call(t,o)&amp;&amp;(r[o]=ot(r[o],t[o],n-1));return r}l();var $o="_sentrySpan";function Wo(e,t){t?ue(e,$o,t):delete e[$o]}function tn(e){return e[$o]}var vl=100,ye=class e{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._extra={},this._contexts={},this._sdkProcessingMetadata={},this._propagationContext={traceId:Ho(),sampleRand:Math.random()}}clone(){let t=new e;return t._breadcrumbs=[...this._breadcrumbs],t._tags={...this._tags},t._extra={...this._extra},t._contexts={...this._contexts},this._contexts.flags&amp;&amp;(t._contexts.flags={values:[...this._contexts.flags.values]}),t._user=this._user,t._level=this._level,t._session=this._session,t._transactionName=this._transactionName,t._fingerprint=this._fingerprint,t._eventProcessors=[...this._eventProcessors],t._attachments=[...this._attachments],t._sdkProcessingMetadata={...this._sdkProcessingMetadata},t._propagationContext={...this._propagationContext},t._client=this._client,t._lastEventId=this._lastEventId,Wo(t,tn(this)),t}setClient(t){this._client=t}setLastEventId(t){this._lastEventId=t}getClient(){return this._client}lastEventId(){return this._lastEventId}addScopeListener(t){this._scopeListeners.push(t)}addEventProcessor(t){return this._eventProcessors.push(t),this}setUser(t){return this._user=t||{email:void 0,id:void 0,ip_address:void 0,username:void 0},this._session&amp;&amp;Ke(this._session,{user:t}),this._notifyScopeListeners(),this}getUser(){return this._user}setTags(t){return this._tags={...this._tags,...t},this._notifyScopeListeners(),this}setTag(t,n){return this._tags={...this._tags,[t]:n},this._notifyScopeListeners(),this}setExtras(t){return this._extra={...this._extra,...t},this._notifyScopeListeners(),this}setExtra(t,n){return this._extra={...this._extra,[t]:n},this._notifyScopeListeners(),this}setFingerprint(t){return this._fingerprint=t,this._notifyScopeListeners(),this}setLevel(t){return this._level=t,this._notifyScopeListeners(),this}setTransactionName(t){return this._transactionName=t,this._notifyScopeListeners(),this}setContext(t,n){return n===null?delete this._contexts[t]:this._contexts[t]=n,this._notifyScopeListeners(),this}setSession(t){return t?this._session=t:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(t){if(!t)return this;let n=typeof t=="function"?t(this):t,r=n instanceof e?n.getScopeData():Ce(n)?t:void 0,{tags:o,extra:i,user:s,contexts:a,level:c,fingerprint:u=[],propagationContext:f}=r||{};return this._tags={...this._tags,...o},this._extra={...this._extra,...i},this._contexts={...this._contexts,...a},s&amp;&amp;Object.keys(s).length&amp;&amp;(this._user=s),c&amp;&amp;(this._level=c),u.length&amp;&amp;(this._fingerprint=u),f&amp;&amp;(this._propagationContext=f),this}clear(){return this._breadcrumbs=[],this._tags={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._session=void 0,Wo(this,void 0),this._attachments=[],this.setPropagationContext({traceId:Ho(),sampleRand:Math.random()}),this._notifyScopeListeners(),this}addBreadcrumb(t,n){let r=typeof n=="number"?n:vl;if(r&lt;=0)return this;let o={timestamp:Pe(),...t};return this._breadcrumbs.push(o),this._breadcrumbs.length&gt;r&amp;&amp;(this._breadcrumbs=this._breadcrumbs.slice(-r),this._client?.recordDroppedEvent("buffer_overflow","log_item")),this._notifyScopeListeners(),this}getLastBreadcrumb(){return this._breadcrumbs[this._breadcrumbs.length-1]}clearBreadcrumbs(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}addAttachment(t){return this._attachments.push(t),this}clearAttachments(){return this._attachments=[],this}getScopeData(){return{breadcrumbs:this._breadcrumbs,attachments:this._attachments,contexts:this._contexts,tags:this._tags,extra:this._extra,user:this._user,level:this._level,fingerprint:this._fingerprint||[],eventProcessors:this._eventProcessors,propagationContext:this._propagationContext,sdkProcessingMetadata:this._sdkProcessingMetadata,transactionName:this._transactionName,span:tn(this)}}setSDKProcessingMetadata(t){return this._sdkProcessingMetadata=ot(this._sdkProcessingMetadata,t,2),this}setPropagationContext(t){return this._propagationContext=t,this}getPropagationContext(){return this._propagationContext}captureException(t,n){let r=n?.event_id||Q();if(!this._client)return g.warn("No client configured on scope - will not capture exception!"),r;let o=new Error("Sentry syntheticException");return this._client.captureException(t,{originalException:t,syntheticException:o,...n,event_id:r},this),r}captureMessage(t,n,r){let o=r?.event_id||Q();if(!this._client)return g.warn("No client configured on scope - will not capture message!"),o;let i=new Error(t);return this._client.captureMessage(t,n,{originalException:t,syntheticException:i,...r,event_id:o},this),o}captureEvent(t,n){let r=n?.event_id||Q();return this._client?(this._client.captureEvent(t,{...n,event_id:r},this),r):(g.warn("No client configured on scope - will not capture event!"),r)}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach(t=&gt;{t(this)}),this._notifyingListeners=!1)}};function Zs(){return gt("defaultCurrentScope",()=&gt;new ye)}function ea(){return gt("defaultIsolationScope",()=&gt;new ye)}var jo=class{constructor(t,n){let r;t?r=t:r=new ye;let o;n?o=n:o=new ye,this._stack=[{scope:r}],this._isolationScope=o}withScope(t){let n=this._pushScope(),r;try{r=t(n)}catch(o){throw this._popScope(),o}return qe(r)?r.then(o=&gt;(this._popScope(),o),o=&gt;{throw this._popScope(),o}):(this._popScope(),r)}getClient(){return this.getStackTop().client}getScope(){return this.getStackTop().scope}getIsolationScope(){return this._isolationScope}getStackTop(){return this._stack[this._stack.length-1]}_pushScope(){let t=this.getScope().clone();return this._stack.push({client:this.getClient(),scope:t}),t}_popScope(){return this._stack.length&lt;=1?!1:!!this._stack.pop()}};function Mt(){let e=Ge(),t=ht(e);return t.stack=t.stack||new jo(Zs(),ea())}function wl(e){return Mt().withScope(e)}function xl(e,t){let n=Mt();return n.withScope(()=&gt;(n.getStackTop().scope=e,t(e)))}function ta(e){return Mt().withScope(()=&gt;e(Mt().getIsolationScope()))}function na(){return{withIsolationScope:ta,withScope:wl,withSetScope:xl,withSetIsolationScope:(e,t)=&gt;ta(t),getCurrentScope:()=&gt;Mt().getScope(),getIsolationScope:()=&gt;Mt().getIsolationScope()}}function Ot(e){let t=ht(e);return t.acs?t.acs:na()}l();function te(){let e=Ge();return Ot(e).getCurrentScope()}function Se(){let e=Ge();return Ot(e).getIsolationScope()}function Xn(){return gt("globalScope",()=&gt;new ye)}function Qn(...e){let t=Ge(),n=Ot(t);if(e.length===2){let[r,o]=e;return r?n.withSetScope(r,o):n.withScope(o)}return n.withScope(e[0])}function U(){return te().getClient()}function zo(e){let t=e.getPropagationContext(),{traceId:n,parentSpanId:r,propagationSpanId:o}=t;return V({trace_id:n,span_id:o||Jn(),parent_span_id:r})}l();var It="sentry.source",Zn="sentry.sample_rate",er="sentry.op",tr="sentry.origin";var nr="sentry.profile_id",rr="sentry.exclusive_time";l();var kl="_sentryScope",Cl="_sentryIsolationScope";function or(e){return{scope:e[kl],isolationScope:e[Cl]}}l();function At(e){if(typeof e=="boolean")return Number(e);let t=typeof e=="string"?parseFloat(e):e;if(!(typeof t!="number"||isNaN(t)||t&lt;0||t&gt;1))return t}l();var Rl="sentry-",Ml=/^sentry-/;function oa(e){let t=Ol(e);if(!t)return;let n=Object.entries(t).reduce((r,[o,i])=&gt;{if(o.match(Ml)){let s=o.slice(Rl.length);r[s]=i}return r},{});if(Object.keys(n).length&gt;0)return n}function Ol(e){if(!(!e||!ce(e)&amp;&amp;!Array.isArray(e)))return Array.isArray(e)?e.reduce((t,n)=&gt;{let r=ra(n);return Object.entries(r).forEach(([o,i])=&gt;{t[o]=i}),t},{}):ra(e)}function ra(e){return e.split(",").map(t=&gt;t.split("=").map(n=&gt;decodeURIComponent(n.trim()))).reduce((t,[n,r])=&gt;(n&amp;&amp;r&amp;&amp;(t[n]=r),t),{})}var aa=1,ia=!1;function qo(e){let{spanId:t,traceId:n,isRemote:r}=e.spanContext(),o=r?t:Be(e).parent_span_id,i=or(e).scope,s=r?i?.getPropagationContext().propagationSpanId||Jn():t;return V({parent_span_id:o,span_id:s,trace_id:n})}function ca(e){if(e&amp;&amp;e.length&gt;0)return e.map(({context:{spanId:t,traceId:n,traceFlags:r,...o},attributes:i})=&gt;({span_id:t,trace_id:n,sampled:r===aa,attributes:i,...o}))}function Go(e){return typeof e=="number"?sa(e):Array.isArray(e)?e[0]+e[1]/1e9:e instanceof Date?sa(e.getTime()):_e()}function sa(e){return e&gt;9999999999?e/1e3:e}function Be(e){if(Dl(e))return e.getSpanJSON();let{spanId:t,traceId:n}=e.spanContext();if(Nl(e)){let{attributes:r,startTime:o,name:i,endTime:s,parentSpanId:a,status:c,links:u}=e;return V({span_id:t,trace_id:n,data:r,description:i,parent_span_id:a,start_timestamp:Go(o),timestamp:Go(s)||void 0,status:ua(c),op:r[er],origin:r[tr],links:ca(u)})}return{span_id:t,trace_id:n,start_timestamp:0,data:{}}}function Nl(e){let t=e;return!!t.attributes&amp;&amp;!!t.startTime&amp;&amp;!!t.name&amp;&amp;!!t.endTime&amp;&amp;!!t.status}function Dl(e){return typeof e.getSpanJSON=="function"}function Vo(e){let{traceFlags:t}=e.spanContext();return t===aa}function ua(e){if(!(!e||e.code===0))return e.code===1?"ok":e.message||"unknown_error"}var Ll="_sentryRootSpan";function it(e){return e[Ll]||e}function nn(){let e=Ge(),t=Ot(e);return t.getActiveSpan?t.getActiveSpan():tn(te())}function Yo(){ia||(he(()=&gt;{console.warn("[Sentry] Returning null from `beforeSendSpan` is disallowed. To drop certain spans, configure the respective integrations directly.")}),ia=!0)}l();function la(e){if(typeof __SENTRY_TRACING__=="boolean"&amp;&amp;!__SENTRY_TRACING__)return!1;let t=e||U()?.getOptions();return!!t&amp;&amp;(t.tracesSampleRate!=null||!!t.tracesSampler)}l();l();var Nt="production";var Pl="_frozenDsc";function Ko(e,t){let n=t.getOptions(),{publicKey:r}=t.getDsn()||{},o=V({environment:n.environment||Nt,release:n.release,public_key:r,trace_id:e});return t.emit("createDsc",o),o}function Jo(e,t){let n=t.getPropagationContext();return n.dsc||Ko(n.traceId,e)}function rn(e){let t=U();if(!t)return{};let n=it(e),r=Be(n),o=r.data,i=n.spanContext().traceState,s=i?.get("sentry.sample_rate")??o[Zn];function a(h){return(typeof s=="number"||typeof s=="string")&amp;&amp;(h.sample_rate=`${s}`),h}let c=n[Pl];if(c)return a(c);let u=i?.get("sentry.dsc"),f=u&amp;&amp;oa(u);if(f)return a(f);let d=Ko(e.spanContext().traceId,t),p=o[It],m=r.description;return p!=="url"&amp;&amp;m&amp;&amp;(d.transaction=m),la()&amp;&amp;(d.sampled=String(Vo(n)),d.sample_rand=i?.get("sentry.sample_rand")??or(n).scope?.getPropagationContext().sampleRand.toString()),a(d),t.emit("createDsc",d,n),d}l();l();var Fl=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)([\w.-]+)(?::(\d+))?\/(.+)/;function Bl(e){return e==="http"||e==="https"}function Dt(e,t=!1){let{host:n,path:r,pass:o,port:i,projectId:s,protocol:a,publicKey:c}=e;return`${a}://${c}${t&amp;&amp;o?`:${o}`:""}@${n}${i?`:${i}`:""}/${r&amp;&amp;`${r}/`}${s}`}function Ul(e){let t=Fl.exec(e);if(!t){he(()=&gt;{console.error(`Invalid Sentry Dsn: ${e}`)});return}let[n,r,o="",i="",s="",a=""]=t.slice(1),c="",u=a,f=u.split("/");if(f.length&gt;1&amp;&amp;(c=f.slice(0,-1).join("/"),u=f.pop()),u){let d=u.match(/^\d+/);d&amp;&amp;(u=d[0])}return da({host:i,pass:o,path:c,projectId:u,port:s,protocol:n,publicKey:r})}function da(e){return{protocol:e.protocol,publicKey:e.publicKey||"",pass:e.pass||"",host:e.host,port:e.port||"",path:e.path||"",projectId:e.projectId}}function Hl(e){if(!ve)return!0;let{port:t,projectId:n,protocol:r}=e;return["protocol","publicKey","host","projectId"].find(s=&gt;e[s]?!1:(g.error(`Invalid Sentry Dsn: ${s} missing`),!0))?!1:n.match(/^\d+$/)?Bl(r)?t&amp;&amp;isNaN(parseInt(t,10))?(g.error(`Invalid Sentry Dsn: Invalid port ${t}`),!1):!0:(g.error(`Invalid Sentry Dsn: Invalid protocol ${r}`),!1):(g.error(`Invalid Sentry Dsn: Invalid projectId ${n}`),!1)}function fa(e){let t=typeof e=="string"?Ul(e):da(e);if(!(!t||!Hl(t)))return t}l();l();function de(e,t=100,n=1/0){try{return Xo("",e,t,n)}catch(r){return{ERROR:`**non-serializable** (${r})`}}}function ir(e,t=3,n=100*1024){let r=de(e,t);return zl(r)&gt;n?ir(e,t-1,n):r}function Xo(e,t,n=1/0,r=1/0,o=Gl()){let[i,s]=o;if(t==null||["boolean","string"].includes(typeof t)||typeof t=="number"&amp;&amp;Number.isFinite(t))return t;let a=$l(e,t);if(!a.startsWith("[object "))return a;if(t.__sentry_skip_normalization__)return t;let c=typeof t.__sentry_override_normalization_depth__=="number"?t.__sentry_override_normalization_depth__:n;if(c===0)return a.replace("object ","");if(i(t))return"[Circular ~]";let u=t;if(u&amp;&amp;typeof u.toJSON=="function")try{let m=u.toJSON();return Xo("",m,c-1,r,o)}catch{}let f=Array.isArray(t)?[]:{},d=0,p=Yn(t);for(let m in p){if(!Object.prototype.hasOwnProperty.call(p,m))continue;if(d&gt;=r){f[m]="[MaxProperties ~]";break}let h=p[m];f[m]=Xo(m,h,c-1,r,o),d++}return s(t),f}function $l(e,t){try{if(e==="domain"&amp;&amp;t&amp;&amp;typeof t=="object"&amp;&amp;t._events)return"[Domain]";if(e==="domainEmitter")return"[DomainEmitter]";if(typeof global&lt;"u"&amp;&amp;t===global)return"[Global]";if(typeof window&lt;"u"&amp;&amp;t===window)return"[Window]";if(typeof document&lt;"u"&amp;&amp;t===document)return"[Document]";if(en(t))return"[VueViewModel]";if(No(t))return"[SyntheticEvent]";if(typeof t=="number"&amp;&amp;!Number.isFinite(t))return`[${t}]`;if(typeof t=="function")return`[Function: ${ge(t)}]`;if(typeof t=="symbol")return`[${String(t)}]`;if(typeof t=="bigint")return`[BigInt: ${String(t)}]`;let n=Wl(t);return/^HTML(\w*)Element$/.test(n)?`[HTMLElement: ${n}]`:`[object ${n}]`}catch(n){return`**non-serializable** (${n})`}}function Wl(e){let t=Object.getPrototypeOf(e);return t?.constructor?t.constructor.name:"null prototype"}function jl(e){return~-encodeURI(e).split(/%..|./).length}function zl(e){return jl(JSON.stringify(e))}function Gl(){let e=new WeakSet;function t(r){return e.has(r)?!0:(e.add(r),!1)}function n(r){e.delete(r)}return[t,n]}function Ue(e,t=[]){return[e,t]}function Zo(e,t){let[n,r]=e;return[n,[...r,t]]}function sr(e,t){let n=e[1];for(let r of n){let o=r[0].type;if(t(r,o))return!0}return!1}function Qo(e){let t=ht(I);return t.encodePolyfill?t.encodePolyfill(e):new TextEncoder().encode(e)}function ei(e){let[t,n]=e,r=JSON.stringify(t);function o(i){typeof r=="string"?r=typeof i=="string"?r+i:[Qo(r),i]:r.push(typeof i=="string"?Qo(i):i)}for(let i of n){let[s,a]=i;if(o(`
${JSON.stringify(s)}
`),typeof a=="string"||a instanceof Uint8Array)o(a);else{let c;try{c=JSON.stringify(a)}catch{c=JSON.stringify(de(a))}o(c)}}return typeof r=="string"?r:ql(r)}function ql(e){let t=e.reduce((o,i)=&gt;o+i.length,0),n=new Uint8Array(t),r=0;for(let o of e)n.set(o,r),r+=o.length;return n}function ti(e){let t=typeof e.data=="string"?Qo(e.data):e.data;return[V({type:"attachment",length:t.length,filename:e.filename,content_type:e.contentType,attachment_type:e.attachmentType}),t]}var Vl={session:"session",sessions:"session",attachment:"attachment",transaction:"transaction",event:"error",client_report:"internal",user_report:"default",profile:"profile",profile_chunk:"profile",replay_event:"replay",replay_recording:"replay",check_in:"monitor",feedback:"feedback",span:"span",raw_security:"security",otel_log:"log_item"};function ar(e){return Vl[e]}function Lt(e){if(!e?.sdk)return;let{name:t,version:n}=e.sdk;return{name:t,version:n}}function on(e,t,n,r){let o=e.sdkProcessingMetadata?.dynamicSamplingContext;return{event_id:e.event_id,sent_at:new Date().toISOString(),...t&amp;&amp;{sdk:t},...!!n&amp;&amp;r&amp;&amp;{dsn:Dt(r)},...o&amp;&amp;{trace:V({...o})}}}function Kl(e,t){return t&amp;&amp;(e.sdk=e.sdk||{},e.sdk.name=e.sdk.name||t.name,e.sdk.version=e.sdk.version||t.version,e.sdk.integrations=[...e.sdk.integrations||[],...t.integrations||[]],e.sdk.packages=[...e.sdk.packages||[],...t.packages||[]]),e}function pa(e,t,n,r){let o=Lt(n),i={sent_at:new Date().toISOString(),...o&amp;&amp;{sdk:o},...!!r&amp;&amp;t&amp;&amp;{dsn:Dt(t)}},s="aggregates"in e?[{type:"sessions"},e]:[{type:"session"},e.toJSON()];return Ue(i,[s])}function ma(e,t,n,r){let o=Lt(n),i=e.type&amp;&amp;e.type!=="replay_event"?e.type:"event";Kl(e,n?.sdk);let s=on(e,o,r,t);return delete e.sdkProcessingMetadata,Ue(s,[[{type:i},e]])}l();l();l();function cr(e,t,n,r=0){return new Me((o,i)=&gt;{let s=e[r];if(t===null||typeof s!="function")o(t);else{let a=s({...t},n);D&amp;&amp;s.id&amp;&amp;a===null&amp;&amp;g.log(`Event processor "${s.id}" dropped event`),qe(a)?a.then(c=&gt;cr(e,c,n,r+1).then(o)).then(null,i):cr(e,a,n,r+1).then(o).then(null,i)}})}l();var ur,ha,lr;function ga(e){let t=I._sentryDebugIds;if(!t)return{};let n=Object.keys(t);return lr&amp;&amp;n.length===ha||(ha=n.length,lr=n.reduce((r,o)=&gt;{ur||(ur={});let i=ur[o];if(i)r[i[0]]=i[1];else{let s=e(o);for(let a=s.length-1;a&gt;=0;a--){let u=s[a]?.filename,f=t[o];if(u&amp;&amp;f){r[u]=f,ur[o]=[u,f];break}}}return r},{})),lr}l();function _a(e,t){let{fingerprint:n,span:r,breadcrumbs:o,sdkProcessingMetadata:i}=t;Jl(e,t),r&amp;&amp;Zl(e,r),ed(e,n),Xl(e,o),Ql(e,i)}function ni(e,t){let{extra:n,tags:r,user:o,contexts:i,level:s,sdkProcessingMetadata:a,breadcrumbs:c,fingerprint:u,eventProcessors:f,attachments:d,propagationContext:p,transactionName:m,span:h}=t;dr(e,"extra",n),dr(e,"tags",r),dr(e,"user",o),dr(e,"contexts",i),e.sdkProcessingMetadata=ot(e.sdkProcessingMetadata,a,2),s&amp;&amp;(e.level=s),m&amp;&amp;(e.transactionName=m),h&amp;&amp;(e.span=h),c.length&amp;&amp;(e.breadcrumbs=[...e.breadcrumbs,...c]),u.length&amp;&amp;(e.fingerprint=[...e.fingerprint,...u]),f.length&amp;&amp;(e.eventProcessors=[...e.eventProcessors,...f]),d.length&amp;&amp;(e.attachments=[...e.attachments,...d]),e.propagationContext={...e.propagationContext,...p}}function dr(e,t,n){e[t]=ot(e[t],n,1)}function Jl(e,t){let{extra:n,tags:r,user:o,contexts:i,level:s,transactionName:a}=t,c=V(n);Object.keys(c).length&amp;&amp;(e.extra={...c,...e.extra});let u=V(r);Object.keys(u).length&amp;&amp;(e.tags={...u,...e.tags});let f=V(o);Object.keys(f).length&amp;&amp;(e.user={...f,...e.user});let d=V(i);Object.keys(d).length&amp;&amp;(e.contexts={...d,...e.contexts}),s&amp;&amp;(e.level=s),a&amp;&amp;e.type!=="transaction"&amp;&amp;(e.transaction=a)}function Xl(e,t){let n=[...e.breadcrumbs||[],...t];e.breadcrumbs=n.length?n:void 0}function Ql(e,t){e.sdkProcessingMetadata={...e.sdkProcessingMetadata,...t}}function Zl(e,t){e.contexts={trace:qo(t),...e.contexts},e.sdkProcessingMetadata={dynamicSamplingContext:rn(t),...e.sdkProcessingMetadata};let n=it(t),r=Be(n).description;r&amp;&amp;!e.transaction&amp;&amp;e.type==="transaction"&amp;&amp;(e.transaction=r)}function ed(e,t){e.fingerprint=e.fingerprint?Array.isArray(e.fingerprint)?e.fingerprint:[e.fingerprint]:[],t&amp;&amp;(e.fingerprint=e.fingerprint.concat(t)),e.fingerprint.length||delete e.fingerprint}function sn(e,t,n,r,o,i){let{normalizeDepth:s=3,normalizeMaxBreadth:a=1e3}=e,c={...t,event_id:t.event_id||n.event_id||Q(),timestamp:t.timestamp||Pe()},u=n.integrations||e.integrations.map(y=&gt;y.name);td(c,e),od(c,u),o&amp;&amp;o.emit("applyFrameMetadata",t),t.type===void 0&amp;&amp;nd(c,e.stackParser);let f=sd(r,n.captureContext);n.mechanism&amp;&amp;Fe(c,n.mechanism);let d=o?o.getEventProcessors():[],p=Xn().getScopeData();if(i){let y=i.getScopeData();ni(p,y)}if(f){let y=f.getScopeData();ni(p,y)}let m=[...n.attachments||[],...p.attachments];m.length&amp;&amp;(n.attachments=m),_a(c,p);let h=[...d,...p.eventProcessors];return cr(h,c,n).then(y=&gt;(y&amp;&amp;rd(y),typeof s=="number"&amp;&amp;s&gt;0?id(y,s,a):y))}function td(e,t){let{environment:n,release:r,dist:o,maxValueLength:i=250}=t;e.environment=e.environment||n||Nt,!e.release&amp;&amp;r&amp;&amp;(e.release=r),!e.dist&amp;&amp;o&amp;&amp;(e.dist=o),e.message&amp;&amp;(e.message=Le(e.message,i));let s=e.exception?.values?.[0];s?.value&amp;&amp;(s.value=Le(s.value,i));let a=e.request;a?.url&amp;&amp;(a.url=Le(a.url,i))}function nd(e,t){let n=ga(t);e.exception?.values?.forEach(r=&gt;{r.stacktrace?.frames?.forEach(o=&gt;{o.filename&amp;&amp;(o.debug_id=n[o.filename])})})}function rd(e){let t={};if(e.exception?.values?.forEach(r=&gt;{r.stacktrace?.frames?.forEach(o=&gt;{o.debug_id&amp;&amp;(o.abs_path?t[o.abs_path]=o.debug_id:o.filename&amp;&amp;(t[o.filename]=o.debug_id),delete o.debug_id)})}),Object.keys(t).length===0)return;e.debug_meta=e.debug_meta||{},e.debug_meta.images=e.debug_meta.images||[];let n=e.debug_meta.images;Object.entries(t).forEach(([r,o])=&gt;{n.push({type:"sourcemap",code_file:r,debug_id:o})})}function od(e,t){t.length&gt;0&amp;&amp;(e.sdk=e.sdk||{},e.sdk.integrations=[...e.sdk.integrations||[],...t])}function id(e,t,n){if(!e)return null;let r={...e,...e.breadcrumbs&amp;&amp;{breadcrumbs:e.breadcrumbs.map(o=&gt;({...o,...o.data&amp;&amp;{data:de(o.data,t,n)}}))},...e.user&amp;&amp;{user:de(e.user,t,n)},...e.contexts&amp;&amp;{contexts:de(e.contexts,t,n)},...e.extra&amp;&amp;{extra:de(e.extra,t,n)}};return e.contexts?.trace&amp;&amp;r.contexts&amp;&amp;(r.contexts.trace=e.contexts.trace,e.contexts.trace.data&amp;&amp;(r.contexts.trace.data=de(e.contexts.trace.data,t,n))),e.spans&amp;&amp;(r.spans=e.spans.map(o=&gt;({...o,...o.data&amp;&amp;{data:de(o.data,t,n)}}))),e.contexts?.flags&amp;&amp;r.contexts&amp;&amp;(r.contexts.flags=de(e.contexts.flags,3,n)),r}function sd(e,t){if(!t)return e;let n=e?e.clone():new ye;return n.update(t),n}function ya(e){if(e)return ad(e)?{captureContext:e}:ud(e)?{captureContext:e}:e}function ad(e){return e instanceof ye||typeof e=="function"}var cd=["user","level","extra","contexts","tags","fingerprint","propagationContext"];function ud(e){return Object.keys(e).some(t=&gt;cd.includes(t))}function Pt(e,t){return te().captureException(e,ya(t))}function an(e,t){return te().captureEvent(e,t)}function Ft(e,t){Se().setContext(e,t)}function fr(e){Se().addEventProcessor(e)}function cn(e){let t=Se(),n=te(),{userAgent:r}=I.navigator||{},o=Xs({user:n.getUser()||t.getUser(),...r&amp;&amp;{userAgent:r},...e}),i=t.getSession();return i?.status==="ok"&amp;&amp;Ke(i,{status:"exited"}),pr(),t.setSession(o),o}function pr(){let e=Se(),n=te().getSession()||e.getSession();n&amp;&amp;Qs(n),Ea(),e.setSession()}function Ea(){let e=Se(),t=U(),n=e.getSession();n&amp;&amp;t&amp;&amp;t.captureSession(n)}function un(e=!1){if(e){pr();return}Ea()}l();var ld="7";function dd(e){let t=e.protocol?`${e.protocol}:`:"",n=e.port?`:${e.port}`:"";return`${t}//${e.host}${n}${e.path?`/${e.path}`:""}/api/`}function fd(e){return`${dd(e)}${e.projectId}/envelope/`}function pd(e,t){let n={sentry_version:ld};return e.publicKey&amp;&amp;(n.sentry_key=e.publicKey),t&amp;&amp;(n.sentry_client=`${t.name}/${t.version}`),new URLSearchParams(n).toString()}function Ia(e,t,n){return t||`${fd(e)}?${pd(e,n)}`}l();l();var Ta=[];function md(e){let t={};return e.forEach(n=&gt;{let{name:r}=n,o=t[r];o&amp;&amp;!o.isDefaultInstance&amp;&amp;n.isDefaultInstance||(t[r]=n)}),Object.values(t)}function ri(e){let t=e.defaultIntegrations||[],n=e.integrations;t.forEach(o=&gt;{o.isDefaultInstance=!0});let r;if(Array.isArray(n))r=[...t,...n];else if(typeof n=="function"){let o=n(t);r=Array.isArray(o)?o:[o]}else r=t;return md(r)}function ba(e,t){let n={};return t.forEach(r=&gt;{r&amp;&amp;ii(e,r,n)}),n}function oi(e,t){for(let n of t)n?.afterAllSetup&amp;&amp;n.afterAllSetup(e)}function ii(e,t,n){if(n[t.name]){D&amp;&amp;g.log(`Integration skipped because it was already installed: ${t.name}`);return}if(n[t.name]=t,Ta.indexOf(t.name)===-1&amp;&amp;typeof t.setupOnce=="function"&amp;&amp;(t.setupOnce(),Ta.push(t.name)),t.setup&amp;&amp;typeof t.setup=="function"&amp;&amp;t.setup(e),typeof t.preprocessEvent=="function"){let r=t.preprocessEvent.bind(t);e.on("preprocessEvent",(o,i)=&gt;r(o,i,e))}if(typeof t.processEvent=="function"){let r=t.processEvent.bind(t),o=Object.assign((i,s)=&gt;r(i,s,e),{id:t.name});e.addEventProcessor(o)}D&amp;&amp;g.log(`Integration installed: ${t.name}`)}l();function va(e,t,n){let r=[{type:"client_report"},{timestamp:n||Pe(),discarded_events:e}];return Ue(t?{dsn:t}:{},[r])}l();var oe=class extends Error{constructor(t,n="warn"){super(t),this.message=t,this.logLevel=n}};l();function mr(e){let t=[];e.message&amp;&amp;t.push(e.message);try{let n=e.exception.values[e.exception.values.length-1];n?.value&amp;&amp;(t.push(n.value),n.type&amp;&amp;t.push(`${n.type}: ${n.value}`))}catch{}return t}l();function wa(e){let{trace_id:t,parent_span_id:n,span_id:r,status:o,origin:i,data:s,op:a}=e.contexts?.trace??{};return V({data:s??{},description:e.transaction,op:a,parent_span_id:n,span_id:r??"",start_timestamp:e.start_timestamp??0,status:o,timestamp:e.timestamp,trace_id:t??"",origin:i,profile_id:s?.[nr],exclusive_time:s?.[rr],measurements:e.measurements,is_segment:!0})}function xa(e){let t={type:"transaction",timestamp:e.timestamp,start_timestamp:e.start_timestamp,transaction:e.description,contexts:{trace:{trace_id:e.trace_id,span_id:e.span_id,parent_span_id:e.parent_span_id,op:e.op,status:e.status,origin:e.origin,data:{...e.data,...e.profile_id&amp;&amp;{[nr]:e.profile_id},...e.exclusive_time&amp;&amp;{[rr]:e.exclusive_time}}}},measurements:e.measurements};return V(t)}var ka="Not capturing exception because it's already been captured.",Ca="Discarded session because of missing or non-string release",ln=class{constructor(t){if(this._options=t,this._integrations={},this._numProcessing=0,this._outcomes={},this._hooks={},this._eventProcessors=[],t.dsn?this._dsn=fa(t.dsn):D&amp;&amp;g.warn("No DSN provided, client will not send events."),this._dsn){let n=Ia(this._dsn,t.tunnel,t._metadata?t._metadata.sdk:void 0);this._transport=t.transport({tunnel:this._options.tunnel,recordDroppedEvent:this.recordDroppedEvent.bind(this),...t.transportOptions,url:n})}}captureException(t,n,r){let o=Q();if(Kn(t))return D&amp;&amp;g.log(ka),o;let i={event_id:o,...n};return this._process(this.eventFromException(t,i).then(s=&gt;this._captureEvent(s,i,r))),i.event_id}captureMessage(t,n,r,o){let i={event_id:Q(),...r},s=Ct(t)?t:String(t),a=yt(t)?this.eventFromMessage(s,n,i):this.eventFromException(t,i);return this._process(a.then(c=&gt;this._captureEvent(c,i,o))),i.event_id}captureEvent(t,n,r){let o=Q();if(n?.originalException&amp;&amp;Kn(n.originalException))return D&amp;&amp;g.log(ka),o;let i={event_id:o,...n},s=t.sdkProcessingMetadata||{},a=s.capturedSpanScope,c=s.capturedSpanIsolationScope;return this._process(this._captureEvent(t,i,a||r,c)),i.event_id}captureSession(t){this.sendSession(t),Ke(t,{init:!1})}getDsn(){return this._dsn}getOptions(){return this._options}getSdkMetadata(){return this._options._metadata}getTransport(){return this._transport}flush(t){let n=this._transport;return n?(this.emit("flush"),this._isClientDoneProcessing(t).then(r=&gt;n.flush(t).then(o=&gt;r&amp;&amp;o))):le(!0)}close(t){return this.flush(t).then(n=&gt;(this.getOptions().enabled=!1,this.emit("close"),n))}getEventProcessors(){return this._eventProcessors}addEventProcessor(t){this._eventProcessors.push(t)}init(){(this._isEnabled()||this._options.integrations.some(({name:t})=&gt;t.startsWith("Spotlight")))&amp;&amp;this._setupIntegrations()}getIntegrationByName(t){return this._integrations[t]}addIntegration(t){let n=this._integrations[t.name];ii(this,t,this._integrations),n||oi(this,[t])}sendEvent(t,n={}){this.emit("beforeSendEvent",t,n);let r=ma(t,this._dsn,this._options._metadata,this._options.tunnel);for(let i of n.attachments||[])r=Zo(r,ti(i));let o=this.sendEnvelope(r);o&amp;&amp;o.then(i=&gt;this.emit("afterSendEvent",t,i),null)}sendSession(t){let{release:n,environment:r=Nt}=this._options;if("aggregates"in t){let i=t.attrs||{};if(!i.release&amp;&amp;!n){D&amp;&amp;g.warn(Ca);return}i.release=i.release||n,i.environment=i.environment||r,t.attrs=i}else{if(!t.release&amp;&amp;!n){D&amp;&amp;g.warn(Ca);return}t.release=t.release||n,t.environment=t.environment||r}this.emit("beforeSendSession",t);let o=pa(t,this._dsn,this._options._metadata,this._options.tunnel);this.sendEnvelope(o)}recordDroppedEvent(t,n,r=1){if(this._options.sendClientReports){let o=`${t}:${n}`;D&amp;&amp;g.log(`Recording outcome: "${o}"${r&gt;1?` (${r} times)`:""}`),this._outcomes[o]=(this._outcomes[o]||0)+r}}on(t,n){let r=this._hooks[t]=this._hooks[t]||[];return r.push(n),()=&gt;{let o=r.indexOf(n);o&gt;-1&amp;&amp;r.splice(o,1)}}emit(t,...n){let r=this._hooks[t];r&amp;&amp;r.forEach(o=&gt;o(...n))}sendEnvelope(t){return this.emit("beforeEnvelope",t),this._isEnabled()&amp;&amp;this._transport?this._transport.send(t).then(null,n=&gt;(D&amp;&amp;g.error("Error while sending envelope:",n),n)):(D&amp;&amp;g.error("Transport disabled"),le({}))}_setupIntegrations(){let{integrations:t}=this._options;this._integrations=ba(this,t),oi(this,t)}_updateSessionFromEvent(t,n){let r=n.level==="fatal",o=!1,i=n.exception?.values;if(i){o=!0;for(let c of i)if(c.mechanism?.handled===!1){r=!0;break}}let s=t.status==="ok";(s&amp;&amp;t.errors===0||s&amp;&amp;r)&amp;&amp;(Ke(t,{...r&amp;&amp;{status:"crashed"},errors:t.errors||Number(o||r)}),this.captureSession(t))}_isClientDoneProcessing(t){return new Me(n=&gt;{let r=0,o=1,i=setInterval(()=&gt;{this._numProcessing==0?(clearInterval(i),n(!0)):(r+=o,t&amp;&amp;r&gt;=t&amp;&amp;(clearInterval(i),n(!1)))},o)})}_isEnabled(){return this.getOptions().enabled!==!1&amp;&amp;this._transport!==void 0}_prepareEvent(t,n,r,o){let i=this.getOptions(),s=Object.keys(this._integrations);return!n.integrations&amp;&amp;s?.length&amp;&amp;(n.integrations=s),this.emit("preprocessEvent",t,n),t.type||o.setLastEventId(t.event_id||n.event_id),sn(i,t,n,r,this,o).then(a=&gt;{if(a===null)return a;this.emit("postprocessEvent",a,n),a.contexts={trace:zo(r),...a.contexts};let c=Jo(this,r);return a.sdkProcessingMetadata={dynamicSamplingContext:c,...a.sdkProcessingMetadata},a})}_captureEvent(t,n={},r=te(),o=Se()){return D&amp;&amp;si(t)&amp;&amp;g.log(`Captured error event \`${mr(t)[0]||"&lt;unknown&gt;"}\``),this._processEvent(t,n,r,o).then(i=&gt;i.event_id,i=&gt;{D&amp;&amp;(i instanceof oe&amp;&amp;i.logLevel==="log"?g.log(i.message):g.warn(i))})}_processEvent(t,n,r,o){let i=this.getOptions(),{sampleRate:s}=i,a=Ra(t),c=si(t),u=t.type||"error",f=`before send for type \`${u}\``,d=typeof s&gt;"u"?void 0:At(s);if(c&amp;&amp;typeof d=="number"&amp;&amp;Math.random()&gt;d)return this.recordDroppedEvent("sample_rate","error"),rt(new oe(`Discarding event because it's not included in the random sample (sampling rate = ${s})`,"log"));let p=u==="replay_event"?"replay":u;return this._prepareEvent(t,n,r,o).then(m=&gt;{if(m===null)throw this.recordDroppedEvent("event_processor",p),new oe("An event processor returned `null`, will not send event.","log");if(n.data&amp;&amp;n.data.__sentry__===!0)return m;let _=gd(this,i,m,n);return hd(_,f)}).then(m=&gt;{if(m===null){if(this.recordDroppedEvent("before_send",p),a){let E=1+(t.spans||[]).length;this.recordDroppedEvent("before_send","span",E)}throw new oe(`${f} returned \`null\`, will not send event.`,"log")}let h=r.getSession()||o.getSession();if(c&amp;&amp;h&amp;&amp;this._updateSessionFromEvent(h,m),a){let y=m.sdkProcessingMetadata?.spanCountBeforeProcessing||0,E=m.spans?m.spans.length:0,k=y-E;k&gt;0&amp;&amp;this.recordDroppedEvent("before_send","span",k)}let _=m.transaction_info;if(a&amp;&amp;_&amp;&amp;m.transaction!==t.transaction){let y="custom";m.transaction_info={..._,source:y}}return this.sendEvent(m,n),m}).then(null,m=&gt;{throw m instanceof oe?m:(this.captureException(m,{data:{__sentry__:!0},originalException:m}),new oe(`Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event.
Reason: ${m}`))})}_process(t){this._numProcessing++,t.then(n=&gt;(this._numProcessing--,n),n=&gt;(this._numProcessing--,n))}_clearOutcomes(){let t=this._outcomes;return this._outcomes={},Object.entries(t).map(([n,r])=&gt;{let[o,i]=n.split(":");return{reason:o,category:i,quantity:r}})}_flushOutcomes(){D&amp;&amp;g.log("Flushing outcomes...");let t=this._clearOutcomes();if(t.length===0){D&amp;&amp;g.log("No outcomes to send");return}if(!this._dsn){D&amp;&amp;g.log("No dsn provided, will not send outcomes");return}D&amp;&amp;g.log("Sending outcomes:",t);let n=va(t,this._options.tunnel&amp;&amp;Dt(this._dsn));this.sendEnvelope(n)}};function hd(e,t){let n=`${t} must return \`null\` or a valid event.`;if(qe(e))return e.then(r=&gt;{if(!Ce(r)&amp;&amp;r!==null)throw new oe(n);return r},r=&gt;{throw new oe(`${t} rejected with ${r}`)});if(!Ce(e)&amp;&amp;e!==null)throw new oe(n);return e}function gd(e,t,n,r){let{beforeSend:o,beforeSendTransaction:i,beforeSendSpan:s}=t,a=n;if(si(a)&amp;&amp;o)return o(a,r);if(Ra(a)){if(s){let c=s(wa(a));if(c?a=ot(n,xa(c)):Yo(),a.spans){let u=[];for(let f of a.spans){let d=s(f);d?u.push(d):(Yo(),u.push(f))}a.spans=u}}if(i){if(a.spans){let c=a.spans.length;a.sdkProcessingMetadata={...n.sdkProcessingMetadata,spanCountBeforeProcessing:c}}return i(a,r)}}return a}function si(e){return e.type===void 0}function Ra(e){return e.type==="transaction"}l();function ai(e,t){t.debug===!0&amp;&amp;(D?g.enable():he(()=&gt;{console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle.")})),te().update(t.initialScope);let r=new e(t);return ci(r),r.init(),r}function ci(e){te().setClient(e)}l();l();function Ma(e){let t=[];function n(){return e===void 0||t.length&lt;e}function r(s){return t.splice(t.indexOf(s),1)[0]||Promise.resolve(void 0)}function o(s){if(!n())return rt(new oe("Not adding Promise because buffer limit was reached."));let a=s();return t.indexOf(a)===-1&amp;&amp;t.push(a),a.then(()=&gt;r(a)).then(null,()=&gt;r(a).then(null,()=&gt;{})),a}function i(s){return new Me((a,c)=&gt;{let u=t.length;if(!u)return a(!0);let f=setTimeout(()=&gt;{s&amp;&amp;s&gt;0&amp;&amp;a(!1)},s);t.forEach(d=&gt;{le(d).then(()=&gt;{--u||(clearTimeout(f),a(!0))},c)})})}return{$:t,add:o,drain:i}}l();function Oa(e,t=Date.now()){let n=parseInt(`${e}`,10);if(!isNaN(n))return n*1e3;let r=Date.parse(`${e}`);return isNaN(r)?6e4:r-t}function Aa(e,t){return e[t]||e.all||0}function dn(e,t,n=Date.now()){return Aa(e,t)&gt;n}function fn(e,{statusCode:t,headers:n},r=Date.now()){let o={...e},i=n?.["x-sentry-rate-limits"],s=n?.["retry-after"];if(i)for(let a of i.trim().split(",")){let[c,u,,,f]=a.split(":",5),d=parseInt(c,10),p=(isNaN(d)?60:d)*1e3;if(!u)o.all=r+p;else for(let m of u.split(";"))m==="metric_bucket"?(!f||f.split(";").includes("custom"))&amp;&amp;(o[m]=r+p):o[m]=r+p}else s?o.all=r+Oa(s,r):t===429&amp;&amp;(o.all=r+60*1e3);return o}var _d=64;function hr(e,t,n=Ma(e.bufferSize||_d)){let r={},o=s=&gt;n.drain(s);function i(s){let a=[];if(sr(s,(d,p)=&gt;{let m=ar(p);dn(r,m)?e.recordDroppedEvent("ratelimit_backoff",m):a.push(d)}),a.length===0)return le({});let c=Ue(s[0],a),u=d=&gt;{sr(c,(p,m)=&gt;{e.recordDroppedEvent(d,ar(m))})},f=()=&gt;t({body:ei(c)}).then(d=&gt;(d.statusCode!==void 0&amp;&amp;(d.statusCode&lt;200||d.statusCode&gt;=300)&amp;&amp;D&amp;&amp;g.warn(`Sentry responded with status code ${d.statusCode} to sent event.`),r=fn(r,d),d),d=&gt;{throw u("network_error"),d});return n.add(f).then(d=&gt;d,d=&gt;{if(d instanceof oe)return D&amp;&amp;g.error("Skipped sending event because buffer is full."),u("queue_overflow"),le({});throw d})}return{send:i,flush:o}}l();function ui(e,t){let n=t?.getDsn(),r=t?.getOptions().tunnel;return Sd(e,n)||yd(e,r)}function yd(e,t){return t?Na(e)===Na(t):!1}function Sd(e,t){return t?e.includes(t.host):!1}function Na(e){return e[e.length-1]==="/"?e.slice(0,-1):e}l();function li(e){e.user?.ip_address===void 0&amp;&amp;(e.user={...e.user,ip_address:"{{auto}}"})}function di(e){"aggregates"in e?e.attrs?.ip_address===void 0&amp;&amp;(e.attrs={...e.attrs,ip_address:"{{auto}}"}):e.ipAddress===void 0&amp;&amp;(e.ipAddress="{{auto}}")}l();function pn(e,t,n=[t],r="npm"){let o=e._metadata||{};o.sdk||(o.sdk={name:`sentry.javascript.${t}`,packages:n.map(i=&gt;({name:`${r}:@sentry/${i}`,version:Ae})),version:Ae}),e._metadata=o}l();var Ed=100;function we(e,t){let n=U(),r=Se();if(!n)return;let{beforeBreadcrumb:o=null,maxBreadcrumbs:i=Ed}=n.getOptions();if(i&lt;=0)return;let a={timestamp:Pe(),...e},c=o?he(()=&gt;o(a,t)):a;c!==null&amp;&amp;(n.emit&amp;&amp;n.emit("beforeAddBreadcrumb",c,t),r.addBreadcrumb(c,i))}l();var Da,Id="FunctionToString",La=new WeakMap,Td=()=&gt;({name:Id,setupOnce(){Da=Function.prototype.toString;try{Function.prototype.toString=function(...e){let t=Et(this),n=La.has(U())&amp;&amp;t!==void 0?t:this;return Da.apply(n,e)}}catch{}},setup(e){La.set(e,!0)}}),gr=Td;l();var bd=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/,/^ResizeObserver loop completed with undelivered notifications.$/,/^Cannot redefine property: googletag$/,/^Can't find variable: gmo$/,/^undefined is not an object \(evaluating 'a\.[A-Z]'\)$/,`can't redefine non-configurable property "solana"`,"vv().getRestrictions is not a function. (In 'vv().getRestrictions(1,a)', 'vv().getRestrictions' is undefined)","Can't find variable: _AutofillCallbackHandler",/^Non-Error promise rejection captured with value: Object Not Found Matching Id:\d+, MethodName:simulateEvent, ParamCount:\d+$/,/^Java exception was raised during method invocation$/],vd="EventFilters",wd=(e={})=&gt;({name:vd,processEvent(t,n,r){let o=r.getOptions(),i=xd(e,o);return kd(t,i)?null:t}}),fi=wd,yr=(e={})=&gt;({...fi(e),name:"InboundFilters"});function xd(e={},t={}){return{allowUrls:[...e.allowUrls||[],...t.allowUrls||[]],denyUrls:[...e.denyUrls||[],...t.denyUrls||[]],ignoreErrors:[...e.ignoreErrors||[],...t.ignoreErrors||[],...e.disableErrorDefaults?[]:bd],ignoreTransactions:[...e.ignoreTransactions||[],...t.ignoreTransactions||[]],ignoreInternal:e.ignoreInternal!==void 0?e.ignoreInternal:!0}}function kd(e,t){return t.ignoreInternal&amp;&amp;Ad(e)?(D&amp;&amp;g.warn(`Event dropped due to being internal Sentry Error.
Event: ${Re(e)}`),!0):Cd(e,t.ignoreErrors)?(D&amp;&amp;g.warn(`Event dropped due to being matched by \`ignoreErrors\` option.
Event: ${Re(e)}`),!0):Dd(e)?(D&amp;&amp;g.warn(`Event dropped due to not having an error message, error type or stacktrace.
Event: ${Re(e)}`),!0):Rd(e,t.ignoreTransactions)?(D&amp;&amp;g.warn(`Event dropped due to being matched by \`ignoreTransactions\` option.
Event: ${Re(e)}`),!0):Md(e,t.denyUrls)?(D&amp;&amp;g.warn(`Event dropped due to being matched by \`denyUrls\` option.
Event: ${Re(e)}.
Url: ${_r(e)}`),!0):Od(e,t.allowUrls)?!1:(D&amp;&amp;g.warn(`Event dropped due to not being matched by \`allowUrls\` option.
Event: ${Re(e)}.
Url: ${_r(e)}`),!0)}function Cd(e,t){return e.type||!t||!t.length?!1:mr(e).some(n=&gt;nt(n,t))}function Rd(e,t){if(e.type!=="transaction"||!t||!t.length)return!1;let n=e.transaction;return n?nt(n,t):!1}function Md(e,t){if(!t?.length)return!1;let n=_r(e);return n?nt(n,t):!1}function Od(e,t){if(!t?.length)return!0;let n=_r(e);return n?nt(n,t):!0}function Ad(e){try{return e.exception.values[0].type==="SentryError"}catch{}return!1}function Nd(e=[]){for(let t=e.length-1;t&gt;=0;t--){let n=e[t];if(n&amp;&amp;n.filename!=="&lt;anonymous&gt;"&amp;&amp;n.filename!=="[native code]")return n.filename||null}return null}function _r(e){try{let n=[...e.exception?.values??[]].reverse().find(r=&gt;r.mechanism?.parent_id===void 0&amp;&amp;r.stacktrace?.frames?.length)?.stacktrace?.frames;return n?Nd(n):null}catch{return D&amp;&amp;g.error(`Cannot extract url for event ${Re(e)}`),null}}function Dd(e){return e.type||!e.exception?.values?.length?!1:!e.message&amp;&amp;!e.exception.values.some(t=&gt;t.stacktrace||t.type&amp;&amp;t.type!=="Error"||t.value)}l();function mi(e,t,n=250,r,o,i,s){if(!i.exception?.values||!s||!De(s.originalException,Error))return;let a=i.exception.values.length&gt;0?i.exception.values[i.exception.values.length-1]:void 0;a&amp;&amp;(i.exception.values=Ld(pi(e,t,o,s.originalException,r,i.exception.values,a,0),n))}function pi(e,t,n,r,o,i,s,a){if(i.length&gt;=n+1)return i;let c=[...i];if(De(r[o],Error)){Pa(s,a);let u=e(t,r[o]),f=c.length;Fa(u,o,f,a),c=pi(e,t,n,r[o],o,[u,...c],u,f)}return Array.isArray(r.errors)&amp;&amp;r.errors.forEach((u,f)=&gt;{if(De(u,Error)){Pa(s,a);let d=e(t,u),p=c.length;Fa(d,`errors[${f}]`,p,a),c=pi(e,t,n,u,o,[d,...c],d,p)}}),c}function Pa(e,t){e.mechanism=e.mechanism||{type:"generic",handled:!0},e.mechanism={...e.mechanism,...e.type==="AggregateError"&amp;&amp;{is_exception_group:!0},exception_id:t}}function Fa(e,t,n,r){e.mechanism=e.mechanism||{type:"generic",handled:!0},e.mechanism={...e.mechanism,type:"chained",source:t,exception_id:n,parent_id:r}}function Ld(e,t){return e.map(n=&gt;(n.value&amp;&amp;(n.value=Le(n.value,t)),n))}l();function hi(e){let t="console";se(t,e),ae(t,Pd)}function Pd(){"console"in I&amp;&amp;Zt.forEach(function(e){e in I.console&amp;&amp;X(I.console,e,function(t){return xt[e]=t,function(...n){ee("console",{args:n,level:e}),xt[e]?.apply(I.console,n)}})})}l();function mn(e){return e==="warn"?"warning":["fatal","error","warning","log","info","debug"].includes(e)?e:"log"}l();var Fd="Dedupe",Bd=()=&gt;{let e;return{name:Fd,processEvent(t){if(t.type)return t;try{if(Ud(t,e))return D&amp;&amp;g.warn("Event dropped due to being a duplicate of previously captured event."),null}catch{}return e=t}}},Sr=Bd;function Ud(e,t){return t?!!(Hd(e,t)||$d(e,t)):!1}function Hd(e,t){let n=e.message,r=t.message;return!(!n&amp;&amp;!r||n&amp;&amp;!r||!n&amp;&amp;r||n!==r||!Ha(e,t)||!Ua(e,t))}function $d(e,t){let n=Ba(t),r=Ba(e);return!(!n||!r||n.type!==r.type||n.value!==r.value||!Ha(e,t)||!Ua(e,t))}function Ua(e,t){let n=Wn(e),r=Wn(t);if(!n&amp;&amp;!r)return!0;if(n&amp;&amp;!r||!n&amp;&amp;r||(n=n,r=r,r.length!==n.length))return!1;for(let o=0;o&lt;r.length;o++){let i=r[o],s=n[o];if(i.filename!==s.filename||i.lineno!==s.lineno||i.colno!==s.colno||i.function!==s.function)return!1}return!0}function Ha(e,t){let n=e.fingerprint,r=t.fingerprint;if(!n&amp;&amp;!r)return!0;if(n&amp;&amp;!r||!n&amp;&amp;r)return!1;n=n,r=r;try{return n.join("")===r.join("")}catch{return!1}}function Ba(e){return e.exception?.values&amp;&amp;e.exception.values[0]}l();function hn(e){if(!e)return{};let t=e.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!t)return{};let n=t[6]||"",r=t[8]||"";return{host:t[4],path:t[5],protocol:t[2],search:n,hash:r,relative:t[5]+n+r}}l();function Er(e){if(e!==void 0)return e&gt;=400&amp;&amp;e&lt;500?"warning":e&gt;=500?"error":void 0}l();l();var gn=I;function gi(){return"history"in gn&amp;&amp;!!gn.history}function Ir(){if(!("fetch"in gn))return!1;try{return new Headers,new Request("http://www.example.com"),new Response,!0}catch{return!1}}function _n(e){return e&amp;&amp;/^function\s+\w+\(\)\s+\{\s+\[native code\]\s+\}$/.test(e.toString())}function _i(){if(typeof EdgeRuntime=="string")return!0;if(!Ir())return!1;if(_n(gn.fetch))return!0;let e=!1,t=gn.document;if(t&amp;&amp;typeof t.createElement=="function")try{let n=t.createElement("iframe");n.hidden=!0,t.head.appendChild(n),n.contentWindow?.fetch&amp;&amp;(e=_n(n.contentWindow.fetch)),t.head.removeChild(n)}catch(n){ve&amp;&amp;g.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",n)}return e}function Si(e,t){let n="fetch";se(n,e),ae(n,()=&gt;Wd(void 0,t))}function Wd(e,t=!1){t&amp;&amp;!_i()||X(I,"fetch",function(n){return function(...r){let o=new Error,{method:i,url:s}=jd(r),a={args:r,fetchData:{method:i,url:s},startTimestamp:_e()*1e3,virtualError:o};return e||ee("fetch",{...a}),n.apply(I,r).then(async c=&gt;(e?e(c):ee("fetch",{...a,endTimestamp:_e()*1e3,response:c}),c),c=&gt;{throw ee("fetch",{...a,endTimestamp:_e()*1e3,error:c}),_t(c)&amp;&amp;c.stack===void 0&amp;&amp;(c.stack=o.stack,ue(c,"framesToPop",1)),c})}})}function yi(e,t){return!!e&amp;&amp;typeof e=="object"&amp;&amp;!!e[t]}function $a(e){return typeof e=="string"?e:e?yi(e,"url")?e.url:e.toString?e.toString():"":""}function jd(e){if(e.length===0)return{method:"GET",url:""};if(e.length===2){let[n,r]=e;return{url:$a(n),method:yi(r,"method")?String(r.method).toUpperCase():"GET"}}let t=e[0];return{url:$a(t),method:yi(t,"method")?String(t.method).toUpperCase():"GET"}}l();l();l();function Ei(){return typeof __SENTRY_BROWSER_BUNDLE__&lt;"u"&amp;&amp;!!__SENTRY_BROWSER_BUNDLE__}function Ii(){return"npm"}function Wa(){return!Ei()&amp;&amp;Object.prototype.toString.call(typeof process&lt;"u"?process:0)==="[object process]"}function Tr(){return typeof window&lt;"u"&amp;&amp;(!Wa()||zd())}function zd(){return I.process?.type==="renderer"}l();var z=I,Ti=0;function bi(){return Ti&gt;0}function sf(){Ti++,setTimeout(()=&gt;{Ti--})}function Tt(e,t={}){function n(o){return typeof o=="function"}if(!n(e))return e;try{let o=e.__sentry_wrapped__;if(o)return typeof o=="function"?o:e;if(Et(e))return e}catch{return e}let r=function(...o){try{let i=o.map(s=&gt;Tt(s,t));return e.apply(this,i)}catch(i){throw sf(),Qn(s=&gt;{s.addEventProcessor(a=&gt;(t.mechanism&amp;&amp;(Rt(a,void 0,void 0),Fe(a,t.mechanism)),a.extra={...a.extra,arguments:o},a)),Pt(i)}),i}};try{for(let o in e)Object.prototype.hasOwnProperty.call(e,o)&amp;&amp;(r[o]=e[o])}catch{}Vn(r,e),ue(e,"__sentry_wrapped__",r);try{Object.getOwnPropertyDescriptor(r,"name").configurable&amp;&amp;Object.defineProperty(r,"name",{get(){return e.name}})}catch{}return r}l();l();function br(e,t){let n=xi(e,t),r={type:df(t),value:ff(t)};return n.length&amp;&amp;(r.stacktrace={frames:n}),r.type===void 0&amp;&amp;r.value===""&amp;&amp;(r.value="Unrecoverable error caught"),r}function af(e,t,n,r){let i=U()?.getOptions().normalizeDepth,s=hf(t),a={__serialized__:ir(t,i)};if(s)return{exception:{values:[br(e,s)]},extra:a};let c={exception:{values:[{type:St(t)?t.constructor.name:r?"UnhandledRejection":"Error",value:pf(t,{isUnhandledRejection:r})}]},extra:a};if(n){let u=xi(e,n);u.length&amp;&amp;(c.exception.values[0].stacktrace={frames:u})}return c}function vi(e,t){return{exception:{values:[br(e,t)]}}}function xi(e,t){let n=t.stacktrace||t.stack||"",r=uf(t),o=lf(t);try{return e(n,r,o)}catch{}return[]}var cf=/Minified React error #\d+;/i;function uf(e){return e&amp;&amp;cf.test(e.message)?1:0}function lf(e){return typeof e.framesToPop=="number"?e.framesToPop:0}function za(e){return typeof WebAssembly&lt;"u"&amp;&amp;typeof WebAssembly.Exception&lt;"u"?e instanceof WebAssembly.Exception:!1}function df(e){let t=e?.name;return!t&amp;&amp;za(e)?e.message&amp;&amp;Array.isArray(e.message)&amp;&amp;e.message.length==2?e.message[0]:"WebAssembly.Exception":t}function ff(e){let t=e?.message;return za(e)?Array.isArray(e.message)&amp;&amp;e.message.length==2?e.message[1]:"wasm exception":t?t.error&amp;&amp;typeof t.error.message=="string"?t.error.message:t:"No error message"}function Ga(e,t,n,r){let o=n?.syntheticException||void 0,i=vr(e,t,o,r);return Fe(i),i.level="error",n?.event_id&amp;&amp;(i.event_id=n.event_id),le(i)}function qa(e,t,n="info",r,o){let i=r?.syntheticException||void 0,s=wi(e,t,i,o);return s.level=n,r?.event_id&amp;&amp;(s.event_id=r.event_id),le(s)}function vr(e,t,n,r,o){let i;if(zn(t)&amp;&amp;t.error)return vi(e,t.error);if(Gn(t)||Mo(t)){let s=t;if("stack"in t)i=vi(e,t);else{let a=s.name||(Gn(s)?"DOMError":"DOMException"),c=s.message?`${a}: ${s.message}`:a;i=wi(e,c,n,r),Rt(i,c)}return"code"in s&amp;&amp;(i.tags={...i.tags,"DOMException.code":`${s.code}`}),i}return _t(t)?vi(e,t):Ce(t)||St(t)?(i=af(e,t,n,o),Fe(i,{synthetic:!0}),i):(i=wi(e,t,n,r),Rt(i,`${t}`,void 0),Fe(i,{synthetic:!0}),i)}function wi(e,t,n,r){let o={};if(r&amp;&amp;n){let i=xi(e,n);i.length&amp;&amp;(o.exception={values:[{value:t,stacktrace:{frames:i}}]}),Fe(o,{synthetic:!0})}if(Ct(t)){let{__sentry_template_string__:i,__sentry_template_values__:s}=t;return o.logentry={message:i,params:s},o}return o.message=t,o}function pf(e,{isUnhandledRejection:t}){let n=Fo(e),r=t?"promise rejection":"exception";return zn(e)?`Event \`ErrorEvent\` captured as ${r} with message \`${e.message}\``:St(e)?`Event \`${mf(e)}\` (type=${e.type}) captured as ${r}`:`Object captured as ${r} with keys: ${n}`}function mf(e){try{let t=Object.getPrototypeOf(e);return t?t.constructor.name:void 0}catch{}}function hf(e){for(let t in e)if(Object.prototype.hasOwnProperty.call(e,t)){let n=e[t];if(n instanceof Error)return n}}var wr=class extends ln{constructor(t){let n={parentSpanIsAlwaysRootSpan:!0,...t},r=z.SENTRY_SDK_SOURCE||Ii();pn(n,"browser",["browser"],r),super(n),n.sendClientReports&amp;&amp;z.document&amp;&amp;z.document.addEventListener("visibilitychange",()=&gt;{z.document.visibilityState==="hidden"&amp;&amp;this._flushOutcomes()}),this._options.sendDefaultPii&amp;&amp;(this.on("postprocessEvent",li),this.on("beforeSendSession",di))}eventFromException(t,n){return Ga(this._options.stackParser,t,n,this._options.attachStacktrace)}eventFromMessage(t,n="info",r){return qa(this._options.stackParser,t,n,r,this._options.attachStacktrace)}_prepareEvent(t,n,r,o){return t.platform=t.platform||"javascript",super._prepareEvent(t,n,r,o)}};l();l();l();l();var bt=typeof __SENTRY_DEBUG__&gt;"u"||__SENTRY_DEBUG__;l();l();var gf=(e,t)=&gt;e&gt;t[1]?"poor":e&gt;t[0]?"needs-improvement":"good",He=(e,t,n,r)=&gt;{let o,i;return s=&gt;{t.value&gt;=0&amp;&amp;(s||r)&amp;&amp;(i=t.value-(o||0),(i||o===void 0)&amp;&amp;(o=t.value,t.delta=i,t.rating=gf(t.value,n),e(t)))}};l();l();var C=I;l();var Va=()=&gt;`v4-${Date.now()}-${Math.floor(Math.random()*8999999999999)+1e12}`;l();l();var xr=(e=!0)=&gt;{let t=C.performance?.getEntriesByType?.("navigation")[0];if(!e||t&amp;&amp;t.responseStart&gt;0&amp;&amp;t.responseStart&lt;performance.now())return t};var Ut=()=&gt;xr()?.activationStart||0;var $e=(e,t)=&gt;{let n=xr(),r="navigate";return n&amp;&amp;(C.document?.prerendering||Ut()&gt;0?r="prerender":C.document?.wasDiscarded?r="restore":n.type&amp;&amp;(r=n.type.replace(/_/g,"-"))),{name:e,value:typeof t&gt;"u"?-1:t,rating:"good",delta:0,entries:[],id:Va(),navigationType:r}};l();var Ee=(e,t,n)=&gt;{try{if(PerformanceObserver.supportedEntryTypes.includes(e)){let r=new PerformanceObserver(o=&gt;{Promise.resolve().then(()=&gt;{t(o.getEntries())})});return r.observe(Object.assign({type:e,buffered:!0},n||{})),r}}catch{}};l();var We=e=&gt;{let t=n=&gt;{(n.type==="pagehide"||C.document?.visibilityState==="hidden")&amp;&amp;e(n)};C.document&amp;&amp;(addEventListener("visibilitychange",t,!0),addEventListener("pagehide",t,!0))};l();var st=e=&gt;{let t=!1;return()=&gt;{t||(e(),t=!0)}};l();l();var yn=-1,_f=()=&gt;C.document.visibilityState==="hidden"&amp;&amp;!C.document.prerendering?0:1/0,kr=e=&gt;{C.document.visibilityState==="hidden"&amp;&amp;yn&gt;-1&amp;&amp;(yn=e.type==="visibilitychange"?e.timeStamp:0,Sf())},yf=()=&gt;{addEventListener("visibilitychange",kr,!0),addEventListener("prerenderingchange",kr,!0)},Sf=()=&gt;{removeEventListener("visibilitychange",kr,!0),removeEventListener("prerenderingchange",kr,!0)},Ht=()=&gt;(C.document&amp;&amp;yn&lt;0&amp;&amp;(yn=_f(),yf()),{get firstHiddenTime(){return yn}});l();var at=e=&gt;{C.document?.prerendering?addEventListener("prerenderingchange",()=&gt;e(),!0):e()};var Ef=[1800,3e3],Ya=(e,t={})=&gt;{at(()=&gt;{let n=Ht(),r=$e("FCP"),o,s=Ee("paint",a=&gt;{a.forEach(c=&gt;{c.name==="first-contentful-paint"&amp;&amp;(s.disconnect(),c.startTime&lt;n.firstHiddenTime&amp;&amp;(r.value=Math.max(c.startTime-Ut(),0),r.entries.push(c),o(!0)))})});s&amp;&amp;(o=He(e,r,Ef,t.reportAllChanges))})};var If=[.1,.25],Ka=(e,t={})=&gt;{Ya(st(()=&gt;{let n=$e("CLS",0),r,o=0,i=[],s=c=&gt;{c.forEach(u=&gt;{if(!u.hadRecentInput){let f=i[0],d=i[i.length-1];o&amp;&amp;f&amp;&amp;d&amp;&amp;u.startTime-d.startTime&lt;1e3&amp;&amp;u.startTime-f.startTime&lt;5e3?(o+=u.value,i.push(u)):(o=u.value,i=[u])}}),o&gt;n.value&amp;&amp;(n.value=o,n.entries=i,r())},a=Ee("layout-shift",s);a&amp;&amp;(r=He(e,n,If,t.reportAllChanges),We(()=&gt;{s(a.takeRecords()),r(!0)}),setTimeout(r,0))}))};l();var Tf=[100,300],Ja=(e,t={})=&gt;{at(()=&gt;{let n=Ht(),r=$e("FID"),o,i=c=&gt;{c.startTime&lt;n.firstHiddenTime&amp;&amp;(r.value=c.processingStart-c.startTime,r.entries.push(c),o(!0))},s=c=&gt;{c.forEach(i)},a=Ee("first-input",s);o=He(e,r,Tf,t.reportAllChanges),a&amp;&amp;We(st(()=&gt;{s(a.takeRecords()),a.disconnect()}))})};l();l();l();var Xa=0,ki=1/0,Cr=0,bf=e=&gt;{e.forEach(t=&gt;{t.interactionId&amp;&amp;(ki=Math.min(ki,t.interactionId),Cr=Math.max(Cr,t.interactionId),Xa=Cr?(Cr-ki)/7+1:0)})},Ci,Qa=()=&gt;Ci?Xa:performance.interactionCount||0,Za=()=&gt;{"interactionCount"in performance||Ci||(Ci=Ee("event",bf,{type:"event",buffered:!0,durationThreshold:0}))};var Je=[],Ri=new Map,ec=40,vf=0,wf=()=&gt;Qa()-vf,tc=()=&gt;{let e=Math.min(Je.length-1,Math.floor(wf()/50));return Je[e]},Mi=10,xf=[],nc=e=&gt;{if(xf.forEach(r=&gt;r(e)),!(e.interactionId||e.entryType==="first-input"))return;let t=Je[Je.length-1],n=Ri.get(e.interactionId);if(n||Je.length&lt;Mi||t&amp;&amp;e.duration&gt;t.latency){if(n)e.duration&gt;n.latency?(n.entries=[e],n.latency=e.duration):e.duration===n.latency&amp;&amp;e.startTime===n.entries[0]?.startTime&amp;&amp;n.entries.push(e);else{let r={id:e.interactionId,latency:e.duration,entries:[e]};Ri.set(r.id,r),Je.push(r)}Je.sort((r,o)=&gt;o.latency-r.latency),Je.length&gt;Mi&amp;&amp;Je.splice(Mi).forEach(r=&gt;Ri.delete(r.id))}};l();var Rr=e=&gt;{let t=C.requestIdleCallback||C.setTimeout,n=-1;return e=st(e),C.document?.visibilityState==="hidden"?e():(n=t(e),We(e)),n};var kf=[200,500],rc=(e,t={})=&gt;{"PerformanceEventTiming"in C&amp;&amp;"interactionId"in PerformanceEventTiming.prototype&amp;&amp;at(()=&gt;{Za();let n=$e("INP"),r,o=s=&gt;{Rr(()=&gt;{s.forEach(nc);let a=tc();a&amp;&amp;a.latency!==n.value&amp;&amp;(n.value=a.latency,n.entries=a.entries,r())})},i=Ee("event",o,{durationThreshold:t.durationThreshold!=null?t.durationThreshold:ec});r=He(e,n,kf,t.reportAllChanges),i&amp;&amp;(i.observe({type:"first-input",buffered:!0}),We(()=&gt;{o(i.takeRecords()),r(!0)}))})};l();var Cf=[2500,4e3],oc={},ic=(e,t={})=&gt;{at(()=&gt;{let n=Ht(),r=$e("LCP"),o,i=a=&gt;{t.reportAllChanges||(a=a.slice(-1)),a.forEach(c=&gt;{c.startTime&lt;n.firstHiddenTime&amp;&amp;(r.value=Math.max(c.startTime-Ut(),0),r.entries=[c],o())})},s=Ee("largest-contentful-paint",i);if(s){o=He(e,r,Cf,t.reportAllChanges);let a=st(()=&gt;{oc[r.id]||(i(s.takeRecords()),s.disconnect(),oc[r.id]=!0,o(!0))});["keydown","click"].forEach(c=&gt;{C.document&amp;&amp;addEventListener(c,()=&gt;Rr(a),{once:!0,capture:!0})}),We(a)}})};var Sn={},Mr={},sc,ac,cc;var uc;function Oi(e,t=!1){return Or("cls",e,Rf,sc,t)}function Ai(e,t=!1){return Or("lcp",e,Of,cc,t)}function Ni(e){return Or("fid",e,Mf,ac)}function Di(e){return Or("inp",e,Af,uc)}function Li(e,t){return lc(e,t),Mr[e]||(Nf(e),Mr[e]=!0),dc(e,t)}function En(e,t){let n=Sn[e];if(n?.length)for(let r of n)try{r(t)}catch(o){bt&amp;&amp;g.error(`Error while triggering instrumentation handler.
Type: ${e}
Name: ${ge(r)}
Error:`,o)}}function Rf(){return Ka(e=&gt;{En("cls",{metric:e}),sc=e},{reportAllChanges:!0})}function Mf(){return Ja(e=&gt;{En("fid",{metric:e}),ac=e})}function Of(){return ic(e=&gt;{En("lcp",{metric:e}),cc=e},{reportAllChanges:!0})}function Af(){return rc(e=&gt;{En("inp",{metric:e}),uc=e})}function Or(e,t,n,r,o=!1){lc(e,t);let i;return Mr[e]||(i=n(),Mr[e]=!0),r&amp;&amp;t({metric:r}),dc(e,t,o?i:void 0)}function Nf(e){let t={};e==="event"&amp;&amp;(t.durationThreshold=0),Ee(e,n=&gt;{En(e,{entries:n})},t)}function lc(e,t){Sn[e]=Sn[e]||[],Sn[e].push(t)}function dc(e,t,n){return()=&gt;{n&amp;&amp;n();let r=Sn[e];if(!r)return;let o=r.indexOf(t);o!==-1&amp;&amp;r.splice(o,1)}}l();var Df=1e3,fc,Pi,Fi;function In(e){let t="dom";se(t,e),ae(t,Lf)}function Lf(){if(!C.document)return;let e=ee.bind(null,"dom"),t=pc(e,!0);C.document.addEventListener("click",t,!1),C.document.addEventListener("keypress",t,!1),["EventTarget","Node"].forEach(n=&gt;{let o=C[n]?.prototype;o?.hasOwnProperty?.("addEventListener")&amp;&amp;(X(o,"addEventListener",function(i){return function(s,a,c){if(s==="click"||s=="keypress")try{let u=this.__sentry_instrumentation_handlers__=this.__sentry_instrumentation_handlers__||{},f=u[s]=u[s]||{refCount:0};if(!f.handler){let d=pc(e);f.handler=d,i.call(this,s,d,c)}f.refCount++}catch{}return i.call(this,s,a,c)}}),X(o,"removeEventListener",function(i){return function(s,a,c){if(s==="click"||s=="keypress")try{let u=this.__sentry_instrumentation_handlers__||{},f=u[s];f&amp;&amp;(f.refCount--,f.refCount&lt;=0&amp;&amp;(i.call(this,s,f.handler,c),f.handler=void 0,delete u[s]),Object.keys(u).length===0&amp;&amp;delete this.__sentry_instrumentation_handlers__)}catch{}return i.call(this,s,a,c)}}))})}function Pf(e){if(e.type!==Pi)return!1;try{if(!e.target||e.target._sentryId!==Fi)return!1}catch{}return!0}function Ff(e,t){return e!=="keypress"?!1:t?.tagName?!(t.tagName==="INPUT"||t.tagName==="TEXTAREA"||t.isContentEditable):!0}function pc(e,t=!1){return n=&gt;{if(!n||n._sentryCaptured)return;let r=Bf(n);if(Ff(n.type,r))return;ue(n,"_sentryCaptured",!0),r&amp;&amp;!r._sentryId&amp;&amp;ue(r,"_sentryId",Q());let o=n.type==="keypress"?"input":n.type;Pf(n)||(e({event:n,name:o,global:t}),Pi=n.type,Fi=r?r._sentryId:void 0),clearTimeout(fc),fc=C.setTimeout(()=&gt;{Fi=void 0,Pi=void 0},Df)}}function Bf(e){try{return e.target}catch{return null}}l();var Ar;function vt(e){let t="history";se(t,e),ae(t,Uf)}function Uf(){if(C.addEventListener("popstate",()=&gt;{let t=C.location.href,n=Ar;if(Ar=t,n===t)return;ee("history",{from:n,to:t})}),!gi())return;function e(t){return function(...n){let r=n.length&gt;2?n[2]:void 0;if(r){let o=Ar,i=String(r);if(Ar=i,o===i)return t.apply(this,n);ee("history",{from:o,to:i})}return t.apply(this,n)}}X(C.history,"pushState",e),X(C.history,"replaceState",e)}l();var Nr={};function Dr(e){let t=Nr[e];if(t)return t;let n=C[e];if(_n(n))return Nr[e]=n.bind(C);let r=C.document;if(r&amp;&amp;typeof r.createElement=="function")try{let o=r.createElement("iframe");o.hidden=!0,r.head.appendChild(o);let i=o.contentWindow;i?.[e]&amp;&amp;(n=i[e]),r.head.removeChild(o)}catch(o){bt&amp;&amp;g.warn(`Could not create sandbox iframe for ${e} check, bailing to window.${e}: `,o)}return n&amp;&amp;(Nr[e]=n.bind(C))}function Lr(e){Nr[e]=void 0}function ct(...e){return Dr("setTimeout")(...e)}l();var Xe="__sentry_xhr_v3__";function Bi(e){let t="xhr";se(t,e),ae(t,Hf)}function Hf(){if(!C.XMLHttpRequest)return;let e=XMLHttpRequest.prototype;e.open=new Proxy(e.open,{apply(t,n,r){let o=new Error,i=_e()*1e3,s=ce(r[0])?r[0].toUpperCase():void 0,a=$f(r[1]);if(!s||!a)return t.apply(n,r);n[Xe]={method:s,url:a,request_headers:{}},s==="POST"&amp;&amp;a.match(/sentry_key/)&amp;&amp;(n.__sentry_own_request__=!0);let c=()=&gt;{let u=n[Xe];if(u&amp;&amp;n.readyState===4){try{u.status_code=n.status}catch{}let f={endTimestamp:_e()*1e3,startTimestamp:i,xhr:n,virtualError:o};ee("xhr",f)}};return"onreadystatechange"in n&amp;&amp;typeof n.onreadystatechange=="function"?n.onreadystatechange=new Proxy(n.onreadystatechange,{apply(u,f,d){return c(),u.apply(f,d)}}):n.addEventListener("readystatechange",c),n.setRequestHeader=new Proxy(n.setRequestHeader,{apply(u,f,d){let[p,m]=d,h=f[Xe];return h&amp;&amp;ce(p)&amp;&amp;ce(m)&amp;&amp;(h.request_headers[p.toLowerCase()]=m),u.apply(f,d)}}),t.apply(n,r)}}),e.send=new Proxy(e.send,{apply(t,n,r){let o=n[Xe];if(!o)return t.apply(n,r);r[0]!==void 0&amp;&amp;(o.body=r[0]);let i={startTimestamp:_e()*1e3,xhr:n};return ee("xhr",i),t.apply(n,r)}})}function $f(e){if(ce(e))return e;try{return e.toString()}catch{}}l();function Pr(e){return new URLSearchParams(e).toString()}function Fr(e,t=g){try{if(typeof e=="string")return[e];if(e instanceof URLSearchParams)return[e.toString()];if(e instanceof FormData)return[Pr(e)];if(!e)return[void 0]}catch(n){return bt&amp;&amp;t.error(n,"Failed to serialize body",e),[void 0,"BODY_PARSE_ERROR"]}return bt&amp;&amp;t.info("Skipping network body because of body type",e),[void 0,"UNPARSEABLE_BODY_TYPE"]}function Br(e=[]){if(!(e.length!==2||typeof e[1]!="object"))return e[1].body}function mc(e,t=Dr("fetch")){let n=0,r=0;function o(i){let s=i.body.length;n+=s,r++;let a={body:i.body,method:"POST",referrerPolicy:"strict-origin",headers:e.headers,keepalive:n&lt;=6e4&amp;&amp;r&lt;15,...e.fetchOptions};if(!t)return Lr("fetch"),rt("No fetch implementation available");try{return t(e.url,a).then(c=&gt;(n-=s,r--,{statusCode:c.status,headers:{"x-sentry-rate-limits":c.headers.get("X-Sentry-Rate-Limits"),"retry-after":c.headers.get("Retry-After")}}))}catch(c){return Lr("fetch"),n-=s,r--,rt(c)}}return hr(e,o)}l();var Wf=30;var jf=50;function Ui(e,t,n,r){let o={filename:e,function:t==="&lt;anonymous&gt;"?Ne:t,in_app:!0};return n!==void 0&amp;&amp;(o.lineno=n),r!==void 0&amp;&amp;(o.colno=r),o}var zf=/^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i,Gf=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:&lt;anonymous&gt;|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,qf=/\((\S*)(?::(\d+))(?::(\d+))\)/,Vf=e=&gt;{let t=zf.exec(e);if(t){let[,r,o,i]=t;return Ui(r,Ne,+o,+i)}let n=Gf.exec(e);if(n){if(n[2]&amp;&amp;n[2].indexOf("eval")===0){let s=qf.exec(n[2]);s&amp;&amp;(n[2]=s[1],n[3]=s[2],n[4]=s[3])}let[o,i]=gc(n[1]||Ne,n[2]);return Ui(i,o,n[3]?+n[3]:void 0,n[4]?+n[4]:void 0)}},Yf=[Wf,Vf],Kf=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,Jf=/(\S+) line (\d+)(?: &gt; eval line \d+)* &gt; eval/i,Xf=e=&gt;{let t=Kf.exec(e);if(t){if(t[3]&amp;&amp;t[3].indexOf(" &gt; eval")&gt;-1){let i=Jf.exec(t[3]);i&amp;&amp;(t[1]=t[1]||"eval",t[3]=i[1],t[4]=i[2],t[5]="")}let r=t[3],o=t[1]||Ne;return[o,r]=gc(o,r),Ui(r,o,t[4]?+t[4]:void 0,t[5]?+t[5]:void 0)}},Qf=[jf,Xf];var Zf=[Yf,Qf],hc=$n(...Zf),gc=(e,t)=&gt;{let n=e.indexOf("safari-extension")!==-1,r=e.indexOf("safari-web-extension")!==-1;return n||r?[e.indexOf("@")!==-1?e.split("@")[0]:Ne,n?`safari-extension:${t}`:`safari-web-extension:${t}`]:[e,t]};l();l();var Qe=typeof __SENTRY_DEBUG__&gt;"u"||__SENTRY_DEBUG__;l();var Ur=1024,ep="Breadcrumbs",tp=(e={})=&gt;{let t={console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0,...e};return{name:ep,setup(n){t.console&amp;&amp;hi(op(n)),t.dom&amp;&amp;In(rp(n,t.dom)),t.xhr&amp;&amp;Bi(ip(n)),t.fetch&amp;&amp;Si(sp(n)),t.history&amp;&amp;vt(ap(n)),t.sentry&amp;&amp;n.on("beforeSendEvent",np(n))}}},_c=tp;function np(e){return function(n){U()===e&amp;&amp;we({category:`sentry.${n.type==="transaction"?"transaction":"event"}`,event_id:n.event_id,level:n.level,message:Re(n)},{event:n})}}function rp(e,t){return function(r){if(U()!==e)return;let o,i,s=typeof t=="object"?t.serializeAttribute:void 0,a=typeof t=="object"&amp;&amp;typeof t.maxStringLength=="number"?t.maxStringLength:void 0;a&amp;&amp;a&gt;Ur&amp;&amp;(Qe&amp;&amp;g.warn(`\`dom.maxStringLength\` cannot exceed ${Ur}, but a value of ${a} was configured. Sentry will use ${Ur} instead.`),a=Ur),typeof s=="string"&amp;&amp;(s=[s]);try{let u=r.event,f=cp(u)?u.target:u;o=tt(f,{keyAttrs:s,maxStringLength:a}),i=Lo(f)}catch{o="&lt;unknown&gt;"}if(o.length===0)return;let c={category:`ui.${r.name}`,message:o};i&amp;&amp;(c.data={"ui.component_name":i}),we(c,{event:r.event,name:r.name,global:r.global})}}function op(e){return function(n){if(U()!==e)return;let r={category:"console",data:{arguments:n.args,logger:"console"},level:mn(n.level),message:qn(n.args," ")};if(n.level==="assert")if(n.args[0]===!1)r.message=`Assertion failed: ${qn(n.args.slice(1)," ")||"console.assert"}`,r.data.arguments=n.args.slice(1);else return;we(r,{input:n.args,level:n.level})}}function ip(e){return function(n){if(U()!==e)return;let{startTimestamp:r,endTimestamp:o}=n,i=n.xhr[Xe];if(!r||!o||!i)return;let{method:s,url:a,status_code:c,body:u}=i,f={method:s,url:a,status_code:c},d={xhr:n.xhr,input:u,startTimestamp:r,endTimestamp:o},p={category:"xhr",data:f,type:"http",level:Er(c)};e.emit("beforeOutgoingRequestBreadcrumb",p,d),we(p,d)}}function sp(e){return function(n){if(U()!==e)return;let{startTimestamp:r,endTimestamp:o}=n;if(o&amp;&amp;!(n.fetchData.url.match(/sentry_key/)&amp;&amp;n.fetchData.method==="POST"))if(n.fetchData.method,n.fetchData.url,n.error){let i=n.fetchData,s={data:n.error,input:n.args,startTimestamp:r,endTimestamp:o},a={category:"fetch",data:i,level:"error",type:"http"};e.emit("beforeOutgoingRequestBreadcrumb",a,s),we(a,s)}else{let i=n.response,s={...n.fetchData,status_code:i?.status};n.fetchData.request_body_size,n.fetchData.response_body_size,i?.status;let a={input:n.args,response:i,startTimestamp:r,endTimestamp:o},c={category:"fetch",data:s,type:"http",level:Er(s.status_code)};e.emit("beforeOutgoingRequestBreadcrumb",c,a),we(c,a)}}}function ap(e){return function(n){if(U()!==e)return;let r=n.from,o=n.to,i=hn(z.location.href),s=r?hn(r):void 0,a=hn(o);s?.path||(s=i),i.protocol===a.protocol&amp;&amp;i.host===a.host&amp;&amp;(o=a.relative),i.protocol===s.protocol&amp;&amp;i.host===s.host&amp;&amp;(r=s.relative),we({category:"navigation",data:{from:r,to:o}})}}function cp(e){return!!e&amp;&amp;!!e.target}l();var up=["EventTarget","Window","Node","ApplicationCache","AudioTrackList","BroadcastChannel","ChannelMergerNode","CryptoOperation","EventSource","FileReader","HTMLUnknownElement","IDBDatabase","IDBRequest","IDBTransaction","KeyOperation","MediaController","MessagePort","ModalWindow","Notification","SVGElementInstance","Screen","SharedWorker","TextTrack","TextTrackCue","TextTrackList","WebSocket","WebSocketWorker","Worker","XMLHttpRequest","XMLHttpRequestEventTarget","XMLHttpRequestUpload"],lp="BrowserApiErrors",dp=(e={})=&gt;{let t={XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0,...e};return{name:lp,setupOnce(){t.setTimeout&amp;&amp;X(z,"setTimeout",yc),t.setInterval&amp;&amp;X(z,"setInterval",yc),t.requestAnimationFrame&amp;&amp;X(z,"requestAnimationFrame",fp),t.XMLHttpRequest&amp;&amp;"XMLHttpRequest"in z&amp;&amp;X(XMLHttpRequest.prototype,"send",pp);let n=t.eventTarget;n&amp;&amp;(Array.isArray(n)?n:up).forEach(mp)}}},Sc=dp;function yc(e){return function(...t){let n=t[0];return t[0]=Tt(n,{mechanism:{data:{function:ge(e)},handled:!1,type:"instrument"}}),e.apply(this,t)}}function fp(e){return function(t){return e.apply(this,[Tt(t,{mechanism:{data:{function:"requestAnimationFrame",handler:ge(e)},handled:!1,type:"instrument"}})])}}function pp(e){return function(...t){let n=this;return["onload","onerror","onprogress","onreadystatechange"].forEach(o=&gt;{o in n&amp;&amp;typeof n[o]=="function"&amp;&amp;X(n,o,function(i){let s={mechanism:{data:{function:o,handler:ge(i)},handled:!1,type:"instrument"}},a=Et(i);return a&amp;&amp;(s.mechanism.data.handler=ge(a)),Tt(i,s)})}),e.apply(this,t)}}function mp(e){let n=z[e]?.prototype;n?.hasOwnProperty?.("addEventListener")&amp;&amp;(X(n,"addEventListener",function(r){return function(o,i,s){try{hp(i)&amp;&amp;(i.handleEvent=Tt(i.handleEvent,{mechanism:{data:{function:"handleEvent",handler:ge(i),target:e},handled:!1,type:"instrument"}}))}catch{}return r.apply(this,[o,Tt(i,{mechanism:{data:{function:"addEventListener",handler:ge(i),target:e},handled:!1,type:"instrument"}}),s])}}),X(n,"removeEventListener",function(r){return function(o,i,s){try{let a=i.__sentry_wrapped__;a&amp;&amp;r.call(this,o,a,s)}catch{}return r.call(this,o,i,s)}}))}function hp(e){return typeof e.handleEvent=="function"}l();var Ec=()=&gt;({name:"BrowserSession",setupOnce(){if(typeof z.document&gt;"u"){Qe&amp;&amp;g.warn("Using the `browserSessionIntegration` in non-browser environments is not supported.");return}cn({ignoreDuration:!0}),un(),vt(({from:e,to:t})=&gt;{e!==void 0&amp;&amp;e!==t&amp;&amp;(cn({ignoreDuration:!0}),un())})}});l();var gp="GlobalHandlers",_p=(e={})=&gt;{let t={onerror:!0,onunhandledrejection:!0,...e};return{name:gp,setupOnce(){Error.stackTraceLimit=50},setup(n){t.onerror&amp;&amp;(yp(n),Ic("onerror")),t.onunhandledrejection&amp;&amp;(Sp(n),Ic("onunhandledrejection"))}}},Tc=_p;function yp(e){ko(t=&gt;{let{stackParser:n,attachStacktrace:r}=bc();if(U()!==e||bi())return;let{msg:o,url:i,line:s,column:a,error:c}=t,u=Tp(vr(n,c||o,void 0,r,!1),i,s,a);u.level="error",an(u,{originalException:c,mechanism:{handled:!1,type:"onerror"}})})}function Sp(e){Ro(t=&gt;{let{stackParser:n,attachStacktrace:r}=bc();if(U()!==e||bi())return;let o=Ep(t),i=yt(o)?Ip(o):vr(n,o,void 0,r,!0);i.level="error",an(i,{originalException:o,mechanism:{handled:!1,type:"onunhandledrejection"}})})}function Ep(e){if(yt(e))return e;try{if("reason"in e)return e.reason;if("detail"in e&amp;&amp;"reason"in e.detail)return e.detail.reason}catch{}return e}function Ip(e){return{exception:{values:[{type:"UnhandledRejection",value:`Non-Error promise rejection captured with value: ${String(e)}`}]}}}function Tp(e,t,n,r){let o=e.exception=e.exception||{},i=o.values=o.values||[],s=i[0]=i[0]||{},a=s.stacktrace=s.stacktrace||{},c=a.frames=a.frames||[],u=r,f=n,d=ce(t)&amp;&amp;t.length&gt;0?t:Ve();return c.length===0&amp;&amp;c.push({colno:u,filename:d,function:Ne,in_app:!0,lineno:f}),e}function Ic(e){Qe&amp;&amp;g.log(`Global Handler attached: ${e}`)}function bc(){return U()?.getOptions()||{stackParser:()=&gt;[],attachStacktrace:!1}}l();var vc=()=&gt;({name:"HttpContext",preprocessEvent(e){if(!z.navigator&amp;&amp;!z.location&amp;&amp;!z.document)return;let t=e.request?.url||Ve(),{referrer:n}=z.document||{},{userAgent:r}=z.navigator||{},o={...e.request?.headers,...n&amp;&amp;{Referer:n},...r&amp;&amp;{"User-Agent":r}},i={...e.request,...t&amp;&amp;{url:t},headers:o};e.request=i}});l();var bp="cause",vp=5,wp="LinkedErrors",xp=(e={})=&gt;{let t=e.limit||vp,n=e.key||bp;return{name:wp,preprocessEvent(r,o,i){let s=i.getOptions();mi(br,s.stackParser,s.maxValueLength,n,t,r,o)}}},wc=xp;function xc(e){return[yr(),gr(),Sc(),_c(),Tc(),wc(),Sr(),vc(),Ec()]}function kp(e={}){return{...{defaultIntegrations:xc(),release:typeof __SENTRY_RELEASE__=="string"?__SENTRY_RELEASE__:z.SENTRY_RELEASE?.id,sendClientReports:!0},...Cp(e)}}function Cp(e){let t={};for(let n of Object.getOwnPropertyNames(e)){let r=n;e[r]!==void 0&amp;&amp;(t[r]=e[r])}return t}function Rp(){let e=typeof z.window&lt;"u"&amp;&amp;z;if(!e)return!1;let t=e.chrome?"chrome":"browser",r=e[t]?.runtime?.id,o=Ve()||"",i=["chrome-extension:","moz-extension:","ms-browser-extension:","safari-web-extension:"],s=!!r&amp;&amp;z===z.top&amp;&amp;i.some(c=&gt;o.startsWith(`${c}//`)),a=typeof e.nw&lt;"u";return!!r&amp;&amp;!s&amp;&amp;!a}function Hi(e={}){let t=kp(e);if(!t.skipBrowserExtensionCheck&amp;&amp;Rp()){Qe&amp;&amp;he(()=&gt;{console.error("[Sentry] You cannot run Sentry this way in a browser extension, check: https://docs.sentry.io/platforms/javascript/best-practices/browser-extensions/")});return}Qe&amp;&amp;!Ir()&amp;&amp;g.warn("No Fetch API detected. The Sentry SDK requires a Fetch API compatible environment to send events. Please add a Fetch API polyfill.");let n={...t,stackParser:wo(t.stackParser||hc),integrations:ri(t),transport:t.transport||mc};return ai(wr,n)}l();var q=I,ms="sentryReplaySession",Mp="replay_event",hs="Unable to send Replay",Op=3e5,Ap=9e5,Np=5e3,Dp=5500,Lp=6e4,Pp=5e3,Fp=3,kc=15e4,Hr=5e3,Bp=3e3,Up=300,gs=2e7,Hp=4999,$p=15e3,Cc=36e5,Wp=Object.defineProperty,jp=(e,t,n)=&gt;t in e?Wp(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Rc=(e,t,n)=&gt;jp(e,typeof t!="symbol"?t+"":t,n),ne=(e=&gt;(e[e.Document=0]="Document",e[e.DocumentType=1]="DocumentType",e[e.Element=2]="Element",e[e.Text=3]="Text",e[e.CDATA=4]="CDATA",e[e.Comment=5]="Comment",e))(ne||{});function zp(e){return e.nodeType===e.ELEMENT_NODE}function vn(e){return e?.host?.shadowRoot===e}function wn(e){return Object.prototype.toString.call(e)==="[object ShadowRoot]"}function Gp(e){return e.includes(" background-clip: text;")&amp;&amp;!e.includes(" -webkit-background-clip: text;")&amp;&amp;(e=e.replace(/\sbackground-clip:\s*text;/g," -webkit-background-clip: text; background-clip: text;")),e}function qp(e){let{cssText:t}=e;if(t.split('"').length&lt;3)return t;let n=["@import",`url(${JSON.stringify(e.href)})`];return e.layerName===""?n.push("layer"):e.layerName&amp;&amp;n.push(`layer(${e.layerName})`),e.supportsText&amp;&amp;n.push(`supports(${e.supportsText})`),e.media.length&amp;&amp;n.push(e.media.mediaText),n.join(" ")+";"}function qr(e){try{let t=e.rules||e.cssRules;return t?Gp(Array.from(t,Xc).join("")):null}catch{return null}}function Vp(e){let t="";for(let n=0;n&lt;e.style.length;n++){let r=e.style,o=r[n],i=r.getPropertyPriority(o);t+=`${o}:${r.getPropertyValue(o)}${i?" !important":""};`}return`${e.selectorText} { ${t} }`}function Xc(e){let t;if(Kp(e))try{t=qr(e.styleSheet)||qp(e)}catch{}else if(Jp(e)){let n=e.cssText,r=e.selectorText.includes(":"),o=typeof e.style.all=="string"&amp;&amp;e.style.all;if(o&amp;&amp;(n=Vp(e)),r&amp;&amp;(n=Yp(n)),r||o)return n}return t||e.cssText}function Yp(e){let t=/(\[(?:[\w-]+)[^\\])(:(?:[\w-]+)\])/gm;return e.replace(t,"$1\\$2")}function Kp(e){return"styleSheet"in e}function Jp(e){return"selectorText"in e}var Vr=class{constructor(){Rc(this,"idNodeMap",new Map),Rc(this,"nodeMetaMap",new WeakMap)}getId(t){return t?this.getMeta(t)?.id??-1:-1}getNode(t){return this.idNodeMap.get(t)||null}getIds(){return Array.from(this.idNodeMap.keys())}getMeta(t){return this.nodeMetaMap.get(t)||null}removeNodeFromMap(t){let n=this.getId(t);this.idNodeMap.delete(n),t.childNodes&amp;&amp;t.childNodes.forEach(r=&gt;this.removeNodeFromMap(r))}has(t){return this.idNodeMap.has(t)}hasNode(t){return this.nodeMetaMap.has(t)}add(t,n){let r=n.id;this.idNodeMap.set(r,t),this.nodeMetaMap.set(t,n)}replace(t,n){let r=this.getNode(t);if(r){let o=this.nodeMetaMap.get(r);o&amp;&amp;this.nodeMetaMap.set(n,o)}this.idNodeMap.set(t,n)}reset(){this.idNodeMap=new Map,this.nodeMetaMap=new WeakMap}};function Xp(){return new Vr}function oo({maskInputOptions:e,tagName:t,type:n}){return t==="OPTION"&amp;&amp;(t="SELECT"),!!(e[t.toLowerCase()]||n&amp;&amp;e[n]||n==="password"||t==="INPUT"&amp;&amp;!n&amp;&amp;e.text)}function kn({isMasked:e,element:t,value:n,maskInputFn:r}){let o=n||"";return e?(r&amp;&amp;(o=r(o,t)),"*".repeat(o.length)):o}function Yt(e){return e.toLowerCase()}function Gi(e){return e.toUpperCase()}var Mc="__rrweb_original__";function Qp(e){let t=e.getContext("2d");if(!t)return!0;let n=50;for(let r=0;r&lt;e.width;r+=n)for(let o=0;o&lt;e.height;o+=n){let i=t.getImageData,s=Mc in i?i[Mc]:i;if(new Uint32Array(s.call(t,r,o,Math.min(n,e.width-r),Math.min(n,e.height-o)).data.buffer).some(c=&gt;c!==0))return!1}return!0}function _s(e){let t=e.type;return e.hasAttribute("data-rr-is-password")?"password":t?Yt(t):null}function Yr(e,t,n){return t==="INPUT"&amp;&amp;(n==="radio"||n==="checkbox")?e.getAttribute("value")||"":e.value}function Qc(e,t){let n;try{n=new URL(e,t??window.location.href)}catch{return null}let r=/\.([0-9a-z]+)(?:$)/i;return n.pathname.match(r)?.[1]??null}var Oc={};function Zc(e){let t=Oc[e];if(t)return t;let n=window.document,r=window[e];if(n&amp;&amp;typeof n.createElement=="function")try{let o=n.createElement("iframe");o.hidden=!0,n.head.appendChild(o);let i=o.contentWindow;i&amp;&amp;i[e]&amp;&amp;(r=i[e]),n.head.removeChild(o)}catch{}return Oc[e]=r.bind(window)}function qi(...e){return Zc("setTimeout")(...e)}function eu(...e){return Zc("clearTimeout")(...e)}function tu(e){try{return e.contentDocument}catch{}}var Zp=1,em=new RegExp("[^a-z0-9-_:]"),Cn=-2;function ys(){return Zp++}function tm(e){if(e instanceof HTMLFormElement)return"form";let t=Yt(e.tagName);return em.test(t)?"div":t}function nm(e){let t="";return e.indexOf("//")&gt;-1?t=e.split("/").slice(0,3).join("/"):t=e.split("/")[0],t=t.split("?")[0],t}var $t,Ac,rm=/url\((?:(')([^']*)'|(")(.*?)"|([^)]*))\)/gm,om=/^(?:[a-z+]+:)?\/\//i,im=/^www\..*/i,sm=/^(data:)([^,]*),(.*)/i;function Kr(e,t){return(e||"").replace(rm,(n,r,o,i,s,a)=&gt;{let c=o||s||a,u=r||i||"";if(!c)return n;if(om.test(c)||im.test(c))return`url(${u}${c}${u})`;if(sm.test(c))return`url(${u}${c}${u})`;if(c[0]==="/")return`url(${u}${nm(t)+c}${u})`;let f=t.split("/"),d=c.split("/");f.pop();for(let p of d)p!=="."&amp;&amp;(p===".."?f.pop():f.push(p));return`url(${u}${f.join("/")}${u})`})}var am=/^[^ \t\n\r\u000c]+/,cm=/^[, \t\n\r\u000c]+/;function um(e,t){if(t.trim()==="")return t;let n=0;function r(i){let s,a=i.exec(t.substring(n));return a?(s=a[0],n+=s.length,s):""}let o=[];for(;r(cm),!(n&gt;=t.length);){let i=r(am);if(i.slice(-1)===",")i=zt(e,i.substring(0,i.length-1)),o.push(i);else{let s="";i=zt(e,i);let a=!1;for(;;){let c=t.charAt(n);if(c===""){o.push((i+s).trim());break}else if(a)c===")"&amp;&amp;(a=!1);else if(c===","){n+=1,o.push((i+s).trim());break}else c==="("&amp;&amp;(a=!0);s+=c,n+=1}}}return o.join(", ")}var Nc=new WeakMap;function zt(e,t){return!t||t.trim()===""?t:io(e,t)}function lm(e){return!!(e.tagName==="svg"||e.ownerSVGElement)}function io(e,t){let n=Nc.get(e);if(n||(n=e.createElement("a"),Nc.set(e,n)),!t)t="";else if(t.startsWith("blob:")||t.startsWith("data:"))return t;return n.setAttribute("href",t),n.href}function nu(e,t,n,r,o,i){return r&amp;&amp;(n==="src"||n==="href"&amp;&amp;!(t==="use"&amp;&amp;r[0]==="#")||n==="xlink:href"&amp;&amp;r[0]!=="#"||n==="background"&amp;&amp;(t==="table"||t==="td"||t==="th")?zt(e,r):n==="srcset"?um(e,r):n==="style"?Kr(r,io(e)):t==="object"&amp;&amp;n==="data"?zt(e,r):typeof i=="function"?i(n,r,o):r)}function ru(e,t,n){return(e==="video"||e==="audio")&amp;&amp;t==="autoplay"}function ou(e,t,n,r){try{if(r&amp;&amp;e.matches(r))return!1;if(typeof t=="string"){if(e.classList.contains(t))return!0}else for(let o=e.classList.length;o--;){let i=e.classList[o];if(t.test(i))return!0}if(n)return e.matches(n)}catch{}return!1}function dm(e,t){for(let n=e.classList.length;n--;){let r=e.classList[n];if(t.test(r))return!0}return!1}function wt(e,t,n=1/0,r=0){return!e||e.nodeType!==e.ELEMENT_NODE||r&gt;n?-1:t(e)?r:wt(e.parentNode,t,n,r+1)}function Gt(e,t){return n=&gt;{let r=n;if(r===null)return!1;try{if(e){if(typeof e=="string"){if(r.matches(`.${e}`))return!0}else if(dm(r,e))return!0}return!!(t&amp;&amp;r.matches(t))}catch{return!1}}}function Kt(e,t,n,r,o,i){try{let s=e.nodeType===e.ELEMENT_NODE?e:e.parentElement;if(s===null)return!1;if(s.tagName==="INPUT"){let u=s.getAttribute("autocomplete");if(["current-password","new-password","cc-number","cc-exp","cc-exp-month","cc-exp-year","cc-csc"].includes(u))return!0}let a=-1,c=-1;if(i){if(c=wt(s,Gt(r,o)),c&lt;0)return!0;a=wt(s,Gt(t,n),c&gt;=0?c:1/0)}else{if(a=wt(s,Gt(t,n)),a&lt;0)return!1;c=wt(s,Gt(r,o),a&gt;=0?a:1/0)}return a&gt;=0?c&gt;=0?a&lt;=c:!0:c&gt;=0?!1:!!i}catch{}return!!i}function fm(e,t,n){let r=e.contentWindow;if(!r)return;let o=!1,i;try{i=r.document.readyState}catch{return}if(i!=="complete"){let a=qi(()=&gt;{o||(t(),o=!0)},n);e.addEventListener("load",()=&gt;{eu(a),o=!0,t()});return}let s="about:blank";if(r.location.href!==s||e.src===s||e.src==="")return qi(t,0),e.addEventListener("load",t);e.addEventListener("load",t)}function pm(e,t,n){let r=!1,o;try{o=e.sheet}catch{return}if(o)return;let i=qi(()=&gt;{r||(t(),r=!0)},n);e.addEventListener("load",()=&gt;{eu(i),r=!0,t()})}function mm(e,t){let{doc:n,mirror:r,blockClass:o,blockSelector:i,unblockSelector:s,maskAllText:a,maskAttributeFn:c,maskTextClass:u,unmaskTextClass:f,maskTextSelector:d,unmaskTextSelector:p,inlineStylesheet:m,maskInputOptions:h={},maskTextFn:_,maskInputFn:y,dataURLOptions:E={},inlineImages:k,recordCanvas:W,keepIframeSrcFn:L,newlyAddedElement:R=!1}=t,T=hm(n,r);switch(e.nodeType){case e.DOCUMENT_NODE:return e.compatMode!=="CSS1Compat"?{type:ne.Document,childNodes:[],compatMode:e.compatMode}:{type:ne.Document,childNodes:[]};case e.DOCUMENT_TYPE_NODE:return{type:ne.DocumentType,name:e.name,publicId:e.publicId,systemId:e.systemId,rootId:T};case e.ELEMENT_NODE:return _m(e,{doc:n,blockClass:o,blockSelector:i,unblockSelector:s,inlineStylesheet:m,maskAttributeFn:c,maskInputOptions:h,maskInputFn:y,dataURLOptions:E,inlineImages:k,recordCanvas:W,keepIframeSrcFn:L,newlyAddedElement:R,rootId:T,maskAllText:a,maskTextClass:u,unmaskTextClass:f,maskTextSelector:d,unmaskTextSelector:p});case e.TEXT_NODE:return gm(e,{doc:n,maskAllText:a,maskTextClass:u,unmaskTextClass:f,maskTextSelector:d,unmaskTextSelector:p,maskTextFn:_,maskInputOptions:h,maskInputFn:y,rootId:T});case e.CDATA_SECTION_NODE:return{type:ne.CDATA,textContent:"",rootId:T};case e.COMMENT_NODE:return{type:ne.Comment,textContent:e.textContent||"",rootId:T};default:return!1}}function hm(e,t){if(!t.hasNode(e))return;let n=t.getId(e);return n===1?void 0:n}function gm(e,t){let{maskAllText:n,maskTextClass:r,unmaskTextClass:o,maskTextSelector:i,unmaskTextSelector:s,maskTextFn:a,maskInputOptions:c,maskInputFn:u,rootId:f}=t,d=e.parentNode&amp;&amp;e.parentNode.tagName,p=e.textContent,m=d==="STYLE"?!0:void 0,h=d==="SCRIPT"?!0:void 0,_=d==="TEXTAREA"?!0:void 0;if(m&amp;&amp;p){try{e.nextSibling||e.previousSibling||e.parentNode.sheet?.cssRules&amp;&amp;(p=qr(e.parentNode.sheet))}catch(E){console.warn(`Cannot get CSS styles from text's parentNode. Error: ${E}`,e)}p=Kr(p,io(t.doc))}h&amp;&amp;(p="SCRIPT_PLACEHOLDER");let y=Kt(e,r,i,o,s,n);if(!m&amp;&amp;!h&amp;&amp;!_&amp;&amp;p&amp;&amp;y&amp;&amp;(p=a?a(p,e.parentElement):p.replace(/[\S]/g,"*")),_&amp;&amp;p&amp;&amp;(c.textarea||y)&amp;&amp;(p=u?u(p,e.parentNode):p.replace(/[\S]/g,"*")),d==="OPTION"&amp;&amp;p){let E=oo({type:null,tagName:d,maskInputOptions:c});p=kn({isMasked:Kt(e,r,i,o,s,E),element:e,value:p,maskInputFn:u})}return{type:ne.Text,textContent:p||"",isStyle:m,rootId:f}}function _m(e,t){let{doc:n,blockClass:r,blockSelector:o,unblockSelector:i,inlineStylesheet:s,maskInputOptions:a={},maskAttributeFn:c,maskInputFn:u,dataURLOptions:f={},inlineImages:d,recordCanvas:p,keepIframeSrcFn:m,newlyAddedElement:h=!1,rootId:_,maskTextClass:y,unmaskTextClass:E,maskTextSelector:k,unmaskTextSelector:W}=t,L=ou(e,r,o,i),R=tm(e),T={},N=e.attributes.length;for(let S=0;S&lt;N;S++){let x=e.attributes[S];x.name&amp;&amp;!ru(R,x.name,x.value)&amp;&amp;(T[x.name]=nu(n,R,Yt(x.name),x.value,e,c))}if(R==="link"&amp;&amp;s){let S=Array.from(n.styleSheets).find(j=&gt;j.href===e.href),x=null;S&amp;&amp;(x=qr(S)),x&amp;&amp;(T.rel=null,T.href=null,T.crossorigin=null,T._cssText=Kr(x,S.href))}if(R==="style"&amp;&amp;e.sheet&amp;&amp;!(e.innerText||e.textContent||"").trim().length){let S=qr(e.sheet);S&amp;&amp;(T._cssText=Kr(S,io(n)))}if(R==="input"||R==="textarea"||R==="select"||R==="option"){let S=e,x=_s(S),j=Yr(S,Gi(R),x),Y=S.checked;if(x!=="submit"&amp;&amp;x!=="button"&amp;&amp;j){let Z=Kt(S,y,k,E,W,oo({type:x,tagName:Gi(R),maskInputOptions:a}));T.value=kn({isMasked:Z,element:S,value:j,maskInputFn:u})}Y&amp;&amp;(T.checked=Y)}if(R==="option"&amp;&amp;(e.selected&amp;&amp;!a.select?T.selected=!0:delete T.selected),R==="canvas"&amp;&amp;p){if(e.__context==="2d")Qp(e)||(T.rr_dataURL=e.toDataURL(f.type,f.quality));else if(!("__context"in e)){let S=e.toDataURL(f.type,f.quality),x=n.createElement("canvas");x.width=e.width,x.height=e.height;let j=x.toDataURL(f.type,f.quality);S!==j&amp;&amp;(T.rr_dataURL=S)}}if(R==="img"&amp;&amp;d){$t||($t=n.createElement("canvas"),Ac=$t.getContext("2d"));let S=e,x=S.currentSrc||S.getAttribute("src")||"&lt;unknown-src&gt;",j=S.crossOrigin,Y=()=&gt;{S.removeEventListener("load",Y);try{$t.width=S.naturalWidth,$t.height=S.naturalHeight,Ac.drawImage(S,0,0),T.rr_dataURL=$t.toDataURL(f.type,f.quality)}catch(Z){if(S.crossOrigin!=="anonymous"){S.crossOrigin="anonymous",S.complete&amp;&amp;S.naturalWidth!==0?Y():S.addEventListener("load",Y);return}else console.warn(`Cannot inline img src=${x}! Error: ${Z}`)}S.crossOrigin==="anonymous"&amp;&amp;(j?T.crossOrigin=j:S.removeAttribute("crossorigin"))};S.complete&amp;&amp;S.naturalWidth!==0?Y():S.addEventListener("load",Y)}if((R==="audio"||R==="video")&amp;&amp;(T.rr_mediaState=e.paused?"paused":"played",T.rr_mediaCurrentTime=e.currentTime),h||(e.scrollLeft&amp;&amp;(T.rr_scrollLeft=e.scrollLeft),e.scrollTop&amp;&amp;(T.rr_scrollTop=e.scrollTop)),L){let{width:S,height:x}=e.getBoundingClientRect();T={class:T.class,rr_width:`${S}px`,rr_height:`${x}px`}}R==="iframe"&amp;&amp;!m(T.src)&amp;&amp;(!L&amp;&amp;!tu(e)&amp;&amp;(T.rr_src=T.src),delete T.src);let O;try{customElements.get(R)&amp;&amp;(O=!0)}catch{}return{type:ne.Element,tagName:R,attributes:T,childNodes:[],isSVG:lm(e)||void 0,needBlock:L,rootId:_,isCustom:O}}function G(e){return e==null?"":e.toLowerCase()}function ym(e,t){if(t.comment&amp;&amp;e.type===ne.Comment)return!0;if(e.type===ne.Element){if(t.script&amp;&amp;(e.tagName==="script"||e.tagName==="link"&amp;&amp;(e.attributes.rel==="preload"||e.attributes.rel==="modulepreload")||e.tagName==="link"&amp;&amp;e.attributes.rel==="prefetch"&amp;&amp;typeof e.attributes.href=="string"&amp;&amp;Qc(e.attributes.href)==="js"))return!0;if(t.headFavicon&amp;&amp;(e.tagName==="link"&amp;&amp;e.attributes.rel==="shortcut icon"||e.tagName==="meta"&amp;&amp;(G(e.attributes.name).match(/^msapplication-tile(image|color)$/)||G(e.attributes.name)==="application-name"||G(e.attributes.rel)==="icon"||G(e.attributes.rel)==="apple-touch-icon"||G(e.attributes.rel)==="shortcut icon")))return!0;if(e.tagName==="meta"){if(t.headMetaDescKeywords&amp;&amp;G(e.attributes.name).match(/^description|keywords$/))return!0;if(t.headMetaSocial&amp;&amp;(G(e.attributes.property).match(/^(og|twitter|fb):/)||G(e.attributes.name).match(/^(og|twitter):/)||G(e.attributes.name)==="pinterest"))return!0;if(t.headMetaRobots&amp;&amp;(G(e.attributes.name)==="robots"||G(e.attributes.name)==="googlebot"||G(e.attributes.name)==="bingbot"))return!0;if(t.headMetaHttpEquiv&amp;&amp;e.attributes["http-equiv"]!==void 0)return!0;if(t.headMetaAuthorship&amp;&amp;(G(e.attributes.name)==="author"||G(e.attributes.name)==="generator"||G(e.attributes.name)==="framework"||G(e.attributes.name)==="publisher"||G(e.attributes.name)==="progid"||G(e.attributes.property).match(/^article:/)||G(e.attributes.property).match(/^product:/)))return!0;if(t.headMetaVerification&amp;&amp;(G(e.attributes.name)==="google-site-verification"||G(e.attributes.name)==="yandex-verification"||G(e.attributes.name)==="csrf-token"||G(e.attributes.name)==="p:domain_verify"||G(e.attributes.name)==="verify-v1"||G(e.attributes.name)==="verification"||G(e.attributes.name)==="shopify-checkout-api-token"))return!0}}return!1}function qt(e,t){let{doc:n,mirror:r,blockClass:o,blockSelector:i,unblockSelector:s,maskAllText:a,maskTextClass:c,unmaskTextClass:u,maskTextSelector:f,unmaskTextSelector:d,skipChild:p=!1,inlineStylesheet:m=!0,maskInputOptions:h={},maskAttributeFn:_,maskTextFn:y,maskInputFn:E,slimDOMOptions:k,dataURLOptions:W={},inlineImages:L=!1,recordCanvas:R=!1,onSerialize:T,onIframeLoad:N,iframeLoadTimeout:O=5e3,onStylesheetLoad:S,stylesheetLoadTimeout:x=5e3,keepIframeSrcFn:j=()=&gt;!1,newlyAddedElement:Y=!1}=t,{preserveWhiteSpace:Z=!0}=t,re=mm(e,{doc:n,mirror:r,blockClass:o,blockSelector:i,maskAllText:a,unblockSelector:s,maskTextClass:c,unmaskTextClass:u,maskTextSelector:f,unmaskTextSelector:d,inlineStylesheet:m,maskInputOptions:h,maskAttributeFn:_,maskTextFn:y,maskInputFn:E,dataURLOptions:W,inlineImages:L,recordCanvas:R,keepIframeSrcFn:j,newlyAddedElement:Y});if(!re)return console.warn(e,"not serialized"),null;let be;r.hasNode(e)?be=r.getId(e):ym(re,k)||!Z&amp;&amp;re.type===ne.Text&amp;&amp;!re.isStyle&amp;&amp;!re.textContent.replace(/^\s+|\s+$/gm,"").length?be=Cn:be=ys();let B=Object.assign(re,{id:be});if(r.add(e,B),be===Cn)return null;T&amp;&amp;T(e);let Ie=!p;if(B.type===ne.Element){Ie=Ie&amp;&amp;!B.needBlock,delete B.needBlock;let K=e.shadowRoot;K&amp;&amp;wn(K)&amp;&amp;(B.isShadowHost=!0)}if((B.type===ne.Document||B.type===ne.Element)&amp;&amp;Ie){k.headWhitespace&amp;&amp;B.type===ne.Element&amp;&amp;B.tagName==="head"&amp;&amp;(Z=!1);let K={doc:n,mirror:r,blockClass:o,blockSelector:i,maskAllText:a,unblockSelector:s,maskTextClass:c,unmaskTextClass:u,maskTextSelector:f,unmaskTextSelector:d,skipChild:p,inlineStylesheet:m,maskInputOptions:h,maskAttributeFn:_,maskTextFn:y,maskInputFn:E,slimDOMOptions:k,dataURLOptions:W,inlineImages:L,recordCanvas:R,preserveWhiteSpace:Z,onSerialize:T,onIframeLoad:N,iframeLoadTimeout:O,onStylesheetLoad:S,stylesheetLoadTimeout:x,keepIframeSrcFn:j};for(let xe of Array.from(e.childNodes)){let ze=qt(xe,K);ze&amp;&amp;B.childNodes.push(ze)}if(zp(e)&amp;&amp;e.shadowRoot)for(let xe of Array.from(e.shadowRoot.childNodes)){let ze=qt(xe,K);ze&amp;&amp;(wn(e.shadowRoot)&amp;&amp;(ze.isShadow=!0),B.childNodes.push(ze))}}return e.parentNode&amp;&amp;vn(e.parentNode)&amp;&amp;wn(e.parentNode)&amp;&amp;(B.isShadow=!0),B.type===ne.Element&amp;&amp;B.tagName==="iframe"&amp;&amp;!ou(e,o,i,s)&amp;&amp;fm(e,()=&gt;{let K=tu(e);if(K&amp;&amp;N){let xe=qt(K,{doc:K,mirror:r,blockClass:o,blockSelector:i,unblockSelector:s,maskAllText:a,maskTextClass:c,unmaskTextClass:u,maskTextSelector:f,unmaskTextSelector:d,skipChild:!1,inlineStylesheet:m,maskInputOptions:h,maskAttributeFn:_,maskTextFn:y,maskInputFn:E,slimDOMOptions:k,dataURLOptions:W,inlineImages:L,recordCanvas:R,preserveWhiteSpace:Z,onSerialize:T,onIframeLoad:N,iframeLoadTimeout:O,onStylesheetLoad:S,stylesheetLoadTimeout:x,keepIframeSrcFn:j});xe&amp;&amp;N(e,xe)}},O),B.type===ne.Element&amp;&amp;B.tagName==="link"&amp;&amp;typeof B.attributes.rel=="string"&amp;&amp;(B.attributes.rel==="stylesheet"||B.attributes.rel==="preload"&amp;&amp;typeof B.attributes.href=="string"&amp;&amp;Qc(B.attributes.href)==="css")&amp;&amp;pm(e,()=&gt;{if(S){let K=qt(e,{doc:n,mirror:r,blockClass:o,blockSelector:i,unblockSelector:s,maskAllText:a,maskTextClass:c,unmaskTextClass:u,maskTextSelector:f,unmaskTextSelector:d,skipChild:!1,inlineStylesheet:m,maskInputOptions:h,maskAttributeFn:_,maskTextFn:y,maskInputFn:E,slimDOMOptions:k,dataURLOptions:W,inlineImages:L,recordCanvas:R,preserveWhiteSpace:Z,onSerialize:T,onIframeLoad:N,iframeLoadTimeout:O,onStylesheetLoad:S,stylesheetLoadTimeout:x,keepIframeSrcFn:j});K&amp;&amp;S(e,K)}},x),B}function Sm(e,t){let{mirror:n=new Vr,blockClass:r="rr-block",blockSelector:o=null,unblockSelector:i=null,maskAllText:s=!1,maskTextClass:a="rr-mask",unmaskTextClass:c=null,maskTextSelector:u=null,unmaskTextSelector:f=null,inlineStylesheet:d=!0,inlineImages:p=!1,recordCanvas:m=!1,maskAllInputs:h=!1,maskAttributeFn:_,maskTextFn:y,maskInputFn:E,slimDOM:k=!1,dataURLOptions:W,preserveWhiteSpace:L,onSerialize:R,onIframeLoad:T,iframeLoadTimeout:N,onStylesheetLoad:O,stylesheetLoadTimeout:S,keepIframeSrcFn:x=()=&gt;!1}=t;return qt(e,{doc:e,mirror:n,blockClass:r,blockSelector:o,unblockSelector:i,maskAllText:s,maskTextClass:a,unmaskTextClass:c,maskTextSelector:u,unmaskTextSelector:f,skipChild:!1,inlineStylesheet:d,maskInputOptions:h===!0?{color:!0,date:!0,"datetime-local":!0,email:!0,month:!0,number:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0,textarea:!0,select:!0}:h===!1?{}:h,maskAttributeFn:_,maskTextFn:y,maskInputFn:E,slimDOMOptions:k===!0||k==="all"?{script:!0,comment:!0,headFavicon:!0,headWhitespace:!0,headMetaDescKeywords:k==="all",headMetaSocial:!0,headMetaRobots:!0,headMetaHttpEquiv:!0,headMetaAuthorship:!0,headMetaVerification:!0}:k===!1?{}:k,dataURLOptions:W,inlineImages:p,recordCanvas:m,preserveWhiteSpace:L,onSerialize:R,onIframeLoad:T,iframeLoadTimeout:N,onStylesheetLoad:O,stylesheetLoadTimeout:S,keepIframeSrcFn:x,newlyAddedElement:!1})}function pe(e,t,n=document){let r={capture:!0,passive:!0};return n.addEventListener(e,t,r),()=&gt;n.removeEventListener(e,t,r)}var Wt=`Please stop import mirror directly. Instead of that,\r
now you can use replayer.getMirror() to access the mirror instance of a replayer,\r
or you can use record.mirror to access the mirror instance during recording.`,Dc={map:{},getId(){return console.error(Wt),-1},getNode(){return console.error(Wt),null},removeNodeFromMap(){console.error(Wt)},has(){return console.error(Wt),!1},reset(){console.error(Wt)}};typeof window&lt;"u"&amp;&amp;window.Proxy&amp;&amp;window.Reflect&amp;&amp;(Dc=new Proxy(Dc,{get(e,t,n){return t==="map"&amp;&amp;console.error(Wt),Reflect.get(e,t,n)}}));function Rn(e,t,n={}){let r=null,o=0;return function(...i){let s=Date.now();!o&amp;&amp;n.leading===!1&amp;&amp;(o=s);let a=t-(s-o),c=this;a&lt;=0||a&gt;t?(r&amp;&amp;(wm(r),r=null),o=s,e.apply(c,i)):!r&amp;&amp;n.trailing!==!1&amp;&amp;(r=so(()=&gt;{o=n.leading===!1?0:Date.now(),r=null,e.apply(c,i)},a))}}function iu(e,t,n,r,o=window){let i=o.Object.getOwnPropertyDescriptor(e,t);return o.Object.defineProperty(e,t,r?n:{set(s){so(()=&gt;{n.set.call(this,s)},0),i&amp;&amp;i.set&amp;&amp;i.set.call(this,s)}}),()=&gt;iu(e,t,i||{},!0)}function Ss(e,t,n){try{if(!(t in e))return()=&gt;{};let r=e[t],o=n(r);return typeof o=="function"&amp;&amp;(o.prototype=o.prototype||{},Object.defineProperties(o,{__rrweb_original__:{enumerable:!1,value:r}})),e[t]=o,()=&gt;{e[t]=r}}catch{return()=&gt;{}}}var Jr=Date.now;/[1-9][0-9]{12}/.test(Date.now().toString())||(Jr=()=&gt;new Date().getTime());function su(e){let t=e.document;return{left:t.scrollingElement?t.scrollingElement.scrollLeft:e.pageXOffset!==void 0?e.pageXOffset:t?.documentElement.scrollLeft||t?.body?.parentElement?.scrollLeft||t?.body?.scrollLeft||0,top:t.scrollingElement?t.scrollingElement.scrollTop:e.pageYOffset!==void 0?e.pageYOffset:t?.documentElement.scrollTop||t?.body?.parentElement?.scrollTop||t?.body?.scrollTop||0}}function au(){return window.innerHeight||document.documentElement&amp;&amp;document.documentElement.clientHeight||document.body&amp;&amp;document.body.clientHeight}function cu(){return window.innerWidth||document.documentElement&amp;&amp;document.documentElement.clientWidth||document.body&amp;&amp;document.body.clientWidth}function uu(e){return e?e.nodeType===e.ELEMENT_NODE?e:e.parentElement:null}function Te(e,t,n,r,o){if(!e)return!1;let i=uu(e);if(!i)return!1;let s=Gt(t,n);if(!o){let u=r&amp;&amp;i.matches(r);return s(i)&amp;&amp;!u}let a=wt(i,s),c=-1;return a&lt;0?!1:(r&amp;&amp;(c=wt(i,Gt(null,r))),a&gt;-1&amp;&amp;c&lt;0?!0:a&lt;c)}function Em(e,t){return t.getId(e)!==-1}function $i(e,t){return t.getId(e)===Cn}function lu(e,t){if(vn(e))return!1;let n=t.getId(e);return t.has(n)?e.parentNode&amp;&amp;e.parentNode.nodeType===e.DOCUMENT_NODE?!1:e.parentNode?lu(e.parentNode,t):!0:!0}function Vi(e){return!!e.changedTouches}function Im(e=window){"NodeList"in e&amp;&amp;!e.NodeList.prototype.forEach&amp;&amp;(e.NodeList.prototype.forEach=Array.prototype.forEach),"DOMTokenList"in e&amp;&amp;!e.DOMTokenList.prototype.forEach&amp;&amp;(e.DOMTokenList.prototype.forEach=Array.prototype.forEach),Node.prototype.contains||(Node.prototype.contains=(...t)=&gt;{let n=t[0];if(!(0 in t))throw new TypeError("1 argument is required");do if(this===n)return!0;while(n=n&amp;&amp;n.parentNode);return!1})}function du(e,t){return!!(e.nodeName==="IFRAME"&amp;&amp;t.getMeta(e))}function fu(e,t){return!!(e.nodeName==="LINK"&amp;&amp;e.nodeType===e.ELEMENT_NODE&amp;&amp;e.getAttribute&amp;&amp;e.getAttribute("rel")==="stylesheet"&amp;&amp;t.getMeta(e))}function Yi(e){return!!e?.shadowRoot}var Ki=class{constructor(){this.id=1,this.styleIDMap=new WeakMap,this.idStyleMap=new Map}getId(t){return this.styleIDMap.get(t)??-1}has(t){return this.styleIDMap.has(t)}add(t,n){if(this.has(t))return this.getId(t);let r;return n===void 0?r=this.id++:r=n,this.styleIDMap.set(t,r),this.idStyleMap.set(r,t),r}getStyle(t){return this.idStyleMap.get(t)||null}reset(){this.styleIDMap=new WeakMap,this.idStyleMap=new Map,this.id=1}generateId(){return this.id++}};function pu(e){let t=null;return e.getRootNode?.()?.nodeType===Node.DOCUMENT_FRAGMENT_NODE&amp;&amp;e.getRootNode().host&amp;&amp;(t=e.getRootNode().host),t}function Tm(e){let t=e,n;for(;n=pu(t);)t=n;return t}function bm(e){let t=e.ownerDocument;if(!t)return!1;let n=Tm(e);return t.contains(n)}function mu(e){let t=e.ownerDocument;return t?t.contains(e)||bm(e):!1}var Lc={};function Es(e){let t=Lc[e];if(t)return t;let n=window.document,r=window[e];if(n&amp;&amp;typeof n.createElement=="function")try{let o=n.createElement("iframe");o.hidden=!0,n.head.appendChild(o);let i=o.contentWindow;i&amp;&amp;i[e]&amp;&amp;(r=i[e]),n.head.removeChild(o)}catch{}return Lc[e]=r.bind(window)}function vm(...e){return Es("requestAnimationFrame")(...e)}function so(...e){return Es("setTimeout")(...e)}function wm(...e){return Es("clearTimeout")(...e)}var M=(e=&gt;(e[e.DomContentLoaded=0]="DomContentLoaded",e[e.Load=1]="Load",e[e.FullSnapshot=2]="FullSnapshot",e[e.IncrementalSnapshot=3]="IncrementalSnapshot",e[e.Meta=4]="Meta",e[e.Custom=5]="Custom",e[e.Plugin=6]="Plugin",e))(M||{}),w=(e=&gt;(e[e.Mutation=0]="Mutation",e[e.MouseMove=1]="MouseMove",e[e.MouseInteraction=2]="MouseInteraction",e[e.Scroll=3]="Scroll",e[e.ViewportResize=4]="ViewportResize",e[e.Input=5]="Input",e[e.TouchMove=6]="TouchMove",e[e.MediaInteraction=7]="MediaInteraction",e[e.StyleSheetRule=8]="StyleSheetRule",e[e.CanvasMutation=9]="CanvasMutation",e[e.Font=10]="Font",e[e.Log=11]="Log",e[e.Drag=12]="Drag",e[e.StyleDeclaration=13]="StyleDeclaration",e[e.Selection=14]="Selection",e[e.AdoptedStyleSheet=15]="AdoptedStyleSheet",e[e.CustomElement=16]="CustomElement",e))(w||{}),fe=(e=&gt;(e[e.MouseUp=0]="MouseUp",e[e.MouseDown=1]="MouseDown",e[e.Click=2]="Click",e[e.ContextMenu=3]="ContextMenu",e[e.DblClick=4]="DblClick",e[e.Focus=5]="Focus",e[e.Blur=6]="Blur",e[e.TouchStart=7]="TouchStart",e[e.TouchMove_Departed=8]="TouchMove_Departed",e[e.TouchEnd=9]="TouchEnd",e[e.TouchCancel=10]="TouchCancel",e))(fe||{}),Ze=(e=&gt;(e[e.Mouse=0]="Mouse",e[e.Pen=1]="Pen",e[e.Touch=2]="Touch",e))(Ze||{}),jt=(e=&gt;(e[e.Play=0]="Play",e[e.Pause=1]="Pause",e[e.Seeked=2]="Seeked",e[e.VolumeChange=3]="VolumeChange",e[e.RateChange=4]="RateChange",e))(jt||{});function Is(e){try{return e.contentDocument}catch{}}function xm(e){try{return e.contentWindow}catch{}}function Pc(e){return"__ln"in e}var Ji=class{constructor(){this.length=0,this.head=null,this.tail=null}get(t){if(t&gt;=this.length)throw new Error("Position outside of list range");let n=this.head;for(let r=0;r&lt;t;r++)n=n?.next||null;return n}addNode(t){let n={value:t,previous:null,next:null};if(t.__ln=n,t.previousSibling&amp;&amp;Pc(t.previousSibling)){let r=t.previousSibling.__ln.next;n.next=r,n.previous=t.previousSibling.__ln,t.previousSibling.__ln.next=n,r&amp;&amp;(r.previous=n)}else if(t.nextSibling&amp;&amp;Pc(t.nextSibling)&amp;&amp;t.nextSibling.__ln.previous){let r=t.nextSibling.__ln.previous;n.previous=r,n.next=t.nextSibling.__ln,t.nextSibling.__ln.previous=n,r&amp;&amp;(r.next=n)}else this.head&amp;&amp;(this.head.previous=n),n.next=this.head,this.head=n;n.next===null&amp;&amp;(this.tail=n),this.length++}removeNode(t){let n=t.__ln;this.head&amp;&amp;(n.previous?(n.previous.next=n.next,n.next?n.next.previous=n.previous:this.tail=n.previous):(this.head=n.next,this.head?this.head.previous=null:this.tail=null),t.__ln&amp;&amp;delete t.__ln,this.length--)}},Fc=(e,t)=&gt;`${e}@${t}`,Xi=class{constructor(){this.frozen=!1,this.locked=!1,this.texts=[],this.attributes=[],this.attributeMap=new WeakMap,this.removes=[],this.mapRemoves=[],this.movedMap={},this.addedSet=new Set,this.movedSet=new Set,this.droppedSet=new Set,this.processMutations=t=&gt;{t.forEach(this.processMutation),this.emit()},this.emit=()=&gt;{if(this.frozen||this.locked)return;let t=[],n=new Set,r=new Ji,o=c=&gt;{let u=c,f=Cn;for(;f===Cn;)u=u&amp;&amp;u.nextSibling,f=u&amp;&amp;this.mirror.getId(u);return f},i=c=&gt;{if(!c.parentNode||!mu(c))return;let u=vn(c.parentNode)?this.mirror.getId(pu(c)):this.mirror.getId(c.parentNode),f=o(c);if(u===-1||f===-1)return r.addNode(c);let d=qt(c,{doc:this.doc,mirror:this.mirror,blockClass:this.blockClass,blockSelector:this.blockSelector,maskAllText:this.maskAllText,unblockSelector:this.unblockSelector,maskTextClass:this.maskTextClass,unmaskTextClass:this.unmaskTextClass,maskTextSelector:this.maskTextSelector,unmaskTextSelector:this.unmaskTextSelector,skipChild:!0,newlyAddedElement:!0,inlineStylesheet:this.inlineStylesheet,maskInputOptions:this.maskInputOptions,maskAttributeFn:this.maskAttributeFn,maskTextFn:this.maskTextFn,maskInputFn:this.maskInputFn,slimDOMOptions:this.slimDOMOptions,dataURLOptions:this.dataURLOptions,recordCanvas:this.recordCanvas,inlineImages:this.inlineImages,onSerialize:p=&gt;{du(p,this.mirror)&amp;&amp;!Te(p,this.blockClass,this.blockSelector,this.unblockSelector,!1)&amp;&amp;this.iframeManager.addIframe(p),fu(p,this.mirror)&amp;&amp;this.stylesheetManager.trackLinkElement(p),Yi(c)&amp;&amp;this.shadowDomManager.addShadowRoot(c.shadowRoot,this.doc)},onIframeLoad:(p,m)=&gt;{Te(p,this.blockClass,this.blockSelector,this.unblockSelector,!1)||(this.iframeManager.attachIframe(p,m),p.contentWindow&amp;&amp;this.canvasManager.addWindow(p.contentWindow),this.shadowDomManager.observeAttachShadow(p))},onStylesheetLoad:(p,m)=&gt;{this.stylesheetManager.attachLinkElement(p,m)}});d&amp;&amp;(t.push({parentId:u,nextId:f,node:d}),n.add(d.id))};for(;this.mapRemoves.length;)this.mirror.removeNodeFromMap(this.mapRemoves.shift());for(let c of this.movedSet)Bc(this.removes,c,this.mirror)&amp;&amp;!this.movedSet.has(c.parentNode)||i(c);for(let c of this.addedSet)!Uc(this.droppedSet,c)&amp;&amp;!Bc(this.removes,c,this.mirror)||Uc(this.movedSet,c)?i(c):this.droppedSet.add(c);let s=null;for(;r.length;){let c=null;if(s){let u=this.mirror.getId(s.value.parentNode),f=o(s.value);u!==-1&amp;&amp;f!==-1&amp;&amp;(c=s)}if(!c){let u=r.tail;for(;u;){let f=u;if(u=u.previous,f){let d=this.mirror.getId(f.value.parentNode);if(o(f.value)===-1)continue;if(d!==-1){c=f;break}else{let m=f.value;if(m.parentNode&amp;&amp;m.parentNode.nodeType===Node.DOCUMENT_FRAGMENT_NODE){let h=m.parentNode.host;if(this.mirror.getId(h)!==-1){c=f;break}}}}}}if(!c){for(;r.head;)r.removeNode(r.head.value);break}s=c.previous,r.removeNode(c.value),i(c.value)}let a={texts:this.texts.map(c=&gt;({id:this.mirror.getId(c.node),value:c.value})).filter(c=&gt;!n.has(c.id)).filter(c=&gt;this.mirror.has(c.id)),attributes:this.attributes.map(c=&gt;{let{attributes:u}=c;if(typeof u.style=="string"){let f=JSON.stringify(c.styleDiff),d=JSON.stringify(c._unchangedStyles);f.length&lt;u.style.length&amp;&amp;(f+d).split("var(").length===u.style.split("var(").length&amp;&amp;(u.style=c.styleDiff)}return{id:this.mirror.getId(c.node),attributes:u}}).filter(c=&gt;!n.has(c.id)).filter(c=&gt;this.mirror.has(c.id)),removes:this.removes,adds:t};!a.texts.length&amp;&amp;!a.attributes.length&amp;&amp;!a.removes.length&amp;&amp;!a.adds.length||(this.texts=[],this.attributes=[],this.attributeMap=new WeakMap,this.removes=[],this.addedSet=new Set,this.movedSet=new Set,this.droppedSet=new Set,this.movedMap={},this.mutationCb(a))},this.processMutation=t=&gt;{if(!$i(t.target,this.mirror))switch(t.type){case"characterData":{let n=t.target.textContent;!Te(t.target,this.blockClass,this.blockSelector,this.unblockSelector,!1)&amp;&amp;n!==t.oldValue&amp;&amp;this.texts.push({value:Kt(t.target,this.maskTextClass,this.maskTextSelector,this.unmaskTextClass,this.unmaskTextSelector,this.maskAllText)&amp;&amp;n?this.maskTextFn?this.maskTextFn(n,uu(t.target)):n.replace(/[\S]/g,"*"):n,node:t.target});break}case"attributes":{let n=t.target,r=t.attributeName,o=t.target.getAttribute(r);if(r==="value"){let s=_s(n),a=n.tagName;o=Yr(n,a,s);let c=oo({maskInputOptions:this.maskInputOptions,tagName:a,type:s}),u=Kt(t.target,this.maskTextClass,this.maskTextSelector,this.unmaskTextClass,this.unmaskTextSelector,c);o=kn({isMasked:u,element:n,value:o,maskInputFn:this.maskInputFn})}if(Te(t.target,this.blockClass,this.blockSelector,this.unblockSelector,!1)||o===t.oldValue)return;let i=this.attributeMap.get(t.target);if(n.tagName==="IFRAME"&amp;&amp;r==="src"&amp;&amp;!this.keepIframeSrcFn(o))if(!Is(n))r="rr_src";else return;if(i||(i={node:t.target,attributes:{},styleDiff:{},_unchangedStyles:{}},this.attributes.push(i),this.attributeMap.set(t.target,i)),r==="type"&amp;&amp;n.tagName==="INPUT"&amp;&amp;(t.oldValue||"").toLowerCase()==="password"&amp;&amp;n.setAttribute("data-rr-is-password","true"),!ru(n.tagName,r)&amp;&amp;(i.attributes[r]=nu(this.doc,Yt(n.tagName),Yt(r),o,n,this.maskAttributeFn),r==="style")){if(!this.unattachedDoc)try{this.unattachedDoc=document.implementation.createHTMLDocument()}catch{this.unattachedDoc=this.doc}let s=this.unattachedDoc.createElement("span");t.oldValue&amp;&amp;s.setAttribute("style",t.oldValue);for(let a of Array.from(n.style)){let c=n.style.getPropertyValue(a),u=n.style.getPropertyPriority(a);c!==s.style.getPropertyValue(a)||u!==s.style.getPropertyPriority(a)?u===""?i.styleDiff[a]=c:i.styleDiff[a]=[c,u]:i._unchangedStyles[a]=[c,u]}for(let a of Array.from(s.style))n.style.getPropertyValue(a)===""&amp;&amp;(i.styleDiff[a]=!1)}break}case"childList":{if(Te(t.target,this.blockClass,this.blockSelector,this.unblockSelector,!0))return;t.addedNodes.forEach(n=&gt;this.genAdds(n,t.target)),t.removedNodes.forEach(n=&gt;{let r=this.mirror.getId(n),o=vn(t.target)?this.mirror.getId(t.target.host):this.mirror.getId(t.target);Te(t.target,this.blockClass,this.blockSelector,this.unblockSelector,!1)||$i(n,this.mirror)||!Em(n,this.mirror)||(this.addedSet.has(n)?(Qi(this.addedSet,n),this.droppedSet.add(n)):this.addedSet.has(t.target)&amp;&amp;r===-1||lu(t.target,this.mirror)||(this.movedSet.has(n)&amp;&amp;this.movedMap[Fc(r,o)]?Qi(this.movedSet,n):this.removes.push({parentId:o,id:r,isShadow:vn(t.target)&amp;&amp;wn(t.target)?!0:void 0})),this.mapRemoves.push(n))});break}}},this.genAdds=(t,n)=&gt;{if(!this.processedNodeManager.inOtherBuffer(t,this)&amp;&amp;!(this.addedSet.has(t)||this.movedSet.has(t))){if(this.mirror.hasNode(t)){if($i(t,this.mirror))return;this.movedSet.add(t);let r=null;n&amp;&amp;this.mirror.hasNode(n)&amp;&amp;(r=this.mirror.getId(n)),r&amp;&amp;r!==-1&amp;&amp;(this.movedMap[Fc(this.mirror.getId(t),r)]=!0)}else this.addedSet.add(t),this.droppedSet.delete(t);Te(t,this.blockClass,this.blockSelector,this.unblockSelector,!1)||(t.childNodes.forEach(r=&gt;this.genAdds(r)),Yi(t)&amp;&amp;t.shadowRoot.childNodes.forEach(r=&gt;{this.processedNodeManager.add(r,this),this.genAdds(r,t)}))}}}init(t){["mutationCb","blockClass","blockSelector","unblockSelector","maskAllText","maskTextClass","unmaskTextClass","maskTextSelector","unmaskTextSelector","inlineStylesheet","maskInputOptions","maskAttributeFn","maskTextFn","maskInputFn","keepIframeSrcFn","recordCanvas","inlineImages","slimDOMOptions","dataURLOptions","doc","mirror","iframeManager","stylesheetManager","shadowDomManager","canvasManager","processedNodeManager"].forEach(n=&gt;{this[n]=t[n]})}freeze(){this.frozen=!0,this.canvasManager.freeze()}unfreeze(){this.frozen=!1,this.canvasManager.unfreeze(),this.emit()}isFrozen(){return this.frozen}lock(){this.locked=!0,this.canvasManager.lock()}unlock(){this.locked=!1,this.canvasManager.unlock(),this.emit()}reset(){this.shadowDomManager.reset(),this.canvasManager.reset()}};function Qi(e,t){e.delete(t),t.childNodes.forEach(n=&gt;Qi(e,n))}function Bc(e,t,n){return e.length===0?!1:km(e,t,n)}function km(e,t,n){let r=t.parentNode;for(;r;){let o=n.getId(r);if(e.some(i=&gt;i.id===o))return!0;r=r.parentNode}return!1}function Uc(e,t){return e.size===0?!1:hu(e,t)}function hu(e,t){let{parentNode:n}=t;return n?e.has(n)?!0:hu(e,n):!1}var xn;function Cm(e){xn=e}function Rm(){xn=void 0}var F=e=&gt;xn?(...n)=&gt;{try{return e(...n)}catch(r){if(xn&amp;&amp;xn(r)===!0)return()=&gt;{};throw r}}:e,Vt=[];function Dn(e){try{if("composedPath"in e){let t=e.composedPath();if(t.length)return t[0]}else if("path"in e&amp;&amp;e.path.length)return e.path[0]}catch{}return e&amp;&amp;e.target}function gu(e,t){let n=new Xi;Vt.push(n),n.init(e);let r=window.MutationObserver||window.__rrMutationObserver,o=window?.Zone?.__symbol__?.("MutationObserver");o&amp;&amp;window[o]&amp;&amp;(r=window[o]);let i=new r(F(s=&gt;{e.onMutation&amp;&amp;e.onMutation(s)===!1||n.processMutations.bind(n)(s)}));return i.observe(t,{attributes:!0,attributeOldValue:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0}),i}function Mm({mousemoveCb:e,sampling:t,doc:n,mirror:r}){if(t.mousemove===!1)return()=&gt;{};let o=typeof t.mousemove=="number"?t.mousemove:50,i=typeof t.mousemoveCallback=="number"?t.mousemoveCallback:500,s=[],a,c=Rn(F(d=&gt;{let p=Date.now()-a;e(s.map(m=&gt;(m.timeOffset-=p,m)),d),s=[],a=null}),i),u=F(Rn(F(d=&gt;{let p=Dn(d),{clientX:m,clientY:h}=Vi(d)?d.changedTouches[0]:d;a||(a=Jr()),s.push({x:m,y:h,id:r.getId(p),timeOffset:Jr()-a}),c(typeof DragEvent&lt;"u"&amp;&amp;d instanceof DragEvent?w.Drag:d instanceof MouseEvent?w.MouseMove:w.TouchMove)}),o,{trailing:!1})),f=[pe("mousemove",u,n),pe("touchmove",u,n),pe("drag",u,n)];return F(()=&gt;{f.forEach(d=&gt;d())})}function Om({mouseInteractionCb:e,doc:t,mirror:n,blockClass:r,blockSelector:o,unblockSelector:i,sampling:s}){if(s.mouseInteraction===!1)return()=&gt;{};let a=s.mouseInteraction===!0||s.mouseInteraction===void 0?{}:s.mouseInteraction,c=[],u=null,f=d=&gt;p=&gt;{let m=Dn(p);if(Te(m,r,o,i,!0))return;let h=null,_=d;if("pointerType"in p){switch(p.pointerType){case"mouse":h=Ze.Mouse;break;case"touch":h=Ze.Touch;break;case"pen":h=Ze.Pen;break}h===Ze.Touch?fe[d]===fe.MouseDown?_="TouchStart":fe[d]===fe.MouseUp&amp;&amp;(_="TouchEnd"):Ze.Pen}else Vi(p)&amp;&amp;(h=Ze.Touch);h!==null?(u=h,(_.startsWith("Touch")&amp;&amp;h===Ze.Touch||_.startsWith("Mouse")&amp;&amp;h===Ze.Mouse)&amp;&amp;(h=null)):fe[d]===fe.Click&amp;&amp;(h=u,u=null);let y=Vi(p)?p.changedTouches[0]:p;if(!y)return;let E=n.getId(m),{clientX:k,clientY:W}=y;F(e)({type:fe[_],id:E,x:k,y:W,...h!==null&amp;&amp;{pointerType:h}})};return Object.keys(fe).filter(d=&gt;Number.isNaN(Number(d))&amp;&amp;!d.endsWith("_Departed")&amp;&amp;a[d]!==!1).forEach(d=&gt;{let p=Yt(d),m=f(d);if(window.PointerEvent)switch(fe[d]){case fe.MouseDown:case fe.MouseUp:p=p.replace("mouse","pointer");break;case fe.TouchStart:case fe.TouchEnd:return}c.push(pe(p,m,t))}),F(()=&gt;{c.forEach(d=&gt;d())})}function _u({scrollCb:e,doc:t,mirror:n,blockClass:r,blockSelector:o,unblockSelector:i,sampling:s}){let a=F(Rn(F(c=&gt;{let u=Dn(c);if(!u||Te(u,r,o,i,!0))return;let f=n.getId(u);if(u===t&amp;&amp;t.defaultView){let d=su(t.defaultView);e({id:f,x:d.left,y:d.top})}else e({id:f,x:u.scrollLeft,y:u.scrollTop})}),s.scroll||100));return pe("scroll",a,t)}function Am({viewportResizeCb:e},{win:t}){let n=-1,r=-1,o=F(Rn(F(()=&gt;{let i=au(),s=cu();(n!==i||r!==s)&amp;&amp;(e({width:Number(s),height:Number(i)}),n=i,r=s)}),200));return pe("resize",o,t)}var Nm=["INPUT","TEXTAREA","SELECT"],Hc=new WeakMap;function Dm({inputCb:e,doc:t,mirror:n,blockClass:r,blockSelector:o,unblockSelector:i,ignoreClass:s,ignoreSelector:a,maskInputOptions:c,maskInputFn:u,sampling:f,userTriggeredOnInput:d,maskTextClass:p,unmaskTextClass:m,maskTextSelector:h,unmaskTextSelector:_}){function y(N){let O=Dn(N),S=N.isTrusted,x=O&amp;&amp;Gi(O.tagName);if(x==="OPTION"&amp;&amp;(O=O.parentElement),!O||!x||Nm.indexOf(x)&lt;0||Te(O,r,o,i,!0))return;let j=O;if(j.classList.contains(s)||a&amp;&amp;j.matches(a))return;let Y=_s(O),Z=Yr(j,x,Y),re=!1,be=oo({maskInputOptions:c,tagName:x,type:Y}),B=Kt(O,p,h,m,_,be);(Y==="radio"||Y==="checkbox")&amp;&amp;(re=O.checked),Z=kn({isMasked:B,element:O,value:Z,maskInputFn:u}),E(O,d?{text:Z,isChecked:re,userTriggered:S}:{text:Z,isChecked:re});let Ie=O.name;Y==="radio"&amp;&amp;Ie&amp;&amp;re&amp;&amp;t.querySelectorAll(`input[type="radio"][name="${Ie}"]`).forEach(K=&gt;{if(K!==O){let xe=kn({isMasked:B,element:K,value:Yr(K,x,Y),maskInputFn:u});E(K,d?{text:xe,isChecked:!re,userTriggered:!1}:{text:xe,isChecked:!re})}})}function E(N,O){let S=Hc.get(N);if(!S||S.text!==O.text||S.isChecked!==O.isChecked){Hc.set(N,O);let x=n.getId(N);F(e)({...O,id:x})}}let W=(f.input==="last"?["change"]:["input","change"]).map(N=&gt;pe(N,F(y),t)),L=t.defaultView;if(!L)return()=&gt;{W.forEach(N=&gt;N())};let R=L.Object.getOwnPropertyDescriptor(L.HTMLInputElement.prototype,"value"),T=[[L.HTMLInputElement.prototype,"value"],[L.HTMLInputElement.prototype,"checked"],[L.HTMLSelectElement.prototype,"value"],[L.HTMLTextAreaElement.prototype,"value"],[L.HTMLSelectElement.prototype,"selectedIndex"],[L.HTMLOptionElement.prototype,"selected"]];return R&amp;&amp;R.set&amp;&amp;W.push(...T.map(N=&gt;iu(N[0],N[1],{set(){F(y)({target:this,isTrusted:!1})}},!1,L))),F(()=&gt;{W.forEach(N=&gt;N())})}function Xr(e){let t=[];function n(r,o){if($r("CSSGroupingRule")&amp;&amp;r.parentRule instanceof CSSGroupingRule||$r("CSSMediaRule")&amp;&amp;r.parentRule instanceof CSSMediaRule||$r("CSSSupportsRule")&amp;&amp;r.parentRule instanceof CSSSupportsRule||$r("CSSConditionRule")&amp;&amp;r.parentRule instanceof CSSConditionRule){let s=Array.from(r.parentRule.cssRules).indexOf(r);o.unshift(s)}else if(r.parentStyleSheet){let s=Array.from(r.parentStyleSheet.cssRules).indexOf(r);o.unshift(s)}return o}return n(e,t)}function ut(e,t,n){let r,o;return e?(e.ownerNode?r=t.getId(e.ownerNode):o=n.getId(e),{styleId:o,id:r}):{}}function Lm({styleSheetRuleCb:e,mirror:t,stylesheetManager:n},{win:r}){if(!r.CSSStyleSheet||!r.CSSStyleSheet.prototype)return()=&gt;{};let o=r.CSSStyleSheet.prototype.insertRule;r.CSSStyleSheet.prototype.insertRule=new Proxy(o,{apply:F((f,d,p)=&gt;{let[m,h]=p,{id:_,styleId:y}=ut(d,t,n.styleMirror);return(_&amp;&amp;_!==-1||y&amp;&amp;y!==-1)&amp;&amp;e({id:_,styleId:y,adds:[{rule:m,index:h}]}),f.apply(d,p)})});let i=r.CSSStyleSheet.prototype.deleteRule;r.CSSStyleSheet.prototype.deleteRule=new Proxy(i,{apply:F((f,d,p)=&gt;{let[m]=p,{id:h,styleId:_}=ut(d,t,n.styleMirror);return(h&amp;&amp;h!==-1||_&amp;&amp;_!==-1)&amp;&amp;e({id:h,styleId:_,removes:[{index:m}]}),f.apply(d,p)})});let s;r.CSSStyleSheet.prototype.replace&amp;&amp;(s=r.CSSStyleSheet.prototype.replace,r.CSSStyleSheet.prototype.replace=new Proxy(s,{apply:F((f,d,p)=&gt;{let[m]=p,{id:h,styleId:_}=ut(d,t,n.styleMirror);return(h&amp;&amp;h!==-1||_&amp;&amp;_!==-1)&amp;&amp;e({id:h,styleId:_,replace:m}),f.apply(d,p)})}));let a;r.CSSStyleSheet.prototype.replaceSync&amp;&amp;(a=r.CSSStyleSheet.prototype.replaceSync,r.CSSStyleSheet.prototype.replaceSync=new Proxy(a,{apply:F((f,d,p)=&gt;{let[m]=p,{id:h,styleId:_}=ut(d,t,n.styleMirror);return(h&amp;&amp;h!==-1||_&amp;&amp;_!==-1)&amp;&amp;e({id:h,styleId:_,replaceSync:m}),f.apply(d,p)})}));let c={};Wr("CSSGroupingRule")?c.CSSGroupingRule=r.CSSGroupingRule:(Wr("CSSMediaRule")&amp;&amp;(c.CSSMediaRule=r.CSSMediaRule),Wr("CSSConditionRule")&amp;&amp;(c.CSSConditionRule=r.CSSConditionRule),Wr("CSSSupportsRule")&amp;&amp;(c.CSSSupportsRule=r.CSSSupportsRule));let u={};return Object.entries(c).forEach(([f,d])=&gt;{u[f]={insertRule:d.prototype.insertRule,deleteRule:d.prototype.deleteRule},d.prototype.insertRule=new Proxy(u[f].insertRule,{apply:F((p,m,h)=&gt;{let[_,y]=h,{id:E,styleId:k}=ut(m.parentStyleSheet,t,n.styleMirror);return(E&amp;&amp;E!==-1||k&amp;&amp;k!==-1)&amp;&amp;e({id:E,styleId:k,adds:[{rule:_,index:[...Xr(m),y||0]}]}),p.apply(m,h)})}),d.prototype.deleteRule=new Proxy(u[f].deleteRule,{apply:F((p,m,h)=&gt;{let[_]=h,{id:y,styleId:E}=ut(m.parentStyleSheet,t,n.styleMirror);return(y&amp;&amp;y!==-1||E&amp;&amp;E!==-1)&amp;&amp;e({id:y,styleId:E,removes:[{index:[...Xr(m),_]}]}),p.apply(m,h)})})}),F(()=&gt;{r.CSSStyleSheet.prototype.insertRule=o,r.CSSStyleSheet.prototype.deleteRule=i,s&amp;&amp;(r.CSSStyleSheet.prototype.replace=s),a&amp;&amp;(r.CSSStyleSheet.prototype.replaceSync=a),Object.entries(c).forEach(([f,d])=&gt;{d.prototype.insertRule=u[f].insertRule,d.prototype.deleteRule=u[f].deleteRule})})}function yu({mirror:e,stylesheetManager:t},n){let r=null;n.nodeName==="#document"?r=e.getId(n):r=e.getId(n.host);let o=n.nodeName==="#document"?n.defaultView?.Document:n.ownerDocument?.defaultView?.ShadowRoot,i=o?.prototype?Object.getOwnPropertyDescriptor(o?.prototype,"adoptedStyleSheets"):void 0;return r===null||r===-1||!o||!i?()=&gt;{}:(Object.defineProperty(n,"adoptedStyleSheets",{configurable:i.configurable,enumerable:i.enumerable,get(){return i.get?.call(this)},set(s){let a=i.set?.call(this,s);if(r!==null&amp;&amp;r!==-1)try{t.adoptStyleSheets(s,r)}catch{}return a}}),F(()=&gt;{Object.defineProperty(n,"adoptedStyleSheets",{configurable:i.configurable,enumerable:i.enumerable,get:i.get,set:i.set})}))}function Pm({styleDeclarationCb:e,mirror:t,ignoreCSSAttributes:n,stylesheetManager:r},{win:o}){let i=o.CSSStyleDeclaration.prototype.setProperty;o.CSSStyleDeclaration.prototype.setProperty=new Proxy(i,{apply:F((a,c,u)=&gt;{let[f,d,p]=u;if(n.has(f))return i.apply(c,[f,d,p]);let{id:m,styleId:h}=ut(c.parentRule?.parentStyleSheet,t,r.styleMirror);return(m&amp;&amp;m!==-1||h&amp;&amp;h!==-1)&amp;&amp;e({id:m,styleId:h,set:{property:f,value:d,priority:p},index:Xr(c.parentRule)}),a.apply(c,u)})});let s=o.CSSStyleDeclaration.prototype.removeProperty;return o.CSSStyleDeclaration.prototype.removeProperty=new Proxy(s,{apply:F((a,c,u)=&gt;{let[f]=u;if(n.has(f))return s.apply(c,[f]);let{id:d,styleId:p}=ut(c.parentRule?.parentStyleSheet,t,r.styleMirror);return(d&amp;&amp;d!==-1||p&amp;&amp;p!==-1)&amp;&amp;e({id:d,styleId:p,remove:{property:f},index:Xr(c.parentRule)}),a.apply(c,u)})}),F(()=&gt;{o.CSSStyleDeclaration.prototype.setProperty=i,o.CSSStyleDeclaration.prototype.removeProperty=s})}function Fm({mediaInteractionCb:e,blockClass:t,blockSelector:n,unblockSelector:r,mirror:o,sampling:i,doc:s}){let a=F(u=&gt;Rn(F(f=&gt;{let d=Dn(f);if(!d||Te(d,t,n,r,!0))return;let{currentTime:p,volume:m,muted:h,playbackRate:_}=d;e({type:u,id:o.getId(d),currentTime:p,volume:m,muted:h,playbackRate:_})}),i.media||500)),c=[pe("play",a(jt.Play),s),pe("pause",a(jt.Pause),s),pe("seeked",a(jt.Seeked),s),pe("volumechange",a(jt.VolumeChange),s),pe("ratechange",a(jt.RateChange),s)];return F(()=&gt;{c.forEach(u=&gt;u())})}function Bm({fontCb:e,doc:t}){let n=t.defaultView;if(!n)return()=&gt;{};let r=[],o=new WeakMap,i=n.FontFace;n.FontFace=function(c,u,f){let d=new i(c,u,f);return o.set(d,{family:c,buffer:typeof u!="string",descriptors:f,fontSource:typeof u=="string"?u:JSON.stringify(Array.from(new Uint8Array(u)))}),d};let s=Ss(t.fonts,"add",function(a){return function(c){return so(F(()=&gt;{let u=o.get(c);u&amp;&amp;(e(u),o.delete(c))}),0),a.apply(this,[c])}});return r.push(()=&gt;{n.FontFace=i}),r.push(s),F(()=&gt;{r.forEach(a=&gt;a())})}function Um(e){let{doc:t,mirror:n,blockClass:r,blockSelector:o,unblockSelector:i,selectionCb:s}=e,a=!0,c=F(()=&gt;{let u=t.getSelection();if(!u||a&amp;&amp;u?.isCollapsed)return;a=u.isCollapsed||!1;let f=[],d=u.rangeCount||0;for(let p=0;p&lt;d;p++){let m=u.getRangeAt(p),{startContainer:h,startOffset:_,endContainer:y,endOffset:E}=m;Te(h,r,o,i,!0)||Te(y,r,o,i,!0)||f.push({start:n.getId(h),startOffset:_,end:n.getId(y),endOffset:E})}s({ranges:f})});return c(),pe("selectionchange",c)}function Hm({doc:e,customElementCb:t}){let n=e.defaultView;return!n||!n.customElements?()=&gt;{}:Ss(n.customElements,"define",function(o){return function(i,s,a){try{t({define:{name:i}})}catch{}return o.apply(this,[i,s,a])}})}function $m(e,t={}){let n=e.doc.defaultView;if(!n)return()=&gt;{};let r;e.recordDOM&amp;&amp;(r=gu(e,e.doc));let o=Mm(e),i=Om(e),s=_u(e),a=Am(e,{win:n}),c=Dm(e),u=Fm(e),f=()=&gt;{},d=()=&gt;{},p=()=&gt;{},m=()=&gt;{};e.recordDOM&amp;&amp;(f=Lm(e,{win:n}),d=yu(e,e.doc),p=Pm(e,{win:n}),e.collectFonts&amp;&amp;(m=Bm(e)));let h=Um(e),_=Hm(e),y=[];for(let E of e.plugins)y.push(E.observer(E.callback,n,E.options));return F(()=&gt;{Vt.forEach(E=&gt;E.reset()),r?.disconnect(),o(),i(),s(),a(),c(),u(),f(),d(),p(),m(),h(),_(),y.forEach(E=&gt;E())})}function $r(e){return typeof window[e]&lt;"u"}function Wr(e){return!!(typeof window[e]&lt;"u"&amp;&amp;window[e].prototype&amp;&amp;"insertRule"in window[e].prototype&amp;&amp;"deleteRule"in window[e].prototype)}var Mn=class{constructor(t){this.generateIdFn=t,this.iframeIdToRemoteIdMap=new WeakMap,this.iframeRemoteIdToIdMap=new WeakMap}getId(t,n,r,o){let i=r||this.getIdToRemoteIdMap(t),s=o||this.getRemoteIdToIdMap(t),a=i.get(n);return a||(a=this.generateIdFn(),i.set(n,a),s.set(a,n)),a}getIds(t,n){let r=this.getIdToRemoteIdMap(t),o=this.getRemoteIdToIdMap(t);return n.map(i=&gt;this.getId(t,i,r,o))}getRemoteId(t,n,r){let o=r||this.getRemoteIdToIdMap(t);if(typeof n!="number")return n;let i=o.get(n);return i||-1}getRemoteIds(t,n){let r=this.getRemoteIdToIdMap(t);return n.map(o=&gt;this.getRemoteId(t,o,r))}reset(t){if(!t){this.iframeIdToRemoteIdMap=new WeakMap,this.iframeRemoteIdToIdMap=new WeakMap;return}this.iframeIdToRemoteIdMap.delete(t),this.iframeRemoteIdToIdMap.delete(t)}getIdToRemoteIdMap(t){let n=this.iframeIdToRemoteIdMap.get(t);return n||(n=new Map,this.iframeIdToRemoteIdMap.set(t,n)),n}getRemoteIdToIdMap(t){let n=this.iframeRemoteIdToIdMap.get(t);return n||(n=new Map,this.iframeRemoteIdToIdMap.set(t,n)),n}},Zi=class{constructor(){this.crossOriginIframeMirror=new Mn(ys),this.crossOriginIframeRootIdMap=new WeakMap}addIframe(){}addLoadListener(){}attachIframe(){}},es=class{constructor(t){this.iframes=new WeakMap,this.crossOriginIframeMap=new WeakMap,this.crossOriginIframeMirror=new Mn(ys),this.crossOriginIframeRootIdMap=new WeakMap,this.mutationCb=t.mutationCb,this.wrappedEmit=t.wrappedEmit,this.stylesheetManager=t.stylesheetManager,this.recordCrossOriginIframes=t.recordCrossOriginIframes,this.crossOriginIframeStyleMirror=new Mn(this.stylesheetManager.styleMirror.generateId.bind(this.stylesheetManager.styleMirror)),this.mirror=t.mirror,this.recordCrossOriginIframes&amp;&amp;window.addEventListener("message",this.handleMessage.bind(this))}addIframe(t){this.iframes.set(t,!0),t.contentWindow&amp;&amp;this.crossOriginIframeMap.set(t.contentWindow,t)}addLoadListener(t){this.loadListener=t}attachIframe(t,n){this.mutationCb({adds:[{parentId:this.mirror.getId(t),nextId:null,node:n}],removes:[],texts:[],attributes:[],isAttachIframe:!0}),this.recordCrossOriginIframes&amp;&amp;t.contentWindow?.addEventListener("message",this.handleMessage.bind(this)),this.loadListener?.(t);let r=Is(t);r&amp;&amp;r.adoptedStyleSheets&amp;&amp;r.adoptedStyleSheets.length&gt;0&amp;&amp;this.stylesheetManager.adoptStyleSheets(r.adoptedStyleSheets,this.mirror.getId(r))}handleMessage(t){let n=t;if(n.data.type!=="rrweb"||n.origin!==n.data.origin||!t.source)return;let o=this.crossOriginIframeMap.get(t.source);if(!o)return;let i=this.transformCrossOriginEvent(o,n.data.event);i&amp;&amp;this.wrappedEmit(i,n.data.isCheckout)}transformCrossOriginEvent(t,n){switch(n.type){case M.FullSnapshot:{this.crossOriginIframeMirror.reset(t),this.crossOriginIframeStyleMirror.reset(t),this.replaceIdOnNode(n.data.node,t);let r=n.data.node.id;return this.crossOriginIframeRootIdMap.set(t,r),this.patchRootIdOnNode(n.data.node,r),{timestamp:n.timestamp,type:M.IncrementalSnapshot,data:{source:w.Mutation,adds:[{parentId:this.mirror.getId(t),nextId:null,node:n.data.node}],removes:[],texts:[],attributes:[],isAttachIframe:!0}}}case M.Meta:case M.Load:case M.DomContentLoaded:return!1;case M.Plugin:return n;case M.Custom:return this.replaceIds(n.data.payload,t,["id","parentId","previousId","nextId"]),n;case M.IncrementalSnapshot:switch(n.data.source){case w.Mutation:return n.data.adds.forEach(r=&gt;{this.replaceIds(r,t,["parentId","nextId","previousId"]),this.replaceIdOnNode(r.node,t);let o=this.crossOriginIframeRootIdMap.get(t);o&amp;&amp;this.patchRootIdOnNode(r.node,o)}),n.data.removes.forEach(r=&gt;{this.replaceIds(r,t,["parentId","id"])}),n.data.attributes.forEach(r=&gt;{this.replaceIds(r,t,["id"])}),n.data.texts.forEach(r=&gt;{this.replaceIds(r,t,["id"])}),n;case w.Drag:case w.TouchMove:case w.MouseMove:return n.data.positions.forEach(r=&gt;{this.replaceIds(r,t,["id"])}),n;case w.ViewportResize:return!1;case w.MediaInteraction:case w.MouseInteraction:case w.Scroll:case w.CanvasMutation:case w.Input:return this.replaceIds(n.data,t,["id"]),n;case w.StyleSheetRule:case w.StyleDeclaration:return this.replaceIds(n.data,t,["id"]),this.replaceStyleIds(n.data,t,["styleId"]),n;case w.Font:return n;case w.Selection:return n.data.ranges.forEach(r=&gt;{this.replaceIds(r,t,["start","end"])}),n;case w.AdoptedStyleSheet:return this.replaceIds(n.data,t,["id"]),this.replaceStyleIds(n.data,t,["styleIds"]),n.data.styles?.forEach(r=&gt;{this.replaceStyleIds(r,t,["styleId"])}),n}}return!1}replace(t,n,r,o){for(let i of o)!Array.isArray(n[i])&amp;&amp;typeof n[i]!="number"||(Array.isArray(n[i])?n[i]=t.getIds(r,n[i]):n[i]=t.getId(r,n[i]));return n}replaceIds(t,n,r){return this.replace(this.crossOriginIframeMirror,t,n,r)}replaceStyleIds(t,n,r){return this.replace(this.crossOriginIframeStyleMirror,t,n,r)}replaceIdOnNode(t,n){this.replaceIds(t,n,["id","rootId"]),"childNodes"in t&amp;&amp;t.childNodes.forEach(r=&gt;{this.replaceIdOnNode(r,n)})}patchRootIdOnNode(t,n){t.type!==ne.Document&amp;&amp;!t.rootId&amp;&amp;(t.rootId=n),"childNodes"in t&amp;&amp;t.childNodes.forEach(r=&gt;{this.patchRootIdOnNode(r,n)})}},ts=class{init(){}addShadowRoot(){}observeAttachShadow(){}reset(){}},ns=class{constructor(t){this.shadowDoms=new WeakSet,this.restoreHandlers=[],this.mutationCb=t.mutationCb,this.scrollCb=t.scrollCb,this.bypassOptions=t.bypassOptions,this.mirror=t.mirror,this.init()}init(){this.reset(),this.patchAttachShadow(Element,document)}addShadowRoot(t,n){if(!wn(t)||this.shadowDoms.has(t))return;this.shadowDoms.add(t),this.bypassOptions.canvasManager.addShadowRoot(t);let r=gu({...this.bypassOptions,doc:n,mutationCb:this.mutationCb,mirror:this.mirror,shadowDomManager:this},t);this.restoreHandlers.push(()=&gt;r.disconnect()),this.restoreHandlers.push(_u({...this.bypassOptions,scrollCb:this.scrollCb,doc:t,mirror:this.mirror})),so(()=&gt;{t.adoptedStyleSheets&amp;&amp;t.adoptedStyleSheets.length&gt;0&amp;&amp;this.bypassOptions.stylesheetManager.adoptStyleSheets(t.adoptedStyleSheets,this.mirror.getId(t.host)),this.restoreHandlers.push(yu({mirror:this.mirror,stylesheetManager:this.bypassOptions.stylesheetManager},t))},0)}observeAttachShadow(t){let n=Is(t),r=xm(t);!n||!r||this.patchAttachShadow(r.Element,n)}patchAttachShadow(t,n){let r=this;this.restoreHandlers.push(Ss(t.prototype,"attachShadow",function(o){return function(i){let s=o.call(this,i);return this.shadowRoot&amp;&amp;mu(this)&amp;&amp;r.addShadowRoot(this.shadowRoot,n),s}}))}reset(){this.restoreHandlers.forEach(t=&gt;{try{t()}catch{}}),this.restoreHandlers=[],this.shadowDoms=new WeakSet,this.bypassOptions.canvasManager.resetShadowRoots()}},$c="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Wm=typeof Uint8Array&gt;"u"?[]:new Uint8Array(256);for(Tn=0;Tn&lt;$c.length;Tn++)Wm[$c.charCodeAt(Tn)]=Tn;var Tn,Qr=class{reset(){}freeze(){}unfreeze(){}lock(){}unlock(){}snapshot(){}addWindow(){}addShadowRoot(){}resetShadowRoots(){}},rs=class{constructor(t){this.trackedLinkElements=new WeakSet,this.styleMirror=new Ki,this.mutationCb=t.mutationCb,this.adoptedStyleSheetCb=t.adoptedStyleSheetCb}attachLinkElement(t,n){"_cssText"in n.attributes&amp;&amp;this.mutationCb({adds:[],removes:[],texts:[],attributes:[{id:n.id,attributes:n.attributes}]}),this.trackLinkElement(t)}trackLinkElement(t){this.trackedLinkElements.has(t)||(this.trackedLinkElements.add(t),this.trackStylesheetInLinkElement(t))}adoptStyleSheets(t,n){if(t.length===0)return;let r={id:n,styleIds:[]},o=[];for(let i of t){let s;this.styleMirror.has(i)?s=this.styleMirror.getId(i):(s=this.styleMirror.add(i),o.push({styleId:s,rules:Array.from(i.rules||CSSRule,(a,c)=&gt;({rule:Xc(a),index:c}))})),r.styleIds.push(s)}o.length&gt;0&amp;&amp;(r.styles=o),this.adoptedStyleSheetCb(r)}reset(){this.styleMirror.reset(),this.trackedLinkElements=new WeakSet}trackStylesheetInLinkElement(t){}},os=class{constructor(){this.nodeMap=new WeakMap,this.active=!1}inOtherBuffer(t,n){let r=this.nodeMap.get(t);return r&amp;&amp;Array.from(r).some(o=&gt;o!==n)}add(t,n){this.active||(this.active=!0,vm(()=&gt;{this.nodeMap=new WeakMap,this.active=!1})),this.nodeMap.set(t,(this.nodeMap.get(t)||new Set).add(n))}destroy(){}},J,Zr;try{if(Array.from([1],e=&gt;e*2)[0]!==2){let e=document.createElement("iframe");document.body.appendChild(e),Array.from=e.contentWindow?.Array.from||Array.from,document.body.removeChild(e)}}catch(e){console.debug("Unable to override Array.from",e)}var Oe=Xp();function et(e={}){let{emit:t,checkoutEveryNms:n,checkoutEveryNth:r,blockClass:o="rr-block",blockSelector:i=null,unblockSelector:s=null,ignoreClass:a="rr-ignore",ignoreSelector:c=null,maskAllText:u=!1,maskTextClass:f="rr-mask",unmaskTextClass:d=null,maskTextSelector:p=null,unmaskTextSelector:m=null,inlineStylesheet:h=!0,maskAllInputs:_,maskInputOptions:y,slimDOMOptions:E,maskAttributeFn:k,maskInputFn:W,maskTextFn:L,maxCanvasSize:R=null,packFn:T,sampling:N={},dataURLOptions:O={},mousemoveWait:S,recordDOM:x=!0,recordCanvas:j=!1,recordCrossOriginIframes:Y=!1,recordAfter:Z=e.recordAfter==="DOMContentLoaded"?e.recordAfter:"load",userTriggeredOnInput:re=!1,collectFonts:be=!1,inlineImages:B=!1,plugins:Ie,keepIframeSrcFn:K=()=&gt;!1,ignoreCSSAttributes:xe=new Set([]),errorHandler:ze,onMutation:Ps,getCanvasManager:el}=e;Cm(ze);let Fn=Y?window.parent===window:!0,Qt=!1;if(!Fn)try{window.parent.document&amp;&amp;(Qt=!1)}catch{Qt=!0}if(Fn&amp;&amp;!t)throw new Error("emit function is required");if(!Fn&amp;&amp;!Qt)return()=&gt;{};S!==void 0&amp;&amp;N.mousemove===void 0&amp;&amp;(N.mousemove=S),Oe.reset();let go=_===!0?{color:!0,date:!0,"datetime-local":!0,email:!0,month:!0,number:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0,textarea:!0,select:!0,radio:!0,checkbox:!0}:y!==void 0?y:{},_o=E===!0||E==="all"?{script:!0,comment:!0,headFavicon:!0,headWhitespace:!0,headMetaSocial:!0,headMetaRobots:!0,headMetaHttpEquiv:!0,headMetaVerification:!0,headMetaAuthorship:E==="all",headMetaDescKeywords:E==="all"}:E||{};Im();let yo,So=0,Fs=H=&gt;{for(let ke of Ie||[])ke.eventProcessor&amp;&amp;(H=ke.eventProcessor(H));return T&amp;&amp;!Qt&amp;&amp;(H=T(H)),H};J=(H,ke)=&gt;{let P=H;if(P.timestamp=Jr(),Vt[0]?.isFrozen()&amp;&amp;P.type!==M.FullSnapshot&amp;&amp;!(P.type===M.IncrementalSnapshot&amp;&amp;P.data.source===w.Mutation)&amp;&amp;Vt.forEach(ie=&gt;ie.unfreeze()),Fn)t?.(Fs(P),ke);else if(Qt){let ie={type:"rrweb",event:Fs(P),origin:window.location.origin,isCheckout:ke};window.parent.postMessage(ie,"*")}if(P.type===M.FullSnapshot)yo=P,So=0;else if(P.type===M.IncrementalSnapshot){if(P.data.source===w.Mutation&amp;&amp;P.data.isAttachIframe)return;So++;let ie=r&amp;&amp;So&gt;=r,$=n&amp;&amp;yo&amp;&amp;P.timestamp-yo.timestamp&gt;n;(ie||$)&amp;&amp;To(!0)}};let Bn=H=&gt;{J({type:M.IncrementalSnapshot,data:{source:w.Mutation,...H}})},Bs=H=&gt;J({type:M.IncrementalSnapshot,data:{source:w.Scroll,...H}}),tl=H=&gt;J({type:M.IncrementalSnapshot,data:{source:w.CanvasMutation,...H}}),nl=H=&gt;J({type:M.IncrementalSnapshot,data:{source:w.AdoptedStyleSheet,...H}}),ft=new rs({mutationCb:Bn,adoptedStyleSheetCb:nl}),pt=typeof __RRWEB_EXCLUDE_IFRAME__=="boolean"&amp;&amp;__RRWEB_EXCLUDE_IFRAME__?new Zi:new es({mirror:Oe,mutationCb:Bn,stylesheetManager:ft,recordCrossOriginIframes:Y,wrappedEmit:J});for(let H of Ie||[])H.getMirror&amp;&amp;H.getMirror({nodeMirror:Oe,crossOriginIframeMirror:pt.crossOriginIframeMirror,crossOriginIframeStyleMirror:pt.crossOriginIframeStyleMirror});let Eo=new os,Io=zm(el,{mirror:Oe,win:window,mutationCb:H=&gt;J({type:M.IncrementalSnapshot,data:{source:w.CanvasMutation,...H}}),recordCanvas:j,blockClass:o,blockSelector:i,unblockSelector:s,maxCanvasSize:R,sampling:N.canvas,dataURLOptions:O,errorHandler:ze}),Un=typeof __RRWEB_EXCLUDE_SHADOW_DOM__=="boolean"&amp;&amp;__RRWEB_EXCLUDE_SHADOW_DOM__?new ts:new ns({mutationCb:Bn,scrollCb:Bs,bypassOptions:{onMutation:Ps,blockClass:o,blockSelector:i,unblockSelector:s,maskAllText:u,maskTextClass:f,unmaskTextClass:d,maskTextSelector:p,unmaskTextSelector:m,inlineStylesheet:h,maskInputOptions:go,dataURLOptions:O,maskAttributeFn:k,maskTextFn:L,maskInputFn:W,recordCanvas:j,inlineImages:B,sampling:N,slimDOMOptions:_o,iframeManager:pt,stylesheetManager:ft,canvasManager:Io,keepIframeSrcFn:K,processedNodeManager:Eo},mirror:Oe}),To=(H=!1)=&gt;{if(!x)return;J({type:M.Meta,data:{href:window.location.href,width:cu(),height:au()}},H),ft.reset(),Un.init(),Vt.forEach(P=&gt;P.lock());let ke=Sm(document,{mirror:Oe,blockClass:o,blockSelector:i,unblockSelector:s,maskAllText:u,maskTextClass:f,unmaskTextClass:d,maskTextSelector:p,unmaskTextSelector:m,inlineStylesheet:h,maskAllInputs:go,maskAttributeFn:k,maskInputFn:W,maskTextFn:L,slimDOM:_o,dataURLOptions:O,recordCanvas:j,inlineImages:B,onSerialize:P=&gt;{du(P,Oe)&amp;&amp;pt.addIframe(P),fu(P,Oe)&amp;&amp;ft.trackLinkElement(P),Yi(P)&amp;&amp;Un.addShadowRoot(P.shadowRoot,document)},onIframeLoad:(P,ie)=&gt;{pt.attachIframe(P,ie),P.contentWindow&amp;&amp;Io.addWindow(P.contentWindow),Un.observeAttachShadow(P)},onStylesheetLoad:(P,ie)=&gt;{ft.attachLinkElement(P,ie)},keepIframeSrcFn:K});if(!ke)return console.warn("Failed to snapshot the document");J({type:M.FullSnapshot,data:{node:ke,initialOffset:su(window)}}),Vt.forEach(P=&gt;P.unlock()),document.adoptedStyleSheets&amp;&amp;document.adoptedStyleSheets.length&gt;0&amp;&amp;ft.adoptStyleSheets(document.adoptedStyleSheets,Oe.getId(document))};Zr=To;try{let H=[],ke=ie=&gt;F($m)({onMutation:Ps,mutationCb:Bn,mousemoveCb:($,bo)=&gt;J({type:M.IncrementalSnapshot,data:{source:bo,positions:$}}),mouseInteractionCb:$=&gt;J({type:M.IncrementalSnapshot,data:{source:w.MouseInteraction,...$}}),scrollCb:Bs,viewportResizeCb:$=&gt;J({type:M.IncrementalSnapshot,data:{source:w.ViewportResize,...$}}),inputCb:$=&gt;J({type:M.IncrementalSnapshot,data:{source:w.Input,...$}}),mediaInteractionCb:$=&gt;J({type:M.IncrementalSnapshot,data:{source:w.MediaInteraction,...$}}),styleSheetRuleCb:$=&gt;J({type:M.IncrementalSnapshot,data:{source:w.StyleSheetRule,...$}}),styleDeclarationCb:$=&gt;J({type:M.IncrementalSnapshot,data:{source:w.StyleDeclaration,...$}}),canvasMutationCb:tl,fontCb:$=&gt;J({type:M.IncrementalSnapshot,data:{source:w.Font,...$}}),selectionCb:$=&gt;{J({type:M.IncrementalSnapshot,data:{source:w.Selection,...$}})},customElementCb:$=&gt;{J({type:M.IncrementalSnapshot,data:{source:w.CustomElement,...$}})},blockClass:o,ignoreClass:a,ignoreSelector:c,maskAllText:u,maskTextClass:f,unmaskTextClass:d,maskTextSelector:p,unmaskTextSelector:m,maskInputOptions:go,inlineStylesheet:h,sampling:N,recordDOM:x,recordCanvas:j,inlineImages:B,userTriggeredOnInput:re,collectFonts:be,doc:ie,maskAttributeFn:k,maskInputFn:W,maskTextFn:L,keepIframeSrcFn:K,blockSelector:i,unblockSelector:s,slimDOMOptions:_o,dataURLOptions:O,mirror:Oe,iframeManager:pt,stylesheetManager:ft,shadowDomManager:Un,processedNodeManager:Eo,canvasManager:Io,ignoreCSSAttributes:xe,plugins:Ie?.filter($=&gt;$.observer)?.map($=&gt;({observer:$.observer,options:$.options,callback:bo=&gt;J({type:M.Plugin,data:{plugin:$.name,payload:bo}})}))||[]},{});pt.addLoadListener(ie=&gt;{try{H.push(ke(ie.contentDocument))}catch($){console.warn($)}});let P=()=&gt;{To(),H.push(ke(document))};return document.readyState==="interactive"||document.readyState==="complete"?P():(H.push(pe("DOMContentLoaded",()=&gt;{J({type:M.DomContentLoaded,data:{}}),Z==="DOMContentLoaded"&amp;&amp;P()})),H.push(pe("load",()=&gt;{J({type:M.Load,data:{}}),Z==="load"&amp;&amp;P()},window))),()=&gt;{H.forEach(ie=&gt;ie()),Eo.destroy(),Zr=void 0,Rm()}}catch(H){console.warn(H)}}function jm(e){if(!Zr)throw new Error("please take full snapshot after start recording");Zr(e)}et.mirror=Oe;et.takeFullSnapshot=jm;function zm(e,t){try{return e?e(t):new Qr}catch{return console.warn("Unable to initialize CanvasManager"),new Qr}}var Wc;(function(e){e[e.NotStarted=0]="NotStarted",e[e.Running=1]="Running",e[e.Stopped=2]="Stopped"})(Wc||(Wc={}));var Gm=3,qm=5;function Ts(e){return e&gt;9999999999?e:e*1e3}function Wi(e){return e&gt;9999999999?e/1e3:e}function Ln(e,t){t.category!=="sentry.transaction"&amp;&amp;(["ui.click","ui.input"].includes(t.category)?e.triggerUserActivity():e.checkAndHandleExpiredSession(),e.addUpdate(()=&gt;(e.throttledAddEvent({type:M.Custom,timestamp:(t.timestamp||0)*1e3,data:{tag:"breadcrumb",payload:de(t,10,1e3)}}),t.category==="console")))}var Vm="button,a";function Su(e){return e.closest(Vm)||e}function Eu(e){let t=Iu(e);return!t||!(t instanceof Element)?t:Su(t)}function Iu(e){return Ym(e)?e.target:e}function Ym(e){return typeof e=="object"&amp;&amp;!!e&amp;&amp;"target"in e}var lt;function Km(e){return lt||(lt=[],Jm()),lt.push(e),()=&gt;{let t=lt?lt.indexOf(e):-1;t&gt;-1&amp;&amp;lt.splice(t,1)}}function Jm(){X(q,"open",function(e){return function(...t){if(lt)try{lt.forEach(n=&gt;n())}catch{}return e.apply(q,t)}})}var Xm=new Set([w.Mutation,w.StyleSheetRule,w.StyleDeclaration,w.AdoptedStyleSheet,w.CanvasMutation,w.Selection,w.MediaInteraction]);function Qm(e,t,n){e.handleClick(t,n)}var is=class{constructor(t,n,r=Ln){this._lastMutation=0,this._lastScroll=0,this._clicks=[],this._timeout=n.timeout/1e3,this._threshold=n.threshold/1e3,this._scrollTimeout=n.scrollTimeout/1e3,this._replay=t,this._ignoreSelector=n.ignoreSelector,this._addBreadcrumbEvent=r}addListeners(){let t=Km(()=&gt;{this._lastMutation=jc()});this._teardown=()=&gt;{t(),this._clicks=[],this._lastMutation=0,this._lastScroll=0}}removeListeners(){this._teardown&amp;&amp;this._teardown(),this._checkClickTimeout&amp;&amp;clearTimeout(this._checkClickTimeout)}handleClick(t,n){if(eh(n,this._ignoreSelector)||!th(t))return;let r={timestamp:Wi(t.timestamp),clickBreadcrumb:t,clickCount:0,node:n};this._clicks.some(o=&gt;o.node===r.node&amp;&amp;Math.abs(o.timestamp-r.timestamp)&lt;1)||(this._clicks.push(r),this._clicks.length===1&amp;&amp;this._scheduleCheckClicks())}registerMutation(t=Date.now()){this._lastMutation=Wi(t)}registerScroll(t=Date.now()){this._lastScroll=Wi(t)}registerClick(t){let n=Su(t);this._handleMultiClick(n)}_handleMultiClick(t){this._getClicks(t).forEach(n=&gt;{n.clickCount++})}_getClicks(t){return this._clicks.filter(n=&gt;n.node===t)}_checkClicks(){let t=[],n=jc();this._clicks.forEach(r=&gt;{!r.mutationAfter&amp;&amp;this._lastMutation&amp;&amp;(r.mutationAfter=r.timestamp&lt;=this._lastMutation?this._lastMutation-r.timestamp:void 0),!r.scrollAfter&amp;&amp;this._lastScroll&amp;&amp;(r.scrollAfter=r.timestamp&lt;=this._lastScroll?this._lastScroll-r.timestamp:void 0),r.timestamp+this._timeout&lt;=n&amp;&amp;t.push(r)});for(let r of t){let o=this._clicks.indexOf(r);o&gt;-1&amp;&amp;(this._generateBreadcrumbs(r),this._clicks.splice(o,1))}this._clicks.length&amp;&amp;this._scheduleCheckClicks()}_generateBreadcrumbs(t){let n=this._replay,r=t.scrollAfter&amp;&amp;t.scrollAfter&lt;=this._scrollTimeout,o=t.mutationAfter&amp;&amp;t.mutationAfter&lt;=this._threshold,i=!r&amp;&amp;!o,{clickCount:s,clickBreadcrumb:a}=t;if(i){let c=Math.min(t.mutationAfter||this._timeout,this._timeout)*1e3,u=c&lt;this._timeout*1e3?"mutation":"timeout",f={type:"default",message:a.message,timestamp:a.timestamp,category:"ui.slowClickDetected",data:{...a.data,url:q.location.href,route:n.getCurrentRoute(),timeAfterClickMs:c,endReason:u,clickCount:s||1}};this._addBreadcrumbEvent(n,f);return}if(s&gt;1){let c={type:"default",message:a.message,timestamp:a.timestamp,category:"ui.multiClick",data:{...a.data,url:q.location.href,route:n.getCurrentRoute(),clickCount:s,metric:!0}};this._addBreadcrumbEvent(n,c)}}_scheduleCheckClicks(){this._checkClickTimeout&amp;&amp;clearTimeout(this._checkClickTimeout),this._checkClickTimeout=ct(()=&gt;this._checkClicks(),1e3)}},Zm=["A","BUTTON","INPUT"];function eh(e,t){return!!(!Zm.includes(e.tagName)||e.tagName==="INPUT"&amp;&amp;!["submit","button"].includes(e.getAttribute("type")||"")||e.tagName==="A"&amp;&amp;(e.hasAttribute("download")||e.hasAttribute("target")&amp;&amp;e.getAttribute("target")!=="_self")||t&amp;&amp;e.matches(t))}function th(e){return!!(e.data&amp;&amp;typeof e.data.nodeId=="number"&amp;&amp;e.timestamp)}function jc(){return Date.now()/1e3}function nh(e,t){try{if(!rh(t))return;let{source:n}=t.data;if(Xm.has(n)&amp;&amp;e.registerMutation(t.timestamp),n===w.Scroll&amp;&amp;e.registerScroll(t.timestamp),oh(t)){let{type:r,id:o}=t.data,i=et.mirror.getNode(o);i instanceof HTMLElement&amp;&amp;r===fe.Click&amp;&amp;e.registerClick(i)}}catch{}}function rh(e){return e.type===Gm}function oh(e){return e.data.source===w.MouseInteraction}function je(e){return{timestamp:Date.now()/1e3,type:"default",...e}}var bs=(e=&gt;(e[e.Document=0]="Document",e[e.DocumentType=1]="DocumentType",e[e.Element=2]="Element",e[e.Text=3]="Text",e[e.CDATA=4]="CDATA",e[e.Comment=5]="Comment",e))(bs||{}),ih=new Set(["id","class","aria-label","role","name","alt","title","data-test-id","data-testid","disabled","aria-disabled","data-sentry-component"]);function sh(e){let t={};!e["data-sentry-component"]&amp;&amp;e["data-sentry-element"]&amp;&amp;(e["data-sentry-component"]=e["data-sentry-element"]);for(let n in e)if(ih.has(n)){let r=n;(n==="data-testid"||n==="data-test-id")&amp;&amp;(r="testId"),t[r]=e[n]}return t}var ah=e=&gt;t=&gt;{if(!e.isEnabled())return;let n=ch(t);if(!n)return;let r=t.name==="click",o=r?t.event:void 0;r&amp;&amp;e.clickDetector&amp;&amp;o&amp;&amp;o.target&amp;&amp;!o.altKey&amp;&amp;!o.metaKey&amp;&amp;!o.ctrlKey&amp;&amp;!o.shiftKey&amp;&amp;Qm(e.clickDetector,n,Eu(t.event)),Ln(e,n)};function Tu(e,t){let n=et.mirror.getId(e),r=n&amp;&amp;et.mirror.getNode(n),o=r&amp;&amp;et.mirror.getMeta(r),i=o&amp;&amp;lh(o)?o:null;return{message:t,data:i?{nodeId:n,node:{id:n,tagName:i.tagName,textContent:Array.from(i.childNodes).map(s=&gt;s.type===bs.Text&amp;&amp;s.textContent).filter(Boolean).map(s=&gt;s.trim()).join(""),attributes:sh(i.attributes)}}:{}}}function ch(e){let{target:t,message:n}=uh(e);return je({category:`ui.${e.name}`,...Tu(t,n)})}function uh(e){let t=e.name==="click",n,r=null;try{r=t?Eu(e.event):Iu(e.event),n=tt(r,{maxStringLength:200})||"&lt;unknown&gt;"}catch{n="&lt;unknown&gt;"}return{target:r,message:n}}function lh(e){return e.type===bs.Element}function dh(e,t){if(!e.isEnabled())return;e.updateUserActivity();let n=fh(t);n&amp;&amp;Ln(e,n)}function fh(e){let{metaKey:t,shiftKey:n,ctrlKey:r,altKey:o,key:i,target:s}=e;if(!s||ph(s)||!i)return null;let a=t||r||o,c=i.length===1;if(!a&amp;&amp;c)return null;let u=tt(s,{maxStringLength:200})||"&lt;unknown&gt;",f=Tu(s,u);return je({category:"ui.keyDown",message:u,data:{...f.data,metaKey:t,shiftKey:n,ctrlKey:r,altKey:o,key:i}})}function ph(e){return e.tagName==="INPUT"||e.tagName==="TEXTAREA"||e.isContentEditable}var mh={resource:Sh,paint:_h,navigation:yh};function jr(e,t){return({metric:n})=&gt;void t.replayPerformanceEntries.push(e(n))}function hh(e){return e.map(gh).filter(Boolean)}function gh(e){let t=mh[e.entryType];return t?t(e):null}function Jt(e){return((Uo()||q.performance.timeOrigin)+e)/1e3}function _h(e){let{duration:t,entryType:n,name:r,startTime:o}=e,i=Jt(o);return{type:n,name:r,start:i,end:i+t,data:void 0}}function yh(e){let{entryType:t,name:n,decodedBodySize:r,duration:o,domComplete:i,encodedBodySize:s,domContentLoadedEventStart:a,domContentLoadedEventEnd:c,domInteractive:u,loadEventStart:f,loadEventEnd:d,redirectCount:p,startTime:m,transferSize:h,type:_}=e;return o===0?null:{type:`${t}.${_}`,start:Jt(m),end:Jt(i),name:n,data:{size:h,decodedBodySize:r,encodedBodySize:s,duration:o,domInteractive:u,domContentLoadedEventStart:a,domContentLoadedEventEnd:c,loadEventStart:f,loadEventEnd:d,domComplete:i,redirectCount:p}}}function Sh(e){let{entryType:t,initiatorType:n,name:r,responseEnd:o,startTime:i,decodedBodySize:s,encodedBodySize:a,responseStatus:c,transferSize:u}=e;return["fetch","xmlhttprequest"].includes(n)?null:{type:`${t}.${n}`,start:Jt(i),end:Jt(o),name:r,data:{size:u,statusCode:c,decodedBodySize:s,encodedBodySize:a}}}function Eh(e){let t=e.entries[e.entries.length-1],n=t?.element?[t.element]:void 0;return ao(e,"largest-contentful-paint",n)}function Ih(e){return e.sources!==void 0}function Th(e){let t=[],n=[];for(let r of e.entries)if(Ih(r)){let o=[];for(let i of r.sources)if(i.node){n.push(i.node);let s=et.mirror.getId(i.node);s&amp;&amp;o.push(s)}t.push({value:r.value,nodeIds:o.length?o:void 0})}return ao(e,"cumulative-layout-shift",n,t)}function bh(e){let t=e.entries[e.entries.length-1],n=t?.target?[t.target]:void 0;return ao(e,"first-input-delay",n)}function vh(e){let t=e.entries[e.entries.length-1],n=t?.target?[t.target]:void 0;return ao(e,"interaction-to-next-paint",n)}function ao(e,t,n,r){let o=e.value,i=e.rating,s=Jt(o);return{type:"web-vital",name:t,start:s,end:s,data:{value:o,size:o,rating:i,nodeIds:n?n.map(a=&gt;et.mirror.getId(a)):void 0,attributions:r}}}function wh(e){function t(o){e.performanceEntries.includes(o)||e.performanceEntries.push(o)}function n({entries:o}){o.forEach(t)}let r=[];return["navigation","paint","resource"].forEach(o=&gt;{r.push(Li(o,n))}),r.push(Ai(jr(Eh,e)),Oi(jr(Th,e)),Ni(jr(bh,e)),Di(jr(vh,e))),()=&gt;{r.forEach(o=&gt;o())}}var b=typeof __SENTRY_DEBUG__&gt;"u"||__SENTRY_DEBUG__,xh='var t=Uint8Array,n=Uint16Array,r=Int32Array,e=new t([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,0,0,0]),i=new t([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,0,0]),s=new t([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),a=function(t,e){for(var i=new n(31),s=0;s&lt;31;++s)i[s]=e+=1&lt;&lt;t[s-1];var a=new r(i[30]);for(s=1;s&lt;30;++s)for(var o=i[s];o&lt;i[s+1];++o)a[o]=o-i[s]&lt;&lt;5|s;return{b:i,r:a}},o=a(e,2),h=o.b,f=o.r;h[28]=258,f[258]=28;for(var l=a(i,0).r,u=new n(32768),c=0;c&lt;32768;++c){var v=(43690&amp;c)&gt;&gt;1|(21845&amp;c)&lt;&lt;1;v=(61680&amp;(v=(52428&amp;v)&gt;&gt;2|(13107&amp;v)&lt;&lt;2))&gt;&gt;4|(3855&amp;v)&lt;&lt;4,u[c]=((65280&amp;v)&gt;&gt;8|(255&amp;v)&lt;&lt;8)&gt;&gt;1}var d=function(t,r,e){for(var i=t.length,s=0,a=new n(r);s&lt;i;++s)t[s]&amp;&amp;++a[t[s]-1];var o,h=new n(r);for(s=1;s&lt;r;++s)h[s]=h[s-1]+a[s-1]&lt;&lt;1;if(e){o=new n(1&lt;&lt;r);var f=15-r;for(s=0;s&lt;i;++s)if(t[s])for(var l=s&lt;&lt;4|t[s],c=r-t[s],v=h[t[s]-1]++&lt;&lt;c,d=v|(1&lt;&lt;c)-1;v&lt;=d;++v)o[u[v]&gt;&gt;f]=l}else for(o=new n(i),s=0;s&lt;i;++s)t[s]&amp;&amp;(o[s]=u[h[t[s]-1]++]&gt;&gt;15-t[s]);return o},p=new t(288);for(c=0;c&lt;144;++c)p[c]=8;for(c=144;c&lt;256;++c)p[c]=9;for(c=256;c&lt;280;++c)p[c]=7;for(c=280;c&lt;288;++c)p[c]=8;var g=new t(32);for(c=0;c&lt;32;++c)g[c]=5;var w=d(p,9,0),y=d(g,5,0),m=function(t){return(t+7)/8|0},b=function(n,r,e){return(null==e||e&gt;n.length)&amp;&amp;(e=n.length),new t(n.subarray(r,e))},M=["unexpected EOF","invalid block type","invalid length/literal","invalid distance","stream finished","no stream handler",,"no callback","invalid UTF-8 data","extra field too long","date not in range 1980-2099","filename too long","stream finishing","invalid zip data"],E=function(t,n,r){var e=new Error(n||M[t]);if(e.code=t,Error.captureStackTrace&amp;&amp;Error.captureStackTrace(e,E),!r)throw e;return e},z=function(t,n,r){r&lt;&lt;=7&amp;n;var e=n/8|0;t[e]|=r,t[e+1]|=r&gt;&gt;8},_=function(t,n,r){r&lt;&lt;=7&amp;n;var e=n/8|0;t[e]|=r,t[e+1]|=r&gt;&gt;8,t[e+2]|=r&gt;&gt;16},x=function(r,e){for(var i=[],s=0;s&lt;r.length;++s)r[s]&amp;&amp;i.push({s:s,f:r[s]});var a=i.length,o=i.slice();if(!a)return{t:F,l:0};if(1==a){var h=new t(i[0].s+1);return h[i[0].s]=1,{t:h,l:1}}i.sort((function(t,n){return t.f-n.f})),i.push({s:-1,f:25001});var f=i[0],l=i[1],u=0,c=1,v=2;for(i[0]={s:-1,f:f.f+l.f,l:f,r:l};c!=a-1;)f=i[i[u].f&lt;i[v].f?u++:v++],l=i[u!=c&amp;&amp;i[u].f&lt;i[v].f?u++:v++],i[c++]={s:-1,f:f.f+l.f,l:f,r:l};var d=o[0].s;for(s=1;s&lt;a;++s)o[s].s&gt;d&amp;&amp;(d=o[s].s);var p=new n(d+1),g=A(i[c-1],p,0);if(g&gt;e){s=0;var w=0,y=g-e,m=1&lt;&lt;y;for(o.sort((function(t,n){return p[n.s]-p[t.s]||t.f-n.f}));s&lt;a;++s){var b=o[s].s;if(!(p[b]&gt;e))break;w+=m-(1&lt;&lt;g-p[b]),p[b]=e}for(w&gt;&gt;=y;w&gt;0;){var M=o[s].s;p[M]&lt;e?w-=1&lt;&lt;e-p[M]++-1:++s}for(;s&gt;=0&amp;&amp;w;--s){var E=o[s].s;p[E]==e&amp;&amp;(--p[E],++w)}g=e}return{t:new t(p),l:g}},A=function(t,n,r){return-1==t.s?Math.max(A(t.l,n,r+1),A(t.r,n,r+1)):n[t.s]=r},D=function(t){for(var r=t.length;r&amp;&amp;!t[--r];);for(var e=new n(++r),i=0,s=t[0],a=1,o=function(t){e[i++]=t},h=1;h&lt;=r;++h)if(t[h]==s&amp;&amp;h!=r)++a;else{if(!s&amp;&amp;a&gt;2){for(;a&gt;138;a-=138)o(32754);a&gt;2&amp;&amp;(o(a&gt;10?a-11&lt;&lt;5|28690:a-3&lt;&lt;5|12305),a=0)}else if(a&gt;3){for(o(s),--a;a&gt;6;a-=6)o(8304);a&gt;2&amp;&amp;(o(a-3&lt;&lt;5|8208),a=0)}for(;a--;)o(s);a=1,s=t[h]}return{c:e.subarray(0,i),n:r}},T=function(t,n){for(var r=0,e=0;e&lt;n.length;++e)r+=t[e]*n[e];return r},k=function(t,n,r){var e=r.length,i=m(n+2);t[i]=255&amp;e,t[i+1]=e&gt;&gt;8,t[i+2]=255^t[i],t[i+3]=255^t[i+1];for(var s=0;s&lt;e;++s)t[i+s+4]=r[s];return 8*(i+4+e)},U=function(t,r,a,o,h,f,l,u,c,v,m){z(r,m++,a),++h[256];for(var b=x(h,15),M=b.t,E=b.l,A=x(f,15),U=A.t,C=A.l,F=D(M),I=F.c,S=F.n,L=D(U),O=L.c,j=L.n,q=new n(19),B=0;B&lt;I.length;++B)++q[31&amp;I[B]];for(B=0;B&lt;O.length;++B)++q[31&amp;O[B]];for(var G=x(q,7),H=G.t,J=G.l,K=19;K&gt;4&amp;&amp;!H[s[K-1]];--K);var N,P,Q,R,V=v+5&lt;&lt;3,W=T(h,p)+T(f,g)+l,X=T(h,M)+T(f,U)+l+14+3*K+T(q,H)+2*q[16]+3*q[17]+7*q[18];if(c&gt;=0&amp;&amp;V&lt;=W&amp;&amp;V&lt;=X)return k(r,m,t.subarray(c,c+v));if(z(r,m,1+(X&lt;W)),m+=2,X&lt;W){N=d(M,E,0),P=M,Q=d(U,C,0),R=U;var Y=d(H,J,0);z(r,m,S-257),z(r,m+5,j-1),z(r,m+10,K-4),m+=14;for(B=0;B&lt;K;++B)z(r,m+3*B,H[s[B]]);m+=3*K;for(var Z=[I,O],$=0;$&lt;2;++$){var tt=Z[$];for(B=0;B&lt;tt.length;++B){var nt=31&amp;tt[B];z(r,m,Y[nt]),m+=H[nt],nt&gt;15&amp;&amp;(z(r,m,tt[B]&gt;&gt;5&amp;127),m+=tt[B]&gt;&gt;12)}}}else N=w,P=p,Q=y,R=g;for(B=0;B&lt;u;++B){var rt=o[B];if(rt&gt;255){_(r,m,N[(nt=rt&gt;&gt;18&amp;31)+257]),m+=P[nt+257],nt&gt;7&amp;&amp;(z(r,m,rt&gt;&gt;23&amp;31),m+=e[nt]);var et=31&amp;rt;_(r,m,Q[et]),m+=R[et],et&gt;3&amp;&amp;(_(r,m,rt&gt;&gt;5&amp;8191),m+=i[et])}else _(r,m,N[rt]),m+=P[rt]}return _(r,m,N[256]),m+P[256]},C=new r([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),F=new t(0),I=function(){for(var t=new Int32Array(256),n=0;n&lt;256;++n){for(var r=n,e=9;--e;)r=(1&amp;r&amp;&amp;-306674912)^r&gt;&gt;&gt;1;t[n]=r}return t}(),S=function(){var t=-1;return{p:function(n){for(var r=t,e=0;e&lt;n.length;++e)r=I[255&amp;r^n[e]]^r&gt;&gt;&gt;8;t=r},d:function(){return~t}}},L=function(){var t=1,n=0;return{p:function(r){for(var e=t,i=n,s=0|r.length,a=0;a!=s;){for(var o=Math.min(a+2655,s);a&lt;o;++a)i+=e+=r[a];e=(65535&amp;e)+15*(e&gt;&gt;16),i=(65535&amp;i)+15*(i&gt;&gt;16)}t=e,n=i},d:function(){return(255&amp;(t%=65521))&lt;&lt;24|(65280&amp;t)&lt;&lt;8|(255&amp;(n%=65521))&lt;&lt;8|n&gt;&gt;8}}},O=function(s,a,o,h,u){if(!u&amp;&amp;(u={l:1},a.dictionary)){var c=a.dictionary.subarray(-32768),v=new t(c.length+s.length);v.set(c),v.set(s,c.length),s=v,u.w=c.length}return function(s,a,o,h,u,c){var v=c.z||s.length,d=new t(h+v+5*(1+Math.ceil(v/7e3))+u),p=d.subarray(h,d.length-u),g=c.l,w=7&amp;(c.r||0);if(a){w&amp;&amp;(p[0]=c.r&gt;&gt;3);for(var y=C[a-1],M=y&gt;&gt;13,E=8191&amp;y,z=(1&lt;&lt;o)-1,_=c.p||new n(32768),x=c.h||new n(z+1),A=Math.ceil(o/3),D=2*A,T=function(t){return(s[t]^s[t+1]&lt;&lt;A^s[t+2]&lt;&lt;D)&amp;z},F=new r(25e3),I=new n(288),S=new n(32),L=0,O=0,j=c.i||0,q=0,B=c.w||0,G=0;j+2&lt;v;++j){var H=T(j),J=32767&amp;j,K=x[H];if(_[J]=K,x[H]=J,B&lt;=j){var N=v-j;if((L&gt;7e3||q&gt;24576)&amp;&amp;(N&gt;423||!g)){w=U(s,p,0,F,I,S,O,q,G,j-G,w),q=L=O=0,G=j;for(var P=0;P&lt;286;++P)I[P]=0;for(P=0;P&lt;30;++P)S[P]=0}var Q=2,R=0,V=E,W=J-K&amp;32767;if(N&gt;2&amp;&amp;H==T(j-W))for(var X=Math.min(M,N)-1,Y=Math.min(32767,j),Z=Math.min(258,N);W&lt;=Y&amp;&amp;--V&amp;&amp;J!=K;){if(s[j+Q]==s[j+Q-W]){for(var $=0;$&lt;Z&amp;&amp;s[j+$]==s[j+$-W];++$);if($&gt;Q){if(Q=$,R=W,$&gt;X)break;var tt=Math.min(W,$-2),nt=0;for(P=0;P&lt;tt;++P){var rt=j-W+P&amp;32767,et=rt-_[rt]&amp;32767;et&gt;nt&amp;&amp;(nt=et,K=rt)}}}W+=(J=K)-(K=_[J])&amp;32767}if(R){F[q++]=268435456|f[Q]&lt;&lt;18|l[R];var it=31&amp;f[Q],st=31&amp;l[R];O+=e[it]+i[st],++I[257+it],++S[st],B=j+Q,++L}else F[q++]=s[j],++I[s[j]]}}for(j=Math.max(j,B);j&lt;v;++j)F[q++]=s[j],++I[s[j]];w=U(s,p,g,F,I,S,O,q,G,j-G,w),g||(c.r=7&amp;w|p[w/8|0]&lt;&lt;3,w-=7,c.h=x,c.p=_,c.i=j,c.w=B)}else{for(j=c.w||0;j&lt;v+g;j+=65535){var at=j+65535;at&gt;=v&amp;&amp;(p[w/8|0]=g,at=v),w=k(p,w+1,s.subarray(j,at))}c.i=v}return b(d,0,h+m(w)+u)}(s,null==a.level?6:a.level,null==a.mem?u.l?Math.ceil(1.5*Math.max(8,Math.min(13,Math.log(s.length)))):20:12+a.mem,o,h,u)},j=function(t,n,r){for(;r;++n)t[n]=r,r&gt;&gt;&gt;=8},q=function(t,n){var r=n.filename;if(t[0]=31,t[1]=139,t[2]=8,t[8]=n.level&lt;2?4:9==n.level?2:0,t[9]=3,0!=n.mtime&amp;&amp;j(t,4,Math.floor(new Date(n.mtime||Date.now())/1e3)),r){t[3]=8;for(var e=0;e&lt;=r.length;++e)t[e+10]=r.charCodeAt(e)}},B=function(t){return 10+(t.filename?t.filename.length+1:0)},G=function(){function n(n,r){if("function"==typeof n&amp;&amp;(r=n,n={}),this.ondata=r,this.o=n||{},this.s={l:0,i:32768,w:32768,z:32768},this.b=new t(98304),this.o.dictionary){var e=this.o.dictionary.subarray(-32768);this.b.set(e,32768-e.length),this.s.i=32768-e.length}}return n.prototype.p=function(t,n){this.ondata(O(t,this.o,0,0,this.s),n)},n.prototype.push=function(n,r){this.ondata||E(5),this.s.l&amp;&amp;E(4);var e=n.length+this.s.z;if(e&gt;this.b.length){if(e&gt;2*this.b.length-32768){var i=new t(-32768&amp;e);i.set(this.b.subarray(0,this.s.z)),this.b=i}var s=this.b.length-this.s.z;this.b.set(n.subarray(0,s),this.s.z),this.s.z=this.b.length,this.p(this.b,!1),this.b.set(this.b.subarray(-32768)),this.b.set(n.subarray(s),32768),this.s.z=n.length-s+32768,this.s.i=32766,this.s.w=32768}else this.b.set(n,this.s.z),this.s.z+=n.length;this.s.l=1&amp;r,(this.s.z&gt;this.s.w+8191||r)&amp;&amp;(this.p(this.b,r||!1),this.s.w=this.s.i,this.s.i-=2)},n.prototype.flush=function(){this.ondata||E(5),this.s.l&amp;&amp;E(4),this.p(this.b,!1),this.s.w=this.s.i,this.s.i-=2},n}();var H=function(){function t(t,n){this.c=L(),this.v=1,G.call(this,t,n)}return t.prototype.push=function(t,n){this.c.p(t),G.prototype.push.call(this,t,n)},t.prototype.p=function(t,n){var r=O(t,this.o,this.v&amp;&amp;(this.o.dictionary?6:2),n&amp;&amp;4,this.s);this.v&amp;&amp;(function(t,n){var r=n.level,e=0==r?0:r&lt;6?1:9==r?3:2;if(t[0]=120,t[1]=e&lt;&lt;6|(n.dictionary&amp;&amp;32),t[1]|=31-(t[0]&lt;&lt;8|t[1])%31,n.dictionary){var i=L();i.p(n.dictionary),j(t,2,i.d())}}(r,this.o),this.v=0),n&amp;&amp;j(r,r.length-4,this.c.d()),this.ondata(r,n)},t.prototype.flush=function(){G.prototype.flush.call(this)},t}(),J="undefined"!=typeof TextEncoder&amp;&amp;new TextEncoder,K="undefined"!=typeof TextDecoder&amp;&amp;new TextDecoder;try{K.decode(F,{stream:!0})}catch(t){}var N=function(){function t(t){this.ondata=t}return t.prototype.push=function(t,n){this.ondata||E(5),this.d&amp;&amp;E(4),this.ondata(P(t),this.d=n||!1)},t}();function P(n,r){if(J)return J.encode(n);for(var e=n.length,i=new t(n.length+(n.length&gt;&gt;1)),s=0,a=function(t){i[s++]=t},o=0;o&lt;e;++o){if(s+5&gt;i.length){var h=new t(s+8+(e-o&lt;&lt;1));h.set(i),i=h}var f=n.charCodeAt(o);f&lt;128||r?a(f):f&lt;2048?(a(192|f&gt;&gt;6),a(128|63&amp;f)):f&gt;55295&amp;&amp;f&lt;57344?(a(240|(f=65536+(1047552&amp;f)|1023&amp;n.charCodeAt(++o))&gt;&gt;18),a(128|f&gt;&gt;12&amp;63),a(128|f&gt;&gt;6&amp;63),a(128|63&amp;f)):(a(224|f&gt;&gt;12),a(128|f&gt;&gt;6&amp;63),a(128|63&amp;f))}return b(i,0,s)}function Q(t){return function(t,n){n||(n={});var r=S(),e=t.length;r.p(t);var i=O(t,n,B(n),8),s=i.length;return q(i,n),j(i,s-8,r.d()),j(i,s-4,e),i}(P(t))}const R=new class{constructor(){this._init()}clear(){this._init()}addEvent(t){if(!t)throw new Error("Adding invalid event");const n=this._hasEvents?",":"";this.stream.push(n+t),this._hasEvents=!0}finish(){this.stream.push("]",!0);const t=function(t){let n=0;for(const r of t)n+=r.length;const r=new Uint8Array(n);for(let n=0,e=0,i=t.length;n&lt;i;n++){const i=t[n];r.set(i,e),e+=i.length}return r}(this._deflatedData);return this._init(),t}_init(){this._hasEvents=!1,this._deflatedData=[],this.deflate=new H,this.deflate.ondata=(t,n)=&gt;{this._deflatedData.push(t)},this.stream=new N(((t,n)=&gt;{this.deflate.push(t,n)})),this.stream.push("[")}},V={clear:()=&gt;{R.clear()},addEvent:t=&gt;R.addEvent(t),finish:()=&gt;R.finish(),compress:t=&gt;Q(t)};addEventListener("message",(function(t){const n=t.data.method,r=t.data.id,e=t.data.arg;if(n in V&amp;&amp;"function"==typeof V[n])try{const t=V[n](e);postMessage({id:r,method:n,success:!0,response:t})}catch(t){postMessage({id:r,method:n,success:!1,response:t.message}),console.error(t)}})),postMessage({id:void 0,method:"init",success:!0,response:void 0});';function kh(){let e=new Blob([xh]);return URL.createObjectURL(e)}var zc=["info","warn","error","log"],Gr="[Replay] ";function ji(e,t="info"){we({category:"console",data:{logger:"replay"},level:t,message:`${Gr}${e}`},{level:t})}function Ch(){let e=!1,t=!1,n={exception:()=&gt;{},infoTick:()=&gt;{},setConfig:r=&gt;{e=!!r.captureExceptions,t=!!r.traceInternals}};return b?(zc.forEach(r=&gt;{n[r]=(...o)=&gt;{g[r](Gr,...o),t&amp;&amp;ji(o.join(""),mn(r))}}),n.exception=(r,...o)=&gt;{o.length&amp;&amp;n.error&amp;&amp;n.error(...o),g.error(Gr,r),e?Pt(r):t&amp;&amp;ji(r,"error")},n.infoTick=(...r)=&gt;{g.info(Gr,...r),t&amp;&amp;setTimeout(()=&gt;ji(r[0]),0)}):zc.forEach(r=&gt;{n[r]=()=&gt;{}}),n}var v=Ch(),On=class extends Error{constructor(){super(`Event buffer exceeded maximum size of ${gs}.`)}},eo=class{constructor(){this.events=[],this._totalSize=0,this.hasCheckout=!1,this.waitForCheckout=!1}get hasEvents(){return this.events.length&gt;0}get type(){return"sync"}destroy(){this.events=[]}async addEvent(t){let n=JSON.stringify(t).length;if(this._totalSize+=n,this._totalSize&gt;gs)throw new On;this.events.push(t)}finish(){return new Promise(t=&gt;{let n=this.events;this.clear(),t(JSON.stringify(n))})}clear(){this.events=[],this._totalSize=0,this.hasCheckout=!1}getEarliestTimestamp(){let t=this.events.map(n=&gt;n.timestamp).sort()[0];return t?Ts(t):null}},ss=class{constructor(t){this._worker=t,this._id=0}ensureReady(){return this._ensureReadyPromise?this._ensureReadyPromise:(this._ensureReadyPromise=new Promise((t,n)=&gt;{this._worker.addEventListener("message",({data:r})=&gt;{r.success?t():n()},{once:!0}),this._worker.addEventListener("error",r=&gt;{n(r)},{once:!0})}),this._ensureReadyPromise)}destroy(){b&amp;&amp;v.info("Destroying compression worker"),this._worker.terminate()}postMessage(t,n){let r=this._getAndIncrementId();return new Promise((o,i)=&gt;{let s=({data:a})=&gt;{let c=a;if(c.method===t&amp;&amp;c.id===r){if(this._worker.removeEventListener("message",s),!c.success){b&amp;&amp;v.error("Error in compression worker: ",c.response),i(new Error("Error in compression worker"));return}o(c.response)}};this._worker.addEventListener("message",s),this._worker.postMessage({id:r,method:t,arg:n})})}_getAndIncrementId(){return this._id++}},as=class{constructor(t){this._worker=new ss(t),this._earliestTimestamp=null,this._totalSize=0,this.hasCheckout=!1,this.waitForCheckout=!1}get hasEvents(){return!!this._earliestTimestamp}get type(){return"worker"}ensureReady(){return this._worker.ensureReady()}destroy(){this._worker.destroy()}addEvent(t){let n=Ts(t.timestamp);(!this._earliestTimestamp||n&lt;this._earliestTimestamp)&amp;&amp;(this._earliestTimestamp=n);let r=JSON.stringify(t);return this._totalSize+=r.length,this._totalSize&gt;gs?Promise.reject(new On):this._sendEventToWorker(r)}finish(){return this._finishRequest()}clear(){this._earliestTimestamp=null,this._totalSize=0,this.hasCheckout=!1,this._worker.postMessage("clear").then(null,t=&gt;{b&amp;&amp;v.exception(t,'Sending "clear" message to worker failed',t)})}getEarliestTimestamp(){return this._earliestTimestamp}_sendEventToWorker(t){return this._worker.postMessage("addEvent",t)}async _finishRequest(){let t=await this._worker.postMessage("finish");return this._earliestTimestamp=null,this._totalSize=0,t}},cs=class{constructor(t){this._fallback=new eo,this._compression=new as(t),this._used=this._fallback,this._ensureWorkerIsLoadedPromise=this._ensureWorkerIsLoaded()}get waitForCheckout(){return this._used.waitForCheckout}get type(){return this._used.type}get hasEvents(){return this._used.hasEvents}get hasCheckout(){return this._used.hasCheckout}set hasCheckout(t){this._used.hasCheckout=t}set waitForCheckout(t){this._used.waitForCheckout=t}destroy(){this._fallback.destroy(),this._compression.destroy()}clear(){return this._used.clear()}getEarliestTimestamp(){return this._used.getEarliestTimestamp()}addEvent(t){return this._used.addEvent(t)}async finish(){return await this.ensureWorkerIsLoaded(),this._used.finish()}ensureWorkerIsLoaded(){return this._ensureWorkerIsLoadedPromise}async _ensureWorkerIsLoaded(){try{await this._compression.ensureReady()}catch(t){b&amp;&amp;v.exception(t,"Failed to load the compression worker, falling back to simple buffer");return}await this._switchToCompressionWorker()}async _switchToCompressionWorker(){let{events:t,hasCheckout:n,waitForCheckout:r}=this._fallback,o=[];for(let i of t)o.push(this._compression.addEvent(i));this._compression.hasCheckout=n,this._compression.waitForCheckout=r,this._used=this._compression;try{await Promise.all(o),this._fallback.clear()}catch(i){b&amp;&amp;v.exception(i,"Failed to add events when switching buffers.")}}};function Rh({useCompression:e,workerUrl:t}){if(e&amp;&amp;window.Worker){let n=Mh(t);if(n)return n}return b&amp;&amp;v.info("Using simple buffer"),new eo}function Mh(e){try{let t=e||Oh();if(!t)return;b&amp;&amp;v.info(`Using compression worker${e?` from ${e}`:""}`);let n=new Worker(t);return new cs(n)}catch(t){b&amp;&amp;v.exception(t,"Failed to create compression worker")}}function Oh(){return typeof __SENTRY_EXCLUDE_REPLAY_WORKER__&gt;"u"||!__SENTRY_EXCLUDE_REPLAY_WORKER__?kh():""}function vs(){try{return"sessionStorage"in q&amp;&amp;!!q.sessionStorage}catch{return!1}}function Ah(e){Nh(),e.session=void 0}function Nh(){if(vs())try{q.sessionStorage.removeItem(ms)}catch{}}function bu(e){return e===void 0?!1:Math.random()&lt;e}function vu(e){let t=Date.now(),n=e.id||Q(),r=e.started||t,o=e.lastActivity||t,i=e.segmentId||0,s=e.sampled,a=e.previousSessionId;return{id:n,started:r,lastActivity:o,segmentId:i,sampled:s,previousSessionId:a}}function ws(e){if(vs())try{q.sessionStorage.setItem(ms,JSON.stringify(e))}catch{}}function Dh(e,t){return bu(e)?"session":t?"buffer":!1}function Gc({sessionSampleRate:e,allowBuffering:t,stickySession:n=!1},{previousSessionId:r}={}){let o=Dh(e,t),i=vu({sampled:o,previousSessionId:r});return n&amp;&amp;ws(i),i}function Lh(){if(!vs())return null;try{let e=q.sessionStorage.getItem(ms);if(!e)return null;let t=JSON.parse(e);return b&amp;&amp;v.infoTick("Loading existing session"),vu(t)}catch{return null}}function us(e,t,n=+new Date){return e===null||t===void 0||t&lt;0?!0:t===0?!1:e+t&lt;=n}function wu(e,{maxReplayDuration:t,sessionIdleExpire:n,targetTime:r=Date.now()}){return us(e.started,t,r)||us(e.lastActivity,n,r)}function xu(e,{sessionIdleExpire:t,maxReplayDuration:n}){return!(!wu(e,{sessionIdleExpire:t,maxReplayDuration:n})||e.sampled==="buffer"&amp;&amp;e.segmentId===0)}function zi({sessionIdleExpire:e,maxReplayDuration:t,previousSessionId:n},r){let o=r.stickySession&amp;&amp;Lh();return o?xu(o,{sessionIdleExpire:e,maxReplayDuration:t})?(b&amp;&amp;v.infoTick("Session in sessionStorage is expired, creating new one..."),Gc(r,{previousSessionId:o.id})):o:(b&amp;&amp;v.infoTick("Creating new session"),Gc(r,{previousSessionId:n}))}function Ph(e){return e.type===M.Custom}function xs(e,t,n){return Cu(e,t)?(ku(e,t,n),!0):!1}function Fh(e,t,n){return Cu(e,t)?ku(e,t,n):Promise.resolve(null)}async function ku(e,t,n){let{eventBuffer:r}=e;if(!r||r.waitForCheckout&amp;&amp;!n)return null;let o=e.recordingMode==="buffer";try{n&amp;&amp;o&amp;&amp;r.clear(),n&amp;&amp;(r.hasCheckout=!0,r.waitForCheckout=!1);let i=e.getOptions(),s=Bh(t,i.beforeAddRecordingEvent);return s?await r.addEvent(s):void 0}catch(i){let s=i&amp;&amp;i instanceof On,a=s?"addEventSizeExceeded":"addEvent";if(s&amp;&amp;o)return r.clear(),r.waitForCheckout=!0,null;e.handleException(i),await e.stop({reason:a});let c=U();c&amp;&amp;c.recordDroppedEvent("internal_sdk_error","replay")}}function Cu(e,t){if(!e.eventBuffer||e.isPaused()||!e.isEnabled())return!1;let n=Ts(t.timestamp);return n+e.timeouts.sessionIdlePause&lt;Date.now()?!1:n&gt;e.getContext().initialTimestamp+e.getOptions().maxReplayDuration?(b&amp;&amp;v.infoTick(`Skipping event with timestamp ${n} because it is after maxReplayDuration`),!1):!0}function Bh(e,t){try{if(typeof t=="function"&amp;&amp;Ph(e))return t(e)}catch(n){return b&amp;&amp;v.exception(n,"An error occurred in the `beforeAddRecordingEvent` callback, skipping the event..."),null}return e}function ks(e){return!e.type}function ls(e){return e.type==="transaction"}function Uh(e){return e.type==="replay_event"}function qc(e){return e.type==="feedback"}function Hh(e){return(t,n)=&gt;{if(!e.isEnabled()||!ks(t)&amp;&amp;!ls(t))return;let r=n?.statusCode;if(!(!r||r&lt;200||r&gt;=300)){if(ls(t)){$h(e,t);return}Wh(e,t)}}}function $h(e,t){let n=e.getContext();t.contexts?.trace?.trace_id&amp;&amp;n.traceIds.size&lt;100&amp;&amp;n.traceIds.add(t.contexts.trace.trace_id)}function Wh(e,t){let n=e.getContext();if(t.event_id&amp;&amp;n.errorIds.size&lt;100&amp;&amp;n.errorIds.add(t.event_id),e.recordingMode!=="buffer"||!t.tags||!t.tags.replayId)return;let{beforeErrorSampling:r}=e.getOptions();typeof r=="function"&amp;&amp;!r(t)||ct(async()=&gt;{try{await e.sendBufferedReplayOrFlush()}catch(o){e.handleException(o)}})}function jh(e){return t=&gt;{!e.isEnabled()||!ks(t)||zh(e,t)}}function zh(e,t){let n=t.exception?.values?.[0]?.value;if(typeof n=="string"&amp;&amp;(n.match(/(reactjs\.org\/docs\/error-decoder\.html\?invariant=|react\.dev\/errors\/)(418|419|422|423|425)/)||n.match(/(does not match server-rendered HTML|Hydration failed because)/i))){let r=je({category:"replay.hydrate-error",data:{url:Ve()}});Ln(e,r)}}function Gh(e){let t=U();t&amp;&amp;t.on("beforeAddBreadcrumb",n=&gt;qh(e,n))}function qh(e,t){if(!e.isEnabled()||!Ru(t))return;let n=Vh(t);n&amp;&amp;Ln(e,n)}function Vh(e){return!Ru(e)||["fetch","xhr","sentry.event","sentry.transaction"].includes(e.category)||e.category.startsWith("ui.")?null:e.category==="console"?Yh(e):je(e)}function Yh(e){let t=e.data?.arguments;if(!Array.isArray(t)||t.length===0)return je(e);let n=!1,r=t.map(o=&gt;{if(!o)return o;if(typeof o=="string")return o.length&gt;Hr?(n=!0,`${o.slice(0,Hr)}\u2026`):o;if(typeof o=="object")try{let i=de(o,7);return JSON.stringify(i).length&gt;Hr?(n=!0,`${JSON.stringify(i,null,2).slice(0,Hr)}\u2026`):i}catch{}return o});return je({...e,data:{...e.data,arguments:r,...n?{_meta:{warnings:["CONSOLE_ARG_TRUNCATED"]}}:{}}})}function Ru(e){return!!e.category}function Kh(e,t){return e.type||!e.exception||!e.exception.values||!e.exception.values.length?!1:!!t.originalException?.__rrweb__}function Mu(){let e=te().getPropagationContext().dsc;e&amp;&amp;delete e.replay_id;let t=nn();if(t){let n=rn(t);delete n.replay_id}}function Jh(e,t){e.triggerUserActivity(),e.addUpdate(()=&gt;t.timestamp?(e.throttledAddEvent({type:M.Custom,timestamp:t.timestamp*1e3,data:{tag:"breadcrumb",payload:{timestamp:t.timestamp,type:"default",category:"sentry.feedback",data:{feedbackId:t.event_id}}}}),!1):!0)}function Xh(e,t){return e.recordingMode!=="buffer"||t.message===hs||!t.exception||t.type?!1:bu(e.getOptions().errorSampleRate)}function Qh(e){return Object.assign((t,n)=&gt;!e.isEnabled()||e.isPaused()?t:Uh(t)?(delete t.breadcrumbs,t):!ks(t)&amp;&amp;!ls(t)&amp;&amp;!qc(t)?t:e.checkAndHandleExpiredSession()?qc(t)?(e.flush(),t.contexts.feedback.replay_id=e.getSessionId(),Jh(e,t),t):Kh(t,n)&amp;&amp;!e.getOptions()._experiments.captureExceptions?(b&amp;&amp;v.log("Ignoring error from rrweb internals",t),null):((Xh(e,t)||e.recordingMode==="session")&amp;&amp;(t.tags={...t.tags,replayId:e.getSessionId()}),t):(Mu(),t),{id:"Replay"})}function co(e,t){return t.map(({type:n,start:r,end:o,name:i,data:s})=&gt;{let a=e.throttledAddEvent({type:M.Custom,timestamp:r,data:{tag:"performanceSpan",payload:{op:n,description:i,startTimestamp:r,endTimestamp:o,data:s}}});return typeof a=="string"?Promise.resolve(null):a})}function Zh(e){let{from:t,to:n}=e,r=Date.now()/1e3;return{type:"navigation.push",start:r,end:r,name:n,data:{previous:t}}}function eg(e){return t=&gt;{if(!e.isEnabled())return;let n=Zh(t);n!==null&amp;&amp;(e.getContext().urls.push(n.name),e.triggerUserActivity(),e.addUpdate(()=&gt;(co(e,[n]),!1)))}}function tg(e,t){return b&amp;&amp;e.getOptions()._experiments.traceInternals?!1:ui(t,U())}function Ou(e,t){e.isEnabled()&amp;&amp;t!==null&amp;&amp;(tg(e,t.name)||e.addUpdate(()=&gt;(co(e,[t]),!0)))}function uo(e){if(!e)return;let t=new TextEncoder;try{if(typeof e=="string")return t.encode(e).length;if(e instanceof URLSearchParams)return t.encode(e.toString()).length;if(e instanceof FormData){let n=Pr(e);return t.encode(n).length}if(e instanceof Blob)return e.size;if(e instanceof ArrayBuffer)return e.byteLength}catch{}}function Au(e){if(!e)return;let t=parseInt(e,10);return isNaN(t)?void 0:t}function to(e,t){if(!e)return{headers:{},size:void 0,_meta:{warnings:[t]}};let n={...e._meta},r=n.warnings||[];return n.warnings=[...r,t],e._meta=n,e}function Nu(e,t){if(!t)return null;let{startTimestamp:n,endTimestamp:r,url:o,method:i,statusCode:s,request:a,response:c}=t;return{type:e,start:n/1e3,end:r/1e3,name:o,data:V({method:i,statusCode:s,request:a,response:c})}}function An(e){return{headers:{},size:e,_meta:{warnings:["URL_SKIPPED"]}}}function dt(e,t,n){if(!t&amp;&amp;Object.keys(e).length===0)return;if(!t)return{headers:e};if(!n)return{headers:e,size:t};let r={headers:e,size:t},{body:o,warnings:i}=ng(n);return r.body=o,i?.length&amp;&amp;(r._meta={warnings:i}),r}function ds(e,t){return Object.entries(e).reduce((n,[r,o])=&gt;{let i=r.toLowerCase();return t.includes(i)&amp;&amp;e[r]&amp;&amp;(n[i]=o),n},{})}function ng(e){if(!e||typeof e!="string")return{body:e};let t=e.length&gt;kc,n=rg(e);if(t){let r=e.slice(0,kc);return n?{body:r,warnings:["MAYBE_JSON_TRUNCATED"]}:{body:`${r}\u2026`,warnings:["TEXT_TRUNCATED"]}}if(n)try{return{body:JSON.parse(e)}}catch{}return{body:e}}function rg(e){let t=e[0],n=e[e.length-1];return t==="["&amp;&amp;n==="]"||t==="{"&amp;&amp;n==="}"}function no(e,t){let n=og(e);return nt(n,t)}function og(e,t=q.document.baseURI){if(e.startsWith("http://")||e.startsWith("https://")||e.startsWith(q.location.origin))return e;let n=new URL(e,t);if(n.origin!==new URL(t).origin)return e;let r=n.href;return!e.endsWith("/")&amp;&amp;r.endsWith("/")?r.slice(0,-1):r}async function ig(e,t,n){try{let r=await ag(e,t,n),o=Nu("resource.fetch",r);Ou(n.replay,o)}catch(r){b&amp;&amp;v.exception(r,"Failed to capture fetch breadcrumb")}}function sg(e,t){let{input:n,response:r}=t,o=n?Br(n):void 0,i=uo(o),s=r?Au(r.headers.get("content-length")):void 0;i!==void 0&amp;&amp;(e.data.request_body_size=i),s!==void 0&amp;&amp;(e.data.response_body_size=s)}async function ag(e,t,n){let r=Date.now(),{startTimestamp:o=r,endTimestamp:i=r}=t,{url:s,method:a,status_code:c=0,request_body_size:u,response_body_size:f}=e.data,d=no(s,n.networkDetailAllowUrls)&amp;&amp;!no(s,n.networkDetailDenyUrls),p=d?cg(n,t.input,u):An(u),m=await ug(d,n,t.response,f);return{startTimestamp:o,endTimestamp:i,url:s,method:a,statusCode:c,request:p,response:m}}function cg({networkCaptureBodies:e,networkRequestHeaders:t},n,r){let o=n?fg(n,t):{};if(!e)return dt(o,r,void 0);let i=Br(n),[s,a]=Fr(i,v),c=dt(o,r,s);return a?to(c,a):c}async function ug(e,{networkCaptureBodies:t,networkResponseHeaders:n},r,o){if(!e&amp;&amp;o!==void 0)return An(o);let i=r?Du(r.headers,n):{};if(!r||!t&amp;&amp;o!==void 0)return dt(i,o,void 0);let[s,a]=await dg(r),c=lg(s,{networkCaptureBodies:t,responseBodySize:o,captureDetails:e,headers:i});return a?to(c,a):c}function lg(e,{networkCaptureBodies:t,responseBodySize:n,captureDetails:r,headers:o}){try{let i=e?.length&amp;&amp;n===void 0?uo(e):n;return r?t?dt(o,i,e):dt(o,i,void 0):An(i)}catch(i){return b&amp;&amp;v.exception(i,"Failed to serialize response body"),dt(o,n,void 0)}}async function dg(e){let t=pg(e);if(!t)return[void 0,"BODY_PARSE_ERROR"];try{return[await mg(t)]}catch(n){return n instanceof Error&amp;&amp;n.message.indexOf("Timeout")&gt;-1?(b&amp;&amp;v.warn("Parsing text body from response timed out"),[void 0,"BODY_PARSE_TIMEOUT"]):(b&amp;&amp;v.exception(n,"Failed to get text body from response"),[void 0,"BODY_PARSE_ERROR"])}}function Du(e,t){let n={};return t.forEach(r=&gt;{e.get(r)&amp;&amp;(n[r]=e.get(r))}),n}function fg(e,t){return e.length===1&amp;&amp;typeof e[0]!="string"?Vc(e[0],t):e.length===2?Vc(e[1],t):{}}function Vc(e,t){if(!e)return{};let n=e.headers;return n?n instanceof Headers?Du(n,t):Array.isArray(n)?{}:ds(n,t):{}}function pg(e){try{return e.clone()}catch(t){b&amp;&amp;v.exception(t,"Failed to clone response body")}}function mg(e){return new Promise((t,n)=&gt;{let r=ct(()=&gt;n(new Error("Timeout while trying to read response body")),500);hg(e).then(o=&gt;t(o),o=&gt;n(o)).finally(()=&gt;clearTimeout(r))})}async function hg(e){return await e.text()}async function gg(e,t,n){try{let r=yg(e,t,n),o=Nu("resource.xhr",r);Ou(n.replay,o)}catch(r){b&amp;&amp;v.exception(r,"Failed to capture xhr breadcrumb")}}function _g(e,t){let{xhr:n,input:r}=t;if(!n)return;let o=uo(r),i=n.getResponseHeader("content-length")?Au(n.getResponseHeader("content-length")):Tg(n.response,n.responseType);o!==void 0&amp;&amp;(e.data.request_body_size=o),i!==void 0&amp;&amp;(e.data.response_body_size=i)}function yg(e,t,n){let r=Date.now(),{startTimestamp:o=r,endTimestamp:i=r,input:s,xhr:a}=t,{url:c,method:u,status_code:f=0,request_body_size:d,response_body_size:p}=e.data;if(!c)return null;if(!a||!no(c,n.networkDetailAllowUrls)||no(c,n.networkDetailDenyUrls)){let T=An(d),N=An(p);return{startTimestamp:o,endTimestamp:i,url:c,method:u,statusCode:f,request:T,response:N}}let m=a[Xe],h=m?ds(m.request_headers,n.networkRequestHeaders):{},_=ds(Sg(a),n.networkResponseHeaders),[y,E]=n.networkCaptureBodies?Fr(s,v):[void 0],[k,W]=n.networkCaptureBodies?Eg(a):[void 0],L=dt(h,d,y),R=dt(_,p,k);return{startTimestamp:o,endTimestamp:i,url:c,method:u,statusCode:f,request:E?to(L,E):L,response:W?to(R,W):R}}function Sg(e){let t=e.getAllResponseHeaders();return t?t.split(`\r
`).reduce((n,r)=&gt;{let[o,i]=r.split(": ");return i&amp;&amp;(n[o.toLowerCase()]=i),n},{}):{}}function Eg(e){let t=[];try{return[e.responseText]}catch(n){t.push(n)}try{return Ig(e.response,e.responseType)}catch(n){t.push(n)}return b&amp;&amp;v.warn("Failed to get xhr response body",...t),[void 0]}function Ig(e,t){try{if(typeof e=="string")return[e];if(e instanceof Document)return[e.body.outerHTML];if(t==="json"&amp;&amp;e&amp;&amp;typeof e=="object")return[JSON.stringify(e)];if(!e)return[void 0]}catch(n){return b&amp;&amp;v.exception(n,"Failed to serialize body",e),[void 0,"BODY_PARSE_ERROR"]}return b&amp;&amp;v.info("Skipping network body because of body type",e),[void 0,"UNPARSEABLE_BODY_TYPE"]}function Tg(e,t){try{let n=t==="json"&amp;&amp;e&amp;&amp;typeof e=="object"?JSON.stringify(e):e;return uo(n)}catch{return}}function bg(e){let t=U();try{let{networkDetailAllowUrls:n,networkDetailDenyUrls:r,networkCaptureBodies:o,networkRequestHeaders:i,networkResponseHeaders:s}=e.getOptions(),a={replay:e,networkDetailAllowUrls:n,networkDetailDenyUrls:r,networkCaptureBodies:o,networkRequestHeaders:i,networkResponseHeaders:s};t&amp;&amp;t.on("beforeAddBreadcrumb",(c,u)=&gt;vg(a,c,u))}catch{}}function vg(e,t,n){if(t.data)try{wg(t)&amp;&amp;kg(n)&amp;&amp;(_g(t,n),gg(t,n,e)),xg(t)&amp;&amp;Cg(n)&amp;&amp;(sg(t,n),ig(t,n,e))}catch(r){b&amp;&amp;v.exception(r,"Error when enriching network breadcrumb")}}function wg(e){return e.category==="xhr"}function xg(e){return e.category==="fetch"}function kg(e){return e?.xhr}function Cg(e){return e?.response}function Rg(e,{autoFlushOnFeedback:t}){let n=U();In(ah(e)),vt(eg(e)),Gh(e),bg(e);let r=Qh(e);fr(r),n&amp;&amp;(n.on("beforeSendEvent",jh(e)),n.on("afterSendEvent",Hh(e)),n.on("createDsc",o=&gt;{let i=e.getSessionId();i&amp;&amp;e.isEnabled()&amp;&amp;e.recordingMode==="session"&amp;&amp;e.checkAndHandleExpiredSession()&amp;&amp;(o.replay_id=i)}),n.on("spanStart",o=&gt;{e.lastActiveSpan=o}),n.on("spanEnd",o=&gt;{e.lastActiveSpan=o}),n.on("beforeSendFeedback",async(o,i)=&gt;{let s=e.getSessionId();i?.includeReplay&amp;&amp;e.isEnabled()&amp;&amp;s&amp;&amp;o.contexts?.feedback&amp;&amp;(o.contexts.feedback.source==="api"&amp;&amp;t&amp;&amp;await e.flush(),o.contexts.feedback.replay_id=s)}),t&amp;&amp;n.on("openFeedbackWidget",async()=&gt;{await e.flush()}))}async function Mg(e){try{return Promise.all(co(e,[Og(q.performance.memory)]))}catch{return[]}}function Og(e){let{jsHeapSizeLimit:t,totalJSHeapSize:n,usedJSHeapSize:r}=e,o=Date.now()/1e3;return{type:"memory",name:"memory",start:o,end:o,data:{memory:{jsHeapSizeLimit:t,totalJSHeapSize:n,usedJSHeapSize:r}}}}function Ag(e,t,n){let r,o,i,s=n?.maxWait?Math.max(n.maxWait,t):0;function a(){return c(),r=e(),r}function c(){o!==void 0&amp;&amp;clearTimeout(o),i!==void 0&amp;&amp;clearTimeout(i),o=i=void 0}function u(){return o!==void 0||i!==void 0?a():r}function f(){return o&amp;&amp;clearTimeout(o),o=ct(a,t),s&amp;&amp;i===void 0&amp;&amp;(i=ct(a,s)),r}return f.cancel=c,f.flush=u,f}var zr=I.navigator;function Ng(){return/iPhone|iPad|iPod/i.test(zr?.userAgent??"")||/Macintosh/i.test(zr?.userAgent??"")&amp;&amp;zr?.maxTouchPoints&amp;&amp;zr?.maxTouchPoints&gt;1?{sampling:{mousemove:!1}}:{}}function Dg(e){let t=!1;return(n,r)=&gt;{if(!e.checkAndHandleExpiredSession()){b&amp;&amp;v.warn("Received replay event after session expired.");return}let o=r||!t;t=!0,e.clickDetector&amp;&amp;nh(e.clickDetector,n),e.addUpdate(()=&gt;{if(e.recordingMode==="buffer"&amp;&amp;o&amp;&amp;e.setInitialState(),!xs(e,n,o))return!0;if(!o)return!1;let i=e.session;if(Pg(e,o),e.recordingMode==="buffer"&amp;&amp;i&amp;&amp;e.eventBuffer){let s=e.eventBuffer.getEarliestTimestamp();s&amp;&amp;(b&amp;&amp;v.info(`Updating session start time to earliest event in buffer to ${new Date(s)}`),i.started=s,e.getOptions().stickySession&amp;&amp;ws(i))}return i?.previousSessionId||e.recordingMode==="session"&amp;&amp;e.flush(),!0})}}function Lg(e){let t=e.getOptions();return{type:M.Custom,timestamp:Date.now(),data:{tag:"options",payload:{shouldRecordCanvas:e.isRecordingCanvas(),sessionSampleRate:t.sessionSampleRate,errorSampleRate:t.errorSampleRate,useCompressionOption:t.useCompression,blockAllMedia:t.blockAllMedia,maskAllText:t.maskAllText,maskAllInputs:t.maskAllInputs,useCompression:e.eventBuffer?e.eventBuffer.type==="worker":!1,networkDetailHasUrls:t.networkDetailAllowUrls.length&gt;0,networkCaptureBodies:t.networkCaptureBodies,networkRequestHasHeaders:t.networkRequestHeaders.length&gt;0,networkResponseHasHeaders:t.networkResponseHeaders.length&gt;0}}}}function Pg(e,t){!t||!e.session||e.session.segmentId!==0||xs(e,Lg(e),!1)}function Fg(e,t,n,r){return Ue(on(e,Lt(e),r,n),[[{type:"replay_event"},e],[{type:"replay_recording",length:typeof t=="string"?new TextEncoder().encode(t).length:t.length},t]])}function Bg({recordingData:e,headers:t}){let n,r=`${JSON.stringify(t)}
`;if(typeof e=="string")n=`${r}${e}`;else{let i=new TextEncoder().encode(r);n=new Uint8Array(i.length+e.length),n.set(i),n.set(e,i.length)}return n}async function Ug({client:e,scope:t,replayId:n,event:r}){let o=typeof e._integrations=="object"&amp;&amp;e._integrations!==null&amp;&amp;!Array.isArray(e._integrations)?Object.keys(e._integrations):void 0,i={event_id:n,integrations:o};e.emit("preprocessEvent",r,i);let s=await sn(e.getOptions(),r,i,t,e,Se());if(!s)return null;e.emit("postprocessEvent",s,i),s.platform=s.platform||"javascript";let a=e.getSdkMetadata(),{name:c,version:u}=a?.sdk||{};return s.sdk={...s.sdk,name:c||"sentry.javascript.unknown",version:u||"0.0.0"},s}async function Hg({recordingData:e,replayId:t,segmentId:n,eventContext:r,timestamp:o,session:i}){let s=Bg({recordingData:e,headers:{segment_id:n}}),{urls:a,errorIds:c,traceIds:u,initialTimestamp:f}=r,d=U(),p=te(),m=d?.getTransport(),h=d?.getDsn();if(!d||!m||!h||!i.sampled)return le({});let _={type:Mp,replay_start_timestamp:f/1e3,timestamp:o/1e3,error_ids:c,trace_ids:u,urls:a,replay_id:t,segment_id:n,replay_type:i.sampled},y=await Ug({scope:p,client:d,replayId:t,event:_});if(!y)return d.recordDroppedEvent("event_processor","replay"),b&amp;&amp;v.info("An event processor returned `null`, will not send event."),le({});delete y.sdkProcessingMetadata;let E=Fg(y,s,h,d.getOptions().tunnel),k;try{k=await m.send(E)}catch(L){let R=new Error(hs);try{R.cause=L}catch{}throw R}if(typeof k.statusCode=="number"&amp;&amp;(k.statusCode&lt;200||k.statusCode&gt;=300))throw new ro(k.statusCode);let W=fn({},k);if(dn(W,"replay"))throw new Nn(W);return k}var ro=class extends Error{constructor(t){super(`Transport returned status code ${t}`)}},Nn=class extends Error{constructor(t){super("Rate limit hit"),this.rateLimits=t}};async function Lu(e,t={count:0,interval:Pp}){let{recordingData:n,onError:r}=e;if(n.length)try{return await Hg(e),!0}catch(o){if(o instanceof ro||o instanceof Nn)throw o;if(Ft("Replays",{_retryCount:t.count}),r&amp;&amp;r(o),t.count&gt;=Fp){let i=new Error(`${hs} - max retries exceeded`);try{i.cause=o}catch{}throw i}return t.interval*=++t.count,new Promise((i,s)=&gt;{ct(async()=&gt;{try{await Lu(e,t),i(!0)}catch(a){s(a)}},t.interval)})}}var Pu="__THROTTLED",$g="__SKIPPED";function Wg(e,t,n){let r=new Map,o=a=&gt;{let c=a-n;r.forEach((u,f)=&gt;{f&lt;c&amp;&amp;r.delete(f)})},i=()=&gt;[...r.values()].reduce((a,c)=&gt;a+c,0),s=!1;return(...a)=&gt;{let c=Math.floor(Date.now()/1e3);if(o(c),i()&gt;=t){let f=s;return s=!0,f?$g:Pu}s=!1;let u=r.get(c)||0;return r.set(c,u+1),e(...a)}}var fs=class{constructor({options:t,recordingOptions:n}){this.eventBuffer=null,this.performanceEntries=[],this.replayPerformanceEntries=[],this.recordingMode="session",this.timeouts={sessionIdlePause:Op,sessionIdleExpire:Ap},this._lastActivity=Date.now(),this._isEnabled=!1,this._isPaused=!1,this._requiresManualStart=!1,this._hasInitializedCoreListeners=!1,this._context={errorIds:new Set,traceIds:new Set,urls:[],initialTimestamp:Date.now(),initialUrl:""},this._recordingOptions=n,this._options=t,this._debouncedFlush=Ag(()=&gt;this._flush(),this._options.flushMinDelay,{maxWait:this._options.flushMaxDelay}),this._throttledAddEvent=Wg((s,a)=&gt;Fh(this,s,a),300,5);let{slowClickTimeout:r,slowClickIgnoreSelectors:o}=this.getOptions(),i=r?{threshold:Math.min(Bp,r),timeout:r,scrollTimeout:Up,ignoreSelector:o?o.join(","):""}:void 0;if(i&amp;&amp;(this.clickDetector=new is(this,i)),b){let s=t._experiments;v.setConfig({captureExceptions:!!s.captureExceptions,traceInternals:!!s.traceInternals})}this._handleVisibilityChange=()=&gt;{q.document.visibilityState==="visible"?this._doChangeToForegroundTasks():this._doChangeToBackgroundTasks()},this._handleWindowBlur=()=&gt;{let s=je({category:"ui.blur"});this._doChangeToBackgroundTasks(s)},this._handleWindowFocus=()=&gt;{let s=je({category:"ui.focus"});this._doChangeToForegroundTasks(s)},this._handleKeyboardEvent=s=&gt;{dh(this,s)}}getContext(){return this._context}isEnabled(){return this._isEnabled}isPaused(){return this._isPaused}isRecordingCanvas(){return!!this._canvas}getOptions(){return this._options}handleException(t){b&amp;&amp;v.exception(t),this._options.onError&amp;&amp;this._options.onError(t)}initializeSampling(t){let{errorSampleRate:n,sessionSampleRate:r}=this._options,o=n&lt;=0&amp;&amp;r&lt;=0;if(this._requiresManualStart=o,!o){if(this._initializeSessionForSampling(t),!this.session){b&amp;&amp;v.exception(new Error("Unable to initialize and create session"));return}this.session.sampled!==!1&amp;&amp;(this.recordingMode=this.session.sampled==="buffer"&amp;&amp;this.session.segmentId===0?"buffer":"session",b&amp;&amp;v.infoTick(`Starting replay in ${this.recordingMode} mode`),this._initializeRecording())}}start(){if(this._isEnabled&amp;&amp;this.recordingMode==="session"){b&amp;&amp;v.info("Recording is already in progress");return}if(this._isEnabled&amp;&amp;this.recordingMode==="buffer"){b&amp;&amp;v.info("Buffering is in progress, call `flush()` to save the replay");return}b&amp;&amp;v.infoTick("Starting replay in session mode"),this._updateUserActivity();let t=zi({maxReplayDuration:this._options.maxReplayDuration,sessionIdleExpire:this.timeouts.sessionIdleExpire},{stickySession:this._options.stickySession,sessionSampleRate:1,allowBuffering:!1});this.session=t,this._initializeRecording()}startBuffering(){if(this._isEnabled){b&amp;&amp;v.info("Buffering is in progress, call `flush()` to save the replay");return}b&amp;&amp;v.infoTick("Starting replay in buffer mode");let t=zi({sessionIdleExpire:this.timeouts.sessionIdleExpire,maxReplayDuration:this._options.maxReplayDuration},{stickySession:this._options.stickySession,sessionSampleRate:0,allowBuffering:!0});this.session=t,this.recordingMode="buffer",this._initializeRecording()}startRecording(){try{let t=this._canvas;this._stopRecording=et({...this._recordingOptions,...this.recordingMode==="buffer"?{checkoutEveryNms:Lp}:this._options._experiments.continuousCheckout&amp;&amp;{checkoutEveryNms:Math.max(36e4,this._options._experiments.continuousCheckout)},emit:Dg(this),...Ng(),onMutation:this._onMutationHandler.bind(this),...t?{recordCanvas:t.recordCanvas,getCanvasManager:t.getCanvasManager,sampling:t.sampling,dataURLOptions:t.dataURLOptions}:{}})}catch(t){this.handleException(t)}}stopRecording(){try{return this._stopRecording&amp;&amp;(this._stopRecording(),this._stopRecording=void 0),!0}catch(t){return this.handleException(t),!1}}async stop({forceFlush:t=!1,reason:n}={}){if(this._isEnabled){this._isEnabled=!1;try{b&amp;&amp;v.info(`Stopping Replay${n?` triggered by ${n}`:""}`),Mu(),this._removeListeners(),this.stopRecording(),this._debouncedFlush.cancel(),t&amp;&amp;await this._flush({force:!0}),this.eventBuffer?.destroy(),this.eventBuffer=null,Ah(this)}catch(r){this.handleException(r)}}}pause(){this._isPaused||(this._isPaused=!0,this.stopRecording(),b&amp;&amp;v.info("Pausing replay"))}resume(){!this._isPaused||!this._checkSession()||(this._isPaused=!1,this.startRecording(),b&amp;&amp;v.info("Resuming replay"))}async sendBufferedReplayOrFlush({continueRecording:t=!0}={}){if(this.recordingMode==="session")return this.flushImmediate();let n=Date.now();b&amp;&amp;v.info("Converting buffer to session"),await this.flushImmediate();let r=this.stopRecording();!t||!r||this.recordingMode!=="session"&amp;&amp;(this.recordingMode="session",this.session&amp;&amp;(this._updateUserActivity(n),this._updateSessionActivity(n),this._maybeSaveSession()),this.startRecording())}addUpdate(t){let n=t();this.recordingMode!=="buffer"&amp;&amp;n!==!0&amp;&amp;this._debouncedFlush()}triggerUserActivity(){if(this._updateUserActivity(),!this._stopRecording){if(!this._checkSession())return;this.resume();return}this.checkAndHandleExpiredSession(),this._updateSessionActivity()}updateUserActivity(){this._updateUserActivity(),this._updateSessionActivity()}conditionalFlush(){return this.recordingMode==="buffer"?Promise.resolve():this.flushImmediate()}flush(){return this._debouncedFlush()}flushImmediate(){return this._debouncedFlush(),this._debouncedFlush.flush()}cancelFlush(){this._debouncedFlush.cancel()}getSessionId(){return this.session?.id}checkAndHandleExpiredSession(){if(this._lastActivity&amp;&amp;us(this._lastActivity,this.timeouts.sessionIdlePause)&amp;&amp;this.session&amp;&amp;this.session.sampled==="session"){this.pause();return}return!!this._checkSession()}setInitialState(){let t=`${q.location.pathname}${q.location.hash}${q.location.search}`,n=`${q.location.origin}${t}`;this.performanceEntries=[],this.replayPerformanceEntries=[],this._clearContext(),this._context.initialUrl=n,this._context.initialTimestamp=Date.now(),this._context.urls.push(n)}throttledAddEvent(t,n){let r=this._throttledAddEvent(t,n);if(r===Pu){let o=je({category:"replay.throttled"});this.addUpdate(()=&gt;!xs(this,{type:qm,timestamp:o.timestamp||0,data:{tag:"breadcrumb",payload:o,metric:!0}}))}return r}getCurrentRoute(){let t=this.lastActiveSpan||nn(),n=t&amp;&amp;it(t),o=(n&amp;&amp;Be(n).data||{})[It];if(!(!n||!o||!["route","custom"].includes(o)))return Be(n).description}_initializeRecording(){this.setInitialState(),this._updateSessionActivity(),this.eventBuffer=Rh({useCompression:this._options.useCompression,workerUrl:this._options.workerUrl}),this._removeListeners(),this._addListeners(),this._isEnabled=!0,this._isPaused=!1,this.startRecording()}_initializeSessionForSampling(t){let n=this._options.errorSampleRate&gt;0,r=zi({sessionIdleExpire:this.timeouts.sessionIdleExpire,maxReplayDuration:this._options.maxReplayDuration,previousSessionId:t},{stickySession:this._options.stickySession,sessionSampleRate:this._options.sessionSampleRate,allowBuffering:n});this.session=r}_checkSession(){if(!this.session)return!1;let t=this.session;return xu(t,{sessionIdleExpire:this.timeouts.sessionIdleExpire,maxReplayDuration:this._options.maxReplayDuration})?(this._refreshSession(t),!1):!0}async _refreshSession(t){this._isEnabled&amp;&amp;(await this.stop({reason:"refresh session"}),this.initializeSampling(t.id))}_addListeners(){try{q.document.addEventListener("visibilitychange",this._handleVisibilityChange),q.addEventListener("blur",this._handleWindowBlur),q.addEventListener("focus",this._handleWindowFocus),q.addEventListener("keydown",this._handleKeyboardEvent),this.clickDetector&amp;&amp;this.clickDetector.addListeners(),this._hasInitializedCoreListeners||(Rg(this,{autoFlushOnFeedback:this._options._experiments.autoFlushOnFeedback}),this._hasInitializedCoreListeners=!0)}catch(t){this.handleException(t)}this._performanceCleanupCallback=wh(this)}_removeListeners(){try{q.document.removeEventListener("visibilitychange",this._handleVisibilityChange),q.removeEventListener("blur",this._handleWindowBlur),q.removeEventListener("focus",this._handleWindowFocus),q.removeEventListener("keydown",this._handleKeyboardEvent),this.clickDetector&amp;&amp;this.clickDetector.removeListeners(),this._performanceCleanupCallback&amp;&amp;this._performanceCleanupCallback()}catch(t){this.handleException(t)}}_doChangeToBackgroundTasks(t){!this.session||wu(this.session,{maxReplayDuration:this._options.maxReplayDuration,sessionIdleExpire:this.timeouts.sessionIdleExpire})||(t&amp;&amp;this._createCustomBreadcrumb(t),this.conditionalFlush())}_doChangeToForegroundTasks(t){if(!this.session)return;if(!this.checkAndHandleExpiredSession()){b&amp;&amp;v.info("Document has become active, but session has expired");return}t&amp;&amp;this._createCustomBreadcrumb(t)}_updateUserActivity(t=Date.now()){this._lastActivity=t}_updateSessionActivity(t=Date.now()){this.session&amp;&amp;(this.session.lastActivity=t,this._maybeSaveSession())}_createCustomBreadcrumb(t){this.addUpdate(()=&gt;{this.throttledAddEvent({type:M.Custom,timestamp:t.timestamp||0,data:{tag:"breadcrumb",payload:t}})})}_addPerformanceEntries(){let t=hh(this.performanceEntries).concat(this.replayPerformanceEntries);if(this.performanceEntries=[],this.replayPerformanceEntries=[],this._requiresManualStart){let n=this._context.initialTimestamp/1e3;t=t.filter(r=&gt;r.start&gt;=n)}return Promise.all(co(this,t))}_clearContext(){this._context.errorIds.clear(),this._context.traceIds.clear(),this._context.urls=[]}_updateInitialTimestampFromEventBuffer(){let{session:t,eventBuffer:n}=this;if(!t||!n||this._requiresManualStart||t.segmentId)return;let r=n.getEarliestTimestamp();r&amp;&amp;r&lt;this._context.initialTimestamp&amp;&amp;(this._context.initialTimestamp=r)}_popEventContext(){let t={initialTimestamp:this._context.initialTimestamp,initialUrl:this._context.initialUrl,errorIds:Array.from(this._context.errorIds),traceIds:Array.from(this._context.traceIds),urls:this._context.urls};return this._clearContext(),t}async _runFlush(){let t=this.getSessionId();if(!this.session||!this.eventBuffer||!t){b&amp;&amp;v.error("No session or eventBuffer found to flush.");return}if(await this._addPerformanceEntries(),!!this.eventBuffer?.hasEvents&amp;&amp;(await Mg(this),!!this.eventBuffer&amp;&amp;t===this.getSessionId()))try{this._updateInitialTimestampFromEventBuffer();let n=Date.now();if(n-this._context.initialTimestamp&gt;this._options.maxReplayDuration+3e4)throw new Error("Session is too long, not sending replay");let r=this._popEventContext(),o=this.session.segmentId++;this._maybeSaveSession();let i=await this.eventBuffer.finish();await Lu({replayId:t,recordingData:i,segmentId:o,eventContext:r,session:this.session,timestamp:n,onError:s=&gt;this.handleException(s)})}catch(n){this.handleException(n),this.stop({reason:"sendReplay"});let r=U();if(r){let o=n instanceof Nn?"ratelimit_backoff":"send_error";r.recordDroppedEvent(o,"replay")}}}async _flush({force:t=!1}={}){if(!this._isEnabled&amp;&amp;!t)return;if(!this.checkAndHandleExpiredSession()){b&amp;&amp;v.error("Attempting to finish replay event after session expired.");return}if(!this.session)return;let n=this.session.started,o=Date.now()-n;this._debouncedFlush.cancel();let i=o&lt;this._options.minReplayDuration,s=o&gt;this._options.maxReplayDuration+5e3;if(i||s){b&amp;&amp;v.info(`Session duration (${Math.floor(o/1e3)}s) is too ${i?"short":"long"}, not sending replay.`),i&amp;&amp;this._debouncedFlush();return}let a=this.eventBuffer;a&amp;&amp;this.session.segmentId===0&amp;&amp;!a.hasCheckout&amp;&amp;b&amp;&amp;v.info("Flushing initial segment without checkout.");let c=!!this._flushLock;this._flushLock||(this._flushLock=this._runFlush());try{await this._flushLock}catch(u){this.handleException(u)}finally{this._flushLock=void 0,c&amp;&amp;this._debouncedFlush()}}_maybeSaveSession(){this.session&amp;&amp;this._options.stickySession&amp;&amp;ws(this.session)}_onMutationHandler(t){let n=t.length,r=this._options.mutationLimit,o=this._options.mutationBreadcrumbLimit,i=r&amp;&amp;n&gt;r;if(n&gt;o||i){let s=je({category:"replay.mutations",data:{count:n,limit:i}});this._createCustomBreadcrumb(s)}return i?(this.stop({reason:"mutationLimit",forceFlush:this.recordingMode==="session"}),!1):!0}};function bn(e,t){return[...e,...t].join(",")}function jg({mask:e,unmask:t,block:n,unblock:r,ignore:o}){let i=["base","iframe[srcdoc]:not([src])"],s=bn(e,[".sentry-mask","[data-sentry-mask]"]),a=bn(t,[]);return{maskTextSelector:s,unmaskTextSelector:a,blockSelector:bn(n,[".sentry-block","[data-sentry-block]",...i]),unblockSelector:bn(r,[]),ignoreSelector:bn(o,[".sentry-ignore","[data-sentry-ignore]",'input[type="file"]'])}}function zg({el:e,key:t,maskAttributes:n,maskAllText:r,privacyOptions:o,value:i}){return!r||o.unmaskTextSelector&amp;&amp;e.matches(o.unmaskTextSelector)?i:n.includes(t)||t==="value"&amp;&amp;e.tagName==="INPUT"&amp;&amp;["submit","button"].includes(e.getAttribute("type")||"")?i.replace(/[\S]/g,"*"):i}var Yc='img,image,svg,video,object,picture,embed,map,audio,link[rel="icon"],link[rel="apple-touch-icon"]',Gg=["content-length","content-type","accept"],Kc=!1,Cs=e=&gt;new ps(e),ps=class{constructor({flushMinDelay:t=Np,flushMaxDelay:n=Dp,minReplayDuration:r=Hp,maxReplayDuration:o=Cc,stickySession:i=!0,useCompression:s=!0,workerUrl:a,_experiments:c={},maskAllText:u=!0,maskAllInputs:f=!0,blockAllMedia:d=!0,mutationBreadcrumbLimit:p=750,mutationLimit:m=1e4,slowClickTimeout:h=7e3,slowClickIgnoreSelectors:_=[],networkDetailAllowUrls:y=[],networkDetailDenyUrls:E=[],networkCaptureBodies:k=!0,networkRequestHeaders:W=[],networkResponseHeaders:L=[],mask:R=[],maskAttributes:T=["title","placeholder"],unmask:N=[],block:O=[],unblock:S=[],ignore:x=[],maskFn:j,beforeAddRecordingEvent:Y,beforeErrorSampling:Z,onError:re}={}){this.name="Replay";let be=jg({mask:R,unmask:N,block:O,unblock:S,ignore:x});if(this._recordingOptions={maskAllInputs:f,maskAllText:u,maskInputOptions:{password:!0},maskTextFn:j,maskInputFn:j,maskAttributeFn:(B,Ie,K)=&gt;zg({maskAttributes:T,maskAllText:u,privacyOptions:be,key:B,value:Ie,el:K}),...be,slimDOMOptions:"all",inlineStylesheet:!0,inlineImages:!1,collectFonts:!0,errorHandler:B=&gt;{try{B.__rrweb__=!0}catch{}},recordCrossOriginIframes:!!c.recordCrossOriginIframes},this._initialOptions={flushMinDelay:t,flushMaxDelay:n,minReplayDuration:Math.min(r,$p),maxReplayDuration:Math.min(o,Cc),stickySession:i,useCompression:s,workerUrl:a,blockAllMedia:d,maskAllInputs:f,maskAllText:u,mutationBreadcrumbLimit:p,mutationLimit:m,slowClickTimeout:h,slowClickIgnoreSelectors:_,networkDetailAllowUrls:y,networkDetailDenyUrls:E,networkCaptureBodies:k,networkRequestHeaders:Jc(W),networkResponseHeaders:Jc(L),beforeAddRecordingEvent:Y,beforeErrorSampling:Z,onError:re,_experiments:c},this._initialOptions.blockAllMedia&amp;&amp;(this._recordingOptions.blockSelector=this._recordingOptions.blockSelector?`${this._recordingOptions.blockSelector},${Yc}`:Yc),this._isInitialized&amp;&amp;Tr())throw new Error("Multiple Sentry Session Replay instances are not supported");this._isInitialized=!0}get _isInitialized(){return Kc}set _isInitialized(t){Kc=t}afterAllSetup(t){!Tr()||this._replay||(this._setup(t),this._initialize(t))}start(){this._replay&amp;&amp;this._replay.start()}startBuffering(){this._replay&amp;&amp;this._replay.startBuffering()}stop(){return this._replay?this._replay.stop({forceFlush:this._replay.recordingMode==="session"}):Promise.resolve()}flush(t){return this._replay?this._replay.isEnabled()?this._replay.sendBufferedReplayOrFlush(t):(this._replay.start(),Promise.resolve()):Promise.resolve()}getReplayId(){if(this._replay?.isEnabled())return this._replay.getSessionId()}getRecordingMode(){if(this._replay?.isEnabled())return this._replay.recordingMode}_initialize(t){this._replay&amp;&amp;(this._maybeLoadFromReplayCanvasIntegration(t),this._replay.initializeSampling())}_setup(t){let n=qg(this._initialOptions,t);this._replay=new fs({options:n,recordingOptions:this._recordingOptions})}_maybeLoadFromReplayCanvasIntegration(t){try{let n=t.getIntegrationByName("ReplayCanvas");if(!n)return;this._replay._canvas=n.getOptions()}catch{}}};function qg(e,t){let n=t.getOptions(),r={sessionSampleRate:0,errorSampleRate:0,...V(e)},o=At(n.replaysSessionSampleRate),i=At(n.replaysOnErrorSampleRate);return o==null&amp;&amp;i==null&amp;&amp;he(()=&gt;{console.warn("Replay is disabled because neither `replaysSessionSampleRate` nor `replaysOnErrorSampleRate` are set.")}),o!=null&amp;&amp;(r.sessionSampleRate=o),i!=null&amp;&amp;(r.errorSampleRate=i),r}function Jc(e){return[...Gg,...e.map(t=&gt;t.toLowerCase())]}l();var Ju=ll(Ku(),1);function Ds(e){let t={...e};return pn(t,"react"),Ft("react",{version:Ju.version}),Hi(t)}window.SENTRY_DSN?Ds({dsn:window.SENTRY_DSN,integrations:[Cs()],ignoreErrors:["Invalid site key or not loaded","recaptcha"],replaysSessionSampleRate:.1,replaysOnErrorSampleRate:window.SENTRY_SAMPLE_RATE,environment:window.ENVIRONMENT}):window.LOCAL_DEV||console.warn("Sentry error logging disabled");l();function mo(e,t){t==="open"?e.nodeName==="DIALOG"?e.showModal():e.hidden=!1:e.nodeName==="DIALOG"?e.close():e.hidden=!0}var u_=document.querySelectorAll(".popity"),Xu=document.getElementById("popity-container"),Ls;async function l_(){let e=location.search?location.search+"&amp;ref="+document.referrer:"?ref="+document.referrer;try{let t=await fetch("/ads/popity.html"+e);return t.ok?t.text():(console.log("There was an error: "+t.status),"")}catch(t){return void 0&amp;&amp;(void 0).captureException?(void 0).captureException(t):console.error("Sentry is not initialized",t),""}}function Qu(e){Ls=!1,u_.forEach(t=&gt;{t.open&amp;&amp;(Ls=!0)}),Ls?setTimeout(()=&gt;Qu(e),3e3):mo(e,"open")}document.addEventListener("DOMContentLoaded",()=&gt;{let e=!1;Xu!==null&amp;&amp;l_().then(t=&gt;{Xu.innerHTML=t,document.querySelectorAll(".popity").forEach(r=&gt;{let o=Number(r.dataset.id);if(!e){let i=r.dataset.trigger;if(i==="load")mo(r,"open");else if(i==="3delay")setTimeout(()=&gt;Qu(r),3e3);else if(i==="25scroll"){let s=!1;window.addEventListener("scroll",()=&gt;{s||window.scrollY/(document.documentElement.scrollHeight-window.innerHeight)*100&gt;=25&amp;&amp;(mo(r,"open"),s=!0)})}e=!0}})})});var lR=void 0;})();
/*! Bundled license information:

react/cjs/react.production.min.js:
  (**
   * @license React
   * react.production.min.js
   *
   * Copyright (c) Facebook, Inc. and its affiliates.
   *
   * This source code is licensed under the MIT license found in the
   * LICENSE file in the root directory of this source tree.
   *)
*/
//# sourceMappingURL=tmppzqajh09.js.map
;</pre></body></html>