PageSourceSearch

https://cdn.poddtoppen.se/build/assets/poddtoppen-Ad.D7lQrrQ8.js

js poddtoppen.se collected 2026-10-01 09:18:36 UTC 1,391 bytes, 2 lines download raw bytes

1import{a as e,f as t,l as n,u as r}from"./poddtoppen-vendor-common.Bnn82FW7.js";import{n as i}from"./poddtoppen-http.BYNgmifH.js";import{t as a}from"./poddtoppen-adobserver.8LJUBiQf.js";import{t as o}from"./poddtoppen-Podcast.D2npQBQq.js";function s(){return e(`div`,{className:`flex py-4 border-b border-gray `,children:[e(`div`,{className:`flex-grow flex-shrink-0 w-24 h-24 mr-4 bg-gray-400 rounded md:w-32 md:h-32`}),e(`div`,{className:`flex flex-col items-start justify-center w-full`,children:[e(`div`,{className:`w-5/12 h-3 mb-1 bg-gray-400`}),e(`div`,{className:`w-4/12 h-3 bg-gray-400`})]})]})}function c({link:e,slot:t,id:n}){return`${e}?${new URLSearchParams({pid:n,s:t}).toString()}`}function l({slot:l}){let[u,d]=r(!0),[f,p]=r(!1),[m,h]=r(!1),g=n(null);function _(){h(!1),d(!0),i.get(`/api/ad?s=${l}`).then(({data:e})=>{d(!1),h(e.data),p(!1)}).catch(()=>{p(!0)})}return t(()=>{_()},[]),t(()=>{if(!m)return;let e={...m,el:g.current,pid:m.id,slot:l};if(g.current!==null){let t=a(e,{hooks:{onReplace(){_()}}});return()=>t()}return()=>null},[m]),f||!u&&!m?null:u?e(s,{}):e(o,{adNode:g,pid:m.id,title:m.title,genre:m.episode_id?`Utvalt avsnitt · ${m.podcast_title}`:m.categoryName,url:m.delivery_token?m.link:c({...m,slot:l}),imageSrc:m.images.medium,imageSrcset:m.images.srcset,extraText:m.meta&&m.meta.title},m.id)}export{l as t};
2//# sourceMappingURL=poddtoppen-Ad.D7lQrrQ8.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.