!function(){var t,e,n,i,r=window.location,a=window.document,t=a.currentScript,o={};function c(t,e,n){window.fetch&&fetch(t,{method:"POST",headers:{"Content-Type":"text/plain"},keepalive:!0,body:JSON.stringify(e)}).then(function(t){n&&n.callback&&n.callback({status:t.status})}).catch(function(t){n&&n.callback&&n.callback({error:t})})}var l=!1,u=location.href,s={},d=-1,p=0,f=0;function v(){var t=m();if(!e&&(d=3e3)){d=i;var r={n:"engagement",sd:Math.round(i/n*100),d:o.domain,u:u,p:s,e:t,v:25};p=0,f=0,r.h=1,c(o.endpoint,r)}}function w(){"visible"===document.visibilityState&&document.hasFocus()&&0===p?p=Date.now():"hidden"!==document.visibilityState&&document.hasFocus()||(f=m(),p=0,v())}function m(){return p?f+(Date.now()-p):f}function g(){var t=document.body||{},e=document.documentElement||{};return Math.max(t.scrollHeight||0,t.offsetHeight||0,t.clientHeight||0,e.scrollHeight||0,e.offsetHeight||0,e.clientHeight||0)}function h(){var t=document.body||{},e=document.documentElement||{},i=window.innerHeight||e.clientHeight||0,r=window.scrollY||e.scrollTop||t.scrollTop||0;return n<=i?n:r+i}function b(m,b){var L,k="pageview"===m;if(k&&l&&(v(),n=g(),i=h()),/^localhost$|^127(\.[0-9]+){0,2}\.[0-9]+$|^\[::1?\]$/.test(r.hostname)||"file:"===r.protocol)return y(m,b,"localhost");if((window._phantom||window.__nightmare||window.navigator.webdriver||window.Cypress)&&!window.__plausible)return y(m,b);try{if("true"===window.localStorage.plausible_ignore)return y(m,b,"localStorage flag")}catch(t){}var E={};E.n=m,E.v=25,E.u=r.href,E.d=o.domain,E.r=a.referrer||null,b&&b.meta&&(E.m=JSON.stringify(b.meta)),b&&b.props&&(E.p=b.props),b&&!1===b.interactive&&(E.i=!1);var x=t.getAttributeNames().filter(function(t){return"event-"===t.substring(0,6)}),L=E.p||{};x.forEach(function(e){var n=e.replace("event-",""),i=t.getAttribute(e);L[n]=L[n]||i}),E.p=L,E.h=1,k&&(e=!1,u=E.u,s=E.p,d=-1,f=0,p=Date.now(),l||(document.addEventListener("visibilitychange",w),window.addEventListener("blur",w),window.addEventListener("focus",w),l=!0)),c(o.endpoint,E,b)}function y(t,n,i){i&&o.logging&&console.warn("Ignoring Event: "+i),n&&n.callback&&n.callback(),"pageview"===t&&(e=!0)}var L=["pdf","xlsx","docx","txt","rtf","csv","exe","key","pps","ppt","pptx","7z","pkg","rar","gz","zip","avi","mov","mp4","mpeg","wmv","midi","mp3","wav","wma","dmg"],k=L;function E(t){return t&&t.tagName&&"a"===t.tagName.toLowerCase()}function x(t){if("auxclick"!==t.type||1===t.button){var e=function(t){for(;t&&(void 0===t.tagName||!E(t)||!t.href);)t=t.parentNode;return t}(t.target),n=e&&e.href&&e.href.split("?")[0];if(!function t(e,n){return!!e&&!(n>3)&&(!!S(e)||t(e.parentNode,n+1))}(e,0)){if(e&&e.href&&e.host&&e.host!==r.host)return N(t,e,{name:"Outbound Link: Click",props:{url:e.href}});if(function(t){if(!t)return!1;var e=t.split(".").pop();return k.some(function(t){return t===e})}(n))return N(t,e,{name:"File Download",props:{url:n}})}}}function N(t,e,n){var i={props:n.props};b(n.name,i)}function S(t){var e=t&&t.classList;if(e){for(var n=0;ni&&(i=t)}),function(t){var e;function n(n){e=r.pathname,t("pageview")}window.addEventListener("hashchange",function(){n(!0)}),"hidden"===a.visibilityState||"prerender"===a.visibilityState?a.addEventListener("visibilitychange",function(){e||"visible"!==a.visibilityState||n()}):n(),window.addEventListener("pageshow",function(t){t.persisted&&n()})}(b),function(){a.addEventListener("click",x),a.addEventListener("auxclick",x);var e=t.getAttribute("file-types"),n=t.getAttribute("add-file-types");function i(t){if("auxclick"!==t.type||1===t.button){for(var e,n,i,r=t.target,a=0;a<=3&&r;a++){if((e=r)&&e.tagName&&"form"===e.tagName.toLowerCase())return;E(r)&&(n=r),S(r)&&(i=r),r=r.parentNode}if(i){var o=H(i);if(n)o.props.url=n.href,N(t,n,o);else{var c={};c.props=o.props,b(o.name,c)}}}}e&&(k=e.split(",")),n&&(k=n.split(",").concat(L)),a.addEventListener("submit",function(t){var e,n=H(t.target);if(n.name){var e={props:n.props};b(n.name,e)}}),a.addEventListener("click",i),a.addEventListener("auxclick",i)}();for(var l=window.plausible&&window.plausible.q||[],u=0;u