1"use strict";(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[581],{98412:(function(Nn,Q,T){T.r(Q),T.d(Q,{startRecording:function(){return yn}});const N={FullSnapshot:2,IncrementalSnapshot:3,Meta:4,Focus:6,ViewEnd:7,VisualViewport:8,FrustrationRecord:9,Change:12},Cn=null,I={AddString:0,AddNode:1,RemoveNode:2,Attribute:3,Text:4,Size:5,ScrollPosition:6,AddStyleSheet:7,AttachedStyleSheets:8,MediaPlaybackState:9,VisualViewport:10,AddRoleAnnotatedStrings:11,InputValue:12,InputSelection:13,ClearStrings:14},S={Default:0,NodeName:1,AttributeName:2,AttributeValue:3,TextContent:4,FormInput:5,Css:6,Url:7},P={Selected:0,Deselected:1,Indeterminate:2},Rn=null,A={Mutation:0,MouseMove:1,MouseInteraction:2,Scroll:3,ViewportResize:4,Input:5,TouchMove:6,MediaInteraction:7,StyleSheetRule:8},C={MouseUp:0,MouseDown:1,Click:2,ContextMenu:3,DblClick:4,Focus:5,Blur:6,TouchStart:7,TouchEnd:9},z={Play:0,Pause:1},De={V1:0,Change:1};function xe(e){return Z(void 0,void 0,e)}function Oe(e,t,n){return Z(e,t,n)}function Z(e,t,n){let o={container:void 0,parentId:e,previousSiblingId:void 0,nextSiblingId:t};const s=r=>o.previousSiblingId===r-1?0:o.nextSiblingId!==void 0?o.nextSiblingId-r:o.parentId!==void 0?r-o.parentId:null;return{advance(r){const i=n.getOrInsert(r),a=s(i);return o.previousSiblingId=i,{nodeId:i,insertionPoint:a}},ascend(){o.container&&(o=o.container)},descend(){o.previousSiblingId!==void 0&&(o={container:o,parentId:o.previousSiblingId,previousSiblingId:void 0,nextSiblingId:void 0})}}}function v(e,t){return{role:e,string:t}}function O(e,t,n){return[v(S.AttributeName,t),v(q(e,t),n)]}function Le(e,t,n){const o=v(S.AttributeName,t);return n===null?[o]:[o,v(q(e,t),n)]}const Pe=new Set(["input","option","select","textarea"]),Ve=new Set(["action","background","cite","data","formaction","href","longdesc","manifest","ping","poster","src","srcset","xlink:href"]);function q(e,t){switch(t){case"value":return Pe.has(e)?S.FormInput:S.AttributeValue;case"style":return S.Css;default:return Ve.has(t)?S.Url:S.AttributeValue}}function ke(e){let t=[],n=ee(e);const o=()=>{n.flushInto(t),n=ee(e)},s=()=>{o(),t.push([I.ClearStrings]),e.clear()};return{add:(a,c)=>{n.add(a,c),e.size+n.pendingStringCount>=1e6&&s()},flush:()=>{o();const a=t;return t=[],a}}}function ee(e){const t={},n=new Map,o=[];let s=0,r=!1;const i=u=>{const d=e.get(u);if(d!==void 0)return d;r=!0;let l=n.get(u.role);l||(l={role:u.role,strings:new Map,references:0},n.set(u.role,l)),l.references++;const g=l.strings.get(u.string);if(g)return g;const b={literal:u,id:void 0};return l.strings.set(u.string,b),s++,b},a=u=>{for(let d=0,l=u.length;d<l;d++){const g=u[d];typeof g=="string"?u[d]=i(v(S.Default,g)):Array.isArray(g)?a(g):Ue(g)&&(u[d]=i(g))}},c=()=>{if(n.size===0)return;const u=[I.AddRoleAnnotatedStrings];for(const d of Array.from(n.values()).sort(ze)){const l=[d.role];for(const g of d.strings.values())g.id=e.getOrInsert(g.literal),l.push(g.literal.string);u.push(l)}return u};return{add:(u,d)=>{u in t||(t[u]=[u]),Array.isArray(d)&&(r=!1,a(d),r&&o.push(d)),t[u].push(d)},flushInto:u=>{const d=c();d&&u.push(d);for(const l of o)te(l);[I.AddNode,I.RemoveNode,I.Attribute,I.Text,I.InputValue,I.InputSelection,I.Size,I.ScrollPosition,I.AddStyleSheet,I.AttachedStyleSheets,I.MediaPlaybackState,I.VisualViewport].forEach(l=>{const g=t[l];g&&u.push(g)})},get pendingStringCount(){return s}}}function te(e){for(let t=0,n=e.length;t<n;t++){const o=e[t];Array.isArray(o)?te(o):He(o)&&(e[t]=o.id)}}function ze(e,t){return t.references-e.references}function Ue(e){return typeof e=="object"&&e!==null&&"string"in e}function He(e){return typeof e=="object"&&e!==null&&"literal"in e}function ne(){return{cssText:{count:0,max:0,sum:0},serializationDuration:{count:0,max:0,sum:0}}}function oe(e,t,n){e[t].count+=1,e[t].max=Math.max(e[t].max,n),e[t].sum+=n}function Be(e,t){for(const n of["cssText","serializationDuration"])e[n].count+=t[n].count,e[n].max=Math.max(e[n].max,t[n].max),e[n].sum+=t[n].sum}var R=T(48678);function X(e,t,n,o,s,r){const i=ke(o.stringIds),a=ne(),c={addMetric(u,d){oe(a,u,d)},addNode(...u){i.add(I.AddNode,u)},addStyleSheet(u,d,l){l?i.add(I.AddStyleSheet,[u,d||[],l]):d?i.add(I.AddStyleSheet,[u,d]):i.add(I.AddStyleSheet,[u])},attachStyleSheets(u,d){const l=[u];for(const g of d)l.push(g);
1i.add(I.AttachedStyleSheets,l)},removeNode(u){i.add(I.RemoveNode,u)},setAttributes(u){i.add(I.Attribute,u)},setInputSelection(u,d){const l=[u];for(const g of d)l.push(g);i.add(I.InputSelection,l)},setInputValue(u,d){i.add(I.InputValue,[u,d])},setMediaPlaybackState(u,d){i.add(I.MediaPlaybackState,[u,d])},setScrollPosition(u,d,l){i.add(I.ScrollPosition,[u,d,l])},setSize(u,d,l){i.add(I.Size,[u,d,l])},setText(u,d){i.add(I.Text,[u,d])},kind:e,scope:o},p=(0,R.nx)();r(c),oe(a,"serializationDuration",(0,R.vk)(p,(0,R.nx)()));const h=i.flush();h.length>0&&t(e===0||e===1?{data:h,format:De.Change,type:N.FullSnapshot,timestamp:s}:{data:h,type:N.Change,timestamp:s}),n(a)}var f=T(30647),Fe=T(97165);function $(e,t){const n=e.tagName,o=e.value;if((0,f.Ie)(e,t)){const s=e.type;return n==="INPUT"&&(s==="button"||s==="submit"||s==="reset")?o:!o||n==="OPTION"?void 0:f.o}if(n==="OPTION"||n==="SELECT")return e.value;if(!(n!=="INPUT"&&n!=="TEXTAREA"))return o}const _e=/url\((?:(')([^']*)'|(")([^"]*)"|([^)]*))\)/gm,Xe=/^[A-Za-z]+:|^\/\//,$e=/^["']?data:.*,/i;function Ge(e,t){return e.replace(_e,(n,o,s,r,i,a)=>{const c=s||i||a;if(!t||!c||Xe.test(c)||$e.test(c))return n;const p=o||r||"";return`url(${p}${We(c,t)}${p})`})}function We(e,t){try{return(0,Fe.c$)(e,t).href}catch{return e}}function U(e){return e.tagName.toLowerCase()}function se(e,t){return`data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='${e}' height='${t}' style='background-color:silver'%3E%3C/svg%3E`}const Ye=["width","height"];function G(e){return(0,f.nS)(e)&&e.tagName==="CANVAS"}function Je(e){return Ye.includes(e.toLowerCase())}const je=1e6;function re(e,t,n,o){if(t===f.$m.HIDDEN)return null;const s=e.getAttribute(n),r=e.tagName;if((0,f.ap)(r,n,s,t,o)){if(r==="IMG"){const i=e;if(i.naturalWidth>0)return se(i.naturalWidth,i.naturalHeight);const{width:a,height:c}=e.getBoundingClientRect();return a>0||c>0?se(a,c):f.eT}return r==="SOURCE"?f.eT:f.o}return s&&(0,f.ei)(s,je)}let An=null;function Mn(){return ae()===0}function Ke(){return ae()===1}let ie;function ae(){return ie??(ie=Qe())}function Qe(e=window){const t=e.navigator.userAgent;return e.chrome||/HeadlessChrome/.test(t)?0:e.navigator.vendor?.indexOf("Apple")===0||/safari/i.test(t)&&!/chrome|android/i.test(t)?1:2}function wn(){const e=window.navigator.userAgent.match(/(?:chrome|headlesschrome|version)\/(\d+)/i);if(e)return parseInt(e[1],10)}function Ze(e,t,n){if(t===f.$m.HIDDEN)return[];const o=[],s=U(e);for(let i=0;i<e.attributes.length;i+=1){const a=e.attributes.item(i).name;a==="value"||a==="selected"||a==="checked"||H(o,e,s,a,t,n)}if(e.value&&(s==="textarea"||s==="select"||s==="option"||s==="input")){const i=$(e,t);i!==void 0&&o.push(O(s,"value",i))}else e.hasAttribute("value")&&H(o,e,s,"value",t,n);s==="option"?e.selected&&!(0,f.Ie)(e,t)&&o.push(O(s,"selected","")):e.hasAttribute("selected")&&H(o,e,s,"selected",t,n);const r=e;return s==="input"&&(r.type==="radio"||r.type==="checkbox")?r.checked&&!(0,f.Ie)(e,t)&&o.push(O(s,"checked","")):e.hasAttribute("checked")&&H(o,e,s,"checked",t,n),o}function H(e,t,n,o,s,r){const i=re(t,s,o,r.scope.configuration);i!==null&&e.push(O(n,o,i))}function qe(e,t,n){if(t===f.$m.HIDDEN)return{};const o={},s=e.ownerDocument,r=U(e);if(r==="link"){const c=Array.from(s.styleSheets).find(h=>h.href===e.href),p=W(c);p&&c&&(n.addMetric("cssText",p.length),o._cssText=p)}if(r==="style"&&e.sheet){const c=W(e.sheet);c&&(n.addMetric("cssText",c.length),o._cssText=c)}(r==="audio"||r==="video")&&(o.rr_mediaState=e.paused?"paused":"played");let i,a;switch(n.kind){case 0:i=Math.round(e.scrollTop),a=Math.round(e.scrollLeft),(i||a)&&n.scope.elementsScrollPositions.set(e,{scrollTop:i,scrollLeft:a});break;case 1:n.scope.elementsScrollPositions.has(e)&&({scrollTop:i,scrollLeft:a}=n.scope.elementsScrollPositions.get(e))}return a&&(o.rr_scrollLeft=a),i&&(o.rr_scrollTop=i),o}function W(e){if(!e)return null;let t;try{t=e.rules||e.cssRules}catch{}if(!t)return null;const n=Array.from(t,Ke()?et:ce).join("");return Ge(n,e.href)}function et(e){return nt(e)&&e.selectorText.includes(":")?e.cssText.replace(/(\[[\w-]+[^\\])(:[^\]]+\])/g,"$1\\$2"):ce(e)}function ce(e){return tt(e)&&W(e.styleSheet)||e.cssText}function tt(e){return"styleSheet"in e}function nt(e){return"selectorText"in e}
1function Y(e,t,n,o){if(t.parentNode?.nodeName==="STYLE"||n===f.$m.HIDDEN||n===f.$m.IGNORE)return;let s;const r=(0,f.dT)(t);if(r?s=(0,f.jR)(r,n):s=n,s===f.$m.HIDDEN){ut(e,t,o);return}if(s!==f.$m.IGNORE){switch(t.nodeType){case t.CDATA_SECTION_NODE:ct(e,t,o);break;case t.DOCUMENT_NODE:ot(e,t,o);break;case t.DOCUMENT_FRAGMENT_NODE:st(e,t,o);break;case t.DOCUMENT_TYPE_NODE:rt(e,t,o);break;case t.ELEMENT_NODE:it(e,t,s,o);break;case t.TEXT_NODE:at(e,t,s,o);break;default:return}switch(t.nodeType){case t.CDATA_SECTION_NODE:case t.DOCUMENT_TYPE_NODE:case t.TEXT_NODE:return}e.descend(),(0,f.wI)(t,i=>{Y(e,i,s,o)}),e.ascend()}}function ot(e,t,n){const{nodeId:o,insertionPoint:s}=e.advance(t);n.addNode(s,v(S.NodeName,"#document")),n.setScrollPosition(o,(0,f.Gn)(),(0,f.zL)()),ue(t.adoptedStyleSheets,o,n)}function st(e,t,n){const{nodeId:o,insertionPoint:s}=e.advance(t);if(!(0,f.p_)(t)){n.addNode(s,v(S.NodeName,"#document-fragment"));return}n.addNode(s,v(S.NodeName,"#shadow-root")),n.scope.shadowRootsController.addShadowRoot(t,n.scope),ue(t.adoptedStyleSheets,o,n)}function rt(e,t,n){const{insertionPoint:o}=e.advance(t);n.addNode(o,v(S.NodeName,"#doctype"),v(S.AttributeValue,t.name),v(S.AttributeValue,t.publicId),v(S.Url,t.systemId))}function it(e,t,n,o){const{nodeId:s,insertionPoint:r}=e.advance(t),i=Ze(t,n,o);o.addNode(r,de(t),...i),G(t)&&o.scope.canvasManager.markCanvasDirty(t);const{_cssText:a,rr_mediaState:c,rr_scrollLeft:p,rr_scrollTop:h}=qe(t,n,o),u=t;if(a!==void 0&&u.sheet){const d=o.scope.styleSheetIds.getOrInsert(u.sheet);o.addStyleSheet(v(S.Css,a)),o.attachStyleSheets(s,[d])}c==="played"?o.setMediaPlaybackState(s,z.Play):c==="paused"&&o.setMediaPlaybackState(s,z.Pause),(p!==void 0||h!==void 0)&&o.setScrollPosition(s,p||0,h||0)}function at(e,t,n,o){const{insertionPoint:s}=e.advance(t),r=(0,f.rf)(t,n);o.addNode(s,v(S.NodeName,"#text"),v(S.TextContent,r))}function ct(e,t,n){const{insertionPoint:o}=e.advance(t);n.addNode(o,v(S.NodeName,"#cdata-section"))}function ut(e,t,n){if(!(0,f.nS)(t))return;const{nodeId:o,insertionPoint:s}=e.advance(t);n.addNode(s,de(t),O(U(t),f.NT,f.Wd));const{width:r,height:i}=t.getBoundingClientRect();n.setSize(o,r,i)}function ue(e,t,n){!e||e.length===0||n.attachStyleSheets(t,e.map(o=>dt(o,n)))}function dt(e,t){const n=Array.from(e.cssRules||e.rules,s=>v(S.Css,s.cssText)),o=e.media.length>0?Array.from(e.media).map(s=>v(S.Css,s)):void 0;return t.addMetric("cssText",n.reduce((s,r)=>s+r.string.length,0)),t.addStyleSheet(n,o,e.disabled),t.scope.styleSheetIds.getOrInsert(e)}function de(e){const t=e.nodeName;return lt(e)?v(S.NodeName,`svg>${t}`):v(S.NodeName,t)}function lt(e){return e.namespaceURI==="http://www.w3.org/2000/svg"}function ft(e,t,n,o,s,r){r.resetIds(),X(t,o,s,r,e,i=>{Y(xe(r.nodeIds),n,r.configuration.defaultPrivacyLevel,i)})}function pt(e,t,n,o,s){X(2,n,o,s,e,r=>ht(t,r))}function ht(e,t){const n=new Set,o=new Map,s=new Map,r=new Set;for(const c of e)switch(c.type){case"attributes":{const p=c.target;let h=o.get(p);h||(h=new Map,o.set(p,h));const u=c.attributeName;h.has(u)||h.set(u,c.oldValue);break}case"characterData":s.has(c.target)||s.set(c.target,c.oldValue);break;case"childList":for(let p=0;p<c.addedNodes.length;p++)n.add(c.addedNodes[p]);for(let p=0;p<c.removedNodes.length;p++)r.add(c.removedNodes[p])}const i=t.scope.nodeIds.nextId,a=new Map;gt(r,t),St(n,a,t),mt(s,i,a,t),It(o,i,a,t)}function gt(e,t){const n=t.scope.nodeIds;for(const o of e){const s=n.get(o);s!==void 0&&(le(o,r=>{G(r)&&t.scope.canvasManager.markCanvasClean(r),(0,f.XS)(r)&&t.scope.shadowRootsController.removeShadowRoot(r.shadowRoot),n.delete(r)}),t.removeNode(s))}}function St(e,t,n){const o=n.scope.nodeIds;for(const s of e){if(!s.isConnected||o.get(s)!==void 0)continue;const r=(0,f.$4)(s);if(!r)continue;const i=o.get(r);if(i===void 0)continue;const a=(0,f.PJ)(r,n.scope.configuration.defaultPrivacyLevel,t),c=vt(s,o);Y(Oe(i,c,o),s,a,n)}}function mt(e,t,n,o){const s=o.scope.nodeIds;for(const[r,i]of e){if(r.textContent===i||!r.isConnected)continue;const a=s.get(r);if(a===void 0||a>=t)continue;const c=(0,f.$4)(r);if(!c)continue;const p=(0,f.PJ)(c,o.scope.configuration.defaultPrivacyLevel,n);if(p===f.$m.HIDDEN||p===f.$m.IGNORE)continue;const h=(0,f.rf)(r,p);o.setText(a,v(S.TextContent,h))}}function It(e,t,n,o){const s=o.scope.nodeIds;for(const[r,i]of e){if(!r.isConnected)continue;const a=s.get(r);if(a===void 0||a>=t)continue;const c=(0,f.PJ)(r,o.scope.configuration.defaultPrivacyLevel,n);if(c===f.$m.HIDDEN||c===f.$m.IGNORE)continue;const p=U(r),h=[a];for(const[u,d]of i){if(r.getAttribute(u)===d)continue;if(G(r)&&Je(u)&&o.scope.canvasManager.markCanvasDirty(r),u==="value"){const g=$(r,c);g!==void 0&&h.push(O(p,u,g));continue}const l=re(r,c,u,o.scope.configuration);h.push(Le(p,u,l))}h.length>1&&o.setAttributes(h)}}function vt(e,t){let n=e.nextSibling;for(;n;){const o=t.get(n);if(o!==void 0)return o;n=n.nextSibling}}function le(e,t){t(e),(0,f.wI)(e,n=>le(n,t))}const fe=25;function Tt(e){return Math.abs(e.pageTop-e.offsetTop-window.scrollY)>fe||Math.abs(e.pageLeft-e.offsetLeft-window.scrollX)>fe}const Et=(e,t)=>
1{const n=window.visualViewport,o={layoutViewportX:e,layoutViewportY:t,visualViewportX:e,visualViewportY:t};if(n)Tt(n)?(o.layoutViewportX=Math.round(e+n.offsetLeft),o.layoutViewportY=Math.round(t+n.offsetTop)):(o.visualViewportX=Math.round(e-n.offsetLeft),o.visualViewportY=Math.round(t-n.offsetTop));else return o;return o},pe=e=>({scale:e.scale,offsetLeft:e.offsetLeft,offsetTop:e.offsetTop,pageLeft:e.pageLeft,pageTop:e.pageTop,height:e.height,width:e.width});function yt(e,t,n,o,s){he((0,R.nx)(),0,t,n,s);const{unsubscribe:r}=e.subscribe(f.Rg.VIEW_CREATED,i=>{o(),he(i.startClocks.timeStamp,1,t,n,s)});return{stop:r}}function he(e,t,n,o,s){const{width:r,height:i}=(0,f.pB)();n({data:{height:i,href:window.location.href,width:r},type:N.Meta,timestamp:e}),n({data:{has_focus:document.hasFocus()},type:N.Focus,timestamp:e}),ft(e,t,document,n,o,s),window.visualViewport&&n({data:pe(window.visualViewport),type:N.VisualViewport,timestamp:e})}function Nt(){let t=0,n=ge();const o=s=>n[s.role][s.string];return{clear(){t!==0&&(n=ge(),t=0)},get:o,getOrInsert(s){let r=o(s);return r===void 0&&(r=t++,n[s.role][s.string]=r),r},get size(){return t-0}}}function ge(){return{[S.Default]:D(),[S.NodeName]:D(),[S.AttributeName]:D(),[S.AttributeValue]:D(),[S.TextContent]:D(),[S.FormInput]:D(),[S.Css]:D(),[S.Url]:D()}}function D(){return Object.create(null)}function Ct(){return J(1)}function Rt(){return J(0)}function At(){return J(0)}function J(e){return Mt(()=>new WeakMap,e)}function Mt(e,t){let n=e(),o=t;const s=r=>n.get(r);return{clear(){o!==t&&(n=e(),o=t)},delete(r){n.delete(r)},get:s,getOrInsert(r){let i=s(r);return i===void 0&&(i=o++,n.set(r,i)),i},get nextId(){return o},get size(){return o-t}}}function wt(e,t,n,o){const s={resetIds(){s.eventIds.clear(),s.nodeIds.clear(),s.stringIds.clear(),s.styleSheetIds.clear()},canvasManager:e,configuration:t,elementsScrollPositions:n,eventIds:Ct(),nodeIds:Rt(),shadowRootsController:o,stringIds:Nt(),styleSheetIds:At()};return s}function bt(){const e=new WeakMap;return{set(t,n){t===document&&!document.scrollingElement||e.set(t===document?document.scrollingElement:t,n)},get(t){return e.get(t)},has(t){return e.has(t)}}}function Dt(){const e=new Set;return{clearDirtyCanvases:()=>e.clear(),getDirtyCanvases:()=>{const t=[];return e.forEach(n=>{n.isConnected?t.push(n):e.delete(n)}),t},isCanvasDirty:t=>e.has(t),markCanvasClean:t=>e.delete(t),markCanvasDirty:t=>{t.isConnected&&e.add(t)}}}var B=T(76197);function Se(e){return!!e.changedTouches}function V(e){return e.composed===!0&&(0,f.XS)(e.target)?e.composedPath()[0]:e.target}function w(e,t,n=(0,R.nx)()){return{data:{source:e,...t},type:N.IncrementalSnapshot,timestamp:n}}var y=T(83220),m=T(42123);const xt=50;function Ot(e,t){const{throttled:n,cancel:o}=(0,y.n)(r=>{const i=V(r),a=t.nodeIds.get(i);if(a===void 0)return;const c=me(r);if(!c)return;const p={id:a,timeOffset:0,x:c.x,y:c.y};e(w(Se(r)?A.TouchMove:A.MouseMove,{positions:[p]}))},xt,{trailing:!1}),{stop:s}=(0,m.lQ)(document,[m.gX.MOUSE_MOVE,m.gX.TOUCH_MOVE],n,{capture:!0,passive:!0});return{stop:()=>{s(),o()}}}function me(e){let{clientX:t,clientY:n}=Se(e)?e.changedTouches[0]:e;if(window.visualViewport){const{visualViewportX:o,visualViewportY:s}=Et(t,n);t=o,n=s}if(!(!Number.isFinite(t)||!Number.isFinite(n)))return{x:t,y:n}}const Ie={[m.gX.POINTER_UP]:C.MouseUp,[m.gX.MOUSE_DOWN]:C.MouseDown,[m.gX.CLICK]:C.Click,[m.gX.CONTEXT_MENU]:C.ContextMenu,[m.gX.DBL_CLICK]:C.DblClick,[m.gX.FOCUS]:C.Focus,[m.gX.BLUR]:C.Blur,[m.gX.TOUCH_START]:C.TouchStart,[m.gX.TOUCH_END]:C.TouchEnd};function Lt(e,t){const n=o=>{const s=V(o),r=t.nodeIds.get(s);if(r===void 0||(0,f.PJ)(s,t.configuration.defaultPrivacyLevel)===f.$m.HIDDEN)return;const i=Ie[o.type];let a;if(i!==C.Blur&&i!==C.Focus){const c=me(o);if(!c)return;a={id:r,type:i,x:c.x,y:c.y}}else a={id:r,type:i};e({id:t.eventIds.getOrInsert(o),...w(A.MouseInteraction,a)})};return(0,m.lQ)(document,Object.keys(Ie),n,{capture:!0,passive:!0})}const Pt=100;function ve(e,t,n){const{throttled:o,cancel:s}=(0,y.n)(i=>{const a=V(i);if(!a)return;const c=n.nodeIds.get(a);if(c===void 0||(0,f.PJ)(a,n.configuration.defaultPrivacyLevel)===f.$m.HIDDEN)return;const p=a===document?{scrollTop:(0,f.zL)(),scrollLeft:(0,f.Gn)()}:{scrollTop:Math.round(a.scrollTop),scrollLeft:Math.round(a.scrollLeft)};n.elementsScrollPositions.set(a,p),t(w(A.Scroll,{id:c,x:p.scrollLeft,y:p.scrollTop}))},Pt),{stop:r}=(0,m.q2)(e,m.gX.SCROLL,o,{capture:!0,passive:!0});return{stop:()=>{r(),s()}}}const Vt=200;function kt(e){const t=(0,f.g1)().subscribe(n=>{e(w(A.ViewportResize,n))});return{stop:()=>{t.unsubscribe()}}}
1function zt(e){const t=window.visualViewport;if(!t)return{stop:y.l};const{throttled:n,cancel:o}=(0,y.n)(()=>{e({data:pe(t),type:N.VisualViewport,timestamp:(0,R.nx)()})},Vt,{trailing:!1}),{stop:s}=(0,m.lQ)(t,[m.gX.RESIZE,m.gX.SCROLL],n,{capture:!0,passive:!0});return{stop:()=>{s(),o()}}}function Ut(e,t){return(0,m.lQ)(document,[m.gX.PLAY,m.gX.PAUSE],n=>{const o=V(n);if(!o)return;const s=t.nodeIds.get(o);s===void 0||(0,f.PJ)(o,t.configuration.defaultPrivacyLevel)===f.$m.HIDDEN||e(w(A.MediaInteraction,{id:s,type:n.type===m.gX.PLAY?z.Play:z.Pause}))},{capture:!0,passive:!0})}var M=T(19839);function Ht(e,t){function n(r,i){if(!r?.ownerNode)return;const a=t.nodeIds.get(r.ownerNode);a!==void 0&&i(a)}const o=[(0,M.H7)(CSSStyleSheet.prototype,"insertRule",({target:r,parameters:[i,a]})=>{n(r,c=>e(w(A.StyleSheetRule,{id:c,adds:[{rule:i,index:a}]})))}),(0,M.H7)(CSSStyleSheet.prototype,"deleteRule",({target:r,parameters:[i]})=>{n(r,a=>e(w(A.StyleSheetRule,{id:a,removes:[{index:i}]})))})];typeof CSSGroupingRule<"u"?s(CSSGroupingRule):(s(CSSMediaRule),s(CSSSupportsRule));function s(r){o.push((0,M.H7)(r.prototype,"insertRule",({target:i,parameters:[a,c]})=>{n(i.parentStyleSheet,p=>{const h=Te(i);h&&(h.push(c||0),e(w(A.StyleSheetRule,{id:p,adds:[{rule:a,index:h}]})))})}),(0,M.H7)(r.prototype,"deleteRule",({target:i,parameters:[a]})=>{n(i.parentStyleSheet,c=>{const p=Te(i);p&&(p.push(a),e(w(A.StyleSheetRule,{id:c,removes:[{index:p}]})))})}))}return{stop:()=>{o.forEach(r=>r.stop())}}}function Te(e){const t=[];let n=e;for(;n.parentRule;){const s=Array.from(n.parentRule.cssRules).indexOf(n);t.unshift(s),n=n.parentRule}if(!n.parentStyleSheet)return;const o=Array.from(n.parentStyleSheet.cssRules).indexOf(n);return t.unshift(o),t}function Bt(e){return(0,m.lQ)(window,[m.gX.FOCUS,m.gX.BLUR],()=>{e({data:{has_focus:document.hasFocus()},type:N.Focus,timestamp:(0,R.nx)()})})}function Ft(e,t,n){const o=e.subscribe(f.Rg.VIEW_ENDED,()=>{n(),t({timestamp:(0,R.nx)(),type:N.ViewEnd})});return{stop:()=>{o.unsubscribe()}}}const _t={type:1,selection:P.Deselected};function Ee(e,t,n,o){const s=o.configuration.defaultPrivacyLevel,r=new WeakMap,i=e.nodeType!==e.DOCUMENT_NODE,a=(i?e.ownerDocument:e).defaultView;if(!a)return{stop:y.l};const{stop:c}=(0,m.lQ)(e,i?[m.gX.CHANGE]:[m.gX.INPUT,m.gX.CHANGE],d=>{const l=V(d);(l instanceof a.HTMLInputElement||l instanceof a.HTMLTextAreaElement||l instanceof a.HTMLSelectElement)&&h(l)},{capture:!0,passive:!0});let p;if(i)p=y.l;else{const d=[(0,M.tv)(a.HTMLInputElement.prototype,"value",h),(0,M.tv)(a.HTMLInputElement.prototype,"checked",h),(0,M.tv)(a.HTMLSelectElement.prototype,"value",h),(0,M.tv)(a.HTMLTextAreaElement.prototype,"value",h),(0,M.tv)(a.HTMLSelectElement.prototype,"selectedIndex",h)];p=()=>{d.forEach(l=>l.stop())}}return{stop:()=>{p(),c()}};function h(d){const l=(0,f.PJ)(d,s);if(l===f.$m.HIDDEN)return;const g=d.type;let b=d,x;if(g==="radio"||g==="checkbox"){if((0,f.Ie)(d,l))return;x={type:1,selection:Xt(d)}}else if(ye(d)){if((0,f.Ie)(d,l))return;const E=d.options[d.selectedIndex];if(!E)return;b=E,x={type:1,selection:P.Selected}}else{const E=$(d,l);if(E===void 0)return;x={type:0,value:E}}const F=u(b,x),_=[];if(g==="radio"&&d.checked&&$t(d,E=>{const k=u(E,_t);k!==void 0&&_.push(k)}),ye(d))for(let E=0;E<d.options.length;E++){const k=d.options[E];k!==b&&r.delete(k)}F===void 0&&_.length===0||X(2,t,n,o,(0,R.nx)(),E=>{F!==void 0&&(x.type===0?E.setInputValue(F,v(S.FormInput,x.value)):E.setInputSelection(x.selection,[F])),_.length>0&&E.setInputSelection(P.Deselected,_)})}function u(d,l){const g=o.nodeIds.get(d);if(g===void 0)return;const b=r.get(d);if(!(b&&Gt(b,l)))return r.set(d,l),g}}function ye(e){return e.tagName==="SELECT"}function Xt(e){return e.checked?P.Selected:P.Deselected}function $t(e,t){e.name&&e.ownerDocument.querySelectorAll(`input[type="radio"][name="${CSS.escape(e.name)}"]`).forEach(n=>{const o=n;o!==e&&t(o)})}function Gt(e,t){return e.type===0?t.type===0&&e.value===t.value:t.type===1&&e.selection===t.selection}var Wt=T(15525);const Yt=100;function Jt(e){let t=y.l,n=[];function o(){t(),e(n),n=[]}const{throttled:s,cancel:r}=(0,y.n)(o,16,{leading:!1});return{addMutations:i=>{n.length===0&&(t=(0,Wt.B)(s,{timeout:Yt}));for(const a of i)n.push(a)},flush:o,stop:()=>{t(),r()}}}var jt=T(38197);function Ne(e,t,n,o){const s=(0,f.W3)();if(!s)return{stop:y.l,flush:y.l};const r=Jt(a=>{pt((0,R.nx)(),a.concat(i.takeRecords()),t,n,o)}),i=new s((0,jt.dm)(r.addMutations));return i.observe(e,{attributeOldValue:!0,attributes:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0}),{stop:()=>{i.disconnect(),r.stop()},flush:()=>{r.flush()}}}const Kt=["clearRect","fillRect","strokeRect","fill","stroke","fillText","strokeText","drawImage","putImageData","drawFocusIfNeeded","reset"];function Qt(e){if(!e.configuration.sessionReplayCanvasRecording?.enable||e.configuration.sessionReplayCanvasRecording.maxFramesPerSecond===0||typeof CanvasRenderingContext2D>"u")return{stop:y.l};const t=[];return Kt.forEach(n=>{t.push((0,M.H7)(CanvasRenderingContext2D.prototype,n,({target:o,onPostCall:s})=>{s(()=>
1{e.nodeIds.get(o.canvas)!==void 0&&e.canvasManager.markCanvasDirty(o.canvas)})}))}),{stop:()=>t.forEach(n=>n.stop())}}const Zt=(e,t)=>{const n=new Map;return{addShadowRoot:(o,s)=>{if(n.has(o))return;const r=Ne(o,e,t,s),i=Ee(o,e,t,s),a=ve(o,e,s);n.set(o,{flush:()=>r.flush(),stop:()=>{r.stop(),i.stop(),a.stop()}})},removeShadowRoot:o=>{const s=n.get(o);s&&(s.stop(),n.delete(o))},stop:()=>{n.forEach(({stop:o})=>o())},flush:()=>{n.forEach(({flush:o})=>o())}}};var qt=T(27621);function en(e){const{emitRecord:t,emitStats:n,configuration:o,lifeCycle:s}=e;if(!t||!n)throw new Error("emit functions are required");const r=l=>{t(l),(0,qt.b)("record",{record:l});const g=e.viewHistory.findView();(0,B.$1)(g.id)},i=Dt(),a=Zt(r,n),c=wt(i,o,bt(),a),{stop:p}=yt(s,r,n,h,c);function h(){a.flush(),u.flush()}const u=Ne(document,r,n,c),d=[u,Ot(r,c),Lt(r,c),ve(document,r,c),kt(r),Ee(document,r,n,c),Ut(r,c),Ht(r,c),Bt(r),zt(r),Ft(s,r,h),Qt(c)];return{stop:()=>{a.stop(),d.forEach(l=>l.stop()),p()},flushMutations:h,shadowRootsController:a}}var tn,nn,on,sn,rn,an,cn,un,j,L,Ce;function bn({configuration:e}={}){const t=[],n=o=>{t.push(o)};return sn(Ce(),0,n,L,Re(e)),t}function Dn(e,{configuration:t}={}){let n;return nn(0,s=>{n=s},L,Re(t),Ce(),s=>{const r=un(e,s.scope.configuration.defaultPrivacyLevel);if(r===j.HIDDEN||r===j.IGNORE)return;const i=tn(s.scope.nodeIds);on(i,e,r,s)}),n}function Re(e){return rn(cn(),{defaultPrivacyLevel:j.ALLOW,...e},an(),{addShadowRoot:L,removeShadowRoot:L,flush:L,stop:L})}function dn(e,t,n,o){const s=new FormData;s.append("segment",new Blob([e],{type:"application/octet-stream"}),`${t.session.id}-${t.start}`);const r={raw_segment_size:o,compressed_segment_size:e.byteLength,...t},i=JSON.stringify(r);return s.append("event",new Blob([i],{type:"application/json"})),{data:s,bytesCount:e.byteLength,cssText:n.cssText,isFullSnapshot:t.index_in_view===0,rawSize:o,recordCount:t.records_count,serializationDuration:n.serializationDuration}}function ln({context:e,creationReason:t,encoder:n}){let o=0;const s=e.view.id,r={start:1/0,end:-1/0,creation_reason:t,records_count:0,has_full_snapshot:!1,index_in_view:(0,B.K_)(s),source:"browser",...e},i=ne();(0,B.H5)(s);function a(h,u){r.start=Math.min(r.start,h.timestamp),r.end=Math.max(r.end,h.timestamp),r.records_count+=1,r.has_full_snapshot||=h.type===N.FullSnapshot||h.type===N.Change&&r.index_in_view===0;const d=n.isEmpty?'{"records":[':",";n.write(d+JSON.stringify(h),l=>{o+=l,u(o)})}function c(h){Be(i,h)}function p(h){if(n.isEmpty)throw new Error("Empty segment flushed");n.write(`],${JSON.stringify(r).slice(1)} 2`),n.finish(u=>{(0,B.L7)(r.view.id,u.rawBytesCount),h(r,i,u)})}return{addRecord:a,addStats:c,flush:p}}var Ae=T(48163),Me=T(6478);const fn=5*1e3;let we=6e4;function pn(e,t,n,o,s,r){return hn(e,()=>gn(t.applicationId,n,o),s,r)}function hn(e,t,n,o){let s={status:0,nextSegmentCreationReason:"init"};const{unsubscribe:r}=e.subscribe(f.Rg.VIEW_CREATED,()=>{a("view_change")}),{unsubscribe:i}=e.subscribe(f.Rg.PREPARE_URGENT_FLUSH,c=>{a(c)});function a(c){s.status===1&&(s.segment.flush((p,h,u)=>{const d=dn(u.output,p,h,u.rawBytesCount);(0,Ae.Kp)(c)&&c!==Ae.y5.HIDDEN?n.sendOnExit(d):n.send(d)}),(0,Me.DJ)(s.expirationTimeoutId)),c!=="stop"?s={status:0,nextSegmentCreationReason:c}:s={status:2}}return{addRecord:c=>{if(s.status!==2){if(s.status===0){const p=t();if(!p)return;s={status:1,segment:ln({encoder:o,context:p,creationReason:s.nextSegmentCreationReason}),expirationTimeoutId:(0,Me.wg)(()=>{a("segment_duration_limit")},fn)}}s.segment.addRecord(c,p=>{p>we&&a("segment_bytes_limit")})}},addStats:c=>{s.status===1&&s.segment.addStats(c)},stop:()=>{a("stop"),r(),i()}}}function gn(e,t,n){const o=t.findTrackedSession(),s=n.findView();if(!(!o||!s))return{application:{id:e},session:{id:o.id},view:{id:s.id}}}var K=T(52268);function Sn(e,t){if(!e.metricsEnabled)return{stop:y.l};const{unsubscribe:n}=t.subscribe(o=>{if(o.type==="failure"||o.type==="queue-full"||o.type==="success"&&o.payload.isFullSnapshot){const s=mn(o.type,o.bandwidth,o.payload);(0,K.Gk)(K.Xf.SEGMENT_METRICS_TELEMETRY_NAME,{metrics:s})}});return{stop:n}}
2function mn(e,t,n){return{cssText:{count:n.cssText.count,max:n.cssText.max,sum:n.cssText.sum},encoding:{fullSnapshot:"change",incrementalSnapshot:"change"},isFullSnapshot:n.isFullSnapshot,ongoingRequests:{count:t.ongoingRequestCount,totalSize:t.ongoingByteCount},recordCount:n.recordCount,result:e,serializationDuration:{count:n.serializationDuration.count,max:n.serializationDuration.max,sum:n.serializationDuration.sum},size:{compressed:n.bytesCount,raw:n.rawSize}}}var be=T(6288);function In(e){const t=(0,be.Y9)();return{addRecord:n=>{const o=e.findView();t.send("record",n,o.id)}}}var vn=T(43862),Tn=T(15978),En=T(22084);function yn(e,t,n,o,s,r,i){const a=[],c=l=>{e.notify(f.Rg.RAW_ERROR_COLLECTED,{error:{message:l,source:vn.gf.AGENT,startClocks:(0,R.M8)()}}),(0,K.A2)("Error reported to customer",{"error.message":l})},p=i||(0,Tn.sA)([(0,En.ns)(t,"replay")],c,we);let h,u;if((0,be.d0)())({addRecord:h}=In(o)),u=y.l;else{const l=pn(e,t,n,o,p,s);h=l.addRecord,u=l.addStats,a.push(l.stop);const g=Sn(r,p.observable);a.push(g.stop)}const{stop:d}=en({emitRecord:h,emitStats:u,configuration:t,lifeCycle:e,viewHistory:o});return a.push(d),{stop:()=>{a.forEach(l=>l())}}}})}]); 3 4//# sourceMappingURL=datadogRecorder_6d7318ad73b0dd0f7f0e.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.