PageSourceSearch

https://p.autostore.ai/js/plausible.file-downloads.outbound-links.js

js autostore.ai collected 2026-10-05 11:49:20 UTC 3,777 bytes, 1 lines download raw bytes

1!function(){var a,o=window.location,r=window.document,t=r.currentScript,l=t.getAttribute("data-api")||new URL(t.src).origin+"/api/event",s=t.getAttribute("data-domain");function c(t,e,n){e&&console.warn("Ignoring Event: "+e),n&&n.callback&&n.callback(),"pageview"===t&&(a=!0)}var p=o.href,u={},d=-1,f=!1,v=null,w=0;function h(){var t=r.body||{},e=r.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=r.body||{},e=r.documentElement||{},n=window.innerHeight||e.clientHeight||0,e=window.scrollY||e.scrollTop||t.scrollTop||0;return m<=n?m:e+n}function e(){return v?w+(Date.now()-v):w}var m=h(),b=g();function y(){var t=e();!a&&(d<b||3e3<=t)&&(d=b,t={n:"engagement",sd:Math.round(b/m*100),d:s,u:p,p:u,e:t,v:3},v=null,w=0,E(l,t))}function k(){"visible"===r.visibilityState&&r.hasFocus()&&null===v?v=Date.now():"hidden"!==r.visibilityState&&r.hasFocus()||(w=e(),v=null,y())}function n(t,e){var n="pageview"===t;if(n&&f&&(y(),m=h(),b=g()),/^localhost$|^127(\.[0-9]+){0,2}\.[0-9]+$|^\[::1?\]$/.test(o.hostname)||"file:"===o.protocol)return c(t,"localhost",e);if((window._phantom||window.__nightmare||window.navigator.webdriver||window.Cypress)&&!window.__plausible)return c(t,null,e);try{if("true"===window.localStorage.plausible_ignore)return c(t,"localStorage flag",e)}catch(t){}var i={};i.n=t,i.v=3,i.u=o.href,i.d=s,i.r=r.referrer||null,e&&e.meta&&(i.m=JSON.stringify(e.meta)),e&&e.props&&(i.p=e.props),n&&(a=!1,p=i.u,u=i.p,d=-1,w=0,v=Date.now(),f||(r.addEventListener("visibilitychange",k),window.addEventListener("blur",k),window.addEventListener("focus",k),f=!0)),E(l,i,e)}function E(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(){})}window.addEventListener("load",function(){m=h();var t=0,e=setInterval(function(){m=h(),15==++t&&clearInterval(e)},200)}),r.addEventListener("scroll",function(){m=h();var t=g();b<t&&(b=t)});var i=window.plausible&&window.plausible.q||[];window.plausible=n;for(var L,S=0;S<i.length;S++)n.apply(this,i[S]);function x(t){t&&L===o.pathname||(L=o.pathname,n("pageview"))}function H(){x(!0)}var _,N=window.history;N.pushState&&(_=N.pushState,N.pushState=function(){_.apply(this,arguments),H()},window.addEventListener("popstate",H)),"prerender"===r.visibilityState?r.addEventListener("visibilitychange",function(){L||"visible"!==r.visibilityState||x()}):x(),window.addEventListener("pageshow",function(t){t.persisted&&x()});var D=1;function T(t){var e,n,i,a;if("auxclick"!==t.type||t.button===D)return e=(t=>{for(;t&&(void 0===t.tagName||!(e=t)||!e.tagName||"a"!==e.tagName.toLowerCase()||!t.href);)t=t.parentNode;var e;return t})(t.target),n=e&&e.href&&e.href.split("?")[0],(i=e)&&i.href&&i.host&&i.host!==o.host?A(t,e,{name:"Outbound Link: Click",props:{url:e.href}}):(i=n)&&(a=i.split(".").pop(),O.some(function(t){return t===a}))?A(t,e,{name:"File Download",props:{url:n}}):void 0}function A(t,e,n){var i,a=!1;function o(){a||(a=!0,window.location=e.href)}((t,e)=>!t.defaultPrevented&&(e=!e.target||e.target.match(/^_(self|parent|top)$/i),t=!(t.ctrlKey||t.metaKey||t.shiftKey)&&"click"===t.type,e)&&t)(t,e)?(i={props:n.props,callback:o},plausible(n.name,i),setTimeout(o,5e3),t.preventDefault()):(i={props:n.props},plausible(n.name,i))}r.addEventListener("click",T),r.addEventListener("auxclick",T);var N=["pdf","xlsx","docx","txt","rtf","csv","exe","key","pps","ppt","pptx","7z","pkg","rar","gz","zip","avi","mov","mp4","mpeg","wmv","midi","mp3","wav","wma","dmg"],C=t.getAttribute("file-types"),t=t.getAttribute("add-file-types"),O=C&&C.split(",")||t&&t.split(",").concat(N)||N}();

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.