(function(){var g={}; var _ = _ || {}
var f=function(window){var yY=function(){this.m=this.f=null;this.a="";this.g=new _.J("clpp.adobe.AdobePlugin")},BY=function(a){a.f=new _.gi;a.f.on(a.m,_.Cg,function(){return zY(a)});a.f.on(a.m,_.Bg,function(){s.Media.play(a.a,a.m.getPosition())});a.f.on(a.m,_.De,function(){return AY(a)});a.f.on(a.m,_.bg,function(b){b=b.detail;switch(b.currentState){case _.Hq:a.a.length||AY(a);s.Media.play(a.a,a.m.getPosition());break;case _.Gq:case _.yq:zY(a);break;case _.Aq:case _.tq:case _.Eq:a.g.info("Close session for "+a.a+" in player state "+
(b.currentState+".")),zY(a),s.Media.close(a.a),a.a=""}})},AY=function(a){var b=a.m.getLoadedSource();a.a=b?b.name||b.url:"";a.g.info("Open session for "+a.a+" with duration "+a.m.getDuration());s.Media.open(a.a,a.m.getDuration(),_.xa)},zY=function(a){s.Media.stop(a.a,a.m.getPosition())},CY=function(){};_.w(yY,_.bw);yY.prototype.onPlayerCreated=function(a){var b=a.getConfiguration().adobe;b&&!1===b.enabled?this.g.debug("Adobe plugin is disabled."):window.s&&s.Media?(this.m=a,BY(this)):this.g.warn("Adobe API not available.")};
yY.prototype.onPlayerWillDestroy=function(){this.f&&(this.f.release(),this.f=null);this.m=null;this.a=""};yY.prototype.id=function(){return"adobe"};_.I("clpp.adobe.AdobeAnalyticsPlugin",yY);yY.Id="adobe";CY.prototype.create=function(){return new yY};_.Yt(new CY);};
if(typeof(module)!="undefined"&&module.exports){var x=require("./cl.core.js");_ = x._;(f.call(g,this));module.exports=g;}
else if (typeof(define)!="undefined"&&define.amd) {define(["./cl.core"], function(c){_=c._;(f.call(g,this));return g;});}
else{_=this.clpp._;(f.call(g,this));}
})();