1import{a as e}from"./CHE1g1SL.js";import{B as t,M as n,Tt as r,U as i,Y as a,f as o,g as s,h as c,m as l,ot as u,p as d,vt as f,w as p,x as m}from"./lWI7D0XQ.js";import{t as h}from"./DYuwcXpK.js";import{t as g}from"./BDNMzG2s.js";var _={key:0,class:`promo-wrap`},v={class:`promo-area`},y=[`innerHTML`],b=Object.assign(g(p({__name:`c-ads`,props:{sources:{}},setup(p){let g=p,b=e(),x=f(null),S=o(()=>{let e=g.sources?.banner;return g.sources?.hasAd===!0||!!x.value||!!(e&&typeof e==`object`&&e.html)});return t(async()=>{let e=g.sources?.banner;if(e){if(typeof e==`string`){try{let t=await h(`${b.public.apiBaseExternal}${e}`),n=t?.data??t;n?.html&&(x.value=n)}catch{}return}typeof e==`object`&&e.html&&(x.value=e)}}),(e,t)=>r(S)?(i(),s(`div`,_,[d(`div`,v,[r(x)?(i(),s(`div`,{key:0,innerHTML:r(x).html,class:`promo-content`},null,8,y)):c(``,!0),r(x)?(i(),l(a(r(x)?.regulaminUrl?`a`:`span`),n({key:1,class:`promo-label`},r(x)?.regulaminUrl?{href:r(x).regulaminUrl,target:`_blank`,rel:`noopener noreferrer nofollow`}:{}),{default:u(()=>[...t[0]||=[m(`Reklama`,-1)]]),_:1},16)):c(``,!0)])])):c(``,!0)}}),[[`__scopeId`,`data-v-08e10fb9`]]),{__name:`CAds`});export{b 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.