1const HOOK="[data-search-pa]",SLIDER=".pages-articles-slider";async function fill(mount){const terms=mount.dataset.searchPaTerms,sectionId=mount.dataset.searchPaSection;if(!terms||!sectionId)return;const url=new URL(window.location.origin+window.location.pathname);url.searchParams.set("q",terms),url.searchParams.set("type","article,page"),url.searchParams.set("section_id",sectionId);const response=await fetch(url.toString(),{headers:{"X-Requested-With":"XMLHttpRequest"},credentials:"same-origin"});if(!response.ok)return;const slider=new DOMParser().parseFromString(await response.text(),"text/html").querySelector(SLIDER);slider&&(mount.replaceWith(slider),window.themeBlazeSliderController?.refresh?.())}export function initSearchPagesArticles(root=document){(root&&typeof root.querySelectorAll=="function"?root:document).querySelectorAll(HOOK).forEach(mount=>{mount.dataset.searchPaLoaded!=="true"&&(mount.dataset.searchPaLoaded="true",fill(mount).catch(()=>{}))})}export default initSearchPagesArticles; 2//# sourceMappingURL=/cdn/shop/t/243/assets/search-pages-articles.js.map?v=58559306624691975401788958898
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.