PageSourceSearch

https://teemdrop.com/_nuxt/LvOemT_M.js

js teemdrop.com collected 2026-10-03 21:37:18 UTC 1,273 bytes, 1 lines download raw bytes

1import{d as u,A as h,a as _,y as w,a8 as g}from"./BEdepSaR.js";const $={default:{cdn:{test:"https://oss-test.teemdrop.com",prod:"https://oss.teemdrop.com"}}},p=a=>{const{url:t,width:i,height:r,m:o="fill"}=a;if(!Object.values($.default.cdn).some(m=>t.startsWith(m)))return t;const e=`${t}${t.includes("?")?"&":"?"}`,s=i?`,w_${i}`:"",n=r?`,h_${r}`:"",c=o?`,m_${o}`:"",f=s||n?`/resize${c}${s}${n}`:"",l=t.includes("webp")?"":"/format,webp";return`${e}x-oss-process=image${f}${l}`},O=["src","width","height","data-preview-src"],b=u({__name:"index",props:{src:{default:""},width:{default:void 0},height:{default:void 0},fit:{default:"cover"}},setup(a){const t=a,i={contain:"lfit",cover:"fill",fill:"mfit",none:"fixed","scale-down":"pad"},r=(e,s=2)=>{if(e==null)return;if(typeof e=="number")return e*s;const n=e.endsWith("px")?e.slice(0,-2):e,c=Number(n);if(!Number.isNaN(c))return c*s},o=h(()=>{if(!t.src)return"";const e=r(t.width),s=r(t.height);return p({url:t.src,width:e,height:s,m:i[t.fit]})}),d=h(()=>t.src?p({url:t.src}):"");return(e,s)=>(w(),_("img",g(e.$attrs,{src:o.value,width:r(t.width,1),height:r(t.height,1),"data-preview-src":d.value,style:{objectFit:t.fit},referrerpolicy:"no-referrer"}),null,16,O))}}),C=Object.assign(b,{__name:"BaseCImage"});export{C,p as c};

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.