PageSourceSearch

https://my.dhlecommerce.nl/account/static/js/recorder.67d1fa79.chunk.js

js dhlecommerce.nl collected 2026-09-24 08:39:46 UTC 41,946 bytes, 4 lines download raw bytes

1(()=>{(self.webpackChunk_dhl_account_app=self.webpackChunk_dhl_account_app||[]).push([[777],{97176:(function(Kn,ke,g){g.d(ke,{startRecording:function(){return jn}});var Z=g(13843),Oe=g(27842),Q=g(79300),C=g(64108),f=g(61050),N=g(86327);const v={FullSnapshot:2,IncrementalSnapshot:3,Meta:4,Focus:6,ViewEnd:7,VisualViewport:8,FrustrationRecord:9,Change:12},R={Document:0,DocumentType:1,Element:2,Text:3,CDATA:4,DocumentFragment:11},S={AddString:0,AddNode:1,RemoveNode:2,Attribute:3,Text:4,Size:5,ScrollPosition:6,AddStyleSheet:7,AttachedStyleSheets:8,MediaPlaybackState:9,VisualViewport:10},Zn={Playing:0,Paused:1},b={Mutation:0,MouseMove:1,MouseInteraction:2,Scroll:3,ViewportResize:4,Input:5,TouchMove:6,MediaInteraction:7,StyleSheetRule:8},w={MouseUp:0,MouseDown:1,Click:2,ContextMenu:3,DblClick:4,Focus:5,Blur:6,TouchStart:7,TouchEnd:9},V={Play:0,Pause:1},q={V1:0,Change:1};var D,Pe;function Qn(e,n,t){let o="new";const r=()=>{if(s.state!=="connected")throw new Error(`Expected node ${s.id} to be connected, not ${s.state}`);for(const i of["firstChild","lastChild","previousSibling","nextSibling","parent"]){const d=s[i];if(d&&d.state!=="connected")throw new Error(`Expected node ${s.id}'s ${i} to be connected, not ${d.state}`)}},s={after(i){var d;i.parent=s.parent,i.previousSibling=s,s.nextSibling&&(s.nextSibling.previousSibling=i),i.nextSibling=s.nextSibling,s.nextSibling=i,((d=s.parent)===null||d===void 0?void 0:d.lastChild)===s&&(s.parent.lastChild=i),e.onNodeConnected(i,s.parent),r()},appendChild(i){if(s.lastChild){s.lastChild.after(i);return}i.parent=s,s.firstChild=i,s.lastChild=i,e.onNodeConnected(i,s),r()},before(i){var d;i.parent=s.parent,i.nextSibling=s,s.previousSibling&&(s.previousSibling.nextSibling=i),i.previousSibling=s.previousSibling,s.previousSibling=i,((d=s.parent)===null||d===void 0?void 0:d.firstChild)===s&&(s.parent.firstChild=i),e.onNodeConnected(i,s.parent),r()},remove(){var i,d;if(s.state==="disconnected")return;((i=s.parent)===null||i===void 0?void 0:i.firstChild)===s&&(s.parent.firstChild=s.nextSibling),((d=s.parent)===null||d===void 0?void 0:d.lastChild)===s&&(s.parent.lastChild=s.previousSibling),s.previousSibling&&(s.previousSibling.nextSibling=s.nextSibling),s.nextSibling&&(s.nextSibling.previousSibling=s.previousSibling);const a=s.parent;s.parent=void 0,s.previousSibling=void 0,s.nextSibling=void 0,e.onNodeDisconnected(s,a)},setAttachedStyleSheets(i){switch(r(),t.kind){case"#document":case"#document-fragment":case"#element":case"#shadow-root":t.attachedStyleSheets=i;break;default:throw new Error(`Cannot attach stylesheets to ${t.kind} node ${n}`)}},setAttribute(i,d){if(r(),t.kind!=="#element")throw new Error(`Cannot set attribute ${i} on ${t.kind} node ${n}`);d===null?delete t.attributes[i]:t.attributes[i]=d,e.onAttributeChanged(s,i)},setPlaybackState(i){if(r(),t.kind!=="#element")throw new Error(`Cannot set media playback state of ${t.kind} node ${n}`);t.playbackState=i},setScrollPosition(i,d){if(r(),t.kind!=="#document"&&t.kind!=="#element")throw new Error(`Cannot set scroll position on ${t.kind} node ${n}`);(i!==0||t.scrollLeft!==void 0)&&(t.scrollLeft=i),(d!==0||t.scrollTop!==void 0)&&(t.scrollTop=d)},setSize(i,d){if(r(),t.kind!=="#element")throw new Error(`Cannot set size of ${t.kind} node ${n}`);t.width=i,t.height=d},setTextContent(i){if(r(),t.kind!=="#text")throw new Error(`Cannot set text on ${t.kind} node ${n}`);t.textContent=i,e.onTextChanged(s)},forEachAddedNodeRoot(i,d){if(i.has(n)){d(s);return}for(let a=s.lastChild;a;a=a.previousSibling)a.forEachAddedNodeRoot(i,d)},forSelfAndEachDescendant(i){i(s);for(let d=s.firstChild;d;d=d.nextSibling)d.forSelfAndEachDescendant(i)},mapChildren(i){const d=[];for(let a=s.firstChild;a;a=a.nextSibling)d.push(i(a));return d},render(i){var d,a,u,l,c;r();const p=(a=(d=i.nodeIdRemapper)===null||d===void 0?void 0:d.remap(s.id))!==null&&a!==void 0?a:s.id;switch(t.kind){case"#cdata-section":return{type:D.CDATA,id:p,textContent:""};case"#doctype":return{type:D.DocumentType,id:p,name:t.name,publicId:t.publicId,systemId:t.systemId};case"#document":return{type:D.Document,id:p,childNodes:s.mapChildren(h=>h.render(i)),adoptedStyleSheets:(u=t.attachedStyleSheets)===null||u===void 0?void 0:u.map(h=>h.renderAsAdoptedStyleSheet())};case"#document-fragment":return{type:D.DocumentFragment,id:p,childNodes:s.mapChildren(h=>h.render(i)),adoptedStyleSheets:(l=t.attachedStyleSheets)===null||l===void 0?void 0:l.map(h=>h.renderAsAdoptedStyleSheet()),isShadowRoot:!1};case"#element":{const h={};return t.width!==void 0&&t.height!==void 0&&(h.rr_width=`${t.width}px`,h.rr_height=`${t.height}px`),Object.assign(h,t.attributes),t.attachedStyleSheets!==void 0&&(h._cssText=t.attachedStyleSheets.map(m=>m.renderAsCssText()).join("")),t.playbackState!==void 0&&(h.rr_mediaState=t.playbackState===Pe.Paused?"paused":"played"),t.scrollLeft&&(h.rr_scrollLeft=t.scrollLeft),t.scrollTop&&(h.rr_scrollTop=t.scrollTop),{type:D.Element,id:p,tagName:t.tag,attributes:h,childNodes:s.mapChildren(m=>m.render(i)),isSVG:t.isSVG===!0?!0:void 0}}case"#shadow-root":return{type:D.DocumentFragment,id:p,childNodes:s.mapChildren(h=>h.render(i)),adoptedStyleSheets:(c=t.attachedStyleSheets)===null||c===void 0?void 0:c.map(h=>h.renderAsAdoptedStyleSheet()),isShadowRoot:!0};case"#text":return{type:D.Text,id:p,textContent:t.textContent};default:throw new Error(`Rendering not implemented for ${s.data.kind} node ${p}`)}},get data(){return t},get ownerDocument(){return e},get id(){return n},get state(){return o},set state(i){if(o==="new"&&i!=="connected"||o==="connected"&&i!=="disconnected"||o==="disconnected")throw new Error(`Invalid state transition from ${o} to ${i}`);o=i},firstChild:void 0,lastChild:void 0,previousSibling:void 0,nextSibling:void 0,parent:void 0};return s}var L,Le,ze,Ve,ee,$e,_e;function qn(){const e=Ve();let n=0;const t=new Map;let o,r=0;
1const s=new Map,i={createNode(d){const a=n++,u=$e(i,a,d);return t.set(a,u),u},getNodeById(d){const a=t.get(d);if(!a)throw new Error(`Reference to unknown node: ${d}`);return a},createStyleSheet(d){const a=r++,u=_e(i,a,d);return s.set(a,u),u},getStyleSheetById(d){const a=s.get(d);if(!a)throw new Error(`Reference to unknown stylesheet: ${d}`);return a},onAttributeChanged(d,a){e.onAttributeChanged(d.id,a)},onNodeConnected(d,a){if(d.state!=="new")throw new Error(`Moving connected node: ${d.id}`);if(a===void 0){if(o!==void 0)throw new Error("Replacing existing root node");o=d.id}d.state="connected",e.onNodeConnected(d.id)},onNodeDisconnected(d,a){if(d.forSelfAndEachDescendant(u=>{if(u.state==="disconnected")throw new Error(`Disconnecting node which isn't connected: ${u.id}`);u.state="disconnected"}),!a)throw new Error("Disconnecting the root node");e.onNodeDisconnected(d.id,a.id)},onTextChanged(d){e.onTextChanged(d.id)},get mutations(){return e},naturalRendering(){return o!==void 0&&e.nodeAdds.has(o)?L.FullSnapshot:L.IncrementalSnapshot},render(d){return i.naturalRendering()===L.FullSnapshot?i.renderAsFullSnapshot(d):i.renderAsIncrementalSnapshot(d)},renderAsFullSnapshot(d={}){var a,u;const l=ee(d),c=i.root;if(!c)throw new Error("No root node found");let p=0,h=0;return(c.data.kind==="#document"||c.data.kind==="#element")&&(p=(a=c.data.scrollLeft)!==null&&a!==void 0?a:0,h=(u=c.data.scrollTop)!==null&&u!==void 0?u:0),{data:{node:c.render(l),initialOffset:{left:p,top:h}},format:Le.V1,type:L.FullSnapshot,timestamp:l.timestamp}},renderAsIncrementalSnapshot(d={}){var a;const u=ee(d),l=i.root;if(!l)throw new Error("No root node found");const c=y=>u.nodeIdRemapper.remap(y),p=[];l.forEachAddedNodeRoot(e.nodeAdds,y=>{var T;if(!y.parent)throw new Error(`Can't render incremental add of root node ${y.id}`);p.push({nextId:((T=y.nextSibling)===null||T===void 0?void 0:T.id)!==void 0?c(y.nextSibling.id):null,parentId:c(y.parent.id),node:y.render(u)})});const h=[];for(const[y,T]of e.nodeRemoves)h.push({parentId:c(T),id:c(y)});const m=[];for(const y of e.textChanges){const T=i.getNodeById(y);if(T.data.kind!=="#text")throw new Error(`Can't render incremental text mutation of ${T.data.kind} node ${y}`);m.push({id:c(y),value:T.data.textContent})}const M=[];for(const[y,T]of e.attributeChanges){const K=i.getNodeById(y);if(K.data.kind!=="#element")throw new Error(`Can't render incremental attribute mutation of ${K.data.kind} node ${y}`);const Re={};for(const De of T)Re[De]=(a=K.data.attributes[De])!==null&&a!==void 0?a:null;M.push({id:c(y),attributes:Re})}return{data:{source:ze.Mutation,adds:p,removes:h,texts:m,attributes:M},type:L.IncrementalSnapshot,timestamp:u.timestamp}},get root(){return o===void 0?void 0:i.getNodeById(o)},set root(d){i.onNodeConnected(d,void 0)}};return i}var E,Be,Fe;function eo(){const e={convert(n,t={}){return He(n,e.document,e.stringTable),e.document.render({timestamp:n.timestamp,...t})},document:Fe(),stringTable:Be()};return e}function He(e,n,t){n.mutations.clear();for(const o of e.data)switch(o[0]){case E.AddString:{for(let r=1;r<o.length;r++)t.add(o[r]);break}case E.AddNode:{for(let r=1;r<o.length;r++)Ue(o[r],n,t);break}case E.RemoveNode:{for(let r=1;r<o.length;r++)We(o[r],n);break}case E.Attribute:{for(let r=1;r<o.length;r++)Xe(o[r],n,t);break}case E.Text:{for(let r=1;r<o.length;r++)Ze(o[r],n,t);break}case E.ScrollPosition:{for(let r=1;r<o.length;r++)je(o[r],n);break}case E.Size:{for(let r=1;r<o.length;r++)Ke(o[r],n);break}case E.AddStyleSheet:{for(let r=1;r<o.length;r++)Ge(o[r],n,t);break}case E.AttachedStyleSheets:{for(let r=1;r<o.length;r++)Je(o[r],n);break}case E.MediaPlaybackState:{for(let r=1;r<o.length;r++)Ye(o[r],n);break}case E.VisualViewport:break;default:throw new Error(`Unsupported BrowserChangeType: ${o[0]}`)}}function Ue(e,n,t){const o=t.decode(e[1]);let r;switch(o){case"#cdata-section":r=n.createNode({kind:"#cdata-section"});break;case"#doctype":{const[,,i,d,a]=e;r=n.createNode({kind:"#doctype",name:t.decode(i),publicId:t.decode(d),systemId:t.decode(a)});break}case"#document":r=n.createNode({kind:"#document"});break;case"#document-fragment":r=n.createNode({kind:"#document-fragment"});break;case"#shadow-root":r=n.createNode({kind:"#shadow-root"});break;case"#text":{const[,,i]=e;r=n.createNode({kind:"#text",textContent:t.decode(i)});break}default:{let i,d=!1;o.startsWith("svg>")?(i=o.substring(4).toLowerCase(),d=!0):i=o.toLowerCase();const[,,...a]=e,u={};for(const[l,c]of a)u[t.decode(l)]=t.decode(c);r=n.createNode({kind:"#element",tag:i,attributes:u,isSVG:d});break}}const s=e[0];if(s===null)n.root=r;else if(s===0){const i=r.id-1;n.getNodeById(i).after(r)}else if(s>0){const i=r.id-s;n.getNodeById(i).appendChild(r)}else{const i=r.id+s;n.getNodeById(i).before(r)}}function Ge(e,n,t){const[o,r=[],s=!1]=e,i=Array.isArray(o)?o.map(a=>t.decode(a)):t.decode(o),d=r.map(a=>t.decode(a));n.createStyleSheet({rules:i,mediaList:d,disabled:s})}function Je(e,n){const[t,...o]=e;n.getNodeById(t).setAttachedStyleSheets(o.map(s=>n.getStyleSheetById(s)))}function Xe(e,n,t){const[o,...r]=e,s=n.getNodeById(o);for(const[i,d=null]of r){const a=t.decode(i);if(d===null)s.setAttribute(a,null);else{const u=t.decode(d);s.setAttribute(a,u)}}}
1function Ye(e,n){const[t,o]=e;n.getNodeById(t).setPlaybackState(o)}function We(e,n){const t=e;n.getNodeById(t).remove()}function je(e,n){const[t,o,r]=e;n.getNodeById(t).setScrollPosition(o,r)}function Ke(e,n){const[t,o,r]=e;n.getNodeById(t).setSize(o,r)}function Ze(e,n,t){const[o,r]=e;n.getNodeById(o).setTextContent(t.decode(r))}var I,Qe;function to(){const e={decode(n){return qe(n,e.stringTable)},stringTable:Qe()};return e}function qe(e,n){const t=[];for(const o of e.data)switch(o[0]){case I.AddString:for(let r=1;r<o.length;r++)n.add(o[r]);break;case I.AddNode:{const r=[I.AddNode];for(let s=1;s<o.length;s++)r.push(et(o[s],n));t.push(r);break}case I.RemoveNode:t.push(o);break;case I.Attribute:{const r=[I.Attribute];for(let s=1;s<o.length;s++)r.push(tt(o[s],n));t.push(r);break}case I.Text:{const r=[I.Text];for(let s=1;s<o.length;s++)r.push(nt(o[s],n));t.push(r);break}case I.Size:case I.ScrollPosition:case I.AttachedStyleSheets:case I.MediaPlaybackState:case I.VisualViewport:t.push(o);break;case I.AddStyleSheet:{const r=[I.AddStyleSheet];for(let s=1;s<o.length;s++)r.push(ot(o[s],n));t.push(r);break}default:throw new Error(`Unsupported ChangeType: ${o[0]}`)}return{...e,data:t}}function et(e,n){const t=e[0],o=n.decode(e[1]);switch(o){case"#cdata-section":case"#document":case"#document-fragment":case"#shadow-root":return[t,o];case"#doctype":{const[,,r,s,i]=e;return[t,"#doctype",n.decode(r),n.decode(s),n.decode(i)]}case"#text":{const[,,r]=e;return[t,"#text",n.decode(r)]}default:{const r=[t,o],[,,...s]=e;for(const[i,d]of s)r.push([n.decode(i),n.decode(d)]);return r}}}function tt(e,n){const[t,...o]=e,r=o.map(i=>i.length===1?[n.decode(i[0])]:[n.decode(i[0]),n.decode(i[1])]),s=[t];return s.push(...r),s}function nt(e,n){return[e[0],n.decode(e[1])]}function ot(e,n){const t=e[0],o=Array.isArray(t)?t.map(s=>n.decode(s)):n.decode(t);if(e.length===1)return[o];const r=e[1].map(s=>n.decode(s));return e.length===2?[o,r]:[o,r,e[2]]}var P=g(41218);function te(){return(0,P.sr)(P.R9.USE_CHANGE_RECORDS)||(0,P.sr)(P.R9.USE_INCREMENTAL_CHANGE_RECORDS)}function ne(){return(0,P.sr)(P.R9.USE_INCREMENTAL_CHANGE_RECORDS)}var rt=g(69111);function $(e,n){const t=e.tagName,o=e.value;if((0,f.Ie)(e,n)){const r=e.type;return t==="INPUT"&&(r==="button"||r==="submit"||r==="reset")?o:!o||t==="OPTION"?void 0:f.o}if(t==="OPTION"||t==="SELECT")return e.value;if(!(t!=="INPUT"&&t!=="TEXTAREA"))return o}const st=/url\((?:(')([^']*)'|(")([^"]*)"|([^)]*))\)/gm,it=/^[A-Za-z]+:|^\/\//,dt=/^["']?data:.*,/i;function at(e,n){return e.replace(st,(t,o,r,s,i,d)=>{const a=r||i||d;if(!n||!a||it.test(a)||dt.test(a))return t;const u=o||s||"";return`url(${u}${ct(a,n)}${u})`})}function ct(e,n){try{return(0,rt.c$)(e,n).href}catch{return e}}const ut=/[^a-z1-6-_]/;function lt(e){const n=e.toLowerCase().trim();return ut.test(n)?"div":n}function oe(e){return e.tagName.toLowerCase()}function re(e,n){return`data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='${e}' height='${n}' style='background-color:silver'%3E%3C/svg%3E`}function se(e,n){if(e===void 0||e.length===0)return;const t=r=>{const s=r.cssRules||r.rules,i=Array.from(s,a=>a.cssText);return n.addMetric("cssText",i.reduce((a,u)=>a+u.length,0)),{cssRules:i,disabled:r.disabled||void 0,media:r.media.length>0?Array.from(r.media):void 0}},o=[];for(let r=0;r<e.length;r++)o.push(t(e[r]));return o}var ft=g(35838);const pt=1e6;function F(e,n,t,o){if(n===f.$m.HIDDEN)return null;const r=e.getAttribute(t),s=e.tagName;if((0,f.ap)(s,t,r,n,o)){if(s==="IMG"){const i=e;if(i.naturalWidth>0)return re(i.naturalWidth,i.naturalHeight);const{width:d,height:a}=e.getBoundingClientRect();return d>0||a>0?re(d,a):f.eT}return s==="SOURCE"?f.eT:f.o}return r&&(0,f.ei)(r,pt)}function ht(e,n,t){return{...ie(e,n,t),...de(e,n,t)}}function ie(e,n,t){if(n===f.$m.HIDDEN)return{};const o={},r=oe(e);for(let i=0;i<e.attributes.length;i+=1){const a=e.attributes.item(i).name,u=F(e,n,a,t.scope.configuration);u!==null&&(o[a]=u)}if(e.value&&(r==="textarea"||r==="select"||r==="option"||r==="input")){const i=$(e,n);i!==void 0&&(o.value=i)}if(r==="option"){const i=e;i.selected&&!(0,f.Ie)(i,n)?o.selected="":delete o.selected}const s=e;return r==="input"&&(s.type==="radio"||s.type==="checkbox")&&(s.checked&&!(0,f.Ie)(s,n)?o.checked="":delete o.checked),o}function de(e,n,t){if(n===f.$m.HIDDEN)return{};const o={},r=e.ownerDocument,s=oe(e);if(s==="link"){const a=Array.from(r.styleSheets).find(l=>l.href===e.href),u=H(a);u&&a&&(t.addMetric("cssText",u.length),o._cssText=u)}if(s==="style"&&e.sheet){const a=H(e.sheet);a&&(t.addMetric("cssText",a.length),o._cssText=a)}if(s==="audio"||s==="video"){const a=e;o.rr_mediaState=a.paused?"paused":"played"}let i,d;switch(t.kind){case 0:i=Math.round(e.scrollTop),d=Math.round(e.scrollLeft),(i||d)&&t.scope.elementsScrollPositions.set(e,{scrollTop:i,scrollLeft:d});break;case 1:t.scope.elementsScrollPositions.has(e)&&({scrollTop:i,scrollLeft:d}=t.scope.elementsScrollPositions.get(e));break}return d&&(o.rr_scrollLeft=d),i&&(o.rr_scrollTop=i),o}function H(e){if(!e)return null;let n;try{n=e.rules||e.cssRules}catch{}if(!n)return null;const t=Array.from(n,(0,ft.nr)()?St:ae).join("");return at(t,e.href)}function St(e){if(mt(e)&&e.selectorText.includes(":")){const n=/(\[[\w-]+[^\\])(:[^\]]+\])/g;return e.cssText.replace(n,"$1\\$2")}return ae(e)}function ae(e){return gt(e)&&H(e.styleSheet)||e.cssText}function gt(e){return"styleSheet"in e}function mt(e){return"selectorText"in e}function U(e,n,t){switch(e.nodeType){case e.DOCUMENT_NODE:return yt(e,n,t);case e.DOCUMENT_FRAGMENT_NODE:return It(e,n,t);case e.DOCUMENT_TYPE_NODE:return Nt(e,t);case e.ELEMENT_NODE:return vt(e,n,t);case e.TEXT_NODE:return Ct(e,n,t);case e.CDATA_SECTION_NODE:return wt(e,t);default:return null}}function G(e,n,t){const o=[];return(0,f.wI)(e,r=>{const s=U(r,n,t);s&&o.push(s)}),o}function yt(e,n,t){return{type:R.Document,id:t.assignId(e),childNodes:G(e,n,t),adoptedStyleSheets:se(e.adoptedStyleSheets,t)}}function It(e,n,t){const o=(0,f.p_)(e);return o&&t.scope.shadowRootsController.addShadowRoot(e,t.scope),{type:R.DocumentFragment,id:t.assignId(e),childNodes:G(e,n,t),isShadowRoot:o,adoptedStyleSheets:o?se(e.adoptedStyleSheets,t):void 0}}function Nt(e,n){return{type:R.DocumentType,id:n.assignId(e),name:e.name,publicId:e.publicId,systemId:e.systemId}}function vt(e,n,t){const o=lt(e.tagName),r=bt(e)||void 0,s=(0,f.jR)((0,f.dT)(e),n);if(s===f.$m.HIDDEN){const{width:u,height:l}=e.getBoundingClientRect();return{type:R.Element,id:t.assignId(e),tagName:o,attributes:{rr_width:`${u}px`,rr_height:`${l}px`,[f.NT]:f.Wd},childNodes:[],isSVG:r}}if(s===f.$m.IGNORE)return null;const i=t.assignId(e),d=ht(e,s,t);let a=[];return(0,f.wR)(e)&&o!=="style"&&(a=G(e,s,t)),{type:R.Element,id:i,tagName:o,attributes:d,childNodes:a,isSVG:r}}function bt(e){return e.tagName==="svg"||e instanceof SVGElement}function Ct(e,n,t){const o=(0,f.rf)(e,n);return o===void 0?null:{type:R.Text,id:t.assignId(e),textContent:o}}function wt(e,n){return{type:R.CDATA,id:n.assignId(e),textContent:""}}function J(){return{cssText:{count:0,max:0,sum:0},serializationDuration:{count:0,max:0,sum:0}}}function _(e,n,t){e[n].count+=1,e[n].max=Math.max(e[n].max,t),e[n].sum+=t}function Et(e,n){for(const t of["cssText","serializationDuration"])e[t].count+=n[t].count,e[t].max=Math.max(e[t].max,n[t].max),e[t].sum+=n[t].sum}function xt(e){let n={};const t=s=>{for(let i=0,d=s.length;i<d;i++){const a=s[i];
1if(typeof a=="string"){const u=e.size;s[i]=e.getOrInsert(a),e.size>u&&o(S.AddString,a)}else Array.isArray(a)&&t(a)}},o=(s,i)=>{s in n||(n[s]=[s]),s!==S.AddString&&Array.isArray(i)&&t(i),n[s].push(i)};return{add:o,flush:()=>{const s=[];return[S.AddString,S.AddNode,S.RemoveNode,S.Attribute,S.Text,S.Size,S.ScrollPosition,S.AddStyleSheet,S.AttachedStyleSheets,S.MediaPlaybackState,S.VisualViewport].forEach(i=>{const d=n[i];d&&s.push(d)}),n={},s}}}function ce(e,n,t,o,r){const s=[],i=J(),d={add(u){s.push(u)},addMetric(u,l){_(i,u,l)},assignId(u){const l=o.nodeIds.getOrInsert(u);return d.serializedNodeIds&&d.serializedNodeIds.add(l),l},kind:e,scope:o},a=(0,N.nx)();r(d),_(i,"serializationDuration",(0,N.vk)(a,(0,N.nx)()));for(const u of s)n(u);t(i)}function ue(e,n,t,o,r,s){const i=xt(o.stringIds),d=J(),a={addMetric(c,p){_(d,c,p)},addNode(...c){i.add(S.AddNode,c)},addStyleSheet(c,p,h){h?i.add(S.AddStyleSheet,[c,p||[],h]):p?i.add(S.AddStyleSheet,[c,p]):i.add(S.AddStyleSheet,[c])},attachStyleSheets(c,p){const h=[c];for(const m of p)h.push(m);i.add(S.AttachedStyleSheets,h)},removeNode(c){i.add(S.RemoveNode,c)},setAttributes(c){i.add(S.Attribute,c)},setMediaPlaybackState(c,p){i.add(S.MediaPlaybackState,[c,p])},setScrollPosition(c,p,h){i.add(S.ScrollPosition,[c,p,h])},setSize(c,p,h){i.add(S.Size,[c,p,h])},setText(c,p){i.add(S.Text,[c,p])},kind:e,scope:o},u=(0,N.nx)();s(a),_(d,"serializationDuration",(0,N.vk)(u,(0,N.nx)()));const l=i.flush();l.length>0&&n(e===0||e===1?{data:l,format:q.Change,type:v.FullSnapshot,timestamp:r}:{data:l,type:v.Change,timestamp:r}),t(d)}function Tt(e,n,t,o,r,s){ce(n,o,r,s,i=>{const d=i.scope.configuration.defaultPrivacyLevel,u={data:{node:U(t,d,i),initialOffset:{left:(0,f.Gn)(),top:(0,f.zL)()}},format:q.V1,type:v.FullSnapshot,timestamp:e};i.add(u),s.serializeObservable.notify({type:"full",kind:n,target:t,timestamp:e,v1:u})})}function X(e,n,t,o){var r;if(((r=n.parentNode)===null||r===void 0?void 0:r.nodeName)==="STYLE"||t===f.$m.HIDDEN||t===f.$m.IGNORE)return;let s;const i=(0,f.dT)(n);if(i?s=(0,f.jR)(i,t):s=t,s===f.$m.HIDDEN){Pt(e,n,o);return}if(s!==f.$m.IGNORE){switch(n.nodeType){case n.CDATA_SECTION_NODE:Ot(e,n,o);break;case n.DOCUMENT_NODE:At(e,n,o);break;case n.DOCUMENT_FRAGMENT_NODE:Mt(e,n,o);break;case n.DOCUMENT_TYPE_NODE:Rt(e,n,o);break;case n.ELEMENT_NODE:Dt(e,n,s,o);break;case n.TEXT_NODE:kt(e,n,s,o);break;default:return}switch(n.nodeType){case n.CDATA_SECTION_NODE:case n.DOCUMENT_TYPE_NODE:case n.TEXT_NODE:return}e.descend(),(0,f.wI)(n,d=>{X(e,d,s,o)}),e.ascend()}}function At(e,n,t){const{nodeId:o,insertionPoint:r}=e.advance(n);t.addNode(r,"#document"),t.setScrollPosition(o,(0,f.Gn)(),(0,f.zL)()),le(n.adoptedStyleSheets,o,t)}function Mt(e,n,t){const{nodeId:o,insertionPoint:r}=e.advance(n);if(!(0,f.p_)(n)){t.addNode(r,"#document-fragment");return}t.addNode(r,"#shadow-root"),t.scope.shadowRootsController.addShadowRoot(n,t.scope),le(n.adoptedStyleSheets,o,t)}function Rt(e,n,t){const{insertionPoint:o}=e.advance(n);t.addNode(o,"#doctype",n.name,n.publicId,n.systemId)}function Dt(e,n,t,o){const{nodeId:r,insertionPoint:s}=e.advance(n),i=Object.entries(ie(n,t,o));o.addNode(s,fe(n),...i);const{_cssText:d,rr_mediaState:a,rr_scrollLeft:u,rr_scrollTop:l}=de(n,t,o),c=n;if(d!==void 0&&c.sheet){const p=o.scope.styleSheetIds.getOrInsert(c.sheet);o.addStyleSheet(d),o.attachStyleSheets(r,[p])}a==="played"?o.setMediaPlaybackState(r,V.Play):a==="paused"&&o.setMediaPlaybackState(r,V.Pause),(u!==void 0||l!==void 0)&&o.setScrollPosition(r,u||0,l||0)}function kt(e,n,t,o){const r=(0,f.rf)(n,t);if(r===void 0)return;const{insertionPoint:s}=e.advance(n);o.addNode(s,"#text",r)}function Ot(e,n,t){const{insertionPoint:o}=e.advance(n);t.addNode(o,"#cdata-section")}function Pt(e,n,t){if(!(0,f.nS)(n))return;const{nodeId:o,insertionPoint:r}=e.advance(n);t.addNode(r,fe(n),[f.NT,f.Wd]);const{width:s,height:i}=n.getBoundingClientRect();t.setSize(o,s,i)}function le(e,n,t){!e||e.length===0||t.attachStyleSheets(n,e.map(o=>Lt(o,t)))}function Lt(e,n){const t=Array.from(e.cssRules||e.rules,r=>r.cssText),o=e.media.length>0?Array.from(e.media):void 0;return n.addMetric("cssText",t.reduce((r,s)=>r+s.length,0)),n.addStyleSheet(t,o,e.disabled),n.scope.styleSheetIds.getOrInsert(e)}function fe(e){const n=e.nodeName;return zt(e)?`svg>${n}`:n}function zt(e){return e.namespaceURI==="http://www.w3.org/2000/svg"}function Vt(e){return pe(void 0,void 0,e)}function $t(e,n,t){return pe(e,n,t)}function pe(e,n,t){let o={container:void 0,parentId:e,previousSiblingId:void 0,nextSiblingId:n};const r=s=>o.previousSiblingId===s-1?0:o.nextSiblingId!==void 0?o.nextSiblingId-s:o.parentId!==void 0?s-o.parentId:null;return{advance(s){const i=t.getOrInsert(s),d=r(i);return o.previousSiblingId=i,{nodeId:i,insertionPoint:d}},ascend(){o.container&&(o=o.container)},descend(){o.previousSiblingId!==void 0&&(o={container:o,parentId:o.previousSiblingId,previousSiblingId:void 0,nextSiblingId:void 0})}}}function _t(e,n,t,o,r,s){s.resetIds(),ue(n,o,r,s,e,i=>{X(Vt(s.nodeIds),t,s.configuration.defaultPrivacyLevel,i)})}function x(e,n,t=(0,N.nx)()){return{data:{source:e,...n},type:v.IncrementalSnapshot,timestamp:t}}function Bt(e,n,t,o,r){ce(2,t,o,r,s=>Ft(e,n,s))}function Ft(e,n,t){const o=new Map;n.filter(c=>c.type==="childList").forEach(c=>
1{c.removedNodes.forEach(p=>{he(p,t.scope.shadowRootsController.removeShadowRoot)})});const r=n.filter(c=>c.target.isConnected&&Xt(c.target,t.scope.nodeIds)&&(0,f.PJ)(c.target,t.scope.configuration.defaultPrivacyLevel,o)!==f.$m.HIDDEN),{adds:s,removes:i,hasBeenSerialized:d}=Ht(r.filter(c=>c.type==="childList"),o,t),a=Ut(r.filter(c=>c.type==="characterData"&&!d(c.target)),o,t),u=Gt(r.filter(c=>c.type==="attributes"&&!d(c.target)),o,t);if(!a.length&&!u.length&&!i.length&&!s.length)return;const l=x(b.Mutation,{adds:s,removes:i,texts:a,attributes:u},e);t.add(l),t.scope.serializeObservable.notify({type:"incremental",target:n,timestamp:e,v1:l})}function Ht(e,n,t){const o=new Set,r=new Map;for(const l of e)l.addedNodes.forEach(c=>{o.add(c)}),l.removedNodes.forEach(c=>{o.has(c)||r.set(c,l.target),o.delete(c)});const s=Array.from(o);Jt(s),t.serializedNodeIds=new Set;const i=[];for(const l of s){if(a(l))continue;const c=(0,f.PJ)(l.parentNode,t.scope.configuration.defaultPrivacyLevel,n);if(c===f.$m.HIDDEN||c===f.$m.IGNORE)continue;const p=U(l,c,t);if(!p)continue;const h=(0,f.$4)(l);i.push({nextId:u(l),parentId:t.scope.nodeIds.get(h),node:p})}const d=[];return r.forEach((l,c)=>{const p=t.scope.nodeIds.get(l),h=t.scope.nodeIds.get(c);p!==void 0&&h!==void 0&&d.push({parentId:p,id:h})}),{adds:i,removes:d,hasBeenSerialized:a};function a(l){var c;const p=t.scope.nodeIds.get(l);return p!==void 0&&((c=t.serializedNodeIds)===null||c===void 0?void 0:c.has(p))}function u(l){let c=l.nextSibling;for(;c;){const p=t.scope.nodeIds.get(c);if(p!==void 0)return p;c=c.nextSibling}return null}}function Ut(e,n,t){var o;const r=[],s=new Set,i=e.filter(d=>s.has(d.target)?!1:(s.add(d.target),!0));for(const d of i){if(d.target.textContent===d.oldValue)continue;const u=t.scope.nodeIds.get(d.target);if(u===void 0)continue;const l=(0,f.PJ)((0,f.$4)(d.target),t.scope.configuration.defaultPrivacyLevel,n);l===f.$m.HIDDEN||l===f.$m.IGNORE||r.push({id:u,value:(o=(0,f.rf)(d.target,l))!==null&&o!==void 0?o:null})}return r}function Gt(e,n,t){const o=[],r=new Map,s=e.filter(d=>{const a=r.get(d.target);return a&&a.has(d.attributeName)?!1:(a?a.add(d.attributeName):r.set(d.target,new Set([d.attributeName])),!0)}),i=new Map;for(const d of s){if(d.target.getAttribute(d.attributeName)===d.oldValue)continue;const u=t.scope.nodeIds.get(d.target);if(u===void 0)continue;const l=(0,f.PJ)(d.target,t.scope.configuration.defaultPrivacyLevel,n),c=F(d.target,l,d.attributeName,t.scope.configuration);let p;if(d.attributeName==="value"){const m=$(d.target,l);if(m===void 0)continue;p=m}else typeof c=="string"?p=c:p=null;let h=i.get(d.target);h||(h={id:u,attributes:{}},o.push(h),i.set(d.target,h)),h.attributes[d.attributeName]=p}return o}function Jt(e){e.sort((n,t)=>{const o=n.compareDocumentPosition(t);return o&Node.DOCUMENT_POSITION_CONTAINED_BY?-1:o&Node.DOCUMENT_POSITION_CONTAINS||o&Node.DOCUMENT_POSITION_FOLLOWING?1:o&Node.DOCUMENT_POSITION_PRECEDING?-1:0})}function he(e,n){(0,f.XS)(e)&&n(e.shadowRoot),(0,f.wI)(e,t=>he(t,n))}function Xt(e,n){let t=e;for(;t;){if(n.get(t)===void 0&&!(0,f.p_)(t))return!1;t=(0,f.$4)(t)}return!0}function Yt(e,n,t,o,r){ue(2,t,o,r,e,s=>Wt(n,s))}function Wt(e,n){const t=new Set,o=new Map,r=new Map,s=new Set;for(const a of e)switch(a.type){case"attributes":{const u=a.target;let l=o.get(u);l||(l=new Map,o.set(u,l));const c=a.attributeName;l.has(c)||l.set(c,a.oldValue);break}case"characterData":r.has(a.target)||r.set(a.target,a.oldValue);break;case"childList":for(let u=0;u<a.addedNodes.length;u++)t.add(a.addedNodes[u]);for(let u=0;u<a.removedNodes.length;u++)s.add(a.removedNodes[u]);break}const i=n.scope.nodeIds.nextId,d=new Map;jt(s,n),Kt(t,d,n),Zt(r,i,d,n),Qt(o,i,d,n)}function jt(e,n){const t=n.scope.nodeIds;for(const o of e){const r=t.get(o);r!==void 0&&(Se(o,s=>{(0,f.XS)(s)&&n.scope.shadowRootsController.removeShadowRoot(s.shadowRoot),t.delete(s)}),n.removeNode(r))}}function Kt(e,n,t){const o=t.scope.nodeIds;for(const r of e){if(!r.isConnected||o.get(r)!==void 0)continue;const i=(0,f.$4)(r);if(!i)continue;const d=o.get(i);if(d===void 0)continue;const a=(0,f.PJ)(i,t.scope.configuration.defaultPrivacyLevel,n),u=qt(r,o);X($t(d,u,o),r,a,t)}}function Zt(e,n,t,o){var r;const s=o.scope.nodeIds;for(const[i,d]of e){if(i.textContent===d||!i.isConnected)continue;const a=s.get(i);if(a===void 0||a>=n)continue;const u=(0,f.$4)(i);if(!u)continue;const l=(0,f.PJ)(u,o.scope.configuration.defaultPrivacyLevel,t);if(l===f.$m.HIDDEN||l===f.$m.IGNORE)continue;const c=(r=(0,f.rf)(i,l))!==null&&r!==void 0?r:"";o.setText(a,c)}}function Qt(e,n,t,o){const r=o.scope.nodeIds;for(const[s,i]of e){if(!s.isConnected)continue;const d=r.get(s);if(d===void 0||d>=n)continue;const a=(0,f.PJ)(s,o.scope.configuration.defaultPrivacyLevel,t);if(a===f.$m.HIDDEN||a===f.$m.IGNORE)continue;const u=[d];for(const[l,c]of i){if(s.getAttribute(l)===c)continue;if(l==="value"){const h=$(s,a);h!==void 0&&u.push([l,h]);continue}const p=F(s,a,l,o.scope.configuration);p===null?u.push([l]):u.push([l,p])}u.length>1&&o.setAttributes(u)}}function qt(e,n){let t=e.nextSibling;for(;t;){const o=n.get(t);if(o!==void 0)return o;t=t.nextSibling}}function Se(e,n){n(e),(0,f.wI)(e,t=>Se(t,n))}const ge=25;function en(e){return Math.abs(e.pageTop-e.offsetTop-window.scrollY)>ge||Math.abs(e.pageLeft-e.offsetLeft-window.scrollX)>ge}const tn=(e,n)=>
1{const t=window.visualViewport,o={layoutViewportX:e,layoutViewportY:n,visualViewportX:e,visualViewportY:n};if(t)en(t)?(o.layoutViewportX=Math.round(e+t.offsetLeft),o.layoutViewportY=Math.round(n+t.offsetTop)):(o.visualViewportX=Math.round(e-t.offsetLeft),o.visualViewportY=Math.round(n-t.offsetTop));else return o;return o},me=e=>({scale:e.scale,offsetLeft:e.offsetLeft,offsetTop:e.offsetTop,pageLeft:e.pageLeft,pageTop:e.pageTop,height:e.height,width:e.width});function nn(e,n,t,o,r,s=Ie()){ye((0,N.nx)(),0,n,t,r,s);const{unsubscribe:i}=e.subscribe(2,d=>{o(),ye(d.startClocks.timeStamp,1,n,t,r,s)});return{stop:i}}function ye(e,n,t,o,r,s=Ie()){const{width:i,height:d}=(0,f.pB)();t({data:{height:d,href:window.location.href,width:i},type:v.Meta,timestamp:e}),t({data:{has_focus:document.hasFocus()},type:v.Focus,timestamp:e}),s(e,n,document,t,o,r),window.visualViewport&&t({data:me(window.visualViewport),type:v.VisualViewport,timestamp:e})}function Ie(){return te()?_t:Tt}var on,k,rn,Y,sn,dn,an,cn,un;function no({configuration:e}={}){const n=[],t=o=>{n.push(o)};return sn(on(),0,t,k,Ne(e)),n}function oo(e,{configuration:n}={}){let t=null;return cn(0,k,k,Ne(n),o=>{const r=rn(e,o.scope.configuration.defaultPrivacyLevel);r===Y.HIDDEN||r===Y.IGNORE||(t=un(e,r,o))}),t}function Ne(e){return dn({defaultPrivacyLevel:Y.ALLOW,...e},an(),{addShadowRoot:k,removeShadowRoot:k,flush:k,stop:k})}var ln=g(93235),B=g(37756),O=g(32935);function ve(e){return!!e.changedTouches}function z(e){return e.composed===!0&&(0,f.XS)(e.target)?e.composedPath()[0]:e.target}const fn=50;function pn(e,n){const{throttled:t,cancel:o}=(0,C.n)(s=>{const i=z(s),d=n.nodeIds.get(i);if(d===void 0)return;const a=be(s);if(!a)return;const u={id:d,timeOffset:0,x:a.x,y:a.y};e(x(ve(s)?b.TouchMove:b.MouseMove,{positions:[u]}))},fn,{trailing:!1}),{stop:r}=(0,O.l)(n.configuration,document,["mousemove","touchmove"],t,{capture:!0,passive:!0});return{stop:()=>{r(),o()}}}function be(e){let{clientX:n,clientY:t}=ve(e)?e.changedTouches[0]:e;if(window.visualViewport){const{visualViewportX:o,visualViewportY:r}=tn(n,t);n=o,t=r}if(!(!Number.isFinite(n)||!Number.isFinite(t)))return{x:n,y:t}}const Ce={pointerup:w.MouseUp,mousedown:w.MouseDown,click:w.Click,contextmenu:w.ContextMenu,dblclick:w.DblClick,focus:w.Focus,blur:w.Blur,touchstart:w.TouchStart,touchend:w.TouchEnd};function hn(e,n){const t=o=>{const r=z(o),s=n.nodeIds.get(r);if(s===void 0||(0,f.PJ)(r,n.configuration.defaultPrivacyLevel)===f.$m.HIDDEN)return;const i=Ce[o.type];let d;if(i!==w.Blur&&i!==w.Focus){const a=be(o);if(!a)return;d={id:s,type:i,x:a.x,y:a.y}}else d={id:s,type:i};e({id:n.eventIds.getOrInsert(o),...x(b.MouseInteraction,d)})};return(0,O.l)(n.configuration,document,Object.keys(Ce),t,{capture:!0,passive:!0})}const Sn=100;function we(e,n,t){const{throttled:o,cancel:r}=(0,C.n)(i=>{const d=z(i);if(!d)return;const a=t.nodeIds.get(d);if(a===void 0||(0,f.PJ)(d,t.configuration.defaultPrivacyLevel)===f.$m.HIDDEN)return;const u=d===document?{scrollTop:(0,f.zL)(),scrollLeft:(0,f.Gn)()}:{scrollTop:Math.round(d.scrollTop),scrollLeft:Math.round(d.scrollLeft)};t.elementsScrollPositions.set(d,u),n(x(b.Scroll,{id:a,x:u.scrollLeft,y:u.scrollTop}))},Sn),{stop:s}=(0,O.q)(t.configuration,e,"scroll",o,{capture:!0,passive:!0});return{stop:()=>{s(),r()}}}const gn=200;function mn(e,n){const t=(0,f.g1)(n.configuration).subscribe(o=>{e(x(b.ViewportResize,o))});return{stop:()=>{t.unsubscribe()}}}function yn(e,n){const t=window.visualViewport;if(!t)return{stop:C.l};const{throttled:o,cancel:r}=(0,C.n)(()=>{e({data:me(t),type:v.VisualViewport,timestamp:(0,N.nx)()})},gn,{trailing:!1}),{stop:s}=(0,O.l)(n.configuration,t,["resize","scroll"],o,{capture:!0,passive:!0});return{stop:()=>{s(),r()}}}function In(e,n){return(0,O.l)(n.configuration,document,["play","pause"],t=>{const o=z(t);if(!o)return;const r=n.nodeIds.get(o);r===void 0||(0,f.PJ)(o,n.configuration.defaultPrivacyLevel)===f.$m.HIDDEN||e(x(b.MediaInteraction,{id:r,type:t.type==="play"?V.Play:V.Pause}))},{capture:!0,passive:!0})}var A=g(13123);function Nn(e,n){function t(s,i){if(!s||!s.ownerNode)return;const d=n.nodeIds.get(s.ownerNode);d!==void 0&&i(d)}const o=[(0,A.H)(CSSStyleSheet.prototype,"insertRule",({target:s,parameters:[i,d]})=>{t(s,a=>e(x(b.StyleSheetRule,{id:a,adds:[{rule:i,index:d}]})))}),(0,A.H)(CSSStyleSheet.prototype,"deleteRule",({target:s,parameters:[i]})=>{t(s,d=>e(x(b.StyleSheetRule,{id:d,removes:[{index:i}]})))})];typeof CSSGroupingRule<"u"?r(CSSGroupingRule):(r(CSSMediaRule),r(CSSSupportsRule));function r(s){o.push((0,A.H)(s.prototype,"insertRule",({target:i,parameters:[d,a]})=>{t(i.parentStyleSheet,u=>{const l=Ee(i);l&&(l.push(a||0),e(x(b.StyleSheetRule,{id:u,adds:[{rule:d,index:l}]})))})}),(0,A.H)(s.prototype,"deleteRule",({target:i,parameters:[d]})=>{t(i.parentStyleSheet,a=>{const u=Ee(i);u&&(u.push(d),e(x(b.StyleSheetRule,{id:a,removes:[{index:u}]})))})}))}return{stop:()=>{o.forEach(s=>s.stop())}}}function Ee(e){const n=[];let t=e;for(;t.parentRule;){const i=Array.from(t.parentRule.cssRules).indexOf(t);n.unshift(i),t=t.parentRule}if(!t.parentStyleSheet)return;const r=Array.from(t.parentStyleSheet.cssRules).indexOf(t);return n.unshift(r),n}function vn(e,n){return(0,O.l)(n.configuration,window,["focus","blur"],()=>{e({data:{has_focus:document.hasFocus()},type:v.Focus,timestamp:(0,N.nx)()})})}function bn(e,n,t){const o=e.subscribe(5,()=>{t(),n({timestamp:(0,N.nx)(),type:v.ViewEnd})});return{stop:()=>{o.unsubscribe()}}}function xe(e,n,t){const o=t.configuration.defaultPrivacyLevel,r=new WeakMap,s=e!==document,{stop:i}=(0,O.l)(t.configuration,e,s?["change"]:["input","change"],l=>{const c=z(l);(c instanceof HTMLInputElement||c instanceof HTMLTextAreaElement||c instanceof HTMLSelectElement)&&a(c)},{capture:!0,passive:!0});let d;if(s)d=C.l;else{const l=[(0,A.t)(HTMLInputElement.prototype,"value",a),(0,A.t)(HTMLInputElement.prototype,"checked",a),(0,A.t)(HTMLSelectElement.prototype,"value",a),(0,A.t)(HTMLTextAreaElement.prototype,"value",a),(0,A.t)(HTMLSelectElement.prototype,"selectedIndex",a)];d=()=>{l.forEach(c=>c.stop())}}return{stop:()=>{d(),i()}};function a(l){const c=(0,f.PJ)(l,o);if(c===f.$m.HIDDEN)return;const p=l.type;let h;if(p==="radio"||p==="checkbox"){if((0,f.Ie)(l,c))return;h={isChecked:l.checked}}else{const M=$(l,c);if(M===void 0)return;h={text:M}}u(l,h);const m=l.name;p==="radio"&&m&&l.checked&&document.querySelectorAll(`input[type="radio"][name="${CSS.escape(m)}"]`).forEach(M=>{M!==l&&u(M,{isChecked:!1}
1)})}function u(l,c){const p=t.nodeIds.get(l);if(p===void 0)return;const h=r.get(l);(!h||h.text!==c.text||h.isChecked!==c.isChecked)&&(r.set(l,c),n(x(b.Input,{id:p,...c})))}}var Cn=g(20825),wn=g(61527);const En=100,xn=16;function Tn(e){let n=C.l,t=[];function o(){n(),e(t),t=[]}const{throttled:r,cancel:s}=(0,C.n)(o,xn,{leading:!1});return{addMutations:i=>{t.length===0&&(n=(0,wn.BB)(r,{timeout:En})),t.push(...i)},flush:o,stop:()=>{n(),s()}}}function Te(e,n,t,o,r=An()){const s=(0,f.W3)();if(!s)return{stop:C.l,flush:C.l};const i=Tn(a=>{r((0,N.nx)(),a.concat(d.takeRecords()),n,t,o)}),d=new s((0,Cn.dm)(i.addMutations));return d.observe(e,{attributeOldValue:!0,attributes:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0}),{stop:()=>{d.disconnect(),i.stop()},flush:()=>{i.flush()}}}function An(){return ne()?Yt:Bt}function Mn(){const e=new WeakMap;return{set(n,t){n===document&&!document.scrollingElement||e.set(n===document?document.scrollingElement:n,t)},get(n){return e.get(n)},has(n){return e.has(n)}}}const Rn=(e,n)=>{const t=new Map;return{addShadowRoot:(r,s)=>{if(t.has(r))return;const i=Te(r,e,n,s),d=xe(r,e,s),a=we(r,e,s);t.set(r,{flush:()=>i.flush(),stop:()=>{i.stop(),d.stop(),a.stop()}})},removeShadowRoot:r=>{const s=t.get(r);s&&(s.stop(),t.delete(r))},stop:()=>{t.forEach(({stop:r})=>r())},flush:()=>{t.forEach(({flush:r})=>r())}}};var Dn=g(48604);function kn(){return W(1)}function On(){return W(0)}function Pn(){return zn(0)}function Ln(){return W(0)}function zn(e){return Ae(()=>new Map,e)}function W(e){return Ae(()=>new WeakMap,e)}function Ae(e,n){let t=e(),o=n;const r=s=>t.get(s);return{clear(){o!==n&&(t=e(),o=n)},delete(s){t.delete(s)},get:r,getOrInsert(s){let i=r(s);return i===void 0&&(i=o++,t.set(s,i)),i},get nextId(){return o},get size(){return o-n}}}function Vn(e,n,t){const o=kn(),r=On(),s=Pn(),i=Ln(),d={resetIds(){d.eventIds.clear(),d.nodeIds.clear(),d.stringIds.clear(),d.styleSheetIds.clear()},configuration:e,elementsScrollPositions:n,eventIds:o,nodeIds:r,serializeObservable:new Dn.cP,shadowRootsController:t,stringIds:s,styleSheetIds:i};return d}function $n(e){const{emitRecord:n,emitStats:t,configuration:o,lifeCycle:r}=e;if(!n||!t)throw new Error("emit functions are required");const s=p=>{n(p),(0,ln.b)("record",{record:p});const h=e.viewHistory.findView();B.$1(h.id)},i=Rn(s,t),d=Vn(o,Mn(),i),{stop:a}=nn(r,s,t,u,d);function u(){i.flush(),l.flush()}const l=Te(document,s,t,d),c=[l,pn(s,d),hn(s,d),we(document,s,d),mn(s,d),xe(document,s,d),In(s,d),Nn(s,d),vn(s,d),yn(s,d),bn(r,s,u)];return{stop:()=>{i.stop(),c.forEach(p=>p.stop()),a()},flushMutations:u,shadowRootsController:i}}var _n=g(77149),Me=g(1810);function Bn(e,n,t,o){const r=new FormData;r.append("segment",new Blob([e],{type:"application/octet-stream"}),`${n.session.id}-${n.start}`);const s={raw_segment_size:o,compressed_segment_size:e.byteLength,...n},i=JSON.stringify(s);return r.append("event",new Blob([i],{type:"application/json"})),{data:r,bytesCount:e.byteLength,cssText:t.cssText,isFullSnapshot:n.index_in_view===0,rawSize:o,recordCount:n.records_count,serializationDuration:t.serializationDuration}}function Fn({context:e,creationReason:n,encoder:t}){let o=0;const r=e.view.id,s=B.K_(r),i={start:1/0,end:-1/0,creation_reason:n,records_count:0,has_full_snapshot:!1,index_in_view:s,source:"browser",...e},d=J();B.H5(r);function a(c,p){i.start=Math.min(i.start,c.timestamp),i.end=Math.max(i.end,c.timestamp),i.records_count+=1,i.has_full_snapshot||(i.has_full_snapshot=c.type===v.FullSnapshot||c.type===v.Change&&i.index_in_view===0);const h=t.isEmpty?'{"records":[':",";t.write(h+JSON.stringify(c),m=>{o+=m,p(o)})}function u(c){Et(d,c)}function l(c){if(t.isEmpty)throw new Error("Empty segment flushed");t.write(`],${JSON.stringify(i).slice(1)}
2`),t.finish(p=>{B.L7(i.view.id,p.rawBytesCount),c(i,d,p)})}return{addRecord:a,addStats:u,flush:l}}const Hn=5*N.OY;let j=6e4;function Un(e,n,t,o,r,s){return Gn(e,()=>Jn(n.applicationId,t,o),r,s)}function Gn(e,n,t,o){let r={status:0,nextSegmentCreationReason:"init"};const{unsubscribe:s}=e.subscribe(2,()=>{d("view_change")}),{unsubscribe:i}=e.subscribe(11,a=>{d(a.reason)});function d(a){r.status===1&&(r.segment.flush((u,l,c)=>{const p=Bn(c.output,u,l,c.rawBytesCount);(0,_n.Kp)(a)?t.sendOnExit(p):t.send(p)}),(0,Me.DJ)(r.expirationTimeoutId)),a!=="stop"?r={status:0,nextSegmentCreationReason:a}:r={status:2}}return{addRecord:a=>{if(r.status!==2){if(r.status===0){const u=n();if(!u)return;
2r={status:1,segment:Fn({encoder:o,context:u,creationReason:r.nextSegmentCreationReason}),expirationTimeoutId:(0,Me.wg)(()=>{d("segment_duration_limit")},Hn)}}r.segment.addRecord(a,u=>{u>j&&d("segment_bytes_limit")})}},addStats:a=>{r.status===1&&r.segment.addStats(a)},stop:()=>{d("stop"),s(),i()}}}function Jn(e,n,t){const o=n.findTrackedSession(),r=t.findView();if(!(!o||!r))return{application:{id:e},session:{id:o.id},view:{id:r.id}}}function ro(e=6e4){j=e}function Xn(e,n){if(!e.metricsEnabled)return{stop:C.l};const{unsubscribe:t}=n.subscribe(o=>{if(o.type==="failure"||o.type==="queue-full"||o.type==="success"&&o.payload.isFullSnapshot){const r=Yn(o.type,o.bandwidth,o.payload);(0,Z.Gk)("Segment network request metrics",{metrics:r})}});return{stop:t}}function Yn(e,n,t){return{cssText:{count:t.cssText.count,max:t.cssText.max,sum:t.cssText.sum},encoding:{fullSnapshot:te()?"change":"v1",incrementalSnapshot:ne()?"change":"v1"},isFullSnapshot:t.isFullSnapshot,ongoingRequests:{count:n.ongoingRequestCount,totalSize:n.ongoingByteCount},recordCount:t.recordCount,result:e,serializationDuration:{count:t.serializationDuration.count,max:t.serializationDuration.max,sum:t.serializationDuration.sum},size:{compressed:t.bytesCount,raw:t.rawSize}}}function Wn(e){const n=(0,Q.Y9)();return{addRecord:t=>{const o=e.findView();n.send("record",t,o.id)}}}function jn(e,n,t,o,r,s,i){const d=[],a=h=>{e.notify(14,{error:h}),(0,Z.A2)("Error reported to customer",{"error.message":h.message})},u=i||(0,Oe.sA)([n.sessionReplayEndpointBuilder],a,j);let l,c;if((0,Q.d0)())({addRecord:l}=Wn(o)),c=C.l;else{const h=Un(e,n,t,o,u,r);l=h.addRecord,c=h.addStats,d.push(h.stop);const m=Xn(s,u.observable);d.push(m.stop)}const{stop:p}=$n({emitRecord:l,emitStats:c,configuration:n,lifeCycle:e,viewHistory:o});return d.push(p),{stop:()=>{d.forEach(h=>h())}}}})}]);})();
3
4//# sourceMappingURL=recorder.67d1fa79.chunk.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.