>>5^f<<2)+(f>>>3^e<<4)^(p^f)+(k[m&3^q]^e),e=g[m]+=e}g=d.longsToStr(g);
return l.encode(g)};d.decrypt=function(j,c){if(0==j.length)return"";for(var g=d.strToLongs(l.decode(j)),k=d.strToLongs(b.encode(c).slice(0,16)),a=g.length,e=g[a-1],f=g[0],q,h=2654435769*Math.floor(6+52/a);0!=h;){q=h>>>2&3;for(var p=a-1;0<=p;p--)e=g[0>>5^f<<2)+(f>>>3^e<<4)^(h^f)+(k[p&3^q]^e),f=g[p]-=e;h-=2654435769}g=d.longsToStr(g);g=g.replace(/\0+$/,"");return b.decode(g)};d.strToLongs=function(b){for(var c=Array(Math.ceil(b.length/4)),d=0;d>>8&255,b[d]>>>16&255,b[d]>>>24&255);return c.join("")};var l={code:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/\x3d",encode:function(d,c){var g,k,a,e,f=[],q="",h,p,m=l.code;p=("undefined"==typeof c?0:c)?b.encode(d):d;h=p.length%3;if(0h++;)q+="\x3d",p+="\x00";for(h=0;h>18&63,k=e>>12&63,a=e>>6&63,e&=63,f[h/3]=m.charAt(g)+m.charAt(k)+m.charAt(a)+m.charAt(e);f=f.join("");return f=f.slice(0,f.length-q.length)+q},decode:function(d,c){c="undefined"==typeof c?!1:c;var g,k,a,e,f,q=[],h,p=l.code;h=c?b.decode(d):d;for(var m=0;m>>16&255,k=a>>>8&255,a&=255,q[m/4]=String.fromCharCode(g,
k,a),64==f&&(q[m/4]=String.fromCharCode(g,k)),64==e&&(q[m/4]=String.fromCharCode(g));e=q.join("");return c?b.decode(e):e}},b={encode:function(b){b=b.replace(/[\u0080-\u07ff]/g,function(c){c=c.charCodeAt(0);return String.fromCharCode(192|c>>6,128|c&63)});return b=b.replace(/[\u0800-\uffff]/g,function(c){c=c.charCodeAt(0);return String.fromCharCode(224|c>>12,128|c>>6&63,128|c&63)})},decode:function(b){b=b.replace(/[\u00e0-\u00ef][\u0080-\u00bf][\u0080-\u00bf]/g,function(c){c=(c.charCodeAt(0)&15)<<12|
(c.charCodeAt(1)&63)<<6|c.charCodeAt(2)&63;return String.fromCharCode(c)});return b=b.replace(/[\u00c0-\u00df][\u0080-\u00bf]/g,function(c){c=(c.charCodeAt(0)&31)<<6|c.charCodeAt(1)&63;return String.fromCharCode(c)})}}}(jwplayer.utils),function(f){f.events={COMPLETE:"COMPLETE",ERROR:"ERROR",API_READY:"jwplayerAPIReady",JWPLAYER_READY:"jwplayerReady",JWPLAYER_FULLSCREEN:"jwplayerFullscreen",JWPLAYER_RESIZE:"jwplayerResize",JWPLAYER_ERROR:"jwplayerError",JWPLAYER_SETUP_ERROR:"jwplayerSetupError",JWPLAYER_MEDIA_BEFOREPLAY:"jwplayerMediaBeforePlay",
JWPLAYER_MEDIA_BEFORECOMPLETE:"jwplayerMediaBeforeComplete",JWPLAYER_MEDIA_BUFFER:"jwplayerMediaBuffer",JWPLAYER_MEDIA_BUFFER_FULL:"jwplayerMediaBufferFull",JWPLAYER_MEDIA_ERROR:"jwplayerMediaError",JWPLAYER_MEDIA_LOADED:"jwplayerMediaLoaded",JWPLAYER_MEDIA_COMPLETE:"jwplayerMediaComplete",JWPLAYER_MEDIA_SEEK:"jwplayerMediaSeek",JWPLAYER_MEDIA_TIME:"jwplayerMediaTime",JWPLAYER_MEDIA_VOLUME:"jwplayerMediaVolume",JWPLAYER_MEDIA_META:"jwplayerMediaMeta",JWPLAYER_MEDIA_MUTE:"jwplayerMediaMute",JWPLAYER_AUDIO_TRACKS:"jwplayerAudioTracks",
JWPLAYER_AUDIO_TRACK_CHANGED:"jwplayerAudioTrackChanged",JWPLAYER_MEDIA_LEVELS:"jwplayerMediaLevels",JWPLAYER_MEDIA_LEVEL_CHANGED:"jwplayerMediaLevelChanged",JWPLAYER_CAPTIONS_CHANGED:"jwplayerCaptionsChanged",JWPLAYER_CAPTIONS_LIST:"jwplayerCaptionsList",JWPLAYER_CAPTIONS_LOADED:"jwplayerCaptionsLoaded",JWPLAYER_PLAYER_STATE:"jwplayerPlayerState",state:{BUFFERING:"BUFFERING",IDLE:"IDLE",PAUSED:"PAUSED",PLAYING:"PLAYING"},JWPLAYER_PLAYLIST_LOADED:"jwplayerPlaylistLoaded",JWPLAYER_PLAYLIST_ITEM:"jwplayerPlaylistItem",
JWPLAYER_PLAYLIST_COMPLETE:"jwplayerPlaylistComplete",JWPLAYER_DISPLAY_CLICK:"jwplayerViewClick",JWPLAYER_PROVIDER_CLICK:"jwplayerProviderClick",JWPLAYER_VIEW_TAB_FOCUS:"jwplayerViewTabFocus",JWPLAYER_CONTROLS:"jwplayerViewControls",JWPLAYER_USER_ACTION:"jwplayerUserAction",JWPLAYER_INSTREAM_CLICK:"jwplayerInstreamClicked",JWPLAYER_INSTREAM_DESTROYED:"jwplayerInstreamDestroyed",JWPLAYER_AD_TIME:"jwplayerAdTime",JWPLAYER_AD_ERROR:"jwplayerAdError",JWPLAYER_AD_CLICK:"jwplayerAdClicked",JWPLAYER_AD_COMPLETE:"jwplayerAdComplete",
JWPLAYER_AD_IMPRESSION:"jwplayerAdImpression",JWPLAYER_AD_COMPANIONS:"jwplayerAdCompanions",JWPLAYER_AD_SKIPPED:"jwplayerAdSkipped",JWPLAYER_AD_PLAY:"jwplayerAdPlay",JWPLAYER_AD_PAUSE:"jwplayerAdPause",JWPLAYER_AD_META:"jwplayerAdMeta",JWPLAYER_CAST_AVAILABLE:"jwplayerCastAvailable",JWPLAYER_CAST_SESSION:"jwplayerCastSession",JWPLAYER_CAST_AD_CHANGED:"jwplayerCastAdChanged"}}(jwplayer),function(f){var d=f.utils;f.events.eventdispatcher=function(l,b){function j(c,a,b){if(c)for(var g=0;g=g||0>=k?0:100*(k/g)+"%")}-1===c.width.toString().indexOf("%")?
delete c.aspectratio:g?c.aspectratio=g:delete c.aspectratio;return c}).addConfig=function(c,f){d(f);return b.extend(c,f)}}(jwplayer),function(f){function d(b,d){function c(a,b){f[k].style[a]=b}for(var f=document.querySelectorAll(b),k=0;km)return p.sendEvent(l.ERROR,{message:"Flash version must be 10.0 or greater"}),!1;var f,j,t=c.id,n=e.config.listbar,
v=d.extend({},k);f=document.getElementById(e.id);f.parentNode.replaceChild(c,f);if(t+"_wrapper"===c.parentNode.id)f=document.getElementById(t+"_wrapper");else{f=document.createElement("div");j=document.createElement("div");j.style.display="none";j.id=t+"_aspect";f.id=t+"_wrapper";f.style.position="relative";f.style.display="block";f.style.width=d.styleDimension(v.width);f.style.height=d.styleDimension(v.height);if(e.config.aspectratio){var x=parseFloat(e.config.aspectratio);j.style.display="block";
j.style.marginTop=e.config.aspectratio;f.style.height="auto";f.style.display="inline-block";n&&("bottom"===n.position?j.style.paddingBottom=n.size+"px":"right"===n.position&&(j.style.marginBottom=-1*n.size*(x/100)+"px"))}c.parentNode.replaceChild(f,c);f.appendChild(c);f.appendChild(j)}n=a.setupPlugins(e,v,q);0=v.height?"transparent":"opaque");j="height width modes events primary base fallback volume".split(" ");for(x=0;xp++&&setTimeout(b,1E3)}function j(){h&&(h.resetEventListeners(),h=null)}function c(){e.apiConfig=null}function g(){}
function k(a){w.sendEvent("session",{session:a});a.sendMessage(e.NS,{whoami:1});0===a.media.length&&l(a)}function a(a){e.availability=a;w.sendEvent("availability",{availability:a})}window.chrome=d;var e=f.cast,r=f.utils,q=f.events,h,p=0,m=null,w=r.extend({initialize:function(a){m=a;null!==e.availability?w.sendEvent("availability",{availability:e.availability}):d&&d.cast?b():h||(h=new r.scriptloader("https://webarchive.library.unt.edu/web/20170129184218/https://www.gstatic.com/cv/js/sender/v1/cast_sender.js"),h.addEventListener(q.ERROR,j),h.addEventListener(q.COMPLETE,
b),h.load())}},new q.eventdispatcher("cast.loader"));f.cast.loader=w;f.cast.loader.sendDummyMedia=l}(window.jwplayer,window.chrome||{}),function(f,d){var l=[],b=f.utils,j=f.events,c=f._,g=0,k=j.state,a="getBuffer getCaptionsList getControls getCurrentCaptions getCurrentQuality getCurrentAudioTrack getDuration getFullscreen getHeight getLockState getMute getPlaylistIndex getSafeRegion getPosition getQualityLevels getState getVolume getWidth isBeforeComplete isBeforePlay releaseState".split(" "),e=
"playlistNext stop forceState playlistPrev seek setCurrentCaptions setControls setCurrentQuality setVolume setCurrentAudioTrack".split(" "),r={onBufferChange:j.JWPLAYER_MEDIA_BUFFER,onBufferFull:j.JWPLAYER_MEDIA_BUFFER_FULL,onError:j.JWPLAYER_ERROR,onSetupError:j.JWPLAYER_SETUP_ERROR,onFullscreen:j.JWPLAYER_FULLSCREEN,onMeta:j.JWPLAYER_MEDIA_META,onMute:j.JWPLAYER_MEDIA_MUTE,onPlaylist:j.JWPLAYER_PLAYLIST_LOADED,onPlaylistItem:j.JWPLAYER_PLAYLIST_ITEM,onPlaylistComplete:j.JWPLAYER_PLAYLIST_COMPLETE,
onReady:j.API_READY,onResize:j.JWPLAYER_RESIZE,onComplete:j.JWPLAYER_MEDIA_COMPLETE,onSeek:j.JWPLAYER_MEDIA_SEEK,onTime:j.JWPLAYER_MEDIA_TIME,onVolume:j.JWPLAYER_MEDIA_VOLUME,onBeforePlay:j.JWPLAYER_MEDIA_BEFOREPLAY,onBeforeComplete:j.JWPLAYER_MEDIA_BEFORECOMPLETE,onDisplayClick:j.JWPLAYER_DISPLAY_CLICK,onControls:j.JWPLAYER_CONTROLS,onQualityLevels:j.JWPLAYER_MEDIA_LEVELS,onQualityChange:j.JWPLAYER_MEDIA_LEVEL_CHANGED,onCaptionsList:j.JWPLAYER_CAPTIONS_LIST,onCaptionsChange:j.JWPLAYER_CAPTIONS_CHANGED,
onAdError:j.JWPLAYER_AD_ERROR,onAdClick:j.JWPLAYER_AD_CLICK,onAdImpression:j.JWPLAYER_AD_IMPRESSION,onAdTime:j.JWPLAYER_AD_TIME,onAdComplete:j.JWPLAYER_AD_COMPLETE,onAdCompanions:j.JWPLAYER_AD_COMPANIONS,onAdSkipped:j.JWPLAYER_AD_SKIPPED,onAdPlay:j.JWPLAYER_AD_PLAY,onAdPause:j.JWPLAYER_AD_PAUSE,onAdMeta:j.JWPLAYER_AD_META,onCast:j.JWPLAYER_CAST_SESSION,onAudioTrackChange:j.JWPLAYER_AUDIO_TRACK_CHANGED,onAudioTracks:j.JWPLAYER_AUDIO_TRACKS},q={onBuffer:k.BUFFERING,onPause:k.PAUSED,onPlay:k.PLAYING,
onIdle:k.IDLE};f.api=function(h){function g(a,c){b.foreach(a,function(a,b){n[a]=function(a){return c(b,a)}})}function m(a,b){var c="jw"+b.charAt(0).toUpperCase()+b.slice(1);n[b]=function(){var b=t.apply(this,[c].concat(Array.prototype.slice.call(arguments,0)));return a?n:b}}function w(a,c){try{a.jwAddEventListener(c,'function(dat) { jwplayer("'+n.id+'").dispatchEvent("'+c+'", dat); }')}catch(d){if("flash"===n.renderingMode){var e=document.createElement("a");e.href=z.data;e.protocol!==location.protocol&&
b.log("Warning: Your site ["+location.protocol+"] and JWPlayer ["+e.protocol+"] are hosted using different protocols")}b.log("Could not add internal listener")}}function u(a,b){v[a]||(v[a]=[],z&&B&&w(z,a));v[a].push(b);return n}function t(){if(B){if(z){var a=Array.prototype.slice.call(arguments,0),b=a.shift();if("function"===typeof z[b]){switch(a.length){case 6:return z[b](a[0],a[1],a[2],a[3],a[4],a[5]);case 5:return z[b](a[0],a[1],a[2],a[3],a[4]);case 4:return z[b](a[0],a[1],a[2],a[3]);case 3:return z[b](a[0],
a[1],a[2]);case 2:return z[b](a[0],a[1]);case 1:return z[b](a[0])}return z[b]()}}return null}y.push(arguments)}var n=this,v={},x={},z,B=!1,y=[],E,F={},J={};n.container=h;n.id=h.id;n.setup=function(a){if(f.embed){f.api.destroyPlayer(n.id);var b=new f.api(n.container);f.api.addPlayer(b);b.config=a;b._embedder=new f.embed(b);b._embedder.embed();return b}return n};n.getContainer=function(){return n.container};n.addButton=function(a,c,d,e){try{J[e]=d,t("jwDockAddButton",a,c,'jwplayer("'+n.id+'").callback("'+
e+'")',e)}catch(f){b.log("Could not add dock button"+f.message)}};n.removeButton=function(a){t("jwDockRemoveButton",a)};n.callback=function(a){if(J[a])J[a]()};n.getMeta=function(){return n.getItemMeta()};n.getPlaylist=function(){var a=t("jwGetPlaylist");"flash"===n.renderingMode&&b.deepReplaceKeyName(a,["__dot__","__spc__","__dsh__","__default__"],["."," ","-","default"]);return a};n.getPlaylistItem=function(a){b.exists(a)||(a=n.getPlaylistIndex());return n.getPlaylist()[a]};n.getRenderingMode=function(){return n.renderingMode};
n.setFullscreen=function(a){b.exists(a)?t("jwSetFullscreen",a):t("jwSetFullscreen",!t("jwGetFullscreen"));return n};n.setMute=function(a){b.exists(a)?t("jwSetMute",a):t("jwSetMute",!t("jwGetMute"));return n};n.lock=function(){return n};n.unlock=function(){return n};n.load=function(a){t("jwInstreamDestroy");f(n.id).plugins.googima&&t("jwDestroyGoogima");t("jwLoad",a);return n};n.playlistItem=function(a){t("jwPlaylistItem",parseInt(a,10));return n};n.resize=function(a,c){if("flash"!==n.renderingMode)t("jwResize",
a,c);else{var d=document.getElementById(n.id+"_wrapper"),e=document.getElementById(n.id+"_aspect");e&&(e.style.display="none");d&&(d.style.display="block",d.style.width=b.styleDimension(a),d.style.height=b.styleDimension(c))}return n};n.play=function(a){if(a!==d)return t("jwPlay",a),n;a=n.getState();var b=E&&E.getState();b&&(b===k.IDLE||b===k.PLAYING||b===k.BUFFERING?t("jwInstreamPause"):t("jwInstreamPlay"));a===k.PLAYING||a===k.BUFFERING?t("jwPause"):t("jwPlay");return n};n.pause=function(a){a===
d?(a=n.getState(),a===k.PLAYING||a===k.BUFFERING?t("jwPause"):t("jwPlay")):t("jwPause",a);return n};n.createInstream=function(){return new f.api.instream(this,z)};n.setInstream=function(a){return E=a};n.loadInstream=function(a,b){E=n.setInstream(n.createInstream()).init(b);E.loadItem(a);return E};n.destroyPlayer=function(){B=!0;t("jwPlayerDestroy")};n.playAd=function(a){var b=f(n.id).plugins;b.vast?b.vast.jwPlayAd(a):t("jwPlayAd",a)};n.pauseAd=function(){var a=f(n.id).plugins;a.vast?a.vast.jwPauseAd():
t("jwPauseAd")};g(q,function(a,b){x[a]||(x[a]=[],u(j.JWPLAYER_PLAYER_STATE,function(b){var c=b.newstate;b=b.oldstate;if(c===a){var d=x[c];if(d)for(var e=0;e