(function(){const config = {"snippetKey":"7p8x7Ab0krHb","sendTo":"https://data.debugbear.com","version":1,"sampling":20,"domains":["www.searchenginejournal.com"],"includeSubdomains":true,"deployedAt":1724744697722,"privacy":{"text":true,"selectors":true,"queryParams":true,"engagement":true},"hasProxy":false,"pageGroups":[{"id":3132,"paths":[],"sampling":0,"type":"url","cssSelector":null,"urlRegExps":[]},{"id":4248,"paths":["/webinar-lp-*"],"sampling":null,"type":"url","cssSelector":null,"urlRegExps":[]}]};(()=>{var ot,Ct,at,P=function(){var t=self.performance&&performance.getEntriesByType&&performance.getEntriesByType("navigation")[0];if(t&&t.responseStart>0&&t.responseStart(e||100)-1)return n||r;if(n=n?r+">"+n:r,i.id)break;t=i.parentNode}}catch{}return n},Nt=-1,Pt=function(){return Nt},A=function(t){addEventListener("pageshow",function(e){e.persisted&&(Nt=e.timeStamp,t(e))},!0)},X=function(){var t=P();return t&&t.activationStart||0},E=function(t,e){var n=P(),i="navigate";return Pt()>=0?i="back-forward-cache":n&&(document.prerendering||X()>0?i="prerender":document.wasDiscarded?i="restore":n.type&&(i=n.type.replace(/_/g,"-"))),{name:t,value:e===void 0?-1:e,rating:"good",delta:0,entries:[],id:"v4-".concat(Date.now(),"-").concat(Math.floor(8999999999999*Math.random())+1e12),navigationType:i}},B=function(t,e,n){try{if(PerformanceObserver.supportedEntryTypes.includes(t)){var i=new PerformanceObserver(function(r){Promise.resolve().then(function(){e(r.getEntries())})});return i.observe(Object.assign({type:t,buffered:!0},n||{})),i}}catch{}},S=function(t,e,n,i){var r,o;return function(a){e.value>=0&&(a||i)&&((o=e.value-(r||0))||r===void 0)&&(r=e.value,e.delta=o,e.rating=function(s,c){return s>c[1]?"poor":s>c[0]?"needs-improvement":"good"}(e.value,n),t(e))}},ut=function(t){requestAnimationFrame(function(){return requestAnimationFrame(function(){return t()})})},V=function(t){document.addEventListener("visibilitychange",function(){document.visibilityState==="hidden"&&t()})},lt=function(t){var e=!1;return function(){e||(t(),e=!0)}},x=-1,Lt=function(){return document.visibilityState!=="hidden"||document.prerendering?1/0:0},$=function(t){document.visibilityState==="hidden"&&x>-1&&(x=t.type==="visibilitychange"?t.timeStamp:0,Re())},Mt=function(){addEventListener("visibilitychange",$,!0),addEventListener("prerenderingchange",$,!0)},Re=function(){removeEventListener("visibilitychange",$,!0),removeEventListener("prerenderingchange",$,!0)},At=function(){return x<0&&(x=Lt(),Mt(),A(function(){setTimeout(function(){x=Lt(),Mt()},0)})),{get firstHiddenTime(){return x}}},K=function(t){document.prerendering?addEventListener("prerenderingchange",function(){return t()},!0):t()},kt=[1800,3e3],Bt=function(t,e){e=e||{},K(function(){var n,i=At(),r=E("FCP"),o=B("paint",function(a){a.forEach(function(s){s.name==="first-contentful-paint"&&(o.disconnect(),s.startTimeo.value&&(o.value=a,o.entries=s,r())},u=B("layout-shift",c);u&&(r=S(n,o,Rt,i.reportAllChanges),V(function(){c(u.takeRecords()),r(!0)}),A(function(){a=0,o=E("CLS",0),r=S(n,o,Rt,i.reportAllChanges),ut(function(){return r()})}),setTimeout(r,0))}))})(function(n){var i=function(r){var o,a={};if(r.entries.length){var s=r.entries.reduce(function(u,d){return u&&u.value>d.value?u:d});if(s&&s.sources&&s.sources.length){var c=(o=s.sources).find(function(u){return u.node&&u.node.nodeType===1})||o[0];c&&(a={largestShiftTarget:ct(c.node),largestShiftTime:s.startTime,largestShiftValue:s.value,largestShiftSource:c,largestShiftEntry:s,loadState:z(s.startTime)})}}return Object.assign(r,{attribution:a})}(n);t(i)},e)},Ot=function(t,e){Bt(function(n){var i=function(r){var o={timeToFirstByte:0,firstByteToFCP:r.value,loadState:z(Pt())};if(r.entries.length){var a=P(),s=r.entries[r.entries.length-1];if(a){var c=a.activationStart||0,u=Math.max(0,a.responseStart-c);o={timeToFirstByte:u,firstByteToFCP:r.value-u,loadState:z(r.entries[0].startTime),navigationEntry:a,fcpEntry:s}}}return Object.assign(r,{attribution:o})}(n);t(i)},e)},_t=0,rt=1/0,W=0,Ie=function(t){t.forEach(function(e){e.interactionId&&(rt=Math.min(rt,e.interactionId),W=Math.max(W,e.interactionId),_t=W?(W-rt)/7+1:0)})},xe=function(){"interactionCount"in performance||ot||(ot=B("event",Ie,{type:"event",buffered:!0,durationThreshold:0}))},y=[],_=new Map,Ft=0,De=function(){return(ot?_t:performance.interactionCount||0)-Ft},Ut=[],Ne=function(t){if(Ut.forEach(function(r){return r(t)}),t.interactionId||t.entryType==="first-input"){var e=y[y.length-1],n=_.get(t.interactionId);if(n||y.length<10||t.duration>e.latency){if(n)t.duration>n.latency?(n.entries=[t],n.latency=t.duration):t.duration===n.latency&&t.startTime===n.entries[0].startTime&&n.entries.push(t);else{var i={id:t.interactionId,latency:t.duration,entries:[t]};_.set(i.id,i),y.push(i)}y.sort(function(r,o){return o.latency-r.latency}),y.length>10&&y.splice(10).forEach(function(r){return _.delete(r.id)})}}},ft=function(t){var e=self.requestIdleCallback||self.setTimeout,n=-1;return t=lt(t),document.visibilityState==="hidden"?t():(n=e(t),V(t)),n},It=[200,500],Pe=function(t,e){"PerformanceEventTiming"in self&&"interactionId"in PerformanceEventTiming.prototype&&(e=e||{},K(function(){var n;xe();var i,r=E("INP"),o=function(s){ft(function(){s.forEach(Ne);var c,u=(c=Math.min(y.length-1,Math.floor(De()/50)),y[c]);u&&u.latency!==r.value&&(r.value=u.latency,r.entries=u.entries,i())})},a=B("event",o,{durationThreshold:(n=e.durationThreshold)!==null&&n!==void 0?n:40});i=S(t,r,It,e.reportAllChanges),a&&(a.observe({type:"first-input",buffered:!0}),V(function(){o(a.takeRecords()),i(!0)}),A(function(){Ft=0,y.length=0,_.clear(),r=E("INP"),i=S(t,r,It,e.reportAllChanges)}))}))},D=[],b=[],dt=new WeakMap,N=new Map,st=-1,Ae=function(t){D=D.concat(t),Ht()},Ht=function(){st<0&&(st=ft(Be))},Be=function(){N.size>10&&N.forEach(function(s,c){_.has(c)||N.delete(c)});var t=y.map(function(s){return dt.get(s.entries[0])}),e=b.length-50;b=b.filter(function(s,c){return c>=e||t.includes(s)});for(var n=new Set,i=0;i=0;i--){var r=b[i];if(Math.abs(n-r.renderTime)<=8){(e=r).startTime=Math.min(t.startTime,e.startTime),e.processingStart=Math.min(t.processingStart,e.processingStart),e.processingEnd=Math.max(t.processingEnd,e.processingEnd),e.entries.push(t);break}}e||(e={startTime:t.startTime,processingStart:t.processingStart,processingEnd:t.processingEnd,renderTime:n,entries:[t]},b.push(e)),(t.interactionId||t.entryType==="first-input")&&dt.set(t,e),Ht()});var Gt=function(t,e){for(var n,i=[],r=0;n=D[r];r++)if(!(n.startTime+n.duratione)break;i.push(n)}return i},jt=function(t,e){Ct||(Ct=B("long-animation-frame",Ae)),Pe(function(n){var i=function(r){var o=r.entries[0],a=dt.get(o),s=o.processingStart,c=a.processingEnd,u=a.entries.sort(function(v,nt){return v.processingStart-nt.processingStart}),d=Gt(o.startTime,c),p=r.entries.find(function(v){return v.target}),m=p&&p.target||N.get(o.interactionId),w=[o.startTime+o.duration,c].concat(d.map(function(v){return v.startTime+v.duration})),T=Math.max.apply(Math,w),f={interactionTarget:ct(m),interactionTargetElement:m,interactionType:o.name.startsWith("key")?"keyboard":"pointer",interactionTime:o.startTime,nextPaintTime:T,processedEventEntries:u,longAnimationFrameEntries:d,inputDelay:s-o.startTime,processingDuration:c-s,presentationDelay:Math.max(T-c,0),loadState:z(o.startTime)};return Object.assign(r,{attribution:f})}(n);t(i)},e)},xt=[2500,4e3],it={},Wt=function(t,e){(function(n,i){i=i||{},K(function(){var r,o=At(),a=E("LCP"),s=function(d){i.reportAllChanges||(d=d.slice(-1)),d.forEach(function(p){p.startTimee(n)-e(i))}function Z(t){return q(t,200)}function q(t,e){if(!t)return;let n=g.privacy?.queryParams!==!1,i=t.split("?");return n?i[1]&&(t=i[0]+"?"+Q(i[1])):t=i[0],t.startsWith("data:")?t.slice(0,20):t.length{let r=i.toLowerCase();["password","token","code","fbclid","twclid","gclid","state"].includes(r)||r.includes("token")||Fe(n)||e.push(i+(n?"="+n:""))}),e.join("&")}function Fe(t){return/.*@.*\..*/.test(t)}function $t(t,e){t=h(t,i=>-i.duration);let n=null;if(e){let i=t.find(r=>{let o=r.startTime+r.duration;return r.startTime<=e&&o>=e});if(i)n=i;else{let r=h(t,o=>Math.abs(e-o.startTime))[0];r&&Math.abs(e-r.startTime)<75&&(n=r)}}return n?[pt(n)]:[]}function pt(t){let e=t.scripts,n=h(e,r=>e.indexOf(r)===e.length-1?-1e6:-r.duration),i=h(n.slice(0,6),r=>r.startTime);return{sT:Math.round(t.startTime),d:t.duration,ui:Math.round(t.firstUIEventTimestamp),rs:Math.round(t.renderStart),sls:Math.round(t.styleAndLayoutStart),scr:i.map(r=>{let o=r.sourceFunctionName;return{sT:Math.round(r.startTime),eS:Math.round(r.executionStart),d:r.duration,p:Math.round(r.pauseDuration),sl:Math.round(r.forcedStyleAndLayoutDuration),n:q(r.invoker,175),l:r.sourceURL?[typeof o=="string"?o.slice(0,80):o,typeof r.sourceURL=="string"?q(r.sourceURL,175):r.sourceURL,r.sourceCharPosition]:r.sourceLocation,t:r.invokerType||r.type}})}}var Vt=3,Kt=60,Yt=1,tt=1e3;function M(t,e){let n=e?.privacy?.text!==!1;if(!t||!n)return null;if(t?.tagName==="BODY")return"(BODY)";let i=Ue(t);return!i&&t?.alt&&(i=t?.alt),i&&i.trim()?i.replace(/[ \n]+/g," ").trim().slice(0,Kt):t.children?.length>0?Jt(t):null}function Ue(t){return mt(t,0).text}function mt(t,e,n=!1){let i=t?.tagName,r="",o=null;try{o=t?.labels?.[0]}catch{}let a="";if(!n&&o){let s=mt(o,e,!0);e+=s.iterations,a=s.text+" "}return i==="SCRIPT"||i==="STYLE"?r="":!n&&i==="TEXTAREA"?r=a+"[textarea]":!n&&i==="INPUT"?r=a+"[input:"+t.type.toLowerCase()+"]":i==="svg"?r="(svg)":t.childNodes.forEach(s=>{if(e++,e>tt||r.trim().length>=Kt)return;let c=s.nodeType;if(c===Vt)r+=(s.nodeValue||"").replace(/[A-Za-z0-9.+]+@[A-Za-z0-9.]+\.[a-zA-Z]+/g,"[email]");else if(c===Yt){let u=mt(s,e,n);e=u.iterations,r+=u.text}}),{text:r,iterations:e}}function Jt(t){for(let e of t.children){let n=Xt(e);if(n){let i="";for(let r of e.children){let o=Xt(r);if(o){i=o;break}}return"HTML: "+[n,i].filter(r=>!!r).join(", ")}else{let i=Jt(e);if(i)return i}}}function k(t,e){let n=e?.privacy?.selectors!==!1;return!t||!n?null:He(t).join(">")}function He(t){let e=[],n=0,i=0,r=0;for(;t&&(n++,!(n>tt));){if(t.tagName==="BODY"){e.length===0&&e.push("body");break}if(e.length>40)break;if(t.nodeType===Yt){let o=e.length<8?t.tagName.toLowerCase():"*",a=U(t);t.id&&t.id.length<40?(o+=`#${t.id}`,i++):a&&a.length<25&&(r<3||e.length%3===0)&&(o+=`.${a}`,r++);let s=t.parentNode?.children||[];if(s.length>1&&(o+=`:${Array.from(s).indexOf(t)+1}`),e.push(o),i>=2||i>=1&&r>=3)break}t=t.parentNode}for(e=e.reverse();e[0]==="*"&&(n++,!(n>tt));)e.shift();return e}function Xt(t){if(t.id)return"#"+t.id;let e=U(t);return e?"."+e:null}function U(t){return typeof t.className!="string"?null:t.className.trim().split(" ")[0].slice(0,35)}function R(t,e){let n=e?.privacy?.selectors!==!1;if(!t||!n)return null;t.nodeType===Vt&&(t=t.parentNode);let i=!1,r=t.tagName.toLowerCase();t.id?r+="#"+t.id:U(t)&&(r+="."+U(t),i=!0);let o=t.parentNode,a=[],s=0;for(;o&&(s++,!(s>tt));){let c=U(o);if(o.id){a.push("#"+o.id);break}else if(["HEADER","FOOTER","NAV"].includes(o.tagName)){a.push(o.tagName.toLowerCase());break}else c&&!i&&(a.push("."+c),i=!0);o=o.parentNode}return(a.reverse().join(" ")+" "+r).trim()}var Zt=null;function Qt(t){Zt=t}function gt(t){return t.renderBlockingStatus==="blocking"}var Ge={img:1,link:2,script:3,css:4,xmlhttprequest:5,fetch:6,other:7};function je(t){let e=ht(t),n=t.name,i=t.initiatorType,r=Ge[i]||0,o=gt(t),a=0;o&&(a|=1);let s=n.startsWith(location.origin),c=`="${n}"`;if(s)try{let m=new URL(n);c=`$="${m.pathname}${n.includes("?")?m.search:""}"`}catch(m){L(m)}if(i==="link"){let m=document.querySelector(`link[href${c}]`);m&&(m.rel==="preload"&&(a|=2),m.fetchPriority==="high"&&(a|=8))}if(i==="img"){let m=document.querySelector(`img[src${c}]`);m&&m.fetchPriority==="high"&&(a|=8)}let u=te(t);u&&(a|=16),t.deliveryType==="cache"&&(a|=32);let d=u,p=n.slice(0,20);try{if(d)p=Z(n);else{let m=new URL(n),w=m.hostname.slice(0,25),T;if(m.pathname.length<30)T=m.pathname;else{let f=m.pathname.split("/").slice(-2),v=f[1]?f[1]:f[0];T="\u2026/"+(v.length<30?v:v.slice(0,10)+"\u2026"+v.slice(-18))}p=w+(T.startsWith("/")?T:"/"+T)}}catch(m){return L(m),null}return{array:[p,e.start,e.sw+e.redirect,e.dns,e.tcp,e.tls,e.req,e.download,a,t.transferSize,r],isBlocking:o,isLcp:u,entry:t}}function ht(t){let e=Math.round(t.domainLookupEnd-t.domainLookupStart),n=t.secureConnectionStart?t.secureConnectionStart:t.connectEnd,i=Math.round(n-t.connectStart),r=t.secureConnectionStart?Math.round(t.connectEnd-t.secureConnectionStart):0,o=Math.round(t.responseStart-(t.connectEnd?t.connectEnd:t.requestStart)),a=Math.round(t.responseEnd-(t.responseStart||t.startTime)),s=Math.round(t.redirectEnd),c=t.redirectEnd?Math.round((t.domainLookupStart||t.fetchStart)-t.redirectEnd-t.startTime):Math.round((t.domainLookupStart||t.fetchStart)-t.startTime);return{start:Math.round(t.startTime),sw:c,redirect:s,dns:e,tcp:i,tls:r,req:o,download:a}}function te(t){return t.name===Zt}function ee(t){let e=Array.from(performance.getEntriesByType("resource")).filter(f=>f.name!==""),n=e.filter(f=>{if(f.startTime>8e3)return!1;let v=t.lcp?.value;if(v){let nt=f.startTime+f.duration,Me=v+1e3;return ntte(f)),o=h(n.filter(f=>gt(f)),f=>f.responseEnd).reverse().slice(0,3),a=h(n.filter(f=>gt(f)),f=>f.duration).reverse().slice(0,2),s=h(n,f=>f.duration).reverse().slice(0,2),c=h(n,f=>f.transferSize).reverse().slice(0,2),u=n.find(f=>f.initiatorType==="img"),d=n.find(f=>f.initiatorType==="script"),p=t.inp?.startTime,m=t.inp?.value,w=p?e.filter(f=>f.startTime>p&&f.startTimeT.has(f)).map(f=>je(f).array)}var re={ttfb:(t,e,n)=>{let i=t.entries[0];if(n.navigationType=t.navigationType,i){let{sw:r,redirect:o,dns:a,tcp:s,tls:c,req:u,download:d}=ht(i);e.sw=r,e.redirect=o,e.dns=a,e.tcp=s,e.tls=c,e.req=u,e.download=d,e.transferSize=Math.round(i.transferSize)}},cls:(t,e)=>{let{attribution:n}=t,{largestShiftSource:i}=n;if(!i)return;let r=i.node;e.startTime=n.largestShiftTime,e.text=M(r,g),e.selector=R(r,g),e.path=k(r,g),e.shift=ne(i.previousRect).join(",")+"-"+ne(i.currentRect).join(","),e.mainValue=Y(n.largestShiftValue),e.scrollTop=J()},lcp:(t,e)=>{let n=t.entries[0];if(n){Qt(n.url),e.url=Z(n.url);let i=n.element;i&&(e.selector=R(i,g),e.text=M(i,g),e.path=k(i,g))}},inp:(t,e)=>{if(t.entries.length===0)return;let{attribution:n}=t;e.breakdown=[n.inputDelay,n.processingDuration,n.presentationDelay].map(o=>Math.round(o));let i=n.interactionTargetElement;e.name=n.interactionType,e.startTime=Math.round(n.interactionTime),e.selector=R(i,g),e.text=M(i,g),e.path=k(i,g);let r=n.longAnimationFrameEntries;r.length>0&&(e.loafs=r.map(o=>pt(o)))},fcp:(t,e)=>{}};function ne(t){return[t.left,t.top,t.right,t.bottom]}function ie(t,e,n,i,r=null){return i.find(o=>{let{type:a,paths:s,cssSelector:c,urlRegExps:u}=o;if(a==="url")return s.length===0?!1:s.some(d=>We(d).test(e));if(a==="urlRegExp"){let d=t+e+(n&&"?"+n);return u.some(p=>new RegExp(p).test(d))}else if(a==="selector"&&c&&r)return!!r(c)})}function We(t){let e="^"+t.replace(/(\*\*?)/g,function(n){return n==="**"?".*":"[^/]*"})+"/?$";return new RegExp(e)}function oe(){let t={},e=0;return[...performance.getEntriesByType("navigation"),...performance.getEntriesByType("resource")].forEach(n=>{if(!n.name?.includes(location.origin))return;let r=n.transferSize;e+=r;let o=ze(n);t[o]=t[o]||null,t[o]+=r}),["html","css","script","image","media","font","fetch","other"].map(n=>t[n]||0)}function ze(t){let{initiatorType:e,contentType:n,name:i}=t;return e==="navigation"||n&&n.includes("html")?"html":n&&n.includes("css")||e==="link"&&i?.includes("css")?"css":n&&n.includes("font")?"font":e==="script"?"script":e==="img"?"image":e==="fetch"||e==="xmlhttprequest"?"fetch":e==="audio"||e==="video"?"media":"other"}var ae=35;function se(t,e){let n=performance.getEntriesByType("mark"),i=performance.getEntriesByType("measure"),r=[];if(t){let a=t+e,s=i.filter(c=>c.startTime+c.duration>=t&&c.startTime<=a);r=h(s,c=>-c.duration).slice(0,4)}let o=h(i,a=>-a.duration).slice(0,3);return[n.slice(0,4).map(a=>[F(a.name,ae),Math.round(a.startTime)]),i.filter(a=>r.includes(a)||o.includes(a)).map(a=>[F(a.name,ae),Math.round(a.startTime),Math.round(a.duration)])]}function ce(t,e){let n=t?.domains;return!Array.isArray(n)||!n.length||!e?!0:n.some(r=>{let o=r.toLowerCase(),a=e.toLowerCase();return!!(a===o||a.endsWith("."+o)&&t.includeSubdomains)})}var O=Math.round(performance.timeOrigin??window.performance?.timing?.connectStart),ge=80,he=200,H=navigator.connection?.downlink||null;H&&H>1&&(H=Math.round(H/2)*2);var $e=F(location.pathname,he),ve=null;try{ve=new URL(document.referrer).hostname}catch{}var Xe=performance.getEntriesByType?performance.getEntriesByType("navigation")[0]:null,Ve=Xe?.notRestoredReasons?.reasons?.[0]?.reason,l={id:(Math.random()*Number.MAX_SAFE_INTEGER).toString(36)+O.toString(36),date:O,origin:location.origin.slice(0,ge),path:$e,query:Q(location.search),screenWidth:screen.width,dpr:Math.round(window.devicePixelRatio*100)/100,windowWidth:Math.round(window.outerWidth/10)*10,windowHeight:Math.round(window.outerHeight/10)*10,navigationType:null,nrr:Ve,visibilityState:document.visibilityState,pageTitle:Le(),deployedAt:g.deployedAt,snippetVersion:14,configVersion:g.version,sendIndex:0,conn:{bw:H,rtt:navigator.connection?.rtt,type:navigator.connection?.effectiveType},memory:navigator?.deviceMemory||null,cpu:navigator?.hardwareConcurrency||null,rd:ve,userAgent:navigator.userAgent},ue=location.hash.slice(1);ue&&(l.hash=ue.slice(0,100));var Te=et(function t(e,n){let i=JSON.stringify(e);if(navigator.sendBeacon&&n==="beacon")try{navigator.sendBeacon(St,i)}catch{t(e,"fetch")}else fetch(St,{method:"POST",headers:{"Content-Type":"application/json"},mode:"no-cors",body:i})}),wt=g?.privacy?.engagement!==!1,Et=[],G=[];nn();var I=[],vt=location.pathname,Tt=location.search.slice(1);wt&&window.navigation?.addEventListener("navigate",t=>{let e=t.destination.url;try{let n=new URL(e),i=n.pathname,r=Q(n.search);if(i===vt&&r===Tt)return;let o=Date.now()-O;I=I.filter(a=>o-a.ms>100),I.push({ms:o,path:i!==vt?i:void 0,query:r!==Tt?r:void 0,timeStampMs:Math.round(t.timeStamp),navigationType:t.navigationType}),vt=i,Tt=r,l.navigationCount=I.length,l.navigations=I.slice(0,6)}catch{}});var le=null;function Ke(){clearTimeout(le),le=setTimeout(()=>{G=be(G)},2e3)}function Ye(t){let e=Date.now(),n=[],i=R(t,g);n.push(Date.now()-e),e=Date.now();let r=M(t,g);n.push(Date.now()-e),e=Date.now();let o=k(t,g);return n.push(Date.now()-e),{selector:i,text:r,path:o,_dur:n}}var St="https://data.debugbear.com/";g.snippetKey&&(l.snippetKey=g.snippetKey);g.sendTo&&(St=g.sendTo);var ye=()=>ie(location.hostname,location.pathname,location.search.slice(1),Je,document.querySelector.bind(document)),Je=g.pageGroups||[],fe=ye(),j,Ee=100;if(typeof fe?.sampling=="number")j=fe.sampling;else{let t=g.sampling;j=typeof t=="number"?t:100}var C={push:function([t,e]){L({action:t,param:e}),t==="sampling"&&(j=e),t==="presampling"&&(Ee=e),["tag1","tag2","tag3","tag4","tag5"].includes(t)&&(l[t]=(e+"").slice(0,140)),["metric1","metric2","metric3","metric4","metric5"].includes(t)&&(l[t]=Math.round(e*100)/100)}},de=window.dbbRum;de?.forEach&&de.forEach(t=>{C.push(t)});var Ze=j/Ee*100,Se=Math.random()*100>100-Ze;L({sampling:j,isIncludedInSample:Se});var Qe=et(function(e){L(e);let n=e.name.toLowerCase(),i=e.value;n==="inp"&&e.entries.length===0||(l[n]=l[n]||{},l[n].value=n==="cls"?Y(i):Math.round(i),re[n](e,l[n],l))});[zt,Ot,Wt,qt,jt].map(t=>t(Qe,{reportAllChanges:!0}));var tn=ce(g,location.hostname),yt=null,pe=null,bt=et(function(e){if(!Se||!["https:","http:"].includes(location.protocol))return;let n=yt&&new Date().valueOf()-yt.valueOf();if(n&&n<80||!tn)return;we();let i=JSON.stringify({...l,sendIndex:void 0,sendTrigger:void 0,sentAt:void 0,requests:l.requests?{...l.requests,count:void 0}:l.requests});i!==pe&&(pe=i,yt=new Date,l.sendTrigger=e,Te(l,e==="SET_TIMEOUT_TRIGGER"?"fetch":"beacon"),l.sendIndex++)}),me=!1;function we(){if(l.sentAt=Date.now(),!me){let i=ye();i&&i.type==="selector"&&(l.pgId=i.id)}l.navigationCount=I.length,l.navigations=I.slice(0,6);let t=performance.getEntriesByType("navigation")[0];l.dcl=Math.round(t?.domContentLoadedEventStart),l.load=Math.round(t?.loadEventStart);let e=Ce(),n=e&&"deliveryType"in e[0]?e.filter(i=>i.deliveryType==="cache").length:null;if(l.requests={blocking:sn(),count:e.length,cache:n},l.reqs||(l.reqs=ee(l)),l.pageTitle||(l.pageTitle=Le()),l.ut=se(l.inp?.startTime,l.inp?.value),l.inp&&(!l.inp?.loafs||l.inp.loafs.length===0)){let i=cn();i.length>0&&(l.inp.loafs=i)}l.fppw=oe(),l.events=h([...Et,...be(G)],i=>i.ms),me=!0}var en="setTimeout";setTimeout(()=>{bt(en)},8e3);addEventListener("visibilitychange",()=>{document.visibilityState==="hidden"&&bt("visibilitychange")});window.dbbRum=C;C._getNodeText=M;C._getNodePath=k;C._getNodeSelector=R;C._experience=l;C._sendExperience=bt;C._prep=we;function nn(){rn(),on()}function rn(){let t=null,e=250;if(wt){let n=()=>{clearTimeout(t),t=setTimeout(i,e)},i=()=>{let r=document.documentElement.scrollHeight;if(r<500)return;let o=J()/r;o>.5&&(Et.push({type:"scroll50",ms:Date.now()-O-e}),window.removeEventListener("scroll",n)),o>.9&&(Et.push({type:"scroll90",ms:Date.now()-O-e}),window.removeEventListener("scroll",n))};window.addEventListener("scroll",n)}}function on(){if(wt){let t=et(function(n){let i=n.target,r=Math.round(n.timeStamp);if(!i.closest)return;let o=i.closest("a,button"),a=o||i,s=o?"click":"oc",c=!G.find(p=>p.type===s),u=l?.inp?.value;if(!c&&u){let m=(Date.now()-O-r)*4;if(u>m)return}let d={type:s,ms:r,...Ye(a)};G.push(d),Ke()});window.addEventListener("click",t)}}function be(t){let e=t.find(a=>a.type==="click"),n=t.find(a=>a.type==="oc"),i=null,r=l.inp?.startTime,o=l.inp?.value;if(r&&o){let a=r+o;i=t.filter(c=>rc.ms)[0]}return t.filter(a=>a===e||a===n||a===i)}function an(t){Te({error:{message:t.message,stack:t.stack,experience:l}},"fetch")}function sn(){let t=Ce().filter(r=>r.renderBlockingStatus==="blocking"),e=0;t.forEach(r=>{r.responseEnd>e&&(e=r.responseEnd)});let n=t.find(r=>r.responseEnd===e),i;return n&&(i={start:Math.round(n.startTime),end:Math.round(n.responseEnd),size:n.decodedBodySize,url:q(n.name,ge+he),type:n.initiatorType}),{last:i,count:t.length}}function Ce(){return[...performance.getEntriesByType("resource")||[],...performance.getEntriesByType("navigation")||[]]}function cn(){return $t(performance.getEntriesByName("long-animation-frame")||[],l.inp?.startTime)}function Le(){return(document.title||"").slice(0,100)}function et(t){return function(...e){try{t.apply(this,e)}catch(n){an(n)}}}})(); })();