1"use strict";(self.webpackChunkmarketing_frontend=self.webpackChunkmarketing_frontend||[]).push([[1130],{66556:function(e,t,n){n.d(t,{IM:function(){return kt}});var r,o=Object.defineProperty,s=(e,t,n)=>(((e,t,n)=>{t in e?o(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n})(e,"symbol"!=typeof t?t+"":t,n),n),a=Object.defineProperty,i=(e,t,n)=>(((e,t,n)=>{t in e?a(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n})(e,"symbol"!=typeof t?t+"":t,n),n),l=(e=>(e[e.Document=0]="Document",e[e.DocumentType=1]="DocumentType",e[e.Element=2]="Element",e[e.Text=3]="Text",e[e.CDATA=4]="CDATA",e[e.Comment=5]="Comment",e))(l||{});function c(e){return e.nodeType===e.ELEMENT_NODE}function d(e){const t=null==e?void 0:e.host;return Boolean((null==t?void 0:t.shadowRoot)===e)}function u(e){return"[object ShadowRoot]"===Object.prototype.toString.call(e)}function h(e){try{const n=e.rules||e.cssRules;return n?((t=Array.from(n,p).join("")).includes(" background-clip: text;")&&!t.includes(" -webkit-background-clip: text;")&&(t=t.replace(/\sbackground-clip:\s*text;/g," -webkit-background-clip: text; background-clip: text;")),t):null}catch(n){return null}var t}function p(e){let t;if(function(e){return"styleSheet"in e}(e))try{t=h(e.styleSheet)||function(e){const{cssText:t}=e;if(t.split('"').length<3)return t;const n=["@import",`url(${JSON.stringify(e.href)})`];return""===e.layerName?n.push("layer"):e.layerName&&n.push(`layer(${e.layerName})`),e.supportsText&&n.push(`supports(${e.supportsText})`),e.media.length&&n.push(e.media.mediaText),n.join(" ")+";"}(e)}catch(n){}else if(function(e){return"selectorText"in e}(e)&&e.selectorText.includes(":"))return function(e){const t=/(\[(?:[\w-]+)[^\\])(:(?:[\w-]+)\])/gm;return e.replace(t,"$1\\$2")}(e.cssText);return t||e.cssText}class m{constructor(){i(this,"idNodeMap",new Map),i(this,"nodeMetaMap",new WeakMap)}getId(e){var t;if(!e)return-1;return(null==(t=this.getMeta(e))?void 0:t.id)??-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){const t=this.getId(e);this.idNodeMap.delete(t),e.childNodes&&e.childNodes.forEach((e=>this.removeNodeFromMap(e)))}has(e){return this.idNodeMap.has(e)}hasNode(e){return this.nodeMetaMap.has(e)}add(e,t){const n=t.id;this.idNodeMap.set(n,e),this.nodeMetaMap.set(e,t)}replace(e,t){const n=this.getNode(e);if(n){const e=this.nodeMetaMap.get(n);e&&this.nodeMetaMap.set(t,e)}this.idNodeMap.set(e,t)}reset(){this.idNodeMap=new Map,this.nodeMetaMap=new WeakMap}}function f(){return new m}function g({element:e,maskInputOptions:t,tagName:n,type:r,value:o,maskInputFn:s}){let a=o||"";const i=r&&y(r);return(t[n.toLowerCase()]||i&&t[i])&&(a=s?s(a,e):"*".repeat(a.length)),a}function y(e){return e.toLowerCase()}const I="__rrweb_original__";function S(e){const t=e.type;return e.hasAttribute("data-rr-is-password")?"password":t?y(t):null}function C(e,t){let n;try{n=new URL(e,t??window.location.href)}catch(o){return null}const r=n.pathname.match(/\.([0-9a-z]+)(?:$)/i);return(null==r?void 0:r[1])??null}let b=1;const v=new RegExp("[^a-z0-9-_:]"),w=-2;function k(){return b++}let M,A;const T=/url\((?:(')([^']*)'|(")(.*?)"|([^)]*))\)/gm,N=/^(?:[a-z+]+:)?\/\//i,O=/^www\..*/i,R=/^(data:)([^,]*),(.*)/i;function E(e,t){return(e||"").replace(T,((e,n,r,o,s,a)=>{const i=r||s||a,l=n||o||"";if(!i)return e;if(N.test(i)||O.test(i))return`url(${l}${i}${l})`;if(R.test(i))return`url(${l}${i}${l})`;if("/"===i[0])return`url(${l}${function(e){let t="";return t=e.indexOf("//")>-1?e.split("/").slice(0,3).join("/"):e.split("/")[0],t=t.split("?")[0],t}(t)+i}${l})`;const c=t.split("/"),d=i.split("/");c.pop();for(const t of d)"."!==t&&(".."===t?c.pop():c.push(t));return`url(${l}${c.join("/")}${l})`}))}const x=/^[^ \t\n\r\u000c]+/,L=/^[, \t\n\r\u000c]+/;const D=new WeakMap;function F(e,t){return t&&""!==t.trim()?G(e,t):t}function W(e){return Boolean("svg"===e.tagName||e.ownerSVGElement)}function G(e,t){let n=D.get(e);if(n||(n=e.createElement("a"),D.set(e,n)),t){if(t.startsWith("blob:")||t.startsWith("data:"))return t}else t="";return n.setAttribute("href",t),n.href}function _(e,t,n,r){return r?"src"===n||"href"===n&&("use"!==t||"#"!==r[0])||"xlink:href"===n&&"#"!==r[0]?F(e,r):"background"!==n||"table"!==t&&"td"!==t&&"th"!==t?"srcset"===n?function(e,t){if(""===t.trim())return t;let n=0;function r(e){let r;const o=e.exec(t.substring(n));return o?(r=o[0],n+=r.length,r):""}const o=[];for(;r(L),!(n>=t.length);){let s=r(x);if(","===s.slice(-1))s=F(e,s.substring(0,s.length-1)),o.push(s);else{let r="";
1s=F(e,s);let a=!1;for(;;){const e=t.charAt(n);if(""===e){o.push((s+r).trim());break}if(a)")"===e&&(a=!1);else{if(","===e){n+=1,o.push((s+r).trim());break}"("===e&&(a=!0)}r+=e,n+=1}}}return o.join(", ")}(e,r):"style"===n?E(r,G(e)):"object"===t&&"data"===n?F(e,r):r:F(e,r):r}function Y(e,t,n){return("video"===e||"audio"===e)&&"autoplay"===t}function Z(e,t,n){if(!e)return!1;if(e.nodeType!==e.ELEMENT_NODE)return!!n&&Z(e.parentNode,t,n);for(let r=e.classList.length;r--;){const n=e.classList[r];if(t.test(n))return!0}return!!n&&Z(e.parentNode,t,n)}function B(e,t,n,r){try{const o=e.nodeType===e.ELEMENT_NODE?e:e.parentElement;if(null===o)return!1;if("string"==typeof t){if(r){if(o.closest(`.${t}`))return!0}else if(o.classList.contains(t))return!0}else if(Z(o,t,r))return!0;if(n)if(r){if(o.closest(n))return!0}else if(o.matches(n))return!0}catch(o){}return!1}function V(e,t){const{doc:n,mirror:r,blockClass:o,blockSelector:s,needsMask:a,inlineStylesheet:i,maskInputOptions:c={},maskTextFn:d,maskInputFn:u,dataURLOptions:p={},inlineImages:m,recordCanvas:f,keepIframeSrcFn:C,newlyAddedElement:b=!1}=t,w=function(e,t){if(!t.hasNode(e))return;const n=t.getId(e);return 1===n?void 0:n}(n,r);switch(e.nodeType){case e.DOCUMENT_NODE:return"CSS1Compat"!==e.compatMode?{type:l.Document,childNodes:[],compatMode:e.compatMode}:{type:l.Document,childNodes:[]};case e.DOCUMENT_TYPE_NODE:return{type:l.DocumentType,name:e.name,publicId:e.publicId,systemId:e.systemId,rootId:w};case e.ELEMENT_NODE:return function(e,t){const{doc:n,blockClass:r,blockSelector:o,inlineStylesheet:s,maskInputOptions:a={},maskInputFn:i,dataURLOptions:c={},inlineImages:d,recordCanvas:u,keepIframeSrcFn:p,newlyAddedElement:m=!1,rootId:f}=t,C=function(e,t,n){try{if("string"==typeof t){if(e.classList.contains(t))return!0}else for(let n=e.classList.length;n--;){const r=e.classList[n];if(t.test(r))return!0}if(n)return e.matches(n)}catch(r){}return!1}(e,r,o),b=function(e){if(e instanceof HTMLFormElement)return"form";const t=y(e.tagName);return v.test(t)?"div":t}(e);let w={};const k=e.attributes.length;for(let l=0;l<k;l++){const t=e.attributes[l];Y(b,t.name,t.value)||(w[t.name]=_(n,b,y(t.name),t.value))}if("link"===b&&s){const t=Array.from(n.styleSheets).find((t=>t.href===e.href));let r=null;t&&(r=h(t)),r&&(delete w.rel,delete w.href,w._cssText=E(r,t.href))}if("style"===b&&e.sheet&&!(e.innerText||e.textContent||"").trim().length){const t=h(e.sheet);t&&(w._cssText=E(t,G(n)))}if("input"===b||"textarea"===b||"select"===b){const t=e.value,n=e.checked;"radio"!==w.type&&"checkbox"!==w.type&&"submit"!==w.type&&"button"!==w.type&&t?w.value=g({element:e,type:S(e),tagName:b,value:t,maskInputOptions:a,maskInputFn:i}):n&&(w.checked=n)}"option"===b&&(e.selected&&!a.select?w.selected=!0:delete w.selected);if("canvas"===b&&u)if("2d"===e.__context)(function(e){const t=e.getContext("2d");if(!t)return!0;for(let n=0;n<e.width;n+=50)for(let r=0;r<e.height;r+=50){const o=t.getImageData,s=I in o?o[I]:o;if(new Uint32Array(s.call(t,n,r,Math.min(50,e.width-n),Math.min(50,e.height-r)).data.buffer).some((e=>0!==e)))return!1}return!0})(e)||(w.rr_dataURL=e.toDataURL(c.type,c.quality));else if(!("__context"in e)){const t=e.toDataURL(c.type,c.quality),r=n.createElement("canvas");r.width=e.width,r.height=e.height;t!==r.toDataURL(c.type,c.quality)&&(w.rr_dataURL=t)}if("img"===b&&d){M||(M=n.createElement("canvas"),A=M.getContext("2d"));const t=e,r=t.currentSrc||t.getAttribute("src")||"<unknown-src>",o=t.crossOrigin,s=()=>{t.removeEventListener("load",s);try{M.width=t.naturalWidth,M.height=t.naturalHeight,A.drawImage(t,0,0),w.rr_dataURL=M.toDataURL(c.type,c.quality)}catch(e){if("anonymous"!==t.crossOrigin)return t.crossOrigin="anonymous",void(t.complete&&0!==t.naturalWidth?s():t.addEventListener("load",s));console.warn(`Cannot inline img src=${r}! Error: ${e}`)}"anonymous"===t.crossOrigin&&(o?w.crossOrigin=o:t.removeAttribute("crossorigin"))};t.complete&&0!==t.naturalWidth?s():t.addEventListener("load",s)}if("audio"===b||"video"===b){const t=w;t.rr_mediaState=e.paused?"paused":"played",t.rr_mediaCurrentTime=e.currentTime,t.rr_mediaPlaybackRate=e.playbackRate,t.rr_mediaMuted=e.muted,t.rr_mediaLoop=e.loop,t.rr_mediaVolume=e.volume}m||(e.scrollLeft&&(w.rr_scrollLeft=e.scrollLeft),e.scrollTop&&(w.rr_scrollTop=e.scrollTop));if(C){const{width:t,height:n}=e.getBoundingClientRect();w={class:w.class,rr_width:`${t}px`,rr_height:`${n}px`}}"iframe"!==b||p(w.src)||(e.contentDocument||(w.rr_src=w.src),delete w.src);let T;
1try{customElements.get(b)&&(T=!0)}catch(N){}return{type:l.Element,tagName:b,attributes:w,childNodes:[],isSVG:W(e)||void 0,needBlock:C,rootId:f,isCustom:T}}(e,{doc:n,blockClass:o,blockSelector:s,inlineStylesheet:i,maskInputOptions:c,maskInputFn:u,dataURLOptions:p,inlineImages:m,recordCanvas:f,keepIframeSrcFn:C,newlyAddedElement:b,rootId:w});case e.TEXT_NODE:return function(e,t){var n;const{needsMask:r,maskTextFn:o,rootId:s}=t,a=e.parentNode&&e.parentNode.tagName;let i=e.textContent;const c="STYLE"===a||void 0,d="SCRIPT"===a||void 0;if(c&&i){try{e.nextSibling||e.previousSibling||(null==(n=e.parentNode.sheet)?void 0:n.cssRules)&&(i=h(e.parentNode.sheet))}catch(u){console.warn(`Cannot get CSS styles from text's parentNode. Error: ${u}`,e)}i=E(i,G(t.doc))}d&&(i="SCRIPT_PLACEHOLDER");!c&&!d&&i&&r&&(i=o?o(i,e.parentElement):i.replace(/[\S]/g,"*"));return{type:l.Text,textContent:i||"",isStyle:c,rootId:s}}(e,{doc:n,needsMask:a,maskTextFn:d,rootId:w});case e.CDATA_SECTION_NODE:return{type:l.CDATA,textContent:"",rootId:w};case e.COMMENT_NODE:return{type:l.Comment,textContent:e.textContent||"",rootId:w};default:return!1}}function U(e){return null==e?"":e.toLowerCase()}function z(e,t){const{doc:n,mirror:r,blockClass:o,blockSelector:s,maskTextClass:a,maskTextSelector:i,skipChild:h=!1,inlineStylesheet:p=!0,maskInputOptions:m={},maskTextFn:f,maskInputFn:g,slimDOMOptions:y,dataURLOptions:I={},inlineImages:S=!1,recordCanvas:b=!1,onSerialize:v,onIframeLoad:M,iframeLoadTimeout:A=5e3,onStylesheetLoad:T,stylesheetLoadTimeout:N=5e3,keepIframeSrcFn:O=(()=>!1),newlyAddedElement:R=!1}=t;let{needsMask:E}=t,{preserveWhiteSpace:x=!0}=t;if(!E&&e.childNodes){E=B(e,a,i,void 0===E)}const L=V(e,{doc:n,mirror:r,blockClass:o,blockSelector:s,needsMask:E,inlineStylesheet:p,maskInputOptions:m,maskTextFn:f,maskInputFn:g,dataURLOptions:I,inlineImages:S,recordCanvas:b,keepIframeSrcFn:O,newlyAddedElement:R});if(!L)return console.warn(e,"not serialized"),null;let D;D=r.hasNode(e)?r.getId(e):!function(e,t){if(t.comment&&e.type===l.Comment)return!0;if(e.type===l.Element){if(t.script&&("script"===e.tagName||"link"===e.tagName&&("preload"===e.attributes.rel||"modulepreload"===e.attributes.rel)&&"script"===e.attributes.as||"link"===e.tagName&&"prefetch"===e.attributes.rel&&"string"==typeof e.attributes.href&&"js"===C(e.attributes.href)))return!0;if(t.headFavicon&&("link"===e.tagName&&"shortcut icon"===e.attributes.rel||"meta"===e.tagName&&(U(e.attributes.name).match(/^msapplication-tile(image|color)$/)||"application-name"===U(e.attributes.name)||"icon"===U(e.attributes.rel)||"apple-touch-icon"===U(e.attributes.rel)||"shortcut icon"===U(e.attributes.rel))))return!0;if("meta"===e.tagName){if(t.headMetaDescKeywords&&U(e.attributes.name).match(/^description|keywords$/))return!0;if(t.headMetaSocial&&(U(e.attributes.property).match(/^(og|twitter|fb):/)||U(e.attributes.name).match(/^(og|twitter):/)||"pinterest"===U(e.attributes.name)))return!0;if(t.headMetaRobots&&("robots"===U(e.attributes.name)||"googlebot"===U(e.attributes.name)||"bingbot"===U(e.attributes.name)))return!0;if(t.headMetaHttpEquiv&&void 0!==e.attributes["http-equiv"])return!0;if(t.headMetaAuthorship&&("author"===U(e.attributes.name)||"generator"===U(e.attributes.name)||"framework"===U(e.attributes.name)||"publisher"===U(e.attributes.name)||"progid"===U(e.attributes.name)||U(e.attributes.property).match(/^article:/)||U(e.attributes.property).match(/^product:/)))return!0;if(t.headMetaVerification&&("google-site-verification"===U(e.attributes.name)||"yandex-verification"===U(e.attributes.name)||"csrf-token"===U(e.attributes.name)||"p:domain_verify"===U(e.attributes.name)||"verify-v1"===U(e.attributes.name)||"verification"===U(e.attributes.name)||"shopify-checkout-api-token"===U(e.attributes.name)))return!0}}return!1}(L,y)&&(x||L.type!==l.Text||L.isStyle||L.textContent.replace(/^\s+|\s+$/gm,"").length)?k():w;const F=Object.assign(L,{id:D});if(r.add(e,F),D===w)return null;v&&v(e);let W=!h;if(F.type===l.Element){W=W&&!F.needBlock,delete F.needBlock;const t=e.shadowRoot;t&&u(t)&&(F.isShadowHost=!0)}if((F.type===l.Document||F.type===l.Element)&&W){y.headWhitespace&&F.type===l.Element&&"head"===F.tagName&&(x=!1);const t={doc:n,mirror:r,blockClass:o,blockSelector:s,needsMask:E,maskTextClass:a,maskTextSelector:i,skipChild:h,inlineStylesheet:p,maskInputOptions:m,maskTextFn:f,maskInputFn:g,slimDOMOptions:y,dataURLOptions:I,inlineImages:S,recordCanvas:b,preserveWhiteSpace:x,onSerialize:v,onIframeLoad:M,iframeLoadTimeout:A,onStylesheetLoad:T,stylesheetLoadTimeout:N,keepIframeSrcFn:O};if(F.type===l.Element&&"textarea"===F.tagName&&void 0!==F.attributes.value);else for(const n of Array.from(e.childNodes)){const e=z(n,t);e&&F.childNodes.push(e)}if(c(e)&&e.shadowRoot)for(const n of Array.from(e.shadowRoot.childNodes)){const r=z(n,t);r&&(u(e.shadowRoot)&&(r.isShadow=!0),F.childNodes.push(r))}}return e.parentNode&&d(e.parentNode)&&u(e.parentNode)&&(F.isShadow=!0),F.type===l.Element&&"iframe"===F.tagName&&function(e,t,n){const r=e.contentWindow;if(!r)return;let o,s=!1;try{o=r.document.readyState}catch(i){return}if("complete"!==o){const r=setTimeout((()=>{s||(t(),s=!0)}),n);return void e.addEventListener("load",(()=>{clearTimeout(r),s=!0,t()}))}const a="about:blank";if(r.location.href!==a||e.src===a||""===e.src)return setTimeout(t,0),e.addEventListener("load",t);e.addEventListener("load",t)}(e,(()=>{const t=e.contentDocument;if(t&&M){const n=z(t,{doc:t,mirror:r,blockClass:o,blockSelector:s,needsMask:E,maskTextClass:a,maskTextSelector:i,skipChild:!1,inlineStylesheet:p,maskInputOptions:m,maskTextFn:f,maskInputFn:g,slimDOMOptions:y,dataURLOptions:I,inlineImages:S,recordCanvas:b,preserveWhiteSpace:x,onSerialize:v,onIframeLoad:M,iframeLoadTimeout:A,onStylesheetLoad:T,stylesheetLoadTimeout:N,keepIframeSrcFn:O});n&&M(e,n)}}),A),F.type===l.Element&&"link"===F.tagName&&"string"==typeof F.attributes.rel&&("stylesheet"===F.attributes.rel||"preload"===F.attributes.rel&&"string"==typeof F.attributes.href&&"css"===C(F.attributes.href))&&function(e,t,n){let r,o=!1;try{r=e.sheet}catch(a){return}if(r)return;const s=setTimeout((()=>{o||(t(),o=!0)}),n);e.addEventListener("load",(()=>{clearTimeout(s),o=!0,t()}))}(e,(()=>{if(T){const t=z(e,{doc:n,mirror:r,blockClass:o,blockSelector:s,needsMask:E,maskTextClass:a,maskTextSelector:i,skipChild:!1,inlineStylesheet:p,maskInputOptions:m,maskTextFn:f,maskInputFn:g,slimDOMOptions:y,dataURLOptions:I,inlineImages:S,recordCanvas:b,preserveWhiteSpace:x,onSerialize:v,onIframeLoad:M,iframeLoadTimeout:A,onStylesheetLoad:T,stylesheetLoadTimeout:N,keepIframeSrcFn:O});t&&T(e,t)}}),N),F}const P=/(max|min)-device-(width|height)/,X=(new RegExp(P.source,"g"),/([^\\]):hover/);new RegExp(X.source,"g");function H(e,t,n=document){const r={capture:!0,passive:!0};return n.addEventListener(e,t,r),()=>n.removeEventListener(e,t,r)}const j="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.";let J={map:{},getId(){return console.error(j),-1},getNode(){return console.error(j),null},removeNodeFromMap(){console.error(j)},has(){return console.error(j),!1},reset(){console.error(j)}};function K(e,t,n={}){let r=null,o=0;return function(...s){const a=Date.now();o||!1!==n.leading||(o=a);const i=t-(a-o),l=this;i<=0||i>t?(r&&(clearTimeout(r),r=null),o=a,e.apply(l,s)):r||!1===n.trailing||(r=setTimeout((()=>{o=!1===n.leading?0:Date.now(),r=null,e.apply(l,s)}),i))}}function Q(e,t,n,r,o=window){const s=o.Object.getOwnPropertyDescriptor(e,t);return o.Object.defineProperty(e,t,r?n:{set(e){setTimeout((()=>{n.set.call(this,e)}),0),s&&s.set&&s.set.call(this,e)}}),()=>Q(e,t,s||{},!0)}function $(e,t,n){try{if(!(t in e))return()=>{};const r=e[t],o=n(r);return"function"==typeof o&&(o.prototype=o.prototype||{},Object.defineProperties(o,{__rrweb_original__:{enumerable:!1,value:r}})),e[t]=o,()=>{e[t]=r}}catch{return()=>{}}}"undefined"!=typeof window&&window.Proxy&&window.Reflect&&(J=new Proxy(J,{get(e,t,n){return"map"===t&&console.error(j),Reflect.get(e,t,n)}}));let q=Date.now;function ee(e){var t,n,r,o,s,a;const i=e.document;return{left:i.scrollingElement?i.scrollingElement.scrollLeft:void 0!==e.pageXOffset?e.pageXOffset:(null==i?void 0:i.documentElement.scrollLeft)||(null==(n=null==(t=null==i?void 0:i.body)?void 0:t.parentElement)?void 0:n.scrollLeft)||(null==(r=null==i?void 0:i.body)?void 0:r.scrollLeft)||0,top:i.scrollingElement?i.scrollingElement.scrollTop:void 0!==e.pageYOffset?e.pageYOffset:(null==i?void 0:i.documentElement.scrollTop)||(null==(s=null==(o=null==i?void 0:i.body)?void 0:o.parentElement)?void 0:s.scrollTop)||(null==(a=null==i?void 0:i.body)?void 0:a.scrollTop)||0}}function te(){return window.innerHeight||document.documentElement&&document.documentElement.clientHeight||document.body&&document.body.clientHeight}function ne(){return window.innerWidth||document.documentElement&&document.documentElement.clientWidth||document.body&&document.body.clientWidth}function re(e){if(!e)return null;
vendor: 5,400 bytes, line 1
1return e.nodeType===e.ELEMENT_NODE?e:e.parentElement}function oe(e,t,n,r){if(!e)return!1;const o=re(e);if(!o)return!1;try{if("string"==typeof t){if(o.classList.contains(t))return!0;if(r&&null!==o.closest("."+t))return!0}else if(Z(o,t,r))return!0}catch(s){}if(n){if(o.matches(n))return!0;if(r&&null!==o.closest(n))return!0}return!1}function se(e,t){return-1!==t.getId(e)}function ae(e,t,n){return!("TITLE"!==e.tagName||!n.headTitleMutations)||t.getId(e)===w}function ie(e,t){if(d(e))return!1;const n=t.getId(e);return!t.has(n)||(!e.parentNode||e.parentNode.nodeType!==e.DOCUMENT_NODE)&&(!e.parentNode||ie(e.parentNode,t))}function le(e){return Boolean(e.changedTouches)}function ce(e=window){"NodeList"in e&&!e.NodeList.prototype.forEach&&(e.NodeList.prototype.forEach=Array.prototype.forEach),"DOMTokenList"in e&&!e.DOMTokenList.prototype.forEach&&(e.DOMTokenList.prototype.forEach=Array.prototype.forEach),Node.prototype.contains||(Node.prototype.contains=(...e)=>{let t=e[0];if(!(0 in e))throw new TypeError("1 argument is required");do{if(this===t)return!0}while(t=t&&t.parentNode);return!1})}function de(e){const t={},n=(e,n)=>{const r={value:e,parent:n,children:[]};return t[e.node.id]=r,r},r=[];for(const o of e){const{nextId:e,parentId:s}=o;if(e&&e in t){const s=t[e];if(s.parent){const e=s.parent.children.indexOf(s);s.parent.children.splice(e,0,n(o,s.parent))}else{const e=r.indexOf(s);r.splice(e,0,n(o,null))}}else if(s in t){const e=t[s];e.children.push(n(o,e))}else r.push(n(o,null))}return r}function ue(e,t){t(e.value);for(let n=e.children.length-1;n>=0;n--)ue(e.children[n],t)}function he(e,t){return Boolean("IFRAME"===e.nodeName&&t.getMeta(e))}function pe(e,t){return Boolean("LINK"===e.nodeName&&e.nodeType===e.ELEMENT_NODE&&e.getAttribute&&"stylesheet"===e.getAttribute("rel")&&t.getMeta(e))}function me(e,t){var n,r;const o=null==(r=null==(n=e.ownerDocument)?void 0:n.defaultView)?void 0:r.frameElement;if(!o||o===t)return{x:0,y:0,relativeScale:1,absoluteScale:1};const s=o.getBoundingClientRect(),a=me(o,t),i=s.height/o.clientHeight;return{x:s.x*a.relativeScale+a.x,y:s.y*a.relativeScale+a.y,relativeScale:i,absoluteScale:a.absoluteScale*i}}function fe(e){return Boolean(null==e?void 0:e.shadowRoot)}function ge(e,t){const n=e[t[0]];return 1===t.length?n:ge(n.cssRules[t[1]].cssRules,t.slice(2))}function ye(e){const t=[...e],n=t.pop();return{positions:t,index:n}}function Ie(e){const t=new Set,n=[];for(let r=e.length;r--;){const o=e[r];t.has(o.id)||(n.push(o),t.add(o.id))}return n}/[1-9][0-9]{12}/.test(Date.now().toString())||(q=()=>(new Date).getTime());class Se{constructor(){s(this,"id",1),s(this,"styleIDMap",new WeakMap),s(this,"idStyleMap",new Map)}getId(e){return this.styleIDMap.get(e)??-1}has(e){return this.styleIDMap.has(e)}add(e,t){if(this.has(e))return this.getId(e);let n;return n=void 0===t?this.id++:t,this.styleIDMap.set(e,n),this.idStyleMap.set(n,e),n}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 Ce(e){var t,n;let r=null;return(null==(n=null==(t=e.getRootNode)?void 0:t.call(e))?void 0:n.nodeType)===Node.DOCUMENT_FRAGMENT_NODE&&e.getRootNode().host&&(r=e.getRootNode().host),r}function be(e){let t,n=e;for(;t=Ce(n);)n=t;return n}function ve(e){const t=e.ownerDocument;if(!t)return!1;const n=be(e);return t.contains(n)}function we(e){const t=e.ownerDocument;return!!t&&(t.contains(e)||ve(e))}Symbol.toStringTag;var ke=(e=>(e[e.DomContentLoaded=0]="DomContentLoaded",e[e.Load=1]="Load",e[e.FullSnapshot=2]="FullSnapshot",e[e.IncrementalSnapshot=3]="IncrementalSnapshot",e[e.Meta=4]="Meta",e[e.Custom=5]="Custom",e[e.Plugin=6]="Plugin",e))(ke||{}),Me=(e=>(e[e.Mutation=0]="Mutation",e[e.MouseMove=1]="MouseMove",e[e.MouseInteraction=2]="MouseInteraction",e[e.Scroll=3]="Scroll",e[e.ViewportResize=4]="ViewportResize",e[e.Input=5]="Input",e[e.TouchMove=6]="TouchMove",e[e.MediaInteraction=7]="MediaInteraction",e[e.StyleSheetRule=8]="StyleSheetRule",e[e.CanvasMutation=9]="CanvasMutation",e[e.Font=10]="Font",e[e.Log=11]="Log",e[e.Drag=12]="Drag",e[e.StyleDeclaration=13]="StyleDeclaration",e[e.Selection=14]="Selection",e[e.AdoptedStyleSheet=15]="AdoptedStyleSheet",e[e.CustomElement=16]="CustomElement",e))(Me||{}),Ae=(e=>(e[e.MouseUp=0]="MouseUp",e[e.MouseDown=1]="MouseDown",e[e.Click=2]="Click",e[e.ContextMenu=3]="ContextMenu",e[e.DblClick=4]="DblClick",e[e.Focus=5]="Focus",e[e.Blur=6]="Blur",e[e.TouchStart=7]="TouchStart",e[e.TouchMove_Departed=8]="TouchMove_Departed",e[e.TouchEnd=9]="TouchEnd",e[e.TouchCancel=10]="TouchCancel",e))(Ae||{}),Te=(e=>(e[e.Mouse=0]="Mouse",e[e.Pen=1]="Pen",e[e.Touch=2]="Touch",e))(Te||{}),Ne=(e=>(e[e["2D"]=0]="2D",e[e.WebGL=1]="WebGL",e[e.WebGL2=2]="WebGL2",e))(Ne||{}),Oe=(e=>(e[e.Play=0]="Play",e[e.Pause=1]="Pause",e[e.Seeked=2]="Seeked",e[e.VolumeChange=3]="VolumeChange",e[e.RateChange=4]="RateChange",e))(Oe||{});function Re(e){return"__ln"in e}class Ee{constructor(){s(this,"length",0),s(this,"head",null),s(this,"tail",null)}get(e){if(e>=this.length)throw new Error("Position outside of list range");let t=this.head;for(let n=0;n<e;n++)t=(null==t?void 0:t.next)||null;return t}addNode(e){const t={value:e,previous:null,next:null};if(e.__ln=t,e.previousSibling&&Re(e.previousSibling)){const n=e.previousSibling.__ln.next;t.next=n,t.previous=e.previousSibling.__ln,e.previousSibling.__ln.next=t,n&&
1(n.previous=t)}else if(e.nextSibling&&Re(e.nextSibling)&&e.nextSibling.__ln.previous){const n=e.nextSibling.__ln.previous;t.previous=n,t.next=e.nextSibling.__ln,e.nextSibling.__ln.previous=t,n&&(n.next=t)}else this.head&&(this.head.previous=t),t.next=this.head,this.head=t;null===t.next&&(this.tail=t),this.length++}removeNode(e){const t=e.__ln;this.head&&(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&&delete e.__ln,this.length--)}}const xe=(e,t)=>`${e}@${t}`;class Le{constructor(){s(this,"frozen",!1),s(this,"locked",!1),s(this,"texts",[]),s(this,"attributes",[]),s(this,"attributeMap",new WeakMap),s(this,"removes",[]),s(this,"mapRemoves",[]),s(this,"movedMap",{}),s(this,"addedSet",new Set),s(this,"movedSet",new Set),s(this,"droppedSet",new Set),s(this,"mutationCb"),s(this,"blockClass"),s(this,"blockSelector"),s(this,"maskTextClass"),s(this,"maskTextSelector"),s(this,"inlineStylesheet"),s(this,"maskInputOptions"),s(this,"maskTextFn"),s(this,"maskInputFn"),s(this,"keepIframeSrcFn"),s(this,"recordCanvas"),s(this,"inlineImages"),s(this,"slimDOMOptions"),s(this,"dataURLOptions"),s(this,"doc"),s(this,"mirror"),s(this,"iframeManager"),s(this,"stylesheetManager"),s(this,"shadowDomManager"),s(this,"canvasManager"),s(this,"processedNodeManager"),s(this,"unattachedDoc"),s(this,"processMutations",(e=>{e.forEach(this.processMutation),this.emit()})),s(this,"emit",(()=>{if(this.frozen||this.locked)return;const e=[],t=new Set,n=new Ee,r=e=>{let t=e,n=w;for(;n===w;)t=t&&t.nextSibling,n=t&&this.mirror.getId(t);return n},o=o=>{if(!o.parentNode||!we(o)||"TEXTAREA"===o.parentNode.tagName)return;const s=d(o.parentNode)?this.mirror.getId(Ce(o)):this.mirror.getId(o.parentNode),a=r(o);if(-1===s||-1===a)return n.addNode(o);const i=z(o,{doc:this.doc,mirror:this.mirror,blockClass:this.blockClass,blockSelector:this.blockSelector,maskTextClass:this.maskTextClass,maskTextSelector:this.maskTextSelector,skipChild:!0,newlyAddedElement:!0,inlineStylesheet:this.inlineStylesheet,maskInputOptions:this.maskInputOptions,maskTextFn:this.maskTextFn,maskInputFn:this.maskInputFn,slimDOMOptions:this.slimDOMOptions,dataURLOptions:this.dataURLOptions,recordCanvas:this.recordCanvas,inlineImages:this.inlineImages,onSerialize:e=>{he(e,this.mirror)&&this.iframeManager.addIframe(e),pe(e,this.mirror)&&this.stylesheetManager.trackLinkElement(e),fe(o)&&this.shadowDomManager.addShadowRoot(o.shadowRoot,this.doc)},onIframeLoad:(e,t)=>{this.iframeManager.attachIframe(e,t),this.shadowDomManager.observeAttachShadow(e)},onStylesheetLoad:(e,t)=>{this.stylesheetManager.attachLinkElement(e,t)}});i&&(e.push({parentId:s,nextId:a,node:i}),t.add(i.id))};for(;this.mapRemoves.length;)this.mirror.removeNodeFromMap(this.mapRemoves.shift());for(const i of this.movedSet)Fe(this.removes,i,this.mirror)&&!this.movedSet.has(i.parentNode)||o(i);for(const i of this.addedSet)We(this.droppedSet,i)||Fe(this.removes,i,this.mirror)?We(this.movedSet,i)?o(i):this.droppedSet.add(i):o(i);let s=null;for(;n.length;){let e=null;if(s){const t=this.mirror.getId(s.value.parentNode),n=r(s.value);-1!==t&&-1!==n&&(e=s)}if(!e){let t=n.tail;for(;t;){const n=t;if(t=t.previous,n){const t=this.mirror.getId(n.value.parentNode);if(-1===r(n.value))continue;if(-1!==t){e=n;break}{const t=n.value;if(t.parentNode&&t.parentNode.nodeType===Node.DOCUMENT_FRAGMENT_NODE){const r=t.parentNode.host;if(-1!==this.mirror.getId(r)){e=n;break}}}}}}if(!e){for(;n.head;)n.removeNode(n.head.value);break}s=e.previous,n.removeNode(e.value),o(e.value)}const a={texts:this.texts.map((e=>{const t=e.node;return t.parentNode&&"TEXTAREA"===t.parentNode.tagName&&this.genTextAreaValueMutation(t.parentNode),{id:this.mirror.getId(t),value:e.value}})).filter((e=>!t.has(e.id))).filter((e=>this.mirror.has(e.id))),attributes:this.attributes.map((e=>{const{attributes:t}=e;if("string"==typeof t.style){const n=JSON.stringify(e.styleDiff),r=JSON.stringify(e._unchangedStyles);n.length<t.style.length&&(n+r).split("var(").length===t.style.split("var(").length&&(t.style=e.styleDiff)}
1return{id:this.mirror.getId(e.node),attributes:t}})).filter((e=>!t.has(e.id))).filter((e=>this.mirror.has(e.id))),removes:this.removes,adds:e};(a.texts.length||a.attributes.length||a.removes.length||a.adds.length)&&(this.texts=[],this.attributes=[],this.attributeMap=new WeakMap,this.removes=[],this.addedSet=new Set,this.movedSet=new Set,this.droppedSet=new Set,this.movedMap={},this.mutationCb(a))})),s(this,"genTextAreaValueMutation",(e=>{let t=this.attributeMap.get(e);t||(t={node:e,attributes:{},styleDiff:{},_unchangedStyles:{}},this.attributes.push(t),this.attributeMap.set(e,t)),t.attributes.value=Array.from(e.childNodes,(e=>e.textContent||"")).join("")})),s(this,"processMutation",(e=>{if(!ae(e.target,this.mirror,this.slimDOMOptions))switch(e.type){case"characterData":{const t=e.target.textContent;oe(e.target,this.blockClass,this.blockSelector,!1)||t===e.oldValue||this.texts.push({value:B(e.target,this.maskTextClass,this.maskTextSelector,!0)&&t?this.maskTextFn?this.maskTextFn(t,re(e.target)):t.replace(/[\S]/g,"*"):t,node:e.target});break}case"attributes":{const n=e.target;let r=e.attributeName,o=e.target.getAttribute(r);if("value"===r){const e=S(n);o=g({element:n,maskInputOptions:this.maskInputOptions,tagName:n.tagName,type:e,value:o,maskInputFn:this.maskInputFn})}if(oe(e.target,this.blockClass,this.blockSelector,!1)||o===e.oldValue)return;let s=this.attributeMap.get(e.target);if("IFRAME"===n.tagName&&"src"===r&&!this.keepIframeSrcFn(o)){if(n.contentDocument)return;r="rr_src"}if(s||(s={node:e.target,attributes:{},styleDiff:{},_unchangedStyles:{}},this.attributes.push(s),this.attributeMap.set(e.target,s)),"type"===r&&"INPUT"===n.tagName&&"password"===(e.oldValue||"").toLowerCase()&&n.setAttribute("data-rr-is-password","true"),!Y(n.tagName,r)&&(s.attributes[r]=_(this.doc,y(n.tagName),y(r),o),"style"===r)){if(!this.unattachedDoc)try{this.unattachedDoc=document.implementation.createHTMLDocument()}catch(t){this.unattachedDoc=this.doc}const r=this.unattachedDoc.createElement("span");e.oldValue&&r.setAttribute("style",e.oldValue);for(const e of Array.from(n.style)){const t=n.style.getPropertyValue(e),o=n.style.getPropertyPriority(e);t!==r.style.getPropertyValue(e)||o!==r.style.getPropertyPriority(e)?s.styleDiff[e]=""===o?t:[t,o]:s._unchangedStyles[e]=[t,o]}for(const e of Array.from(r.style))""===n.style.getPropertyValue(e)&&(s.styleDiff[e]=!1)}break}case"childList":if(oe(e.target,this.blockClass,this.blockSelector,!0))return;if("TEXTAREA"===e.target.tagName)return void this.genTextAreaValueMutation(e.target);e.addedNodes.forEach((t=>this.genAdds(t,e.target))),e.removedNodes.forEach((t=>{const n=this.mirror.getId(t),r=d(e.target)?this.mirror.getId(e.target.host):this.mirror.getId(e.target);oe(e.target,this.blockClass,this.blockSelector,!1)||ae(t,this.mirror,this.slimDOMOptions)||!se(t,this.mirror)||(this.addedSet.has(t)?(De(this.addedSet,t),this.droppedSet.add(t)):this.addedSet.has(e.target)&&-1===n||ie(e.target,this.mirror)||(this.movedSet.has(t)&&this.movedMap[xe(n,r)]?De(this.movedSet,t):this.removes.push({parentId:r,id:n,isShadow:!(!d(e.target)||!u(e.target))||void 0})),this.mapRemoves.push(t))}))}})),s(this,"genAdds",((e,t)=>{if(!this.processedNodeManager.inOtherBuffer(e,this)&&!this.addedSet.has(e)&&!this.movedSet.has(e)){if(this.mirror.hasNode(e)){if(ae(e,this.mirror,this.slimDOMOptions))return;this.movedSet.add(e);let n=null;t&&this.mirror.hasNode(t)&&(n=this.mirror.getId(t)),n&&-1!==n&&(this.movedMap[xe(this.mirror.getId(e),n)]=!0)}else this.addedSet.add(e),this.droppedSet.delete(e);oe(e,this.blockClass,this.blockSelector,!1)||(e.childNodes.forEach((e=>this.genAdds(e))),fe(e)&&e.shadowRoot.childNodes.forEach((t=>{this.processedNodeManager.add(t,this),this.genAdds(t,e)})))}}))}init(e){["mutationCb","blockClass","blockSelector","maskTextClass","maskTextSelector","inlineStylesheet","maskInputOptions","maskTextFn","maskInputFn","keepIframeSrcFn","recordCanvas","inlineImages","slimDOMOptions","dataURLOptions","doc","mirror","iframeManager","stylesheetManager","shadowDomManager","canvasManager","processedNodeManager"].forEach((t=>{this[t]=e[t]}))}freeze(){this.frozen=!0,this.canvasManager.freeze()}unfreeze(){this.frozen=!1,this.canvasManager.unfreeze(),this.emit
1()}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 De(e,t){e.delete(t),t.childNodes.forEach((t=>De(e,t)))}function Fe(e,t,n){return 0!==e.length&&function(e,t,n){let r=t.parentNode;for(;r;){const t=n.getId(r);if(e.some((e=>e.id===t)))return!0;r=r.parentNode}return!1}(e,t,n)}function We(e,t){return 0!==e.size&&Ge(e,t)}function Ge(e,t){const{parentNode:n}=t;return!!n&&(!!e.has(n)||Ge(e,n))}let _e;const Ye=e=>{if(!_e)return e;return(...t)=>{try{return e(...t)}catch(n){if(_e&&!0===_e(n))return;throw n}}},Ze=[];function Be(e){try{if("composedPath"in e){const t=e.composedPath();if(t.length)return t[0]}else if("path"in e&&e.path.length)return e.path[0]}catch{}return e&&e.target}function Ve(e,t){var n,r;const o=new Le;Ze.push(o),o.init(e);let s=window.MutationObserver||window.__rrMutationObserver;const a=null==(r=null==(n=null==window?void 0:window.Zone)?void 0:n.__symbol__)?void 0:r.call(n,"MutationObserver");a&&window[a]&&(s=window[a]);const i=new s(Ye(o.processMutations.bind(o)));return i.observe(t,{attributes:!0,attributeOldValue:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0}),i}function Ue({mouseInteractionCb:e,doc:t,mirror:n,blockClass:r,blockSelector:o,sampling:s}){if(!1===s.mouseInteraction)return()=>{};const a=!0===s.mouseInteraction||void 0===s.mouseInteraction?{}:s.mouseInteraction,i=[];let l=null;return Object.keys(Ae).filter((e=>Number.isNaN(Number(e))&&!e.endsWith("_Departed")&&!1!==a[e])).forEach((s=>{let a=y(s);const c=(t=>s=>{const a=Be(s);if(oe(a,r,o,!0))return;let i=null,c=t;if("pointerType"in s){switch(s.pointerType){case"mouse":i=Te.Mouse;break;case"touch":i=Te.Touch;break;case"pen":i=Te.Pen}i===Te.Touch?Ae[t]===Ae.MouseDown?c="TouchStart":Ae[t]===Ae.MouseUp&&(c="TouchEnd"):Te.Pen}else le(s)&&(i=Te.Touch);null!==i?(l=i,(c.startsWith("Touch")&&i===Te.Touch||c.startsWith("Mouse")&&i===Te.Mouse)&&(i=null)):Ae[t]===Ae.Click&&(i=l,l=null);const d=le(s)?s.changedTouches[0]:s;if(!d)return;const u=n.getId(a),{clientX:h,clientY:p}=d;Ye(e)({type:Ae[c],id:u,x:h,y:p,...null!==i&&{pointerType:i}})})(s);if(window.PointerEvent)switch(Ae[s]){case Ae.MouseDown:case Ae.MouseUp:a=a.replace("mouse","pointer");break;case Ae.TouchStart:case Ae.TouchEnd:return}i.push(H(a,c,t))})),Ye((()=>{i.forEach((e=>e()))}))}function ze({scrollCb:e,doc:t,mirror:n,blockClass:r,blockSelector:o,sampling:s}){return H("scroll",Ye(K(Ye((s=>{const a=Be(s);if(!a||oe(a,r,o,!0))return;const i=n.getId(a);if(a===t&&t.defaultView){const n=ee(t.defaultView);e({id:i,x:n.left,y:n.top})}else e({id:i,x:a.scrollLeft,y:a.scrollTop})})),s.scroll||100)),t)}const Pe=["INPUT","TEXTAREA","SELECT"],Xe=new WeakMap;function He(e){return function(e,t){if(Qe("CSSGroupingRule")&&e.parentRule instanceof CSSGroupingRule||Qe("CSSMediaRule")&&e.parentRule instanceof CSSMediaRule||Qe("CSSSupportsRule")&&e.parentRule instanceof CSSSupportsRule||Qe("CSSConditionRule")&&e.parentRule instanceof CSSConditionRule){const n=Array.from(e.parentRule.cssRules).indexOf(e);t.unshift(n)}else if(e.parentStyleSheet){const n=Array.from(e.parentStyleSheet.cssRules).indexOf(e);t.unshift(n)}return t}(e,[])}function je(e,t,n){let r,o;return e?(e.ownerNode?r=t.getId(e.ownerNode):o=n.getId(e),{styleId:o,id:r}):{}}function Je({mirror:e,stylesheetManager:t},n){var r,o,s;let a=null;a="#document"===n.nodeName?e.getId(n):e.getId(n.host);const i="#document"===n.nodeName?null==(r=n.defaultView)?void 0:r.Document:null==(s=null==(o=n.ownerDocument)?void 0:o.defaultView)?void 0:s.ShadowRoot,l=(null==i?void 0:i.prototype)?Object.getOwnPropertyDescriptor(null==i?void 0:i.prototype,"adoptedStyleSheets"):void 0;return null!==a&&-1!==a&&i&&l?(Object.defineProperty(n,"adoptedStyleSheets",{configurable:l.configurable,enumerable:l.enumerable,get(){var e;return null==(e=l.get)?void 0:e.call(this)},set(e){var n;const r=null==(n=l.set)?void 0:n.call(this,e);if(null!==a&&-1!==a)try{t.adoptStyleSheets(e,a)}catch(o){}return r}}),Ye((()=>{Object.defineProperty(n,"adoptedStyleSheets",{configurable:l.configurable,enumerable:l.enumerable,get:l.get,set:l.set})}))):()=>{}}function Ke(e,t={}){const n=e.doc.defaultView;if(!n)return()=>{};let r;!function(e,t){const{mutationCb:n,mousemoveCb:r,mouseInteractionCb:o,scrollCb:s,viewportResizeCb:a,inputCb:i,mediaInteractionCb:l,styleSheetRuleCb:c,styleDeclarationCb:d,canvasMutationCb:u,fontCb:h,selectionCb:p,customElementCb:m}=e;e.mutationCb=(...e)=>{t.mutation&&t.mutation(...e),n(...e)},e.mousemoveCb=(...e)=>{t.mousemove&&t.mousemove(...e),r(...e)},e.mouseInteractionCb=(...e)=>{t.mouseInteraction&&t.mouseInteraction(...e),o(...e)},e.scrollCb=(...e)=>{t.scroll&&t.scroll(...e),s(...e)},e.viewportResizeCb=(...e)=>{t.viewportResize&&t.viewportResize(...e),a(...e)},e.inputCb=(...e)=>{t.input&&t.input(...e),i(...e)},e.mediaInteractionCb=(...e)=>{t.mediaInteaction&&t.mediaInteaction(...e),l(...e)},e.styleSheetRuleCb=(...e)=>{t.styleSheetRule&&t.styleSheetRule(...e),c(...e)},e.styleDeclarationCb=(...e)=>{t.styleDeclaration&&t.styleDeclaration(...e),d(...e)},e.canvasMutationCb=(...e)=>{t.canvasMutation&&t.canvasMutation(...e),u(...e)},e.fontCb=(...e)=>{t.font&&t.font(...e),h(...e)}
vendor: 5,429 bytes, line 1
1,e.selectionCb=(...e)=>{t.selection&&t.selection(...e),p(...e)},e.customElementCb=(...e)=>{t.customElement&&t.customElement(...e),m(...e)}}(e,t),e.recordDOM&&(r=Ve(e,e.doc));const o=function({mousemoveCb:e,sampling:t,doc:n,mirror:r}){if(!1===t.mousemove)return()=>{};const o="number"==typeof t.mousemove?t.mousemove:50,s="number"==typeof t.mousemoveCallback?t.mousemoveCallback:500;let a,i=[];const l=K(Ye((t=>{const n=Date.now()-a;e(i.map((e=>(e.timeOffset-=n,e))),t),i=[],a=null})),s),c=Ye(K(Ye((e=>{const t=Be(e),{clientX:n,clientY:o}=le(e)?e.changedTouches[0]:e;a||(a=q()),i.push({x:n,y:o,id:r.getId(t),timeOffset:q()-a}),l("undefined"!=typeof DragEvent&&e instanceof DragEvent?Me.Drag:e instanceof MouseEvent?Me.MouseMove:Me.TouchMove)})),o,{trailing:!1})),d=[H("mousemove",c,n),H("touchmove",c,n),H("drag",c,n)];return Ye((()=>{d.forEach((e=>e()))}))}(e),s=Ue(e),a=ze(e),i=function({viewportResizeCb:e},{win:t}){let n=-1,r=-1;return H("resize",Ye(K(Ye((()=>{const t=te(),o=ne();n===t&&r===o||(e({width:Number(o),height:Number(t)}),n=t,r=o)})),200)),t)}(e,{win:n}),l=function({inputCb:e,doc:t,mirror:n,blockClass:r,blockSelector:o,ignoreClass:s,ignoreSelector:a,maskInputOptions:i,maskInputFn:l,sampling:c,userTriggeredOnInput:d}){function u(e){let n=Be(e);const c=e.isTrusted,u=n&&n.tagName;if(n&&"OPTION"===u&&(n=n.parentElement),!n||!u||Pe.indexOf(u)<0||oe(n,r,o,!0))return;if(n.classList.contains(s)||a&&n.matches(a))return;let p=n.value,m=!1;const f=S(n)||"";"radio"===f||"checkbox"===f?m=n.checked:(i[u.toLowerCase()]||i[f])&&(p=g({element:n,maskInputOptions:i,tagName:u,type:f,value:p,maskInputFn:l})),h(n,d?{text:p,isChecked:m,userTriggered:c}:{text:p,isChecked:m});const y=n.name;"radio"===f&&y&&m&&t.querySelectorAll(`input[type="radio"][name="${y}"]`).forEach((e=>{if(e!==n){const t=e.value;h(e,d?{text:t,isChecked:!m,userTriggered:!1}:{text:t,isChecked:!m})}}))}function h(t,r){const o=Xe.get(t);if(!o||o.text!==r.text||o.isChecked!==r.isChecked){Xe.set(t,r);const o=n.getId(t);Ye(e)({...r,id:o})}}const p=("last"===c.input?["change"]:["input","change"]).map((e=>H(e,Ye(u),t))),m=t.defaultView;if(!m)return()=>{p.forEach((e=>e()))};const f=m.Object.getOwnPropertyDescriptor(m.HTMLInputElement.prototype,"value"),y=[[m.HTMLInputElement.prototype,"value"],[m.HTMLInputElement.prototype,"checked"],[m.HTMLSelectElement.prototype,"value"],[m.HTMLTextAreaElement.prototype,"value"],[m.HTMLSelectElement.prototype,"selectedIndex"],[m.HTMLOptionElement.prototype,"selected"]];return f&&f.set&&p.push(...y.map((e=>Q(e[0],e[1],{set(){Ye(u)({target:this,isTrusted:!1})}},!1,m)))),Ye((()=>{p.forEach((e=>e()))}))}(e),c=function({mediaInteractionCb:e,blockClass:t,blockSelector:n,mirror:r,sampling:o,doc:s}){const a=Ye((s=>K(Ye((o=>{const a=Be(o);if(!a||oe(a,t,n,!0))return;const{currentTime:i,volume:l,muted:c,playbackRate:d,loop:u}=a;e({type:s,id:r.getId(a),currentTime:i,volume:l,muted:c,playbackRate:d,loop:u})})),o.media||500))),i=[H("play",a(Oe.Play),s),H("pause",a(Oe.Pause),s),H("seeked",a(Oe.Seeked),s),H("volumechange",a(Oe.VolumeChange),s),H("ratechange",a(Oe.RateChange),s)];return Ye((()=>{i.forEach((e=>e()))}))}(e);let d=()=>{},u=()=>{},h=()=>{},p=()=>{};e.recordDOM&&(d=function({styleSheetRuleCb:e,mirror:t,stylesheetManager:n},{win:r}){if(!r.CSSStyleSheet||!r.CSSStyleSheet.prototype)return()=>{};const o=r.CSSStyleSheet.prototype.insertRule;r.CSSStyleSheet.prototype.insertRule=new Proxy(o,{apply:Ye(((r,o,s)=>{const[a,i]=s,{id:l,styleId:c}=je(o,t,n.styleMirror);return(l&&-1!==l||c&&-1!==c)&&e({id:l,styleId:c,adds:[{rule:a,index:i}]}),r.apply(o,s)}))});const s=r.CSSStyleSheet.prototype.deleteRule;let a,i;r.CSSStyleSheet.prototype.deleteRule=new Proxy(s,{apply:Ye(((r,o,s)=>{const[a]=s,{id:i,styleId:l}=je(o,t,n.styleMirror);return(i&&-1!==i||l&&-1!==l)&&e({id:i,styleId:l,removes:[{index:a}]}),r.apply(o,s)}))}),r.CSSStyleSheet.prototype.replace&&(a=r.CSSStyleSheet.prototype.replace,r.CSSStyleSheet.prototype.replace=new Proxy(a,{apply:Ye(((r,o,s)=>{const[a]=s,{id:i,styleId:l}=je(o,t,n.styleMirror);return(i&&-1!==i||l&&-1!==l)&&e({id:i,styleId:l,replace:a}),r.apply(o,s)}))})),r.CSSStyleSheet.prototype.replaceSync&&(i=r.CSSStyleSheet.prototype.replaceSync,r.CSSStyleSheet.prototype.replaceSync=new Proxy(i,{apply:Ye(((r,o,s)=>{const[a]=s,{id:i,styleId:l}=je(o,t,n.styleMirror);return(i&&-1!==i||l&&-1!==l)&&e({id:i,styleId:l,replaceSync:a}),r.apply(o,s)}))}));const l={};$e("CSSGroupingRule")?l.CSSGroupingRule=r.CSSGroupingRule:($e("CSSMediaRule")&&(l.CSSMediaRule=r.CSSMediaRule),$e("CSSConditionRule")&&(l.CSSConditionRule=r.CSSConditionRule),$e("CSSSupportsRule")&&(l.CSSSupportsRule=r.CSSSupportsRule));const c={};return Object.entries(l).forEach((([r,o])=>{c[r]={insertRule:o.prototype.insertRule,deleteRule:o.prototype.deleteRule},o.prototype.insertRule=new Proxy(c[r].insertRule,{apply:Ye(((r,o,s)=>{const[a,i]=s,{id:l,styleId:c}=je(o.parentStyleSheet,t,n.styleMirror);return(l&&-1!==l||c&&-1!==c)&&e({id:l,styleId:c,adds:[{rule:a,index:[...He(o),i||0]}]}),r.apply(o,s)}))}),o.prototype.deleteRule=new Proxy(c[r].deleteRule,{apply:Ye(((r,o,s)=>{const[a]=s,{id:i,styleId:l}=je(o.parentStyleSheet,t,n.styleMirror);return(i&&-1!==i||l&&-1!==l)&&e({id:i,styleId:l,removes:[{index:[...He(o),a]}]}),r.apply(o,s)}))})})),Ye((()=>{r.CSSStyleSheet.prototype.insertRule=o,r.CSSStyleSheet.prototype.deleteRule=s,a&&(r.CSSStyleSheet.prototype.replace=a),i&&(r.CSSStyleSheet.prototype.replaceSync=i),Ob
vendor: 3,292 bytes, line 1
1ject.entries(l).forEach((([e,t])=>{t.prototype.insertRule=c[e].insertRule,t.prototype.deleteRule=c[e].deleteRule}))}))}(e,{win:n}),u=Je(e,e.doc),h=function({styleDeclarationCb:e,mirror:t,ignoreCSSAttributes:n,stylesheetManager:r},{win:o}){const s=o.CSSStyleDeclaration.prototype.setProperty;o.CSSStyleDeclaration.prototype.setProperty=new Proxy(s,{apply:Ye(((o,a,i)=>{var l;const[c,d,u]=i;if(n.has(c))return s.apply(a,[c,d,u]);const{id:h,styleId:p}=je(null==(l=a.parentRule)?void 0:l.parentStyleSheet,t,r.styleMirror);return(h&&-1!==h||p&&-1!==p)&&e({id:h,styleId:p,set:{property:c,value:d,priority:u},index:He(a.parentRule)}),o.apply(a,i)}))});const a=o.CSSStyleDeclaration.prototype.removeProperty;return o.CSSStyleDeclaration.prototype.removeProperty=new Proxy(a,{apply:Ye(((o,s,i)=>{var l;const[c]=i;if(n.has(c))return a.apply(s,[c]);const{id:d,styleId:u}=je(null==(l=s.parentRule)?void 0:l.parentStyleSheet,t,r.styleMirror);return(d&&-1!==d||u&&-1!==u)&&e({id:d,styleId:u,remove:{property:c},index:He(s.parentRule)}),o.apply(s,i)}))}),Ye((()=>{o.CSSStyleDeclaration.prototype.setProperty=s,o.CSSStyleDeclaration.prototype.removeProperty=a}))}(e,{win:n}),e.collectFonts&&(p=function({fontCb:e,doc:t}){const n=t.defaultView;if(!n)return()=>{};const r=[],o=new WeakMap,s=n.FontFace;n.FontFace=function(e,t,n){const r=new s(e,t,n);return o.set(r,{family:e,buffer:"string"!=typeof t,descriptors:n,fontSource:"string"==typeof t?t:JSON.stringify(Array.from(new Uint8Array(t)))}),r};const a=$(t.fonts,"add",(function(t){return function(n){return setTimeout(Ye((()=>{const t=o.get(n);t&&(e(t),o.delete(n))})),0),t.apply(this,[n])}}));return r.push((()=>{n.FontFace=s})),r.push(a),Ye((()=>{r.forEach((e=>e()))}))}(e)));const m=function(e){const{doc:t,mirror:n,blockClass:r,blockSelector:o,selectionCb:s}=e;let a=!0;const i=Ye((()=>{const e=t.getSelection();if(!e||a&&(null==e?void 0:e.isCollapsed))return;a=e.isCollapsed||!1;const i=[],l=e.rangeCount||0;for(let t=0;t<l;t++){const s=e.getRangeAt(t),{startContainer:a,startOffset:l,endContainer:c,endOffset:d}=s;oe(a,r,o,!0)||oe(c,r,o,!0)||i.push({start:n.getId(a),startOffset:l,end:n.getId(c),endOffset:d})}s({ranges:i})}));return i(),H("selectionchange",i)}(e),f=function({doc:e,customElementCb:t}){const n=e.defaultView;return n&&n.customElements?$(n.customElements,"define",(function(e){return function(n,r,o){try{t({define:{name:n}})}catch(s){console.warn(`Custom element callback failed for ${n}`)}return e.apply(this,[n,r,o])}})):()=>{}}(e),y=[];for(const g of e.plugins)y.push(g.observer(g.callback,n,g.options));return Ye((()=>{Ze.forEach((e=>e.reset())),null==r||r.disconnect(),o(),s(),a(),i(),l(),c(),d(),u(),h(),p(),m(),f(),y.forEach((e=>e()))}))}function Qe(e){return void 0!==window[e]}function $e(e){return Boolean(void 0!==window[e]&&window[e].prototype&&"insertRule"in window[e].prototype&&"deleteRule"in window[e].prototype)}class qe{constructor(e){s(this,"iframeIdToRemoteIdMap",new WeakMap),s(this,"iframeRemoteIdToIdMap",new WeakMap),this.generateIdFn=e}getId(e,t,n,r){const o=n||this.getIdToRemoteIdMap(e),s=r||this.getRemoteIdToIdMap(e);let a=o.get(t);return a||(a=this.generateIdFn(),o.set(t,a),s.set(a,t)),a}getIds(e,t){const n=this.getIdToRemoteIdMap(e),r=this.getRemoteIdToIdMap(e);return t.map((t=>this.getId(e,t,n,r)))}
vendor: 9,070 bytes, line 1
1getRemoteId(e,t,n){const r=n||this.getRemoteIdToIdMap(e);if("number"!=typeof t)return t;const o=r.get(t);return o||-1}getRemoteIds(e,t){const n=this.getRemoteIdToIdMap(e);return t.map((t=>this.getRemoteId(e,t,n)))}reset(e){if(!e)return this.iframeIdToRemoteIdMap=new WeakMap,void(this.iframeRemoteIdToIdMap=new WeakMap);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 et{constructor(e){s(this,"iframes",new WeakMap),s(this,"crossOriginIframeMap",new WeakMap),s(this,"crossOriginIframeMirror",new qe(k)),s(this,"crossOriginIframeStyleMirror"),s(this,"crossOriginIframeRootIdMap",new WeakMap),s(this,"mirror"),s(this,"mutationCb"),s(this,"wrappedEmit"),s(this,"loadListener"),s(this,"stylesheetManager"),s(this,"recordCrossOriginIframes"),this.mutationCb=e.mutationCb,this.wrappedEmit=e.wrappedEmit,this.stylesheetManager=e.stylesheetManager,this.recordCrossOriginIframes=e.recordCrossOriginIframes,this.crossOriginIframeStyleMirror=new qe(this.stylesheetManager.styleMirror.generateId.bind(this.stylesheetManager.styleMirror)),this.mirror=e.mirror,this.recordCrossOriginIframes&&window.addEventListener("message",this.handleMessage.bind(this))}addIframe(e){this.iframes.set(e,!0),e.contentWindow&&this.crossOriginIframeMap.set(e.contentWindow,e)}addLoadListener(e){this.loadListener=e}attachIframe(e,t){var n,r;this.mutationCb({adds:[{parentId:this.mirror.getId(e),nextId:null,node:t}],removes:[],texts:[],attributes:[],isAttachIframe:!0}),this.recordCrossOriginIframes&&(null==(n=e.contentWindow)||n.addEventListener("message",this.handleMessage.bind(this))),null==(r=this.loadListener)||r.call(this,e),e.contentDocument&&e.contentDocument.adoptedStyleSheets&&e.contentDocument.adoptedStyleSheets.length>0&&this.stylesheetManager.adoptStyleSheets(e.contentDocument.adoptedStyleSheets,this.mirror.getId(e.contentDocument))}handleMessage(e){const t=e;if("rrweb"!==t.data.type||t.origin!==t.data.origin)return;if(!e.source)return;const n=this.crossOriginIframeMap.get(e.source);if(!n)return;const r=this.transformCrossOriginEvent(n,t.data.event);r&&this.wrappedEmit(r,t.data.isCheckout)}transformCrossOriginEvent(e,t){var n;switch(t.type){case ke.FullSnapshot:{this.crossOriginIframeMirror.reset(e),this.crossOriginIframeStyleMirror.reset(e),this.replaceIdOnNode(t.data.node,e);const n=t.data.node.id;return this.crossOriginIframeRootIdMap.set(e,n),this.patchRootIdOnNode(t.data.node,n),{timestamp:t.timestamp,type:ke.IncrementalSnapshot,data:{source:Me.Mutation,adds:[{parentId:this.mirror.getId(e),nextId:null,node:t.data.node}],removes:[],texts:[],attributes:[],isAttachIframe:!0}}}case ke.Meta:case ke.Load:case ke.DomContentLoaded:return!1;case ke.Plugin:return t;case ke.Custom:return this.replaceIds(t.data.payload,e,["id","parentId","previousId","nextId"]),t;case ke.IncrementalSnapshot:switch(t.data.source){case Me.Mutation:return t.data.adds.forEach((t=>{this.replaceIds(t,e,["parentId","nextId","previousId"]),this.replaceIdOnNode(t.node,e);const n=this.crossOriginIframeRootIdMap.get(e);n&&this.patchRootIdOnNode(t.node,n)})),t.data.removes.forEach((t=>{this.replaceIds(t,e,["parentId","id"])})),t.data.attributes.forEach((t=>{this.replaceIds(t,e,["id"])})),t.data.texts.forEach((t=>{this.replaceIds(t,e,["id"])})),t;case Me.Drag:case Me.TouchMove:case Me.MouseMove:return t.data.positions.forEach((t=>{this.replaceIds(t,e,["id"])})),t;case Me.ViewportResize:return!1;case Me.MediaInteraction:case Me.MouseInteraction:case Me.Scroll:case Me.CanvasMutation:case Me.Input:return this.replaceIds(t.data,e,["id"]),t;case Me.StyleSheetRule:case Me.StyleDeclaration:return this.replaceIds(t.data,e,["id"]),this.replaceStyleIds(t.data,e,["styleId"]),t;case Me.Font:return t;case Me.Selection:return t.data.ranges.forEach((t=>{this.replaceIds(t,e,["start","end"])})),t;case Me.AdoptedStyleSheet:return this.replaceIds(t.data,e,["id"]),this.replaceStyleIds(t.data,e,["styleIds"]),null==(n=t.data.styles)||n.forEach((t=>{this.replaceStyleIds(t,e,["styleId"])})),t}}return!1}replace(e,t,n,r){for(const o of r)(Array.isArray(t[o])||"number"==typeof t[o])&&(Array.isArray(t[o])?t[o]=e.getIds(n,t[o]):t[o]=e.getId(n,t[o]));return t}replaceIds(e,t,n){return this.replace(this.crossOriginIframeMirror,e,t,n)}replaceStyleIds(e,t,n){return this.replace(this.crossOriginIframeStyleMirror,e,t,n)}replaceIdOnNode(e,t){this.replaceIds(e,t,["id","rootId"]),"childNodes"in e&&e.childNodes.forEach((e=>{this.replaceIdOnNode(e,t)}))}patchRootIdOnNode(e,t){e.type===l.Document||e.rootId||(e.rootId=t),"childNodes"in e&&e.childNodes.forEach((e=>{this.patchRootIdOnNode(e,t)}))}}class tt{constructor(e){s(this,"shadowDoms",new WeakSet),s(this,"mutationCb"),s(this,"scrollCb"),s(this,"bypassOptions"),s(this,"mirror"),s(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(!u(e))return;if(this.shadowDoms.has(e))return;this.shadowDoms.add(e);const n=Ve({...this.bypassOptions,doc:t,mutationCb:this.mutationCb,mirror:this.mirror,shadowDomManager:this},e);this.restoreHandlers.push((()=>n.disconnect())),this.restoreHandlers.push(ze({...this.bypassOptions,scrollCb:this.scrollCb,doc:e,mirror:this.mirror})),setTimeout((()=>{e.adoptedStyleSheets&&e.adoptedStyleSheets.length>0&&this.bypassOptions.stylesheetManager.adoptStyleSheets(e.adoptedStyleSheets,this.mirror.getId(e.host)),this.restoreHandlers.push(Je({mirror:this.mirror,stylesheetManager:this.bypassOptions.stylesheetManager},e))}),0)}observeAttachShadow(e){e.contentWindow&&e.contentDocument&&this.patchAttachShadow(e.contentWindow.Element,e.contentDocument)}patchAttachShadow(e,t){const n=this;this.restoreHandlers.push($(e.prototype,"attachShadow",(function(e){return function(r){const o=e.call(this,r);return this.shadowRoot&&we(this)&&n.addShadowRoot(this.shadowRoot,t),o}})))}reset(){this.restoreHandlers.forEach((e=>{try{e()}catch(t){}})),this.restoreHandlers=[],this.shadowDoms=new WeakSet}}for(var nt="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",rt="undefined"==typeof Uint8Array?[]:new Uint8Array(256),ot=0;ot<64;ot++)rt[nt.charCodeAt(ot)]=ot;const st=new Map;const at=(e,t,n)=>{if(!e||!ct(e,t)&&"object"!=typeof e)return;const r=function(e,t){let n=st.get(e);return n||(n=new Map,st.set(e,n)),n.has(t)||n.set(t,[]),n.get(t)}(n,e.constructor.name);let o=r.indexOf(e);return-1===o&&(o=r.length,r.push(e)),o};function it(e,t,n){if(e instanceof Array)return e.map((e=>it(e,t,n)));if(null===e)return e;if(e instanceof Float32Array||e instanceof Float64Array||e instanceof Int32Array||e instanceof Uint32Array||e instanceof Uint8Array||e instanceof Uint16Array||e instanceof Int16Array||e instanceof Int8Array||e instanceof Uint8ClampedArray){return{rr_type:e.constructor.name,args:[Object.values(e)]}}if(e instanceof ArrayBuffer){return{rr_type:e.constructor.name,base64:function(e){var t,n=new Uint8Array(e),r=n.length,o="";for(t=0;t<r;t+=3)o+=nt[n[t]>>2],o+=nt[(3&n[t])<<4|n[t+1]>>4],o+=nt[(15&n[t+1])<<2|n[t+2]>>6],o+=nt[63&n[t+2]];return r%3==2?o=o.substring(0,o.length-1)+"=":r%3==1&&(o=o.substring(0,o.length-2)+"=="),o}(e)}}if(e instanceof DataView){return{rr_type:e.constructor.name,args:[it(e.buffer,t,n),e.byteOffset,e.byteLength]}}if(e instanceof HTMLImageElement){const t=e.constructor.name,{src:n}=e;return{rr_type:t,src:n}}if(e instanceof HTMLCanvasElement){return{rr_type:"HTMLImageElement",src:e.toDataURL()}}if(e instanceof ImageData){return{rr_type:e.constructor.name,args:[it(e.data,t,n),e.width,e.height]}}if(ct(e,t)||"object"==typeof e){return{rr_type:e.constructor.name,index:at(e,t,n)}}return e}const lt=(e,t,n)=>e.map((e=>it(e,t,n))),ct=(e,t)=>{const n=["WebGLActiveInfo","WebGLBuffer","WebGLFramebuffer","WebGLProgram","WebGLRenderbuffer","WebGLShader","WebGLShaderPrecisionFormat","WebGLTexture","WebGLUniformLocation","WebGLVertexArrayObject","WebGLVertexArrayObjectOES"].filter((e=>"function"==typeof t[e]));return Boolean(n.find((n=>e instanceof t[n])))};function dt(e,t,n,r){const o=[];try{const s=$(e.HTMLCanvasElement.prototype,"getContext",(function(e){return function(o,...s){if(!oe(this,t,n,!0)){const e=function(e){return"experimental-webgl"===e?"webgl":e}(o);if("__context"in this||(this.__context=e),r&&["webgl","webgl2"].includes(e))if(s[0]&&"object"==typeof s[0]){const e=s[0];e.preserveDrawingBuffer||(e.preserveDrawingBuffer=!0)}else s.splice(0,1,{preserveDrawingBuffer:!0})}return e.apply(this,[o,...s])}}));o.push(s)}catch{console.error("failed to patch HTMLCanvasElement.prototype.getContext")}return()=>{o.forEach((e=>e()))}}function ut(e,t,n,r,o,s,a){const i=[],l=Object.getOwnPropertyNames(e);for(const c of l)if(!["isContextLost","canvas","drawingBufferWidth","drawingBufferHeight"].includes(c))try{if
vendor: 1,708 bytes, line 1
1("function"!=typeof e[c])continue;const s=$(e,c,(function(e){return function(...s){const i=e.apply(this,s);if(at(i,a,this),"tagName"in this.canvas&&!oe(this.canvas,r,o,!0)){const e=lt(s,a,this),r={type:t,property:c,args:e};n(this.canvas,r)}return i}}));i.push(s)}catch{const r=Q(e,c,{set(e){n(this.canvas,{type:t,property:c,args:[e],setter:!0})}});i.push(r)}return i}const ht="KGZ1bmN0aW9uKCkgewogICJ1c2Ugc3RyaWN0IjsKICB2YXIgY2hhcnMgPSAiQUJDREVGR0hJSktMTU5PUFFSU1RVVldYWVphYmNkZWZnaGlqa2xtbm9wcXJzdHV2d3h5ejAxMjM0NTY3ODkrLyI7CiAgdmFyIGxvb2t1cCA9IHR5cGVvZiBVaW50OEFycmF5ID09PSAidW5kZWZpbmVkIiA/IFtdIDogbmV3IFVpbnQ4QXJyYXkoMjU2KTsKICBmb3IgKHZhciBpID0gMDsgaSA8IGNoYXJzLmxlbmd0aDsgaSsrKSB7CiAgICBsb29rdXBbY2hhcnMuY2hhckNvZGVBdChpKV0gPSBpOwogIH0KICB2YXIgZW5jb2RlID0gZnVuY3Rpb24oYXJyYXlidWZmZXIpIHsKICAgIHZhciBieXRlcyA9IG5ldyBVaW50OEFycmF5KGFycmF5YnVmZmVyKSwgaTIsIGxlbiA9IGJ5dGVzLmxlbmd0aCwgYmFzZTY0ID0gIiI7CiAgICBmb3IgKGkyID0gMDsgaTIgPCBsZW47IGkyICs9IDMpIHsKICAgICAgYmFzZTY0ICs9IGNoYXJzW2J5dGVzW2kyXSA+PiAyXTsKICAgICAgYmFzZTY0ICs9IGNoYXJzWyhieXRlc1tpMl0gJiAzKSA8PCA0IHwgYnl0ZXNbaTIgKyAxXSA+PiA0XTsKICAgICAgYmFzZTY0ICs9IGNoYXJzWyhieXRlc1tpMiArIDFdICYgMTUpIDw8IDIgfCBieXRlc1tpMiArIDJdID4+IDZdOwogICAgICBiYXNlNjQgKz0gY2hhcnNbYnl0ZXNbaTIgKyAyXSAmIDYzXTsKICAgIH0KICAgIGlmIChsZW4gJSAzID09PSAyKSB7CiAgICAgIGJhc2U2NCA9IGJhc2U2NC5zdWJzdHJpbmcoMCwgYmFzZTY0Lmxlbmd0aCAtIDEpICsgIj0iOwogICAgfSBlbHNlIGlmIChsZW4gJSAzID09PSAxKSB7CiAgICAgIGJhc2U2NCA9IGJhc2U2NC5zdWJzdHJpbmcoMCwgYmFzZTY0Lmxlbmd0aCAtIDIpICsgIj09IjsKICAgIH0KICAgIHJldHVybiBiYXNlNjQ7CiAgfTsKICBjb25zdCBsYXN0QmxvYk1hcCA9IC8qIEBfX1BVUkVfXyAqLyBuZXcgTWFwKCk7CiAgY29uc3QgdHJhbnNwYXJlbnRCbG9iTWFwID0gLyogQF9fUFVSRV9fICovIG5ldyBNYXAoKTsKICBhc3luYyBmdW5jdGlvbiBnZXRUcmFuc3B
1hcmVudEJsb2JGb3Iod2lkdGgsIGhlaWdodCwgZGF0YVVSTE9wdGlvbnMpIHsKICAgIGNvbnN0IGlkID0gYCR7d2lkdGh9LSR7aGVpZ2h0fWA7CiAgICBpZiAoIk9mZnNjcmVlbkNhbnZhcyIgaW4gZ2xvYmFsVGhpcykgewogICAgICBpZiAodHJhbnNwYXJlbnRCbG9iTWFwLmhhcyhpZCkpCiAgICAgICAgcmV0dXJuIHRyYW5zcGFyZW50QmxvYk1hcC5nZXQoaWQpOwogICAgICBjb25zdCBvZmZzY3JlZW4gPSBuZXcgT2Zmc2NyZWVuQ2FudmFzKHdpZHRoLCBoZWlnaHQpOwogICAgICBvZmZzY3JlZW4uZ2V0Q29udGV4dCgiMmQiKTsKICAgICAgY29uc3QgYmxvYiA9IGF3YWl0IG9mZnNjcmVlbi5jb252ZXJ0VG9CbG9iKGRhdGFVUkxPcHRpb25zKTsKICAgICAgY29uc3QgYXJyYXlCdWZmZXIgPSBhd2FpdCBibG9iLmFycmF5QnVmZmVyKCk7CiAgICAgIGNvbnN0IGJhc2U2NCA9IGVuY29kZShhcnJheUJ1ZmZlcik7CiAgICAgIHRyYW5zcGFyZW50QmxvYk1hcC5zZXQoaWQsIGJhc2U2NCk7CiAgICAgIHJldHVybiBiYXNlNjQ7CiAgICB9IGVsc2UgewogICAgICByZXR1cm4gIiI7CiAgICB9CiAgfQogIGNvbnN0IHdvcmtlciA9IHNlbGY7CiAgd29ya2VyLm9ubWVzc2FnZSA9IGFzeW5jIGZ1bmN0aW9uKGUpIHsKICAgIGlmICgiT2Zmc2NyZWVuQ2FudmFzIiBpbiBnbG9iYWxUaGlzKSB7CiAgICAgIGNvbnN0IHsgaWQsIGJpdG1hcCwgd2lkdGgsIGhlaWdodCwgZGF0YVVSTE9wdGlvbnMgfSA9IGUuZGF0YTsKICAgICAgY29uc3QgdHJhbnNwYXJlbnRCYXNlNjQgPSBnZXRUcmFuc3B
1hcmVudEJsb2JGb3IoCiAgICAgICAgd2lkdGgsCiAgICAgICAgaGVpZ2h0LAogICAgICAgIGRhdGFVUkxPcHRpb25zCiAgICAgICk7CiAgICAgIGNvbnN0IG9mZnNjcmVlbiA9IG5ldyBPZmZzY3JlZW5DYW52YXMod2lkdGgsIGhlaWdodCk7CiAgICAgIGNvbnN0IGN0eCA9IG9mZnNjcmVlbi5nZXRDb250ZXh0KCIyZCIpOwogICAgICBjdHguZHJhd0ltYWdlKGJpdG1hcCwgMCwgMCk7CiAgICAgIGJpdG1hcC5jbG9zZSgpOwogICAgICBjb25zdCBibG9iID0gYXdhaXQgb2Zmc2NyZWVuLmNvbnZlcnRUb0Jsb2IoZGF0YVVSTE9wdGlvbnMpOwogICAgICBjb25zdCB0eXBlID0gYmxvYi50eXBlOwogICAgICBjb25zdCBhcnJheUJ1ZmZlciA9IGF3YWl0IGJsb2IuYXJyYXlCdWZmZXIoKTsKICAgICAgY29uc3QgYmFzZTY0ID0gZW5jb2RlKGFycmF5QnVmZmVyKTsKICAgICAgaWYgKCFsYXN0QmxvYk1hcC5oYXMoaWQpICYmIGF3YWl0IHRyYW5zcGFyZW50QmFzZTY0ID09PSBiYXNlNjQpIHsKICAgICAgICBsYXN0QmxvYk1hcC5zZXQoaWQsIGJhc2U2NCk7CiAgICAgICAgcmV0dXJuIHdvcmtlci5wb3N0TWVzc2FnZSh7IGlkIH0pOwogICAgICB9CiAgICAgIGlmIChsYXN0QmxvYk1hcC5nZXQoaWQpID09PSBiYXNlNjQpCiAgICAgICAgcmV0dXJuIHdvcmtlci5wb3N0TWVzc2FnZSh7IGlkIH0pOwogICAgICB3b3JrZXIucG9zdE1lc3NhZ2UoewogICAgICAgIGlkLAogICAgICAgIHR5cGUsCiAgICAgICAgYmFzZTY0LAogICAgICAgIHdpZHRoLAogICAgICAgIGhlaWdodAogICAgICB9KTsKICAgICAgbGFzdEJsb2JNYXAuc2V0KGlkLCBiYXNlNjQpOwogICAgfSBlbHNlIHsKICAgICAgcmV0dXJuIHdvcmtlci5wb3N0TWVzc2FnZSh7IGlkOiBlLmRhdGEuaWQgfSk7CiAgICB9CiAgfTsKfSkoKTsKLy8jIHNvdXJjZU1hcHBpbmdVUkw9aW1hZ2UtYml0bWFwLWRhdGEtdXJsLXdvcmtlci1CWjFyN1JKRC5qcy5tYXAK",pt="undefined"!=typeof window&&window.Blob&&new Blob([(mt=ht,Uint8Array.from(atob(mt),(e=>e.charCodeAt(0))))],{type:"text/javascript;charset=utf-8"});var mt;function ft(e){let t;try{if(t=pt&&(window.URL||window.webkitURL).createObjectURL(pt),!t)throw"";const n=new Worker(t,{name:null==e?void 0:e.name});return n.addEventListener("error",(()=>{(window.URL||window.webkitURL).revokeObjectURL(t)})),n}catch(n){return new Worker("data:text/javascript;base64,"+ht,{name:null==e?void 0:e.name})}finally{t&&(window.URL||window.webkitURL).revokeObjectURL(t)}}class gt{constructor(e){s(this,"pendingCanvasMutations",new Map),s(this,"rafStamps",{latestId:0,invokeId:null}),s(this,"mirror"),s(this,"mutationCb"),s(this,"resetObservers"),s(this,"frozen",!1),s(this,"locked",!1),s(this,"processMutation",((e,t)=>{!(this.rafStamps.invokeId&&this.rafStamps.latestId!==this.rafStamps.invokeId)&&this.rafStamps.invokeId||(this.rafStamps.invokeId=this.rafStamps.latestId),this.pendingCanvasMutations.has(e)||this.pendingCanvasMutations.set(e,[]),this.pendingCanvasMutations.get(e).push(t)}));const{sampling:t="all",win:n,blockClass:r,blockSelector:o,recordCanvas:a,dataURLOptions:i}=e;this.mutationCb=e.mutationCb,this.mirror=e.mirror,a&&"all"===t&&this.initCanvasMutationObserver(n,r,o),a&&"number"==typeof t&&this.initCanvasFPSObserver(t,n,r,o,{dataURLOptions:i})}reset(){this.pendingCanvasMutations.clear(),this.resetObservers&&this.resetObservers()}freeze(){this.frozen=!0}unfreeze(){this.frozen=!1}lock(){this.locked=!0}unlock(){this.locked=!1}initCanvasFPSObserver(e,t,n,r,o){const s=dt(t,n,r,!0),a=new Map,i=new ft;i.onmessage=e=>{const{id:t}=e.data;if(a.set(t,!1),!("base64"in e.data))return;const{base64:n,type:r,width:o,height:s}=e.data;this.mutationCb({id:t,type:Ne["2D"],commands:[{property:"clearRect",args:[0,0,o,s]},{property:"drawImage",args:[{rr_type:"ImageBitmap",args:[{rr_type:"Blob",data:[{rr_type:"ArrayBuffer",base64:n}],type:r}]},0,0]}]})};const l=1e3/e;let c,d=0;const u=e=>{d&&e-d<l||(d=e,(()=>{const e=[];return t.document.querySelectorAll("canvas").forEach((t=>{oe(t,n,r,!0)||e.push(t)})),e}
vendor: 11,291 bytes, line 1
1)().forEach((async e=>{var t;const n=this.mirror.getId(e);if(a.get(n))return;if(0===e.width||0===e.height)return;if(a.set(n,!0),["webgl","webgl2"].includes(e.__context)){const n=e.getContext(e.__context);!1===(null==(t=null==n?void 0:n.getContextAttributes())?void 0:t.preserveDrawingBuffer)&&n.clear(n.COLOR_BUFFER_BIT)}const r=await createImageBitmap(e);i.postMessage({id:n,bitmap:r,width:e.width,height:e.height,dataURLOptions:o.dataURLOptions},[r])}))),c=requestAnimationFrame(u)};c=requestAnimationFrame(u),this.resetObservers=()=>{s(),cancelAnimationFrame(c)}}initCanvasMutationObserver(e,t,n){this.startRAFTimestamping(),this.startPendingCanvasMutationFlusher();const r=dt(e,t,n,!1),o=function(e,t,n,r){const o=[],s=Object.getOwnPropertyNames(t.CanvasRenderingContext2D.prototype);for(const a of s)try{if("function"!=typeof t.CanvasRenderingContext2D.prototype[a])continue;const s=$(t.CanvasRenderingContext2D.prototype,a,(function(o){return function(...s){return oe(this.canvas,n,r,!0)||setTimeout((()=>{const n=lt(s,t,this);e(this.canvas,{type:Ne["2D"],property:a,args:n})}),0),o.apply(this,s)}}));o.push(s)}catch{const n=Q(t.CanvasRenderingContext2D.prototype,a,{set(t){e(this.canvas,{type:Ne["2D"],property:a,args:[t],setter:!0})}});o.push(n)}return()=>{o.forEach((e=>e()))}}(this.processMutation.bind(this),e,t,n),s=function(e,t,n,r,o){const s=[];return s.push(...ut(t.WebGLRenderingContext.prototype,Ne.WebGL,e,n,r,0,t)),void 0!==t.WebGL2RenderingContext&&s.push(...ut(t.WebGL2RenderingContext.prototype,Ne.WebGL2,e,n,r,0,t)),()=>{s.forEach((e=>e()))}}(this.processMutation.bind(this),e,t,n,this.mirror);this.resetObservers=()=>{r(),o(),s()}}startPendingCanvasMutationFlusher(){requestAnimationFrame((()=>this.flushPendingCanvasMutations()))}startRAFTimestamping(){const e=t=>{this.rafStamps.latestId=t,requestAnimationFrame(e)};requestAnimationFrame(e)}flushPendingCanvasMutations(){this.pendingCanvasMutations.forEach(((e,t)=>{const n=this.mirror.getId(t);this.flushPendingCanvasMutationFor(t,n)})),requestAnimationFrame((()=>this.flushPendingCanvasMutations()))}flushPendingCanvasMutationFor(e,t){if(this.frozen||this.locked)return;const n=this.pendingCanvasMutations.get(e);if(!n||-1===t)return;const r=n.map((e=>{const{type:t,...n}=e;return n})),{type:o}=n[0];this.mutationCb({id:t,type:o,commands:r}),this.pendingCanvasMutations.delete(e)}}class yt{constructor(e){s(this,"trackedLinkElements",new WeakSet),s(this,"mutationCb"),s(this,"adoptedStyleSheetCb"),s(this,"styleMirror",new Se),this.mutationCb=e.mutationCb,this.adoptedStyleSheetCb=e.adoptedStyleSheetCb}attachLinkElement(e,t){"_cssText"in t.attributes&&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;const n={id:t,styleIds:[]},r=[];for(const o of e){let e;this.styleMirror.has(o)?e=this.styleMirror.getId(o):(e=this.styleMirror.add(o),r.push({styleId:e,rules:Array.from(o.rules||CSSRule,((e,t)=>({rule:p(e),index:t})))})),n.styleIds.push(e)}r.length>0&&(n.styles=r),this.adoptedStyleSheetCb(n)}reset(){this.styleMirror.reset(),this.trackedLinkElements=new WeakSet}trackStylesheetInLinkElement(e){}}class It{constructor(){s(this,"nodeMap",new WeakMap),s(this,"active",!1)}inOtherBuffer(e,t){const n=this.nodeMap.get(e);return n&&Array.from(n).some((e=>e!==t))}add(e,t){this.active||(this.active=!0,requestAnimationFrame((()=>{this.nodeMap=new WeakMap,this.active=!1}))),this.nodeMap.set(e,(this.nodeMap.get(e)||new Set).add(t))}destroy(){}}let St,Ct,bt,vt=!1;try{if(2!==Array.from([1],(e=>2*e))[0]){const e=document.createElement("iframe");document.body.appendChild(e),Array.from=(null==(r=e.contentWindow)?void 0:r.Array.from)||Array.from,document.body.removeChild(e)}}catch(Rt){console.debug("Unable to override Array.from",Rt)}const wt=f();function kt(e={}){const{emit:t,checkoutEveryNms:n,checkoutEveryNth:r,blockClass:o="rr-block",blockSelector:s=null,ignoreClass:a="rr-ignore",ignoreSelector:i=null,maskTextClass:l="rr-mask",maskTextSelector:c=null,inlineStylesheet:d=!0,maskAllInputs:u,maskInputOptions:h,slimDOMOptions:p,maskInputFn:f,maskTextFn:g,hooks:y,packFn:I,sampling:S={},dataURLOptions:C={},mousemoveWait:b,recordDOM:v=!0,recordCanvas:w=!1,recordCrossOriginIframes:k=!1,recordAfter:M=("DOMContentLoaded"===e.recordAfter?e.recordAfter:"load"),userTriggeredOnInput:A=!1,collectFonts:T=!1,inlineImages:N=!1,plugins:O,keepIframeSrcFn:R=(()=>!1),ignoreCSSAttributes:E=new Set([]),errorHandler:x}=e;_e=x;const L=!k||window.parent===window;let D=!1;if(!L)try{window.parent.document&&(D=!1)}catch(J){D=!0}if(L&&!t)throw new Error("emit function is required");if(!L&&!D)return()=>{};void 0!==b&&void 0===S.mousemove&&(S.mousemove=b),wt.reset();const F=!0===u?{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,password:!0}:void 0!==h?h:{password:!0},W=!0===p||"all"===p?{script:!0,comment:!0,headFavicon:!0,headWhitespace:!0,headMetaSocial:!0,headMetaRobots:!0,headMetaHttpEquiv:!0,headMetaVerification:!0,headMetaAuthorship:"all"===p,headMetaDescKeywords:"all"===p,headTitleMutations:"all"===p}:p||{};let G;ce();let _=0;const Y=e=>{for(const t of O||[])t.eventProcessor&&(e=t.eventProcessor(e));return I&&!D&&(e=I(e)),e};St=(e,o)=>{var s;const a=e;if(a.timestamp=q(),!(null==(s=Ze[0])?void 0:s.isFrozen())||a.type===ke.FullSnapshot||a.type===ke.IncrementalSnapshot&&a.data.source===Me.Mutation||Ze.forEach((e=>e.unfreeze())),L)null==t||t(Y(a),o);else if(D){const e={type:"rrweb",event:Y(a),origin:window.location.origin,isCheckout:o};window.parent.postMessage(e,"*")}if(a.type===ke.FullSnapshot)G=a,_=0;else if(a.type===ke.IncrementalSnapshot){if(a.data.source===Me.Mutation&&a.data.isAttachIframe)return;_++;const e=r&&_>=r,t=n&&a.timestamp-G.timestamp>n;(e||t)&&Ct(!0)}};const Z=e=>{St({type:ke.IncrementalSnapshot,data:{source:Me.Mutation,...e}})},B=e=>St({type:ke.IncrementalSnapshot,data:{source:Me.Scroll,...e}}),V=e=>St({type:ke.IncrementalSnapshot,data:{source:Me.CanvasMutation,...e}}),U=new yt({mutationCb:Z,adoptedStyleSheetCb:e=>St({type:ke.IncrementalSnapshot,data:{source:Me.AdoptedStyleSheet,...e}})}),P=new et({mirror:wt,mutationCb:Z,stylesheetManager:U,recordCrossOriginIframes:k,wrappedEmit:St});for(const m of O||[])m.getMirror&&m.getMirror({nodeMirror:wt,crossOriginIframeMirror:P.crossOriginIframeMirror,crossOriginIframeStyleMirror:P.crossOriginIframeStyleMirror});const X=new It;bt=new gt({recordCanvas:w,mutationCb:V,win:window,blockClass:o,blockSelector:s,mirror:wt,sampling:S.canvas,dataURLOptions:C});const j=new tt({mutationCb:Z,scrollCb:B,bypassOptions:{blockClass:o,blockSelector:s,maskTextClass:l,maskTextSelector:c,inlineStylesheet:d,maskInputOptions:F,dataURLOptions:C,maskTextFn:g,maskInputFn:f,recordCanvas:w,inlineImages:N,sampling:S,slimDOMOptions:W,iframeManager:P,stylesheetManager:U,canvasManager:bt,keepIframeSrcFn:R,processedNodeManager:X},mirror:wt});Ct=(e=!1)=>{if(!v)return;St({type:ke.Meta,data:{href:window.location.href,width:ne(),height:te()}},e),U.reset(),j.init(),Ze.forEach((e=>e.lock()));const t=function(e,t){const{mirror:n=new m,blockClass:r="rr-block",blockSelector:o=null,maskTextClass:s="rr-mask",maskTextSelector:a=null,inlineStylesheet:i=!0,inlineImages:l=!1,recordCanvas:c=!1,maskAllInputs:d=!1,maskTextFn:u,maskInputFn:h,slimDOM:p=!1,dataURLOptions:f,preserveWhiteSpace:g,onSerialize:y,onIframeLoad:I,iframeLoadTimeout:S,onStylesheetLoad:C,stylesheetLoadTimeout:b,keepIframeSrcFn:v=(()=>!1)}=t||{};return z(e,{doc:e,mirror:n,blockClass:r,blockSelector:o,maskTextClass:s,maskTextSelector:a,skipChild:!1,inlineStylesheet:i,maskInputOptions:!0===d?{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,password:!0}:!1===d?{password:!0}:d,maskTextFn:u,maskInputFn:h,slimDOMOptions:!0===p||"all"===p?{script:!0,comment:!0,headFavicon:!0,headWhitespace:!0,headMetaDescKeywords:"all"===p,headMetaSocial:!0,headMetaRobots:!0,headMetaHttpEquiv:!0,headMetaAuthorship:!0,headMetaVerification:!0}:!1===p?{}:p,dataURLOptions:f,inlineImages:l,recordCanvas:c,preserveWhiteSpace:g,onSerialize:y,onIframeLoad:I,iframeLoadTimeout:S,onStylesheetLoad:C,stylesheetLoadTimeout:b,keepIframeSrcFn:v,newlyAddedElement:!1})}(document,{mirror:wt,blockClass:o,blockSelector:s,maskTextClass:l,maskTextSelector:c,inlineStylesheet:d,maskAllInputs:F,maskTextFn:g,slimDOM:W,dataURLOptions:C,recordCanvas:w,inlineImages:N,onSerialize:e=>{he(e,wt)&&P.addIframe(e),pe(e,wt)&&U.trackLinkElement(e),fe(e)&&j.addShadowRoot(e.shadowRoot,document)},onIframeLoad:(e,t)=>{P.attachIframe(e,t),j.observeAttachShadow(e)},onStylesheetLoad:(e,t)=>{U.attachLinkElement(e,t)},keepIframeSrcFn:R});if(!t)return console.warn("Failed to snapshot the document");St({type:ke.FullSnapshot,data:{node:t,initialOffset:ee(window)}},e),Ze.forEach((e=>e.unlock())),document.adoptedStyleSheets&&document.adoptedStyleSheets.length>0&&U.adoptStyleSheets(document.adoptedStyleSheets,wt.getId(document))};try{const e=[],t=e=>{var t;return Ye(Ke)({mutationCb:Z,mousemoveCb:(e,t)=>St({type:ke.IncrementalSnapshot,data:{source:t,positions:e}}),mouseInteractionCb:e=>St({type:ke.IncrementalSnapshot,data:{source:Me.MouseInteraction,...e}}),scrollCb:B,viewportResizeCb:e=>St({type:ke.IncrementalSnapshot,data:{source:Me.ViewportResize,...e}}),inputCb:e=>St({type:ke.IncrementalSnapshot,data:{source:Me.Input,...e}}),mediaInteractionCb:e=>St({type:ke.IncrementalSnapshot,data:{source:Me.MediaInteraction,...e}}),styleSheetRuleCb:e=>St({type:ke.IncrementalSnapshot,data:{source:Me.StyleSheetRule,...e}}),styleDeclarationCb:e=>St({type:ke.IncrementalSnapshot,data:{source:Me.StyleDeclaration,...e}}),canvasMutationCb:V,fontCb:e=>St({type:ke.IncrementalSnapshot,data:{source:Me.Font,...e}}),selectionCb:e=>{St({type:ke.IncrementalSnapshot,data:{source:Me.Selection,...e}})},customElementCb:e=>{St({type:ke.IncrementalSnapshot,data:{source:Me.CustomElement,...e}})},blockClass:o,ignoreClass:a,ignoreSelector:i,maskTextClass:l,maskTextSelector:c,maskInputOptions:F,inlineStylesheet:d,sampling:S,recordDOM:v,recordCanvas:w,inlineImages:N,userTriggeredOnInput:A,collectFonts:T,doc:e,maskInputFn:f,maskTextFn:g,keepIframeSrcFn:R,blockSelector:s,slimDOMOptions:W,dataURLOptions:C,mirror:wt,iframeManager:P,stylesheetManager:U,shadowDomManager:j,processedNodeManager:X,canvasManager:bt,ignoreCSSAttributes:E,plugins:(null==(t=null==O?void 0:O.filter((e=>e.observer)))?void 0:t.map((e=>({observer:e.observer,options:e.options,callback:t=>St({type:ke.Plugin,data:{plugin:e.name,payload:t}})}))))||[]},y)};P.addLoadListener((n=>{try{e.push(t(n.contentDocument))}catch(r){console.warn(r)}}));const n=()=>{Ct(),e.push(t(document)),vt=!0};return"interactive"===document.readyState||"complete"===document.readyState?n():(e.push(H("DOMContentLoaded",(()=>{St({type:ke.DomContentLoaded,data:{}}),"DOMContentLoaded"===M&&n()}))),e.push(H("load",(()=>{St({type:ke.Load,data:{}}),"load"===M&&n()}),window))),()=>{e.forEach((e=>e())),X.destroy(),vt=!1,_e=void 0}}catch(K){console.warn(K)}}kt.addCustomEvent=(e,t)=>
1{if(!vt)throw new Error("please add custom event after start recording");St({type:ke.Custom,data:{tag:e,payload:t}})},kt.freezePage=()=>{Ze.forEach((e=>e.freeze()))},kt.takeFullSnapshot=e=>{if(!vt)throw new Error("please take full snapshot after start recording");Ct(e)},kt.mirror=wt;Object.defineProperty,Object.defineProperty;function Mt(e){return{all:e=e||new Map,on:function(t,n){var r=e.get(t);r?r.push(n):e.set(t,[n])},off:function(t,n){var r=e.get(t);r&&(n?r.splice(r.indexOf(n)>>>0,1):e.set(t,[]))},emit:function(t,n){var r=e.get(t);r&&r.slice().map((function(e){e(n)})),(r=e.get("*"))&&r.slice().map((function(e){e(t,n)}))}}}Symbol.toStringTag;var At,Tt;(Tt=At||(At={}))[Tt.NotStarted=0]="NotStarted",Tt[Tt.Running=1]="Running",Tt[Tt.Stopped=2]="Stopped";const{addCustomEvent:Nt}=kt,{freezePage:Ot}=kt}}]); 2//# sourceMappingURL=fc3aa092-2a8a748d89e7509c05a6.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.