!function(){"use strict";vare=window.document.currentScript,r=newURL(e.src).origin;functiono(e){console.warn("[Plausible] Ignoring event because "+e)}functiona(){vare,i,n=JSON.parse((e="plausible_user",(i=document.cookie.match(newRegExp("(?:^|; )"+e.replace(/([\.$?*|{}\(\)\[\]\\\/\+^])/g,"\\$1")+"=([^;]*)")))?decodeURIComponent(i[1]):null));returnn?{initial_referrer:n.initial_referrer&&decodeURIComponent(n.initial_referrer),initial_source:n.initial_source&&decodeURIComponent(n.initial_source)}:(n={initial_referrer:window.document.referrer||null,initial_source:getSourceFromQueryParam()},function(e,i){varn=newDate;n.setTime(n.getTime()+94608e6);vart="; expires="+n.toUTCString();document.cookie=e+"="+(i||"")+t+"; samesite=strict; path=/"}("plausible_user",JSON.stringify({initial_referrer:n.initial_referrer&&encodeURIComponent(n.initial_referrer),initial_source:n.initial_source&&encodeURIComponent(n.initial_source)})),n)}functioni(e,i){if(/^localhost$|^127(?:\.[0-9]+){0,2}\.[0-9]+$|^(?:0*\:)*?:?0*1$/.test(window.location.hostname))returno("website is running locally");if("file:"===window.location.protocol)returno("website is running locally");if("prerender"===window.document.visibilityState)returno("document is prerendering");varn=c.trackAcquisition?a():{};n.n=e,n.u=window.location.href,n.d=c.domain,n.r=window.document.referrer||null,n.w=window.innerWidth;vart=newXMLHttpRequest;t.open("POST",r+"/api/event",!0),t.setRequestHeader("Content-Type","text/plain"),t.send(JSON.stringify(n)),t.onreadystatechange=function(){t.readyState==XMLHttpRequest.DONE&&i&&i.callback&&i.callback()}}functionn(e){i("pageview",e)}try{varc={domain:window.location.hostname},t={page:n,trigger:i,trackPushState:function(){vare,i=window.history;i.pushState&&(e=i.pushState,i.pushState=function(){e.apply(this,arguments),n()}),window.addEventListener("popstate",n)},configure:function(e,i){c[e]=i}},s=window.plausible.q||[];window.plausible=function(){vare=[].slice.call(arguments),i=e.shift();t[i].apply(this,e)};for(varl=0;l<s.length;l++)window.plausible.apply(this,s[l])}catch(e){(newImage).src=r+"/api/error?message="+encodeURIComponent(e.message)}}();