1import{_ as r,o,c,a as i}from"./C-qN4PQR.js";const l={props:{url:{type:String,default:null},after:{type:Boolean,default:!1}},computed:{embedUrl(){const e=this.url.match(/open.spotify\.com\/(album|artist|playlist|track|episode|prerelease)\/(\w+)/);return"https://open.spotify.com/embed/"+e[1]+"/"+e[2]+(this.after?"?theme=0":"")},embedHeight(){if(this.after)return 400;const e=this.url.match(/open.spotify\.com\/(album|artist|playlist|track|episode|prerelease)\/(\w+)/);let t=155;return e[1]==="episode"&&(t=233),new URL(this.url).searchParams.get("mode")==="compact"?80:t}}},p={class:"spotify-embed"},n=["src","height"];function m(e,t,s,d,u,a){return o(),c("div",p,[i("iframe",{style:{"border-radius":"12px"},src:a.embedUrl,height:a.embedHeight,allow:"autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture",loading:"lazy"},null,8,n)])}const f=Object.assign(r(l,[["render",m]]),{__name:"SpotifyEmbed"});export{f as default};
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.