PageSourceSearch

https://shopbrumano.com/cdn/shop/t/52/assets/util.resource-loader.js?v=81301169148003274841786021753

js shopbrumano.com collected 2026-09-26 04:46:22 UTC 1,600 bytes, 2 lines download raw bytes

1export async function loadScript(src,globalObjectName=null){return globalObjectName&&window[globalObjectName]?window[globalObjectName]:document.querySelector(`script[src="${src}"]`)?(console.warn(`Script with src "${src}" is already loaded.`),waitForGlobalObject(globalObjectName)):new Promise((resolve,reject)=>{const script=document.createElement("script");script.type="text/javascript",script.src=src,script.async=!0,script.onload=()=>{globalObjectName?waitForGlobalObject(globalObjectName).then(resolve).catch(reject):resolve()},script.onerror=()=>reject(new Error(`Failed to load script: ${src}`)),document.head.appendChild(script)})}export function loadCSS(href){return new Promise((resolve,reject)=>{if(document.querySelector(`link[href="${href}"]`)){console.warn(`CSS with href "${href}" is already loaded.`),resolve();return}const link=document.createElement("link");link.rel="stylesheet",link.href=href,link.onload=resolve,link.onerror=()=>reject(new Error(`Failed to load CSS: ${href}`));const firstLinkTag=document.getElementsByTagName("link")[0];firstLinkTag?firstLinkTag.parentNode.insertBefore(link,firstLinkTag):document.head.appendChild(link)})}function waitForGlobalObject(objectName,maxWait=2e3,interval=50){const startTime=Date.now();return new Promise((resolve,reject)=>{const checkObject=()=>{window[objectName]?resolve(window[objectName]):Date.now()-startTime>maxWait?reject(new Error(`Timeout waiting for ${objectName}`)):setTimeout(checkObject,interval)};checkObject()})}
2//# sourceMappingURL=/cdn/shop/t/52/assets/util.resource-loader.js.map?v=81301169148003274841786021753

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.