import{I as e,P as t}from"./_plugin-vue_export-helper-BVhEvvHC.js";e();function n(){return navigator.userAgent.includes(`LeagueBroadcast`)}var r=3e4,i=new Map;function a(e){return e.toLowerCase().replace(/ \(\d+\)(\.[^.]*)$/,`$1`)}function o(e,t){i.set(a(e),{dataUrl:t,expiresAt:Date.now()+r})}function s(e){let t=a(e),n=i.get(t);if(n)return i.delete(t),n.expiresAt>=Date.now()?n.dataUrl:void 0}function c(e,n){return()=>t(`div`,{class:`flex min-w-0 flex-col gap-1.5`},[t(`span`,{class:`break-all`},e),n?t(`img`,{src:n,alt:e,class:`mt-0.5 w-full rounded-md border border-border`,style:{background:`repeating-conic-gradient(#d4d4d8 0% 25%, #f4f4f5 0% 50%) 0 0 / 16px 16px`}}):null])}export{s as i,n,o as r,c as t};