PageSourceSearch

https://www.power.dk/frontend/dist/browser/chunk-2EUUB2FF.js

js power.dk collected 2026-09-25 04:04:48 UTC 1,092 bytes, 2 lines download raw bytes

1import{d as w}from"./chunk-YZFYTRZT.js";function x(t){return o=>{let{loaderParams:e,src:r,width:f}=o;if(!e)return r;let{source:a=n.Umbraco,height:m,width:h,quality:g,format:p,rmode:P,bgcolor:l}=e,W=t.ImagePathPrefixOld,b=t.appSettings.imagePathPrefix,u=r.startsWith("http")?r:U(r,a,W,b),i=new URL(u),s=(c,d)=>{d&&!i.searchParams.has(c)&&i.searchParams.append(c,d)};if(a===n.Umbraco){if(i.pathname.endsWith(".svg"))return i.toString();s("width",o.isPlaceholder||!h?f:h),s("height",m),s("quality",g),s("format",p),s("rmode",P),s("bgcolor",l)}return i.toString()}}var n,U,I=w(()=>{"use strict";n=(function(t){return t.Umbraco="umbraco",t.Cdn="cdn",t})(n||{}),U=(t,o,e,r)=>{if(!t)return t??"";if(typeof t!="string")return console.error("Invalid parameters"),t;switch(o){case n.Umbraco:return e?e.endsWith("/")&&t.startsWith("/")?e+t.slice(1):e+t:(console.error("Missing ImagePathPrefixOld"),t);case n.Cdn:default:return r?r.endsWith("/")&&t.startsWith("/")?r+t.slice(1):r+t:(console.error("Missing ImagePathPrefix"),t)}}});export{n as a,x as b,I as c};
2//# sourceMappingURL=chunk-2EUUB2FF.js.map

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.