!function(){var t,e,n,i,a=window.location,o=window.document,t=o.currentScript,r={};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,s=location.href,u={},d=-1,p=0,f=0;function v(){var t=h();if(!e&&(d=3e3)){d=i;var a={n:"engagement",sd:Math.round(i/n*100),d:r.domain,u:s,p:u,e:t,v:21};p=0,f=0,c(r.endpoint,a)}}function w(){"visible"===document.visibilityState&&document.hasFocus()&&0===p?p=Date.now():"hidden"!==document.visibilityState&&document.hasFocus()||(f=h(),p=0,v())}function h(){return p?f+(Date.now()-p):f}function m(){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 g(){var t=document.body||{},e=document.documentElement||{},i=window.innerHeight||e.clientHeight||0,a=window.scrollY||e.scrollTop||t.scrollTop||0;return n<=i?n:a+i}function b(t,h){var b="pageview"===t;if(b&&l&&(v(),n=m(),i=g()),/^localhost$|^127(\.[0-9]+){0,2}\.[0-9]+$|^\[::1?\]$/.test(a.hostname)||"file:"===a.protocol)return y(t,h,"localhost");if((window._phantom||window.__nightmare||window.navigator.webdriver||window.Cypress)&&!window.__plausible)return y(t,h);try{if("true"===window.localStorage.plausible_ignore)return y(t,h,"localStorage flag")}catch(t){}var L={};L.n=t,L.v=21,L.u=a.href,L.d=r.domain,L.r=o.referrer||null,h&&h.meta&&(L.m=JSON.stringify(h.meta)),h&&h.props&&(L.p=h.props),h&&!1===h.interactive&&(L.i=!1),b&&(e=!1,s=L.u,u=L.p,d=-1,f=0,p=Date.now(),l||(document.addEventListener("visibilitychange",w),window.addEventListener("blur",w),window.addEventListener("focus",w),l=!0)),c(r.endpoint,L,h)}function y(t,n,i){i&&r.logging&&console.warn("Ignoring Event: "+i),n&&n.callback&&n.callback(),"pageview"===t&&(e=!0)}function L(t){return t&&t.tagName&&"a"===t.tagName.toLowerCase()}function E(t){if("auxclick"!==t.type||1===t.button){var e,n=function(t){for(;t&&(void 0===t.tagName||!L(t)||!t.href);)t=t.parentNode;return t}(t.target);if(n&&n.href&&n.href.split("?")[0],!function t(e,n){return!!e&&!(n>3)&&(!!S(e)||t(e.parentNode,n+1))}(n,0)&&(e=n)&&e.href&&e.host&&e.host!==a.host)return k(t,n,{name:"Outbound Link: Click",props:{url:n.href}})}}function k(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){function e(e){e&&n===a.pathname||(n=a.pathname,t("pageview"))}var n,i=function(){e(!0)},r=window.history;if(r.pushState){var c=r.pushState;r.pushState=function(){c.apply(this,arguments),i()},window.addEventListener("popstate",i)}"hidden"===o.visibilityState||"prerender"===o.visibilityState?o.addEventListener("visibilitychange",function(){n||"visible"!==o.visibilityState||e()}):e(),window.addEventListener("pageshow",function(t){t.persisted&&e()})}(b),function(){function t(t){if("auxclick"!==t.type||1===t.button){for(var e,n,i,a=t.target,o=0;o<=3&&a;o++){if((e=a)&&e.tagName&&"form"===e.tagName.toLowerCase())return;L(a)&&(n=a),S(a)&&(i=a),a=a.parentNode}if(i){var r=N(i);if(n)r.props.url=n.href,k(t,n,r);else{var c={};c.props=r.props,b(r.name,c)}}}}o.addEventListener("click",E),o.addEventListener("auxclick",E),o.addEventListener("submit",function(t){var e,n=N(t.target);if(n.name){var e={props:n.props};b(n.name,e)}}),o.addEventListener("click",t),o.addEventListener("auxclick",t)}();for(var l=window.plausible&&window.plausible.q||[],s=0;s