!function(){var a,r=window.location,o=window.document,e=o.currentScript,l=e.getAttribute("data-api")||new URL(e.src).origin+"/api/event",s=e.getAttribute("data-domain");function u(e,t,n){t&&console.warn("Ignoring Event: "+t),n&&n.callback&&n.callback(),"pageview"===e&&(a=!0)}var c=r.href,p={},d=-1,f=!1,v=null,h=0;function w(){var e=o.body||{},t=o.documentElement||{};return Math.max(e.scrollHeight||0,e.offsetHeight||0,e.clientHeight||0,t.scrollHeight||0,t.offsetHeight||0,t.clientHeight||0)}function g(){var e=o.body||{},t=o.documentElement||{},n=window.innerHeight||t.clientHeight||0,t=window.scrollY||t.scrollTop||e.scrollTop||0;return m<=n?m:t+n}function t(){return v?h+(Date.now()-v):h}var m=w(),b=g();function y(){var e=t();!a&&(d{for(;e&&(void 0===e.tagName||!x(e)||!e.href);)e=e.parentNode;return e})(e.target))&&t.href&&t.href.split("?")[0],!function e(t,n){if(!t||$!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 O(e){var e=K(e)?e:e&&e.parentNode,t={name:null,props:{}},n=e&&e.classList;if(n)for(var i=0;i