(function() {function aa(a){var b=0;return function(){return b<a.length?{done:!1,value:a[b++]}:{done:!0}}}function ba(a){var b="undefined"!=typeof Symbol&&Symbol.iterator&&a[Symbol.iterator];return b?b.call(a):{next:aa(a)}}var e="undefined"!=typeof window&&window===this?this:"undefined"!=typeof global&&null!=global?global:this,ca="function"==typeof Object.defineProperties?Object.defineProperty:function(a,b,d){a!=Array.prototype&&a!=Object.prototype&&(a[b]=d.value)};
function h(a,b){if(b){var d=e;a=a.split(".");for(var f=0;f<a.length-1;f++){var g=a[f];g in d||(d[g]={});d=d[g]}a=a[a.length-1];f=d[a];b=b(f);b!=f&&null!=b&&ca(d,a,{configurable:!0,writable:!0,value:b})}}
h("Promise",function(a){function b(a){this.ff=0;this.Hh=void 0;this.se=[];var b=this.Hg();try{a(b.resolve,b.reject)}catch(q){b.reject(q)}}function d(){this.Rc=null}function f(a){return a instanceof b?a:new b(function(b){b(a)})}if(a)return a;d.prototype.Ii=function(a){null==this.Rc&&(this.Rc=[],this.kl());this.Rc.push(a)};d.prototype.kl=function(){var a=this;this.Ji(function(){a.Gl()})};var g=e.setTimeout;d.prototype.Ji=function(a){g(a,0)};d.prototype.Gl=function(){for(;this.Rc&&this.Rc.length;){var a=
this.Rc;this.Rc=[];for(var b=0;b<a.length;++b){var d=a[b];a[b]=null;try{d()}catch(w){this.ll(w)}}}this.Rc=null};d.prototype.ll=function(a){this.Ji(function(){throw a;})};b.prototype.Hg=function(){function a(a){return function(f){d||(d=!0,a.call(b,f))}}var b=this,d=!1;return{resolve:a(this.bo),reject:a(this.Fh)}};b.prototype.bo=function(a){if(a===this)this.Fh(new TypeError("A Promise cannot resolve to itself"));else if(a instanceof b)this.xo(a);else{a:switch(typeof a){case "object":var d=null!=a;break a;
case "function":d=!0;break a;default:d=!1}d?this.ao(a):this.Ui(a)}};b.prototype.ao=function(a){var b=void 0;try{b=a.then}catch(q){this.Fh(q);return}"function"==typeof b?this.yo(b,a):this.Ui(a)};b.prototype.Fh=function(a){this.Bk(2,a)};b.prototype.Ui=function(a){this.Bk(1,a)};b.prototype.Bk=function(a,b){if(0!=this.ff)throw Error("Cannot settle("+a+", "+b+"): Promise already settled in state"+this.ff);this.ff=a;this.Hh=b;this.Hl()};b.prototype.Hl=function(){if(null!=this.se){for(var a=0;a<this.se.length;++a)k.Ii(this.se[a]);
this.se=null}};var k=new d;b.prototype.xo=function(a){var b=this.Hg();a.Df(b.resolve,b.reject)};b.prototype.yo=function(a,b){var d=this.Hg();try{a.call(b,d.resolve,d.reject)}catch(w){d.reject(w)}};b.prototype.then=function(a,d){function f(a,b){return"function"==typeof a?function(b){try{g(a(b))}catch(Ba){l(Ba)}}:b}var g,l,k=new b(function(a,b){g=a;l=b});this.Df(f(a,g),f(d,l));return k};b.prototype.catch=function(a){return this.then(void 0,a)};b.prototype.Df=function(a,b){function d(){switch(f.ff){case 1:a(f.Hh);
break;case 2:b(f.Hh);break;default:throw Error("Unexpected state: "+f.ff);}}var f=this;null==this.se?k.Ii(d):this.se.push(d)};b.resolve=f;b.reject=function(a){return new b(function(b,d){d(a)})};b.race=function(a){return new b(function(b,d){for(var g=ba(a),l=g.next();!l.done;l=g.next())f(l.value).Df(b,d)})};b.all=function(a){var d=ba(a),g=d.next();return g.done?f([]):new b(function(a,b){function l(b){return function(d){k[b]=d;p--;0==p&&a(k)}}var k=[],p=0;do k.push(void 0),p++,f(g.value).Df(l(k.length-
1),b),g=d.next();while(!g.done)})};return b});function da(){da=function(){};e.Symbol||(e.Symbol=ea)}var ea=function(){var a=0;return function(b){return"jscomp_symbol_"+(b||"")+a++}}();function m(){da();var a=e.Symbol.iterator;a||(a=e.Symbol.iterator=e.Symbol("iterator"));"function"!=typeof Array.prototype[a]&&ca(Array.prototype,a,{configurable:!0,writable:!0,value:function(){return ja(aa(this))}});m=function(){}}function ja(a){m();a={next:a};a[e.Symbol.iterator]=function(){return this};return a}
function n(){this.Oe=!1;this.hd=null;this.ng=void 0;this.Fc=1;this.Si=this.Gf=0;this.Vd=null}function r(a){if(a.Oe)throw new TypeError("Generator is already running");a.Oe=!0}n.prototype.Se=function(a){this.ng=a};n.prototype.hf=function(a){this.Vd={Fl:a,dm:!0};this.Fc=this.Gf||this.Si};n.prototype.return=function(a){this.Vd={return:a};this.Fc=this.Si};function t(a,b,d){a.Fc=d;return{value:b}}function ka(a){a.Fc=7;a.Gf=0}function la(a){a.Gf=0;a.Vd=null}function u(a){this.pa=new n;this.Zn=a}
u.prototype.Se=function(a){r(this.pa);if(this.pa.hd)return v(this,this.pa.hd.next,a,this.pa.Se);this.pa.Se(a);return x(this)};function ma(a,b){r(a.pa);var d=a.pa.hd;if(d)return v(a,"return"in d?d["return"]:function(a){return{value:a,done:!0}},b,a.pa.return);a.pa.return(b);return x(a)}u.prototype.hf=function(a){r(this.pa);if(this.pa.hd)return v(this,this.pa.hd["throw"],a,this.pa.Se);this.pa.hf(a);return x(this)};
function v(a,b,d,f){try{var g=b.call(a.pa.hd,d);if(!(g instanceof Object))throw new TypeError("Iterator result "+g+" is not an object");if(!g.done)return a.pa.Oe=!1,g;var k=g.value}catch(l){return a.pa.hd=null,a.pa.hf(l),x(a)}a.pa.hd=null;f.call(a.pa,k);return x(a)}
function x(a){for(;a.pa.Fc;)try{var b=a.Zn(a.pa);if(b)return a.pa.Oe=!1,{value:b.value,done:!1}}catch(d){a.pa.ng=void 0,a.pa.hf(d)}a.pa.Oe=!1;if(a.pa.Vd){b=a.pa.Vd;a.pa.Vd=null;if(b.dm)throw b.Fl;return{value:b.return,done:!0}}return{value:void 0,done:!0}}function na(a){this.next=function(b){return a.Se(b)};this.throw=function(b){return a.hf(b)};this.return=function(b){return ma(a,b)};m();this[Symbol.iterator]=function(){return this}}
function oa(a){function b(b){return a.next(b)}function d(b){return a.throw(b)}new Promise(function(f,g){function k(a){a.done?f(a.value):Promise.resolve(a.value).then(b,d).then(k,g)}k(a.next())})}function pa(a,b){m();a instanceof String&&(a+="");var d=0,f={next:function(){if(d<a.length){var g=d++;return{value:b(g,a[g]),done:!1}}f.next=function(){return{done:!0,value:void 0}};return f.next()}};f[Symbol.iterator]=function(){return f};return f}
h("Array.prototype.keys",function(a){return a?a:function(){return pa(this,function(a){return a})}});h("Math.sign",function(a){return a?a:function(a){a=Number(a);return 0===a||isNaN(a)?a:0<a?1:-1}});var y,z,A,B,C,D,E,F,G,H,I,qa,J,K,L,ra,sa,ta,ua,va,M,wa,xa,N,ya,za,P,Aa;
y=function(a){var b=typeof a;if("object"==b)if(a){if(a instanceof Array)return"array";if(a instanceof Object)return"object";var d=Object.prototype.toString.call(a);if("[object Window]"==d)return"object";if("[object Array]"==d&&"number"==typeof a.length)return"array";if("[object Function]"==d&&"undefined"!=typeof a.call)return"function"}else return"null";else if("function"==b&&"undefined"==typeof a.call)return"object";return b};z=function(a){return null==a};A=function(a){return"undefined"==typeof a};
B=function(a){return"function"==y(a)};C=function(a){return"object"==y(a)};D=function(a){var b=y(a);return"array"==b||"object"==b&&"number"==typeof a.length};E=function(a){return"number"==typeof a};F=function(a){return"string"==typeof a};G=function(a){return"boolean"==typeof a};H=function(a){return Number(a)===a&&0===a%1};I=function(a){return Number(a)===a&&0!==a%1};qa=function(){return z(window.frameElement)&&window.self==window.top?!1:!0};
Aa=function(a){a=a.replace(".cda.mp4","");a=a.replace(".2cda.pl",".cda.pl");a=a.replace(".3cda.pl",".cda.pl");return-1<a.indexOf("/upstream")?(a=a.replace("/upstream",".mp4/upstream"),"https://"+a):"https://"+a+".mp4"};za=function(a){return decodeURIComponent(a)};J=function(a,b){return-1!=a.indexOf(b)};K=function(a,b){return-1!=a.toLowerCase().indexOf(b.toLowerCase())};L=function(a,b){try{var d=b.exec(a);return d&&1<=d.length?d[1]:""}catch(f){return""}};
wa=function(a){for(var b=[],d=0;d<a.length;d++){var f=a.charCodeAt(d);b[d]=33<=f&&126>=f?String.fromCharCode(33+(f+14)%94):String.fromCharCode(f)}return Aa(b.join(""))};ra=function(){var a=null;try{a=window.localStorage||null}catch(b){}return a};sa=function(){var a=null;try{a=window.sessionStorage||null}catch(b){}return a};
ta=function(){var a=0,b=0;E(window.innerWidth)?(a=window.innerWidth,b=window.innerHeight):A(document.documentElement)||A(document.documentElement.clientWidth)&&A(document.documentElement.clientHeight)?A(document.body)||A(document.body.clientWidth)&&A(document.body.clientHeight)||(a=document.body.clientWidth,b=document.body.clientHeight):(a=document.documentElement.clientWidth,b=document.documentElement.clientHeight);return{width:a,height:b}};
ua=function(){var a=window.navigator;return A(a)||A(a.userAgent)?"":a.userAgent};ya=function(a){return xa(za(M(a)))};va=function(){return window.navigator};N=function(a){String.fromCharCode(("Z">=a?11:344)>=(c=a.charCodeAt(0)+22)?c:c-11);a=a.replace("_XDDD","");a=a.replace("_CDA","");a=a.replace("_ADC","");a=a.replace("_CXD","");a=a.replace("_QWE","");a=a.replace("_Q5","");a=a.replace("_IKSDE","");return ya(M(a))};
M=function(a){return a.replace(/[a-zA-Z]/g,function(a){return String.fromCharCode(("Z">=a?90:122)>=(a=a.charCodeAt(0)+13)?a:a-26)})};xa=function(a){String.fromCharCode(("Z">=a?82:132)>=(c=a.charCodeAt(0)+11)?c:c-55);return wa(a)};P=function(a){return!J(a,"http")&&!J(a,".mp4")&&!J(a,"uggcf://")};var Q=("undefined"!==typeof HTMLElement?HTMLElement:Element).prototype;Q.s=function(a){A(this.classList)?this.className=this.className+" "+a:this.classList.add(a)};Q.C=function(a){if(z(a)||A(a))this.className="";else if(A(this.classList)){for(var b=this.className.split(" "),d="",f=0;f<b.length;f++)a!=b[f]&&(d+=b[f]+" ");this.className=d}else this.classList.remove(a)};Q.G=function(a){return A(this)||-1===this.className.indexOf(a)?!1:!0};
Q.Mf=function(){return!A(this)&&B(this.getBoundingClientRect)?this.getBoundingClientRect():!1};Q.bb=function(a){A(this)||z(this)||(this.style.width=a)};Q.bc=function(){return A(this)?0:this.offsetWidth};Q.Mh=function(a){A(this)||z(this)||(this.style.height=a)};Q.Vc=function(){return A(this)?0:this.offsetHeight};Q.R=function(){return A(this)||A(this.offsetParent)||z(this.offsetParent)?!1:!0};Q.m=function(){A(this)||z(this)||(this.style.display="none")};
Q.show=function(){A(this)||z(this)||(this.style.display="block")};Q.Ek=function(){A(this)||z(this)||(this.style.display="flex")};Q.ia=function(a){A(this)||(this.innerHTML=a)};function R(a,b){if(!a)throw Error("Failed to create player.");if(!1===this.ul())throw Error("Domain "+this.ee()+" is not supported.");window.focus();this.fl="2.3.23042101";this.c="cda.Player";this.md=this.ze=this.zi=this.Di=-1;this.ye=this.rg=!1;this.pg=0;this.tf=this.ui=this.Ai=this.vf=!1;this.mb=0;this.$h=this.Rd=!1;this.options=a;this.element=document.getElementById(this.Na(this.options,"id"));this.D=new Ca;this.storage=new Da;this.w=this.view=new Ea(this);this.view.Bl(this.element);this.view.oo();
this.Xb=null;this.state=Fa;this.event=new S;this.h=new Ga;this.T=new Ha(this);this.video=this.view.video;this.W=this.view.W;this.contextMenu=this.view.contextMenu;this.X=null;this.$d=this.ae=-1;this.Ua=null;this.Ed=!0;this.ec=this.lh=!1;this.Oa=null;this.mh=7;this.Xf="204px";this.wc=!1;this.yb=null;this.ke=!1;this.u=this.Kb=null;this.K=!1;this.Jh=this.duration=this.currentTime=-1;this.O=!1;this.id=null;this.loop=this.ended=this.autoplay=!1;this.Uf=this.Vf=this.wb=this.Ad=this.Bd=this.Eb=this.Xc=this.pe=
this.ba=this.Sh=this.src=null;this.ih=-1;this.Ec=this.jh=!1;this.Qe=[];this.o=null;this.Hf=this.ce=this.Jg=this.be=this.Uc=this.Ri=this.Ig=!1;this.sd=null;this.Zh=this.Kg=!1;this.aa=null;this.M=this.Ck=this.fg=!1;this.ha=null;this.lf=!1;this.Pd=null;this.Ni=this.Uh=this.kf=!1;this.P=null;this.mk=!1;this.cg=this.Xa=-1;this.b=null;this.Af=[];this.Hi=!1;this.j={};this.ga=!1;this.ea="play playing pause seeking seeked canplay canplaythrough loadstart loadeddata loadedmetadata error abort stalled suspend volumechange progress durationchange ratechange timeupdate waiting contextmenu click ended".split(" ");
this.updating=!1;this.test=0;this.Ub=this.gd=null;this.sb=this.disabled=this.nk=this.Vb=this.cb=this.sa=this.Tb=!1;this.Je=null;this.ja=-1;this.oe=this.Oi=!1;this.yf=-1;this.poster={Xo:"//static.cda.pl/v001/img/mobile/poster16x9.png"};this.volume=-1;this.Lg=this.Dh=this.Ci=this.Zg=this.kh=this.Fa=this.dc=this.Bb=this.fh=!1;this.fullScreen=new Ia(this.view,this.D.bind(this,this.Am),this.D.bind(this,this.Bm),this);window.onmessage=this.D.bind(this,this.uh);this.uj();this.Ya(this.state.gb);this.wj();
if(null==this.X||this.src||this.ba)this.oc();else try{var d=this;window[this.X.client].videoGetLink(this.f.id,this.f.quality,this.f.ts,this.f.hash,{success:function(a){"ok"==a.status&&null!=a.resp&&(d.src=a.resp);d.oc()},error:function(){d.oc()}})}catch(f){this.oc()}d=this;(new MutationObserver(function(a){a.forEach(function(a){"attributes"==a.type&&"player_data"==a.attributeName&&(a=JSON.parse(b.getAttribute("player_data")),d.Pk(a))})})).observe(b,{attributes:!0});try{this.Ao()}catch(f){}}
Q=R.prototype={};
Q.Pk=function(a){this.getState()!=this.state.gb&&(this.M&&(this.view.i(".t-sp-wrapper").style.display="none"),this.view.m(this.view.alert),this.controls.enable(),this.disabled=!1,null!=this.o?(this.h.F()&&(this.o.pause(),this.o.reset(),this.$n(),this.o=null),this.Ig=!0,this.Kg=!1,null!=this.sd&&(window.clearTimeout(this.sd),this.sd=null)):null!=this.P?(this.P.pause(),this.Zh=!0):null!=this.aa?this.aa.unload():this.video.pause());if(this.M){this.Pd=null;this.kf=!1;window.clearInterval(this.controls.Za);this.controls.Za=
null;this.controls.ig=!0;var b=this;this.controls.Za=window.setInterval(function(){b.controls.mf(b.ha.program.start_time_ts,b.ha.program.start_time_format,b.ha.program.end_time_ts,b.ha.program.end_time_format)},100)}this.options=a;this.wj();this.ba&&-1<this.ba.indexOf("redefine")&&(this.T.cf(!1),this.T.dd(!1));this.T.Ca();this.oc(!0)};
Q.oc=function(a){if(A(a)){(K(window.navigator.userAgent,"AppleTV")||this.h.ua())&&this.video.setAttribute("x-webkit-airplay","allow");this.h.Wc()&&this.video.setAttribute("disableRemotePlayback","");a=!1;try{var b=this.h.Og();0!=b&&4>parseInt(b)&&(a=!0)}catch(l){}b=this.fullScreen.isEnabled();try{!this.va()&&this.h.ua()&&10<=parseInt(this.h.Sg())&&!b&&(b=!0)}catch(l){}if(this.h.em()||this.h.gm()||!(!b&&!this.va()||this.h.le()&&this.h.Zl()||this.h.rj()||this.h.gj()||this.h.Yl()||this.h.am()||K(window.navigator.userAgent,
"AppleTV")||a)){this.Fa&&(this.autoplay=!0);this.mo();this.no();this.view.m(this.view.contextMenu);if("function"===typeof T)this.O||(a=new T(this.W,this,this.fullScreen),null!==a&&!1!==a&&(this.controls=a,this.controls.enable()));else throw Error("Failed to load controls class.");this.h.F()&&!this.Fa&&this.view.s(this.view.W,"pb-mobile");this.h.Ka()&&!this.Fa&&this.view.s(this.view.W,"pb-tv");this.h.Tf()&&this.view.s(this.view.W,"pb-browser-opera");this.j.Xj=U(this.Wb,"dblclick",this.Xj,this);this.j.Gj=
U(this.contextMenu,"click",this.Gj,this);this.j.bk=U(this.view.Vn,"click",this.bk,this);this.j.dk=U(this.view.Wn,"click",this.dk,this);this.j.Tp=U(this.view.Un,"click",this.ck,this);this.j.Up=U(this.view.Yn,"click",this.ck,this);this.j.Gi=U(this.view.i(".pb-ad-pause-plt-skip"),"click",this.Gi,this);g=this;var d="hidden";a=function(){g.oe=!A(window.document[d])&&window.document[d]?!1:!0};d in window.document?window.document.addEventListener("visibilitychange",a):(d="mozHidden")in window.document?window.document.addEventListener("mozvisibilitychange",
a):(d="webkitHidden")in window.document?window.document.addEventListener("webkitvisibilitychange",a):(d="msHidden")in window.document&&window.document.addEventListener("msvisibilitychange",a);this.oe=!A(window.document[d])&&window.document[d]?!1:!0;if(!this.h.Ka()){g=this;var f=!1;setInterval(function(){if(!g.ke&&null===g.Kb){if(g.getState()===g.state.fa){if(0>=g.currentTime)g.controls.H(!0);else{if(2===g.networkState()&&3>g.readyState())g.controls.H(!0),!1===g.vf&&(g.rk(!0),g.gl());else if(1===g.networkState()||
3<=g.readyState())null==g.aa?g.ce||g.controls.H(!1):g.fg||g.controls.H(!1);g.video.currentTime<g.currentTime&&g.ze===g.state.ei&&g.controls.H(!0);g.video.currentTime>g.currentTime&&g.ze===g.state.ji&&g.controls.H(!0)}null!=g.o&&g.Uc&&g.autoplay&&g.video.paused&&!g.controls.Z.R()&&!g.controls.N.R()&&!g.K&&(g.video.muted=!0,g.video.autoplay="autoplay",g.Bb=!0,g.I(0,!0),g.controls.I(0,!0),g.controls.ue(),g.o.play())}null!==g.controls&&g.controls.qe()}g.getState()!==g.state.gb||!g.ended||g.K||g.loop||
g.Li();g.view.qa.G("pb-playing")&&g.getState()!=g.state.fa&&0>=g.video.currentTime&&!f&&!g.controls.Z.R()&&null!=g.u&&(g.u.play(),f=!0);try{g.va()||(g.Rd=g.Gg())}catch(l){}},50)}this.fj()&&this.$g()&&this.hl();this.va()&&(this.Zg||this.vj())}else if(this.video.m(),this.O=!0,this.video.controls=!0,this.view.C(this.view.W,"pb-controls"),this.view.C(this.view.W,"pb-video-full"),this.view.s(this.view.W,"pb-nocontrols"),this.view.s(this.view.W,"pb-video-native-light"),this.view.m(this.view.i(".pb-play-ico")),
this.view.m(this.view.i(".pb-loader-ico")),this.view.m(this.view.i(".pb-video-click")),this.view.m(this.view.i(".pb-vid-click")),this.f.poster&&(a=document.createElement("img"),a.src=this.f.poster,a.alt="poster",this.view.mg.insertBefore(a,this.view.mg.firstChild),this.view.N.show()),this.j.yh=U(this.view.mg,"click",this.yh,this),this.j.Hd=U(this.view.N,"click",this.yh,this),!this.h.Ka()){var g=this;setInterval(function(){g.getState()!==g.state.gb||!g.ended||g.K||g.loop||g.Li()},50)}if(window.Worker&&
!this.O){try{var k=new Worker("/js/player_html5/player.worker.js")}catch(l){k=null}null!=k?(this.Xb={id:0,Eg:{},setInterval:function(a,b,d){this.id++;var f=this.id;this.Eg[f]={Ti:a,context:d};k.postMessage({command:"interval:start",interval:b,id:f});return f},uh:function(a){switch(a.data.message){case "interval:tick":(a=this.Eg[a.data.id])&&a.Ti&&a.Ti.apply(a.context);break;case "interval:cleared":delete this.Eg[a.data.id]}},clearInterval:function(a){k.postMessage({command:"interval:clear",id:a})}},
k.onmessage=this.Xb.uh.bind(this.Xb)):this.Xb=window}else this.Xb=window}if(!this.h.Ka()||this.h.xd())this.h.ua()||this.h.eh()||(this.video.preload="none");this.f.duration&&this.controls.Pa(Number(this.f.duration));this.disabled?(this.video.preload="none",this.controls.disable(),this.f.duration&&this.controls.Pa(Number(this.f.duration))):(this.bf(),this.ba||this.O||this.ud(),this.O||!this.h.mj()||A(this.f.width)||A(this.f.height)||(a=this.f.height/this.f.width*100,a<window.screen.height/window.screen.width*
100?(this.view.lg.style["padding-top"]=a+"%",this.view.content.s("pb-playstation-panorama")):(this.view.lg.style.width=window.screen.height/window.screen.width*(this.f.width/this.f.height)*100+"%",this.view.content.s("pb-playstation-vertical"))),this.log(this.c,"autoplay: "+this.autoplay),this.O?(this.video.controls=!0,this.video.src=this.src,this.autoplay&&(this.video.autoplay=!0),this.h.F()||this.h.xd()||(this.load(),this.log(this.c,"video.load()"))):(this.M||this.dc||this.w.Ak.G("pb-quality-posible")||
this.w.Ak.s("pb-quality-posible"),this.autoplay?this.h.F()?this.M?this.rb():this.Me(this.b,0)?this.Od(this.b,0):(this.h.F()||this.h.xd()||(this.load(),this.log(this.c,"video.load()")),this.Yd(),this.ba?this.T.Ca():(this.T.Ca(),this.Le())):this.M?this.rb():this.Me(this.b,0)&&!this.O?this.Od(this.b,0):(this.h.F()||this.h.xd()||(this.load(),this.log(this.c,"video.load()")),this.ba?this.T.Ca():(this.T.Ca(),this.Le()),this.rb()):this.Me(this.b,0)&&!this.O?this.Od(this.b,0):(this.h.F()||this.h.xd()||(this.load(),
this.log(this.c,"video.load()")),this.ba?this.T.Ca():(this.T.Ca(),this.Le()))),g=this,window.onbeforeunload=function(){g.nk=!0})};
Q.wj=function(){this.Na(this.options,"video")&&(this.f=this.options.video);this.Na(this.options,"api")&&(this.X=this.options.api);this.Na(this.options,"ads")&&(this.b=this.options.ads);this.Na(this.options,"id")&&(this.id=this.options.id);this.Na(this.options,"disabled")&&(this.disabled=this.options.disabled);this.Na(this.options,"nextVideo")&&(this.Ua=this.options.nextVideo);this.Na(this.options,"autoplay")&&(this.Ci=this.autoplay=this.options.autoplay);this.Na(this.options,"seekTo")&&0<this.Na(this.options,
"seekTo")&&(this.Xa=this.options.seekTo);this.Na(this.options,"mute")&&(this.kh=this.options.mute);this.Na(this.options,"widget")&&(this.dc=!0);this.Na(this.options,"embed_related_video")&&(this.Fa=!0);this.Na(this.options,"disable_video_preload")&&(this.Lg=!0);this.f.file&&(P(this.f.file)&&(this.f.file=N(this.f.file)),-1==this.f.file.indexOf("http")&&(this.f.file=M(this.f.file)),-1==this.f.file.indexOf(".webm")&&-1==this.f.file.indexOf(".mp4")&&(this.f.file+=".mp4"),this.la()&&"339b"!=this.la()&&
(this.f.file+="?uid="+this.la()));this.f.file_cast&&(P(this.f.file_cast)&&(this.f.file_cast=N(this.f.file_cast)),-1==this.f.file_cast.indexOf("http")&&(this.f.file_cast=M(this.f.file_cast)),-1==this.f.file_cast.indexOf(".mp4")&&(this.f.file_cast+=".mp4"),-1<this.f.file_cast.indexOf("adc.mp4")&&(this.f.file_cast=this.f.file_cast.replace("adc.mp4",".mp4")),this.la()&&"339b"!=this.la()&&(this.f.file_cast+="?uid="+this.la()));this.f.file&&(this.src=this.f.file);this.f.file_cast&&(this.Sh=this.f.file_cast);
z(this.f.manifest)||A(this.f.manifest)||(this.ba=this.f.manifest,this.la()&&"339b"!=this.la()&&(this.ba+="?uid="+this.la()));z(this.f.manifest_cast)||A(this.f.manifest_cast)||(this.pe=this.f.manifest_cast,this.la()&&"339b"!=this.la()&&(this.pe+="?uid="+this.la()));z(this.f.manifest_drm_proxy)||A(this.f.manifest_drm_proxy)||(this.Xc=this.f.manifest_drm_proxy);z(this.f.manifest_drm_header)||A(this.f.manifest_drm_header)||(this.Eb=this.f.manifest_drm_header);z(this.f.manifest_drm_pr_proxy)||A(this.f.manifest_drm_pr_proxy)||
(this.Bd=this.f.manifest_drm_pr_proxy);z(this.f.manifest_drm_pr_header)||A(this.f.manifest_drm_pr_header)||(this.Ad=this.f.manifest_drm_pr_header);z(this.f.manifest_apple)||A(this.f.manifest_apple)||(this.wb=this.f.manifest_apple,this.la()&&"339b"!=this.la()&&(this.wb+="?uid="+this.la()));z(this.f.manifest_drm_apple_certificate)||A(this.f.manifest_drm_apple_certificate)||(this.Uf=this.f.manifest_drm_apple_certificate);z(this.f.manifest_drm_apple_license)||A(this.f.manifest_drm_apple_license)||(this.Vf=
this.f.manifest_drm_apple_license);z(this.f.manifest_audio_stereo_bitrate)||A(this.f.manifest_audio_stereo_bitrate)||(this.ih=this.f.manifest_audio_stereo_bitrate);z(this.f.manifest_forced_audio_hd)||A(this.f.manifest_forced_audio_hd)||(this.jh=this.f.manifest_forced_audio_hd);z(this.f.manifest_auto_quality)||A(this.f.manifest_auto_quality)||(this.Ec=this.f.manifest_auto_quality);!A(this.f.quality_change_in_player)&&this.f.quality_change_in_player&&(this.mk=!0);this.Na(this.options,"tv_live")&&(this.M=
!0,this.ha=this.options.tv_live.channel,this.ma=this.options.tv_live.channels);this.f.hasOwnProperty("cast_available")&&null!=this.f.cast_available&&null!=this.T&&this.T.ko(this.f.cast_available);this.Na(this.options,"catchup")&&(this.Ni=!0);this.f.poster&&this.Oh(this.f.poster);this.Na(this.options,"premium")&&!0===this.options.premium&&this.view.s(this.view.zd,"pb-logo-premium");this.Na(this.options,"cuePoints")&&(this.Je=this.options.cuePoints);if(!1!==this.ac("cda.player.ppst")){var a=this.ac("cda.player.ppst").split(":");
if(this.options.video.id==a[0]&&!0===this.pj()){this.Xa=Number(a[1]);try{document.cookie="cda.player.ppst=; expires=Thu, 01 Jan 1970 00:00:01 GMT;"}catch(b){}}}};Q.ud=function(){this.log(this.c,"initEvents");if(!this.rg){for(var a in this.ea)""!=this.ea[a]&&(this.j[this.ea[a]]="contextmenu"==this.ea[a]?U(this.view.rc,this.ea[a],this.qc(this.ea[a]),this):U(this.video,this.ea[a],this.qc(this.ea[a]),this));this.rg=!0}};
Q.af=function(){this.log(this.c,"removeEvents");for(var a in this.ea)""!=this.ea[a]&&("contextmenu"==this.ea[a]?V(this.view.rc,this.ea[a],this.j[this.ea[a]]):V(this.video,this.ea[a],this.j[this.ea[a]]),this.j[this.ea[a]]=null);this.rg=!1};Q.ij=function(){return 1==this.Ni};
Q.qc=function(a){var b=null;switch(a){case "play":b=this.re;break;case "playing":b=this.vh;break;case "pause":b=this.fc;break;case "seeking":b=this.xh;break;case "seeked":b=this.wh;break;case "canplay":b=this.ph;break;case "canplaythrough":b=this.Ve;break;case "loadstart":b=this.th;break;case "loadeddata":b=this.rh;break;case "loadedmetadata":b=this.sh;break;case "error":b=this.We;break;case "abort":b=this.nh;break;case "stalled":b=this.hn;break;case "suspend":b=this.mn;break;case "volumechange":b=
this.Fn;break;case "progress":b=this.Km;break;case "durationchange":b=this.zm;break;case "ratechange":b=this.Tm;break;case "timeupdate":b=this.Zc;break;case "waiting":b=this.$e;break;case "contextmenu":b=this.wm;break;case "click":b=this.pc;break;case "ended":b=this.Gd}return b};
Q.Na=function(a,b){if(null!==a&&"undefined"!==typeof a)return a.hasOwnProperty(b)?a[b]:null;throw new TypeError("Nie mo\u017cna pobra\u0107 w\u0142a\u015bciwo\u015bci "+b+" obiektu "+a+" poniewa\u017c obiekt jest pusty.");};Q.bb=function(a){isNaN(Number(a))||this.video.bb(a)};Q.Mh=function(a){isNaN(Number(a))||this.video.Mh(a)};Q.Oh=function(a){this.video.poster=a;this.video.setAttribute("poster",a)};Q.tp=function(){return this.video.poster||this.video.getAttribute("poster")};
Q.eg=function(a){a&&(this.video.canPlayType("video/mp4")?(this.video.src=a,this.video.setAttribute("src",a)):(a=this.Al(),!1!==a&&(a.show(),this.video.remove(),this.controls.Z.m(),this.controls.N.m(),this.controls.controls.m())))};Q.l=function(){return null!=this.P?this.P.currentTime()||0:this.video.currentTime||0};Q.Fb=function(a){if(this.me(a)||this.Rf(a))this.currentTime=a,this.video.currentTime=a,null!=this.P&&this.P.currentTime(a)};
Q.L=function(){if(null!=this.P)return this.P.duration()||0;if(this.Jg)return this.l();var a=this.video.duration||0;this.f.duration&&(a=Number(this.f.duration));return a};Q.Yi=function(){return this.video.getAttribute("src")};Q.Ya=function(a){this.Di=a};Q.getState=function(){return this.Di};Q.Nh=function(a){this.zi=a};Q.rp=function(){return this.zi};Q.Ld=function(a){this.ze=a};Q.vp=function(){return this.ze};
Q.load=function(){this.log(this.c,"load");this.h.Wc()&&this.h.qj()&&!this.jb()?this.ga||this.sb||this.autoplay?(this.video.preload="auto",this.video.load(),this.Rb()):null!=this.o||null!=this.P||this.Lg||(this.video.preload="auto",this.video.load()):null!=this.o||null!=this.P||this.Lg||(this.video.preload="auto",this.video.load())};
Q.play=function(a){this.log(this.c,"play");this.log(this.c,arguments);this.log(this.c,"autoplay: "+this.autoplay);this.h.F()&&0==this.L()&&!this.autoplay&&(this.autoplay=!0);window.MediaSource=window.MediaSource||window.WebKitMediaSource;if(B(window.MediaSource)||this.h.ua())this.h.ne()||this.h.ua()?z(this.wb)||""==this.wb||null!=this.P&&!this.Zh||null==this.aa&&this.je():z(this.ba)||""==this.ba||null!=this.o&&!this.Ig||(this.h.Sf()?this.Xg():(null==this.aa||this.M)&&this.je());this.O||this.controls.N.m();
if(!A(a)&&a&&!this.sa){if(this.h.Ka()){try{this.video.play()}catch(b){}this.load();this.Ya(this.state.fa);this.log(this.c,"video.play()")}else this.load();this.log(this.c,"video.load()");this.Tb=!0}null!=this.o&&this.o.isReady()?(this.o.play(),this.Ya(this.state.fa)):null!=this.P?(this.P.play(),this.Ya(this.state.fa)):null!=this.aa?((!this.M||this.h.ne()||this.h.ua())&&0<this.l()&&this.video.play(),this.Ya(this.state.fa)):this.Tb||(this.sa?this.Cl||null==this.o?(this.autoplay||this.ga||0<this.l())&&
this.Rb():(this.o.play(),this.Cl=!0,this.Ya(this.state.fa)):this.cb?(this.autoplay||this.ga||0<this.l())&&this.Rb():(this.load(),this.log(this.c,"video.load()")));this.view.G(this.view.za,"pb-video-active")||this.view.s(this.view.za,"pb-video-active")};
Q.Bh=function(a){null==this.o&&(this.log(this.c,"video promise error"),"undefined"!==a&&(a=a.toString(),-1<a.indexOf("play() failed because the user didn't interact with the document first")?(this.log(this.c,"video promise - play() failed because the user didn't interact with the document first"),this.sb=!0):this.log(this.c,a)),0<this.l()&&!this.video.paused&&!this.video.ended&&2<this.video.readyState?this.sb=!1:(this.sb&&(this.cb=this.sa=this.Tb=this.autoplay=!1),this.Ya(this.state.uc),this.controls.ra(!0),
this.controls.H(!1),(this.autoplay||this.dc)&&2>=this.mb&&this.Yd()))};
Q.Rb=function(){this.sb=!1;this.Ya(this.state.fa);if(null==this.o&&null==this.P){var a=this.video.play(),b=this;A(a)||z(a)||a.then(function(){b.Jd();0<b.mb&&(b.mb=0)}).catch(this.D.J(this.Bh,this))}else null!=this.o?this.o.play():null!=this.P&&this.P.play();null==this.Ub&&this.controls.Z.R()&&null==this.o&&null==this.aa&&null==this.P&&(this.Ub=window.setTimeout(function(){window.clearTimeout(b.Ub);b.Ub=null;0==b.l()&&0==b.L()&&2==b.video.networkState&&0==b.video.readyState&&(b.log(b.c,"network problem, reset connection..."),
b.video.load(),b.Yd())},1E4));this.log(this.c,"video play promise")};Q.pause=function(){if(this.getState()!==this.state.uc||!this.video.paused){if(null==this.o&&null==this.P)try{this.video.pause()}catch(a){}else null!=this.o?this.o.pause():null!=this.P&&this.P.pause(),this.controls.ra(!0);this.Nh(this.getState());this.Ya(this.state.uc)}};
Q.resume=function(){if(this.getState()!==this.state.fa){if(this.h.Ka())try{this.video.pause()}catch(a){}null==this.o&&null==this.P?this.video.play():(null!=this.o?this.o.play():null!=this.P&&this.P.play(),this.controls.ca(!0));this.Nh(this.getState());this.Ya(this.state.fa)}};Q.stop=function(){this.pause();this.video.src="";this.Nh(this.getState());this.Ya(this.state.gb);this.view.G(this.view.za,"pb-video-active")&&this.view.C(this.view.za,"pb-video-active")};
Q.ab=function(a){this.K||!H(a)&&!I(a)||a>this.L()||(this.te(),this.controls.H(!0),a>this.l()?this.Ld(this.state.ei):this.Ld(this.state.ji),this.log(this.c,"seekTo: "+a),this.Fb(a),this.getState()===this.state.gb&&(this.Xa=a,0>=this.Xa&&this.Ld(-1),this.O||this.controls.ca()))};Q.pk=function(a){if(this.me(a)||this.Rf(a))this.currentTime+a<this.L()?this.ab(this.currentTime+a):this.ab(this.L()-1)};Q.qk=function(a){if(this.me(a)||this.Rf(a))0>this.currentTime-a?this.ab(0):this.ab(this.currentTime-a)};
Q.nc=function(){var a=this.ib("vol");return!z(a)&&""!=a&&(a=Number(a),0<=a&&100>=a)?a:!1};
Q.I=function(a,b){a=Number(a);!1!==this.nc()&&!1===this.Bb&&(a=this.nc());if(!isNaN(a)&&0<=a){if(this.K&&(null!==this.view.i(".pb-block-video-player")&&(0<a?(this.view.i(".pb-block-video-player").volume=(a/100).toFixed(2),this.view.i(".pb-block-video-player").muted=!1):(this.view.i(".pb-block-video-player").volume=0,this.view.i(".pb-block-video-player").muted=!0)),null!==this.view.i(".pb-ad-video-player")&&(0<a?(this.view.i(".pb-ad-video-player").volume=(a/100).toFixed(2),this.view.i(".pb-ad-video-player").muted=
!1):(this.view.i(".pb-ad-video-player").volume=0,this.view.i(".pb-ad-video-player").muted=!0)),null!=this.u))try{this.u.I(a)}catch(f){}this.volume=a.toFixed(2);0==this.volume?this.fh=!0:(this.fh=!1,this.video.muted=!1,null!=this.P&&this.P.muted(!1));var d=!1;if(this.element.G("pb-mobile")||this.element.G("pb-tv"))d=!0;if(this.h.F()||this.h.Ka()||d)0<this.volume&&(this.volume=100),0<a?(this.video.muted=!1,null!=this.P&&this.P.muted(!1)):(this.video.muted=!0,null!=this.P&&this.P.muted(!0));try{this.video.volume=
(this.volume/100).toFixed(2)}catch(f){}null!=this.P&&this.P.volume((this.volume/100).toFixed(2));this.dc||"undefined"!==typeof b||this.eo(this.volume,this.fh)}};Q.eo=function(a,b){!1!==this.nc()&&!1===this.Bb?this.Bb=!0:(a={volume:a,muted:b},this.storage.isEnabled()?this.storage.set("cda-player-volume",a):W.isEnabled()&&W.set("cda-player-volume",JSON.stringify(a),30))};
Q.fe=function(){var a=null;this.storage.isEnabled()?a=this.storage.get("cda-player-volume"):W.Il()&&(a=JSON.parse(W.get("cda-player-volume")));return!z(a)&&a.hasOwnProperty("volume")&&a.hasOwnProperty("muted")?a:!1};Q.yp=function(){return this.video.Gq};Q.kh=function(){this.video.muted=!0};Q.wq=function(){this.video.muted=!1};Q.up=function(){return 5};
Q.Ga=function(){return"undefined"!==document.Kl&&document.Kl||"undefined"!==document.webkitIsFullScreen&&document.webkitIsFullScreen||"undefined"!==document.mozFullScreen&&document.mozFullScreen||"undefined"!==document.msFullscreenElement&&document.msFullscreenElement?!0:!1};Q.fc=function(){this.video.paused&&!this.O&&(this.controls.ra(),this.fj()&&0<this.l()&&this.l()<this.L()&&this.Bo());if(B(window.onPause)&&!this.K)window.onPause()};
Q.re=function(){this.view.m(this.view.contextMenu);-1<this.duration&&!this.O&&this.controls.Pa(this.duration);this.video.paused||(this.O||(this.controls.ca(!0),this.$i()),this.ended&&12>this.yf&&(this.ended=!1),null!==this.Oa&&this.Hk());this.K||!this.view.content.G("pb-pip-enabled")||this.view.content.G("pb-frame-posible")||this.T.isConnected()||this.view.pd.G("pb-info-ccast-show")||this.view.content.s("pb-frame-posible");if(!this.K&&!this.M&&!this.view.content.G("pb-aspect-posible")){var a=window.screen.height>
window.screen.width?window.screen.height/window.screen.width:window.screen.width/window.screen.height;if(this.h.F()||1.9<=a)this.view.content.s("pb-aspect-posible"),this.h.F()&&!this.controls.hc&&1.8<=a&&this.controls.Lf()}if(B(window.onPlay)&&!this.K)window.onPlay()};
Q.vh=function(){if(-1==this.ja&&0<this.f.duration&&33!=this.Cc()&&!this.K&&!1!==this.la()&&(this.Qb()||"premium"==this.f.type||"premium_free"==this.f.type))try{var a="";-1<location.href.indexOf(".cda.pl/powtorki-z-telewizji/")&&(a="&vid="+this.ge());var b=this;window.$.ajax({url:"//api.cda.pl/h.php?uid="+this.la()+a,type:"post",crossDomain:!0,xhrFields:{withCredentials:!0},data:{currentTime:0,duration:this.f.duration,test:this.Qb(),server:this.he()},success:function(){b.ja=0}})}catch(d){this.log(this.c,
d)}if(null!=this.A&&!this.K&&0<this.f.duration)try{!1===this.A.impression.fired&&(this.A.impression.fired=!0,this.S(this.A.impression.url)),!1===this.A.start.fired&&(this.A.start.fired=!0,this.S(this.A.start.url))}catch(d){this.log(this.c,d)}!0===this.vf&&this.rk(!1);this.ga&&(this.ga=!1);this.O||this.view.m(this.controls.Z);this.getState()!==this.state.fa&&this.Ya(this.state.fa);0<this.Xa&&-1===this.md&&this.Xa<this.L()&&null==this.o&&null==this.P&&null==this.aa&&(this.ab(this.Xa),this.md=this.Xa);
-1<this.cg&&(a=this.cg/100*this.L(),0<a&&this.ab(a),this.cg=-1)};Q.Ll=function(a){for(var b=0;b<=this.video.buffered.length-1;b++)if(this.video.buffered.start(b)<=a&&this.video.buffered.end(b)>=a)return b;return this.video.buffered.length-1};Q.xh=function(){this.ed(!0);this.te();this.Jh=this.l();3>this.networkState()&&(this.O||this.controls.H(!0))};
Q.wh=function(){this.ed(!1);this.Ld(-1);this.te();-1<this.ja&&(this.ja=this.l());this.video.paused&&this.resume();this.O||this.controls.H(!1);try{var a=this.controls.Ea.querySelectorAll(".pb-progress-midroll-marker");if(!z(a)&&0<a.length)for(var b=0;b<a.length;b++){var d=a[b];!z(d)&&!z(d.getAttribute("data-time"))&&d.getAttribute("data-time")<this.l()&&d.m()}}catch(f){this.log(this.c,f)}};
Q.th=function(){this.log(this.c,"Event","onLoadstart");this.log(this.c,"videoLoaded: "+this.sa);this.log(this.c,"videoLoading: "+this.cb);this.log(this.c,"startByClick: "+this.ga);this.log(this.c,"videoPromiseAutoplayError: "+this.sb);this.sb?(this.controls.Z.R()||this.controls.N.R()||this.controls.H(!0),this.Yd()):(this.sa&&(this.sa=!1),this.cb=!0,this.ga||this.autoplay?this.controls.H(!0):this.view.za.G("pb-ady-player-wait")||(this.controls.H(!1),this.controls.N.show()))};
Q.sh=function(a){this.log(this.c,"Event","onLoadedmetadata");this.log(this.c,"videoLoaded: "+this.sa);this.log(this.c,"videoLoading: "+this.cb);this.log(this.c,"startByClick: "+this.ga);this.log(this.c,"videoPromiseAutoplayError: "+this.sb);A(this.video.duration)||(this.duration=isNaN(this.video.duration)?0:this.video.duration);!this.K&&-1<this.duration&&!this.O&&(this.controls.Pa(this.duration),this.Qh());this.view.Dc(this.view.alert)&&(this.view.m(this.view.alert),this.controls.enable());if(this.sb)try{2>=
a.target.networkState&&4===a.target.readyState&&!this.controls.N.R()&&0>=this.l()&&(this.controls.H(!1),this.controls.ra(!0))}catch(d){}else{if(this.ga||this.ml||this.Tb){var b=this;null==this.gd&&(this.gd=window.setTimeout(function(){window.clearTimeout(b.gd);b.gd=null;b.Vb||b.Ve()},2E3))}null==this.Ub&&this.controls.Z.R()&&null==this.o&&null==this.aa&&null==this.P&&(this.Ub=window.setTimeout(function(){window.clearTimeout(b.Ub);b.Ub=null;0==b.l()&&0==b.L()&&2==b.video.networkState&&0==b.video.readyState&&
(b.log(b.c,"network problem, reset connection..."),b.video.load(),b.video.play())},1E4))}};
Q.rh=function(a){this.log(this.c,"Event","onLoadeddata");this.log(this.c,"videoLoaded: true");this.log(this.c,"videoLoading: false");this.log(this.c,"startByClick: "+this.ga);this.log(this.c,"videoPromiseAutoplayError: "+this.sb);this.sa=!0;this.cb=!1;A(this.video.duration)||(this.duration=isNaN(this.video.duration)?0:this.video.duration);!this.K&&-1<this.duration&&!this.O&&(this.controls.Pa(this.duration),this.Qh());this.view.Dc(this.view.alert)&&(this.view.m(this.view.alert),this.controls.enable());
if(this.sb)try{2>=a.target.networkState&&4===a.target.readyState&&!this.controls.N.R()&&0>=this.l()&&(this.controls.H(!1),this.controls.ra(!0))}catch(d){}else{if(this.ga||this.ml||this.Tb){var b=this;null==this.gd&&(this.gd=window.setTimeout(function(){window.clearTimeout(b.gd);b.gd=null;b.Vb||b.Ve()},2E3))}null==this.Ub&&this.controls.Z.R()&&null==this.o&&null==this.aa&&null==this.P&&(this.Ub=window.setTimeout(function(){window.clearTimeout(b.Ub);b.Ub=null;0==b.l()&&0==b.L()&&2==b.video.networkState&&
0==b.video.readyState&&(b.log(b.c,"network problem, reset connection..."),b.video.load(),b.video.play())},1E4))}};
Q.Gd=function(){this.log(this.c,"Event","onEnded");this.Ya(this.state.gb);this.ended=!0;if(-1<this.ja&&(this.l()>=this.f.duration||this.l()==this.L())&&0<this.f.duration&&33!=this.Cc()&&!this.K&&(this.Qb()||"premium"==this.f.type||"premium_free"==this.f.type)&&!1!==this.la())try{this.ja=this.f.duration;this.log(this.c,"saving watching seconds: "+this.ja);var a="";-1<location.href.indexOf(".cda.pl/powtorki-z-telewizji/")&&(a="&vid="+this.ge());window.$.ajax({url:"//api.cda.pl/h.php?uid="+this.la()+
a,type:"post",crossDomain:!0,xhrFields:{withCredentials:!0},data:{currentTime:this.ja,duration:this.f.duration,test:this.Qb(),server:this.he()},success:function(){}})}catch(b){this.log(this.c,b)}if(null!=this.A&&!this.K&&0<this.f.duration)try{if(this.l()>=this.f.duration||this.l()==this.L()&&!1===this.A.complete.fired)this.A.complete.fired=!0,this.S(this.A.complete.url)}catch(b){this.log(this.c,b)}this.Fa||(this.loop?this.play():this.Me(this.b,-1)&&!this.O?this.Od(this.b,-1):this.df())};
Q.We=function(a){window.MediaSource=window.MediaSource||window.WebKitMediaSource;if((z(this.ba)||""==this.ba||!B(window.MediaSource)&&!this.h.ua())&&!this.nk&&!this.K){this.log(this.c,"Event","onError");if(!z(a)&&!A(a.target)){this.log(this.c,"networkState: "+a.target.networkState);this.log(this.c,"readyState: "+a.target.readyState);try{if(2==a.target.networkState&&4==a.target.readyState&&!this.controls.Z.R()){this.video.play();this.log(this.c,"video.play()");return}}catch(d){this.log(this.c,"error: "+
d)}}if(3===a.target.networkState){this.view.show(this.view.alert);this.view.lb(this.view.Sa,"404 Not found: Nie znaleziono podanego wideo");this.O||this.controls.disable();if(!A(this.X.client)&&!z(this.X.client))try{window[this.X.client].fileNotFound(this.src,{Eo:console.log,error:console.log})}catch(d){}if(-1<this.ja&&0<this.l()){a=window.location.href;var b=Math.floor(this.l());-1<window.location.href.indexOf("?")?null==this.ib("t")?a+="&t="+b:(a=new URL(a),a.searchParams.set("t",b),a=a.toString()):
a+="?t="+b;window.location.href=a}}else{b=-1;if(null!=this.video.error&&"undefined"!==typeof this.video.error.code){b=this.video.error.code;if(3==b)return;this.O||this.controls.disable()}if(-1<b)if(2==b&&1===a.target.networkState&&-1<this.ja&&0<this.l())a=window.location.href,b=Math.floor(this.l()),-1<window.location.href.indexOf("?")?null==this.ib("t")?a+="&t="+b:(a=new URL(a),a.searchParams.set("t",b),a=a.toString()):a+="?t="+b,window.location.href=a;else switch(b){case 1:100>this.video.currentTime&&
(this.view.show(this.view.alert),this.view.lb(this.view.Sa,"Wyst\u0105pi\u0142 b\u0142\u0105d podczas odtwarzania. Od\u015bwie\u017c stron\u0119 i spr\u00f3buj ponownie.<br>(error code: P1032)"));break;case 2:100>this.video.currentTime&&(this.view.show(this.view.alert),this.view.lb(this.view.Sa,"Wyst\u0105pi\u0142 b\u0142\u0105d podczas odtwarzania. Od\u015bwie\u017c stron\u0119 i spr\u00f3buj ponownie.<br>(error code: P1031)"));break;case 3:this.view.show(this.view.alert);this.view.lb(this.view.Sa,
"Wyst\u0105pi\u0142 b\u0142\u0105d przegl\u0105darki. Od\u015bwie\u017c stron\u0119 i spr\u00f3buj ponownie.<br>(error code: P1030)");break;case 4:this.view.show(this.view.alert),this.view.lb(this.view.Sa,"Format wideo jest nieobs\u0142ugiwany.")}}}};Q.hn=function(a){this.log(this.c,"Event","onStalled");this.log(this.c,"networkState: "+a.target.networkState);this.log(this.c,"readyState: "+a.target.readyState);return!1};Q.nh=function(){};Q.mn=function(){};
Q.ph=function(a){this.log(this.c,"Event","onCanplay");this.log(this.c,"startLoading: "+this.Tb);this.log(this.c,"videoCanPlay: "+this.Vb);this.log(this.c,"startByClick: "+this.ga);this.log(this.c,"videoPromiseAutoplayError: "+this.sb);if(this.sb)try{2>=a.target.networkState&&4===a.target.readyState&&!this.controls.N.R()&&0>=this.l()&&(this.controls.H(!1),this.controls.ra(!0))}catch(b){}else this.cb&&(this.cb=!1),this.O||!this.h.F()&&this.K||(this.autoplay||(this.Vb=!0),this.Tb&&(this.Tb=!1),this.ga&&
(this.ga=!1),z(this.video)||!this.video.paused||!this.controls.Z.R()&&this.Vb&&this.getState()!=this.state.fa||(this.Vb=!0,!this.autoplay&&this.jb()?(this.controls.H(!1),this.controls.ra(!0)):this.Rb()))};
Q.Ve=function(a){this.log(this.c,"Event","onCanplaythrough");this.log(this.c,"startLoading: "+this.Tb);this.log(this.c,"startByClick: "+this.ga);this.log(this.c,"videoCanPlay: "+this.Vb);this.log(this.c,"videoPromiseAutoplayError: "+this.sb);z(a)||A(a.target)||(this.log(this.c,"networkState: "+a.target.networkState),this.log(this.c,"readyState: "+a.target.readyState));if(this.sb)try{2>=a.target.networkState&&4===a.target.readyState&&!this.controls.N.R()&&0>=this.l()&&(this.controls.H(!1),this.controls.ra(!0))}catch(b){}else this.cb&&
(this.cb=!1),this.O||!this.h.F()&&this.K||(this.autoplay||(this.Vb=!0),this.Tb&&(this.Tb=!1),this.ga&&(this.ga=!1),z(this.video)||!this.video.paused||!this.controls.Z.R()&&this.Vb&&this.getState()!=this.state.fa||(this.Vb=!0,!this.autoplay&&this.jb()?(this.controls.H(!1),this.controls.ra(!0)):this.Rb()))};Q.Fn=function(){};Q.Tm=function(){};Q.zm=function(){};Q.$e=function(){if(B(window.onWaiting)&&!this.K)window.onWaiting()};
Q.mo=function(){0<this.contextMenu.offsetHeight&&-1===this.$d&&(this.$d=this.contextMenu.offsetHeight)};Q.no=function(){0<this.contextMenu.offsetWidth&&-1===this.ae&&(this.ae=this.contextMenu.offsetWidth)};
Q.wm=function(a){a=a||window.event;if("block"==this.view.contextMenu.style.display)this.view.m(this.view.contextMenu);else{0<this.view.contextMenu.offsetHeight&&-1===this.$d&&(this.$d=this.view.contextMenu.offsetHeight);0<this.view.contextMenu.offsetWidth&&-1===this.ae&&(this.ae=this.view.contextMenu.offsetWidth);var b=this.ae+a.offsetX>this.view.Wb.offsetWidth?this.view.Wb.offsetWidth-this.ae:a.offsetX;var d=this.$d+a.offsetY>this.view.Wb.offsetHeight?this.view.Wb.offsetHeight-this.$d:a.offsetY;
this.view.contextMenu.style.top=d+"px";this.view.contextMenu.style.left=b+"px";this.va()||null!=window.document.querySelector("#tv-player-stats")&&this.view.contextMenu.querySelector('[item="4"]').show();this.ij()?this.view.contextMenu.querySelector('[item="2"]').m():this.M&&(this.view.contextMenu.querySelector('[item="1"]').m(),this.view.contextMenu.querySelector('[item="2"]').m());this.view.show(this.view.contextMenu)}a.preventDefault()};
Q.Gj=function(a){switch(parseInt(a.target.parentNode.getAttribute("item"))){case 1:a=document.createElement("div");var b=document.createRange();a.style.position="absolute";a.style.left="-1000px";a.style.top="-1000px";a.innerHTML=this.ij()?location.origin+location.pathname:"https://www.cda.pl/video/"+this.f.id;document.body.appendChild(a);b.selectNodeContents(a);var d=window.getSelection();d.removeAllRanges();d.addRange(b);try{document.execCommand("copy")}catch(f){}delete a;break;case 2:a=document.createElement("input");
b="";this.Ne()?b="https://ebd.cda.pl/620x368/"+this.f.id:this.Qf()&&(b=window.location.origin+window.location.pathname+"?iframe");a.style.position="absolute";a.style.left="-1000px";a.style.top="-1000px";a.type="text";a.setAttribute("value",'<iframe src="'+b+'" width="620" height="368" style="border:none;" scrolling="no" allowfullscreen name="v2" allow="encrypted-media"></iframe>');document.body.appendChild(a);a.select();try{document.execCommand("copy")}catch(f){}delete a;break;case 3:this.getState()===
this.state.fa&&this.pause();b="";this.Ne()?b="http://www.cda.pl/kontakt":this.Qf()&&(b="http://superfilm.pl/kontakt");""!=b&&window.open(b,"_blank").focus();break;case 4:this.view.Dc(window.document.querySelector("#tv-player-stats"))?(window.document.querySelector("#tv-player-stats").m(),this.view.contextMenu.querySelector('[item="4"]').innerHTML="<a>Poka\u017c statystyki</a>"):(window.document.querySelector("#tv-player-stats").show(),this.view.contextMenu.querySelector('[item="4"]').innerHTML="<a>Ukryj statystyki</a>")}this.view.Dc(this.view.contextMenu)&&
this.view.m(this.view.contextMenu)};Q.Km=function(){};
Q.Zc=function(){try{if(B(window.onVideoTimeUpdate))window.onVideoTimeUpdate(this.l())}catch(g){}if(!this.ce&&null!=this.o||!this.fg&&null!=this.aa)2===this.video.networkState&&3>this.video.readyState?this.controls.H(!0):(1===this.video.networkState||3<=this.video.readyState)&&this.controls.H(!1);this.getState()===this.state.fa&&this.controls.N.R()&&this.controls.ca(!0);this.getState()!==this.state.fa||this.controls.xb.G("pb-play-pause")||this.controls.xb.s("pb-play-pause");try{if(this.f.hasOwnProperty("markers_ads")&&
null!=this.f.markers_ads&&0<this.f.markers_ads.length){this.view.ta.m();z(this.j.fn)&&(this.j.fn=U(this.view.ta,"click",this.gn,this));for(var a=0;a<this.f.markers_ads.length;a++){var b=this.f.markers_ads[a];if(this.l()>=b.start&&this.l()<b.end){this.view.ta.show();break}}}}catch(g){}a=600;this.f.hasOwnProperty("duration")&&null!=this.f.duration&&0<this.f.duration&&600>=this.f.duration&&(a=60);this.l()>=a&&!1===this.ye&&this.Tn();if(!z(this.Je))for(a=0;a<this.Je.length;a++)b=this.Je[a],!z(b)&&b.hasOwnProperty("time")&&
b.hasOwnProperty("id")&&this.l()>=b.time&&!b.fire&&(this.Je[a].fire=!0,!this.Qf()||A(this.X.client)||z(this.X.client)||window[this.X.client].pixel(b.id,"pc",{Eo:console.log,error:console.log}));if(this.M&&-1<this.ja&&this.l()>=this.ja+10)try{this.ja=Math.round(this.l());this.log(this.c,"tv watching - request_id: "+this.options.request_id+", ct: "+this.ja);var d=this;window.$.ajax({url:"//api.cda.pl/htv.php?uid="+this.la(),type:"post",crossDomain:!0,xhrFields:{withCredentials:!0},data:{request_id:this.options.request_id,
channel_id:this.options.tv_live.channel_id,channel_url:this.ha.url},success:function(){}})}catch(g){this.log(this.c,g)}if(-1<this.ja&&this.l()>=this.ja+10&&0<this.f.duration&&33!=this.Cc()&&!this.K&&(this.Qb()||"premium"==this.f.type||"premium_free"==this.f.type)&&!1!==this.la()){try{this.ja=Math.round(this.l()),this.log(this.c,"saving watching seconds: "+this.ja),a="",-1<location.href.indexOf(".cda.pl/powtorki-z-telewizji/")&&(a="&vid="+this.ge()),window.$.ajax({url:"//api.cda.pl/h.php?uid="+this.la()+
a,type:"post",crossDomain:!0,xhrFields:{withCredentials:!0},data:{currentTime:this.ja,duration:this.f.duration,test:this.Qb(),server:this.he()},success:function(){}})}catch(g){this.log(this.c,g)}if(!1===this.Oi&&("premium"==this.f.type||"premium_free"==this.f.type)&&114184580==this.la()){this.Oi=!0;try{d=this,window.$.ajax({url:"//api.cda.pl/cl.php?uid="+this.la(),type:"post",crossDomain:!0,xhrFields:{withCredentials:!0},success:function(){},error:function(a){a&&429==a.status&&(null!=d.o?d.o.reset():
d.pause(),d.view.show(d.view.alert),d.view.lb(d.view.Sa,"Zbyt wiele os\u00f3b (3) korzysta z Twojego konta."),d.controls.disable(),d.disabled=!0)}})}catch(g){this.log(this.c,g)}}}if(null!=this.A&&!this.K&&0<this.f.duration)try{if(0<Math.floor(this.l())&&this.l()<this.L()){var f=Math.floor(this.l()/this.L()*100);25<=f&&!1===this.A.firstQuartile.fired?(this.A.firstQuartile.fired=!0,this.S(this.A.firstQuartile.url)):50<=f&&!1===this.A.midpoint.fired?(this.A.midpoint.fired=!0,this.S(this.A.midpoint.url)):
75<=f&&!1===this.A.thirdQuartile.fired&&(this.A.thirdQuartile.fired=!0,this.S(this.A.thirdQuartile.url));60<=this.l()&&!1===this.A.video60sec.fired?(this.A.video60sec.fired=!0,this.S(this.A.video60sec.url)):120<=this.l()&&!1===this.A.video120sec.fired?(this.A.video120sec.fired=!0,this.S(this.A.video120sec.url)):180<=this.l()&&!1===this.A.video180sec.fired?(this.A.video180sec.fired=!0,this.S(this.A.video180sec.url)):240<=this.l()&&!1===this.A.video240sec.fired?(this.A.video240sec.fired=!0,this.S(this.A.video240sec.url)):
300<=this.l()&&!1===this.A.video300sec.fired?(this.A.video300sec.fired=!0,this.S(this.A.video300sec.url)):360<=this.l()&&!1===this.A.video360sec.fired?(this.A.video360sec.fired=!0,this.S(this.A.video360sec.url)):420<=this.l()&&!1===this.A.video420sec.fired?(this.A.video420sec.fired=!0,this.S(this.A.video420sec.url)):480<=this.l()&&!1===this.A.video480sec.fired?(this.A.video480sec.fired=!0,this.S(this.A.video480sec.url)):540<=this.l()&&!1===this.A.video540sec.fired?(this.A.video540sec.fired=!0,this.S(this.A.video540sec.url)):
600<=this.l()&&!1===this.A.video600sec.fired&&(this.A.video600sec.fired=!0,this.S(this.A.video600sec.url));try{"4125787e0"==this.f.id&&(193<=this.l()&&!1===this.A.video193sec.fired?(this.A.video193sec.fired=!0,this.S(this.A.video193sec.url)):220<=this.l()&&!1===this.A.video220sec.fired&&(this.A.video220sec.fired=!0,this.S(this.A.video220sec.url))),"412582640"==this.f.id&&148<=this.l()&&!1===this.A.video148sec.fired&&(this.A.video148sec.fired=!0,this.S(this.A.video148sec.url)),"412584104"==this.f.id&&
(50<=this.l()&&!1===this.A.video50sec.fired?(this.A.video50sec.fired=!0,this.S(this.A.video50sec.url)):115<=this.l()&&!1===this.A.video115sec.fired?(this.A.video115sec.fired=!0,this.S(this.A.video115sec.url)):122<=this.l()&&!1===this.A.video122sec.fired&&(this.A.video122sec.fired=!0,this.S(this.A.video122sec.url))),"4125850f4"==this.f.id&&54<=this.l()&&!1===this.A.video54sec.fired&&(this.A.video54sec.fired=!0,this.S(this.A.video54sec.url)),"41258896e"==this.f.id&&(229<=this.l()&&!1===this.A.video229sec.fired?
(this.A.video229sec.fired=!0,this.S(this.A.video229sec.url)):247<=this.l()&&!1===this.A.video247sec.fired?(this.A.video247sec.fired=!0,this.S(this.A.video247sec.url)):253<=this.l()&&!1===this.A.video253sec.fired&&(this.A.video253sec.fired=!0,this.S(this.A.video253sec.url)))}catch(g){this.log(this.c,g)}}}catch(g){this.log(this.c,g)}try{0<Math.floor(this.l())&&this.l()<this.L()&&!this.T.isConnected()&&(this.h.F()||this.h.Ka()||this.h.xd()||this.Me(this.b,Math.floor(this.l()))&&this.Od(this.b,Math.floor(this.l())))}catch(g){}};
Q.Am=function(){if(!this.O){var a=this.fullScreen.Ga();a||z(this.fullScreen.element())||(a=!0);this.controls.Ga=a;this.controls.qo(a);if(a){if(!A(window.screen.orientation))try{-1===window.screen.orientation.type.indexOf("landscape")&&this.f.height<this.f.width&&window.screen.orientation.lock("landscape-primary")}catch(d){this.log(this.c,d)}this.controls.vk(!0);try{if(!this.O&&this.h.mj()&&!A(this.f.width)&&!A(this.f.height)){var b=this.f.height/this.f.width*100;b<window.screen.height/window.screen.width*
100?(this.view.lg.style["padding-top"]=b+"%",this.view.content.s("pb-playstation-panorama")):(this.view.lg.style.width=window.screen.height/window.screen.width*(this.f.width/this.f.height)*100+"%",this.view.content.s("pb-playstation-vertical"))}}catch(d){}}else{this.controls.vk(!1);if(!A(window.screen.orientation))try{window.screen.orientation.unlock()}catch(d){this.log(this.c,d)}this.h.F()&&this.controls.gc();this.O||this.controls.Rh();this.video.setAttribute("webkit-playsinline","true");this.video.setAttribute("playsinline",
"true");this.controls.hc&&(this.controls.hc=!1,this.controls.de.C("pb-aspect-float-on"),this.controls.nf.C("pb-stretching-expanded"))}}};Q.Bm=function(){this.O||(this.view.za.G("pb-video-fullscreen")&&!this.fullScreen.is()&&(this.view.za.C("pb-video-fullscreen"),this.O||this.controls.Rh()),this.controls.po())};
Q.pc=function(){if(this.view.Dc(this.view.contextMenu))this.view.m(this.view.contextMenu);else if(!(0>=this.l())&&null===this.Oa)if(this.h.F()&&!this.O&&this.controls.Ga)if(this.controls.W.G("pb-nocontrols")){this.controls.W.C("pb-nocontrols");var a=this;clearTimeout(this.controls.$a);this.controls.$a=setTimeout(function(){a.controls.W.s("pb-nocontrols")},3E3)}else this.getState()===this.state.fa?(this.pause(),clearTimeout(this.controls.$a),this.controls.$a=null):this.getState()===this.state.uc&&
(this.resume(),a=this,clearTimeout(this.controls.$a),this.controls.$a=setTimeout(function(){a.controls.W.s("pb-nocontrols")},3E3));else this.getState()===this.state.fa?this.pause():this.getState()===this.state.uc&&this.resume()};Q.hk=function(){};Q.Xj=function(){null===this.Oa&&this.controls.$f()};
Q.bf=function(){this.log(this.c,"setVideoFile");if(!this.src){this.sa=!1;this.view.show(this.view.zd);this.h.ua()&&this.O&&this.view.m(this.view.zd);this.O||this.controls.bd(0);window.MediaSource=window.MediaSource||window.WebKitMediaSource;if(z(this.ba)||""==this.ba||!B(window.MediaSource)&&!this.h.ua())this.view.show(this.view.alert),this.view.lb(this.view.Sa,"Aby obejrze\u0107 ten materia\u0142 zaaktualizuj lub zainstaluj najnowsz\u0105 przegl\u0105dark\u0119."),this.O||this.controls.disable();
this.O||this.w.show(this.controls.a)}else if(this.Yi()!==this.src){this.log(this.c,"setSrc");this.sa=!1;this.view.show(this.view.zd);this.h.ua()&&this.O&&this.view.m(this.view.zd);this.O||this.controls.bd(0);window.MediaSource=window.MediaSource||window.WebKitMediaSource;if(z(this.ba)||""==this.ba||!B(window.MediaSource)&&!this.h.ua())this.src?(this.eg(this.src),this.video.pause()):(this.view.show(this.view.alert),this.view.lb(this.view.Sa,"Aby obejrze\u0107 ten materia\u0142 zaaktualizuj lub zainstaluj najnowsz\u0105 przegl\u0105dark\u0119."),
this.O||this.controls.disable());this.O||this.w.show(this.controls.a)}this.log(this.c,"autoplay: "+this.autoplay)};
Q.rb=function(){this.log(this.c,"startVideo");this.controls.ue();B(window.startVideo)&&window.startVideo();window.MediaSource=window.MediaSource||window.WebKitMediaSource;z(this.wb)||""==this.wb||!B(window.MediaSource)&&!this.h.ua()||!this.h.ne()&&!this.h.ua()?!z(this.ba)&&""!=this.ba&&B(window.MediaSource)?this.h.Sf()?this.Xg():this.je():(this.src&&this.Yi()!==this.src&&this.bf(),this.Tb?this.play():this.play(!0),this.Vb=this.ga=!0,this.getState()!=this.state.fa&&this.Rb()):this.je();this.O||(this.controls.Pa(this.L()),
this.controls.enable());this.K&&(this.K=!1);this.Le();this.log(this.c,"autoplay: "+this.autoplay)};Q.Al=function(){var a=this.W.querySelector(".pb-video-player-noise");if("undefined"!==a&&a&&(a.width=this.Wb.bc()?this.Wb.bc():0,a.height=this.Wb.Vc()?this.Wb.Vc():0,0<a.bc()&&0<a.Vc())){for(var b=a.getContext("2d"),d=b.createImageData(b.canvas.width,b.canvas.height),f=new Uint32Array(d.data.buffer),g=f.length,k=0;k<g;)f[k++]=(255*Math.random()|0)<<24;b.putImageData(d,0,0);return a}return!1};
Q.readyState=function(){return this.video.readyState};Q.networkState=function(){return this.video.networkState};Q.Xi=function(){var a=navigator.userAgent.toLowerCase();return-1!==a.indexOf("iphone")||-1!==a.indexOf("ipod")||-1!==a.indexOf("ipad")?"ios":-1!==a.indexOf("android")?"android":"pc"};Q.Og=function(){var a=navigator.userAgent.match(/Android\s([0-9\.]*)/);return a?a[1]:!1};
Q.mp=function(){if(/iP(hone|od|ad)/.test(navigator.userAgent)){var a=navigator.appVersion.match(/OS (\d+)_(\d+)_?(\d+)?/);return(parseInt(a[1],10)+"."+parseInt(a[2],10)+"."+parseInt(a[3]||0,10)).toString()}};Q.Cp=function(){var a=navigator.userAgent;return-1<a.indexOf("Mozilla/5.0")&&-1<a.indexOf("Android ")&&-1<a.indexOf("Version/")&&-1<a.indexOf("AppleWebKit")};
Q.Lh=function(a,b,d,f){var g=new Date;null!=d&&(f?g.setHours(g.getHours()+d):g.setDate(g.getDate()+d));try{document.cookie=a+"="+escape(b)+(null==d?"":";expires="+g.toGMTString())}catch(k){}};Q.ac=function(a){try{var b=document.cookie.split(";")}catch(k){b=[]}for(var d=0;d<b.length;d++){var f=b[d].substr(0,b[d].indexOf("="));var g=b[d].substr(b[d].indexOf("=")+1);f=f.replace(/^\s+|\s+$/g,"");if(f==a)return unescape(g)}return!1};Q.wd=function(a){return!1!==this.ac(a)?!0:!1};
Q.uj=function(){var a=document.getElementsByTagName("head")[0]||document.head||document.documentElement,b=document.createElement("script");b.async=!0;b.type="text/javascript";b.src="m.cda.pl"==window.location.host?"//m.cda.pl/adx.js":"//www.cda.pl/adx.js";a.insertBefore(b,a.firstChild);a.appendChild(b);this.ui=!0};Q.jb=function(){this.ui||this.uj();this.h.F()&&(this.tf=!1);this.va()&&"undefined"==typeof window.adblock&&(this.tf=!0);"undefined"===typeof window.adbloczek&&(this.tf=!0);return this.tf};
Q.log=function(a,b,d){2>arguments.length||this.options.hasOwnProperty("debug")&&1==this.options.debug&&(3===arguments.length?console.log(a+"["+b+"]: "+JSON.stringify(d)):2===arguments.length&&console.log(a+": "+JSON.stringify(b)))};Q.Gg=function(){var a=this.W.getBoundingClientRect(),b=window.innerHeight||document.documentElement.clientHeight,d=window.innerWidth||document.documentElement.clientWidth;return 0<a.bottom&&a.top<b&&0<a.right&&a.left<d||0===document.body.scrollTop};
Q.Qp=function(){var a=this,b=setInterval(function(){a.Ed="undefined"!==typeof window.nextVideoEnabled&&window.nextVideoEnabled?!0:!1;a.Ed&&a.ended&&null===a.Oa&&!1===a.ec?(clearInterval(b),b=null,a.df()):a.ended||(clearInterval(b),b=null)},50)};
Q.df=function(){this.log(this.c,"startNextVideo");this.K&&(this.K=!1);if(this.loop)this.play();else if(this.O||(this.video.paused?this.controls.ra(!0):this.controls.ra()),this.h.F()&&(this.Vb=this.sa=!1),this.Ua)if(this.controls.vb(!0),this.Ne())if(this.Fg(),this.Ed){if(!this.oe&&null===this.Oa&&(this.fullScreen.Nb(),!this.ec)){this.ec=!0;this.h.Ka()?window.location.replace(this.Ke()):window.location.href=this.Ke();return}this.O||this.controls.isEnabled()&&this.controls.disable();this.view.Fd.show();
this.view.xj.href=this.Ke(!0);this.view.xj.title=this.Ua.title;this.view.om.innerHTML=this.Ua.title;this.view.nm.src=this.Ua.thumb;this.view.Dd.setAttribute("stroke-dashoffset",this.Xf);this.O&&(this.view.m(this.view.i(".pb-next-timer-wrapper")),this.view.show(this.view.i(".pb-ie-next-loader")),this.view.i(".pb-ie-next-loader-progress").style.width="0%");-1<window.location.href.indexOf("dlugiczasprzewijania")&&(this.mh=1E3);var a=this,b=1E3*this.mh/parseInt(this.Xf);this.O&&(b=1E3*this.mh/100);this.view.mm.addEventListener("click",
function(){a.O||a.controls.enable();a.Ed=!1;a.lh=!0;a.ec=!1;a.controls.H(!1);a.O||(a.video.paused?a.controls.ra(!0):a.controls.ra())},!1);null===this.Oa&&(this.Oa=this.Xb.setInterval(function(){0==a.Ed&&a.Hk();if(a.Gg()){if(a.O?100>parseInt(a.view.i(".pb-ie-next-loader-progress").style.width)?a.view.i(".pb-ie-next-loader-progress").style.width=parseInt(a.view.i(".pb-ie-next-loader-progress").style.width)+1+"%":(a.Xb.clearInterval(a.Oa),a.Oa=null):0<parseInt(a.view.Dd.getAttribute("stroke-dashoffset"))?
a.view.Dd.setAttribute("stroke-dashoffset",parseInt(a.view.Dd.getAttribute("stroke-dashoffset"))-1+"px"):(a.Xb.clearInterval(a.Oa),a.Oa=null),0==parseInt(a.view.Dd.getAttribute("stroke-dashoffset"))||100===parseInt(a.view.i(".pb-ie-next-loader-progress").style.width))a.fullScreen.Nb(),a.ec||(a.ec=!0,a.h.Ka()?window.location.replace(a.Ke()):window.location.href=a.Ke())}else a.O?"0%"!==a.view.i(".pb-ie-next-loader-progress").style.width&&(a.view.i(".pb-ie-next-loader-progress").style.width="0%"):a.view.Dd.getAttribute("stroke-dashoffset")!==
a.Xf&&a.view.Dd.setAttribute("stroke-dashoffset",a.Xf);a.Fg()},b))}else this.controls.H(!1);else if(this.Qf()){this.view.Fd.m();this.view.Fd.innerHTML='<div class="pb-nxt-loader-wrapper"><div class="pb-nxt-loader-wrapper-background"></div>  <div class="pb-nxt-loader"><div class="pb-nxt-wrapper-preview-next-video"><div class="pb-nxt-preview-next-video-rot"><div class="pb-nxt-preview-next-video"><img src="" title="" alt=""></div></div><div class="pb-nxt-preview-video-title">Nast\u0119pne video: <a href=""><h4></h4></a></div></div><div class="pb-nxt-loader-area"></div><a class="pb-nxt-loader-content" href=""><div class="pb-nxt-loader-content-circle"><div class="pb-nxt-loader-progress"></div></div><div class="pb-nxt-loader-play"></div></a><a class="btn btn-dark btn-next-cancel pb-btn-cancel" href="" style="position: absolute;top: 87px;left: -12px;width: 70px;padding: 5px 0;">Anuluj</a>  </div></div>';
this.view.Fd.show();b=this.view.Fd;var d=this.Ua.url,f=this.view.ub(".pb-nxt-preview-video-title h4",b),g=this.view.ub(".pb-nxt-preview-video-title a",b),k=this.view.ub(".pb-nxt-loader-content",b),l=this.view.ub(".pb-nxt-preview-next-video img",b),p=this.view.ub(".pb-nxt-loader-progress",b),q=this.view.ub(".pb-btn-cancel",b),w=0;f.innerHTML=this.Ua.title;g.setAttribute("href",this.Ua.url);l.setAttribute("src",this.Ua.thumb);l.setAttribute("title",this.Ua.title);l.setAttribute("alt",this.Ua.title);
k.setAttribute("href",this.Ua.url);"/uploads/filmico.png"==l&&this.view.ub(".pb-nxt-preview-next-video",b).m();a=this;q.addEventListener("click",function(b){a.O||a.controls.enable();a.lh=!0;a.ec=!1;a.controls.H(!1);a.O||(a.video.paused?a.controls.ra(!0):a.controls.ra());a.view.Fd.m();a.Xb.clearInterval(a.Oa);w=0;p.style.width="0%";b.preventDefault();return!1});null===this.Oa&&(this.Oa=this.Xb.setInterval(function(){100>w&&(w++,p.style.width=w+"%");100<=w&&!a.ec&&(a.ec=!0,a.Xb.clearInterval(a.Oa),
a.fullScreen.Nb(),a.h.Ka()?window.location.replace(d):window.location.href=d)},100))}};Q.Hk=function(){this.Xb.clearInterval(this.Oa);this.Oa=null;this.view.Fd.m();this.ec=!1;this.O||this.controls.isEnabled()||this.controls.enable()};Q.Fg=function(){this.Ed="undefined"!==typeof window.nextVideoEnabled&&window.nextVideoEnabled?!0:!1};Q.Li=function(){null===this.Oa&&(this.Fg(),this.Ed&&this.Gg()&&!this.lh&&!this.ec&&this.df())};
Q.Ke=function(a){var b=window.location.href,d="";"undefined"===typeof a?d=null!==this.Ua.quality?"?wersja="+this.Ua.quality+"&a=1":"?a=1":null!==this.Ua.quality&&(d="?wersja="+this.Ua.quality);-1!==b.indexOf("&html5")&&(d=""==d?"?html5":"&html5&vol=10");return this.Ua.hasOwnProperty("link")?this.Ua.link+d:b.slice(0,b.indexOf("/video/"))+"/video/"+this.Ua.id+d};
Q.Qh=function(){if(!this.Hi){this.Hi=!0;var a=this.jb(),b=!1;B(X)&&B(Y)&&B(Z)&&(b=!0);if(!a&&b&&!this.h.F()&&!this.h.Ka()&&!this.h.xd()){if(A(d)||z(d))var d=this.b;if(!z(d)){b="";"plain"==this.f.type&&(b="opacity:0;");a="position: absolute;width: 3px;height: 6px;background: #FFCC00;top: 8px;margin-left:0px;z-index:10;"+b;if(this.h.F()||this.h.Ka())a="position: absolute;width: 5px;height: 12px;background: #FFCC00;top: 16px;margin-left:0px;z-index:10;"+b;if(this.Na(d,"schedule")){b=this.L()||this.f.duration;
for(var f=0;f<d.schedule.length;f++)if(d.schedule[f].hasOwnProperty("time")){var g=d.schedule[f].time;if(0<g){var k=g/b*100;if(!(100<=k||0>=k)){var l=window.document.createElement("span");l.setAttribute("style",a+"left: "+k+"%");l.setAttribute("data-time",g);l.setAttribute("class","pb-progress-midroll-marker");this.controls.Ea.insertBefore(l,this.controls.Ea.firstChild)}}}}}}}};
Q.Me=function(a,b){if(!(-1<this.Af.indexOf(b))){if(this.h.Ka()||this.O)return!1;if(this.h.F()){if(this.h.le()){var d=this.h.Og();this.log(this.c,"android version: "+d);d=parseFloat(d);if(4.1>=d)return!1}if(this.h.ua())if(!1!==this.h.Sg()){if(d=parseInt(this.h.Sg()),10>d)return!1}else return!1}if(null!==a){d=this.jb();var f=!1;B(X)&&B(Y)&&B(Z)&&(f=!0);if(this.h.dh()&&this.h.qj()&&d)return!1;if(this.Na(a,"schedule"))for(a=0;a<this.b.schedule.length;a++)if(this.b.schedule[a].hasOwnProperty("time")&&
this.b.schedule[a].hasOwnProperty("tag")&&""!=this.b.schedule[a].tag&&this.b.schedule[a].hasOwnProperty("enabled")&&!0===this.b.schedule[a].enabled&&this.b.schedule[a].hasOwnProperty("type")&&this.b.schedule[a].time===b&&f&&(this.b.schedule[a].hasOwnProperty("tagAdblock")&&null!=this.b.schedule[a].tagAdblock||!d))return!0}return!1}};
Q.Od=function(a,b){if(!(-1<this.Af.indexOf(b))){this.log(this.c,"startAd");this.log(this.c,arguments);this.log(this.c,this.Af);for(var d=this.jb(),f=[],g=0,k=0;k<a.schedule.length;k++)if(a.schedule[k].time===b){g++;var l=a.schedule[k],p={autoplay:l.autoplay,counter:l.counter,displayAs:l.displayAs,key:l.key,key2:"undefined"!=typeof l.key2?l.key2:"",skip:l.skip,click:l.click,tag:l.tag,time:l.time,type:l.type};1<g&&(p.autoplay=!0);d&&this.Ne()&&(p.tag=l.tagAdblock,p.type="pool",p.counter=!1);if(1<l.repeat)for(var q=
0;q<l.repeat;q++){if(0===b)p.autoplay=this.autoplay;else if(-1===b||0<b)p.autoplay=!0;f.push(p)}else{if(0===b)p.autoplay=this.autoplay;else if(-1===b||0<b)p.autoplay=!0;f.push(p)}delete l;delete p;if(d)break}this.log(this.c,"startAd",f);f!=[]?(this.log(this.c,"startAd","init ads manager"),this.Af.push(b),this.K=!0,this.u=new Z(this,f)):(this.log(this.c,"startAd","no ads to display"),this.autoplay&&this.rb())}};
Q.Ob=function(a){return"undefined"!==typeof a&&"function"===typeof a.getBoundingClientRect?a.getBoundingClientRect():!1};Q.Tn=function(){if(null!==this.X&&!1===this.ye&&("premium"==this.f.type||"premium_free"==this.f.type)){this.ye=!0;var a=this;try{window[this.X.client][this.X.method](this.X.ts,this.X.key,{success:function(){a.ye=!0},error:function(){a.ye=!1}})}catch(b){}}};Q.me=function(a){return Number(a)===a&&0===a%1};Q.Rf=function(a){return Number(a)===a&&0!==a%1};
Q.cq=function(){this.log(this.c,"window focus");this.log(this.c,"focus? "+document.hasFocus());this.oe=!0};Q.bq=function(){this.log(this.c,"window blur");this.log(this.c,"focus? "+document.hasFocus());this.oe=!1};Q.ib=function(a){a=a.replace(/[\[]/,"\\[").replace(/[\]]/,"\\]");a=(new RegExp("[\\?&]"+a+"=([^&#]*)")).exec(window.location.href);return null==a?null:a[1]};Q.ee=function(){return window.location.hostname};
Q.ul=function(){var a=this.ee();return-1<a.indexOf("cda.pl")||-1<a.indexOf("superfilm.pl")?!0:!1};Q.Ne=function(){return-1<this.ee().indexOf("cda.pl")};Q.va=function(){return this.Ne()&&(-1<this.ee().indexOf("ebd.")||-1<this.ee().indexOf("ebdcda.pl"))};Q.Qf=function(){return-1<this.ee().indexOf("superfilm.pl")};Q.yh=function(){this.video.show();this.view.mg.m();this.view.N.m();this.load();this.video.play()};Q.op=function(){return this.pg};Q.gl=function(){this.pg++};Q.te=function(){this.pg=0};
Q.rk=function(a){this.vf=!!a};Q.pp=function(){return this.vf};Q.bk=function(a){a=a||window.event;this.view.lk.C("pb-context-wrapp-show");this.view.lk.s("pb-context-wrapp-hide");a.preventDefault();return!1};
Q.dk=function(a){a=a||window.event;this.h.F()?alert("CDA nie limituje przepustowo\u015bci oraz transferu danych. \nW godzinach wieczornych mo\u017ce zdarzy\u0107 si\u0119 jednak, i\u017c ilo\u015b\u0107 u\u017cytkownik\u00f3w przekracza mo\u017cliwo\u015bci naszych serwer\u00f3w wideo. W\u00f3wczas odbi\u00f3r mo\u017ce by\u0107 zak\u0142\u00f3cony, a plik wideo mo\u017ce \u0142adowa\u0107 si\u0119 d\u0142u\u017cej ni\u017c zwykle. \n\nW Opcji CDA Premium gwarantujemy, i\u017c przepustowo\u015bci i transferu nie braknie dla \u017cadnego u\u017cytkownika."):this.view.Xn.s("pb-why-more-answer-show");
a.preventDefault();return!1};Q.Jp=function(){return this.Ai};Q.ed=function(a){this.Ai=!!a};Q.pj=function(){return this.options.hasOwnProperty("user")&&this.options.user.hasOwnProperty("role")&&"premium"==this.options.user.role||this.options.hasOwnProperty("premium")&&!0===this.options.premium?!0:!1};Q.Qb=function(){return this.options.hasOwnProperty("user")&&this.options.user.hasOwnProperty("video_history")&&this.options.user.video_history};
Q.Cc=function(){return this.options.hasOwnProperty("user")&&this.options.user.hasOwnProperty("id")&&!z(this.options.user.id)?this.options.user.id:33};Q.la=function(){return this.options.hasOwnProperty("user")&&this.options.user.hasOwnProperty("uid")&&!z(this.options.user.uid)?this.options.user.uid:!1};Q.ge=function(){return this.f.id};Q.Qg=function(){return this.options.hasOwnProperty("user")&&this.options.user.hasOwnProperty("gender")&&!z(this.options.user.gender)?this.options.user.gender:""};
Q.Rg=function(){return z(this.f)||!this.f.hasOwnProperty("premium_categories")||z(this.f.premium_categories)?"":this.f.premium_categories};Q.ck=function(){if(!this.K&&0==this.pj()){var a=this.options.video.id+":"+Number(Math.floor(this.l()));this.Lh("cda.player.ppst",a,2,!0)}};Q.oj=function(){return this.options.hasOwnProperty("user")&&this.options.user.hasOwnProperty("role")&&"admin"==this.options.user.role?!0:!1};
Q.fj=function(){var a=!this.h.Wc();this.va()&&(a=!0);return this.$g()&&a||this.ej()&&a?!0:!1};Q.$g=function(){return this.options.hasOwnProperty("plista")&&this.options.plista&&!this.jb()&&!this.K};Q.ej=function(){return this.options.hasOwnProperty("adOnPauseEnabled")&&this.options.adOnPauseEnabled&&!this.jb()&&!this.K&&!this.h.F()&&!this.h.Ka()};Q.vj=function(){this.Zg=!0;this.$g()?this.lm():this.ej()&&this.km()};Q.Bo=function(){this.Zg||this.vj();this.Dh||this.view.i(".pb-ad-pause-plt").s("pb-ad-pause-plt-show")};
Q.$i=function(){this.view.i(".pb-ad-pause-plt").G("pb-ad-pause-plt-show")&&this.view.i(".pb-ad-pause-plt").C("pb-ad-pause-plt-show")};Q.hl=function(){this.view.i(".pb-ad-pause-plt-content").ia('<div data-widget="plista_widget_infeed_3"></div>')};
Q.lm=function(){var a={publickey:"60e3bc9c547ec9c0d4858cee",origin:"pl"},b="script",d=window;var f=a.name||"PLISTA";d[f]||(d[f]=a,f=d.document.getElementsByTagName(b)[0],b=d.document.createElement(b),b.async=!0,b.type="text/javascript",b.src=("https:"===d.location.protocol?"https:":"http:")+"//static"+(a.origin?"-"+a.origin:"")+".plista.com/async"+(a.name?"/"+a.name:"")+".js",f.parentNode.insertBefore(b,f))};
Q.km=function(){if(this.options.hasOwnProperty("adOnPauseElement")&&!z(this.options.adOnPauseElement))if(this.view.i(".pb-ad-pause-plt-content").ia(this.options.adOnPauseElement),this.va()){window.__nc_widgets=window.__nc_widgets||[];window.__nc_j=window.__nc_j||null;window.__nc_widgets.push(["1DF4-A6D5-5098-A1FD-1lEIw4","ebd.cda.pl","advertisement",1,1]);window.__nc=document.createElement("script");window.__nc.type="text/javascript";window.__nc.async=!0;window.__nc.id="Nextclick_Manager";window.__nc.src=
"//nextclick.pl/widget/widget.advertisement.1.js";var a=document.getElementsByTagName("script")[0];a.parentNode.insertBefore(window.__nc,a)}else window._taboola=window._taboola||[],window._taboola.push({mode:"thumbnails-a",container:"taboola-below-player-thumbnails",placement:"Below Player Thumbnails",target_type:"mix"})};Q.Gi=function(){this.$i();this.resume()};
Q.Ao=function(){var a=this.f.id;this.A="269170516"==a?{impression:{url:"https://g.cda.pl/g.php?pixel&vi=NjRiYjMwODg5ODcwOWY4Y2U2NGUwMDBkYjAwNDFhYTg_MTAwMA&pl=impression&ct=[timestamp]",fired:!1},start:{url:"https://g.cda.pl/g.php?pixel&vi=NjRiYjMwODg5ODcwOWY4Y2U2NGUwMDBkYjAwNDFhYTg_MTAwMA&pl=start&ct=[timestamp]",fired:!1},firstQuartile:{url:"https://g.cda.pl/g.php?pixel&vi=NjRiYjMwODg5ODcwOWY4Y2U2NGUwMDBkYjAwNDFhYTg_MTAwMA&pl=firstQuartile&ct=[timestamp]",fired:!1},midpoint:{url:"https://g.cda.pl/g.php?pixel&vi=NjRiYjMwODg5ODcwOWY4Y2U2NGUwMDBkYjAwNDFhYTg_MTAwMA&pl=midpoint&ct=[timestamp]",
fired:!1},thirdQuartile:{url:"https://g.cda.pl/g.php?pixel&vi=NjRiYjMwODg5ODcwOWY4Y2U2NGUwMDBkYjAwNDFhYTg_MTAwMA&pl=thirdQuartile&ct=[timestamp]",fired:!1},complete:{url:"https://g.cda.pl/g.php?pixel&vi=NjRiYjMwODg5ODcwOWY4Y2U2NGUwMDBkYjAwNDFhYTg_MTAwMA&pl=complete&ct=[timestamp]",fired:!1},video60sec:{url:"https://g.cda.pl/g.php?pixel&vi=NjRiYjMwODg5ODcwOWY4Y2U2NGUwMDBkYjAwNDFhYTg_MTAwMA&pl=video60sec&ct=[timestamp]",fired:!1},video120sec:{url:"https://g.cda.pl/g.php?pixel&vi=NjRiYjMwODg5ODcwOWY4Y2U2NGUwMDBkYjAwNDFhYTg_MTAwMA&pl=video120sec&ct=[timestamp]",
fired:!1},video180sec:{url:"https://g.cda.pl/g.php?pixel&vi=NjRiYjMwODg5ODcwOWY4Y2U2NGUwMDBkYjAwNDFhYTg_MTAwMA&pl=video180sec&ct=[timestamp]",fired:!1},video240sec:{url:"https://g.cda.pl/g.php?pixel&vi=NjRiYjMwODg5ODcwOWY4Y2U2NGUwMDBkYjAwNDFhYTg_MTAwMA&pl=video240sec&ct=[timestamp]",fired:!1},video300sec:{url:"https://g.cda.pl/g.php?pixel&vi=NjRiYjMwODg5ODcwOWY4Y2U2NGUwMDBkYjAwNDFhYTg_MTAwMA&pl=video300sec&ct=[timestamp]",fired:!1},video360sec:{url:"https://g.cda.pl/g.php?pixel&vi=NjRiYjMwODg5ODcwOWY4Y2U2NGUwMDBkYjAwNDFhYTg_MTAwMA&pl=video360sec&ct=[timestamp]",
fired:!1},video420sec:{url:"https://g.cda.pl/g.php?pixel&vi=NjRiYjMwODg5ODcwOWY4Y2U2NGUwMDBkYjAwNDFhYTg_MTAwMA&pl=video420sec&ct=[timestamp]",fired:!1},video480sec:{url:"https://g.cda.pl/g.php?pixel&vi=NjRiYjMwODg5ODcwOWY4Y2U2NGUwMDBkYjAwNDFhYTg_MTAwMA&pl=video480sec&ct=[timestamp]",fired:!1},video540sec:{url:"https://g.cda.pl/g.php?pixel&vi=NjRiYjMwODg5ODcwOWY4Y2U2NGUwMDBkYjAwNDFhYTg_MTAwMA&pl=video540sec&ct=[timestamp]",fired:!1},video600sec:{url:"https://g.cda.pl/g.php?pixel&vi=NjRiYjMwODg5ODcwOWY4Y2U2NGUwMDBkYjAwNDFhYTg_MTAwMA&pl=video600sec&ct=[timestamp]",
fired:!1}}:"26916244a"==a?{impression:{url:"https://g.cda.pl/g.php?pixel&vi=NGMwYjY0Y2M2YmFlMTIxNmFhZmJiNDM0MTUwNjA0Nzk_OTk3&pl=impression&ct=[timestamp]",fired:!1},start:{url:"https://g.cda.pl/g.php?pixel&vi=NGMwYjY0Y2M2YmFlMTIxNmFhZmJiNDM0MTUwNjA0Nzk_OTk3&pl=start&ct=[timestamp]",fired:!1},firstQuartile:{url:"https://g.cda.pl/g.php?pixel&vi=NGMwYjY0Y2M2YmFlMTIxNmFhZmJiNDM0MTUwNjA0Nzk_OTk3&pl=firstQuartile&ct=[timestamp]",fired:!1},midpoint:{url:"https://g.cda.pl/g.php?pixel&vi=NGMwYjY0Y2M2YmFlMTIxNmFhZmJiNDM0MTUwNjA0Nzk_OTk3&pl=midpoint&ct=[timestamp]",
fired:!1},thirdQuartile:{url:"https://g.cda.pl/g.php?pixel&vi=NGMwYjY0Y2M2YmFlMTIxNmFhZmJiNDM0MTUwNjA0Nzk_OTk3&pl=thirdQuartile&ct=[timestamp]",fired:!1},complete:{url:"https://g.cda.pl/g.php?pixel&vi=NGMwYjY0Y2M2YmFlMTIxNmFhZmJiNDM0MTUwNjA0Nzk_OTk3&pl=complete&ct=[timestamp]",fired:!1},video60sec:{url:"https://g.cda.pl/g.php?pixel&vi=NGMwYjY0Y2M2YmFlMTIxNmFhZmJiNDM0MTUwNjA0Nzk_OTk3&pl=video60sec&ct=[timestamp]",fired:!1},video120sec:{url:"https://g.cda.pl/g.php?pixel&vi=NGMwYjY0Y2M2YmFlMTIxNmFhZmJiNDM0MTUwNjA0Nzk_OTk3&pl=video120sec&ct=[timestamp]",
fired:!1},video180sec:{url:"https://g.cda.pl/g.php?pixel&vi=NGMwYjY0Y2M2YmFlMTIxNmFhZmJiNDM0MTUwNjA0Nzk_OTk3&pl=video180sec&ct=[timestamp]",fired:!1},video240sec:{url:"https://g.cda.pl/g.php?pixel&vi=NGMwYjY0Y2M2YmFlMTIxNmFhZmJiNDM0MTUwNjA0Nzk_OTk3&pl=video240sec&ct=[timestamp]",fired:!1},video300sec:{url:"https://g.cda.pl/g.php?pixel&vi=NGMwYjY0Y2M2YmFlMTIxNmFhZmJiNDM0MTUwNjA0Nzk_OTk3&pl=video300sec&ct=[timestamp]",fired:!1},video360sec:{url:"https://g.cda.pl/g.php?pixel&vi=NGMwYjY0Y2M2YmFlMTIxNmFhZmJiNDM0MTUwNjA0Nzk_OTk3&pl=video360sec&ct=[timestamp]",
fired:!1},video420sec:{url:"https://g.cda.pl/g.php?pixel&vi=NGMwYjY0Y2M2YmFlMTIxNmFhZmJiNDM0MTUwNjA0Nzk_OTk3&pl=video420sec&ct=[timestamp]",fired:!1},video480sec:{url:"https://g.cda.pl/g.php?pixel&vi=NGMwYjY0Y2M2YmFlMTIxNmFhZmJiNDM0MTUwNjA0Nzk_OTk3&pl=video480sec&ct=[timestamp]",fired:!1},video540sec:{url:"https://g.cda.pl/g.php?pixel&vi=NGMwYjY0Y2M2YmFlMTIxNmFhZmJiNDM0MTUwNjA0Nzk_OTk3&pl=video540sec&ct=[timestamp]",fired:!1},video600sec:{url:"https://g.cda.pl/g.php?pixel&vi=NGMwYjY0Y2M2YmFlMTIxNmFhZmJiNDM0MTUwNjA0Nzk_OTk3&pl=video600sec&ct=[timestamp]",
fired:!1}}:"2691633fd"==a?{impression:{url:"https://g.cda.pl/g.php?pixel&vi=MDdjOGM5ZTMwNmEwYmEwYWY4MDIxMTg1NGMwNzc1MTk_MTAwMw&pl=impression&ct=[timestamp]",fired:!1},start:{url:"https://g.cda.pl/g.php?pixel&vi=MDdjOGM5ZTMwNmEwYmEwYWY4MDIxMTg1NGMwNzc1MTk_MTAwMw&pl=start&ct=[timestamp]",fired:!1},firstQuartile:{url:"https://g.cda.pl/g.php?pixel&vi=MDdjOGM5ZTMwNmEwYmEwYWY4MDIxMTg1NGMwNzc1MTk_MTAwMw&pl=firstQuartile&ct=[timestamp]",fired:!1},midpoint:{url:"https://g.cda.pl/g.php?pixel&vi=MDdjOGM5ZTMwNmEwYmEwYWY4MDIxMTg1NGMwNzc1MTk_MTAwMw&pl=midpoint&ct=[timestamp]",
fired:!1},thirdQuartile:{url:"https://g.cda.pl/g.php?pixel&vi=MDdjOGM5ZTMwNmEwYmEwYWY4MDIxMTg1NGMwNzc1MTk_MTAwMw&pl=thirdQuartile&ct=[timestamp]",fired:!1},complete:{url:"https://g.cda.pl/g.php?pixel&vi=MDdjOGM5ZTMwNmEwYmEwYWY4MDIxMTg1NGMwNzc1MTk_MTAwMw&pl=complete&ct=[timestamp]",fired:!1},video60sec:{url:"https://g.cda.pl/g.php?pixel&vi=MDdjOGM5ZTMwNmEwYmEwYWY4MDIxMTg1NGMwNzc1MTk_MTAwMw&pl=video60sec&ct=[timestamp]",fired:!1},video120sec:{url:"https://g.cda.pl/g.php?pixel&vi=MDdjOGM5ZTMwNmEwYmEwYWY4MDIxMTg1NGMwNzc1MTk_MTAwMw&pl=video120sec&ct=[timestamp]",
fired:!1},video180sec:{url:"https://g.cda.pl/g.php?pixel&vi=MDdjOGM5ZTMwNmEwYmEwYWY4MDIxMTg1NGMwNzc1MTk_MTAwMw&pl=video180sec&ct=[timestamp]",fired:!1},video240sec:{url:"https://g.cda.pl/g.php?pixel&vi=MDdjOGM5ZTMwNmEwYmEwYWY4MDIxMTg1NGMwNzc1MTk_MTAwMw&pl=video240sec&ct=[timestamp]",fired:!1},video300sec:{url:"https://g.cda.pl/g.php?pixel&vi=MDdjOGM5ZTMwNmEwYmEwYWY4MDIxMTg1NGMwNzc1MTk_MTAwMw&pl=video300sec&ct=[timestamp]",fired:!1},video360sec:{url:"https://g.cda.pl/g.php?pixel&vi=MDdjOGM5ZTMwNmEwYmEwYWY4MDIxMTg1NGMwNzc1MTk_MTAwMw&pl=video360sec&ct=[timestamp]",
fired:!1},video420sec:{url:"https://g.cda.pl/g.php?pixel&vi=MDdjOGM5ZTMwNmEwYmEwYWY4MDIxMTg1NGMwNzc1MTk_MTAwMw&pl=video420sec&ct=[timestamp]",fired:!1},video480sec:{url:"https://g.cda.pl/g.php?pixel&vi=MDdjOGM5ZTMwNmEwYmEwYWY4MDIxMTg1NGMwNzc1MTk_MTAwMw&pl=video480sec&ct=[timestamp]",fired:!1},video540sec:{url:"https://g.cda.pl/g.php?pixel&vi=MDdjOGM5ZTMwNmEwYmEwYWY4MDIxMTg1NGMwNzc1MTk_MTAwMw&pl=video540sec&ct=[timestamp]",fired:!1},video600sec:{url:"https://g.cda.pl/g.php?pixel&vi=MDdjOGM5ZTMwNmEwYmEwYWY4MDIxMTg1NGMwNzc1MTk_MTAwMw&pl=video600sec&ct=[timestamp]",
fired:!1}}:"269163615"==a?{impression:{url:"https://g.cda.pl/g.php?pixel&vi=MjdmOThmNTkzODE4MzA3MTk2ZjgzMjU3MTlkZDQyMmM_MTAwNg&pl=impression&ct=[timestamp]",fired:!1},start:{url:"https://g.cda.pl/g.php?pixel&vi=MjdmOThmNTkzODE4MzA3MTk2ZjgzMjU3MTlkZDQyMmM_MTAwNg&pl=start&ct=[timestamp]",fired:!1},firstQuartile:{url:"https://g.cda.pl/g.php?pixel&vi=MjdmOThmNTkzODE4MzA3MTk2ZjgzMjU3MTlkZDQyMmM_MTAwNg&pl=firstQuartile&ct=[timestamp]",fired:!1},midpoint:{url:"https://g.cda.pl/g.php?pixel&vi=MjdmOThmNTkzODE4MzA3MTk2ZjgzMjU3MTlkZDQyMmM_MTAwNg&pl=midpoint&ct=[timestamp]",
fired:!1},thirdQuartile:{url:"https://g.cda.pl/g.php?pixel&vi=MjdmOThmNTkzODE4MzA3MTk2ZjgzMjU3MTlkZDQyMmM_MTAwNg&pl=thirdQuartile&ct=[timestamp]",fired:!1},complete:{url:"https://g.cda.pl/g.php?pixel&vi=MjdmOThmNTkzODE4MzA3MTk2ZjgzMjU3MTlkZDQyMmM_MTAwNg&pl=complete&ct=[timestamp]",fired:!1},video60sec:{url:"https://g.cda.pl/g.php?pixel&vi=MjdmOThmNTkzODE4MzA3MTk2ZjgzMjU3MTlkZDQyMmM_MTAwNg&pl=video60sec&ct=[timestamp]",fired:!1},video120sec:{url:"https://g.cda.pl/g.php?pixel&vi=MjdmOThmNTkzODE4MzA3MTk2ZjgzMjU3MTlkZDQyMmM_MTAwNg&pl=video120sec&ct=[timestamp]",
fired:!1},video180sec:{url:"https://g.cda.pl/g.php?pixel&vi=MjdmOThmNTkzODE4MzA3MTk2ZjgzMjU3MTlkZDQyMmM_MTAwNg&pl=video180sec&ct=[timestamp]",fired:!1},video240sec:{url:"https://g.cda.pl/g.php?pixel&vi=MjdmOThmNTkzODE4MzA3MTk2ZjgzMjU3MTlkZDQyMmM_MTAwNg&pl=video240sec&ct=[timestamp]",fired:!1},video300sec:{url:"https://g.cda.pl/g.php?pixel&vi=MjdmOThmNTkzODE4MzA3MTk2ZjgzMjU3MTlkZDQyMmM_MTAwNg&pl=video300sec&ct=[timestamp]",fired:!1},video360sec:{url:"https://g.cda.pl/g.php?pixel&vi=MjdmOThmNTkzODE4MzA3MTk2ZjgzMjU3MTlkZDQyMmM_MTAwNg&pl=video360sec&ct=[timestamp]",
fired:!1},video420sec:{url:"https://g.cda.pl/g.php?pixel&vi=MjdmOThmNTkzODE4MzA3MTk2ZjgzMjU3MTlkZDQyMmM_MTAwNg&pl=video420sec&ct=[timestamp]",fired:!1},video480sec:{url:"https://g.cda.pl/g.php?pixel&vi=MjdmOThmNTkzODE4MzA3MTk2ZjgzMjU3MTlkZDQyMmM_MTAwNg&pl=video480sec&ct=[timestamp]",fired:!1},video540sec:{url:"https://g.cda.pl/g.php?pixel&vi=MjdmOThmNTkzODE4MzA3MTk2ZjgzMjU3MTlkZDQyMmM_MTAwNg&pl=video540sec&ct=[timestamp]",fired:!1},video600sec:{url:"https://g.cda.pl/g.php?pixel&vi=MjdmOThmNTkzODE4MzA3MTk2ZjgzMjU3MTlkZDQyMmM_MTAwNg&pl=video600sec&ct=[timestamp]",
fired:!1}}:"2691648cb"==a?{impression:{url:"https://g.cda.pl/g.php?pixel&vi=MzM2ZGJlYTFmOGY2MWEyOWNhYjE1ZTIyNjAwNTE1ZjE_MTAwOQ&pl=impression&ct=[timestamp]",fired:!1},start:{url:"https://g.cda.pl/g.php?pixel&vi=MzM2ZGJlYTFmOGY2MWEyOWNhYjE1ZTIyNjAwNTE1ZjE_MTAwOQ&pl=start&ct=[timestamp]",fired:!1},firstQuartile:{url:"https://g.cda.pl/g.php?pixel&vi=MzM2ZGJlYTFmOGY2MWEyOWNhYjE1ZTIyNjAwNTE1ZjE_MTAwOQ&pl=firstQuartile&ct=[timestamp]",fired:!1},midpoint:{url:"https://g.cda.pl/g.php?pixel&vi=MzM2ZGJlYTFmOGY2MWEyOWNhYjE1ZTIyNjAwNTE1ZjE_MTAwOQ&pl=midpoint&ct=[timestamp]",
fired:!1},thirdQuartile:{url:"https://g.cda.pl/g.php?pixel&vi=MzM2ZGJlYTFmOGY2MWEyOWNhYjE1ZTIyNjAwNTE1ZjE_MTAwOQ&pl=thirdQuartile&ct=[timestamp]",fired:!1},complete:{url:"https://g.cda.pl/g.php?pixel&vi=MzM2ZGJlYTFmOGY2MWEyOWNhYjE1ZTIyNjAwNTE1ZjE_MTAwOQ&pl=complete&ct=[timestamp]",fired:!1},video60sec:{url:"https://g.cda.pl/g.php?pixel&vi=MzM2ZGJlYTFmOGY2MWEyOWNhYjE1ZTIyNjAwNTE1ZjE_MTAwOQ&pl=video60sec&ct=[timestamp]",fired:!1},video120sec:{url:"https://g.cda.pl/g.php?pixel&vi=MzM2ZGJlYTFmOGY2MWEyOWNhYjE1ZTIyNjAwNTE1ZjE_MTAwOQ&pl=video120sec&ct=[timestamp]",
fired:!1},video180sec:{url:"https://g.cda.pl/g.php?pixel&vi=MzM2ZGJlYTFmOGY2MWEyOWNhYjE1ZTIyNjAwNTE1ZjE_MTAwOQ&pl=video180sec&ct=[timestamp]",fired:!1},video240sec:{url:"https://g.cda.pl/g.php?pixel&vi=MzM2ZGJlYTFmOGY2MWEyOWNhYjE1ZTIyNjAwNTE1ZjE_MTAwOQ&pl=video240sec&ct=[timestamp]",fired:!1},video300sec:{url:"https://g.cda.pl/g.php?pixel&vi=MzM2ZGJlYTFmOGY2MWEyOWNhYjE1ZTIyNjAwNTE1ZjE_MTAwOQ&pl=video300sec&ct=[timestamp]",fired:!1},video360sec:{url:"https://g.cda.pl/g.php?pixel&vi=MzM2ZGJlYTFmOGY2MWEyOWNhYjE1ZTIyNjAwNTE1ZjE_MTAwOQ&pl=video360sec&ct=[timestamp]",
fired:!1},video420sec:{url:"https://g.cda.pl/g.php?pixel&vi=MzM2ZGJlYTFmOGY2MWEyOWNhYjE1ZTIyNjAwNTE1ZjE_MTAwOQ&pl=video420sec&ct=[timestamp]",fired:!1},video480sec:{url:"https://g.cda.pl/g.php?pixel&vi=MzM2ZGJlYTFmOGY2MWEyOWNhYjE1ZTIyNjAwNTE1ZjE_MTAwOQ&pl=video480sec&ct=[timestamp]",fired:!1},video540sec:{url:"https://g.cda.pl/g.php?pixel&vi=MzM2ZGJlYTFmOGY2MWEyOWNhYjE1ZTIyNjAwNTE1ZjE_MTAwOQ&pl=video540sec&ct=[timestamp]",fired:!1},video600sec:{url:"https://g.cda.pl/g.php?pixel&vi=MzM2ZGJlYTFmOGY2MWEyOWNhYjE1ZTIyNjAwNTE1ZjE_MTAwOQ&pl=video600sec&ct=[timestamp]",
fired:!1}}:"269165137"==a?{impression:{url:"https://g.cda.pl/g.php?pixel&vi=NzVkMmYzOTA1ZDQzOTBiMWRhZDNhMDcyZDEyYWM2OTM_MTAxMg&pl=impression&ct=[timestamp]",fired:!1},start:{url:"https://g.cda.pl/g.php?pixel&vi=NzVkMmYzOTA1ZDQzOTBiMWRhZDNhMDcyZDEyYWM2OTM_MTAxMg&pl=start&ct=[timestamp]",fired:!1},firstQuartile:{url:"https://g.cda.pl/g.php?pixel&vi=NzVkMmYzOTA1ZDQzOTBiMWRhZDNhMDcyZDEyYWM2OTM_MTAxMg&pl=firstQuartile&ct=[timestamp]",fired:!1},midpoint:{url:"https://g.cda.pl/g.php?pixel&vi=NzVkMmYzOTA1ZDQzOTBiMWRhZDNhMDcyZDEyYWM2OTM_MTAxMg&pl=midpoint&ct=[timestamp]",
fired:!1},thirdQuartile:{url:"https://g.cda.pl/g.php?pixel&vi=NzVkMmYzOTA1ZDQzOTBiMWRhZDNhMDcyZDEyYWM2OTM_MTAxMg&pl=thirdQuartile&ct=[timestamp]",fired:!1},complete:{url:"https://g.cda.pl/g.php?pixel&vi=NzVkMmYzOTA1ZDQzOTBiMWRhZDNhMDcyZDEyYWM2OTM_MTAxMg&pl=complete&ct=[timestamp]",fired:!1},video60sec:{url:"https://g.cda.pl/g.php?pixel&vi=NzVkMmYzOTA1ZDQzOTBiMWRhZDNhMDcyZDEyYWM2OTM_MTAxMg&pl=video60sec&ct=[timestamp]",fired:!1},video120sec:{url:"https://g.cda.pl/g.php?pixel&vi=NzVkMmYzOTA1ZDQzOTBiMWRhZDNhMDcyZDEyYWM2OTM_MTAxMg&pl=video120sec&ct=[timestamp]",
fired:!1},video180sec:{url:"https://g.cda.pl/g.php?pixel&vi=NzVkMmYzOTA1ZDQzOTBiMWRhZDNhMDcyZDEyYWM2OTM_MTAxMg&pl=video180sec&ct=[timestamp]",fired:!1},video240sec:{url:"https://g.cda.pl/g.php?pixel&vi=NzVkMmYzOTA1ZDQzOTBiMWRhZDNhMDcyZDEyYWM2OTM_MTAxMg&pl=video240sec&ct=[timestamp]",fired:!1},video300sec:{url:"https://g.cda.pl/g.php?pixel&vi=NzVkMmYzOTA1ZDQzOTBiMWRhZDNhMDcyZDEyYWM2OTM_MTAxMg&pl=video300sec&ct=[timestamp]",fired:!1},video360sec:{url:"https://g.cda.pl/g.php?pixel&vi=NzVkMmYzOTA1ZDQzOTBiMWRhZDNhMDcyZDEyYWM2OTM_MTAxMg&pl=video360sec&ct=[timestamp]",
fired:!1},video420sec:{url:"https://g.cda.pl/g.php?pixel&vi=NzVkMmYzOTA1ZDQzOTBiMWRhZDNhMDcyZDEyYWM2OTM_MTAxMg&pl=video420sec&ct=[timestamp]",fired:!1},video480sec:{url:"https://g.cda.pl/g.php?pixel&vi=NzVkMmYzOTA1ZDQzOTBiMWRhZDNhMDcyZDEyYWM2OTM_MTAxMg&pl=video480sec&ct=[timestamp]",fired:!1},video540sec:{url:"https://g.cda.pl/g.php?pixel&vi=NzVkMmYzOTA1ZDQzOTBiMWRhZDNhMDcyZDEyYWM2OTM_MTAxMg&pl=video540sec&ct=[timestamp]",fired:!1},video600sec:{url:"https://g.cda.pl/g.php?pixel&vi=NzVkMmYzOTA1ZDQzOTBiMWRhZDNhMDcyZDEyYWM2OTM_MTAxMg&pl=video600sec&ct=[timestamp]",
fired:!1}}:"269166053"==a?{impression:{url:"https://g.cda.pl/g.php?pixel&vi=ZWFlZDgxZDkzYzljOGNjOWQ1YTU1OGJkMDczNGE2NWI_MTAxNQ&pl=impression&ct=[timestamp]",fired:!1},start:{url:"https://g.cda.pl/g.php?pixel&vi=ZWFlZDgxZDkzYzljOGNjOWQ1YTU1OGJkMDczNGE2NWI_MTAxNQ&pl=start&ct=[timestamp]",fired:!1},firstQuartile:{url:"https://g.cda.pl/g.php?pixel&vi=ZWFlZDgxZDkzYzljOGNjOWQ1YTU1OGJkMDczNGE2NWI_MTAxNQ&pl=firstQuartile&ct=[timestamp]",fired:!1},midpoint:{url:"https://g.cda.pl/g.php?pixel&vi=ZWFlZDgxZDkzYzljOGNjOWQ1YTU1OGJkMDczNGE2NWI_MTAxNQ&pl=midpoint&ct=[timestamp]",
fired:!1},thirdQuartile:{url:"https://g.cda.pl/g.php?pixel&vi=ZWFlZDgxZDkzYzljOGNjOWQ1YTU1OGJkMDczNGE2NWI_MTAxNQ&pl=thirdQuartile&ct=[timestamp]",fired:!1},complete:{url:"https://g.cda.pl/g.php?pixel&vi=ZWFlZDgxZDkzYzljOGNjOWQ1YTU1OGJkMDczNGE2NWI_MTAxNQ&pl=complete&ct=[timestamp]",fired:!1},video60sec:{url:"https://g.cda.pl/g.php?pixel&vi=ZWFlZDgxZDkzYzljOGNjOWQ1YTU1OGJkMDczNGE2NWI_MTAxNQ&pl=video60sec&ct=[timestamp]",fired:!1},video120sec:{url:"https://g.cda.pl/g.php?pixel&vi=ZWFlZDgxZDkzYzljOGNjOWQ1YTU1OGJkMDczNGE2NWI_MTAxNQ&pl=video120sec&ct=[timestamp]",
fired:!1},video180sec:{url:"https://g.cda.pl/g.php?pixel&vi=ZWFlZDgxZDkzYzljOGNjOWQ1YTU1OGJkMDczNGE2NWI_MTAxNQ&pl=video180sec&ct=[timestamp]",fired:!1},video240sec:{url:"https://g.cda.pl/g.php?pixel&vi=ZWFlZDgxZDkzYzljOGNjOWQ1YTU1OGJkMDczNGE2NWI_MTAxNQ&pl=video240sec&ct=[timestamp]",fired:!1},video300sec:{url:"https://g.cda.pl/g.php?pixel&vi=ZWFlZDgxZDkzYzljOGNjOWQ1YTU1OGJkMDczNGE2NWI_MTAxNQ&pl=video300sec&ct=[timestamp]",fired:!1},video360sec:{url:"https://g.cda.pl/g.php?pixel&vi=ZWFlZDgxZDkzYzljOGNjOWQ1YTU1OGJkMDczNGE2NWI_MTAxNQ&pl=video360sec&ct=[timestamp]",
fired:!1},video420sec:{url:"https://g.cda.pl/g.php?pixel&vi=ZWFlZDgxZDkzYzljOGNjOWQ1YTU1OGJkMDczNGE2NWI_MTAxNQ&pl=video420sec&ct=[timestamp]",fired:!1},video480sec:{url:"https://g.cda.pl/g.php?pixel&vi=ZWFlZDgxZDkzYzljOGNjOWQ1YTU1OGJkMDczNGE2NWI_MTAxNQ&pl=video480sec&ct=[timestamp]",fired:!1},video540sec:{url:"https://g.cda.pl/g.php?pixel&vi=ZWFlZDgxZDkzYzljOGNjOWQ1YTU1OGJkMDczNGE2NWI_MTAxNQ&pl=video540sec&ct=[timestamp]",fired:!1},video600sec:{url:"https://g.cda.pl/g.php?pixel&vi=ZWFlZDgxZDkzYzljOGNjOWQ1YTU1OGJkMDczNGE2NWI_MTAxNQ&pl=video600sec&ct=[timestamp]",
fired:!1}}:"4125787e0"==a?{impression:{url:"https://g.cda.pl/g.php?pixel&vi=Y2EwZWJhOGI4ZDc1Njc4ZjM1YmY3ZjFiNTU0M2M5YzA_MTg5MQ&pl=impression&ct=[timestamp]",fired:!1},start:{url:"https://g.cda.pl/g.php?pixel&vi=Y2EwZWJhOGI4ZDc1Njc4ZjM1YmY3ZjFiNTU0M2M5YzA_MTg5MQ&pl=start&ct=[timestamp]",fired:!1},firstQuartile:{url:"https://g.cda.pl/g.php?pixel&vi=Y2EwZWJhOGI4ZDc1Njc4ZjM1YmY3ZjFiNTU0M2M5YzA_MTg5MQ&pl=firstQuartile&ct=[timestamp]",fired:!1},midpoint:{url:"https://g.cda.pl/g.php?pixel&vi=Y2EwZWJhOGI4ZDc1Njc4ZjM1YmY3ZjFiNTU0M2M5YzA_MTg5MQ&pl=midpoint&ct=[timestamp]",
fired:!1},thirdQuartile:{url:"https://g.cda.pl/g.php?pixel&vi=Y2EwZWJhOGI4ZDc1Njc4ZjM1YmY3ZjFiNTU0M2M5YzA_MTg5MQ&pl=thirdQuartile&ct=[timestamp]",fired:!1},complete:{url:"https://g.cda.pl/g.php?pixel&vi=Y2EwZWJhOGI4ZDc1Njc4ZjM1YmY3ZjFiNTU0M2M5YzA_MTg5MQ&pl=complete&ct=[timestamp]",fired:!1},video60sec:{url:"https://g.cda.pl/g.php?pixel&vi=Y2EwZWJhOGI4ZDc1Njc4ZjM1YmY3ZjFiNTU0M2M5YzA_MTg5MQ&pl=video60sec&ct=[timestamp]",fired:!1},video120sec:{url:"https://g.cda.pl/g.php?pixel&vi=Y2EwZWJhOGI4ZDc1Njc4ZjM1YmY3ZjFiNTU0M2M5YzA_MTg5MQ&pl=video120sec&ct=[timestamp]",
fired:!1},video180sec:{url:"https://g.cda.pl/g.php?pixel&vi=Y2EwZWJhOGI4ZDc1Njc4ZjM1YmY3ZjFiNTU0M2M5YzA_MTg5MQ&pl=video180sec&ct=[timestamp]",fired:!1},video240sec:{url:"https://g.cda.pl/g.php?pixel&vi=Y2EwZWJhOGI4ZDc1Njc4ZjM1YmY3ZjFiNTU0M2M5YzA_MTg5MQ&pl=video240sec&ct=[timestamp]",fired:!1},video300sec:{url:"https://g.cda.pl/g.php?pixel&vi=Y2EwZWJhOGI4ZDc1Njc4ZjM1YmY3ZjFiNTU0M2M5YzA_MTg5MQ&pl=video300sec&ct=[timestamp]",fired:!1},video360sec:{url:"https://g.cda.pl/g.php?pixel&vi=Y2EwZWJhOGI4ZDc1Njc4ZjM1YmY3ZjFiNTU0M2M5YzA_MTg5MQ&pl=video360sec&ct=[timestamp]",
fired:!1},video420sec:{url:"https://g.cda.pl/g.php?pixel&vi=Y2EwZWJhOGI4ZDc1Njc4ZjM1YmY3ZjFiNTU0M2M5YzA_MTg5MQ&pl=video420sec&ct=[timestamp]",fired:!1},video480sec:{url:"https://g.cda.pl/g.php?pixel&vi=Y2EwZWJhOGI4ZDc1Njc4ZjM1YmY3ZjFiNTU0M2M5YzA_MTg5MQ&pl=video480sec&ct=[timestamp]",fired:!1},video540sec:{url:"https://g.cda.pl/g.php?pixel&vi=Y2EwZWJhOGI4ZDc1Njc4ZjM1YmY3ZjFiNTU0M2M5YzA_MTg5MQ&pl=video540sec&ct=[timestamp]",fired:!1},video600sec:{url:"https://g.cda.pl/g.php?pixel&vi=Y2EwZWJhOGI4ZDc1Njc4ZjM1YmY3ZjFiNTU0M2M5YzA_MTg5MQ&pl=video600sec&ct=[timestamp]",
fired:!1},video193sec:{url:"https://g.cda.pl/g.php?pixel&vi=Y2EwZWJhOGI4ZDc1Njc4ZjM1YmY3ZjFiNTU0M2M5YzA_MTg5MQ&pl=video193sec&ct=[timestamp]",fired:!1},video220sec:{url:"https://g.cda.pl/g.php?pixel&vi=Y2EwZWJhOGI4ZDc1Njc4ZjM1YmY3ZjFiNTU0M2M5YzA_MTg5MQ&pl=video220sec&ct=[timestamp]",fired:!1}}:"412582640"==a?{impression:{url:"https://g.cda.pl/g.php?pixel&vi=ZTRkZjEyMWJkNTFlOTY5MTQyODkyZGVjODM0MWFkNTU_MTg5NA&pl=impression&ct=[timestamp]",fired:!1},start:{url:"https://g.cda.pl/g.php?pixel&vi=ZTRkZjEyMWJkNTFlOTY5MTQyODkyZGVjODM0MWFkNTU_MTg5NA&pl=start&ct=[timestamp]",
fired:!1},firstQuartile:{url:"https://g.cda.pl/g.php?pixel&vi=ZTRkZjEyMWJkNTFlOTY5MTQyODkyZGVjODM0MWFkNTU_MTg5NA&pl=firstQuartile&ct=[timestamp]",fired:!1},midpoint:{url:"https://g.cda.pl/g.php?pixel&vi=ZTRkZjEyMWJkNTFlOTY5MTQyODkyZGVjODM0MWFkNTU_MTg5NA&pl=midpoint&ct=[timestamp]",fired:!1},thirdQuartile:{url:"https://g.cda.pl/g.php?pixel&vi=ZTRkZjEyMWJkNTFlOTY5MTQyODkyZGVjODM0MWFkNTU_MTg5NA&pl=thirdQuartile&ct=[timestamp]",fired:!1},complete:{url:"https://g.cda.pl/g.php?pixel&vi=ZTRkZjEyMWJkNTFlOTY5MTQyODkyZGVjODM0MWFkNTU_MTg5NA&pl=complete&ct=[timestamp]",
fired:!1},video60sec:{url:"https://g.cda.pl/g.php?pixel&vi=ZTRkZjEyMWJkNTFlOTY5MTQyODkyZGVjODM0MWFkNTU_MTg5NA&pl=video60sec&ct=[timestamp]",fired:!1},video120sec:{url:"https://g.cda.pl/g.php?pixel&vi=ZTRkZjEyMWJkNTFlOTY5MTQyODkyZGVjODM0MWFkNTU_MTg5NA&pl=video120sec&ct=[timestamp]",fired:!1},video180sec:{url:"https://g.cda.pl/g.php?pixel&vi=ZTRkZjEyMWJkNTFlOTY5MTQyODkyZGVjODM0MWFkNTU_MTg5NA&pl=video180sec&ct=[timestamp]",fired:!1},video240sec:{url:"https://g.cda.pl/g.php?pixel&vi=ZTRkZjEyMWJkNTFlOTY5MTQyODkyZGVjODM0MWFkNTU_MTg5NA&pl=video240sec&ct=[timestamp]",
fired:!1},video300sec:{url:"https://g.cda.pl/g.php?pixel&vi=ZTRkZjEyMWJkNTFlOTY5MTQyODkyZGVjODM0MWFkNTU_MTg5NA&pl=video300sec&ct=[timestamp]",fired:!1},video360sec:{url:"https://g.cda.pl/g.php?pixel&vi=ZTRkZjEyMWJkNTFlOTY5MTQyODkyZGVjODM0MWFkNTU_MTg5NA&pl=video360sec&ct=[timestamp]",fired:!1},video420sec:{url:"https://g.cda.pl/g.php?pixel&vi=ZTRkZjEyMWJkNTFlOTY5MTQyODkyZGVjODM0MWFkNTU_MTg5NA&pl=video420sec&ct=[timestamp]",fired:!1},video480sec:{url:"https://g.cda.pl/g.php?pixel&vi=ZTRkZjEyMWJkNTFlOTY5MTQyODkyZGVjODM0MWFkNTU_MTg5NA&pl=video480sec&ct=[timestamp]",
fired:!1},video540sec:{url:"https://g.cda.pl/g.php?pixel&vi=ZTRkZjEyMWJkNTFlOTY5MTQyODkyZGVjODM0MWFkNTU_MTg5NA&pl=video540sec&ct=[timestamp]",fired:!1},video600sec:{url:"https://g.cda.pl/g.php?pixel&vi=ZTRkZjEyMWJkNTFlOTY5MTQyODkyZGVjODM0MWFkNTU_MTg5NA&pl=video600sec&ct=[timestamp]",fired:!1},video148sec:{url:"https://g.cda.pl/g.php?pixel&vi=ZTRkZjEyMWJkNTFlOTY5MTQyODkyZGVjODM0MWFkNTU_MTg5NA&pl=video148sec&ct=[timestamp]",fired:!1}}:"412584104"==a?{impression:{url:"https://g.cda.pl/g.php?pixel&vi=YjA2YTg0Y2Y5YjFlNGI2MGI3OTRlZWM1NTJjZDgxZTE_MTg5Nw&pl=impression&ct=[timestamp]",
fired:!1},start:{url:"https://g.cda.pl/g.php?pixel&vi=YjA2YTg0Y2Y5YjFlNGI2MGI3OTRlZWM1NTJjZDgxZTE_MTg5Nw&pl=start&ct=[timestamp]",fired:!1},firstQuartile:{url:"https://g.cda.pl/g.php?pixel&vi=YjA2YTg0Y2Y5YjFlNGI2MGI3OTRlZWM1NTJjZDgxZTE_MTg5Nw&pl=firstQuartile&ct=[timestamp]",fired:!1},midpoint:{url:"https://g.cda.pl/g.php?pixel&vi=YjA2YTg0Y2Y5YjFlNGI2MGI3OTRlZWM1NTJjZDgxZTE_MTg5Nw&pl=midpoint&ct=[timestamp]",fired:!1},thirdQuartile:{url:"https://g.cda.pl/g.php?pixel&vi=YjA2YTg0Y2Y5YjFlNGI2MGI3OTRlZWM1NTJjZDgxZTE_MTg5Nw&pl=thirdQuartile&ct=[timestamp]",
fired:!1},complete:{url:"https://g.cda.pl/g.php?pixel&vi=YjA2YTg0Y2Y5YjFlNGI2MGI3OTRlZWM1NTJjZDgxZTE_MTg5Nw&pl=complete&ct=[timestamp]",fired:!1},video60sec:{url:"https://g.cda.pl/g.php?pixel&vi=YjA2YTg0Y2Y5YjFlNGI2MGI3OTRlZWM1NTJjZDgxZTE_MTg5Nw&pl=video60sec&ct=[timestamp]",fired:!1},video120sec:{url:"https://g.cda.pl/g.php?pixel&vi=YjA2YTg0Y2Y5YjFlNGI2MGI3OTRlZWM1NTJjZDgxZTE_MTg5Nw&pl=video120sec&ct=[timestamp]",fired:!1},video180sec:{url:"https://g.cda.pl/g.php?pixel&vi=YjA2YTg0Y2Y5YjFlNGI2MGI3OTRlZWM1NTJjZDgxZTE_MTg5Nw&pl=video180sec&ct=[timestamp]",
fired:!1},video240sec:{url:"https://g.cda.pl/g.php?pixel&vi=YjA2YTg0Y2Y5YjFlNGI2MGI3OTRlZWM1NTJjZDgxZTE_MTg5Nw&pl=video240sec&ct=[timestamp]",fired:!1},video300sec:{url:"https://g.cda.pl/g.php?pixel&vi=YjA2YTg0Y2Y5YjFlNGI2MGI3OTRlZWM1NTJjZDgxZTE_MTg5Nw&pl=video300sec&ct=[timestamp]",fired:!1},video360sec:{url:"https://g.cda.pl/g.php?pixel&vi=YjA2YTg0Y2Y5YjFlNGI2MGI3OTRlZWM1NTJjZDgxZTE_MTg5Nw&pl=video360sec&ct=[timestamp]",fired:!1},video420sec:{url:"https://g.cda.pl/g.php?pixel&vi=YjA2YTg0Y2Y5YjFlNGI2MGI3OTRlZWM1NTJjZDgxZTE_MTg5Nw&pl=video420sec&ct=[timestamp]",
fired:!1},video480sec:{url:"https://g.cda.pl/g.php?pixel&vi=YjA2YTg0Y2Y5YjFlNGI2MGI3OTRlZWM1NTJjZDgxZTE_MTg5Nw&pl=video480sec&ct=[timestamp]",fired:!1},video540sec:{url:"https://g.cda.pl/g.php?pixel&vi=YjA2YTg0Y2Y5YjFlNGI2MGI3OTRlZWM1NTJjZDgxZTE_MTg5Nw&pl=video540sec&ct=[timestamp]",fired:!1},video600sec:{url:"https://g.cda.pl/g.php?pixel&vi=YjA2YTg0Y2Y5YjFlNGI2MGI3OTRlZWM1NTJjZDgxZTE_MTg5Nw&pl=video600sec&ct=[timestamp]",fired:!1},video50sec:{url:"https://g.cda.pl/g.php?pixel&vi=YjA2YTg0Y2Y5YjFlNGI2MGI3OTRlZWM1NTJjZDgxZTE_MTg5Nw&pl=video50sec&ct=[timestamp]",
fired:!1},video115sec:{url:"https://g.cda.pl/g.php?pixel&vi=YjA2YTg0Y2Y5YjFlNGI2MGI3OTRlZWM1NTJjZDgxZTE_MTg5Nw&pl=video115sec&ct=[timestamp]",fired:!1},video122sec:{url:"https://g.cda.pl/g.php?pixel&vi=YjA2YTg0Y2Y5YjFlNGI2MGI3OTRlZWM1NTJjZDgxZTE_MTg5Nw&pl=video122sec&ct=[timestamp]",fired:!1}}:"4125850f4"==a?{impression:{url:"https://g.cda.pl/g.php?pixel&vi=ODgxYjMzZWQ3MWEwMjMzYjkyNDE2YWM0YTEzMjk4ODM_MTkwMA&pl=impression&ct=[timestamp]",fired:!1},start:{url:"https://g.cda.pl/g.php?pixel&vi=ODgxYjMzZWQ3MWEwMjMzYjkyNDE2YWM0YTEzMjk4ODM_MTkwMA&pl=start&ct=[timestamp]",
fired:!1},firstQuartile:{url:"https://g.cda.pl/g.php?pixel&vi=ODgxYjMzZWQ3MWEwMjMzYjkyNDE2YWM0YTEzMjk4ODM_MTkwMA&pl=firstQuartile&ct=[timestamp]",fired:!1},midpoint:{url:"https://g.cda.pl/g.php?pixel&vi=ODgxYjMzZWQ3MWEwMjMzYjkyNDE2YWM0YTEzMjk4ODM_MTkwMA&pl=midpoint&ct=[timestamp]",fired:!1},thirdQuartile:{url:"https://g.cda.pl/g.php?pixel&vi=ODgxYjMzZWQ3MWEwMjMzYjkyNDE2YWM0YTEzMjk4ODM_MTkwMA&pl=thirdQuartile&ct=[timestamp]",fired:!1},complete:{url:"https://g.cda.pl/g.php?pixel&vi=ODgxYjMzZWQ3MWEwMjMzYjkyNDE2YWM0YTEzMjk4ODM_MTkwMA&pl=complete&ct=[timestamp]",
fired:!1},video60sec:{url:"https://g.cda.pl/g.php?pixel&vi=ODgxYjMzZWQ3MWEwMjMzYjkyNDE2YWM0YTEzMjk4ODM_MTkwMA&pl=video60sec&ct=[timestamp]",fired:!1},video120sec:{url:"https://g.cda.pl/g.php?pixel&vi=ODgxYjMzZWQ3MWEwMjMzYjkyNDE2YWM0YTEzMjk4ODM_MTkwMA&pl=video120sec&ct=[timestamp]",fired:!1},video180sec:{url:"https://g.cda.pl/g.php?pixel&vi=ODgxYjMzZWQ3MWEwMjMzYjkyNDE2YWM0YTEzMjk4ODM_MTkwMA&pl=video180sec&ct=[timestamp]",fired:!1},video240sec:{url:"https://g.cda.pl/g.php?pixel&vi=ODgxYjMzZWQ3MWEwMjMzYjkyNDE2YWM0YTEzMjk4ODM_MTkwMA&pl=video240sec&ct=[timestamp]",
fired:!1},video300sec:{url:"https://g.cda.pl/g.php?pixel&vi=ODgxYjMzZWQ3MWEwMjMzYjkyNDE2YWM0YTEzMjk4ODM_MTkwMA&pl=video300sec&ct=[timestamp]",fired:!1},video360sec:{url:"https://g.cda.pl/g.php?pixel&vi=ODgxYjMzZWQ3MWEwMjMzYjkyNDE2YWM0YTEzMjk4ODM_MTkwMA&pl=video360sec&ct=[timestamp]",fired:!1},video420sec:{url:"https://g.cda.pl/g.php?pixel&vi=ODgxYjMzZWQ3MWEwMjMzYjkyNDE2YWM0YTEzMjk4ODM_MTkwMA&pl=video420sec&ct=[timestamp]",fired:!1},video480sec:{url:"https://g.cda.pl/g.php?pixel&vi=ODgxYjMzZWQ3MWEwMjMzYjkyNDE2YWM0YTEzMjk4ODM_MTkwMA&pl=video480sec&ct=[timestamp]",
fired:!1},video540sec:{url:"https://g.cda.pl/g.php?pixel&vi=ODgxYjMzZWQ3MWEwMjMzYjkyNDE2YWM0YTEzMjk4ODM_MTkwMA&pl=video540sec&ct=[timestamp]",fired:!1},video600sec:{url:"https://g.cda.pl/g.php?pixel&vi=ODgxYjMzZWQ3MWEwMjMzYjkyNDE2YWM0YTEzMjk4ODM_MTkwMA&pl=video600sec&ct=[timestamp]",fired:!1},video54sec:{url:"https://g.cda.pl/g.php?pixel&vi=ODgxYjMzZWQ3MWEwMjMzYjkyNDE2YWM0YTEzMjk4ODM_MTkwMA&pl=video54sec&ct=[timestamp]",fired:!1}}:"41258896e"==a?{impression:{url:"https://g.cda.pl/g.php?pixel&vi=YTNmYmM1MWExNjMzMWM1NGZhMGFmZjUzNDdlNDNjODU_MTkwMw&pl=impression&ct=[timestamp]",
fired:!1},start:{url:"https://g.cda.pl/g.php?pixel&vi=YTNmYmM1MWExNjMzMWM1NGZhMGFmZjUzNDdlNDNjODU_MTkwMw&pl=start&ct=[timestamp]",fired:!1},firstQuartile:{url:"https://g.cda.pl/g.php?pixel&vi=YTNmYmM1MWExNjMzMWM1NGZhMGFmZjUzNDdlNDNjODU_MTkwMw&pl=firstQuartile&ct=[timestamp]",fired:!1},midpoint:{url:"https://g.cda.pl/g.php?pixel&vi=YTNmYmM1MWExNjMzMWM1NGZhMGFmZjUzNDdlNDNjODU_MTkwMw&pl=midpoint&ct=[timestamp]",fired:!1},thirdQuartile:{url:"https://g.cda.pl/g.php?pixel&vi=YTNmYmM1MWExNjMzMWM1NGZhMGFmZjUzNDdlNDNjODU_MTkwMw&pl=thirdQuartile&ct=[timestamp]",
fired:!1},complete:{url:"https://g.cda.pl/g.php?pixel&vi=YTNmYmM1MWExNjMzMWM1NGZhMGFmZjUzNDdlNDNjODU_MTkwMw&pl=complete&ct=[timestamp]",fired:!1},video60sec:{url:"https://g.cda.pl/g.php?pixel&vi=YTNmYmM1MWExNjMzMWM1NGZhMGFmZjUzNDdlNDNjODU_MTkwMw&pl=video60sec&ct=[timestamp]",fired:!1},video120sec:{url:"https://g.cda.pl/g.php?pixel&vi=YTNmYmM1MWExNjMzMWM1NGZhMGFmZjUzNDdlNDNjODU_MTkwMw&pl=video120sec&ct=[timestamp]",fired:!1},video180sec:{url:"https://g.cda.pl/g.php?pixel&vi=YTNmYmM1MWExNjMzMWM1NGZhMGFmZjUzNDdlNDNjODU_MTkwMw&pl=video180sec&ct=[timestamp]",
fired:!1},video240sec:{url:"https://g.cda.pl/g.php?pixel&vi=YTNmYmM1MWExNjMzMWM1NGZhMGFmZjUzNDdlNDNjODU_MTkwMw&pl=video240sec&ct=[timestamp]",fired:!1},video300sec:{url:"https://g.cda.pl/g.php?pixel&vi=YTNmYmM1MWExNjMzMWM1NGZhMGFmZjUzNDdlNDNjODU_MTkwMw&pl=video300sec&ct=[timestamp]",fired:!1},video360sec:{url:"https://g.cda.pl/g.php?pixel&vi=YTNmYmM1MWExNjMzMWM1NGZhMGFmZjUzNDdlNDNjODU_MTkwMw&pl=video360sec&ct=[timestamp]",fired:!1},video420sec:{url:"https://g.cda.pl/g.php?pixel&vi=YTNmYmM1MWExNjMzMWM1NGZhMGFmZjUzNDdlNDNjODU_MTkwMw&pl=video420sec&ct=[timestamp]",
fired:!1},video480sec:{url:"https://g.cda.pl/g.php?pixel&vi=YTNmYmM1MWExNjMzMWM1NGZhMGFmZjUzNDdlNDNjODU_MTkwMw&pl=video480sec&ct=[timestamp]",fired:!1},video540sec:{url:"https://g.cda.pl/g.php?pixel&vi=YTNmYmM1MWExNjMzMWM1NGZhMGFmZjUzNDdlNDNjODU_MTkwMw&pl=video540sec&ct=[timestamp]",fired:!1},video600sec:{url:"https://g.cda.pl/g.php?pixel&vi=YTNmYmM1MWExNjMzMWM1NGZhMGFmZjUzNDdlNDNjODU_MTkwMw&pl=video600sec&ct=[timestamp]",fired:!1},video229sec:{url:"https://g.cda.pl/g.php?pixel&vi=YTNmYmM1MWExNjMzMWM1NGZhMGFmZjUzNDdlNDNjODU_MTkwMw&pl=video229sec&ct=[timestamp]",
fired:!1},video247sec:{url:"https://g.cda.pl/g.php?pixel&vi=YTNmYmM1MWExNjMzMWM1NGZhMGFmZjUzNDdlNDNjODU_MTkwMw&pl=video247sec&ct=[timestamp]",fired:!1},video253sec:{url:"https://g.cda.pl/g.php?pixel&vi=YTNmYmM1MWExNjMzMWM1NGZhMGFmZjUzNDdlNDNjODU_MTkwMw&pl=video253sec&ct=[timestamp]",fired:!1}}:null};Q.S=function(a){if(F(a)){var b=new window.Image(1,1);b.onload=b.onerror=function(){delete b};b.src=a}};
Q.Yd=function(){this.log(this.c,"check autoplay");null==this.video||0<this.l()||2<this.mb||(this.mb+=1,this.video.muted=!0,this.video.autoplay="autoplay",this.Bb=!0,this.I(0,!0),this.controls.I(0,!0),this.controls.H(!0),this.K||this.va()||this.controls.ue(),this.rb(),this.Bg())};Q.rd=function(){this.log(this.c,"check scroll");this.rb();this.Jd()};
Q.Jd=function(){this.log(this.c,"remove scroll events");A(this.j.He)||V(window,"touchstart",this.j.He);A(this.j.Ge)||V(window,"scroll",this.j.Ge);A(this.j.Fe)||V(window,"resize",this.j.Fe)};Q.Bg=function(){this.j.He=U(window,"touchstart",this.rd,this);this.j.Ge=U(window,"scroll",this.rd,this);this.j.Fe=U(window,"resize",this.rd,this)};
Q.uh=function(){var a=event||window.event;null!==a&&null!==a.data&&(a=a.data,"player-viewable"==a?this.Rd=this.$h=!0:"player-notviewable"==a?(this.$h=!0,this.Rd=!1):"player-mini-fly-show"==a?this.Dh=!0:"player-mini-fly-hide"==a?this.Dh=!1:"player-close"==a&&this.I(0,!0))};
Q.Le=function(){if(window.WebKitPlaybackTargetAvailabilityEvent){var a=this;this.video.addEventListener("webkitplaybacktargetavailabilitychanged",function(b){switch(b.availability){case "available":a.view.content.s("pb-airplay-posible");break;default:a.view.content.C("pb-airplay-posible")}a.view.il.addEventListener("click",function(){a.video.webkitShowPlaybackTargetPicker()})})}else this.view.content.C("pb-airplay-posible")};Q.Rl=function(){this.view.content.C("pb-airplay-posible")};
Q.Ij=function(a){null!=a&&(A(a.reason)||"InsufficientBufferRule: Buffer is empty"!=a.reason?A(a.type)||"streamUpdated"!=a.type||(this.Hf=!1):this.Hf=!0);for(var b in a)if("object"!=typeof a[b]){if("message"==b){this.log("cda.Player.DashJS","log",a[b]);try{if(-1<a[b].indexOf("Denied by stream limiting")){this.o.reset();this.view.show(this.view.alert);this.view.lb(this.view.Sa,"Zbyt wiele os\u00f3b (3) korzysta z Twojego konta.");this.controls.disable();this.disabled=!0;break}if(-1<a[b].indexOf("Buffer is empty! Stalling")){this.ab(Math.ceil(this.l()));
break}if(-1<a[b].indexOf("play() failed because the user didn't interact with the document first")&&this.Uc&&this.autoplay&&this.video.paused&&!this.controls.Z.R()&&!this.controls.N.R()&&!this.K){this.video.muted=!0;this.video.autoplay="autoplay";this.Bb=!0;this.I(0,!0);this.controls.I(0,!0);this.controls.ue();this.o.play();break}if(-1<a[b].indexOf("requestMediaKeySystemAccess is disabled by feature policy"))this.o.reset(),this.view.show(this.view.alert),this.view.Sa.innerHTML='Wyst\u0105pi\u0142 problem z odtwarzaniem materia\u0142u wideo. <br>Kliknij i przejd\u017a na podstron\u0119 z filmem <a href="https://www.cda.pl/video/'+
this.f.id+'" target="_blank" style="color:#e28525">www.cda.pl/video/'+this.f.id+"</a>",this.controls.disable(),this.disabled=!0;else if(-1<a[b].indexOf("KeySystem Access Denied")&&this.h.F()&&this.h.Wc()){this.o.reset();this.view.show(this.view.alert);var d="market://details?id=pl.cda";this.h.ua()&&(d="https://apps.apple.com/pl/app/cda-pl/id1318175670");this.view.Sa.innerHTML='Od\u015bwie\u017c stron\u0119 i spr\u00f3buj ponownie. <br>(Je\u015bli jeste\u015b w trybie incognito to uruchom przegl\u0105dark\u0119 w trybie normalnym lub <a href="'+
d+'" style="color:#e28525">pobierz aplikacj\u0119 CDA na swoje urz\u0105dzenie</a>.)';this.controls.disable();this.disabled=!0}}catch(g){}}if("type"==b&&"playbackNotAllowed"==a[b]&&this.M&&this.autoplay&&this.video.paused&&!this.controls.Z.R()&&!this.controls.N.R()&&!this.K){this.video.muted=!0;this.video.autoplay="autoplay";this.Bb=!0;this.I(0,!0);this.controls.I(0,!0);this.controls.ue();this.o.play();break}"message"!=b&&"type"!=b&&"level"!=b&&this.log("cda.Player.DashJS",b,a[b])}else for(var f in a[b])this.log("cda.Player.DashJS",
f,JSON.stringify(a[b][f]))};
Q.Pj=function(){this.log(this.c,"PLAYBACK PLAYING");this.K||!this.view.content.G("pb-pip-enabled")||this.view.content.G("pb-frame-posible")||this.T.isConnected()||this.view.pd.G("pb-info-ccast-show")||this.view.content.s("pb-frame-posible");if(!this.K&&!this.M&&!this.view.content.G("pb-aspect-posible")){var a=window.screen.height>window.screen.width?window.screen.height/window.screen.width:window.screen.width/window.screen.height;if(this.h.F()||1.9<=a)this.view.content.s("pb-aspect-posible"),this.h.F()&&
!this.controls.hc&&1.8<=a&&this.controls.Lf()}this.ce=!1;this.controls.H(!1);this.Ya(this.state.fa);this.controls.ca(!0);this.M&&this.lf&&(this.lf=!1,this.controls.Vg(),this.controls.Ga&&this.controls.Sb());this.kf&&(this.kf=!1);if(-1==this.ja&&0<this.f.duration&&33!=this.Cc()&&!this.K&&!1!==this.la()&&(this.Qb()||"premium"==this.f.type||"premium_free"==this.f.type))try{a="";-1<location.href.indexOf(".cda.pl/powtorki-z-telewizji/")&&(a="&vid="+this.ge());var b=this;window.$.ajax({url:"//api.cda.pl/h.php?uid="+
this.la()+a,type:"post",crossDomain:!0,xhrFields:{withCredentials:!0},data:{currentTime:0,duration:this.f.duration,test:this.Qb(),server:this.he()},success:function(){b.ja=0}})}catch(d){this.log(this.c,d)}};
Q.Hj=function(a){if(this.Uc)this.view.m(this.view.alert),this.controls.enable(),this.getState()===this.state.fa&&this.video.paused&&this.o.play();else if(!1===this.Ri)this.Ri=!0,this.o.reset(),this.o=null,this.Xg();else try{var b=a.error.message;if(-1<b.indexOf("MEDIA_ERR_DECODE"))try{window[this.X.client].playerDrmError(this.f.id,this.f.quality,this.ba,b)}catch(g){}if(-1<b.toLowerCase().indexOf("license")||-1<b.indexOf("MEDIA_ERR_DECODE")){this.M&&this.controls.ve.s("pb-time-tv-info-live-disable");
this.view.show(this.view.alert);this.view.lb(this.view.Sa,"Wyst\u0105pi\u0142 b\u0142\u0105d podczas odtwarzania. Od\u015bwie\u017c stron\u0119 i spr\u00f3buj ponownie.<br>(error code: P1033)");this.controls.disable();this.disabled=!0;var d=window.location.href,f=Math.floor(this.l());-1<window.location.href.indexOf("?")?null==this.ib("t")?d+="&t="+f:(d=new URL(d),d.searchParams.set("t",f),d=d.toString()):d+="?t="+f;-1==d.indexOf("pr")&&(window.location.href=d+"&pr")}else-1<b.indexOf("KeySystem Access Denied")&&
this.h.F()&&this.h.Wc()&&(this.o.reset(),this.view.show(this.view.alert),a="market://details?id=pl.cda",this.h.ua()&&(a="https://apps.apple.com/pl/app/cda-pl/id1318175670"),this.view.Sa.innerHTML=this.M?"Od\u015bwie\u017c stron\u0119 i spr\u00f3buj ponownie. <br>(Je\u015bli jeste\u015b w trybie incognito to uruchom przegl\u0105dark\u0119 w trybie normalnym.)":'Od\u015bwie\u017c stron\u0119 i spr\u00f3buj ponownie. <br>(Je\u015bli jeste\u015b w trybie incognito to uruchom przegl\u0105dark\u0119 w trybie normalnym lub <a href="'+
a+'" style="color:#e28525">pobierz aplikacj\u0119 CDA na swoje urz\u0105dzenie</a>.)',this.controls.disable(),this.disabled=!0)}catch(g){}};Q.Oj=function(a){this.log(this.c,"player error");try{var b=a.error.message;this.log(this.c,b);try{window[this.X.client].playerDrmError(this.f.id,this.f.quality,this.ba,b)}catch(d){}}catch(d){}};
Q.Uj=function(){this.log(this.c,"PLAYBACK WAITING");this.ce=!0;this.controls.H(!0);var a=this.o.getBufferLength();if(this.M&&null==this.sd&&(this.Hf||.5>this.o.getBufferLength())&&!this.Kg){var b=this;this.sd=window.setTimeout(function(){(b.Hf||.5>b.o.getBufferLength())&&b.ce&&a==b.o.getBufferLength()?b.Kg=!0:window.clearTimeout(b.sd);b.sd=null},5E3)}};Q.Qj=function(){};Q.Tj=function(){return this.Zc()};Q.Wj=function(){this.log(this.c,"STREAM INIT");this.Jd();this.M&&(this.lf=!0);try{if(B(window.onVideoDashStreamInit))window.onVideoDashStreamInit(this.o)}catch(a){}try{this.Qh()}catch(a){}};
Q.Jj=function(a){!a.request||A(a.request.mediaInfo)||A(a.request.mediaInfo.streamInfo)||A(a.request.mediaInfo.streamInfo.manifestInfo)||A(a.request.mediaInfo.streamInfo.manifestInfo.isDynamic)||!a.request.mediaInfo.streamInfo.manifestInfo.isDynamic?this.Jg=!1:(this.Jg=!0,this.controls.Mg.m(),this.controls.Ea.m(),this.Xa=-1);if(a.request&&("InitializationSegment"===a.request.type||"MediaSegment"==a.request.type)&&!this.be){this.be=!0;a=this.o.getBitrateInfoListFor("video");var b=-1;-1<this.ba.indexOf("redefine.pl")&&
(b=a.length-1,this.o.setQualityFor("video",b));if(1<a.length&&-1==b){for(var d=0;d<a.length;d++){if(1920==a[d].width&&"hd"==this.f.quality){b=a[d].qualityIndex;break}if(1280==a[d].width&&"sd"==this.f.quality){b=a[d].qualityIndex;break}if(854==a[d].width&&"lq"==this.f.quality){b=a[d].qualityIndex;break}if(640==a[d].width&&"vl"==this.f.quality){b=a[d].qualityIndex;break}}this.o.setQualityFor("video",b)}this.log(this.c,"video qualities");this.log(this.c,a);this.log(this.c,"current video quality: "+b);
a=this.o.getBitrateInfoListFor("audio");b=-1;if(-1<this.ih){if(0<a.length)for(d=0;d<a.length;d++)if(a[d].bitrate==this.ih){b=a[d].qualityIndex;break}}else"hd"==this.f.quality||this.jh?0<a.length&&(b=a.length-1):b=0;this.log(this.c,"audio qualities");this.log(this.c,a);this.log(this.c,"current audio quality: "+b);this.o.setQualityFor("audio",b)}};Q.Nj=function(){return this.Gd()};
Q.Rj=function(){this.ed(!1);this.Ld(-1);this.te();-1<this.ja&&(this.ja=this.l());this.o.play();this.controls.H(!1);try{var a=this.controls.Ea.querySelectorAll(".pb-progress-midroll-marker");if(!z(a)&&0<a.length)for(var b=0;b<a.length;b++){var d=a[b];!z(d)&&!z(d.getAttribute("data-time"))&&d.getAttribute("data-time")<this.l()&&d.m()}}catch(f){this.log(this.c,f)}};Q.Sj=function(){this.ed(!0);this.controls.H(!0)};Q.Lj=function(a){a.error?this.log(this.c,"LICENSE REQUEST ERROR"):this.log(this.c,"LICENSE REQUEST COMPLETE")};
Q.Kj=function(a){var b=this;try{a.data.session.keyStatuses.forEach(function(a){b.log(b.c,"KEY STATUS: "+a);switch(a){case "expired":b.Uc=!1;break;case "output-restricted":b.Uc=!1;break;case "usable":b.Uc=!0,0<b.Xa&&-1===b.md&&b.Xa<b.L()&&(b.md=b.Xa,b.autoplay=!0,b.o.seek(b.Xa))}})}catch(d){this.log(this.c,d)}};Q.Vj=function(){0>=this.l()&&this.controls.H(!0)};
Q.Mj=function(a){if(a.data&&a.data.availabilityStartTime&&(a=(new Date(a.data.availabilityStartTime)).getTime(),null==this.Pd&&(this.Pd=a,this.log(this.c,"availabilityStartTime saved: "+this.Pd)),null!=this.Pd&&this.Pd!=a&&!this.kf)){this.log(this.c,"availabilityStartTime changed - restarting...");this.kf=!0;this.Pd=null;this.autoplay=!0;var b=this;window.setTimeout(function(){b.Pk(b.options)},2E3)}};
Q.Xg=function(){this.log(this.c,"init dashjs");this.storage.get("dashjs_video_bitrate")&&this.storage.remove("dashjs_video_bitrate");try{if(null!=this.o){this.be=this.Uc=this.Ig=!1;var a={};z(this.Xc)||(a["com.widevine.alpha"]={},a["com.widevine.alpha"].serverURL=this.Xc,a["com.widevine.alpha"].videoRobustness="SW_SECURE_CRYPTO",a["com.widevine.alpha"].audioRobustness="SW_SECURE_CRYPTO",z(this.Eb)||(a["com.widevine.alpha"].httpRequestHeaders={"x-dt-custom-data":this.Eb}));z(this.Bd)||(a["com.microsoft.playready"]=
{},a["com.microsoft.playready"].serverURL=this.Bd,z(this.Ad)||(a["com.microsoft.playready"].httpRequestHeaders={"x-dt-custom-data":this.Ad}));this.o.setProtectionData(a);this.o.attachSource(this.ba)}else this.o=dashjs.MediaPlayer().create(),this.be=this.Uc=!1,a={},z(this.Xc)||(a["com.widevine.alpha"]={},a["com.widevine.alpha"].serverURL=this.Xc,a["com.widevine.alpha"].videoRobustness="SW_SECURE_CRYPTO",a["com.widevine.alpha"].audioRobustness="SW_SECURE_CRYPTO",z(this.Eb)||(a["com.widevine.alpha"].httpRequestHeaders=
{"x-dt-custom-data":this.Eb})),z(this.Bd)||(a["com.microsoft.playready"]={},a["com.microsoft.playready"].serverURL=this.Bd,z(this.Ad)||(a["com.microsoft.playready"].httpRequestHeaders={"x-dt-custom-data":this.Ad})),this.o.initialize(this.video,this.ba,!0),this.o.setProtectionData(a),this.Wl(),this.j.contextmenu||(this.j.contextmenu=U(this.view.rc,"contextmenu",this.qc("contextmenu"),this)),this.j.contextmenu2||(this.j.contextmenu2=U(this.video,"contextmenu",this.qc("contextmenu"),this)),this.j.click||
(this.j.click=U(this.video,"click",this.qc("click"),this)),this.M||this.o.updateSettings({streaming:{abr:{autoSwitchBitrate:{video:this.Ec,audio:this.Ec}}}}),a=!0,this.M&&(a=!this.h.F()),this.o.updateSettings({streaming:{abr:{bandwidthSafetyFactor:this.M?.7:.9,initialBitrate:{}},lastBitrateCachingInfo:{enabled:this.M?!1:!0},lastMediaSettingsCachingInfo:{enabled:this.M?!1:!0},buffer:{fastSwitchEnabled:a},retryIntervals:{MPD:1E3},retryAttempts:{MPD:5E3,XLinkExpansion:5E3,MediaSegment:5E3,InitializationSegment:5E3,
BitstreamSwitchingSegment:5E3,IndexSegment:5E3,other:5E3,license:10,lowLatencyMultiplyFactor:100,FragmentInfoSegment:5E3},fragmentRequestTimeout:this.M?5E3:0}}),this.Ec&&(this.be=!0),this.o.setAutoPlay(!0);this.Ya(this.state.fa);this.controls.ca(!0);this.controls.H(!0);window.__cda_dashjs=this.o}catch(b){this.log(this.c,b)}};Q.qp=function(){return"BUFFER_EMPTY BUFFER_LOADED CAN_PLAY ERROR LOG MANIFEST_LOADED FRAGMENT_LOADING_STARTED FRAGMENT_LOADING_PROGRESS FRAGMENT_LOADING_COMPLETED PERIOD_SWITCH_COMPLETED PERIOD_SWITCH_STARTED PLAYBACK_ENDED PLAYBACK_ERROR PLAYBACK_METADATA_LOADED PLAYBACK_PAUSED PLAYBACK_PLAYING PLAYBACK_PROGRESS PLAYBACK_RATE_CHANGED PLAYBACK_SEEKED PLAYBACK_SEEKING PLAYBACK_STARTED PLAYBACK_STALLED PLAYBACK_TIME_UPDATED PLAYBACK_WAITING PLAYBACK_NOT_ALLOWED GAP_CAUSED_INTERNAL_SEEK GAP_CAUSED_SEEK_TO_PERIOD_END AST_IN_FUTURE STREAM_INITIALIZED STREAM_INITIALIZING STREAM_TEARDOWN_COMPLETE STREAM_UPDATED SOURCE_INITIALIZED QUALITY_CHANGE_REQUESTED QUALITY_CHANGE_RENDERED TEXT_TRACK_ADDED TEXT_TRACKS_ADDED".split(" ")};
Q.Wl=function(){for(var a="BUFFER_EMPTY BUFFER_LOADED CAN_PLAY ERROR LOG MANIFEST_LOADED FRAGMENT_LOADING_STARTED FRAGMENT_LOADING_PROGRESS FRAGMENT_LOADING_COMPLETED PERIOD_SWITCH_COMPLETED PERIOD_SWITCH_STARTED PLAYBACK_ENDED PLAYBACK_ERROR PLAYBACK_METADATA_LOADED PLAYBACK_PAUSED PLAYBACK_PLAYING PLAYBACK_PROGRESS PLAYBACK_RATE_CHANGED PLAYBACK_SEEKED PLAYBACK_SEEKING PLAYBACK_STARTED PLAYBACK_STALLED PLAYBACK_TIME_UPDATED PLAYBACK_WAITING PLAYBACK_NOT_ALLOWED GAP_CAUSED_INTERNAL_SEEK GAP_CAUSED_SEEK_TO_PERIOD_END AST_IN_FUTURE STREAM_INITIALIZED STREAM_INITIALIZING STREAM_TEARDOWN_COMPLETE STREAM_UPDATED SOURCE_INITIALIZED QUALITY_CHANGE_REQUESTED QUALITY_CHANGE_RENDERED TEXT_TRACK_ADDED TEXT_TRACKS_ADDED".split(" "),
b=0;b<a.length;b++)try{if("STREAM_INITIALIZED"==a[b])this.o.on(window.dashjs.MediaPlayer.events[a[b]],this.D.J(this.Wj,this));else if("ERROR"==a[b])this.o.on(window.dashjs.MediaPlayer.events[a[b]],this.D.J(this.Hj,this));else if("PLAYBACK_ERROR"==a[b])this.o.on(window.dashjs.MediaPlayer.events[a[b]],this.D.J(this.Oj,this));else if("PLAYBACK_TIME_UPDATED"==a[b])this.o.on(window.dashjs.MediaPlayer.events[a[b]],this.D.J(this.Tj,this));else if("PLAYBACK_PLAYING"==a[b])this.o.on(window.dashjs.MediaPlayer.events[a[b]],
this.D.J(this.Pj,this));else if("PLAYBACK_ENDED"==a[b])this.o.on(window.dashjs.MediaPlayer.events[a[b]],this.D.J(this.Nj,this));else if("PLAYBACK_SEEKED"==a[b])this.o.on(window.dashjs.MediaPlayer.events[a[b]],this.D.J(this.Rj,this));else if("PLAYBACK_SEEKING"==a[b])this.o.on(window.dashjs.MediaPlayer.events[a[b]],this.D.J(this.Sj,this));else if("PLAYBACK_WAITING"==a[b])this.o.on(window.dashjs.MediaPlayer.events[a[b]],this.D.J(this.Uj,this));else if("PLAYBACK_PROGRESS"==a[b])this.o.on(window.dashjs.MediaPlayer.events[a[b]],
this.D.J(this.Qj,this));else if("FRAGMENT_LOADING_STARTED"==a[b])this.o.on(window.dashjs.MediaPlayer.events[a[b]],this.D.J(this.Vj,this));else if("FRAGMENT_LOADING_COMPLETED"==a[b])this.o.on(window.dashjs.MediaPlayer.events[a[b]],this.D.J(this.Jj,this));else if("MANIFEST_LOADED"==a[b])this.o.on(window.dashjs.MediaPlayer.events[a[b]],this.D.J(this.Mj,this));else this.o.on(window.dashjs.MediaPlayer.events[a[b]],this.D.J(this.Ij,this))}catch(d){}this.o.on("public_licenseRequestComplete",this.D.J(this.Lj,
this));this.o.on("public_keyStatusesChanged",this.D.J(this.Kj,this))};
Q.$n=function(){for(var a="BUFFER_EMPTY BUFFER_LOADED CAN_PLAY ERROR LOG MANIFEST_LOADED FRAGMENT_LOADING_STARTED FRAGMENT_LOADING_PROGRESS FRAGMENT_LOADING_COMPLETED PERIOD_SWITCH_COMPLETED PERIOD_SWITCH_STARTED PLAYBACK_ENDED PLAYBACK_ERROR PLAYBACK_METADATA_LOADED PLAYBACK_PAUSED PLAYBACK_PLAYING PLAYBACK_PROGRESS PLAYBACK_RATE_CHANGED PLAYBACK_SEEKED PLAYBACK_SEEKING PLAYBACK_STARTED PLAYBACK_STALLED PLAYBACK_TIME_UPDATED PLAYBACK_WAITING PLAYBACK_NOT_ALLOWED GAP_CAUSED_INTERNAL_SEEK GAP_CAUSED_SEEK_TO_PERIOD_END AST_IN_FUTURE STREAM_INITIALIZED STREAM_INITIALIZING STREAM_TEARDOWN_COMPLETE STREAM_UPDATED SOURCE_INITIALIZED QUALITY_CHANGE_REQUESTED QUALITY_CHANGE_RENDERED TEXT_TRACK_ADDED TEXT_TRACKS_ADDED".split(" "),b=
0;b<a.length;b++)try{"STREAM_INITIALIZED"==a[b]?this.o.off(window.dashjs.MediaPlayer.events[a[b]],this.D.J(this.Wj,this)):"ERROR"==a[b]?this.o.off(window.dashjs.MediaPlayer.events[a[b]],this.D.J(this.Hj,this)):"PLAYBACK_ERROR"==a[b]?this.o.off(window.dashjs.MediaPlayer.events[a[b]],this.D.J(this.Oj,this)):"PLAYBACK_TIME_UPDATED"==a[b]?this.o.off(window.dashjs.MediaPlayer.events[a[b]],this.D.J(this.Tj,this)):"PLAYBACK_PLAYING"==a[b]?this.o.off(window.dashjs.MediaPlayer.events[a[b]],this.D.J(this.Pj,
this)):"PLAYBACK_ENDED"==a[b]?this.o.off(window.dashjs.MediaPlayer.events[a[b]],this.D.J(this.Nj,this)):"PLAYBACK_SEEKED"==a[b]?this.o.off(window.dashjs.MediaPlayer.events[a[b]],this.D.J(this.Rj,this)):"PLAYBACK_SEEKING"==a[b]?this.o.off(window.dashjs.MediaPlayer.events[a[b]],this.D.J(this.Sj,this)):"PLAYBACK_WAITING"==a[b]?this.o.off(window.dashjs.MediaPlayer.events[a[b]],this.D.J(this.Uj,this)):"PLAYBACK_PROGRESS"==a[b]?this.o.off(window.dashjs.MediaPlayer.events[a[b]],this.D.J(this.Qj,this)):"FRAGMENT_LOADING_STARTED"==
a[b]?this.o.off(window.dashjs.MediaPlayer.events[a[b]],this.D.J(this.Vj,this)):"FRAGMENT_LOADING_COMPLETED"==a[b]?this.o.off(window.dashjs.MediaPlayer.events[a[b]],this.D.J(this.Jj,this)):"MANIFEST_LOADED"==a[b]?this.o.off(window.dashjs.MediaPlayer.events[a[b]],this.D.J(this.Mj,this)):this.o.off(window.dashjs.MediaPlayer.events[a[b]],this.D.J(this.Ij,this))}catch(d){}this.o.off("public_licenseRequestComplete",this.D.J(this.Lj,this));this.o.off("public_keyStatusesChanged",this.D.J(this.Kj,this))};
Q.Bp=function(){this.log(this.c,"init videojs");try{null==this.P?(this.P=window.videojs(this.video,{autoplay:!1,preload:"auto"}),this.P.eme()):this.Zh=!1;var a=this;this.P.src({src:this.wb,type:"application/x-mpegURL",keySystems:{"com.apple.fps.1_0":{certificateUri:this.Uf,certificateHeaders:{"x-dt-custom-data":this.Eb},getContentId:function(a,b){a=b;b=Array(a.length/2);for(var d=0;d<a.length/2;d++)b[d]=a[2*d];a=String.fromCharCode.apply(null,b);b=a.indexOf("skd://drmtoday?");if(-1===b)return"";a=
a.substring(b+6);a=a.replace(/assetid/gi,"assetId");return a=a.replace(/variantid/gi,"variantId")},getLicense:function(b,f,g,k){window.videojs.xhr({url:a.Vf,method:"POST",responseType:"text",body:"spc="+encodeURIComponent(btoa(String.fromCharCode.apply(null,g))),headers:{"Cache-Control":"max-age=0",Pragma:"no-cache","Content-type":"application/x-www-form-urlencoded","x-dt-custom-data":a.Eb}},function(a,b,d){a?k(a):k(null,d)})}}}});this.P.play();this.P.el().querySelector("video").classList.add("pb-video-player");
this.P.on("play",this.D.J(this.un,this));this.P.on("playing",this.D.J(this.vn,this));this.P.on("pause",this.D.J(this.tn,this));this.P.on("timeupdate",this.D.J(this.yn,this));this.P.on("seeking",this.D.J(this.xn,this));this.P.on("seeked",this.D.J(this.wn,this));this.P.on("ended",this.D.J(this.qn,this));this.P.on("error",this.D.J(this.rn,this));this.P.on("loadedmetadata",this.D.J(this.sn,this));this.video=this.P.tech({IWillNotUseThisInPlugins:!0}).el();this.controls.H(!0);try{var b=this.fe();0!=b&&
b.hasOwnProperty("volume")?this.controls.I(b.volume):this.wd("cda.player.volume")?this.controls.I(this.ac("cda.player.volume")):this.controls.I(this.controls.Jc)}catch(d){this.controls.I(this.controls.Jc)}this.controls.ud()}catch(d){this.log(this.c,d)}};
Q.un=function(){this.K||!this.view.content.G("pb-pip-enabled")||this.view.content.G("pb-frame-posible")||this.T.isConnected()||this.view.pd.G("pb-info-ccast-show")||this.view.content.s("pb-frame-posible");if(!this.K&&!this.M&&!this.view.content.G("pb-aspect-posible")){var a=window.screen.height>window.screen.width?window.screen.height/window.screen.width:window.screen.width/window.screen.height;if(this.h.F()||1.9<=a)this.view.content.s("pb-aspect-posible"),this.h.F()&&!this.controls.hc&&1.8<=a&&this.controls.Lf()}};
Q.vn=function(){this.Ya(this.state.fa);this.controls.ca(!0);if(-1==this.ja&&0<this.f.duration&&33!=this.Cc()&&!this.K&&!1!==this.la()&&(this.Qb()||"premium"==this.f.type||"premium_free"==this.f.type))try{var a="";-1<location.href.indexOf(".cda.pl/powtorki-z-telewizji/")&&(a="&vid="+this.ge());var b=this;window.$.ajax({url:"//api.cda.pl/h.php?uid="+this.la()+a,type:"post",crossDomain:!0,xhrFields:{withCredentials:!0},data:{currentTime:0,duration:this.f.duration,test:this.Qb(),server:this.he()},success:function(){b.ja=
0}})}catch(d){this.log(this.c,d)}};Q.tn=function(){};Q.yn=function(){return this.Zc()};Q.qn=function(){return this.Gd()};Q.xn=function(){this.ed(!0);this.controls.H(!0)};
Q.wn=function(){this.ed(!1);this.Ld(-1);this.te();-1<this.ja&&(this.ja=this.l());this.P.play();this.controls.H(!1);try{var a=this.controls.Ea.querySelectorAll(".pb-progress-midroll-marker");if(!z(a)&&0<a.length)for(var b=0;b<a.length;b++){var d=a[b];!z(d)&&!z(d.getAttribute("data-time"))&&d.getAttribute("data-time")<this.l()&&d.m()}}catch(f){this.log(this.c,f)}};Q.rn=function(){};Q.sn=function(){};Q.Ho=function(){window[this.X.client].tvGetProgramForAllChannels({success:this.D.J(this.Io,this)})};
Q.Io=function(a){if(a&&0<a.length){for(var b=0;b<a.length;b++)for(var d=0;d<this.ma.length;d++)if(a[b].channel==this.ma[d].url){a[b].program.actual.start_time_ts>this.ma[d].program.actual.start_time_ts&&(this.ma[d].program=a[b].program);break}try{window.tvUpdatePrograms(a)}catch(f){}}this.controls.Qk(this)};
Q.Fo=function(){1>=this.ha.program.end_time_ts||(new Date).getTime()/1E3<this.ha.program.end_time_ts||this.Uh||(this.Uh=!0,window[this.X.client].tvGetCurrentProgram(this.ha.url,this.ha.program.start_time_ts,{success:this.D.J(this.Go,this)}))};Q.Go=function(a){if(a){this.ha.program=a;for(var b=0;b<this.ma.length;b++)if(this.ha.url==this.ma[b].url){this.ma[b].program.actual=a;this.controls.cd();break}}this.Uh=!1;this.controls.Qk(this)};
Q.sl=function(a,b,d){try{window[this.X.client].videoGetLink(this.f.id,a,this.f.ts,this.f.hash2,{success:function(a){"ok"==a.status&&null!=a.resp?b(a.resp):d()},error:function(){d()}})}catch(f){d()}};Q.co=function(a){if(33!=this.Cc())try{window[this.X.client].saveVideoQuality(a)}catch(b){}};
Q.je=function(){var a=this,b,d,f,g,k,l,p;oa(new na(new u(function(q){switch(q.Fc){case 1:a.log(a.c,"init Shaka Player");window.shaka.polyfill.installAll();a.video.autoplay=!0;a.Ck=!1;null==a.aa&&(a.aa=new window.shaka.Player(a.video),b=new window.shaka.util.EventManager,d=a,b.listen(a.aa,"buffering",function(a){d.controls.H(a.buffering);d.fg=a.buffering}),b.listen(a.video,"timeupdate",a.D.J(a.en,a)),b.listen(a.video,"pause",a.D.J(a.an,a)),b.listen(a.video,"playing",a.D.J(a.bn,a)),b.listen(a.video,
"ended",a.D.J(a.Xm,a)),b.listen(a.video,"seeking",a.D.J(a.dn,a)),b.listen(a.video,"seeked",a.D.J(a.cn,a)),a.aa.addEventListener("error",a.D.J(a.Ym,a)),a.j.contextmenu||(a.j.contextmenu=U(a.view.rc,"contextmenu",a.qc("contextmenu"),a)),a.j.contextmenu2||(a.j.contextmenu2=U(a.video,"contextmenu",a.qc("contextmenu"),a)),a.j.click||(a.j.click=U(a.video,"click",a.qc("click"),a)));f=null;if(z(a.wb)||""==a.wb||!a.h.ne()&&!a.h.nj()||!a.h.ua()&&!a.h.eh()){z(a.Xc)||(g=a.Eb,z(a.Eb)||(d=a,a.aa.getNetworkingEngine().registerResponseFilter(function(){}),
a.aa.getNetworkingEngine().registerRequestFilter(function(a,b){if(a==window.shaka.net.NetworkingEngine.RequestType.MANIFEST)for(var d=0;d<b.uris.length;d++){var f=new URL(b.uris[d]);f.searchParams.has("vendorid")&&(f.searchParams.delete("vendorid"),f.searchParams.delete("userid"),f.searchParams.delete("deviceid"),b.uris[d]=f.toString())}a==window.shaka.net.NetworkingEngine.RequestType.LICENSE&&(b.headers["x-dt-custom-data"]=g)})),a.aa.configure({drm:{servers:{"com.widevine.alpha":a.Xc},advanced:{"com.widevine.alpha":{videoRobustness:"SW_SECURE_CRYPTO",
audioRobustness:"SW_SECURE_CRYPTO"}}}}));z(a.Bd)||(g=a.Ad,z(a.Ad)||a.aa.getNetworkingEngine().registerRequestFilter(function(a,b){a==window.shaka.net.NetworkingEngine.RequestType.LICENSE&&(b.headers["x-dt-custom-data"]=g)}),a.aa.configure({drm:{servers:{"com.microsoft.playready":a.Bd}}}));f=a.ba;q.Fc=2;break}d=a;a.aa.configure("streaming.useNativeHlsOnSafari",!0);a.aa.configure("drm.initDataTransform",function(a,b){if("skd"!=b)return a;window.shaka.util.StringUtils.fromBytesAutoDetect(a);b=String.fromCharCode.apply(null,
a);b=b.replace("skd://","");var f=d.aa.drmInfo().serverCertificate;return window.shaka.util.FairPlayUtils.initDataTransform(a,b,f)});z(a.Eb)||(g=a.Eb,a.aa.getNetworkingEngine().registerRequestFilter(function(a,b){if(a==window.shaka.net.NetworkingEngine.RequestType.MANIFEST)for(var d=0;d<b.uris.length;d++){var f=new URL(b.uris[d]);f.searchParams.has("vendorid")&&(f.searchParams.delete("vendorid"),f.searchParams.delete("userid"),f.searchParams.delete("deviceid"),b.uris[d]=f.toString())}a==window.shaka.net.NetworkingEngine.RequestType.LICENSE&&
(a=new Uint8Array(b.body),a=window.shaka.util.Uint8ArrayUtils.toStandardBase64(a),a="spc="+encodeURIComponent(a),b.headers["Content-Type"]="application/x-www-form-urlencoded",b.headers["x-dt-custom-data"]=g,b.body=a)}),a.aa.getNetworkingEngine().registerResponseFilter(function(a,b){a==window.shaka.net.NetworkingEngine.RequestType.LICENSE&&(a=window.shaka.util.StringUtils.fromUTF8(b.data),a=a.trim(),"<ckc>"===a.substr(0,5)&&"</ckc>"===a.substr(-6)&&(a=a.slice(5,-6)),b.data=window.shaka.util.Uint8ArrayUtils.fromBase64(a).buffer)}));
if(z(a.Uf)||z(a.Vf)){q.Fc=3;break}return t(q,fetch(a.Uf,{headers:{"x-dt-custom-data":a.Eb}}),4);case 4:return k=q.ng,t(q,k.arrayBuffer(),5);case 5:l=q.ng;if(!k.ok)return a.M&&a.controls.ve.s("pb-time-tv-info-live-disable"),a.view.show(a.view.alert),a.view.lb(a.view.Sa,"Wyst\u0105pi\u0142 b\u0142\u0105d podczas odtwarzania. Od\u015bwie\u017c stron\u0119 i spr\u00f3buj ponownie.<br>(error code: P1038)"),a.controls.disable(),a.disabled=!0,q.return();a.aa.configure({drm:{servers:{"com.apple.fps.1_0":a.Vf},
advanced:{"com.apple.fps.1_0":{serverCertificate:new Uint8Array(l)}}}});case 3:f=a.wb.replace("/stereo","");case 2:return p=1==a.Ec,a.aa.configure({abr:{enabled:p}}),a.aa.configure({drm:{retryParameters:{maxAttempts:5}},manifest:{retryParameters:{maxAttempts:5}},streaming:{retryParameters:{maxAttempts:50}}}),a.autoplay&&(-1<location.href.indexOf("a=1")||0<a.Xa)&&(a.video.muted=!0),a.log(a.c,"manifest: "+f),q.Gf=6,t(q,a.aa.load(f).then(a.D.J(a.$m,a)).catch(a.D.J(a.Zm,a)),8);case 8:ka(q);break;case 6:la(q);
case 7:a.Ya(a.state.fa),a.controls.ca(!0),a.controls.H(!0),window.__cda_shakaPlayer=a.aa,q.Fc=0}})))};
Q.$m=function(){this.log(this.c,"manifest loaded");this.Jd();this.Ck=!0;if(!this.M&&this.Ec){var a={},b=this.aa.getVariantTracks();if(b&&0<b.length){for(var d in b)256==b[d].width&&A(a["144p"])?a["144p"]="144p":426==b[d].width&&A(a["240p"])?a["240p"]="240p":640==b[d].width&&A(a["360p"])?a["360p"]="vl":854==b[d].width&&A(a["480p"])?a["480p"]="lq":1280==b[d].width&&A(a["720p"])?a["720p"]="sd":1920==b[d].width&&A(a["1080p"])?a["1080p"]="hd":2560==b[d].width&&A(a["2K"])?a["2K"]="qhd":3840==b[d].width&&
A(a["4K"])&&(a["4K"]="uhd");try{if(0==Object.keys(a).length)for(var f in b)144==b[f].height&&A(a["144p"])?a["144p"]="144p":240==b[f].height&&A(a["240p"])?a["240p"]="240p":360==b[f].height&&A(a["360p"])?a["360p"]="vl":480==b[f].height&&A(a["480p"])?a["480p"]="lq":720==b[f].height&&A(a["720p"])?a["720p"]="sd":1080==b[f].height&&A(a["1080p"])?a["1080p"]="hd":1440==b[f].height&&A(a["2K"])?a["2K"]="qhd":2160==b[f].height&&A(a["4K"])&&(a["4K"]="uhd")}catch(g){}a.auto="auto";this.Qe=a;this.controls.zo(a)}}try{if(B(window.onShakaPlayerInit))window.onShakaPlayerInit(this.aa)}catch(g){}if(!this.M){a=
null;switch(this.f.quality){case "uhd":a=3840;break;case "qhd":a=2560;break;case "hd":a=1920;break;case "sd":a=1280;break;case "lq":a=854;break;case "vl":a=640;break;case "240p":a=426;break;case "144p":a=256}null!=a&&this.Dk(a)}};
Q.Zm=function(a){this.log(this.c,"manifest load error");console.log(a);if(a&&(!a||"undefined"!=typeof a.code)){var b="";if(a&&"undefined"!=a.code){if(7E3==a.code)return;b=" / "+a.code}this.M&&this.controls.ve.s("pb-time-tv-info-live-disable");this.h.F()&&this.h.Wc()&&a&&6001==a.code?(a="market://details?id=pl.cda",this.h.ua()&&(a="https://apps.apple.com/pl/app/cda-pl/id1318175670"),this.view.lb(this.view.Sa,'Je\u015bli jeste\u015b w trybie incognito to uruchom przegl\u0105dark\u0119 w trybie normalnym lub <a href="'+
a+'" style="color:#e28525">pobierz aplikacj\u0119 CDA na swoje urz\u0105dzenie</a>.<br><br>Od\u015bwie\u017c stron\u0119 i spr\u00f3buj ponownie (error code: P1038'+b+").")):this.view.lb(this.view.Sa,"Wyst\u0105pi\u0142 b\u0142\u0105d podczas odtwarzania. Od\u015bwie\u017c stron\u0119 i spr\u00f3buj ponownie.<br>(error code: P1036"+b+")");this.view.show(this.view.alert);this.controls.disable();this.disabled=!0}};
Q.Ym=function(a){this.log(this.c,"shaka Player error");if(10>this.l()&&this.h.bm()&&90>this.h.Ml())this.view.lb(this.view.Sa,'W zwi\u0105zku z tym, i\u017c nowe urz\u0105dzenia ChromeBook maj\u0105 problemy z odtwarzaniem wideo z protoko\u0142em DRM, polecamy zainstalowa\u0107 aplikacj\u0119 na android CDA, kt\u00f3ra umo\u017cliwi odtwarzanie wideo. <b>Aby zainstalowa\u0107 nale\u017cy wej\u015b\u0107 w Android Apps i wyszuka\u0107 "cda.pl".</b> <br>Mamy nadziej\u0119, i\u017c firma Google szybko upora si\u0119 z problemem odtwarzania wideo na urz\u0105dzeniach ChromeBook.<br>(error code: P1039)'),
this.view.show(this.view.alert),this.controls.disable(),this.disabled=!0;else if(a&&!A(a.detail)&&!A(a.detail.code)&&(6007==a.detail.code||6008==a.detail.code))this.view.lb(this.view.Sa,"Aby obejrze\u0107 ten materia\u0142 zaaktualizuj lub zainstaluj najnowsz\u0105 przegl\u0105dark\u0119."),this.view.show(this.view.alert),this.controls.disable(),this.disabled=!0;else if(a&&(!a||"undefined"!=typeof a.code)){var b="";a&&"undefined"!=a.code&&(b=" / "+a.code);this.M&&this.controls.ve.s("pb-time-tv-info-live-disable");
this.view.show(this.view.alert);this.view.lb(this.view.Sa,"Wyst\u0105pi\u0142 b\u0142\u0105d podczas odtwarzania. Od\u015bwie\u017c stron\u0119 i spr\u00f3buj ponownie.<br>(error code: P1037"+b+")");this.controls.disable();this.disabled=!0}};Q.en=function(){return this.Zc()};Q.Xm=function(){return this.Gd()};Q.an=function(){this.log(this.c,"on shaka Player pause");this.Ya(this.state.uc);this.controls.ra(!0);this.controls.H(!1)};
Q.bn=function(){this.log(this.c,"on shaka Player playing");this.K||!this.view.content.G("pb-pip-enabled")||this.view.content.G("pb-frame-posible")||this.T.isConnected()||this.view.pd.G("pb-info-ccast-show")||this.view.content.s("pb-frame-posible");if(!this.K&&!this.M&&!this.view.content.G("pb-aspect-posible")){var a=window.screen.height>window.screen.width?window.screen.height/window.screen.width:window.screen.width/window.screen.height;if(this.h.F()||1.9<=a)this.view.content.s("pb-aspect-posible"),
this.h.F()&&!this.controls.hc&&1.8<=a&&this.controls.Lf()}this.Ya(this.state.fa);this.fg||(this.controls.H(!1),this.controls.ca(!0));this.M&&this.lf&&(this.lf=!1,this.controls.Vg(),this.controls.Ga&&this.controls.Sb());if(-1==this.ja&&0<this.f.duration&&33!=this.Cc()&&!this.K&&!1!==this.la()&&(this.Qb()||"premium"==this.f.type||"premium_free"==this.f.type))try{a="";-1<location.href.indexOf(".cda.pl/powtorki-z-telewizji/")&&(a="&vid="+this.ge());var b=this;window.$.ajax({url:"//api.cda.pl/h.php?uid="+
this.la()+a,type:"post",crossDomain:!0,xhrFields:{withCredentials:!0},data:{currentTime:0,duration:this.f.duration,test:this.Qb(),server:this.he()},success:function(){b.ja=0}})}catch(d){this.log(this.c,d)}if(this.M&&-1==this.ja)try{b=this,window.$.ajax({url:"//api.cda.pl/htv.php?uid="+this.la(),type:"post",crossDomain:!0,xhrFields:{withCredentials:!0},data:{request_id:this.options.request_id,channel_id:this.options.tv_live.channel_id,channel_url:this.ha.url},success:function(){b.ja=0}})}catch(d){this.log(this.c,
d)}0<this.Xa&&-1===this.md&&this.Xa<this.L()&&(this.ab(this.Xa),this.md=this.Xa)};
Q.cn=function(){this.log(this.c,"shaka player seeked");this.ed(!1);this.Ld(-1);this.te();-1<this.ja&&(this.ja=this.l());this.video.paused&&this.video.play();this.controls.H(!1);try{var a=this.controls.Ea.querySelectorAll(".pb-progress-midroll-marker");if(!z(a)&&0<a.length)for(var b=0;b<a.length;b++){var d=a[b];!z(d)&&!z(d.getAttribute("data-time"))&&d.getAttribute("data-time")<this.l()&&d.m()}}catch(f){this.log(this.c,f)}};Q.dn=function(){this.log(this.c,"shaka player seeking");this.ed(!0);this.controls.H(!0)};
Q.Dk=function(a,b){this.aa.configure({abr:{enabled:!1}});if(null!=a){var d=1920<=a||-1<this.f.quality.indexOf("hd")||this.jh?this.aa.getVariantTracks().filter(function(d){return d.width===a||"undefined"!==typeof b&&b==d.height}).pop():this.aa.getVariantTracks().filter(function(d){return d.width===a||"undefined"!==typeof b&&b==d.height}).shift();d&&(this.log(this.c,"change quality"),this.log(this.c,d),this.aa.selectVariantTrack(d,!0))}};
Q.he=function(){try{var a="";if(null!=this.aa||null!=this.o)z(this.wb)||""==this.wb||!this.h.ne()&&!this.h.nj()||!this.h.ua()&&!this.h.eh()?z(this.ba)||""==this.ba||(a=new URL(this.ba)):a=new URL(this.wb);""==a&&(a=new URL(this.src));return a.hostname.replace(".cda.pl","")}catch(b){return""}};Q.gn=function(){this.view.ta.m();for(var a=0;a<this.f.markers_ads.length;a++){var b=this.f.markers_ads[a];if(this.l()>=b.start&&this.l()<b.end){this.ab(b.end);break}}};function Ea(a){if(!a)throw new TypeError("playerObject is null or empty.");this.a=a;this.D=a.D}Q=Ea.prototype;
Q.Bl=function(a){if(this.D.jj(a)){var b=this.ol(this.a.options.video.width,this.a.options.video.height),d="";1==b.x&&1==b.y&&(d="pb-format16x9");var f='<span class="pb-ico-above-hide"></span>',g="";if(!z(this.a.options.video.parental_guide)){var k=this.a.options.video.parental_guide,l;for(l in k)g+='<span class="pb-ico-pswn pswn-ico-l-'+l.toLowerCase()+'" title="'+k[l]+'"></span>'}z(this.a.options.video.content_rating)||(f='<span class="pb-ico-above-wrapp"><span class="pb-ico-above-'+this.a.options.video.content_rating+
'y"></span>'+g+"</span>");this.wk(a,'<div class="pb-player-html-wrapper"><div class="pb-player-settings-posible"><div class="pb-player-content '+b.className+" "+d+'"> <style>'+("#"+this.a.options.id+" .pb-video-active .pb-stretching-full .pb-video-player {transform: scaleX("+b.x+") scaleY("+b.y+")} .pb-vid-click {position: absolute;top: 0;left: 0;right: 0;bottom: 0;width: 100%;height: 100%;} .pb-block-video-player {width: 100%; background: #000; position: relative; object-fit: contain;} .pb-tv .pb-block-video-player, .pb-mobile .pb-block-video-player{position:absolute;top:0;left:0;height:100%} .pb-browser-opera .pb-block-video-player{object-fit:initial} .brdPlayerWrapper :-webkit-full-screen .pb-block-video-player {display:inline-block;vertical-align:middle;width:100%;height:100% !important} .brdPlayerWrapper :-moz-full-screen .pb-block-video-player {display:inline-block;vertical-align:middle;width:100%;height:100% !important} :-ms-fullscreen .pb-block-video-player {display:inline-block;vertical-align:middle;width:100%;height:100% !important} .brdPlayerWrapper :full-screen .pb-block-video-player {display:inline-block;vertical-align:middle;width:100%;height:100% !important} .brdPlayerWrapper :fullscreen .pb-block-video-player {display:inline-block;vertical-align:middle;width:100%;height:100% !important} .pb-video-fullscreen .pb-block-video-player {display:inline-block;vertical-align:middle;width:100%;height:100% !important}")+
' .pb-run-ad .pb-progress-midroll-marker {display:none;}</style><div class="pb-player-html"><span class="pb-ady-counter"></span><span class="pb-ady-player-wrap"><span id="pb-yt-iframe"></span><span class="pb-ady-skip"></span></span><span class="pb-video-player-wrap"><div class="player-mute-off" style="display:none;width:100%; height:100%; z-index:10000; position: absolute; background:#000; opacity:0.6; text-align:center; align-items: center; justify-content: center;"><div style="width: 400px;margin-top: -20px;"><div style="width: 100%;"><img src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij48cGF0aCBkPSJNMTYuNSAxMmMwLTEuNzctMS4wMi0zLjI5LTIuNS00LjAzdjIuMjFsMi40NSAyLjQ1Yy4wMy0uMi4wNS0uNDEuMDUtLjYzem0yLjUgMGMwIC45NC0uMiAxLjgyLS41NCAyLjY0bDEuNTEgMS41MUMyMC42MyAxNC45MSAyMSAxMy41IDIxIDEyYzAtNC4yOC0yLjk5LTcuODYtNy04Ljc3djIuMDZjMi44OS44NiA1IDMuNTQgNSA2Ljcxek00LjI3IDNMMyA0LjI3IDcuNzMgOUgzdjZoNGw1IDV2LTYuNzNsNC4yNSA0LjI1Yy0uNjcuNTItMS40Mi45My0yLjI1IDEuMTh2Mi4wNmMxLjM4LS4zMSAyLjYzLS45NSAzLjY5LTEuODFMMTkuNzMgMjEgMjEgMTkuNzNsLTktOUw0LjI3IDN6TTEyIDRMOS45MSA2LjA5IDEyIDguMThWNHoiLz48cGF0aCBkPSJNMCAwaDI0djI0SDB6IiBmaWxsPSJub25lIi8+PC9zdmc+" style="filter: invert(1); height: 200px; opacity:0.7;"></div><div style="width:100%;font-size: 28px;">Wy\u0142\u0105cz wyciszenie</div></div></div> <img class="pb-resp-width-max" src="//static.cda.pl/v001/img/mobile/v16x9.png"><span class="pb-fl-player-wrap"><span class="pb-post-fl"><span class="pb-video-player-content"><video class="pb-video-player" webkit-playsinline="true" playsinline="true"></video></span><span class="pb-valign-middle"></span></span></span> <span class="pb-video-poster"><span class="pb-valign-middle"></span></span><span class="pb-logo"></span> <span class="pb-vid-click"></span><span class="pb-video-ad-container"><span class="pb-video-ad-content"></span><span class="pb-valign-middle"></span></span><span class="pb-play-ico"></span> <span class="pb-loader-ico"></span> <span class="pb-next-video-wrapper" style="display: none"> <span class="pb-next-video-content"> <span class="pb-next-video-title"></span> <span class="pb-next-viteo-thumb-wrapper"> <img class="pb-next-thumb-video" src=""/> <span class="pb-next-timer-wrapper"> <svg width="100%" viewBox="0 0 98 98" height="100%"> <circle transform="rotate(-90)" stroke-width="18" stroke="rgba(0,0,0,0.5)" r="32.5" fill-opacity="0" cy="49" cx="-49" class="load-new-film"/> <circle class="pb-next-video-circle-progress" transform="rotate(-90)" stroke-width="14" stroke-dasharray="208.2%" stroke-dashoffset="204px" stroke="rgba(249, 249, 249, 0.5)" r="32.5" fill-opacity="0" cy="49" cx="-49" class="load-new-film"/> <polygon points="42,37 62,49 42,61"fill="rgba(255,255,255,0.7)" class="pb-next-play"/> </svg> </span> <span class="pb-ie-next-loader" style="display: none"> <span class="pb-ie-next-loader-progress"></span> </span> <a href="#" title="" class="pb-next-click"></a> </span> <span class="pb-btn-wrapper"> <a class="pb-btn-cancel">anuluj</a> </span> </span> </span> <span class="pb-alert" style="display:none"> <span class="pb-alert-body"> <span class="header-alert"></span> <span class="text-alert"></span> </span> <span class="pb-alert-valign-middle"></span> </span> <span class="pb-ad-counter" style="display: none"></span><span class="pb-ad-info" style="display: none;"></span><span class="pb-ad-premium-click" style="display:none"><span>Aktywuj CDA Premium aby wy\u0142\u0105czy\u0107 reklamy <img src="https://scdn.cda.pl/v001/img/player/touch_app_white_18.png" /></span></span><span class="pb-ad-pause-plt"> <span class="pb-ad-pause-plt-body"> <span class="pb-ad-pause-plt-content"></span> <span class="pb-ad-pause-plt-skip">Zamknij reklam\u0119 aby wznowi\u0107 odtwarzanie<span class="pb-ad-pause-close-body">\u00d7</span></span></span></span><span class="pb-info" style="display: none"><span class="pb-info-container"><span class="pb-info-content"></span></span><span class="pb-valign-middle"></span></span><span class="pb-info-tvoff"><span class="pb-info-tvoff-container"><span class="pb-info-tvoff-content">Czy nadal ogl\u0105dasz?<span class="pb-info-tvoff-btn-true">tak</span><span class="pb-info-tvoff-btn-false">nie</span></span></span><span class="pb-valign-middle"></span></span><span class="pb-info-ccast"><span class="pb-info-ccast-container"><span class="pb-info-ccast-content"><span class="pb-line pb-info-ccast-click"><span class="pb-cast-inline-ico"></span><span class="pb-info-ccast-header">Chromecast</span></span><span class="pb-line"><span class="pb-info-ccast-text"></span> <span class="pb-info-ccast-name"></span></span></span></span><span class="pb-valign-middle"></span></span><span class="pb-float-icon"><span class="pb-aspect-float"></span><span class="pb-airplay-float"></span><span class="pb-frame-player-float"></span><span class="pb-ccast-float"></span>'+
f+'</span> <a class="pb-ad-close"> <span class="pb pb-ad-close-body" style="display: none"></span> </a> <a class="pb-skip" style="display: none"> <span class=pb-skip-body>Pomi\u0144 reklam\u0119</span> </a> <span class="pb-premium-promotion pb-context-wrapp pb-context-wrapp-hide"><span class="pb-context-body"><span class="pb pb-context-close pb-premium-promotion-close"></span><span class="pb-context-content"><span class="pb-ico-speed"><span></span></span><span class="pb-context-content-body">Potrzebujesz szybszego \u0142adowania wideo? <span class="pb-context-block"><a class="pb-context-button pb-premium-promotion-button" href="https://premium.cda.pl/rejestracja?cd2_sid=1&cd2_n=baner-playertransfer&cd2_hash=3b7e9aec07749895077743bd2c62686ffada59ad">Aktywuj konto CDA Premium</a></span><span class="pb-why-more">Dlaczego widz\u0119 ten komunikat?</span></span><span class="pb-why-more-answer"><p>CDA nie limituje przepustowo\u015bci oraz transferu danych. <br />W godzinach wieczornych mo\u017ce zdarzy\u0107 si\u0119 jednak, i\u017c ilo\u015b\u0107 u\u017cytkownik\u00f3w przekracza mo\u017cliwo\u015bci naszych serwer\u00f3w wideo. W\u00f3wczas odbi\u00f3r mo\u017ce by\u0107 zak\u0142\u00f3cony, a plik wideo mo\u017ce \u0142adowa\u0107 si\u0119 d\u0142u\u017cej ni\u017c zwykle.</p><p>W opcji CDA Premium gwarantujemy, i\u017c przepustowo\u015bci i transferu nie braknie dla \u017cadnego u\u017cytkownika. <a href="https://premium.cda.pl/rejestracja?cd2_sid=1&cd2_n=baner-playertransfer&cd2_hash=3b7e9aec07749895077743bd2c62686ffada59ad" class="pb-why-more-register pb-link-color">Zarejestruj swoje konto premium ju\u017c teraz!</a></p></span></span></span></span><span class="pb-box-info"><span class="pb-box-info-content"></span></span><div class="rewind-click-wrapper r-c-right" style="display: none;"><div class="r-c-circle"></div><div class="r-c-circle-min"></div><div class="r-c-text-wrapper"><div class="r-c-text"><img class="r-c-rewind-icon" src="https://scdn.cda.pl/v001/img/player/r-c-rewind-icon-r.png"></div><div class="r-c-text-1 r-c-seconds-counter">10 sekund</div></div></div><div class="rewind-click-wrapper r-c-left" style="display: none;"><div class="r-c-circle"></div><div class="r-c-circle-min"></div><div class="r-c-text-wrapper"><div class="r-c-text"><img class="r-c-rewind-icon" src="https://scdn.cda.pl/v001/img/player/r-c-rewind-icon-l.png"></div><div class="r-c-text r-c-seconds-counter">10 sekund</div></div></div><div class="t-sp-wrapper" style="display:none"><div id="t-sp"><div class="t-sp-top"><p>Igrzyska Olimpijskie Pary\u017c 2024</p><p>obejrzysz za darmo w TVP Sport</p></div><a class="btn btn-premium" href="https://sport.tvp.pl/paryz-2024/transmisje" target="_blank" rel="nofollow">Przjd\u017a do TVP Sport</a><a class="ts-link" target="_blank" href="https://sport.tvp.pl/paryz-2024/transmisje" rel="nofollow">SPORT.TVP.PL/paryz-2024</a></div></div><span class="pb-tv-list-g"> <span class="pb-tv-list-g-bg-logo"></span> <span class="pb-tv-list-g-bg-content"> <a class="pb-tv-list-g-bg-content-bx"> <span class="pb-grap" id="pb-progId-0"></span> <span class="pb-tv-list-g-bg-content-bx-bg"> <span class="pb-tv-list-g-bg-content-pd"> <div class="pb-tvpr-title-header pb-tv-text"> </div><span class="ico-above-24" style="position: absolute; top: 20px; right: 20px; margin-top: 0; margin-right: 0;"></span> <span class="pb-tvpr-info pb-tv-text"> </span> <div class="pb-mrg-m"> <div class="tvpr-row"> <span class="pb-tvpr-header-td pb-tv-text" style="display:none">obsada:</span><span class="pb-tvpr-value-td pb-tv-text"></span> </div><p class="pb-tvpr-description pb-tv-text"></p></div></span> <span class="pb-time-tv-pos-bar"> <span class="pb-actual-time-tv-pos"></span> <span class="pb-max-time-tv-pos"></span> <span class="pb-progress-time-tv-pos pb-progress-time-tv-pos-active"> <span class="pb-progress-time-tv-pos-progress" style="width: 0%;"></span> <span class="pb-progress-bar-tv-pos-area"> <span class="pb-time-tv-pos-position" style="left: 66.0099%;"> <span class="pb-time-tv-pos-cloud"> <span class="pb-time-tv-pos-container">0:00</span> <span class="pb-time-tv-pos-cloud-arrow"></span> </span> </span> <span class="pb pb-progress-bar-time-tv-pos" style="width: 0%"> <span class="bar-line-handle"></span> </span> </span> </span> </span> </span></a><span class="pb-tv-list-end"></span></span><span class="pb-tv-canals-scroll-gw"> <span class="pb-tv-canals-scroll-g" style1="display: none;"> <span class="pb-li-canal-logo-last"></span> </span> </span> </span></span><span class="button-players"> <span class="pb pb-bar"> <span class="pb pb-play"></span> <span class="pb pb-guide"></span> <span class="pb pb-volume"> <span class="pb pb-volume-mute"></span> <span class="pb pb-progress-bar-volume-area"> <span class="pb pb-progress-bar-volume"></span> </span> <span class="pb pb-volume-max"></span> </span> <span class="pb-quality"><span class="pb pb-quality-txt"></span><span class="pb-settings-click"></span><span class="pb-settings-menu pb-settings-menu-quality"><span class="pb-settings-menu-wrapper"><span class="pb-settings-cloud"><span class="pb-settings-container"><span class="pb-menu pb-menu-static"><span class="pb pb-close-settings"></span><span class="pb-header-menu">Jako\u015b\u0107</span><ul class="pb-menu-slave pb-menu-slave-indent"></ul></span></span></span></span><span class="pb-settings-cloud-arrow"></span></span></span><span class="pb pb-settings"><span class="pb-settings-click"></span><span class="pb-settings-menu"><span class="pb-settings-menu-wrapper"><span class="pb-settings-cloud"><span class="pb-settings-container"><span class="pb-menu pb-menu-static"><span class="pb pb-close-settings"></span><span class="pb-header-menu">Ustawienia</span><ul><li><span class="pb-menu-head">Format obrazu </span><ul class="pb-menu-slave"><li item="5"><a><span class="pb-ico-exp"></span><span class="pb-radio"><span class="pb-radio-btn"></span></span>rozszerzony</a></li><li item="6" class="pb-active"><a><span class="pb-ico-norm"></span><span class="pb-radio"><span class="pb-radio-btn"></span></span>normalny</a></li><li item="7"><a><span class="pb-ico-full"></span><span class="pb-radio"><span class="pb-radio-btn"></span></span>rozci\u0105gni\u0119ty</a></li><li item="8"><a><span class="pb-ico-oryg"></span><span class="pb-radio"><span class="pb-radio-btn"></span></span>nieskalowany</a></li></ul></li><li item="1" style="display: none" class="pb-settings-nextvideo"><a><span class="pb-switch"><span class="pb-switch-on-text">on</span><span class="pb-switch-off-text">off</span><span class="pb-switch-btn"></span></span>Autoodtwarzanie nast\u0119pnego video</a></li><li item="4" class="pb-settings-autoplay"><a><span class="pb-switch"><span class="pb-switch-on-text">on</span><span class="pb-switch-off-text">off</span><span class="pb-switch-btn"></span></span>Autoplay</a></li><li style="display: none" item="2" class="pb-settings-loop"><a><span class="pb-switch"><span class="pb-switch-on-text">on</span><span class="pb-switch-off-text">off</span><span class="pb-switch-btn"></span></span>Odtwarzaj w p\u0119tli</a></li><li item="2" style="display: none"><a><span class="pb-switch"><span class="pb-switch-on-text">on</span><span class="pb-switch-off-text">off</span><span class="pb-switch-btn"></span></span>Odtwarzanie w p\u0119tli</a></li><li item="3"><a>Zg\u0142o\u015b problem z playerem</a></li></ul></span></span></span></span><span class="pb-settings-cloud-arrow"></span></span></span><span class="pb pb-ccast"></span><span class="pb pb-fullscreen"></span> <span class="pb-time-bar"> <span class="pb-actual-time">0:00</span> <span class="pb-max-time">0:00</span> <span class="pb pb-progress-time pb-progress-time-active"> <span class="pb pb-progress-time-progress"></span> <span class="pb-progress-bar-area"> <span class="pb-time-position"> <span class="pb-time-cloud"> <span class="pb-time-container">0:00</span> <span class="pb-time-cloud-arrow"></span> </span> </span> <span class="pb pb-progress-bar-time"> <span class="bar-line-handle"></span> </span> </span> </span> </span> <span class="pb-time-tv-bar"> <span class="pb-time-tv-info-live pb-time-tv-info-live-disable"><span class="pb-time-tv-info-live-ico"></span><span class="pb-time-tv-info-live-txt">NA \u017bYWO</span></span><span class="pb-actual-time-tv">00:00</span> <span class="pb-max-time-tv">00:00</span> <span class="pb pb-progress-time-tv pb-progress-time-tv-active"> <span class="pb pb-progress-time-tv-progress" style="width: 0%;"></span> <span class="pb-progress-bar-area"> <span class="pb-time-tv-position" style="left: 0%;"> <span class="pb-time-tv-cloud"> <span class="pb-time-tv-container">0:00</span> <span class="pb-time-tv-cloud-arrow"></span> </span> </span> <span class="pb pb-progress-bar-time-tv" style="width: 0%"> <span class="bar-line-handle"></span> </span> </span> </span> </span> </span> </span><span class="pb-menu-context"><span class="pb-menu"><span class="pb-header-menu">Player wersja: '+
this.a.fl+'</span><ul><li item="1"><a>Kopiuj adres filmu</a></li><li item="2"><a>Skopiuj kod embed</a></li><li item="3"><a>Zg\u0142o\u015b problem z playerem</a></li><li item="4" style="display:none"><a>Poka\u017c statystyki</a></li></ul></span></span></div></div></div></div>')}};
Q.oo=function(){this.W=this.ub(".pb-player-html-wrapper",this.a.element);this.content=this.i(".pb-player-content");this.video=this.i(".pb-video-player");this.rc=this.i(".pb-vid-click");this.Wb=this.i(".pb-video-player-wrap");this.nf=this.i(".pb-fl-player-wrap");this.za=this.i(".pb-player-html");this.mg=this.i(".pb-video-poster");this.lg=this.i(".pb-video-player-content");this.zd=this.i(".pb-logo");this.contextMenu=this.i(".pb-menu-context");this.xj=this.i(".pb-next-click");this.Fd=this.i(".pb-next-video-wrapper");
this.om=this.i(".pb-next-video-title");this.nm=this.i(".pb-next-thumb-video");this.Dd=this.i(".pb-next-video-circle-progress");this.i(".pb-ie-next-loader");this.i(".pb-ie-next-loader-progress");this.mm=this.i(".pb-btn-cancel");this.alert=this.i(".pb-alert");this.Sa=this.i(".text-alert");this.xb=this.i(".pb-play");this.N=this.i(".pb-play-ico");this.Z=this.i(".pb-loader-ico");this.Ea=this.i(".pb-progress-time");this.pb=this.i(".pb-progress-bar-time");this.Lb=this.i(".pb-progress-bar-area");this.Eh=
this.i(".pb-bar");this.Dg=this.i(".pb-progress-time-progress");this.currentTime=this.i(".pb-actual-time");this.Mg=this.i(".pb-max-time");this.fullScreen=this.i(".pb-fullscreen");this.Kc=this.i(".pb-volume-mute");this.tb=this.i(".pb-progress-bar-volume");this.ai=this.i(".pb-volume-max");this.Ac=this.i(".pb-progress-bar-volume-area");this.controls=this.i(".button-players");this.Wb=this.i(".pb-video-player-wrap");this.qa=this.i(".pb-player-html");this.zk=this.i(".pb-settings-click");this.i(".pb-settings-menu");
this.wo=this.i(".pb-close-settings");this.i(".pb-settings-click");this.bg=this.i(".pb-quality-txt");this.wa=this.i(".pb-settings-menu-quality");this.pl=this.i(".pb-ccast");this.Sc=this.i(".pb-ccast-float");this.pd=this.i(".pb-info-ccast");this.Ff=this.i(".pb-info-ccast-text");this.Ef=this.i(".pb-info-ccast-name");this.Mi=this.i(".pb-cast-inline-ico");this.ql=this.i(".pb-info-ccast-click");this.il=this.i(".pb-airplay-float");this.Rn=this.i(".pb-frame-player-float");this.Ak=this.i(".pb-player-settings-posible");
this.nb=this.i(".pb-video-ad-container");this.ob=this.i(".pb-video-ad-content");this.i(".pb-ad-video-player");this.Ra=this.i(".pb-ad-counter");this.De=this.i(".pb-ad-close-body");this.ta=this.i(".pb-skip");this.na=this.i(".pb-ad-info");this.mc=this.i(".pb-ad-premium-click");this.Rk=this.ub(".pb-ady-player-wrap");this.tc=this.ub(".pb-ady-skip");this.qf=this.ub(".pb-ady-counter");this.info=this.i(".pb-info");this.i(".pb-info-content");this.ie=this.i(".pb-box-info");this.Pf=this.i(".pb-box-info-content");
this.lk=this.i(".pb-premium-promotion");this.Vn=this.i(".pb-premium-promotion-close");this.Un=this.i(".pb-premium-promotion-button");this.Wn=this.i(".pb-why-more");this.Xn=this.i(".pb-why-more-answer");this.Yn=this.i(".pb-why-more-register");this.td=this.i(".r-c-right");this.Kd=this.i(".r-c-left");this.Cd=this.i(".player-mute-off")};
Q.ol=function(a,b){a=this.D.me(Number(a))?a:640;var d=this.D.me(Number(b))?b:360,f=window.screen.width,g=window.screen.height,k="";a/d>=f/g?(b=1,a=a/f*(g/d)):(b=d/g*(f/a),a=1,k="pb-h-vid");return{x:b,y:a,className:k}};Q.i=function(a){if(!this.D.im(this.W))return this.ub(a,this.W)};
Q.ub=function(a,b){if(1<arguments.length&&null!==b){if(this.D.kj(b.querySelector))return b.querySelector(a);if(-1!==a.indexOf("#"))return document.getElementById(a.substring(1));if(0<b.Pg(a.substring(1)).length)return b.Pg(a.substring(1))[0]}else{if(this.D.kj(document.querySelector))return document.querySelector(a);if(-1!==a.indexOf("#"))return document.getElementById(a.substring(1));if(0<document.Pg(a.substring(1)).length)return document.Pg(a.substring(1))[0]}return null};
Q.wk=function(a,b){this.D.jj(a)&&(a.innerHTML=b)};Q.lb=function(a,b){this.wk(a,b)};Q.s=function(a,b){"undefined"!==typeof a&&("undefined"!==typeof a.classList?a.classList.add(b):a.className=a.className+" "+b)};Q.C=function(a,b){if("undefined"!==typeof a)if("undefined"!==typeof a.classList)a.classList.remove(b);else{for(var d=a.className.split(" "),f="",g=0;g<d.length;g++)b!=d[g]&&(f+=d[g]+" ");a.className=f}};Q.G=function(a,b){return"undefined"!==typeof a&&-1!==a.className.indexOf(b)?!0:!1};
Q.Ob=function(a){return"undefined"!==typeof a&&"function"===typeof a.getBoundingClientRect?a.getBoundingClientRect():!1};Q.bb=function(a){A(a)||z(a)||isNaN(void 0)||(a.style.width=void 0)};Q.bc=function(a){return A(a)||z(a)?0:a.offsetWidth};Q.Mh=function(a){A(a)||z(a)||isNaN(void 0)||(a.style.height=void 0)};Q.Vc=function(a){return A(a)||z(a)?0:a.offsetHeight};Q.Dc=function(a){return A(a)||z(a)||"undefined"===typeof a.offsetParent||null===a.offsetParent?!1:!0};
Q.m=function(a){A(a)||z(a)||A(a.style)||("visible"===a.style.visiblity?a.style.visiblity="hidden":a.style.display="none")};Q.show=function(a){A(a)||z(a)||A(a.style)||("hidden"===a.style.visiblity?a.style.visiblity="visible":a.style.display="block")};function Ca(){}Q=Ca.prototype;Q.xp=function(a){if("object"==typeof a){if(null===a)return"null";if(a instanceof Array)return"array";if(a instanceof Object)return"object"}};Q.Gp=function(a){return null===a};Q.im=function(a){return"undefined"===typeof a};Q.kj=function(a){return"function"===typeof a};Q.Ip=function(a){return"object"===typeof a};Q.jj=function(a){return"undefined"!==typeof HTMLElement?a instanceof HTMLElement:a instanceof Element};Q.Hp=function(a){return"number"===typeof a};
Q.Kp=function(a){return"string"===typeof a};Q.$l=function(a){return"boolean"===typeof a};Q.me=function(a){return Number(a)===a&&0===a%1};Q.Rf=function(a){return Number(a)===a&&0!==a%1};"undefined"===typeof Array.isArray&&(Array.isArray=function(a){return"[object Array]"===Object.prototype.toString.call(a)});Q.Lh=function(a,b,d,f){var g=new Date;null!=d&&(f?g.setHours(g.getHours()+d):g.setDate(g.getDate()+d));try{document.cookie=a+"="+escape(b)+(null==d?"":";expires="+g.toGMTString())}catch(k){}};
Q.ac=function(a){try{var b=document.cookie.split(";")}catch(k){b=[]}for(var d=0;d<b.length;d++){var f=b[d].substr(0,b[d].indexOf("="));var g=b[d].substr(b[d].indexOf("=")+1);f=f.replace(/^\s+|\s+$/g,"");if(f==a)return unescape(g)}return!1};Q.wd=function(a){return!1!==this.ac(a)?!0:!1};Q.bind=function(a,b){return function(){b.apply(a,b)}};Q.nl=function(a,b){return a.call.apply(a.bind,arguments)};Q.J=function(a,b){return this.nl.apply(null,arguments)};function W(){}Q=W;Q.isEnabled=function(){return A(window.navigator.cookieEnabled)?!isEmpty(window.document.cookie):window.navigator.cookieEnabled};Q.set=function(a,b,d,f){var g=new Date;null!=d&&(f?g.setHours(g.getHours()+d):g.setDate(g.getDate()+d));try{document.cookie=a+"="+escape(b)+(null==d?"":";expires="+g.toGMTString())}catch(k){}};
Q.get=function(a){try{var b=document.cookie.split(";")}catch(k){b=[]}for(var d=0;d<b.length;d++){var f=b[d].substr(0,b[d].indexOf("="));var g=b[d].substr(b[d].indexOf("=")+1);f=f.replace(/^\s+|\s+$/g,"");if(f==a)return unescape(g)}return null};Q.Il=function(){return!1!==this.get("cda-player-volume")?!0:!1};function Da(){this.uo()}Q=Da.prototype;Q.isEnabled=function(){return!z(this.storage)};Q.uo=function(){this.type="local";this.storage="session"===this.type?sa():ra()};Q.set=function(a,b){if(0<arguments.length&&!A(a)&&!A(b))try{this.isEnabled()&&this.storage.setItem(a,JSON.stringify(b))}catch(d){}};Q.get=function(a){try{if(this.isEnabled()){var b=this.storage.getItem(a);return z(b)&&A(b)?null:JSON.parse(b)}}catch(d){return null}};Q.remove=function(a){try{this.isEnabled()&&this.storage.removeItem(a)}catch(b){}};
Q.clear=function(){try{this.isEnabled()&&this.storage.clear()}catch(a){}};function T(a,b,d){if("undefined"==a||null==a||null===d)return!1;this.c="cda.Player.Controls";this.W=a;this.a=b;this.wc=d;this.view=b.view;this.D=b.D;this.xb=this.view.i(".pb-play");this.N=this.view.i(".pb-play-ico");this.Z=this.view.i(".pb-loader-ico");this.Ea=this.view.i(".pb-progress-time");this.pb=this.view.i(".pb-progress-bar-time");this.Lb=this.view.i(".pb-progress-bar-area");this.Eh=this.view.i(".pb-bar");this.Dg=this.view.i(".pb-progress-time-progress");this.currentTime=this.view.i(".pb-actual-time");
this.Mg=this.view.i(".pb-max-time");this.fullScreen=this.view.i(".pb-fullscreen");this.Kc=this.view.i(".pb-volume-mute");this.tb=this.view.i(".pb-progress-bar-volume");this.ai=this.view.i(".pb-volume-max");this.Ac=this.view.i(".pb-progress-bar-volume-area");this.controls=this.view.i(".button-players");this.Wb=this.view.i(".pb-video-player-wrap");this.qa=this.view.i(".pb-player-html");this.zk=this.view.i(".pb-settings-click");this.view.i(".pb-settings-menu");this.nf=this.view.i(".pb-fl-player-wrap");
this.de=this.view.i(".pb-aspect-float");this.view.i(".pb-time-tv-bar");this.ve=this.view.i(".pb-time-tv-info-live");this.Xh=this.view.i(".pb-actual-time-tv-pos");this.Yh=this.view.i(".pb-actual-time-tv");this.Vh=this.view.i(".pb-max-time-tv-pos");this.Wh=this.view.i(".pb-max-time-tv");this.Lk=this.view.i(".pb-progress-bar-time-tv-pos");this.Mk=this.view.i(".pb-progress-bar-time-tv");this.Nk=this.view.i(".pb-progress-time-tv-pos-progress");this.view.i(".pb-info-tvoff");this.xa=this.view.i(".pb-tv-list-g");
this.Qa=0;this.ig=!1;this.Za=null;this.eb=this.Cb=this.Mb=this.tj=this.sj=-1;this.Jc=70;this.Pe=this.Ga=!1;this.yd=!0;this.j={};this.$a=null;this.Bb=this.qg=this.Lc=this.lc=!1;this.Ab=this.Zb=null;this.Hb=0;this.hc=!1;this.event=null;this.Ma="click timeupdate loadeddata loadedmetadata progress waiting play pause".split(" ");"function"===typeof S&&(this.event=new S);null==this.W.getAttribute("tabindex")&&this.W.setAttribute("tabindex","1");try{var f=this.a.fe();0!=f&&f.hasOwnProperty("volume")?this.I(f.volume):
this.a.wd("cda.player.volume")?this.I(this.a.ac("cda.player.volume")):this.I(this.Jc)}catch(l){this.I(this.Jc)}(this.a.kh||this.a.dc)&&this.I(0);if(!this.a.M&&this.a.mk&&this.a.f.qualities){d=b=a="";for(var g in this.a.f.qualities)this.a.f.quality==this.a.f.qualities[g]?(b=g,d="pb-active"):d="",a+='<li data-quality="'+g+'" data-value="'+this.a.f.qualities[g]+'" class="settings-quality '+d+'"><a><span class="pb-radio"><span class="pb-radio-btn"></span></span>'+g+"</a></li>";this.view.wa.querySelector("ul").ia(a);
this.view.bg.ia(b)}if(this.a.M&&this.a.ha){null!=this.Za&&(window.clearInterval(this.Za),this.Za=null);var k=this;this.Za=window.setInterval(function(){k.mf(k.a.ha.program.start_time_ts,k.a.ha.program.start_time_format,k.a.ha.program.end_time_ts,k.a.ha.program.end_time_format)},100)}if(this.a.M&&this.a.ma){g="";for(a=0;a<this.a.ma.length;a++)g+='<span class="pb-li-canal-logo" data-url="'+this.a.ma[a].url+'" data-logo="'+this.a.ma[a].logo+'" data-title="'+this.a.ma[a].title+'"><span class="pb-li-canal-g-title-logo"><img class="pb-li-canal-g-title-logo-img" src="'+
this.a.ma[a].logo+'"><span class="pb-loading-tv-logo"></span></span></span>';this.xa.querySelector(".pb-tv-canals-scroll-g").innerHTML=g+'<span class="pb-li-canal-logo-last"></span>';this.gh=!1;this.Wa=window.$(".pb-tv-canals-scroll-g").first();this.gg=this.hh=0;this.kk=1;this.Th=!1;this.ho=.35;this.yj=1;k=this;g=this.xa.querySelectorAll(".pb-li-canal-logo");Array.prototype.slice.call(g).forEach(function(a,b){return a.addEventListener("click",function(){a.s("channel-active");k.Qa=b;k.a.controls.Ga&&
(k.xa.show(),k.gc());k.Vg();a.querySelector(".pb-loading-tv-logo").s("pb-loading-tv-logo-show");var d=0;k.gh&&(d="touch");d?k.Wa.addClass("pb-smooth-scroll"):k.Wa.removeClass("pb-smooth-scroll");k.jf(k.Wa,0,a);k.gh=!1;k.cd();d=a.getAttribute("data-url");var f=a.getAttribute("data-logo"),g=a.getAttribute("data-title");window.tvChangeChannel(d,g,f,!0)})});Array.prototype.slice.call(g).forEach(function(a){return a.querySelector(".pb-li-canal-g-title-logo").addEventListener("touchstart",function(){k.gh=
!0})});Array.prototype.slice.call(g).forEach(function(a,b){a.getAttribute("data-url")==k.a.ha.url&&(a.s("channel-active"),k.Qa=b,0<b&&(k.ig=!0),k.cd())});this.Wa.bind("mousewheel, wheel",function(a,b,d,f){k.Wa.removeClass("pb-smooth-scroll");f=Math.sign(a.originalEvent.deltaY);k.jf(window.$(this),f,1);a.preventDefault()});this.Wa.on("touchstart",function(){k.Wa.removeClass("pb-smooth-scroll");k.Th=!0});this.Wa[0].addEventListener("touchend",function(){k.Th=!1;k.Kk()});this.Ok();window.setInterval(function(){k.Ok()},
6E4)}this.ud()}Q=T.prototype={};Q.Qk=function(a){this.a=a};
Q.ud=function(){for(var a in this.Ma)if(""!=this.Ma[a]){var b=null;switch(this.Ma[a]){case "click":b=this.pc;break;case "timeupdate":b=this.Zc;break;case "loadeddata":b=this.rh;break;case "loadedmetadata":b=this.sh;break;case "progress":b=this.qe;break;case "waiting":b=this.$e;break;case "play":b=this.re;break;case "pause":b=this.fc;break;case "seeking":b=this.xh;break;case "seeked":b=this.wh}null!==b&&"function"===typeof b&&(this.j[this.Ma[a]]=U(this.a.video,this.Ma[a],b,this))}this.a.h.Ka()||(this.j.Mp=
U(this.W,"keydown",this.Dm,this));this.a.h.Ka()&&(this.j.iq=U(document.querySelector(".btn-fullscreen"),"click",this.Jm,this));this.j.rc=U(this.view.rc,"click",this.hk,this);this.j.yq=U(this.view.rc,"dblclick",this.pn,this);this.j.hp=U(this.fullScreen,"click",this.$f,this);this.j.hq=U(this.xb,"click",this.Yc,this);this.j.gq=U(this.N,"click",this.Hd,this);this.j.Bq=U(this.Kc,"click",this.Bn,this);this.j.ai=U(this.ai,"click",this.An,this);this.j.tq=U(this.zk,"click",this.Vm,this);this.j.uq=U(this.view.wa,
"click",this.Wm,this);this.j.Yj=U(window.document,"click",this.Yj,this);this.j.fk=U(this.view.wo,"click",this.fk,this);this.j.$j=U(this.view.Cd,"click",this.$j,this);this.j.ak=U(this.view.Rn,"click",this.ak,this);this.j.ip=U(this.de,"click",this.Cm,this);this.a.h.F()||(this.j.jq=U(this.Ea,"mousedown",this.Lm,this),this.j.lq=U(this.Ea,"mouseup",this.Nm,this),this.j.pq=U(this.Eh,"mousemove",this.Rm,this),this.j.Cq=U(this.Ac,"mousedown",this.Cn,this),this.j.Eq=U(this.Ac,"mouseup",this.En,this),this.j.Dq=
U(this.Ac,"mousemove",this.Dn,this),this.j.kq=U(this.Ea,"mousemove",this.Mm,this),this.j.zq=U(this.Wb,"mousemove",this.zn,this),this.j.zl=U(this.controls,"mouseenter",this.Pi,this),this.j.zl=U(this.controls,"mouseover",this.Pi,this),this.j.yl=U(this.controls,"mouseleave",this.Qi,this),this.j.yl=U(this.controls,"mouseout",this.Qi,this),this.j.Kq=U(this.W,"mouseup",this.Gn,this),this.j.ep=U(document,"mouseup",this.ym,this),this.j.cp=U(document,"mousedown",this.xm,this));this.a.h.F()&&(this.j.oq=U(this.Ea,
"touchstart",this.Qm,this),this.j.mq=U(this.Ea,"touchend",this.Om,this),this.j.qq=U(this.Eh,"touchmove",this.Sm,this),this.j.nq=U(this.Ea,"touchmove",this.Pm,this));this.Z.m();this.qa.s("pb-paused");this.qa.s("pb-bar-no-seeking")};Q.ak=function(){if(document.pictureInPictureElement)window.document.exitPictureInPicture();else try{this.a.video.requestPictureInPicture()}catch(a){}};
Q.jf=function(a,b,d){var f=this.xa.querySelectorAll(".pb-li-canal-logo");this.Sb();var g=window.$(".pb-li-canal-logo",this.Wa).length,k=window.$(".pb-li-canal-logo",this.Wa)[0],l=window.$(k).height(),p=a.scrollTop();b="object"!==typeof d&&"function"!==typeof d||null===d?d?b?p+(l*(d-1)+l/2+1)*b:l*(d-1):p+(l/2*(1-this.ho)+1)*b:window.$(d).context.offsetTop-window.$(k).context.offsetTop;b=Math.round(b/l)*l;0>b&&(b=0);b>=(g-1)*l&&(b=(g-1)*l);this.yj=Math.round(b/l)+1;this.Qa=this.yj-1;Array.prototype.slice.call(f).forEach(function(a){a.C("channel-active")});
a.scrollTop(b);this.cd()};Q.vq=function(a){this.Wa.removeClass("pb-smooth-scroll");this.jf(this.Wa,a,1)};Q.jg=function(a){this.Wa.removeClass("pb-smooth-scroll");this.jf(this.Wa,0,a)};Q.Jo=function(){this.Wa.addClass("pb-smooth-scroll");this.jf(this.Wa,this.kk,0)};Q.Jk=function(){var a=window.$(".pb-li-canal-logo",this.Wa)[0];a=window.$(a).height();var b=this.Wa.scrollTop();b=Math.round(b/a)*a;return Math.round(b/a)+1};
Q.Kk=function(){if(!this.Th)if(this.hh=this.gg,this.gg=this.Wa.scrollTop(),this.hh==this.gg)this.Jo();else{this.kk=Math.sign(this.gg-this.hh);var a=this;setTimeout(function(){a.Kk()},100)}};Q.enable=function(){this.qg=!0;this.view.C(this.view.za,"pb-nocloud")};Q.disable=function(){this.qg=!1;this.view.s(this.view.za,"pb-nocloud")};Q.isEnabled=function(){return this.qg};Q.Rh=function(){clearInterval(this.$a);this.$a=null;this.W.C("pb-nocontrols")};
Q.zp=function(){clearInterval(this.$a);this.$a=null;this.W.s("pb-nocontrols")};Q.Ic=function(a){a=Number(a);var b=Math.floor(a/3600),d=Math.floor(a%3600/60);a=Math.floor(a%3600%60);return(0<b?b+":"+(10>d?"0":""):"")+d+":"+(10>a?"0":"")+a};Q.s=function(a,b){"undefined"!==typeof a.classList?a.classList.add(b):a.className=a.className+" "+b};
Q.C=function(a,b){if("undefined"!==typeof a.classList)a.classList.remove(b);else{for(var d=a.className.split(" "),f="",g=0;g<d.length;g++)b!=d[g]&&(f+=d[g]+" ");a.className=f}};Q.G=function(a,b){return-1===a.className.indexOf(b)?!1:!0};Q.Ob=function(a){return"undefined"!==a&&"function"===typeof a.getBoundingClientRect?a.getBoundingClientRect():!1};Q.Fb=function(a){E(a)&&!isNaN(a)&&(this.currentTime.innerHTML=this.Ic(a))};Q.Pa=function(a){E(a)&&!isNaN(a)&&(this.Mg.innerHTML=this.Ic(a))};
Q.qo=function(a){this.D.$l(a)&&(a?!1===this.view.G(this.view.fullScreen,"pb-fullscreen-active")&&this.view.s(this.view.fullScreen,"pb-fullscreen-active"):this.view.G(this.view.fullScreen,"pb-fullscreen-active")&&this.view.C(this.view.fullScreen,"pb-fullscreen-active"))};
Q.vk=function(a){var b=this;this.view.G(this.view.wa,"pb-settings-menu-on")&&(this.view.C(this.view.wa,"pb-settings-menu-on"),this.view.s(this.view.wa,"pb-settings-menu-off"));this.view.Dc(this.view.contextMenu)&&this.view.m(this.view.contextMenu);a?(this.Ga=!0,this.a.M&&(this.xa.show(),this.ig?(this.ig=!1,this.xa.querySelectorAll(".pb-li-canal-logo").forEach(function(a,f){a.C("channel-active");a.getAttribute("data-url")==b.a.ha.url&&(a.s("channel-active"),b.Qa=f,b.jg(b.Qa+1))},this)):this.cd()),
this.a.M&&this.a.getState()===this.a.state.gb&&this.a.play(),this.a.getState()===this.a.state.fa&&(this.a.h.F()&&(this.lc=!1),this.Sb()),this.view.za.s("pb-video-fullscreen"),this.view.fullScreen.s("pb-fullscreen-active")):(this.Ga=!1,this.a.M&&(this.xa.querySelectorAll(".pb-li-canal-logo").forEach(function(a,f){a.getAttribute("data-url")==b.a.ha.url&&(b.Qa=f,0<b.Qa&&(a=a.Vc()*b.Qa,window.$(".pb-tv-canals-scroll-g").scrollTop(a),null!=b.Za&&(window.clearInterval(b.Za),b.Za=null),b.Za=window.setInterval(function(){b.mf(b.a.ha.program.start_time_ts,
b.a.ha.program.start_time_format,b.a.ha.program.end_time_ts,b.a.ha.program.end_time_format)},100)))},this),this.xa.m(!0)),this.a.h.F()&&(this.lc=!1),this.gc(),this.view.za.C("pb-video-fullscreen"),this.view.fullScreen.C("pb-fullscreen-active"))};
Q.po=function(){var a=!0;this.Wg();a?(this.a.va()?(a="http://www.cda.pl/video/"+this.a.f.id+"?html5",1<this.a.l()&&(a+="&t="+Math.floor(this.a.l())),a='Tryb pe\u0142noekranowy jest niedost\u0119pny. <a href="'+a+'" target="_blank">Kliknij tutaj, aby otworzy\u0107 film w nowym oknie.</a>'):a="Tryb pe\u0142noekranowy jest niedost\u0119pny na Twoim urz\u0105dzeniu.",this.j.ag=U(this.view.Pf,"click",this.ag,this),this.Ul(a)):(V(this.view.Pf,"click",this.j.ag),this.j.ag=null)};
Q.$f=function(){this.a.disabled||(this.cc()&&this.vb(),this.wc.is()||!this.wc.is()&&!z(this.wc.element())?this.wc.Nb():this.a.K&&this.a.h.ua()||this.wc.request())};
Q.Lm=function(a){if(this.isEnabled()&&(a=a||window.event,"undefined"===typeof a.which||1==a.which)){this.cc()&&this.vb();this.yd=!1;this.Ea.setAttribute("data-click","click");this.Lc=!0;this.qa.G("pb-bar-no-seeking")&&this.qa.C("pb-bar-no-seeking");this.qa.s("pb-bar-seeking");var b=(a.pageX-this.Ob(this.Lb).left)/this.Lb.offsetWidth*100;100<b?b=100:0>b&&(b=0);0===this.a.L()&&(this.a.cg=b);this.Mb=b;this.pb.style.width=b+"%";a.preventDefault();return!1}};
Q.Qm=function(a){if(this.isEnabled()){a=a||window.event;var b=a.changedTouches;"undefined"!==b&&1==b.length&&(this.wc.Ga()&&(this.a.h.F()&&(this.lc=!0),this.gc()),this.yd=!1,this.Ea.setAttribute("data-click","click"),this.Lc=!0,this.qa.G("pb-bar-no-seeking")&&this.qa.C("pb-bar-no-seeking"),this.qa.s("pb-bar-seeking"),this.qa.s("pb-time-cloud-show"),b=(b[0].pageX-this.Ob(this.Lb).left)/this.Lb.offsetWidth*100,100<b?b=100:0>b&&(b=0),this.Mb=b,this.pb.style.width=b+"%");a.preventDefault();return!1}};
Q.Nm=function(a){if(this.isEnabled()&&(a=a||window.event,"undefined"===typeof a.which||1==a.which)){this.cc()&&this.vb();this.yd=!0;this.Ea.setAttribute("data-click","none");this.Lc=!1;this.qa.G("pb-bar-seeking")&&this.qa.C("pb-bar-seeking");this.qa.s("pb-bar-no-seeking");if(-1!=this.a.L()&&-1!=this.Mb){var b=this.Mb/100*this.a.L();this.a.T.isConnected()?this.a.T.ab(b):this.a.ab(b)}else this.Yc(),this.a.rb();a.preventDefault();return!1}};
Q.Om=function(a){if(this.isEnabled()){a=a||window.event;var b=a.changedTouches;"undefined"!==b&&1==b.length&&(this.wc.Ga()&&(this.a.h.F()&&(this.lc=!1),this.Sb()),this.cc()&&this.vb(),this.yd=!0,this.Ea.setAttribute("data-click","none"),this.Lc=!1,this.qa.G("pb-bar-seeking")&&this.qa.C("pb-bar-seeking"),this.qa.s("pb-bar-no-seeking"),this.qa.C("pb-time-cloud-show"),-1!=this.a.L()&&-1!=this.Mb?(b=this.Mb/100*this.a.L(),this.a.T.isConnected()?this.a.T.ab(b):this.a.ab(b)):(this.Yc(),this.a.rb()));a.preventDefault();
return!1}};Q.Rm=function(a){if(this.isEnabled()&&(a=a||window.event,"undefined"===typeof a.which||1==a.which)){if("click"==this.Ea.getAttribute("data-click")){var b=(a.pageX-this.Ob(this.Lb).left)/this.Lb.offsetWidth*100;100<b?b=100:0>b&&(b=0);this.Mb=b;this.pb.style.width=b+"%"}a.preventDefault();return!1}};
Q.Sm=function(a){if(this.isEnabled()){a=a||window.event;var b=a.changedTouches;"undefined"!==b&&1==b.length&&"click"==this.Ea.getAttribute("data-click")&&(b=(b[0].pageX-this.Ob(this.Ea).left)/this.Lb.offsetWidth*100,100<b?b=100:0>b&&(b=0),this.Mb=b,this.pb.style.width=b+"%");a.preventDefault();return!1}};
Q.Mm=function(a){if(this.isEnabled()){a=a||window.event;var b=(a.pageX-this.Ob(this.Lb).left)/this.Lb.offsetWidth*100;100<b?b=100:0>b&&(b=0);var d=b/100*this.a.L(),f=this.Ic(b/100*this.a.L());this.W.querySelector(".pb-time-position").style.left=b+"%";this.Fk(d);b=this.W.querySelector(".pb-time-container");null!=b&&(b.innerHTML=f);a.preventDefault();return!1}};
Q.Pm=function(a){if(this.isEnabled()){a=a||window.event;var b=a.changedTouches;if("undefined"!==b&&1==b.length){this.wc.Ga()&&(this.a.h.F()&&(this.lc=!0),this.gc());b=(b[0].pageX-this.Ob(this.Lb).left)/this.Lb.offsetWidth*100;100<b?b=100:0>b&&(b=0);var d=b/100*this.a.L();this.a.L();this.W.querySelector(".pb-time-position").style.left=b+"%";this.Fk(d)}a.preventDefault();return!1}};
Q.Hd=function(){this.a.disabled||(this.cc()&&this.vb(),this.a.sa&&this.a.getState()!==this.a.state.gb||(this.a.ga=!0),this.N.R()&&(this.a.K?this.ca():(this.a.sa&&this.a.getState()!==this.a.state.gb||(this.a.ga=!0),this.a.T.isConnected()?(this.ca(!0),this.a.T.play()):(this.ca(),this.H(!0)))))};
Q.Yc=function(){this.view.i(".pb-ad-pause-plt").G("pb-ad-pause-plt-show")||!this.a.Fa&&this.a.disabled||(this.cc()&&this.vb(),this.a.sa&&this.a.getState()!==this.a.state.gb||(this.a.ga=!0),-1===this.xb.className.indexOf("pb-play-pause")?(this.xb.s("pb-play-pause"),this.a.T.isConnected()?(this.ca(!0),this.a.T.play()):(this.a.sa&&this.a.getState()!==this.a.state.gb||(this.a.ga=!0),this.ca(),this.H(!0))):(this.xb.C("pb-play-pause"),this.a.T.isConnected()?(this.ra(!0),this.a.T.pause()):this.ra()))};
Q.ca=function(a){this.a.log(this.c,"set play");this.a.M&&this.ve.C("pb-time-tv-info-live-disable");this.xb.G("pb-play-pause")||this.xb.s("pb-play-pause");this.N.R()&&this.N.m();this.qa.G("pb-paused")&&this.qa.C("pb-paused");this.qa.s("pb-playing");this.cc()||this.ue();G(a)&&a||(this.a.K?null!=this.a.u&&this.a.u.play():this.a.play())};
Q.ra=function(a){this.a.M&&this.ve.s("pb-time-tv-info-live-disable");this.xb.G("pb-play-pause")&&this.xb.C("pb-play-pause");this.N.R()||(this.N.show(),this.H(!1));this.qa.G("pb-playing")&&this.qa.C("pb-playing");this.cc()&&this.vb();G(a)&&a||(this.a.K?null!=this.a.u&&this.a.u.pause():this.a.pause())};Q.H=function(a){G(a)&&(a?(this.N.R()&&this.N.m(),this.Z.R()||this.Z.show()):this.Z.m())};Q.vo=function(){this.a.wd("cda.player.volume")?this.I(this.a.ac("cda.player.volume")):this.I(this.Jc)};
Q.I=function(a,b){a=Number(a);!1!==this.a.nc()&&!1===this.Bb&&(a=this.a.nc());0<a&&this.cc()&&this.vb();this.eb=isNaN(a)?this.Jc:a;0==this.eb?(this.Pe=!0,this.Kc.G("pb-volume-mute-active")||this.Kc.s("pb-volume-mute-active")):(this.Pe=!1,this.Kc.G("pb-volume-mute-active")&&this.Kc.C("pb-volume-mute-active"));this.tb.bb(this.eb+"%");this.a.dc||this.Ih(this.eb);this.a.I(this.eb,b);this.a.T.isConnected()&&this.a.T.I(this.eb,0==this.eb?!0:!1);if(!z(this.a.u)&&this.a.u.Ba==this.a.u.type.Ja&&this.a.u.hb)try{this.a.u.Kb.I(this.eb)}catch(d){}};
Q.Ih=function(a){!1!==this.a.nc()&&!1===this.Bb?this.Bb=!0:(0>a?a=0:100<a&&(a=100),a=parseInt(a),this.a.Lh("cda.player.volume",a,7))};Q.bd=function(a){0>a?a=0:100<a&&(a=100);this.Cb=a;this.Dg.bb(this.Cb+"%")};
Q.Bn=function(){this.tb.setAttribute("data-click","none");if(!1===this.Pe&&!1===this.Kc.G("pb-volume-mute-active")){if(this.Pe=!0,this.Kc.s("pb-volume-mute-active"),this.tb.bb("0%"),this.Ih(0),this.a.I(0),this.a.T.isConnected()&&this.a.T.I(0,!0),!z(this.a.u)&&this.a.u.Ba==this.a.u.type.Ja&&this.a.u.hb)try{this.a.u.Kb.I(0)}catch(a){}}else if(0>=this.eb&&(this.eb=this.Jc),this.Pe=!1,this.Kc.C("pb-volume-mute-active"),this.tb.bb(this.eb+"%"),this.Ih(this.eb),this.a.I(this.eb),this.a.T.isConnected()&&
this.a.T.I(this.eb,!1),!z(this.a.u)&&this.a.u.Ba==this.a.u.type.Ja&&this.a.u.hb)try{this.a.u.Kb.I(this.eb)}catch(a){}};Q.Cn=function(a){a=a||window.event;if("undefined"===typeof a.which||1==a.which){this.tb.setAttribute("data-click","click");var b=(a.pageX-this.Ac.Mf().left)/(this.Ac.bc()-1)*100;100<b?b=100:0>b&&(b=0);this.I(b);a.preventDefault();return!1}};
Q.En=function(a){a=a||window.event;if("undefined"===typeof a.which||1==a.which)return this.tb.setAttribute("data-click","none"),a.preventDefault(),!1};Q.Dn=function(a){a=a||window.event;if("undefined"===typeof a.which||1==a.which){if("click"==this.tb.getAttribute("data-click")){var b=(a.pageX-this.tb.Mf().left)/(this.Ac.bc()-1)*100;100<b?b=100:0>b&&(b=0);this.eb=b;this.I(b)}a.preventDefault();return!1}};
Q.aq=function(a){a=a||window.event;var b=a.changedTouches;"undefined"!==b&&1==b.length&&(this.tb.setAttribute("data-click","click"),b=(b[0].pageX-this.tb.Mf().left)/(this.Ac.bc()-1)*100,100<b?b=100:0>b&&(b=0),this.I(b));a.preventDefault();return!1};Q.Zp=function(a){a=a||window.event;this.tb.setAttribute("data-click","none");a.preventDefault();return!1};
Q.$p=function(a){a=a||window.event;var b=a.changedTouches;"undefined"!==b&&1==b.length&&"click"==this.tb.getAttribute("data-click")&&(b=(b[0].pageX-this.tb.Mf().left)/(this.Ac.bc()-1)*100,100<b?b=100:0>b&&(b=0),this.eb=b,this.I(b));a.preventDefault();return!1};Q.An=function(){this.tb.setAttribute("data-click","none");100===this.eb?this.I(0):this.I(100)};
Q.Yp=function(){if(this.a.Fa){if(this.a.disabled&&!z(this.a.u)&&this.a.u.Ba==this.a.u.type.Ja)return}else if(this.a.disabled)return;0<this.Ob(this.a.contextMenu).width&&0<this.Ob(this.a.contextMenu).height?this.a.contextMenu.m():(this.a.sa&&this.a.getState()!==this.a.state.gb||(this.a.ga=!0),null===this.a.Oa&&this.view.Dc(this.view.N)&&(this.a.getState()===this.a.state.gb&&(this.a.ga=!0),(z(this.a.u)||!z(this.a.u)&&this.a.u.Ba!=this.a.u.type.Ja)&&this.ca()))};
Q.Dm=function(a){a=a||window.event;switch(a.keyCode){case 32:if(z(this.a.u)||!z(this.a.u)&&this.a.u.Ba!=this.a.u.type.Ja)0==this.a.video.paused?this.ra():this.ca();a.preventDefault();break;case 27:this.a.Ga()&&(this.$f(),this.Rh());a.preventDefault();break;case 39:this.a.M||(z(this.a.u)||!z(this.a.u)&&this.a.u.Ba!=this.a.u.type.Ja)&&this.a.pk(5);a.preventDefault();break;case 37:this.a.M||(z(this.a.u)||!z(this.a.u)&&this.a.u.Ba!=this.a.u.type.Ja)&&this.a.qk(5);a.preventDefault();break;case 38:if(this.a.M&&
this.Ga){this.xa.show();this.Sb();a=this.Jk();this.Qa=a-1;var b=this.xa.querySelectorAll(".pb-li-canal-logo");0<this.Qa&&(b[this.Qa].C("channel-active"),this.jg(a-1));this.cd()}break;case 40:this.a.M&&this.Ga&&(this.xa.show(),this.Sb(),a=this.Jk(),this.Qa=a-1,b=this.xa.querySelectorAll(".pb-li-canal-logo"),this.Qa+1<b.length&&(b[this.Qa].C("channel-active"),this.jg(a+1)),this.cd());break;case 13:if(this.a.M&&this.Ga){this.xa.show();this.gc();var d=this.xa.querySelectorAll(".pb-li-canal-logo")[this.Qa];
a=d.getAttribute("data-url");b=d.getAttribute("data-logo");d=d.getAttribute("data-title");window.tvChangeChannel(a,d,b,!0)}break;case 116:location.reload()}return!1};Q.$o=function(a){return 3*(1-a)*(1-a)*(1-a)*(1-a)+1};
Q.qe=function(){if(!this.a.K){if(0<=this.a.L()&&-1===this.a.ze){var a=this.a.video;if("undefined"!==a.buffered&&0<a.buffered.length&&"undefined"!==a.buffered.end){var b=a.buffered.length-1;-1<this.a.Jh&&(b=this.a.Ll(this.a.Jh));a.buffered.end(b);this.a.L();var d=this.a.L(),f=this.a.l();this.Cb=a.buffered.end(b)/d*100;this.Cb<f/d*100+2&&(this.Cb=f/d*100+2);this.Cb=Math.ceil(10*this.Cb)/10}else this.Cb="undefined"!==a.Ki&&0<a.Ki&&"undefined"!==a.Zo?a.Yo/a.Ki:0}0>this.Cb?this.Cb=0:100<this.Cb&&(this.Cb=
100);this.Dg.bb(this.Cb+"%")}};Q.Zj=function(){this.Z.m();this.a.getState()!=this.a.state.fa?this.N.show():this.N.m()};Q.rh=function(){0<=this.a.L()&&!1===this.a.K&&this.Pa(this.a.L())};Q.sh=function(){0<=this.a.L()&&!1===this.a.K&&this.Pa(this.a.L())};Q.$e=function(){(z(this.a.u)||!z(this.a.u)&&this.a.u.Ba!=this.a.u.type.Ja)&&this.Z.show()};
Q.pc=function(){if(this.a.jb()&&0>=this.a.l()&&!this.a.ga&&this.Z.R())this.a.autoplay=!0;else if(this.a.jb()&&0>=this.a.l()&&!this.a.ga&&!this.Z.R())return this.a.ga=!0,this.a.ab(0)};Q.re=function(){this.Ga&&!this.view.G(this.view.W,"pb-nocontrols")&&null===this.$a&&(this.a.h.F()&&(this.lc=!1),this.Sb())};Q.fc=function(){};
Q.Zc=function(){this.qe();null==this.a.aa&&(this.a.ce||this.Z.R()&&this.Z.m());"undefined"===this.a.video.currentTime||isNaN(this.a.video.currentTime)||(this.a.currentTime=this.a.video.currentTime);if(this.yd){var a=100/this.a.L()*this.a.currentTime;this.pb.bb(a+"%")}this.Fb(this.a.currentTime)};Q.xh=function(){try{window.clearTimeout(this.Zb),this.Zb=null}catch(a){}};Q.wh=function(){try{window.clearTimeout(this.Zb),this.Zb=null}catch(a){}};
Q.Sb=function(){null!==this.$a&&(window.clearTimeout(this.$a),this.$a=null);var a=this;this.$a=window.setTimeout(function(){a.lc||(a.W.s("pb-nocontrols"),a.a.M&&a.xa.R()&&(a.xa.querySelectorAll(".pb-li-canal-logo").forEach(function(b,d){b.getAttribute("data-url")==a.a.ha.url&&(a.Qa=d,a.jg(a.Qa+1),null!=a.Za&&(window.clearInterval(a.Za),a.Za=null),a.Za=window.setInterval(function(){a.mf(a.a.ha.program.start_time_ts,a.a.ha.program.start_time_format,a.a.ha.program.end_time_ts,a.a.ha.program.end_time_format)},
100))}),a.xa.m(!0)))},5E3)};Q.gc=function(){window.clearTimeout(this.$a);this.$a=null;this.W.C("pb-nocontrols")};Q.zn=function(a){if(this.sj!==a.clientX||this.tj!==a.clientY)this.gc(),this.Ga&&this.a.M&&!this.xa.R()&&(this.xa.show(),this.cd()),this.Ga&&this.a.getState()===this.a.state.fa?!1===this.lc?this.W.G("pb-nocontrols")||null!==this.$a?this.W.C("pb-nocontrols"):this.Sb():this.gc():this.gc();this.sj=a.clientX;this.tj=a.clientY};
Q.Gn=function(){if(!0===this.Lc){if(0<=this.a.L()&&-1!=this.Mb){var a=this.Mb/100*this.a.L();this.a.ab(a)}this.Ea.setAttribute("data-click","none");this.Lc=!1;this.yd=!0;this.qa.G("pb-bar-seeking")&&this.qa.C("pb-bar-seeking");this.qa.s("pb-bar-no-seeking")}};Q.ym=function(){if(!0===this.Lc){if(0<=this.a.L()&&-1!=this.Mb){var a=this.Mb/100*this.a.L();this.a.ab(a)}this.Ea.setAttribute("data-click","none");this.Lc=!1;this.yd=!0;this.qa.G("pb-bar-seeking")&&this.qa.C("pb-bar-seeking");this.qa.s("pb-bar-no-seeking")}};
Q.xm=function(){};Q.Vm=function(){this.cc()&&this.vb();this.view.wa.G("pb-settings-menu-on")?(this.view.wa.C("pb-settings-menu-on"),this.view.wa.s("pb-settings-menu-off")):(this.view.wa.s("pb-settings-menu-on"),this.view.wa.C("pb-settings-menu-off"))};
Q.hk=function(a){if(this.a.h.F()&&!z(this.Ab)&&!z(a)&&!A(a)){var b=a.offsetX/this.Ob(this.view.rc).width*100;if(60<b&&0<this.Hb)return this.Vi();if(40>b&&0>this.Hb)return this.Wi()}try{window.clearTimeout(this.Zb),this.Zb=null}catch(f){}if(0>=this.a.l())return this.ik();if(z(a)||2!==a.detail){var d=this;this.Zb=window.setTimeout(function(){window.clearTimeout(d.Zb);d.Zb=null;d.ik()},300)}};
Q.ik=function(){if(this.a.Fa){if(this.a.disabled&&!z(this.a.u)&&this.a.u.Ba==this.a.u.type.Ja)return}else if(this.a.disabled)return;if(this.view.Dc(this.view.contextMenu))this.view.m(this.view.contextMenu);else if(this.view.G(this.view.wa,"pb-settings-menu-on"))this.view.C(this.view.wa,"pb-settings-menu-on"),this.view.s(this.view.wa,"pb-settings-menu-off");else if(this.view.ie.G("pb-box-info-open"))this.Wg();else if(this.a.sa||(this.a.ga=!0,this.a.h.F()?this.a.K&&!z(this.a.u)&&(this.a.u.cj()||this.a.u.dj())&&
this.H(!0):this.H(!0)),this.a.T.isConnected())this.a.getState()!=this.a.state.gb&&this.a.getState()!=this.a.state.uc||!this.N.R()?(this.ra(!0),this.a.T.pause()):(this.ca(!0),this.a.T.play());else if(this.a.K)this.N.R()?this.a.h.F()?z(this.a.u)||!this.a.u.cj()&&!this.a.u.dj()||this.ca():this.ca():z(this.a.u)||this.a.u.click();else if(null===this.a.Oa)if(this.a.h.F()&&!this.a.O&&this.Ga)this.W.G("pb-nocontrols")?(this.W.C("pb-nocontrols"),this.a.M&&this.xa.show(),this.Sb()):this.a.getState()===this.a.state.fa?
(this.a.pause(),this.gc()):this.a.getState()===this.a.state.uc&&(this.a.resume(),this.Sb());else switch(this.a.getState()){case this.a.state.fa:if(this.a.T.isConnected()){this.ra(!0);this.a.T.pause();break}this.ra();break;case this.a.state.uc:if(this.a.T.isConnected()){this.ca(!0);this.a.T.play();break}this.ca();break;case this.a.state.gb:this.a.ga=!0,z(this.a.u)||!z(this.a.u)&&this.a.u.Ba!=this.a.u.type.Ja?this.ca():this.N.R()&&(this.ca(),this.H(!0))}};
Q.pn=function(a){try{window.clearTimeout(this.Zb),this.Zb=null}catch(b){}if(!(this.a.K||0>=this.a.l()||z(a)||A(a))){a=a.offsetX/this.Ob(this.view.rc).width*100;if(60<a)return this.Vi();if(40>a)return this.Wi()}};Q.Vi=function(){this.Hb=z(this.Ab)?10:this.Hb+10;this.ro(this.Hb);try{window.clearTimeout(this.Ab),this.Ab=null}catch(b){}this.Tg();this.Ug();this.Co();var a=this;this.Ab=window.setTimeout(function(){a.Tg();a.a.pk(Math.abs(a.Hb));a.Hb=0;window.clearTimeout(a.Ab);a.Ab=null},700)};
Q.Wi=function(){this.Hb=z(this.Ab)?-10:this.Hb-10;this.so(this.Hb);try{window.clearTimeout(this.Ab),this.Ab=null}catch(b){}this.Ug();this.Tg();this.Do();var a=this;this.Ab=window.setTimeout(function(){a.Ug();a.a.qk(Math.abs(a.Hb));a.Hb=0;window.clearTimeout(a.Ab);a.Ab=null},700)};Q.Tg=function(){this.a.view.td.m();this.a.view.td.querySelector(".r-c-circle").C("r-c-big-circle");this.a.view.td.querySelector(".r-c-circle-min").C("r-c-big-circle")};
Q.Co=function(){this.a.view.td.Ek();this.a.view.td.querySelector(".r-c-circle").s("r-c-big-circle");this.a.view.td.querySelector(".r-c-circle-min").s("r-c-big-circle")};Q.Ug=function(){this.a.view.Kd.m();this.a.view.Kd.querySelector(".r-c-circle").C("r-c-big-circle");this.a.view.Kd.querySelector(".r-c-circle-min").C("r-c-big-circle")};Q.Do=function(){this.a.view.Kd.Ek();this.a.view.Kd.querySelector(".r-c-circle").s("r-c-big-circle");this.a.view.Kd.querySelector(".r-c-circle-min").s("r-c-big-circle")};
Q.ro=function(a){this.a.view.td.querySelector(".r-c-seconds-counter").ia(""+Math.abs(a)+" sekund")};Q.so=function(a){this.a.view.Kd.querySelector(".r-c-seconds-counter").ia(""+Math.abs(a)+" sekund")};
Q.Wm=function(a){if(!z(a.target)&&!z(a.target.parentNode)&&a.target.parentNode.G("settings-quality")){if(!this.a.K){var b=a.target.parentNode.getAttribute("data-quality"),d=a.target.parentNode.getAttribute("data-value");this.a.log(this.c,"change quality to "+b+" ("+d+")");if(d!=this.a.f.quality){if(this.a.ba){this.a.Ec="auto"==b?!0:!1;if(null!=this.a.o)this.a.o.updateSettings({streaming:{abr:{autoSwitchBitrate:{video:this.a.Ec,audio:this.a.Ec}}}});else if(null!=this.a.aa&&(this.a.aa.configure({abr:{enabled:"auto"==
b}}),"auto"!=b)){var f=null,g=null;switch(d){case "uhd":f=3840;g=2160;break;case "qhd":f=2560;g=1440;break;case "hd":f=1920;g=1080;break;case "sd":f=1280;g=720;break;case "lq":f=854;g=480;break;case "vl":f=640;g=360;break;case "240p":f=426;g=240;break;case "144p":f=256,g=144}this.a.Dk(f,g)}this.a.f.quality=d;this.a.be=!1}else{var k=this;this.a.sl(d,function(a){k.a.log(k.c,"link "+a);k.a.f.quality=d;k.a.src=a;k.a.T.isConnected()&&k.a.view.pd.G("pb-info-ccast-show")?k.a.T.Ko():(k.a.autoplay=!0,k.a.Xa=
k.a.l(),k.a.md=-1,k.a.bf(),k.a.play());k.a.co(b)},function(){var a=new URLSearchParams(window.location.search);a.get("wersja");a.set("wersja",b);a.set("a",1);a.set("t",parseInt(k.a.l()));document.location.search=a})}for(f=0;f<this.view.wa.querySelectorAll("li.settings-quality").length;f++)this.view.wa.querySelectorAll("li.settings-quality")[f].C("pb-active");a.target.parentNode.s("pb-active")}if(A(this.a.Qe["2K"])&&A(this.a.Qe["4K"]))this.view.bg.ia(b);else{a=b;if("auto"==b)A(this.a.Qe["4K"])?A(this.a.Qe["2K"])||
(a+=' <span style="color:#b62323">2K</span>'):a+=' <span style="color:#b62323">4K</span>';else if("2K"==b||"4K"==b)a='<span style="color:#b62323">'+b+"</span>";this.view.bg.ia(a)}}this.view.wa.G("pb-settings-menu-on")?(this.view.wa.C("pb-settings-menu-on"),this.view.wa.s("pb-settings-menu-off")):(this.view.wa.s("pb-settings-menu-on"),this.view.wa.C("pb-settings-menu-off"))}};Q.$j=function(){this.cc()&&this.vb()};Q.Qi=function(){this.lc=!1};Q.Pi=function(){this.gc();this.lc=!0};
Q.Yj=function(a){/pb/.test(a.target.className)||null!==a.target.parentNode&&/pb/.test(a.target.parentNode.className)||(this.view.Dc(this.view.contextMenu)?this.view.m(this.view.contextMenu):this.view.G(this.view.wa,"pb-settings-menu-on")&&(this.view.C(this.view.wa,"pb-settings-menu-on"),this.view.s(this.view.wa,"pb-settings-menu-off")))};Q.fk=function(){this.view.G(this.view.wa,"pb-settings-menu-on")&&(this.view.C(this.view.wa,"pb-settings-menu-on"),this.view.s(this.view.wa,"pb-settings-menu-off"))};
Q.Jm=function(){this.$f();document.querySelector(".btn-fullscreen").m();this.N.focus();this.W.s("pb-nocontrols-absolute")};Q.Ul=function(a){this.view.ie.C("pb-box-info-close");this.view.ie.s("pb-box-info-open");this.view.ie.s("pb-box-info-for-fullscreen");this.view.Pf.ia(a)};Q.Wg=function(){this.view.ie.C();this.view.ie.s("pb-box-info");this.view.Pf.ia("")};
Q.ag=function(){this.Wg();try{this.a.h.Sf()?window.self!=window.top&&0<this.a.l()&&this.a.pause():z(window.frameElement)&&window.self==window.top||0<this.a.l()&&this.a.pause()}catch(a){}};Q.cc=function(){try{if("flex"==this.view.Cd.style.display)return!0}catch(a){}return!1};
Q.ue=function(){try{if(this.a.Ci&&!this.a.K){var a=0,b=this.a.fe();0!=b&&b.hasOwnProperty("volume")?a=b.volume:this.a.wd("cda.player.volume")&&(a=this.a.ac("cda.player.volume"));0<a&&this.a.video.muted&&"none"==this.a.view.Cd.style.display&&!this.a.va()&&(this.a.view.Cd.style.display="flex")}}catch(d){}};
Q.vb=function(a){try{if("flex"==this.view.Cd.style.display&&(this.view.Cd.style.display="none","undefined"===typeof ononlyHide||!a))try{var b=this.a.fe();0!=b&&b.hasOwnProperty("volume")?this.I(b.volume):this.a.wd("cda.player.volume")?this.I(this.a.ac("cda.player.volume")):this.I(this.Jc)}catch(d){this.I(this.Jc)}}catch(d){}};Q.Ok=function(){this.a.Ho()};
Q.cd=function(){var a=this.xa.querySelectorAll(".pb-li-canal-logo");a[this.Qa].G("channel-active")||a[this.Qa].s("channel-active");for(var b={Ia:0};b.Ia<this.a.ma.length;b={Ia:b.Ia},b.Ia++)if(this.a.ma[b.Ia].url==a[this.Qa].getAttribute("data-url")){null!=this.Za&&(window.clearInterval(this.Za),this.Za=null);var d=this;this.Za=window.setInterval(function(a){return function(){d.mf(d.a.ma[a.Ia].program.actual.start_time_ts,d.a.ma[a.Ia].program.actual.start_time_format,d.a.ma[a.Ia].program.actual.end_time_ts,
d.a.ma[a.Ia].program.actual.end_time_format)}}(b),100);this.a.ma[b.Ia].program.actual.title&&(this.xa.querySelector(".pb-tvpr-title-header").innerText=this.a.ma[b.Ia].program.actual.title);this.a.ma[b.Ia].program.actual.description&&(this.xa.querySelector(".pb-tvpr-description").innerText=this.a.ma[b.Ia].program.actual.description);a="";this.a.ma[b.Ia].program.actual.year&&(a+=this.a.ma[b.Ia].program.actual.year);this.a.ma[b.Ia].program.actual.genre&&(a+=" | "+this.a.ma[b.Ia].program.actual.genre);
this.a.ma[b.Ia].program.actual.country&&(a+=" | "+this.a.ma[b.Ia].program.actual.country.replace("|",", "));this.xa.querySelector(".pb-tvpr-info").innerText=a;this.xa.querySelector(".ico-above-24").className="ico-above-24";this.a.ma[b.Ia].program.actual.age_rating&&this.xa.querySelector(".ico-above-24").s("ico-above-"+this.a.ma[b.Ia].program.actual.age_rating+"y");break}};
Q.mf=function(a,b,d,f){if(1>=a&&1>=d)this.Xh.innerHTML="",this.Yh.innerHTML="",this.Vh.innerHTML="",this.Wh.innerHTML="",this.Lk.style.width="0%",this.Mk.style.width="0%",this.Nk.style.width="0%";else{a=((new Date).getTime()/1E3-a)/(d-a)*100;this.Xh.innerHTML!=b&&(this.Xh.innerHTML=b);this.Yh.innerHTML!=b&&(this.Yh.innerHTML=b);this.Vh.innerHTML!=f&&(this.Vh.innerHTML=f);this.Wh.innerHTML!=f&&(this.Wh.innerHTML=f);this.Lk.style.width=a+"%";this.Mk.style.width=a+"%";this.Nk.style.width=a+"%";try{if(this.a.getState()===
this.a.state.fa)if(("tvp1_hd"==this.a.ha.url||"tvp2_hd"==this.a.ha.url)&&-1<this.a.ha.program.title.indexOf("Letnie Igrzyska Olimpijskie Pary\u017c 2024"))this.view.i(".t-sp-wrapper").style.display="block",this.a.I(0,!0);else{this.view.i(".t-sp-wrapper").style.display="none";var g=this.a.fe();0!=g&&g.hasOwnProperty("volume")&&this.a.I(g.volume,!0)}else this.view.i(".t-sp-wrapper").style.display="none",g=this.a.fe(),0!=g&&g.hasOwnProperty("volume")&&this.a.I(g.volume,!0)}catch(k){}this.a.Fo()}};
Q.Vg=function(){Array.prototype.slice.call(this.xa.querySelectorAll(".pb-li-canal-logo")).forEach(function(a){a.querySelector(".pb-loading-tv-logo").C("pb-loading-tv-logo-show")})};
Q.zo=function(a){if(a){var b="",d="",f;for(f in a){if(this.a.f.quality==a[f]){var g="pb-active";d=f;"auto"==f&&(A(a["4K"])?A(a["2K"])||(d+=' <span style="color:#b62323">2K</span>'):d+=' <span style="color:#b62323">4K</span>')}else g="";var k=f;if(!A(a["2K"])||!A(a["4K"]))if("auto"==f)A(a["4K"])?A(a["2K"])||(k+=' <span style="color:#b62323">2K</span>'):k+=' <span style="color:#b62323">4K</span>';else if("2K"==f||"4K"==f)k='<span style="color:#b62323">'+f+"</span>";b+='<li data-quality="'+f+'" data-value="'+
a[f]+'" class="settings-quality '+g+'"><a><span class="pb-radio"><span class="pb-radio-btn"></span></span>'+k+"</a></li>"}this.view.wa.querySelector("ul").ia(b);this.view.bg.ia(d)}};Q.Cm=function(){this.Sb();this.de.G("pb-aspect-float-on")?(this.de.C("pb-aspect-float-on"),this.hc=!1):(this.de.s("pb-aspect-float-on"),this.hc=!0);this.hc?this.nf.s("pb-stretching-expanded"):this.nf.C("pb-stretching-expanded")};Q.Lf=function(){this.hc=!0;this.de.s("pb-aspect-float-on");this.nf.s("pb-stretching-expanded")};
Q.Fk=function(a){if(!A(this.a.f.sprite)&&!z(this.a.f.sprite)){var b=this.W.querySelector(".pb-time-position").querySelector(".pb-time-cloud"),d=this.a.f.sprite.fps.split("/");d=parseInt(d[0])*parseInt(d[1]);var f=this.a.f.sprite.tile.split("x");f=parseInt(f[0])*parseInt(f[1]);var g=d*f;f=Math.floor(a/g);g=Math.floor((a-f*g)/d);a=this.a.f.sprite.tile.split("x");d=Math.ceil(g/parseInt(a[0]));var k=Math.ceil(g/parseInt(a[1])),l=g=0;0<k&&(g=(k-1)/(parseInt(a[0])-1)*100);0<d&&(l=(d-1)/(parseInt(a[1])-
1)*100);b.querySelector(".pb-thumb")?(a=b.querySelector(".pb-thumb"),a.style.background="url("+this.a.f.sprite.base_url.replace("{N}",f)+")",a.style.backgroundPosition=g+"% "+l+"%",a.style.backgroundSize="500% !important"):(a=document.createElement("div"),a.className="pb-thumb",a.style.background="url("+this.a.f.sprite.base_url.replace("{N}",f)+")",a.style.backgroundPosition=g+"% "+l+"%",a.style.backgroundRepeat="no-repeat",a.style.backgroundSize="500% !important",a.style.position="absolute",a.style.bottom=
"100%",a.style.right="50%",a.style.marginRight="-96px",a.style.marginBottom="8px",a.style.border="1px solid white",a.style.width=this.a.f.sprite.width+"px",a.style.height=this.a.f.sprite.height+"px",a.style.pointerEvents="none",b.appendChild(a))}};function S(){}S.prototype.bind=function(a,b){return function(){b.apply(a,b)}};function U(a,b,d,f){if("undefined"===typeof a||null===a)return!1;if("function"===typeof a.addEventListener)return a.addEventListener(b,a=function(a){d.call(f,a)},!1),a;if("function"===typeof a.attachEvent)return a.attachEvent("on"+b,a=function(a){d.call(f,a)},!1),a}
function V(a,b,d){"undefined"!==typeof a&&null!==a&&("function"===typeof a.removeEventListener&&a.removeEventListener(b,d,!1),"function"===typeof a.detachEvent&&a.detachEvent("on"+b,d,!1))};var Fa={gb:0,fa:1,uc:2,To:3,ei:4,ji:5,ic:10,zb:11,we:12};function Ia(a,b,d,f){0<arguments.length?(this.view=a,this.rl=b,this.El=d,this.a=f):this.view=null;this.ea={Dl:"requestFullscreen requestFullScreen mozRequestFullScreen webkitRequestFullscreen  webkitEnterFullscreen msRequestFullscreen".split(" "),Nb:"exitFullscreen exitFullScreen cancelFullscreen mozCancelFullScreen webkitCancelFullscreen webkitExitFullscreen msExitFullscreen".split(" "),enabled:["fullscreenEnabled","fullScreenEnabled","mozFullScreenEnabled","webkitFullscreenEnabled","msFullscreenEnabled"],
element:"fullscreenElement fullScreenElement mozFullScreenElement webkitFullscreenElement webkitCurrentFullScreenElement msFullscreenElement".split(" "),Bc:["fullscreenchange","mozfullscreenchange","webkitfullscreenchange","MSFullscreenChange"],error:["fullscreenerror","mozfullscreenerror","webkitfullscreenerror","MSFullscreenError"],is:"fullscreen fullScreen webkitIsFullScreen webkitIsFullscreen mozFullScreen msFullscreenElement".split(" "),Sl:["webkitbeginfullscreen","webkitendfullscreen"]};this.X=
null;this.Cf={webkit:{is:"webkitIsFullScreen",enabled:"webkitFullscreenEnabled",element:"webkitFullscreenElement",request:"webkitRequestFullscreen",Nb:"webkitExitFullscreen",ea:{Bc:"webkitfullscreenchange",error:"webkitfullscreenerror"}},Iq:{is:"webkitIsFullScreen",enabled:"webkitFullscreenEnabled",element:"webkitCurrentFullScreenElement",request:"webkitRequestFullScreen",Nb:"webkitCancelFullScreen",ea:{Bc:"webkitfullscreenchange",error:"webkitfullscreenerror"}},Op:{is:"",enabled:"msFullscreenEnabled",
element:"msFullscreenElement",request:"msRequestFullscreen",Nb:"msExitFullscreen",ea:{Bc:"MSFullscreenChange",error:"MSFullscreenError"}},Hq:{is:"fullscreen",enabled:"fullscreenEnabled",element:"fullscreenElement",request:"requestFullscreen",Nb:"exitFullscreen",ea:{Bc:"fullscreenchange",error:"fullscreenerror"}},Np:{is:"mozFullScreen",enabled:"mozFullScreenEnabled",element:"mozFullScreenElement",request:"mozRequestFullScreen",Nb:"mozCancelFullScreen",ea:{Bc:"mozfullscreenchange",error:"mozfullscreenerror"}},
jl:{is:"webkitDisplayingFullscreen",enabled:"webkitSupportsFullscreen",element:"webkitFullscreenElement",request:"webkitEnterFullscreen",Nb:"webkitExitFullscreen",ea:{Bc:"webkitbeginfullscreen webkitendfullscreen",error:"webkitfullscreenerror"}}};for(var g in this.Cf)if(this.Cf[g].enabled in window.document){this.X=this.Cf[g];break}this.a.h.ua()&&(this.X=this.Cf.jl);this.userAgent=window.navigator.userAgent;this.h={ap:/Chrome/.test(this.userAgent),gp:/Firefox/.test(this.userAgent),opera:/Opera/.test(this.userAgent),
Pp:/MSIE/.test(this.userAgent),Wo:/Android/.test(this.userAgent),Sl:/iP(hone|od|ad)/.test(this.userAgent)};this.view.i(".pb-video-player-wrap");this.timeout=null;this.Ca()}Q=Ia.prototype;Q.Ca=function(){try{if(F(this.X.ea.Bc))if(this.a.h.ua()){var a=this.X.ea.Bc.split(" "),b;for(b in a)U(this.a.video,a[b],this.Ej,this)}else U(window.document,this.X.ea.Bc,this.Ej,this);F(this.X.ea.error)&&U(window.document,this.X.ea.error,this.We,this)}catch(d){}};Q.Ej=function(a){this.rl(a)};Q.We=function(a){this.El(a)};
Q.request=Q.Dl=function(){if(z(this.X))return!1;try{this.a.video.removeAttribute("webkit-playsinline"),this.a.video.removeAttribute("playsinline")}catch(a){}if(this.a.h.ua())try{return this.a.video[this.X.request](),!0}catch(a){return!1}else try{return this.view.W[this.X.request]({navigationUI:"hide"}),!0}catch(a){return!1}};Q.Nb=function(){if(z(this.X))return!1;try{return window.document[this.X.Nb](),!0}catch(a){}return!1};Q.is=Q.Ga=function(){if(z(this.X))return!1;try{if(""!=this.X.is)return window.document[this.X.is]}catch(a){}return!1};
Q.enabled=Q.isEnabled=function(){if(z(this.X))return!1;try{return this.view.s(this.view.W,"pb-video-full"),window.document[this.X.enabled]}catch(a){}return!1};Q.ub=Q.element=function(){if(z(this.X))return!1;try{return window.document[this.X.element]}catch(a){}return!1};function Ga(){this.Wf=va();this.B=ua();this.h=-1;this.Ta={ci:"CHROME",di:"FIREFOX",Uk:"FIREFOX_MOBILE",hi:"OPERA",Vk:"OPERA_MOBILE",Xk:"SAFARI",gi:"MSIE",Tk:"EDGE",bi:"ANDROID",Sk:"APPLE",Zk:"TV",$k:"TV_CONSOLE",Wk:"OTHER",Oo:"DESKTOP"};this.tk()}Q=Ga.prototype;
Q.tk=function(){this.h=this.Ka()?this.Ta.Zk:this.hm()?this.Ta.$k:this.lj()?this.Ta.Vk:this.fm()?this.Ta.Uk:this.le()?this.Ta.bi:this.ua()?this.Ta.Sk:this.Wc()?this.Ta.ci:this.dh()?this.Ta.di:this.Tf()?this.Ta.hi:this.ne()?this.Ta.Xk:this.Sf()?this.Ta.gi:this.cm()?this.Ta.Tk:this.Ta.Wk};Q.Xi=function(){-1===this.h&&this.tk();return this.h};
Q.Ka=function(){return K(this.B,"SMART-TV")||K(this.B,"SmartTV")||K(this.B,"SmartTvA")||K(this.B,"Maple")||K(this.B,"Opera TV")||K(this.B,"NetCast.TV")||K(this.B,"AppleTV")||K(this.B,"GoogleTV")||K(this.B,"HbbTV")||K(this.B,"CrKey")||K(this.B,"POV_TV")||K(this.B,"GTV100")||K(this.B,"STB")||K(this.B,"NETTV")||K(this.B,"PhilipsTV")||K(this.B,"Roku")||K(this.B,"Viera")||K(this.B,"PlayStation")||K(this.B,"Xbox")||K(this.B,"BRAVIA")||K(this.B,"HYUNDAI")||K(this.B,"Hisense")||K(this.B,"Tizen")||K(this.B,
"SRAF")||K(this.B,"Linux; U")||K(this.B,"InettvBrowser")||K(this.B,"Puffin")};Q.hm=function(){return K(this.B,"PlayStation")||K(this.B,"Xbox")||K(this.B,"Nintendo WiiU")};Q.mj=function(){return K(this.B,"PlayStation")};Q.Wc=function(){return J(this.B,"Chrome")&&J(this.Wf.vendor,"Google Inc")&&!J(this.B,"OPR/")};Q.dh=function(){return J(this.B,"Firefox")};Q.Tf=function(){return J(this.B,"Opera")||J(this.B,"OPR/")};Q.ne=function(){return J(this.B,"Safari")&&0==J(this.B,"Chrome")&&0==J(this.B,"Mobile")};
Q.nj=function(){return J(this.B,"Safari")&&0==J(this.B,"Chrome")&&this.ua()};Q.Sf=function(){return J(this.B,"MSIE")||J(this.B,"Trident")};Q.cm=function(){return J(this.B,"Edge")};Q.le=function(){return J(this.B,"Android")};Q.Ep=function(){return J(this.B,"iPhone")};Q.ua=function(){return/iP(hone|ad|od)/.test(this.B)};Q.eh=function(){return J(this.B,"Macintosh")};Q.Dp=function(){return J(this.B,"iPad")};
Q.rj=function(){return K(this.B,"iemobile")||K(this.B,"windows phone")&&K(this.B,"edge")||J(this.B," WPDesktop")};Q.lj=function(){return this.Tf()&&J(this.B,"Mobile")};Q.fm=function(){return this.dh()&&J(this.B,"Mobile")};Q.gj=function(){return J(this.B,"BlackBerry")};Q.Yl=function(){return J(this.B,"ALCATEL")};Q.F=function(){return this.le()||this.ua()||this.rj()||this.gj()};Q.am=function(){return J(this.B,"CrKey")};Q.bm=function(){return J(this.B,"CrOS")&&J(this.xq,"Chrome")};
Q.Ml=function(){return L(this.B,/Chrome\/([0-9.]+)/)};Q.Lp=function(){return J(this.B,"Tizen")};
Q.np=function(){switch(this.Xi()){case this.Ta.ci:return L(this.B,/Chrome\/([0-9.]+)/);case this.Ta.di:return L(this.B,/Firefox\/([0-9.]+)/);case this.Ta.hi:return J(this.B,"OPR")?L(this.B,/OPR\/([0-9.]+)/):J(this.B,"Version")?L(this.B,/Version\/([0-9.]+)/):L(this.B,/Opera\s+([0-9]+)/);case this.Ta.Po:return L(this.B,/Version\/([0-9.]+)/);case this.Ta.gi:return L(this.B,/MSIE\s+([0-9.]+)/);case this.Ta.bi:return L(this.B,/Android\s([0-9\.]*)/);default:return J(this.B,"Version")?L(this.B,/Version\/([0-9.]+)/):
""}};Q.Ol=function(){try{var a=/AppleWebKit\/([\d.]+)/.exec(this.B);if(a)return parseFloat(a[1])}catch(b){}return!1};Q.xd=function(){try{var a=this.Ol();if(!z(a)&&!1!==a&&537>a)return!0}catch(b){}return!1};Q.qj=function(){return/Windows/.test(this.Wf.platform)||J(this.B,"Windows")};Q.Fp=function(){return/Linux/.test(this.Wf.platform)};Q.Zl=function(){return this.le()?J(this.B,"Mozilla/5.0")&&J(this.B,"Android ")&&J(this.B,"Version/")&&J(this.B,"AppleWebKit")&&!this.lj():!1};
Q.Og=function(){if(this.le()){var a=this.B.match(/Android\s([0-9\.]*)/);return a&&a[1]?a[1]:!1}return!1};Q.Sg=function(){if(this.ua()){var a=this.Wf.appVersion.match(/OS (\d+)_(\d+)_?(\d+)?/);return null!==a?parseInt(a[1],10)+("undefined"!==typeof a[2]?"."+parseInt(a[2],10)+("undefined"!==typeof a[3]?"."+parseInt(a[3],10):""):""):-1}return!1};Q.em=function(){var a=window.navigator.userAgent||window.navigator.vendor||window.opera;return-1<a.indexOf("FBAN")||-1<a.indexOf("FBAV")};
Q.gm=function(){return-1<window.navigator.userAgent.indexOf("Instagram")};var Ja={ic:10,zb:11,we:12,No:13,Uo:14,Qo:15,So:16,Vo:17,Mo:18,Lo:19,Ro:20};function Z(a,b){if(0>=arguments.length)throw Error("Failed initialize Ads Manager.");if(!C(a)||z(a))throw new TypeError("Player reference is NULL.");if(A(b)||z(b)||0>=b.length)return this.Ha();this.c="cda.Player.Ads.Manager";this.type=Ka;this.error=La;this.state=Ja;this.a=a;this.Yb=null;this.jd=!1;this.nb=this.a.view.i(".pb-video-ad-container");this.ob=this.a.view.i(".pb-video-ad-content");this.Kb=this.yb=null;this.b=b;this.Cg=b.length;this.od=[];this.hb=!1;this.Pc=0;this.$b=1;this.Db=this.U=0;this.Ba=
-1;this.zc=1;this.pf=null;this.Pb=[];this.sc=[];this.fb={creativeView:[],start:[],firstQuartile:[],midpoint:[],thirdQuartile:[],complete:[]};this.tg=!1;this.wi=0;this.kc="";this.kd=0;this.xe=null;this.xi=10;var d=this.a.storage.get("cda-gdpr");!d||A(d.gdpr)||A(d.gdpr_consent)||(this.kd=d.gdpr,this.kc=d.gdpr_consent);try{var f=this;this.xe=setInterval(function(){if(0==f.xi)clearInterval(f.xe),f.xe=null;else if(f.xi--,"undefined"!==typeof window.__tcfapi){clearInterval(f.xe);f.xe=null;var a=function(a){!a||
"loaded"!=a.cmpStatus||"useractioncomplete"!=a.eventStatus&&"tcloaded"!=a.eventStatus||(f.wi=!1===a.gdprApplies?0:1,a.tcString&&a.tcString.length&&(f.kc=a.tcString),f.wi&&(f.kd=a.purpose&&a.purpose.consents&&a.purpose.consents[1]&&a.vendor&&a.vendor.consents&&a.vendor.consents[255]?0:1),f.a.storage.set("cda-gdpr",{gdpr:f.kd,gdpr_consent:f.kc}))};window.__tcfapi("addEventListener",0,a);window.__tcfapi("getTCData",0,a)}},200)}catch(q){}this.a.log(this.c,this.b);A(this.b[this.U])||z(this.b[this.U])||
(this.b[this.U].hasOwnProperty("displayAs")?this.dg(this.b[this.U].displayAs):this.dg(this.state.ic));this.a.controls.vb();this.Ca();if(!A(this.b[this.U])&&!z(this.b[this.U]))try{this.b[this.U].hasOwnProperty("displayAs")?this.dg(this.b[this.U].displayAs):this.dg(this.state.ic);this.a.log(this.c,"ad state type: "+this.Aa);var g=this.b[this.U].tag;if(this.b[this.U].hasOwnProperty("safe")){var k=!!this.b[this.U].safe;if(!z(g)&&-1!==g.indexOf("google_safe")&&-1!==g.indexOf("google_unsafe"))try{var l=
g.match(/\x3c!--google_safe_begin--\x3e(.+?)\x3c!--google_safe_end--\x3e/i);z(l)||A(l[1])||!F(l[1])||(l=l[1]);var p=g.match(/\x3c!--google_unsafe_begin--\x3e(.+?)\x3c!--google_unsafe_end--\x3e/i);z(p)||A(p[1])||!F(p[1])||(p=p[1]);this.b[this.U].tag=k?l:p;this.ke(this.b[this.U].tag)?this.b[this.U].type=this.type.Ja:this.b[this.U].type=this.type.jc;this.a.log(this.c,"safe: "+this.rq);this.a.log(this.c,"googleSafeTag: "+l);this.a.log(this.c,"googleUnsafeTag: "+p)}catch(q){this.a.log(this.c,q)}}this.a.Fa?
(this.a.disabled=!0,this.pf=window.setInterval(this.a.D.bind(this,this.vl),100)):this.bj()}catch(q){this.a.log(this.c,q),this.Ha()}}Q=Z.prototype={};Q.Ca=function(a){this.Pc=0;if(this.Aa!==this.state.zb||!A(a)||this.a.h.F())z(this.a.T)||this.a.T.cf(!1),this.a.Rl(),this.a.controls.disable(),this.a.w.za.s("pb-nocloud"),this.a.w.m(this.a.w.zd),this.a.controls.bd(0),this.a.controls.pb.bb("0%"),this.a.controls.Fb(0),this.a.controls.Pa(0),this.a.h.F()&&this.a.af()};
Q.vl=function(){this.a.$h&&(window.clearInterval(this.pf),this.pf=null,this.bj())};Q.bj=function(){if(this.ke(this.b[this.U].tag))this.If(this.b[this.U].tag),this.hg(this.b[this.U]);else switch(this.b[this.U].type){case this.type.jc:this.If(this.b[this.U].tag);this.ef(this.b[this.U]);break;case this.type.Ja:this.If(this.b[this.U].tag);this.hg(this.b[this.U]);break;case this.type.ii:this.Nf(this.b[this.U].tag);break;case this.type.sf:this.Gk(this.b[this.U]);break;default:this.Ha()}};
Q.Ha=function(a){this.a.log(this.c,"destroy");try{this.a.va()&&window.parent.postMessage("player-ad-finish","*")}catch(g){}try{window.document.querySelector("#player_branding_top")&&(window.document.querySelector("#player_branding_top").innerHTML=""),window.document.querySelector("#player_branding_bottom")&&(window.document.querySelector("#player_branding_bottom").innerHTML="")}catch(g){}this.a.Fa&&(window.clearInterval(this.pf),this.pf=null,this.a.disabled=!1,this.hb||(this.a.autoplay=!1));this.a.Le();
this.a.controls.enable();this.a.u=null;this.tg=this.a.K=!1;z(this.ob)||(this.ob.innerHTML="");z(this.nb)||this.nb.m();if(this.Aa!==this.state.zb||this.hb||this.a.h.F())this.a.w.show(this.a.w.zd),this.a.w.m(this.a.w.Ra),this.a.w.m(this.a.w.De),this.a.w.za.C("pb-run-ad"),this.a.controls.bd(0),this.a.controls.pb.bb("0%"),this.a.controls.Fb(0),this.a.controls.Pa(this.a.L()),this.a.h.F()&&this.a.controls.Pa(0);this.a.T.Ca();this.Aa!==this.state.ic&&!z(this.a.T)&&this.a.T.ah()&&this.a.T.cf(!0);if(this.Aa===
this.state.ic){if(this.a.h.F()&&(this.a.ud(),this.a.bf(),this.a.autoplay&&!this.hb&&this.Aa!=this.state.we)){var b=this;window.addEventListener("touchstart",function k(){b.a.rb();this.removeEventListener("touchstart",k)})}this.a.video.load()}if(this.Aa===this.state.we)this.a.log(this.c,"start next video"),this.oa("Startuje kolejny film"),this.a.df();else if(this.Aa===this.state.ic)!A(a)&&a?(this.a.log(this.c,"start video force"),this.oa("Startuje film"),this.a.rb()):this.hb?(this.a.log(this.c,"adsDisplay true, start video"),
this.oa("Startuje film"),this.a.rb()):this.a.autoplay||this.a.ga?(this.a.log(this.c,"autoplay true, start video"),this.oa("Startuje film"),this.a.rb()):(this.a.log(this.c,"set video file"),this.oa("Wracam do filmu"),this.a.bf(),this.a.Fa?(this.a.controls.ra(!0),this.a.controls.Z.m()):(this.a.controls.Z.R()||this.a.controls.xb.G("pb-play-pause"))&&this.a.rb());else if(this.Aa===this.state.zb){this.a.log(this.c,"start video after midroll");try{var d=this.a.controls.Ea.querySelectorAll(".pb-progress-midroll-marker");
if(!z(d)&&0<d.length)for(a=0;a<d.length;a++){var f=d[a];z(f)||z(f.getAttribute("data-time"))||f.getAttribute("data-time")!=this.b[this.U-1].time||f.m()}}catch(g){this.a.log(this.c,g)}this.a.h.F()||(0<this.a.l()?this.a.play():this.a.rb())}};Q.dg=function(a){switch(a){case "prerol":case "preroll":this.Aa=this.state.ic;break;case "midrol":case "midroll":this.Aa=this.state.zb;break;case "postrol":case "postroll":this.Aa=this.state.we;break;default:this.Aa=this.state.ic}this.a.yf=this.Aa};Q.kp=function(){return this.Aa};
Q.sq=function(a){this.yf=a};Q.jp=function(){return this.yf};
Q.Nf=function(a,b){this.a.log(this.c,"getPool",a);!this.a.ga&&!this.a.autoplay||this.a.controls.Z.R()||(this.a.controls.Z.show(),this.a.controls.N.m());this.oa("Pobieram pule reklam...");this.oa(a);-1!=window.location.host.indexOf("cda.pl")&&(a+="&wa="+Number(this.a.oe));try{this.Bf(a,"GET",!0,!0,function(a){this.a.log(this.c,"getPool",a);try{if(!z(a)){var d=JSON.parse(a);if(!z(d)&&0<d.length){try{for(this.oa("Lista dost\u0119pnych reklam:"),a=0;a<d.length;a++)this.oa(d[a])}catch(g){}this.od=d;this.Db=
0;this.If(d);return this.Ah(this.od,this.Db,b)}}}catch(g){this.a.log(this.c,"getPool",g),this.oa("Wyst\u0105pi\u0142 b\u0142\u0105d: "+g)}this.a.log(this.c,"getPool","response null");return this.Ha()}.bind(this))}catch(d){this.a.log(this.c,"getPool",d),this.Ha()}};
Q.Ah=function(a,b,d){!this.a.ga&&!this.a.autoplay||this.a.controls.Z.R()||(this.a.controls.Z.show(),this.a.controls.N.m());this.a.log(this.c,"parsePool",arguments);this.oa("Sprawdzam reklam\u0119 nr "+(b+1));if(F(a[b])){d&&(this.tg=!0);"undefined"==typeof d&&(d=this.tg);var f={autoplay:0<this.U?!0:this.b[this.U].autoplay,counter:this.b[this.U].counter,displayAs:this.b[this.U].displayAs,key:d&&"undefined"!=typeof this.b[this.U].key2?this.b[this.U].key2:this.b[this.U].key,key2:"undefined"!=typeof this.b[this.U].key2?
this.b[this.U].key2:"",skip:this.b[this.U].skip,click:this.b[this.U].click,time:this.b[this.U].time,pool:this.b[this.U].tag,tag:a[b]};this.zf&&(f.autoplay=!0);this.a.ga&&(f.autoplay=!0);this.a.log(this.c,"startbyclick: "+this.a.ga);this.a.log(this.c,"autoplay: "+f.autoplay);this.a.log(this.c,"state: "+this.a.getState());if(this.Aa==this.state.we||this.Aa==this.state.zb)f.autoplay=!0;if(this.ke(a[b]))return f.type=this.type.Ja,this.hg(f);if(this.jm(a[b])&&!this.a.h.F())return this.a.log(this.c,"youtube embed ads: "+
a[b]),this.a.log(this.c,"youtube video id: "+this.Zi(a[b])),f.type=this.type.sf,this.Gk(f);f.type=this.type.jc;return this.ef(f)}return this.Ha()};
Q.ef=function(a){this.a.log(this.c,"startVast",a);this.oa("Reklama VAST");this.oa("Pobieram: "+a.tag);this.Jf(this.Db,!0);this.a.controls.vb();this.Ba=this.type.jc;this.yb=new X(this.a,this,a);this.yb.$c(function(a){this.yb.Vl(a)}.bind(this),function(){this.Va(this.error.ti)}.bind(this));if(this.a.dc){var b=this;window.videoAdPlay=function(){return null!=b.yb.video&&z(document.querySelector(".pb-run-ad"))?(b.yb.video.preload="auto",b.yb.video.autoplay="autoplay",b.yb.video.muted="muted",b.yb.play(),
!0):!1}}};Q.hg=function(a){this.a.log(this.c,"startAdsense",a);this.a.controls.vb();if(!this.Pl())return this.Db++,this.Db<this.od.length?this.Ah(this.od,this.Db):this.Gc();this.oa("Reklama ADSENSE");this.oa("Pobieram: "+a.tag);this.Jf(this.Db,!0);this.Ba=this.type.Ja;this.Kb=new Y(this.a,this,a);this.Kb.Ca()};
Q.Gk=function(a){function b(a){l.a.controls.Z.R()&&l.a.controls.H(!1);l.a.controls.N.m();a.target.setVolume(50);l.a.view.za.C("pb-ady-player-wait");l.a.controls.N.show();l.jd=!0}function d(a){!fa&&l.jd&&(l.Ch(),fa=!0,0<l.Fi&&l.Yb.seekTo(l.Fi));a.data==window.YT.PlayerState.PLAYING&&(l.a.view.za.G("pb-ady-player-active")&&l.a.view.za.C("pb-ady-player-active"),p=window.setInterval(function(){z(l.Yb)||A(l.Yb)?(window.clearInterval(p),p=null):(l.Hn(l.Yb.getCurrentTime(),l.Yb.getDuration()),l.wf&&!q&&
(l.a.view.tc.show(),l.a.view.tc.ia("Pomi\u0144 reklam\u0119 za "+l.ld),l.a.view.tc.style.opacity="0.5",q=!0,w=window.setInterval(function(){l.ld--;0<l.ld?l.a.view.tc.ia("Pomi\u0144 reklam\u0119 za "+l.ld):(l.a.view.tc.ia("Pomi\u0144 reklam\u0119"),l.a.view.tc.style.opacity="1",l.Bi=!0,window.clearTimeout(w),w=null)},1E3)),l.bl&&!ia&&(ia=!0,O=window.setInterval(function(){var a=Math.round(l.Yb.getDuration()-l.Yb.getCurrentTime());!isNaN(a)&&0<a?(l.a.view.qf.show(),l.a.view.qf.ia("Reklama zniknie za "+
a+" sek")):l.a.view.qf.m();0>=a&&(window.clearInterval(O),O=null)},500)))},500));a.data==window.YT.PlayerState.ENDED&&(l.jd?(l.S(l.Of().complete),window.setTimeout(function(){l.Ik()},500)):(l.jd=!0,l.a.view.za.C("pb-ady-player-wait"),l.a.controls.N.show()))}this.a.log(this.c,"start yt",a);this.a.controls.N.m();this.a.view.za.s("pb-ady-player-wait");this.a.view.za.s("pb-ady-player-active");this.a.view.za.s("pb-ady-player-show");this.oa("Reklama Youtube Embed");this.oa("Wy\u015bwietlam: "+a.tag);this.Jf(this.Db,
!0);this.Ba=this.type.sf;this.Ei=this.Ud=this.yc=this.xc=this.vc=!1;this.wf=!0;this.ld=60;this.bl=this.Bi=!1;this.Fi=this.Ae=0;try{null!=this.a.ib("controls")&&(this.Ae=parseInt(this.a.ib("controls")),E(this.Ae)||(this.Ae=0))}catch(ha){this.Ae=0}try{null!=this.a.ib("skip")&&(parseInt(this.a.ib("skip"))?this.wf=!0:this.wf=!1)}catch(ha){this.wf=!1}try{if(null!=this.a.ib("skip_sec")){var f=parseInt(this.a.ib("skip_sec"));if(!E(f)||0>=f||15<f)f=5;this.ld=f}}catch(ha){this.ld=5}f=document.createElement("script");
f.src="https://www.youtube.com/iframe_api";var g=document.getElementsByTagName("script")[0];g.parentNode.insertBefore(f,g);this.Ib=a.tag;var k=this.Zi(a.tag);if(z(k))return this.Ha();if("https://www.youtube.com/watch?v=lq1k3B4D_tQ"==this.Ib||"https://www.youtube.com/watch?v=SAqEE8AJvDE"==this.Ib||"https://www.youtube.com/watch?v=v2K7b2JhH5o"==this.Ib||"https://www.youtube.com/watch?v=DjZpjpJr4FU"==this.Ib||"https://www.youtube.com/watch?v=ItVe60UwwMU"==this.Ib)this.ld=60;var l=this;window.onYouTubeIframeAPIReady=
function(){l.Yb=new window.YT.Player("pb-yt-iframe",{height:l.a.view.Vc(l.a.view.W),width:l.a.view.bc(l.a.view.W),videoId:k,playerVars:{rel:0,showinfo:1,playsinline:1,autoplay:0,controls:l.Ae,disablekb:0,fs:0,modestbranding:1,autohide:1,wmode:"opaque"},events:{onReady:b,onStateChange:d}})};l=this;var p=null;l=this;var q=!1,w=null,O=null,ia=!1,fa=!1;this.a.view.tc.m();U(this.a.view.tc,"click",this.In,this)};
Q.Ik=function(){try{this.a.view.za.C("pb-ady-player-show"),this.a.view.tc.ia(""),this.a.view.tc.m(),this.a.view.qf.ia(""),this.a.view.qf.m(),this.Yb=null,this.jd=!1,this.a.rb(),this.a.view.Rk.ia(""),this.a.view.Rk.m()}catch(a){this.a.log(this.c,a)}};Q.ke=function(a){return/ima3vpaid/.test(a)||/doubleclick.net/.test(a)||/svastx.moatads.com/.test(a)||/s418.mxcdn.net/.test(a)||/services.bilsyndication.com/.test(a)||/secure.adnxs.com/.test(a)||/bdr.wpcdn.pl/.test(a)||/vpaid=1/.test(a)||/pubmatic.com/.test(a)};
Q.Pl=function(){try{if("undefined"!=typeof window.google.ima)return!0}catch(a){}return!1};Q.jm=function(a){return-1<a.indexOf("www.youtube.com/watch?v=")};Q.Zi=function(a){try{return a.split("v=")[1]}catch(b){return null}};
Q.Of=function(){if("https://www.youtube.com/watch?v=lq1k3B4D_tQ"==this.Ib)return{impression:["https://g.cda.pl/g.php?pixel&vi=Y2RiZDNlNDFlMDI0YjkwODViNTdjODdhYzNlZmU4M2M_MTkzNg&pl=impression&ct=[timestamp]"],start:"https://g.cda.pl/g.php?pixel&vi=Y2RiZDNlNDFlMDI0YjkwODViNTdjODdhYzNlZmU4M2M_MTkzNg&pl=start&ct=[timestamp]",firstQuartile:"https://g.cda.pl/g.php?pixel&vi=Y2RiZDNlNDFlMDI0YjkwODViNTdjODdhYzNlZmU4M2M_MTkzNg&pl=firstQuartile&ct=[timestamp]",midpoint:"https://g.cda.pl/g.php?pixel&vi=Y2RiZDNlNDFlMDI0YjkwODViNTdjODdhYzNlZmU4M2M_MTkzNg&pl=midpoint&ct=[timestamp]]",
thirdQuartile:"https://g.cda.pl/g.php?pixel&vi=Y2RiZDNlNDFlMDI0YjkwODViNTdjODdhYzNlZmU4M2M_MTkzNg&pl=thirdQuartile&ct=[timestamp]",complete:"https://g.cda.pl/g.php?pixel&vi=Y2RiZDNlNDFlMDI0YjkwODViNTdjODdhYzNlZmU4M2M_MTkzNg&pl=complete&ct=[timestamp]",skip:"https://g.cda.pl/g.php?pixel&vi=Y2RiZDNlNDFlMDI0YjkwODViNTdjODdhYzNlZmU4M2M_MTkzNg&pl=skip&ct=[timestamp]",clickTracking:"https://g.cda.pl/g.php?pixel&vi=Y2RiZDNlNDFlMDI0YjkwODViNTdjODdhYzNlZmU4M2M_MTkzNg&pl=clickTracking&ct=[timestamp]",video60sec:"https://g.cda.pl/g.php?pixel&vi=Y2RiZDNlNDFlMDI0YjkwODViNTdjODdhYzNlZmU4M2M_MTkzNg&pl=video60sec&ct=[timestamp]"};
if("https://www.youtube.com/watch?v=SAqEE8AJvDE"==this.Ib)return{impression:["https://g.cda.pl/g.php?pixel&vi=YTNhYzdiOTY5NWNmMTdmNTQ1OTdmMjg1NjVjNTBlZDA_MTk1NA&pl=impression&ct=[timestamp]"],start:"https://g.cda.pl/g.php?pixel&vi=YTNhYzdiOTY5NWNmMTdmNTQ1OTdmMjg1NjVjNTBlZDA_MTk1NA&pl=start&ct=[timestamp]",firstQuartile:"https://g.cda.pl/g.php?pixel&vi=YTNhYzdiOTY5NWNmMTdmNTQ1OTdmMjg1NjVjNTBlZDA_MTk1NA&pl=firstQuartile&ct=[timestamp]",midpoint:"https://g.cda.pl/g.php?pixel&vi=YTNhYzdiOTY5NWNmMTdmNTQ1OTdmMjg1NjVjNTBlZDA_MTk1NA&pl=midpoint&ct=[timestamp]]",
thirdQuartile:"https://g.cda.pl/g.php?pixel&vi=YTNhYzdiOTY5NWNmMTdmNTQ1OTdmMjg1NjVjNTBlZDA_MTk1NA&pl=thirdQuartile&ct=[timestamp]",complete:"https://g.cda.pl/g.php?pixel&vi=YTNhYzdiOTY5NWNmMTdmNTQ1OTdmMjg1NjVjNTBlZDA_MTk1NA&pl=complete&ct=[timestamp]",skip:"https://g.cda.pl/g.php?pixel&vi=YTNhYzdiOTY5NWNmMTdmNTQ1OTdmMjg1NjVjNTBlZDA_MTk1NA&pl=skip&ct=[timestamp]",clickTracking:"https://g.cda.pl/g.php?pixel&vi=YTNhYzdiOTY5NWNmMTdmNTQ1OTdmMjg1NjVjNTBlZDA_MTk1NA&pl=clickTracking&ct=[timestamp]",video60sec:"https://g.cda.pl/g.php?pixel&vi=YTNhYzdiOTY5NWNmMTdmNTQ1OTdmMjg1NjVjNTBlZDA_MTk1NA&pl=video60sec&ct=[timestamp]"};
if("https://www.youtube.com/watch?v=v2K7b2JhH5o"==this.Ib)return{impression:["https://g.cda.pl/g.php?pixel&vi=OTI4Yjc0MTRhMjU2YzgyOTY3YTg2ODliMzUwYzVhNjY_MTk1Nw&pl=impression&ct=[timestamp]"],start:"https://g.cda.pl/g.php?pixel&vi=OTI4Yjc0MTRhMjU2YzgyOTY3YTg2ODliMzUwYzVhNjY_MTk1Nw&pl=start&ct=[timestamp]",firstQuartile:"https://g.cda.pl/g.php?pixel&vi=OTI4Yjc0MTRhMjU2YzgyOTY3YTg2ODliMzUwYzVhNjY_MTk1Nw&pl=firstQuartile&ct=[timestamp]",midpoint:"https://g.cda.pl/g.php?pixel&vi=OTI4Yjc0MTRhMjU2YzgyOTY3YTg2ODliMzUwYzVhNjY_MTk1Nw&pl=midpoint&ct=[timestamp]]",
thirdQuartile:"https://g.cda.pl/g.php?pixel&vi=OTI4Yjc0MTRhMjU2YzgyOTY3YTg2ODliMzUwYzVhNjY_MTk1Nw&pl=thirdQuartile&ct=[timestamp]",complete:"https://g.cda.pl/g.php?pixel&vi=OTI4Yjc0MTRhMjU2YzgyOTY3YTg2ODliMzUwYzVhNjY_MTk1Nw&pl=complete&ct=[timestamp]",skip:"https://g.cda.pl/g.php?pixel&vi=OTI4Yjc0MTRhMjU2YzgyOTY3YTg2ODliMzUwYzVhNjY_MTk1Nw&pl=skip&ct=[timestamp]",clickTracking:"https://g.cda.pl/g.php?pixel&vi=OTI4Yjc0MTRhMjU2YzgyOTY3YTg2ODliMzUwYzVhNjY_MTk1Nw&pl=clickTracking&ct=[timestamp]",video60sec:"https://g.cda.pl/g.php?pixel&vi=OTI4Yjc0MTRhMjU2YzgyOTY3YTg2ODliMzUwYzVhNjY_MTk1Nw&pl=video60sec&ct=[timestamp]"};
if("https://www.youtube.com/watch?v=DjZpjpJr4FU"==this.Ib)return{impression:["https://g.cda.pl/g.php?pixel&vi=ZDk1NmZiMGMxY2E4OTMxY2RjMzYzOTVmYzI4YjllNDU_MTk2MA&pl=impression&ct=[timestamp]"],start:"https://g.cda.pl/g.php?pixel&vi=ZDk1NmZiMGMxY2E4OTMxY2RjMzYzOTVmYzI4YjllNDU_MTk2MA&pl=start&ct=[timestamp]",firstQuartile:"https://g.cda.pl/g.php?pixel&vi=ZDk1NmZiMGMxY2E4OTMxY2RjMzYzOTVmYzI4YjllNDU_MTk2MA&pl=firstQuartile&ct=[timestamp]",midpoint:"https://g.cda.pl/g.php?pixel&vi=ZDk1NmZiMGMxY2E4OTMxY2RjMzYzOTVmYzI4YjllNDU_MTk2MA&pl=midpoint&ct=[timestamp]]",
thirdQuartile:"https://g.cda.pl/g.php?pixel&vi=ZDk1NmZiMGMxY2E4OTMxY2RjMzYzOTVmYzI4YjllNDU_MTk2MA&pl=thirdQuartile&ct=[timestamp]",complete:"https://g.cda.pl/g.php?pixel&vi=ZDk1NmZiMGMxY2E4OTMxY2RjMzYzOTVmYzI4YjllNDU_MTk2MA&pl=complete&ct=[timestamp]",skip:"https://g.cda.pl/g.php?pixel&vi=ZDk1NmZiMGMxY2E4OTMxY2RjMzYzOTVmYzI4YjllNDU_MTk2MA&pl=skip&ct=[timestamp]",clickTracking:"https://g.cda.pl/g.php?pixel&vi=ZDk1NmZiMGMxY2E4OTMxY2RjMzYzOTVmYzI4YjllNDU_MTk2MA&pl=clickTracking&ct=[timestamp]",video60sec:"https://g.cda.pl/g.php?pixel&vi=ZDk1NmZiMGMxY2E4OTMxY2RjMzYzOTVmYzI4YjllNDU_MTk2MA&pl=video60sec&ct=[timestamp]"};
if("https://www.youtube.com/watch?v=ItVe60UwwMU"==this.Ib)return{impression:["https://g.cda.pl/g.php?pixel&vi=MWI0NmUwNDcyMDkwMmI2YjYwODFjMmViYWNiMWRjYzY_MTk2Mw&pl=impression&ct=[timestamp]"],start:"https://g.cda.pl/g.php?pixel&vi=MWI0NmUwNDcyMDkwMmI2YjYwODFjMmViYWNiMWRjYzY_MTk2Mw&pl=start&ct=[timestamp]",firstQuartile:"https://g.cda.pl/g.php?pixel&vi=MWI0NmUwNDcyMDkwMmI2YjYwODFjMmViYWNiMWRjYzY_MTk2Mw&pl=firstQuartile&ct=[timestamp]",midpoint:"https://g.cda.pl/g.php?pixel&vi=MWI0NmUwNDcyMDkwMmI2YjYwODFjMmViYWNiMWRjYzY_MTk2Mw&pl=midpoint&ct=[timestamp]]",
thirdQuartile:"https://g.cda.pl/g.php?pixel&vi=MWI0NmUwNDcyMDkwMmI2YjYwODFjMmViYWNiMWRjYzY_MTk2Mw&pl=thirdQuartile&ct=[timestamp]",complete:"https://g.cda.pl/g.php?pixel&vi=MWI0NmUwNDcyMDkwMmI2YjYwODFjMmViYWNiMWRjYzY_MTk2Mw&pl=complete&ct=[timestamp]",skip:"https://g.cda.pl/g.php?pixel&vi=MWI0NmUwNDcyMDkwMmI2YjYwODFjMmViYWNiMWRjYzY_MTk2Mw&pl=skip&ct=[timestamp]",clickTracking:"https://g.cda.pl/g.php?pixel&vi=MWI0NmUwNDcyMDkwMmI2YjYwODFjMmViYWNiMWRjYzY_MTk2Mw&pl=clickTracking&ct=[timestamp]",video60sec:"https://g.cda.pl/g.php?pixel&vi=MWI0NmUwNDcyMDkwMmI2YjYwODFjMmViYWNiMWRjYzY_MTk2Mw&pl=video60sec&ct=[timestamp]"};
if("https://www.youtube.com/watch?v=YJO9VAx9PPM"==this.Ib)return{impression:["https://g.cda.pl/g.php?pixel&vi=YjI2NzhhMDMzMDY2OTVhNzUyZmYyYjM5NTRmN2QzZDc_MTk0NQ&pl=impression&ct=[timestamp]"],start:"https://g.cda.pl/g.php?pixel&vi=YjI2NzhhMDMzMDY2OTVhNzUyZmYyYjM5NTRmN2QzZDc_MTk0NQ&pl=start&ct=[timestamp]",firstQuartile:"https://g.cda.pl/g.php?pixel&vi=YjI2NzhhMDMzMDY2OTVhNzUyZmYyYjM5NTRmN2QzZDc_MTk0NQ&pl=firstQuartile&ct=[timestamp]",midpoint:"https://g.cda.pl/g.php?pixel&vi=YjI2NzhhMDMzMDY2OTVhNzUyZmYyYjM5NTRmN2QzZDc_MTk0NQ&pl=midpoint&ct=[timestamp]]",
thirdQuartile:"https://g.cda.pl/g.php?pixel&vi=YjI2NzhhMDMzMDY2OTVhNzUyZmYyYjM5NTRmN2QzZDc_MTk0NQ&pl=thirdQuartile&ct=[timestamp]",complete:"https://g.cda.pl/g.php?pixel&vi=YjI2NzhhMDMzMDY2OTVhNzUyZmYyYjM5NTRmN2QzZDc_MTk0NQ&pl=complete&ct=[timestamp]",skip:"https://g.cda.pl/g.php?pixel&vi=YjI2NzhhMDMzMDY2OTVhNzUyZmYyYjM5NTRmN2QzZDc_MTk0NQ&pl=skip&ct=[timestamp]",clickTracking:"https://g.cda.pl/g.php?pixel&vi=YjI2NzhhMDMzMDY2OTVhNzUyZmYyYjM5NTRmN2QzZDc_MTk0NQ&pl=clickTracking&ct=[timestamp]"};if("https://www.youtube.com/watch?v=uPyQzjzhYEE"==
this.Ib)return{impression:["https://g.cda.pl/g.php?pixel&vi=MWQwYmVmNjdiODA2YmYzMGNmMDc4ZGRlNGVkZWZlMWQ_MjI3Mg&pl=impression&ct=[timestamp]"],start:"https://g.cda.pl/g.php?pixel&vi=MWQwYmVmNjdiODA2YmYzMGNmMDc4ZGRlNGVkZWZlMWQ_MjI3Mg&pl=start&ct=[timestamp]",firstQuartile:"https://g.cda.pl/g.php?pixel&vi=MWQwYmVmNjdiODA2YmYzMGNmMDc4ZGRlNGVkZWZlMWQ_MjI3Mg&pl=firstQuartile&ct=[timestamp]",midpoint:"https://g.cda.pl/g.php?pixel&vi=MWQwYmVmNjdiODA2YmYzMGNmMDc4ZGRlNGVkZWZlMWQ_MjI3Mg&pl=midpoint&ct=[timestamp]]",
thirdQuartile:"https://g.cda.pl/g.php?pixel&vi=MWQwYmVmNjdiODA2YmYzMGNmMDc4ZGRlNGVkZWZlMWQ_MjI3Mg&pl=thirdQuartile&ct=[timestamp]",complete:"https://g.cda.pl/g.php?pixel&vi=MWQwYmVmNjdiODA2YmYzMGNmMDc4ZGRlNGVkZWZlMWQ_MjI3Mg&pl=complete&ct=[timestamp]",skip:"https://g.cda.pl/g.php?pixel&vi=MWQwYmVmNjdiODA2YmYzMGNmMDc4ZGRlNGVkZWZlMWQ_MjI3Mg&pl=skip&ct=[timestamp]",clickTracking:"https://g.cda.pl/g.php?pixel&vi=MWQwYmVmNjdiODA2YmYzMGNmMDc4ZGRlNGVkZWZlMWQ_MjI3Mg&pl=clickTracking&ct=[timestamp]"}};
Q.Hn=function(a,b){var d=this.Of();b=Math.floor(a/b*100);if(0<=a&&!1===this.Ud)try{this.S(d.start),this.Ud=!0}catch(f){}if(60<=a&&!1===this.Ei)try{"undefined"!==typeof d.video60sec&&(this.S(d.video60sec),this.Ei=!0)}catch(f){}if(25<=b&&!1===this.vc)try{this.S(d.firstQuartile),this.vc=!0}catch(f){}else if(50<=b&&!1===this.xc)try{this.S(d.midpoint),this.xc=!0}catch(f){}else if(75<=b&&0==this.yc)try{this.S(d.thirdQuartile),this.yc=!0}catch(f){}};
Q.S=function(a){this.a.log(this.c,"sendPixel",a);if(F(a)){var b=new window.Image(1,1);b.onload=b.onerror=function(){delete b};b.src=a}};Q.wp=function(){return this.Ba};
Q.play=function(){if(this.Ba==this.type.jc)this.yb.play();else if(this.Ba==this.type.sf)if(this.jd)this.Ch();else var a=this,b=window.setInterval(function(){a.a.log(a.c,"yt ready: "+a.jd);a.jd?(a.Ch(),a.a.controls.H(!1),window.clearInterval(b),b=null):(a.a.controls.H(!0),!z(a.Yb)&&B(a.Yb.getCurrentTime)&&0<a.Yb.getCurrentTime()&&(window.clearInterval(b),b=null))},50);else this.Ba==this.type.Ja&&this.Kb.Ye()};
Q.Ch=function(){var a=this.Of();if(D(a.impression))for(var b=0;b<a.impression.length;b++)this.S(a.impression[b]);else this.S(a.impression);this.a.view.za.C("pb-ady-player-active")};Q.In=function(){this.Bi&&(this.S(this.Of().skip),this.Ik())};Q.pause=function(){this.Ba==this.type.jc?this.yb.pause():this.Ba==this.type.Ja&&this.Kb.fc()};Q.I=function(a){this.Ba==this.type.Ja&&this.Kb.I(a)};Q.click=function(){this.Ba==this.type.jc&&this.yb.pc()};Q.cj=function(){if(this.Ba==this.type.jc)return this.yb.sa};
Q.dj=function(){if(this.Ba==this.type.jc)return this.yb.Qd};Q.Dj=function(){this.a.log(this.c,"onAdSkipped");if(B(window.onAdSkipped))window.onAdSkipped(this.a.id);return this.Gc()};
Q.Gc=function(){this.a.log(this.c,"onAdComplete");this.od=[];this.Db=0;this.$b++;this.U++;this.a.log(this.c,"currentAd: "+this.$b);this.a.log(this.c,"adsCount: "+this.Cg);if(B(window.onAdComplete))window.onAdComplete(this.a.id,this.hb);if(!this.a.Fa&&this.a.h.F()&&1<this.$b&&this.hb)return this.Ha();if(this.$b<=this.zc)if(A(this.b[this.U])||z(this.b[this.U]))this.Ha();else try{switch(this.b[this.U].type){case this.type.jc:this.ef(this.b[this.U]);break;case this.type.Ja:this.hg(this.b[this.U]);break;
case this.type.ii:this.Nf(this.b[this.U].tag);break;default:this.Ha()}}catch(a){this.a.log(this.c,"onAdComplete Error",a),this.Ha()}else this.Ha()};Q.Bj=function(){};
Q.Va=function(a,b){this.a.log(this.c,"onAdError",arguments);this.oa("Wyst\u0105pi\u0142 b\u0142\u0105d: "+a);if(B(window.onAdError))window.onAdError(this.a.id,this.hb);this.Jf(this.Db,!1);switch(a){case this.error.pi:case this.error.rf:case this.error.ni:case this.error.Sd:case this.error.og:case this.error.ri:case this.error.si:case this.error.al:case this.error.ti:case this.error.mi:case this.error.UNKNOWN_ERROR:case this.error.ki:return this.Db++,this.Db<this.od.length?this.Ah(this.od,this.Db):
this.Gc();case this.error.oi:var d=!1;!this.hb&&this.a.autoplay&&(d=!0);return this.Ha(d);case this.error.li:return this.nn(b);default:return d=!1,!this.hb&&this.a.autoplay&&(d=!0),this.Ha(d)}};Q.nn=function(a){this.a.log(this.c,"startAdsense",a);this.oa("Reklama ADSENSE");this.oa("Pobieram: "+a.ad.tag);try{this.Ba=this.type.Ja,this.Kb=new Y(this.a,this,a.ad,a.tracking,a.impression,a.clickTracking,a.viewableImpression),this.Kb.Ca()}catch(b){this.a.log(this.c,b),this.Ha()}};
Q.Bf=function(a,b,d,f,g){this.a.log(this.c,"ajax",arguments);if(F(a))try{var k=new XMLHttpRequest,l=this;k.onload=function(){};k.onreadystatechange=function(){4==k.readyState&&200==k.status?A(k.response)||z(k.response)||!k.response?l.Ha():g(k.response):200<k.status&&l.Ha()};k.onerror=function(){l.oa("Wyst\u0105pi\u0142 b\u0142\u0105d podczas pobierania!");l.Ha()};k.ontimeout=function(){l.oa("Przekoczono czas odpowiedzi!");l.Ha()};k.withCredentials=f;k.open(b,a,d);k.timeout=5E3;k.send(null)}catch(p){this.a.log(this.c,
"ajax",p),this.Ha()}else this.Ha()};Q.oa=function(a){if(this.a.options.hasOwnProperty("debugAds")&&1==this.a.options.debugAds){var b=document.querySelector(".console-player-container");null!==b&&(/http/.test(a)&&(a='<a href="'+a+'" target="_blank">'+a+"</a>"),b.insertAdjacentHTML("beforeend",'<div class="console-player-line">'+a+"</div>"))}};
Q.If=function(a){if(0!=this.a.oj()){var b=window.document.querySelector(".player-vast-pool");if(!z(b)&&!A(b)){var d="<ul>";if(D(a))for(var f=0;f<a.length;f++)d+='<li class="vast-'+f+'">'+(f+1)+": "+a[f]+"</li>";else d+='<li class="vast-0">'+a+"</li>";b.innerHTML=d+"</ul>"}}};Q.Jf=function(a,b){if(0!=this.a.oj()){var d=window.document.querySelector(".player-vast-pool");z(d)||A(d)||(a=window.document.querySelector(".player-vast-pool ul li.vast-"+a),z(a)||(a.style.color=b?"green":"red"))}};var Ka={jc:"vast",Ja:"adsense",ii:"pool",sf:"yt"};var La={pi:"VAST_NOT_FOUND",ni:"VAST_LOADING_ERROR",rf:"VAST_LOAD_TIMEOUT",Sd:"VAST_EMPTY",og:"VAST_PARSE_ERROR",ri:"VAST_UNSUPPORTED_VERSION",si:"VAST_WRAPPER_ERROR",al:"VAST_MEDIA_ERROR",oi:"VAST_MEDIA_LOAD_TIMEOUT",mi:"VAST_AD_NOT_FOUND",ti:"VAST_XML_ERROR",li:"VAST_ADSENSE_FOUND",Yk:"SERVER_ERROR",UNKNOWN_ERROR:"UNKNOWN_ERROR",ki:"UNKNOWN_RESPONSE"};function Y(a,b,d,f,g,k,l){if(3>arguments.length)throw Error("Failed initialize Adsense advertisement.");if(!C(a)||z(a))throw new TypeError("Player reference is NULL.");if(!C(b)||z(b))throw new TypeError("Ads Manager reference is NULL.");(A(d)||z(d))&&this.finish();this.c="cda.Player.Ads.Adsense";this.a=a;this.v=b;this.b=d;this.La=null;this.event=new S;this.error=La;this.ea=[google.ima.AdEvent.Type.AD_BREAK_READY,google.ima.AdEvent.Type.AD_METADATA,google.ima.AdEvent.Type.ALL_ADS_COMPLETED,google.ima.AdEvent.Type.CLICK,
google.ima.AdEvent.Type.COMPLETE,google.ima.AdEvent.Type.CONTENT_PAUSE_REQUESTED,google.ima.AdEvent.Type.CONTENT_RESUME_REQUESTED,google.ima.AdEvent.Type.DURATION_CHANGE,google.ima.AdEvent.Type.FIRST_QUARTILE,google.ima.AdEvent.Type.IMPRESSION,google.ima.AdEvent.Type.LINEAR_CHANGED,google.ima.AdEvent.Type.LOADED,google.ima.AdEvent.Type.LOG,google.ima.AdEvent.Type.MIDPOINT,google.ima.AdEvent.Type.PAUSED,google.ima.AdEvent.Type.RESUMED,google.ima.AdEvent.Type.SKIPPABLE_STATE_CHANGED,google.ima.AdEvent.Type.SKIPPED,
google.ima.AdEvent.Type.STARTED,google.ima.AdEvent.Type.THIRD_QUARTILE,google.ima.AdEvent.Type.USER_CLOSE,google.ima.AdEvent.Type.VOLUME_CHANGED,google.ima.AdEvent.Type.VOLUME_MUTED];this.Ng=["fullscreenchange","mozfullscreenchange","webkitfullscreenchange","MSFullscreenChange"];this.Yg=null;this.j={};this.Ce=this.Xd=!1;this.nb=this.a.view.nb;this.ob=this.a.view.ob;this.Ra=this.a.view.Ra;this.Be=null;null!=this.a.view.ub(".pb-ad-video-player",this.nb)&&(this.ob.innerHTML="");this.uk(this.ob,this.a.video);
(this.v.Aa!==this.v.state.zb||this.a.h.F())&&this.nb.show();this.u=this.Qc=this.nd=null;this.H();this.Mc=null;this.Nc=this.Oc=this.Jb=-1;this.xf=!1;window.encodeURIComponent(location.href);this.V=!1;this.da=5;this.qb=this.Gb=null;this.Md=!1;this.Y=5;this.Nd=!0;this.yc=this.xc=this.vc=this.Td=this.vi=this.yk=!1;this.fb={creativeView:[],start:[],firstQuartile:[],midpoint:[],thirdQuartile:[],complete:[]};this.Pb=[];this.sc=[];this.Tc=[];z(f)||A(f)||(this.fb=f);z(g)||A(g)||(this.Pb=g);z(k)||A(k)||(this.Tc=
k);z(l)||A(l)||(this.sc=l);this.xk();-1<this.b.tag.indexOf("MTc2_MDVhMDdjNDFjMGYxZGU1YmU1OTYyMjhiZTAwODgxYmQ_MzEwMw")&&(this.V=!0,this.Y=this.da=20);var p=this.a.video.bc(),q=this.a.video.Vc();0==q&&(q=Math.ceil(p/1.77));this.jo(p);this.io(q);try{-1<this.b.tag.indexOf("[referrer_url]")&&(this.b.tag=this.b.tag.replace("[referrer_url]",encodeURIComponent(window.location.href))),-1<this.b.tag.indexOf("[player_h]")&&(this.b.tag=this.b.tag.replace("[player_h]",q)),-1<this.b.tag.indexOf("[player_w]")&&
(this.b.tag=this.b.tag.replace("[player_w]",p))}catch(w){}this.vd=!1;z(this.a.ib("vast_test"))&&(this.vd=!0);this.a.Fa&&5>this.v.Pc&&!this.a.jb()?(p=new URLSearchParams(this.b.tag),p.set("ts","[timestamp]"),p=window.decodeURIComponent(p.toString()),p=p.replace("ads=&","ads&"),p=this.b.pool+"&remove_from_pool="+window.encodeURIComponent(p),this.v.zc=6,this.La={tag:p,autoplay:!0,counter:!0,displayAs:this.b.displayAs,key:"",skip:!1,click:!0,time:0,type:"pool",length:15}):this.a.Fa||this.a.va()||this.a.h.F()&&
(!this.a.h.F()||"midrol"==this.b.displayAs)||this.a.h.Ka()||"prerol"!=this.b.displayAs&&"postrol"!=this.b.displayAs&&"midrol"!=this.b.displayAs||!z(this.a.ib("vast_test"))||"plain"==this.a.f.type&&(A(this.a.f.video_promoted)||!this.a.f.video_promoted)||!(300<=this.a.f.duration||"postrol"==this.b.displayAs)||0!=this.v.Pc||-1<this.b.tag.indexOf("g_zaslepka_dzieci.php")||-1<this.b.tag.indexOf("MjA_ZDMwYzA2NTg5NTBiNmU0MzMyMDU4MjQ4OGZhZjQ0MjQ_MjM5NQ")||-1<this.b.tag.indexOf("MjA_N2JhODc3Y2U3NTJkNTI4Yjc4NmZiMTdjYzFlNDJhYWU_MTIyMQ")||
-1<this.b.tag.indexOf("MjA_MGYzNWQyMzlhN2U0NThlMGQ3OTNiYTMwYzQ3ZmU3NmI_MjUyOQ")||-1<this.b.tag.indexOf("MjA_YjcxYjg4ODFlYmUwNmYwYWM0ZWVhZWYzZGRlMWExYjY_MjUzOQ")||-1<this.b.tag.indexOf("MjA_YTg0ZmRmMDg5ZjM4MjI2NzkyZWUzODMwYzExNmNjZjc_MjY0MQ")||-1<this.b.tag.indexOf("MjA_Y2I2YjBkNjVkZTA5M2U1NGQ3ZTY2YjkwYTQ1NTI1ZWY_MzIxNw")||-1<this.b.tag.indexOf("MjA_MGE0OTJhMzc0YjZmOGQ5YjRlNWE1MTc4OTkwMDk2Y2Y_MzIxNA")||-1<this.b.tag.indexOf("MjA_YTQ1MDkxYmJiZjgxOGFkNDdlNGQzZTgwMWIxMjc1ZDE_MzE2Ng")||-1<this.b.tag.indexOf("MjA_NjNkNDgyZjU4YTJhZGE5ZTY2NGM4MTc4ZDQyNDk2Zjk_MzEwMA")||
-1<this.b.tag.indexOf("MjA_NzFlYzcyMDJmYzlhODE0NzVmNTM2NWQ3MzJiZjBmMjc_MzA5Nw")||-1<this.b.tag.indexOf("MjA_YTc4YzZhOGIwN2U0ZjVjZTBkOGNlNTQ1ZWJkMGZhMTc_MzA5NA")||-1<this.b.tag.indexOf("MjA_MDZiYWRiODMyODhiMDkxMWE5YzM2MGJkNDBiYmMwNGM_MzA5MQ")||-1<this.b.tag.indexOf("MjA_YzU3ZmMyNDcxODk0ZTdhY2JkNGE5ZDEyOTllMWQ0N2I_MzA0Mw")||-1<this.b.tag.indexOf("MjA_YjE1NTVlOGZhY2YyYTAxZmVjYWJiNDQ1NzYzZTExOTM_MzI0NA")||-1<this.b.tag.indexOf("MjA_ZWU3YjlhZWMyMmVmYzk1MDdiY2E2NDJhZTM1YmZiM2Q_MzI0Nw")||-1<this.b.tag.indexOf("MjA_OTQyM2VhYzkyZWJmNGY5MWJiNDE1ZTBhNGJjMTFmM2U_MzI1MA")||
-1<this.b.tag.indexOf("MjA_YmMwYTA5NzAyYTA4MTQwMzMzYTMzNWFjYWI5MjM3MTA_MzI1Mw")||-1<this.b.tag.indexOf("MjA_YjEyNWI0N2Y1NzE4M2Q0ZTAxYWQ3MmI3OWEzMDc5ODM_MzI1OQ")||-1<this.b.tag.indexOf("MjA_YzliYjJkMmVhMWRlNmU5Y2Q2NDA0YjU1ZjJlMDgzNTg_MzI1Ng")||"undefined"===typeof this.b.pool||(p=new URLSearchParams(this.b.tag),p.set("ts","[timestamp]"),p=window.decodeURIComponent(p.toString()),p=p.replace("ads=&","ads&"),p=this.b.pool+"&remove_from_pool="+window.encodeURIComponent(p),this.v.zc=2,this.La={tag:p,autoplay:!0,
counter:!0,displayAs:this.b.displayAs,key:"undefined"!=typeof this.b.key2?this.b.key2:"",skip:!1,click:!0,time:0,type:"pool",length:30})}Q=Y.prototype;
Q.Ca=function(){this.a.log(this.c,"init");google.ima.settings.setVpaidMode(google.ima.ImaSdkSettings.VpaidMode.INSECURE);google.ima.settings.setNumRedirects(9);google.ima.settings.setDisableCustomPlaybackForIOS10Plus(!0);google.ima.settings.setPlayerVersion("5.0.0");null===this.Be&&(this.uk(this.ob,this.a.video),this.v.Aa!==this.v.state.zb&&this.nb.show());null===this.Qc&&this.H();null===this.j&&(this.j={});this.j[google.ima.AdsManagerLoadedEvent.Type.ADS_MANAGER_LOADED]=U(this.Qc,google.ima.AdsManagerLoadedEvent.Type.ADS_MANAGER_LOADED,
this.rm,this);this.j[google.ima.AdErrorEvent.Type.AD_ERROR]=U(this.Qc,google.ima.AdErrorEvent.Type.AD_ERROR,this.Va,this);this.j.Yf=U(this.ob,"click",this.Yf,this);this.j.Hd=U(this.a.controls.N,"click",this.Hd,this);this.j.Yc=U(this.a.controls.xb,"click",this.Yc,this);this.j.Ze=U(this.a.view.ta,"click",this.Id,this);this.j.Hc=U(this.a.view.mc,"click",this.Hc,this);this.Be.initialize();!this.Xd&&this.b.autoplay?(this.a.controls.ca(!0),this.$c()):this.a.controls.Z.R()&&(this.a.controls.ca(!0),this.$c())};
Q.restore=function(){window.clearTimeout(this.nd);this.nd=null;this.ob.innerHTML="";this.nb.m();this.u=this.Qc=this.Be=this.Mc=null;this.Ce=this.Xd=!1};Q.uk=function(a,b){this.xk();this.Be=new google.ima.AdDisplayContainer(a,b)};Q.H=function(){this.Qc=new google.ima.AdsLoader(this.Be)};Q.to=function(a,b,d){this.u=a.getAdsManager(b,d)};
Q.Nl=function(){var a=new google.ima.AdsRenderingSettings;a.AUTO_SCALE=!0;a.restoreCustomPlaybackStateOnAdBreakComplete=!0;a.uiElements=[];a.useStyledNonLinearAds=!0;a.loadVideoTimeout=4E3;a.autoAlign=!0;return a};
Q.finish=function(){this.a.log(this.c,"finish");null!==this.u&&this.u.destroy();this.af();this.restore();this.a.w.m(this.a.w.Ra);this.a.w.m(this.a.w.De);this.a.w.m(this.a.w.na);this.a.w.m(this.a.w.mc);this.a.w.m(this.a.w.ta);if(!z(this.La)&&C(this.La)){if("vast"==this.La.type)return this.Ce&&this.v.$b++,this.v.ef(this.La);if("pool"==this.La.type)return this.Ce&&this.v.$b++,this.v.Nf(this.La.tag,!0)}return this.v.Gc()};
Q.Ag=function(){this.a.log(this.c,"add events");for(var a in this.ea)this.j[this.ea[a]]=U(this.u,this.ea[a],this.Bj,this);this.j[google.ima.AdErrorEvent.Type.AD_ERROR]=U(this.u,google.ima.AdErrorEvent.Type.AD_ERROR,this.Va,this);for(a in this.Ng)this.j[this.Ng[a]]=U(this.a.view.W,this.Ng[a],this.Xe,this);this.j.Xe=U(window,"resize",this.Xe,this)};
Q.af=function(){this.a.log(this.c,"remove events");for(var a in this.ea)null!=this.j[this.ea[a]]&&V(this.u,this.ea[a],this.j[this.ea[a]]);null!=this.j[google.ima.AdsManagerLoadedEvent.Type.ADS_MANAGER_LOADED]&&V(this.Qc,google.ima.AdsManagerLoadedEvent.Type.ADS_MANAGER_LOADED,this.j[google.ima.AdsManagerLoadedEvent.Type.ADS_MANAGER_LOADED]);null!=this.j[google.ima.AdErrorEvent.Type.AD_ERROR]&&V(this.Qc,google.ima.AdErrorEvent.Type.AD_ERROR,this.j[google.ima.AdErrorEvent.Type.AD_ERROR]);null!=this.j.Yf&&
V(this.ob,"click",this.j.Yf);null!=this.j.Hd&&V(this.a.controls.N,"click",this.j.Hd);null!=this.j.Yc&&V(this.a.controls.xb,"click",this.j.Yc);null!=this.j.Ze&&V(this.a.view.ta,"click",this.j.Ze);A(this.j.Hc)||V(this.a.view.mc,"click",this.j.Hc);null!=this.j.Xe&&V(window,"resize",this.Xe);this.j=null};Q.xk=function(){this.a.log(this.c,"set locale to pl");google.ima.settings.setLocale("pl")};Q.jo=function(a){this.Oc=a;this.a.log(this.c,"set width to "+a+"px")};
Q.io=function(a){this.Nc=a;this.a.log(this.c,"set height to "+a+"px")};
Q.$c=function(a){this.a.log(this.c,"requestAd");var b=this;this.nd=window.setTimeout(function(){b.Aj(b.error.rf)},1E4);(this.v.Aa!==this.v.state.zb||this.a.h.F())&&this.a.controls.Z.show();this.Xd=!0;var d=new google.ima.AdsRequest;d.adTagUrl=this.b.tag;d.linearAdSlotWidth=this.Oc;d.linearAdSlotHeight=this.Nc;d.nonLinearAdSlotWidth=10;d.nonLinearAdSlotHeight=10;d.forceNonLinearFullSlot=!1;d.setAdWillAutoPlay(this.b.autoplay);"undefined"!==typeof a&&a&&d.setAdWillPlayMuted(!0);this.a.log(this.c,d);
this.Qc.requestAds(d)};Q.rm=function(a){this.a.log(this.c,"onAdsManagerLoaded");this.to(a,this.a.video,this.Nl);this.Ag();this.a.fullScreen.Ga()&&(this.Oc=window.screen.width,this.Nc=window.screen.height);try{this.u.init(this.Oc,this.Nc,google.ima.ViewMode.NORMAL),this.Od()}catch(b){this.a.log(this.c,b),this.finish()}};
Q.Od=function(){this.a.log(this.c,"startAd");if(!1!==this.a.nc()){var a=this.a.nc();this.a.controls.I(a)}else this.a.controls.vo();try{this.u.start()}catch(b){this.a.log(this.c,b),this.finish()}};
Q.Bj=function(a){this.a.log(this.c,"AdEvent",a.type);try{if("allAdsCompleted"==a.type&&!this.Ce)return this.Aj(this.error.Sd)}catch(b){}this.Mc=a.getAd();switch(a.type){case google.ima.AdEvent.Type.LOADED:this.pm();break;case google.ima.AdEvent.Type.STARTED:this.qm();break;case google.ima.AdEvent.Type.COMPLETE:this.Gc();break;case google.ima.AdEvent.Type.CLICK:try{this.ka("clicktracking")}catch(b){}this.zj();break;case google.ima.AdEvent.Type.PAUSED:if(this.a.Fa&&this.a.disabled)try{this.u.resume()}catch(b){}else this.a.controls.ra(!0),
this.xf=!0;break;case google.ima.AdEvent.Type.RESUMED:this.a.Fa&&this.a.disabled||(this.a.controls.ca(!0),this.xf=!1);break;case google.ima.AdEvent.Type.SKIPPED:case google.ima.AdEvent.Type.USER_CLOSE:this.gk()}};
Q.pm=function(){this.a.log(this.c,"onAdLoaded");try{this.v.a.va()&&window.parent.postMessage("player-ad-playing","*")}catch(a){}window.clearTimeout(this.nd);this.nd=null;this.Jb=this.Mc.getDuration();this.a.controls.Fb(0);this.a.controls.Pa(0);this.a.log(this.c,"adDuration: "+this.Jb);this.v.Aa===this.v.state.zb&&(this.a.video.paused||this.a.pause());if(this.b.autoplay&&this.a.h.F()){this.u.setVolume(0);this.a.video.muted=!0;this.a.Bb=!0;this.a.I(0,!0);this.a.controls.I(0,!0);try{this.a.view.Cd.style.display=
"none"}catch(a){}}};
Q.qm=function(){this.a.log(this.c,"onAdStarted");this.v.oa("Startuje reklam\u0119");this.a.K=!0;try{this.v.a.va()&&window.parent.postMessage("player-ad-playing","*")}catch(d){}this.v.Aa===this.v.state.zb&&(this.v.Ca(!0),this.a.controls.Z.show(),this.nb.show());this.vd&&!this.a.va()&&this.a.w.mc.show();window.clearTimeout(this.nd);this.nd=null;this.Ce=this.v.hb=!0;this.a.w.za.G("pb-run-ad")||this.a.w.za.s("pb-run-ad");try{this.ka("impression")}catch(d){}try{if(this.a.Rd){var a=this;window.setTimeout(function(){a.a.Rd&&
a.ka("viewableImpression")},2E3)}}catch(d){}if(this.a.dc)try{this.S("https://g.cda.pl/g.php?pixel&vi=MTcwYjVmZjFjMTA0MzU5NDExMjcwNDQ3MWZjZDc4NzQ_Nzc4&pl=impression&ct=[timestamp]")}catch(d){}try{if(this.b.hasOwnProperty("counter")&&this.b.counter&&this.b.hasOwnProperty("key")&&this.b.hasOwnProperty("displayAs")){var b="";A(this.Mc.g)||z(this.Mc.g)||(b=""!=this.Mc.g.clickThroughUrl?this.Mc.g.clickThroughUrl:this.Mc.g.adQueryId+"/"+(new Date).getTime());F(b)&&(b=b.trim());""!=b&&null!=b&&"undefined"!=
typeof b&&this.Wd(b,this.b.key,this.b.displayAs)}}catch(d){this.a.log(this.c,d)}try{this.ka("start"),this.ka("creativeView")}catch(d){}0<this.Jb&&this.a.controls.Pa(this.Jb);this.a.controls.ca();this.a.controls.H(!1);this.nb.show();this.$b++;a=this;this.Yg=setInterval(function(){if(null!=a.u&&"undefined"!==typeof a.u.getRemainingTime){var b=a.u.getRemainingTime();!isNaN(b)&&0<b?a.yk||b==a.Jb||(a.Jb=b,a.a.controls.Pa(a.Jb),a.yk=!0):b=0}b=a.Jb-b;var f=Math.floor(b/a.Jb*100);if(25<=f&&!1===a.vc)try{a.ka("firstQuartile"),
a.vc=!0}catch(g){}else if(50<=f&&!1===a.xc)try{a.ka("midpoint"),a.xc=!0}catch(g){}else if(75<=f&&0==a.yc)try{a.ka("thirdQuartile"),a.yc=!0}catch(g){}!isNaN(b)&&0<=b&&(a.a.Fa?a.Ra.innerHTML="Reklama":(f="Reklama: ",a.a.h.F()&&(f=""),a.Ra.innerHTML=f+""+a.v.$b+" z "+a.v.zc),a.Ra.show(),a.a.controls.Fb(b),f=100/a.Jb*b,a.a.controls.pb.bb(f+"%"),0<a.Y&&!0===a.V&&!a.fd().R()&&!1===a.Md&&(a.Nd=!1,a.a.view.ta.show(),a.a.view.ta.ia('<span class="pb-skip-body">Pomi\u0144 reklam\u0119 za '+a.Y+"</span>"),a.a.view.ta.style.opacity=
"0.5",b=Math.ceil(a.Y-b),0>=b?(a.a.view.ta.ia('<span class="pb-skip-body">Pomi\u0144 reklam\u0119</span>'),a.a.view.ta.style.opacity="1",a.Nd=!0):a.a.view.ta.ia('<span class="pb-skip-body">Pomi\u0144 reklam\u0119 za '+b+"</span>")))},100)};Q.Gc=function(){this.a.log(this.c,"onAdComplete");this.v.oa("Koniec reklamy");this.v.Pc++;this.a.controls.currentTime.innerHTML=this.a.controls.Ic(this.Jb);this.a.controls.pb.bb("100%");this.Ra.m();clearInterval(this.Yg);try{this.ka("complete")}catch(a){}return this.finish()};
Q.zj=function(){this.a.log(this.c,"onAdClick");if(this.a.Fa)return!1};
Q.Va=function(a){var b=a.getError();b.getInnerError();var d=b.getErrorCode();this.a.log(this.c,"AdError",a.getError().toString());this.a.log(this.c,"AdError","ErrorCode: "+b.getErrorCode());if(-1<a.getError().toString().indexOf("AdError 1205")&&!1===this.vi)this.vi=!0,this.$c(!0);else{switch(d){case google.ima.AdError.ErrorCode.VAST_LOAD_TIMEOUT:a=this.error.rf;break;case google.ima.AdError.ErrorCode.VAST_EMPTY_RESPONSE:a=this.error.Sd;break;case google.ima.AdError.ErrorCode.VAST_SCHEMA_VALIDATION_ERROR:a=
this.error.og;break;case google.ima.AdError.ErrorCode.VAST_UNSUPPORTED_VERSION:a=this.error.ri;break;case google.ima.AdError.ErrorCode.VAST_WRAPPER_ERROR:a=this.error.si;break;case google.ima.AdError.ErrorCode.UNKNOWN_AD_RESPONSE:a=this.error.ki;break;default:a=this.error.UNKNOWN_ERROR}null!==this.u&&this.u.destroy();this.af();this.restore();return this.v.Va(a)}};Q.Aj=function(a){null!==this.u&&this.u.destroy();this.af();this.restore();return this.v.Va(a)};Q.re=function(){null!==this.u&&this.a.controls.ca(!0)};
Q.fc=function(){null!==this.u&&(this.a.controls.ra(!0),this.u.pause(),this.a.log(this.c,"pause ad"))};Q.Ye=function(){null!==this.u&&(this.a.controls.ca(!0),this.a.controls.Z.m(),this.u.resume(),this.a.log(this.c,"resume ad"))};Q.gk=function(){this.a.log(this.c,"onSkipped");this.v.oa("Reklama przewini\u0119ta");this.v.Pc++;this.a.controls.currentTime.innerHTML=this.a.controls.Ic(this.Jb);this.a.controls.pb.bb("100%");this.Ra.m();clearInterval(this.Yg);this.finish()};
Q.Xe=function(){var a=this;window.setTimeout(function(){a.Oc=a.a.video.bc();a.Nc=a.a.video.Vc();a.a.controls.Ga&&(a.Oc=window.screen.width,a.Nc=window.screen.height);a.a.log(a.c,"resize","new width: "+a.Oc);a.a.log(a.c,"resize","new height: "+a.Nc);null!==a.u&&a.u.resize(a.Oc,a.Nc,google.ima.ViewMode.NORMAL)},100)};Q.Yf=function(){this.v.zf=!0;if(!0===this.b.autoplay||this.Xd)return this.zj();this.a.controls.ca(!0);this.$c()};
Q.Hd=function(){this.v.zf=!0;!0===this.b.autoplay||this.Xd?!1===this.xf?this.fc():this.Ye():(this.a.controls.ca(!0),this.$c())};Q.Yc=function(){this.v.zf=!0;!0===this.b.autoplay||this.Xd?this.a.disabled||(!1===this.xf?this.fc():this.Ye()):(this.a.controls.ca(!0),this.$c())};Q.I=function(a){this.a.log(this.c,"setVolume",a);null!==this.u&&(a=Number(a),!isNaN(a)&&0<=a&&(0===a?this.u.setVolume(0):this.u.setVolume((a/100).toFixed(2))))};
Q.ka=function(a){this.a.log(this.c,"tracking",a);if("impression"==a)for(var b=0;b<this.Pb.length;b++)this.S(this.Pb[b]);else if("viewableImpression"==a)for(b=0;b<this.sc.length;b++)this.S(this.sc[b]);else if("clicktracking"==a)for(b=0;b<this.Tc.length;b++)this.S(this.Tc[b]);else for(var d in this.fb)if(a==d)for(b=0;b<this.fb[a].length;b++)this.S(this.fb[a][b])};Q.S=function(a){this.a.log(this.c,"sendPixel",a);if(a){var b=new window.Image(1,1);b.onload=b.onerror=function(){delete b};b.src=a}};
Q.Wd=function(a,b,d){this.a.log(this.c,"adHit",arguments);if(null!==this.a.X&&!1===this.Td){var f=this;try{window[this.a.X.client].zliczReklame(a,b,d,{success:function(a){f.Td=!0;f.a.log(f.c,"adHit","response: "+a)},error:function(a){f.a.log(f.c,"adHit","erorr: "+a)}})}catch(g){f.a.log(f.c,"adHit","erorr: "+g)}}};
Q.Id=function(){if(this.Nd){try{this.ka("skip")}catch(a){this.a.log(this.c,a)}clearTimeout(this.Gb);this.Gb=null;window.clearInterval(this.qb);this.qb=null;this.Md=!1;this.fd().m();this.a.view.ta.m();this.uf=!0;return this.gk()}};Q.fd=function(){return this.a.view.W.querySelector(".pb-ad-close-body")};Q.Hc=function(){return window.open("https://premium.cda.pl/rejestracja?cd2_sid=1&cd2_n=baner-wideoadpremium&cd2_hash=40fc7a5638fc18189a3a00d9892e30fde92da781","_blank")};function X(a,b,d){if(0>=arguments.length)throw Error("Failed initialize VAST advertisement.");if(!C(a)||z(a))throw new TypeError("Player reference is NULL.");if(!C(b)||z(b))throw new TypeError("Ads Manager refrence is NULL.");if(A(d)||z(d))return this.finish();this.c="cda.Player.Ads.Vast";this.fb={creativeView:[],start:[],firstQuartile:[],midpoint:[],thirdQuartile:[],complete:[],skip:[],mute:[],unmute:[],pause:[],resume:[],video5sec:[],video10sec:[],video15sec:[],video20sec:[],video25sec:[],video30sec:[]};
this.Pb=[];this.sc=[];this.Ie="";this.Tc=[];this.Re="";this.U=0;this.V=!1;this.da=5;this.qb=this.Gb=null;this.Md=!1;this.Y=5;this.Nd=!0;this.autoplay=!1;this.j={};this.Zd=0;this.b=d;this.La=null;this.uf=this.Td=this.sg=this.yg=this.xg=this.wg=this.vg=this.ug=this.zg=this.yc=this.xc=this.vc=this.Ud=!1;this.mb=0;this.cb=!1;this.Da=null;this.Qd=this.sa=!1;this.duration=this.currentTime=-1;this.a=a;this.v=b;this.event=this.video=null;this.Ma="click timeupdate error abort ended pause play playing loadstart load loadeddata loadedmetadata progress waiting canplay canplaythrough volumechange".split(" ");
this.state=null;this.Sn="//static.cda.pl/v001/img/mobile/poster16x9.png";this.nb=this.a.view.nb;this.ob=this.a.view.ob;this.w=this.a.view;this.event=new S;this.error=La;this.hj=!1;this.b.hasOwnProperty("autoplay")&&(this.autoplay=!!this.b.autoplay);this.b.hasOwnProperty("skip")&&(this.V=!!this.b.skip);this.V=!1;this.a.jb()&&(this.V=!0,this.da=5);try{-1<this.b.tag.indexOf("${GDPR}")&&(this.b.tag=this.b.tag.replace("${GDPR}",this.v.kd));-1<this.b.tag.indexOf("${GDPR_CONSENT_755}")&&(this.b.tag=this.b.tag.replace("${GDPR_CONSENT_755}",
this.v.kc));-1<this.b.tag.indexOf("${GDPR_CONSENT_772}")&&(this.b.tag=this.b.tag.replace("${GDPR_CONSENT_772}",this.v.kc));-1<this.b.tag.indexOf("${GDPR_CONSENT}")&&(this.b.tag=this.b.tag.replace("${GDPR_CONSENT}",this.v.kc));if(-1==this.b.tag.indexOf("gdpr_consent=")){var f=-1<this.b.tag.indexOf("?")?"&":"?";this.b.tag+=f+"gdpr_consent="+this.v.kc}-1==this.b.tag.indexOf("gdpr=")&&(f=-1<this.b.tag.indexOf("?")?"&":"?",this.b.tag+=f+"gdpr="+this.v.kd)}catch(g){}if(-1<this.b.tag.indexOf("MjA_MTI3M2FjYjVmMzI3YTljMzI1Y2NmYWZkMTIyM2RhOGE_NjIz")||
-1<this.b.tag.indexOf("MjA_ZGMyN2E2NmFhYjZhNjE3YTE1N2E0ZTgzODk2ZTVlNWI_NjE3")||-1<this.b.tag.indexOf("MjA_Y2YyYmM1ZmJiOTJkNzU1ZDgwMmJmYzgxOGNmNzZiMjQ_NjE0")||-1<this.b.tag.indexOf("MjA_YTk1ZjkwZGViMmZkZDc4YmE4MzhiM2U1MmY0NjhkODY_NjA4")||-1<this.b.tag.indexOf("MjA_MDk1ODNhM2U4MDdmNjJjODBhMWIxMTAzNDk3ZjdkNTE_NjMy")||-1<this.b.tag.indexOf("NzY_MGI4MThkZjU2MmEwM2Y2MzY4NDllM2RkYjhjYzM1MDQ_NjU1"))this.V=!0,this.Y=this.da=5;if(-1<this.b.tag.indexOf("MjA_YmY3OGEwODRkOTNkNDAwNTI4YjE5ZDM1MDdmNWY2M2E_NjAw")||
-1<this.b.tag.indexOf("MjA_OGJkM2RkZTI5YjIxNjE5ZDYxZGUzYjU3ZDUwOGVhYzk_NTUy")||-1<this.b.tag.indexOf("MjA_MzY1ZmIzZGNhMzhhZmY0ZmI2NWE2NTdjMmQ0YWQzMDI_NTQ5")||-1<this.b.tag.indexOf("MjA_M2YzNTJmZDMwOGVhNDgyMjllZmFlNjNlOTQ2OThmZTY_NTQ2")||-1<this.b.tag.indexOf("MjA_MjRkZDcxOGQ4MmFhYTQ0NWU0OGFhYmVjMjM1ZGJlM2Q_NTQz")||-1<this.b.tag.indexOf("MjA_NTNhZjNmY2NiYmE5ZTVmZDEwY2FlYTQyNWYxYmM3MzI_NTI4")||-1<this.b.tag.indexOf("MjA_OGIyMWVkNGMwNzhhZjA0YTc2Y2Y1N2EzYmEwYjI3Y2Y_NTI1")||-1<this.b.tag.indexOf("MjA_MWFhOWQyYzM3NWQyZWM0N2ZlODkzNDE0ZDExZTFiOGE_NTIy")||
-1<this.b.tag.indexOf("MjA_NzY0ZWYwNjRjNzJhZDU0MWYzYWI5NDYxM2Q4YzNmMmU_NDkz")||-1<this.b.tag.indexOf("MjA_N2NkZjEzZDIwNDliNWY3MDc1YzQzYmM3ZmViYTc0NTM_NDg0")||-1<this.b.tag.indexOf("MjA_Njc1MTI4Y2NkNGIxMTFiNGQxNjg5NGFjOTJkZjUxNDM_MzY5")||-1<this.b.tag.indexOf("MjA_NTI5NzU2NDQ2YzEwY2Y1OGZlZmRlNjU1MzEzNDQzODc_NjI2")||-1<this.b.tag.indexOf("MjA_ZDY5ODE4MjM2MmEzMjEwMzIwOTU3YzJkMTYzMDU0ZmU_NjEx")||-1<this.b.tag.indexOf("MjA_ZGNiMTBiMjJhOTdjMDlhY2I2YTBlNDUxMWM4MGRiODc_NjM3")||-1<this.b.tag.indexOf("MjA_Nzc3ZDhkYzYyYjUwNzQ4ZmRiMmVhNDgxOWJiOWYwMTk_NjM0")||
-1<this.b.tag.indexOf("MjA_NDg0ZGE4ZTI5MWRlMTdiY2IyNGU3YzE3N2Q1ODZlNDA_NjQy")||-1<this.b.tag.indexOf("MjA_NDhmZDZlY2U2YTIwZWExMTlkMjAzZDJkM2IzMGZkYzU_NjY0")||-1<this.b.tag.indexOf("MjA_YjY5NGNjZmJjN2NmMDJmMDU2YzkyNmY3OGE1YTE1MWY_Njcw")||-1<this.b.tag.indexOf("MjA_N2Q2MjY3ZDQwZmQzNDVkZDhlZDM5YzNhNmQ0YWI0MGE_NjY3")||-1<this.b.tag.indexOf("MjA_YTk4NGJhMGMxM2RmOThmZDQ0MjAxNzMyOWM1ODlkYTA_Njk0")||-1<this.b.tag.indexOf("MjA_ODljOGQ2MzdkZWQxOWRiZTlmNmIxYTc0OGUyODViOTM_Njkx")||-1<this.b.tag.indexOf("MjA_MmNjNTU5NDc5NDc0ZDU4NzAyNTFmYmVlYTQ1ZDJiNjc_Njg4")||
-1<this.b.tag.indexOf("MjA_NTQzOGNiNDViZmY5NjVjZTk4MTFlMzdkZWU4NWE0YzI_Njg1")||-1<this.b.tag.indexOf("MjA_N2NmNWZiMzU0OGYyZTNjODQ4NTI3NGQ4YmU4MmY3YTA_Njgy")||-1<this.b.tag.indexOf("MjA_ZDhiMDVhYzRkMGJjNTFjZTQyZGU4Y2ZhNjNmZWM5YWQ_NzIw")||-1<this.b.tag.indexOf("MjA_N2QxZTE0NTg4NTdmNmM5MTY3NDdkOTdmNmViMzA5NTY_NzE3")||-1<this.b.tag.indexOf("MjA_ZDc0MDdlMmQ5NDBiNzZiYjg2MjE4ZjgxMTgxOGYwMDc_NzMw")||-1<this.b.tag.indexOf("MjA_ZTY5YWQ3NzljMzMzMjI4OGQ0NzIzZGM1ZjUwZjRhMDg_NzI3")||-1<this.b.tag.indexOf("MjA_NTY1ZWFkMjJjNDFiMDM2MGYzNGE3MzVhYjEzNDY3M2Q_ODA1")||
-1<this.b.tag.indexOf("MjA_ZTZhNzM4NmI4YTk1ZWMwZWM0NGYxYjg5ZTY0MGUwYzU_ODE0")||-1<this.b.tag.indexOf("MjA_MjMxYTdmYTg2ZDFmYTJkNTE2Yjc5MDYzZGViMGNhNDg_ODE3")||-1<this.b.tag.indexOf("MjA_YjYzOTQ5M2Q0NDhkZmY3NGNmOTVkZjhmYWYzMzEyODg_ODQx")||-1<this.b.tag.indexOf("MjA_MWRkNTQyMWM3NWZiZGQyMDJkYzRmZGVhNzgwNDYxNWE_ODY4")||-1<this.b.tag.indexOf("MjA_MDdkMzkxM2RlNTQyODBmMzM3NWIyNmM2NjY1ZDNlYWI_ODY1")||-1<this.b.tag.indexOf("MjA_NDIzNTk0OGM1NjM2MzExM2UzZGNkMjUzNGZlMGYxOTk_ODYy")||-1<this.b.tag.indexOf("MjA_YmI5ZWM3MDRmM2YxYWQxYzdmN2YyMTRhNjA1NDZlYWU_ODU5")||
-1<this.b.tag.indexOf("MjA_YTU4YmQ2NjI0MzEwZWVmNTIwM2I0ODFkYTdmZDAxMmQ_OTU1")||-1<this.b.tag.indexOf("MjA_YTQwNjQ1YWYwNTA4ZDE3OGRlYThjYWU2ZjU0ZTM4YmY_OTUy")||-1<this.b.tag.indexOf("MjA_M2MxZjhlNzA4YWY1MjA3NzYwNjE2YzJjZjJkMmI2NjQ_OTkx")||-1<this.b.tag.indexOf("MjA_OTBmNmQ5ODA1MjQ3ZTYxNzRiNDA2Mjk3YTNiNTUwZDE_OTg4")||-1<this.b.tag.indexOf("MjA_Y2RmM2M2ZWYyNWZlMDVmNTBhNzgzODQ1ZGQxM2ZkZDU_OTg1")||-1<this.b.tag.indexOf("MjA_MDIzYjAwODgzMDdhNmVkZDg2NDZkMjlmYjM1OWVhNTE_MTAxOQ")||-1<this.b.tag.indexOf("MjA_MDRjN2Y5MGVkNTA5N2I4OGRmMDgwMmE2NTIyNGM0Njk_MTAzNA")||
-1<this.b.tag.indexOf("MjA_NGNkZmZhYjFmMzIxMjM3MjdiNzM0MDQyNGFmYmEyNWQ_MTA3Nw")||-1<this.b.tag.indexOf("MjA_NzM4ODI4ZGNjY2JjOTZiOGQwYTc4ZWY3ZjY5OWY3Zjc_MTA3NA")||-1<this.b.tag.indexOf("MjA_ZTZiMDE1YjA1OTliMTJkYjE3ZGE2YWRhNmNkZmVjZTQ_MTA4Ng")||-1<this.b.tag.indexOf("MjA_NDliODM4ODBmZjY2ZTliNDYwYThkMWQwNjM4ZGUzMTk_MTExOA")||-1<this.b.tag.indexOf("MjA_NGU3NTJmNTM3M2I1ZTQ0MDhiN2MyNjdmOGJlZjRiYTA_MTEyNA")||-1<this.b.tag.indexOf("MjA_OWJhZWJjNjdiYjVhYTBkNzMyZjhhMTUyY2MxNDJhN2I_MTEyNg")||-1<this.b.tag.indexOf("MjA_YmMyYmIxMWVhNWQ5YjkxYzE5ZjczNDk5NmU3YmQ1ZmI_MTEyOA")||
-1<this.b.tag.indexOf("MjA_MjM1Zjc1MTAxZDZjMzU3ZDI4NDYxMTg5MTI4NTYyMDU_MTEzMA")||-1<this.b.tag.indexOf("MjA_ZTI2YWQxOTRmZjY4YmJjZTBlYjk3MDE4MDRjODE4NDA_MTEzNg")||-1<this.b.tag.indexOf("MjA_Y2VmOWVmY2VhNWM0NzZhZjE5NjE1YzQxMzI2ZDg2ZGY_MTM2NQ")||-1<this.b.tag.indexOf("MjA_ODRmOWEwN2ViOTcwYmE1Mzg1YjQyMmNmNWMyOTIzY2Y_MTM2Mg")||-1<this.b.tag.indexOf("MjA_NWYzMjY4OWYyYjI2OGFkZWY4NDNkMDQwMmY4YWNhOTE_MTM1OQ")||-1<this.b.tag.indexOf("MjA_MDYwYTEyMmU5MmU1YzdhNTg0ZWU5MDNmNDcyZGQzNDg_MTM1Ng")||-1<this.b.tag.indexOf("MjA_YmFmMzI3N2EyMDYyZjMwNWU0ZDE5YzhlMzhhMzdhZjY_MTM1Mw")||
-1<this.b.tag.indexOf("MjA_MzkzNDg5OWI5MGQ1YTk4NTBlNjg5Y2I2M2I3MWUwNTc_MTQ4Mw")||-1<this.b.tag.indexOf("MjA_YzQ0MzgzNGNhMDIxMjVhMGExNWM2YTBiMjRkZTI4ZWQ_MTk0Mg")||-1<this.b.tag.indexOf("MjA_YjM1YWIxMWNkZDk5NTcwYTcyYWYyOWM5NjcwZmM1Mzk_MTkzOQ")||-1<this.b.tag.indexOf("MjA_NjFlYjM3OWIxNDRjY2U5MmE1YTAzYzY0YmQ0Zjc4ZGE_MTgxNg")||-1<this.b.tag.indexOf("MjA_NzYwZDhjMzU1ZjRjNWExYWRjMWM3MzQ3MzkzY2YxMzQ_MTY5MA"))this.V=!0,this.da=5;this.vd=!1;z(this.a.ib("vast_test"))&&(this.vd=!0);-1<this.b.tag.indexOf("MjYw_MzljNjA0NDkwMjc3M2ZjZDZmZjg4YTE5OTMyZmNkNTY_MzYzOA")&&
(this.V=!0,this.Y=this.da=5);if(-1<this.b.tag.indexOf("MTk2_ZGZlYjIyYjVmYzk0MmI5ZThlMmVhMTE2Yzg2ZWQ5YWE_MjkzOA")||-1<this.b.tag.indexOf("MTk2_Y2VlNTczYzAyYTJjMjdmNTUzNjJiNTJiMGJjMzZkZjE_MjkzNQ")||-1<this.b.tag.indexOf("MTk2_NGRiMGI0YWFiZGQ5NTIxZDExZDkxYWZjYTQzNTIyM2E_MzAxOQ"))this.V=!0,this.Y=this.da=5;if(-1<this.b.tag.indexOf("MjA_NjNkNDgyZjU4YTJhZGE5ZTY2NGM4MTc4ZDQyNDk2Zjk_MzEwMA")||-1<this.b.tag.indexOf("MjA_MDZiYWRiODMyODhiMDkxMWE5YzM2MGJkNDBiYmMwNGM_MzA5MQ")||-1<this.b.tag.indexOf("MjA_NjkwOWIyOTVkOTkyNzVhODI1ODEyMmRmYzA0YmUwOWU_MzA4OA"))this.V=
!0,this.da=5;if(-1<this.b.tag.indexOf("MTk2_ZTcwZTkwN2EyMzM4NDQzMTYyN2M4Nzg5MzIwZDhkOGE_MzAyMg")||-1<this.b.tag.indexOf("MTk2_ZTcwZTkwN2EyMzM4NDQzMTYyN2M4Nzg5MzIwZDhkOGE_MzAyMg"))this.V=!0,this.Y=this.da=5;if(-1<this.b.tag.indexOf("MTk2_MjIzMjA0ZDU2OTA0Mzg0YjE3Y2I5NGY4ZmE2MTdiNzY_MzQ5MA")||-1<this.b.tag.indexOf("MTk2_MjI2ZjFiNjQxOWJkY2Q0ZTY1NzZhNWIyZDRhNDE2YzE_MzQ5Mw"))this.V=!0,this.Y=this.da=5;if(-1<this.b.tag.indexOf("MTk2_YmZjYjRkNDJiOTJmYTY2MWMxOTNmNmNmMWYyZWZjMzE_MzQ4Nw")||-1<this.b.tag.indexOf("MTk2_ZWRkOGY0OTFhMDJkZGJhY2VhZDQ1MGI2ZjViOGRiYmQ_MzQ5Ng"))this.V=
!0,this.Y=this.da=15;-1<this.b.tag.indexOf("MTk2_Mzc3YTc2ZjI2YmUzNGMyNTEwMDJkMTVjYTYxYzE5YjY_MjY0NA")&&(this.V=!0,this.Y=this.da=5);-1<this.b.tag.indexOf("MTk2_ZmE5ZTY1NGFhMzQ4MTRiMGIwZTg5OTg5NzA3Y2MwOGQ_Mzk0MA")&&(this.V=!0,this.Y=this.da=7);if(-1<this.b.tag.indexOf("MTk2_ODI2ZWM2M2U2ZTI4MzI3MGJmZDFhY2QwMjhjOTU1ZmI_MjU2Mw")||-1<this.b.tag.indexOf("MTk2_Njk3OGNlNDFmYmJkMWIxY2JkMzQxZGJmNWEyNTlkYzk_Mjc3MA")||-1<this.b.tag.indexOf("MTk2_YmQxOTdhYzQ0MjA2MDVlNTYwODM2ZTJiMzI0N2EyYTI_Mjc4OA")||-1<this.b.tag.indexOf("MTk2_MTA5YmJlYTg2YWRhOTY0YjIyNTgzZmU2MTc0YjQxYmI_Mjc5MQ"))this.V=
!0,this.Y=this.da=5;if(-1<this.b.tag.indexOf("MjY2_ZGYxMmVkMzQzZGE1MDNkNDNlZjBkMjMzY2ZjOTJlMDQ_MzgyMA")||-1<this.b.tag.indexOf("MjY2_MWEyZWRkMDgxYzBjZjZkZmFiNjMwMWVlN2I5OThkOWU_MzgyMw")||-1<this.b.tag.indexOf("MjY2_ODFlMTI2ZDQ4ODYxZWMxNGJlZjU4YjA2ZmJhYWI5MjY_MzgyNg")||-1<this.b.tag.indexOf("MjY2_OGYzNGY2ZWE2ZjYzMjYzYzgxYTcyZjU2ZjgzYzdiYjA_MzgyOQ"))this.V=!0,this.Y=this.da=5;if(-1<this.b.tag.indexOf("MTk2_ZGJjMTMxZDdmMjQwMTc5NTZiZmE5OGU4MDJkYTZiMzg_MzczNg")||-1<this.b.tag.indexOf("MTk2_MGUzYmQ1ZWYyMDBjMTFlMmZmMTY1NzE1ZjhmZTEzYTY_MzczMw"))this.V=
!0,this.Y=this.da=5;if(-1<this.b.tag.indexOf("MTk2_ZTNhZjY5OTk3MGU2YjZhYzc2NWMxZWRjNmRlYTIzYzU_MzIyMA")||-1<this.b.tag.indexOf("MTk2_MjMyNmVmZTUzODRiM2E3MWFmNmQ5Mjk0YTAyZWU1ZTk_MzI2Mg"))this.V=!0,this.Y=this.da=5;if(-1<this.b.tag.indexOf("MTk2_MTQ3ZjcyNzRmMDA5NDA4YzE1YjdkZDQ3ZmM2M2UwOTE_MzQ3OQ")||-1<this.b.tag.indexOf("MTk2_ZmI2YWEzZDQwZTY0YzlhMTM0YWUzNGQ4ZjdiZDFjZDQ_MzQ3Ng"))this.V=!0,this.Y=this.da=15;-1<this.b.tag.indexOf("MTk2_OWI3ZGZlMDMxZjU4NTI4OTcyMDYwYTkyNjhjOTk2YjU_MzQ3Mw")&&(this.V=!0,this.Y=
this.da=5);-1<this.b.tag.indexOf("MTk2_Y2FiNjZhMjQ1MWU0ODBkZjEyYzBhNDE1ZTZiYTQ0MDI_Mzk2MQ")&&(this.V=!0,this.Y=this.da=5);-1<this.b.tag.indexOf("MTk2_YTU3Mjg2NTk1MjU3YWYwNzY2ZTYyZGJmZmI4ZjkwMGY_MzU1OQ")&&(this.V=!0,this.Y=this.da=5);if(-1<this.b.tag.indexOf("MTk2_ODc3MzBiMjM5NWE1N2JhNjZmN2IwNWI1ZTdmMTI2MDQ_Mjg2Mw")||-1<this.b.tag.indexOf("MTk2_YzBmODkzNmNkYTBkNzljYWE2ODVmN2NlZTJkODE1NTM_Mjg2Ng"))this.V=!0,this.Y=this.da=5;-1<this.b.tag.indexOf("MTk2_ZTY4YmEyY2RhN2NiYjI3NzkzYTA3ZmVmNDQ2YjY4MTE_MjgyNA")&&
(this.V=!0,this.Y=this.da=5);-1<this.b.tag.indexOf("MTk2_ZmJmZjgyY2I4N2MxMjgyMjEyNTY0YzM1OWM1YTY2NmM_MjgyNw")&&(this.V=!0,this.Y=this.da=10);-1<this.b.tag.indexOf("MTk2_MWRmY2ExZWQ4YWYyMGNiYjM1MTE1ZWQ1ZDg1Njc5YmQ_MjkzMg")&&(this.V=!0,this.Y=this.da=5);if(-1<this.b.tag.indexOf("MTk2_YTQ1OTk2MmEwNTk0NzVjMjQ2M2Y5MmQwOGFiYjA5ZmI_MzE4NA")||-1<this.b.tag.indexOf("MTk2_MzAxYWRlM2Q4MDUyNGZlNWQ2OGU2N2U0MDE3NzU4OTE_MzE4MQ"))this.V=!0,this.Y=this.da=5;-1<this.b.tag.indexOf("MTk2_M2JjOGI5Y2I3Mjk0YWZiMjhjOTZhNTFiNWQ2OWZiYzA_MzI2OA")&&
(this.V=!0,this.Y=this.da=5);-1<this.b.tag.indexOf("MjA_Y2U5ODIxYWI5MmQ3ZGMyZGQzNGEzY2E3MmQyZDlhOTM_MzUzNQ")&&(this.V=!0,this.Y=this.da=10);-1<this.b.tag.indexOf("MjA_NjZjMTkyNGE3ZjE2NzRmY2Y4MDA2YjE4YjZhNmUzNjE_MzU0MQ")&&(this.V=!0,this.Y=this.da=10);-1<this.b.tag.indexOf("MjA_OTlmYjJhMzdmZGJiNTJmMGI4NmRlMDM2OWVjOWNhM2Y_MzYwMQ")&&(this.V=!0,this.Y=this.da=15);-1<this.b.tag.indexOf("MjA_OWVkODllZTc0ZTU1OWMzYzQwZDFlOGExYmI4MzI3YjQ_MzY1OQ")&&(this.V=!0,this.Y=this.da=5);-1<this.b.tag.indexOf("MjY2_ZDRiM2Q0NzJjMjYwNzIxZGQwZjk4MDlmNjhhMDkzMjU_MzY0Nw")&&
(this.V=!0,this.Y=this.da=5);-1<this.b.tag.indexOf("MjY2_MTk4MGI2OTc1MzRhNjAyYjVhN2RmZTM3ZjAzNzkwMjA_MzY1MA")&&(this.V=!0,this.Y=this.da=15);-1<this.b.tag.indexOf("MjU2_YzBiMWNlMTZhNjkzYjVjOTcxMWZiN2I1ZWM0MjQ0YTc_MzcyNw")&&(this.V=!0,this.Y=this.da=5);-1<this.b.tag.indexOf("MjA_ZDNhNmI2NjMwZTRhMzgxZTMxYWRhMTc3MTBiZTNmZTY_MzgwOA")&&(this.V=!1);-1<this.b.tag.indexOf("MjA_MWNkM2JmYThmYjFkYWFhZDViOGFlNTk0NGM3YzRmZGE_Mzg1Ng")&&(this.V=!0,this.Y=this.da=20);if(-1<this.b.tag.indexOf("MjIw_OWJmZjkxNjA4M2IwNDc4MjJjY2YwMWQyYzg5MjRjOWM_MjgxOA")){this.V=
!0;this.Y=this.da=15;try{this.V=!1}catch(g){}}-1<this.b.tag.indexOf("g_zaslepka_dzieci")&&"plain"!=this.a.f.type&&(this.b.tag=-1<this.b.tag.indexOf("?")?this.b.tag+"&partner":this.b.tag+"?partner");this.b.tag&&(f=new URL(this.b.tag),f.searchParams.get("cpv")&&(this.V=!0,this.da=parseInt(f.searchParams.get("cpv")),this.Y=parseInt(f.searchParams.get("cpv")),this.hj=!0),f.searchParams.get("skip")&&(this.V=!0,this.da=parseInt(f.searchParams.get("skip")),this.Y=parseInt(f.searchParams.get("skip"))));this.a.Fa&&
(this.V=!1);try{-1<window.location.href.indexOf("skipoff=1")&&(this.V=!1)}catch(g){}this.vd=f=-1<this.b.tag.indexOf("MjA_");this.a.Fa&&5>this.v.Pc&&!this.a.jb()?(f=new URLSearchParams(this.b.tag),f.set("ts","[timestamp]"),f=window.decodeURIComponent(f.toString()),f=f.replace("ads=&","ads&"),f=this.b.pool+"&remove_from_pool="+window.encodeURIComponent(f),this.v.zc=6,this.La={tag:f,autoplay:!0,counter:!0,displayAs:this.b.displayAs,key:"",skip:!1,click:!0,time:0,type:"pool",length:15}):this.a.Fa||this.a.jb()||
this.a.va()||this.a.h.F()&&(!this.a.h.F()||"midrol"==this.b.displayAs)||this.a.h.Ka()||"prerol"!=this.b.displayAs&&"postrol"!=this.b.displayAs&&"midrol"!=this.b.displayAs||f||!z(this.a.ib("vast_test"))||"plain"==this.a.f.type&&(A(this.a.f.video_promoted)||!this.a.f.video_promoted)||!(300<=this.a.f.duration||"postrol"==this.b.displayAs)||0!=this.v.Pc||(-1<this.b.tag.indexOf("MjA_ZDMwYzA2NTg5NTBiNmU0MzMyMDU4MjQ4OGZhZjQ0MjQ_MjM5NQ")||-1<this.b.tag.indexOf("MjA_N2JhODc3Y2U3NTJkNTI4Yjc4NmZiMTdjYzFlNDJhYWU_MTIyMQ")||
-1<this.b.tag.indexOf("MjA_MGYzNWQyMzlhN2U0NThlMGQ3OTNiYTMwYzQ3ZmU3NmI_MjUyOQ")||-1<this.b.tag.indexOf("MjA_YjcxYjg4ODFlYmUwNmYwYWM0ZWVhZWYzZGRlMWExYjY_MjUzOQ")||-1<this.b.tag.indexOf("MjA_YTg0ZmRmMDg5ZjM4MjI2NzkyZWUzODMwYzExNmNjZjc_MjY0MQ")||-1<this.b.tag.indexOf("MjA_Y2I2YjBkNjVkZTA5M2U1NGQ3ZTY2YjkwYTQ1NTI1ZWY_MzIxNw")||-1<this.b.tag.indexOf("MjA_MGE0OTJhMzc0YjZmOGQ5YjRlNWE1MTc4OTkwMDk2Y2Y_MzIxNA")||-1<this.b.tag.indexOf("MjA_YTQ1MDkxYmJiZjgxOGFkNDdlNGQzZTgwMWIxMjc1ZDE_MzE2Ng")||-1<this.b.tag.indexOf("MjA_NjNkNDgyZjU4YTJhZGE5ZTY2NGM4MTc4ZDQyNDk2Zjk_MzEwMA")||
-1<this.b.tag.indexOf("MjA_NzFlYzcyMDJmYzlhODE0NzVmNTM2NWQ3MzJiZjBmMjc_MzA5Nw")||-1<this.b.tag.indexOf("MjA_YTc4YzZhOGIwN2U0ZjVjZTBkOGNlNTQ1ZWJkMGZhMTc_MzA5NA")||-1<this.b.tag.indexOf("MjA_MDZiYWRiODMyODhiMDkxMWE5YzM2MGJkNDBiYmMwNGM_MzA5MQ")||-1<this.b.tag.indexOf("MjA_YzU3ZmMyNDcxODk0ZTdhY2JkNGE5ZDEyOTllMWQ0N2I_MzA0Mw")||-1<this.b.tag.indexOf("MjA_YjE1NTVlOGZhY2YyYTAxZmVjYWJiNDQ1NzYzZTExOTM_MzI0NA")||-1<this.b.tag.indexOf("MjA_ZWU3YjlhZWMyMmVmYzk1MDdiY2E2NDJhZTM1YmZiM2Q_MzI0Nw")||-1<this.b.tag.indexOf("MjA_OTQyM2VhYzkyZWJmNGY5MWJiNDE1ZTBhNGJjMTFmM2U_MzI1MA")||
-1<this.b.tag.indexOf("MjA_YmMwYTA5NzAyYTA4MTQwMzMzYTMzNWFjYWI5MjM3MTA_MzI1Mw")||-1<this.b.tag.indexOf("MjA_YjEyNWI0N2Y1NzE4M2Q0ZTAxYWQ3MmI3OWEzMDc5ODM_MzI1OQ")||-1<this.b.tag.indexOf("MjA_YzliYjJkMmVhMWRlNmU5Y2Q2NDA0YjU1ZjJlMDgzNTg_MzI1Ng")?this.v.zc=1:-1<this.b.tag.indexOf("g_zaslepka_dzieci.php")?this.v.zc=1:"undefined"!==typeof this.b.pool&&(f=new URLSearchParams(this.b.tag),f.set("ts","[timestamp]"),f=window.decodeURIComponent(f.toString()),f=f.replace("ads=&","ads&"),f=this.b.pool+"&remove_from_pool="+
window.encodeURIComponent(f),this.v.zc=2,this.La={tag:f,autoplay:!0,counter:!0,displayAs:this.b.displayAs,key:"undefined"!=typeof this.b.key2?this.b.key2:"",skip:!1,click:!0,time:0,type:"pool",length:15}));this.a.log(this.c,this.b)}Q=X.prototype={};Q.$c=function(a,b){this.a.log(this.c,"requestAd");try{this.Bf(this.b.tag,"GET",!0,!0,"xml",function(d){!z(d)&&d?a(d):b()}.bind(this))}catch(d){this.a.log(this.c,"requestAd error",d)}};Q.fp=function(){return this.v.Sp()};
Q.Vl=function(a){this.a.log(this.c,"initAd");this.jk(a)};Q.finish=function(){this.a.log(this.c,"finish");this.v.hb=!1;this.Gh();window.clearTimeout(this.Gb);this.Gb=null;window.clearInterval(this.qb);this.qb=null;window.clearTimeout(this.Da);this.Da=null;this.a.w.m(this.a.w.Ra);this.a.w.m(this.a.w.De);this.a.w.m(this.a.w.na);this.a.w.m(this.a.w.mc);this.a.w.m(this.a.w.ta);this.a.h.F()||(this.video=null);return this.v.Ha()};
Q.eg=function(a){a&&-1<a.indexOf(".mp4")?this.video.canPlayType("video/mp4")?(this.video.src=a,this.video.setAttribute("src",a)):this.finish():this.finish()};Q.Oh=function(a){z(this.video)||(this.video.poster=a)};Q.l=function(){return this.video.currentTime||0};Q.Fb=function(a){if(H(a)||I(a))this.currentTime=a,this.video.currentTime=a};Q.L=function(){return this.video.duration||0};
Q.play=function(){this.a.log(this.c,"play");z(this.video)||(0<this.l()?this.resume():(this.v.Aa===this.v.state.zb&&this.v.Ca(!0),this.a.controls.H(!0),this.sa||this.cb||this.video.load(),this.Rb()))};
Q.Bh=function(a){"undefined"!==a&&(a=a.toString(),-1<a.indexOf("play() failed because the user didn't interact with the document first")?this.a.log(this.c,"video promise - play() failed because the user didn't interact with the document first"):this.a.log(this.c,a));B(window.videoAdPlayError)&&window.videoAdPlayError(this.a.id);0<this.l()&&!this.video.paused&&!this.video.ended&&2<this.video.readyState||(this.a.log(this.c,"video promise error"),this.a.controls.ra(!0),this.a.controls.H(!1),this.v.Aa==
this.v.state.ic&&2>=this.mb&&this.Yd())};Q.Rb=function(){var a=this.video.play(),b=this;A(a)||z(a)||a.then(function(){B(window.videoAdPlayPromise)&&window.videoAdPlayPromise(b.a.id);b.Jd();0<b.mb&&(b.mb=0)}).catch(this.a.D.J(this.Bh,this));this.a.log(this.c,"video.play()")};Q.pause=function(){this.a.log(this.c,"pause");z(this.video)||(this.video.paused?this.resume():this.video.pause())};Q.resume=function(){this.a.log(this.c,"resume");z(this.video)||this.video.paused&&this.video.play()};
Q.Xl=function(){if(!this.sg){for(var a in this.Ma)""!=this.Ma[a]&&(this.j[this.Ma[a]]=U(this.video,this.Ma[a],this.qc(this.Ma[a]),this));this.j.Ze=U(this.a.view.ta,"click",this.Id,this);this.j.Id=U(this.fd(),"click",this.Id,this);this.j.Hc=U(this.a.view.mc,"click",this.Hc,this);this.sg=!0}};
Q.Gh=function(){for(var a in this.Ma)""==this.Ma[a]||A(this.j[this.Ma[a]])||("click"==this.Ma[a]?V(this.a.view.rc,this.Ma[a],this.j[this.Ma[a]]):V(this.video,this.Ma[a],this.j[this.Ma[a]]),this.j[this.Ma[a]]=null);A(this.j.Id)||V(this.fd(),"click",this.j.Id);A(this.j.Ze)||V(this.a.view.ta,"click",this.j.Ze);A(this.j.Hc)||V(this.a.view.mc,"click",this.j.Hc);try{A(this.j.Ue)||V(window.document.querySelector("#player_branding_top"),"click",this.j.Ue),A(this.j.Zf)||V(window.document.querySelector("#player_branding_bottom"),
"click",this.j.Zf)}catch(b){}};
Q.qc=function(a){var b=null;switch(a){case "click":b=this.pc;break;case "timeupdate":b=this.Zc;break;case "error":b=this.We;break;case "abort":b=this.nh;break;case "ended":b=this.Gd;break;case "pause":b=this.fc;break;case "play":b=this.re;break;case "playing":b=this.vh;break;case "loadstart":b=this.th;break;case "load":b=this.qh;break;case "loadeddata":b=this.Zj;break;case "loadedmetadata":b=this.Fm;break;case "progress":b=this.qe;break;case "waiting":b=this.$e;break;case "canplaythrough":b=this.Ve;
break;case "canplay":b=this.ph;break;case "volumechange":b=this.zh}return b};Q.bp=function(){return this.a.view.Ra};Q.fd=function(){return this.a.view.W.querySelector(".pb-ad-close-body")};
Q.jk=function(a){if(a)if((a=a.getElementsByTagName("Ad"))&&0<a.length)for(var b=0;b<=a.length;b++){var d=a[b];if(d){if(null==d.querySelector("Wrapper")&&0==d.querySelectorAll("MediaFiles").length){this.Va(this.error.Sd);break}var f=d.querySelectorAll("Impression");null!==f&&0<f.length&&this.Ln(f);f=d.querySelectorAll("ViewableImpression");null!==f&&0<f.length&&this.Pn(f);f=d.querySelectorAll("TrackingEvents");null!==f&&0<f.length&&this.On(f);f=d.querySelectorAll("ClickThrough");null!==f&&0<f.length&&
this.Jn(f);f=d.querySelectorAll("ClickTracking");null!==f&&0<f.length&&this.Kn(f);f=d.querySelector("Wrapper");null!==f&&this.Qn(f);var g=d.querySelectorAll("Script");null!==g&&0<g.length&&this.Nn(g);d=d.querySelectorAll("MediaFiles");if(null!==d&&0<d.length&&(this.Mn(d),""!==this.Re)){this.v.hb=!0;this.a.h.F()?(this.video=this.a.video,this.v.Aa!=this.v.state.ic&&this.a.Oh("//static.cda.pl/v001/img/mobile/poster16x9.png")):null===this.video&&(this.video=window.document.createElement("video"),this.a.jb()?
this.video.className="pb-block-video-player":this.video.className="pb-ad-video-player",this.video.poster=this.Sn,this.ob.appendChild(this.video),this.w.show(this.nb),this.a.Fa?(this.a.controls.I(0),this.video.volume=0):this.a.dc?(this.a.controls.I(0),this.video.volume=0):this.a.jb()?this.video.volume=.3:!1!==this.a.nc()?(a=this.a.nc(),this.a.controls.I(a)):this.a.wd("cda.player.volume")?this.a.controls.I(this.a.ac("cda.player.volume")):this.v.Aa===this.v.state.zb?this.video.volume=.3:this.a.controls.I(this.a.controls.Aq));
this.a.controls.bd(0);this.Xl();this.a.h.F()?this.a.eg(this.Re):(this.eg(this.Re),this.a.video.paused||this.a.pause());if(this.autoplay||this.a.controls.Z.R())this.video&&(this.video.setAttribute("webkit-playsinline","true"),this.video.setAttribute("playsinline","true")),this.a.controls.ca(!0),this.play();break}if(null==f&&""==this.Re){this.Va(this.error.Sd);break}}}else this.Va(this.error.mi)};
Q.Qn=function(a){try{if(null!==a){var b=a.querySelector("VASTAdTagURL")||a.querySelector("VASTAdTagURI");if("object"===typeof b&&b.hasChildNodes()){var d=b.querySelector("URL")||b.querySelector("URI");a=null;a=null!==d&&d.hasChildNodes()?d.childNodes:b.childNodes;for(b=0;b<a.length;b++)if(""!==a[b].nodeValue.trim()){var f=a[b].nodeValue.trim();if(f==this.b.tag)break;this.v.oa("Pobieram wrapper: "+f);try{-1<f.indexOf("${GDPR}")&&(f=f.replace("${GDPR}",this.v.kd));-1<f.indexOf("${GDPR_CONSENT_755}")&&
(f=f.replace("${GDPR_CONSENT_755}",this.v.kc));-1<f.indexOf("${GDPR_CONSENT}")&&(f=f.replace("${GDPR_CONSENT}",this.v.kc));if(-1==f.indexOf("gdpr_consent=")){var g=-1<f.indexOf("?")?"&":"?";f+=g+"gdpr_consent="+this.v.kc}-1==f.indexOf("gdpr=")&&(g=-1<f.indexOf("?")?"&":"?",f+=g+"gdpr="+this.v.kd)}catch(k){}if(this.v.ke(f)&&-1==this.b.tag.indexOf("polsat")){this.v.oa("Wrapper ADSENSE");try{-1<f.indexOf("[referrer_url]")&&(f=f.replace("[referrer_url]",encodeURIComponent(window.location.href)))}catch(k){}g=
[];g.ad={autoplay:this.b.autoplay,counter:this.b.counter,displayAs:this.b.displayAs,key:this.b.key,key2:"undefined"!=typeof this.b.key2?this.b.key2:"",skip:this.b.skip,tag:f,time:this.b.time,type:this.v.type.Ja,pool:this.b.pool};g.tracking=this.fb;g.impression=this.Pb;g.viewableImpression=this.sc;g.clickTracking=this.Tc;this.Va(this.error.li,g);break}try{this.Bf(f,"GET",!0,!0,"xml",function(a){null!=a&&a?this.jk(a):this.finish()}.bind(this))}catch(k){this.a.log(this.c,"getWrapper",k)}}}}}catch(k){this.a.log(this.c,
"parseWrapper",k),this.Va(this.error.Sd)}};
Q.On=function(a){try{for(var b=0;b<a.length;b++){var d=a[b].querySelectorAll("Tracking");if(null!==d&&0<d.length)for(var f=0;f<d.length;f++)if("undefined"!==d[f].getAttribute("event"))for(var g in this.fb)if(g==d[f].getAttribute("event")){var k=d[f].querySelector("URL")||d[f].querySelector("URI"),l=null;null!==k&&k.hasChildNodes()?l=k.childNodes:null!==d[f]&&d[f].hasChildNodes()&&(l=d[f].childNodes);if(null!==l)for(var p=0;p<l.length;p++)""!==l[p].nodeValue.trim()&&this.fb[g].push(l[p].nodeValue.trim())}}}catch(q){this.a.log(this.c,
"parseTrackingEvents",q)}};Q.Ln=function(a){try{for(var b=0;b<a.length;b++){var d=a[b].querySelector("URL")||a[b].querySelector("URI"),f=null;null!==d&&d.hasChildNodes()?f=d.childNodes:null!==a[b]&&a[b].hasChildNodes()&&(f=a[b].childNodes);if(null!==f)for(var g=0;g<f.length;g++)""!==f[g].nodeValue.trim()&&this.Pb.push(f[g].nodeValue.trim())}}catch(k){this.a.log(this.c,"parseImpression",k)}};
Q.Pn=function(a){try{if(null!==a&&0<a.length)for(var b=0;b<a.length;b++)if(a[b].hasChildNodes())for(var d=a[b].childNodes,f=0;f<d.length;f++)if("Viewable"===d[f].nodeName&&d[f].hasChildNodes())for(var g=d[f].childNodes,k=0;k<g.length;k++)""!==g[k].nodeValue.trim()&&this.sc.push(g[k].nodeValue.trim())}catch(l){this.a.log(this.c,"parseViewableImpression",l)}};
Q.Jn=function(a){try{for(var b=0;b<a.length;b++)if(a[b].hasChildNodes())for(var d=a[b].childNodes,f=0;f<d.length;f++)if(""!==d[f].nodeValue.trim()){this.Ie=d[f].nodeValue.trim();return}}catch(g){this.a.log(this.c,"parseClickThrough",g)}};Q.Kn=function(a){try{for(var b=0;b<a.length;b++)if(a[b].hasChildNodes())for(var d=a[b].childNodes,f=0;f<d.length;f++)""!==d[f].nodeValue.trim()&&this.Tc.push(d[f].nodeValue.trim())}catch(g){this.a.log(this.c,"parseClickTracking",g)}};
Q.Mn=function(a){try{for(var b=null,d=0;d<a.length;d++){var f=a[d].getElementsByTagName("MediaFile");if("undefined"!==f)if(1<f.length)for(var g=0;g<f.length;g++){if("undefined"!==f[g].getAttribute("type")&&("video/mp4"==f[g].getAttribute("type")||"mp4"==f[g].getAttribute("type"))){b=f[g];break}}else 1==f.length&&(b=f[0])}if(null!==b&&b.hasChildNodes){var k=b.childNodes;for(a=0;a<k.length;a++)""!==k[a].nodeValue.trim()&&k[a].nodeValue.trim().indexOf("mp4")&&(this.Re=k[a].nodeValue.trim())}}catch(l){this.a.log(this.c,
"parseMediaFiles",l)}};Q.Nn=function(a){try{for(var b=0;b<a.length;b++)if(a[b].hasChildNodes)for(var d=a[b].childNodes,f=0;f<d.length;f++)""!=d[f].nodeValue&&eval(d[f].nodeValue)}catch(g){this.a.log(this.c,"parseScripts",g)}};
Q.Bf=function(a,b,d,f,g,k){this.a.log(this.c,"ajax",arguments);try{var l=new XMLHttpRequest,p=this;l.onload=function(){};l.onreadystatechange=function(){4==l.readyState&&200==l.status?"undefined"!==l.responseXML&&l.responseXML?k(l.responseXML):p.Va(p.error.og):200<l.status&&(400<l.status&&500>l.status?p.Va(p.error.pi):p.Va(p.error.Yk))};l.onerror=function(){p.Va(p.error.ni)};l.ontimeout=function(){p.Va(p.error.rf)};l.withCredentials=f;l.open(b,a,d);l.timeout=5E3;l.send(null)}catch(q){this.a.log(this.c,
"ajax",q)}};Q.ka=function(a){this.a.log(this.c,"tracking",a);if("impression"==a)for(var b=0;b<this.Pb.length;b++)this.S(this.Pb[b]);else if("viewableImpression"==a)for(b=0;b<this.sc.length;b++)this.S(this.sc[b]);else if("clicktracking"==a)for(b=0;b<this.Tc.length;b++)this.S(this.Tc[b]);else for(var d in this.fb)if(a==d)for(b=0;b<this.fb[a].length;b++)this.S(this.fb[a][b])};
Q.S=function(a){try{-1<a.indexOf("[timestamp]")&&(a=a.replace("[timestamp]",parseInt((new Date).getTime()/1E3))),-1<a.indexOf("[TIMESTAMP]")&&(a=a.replace("[TIMESTAMP]",parseInt((new Date).getTime()/1E3)))}catch(d){}try{-1<a.indexOf("g.cda.pl")&&33<this.a.Cc()&&(a+="&uid="+this.a.Cc())}catch(d){}this.a.log(this.c,"sendPixel",a);if(F(a)){var b=new window.Image(1,1);-1<a.indexOf("ad.doubleclick.net")&&(b.referrerPolicy="no-referrer");b.onload=b.onerror=function(){delete b};b.src=a;try{this.v.a.va()&&
window.parent.postMessage("player-ad-playing","*")}catch(d){}}};Q.Ic=function(a){a=Number(a);var b=Math.floor(a/3600),d=Math.floor(a%3600/60);a=Math.floor(a%3600%60);return(0<b?b+":"+(10>d?"0":""):"")+d+":"+(10>a?"0":"")+a};
Q.setTime=function(a){if(0<this.L()){if(!z(this.La)&&C(this.La)){var b=this.La.length;50<b+this.L()&&(b=50-this.L());a=b+this.L()-a}else a=this.L()-a;!isNaN(a)&&E(a)?(-1<this.b.tag.indexOf("MjA_ZmFlNGExNDQ3ODg3ZmM1MmZhZTExMWQxMjhkNGY2NWI_NTg1")||this.a.dc?this.a.view.Ra.innerHTML=this.Ic(a):this.a.Fa?this.a.view.Ra.innerHTML="Reklama":(a="Reklama: ",this.a.h.F()&&(a=""),this.a.view.Ra.innerHTML=a+""+this.v.$b+" z "+this.v.zc),this.a.view.Ra.R()||this.a.view.Ra.show()):this.a.view.Ra.m()}};
Q.zh=function(){this.a.log(this.c,"onVolumeChange",this.video.volume);if(0<this.video.volume)try{this.ka("unmute")}catch(a){}else try{this.ka("mute")}catch(a){}};
Q.Zc=function(){this.qe();2===this.video.networkState&&3>this.video.readyState?this.a.controls.H(!0):(1===this.video.networkState||3<=this.video.readyState)&&this.a.controls.H(!1);this.a.controls.Fb(this.l());this.a.controls.Pa(this.L());this.setTime(this.l());var a=100/this.L()*this.l();this.a.controls.pb.bb(a+"%");this.a.controls.N.R()&&0<this.l()&&this.a.controls.N.m();if(0<this.l()&&!0===this.V&&!this.fd().R()&&!1===this.Md){var b=this;-1<this.b.tag.indexOf("Njk_OTVkOTRkOGU0NmJkN2VlMGFkNDA5ZTE1YmM5YmIwYWI_NjAz")||
-1<this.b.tag.indexOf("MjA_YmQ3NzhiNzUyMmRiNmE3NTljNDg3YzBhMDVhNTk0Y2Q_NjA1")||-1<this.b.tag.indexOf("MjA_MTI3M2FjYjVmMzI3YTljMzI1Y2NmYWZkMTIyM2RhOGE_NjIz")||-1<this.b.tag.indexOf("MjA_ZGMyN2E2NmFhYjZhNjE3YTE1N2E0ZTgzODk2ZTVlNWI_NjE3")||-1<this.b.tag.indexOf("MjA_Y2YyYmM1ZmJiOTJkNzU1ZDgwMmJmYzgxOGNmNzZiMjQ_NjE0")||-1<this.b.tag.indexOf("MjA_YTk1ZjkwZGViMmZkZDc4YmE4MzhiM2U1MmY0NjhkODY_NjA4")||-1<this.b.tag.indexOf("MjA_MDk1ODNhM2U4MDdmNjJjODBhMWIxMTAzNDk3ZjdkNTE_NjMy")||-1<this.b.tag.indexOf("MjA_YmVhOWFjNzQ3NWFlZmQ4ZTllNmNlNDdkMThhNTA3ZTM_NjQ5")||
-1<this.b.tag.indexOf("NzM_NmM5M2ViYjU2ZmY5MTViMWFmNWFiM2ZjYmFlZGEwMmQ_NzM5")||-1<this.b.tag.indexOf("OTQ_MjgxMTM3ZjMzNTAxNjYzYThiMjgzMjlmNzBiYzY3OTM_ODc3")||-1<this.b.tag.indexOf("MTA5_NmQxZjM1NGM1ZTYyZjVkMmNlYWIwYTUwYzgxODc2ZTE_OTY0")||-1<this.b.tag.indexOf("MTA5_NDYxYzk1MWRjNjQ1YmEzODIzODNhMDUyZjlhNjhhYjI_OTYx")||-1<this.b.tag.indexOf("MTY2_MGM3MWEyY2VlNDNlNWZjYmIxNDA4MTJhNTI4YzZjZGQ_MTkwNg")||-1<this.b.tag.indexOf("MTg3_OGQ4YjBhOTYyMWU0MWMwNmNhZGNjNDJmOTIzMjgwYWQ_MjI2Ng")||-1<this.b.tag.indexOf("MTk2_Mzc3YTc2ZjI2YmUzNGMyNTEwMDJkMTVjYTYxYzE5YjY_MjY0NA")||
-1<this.b.tag.indexOf("MTk2_ZDFhN2ZkNzdlYjM3YTAwZDBlZGFlYWQ5ZWI4NzBiY2E_MjUzNg")||-1<this.b.tag.indexOf("MTk2_ODI2ZWM2M2U2ZTI4MzI3MGJmZDFhY2QwMjhjOTU1ZmI_MjU2Mw")||-1<this.b.tag.indexOf("MTg3_YjU5OTJlYWVlYjI5MjNiNWI3M2YzNmQ4MDhkNjdmZDM_MjUxNQ")||-1<this.b.tag.indexOf("MTk2_ZWYzZWEwZDAzMDBkMzM5NjcyZjc1MDYyYmRjNWFjNmU_MjU3Mg")||-1<this.b.tag.indexOf("MTk2_MWI2M2RiM2ZkYTg0NTFhNTE2MmFkODU3NmJiMjhkMDA_MjU4MQ")||-1<this.b.tag.indexOf("MTk2_NGQ0ZWY4ZTFlMmM4YWQ2NzM3YWY1NmEwZDU3Y2ZkNDk_MjU4NA")||-1<this.b.tag.indexOf("MTk2_OTM0YTdmMDVjNTE1MmNhZjdhZjQ0M2I2YzgzY2JiNjg_MjY1Mw")||
-1<this.b.tag.indexOf("MTk2_ZmQzYTZmZGNkN2Q5YmViZDhjYmY0Zjg3MzI2ZDM1NDY_MjY2Mg")||-1<this.b.tag.indexOf("MTk2_YjE3ZWNmZDVhMTVjYmQ2NzEzODE3ZGI2ZjE4MzQ2NzA_MjY2NQ")||-1<this.b.tag.indexOf("MTk2_ZjM2MTRiODZjMmM5NGVkZDJmNjE1NmQ3NDNhYTA3ZDQ_MjY2OA")||-1<this.b.tag.indexOf("MTk2_ODI2ZWM2M2U2ZTI4MzI3MGJmZDFhY2QwMjhjOTU1ZmI_MjU2Mw")||-1<this.b.tag.indexOf("MTk2_Njk3OGNlNDFmYmJkMWIxY2JkMzQxZGJmNWEyNTlkYzk_Mjc3MA")||-1<this.b.tag.indexOf("MTk2_YmQxOTdhYzQ0MjA2MDVlNTYwODM2ZTJiMzI0N2EyYTI_Mjc4OA")||-1<this.b.tag.indexOf("MTk2_YWMyNjE3NzI3ZjNhODZiZTA4MWNkMmJlOTc2N2JkZmE_Mjc3Mw")||
-1<this.b.tag.indexOf("MTk2_MTA5YmJlYTg2YWRhOTY0YjIyNTgzZmU2MTc0YjQxYmI_Mjc5MQ")||-1<this.b.tag.indexOf("MTk2_Mzk3ZGM5MDYxZmFhYWE3NmU0NzAxNjVmOWM5N2ZlZWM_Mjc5Nw")||-1<this.b.tag.indexOf("MTg3_N2Q1MDAwNTMwZDE3MjRmYzI2MjkxYzg3ZDU4N2I2NDk_Mjc5OQ")||-1<this.b.tag.indexOf("MjIw_OWJmZjkxNjA4M2IwNDc4MjJjY2YwMWQyYzg5MjRjOWM_MjgxOA")||-1<this.b.tag.indexOf("MTk2_ZmJmZjgyY2I4N2MxMjgyMjEyNTY0YzM1OWM1YTY2NmM_MjgyNw")||-1<this.b.tag.indexOf("MTk2_ZTY4YmEyY2RhN2NiYjI3NzkzYTA3ZmVmNDQ2YjY4MTE_MjgyNA")||-1<this.b.tag.indexOf("MTk2_ODc3MzBiMjM5NWE1N2JhNjZmN2IwNWI1ZTdmMTI2MDQ_Mjg2Mw")||
-1<this.b.tag.indexOf("MTk2_YzBmODkzNmNkYTBkNzljYWE2ODVmN2NlZTJkODE1NTM_Mjg2Ng")||-1<this.b.tag.indexOf("MTk2_NWE2YzRiM2Y4YmY3ODlkMzFhYTg1NTgzZTFkOThhYzc_Mjg2OQ")||-1<this.b.tag.indexOf("MTk2_MWRmY2ExZWQ4YWYyMGNiYjM1MTE1ZWQ1ZDg1Njc5YmQ_MjkzMg")||-1<this.b.tag.indexOf("MTk2_ZGZlYjIyYjVmYzk0MmI5ZThlMmVhMTE2Yzg2ZWQ5YWE_MjkzOA")||-1<this.b.tag.indexOf("MTk2_Y2VlNTczYzAyYTJjMjdmNTUzNjJiNTJiMGJjMzZkZjE_MjkzNQ")||-1<this.b.tag.indexOf("MTk2_Mjk3ZjNkZDEwN2U1M2Q2NDBiYzViNDdkOGJkMjFhODU_MzAwMQ")||-1<this.b.tag.indexOf("MTk2_YjM3ZTkwMzMxNWI1MGE3YzBjMDc0MTAyYzI2NzkxOTk_MzAwNA")||
-1<this.b.tag.indexOf("MTk2_NGRiMGI0YWFiZGQ5NTIxZDExZDkxYWZjYTQzNTIyM2E_MzAxOQ")||-1<this.b.tag.indexOf("MTk2_ZTcwZTkwN2EyMzM4NDQzMTYyN2M4Nzg5MzIwZDhkOGE_MzAyMg")||-1<this.b.tag.indexOf("MTk2_MzU4Zjg3NDVlOGU1OGVlY2JlODEwNzZjYjgwNDU2OTk_MzA1NQ")||-1<this.b.tag.indexOf("MTk2_ODg2ZmZhNzE1MjA2YzE4ZDY5OGY0ZjMxZjMwNDBhYWY_MzA1OA")||-1<this.b.tag.indexOf("MTk2_OWNkYmM1ZGNjZmIzZTE3YzMwNTMxOWJiODlhYzk3ZjI_MzA2MQ")||-1<this.b.tag.indexOf("MTk2_MzAxYWRlM2Q4MDUyNGZlNWQ2OGU2N2U0MDE3NzU4OTE_MzE4MQ")||-1<this.b.tag.indexOf("MTk2_YTQ1OTk2MmEwNTk0NzVjMjQ2M2Y5MmQwOGFiYjA5ZmI_MzE4NA")||
-1<this.b.tag.indexOf("MTk2_ZTNhZjY5OTk3MGU2YjZhYzc2NWMxZWRjNmRlYTIzYzU_MzIyMA")||-1<this.b.tag.indexOf("MTk2_ZWMwMTcxMWZkZDJmODdmMDZlMDc3Y2U0YzE3N2JkMTg_MzI2NQ")||-1<this.b.tag.indexOf("MTk2_MjMyNmVmZTUzODRiM2E3MWFmNmQ5Mjk0YTAyZWU1ZTk_MzI2Mg")||-1<this.b.tag.indexOf("MTk2_M2JjOGI5Y2I3Mjk0YWZiMjhjOTZhNTFiNWQ2OWZiYzA_MzI2OA")||-1<this.b.tag.indexOf("MjU2_YTJiZDExNjBlYTZjOTc1ZjUyZWI5NmNhZGI0NzlmOGE_MzQwMA")||-1<this.b.tag.indexOf("MTk2_OWI3ZGZlMDMxZjU4NTI4OTcyMDYwYTkyNjhjOTk2YjU_MzQ3Mw")||-1<this.b.tag.indexOf("MTk2_ZmI2YWEzZDQwZTY0YzlhMTM0YWUzNGQ4ZjdiZDFjZDQ_MzQ3Ng")||
-1<this.b.tag.indexOf("MTk2_MTQ3ZjcyNzRmMDA5NDA4YzE1YjdkZDQ3ZmM2M2UwOTE_MzQ3OQ")||-1<this.b.tag.indexOf("MTk2_ZWRkOGY0OTFhMDJkZGJhY2VhZDQ1MGI2ZjViOGRiYmQ_MzQ5Ng")||-1<this.b.tag.indexOf("MTk2_YmZjYjRkNDJiOTJmYTY2MWMxOTNmNmNmMWYyZWZjMzE_MzQ4Nw")||-1<this.b.tag.indexOf("MTk2_MjI2ZjFiNjQxOWJkY2Q0ZTY1NzZhNWIyZDRhNDE2YzE_MzQ5Mw")||-1<this.b.tag.indexOf("MTk2_MjIzMjA0ZDU2OTA0Mzg0YjE3Y2I5NGY4ZmE2MTdiNzY_MzQ5MA")||-1<this.b.tag.indexOf("MTk2_YTU3Mjg2NTk1MjU3YWYwNzY2ZTYyZGJmZmI4ZjkwMGY_MzU1OQ")||-1<this.b.tag.indexOf("MjYw_MzljNjA0NDkwMjc3M2ZjZDZmZjg4YTE5OTMyZmNkNTY_MzYzOA")||
-1<this.b.tag.indexOf("MjY2_MTk4MGI2OTc1MzRhNjAyYjVhN2RmZTM3ZjAzNzkwMjA_MzY1MA")||-1<this.b.tag.indexOf("MjY2_ZDRiM2Q0NzJjMjYwNzIxZGQwZjk4MDlmNjhhMDkzMjU_MzY0Nw")||-1<this.b.tag.indexOf("MTk2_MGUzYmQ1ZWYyMDBjMTFlMmZmMTY1NzE1ZjhmZTEzYTY_MzczMw")||-1<this.b.tag.indexOf("MTk2_ZGJjMTMxZDdmMjQwMTc5NTZiZmE5OGU4MDJkYTZiMzg_MzczNg")||-1<this.b.tag.indexOf("MjU2_YzBiMWNlMTZhNjkzYjVjOTcxMWZiN2I1ZWM0MjQ0YTc_MzcyNw")||-1<this.b.tag.indexOf("MjY2_ZGYxMmVkMzQzZGE1MDNkNDNlZjBkMjMzY2ZjOTJlMDQ_MzgyMA")||-1<this.b.tag.indexOf("MjY2_MWEyZWRkMDgxYzBjZjZkZmFiNjMwMWVlN2I5OThkOWU_MzgyMw")||
-1<this.b.tag.indexOf("MjY2_ODFlMTI2ZDQ4ODYxZWMxNGJlZjU4YjA2ZmJhYWI5MjY_MzgyNg")||-1<this.b.tag.indexOf("MjY2_OGYzNGY2ZWE2ZjYzMjYzYzgxYTcyZjU2ZjgzYzdiYjA_MzgyOQ")||-1<this.b.tag.indexOf("MTk2_ZmE5ZTY1NGFhMzQ4MTRiMGIwZTg5OTg5NzA3Y2MwOGQ_Mzk0MA")||-1<this.b.tag.indexOf("MTI1_ZDRmNjdlMjMyYTRhNTgwZjhlYTYxOWJjNDlhY2ZiODk_Mzk1Mg")||-1<this.b.tag.indexOf("MTI1_ZTliNDk0MmY2YzQ4NmMwZTNlYmE4NDMxM2QwZDk3Yzg_Mzk0OQ")||!0===this.hj?null===this.qb&&0<this.Y&&(this.Nd=!1,this.a.view.ta.show(),this.a.view.ta.ia('<span class="pb-skip-body">Pomi\u0144 reklam\u0119 za '+
b.Y+"</span>"),this.a.view.ta.style.opacity="0.5",this.qb=window.setInterval(function(){b.Y--;0<b.Y?b.a.view.ta.ia('<span class="pb-skip-body">Pomi\u0144 reklam\u0119 za '+b.Y+"</span>"):(b.a.view.ta.ia('<span class="pb-skip-body">Pomi\u0144 reklam\u0119</span>'),b.a.view.ta.style.opacity="1",b.Nd=!0,window.clearInterval(b.qb),b.qb=null)},1E3)):null===this.Gb&&(this.Gb=setTimeout(function(){-1<b.b.tag.indexOf("NTc_MWM1ZjEwYjg5ZGM1ZjVkZDA3YjJmYjI5MzBhOGEwMWE_NTc2")||-1<b.b.tag.indexOf("NTc_ZjBmNmZkOTYzOTQ1ZTcwMzQ0YWJjN2VlYzg1Y2NiZDE_NTcw")||
-1<b.b.tag.indexOf("MjA_ZmFlNGExNDQ3ODg3ZmM1MmZhZTExMWQxMjhkNGY2NWI_NTg1")||-1<b.b.tag.indexOf("NjY_ZTc2M2ZmMDA3YWRiMTZjMjViMjZjMzM1N2RhNWJlOWQ_NTkx")||-1<b.b.tag.indexOf("Njk_OTVkOTRkOGU0NmJkN2VlMGFkNDA5ZTE1YmM5YmIwYWI_NjAz")||-1<b.b.tag.indexOf("NzY_MGI4MThkZjU2MmEwM2Y2MzY4NDllM2RkYjhjYzM1MDQ_NjU1")?b.a.view.ta.show():b.fd().show();b.V=!1;b.Md=!0},1E3*this.da))}a=Math.floor(this.l()/this.L()*100);if(25<=a&&!1===this.vc)try{this.ka("firstQuartile"),this.vc=!0}catch(d){}else if(50<=a&&!1===this.xc)try{this.ka("midpoint"),
this.xc=!0}catch(d){}else if(75<=a&&0==this.yc)try{this.ka("thirdQuartile"),this.yc=!0}catch(d){}if(5<=this.l()&&!1===this.zg)try{this.ka("video5sec"),this.zg=!0}catch(d){}else if(10<=this.l()&&!1===this.ug)try{this.ka("video10sec"),this.ug=!0}catch(d){}else if(15<=this.l()&&!1===this.vg)try{this.ka("video15sec"),this.vg=!0}catch(d){}else if(20<=this.l()&&!1===this.wg)try{this.ka("video20sec"),this.wg=!0}catch(d){}else if(25<=this.l()&&!1===this.xg)try{this.ka("video25sec"),this.xg=!0}catch(d){}else if(30<=
this.l()&&!1===this.yg)try{this.ka("video30sec"),this.yg=!0}catch(d){}};Q.We=function(a){this.a.log(this.c,"onError");3===a.target.networkState?this.finish():(a=-1,null!=this.video.error&&"undefined"!==typeof this.video.error.code&&(a=this.video.error.code),-1<a&&this.finish())};Q.nh=function(){};
Q.Gd=function(){if(!1===this.uf)try{this.ka("complete")}catch(a){}this.a.w.m(this.a.w.Ra);this.a.w.m(this.a.w.De);this.a.w.m(this.a.w.na);this.a.w.m(this.a.w.mc);this.a.w.m(this.a.w.ta);this.a.controls.H(!0);this.a.controls.bd(0);this.a.controls.pb.bb("0%");this.a.controls.Fb(0);this.a.controls.Pa(0);window.clearTimeout(this.Da);this.Da=null;window.clearInterval(this.qb);this.qb=null;window.clearTimeout(this.Gb);this.Gb=null;this.Md=!1;this.fb={creativeView:[],start:[],firstQuartile:[],midpoint:[],
thirdQuartile:[],complete:[],video5sec:[],video10sec:[],video15sec:[],video20sec:[],video25sec:[],video30sec:[]};this.Pb=[];this.sc=[];this.Ie="";this.uf=this.Td=this.sg=this.yg=this.xg=this.wg=this.vg=this.ug=this.zg=this.yc=this.xc=this.vc=this.Ud=!1;this.Gh();this.nb.m();this.ob.innerHTML="";this.video=null;B(window.videoAdEnded)&&window.videoAdEnded(this.a.id);return this.Gc()};
Q.pc=function(){if(this.a.h.F()){if(-1<this.b.tag.indexOf("MjA_N2JhODc3Y2U3NTJkNTI4Yjc4NmZiMTdjYzFlNDJhYWU_MTIyMQ"))return;this.Fj()}this.sa?this.a.controls.ca(!0):this.Qd&&this.a.controls.ca();!z(this.video)&&this.video.paused?this.video.play():(0<this.Zd&&this.Fj(),this.Zd++)};
Q.Fj=function(){if(this.b.click&&!(1>this.l()&&(-1<this.b.tag.indexOf("MTI4_ODEwOGQ2ZTkwMTkwOWJjZjFjNjY0NWYzYzAzMDBiNGU_MTE4NA")||-1<this.b.tag.indexOf("MTI4_M2M5ZTMwNmU0OGJlOTQ3Y2VhOWU0OWM0M2JmY2VhNDE_MTE4MQ")))&&0<this.Zd&&(this.Zd++,!z(this.Ie)&&""!==this.Ie)){var a=this.Ie;try{if(-1<a.indexOf("myphone.pl/klasycznie")||-1<a.indexOf("myphone.pl/produkty"))z(this.a.Qg())||""==this.a.Qg()||(a+="&utm_term="+this.a.Qg()),z(this.a.Rg())||""==this.a.Rg()||(a+="&utm_content="+this.a.Rg())}catch(d){}try{-1<
a.indexOf("http://sprawachrystusa.pl")&&Math.round(Math.random())&&(a="http://sprawachrystusa.pl/lista-kin/")}catch(d){}try{if(-1<a.indexOf("ad.doubleclick.net")){window.open(a,"_blank","noreferrer");try{this.ka("clicktracking")}catch(d){}}else{var b=window.open(a,"_blank");if(!b.closed)try{this.ka("clicktracking")}catch(d){}}}catch(d){}}};Q.fc=function(){try{this.ka("pause")}catch(a){this.a.log(this.c,a)}};
Q.re=function(){this.a.log(this.c,"Event","onPlay");this.a.w.za.G("pb-run-ad")||this.a.w.za.s("pb-run-ad");z(this.Da)||(window.clearTimeout(this.Da),this.Da=null);0<this.L()&&this.a.controls.Pa(this.L());this.v.zf=!0;0===this.Zd&&this.Zd++;this.a.controls.Z.m()};
Q.vh=function(){this.a.controls.H(!1);this.a.controls.N.R()&&this.a.controls.N.m();if(!1===this.Ud){this.Ud=!0;if(-1<this.b.tag.indexOf("ODQ_NjM2ZDE0NDQxZjZjZGY5ZmQ1MmE0MTNmNDA4OWI1YWU_MTQzMg"))try{window.document.querySelector("#player_branding_top").innerHTML='<a href="https://gde-default.hit.gemius.pl/lshitredir/id=B8M1j_s4gXFBYe7iKMDiLMRqXtFKLO_aZu6AH7NbvSz.T7/fastid=gqpuotncdlryxcgwixbcgacbbfkc/stparam=tpqrfnisav/nc=0/gdpr=0/gdpr_consent=/url=https://www.facebook.com/KozelPL/?utm_campaign=KOZEL%20VOD_07-09.19_SABM_19_0225&utm_source=DISPLAY_desktop&utm_medium=%2FVOD%2FVOD%2FCDA_BRANDING%2FCDA_634x75" target="_blank"><img src="https://www.cda.pl/img/branding/KP_Kozel_Digital_Cda_[634x75]_v5.jpg" /></a>',
window.document.querySelector("#player_branding_bottom").innerHTML='<a href="https://gde-default.hit.gemius.pl/lshitredir/id=B8M1j_s4gXFBYe7iKMDiLMRqXtFKLO_aZu6AH7NbvSz.T7/fastid=gqpuotncdlryxcgwixbcgacbbfkc/stparam=tpqrfnisav/nc=0/gdpr=0/gdpr_consent=/url=https://www.facebook.com/KozelPL/?utm_campaign=KOZEL%20VOD_07-09.19_SABM_19_0225&utm_source=DISPLAY_desktop&utm_medium=%2FVOD%2FVOD%2FCDA_BRANDING%2FCDA_634x75" target="_blank"><img src="https://www.cda.pl/img/branding/KP_Kozel_Digital_Cda_[634x75]_v5a.jpg" /></a>',
this.oh(),this.j.Zf=U(window.document.querySelector("#player_branding_bottom"),"click",this.Te,this),this.j.Ue=U(window.document.querySelector("#player_branding_top"),"click",this.Te,this)}catch(g){}if(-1<this.b.tag.indexOf("MjUw_MTkxNzAxODhiZDRhM2Y1YTY2OGY1ODY5YmY1NzZlZTY_MzgzMg")||-1<this.b.tag.indexOf("MjUw_ODZmN2RlN2U3NTZlZTZkOWYwY2JmMjg0MzE1NTQ1YmI_MzgzNQ")||-1<this.b.tag.indexOf("MjUw_ZWQ2NDM4MWFkODlhZDdiNmE4NTk5ZWFhODRhMDMxMjc_MzgzOA"))try{window.document.querySelector("#player_branding_top").innerHTML=
'<a href="https://wyborowa.pl/" target="_blank"><img src="https://static.cda.pl/branding/wyborowa/CDA_634x75_01_UP_v3.jpg" /></a>',window.document.querySelector("#player_branding_bottom").innerHTML='<a href="https://wyborowa.pl/" target="_blank"><img src="https://static.cda.pl/branding/wyborowa/CDA_634x75_02_DOWN_v3.jpg" /></a>',this.oh(),this.j.Zf=U(window.document.querySelector("#player_branding_bottom"),"click",this.Te,this),this.j.Ue=U(window.document.querySelector("#player_branding_top"),"click",
this.Te,this)}catch(g){}try{-1<this.b.tag.indexOf("MTI4_YWUxOGM3NWRlMTE4NzFhMGNhNjk1NjI1YzE1YmJiNWY_MzQ0MA")&&(window.document.querySelector("#player_branding_top").innerHTML='<a href="https://ad.doubleclick.net/ddm/trackclk/N873153.1864356CDA.PL/B21115792.289352162;dc_trk_aid=482758879;dc_trk_cid=141063125;dc_lat=;dc_rdid=;tag_for_child_directed_treatment=;tfua=;gdpr=${GDPR};gdpr_consent=${GDPR_CONSENT_755}" target="_blank"><img src="https://static.cda.pl/branding/vivus/413_PLVivus202011_Pierwsza_na61dni_Luty_CDA-634x75_2-2.png" /></a>',
window.document.querySelector("#player_branding_bottom").innerHTML='<a href="https://ad.doubleclick.net/ddm/trackclk/N873153.1864356CDA.PL/B21115792.289352162;dc_trk_aid=482682062;dc_trk_cid=141063125;dc_lat=;dc_rdid=;tag_for_child_directed_treatment=;tfua=;gdpr=${GDPR};gdpr_consent=${GDPR_CONSENT_755}" target="_blank"><img src="https://static.cda.pl/branding/vivus/413_PLVivus202011_Old_CDA-634x75_2.png" /></a>',this.vm(),this.tm(),this.j.Zf=U(window.document.querySelector("#player_branding_bottom"),
"click",this.sm,this),this.j.Ue=U(window.document.querySelector("#player_branding_top"),"click",this.um,this))}catch(g){}if(-1<this.b.tag.indexOf("MTg3_N2Q1MDAwNTMwZDE3MjRmYzI2MjkxYzg3ZDU4N2I2NDk_Mjc5OQ"))try{window.document.querySelector("#player_branding_top").innerHTML='<a href="https://ad.doubleclick.net/ddm/trackclk/N542601.3487212LEVELUPDISPLAY/B24256105.275212015;dc_trk_aid=469492119;dc_trk_cid=133371240;dc_lat=;dc_rdid=;tag_for_child_directed_treatment=;tfua=" target="_blank"><img src="https://scdn2.cda.pl/branding/monini_cda_01.png" /></a>',
this.oh(),this.j.Ue=U(window.document.querySelector("#player_branding_top"),"click",this.Te,this)}catch(g){}if(-1<this.b.tag.indexOf("NTc_OGIyNDIyYWFlNzAxNzcyMzMwNjgwYTcwZmUxMzAxODc_NTM0")||-1<this.b.tag.indexOf("NTc_OGYxYzdmZWY2NTIyMDllOWM1YWQ4NTQ1MGQyODg2NTA_NTM3")||-1<this.b.tag.indexOf("NTc_MWM1ZjEwYjg5ZGM1ZjVkZDA3YjJmYjI5MzBhOGEwMWE_NTc2")||-1<this.b.tag.indexOf("NTc_MGQ4ZWRhMjJlMmJlODAwNWVjYjhlMGJjZDU2MjcyYTI_NTcz")||-1<this.b.tag.indexOf("NTc_ZjBmNmZkOTYzOTQ1ZTcwMzQ0YWJjN2VlYzg1Y2NiZDE_NTcw")||
-1<this.b.tag.indexOf("NTc_NTc3YWZmOWQ5ZDkyMjljYjNjMmRkYWUxNzYwMGIzNzk_NTY3"))this.a.w.na.show(),this.a.w.na.innerHTML="Dowiedz si\u0119 wi\u0119cej na myphone.pl";-1<this.b.tag.indexOf("NjM_NDhlOGU2YzE4M2Q0N2RhMWEyZjg0YjlhM2NlMmM5Mjc_NTc5")&&(this.a.w.na.show(),this.a.w.na.innerHTML="Sprawa Chrystusa - ju\u017c w kinach!");-1<this.b.tag.indexOf("MjA_ZmFlNGExNDQ3ODg3ZmM1MmZhZTExMWQxMjhkNGY2NWI_NTg1")&&(this.a.w.na.show(),this.a.w.na.innerHTML="Zosta\u0144 wsp\u00f3\u0142w\u0142a\u015bcicielem CDA! Zapisy do 8 grudnia");
-1<this.b.tag.indexOf("Njk_OTVkOTRkOGU0NmJkN2VlMGFkNDA5ZTE1YmM5YmIwYWI_NjAz")&&(this.a.w.na.show(),this.a.w.na.innerHTML='"Najlepszy" - nowy film tw\u00f3rcy "Bog\u00f3w". Ju\u017c w kinach!');-1<this.b.tag.indexOf("MjA_YmQ3NzhiNzUyMmRiNmE3NTljNDg3YzBhMDVhNTk0Y2Q_NjA1")&&(this.a.w.na.show(),this.a.w.na.innerHTML="CDA Premium - nowo\u015bci na luty 2018!");-1<this.b.tag.indexOf("MjA_YmVhOWFjNzQ3NWFlZmQ4ZTllNmNlNDdkMThhNTA3ZTM_NjQ5")&&(this.a.w.na.show(),this.a.w.na.innerHTML="CDA Premium - nowo\u015bci na marzec 2018!");
-1<this.b.tag.indexOf("MjA_MTI3M2FjYjVmMzI3YTljMzI1Y2NmYWZkMTIyM2RhOGE_NjIz")&&(this.a.w.na.show(),this.a.w.na.innerHTML='"The Boy" - ogl\u0105daj w CDA Premium!');-1<this.b.tag.indexOf("MjA_ZGMyN2E2NmFhYjZhNjE3YTE1N2E0ZTgzODk2ZTVlNWI_NjE3")&&(this.a.w.na.show(),this.a.w.na.innerHTML='"Summer Camp" - ogl\u0105daj w CDA Premium!');-1<this.b.tag.indexOf("MjA_Y2YyYmM1ZmJiOTJkNzU1ZDgwMmJmYzgxOGNmNzZiMjQ_NjE0")&&(this.a.w.na.show(),this.a.w.na.innerHTML='"Robinson Crusoe" - ogl\u0105daj ju\u017c teraz w CDA Premium!');
-1<this.b.tag.indexOf("MjA_YTk1ZjkwZGViMmZkZDc4YmE4MzhiM2U1MmY0NjhkODY_NjA4")&&(this.a.w.na.show(),this.a.w.na.innerHTML='"Modelka" - ogl\u0105daj w CDA Premium!');-1<this.b.tag.indexOf("MjA_MDk1ODNhM2U4MDdmNjJjODBhMWIxMTAzNDk3ZjdkNTE_NjMy")&&(this.a.w.na.show(),this.a.w.na.innerHTML='"Ma\u0142y ksi\u0105\u017c\u0119" - ogl\u0105daj ju\u017c teraz w CDA Premium!');-1<this.b.tag.indexOf("MTg3_YjU5OTJlYWVlYjI5MjNiNWI3M2YzNmQ4MDhkNjdmZDM_MjUxNQ")&&(this.a.w.na.show(),this.a.w.na.innerHTML="Z mi\u0142o\u015bci do oliwy od 100 lat",
this.a.w.na.style["pointer-events"]="auto",this.j.Cj=U(this.a.w.na,"click",this.Cj,this));this.vd&&!this.a.va()&&this.a.w.mc.show();-1<this.b.tag.indexOf("MjA_N2JhODc3Y2U3NTJkNTI4Yjc4NmZiMTdjYzFlNDJhYWU_MTIyMQ")&&this.a.w.mc.show();this.v.oa("Startuje reklam\u0119");try{this.ka("impression")}catch(g){}try{if(this.a.Rd){var a=this;window.setTimeout(function(){a.a.Rd&&a.ka("viewableImpression")},2E3)}}catch(g){}if(this.a.dc)try{this.S("https://g.cda.pl/g.php?pixel&vi=MTcwYjVmZjFjMTA0MzU5NDExMjcwNDQ3MWZjZDc4NzQ_Nzc4&pl=impression&ct=[timestamp]")}catch(g){}if(this.b.hasOwnProperty("counter")&&
this.b.counter&&this.b.hasOwnProperty("key")&&this.b.hasOwnProperty("displayAs")){var b="";0<this.Pb.length?b=this.Pb[0]:0<this.fb.start.length?b=this.fb.start[0]:0<this.fb.creativeView.length&&(b=this.fb.creativeView[0]);var d="2017premium-wakacje 2017premium-recepcjonista 2017premium-gosc 2017premium-wakacje 2017premium-piekna 2017premium-frankenstein 2017premium-dziendobry 2017premium-kobietawklatce 2017premium-nikoratujebrata 2017premium-kumba 2017premium-body 2017premium-sonofagun 2017premium wosp_25 2017premium-facetniepotrzebnyodzaraz 2017premium-carteblanche 2017premium-sarila 2017premium-anatomia-zla 2017premium-popek 2017premium-maruderzy 2017premium-loft 2017premium-to-wlasnie-seks 2017premium-kroczac-wsrod-cieni 2017premium-kevin 2017premium-upsarka 2017premium-honorisila 2017premium-dawcapamieci 2017premium-kochanek 2017premium-wszystkowidzaca 2017premium-72godziny 2017premium-naukaspadania 2017premium-boy7 2017premium-przekret 2017premium-poslancy 2017premium-wakacjemikolajka 2017premium_cda24 2017premium_cdapopcorntv grudzien2016premium 2017premium_hugoilowcyduchow 2017premium_nieracjonalnymezczyzna 2017premium_pantameron 2017premium_transporternowamoc 2017premium_zycnieumierac 2017premium_7psychopatow 2017premium_theduff 2017premium_asterixiobelix 2017premium_teostatniegodziny 2017premium_marsylskilacznik 2017premium_juzzatobatesknie 2017premium_whoami 2017premium_bananki 2017premium_wdrodzenagielde35s 2017premium_bonypodarunkowe 2017premium_cda24swieta 2018premium_ofertaluty 2018premium_theboy 2018premium_sypiajaczinnymi 2018premium_summercamp 2018premium_robinsoncrusoe 2018premium_racheticlank 2018premium_modelka 2018premium_misiek 2018premium_malyksiaze 2018premium_ojcowieicorki 2018premium_sypiajaczinnymi 2018premium_sprawachrystusa 2018premium_poradynazdrady YmY3OGEwODRkOTNkNDAwNTI4YjE5ZDM1MDdmNWY2M2E_NjAw N2U3ODlkZjNkOTI3OGMzZjQ2NzYyZjNlNTU1NzliN2Q_NTk0 NzY0ZWYwNjRjNzJhZDU0MWYzYWI5NDYxM2Q4YzNmMmU_NDkz MGM4YjFmYTA3OTU5ZDI4MWQyZDgzMGE3MTc3N2Y3MzU_NDk2 ZGRkZGZhN2Q0OTZhMDBjOThkMzFhZGU2YTYzMDZiNWQ_NDk5 ZGFhN2ZmZTEzMzQ0Nzc3MDIzNjgxOWJiYzE4OThlNTY_NTAy NWU5MjlhNDAyOGY5MTZlYjI0ODAxMzRkMDNjZGU0Yjc_NTA1 YmFjMDk2ZTA4MGRjMzJjODlkZWVjODMwMDI5ZjkyZmY_NDg3 N2NkZjEzZDIwNDliNWY3MDc1YzQzYmM3ZmViYTc0NTM_NDg0 MjAwZTljNDMzYThjOGFlYWVlNmNiZjQ0MTljNzY3ZWM_Mzgy ZjZmMWU5ZjI1MzQzNWNkMDU2MGU0NjkyZTg4MDVjMDY_Mzg1 OTU2MjBjNjMwMDZjZDY1YjBjNjJkZmVmYzMzZWNmYjU_Mzcx MzJkOGIxYTI3NWU3Y2Q3NTY2YTllYzkyYTQ3NDY1NjE_Mzcz YTJmMGI4ODFkZGZkNzkzMGNiNDE3Y2QyZDhlZjEwZjE_NDAw M2ZkZjJhNTk0MjBhMjY4NWFlNjk1ZTAxYWEyNmJkN2Q_NDAz OTNiM2VkYTY1Y2M0YWFlYWI4MjQ4NDlkNTIxMGNjOGI_MjYz ZmY2MzA0MGJmNDQ3ZjcwZmQwNjdmNTdiMmNlOTQ1OGQ_NDA2 NGRkYTQzMTMzODcxOGM0YmZmMGJlNTliYTA0YzNlNDI_NDA5 ODIwMzdhNjQ5ZmRkMWQyOGI5NDE2YjExN2MxODhkOGY_NDE1 YmE1NTJmOTQzZDE3ODg4YmMwZTZjNGVlMTkyNjcxZWE_NDI0 M2M1MTQyYmIxNDZjYjQ0YjIzYTM4YWU4OGRjNGIwNmU_NDIx NjE1ZjUwZTQ5OTU4MzE0MTYwOTM0NmM2YjIzNDUwOWY_NDQy NWNmYTVhOGUwYmVmOGMxYjA4ZmMxYTAxZjUwMDU5ZTc_NDMz NWQwM2I4MTFlNTAzZWY3OWQ2ZWIxMjQ0OTlkNGZlZGE_NDM5 OTFlNzgxMDhmMmMwNWFhMjQzMDEwNjQwYjhiMDRhNTY_NDM2 NjNjNmJhZmQwZTc1NDViM2E3MmJhYmE5YzliOTE0MTU_NDU0 ZmI4ZTNmOGI5ZTAyOGM5MTgwODhmZjMwMDEwZWExZjI_NDYy ZjcyODk1N2NjMWUyMzYwODZkZjg2OTkwZjAwNzRlOTg_NDYz MWFhOWQyYzM3NWQyZWM0N2ZlODkzNDE0ZDExZTFiOGE_NTIy NmEyODVhMzgzZDI1Y2FjYmYxYjI3YmJiMDBjMDg2ZDY_NTMx NTNhZjNmY2NiYmE5ZTVmZDEwY2FlYTQyNWYxYmM3MzI_NTI4 OGIyMWVkNGMwNzhhZjA0YTc2Y2Y1N2EzYmEwYjI3Y2Y_NTI1 MjRkZDcxOGQ4MmFhYTQ0NWU0OGFhYmVjMjM1ZGJlM2Q_NTQz M2YzNTJmZDMwOGVhNDgyMjllZmFlNjNlOTQ2OThmZTY_NTQ2 MzY1ZmIzZGNhMzhhZmY0ZmI2NWE2NTdjMmQ0YWQzMDI_NTQ5 OGJkM2RkZTI5YjIxNjE5ZDYxZGUzYjU3ZDUwOGVhYzk_NTUy ZjE5Mzk4YmM3ZmRiZTdiMTZhNzIxYjlmY2M1ZGQ3NjU_NTU1 ZmFlNGExNDQ3ODg3ZmM1MmZhZTExMWQxMjhkNGY2NWI_NTg1 YmQ3NzhiNzUyMmRiNmE3NTljNDg3YzBhMDVhNTk0Y2Q_NjA1 MTI3M2FjYjVmMzI3YTljMzI1Y2NmYWZkMTIyM2RhOGE_NjIz OWE1NjRmYjBmODhhZDRjMWVlNzU2MGUzNDFkNDk4YmM_NjIw ZGMyN2E2NmFhYjZhNjE3YTE1N2E0ZTgzODk2ZTVlNWI_NjE3 Y2YyYmM1ZmJiOTJkNzU1ZDgwMmJmYzgxOGNmNzZiMjQ_NjE0 ZDY5ODE4MjM2MmEzMjEwMzIwOTU3YzJkMTYzMDU0ZmU_NjEx YTk1ZjkwZGViMmZkZDc4YmE4MzhiM2U1MmY0NjhkODY_NjA4 NTI5NzU2NDQ2YzEwY2Y1OGZlZmRlNjU1MzEzNDQzODc_NjI2 MDk1ODNhM2U4MDdmNjJjODBhMWIxMTAzNDk3ZjdkNTE_NjMy Nzc3ZDhkYzYyYjUwNzQ4ZmRiMmVhNDgxOWJiOWYwMTk_NjM0 ZGNiMTBiMjJhOTdjMDlhY2I2YTBlNDUxMWM4MGRiODc_NjM3 NjFlYzhlYzQ3OTM1ODhkMzIyN2ViYzM5OGYxNzY3ZTk_NjM5 NDg0ZGE4ZTI5MWRlMTdiY2IyNGU3YzE3N2Q1ODZlNDA_NjQy YmVhOWFjNzQ3NWFlZmQ4ZTllNmNlNDdkMThhNTA3ZTM_NjQ5 MGI4MThkZjU2MmEwM2Y2MzY4NDllM2RkYjhjYzM1MDQ_NjU1 NDhmZDZlY2U2YTIwZWExMTlkMjAzZDJkM2IzMGZkYzU_NjY0 YjY5NGNjZmJjN2NmMDJmMDU2YzkyNmY3OGE1YTE1MWY_Njcw N2Q2MjY3ZDQwZmQzNDVkZDhlZDM5YzNhNmQ0YWI0MGE_NjY3 MWNkNGIwMGE4NzQxYmU2NTA5MGIxZDFmYTA0MDk1Njc_Njc5 YTk4NGJhMGMxM2RmOThmZDQ0MjAxNzMyOWM1ODlkYTA_Njk0 ODljOGQ2MzdkZWQxOWRiZTlmNmIxYTc0OGUyODViOTM_Njkx MmNjNTU5NDc5NDc0ZDU4NzAyNTFmYmVlYTQ1ZDJiNjc_Njg4 NTQzOGNiNDViZmY5NjVjZTk4MTFlMzdkZWU4NWE0YzI_Njg1 N2NmNWZiMzU0OGYyZTNjODQ4NTI3NGQ4YmU4MmY3YTA_Njgy N2QxZTE0NTg4NTdmNmM5MTY3NDdkOTdmNmViMzA5NTY_NzE3 ZDhiMDVhYzRkMGJjNTFjZTQyZGU4Y2ZhNjNmZWM5YWQ_NzIw ZDc0MDdlMmQ5NDBiNzZiYjg2MjE4ZjgxMTgxOGYwMDc_NzMw ZTY5YWQ3NzljMzMzMjI4OGQ0NzIzZGM1ZjUwZjRhMDg_NzI3 NTY1ZWFkMjJjNDFiMDM2MGYzNGE3MzVhYjEzNDY3M2Q_ODA1 MjMxYTdmYTg2ZDFmYTJkNTE2Yjc5MDYzZGViMGNhNDg_ODE3 ZTZhNzM4NmI4YTk1ZWMwZWM0NGYxYjg5ZTY0MGUwYzU_ODE0 YjYzOTQ5M2Q0NDhkZmY3NGNmOTVkZjhmYWYzMzEyODg_ODQx MWRkNTQyMWM3NWZiZGQyMDJkYzRmZGVhNzgwNDYxNWE_ODY4 MDdkMzkxM2RlNTQyODBmMzM3NWIyNmM2NjY1ZDNlYWI_ODY1 NDIzNTk0OGM1NjM2MzExM2UzZGNkMjUzNGZlMGYxOTk_ODYy YmI5ZWM3MDRmM2YxYWQxYzdmN2YyMTRhNjA1NDZlYWU_ODU5 YTQwNjQ1YWYwNTA4ZDE3OGRlYThjYWU2ZjU0ZTM4YmY_OTUy YTU4YmQ2NjI0MzEwZWVmNTIwM2I0ODFkYTdmZDAxMmQ_OTU1 M2M3MTBiMWI3ZjhmOWUzNDA3ZTVlMDJmYWRmOWRkMTc_OTMx MGNmYjBhNDEwOWQ1M2YyMzcyNjVhYmQ5MzBiYjM1ZmE_OTI4 NzFjOTMzYzIyM2YzMzdhM2NhM2ExNzJhNjAwZDliMTc_ODU2 M2MxZjhlNzA4YWY1MjA3NzYwNjE2YzJjZjJkMmI2NjQ_OTkx OTBmNmQ5ODA1MjQ3ZTYxNzRiNDA2Mjk3YTNiNTUwZDE_OTg4 Y2RmM2M2ZWYyNWZlMDVmNTBhNzgzODQ1ZGQxM2ZkZDU_OTg1 MDIzYjAwODgzMDdhNmVkZDg2NDZkMjlmYjM1OWVhNTE_MTAxOQ MDRjN2Y5MGVkNTA5N2I4OGRmMDgwMmE2NTIyNGM0Njk_MTAzNA NzM4ODI4ZGNjY2JjOTZiOGQwYTc4ZWY3ZjY5OWY3Zjc_MTA3NA NGNkZmZhYjFmMzIxMjM3MjdiNzM0MDQyNGFmYmEyNWQ_MTA3Nw NzhkODVkNzQ1OGVkNzYwYTY5MGRhY2ZlMzA2MzJkMGY_MTA4Mw YTBlNGZlNTE1ZjA1YThiY2RkZWQ0ZDBmMWRiNWJjNTg_MTA4MA ZTZiMDE1YjA1OTliMTJkYjE3ZGE2YWRhNmNkZmVjZTQ_MTA4Ng NDliODM4ODBmZjY2ZTliNDYwYThkMWQwNjM4ZGUzMTk_MTExOA NGU3NTJmNTM3M2I1ZTQ0MDhiN2MyNjdmOGJlZjRiYTA_MTEyNA OWJhZWJjNjdiYjVhYTBkNzMyZjhhMTUyY2MxNDJhN2I_MTEyNg YmMyYmIxMWVhNWQ5YjkxYzE5ZjczNDk5NmU3YmQ1ZmI_MTEyOA MjM1Zjc1MTAxZDZjMzU3ZDI4NDYxMTg5MTI4NTYyMDU_MTEzMA ZTI2YWQxOTRmZjY4YmJjZTBlYjk3MDE4MDRjODE4NDA_MTEzNg YjdkMGFkNjc1ZWQzMzQ2MTg4NDNmN2RlOThlNzYwMWE_MTEzMw Y2VmOWVmY2VhNWM0NzZhZjE5NjE1YzQxMzI2ZDg2ZGY_MTM2NQ ODRmOWEwN2ViOTcwYmE1Mzg1YjQyMmNmNWMyOTIzY2Y_MTM2Mg NWYzMjY4OWYyYjI2OGFkZWY4NDNkMDQwMmY4YWNhOTE_MTM1OQ MDYwYTEyMmU5MmU1YzdhNTg0ZWU5MDNmNDcyZGQzNDg_MTM1Ng YmFmMzI3N2EyMDYyZjMwNWU0ZDE5YzhlMzhhMzdhZjY_MTM1Mw MzkzNDg5OWI5MGQ1YTk4NTBlNjg5Y2I2M2I3MWUwNTc_MTQ4Mw NzYwZDhjMzU1ZjRjNWExYWRjMWM3MzQ3MzkzY2YxMzQ_MTY5MA NjFlYjM3OWIxNDRjY2U5MmE1YTAzYzY0YmQ0Zjc4ZGE_MTgxNg YjM1YWIxMWNkZDk5NTcwYTcyYWYyOWM5NjcwZmM1Mzk_MTkzOQ YzQ0MzgzNGNhMDIxMjVhMGExNWM2YTBiMjRkZTI4ZWQ_MTk0Mg YjI2NzhhMDMzMDY2OTVhNzUyZmYyYjM5NTRmN2QzZDc_MTk0NQ N2JhODc3Y2U3NTJkNTI4Yjc4NmZiMTdjYzFlNDJhYWU_MTIyMQ ZDMwYzA2NTg5NTBiNmU0MzMyMDU4MjQ4OGZhZjQ0MjQ_MjM5NQ MGYzNWQyMzlhN2U0NThlMGQ3OTNiYTMwYzQ3ZmU3NmI_MjUyOQ YjcxYjg4ODFlYmUwNmYwYWM0ZWVhZWYzZGRlMWExYjY_MjUzOQ YTg0ZmRmMDg5ZjM4MjI2NzkyZWUzODMwYzExNmNjZjc_MjY0MQ MDIzODI5OGQ1ZDI5NDY3MjI4MjVhZDAxOWU5YTMyMzQ_MjgxMQ ODU0NjY0MDQwNmUzNTRiOWYwODhkYTQ2NGVlNDgxZDA_MjgzNg YmNjNDZhZjY2YThkYTllYTVlMDlmYThmNWM2ZDEzOTc_Mjk0Nw YzA3ZjNhNzE1NzM3ZDYyMjNmNTMyNDE4M2E0NjY1MzY_MzAyNQ NjkwOWIyOTVkOTkyNzVhODI1ODEyMmRmYzA0YmUwOWU_MzA4OA MDZiYWRiODMyODhiMDkxMWE5YzM2MGJkNDBiYmMwNGM_MzA5MQ YTc4YzZhOGIwN2U0ZjVjZTBkOGNlNTQ1ZWJkMGZhMTc_MzA5NA NzFlYzcyMDJmYzlhODE0NzVmNTM2NWQ3MzJiZjBmMjc_MzA5Nw NjNkNDgyZjU4YTJhZGE5ZTY2NGM4MTc4ZDQyNDk2Zjk_MzEwMA YTQ1MDkxYmJiZjgxOGFkNDdlNGQzZTgwMWIxMjc1ZDE_MzE2Ng MGE0OTJhMzc0YjZmOGQ5YjRlNWE1MTc4OTkwMDk2Y2Y_MzIxNA Y2I2YjBkNjVkZTA5M2U1NGQ3ZTY2YjkwYTQ1NTI1ZWY_MzIxNw YjE1NTVlOGZhY2YyYTAxZmVjYWJiNDQ1NzYzZTExOTM_MzI0NA ZWU3YjlhZWMyMmVmYzk1MDdiY2E2NDJhZTM1YmZiM2Q_MzI0Nw OTQyM2VhYzkyZWJmNGY5MWJiNDE1ZTBhNGJjMTFmM2U_MzI1MA YmMwYTA5NzAyYTA4MTQwMzMzYTMzNWFjYWI5MjM3MTA_MzI1Mw YzliYjJkMmVhMWRlNmU5Y2Q2NDA0YjU1ZjJlMDgzNTg_MzI1Ng YjEyNWI0N2Y1NzE4M2Q0ZTAxYWQ3MmI3OWEzMDc5ODM_MzI1OQ OTMxMmQ3ZDg4ZDY5MTEzMmJiZGIwYjc4YzY0ZDM1MzA_MzI5OA YTcxYWY5ZTYwNzcwN2ZkMzZmNWUyODdhMjdkNjk2MWM_MzMwMQ N2RjOThkZWEzMDhkOTgyMzdjZGEzMTcwODU3MDEyODA_MzM0OQ MzVlNmJjNDU1ODc4YzAwNzIxNDNhNjMzYzljNWNhZmM_MzM1OA MzczNmVhMTlhZTlhNDY3YTg1MjhlMzEyYzFiN2MyNGE_MzM2MQ NmRjMjUyYmU2NGZhOWUzZTU4NDM2MDY3MDIwODk2NWY_MzM5NA NjQ3ZGZmYzcwNTQ3Zjk4ZjZhY2I4ZTQ1ZmMzMGY4Yzk_MzM5Nw MzEzY2U3NjBmYWM0MTZlZmRlN2YwMDAyOGZkNGZlMzU_MzQzNw MGQxMGZjMTA4NjViZDhjYzEzMDgxZTVmMWYzYTI2OGQ_MzQzNA NjgzNWIyMzA3YzVhNzA4NjMzZDU5MTBlZjFkMWE3MDk_MzQ2NA NmJkNTA5YmJmNWRjYWNmZDFhNGI4Y2RiOWMxMzVlYmE_MzQ2Nw OGU1NWQxYThlYjFjMzgxMzY2ZGRjNjI2MTdhZWQyYTk_MzUxNA ODQ0ODUxZjY1MmJlNmZkNThmMjM1Nzk1MmNmYmYyNDM_MzUxNw NmI1ZjE1NzA0YmExMGUwMGRmNzFhNmRjYzM0NDEzNWY_MzUyMA Y2U5ODIxYWI5MmQ3ZGMyZGQzNGEzY2E3MmQyZDlhOTM_MzUzNQ OGNkZDAwOTZhOTc0NjRkOGYyNGFlZjNhYWQxNjcxNWQ_MzUzOA NjZjMTkyNGE3ZjE2NzRmY2Y4MDA2YjE4YjZhNmUzNjE_MzU0MQ ZWEzOWFmMjk4NmFlZjAyM2M2ZGQ2NjAyOWM2ODU4ODU_MzU0NA OThlMzJlMmIzZDY4MzMwNzQyOWNmYWYzZDNkNzdiMjg_MzU2Mg NDFhY2RkYzRmMmY3MjQ2YzA4MDA1MTgzMTY5YzYzZWU_MzU4Mw MjViYzE2MmM4OGI5NDBmNTUxOTg1NmJlMzFkZmM3ZTQ_MzU4Ng ODQ2YTc3YzEwYTg0NTI0YTU4OGIxYzg3NzAxODcyNDU_MzU4OQ OWFmMTRjMjViMDZlMjBhM2JmMmNhNDAyOTAzMWY4ODY_MzU5Mg YmFmN2IwNGNkNzRlYTAxODdiMTg5OGE5MmZkMmFmN2Y_MzU5NQ OTlmYjJhMzdmZGJiNTJmMGI4NmRlMDM2OWVjOWNhM2Y_MzYwMQ YWFlOTFkYjUwMjE5NjBlODVkOWU2NThmNWYwZDEzZGE_MzYxNw N2FlYjQ0NGYyNjczN2RjZmYyODU0MTcyYmUxOWZkZGI_MzYzNQ OWVkODllZTc0ZTU1OWMzYzQwZDFlOGExYmI4MzI3YjQ_MzY1OQ N2FlYjQ0NGYyNjczN2RjZmYyODU0MTcyYmUxOWZkZGI_MzYzNQ NDBhZjY5YzkzODc5YTMzYjU5NjNlODY1ZTdlMTJhZjg_MzY2Mg MGI3ZTAxY2Y2MGNjYzdjM2RlOTI3ODBmYTI2YTJkMDQ_MzczOQ NjQwZjA3Y2RkMWIwZmM0YTdmZDAwODM5NmY5Zjk0ZDI_Mzc5Mw ZDNhNmI2NjMwZTRhMzgxZTMxYWRhMTc3MTBiZTNmZTY_MzgwOA MWNkM2JmYThmYjFkYWFhZDViOGFlNTk0NGM3YzRmZGE_Mzg1Ng YTg0NzMyMGFmNjUyZThmYmZhN2NiNDk2MDY4YzQyYTA_Mzg1OQ MzFhODQwN2RmYmUwNDYyM2JmNDQyNzQxZWY5M2YxZmQ_Mzg2OA ODUyOWNhYmFjMzQxNTU2YmNmMDkzYzVkNjI2NTlmZTM_Mzg3MQ YzkxMDQ5NDhhNTNkNDg1ZTAzNDMzNDIyN2I2MjZlYWM_Mzg5NQ YjU2OTkzNzVhZTdmOGMyN2RjYzViYTdjMGUwOGM4NWU_Mzg5OA YTg1OTM3ZjZiZDc5ZmZmOTY5MjQzOWU2MzNlZmE1MmM_Mzk5MQ MTMwYjRhMzMwODg1N2YwYmQzYzE1ZTllNzZiNzcyY2U_Mzk5NA YTUwOWY4ZmNmMDUwOTJmNDdkYzQ4NTY5MmU2ZWFhODk_NDAxNQ YTcxNjdiZTU1ODlmNzg5OTFlZDYxMmViZDFlMWRjNWE_NDAxOA".split(" ");
F(b)&&(b=b.trim());if(""!=b&&null!=b&&"undefined"!=typeof b)for(var f=0;f<d.length&&(!this.a.f.hasOwnProperty("partner_id")||1060857!=this.a.f.partner_id);f++)if(-1<b.indexOf(d[f])){b="";break}""!=b&&null!=b&&"undefined"!=typeof b&&(this.vd||(this.a.va()&&window.location.search.indexOf("aju")?this.Wd("aju_"+b,this.b.key,"display"):this.a.va()&&window.location.search.indexOf("obcas")?this.Wd("obcas_"+b,this.b.key,"display"):this.a.va()&&window.location.search.indexOf("kobieceinspiracje")?this.Wd("ki_"+
b,this.b.key,"display"):this.Wd(b,this.b.key,this.b.displayAs)))}try{this.ka("start"),this.ka("creativeView")}catch(g){}if(null!=this.video&&(0==this.video.volume||this.video.muted))try{this.ka("mute")}catch(g){}}};Q.qh=function(){this.a.log(this.c,"onLoad");this.sa=!1;this.cb=!0;try{this.v.a.va()&&window.parent.postMessage("player-ad-playing","*")}catch(a){}};
Q.th=function(){this.a.log(this.c,"onLoadstart");this.sa=!1;this.cb=!0;try{this.v.a.va()&&window.parent.postMessage("player-ad-playing","*")}catch(d){}this.a.ga&&!this.a.controls.Z.R()&&(this.a.controls.Z.show(),this.a.controls.N.m(),this.play());var a=this,b=window.setTimeout(function(){a.Qd=!0;window.clearTimeout(b);b=null},1E3);z(this.Da)&&(this.Da=window.setTimeout(function(){window.clearTimeout(a.Da);a.Da=null;return a.Va(a.error.oi)},8E3));this.a.controls.Pa(0);this.a.controls.Fb(0)};
Q.Fm=function(){this.a.log(this.c,"onLoadedMetaData");try{this.v.a.va()&&window.parent.postMessage("player-ad-playing","*")}catch(a){}z(this.Da)||(window.clearTimeout(this.Da),this.Da=null);A(this.video.duration)||(this.sa=!0,this.Qd=!1,this.duration=isNaN(this.video.duration)?0:this.video.duration);this.a.controls.Pa(0);this.a.controls.Fb(0)};
Q.Zj=function(){this.a.log(this.c,"onLoadedData");z(this.Da)||(window.clearTimeout(this.Da),this.Da=null);A(this.video.duration)||(this.sa=!0,this.Qd=!1,this.duration=isNaN(this.video.duration)?0:this.video.duration);this.a.controls.Pa(0);this.a.controls.Fb(0)};Q.$e=function(){this.a.controls.H(!0)};
Q.qe=function(){var a=this.video;"undefined"!==a.buffered&&0<a.buffered.length&&"undefined"!==a.buffered.end?(a=a.buffered.end(a.buffered.length-1)/this.L()*100,100<a?a=100:0>a&&(a=0),this.a.controls.bd(a)):this.a.controls.bd(0)};
Q.ph=function(){this.a.log(this.c,"onCanplay");try{this.v.a.va()&&window.parent.postMessage("player-ad-playing","*")}catch(a){}this.a.controls.Z.R()&&(this.a.controls.H(!1),this.a.controls.N.show());z(this.Da)||(window.clearTimeout(this.Da),this.Da=null);if(isNaN(this.duration)||0>=this.duration||!E(this.duration))this.duration=isNaN(this.video.duration)?0:this.video.duration;this.autoplay&&this.cb&&this.sa&&this.video.paused&&(this.Qd=this.cb=!1,this.a.controls.ca(!0),this.Rb());this.autoplay&&this.sa&&
2<this.mb&&0>=this.l()&&(this.video.muted="muted",this.video.autoplay="autoplay",this.Rb())};
Q.Ve=function(){this.a.log(this.c,"onCanplaythrough");try{this.v.a.va()&&window.parent.postMessage("player-ad-playing","*")}catch(a){}this.a.controls.Z.R()&&(this.a.controls.H(!1),this.a.controls.N.show());z(this.Da)||(window.clearTimeout(this.Da),this.Da=null);if(isNaN(this.duration)||0>=this.duration||!E(this.duration))this.duration=isNaN(this.video.duration)?0:this.video.duration;this.autoplay&&this.cb&&this.sa&&this.video.paused&&(this.Qd=this.cb=!1,this.a.controls.ca(!0),this.Rb());this.autoplay&&
this.sa&&2<this.mb&&0>=this.l()&&(this.video.muted="muted",this.video.autoplay="autoplay",this.Rb())};Q.Va=function(a,b){this.a.log(this.c,"onAdError",arguments);this.v.hb=!1;this.Gh();window.clearTimeout(this.Gb);this.Gb=null;window.clearInterval(this.qb);this.qb=null;window.clearTimeout(this.Da);this.Da=null;this.a.w.m(this.a.w.Ra);this.a.w.m(this.a.w.De);this.a.w.m(this.a.w.na);this.a.w.m(this.a.w.ta);this.a.h.F()||(this.video=null);return this.v.Va(a,b)};
Q.Gc=function(){this.a.log(this.c,"onAdComplete");this.v.oa("Koniec reklamy");this.v.Pc++;if(!z(this.La)&&C(this.La)){if("vast"==this.La.type)return this.v.$b++,this.v.ef(this.La);if("pool"==this.La.type)return this.v.$b++,this.v.Nf(this.La.tag,!0)}return this.v.Gc()};Q.Dj=function(){this.a.log(this.c,"onAdSkipped");this.v.oa("Reklama przewini\u0119ta");try{this.ka("skip")}catch(a){this.a.log(this.c,a)}if(this.video.muted||0==this.video.volume)this.video.muted=!1,this.video.volume=.1,this.zh();return this.v.Dj()};
Q.random=function(a,b){return Math.random(Math.random()*(b-a)+a)};Q.Wd=function(a,b,d){this.a.log(this.c,"adHit",arguments);if(null!==this.a.X&&!1===this.Td){var f=this;try{window[this.a.X.client].zliczReklame(a,b,d,{success:function(a){f.Td=!0;f.a.log(f.c,"adHit","response: "+a)},error:function(a){f.a.log(f.c,"adHit","erorr: "+a)}})}catch(g){this.a.log(this.c,"adHit","error: "+g)}}};
Q.Hc=function(){if(!this.a.element.G("show-premium-popup"))return window.open("https://premium.cda.pl/rejestracja?cd2_sid=1&cd2_n=baner-wideoadpremium&cd2_hash=40fc7a5638fc18189a3a00d9892e30fde92da781","_blank")};
Q.Id=function(){if(this.Nd){try{this.ka("skip")}catch(a){this.a.log(this.c,a)}if(this.video.muted||0==this.video.volume)this.video.muted=!1,this.video.volume=.1,this.zh();clearTimeout(this.Gb);this.Gb=null;window.clearInterval(this.qb);this.qb=null;this.Md=!1;this.fd().m();this.a.view.ta.m();this.uf=!0;B(window.videoAdSkip)&&window.videoAdSkip(this.a.id);return this.Gd()}};
Q.Yd=function(){this.a.log(this.c,"check autoplay");null==this.video||0<this.l()||2<this.mb||(this.mb+=1,this.video.muted=!0,this.video.autoplay="autoplay",this.a.video.muted=!0,this.a.Bb=!0,this.a.I(0,!0),this.a.controls.I(0,!0),this.a.controls.H(!0),this.play(),this.Bg())};Q.rd=function(){this.a.log(this.c,"check scroll");this.play();this.Jd()};Q.Jd=function(){A(this.j.He)||V(window,"touchstart",this.j.He);A(this.j.Ge)||V(window,"scroll",this.j.Ge);A(this.j.Fe)||V(window,"resize",this.j.Fe)};
Q.Bg=function(){this.j.He=U(window,"touchstart",this.rd,this);this.j.Ge=U(window,"scroll",this.rd,this);this.j.Fe=U(window,"resize",this.rd,this)};Q.um=function(){var a=new Image(1,1);a.onload=a.onerror=function(){delete a};a.src="https://g.cda.pl/g.php?pixel&vi=NjZjNTc3NGY4OWY0MzRkNjkwZWY3M2JjNTkzODYxMmM_MzQ4Mg&pl=clickTracking&ct="+(new Date).getTime()};
Q.sm=function(){var a=new Image(1,1);a.onload=a.onerror=function(){delete a};a.src="https://g.cda.pl/g.php?pixel&vi=OGRmNjFkYTU4MDg0MjJkMmQ5NWYzNjMwZjhjODQ4Y2U_MzQ4NQ&pl=clickTracking&ct="+(new Date).getTime()};Q.Te=function(){var a=new Image(1,1);a.onload=a.onerror=function(){delete a};a.src="https://g.cda.pl/g.php?pixel&vi=YzhhMjg5ZTQzMWQ1Mjg1Njk4NDRlYzU0ZDdhZGI0YTE_Mzg0MQ&pl=clickTracking&ct="+(new Date).getTime()};
Q.vm=function(){var a=new Image(1,1);a.onload=a.onerror=function(){delete a};a.src="https://g.cda.pl/g.php?pixel&vi=NjZjNTc3NGY4OWY0MzRkNjkwZWY3M2JjNTkzODYxMmM_MzQ4Mg&pl=impression&ct="+(new Date).getTime();var b=new Image(1,1);b.onload=b.onerror=function(){delete b};b.src="https://ad.doubleclick.net/ddm/trackimp/N873153.1864356CDA.PL/B21115792.289352162;dc_trk_aid=482758879;dc_trk_cid=141063125;ord="+(new Date).getTime()+";dc_lat=;dc_rdid=;tag_for_child_directed_treatment=;tfua=;gdpr=${GDPR};gdpr_consent=${GDPR_CONSENT_755}?"};
Q.tm=function(){var a=new Image(1,1);a.onload=a.onerror=function(){delete a};a.src="https://g.cda.pl/g.php?pixel&vi=OGRmNjFkYTU4MDg0MjJkMmQ5NWYzNjMwZjhjODQ4Y2U_MzQ4NQ&pl=impression&ct="+(new Date).getTime();var b=new Image(1,1);b.onload=b.onerror=function(){delete b};b.src="https://ad.doubleclick.net/ddm/trackimp/N873153.1864356CDA.PL/B21115792.289352162;dc_trk_aid=482682062;dc_trk_cid=141063125;ord="+(new Date).getTime()+";dc_lat=;dc_rdid=;tag_for_child_directed_treatment=;tfua=;gdpr=${GDPR};gdpr_consent=${GDPR_CONSENT_755}?"};
Q.oh=function(){var a=new Image(1,1);a.onload=a.onerror=function(){delete a};a.src="https://g.cda.pl/g.php?pixel&vi=YzhhMjg5ZTQzMWQ1Mjg1Njk4NDRlYzU0ZDdhZGI0YTE_Mzg0MQ&pl=impression&ct="+(new Date).getTime()};Q.Cj=function(){try{return window.open("https://ad.doubleclick.net/ddm/trackclk/N542601.3487212LEVELUPDISPLAY/B23796369.266785103;dc_trk_aid=465732965;dc_trk_cid=130809051;dc_lat=;dc_rdid=;tag_for_child_directed_treatment=;tfua=","_blank"),!0}catch(a){}};function Ma(){this.Kf=window.document}Q=Ma.prototype;Q.cl=function(){return"function"===typeof this.Kf.createElement?this.Kf.createElement("video"):!1};
Q.video=function(){var a=this.cl(),b=!1;if("object"===typeof a)try{"function"===typeof a.canPlayType&&(b=!!a.canPlayType,b=new Boolean(b),b.Ql=a.canPlayType('video/mp4; codecs="avc1.4D401E, mp4a.40.2"').replace(/^no$/,""),b.Jq=a.canPlayType('video/webm; codecs="vp8, vorbis"').replace(/^no$/,""),b.Rp=a.canPlayType('video/ogg; codecs="theora"').replace(/^no$/,""),b.Fq=a.canPlayType('video/webm; codecs="vp9"').replace(/^no$/,""),b.Ap=a.canPlayType('application/x-mpegURL; codecs="avc1.42E01E"').replace(/^no$/,
""))}catch(d){}return b};Q.Jl=function(){var a=!1,b=window.navigator;if("ActiveXObject"in window)try{a=!!new ActiveXObject("ShockwaveFlash.ShockwaveFlash")}catch(d){}else try{"undefined"!==typeof b.plugins&&"object"===typeof b.plugins["Shockwave Flash"]&&"undefined"!==typeof b.mimeTypes&&"undefined"!==b.mimeTypes["application/x-shockwave-flash"]&&b.mimeTypes["application/x-shockwave-flash"].enabledPlugin&&(a=!0)}catch(d){}return a};
Q.fullScreen=function(){for(var a=["fullscreenEnabled","fullScreenEnabled","mozFullScreenEnabled","webkitFullscreenEnabled","msFullscreenEnabled"],b=0;b<a.length;b++)if("undefined"!==typeof this.Kf[a[b]])return this.Kf[a[b]];return!1};Q.Tl=function(){try{if(!z(window.frameElement)||window.self!=window.top)return!0}catch(a){if(window.self!=window.top)return!0}return!1};Q=function(a){if(z(a)||A(a))throw new TypeError("Options can not be null.");this.c="cda.Player.Flash";this.W=a.id;this.options=a;this.fo="/jw5/jw5.js";this.protocol=window.location.protocol;this.a=null;this.Ca()}.prototype;Q.Ca=function(){"function"===typeof window.jwplayer?(this.a=window.jwplayer(this.options.id),this.Ph()):this.load()};
Q.load=function(){var a=document.getElementsByTagName("head")[0]||document.head||document.documentElement,b=document.createElement("script"),d=this;b.src=this.fo;b.type="text/javascript";b.async=!0;b.onload=b.onreadystatechange=function(){this.readyState&&"loaded"!==this.readyState&&"complete"!==this.readyState||(b.onload=b.onreadystatechange=null,a&&b.parentNode&&a.removeChild(b),d.Ca())};b.onerror=function(){d.Ca()};a.insertBefore(b,a.firstChild);a.appendChild(b)};
Q.Ph=function(){var a=620,b=371;qa()&&-1<window.location.href.indexOf("ebd.cda.pl")&&(b=ta(),a=b.width,b=b.height);-1==this.options.video.file.indexOf("http")&&(this.options.video.file=M(this.options.video.file));-1==this.options.video.file.indexOf(".mp4")&&(this.options.video.file+=".mp4");-1<this.options.video.file.indexOf("adc.mp4")&&(this.options.video.file=this.options.video.file.replace("adc.mp4",".mp4"));this.a.setup({width:a,height:b-19,"logo.file":"//static.cda.pl/v001/img/player/logo-player-creme.png",
"logo.position":"top-left","logo.link":"","logo.hide":!1,"logo.over":.7,"logo.out":.4,dock:!0,autostart:this.options.autoplay,"controlbar.position":"bottom","controlbar.idlehide":"false",modes:[{type:"flash",src:"//static.cda.pl/player5.9/player.swf",config:{file:this.options.video.file,duration:this.options.video.durationFull,provider:"http"}}],plugins:{"https://static.cda.pl/timeslidertooltipplugin.swf":{marginbottom:0}}})};
Q.eq=function(a,b,d){return{"http://static.cda.pl/ova-jw.swf":{canFireEventAPICalls:!0,useV2APICalls:!0,overlays:{regions:[{id:"czas",verticalAlign:"bottom",horizontalAlign:"center",backgroundColor:"black",width:250,height:20,padding:"0 0 -10 2",opacity:.7}]},debug:{levels:"fatal, config, vast_template, vpaid, http_calls"},ads:{skipAd:{enabled:b,showAfterSeconds:5,image:"http://static.cda.pl/images/close-btn-video3.png",width:22,height:17},notice:{message:'<p class="smalltext" align="center">Reklama zniknie za _countdown_ sekund</p>',
type:"countdown",region:"czas"},schedule:a,clickSign:{html:"KLIKNIJ",width:62,enabled:d},companions:{restore:!1,regions:{id:"companion"+(new Date).getTime(),width:1,heigth:1}}}}}};Q.df=function(){};Q=function(a){if(z(a)&&A(a))throw new TypeError("Options can not be null.");this.c="cda.Player.Flash.SF";this.id=a.id+"-flash";this.W=document.querySelector("#"+a.id);this.options=a;this.a=null;this.Cg=0;this.dl=this.options.flash.swf;this.yi=this.options.flash.js;this.Ca()}.prototype;Q.Ca=function(){B(window.flowplayer)?this.Ph():this.load(this.yi[0],function(){this.load(this.yi[1],function(){this.Ca()}.bind(this))}.bind(this))};
Q.load=function(a,b){var d=document.getElementsByTagName("head")[0]||document.head||document.documentElement,f=document.createElement("script"),g=this;f.src=a;f.type="text/javascript";f.async=!0;f.onload=f.onreadystatechange=function(){this.readyState&&"loaded"!==this.readyState&&"complete"!==this.readyState||(f.onload=f.onreadystatechange=null,d&&f.parentNode&&d.removeChild(f),b())};f.onerror=function(){g.Ca()};d.insertBefore(f,d.firstChild);d.appendChild(f)};
Q.ib=function(a){a=a.replace(/[\[]/,"\\[").replace(/[\]]/,"\\]");a=(new RegExp("[\\?&]"+a+"=([^&#]*)")).exec(window.location.href);return null==a?null:a[1]};
Q.wl=function(){return{canvas:{backgroundGradient:"none",borderRadius:20},key:"#$13db964f8eb518e52fc",play:{opacity:1},wmode:"opaque",clip:{autoplay:this.options.autoplay,url:this.options.video.file,scaling:"fit",provider:"pseudo",duration:this.options.video.duration,metadata:!1,autoBuffering:!1},logo:{url:this.options.logo,linkUrl:"http://superfilm.pl",linkWindow:"_blank",fullscreenOnly:!1,displayTime:0,fadeSpeed:0,top:5,right:5,opacity:"0.7"},plugins:{pseudo:{url:"/flowplayer/flowplayer.pseudostreaming-3.2.12.swf"},
controls:{bufferGradient:"none",volumeSliderColor:"#ffffff",durationColor:"#a3a3a3",timeColor:"#ffffff",sliderGradient:"none",callType:"default",sliderColor:"#000000",timeBorder:"0px solid rgba(0, 0, 0, 0.3)",timeBgColor:"rgb(0, 0, 0, 0)",volumeColor:"#ffffff",progressColor:"#BD0F1C",bufferColor:"#BD0F1C",progressGradient:"none",scrubberBarHeightRatio:"0.6",scrubberHeightRatio:"0.38",tooltipColor:"#000000",buttonOffColor:"rgba(130,130,130,1)",timeSeparator:" ",borderRadius:"0",buttonOverColor:"#ffffff",
backgroundColor:"#222222",tooltipTextColor:"#ffffff",disabledWidgetColor:"#555555",volumeBorder:"1px solid rgba(128, 128, 128, 0.7)",sliderBorder:"1px solid rgba(128, 128, 128, 0.7)",buttonColor:"#ffffff",volumeSliderGradient:"none",backgroundGradient:"none",height:42,opacity:"1.0",autoHide:{fullscreenOnly:!0,hideDelay:2E3}},myContent:{url:"/flowplayer/flowplayer.content-3.2.9.swf",top:5,left:5,width:275,height:30,border:0,borderRadius:0,backgroundColor:"#000000",zIndex:9999,style:{".title":{"text-decoration":"outline",
fontSize:12,color:"#FFFFFF","font-weight":"bold","z-index":99999}},html:'<p class="title">Dzi\u0119ki tej reklamie ogl\u0105dasz legalnie i za darmo</p>'},myContent2:{url:"/flowplayer/flowplayer.content-3.2.9.swf",bottom:47,right:5,width:195,height:30,border:0,borderRadius:0,backgroundColor:"#000000",zIndex:9999,style:{".title":{"text-decoration":"outline",fontSize:12,color:"#FFFFFF","font-weight":"bold"}}},myContent3:{url:"/flowplayer/flowplayer.content-3.2.9.swf",bottom:47,left:5,width:100,height:30,
border:0,borderRadius:0,backgroundColor:"#000000",zIndex:9999,style:{".title":{"text-decoration":"outline",fontSize:12,color:"#FFFFFF","font-weight":"bold"}}},ova:this.xl()}}};
Q.xl=function(){return{debug:{levels:"none"},url:"/flowplayer/ova.swf",player:{modes:{linear:{controls:{enablePlay:!1,enablePause:!1,enableMute:!0,enableVolume:!0}}}},autoPlay:!0,delayAdRequestUntilPlay:!1,canFireEventAPICalls:!0,fireTrackingEvents:!0,regions:{id:"adnotice",verticalAlign:"bottom",horizontalAlign:"right",backgroundColor:"transparent",height:0,width:0,style:".normaltext { font-style: italic; font-size:40px; }"},ads:{pauseOnClickThrough:!1,linearScaling:"fill",clickSign:{html:'<p class="smalltext" align="center">KLIKNIJ</p>',
style:".smalltext { font-size:12; margin-bottom:50px }"},notice:{region:"adnotice",message:'<p class="normaltext" style="color:green;" align="right"></p>'},schedule:[{position:"pre-roll",tag:window.encodeURIComponent("http://go.goldbachpoland.bbelements.com/please/showit/7502/1/1/43/?typkodu=js&_xml=1"),type:"direct"},{position:"pre-roll",tag:window.encodeURIComponent("http://myao.adocean.pl/ad.xml?id=Uq2mbZcb8fWVw3..rnMiwPKIL.ofr9BixO3PavJI363.E7/aocodetype=1"),type:"direct"},{position:"pre-roll",
tag:window.encodeURIComponent("http://go.goldbachpoland.bbelements.com/please/showit/7502/1/1/43/?typkodu=js&_xml=1"),type:"direct"},{position:"pre-roll",tag:window.encodeURIComponent("http://myao.adocean.pl/ad.xml?id=Uq2mbZcb8fWVw3..rnMiwPKIL.ofr9BixO3PavJI363.E7/aocodetype=1"),type:"direct"}]}}};Q.Ph=function(){this.W.ia('<div class="pb-flash-wrapper" id="'+this.id+'"></div>');try{this.a=window.flowplayer(this.id,{src:this.dl,wmode:"opaque"},this.wl()),this.a.ipad(),this.Ag()}catch(a){console.log(a)}};
Q.Ag=function(){this.a.onLoad(this.qh.bind(this));this.a.onResume(this.Ye.bind(this));this.a.onPause(this.fc.bind(this));this.a.onStop(this.kn.bind(this));this.a.onStart(this.jn.bind(this))};Q.qh=function(){var a=this.ib("vol");z(a)||""==a||(a=Number(a),0<=a&&100>=a&&this.a.setVolume(a));this.a.getPlugin("myContent").hide();this.a.getPlugin("myContent2").hide();this.a.getPlugin("myContent3").hide();this.Cg=this.a.sp().length-1};
Q.Ye=function(){this.a.getPlugin("myContent").hide();this.a.getPlugin("myContent2").hide();this.a.getPlugin("myContent3").hide()};Q.fc=function(){this.a.getPlugin("myContent").hide();this.a.getPlugin("myContent2").hide();this.a.getPlugin("myContent3").hide()};Q.kn=function(){this.a.getPlugin("myContent").hide();this.a.getPlugin("myContent2").hide();this.a.getPlugin("myContent3").hide()};Q.jn=function(a){a.fq||(this.a.getPlugin("myContent").hide(),this.a.getPlugin("myContent2").hide(),this.a.getPlugin("myContent3").hide())};try{var Ha=function(a){this.c="cda.Player.Chromecast";this.a=a;this.kg=this.kb=this.Ee=null;this.bh=!0;this.qd=this.ya=this.Kh=null;this.fi=!1};Q=Ha.prototype;Q.cf=function(a){this.a.log(this.c,"setView: "+a);a?this.a.view.content.s("pb-ccast-posible"):this.a.view.content.C("pb-ccast-posible")};Q.dd=function(a){a?this.a.view.Sc.s("pb-ccast-float-on"):this.a.view.Sc.C("pb-ccast-float-on")};Q.sk=function(a){this.a.view.pd.s("pb-info-ccast-show");this.a.view.content.C("pb-frame-posible");this.a.controls.N.R()&&
this.a.controls.N.m();null!=a?(this.a.view.Ff.ia("Trwa \u0142\u0105czenie z urz\u0105dzeniem:"),this.a.view.Ef.ia(a)):(this.a.view.Ff.ia("Trwa \u0142\u0105czenie z urz\u0105dzeniem..."),this.a.view.Ef.ia(""))};Q.lo=function(a){this.a.view.Ff.ia("Odtwarzanie na urz\u0105dzeniu:");this.a.view.Ef.ia(a);this.a.view.Mi.s("pb-cast-inline-ico-on")};Q.aj=function(){this.a.view.pd.C("pb-info-ccast-show");this.a.view.Mi.C("pb-cast-inline-ico-on");this.a.view.Ff.ia("");this.a.view.Ef.ia("")};Q.ko=function(a){this.a.log(this.c,
"set cast available: "+a);this.bh=!!a};Q.lp=function(){return B(window.__onGCastApiAvailable)?window.__onGCastApiAvailable:null};Q.ah=function(){if("undefined"===typeof window.chrome)return this.a.log(this.c,"isApiAvailable: false"),!1;if("undefined"===typeof window.chrome.cast)return null!=this.qd&&(window.clearInterval(this.qd),this.qd=null),this.qd=window.setInterval(this.a.D.J(this.tl,this),100),!1;try{return window.chrome.cast&&window.chrome.cast.isAvailable&&window.cast&&window.cast&&window.cast.framework}catch(a){return this.a.log(this.c,
a),!1}};Q.tl=function(){"undefined"!==typeof window.chrome.cast&&window.chrome.cast.isAvailable&&window.cast&&"undefined"!==typeof window.cast.framework&&(null!=this.qd&&(window.clearInterval(this.qd),this.qd=null),this.oc(),this.cf(!0))};Q.isConnected=function(a){return this.fi&&"undefined"==typeof a&&z(this.ya)?!1:z(this.kb)||z(this.kb)||this.kb.status!=window.chrome.cast.SessionStatus.CONNECTED?!1:!0};Q.ud=function(){this.a.log(this.c,"initEvents");U(this.a.view.pl,"click",this.pc,this);U(this.a.view.Sc,
"click",this.pc,this);U(this.a.view.ql,"click",this.pc,this);var a=this;this.Ee.addEventListener(window.cast.framework.CastContextEventType.CAST_STATE_CHANGED,function(){});this.Ee.addEventListener(window.cast.framework.CastContextEventType.SESSION_STATE_CHANGED,function(b){b.sessionState==window.cast.framework.SessionState.SESSION_RESUMED?a.Um(b.session):b.sessionState==window.cast.framework.SessionState.SESSION_STARTING&&a.sk(null)})};Q.Ca=function(){if((this.a.h.Tf()||this.a.h.Wc())&&!this.a.h.Ka())if(this.ah())this.oc();
else{var a=this;window.__onGCastApiAvailable=function(b){(a.bh=b)&&"undefined"!==typeof window.chrome.cast&&window.chrome.cast.isAvailable&&window.cast&&"undefined"!==typeof window.cast.framework?(a.Ee=window.cast.framework.CastContext.getInstance(),a.oc()):window.setTimeout(function(){a.ah()&&a.oc()},1E3)}}};Q.oc=function(){null==this.Ee&&(this.Ee=window.cast.framework.CastContext.getInstance());this.cf(!0);window.cast.framework.CastContext.getInstance().setOptions({receiverApplicationId:"89B0DA1D",
autoJoinPolicy:window.chrome.cast.AutoJoinPolicy.ORIGIN_SCOPED});this.ud()};Q.Um=function(a){this.a.log(this.c,"onSessionResumed",a);a&&(a=a.getSessionObj())&&a.status==window.chrome.cast.SessionStatus.CONNECTED&&a.statusText&&a.statusText.replace("Casting: ","")==window.decodeURIComponent(this.a.f.title)&&(this.a.view.Sc.s("pb-ccast-float-on"),this.kb=a,this.fi=!0)};Q.pc=function(){this.bh?(this.isConnected(!0)?(this.dd(!0),this.a.controls.ca(!0)):(this.dd(!1),this.a.getState()==this.a.state.fa&&
this.a.pause()),z(this.kb)||(this.Kh=this.kb.status),this.isConnected(!0)?this.ln():window.chrome.cast.requestSession(this.a.D.J(this.ek,this),this.Em)):alert("Materia\u0142 chwilowo niedost\u0119pny dla urz\u0105dzenia Chromecast.\n\nNajnowsza wersja Chromecast 2.0 oraz Chromecast 4K wraz z aktualizacj\u0105 1.28 przesta\u0142a wspiera\u0107 filmy wideo w formacie .mp4 i d\u017awi\u0119kiem AAC 5.1 (wci\u0105\u017c dzia\u0142a .mp4 z d\u017awi\u0119kiem stereo 2.0).\n\nZdecydowali\u015bmy si\u0119 na zmian\u0119 formatu wideo z .mp4 na technologi\u0119 MediaSource z obs\u0142ug\u0105 d\u017awi\u0119ku 5.1, analogicznie robi to np. serwis YouTube.\n\nJest to do\u015b\u0107 problematyczne rozwi\u0105zanie, kt\u00f3re wymaga przekonwertowania wszystkich plik\u00f3w, co zajmie kilkana\u015bcie dni. Nie mniej jednak problem w najbli\u017cszym czasie powinien znikn\u0105\u0107, prosimy o cierpliwo\u015b\u0107.")};
Q.Ko=function(){this.gf();this.ek(null)};Q.ek=function(a){a&&(this.kb=a);this.sk(this.kb.receiver.friendlyName);var b=this.a.src;!b&&this.a.ba&&(b=this.a.ba);null!=this.a.Sh&&(b=this.a.Sh);a=null;this.a.ba&&-1<this.a.ba.indexOf("vp9")&&(a=this.a.ba+"/cast.mpd");null!=this.a.pe?(b=this.a.pe,b=b.replace("/stereo","")):this.a.ba&&(b=this.a.ba,b=b.replace("/stereo",""));if(null!=this.a.pe||this.a.ba)this.a.M?this.a.je():null==this.a.aa&&this.a.je();this.a.log(this.c,"file: "+b);this.a.log(this.c,"vp9File: "+
a);b=new window.chrome.cast.media.MediaInfo(b,"video/mp4");this.a.ba&&(b.customData={licenseUrl:this.a.Xc,licenseHeader:this.a.Eb,vp9File:a},this.a.M?b.streamType=window.chrome.cast.media.StreamType.LIVE:b.duration=this.a.f.duration);a=new window.chrome.cast.media.MovieMediaMetadata;a.type=window.chrome.cast.media.MetadataType.MOVIE;this.a.f.hasOwnProperty("title")&&null!=this.a.f.title&&(a.title=window.decodeURIComponent(this.a.f.title));this.a.M?(a.images=[new window.chrome.cast.Image(this.a.ha.logo)],
a.title=window.decodeURIComponent(this.a.ha.title)):a.images=[new window.chrome.cast.Image(this.a.f.thumb)];b.metadata=a;a=new window.chrome.cast.media.LoadRequest(b);a.autoplay=!0;this.a.M||(a.currentTime=null!=this.ya&&0<this.ya.currentTime?this.ya.currentTime:0);this.kb.loadMedia(a,this.Gm.bind(this,"loadMedia"),this.Hm.bind(this))};Q.ln=function(){this.gf();this.Kh==window.chrome.cast.SessionStatus.STOPPED;this.aj();if(z(this.ya)){var a=window.cast.framework.CastContext.getInstance().getCurrentSession();
a&&(a.endSession(!0),this.dd(!1),this.a.controls.ra(!0))}else{this.a.video.currentTime=this.ya.currentTime;this.a.controls.currentTime.innerHTML=this.a.controls.Ic(this.ya.currentTime);this.a.controls.pb.bb(100/this.a.video.duration*this.ya.currentTime+"%");var b=this;this.kb.stop(function(){b.dd(!1);b.a.controls.ra(!0);b.kb=null},function(){})}};Q.Xp=function(){this.a.view.Sc.C("pb-ccast-float-on")};Q.Wp=function(){this.a.view.Sc.C("pb-ccast-float-on")};Q.Em=function(){};Q.gf=function(){z(this.kg)||
(window.clearInterval(this.kg),this.kg=null)};Q.Gm=function(a,b){if(null!=b&&b.media.metadata.title==window.decodeURIComponent(this.a.f.title)){this.a.view.Sc.s("pb-ccast-float-on");this.lo(this.kb.receiver.friendlyName);this.a.getState()==this.a.state.fa&&(this.a.pause(),this.a.controls.N.m());this.ya=b;this.ya.addUpdateListener(this.Im.bind(this));this.gf();var d=this;this.kg=window.setInterval(function(){z(d.ya)||d.ya.getStatus(new window.chrome.cast.media.GetStatusRequest,function(){},function(){})},
1E3);0<this.a.l()&&0==this.ya.currentTime&&(this.ab(this.a.l()),a=this.a.video.volume,this.I(100*a,0>=a));this.a.controls.ca(!0)}};Q.Hm=function(){this.a.view.Sc.C("pb-ccast-float-on");this.aj()};Q.Im=function(){z(this.kb)||(this.Kh=this.kb.status);this.isConnected(!0)?(this.a.getState()==this.a.state.fa&&this.a.pause(),this.dd(!0)):this.dd(!1);this.a.controls.N.R()&&this.a.controls.N.m();0<this.kb.media.length&&(this.ya=this.kb.media[0],this.a.controls.currentTime.innerHTML=this.a.controls.Ic(this.ya.currentTime),
this.a.controls.pb.bb(100/this.a.video.duration*this.ya.currentTime+"%"))};Q.Vp=function(){this.dd(!1);this.a.controls.ra(!0);this.gf()};Q.play=Q.resume=function(){z(this.ya)||this.ya.play(null,function(){},function(){})};Q.pause=function(){z(this.ya)||this.ya.pause(null,function(){},function(){})};Q.stop=function(){this.gf();z(this.ya)||this.ya.stop(null,function(){},function(){})};Q.ab=function(a){if(!z(this.ya)){var b=new window.chrome.cast.media.SeekRequest;b.currentTime=a;this.ya.seek(b,function(){},
function(){})}};Q.I=function(a,b){1>=a&&(a*=100);if(!z(this.ya)){var d=new window.chrome.cast.Volume;a=Number(a);0<a&&(a/=100);d.level=a;d.muted=b;a=new window.chrome.cast.media.VolumeRequest;a.volume=d;this.ya.setVolume(a,function(){},function(){})}}}catch(a){};(function(){var a="";a="undefined"!==typeof window.document.querySelectorAll?window.document.querySelectorAll("div[id^='mediaplayer']"):function(a,b){var d=[];b=new RegExp("(^| )"+b+"( |$)");a=a.getElementsByTagName("*");for(var f=0,g=a.length;f<g;f++)b.test(a[f].className)&&d.push(a[f]);return d}(window.document,"mediaplayers");var b="",d=null;"function"===typeof Ma&&(d=new Ma);null!==d&&(d.video()&&""!=d.video().Ql?b="html5":d.Jl()&&(b="flash"));d.Tl()&&(b="html5");-1!=window.navigator.userAgent.indexOf("Android")&&
(b="html5");for(d=0;d<a.length;d++)if(a[d].hasAttribute("player_data"))if("html5"===b&&"function"===typeof R)new R(JSON.parse(a[d].getAttribute("player_data")),a[d]);else{a[d].innerHTML='\x3c!--googleoff: all--\x3e<div class="pb-info-error-plug"><img class="pb-resp-width-max" src="//static.cda.pl/v001/img/mobile/v16x9.png"><div class="pb-info-error-plug-txt">Aby ogl\u0105da\u0107 zaaktualizuj swoj\u0105 przegl\u0105dark\u0119.</div></div>\x3c!--googleon: all--\x3e';try{var f=new Image(1,1);f.onload=
function(){};f.src="https://g.cda.pl/g.php?pixel&vi=YmNiYjM2NTFlZjdjN2QxZGQzZGNkNmE3ZmIwMmQ2OWE_MTUyOA&pl=impression&ct="+(new Date).getTime()}catch(g){}}})();}).call(window);
