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