PageSourceSearch

https://shakespearedc.org/stc/B4hm3YWe.js

js shakespearedc.org collected 2026-09-26 11:06:09 UTC 1,469 bytes, 1 lines download raw bytes

1import{a as g,f as w,w as k,b as d,u as e,c as u,j as p}from"./Cqn8-1BJ.js";const z=["width","height","src","srcset","sizes","alt","loading"],f={key:1,class:"image-wrap"},S=["width","height","src","srcset","sizes","alt","loading"],B=["width","height","src","srcset","sizes","alt","loading"],x={__name:"Image",props:{src:String,sizes:String,wrap:Boolean,w:Number,h:Number,alt:String,to:String,post_content:String,eager:Boolean,srcset:String},setup(t){const s=t,c=s.w||null,n=s.h||null;let i=s.src;if(s.src&&typeof s.src=="string"&&!s.src.includes("placeholder/")){const a=s.src.trim();if(/^https?:\/\//i.test(a)){const r=new URL(a);/(^|\.)shakespearetheatre\.org$/i.test(r.hostname)&&(r.hostname="cms.shakespearetheatre.org"),i=r.toString()}else/^\/?(Images|_uploaded)\//i.test(a)?i=`https://cms.shakespearetheatre.org/${a.replace(/^\/+/,"")}`:i=`https://cms.shakespearetheatre.org/wp-content/uploads/${a.replace(/^\/+/,"")}`}const l=s.srcset||null,o=i||null,h=s.eager?"eager":"lazy";return(a,r)=>{const m=p;return t.to?(g(),w(m,{key:0,to:t.to,class:"image-wrap"},{default:k(()=>[d("img",{width:e(c),height:e(n),src:e(o),srcset:e(l),sizes:t.sizes,alt:t.alt||"",loading:e(h)},null,8,z)]),_:1},8,["to"])):t.wrap?(g(),u("div",f,[d("img",{width:e(c),height:e(n),src:e(o),srcset:e(l),sizes:t.sizes,alt:t.alt||"",loading:e(h)},null,8,S)])):(g(),u("img",{key:2,width:e(c),height:e(n),src:e(o),srcset:e(l),sizes:t.sizes,alt:t.alt||"",loading:e(h)},null,8,B))}}};export{x as _};

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.