1"use strict";(self.webpackChunkmanager=self.webpackChunkmanager||[]).push([[9777],{
vendor: 22,416 bytes, line 1
1"./node_modules/@datadog/browser-rum/esm/boot/startRecording.js":(ye,$,T)=>{T.r($),T.d($,{startRecording:()=>Se});var B=T("./node_modules/@datadog/browser-core/esm/domain/telemetry/telemetry.js"),rt=T("./node_modules/@datadog/browser-core/esm/transport/httpRequest.js"),H=T("./node_modules/@datadog/browser-core/esm/transport/eventBridge.js"),it=T("./node_modules/@datadog/browser-core/esm/tools/sendToExtension.js"),L=T("./node_modules/@datadog/browser-rum/esm/domain/replayStats.js"),x=T("./node_modules/@datadog/browser-core/esm/tools/utils/functionUtils.js"),N=T("./node_modules/@datadog/browser-core/esm/browser/addEventListener.js");const M={FullSnapshot:2,IncrementalSnapshot:3,Meta:4,Focus:6,ViewEnd:7,VisualViewport:8,FrustrationRecord:9},v={Document:0,DocumentType:1,Element:2,Text:3,CDATA:4,DocumentFragment:11},y={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},U={Play:0,Pause:1};var l=T("./node_modules/@datadog/browser-rum-core/esm/index.js");function j(t){return!!t.changedTouches}function R(t){return!0===t.composed&&(0,l.XS)(t.target)?t.composedPath()[0]:t.target}const ut=(t,n)=>{const e=window.visualViewport,s={layoutViewportX:t,layoutViewportY:n,visualViewportX:t,visualViewportY:n};return e?(function at(t){return Math.abs(t.pageTop-t.offsetTop-window.scrollY)>25||Math.abs(t.pageLeft-t.offsetLeft-window.scrollX)>25}(e)?(s.layoutViewportX=Math.round(t+e.offsetLeft),s.layoutViewportY=Math.round(n+e.offsetTop)):(s.visualViewportX=Math.round(t-e.offsetLeft),s.visualViewportY=Math.round(n-e.offsetTop)),s):s},_=t=>({scale:t.scale,offsetLeft:t.offsetLeft,offsetTop:t.offsetTop,pageLeft:t.pageLeft,pageTop:t.pageTop,height:t.height,width:t.width});var E=T("./node_modules/@datadog/browser-core/esm/tools/utils/timeUtils.js");function I(t,n){return{data:{source:t,...n},type:M.IncrementalSnapshot,timestamp:(0,E.nx)()}}const ct=50;function dt(t,n,e){const{throttled:s,cancel:o}=(0,x.n)(r=>{const u=R(r),a=n.nodeIds.get(u);if(void 0===a)return;const c=W(r);if(!c)return;const d={id:a,timeOffset:0,x:c.x,y:c.y};e(I(j(r)?y.TouchMove:y.MouseMove,{positions:[d]}))},ct,{trailing:!1}),{stop:i}=(0,N.l)(t,document,["mousemove","touchmove"],s,{capture:!0,passive:!0});return{stop:()=>{i(),o()}}}function W(t){let{clientX:n,clientY:e}=j(t)?t.changedTouches[0]:t;if(window.visualViewport){const{visualViewportX:s,visualViewportY:o}=ut(n,e);n=s,e=o}if(Number.isFinite(n)&&Number.isFinite(e))return{x:n,y:e}}const J={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 lt(t,n,e,s){return(0,N.l)(t,document,Object.keys(J),i=>{const r=R(i),u=n.nodeIds.get(r);if(void 0===u||(0,l.PJ)(r,t.defaultPrivacyLevel)===l.$m.HIDDEN)return;const a=J[i.type];let c;if(a!==w.Blur&&a!==w.Focus){const f=W(i);if(!f)return;c={id:u,type:a,x:f.x,y:f.y}}else c={id:u,type:a};const d={id:s.getIdForEvent(i),...I(y.MouseInteraction,c)};e(d)},{capture:!0,passive:!0})}const ft=100;function X(t,n,e,s,o=document){const{throttled:i,cancel:r}=(0,x.n)(a=>{const c=R(a);if(!c)return;const d=n.nodeIds.get(c);if(void 0===d||(0,l.PJ)(c,t.defaultPrivacyLevel)===l.$m.HIDDEN)return;const f=c===document?{scrollTop:(0,l.zL)(),scrollLeft:(0,l.Gn)()}:{scrollTop:Math.round(c.scrollTop),scrollLeft:Math.round(c.scrollLeft)};s.set(c,f),e(I(y.Scroll,{id:d,x:f.scrollLeft,y:f.scrollTop}))},ft),{stop:u}=(0,N.q)(t,o,"scroll",i,{capture:!0,passive:!0});return{stop:()=>{u(),r()}}}const pt=200;function mt(t,n){const e=(0,l.g1)(t).subscribe(s=>{n(I(y.ViewportResize,s))});return{stop:()=>{e.unsubscribe()}}}function ht(t,n){const e=window.visualViewport;if(!e)return{stop:x.l};const{throttled:s,cancel:o}=(0,x.n)(()=>{n({data:_(e),type:M.VisualViewport,timestamp:(0,E.nx)()})},pt,{trailing:!1}),{stop:i}=(0,N.l)(t,e,["resize","scroll"],s,{capture:!0,passive:!0});return{stop:()=>{i(),o()}}}function gt(t,n,e){return(0,N.l)(t,document,["play","pause"],s=>{const o=R(s);if(!o)return;const i=n.nodeIds.get(o);void 0===i||(0,l.PJ)(o,t.defaultPrivacyLevel)===l.$m.HIDDEN||e(I(y.MediaInteraction,{id:i,type:"play"===s.type?U.Play:U.Pause}))},{capture:!0,passive:!0})}var b=T("./node_modules/@datadog/browser-core/esm/tools/instrumentMethod.js");function St(t,n){function e(i,r){if(!i||!i.ownerNode)return;const u=t.nodeIds.get(i.ownerNode);void 0!==u&&r(u)}const s=[(0,b.H)(CSSStyleSheet.prototype,"insertRule",({target:i,parameters:[r,u]})=>{e(i,a=>n(I(y.StyleSheetRule,{id:a,adds:[{rule:r,index:u}]})))}),(0,b.H)(CSSStyleSheet.prototype,"deleteRule",({target:i,parameters:[r]})=>{e(i,u=>n(I(y.StyleSheetRule,{id:u,removes:[{index:r}]})))})];function o(i){s.push((0,b.H)(i.prototype,"insertRule",({target:r,parameters:[u,a]})=>{e(r.parentStyleSheet,c=>{const d=Y(r);d&&(d.push(a||0),n(I(y.StyleSheetRule,{id:c,adds:[{rule:u,index:d}]})))})}),(0,b.H)(i.prototype,"deleteRule",({target:r,parameters:[u]})=>{e(r.parentStyleSheet,a=>{const c=Y(r);c&&(c.push(u),n(I(y.StyleSheetRule,{id:a,removes:[{index:c}]})))})}))}return typeof CSSGroupingRule<"u"?o(CSSGroupingRule):(o(CSSMediaRule),o(CSSSupportsRule)),{stop:()=>{s.forEach(i=>i.stop())}}}function Y(t){const n=[];let e=t;for(;e.parentRule;){const r=Array.from(e.parentRule.cssRules).indexOf(e);n.unshift(r),e=e.parentRule}if(!e.parentStyleSheet)return;const o=Array.from(e.parentStyleSheet.cssRules).indexOf(e);return n.unshift(o),n}function Tt(t,n){return(0,N.l)(t,window,["focus","blur"],()=>{n({data:{has_focus:document.hasFocus()},type:M.Focus,timestamp:(0,E.nx)()})})}function yt(t,n,e){const s=t.subscribe(12,o=>{var i,r;o.rawRumEvent.type===l.bb.ACTION&&o.rawRumEvent.action.type===l.X2.CLICK&&null!==(r=null===(i=o.rawRumEvent.action.frustration)||void 0===i?void 0:i.type)&&void 0!==r&&r.length&&"events"in o.domainContext&&o.domainContext.events&&o.domainContext.events.length&&n({timestamp:o.rawRumEvent.date,type:M.FrustrationRecord,data:{frustrationTypes:o.rawRumEvent.action.frustration.type,recordIds:o.domainContext.events.map(u=>e.getIdForEvent(u))}})});return{stop:()=>{s.unsubscribe()}}}function Et(t,n){const e=t.subscribe(5,()=>{n({timestamp:(0,E.nx)(),type:M.ViewEnd})});return{stop:()=>{e.unsubscribe()}}}var wt=T("./node_modules/@datadog/browser-core/esm/tools/utils/urlPolyfill.js");function A(t,n){const e=t.tagName,s=t.value;if((0,l.Ie)(t,n)){const o=t.type;return"INPUT"!==e||"button"!==o&&"submit"!==o&&"reset"!==o?s&&"OPTION"!==e?l.o:void 0:s}return"OPTION"===e||"SELECT"===e?t.value:"INPUT"===e||"TEXTAREA"===e?s:void 0}const It=/url\((?:(')([^']*)'|(")([^"]*)"|([^)]*))\)/gm,xt=/^[A-Za-z]+:|^\/\//,Mt=/^["']?data:.*,/i;const vt=/[^a-z1-6-_]/;function K(t){const n=t.toLowerCase().trim();return vt.test(n)?"div":n}function Z(t,n){return`data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='${t}' height='${n}' style='background-color:silver'%3E%3C/svg%3E`}function Q(t){if(void 0!==t&&0!==t.length)return t.map(n=>({cssRules:Array.from(n.cssRules||n.rules,i=>i.cssText),disabled:n.disabled||void 0,media:n.media.length>0?Array.from(n.media):void 0}))}var Ct=T("./node_modules/@datadog/browser-core/esm/tools/utils/browserDetection.js");const Rt=1e6;function q(t,n,e,s){if(n===l.$m.HIDDEN)return null;const o=t.getAttribute(e);if(n===l.$m.MASK&&e!==l.NT&&!l.yF.includes(e)&&e!==s.actionNameAttribute){const i=t.tagName;switch(e){case"title":case"alt":case"placeholder":return l.o}if("IMG"===i&&("src"===e||"srcset"===e)){if(t.naturalWidth>0)return Z(t.naturalWidth,t.naturalHeight);const{width:u,height:a}=t.getBoundingClientRect();return u>0||a>0?Z(u,a):l.eT}if("SOURCE"===i&&("src"===e||"srcset"===e))return l.eT;if("A"===i&&"href"===e||o&&e.startsWith("data-")||"IFRAME"===i&&"srcdoc"===e)return l.o}return o&&"string"==typeof o?(0,l.ei)(o,Rt):o}function z(t,n,e){t[n].count+=1,t[n].max=Math.max(t[n].max,e),t[n].sum+=e}function V(t){if(!t)return null;let n;try{n=t.rules||t.cssRules}catch{}return n?function bt(t,n){return t.replace(It,(e,s,o,i,r,u)=>{const a=o||r||u;if(!n||!a||xt.test(a)||Mt.test(a))return e;const c=s||i||"";return`url(${c}${function Nt(t,n){try{return(0,wt.c$)(t,n).href}catch{return t}}(a,n)}${c})`})}(Array.from(n,(0,Ct.nr)()?zt:tt).join(""),t.href):null}function zt(t){return function Ot(t){return"selectorText"in t}(t)&&t.selectorText.includes(":")?t.cssText.replace(/(\[[\w-]+[^\\])(:[^\]]+\])/g,"$1\\$2"):tt(t)}function tt(t){return function At(t){return"styleSheet"in t}(t)&&V(t.styleSheet)||t.cssText}function P(t,n,e){const s=function Vt(t,n,e){switch(t.nodeType){case t.DOCUMENT_NODE:return function Pt(t,n,e){return{type:v.Document,childNodes:F(t,n,e),adoptedStyleSheets:Q(t.adoptedStyleSheets)}}(t,n,e);case t.DOCUMENT_FRAGMENT_NODE:return function Ft(t,n,e){const s=(0,l.p_)(t);return s&&e.serializationContext.shadowRootsController.addShadowRoot(t),{type:v.DocumentFragment,childNodes:F(t,n,e),isShadowRoot:s,adoptedStyleSheets:s?Q(t.adoptedStyleSheets):void 0}}(t,n,e);case t.DOCUMENT_TYPE_NODE:return function kt(t){return{type:v.DocumentType,name:t.name,publicId:t.publicId,systemId:t.systemId}}(t);case t.ELEMENT_NODE:return function $t(t,n,e){const s=K(t.tagName),o=function Bt(t){return"svg"===t.tagName||t instanceof SVGElement}(t)||void 0,i=(0,l.jR)((0,l.dT)(t),n);if(i===l.$m.HIDDEN){const{width:a,height:c}=t.getBoundingClientRect();return{type:v.Element,tagName:s,attributes:{rr_width:`${a}px`,rr_height:`${c}px`,[l.NT]:l.Wd},childNodes:[],isSVG:o}}if(i===l.$m.IGNORE)return;const r=function Lt(t,n,e){if(n===l.$m.HIDDEN)return{};const s={},o=K(t.tagName),i=t.ownerDocument;for(let d=0;d<t.attributes.length;d+=1){const p=t.attributes.item(d).name,m=q(t,n,p,e.configuration);null!==m&&(s[p]=m)}if(t.value&&("textarea"===o||"select"===o||"option"===o||"input"===o)){const d=A(t,n);void 0!==d&&(s.value=d)}if("option"===o&&n===l.$m.ALLOW&&t.selected&&(s.selected=t.selected),"link"===o){const d=Array.from(i.styleSheets).find(p=>p.href===t.href),f=V(d);f&&d&&(z(e.serializationContext.serializationStats,"cssText",f.length),s._cssText=f)}if("style"===o&&t.sheet){const d=V(t.sheet);d&&(z(e.serializationContext.serializationStats,"cssText",d.length),s._cssText=d)}const r=t;let u,a;"input"===o&&("radio"===r.type||"checkbox"===r.type)&&(n===l.$m.ALLOW?s.checked=!!r.checked:(0,l.Ie)(r,n)&&delete s.checked),("audio"===o||"video"===o)&&(s.rr_mediaState=t.paused?"paused":"played");const c=e.serializationContext;switch(c.status){case 0:u=Math.round(t.scrollTop),a=Math.round(t.scrollLeft),(u||a)&&c.elementsScrollPositions.set(t,{scrollTop:u,scrollLeft:a});break;case 1:c.elementsScrollPositions.has(t)&&({scrollTop:u,scrollLeft:a}=c.elementsScrollPositions.get(t))}return a&&(s.rr_scrollLeft=a),u&&(s.rr_scrollTop=u),s}(t,i,e);let u=[];return(0,l.wR)(t)&&"style"!==s&&(u=F(t,i,e)),{type:v.Element,tagName:s,attributes:r,childNodes:u,isSVG:o}}(t,n,e);case t.TEXT_NODE:return function Ht(t,n){const e=(0,l.rf)(t,n);if(void 0!==e)return{type:v.Text,textContent:e}}(t,n);case t.CDATA_SECTION_NODE:return function Ut(){return{type:v.CDATA,textContent:""}}()}}(t,n,e);if(!s)return null;const o=e.scope.nodeIds.assign(t),i=s;return i.id=o,e.serializedNodeIds&&e.serializedNodeIds.add(o),i}function F(t,n,e){const s=[];return(0,l.wI)(t,o=>{const i=P(o,n,e);i&&s.push(i)}),s}function jt(t,n,e,s){const o=(0,E.nx)(),i=P(t,n.defaultPrivacyLevel,{serializationContext:s,configuration:n,scope:e});return z(s.serializationStats,"serializationDuration",(0,E.vk)(o,(0,E.nx)())),i}function et(t,n,e,s=document){const o=t.defaultPrivacyLevel,i=new WeakMap,r=s!==document,{stop:u}=(0,N.l)(t,s,r?["change"]:["input","change"],f=>{const p=R(f);(p instanceof HTMLInputElement||p instanceof HTMLTextAreaElement||p instanceof HTMLSelectElement)&&c(p)},{capture:!0,passive:!0});let a;if(r)a=x.l;else{const f=[(0,b.t)(HTMLInputElement.prototype,"value",c),(0,b.t)(HTMLInputElement.prototype,"checked",c),(0,b.t)(HTMLSelectElement.prototype,"value",c),(0,b.t)(HTMLTextAreaElement.prototype,"value",c),(0,b.t)(HTMLSelectElement.prototype,"selectedIndex",c)];a=()=>{f.forEach(p=>p.stop())}}return{stop:()=>{a(),u()}};function c(f){const p=(0,l.PJ)(f,o);if(p===l.$m.HIDDEN)return;const m=f.type;let S;if("radio"===m||"checkbox"===m){if((0,l.Ie)(f,p))return;S={isChecked:f.checked}}else{const g=A(f,p);if(void 0===g)return;S={text:g}}d(f,S,n);const h=f.name;"radio"===m&&h&&f.checked&&document.querySelectorAll(`input[type="radio"][name="${CSS.escape(h)}"]`).forEach(g=>{g!==f&&d(g,{isChecked:!1},n)})}function d(f,p,m){const S=m.nodeIds.get(f);if(void 0===S)return;const h=i.get(f);(!h||h.text!==p.text||h.isChecked!==p.isChecked)&&(i.set(f,p),e(I(y.Input,{id:S,...p})))}}var _t=T("./node_modules/@datadog/browser-core/esm/tools/monitor.js"),Wt=T("./node_modules/@datadog/browser-core/esm/tools/requestIdleCallback.js");const Jt=100,Xt=16;function nt(t,n,e,s,o){const i=(0,l.W3)();if(!i)return{stop:x.l,flush:x.l};const r=function Yt(t){let n=x.l,e=[];function s(){n(),t(e),e=[]}const{throttled:o,cancel:i}=(0,x.n)(s,Xt,{leading:!1});return{addMutations:r=>{0===e.length&&(n=(0,Wt.BB)(o,{timeout:Jt})),e.push(...r)},flush:s,stop:()=>{n(),i()}}}(a=>{!function Kt(t,n,e,s,o){const i=new Map;t.filter(m=>"childList"===m.type).forEach(m=>{m.removedNodes.forEach(S=>{ot(S,o.removeShadowRoot)})});const r=t.filter(m=>m.target.isConnected&&s.nodeIds.areAssignedForNodeAndAncestors(m.target)&&(0,l.PJ)(m.target,e.defaultPrivacyLevel,i)!==l.$m.HIDDEN),u={cssText:{count:0,max:0,sum:0},serializationDuration:{count:0,max:0,sum:0}},{adds:a,removes:c,hasBeenSerialized:d}=function Zt(t,n,e,s,o,i){const r=new Set,u=new Map;for(const h of t)h.addedNodes.forEach(g=>{r.add(g)}),h.removedNodes.forEach(g=>{r.has(g)||u.set(g,h.target),r.delete(g)});const a=Array.from(r);!function te(t){t.sort((n,e)=>{const s=n.compareDocumentPosition(e);return s&Node.DOCUMENT_POSITION_CONTAINED_BY?-1:s&Node.DOCUMENT_POSITION_CONTAINS||s&Node.DOCUMENT_POSITION_FOLLOWING?1:s&Node.DOCUMENT_POSITION_PRECEDING?-1:0})}(a);const c=new Set,d={status:2,serializationStats:s,shadowRootsController:o},f=[];for(const h of a){if(m(h))continue;const g=(0,l.PJ)(h.parentNode,n.defaultPrivacyLevel,i);if(g===l.$m.HIDDEN||g===l.$m.IGNORE)continue;const C=(0,E.nx)(),D=P(h,g,{serializedNodeIds:c,serializationContext:d,configuration:n,scope:e});if(z(s,"serializationDuration",(0,E.vk)(C,(0,E.nx)())),!D)continue;const Te=(0,l.$4)(h);f.push({nextId:S(h),parentId:e.nodeIds.get(Te),node:D})}const p=[];return u.forEach((h,g)=>{const C=e.nodeIds.get(h),D=e.nodeIds.get(g);void 0!==C&&void 0!==D&&p.push({parentId:C,id:D})}),{adds:f,removes:p,hasBeenSerialized:m};function m(h){const g=e.nodeIds.get(h);return void 0!==g&&c.has(g)}function S(h){let g=h.nextSibling;for(;g;){const C=e.nodeIds.get(g);if(void 0!==C)return C;g=g.nextSibling}return null}}(r.filter(m=>"childList"===m.type),e,s,u,o,i),f=function Qt(t,n,e,s){var o;const i=[],r=new Set,u=t.filter(a=>!r.has(a.target)&&(r.add(a.target),!0));for(const a of u){if(a.target.textContent===a.oldValue)continue;const d=e.nodeIds.get(a.target);if(void 0===d)continue;const f=(0,l.PJ)((0,l.$4)(a.target),n.defaultPrivacyLevel,s);f===l.$m.HIDDEN||f===l.$m.IGNORE||i.push({id:d,value:null!==(o=(0,l.rf)(a.target,f))&&void 0!==o?o:null})}return i}(r.filter(m=>"characterData"===m.type&&!d(m.target)),e,s,i),p=function qt(t,n,e,s){const o=[],i=new Map,r=t.filter(a=>{const c=i.get(a.target);return!(c&&c.has(a.attributeName)||(c?c.add(a.attributeName):i.set(a.target,new Set([a.attributeName])),0))}),u=new Map;for(const a of r){if(a.target.getAttribute(a.attributeName)===a.oldValue)continue;const d=e.nodeIds.get(a.target);if(void 0===d)continue;const f=(0,l.PJ)(a.target,n.defaultPrivacyLevel,s),p=q(a.target,f,a.attributeName,n);let m;if("value"===a.attributeName){const h=A(a.target,f);if(void 0===h)continue;m=h}else m="string"==typeof p?p:null;let S=u.get(a.target);S||(S={id:d,attributes:{}},o.push(S),u.set(a.target,S)),S.attributes[a.attributeName]=m}return o}(r.filter(m=>"attributes"===m.type&&!d(m.target)),e,s,i);!f.length&&!p.length&&!c.length&&!a.length||n(I(y.Mutation,{adds:a,removes:c,texts:f,attributes:p}),u)}(a.concat(u.takeRecords()),t,n,e,s)}),u=new i((0,_t.dm)(r.addMutations));return u.observe(o,{attributeOldValue:!0,attributes:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0}),{stop:()=>{u.disconnect(),r.stop()},flush:()=>{r.flush()}}}function ot(t,n){(0,l.XS)(t)&&n(t.shadowRoot),(0,l.wI)(t,e=>ot(e,n))}const ne=(t,n,e,s)=>{const o=new Map,i={addShadowRoot:r=>{if(o.has(r))return;const u=nt(e,t,n,i,r),a=et(t,n,e,r),c=X(t,n,e,s,r);o.set(r,{flush:()=>u.flush(),stop:()=>{u.stop(),a.stop(),c.stop()}})},removeShadowRoot:r=>{const u=o.get(r);u&&(u.stop(),o.delete(r))},stop:()=>{o.forEach(({stop:r})=>r())},flush:()=>{o.forEach(({flush:r})=>r())}};return i};var ae=T("./node_modules/@datadog/browser-core/esm/browser/pageMayExitObservable.js"),st=T("./node_modules/@datadog/browser-core/esm/tools/timer.js");function ce({context:t,creationReason:n,encoder:e}){let s=0;const o=t.view.id,r={start:1/0,end:-1/0,creation_reason:n,records_count:0,has_full_snapshot:!1,index_in_view:L.K_(o),source:"browser",...t},u={cssText:{count:0,max:0,sum:0},serializationDuration:{count:0,max:0,sum:0}};return L.H5(o),{addRecord:function a(d,f,p){r.start=Math.min(r.start,d.timestamp),r.end=Math.max(r.end,d.timestamp),r.records_count+=1,r.has_full_snapshot||(r.has_full_snapshot=d.type===M.FullSnapshot),f&&function Dt(t,n){for(const e of["cssText","serializationDuration"])t[e].count+=n[e].count,t[e].max=Math.max(t[e].max,n[e].max),t[e].sum+=n[e].sum}(u,f),e.write((e.isEmpty?'{"records":[':",")+JSON.stringify(d),S=>{s+=S,p(s)})},flush:function c(d){if(e.isEmpty)throw new Error("Empty segment flushed");e.write(`],${JSON.stringify(r).slice(1)}\n`),e.finish(f=>{L.L7(r.view.id,f.rawBytesCount),d(r,u,f)})}}}const de=5*E.OY;let k=6e4;function Se(t,n,e,s,o,i,r){const u=[],c=r||(0,rt.sA)([n.sessionReplayEndpointBuilder],k,p=>{t.notify(14,{error:p}),(0,B.A2)("Error reported to customer",{"error.message":p.message})});let d;if((0,H.d0)())({addRecord:d}=function ge(t){const n=(0,H.Y9)();return{addRecord:e=>{const s=t.findView();n.send("record",e,s.id)}}}(s));else{const p=function le(t,n,e,s,o,i){return function fe(t,n,e,s){let o={status:0,nextSegmentCreationReason:"init"};const{unsubscribe:i}=t.subscribe(2,()=>{u("view_change")}),{unsubscribe:r}=t.subscribe(11,a=>{u(a.reason)});function u(a){1===o.status&&(o.segment.flush((c,d,f)=>{const p=function ue(t,n,e,s){const o=new FormData;o.append("segment",new Blob([t],{type:"application/octet-stream"}),`${n.session.id}-${n.start}`);const i={raw_segment_size:s,compressed_segment_size:t.byteLength,...n},r=JSON.stringify(i);return o.append("event",new Blob([r],{type:"application/json"})),{data:o,bytesCount:t.byteLength,cssText:e.cssText,isFullSnapshot:0===n.index_in_view,rawSize:s,recordCount:n.records_count,serializationDuration:e.serializationDuration}}(f.output,c,d,f.rawBytesCount);(0,ae.Kp)(a)?e.sendOnExit(p):e.send(p)}),(0,st.DJ)(o.expirationTimeoutId)),o="stop"!==a?{status:0,nextSegmentCreationReason:a}:{status:2}}return{addRecord:(a,c)=>{if(2!==o.status){if(0===o.status){const d=n();if(!d)return;o={status:1,segment:ce({encoder:s,context:d,creationReason:o.nextSegmentCreationReason}),expirationTimeoutId:(0,st.wg)(()=>{u("segment_duration_limit")},de)}}o.segment.addRecord(a,c,d=>{d>k&&u("segment_bytes_limit")})}},stop:()=>{u("stop"),i(),r()}}}(t,()=>function pe(t,n,e){const s=n.findTrackedSession(),o=e.findView();if(s&&o)return{application:{id:t},session:{id:s.id},view:{id:o.id}}}(n.applicationId,e,s),o,i)}(t,n,e,s,c,o);d=p.addRecord,u.push(p.stop);const m=function me(t,n){if(!t.metricsEnabled)return{stop:x.l};const{unsubscribe:e}=n.subscribe(s=>{if("failure"===s.type||"queue-full"===s.type||"success"===s.type&&s.payload.isFullSnapshot){const o=function he(t,n,e){return{cssText:{count:e.cssText.count,max:e.cssText.max,sum:e.cssText.sum},isFullSnapshot:e.isFullSnapshot,ongoingRequests:{count:n.ongoingRequestCount,totalSize:n.ongoingByteCount},recordCount:e.recordCount,result:t,serializationDuration:{count:e.serializationDuration.count,max:e.serializationDuration.max,sum:e.serializationDuration.sum},size:{compressed:e.bytesCount,raw:e.rawSize}}}(s.type,s.bandwidth,s.payload);(0,B.Gk)("Segment network request metrics",{metrics:o})}});return{stop:e}}(i,c.observable);u.push(m.stop)}const{stop:f}=function ie(t){const{emit:n,configuration:e,lifeCycle:s}=t;if(!n)throw new Error("emit function is required");const o=(m,S)=>{n(m,S),(0,it.b)("record",{record:m});const h=t.viewHistory.findView();L.$1(h.id)},i=function ee(){const t=new WeakMap;return{set(n,e){n===document&&!document.scrollingElement||t.set(n===document?document.scrollingElement:n,e)},get:n=>t.get(n),has:n=>t.has(n)}}(),r=function Gt(t){return{nodeIds:t}}(function re(){const t=new WeakMap;let n=1;const e=s=>t.get(s);return{assign:s=>{let o=e(s);return void 0===o&&(o=n++,t.set(s,o)),o},get:e,areAssignedForNodeAndAncestors:s=>{let o=s;for(;o;){if(void 0===e(o)&&!(0,l.p_)(o))return!1;o=(0,l.$4)(o)}return!0}}}()),u=ne(e,r,o,i),{stop:a}=function oe(t,n,e,s,o,i,r){const u=(c,d)=>{const{width:f,height:p}=(0,l.pB)();r({data:{height:p,href:window.location.href,width:f},type:M.Meta,timestamp:c}),r({data:{has_focus:document.hasFocus()},type:M.Focus,timestamp:c});const m={cssText:{count:0,max:0,sum:0},serializationDuration:{count:0,max:0,sum:0}};r({data:{node:jt(document,s,o,{status:d,elementsScrollPositions:t,serializationStats:m,shadowRootsController:n}),initialOffset:{left:(0,l.Gn)(),top:(0,l.zL)()}},type:M.FullSnapshot,timestamp:c},m),window.visualViewport&&r({data:_(window.visualViewport),type:M.VisualViewport,timestamp:c})};u((0,E.nx)(),0);const{unsubscribe:a}=e.subscribe(2,c=>{i(),u(c.startClocks.timeStamp,1)});return{stop:a}}(i,u,s,e,r,c,o);function c(){u.flush(),f.flush()}const d=function se(){const t=new WeakMap;let n=1;return{getIdForEvent:e=>(t.has(e)||t.set(e,n++),t.get(e))}}(),f=nt(o,e,r,u,document),p=[f,dt(e,r,o),lt(e,r,o,d),X(e,r,o,i,document),mt(e,o),et(e,r,o),gt(e,r,o),St(r,o),Tt(e,o),ht(e,o),yt(s,o,d),Et(s,m=>{c(),o(m)})];return{stop:()=>{u.stop(),p.forEach(m=>m.stop()),a()},flushMutations:c,shadowRootsController:u}}({emit:d,configuration:n,lifeCycle:t,viewHistory:s});return u.push(f),{stop:()=>{u.forEach(p=>p())}}}}
1}]); 2//# sourceMappingURL=recorder.1.44.2.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.