!function(){var n,t,e,i=document.currentScript,o={};function a(n,t,e){window.fetch&&fetch(n,{method:"POST",headers:{"Content-Type":"text/plain"},keepalive:!0,body:JSON.stringify(t)}).then(function(n){e&&e.callback&&e.callback({status:n.status})}).catch(function(n){e&&e.callback&&e.callback({error:n})})}var c=!1,l=location.href,r={},d=-1,u=0,s=0;function w(){var i=f();if(!n&&(d=3e3)){d=e;var c={n:"engagement",sd:Math.round(e/t*100),d:o.domain,u:l,p:r,e:i,v:33};u=0,s=0,c.h=1,a(o.endpoint,c)}}function v(){"visible"===document.visibilityState&&document.hasFocus()&&0===u?u=Date.now():"hidden"!==document.visibilityState&&document.hasFocus()||(s=f(),u=0,w())}function f(){return u?s+(Date.now()-u):s}function h(){var n=document.body||{},t=document.documentElement||{};return Math.max(n.scrollHeight||0,n.offsetHeight||0,n.clientHeight||0,t.scrollHeight||0,t.offsetHeight||0,t.clientHeight||0)}function p(){var n=document.body||{},e=document.documentElement||{},i=window.innerHeight||e.clientHeight||0,o=window.scrollY||e.scrollTop||n.scrollTop||0;return t<=i?t:o+i}function g(i,f){var g="pageview"===i;if(g&&c&&(w(),t=h(),e=p()),/^localhost$|^127(\.[0-9]+){0,2}\.[0-9]+$|^\[::1?\]$/.test(location.hostname)||"file:"===location.protocol)return m(i,f,"localhost");if((window._phantom||window.__nightmare||window.navigator.webdriver||window.Cypress)&&!window.__plausible)return m(i,f);try{if("true"===window.localStorage.plausible_ignore)return m(i,f,"localStorage flag")}catch(n){}var b={};b.n=i,b.v=33,b.u=location.href,b.d=o.domain,b.r=document.referrer||null,f&&f.meta&&(b.m=JSON.stringify(f.meta)),f&&f.props&&(b.p=f.props),f&&!1===f.interactive&&(b.i=!1),b.h=1,g&&(n=!1,l=b.u,r=b.p,d=-1,s=0,u=Date.now(),c||(document.addEventListener("visibilitychange",v),window.addEventListener("blur",v),window.addEventListener("focus",v),c=!0)),a(o.endpoint,b,f)}function m(t,e,i){i&&o.logging&&console.warn("Ignoring Event: "+i),e&&e.callback&&e.callback(),"pageview"===t&&(n=!0)}!function n(a){o.endpoint=i.getAttribute("data-api")||new URL(i.src).origin+"/api/event",o.domain=i.getAttribute("data-domain"),o.logging=!0,t=h(),e=p(),window.addEventListener("load",function(){t=h();var n=0,e=setInterval(function(){t=h(),15==++n&&clearInterval(e)},200)}),document.addEventListener("scroll",function(){t=h();var n=p();n>e&&(e=n)}),function(n){var t;function e(e){t=location.pathname,n("pageview")}window.addEventListener("hashchange",function(){e(!0)}),"hidden"===document.visibilityState||"prerender"===document.visibilityState?document.addEventListener("visibilitychange",function(){t||"visible"!==document.visibilityState||e()}):e(),window.addEventListener("pageshow",function(n){n.persisted&&e()})}(g);for(var c=window.plausible&&window.plausible.q||[],l=0;l