PageSourceSearch

https://korso.pl/_nuxt/CbJQNMQ9.js

js korso.pl collected 2026-10-01 12:22:25 UTC 1,760 bytes, 1 lines download raw bytes

1import{d as t}from"./Cm2J8wJT.js";import{ah as e,J as a,L as s,M as i,R as o,V as l}from"./Cw52Jb_b.js";import"./oPzPbeIq.js";import"./Dv5-W7ly.js";const d=t({props:["ad","isMobile"],data:()=>({closed:!0,adOpenTimeout:5e3,adCloseTimeout:15e3,storageKey:"adpbemtopAdDisplayed"}),mounted(){const t=this;if(!sessionStorage.getItem(this.storageKey))try{setTimeout((()=>{t.closed=!1,this.reportAdStat(this.ad.campaignId,this.ad.uniqueId,this.ad.id);try{sessionStorage.setItem(this.storageKey,!0)}catch(e){}setTimeout((()=>{t.handleClose()}),t.adCloseTimeout)}),t.adOpenTimeout)}catch(e){}},methods:{handleClose(){this.closed=!0},handleImageClick(){window.open(this.ad.url,"_blank"),this.reportAdStat(this.ad.campaignId,this.ad.uniqueId,this.ad.id,"click"),this.handleClose()},reportAdStat(t,e,a,s="views"){const i=new CustomEvent("handleStatReport",{detail:{content_type:"ads",stat_type:s,stat_id:`${a}`,com_id:e}});window.dispatchEvent(i)}},computed:{imageUrl(){return this.getImageUrl(this.ad[this.isMobile&&this.ad.mobileUrl&&""!=this.ad.mobileUrl?"mobileUrl":"img"])}}},"$ajmxS1wEnT"),n={key:0,class:"ads banner-top-0"},r=["src","alt"];const m=e(d,[["render",function(t,e,d,m,c,h){return t.ad&&!t.closed?(a(),s("div",n,[i("div",{class:"close-button",onClick:e[0]||(e[0]=(...e)=>t.handleClose&&t.handleClose(...e))},[e[2]||(e[2]=i("span",{class:"close-button__icon"},null,-1)),i("span",{class:"timer",style:o({animation:`timer ${t.adCloseTimeout/1e3}s infinite linear`})},null,4)]),i("img",{onClick:e[1]||(e[1]=(...e)=>t.handleImageClick&&t.handleImageClick(...e)),src:t.imageUrl,alt:t.ad.caption&&""!=t.ad.caption?t.ad.caption:"Reklama lokalna"},null,8,r),e[3]||(e[3]=i("span",{class:"banner-top__branding"},"reklama",-1))])):l("",!0)}]]);export{m 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.