PageSourceSearch

https://fusionauth.io/_astro/DocSearch.astro_astro_type_script_index_0_lang.8Q2R0OuV.js

js fusionauth.io collected 2026-09-24 17:09:27 UTC 1,314 bytes, 1 lines download raw bytes

1import{t as e}from"./preload-helper.CxFQXtKk.js";var t={appId:`CEDVXLJPHK`,apiKey:`ec72d3111c6c6effa6c80b79636b9ba7`,indexName:`Fusionauth Docs`},n=5,r=25,i=`hierarchy.lvl0:Documentation`,a=e(()=>import(`./docsearch.DvUWJMZa.js`),[]),o={container:`#docsearch`,appId:t.appId,apiKey:t.apiKey,indices:[t.indexName],placeholder:`Search docs...`,transformSearchClient(e){return{...e,search(t,a){let o=t?.requests??[],s=[];for(let e of o)s.push({...e,filters:i,hitsPerPage:n}),s.push({...e,filters:`NOT ${i}`,hitsPerPage:r});return e.search({...t,requests:s},a).then(e=>{let t=window.location.pathname,n=t.startsWith(`/articles`)?`articles`:t.startsWith(`/blog`)?`blog`:`docs`,r=[];for(let t=0;t<e.results.length;t+=2){let i=e.results[t].hits,a=e.results[t+1].hits,o=a.filter(e=>e.url.includes(`/articles/`)),s=a.filter(e=>e.url.includes(`/blog/`)),c;c=n===`docs`?[...i,...a]:n===`articles`?[...o,...i,...s]:[...s,...i,...o],r.push({...e.results[t],hits:c,nbHits:c.length})}return{...e,results:r}})}}},transformItems:e=>e},s=async()=>{if(!document.getElementById(`docsearch`))return;let{default:e}=await a,t=e(o);document.querySelectorAll(`[data-widget="search-button"]`).forEach(e=>e.addEventListener(`click`,()=>t.open()))};document.readyState===`loading`?document.addEventListener(`DOMContentLoaded`,s,{once:!0}):s();

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.