PageSourceSearch

https://digital.fidelity.com/prgw/digital/signin/chunk-45GGPBBD.js

js fidelity.com collected 2026-09-24 09:00:03 UTC 26,733 bytes, 2 lines download raw bytes

1import{a as nt,b as it,c as st,d as at}from"./chunk-QMWN43QN.js";import{$ as ct,A as Xe,B as je,D as Ke,F as Je,H as Ze,I as qe,K as Qe,L as et,N as tt,U as ot,W as rt,aa as _,ba as ut,c as Ue,ca as ee,da as te,e as Fe,ea as lt,fa as oe,ga as fe,h as N,i as He,ia as I,ja as dt,k as Be,ka as pt,la as re,ma as me,n as Ge,na as M,oa as ft,p as Ye,pa as mt,q as We,qa as O,r as k,ra as St,s as y,sa as ne,t as U,ta as ie,u as G,ua as se,v as g,va as gt,w as $e,wa as ht,x as b}from"./chunk-2JPUMLBT.js";import{a as D}from"./chunk-HQXTCKBE.js";var T={FullSnapshot:2,IncrementalSnapshot:3,Meta:4,Focus:6,ViewEnd:7,VisualViewport:8,FrustrationRecord:9,Change:12};var h={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},m={Default:0,NodeName:1,AttributeName:2,AttributeValue:3,TextContent:4,FormInput:5,Css:6,Url:7},Y={Selected:0,Deselected:1,Indeterminate:2};var v={Mutation:0,MouseMove:1,MouseInteraction:2,Scroll:3,ViewportResize:4,Input:5,TouchMove:6,MediaInteraction:7,StyleSheetRule:8},x={MouseUp:0,MouseDown:1,Click:2,ContextMenu:3,DblClick:4,Focus:5,Blur:6,TouchStart:7,TouchEnd:9},W={Play:0,Pause:1},Et={V1:0,Change:1};function ae(e){return Tt(void 0,void 0,e)}function It(e,t,o){return Tt(e,t,o)}function Tt(e,t,o){let r={container:void 0,parentId:e,previousSiblingId:void 0,nextSiblingId:t},n=i=>r.previousSiblingId===i-1?0:r.nextSiblingId!==void 0?r.nextSiblingId-i:r.parentId!==void 0?i-r.parentId:null;return{advance(i){let s=o.getOrInsert(i),a=n(s);return r.previousSiblingId=s,{nodeId:s,insertionPoint:a}},ascend(){r.container&&(r=r.container)},descend(){r.previousSiblingId!==void 0&&(r={container:r,parentId:r.previousSiblingId,previousSiblingId:void 0,nextSiblingId:void 0})}}}function E(e,t){return{role:e,string:t}}function L(e,t,o){return[E(m.AttributeName,t),E(yt(e,t),o)]}function Nt(e,t,o){let r=E(m.AttributeName,t);return o===null?[r]:[r,E(yt(e,t),o)]}var Kt=new Set(["input","option","select","textarea"]),Jt=new Set(["action","background","cite","data","formaction","href","longdesc","manifest","ping","poster","src","srcset","xlink:href"]);function yt(e,t){switch(t){case"value":return Kt.has(e)?m.FormInput:m.AttributeValue;case"style":return m.Css;default:return Jt.has(t)?m.Url:m.AttributeValue}}function Ct(e){let t=[],o=vt(e),r=()=>{o.flushInto(t),o=vt(e)},n=()=>{r(),t.push([h.ClearStrings]),e.clear()};return{add:(a,c)=>{o.add(a,c),e.size+o.pendingStringCount>=1e6&&n()},flush:()=>{r();let a=t;return t=[],a}}}function vt(e){let t={},o=new Map,r=[],n=0,i=!1,s=u=>{let l=e.get(u);if(l!==void 0)return l;i=!0;let d=o.get(u.role);d||(d={role:u.role,strings:new Map,references:0},o.set(u.role,d)),d.references++;let S=d.strings.get(u.string);if(S)return S;let A={literal:u,id:void 0};return d.strings.set(u.string,A),n++,A},a=u=>{for(let l=0,d=u.length;l<d;l++){let S=u[l];typeof S=="string"?u[l]=s(E(m.Default,S)):Array.isArray(S)?a(S):qt(S)&&(u[l]=s(S))}},c=()=>{if(o.size===0)return;let u=[h.AddRoleAnnotatedStrings];for(let l of Array.from(o.values()).sort(Zt)){let d=[l.role];for(let S of l.strings.values())S.id=e.getOrInsert(S.literal),d.push(S.literal.string);u.push(d)}return u};return{add:(u,l)=>{u in t||(t[u]=[u]),Array.isArray(l)&&(i=!1,a(l),i&&r.push(l)),t[u].push(l)},flushInto:u=>{let l=c();l&&u.push(l);for(let d of r)Rt(d);[h.AddNode,h.RemoveNode,h.Attribute,h.Text,h.InputValue,h.InputSelection,h.Size,h.ScrollPosition,h.AddStyleSheet,h.AttachedStyleSheets,h.MediaPlaybackState,h.VisualViewport].forEach(d=>{let S=t[d];S&&u.push(S)})},get pendingStringCount(){return n}}}function Rt(e){for(let t=0,o=e.length;t<o;t++){let r=e[t];Array.isArray(r)?Rt(r):Qt(r)&&(e[t]=r.id)}}function Zt(e,t){return t.references-e.references}function qt(e){return typeof e=="object"&&e!==null&&"string"in e}function Qt(e){return typeof e=="object"&&e!==null&&"literal"in e}function $(){return{cssText:{count:0,max:0,sum:0},serializationDuration:{count:0,max:0,sum:0}}}function Se(e,t,o){e[t].count+=1,e[t].max=Math.max(e[t].max,o),e[t].sum+=o}function ce(e,t){for(let o of["cssText","serializationDuration"])e[o].count+=t[o].count,e[o].max=Math.max(e[o].max,t[o].max),e[o].sum+=t[o
1].sum}function V(e,t,o,r,n,i){let s=Ct(r.stringIds),a=$(),c={addMetric(u,l){Se(a,u,l)},addNode(...u){s.add(h.AddNode,u)},addStyleSheet(u,l,d){d?s.add(h.AddStyleSheet,[u,l||[],d]):l?s.add(h.AddStyleSheet,[u,l]):s.add(h.AddStyleSheet,[u])},attachStyleSheets(u,l){let d=[u];for(let S of l)d.push(S);s.add(h.AttachedStyleSheets,d)},removeNode(u){s.add(h.RemoveNode,u)},setAttributes(u){s.add(h.Attribute,u)},setInputSelection(u,l){let d=[u];for(let S of l)d.push(S);s.add(h.InputSelection,d)},setInputValue(u,l){s.add(h.InputValue,[u,l])},setMediaPlaybackState(u,l){s.add(h.MediaPlaybackState,[u,l])},setScrollPosition(u,l,d){s.add(h.ScrollPosition,[u,l,d])},setSize(u,l,d){s.add(h.Size,[u,l,d])},setText(u,l){s.add(h.Text,[u,l])},kind:e,scope:r},p=N();i(c),Se(a,"serializationDuration",He(p,N()));let f=s.flush();f.length>0&&t(e===0||e===1?{data:f,format:Et.Change,type:T.FullSnapshot,timestamp:n}:{data:f,type:T.Change,timestamp:n}),o(a)}function F(e,t){let o=e.tagName,r=e.value;if(O(e,t)){let n=e.type;return o==="INPUT"&&(n==="button"||n==="submit"||n==="reset")?r:!r||o==="OPTION"?void 0:re}if(o==="OPTION"||o==="SELECT")return e.value;if(!(o!=="INPUT"&&o!=="TEXTAREA"))return r}var eo=/url\((?:(')([^']*)'|(")([^"]*)"|([^)]*))\)/gm,to=/^[A-Za-z]+:|^\/\//,oo=/^["']?data:.*,/i;function Mt(e,t){return e.replace(eo,(o,r,n,i,s,a)=>{let c=n||s||a;if(!t||!c||to.test(c)||oo.test(c))return o;let p=r||i||"";return`url(${p}${ro(c,t)}${p})`})}function ro(e,t){try{return Ue(e,t).href}catch{return e}}function H(e){return e.tagName.toLowerCase()}function ge(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`}var no=["width","height"];function j(e){return ee(e)&&e.tagName==="CANVAS"}function bt(e){return no.includes(e.toLowerCase())}var io=1e6;function ue(e,t,o,r){if(t===I.HIDDEN)return null;let n=e.getAttribute(o),i=e.tagName;if(St(i,o,n,t,r)){if(i==="IMG"){let s=e;if(s.naturalWidth>0)return ge(s.naturalWidth,s.naturalHeight);let{width:a,height:c}=e.getBoundingClientRect();return a>0||c>0?ge(a,c):me}return i==="SOURCE"?me:re}return n&&ut(n,io)}function xt(e,t,o){if(t===I.HIDDEN)return[];let r=[],n=H(e);for(let s=0;s<e.attributes.length;s+=1){let a=e.attributes.item(s).name;a==="value"||a==="selected"||a==="checked"||le(r,e,n,a,t,o)}if(e.value&&(n==="textarea"||n==="select"||n==="option"||n==="input")){let s=F(e,t);s!==void 0&&r.push(L(n,"value",s))}else e.hasAttribute("value")&&le(r,e,n,"value",t,o);n==="option"?e.selected&&!O(e,t)&&r.push(L(n,"selected","")):e.hasAttribute("selected")&&le(r,e,n,"selected",t,o);let i=e;return n==="input"&&(i.type==="radio"||i.type==="checkbox")?i.checked&&!O(e,t)&&r.push(L(n,"checked","")):e.hasAttribute("checked")&&le(r,e,n,"checked",t,o),r}function le(e,t,o,r,n,i){let s=ue(t,n,r,i.scope.configuration);s!==null&&e.push(L(o,r,s))}function wt(e,t,o){if(t===I.HIDDEN)return{};let r={},n=e.ownerDocument,i=H(e);if(i==="link"){let c=Array.from(n.styleSheets).find(f=>f.href===e.href),p=he(c);p&&c&&(o.addMetric("cssText",p.length),r._cssText=p)}if(i==="style"&&e.sheet){let c=he(e.sheet);c&&(o.addMetric("cssText",c.length),r._cssText=c)}(i==="audio"||i==="video")&&(r.rr_mediaState=e.paused?"paused":"played");let s,a;switch(o.kind){case 0:s=Math.round(e.scrollTop),a=Math.round(e.scrollLeft),(s||a)&&o.scope.elementsScrollPositions.set(e,{scrollTop:s,scrollLeft:a});break;case 1:o.scope.elementsScrollPositions.has(e)&&({scrollTop:s,scrollLeft:a}=o.scope.elementsScrollPositions.get(e))}return a&&(r.rr_scrollLeft=a),s&&(r.rr_scrollTop=s),r}function he(e){if(!e)return null;let t;try{t=e.rules||e.cssRules}catch{}if(!t)return null;let o=Array.from(t,ot()?so:At).join("");return Mt(o,e.href)}function so(e){return co(e)&&e.selectorText.includes(":")?e.cssText.replace(/(\[[\w-]+[^\\])(:[^\]]+\])/g,"$1\\$2"):At(e)}function At(e){return ao(e)&&he(e.styleSheet)||e.cssText}function ao(e){return"styleSheet"in e}function co(e){return"selectorText"in e}function B(e,t,o,r){if(t.parentNode?.nodeName==="STYLE"||o===I.HIDDEN||o===I.IGNORE)return;let n,i=mt(t);if(i?n=ft(i,o):n=o,n===I.HIDDEN){go(e,t,r);return}if(n!==I.IGNORE){switch(t.nodeType){case t.CDATA_SECTION_NODE:So(e,t,r);break;case t.DOCUMENT_NODE:uo(e,t,r);break;case t.DOCUMENT_FRAGMENT_NODE:lo(e,t,r);break;case t.DOCUMENT_TYPE_NODE:po(e,t,r);break;case t.ELEMENT_NODE:fo(e,t,n,r);break;case t.TEXT_NODE:mo(e,t,n,r);break;default:return}switch(t.nodeType){case t.CDATA_SECTION_NODE:case t.DOCUMENT_TYPE_NODE:case t.TEXT_NODE:return}e.descend(),oe(t,s=>{B(e,s,n,r)}),e.ascend()}}function uo(e,t,o){let{nodeId:r,insertionPoint:n}=e.advance(t);o.addNode(n,E(m.NodeName,"#document")),o.setScrollPosition(r,ie(),se()),Dt(t.adoptedStyleSheets,r,o)}function lo(e,t,o){let{nodeId:r,insertionPoint:n}=e.advance(t);if(!lt(t)){o.addNode(n,E(m.NodeName,"#document-fragment"));return}o.addNode(n,E(m.NodeName,"#shadow-root")),o.scope.shadowRootsController.addShadowRoot(t,o.scope),Dt(t.adoptedStyleSheets,r,o)}function po(e,t,o){let{insertionPoint:r}=e.advance(t);o.addNode(r,E(m.NodeName,"#doctype"),E(m.AttributeValue,t.name),E(m.AttributeValue,t.publicId),E(m.Url,t.systemId))}function fo(e,t,o,r){let{nodeId:n,insertionPoint:i}=e.advance(t),s=xt(t,o,r);r.addNode(i,_t(t),...s),j(t)&&r.scope.canvasManager.markCanvasDirty(t);let{_cssText:a,rr_mediaState:c,rr_scrollLeft:p,rr_scrollTop:f}=wt(t,o,r),u=t;if(a!==void 0&&u.sheet){let l=r.scope.styleSheetIds.getOrInsert(u.sheet);r.addStyleSheet(E(m.Css,a)),r.attachStyleSheets(n,[l])}c==="played"?r.setMediaPlaybackState(n,W.Play):c==="paused"&&r.setMediaPlaybackState(n,W.Pause),(p!==void 0||f!==void 0)&&r.setScrollPosition(n,p||0,f||0)}function mo(e,t,o,r){let{insertionPoint:n}=e.advance(t),i=ne(t,o);r.addNode(n,E(m.NodeName,"#text"),E(m.TextContent,i))}function So(e,t,o){let{insertionPoint:r}=e.advance(t);o.addNode(r,E(m.NodeName,"#cdata-section"))}function go(e,t,o){if(!ee(t))return;let{nodeId:r,insertionPoint:n}=e.advance(t);o.addNode(n,_t(t),L(H(t),dt,pt));let{width:i,height:s}=t.getBoundingClientRect();o.setSize(r,i,s)}function Dt(e,t,o){!e||e.length===0||o.attachStyleSheets(t,e.map(r=>ho(r,o)))}function ho(e,t){let o=Array.from(e.cssRules||e.rules,n=>E(m.Css,n.cssText)),r=e.media.length>0?Array.from(e.media).map(n=>E(m.Css,n)):void 0;return t.addMetric("cssText",o.reduce((n,i)=>n+i.string.length,0)),t.addStyleSheet(o,r,e.disabled),t.scope.styleSheetIds.getOrInsert(e)}function _t(e){let t=e.nodeName;return Eo(e)?E(m.NodeName,`svg>${t}`):E(m.NodeName,t)}function Eo(e){return e.namespaceURI==="http://www.w3.org/2000/svg"}function Ee(e,t,o,r,n,i){i.resetIds(),V(t,r,n,i,e,s=>{B(ae(i.nodeIds),o,i.configuration.defaultPrivacyLevel,s)})}function Ie(e,t,o,r,n){V(2,o,r,n,e,i=>
1Io(t,i))}function Io(e,t){let o=new Set,r=new Map,n=new Map,i=new Set;for(let c of e)switch(c.type){case"attributes":{let p=c.target,f=r.get(p);f||(f=new Map,r.set(p,f));let u=c.attributeName;f.has(u)||f.set(u,c.oldValue);break}case"characterData":n.has(c.target)||n.set(c.target,c.oldValue);break;case"childList":for(let p=0;p<c.addedNodes.length;p++)o.add(c.addedNodes[p]);for(let p=0;p<c.removedNodes.length;p++)i.add(c.removedNodes[p])}let s=t.scope.nodeIds.nextId,a=new Map;To(i,t),No(o,a,t),yo(n,s,a,t),vo(r,s,a,t)}function To(e,t){let o=t.scope.nodeIds;for(let r of e){let n=o.get(r);n!==void 0&&(Lt(r,i=>{j(i)&&t.scope.canvasManager.markCanvasClean(i),te(i)&&t.scope.shadowRootsController.removeShadowRoot(i.shadowRoot),o.delete(i)}),t.removeNode(n))}}function No(e,t,o){let r=o.scope.nodeIds;for(let n of e){if(!n.isConnected||r.get(n)!==void 0)continue;let i=fe(n);if(!i)continue;let s=r.get(i);if(s===void 0)continue;let a=M(i,o.scope.configuration.defaultPrivacyLevel,t),c=Co(n,r);B(It(s,c,r),n,a,o)}}function yo(e,t,o,r){let n=r.scope.nodeIds;for(let[i,s]of e){if(i.textContent===s||!i.isConnected)continue;let a=n.get(i);if(a===void 0||a>=t)continue;let c=fe(i);if(!c)continue;let p=M(c,r.scope.configuration.defaultPrivacyLevel,o);if(p===I.HIDDEN||p===I.IGNORE)continue;let f=ne(i,p);r.setText(a,E(m.TextContent,f))}}function vo(e,t,o,r){let n=r.scope.nodeIds;for(let[i,s]of e){if(!i.isConnected)continue;let a=n.get(i);if(a===void 0||a>=t)continue;let c=M(i,r.scope.configuration.defaultPrivacyLevel,o);if(c===I.HIDDEN||c===I.IGNORE)continue;let p=H(i),f=[a];for(let[u,l]of s){if(i.getAttribute(u)===l)continue;if(j(i)&&bt(u)&&r.scope.canvasManager.markCanvasDirty(i),u==="value"){let S=F(i,c);S!==void 0&&f.push(L(p,u,S));continue}let d=ue(i,c,u,r.scope.configuration);f.push(Nt(p,u,d))}f.length>1&&r.setAttributes(f)}}function Co(e,t){let o=e.nextSibling;for(;o;){let r=t.get(o);if(r!==void 0)return r;o=o.nextSibling}}function Lt(e,t){t(e),oe(e,o=>Lt(o,t))}function Ro(e){return Math.abs(e.pageTop-e.offsetTop-window.scrollY)>25||Math.abs(e.pageLeft-e.offsetLeft-window.scrollX)>25}var kt=(e,t)=>{let o=window.visualViewport,r={layoutViewportX:e,layoutViewportY:t,visualViewportX:e,visualViewportY:t};if(o)Ro(o)?(r.layoutViewportX=Math.round(e+o.offsetLeft),r.layoutViewportY=Math.round(t+o.offsetTop)):(r.visualViewportX=Math.round(e-o.offsetLeft),r.visualVie
1wportY=Math.round(t-o.offsetTop));else return r;return r},de=e=>({scale:e.scale,offsetLeft:e.offsetLeft,offsetTop:e.offsetTop,pageLeft:e.pageLeft,pageTop:e.pageTop,height:e.height,width:e.width});function Ot(e,t,o,r,n){Te(N(),0,t,o,n);let{unsubscribe:i}=e.subscribe(_.VIEW_CREATED,s=>{r(),Te(s.startClocks.timeStamp,1,t,o,n)});return{stop:i}}function Te(e,t,o,r,n){let{width:i,height:s}=ht();o({data:{height:s,href:window.location.href,width:i},type:T.Meta,timestamp:e}),o({data:{has_focus:document.hasFocus()},type:T.Focus,timestamp:e}),Ee(e,t,document,o,r,n),window.visualViewport&&o({data:de(window.visualViewport),type:T.VisualViewport,timestamp:e})}function Pt(){let t=0,o=Vt(),r=n=>o[n.role][n.string];return{clear(){t!==0&&(o=Vt(),t=0)},get:r,getOrInsert(n){let i=r(n);return i===void 0&&(i=t++,o[n.role][n.string]=i),i},get size(){return t-0}}}function Vt(){return{[m.Default]:P(),[m.NodeName]:P(),[m.AttributeName]:P(),[m.AttributeValue]:P(),[m.TextContent]:P(),[m.FormInput]:P(),[m.Css]:P(),[m.Url]:P()}}function P(){return Object.create(null)}function zt(){return Ne(1)}function Ut(){return Ne(0)}function Ft(){return Ne(0)}function Ne(e){return Mo(()=>new WeakMap,e)}function Mo(e,t){let o=e(),r=t,n=i=>o.get(i);return{clear(){r!==t&&(o=e(),r=t)},delete(i){o.delete(i)},get:n,getOrInsert(i){let s=n(i);return s===void 0&&(s=r++,o.set(i,s)),s},get nextId(){return r},get size(){return r-t}}}function ye(e,t,o,r){let n={resetIds(){n.eventIds.clear(),n.nodeIds.clear(),n.stringIds.clear(),n.styleSheetIds.clear()},canvasManager:e,configuration:t,elementsScrollPositions:o,eventIds:zt(),nodeIds:Ut(),shadowRootsController:r,stringIds:Pt(),styleSheetIds:Ft()};return n}function ve(){let e=new WeakMap;return{set(t,o){t===document&&!document.scrollingElement||e.set(t===document?document.scrollingElement:t,o)},get(t){return e.get(t)},has(t){return e.has(t)}}}function Ce(){let e=new Set;return{clearDirtyCanvases:()=>e.clear(),getDirtyCanvases:()=>{let t=[];return e.forEach(o=>{o.isConnected?t.push(o):e.delete(o)}),t},isCanvasDirty:t=>e.has(t),markCanvasClean:t=>e.delete(t),markCanvasDirty:t=>{t.isConnected&&e.add(t)}}}function Re(e){return!!e.changedTouches}function w(e){return e.composed===!0&&te(e.target)?e.composedPath()[0]:e.target}function R(e,t,o=N()){return{data:D({source:e},t),type:T.IncrementalSnapshot,timestamp:o}}var bo=50;function Me(e,t){let{throttled:o,cancel:r}=k(i=>{let s=w(i),a=t.nodeIds.get(s);if(a===void 0)return;let c=be(i);if(!c)return;let p={id:a,timeOffset:0,x:c.x,y:c.y};e(R(Re(i)?v.TouchMove:v.MouseMove,{positions:[p]}))},bo,{trailing:!1}),{stop:n}=b(document,[g.MOUSE_MOVE,g.TOUCH_MOVE],o,{capture:!0,passive:!0});return{stop:()=>{n(),r()}}}function be(e){let{clientX:t,clientY:o}=Re(e)?e.changedTouches[0]:e;if(window.visualViewport){let{visualViewportX:r,visualViewportY:n}=kt(t,o);t=r,o=n}if(!(!Number.isFinite(t)||!Number.isFinite(o)))return{x:t,y:o}}var Ht={[g.POINTER_UP]:x.MouseUp,[g.MOUSE_DOWN]:x.MouseDown,[g.CLICK]:x.Click,[g.CONTEXT_MENU]:x.ContextMenu,[g.DBL_CLICK]:x.DblClick,[g.FOCUS]:x.Focus,[g.BLUR]:x.Blur,[g.TOUCH_START]:x.TouchStart,[g.TOUCH_END]:x.TouchEnd};function xe(e,t){let o=r=>{let n=w(r),i=t.nodeIds.get(n);if(i===void 0||M(n,t.configuration.defaultPrivacyLevel)===I.HIDDEN)return;let s=Ht[r.type],a;if(s!==x.Blur&&s!==x.Focus){let c=be(r);if(!c)return;a={id:i,type:s,x:c.x,y:c.y}}else a={id:i,type:s};e(D({id:t.eventIds.getOrInsert(r)},R(v.MouseInteraction,a)))};return b(document,Object.keys(Ht),o,{capture:!0,passive:!0})}var xo=100;function K(e,t,o){let{throttled:r,cancel:n}=k(s=>{let a=w(s);if(!a)return;let c=o.nodeIds.get(a);if(c===void 0||M(a,o.configuration.defaultPrivacyLevel)===I.HIDDEN)return;let p=a===document?{scrollTop:se(),scrollLeft:ie()}:{scrollTop:Math.round(a.scrollTop),scrollLeft:Math.round(a.scrollLeft)};o.elementsScrollPositions.set(a,p),t(R(v.Scroll,{id:c,x:p.scrollLeft,y:p.scrollTop}))},xo),{stop:i}=$e(e,g.SCROLL,r,{capture:!0,passive:!0});return{stop:()=>{i(),n()}}}var wo=200;function we(e){let t=gt().subscribe(o=>{e(R(v.ViewportResize,o))});return{stop:()=>{t.unsubscribe()}}}
1function Ae(e){let t=window.visualViewport;if(!t)return{stop:y};let{throttled:o,cancel:r}=k(()=>{e({data:de(t),type:T.VisualViewport,timestamp:N()})},wo,{trailing:!1}),{stop:n}=b(t,[g.RESIZE,g.SCROLL],o,{capture:!0,passive:!0});return{stop:()=>{n(),r()}}}function De(e,t){return b(document,[g.PLAY,g.PAUSE],o=>{let r=w(o);if(!r)return;let n=t.nodeIds.get(r);n===void 0||M(r,t.configuration.defaultPrivacyLevel)===I.HIDDEN||e(R(v.MediaInteraction,{id:n,type:o.type===g.PLAY?W.Play:W.Pause}))},{capture:!0,passive:!0})}function _e(e,t){function o(i,s){if(!i?.ownerNode)return;let a=t.nodeIds.get(i.ownerNode);a!==void 0&&s(a)}let r=[U(CSSStyleSheet.prototype,"insertRule",({target:i,parameters:[s,a]})=>{o(i,c=>e(R(v.StyleSheetRule,{id:c,adds:[{rule:s,index:a}]})))}),U(CSSStyleSheet.prototype,"deleteRule",({target:i,parameters:[s]})=>{o(i,a=>e(R(v.StyleSheetRule,{id:a,removes:[{index:s}]})))})];typeof CSSGroupingRule<"u"?n(CSSGroupingRule):(n(CSSMediaRule),n(CSSSupportsRule));function n(i){r.push(U(i.prototype,"insertRule",({target:s,parameters:[a,c]})=>{o(s.parentStyleSheet,p=>{let f=Bt(s);f&&(f.push(c||0),e(R(v.StyleSheetRule,{id:p,adds:[{rule:a,index:f}]})))})}),U(i.prototype,"deleteRule",({target:s,parameters:[a]})=>{o(s.parentStyleSheet,c=>{let p=Bt(s);p&&(p.push(a),e(R(v.StyleSheetRule,{id:c,removes:[{index:p}]})))})}))}return{stop:()=>{r.forEach(i=>i.stop())}}}function Bt(e){let t=[],o=e;for(;o.parentRule;){let n=Array.from(o.parentRule.cssRules).indexOf(o);t.unshift(n),o=o.parentRule}if(!o.parentStyleSheet)return;let r=Array.from(o.parentStyleSheet.cssRules).indexOf(o);return t.unshift(r),t}function Le(e){return b(window,[g.FOCUS,g.BLUR],()=>{e({data:{has_focus:document.hasFocus()},type:T.Focus,timestamp:N()})})}function ke(e,t,o){let r=e.subscribe(_.VIEW_ENDED,()=>{o(),t({timestamp:N(),type:T.ViewEnd})});return{stop:()=>{r.unsubscribe()}}}var Ao={type:1,selection:Y.Deselected};function J(e,t,o,r){let n=r.configuration.defaultPrivacyLevel,i=new WeakMap,s=e.nodeType!==e.DOCUMENT_NODE,a=(s?e.ownerDocument:e).defaultView;if(!a)return{stop:y};let{stop:c}=b(e,s?[g.CHANGE]:[g.INPUT,g.CHANGE],l=>{let d=w(l);(d instanceof a.HTMLInputElement||d instanceof a.HTMLTextAreaElement||d instanceof a.HTMLSelectElement)&&f(d)},{capture:!0,passive:!0}),p;if(s)p=y;else{let l=[G(a.HTMLInputElement.prototype,"value",f),G(a.HTMLInputElement.prototype,"checked",f),G(a.HTMLSelectElement.prototype,"value",f),G(a.HTMLTextAreaElement.prototype,"value",f),G(a.HTMLSelectElement.prototype,"selectedIndex",f)];p=()=>{l.forEach(d=>d.stop())}}return{stop:()=>{p(),c()}};function f(l){let d=M(l,n);if(d===I.HIDDEN)return;let S=l.type,A=l,z;if(S==="radio"||S==="checkbox"){if(O(l,d))return;z={type:1,selection:Do(l)}}else if(Gt(l)){if(O(l,d))return;let C=l.options[l.selectedIndex];if(!C)return;A=C,z={type:1,selection:Y.Selected}}else{let C=F(l,d);if(C===void 0)return;z={type:0,value:C}}let q=u(A,z),Q=[];if(S==="radio"&&l.checked&&_o(l,C=>{let X=u(C,Ao);X!==void 0&&Q.push(X)}),Gt(l))for(let C=0;C<l.options.length;C++){let X=l.options[C];X!==A&&i.delete(X)}q===void 0&&Q.length===0||V(2,t,o,r,N(),C=>{q!==void 0&&(z.type===0?C.setInputValue(q,E(m.FormInput,z.value)):C.setInputSelection(z.selection,[q])),Q.length>0&&C.setInputSelection(Y.Deselected,Q)})}function u(l,d){let S=r.nodeIds.get(l);if(S===void 0)return;let A=i.get(l);if(!(A&&Lo(A,d)))return i.set(l,d),S}}function Gt(e){return e.tagName==="SELECT"}function Do(e){return e.checked?Y.Selected:Y.Deselected}function _o(e,t){e.name&&e.ownerDocument.querySelectorAll(`input[type="radio"][name="${CSS.escape(e.name)}"]`).forEach(o=>{let r=o;r!==e&&t(r)})}function Lo(e,t){return e.type===0?t.type===0&&e.value===t.value:t.type===1&&e.selection===t.selection}var ko=100;function Yt(e){let t=y,o=[];function r(){t(),e(o),o=[]}let{throttled:n,cancel:i}=k(r,16,{leading:!1});return{addMutations:s=>{o.length===0&&(t=rt(n,{timeout:ko}));for(let a of s)o.push(a)},flush:r,stop:()=>{t(),i()}}}function Z(e,t,o,r){let n=ct();if(!n)return{stop:y,flush:y};let i=Yt(a=>{Ie(N(),a.concat(s.takeRecords()),t,o,r)}),s=new n(Fe(i.addMutations));return s.observe(e,{attributeOldValue:!0,attributes:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0}),{stop:()=>{s.disconnect(),i.stop()},flush:()=>{i.flush()}}}var Oo=["clearRect","fillRect","strokeRect","fill","stroke","fillText","strokeText","drawImage","putImageData","drawFocusIfNeeded","reset"];function Oe(e){if(!e.configuration.sessionReplayCanvasRecording?.enable||e.configuration.sessionReplayCanvasRecording.maxFramesPerSecond===0||typeof CanvasRenderingContext2D>"u")return{stop:y};let t=[];return Oo.forEach(o=>
1{t.push(U(CanvasRenderingContext2D.prototype,o,({target:r,onPostCall:n})=>{n(()=>{e.nodeIds.get(r.canvas)!==void 0&&e.canvasManager.markCanvasDirty(r.canvas)})}))}),{stop:()=>t.forEach(o=>o.stop())}}var Wt=(e,t)=>{let o=new Map;return{addShadowRoot:(r,n)=>{if(o.has(r))return;let i=Z(r,e,t,n),s=J(r,e,t,n),a=K(r,e,n);o.set(r,{flush:()=>i.flush(),stop:()=>{i.stop(),s.stop(),a.stop()}})},removeShadowRoot:r=>{let n=o.get(r);n&&(n.stop(),o.delete(r))},stop:()=>{o.forEach(({stop:r})=>r())},flush:()=>{o.forEach(({flush:r})=>r())}}};function Ve(e){let{emitRecord:t,emitStats:o,configuration:r,lifeCycle:n}=e;if(!t||!o)throw new Error("emit functions are required");let i=d=>{t(d),Xe("record",{record:d});let S=e.viewHistory.findView();st(S.id)},s=Ce(),a=Wt(i,o),c=ye(s,r,ve(),a),{stop:p}=Ot(n,i,o,f,c);function f(){a.flush(),u.flush()}let u=Z(document,i,o,c),l=[u,Me(i,c),xe(i,c),K(document,i,c),we(i),J(document,i,o,c),De(i,c),_e(i,c),Le(i),Ae(i),ke(n,i,f),Oe(c)];return{stop:()=>{a.stop(),l.forEach(d=>d.stop()),p()},flushMutations:f,shadowRootsController:a}}function $t(e,t,o,r){let n=new FormData;n.append("segment",new Blob([e],{type:"application/octet-stream"}),`${t.session.id}-${t.start}`);let i=D({raw_segment_size:r,compressed_segment_size:e.byteLength},t),s=JSON.stringify(i);return n.append("event",new Blob([s],{type:"application/json"})),{data:n,bytesCount:e.byteLength,cssText:o.cssText,isFullSnapshot:t.index_in_view===0,rawSize:r,recordCount:t.records_count,serializationDuration:o.serializationDuration}}function Xt({context:e,creationReason:t,encoder:o}){let r=0,n=e.view.id,i=D({start:1/0,end:-1/0,creation_reason:t,records_count:0,has_full_snapshot:!1,index_in_view:nt(n),source:"browser"},e),s=$();it(n);function a(f,u){i.start=Math.min(i.start,f.timestamp),i.end=Math.max(i.end,f.timestamp),i.records_count+=1,i.has_full_snapshot||=f.type===T.FullSnapshot||f.type===T.Change&&i.index_in_view===0;let l=o.isEmpty?'{"records":[':",";o.write(l+JSON.stringify(f),d=>{r+=d,u(r)})}function c(f){ce(s,f)}function p(f){if(o.isEmpty)throw new Error("Empty segment flushed");o.write(`],${JSON.stringify(i).slice(1)}
2`),o.finish(u=>{at(i.view.id,u.rawBytesCount),f(i,s,u)})}return{addRecord:a,addStats:c,flush:p}}var Vo=5*1e3,pe=6e4;function Pe(e,t,o,r,n,i){return Po(e,()=>zo(t.applicationId,o,r),n,i)}function Po(e,t,o,r){let n={status:0,nextSegmentCreationReason:"init"},{unsubscribe:i}=e.subscribe(_.VIEW_CREATED,()=>{a("view_change")}),{unsubscribe:s}=e.subscribe(_.PREPARE_URGENT_FLUSH,c=>{a(c)});function a(c){n.status===1&&(n.segment.flush((p,f,u)=>{let l=$t(u.output,p,f,u.rawBytesCount);qe(c)?o.sendOnExit(l):o.send(l)}),We(n.expirationTimeoutId)),c!=="stop"?n={status:0,nextSegmentCreationReason:c}:n={status:2}}return{addRecord:c=>{if(n.status!==2){if(n.status===0){let p=t();if(!p)return;n={status:1,segment:Xt({encoder:r,context:p,creationReason:n.nextSegmentCreationReason}),expirationTimeoutId:Ye(()=>{a("segment_duration_limit")},Vo)}}n.segment.addRecord(c,p=>{p>pe&&a("segment_bytes_limit")})}},addStats:c=>{n.status===1&&n.segment.addStats(c)},stop:()=>{a("stop"),i(),s()}}}function zo(e,t,o){let r=t.findTrackedSession(),n=o.findView();if(!(!r||!n))return{application:{id:e},session:{id:r.id},view:{id:n.id}}}function ze(e,t){if(!e.metricsEnabled)return{stop:y};let{unsubscribe:o}=t.subscribe(r=>{if(r.type==="failure"||r.type==="queue-full"||r.type==="success"&&r.payload.isFullSnapshot){let n=Uo(r.type,r.bandwidth,r.payload);tt(Qe.SEGMENT_METRICS_TELEMETRY_NAME,{metrics:n})}});return{stop:o}}function Uo(e,t,o){return{cssText:{count:o.cssText.count,max:o.cssText.max,sum:o.cssText.sum},encoding:{fullSnapshot:"change",incrementalSnapshot:"change"},isFullSnapshot:o.isFullSnapshot,ongoingRequests:{count:t.ongoingRequestCount,totalSize:t.ongoingByteCount},recordCount:o.recordCount,result:e,serializationDuration:{count:o.serializationDuration.count,max:o.serializationDuration.max,sum:o.serializationDuration.sum},size:{compressed:o.bytesCount,raw:o.rawSize}}}function jt(e){let t=Je();return{addRecord:o=>{let r=e.findView();t.send("record",o,r.id)}}}function na(e,t,o,r,n,i,s){let a=[],c=d=>
2{e.notify(_.RAW_ERROR_COLLECTED,{error:{message:d,source:je.AGENT,startClocks:Be()}}),et("Error reported to customer",{"error.message":d})},p=s||Ke([Ge(t,"replay")],c,pe),f,u;if(Ze())({addRecord:f}=jt(r)),u=y;else{let d=Pe(e,t,o,r,p,n);f=d.addRecord,u=d.addStats,a.push(d.stop);let S=ze(i,p.observable);a.push(S.stop)}let{stop:l}=Ve({emitRecord:f,emitStats:u,configuration:t,lifeCycle:e,viewHistory:r});return a.push(l),{stop:()=>{a.forEach(d=>d())}}}export{na as startRecording};

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.