// Compiled with JSCompilerTask
// Turner XMP, Release Build, © 2008 Turner Broadcasting System, Inc. A Time Warner Company.  Version: 0.1.696.2070
// xmp_baseplayer, xmp_baseplayer_0_1_696_2070.js

xmp.i_$OH("xmp.baseplayer");xmp.$.$4G=function(){this.p_$HV=0;this.p_$HW=null;};xmp.$.$3.i_$PZ('\u0078\u006D\u0070\u002E\u0062\u0061\u0073\u0065\u0070\u006C\u0061\u0079\u0065\u0072\u002E\u0042\u006F\u006F\u0074\u0073\u0074\u0072\u0061\u0070\u0070\u0065\u0072',xmp.$.$4G);xmp.$.$4G.prototype.i_$S5=function(){this.p_$HX();};xmp.$.$4G.prototype.i_$17W=function(){return(this.p_$HV===0);};xmp.$.$4G.prototype.i_$17X=function(aa){this.p_$HV=-1;this.p_$HW=aa;var cb=new xmp.$.$M('Bootstrapper_bootStrap',this.p_$HY,this);xmp.$.$7.i_$P4().i_$S5(null,cb);};xmp.$.$4G.prototype.p_$HZ=function(ba){this.p_$HV=1;this.p_$HW.i_$17Y(null);};xmp.$.$4G.prototype.p_$HY=function(ca,da){if(da==='Ready'){this.p_$HV=0;var ea=new xmp.$.$M('Bootstrapper.p_onInternalUserDetectionInited',this.p_$HZ,this);xmp.$.$32.i_$P4().i_$S5(ea);}
else{this.p_$HV=-1;this.p_$HW.i_$17Y(da);}};xmp.$.$4G.prototype.p_$HX=function(){var fa=xmp.$.$1B.i_$P4();var ga=fa.getGlobalContextNode();var ha=ga.getNodeForPath('Instrumentation');var ia=ha.getBoolean('enabled',false);if(ia===true){var ja=new xmp.$.$5J(fa);xmp.$.$15.i_$P4().i_$W7(ja);}
var ka=xmp.i_$PJ('xmpErrorThreshold','fatal');var la=xmp.$.$14.i_$SL(ka);la=Math.min(xmp.$.$14.i_$W4,la);var ma=new xmp.$.$5I(la);xmp.$.$15.i_$P4().i_$W7(ma);};xmp.$.$4G.i_$17Z=function(){var na=xmp.$.$1B.i_$P4().getContextNode().getNodeForPath('CacheSlates');var oa=na.retrieveKeys();for(var i=0;i<oa.length;i++){var pa=oa[i];var qa=na.getString(pa,"").split(",");var ra=xmp.$.$5M.i_$P4().i_$Q7(pa);ra.i_$11Y(qa,null);ra.i_$11Z();}};xmp.i_$OH("xmp.baseplayer.internals");xmp.$.$4H=function(sa,ta){this.p_$X=xmp.$.$16.i_$S2('Trigger');this.p_$72=sa;this.p_$I0=ta;};xmp.$.$3.i_$PZ('\u0078\u006D\u0070\u002E\u0062\u0061\u0073\u0065\u0070\u006C\u0061\u0079\u0065\u0072\u002E\u0069\u006E\u0074\u0065\u0072\u006E\u0061\u006C\u0073\u002E\u0054\u0072\u0069\u0067\u0067\u0065\u0072',xmp.$.$4H);xmp.$.$4H.i_$180=function(ua,va,wa){var xa=new xmp.$.$5Q();xa.i_$181(ua);xa.setMetadata('player',wa);var ya=xmp.$.$4H.i_$182(ua,va);ya.i_$183(xa);};xmp.$.$4H.i_$182=function(za,Aa){var Ba=[];if(za.getPlayableData().isLoaded()){var Ca=za.getPlayableData().getDataObject().triggers;if(typeof Ca==='object'){for(var i=0;i<Ca.length;i++){var Da=Ca[i];if(typeof Da==='object'&&Da.trigger===Aa&&typeof Da.commands==='object'&&Da.commands.length>0){Ba=xmp.$.$4H.p_$I1(Da.commands);break;}}}
var Ea=xmp.$.$1B.i_$P4().getContextNode().getNodeForPath('NodeTriggers/'+za.getNodeTypeName()).getString(Aa,'');if(Ea.length>0){var Fa=null;try{Fa=xmp.$.$7.i_$P4().i_$RZ(Ea);}
catch(e){Fa=null;this.p_$X.warn('Error getting global trigger for type: '+za.getNodeTypeName(),e);}
if(Fa!==null){Ba=Fa.concat(Ba);}}}
if(Ba.length>0){return new xmp.$.$4H(Aa,Ba);}
else{return new xmp.$.$51(Aa);}};xmp.$.$4H.p_$I1=function(Ga){var Ha=[];for(var i=0;i<Ga.length;i++){var Ia=Ga[i];Ha.push({type:Ia.type,data:Ia.data});}
return Ha;};xmp.$.$4H.prototype.i_$X4=function(){return this.p_$72;};xmp.$.$4H.prototype.i_$183=function(Ja){for(var i=0;i<this.p_$I0.length;i++){var Ka=null;try{Ka=this.p_$I0[i];var La=xmp.$.$53.i_$P4().i_$Q7(Ka.type);Ja.i_$184(Ka.data);Ja.i_$185(this.i_$X4());var Ma=xmp.$.$U.i_$VQ(La,La.doCommand,[Ja]);if(Ma.exception){var Na="When invoking trigger command, type: '"+Ka.type+"', data: '"+Ka.data+"', an unexpected exception was thrown from outside of core XMP framework";xmp.$.$U.i_$VR(this.p_$X,xmp.$.$14.i_$VS,Na,Ma.exception);}}
catch(e){this.p_$X.warn('Error invoking trigger command, type: '+Ka.type+', data: '+Ka.data,e);}}};xmp.i_$OH("xmp.baseplayer.listeners");xmp.baseplayer.listeners.AbstractNodeListener=function(id,Oa){xmp.i_$OU(arguments,[xmp.i_$QK,xmp.i_$QJ],"AbstractNodeListener.ctor");if(id===null||id.length===0||Oa===null){throw new xmp.util.internals.InvalidArgsError("The 'id' argument must be non-empty, "+"and the 'player' argument must be non-null.");}
this.p_$1G=id;this.p_$7L=Oa;this.p_$I2=null;};xmp.$.$3.i_$PY('xmp.baseplayer.listeners.AbstractNodeListener',xmp.baseplayer.listeners.AbstractNodeListener);xmp.baseplayer.listeners.AbstractNodeListener.prototype.getId=function(){return this.p_$1G;};xmp.baseplayer.listeners.AbstractNodeListener.prototype.getPlayer=function(){return this.p_$7L;};xmp.baseplayer.listeners.AbstractNodeListener.prototype.getPlayerContext=function(){return this.p_$I2;};xmp.baseplayer.listeners.AbstractNodeListener.prototype.i_$186=function(Pa){this.p_$I2=Pa;};xmp.baseplayer.listeners.AbstractNodeListener.prototype.i_$187=function(Qa){return true;};xmp.baseplayer.listeners.AbstractNodeListener.prototype.i_$188=function(Ra){};xmp.baseplayer.listeners.AbstractNodeListener.prototype.handleDynamicRules=function(Sa){};xmp.baseplayer.listeners.AbstractNodeListener.prototype.handleComplete=function(Ta){};xmp.baseplayer.listeners.AbstractNodeListener.prototype.i_$189=function(Ua){return true;};xmp.baseplayer.listeners.AbstractNodeListener.prototype.i_$18A=function(Va,Wa){};xmp.baseplayer.listeners.AbstractNodeListener.prototype.handleRender=function(Xa){};xmp.baseplayer.listeners.AbstractNodeListener.prototype.handleOpen=function(Ya){};xmp.baseplayer.listeners.AbstractNodeListener.prototype.handleConnecting=function(Za){};xmp.baseplayer.listeners.AbstractNodeListener.prototype.handleConnected=function($a){};xmp.baseplayer.listeners.AbstractNodeListener.prototype.handlePlay=function(ab){};xmp.baseplayer.listeners.AbstractNodeListener.prototype.handleFirstFrameRendered=function(bb){};xmp.baseplayer.listeners.AbstractNodeListener.prototype.handlePause=function(db){};xmp.baseplayer.listeners.AbstractNodeListener.prototype.handleStop=function(eb){};xmp.baseplayer.listeners.AbstractNodeListener.prototype.handleRewind=function(fb){};xmp.baseplayer.listeners.AbstractNodeListener.prototype.handleFastForward=function(gb){};xmp.baseplayer.listeners.AbstractNodeListener.prototype.handleSeekable=function(hb){};xmp.baseplayer.listeners.AbstractNodeListener.prototype.handleEnded=function(ib){};xmp.baseplayer.listeners.AbstractNodeListener.prototype.handleBuffering=function(jb,kb){};xmp.baseplayer.listeners.AbstractNodeListener.prototype.handleTimelineChange=function(lb,mb,nb){};xmp.baseplayer.listeners.AbstractNodeListener.prototype.handleError=function(ob,e){};xmp.baseplayer.listeners.AbstractNodeListener.prototype.handleOverrideAdResources=function(pb,qb){};xmp.baseplayer.listeners.AbstractNodeListener.prototype.handleValidate=function(sb){};xmp.baseplayer.listeners.AbstractNodeListener.prototype.handleRenderAd=function(tb,ub,vb){};xmp.baseplayer.listeners.AbstractNodeListener.prototype.i_$18B=function(){return false;};xmp.i_$OH("xmp.baseplayer.listeners");xmp.$.$4I=function(id,wb){xmp.$.$4I.ctor.call(this,id,wb);};xmp.DERIVE_CLASS(xmp.baseplayer.listeners.AbstractNodeListener,xmp.$.$4I);xmp.$.$3.i_$PZ('\u0078\u006D\u0070\u002E\u0062\u0061\u0073\u0065\u0070\u006C\u0061\u0079\u0065\u0072\u002E\u006C\u0069\u0073\u0074\u0065\u006E\u0065\u0072\u0073\u002E\u0046\u0072\u0061\u006D\u0065\u0077\u006F\u0072\u006B\u004E\u006F\u0064\u0065\u004C\u0069\u0073\u0074\u0065\u006E\u0065\u0072',xmp.$.$4I);xmp.$.$4I.prototype.i_$18B=function(){return true;};xmp.i_$OH("xmp.baseplayer.listeners");xmp.baseplayer.listeners.DefaultBaseNodeListener=function(xb,yb){xmp.baseplayer.listeners.DefaultBaseNodeListener.ctor.call(this,xb,yb);this.p_$I3=xmp.$.$16.i_$S2('DefaultBaseNodeListener');};xmp.DERIVE_CLASS(xmp.baseplayer.listeners.AbstractNodeListener,xmp.baseplayer.listeners.DefaultBaseNodeListener);xmp.$.$3.i_$PY('xmp.baseplayer.listeners.DefaultBaseNodeListener',xmp.baseplayer.listeners.DefaultBaseNodeListener);xmp.baseplayer.listeners.DefaultBaseNodeListener.prototype.handleRender=function(zb){this.getPlayer().open(zb,this.getPlayerContext());};xmp.baseplayer.listeners.DefaultBaseNodeListener.prototype.handleEnded=function(Ab){this.getPlayer().advance();};xmp.baseplayer.listeners.DefaultBaseNodeListener.prototype.handleError=function(Bb,e){this.p_$I3.warn("Dropping node: "+Bb.getBestId()+', error: '+xmp.i_$ON(e));this.getPlayer().advance();};xmp.i_$OH("xmp.baseplayer.listeners");xmp.baseplayer.listeners.DefaultSlateNodeListener=function(Cb,Db){xmp.baseplayer.listeners.DefaultSlateNodeListener.ctor.call(this,Cb,Db);};xmp.DERIVE_CLASS(xmp.baseplayer.listeners.DefaultBaseNodeListener,xmp.baseplayer.listeners.DefaultSlateNodeListener);xmp.$.$3.i_$PY('xmp.baseplayer.listeners.DefaultSlateNodeListener',xmp.baseplayer.listeners.DefaultSlateNodeListener);xmp.baseplayer.listeners.DefaultSlateNodeListener.prototype.i_$188=function(Eb){var Fb=Eb.getMetadata("url","");if(Fb.length>0){Eb.setURI(Fb);}
Eb.setMimeType(xmp.DHTML_MIME_TYPE);};xmp.baseplayer.listeners.DefaultSlateNodeListener.prototype.i_$18C=function(){var Gb=this.getPlayer().getLookAheadNodeArray();for(var i=0;i<Gb.length;i++){var Hb=Gb[i];if(Hb.isContentType()){return Hb;}}
return null;};xmp.i_$OH("xmp.baseplayer.listeners.internals");xmp.$.$4J=function(id,Ib){xmp.$.$4J.ctor.call(this,id,Ib);this.p_$I4=false;this.p_$CK=false;};xmp.DERIVE_CLASS(xmp.$.$4I,xmp.$.$4J);xmp.$.$3.i_$PZ('\u0078\u006D\u0070\u002E\u0062\u0061\u0073\u0065\u0070\u006C\u0061\u0079\u0065\u0072\u002E\u006C\u0069\u0073\u0074\u0065\u006E\u0065\u0072\u0073\u002E\u0069\u006E\u0074\u0065\u0072\u006E\u0061\u006C\u0073\u002E\u0054\u0072\u0069\u0067\u0067\u0065\u0072\u004E\u006F\u0064\u0065\u004C\u0069\u0073\u0074\u0065\u006E\u0065\u0072',xmp.$.$4J);xmp.$.$4J.prototype.handleRender=function(Jb){this.p_$I4=false;this.p_$CK=(Jb.i_$UV()==='live');if(false===this.p_$CK){xmp.$.$4H.i_$180(Jb,'request',this.getPlayer());}
xmp.$.$4J.base.handleRender.call(this,Jb);};xmp.$.$4J.prototype.handleOpen=function(Kb){this.p_$I4=false;this.p_$CK=(Kb.i_$UV()==='live');xmp.$.$4H.i_$180(Kb,'start',this.getPlayer());xmp.$.$4J.base.handleOpen.call(this,Kb);};xmp.$.$4J.prototype.handleEnded=function(Lb){if(false===this.p_$CK){xmp.$.$4H.i_$180(Lb,'end',this.getPlayer());}
xmp.$.$4J.base.handleEnded.call(this,Lb);};xmp.$.$4J.prototype.handleTimelineChange=function(Mb,Nb,Ob){xmp.$.$4J.base.handleTimelineChange.call(this,Mb,Nb,Ob);if(false===this.p_$CK&&false===this.p_$I4){if(Ob===0){return;}
var Pb=(((Mb.getTimeLimitInSeconds()!==xmp.NO_TIME_LIMIT)?Mb.getTimeLimitInSeconds():Ob)/2);if(Nb>=Pb){xmp.$.$4H.i_$180(Mb,'mid',this.getPlayer());this.p_$I4=true;}}};xmp.i_$OH("xmp.baseplayer.listeners.internals");xmp.$.$4K=function(id,Qb){xmp.$.$4K.ctor.call(this,id,Qb);};xmp.DERIVE_CLASS(xmp.$.$4I,xmp.$.$4K);xmp.$.$3.i_$PZ('\u0078\u006D\u0070\u002E\u0062\u0061\u0073\u0065\u0070\u006C\u0061\u0079\u0065\u0072\u002E\u006C\u0069\u0073\u0074\u0065\u006E\u0065\u0072\u0073\u002E\u0069\u006E\u0074\u0065\u0072\u006E\u0061\u006C\u0073\u002E\u0041\u0064\u0052\u0065\u0073\u004E\u006F\u0064\u0065\u004C\u0069\u0073\u0074\u0065\u006E\u0065\u0072',xmp.$.$4K);xmp.$.$4K.prototype.i_$189=function(Rb){var rb=Rb.i_$UB();if(rb.isError()||rb.isLoaded()){this.i_$18D(Rb,rb);}
if(rb.isError()){return true;}
return rb.isLoaded();};xmp.$.$4K.prototype.i_$18A=function(Sb,Tb){var Ub=xmp.$.$1B.i_$P4().getContextNode().getNodeForPath('BasePlayer').getString('videoAdMetaLoader','videoAdMeta');var Vb=xmp.$.$5M.i_$P4().i_$Q7(Ub);var Wb=new xmp.$.$M('gotAdCallback',this.p_$I5,this);Wb.i_$V6('RelayCallback',Tb);Wb.i_$V6('theNode',Sb);Vb.i_$18E(Sb.i_$UB(),Wb);Vb.i_$11Z();};xmp.$.$4K.prototype.p_$I5=function(Xb,Yb){var Zb=Xb.i_$V8('RelayCallback',{});var $b=Xb.i_$V8('theNode',{});this.i_$18D($b,Yb);Zb.i_$OY($b);};xmp.$.$4K.prototype.i_$18D=function(ac,bc){};xmp.i_$OH("xmp.baseplayer");xmp.$.$4L=function(cc){this.p_$7L=cc;this.p_$I6={};this.p_$I7={};this.p_$I8={};this.p_$I8.adLoader=xmp.$.$5C.i_$PS();this.p_$I8.nonAdLoader=xmp.$.$5D.i_$PS();this.p_$I8.promoLoader=xmp.$.$5G.i_$PS();this.p_$I8.tracking=xmp.$.$5H.i_$PS();this.p_$I8.metering=xmp.$.$5F.i_$PS();this.p_$I8.firstFrame=xmp.$.$5E.i_$PS();this.p_$I9={};this.p_$I9.Ad=['adLoader','metering','firstFrame'];this.p_$I9.Promo=['promoLoader','firstFrame'];this.p_$I9.Content=['nonAdLoader','tracking','firstFrame'];this.p_$I9.DEFAULT=['nonAdLoader'];this.p_$IA=[];};xmp.$.$3.i_$PZ('\u0078\u006D\u0070\u002E\u0062\u0061\u0073\u0065\u0070\u006C\u0061\u0079\u0065\u0072\u002E\u005F\u004E\u004C\u004D\u0061\u0070',xmp.$.$4L);xmp.$.$4L.prototype.i_$18F=function(dc,ec){var fc=this.p_$I6[this.p_$IB(ec.getNodeTypeName(),dc)];if(!fc){fc=this.p_$IC(ec.getNodeTypeName(),dc);this.p_$I6[this.p_$IB(ec.getNodeTypeName(),dc)]=fc;}
return fc;};xmp.$.$4L.prototype.i_$18G=function(gc,hc,ic){xmp.i_$OU(arguments,[xmp.i_$QJ,xmp.i_$QJ,xmp.i_$QJ],"_NLMap.i_registerNodeListener");if(!gc||!hc||(hc.length===0)){throw new xmp.util.internals.InvalidArgsError("The 'listener' argument must be non-null, and the 'nodeTypeArray' argument must be non-null and non-empty.");}
for(var i=0;i<hc.length;i++){var jc=hc[i];if(!(typeof jc==='string'&&jc.length>0)){throw new xmp.util.internals.InvalidArgsError("The 'nodeTypeArray' argument must be an array of non-empty strings.");}}
var kc=gc.getPlayerContext();if(typeof(kc)==='undefined'){throw new xmp.util.internals.InvalidArgsError("Unexpected result from NodeListener.getPlayerContext, make sure base constructor is called from your constructor.");}
if(kc!==null&&kc!==ic){throw new xmp.util.internals.InvalidArgsError("The 'listener' argument must not be asociated with more than one Player Context.");}
gc.i_$186(ic);this.p_$IA.push({l:gc,nta:hc,pcKey:this.p_$ID(ic)});};xmp.$.$4L.prototype.p_$IE=function(lc,mc){var nc=[];var oc=xmp.$.$3H.i_$14S(lc);var pc=this.p_$I9[oc];var qc=this.p_$IF(mc);for(var i=0;i<pc.length;i++){var rc=pc[i];var sc=qc[rc];nc.push(sc);}
return nc;};xmp.$.$4L.prototype.p_$IF=function(tc){var uc=this.p_$ID(tc);var vc=this.p_$I7[uc];if(typeof(vc)==='undefined'){vc={};for(var wc=xmp.$.$4.i_$Q7(this.p_$I8);wc.i_$Q9();wc.i_$QB()){var xc=wc.i_$QC();var yc=wc.i_$QD();var zc=yc.i_$Q3([this.p_$7L]);zc.i_$186(tc);vc[xc]=zc;}
this.p_$I7[uc]=vc;}
return vc;};xmp.$.$4L.prototype.p_$IG=function(Ac,Bc){var Cc=[];var Dc=this.p_$ID(Bc);for(var i=0;i<this.p_$IA.length;i++){var Ec=this.p_$IA[i];if(Ec.pcKey!==Dc){continue;}
var Fc=Ec.l;var Gc=Ec.nta;for(var j=0;j<Gc.length;j++){var Hc=Gc[j];if((Hc==='*')||(Hc===Ac)){Cc.push(Fc);}}}
return Cc;};xmp.$.$4L.prototype.p_$IH=function(Ic,Jc){var Kc=this.p_$IG(Ic,Jc);if(Kc.length===0){throw new xmp.util.internals.InvalidArgsError('No vertical node listener registered for node type: '+Ic);}
return Kc;};xmp.$.$4L.prototype.p_$II=function(Lc,Mc){for(var i=0;i<Mc.length;i++){var Nc=Mc[i];for(var j=i+1;j<Mc.length;j++){var Oc=Mc[j];if(Nc===Oc){throw new xmp.util.internals.InvalidArgsError('Same listener registered more than once for node type: '+Lc);}}}};xmp.$.$4L.prototype.p_$IC=function(Pc,Qc){var Rc=this.p_$IE(Pc,Qc);Rc=Rc.concat(this.p_$IH(Pc,Qc));this.p_$II(Pc,Rc);var Sc=new xmp.$.$5B(this.p_$7L);for(var i=0;i<Rc.length;i++){Sc.i_$164(Rc[i]);}
return Sc;};xmp.$.$4L.prototype.p_$ID=function(Tc){return xmp.baseplayer.BasePlayer.i_$18H(Tc);};xmp.$.$4L.prototype.p_$IB=function(Uc,Vc){return this.p_$ID(Vc)+'|'+Uc;};xmp.i_$OH("xmp.baseplayer");xmp.$.$4M=function(){this.p_$5R=[];this.p_$8={};};xmp.$.$3.i_$PZ('\u0078\u006D\u0070\u002E\u0062\u0061\u0073\u0065\u0070\u006C\u0061\u0079\u0065\u0072\u002E\u0050\u006C\u0061\u0079\u0061\u0062\u006C\u0065\u0044\u0061\u0074\u0061\u004D\u0061\u0070\u0041\u0072\u0072\u0061\u0079',xmp.$.$4M);xmp.$.$4M.prototype.i_$18I=function(Wc,Xc){if(Wc>=this.i_$16P()){this.p_$5R.push(Xc);}
else{this.p_$5R.splice(Wc,0,Xc);}
this.p_$8[Xc.getMetaResourceId()]=Xc;};xmp.$.$4M.prototype.i_$18J=function(){this.p_$5R=[];this.p_$8={};};xmp.$.$4M.prototype.i_$VU=function(Yc){var Zc=this.p_$5R.splice(Yc,1)[0];delete this.p_$8[Zc.getMetaResourceId()];return Zc;};xmp.$.$4M.prototype.i_$18K=function($c,ad){var bd=this.i_$VU($c);this.i_$18I(ad,bd);};xmp.$.$4M.prototype.i_$16P=function(){return this.p_$5R.length;};xmp.$.$4M.prototype.i_$16E=function(cd){return this.p_$5R[cd];};xmp.$.$4M.prototype.i_$18L=function(id){var dd=this.p_$8[id];return(!dd)?null:dd;};xmp.$.$4M.prototype.i_$18M=function(id){var ed=this.i_$16P();for(var i=0;i<ed;i++){if(this.i_$16E(i).getMetaResourceId()===id){return i;}}
return-1;};xmp.$.$4M.prototype.i_$18N=function(fd){var gd=[];for(var i=fd;i<this.p_$5R.length;i++){var hd=this.p_$5R[i];gd.push(hd.getMetaResourceId());}
return gd;};xmp.i_$OH("xmp.baseplayer");xmp.$.$4N=function(jd,kd,ld,md){this.p_$IJ='adPatternCB';this.p_$IK=jd;this.p_$77=kd;this.p_$X=this.p_$77.i_$RV();this.p_$IL=null;this.p_$IM="";this.p_$IN=new xmp.$.$4M();this.p_$IO=null;this.p_$IP=null;this.p_$GH=null;this.p_$IQ=null;this.p_$IR=null;this.p_$IS=null;this.p_$IT={p:md,ira:[]};this.p_$IU=[];this.p_$4G(ld);};xmp.$.$3.i_$PZ('\u0078\u006D\u0070\u002E\u0062\u0061\u0073\u0065\u0070\u006C\u0061\u0079\u0065\u0072\u002E\u0050\u006C\u0061\u0079\u006C\u0069\u0073\u0074\u0043\u006F\u006E\u0074\u0065\u0078\u0074',xmp.$.$4N);xmp.$.$4N.prototype.i_$18O=function(){return this.p_$IO;};xmp.$.$4N.p_$IV=0;xmp.$.$4N.prototype.i_$18P=function(nd){var od=nd+": ";od+="key = "+this.p_$IK+"; ";od+="owner = "+this.p_$77.getId()+"; ";od+="advanceToId = "+this.p_$IM+"; ";od+="currently rendering node = "+xmp.$.$K.i_$UE(this.p_$GH)+"; ";od+="current content node = "+xmp.$.$K.i_$UE(this.p_$IQ)+"; ";od+="current playing index = "+this.p_$IW()+"; ";this.p_$X.debug(od);};xmp.$.$4N.prototype.i_$15L=function(){return this.p_$IO.i_$15L();};xmp.$.$4N.prototype.i_$15M=function(){return this.p_$IO.i_$15M();};xmp.$.$4N.prototype.p_$4G=function(pd){xmp.i_$OU(arguments,[xmp.i_$QK],"PlaylistContext.p_init");try{var qd=new xmp.$.$M('masterCB',this.p_$IX,this);this.p_$IL=new xmp.$.$Y([],qd);this.p_$IP=new xmp.$.$4O(this.p_$IL,this.p_$77);this.p_$IT.ira=this.p_$IP.i_$18Q();this.p_$IY(pd);this.p_$IP.i_$18R();}
catch(e){this.p_$X.warn('Error in init',e);throw e;}};xmp.$.$4N.prototype.i_$18S=function(rd,sd){xmp.i_$OU(arguments,[xmp.i_$QJ,xmp.i_$QK],"PlaylistContext.i_loadContent");try{var td=[];var ud={};for(var i=0;i<rd.length;i++){var vd=rd[i];if(!xmp.i_$OP(vd)){throw new xmp.util.internals.InvalidArgsError("The 'mridArray' argument must contain only non-empty strings.");}
if(typeof(ud[vd])!=='undefined'){this.p_$X.info('Dropping duplicate content ID: '+vd);continue;}
ud[vd]=vd;td.push(vd);}
rd=td;if(rd.length===0){throw new xmp.util.internals.InvalidArgsError("The 'mridArray' argument must contain at least one unique id.");}
if(sd.length===0){sd=rd[0];}
if(typeof(ud[sd])==='undefined'){throw new xmp.util.internals.InvalidArgsError("The 'startResourceId' argument must be empty or refer to an id in 'mridArray'.");}
this.p_$IM=sd;this.p_$IN.i_$18J();return this.p_$IZ('loadContent','Batch',rd,0);}
catch(e){this.p_$X.warn('Error in loadContent',e);throw e;}};xmp.$.$4N.prototype.p_$IZ=function(wd,id,xd,yd){var cb=this.p_$J0(wd,id);this.p_$IL.i_$VW(cb.i_$R7());var zd=xmp.$.$5M.i_$P4().i_$Q7('videoContentMeta');var Bd=zd.i_$11Y(xd,null);zd.i_$18T(cb);for(var i=0;i<Bd.length;i++){var Cd=Bd[i];Cd.i_$WC();this.p_$IN.i_$18I(yd+i,Cd);}
zd.load();return cb.i_$V8('_modNum',0);};xmp.$.$4N.prototype.i_$18U=function(){return this.p_$IK;};xmp.$.$4N.prototype.i_$18V=function(Dd){this.p_$IS=Dd;};xmp.$.$4N.prototype.i_$18W=function(Ed,Fd){var Gd=null;var Hd=this.i_$18X();if(Hd>0){Gd=this.i_$18Y(Hd-1).getMetaResourceId();}
return this.p_$J1('append',Ed,Gd,Fd);};xmp.$.$4N.prototype.i_$18Z=function(Id){var Jd=this.i_$190(Id);if(Jd<0){return-1;}
this.p_$IN.i_$VU(Jd);return this.p_$J2('remove',Id);};xmp.$.$4N.prototype.i_$191=function(Kd,Ld,Md){return this.p_$J1('insert',Kd,Ld,Md);};xmp.$.$4N.prototype.p_$J1=function(Nd,Od,Pd,Qd){var Rd=this.p_$J3(Od,Pd,Qd,false);if(Qd||!this.p_$J4()){this.p_$IM=Od;}
return this.p_$IZ(Nd,Od,[Od],Rd.a+1);};xmp.$.$4N.prototype.i_$192=function(Sd,Td,Ud){var Vd=this.p_$J3(Sd,Td,Ud,true);var Wd=Vd.a;if(Vd.a<Vd.i){Wd++;}
this.p_$IN.i_$18K(Vd.i,Wd);if(Ud){this.p_$IM=Sd;}
return this.p_$J2('move',Sd);};xmp.$.$4N.prototype.i_$193=function(Xd){var Yd=this.i_$190(Xd);if(Yd<0){throw new xmp.util.internals.InvalidArgsError("The 'mrid' argument must refer to an exising playlist item.");}
this.p_$IM=Xd;return this.p_$J2('setCur',Xd);};xmp.$.$4N.prototype.i_$194=function(){var Zd=this.p_$GH;if(this.p_$J5(Zd)){if(Zd.isContentType()){return Zd.getPlayableData().getMetaResourceId();}
else{var a=this.i_$15L();for(var i=0;i<a.length;i++){var $d=a[i];if($d.isContentType()){return $d.getPlayableData().getMetaResourceId();}}}}
return'';};xmp.$.$4N.prototype.i_$18X=function(){return this.p_$IN.i_$16P();};xmp.$.$4N.prototype.i_$18Y=function(ae){return this.p_$IN.i_$16E(ae);};xmp.$.$4N.prototype.i_$195=function(be){return this.p_$IN.i_$18L(be);};xmp.$.$4N.prototype.i_$190=function(ce){return this.p_$IN.i_$18M(ce);};xmp.$.$4N.prototype.i_$196=function(de,ee){this.p_$IP.i_$196(de,ee);this.p_$IO.i_$15Q(de,this.p_$IP);};xmp.$.$4N.prototype.p_$IY=function(fe){var cb=new xmp.$.$M(this.p_$IJ,this.p_$J6,this);this.p_$IL.i_$VW(cb.i_$R7());xmp.$.$7.i_$P4().i_$RF(fe,cb,'adPolicy',fe,xmp.$.$A.i_$RY,null);};xmp.$.$4N.prototype.p_$J6=function(cb,ge){var he=null;if(ge.i_$SF()){he={e:ge.i_$SN(),j:null};var je=new xmp.$.$4Q(ge.i_$SN(),'FailToGetAdPattern',null,[{label:"Url",text:ge.i_$SM()}]);this.p_$X.warn(je.message,je);}
else{he={e:null,j:ge.i_$SO()};}
this.p_$IL.called(cb.i_$R7(),he);if(this.p_$X.isDebugEnabled()){this.p_$X.debug("PlaylistContext.p_adPatternCb");}};xmp.$.$4N.prototype.p_$J7=function(cb){this.p_$IL.called(cb.i_$R7(),null);if(this.p_$X.isDebugEnabled()){this.p_$X.debug("PlaylistContext.p_PLModCb: "+cb.i_$R7());}};xmp.$.$4N.prototype.p_$IX=function(cb){if(!this.p_$IO){var ke=cb.i_$V8(this.p_$IJ,{});this.p_$J8(ke);}
var le=this.p_$J4();var me=this.p_$IW();if(this.p_$X.isDebugEnabled()){var ne='Latch Complete, run state = '+this.p_$J9()+', count = '+this.i_$18X()+', current index = '+me+', _advanceToId = '+this.p_$IM;this.p_$X.debug(ne);}
var oe=this.p_$JA();var pe=-1;if(oe>=0){pe=oe;}
else{if(me<0&&le){me=-1;}
pe=(me+1);}
if(pe<0){this.p_$X.warn('Invalid refreshFromIndex, correcting to 0: '+pe);pe=0;}
this.p_$IO.i_$15D(this.p_$IN.i_$18N(pe));this.p_$IO.i_$15I().i_$Q6();if(oe>=0&&this.p_$GI()){this.i_$197();}
this.p_$JB();};xmp.$.$4N.prototype.p_$J8=function(qe){try{if(qe.e!==null){throw qe.e;}
this.p_$IO=new xmp.$.$3J(this,qe.j,this.p_$IT.ira,this.p_$IT.p);var se=this.p_$IO.i_$15J();this.p_$IP.i_$198(se);this.p_$IO.i_$15K([this.p_$IP]);}
catch(e){this.p_$X.warn('Error initializing playlist',e);}};xmp.$.$4N.prototype.i_$199=function(){return this.p_$GH;};xmp.$.$4N.prototype.i_$197=function(){if(this.p_$IO.i_$15I().i_$Q9()){var te=this.p_$IO.i_$15I().i_$QB();this.p_$IR=this.p_$GH;if(this.p_$GH===null){this.p_$JC();}
this.p_$GH=te;if(te.isContentType()){this.p_$IQ=te;}
if(this.p_$IS){this.p_$IS.i_$19A();}}
else{this.p_$GH=null;this.p_$IQ=null;this.p_$JD();}};xmp.$.$4N.prototype.p_$JA=function(){var ue=-1;if(this.p_$IM.length>0){ue=this.i_$190(this.p_$IM);if((ue<0)&&this.p_$X.isDebugEnabled()){this.p_$X.debug("PlaylistContext.p_calcAdvanceToIndex: "+this.p_$IM+" is not a valid play list item id; cannot advance to it.");}}
this.p_$IM='';return ue;};xmp.$.$4N.prototype.p_$GI=function(){var ve=this.p_$J4();var we=this.p_$GH;return(!ve||(ve&&this.p_$77.i_$18F(null,we).i_$187(we)));};xmp.$.$4N.prototype.p_$J4=function(){return this.p_$J5(this.p_$GH);};xmp.$.$4N.prototype.p_$J5=function(xe){return(xe&&xe.isValid()&&xe.getPlayableData());};xmp.$.$4N.prototype.i_$15Y=function(ye){this.p_$77.i_$15Y(ye);};xmp.$.$4N.prototype.p_$J0=function(ze,id){xmp.$.$4N.p_$IV++;var c=xmp.$.$4N.p_$IV.toString();var Ae='PLModCb_'+c+'_'+ze+':'+id;var cb=new xmp.$.$M(Ae,this.p_$J7,this);var Be=new xmp.$.$5P(ze,id);cb.i_$V6('_modNum',Be.getModNum());this.p_$IU.push(Be);return cb;};xmp.$.$4N.prototype.p_$J2=function(Ce,id){var cb=this.p_$J0(Ce,id);this.p_$IL.i_$VW(cb.i_$R7());xmp.$.$1C.i_$WO(cb);return cb.i_$V8('_modNum',0);};xmp.$.$4N.prototype.p_$IW=function(){var De=this.p_$IQ;if(this.p_$J5(De)){return this.i_$190(De.getPlayableData().getMetaResourceId());}
return-1;};xmp.$.$4N.prototype.i_$UT=function(Ee){return this.i_$195(Ee);};xmp.$.$4N.prototype.p_$J3=function(Fe,Ge,He,Ie){var Je={a:-1,i:-1};if(!(xmp.i_$OP(Fe)&&(Ge===null||xmp.i_$OP(Ge)))){throw new xmp.util.internals.InvalidArgsError("The 'mrid' argument must be a non-null, non-empty string, "+"and the 'afterMrid' must EITHER be null OR a a non-null, non-empty string");}
if(Fe===Ge){throw new xmp.util.internals.InvalidArgsError("The 'mrid' argument must NOT be the same value as the 'afterMrid' value.");}
if(typeof(He)!=='boolean'){throw new xmp.util.internals.InvalidArgsError("The 'setPos' argument must be of boolean type.");}
if(Ge!==null){Je.a=this.i_$190(Ge);if(Je.a<0){throw new xmp.util.internals.InvalidArgsError("The 'afterMrid' argument must be set to null, or must refer to an exising playlist item.");}}
Je.i=this.i_$190(Fe);if(Ie){if(Je.i<0){throw new xmp.util.internals.InvalidArgsError("The 'mrid' argument must refer to an exising playlist item when moving.");}}
else{if(Je.i>-1){throw new xmp.util.internals.InvalidArgsError("The 'mrid' argument must NOT refer to an exising playlist item when inserting/appending.");}}
return Je;};xmp.$.$4N.prototype.p_$J9=function(){if(this.p_$J4()){return'running';}
else{return this.p_$J5(this.p_$IR)?'stopped':'never started';}};xmp.$.$4N.prototype.p_$JC=function(){this.p_$77.i_$19B(this.p_$77,this.p_$77.handlePlayListStarted,'handlePlayListStarted',[]);};xmp.$.$4N.prototype.p_$JD=function(){this.p_$77.i_$19B(this.p_$77,this.p_$77.handlePlayListEnded,'handlePlayListEnded',[]);};xmp.$.$4N.prototype.p_$JB=function(){var Ke=[];Ke=Ke.concat(this.p_$IU);this.p_$IU=[];this.p_$77.i_$19B(this.p_$77,this.p_$77.handlePlayListModified,'handlePlayListModified',[Ke]);};xmp.i_$OH("xmp.baseplayer");xmp.$.$4O=function(Le,Me){this.p_$X=xmp.$.$16.i_$S2('_RuleMap');this.p_$JE=[];this.p_$JF={};this.p_$IL=Le;this.p_$7L=Me;};xmp.$.$3.i_$PZ('\u0078\u006D\u0070\u002E\u0062\u0061\u0073\u0065\u0070\u006C\u0061\u0079\u0065\u0072\u002E\u005F\u0052\u0075\u006C\u0065\u004D\u0061\u0070',xmp.$.$4O);xmp.$.$4O.prototype.i_$196=function(Ne,Oe){if(!(xmp.i_$OP(Ne)&&xmp.i_$OP(Oe))){throw new xmp.util.internals.InvalidArgsError("The 'ruleId' and 'ruleFullyQualifiedConstructor' arguments must be non-null, non-empty strings.");}
if(typeof(this.p_$JF[Ne])==='undefined'){this.p_$JE.push(Ne);this.p_$JF[Ne]=Oe;}};xmp.$.$4O.prototype.i_$18Q=function(){var Pe=xmp.$.$1B.i_$P4().getContextNode();if(!Pe.nodeExists('invariantRules')){return[];}
var Qe=Pe.getNodeForPath('invariantRules');var Re=Qe.retrieveKeys();var Se="[";for(var i=0;i<Re.length;i++){var Te=Re[i];Se+=Qe.getString(Te,'');if(i!==(Re.length-1)){Se+=",";}}
Se+="]";try{return xmp.$.$7.i_$P4().i_$RZ(Se);}
catch(e){this.p_$X.warn('Error loading invariant rule ids.',e);throw e;}};xmp.$.$4O.prototype.i_$198=function(Ue){var Ve=xmp.$.$1B.i_$P4().getContextNode().getNodeForPath('BasePlayer').getString('rule classes namespace','');for(var i=0;i<Ue.length;i++){var We=Ue[i];var Xe=We;if(Ve.length>0){Xe=(Ve+'.'+Xe);}
this.i_$196(We,Xe);}};xmp.$.$4O.prototype.i_$18R=function(){var Ye=xmp.$.$1B.i_$P4().getContextNode().getNodeForPath('BasePlayer').getString('rule classes relative URL','');var cb=new xmp.$.$M('getRulesCB',this.p_$JG,this);this.p_$IL.i_$VW(cb.i_$R7());if(Ye==='NONE'){cb.i_$V6('no_rules','true');cb.i_$TI([]);}
else{xmp.$.$7.i_$P4().i_$RF(Ye,cb,'ruleClasses',Ye,xmp.$.$A.i_$RW,null);}};xmp.$.$4O.prototype.p_$JG=function(cb,Ze){if(cb.i_$V8('no_rules','false')==='true'){this.p_$IL.called(cb.i_$R7(),{e:null});return;}
if(Ze.i_$SF()){var $e=new xmp.$.$4Q(Ze.i_$SN(),'RulesNotDownLoaded',null,[{label:"Url",text:Ze.i_$SM()}]);this.p_$X.warn($e.message,$e);this.p_$IL.called(cb.i_$R7(),{e:Ze.i_$SN()});}
else{try{xmp.$.$7.i_$P4().i_$SE(Ze.i_$SP());this.p_$IL.called(cb.i_$R7(),{e:null});}
catch(e){var af=(e instanceof Error)?e:new Error('UKNOWN ERROR');this.p_$IL.called(cb.i_$R7(),{e:af});}}};xmp.$.$4O.prototype.i_$15P=function(){return this.p_$JE;};xmp.$.$4O.prototype.i_$15O=function(bf){var cf=this.p_$JF[bf];if(!cf){return null;}
var df=xmp.$.$3.i_$PX(cf);var ef=df.i_$Q3([this.p_$7L]);return ef;};xmp.i_$OH("xmp.baseplayer");xmp.$.$4P=function(){};xmp.$.$3.i_$PZ('\u0078\u006D\u0070\u002E\u0062\u0061\u0073\u0065\u0070\u006C\u0061\u0079\u0065\u0072\u002E\u0041\u0070\u0070\u0045\u0072\u0072\u006F\u0072\u0043\u006F\u0064\u0065\u0073',xmp.$.$4P);xmp.$.$4P.p_$3N=[];xmp.$.$4P.p_$3N.badAdPolicy='Ad policy not found';xmp.$.$4P.p_$3N.badAdPattern='Bad ad pattern';xmp.$.$4P.p_$3N.FailToGetAdPattern='Failed to get the "ad pattern" JSON:  Make sure that the corresponding value for "rootUrl" in primary.js is correct, and that a valid JSON file exists at the specified location.  Also, make sure that the required cross-domain XML file on the JSON host has the needed site entry.';xmp.$.$4P.p_$3N.RulesNotDownLoaded='Failed to get the "rules JavaScript" file:  Make sure that the corresponding value for "rootUrl" in primary.js is correct, and that a valid JS file exists at the specified location.  Also, make sure that the required cross-domain XML file on the JS host has the needed site entry.';xmp.$.$4P.p_$3N.missingContent='Missing content';xmp.$.$4P.p_$3N.FailToGetDhtmlObject='Failed to load the DHTML object:  Make sure that the corresponding value for "rootUrl" in primary.js is correct, and that a valid DHTML object exists at the specified location.  Also, make sure that the required cross-domain XML file on the DHTML host has the needed site entry.';xmp.$.$4P.p_$3N.missingAd='Failed to get the ad:  Make sure that the corresponding value for "rootUrl" in primary.js is correct, and that a valid ad file exists at the specified location.  Also, make sure that the required cross-domain XML file on the ad host has the needed site entry.';xmp.$.$4P.p_$3N.badAdJson='Bad ad JSON';xmp.$.$4P.p_$3N.FailToGetAdVideo='Failed to get the ad video:  Make sure that the corresponding value for "rootUrl" in primary.js is correct, and that a valid ad-video file exists at the specified location.  Also, make sure that the required cross-domain XML file on the ad-video host has the needed site entry.';xmp.$.$4P.p_$3N.FailToGetAdMan='Failed to get the ad-man file:  Make sure that the corresponding value for "rootUrl" in primary.js is correct, and that a valid ad-man file exists at the specified location.  Also, make sure that the required cross-domain XML file on the ad-video host has the needed site entry.';xmp.$.$4P.p_$3N.missingVideoJson='Failed to get the video JSON:  Make sure that the corresponding value for "rootUrl" in primary.js is correct, and that a valid JSON file exists at the specified location.  Also, make sure that the required cross-domain XML file on the JSON host has the needed site entry.';xmp.$.$4P.p_$3N.FailToGetVideoJson='Failed to get the video JSON:  Make sure that the corresponding value for "rootUrl" in primary.js is correct, and that a valid JSON file exists at the specified location.  Also, make sure that the required cross-domain XML file on the JSON host has the needed site entry.';xmp.$.$4P.p_$3N.FailToGetPromoJson='Failed to get the promo JSON:  Make sure that the corresponding value for "rootUrl" in primary.js is correct, and that a valid JSON file exists at the specified location.  Also, make sure that the required cross-domain XML file on the JSON host has the needed site entry.';xmp.$.$4P.p_$3N.badVideoJson='Exception caught during "all loaded" notification.  The video JSON might be invalid.';xmp.$.$4P.p_$3N.mediaPlayerError='Media-player error';xmp.$.$4P.p_$3N.badInitialFlashObject='Timed out initializing Flash:  Make sure that the corresponding value for "rootUrl" in primary.js is correct for the initial Flash object.  Also, make sure that the Flash plug-in is installed and that the installation is not corrupted.';xmp.$.$4P.i_$19C=function(ff){var gf=xmp.$.$4P.p_$3N[ff];if(gf===null){gf='Unknown error: '+ff;}
return gf;};xmp.$.$4Q=function(e,hf,jf,kf){var lf=xmp.$.$4P.i_$19C(hf);xmp.$.$4Q.ctor.call(this,"ApplicationError",jf,lf,kf);this.setInnerError(e);};xmp.DERIVE_CLASS(xmp.util.internals.XMPError,xmp.$.$4Q);xmp.$.$3.i_$PZ('\u0078\u006D\u0070\u002E\u0062\u0061\u0073\u0065\u0070\u006C\u0061\u0079\u0065\u0072\u002E\u0041\u0070\u0070\u006C\u0069\u0063\u0061\u0074\u0069\u006F\u006E\u0045\u0072\u0072\u006F\u0072',xmp.$.$4Q);xmp.i_$OH("xmp.baseplayer");xmp.baseplayer.BasePlayer=function(id,mf,nf){xmp.baseplayer.BasePlayer.i_$19D(this);xmp.$.$13.i_$W2();if(xmp.baseplayer.BasePlayer.p_$JH!==null){throw new Error('Only one instance of BasePlayer allowed per browser session.');}
this.p_$JI={};this.p_$JJ(xmp.$.$5O.i_$19E());this.p_$JK=false;this.p_$JL=1;this.p_$JM={};this.p_$JN=null;this.p_$X=xmp.$.$16.i_$S2('BasePlayer');this.p_$1G=id;xmp.baseplayer.BasePlayer.p_$JO[this.getId()]=this;this.p_$3O=new xmp.$.$V(true);this.p_$3O.i_$UJ(mf);this.p_$DV=nf;this.p_$JP=null;this.p_$JQ=new xmp.$.$4L(this);this.p_$JR=xmp.baseplayer.BasePlayer.p_$JR;this.p_$JR.i_$S5();this.p_$JS=mf;xmp.baseplayer.BasePlayer.p_$JH=this;};xmp.$.$3.i_$PY('xmp.baseplayer.BasePlayer',xmp.baseplayer.BasePlayer);xmp.baseplayer.BasePlayer.p_$JO={};xmp.baseplayer.BasePlayer.p_$JH=null;xmp.baseplayer.BasePlayer.i_$19F=function(){return xmp.baseplayer.BasePlayer.p_$JH;};xmp.baseplayer.BasePlayer.p_$JR=new xmp.$.$4G();xmp.baseplayer.BasePlayer.p_$JT=xmp.$.$Q.i_$TB(xmp.$.$1E.FATAL_UNSPECIFIED_ERROR,'BasePlayer','not bootstrapped yet');xmp.baseplayer.BasePlayer.p_$JU=false;xmp.baseplayer.BasePlayer.i_$19G=function(of){xmp.baseplayer.BasePlayer.p_$JT=of;};xmp.baseplayer.BasePlayer.prototype.i_$RV=function(){return this.p_$X;};xmp.baseplayer.BasePlayer.prototype.getAbsoluteURI=function(pf,qf){if(pf.length>0&&pf.charAt(0)==='/'){var rf="http://"+window.location.host;var sf=rf;if(typeof qf!=='undefined'&&qf!=='defaultRoot'){sf=xmp.$.$1A.i_$P4().i_$P5(qf,rf);}
pf=sf+pf;}
return pf;};xmp.baseplayer.BasePlayer.createContentVideoMetaLoader=function(tf,uf,vf,wf,xf){return xmp.$.$59.i_$19H(tf,uf,vf,wf,xf);};xmp.baseplayer.BasePlayer.getSettingsManager=function(){return xmp.$.$1B.i_$P4();};xmp.baseplayer.BasePlayer.getVersionInfo=function(){return xmp.$.$1D;};xmp.baseplayer.BasePlayer.getXmpErrorCodes=function(){return xmp.$.$1E;};xmp.baseplayer.BasePlayer.createCategoryLogger=function(yf){return xmp.$.$16.i_$S2(yf);};xmp.baseplayer.BasePlayer.configureLogging=function(zf){xmp.$.$13.i_$W2(zf);};xmp.baseplayer.BasePlayer.createLatch=function(Af,Bf,Cf,Df){var Ef=new xmp.$.$M(Bf,Cf,Df);var Ff=new xmp.$.$Y(Af,Ef);return Ff;};xmp.baseplayer.BasePlayer.findPlayer=function(id){var Gf=xmp.baseplayer.BasePlayer.p_$JO[id];return(!Gf)?null:Gf;};xmp.baseplayer.BasePlayer.configure=function(Hf,If){var Jf=[xmp.i_$19I];Jf=Jf.concat(Hf);xmp.$.$1B.i_$P4().i_$S5(Jf,If);if(xmp.util.internals.MockTestMode){var Kf=xmp.util.internals.MockTestMode.getInstance();if(Kf.isActive()){Kf.configure();}}};xmp.baseplayer.BasePlayer.prototype.bootStrap=function(){try{if(!this.p_$JR.i_$17W()){throw new Error('Already tried to bootstrap.');}
var Lf=xmp.baseplayer.BasePlayer.p_$JT;xmp.$.$2Z.i_$10O(this);if(Lf===xmp.baseplayer.BasePlayer.p_$JT){this.p_$JR.i_$17X(this);}
else{this.i_$19B(this,this.handleBootstrapped,'handleBootstrapped',[false],xmp.$.$14.i_$VT);}}
catch(e){this.i_$17Y(e);}};xmp.baseplayer.BasePlayer.prototype.fini=function(){if(this.p_$JP!==null){this.p_$JP.i_$WW();this.p_$JP=null;}
xmp.$.$4F.i_$WW();};xmp.baseplayer.BasePlayer.prototype.getId=function(){return this.p_$1G;};xmp.baseplayer.BasePlayer.prototype.renderAds=function(Mf,Nf){if(Nf==='node'){throw new Error('Renderer type "node" is reserved.');}
var Of=Mf.i_$U7();var Pf=xmp.$.$43.i_$U6(Of,Nf);for(var i=0;i<Pf.length;i++){var Qf=Pf[i];var Rf=Mf.getMetaResource(Qf);if(Rf){var Sf=this.i_$18F(null,Mf);this.i_$19B(Sf,Sf.handleRenderAd,'handleRenderAd',[Mf,Rf,Nf]);}}};xmp.baseplayer.BasePlayer.prototype.getLookAheadNodeArray=function(){return this.p_$JV('getLookAheadNodeArray').i_$15L();};xmp.baseplayer.BasePlayer.prototype.getLookBehindNodeArray=function(){return this.p_$JV('getLookBehindNodeArray').i_$15M();};xmp.baseplayer.BasePlayer.prototype.getMetadata=function(Tf,Uf){return this.p_$3O.i_$U3(Tf,Uf);};xmp.baseplayer.BasePlayer.prototype.setPlayerContext=function(Vf){xmp.$.$18.i_$P4().i_$WD('playerContext',Vf);xmp.$.$1B.i_$P4().i_$WM(Vf);xmp.$.$4G.i_$17Z();};xmp.baseplayer.BasePlayer.prototype.createPlayListContext=function(Wf){this.p_$JW();this.p_$JX();var Xf=this.p_$JY(Wf);var Yf=this.p_$JZ();Yf=Yf.concat(this.p_$DV);var Zf=this.p_$K0(Xf,Yf);this.p_$K1(Zf);var $f=Zf.i_$18U();if(this.p_$X.isDebugEnabled()){this.p_$X.debug("Created new playlist, key = "+$f);Zf.i_$18P("Initial State");}
return $f;};xmp.baseplayer.BasePlayer.prototype.loadContent=function(ag,bg){this.p_$JW();return this.p_$JV('i_loadContent').i_$18S(ag,(bg?bg:''));};xmp.baseplayer.BasePlayer.prototype.loadItem=function(cg,dg,eg,fg,gg){if(this.p_$K2()){if(this.p_$JK){this.p_$JW();}
this.p_$JK=true;}
if(cg===this.getMainPlayerContext()){this.p_$JX();cg=this.getMainPlayerContext();}
var hg=this.p_$HP(dg,eg,fg,gg);this.p_$K3(cg,hg);this.p_$K4(hg,true,false);};xmp.baseplayer.BasePlayer.prototype.p_$HP=function(ig,jg,kg,lg){var mg=new xmp.$.$K();mg.i_$UL(new xmp.$.$3Z(null,ig,ig,[],{}));if(jg){mg.setURI(jg);}
mg.i_$UU(new xmp.$.$17(((kg)?kg:'')));for(var ng=xmp.$.$4.i_$Q7(lg);ng.i_$Q9();ng.i_$QB()){mg.setMetadata(ng.i_$QC(),ng.i_$QD());}
return mg;};xmp.baseplayer.BasePlayer.prototype.p_$JY=function(og){var pg='';var qg=xmp.$.$1B.i_$P4().getContextNode().getNodeForPath('BasePlayer/ad patterns');if(typeof(og)==='undefined'){var rg=qg.retrieveKeys();if(rg.length>0){pg=qg.getString(rg[0],'');}}
else{if(!xmp.i_$OP(og)){throw new xmp.util.internals.InvalidArgsError('The adPatternKey parameter must be a non-empty string');}
pg=qg.getString(og,'');}
if(!xmp.i_$OP(pg)){throw new xmp.util.internals.InvalidArgsError('Failed to find ad pattern relative URL.');}
return pg;};xmp.baseplayer.BasePlayer.prototype.p_$K0=function(sg,tg){var ug=this.p_$JL++;var vg=new xmp.$.$4N(ug,this,sg,tg);this.p_$JM[ug]=vg;return vg;};xmp.baseplayer.BasePlayer.prototype.switchPlayList=function(wg){var xg=this.p_$JM[wg];if(!xg){throw new xmp.util.internals.InvalidArgsError(""+wg+" is not a valid playlist context key");}
else{if(this.p_$X.isDebugEnabled()){this.p_$X.debug("Switching playlist context:");this.p_$JN.i_$18P("old context");}
this.p_$K1(xg);if(this.p_$X.isDebugEnabled()){this.p_$JN.i_$18P("new context");}
this.p_$K5();}};xmp.baseplayer.BasePlayer.prototype.hasPlayListContext=function(){return this.p_$JN!==null;};xmp.baseplayer.BasePlayer.prototype.p_$K1=function(yg){if(this.p_$JN){this.p_$JN.i_$18V(null);}
this.p_$JN=yg;this.p_$JN.i_$18V(this);};xmp.baseplayer.BasePlayer.prototype.p_$JV=function(zg){if(!this.p_$JN){throw new Error('BasePlayer.'+zg+": Cannot perform operation because playlist context has not been set. Call load() first.");}
return this.p_$JN;};xmp.baseplayer.BasePlayer.prototype.appendToPlayList=function(Ag,Bg){this.p_$JW();return this.p_$JV('i_appendToPlayList').i_$18W(Ag,((Bg)?Bg:false));};xmp.baseplayer.BasePlayer.prototype.removeFromPlayList=function(Cg){this.p_$JW();return this.p_$JV('i_removeFromPlayList').i_$18Z(Cg);};xmp.baseplayer.BasePlayer.prototype.insertInPlayList=function(Dg,Eg,Fg){this.p_$JW();return this.p_$JV('i_insertInPlayList').i_$191(Dg,Eg,((Fg)?Fg:false));};xmp.baseplayer.BasePlayer.prototype.moveWithinPlayList=function(Gg,Hg,Ig){this.p_$JW();return this.p_$JV('i_moveWithinPlayList').i_$192(Gg,Hg,((Ig)?Ig:false));};xmp.baseplayer.BasePlayer.prototype.setCurrentPlayListPosition=function(Jg){this.p_$JW();return this.p_$JV('i_setCurrentPlayListPosition').i_$193(Jg);};xmp.baseplayer.BasePlayer.prototype.getCurrentPlayListItem=function(){return this.p_$JV('i_getCurrentPlayListItem').i_$194();};xmp.baseplayer.BasePlayer.prototype.getPlayListItemCount=function(){return this.p_$JV('i_getPlayListItemCount').i_$18X();};xmp.baseplayer.BasePlayer.prototype.getPlayListItem=function(Kg){return this.p_$JV('i_getPlayListItem').i_$18Y(Kg);};xmp.baseplayer.BasePlayer.prototype.findPlayListItem=function(Lg){return this.p_$JV('i_findPlayListItem').i_$195(Lg);};xmp.baseplayer.BasePlayer.prototype.findPlayListItemIndex=function(Mg){return this.p_$JV('i_findPlayListItemIndex').i_$190(Mg);};xmp.baseplayer.BasePlayer.prototype.advance=function(){this.p_$JW();this.p_$JV('i_advance').i_$197();};xmp.baseplayer.BasePlayer.prototype.i_$19A=function(){this.p_$K5();};xmp.baseplayer.BasePlayer.prototype.p_$K5=function(){if(this.p_$K6()){var Ng=this.p_$JN.i_$199();if(Ng){this.p_$K4(Ng,true,true);}}};xmp.baseplayer.BasePlayer.prototype.registerNodeListener=function(Og,Pg,Qg){this.p_$JQ.i_$18G(Og,Pg,this.i_$19J(Qg));};xmp.baseplayer.BasePlayer.prototype.p_$K7=function(Rg){if(Rg.services){xmp.$.$4F.i_$S5(this,Rg.services);}};xmp.baseplayer.BasePlayer.prototype.handlePlayListStarted=function(){this.p_$X.info('PlayList started, override "handlePlayListStarted" to do specific handling.');};xmp.baseplayer.BasePlayer.prototype.handlePlayListEnded=function(){this.p_$X.info('PlayList ended, override "handlePlayListEnded" to do specific handling.');};xmp.baseplayer.BasePlayer.prototype.handlePlayListModified=function(Sg){this.p_$X.info('PlayList modified, override "handlePlayListModified" to do specific handling.');};xmp.baseplayer.BasePlayer.prototype.handleMediaPlayerReady=function(Tg){this.p_$K8();};xmp.baseplayer.BasePlayer.prototype.handleCreateViewport=function(Ug,Vg,Wg,Xg,Yg){this.p_$K8();};xmp.baseplayer.BasePlayer.prototype.handleDestroyViewport=function(Zg,$g,ah){var bh=xmp.i_$PB($g);if(bh){var ch=xmp.i_$PC(bh);ch.removeChild(bh);}};xmp.baseplayer.BasePlayer.prototype.handleFatalException=function(e){this.p_$K8();};xmp.baseplayer.BasePlayer.prototype.handleBootstrapped=function(dh){this.p_$K8();};xmp.baseplayer.BasePlayer.prototype.handleRegisterNodeListeners=function(eh){this.p_$K8();};xmp.baseplayer.BasePlayer.prototype.i_$17H=function(e){this.i_$19B(this,this.handleControlStreamError,'handleControlStreamError',[e]);};xmp.baseplayer.BasePlayer.prototype.handleControlStreamError=function(e){this.p_$K8();};xmp.baseplayer.BasePlayer.prototype.i_$17J=function(fh,gh){this.i_$19B(this,this.handleControlStreamTriggerInit,'handleControlStreamTriggerInit',[fh,gh]);};xmp.baseplayer.BasePlayer.prototype.handleControlStreamTriggerInit=function(hh,jh){this.p_$K8();};xmp.baseplayer.BasePlayer.prototype.i_$17I=function(kh,lh){this.i_$19B(this,this.handleControlStreamTrigger,'handleControlStreamTrigger',[kh,lh]);};xmp.baseplayer.BasePlayer.prototype.handleControlStreamTrigger=function(mh,nh){this.p_$K8();};xmp.baseplayer.BasePlayer.prototype.i_$17U=function(oh,ph){this.i_$19B(this,this.handleRetrieveImage,'handleRetrieveImage',[oh,ph]);};xmp.baseplayer.BasePlayer.prototype.handleRetrieveImage=function(qh,rh){this.p_$K8();};xmp.baseplayer.BasePlayer.prototype.i_$17V=function(e){this.i_$19B(this,this.handleImageRetrieverError,'handleImageRetrieverError',[e]);};xmp.baseplayer.BasePlayer.prototype.handleImageRetrieverError=function(e){this.p_$K8();};xmp.baseplayer.BasePlayer.prototype.p_$K8=function(){throw new xmp.$.$3X('Not implemented, must override.');};xmp.baseplayer.BasePlayer.prototype.i_$18F=function(sh,th){if(!th){throw new Error('Node may not be null: i_getNodeListener');}
var uh='__PLAYER_CTX_OBJ__';var vh=th.getMetadata(uh,xmp.$.$V.i_$V9());if(vh===xmp.$.$V.i_$V9()){vh=null;}
if(vh){if(sh){if(sh!==vh){throw new Error('Player Context reference mismatch: i_getNodeListener');}}
else{sh=vh;}}
else{if(sh){th.setMetadata(uh,sh);}
else{throw new Error('Bad state, Player Context must be passed explicitly, or present in node\'s meta data map: i_getNodeListener');}}
return this.p_$JQ.i_$18F(sh,th);};xmp.baseplayer.BasePlayer.prototype.p_$JX=function(){if(this.p_$JP===null){this.p_$K9();}};xmp.baseplayer.BasePlayer.prototype.p_$K9=function(){this.p_$JP=xmp.$.$36.i_$YQ(this.getId(),this);this.p_$JP.i_$S5();this.p_$JJ(this.p_$JP);};xmp.baseplayer.BasePlayer.prototype.i_$YR=function(wh){this.i_$19B(this,this.handleMediaPlayerReady,'handleMediaPlayerReady',[wh],xmp.$.$14.i_$VT);this.i_$19B(this,this.handleRegisterNodeListeners,'handleRegisterNodeListeners',[wh],xmp.$.$14.i_$VT);};xmp.baseplayer.BasePlayer.prototype.i_$YS=function(xh,yh,zh,Ah){var Bh=this.i_$18F(Ah,xh);this.i_$19B(Bh,Bh.handleTimelineChange,'handleTimelineChange',[xh,yh,zh]);};xmp.baseplayer.BasePlayer.prototype.i_$YT=function(Ch,Dh,Eh,Fh){var Gh=this.i_$18F(Fh,Ch);var Hh=null;var Ih=null;var Jh=[Ch];switch(Dh){case xmp.OPEN:Hh=Gh.handleOpen;Ih='handleOpen';break;case xmp.CONNECTING:Hh=Gh.handleConnecting;Ih='handleConnecting';break;case xmp.CONNECTED:Hh=Gh.handleConnected;Ih='handleConnected';break;case xmp.PLAY:Hh=Gh.handlePlay;Ih='handlePlay';break;case xmp.PAUSE:Hh=Gh.handlePause;Ih='handlePause';break;case xmp.STOP:Hh=Gh.handleStop;Ih='handleStop';break;case xmp.REWIND:Hh=Gh.handleRewind;Ih='handleRewind';break;case xmp.FAST_FORWARD:Hh=Gh.handleFastForward;Ih='handleFastForward';break;case xmp.SEEKABLE:Hh=Gh.handleSeekable;Ih='handleSeekable';break;case xmp.ENDED:Hh=Gh.handleEnded;Ih='handleEnded';break;case xmp.FIRST_FRAME_RENDERED:Hh=Gh.handleFirstFrameRendered;Ih='handleFirstFrameRendered';break;case xmp.BUFFERING:Hh=Gh.handleBuffering;Jh=[Ch,Eh];Ih='handleBuffering';break;default:this.p_$X.warn('BasePlayer i_onStateChange: Unrecognized media player state: '+Dh);break;}
if(Hh!==null){this.i_$19B(Gh,Hh,Ih,Jh);}
else{this.p_$X.warn('BasePlayer i_onStateChange: No suitable listener method found for state: '+Dh);}};xmp.baseplayer.BasePlayer.prototype.i_$YU=function(Kh,Lh,Mh,Nh){};xmp.baseplayer.BasePlayer.prototype.i_$SW=function(Oh,e,Ph){var Qh=this.i_$18F(Ph,Oh);this.i_$19B(Qh,Qh.handleError,'handleError',[Oh,e],xmp.$.$14.i_$VT);};xmp.baseplayer.BasePlayer.prototype.i_$XC=function(Rh,Sh,Th,Uh,Vh){return this.i_$19B(this,this.handleCreateViewport,'handleCreateViewport',[Rh,Sh,Th,Uh,Vh],xmp.$.$14.i_$VT);};xmp.baseplayer.BasePlayer.prototype.i_$XF=function(Wh,Xh,Yh){this.i_$19B(this,this.handleDestroyViewport,'handleDestroyViewport',[Wh,Xh,Yh],xmp.$.$14.i_$VT);};xmp.baseplayer.BasePlayer.prototype.i_$YV=function(e,Zh){this.p_$KA(e);};xmp.baseplayer.BasePlayer.prototype.i_$YW=function(e,$h){this.p_$KA(e);};xmp.baseplayer.BasePlayer.prototype.p_$JZ=function(){var ai=[];var bi=xmp.$.$1B.i_$P4().getContextNode().getNodeForPath('pattern parameters');var ci=bi.retrieveKeys();for(var i=0;i<ci.length;i++){var di=ci[i];ai.push({name:di,value:bi.getString(di,'')});}
return ai;};xmp.baseplayer.BasePlayer.prototype.p_$K6=function(){return(this.p_$JN!==null);};xmp.baseplayer.BasePlayer.prototype.i_$15Y=function(ei){var fi=this.getMainPlayerContext();this.p_$K3(fi,ei);};xmp.baseplayer.BasePlayer.prototype.p_$K3=function(gi,hi){var ii=this.i_$18F(gi,hi);this.i_$19B(ii,ii.i_$188,'i_handleInitialize',[hi]);this.i_$19B(ii,ii.handleDynamicRules,'handleDynamicRules',[hi]);};xmp.baseplayer.BasePlayer.prototype.p_$KB=function(ji){var ki=this.p_$JN.i_$199();return(ji===ki);};xmp.baseplayer.BasePlayer.prototype.p_$KC=function(li,mi){var ni=li.i_$V8('isNodeInPlaylist',true);if(ni&&!this.p_$KB(mi)){return;}
this.p_$K4(mi,false,ni);};xmp.baseplayer.BasePlayer.prototype.p_$K4=function(oi,pi,qi){var ri=null;try{ri=this.i_$18F(null,oi);if(pi&&!this.p_$K2()){this.p_$KD(ri,oi);}
if(qi&&!this.p_$KB(oi)){return;}
if(ri.i_$189(oi)){if(oi.getPlayableData().isError()){var si=oi.getPlayableData().i_$VZ();this.i_$19B(ri,ri.handleError,'handleError',[oi,si],xmp.$.$14.i_$VT);return;}
this.i_$19B(ri,ri.handleValidate,'handleValidate',[oi]);this.i_$19B(ri,ri.handleComplete,'handleComplete',[oi]);if(xmp.util.internals.MockTestMode){var ti=xmp.util.internals.MockTestMode.getInstance();if(ti.isActive()){ti.overrideMimeType(oi);}}
if(qi&&!this.p_$KB(oi)){return;}
oi.getPlayableData().setRuntimeMetadata('history_played',true);this.i_$19B(ri,ri.handleRender,'handleRender',[oi]);}
else{if(!pi){throw new Error('_renderNode: prevent infinite loop');}
var ui=new xmp.$.$M('gotAsynchCompleteCallback',this.p_$KC,this);ui.i_$V6('isNodeInPlaylist',qi);ri.i_$18A(oi,ui);}}
catch(e){this.p_$X.warn("Error rendering node: "+oi.getBestId(),e);this.i_$19B(ri,ri.handleError,'handleError',[oi,e],xmp.$.$14.i_$VT);}};xmp.baseplayer.BasePlayer.prototype.p_$KD=function(vi,wi){var pm=wi.getMetadata('__DIRECTIVE_PARAMETER_MAP__',xmp.$.$V.i_$V9());if(pm===xmp.$.$V.i_$V9()){pm=this.p_$JV('_overrideAdRes').i_$18O().i_$15N().i_$UN();pm.i_$16B('node',wi.i_$TY().i_$14T());}
var xi=new xmp.$.$3K(wi,pm);this.i_$19B(vi,vi.handleOverrideAdResources,'handleOverrideAdResources',[wi,xi]);};xmp.baseplayer.BasePlayer.prototype.registerRuleClass=function(yi,zi){this.p_$JV('i_registerRuleClass').i_$196(yi,zi);};xmp.baseplayer.BasePlayer.prototype.p_$K2=function(){return(xmp.baseplayer.BasePlayer.p_$JT!==null);};xmp.baseplayer.BasePlayer.prototype.p_$JW=function(){if(xmp.baseplayer.BasePlayer.p_$JT!==null){throw new Error('XMP in bad state: '+xmp.i_$ON(xmp.baseplayer.BasePlayer.p_$JT));}};xmp.baseplayer.BasePlayer.prototype.p_$KA=function(e){try{if(xmp.baseplayer.BasePlayer.p_$JU){return;}
xmp.baseplayer.BasePlayer.p_$JU=true;var Ai=null;if(e instanceof xmp.$.$Q){Ai=e;}
else{Ai=xmp.$.$Q.i_$TB(xmp.$.$1E.FATAL_UNSPECIFIED_ERROR,'BasePlayer',xmp.i_$ON(e));}
xmp.baseplayer.BasePlayer.p_$JT=Ai;this.p_$X.i_$VA('fatal exception',Ai);this.handleFatalException(Ai);}
catch(secondE){xmp.i_$OZ('Second chance exception while raising fatal exception: '+xmp.i_$ON(secondE));}};xmp.baseplayer.BasePlayer.p_$KE=function(cb,e){if(xmp.baseplayer.BasePlayer.p_$JH!==null){xmp.baseplayer.BasePlayer.p_$JH.p_$KA(e);}
else{xmp.i_$OZ(xmp.i_$ON(e));}};xmp.baseplayer.BasePlayer.prototype.i_$19B=function(Bi,Ci,Di,Ei,Fi){if(Bi.i_$18B&&Bi.i_$18B()){return Ci.apply(Bi,Ei);}
else{var Gi=xmp.$.$U.i_$VQ(Bi,Ci,Ei);if(Gi.exception){var Hi="When executing '"+Di+"', an unexpected exception was thrown from outside of core XMP framework";xmp.$.$U.i_$VR(this.p_$X,Fi,Hi,Gi.exception);throw Gi.exception;}
return Gi.returnValue;}};xmp.i_$OX=new xmp.$.$M('BasePlayer_fatalErrorCallback',xmp.baseplayer.BasePlayer.p_$KE,null);xmp.baseplayer.BasePlayer.prototype.i_$17Y=function(ex){xmp.baseplayer.BasePlayer.p_$JT=null;if(ex===null){try{this.p_$KF();}
catch(afterEx){this.p_$KA(afterEx);ex=afterEx;}}
else{this.p_$KA(ex);}
var Ii=(ex===null)?true:false;this.i_$19B(this,this.handleBootstrapped,'handleBootstrapped',[Ii],xmp.$.$14.i_$VT);};xmp.baseplayer.BasePlayer.prototype.p_$KF=function(){this.p_$K7(this.p_$JS);};xmp.baseplayer.BasePlayer.prototype.seekEx=function(){var Ji=this.getPosition();var Ki=this.getDuration();if((Ji+10)>Ki){if((Ji-10)<0){this.seek(0);}
else{this.seek(Ji-10);}}
else{this.seek(Ji+10);}};xmp.baseplayer.BasePlayer.prototype.setVolumeEx=function(){var Li=this.getVolume();if((Li+10)>100){Li=0;}
else{Li=Li+10;}
this.setVolume(Li);};xmp.baseplayer.BasePlayer.prototype.playEx=function(){this.getViewport().hideOverlays();this.play();};xmp.baseplayer.BasePlayer.prototype.pauseEx=function(){this.pause();};xmp.baseplayer.BasePlayer.prototype.stopEx=function(){this.stop();};xmp.baseplayer.BasePlayer.prototype.rewindEx=function(){this.rewind();};xmp.baseplayer.BasePlayer.prototype.fastForwardEx=function(){this.fastForward();};xmp.baseplayer.BasePlayer.prototype.fireTrigger=function(Mi,Ni){xmp.$.$4H.i_$180(Mi,Ni,this);};xmp.baseplayer.BasePlayer.prototype.getMainPlayerContext=function(){var Oi=this.p_$JP;if(!Oi){Oi=xmp.$.$5O.i_$19E();}
return Oi;};xmp.baseplayer.BasePlayer.prototype.findPlayerContext=function(Pi,Qi){var Ri=xmp.baseplayer.BasePlayer.i_$19K(Pi,Qi);var Si=this.p_$JI[Ri];return(Si)?Si:null;};xmp.baseplayer.BasePlayer.prototype.i_$19J=function(Ti){if(!Ti){return this.getMainPlayerContext();}
return Ti;};xmp.baseplayer.BasePlayer.prototype.setViewportConfig=function(Ui,Vi,Wi){this.i_$19J(Wi).i_$YA(Ui,Vi);};xmp.baseplayer.BasePlayer.prototype.getViewport=function(Xi){return this.i_$19J(Xi).i_$XX();};xmp.baseplayer.BasePlayer.prototype.open=function(Yi,Zi){this.i_$19J(Zi).i_$T5(Yi);};xmp.baseplayer.BasePlayer.prototype.close=function($i){this.i_$19J($i).i_$T9();};xmp.baseplayer.BasePlayer.prototype.play=function(aj){this.i_$19J(aj).i_$YB();};xmp.baseplayer.BasePlayer.prototype.pause=function(bj){this.i_$19J(bj).i_$YC();};xmp.baseplayer.BasePlayer.prototype.stop=function(cj){this.i_$19J(cj).i_$RN();};xmp.baseplayer.BasePlayer.prototype.rewind=function(dj){this.i_$19J(dj).i_$YD();};xmp.baseplayer.BasePlayer.prototype.fastForward=function(ej){this.i_$19J(ej).i_$YE();};xmp.baseplayer.BasePlayer.prototype.seek=function(fj,gj){this.i_$19J(gj).i_$YF(fj);};xmp.baseplayer.BasePlayer.prototype.isAvailable=function(hj,ij){return this.i_$19J(ij).i_$YG(hj);};xmp.baseplayer.BasePlayer.prototype.getPosition=function(jj){return this.i_$19J(jj).i_$YH();};xmp.baseplayer.BasePlayer.prototype.getDuration=function(kj){return this.i_$19J(kj).i_$YI();};xmp.baseplayer.BasePlayer.prototype.setVolume=function(lj,mj){return this.i_$19J(mj).i_$YJ(lj);};xmp.baseplayer.BasePlayer.prototype.getVolume=function(nj){return this.i_$19J(nj).i_$YK();};xmp.baseplayer.BasePlayer.prototype.setMute=function(oj,pj){this.i_$19J(pj).i_$YL(oj);};xmp.baseplayer.BasePlayer.prototype.getMute=function(qj){return this.i_$19J(qj).i_$YM();};xmp.baseplayer.BasePlayer.prototype.setFullscreen=function(rj,sj){this.i_$19J(sj).i_$YN(rj);};xmp.baseplayer.BasePlayer.prototype.getFullscreen=function(tj){return this.i_$19J(tj).i_$YO();};xmp.baseplayer.BasePlayer.prototype.createOverlay=function(uj,vj,wj,xj,yj,zj){var Aj=this.p_$JP.i_$XX().i_$YY(uj,vj);if(typeof(wj)==='number'&&typeof(xj)==='number'&&typeof(yj)==='number'&&typeof(zj)==='number'){Aj.moveTo(wj,xj,yj,zj);}
if(typeof(Aj.getPlayerContextType)==='function'){Aj.i_$YX(this);this.p_$JJ(Aj);Aj.i_$Y9();}
return Aj;};xmp.baseplayer.BasePlayer.prototype.p_$JJ=function(Bj){var Cj=xmp.baseplayer.BasePlayer.i_$18H(Bj);this.p_$JI[Cj]=Bj;};xmp.baseplayer.BasePlayer.i_$18H=function(Dj){return xmp.baseplayer.BasePlayer.i_$19K(Dj.getPlayerContextType(),Dj.getPlayerContextName());};xmp.baseplayer.BasePlayer.i_$19K=function(Ej,Fj){return Ej+'|'+Fj;};xmp.baseplayer.BasePlayer.i_$19D=function(Gj){try{var Hj=((Gj.constructor.ctor)&&(Gj.constructor.ctor===xmp.baseplayer.BasePlayer)&&(Gj.constructor.base)&&(Gj.constructor.base===xmp.baseplayer.BasePlayer.prototype));if(!Hj){throw new Error('Must use xmp.DERIVE_CLASS to subclass xmp.baseplayer.BasePlayer.');}
var Ij=xmp.baseplayer.BasePlayer.i_$19L(Gj.constructor,xmp.baseplayer.BasePlayer);var Jj=xmp.baseplayer.BasePlayer.i_$19L(Gj.constructor.prototype,xmp.baseplayer.BasePlayer.prototype);var Kj=xmp.$.$4.i_$Q4(Ij);if(Kj.length>0){throw new Error('The following reserved BasePlayer static methods are overwritten by subclass methods: '+Kj.join(','));}
var Lj=['handleBootstrapped','handlePlayListStarted','handlePlayListEnded','handlePlayListModified','handleMediaPlayerReady','handleCreateViewport','handleDestroyViewport','handleFatalException','handleRegisterNodeListeners','handleControlStreamError','handleControlStreamTriggerInit','handleControlStreamTrigger','handleRetrieveImage','handleImageRetrieverError','seekEx','setVolumeEx','playEx','pauseEx','stopEx','rewindEx','fastForwardEx'];for(var i=0;i<Lj.length;i++){var Mj=Lj[i];if(typeof(Jj[Mj])!=='undefined'){delete Jj[Mj];}}
var Nj=xmp.$.$4.i_$Q4(Jj);if(Nj.length>0){throw new Error('The following BasePlayer reserved instance (prototype) methods are overwritten by subclass methods: '+Nj.join(','));}}
catch(ex){xmp.handleFatalError(ex);}};xmp.baseplayer.BasePlayer.i_$19L=function(Oj,Pj){var Qj=[];for(var Rj=xmp.$.$4.i_$Q7(Oj);Rj.i_$Q9();Rj.i_$QB()){var Sj=Rj.i_$QC();if(Sj.indexOf('p_')===0){continue;}
if(Sj.indexOf('i_')===0){continue;}
if(Sj==='constructor'){continue;}
if(Sj==='ctor'){continue;}
if(Sj==='base'){continue;}
var Tj=Rj.i_$QD();if(typeof(Tj)==='function'){if(typeof(Pj[Sj])!=='undefined'){Qj[Sj]=Sj;}}}
return Qj;};xmp.i_$OH("xmp.baseplayer");xmp.$.$4R=function(Uj,Vj,Wj,Xj,Yj,Zj){if(xmp.$.$4R.p_$5C!==null){throw new Error('Can have only one instance of EmbeddedConsoleLoggerListener.');}
xmp.$.$4R.ctor.call(this,Uj);xmp.$.$4R.p_$5C=this;this.p_$KG='xmp_ec_';var $j=xmp.$.$15.i_$P4();$j.i_$W7(this);$j.i_$W8(Vj);this.p_$KH=(Zj)?Zj:null;this.p_$KI=Wj;this.p_$KJ=true;this.p_$KK={};this.p_$KK.h=Xj;this.p_$KK.w=Yj;this.p_$KL=[];this.p_$KM();this.p_$KN(this.p_$KI);};xmp.DERIVE_CLASS(xmp.$.$L,xmp.$.$4R);xmp.$.$3.i_$PZ('\u0078\u006D\u0070\u002E\u0062\u0061\u0073\u0065\u0070\u006C\u0061\u0079\u0065\u0072\u002E\u0045\u006D\u0062\u0065\u0064\u0064\u0065\u0064\u0043\u006F\u006E\u0073\u006F\u006C\u0065\u004C\u006F\u0067\u0067\u0065\u0072\u004C\u0069\u0073\u0074\u0065\u006E\u0065\u0072',xmp.$.$4R);xmp.$.$4S=function(){};xmp.$.$3.i_$PZ('\u0078\u006D\u0070\u002E\u0062\u0061\u0073\u0065\u0070\u006C\u0061\u0079\u0065\u0072\u002E\u0045\u006D\u0062\u0065\u0064\u0064\u0065\u0064\u0043\u006F\u006E\u0073\u006F\u006C\u0065\u004C\u006F\u0067\u0067\u0065\u0072\u004C\u0069\u0073\u0074\u0065\u006E\u0065\u0072\u005F\u0046\u0061\u0063\u0074\u006F\u0072\u0079',xmp.$.$4S);xmp.$.$4S.prototype.i_$Q7=function(ak){var bk=xmp.$.$14.i_$SL(xmp.i_$PJ('xmpLog','none'));if(bk===xmp.$.$14.i_$W3){return null;}
var ck=new xmp.$.$4R(bk,ak.exCats,(bk!==xmp.$.$14.i_$W3),ak.h,ak.w,ak.cId);return ck;};xmp.$.$4R.p_$5C=null;xmp.$.$4R.i_$P4=function(){return xmp.$.$4R.p_$5C;};xmp.$.$4R.prototype.p_$KN=function(dk){this.p_$KI=dk;var ek=window.document.getElementById(this.p_$KH);if(ek){ek.style.display=this.p_$KI?'block':'none';}};xmp.$.$4R.prototype.i_$19M=function(){return this.p_$KI;};xmp.$.$4R.prototype.i_$19N=function(){var fk=window.document.getElementById(this.p_$KG+'log_output_area');if(fk){fk.innerHTML='';}};xmp.$.$4R.prototype.i_$19O=function(){var gk=window.document.getElementById(this.p_$KG+'log_output_area_scroll_clip');if(gk){this.p_$KJ=!this.p_$KJ;gk.style.display=this.p_$KJ?'block':'none';}};xmp.$.$4R.prototype.i_$V2=function(hk,ik,jk){try{var kk='<span class="'+this.p_$KG+xmp.$.$14.i_$RH(hk)+'_message">'+ik+': '+xmp.i_$OT(jk,true,true)+'</span>';this.p_$KL.push(kk);while(this.p_$KL.length>25){this.p_$KL.shift();}
var lk=window.document.getElementById(this.p_$KG+'log_output_area');if(lk){while(this.p_$KL.length>0){var mk=this.p_$KL.shift();var p=window.document.createElement('P');p.innerHTML=mk;lk.appendChild(p);}
var nk=window.document.getElementById(this.p_$KG+'log_output_area_scroll_clip');if(nk){nk.scrollTop=nk.scrollHeight;}}}
catch(e){this.p_$KO('Error in xmp.baseplayer.EmbeddedConsoleLoggerListener.i_handleLogMessage: '+xmp.i_$ON(e));}};xmp.$.$4R.prototype.p_$KO=function(pk){xmp.i_$P0(pk);};xmp.$.$4R.prototype.p_$KM=function(){var qk=null;if(this.p_$KH===null){this.p_$KH=this.p_$KG+'DebugConsole';qk=window.document.createElement('div');qk.style.display='none';qk.id=this.p_$KH;xmp.i_$PD(window.document.body,qk);}
qk=window.document.getElementById(this.p_$KH);if(qk){qk.innerHTML=this.p_$KP();}};xmp.$.$4R.prototype.p_$KP=function(){var rk='BORDER-RIGHT: #000000 1px solid; BORDER-TOP: #000000 1px solid; BORDER-LEFT: #000000 1px solid; BORDER-BOTTOM: #000000 1px solid; display: block; position:absolute; overflow:auto';rk+=('; width:'+this.p_$KK.w+'px');rk+=('; height:'+this.p_$KK.h+'px');var ih='';ih+='<div style="text-align:left; background-color:white; color:black; font-size: medium;">\n';if(xmp.i_$PF('.'+this.p_$KG+'fatal_message','{ font-weight: bold; color: #FF0000}')){xmp.i_$PF('.'+this.p_$KG+'critical_message','{ font-weight: bold; color: #FF0000}');xmp.i_$PF('.'+this.p_$KG+'warn_message','{ color: #FF0000}');xmp.i_$PF('.'+this.p_$KG+'info_message','{color: #009966}');xmp.i_$PF('.'+this.p_$KG+'debug_message','{color: #0000FF}');}
else{ih+='<style>\n';ih+='.'+this.p_$KG+'fatal_message { font-weight: bold; color: #FF0000}\n';ih+='.'+this.p_$KG+'critical_message { font-weight: bold; color: #FF0000}\n';ih+='.'+this.p_$KG+'warn_message { color: #FF0000}\n';ih+='.'+this.p_$KG+'info_message { color: #009966}\n';ih+='.'+this.p_$KG+'debug_message { color: #0000FF}\n';ih+='</style>\n';}
ih+='<br>\n';ih+='<b>Logging</b>&nbsp;&nbsp;<INPUT TYPE="button" ID="'+this.p_$KG+'ShowHideLogButton" VALUE="Show/Hide Log" onClick="'+xmp.i_$OK('xmp.$.$4R.i_$P4().i_$19O();')+'"\n';ih+='NAME="'+this.p_$KG+'ShowHideLogButton"> &nbsp; <INPUT TYPE="button" ID="'+this.p_$KG+'ClearLogButton" VALUE="Clear Log" onClick="'+xmp.i_$OK('xmp.$.$4R.i_$P4().i_$19N();')+'"\n';ih+='NAME="'+this.p_$KG+'ClearLogButton">&nbsp;&nbsp;\n';ih+='<br><i>(Log messages are color coded:\n';ih+='<span class="'+this.p_$KG+'fatal_message">Fatal</span>\n';ih+='-\n';ih+='<span class="'+this.p_$KG+'critical_message">Critical</span>\n';ih+='-\n';ih+='<span class="'+this.p_$KG+'warn_message">Warning</span>\n';ih+='-\n';ih+='<span class="'+this.p_$KG+'info_message">Information</span>\n';ih+='-\n';ih+='<span class="'+this.p_$KG+'debug_message">Debug</span>)\n';ih+='</i>\n';ih+='<br>\n';ih+='<br>\n';ih+='<div id="'+this.p_$KG+'log_output_area_scroll_clip" style="'+rk+'">\n';ih+='<div id="'+this.p_$KG+'log_output_area">\n';ih+='</div>\n';ih+='</div>\n';ih+='</div>\n';return ih;};xmp.i_$OH("xmp.baseplayer.internals");xmp.$.$4T=function(sk,tk,uk){this.p_$KQ=uk.loaderType;this.p_$KR='videoCompositeAdMeta';this.p_$X=xmp.$.$16.i_$S2(this.p_$KQ);this.p_$77=sk;this.p_$KS=tk;this.p_$KT=null;this.p_$P=null;this.p_$KU=null;this.p_$GM=xmp.$.$4U.i_$19P();};xmp.$.$3.i_$PZ('\u0078\u006D\u0070\u002E\u0062\u0061\u0073\u0065\u0070\u006C\u0061\u0079\u0065\u0072\u002E\u0069\u006E\u0074\u0065\u0072\u006E\u0061\u006C\u0073\u002E\u0041\u0062\u0073\u0074\u0072\u0061\u0063\u0074\u0041\u0064\u0043\u006F\u006D\u0070\u006F\u0073\u0069\u0074\u006F\u0072\u004D\u0065\u0074\u0061\u0046\u0069\u006C\u0065\u004C\u006F\u0061\u0064\u0065\u0072',xmp.$.$4T);xmp.$.$4T.prototype.i_$19Q=function(){return this.p_$KS;};xmp.$.$4T.prototype.i_$18E=function(vk,wk){this.p_$KT=vk;this.p_$P=wk;};xmp.$.$4T.prototype.i_$RV=function(){return this.p_$X;};xmp.$.$4T.prototype.i_$11Z=function(){try{if(this.p_$KV()){return;}
this.p_$KW();}
catch(e){this.i_$T6(e);}};xmp.$.$4T.prototype.p_$KV=function(){if(this.p_$KT.i_$16P()===0){this.p_$KT.i_$VX('Loaded (no resources)');}
if(this.p_$KT.isLoaded()||this.p_$KT.isError()){xmp.$.$1C.i_$WO(this.p_$KX(null,'endAsynch',this.i_$19R));return true;}
return false;};xmp.$.$4T.prototype.p_$KY=function(xk){return xmp.$.$43.i_$16R(xk.getType());};xmp.$.$4T.prototype.i_$T6=function(e){this.p_$KZ(xmp.i_$ON(e));};xmp.$.$4T.prototype.p_$KZ=function(yk){this.p_$KT.i_$VY(yk);this.i_$19R();};xmp.$.$4T.prototype.i_$19R=function(){if(this.p_$77!==null){this.p_$77.i_$19S(this);this.p_$77=null;}
if(!this.p_$KT.isError()){if(this.p_$KT.i_$16P()===this.p_$KT.i_$16Q()){this.p_$KT.i_$VY('All resources in composite failed.');}}
if(!this.p_$KT.isError()){this.p_$KT.i_$VX('Loaded');}
try{this.p_$P.i_$OY(this.p_$KT);}
catch(e){this.p_$X.warn('Error calling callback',e);}};xmp.$.$4T.prototype.p_$KX=function(zk,Ak,Bk){return(new xmp.$.$M(this.i_$19T(zk,Ak),Bk,this));};xmp.$.$4T.prototype.i_$19T=function(Ck,Dk){var Ek=(Ck!==null)?Ck.getType():'';return(this.p_$KQ+'_'+Dk+'_'+Ek+'_'+this.p_$KS);};xmp.$.$4T.prototype.p_$L0=function(Fk,Gk){var Hk=xmp.i_$OO(Gk);var Ik=Fk.getMetadata('segvars','');return xmp.$.$4U.i_$P4().i_$19U(Fk.getType(),this.p_$GM,Hk,Ik);};xmp.$.$4T.prototype.i_$19V=function(Jk){this.p_$KT.i_$VY(Jk);var Kk=this.p_$KT.i_$16O();for(var i=0;i<Kk.length;i++){var Lk=Kk[i];var Mk=this.p_$KT.i_$U8(Lk);Mk.i_$VY(Jk);}};xmp.$.$4T.prototype.p_$KW=function(){var Nk=this.p_$KT.i_$16O();this.p_$KU=[];for(var i=0;i<Nk.length;i++){var Ok=this.p_$KT.i_$U8(Nk[i]);Ok.i_$16W(this.p_$GM);var Pk=this.p_$KY(Ok);Ok.i_$16V(Pk);this.p_$KU.push({'id':Ok.getId(),'res':Ok,'loadable':null});}
var Qk=xmp.$.$5M.i_$P4().i_$Q7('adMan');var Rk=Qk.i_$19W(this.p_$KU,null);Qk.i_$18T(new xmp.$.$M('allAdManItemsCB',this.p_$L1,this));Qk.i_$11Z();};xmp.$.$4T.prototype.p_$L1=function(){this.i_$19X();for(var i=0;i<this.p_$KU.length;i++){var Sk=this.p_$KU[i];var Tk=Sk.loadable;this.p_$L2(Sk.res,!Tk.isError(),(Tk.isError()?Tk.getErrorMessage():Tk.getDataObject()));}
this.i_$19Y();};xmp.$.$4T.prototype.p_$L2=function(Uk,ok,Vk){if(ok){var Wk=this.p_$L0(Uk,Vk);var Xk=Uk.getDataType();if(Xk==='videoJson'||Xk==='html'){var ct=(Xk==="videoJson")?xmp.$.$A.i_$RY:xmp.$.$A.i_$RW;this.i_$19Z(Uk,Wk,ct);}
else if(Xk==='url'||Xk==='default'){var Yk=xmp.$.$4U.i_$1A0();Uk.i_$VX(Yk+Wk);}
else{throw new Error("Unknown data type: "+Xk);}}
else{Uk.i_$VY(Vk);}};xmp.$.$4T.prototype.i_$1A1=function(Zk,ok,$k){if(ok){var al=Zk.getDataType();if(al==='videoJson'){try{var bl=$k;if(typeof($k)==='string'){bl=xmp.$.$7.i_$P4().i_$RZ($k);}
Zk.i_$VX(bl);}
catch(parseEx){this.i_$RV().warn('Parse error with ad type: '+Zk.getType()+', '+xmp.i_$ON(parseEx));Zk.i_$VY(xmp.i_$ON(parseEx));}}
else if(al==='html'){Zk.i_$VX($k);}
else{throw new Error("Unknown data type: "+al);}}
else{Zk.i_$VY($k);}};xmp.i_$OH("xmp.baseplayer.internals");xmp.$.$4U=function(){};xmp.$.$3.i_$PZ('\u0078\u006D\u0070\u002E\u0062\u0061\u0073\u0065\u0070\u006C\u0061\u0079\u0065\u0072\u002E\u0069\u006E\u0074\u0065\u0072\u006E\u0061\u006C\u0073\u002E\u0041\u0064',xmp.$.$4U);xmp.$.$4U.prototype.i_$19U=function(cl,dl,el,fl){var gl=xmp.$.$1B.i_$P4().getContextNode().getNodeForPath('BasePlayer/Additional segvars').getString(cl,'');var hl='';if(dl>0){hl=this.p_$L3('tile',dl);}
hl=this.p_$L4(hl,el);hl=this.p_$L4(hl,gl);hl=this.p_$L4(hl,fl);return hl;};xmp.$.$4U.i_$1A0=function(){return xmp.$.$1A.i_$P4().i_$P5('adServer');};xmp.$.$4U.i_$1A2=function(){return xmp.$.$1A.i_$P4().i_$P5('adMan');};xmp.$.$4U.prototype.p_$L4=function(il,jl){var kl=il;if(jl&&jl.length!==0){if(kl.length>0){kl+='&';}
kl+=jl;}
return kl;};xmp.$.$4U.prototype.i_$1A3=function(ll){return xmp.$.$4V.i_$P4().i_$1A3(ll);};xmp.$.$4U.i_$19P=function(){return Math.floor((new Date()).getTime()/1000);};xmp.$.$4U.prototype.p_$L3=function(ml,nl){if(!nl){nl='';}
return ml+'='+escape(nl.toString());};xmp.$.$4U.p_$16=null;xmp.$.$4U.i_$P4=function(){if(xmp.$.$4U.p_$16===null){xmp.$.$4U.p_$16=new xmp.$.$4U();}
return xmp.$.$4U.p_$16;};xmp.i_$OH("xmp.baseplayer.internals");xmp.$.$4V=function(){this.p_$L5=-1;this.p_$L6='';this.p_$L7=10;this.p_$L8='AdMeteringImg_';};xmp.$.$3.i_$PZ('\u0078\u006D\u0070\u002E\u0062\u0061\u0073\u0065\u0070\u006C\u0061\u0079\u0065\u0072\u002E\u0069\u006E\u0074\u0065\u0072\u006E\u0061\u006C\u0073\u002E\u0041\u0064\u004D\u0065\u0074\u0065\u0072\u0069\u006E\u0067\u0049\u006D\u0061\u0067\u0065\u0050\u006F\u006F\u006C',xmp.$.$4V);xmp.$.$4V.p_$L9=-1;xmp.$.$4V.p_$16=null;xmp.$.$4V.i_$P4=function(){if(xmp.$.$4V.p_$16===null){xmp.$.$4V.p_$16=new xmp.$.$4V();}
return xmp.$.$4V.p_$16;};xmp.$.$4V.prototype.i_$1A3=function(ol){this.p_$4G();if(this.p_$L5!==1){return'';}
xmp.$.$4V.p_$L9++;var pl=xmp.$.$4V.p_$L9%this.p_$L7;var ql=this.p_$L8+pl.toString();var rl=window.document.images[ql];if(!rl){throw new Error('Unexpectded did not find DOM image'+ql);}
rl.src=ol;return ql;};xmp.$.$4V.prototype.p_$4G=function(){if(this.p_$L5===-1){try{var sl=xmp.$.$1B.i_$P4().getContextNode();var tl=sl.getNodeForPath('BasePlayer');this.p_$L6=xmp.i_$OO(tl.getString('Ad metering image URL',''));if(this.p_$L6.length===0){var ul='Ad metering image URL not specified in primary configuration';throw new Error(ul);}
var vl=window.document.createElement('div');vl.style.display='none';window.document.body.insertBefore(vl,null);for(var i=0;i<this.p_$L7;i++){var wl=window.document.createElement('img');wl.src=this.p_$L6;wl.id=this.p_$L8+i.toString();wl.name=wl.id;wl.alt='';wl.align='right';wl.width=wl.height=wl.border=wl.vspace=wl.hspace=0;vl.insertBefore(wl,null);}}
catch(e){xmp.handleFatalError(e);this.p_$L5=0;throw e;}
this.p_$L5=1;}};xmp.i_$OH("xmp.baseplayer.internals");xmp.$.$4W=function(xl,yl,zl){zl.loaderType='ClientSideAdCompositorMetaFileLoader';xmp.$.$4W.ctor.call(this,xl,yl,zl);this.p_$LA=[];};xmp.DERIVE_CLASS(xmp.$.$4T,xmp.$.$4W);xmp.$.$3.i_$PZ('\u0078\u006D\u0070\u002E\u0062\u0061\u0073\u0065\u0070\u006C\u0061\u0079\u0065\u0072\u002E\u0069\u006E\u0074\u0065\u0072\u006E\u0061\u006C\u0073\u002E\u0043\u006C\u0069\u0065\u006E\u0074\u0053\u0069\u0064\u0065\u0041\u0064\u0043\u006F\u006D\u0070\u006F\u0073\u0069\u0074\u006F\u0072\u004D\u0065\u0074\u0061\u0046\u0069\u006C\u0065\u004C\u006F\u0061\u0064\u0065\u0072',xmp.$.$4W);xmp.$.$4W.prototype.p_$LB=function(){for(var i=0;i<this.p_$LA.length;i++){var Al=this.p_$LA[i];var Bl=Al.loadable;this.i_$1A1(Al.res,!Bl.isError(),(Bl.isError()?Bl.getErrorMessage():Bl.getDataObject()));}
this.i_$19R();};xmp.$.$4W.prototype.i_$19X=function(){this.p_$LA=[];};xmp.$.$4W.prototype.i_$19Z=function(Cl,Dl,El){this.p_$LA.push({'id':Dl,'ct':El,'res':Cl,'loadable':null});};xmp.$.$4W.prototype.i_$19Y=function(){if(this.p_$LA.length===0){this.i_$19R();}
else{var Fl=xmp.$.$5M.i_$P4().i_$Q7('videoAdOnly');var Gl=Fl.i_$19W(this.p_$LA,null);Fl.i_$18T(new xmp.$.$M('allAdServerItemsCB',this.p_$LB,this));Fl.i_$11Z();}};xmp.i_$OH("xmp.baseplayer.internals");xmp.$.$4X=function(Hl,id,Il){this.p_$1G=id;this.p_$72=Hl;this.p_$DS=null;this.p_$LC=xmp.$.$4X.i_$1A4;this.p_$LD=[];this.p_$5A=null;this.p_$LE=Il;this.p_$LF=this.p_$LG();};xmp.$.$3.i_$PZ('\u0078\u006D\u0070\u002E\u0062\u0061\u0073\u0065\u0070\u006C\u0061\u0079\u0065\u0072\u002E\u0069\u006E\u0074\u0065\u0072\u006E\u0061\u006C\u0073\u002E\u0046\u0069\u006C\u0065\u0052\u0065\u0071\u0075\u0065\u0073\u0074\u0048\u0061\u006E\u0064\u006C\u0065',xmp.$.$4X);xmp.$.$4X.i_$1A4=0;xmp.$.$4X.i_$1A5=1;xmp.$.$4X.i_$1A6=2;xmp.$.$4X.prototype.i_$R7=function(){return this.p_$1G;};xmp.$.$4X.prototype.i_$X4=function(){return this.p_$72;};xmp.$.$4X.prototype.i_$17W=function(){return(this.p_$LC===xmp.$.$4X.i_$1A4);};xmp.$.$4X.prototype.i_$1A7=function(){return(this.p_$LC===xmp.$.$4X.i_$1A5);};xmp.$.$4X.prototype.i_$1A8=function(){return(this.p_$LC===xmp.$.$4X.i_$1A6);};xmp.$.$4X.prototype.i_$14T=function(){return this.p_$DS;};xmp.$.$4X.prototype.i_$1A9=function(Jl){this.p_$DS=Jl;};xmp.$.$4X.prototype.i_$1AA=function(){if(this.p_$LC!==xmp.$.$4X.i_$1A6){this.p_$LC=xmp.$.$4X.i_$1A5;}};xmp.$.$4X.prototype.i_$1AB=function(){this.p_$LC=xmp.$.$4X.i_$1A6;this.p_$LH();};xmp.$.$4X.prototype.i_$1AC=function(Kl){var Ll=new xmp.$.$M('onExecuteCB',this.p_$LI,this);Ll.i_$V6('listener',Kl);var Ml=new xmp.$.$1C(this.i_$R7(),xmp.i_$QP,1,Ll);Ml.i_$RL();};xmp.$.$4X.prototype.p_$LI=function(Nl,Ol){var Pl=Nl.i_$V8('listener',{});Pl.i_$1AD(this);};xmp.$.$4X.prototype.p_$LH=function(){for(var i=0;i<this.p_$LD.length;i++){var Ql=this.p_$LD[i];this.i_$1AC(Ql);}
this.p_$LD=[];};xmp.$.$4X.prototype.i_$W7=function(Rl){this.p_$LD.push(Rl);};xmp.$.$4X.prototype.i_$VY=function(Sl){this.p_$5A=Sl;};xmp.$.$4X.prototype.p_$LJ=function(){return(this.p_$5A!==null);};xmp.$.$4X.prototype.p_$LK=function(){return this.p_$5A;};xmp.$.$4X.prototype.p_$LG=function(){return Math.floor((new Date()).getTime()/1000);};xmp.$.$4X.prototype.p_$LL=function(){return(this.p_$LG()-this.p_$LF);};xmp.$.$4X.prototype.i_$1AE=function(){if(this.p_$LE<=-1){return false;}
if(this.p_$LE===0){return true;}
if(this.p_$LE<=this.p_$LL()){return true;}
return false;};xmp.i_$OH("xmp.baseplayer.internals");xmp.$.$4Y=function(Tl,Ul,Vl){this.p_$KR=Vl.metaType;this.p_$LM=Vl.loaderType;this.p_$LN=xmp.$.$A.i_$SL(Vl.contentType);this.p_$LO=Vl.appErrorType;this.p_$LP=(!Vl.maxCacheTime)?0:parseInt(Vl.maxCacheTime,0);this.p_$X=xmp.$.$16.i_$S2(this.p_$LM);this.p_$77=Tl;this.p_$KS=Ul;this.p_$LQ=[];this.p_$LR={};this.p_$LS=null;this.p_$LT=null;this.p_$LU=0;this.p_$LV=false;};xmp.$.$3.i_$PZ('\u0078\u006D\u0070\u002E\u0062\u0061\u0073\u0065\u0070\u006C\u0061\u0079\u0065\u0072\u002E\u0069\u006E\u0074\u0065\u0072\u006E\u0061\u006C\u0073\u002E\u0047\u0065\u006E\u0065\u0072\u0069\u0063\u004D\u0065\u0074\u0061\u0046\u0069\u006C\u0065\u004C\u006F\u0061\u0064\u0065\u0072',xmp.$.$4Y);xmp.$.$4Y.prototype.i_$19Q=function(){return this.p_$KS;};xmp.$.$4Y.prototype.i_$11Y=function(Wl,Xl){var Yl=[];for(var i=0;i<Wl.length;i++){var id=Wl[i];Yl.push({id:id,ct:this.p_$LN});}
return this.i_$19W(Yl,Xl);};xmp.$.$4Y.prototype.i_$19W=function(Zl,$l){this.p_$LV=false;this.p_$LQ=[];this.p_$LR={};this.p_$LS=$l;for(var i=0;i<Zl.length;i++){var am=Zl[i];var id=am.id;var ct=((typeof(am.ct)==='number')?am.ct:this.p_$LN);var bm=(am.rha)?am.rha:null;if(!(typeof id==='string'&&id.length>0)){throw new xmp.util.internals.InvalidArgsError("The 'ids' argument must be an array of non-empty strings.");}
if(!(ct===xmp.$.$A.i_$RW||ct===xmp.$.$A.i_$RY)){throw new xmp.util.internals.InvalidArgsError("The 'ct' must 'xmp.net.ContentTypes.i_TEXT' or 'xmp.net.ContentTypes.i_JSON'.");}
var cm=this.p_$LR[id];if(typeof(cm)!=='undefined'){this.p_$X.warn('Skipping duplicate ID: '+id);this.p_$LW(am,cm);continue;}
var dm={'h':null,'ready':false,'ct':ct,'rha':bm};this.p_$LQ.push(dm);this.p_$LR[id]=dm;dm.h=xmp.$.$50.i_$P4().i_$1AF(this.p_$KR,id,this,this.p_$LP);this.p_$LW(am,dm);}
return this.p_$LX();};xmp.$.$4Y.prototype.p_$LW=function(em,fm){if(typeof(em.loadable)!=='undefined'){em.loadable=fm.h.i_$14T();}};xmp.$.$4Y.prototype.i_$18T=function(gm){this.p_$LT=gm;};xmp.$.$4Y.prototype.i_$11Z=function(){this.p_$LV=true;if(this.p_$LQ.length===0){this.p_$LY();this.p_$LZ();return;}
this.p_$LU=0;for(var i=0;i<this.p_$LQ.length;i++){var hm=this.p_$LQ[i];if(hm.ready){this.p_$M0(hm.h);}}};xmp.$.$4Y.prototype.p_$LX=function(){var im=[];for(var i=0;i<this.p_$LQ.length;i++){var jm=this.p_$LQ[i].h;im.push(jm.i_$14T());}
return im;};xmp.$.$4Y.prototype.p_$M0=function(km){if(km.i_$1A8()){this.p_$LU++;this.p_$M1(km);}
if(this.p_$LU>=this.p_$LQ.length){this.p_$LY();this.p_$LZ();}};xmp.$.$4Y.prototype.p_$LY=function(){if(this.p_$77!==null){this.p_$77.i_$19S(this);this.p_$77=null;}};xmp.$.$4Y.prototype.p_$M1=function(lm){try{if(this.p_$LS!==null){this.p_$LS.i_$OY(lm.i_$14T());}}
catch(e){this.p_$X.warn('Error calling per-file-callback',e);}};xmp.$.$4Y.prototype.p_$LZ=function(){try{if(this.p_$LT!==null){this.p_$LT.i_$OY();}}
catch(e){this.p_$X.warn('Error calling all-loaded-callback',e);}};xmp.$.$4Y.prototype.i_$1AD=function(mm){if(this.p_$LV){this.p_$M0(mm);}
else{var nm=this.p_$LR[mm.i_$R7()];if(nm.h!==mm){throw new Error('Unexpected, handles not the same reference.');}
nm.ready=true;}};xmp.$.$4Z=function(id){xmp.$.$4Z.ctor.call(this);this.p_$1G=id;};xmp.DERIVE_CLASS(xmp.$.$Z,xmp.$.$4Z);xmp.$.$3.i_$PZ('\u0078\u006D\u0070\u002E\u0062\u0061\u0073\u0065\u0070\u006C\u0061\u0079\u0065\u0072\u002E\u0069\u006E\u0074\u0065\u0072\u006E\u0061\u006C\u0073\u002E\u0047\u0065\u006E\u0065\u0072\u0069\u0063\u004C\u006F\u0061\u0064\u0061\u0062\u006C\u0065',xmp.$.$4Z);xmp.$.$4Z.prototype.i_$W0=function(){return this.p_$1G;};xmp.$.$4Y.prototype.i_$1AG=function(id){return(new xmp.$.$4Z(id));};xmp.$.$4Y.prototype.i_$1AH=function(om){var qm=null;try{qm=this.i_$1AG(om.i_$R7());om.i_$1A9(qm);var rm=new xmp.$.$M(this.p_$LM+'_'+this.i_$19Q()+'_'+om.i_$R7(),this.p_$M2,this);var sm=xmp.$.$7.i_$P4();rm.i_$V6('handle',om);var tm=this.p_$LR[om.i_$R7()];sm.i_$RF(om.i_$R7(),rm,om.i_$X4(),om.i_$R7(),tm.ct,tm.rha);return xmp.$.$4X.i_$1A5;}
catch(e){try{if(qm!==null){qm.i_$VY(xmp.i_$ON(e));}}
catch(e2){this.p_$X.warn('Second chance error handling created file request',e2);}
throw e;}};xmp.$.$4Y.prototype.p_$M2=function(um,vm){var wm=um.i_$V8('handle',{});var xm=wm.i_$14T();var ym=this.p_$LR[wm.i_$R7()];if(!vm.i_$SF()){switch(ym.ct){case xmp.$.$A.i_$RY:xm.i_$VX(vm.i_$SO());break;case xmp.$.$A.i_$RW:xm.i_$VX(vm.i_$SP());break;default:throw new Error('Unexpected content type');}}
else{var zm=new xmp.$.$4Q(vm.i_$SN(),this.p_$LO,this.p_$KR,[{label:'url',text:vm.i_$SM()}]);this.p_$X.warn(zm.message,zm);wm.i_$VY(vm.i_$SQ());xm.i_$VY(vm.i_$SQ());}
wm.i_$1AB();};xmp.i_$OH("xmp.baseplayer.internals");xmp.$.$50=function(){this.p_$8={};this.p_$X=xmp.$.$16.i_$S2('FileRequestHandle');};xmp.$.$3.i_$PZ('\u0078\u006D\u0070\u002E\u0062\u0061\u0073\u0065\u0070\u006C\u0061\u0079\u0065\u0072\u002E\u0069\u006E\u0074\u0065\u0072\u006E\u0061\u006C\u0073\u002E\u004D\u0065\u0074\u0061\u0046\u0069\u006C\u0065\u0043\u0061\u0063\u0068\u0065',xmp.$.$50);xmp.$.$50.p_$16=null;xmp.$.$50.i_$P4=function(){if(xmp.$.$50.p_$16===null){xmp.$.$50.p_$16=new xmp.$.$50();}
return xmp.$.$50.p_$16;};xmp.$.$50.prototype.p_$M3=function(Am){this.p_$8[this.p_$M4(Am)]=Am;};xmp.$.$50.prototype.p_$M5=function(Bm,id){var Cm=this.p_$8[this.p_$M6(Bm,id)];return(!Cm)?null:Cm;};xmp.$.$50.prototype.i_$1AF=function(Dm,id,Em,Fm){this.p_$M7();var Gm=this.p_$M5(Dm,id);if(Gm===null){Gm=new xmp.$.$4X(Dm,id,Fm);this.p_$M3(Gm);Gm.i_$W7(Em);if(this.p_$X.isDebugEnabled()){this.p_$X.debug('Request handle NOT in cache, loading now: '+this.p_$M4(Gm));}
try{var Hm=Em.i_$1AH(Gm);switch(Hm){case xmp.$.$4X.i_$1A5:Gm.i_$1AA();break;case xmp.$.$4X.i_$1A6:Gm.i_$1AB();break;default:throw new Error('Unexpected load state.');}}
catch(e){Gm.i_$VY(xmp.i_$ON(e));Gm.i_$1AB();}}
else{if(Gm.i_$1A7()){if(this.p_$X.isDebugEnabled()){this.p_$X.debug('Request handle FOUND in cache, ANOTHER LOADER is loading, will wait: '+this.p_$M4(Gm));}
Gm.i_$W7(Em);}
else if(Gm.i_$1A8()){if(this.p_$X.isDebugEnabled()){this.p_$X.debug('Request handle FOUND in cache, already loaded: '+this.p_$M4(Gm));}
Gm.i_$1AC(Em);}}
return Gm;};xmp.$.$50.prototype.p_$M6=function(Im,id){return(Im+'|'+id);};xmp.$.$50.prototype.p_$M4=function(Jm){return this.p_$M6(Jm.i_$X4(),Jm.i_$R7());};xmp.$.$50.prototype.p_$M7=function(){var Km=[];var Lm='';var Mm=null;for(var Nm=xmp.$.$4.i_$Q7(this.p_$8);Nm.i_$Q9();Nm.i_$QB()){Lm=Nm.i_$QC();Mm=Nm.i_$QD();if(this.p_$M8(Mm,Lm)){Km.push(Mm);}}
for(var i=0;i<Km.length;i++){Mm=Km[i];try{Lm=this.p_$M4(Mm);delete this.p_$8[Lm];}
catch(e){this.p_$X.debug('Error removing request handle from cache.',e);}}};xmp.$.$50.prototype.p_$M8=function(Om,Pm){try{if(Om.i_$1AE()){this.p_$X.debug('Request handle expired, will remove from cache.');return true;}
return false;}
catch(e){this.p_$X.warn('Error checking for expiration: '+Pm,e);}
return false;};xmp.i_$OH("xmp.baseplayer.internals");xmp.$.$51=function(Qm){xmp.$.$51.ctor.call(this,Qm,[]);this.p_$X=xmp.$.$16.i_$S2('NullTrigger');};xmp.DERIVE_CLASS(xmp.$.$4H,xmp.$.$51);xmp.$.$3.i_$PZ('\u0078\u006D\u0070\u002E\u0062\u0061\u0073\u0065\u0070\u006C\u0061\u0079\u0065\u0072\u002E\u0069\u006E\u0074\u0065\u0072\u006E\u0061\u006C\u0073\u002E\u004E\u0075\u006C\u006C\u0054\u0072\u0069\u0067\u0067\u0065\u0072',xmp.$.$51);xmp.$.$51.prototype.i_$183=function(Rm){if(this.p_$X.isDebugEnabled()){this.p_$X.debug('Trigger type: '+this.i_$X4()+', Null Trigger, no commands to do.');}};xmp.i_$OH("xmp.baseplayer.internals");xmp.$.$52=function(Sm,Tm,Um){Um.loaderType='ServerSideAdCompositorMetaFileLoader';xmp.$.$52.ctor.call(this,Sm,Tm,Um);this.p_$M9=Um.serverRelUrl;this.p_$MA='__@@$$@@__';this.p_$MB=/__@@\$\$@@__/gm;this.p_$MC='ad';this.p_$LA=[];this.p_$MD=null;};xmp.DERIVE_CLASS(xmp.$.$4T,xmp.$.$52);xmp.$.$3.i_$PZ('\u0078\u006D\u0070\u002E\u0062\u0061\u0073\u0065\u0070\u006C\u0061\u0079\u0065\u0072\u002E\u0069\u006E\u0074\u0065\u0072\u006E\u0061\u006C\u0073\u002E\u0053\u0065\u0072\u0076\u0065\u0072\u0053\u0069\u0064\u0065\u0041\u0064\u0043\u006F\u006D\u0070\u006F\u0073\u0069\u0074\u006F\u0072\u004D\u0065\u0074\u0061\u0046\u0069\u006C\u0065\u004C\u006F\u0061\u0064\u0065\u0072',xmp.$.$52);xmp.$.$52.prototype.p_$ME=function(Vm){var Wm={'adReqId':'Unknown','data':'Unknown error','ok':false};try{var Xm=null;var Ym=Vm.indexOf('\n');if(Ym===-1){Xm=new Error('Ad server returned malformed composite - missing line feed between header and data.');}
var Zm='';if(Ym===-1){Zm=xmp.i_$OO(Vm);}
else{Zm=xmp.i_$OO(Vm.substr(0,Ym));}
if(Zm.length===0){throw new Error('Ad server returned malformed composite - empty string header.');}
if(0!==Zm.indexOf(this.p_$MC)){throw new Error('Ad server returned malformed composite - header does not begin with "'+this.p_$MA+' '+this.p_$MC+'".');}
Wm.data='';if(Ym!==-1){Wm.data=Vm.substr(Ym+1);}
Ym=Zm.indexOf(' ');if(Ym===-1){throw new Error('Ad server returned malformed composite - missing space in header between ID and status.');}
Wm.adReqId=xmp.i_$OO(Zm.substr(0,Ym));if(Xm){throw Xm;}
var $m=xmp.i_$OO(Zm.substr(Ym+1));if(!($m==='OK'||$m==='ERROR')){throw new Error('Ad server returned malformed composite - status must be either "OK" or "ERROR".');}
Wm.ok=($m==='OK');if(Wm.ok&&(xmp.i_$OO(Wm.data).length===0)){Wm.ok=false;Wm.data='No data returned by ad server (or only white space).';}}
catch(ex){Wm.ok=false;Wm.data='Error parsing ad server data: '+xmp.i_$ON(ex);}
return Wm;};xmp.$.$52.prototype.p_$MF=function(an){var bn={};var cn=an.indexOf(this.p_$MA);if(cn===-1){return bn;}
if(cn>0){an=an.substr(cn);}
var dn=an.split(this.p_$MB);for(var i=0;i<dn.length;i++){var en=xmp.i_$OO(dn[i]);if(en.length===0){continue;}
var fn=this.p_$ME(en);bn[fn.adReqId]=fn;}
return bn;};xmp.$.$52.prototype.p_$LB=function(){try{if(this.p_$MD.isError()){this.i_$19V(this.p_$MD.getErrorMessage());this.i_$19R();return;}
this.p_$MG();}
catch(e){this.i_$19V(xmp.i_$ON(e));this.i_$T6(e);}};xmp.$.$52.prototype.p_$MG=function(){var gn=this.p_$MF(this.p_$MD.getDataObject());for(var i=0;i<this.p_$LA.length;i++){var hn=this.p_$LA[i];var jn=gn[hn.adReqId];if(typeof(jn)==='undefined'){throw new Error('Ajax response missing ad request ID: '+hn.adReqId+', id: '+hn.id+' for res type: '+hn.res.getType());}
this.i_$1A1(hn.res,jn.ok,jn.data);}
this.i_$19R();};xmp.$.$52.prototype.i_$19X=function(){this.p_$LA=[];this.p_$MD=null;};xmp.$.$52.prototype.i_$19Z=function(kn,ln,mn){var nn=this.p_$MC+xmp.i_$PL(this.p_$LA.length,2);this.p_$LA.push({'id':ln,'res':kn,'adReqId':nn});};xmp.$.$52.prototype.i_$19Y=function(){if(this.p_$LA.length===0){this.i_$19R();}
else{var on={'id':this.p_$M9,'rha':[]};for(var i=0;i<this.p_$LA.length;i++){var pn=this.p_$LA[i];on.rha.push({name:pn.adReqId,value:pn.id,type:xmp.$.$7.i_$S4});}
var qn=xmp.$.$5M.i_$P4().i_$Q7('videoAdCompositorServer');this.p_$MD=qn.i_$19W([on],null)[0];qn.i_$18T(new xmp.$.$M('allAdServerItemsCB',this.p_$LB,this));qn.i_$11Z();}};xmp.i_$OH("xmp.baseplayer.internals");xmp.$.$53=function(){this.p_$X=xmp.$.$16.i_$S2('TriggerCommandFactory');xmp.$.$1B.i_$P4().i_$WL(new xmp.$.$M('TriggerCommandFactory',this.p_$A1,this));this.p_$MH=null;this.p_$MI();};xmp.$.$3.i_$PZ('\u0078\u006D\u0070\u002E\u0062\u0061\u0073\u0065\u0070\u006C\u0061\u0079\u0065\u0072\u002E\u0069\u006E\u0074\u0065\u0072\u006E\u0061\u006C\u0073\u002E\u0054\u0072\u0069\u0067\u0067\u0065\u0072\u0043\u006F\u006D\u006D\u0061\u006E\u0064\u0046\u0061\u0063\u0074\u006F\u0072\u0079',xmp.$.$53);xmp.$.$53.p_$16=null;xmp.$.$53.i_$P4=function(){if(xmp.$.$53.p_$16===null){xmp.$.$53.p_$16=new xmp.$.$53();}
return xmp.$.$53.p_$16;};xmp.$.$53.prototype.i_$Q7=function(rn){var sn=this.p_$MH[rn];if(!sn){return(new xmp.$.$55(rn));}
try{var tn=xmp.$.$3.i_$PW(sn);if(!tn){tn=xmp.$.$3.i_$PX(sn);}
var un=tn.i_$Q3([]);return un;}
catch(e){this.p_$X.warn('Error creating Trigger Command: '+rn,e);return(new xmp.$.$55(rn));}};xmp.$.$53.prototype.p_$MI=function(){if(this.p_$MH===null){this.p_$MH={};var vn=xmp.$.$1B.i_$P4().getContextNode().getNodeForPath('TriggerCommands');var wn=vn.retrieveKeys();for(var i=0;i<wn.length;i++){var xn=wn[i];var yn=vn.getString(xn,'');this.p_$MH[xn]=yn;}
this.p_$MH.setImg=xmp.$.$57.i_$PS().i_$PU();this.p_$MH.echo=xmp.$.$56.i_$PS().i_$PU();}};xmp.$.$53.prototype.p_$A1=function(){this.p_$MH=null;this.p_$MI();};xmp.$.$54=function(){};xmp.$.$3.i_$PZ('\u0078\u006D\u0070\u002E\u0062\u0061\u0073\u0065\u0070\u006C\u0061\u0079\u0065\u0072\u002E\u0069\u006E\u0074\u0065\u0072\u006E\u0061\u006C\u0073\u002E\u0041\u0062\u0073\u0074\u0072\u0061\u0063\u0074\u006C\u0054\u0072\u0069\u0067\u0067\u0065\u0072\u0043\u006F\u006D\u006D\u0061\u006E\u0064',xmp.$.$54);xmp.$.$54.prototype.doCommand=function(zn){};xmp.$.$55=function(An){this.p_$72=An;this.p_$X=xmp.$.$16.i_$S2('NullTriggerCommand');};xmp.DERIVE_CLASS(xmp.$.$54,xmp.$.$55);xmp.$.$3.i_$PZ('\u0078\u006D\u0070\u002E\u0062\u0061\u0073\u0065\u0070\u006C\u0061\u0079\u0065\u0072\u002E\u0069\u006E\u0074\u0065\u0072\u006E\u0061\u006C\u0073\u002E\u004E\u0075\u006C\u006C\u0054\u0072\u0069\u0067\u0067\u0065\u0072\u0043\u006F\u006D\u006D\u0061\u006E\u0064',xmp.$.$55);xmp.$.$55.prototype.doCommand=function(Bn){if(this.p_$X.isDebugEnabled()){this.p_$X.debug('Trigger Command unrecognized: '+this.p_$72);}};xmp.$.$56=function(){this.p_$X=xmp.$.$16.i_$S2('EchoTriggerCommand');};xmp.DERIVE_CLASS(xmp.$.$54,xmp.$.$56);xmp.$.$3.i_$PZ('\u0078\u006D\u0070\u002E\u0062\u0061\u0073\u0065\u0070\u006C\u0061\u0079\u0065\u0072\u002E\u0069\u006E\u0074\u0065\u0072\u006E\u0061\u006C\u0073\u002E\u0045\u0063\u0068\u006F\u0054\u0072\u0069\u0067\u0067\u0065\u0072\u0043\u006F\u006D\u006D\u0061\u006E\u0064',xmp.$.$56);xmp.$.$56.prototype.doCommand=function(Cn){var Dn=Cn.getCommandData();xmp.$.$58.i_$1AI(this.p_$X,'Trigger type: '+Cn.getTriggerType()+', Doing "echo" command, data = '+Dn);};xmp.$.$57=function(){this.p_$X=xmp.$.$16.i_$S2('SetImageTriggerCommand');};xmp.DERIVE_CLASS(xmp.$.$54,xmp.$.$57);xmp.$.$3.i_$PZ('\u0078\u006D\u0070\u002E\u0062\u0061\u0073\u0065\u0070\u006C\u0061\u0079\u0065\u0072\u002E\u0069\u006E\u0074\u0065\u0072\u006E\u0061\u006C\u0073\u002E\u0053\u0065\u0074\u0049\u006D\u0061\u0067\u0065\u0054\u0072\u0069\u0067\u0067\u0065\u0072\u0043\u006F\u006D\u006D\u0061\u006E\u0064',xmp.$.$57);xmp.$.$57.prototype.doCommand=function(En){var Fn=this.p_$MJ(En.getCommandData());var Gn=xmp.$.$4U.i_$P4().i_$1A3(Fn);xmp.$.$58.i_$1AI(this.p_$X,'Trigger type: '+En.getTriggerType()+', Doing "setImg" command, data = '+Fn+', using img dom ID: '+Gn);};xmp.$.$57.prototype.p_$MJ=function(Hn){var In=Hn.indexOf('\"');if(In===-1){return Hn;}
Hn=Hn.substr(In+1);var Jn=Hn.indexOf('\"');Hn=Hn.substr(0,Jn);return Hn;};xmp.$.$58=function(){};xmp.$.$3.i_$PZ('\u0078\u006D\u0070\u002E\u0062\u0061\u0073\u0065\u0070\u006C\u0061\u0079\u0065\u0072\u002E\u0069\u006E\u0074\u0065\u0072\u006E\u0061\u006C\u0073\u002E\u0041\u0064\u0053\u0074\u0061\u0074\u0075\u0073\u0052\u0065\u0070\u006F\u0072\u0074\u0065\u0072',xmp.$.$58);xmp.$.$58.p_$MK=null;xmp.$.$58.i_$1AJ=function(){};xmp.$.$58.i_$1AI=function(Kn,Ln){if(xmp.$.$58.p_$MK===null){var p=xmp.baseplayer.BasePlayer.i_$19F();if((p)&&(p.setAdStatus)){xmp.$.$58.p_$MK=new xmp.$.$M('adStatus',p.setAdStatus,p);}
else{xmp.$.$58.p_$MK=new xmp.$.$M('adStatus',xmp.$.$58.i_$1AJ,null);}
xmp.$.$58.p_$MK.i_$V4(false);}
try{xmp.$.$58.p_$MK.i_$OY('SMARTCOUNT: '+Ln);}
catch(ex){}
if(Kn.isDebugEnabled()){Kn.debug(Ln);}};xmp.i_$OH("xmp.baseplayer.internals");xmp.$.$59=function(Mn,Nn,On){xmp.$.$59.ctor.call(this,Mn,Nn,On);};xmp.DERIVE_CLASS(xmp.$.$4Y,xmp.$.$59);xmp.$.$3.i_$PZ('\u0078\u006D\u0070\u002E\u0062\u0061\u0073\u0065\u0070\u006C\u0061\u0079\u0065\u0072\u002E\u0069\u006E\u0074\u0065\u0072\u006E\u0061\u006C\u0073\u002E\u0056\u0069\u0064\u0065\u006F\u0043\u006F\u006E\u0074\u0065\u006E\u0074\u004D\u0065\u0074\u0061\u0046\u0069\u006C\u0065\u004C\u006F\u0061\u0064\u0065\u0072',xmp.$.$59);xmp.$.$59.prototype.load=function(){this.i_$11Z();};xmp.$.$59.prototype.i_$1AG=function(id){return(new xmp.$.$17(id));};xmp.$.$59.i_$19H=function(Pn,Qn,Rn,Sn,Tn){Tn=(Tn)?Tn:null;var Un=null;if(Rn){Un=new xmp.$.$M('gotItemCallback',Rn,Tn);}
var Vn=null;if(Sn){Vn=new xmp.$.$M('gotAllCallback',Sn,Tn);}
var Wn=xmp.$.$5M.i_$P4().i_$Q7('videoContentMeta');var Xn=Wn.i_$11Y(Pn,Un);if(Qn){while(Qn.length>0){Qn.pop();}
while(Xn.length>0){Qn.push(Xn.shift());}}
Wn.i_$18T(Vn);return Wn;};xmp.i_$OH("xmp.baseplayer.internals");xmp.$.$5A=function(Yn,Zn){this.p_$X=xmp.$.$16.i_$S2('VideoPromoMetaFileLoader');this.p_$KR='videoPromoMeta';this.p_$77=Yn;this.p_$KS=Zn;this.p_$GP=null;this.p_$P=null;};xmp.$.$3.i_$PZ('\u0078\u006D\u0070\u002E\u0062\u0061\u0073\u0065\u0070\u006C\u0061\u0079\u0065\u0072\u002E\u0069\u006E\u0074\u0065\u0072\u006E\u0061\u006C\u0073\u002E\u0056\u0069\u0064\u0065\u006F\u0050\u0072\u006F\u006D\u006F\u004D\u0065\u0074\u0061\u0046\u0069\u006C\u0065\u004C\u006F\u0061\u0064\u0065\u0072',xmp.$.$5A);xmp.$.$5A.prototype.i_$19Q=function(){return this.p_$KS;};xmp.$.$5A.prototype.i_$1AK=function($n,ao){this.p_$GP=$n;this.p_$P=ao;};xmp.$.$5A.prototype.i_$11Z=function(){var bo=new xmp.$.$M('VideoPromoMetaFileLoader'+'_'+this.p_$KS,this.p_$M2,this);var co=xmp.$.$7.i_$P4();var eo=this.p_$GP.getPlayableData();var id=eo.getMetaResourceId();co.i_$RF(id,bo,this.p_$KR,id,xmp.$.$A.i_$RY,null);};xmp.$.$5A.prototype.p_$M2=function(fo,go){var ho=this.p_$GP.getPlayableData();if(!go.i_$SF()){var io=new xmp.$.$4Q(go.i_$SN(),'FailToGetPromoJson','VideoPromo',[{label:'url',text:go.i_$SM()}]);this.p_$X.warn(io.message,io);ho.i_$VX(go.i_$SO());}
else{ho.i_$VY(go.i_$SQ());}
if(this.p_$77!==null){this.p_$77.i_$19S(this);this.p_$77=null;}
try{this.p_$P.i_$OY(this.p_$GP);}
catch(e){this.p_$X.warn('Error calling callback',e);}};xmp.i_$OH("xmp.baseplayer.listeners");xmp.$.$5B=function(jo){this.p_$ML=xmp.$.$16.i_$S2('CompositeNodeListener');this.p_$MM=xmp.$.$5B;xmp.$.$5B.ctor.call(this,this.p_$MM.p_$MN,jo);this.p_$3R=[];};xmp.DERIVE_CLASS(xmp.$.$4I,xmp.$.$5B);xmp.$.$3.i_$PZ('\u0078\u006D\u0070\u002E\u0062\u0061\u0073\u0065\u0070\u006C\u0061\u0079\u0065\u0072\u002E\u006C\u0069\u0073\u0074\u0065\u006E\u0065\u0072\u0073\u002E\u0043\u006F\u006D\u0070\u006F\u0073\u0069\u0074\u0065\u004E\u006F\u0064\u0065\u004C\u0069\u0073\u0074\u0065\u006E\u0065\u0072',xmp.$.$5B);xmp.$.$5B.p_$MN="Composite";xmp.$.$5B.p_$MO="Initialize";xmp.$.$5B.p_$MP="Complete";xmp.$.$5B.p_$MQ="Render";xmp.$.$5B.p_$MR="DynamicRules";xmp.$.$5B.p_$MS="TimelineChange";xmp.$.$5B.p_$MT="CanUserControl";xmp.$.$5B.p_$MU="CanCompleteNow";xmp.$.$5B.p_$MV="CompleteAsynch";xmp.$.$5B.p_$MW="OverrideAdResources";xmp.$.$5B.p_$MX="Validate";xmp.$.$5B.p_$MY="HandleRenderAd";xmp.$.$5B.prototype.i_$187=function(ko){return this.p_$MZ(this.p_$MM.p_$MT,[ko]);};xmp.$.$5B.prototype.handleDynamicRules=function(lo){this.p_$MZ(this.p_$MM.p_$MR,[lo]);};xmp.$.$5B.prototype.handleRender=function(mo){this.p_$MZ(this.p_$MM.p_$MQ,[mo]);};xmp.$.$5B.prototype.i_$188=function(no){this.p_$MZ(this.p_$MM.p_$MO,[no]);};xmp.$.$5B.prototype.handleComplete=function(oo){this.p_$MZ(this.p_$MM.p_$MP,[oo]);};xmp.$.$5B.prototype.i_$189=function(po){return this.p_$MZ(this.p_$MM.p_$MU,[po]);};xmp.$.$5B.prototype.i_$18A=function(qo,ro){this.p_$MZ(this.p_$MM.p_$MV,[qo,ro]);};xmp.$.$5B.prototype.handleOpen=function(so){this.p_$MZ(xmp.OPEN,[so]);};xmp.$.$5B.prototype.handleConnecting=function(to){this.p_$MZ(xmp.CONNECTING,[to]);};xmp.$.$5B.prototype.handleConnected=function(uo){this.p_$MZ(xmp.CONNECTED,[uo]);};xmp.$.$5B.prototype.handlePlay=function(vo){this.p_$MZ(xmp.PLAY,[vo]);};xmp.$.$5B.prototype.handleFirstFrameRendered=function(wo){this.p_$MZ(xmp.FIRST_FRAME_RENDERED,[wo]);};xmp.$.$5B.prototype.handlePause=function(xo){this.p_$MZ(xmp.PAUSE,[xo]);};xmp.$.$5B.prototype.handleStop=function(yo){this.p_$MZ(xmp.STOP,[yo]);};xmp.$.$5B.prototype.handleRewind=function(zo){this.p_$MZ(xmp.REWIND,[zo]);};xmp.$.$5B.prototype.handleFastForward=function(Ao){this.p_$MZ(xmp.FAST_FORWARD,[Ao]);};xmp.$.$5B.prototype.handleSeekable=function(Bo){this.p_$MZ(xmp.SEEKABLE,[Bo]);};xmp.$.$5B.prototype.handleEnded=function(Co){this.p_$MZ(xmp.ENDED,[Co]);};xmp.$.$5B.prototype.handleBuffering=function(Do,Eo){this.p_$MZ(xmp.BUFFERING,[Do,Eo]);};xmp.$.$5B.prototype.handleTimelineChange=function(Fo,Go,Ho){this.p_$MZ(this.p_$MM.p_$MS,[Fo,Go,Ho]);};xmp.$.$5B.prototype.handleError=function(Io,e){this.p_$MZ(xmp.ERRORS,[Io,e]);};xmp.$.$5B.prototype.handleOverrideAdResources=function(Jo,Ko){this.p_$MZ(this.p_$MM.p_$MW,[Jo,Ko]);};xmp.$.$5B.prototype.handleValidate=function(Lo){this.p_$MZ(this.p_$MM.p_$MX,[Lo]);};xmp.$.$5B.prototype.handleRenderAd=function(Mo,No,Oo){this.p_$MZ(this.p_$MM.p_$MY,[Mo,No,Oo]);};xmp.$.$5B.prototype.p_$MZ=function(Po,Qo){var Ro=this.p_$3R.length;for(var i=0;i<Ro;i++){var So=this.p_$3R[i];var To=So.callbacks[Po];var Uo=null;try{Uo=To.method.apply(So.listener,Qo);}
catch(e){if(!So.listener.i_$18B()){var Vo="While calling handler function '"+Po+"', an unexpected exception was thrown from outside of core XMP framework";xmp.$.$U.i_$VR(this.p_$ML,xmp.$.$14.i_$VS,Vo,e);}
else{this.p_$ML.warn('Error dispatching: '+Po+' on '+So.listener.getId()+' node listener.',e);}
try{var Wo=Qo[0];So.listener.handleError(Wo,e);}
catch(e2){if(!So.listener.i_$18B()){var Xo="While calling 'handleError' because of a previous exception, another unexpected exception was thrown from core outside of XMP framework";xmp.$.$U.i_$VR(this.p_$ML,xmp.$.$14.i_$VT,Xo,e);}
try{this.p_$ML.warn('Error calling handleError while dispatching: '+Po+' on '+So.listener.getId()+' node listener.',e2);}
catch(e3){}}}
if(To.return_type===xmp.i_$QL&&false===Uo){return false;}}
return true;};xmp.$.$5B.prototype.i_$164=function(Yo){var Zo={listener:Yo,callbacks:null};this.p_$N0(Zo,Yo);this.p_$3R.push(Zo);};xmp.$.$5B.prototype.p_$N0=function($o,ap){var bp=[{name:this.p_$MM.p_$MT,data:{method:ap.i_$187,return_type:xmp.i_$QL}},{name:this.p_$MM.p_$MR,data:{method:ap.handleDynamicRules,return_type:xmp.i_$OW}},{name:this.p_$MM.p_$MO,data:{method:ap.i_$188,return_type:xmp.i_$OW}},{name:this.p_$MM.p_$MP,data:{method:ap.handleComplete,return_type:xmp.i_$OW}},{name:this.p_$MM.p_$MQ,data:{method:ap.handleRender,return_type:xmp.i_$OW}},{name:xmp.OPEN,data:{method:ap.handleOpen,return_type:xmp.i_$OW}},{name:xmp.CONNECTING,data:{method:ap.handleConnecting,return_type:xmp.i_$OW}},{name:xmp.CONNECTED,data:{method:ap.handleConnected,return_type:xmp.i_$OW}},{name:xmp.FIRST_FRAME_RENDERED,data:{method:ap.handleFirstFrameRendered,return_type:xmp.i_$OW}},{name:xmp.PLAY,data:{method:ap.handlePlay,return_type:xmp.i_$OW}},{name:xmp.PAUSE,data:{method:ap.handlePause,return_type:xmp.i_$OW}},{name:xmp.STOP,data:{method:ap.handleStop,return_type:xmp.i_$OW}},{name:xmp.REWIND,data:{method:ap.handleRewind,return_type:xmp.i_$OW}},{name:xmp.FAST_FORWARD,data:{method:ap.handleFastForward,return_type:xmp.i_$OW}},{name:xmp.SEEKABLE,data:{method:ap.handleSeekable,return_type:xmp.i_$OW}},{name:xmp.ENDED,data:{method:ap.handleEnded,return_type:xmp.i_$OW}},{name:xmp.BUFFERING,data:{method:ap.handleBuffering,return_type:xmp.i_$OW}},{name:this.p_$MM.p_$MS,data:{method:ap.handleTimelineChange,return_type:xmp.i_$OW}},{name:xmp.ERRORS,data:{method:ap.handleError,return_type:xmp.i_$OW}},{name:this.p_$MM.p_$MU,data:{method:ap.i_$189,return_type:xmp.i_$QL}},{name:this.p_$MM.p_$MV,data:{method:ap.i_$18A,return_type:xmp.i_$OW}},{name:this.p_$MM.p_$MW,data:{method:ap.handleOverrideAdResources,return_type:xmp.i_$OW}},{name:this.p_$MM.p_$MX,data:{method:ap.handleValidate,return_type:xmp.i_$OW}},{name:this.p_$MM.p_$MY,data:{method:ap.handleRenderAd,return_type:xmp.i_$OW}}];$o.callbacks={};var cp=bp.length;for(var i=0;i<cp;i++){$o.callbacks[bp[i].name]=bp[i].data;}};xmp.i_$OH("xmp.baseplayer.listeners");xmp.baseplayer.listeners.DefaultAdNodeListener=function(dp,ep){xmp.baseplayer.listeners.DefaultAdNodeListener.ctor.call(this,dp,ep);this.p_$X=xmp.$.$16.i_$S2('DefaultAdNodeListener');};xmp.DERIVE_CLASS(xmp.baseplayer.listeners.DefaultBaseNodeListener,xmp.baseplayer.listeners.DefaultAdNodeListener);xmp.$.$3.i_$PY('xmp.baseplayer.listeners.DefaultAdNodeListener',xmp.baseplayer.listeners.DefaultAdNodeListener);xmp.baseplayer.listeners.DefaultAdNodeListener.prototype.i_$187=function(fp){var gp=xmp.$.$1B.i_$P4().getContextNode().getNodeForPath('BasePlayer').getBoolean('user can control ad',false);return gp;};xmp.baseplayer.listeners.DefaultAdNodeListener.prototype.handleComplete=function(hp){var ip=hp.getPlayableData();hp.setURI(ip.getPlayableId());hp.setMimeTypes(ip.getMimeTypeArray());hp.setStreamingMode(xmp.AD_STREAMING_MODE);};xmp.baseplayer.listeners.DefaultAdNodeListener.prototype.handleRender=function(jp){var kp=jp.i_$U5(false);if(kp!==null){this.p_$X.info('Playing ad with tile ID: '+kp.getCompanionAdId());}
xmp.baseplayer.listeners.DefaultAdNodeListener.base.handleRender.call(this,jp);};xmp.i_$OH("xmp.baseplayer.listeners");xmp.baseplayer.listeners.DefaultNextUpSlateNodeListener=function(lp,mp){xmp.baseplayer.listeners.DefaultNextUpSlateNodeListener.ctor.call(this,lp,mp);this.p_$X=xmp.$.$16.i_$S2('DefaultNextUpSlateNodeListener');};xmp.DERIVE_CLASS(xmp.baseplayer.listeners.DefaultSlateNodeListener,xmp.baseplayer.listeners.DefaultNextUpSlateNodeListener);xmp.$.$3.i_$PY('xmp.baseplayer.listeners.DefaultNextUpSlateNodeListener',xmp.baseplayer.listeners.DefaultNextUpSlateNodeListener);xmp.baseplayer.listeners.DefaultNextUpSlateNodeListener.prototype.handleComplete=function(np){xmp.baseplayer.listeners.DefaultNextUpSlateNodeListener.base.handleComplete.call(this,np);var op=this.i_$18C();if(op!==null){np.setMetadata("headline",op.getPlayableData().getDataObject().headline);}
else{this.p_$X.debug("Unusual state: The NextUpSlate failed to find a next content node.");}};xmp.i_$OH("xmp.baseplayer.listeners");xmp.baseplayer.listeners.DefaultPlayerListener=function(pp,qp){xmp.baseplayer.listeners.DefaultPlayerListener.ctor.call(this,pp,qp);this.p_$X=xmp.$.$16.i_$S2('DefaultPlayerListener');};xmp.DERIVE_CLASS(xmp.baseplayer.listeners.DefaultBaseNodeListener,xmp.baseplayer.listeners.DefaultPlayerListener);xmp.$.$3.i_$PY('xmp.baseplayer.listeners.DefaultPlayerListener',xmp.baseplayer.listeners.DefaultPlayerListener);xmp.baseplayer.listeners.DefaultPlayerListener.prototype.handleRender=function(rp){};xmp.baseplayer.listeners.DefaultPlayerListener.prototype.handleError=function(sp,e){};xmp.baseplayer.listeners.DefaultPlayerListener.prototype.handleOpen=function(tp){this.setStatus(tp,xmp.OPEN);};xmp.baseplayer.listeners.DefaultPlayerListener.prototype.handleConnecting=function(up){this.setStatus(up,xmp.CONNECTING);};xmp.baseplayer.listeners.DefaultPlayerListener.prototype.handleConnected=function(vp){this.setStatus(vp,xmp.CONNECTED);};xmp.baseplayer.listeners.DefaultPlayerListener.prototype.handlePlay=function(wp){this.setStatus(wp,xmp.PLAY);};xmp.baseplayer.listeners.DefaultPlayerListener.prototype.handlePause=function(xp){this.setStatus(xp,xmp.PAUSE);};xmp.baseplayer.listeners.DefaultPlayerListener.prototype.handleStop=function(yp){this.setStatus(yp,xmp.STOP);};xmp.baseplayer.listeners.DefaultPlayerListener.prototype.handleRewind=function(zp){this.setStatus(zp,xmp.REWIND);};xmp.baseplayer.listeners.DefaultPlayerListener.prototype.handleFastForward=function(Ap){this.setStatus(Ap,xmp.FAST_FORWARD);};xmp.baseplayer.listeners.DefaultPlayerListener.prototype.handleSeekable=function(Bp){this.setStatus(Bp,xmp.SEEKABLE);};xmp.baseplayer.listeners.DefaultPlayerListener.prototype.handleEnded=function(Cp){this.setStatus(Cp,xmp.ENDED);};xmp.baseplayer.listeners.DefaultPlayerListener.prototype.handleBuffering=function(Dp,Ep){this.setStatus(Dp,xmp.BUFFERING,Ep);};xmp.baseplayer.listeners.DefaultPlayerListener.prototype.setStatus=function(Fp,Gp,Hp){};xmp.i_$OH("xmp.baseplayer.listeners");xmp.baseplayer.listeners.DefaultPromoNodeListener=function(Ip,Jp){xmp.baseplayer.listeners.DefaultPromoNodeListener.ctor.call(this,Ip,Jp);};xmp.DERIVE_CLASS(xmp.baseplayer.listeners.DefaultBaseNodeListener,xmp.baseplayer.listeners.DefaultPromoNodeListener);xmp.$.$3.i_$PY('xmp.baseplayer.listeners.DefaultPromoNodeListener',xmp.baseplayer.listeners.DefaultPromoNodeListener);xmp.baseplayer.listeners.DefaultPromoNodeListener.prototype.handleComplete=function(Kp){var Lp=Kp.getPlayableData();Kp.setMimeTypes(Lp.getMimeTypeArray());var Mp=Lp.getDataObject().sizes;if(Mp&&Mp.length>0){Kp.i_$UZ(Lp.getDataObject().sizes);}
Kp.setURI(Lp.getDataObject().location);Kp.setStreamingMode(Lp.getDataObject().streamingMode);};xmp.i_$OH("xmp.baseplayer.listeners");xmp.baseplayer.listeners.DefaultStartSlateNodeListener=function(Np,Op){xmp.baseplayer.listeners.DefaultStartSlateNodeListener.ctor.call(this,Np,Op);this.p_$X=xmp.$.$16.i_$S2('DefaultStartSlateNodeListener');};xmp.DERIVE_CLASS(xmp.baseplayer.listeners.DefaultSlateNodeListener,xmp.baseplayer.listeners.DefaultStartSlateNodeListener);xmp.$.$3.i_$PY('xmp.baseplayer.listeners.DefaultStartSlateNodeListener',xmp.baseplayer.listeners.DefaultStartSlateNodeListener);xmp.baseplayer.listeners.DefaultStartSlateNodeListener.prototype.handleComplete=function(Pp){xmp.baseplayer.listeners.DefaultStartSlateNodeListener.base.handleComplete.call(this,Pp);var Qp=this.i_$18C();if(Qp!==null){var Rp=Qp.getPlayableData().getDataObject().images;var Sp=Rp.length;var Tp=[];var Up={};for(var i=0;i<Sp;i++){Tp.push(Rp[i].id);Up[Rp[i].id]=Rp[i].resource;}
Pp.setMetadata("image",Up[xmp.$.$2Z.i_$10N(Tp)]);}
else{this.p_$X.debug("Unusual state: The StartSlate failed to find a next content node.");}};xmp.i_$OH("xmp.baseplayer.listeners");xmp.baseplayer.listeners.DefaultVideoNodeListener=function(Vp,Wp){xmp.baseplayer.listeners.DefaultVideoNodeListener.ctor.call(this,Vp,Wp,false);};xmp.DERIVE_CLASS(xmp.baseplayer.listeners.DefaultBaseNodeListener,xmp.baseplayer.listeners.DefaultVideoNodeListener);xmp.$.$3.i_$PY('xmp.baseplayer.listeners.DefaultVideoNodeListener',xmp.baseplayer.listeners.DefaultVideoNodeListener);xmp.baseplayer.listeners.DefaultVideoNodeListener.prototype.i_$188=function(Xp){var Yp=Xp.getPlayableData();Xp.setMimeTypes(Yp.getMimeTypeArray());var Zp=Yp.getDataObject().sizes;if(Zp&&Zp.length>0){Xp.i_$UZ(Yp.getDataObject().sizes);}
Xp.setURI(Yp.getDataObject().location);Xp.setStreamingMode(Yp.getDataObject().streamingMode);};xmp.i_$OH("xmp.baseplayer.listeners.internals");xmp.$.$5C=function($p){xmp.$.$5C.ctor.call(this,'AdLoader',$p);};xmp.DERIVE_CLASS(xmp.$.$4K,xmp.$.$5C);xmp.$.$3.i_$PZ('\u0078\u006D\u0070\u002E\u0062\u0061\u0073\u0065\u0070\u006C\u0061\u0079\u0065\u0072\u002E\u006C\u0069\u0073\u0074\u0065\u006E\u0065\u0072\u0073\u002E\u0069\u006E\u0074\u0065\u0072\u006E\u0061\u006C\u0073\u002E\u0041\u0064\u004C\u006F\u0061\u0064\u0065\u0072\u004E\u006F\u0064\u0065\u004C\u0069\u0073\u0074\u0065\u006E\u0065\u0072',xmp.$.$5C);xmp.$.$5C.prototype.i_$18D=function(aq,bq){if(bq.isError()){aq.getPlayableData().i_$VY(bq.getErrorMessage());}
else{var cq=aq.i_$U5(true);if(cq.isError()){aq.getPlayableData().i_$VY(cq.getErrorMessage());}
else{aq.getPlayableData().i_$VX(cq.getDataObject());}}};xmp.$.$5D=function(dq){xmp.$.$5D.ctor.call(this,'NonAdLoader',dq);};xmp.DERIVE_CLASS(xmp.$.$4K,xmp.$.$5D);xmp.$.$3.i_$PZ('\u0078\u006D\u0070\u002E\u0062\u0061\u0073\u0065\u0070\u006C\u0061\u0079\u0065\u0072\u002E\u006C\u0069\u0073\u0074\u0065\u006E\u0065\u0072\u0073\u002E\u0069\u006E\u0074\u0065\u0072\u006E\u0061\u006C\u0073\u002E\u004E\u006F\u006E\u0041\u0064\u004C\u006F\u0061\u0064\u0065\u0072\u004E\u006F\u0064\u0065\u004C\u0069\u0073\u0074\u0065\u006E\u0065\u0072',xmp.$.$5D);xmp.i_$OH("xmp.baseplayer.listeners.internals");xmp.$.$5E=function(eq){this.p_$X=xmp.$.$16.i_$S2('FirstFrameNodeListener');this.p_$N1=10000;this.p_$N2=null;this.p_$N3="FIRST_FRAME_TIMER";this.p_$GH=null;xmp.$.$5E.ctor.call(this,'FirstFrameCheck',eq);};xmp.DERIVE_CLASS(xmp.$.$4I,xmp.$.$5E);xmp.$.$3.i_$PZ('\u0078\u006D\u0070\u002E\u0062\u0061\u0073\u0065\u0070\u006C\u0061\u0079\u0065\u0072\u002E\u006C\u0069\u0073\u0074\u0065\u006E\u0065\u0072\u0073\u002E\u0069\u006E\u0074\u0065\u0072\u006E\u0061\u006C\u0073\u002E\u0046\u0069\u0072\u0073\u0074\u0046\u0072\u0061\u006D\u0065\u004E\u006F\u0064\u0065\u004C\u0069\u0073\u0074\u0065\u006E\u0065\u0072',xmp.$.$5E);xmp.$.$5E.prototype.handleConnecting=function(fq){if(fq.getMimeType()!==xmp.FLASH_MIME_TYPE){return;}
if(this.p_$N2){this.p_$N2.i_$RN();}
var gq=new xmp.$.$M('basePlayerTimeout',this.p_$N4,this);var hq=xmp.$.$1B.i_$P4().getGlobalContextNode();var iq=hq.getInt('first frame timeout',this.p_$N1);this.p_$N2=new xmp.$.$1C(this.p_$N3,iq,1,gq);this.p_$GH=fq;this.p_$N5(this.p_$N2);};xmp.$.$5E.prototype.handleFirstFrameRendered=function(jq){this.p_$8V();};xmp.$.$5E.prototype.handlePause=function(kq){this.p_$8V();};xmp.$.$5E.prototype.handleStop=function(lq){this.p_$8V();};xmp.$.$5E.prototype.handleRewind=function(mq){this.p_$8V();};xmp.$.$5E.prototype.handleFastForward=function(nq){this.p_$8V();};xmp.$.$5E.prototype.handleSeekable=function(oq){this.p_$8V();};xmp.$.$5E.prototype.handleError=function(pq,e){this.p_$8V();};xmp.$.$5E.prototype.p_$8V=function(){this.p_$GH=null;this.p_$N6(this.p_$N2);this.p_$N2=null;};xmp.$.$5E.prototype.p_$N4=function(){var qq=xmp.$.$P.i_$SI(xmp.$.$1E.CRITICAL_FIRST_FRAME_TIMEOUT,'FirstFrameNodeListener',"Timeout received in playing "+this.p_$GH.getBestId());this.p_$X.i_$TJ('First Frame Timeout',qq);this.getPlayer().close(this.getPlayerContext());this.getPlayer().i_$SW(this.p_$GH,qq,this.getPlayerContext());this.p_$8V();};xmp.$.$5E.prototype.p_$N5=function(rq){if(rq){rq.i_$RL();}};xmp.$.$5E.prototype.p_$N6=function(sq){if(sq){sq.i_$RN();}};xmp.i_$OH("xmp.baseplayer.listeners.internals");xmp.$.$5F=function(tq){this.p_$MM=xmp.$.$5F;xmp.$.$5F.ctor.call(this,this.p_$MM.p_$N7,tq);};xmp.DERIVE_CLASS(xmp.$.$4J,xmp.$.$5F);xmp.$.$3.i_$PZ('\u0078\u006D\u0070\u002E\u0062\u0061\u0073\u0065\u0070\u006C\u0061\u0079\u0065\u0072\u002E\u006C\u0069\u0073\u0074\u0065\u006E\u0065\u0072\u0073\u002E\u0069\u006E\u0074\u0065\u0072\u006E\u0061\u006C\u0073\u002E\u004D\u0065\u0074\u0065\u0072\u0069\u006E\u0067\u004E\u006F\u0064\u0065\u004C\u0069\u0073\u0074\u0065\u006E\u0065\u0072',xmp.$.$5F);xmp.$.$5F.p_$N7="Metering";xmp.i_$OH("xmp.baseplayer.listeners.internals");xmp.$.$5G=function(uq){xmp.$.$5G.ctor.call(this,'PromoLoader',uq);};xmp.DERIVE_CLASS(xmp.$.$4I,xmp.$.$5G);xmp.$.$3.i_$PZ('\u0078\u006D\u0070\u002E\u0062\u0061\u0073\u0065\u0070\u006C\u0061\u0079\u0065\u0072\u002E\u006C\u0069\u0073\u0074\u0065\u006E\u0065\u0072\u0073\u002E\u0069\u006E\u0074\u0065\u0072\u006E\u0061\u006C\u0073\u002E\u0050\u0072\u006F\u006D\u006F\u004C\u006F\u0061\u0064\u0065\u0072\u004E\u006F\u0064\u0065\u004C\u0069\u0073\u0074\u0065\u006E\u0065\u0072',xmp.$.$5G);xmp.$.$5G.prototype.i_$189=function(vq){if(vq.getPlayableData().isError()){return true;}
return vq.getPlayableData().isLoaded();};xmp.$.$5G.prototype.i_$18A=function(wq,xq){var yq=xmp.$.$5M.i_$P4().i_$Q7('videoPromoMeta');var zq=new xmp.$.$M('gotPromoCallback',this.p_$N8,this);zq.i_$V6('RelayCallback',xq);yq.i_$1AK(wq,zq);yq.i_$11Z();};xmp.$.$5G.prototype.p_$N8=function(Aq,Bq){var Cq=Aq.i_$V8('RelayCallback',{});Cq.i_$OY(Bq);};xmp.i_$OH("xmp.baseplayer.listeners.internals");xmp.$.$5H=function(Dq){this.p_$MM=xmp.$.$5H;xmp.$.$5H.ctor.call(this,this.p_$MM.p_$N9,Dq);};xmp.DERIVE_CLASS(xmp.$.$4J,xmp.$.$5H);xmp.$.$3.i_$PZ('\u0078\u006D\u0070\u002E\u0062\u0061\u0073\u0065\u0070\u006C\u0061\u0079\u0065\u0072\u002E\u006C\u0069\u0073\u0074\u0065\u006E\u0065\u0072\u0073\u002E\u0069\u006E\u0074\u0065\u0072\u006E\u0061\u006C\u0073\u002E\u0054\u0072\u0061\u0063\u006B\u0069\u006E\u0067\u004E\u006F\u0064\u0065\u004C\u0069\u0073\u0074\u0065\u006E\u0065\u0072',xmp.$.$5H);xmp.$.$5H.p_$N9="Tracking";xmp.i_$OH("xmp.baseplayer.listeners.logging");xmp.$.$5I=function(Eq){xmp.$.$5I.ctor.call(this,Eq);};xmp.DERIVE_CLASS(xmp.$.$L,xmp.$.$5I);xmp.$.$3.i_$PZ('\u0078\u006D\u0070\u002E\u0062\u0061\u0073\u0065\u0070\u006C\u0061\u0079\u0065\u0072\u002E\u006C\u0069\u0073\u0074\u0065\u006E\u0065\u0072\u0073\u002E\u006C\u006F\u0067\u0067\u0069\u006E\u0067\u002E\u0045\u0072\u0072\u006F\u0072\u004C\u006F\u0067\u0067\u0065\u0072\u004C\u0069\u0073\u0074\u0065\u006E\u0065\u0072',xmp.$.$5I);xmp.$.$5I.prototype.i_$V0=function(Fq,Gq,Hq,Iq){if(Fq>xmp.$.$14.i_$VT&&Fq<=this.i_$V1()){this.p_$NA(Fq,Gq,Hq,Iq);}};xmp.$.$5I.prototype.p_$NA=function(Jq,Kq,Lq,Mq){try{var Nq=xmp.$.$Q.i_$TB(xmp.$.$1E.FATAL_UNSPECIFIED_ERROR,'BasePlayer',xmp.i_$ON(Mq));xmp.baseplayer.BasePlayer.i_$19G(Nq);xmp.i_$OZ(Lq);if(Mq instanceof xmp.$.$4Q){this.p_$NB(Lq,Mq);}
xmp.$.$15.i_$P4().i_$VA("ErrorLogger",Lq,Mq);}
catch(secondE){xmp.i_$OZ('Second chance exception while raising fatal exception: '+xmp.i_$ON(secondE));}};xmp.$.$5I.prototype.p_$NB=function(Oq,Pq){if(Oq===null||Oq===undefined){Oq="Unknown error";}
var Qq=Oq;var Rq="";if(Pq instanceof xmp.$.$4Q){Qq=Pq.message;var ie=Pq.getInnerError();if(ie!==null&&ie!==undefined){Rq=ie.message;}}
if(xmp.i_$P9()){this.p_$NC(Qq,Rq);}else{this.p_$ND(Qq,Rq);}};xmp.$.$5I.prototype.p_$NC=function(Sq,Tq){var re=/[\n\f\r]/gm;Sq=Sq.replace(re,'<br/>');Tq=Tq.replace(re,'<br/>');var Uq="width=500,height=400,toolbar=0,";Uq+="status=0,menubar=0,scrollbars=1,resizable=0";var Vq=window.open("","",Uq);var Wq=Vq.document;Wq.open();Wq.writeln("<html><head>");Wq.writeln("<title>Error</title>");Wq.writeln("<script type='text/javascript'>");Wq.writeln("var showDetails = function()");Wq.writeln("{");Wq.writeln("  document.getElementById('mode').value = 'Hide Details';");Wq.writeln("  document.getElementById('details').innerHTML = '"+Tq+"';");Wq.writeln("}");Wq.writeln("var hideDetails = function()");Wq.writeln("{");Wq.writeln("  document.getElementById('mode').value = 'Show Details';");Wq.writeln("  document.getElementById('details').innerHTML = '';");Wq.writeln("}");Wq.writeln("var showHideDetails = function()");Wq.writeln("{");Wq.writeln("  var mv = document.getElementById('mode').value;");Wq.writeln("  if (mv == 'Show Details')");Wq.writeln("    showDetails();");Wq.writeln("  else");Wq.writeln("    hideDetails();");Wq.writeln("}");Wq.writeln("</script>");Wq.writeln("</head><body onblur='window.focus();'>");Wq.writeln("<p style='color:red'><b>"+Sq+"</b></p>");Wq.writeln("<fieldset>");Wq.writeln("<legend><input type=button id=mode value='Show Details' onclick='showHideDetails();' /></legend>");Wq.writeln("<div id=details></div>");Wq.writeln("</fieldset>");Wq.writeln("<p align=right><input type=button value=Close onclick='window.close();' /></p>");Wq.writeln("</body></html>");Wq.close();};xmp.$.$5I.prototype.p_$ND=function(Xq,Yq){xmp.i_$P0(Xq);};xmp.i_$OH("xmp.baseplayer.listeners.logging");xmp.$.$5J=function(Zq){var $q=Zq.getGlobalContextNode();var ar=$q.getNodeForPath('Instrumentation');var br=xmp.$.$14.i_$SL(ar.getString('thresholdLevel','critical'));var cr=Math.min(xmp.$.$14.i_$VS,br);xmp.$.$5J.ctor.call(this,cr);this.p_$NE=new xmp.$.$5K(Zq);};xmp.DERIVE_CLASS(xmp.$.$L,xmp.$.$5J);xmp.$.$3.i_$PZ('\u0078\u006D\u0070\u002E\u0062\u0061\u0073\u0065\u0070\u006C\u0061\u0079\u0065\u0072\u002E\u006C\u0069\u0073\u0074\u0065\u006E\u0065\u0072\u0073\u002E\u006C\u006F\u0067\u0067\u0069\u006E\u0067\u002E\u0049\u006E\u0073\u0074\u0072\u0075\u006D\u0065\u006E\u0074\u0061\u0074\u0069\u006F\u006E\u004C\u006F\u0067\u0067\u0065\u0072\u004C\u0069\u0073\u0074\u0065\u006E\u0065\u0072',xmp.$.$5J);xmp.$.$5J.prototype.i_$V0=function(dr,er,fr,gr){if(dr<=this.i_$V1()){this.p_$NA(dr,er,gr);}};xmp.$.$5J.prototype.i_$V2=function(hr,ir,jr){};xmp.$.$5J.prototype.p_$NA=function(kr,lr,mr){this.p_$NE.i_$1AL(xmp.$.$18.i_$P4(),mr);};xmp.$.$5K=function(nr){var or=nr.getGlobalContextNode();var pr=or.getNodeForPath('Instrumentation');this.p_$NF=pr.getInt('maxPostsPerSession',1);this.p_$NG=0;this.p_$NH=pr.getString('postUrl','');this.p_$NI=null;};xmp.$.$3.i_$PZ('\u0078\u006D\u0070\u002E\u0062\u0061\u0073\u0065\u0070\u006C\u0061\u0079\u0065\u0072\u002E\u006C\u0069\u0073\u0074\u0065\u006E\u0065\u0072\u0073\u002E\u006C\u006F\u0067\u0067\u0069\u006E\u0067\u002E\u0048\u0074\u0074\u0070\u0050\u006F\u0073\u0074\u0048\u0061\u006E\u0064\u006C\u0065\u0072',xmp.$.$5K);xmp.$.$5K.prototype.p_$NJ=function(qr,rr){if(this.p_$NH.length>0){var sr=this.p_$NK(qr,rr);var tr=window.document.createElement('div');tr.style.display='none';window.document.body.insertBefore(tr,null);var ur='post';var vr="<form name='xmp_fatalErrorReportingForm' id='xmp_fatalErrorReportingForm' target='xmp_fatalErrorReportingFormIFrame' ";vr+=("action='"+this.p_$NH+"' ");vr+=("method='"+ur+"' ");vr+=(">");for(var wr=xmp.$.$4.i_$Q7(sr);wr.i_$Q9();wr.i_$QB()){var xr=wr.i_$QC();var yr=wr.i_$QD();vr+=("<input type='hidden' id='"+xr+"' name='"+xr+"' value='"+yr+"'/>");}
vr+=("</form><iframe id='xmp_fatalErrorReportingFormIFrame' name='xmp_fatalErrorReportingFormIFrame'/>");tr.innerHTML=vr;this.p_$NI=tr;}};xmp.$.$5K.prototype.p_$NL=function(zr,Ar){var Br=window.document.xmp_fatalErrorReportingForm;var Cr=this.p_$NK(zr,Ar);for(var Dr=xmp.$.$4.i_$Q7(Cr);Dr.i_$Q9();Dr.i_$QB()){var Er=Dr.i_$QC();var Fr=Dr.i_$QD();Br[Er].value=Fr;}};xmp.$.$5K.prototype.i_$1AL=function(Gr,Hr){if(this.p_$NG>=this.p_$NF){return;}
this.p_$NG++;if(this.p_$NI===null){this.p_$NJ(Gr,Hr);}
else{this.p_$NL(Gr,Hr);}
if(this.p_$NI){var Ir=window.document.xmp_fatalErrorReportingForm;Ir.submit();}};xmp.$.$5K.prototype.p_$NK=function(Jr,Kr){var Lr={};Lr.timestamp=((new Date()).getTime()).toString();Lr.reason=this.p_$1Y(Kr).toString();Lr.detail=Kr.message;var Mr=Jr.i_$WF();for(var i=0;i<Mr.length;++i){var Nr=Mr[i];var Or=Jr.i_$WE(Nr);Lr[Nr.toLowerCase()]=Or;}
return Lr;};xmp.$.$5K.prototype.p_$1Y=function(Pr){if(Pr instanceof xmp.$.$Q){return Pr.getFatalErrorCode();}
if(Pr instanceof xmp.$.$P){return Pr.i_$VL();}
return xmp.$.$1E.NONE;};xmp.i_$OH("xmp.services");xmp.i_$OH("xmp.services.logging");xmp.$.$5L=function(){};xmp.$.$3.i_$PZ('\u0078\u006D\u0070\u002E\u0073\u0065\u0072\u0076\u0069\u0063\u0065\u0073\u002E\u006C\u006F\u0067\u0067\u0069\u006E\u0067\u002E\u0053\u0079\u0073\u0074\u0065\u006D\u004C\u006F\u0067\u004C\u0069\u0073\u0074\u0065\u006E\u0065\u0072\u0073',xmp.$.$5L);xmp.$.$5L.i_$S5=function(Qr,cb){var Rr=Qr.getGlobalContextNode();var Sr=Rr.getNodeForPath('Instrumentation');var Tr=Sr.getBoolean('enabled',false);if(Tr===true){var Ur=new xmp.services.logging.InstrumentationLoggerListener(Qr);xmp.$.$15.i_$P4().i_$W7(Ur);}
var Vr=xmp.i_$PJ('xmpErrorThreshold','fatal');var Wr=xmp.$.$14.i_$SL(Vr);Wr=Math.min(xmp.$.$14.i_$W4,Wr);var Xr=new xmp.services.logging.ErrorLoggerListener(Wr);xmp.$.$15.i_$P4().i_$W7(Xr);cb.i_$OY();};xmp.i_$OH("xmp.baseplayer");xmp.$.$5M=function(){this.p_$NM=0;this.p_$8={};this.p_$NN={};this.p_$NO(xmp.$.$1B.i_$P4());};xmp.$.$3.i_$PZ('\u0078\u006D\u0070\u002E\u0062\u0061\u0073\u0065\u0070\u006C\u0061\u0079\u0065\u0072\u002E\u004D\u0065\u0074\u0061\u0046\u0069\u006C\u0065\u004C\u006F\u0061\u0064\u0065\u0072\u0046\u0061\u0063\u0074\u006F\u0072\u0079',xmp.$.$5M);xmp.$.$5M.p_$16=null;xmp.$.$5M.i_$P4=function(){if(xmp.$.$5M.p_$16===null){xmp.$.$5M.p_$16=new xmp.$.$5M();}
return xmp.$.$5M.p_$16;};xmp.$.$5M.prototype.i_$S5=function(Yr,Zr){this.p_$NO(Yr);Zr.i_$OY();};xmp.$.$5M.prototype.i_$Q7=function($r){var as=this.p_$NP($r);this.p_$8[as.i_$19Q()]=as;return as;};xmp.$.$5M.prototype.p_$NP=function(bs){this.p_$NM++;var id=this.p_$NM.toString();var cs=this.p_$NN[bs];var ds=cs.JSClass;if(!ds){throw new Error('Unrecognized serializer type: '+bs);}
var es=xmp.$.$3.i_$PW(ds);var fs=es.i_$Q3([this,id,cs]);return fs;};xmp.$.$5M.prototype.i_$19S=function(gs){if(typeof this.p_$8[gs.i_$19Q()]!=='undefined'){delete this.p_$8[gs.i_$19Q()];}};xmp.$.$5M.prototype.p_$NO=function(hs){var is=hs.getGlobalContextNode().getNodeForPath('loaders');var js=is.retrieveChildrenNames();for(var i=0;i<js.length;i++){var ks=js[i];var ls=is.getNodeForPath(ks);this.p_$NN[ks]=ls.i_$WH();}};xmp.i_$OH("xmp.baseplayer");xmp.$.$5N=function(){};xmp.$.$3.i_$PZ('\u0078\u006D\u0070\u002E\u0062\u0061\u0073\u0065\u0070\u006C\u0061\u0079\u0065\u0072\u002E\u004E\u0075\u006C\u006C\u0056\u0069\u0065\u0077\u0070\u006F\u0072\u0074',xmp.$.$5N);xmp.$.$5N.prototype.getType=function(){return'null';};xmp.$.$5N.prototype.getSize=function(){return{width:0,height:0};};xmp.$.$5N.prototype.setSize=function(ms,ns){};xmp.$.$5N.prototype.moveTo=function(os,ps,qs,rs){};xmp.$.$5N.prototype.setStyle=function(ss){};xmp.$.$5N.prototype.getOverlay=function(ts){throw new Error('NullViewport.getOverlay is not implemented.');};xmp.$.$5N.prototype.showOverlays=function(){};xmp.$.$5N.prototype.hideOverlays=function(){};xmp.$.$5N.prototype.refreshOverlays=function(){};xmp.$.$5N.prototype.show=function(){};xmp.$.$5N.prototype.hide=function(){};xmp.$.$5O=function(){this.p_$6V=new xmp.$.$5N();};xmp.$.$3.i_$PZ('\u0078\u006D\u0070\u002E\u0062\u0061\u0073\u0065\u0070\u006C\u0061\u0079\u0065\u0072\u002E\u004E\u0075\u006C\u006C\u0050\u006C\u0061\u0079\u0065\u0072\u0043\u006F\u006E\u0074\u0065\u0078\u0074',xmp.$.$5O);xmp.$.$5O.p_$F8=new xmp.$.$5O();xmp.$.$5O.i_$19E=function(){return xmp.$.$5O.p_$F8;};xmp.$.$5O.prototype.getPlayerContextType=function(){return'null';};xmp.$.$5O.prototype.getPlayerContextName=function(){return'null';};xmp.$.$5O.prototype.i_$YA=function(us,vs){};xmp.$.$5O.prototype.i_$XX=function(){return this.p_$6V;};xmp.$.$5O.prototype.i_$T5=function(ws){};xmp.$.$5O.prototype.i_$T9=function(){};xmp.$.$5O.prototype.i_$YB=function(){};xmp.$.$5O.prototype.i_$YC=function(){};xmp.$.$5O.prototype.i_$RN=function(){};xmp.$.$5O.prototype.i_$YD=function(){};xmp.$.$5O.prototype.i_$YE=function(){};xmp.$.$5O.prototype.i_$YF=function(xs){};xmp.$.$5O.prototype.i_$YG=function(ys){return false;};xmp.$.$5O.prototype.i_$YH=function(){return 0;};xmp.$.$5O.prototype.i_$YI=function(){return 0;};xmp.$.$5O.prototype.i_$YJ=function(zs){};xmp.$.$5O.prototype.i_$YK=function(){return-1;};xmp.$.$5O.prototype.i_$YL=function(As){};xmp.$.$5O.prototype.i_$YM=function(){return false;};xmp.$.$5O.prototype.i_$YN=function(Bs){};xmp.$.$5O.prototype.i_$YO=function(){return false;};xmp.$.$5O.prototype.i_$YP=function(){return null;};xmp.i_$OH("xmp.baseplayer");xmp.$.$5P=function(Cs,id){this.p_$1G=id;this.p_$NQ=Cs;xmp.$.$5P.p_$NR++;this.p_$NS=xmp.$.$5P.p_$NR;};xmp.$.$3.i_$PZ('\u0078\u006D\u0070\u002E\u0062\u0061\u0073\u0065\u0070\u006C\u0061\u0079\u0065\u0072\u002E\u0050\u006C\u0061\u0079\u004C\u0069\u0073\u0074\u004D\u006F\u0064',xmp.$.$5P);xmp.$.$5P.p_$NR=0;xmp.$.$5P.prototype.getModNum=function(){return this.p_$NS;};xmp.$.$5P.prototype.getId=function(){return this.p_$1G;};xmp.$.$5P.prototype.getAction=function(){return this.p_$NQ;};xmp.i_$OH("xmp.baseplayer");xmp.$.$5Q=function(){this.p_$NT='';this.p_$NU='';this.p_$3O=new xmp.$.$V(false);this.p_$7N=null;};xmp.$.$3.i_$PZ('\u0078\u006D\u0070\u002E\u0062\u0061\u0073\u0065\u0070\u006C\u0061\u0079\u0065\u0072\u002E\u0054\u0072\u0069\u0067\u0067\u0065\u0072\u0043\u006F\u006E\u0074\u0065\u0078\u0074',xmp.$.$5Q);xmp.$.$5Q.prototype.getTriggerType=function(){return this.p_$NT;};xmp.$.$5Q.prototype.i_$185=function(Ds){this.p_$NT=(Ds)?Ds:'';};xmp.$.$5Q.prototype.getCommandData=function(){return this.p_$NU;};xmp.$.$5Q.prototype.i_$184=function(Es){this.p_$NU=(Es)?Es:'';};xmp.$.$5Q.prototype.getPlayableNode=function(){return this.p_$7N;};xmp.$.$5Q.prototype.i_$181=function(Fs){this.p_$7N=(Fs)?Fs:null;};xmp.$.$5Q.prototype.getMetadata=function(Gs,Hs){return this.p_$3O.i_$U3(Gs,Hs);};xmp.$.$5Q.prototype.setMetadata=function(Is,Js){this.p_$3O.i_$U4(Is,Js);};xmp.i_$19I={type:"system",map:[],nodes:[{name:"PlayerContexts",map:[],nodes:[{name:"Generic",map:[],nodes:[{name:"BasePlayer",map:[{key:"user can control ad",value:"true"},{key:"look ahead and behind count",value:"7"},{key:"bandwidth threshold",value:"500"},{key:"videoAdMetaLoader",value:"videoAdMeta"},{key:"Ad metering image URL",value:"NO_DEFAULT_VALUE"},{key:"rule classes relative URL",value:"NO_DEFAULT_VALUE"},{key:"rule classes namespace",value:"NO_DEFAULT_VALUE"}],nodes:[{name:"ad patterns",map:[],nodes:[]},{name:"PlayerSizes",map:[],nodes:[]}]},{name:"invariantRules",map:[],nodes:[]},{name:"Additional segvars",map:[],nodes:[]},{name:"pattern parameters",map:[],nodes:[]},{name:"ad resource metadata",map:[],nodes:[{name:"primary",map:[{key:"data type",value:"videoJson"},{key:"renderer",value:"node"}],nodes:[]},{name:"synch_unit",map:[{key:"data type",value:"url"},{key:"renderer",value:"external"}],nodes:[]}]},{name:"UrlStrategies",map:[],nodes:[{name:"Octoshape",map:[{key:"octo poll interval",value:"2000"},{key:"octo try limit",value:"8"},{key:"octo can use fn",value:"return false;"}],nodes:[{name:"url mapping",map:[],nodes:[]}]}]}]},{name:"Global",map:[{key:"first frame timeout",value:"10000"}],nodes:[{name:"rootUrlMap",map:[],nodes:[{name:"videoContentMeta",map:[{key:"rootUrl",value:"NO_DEFAULT_VALUE"},{key:"transportType",value:"flash"}],nodes:[]},{name:"videoTracking",map:[{key:"rootUrl",value:"NO_DEFAULT_VALUE"},{key:"transportType",value:"flash"}],nodes:[]},{name:"videoPromoMeta",map:[{key:"rootUrl",value:"NO_DEFAULT_VALUE"},{key:"transportType",value:"flash"}],nodes:[]},{name:"adPolicy",map:[{key:"rootUrl",value:"NO_DEFAULT_VALUE"},{key:"transportType",value:"flash"}],nodes:[]},{name:"ruleClasses",map:[{key:"rootUrl",value:"NO_DEFAULT_VALUE"},{key:"transportType",value:"flash"}],nodes:[]},{name:"adMan",map:[{key:"rootUrl",value:"NO_DEFAULT_VALUE"},{key:"transportType",value:"flash"}],nodes:[]},{name:"dhtmlObject",map:[{key:"rootUrl",value:"NO_DEFAULT_VALUE"},{key:"transportType",value:"flash"}],nodes:[]},{name:"errorDhtmlObject",map:[{key:"rootUrl",value:"NO_DEFAULT_VALUE"},{key:"transportType",value:"xhr"}],nodes:[]},{name:"controlStreamResource",map:[{key:"rootUrl",value:"NO_DEFAULT_VALUE"},{key:"transportType",value:"flash"}],nodes:[]},{name:"internalUserCheckResource",map:[{key:"rootUrl",value:"NO_DEFAULT_VALUE"}],nodes:[]},{name:"video",map:[],nodes:[{name:"Flash",map:[],nodes:[{name:"ad",map:[{key:"rootUrl",value:"NO_DEFAULT_VALUE"}],nodes:[]},{name:"vod",map:[{key:"rootUrl",value:"NO_DEFAULT_VALUE"}],nodes:[]}]},{name:"WindowsMedia",map:[],nodes:[{name:"ad",map:[{key:"rootUrl",value:"NO_DEFAULT_VALUE"}],nodes:[]},{name:"vod",map:[{key:"rootUrl",value:"NO_DEFAULT_VALUE"}],nodes:[]},{name:"live",map:[{key:"rootUrl",value:"NO_DEFAULT_VALUE"}],nodes:[]},{name:"control",map:[{key:"rootUrl",value:"NO_DEFAULT_VALUE"}],nodes:[]}]},{name:"QuickTime",map:[],nodes:[{name:"vod",map:[{key:"rootUrl",value:"NO_DEFAULT_VALUE"}],nodes:[]}]}]},{name:"image",map:[{key:"rootUrl",value:"NO_DEFAULT_VALUE"},{key:"transportType",value:"flash"}],nodes:[]},{name:"adVideo",map:[{key:"rootUrl",value:"NO_DEFAULT_VALUE"},{key:"transportType",value:"flash"}],nodes:[]},{name:"swf",map:[{key:"rootUrl",value:"NO_DEFAULT_VALUE"},{key:"transportType",value:"flash"}],nodes:[]},{name:"adServer",map:[{key:"rootUrl",value:"NO_DEFAULT_VALUE"},{key:"transportType",value:"flash"}],nodes:[]},{name:"adCompositor",map:[{key:"rootUrl",value:"NO_DEFAULT_VALUE"},{key:"transportType",value:"flash"},{key:"requestVerb",value:"POST"}],nodes:[]},{name:"instrumentation",map:[{key:"rootUrl",value:"NO_DEFAULT_VALUE"},{key:"transportType",value:"flash"},{key:"requestVerb",value:"POST"}],nodes:[]}]},{name:"loaders",map:[],nodes:[{name:"videoContentMeta",map:[{key:"JSClass",value:"xmp.baseplayer.internals.VideoContentMetaFileLoader"},{key:"metaType",value:"videoContentMeta"},{key:"loaderType",value:"VideoContentMetaFileLoader"},{key:"contentType",value:"json"},{key:"appErrorType",value:"FailToGetVideoJson"},{key:"maxCacheTime",value:"-1"}],nodes:[]},{name:"videoPromoMeta",map:[{key:"JSClass",value:"xmp.baseplayer.internals.VideoPromoMetaFileLoader"}],nodes:[]},{name:"videoAdMeta",map:[{key:"JSClass",value:"xmp.baseplayer.internals.ClientSideAdCompositorMetaFileLoader"}],nodes:[]},{name:"videoCompositeAdMeta",map:[{key:"JSClass",value:"xmp.baseplayer.internals.ServerSideAdCompositorMetaFileLoader"},{key:"serverRelUrl",value:"/multi"}],nodes:[]},{name:"videoAdOnly",map:[{key:"JSClass",value:"xmp.baseplayer.internals.GenericMetaFileLoader"},{key:"metaType",value:"adServer"},{key:"loaderType",value:"VideoAdOnlyMetaFileLoader"},{key:"contentType",value:"text"},{key:"appErrorType",value:"FailToGetAdVideo"},{key:"maxCacheTime",value:"0"}],nodes:[]},{name:"videoAdCompositorServer",map:[{key:"JSClass",value:"xmp.baseplayer.internals.GenericMetaFileLoader"},{key:"metaType",value:"adCompositor"},{key:"loaderType",value:"VideoAdCompositorServerMetaFileLoader"},{key:"contentType",value:"text"},{key:"appErrorType",value:"FailToGetAdVideo"},{key:"maxCacheTime",value:"0"}],nodes:[]},{name:"dhtmlObject",map:[{key:"JSClass",value:"xmp.baseplayer.internals.GenericMetaFileLoader"},{key:"metaType",value:"dhtmlObject"},{key:"loaderType",value:"DhtmlObjectMetaFileLoader"},{key:"contentType",value:"json"},{key:"appErrorType",value:"FailToGetDhtmlObject"},{key:"maxCacheTime",value:"-1"}],nodes:[]},{name:"errorDhtmlObject",map:[{key:"JSClass",value:"xmp.baseplayer.internals.GenericMetaFileLoader"},{key:"metaType",value:"errorDhtmlObject"},{key:"loaderType",value:"ErrorDhtmlObjectMetaFileLoader"},{key:"contentType",value:"json"},{key:"appErrorType",value:"FailToGetDhtmlObject"},{key:"maxCacheTime",value:"-1"}],nodes:[]},{name:"adMan",map:[{key:"JSClass",value:"xmp.baseplayer.internals.GenericMetaFileLoader"},{key:"metaType",value:"adMan"},{key:"loaderType",value:"AdManMetaFileLoader"},{key:"contentType",value:"text"},{key:"appErrorType",value:"FailToGetAdMan"},{key:"maxCacheTime",value:"0"}],nodes:[]}]},{name:"Media Player",map:[{key:"Bandwidth Sample Interval",value:"5000"},{key:"Fullscreen Enabled",value:"true"},{key:"Stretch To Fit",value:"true"}],nodes:[]},{name:"PlayingPolicy",map:[],nodes:[{name:"Streaming Modes",map:[{key:"001",value:"live"},{key:"002",value:"control"},{key:"003",value:"ad"},{key:"004",value:"vod"}],nodes:[]},{name:"PlugIns",map:[],nodes:[{name:"Flash",map:[{key:"display-name",value:"Flash PlugIn/ActiveX Player"},{key:"minimum-version",value:"8.0.0"},{key:"download-url",value:"http://www.adobe.com/go/getflashplayer"}],nodes:[]},{name:"WindowsMedia",map:[{key:"display-name",value:"Windows Media Player"},{key:"minimum-version",value:"9.0.0"},{key:"download-url",value:"http://www.microsoft.com/windows/windowsmedia/download"}],nodes:[]},{name:"TurnerMedia",map:[{key:"display-name",value:"Turner Media Plugin"},{key:"minimum-version",value:"1.0.0.10"},{key:"download-url",value:"http://www.cnn.com/download"}],nodes:[]},{name:"QuickTime",map:[{key:"display-name",value:"QuickTime Plugin"},{key:"minimum-version",value:"7.1.2"},{key:"download-url",value:"http://www.apple.com/quicktime/download"}],nodes:[]},{name:"Flip4Mac",map:[{key:"display-name",value:"Flip4Mac Plugin"},{key:"minimum-version",value:"2.1"},{key:"download-url",value:"http://www.flip4mac.com/downloads/wmv_components/Flip4Mac%20WMV%202.1.3.10.dmg"}],nodes:[]},{name:"Octoshape",map:[{key:"display-name",value:"Octoshape Plugin"},{key:"minimum-version",value:"please-get-latest-release-version"},{key:"download-url",value:"http://octoshape.com/plugin/getos.asp?variant=TURNER.INTERNAL"}],nodes:[]}]},{name:"Native Players",map:[],nodes:[{name:"xmp.FlashPlayer",map:[{key:"Buffer Time",value:"4000"},{key:"Streaming Video Adapter",value:"StreamingVideoMedia"}],nodes:[]},{name:"xmp.WindowsMediaPlayer",map:[],nodes:[]},{name:"xmp.WindowsMediaPlugInPlayer",map:[],nodes:[]},{name:"xmp.QuickTimePlayer",map:[{key:"State Change Polling Interval",value:"200"},{key:"Connection Timeout Interval",value:"30000"}],nodes:[]},{name:"xmp.ImagePlayer",map:[],nodes:[]}]},{name:"Native Player Groups",map:[],nodes:[{name:"WindowsIEPlayers",map:[],nodes:[{name:"001",map:[{key:"mime-type",value:"video/x-ms-wmv"}],nodes:[{name:"Players",map:[{key:"001",value:"xmp.WindowsMediaPlayer"}],nodes:[]}]},{name:"002",map:[{key:"mime-type",value:"video/x-flv"}],nodes:[{name:"Players",map:[{key:"001",value:"xmp.FlashPlayer"}],nodes:[]}]},{name:"003",map:[{key:"mime-type",value:"application/x-image"}],nodes:[{name:"Players",map:[{key:"001",value:"xmp.ImagePlayer"}],nodes:[]}]},{name:"004",map:[{key:"mime-type",value:"video/quicktime"}],nodes:[{name:"Players",map:[{key:"001",value:"xmp.QuickTimePlayer"}],nodes:[]}]},{name:"005",map:[{key:"mime-type",value:"application/x-shockwave-flash"}],nodes:[{name:"Players",map:[{key:"001",value:"xmp.FlashPlayer"}],nodes:[]}]}]},{name:"WindowsMozillaPlayers",map:[],nodes:[{name:"001",map:[{key:"mime-type",value:"video/x-ms-wmv"}],nodes:[{name:"Players",map:[{key:"001",value:"xmp.WindowsMediaPlugInPlayer"}],nodes:[]}]},{name:"002",map:[{key:"mime-type",value:"video/x-flv"}],nodes:[{name:"Players",map:[{key:"001",value:"xmp.FlashPlayer"}],nodes:[]}]},{name:"003",map:[{key:"mime-type",value:"application/x-image"}],nodes:[{name:"Players",map:[{key:"001",value:"xmp.ImagePlayer"}],nodes:[]}]},{name:"004",map:[{key:"mime-type",value:"video/quicktime"}],nodes:[{name:"Players",map:[{key:"001",value:"xmp.QuickTimePlayer"}],nodes:[]}]},{name:"005",map:[{key:"mime-type",value:"application/x-shockwave-flash"}],nodes:[{name:"Players",map:[{key:"001",value:"xmp.FlashPlayer"}],nodes:[]}]}]},{name:"MacPlayers",map:[],nodes:[{name:"001",map:[{key:"mime-type",value:"video/x-ms-wmv"}],nodes:[{name:"Players",map:[{key:"001",value:"xmp.QuickTimePlayer"}],nodes:[]}]},{name:"002",map:[{key:"mime-type",value:"video/x-flv"}],nodes:[{name:"Players",map:[{key:"001",value:"xmp.FlashPlayer"}],nodes:[]}]},{name:"003",map:[{key:"mime-type",value:"application/x-image"}],nodes:[{name:"Players",map:[{key:"001",value:"xmp.ImagePlayer"}],nodes:[]}]},{name:"004",map:[{key:"mime-type",value:"video/quicktime"}],nodes:[{name:"Players",map:[{key:"001",value:"xmp.QuickTimePlayer"}],nodes:[]}]},{name:"005",map:[{key:"mime-type",value:"application/x-shockwave-flash"}],nodes:[{name:"Players",map:[{key:"001",value:"xmp.FlashPlayer"}],nodes:[]}]}]},{name:"LinuxPlayers",map:[],nodes:[{name:"001",map:[{key:"mime-type",value:"video/x-flv"}],nodes:[{name:"Players",map:[{key:"001",value:"xmp.FlashPlayer"}],nodes:[]}]},{name:"002",map:[{key:"mime-type",value:"application/x-image"}],nodes:[{name:"Players",map:[{key:"001",value:"xmp.ImagePlayer"}],nodes:[]}]},{name:"003",map:[{key:"mime-type",value:"application/x-shockwave-flash"}],nodes:[{name:"Players",map:[{key:"001",value:"xmp.FlashPlayer"}],nodes:[]}]}]}]},{name:"Supported Platforms",map:[],nodes:[{name:"Windows",map:[{key:"Explorer",value:"WindowsIEPlayers"},{key:"Firefox",value:"WindowsMozillaPlayers"},{key:"Opera",value:"WindowsMozillaPlayers"},{key:"Netscape",value:"WindowsMozillaPlayers"},{key:"Safari",value:"WindowsMozillaPlayers"},{key:"SeaMonkey",value:"WindowsMozillaPlayers"}],nodes:[{name:"PlugIns Overrides",map:[],nodes:[{name:"QuickTime",map:[{key:"minimum-version",value:"7.1.5"}],nodes:[]}]}]},{name:"Mac",map:[{key:"Safari",value:"MacPlayers"},{key:"Firefox",value:"MacPlayers"},{key:"Netscape",value:"MacPlayers"},{key:"Camino",value:"MacPlayers"},{key:"SeaMonkey",value:"MacPlayers"},{key:"Opera",value:"MacPlayers"}],nodes:[{name:"PlugIns Overrides",map:[],nodes:[{name:"Octoshape",map:[{key:"download-url",value:"http://www.octoshape.com/plugin/mac.asp"}],nodes:[]}]}]},{name:"Linux",map:[{key:"Firefox",value:"LinuxPlayers"},{key:"Opera",value:"LinuxPlayers"},{key:"Netscape",value:"LinuxPlayers"},{key:"SeaMonkey",value:"LinuxPlayers"},{key:"Konqueror",value:"LinuxPlayers"}],nodes:[{name:"PlugIns Overrides",map:[],nodes:[{name:"Octoshape",map:[{key:"download-url",value:"http://www.octoshape.com/plugin/linux.asp"}],nodes:[]}]}]}]},{name:"MediaTypes",map:[],nodes:[{name:"Flash",map:[{key:"mime-type",value:"video/x-flv"}],nodes:[]},{name:"WindowsMedia",map:[{key:"mime-type",value:"video/x-ms-wmv"}],nodes:[]},{name:"QuickTime",map:[{key:"mime-type",value:"video/quicktime"}],nodes:[]},{name:"Image",map:[{key:"mime-type",value:"application/x-image"}],nodes:[]},{name:"SWF",map:[{key:"mime-type",value:"application/x-shockwave-flash"}],nodes:[]}]},{name:"Playback Priority Groups",map:[],nodes:[{name:"DefaultVODPlayback",map:[{key:"001",value:"WindowsMedia"},{key:"002",value:"Flash"},{key:"003",value:"QuickTime"},{key:"004",value:"SWF"}],nodes:[]},{name:"DefaultAdPlayback",map:[{key:"001",value:"Flash"},{key:"002",value:"WindowsMedia"},{key:"003",value:"QuickTime"}],nodes:[]},{name:"DefaultLivePlayback",map:[{key:"001",value:"WindowsMedia"},{key:"002",value:"Flash"}],nodes:[]},{name:"DefaultControlPlayback",map:[{key:"001",value:"WindowsMedia"},{key:"002",value:"Flash"}],nodes:[]}]},{name:"Playback Platforms",map:[],nodes:[{name:"Windows",map:[],nodes:[{name:"Explorer",map:[{key:"ad",value:"DefaultAdPlayback"},{key:"vod",value:"DefaultVODPlayback"},{key:"live",value:"DefaultLivePlayback"},{key:"control",value:"DefaultControlPlayback"}],nodes:[]},{name:"Firefox",map:[{key:"ad",value:"DefaultAdPlayback"},{key:"vod",value:"DefaultVODPlayback"},{key:"live",value:"DefaultLivePlayback"},{key:"control",value:"DefaultControlPlayback"}],nodes:[]},{name:"Opera",map:[{key:"ad",value:"DefaultAdPlayback"},{key:"vod",value:"DefaultVODPlayback"},{key:"live",value:"DefaultLivePlayback"},{key:"control",value:"DefaultControlPlayback"}],nodes:[]},{name:"Netscape",map:[{key:"ad",value:"DefaultAdPlayback"},{key:"vod",value:"DefaultVODPlayback"},{key:"live",value:"DefaultLivePlayback"},{key:"control",value:"DefaultControlPlayback"}],nodes:[]},{name:"Safari",map:[{key:"ad",value:"DefaultAdPlayback"},{key:"vod",value:"DefaultVODPlayback"},{key:"live",value:"DefaultLivePlayback"},{key:"control",value:"DefaultControlPlayback"}],nodes:[]},{name:"SeaMonkey",map:[{key:"ad",value:"DefaultAdPlayback"},{key:"vod",value:"DefaultVODPlayback"},{key:"live",value:"DefaultLivePlayback"},{key:"control",value:"DefaultControlPlayback"}],nodes:[]}]},{name:"Mac",map:[],nodes:[{name:"Safari",map:[{key:"ad",value:"DefaultAdPlayback"},{key:"vod",value:"DefaultVODPlayback"},{key:"live",value:"DefaultLivePlayback"},{key:"control",value:"DefaultControlPlayback"}],nodes:[]},{name:"Opera",map:[{key:"ad",value:"DefaultAdPlayback"},{key:"vod",value:"DefaultVODPlayback"},{key:"live",value:"DefaultLivePlayback"},{key:"control",value:"DefaultControlPlayback"}],nodes:[]},{name:"Firefox",map:[{key:"ad",value:"DefaultAdPlayback"},{key:"vod",value:"DefaultVODPlayback"},{key:"live",value:"DefaultLivePlayback"},{key:"control",value:"DefaultControlPlayback"}],nodes:[]},{name:"Netscape",map:[{key:"ad",value:"DefaultAdPlayback"},{key:"vod",value:"DefaultVODPlayback"},{key:"live",value:"DefaultLivePlayback"},{key:"control",value:"DefaultControlPlayback"}],nodes:[]},{name:"Camino",map:[{key:"ad",value:"DefaultAdPlayback"},{key:"vod",value:"DefaultVODPlayback"},{key:"live",value:"DefaultLivePlayback"},{key:"control",value:"DefaultControlPlayback"}],nodes:[]},{name:"SeaMonkey",map:[{key:"ad",value:"DefaultAdPlayback"},{key:"vod",value:"DefaultVODPlayback"},{key:"live",value:"DefaultLivePlayback"},{key:"control",value:"DefaultControlPlayback"}],nodes:[]}]},{name:"Linux",map:[],nodes:[{name:"Opera",map:[{key:"ad",value:"DefaultAdPlayback"},{key:"vod",value:"DefaultVODPlayback"},{key:"live",value:"DefaultLivePlayback"},{key:"control",value:"DefaultControlPlayback"}],nodes:[]},{name:"Firefox",map:[{key:"ad",value:"DefaultAdPlayback"},{key:"vod",value:"DefaultVODPlayback"},{key:"live",value:"DefaultLivePlayback"},{key:"control",value:"DefaultControlPlayback"}],nodes:[]},{name:"Netscape",map:[{key:"ad",value:"DefaultAdPlayback"},{key:"vod",value:"DefaultVODPlayback"},{key:"live",value:"DefaultLivePlayback"},{key:"control",value:"DefaultControlPlayback"}],nodes:[]},{name:"SeaMonkey",map:[{key:"ad",value:"DefaultAdPlayback"},{key:"vod",value:"DefaultVODPlayback"},{key:"live",value:"DefaultLivePlayback"},{key:"control",value:"DefaultControlPlayback"}],nodes:[]},{name:"Konqueror",map:[{key:"ad",value:"DefaultAdPlayback"},{key:"vod",value:"DefaultVODPlayback"},{key:"live",value:"DefaultLivePlayback"},{key:"control",value:"DefaultControlPlayback"}],nodes:[]}]}]}]}]}]}]};

