!function(){"use strict";var n=function(n,t,e,i){var r,o;return function(u){t.value>=0&&(u||i)&&((o=t.value-(null!=r?r:0))||void 0===r)&&(r=t.value,t.delta=o,t.rating=function(n,t){return n>t[1]?"poor":n>t[0]?"needs-improvement":"good"}(t.value,e),n(t))}},t=-1,e=function(n){addEventListener("pageshow",(function(e){e.persisted&&(t=e.timeStamp,n(e))}),!0)},i=function(){var n=performance.getEntriesByType("navigation")[0];if(n&&n.responseStart>0&&n.responseStart=0?u="back-forward-cache":o&&(document.prerendering||r()>0?u="prerender":document.wasDiscarded?u="restore":o.type&&(u=o.type.replace(/_/g,"-")));return{name:n,value:e,rating:"good",delta:0,entries:[],id:"v5-".concat(Date.now(),"-").concat(Math.floor(8999999999999*Math.random())+1e12),navigationType:u}},u=function(n){document.prerendering?addEventListener("prerenderingchange",(function(){return n()}),!0):n()},c=[800,1800],a=function(n){document.prerendering?u((function(){return a(n)})):"complete"!==document.readyState?addEventListener("load",(function(){return a(n)}),!0):setTimeout(n)};function f(n,t){for(var e=n||{},i=0;i-1&&(P="visibilitychange"===n.type?n.timeStamp:0,_())},A=function(){addEventListener("visibilitychange",I,!0),addEventListener("prerenderingchange",I,!0)},_=function(){removeEventListener("visibilitychange",I,!0),removeEventListener("prerenderingchange",I,!0)},F=function(){return P<0&&(P=k(),A(),e((function(){setTimeout((function(){P=k(),A()}))}))),{get firstHiddenTime(){return P}}},N=function(n,t,e){void 0===e&&(e={});try{if(PerformanceObserver.supportedEntryTypes.includes(n)){var i=new PerformanceObserver((function(n){Promise.resolve().then((function(){t(n.getEntries())}))}));return i.observe(Object.assign({type:n,buffered:!0},e||{})),i}}catch(n){}},j=[1800,3e3],B=function(t,i){void 0===i&&(i={}),u((function(){var u,c=F(),a=o("FCP"),f=N("paint",(function(n){n.forEach((function(n){"first-contentful-paint"===n.name&&(f.disconnect(),n.startTimeu.value&&(u.value=c,u.entries=a,r())},d=N("layout-shift",f);d&&(r=n(t,u,q,i.reportAllChanges),document.addEventListener("visibilitychange",(function(){"hidden"===document.visibilityState&&(f(d.takeRecords()),r(!0))})),e((function(){c=0,u=o("CLS",0),r=n(t,u,q,i.reportAllChanges),O((function(){return r()}))})),setTimeout(r))})))}var H,U=0,W=1/0,z=0,K=function(n){n.forEach((function(n){n.interactionId&&(W=Math.min(W,n.interactionId),z=Math.max(z,n.interactionId),U=z?(z-W)/7+1:0)}))},Q=function(){var n;return H?U:null!==(n=performance.interactionCount)&&void 0!==n?n:0},V=function(){"interactionCount"in performance||H||(H=N("event",K,{type:"event",buffered:!0,durationThreshold:0}))},X=[],Y=new Map,Z=0,$=function(){var n=Math.min(X.length-1,Math.floor((Q()-Z)/50));return X[n]},nn=[],tn=function(n){var t=window.requestIdleCallback||setTimeout;"hidden"===document.visibilityState?n():(t(n=R(n)),document.addEventListener("visibilitychange",n,{once:!0}))},en=[200,500],rn=function(t,i){void 0===i&&(i={}),window.PerformanceEventTiming&&"interactionId"in PerformanceEventTiming.prototype&&u((function(){var r;V();var u,c=o("INP"),a=function(n){tn((function(){n.forEach((function(n){!function(n){if(nn.forEach((function(t){t(n)})),n.interactionId||"first-input"===n.entryType){var t=X[X.length-1],e=Y.get(n.interactionId);if(e||X.length<10||n.duration>t.latency){if(e)n.duration>e.latency?(e.entries=[n],e.latency=n.duration):n.duration===e.latency&&n.startTime===e.entries[0].startTime&&e.entries.push(n);else{var i={id:n.interactionId,latency:n.duration,entries:[n]};Y.set(i.id,i),X.push(i)}X.sort((function(n,t){return t.latency-n.latency})),X.length>10&&X.splice(10).forEach((function(n){Y.delete(n.id)}))}}}(n)}));var t=$();t&&t.latency!==c.value&&(c.value=t.latency,c.entries=t.entries,u())}))},f=N("event",a,{durationThreshold:null!==(r=i.durationThreshold)&&void 0!==r?r:40});u=n(t,c,en,i.reportAllChanges),f&&(f.observe({type:"first-input",buffered:!0}),document.addEventListener("visibilitychange",(function(){"hidden"===document.visibilityState&&(a(f.takeRecords()),u(!0))})),e((function(){Z=Q(),X.length=0,Y.clear(),c=o("INP"),u=n(t,c,en,i.reportAllChanges)})))}))},on=!0;var un=[2500,4e3],cn={},an=function(t,i){void 0===i&&(i={}),u((function(){var u,c=F(),a=o("LCP"),f=function(n){i.reportAllChanges||(n=n.slice(-1)),n.forEach((function(n){n.startTimeperformance.now())){var r=0===i.startTime?2:1,o=b.nt;b.nt=r+hn,mn.forEach((function(e){t[e]=function(t){if("number"==typeof n[t]&&"number"==typeof n.navigationStart&&!(n[t]<=0||n.navigationStart<=0)){var e=n[t]-n.navigationStart;return e>=0?e:void 0}}(e)})),r>1&&"number"==typeof i.secureConnectionStart&&i.secureConnectionStart>0&&(t.secureConnectionStart=Math.floor(i.secureConnectionStart)),b.nt+=u(mn),b.nt+=hn,r>1&&(t.redirectCount=i.redirectCount,t.activationStart=i.activationStart?Math.floor(i.activationStart):i.activationStart,t.firstInterimResponseStart=i.firstInterimResponseStart?Math.floor(i.firstInterimResponseStart):i.firstInterimResponseStart,b.nt+=u(sn)),b.nt+=hn,r>1&&(b.nt+=void 0===i.nextHopProtocol?"":i.nextHopProtocol),b.nt!==o&&w()}}function u(n){var e="";return n.forEach((function(n,i){i>0&&(e+="_");var r=t[n];e+=void 0===r?"":r.toString(36)})),e}}function pn(n,t){var e=new PerformanceObserver((function(n){for(var e=n.getEntries(),i=0;i0||0===n}function In(){var n;!function(){try{var n=0;document.createNodeIterator(document,128,(function(n){return(n.nodeValue||"").indexOf("served from batcache in")>-1?1:2})).nextNode()&&(n=1),b.batcache_hit=n}catch(n){}}(),Pn(),kn((n=f(navigator,["connection"])||{}).rtt)&&(b.rtt=n.rtt),kn(n.downlink)&&(b.downlink=Math.round(1e3*n.downlink)),b.site_host=f(location,["hostname"]),b.site_path=f(location,["pathname"]),b.version="4.0.0",w()}function An(){return"true"===m("allowIframe")}function _n(){In(),Tn(),L({i:On})}function Fn(){v.t=document.getElementById("bilmur")||{};var n=An();try{if(window.self!==window.top&&!n)return}catch(t){if(!n)return}document.prerendering?document.addEventListener("prerenderingchange",_n,{once:!0}):_n()}window.performance&&window.performance.getEntriesByType&&("hidden"!==document.visibilityState||document.prerendering)&&("loading"===document.readyState?document.addEventListener("DOMContentLoaded",Fn):Fn())}();