PageSourceSearch

https://www.scandit.com/_astro/SearchContainer.astro_astro_type_sc…?dpl=dpl_89FMhwtbPccBtxAzygUo9gmjLNJf

js scandit.com collected 2026-09-24 08:37:23 UTC 1,871 bytes, 1 lines download raw bytes

1import{t as e}from"./preload-helper.B3nfOi5I.js?dpl=dpl_89FMhwtbPccBtxAzygUo9gmjLNJf";var t=!1,n=null;function r(){document.querySelectorAll(`[data-search-trigger]`).forEach(e=>{e.addEventListener(`pointerenter`,()=>a(),{once:!0}),e.addEventListener(`focus`,()=>a(),{once:!0})}),document.addEventListener(`keydown`,e=>{(e.metaKey||e.ctrlKey)&&e.key===`k`?(e.preventDefault(),s()):e.key===`Escape`&&c()}),document.addEventListener(`click`,e=>{let t=e.target;t.closest(`[data-search-trigger]`)?(e.preventDefault(),s()):t.closest(`#close-search-btn`)&&c()})}var i=`__siteSearchListenersAdded`;typeof window<`u`&&!window[i]&&(window[i]=!0,document.readyState===`loading`?document.addEventListener(`DOMContentLoaded`,r):r());function a(){return t?Promise.resolve():n||(n=(async()=>{await Promise.all([e(()=>import(`./siteSearch.C1GbiKYt.js?dpl=dpl_89FMhwtbPccBtxAzygUo9gmjLNJf`),[]),e(()=>import(`./dist.SwqmWDbT.js?dpl=dpl_89FMhwtbPccBtxAzygUo9gmjLNJf`),[])]),t=!0})(),n)}var o=`__siteSearchOpenInProgress`;function s(){typeof window<`u`&&window[o]||(window[o]=!0,a().then(async()=>{document.querySelector(`#search-dialog`)?.showModal();let{initializeSiteSearch:t}=await e(async()=>{let{initializeSiteSearch:e}=await import(`./siteSearch.C1GbiKYt.js?dpl=dpl_89FMhwtbPccBtxAzygUo9gmjLNJf`);return{initializeSiteSearch:e}},[]);t()}).catch(e=>console.error(`Failed to load search:`,e)).finally(()=>{typeof window<`u`&&(window[o]=!1)}))}function c(){let e=document.querySelector(`#search-dialog`);e?.open&&e.close()}window.loadSearchComponent=()=>a(),window.isSearchComponentLoaded=()=>t,window.isSearchComponentLoading=()=>n!=null&&!t,window.initializeSearchOnOpen=async()=>{await a();let{initializeSiteSearch:t}=await e(async()=>{let{initializeSiteSearch:e}=await import(`./siteSearch.C1GbiKYt.js?dpl=dpl_89FMhwtbPccBtxAzygUo9gmjLNJf`);return{initializeSiteSearch:e}},[]);t()};

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.