(()=>{"use strict";const e="cachebuster",a=new URL(location.href),c=a.searchParams.has(e);c&&(a.searchParams.delete(e),history.replaceState(null,"",a)),window.cachebuster={clearCache(){const a=new URL(location.href);a.searchParams.set(e,crypto.randomUUID()),location.replace(a)}},!c&&document.querySelector("script[autoclear]")&&cachebuster.clearCache()})();