PageSourceSearch

https://www.sporteen.fr/plausible/js/bivouac-plausible.exclusions.hash.local.outbound-links.revenue.js

js sporteen.fr collected 2026-10-08 12:17:56 UTC 3,502 bytes, 1 lines download raw bytes

1!function(){var e,t,n,i=document.currentScript,o={};function a(e,t,n){window.fetch&&fetch(e,{method:"POST",headers:{"Content-Type":"text/plain"},keepalive:!0,body:JSON.stringify(t)}).then(function(e){n&&n.callback&&n.callback({status:e.status})}).catch(function(e){n&&n.callback&&n.callback({error:e})})}var r=!1,c=location.href,l={},u=-1,d=0,s=0;function v(){var i=p();if(!e&&(u<n||i>=3e3)){u=n;var r={n:"engagement",sd:Math.round(n/t*100),d:o.domain,u:c,p:l,e:i,v:33};d=0,s=0,r.h=1,a(o.endpoint,r)}}function f(){"visible"===document.visibilityState&&document.hasFocus()&&0===d?d=Date.now():"hidden"!==document.visibilityState&&document.hasFocus()||(s=p(),d=0,v())}function p(){return d?s+(Date.now()-d):s}function g(){var e=document.body||{},t=document.documentElement||{};return Math.max(e.scrollHeight||0,e.offsetHeight||0,e.clientHeight||0,t.scrollHeight||0,t.offsetHeight||0,t.clientHeight||0)}function h(){var e=document.body||{},n=document.documentElement||{},i=window.innerHeight||n.clientHeight||0,o=window.scrollY||n.scrollTop||e.scrollTop||0;return t<=i?t:o+i}function m(p,m){var b="pageview"===p;b&&r&&(v(),t=g(),n=h());try{if("true"===window.localStorage.plausible_ignore)return w(p,m,"localStorage flag")}catch(e){}var y=i&&i.getAttribute("data-include"),E=i&&i.getAttribute("data-exclude");function L(e){var t=location.pathname;return(t+=location.hash).match(RegExp("^"+e.trim().replace(/\*\*/g,".*").replace(/([^\.])\*/g,"$1[^\\s/]*")+"/?$"))}if(b){var k=!y||y&&y.split(",").some(L),S=E&&E.split(",").some(L);if(!k||S)return w(p,m,"exclusion rule")}var H={};H.n=p,H.v=33,H.u=location.href,H.d=o.domain,H.r=document.referrer||null,m&&m.meta&&(H.m=JSON.stringify(m.meta)),m&&m.props&&(H.p=m.props),m&&!1===m.interactive&&(H.i=!1),m&&m.revenue&&(H.$=m.revenue),H.h=1,b&&(e=!1,c=H.u,l=H.p,u=-1,s=0,d=Date.now(),r||(document.addEventListener("visibilitychange",f),window.addEventListener("blur",f),window.addEventListener("focus",f),r=!0)),a(o.endpoint,H,m)}function w(t,n,i){i&&o.logging&&console.warn("Ignoring Event: "+i),n&&n.callback&&n.callback(),"pageview"===t&&(e=!0)}function b(e){if("auxclick"!==e.type||1===e.button){var t,n,i=function(e){for(var t;e&&(void 0===e.tagName||!((t=e)&&t.tagName&&"a"===t.tagName.toLowerCase())||!e.href);)e=e.parentNode;return e}(e.target);if(i&&"string"==typeof i.href&&i.href.split("?")[0],i&&"string"==typeof i.href&&i.host&&i.host!==location.host)return void((n={props:(t={name:"Outbound Link: Click",props:{url:i.href}}).props}).revenue=t.revenue,m(t.name,n))}}!function e(a){o.endpoint=i.getAttribute("data-api")||new URL(i.src).origin+"/api/event",o.domain=i.getAttribute("data-domain"),o.logging=!0,t=g(),n=h(),window.addEventListener("load",function(){t=g();var e=0,n=setInterval(function(){t=g(),15==++e&&clearInterval(n)},200)}),document.addEventListener("scroll",function(){t=g();var e=h();e>n&&(n=e)}),function(e){var t;function n(n){t=location.pathname,e("pageview")}window.addEventListener("hashchange",function(){n(!0)}),"hidden"===document.visibilityState||"prerender"===document.visibilityState?document.addEventListener("visibilitychange",function(){t||"visible"!==document.visibilityState||n()}):n(),window.addEventListener("pageshow",function(e){e.persisted&&n()})}(m),document.addEventListener("click",b),document.addEventListener("auxclick",b);for(var r=window.plausible&&window.plausible.q||[],c=0;c<r.length;c++)m.apply(this,r[c]);window.plausible=m,window.plausible.init=e,window.plausible.v=33,window.plausible.l=!0}()}();

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.