PageSourceSearch

https://detiklife.com/static/js/preload-helper-DjMZykf2.js

js detiklife.com collected 2026-10-07 08:25:57 UTC 1,414 bytes, 1 lines download raw bytes

1var E="modulepreload",P=function(i){return"/"+i},p={},U=function(c){return c.pathname.endsWith(".css")},k=function(c,d,v){let f=Promise.resolve();if(d&&d.length>0){let w=function(t){return Promise.all(t.map(n=>Promise.resolve(n).then(o=>({status:"fulfilled",value:o}),o=>({status:"rejected",reason:o}))))},y=function(t){return import.meta.resolve?new URL(import.meta.resolve(t)):new URL(t,import.meta.url)},e;const r=document.querySelector("meta[property=csp-nonce]"),h=r?.nonce||r?.getAttribute("nonce");f=w(d.map(t=>{t=P(t,v);const n=y(t);if(n.href in p)return;p[n.href]=!0;const o=U(n);if(e===void 0){e={all:new Set,styles:new Set};const a=document.getElementsByTagName("link");for(let l=a.length-1;l>=0;l--){const u=a[l];e.all.add(u.href),u.rel==="stylesheet"&&e.styles.add(u.href)}}if((o?e.styles:e.all).has(n.href))return;const s=document.createElement("link");if(s.rel=o?"stylesheet":E,o||(s.as="script"),s.crossOrigin="",s.href=n.href,h&&s.setAttribute("nonce",h),document.head.appendChild(s),o)return new Promise((a,l)=>{s.addEventListener("load",a),s.addEventListener("error",()=>l(new Error(`Unable to preload CSS for ${n}`)))})}).filter(t=>t!==void 0))}function m(e){const r=new Event("vite:preloadError",{cancelable:!0});if(r.payload=e,window.dispatchEvent(r),!r.defaultPrevented)throw e}return f.then(e=>{for(const r of e||[])r.status==="rejected"&&m(r.reason);return c().catch(m)})};export{k as 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.