// Compiled with JSCompilerTask
// Turner XMP, Release Build, © 2008 Turner Broadcasting System, Inc. A Time Warner Company.  Version: 0.1.696.2070
// xmp_playerapi, xmp_playerapi_0_1_696_2070.js

xmp.$.$1V=function(aa,ba,ca){this.p_$72=aa;this.p_$5W=ba;this.p_$81=ca;};xmp.$.$3.i_$PZ('\u0078\u006D\u0070\u002E\u0050\u006C\u0061\u0079\u0062\u0061\u0063\u006B\u004D\u006F\u0064\u0065',xmp.$.$1V);xmp.$.$1V.prototype.i_$PU=function(){return this.p_$5W;};xmp.$.$1V.prototype.i_$X4=function(){return this.p_$72;};xmp.$.$1V.prototype.i_$ZD=function(da,ea,fa,ga){this.p_$82(da,ea,fa);da.i_$ZE(ea,ga);};xmp.$.$1V.prototype.p_$83=function(ha,ia){throw new xmp.$.$2C("Validating state operation.","Invalid mode operation.  The \""+this.p_$5W+"\" mode does not change or transition to a mode that supports the \""+ia+"\" operation.",this);};xmp.$.$1V.prototype.p_$82=function(ja,ka,la){if(false===this.i_$YG(ja,ka)){this.p_$83(ja,la);}};xmp.$.$1V.prototype.i_$ZF=function(ma){if(this.p_$81===null){return false;}
for(var i=0;i<this.p_$81.length;i++){if(this.p_$81[i]===ma){return true;}}
return false;};xmp.$.$1V.prototype.i_$ZG=function(na){return na.i_$ZG();};xmp.$.$1V.prototype.i_$T5=function(oa,pa){};xmp.$.$1V.prototype.i_$T9=function(qa){};xmp.$.$1V.prototype.i_$YB=function(ra){};xmp.$.$1V.prototype.i_$YC=function(sa){};xmp.$.$1V.prototype.i_$RN=function(ta){};xmp.$.$1V.prototype.i_$YD=function(ua){};xmp.$.$1V.prototype.i_$YE=function(va){};xmp.$.$1V.prototype.i_$YF=function(wa,xa){};xmp.$.$1V.prototype.i_$ZH=function(ya){};xmp.$.$1V.prototype.i_$ZI=function(za){};xmp.$.$1V.prototype.i_$ZJ=function(Aa,Ba,Ca){};xmp.$.$1V.prototype.i_$YG=function(Da,Ea){return false;};xmp.$.$1V.prototype.i_$YH=function(Fa){return 0;};xmp.$.$1V.prototype.i_$YI=function(Ga){return 0;};xmp.$.$1V.prototype.i_$YK=function(Ha){return 0;};xmp.$.$1V.prototype.i_$YJ=function(Ia,Ja){};xmp.$.$1V.prototype.i_$YM=function(Ka){return false;};xmp.$.$1V.prototype.i_$YL=function(La,Ma){};xmp.$.$1V.prototype.i_$YO=function(Na){return false;};xmp.$.$1V.prototype.i_$YN=function(Oa,Pa){};xmp.$.$1V.prototype.i_$YP=function(Qa){return null;};xmp.$.$1W=function(Ra,Sa,Ta,Ua){xmp.$.$1W.ctor.call(this,xmp.$.$1E.FATAL_PLUGIN,Ra,Sa,Ta);this.plugIn=Ua;};xmp.DERIVE_CLASS(xmp.$.$Q,xmp.$.$1W);xmp.$.$3.i_$PZ('\u0078\u006D\u0070\u002E\u0050\u006C\u0075\u0067\u0049\u006E\u0045\u0072\u0072\u006F\u0072',xmp.$.$1W);xmp.i_$ZK=1;xmp.i_$ZL=".";xmp.i_$ZM="moveTo";xmp.$.$1X=function(Va,Wa,Xa){this.p_$72=Va;this.p_$7M=Wa;this.p_$84=Xa;this.p_$3N=null;this.p_$85=0;this.p_$86=false;this.p_$87={percent:0,bytesDownloaded:0,bytesTotal:0};this.p_$7B=false;this.p_$88=null;this.p_$X=null;this.p_$89=null;};xmp.$.$3.i_$PZ('\u0078\u006D\u0070\u002E\u0041\u0062\u0073\u0074\u0072\u0061\u0063\u0074\u004E\u0061\u0074\u0069\u0076\u0065\u0050\u006C\u0061\u0079\u0065\u0072',xmp.$.$1X);xmp.$.$1X.prototype.i_$T5=function(Ya){};xmp.$.$1X.prototype.i_$T9=function(){this.p_$7B=false;this.i_$ZN();this.p_$87={percent:0,bytesDownloaded:0,bytesTotal:0};};xmp.$.$1X.prototype.i_$WW=function(){try{if(this.p_$3N===null){return;}
this.i_$T9();if(this.p_$3N.viewport.i_$X4()!==xmp.$.$1I){return;}
var Za=this.i_$WZ();var $a=xmp.i_$PC(Za);$a.removeChild(Za);}
catch(e){}};xmp.$.$1X.prototype.i_$YB=function(){this.i_$ZO();};xmp.$.$1X.prototype.i_$YC=function(){this.i_$ZN();};xmp.$.$1X.prototype.i_$RN=function(){this.i_$ZN();};xmp.$.$1X.prototype.i_$YD=function(){this.i_$ZO();};xmp.$.$1X.prototype.i_$YE=function(){this.i_$ZO();};xmp.$.$1X.prototype.i_$YF=function(ab){this.i_$ZO();};xmp.$.$1X.prototype.i_$ZH=function(){this.i_$ZN();};xmp.$.$1X.prototype.i_$ZI=function(){this.i_$T9();};xmp.$.$1X.prototype.i_$YG=function(bb){return false;};xmp.$.$1X.prototype.i_$YH=function(){return 0;};xmp.$.$1X.prototype.i_$YI=function(){return 0;};xmp.$.$1X.prototype.i_$YK=function(){return this.p_$85;};xmp.$.$1X.prototype.i_$YJ=function(cb){this.p_$85=cb;};xmp.$.$1X.prototype.i_$YM=function(){return this.p_$86;};xmp.$.$1X.prototype.i_$YL=function(db){this.p_$86=db;};xmp.$.$1X.prototype.i_$YO=function(){return false;};xmp.$.$1X.prototype.i_$YN=function(eb){var fb="The \"setFullscreen\" method is not supported.";if(false===this.isFullscreenEnabled()){fb="The \"setFullscreen\" method is not supported.  Fullscreen disabled.";}
throw new xmp.$.$2B("Invoking \"setFullscreen\" method.",fb,this);};xmp.$.$1X.prototype.i_$YP=function(){return this.p_$87;};xmp.$.$1X.prototype.i_$XK=function(gb,hb,ib,jb){var kb=((this.i_$WZ().style.zIndex)?"z-Index: "+this.i_$WZ().style.zIndex+";":"")+"left: "+xmp.i_$PG(gb)+"; top: "+xmp.i_$PG(hb)+"; width: "+xmp.i_$PG(ib)+"; height: "+xmp.i_$PG(jb);this.i_$WZ().style.cssText=kb;};xmp.$.$1X.prototype.i_$ZP=function(lb){this.p_$89=xmp.$.$2Z.i_$ZQ();this.i_$ZR(lb);};xmp.$.$1X.prototype.i_$ZR=function(mb){};xmp.$.$1X.prototype.i_$ZS=function(nb,ob){};xmp.$.$1X.prototype.i_$ZT=function(pb,qb){if(pb===xmp.OPEN){this.p_$7B=true;}
else if(pb===xmp.BUFFERING){this.p_$87=qb;}
this.i_$ZU({object:this,id:"setState",interval:xmp.i_$QP,handler:this.i_$ZV,context:{type:pb,data:qb}}).i_$RL();};xmp.$.$1X.prototype.i_$RS=function(rb,e){this.i_$ZN();var sb=e;if(false===(sb instanceof xmp.$.$28)&&false===(sb instanceof xmp.$.$27)){sb=new xmp.$.$28(((e.context)?e.context:rb),((e.rawMessage)?e.rawMessage:e.message),this);sb.setInnerError(e);}
this.i_$ZU({object:this,id:"setError",interval:xmp.i_$QP,handler:this.p_$7G,context:sb}).i_$RL();};xmp.$.$1X.prototype.i_$ZW=function(tb,ub){this.i_$ZU({object:this,id:"setTrigger",interval:xmp.i_$QP,handler:this.p_$8A,context:{name:tb,data:ub}}).i_$RL();};xmp.$.$1X.prototype.i_$XQ=function(){this.p_$3N.viewport.i_$XR(this);this.i_$ZU({object:this,id:"setCreated",interval:xmp.i_$QP,handler:this.i_$ZX,context:null}).i_$RL();};xmp.$.$1X.prototype.i_$ZY=function(vb,wb){this.i_$ZU({object:this,id:"setInvoke",interval:xmp.i_$QP,handler:this.p_$8B,context:{method:vb,_arguments:wb}}).i_$RL();};xmp.$.$1X.prototype.i_$Q7=function(xb){this.p_$3N=xb;if(this.p_$X){this.p_$X=null;}
this.p_$X=xmp.$.$16.i_$S2("Native Player ("+this.i_$PU()+")");};xmp.$.$1X.prototype.i_$ZZ=function(yb){this.p_$3N=yb;};xmp.$.$1X.prototype.i_$WZ=function(){var zb=xmp.i_$PB(this.p_$3N.id);if(!zb){throw new xmp.$.$28("Retrieving native player.","Unable to retrieve \""+this.p_$72+"\" native player.",this);}
return zb;};xmp.$.$1X.prototype.i_$PU=function(){return((this.p_$3N)?this.p_$3N.id:"");};xmp.$.$1X.prototype.i_$X4=function(){return this.p_$72;};xmp.$.$1X.prototype.i_$X5=function(){return((this.p_$3N)?this.p_$3N.group:"");};xmp.$.$1X.prototype.i_$100=function(){return((this.p_$3N)?this.p_$3N.fullscreenEnabled:false);};xmp.$.$1X.prototype.i_$ZO=function(){if(!this.p_$88){var Ab=this.i_$101();this.p_$88=this.i_$ZU({object:this,id:"timelineChange",interval:Ab,handler:this.p_$8C,context:null});this.p_$88.i_$RL();}};xmp.$.$1X.prototype.i_$ZN=function(){if(this.p_$88){this.p_$88.i_$RN();this.p_$88=null;}};xmp.$.$1X.prototype.i_$102=function(Bb){var Cb=Bb;var Db=0;var Eb=-1;var Fb=-1;var Gb=-1;var Hb=Cb.indexOf(xmp.i_$ZL);if(Hb!==-1){Db=parseInt(Cb.substr(0,Hb),10);Cb=Cb.substr(Hb+1);Hb=Cb.indexOf(xmp.i_$ZL);if(Hb!==-1){Eb=parseInt(Cb.substr(0,Hb),10);Cb=Cb.substr(Hb+1);Hb=Cb.indexOf(xmp.i_$ZL);if(Hb!==-1){Fb=parseInt(Cb.substr(0,Hb),10);Cb=Cb.substr(Hb+1);if(Cb.length>0){Gb=parseInt(Cb,10);}}
else{Fb=parseInt(Cb,10);}}
else{Eb=parseInt(Cb,10);}}
else{Db=parseInt(Cb,10);Db=((true===isNaN(Db))?-1:Db);}
return{major:Db,minor:Eb,revision:Fb,build:Gb};};xmp.$.$1X.prototype.i_$103=function(Ib,Jb){var Kb=Ib+"PlugInVersion";xmp.$.$18.i_$P4().i_$WD(Kb,Jb);var Lb=this.i_$102(Jb);var Mb=this.i_$104(Ib);var Nb=this.i_$102(Mb.minVersion);var Ob=this.i_$102(Mb.maxVersion);var Pb=[{version:Lb.major,minVersion:Nb.major,maxVersion:Ob.major},{version:Lb.minor,minVersion:Nb.minor,maxVersion:Ob.minor},{version:Lb.revision,minVersion:Nb.revision,maxVersion:Ob.revision},{version:Lb.build,minVersion:Nb.build,maxVersion:Ob.build}];var Qb=Pb.length;for(var i=0;i<Qb;i++){if((Pb[i].version<Pb[i].minVersion)){throw new xmp.$.$25("Validating native player plugin version.",Mb,Jb);}
if((Pb[i].maxVersion!==-1)&&(Pb[i].version>Pb[i].maxVersion)){throw new xmp.$.$2J("Validating native player plugin version.",Mb,Jb);}
if((Pb[i].version!==Pb[i].minVersion)&&(Pb[i].version!==Pb[i].maxVersion)){break;}}};xmp.$.$1X.prototype.i_$104=function(Rb){var Sb=this.p_$89[Rb];if(!Sb){throw new xmp.$.$28("Retrieving plugin info.","Unable to retrieve \""+Rb+"\" plugin information.",this);}
return Sb;};xmp.$.$1X.prototype.i_$ZU=function(Tb){var Ub=new xmp.$.$M(Tb.id,Tb.handler,Tb.object);Ub.i_$V6(xmp.i_$QR,Tb.context);return new xmp.$.$1C(Tb.id,Tb.interval,-1,Ub);};xmp.$.$1X.prototype.p_$8C=function(Vb,Wb){try{var Xb=parseInt(this.i_$YI(),10);var Yb=((Xb>0)?parseInt(this.i_$YH(),10):0);this.i_$ZS(Yb,Xb);this.p_$7M.i_$105(Yb,Xb);}
catch(e){this.i_$RS("Forwarding timeline change to listener.",e);}};xmp.$.$1X.prototype.i_$ZV=function(Zb,$b){try{$b.i_$RN();var ac=Zb.i_$V8(xmp.i_$QR,{});this.p_$7M.i_$106(ac.type,ac.data);}
catch(e){this.i_$RS("Forwarding state change notification to listener.",e);}};xmp.$.$1X.prototype.p_$7G=function(bc,dc){var ec=null;try{dc.i_$RN();ec=bc.i_$V8(xmp.i_$QR,{});this.p_$7M.i_$107(ec);}
catch(e){var fc=((ec)?ec:e);xmp.handleFatalError(fc);}};xmp.$.$1X.prototype.p_$8A=function(gc,hc){try{hc.i_$RN();var ic=gc.i_$V8(xmp.i_$QR,{});this.p_$7M.i_$108(ic.name,ic.data);}
catch(e){this.i_$RS("Forwarding trigger notification to listener.",e);}};xmp.$.$1X.prototype.p_$8B=function(jc,kc){try{kc.i_$RN();var lc=jc.i_$V8(xmp.i_$QR,{});this.p_$7M.i_$109(lc.method,lc._arguments);}
catch(e){this.i_$RS("Forwarding invoke notification to listener.",e);}};xmp.$.$1X.prototype.i_$ZX=function(mc,nc){try{nc.i_$RN();this.p_$7M.i_$10A(this,this.p_$3N);}
catch(e){this.i_$RS("Forwarding created notification to listener.",e);}};xmp.$.$1X.prototype.i_$XW=function(oc){return xmp.i_$OK("xmp.$.$2X.i_$10B")+"( '"+this.p_$3N.group+"', '"+this.p_$72+"' )."+oc;};xmp.$.$1X.prototype.i_$RV=function(){return this.p_$X;};xmp.$.$1X.prototype.i_$XG=function(){return this.p_$7B;};xmp.$.$1X.prototype.i_$101=function(){return xmp.i_$QQ;};xmp.$.$1X.prototype.i_$10C=function(pc){return xmp.$.$2Z.i_$10D(this.p_$84)[pc];};xmp.i_$10E="video";xmp.i_$10F="{host}";xmp.i_$10G="{path}";xmp.i_$10H="{size}";xmp.$.$1Y=function(qc,rc){this.p_$72=qc;this.p_$8D=rc;};xmp.$.$3.i_$PZ('\u0078\u006D\u0070\u002E\u0041\u0062\u0073\u0074\u0072\u0061\u0063\u0074\u0050\u006C\u0061\u0079\u0069\u006E\u0067\u0050\u006F\u006C\u0069\u0063\u0079',xmp.$.$1Y);xmp.$.$1Y.prototype.i_$10I=function(sc,tc){if(false===this.p_$8E(tc)){return true;}
try{this.i_$10J(sc.i_$PU(),tc.i_$UV());}
catch(e){this.p_$8F(sc,tc,e,false);return false;}
var uc=this.p_$8G(tc);var vc=uc.media.length;for(var i=0;i<vc;i++){try{var wc=this.p_$8D.i_$10K(uc.media[i]);this.p_$8H(uc.type,uc.media[i],wc);if(false===this.p_$8I(wc,tc)){continue;}
this.p_$8D.i_$RV().debug("Applying playing policy \""+uc.type+"\" to playable node.");this.p_$8J(sc.i_$PU(),wc,tc);return true;}
catch(e2){var xc=this.p_$8F(sc,tc,e2,this.p_$8K(uc.type,tc,i,uc.media));if(true===xc){continue;}
return false;}}
var yc=[];try{yc=this.p_$8D.i_$UY();}
catch(e3){}
throw new xmp.$.$2D("Applying playing policy.",yc,uc,tc);};xmp.$.$1Y.prototype.i_$X4=function(){return this.p_$72;};xmp.$.$1Y.prototype.p_$8G=function(zc){var Ac=this.p_$8D.i_$10L(xmp.$.$T.OS,xmp.$.$T.browser);var Bc=zc.i_$UV();var Cc=this.p_$8D.i_$10M(Ac.modes[Bc]);var Dc=xmp.$.$T.OS+"/"+xmp.$.$T.browser+((Bc&&Bc.length>0)?("/"+Bc):"");return{type:Dc,media:Cc};};xmp.$.$1Y.prototype.p_$8I=function(Ec,Fc){if(false===this.p_$8L(Ec,Fc)){return false;}
return this.p_$8M(Ec,Fc);};xmp.$.$1Y.prototype.p_$8N=function(Gc,Hc){if(!Hc.isUriAbsolute()){var Ic=Gc.streamingModes[Hc.i_$UV()];var Jc=Ic.url_mask;var Kc=[{name:xmp.i_$10F,value:this.p_$8O(Gc,Ic)},{name:xmp.i_$10G,value:Hc.getURI()},{name:xmp.i_$10H,value:this.p_$8P(Gc,Hc)}];for(var i=0;i<Kc.length;i++){Jc=Jc.replace(Kc[i].name,Kc[i].value);}
Hc.setMimeType(Gc.mimeType);Hc.setURI(Jc);this.p_$8D.i_$RV().debug("Setting up playable node URI from mask ("+Ic.url_mask+") and MIME type ("+Gc.mimeType+"). URI - "+Jc);}
Hc.setUriAbsolute(true);};xmp.$.$1Y.prototype.p_$8P=function(Lc,Mc){var Nc="";if(true===this.p_$8Q(Lc,Mc)){Nc=this.p_$8D.i_$10N(Mc.i_$UY());}
return Nc;};xmp.$.$1Y.prototype.p_$8O=function(Oc,Pc){if(-1===Pc.url_mask.indexOf(xmp.i_$10F)){return"";}
var Qc=xmp.i_$10E+"/"+Oc.type+"/"+Pc.type;var Rc=xmp.$.$1A.i_$P4().i_$P5(Qc);if(Rc.length===0){throw new xmp.$.$2E("Retrieving host.","Unable to find \""+Oc.type+"\" playing policy streaming host configuration for \""+Pc.type+"\".");}
return Rc;};xmp.$.$1Y.prototype.p_$8H=function(Sc,Tc,Uc){if(!Uc){throw new xmp.$.$2E("Validating media.","Invalid \""+Sc+"\" playing policy media type \""+Tc+"\".");}};xmp.$.$1Y.prototype.p_$8J=function(Vc,Wc,Xc){xmp.$.$2X.i_$ZP(Vc,Wc.mimeType);this.p_$8N(Wc,Xc);};xmp.$.$1Y.prototype.p_$8L=function(Yc,Zc){var $c=Zc.i_$UX();var ad=$c.length;for(var i=0;i<ad;i++){if(Yc.mimeType===$c[i]){return true;}}
return false;};xmp.$.$1Y.prototype.p_$8M=function(bd,cd){if(false===this.p_$8Q(bd,cd)){return true;}
return(this.p_$8D.i_$10N(cd.i_$UY()).length>0);};xmp.$.$1Y.prototype.p_$8Q=function(dd,ed){if(!dd.streamingModes[ed.i_$UV()]){throw new xmp.$.$2E("Validating streaming mode.","Invalid playable node streaming mode "+ed.i_$UV()+" for media type "+dd.type+".");}
return(dd.streamingModes[ed.i_$UV()].url_mask.indexOf(xmp.i_$10H)!==-1);};xmp.$.$1Y.prototype.i_$10O=function(fd){};xmp.$.$1Y.prototype.i_$10J=function(gd,hd){var jd=this.p_$8D.i_$10L(xmp.$.$T.OS,xmp.$.$T.browser);if(!jd||(hd&&!jd.modes[hd])){var kd=xmp.$.$T.OS+"/"+xmp.$.$T.browser+((hd&&hd.length>0)?("/"+hd):"");throw new xmp.$.$2I(gd,"The platform \""+kd+"\" is unsupported.");}};xmp.$.$1Y.prototype.p_$8F=function(ld,md,e,nd){if(true===this.p_$8D.i_$10P()&&true===nd){this.p_$8D.i_$RV().warn("\n\n"+e.message,e);return true;}
this.p_$8D.i_$RV().i_$TJ("\n\n"+e.message,e);ld.i_$SW(md,e,null);return false;};xmp.$.$1Y.prototype.p_$8E=function(od){var pd=od.i_$UV();return((pd&&pd.length>0)?true:false);};xmp.$.$1Y.prototype.p_$8K=function(qd,rd,sd,td){try{var ud=td.length;for(var i=sd+1;i<ud;i++){var vd=this.p_$8D.i_$10K(td[i]);this.p_$8H(qd,td[i],vd);if(false===this.p_$8I(vd,rd)){continue;}
return true;}}
catch(e){}
return false;};xmp.$.$1Y.prototype.i_$10Q=function(){return this.p_$8D;};xmp.i_$10R="BandwidthRecorderSampleTimer";xmp.i_$10S="CurrentBandwidth";xmp.i_$10T="CumulativeBandwidth";xmp.i_$10U="Bandwidth Sample Interval";xmp.$.$1Z=function(wd,xd){var yd=xmp.$.$1B.i_$P4().getGlobalContextNode().getNodeForPath(xd).getInt(xmp.i_$10U,-1);if(-1===yd.length){throw new xmp.$.$20("Initializing.","Missing bandwidth recorder sample interval.");}
this.p_$7L=wd;this.p_$X=xmp.$.$16.i_$S2('BandwidthRecorder');var zd=new xmp.$.$M(xmp.i_$10R,this.p_$8R,this);this.p_$8S=new xmp.$.$1C(xmp.i_$10R,yd,-1,zd);this.p_$8T=0;this.p_$8U=0;this.p_$8V();};xmp.$.$3.i_$PZ('\u0078\u006D\u0070\u002E\u0042\u0061\u006E\u0064\u0077\u0069\u0064\u0074\u0068\u0052\u0065\u0063\u006F\u0072\u0064\u0065\u0072',xmp.$.$1Z);xmp.$.$1Z.prototype.i_$RL=function(){this.i_$RN();this.p_$8W=this.p_$8X();this.p_$8S.i_$RL();};xmp.$.$1Z.prototype.i_$RN=function(){this.p_$8S.i_$RN();this.p_$8U+=this.lastDuration;this.p_$8T+=this.lastBytesDownloaded;this.p_$8V();};xmp.$.$1Z.prototype.p_$8R=function(Ad,Bd){try{var Cd=this.p_$7L.i_$YP();this.p_$8Y(Cd);var Dd=this.p_$8X();var Ed=(Dd-this.p_$8W);var Fd=this.p_$8Z(Ed,Cd.bytesDownloaded);this.p_$90(Fd,xmp.i_$10S,Cd.bytesDownloaded,"Downloaded Bytes");var Gd=(this.p_$8T+Cd.bytesDownloaded);Fd=this.p_$8Z((this.p_$8U+Ed),Gd);this.p_$90(Fd,xmp.i_$10T,Gd,"Cumulative Bytes");this.lastBytesDownloaded=Cd.bytesDownloaded;this.lastDuration=Ed;if(100===Cd.percent){this.i_$RN();}}
catch(e){this.p_$X.warn("\n\n"+e.message);this.i_$RN();}};xmp.$.$1Z.prototype.p_$8V=function(){this.p_$8W=0;this.lastBytesDownloaded=0;this.lastDuration=0;};xmp.$.$1Z.prototype.p_$8X=function(){return(new Date()).getTime();};xmp.$.$1Z.prototype.p_$8Z=function(Hd,b){try{var Id=(Hd/1000);var x=((b*8)/1024);return(x/Id);}
catch(e){var Jd=new xmp.$.$20("Calculating bandwidth.",e.message);Jd.setInnerError(e);throw Jd;}};xmp.$.$1Z.prototype.p_$90=function(Kd,Ld,Md,Nd){try{var Od=Math.ceil(Kd)+"KB/sec";this.p_$X.info(Ld+":  "+Od+", "+Nd+":  "+Md);xmp.$.$18.i_$P4().i_$WD(Ld,Od);}
catch(e){var Pd=new xmp.$.$20("Logging bandwidth.",((e.rawMessage)?e.rawMessage:e.message));Pd.setInnerError(e);throw Pd;}};xmp.$.$1Z.prototype.p_$8Y=function(Qd){if(!Qd){throw new xmp.$.$20("Validating sample.","Missing sample.");}
if(false===xmp.i_$OR(Qd.bytesDownloaded)){throw new xmp.$.$20("Validating sample.","Missing bytes downloaded.");}};xmp.$.$20=function(Rd,Sd){xmp.$.$20.ctor.call(this,"BandwidthRecorderError",Rd,Sd);};xmp.DERIVE_CLASS(xmp.util.internals.XMPError,xmp.$.$20);xmp.$.$3.i_$PZ('\u0078\u006D\u0070\u002E\u0042\u0061\u006E\u0064\u0077\u0069\u0064\u0074\u0068\u0052\u0065\u0063\u006F\u0072\u0064\u0065\u0072\u0045\u0072\u0072\u006F\u0072',xmp.$.$20);xmp.$.$21=function(Td,Ud){xmp.$.$21.ctor.call(this,"DHTMLObjectError",Td,Ud);};xmp.DERIVE_CLASS(xmp.util.internals.XMPError,xmp.$.$21);xmp.$.$3.i_$PZ('\u0078\u006D\u0070\u002E\u0044\u0048\u0054\u004D\u004C\u004F\u0062\u006A\u0065\u0063\u0074\u0045\u0072\u0072\u006F\u0072',xmp.$.$21);xmp.$.$22=function(Vd,Wd){xmp.$.$22.ctor.call(this,"InvalidMimeTypeError",Vd,Wd);};xmp.DERIVE_CLASS(xmp.util.internals.XMPError,xmp.$.$22);xmp.$.$3.i_$PZ('\u0078\u006D\u0070\u002E\u0049\u006E\u0076\u0061\u006C\u0069\u0064\u004D\u0069\u006D\u0065\u0054\u0079\u0070\u0065\u0045\u0072\u0072\u006F\u0072',xmp.$.$22);xmp.$.$23=function(Xd,Yd,Zd){var $d=[{label:"Native Player Type",text:Zd.i_$X4()},{label:"Native Player Name",text:Zd.i_$PU()}];xmp.$.$23.ctor.call(this,"InvalidNativePlayerViewportError",Xd,Yd,$d);};xmp.DERIVE_CLASS(xmp.util.internals.XMPError,xmp.$.$23);xmp.$.$3.i_$PZ('\u0078\u006D\u0070\u002E\u0049\u006E\u0076\u0061\u006C\u0069\u0064\u004E\u0061\u0074\u0069\u0076\u0065\u0050\u006C\u0061\u0079\u0065\u0072\u0056\u0069\u0065\u0077\u0070\u006F\u0072\u0074\u0045\u0072\u0072\u006F\u0072',xmp.$.$23);xmp.$.$24=function(ae,be){xmp.$.$24.ctor.call(this,"InvalidMimeTypeError",ae,be);};xmp.DERIVE_CLASS(xmp.util.internals.XMPError,xmp.$.$24);xmp.$.$3.i_$PZ('\u0078\u006D\u0070\u002E\u0049\u006E\u0076\u0061\u006C\u0069\u0064\u0050\u006C\u0061\u0079\u0061\u0062\u006C\u0065\u004E\u006F\u0064\u0065\u0045\u0072\u0072\u006F\u0072',xmp.$.$24);xmp.$.$25=function(ce,de,ee){var fe="Invalid "+de.displayName+" version \""+ee+"\".  Expected version is ";fe+=((parseInt(de.maxVersion,10)>0)?"between \""+de.minVersion+"\" and \""+de.maxVersion+"\".":"\""+de.minVersion+"\" or greater.");fe+="\n\nThe latest plugin can be downloaded at \""+de.downloadUrl+"\".";xmp.$.$25.ctor.call(this,"InvalidPlugInVersionError",ce,fe,de);};xmp.DERIVE_CLASS(xmp.$.$1W,xmp.$.$25);xmp.$.$3.i_$PZ('\u0078\u006D\u0070\u002E\u0049\u006E\u0076\u0061\u006C\u0069\u0064\u0050\u006C\u0075\u0067\u0049\u006E\u0056\u0065\u0072\u0073\u0069\u006F\u006E\u0045\u0072\u0072\u006F\u0072',xmp.$.$25);xmp.$.$26=function(ge,he){xmp.$.$26.ctor.call(this,"MediaPlayerError",ge,he);};xmp.DERIVE_CLASS(xmp.util.internals.XMPError,xmp.$.$26);xmp.$.$3.i_$PZ('\u0078\u006D\u0070\u002E\u004D\u0065\u0064\u0069\u0061\u0050\u006C\u0061\u0079\u0065\u0072\u0045\u0072\u0072\u006F\u0072',xmp.$.$26);xmp.$.$27=function(ie,je,ke,le){var me=[{label:"Native Player Type",text:((ke)?ke.i_$X4():"")},{label:"Native Player Name",text:((ke)?ke.i_$PU():"")}];if(le){me=me.concat(le);}
xmp.$.$27.ctor.call(this,xmp.$.$1E.CRITICAL_PLAYER_CONNECTION,"NativePlayerConnectionError",ie,je,me);};xmp.DERIVE_CLASS(xmp.$.$P,xmp.$.$27);xmp.$.$3.i_$PZ('\u0078\u006D\u0070\u002E\u004E\u0061\u0074\u0069\u0076\u0065\u0050\u006C\u0061\u0079\u0065\u0072\u0043\u006F\u006E\u006E\u0065\u0063\u0074\u0069\u006F\u006E\u0045\u0072\u0072\u006F\u0072',xmp.$.$27);xmp.$.$28=function(ne,oe,pe,qe){var re=[];if(pe){re.push({label:"Native Player Type",text:pe.i_$X4()});re.push({label:"Native Player Name",text:pe.i_$PU()});}
if(qe){re=re.concat(qe);}
xmp.$.$28.ctor.call(this,"NativePlayerError",ne,oe,re);};xmp.DERIVE_CLASS(xmp.util.internals.XMPError,xmp.$.$28);xmp.$.$3.i_$PZ('\u0078\u006D\u0070\u002E\u004E\u0061\u0074\u0069\u0076\u0065\u0050\u006C\u0061\u0079\u0065\u0072\u0045\u0072\u0072\u006F\u0072',xmp.$.$28);xmp.$.$29=function(se,te,ue,ve){var we=[{label:"Native Player Group",text:ue}];if(ve){we=we.concat(ve);}
xmp.$.$29.ctor.call(this,xmp.$.$1E.FATAL_UNSPECIFIED_ERROR,"NativePlayerGroupNotFoundError",se,te,we);};xmp.DERIVE_CLASS(xmp.$.$Q,xmp.$.$29);xmp.$.$3.i_$PZ('\u0078\u006D\u0070\u002E\u004E\u0061\u0074\u0069\u0076\u0065\u0050\u006C\u0061\u0079\u0065\u0072\u0047\u0072\u006F\u0075\u0070\u004E\u006F\u0074\u0046\u006F\u0075\u006E\u0064\u0045\u0072\u0072\u006F\u0072',xmp.$.$29);xmp.$.$2A=function(xe,ye,ze,Ae,Be){var Ce=[{label:"Native Player Group",text:ze},{label:"MIME Type",text:Ae}];if(Be){Ce=Ce.concat(Be);}
xmp.$.$2A.ctor.call(this,xmp.$.$1E.FATAL_PLATFORM,"NativePlayerNotFoundError",xe,ye,Ce);};xmp.DERIVE_CLASS(xmp.$.$P,xmp.$.$2A);xmp.$.$3.i_$PZ('\u0078\u006D\u0070\u002E\u004E\u0061\u0074\u0069\u0076\u0065\u0050\u006C\u0061\u0079\u0065\u0072\u004E\u006F\u0074\u0046\u006F\u0075\u006E\u0064\u0045\u0072\u0072\u006F\u0072',xmp.$.$2A);xmp.$.$2B=function(De,Ee,Fe){var Ge=[{label:"Native Player Type",text:((Fe)?Fe.i_$X4():"")},{label:"Native Player Name",text:((Fe)?Fe.i_$PU():"")}];xmp.$.$2B.ctor.call(this,"NativePlayerUnsupportedError",De,Ee,Ge);};xmp.DERIVE_CLASS(xmp.util.internals.XMPError,xmp.$.$2B);xmp.$.$3.i_$PZ('\u0078\u006D\u0070\u002E\u004E\u0061\u0074\u0069\u0076\u0065\u0050\u006C\u0061\u0079\u0065\u0072\u0055\u006E\u0073\u0075\u0070\u0070\u006F\u0072\u0074\u0065\u0064\u0045\u0072\u0072\u006F\u0072',xmp.$.$2B);xmp.$.$2C=function(He,Ie,Je){var Ke=[{label:"Playback Mode",text:((Je)?Je.i_$PU():"")}];xmp.$.$2C.ctor.call(this,"PlaybackModeError",He,Ie,Ke);};xmp.DERIVE_CLASS(xmp.util.internals.XMPError,xmp.$.$2C);xmp.$.$3.i_$PZ('\u0078\u006D\u0070\u002E\u0050\u006C\u0061\u0079\u0062\u0061\u0063\u006B\u004D\u006F\u0064\u0065\u0045\u0072\u0072\u006F\u0072',xmp.$.$2C);xmp.$.$2D=function(Le,Me,Ne,Oe){var Pe="Unable to apply playing policy to playable node.\n\nPlayer Sizes:              "+Me.join(", ")+"\n\nPolicy:"+"\n\n  Type:                     "+Ne.type+"\n  Media:                   "+Ne.media.join(", ")+"\n\nPlayable Node:"+"\n\n  Location:               "+Oe.getURI()+"\n  Streaming Mode:  "+Oe.i_$UV()+"\n  Mime Types:         "+Oe.i_$UX().join(", ")+"\n  Sizes:                   "+Oe.i_$UY().join(", ");xmp.$.$2D.ctor.call(this,"PlayingPolicyApplyError",Le,Pe);};xmp.DERIVE_CLASS(xmp.util.internals.XMPError,xmp.$.$2D);xmp.$.$3.i_$PZ('\u0078\u006D\u0070\u002E\u0050\u006C\u0061\u0079\u0069\u006E\u0067\u0050\u006F\u006C\u0069\u0063\u0079\u0041\u0070\u0070\u006C\u0079\u0045\u0072\u0072\u006F\u0072',xmp.$.$2D);xmp.$.$2E=function(Qe,Re){xmp.$.$2E.ctor.call(this,"PlayingPolicyError",Qe,Re);};xmp.DERIVE_CLASS(xmp.util.internals.XMPError,xmp.$.$2E);xmp.$.$3.i_$PZ('\u0078\u006D\u0070\u002E\u0050\u006C\u0061\u0079\u0069\u006E\u0067\u0050\u006F\u006C\u0069\u0063\u0079\u0045\u0072\u0072\u006F\u0072',xmp.$.$2E);xmp.$.$2F=function(Se,Te,Ue){var Ve="The "+Te.displayName+" is disabled or not associated with the \""+Ue+"\" MIME type.";xmp.$.$2F.ctor.call(this,"PlugInDisabledError",Se,Ve,Te);};xmp.DERIVE_CLASS(xmp.$.$1W,xmp.$.$2F);xmp.$.$3.i_$PZ('\u0078\u006D\u0070\u002E\u0050\u006C\u0075\u0067\u0049\u006E\u0044\u0069\u0073\u0061\u0062\u006C\u0065\u0064\u0045\u0072\u0072\u006F\u0072',xmp.$.$2F);xmp.$.$2G=function(We,Xe){var Ye=Xe.displayName+" not found.  \n\nThe plugin can be downloaded at \""+Xe.downloadUrl+"\".";xmp.$.$2G.ctor.call(this,"PlugInNotFoundError",We,Ye,Xe);};xmp.DERIVE_CLASS(xmp.$.$1W,xmp.$.$2G);xmp.$.$3.i_$PZ('\u0078\u006D\u0070\u002E\u0050\u006C\u0075\u0067\u0049\u006E\u004E\u006F\u0074\u0046\u006F\u0075\u006E\u0064\u0045\u0072\u0072\u006F\u0072',xmp.$.$2G);xmp.$.$2H=function(Ze,$e){xmp.$.$2H.ctor.call(this,"ServiceError",Ze,$e);};xmp.DERIVE_CLASS(xmp.util.internals.XMPError,xmp.$.$2H);xmp.$.$3.i_$PZ('\u0078\u006D\u0070\u002E\u0053\u0065\u0072\u0076\u0069\u0063\u0065\u0045\u0072\u0072\u006F\u0072',xmp.$.$2H);xmp.$.$2I=function(af,bf){xmp.$.$2I.ctor.call(this,xmp.$.$1E.FATAL_PLATFORM,"UnsupportedPlatformError",af,bf);};xmp.DERIVE_CLASS(xmp.$.$Q,xmp.$.$2I);xmp.$.$3.i_$PZ('\u0078\u006D\u0070\u002E\u0055\u006E\u0073\u0075\u0070\u0070\u006F\u0072\u0074\u0065\u0064\u0050\u006C\u0061\u0074\u0066\u006F\u0072\u006D\u0045\u0072\u0072\u006F\u0072',xmp.$.$2I);xmp.$.$2J=function(cf,df,ef){var ff="The "+df.displayName+" version \""+ef+"\" is not supported.  Expected version is ";ff+=((parseInt(df.maxVersion,10)>0)?"between \""+df.minVersion+"\" and \""+df.maxVersion+"\".":"\""+df.minVersion+"\" or greater.");ff+="\n\nA supported plugin can be downloaded at \""+df.downloadUrl+"\".";xmp.$.$2J.ctor.call(this,"UnsupportedPlugInVersionError",cf,ff,df);};xmp.DERIVE_CLASS(xmp.$.$1W,xmp.$.$2J);xmp.$.$3.i_$PZ('\u0078\u006D\u0070\u002E\u0055\u006E\u0073\u0075\u0070\u0070\u006F\u0072\u0074\u0065\u0064\u0050\u006C\u0075\u0067\u0049\u006E\u0056\u0065\u0072\u0073\u0069\u006F\u006E\u0045\u0072\u0072\u006F\u0072',xmp.$.$2J);xmp.i_$10V="Lazy";xmp.i_$10W="ValidateOnBootstrap";xmp.$.$2K=function(gf){xmp.$.$2K.ctor.call(this,xmp.i_$10V,gf);};xmp.DERIVE_CLASS(xmp.$.$1Y,xmp.$.$2K);xmp.$.$3.i_$PZ('\u0078\u006D\u0070\u002E\u004C\u0061\u007A\u0079\u0050\u006C\u0061\u0079\u0069\u006E\u0067\u0050\u006F\u006C\u0069\u0063\u0079',xmp.$.$2K);xmp.$.$2K.prototype.i_$10O=function(hf){try{xmp.$.$2X.i_$10X(xmp.i_$10W,hf);this.i_$10J(xmp.i_$10W);var jf=this.i_$10Q().i_$10Y();for(var i=0;i<jf.length;i++){xmp.$.$2X.i_$ZP(xmp.i_$10W,jf[i].mimeType);}}
catch(e){this.i_$10Q().i_$RV().i_$VA("\n\n"+e.message,e);if(e.plugIn){hf.i_$YV(e);}
else if(true===(e instanceof xmp.$.$2I)){hf.i_$YW(e);}}
finally{xmp.$.$2X.i_$10Z(xmp.i_$10W);}};xmp.$.$2L=function(kf,lf,mf){xmp.$.$2L.ctor.call(this,kf,lf,mf);};xmp.DERIVE_CLASS(xmp.$.$1V,xmp.$.$2L);xmp.$.$3.i_$PZ('\u0078\u006D\u0070\u002E\u0044\u0065\u0066\u0061\u0075\u006C\u0074\u0050\u006C\u0061\u0079\u0062\u0061\u0063\u006B\u004D\u006F\u0064\u0065',xmp.$.$2L);xmp.$.$2L.prototype.i_$T5=function(nf,of){this.i_$ZD(nf,xmp.i_$110,xmp.OPEN_OPERATION,of);};xmp.$.$2L.prototype.i_$T9=function(pf){this.i_$ZD(pf,xmp.i_$111,xmp.CLOSE_OPERATION,null);};xmp.$.$2L.prototype.i_$YB=function(qf){this.i_$ZD(qf,xmp.PLAY,xmp.i_$112,null);};xmp.$.$2L.prototype.i_$YC=function(rf){this.i_$ZD(rf,xmp.PAUSE,xmp.i_$113,null);};xmp.$.$2L.prototype.i_$RN=function(sf){this.i_$ZD(sf,xmp.STOP,xmp.i_$114,null);};xmp.$.$2L.prototype.i_$YD=function(tf){this.i_$ZD(tf,xmp.REWIND,xmp.i_$115,null);};xmp.$.$2L.prototype.i_$YE=function(uf){this.i_$ZD(uf,xmp.FAST_FORWARD,xmp.i_$116,null);};xmp.$.$2L.prototype.i_$YF=function(vf,wf){this.i_$ZD(vf,xmp.SEEKABLE,xmp.i_$117,wf);};xmp.$.$2L.prototype.i_$ZH=function(xf){this.i_$ZD(xf,xmp.ENDED,xmp.ENDED_OPERATION,null);};xmp.$.$2L.prototype.i_$ZI=function(yf){this.i_$ZD(yf,xmp.ERRORS,xmp.ERROR_OPERATION,null);};xmp.$.$2L.prototype.i_$YG=function(zf,Af){try{return((true===this.i_$ZF(Af))||(true===this.i_$ZG(zf).i_$YG(Af)));}
catch(e){this.i_$T6(zf,xmp.i_$QU,e);}
return false;};xmp.$.$2L.prototype.i_$YH=function(Bf){try{return parseInt(this.i_$ZG(Bf).i_$YH(),10);}
catch(e){this.i_$T6(Bf,xmp.i_$QV,e);}
return 0;};xmp.$.$2L.prototype.i_$YI=function(Cf){try{return parseInt(this.i_$ZG(Cf).i_$YI(),10);}
catch(e){this.i_$T6(Cf,xmp.i_$QW,e);}
return 0;};xmp.$.$2L.prototype.i_$YK=function(Df){try{return this.i_$ZG(Df).i_$YK();}
catch(e){this.i_$T6(Df,xmp.i_$QX,e);}
return 0;};xmp.$.$2L.prototype.i_$YJ=function(Ef,Ff){try{this.i_$ZG(Ef).i_$YJ(Ff);}
catch(e){this.i_$T6(Ef,xmp.i_$QY,e);}};xmp.$.$2L.prototype.i_$YM=function(Gf){try{return this.i_$ZG(Gf).i_$YM();}
catch(e){this.i_$T6(Gf,xmp.i_$QZ,e);}
return false;};xmp.$.$2L.prototype.i_$YL=function(Hf,If){try{this.i_$ZG(Hf).i_$YL(If);}
catch(e){this.i_$T6(Hf,xmp.i_$R0,e);}};xmp.$.$2L.prototype.i_$YO=function(Jf){try{return this.i_$ZG(Jf).i_$YO();}
catch(e){this.i_$T6(Jf,xmp.i_$R1,e);}
return false;};xmp.$.$2L.prototype.i_$YN=function(Kf,Lf){try{this.i_$ZG(Kf).i_$YN(Lf);}
catch(e){this.i_$T6(Kf,xmp.i_$R2,e);}};xmp.$.$2L.prototype.i_$YP=function(Mf){try{return this.i_$ZG(Mf).i_$YP();}
catch(e){this.i_$T6(Mf,xmp.i_$R3,e);}
return null;};xmp.$.$2L.prototype.i_$T6=function(Nf,Of,e){var Pf="Delegating \""+Of+"\" operation to native player.";var Qf=((xmp.i_$QK===typeof(e))?new xmp.$.$28(Pf,e,this.i_$ZG(Nf),[{label:"Playback Mode",text:this.i_$PU()}]):e);if(false===(Qf instanceof xmp.$.$28)&&false===(Qf instanceof xmp.$.$2B)){Qf=new xmp.$.$28(((e.context)?e.context:Pf),((e.rawMessage)?e.rawMessage:e.message),this.i_$ZG(Nf),[{label:"Playback Mode",text:this.i_$PU()}]);Qf.setInnerError(e);}
throw Qf;};xmp.i_$118="EndedPlayback";xmp.ENDED="Ended";xmp.ENDED_OPERATION="ended";xmp.$.$2M=function(){xmp.$.$2M.ctor.call(this,xmp.ENDED,xmp.i_$118,[xmp.i_$111,xmp.ERRORS]);};xmp.DERIVE_CLASS(xmp.$.$2L,xmp.$.$2M);xmp.$.$3.i_$PZ('\u0078\u006D\u0070\u002E\u0045\u006E\u0064\u0065\u0064\u0050\u006C\u0061\u0079\u0062\u0061\u0063\u006B\u004D\u006F\u0064\u0065',xmp.$.$2M);xmp.$.$2M.prototype.i_$ZJ=function(Rf,Sf,Tf){this.i_$ZH(Rf);};xmp.$.$2M.prototype.i_$ZH=function(Uf){try{this.i_$ZG(Uf).i_$ZH();}
catch(e){this.i_$T6(Uf,xmp.ENDED_OPERATION,e);}};xmp.ERRORS_PLAYBACK_STATE="ErrorPlayback";xmp.ERRORS="Error";xmp.ERROR_OPERATION="Error";xmp.$.$2N=function(){xmp.$.$2N.ctor.call(this,xmp.ERRORS,xmp.ERRORS_PLAYBACK_STATE,[xmp.i_$111]);};xmp.DERIVE_CLASS(xmp.$.$2L,xmp.$.$2N);xmp.$.$3.i_$PZ('\u0078\u006D\u0070\u002E\u0045\u0072\u0072\u006F\u0072\u0050\u006C\u0061\u0079\u0062\u0061\u0063\u006B\u004D\u006F\u0064\u0065',xmp.$.$2N);xmp.$.$2N.prototype.i_$ZJ=function(Vf,Wf,Xf){this.i_$ZI(Vf);};xmp.$.$2N.prototype.i_$ZI=function(Yf){try{this.i_$ZG(Yf).i_$ZI();}
catch(e){}};xmp.i_$119="FastForwardPlayback";xmp.FAST_FORWARD="FastForward";xmp.i_$116="FastForward";xmp.$.$2O=function(){xmp.$.$2O.ctor.call(this,xmp.FAST_FORWARD,xmp.i_$119,[xmp.i_$111,xmp.ENDED,xmp.ERRORS]);};xmp.DERIVE_CLASS(xmp.$.$2L,xmp.$.$2O);xmp.$.$3.i_$PZ('\u0078\u006D\u0070\u002E\u0046\u0061\u0073\u0074\u0046\u006F\u0072\u0077\u0061\u0072\u0064\u0050\u006C\u0061\u0079\u0062\u0061\u0063\u006B\u004D\u006F\u0064\u0065',xmp.$.$2O);xmp.$.$2O.prototype.i_$ZJ=function(Zf,$f,ag){this.i_$YE(Zf);};xmp.$.$2O.prototype.i_$YE=function(bg){try{this.i_$ZG(bg).i_$YE();}
catch(e){this.i_$T6(bg,xmp.i_$116,e);}};xmp.i_$11A="FiniPlayback";xmp.i_$111="Fini";xmp.CLOSE_OPERATION="close";xmp.$.$2P=function(){xmp.$.$2P.ctor.call(this,xmp.i_$111,xmp.i_$11A,[xmp.i_$110,xmp.ERRORS]);};xmp.DERIVE_CLASS(xmp.$.$2L,xmp.$.$2P);xmp.$.$3.i_$PZ('\u0078\u006D\u0070\u002E\u0046\u0069\u006E\u0069\u0050\u006C\u0061\u0079\u0062\u0061\u0063\u006B\u004D\u006F\u0064\u0065',xmp.$.$2P);xmp.$.$2P.prototype.i_$ZJ=function(cg,dg,eg){try{this.i_$ZG(cg).i_$T9();}
catch(e){this.i_$T6(cg,xmp.CLOSE_OPERATION,e);}};xmp.$.$2P.prototype.i_$T9=function(fg){};xmp.i_$11B="InitPlayback";xmp.i_$110="Init";xmp.OPEN_OPERATION="open";xmp.$.$2Q=function(){xmp.$.$2Q.ctor.call(this,xmp.i_$110,xmp.i_$11B,[xmp.i_$111,xmp.PLAY,xmp.ENDED,xmp.ERRORS]);};xmp.DERIVE_CLASS(xmp.$.$2L,xmp.$.$2Q);xmp.$.$3.i_$PZ('\u0078\u006D\u0070\u002E\u0049\u006E\u0069\u0074\u0050\u006C\u0061\u0079\u0062\u0061\u0063\u006B\u004D\u006F\u0064\u0065',xmp.$.$2Q);xmp.$.$2Q.prototype.i_$ZJ=function(gg,hg,ig){try{this.i_$ZG(gg).i_$T5(hg);}
catch(e){this.i_$T6(gg,xmp.OPEN_OPERATION,e);}};xmp.$.$2Q.prototype.i_$T5=function(jg,kg){throw new xmp.$.$2C("Invoking state operation.","The \""+xmp.OPEN_OPERATION+"\" operation has already been executed.",this);};xmp.i_$11C="NormalPlayback";xmp.PLAY="Play";xmp.i_$112="play";xmp.$.$2R=function(){xmp.$.$2R.ctor.call(this,xmp.PLAY,xmp.i_$11C,[xmp.i_$111,xmp.ENDED,xmp.ERRORS]);};xmp.DERIVE_CLASS(xmp.$.$2L,xmp.$.$2R);xmp.$.$3.i_$PZ('\u0078\u006D\u0070\u002E\u004E\u006F\u0072\u006D\u0061\u006C\u0050\u006C\u0061\u0079\u0062\u0061\u0063\u006B\u004D\u006F\u0064\u0065',xmp.$.$2R);xmp.$.$2R.prototype.i_$ZJ=function(lg,mg,ng){this.i_$YB(lg);};xmp.$.$2R.prototype.i_$YB=function(og){try{this.i_$ZG(og).i_$YB();}
catch(e){this.i_$T6(og,xmp.i_$112,e);}};xmp.i_$11D="PausePlayback";xmp.PAUSE="Pause";xmp.i_$113="pause";xmp.$.$2S=function(){xmp.$.$2S.ctor.call(this,xmp.PAUSE,xmp.i_$11D,[xmp.i_$111,xmp.ENDED,xmp.ERRORS]);};xmp.DERIVE_CLASS(xmp.$.$2L,xmp.$.$2S);xmp.$.$3.i_$PZ('\u0078\u006D\u0070\u002E\u0050\u0061\u0075\u0073\u0065\u0050\u006C\u0061\u0079\u0062\u0061\u0063\u006B\u004D\u006F\u0064\u0065',xmp.$.$2S);xmp.$.$2S.prototype.i_$ZJ=function(pg,qg,rg){this.i_$YC(pg);};xmp.$.$2S.prototype.i_$YC=function(sg){try{this.i_$ZG(sg).i_$YC();}
catch(e){this.i_$T6(sg,xmp.i_$113,e);}};xmp.$.$2T=function(){this.p_$91=[];var tg=[new xmp.$.$2Q(),new xmp.$.$2P(),new xmp.$.$2S(),new xmp.$.$2R(),new xmp.$.$2S(),new xmp.$.$2W(),new xmp.$.$2U(),new xmp.$.$2O(),new xmp.$.$2V(),new xmp.$.$2M(),new xmp.$.$2N()];for(var i=0;i<tg.length;i++){this.p_$92(tg[i]);}};xmp.$.$3.i_$PZ('\u0078\u006D\u0070\u002E\u0050\u006C\u0061\u0079\u0065\u0072\u004D\u006F\u0064\u0065\u0052\u0065\u0067\u0069\u0073\u0074\u0072\u0079',xmp.$.$2T);xmp.$.$2T.prototype.p_$92=function(ug){this.p_$91[ug.i_$X4()]=ug;};xmp.$.$2T.prototype.i_$11E=function(vg){var wg=this.p_$91[vg];if(wg!==null){return wg;}
throw new xmp.$.$2C("Finding playback mode.","Unable to find player mode \""+vg+"\".",null);};xmp.i_$11F="RewindPlayback";xmp.REWIND="Rewind";xmp.i_$115="Rewind";xmp.$.$2U=function(){xmp.$.$2U.ctor.call(this,xmp.REWIND,xmp.i_$11F,[xmp.i_$111,xmp.ENDED,xmp.ERRORS]);};xmp.DERIVE_CLASS(xmp.$.$2L,xmp.$.$2U);xmp.$.$3.i_$PZ('\u0078\u006D\u0070\u002E\u0052\u0065\u0077\u0069\u006E\u0064\u0050\u006C\u0061\u0079\u0062\u0061\u0063\u006B\u004D\u006F\u0064\u0065',xmp.$.$2U);xmp.$.$2U.prototype.i_$ZJ=function(xg,yg,zg){this.i_$YD(xg);};xmp.$.$2U.prototype.i_$YD=function(Ag){try{this.i_$ZG(Ag).i_$YD();}
catch(e){this.i_$T6(Ag,xmp.i_$115,e);}};xmp.i_$11G="SeekablePlayback";xmp.SEEKABLE="Seekable";xmp.i_$117="seek";xmp.$.$2V=function(){xmp.$.$2V.ctor.call(this,xmp.SEEKABLE,xmp.i_$11G,[xmp.i_$111,xmp.ENDED,xmp.ERRORS]);};xmp.DERIVE_CLASS(xmp.$.$2L,xmp.$.$2V);xmp.$.$3.i_$PZ('\u0078\u006D\u0070\u002E\u0053\u0065\u0065\u006B\u0061\u0062\u006C\u0065\u0050\u006C\u0061\u0079\u0062\u0061\u0063\u006B\u004D\u006F\u0064\u0065',xmp.$.$2V);xmp.$.$2V.prototype.i_$ZJ=function(Bg,Cg,Dg){this.i_$YF(Bg,Cg);};xmp.$.$2V.prototype.i_$YF=function(Eg,Fg){try{this.i_$ZG(Eg).i_$YF(Fg);}
catch(e){this.i_$T6(Eg,xmp.i_$117,e);}};xmp.i_$11H="StopPlayback";xmp.STOP="Stop";xmp.i_$114="stop";xmp.$.$2W=function(){xmp.$.$2W.ctor.call(this,xmp.STOP,xmp.i_$11H,[xmp.i_$111,xmp.ENDED,xmp.ERRORS]);};xmp.DERIVE_CLASS(xmp.$.$2L,xmp.$.$2W);xmp.$.$3.i_$PZ('\u0078\u006D\u0070\u002E\u0053\u0074\u006F\u0070\u0050\u006C\u0061\u0079\u0062\u0061\u0063\u006B\u004D\u006F\u0064\u0065',xmp.$.$2W);xmp.$.$2W.prototype.i_$ZJ=function(Gg,Hg,Ig){this.i_$RN(Gg);};xmp.$.$2W.prototype.i_$RN=function(Jg){try{this.i_$ZG(Jg).i_$RN();}
catch(e){this.i_$T6(Jg,xmp.i_$114,e);}};xmp.$.$2X=function(){var Kg={};var Lg=xmp.$.$16.i_$S2("NativePlayerRegistry");return{i_$10X:function(Mg,Ng){if(Kg[Mg]!==null&&true===xmp.i_$OR(Kg[Mg])){throw new xmp.$.$28("Creating group.","A native player group already exists with the name \""+Mg+"\".",null);}
var Og=xmp.$.$2Z.i_$10L(xmp.$.$T.OS,xmp.$.$T.browser);var Pg=((Og)?xmp.$.$2Z.i_$11I(Og.playersGroup):xmp.$.$2Z.getDefaultNativePlayerGroup());Kg[Mg]={owner:Ng,template:Pg,players:{}};Lg.info("Created native player group \""+Mg+"\".");},i_$11J:function(Qg,Rg){var Sg=this.p_$93(Qg);var Tg=Sg.players[Rg];if(Tg){return Tg;}
this.i_$ZP(Qg,Rg);Tg=Sg.players[Rg];if(Tg){return Tg;}
throw new xmp.$.$2A("Finding player by mime type.","Unable to find native player for mime type \""+Rg+"\".",Qg,Rg);},i_$10B:function(Ug,Vg){var Wg=this.p_$93(Ug);for(var Xg=xmp.$.$4.i_$Q7(Wg.players);Xg.i_$Q9();Xg.i_$QB()){var Yg=Xg.i_$QD();if(Yg.i_$X4()===Vg){return Yg;}}
throw new xmp.$.$2A("Finding player by media type.","Unable to find native player for type \""+Vg+"\".",Ug,Vg);},i_$ZP:function(Zg,$g){var ah=this.p_$93(Zg);var bh=ah.players[$g];if(bh){bh.i_$ZP($g);return;}
var ch=ah.template[$g];if(!ch){throw new xmp.$.$2A("Validating player.","Unable to find native player for mime type \""+$g+"\".  Missing native player group.",Zg,$g);}
var dh=ch.length;var eh=null;for(var i=0;i<dh;i++){try{bh=this.p_$94(ah.owner,ch[i]);bh.i_$ZP($g);ah.players[$g]=bh;Lg.info("Registered native player \""+bh.i_$X4()+"\" for mime type \""+$g+"\" and group \""+Zg+"\".");return;}
catch(e){Lg.warn("\n\n"+e.message,e);if(i===0){eh=e;}
if(i===(dh-1)){throw eh;}}}},i_$10Z:function(fh){var gh=this.p_$93(fh);if(!gh){return;}
for(var hh=xmp.$.$4.i_$Q7(gh.players);hh.i_$Q9();hh.i_$QB()){var ih=hh.i_$QD();ih.i_$WW();}
Kg[fh]=null;Lg.info("Destroyed native player group \""+fh+"\".");},p_$94:function(jh,kh){var lh=xmp.$.$3.i_$PW(kh);var mh=lh.i_$Q3([jh,kh]);return mh;},p_$95:function(nh,oh){if(!oh){throw new xmp.$.$29("Validating native player group.","Invalid native player group \""+nh+"\".",nh);}},p_$93:function(ph){var qh=Kg[ph];this.p_$95(ph,qh);return qh;}};}();xmp.$.$3.i_$PZ('\u0078\u006D\u0070\u002E\u004E\u0061\u0074\u0069\u0076\u0065\u0050\u006C\u0061\u0079\u0065\u0072\u0052\u0065\u0067\u0069\u0073\u0074\u0072\u0079',xmp.$.$2X,true);xmp.i_$11K="Null";xmp.i_$11L="application/x-null";xmp.$.$2Y=function(rh,sh){xmp.$.$2Y.ctor.call(this,xmp.i_$11K,null,sh);};xmp.DERIVE_CLASS(xmp.$.$1X,xmp.$.$2Y);xmp.$.$3.i_$PZ('\u0078\u006D\u0070\u002E\u004E\u0075\u006C\u006C\u0050\u006C\u0061\u0079\u0065\u0072',xmp.$.$2Y);xmp.$.$2Y.prototype.i_$Q7=function(th){th.id=th.viewport.name;if(th.viewport&&th.viewport.i_$X4()===xmp.DHTML_VIEWPORT){th.viewport.i_$WZ().style.backgroundColor=xmp.i_$QT;th.viewport.i_$WZ().innerHTML="";}
xmp.$.$2Y.base.i_$Q7.call(this,th);};xmp.$.$2Z=function(){var uh="/PlayerContexts/Global/PlayingPolicy";var vh="PlayingPolicy/MediaTypes";var wh="PlayingPolicy/PlugIns";var xh="Strategy";var yh="PlayingPolicy/Streaming Modes";var zh="PlayingPolicy/Bootstrap Media";var Ah="PlayingPolicy/Supported Platforms";var Bh="PlayingPolicy/Playback Priority Groups";var Ch="PlayingPolicy/Native Players";var Dh="PlayingPolicy/Native Player Groups";var Eh="PlayingPolicy/Playback Platforms";var Fh="Streaming Modes";var Gh="Players";var Hh="Properties";var Ih="mime-type";var Jh="display-name";var Kh="download-url";var Lh="minimum-version";var Mh="maximum-version";var Nh="Failover";var Oh="BasePlayer/PlayerSizes";var Ph="PlugIns Overrides";return{p_$96:function(){this.p_$97={};var Qh=xmp.$.$1B.i_$P4().getGlobalContextNode();var Rh=Qh.getNodeForPath(vh);var Sh=Rh.retrieveChildren();var Th=Sh.length;for(var i=0;i<Th;i++){var Uh=Sh[i];var Vh=Uh.getString(Ih,xmp.NO_DEFAULT_VALUE);this.p_$8L(Uh.getName(),Vh);var Wh={type:Uh.getName(),mimeType:Vh,streamingModes:{}};var Xh=Uh.getNodeForPath(Fh);var Yh=Xh.retrieveKeys();var Zh=Yh.length;for(var j=0;j<Zh;j++){var $h=this.p_$98(Wh.type,Xh,Yh[j]);Wh.streamingModes[$h.type]=$h;}
this.p_$97[Wh.type]=Wh;}},p_$99:function(){this.p_$89={};var ai=xmp.$.$1B.i_$P4().getGlobalContextNode();var bi=ai.getNodeForPath(wh);var ci=bi.retrieveChildren();var di=ci.length;for(var i=0;i<di;i++){var ei=ci[i];var fi={name:ei.getName(),displayName:ei.getString(Jh,xmp.NO_DEFAULT_VALUE),minVersion:ei.getString(Lh,xmp.NO_DEFAULT_VALUE),maxVersion:ei.getString(Mh,xmp.NO_DEFAULT_VALUE),downloadUrl:ei.getString(Kh,xmp.NO_DEFAULT_VALUE),properties:{}};this.p_$9A(fi);this.p_$89[ei.getName()]=fi;}},i_$10I:function(gi,hi){this.p_$4G();return this.p_$9B().i_$10I(gi,hi);},p_$8L:function(ii,ji){if(!ji){throw new xmp.$.$22("Validating player policy media mime type.","NULL \""+ii+"\" playing policy MIME type \""+ji+"\".");}
if(ji.length===0){throw new xmp.$.$22("Validating player policy media mime type.","Missing \""+ii+"\" playing policy MIME type \""+ji+"\".");}},p_$98:function(ki,li,mi){var ni={type:mi,url_mask:li.getString(mi,xmp.NO_DEFAULT_VALUE)};this.p_$9C(ki,ni);return ni;},p_$9C:function(oi,pi){if(false===this.i_$11M(pi.type)){throw new xmp.$.$2E("Validating streaming mode.","Invalid streaming mode "+pi.type+" for media type "+oi+".");}
if(pi.url_mask.length===0){throw new xmp.$.$2E("Validating streaming mode.","Missing \""+oi+"\" playing policy \""+pi.type+"\" url mask.");}},p_$9B:function(){if(this.p_$9D===null){var qi=xmp.$.$1B.i_$P4().getGlobalContextNode().getNodeForPath(uh);var ri=qi.getString(xh,xmp.NO_DEFAULT_VALUE);if(ri.length===0){throw new xmp.$.$2E("Retrieving strategy.","Missing playing policy strategy.  Expected \"Lazy\".");}
this.p_$9D=xmp.$.$30.i_$11N(ri,this);this.i_$RV().debug("Created player policy \""+ri+"\" strategy.");}
return this.p_$9D;},i_$10K:function(si){return this.p_$97[si];},i_$ZQ:function(){this.p_$4G();return this.p_$89;},p_$9E:function(ti){return this.i_$ZQ()[ti];},p_$9A:function(ui){if(ui.displayName.length===0){throw new xmp.$.$2E("Validating plugin.","Missing plugin display name.");}
if(ui.minVersion.length===0){throw new xmp.$.$2E("Validating plugin.","Missing plugin \""+ui.displayName+"\" minimum version.");}
if(ui.downloadUrl.length===0){throw new xmp.$.$2E("Validating plugin.","Missing plugin \""+ui.displayName+"\" download url.");}},i_$RV:function(){return this.p_$X;},p_$4G:function(){if(this.p_$9F&&true===this.p_$9F){return;}
this.p_$9F=true;this.p_$9D=null;this.p_$X=xmp.$.$16.i_$S2('PlayerPolicy');xmp.$.$18.i_$P4().i_$WD("OS",navigator.platform);xmp.$.$18.i_$P4().i_$WD("Browser",navigator.userAgent);this.p_$9G();this.p_$96();this.p_$9H();this.p_$99();this.p_$9I();this.p_$9J();this.p_$9K();this.p_$9L();this.p_$9M();},i_$10P:function(){if(!this.p_$9N){var vi=xmp.$.$1B.i_$P4().getGlobalContextNode().getNodeForPath(uh);this.p_$9N=vi.getBoolean(Nh,false);}
return this.p_$9N;},i_$UY:function(){this.p_$4G();if(!this.p_$9O){this.p_$9P();}
return this.p_$9O;},i_$10N:function(wi){this.p_$4G();var xi=this.i_$UY();var yi=xi.length;for(var i=0;i<yi;i++){var zi=wi.length;for(var j=0;j<zi;j++){if(xi[i]===wi[j]){return xi[i];}}}
return"";},p_$9P:function(){this.p_$9O=[];var Ai=xmp.$.$1B.i_$P4().getContextNode().getNodeForPath(Oh);var Bi=Ai.retrieveKeys();var Ci=Bi.length;if(Ci===0){throw new xmp.$.$2E("Validating player sizes.","Missing player sizes.");}
for(var i=0;i<Ci;i++){var Di=Ai.getString(Bi[i],xmp.NO_DEFAULT_VALUE);if(Di.length===0){throw new xmp.$.$2E("Validating player size.","Missing player size.");}
this.p_$9O.push(Di);}},i_$10O:function(Ei){this.p_$4G();this.p_$9B().i_$10O(Ei);},p_$9G:function(){var Fi=xmp.$.$1B.i_$P4().getGlobalContextNode().getNodeForPath(yh);var Gi=Fi.retrieveKeys();var Hi=Gi.length;this.p_$91=[];for(var i=0;i<Hi;i++){var Ii=Fi.getString(Gi[i],xmp.NO_DEFAULT_VALUE);if(Ii.length===0){throw new xmp.$.$2E("Validating streaming mode.","Missing mode.");}
this.p_$91.push(Ii);}
return this.p_$91;},i_$UW:function(){this.p_$4G();if(!this.p_$91){throw new xmp.$.$2E("Retrieving streaming modes.","Missing modes.");}
if(this.p_$91.length===0){throw new xmp.$.$2E("Validating streaming modes.","Missing modes.");}
return this.p_$91;},p_$9H:function(){var Ji=xmp.$.$1B.i_$P4().getGlobalContextNode().getNodeForPath(zh);var Ki=Ji.retrieveKeys();var Li=Ki.length;if(Li===0){throw new xmp.$.$2E("Validating bootstrap media.","Missing media.");}
this.p_$9Q=[];for(var i=0;i<Li;i++){var Mi=Ji.getString(Ki[i],xmp.NO_DEFAULT_VALUE);var Ni=this.i_$10K(Mi);if(!Ni){throw new xmp.$.$2E("Validating bootstrap media.","Invalid bootstrap media type \""+Mi+"\".");}
this.p_$9Q.push(Ni);}
return this.p_$9Q;},i_$10Y:function(){this.p_$4G();if(!this.p_$9Q){throw new xmp.$.$2E("Retrieving bootstrap media.","Missing media.");}
return this.p_$9Q;},p_$9I:function(){var Oi=xmp.$.$1B.i_$P4().getGlobalContextNode().getNodeForPath(Ch);var Pi=Oi.retrieveChildren();var Qi=Pi.length;if(Qi===0){throw new xmp.$.$2E("Validating native players.","Missing players.");}
this.p_$9R=[];for(var i=0;i<Qi;i++){var Ri=Pi[i];if(xmp.$.$3.i_$PW(Ri.getName())===null){throw new xmp.$.$2E("Validating native player.","Invalid "+Ri.getName()+" native player.");}
var Si=Ri.retrieveKeys();var Ti=Si.length;var Ui={};for(var j=0;j<Ti;j++){Ui[Si[j]]=Ri.getString(Si[j],xmp.NO_DEFAULT_VALUE);}
this.p_$9R[Ri.getName()]=Ui;}},p_$9J:function(){var Vi=xmp.$.$1B.i_$P4().getGlobalContextNode().getNodeForPath(Dh);var Wi=Vi.retrieveChildren();var Xi=Wi.length;if(Xi===0){throw new xmp.$.$2E("Validating native player groups.","Missing groups.");}
this.p_$9S=[];for(var i=0;i<Xi;i++){var Yi=this.p_$9T();var Zi=Wi[i];var $i=Zi.retrieveChildren();var aj=$i.length;if(aj===0){throw new xmp.$.$2E("Validating native player group mime types.","Missing "+Zi.getName()+" mime types.");}
for(var j=0;j<aj;j++){var bj=$i[j].getString(Ih,xmp.NO_DEFAULT_VALUE);if(bj.length===0){throw new xmp.$.$2E("Validating native player group mime type.","Missing \""+Zi.getName()+"\" mime type.");}
if(false===this.i_$11O(bj)){continue;}
var cj=$i[j].getNodeForPath(Gh);var dj=cj.retrieveKeys();var ej=dj.length;if(ej===0){throw new xmp.$.$2E("Validating native player group mime type players.","Missing "+Zi.getName()+" native player group \""+bj+"\" players.");}
var fj=[];for(var k=0;k<ej;k++){var gj=cj.getString(dj[k],xmp.NO_DEFAULT_VALUE);if(gj.length===0){throw new xmp.$.$2E("Validating native player group mime type player.","Missing "+Zi.getName()+" native player group \""+bj+"\" player.");}
if(false===xmp.i_$OR(this.i_$10D(gj))){throw new xmp.$.$2E("Validating native player group mime type player.","Invalid "+Zi.getName()+" native player group \""+bj+"\" player \""+gj+".");}
fj.push(gj);}
Yi[bj]=fj;}
this.p_$9S[Zi.getName()]=Yi;}},p_$9K:function(){var hj=xmp.$.$1B.i_$P4().getGlobalContextNode().getNodeForPath(Ah);var ij=hj.retrieveChildren();var jj=ij.length;if(jj===0){throw new xmp.$.$2E("Validating supported platforms.","Missing platforms.");}
this.p_$9U={};for(var i=0;i<jj;i++){var kj=ij[i];var lj=kj.retrieveKeys();var mj=lj.length;if(mj===0){throw new xmp.$.$2E("Validating supported platform browsers.","Missing "+kj.getName()+" browsers.");}
var nj=[];for(var j=0;j<mj;j++){var oj=kj.getString(lj[j],xmp.NO_DEFAULT_VALUE);if(oj.length===0){throw new xmp.$.$2E("Validating supported platform browser native player group.","Missing "+kj.getName()+" platform \""+lj[j]+"\" browser native player group.");}
if(false===xmp.i_$OR(this.i_$11I(oj))){throw new xmp.$.$2E("Validating supported platform browser native player group.","Invalid "+kj.getName()+" platform \""+lj[j]+"\" browser native player group \""+oj+"\".");}
nj.push({name:lj[j],playersGroup:oj,modes:{}});}
if(xmp.$.$T.OS===kj.getName()){this.p_$9V(kj);}
this.p_$9U[kj.getName()]=nj;}},p_$9L:function(){var pj=xmp.$.$1B.i_$P4().getGlobalContextNode().getNodeForPath(Bh);var qj=pj.retrieveChildren();var rj=qj.length;if(rj===0){throw new xmp.$.$2E("Validating playback priority groups.","Missing groups.");}
this.p_$9W=[];for(var i=0;i<rj;i++){var sj=qj[i];var tj=sj.retrieveKeys();var uj=tj.length;if(uj===0){throw new xmp.$.$2E("Validating playback priority group media.","Missing "+sj.getName()+" media.");}
var vj=[];for(var j=0;j<uj;j++){var wj=sj.getString(tj[j],xmp.NO_DEFAULT_VALUE);if(wj.length===0){throw new xmp.$.$2E("Validating playback priority group media.","Missing "+sj.getName()+" media type.");}
if(false===xmp.i_$OR(this.i_$10K(wj))){throw new xmp.$.$2E("Validating playback priority group media.","Invalid "+sj.getName()+" media type \""+wj+"\".");}
vj.push(wj);}
this.p_$9W[sj.getName()]=vj;}},p_$9M:function(){var xj=xmp.$.$1B.i_$P4().getGlobalContextNode().getNodeForPath(Eh);var yj=xj.retrieveChildren();var zj=yj.length;if(zj===0){throw new xmp.$.$2E("Validating playback platforms.","Missing platforms.");}
for(var i=0;i<zj;i++){var Aj=yj[i];if(this.p_$9X(Aj.getName())===null){throw new xmp.$.$2E("Validating playback platform OS.","The "+Aj.getName()+"platform OS is not supported.");}
var Bj=Aj.retrieveChildren();var Cj=Bj.length;if(Cj===0){throw new xmp.$.$2E("Validating playback platform browsers.","Missing "+Aj.getName()+" platform browsers.");}
for(var j=0;j<Cj;j++){var Dj=Bj[j];var Ej=this.i_$10L(Aj.getName(),Dj.getName());if(!Ej){throw new xmp.$.$2E("Validating playback platform browser.","The "+Aj.getName()+" platform browser "+Dj.getName()+" is not supported.");}
var Fj=Dj.retrieveKeys();var Gj=Fj.length;if(Gj===0){throw new xmp.$.$2E("Validating playback platform browser streaming modes.","Missing "+Aj.getName()+" platform browser "+Dj.getName()+" streaming modes.");}
for(var k=0;k<Gj;k++){if(false===this.i_$11M(Fj[k])){throw new xmp.$.$2E("Validating playback platform browser streaming mode.","Invalid "+Aj.getName()+" platform browser "+Dj.getName()+" streaming mode "+Fj[k]+".");}
var Hj=Dj.getString(Fj[k],xmp.NO_DEFAULT_VALUE);if(Hj.length===0){throw new xmp.$.$2E("Validating playback platform browser streaming mode priority group.","Missing "+Aj.getName()+" platform browser "+Dj.getName()+" streaming mode "+Fj[k]+" playback priority group.");}
if(false===xmp.i_$OR(this.i_$10M(Hj))){throw new xmp.$.$2E("Validating playback platform browser streaming mode priority group.","Invalid "+Aj.getName()+" platform browser "+Dj.getName()+" streaming mode "+Fj[k]+" playback priority group "+Hj+".");}
Ej.modes[Fj[k]]=Hj;}}}},p_$9V:function(Ij){var Jj=Ij.getNodeForPath(Ph);var Kj=Jj.retrieveChildren();var Lj=Kj.length;for(var i=0;i<Lj;i++){var Mj=Kj[i];var Nj=this.p_$9E(Mj.getName());if(!Nj){throw new xmp.$.$2E("Validating platform plugin override.","Invalid "+Ij.getName()+" platform \""+Mj.getName()+"\" plugin.");}
var Oj=Mj.getString(Lh,xmp.NO_DEFAULT_VALUE);if(Oj.length>0){Nj.minVersion=Oj;}
var Pj=Mj.getString(Mh,xmp.NO_DEFAULT_VALUE);if(Pj.length>0){Nj.maxVersion=Pj;}
var Qj=Mj.getString(Kh,xmp.NO_DEFAULT_VALUE);if(Qj.length>0){Nj.downloadUrl=Qj;}}},p_$9X:function(Rj){return this.p_$9U[Rj];},i_$10M:function(Sj){this.p_$4G();return this.p_$9W[Sj];},i_$10L:function(Tj,Uj){this.p_$4G();var Vj=this.p_$9X(Tj);if(!Vj){return null;}
var Wj=Vj.length;for(var i=0;i<Wj;i++){if(Uj===Vj[i].name){return Vj[i];}}
return null;},i_$11M:function(Xj){var Yj=this.p_$91.length;for(var i=0;i<Yj;i++){if(Xj===this.p_$91[i]){return true;}}
return false;},i_$11O:function(Zj){this.p_$4G();for(var $j=xmp.$.$4.i_$Q7(this.p_$97);$j.i_$Q9();$j.i_$QB()){var ak=$j.i_$QD();if(ak.mimeType===Zj){return true;}}
return((this.p_$9T()[Zj])?true:false);},i_$UX:function(){this.p_$4G();var bk=[];for(var ck=xmp.$.$4.i_$Q7(this.p_$97);ck.i_$Q9();ck.i_$QB()){bk.push(ck.i_$QD().mimeType);}
return bk;},i_$10D:function(dk){this.p_$4G();return this.p_$9R[dk];},i_$11I:function(ek){this.p_$4G();return this.p_$9S[ek];},p_$9T:function(){this.p_$4G();return{"application/x-null":["xmp.NullPlayer"],"application/x-dhtml":["xmp.DHTMLPlayer"],"application/xmp-mock":["xmp.MockNativePlayer"]};}};}();xmp.$.$3.i_$PZ('\u0078\u006D\u0070\u002E\u0050\u006C\u0061\u0079\u0065\u0072\u0050\u006F\u006C\u0069\u0063\u0079',xmp.$.$2Z,true);xmp.$.$30=function(){return{i_$11N:function(fk,gk){if(fk===xmp.i_$10V){return new xmp.$.$2K(gk);}
throw new xmp.$.$2E("Creating playing policy strategy.","Unable to create playing policy strategy \""+fk+"\".");}};}();xmp.$.$3.i_$PZ('\u0078\u006D\u0070\u002E\u0050\u006C\u0061\u0079\u0069\u006E\u0067\u0050\u006F\u006C\u0069\u0063\u0079\u0046\u0061\u0063\u0074\u006F\u0072\u0079',xmp.$.$30,true);xmp.$.$31=function(){this.p_$X=xmp.$.$16.i_$S2('ContextualUrlStrategy');this.p_$9Y=null;this.p_$9Z={};this.p_$A0=new xmp.$.$34();xmp.$.$1B.i_$P4().i_$WL(new xmp.$.$M('ContextualUrlStrategy',this.p_$A1,this));};xmp.$.$3.i_$PZ('\u0078\u006D\u0070\u002E\u0043\u006F\u006E\u0074\u0065\u0078\u0074\u0075\u0061\u006C\u0055\u0072\u006C\u0053\u0074\u0072\u0061\u0074\u0065\u0067\u0079',xmp.$.$31);xmp.$.$31.i_$Q7=function(){var hk=new xmp.$.$31();return hk;};xmp.$.$31.prototype.i_$PU=function(){return'Contextual';};xmp.$.$31.prototype.i_$11P=function(ik,jk,kk,lk){if((!ik)||(!jk)||(!kk)){return false;}
if(kk instanceof xmp.$.$27&&(this.p_$9Z[this.p_$A2(jk)].i_$PU()!==this.p_$A0.i_$PU())){var mk=kk;var nk=this.p_$9Z[this.p_$A2(jk)];if((nk)&&(nk.i_$11Q)){mk=nk.i_$11Q(jk,kk,lk);}
this.p_$A3(jk,mk);if(mk!==kk){return true;}
jk.setURI(jk.getMetadata('originalUri','foo'));jk.setUriAbsolute(false);ik.open(jk);return true;}
return false;};xmp.$.$31.prototype.i_$11R=function(ok,pk){var qk=new xmp.$.$M('ContextualUrlStrategy',this.p_$A4,this);qk.i_$V6('relayCb',pk);try{this.p_$9B(ok).i_$11R(ok,qk);}
catch(ex){this.p_$X.warn('Error calling i_buildUrlAsynch: '+ex);this.p_$A4(qk,ok,ex);}};xmp.$.$31.prototype.p_$A4=function(rk,sk,tk){var uk=rk.i_$V8('relayCb',xmp.$.$V.i_$V9());if(tk!==null){this.p_$A3(sk,tk);if(tk.octoError){this.p_$X.warn('Trying again after fail over.');this.i_$11R(sk,uk);return;}}
uk.i_$OY(sk,tk);};xmp.$.$31.prototype.p_$A3=function(vk,wk){try{if(wk instanceof xmp.$.$1W){return;}
var xk=this.p_$A2(vk);this.p_$X.i_$TJ('Failing over for strategy: '+xk,wk);this.p_$9Z[xk]=this.p_$A0;}
catch(ex){this.p_$X.i_$TJ('Error setting failover strategy, setting all strategies to default: '+ex);for(var yk=xmp.$.$4.i_$Q7(this.p_$9Z);yk.i_$Q9();yk.i_$QB()){yk.i_$QE(this.p_$A0);}}};xmp.$.$31.prototype.p_$A2=function(zk){var Ak=zk.getMimeType();if(!xmp.i_$OP(Ak)){throw new Error('No mime-type on playable node.');}
this.p_$A5();var Bk=this.p_$9Y[Ak];if(!xmp.i_$OP(Bk)){Bk='Simple';this.p_$9Y[Ak]=Bk;}
return Bk;};xmp.$.$31.prototype.p_$9B=function(Ck){var Dk=this.p_$A2(Ck);var Ek=this.p_$9Z[Dk];if(typeof(Ek)==='undefined'){Ek=this.p_$A6(Dk);this.p_$9Z[Dk]=Ek;}
if(this.p_$X.isInfoEnabled()){this.p_$X.info('For mime-type: '+Ck.getMimeType()+', requested strategy: '+Dk+', actual strategy: '+Ek.i_$PU());}
return Ek;};xmp.$.$31.prototype.p_$A6=function(Fk){if(Fk==='Simple'){return this.p_$A0;}
if(Fk==='Octoshape'){return new xmp.$.$33();}
if(Fk==='OctoshapeConditional'){if(xmp.$.$32.i_$P4().i_$11S()&&xmp.$.$33.i_$VI()){return new xmp.$.$33();}
else{return this.p_$A0;}}
throw new Error('Unrecogonized URL strategy name: '+Fk);};xmp.$.$31.prototype.p_$A5=function(){if(this.p_$9Y!==null){return;}
this.p_$9Y={};this.p_$9Z={};var Gk=xmp.$.$1B.i_$P4().getContextNode().getNodeForPath('UrlStrategies');var Hk=Gk.retrieveKeys();for(var i=0;i<Hk.length;i++){var Ik=Hk[i];var Jk=Gk.getString(Ik,'dummy');this.p_$9Y[Ik]=Jk;}};xmp.$.$31.prototype.p_$A1=function(){this.p_$9Y=null;};xmp.$.$32=function(){this.p_$X=xmp.$.$16.i_$S2('InternalUserDetection');this.p_$A7=false;this.p_$A8=false;this.p_$A9=-1;};xmp.$.$3.i_$PZ('\u0078\u006D\u0070\u002E\u0049\u006E\u0074\u0065\u0072\u006E\u0061\u006C\u0055\u0073\u0065\u0072\u0044\u0065\u0074\u0065\u0063\u0074\u0069\u006F\u006E',xmp.$.$32);xmp.$.$32.p_$5C=null;xmp.$.$32.i_$P4=function(){if(xmp.$.$32.p_$5C===null){xmp.$.$32.p_$5C=new xmp.$.$32();}
return xmp.$.$32.p_$5C;};xmp.$.$32.prototype.i_$11S=function(){if(!this.p_$A7){throw new Error('InternalUserDetection not initialized.');}
return this.p_$A8;};xmp.$.$32.prototype.i_$S5=function(Kk){this.p_$A7=false;this.p_$A8=false;this.p_$A9=-1;try{var Lk=this.p_$AA();if(!Lk.getBoolean('do primary check',false)){this.p_$X.info('Primary check turned OFF, NOT an internal user.');this.p_$AB(Kk,false);return;}
this.p_$A9=this.p_$AC();if(1===this.p_$A9){if(Lk.getBoolean('do secondary check',false)){this.p_$X.info('Primary check returned true, and secondary check turned ON, doing secondary check.');this.p_$AD(Kk);return;}
else{this.p_$X.info('Primary check returned true, and secondary check turned OFF, IS an internal user.');this.p_$AB(Kk,true);return;}}
else{this.p_$X.info('Primary check returned: '+this.p_$A9+', NOT an internal user.');this.p_$AB(Kk,false);return;}}
catch(ex){this.p_$X.info('Error checking internal user.',ex);this.p_$AB(Kk,false);}};xmp.$.$32.prototype.p_$AB=function(Mk,Nk){this.p_$A8=Nk;this.p_$AE(Mk);};xmp.$.$32.prototype.p_$AC=function(){var cc=this.p_$AF();if(!xmp.i_$OP(cc)){return-1;}
if(cc==='***'){return 1;}
return 0;};xmp.$.$32.prototype.p_$AF=function(){var cc='';if(xmp.$.$O.i_$VI()){var Ok=xmp.$.$O.i_$VK('adDEmas');if(xmp.i_$OP(Ok)){var Pk=Ok.split('&');if(Pk.length>=5){cc=Pk[4];}}}
return cc;};xmp.$.$32.prototype.p_$AE=function(Qk){this.p_$A7=true;Qk.i_$TI([]);};xmp.$.$32.prototype.p_$AD=function(Rk){var Sk=this.p_$AA();var Tk=Sk.getString('rel url','dummy');var Uk='internalUserCheckResource';this.p_$A8=false;var Vk=new xmp.$.$M('InternalUserDetection.p_checkResourceLoadedFromWeb',this.p_$AG,this);Vk.i_$V6('relayCb',Rk);xmp.$.$7.i_$P4().i_$RF(Tk,Vk,Uk,Tk,xmp.$.$A.i_$RW,null);};xmp.$.$32.prototype.p_$AG=function(Wk,Xk){var Yk=Wk.i_$V8('relayCb',xmp.$.$V.i_$V9());this.p_$A7=true;this.p_$A8=!Xk.i_$SF();this.p_$X.info('Secondary check returned: '+this.p_$A8+', user '+(this.p_$A8?'IS':'is NOT')+' an internal user.');try{Yk.i_$OY();}
catch(ex){this.p_$X.error('Error calling callback.',ex);}};xmp.$.$32.prototype.p_$AA=function(){return xmp.$.$1B.i_$P4().getGlobalContextNode().getNodeForPath('InternalUserCheck');};xmp.$.$33=function(){this.p_$X=xmp.$.$16.i_$S2('OctoshapeUrlStrategy');this.p_$AH='application/x-octoshapeplugin';this.p_$AI='ValidateOctoshape';this.p_$AJ=5;this.p_$AK=this.p_$AA().getInt('octo poll interval',2000);this.p_$AL=this.p_$AA().getInt('octo try limit',8);this.p_$AM=-4500;this.p_$AN=1;this.p_$AO=2;this.p_$AP='';this.p_$AQ=null;this.p_$AR=null;this.p_$AS=null;try{this.p_$AT();}
catch(ex){this.p_$AR=this.p_$AQ=null;this.p_$AS=ex;this.p_$X.warn('Error creating octoshape plugin: '+ex);}};xmp.$.$3.i_$PZ('\u0078\u006D\u0070\u002E\u004F\u0063\u0074\u006F\u0073\u0068\u0061\u0070\u0065\u0055\u0072\u006C\u0053\u0074\u0072\u0061\u0074\u0065\u0067\u0079',xmp.$.$33);xmp.$.$33.i_$VI=function(){try{if(typeof(xmp.$.$33._canUseInternal)==='undefined'){var Zk=xmp.$.$33.p_$AU();var $k='{fn:function(){'+Zk.getString('octo can use fn','return false;')+'}}';var al=xmp.$.$7.i_$P4().i_$RZ($k);xmp.$.$33._canUseInternal=al.fn;}
return xmp.$.$33._canUseInternal();}
catch(ex){xmp.$.$16.i_$S2('OctoshapeUrlStrategy').warn('Error calling i_canUse.',ex);return false;}};xmp.$.$33.prototype.i_$PU=function(){return'Octoshape';};xmp.$.$33.prototype.i_$11R=function(bl,cl){if(this.p_$AS!==null){throw this.p_$AS;}
try{var dl=new xmp.$.$M('OctoshapeUrlStrategy',this.p_$V,this);dl.i_$V6('relayCb',cl);dl.i_$V6('node',bl);this.p_$AV(dl);}
catch(ex){this.p_$AS=ex;cl.i_$TI([bl,ex]);}};xmp.$.$33.prototype.i_$11Q=function(el,fl,gl){if(!(fl instanceof xmp.$.$27)){return fl;}
var hl=this.p_$AW('Error',true);gl.i_$V5([el,hl]);return hl;};xmp.$.$33.prototype.p_$AV=function(il){var jl=il.i_$V8('node',xmp.$.$V.i_$V9());var kl=this.p_$AK;var ll=il.i_$V8('octo_tries',0);var ml=this.p_$AX(ll);switch(ml){case this.p_$AM:case this.p_$AN:kl=this.p_$AK;ll++;il.i_$V6('octo_tries',ll);break;case this.p_$AO:kl=this.p_$AJ;var nl=jl.getURI();var ol=jl.getBestId();var pl=this.p_$AA().getNodeForPath('url mapping');var ql=pl.getString(ol,nl);var rl=this.p_$AQ.getLink(ql,false);jl.setURI(rl);this.p_$X.info('Old URI: '+nl+', New Octoshape URI: '+rl+', Channel: '+ql+'.');il.i_$V6('octo_ready',true);break;default:throw this.p_$AW('Unexepected octoshape status: '+ml,false);}
if(this.p_$X.isDebugEnabled()){this.p_$X.debug('Node: '+jl.getBestId()+', timer duration: '+kl+', tries: '+ll+', status: '+ml);}
xmp.$.$1C.i_$V7(kl,il);};xmp.$.$33.p_$AU=function(){return xmp.$.$1B.i_$P4().getContextNode().getNodeForPath('UrlStrategies/Octoshape');};xmp.$.$33.prototype.p_$AA=function(){return xmp.$.$33.p_$AU();};xmp.$.$33.prototype.p_$V=function(sl){var tl=sl.i_$V8('relayCb',xmp.$.$V.i_$V9());var ul=sl.i_$V8('node',xmp.$.$V.i_$V9());var vl=sl.i_$V8('octo_ready',false);if(vl){tl.i_$OY(ul,null);}
else{try{this.p_$AV(sl);}
catch(ex){this.p_$AS=ex;tl.i_$OY(ul,ex);}}};xmp.$.$33.prototype.p_$AW=function(wl,xl){var yl=new xmp.$.$1W('xmp.PlugInError',this.p_$AI,wl,this.p_$AY());if(false){yl.octoError=true;}
yl.plugIn.octoInternal=true;return yl;};xmp.$.$33.prototype.p_$AX=function(zl){if(zl>=this.p_$AL){throw this.p_$AW('Exceeded limit of attempts to start octoshape: '+this.p_$AL,true);}
if(this.p_$AZ(zl===(this.p_$AL-1))){return this.p_$AQ.getStatus(true);}
else{return this.p_$AM;}};xmp.$.$33.prototype.p_$AZ=function(Al){if(this.p_$AQ){return true;}
if(!this.p_$AQ){if(!(typeof(this.p_$AR.getStatus)!=='undefined'&&typeof(this.p_$AR.getLink)!=='undefined')){if(Al){throw new xmp.$.$25(this.p_$AI,this.p_$AY(),'out-of-date-version');}
else{return false;}}
this.p_$AQ=this.p_$AR;return true;}};xmp.$.$33.prototype.p_$AT=function(){this.p_$AQ=null;this.p_$AR=null;if(window.ActiveXObject){try{this.p_$AR=new window.ActiveXObject('octoshapeplugin'+this.p_$AP+'.client');}
catch(ex){this.p_$X.info('Error creating Octoshape ActiveXObject',ex);this.p_$AR=null;}}
else{var Bl=this.p_$AH+this.p_$AP+'-client';var Cl=null;if(window.navigator&&window.navigator.mimeTypes&&window.navigator.mimeTypes.length){Cl=window.navigator.mimeTypes[Bl];}
if(!Cl){throw new xmp.$.$2G(this.p_$AI,this.p_$AY());}
if(!Cl.enabledPlugin){throw new xmp.$.$2F(this.p_$AI,this.p_$AY(),this.p_$AH);}
var Dl=window.document.createElement("DIV");window.document.body.appendChild(Dl);Dl.innerHTML='<object id="xmp_octoshapeclientobject" type="'+Bl+'" hidden="true"></object>';this.p_$AR=window.document.getElementById('xmp_octoshapeclientobject');}
if(!this.p_$AR){throw new xmp.$.$2G(this.p_$AI,this.p_$AY());}};xmp.$.$33.prototype.p_$AY=function(){var El=xmp.$.$2Z;var Fl=El.i_$ZQ();var Gl=Fl.Octoshape;if(!Gl){var ex=this.p_$AW('Octoshape plugin incorrectly configured, check XMP configuration (primary.js).',false);this.p_$X.i_$VA('Octoshape error',ex);throw ex;}
return Gl;};xmp.$.$34=function(){};xmp.$.$3.i_$PZ('\u0078\u006D\u0070\u002E\u0053\u0069\u006D\u0070\u006C\u0065\u0055\u0072\u006C\u0053\u0074\u0072\u0061\u0074\u0065\u0067\u0079',xmp.$.$34);xmp.$.$34.prototype.i_$PU=function(){return'Simple';};xmp.$.$34.prototype.i_$11R=function(Hl,Il){Il.i_$TI([Hl,null]);};xmp.i_$11T="MediaPlayer";xmp.$.$35=function(Jl,Kl){this.p_$5W=Jl;this.p_$B0=Kl;this.p_$X=xmp.$.$16.i_$S2('MediaPlayer');this.p_$B1="/PlayerContexts/Global/Media Player";this.p_$B2="Fullscreen Enabled";this.p_$B3="Stretch To Fit";};xmp.$.$3.i_$PZ('\u0078\u006D\u0070\u002E\u004D\u0065\u0064\u0069\u0061\u0050\u006C\u0061\u0079\u0065\u0072',xmp.$.$35);xmp.$.$35.prototype.p_$5W=null;xmp.$.$35.prototype.p_$B0=null;xmp.$.$35.prototype.getPlayerContextType=function(){return'default';};xmp.$.$35.prototype.getPlayerContextName=function(){return'default';};xmp.$.$35.prototype.i_$S5=function(){try{this.p_$B4=xmp.$.$31.i_$Q7();this.p_$B5=new xmp.$.$2T();this.p_$B6=this.p_$B5.i_$11E(xmp.i_$111);this.p_$7Z=new xmp.$.$1P(this.p_$5W);xmp.$.$2X.i_$10X(this.p_$5W,this);this.p_$7L=xmp.$.$2X.i_$11J(this.p_$5W,xmp.i_$11L);this.i_$YA(xmp.i_$11L,xmp.DHTML_VIEWPORT);this.p_$B7=new xmp.$.$1Z(this,this.p_$B1);this.p_$B8=xmp.$.$1B.i_$P4().getGlobalContextNode().getNodeForPath(this.p_$B1).getBoolean(this.p_$B2,false);this.p_$B9=xmp.$.$1B.i_$P4().getGlobalContextNode().getNodeForPath(this.p_$B1).getBoolean(this.p_$B3,false);this.p_$5K=[];this.p_$7N=null;this.p_$86=false;this.p_$85=0;this.p_$BA();this.p_$BB(this.p_$B0);if(!this.p_$5W||this.p_$5W.length===0){throw new xmp.$.$26("Validating media player name.","Invalid media player name.  Missing name.");}
if(this.p_$5W.indexOf(" ")!==-1){throw new xmp.$.$26("Validating media player name.","Invalid media player name.  Name cannot contain spaces.");}
this.p_$5K[0].i_$YR(this);}
catch(e){this.p_$BC("Initializing.",e);}};xmp.$.$35.prototype.i_$WW=function(){try{this.p_$BD();xmp.$.$2X.i_$10Z(this.p_$5W);this.p_$7Z.i_$WW();}
catch(e){this.p_$BC("Fini.",e);}};xmp.$.$35.prototype.i_$YA=function(Ll,Ml){try{xmp.i_$OU(arguments,[xmp.i_$QK,xmp.i_$QK],"MediaPlayer.i_setViewportConfig");if(false===xmp.$.$2Z.i_$11O(Ll)){throw new xmp.$.$22("Setting viewport configuration.","Invalid media player viewport MIME type \""+Ll+"\".");}
this.p_$7Z.i_$YA(Ll,Ml);}
catch(e){this.p_$BC("Setting viewport configuration.",e);}};xmp.$.$35.prototype.i_$XX=function(){try{return new xmp.$.$1T(this.p_$7Z);}
catch(e){this.p_$BC("Retrieving viewport.",e);}
return null;};xmp.$.$35.prototype.i_$T5=function(Nl){try{xmp.i_$OU(arguments,[xmp.i_$QJ],"MediaPlayer.i_open");this.p_$7N=Nl;Nl.setMetadata('originalUri',Nl.getURI());if(false===xmp.$.$2Z.i_$10I(this,Nl)){return;}
this.p_$BE(Nl);Nl.setMetadata(xmp.i_$11T,this.p_$5W);this.p_$BD();var Ol=new xmp.$.$M('buildUrlAsynch',this.p_$BF,this);this.p_$B4.i_$11R(Nl,Ol);}
catch(e){this.p_$BC("Opening.",e);}};xmp.$.$35.prototype.i_$T9=function(){try{this.p_$BD();this.p_$7Z.i_$T9();this.p_$BG();}
catch(e){this.p_$BC("Closing.",e);}};xmp.$.$35.prototype.i_$YB=function(){try{this.p_$B6.i_$YB(this);}
catch(e){this.p_$BC("Playing.",e);}};xmp.$.$35.prototype.i_$YC=function(){try{this.p_$B6.i_$YC(this);}
catch(e){this.p_$BC("Pausing.",e);}};xmp.$.$35.prototype.i_$RN=function(){try{this.p_$B6.i_$RN(this);}
catch(e){this.p_$BC("Stopping.",e);}};xmp.$.$35.prototype.i_$YD=function(){try{this.p_$B6.i_$YD(this);}
catch(e){this.p_$BC("Rewinding.",e);}};xmp.$.$35.prototype.i_$YE=function(){try{this.p_$B6.i_$YE(this);}
catch(e){this.p_$BC("Fast forwarding.",e);}};xmp.$.$35.prototype.i_$YF=function(Pl){try{xmp.i_$OU(arguments,[xmp.i_$P2],"MediaPlayer.i_seek");this.p_$BH(Pl);this.p_$B6.i_$YF(this,Pl);}
catch(e){this.p_$BC("Seeking.",e);}};xmp.$.$35.prototype.i_$YG=function(Ql){try{xmp.i_$OU(arguments,[xmp.i_$QK],"MediaPlayer.i_isAvailable");return this.p_$B6.i_$YG(this,Ql);}
catch(e){this.p_$BC("Checking information or action available.",e);}
return false;};xmp.$.$35.prototype.i_$YH=function(){try{return this.p_$B6.i_$YH(this);}
catch(e){this.p_$BC("Retrieving position.",e);}
return 0;};xmp.$.$35.prototype.i_$YI=function(){try{return this.p_$B6.i_$YI(this);}
catch(e){this.p_$BC("Retrieving duration.",e);}
return 0;};xmp.$.$35.prototype.i_$YJ=function(Rl){try{xmp.i_$OU(arguments,[xmp.i_$P2],"MediaPlayer.i_setVolume");this.p_$BI(Rl);this.p_$B6.i_$YJ(this,Rl);this.p_$85=this.p_$B6.i_$YK(this);}
catch(e){this.p_$BC("Setting volume.",e);}};xmp.$.$35.prototype.i_$YK=function(){try{return this.p_$B6.i_$YK(this);}
catch(e){this.p_$BC("Retrieving volume.",e);}
return 0;};xmp.$.$35.prototype.i_$YL=function(Sl){try{xmp.i_$OU(arguments,[xmp.i_$QL],"MediaPlayer.i_setMute");this.p_$B6.i_$YL(this,Sl);this.p_$86=this.p_$B6.i_$YM(this);}
catch(e){this.p_$BC("Setting mute.",e);}};xmp.$.$35.prototype.i_$YM=function(){try{return this.p_$B6.i_$YM(this);}
catch(e){this.p_$BC("Retrieving mute.",e);}
return false;};xmp.$.$35.prototype.i_$YN=function(Tl){try{xmp.i_$OU(arguments,[xmp.i_$QL],"MediaPlayer.i_setFullscreen");this.p_$B6.i_$YN(this,Tl);}
catch(e){this.p_$BC("Setting fullscreen.",e);}};xmp.$.$35.prototype.i_$YO=function(){try{return this.p_$B6.i_$YO(this);}
catch(e){this.p_$BC("Retrieving fullscreen.",e);}
return false;};xmp.$.$35.prototype.i_$YP=function(){try{return this.p_$B6.i_$YP(this);}
catch(e){this.p_$BC("Retrieving buffering progress.",e);}
return null;};xmp.$.$35.prototype.i_$11U=function(Ul){try{xmp.i_$OU(arguments,[xmp.i_$QJ],"MediaPlayer.i_addEventListener");this.p_$BB(Ul);}
catch(e){this.p_$BC("Adding event listener.",e);}};xmp.$.$35.prototype.i_$11V=function(Vl){try{xmp.i_$OU(arguments,[xmp.i_$QJ],"MediaPlayer.i_removeEventListener");for(var i=0;i<this.p_$5K.length;i++){if(this.p_$5K[i]===Vl){this.p_$5K.splice(i,1);break;}}}
catch(e){this.p_$BC("Removing event listener.",e);}};xmp.$.$35.prototype.p_$BJ=function(Wl){try{this.p_$BD();var Xl=Wl.getMimeType();var Yl=xmp.$.$2X.i_$11J(this.p_$5W,Xl);if(!Yl){throw new xmp.$.$22("Initializing native player.","Unable to find native player for MIME type \""+Xl+"\".");}
if(Xl===xmp.MOCK_MIME_TYPE){this.p_$7L=Yl;return false;}
var Zl={player:Yl,data:{group:this.p_$5W,viewport:null,volume:this.p_$85,mute:this.p_$86,node:Wl,fullscreenEnabled:this.p_$B8,stretchToFit:this.p_$B9}};if(false===this.p_$7Z.i_$Z6(this,this.p_$5W,Wl.getMimeType(),Zl)){if(Yl.i_$X4()!==this.p_$7L.i_$X4()){Yl.i_$Q7({group:this.p_$5W,viewport:this.p_$7Z.i_$Z5(),volume:this.p_$85,mute:this.p_$86,node:Wl,fullscreenEnabled:this.p_$B8,stretchToFit:this.p_$B9});this.p_$7L=Yl;return true;}
return false;}
return true;}
catch(e){this.p_$BG();throw e;}
return false;};xmp.$.$35.prototype.i_$106=function($l,am){try{if($l===xmp.OPEN){if(this.p_$B6.i_$X4()===xmp.ERRORS||this.p_$B6.i_$X4()===xmp.i_$111){this.p_$X.debug("Ignoring native player \""+xmp.OPEN+"\" state change.  Media player is in an idle (closed) or error state.");return;}
this.p_$BK($l,am);this.p_$BL(this.p_$B6.i_$YH(this),this.p_$B6.i_$YI(this));this.p_$B6.i_$YB(this);return;}
else{if($l===xmp.ENDED){this.p_$BL(this.p_$B6.i_$YH(this),this.p_$B6.i_$YI(this));this.p_$B6.i_$ZH(this);}
else if($l===xmp.CONNECTING){this.p_$B7.i_$RL();}}
this.p_$BK($l,am);}
catch(e){this.p_$2G(e);}};xmp.$.$35.prototype.i_$108=function(bm,cm){for(var i=0;i<this.p_$5K.length;i++){this.p_$5K[i].i_$YU(this.p_$7N,bm,cm,this);}};xmp.$.$35.prototype.i_$107=function(e){this.p_$2G(e);};xmp.$.$35.prototype.i_$105=function(dm,em){this.p_$BL(dm,em);this.p_$BM(dm,em);};xmp.$.$35.prototype.i_$10A=function(fm,gm){if(this.p_$B6.i_$X4()===xmp.ERRORS){return;}
this.p_$X.debug("Created \""+fm.i_$X4()+"\" native player \""+fm.i_$PU()+"\".");this.p_$BN(gm.node);};xmp.$.$35.prototype.i_$109=function(hm,im){if(!this[hm]){throw new xmp.$.$2B("Handling invoke.","Invalid method \""+hm+"\".",this.p_$7L);}
this[hm].apply(this,im);};xmp.$.$35.prototype.i_$XU=function(jm,km){km.data.viewport=jm;km.player.i_$Q7(km.data);this.p_$7L=km.player;};xmp.$.$35.prototype.i_$XC=function(lm,mm,nm,om){return this.p_$5K[0].i_$XC(lm,mm,nm,om,this);};xmp.$.$35.prototype.i_$XF=function(pm,qm){this.p_$5K[0].i_$XF(pm,qm,this);};xmp.$.$35.prototype.i_$XV=function(rm,sm){if(this.p_$B6.i_$X4()===xmp.ERRORS){return;}
if(sm===null){return;}
this.p_$X.debug("Created \""+rm.i_$X4()+"\" viewport.");this.p_$7Z.i_$Z6(this,this.p_$5W,rm.i_$XN(),sm);};xmp.$.$35.prototype.i_$XT=function(e){this.p_$2G(e);};xmp.$.$35.prototype.p_$BC=function(tm,e){var um=e;if(false===(um instanceof xmp.$.$26)){um=new xmp.$.$26(((e.context)?e.context:tm),((e.rawMessage)?e.rawMessage:e.message));um.setInnerError(e);}
this.p_$2G(um);};xmp.$.$35.prototype.p_$2G=function(e){try{var vm=((this.p_$7N)?this.p_$7N.getURI():"");if(vm&&vm.length>0&&(e instanceof xmp.util.internals.XMPError)){e.i_$TT({label:"Url",text:vm});}
if(e instanceof xmp.util.internals.XMPError){e.i_$TT({label:"Media Player",text:this.i_$PU()});}
var wm="\n\n"+e.message;this.p_$X.debug(wm);var xm=new xmp.$.$4Q(e,'mediaPlayerError',e.context,[{label:"Url",text:vm}]);if(!this.p_$5K||this.p_$5K.length===0){this.p_$BO(xm);xmp.handleFatalError(xm);}
else{if(this.p_$B4.i_$11P(this,this.p_$7N,e,new xmp.$.$M('buildUrlAsynch',this.p_$BF,this))){return;}
this.p_$BP();this.p_$BO(xm);for(var i=0;i<this.p_$5K.length;i++){this.p_$5K[i].i_$SW(this.p_$7N,xm,this);}}}
catch(e2){}};xmp.$.$35.prototype.p_$BO=function(ym){if(ym.getInnerError()instanceof xmp.$.$27){this.p_$X.i_$TJ(ym.message,ym);}
else{this.p_$X.warn(ym.message,ym);}};xmp.$.$35.prototype.p_$BE=function(zm){if(zm===null){throw new xmp.$.$24("Validating playable node.","Invalid playable node.  Missing node.");}
var Am=zm.getMimeType();if(!Am||Am.length===0){throw new xmp.$.$24("Validating playable node mime type.","Invalid playable node.  Missing MIME type.");}
var Bm=zm.getURI();if(!Bm||Bm.length===0){throw new xmp.$.$24("Validating playable node URI.","Invalid playable node.  Missing URI.");}
this.p_$BQ(zm);};xmp.$.$35.prototype.p_$BG=function(){try{var Cm=xmp.$.$2X.i_$11J(this.p_$5W,xmp.i_$11L);if(this.p_$7Z.i_$Z5()===null){this.p_$7Z.i_$Z7(this,this.p_$5W,xmp.i_$11L,null);}
Cm.i_$Q7({group:this.p_$5W,viewport:this.p_$7Z.i_$Z5(),volume:0,mute:false,node:null,fullscreenEnabled:false,stretchToFit:false});this.p_$7L=Cm;}
catch(e){}};xmp.$.$35.prototype.p_$BI=function(Dm){if(Dm<0||Dm>100){throw new xmp.util.internals.InvalidArgsError("Invalid volume \""+Dm+"\".  Valid values are 1 to 100.");}};xmp.$.$35.prototype.p_$BH=function(Em){var Fm=this.i_$YI();if(Em<0||Em>Fm){throw new xmp.util.internals.InvalidArgsError("Invalid position \""+Em+"\".  Valid values are 0 to "+Fm+" seconds.");}};xmp.$.$35.prototype.p_$BB=function(Gm){this.p_$BR(Gm);this.p_$5K.push(Gm);};xmp.$.$35.prototype.p_$BR=function(Hm){if(!Hm){throw new xmp.$.$26("Validating listener.","Invalid media player event listener.  NULL listener.");}
if(false===xmp.i_$OR(Hm.i_$SW)){throw new xmp.$.$26("Validating listener.","Invalid media player event listener.  Missing \"i_onError\" handler.");}
if(false===xmp.i_$OR(Hm.i_$YT)){throw new xmp.$.$26("Validating listener.","Invalid media player event listener.  Missing \"i_onStateChange\" handler.");}
if(false===xmp.i_$OR(Hm.i_$YS)){throw new xmp.$.$26("Validating listener.","Invalid media player event listener.  Missing \"i_onTimelineChange\" handler.");}
if(false===xmp.i_$OR(Hm.i_$YU)){throw new xmp.$.$26("Validating listener.","Invalid media player event listener.  Missing \"i_onTrigger\" handler.");}};xmp.$.$35.prototype.p_$BA=function(){if(false===xmp.i_$OR(this.p_$B0.i_$YR)){throw new xmp.$.$26("Validating listener.","Invalid media player event listener.  Missing \"i_onInitialized\" handler.");}
if(false===xmp.i_$OR(this.p_$B0.i_$XC)){throw new xmp.$.$26("Validating listener.","Invalid media player event listener.  Missing \"i_onCreateViewport\" handler.");}
if(false===xmp.i_$OR(this.p_$B0.i_$XF)){throw new xmp.$.$26("Validating listener.","Invalid media player event listener.  Missing \"i_onDestroyViewport\" handler.");}
if(false===xmp.i_$OR(this.p_$B0.i_$YV)){throw new xmp.$.$26("Invalid media player event listener.  Missing \"i_onPlugInError\" handler.");}
if(false===xmp.i_$OR(this.p_$B0.i_$YW)){throw new xmp.$.$26("Invalid media player event listener.  Missing \"i_onUnsupportedPlatformError\" handler.");}};xmp.$.$35.prototype.p_$BM=function(Im,Jm){this.p_$BQ(this.p_$7N);var Km=this.p_$7N.getTimeLimitInSeconds();if(Km!==xmp.NO_TIME_LIMIT&&Im>=Km){this.p_$B6.i_$ZH(this);this.p_$BK(xmp.ENDED,null);}};xmp.$.$35.prototype.p_$BL=function(Lm,Mm){for(var i=0;i<this.p_$5K.length;i++){this.p_$5K[i].i_$YS(this.p_$7N,Lm,Mm,this);}};xmp.$.$35.prototype.p_$BK=function(Nm,Om){for(var i=0;i<this.p_$5K.length;i++){this.p_$5K[i].i_$YT(this.p_$7N,Nm,Om,this);}};xmp.$.$35.prototype.i_$SW=function(Pm,e){this.p_$7N=Pm;this.p_$2G(e);};xmp.$.$35.prototype.i_$YV=function(e){this.p_$BP();this.p_$5K[0].i_$YV(e,this);};xmp.$.$35.prototype.i_$YW=function(e){this.p_$BP();this.p_$5K[0].i_$YW(e,this);};xmp.$.$35.prototype.i_$ZE=function(Qm,Rm){var Sm=this.p_$B5.i_$11E(Qm);Sm.i_$ZJ(this,Rm,this.p_$B6);this.p_$X.debug("Changed/transitioned to \""+Sm.i_$PU()+"\" mode.");this.p_$B6=Sm;};xmp.$.$35.prototype.i_$ZG=function(){return this.p_$7L;};xmp.$.$35.prototype.p_$BQ=function(Tm){var Um=Tm.getTimeLimitInSeconds();if(false===xmp.i_$OR(Um)){throw new xmp.$.$24("Invalid playable node.  Missing time limit.");}
if(Um!==xmp.NO_TIME_LIMIT&&Um<=0){throw new xmp.$.$24("Invalid playable node.  Invalid time limit \""+Um+"\". Expected values are "+xmp.NO_TIME_LIMIT+" and greater than 1 seconds.");}};xmp.$.$35.prototype.i_$PU=function(){return this.p_$5W;};xmp.$.$35.prototype.p_$BP=function(){this.p_$7Z.i_$ZA();this.p_$B7.i_$RN();this.p_$B6.i_$ZI(this);this.p_$BG();};xmp.$.$35.prototype.p_$BD=function(){this.p_$B7.i_$RN();this.p_$B6.i_$T9(this);};xmp.$.$35.prototype.p_$BN=function(Vm){this.p_$B6.i_$T5(this,Vm);};xmp.$.$35.prototype.p_$BF=function(Wm,Xm,Ym){if(this.p_$B6.i_$X4()===xmp.ERRORS){this.p_$X.info('handleBuildUrlAsynch dropping node (error state): '+Xm.getURI());return;}
if(Ym!==null){if(Ym instanceof xmp.$.$1W){this.i_$YV(Ym);}
else{this.i_$SW(Xm,Ym);xmp.handleFatalError(Ym);}
this.p_$BD();return;}
this.p_$X.info('BuildUrlAsynch URI: '+Xm.getURI());if(false===this.p_$BJ(Xm)){this.p_$BN(Xm);}};xmp.$.$36=function(){};xmp.$.$3.i_$PZ('\u0078\u006D\u0070\u002E\u004D\u0065\u0064\u0069\u0061\u0050\u006C\u0061\u0079\u0065\u0072\u0046\u0061\u0063\u0074\u006F\u0072\u0079',xmp.$.$36);xmp.$.$36.i_$YQ=function(Zm,$m){return new xmp.$.$35(Zm,$m);};

