!function(){var r,o=window.location,l=window.document,s=l.currentScript,c=s.getAttribute("data-api")||new URL(s.src).origin+"/api/event",u=s.getAttribute("data-domain");function p(e,t,n){t&&console.warn("Ignoring Event: "+t),n&&n.callback&&n.callback(),"pageview"===e&&(r=!0)}var d=o.href,f={},v=-1,h=!1,w=null,g=0;function m(){var e=l.body||{},t=l.documentElement||{};return Math.max(e.scrollHeight||0,e.offsetHeight||0,e.clientHeight||0,t.scrollHeight||0,t.offsetHeight||0,t.clientHeight||0)}function b(){var e=l.body||{},t=l.documentElement||{},n=window.innerHeight||t.clientHeight||0,t=window.scrollY||t.scrollTop||e.scrollTop||0;return y<=n?y:t+n}function t(){return w?g+(Date.now()-w):g}var y=m(),L=b();function E(){var e=t();!r&&(v{for(;e&&(void 0===e.tagName||!H(e)||!e.href);)e=e.parentNode;return e})(e.target))&&t.href&&t.href.split("?")[0],!function e(t,n){if(!t||D!e.defaultPrevented&&(t=!t.target||t.target.match(/^_(self|parent|top)$/i),e=!(e.ctrlKey||e.metaKey||e.shiftKey)&&"click"===e.type,t)&&e)(e,t)?(i={props:n.props,callback:r},plausible(n.name,i),setTimeout(r,5e3),e.preventDefault()):(i={props:n.props},plausible(n.name,i))}function T(e){var e=O(e)?e:e&&e.parentNode,t={name:null,props:{}},n=e&&e.classList;if(n)for(var i=0;i