<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">try{let e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&amp;&amp;(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="ea769b20-c0f9-4fc4-8585-8d54a7148b0c",e._sentryDebugIdIdentifier="sentry-dbid-ea769b20-c0f9-4fc4-8585-8d54a7148b0c")}catch(e){}"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[991],{13463:function(e,t,r){let n,i,s,o,a,l;r.d(t,{G:function(){return rV},T:function(){return rG}});var c,u,d,h,p,f,m,y,g,S=r(92534),v=r(24309),_=r(18621),w=r(74833),b=r(90861),k=(r(83688),r(86460)),E=(r(17152),r(22048)),M=r(70128),I=r(26250),C=r(48365),R=r(21034),T=r(7412),x=r(74151),D=r(85898),O=r(84401),A=r(24858),N=r(47894),L=r(73095),P=r(41346),F=r(42816),U=r(34353),B=r(38359),W=r(28528),z=r(97831),j=r(9718),H=r(21715);let $=S.GLOBAL_OBJ,q="sentryReplaySession",V="Unable to send Replay";var K=Object.defineProperty,J=(e,t,r)=&gt;t in e?K(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,G=(e,t,r)=&gt;J(e,"symbol"!=typeof t?t+"":t,r),X=((c=X||{})[c.Document=0]="Document",c[c.DocumentType=1]="DocumentType",c[c.Element=2]="Element",c[c.Text=3]="Text",c[c.CDATA=4]="CDATA",c[c.Comment=5]="Comment",c);function Y(e){let t=e?.host;return t?.shadowRoot===e}function Q(e){return"[object ShadowRoot]"===Object.prototype.toString.call(e)}function Z(e){try{var t;let r=e.rules||e.cssRules;return r?((t=Array.from(r,ee).join("")).includes(" background-clip: text;")&amp;&amp;!t.includes(" -webkit-background-clip: text;")&amp;&amp;(t=t.replace(/\sbackground-clip:\s*text;/g," -webkit-background-clip: text; background-clip: text;")),t):null}catch(e){return null}}function ee(e){let t;if("styleSheet"in e)try{t=Z(e.styleSheet)||function(e){let{cssText:t}=e;if(t.split('"').length&lt;3)return t;let r=["@import",`url(${JSON.stringify(e.href)})`];return""===e.layerName?r.push("layer"):e.layerName&amp;&amp;r.push(`layer(${e.layerName})`),e.supportsText&amp;&amp;r.push(`supports(${e.supportsText})`),e.media.length&amp;&amp;r.push(e.media.mediaText),r.join(" ")+";"}(e)}catch(e){}else if("selectorText"in e){let t=e.cssText,r=e.selectorText.includes(":"),n="string"==typeof e.style.all&amp;&amp;e.style.all;if(n&amp;&amp;(t=function(e){let t="";for(let r=0;r&lt;e.style.length;r++){let n=e.style,i=n[r],s=n.getPropertyPriority(i);t+=`${i}:${n.getPropertyValue(i)}${s?" !important":""};`}return`${e.selectorText} { ${t} }`}(e)),r&amp;&amp;(t=t.replace(/(\[(?:[\w-]+)[^\\])(:(?:[\w-]+)\])/gm,"$1\\$2")),r||n)return t}return t||e.cssText}class et{constructor(){G(this,"idNodeMap",new Map),G(this,"nodeMetaMap",new WeakMap)}getId(e){return e?this.getMeta(e)?.id??-1:-1}getNode(e){return this.idNodeMap.get(e)||null}getIds(){return Array.from(this.idNodeMap.keys())}getMeta(e){return this.nodeMetaMap.get(e)||null}removeNodeFromMap(e){let t=this.getId(e);this.idNodeMap.delete(t),e.childNodes&amp;&amp;e.childNodes.forEach(e=&gt;this.removeNodeFromMap(e))}has(e){return this.idNodeMap.has(e)}hasNode(e){return this.nodeMetaMap.has(e)}add(e,t){let r=t.id;this.idNodeMap.set(r,e),this.nodeMetaMap.set(e,t)}replace(e,t){let r=this.getNode(e);if(r){let e=this.nodeMetaMap.get(r);e&amp;&amp;this.nodeMetaMap.set(t,e)}this.idNodeMap.set(e,t)}reset(){this.idNodeMap=new Map,this.nodeMetaMap=new WeakMap}}function er({maskInputOptions:e,tagName:t,type:r}){return"OPTION"===t&amp;&amp;(t="SELECT"),!!(e[t.toLowerCase()]||r&amp;&amp;e[r]||"password"===r||"INPUT"===t&amp;&amp;!r&amp;&amp;e.text)}function en({isMasked:e,element:t,value:r,maskInputFn:n}){let i=r||"";return e?(n&amp;&amp;(i=n(i,t)),"*".repeat(i.length)):i}function ei(e){return e.toLowerCase()}function es(e){return e.toUpperCase()}let eo="__rrweb_original__";function ea(e){let t=e.type;return e.hasAttribute("data-rr-is-password")?"password":t?ei(t):null}function el(e,t,r){return"INPUT"===t&amp;&amp;("radio"===r||"checkbox"===r)?e.getAttribute("value")||"":e.value}function ec(e,t){let r;try{r=new URL(e,t??window.location.href)}catch(e){return null}let n=r.pathname.match(/\.([0-9a-z]+)(?:$)/i);return n?.[1]??null}let eu={};function ed(e){let t=eu[e];if(t)return t;let r=window.document,n=window[e];if(r&amp;&amp;"function"==typeof r.createElement)try{let t=r.createElement("iframe");t.hidden=!0,r.head.appendChild(t);let i=t.contentWindow;i&amp;&amp;i[e]&amp;&amp;(n=i[e]),r.head.removeChild(t)}catch(e){}return eu[e]=n.bind(window)}function eh(...e){return ed("setTimeout")(...e)}function ep(...e){return ed("clearTimeout")(...e)}function ef(e){try{return e.contentDocument}catch(e){}}let em=1,ey=RegExp("[^a-z0-9-_:]");function eg(){return em++}let eS=/url\((?:(')([^']*)'|(")(.*?)"|([^)]*))\)/gm,ev=/^(?:[a-z+]+:)?\/\//i,e_=/^www\..*/i,ew=/^(data:)([^,]*),(.*)/i;function eb(e,t){return(e||"").replace(eS,(e,r,n,i,s,o)=&gt;{let a=n||s||o,l=r||i||"";if(!a)return e;if(ev.test(a)||e_.test(a)||ew.test(a))return`url(${l}${a}${l})`;if("/"===a[0])return`url(${l}${(t.indexOf("//")&gt;-1?t.split("/").slice(0,3).join("/"):t.split("/")[0]).split("?")[0]+a}${l})`;let c=t.split("/"),u=a.split("/");for(let e of(c.pop(),u))"."!==e&amp;&amp;(".."===e?c.pop():c.push(e));return`url(${l}${c.join("/")}${l})`})}let ek=/^[^ \t\n\r\u000c]+/,eE=/^[, \t\n\r\u000c]+/,eM=new WeakMap;function eI(e,t){return t&amp;&amp;""!==t.trim()?eC(e,t):t}function eC(e,t){let r=eM.get(e);if(r||(r=e.createElement("a"),eM.set(e,r)),t){if(t.startsWith("blob:")||t.startsWith("data:"))return t}else t="";return r.setAttribute("href",t),r.href}function eR(e,t,r,n,i,s){return n?"src"!==r&amp;&amp;("href"!==r||"use"===t&amp;&amp;"#"===n[0])&amp;&amp;("xlink:href"!==r||"#"===n[0])&amp;&amp;("background"!==r||"table"!==t&amp;&amp;"td"!==t&amp;&amp;"th"!==t)?"srcset"===r?function(e,t){if(""===t.trim())return t;let r=0;function n(e){let n;let i=e.exec(t.substring(r));return i?(n=i[0],r+=n.length,n):""}let i=[];for(;n(eE),!(r&gt;=t.length);){let s=n(ek);if(","===s.slice(-1))s=eI(e,s.substring(0,s.length-1)),i.push(s);else{let n="";s=eI(e,s);let o=!1;for(;;){let e=t.charAt(r);if(""===e){i.push((s+n).trim());break}if(o)")"===e&amp;&amp;(o=!1);else{if(","===e){r+=1,i.push((s+n).trim());break}"("===e&amp;&amp;(o=!0)}n+=e,r+=1}}}return i.join(", ")}(e,n):"style"===r?eb(n,eC(e)):"object"===t&amp;&amp;"data"===r?eI(e,n):"function"==typeof s?s(r,n,i):n:eI(e,n):n}function eT(e,t,r){return("video"===e||"audio"===e)&amp;&amp;"autoplay"===t}function ex(e,t,r,n){try{if(n&amp;&amp;e.matches(n))return!1;if("string"==typeof t){if(e.classList.contains(t))return!0}else for(let r=e.classList.length;r--;){let n=e.classList[r];if(t.test(n))return!0}if(r)return e.matches(r)}catch(e){}return!1}function eD(e,t,r=1/0,n=0){return!e||e.nodeType!==e.ELEMENT_NODE||n&gt;r?-1:t(e)?n:eD(e.parentNode,t,r,n+1)}function eO(e,t){return r=&gt;{if(null===r)return!1;try{if(e){if("string"==typeof e){if(r.matches(`.${e}`))return!0}else if(function(e,t){for(let r=e.classList.length;r--;){let n=e.classList[r];if(t.test(n))return!0}return!1}(r,e))return!0}if(t&amp;&amp;r.matches(t))return!0;return!1}catch{return!1}}}function eA(e,t,r,n,i,s){try{let o=e.nodeType===e.ELEMENT_NODE?e:e.parentElement;if(null===o)return!1;if("INPUT"===o.tagName){let e=o.getAttribute("autocomplete");if(["current-password","new-password","cc-number","cc-exp","cc-exp-month","cc-exp-year","cc-csc"].includes(e))return!0}let a=-1,l=-1;if(s){if((l=eD(o,eO(n,i)))&lt;0)return!0;a=eD(o,eO(t,r),l&gt;=0?l:1/0)}else{if((a=eD(o,eO(t,r)))&lt;0)return!1;l=eD(o,eO(n,i),a&gt;=0?a:1/0)}return a&gt;=0?!(l&gt;=0)||a&lt;=l:!(l&gt;=0)&amp;&amp;!!s}catch(e){}return!!s}function eN(e){return null==e?"":e.toLowerCase()}function eL(e,t){let r;let{doc:s,mirror:o,blockClass:a,blockSelector:l,unblockSelector:c,maskAllText:u,maskTextClass:d,unmaskTextClass:h,maskTextSelector:p,unmaskTextSelector:f,skipChild:m=!1,inlineStylesheet:y=!0,maskInputOptions:g={},maskAttributeFn:S,maskTextFn:v,maskInputFn:_,slimDOMOptions:w,dataURLOptions:b={},inlineImages:k=!1,recordCanvas:E=!1,onSerialize:M,onIframeLoad:I,iframeLoadTimeout:C=5e3,onStylesheetLoad:R,stylesheetLoadTimeout:T=5e3,keepIframeSrcFn:x=()=&gt;!1,newlyAddedElement:D=!1}=t,{preserveWhiteSpace:O=!0}=t,A=function(e,t){let{doc:r,mirror:s,blockClass:o,blockSelector:a,unblockSelector:l,maskAllText:c,maskAttributeFn:u,maskTextClass:d,unmaskTextClass:h,maskTextSelector:p,unmaskTextSelector:f,inlineStylesheet:m,maskInputOptions:y={},maskTextFn:g,maskInputFn:S,dataURLOptions:v={},inlineImages:_,recordCanvas:w,keepIframeSrcFn:b,newlyAddedElement:k=!1}=t,E=function(e,t){if(!t.hasNode(e))return;let r=t.getId(e);return 1===r?void 0:r}(r,s);switch(e.nodeType){case e.DOCUMENT_NODE:if("CSS1Compat"!==e.compatMode)return{type:X.Document,childNodes:[],compatMode:e.compatMode};return{type:X.Document,childNodes:[]};case e.DOCUMENT_TYPE_NODE:return{type:X.DocumentType,name:e.name,publicId:e.publicId,systemId:e.systemId,rootId:E};case e.ELEMENT_NODE:return function(e,t){let r;let{doc:s,blockClass:o,blockSelector:a,unblockSelector:l,inlineStylesheet:c,maskInputOptions:u={},maskAttributeFn:d,maskInputFn:h,dataURLOptions:p={},inlineImages:f,recordCanvas:m,keepIframeSrcFn:y,newlyAddedElement:g=!1,rootId:S,maskTextClass:v,unmaskTextClass:_,maskTextSelector:w,unmaskTextSelector:b}=t,k=ex(e,o,a,l),E=function(e){if(e instanceof HTMLFormElement)return"form";let t=ei(e.tagName);return ey.test(t)?"div":t}(e),M={},I=e.attributes.length;for(let t=0;t&lt;I;t++){let r=e.attributes[t];r.name&amp;&amp;!eT(E,r.name,r.value)&amp;&amp;(M[r.name]=eR(s,E,ei(r.name),r.value,e,d))}if("link"===E&amp;&amp;c){let t=Array.from(s.styleSheets).find(t=&gt;t.href===e.href),r=null;t&amp;&amp;(r=Z(t)),r&amp;&amp;(M.rel=null,M.href=null,M.crossorigin=null,M._cssText=eb(r,t.href))}if("style"===E&amp;&amp;e.sheet&amp;&amp;!(e.innerText||e.textContent||"").trim().length){let t=Z(e.sheet);t&amp;&amp;(M._cssText=eb(t,eC(s)))}if("input"===E||"textarea"===E||"select"===E||"option"===E){let t=ea(e),r=el(e,es(E),t),n=e.checked;if("submit"!==t&amp;&amp;"button"!==t&amp;&amp;r){let n=eA(e,v,w,_,b,er({type:t,tagName:es(E),maskInputOptions:u}));M.value=en({isMasked:n,element:e,value:r,maskInputFn:h})}n&amp;&amp;(M.checked=n)}if("option"===E&amp;&amp;(e.selected&amp;&amp;!u.select?M.selected=!0:delete M.selected),"canvas"===E&amp;&amp;m){if("2d"===e.__context)!function(e){let t=e.getContext("2d");if(!t)return!0;for(let r=0;r&lt;e.width;r+=50)for(let n=0;n&lt;e.height;n+=50){let i=t.getImageData;if(new Uint32Array((eo in i?i[eo]:i).call(t,r,n,Math.min(50,e.width-r),Math.min(50,e.height-n)).data.buffer).some(e=&gt;0!==e))return!1}return!0}(e)&amp;&amp;(M.rr_dataURL=e.toDataURL(p.type,p.quality));else if(!("__context"in e)){let t=e.toDataURL(p.type,p.quality),r=s.createElement("canvas");r.width=e.width,r.height=e.height,t!==r.toDataURL(p.type,p.quality)&amp;&amp;(M.rr_dataURL=t)}}if("img"===E&amp;&amp;f){n||(i=(n=s.createElement("canvas")).getContext("2d"));let t=e.currentSrc||e.getAttribute("src")||"&lt;unknown-src&gt;",r=e.crossOrigin,o=()=&gt;{e.removeEventListener("load",o);try{n.width=e.naturalWidth,n.height=e.naturalHeight,i.drawImage(e,0,0),M.rr_dataURL=n.toDataURL(p.type,p.quality)}catch(r){if("anonymous"!==e.crossOrigin){e.crossOrigin="anonymous",e.complete&amp;&amp;0!==e.naturalWidth?o():e.addEventListener("load",o);return}console.warn(`Cannot inline img src=${t}! Error: ${r}`)}"anonymous"===e.crossOrigin&amp;&amp;(r?M.crossOrigin=r:e.removeAttribute("crossorigin"))};e.complete&amp;&amp;0!==e.naturalWidth?o():e.addEventListener("load",o)}if(("audio"===E||"video"===E)&amp;&amp;(M.rr_mediaState=e.paused?"paused":"played",M.rr_mediaCurrentTime=e.currentTime),!g&amp;&amp;(e.scrollLeft&amp;&amp;(M.rr_scrollLeft=e.scrollLeft),e.scrollTop&amp;&amp;(M.rr_scrollTop=e.scrollTop)),k){let{width:t,height:r}=e.getBoundingClientRect();M={class:M.class,rr_width:`${t}px`,rr_height:`${r}px`}}"iframe"!==E||y(M.src)||(k||ef(e)||(M.rr_src=M.src),delete M.src);try{customElements.get(E)&amp;&amp;(r=!0)}catch(e){}return{type:X.Element,tagName:E,attributes:M,childNodes:[],isSVG:!!("svg"===e.tagName||e.ownerSVGElement)||void 0,needBlock:k,rootId:S,isCustom:r}}(e,{doc:r,blockClass:o,blockSelector:a,unblockSelector:l,inlineStylesheet:m,maskAttributeFn:u,maskInputOptions:y,maskInputFn:S,dataURLOptions:v,inlineImages:_,recordCanvas:w,keepIframeSrcFn:b,newlyAddedElement:k,rootId:E,maskTextClass:d,unmaskTextClass:h,maskTextSelector:p,unmaskTextSelector:f});case e.TEXT_NODE:return function(e,t){let{maskAllText:r,maskTextClass:n,unmaskTextClass:i,maskTextSelector:s,unmaskTextSelector:o,maskTextFn:a,maskInputOptions:l,maskInputFn:c,rootId:u}=t,d=e.parentNode&amp;&amp;e.parentNode.tagName,h=e.textContent,p="STYLE"===d||void 0,f="SCRIPT"===d||void 0,m="TEXTAREA"===d||void 0;if(p&amp;&amp;h){try{e.nextSibling||e.previousSibling||e.parentNode.sheet?.cssRules&amp;&amp;(h=Z(e.parentNode.sheet))}catch(t){console.warn(`Cannot get CSS styles from text's parentNode. Error: ${t}`,e)}h=eb(h,eC(t.doc))}f&amp;&amp;(h="SCRIPT_PLACEHOLDER");let y=eA(e,n,s,i,o,r);return p||f||m||!h||!y||(h=a?a(h,e.parentElement):h.replace(/[\S]/g,"*")),m&amp;&amp;h&amp;&amp;(l.textarea||y)&amp;&amp;(h=c?c(h,e.parentNode):h.replace(/[\S]/g,"*")),"OPTION"===d&amp;&amp;h&amp;&amp;(h=en({isMasked:eA(e,n,s,i,o,er({type:null,tagName:d,maskInputOptions:l})),element:e,value:h,maskInputFn:c})),{type:X.Text,textContent:h||"",isStyle:p,rootId:u}}(e,{doc:r,maskAllText:c,maskTextClass:d,unmaskTextClass:h,maskTextSelector:p,unmaskTextSelector:f,maskTextFn:g,maskInputOptions:y,maskInputFn:S,rootId:E});case e.CDATA_SECTION_NODE:return{type:X.CDATA,textContent:"",rootId:E};case e.COMMENT_NODE:return{type:X.Comment,textContent:e.textContent||"",rootId:E};default:return!1}}(e,{doc:s,mirror:o,blockClass:a,blockSelector:l,maskAllText:u,unblockSelector:c,maskTextClass:d,unmaskTextClass:h,maskTextSelector:p,unmaskTextSelector:f,inlineStylesheet:y,maskInputOptions:g,maskAttributeFn:S,maskTextFn:v,maskInputFn:_,dataURLOptions:b,inlineImages:k,recordCanvas:E,keepIframeSrcFn:x,newlyAddedElement:D});if(!A)return console.warn(e,"not serialized"),null;r=o.hasNode(e)?o.getId(e):!function(e,t){if(t.comment&amp;&amp;e.type===X.Comment)return!0;if(e.type===X.Element){if(t.script&amp;&amp;("script"===e.tagName||"link"===e.tagName&amp;&amp;("preload"===e.attributes.rel||"modulepreload"===e.attributes.rel)||"link"===e.tagName&amp;&amp;"prefetch"===e.attributes.rel&amp;&amp;"string"==typeof e.attributes.href&amp;&amp;"js"===ec(e.attributes.href))||t.headFavicon&amp;&amp;("link"===e.tagName&amp;&amp;"shortcut icon"===e.attributes.rel||"meta"===e.tagName&amp;&amp;(eN(e.attributes.name).match(/^msapplication-tile(image|color)$/)||"application-name"===eN(e.attributes.name)||"icon"===eN(e.attributes.rel)||"apple-touch-icon"===eN(e.attributes.rel)||"shortcut icon"===eN(e.attributes.rel))))return!0;if("meta"===e.tagName){if(t.headMetaDescKeywords&amp;&amp;eN(e.attributes.name).match(/^description|keywords$/)||t.headMetaSocial&amp;&amp;(eN(e.attributes.property).match(/^(og|twitter|fb):/)||eN(e.attributes.name).match(/^(og|twitter):/)||"pinterest"===eN(e.attributes.name)))return!0;if(t.headMetaRobots&amp;&amp;("robots"===eN(e.attributes.name)||"googlebot"===eN(e.attributes.name)||"bingbot"===eN(e.attributes.name)))return!0;if(t.headMetaHttpEquiv&amp;&amp;void 0!==e.attributes["http-equiv"])return!0;else if(t.headMetaAuthorship&amp;&amp;("author"===eN(e.attributes.name)||"generator"===eN(e.attributes.name)||"framework"===eN(e.attributes.name)||"publisher"===eN(e.attributes.name)||"progid"===eN(e.attributes.name)||eN(e.attributes.property).match(/^article:/)||eN(e.attributes.property).match(/^product:/)))return!0;else if(t.headMetaVerification&amp;&amp;("google-site-verification"===eN(e.attributes.name)||"yandex-verification"===eN(e.attributes.name)||"csrf-token"===eN(e.attributes.name)||"p:domain_verify"===eN(e.attributes.name)||"verify-v1"===eN(e.attributes.name)||"verification"===eN(e.attributes.name)||"shopify-checkout-api-token"===eN(e.attributes.name)))return!0}}return!1}(A,w)&amp;&amp;(O||A.type!==X.Text||A.isStyle||A.textContent.replace(/^\s+|\s+$/gm,"").length)?eg():-2;let N=Object.assign(A,{id:r});if(o.add(e,N),-2===r)return null;M&amp;&amp;M(e);let L=!m;if(N.type===X.Element){L=L&amp;&amp;!N.needBlock,delete N.needBlock;let t=e.shadowRoot;t&amp;&amp;Q(t)&amp;&amp;(N.isShadowHost=!0)}if((N.type===X.Document||N.type===X.Element)&amp;&amp;L){w.headWhitespace&amp;&amp;N.type===X.Element&amp;&amp;"head"===N.tagName&amp;&amp;(O=!1);let t={doc:s,mirror:o,blockClass:a,blockSelector:l,maskAllText:u,unblockSelector:c,maskTextClass:d,unmaskTextClass:h,maskTextSelector:p,unmaskTextSelector:f,skipChild:m,inlineStylesheet:y,maskInputOptions:g,maskAttributeFn:S,maskTextFn:v,maskInputFn:_,slimDOMOptions:w,dataURLOptions:b,inlineImages:k,recordCanvas:E,preserveWhiteSpace:O,onSerialize:M,onIframeLoad:I,iframeLoadTimeout:C,onStylesheetLoad:R,stylesheetLoadTimeout:T,keepIframeSrcFn:x};for(let r of Array.from(e.childNodes)){let e=eL(r,t);e&amp;&amp;N.childNodes.push(e)}if(e.nodeType===e.ELEMENT_NODE&amp;&amp;e.shadowRoot)for(let r of Array.from(e.shadowRoot.childNodes)){let n=eL(r,t);n&amp;&amp;(Q(e.shadowRoot)&amp;&amp;(n.isShadow=!0),N.childNodes.push(n))}}return e.parentNode&amp;&amp;Y(e.parentNode)&amp;&amp;Q(e.parentNode)&amp;&amp;(N.isShadow=!0),N.type!==X.Element||"iframe"!==N.tagName||ex(e,a,l,c)||function(e,t,r){let n;let i=e.contentWindow;if(!i)return;let s=!1;try{n=i.document.readyState}catch(e){return}if("complete"!==n){let n=eh(()=&gt;{s||(t(),s=!0)},r);e.addEventListener("load",()=&gt;{ep(n),s=!0,t()});return}let o="about:blank";if(i.location.href!==o||e.src===o||""===e.src)return eh(t,0),e.addEventListener("load",t);e.addEventListener("load",t)}(e,()=&gt;{let t=ef(e);if(t&amp;&amp;I){let r=eL(t,{doc:t,mirror:o,blockClass:a,blockSelector:l,unblockSelector:c,maskAllText:u,maskTextClass:d,unmaskTextClass:h,maskTextSelector:p,unmaskTextSelector:f,skipChild:!1,inlineStylesheet:y,maskInputOptions:g,maskAttributeFn:S,maskTextFn:v,maskInputFn:_,slimDOMOptions:w,dataURLOptions:b,inlineImages:k,recordCanvas:E,preserveWhiteSpace:O,onSerialize:M,onIframeLoad:I,iframeLoadTimeout:C,onStylesheetLoad:R,stylesheetLoadTimeout:T,keepIframeSrcFn:x});r&amp;&amp;I(e,r)}},C),N.type===X.Element&amp;&amp;"link"===N.tagName&amp;&amp;"string"==typeof N.attributes.rel&amp;&amp;("stylesheet"===N.attributes.rel||"preload"===N.attributes.rel&amp;&amp;"string"==typeof N.attributes.href&amp;&amp;"css"===ec(N.attributes.href))&amp;&amp;function(e,t,r){let n,i=!1;try{n=e.sheet}catch(e){return}if(n)return;let s=eh(()=&gt;{i||(t(),i=!0)},r);e.addEventListener("load",()=&gt;{ep(s),i=!0,t()})}(e,()=&gt;{if(R){let t=eL(e,{doc:s,mirror:o,blockClass:a,blockSelector:l,unblockSelector:c,maskAllText:u,maskTextClass:d,unmaskTextClass:h,maskTextSelector:p,unmaskTextSelector:f,skipChild:!1,inlineStylesheet:y,maskInputOptions:g,maskAttributeFn:S,maskTextFn:v,maskInputFn:_,slimDOMOptions:w,dataURLOptions:b,inlineImages:k,recordCanvas:E,preserveWhiteSpace:O,onSerialize:M,onIframeLoad:I,iframeLoadTimeout:C,onStylesheetLoad:R,stylesheetLoadTimeout:T,keepIframeSrcFn:x});t&amp;&amp;R(e,t)}},T),N}function eP(e,t,r=document){let n={capture:!0,passive:!0};return r.addEventListener(e,t,n),()=&gt;r.removeEventListener(e,t,n)}let eF="Please stop import mirror directly. Instead of that,\r\nnow you can use replayer.getMirror() to access the mirror instance of a replayer,\r\nor you can use record.mirror to access the mirror instance during recording.",eU={map:{},getId:()=&gt;(console.error(eF),-1),getNode:()=&gt;(console.error(eF),null),removeNodeFromMap(){console.error(eF)},has:()=&gt;(console.error(eF),!1),reset(){console.error(eF)}};function eB(e,t,r={}){let n=null,i=0;return function(...s){let o=Date.now();i||!1!==r.leading||(i=o);let a=t-(o-i),l=this;a&lt;=0||a&gt;t?(n&amp;&amp;(function(...e){e2("clearTimeout")(...e)}(n),n=null),i=o,e.apply(l,s)):n||!1===r.trailing||(n=e3(()=&gt;{i=!1===r.leading?0:Date.now(),n=null,e.apply(l,s)},a))}}function eW(e,t,r){try{if(!(t in e))return()=&gt;{};let n=e[t],i=r(n);return"function"==typeof i&amp;&amp;(i.prototype=i.prototype||{},Object.defineProperties(i,{__rrweb_original__:{enumerable:!1,value:n}})),e[t]=i,()=&gt;{e[t]=n}}catch{return()=&gt;{}}}"undefined"!=typeof window&amp;&amp;window.Proxy&amp;&amp;window.Reflect&amp;&amp;(eU=new Proxy(eU,{get:(e,t,r)=&gt;("map"===t&amp;&amp;console.error(eF),Reflect.get(e,t,r))}));let ez=Date.now;function ej(e){let t=e.document;return{left:t.scrollingElement?t.scrollingElement.scrollLeft:void 0!==e.pageXOffset?e.pageXOffset:t?.documentElement.scrollLeft||t?.body?.parentElement?.scrollLeft||t?.body?.scrollLeft||0,top:t.scrollingElement?t.scrollingElement.scrollTop:void 0!==e.pageYOffset?e.pageYOffset:t?.documentElement.scrollTop||t?.body?.parentElement?.scrollTop||t?.body?.scrollTop||0}}function eH(){return window.innerHeight||document.documentElement&amp;&amp;document.documentElement.clientHeight||document.body&amp;&amp;document.body.clientHeight}function e$(){return window.innerWidth||document.documentElement&amp;&amp;document.documentElement.clientWidth||document.body&amp;&amp;document.body.clientWidth}function eq(e){if(!e)return null;try{return e.nodeType===e.ELEMENT_NODE?e:e.parentElement}catch(e){return null}}function eV(e,t,r,n,i){if(!e)return!1;let s=eq(e);if(!s)return!1;let o=eO(t,r);if(!i){let e=n&amp;&amp;s.matches(n);return o(s)&amp;&amp;!e}let a=eD(s,o),l=-1;return!(a&lt;0)&amp;&amp;(n&amp;&amp;(l=eD(s,eO(null,n))),a&gt;-1&amp;&amp;l&lt;0||a&lt;l)}function eK(e,t){return -2===t.getId(e)}function eJ(e){return!!e.changedTouches}function eG(e,t){return!!("IFRAME"===e.nodeName&amp;&amp;t.getMeta(e))}function eX(e,t){return!!("LINK"===e.nodeName&amp;&amp;e.nodeType===e.ELEMENT_NODE&amp;&amp;e.getAttribute&amp;&amp;"stylesheet"===e.getAttribute("rel")&amp;&amp;t.getMeta(e))}function eY(e){return!!e?.shadowRoot}/[1-9][0-9]{12}/.test(Date.now().toString())||(ez=()=&gt;new Date().getTime());class eQ{constructor(){this.id=1,this.styleIDMap=new WeakMap,this.idStyleMap=new Map}getId(e){return this.styleIDMap.get(e)??-1}has(e){return this.styleIDMap.has(e)}add(e,t){let r;return this.has(e)?this.getId(e):(r=void 0===t?this.id++:t,this.styleIDMap.set(e,r),this.idStyleMap.set(r,e),r)}getStyle(e){return this.idStyleMap.get(e)||null}reset(){this.styleIDMap=new WeakMap,this.idStyleMap=new Map,this.id=1}generateId(){return this.id++}}function eZ(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 e0(e){let t=e.ownerDocument;return!!t&amp;&amp;(t.contains(e)||function(e){let t=e.ownerDocument;if(!t)return!1;let r=function(e){let t,r=e;for(;t=eZ(r);)r=t;return r}(e);return t.contains(r)}(e))}let e1={};function e2(e){let t=e1[e];if(t)return t;let r=window.document,n=window[e];if(r&amp;&amp;"function"==typeof r.createElement)try{let t=r.createElement("iframe");t.hidden=!0,r.head.appendChild(t);let i=t.contentWindow;i&amp;&amp;i[e]&amp;&amp;(n=i[e]),r.head.removeChild(t)}catch(e){}return e1[e]=n.bind(window)}function e3(...e){return e2("setTimeout")(...e)}var e5=((u=e5||{})[u.DomContentLoaded=0]="DomContentLoaded",u[u.Load=1]="Load",u[u.FullSnapshot=2]="FullSnapshot",u[u.IncrementalSnapshot=3]="IncrementalSnapshot",u[u.Meta=4]="Meta",u[u.Custom=5]="Custom",u[u.Plugin=6]="Plugin",u),e8=((d=e8||{})[d.Mutation=0]="Mutation",d[d.MouseMove=1]="MouseMove",d[d.MouseInteraction=2]="MouseInteraction",d[d.Scroll=3]="Scroll",d[d.ViewportResize=4]="ViewportResize",d[d.Input=5]="Input",d[d.TouchMove=6]="TouchMove",d[d.MediaInteraction=7]="MediaInteraction",d[d.StyleSheetRule=8]="StyleSheetRule",d[d.CanvasMutation=9]="CanvasMutation",d[d.Font=10]="Font",d[d.Log=11]="Log",d[d.Drag=12]="Drag",d[d.StyleDeclaration=13]="StyleDeclaration",d[d.Selection=14]="Selection",d[d.AdoptedStyleSheet=15]="AdoptedStyleSheet",d[d.CustomElement=16]="CustomElement",d),e6=((h=e6||{})[h.MouseUp=0]="MouseUp",h[h.MouseDown=1]="MouseDown",h[h.Click=2]="Click",h[h.ContextMenu=3]="ContextMenu",h[h.DblClick=4]="DblClick",h[h.Focus=5]="Focus",h[h.Blur=6]="Blur",h[h.TouchStart=7]="TouchStart",h[h.TouchMove_Departed=8]="TouchMove_Departed",h[h.TouchEnd=9]="TouchEnd",h[h.TouchCancel=10]="TouchCancel",h),e4=((p=e4||{})[p.Mouse=0]="Mouse",p[p.Pen=1]="Pen",p[p.Touch=2]="Touch",p),e7=((f=e7||{})[f.Play=0]="Play",f[f.Pause=1]="Pause",f[f.Seeked=2]="Seeked",f[f.VolumeChange=3]="VolumeChange",f[f.RateChange=4]="RateChange",f);function e9(e){try{return e.contentDocument}catch(e){}}class te{constructor(){this.length=0,this.head=null,this.tail=null}get(e){if(e&gt;=this.length)throw Error("Position outside of list range");let t=this.head;for(let r=0;r&lt;e;r++)t=t?.next||null;return t}addNode(e){let t={value:e,previous:null,next:null};if(e.__ln=t,e.previousSibling&amp;&amp;"__ln"in e.previousSibling){let r=e.previousSibling.__ln.next;t.next=r,t.previous=e.previousSibling.__ln,e.previousSibling.__ln.next=t,r&amp;&amp;(r.previous=t)}else if(e.nextSibling&amp;&amp;"__ln"in e.nextSibling&amp;&amp;e.nextSibling.__ln.previous){let r=e.nextSibling.__ln.previous;t.previous=r,t.next=e.nextSibling.__ln,e.nextSibling.__ln.previous=t,r&amp;&amp;(r.next=t)}else this.head&amp;&amp;(this.head.previous=t),t.next=this.head,this.head=t;null===t.next&amp;&amp;(this.tail=t),this.length++}removeNode(e){let t=e.__ln;this.head&amp;&amp;(t.previous?(t.previous.next=t.next,t.next?t.next.previous=t.previous:this.tail=t.previous):(this.head=t.next,this.head?this.head.previous=null:this.tail=null),e.__ln&amp;&amp;delete e.__ln,this.length--)}}let tt=(e,t)=&gt;`${e}@${t}`;class tr{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=e=&gt;{e.forEach(this.processMutation),this.emit()},this.emit=()=&gt;{if(this.frozen||this.locked)return;let e=[],t=new Set,r=new te,n=e=&gt;{let t=e,r=-2;for(;-2===r;)r=(t=t&amp;&amp;t.nextSibling)&amp;&amp;this.mirror.getId(t);return r},i=i=&gt;{if(!i.parentNode||!e0(i))return;let s=Y(i.parentNode)?this.mirror.getId(eZ(i)):this.mirror.getId(i.parentNode),o=n(i);if(-1===s||-1===o)return r.addNode(i);let a=eL(i,{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:e=&gt;{eG(e,this.mirror)&amp;&amp;!eV(e,this.blockClass,this.blockSelector,this.unblockSelector,!1)&amp;&amp;this.iframeManager.addIframe(e),eX(e,this.mirror)&amp;&amp;this.stylesheetManager.trackLinkElement(e),eY(i)&amp;&amp;this.shadowDomManager.addShadowRoot(i.shadowRoot,this.doc)},onIframeLoad:(e,t)=&gt;{eV(e,this.blockClass,this.blockSelector,this.unblockSelector,!1)||(this.iframeManager.attachIframe(e,t),e.contentWindow&amp;&amp;this.canvasManager.addWindow(e.contentWindow),this.shadowDomManager.observeAttachShadow(e))},onStylesheetLoad:(e,t)=&gt;{this.stylesheetManager.attachLinkElement(e,t)}});a&amp;&amp;(e.push({parentId:s,nextId:o,node:a}),t.add(a.id))};for(;this.mapRemoves.length;)this.mirror.removeNodeFromMap(this.mapRemoves.shift());for(let e of this.movedSet)(!ti(this.removes,e,this.mirror)||this.movedSet.has(e.parentNode))&amp;&amp;i(e);for(let e of this.addedSet)ts(this.droppedSet,e)||ti(this.removes,e,this.mirror)?ts(this.movedSet,e)?i(e):this.droppedSet.add(e):i(e);let s=null;for(;r.length;){let e=null;if(s){let t=this.mirror.getId(s.value.parentNode),r=n(s.value);-1!==t&amp;&amp;-1!==r&amp;&amp;(e=s)}if(!e){let t=r.tail;for(;t;){let r=t;if(t=t.previous,r){let t=this.mirror.getId(r.value.parentNode);if(-1===n(r.value))continue;if(-1!==t){e=r;break}{let t=r.value;if(t.parentNode&amp;&amp;t.parentNode.nodeType===Node.DOCUMENT_FRAGMENT_NODE){let n=t.parentNode.host;if(-1!==this.mirror.getId(n)){e=r;break}}}}}}if(!e){for(;r.head;)r.removeNode(r.head.value);break}s=e.previous,r.removeNode(e.value),i(e.value)}let o={texts:this.texts.map(e=&gt;({id:this.mirror.getId(e.node),value:e.value})).filter(e=&gt;!t.has(e.id)).filter(e=&gt;this.mirror.has(e.id)),attributes:this.attributes.map(e=&gt;{let{attributes:t}=e;if("string"==typeof t.style){let r=JSON.stringify(e.styleDiff),n=JSON.stringify(e._unchangedStyles);r.length&lt;t.style.length&amp;&amp;(r+n).split("var(").length===t.style.split("var(").length&amp;&amp;(t.style=e.styleDiff)}return{id:this.mirror.getId(e.node),attributes:t}}).filter(e=&gt;!t.has(e.id)).filter(e=&gt;this.mirror.has(e.id)),removes:this.removes,adds:e};(o.texts.length||o.attributes.length||o.removes.length||o.adds.length)&amp;&amp;(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(o))},this.processMutation=e=&gt;{if(!eK(e.target,this.mirror))switch(e.type){case"characterData":{let t=e.target.textContent;eV(e.target,this.blockClass,this.blockSelector,this.unblockSelector,!1)||t===e.oldValue||this.texts.push({value:eA(e.target,this.maskTextClass,this.maskTextSelector,this.unmaskTextClass,this.unmaskTextSelector,this.maskAllText)&amp;&amp;t?this.maskTextFn?this.maskTextFn(t,eq(e.target)):t.replace(/[\S]/g,"*"):t,node:e.target});break}case"attributes":{let t=e.target,r=e.attributeName,n=e.target.getAttribute(r);if("value"===r){let r=ea(t),i=t.tagName;n=el(t,i,r);let s=er({maskInputOptions:this.maskInputOptions,tagName:i,type:r});n=en({isMasked:eA(e.target,this.maskTextClass,this.maskTextSelector,this.unmaskTextClass,this.unmaskTextSelector,s),element:t,value:n,maskInputFn:this.maskInputFn})}if(eV(e.target,this.blockClass,this.blockSelector,this.unblockSelector,!1)||n===e.oldValue)return;let i=this.attributeMap.get(e.target);if("IFRAME"===t.tagName&amp;&amp;"src"===r&amp;&amp;!this.keepIframeSrcFn(n)){if(e9(t))return;r="rr_src"}if(i||(i={node:e.target,attributes:{},styleDiff:{},_unchangedStyles:{}},this.attributes.push(i),this.attributeMap.set(e.target,i)),"type"===r&amp;&amp;"INPUT"===t.tagName&amp;&amp;"password"===(e.oldValue||"").toLowerCase()&amp;&amp;t.setAttribute("data-rr-is-password","true"),!eT(t.tagName,r)&amp;&amp;(i.attributes[r]=eR(this.doc,ei(t.tagName),ei(r),n,t,this.maskAttributeFn),"style"===r)){if(!this.unattachedDoc)try{this.unattachedDoc=document.implementation.createHTMLDocument()}catch(e){this.unattachedDoc=this.doc}let r=this.unattachedDoc.createElement("span");for(let n of(e.oldValue&amp;&amp;r.setAttribute("style",e.oldValue),Array.from(t.style))){let e=t.style.getPropertyValue(n),s=t.style.getPropertyPriority(n);e!==r.style.getPropertyValue(n)||s!==r.style.getPropertyPriority(n)?""===s?i.styleDiff[n]=e:i.styleDiff[n]=[e,s]:i._unchangedStyles[n]=[e,s]}for(let e of Array.from(r.style))""===t.style.getPropertyValue(e)&amp;&amp;(i.styleDiff[e]=!1)}break}case"childList":if(eV(e.target,this.blockClass,this.blockSelector,this.unblockSelector,!0))return;e.addedNodes.forEach(t=&gt;this.genAdds(t,e.target)),e.removedNodes.forEach(t=&gt;{let r=this.mirror.getId(t),n=Y(e.target)?this.mirror.getId(e.target.host):this.mirror.getId(e.target);eV(e.target,this.blockClass,this.blockSelector,this.unblockSelector,!1)||eK(t,this.mirror)||-1===this.mirror.getId(t)||(this.addedSet.has(t)?(tn(this.addedSet,t),this.droppedSet.add(t)):this.addedSet.has(e.target)&amp;&amp;-1===r||function e(t,r){if(Y(t))return!1;let n=r.getId(t);return!r.has(n)||(!t.parentNode||t.parentNode.nodeType!==t.DOCUMENT_NODE)&amp;&amp;(!t.parentNode||e(t.parentNode,r))}(e.target,this.mirror)||(this.movedSet.has(t)&amp;&amp;this.movedMap[tt(r,n)]?tn(this.movedSet,t):this.removes.push({parentId:n,id:r,isShadow:!!(Y(e.target)&amp;&amp;Q(e.target))||void 0})),this.mapRemoves.push(t))})}},this.genAdds=(e,t)=&gt;{if(!this.processedNodeManager.inOtherBuffer(e,this)&amp;&amp;!(this.addedSet.has(e)||this.movedSet.has(e))){if(this.mirror.hasNode(e)){if(eK(e,this.mirror))return;this.movedSet.add(e);let r=null;t&amp;&amp;this.mirror.hasNode(t)&amp;&amp;(r=this.mirror.getId(t)),r&amp;&amp;-1!==r&amp;&amp;(this.movedMap[tt(this.mirror.getId(e),r)]=!0)}else this.addedSet.add(e),this.droppedSet.delete(e);!eV(e,this.blockClass,this.blockSelector,this.unblockSelector,!1)&amp;&amp;(e.childNodes.forEach(e=&gt;this.genAdds(e)),eY(e)&amp;&amp;e.shadowRoot.childNodes.forEach(t=&gt;{this.processedNodeManager.add(t,this),this.genAdds(t,e)}))}}}init(e){["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(t=&gt;{this[t]=e[t]})}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 tn(e,t){e.delete(t),t.childNodes.forEach(t=&gt;tn(e,t))}function ti(e,t,r){return 0!==e.length&amp;&amp;function(e,t,r){let n=t.parentNode;for(;n;){let t=r.getId(n);if(e.some(e=&gt;e.id===t))return!0;n=n.parentNode}return!1}(e,t,r)}function ts(e,t){return 0!==e.size&amp;&amp;function e(t,r){let{parentNode:n}=r;return!!n&amp;&amp;(!!t.has(n)||e(t,n))}(e,t)}let to=e=&gt;s?(...t)=&gt;{try{return e(...t)}catch(e){if(s&amp;&amp;!0===s(e))return()=&gt;{};throw e}}:e,ta=[];function tl(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 tc(e,t){let r=new tr;ta.push(r),r.init(e);let n=window.MutationObserver||window.__rrMutationObserver,i=window?.Zone?.__symbol__?.("MutationObserver");i&amp;&amp;window[i]&amp;&amp;(n=window[i]);let s=new n(to(t=&gt;{e.onMutation&amp;&amp;!1===e.onMutation(t)||r.processMutations.bind(r)(t)}));return s.observe(t,{attributes:!0,attributeOldValue:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0}),s}function tu({scrollCb:e,doc:t,mirror:r,blockClass:n,blockSelector:i,unblockSelector:s,sampling:o}){return eP("scroll",to(eB(to(o=&gt;{let a=tl(o);if(!a||eV(a,n,i,s,!0))return;let l=r.getId(a);if(a===t&amp;&amp;t.defaultView){let r=ej(t.defaultView);e({id:l,x:r.left,y:r.top})}else e({id:l,x:a.scrollLeft,y:a.scrollTop})}),o.scroll||100)),t)}let td=["INPUT","TEXTAREA","SELECT"],th=new WeakMap;function tp(e){var t;return t=[],tg("CSSGroupingRule")&amp;&amp;e.parentRule instanceof CSSGroupingRule||tg("CSSMediaRule")&amp;&amp;e.parentRule instanceof CSSMediaRule||tg("CSSSupportsRule")&amp;&amp;e.parentRule instanceof CSSSupportsRule||tg("CSSConditionRule")&amp;&amp;e.parentRule instanceof CSSConditionRule?t.unshift(Array.from(e.parentRule.cssRules).indexOf(e)):e.parentStyleSheet&amp;&amp;t.unshift(Array.from(e.parentStyleSheet.cssRules).indexOf(e)),t}function tf(e,t,r){let n,i;return e?(e.ownerNode?n=t.getId(e.ownerNode):i=r.getId(e),{styleId:i,id:n}):{}}function tm({mirror:e,stylesheetManager:t},r){let n=null;n="#document"===r.nodeName?e.getId(r):e.getId(r.host);let i="#document"===r.nodeName?r.defaultView?.Document:r.ownerDocument?.defaultView?.ShadowRoot,s=i?.prototype?Object.getOwnPropertyDescriptor(i?.prototype,"adoptedStyleSheets"):void 0;return null!==n&amp;&amp;-1!==n&amp;&amp;i&amp;&amp;s?(Object.defineProperty(r,"adoptedStyleSheets",{configurable:s.configurable,enumerable:s.enumerable,get(){return s.get?.call(this)},set(e){let r=s.set?.call(this,e);if(null!==n&amp;&amp;-1!==n)try{t.adoptStyleSheets(e,n)}catch(e){}return r}}),to(()=&gt;{Object.defineProperty(r,"adoptedStyleSheets",{configurable:s.configurable,enumerable:s.enumerable,get:s.get,set:s.set})})):()=&gt;{}}function ty(e,t={}){let r;let n=e.doc.defaultView;if(!n)return()=&gt;{};e.recordDOM&amp;&amp;(r=tc(e,e.doc));let i=function({mousemoveCb:e,sampling:t,doc:r,mirror:n}){let i;if(!1===t.mousemove)return()=&gt;{};let s="number"==typeof t.mousemove?t.mousemove:50,o="number"==typeof t.mousemoveCallback?t.mousemoveCallback:500,a=[],l=eB(to(t=&gt;{let r=Date.now()-i;e(a.map(e=&gt;(e.timeOffset-=r,e)),t),a=[],i=null}),o),c=to(eB(to(e=&gt;{let t=tl(e),{clientX:r,clientY:s}=eJ(e)?e.changedTouches[0]:e;i||(i=ez()),a.push({x:r,y:s,id:n.getId(t),timeOffset:ez()-i}),l("undefined"!=typeof DragEvent&amp;&amp;e instanceof DragEvent?e8.Drag:e instanceof MouseEvent?e8.MouseMove:e8.TouchMove)}),s,{trailing:!1})),u=[eP("mousemove",c,r),eP("touchmove",c,r),eP("drag",c,r)];return to(()=&gt;{u.forEach(e=&gt;e())})}(e),s=function({mouseInteractionCb:e,doc:t,mirror:r,blockClass:n,blockSelector:i,unblockSelector:s,sampling:o}){if(!1===o.mouseInteraction)return()=&gt;{};let a=!0===o.mouseInteraction||void 0===o.mouseInteraction?{}:o.mouseInteraction,l=[],c=null,u=t=&gt;o=&gt;{let a=tl(o);if(eV(a,n,i,s,!0))return;let l=null,u=t;if("pointerType"in o){switch(o.pointerType){case"mouse":l=e4.Mouse;break;case"touch":l=e4.Touch;break;case"pen":l=e4.Pen}l===e4.Touch?e6[t]===e6.MouseDown?u="TouchStart":e6[t]===e6.MouseUp&amp;&amp;(u="TouchEnd"):e4.Pen}else eJ(o)&amp;&amp;(l=e4.Touch);null!==l?(c=l,(u.startsWith("Touch")&amp;&amp;l===e4.Touch||u.startsWith("Mouse")&amp;&amp;l===e4.Mouse)&amp;&amp;(l=null)):e6[t]===e6.Click&amp;&amp;(l=c,c=null);let d=eJ(o)?o.changedTouches[0]:o;if(!d)return;let h=r.getId(a),{clientX:p,clientY:f}=d;to(e)({type:e6[u],id:h,x:p,y:f,...null!==l&amp;&amp;{pointerType:l}})};return Object.keys(e6).filter(e=&gt;Number.isNaN(Number(e))&amp;&amp;!e.endsWith("_Departed")&amp;&amp;!1!==a[e]).forEach(e=&gt;{let r=ei(e),n=u(e);if(window.PointerEvent)switch(e6[e]){case e6.MouseDown:case e6.MouseUp:r=r.replace("mouse","pointer");break;case e6.TouchStart:case e6.TouchEnd:return}l.push(eP(r,n,t))}),to(()=&gt;{l.forEach(e=&gt;e())})}(e),o=tu(e),a=function({viewportResizeCb:e},{win:t}){let r=-1,n=-1;return eP("resize",to(eB(to(()=&gt;{let t=eH(),i=e$();(r!==t||n!==i)&amp;&amp;(e({width:Number(i),height:Number(t)}),r=t,n=i)}),200)),t)}(e,{win:n}),l=function({inputCb:e,doc:t,mirror:r,blockClass:n,blockSelector:i,unblockSelector:s,ignoreClass:o,ignoreSelector:a,maskInputOptions:l,maskInputFn:c,sampling:u,userTriggeredOnInput:d,maskTextClass:h,unmaskTextClass:p,maskTextSelector:f,unmaskTextSelector:m}){function y(e){let r=tl(e),u=e.isTrusted,y=r&amp;&amp;es(r.tagName);if("OPTION"===y&amp;&amp;(r=r.parentElement),!r||!y||0&gt;td.indexOf(y)||eV(r,n,i,s,!0))return;let S=r;if(S.classList.contains(o)||a&amp;&amp;S.matches(a))return;let v=ea(r),_=el(S,y,v),w=!1,b=er({maskInputOptions:l,tagName:y,type:v}),k=eA(r,h,f,p,m,b);("radio"===v||"checkbox"===v)&amp;&amp;(w=r.checked),_=en({isMasked:k,element:r,value:_,maskInputFn:c}),g(r,d?{text:_,isChecked:w,userTriggered:u}:{text:_,isChecked:w});let E=r.name;"radio"===v&amp;&amp;E&amp;&amp;w&amp;&amp;t.querySelectorAll(`input[type="radio"][name="${E}"]`).forEach(e=&gt;{if(e!==r){let t=en({isMasked:k,element:e,value:el(e,y,v),maskInputFn:c});g(e,d?{text:t,isChecked:!w,userTriggered:!1}:{text:t,isChecked:!w})}})}function g(t,n){let i=th.get(t);if(!i||i.text!==n.text||i.isChecked!==n.isChecked){th.set(t,n);let i=r.getId(t);to(e)({...n,id:i})}}let S=("last"===u.input?["change"]:["input","change"]).map(e=&gt;eP(e,to(y),t)),v=t.defaultView;if(!v)return()=&gt;{S.forEach(e=&gt;e())};let _=v.Object.getOwnPropertyDescriptor(v.HTMLInputElement.prototype,"value"),w=[[v.HTMLInputElement.prototype,"value"],[v.HTMLInputElement.prototype,"checked"],[v.HTMLSelectElement.prototype,"value"],[v.HTMLTextAreaElement.prototype,"value"],[v.HTMLSelectElement.prototype,"selectedIndex"],[v.HTMLOptionElement.prototype,"selected"]];return _&amp;&amp;_.set&amp;&amp;S.push(...w.map(e=&gt;(function e(t,r,n,i,s=window){let o=s.Object.getOwnPropertyDescriptor(t,r);return s.Object.defineProperty(t,r,i?n:{set(e){e3(()=&gt;{n.set.call(this,e)},0),o&amp;&amp;o.set&amp;&amp;o.set.call(this,e)}}),()=&gt;e(t,r,o||{},!0)})(e[0],e[1],{set(){to(y)({target:this,isTrusted:!1})}},!1,v))),to(()=&gt;{S.forEach(e=&gt;e())})}(e),c=function({mediaInteractionCb:e,blockClass:t,blockSelector:r,unblockSelector:n,mirror:i,sampling:s,doc:o}){let a=to(o=&gt;eB(to(s=&gt;{let a=tl(s);if(!a||eV(a,t,r,n,!0))return;let{currentTime:l,volume:c,muted:u,playbackRate:d}=a;e({type:o,id:i.getId(a),currentTime:l,volume:c,muted:u,playbackRate:d})}),s.media||500)),l=[eP("play",a(e7.Play),o),eP("pause",a(e7.Pause),o),eP("seeked",a(e7.Seeked),o),eP("volumechange",a(e7.VolumeChange),o),eP("ratechange",a(e7.RateChange),o)];return to(()=&gt;{l.forEach(e=&gt;e())})}(e),u=()=&gt;{},d=()=&gt;{},h=()=&gt;{},p=()=&gt;{};e.recordDOM&amp;&amp;(u=function({styleSheetRuleCb:e,mirror:t,stylesheetManager:r},{win:n}){let i,s;if(!n.CSSStyleSheet||!n.CSSStyleSheet.prototype)return()=&gt;{};let o=n.CSSStyleSheet.prototype.insertRule;n.CSSStyleSheet.prototype.insertRule=new Proxy(o,{apply:to((n,i,s)=&gt;{let[o,a]=s,{id:l,styleId:c}=tf(i,t,r.styleMirror);return(l&amp;&amp;-1!==l||c&amp;&amp;-1!==c)&amp;&amp;e({id:l,styleId:c,adds:[{rule:o,index:a}]}),n.apply(i,s)})});let a=n.CSSStyleSheet.prototype.deleteRule;n.CSSStyleSheet.prototype.deleteRule=new Proxy(a,{apply:to((n,i,s)=&gt;{let[o]=s,{id:a,styleId:l}=tf(i,t,r.styleMirror);return(a&amp;&amp;-1!==a||l&amp;&amp;-1!==l)&amp;&amp;e({id:a,styleId:l,removes:[{index:o}]}),n.apply(i,s)})}),n.CSSStyleSheet.prototype.replace&amp;&amp;(i=n.CSSStyleSheet.prototype.replace,n.CSSStyleSheet.prototype.replace=new Proxy(i,{apply:to((n,i,s)=&gt;{let[o]=s,{id:a,styleId:l}=tf(i,t,r.styleMirror);return(a&amp;&amp;-1!==a||l&amp;&amp;-1!==l)&amp;&amp;e({id:a,styleId:l,replace:o}),n.apply(i,s)})})),n.CSSStyleSheet.prototype.replaceSync&amp;&amp;(s=n.CSSStyleSheet.prototype.replaceSync,n.CSSStyleSheet.prototype.replaceSync=new Proxy(s,{apply:to((n,i,s)=&gt;{let[o]=s,{id:a,styleId:l}=tf(i,t,r.styleMirror);return(a&amp;&amp;-1!==a||l&amp;&amp;-1!==l)&amp;&amp;e({id:a,styleId:l,replaceSync:o}),n.apply(i,s)})}));let l={};tS("CSSGroupingRule")?l.CSSGroupingRule=n.CSSGroupingRule:(tS("CSSMediaRule")&amp;&amp;(l.CSSMediaRule=n.CSSMediaRule),tS("CSSConditionRule")&amp;&amp;(l.CSSConditionRule=n.CSSConditionRule),tS("CSSSupportsRule")&amp;&amp;(l.CSSSupportsRule=n.CSSSupportsRule));let c={};return Object.entries(l).forEach(([n,i])=&gt;{c[n]={insertRule:i.prototype.insertRule,deleteRule:i.prototype.deleteRule},i.prototype.insertRule=new Proxy(c[n].insertRule,{apply:to((n,i,s)=&gt;{let[o,a]=s,{id:l,styleId:c}=tf(i.parentStyleSheet,t,r.styleMirror);return(l&amp;&amp;-1!==l||c&amp;&amp;-1!==c)&amp;&amp;e({id:l,styleId:c,adds:[{rule:o,index:[...tp(i),a||0]}]}),n.apply(i,s)})}),i.prototype.deleteRule=new Proxy(c[n].deleteRule,{apply:to((n,i,s)=&gt;{let[o]=s,{id:a,styleId:l}=tf(i.parentStyleSheet,t,r.styleMirror);return(a&amp;&amp;-1!==a||l&amp;&amp;-1!==l)&amp;&amp;e({id:a,styleId:l,removes:[{index:[...tp(i),o]}]}),n.apply(i,s)})})}),to(()=&gt;{n.CSSStyleSheet.prototype.insertRule=o,n.CSSStyleSheet.prototype.deleteRule=a,i&amp;&amp;(n.CSSStyleSheet.prototype.replace=i),s&amp;&amp;(n.CSSStyleSheet.prototype.replaceSync=s),Object.entries(l).forEach(([e,t])=&gt;{t.prototype.insertRule=c[e].insertRule,t.prototype.deleteRule=c[e].deleteRule})})}(e,{win:n}),d=tm(e,e.doc),h=function({styleDeclarationCb:e,mirror:t,ignoreCSSAttributes:r,stylesheetManager:n},{win:i}){let s=i.CSSStyleDeclaration.prototype.setProperty;i.CSSStyleDeclaration.prototype.setProperty=new Proxy(s,{apply:to((i,o,a)=&gt;{let[l,c,u]=a;if(r.has(l))return s.apply(o,[l,c,u]);let{id:d,styleId:h}=tf(o.parentRule?.parentStyleSheet,t,n.styleMirror);return(d&amp;&amp;-1!==d||h&amp;&amp;-1!==h)&amp;&amp;e({id:d,styleId:h,set:{property:l,value:c,priority:u},index:tp(o.parentRule)}),i.apply(o,a)})});let o=i.CSSStyleDeclaration.prototype.removeProperty;return i.CSSStyleDeclaration.prototype.removeProperty=new Proxy(o,{apply:to((i,s,a)=&gt;{let[l]=a;if(r.has(l))return o.apply(s,[l]);let{id:c,styleId:u}=tf(s.parentRule?.parentStyleSheet,t,n.styleMirror);return(c&amp;&amp;-1!==c||u&amp;&amp;-1!==u)&amp;&amp;e({id:c,styleId:u,remove:{property:l},index:tp(s.parentRule)}),i.apply(s,a)})}),to(()=&gt;{i.CSSStyleDeclaration.prototype.setProperty=s,i.CSSStyleDeclaration.prototype.removeProperty=o})}(e,{win:n}),e.collectFonts&amp;&amp;(p=function({fontCb:e,doc:t}){let r=t.defaultView;if(!r)return()=&gt;{};let n=[],i=new WeakMap,s=r.FontFace;r.FontFace=function(e,t,r){let n=new s(e,t,r);return i.set(n,{family:e,buffer:"string"!=typeof t,descriptors:r,fontSource:"string"==typeof t?t:JSON.stringify(Array.from(new Uint8Array(t)))}),n};let o=eW(t.fonts,"add",function(t){return function(r){return e3(to(()=&gt;{let t=i.get(r);t&amp;&amp;(e(t),i.delete(r))}),0),t.apply(this,[r])}});return n.push(()=&gt;{r.FontFace=s}),n.push(o),to(()=&gt;{n.forEach(e=&gt;e())})}(e)));let f=function(e){let{doc:t,mirror:r,blockClass:n,blockSelector:i,unblockSelector:s,selectionCb:o}=e,a=!0,l=to(()=&gt;{let e=t.getSelection();if(!e||a&amp;&amp;e?.isCollapsed)return;a=e.isCollapsed||!1;let l=[],c=e.rangeCount||0;for(let t=0;t&lt;c;t++){let{startContainer:o,startOffset:a,endContainer:c,endOffset:u}=e.getRangeAt(t);eV(o,n,i,s,!0)||eV(c,n,i,s,!0)||l.push({start:r.getId(o),startOffset:a,end:r.getId(c),endOffset:u})}o({ranges:l})});return l(),eP("selectionchange",l)}(e),m=function({doc:e,customElementCb:t}){let r=e.defaultView;return r&amp;&amp;r.customElements?eW(r.customElements,"define",function(e){return function(r,n,i){try{t({define:{name:r}})}catch(e){}return e.apply(this,[r,n,i])}}):()=&gt;{}}(e),y=[];for(let t of e.plugins)y.push(t.observer(t.callback,n,t.options));return to(()=&gt;{ta.forEach(e=&gt;e.reset()),r?.disconnect(),i(),s(),o(),a(),l(),c(),u(),d(),h(),p(),f(),m(),y.forEach(e=&gt;e())})}function tg(e){return void 0!==window[e]}function tS(e){return!!(void 0!==window[e]&amp;&amp;window[e].prototype&amp;&amp;"insertRule"in window[e].prototype&amp;&amp;"deleteRule"in window[e].prototype)}class tv{constructor(e){this.generateIdFn=e,this.iframeIdToRemoteIdMap=new WeakMap,this.iframeRemoteIdToIdMap=new WeakMap}getId(e,t,r,n){let i=r||this.getIdToRemoteIdMap(e),s=n||this.getRemoteIdToIdMap(e),o=i.get(t);return o||(o=this.generateIdFn(),i.set(t,o),s.set(o,t)),o}getIds(e,t){let r=this.getIdToRemoteIdMap(e),n=this.getRemoteIdToIdMap(e);return t.map(t=&gt;this.getId(e,t,r,n))}getRemoteId(e,t,r){let n=r||this.getRemoteIdToIdMap(e);return"number"!=typeof t?t:n.get(t)||-1}getRemoteIds(e,t){let r=this.getRemoteIdToIdMap(e);return t.map(t=&gt;this.getRemoteId(e,t,r))}reset(e){if(!e){this.iframeIdToRemoteIdMap=new WeakMap,this.iframeRemoteIdToIdMap=new WeakMap;return}this.iframeIdToRemoteIdMap.delete(e),this.iframeRemoteIdToIdMap.delete(e)}getIdToRemoteIdMap(e){let t=this.iframeIdToRemoteIdMap.get(e);return t||(t=new Map,this.iframeIdToRemoteIdMap.set(e,t)),t}getRemoteIdToIdMap(e){let t=this.iframeRemoteIdToIdMap.get(e);return t||(t=new Map,this.iframeRemoteIdToIdMap.set(e,t)),t}}class t_{constructor(){this.crossOriginIframeMirror=new tv(eg),this.crossOriginIframeRootIdMap=new WeakMap}addIframe(){}addLoadListener(){}attachIframe(){}}class tw{constructor(e){this.iframes=new WeakMap,this.crossOriginIframeMap=new WeakMap,this.crossOriginIframeMirror=new tv(eg),this.crossOriginIframeRootIdMap=new WeakMap,this.mutationCb=e.mutationCb,this.wrappedEmit=e.wrappedEmit,this.stylesheetManager=e.stylesheetManager,this.recordCrossOriginIframes=e.recordCrossOriginIframes,this.crossOriginIframeStyleMirror=new tv(this.stylesheetManager.styleMirror.generateId.bind(this.stylesheetManager.styleMirror)),this.mirror=e.mirror,this.recordCrossOriginIframes&amp;&amp;window.addEventListener("message",this.handleMessage.bind(this))}addIframe(e){this.iframes.set(e,!0),e.contentWindow&amp;&amp;this.crossOriginIframeMap.set(e.contentWindow,e)}addLoadListener(e){this.loadListener=e}attachIframe(e,t){this.mutationCb({adds:[{parentId:this.mirror.getId(e),nextId:null,node:t}],removes:[],texts:[],attributes:[],isAttachIframe:!0}),this.recordCrossOriginIframes&amp;&amp;e.contentWindow?.addEventListener("message",this.handleMessage.bind(this)),this.loadListener?.(e);let r=e9(e);r&amp;&amp;r.adoptedStyleSheets&amp;&amp;r.adoptedStyleSheets.length&gt;0&amp;&amp;this.stylesheetManager.adoptStyleSheets(r.adoptedStyleSheets,this.mirror.getId(r))}handleMessage(e){if("rrweb"!==e.data.type||e.origin!==e.data.origin||!e.source)return;let t=this.crossOriginIframeMap.get(e.source);if(!t)return;let r=this.transformCrossOriginEvent(t,e.data.event);r&amp;&amp;this.wrappedEmit(r,e.data.isCheckout)}transformCrossOriginEvent(e,t){switch(t.type){case e5.FullSnapshot:{this.crossOriginIframeMirror.reset(e),this.crossOriginIframeStyleMirror.reset(e),this.replaceIdOnNode(t.data.node,e);let r=t.data.node.id;return this.crossOriginIframeRootIdMap.set(e,r),this.patchRootIdOnNode(t.data.node,r),{timestamp:t.timestamp,type:e5.IncrementalSnapshot,data:{source:e8.Mutation,adds:[{parentId:this.mirror.getId(e),nextId:null,node:t.data.node}],removes:[],texts:[],attributes:[],isAttachIframe:!0}}}case e5.Meta:case e5.Load:case e5.DomContentLoaded:break;case e5.Plugin:return t;case e5.Custom:return this.replaceIds(t.data.payload,e,["id","parentId","previousId","nextId"]),t;case e5.IncrementalSnapshot:switch(t.data.source){case e8.Mutation:return t.data.adds.forEach(t=&gt;{this.replaceIds(t,e,["parentId","nextId","previousId"]),this.replaceIdOnNode(t.node,e);let r=this.crossOriginIframeRootIdMap.get(e);r&amp;&amp;this.patchRootIdOnNode(t.node,r)}),t.data.removes.forEach(t=&gt;{this.replaceIds(t,e,["parentId","id"])}),t.data.attributes.forEach(t=&gt;{this.replaceIds(t,e,["id"])}),t.data.texts.forEach(t=&gt;{this.replaceIds(t,e,["id"])}),t;case e8.Drag:case e8.TouchMove:case e8.MouseMove:return t.data.positions.forEach(t=&gt;{this.replaceIds(t,e,["id"])}),t;case e8.ViewportResize:return!1;case e8.MediaInteraction:case e8.MouseInteraction:case e8.Scroll:case e8.CanvasMutation:case e8.Input:return this.replaceIds(t.data,e,["id"]),t;case e8.StyleSheetRule:case e8.StyleDeclaration:return this.replaceIds(t.data,e,["id"]),this.replaceStyleIds(t.data,e,["styleId"]),t;case e8.Font:return t;case e8.Selection:return t.data.ranges.forEach(t=&gt;{this.replaceIds(t,e,["start","end"])}),t;case e8.AdoptedStyleSheet:return this.replaceIds(t.data,e,["id"]),this.replaceStyleIds(t.data,e,["styleIds"]),t.data.styles?.forEach(t=&gt;{this.replaceStyleIds(t,e,["styleId"])}),t}}return!1}replace(e,t,r,n){for(let i of n)(Array.isArray(t[i])||"number"==typeof t[i])&amp;&amp;(Array.isArray(t[i])?t[i]=e.getIds(r,t[i]):t[i]=e.getId(r,t[i]));return t}replaceIds(e,t,r){return this.replace(this.crossOriginIframeMirror,e,t,r)}replaceStyleIds(e,t,r){return this.replace(this.crossOriginIframeStyleMirror,e,t,r)}replaceIdOnNode(e,t){this.replaceIds(e,t,["id","rootId"]),"childNodes"in e&amp;&amp;e.childNodes.forEach(e=&gt;{this.replaceIdOnNode(e,t)})}patchRootIdOnNode(e,t){e.type===X.Document||e.rootId||(e.rootId=t),"childNodes"in e&amp;&amp;e.childNodes.forEach(e=&gt;{this.patchRootIdOnNode(e,t)})}}class tb{init(){}addShadowRoot(){}observeAttachShadow(){}reset(){}}class tk{constructor(e){this.shadowDoms=new WeakSet,this.restoreHandlers=[],this.mutationCb=e.mutationCb,this.scrollCb=e.scrollCb,this.bypassOptions=e.bypassOptions,this.mirror=e.mirror,this.init()}init(){this.reset(),this.patchAttachShadow(Element,document)}addShadowRoot(e,t){if(!Q(e)||this.shadowDoms.has(e))return;this.shadowDoms.add(e),this.bypassOptions.canvasManager.addShadowRoot(e);let r=tc({...this.bypassOptions,doc:t,mutationCb:this.mutationCb,mirror:this.mirror,shadowDomManager:this},e);this.restoreHandlers.push(()=&gt;r.disconnect()),this.restoreHandlers.push(tu({...this.bypassOptions,scrollCb:this.scrollCb,doc:e,mirror:this.mirror})),e3(()=&gt;{e.adoptedStyleSheets&amp;&amp;e.adoptedStyleSheets.length&gt;0&amp;&amp;this.bypassOptions.stylesheetManager.adoptStyleSheets(e.adoptedStyleSheets,this.mirror.getId(e.host)),this.restoreHandlers.push(tm({mirror:this.mirror,stylesheetManager:this.bypassOptions.stylesheetManager},e))},0)}observeAttachShadow(e){let t=e9(e),r=function(e){try{return e.contentWindow}catch(e){}}(e);t&amp;&amp;r&amp;&amp;this.patchAttachShadow(r.Element,t)}patchAttachShadow(e,t){let r=this;this.restoreHandlers.push(eW(e.prototype,"attachShadow",function(e){return function(n){let i=e.call(this,n);return this.shadowRoot&amp;&amp;e0(this)&amp;&amp;r.addShadowRoot(this.shadowRoot,t),i}}))}reset(){this.restoreHandlers.forEach(e=&gt;{try{e()}catch(e){}}),this.restoreHandlers=[],this.shadowDoms=new WeakSet,this.bypassOptions.canvasManager.resetShadowRoots()}}for(var tE="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",tM="undefined"==typeof Uint8Array?[]:new Uint8Array(256),tI=0;tI&lt;tE.length;tI++)tM[tE.charCodeAt(tI)]=tI;class tC{reset(){}freeze(){}unfreeze(){}lock(){}unlock(){}snapshot(){}addWindow(){}addShadowRoot(){}resetShadowRoots(){}}class tR{constructor(e){this.trackedLinkElements=new WeakSet,this.styleMirror=new eQ,this.mutationCb=e.mutationCb,this.adoptedStyleSheetCb=e.adoptedStyleSheetCb}attachLinkElement(e,t){"_cssText"in t.attributes&amp;&amp;this.mutationCb({adds:[],removes:[],texts:[],attributes:[{id:t.id,attributes:t.attributes}]}),this.trackLinkElement(e)}trackLinkElement(e){this.trackedLinkElements.has(e)||(this.trackedLinkElements.add(e),this.trackStylesheetInLinkElement(e))}adoptStyleSheets(e,t){if(0===e.length)return;let r={id:t,styleIds:[]},n=[];for(let t of e){let e;this.styleMirror.has(t)?e=this.styleMirror.getId(t):(e=this.styleMirror.add(t),n.push({styleId:e,rules:Array.from(t.rules||CSSRule,(e,t)=&gt;({rule:ee(e),index:t}))})),r.styleIds.push(e)}n.length&gt;0&amp;&amp;(r.styles=n),this.adoptedStyleSheetCb(r)}reset(){this.styleMirror.reset(),this.trackedLinkElements=new WeakSet}trackStylesheetInLinkElement(e){}}class tT{constructor(){this.nodeMap=new WeakMap,this.active=!1}inOtherBuffer(e,t){let r=this.nodeMap.get(e);return r&amp;&amp;Array.from(r).some(e=&gt;e!==t)}add(e,t){this.active||(this.active=!0,function(...e){e2("requestAnimationFrame")(...e)}(()=&gt;{this.nodeMap=new WeakMap,this.active=!1})),this.nodeMap.set(e,(this.nodeMap.get(e)||new Set).add(t))}destroy(){}}try{if(2!==Array.from([1],e=&gt;2*e)[0]){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)}let tx=new et;function tD(e={}){let t;let{emit:r,checkoutEveryNms:n,checkoutEveryNth:i,blockClass:l="rr-block",blockSelector:c=null,unblockSelector:u=null,ignoreClass:d="rr-ignore",ignoreSelector:h=null,maskAllText:p=!1,maskTextClass:f="rr-mask",unmaskTextClass:m=null,maskTextSelector:y=null,unmaskTextSelector:g=null,inlineStylesheet:S=!0,maskAllInputs:v,maskInputOptions:_,slimDOMOptions:w,maskAttributeFn:b,maskInputFn:k,maskTextFn:E,maxCanvasSize:M=null,packFn:I,sampling:C={},dataURLOptions:R={},mousemoveWait:T,recordDOM:x=!0,recordCanvas:D=!1,recordCrossOriginIframes:O=!1,recordAfter:A="DOMContentLoaded"===e.recordAfter?e.recordAfter:"load",userTriggeredOnInput:N=!1,collectFonts:L=!1,inlineImages:P=!1,plugins:F,keepIframeSrcFn:U=()=&gt;!1,ignoreCSSAttributes:B=new Set([]),errorHandler:W,onMutation:z,getCanvasManager:j}=e;s=W;let H=!O||window.parent===window,$=!1;if(!H)try{window.parent.document&amp;&amp;($=!1)}catch(e){$=!0}if(H&amp;&amp;!r)throw Error("emit function is required");if(!H&amp;&amp;!$)return()=&gt;{};void 0!==T&amp;&amp;void 0===C.mousemove&amp;&amp;(C.mousemove=T),tx.reset();let q=!0===v?{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}:void 0!==_?_:{},V=!0===w||"all"===w?{script:!0,comment:!0,headFavicon:!0,headWhitespace:!0,headMetaSocial:!0,headMetaRobots:!0,headMetaHttpEquiv:!0,headMetaVerification:!0,headMetaAuthorship:"all"===w,headMetaDescKeywords:"all"===w}:w||{};!function(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=(...e)=&gt;{let t=e[0];if(!(0 in e))throw TypeError("1 argument is required");do if(this===t)return!0;while(t=t&amp;&amp;t.parentNode);return!1})}();let K=0,J=e=&gt;{for(let t of F||[])t.eventProcessor&amp;&amp;(e=t.eventProcessor(e));return I&amp;&amp;!$&amp;&amp;(e=I(e)),e};o=(e,s)=&gt;{if(e.timestamp=ez(),ta[0]?.isFrozen()&amp;&amp;e.type!==e5.FullSnapshot&amp;&amp;!(e.type===e5.IncrementalSnapshot&amp;&amp;e.data.source===e8.Mutation)&amp;&amp;ta.forEach(e=&gt;e.unfreeze()),H)r?.(J(e),s);else if($){let t={type:"rrweb",event:J(e),origin:window.location.origin,isCheckout:s};window.parent.postMessage(t,"*")}if(e.type===e5.FullSnapshot)t=e,K=0;else if(e.type===e5.IncrementalSnapshot){if(e.data.source===e8.Mutation&amp;&amp;e.data.isAttachIframe)return;K++;let r=i&amp;&amp;K&gt;=i,s=n&amp;&amp;t&amp;&amp;e.timestamp-t.timestamp&gt;n;(r||s)&amp;&amp;ei(!0)}};let G=e=&gt;{o({type:e5.IncrementalSnapshot,data:{source:e8.Mutation,...e}})},X=e=&gt;o({type:e5.IncrementalSnapshot,data:{source:e8.Scroll,...e}}),Y=e=&gt;o({type:e5.IncrementalSnapshot,data:{source:e8.CanvasMutation,...e}}),Q=new tR({mutationCb:G,adoptedStyleSheetCb:e=&gt;o({type:e5.IncrementalSnapshot,data:{source:e8.AdoptedStyleSheet,...e}})}),Z="boolean"==typeof __RRWEB_EXCLUDE_IFRAME__&amp;&amp;__RRWEB_EXCLUDE_IFRAME__?new t_:new tw({mirror:tx,mutationCb:G,stylesheetManager:Q,recordCrossOriginIframes:O,wrappedEmit:o});for(let e of F||[])e.getMirror&amp;&amp;e.getMirror({nodeMirror:tx,crossOriginIframeMirror:Z.crossOriginIframeMirror,crossOriginIframeStyleMirror:Z.crossOriginIframeStyleMirror});let ee=new tT,er=function(e,t){try{return e?e(t):new tC}catch{return console.warn("Unable to initialize CanvasManager"),new tC}}(j,{mirror:tx,win:window,mutationCb:e=&gt;o({type:e5.IncrementalSnapshot,data:{source:e8.CanvasMutation,...e}}),recordCanvas:D,blockClass:l,blockSelector:c,unblockSelector:u,maxCanvasSize:M,sampling:C.canvas,dataURLOptions:R,errorHandler:W}),en="boolean"==typeof __RRWEB_EXCLUDE_SHADOW_DOM__&amp;&amp;__RRWEB_EXCLUDE_SHADOW_DOM__?new tb:new tk({mutationCb:G,scrollCb:X,bypassOptions:{onMutation:z,blockClass:l,blockSelector:c,unblockSelector:u,maskAllText:p,maskTextClass:f,unmaskTextClass:m,maskTextSelector:y,unmaskTextSelector:g,inlineStylesheet:S,maskInputOptions:q,dataURLOptions:R,maskAttributeFn:b,maskTextFn:E,maskInputFn:k,recordCanvas:D,inlineImages:P,sampling:C,slimDOMOptions:V,iframeManager:Z,stylesheetManager:Q,canvasManager:er,keepIframeSrcFn:U,processedNodeManager:ee},mirror:tx}),ei=(e=!1)=&gt;{if(!x)return;o({type:e5.Meta,data:{href:window.location.href,width:e$(),height:eH()}},e),Q.reset(),en.init(),ta.forEach(e=&gt;e.lock());let t=function(e,t){let{mirror:r=new et,blockClass:n="rr-block",blockSelector:i=null,unblockSelector:s=null,maskAllText:o=!1,maskTextClass:a="rr-mask",unmaskTextClass:l=null,maskTextSelector:c=null,unmaskTextSelector:u=null,inlineStylesheet:d=!0,inlineImages:h=!1,recordCanvas:p=!1,maskAllInputs:f=!1,maskAttributeFn:m,maskTextFn:y,maskInputFn:g,slimDOM:S=!1,dataURLOptions:v,preserveWhiteSpace:_,onSerialize:w,onIframeLoad:b,iframeLoadTimeout:k,onStylesheetLoad:E,stylesheetLoadTimeout:M,keepIframeSrcFn:I=()=&gt;!1}=t||{};return eL(e,{doc:e,mirror:r,blockClass:n,blockSelector:i,unblockSelector:s,maskAllText:o,maskTextClass:a,unmaskTextClass:l,maskTextSelector:c,unmaskTextSelector:u,skipChild:!1,inlineStylesheet:d,maskInputOptions:!0===f?{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}:!1===f?{}:f,maskAttributeFn:m,maskTextFn:y,maskInputFn:g,slimDOMOptions:!0===S||"all"===S?{script:!0,comment:!0,headFavicon:!0,headWhitespace:!0,headMetaDescKeywords:"all"===S,headMetaSocial:!0,headMetaRobots:!0,headMetaHttpEquiv:!0,headMetaAuthorship:!0,headMetaVerification:!0}:!1===S?{}:S,dataURLOptions:v,inlineImages:h,recordCanvas:p,preserveWhiteSpace:_,onSerialize:w,onIframeLoad:b,iframeLoadTimeout:k,onStylesheetLoad:E,stylesheetLoadTimeout:M,keepIframeSrcFn:I,newlyAddedElement:!1})}(document,{mirror:tx,blockClass:l,blockSelector:c,unblockSelector:u,maskAllText:p,maskTextClass:f,unmaskTextClass:m,maskTextSelector:y,unmaskTextSelector:g,inlineStylesheet:S,maskAllInputs:q,maskAttributeFn:b,maskInputFn:k,maskTextFn:E,slimDOM:V,dataURLOptions:R,recordCanvas:D,inlineImages:P,onSerialize:e=&gt;{eG(e,tx)&amp;&amp;Z.addIframe(e),eX(e,tx)&amp;&amp;Q.trackLinkElement(e),eY(e)&amp;&amp;en.addShadowRoot(e.shadowRoot,document)},onIframeLoad:(e,t)=&gt;{Z.attachIframe(e,t),e.contentWindow&amp;&amp;er.addWindow(e.contentWindow),en.observeAttachShadow(e)},onStylesheetLoad:(e,t)=&gt;{Q.attachLinkElement(e,t)},keepIframeSrcFn:U});if(!t)return console.warn("Failed to snapshot the document");o({type:e5.FullSnapshot,data:{node:t,initialOffset:ej(window)}}),ta.forEach(e=&gt;e.unlock()),document.adoptedStyleSheets&amp;&amp;document.adoptedStyleSheets.length&gt;0&amp;&amp;Q.adoptStyleSheets(document.adoptedStyleSheets,tx.getId(document))};a=ei;try{let e=[],t=e=&gt;to(ty)({onMutation:z,mutationCb:G,mousemoveCb:(e,t)=&gt;o({type:e5.IncrementalSnapshot,data:{source:t,positions:e}}),mouseInteractionCb:e=&gt;o({type:e5.IncrementalSnapshot,data:{source:e8.MouseInteraction,...e}}),scrollCb:X,viewportResizeCb:e=&gt;o({type:e5.IncrementalSnapshot,data:{source:e8.ViewportResize,...e}}),inputCb:e=&gt;o({type:e5.IncrementalSnapshot,data:{source:e8.Input,...e}}),mediaInteractionCb:e=&gt;o({type:e5.IncrementalSnapshot,data:{source:e8.MediaInteraction,...e}}),styleSheetRuleCb:e=&gt;o({type:e5.IncrementalSnapshot,data:{source:e8.StyleSheetRule,...e}}),styleDeclarationCb:e=&gt;o({type:e5.IncrementalSnapshot,data:{source:e8.StyleDeclaration,...e}}),canvasMutationCb:Y,fontCb:e=&gt;o({type:e5.IncrementalSnapshot,data:{source:e8.Font,...e}}),selectionCb:e=&gt;{o({type:e5.IncrementalSnapshot,data:{source:e8.Selection,...e}})},customElementCb:e=&gt;{o({type:e5.IncrementalSnapshot,data:{source:e8.CustomElement,...e}})},blockClass:l,ignoreClass:d,ignoreSelector:h,maskAllText:p,maskTextClass:f,unmaskTextClass:m,maskTextSelector:y,unmaskTextSelector:g,maskInputOptions:q,inlineStylesheet:S,sampling:C,recordDOM:x,recordCanvas:D,inlineImages:P,userTriggeredOnInput:N,collectFonts:L,doc:e,maskAttributeFn:b,maskInputFn:k,maskTextFn:E,keepIframeSrcFn:U,blockSelector:c,unblockSelector:u,slimDOMOptions:V,dataURLOptions:R,mirror:tx,iframeManager:Z,stylesheetManager:Q,shadowDomManager:en,processedNodeManager:ee,canvasManager:er,ignoreCSSAttributes:B,plugins:F?.filter(e=&gt;e.observer)?.map(e=&gt;({observer:e.observer,options:e.options,callback:t=&gt;o({type:e5.Plugin,data:{plugin:e.name,payload:t}})}))||[]},{});Z.addLoadListener(r=&gt;{try{e.push(t(r.contentDocument))}catch(e){console.warn(e)}});let r=()=&gt;{ei(),e.push(t(document))};return"interactive"===document.readyState||"complete"===document.readyState?r():(e.push(eP("DOMContentLoaded",()=&gt;{o({type:e5.DomContentLoaded,data:{}}),"DOMContentLoaded"===A&amp;&amp;r()})),e.push(eP("load",()=&gt;{o({type:e5.Load,data:{}}),"load"===A&amp;&amp;r()},window))),()=&gt;{e.forEach(e=&gt;e()),ee.destroy(),a=void 0,s=void 0}}catch(e){console.warn(e)}}function tO(e){return e&gt;9999999999?e:1e3*e}function tA(e){return e&gt;9999999999?e/1e3:e}function tN(e,t){"sentry.transaction"!==t.category&amp;&amp;(["ui.click","ui.input"].includes(t.category)?e.triggerUserActivity():e.checkAndHandleExpiredSession(),e.addUpdate(()=&gt;(e.throttledAddEvent({type:e5.Custom,timestamp:1e3*(t.timestamp||0),data:{tag:"breadcrumb",payload:(0,v.Fv)(t,10,1e3)}}),"console"===t.category)))}function tL(e){return e.closest("button,a")||e}function tP(e){let t=tF(e);return t&amp;&amp;t instanceof Element?tL(t):t}function tF(e){return"object"==typeof e&amp;&amp;e&amp;&amp;"target"in e?e.target:e}tD.mirror=tx,tD.takeFullSnapshot=function(e){if(!a)throw Error("please take full snapshot after start recording");a(e)},(m=g||(g={}))[m.NotStarted=0]="NotStarted",m[m.Running=1]="Running",m[m.Stopped=2]="Stopped";let tU=new Set([e8.Mutation,e8.StyleSheetRule,e8.StyleDeclaration,e8.AdoptedStyleSheet,e8.CanvasMutation,e8.Selection,e8.MediaInteraction]);class tB{constructor(e,t,r=tN){this._lastMutation=0,this._lastScroll=0,this._clicks=[],this._timeout=t.timeout/1e3,this._threshold=t.threshold/1e3,this._scrollTimeout=t.scrollTimeout/1e3,this._replay=e,this._ignoreSelector=t.ignoreSelector,this._addBreadcrumbEvent=r}addListeners(){var e;let t=(e=()=&gt;{this._lastMutation=tz()},l||(l=[],(0,_.hl)($,"open",function(e){return function(...t){if(l)try{l.forEach(e=&gt;e())}catch(e){}return e.apply($,t)}})),l.push(e),()=&gt;{let t=l?l.indexOf(e):-1;t&gt;-1&amp;&amp;l.splice(t,1)});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(e,t){var r;if(r=this._ignoreSelector,!tW.includes(t.tagName)||"INPUT"===t.tagName&amp;&amp;!["submit","button"].includes(t.getAttribute("type")||"")||"A"===t.tagName&amp;&amp;(t.hasAttribute("download")||t.hasAttribute("target")&amp;&amp;"_self"!==t.getAttribute("target"))||r&amp;&amp;t.matches(r)||!(e.data&amp;&amp;"number"==typeof e.data.nodeId&amp;&amp;e.timestamp))return;let n={timestamp:tA(e.timestamp),clickBreadcrumb:e,clickCount:0,node:t};this._clicks.some(e=&gt;e.node===n.node&amp;&amp;1&gt;Math.abs(e.timestamp-n.timestamp))||(this._clicks.push(n),1===this._clicks.length&amp;&amp;this._scheduleCheckClicks())}registerMutation(e=Date.now()){this._lastMutation=tA(e)}registerScroll(e=Date.now()){this._lastScroll=tA(e)}registerClick(e){let t=tL(e);this._handleMultiClick(t)}_handleMultiClick(e){this._getClicks(e).forEach(e=&gt;{e.clickCount++})}_getClicks(e){return this._clicks.filter(t=&gt;t.node===e)}_checkClicks(){let e=[],t=tz();for(let r of(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;=t&amp;&amp;e.push(r)}),e)){let e=this._clicks.indexOf(r);e&gt;-1&amp;&amp;(this._generateBreadcrumbs(r),this._clicks.splice(e,1))}this._clicks.length&amp;&amp;this._scheduleCheckClicks()}_generateBreadcrumbs(e){let t=this._replay,r=e.scrollAfter&amp;&amp;e.scrollAfter&lt;=this._scrollTimeout,n=e.mutationAfter&amp;&amp;e.mutationAfter&lt;=this._threshold,{clickCount:i,clickBreadcrumb:s}=e;if(!r&amp;&amp;!n){let r=1e3*Math.min(e.mutationAfter||this._timeout,this._timeout),n=r&lt;1e3*this._timeout?"mutation":"timeout",o={type:"default",message:s.message,timestamp:s.timestamp,category:"ui.slowClickDetected",data:{...s.data,url:$.location.href,route:t.getCurrentRoute(),timeAfterClickMs:r,endReason:n,clickCount:i||1}};this._addBreadcrumbEvent(t,o);return}if(i&gt;1){let e={type:"default",message:s.message,timestamp:s.timestamp,category:"ui.multiClick",data:{...s.data,url:$.location.href,route:t.getCurrentRoute(),clickCount:i,metric:!0}};this._addBreadcrumbEvent(t,e)}}_scheduleCheckClicks(){this._checkClickTimeout&amp;&amp;clearTimeout(this._checkClickTimeout),this._checkClickTimeout=(0,U.iK)(()=&gt;this._checkClicks(),1e3)}}let tW=["A","BUTTON","INPUT"];function tz(){return Date.now()/1e3}function tj(e){return{timestamp:Date.now()/1e3,type:"default",...e}}var tH=((y=tH||{})[y.Document=0]="Document",y[y.DocumentType=1]="DocumentType",y[y.Element=2]="Element",y[y.Text=3]="Text",y[y.CDATA=4]="CDATA",y[y.Comment=5]="Comment",y);let t$=new Set(["id","class","aria-label","role","name","alt","title","data-test-id","data-testid","disabled","aria-disabled","data-sentry-component"]),tq=e=&gt;t=&gt;{if(!e.isEnabled())return;let r=function(e){let{target:t,message:r}=function(e){let t;let r="click"===e.name,n=null;try{n=r?tP(e.event):tF(e.event),t=(0,w.Rt)(n,{maxStringLength:200})||"&lt;unknown&gt;"}catch(e){t="&lt;unknown&gt;"}return{target:n,message:t}}(e);return tj({category:`ui.${e.name}`,...tV(t,r)})}(t);if(!r)return;let n="click"===t.name,i=n?t.event:void 0;n&amp;&amp;e.clickDetector&amp;&amp;i&amp;&amp;i.target&amp;&amp;!i.altKey&amp;&amp;!i.metaKey&amp;&amp;!i.ctrlKey&amp;&amp;!i.shiftKey&amp;&amp;function(e,t,r){e.handleClick(t,r)}(e.clickDetector,r,tP(t.event)),tN(e,r)};function tV(e,t){let r=tD.mirror.getId(e),n=r&amp;&amp;tD.mirror.getNode(r),i=n&amp;&amp;tD.mirror.getMeta(n),s=i&amp;&amp;i.type===tH.Element?i:null;return{message:t,data:s?{nodeId:r,node:{id:r,tagName:s.tagName,textContent:Array.from(s.childNodes).map(e=&gt;e.type===tH.Text&amp;&amp;e.textContent).filter(Boolean).map(e=&gt;e.trim()).join(""),attributes:function(e){let t={};for(let r in!e["data-sentry-component"]&amp;&amp;e["data-sentry-element"]&amp;&amp;(e["data-sentry-component"]=e["data-sentry-element"]),e)if(t$.has(r)){let n=r;("data-testid"===r||"data-test-id"===r)&amp;&amp;(n="testId"),t[n]=e[r]}return t}(s.attributes)}}:{}}}let tK={resource:function(e){let{entryType:t,initiatorType:r,name:n,responseEnd:i,startTime:s,decodedBodySize:o,encodedBodySize:a,responseStatus:l,transferSize:c}=e;return["fetch","xmlhttprequest"].includes(r)?null:{type:`${t}.${r}`,start:tX(s),end:tX(i),name:n,data:{size:c,statusCode:l,decodedBodySize:o,encodedBodySize:a}}},paint:function(e){let{duration:t,entryType:r,name:n,startTime:i}=e,s=tX(i);return{type:r,name:n,start:s,end:s+t,data:void 0}},navigation:function(e){let{entryType:t,name:r,decodedBodySize:n,duration:i,domComplete:s,encodedBodySize:o,domContentLoadedEventStart:a,domContentLoadedEventEnd:l,domInteractive:c,loadEventStart:u,loadEventEnd:d,redirectCount:h,startTime:p,transferSize:f,type:m}=e;return 0===i?null:{type:`${t}.${m}`,start:tX(p),end:tX(s),name:r,data:{size:f,decodedBodySize:n,encodedBodySize:o,duration:i,domInteractive:c,domContentLoadedEventStart:a,domContentLoadedEventEnd:l,loadEventStart:u,loadEventEnd:d,domComplete:s,redirectCount:h}}}};function tJ(e,t){return({metric:r})=&gt;void t.replayPerformanceEntries.push(e(r))}function tG(e){let t=tK[e.entryType];return t?t(e):null}function tX(e){return(((0,b.Z1)()||$.performance.timeOrigin)+e)/1e3}function tY(e){let t=e.entries[e.entries.length-1];return t1(e,"largest-contentful-paint",t?.element?[t.element]:void 0)}function tQ(e){let t=[],r=[];for(let n of e.entries)if(void 0!==n.sources){let e=[];for(let t of n.sources)if(t.node){r.push(t.node);let n=tD.mirror.getId(t.node);n&amp;&amp;e.push(n)}t.push({value:n.value,nodeIds:e.length?e:void 0})}return t1(e,"cumulative-layout-shift",r,t)}function tZ(e){let t=e.entries[e.entries.length-1];return t1(e,"first-input-delay",t?.target?[t.target]:void 0)}function t0(e){let t=e.entries[e.entries.length-1];return t1(e,"interaction-to-next-paint",t?.target?[t.target]:void 0)}function t1(e,t,r,n){let i=e.value,s=e.rating,o=tX(i);return{type:"web-vital",name:t,start:o,end:o,data:{value:i,size:i,rating:s,nodeIds:r?r.map(e=&gt;tD.mirror.getId(e)):void 0,attributions:n}}}let t2=["info","warn","error","log"],t3=function(){let e={exception:()=&gt;void 0,infoTick:()=&gt;void 0,setConfig:e=&gt;{e.captureExceptions,e.traceInternals}};return t2.forEach(t=&gt;{e[t]=()=&gt;void 0}),e}();class t5 extends Error{constructor(){super("Event buffer exceeded maximum size of 20000000.")}}class t8{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(e){let t=JSON.stringify(e).length;if(this._totalSize+=t,this._totalSize&gt;2e7)throw new t5;this.events.push(e)}finish(){return new Promise(e=&gt;{let t=this.events;this.clear(),e(JSON.stringify(t))})}clear(){this.events=[],this._totalSize=0,this.hasCheckout=!1}getEarliestTimestamp(){let e=this.events.map(e=&gt;e.timestamp).sort()[0];return e?tO(e):null}}class t6{constructor(e){this._worker=e,this._id=0}ensureReady(){return this._ensureReadyPromise||(this._ensureReadyPromise=new Promise((e,t)=&gt;{this._worker.addEventListener("message",({data:r})=&gt;{r.success?e():t()},{once:!0}),this._worker.addEventListener("error",e=&gt;{t(e)},{once:!0})})),this._ensureReadyPromise}destroy(){this._worker.terminate()}postMessage(e,t){let r=this._getAndIncrementId();return new Promise((n,i)=&gt;{let s=({data:t})=&gt;{if(t.method===e&amp;&amp;t.id===r){if(this._worker.removeEventListener("message",s),!t.success){i(Error("Error in compression worker"));return}n(t.response)}};this._worker.addEventListener("message",s),this._worker.postMessage({id:r,method:e,arg:t})})}_getAndIncrementId(){return this._id++}}class t4{constructor(e){this._worker=new t6(e),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(e){let t=tO(e.timestamp);(!this._earliestTimestamp||t&lt;this._earliestTimestamp)&amp;&amp;(this._earliestTimestamp=t);let r=JSON.stringify(e);return(this._totalSize+=r.length,this._totalSize&gt;2e7)?Promise.reject(new t5):this._sendEventToWorker(r)}finish(){return this._finishRequest()}clear(){this._earliestTimestamp=null,this._totalSize=0,this.hasCheckout=!1,this._worker.postMessage("clear").then(null,e=&gt;{})}getEarliestTimestamp(){return this._earliestTimestamp}_sendEventToWorker(e){return this._worker.postMessage("addEvent",e)}async _finishRequest(){let e=await this._worker.postMessage("finish");return this._earliestTimestamp=null,this._totalSize=0,e}}class t7{constructor(e){this._fallback=new t8,this._compression=new t4(e),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(e){this._used.hasCheckout=e}set waitForCheckout(e){this._used.waitForCheckout=e}destroy(){this._fallback.destroy(),this._compression.destroy()}clear(){return this._used.clear()}getEarliestTimestamp(){return this._used.getEarliestTimestamp()}addEvent(e){return this._used.addEvent(e)}async finish(){return await this.ensureWorkerIsLoaded(),this._used.finish()}ensureWorkerIsLoaded(){return this._ensureWorkerIsLoadedPromise}async _ensureWorkerIsLoaded(){try{await this._compression.ensureReady()}catch(e){return}await this._switchToCompressionWorker()}async _switchToCompressionWorker(){let{events:e,hasCheckout:t,waitForCheckout:r}=this._fallback,n=[];for(let t of e)n.push(this._compression.addEvent(t));this._compression.hasCheckout=t,this._compression.waitForCheckout=r,this._used=this._compression;try{await Promise.all(n),this._fallback.clear()}catch(e){}}}function t9(){try{return"sessionStorage"in $&amp;&amp;!!$.sessionStorage}catch{return!1}}function re(e){return void 0!==e&amp;&amp;Math.random()&lt;e}function rt(e){let t=Date.now(),r=e.id||(0,M.DM)(),n=e.started||t,i=e.lastActivity||t;return{id:r,started:n,lastActivity:i,segmentId:e.segmentId||0,sampled:e.sampled,previousSessionId:e.previousSessionId}}function rr(e){if(t9())try{$.sessionStorage.setItem(q,JSON.stringify(e))}catch{}}function rn({sessionSampleRate:e,allowBuffering:t,stickySession:r=!1},{previousSessionId:n}={}){let i=rt({sampled:re(e)?"session":!!t&amp;&amp;"buffer",previousSessionId:n});return r&amp;&amp;rr(i),i}function ri(e,t,r=+new Date){return null===e||void 0===t||t&lt;0||0!==t&amp;&amp;e+t&lt;=r}function rs(e,{maxReplayDuration:t,sessionIdleExpire:r,targetTime:n=Date.now()}){return ri(e.started,t,n)||ri(e.lastActivity,r,n)}function ro(e,{sessionIdleExpire:t,maxReplayDuration:r}){return!!rs(e,{sessionIdleExpire:t,maxReplayDuration:r})&amp;&amp;("buffer"!==e.sampled||0!==e.segmentId)}function ra({sessionIdleExpire:e,maxReplayDuration:t,previousSessionId:r},n){let i=n.stickySession&amp;&amp;function(){if(!t9())return null;try{let e=$.sessionStorage.getItem(q);if(!e)return null;let t=JSON.parse(e);return rt(t)}catch{return null}}();return i?ro(i,{sessionIdleExpire:e,maxReplayDuration:t})?rn(n,{previousSessionId:i.id}):i:rn(n,{previousSessionId:r})}function rl(e,t,r){return!!ru(e,t)&amp;&amp;(rc(e,t,r),!0)}async function rc(e,t,r){let{eventBuffer:n}=e;if(!n||n.waitForCheckout&amp;&amp;!r)return null;let i="buffer"===e.recordingMode;try{r&amp;&amp;i&amp;&amp;n.clear(),r&amp;&amp;(n.hasCheckout=!0,n.waitForCheckout=!1);let s=e.getOptions(),o=function(e,t){try{if("function"==typeof t&amp;&amp;e.type===e5.Custom)return t(e)}catch(e){return null}return e}(t,s.beforeAddRecordingEvent);if(!o)return;return await n.addEvent(o)}catch(s){let t=s&amp;&amp;s instanceof t5;if(t&amp;&amp;i)return n.clear(),n.waitForCheckout=!0,null;e.handleException(s),await e.stop({reason:t?"addEventSizeExceeded":"addEvent"});let r=(0,I.s3)();r&amp;&amp;r.recordDroppedEvent("internal_sdk_error","replay")}}function ru(e,t){if(!e.eventBuffer||e.isPaused()||!e.isEnabled())return!1;let r=tO(t.timestamp);return!(r+e.timeouts.sessionIdlePause&lt;Date.now())&amp;&amp;!(r&gt;e.getContext().initialTimestamp+e.getOptions().maxReplayDuration)}function rd(e){return"transaction"===e.type}function rh(e){return"feedback"===e.type}function rp(e){return!!e.category}function rf(){let e=(0,I.nZ)().getPropagationContext().dsc;e&amp;&amp;delete e.replay_id;let t=(0,C.HN)();if(t){let e=(0,R.jC)(t);delete e.replay_id}}function rm(e,t){return t.map(({type:t,start:r,end:n,name:i,data:s})=&gt;{let o=e.throttledAddEvent({type:e5.Custom,timestamp:r,data:{tag:"performanceSpan",payload:{op:t,description:i,startTimestamp:r,endTimestamp:n,data:s}}});return"string"==typeof o?Promise.resolve(null):o})}function ry(e,t){var r;e.isEnabled()&amp;&amp;null!==t&amp;&amp;(r=t.name,(0,T.W)(r,(0,I.s3)())||e.addUpdate(()=&gt;(rm(e,[t]),!0)))}function rg(e){if(!e)return;let t=new TextEncoder;try{if("string"==typeof e)return t.encode(e).length;if(e instanceof URLSearchParams)return t.encode(e.toString()).length;if(e instanceof FormData){let r=(0,W.UL)(e);return t.encode(r).length}if(e instanceof Blob)return e.size;if(e instanceof ArrayBuffer)return e.byteLength}catch{}}function rS(e){if(!e)return;let t=parseInt(e,10);return isNaN(t)?void 0:t}function rv(e,t){if(!e)return{headers:{},size:void 0,_meta:{warnings:[t]}};let r={...e._meta},n=r.warnings||[];return r.warnings=[...n,t],e._meta=r,e}function r_(e,t){if(!t)return null;let{startTimestamp:r,endTimestamp:n,url:i,method:s,statusCode:o,request:a,response:l}=t;return{type:e,start:r/1e3,end:n/1e3,name:i,data:{method:s,statusCode:o,request:a,response:l}}}function rw(e){return{headers:{},size:e,_meta:{warnings:["URL_SKIPPED"]}}}function rb(e,t,r){if(!t&amp;&amp;0===Object.keys(e).length)return;if(!t)return{headers:e};if(!r)return{headers:e,size:t};let n={headers:e,size:t},{body:i,warnings:s}=function(e){if(!e||"string"!=typeof e)return{body:e};let t=e.length&gt;15e4,r=function(e){let t=e[0],r=e[e.length-1];return"["===t&amp;&amp;"]"===r||"{"===t&amp;&amp;"}"===r}(e);if(t){let t=e.slice(0,15e4);return r?{body:t,warnings:["MAYBE_JSON_TRUNCATED"]}:{body:`${t}…`,warnings:["TEXT_TRUNCATED"]}}if(r)try{return{body:JSON.parse(e)}}catch{}return{body:e}}(r);return n.body=i,s?.length&amp;&amp;(n._meta={warnings:s}),n}function rk(e,t){return Object.entries(e).reduce((r,[n,i])=&gt;{let s=n.toLowerCase();return t.includes(s)&amp;&amp;e[n]&amp;&amp;(r[s]=i),r},{})}function rE(e,t){let r=function(e,t=$.document.baseURI){if(e.startsWith("http://")||e.startsWith("https://")||e.startsWith($.location.origin))return e;let r=new URL(e,t);if(r.origin!==new URL(t).origin)return e;let n=r.href;return!e.endsWith("/")&amp;&amp;n.endsWith("/")?n.slice(0,-1):n}(e);return(0,x.U0)(r,t)}async function rM(e,t,r){try{let n=await rI(e,t,r),i=r_("resource.fetch",n);ry(r.replay,i)}catch(e){}}async function rI(e,t,r){let n=Date.now(),{startTimestamp:i=n,endTimestamp:s=n}=t,{url:o,method:a,status_code:l=0,request_body_size:c,response_body_size:u}=e.data,d=rE(o,r.networkDetailAllowUrls)&amp;&amp;!rE(o,r.networkDetailDenyUrls);return{startTimestamp:i,endTimestamp:s,url:o,method:a,statusCode:l,request:d?function({networkCaptureBodies:e,networkRequestHeaders:t},r,n){let i=r?1===r.length&amp;&amp;"string"!=typeof r[0]?rx(r[0],t):2===r.length?rx(r[1],t):{}:{};if(!e)return rb(i,n,void 0);let s=(0,W.dn)(r),[o,a]=(0,W.SI)(s,t3),l=rb(i,n,o);return a?rv(l,a):l}(r,t.input,c):rw(c),response:await rC(d,r,t.response,u)}}async function rC(e,{networkCaptureBodies:t,networkResponseHeaders:r},n,i){if(!e&amp;&amp;void 0!==i)return rw(i);let s=n?rT(n.headers,r):{};if(!n||!t&amp;&amp;void 0!==i)return rb(s,i,void 0);let[o,a]=await rR(n),l=function(e,{networkCaptureBodies:t,responseBodySize:r,captureDetails:n,headers:i}){try{let s=e?.length&amp;&amp;void 0===r?rg(e):r;if(!n)return rw(s);if(t)return rb(i,s,e);return rb(i,s,void 0)}catch(e){return rb(i,r,void 0)}}(o,{networkCaptureBodies:t,responseBodySize:i,captureDetails:e,headers:s});return a?rv(l,a):l}async function rR(e){let t=function(e){try{return e.clone()}catch(e){}}(e);if(!t)return[void 0,"BODY_PARSE_ERROR"];try{return[await new Promise((e,r)=&gt;{let n=(0,U.iK)(()=&gt;r(Error("Timeout while trying to read response body")),500);rD(t).then(t=&gt;e(t),e=&gt;r(e)).finally(()=&gt;clearTimeout(n))})]}catch(e){if(e instanceof Error&amp;&amp;e.message.indexOf("Timeout")&gt;-1)return[void 0,"BODY_PARSE_TIMEOUT"];return[void 0,"BODY_PARSE_ERROR"]}}function rT(e,t){let r={};return t.forEach(t=&gt;{e.get(t)&amp;&amp;(r[t]=e.get(t))}),r}function rx(e,t){if(!e)return{};let r=e.headers;return r?r instanceof Headers?rT(r,t):Array.isArray(r)?{}:rk(r,t):{}}async function rD(e){return await e.text()}async function rO(e,t,r){try{let n=function(e,t,r){let n=Date.now(),{startTimestamp:i=n,endTimestamp:s=n,input:o,xhr:a}=t,{url:l,method:c,status_code:u=0,request_body_size:d,response_body_size:h}=e.data;if(!l)return null;if(!a||!rE(l,r.networkDetailAllowUrls)||rE(l,r.networkDetailDenyUrls)){let e=rw(d);return{startTimestamp:i,endTimestamp:s,url:l,method:c,statusCode:u,request:e,response:rw(h)}}let p=a[z.xU],f=p?rk(p.request_headers,r.networkRequestHeaders):{},m=rk(function(e){let t=e.getAllResponseHeaders();return t?t.split("\r\n").reduce((e,t)=&gt;{let[r,n]=t.split(": ");return n&amp;&amp;(e[r.toLowerCase()]=n),e},{}):{}}(a),r.networkResponseHeaders),[y,g]=r.networkCaptureBodies?(0,W.SI)(o,t3):[void 0],[S,v]=r.networkCaptureBodies?function(e){let t=[];try{return[e.responseText]}catch(e){t.push(e)}try{return function(e,t){try{if("string"==typeof e)return[e];if(e instanceof Document)return[e.body.outerHTML];if("json"===t&amp;&amp;e&amp;&amp;"object"==typeof e)return[JSON.stringify(e)];if(!e)return[void 0]}catch(e){return[void 0,"BODY_PARSE_ERROR"]}return[void 0,"UNPARSEABLE_BODY_TYPE"]}(e.response,e.responseType)}catch(e){t.push(e)}return[void 0]}(a):[void 0],_=rb(f,d,y),w=rb(m,h,S);return{startTimestamp:i,endTimestamp:s,url:l,method:c,statusCode:u,request:g?rv(_,g):_,response:v?rv(w,v):w}}(e,t,r),i=r_("resource.xhr",n);ry(r.replay,i)}catch(e){}}async function rA(e){try{return Promise.all(rm(e,[function(e){let{jsHeapSizeLimit:t,totalJSHeapSize:r,usedJSHeapSize:n}=e,i=Date.now()/1e3;return{type:"memory",name:"memory",start:i,end:i,data:{memory:{jsHeapSizeLimit:t,totalJSHeapSize:r,usedJSHeapSize:n}}}}($.performance.memory)]))}catch(e){return[]}}let rN=S.GLOBAL_OBJ.navigator;async function rL({client:e,scope:t,replayId:r,event:n}){let i={event_id:r,integrations:"object"!=typeof e._integrations||null===e._integrations||Array.isArray(e._integrations)?void 0:Object.keys(e._integrations)};e.emit("preprocessEvent",n,i);let s=await (0,O.R)(e.getOptions(),n,i,t,e,(0,I.aF)());if(!s)return null;e.emit("postprocessEvent",s,i),s.platform=s.platform||"javascript";let o=e.getSdkMetadata(),{name:a,version:l}=o?.sdk||{};return s.sdk={...s.sdk,name:a||"sentry.javascript.unknown",version:l||"0.0.0"},s}async function rP({recordingData:e,replayId:t,segmentId:r,eventContext:n,timestamp:i,session:s}){var o;let a;let l=function({recordingData:e,headers:t}){let r;let n=`${JSON.stringify(t)}
`;if("string"==typeof e)r=`${n}${e}`;else{let t=new TextEncoder().encode(n);(r=new Uint8Array(t.length+e.length)).set(t),r.set(e,t.length)}return r}({recordingData:e,headers:{segment_id:r}}),{urls:c,errorIds:u,traceIds:d,initialTimestamp:h}=n,p=(0,I.s3)(),f=(0,I.nZ)(),m=p?.getTransport(),y=p?.getDsn();if(!p||!m||!y||!s.sampled)return(0,A.WD)({});let g={type:"replay_event",replay_start_timestamp:h/1e3,timestamp:i/1e3,error_ids:u,trace_ids:d,urls:c,replay_id:t,segment_id:r,replay_type:s.sampled},S=await rL({scope:f,client:p,replayId:t,event:g});if(!S)return p.recordDroppedEvent("event_processor","replay"),(0,A.WD)({});delete S.sdkProcessingMetadata;let v=(o=p.getOptions().tunnel,(0,D.Jd)((0,D.Cd)(S,(0,D.HY)(S),o,y),[[{type:"replay_event"},S],[{type:"replay_recording",length:"string"==typeof l?new TextEncoder().encode(l).length:l.length},l]]));try{a=await m.send(v)}catch(t){let e=Error(V);try{e.cause=t}catch{}throw e}if("number"==typeof a.statusCode&amp;&amp;(a.statusCode&lt;200||a.statusCode&gt;=300))throw new rF(a.statusCode);let _=(0,N.WG)({},a);if((0,N.Q)(_,"replay"))throw new rU(_);return a}class rF extends Error{constructor(e){super(`Transport returned status code ${e}`)}}class rU extends Error{constructor(e){super("Rate limit hit"),this.rateLimits=e}}async function rB(e,t={count:0,interval:5e3}){let{recordingData:r,onError:n}=e;if(r.length)try{return await rP(e),!0}catch(r){if(r instanceof rF||r instanceof rU)throw r;if((0,E.v)("Replays",{_retryCount:t.count}),n&amp;&amp;n(r),t.count&gt;=3){let e=Error(`${V} - max retries exceeded`);try{e.cause=r}catch{}throw e}return t.interval*=++t.count,new Promise((r,n)=&gt;{(0,U.iK)(async()=&gt;{try{await rB(e,t),r(!0)}catch(e){n(e)}},t.interval)})}}let rW="__THROTTLED";class rz{constructor({options:e,recordingOptions:t}){this.eventBuffer=null,this.performanceEntries=[],this.replayPerformanceEntries=[],this.recordingMode="session",this.timeouts={sessionIdlePause:3e5,sessionIdleExpire:9e5},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=t,this._options=e,this._debouncedFlush=function(e,t,r){let n,i,s;let o=r?.maxWait?Math.max(r.maxWait,t):0;function a(){return l(),n=e()}function l(){void 0!==i&amp;&amp;clearTimeout(i),void 0!==s&amp;&amp;clearTimeout(s),i=s=void 0}function c(){return i&amp;&amp;clearTimeout(i),i=(0,U.iK)(a,t),o&amp;&amp;void 0===s&amp;&amp;(s=(0,U.iK)(a,o)),n}return c.cancel=l,c.flush=function(){return void 0!==i||void 0!==s?a():n},c}(()=&gt;this._flush(),this._options.flushMinDelay,{maxWait:this._options.flushMaxDelay}),this._throttledAddEvent=function(e,t,r){let n=new Map,i=e=&gt;{let t=e-5;n.forEach((e,r)=&gt;{r&lt;t&amp;&amp;n.delete(r)})},s=()=&gt;[...n.values()].reduce((e,t)=&gt;e+t,0),o=!1;return(...t)=&gt;{let r=Math.floor(Date.now()/1e3);if(i(r),s()&gt;=300){let e=o;return o=!0,e?"__SKIPPED":rW}o=!1;let a=n.get(r)||0;return n.set(r,a+1),e(...t)}}((e,t)=&gt;ru(this,e)?rc(this,e,t):Promise.resolve(null),0,0);let{slowClickTimeout:r,slowClickIgnoreSelectors:n}=this.getOptions(),i=r?{threshold:Math.min(3e3,r),timeout:r,scrollTimeout:300,ignoreSelector:n?n.join(","):""}:void 0;i&amp;&amp;(this.clickDetector=new tB(this,i)),this._handleVisibilityChange=()=&gt;{"visible"===$.document.visibilityState?this._doChangeToForegroundTasks():this._doChangeToBackgroundTasks()},this._handleWindowBlur=()=&gt;{let e=tj({category:"ui.blur"});this._doChangeToBackgroundTasks(e)},this._handleWindowFocus=()=&gt;{let e=tj({category:"ui.focus"});this._doChangeToForegroundTasks(e)},this._handleKeyboardEvent=e=&gt;{!function(e,t){if(!e.isEnabled())return;e.updateUserActivity();let r=function(e){var t;let{metaKey:r,shiftKey:n,ctrlKey:i,altKey:s,key:o,target:a}=e;if(!a||"INPUT"===(t=a).tagName||"TEXTAREA"===t.tagName||t.isContentEditable||!o)return null;let l=r||i||s,c=1===o.length;if(!l&amp;&amp;c)return null;let u=(0,w.Rt)(a,{maxStringLength:200})||"&lt;unknown&gt;",d=tV(a,u);return tj({category:"ui.keyDown",message:u,data:{...d.data,metaKey:r,shiftKey:n,ctrlKey:i,altKey:s,key:o}})}(t);r&amp;&amp;tN(e,r)}(this,e)}}getContext(){return this._context}isEnabled(){return this._isEnabled}isPaused(){return this._isPaused}isRecordingCanvas(){return!!this._canvas}getOptions(){return this._options}handleException(e){this._options.onError&amp;&amp;this._options.onError(e)}initializeSampling(e){let{errorSampleRate:t,sessionSampleRate:r}=this._options,n=t&lt;=0&amp;&amp;r&lt;=0;this._requiresManualStart=n,!n&amp;&amp;(this._initializeSessionForSampling(e),this.session)&amp;&amp;!1!==this.session.sampled&amp;&amp;(this.recordingMode="buffer"===this.session.sampled&amp;&amp;0===this.session.segmentId?"buffer":"session",this._initializeRecording())}start(){if(this._isEnabled&amp;&amp;"session"===this.recordingMode||this._isEnabled&amp;&amp;"buffer"===this.recordingMode)return;this._updateUserActivity();let e=ra({maxReplayDuration:this._options.maxReplayDuration,sessionIdleExpire:this.timeouts.sessionIdleExpire},{stickySession:this._options.stickySession,sessionSampleRate:1,allowBuffering:!1});this.session=e,this._initializeRecording()}startBuffering(){if(this._isEnabled)return;let e=ra({sessionIdleExpire:this.timeouts.sessionIdleExpire,maxReplayDuration:this._options.maxReplayDuration},{stickySession:this._options.stickySession,sessionSampleRate:0,allowBuffering:!0});this.session=e,this.recordingMode="buffer",this._initializeRecording()}startRecording(){try{var e;let t;let r=this._canvas;this._stopRecording=tD({...this._recordingOptions,..."buffer"===this.recordingMode?{checkoutEveryNms:6e4}:this._options._experiments.continuousCheckout&amp;&amp;{checkoutEveryNms:Math.max(36e4,this._options._experiments.continuousCheckout)},emit:(e=this,t=!1,(r,n)=&gt;{if(!e.checkAndHandleExpiredSession())return;let i=n||!t;t=!0,e.clickDetector&amp;&amp;function(e,t){try{if(3!==t.type)return;let{source:r}=t.data;if(tU.has(r)&amp;&amp;e.registerMutation(t.timestamp),r===e8.Scroll&amp;&amp;e.registerScroll(t.timestamp),t.data.source===e8.MouseInteraction){let{type:r,id:n}=t.data,i=tD.mirror.getNode(n);i instanceof HTMLElement&amp;&amp;r===e6.Click&amp;&amp;e.registerClick(i)}}catch{}}(e.clickDetector,r),e.addUpdate(()=&gt;{if("buffer"===e.recordingMode&amp;&amp;i&amp;&amp;e.setInitialState(),!rl(e,r,i))return!0;if(!i)return!1;let t=e.session;if(i&amp;&amp;e.session&amp;&amp;0===e.session.segmentId&amp;&amp;rl(e,function(e){let t=e.getOptions();return{type:e5.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&amp;&amp;"worker"===e.eventBuffer.type,networkDetailHasUrls:t.networkDetailAllowUrls.length&gt;0,networkCaptureBodies:t.networkCaptureBodies,networkRequestHasHeaders:t.networkRequestHeaders.length&gt;0,networkResponseHasHeaders:t.networkResponseHeaders.length&gt;0}}}}(e),!1),"buffer"===e.recordingMode&amp;&amp;t&amp;&amp;e.eventBuffer){let r=e.eventBuffer.getEarliestTimestamp();r&amp;&amp;(t.started=r,e.getOptions().stickySession&amp;&amp;rr(t))}return!!t?.previousSessionId||("session"===e.recordingMode&amp;&amp;e.flush(),!0)})}),.../iPhone|iPad|iPod/i.test(rN?.userAgent??"")||/Macintosh/i.test(rN?.userAgent??"")&amp;&amp;rN?.maxTouchPoints&amp;&amp;rN?.maxTouchPoints&gt;1?{sampling:{mousemove:!1}}:{},onMutation:this._onMutationHandler.bind(this),...r?{recordCanvas:r.recordCanvas,getCanvasManager:r.getCanvasManager,sampling:r.sampling,dataURLOptions:r.dataURLOptions}:{}})}catch(e){this.handleException(e)}}stopRecording(){try{return this._stopRecording&amp;&amp;(this._stopRecording(),this._stopRecording=void 0),!0}catch(e){return this.handleException(e),!1}}async stop({forceFlush:e=!1,reason:t}={}){if(this._isEnabled){this._isEnabled=!1;try{rf(),this._removeListeners(),this.stopRecording(),this._debouncedFlush.cancel(),e&amp;&amp;await this._flush({force:!0}),this.eventBuffer?.destroy(),this.eventBuffer=null,function(){if(t9())try{$.sessionStorage.removeItem(q)}catch{}}(),this.session=void 0}catch(e){this.handleException(e)}}}pause(){this._isPaused||(this._isPaused=!0,this.stopRecording())}resume(){this._isPaused&amp;&amp;this._checkSession()&amp;&amp;(this._isPaused=!1,this.startRecording())}async sendBufferedReplayOrFlush({continueRecording:e=!0}={}){if("session"===this.recordingMode)return this.flushImmediate();let t=Date.now();await this.flushImmediate();let r=this.stopRecording();e&amp;&amp;r&amp;&amp;"session"!==this.recordingMode&amp;&amp;(this.recordingMode="session",this.session&amp;&amp;(this._updateUserActivity(t),this._updateSessionActivity(t),this._maybeSaveSession()),this.startRecording())}addUpdate(e){let t=e();"buffer"!==this.recordingMode&amp;&amp;!0!==t&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"buffer"===this.recordingMode?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;ri(this._lastActivity,this.timeouts.sessionIdlePause)&amp;&amp;this.session&amp;&amp;"session"===this.session.sampled){this.pause();return}return!!this._checkSession()}setInitialState(){let e=`${$.location.pathname}${$.location.hash}${$.location.search}`,t=`${$.location.origin}${e}`;this.performanceEntries=[],this.replayPerformanceEntries=[],this._clearContext(),this._context.initialUrl=t,this._context.initialTimestamp=Date.now(),this._context.urls.push(t)}throttledAddEvent(e,t){let r=this._throttledAddEvent(e,t);if(r===rW){let e=tj({category:"replay.throttled"});this.addUpdate(()=&gt;!rl(this,{type:5,timestamp:e.timestamp||0,data:{tag:"breadcrumb",payload:e,metric:!0}}))}return r}getCurrentRoute(){let e=this.lastActiveSpan||(0,C.HN)(),t=e&amp;&amp;(0,C.Gx)(e),r=(t&amp;&amp;(0,C.XU)(t).data||{})[L.Zj];if(t&amp;&amp;r&amp;&amp;["route","custom"].includes(r))return(0,C.XU)(t).description}_initializeRecording(){this.setInitialState(),this._updateSessionActivity(),this.eventBuffer=function({useCompression:e,workerUrl:t}){if(e&amp;&amp;window.Worker){let e=function(e){try{let t=e||("undefined"!=typeof __SENTRY_EXCLUDE_REPLAY_WORKER__&amp;&amp;__SENTRY_EXCLUDE_REPLAY_WORKER__?"":function(){let e=new Blob(['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});']);return URL.createObjectURL(e)}());if(!t)return;let r=new Worker(t);return new t7(r)}catch(e){}}(t);if(e)return e}return new t8}({useCompression:this._options.useCompression,workerUrl:this._options.workerUrl}),this._removeListeners(),this._addListeners(),this._isEnabled=!0,this._isPaused=!1,this.startRecording()}_initializeSessionForSampling(e){let t=this._options.errorSampleRate&gt;0,r=ra({sessionIdleExpire:this.timeouts.sessionIdleExpire,maxReplayDuration:this._options.maxReplayDuration,previousSessionId:e},{stickySession:this._options.stickySession,sessionSampleRate:this._options.sessionSampleRate,allowBuffering:t});this.session=r}_checkSession(){if(!this.session)return!1;let e=this.session;return!ro(e,{sessionIdleExpire:this.timeouts.sessionIdleExpire,maxReplayDuration:this._options.maxReplayDuration})||(this._refreshSession(e),!1)}async _refreshSession(e){this._isEnabled&amp;&amp;(await this.stop({reason:"refresh session"}),this.initializeSampling(e.id))}_addListeners(){try{$.document.addEventListener("visibilitychange",this._handleVisibilityChange),$.addEventListener("blur",this._handleWindowBlur),$.addEventListener("focus",this._handleWindowFocus),$.addEventListener("keydown",this._handleKeyboardEvent),this.clickDetector&amp;&amp;this.clickDetector.addListeners(),this._hasInitializedCoreListeners||(function(e,{autoFlushOnFeedback:t}){let r=(0,I.s3)();(0,j.O)(tq(e)),(0,H.a)(t=&gt;{if(!e.isEnabled())return;let r=function(e){let{from:t,to:r}=e,n=Date.now()/1e3;return{type:"navigation.push",start:n,end:n,name:r,data:{previous:t}}}(t);null!==r&amp;&amp;(e.getContext().urls.push(r.name),e.triggerUserActivity(),e.addUpdate(()=&gt;(rm(e,[r]),!1)))}),function(e){let t=(0,I.s3)();t&amp;&amp;t.on("beforeAddBreadcrumb",t=&gt;(function(e,t){if(!e.isEnabled()||!rp(t))return;let r=!rp(t)||["fetch","xhr","sentry.event","sentry.transaction"].includes(t.category)||t.category.startsWith("ui.")?null:"console"===t.category?function(e){let t=e.data?.arguments;if(!Array.isArray(t)||0===t.length)return tj(e);let r=!1,n=t.map(e=&gt;{if(!e)return e;if("string"==typeof e)return e.length&gt;5e3?(r=!0,`${e.slice(0,5e3)}…`):e;if("object"==typeof e)try{let t=(0,v.Fv)(e,7);if(JSON.stringify(t).length&gt;5e3)return r=!0,`${JSON.stringify(t,null,2).slice(0,5e3)}…`;return t}catch{}return e});return tj({...e,data:{...e.data,arguments:n,...r?{_meta:{warnings:["CONSOLE_ARG_TRUNCATED"]}}:{}}})}(t):tj(t);r&amp;&amp;tN(e,r)})(e,t))}(e),function(e){let t=(0,I.s3)();try{let{networkDetailAllowUrls:r,networkDetailDenyUrls:n,networkCaptureBodies:i,networkRequestHeaders:s,networkResponseHeaders:o}=e.getOptions(),a={replay:e,networkDetailAllowUrls:r,networkDetailDenyUrls:n,networkCaptureBodies:i,networkRequestHeaders:s,networkResponseHeaders:o};t&amp;&amp;t.on("beforeAddBreadcrumb",(e,t)=&gt;(function(e,t,r){if(t.data)try{"xhr"===t.category&amp;&amp;r?.xhr&amp;&amp;(function(e,t){let{xhr:r,input:n}=t;if(!r)return;let i=rg(n),s=r.getResponseHeader("content-length")?rS(r.getResponseHeader("content-length")):function(e,t){try{let r="json"===t&amp;&amp;e&amp;&amp;"object"==typeof e?JSON.stringify(e):e;return rg(r)}catch{return}}(r.response,r.responseType);void 0!==i&amp;&amp;(e.data.request_body_size=i),void 0!==s&amp;&amp;(e.data.response_body_size=s)}(t,r),rO(t,r,e)),"fetch"===t.category&amp;&amp;r?.response&amp;&amp;(function(e,t){let{input:r,response:n}=t,i=rg(r?(0,W.dn)(r):void 0),s=n?rS(n.headers.get("content-length")):void 0;void 0!==i&amp;&amp;(e.data.request_body_size=i),void 0!==s&amp;&amp;(e.data.response_body_size=s)}(t,r),rM(t,r,e))}catch(e){}})(a,e,t))}catch{}}(e);let n=Object.assign((t,r)=&gt;!e.isEnabled()||e.isPaused()?t:"replay_event"===t.type?(delete t.breadcrumbs,t):!t.type||rd(t)||rh(t)?e.checkAndHandleExpiredSession()?rh(t)?(e.flush(),t.contexts.feedback.replay_id=e.getSessionId(),e.triggerUserActivity(),e.addUpdate(()=&gt;!t.timestamp||(e.throttledAddEvent({type:e5.Custom,timestamp:1e3*t.timestamp,data:{tag:"breadcrumb",payload:{timestamp:t.timestamp,type:"default",category:"sentry.feedback",data:{feedbackId:t.event_id}}}}),!1)),t):!t.type&amp;&amp;t.exception&amp;&amp;t.exception.values&amp;&amp;t.exception.values.length&amp;&amp;r.originalException?.__rrweb__&amp;&amp;!e.getOptions()._experiments.captureExceptions?null:(("buffer"===e.recordingMode&amp;&amp;t.message!==V&amp;&amp;t.exception&amp;&amp;!t.type&amp;&amp;re(e.getOptions().errorSampleRate)||"session"===e.recordingMode)&amp;&amp;(t.tags={...t.tags,replayId:e.getSessionId()}),t):(rf(),t):t,{id:"Replay"});(0,E.Qy)(n),r&amp;&amp;(r.on("beforeSendEvent",t=&gt;{e.isEnabled()&amp;&amp;!t.type&amp;&amp;function(e,t){let r=t.exception?.values?.[0]?.value;"string"==typeof r&amp;&amp;(r.match(/(reactjs\.org\/docs\/error-decoder\.html\?invariant=|react\.dev\/errors\/)(418|419|422|423|425)/)||r.match(/(does not match server-rendered HTML|Hydration failed because)/i))&amp;&amp;tN(e,tj({category:"replay.hydrate-error",data:{url:(0,w.l4)()}}))}(e,t)}),r.on("afterSendEvent",(t,r)=&gt;{if(!e.isEnabled()||t.type&amp;&amp;!rd(t))return;let n=r?.statusCode;if(n&amp;&amp;!(n&lt;200)&amp;&amp;!(n&gt;=300)){if(rd(t)){(function(e,t){let r=e.getContext();t.contexts?.trace?.trace_id&amp;&amp;r.traceIds.size&lt;100&amp;&amp;r.traceIds.add(t.contexts.trace.trace_id)})(e,t);return}(function(e,t){let r=e.getContext();if(t.event_id&amp;&amp;r.errorIds.size&lt;100&amp;&amp;r.errorIds.add(t.event_id),"buffer"!==e.recordingMode||!t.tags||!t.tags.replayId)return;let{beforeErrorSampling:n}=e.getOptions();("function"!=typeof n||n(t))&amp;&amp;(0,U.iK)(async()=&gt;{try{await e.sendBufferedReplayOrFlush()}catch(t){e.handleException(t)}})})(e,t)}}),r.on("createDsc",t=&gt;{let r=e.getSessionId();r&amp;&amp;e.isEnabled()&amp;&amp;"session"===e.recordingMode&amp;&amp;e.checkAndHandleExpiredSession()&amp;&amp;(t.replay_id=r)}),r.on("spanStart",t=&gt;{e.lastActiveSpan=t}),r.on("spanEnd",t=&gt;{e.lastActiveSpan=t}),r.on("beforeSendFeedback",async(r,n)=&gt;{let i=e.getSessionId();n?.includeReplay&amp;&amp;e.isEnabled()&amp;&amp;i&amp;&amp;r.contexts?.feedback&amp;&amp;("api"===r.contexts.feedback.source&amp;&amp;t&amp;&amp;await e.flush(),r.contexts.feedback.replay_id=i)}),t&amp;&amp;r.on("openFeedbackWidget",async()=&gt;{await e.flush()}))}(this,{autoFlushOnFeedback:this._options._experiments.autoFlushOnFeedback}),this._hasInitializedCoreListeners=!0)}catch(e){this.handleException(e)}this._performanceCleanupCallback=function(e){function t(t){e.performanceEntries.includes(t)||e.performanceEntries.push(t)}function r({entries:e}){e.forEach(t)}let n=[];return["navigation","paint","resource"].forEach(e=&gt;{n.push((0,B._j)(e,r))}),n.push((0,B.$A)(tJ(tY,e)),(0,B.PR)(tJ(tQ,e)),(0,B.to)(tJ(tZ,e)),(0,B.YF)(tJ(t0,e))),()=&gt;{n.forEach(e=&gt;e())}}(this)}_removeListeners(){try{$.document.removeEventListener("visibilitychange",this._handleVisibilityChange),$.removeEventListener("blur",this._handleWindowBlur),$.removeEventListener("focus",this._handleWindowFocus),$.removeEventListener("keydown",this._handleKeyboardEvent),this.clickDetector&amp;&amp;this.clickDetector.removeListeners(),this._performanceCleanupCallback&amp;&amp;this._performanceCleanupCallback()}catch(e){this.handleException(e)}}_doChangeToBackgroundTasks(e){!this.session||rs(this.session,{maxReplayDuration:this._options.maxReplayDuration,sessionIdleExpire:this.timeouts.sessionIdleExpire})||(e&amp;&amp;this._createCustomBreadcrumb(e),this.conditionalFlush())}_doChangeToForegroundTasks(e){this.session&amp;&amp;this.checkAndHandleExpiredSession()&amp;&amp;e&amp;&amp;this._createCustomBreadcrumb(e)}_updateUserActivity(e=Date.now()){this._lastActivity=e}_updateSessionActivity(e=Date.now()){this.session&amp;&amp;(this.session.lastActivity=e,this._maybeSaveSession())}_createCustomBreadcrumb(e){this.addUpdate(()=&gt;{this.throttledAddEvent({type:e5.Custom,timestamp:e.timestamp||0,data:{tag:"breadcrumb",payload:e}})})}_addPerformanceEntries(){let e=this.performanceEntries.map(tG).filter(Boolean).concat(this.replayPerformanceEntries);if(this.performanceEntries=[],this.replayPerformanceEntries=[],this._requiresManualStart){let t=this._context.initialTimestamp/1e3;e=e.filter(e=&gt;e.start&gt;=t)}return Promise.all(rm(this,e))}_clearContext(){this._context.errorIds.clear(),this._context.traceIds.clear(),this._context.urls=[]}_updateInitialTimestampFromEventBuffer(){let{session:e,eventBuffer:t}=this;if(!e||!t||this._requiresManualStart||e.segmentId)return;let r=t.getEarliestTimestamp();r&amp;&amp;r&lt;this._context.initialTimestamp&amp;&amp;(this._context.initialTimestamp=r)}_popEventContext(){let e={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(),e}async _runFlush(){let e=this.getSessionId();if(this.session&amp;&amp;this.eventBuffer&amp;&amp;e&amp;&amp;(await this._addPerformanceEntries(),this.eventBuffer?.hasEvents)&amp;&amp;(await rA(this),this.eventBuffer&amp;&amp;e===this.getSessionId()))try{this._updateInitialTimestampFromEventBuffer();let t=Date.now();if(t-this._context.initialTimestamp&gt;this._options.maxReplayDuration+3e4)throw Error("Session is too long, not sending replay");let r=this._popEventContext(),n=this.session.segmentId++;this._maybeSaveSession();let i=await this.eventBuffer.finish();await rB({replayId:e,recordingData:i,segmentId:n,eventContext:r,session:this.session,timestamp:t,onError:e=&gt;this.handleException(e)})}catch(t){this.handleException(t),this.stop({reason:"sendReplay"});let e=(0,I.s3)();e&amp;&amp;e.recordDroppedEvent(t instanceof rU?"ratelimit_backoff":"send_error","replay")}}async _flush({force:e=!1}={}){if(!this._isEnabled&amp;&amp;!e||!this.checkAndHandleExpiredSession()||!this.session)return;let t=this.session.started,r=Date.now()-t;this._debouncedFlush.cancel();let n=r&lt;this._options.minReplayDuration,i=r&gt;this._options.maxReplayDuration+5e3;if(n||i){n&amp;&amp;this._debouncedFlush();return}let s=this.eventBuffer;s&amp;&amp;0===this.session.segmentId&amp;&amp;s.hasCheckout;let o=!!this._flushLock;this._flushLock||(this._flushLock=this._runFlush());try{await this._flushLock}catch(e){this.handleException(e)}finally{this._flushLock=void 0,o&amp;&amp;this._debouncedFlush()}}_maybeSaveSession(){this.session&amp;&amp;this._options.stickySession&amp;&amp;rr(this.session)}_onMutationHandler(e){let t=e.length,r=this._options.mutationLimit,n=this._options.mutationBreadcrumbLimit,i=r&amp;&amp;t&gt;r;if(t&gt;n||i){let e=tj({category:"replay.mutations",data:{count:t,limit:i}});this._createCustomBreadcrumb(e)}return!i||(this.stop({reason:"mutationLimit",forceFlush:"session"===this.recordingMode}),!1)}}function rj(e,t){return[...e,...t].join(",")}let rH='img,image,svg,video,object,picture,embed,map,audio,link[rel="icon"],link[rel="apple-touch-icon"]',r$=["content-length","content-type","accept"],rq=!1,rV=e=&gt;new rK(e);class rK{constructor({flushMinDelay:e=5e3,flushMaxDelay:t=5500,minReplayDuration:r=4999,maxReplayDuration:n=36e5,stickySession:i=!0,useCompression:s=!0,workerUrl:o,_experiments:a={},maskAllText:l=!0,maskAllInputs:c=!0,blockAllMedia:u=!0,mutationBreadcrumbLimit:d=750,mutationLimit:h=1e4,slowClickTimeout:p=7e3,slowClickIgnoreSelectors:f=[],networkDetailAllowUrls:m=[],networkDetailDenyUrls:y=[],networkCaptureBodies:g=!0,networkRequestHeaders:S=[],networkResponseHeaders:v=[],mask:_=[],maskAttributes:w=["title","placeholder"],unmask:b=[],block:k=[],unblock:E=[],ignore:M=[],maskFn:I,beforeAddRecordingEvent:C,beforeErrorSampling:R,onError:T}={}){this.name="Replay";let x=function({mask:e,unmask:t,block:r,unblock:n,ignore:i}){return{maskTextSelector:rj(e,[".sentry-mask","[data-sentry-mask]"]),unmaskTextSelector:rj(t,[]),blockSelector:rj(r,[".sentry-block","[data-sentry-block]","base","iframe[srcdoc]:not([src])"]),unblockSelector:rj(n,[]),ignoreSelector:rj(i,[".sentry-ignore","[data-sentry-ignore]",'input[type="file"]'])}}({mask:_,unmask:b,block:k,unblock:E,ignore:M});if(this._recordingOptions={maskAllInputs:c,maskAllText:l,maskInputOptions:{password:!0},maskTextFn:I,maskInputFn:I,maskAttributeFn:(e,t,r)=&gt;(function({el:e,key:t,maskAttributes:r,maskAllText:n,privacyOptions:i,value:s}){return!n||i.unmaskTextSelector&amp;&amp;e.matches(i.unmaskTextSelector)?s:r.includes(t)||"value"===t&amp;&amp;"INPUT"===e.tagName&amp;&amp;["submit","button"].includes(e.getAttribute("type")||"")?s.replace(/[\S]/g,"*"):s})({maskAttributes:w,maskAllText:l,privacyOptions:x,key:e,value:t,el:r}),...x,slimDOMOptions:"all",inlineStylesheet:!0,inlineImages:!1,collectFonts:!0,errorHandler:e=&gt;{try{e.__rrweb__=!0}catch(e){}},recordCrossOriginIframes:!!a.recordCrossOriginIframes},this._initialOptions={flushMinDelay:e,flushMaxDelay:t,minReplayDuration:Math.min(r,15e3),maxReplayDuration:Math.min(n,36e5),stickySession:i,useCompression:s,workerUrl:o,blockAllMedia:u,maskAllInputs:c,maskAllText:l,mutationBreadcrumbLimit:d,mutationLimit:h,slowClickTimeout:p,slowClickIgnoreSelectors:f,networkDetailAllowUrls:m,networkDetailDenyUrls:y,networkCaptureBodies:g,networkRequestHeaders:rJ(S),networkResponseHeaders:rJ(v),beforeAddRecordingEvent:C,beforeErrorSampling:R,onError:T,_experiments:a},this._initialOptions.blockAllMedia&amp;&amp;(this._recordingOptions.blockSelector=this._recordingOptions.blockSelector?`${this._recordingOptions.blockSelector},${rH}`:rH),this._isInitialized&amp;&amp;(0,P.j)())throw Error("Multiple Sentry Session Replay instances are not supported");this._isInitialized=!0}get _isInitialized(){return rq}set _isInitialized(e){rq=e}afterAllSetup(e){(0,P.j)()&amp;&amp;!this._replay&amp;&amp;(this._setup(e),this._initialize(e))}start(){this._replay&amp;&amp;this._replay.start()}startBuffering(){this._replay&amp;&amp;this._replay.startBuffering()}stop(){return this._replay?this._replay.stop({forceFlush:"session"===this._replay.recordingMode}):Promise.resolve()}flush(e){return this._replay?this._replay.isEnabled()?this._replay.sendBufferedReplayOrFlush(e):(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(e){this._replay&amp;&amp;(this._maybeLoadFromReplayCanvasIntegration(e),this._replay.initializeSampling())}_setup(e){let t=function(e,t){let r=t.getOptions(),n={sessionSampleRate:0,errorSampleRate:0,...e},i=(0,F.o)(r.replaysSessionSampleRate),s=(0,F.o)(r.replaysOnErrorSampleRate);return null==i&amp;&amp;null==s&amp;&amp;(0,k.Cf)(()=&gt;{console.warn("Replay is disabled because neither `replaysSessionSampleRate` nor `replaysOnErrorSampleRate` are set.")}),null!=i&amp;&amp;(n.sessionSampleRate=i),null!=s&amp;&amp;(n.errorSampleRate=s),n}(this._initialOptions,e);this._replay=new rz({options:t,recordingOptions:this._recordingOptions})}_maybeLoadFromReplayCanvasIntegration(e){try{let t=e.getIntegrationByName("ReplayCanvas");if(!t)return;this._replay._canvas=t.getOptions()}catch{}}}function rJ(e){return[...r$,...e.map(e=&gt;e.toLowerCase())]}function rG(){let e=(0,I.s3)();return e?.getIntegrationByName("Replay")}}}]);</pre></body></html>