@volvo-cars/css
Version:
Volvo Cars shared CSS
3 lines • 5 kB
JavaScript
import{a as i,b as e,c as v,d as c}from"./chunk-G3C4LGWM.js";import"./chunk-BBIFT7L4.js";var m="QGZvbnQtZmFjZXtmb250LWZhbWlseTpWb2x2byBOb3Z1bTtmb250LXdlaWdodDozMDA7c3JjOnVybChodHRwczovL3d3dy52b2x2b2NhcnMuY29tL3N0YXRpYy9zaGFyZWQvZm9udHMvdm9sdm8tbm92dW0vdm9sdm8tbm92dW0tZ3JlZWstc2VtaS1saWdodC53b2ZmMilmb3JtYXQoIndvZmYyIik7Zm9udC1kaXNwbGF5OnN3YXA7dW5pY29kZS1yYW5nZTpVKzM3MC0zRkZ9QGZvbnQtZmFjZXtmb250LWZhbWlseTpWb2x2byBOb3Z1bTtmb250LXdlaWdodDozMDA7c3JjOnVybChodHRwczovL3d3dy52b2x2b2NhcnMuY29tL3N0YXRpYy9zaGFyZWQvZm9udHMvdm9sdm8tbm92dW0vdm9sdm8tbm92dW0tY3lyaWxsaWMtc2VtaS1saWdodC53b2ZmMilmb3JtYXQoIndvZmYyIik7Zm9udC1kaXNwbGF5OnN3YXA7dW5pY29kZS1yYW5nZTpVKzQ/P31AZm9udC1mYWNle2ZvbnQtZmFtaWx5OlZvbHZvIE5vdnVtO2ZvbnQtd2VpZ2h0OjMwMDtzcmM6dXJsKGh0dHBzOi8vd3d3LnZvbHZvY2Fycy5jb20vc3RhdGljL3NoYXJlZC9mb250cy92b2x2by1ub3Z1bS92b2x2by1ub3Z1bS1zZW1pLWxpZ2h0LndvZmYyKWZvcm1hdCgid29mZjIiKTtmb250LWRpc3BsYXk6c3dhcH1AZm9udC1mYWNle2ZvbnQtZmFtaWx5OlZvbHZvIE5vdnVtO2ZvbnQtc3R5bGU6aXRhbGljO2ZvbnQtd2VpZ2h0OjMwMDtzcmM6dXJsKGh0dHBzOi8vd3d3LnZvbHZvY2Fycy5jb20vc3RhdGljL3NoYXJlZC9mb250cy92b2x2by1ub3Z1bS92b2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&!o.endsWith("/")&&(o+="/");let r=Object.entries(i).filter(v(a)).flatMap(([f,s])=>{let t={href:o+s,rel:"stylesheet",crossOrigin:"anonymous"},n=c(f);n&&(t.media=n);let l={...t,rel:"preload",as:"style"};return t["data-volvo-css-name"]=f,f==="font-face.css"&&a?.preload!==!1?{...t,href:`data:text/css;base64,${m}`}:a?.preload===!1?t:[l,t]}).sort((f,s)=>f.rel==="preload"&&s.rel==="preload"?0:f.rel==="preload"?-1:1);return r.toString=function(){let s="";for(let t of this){let n=Object.entries(t).map(([l,w])=>`${l}="${w}"`).join(" ");s+=`<link ${n} />
`}return s},r};export{F as links};
//# sourceMappingURL=links.server.js.map