!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;it})[0])||void 0===n?void 0:n.startTime;P=null!=i?i:F(),addEventListener("visibilitychange",I,!0),addEventListener("prerenderingchange",I,!0),e(function(){setTimeout(function(){P=F()})})}return{get firstHiddenTime(){return P},onHidden:function(n){k.add(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){}},N=[1800,3e3],j=function(t,i){void 0===i&&(i={}),u(function(){var u,c=A(),a=o("FCP"),f=_("paint",function(n){n.forEach(function(n){"first-contentful-paint"===n.name&&(f.disconnect(),n.startTimec.value&&(c.value=a.i,c.entries=a.o,u())},d=_("layout-shift",f);d&&(u=n(t,c,H,i.reportAllChanges),r.onHidden(function(){f(d.takeRecords()),u(!0)}),e(function(){a.i=0,c=o("CLS",0),u=n(t,c,H,i.reportAllChanges),O(function(){return u()})}),setTimeout(u))}))}(function(n){W&&(b.cls=Math.round(1e3*n.value)/1e3,M())},{reportAllChanges:!0})}var G,U=0,K=1/0,Q=0,V=function(n){n.forEach(function(n){n.interactionId&&(K=Math.min(K,n.interactionId),Q=Math.max(Q,n.interactionId),U=Q?(Q-K)/7+1:0)})},X=function(){var n;return G?U:null!==(n=performance.interactionCount)&&void 0!==n?n:0},Y=function(){"interactionCount"in performance||G||(G=_("event",V,{type:"event",buffered:!0,durationThreshold:0}))},Z=0,$=function(){function n(){this.h=[],this.m=new Map}return n.prototype.l=function(){Z=X(),this.h.length=0,this.m.clear()},n.prototype.p=function(){var n=Math.min(this.h.length-1,Math.floor((X()-Z)/50));return this.h[n]},n.prototype.u=function(n){var t,e,i=this;if(null===(t=this.L)||void 0===t||t.call(this,n),n.interactionId||"first-input"===n.entryType){var r=this.h.at(-1),o=this.m.get(n.interactionId);if(o||this.h.length<10||n.duration>r.M){if(o?n.duration>o.M?(o.entries=[n],o.M=n.duration):n.duration===o.M&&n.startTime===o.entries[0].startTime&&o.entries.push(n):(o={id:n.interactionId,entries:[n],M:n.duration},this.m.set(o.id,o),this.h.push(o)),this.h.sort(function(n,t){return t.M-n.M}),this.h.length>10)this.h.splice(10).forEach(function(n){i.m.delete(n.id)});null===(e=this.C)||void 0===e||e.call(this,o)}}},n}(),nn=function(n){var t=window.requestIdleCallback||setTimeout;"hidden"===document.visibilityState?n():(n=x(n),addEventListener("visibilitychange",n,{once:!0,capture:!0}),t(function(){n(),removeEventListener("visibilitychange",n,{capture:!0})}))},tn=[200,500],en=!0;function rn(){!function(t,i){if(void 0===i&&(i={}),window.PerformanceEventTiming&&"interactionId"in PerformanceEventTiming.prototype){var r=A();u(function(){var u;Y();var c,a=o("INP"),f=R(i,$),d=function(n){nn(function(){n.forEach(function(n){f.u(n)});var t=f.p();t&&t.M!==a.value&&(a.value=t.M,a.entries=t.entries,c())})},v=_("event",d,{durationThreshold:null!==(u=i.durationThreshold)&&void 0!==u?u:40});c=n(t,a,tn,i.reportAllChanges),v&&(v.observe({type:"first-input",buffered:!0}),r.onHidden(function(){d(v.takeRecords()),c(!0)}),e(function(){f.l(),a=o("INP"),c=n(t,a,tn,i.reportAllChanges)}))})}}(function(n){en&&(b.inp=Math.round(n.value),M())},{reportAllChanges:!0})}var on=function(){function n(){}return n.prototype.u=function(n){var t;null===(t=this.L)||void 0===t||t.call(this,n)},n}(),un=[2500,4e3],cn=!0;function an(){var t,i;t=function(n){if(cn){b.lcp=Math.round(n.value);var t=n.entries[n.entries.length-1],e=t&&t.startTime;void 0!==e&&(b.lcp_raw=Math.round(e)),M()}},void 0===(i={reportAllChanges:!0})&&(i={}),u(function(){var u,c=A(),a=o("LCP"),f=R(i,on),d=function(n){i.reportAllChanges||(n=n.slice(-1)),n.forEach(function(n){f.u(n),n.startTimeperformance.now())){var t=0===hn.startTime?2:1,e=b.nt;b.nt=t+pn,mn.forEach(function(t){n[t]=function(n){if("number"==typeof vn[n]&&"number"==typeof vn.navigationStart&&!(vn[n]<=0||vn.navigationStart<=0)){var t=vn[n]-vn.navigationStart;return t>=0?t:void 0}}(t)}),t>1&&"number"==typeof hn.secureConnectionStart&&hn.secureConnectionStart>0&&(n.secureConnectionStart=Math.floor(hn.secureConnectionStart)),b.nt+=i(mn),b.nt+=pn,t>1&&(ln.forEach(function(t){var e=hn[t];n[t]=e?Math.floor(e):e}),b.nt+=i(ln)),b.nt+=pn,t>1&&(b.nt+=void 0===hn.nextHopProtocol?"":hn.nextHopProtocol),b.nt!==e&&M()}function i(t){var e="";return t.forEach(function(t,i){i>0&&(e+="_");var r=n[t];e+=void 0===r?"":r.toString(36)}),e}}function wn(){gn(),vn&&vn.navigationStart&&(!function(){var n=hn.serverTiming;if(n){var t=n.findIndex(function(n){return"a8c-cdn"===n.name});if(!(t<0||n.length=0&&(b.edge_dur=e)}}}(),bn(),fn=document.addEventListener("DOMContentLoaded",function(){return setTimeout(bn)}),dn=addEventListener("load",function(){return setTimeout(bn)}))}function yn(n,t){var e=new PerformanceObserver(function(n){for(var e=n.getEntries(),i=0;i0||0===n}function _n(){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){}}(),b.provider=v("provider"),b.service=v("service"),b.site_tz=v("siteTz"),b.custom_props=h(),An((n=f(navigator,["connection"])||{}).rtt)&&(b.rtt=n.rtt),An(n.downlink)&&(b.downlink=Math.round(1e3*n.downlink)),b.site_host=f(location,["hostname"]),b.site_path=f(location,["pathname"]),b.version="4.2.2",M()}function Nn(){return"true"===v("allowIframe")}function jn(){_n(),Fn(),L(In)}function Bn(){d.t=document.getElementById("bilmur")||{};var n=Nn();try{if(window.self!==window.top&&!n)return}catch(t){if(!n)return}document.prerendering?document.addEventListener("prerenderingchange",jn,{once:!0}):jn()}window.performance&&window.performance.getEntriesByType&&("hidden"!==document.visibilityState||document.prerendering)&&("loading"===document.readyState?document.addEventListener("DOMContentLoaded",Bn):Bn())}();