1(()=>{const t=null!==new URL(window.location.href).searchParams.get("test-sponsor-slots"),e=function(){let{metaName:t}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};t||(t="advert-data");let e=document.querySelector(`meta[name="${t}"]`)?.content;if(!e)return!1;if(","===e.substr(e.length-1))e=e.slice(0,-1);else if("["===e.substr(0,1)&&"]"===e.substr(e.length-1))return e;return`{${e}}`},o=t=>{try{return JSON.parse(t)&&!!t}catch(t){return!1}};window.advSetTargeting=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};window?.googletag?.pubads&&googletag.pubads().clearTargeting();const i=e();console.log("advData",i);const n=o(i)?JSON.parse(i):{};console.log("paramsData",n);const s=n.sponsor?n.sponsor.toString():"0",a=n.sponsorowane_cat,d=n.type?n.type.toString():"";window._zet_sponsorowane=s,window._zet_sponsorowane_category=a,window._zet_type=d;const r={adult:n.adult||"",category:n.category||"",subcategory:n.subcategory||"",node:n.node,serwis:n.serwis||"",sponsorowane:s,sponsorowane_cat:a,type:d||"",host:window.location.hostname,path:window.location.pathname,url:window.location.href,...t};Object.keys(n).map((t=>{n[t].includes(";")&&(n[t]=n[t].split(";").map((t=>t.trim())))}));const l={...n,...r};return window.googletag=window.googletag||{cmd:[]},window.googletag.cmd.push((()=>{Object.keys(l).map((t=>{null!==new URL(window.location.href).searchParams.get("yb-debug")&&console.log("setTargeting",t,l[t]),window.googletag.pubads().setTargeting(t,l[t])}))})),null!==new URL(window.location.href).searchParams.get("yb-debug")&&console.log("targeting",l),!!l};class i{constructor(){this.YB_DEBUG=null!==new URL(window.location.href).searchParams.get("yb-debug"),this.YB_DEBUG&&this.debug("run file: Yieldbird-embed.js"),this.limitsAdv={leaderboard:20},this.mobile=this.mobileCheck();const t=e();if(this.advData=o(t)?JSON.parse(t):null,"0"!=this.advData?.sponsor){const t=e({metaName:"advert-data-sponsor"});this.advDataSponsorSlots=o(t)?JSON.parse(t):null}window.yb_adverts=window.yb_adverts||{billboard:0,halfpage:0,rectangle:0,rectangle_polecane:0,leaderboard:0},this.advLoaded=[],this.yb_slots_defined=this.yb_slots_defined||[],this.YB_DEBUG&&window.__tcfapi&&this.debugCMP(),this.eventWithCard(),window.location.pathname.includes("/(ybAsync)/test")||window.advSetTargeting(),this.eventOnLoad(),this.eventRenderEnded()}mobileCheck(){let t=!1;var e;return e=navigator.userAgent||navigator.vendor||window.opera,(/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i.test(e)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|
1sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(e.substr(0,4)))&&(t=!0),t}eventWithCard(){if(window.__tcfapi){const t=document.querySelector("body");__tcfapi("addEventListener",2,((e,o)=>{console.log("tcData",e,o),o&&"cmpuishown"===e.eventStatus&&t&&"hidden"!==getComputedStyle(t).overflowY?t.style.overflowY="hidden":t&&"hidden"===getComputedStyle(t).overflowY&&(t.style.overflowY="auto")}))}}addSlot(e){if(!e)return!1;const{slot:o,ybSlot:i,device:n,slotDepends:s}=e.dataset,a=i||o,d="desktop"==n&&!this.mobile||"mobile"==n&&this.mobile||"all"==n;if(s&&(this.YB_DEBUG&&this.debug(`run ad ${i} is dependent on ${s}`),this.checkDependentAdIsDisplayed(s)&&(e.dataset.slotDepends=`${s} - rendered`,d=!1)),e.classList.add("parse"),d){const o=this.slotCounterData(a),i=o.type,n=this.setCounter({slot_data:o,type:i});if(this.limitsAdv[o.type]&&this.limitsAdv[o.type]>=n||!this.limitsAdv[o.type]){window.yb_adverts[i]=n;const s=a.replace("advCounter",n);this.specificAds&&this.specificAds[s]&&location.host.includes("podroze")&&!this.mobile?this.runSepcificAd(this.specificAds[s],e):(this.YB_DEBUG&&this.debug(`run advert: ${s}`),this.markSlot(e,s),(!t||t&&("0"===this.advData?.sponsor||"0"!==this.advData.sponsor&&this.advDataSponsorSlots.find((t=>s===t.slot))))&&this.cmdPush(e.id,`${o.type}_${n}`))}}}checkDependentAdIsDisplayed(t){return this.advLoaded.includes(t),!1}setCounter(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{slot_data:e,type:o}=t;let i=e.counter||window.yb_adverts[o]+1||1;for(;document.querySelector(`.advert[data-counter="${i}"]`)&&i<=20;)i++;return i}runSepcificAd(t,e){if(this.YB_DEBUG&&this.debug(`run runSepcificAd: ${t}`),"onnetwork"===t.type){const o="https://video.onnetwork.tv/embed.php?sid=",i=document.createElement("script");i.setAttribute("src",`${o}${t.sid}`);const n=document.createElement("div");n.classList.add("onnetwork-container"),n.appendChild(i),e.appendChild(n),e.classList.add("parse"),e.classList.add("advert--specific"),e.classList.add("advert--specific--onnetwork")}return!1}slotCounterData(t){const e=t.match(/div-gpt-ad-([a-z]*)_([0-9]|advCounter)_h[0-9]*/),o={};return e&&e[1]&&(o.type=e[1]),e&&e[2]&&"advCounter"!==e[2]&&(o.counter=parseInt(e[2])),this.YB_DEBUG&&this.debug(`mark type advert: ${o}, ${t}`),o}markSlot(t,e){return t.dataset.counterSlot=e,t.id=e,t.classList.add(e),t.parentNode.classList.add("advert-container--parse"),t.parentNode.classList.add(e),this.YB_DEBUG&&(this.debug(`mark slot: ${e}`,t),this.debug(`mark slot container: ${e}`,t.parentNode),this.debug(`add parmeters to advert slot: ${e}`)),this.YB_DEBUG&&(t.parentNode.insertAdjacentHTML("beforeend",`<div style="width: 100%;text-align: center;font-size: 8px;color: #fff;background-color: #000;margin-top: -20px;position: relative;z-index: 10;">${e}</div>`),t.parentNode.classList.add("flex-box__flow__row-wrap")),!0}cmdPush(e,o){if(console.log("xxx cmdPush",e,o,t),!this.yb_slots_defined.includes(o))if("2"===t)console.log("xxx",e),googletag.pubads().refresh([googletag.pubads().getSlots().find((t=>t.getSlotElementId()===e))]);else if(window?.Quickwrap?.cmd)return console.log("xxx cmdPush run"),window.Quickwrap.cmd.push((function(){let t={slotname:o};window.Quickwrap.defineSlot(e).setTargeting(t).render()})),!0;return!1}runInterstitial(){window.Quickwrap.cmd.push((function(){let t={slotname:interstitialSlot};window.Quickwrap.defineSlot(interstitialSlot).setTargeting(t).render()})),window.runInterstitial=!0}debug(t){const e=`%c ${Math.round(performance.now())} -- Yieldbird debug: `,o="background: black; color: white;";for(var i=arguments.length,n=new Array(i>1?i-1:0),s=1;s<i;s++)n[s-1]=arguments[s];n.length?console.log(e,o,t,n):console.log(e,o,t)}debugCMP(){__tcfapi("getTCData",2,((t,e)=>{if(e){const e=`%c ${Math.round(performance.now())} -- Yieldbird debug cmp: `,o="background: blue; color: white;";this.YB_DEBUG&&console.log(e,o,"getTCData success",t)}else __tcfapi("ping",2,(e=>{const o=`%c ${Math.round(performance.now())} -- Yieldbird debug cmp: `;this.YB_DEBUG&&console.log(o,"background: red; color: white;","getTCData error",t,e)}))}),[1,2,3])}eventOnLoad(){this.YB_DEBUG&&this.debug("event: call function after load advert"),googletag.cmd.push((()=>{googletag.pubads().addEventListener("slotOnload",(t=>{const e=t.slot.getSlotElementId();if(!e.includes("/")){const t=document.querySelector("#"+e);t.classList.add("advert--loaded"),t.parentElement.classList.contains("advert-container")&&t.parentElement.classList.add("advert-container--loaded")}"div-gpt-ad-premiumboard_h300"===e&&this.detectPremiumboard(),"div-gpt-ad-topscroll_h300"===e&&this.detectTopoard(),this.YB_DEBUG&&this.debug(`Advert ${e} loaded`);const o=t.slot.getName().split("/").slice(-1)[0];this.advLoaded.includes(o)||(this.advLoaded.push(o),window.advLoaded=window.advLoaded||[],window.advLoaded.push(o))}))}))}
1eventRenderEnded(){this.YB_DEBUG&&this.debug("event: call function after render ended advert"),googletag.cmd.push((()=>{googletag.pubads().addEventListener("slotRenderEnded",(t=>{"interstitial_inhouse"===t.slot.getName().split("/").slice(-1)[0]&&t.isEmpty&&this.runInterstitialGoogle()}))}))}runInterstitialGoogle(){const t=(t=>{const e=new URL(t).hostname.split(".");return e.slice(0).slice(-(4===e.length?3:2)).join(".")})(window.location.origin);return window.interstitialSlot,window.googletag=window.googletag||{cmd:[]},googletag.cmd.push((function(){(window.interstitialSlot=googletag.defineOutOfPageSlot(`/75224259/${t}/interstitial`,googletag.enums.OutOfPageFormat.INTERSTITIAL))&&(window.interstitialSlot.setTargeting("slotname","interstitial"),window.interstitialSlot.addService(googletag.pubads())),googletag.enableServices(),googletag.display(window.interstitialSlot)})),!0}detectPremiumboard(){const t=document.querySelector("#PREMIUMBOARD")||document.querySelector(".adv-premiumboard")||document.querySelector(".premiumboard.advert-container");if(t){t.classList.add("premiumboard--sticky");t.offsetHeight;const e=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;const e=document.body;let o=null;e?.dataset?.type&&["article","quiz","gallery"].includes(e.dataset.type)&&(o=document.querySelector(".full-content__main__body")||document.querySelector(".full__article__body")||document.querySelector("#main-content .article.flex-content"),o)&&(t=o.getBoundingClientRect().top+window.scrollY+o.offsetHeight);if(!o||0===t){const o=document.documentElement;t=Math.max(e.scrollHeight,e.offsetHeight,o.clientHeight,o.scrollHeight,o.offsetHeight)}return.3*t}(),o=document.body;function i(t,e){let o=!1;return function(){o||(t.apply(this,arguments),o=!0,setTimeout((function(){o=!1}),e))}}function n(t,e){let o;return function(){const i=arguments;clearTimeout(o),o=setTimeout((function(){t.apply(this,i)}),e)}}const s=i((function(){window.scrollY<e?o.classList.add("adv-premiumboard--sticky"):o.classList.remove("adv-premiumboard--sticky")}),500);n((function(){window.scrollY>0?o.classList.add("adv-premiumboard--sticky-small"):o.classList.remove("adv-premiumboard--sticky-small")}),300);window.addEventListener("scroll",(()=>{s()}))}}detecttopscroll(){const t=document.querySelector("#topscroll")||document.querySelector(".adv-topscroll")||document.querySelector(".topscroll.advert-container");if(t){t.classList.add("topscroll--sticky");const e=(()=>{const t=document.body;let e=0,o=null;t?.dataset?.type&&["article","quiz","gallery"].includes(t.dataset.type)&&(o=document.querySelector(".full-content__main__body")||document.querySelector(".full__article__body")||document.querySelector("#main-content .article.flex-content"),o)&&(e=o.getBoundingClientRect().top+window.scrollY+o.offsetHeight);if(!o||0===e){const o=document.documentElement;e=Math.max(t.scrollHeight,t.offsetHeight,o.clientHeight,o.scrollHeight,o.offsetHeight)}return.3*e})(),o=document.body;function i(t,e){let o=!1;return function(){o||(t.apply(this,arguments),o=!0,setTimeout((function(){o=!1}),e))}}const n=i((function(){window.scrollY<e?o.classList.add("adv-topscroll--sticky"):o.classList.remove("adv-topscroll--sticky")}),500);window.addEventListener("scroll",(()=>n()))}}}window.YieldbirdEmbedInit=new i,window.YieldbirdEmbed=i})();
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.