CINXE.COM
<!DOCTYPE html> <!--[if IE 8]> <html class="ie8 bc-iframe"> <![endif]--> <!--[if !IE 8]><!--> <html class="bc-iframe"> <!--<![endif]--> <head> <meta charset="utf-8"> <title></title> <meta name="viewport" content="user-scalable=0, width=device-width, maximum-scale=1"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <style>.bc-iframe,.bc-iframe body{height:100%;margin:0;padding:0;width:100%}.bc-iframe body,.bc-player-default_default{background-color:#151B17}.bc-iframe .bc-player-default_default{background-color:transparent}.vjs-hidden{display:none}.bc-player-default_default,.bc-player-default_default *,.bc-player-default_default :after,.bc-player-default_default :before{box-sizing:content-box;font-size:inherit;color:inherit;line-height:inherit;margin:0}.bc-player-default_default select{width:inherit}@font-face{font-family:VideoJS;src:url(//vjs.zencdn.net/f/3/vjs.eot);src:url(//vjs.zencdn.net/f/3/vjs.eot?#iefix) format('embedded-opentype'),url(//vjs.zencdn.net/f/3/vjs.woff) format('woff'),url(//vjs.zencdn.net/f/3/vjs.ttf) format('truetype'),url(//vjs.zencdn.net/f/3/vjs.svg#icomoon) format('svg');font-weight:400;font-style:normal}@font-face{font-family:VideoJS;src:url(data:application/octet-stream;base64,d09GRk9UVE8AAA2kAAoAAAAADVwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABDRkYgAAAA9AAACdMAAAnTVAEFP09TLzIAAArIAAAAYAAAAGAOkgMqY21hcAAACygAAABcAAAAXPqtrG5nYXNwAAALhAAAAAgAAAAIAAAAEGhlYWQAAAuMAAAANgAAADYDr5QBaGhlYQAAC8QAAAAkAAAAJAkgBTVobXR4AAAL6AAAAFgAAABYS54C2G1heHAAAAxAAAAABgAAAAYAFlAAbmFtZQAADEgAAAE5AAABOUQYtNZwb3N0AAANhAAAACAAAAAgAAMAAAEABAQAAQEBCGljb21vb24AAQIAAQA7+BwC+BsD+BgEHgoACXf/i4seCgAJd/+LiwwHi0UcBV76VAUdAAAA3Q8dAAAA4hEdAAAACR0AAAnKEgAXAQEIDxETFh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ABV4AAAAABV4AAQAAAAAAAAAAAAAAAAAAABYAAAAAAAAAAAAAAAACAAAABAAAAAQAAMAEAACABAAAAAQAAAAEAAAABEAAAAQAAMAFXgAABAAAgAQAADgEAAAABAAAAAQAAAAEAAAABAAAIAQAAAAEAAAAAAAAAAAKABQAHgA+AEwAYgCCANQBXgIkAjQDAAMOBAAEIARcBOAFVAZOBqQHIAAAAAEAAAAWAOQACAAAAAAAAgAAAAAAAAAAAAAAAAAAAAAAAAAOAK4AAQAAAAAAAQAOAAAAAQAAAAAAAgAOAEcAAQAAAAAAAwAOACQAAQAAAAAABAAOAFUAAQAAAAAABQAWAA4AAQAAAAAABgAHADIAAQAAAAAACgAoAGMAAwABBAkAAQAOAAAAAwABBAkAAgAOAEcAAwABBAkAAwAOACQAAwABBAkABAAOAFUAAwABBAkABQAWAA4AAwABBAkABgAOADkAAwABBAkACgAoAGMAaQBjAG8AbQBvAG8AbgBWAGUAcgBzAGkAbwBuACAAMQAuADAAaQBjAG8AbQBvAG8Abmljb21vb24AaQBjAG8AbQBvAG8AbgBSAGUAZwB1AGwAYQByAGkAYwBvAG0AbwBvAG4ARwBlAG4AZQByAGEAdABlAGQAIABiAHkAIABJAGMAbwBNAG8AbwBuAAAAAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=) format('truetype')}.bc-player-default_default{height:150px;width:300px}.bc-iframe .bc-player-default_default{position:absolute;top:0;bottom:0;width:100%;height:100%}.bc-player-default_default{font-family:sans-serif;font-size:14px;overflow:hidden;position:relative;transition:cursor 4s}.bc-iframe body{bottom:0;height:auto;left:0;margin:auto;max-height:100%;max-width:100%;position:absolute;right:0;top:0;width:auto}.bc-player-default_default.vjs-user-inactive.vjs-fullscreen{cursor:none}.bc-player-default_default:fullscreen{bottom:0;left:0;margin:auto;max-height:100%;max-width:100%;position:absolute;right:0;top:0}.bc-player-default_default .vjs-tech{position:absolute;top:0;left:0;width:100%;height:100%}.bc-iframe .bc-player-default_default .vjs-tech{display:none}.bc-wrap{transition:opacity .35s}.bc-player-default_default.video-js .vjs-tech{display:block;opacity:0;transition:opacity .35s}.bc-player-default_default.vjs-plugins-ready .vjs-tech{opacity:1}.bc-player-default_default .vjs-poster{opacity:0;transition:opacity .35s}.bc-player-default_default.vjs-plugins-ready .vjs-poster{opacity:1}.bc-wrap{background-size:contain;background-position:50% 50%;background-repeat:no-repeat}.bc-player-default_default .vjs-poster{background-repeat:no-repeat;background-position:center;background-size:contain;background-color:#151B17;height:100%;position:absolute;top:0;width:100%}.bc-player-default_default.vjs-has-started .vjs-poster{display:none}.bc-player-default_default.vjs-audio.vjs-has-started .vjs-poster{display:block}.bc-player-default_default.vjs-using-native-controls .vjs-poster{display:none}.bc-player-default_default .vjs-big-play-button{background:#eee;border-radius:21px;cursor:pointer;height:96px;left:23px;position:absolute;top:21px;width:144px}.bc-player-default_default .vjs-big-play-button:before{content:'\e001';color:#555759;display:block;font-family:VideoJS;font-size:23px;line-height:27px;margin:36px auto;opacity:.8;text-align:center;width:23px}.bc-player-default_default.vjs-has-started .vjs-big-play-button{display:none}.bc-player-default_default.vjs-autoplay .vjs-big-play-button,.bc-player-default_default.vjs-autoplay .vjs-poster{display:none}.bc-player-default_default.vjs-controls-disabled .vjs-big-play-button,.bc-player-default_default.vjs-controls-disabled.vjs-controls-disabled .vjs-control-bar{display:none}.bc-player-default_default.vjs-using-native-controls .vjs-big-play-button,.bc-player-default_default.vjs-using-native-controls.vjs-using-native-controls .vjs-control-bar{display:none}.bc-player-default_default .vjs-control-text{background-color:transparent;border:0;height:10px;display:block;overflow:hidden;text-indent:-9999px}.bc-player-default_default .vjs-control-text:before{content:'';display:block;width:0;height:150%}.bc-player-default_default .vjs-control-bar{display:none}.bc-player-default_default.vjs-has-started .vjs-control-bar{display:flex}.bc-player-default_default.vjs-has-started.vjs-controls-disabled .vjs-control-bar{display:none}.bc-player-default_default.vjs-has-started.vjs-using-native-controls .vjs-control-bar{display:none}.bc-player-default_default .vjs-control-bar{color:#555759;background-color:#eee;border-top:1px solid #000;border-top:1px solid rgba(0,0,0,.6);bottom:0;box-sizing:border-box;left:0;right:0;height:50px;line-height:50px;position:absolute;transition:transform .5s,margin .5s;flex-direction:row;flex-wrap:nowrap;justify-content:space-between;align-content:center;align-items:center}.bc-player-default_default.vjs-has-started.vjs-user-inactive .vjs-control-bar{margin-left:-18px;pointer-events:none;transform:translateY(50px)}.bc-player-default_default .vjs-control-bar .vjs-control,.bc-player-default_default .vjs-control-bar .vjs-time-divider{transition:width .5s,opacity .5s}.bc-player-default_default.vjs-has-started.vjs-user-inactive .vjs-control,.bc-player-default_default.vjs-has-started.vjs-user-inactive .vjs-time-divider{width:0;padding:0;opacity:0}.bc-player-default_default.vjs-has-started.vjs-user-inactive .vjs-progress-control{opacity:1}.bc-player-default_default .vjs-control-bar .vjs-progress-control{transition:transform .5s}.bc-player-default_default.vjs-has-started.vjs-user-inactive .vjs-progress-control{transform:translateY(-28px);width:58px}.bc-player-default_default .vjs-control{box-sizing:border-box;cursor:pointer;width:58px;height:50px;flex:0 0 auto;align-self:auto}.bc-player-default_default .vjs-control:before{display:block;font-family:VideoJS;font-size:24px;line-height:26px;margin:0 auto;opacity:.8;position:relative;text-align:center;top:13px;width:43px}.bc-player-default_default .vjs-big-play-button:focus,.bc-player-default_default .vjs-control:focus,.bc-player-default_default .vjs-menu-item:focus,.bc-player-default_default .vjs-progress-holder:focus,.bc-player-default_default .vjs-volume-bar:focus{outline:0}.bc-player-default_default .vjs-control:focus:before,.bc-player-default_default .vjs-control:hover:before,.bc-player-default_default .vjs-menu-item:focus,.bc-player-default_default .vjs-menu-item:hover{text-shadow:-1px 1px 20px #fff,1px -1px 20px #fff,-1px 1px 20px #fff,1px -1px 20px #fff}.bc-player-default_default .vjs-big-play-button:focus,.bc-player-default_default .vjs-big-play-button:hover,.bc-player-default_default .vjs-progress-holder:focus:before{box-shadow:0 0 15px 3px #FFF}.bc-player-default_default.vjs-has-started.vjs-user-inactive .vjs-progress-holder:focus:before{box-shadow:none}.bc-player-default_default .vjs-progress-control{order:5;flex:1 0 auto}.bc-player-default_default .vjs-current-time:before,.bc-player-default_default .vjs-duration:before,.bc-player-default_default .vjs-progress-control:before{content:none}.bc-player-default_default .vjs-load-progress,.bc-player-default_default .vjs-play-progress,.bc-player-default_default .vjs-seek-handle{float:left;display:block}.bc-player-default_default .vjs-progress-holder{position:relative;height:4px;padding:24px 0 22px}.bc-player-default_default .vjs-progress-holder:before{content:"";display:block;background-color:#8b8e8c;background-color:rgba(255,255,255,.3);width:100%;height:4px;position:absolute;top:50%;margin-top:-1px}.bc-player-default_default .vjs-load-progress,.bc-player-default_default .vjs-play-progress{float:none;height:4px}.bc-player-default_default .vjs-play-progress,.bc-player-default_default .vjs-volume-level{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAADCAYAAABWKLW/AAAAHElEQVQIW2P8//+/DyMj4xYGIGAEETABMAcmAADkAAtNi9y2WAAAAABJRU5ErkJggg==) repeat;background-color:#ee3134}.bc-player-default_default .vjs-play-progress{margin-top:-4px;width:0}.bc-player-default_default .vjs-load-progress{background-color:rgba(255,255,255,.3)}.bc-player-default_default .vjs-load-progress{width:0}.bc-player-default_default .vjs-play-control{order:1}.bc-player-default_default .vjs-play-control:before{content:'\e001'}.bc-player-default_default .vjs-play-control.vjs-playing:before{content:'\e002'}.bc-player-default_default .vjs-current-time,.bc-player-default_default .vjs-duration,.bc-player-default_default .vjs-time-divider{cursor:default;text-align:center}.bc-player-default_default .vjs-current-time{order:2}.bc-player-default_default .vjs-time-divider{width:4px;order:3}.bc-player-default_default .vjs-duration{order:4}.bc-player-default_default .vjs-volume-menu-button{order:6}.bc-player-default_default .vjs-captions-button,.bc-player-default_default .vjs-chapters-button,.bc-player-default_default .vjs-subtitles-button{order:8}.bc-player-default_default .vjs-captions-button:before{content:'\e008'}.bc-player-default_default .vjs-chapters-button:before,.bc-player-default_default .vjs-subtitles-button:before{content:'\e00c'}.bc-player-default_default .vjs-fullscreen-control{order:9}.bc-player-default_default .vjs-fullscreen-control:before{content:'\e000'}.bc-player-default_default .vjs-captions-button>.vjs-control-text,.bc-player-default_default .vjs-chapters-button>.vjs-control-text,.bc-player-default_default .vjs-current-time .vjs-control-text,.bc-player-default_default .vjs-duration .vjs-control-text,.bc-player-default_default .vjs-live-display .vjs-control-text,.bc-player-default_default .vjs-progress-control .vjs-control-text,.bc-player-default_default .vjs-subtitles-button>.vjs-control-text,.bc-player-default_default .vjs-volume-handle .vjs-control-text,.bc-player-default_default .vjs-volume-menu-button>.vjs-control-text{display:none}.bc-player-default_default .vjs-remaining-time{display:none}.bc-player-default_default .vjs-live-controls,.bc-player-default_default.vjs-live .vjs-current-time,.bc-player-default_default.vjs-live .vjs-progress-control,.bc-player-default_default.vjs-live .vjs-time-divider,.bc-player-default_default.vjs-live.vjs-ad-playing .vjs-live-controls,.bc-player-default_default.vjs-live.vjs-ad-playing .vjs-live-controls .vjs-live-display{display:none}.bc-player-default_default .vjs-live-controls{width:51px;order:5}.bc-player-default_default .vjs-live-controls .vjs-live-display{margin:0 5px}.bc-player-default_default.vjs-live .vjs-live-controls{flex:1 0 auto}.bc-player-default_default.vjs-live .vjs-live-controls,.bc-player-default_default.vjs-live .vjs-live-controls .vjs-live-display,.bc-player-default_default.vjs-live.vjs-ad-playing .vjs-current-time,.bc-player-default_default.vjs-live.vjs-ad-playing .vjs-progress-control,.bc-player-default_default.vjs-live.vjs-ad-playing .vjs-time-divider{display:block}.bc-player-default_default .vjs-menu{display:none;margin:0 -14px 60px -14px;position:absolute;overflow:visible;width:76px;list-style:none;padding:0;transition-property:width,height,opacity;transition-delay:.5s;opacity:0}.bc-player-default_default .vjs-menu-content{background-color:#eee}.bc-player-default_default .vjs-menu-button .vjs-menu.vjs-lock-showing,.bc-player-default_default .vjs-menu-button:active .vjs-menu,.bc-player-default_default.vjs-mouse .vjs-menu-button:hover .vjs-menu{display:block;bottom:0;opacity:1;transition-property:opacity;transition-delay:0s}.bc-player-default_default .vjs-menu .vjs-menu-title{display:none}.bc-player-default_default .vjs-menu .vjs-menu-item{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;height:24px;line-height:24px;display:block;text-align:center;padding:7px}.bc-player-default_default .vjs-menu .vjs-menu-item.vjs-selected{background-color:#fff;background-color:rgba(255,255,255,.8);color:#000;color:rgba(0,0,0,.6)}.bc-player-default_default .vjs-menu-content{padding:0;margin:0}.bc-player-default_default .vjs-menu-button .vjs-menu .vjs-menu-content{display:block;margin:0;padding:0;position:absolute;bottom:0;max-height:360px;overflow:auto}.bc-player-default_default .vjs-captions-button .vjs-menu-content,.bc-player-default_default .vjs-chapters-button .vjs-menu-content,.bc-player-default_default .vjs-subtitles-button .vjs-menu-content{width:140px;left:-32px}.bc-player-default_default .vjs-menu-button .vjs-texttrack-settings{padding-bottom:7px;border-bottom:1px solid;border-color:#d52484}.vjs-modal-overlay{position:absolute;color:#fff;font-family:HelveticaNeue-Light,"Helvetica Neue Light","Helvetica Neue",Helvetica,Arial,"Lucida Grande",sans-serif;font-weight:300;top:0;right:0;bottom:0;left:0;background-color:rgba(0,0,0,.75);padding:45px 70px;text-align:left;letter-spacing:1px}@media only screen and (max-width :480px){.vjs-modal-overlay{padding:20px 35px}}.bc-player-default_default .vjs-text-track-display{position:absolute;top:0;left:0;bottom:50px;right:0;pointer-events:none}.bc-player-default_default.vjs-mouse .vjs-text-track-display{bottom:33px}.bc-player-default_default .vjs-tracksettings{position:absolute;overflow:auto;top:45px;right:70px;bottom:50px;left:70px}.bc-player-default_default .vjs-tracksettings-controls{position:absolute;bottom:0;left:70px;right:70px;padding:10px 0;text-align:right}@media only screen and (max-width:480px){.bc-player-default_default .vjs-tracksettings,.bc-player-default_default .vjs-tracksettings-controls{left:35px;right:35px}.bc-player-default_default .vjs-tracksettings{top:20px;bottom:40px}.bc-player-default_default .vjs-tracksettings-controls{padding:5px 0;bottom:0}}.bc-player-default_default .vjs-caption-settings .vjs-tracksetting{margin:5px;padding:3px;min-height:40px}.bc-player-default_default .vjs-caption-settings .vjs-tracksetting label{display:block;width:100px;margin-bottom:5px}.bc-player-default_default .vjs-caption-settings .vjs-tracksetting span{display:inline;margin-left:5px}.bc-player-default_default .vjs-caption-settings .vjs-tracksetting>div{margin-bottom:5px;min-height:20px}.bc-player-default_default .vjs-caption-settings .vjs-tracksetting>div:last-child{margin-bottom:0;padding-bottom:0;min-height:0}.bc-player-default_default .vjs-caption-settings label>input{margin-right:10px}.bc-player-default_default .vjs-caption-settings input[type=button]{width:40px;height:40px}.bc-player-default_default .vjs-tracksettings .vjs-label{display:block}.bc-player-default_default .vjs-tracksettings-colors,.bc-player-default_default .vjs-tracksettings-font{box-sizing:border-box;float:left;width:50%;padding:3px;min-height:40px;min-width:280px}.bc-player-default_default .vjs-tracksettings-colors:after,.bc-player-default_default .vjs-tracksettings-controls:after,.bc-player-default_default .vjs-tracksettings-font:after{clear:both}.bc-player-default_default .vjs-tracksetting{margin-bottom:16px;min-height:20px}.bc-player-default_default .vjs-opacity{margin-left:10px}.bc-player-default_default .vjs-tracksetting button,.bc-player-default_default .vjs-tracksetting input,.bc-player-default_default .vjs-tracksetting select,.bc-player-default_default .vjs-tracksettings-controls button{margin-top:6px;font:inherit;border-radius:2px;background-color:#fff;padding:0 9px;line-height:24px;height:24px;border:none;color:#515151;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box}.bc-player-default_default .vjs-edge-style select,.bc-player-default_default .vjs-font-family select{display:block}.bc-player-default_default .vjs-caption-settings button{margin-right:10px}.bc-player-default_default .vjs-caption-settings .vjs-done-button{margin-right:0}.bc-player-default_default .vjs-volume-menu-button{display:none}.bc-player-default_default .vjs-mute-control:before,.bc-player-default_default .vjs-volume-menu-button:before{content:'\e006'}.bc-player-default_default .vjs-mute-control.vjs-vol-0:before,.bc-player-default_default .vjs-volume-menu-button.vjs-vol-0:before{content:'\e003'}.bc-player-default_default .vjs-mute-control.vjs-vol-2:before,.bc-player-default_default .vjs-volume-menu-button.vjs-vol-2:before{content:'\e005'}.bc-player-default_default .vjs-mute-control.vjs-vol-1:before,.bc-player-default_default .vjs-volume-menu-button.vjs-vol-1:before{content:'\e004'}.bc-player-default_default .vjs-volume-control .vjs-volume-bar{margin-top:15px;padding:0}.bc-player-default_default .vjs-volume-menu-button .vjs-menu{background-color:transparent;opacity:0;bottom:33px}.bc-player-default_default .vjs-volume-menu-button .vjs-menu-content{margin-right:0;background-color:#eee;width:0;height:0;padding:0 10px;line-height:23px;transform:translate(-15.5px,-40px) rotate(-90deg);transition-property:width,height;transition-delay:0s}.bc-player-default_default .vjs-volume-menu-button .vjs-menu.vjs-lock-showing .vjs-menu-content,.bc-player-default_default .vjs-volume-menu-button:active .vjs-menu .vjs-menu-content,.bc-player-default_default.vjs-mouse .vjs-volume-menu-button:hover .vjs-menu .vjs-menu-content{height:23px;width:87px;padding:0 10px;overflow:visible}.bc-player-default_default .vjs-captions-button.vjs-menu-button:active .vjs-menu .vjs-menu-content,.bc-player-default_default .vjs-captions-button.vjs-volume-menu-button .vjs-menu.vjs-lock-showing .vjs-menu-content,.bc-player-default_default .vjs-chapters-button.vjs-menu-button:active .vjs-menu .vjs-menu-content,.bc-player-default_default .vjs-chapters-button.vjs-volume-menu-button .vjs-menu.vjs-lock-showing .vjs-menu-content,.bc-player-default_default .vjs-subtitles-button.vjs-menu-button:active .vjs-menu .vjs-menu-content,.bc-player-default_default .vjs-subtitles-button.vjs-volume-menu-button .vjs-menu.vjs-lock-showing .vjs-menu-content,.bc-player-default_default.vjs-mouse .vjs-captions-button.vjs-menu-button:hover .vjs-menu .vjs-menu-content,.bc-player-default_default.vjs-mouse .vjs-chapters-button.vjs-menu-button:hover .vjs-menu .vjs-menu-content,.bc-player-default_default.vjs-mouse .vjs-subtitles-button.vjs-menu-button:hover .vjs-menu .vjs-menu-content{height:auto}.bc-player-default_default .vjs-volume-menu-button .vjs-menu.vjs-lock-showing{display:block}.bc-player-default_default .vjs-volume-bar{height:3px;padding:10px 0 10px;position:relative}.bc-player-default_default .vjs-volume-bar:before{content:"";display:block;background-color:#8b8e8c;background-color:rgba(255,255,255,.3);position:absolute;height:3px;width:100%;box-shadow:0 0 15px 2px #fff}.bc-player-default_default .vjs-volume-level{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAADCAYAAABWKLW/AAAAHElEQVQIW2P8//+/DyMj4xYGIGAEETABMAcmAADkAAtNi9y2WAAAAABJRU5ErkJggg==);background-color:#ee3134;height:3px;display:block;width:100%;background-repeat:repeat repeat}.bc-player-default_default .vjs-volume-handle{position:absolute;width:5px;background-color:#fff;left:100%;margin-top:-4px;height:5px;float:none;display:block;transform:rotate(45deg)}.bc-player-default_default .vjs-loading-spinner{animation:rotation .6s infinite linear;border:6px solid rgba(255,255,255,.15);border-radius:100%;display:none;height:60px;left:50%;margin:-30px 0 0 -30px;position:absolute;top:50%;width:60px}.vjs-waiting.bc-player-default_default .vjs-loading-spinner{display:block}.bc-player-default_default .vjs-loading-spinner:before{content:"";display:block;position:absolute;left:-6px;top:-6px;height:100%;width:100%;border-top:6px solid rgba(255,255,255,.8);border-left:6px solid transparent;border-bottom:6px solid transparent;border-right:6px solid transparent;border-radius:100%}@keyframes rotation{from{transform:rotate(0)}to{transform:rotate(359deg)}}.bc-player-default_default.vjs-native .vjs-big-play-button,.bc-player-default_default.vjs-native .vjs-control-bar,.bc-player-default_default.vjs-native .vjs-loading-spinner,.bc-player-default_default.vjs-native .vjs-poster,.bc-player-default_default.vjs-native .vjs-text-track-display{display:none}.bc-player-default_default.vjs-mouse{font-size:12px}.bc-player-default_default.vjs-mouse .bc-wrap{filter:blur(10px)}.bc-player-default_default.vjs-mouse .vjs-big-play-button{width:156px;height:105px;top:17px;left:17px;position:absolute}.bc-player-default_default.vjs-mouse .vjs-control-bar{display:flex;height:33px;line-height:33px}.bc-player-default_default.vjs-mouse.vjs-has-started.vjs-user-inactive .vjs-control,.bc-player-default_default.vjs-mouse.vjs-has-started.vjs-user-inactive .vjs-control-bar,.bc-player-default_default.vjs-mouse.vjs-has-started.vjs-user-inactive .vjs-progress-control,.bc-player-default_default.vjs-mouse.vjs-has-started.vjs-user-inactive .vjs-time-divider{transition-delay:3s}.bc-player-default_default.vjs-mouse.vjs-has-started.vjs-user-inactive .vjs-control-bar{margin-left:-15px;pointer-events:none;transform:translateY(33px)}.bc-player-default_default.vjs-mouse.vjs-has-started.vjs-user-inactive .vjs-progress-control{transform:translateY(-19px);width:48px}.bc-player-default_default.vjs-mouse .vjs-control{height:33px;width:48px}.bc-player-default_default.vjs-mouse .vjs-control:before{font-size:16px;line-height:18px;opacity:.8;width:24px;text-align:center;top:8px}.bc-player-default_default.vjs-mouse .vjs-progress-holder{padding:15px 0 14px}.bc-player-default_default.vjs-mouse .vjs-menu{width:76px;margin:0 -14px 33px -14px}.bc-player-default_default.vjs-mouse .vjs-volume-menu-button{display:block}.bc-player-default_default.vjs-mouse .vjs-volume-menu-button:before{content:'\e006'}.bc-player-default_default.vjs-mouse .vjs-volume-menu-button.vjs-vol-0:before{content:'\e003'}.bc-player-default_default.vjs-mouse .vjs-volume-menu-button.vjs-vol-2:before{content:'\e005'}.bc-player-default_default.vjs-mouse .vjs-volume-menu-button.vjs-vol-1:before{content:'\e004'}.bc-player-default_default.vjs-mouse .vjs-fullscreen-control:before{content:'\e000'}.bc-player-default_default.vjs-mouse.video-js:fullscreen .vjs-fullscreen-control:before{content:'\e00b'}.bc-player-default_default.vjs-mouse.video-js.vjs-fullscreen .vjs-fullscreen-control:before{content:'\e00b'}.bc-player-default_default.vjs-mouse .vjs-hidden{display:none}@media (max-width:480px){.bc-player-default_default:not(.vjs-has-started) .vjs-control-bar{visibility:hidden}}.bc-player-default_default,.bc-player-default_default *,.bc-player-default_default :after,.bc-player-default_default :before{-webkit-box-sizing:content-box}@-moz-document url-prefix(){.bc-player-default_default .vjs-control-bar{width:100%;-moz-box-sizing:border-box}}.bc-player-default_default.vjs-has-started .vjs-control-bar,.bc-player-default_default.vjs-mouse .vjs-control-bar{display:-webkit-box;display:-moz-box;display:-ms-flexbox;display:-webkit-flex}.bc-player-default_default .vjs-control-bar{-webkit-backface-visibility:hidden;-webkit-transition:-webkit-transform .5s,margin .5s;-moz-transition:-moz-transform .5s,margin .5s;-ms-transition:-ms-transform .5s,margin .5s;-o-transition:-o-transform .5s,margin .5s;-webkit-box-direction:normal;-moz-box-direction:normal;-webkit-box-orient:horizontal;-moz-box-orient:horizontal;-webkit-flex-direction:row;-ms-flex-direction:row;-webkit-flex-wrap:nowrap;-ms-flex-wrap:nowrap;-webkit-box-pack:justify;-moz-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;-webkit-align-content:center;-ms-flex-line-pack:center;-webkit-box-align:center;-moz-box-align:center;-webkit-align-items:center;-ms-flex-align:center}.bc-player-default_default.vjs-has-started.vjs-user-inactive .vjs-control-bar{-webkit-transform:translateY(50px);-moz-transform:translateY(50px);-ms-transform:translateY(50px);-o-transform:translateY(50px)}.bc-player-default_default .vjs-control-bar .vjs-control,.bc-player-default_default .vjs-control-bar .vjs-time-divider{-webkit-transition:width .5s,opacity .5s;-moz-transition:width .5s opacity .5s;-ms-transition:width .5s opacity .5s;-o-transition:width .5s opacity .5s}.bc-player-default_default .vjs-control-bar .vjs-progress-control{-webkit-transition:-webkit-transform .5s;-moz-transition:-moz-transform .5s;-ms-transition:-ms-transform .5s;-o-transition:-o-transform .5s}.bc-player-default_default.vjs-has-started.vjs-user-inactive .vjs-progress-control{-webkit-transform:translateY(-28px);-moz-transform:translateY(-28px);-ms-transform:translateY(-28px);-o-transform:translateY(-28px)}.bc-player-default_default .vjs-control{-moz-box-sizing:border-box;-webkit-box-flex:0;-moz-box-flex:0;-webkit-flex:0 0 auto;-ms-flex:0 0 auto;-webkit-align-self:auto;-ms-flex-item-align:auto}.bc-player-default_default .vjs-progress-control{-webkit-box-ordinal-group:5;-moz-box-ordinal-group:5;-webkit-order:5;-ms-flex-order:5;-webkit-box-flex:1;-moz-box-flex:1;-webkit-flex:1 0 auto;-ms-flex:1 0 auto}.bc-player-default_default .vjs-progress-holder{-webkit-user-select:none}.bc-player-default_default .vjs-play-control{-webkit-box-ordinal-group:1;-moz-box-ordinal-group:1;-webkit-order:1;-ms-flex-order:1}.bc-player-default_default .vjs-current-time{-webkit-box-ordinal-group:2;-moz-box-ordinal-group:2;-webkit-order:2;-ms-flex-order:2}.bc-player-default_default .vjs-time-divider{-webkit-box-ordinal-group:3;-moz-box-ordinal-group:3;-webkit-order:3;-ms-flex-order:3}.bc-player-default_default .vjs-duration{-webkit-box-ordinal-group:4;-moz-box-ordinal-group:4;-webkit-order:4;-ms-flex-order:4}.bc-player-default_default .vjs-live-controls{-webkit-box-ordinal-group:5;-moz-box-ordinal-group:5;-webkit-order:5;-ms-flex-order:5}.bc-player-default_default.vjs-live .vjs-live-controls{-webkit-box-flex:1;-moz-box-flex:1;-webkit-flex:1 0 auto;-ms-flex:1 0 auto}.bc-player-default_default .vjs-volume-menu-button{-webkit-box-ordinal-group:6;-moz-box-ordinal-group:6;-webkit-order:6;-ms-flex-order:6}.bc-player-default_default .vjs-captions-button,.bc-player-default_default .vjs-chapters-button,.bc-player-default_default .vjs-subtitles-button{-webkit-box-ordinal-group:8;-moz-box-ordinal-group:8;-webkit-order:8;-ms-flex-order:8}.bc-player-default_default .vjs-fullscreen-control{-webkit-box-ordinal-group:9;-moz-box-ordinal-group:9;-webkit-order:9;-ms-flex-order:9}.bc-player-default_default .vjs-menu{-webkit-transition-property:opacity;-moz-transition-property:opacity;-ms-transition-property:opacity;-o-transition-property:opacity;-webkit-transition-delay:.5s;-moz-transition-delay:.5s;-ms-transition-delay:.5s;-o-transition-delay:.5s}.bc-player-default_default .vjs-menu .vjs-menu-content{-webkit-transition-property:width,height;-moz-transition-property:width,height;-ms-transition-property:width,height;-o-transition-property:width,height;-webkit-transition-delay:.5s;-moz-transition-delay:.5s;-ms-transition-delay:.5s;-o-transition-delay:.5s}.bc-player-default_default .vjs-menu-button:active .vjs-menu .vjs-menu-content,.bc-player-default_default .vjs-menu-button:hover .vjs-menu .vjs-menu-content,.bc-player-default_default .vjs-menu.vjs-lock-showing .vjs-menu-content{-webkit-transition-delay:0s;-moz-transition-delay:0s;-ms-transition-delay:0s;-o-transition-delay:0s}.bc-player-default_default .vjs-volume-menu-button .vjs-menu-content{-webkit-transform:translate(-15.5px,-40px) rotate(-90deg);-moz-transform:translate(-15.5px,-40px) rotate(-90deg);-ms-transform:translate(-15.5px,-40px) rotate(-90deg);-o-transform:translate(-15.5px,-40px) rotate(-90deg)}.bc-player-default_default .vjs-volume-bar{-webkit-user-select:none}.bc-player-default_default .vjs-volume-handle{-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);-ms-transform:rotate(45deg);-o-transform:rotate(45deg)}.bc-player-default_default.vjs-mouse .vjs-control-bar{display:flex;height:33px;line-height:33px}.bc-player-default_default.vjs-mouse.vjs-has-started.vjs-user-inactive .vjs-control,.bc-player-default_default.vjs-mouse.vjs-has-started.vjs-user-inactive .vjs-control-bar,.bc-player-default_default.vjs-mouse.vjs-has-started.vjs-user-inactive .vjs-progress-control,.bc-player-default_default.vjs-mouse.vjs-has-started.vjs-user-inactive .vjs-time-divider{-webkit-transition-delay:3s;-moz-transition-delay:3s;-ms-transition-delay:3s;-o-transition-delay:3s}.bc-player-default_default.vjs-mouse.vjs-has-started.vjs-user-inactive .vjs-control-bar{-webkit-transform:translateY(33px);-moz-transform:translateY(33px);-ms-transform:translateY(33px);-o-transform:translateY(33px)}.bc-player-default_default.vjs-mouse.vjs-has-started.vjs-user-inactive .vjs-progress-control{-webkit-transform:translateY(-19px);-moz-transform:translateY(-19px);-ms-transform:translateY(-19px);-o-transform:translateY(-19px)}.bc-player-default_default.vjs-no-flex .vjs-control,.bc-player-default_default.vjs-no-flex .vjs-time-divider{float:left}.bc-player-default_default.vjs-no-flex .vjs-control-bar{display:block}.bc-player-default_default.vjs-no-flex.vjs-user-inactive .vjs-control-bar{margin-left:0}.bc-player-default_default.vjs-mouse.vjs-has-started.vjs-user-inactive .vjs-control-bar{margin-left:0}.bc-player-default_default.vjs-no-flex.vjs-has-started.vjs-user-inactive .vjs-progress-control{-moz-transition:-moz-transform .5s .5s,width .5s .5s}.bc-player-default_default.vjs-no-flex .vjs-progress-control~.vjs-control{float:right}.bc-player-default_default.video-js:full-screen{bottom:0;left:0;margin:auto;max-height:100%;max-width:100%;position:absolute;right:0;top:0}.bc-player-default_default.video-js:-webkit-full-screen{bottom:0;left:0;margin:auto;max-height:100%;max-width:100%;position:absolute;right:0;top:0}.bc-player-default_default.video-js:-moz-full-screen{bottom:0;left:0;margin:auto;max-height:100%;max-width:100%;position:absolute;right:0;top:0}.bc-player-default_default.video-js:-ms-fullscreen{bottom:0;left:0;margin:auto;max-height:100%;max-width:100%;position:absolute;right:0;top:0}.bc-player-default_default.video-js:-webkit-full-screen .vjs-fullscreen-control::before{content:'\e00b'}.bc-player-default_default.video-js:-moz-full-screen .vjs-fullscreen-control::before{content:'\e00b'}.bc-player-default_default.video-js:-ms-fullscreen .vjs-fullscreen-control::before{content:'\e00b'}.bc-player-default_default.video-js:-ms-fullscreen .vjs-big-play-button{content:'\e00b'}.bc-player-default_default.video-js:full-screen .vjs-fullscreen-control::before{content:'\e00b'}.bc-player-default_default.ie8.vjs-has-started.vjs-user-inactive .vjs-control-bar{bottom:-33px}.bc-player-default_default.ie8.vjs-has-started.vjs-user-inactive .vjs-progress-control{position:absolute;display:block;bottom:19px;width:100%!important}.bc-player-default_default.ie8 .vjs-big-play-button,.bc-player-default_default.ie8 .vjs-control-bar,.bc-player-default_default.ie8 .vjs-menu,.bc-player-default_default.ie8 .vjs-volume-menu-button .vjs-menu-content{background-color:#000;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=45)";zoom:1}.bc-player-default_default.ie8 .vjs-control .vjs-menu-content{background-color:#000;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=45)"}.bc-player-default_default.ie8 .vjs-captions-button .vjs-menu-content,.bc-player-default_default.ie8 .vjs-chapters-button .vjs-menu-content,.bc-player-default_default.ie8 .vjs-subtitles-button .vjs-menu-content{border-top:1px solid #000;border-left:1px solid #000;border-right:1px solid #000}.bc-player-default_default.ie8 .vjs-progress-holder{background:0 0}.bc-player-default_default.ie8 .vjs-load-progress{background:0 0;-ms-filter:"progid:DXImageTransform.Microsoft.gradient(startColorstr=#3CFFFFFF,endColorstr=#3CFFFFFF)";zoom:1}.bc-player-default_default.ie8 .vjs-volume-bar{background:0 0;-ms-filter:"progid:DXImageTransform.Microsoft.gradient(startColorstr=#1EFFFFFF,endColorstr=#1EFFFFFF)";zoom:1}.bc-player-default_default .vjs-poster img{display:block;margin:auto}.bc-player-default_default.ie8 .bc-wrap{display:none}.ie8 .bc-player-default_default .vjs-big-play-button:focus,.ie8 .bc-player-default_default .vjs-big-play-button:hover,.ie8 .bc-player-default_default .vjs-progress-holder:focus:before{border:2px solid #fff}.ie8 .bc-player-default_default .vjs-control:focus:before,.ie8 .bc-player-default_default .vjs-control:hover:before,.ie8 .bc-player-default_default .vjs-volume-bar:focus,.ie8 .bc-player-default_default .vjs-volume-control:hover{border:2px solid #fff}.bc-player-default_default .vjs-loading-spinner{-moz-animation:rotation .6s infinite linear}@-moz-keyframes rotation{from{-moz-transform:rotate(0)}to{-moz-transform:rotate(359deg)}}.bc-player-default_default .vjs-loading-spinner{-webkit-animation:rotation .6s infinite linear}@-webkit-keyframes rotation{from{-webkit-transform:rotate(0)}to{-webkit-transform:rotate(359deg)}}.bc-wrap{-webkit-transition:opacity .35s}.bc-player-default_default.vjs-mouse .bc-wrap{-webkit-filter:blur(10px)}.bc-player-default_default.video-js .vjs-tech{-webkit-transition:opacity .35s}.bc-player-default_default .vjs-poster{-webkit-transition:opacity .35s}.vjs-error-display{color:#fff;display:none;font-family:Helvetica,Arial,sans serif;font-size:16px;line-height:1.428}.vjs-error .vjs-error-display{display:block;position:absolute;top:0;left:0;right:0;bottom:0;background:rgba(0,0,0,.5);-ms-filter:"progid:DXImageTransform.Microsoft.gradient(startColorstr=#7F000000,endColorstr=#7F000000)"}.vjs-errors-dialog{border:1px #999 solid;overflow:hidden;position:absolute;top:5%;bottom:5%;left:5%;right:5%;background:rgba(24,24,24,.8);-ms-filter:"progid:DXImageTransform.Microsoft.gradient(startColorstr=#CC000000, endColorstr=#CC000000)"}.vjs-errors-details{margin-top:15px}.vjs-errors-message{border:1px #999 solid;background-color:#2c2c2c;overflow:auto;margin-top:15px;padding:15px}.vjs-errors-ok-button-container{display:block;position:absolute;bottom:15px;left:15px;right:15px;text-align:center}.vjs-errors-ok-button{display:block;margin:0 auto;width:80px;height:36px;background-color:#000;border:1px #999 solid;border-radius:5px;color:#999;font-size:14px;cursor:pointer}.vjs-errors-ok-button:hover{border:1px #FFF solid;color:#CCC}.vjs-errors-content-container{overflow:auto;position:absolute;padding-bottom:15px;top:75px;left:15px;right:15px;bottom:61px}.vjs-errors-headline{font-size:22px;font-weight:700;margin-top:0}.vjs-errors-close-button{background-color:transparent;font-size:14px;font-weight:700;cursor:pointer;float:right;margin:5px;border:0;color:#999}.vjs-errors-close-button:before{content:'X'}.vjs-errors-close-button:hover{color:#FFF}.vjs-xs.vjs-error-display{font-size:14px;background-color:#000}.vjs-xs.vjs-error-display .vjs-errors-close-button,.vjs-xs.vjs-error-display .vjs-errors-details,.vjs-xs.vjs-error-display .vjs-errors-message{display:none}.vjs-xs .vjs-errors-content-container{top:15px}.vjs-xs .vjs-errors-headline{font-size:16px;font-weight:700}.vjs-xs .vjs-errors-dialog{border:none;top:0;bottom:0;left:0;right:0}@media (max-width:600px),(max-height:250px){.vjs-error-display{font-size:14px;background-color:#000}.vjs-error-display .vjs-errors-close-button,.vjs-error-display .vjs-errors-details,.vjs-error-display .vjs-errors-message{display:none}.vjs-error-display .vjs-errors-content-container{top:15px}.vjs-error-display .vjs-errors-headline{font-size:16px;font-weight:700}.vjs-error-display .vjs-errors-dialog{border:none;top:0;bottom:0;left:0;right:0}}/*! videojs-social - v0.0.0 - 2014-5-1 * Copyright (c) 2014 Brightcove */@font-face{font-family:bc-share-icons;src:url(//players.brightcove.net/videojs-social/dist/fonts/bc-share-icons.eot?58969784) format('eot')}@font-face{font-family:bc-share-icons;src:url(//players.brightcove.net/videojs-social/dist/fonts/bc-share-icons.svg?58969784#bc-share-icons) format('svg'),url(data:application/font-woff;base64,d09GRgABAAAAAA7kAA4AAAAAGAQAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABPUy8yAAABRAAAAEQAAABWPfZIr2NtYXAAAAGIAAAAOgAAAUrQGRm3Y3Z0IAAAAcQAAAAKAAAACgAAAABmcGdtAAAB0AAABZQAAAtwiJCQWWdhc3AAAAdkAAAACAAAAAgAAAAQZ2x5ZgAAB2wAAARoAAAFGoDlrCtoZWFkAAAL1AAAADQAAAA2A2z0/2hoZWEAAAwIAAAAIAAAACQHWwNaaG10eAAADCgAAAAhAAAAKB7yAABsb2NhAAAMTAAAABYAAAAWBz8FqG1heHAAAAxkAAAAIAAAACAAoAvubmFtZQAADIQAAAGTAAADFWqTBGZwb3N0AAAOGAAAAGQAAACBSxNGlXByZXAAAA58AAAAZQAAAHvdawOFeJxjYGSWYJzAwMrAwVTFtIeBgaEHQjM+YDBkZGJgYGJgZWbACgLSXFMYHF4wvOBgDvqfxRDFHMSQAhRmBMkBAMgsCyN4nGNgYGBmgGAZBkYGEHAB8hjBfBYGDSDNBqQZGZgYGF5w/P8PUvCCAURLMELVAwEjG8OIBwBsrwa2AAAAAAAAAAAAAAAAAAB4nK1WaXMTRxCd1WHLNj6CDxI2gVnGcox2VpjLCBDG7EoW4BzylexCjl1Ldu6LT/wG/ZpekVSRb/y0vB4d2GAnVVQoSv2m9+1M9+ueXpPQksReWI+k3HwpprY2aWTnSUg3bFqO4kPZ2QspU0z+LoiCaLXUvu04JCISgap1hSWC2PfI0iTjQ48yWrYlvWpSbulJd9kaD+qt+vbT0FGO3QklNZuhQ+uRLanCqBJFMu2RkjYtw9VfSVrh5yvMfNUMJYLoJ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y2wWyyyAAFDKy2wXCyyAQBDKy2wXSyyAQFDKy2wXiyyAAA/Ky2wXyyyAAE/Ky2wYCyyAQA/Ky2wYSyyAQE/Ky2wYiywNysusSsBFCstsGMssDcrsDsrLbBkLLA3K7A8Ky2wZSywABawNyuwPSstsGYssDgrLrErARQrLbBnLLA4K7A7Ky2waCywOCuwPCstsGkssDgrsD0rLbBqLLA5Ky6xKwEUKy2wayywOSuwOystsGwssDkrsDwrLbBtLLA5K7A9Ky2wbiywOisusSsBFCstsG8ssDorsDsrLbBwLLA6K7A8Ky2wcSywOiuwPSstsHIsswkEAgNFWCEbIyFZQiuwCGWwAyRQeLABFTAtAEu4AMhSWLEBAY5ZsAG5CAAIAGNwsQAFQrEAACqxAAVCsQAIKrEABUKxAAgqsQAFQrkAAAAJKrEABUK5AAAACSqxAwBEsSQBiFFYsECIWLEDZESxJgGIUVi6CIAAAQRAiGNUWLEDAERZWVlZsQAMKrgB/4WwBI2xAgBEAA==) format('truetype')}.video-js .vjs-share-control{-webkit-box-ordinal-group:5;-moz-box-ordinal-group:5;-webkit-order:5;-ms-flex-order:5;-ms-order:5;order:5}.video-js .vjs-share-control.vjs-share-control:before{font-family:bc-share-icons;content:'\e805'}.vjs-no-flex.video-js .vjs-share-control{display:table-cell}.video-js .vjs-social-overlay{position:absolute;color:#fff;font-family:HelveticaNeue-Light,"Helvetica Neue Light","Helvetica Neue",Helvetica,Arial,"Lucida Grande",sans-serif;font-weight:300;top:0;right:0;bottom:0;left:0;background-color:rgba(0,0,0,.75);padding:45px 70px;text-align:left;letter-spacing:1px}.video-js .vjs-social-overlay .vjs-hidden{display:none}.video-js.ie8 .vjs-social-overlay{background:#000}.video-js .vjs-social-cancel{position:absolute;top:10px;right:10px;font-family:bc-share-icons;font-size:16px;font-style:normal;text-align:center;height:18px;width:18px;padding:6px;overflow:hidden;cursor:pointer}.video-js .vjs-social-cancel:before{content:'\e800'}.video-js .vjs-social-overlay legend{border:none;color:#fff;margin-bottom:14px;font-size:14px;line-height:17px;width:100%;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.video-js .vjs-social-overlay label{font-weight:400;font-size:13px;display:block;margin-bottom:16px}.video-js .vjs-social-overlay .vjs-share-options{font-size:12px;list-style:none;color:#fff;text-align:center;overflow:auto;padding:0}.video-js .vjs-share-options{margin-top:6px}.video-js .vjs-social-overlay li{float:left;width:30px;height:32px;overflow:hidden;vertical-align:middle;line-height:32px;margin-left:9px;font-size:14px}.video-js .vjs-social-overlay .vjs-invalid{border:3px solid red}.video-js .vjs-social-overlay li:first-child{margin-left:0}.video-js ul.vjs-share-options li a{text-decoration:none;cursor:pointer;height:32px}.video-js [class*=" vjs-share-"],.video-js [class^=vjs-share-]{display:block;border-radius:2px;font-family:bc-share-icons}.video-js .vjs-social-overlay a{display:block;border-radius:2px;color:#FFF}.video-js .vjs-share-facebook{background-color:#3b5998}.video-js .vjs-share-facebook:before{content:'\e801'}.video-js .vjs-share-gplus{background-color:#d53326}.video-js .vjs-share-gplus:before{font-family:bc-share-icons;content:'\e802'}.video-js .vjs-share-twitter{background-color:#55acee}.video-js .vjs-share-twitter:before{font-family:bc-share-icons;content:'\e803'}.video-js .vjs-share-tumblr{background-color:#29364b}.video-js .vjs-share-tumblr:before{font-family:bc-share-icons;content:'\e804'}.video-js .vjs-share-linkedin{background-color:#069}.video-js .vjs-share-linkedin:before{font-family:bc-share-icons;content:'\e807'}.video-js .vjs-share-pinterest:before{font-family:bc-share-icons;content:'\e806'}.video-js .vjs-share-pinterest{background-color:#c10218}.video-js .vjs-social-overlay input{width:100%;display:block;margin-top:6px;border-radius:2px;padding:0 9px;line-height:32px;height:32px;border:none;color:#515151;font-weight:700;font-size:12px;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box}.video-js .vjs-social-link-options{height:auto;overflow:hidden}.video-js .vjs-social-link{float:none;width:auto;overflow:hidden}.video-js .vjs-social-start{margin-left:20px;width:85px;float:right}.video-js .vjs-restart{color:#fff;background-color:transparent;border:0;outline:0;display:inherit;margin:0 auto;height:58px;width:62px;text-align:center}.video-js .vjs-restart.vjs-hidden{display:none}.video-js .vjs-restart:before{font-family:bc-share-icons;font-size:45px;padding:10px;height:58px}.video-js .vjs-restart:focus:before,.video-js .vjs-restart:hover:before{text-shadow:1px -1px 20px #fff,-1px 1px 20px #fff}.video-js .vjs-restart:before{content:'\e808'}@media only screen and (max-device-width:480px){.video-js .vjs-share-control,.video-js .vjs-social-overlay{display:none}}.video-container{margin-bottom:10px}.video-container:after{display:block;content:'';clear:both}.modal-video .video-container{margin-bottom:0}.video-container.video-playlist-right .video-player-wrapper{position:relative}.video-container.video-playlist-right .video-player-wrapper{width:65%;float:left}.video-container.video-playlist-right .video-playlist-wrapper{width:35%;float:left}.video-container .brightcove-container{display:block;position:relative}.video-container .brightcove-container:after{content:'';padding-top:56.25%;display:block}.video-container .brightcove-container .video-js{position:absolute;top:0;bottom:0;right:0;left:0;width:100%;height:100%}.vjs-mouse.vjs-playlist{font-size:11px;line-height:16pt}.brightcoveplaylist ol{margin:0;padding:0}.vjs-mouse.vjs-playlist{background-color:#f3f3f3;color:#dcdcdc;min-width:100%;padding:0;margin:0}.vjs-mouse.vjs-playlist li.vjs-playlist-item{padding-right:12px;margin-bottom:0;background:#fff;border-right:1px #dcdcdc solid;border-bottom:1px #dcdcdc solid;border-left:1px #dcdcdc solid}.vjs-mouse.vjs-playlist li.vjs-playlist-item:first-child{border-top:1px #dcdcdc solid}.vjs-mouse.vjs-playlist cite{height:initial;font-size:11px;line-height:16px;font-weight:700;padding-top:4px;color:#1e8ae7}.vjs-mouse.vjs-playlist .vjs-playlist-description{height:initial;white-space:normal;font-size:11px;line-height:11pt;color:#737373;margin:0;display:block;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis}.vjs-mouse.vjs-playlist .vjs-playlist-thumbnail{margin-right:12px;width:90px;overflow:hidden}.vjs-mouse.vjs-playlist .vjs-playlist-thumbnail img{width:121px;margin-left:-15px;max-width:none}.vjs-mouse.vjs-playlist time{display:none}.vjs-mouse.vjs-playlist li.vjs-playlist-item:hover{background:#eee}.vjs-mouse.vjs-playlist li.vjs-playlist-item.vjs-selected{background:#eee}.vjs-mouse.vjs-playlist .vjs-selected .vjs-playlist-thumbnail:before{content:"";left:0;top:0;background-color:transparent}.vjs-mouse.vjs-playlist li.vjs-playlist-item.vjs-selected:hover .vjs-playlist-thumbnail:before{border:none}.vjs-mouse.vjs-playlist li.vjs-playlist-item:hover .vjs-playlist-thumbnail:before{height:2.5em;width:2.5em;margin-left:-15px;color:rgba(255,255,255,.75);background-color:transparent;border:.19999em solid rgba(255,255,255,.75);-webkit-border-radius:50%;-moz-border-radius:50%;-ms-border-radius:50%;border-radius:50%}.video-js.vjs-mouse{font-size:10px;color:#555759}.vjs-mouse.vjs-has-started.vjs-user-inactive .vjs-progress-control{transform:none!important}.video-js.vjs-mouse:hover .vjs-big-play-button,.video-js.vjs-mouse:hover .vjs-big-play-button:before{border-color:rgba(255,255,255,.85);box-shadow:none}.video-js.vjs-mouse .vjs-big-play-button{background:url(https://www.thermofisher.com/content/dam/LifeTech/components/video/play-lg.png) no-repeat;font-size:5em;background-color:transparent;line-height:1.3em;height:1.5em;width:1.5em;border-radius:50%;left:50%;top:50%;margin-left:-.75em;margin-top:-.75em;text-indent:-1000px\9;filter:none\9}.video-js.vjs-mouse .vjs-big-play-button:before{position:initial;color:transparent;font-size:inherit;line-height:inherit;margin:.09999em auto;text-align:center;width:initial}.video-js.vjs-mouse .vjs-control-bar,.video-js.vjs-mouse .vjs-menu-button .vjs-menu-content{color:#555759;background-color:#eee;filter:none}.video-js.vjs-mouse .vjs-menu-button .vjs-menu-content{background-color:rgba(238,238,238,.5)}.video-js.vjs-mouse .vjs-volume-control{margin-top:-8px\9}.video-js.vjs-mouse .vjs-slider-bar,.video-js.vjs-mouse .vjs-volume-level{background:#555759;min-width:11.5%;height:10px;-webkit-border-radius:10px;-moz-border-radius:10px;-ms-border-radius:10px;border-radius:10px}.video-js.vjs-mouse .vjs-volume-bar{height:3px;padding:6px 0 6px;position:relative}.video-js.vjs-mouse .vjs-progress-holder:before,.video-js.vjs-mouse .vjs-volume-bar:before{height:10px;box-shadow:none;-webkit-border-radius:10px;-moz-border-radius:10px;-ms-border-radius:10px;border-radius:10px}.video-js.vjs-mouse .vjs-progress-holder:before{background-color:rgba(112,109,109,.3)}.video-js.vjs-mouse .vjs-load-progress,.video-js.vjs-mouse .vjs-volume-bar:before{background:#555759}.video-js.vjs-mouse .vjs-play-progress{margin-top:-10px;background:#ee3134;background-image:-webkit-linear-gradient(-45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:-o-linear-gradient(-45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(-45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);-webkit-background-size:10px 10px;background-size:10px 10px;-webkit-animation:progress-bar-stripes 2s linear infinite;-o-animation:progress-bar-stripes 2s linear infinite;animation:progress-bar-stripes 2s linear infinite}.video-js.vjs-mouse .vjs-volume-handle{background-color:#eee;width:1em;height:1em;margin-top:6px;left:88.5%;-webkit-border-radius:50%;-moz-border-radius:50%;-ms-border-radius:50%;border-radius:50%}.video-js.vjs-mouse .vjs-slider-handle{position:absolute;top:0;-webkit-border-radius:50%;-moz-border-radius:50%;-ms-border-radius:50%;border-radius:50%}.video-js.vjs-mouse .vjs-seek-handle.vjs-slider-handle:before{background:url(https://www.thermofisher.com/content/dam/LifeTech/components/video/play-lg.png) no-repeat;content:"";font-size:1em;background-color:#eee;border:1px solid #555759;width:1.25em;height:1.25em;text-shadow:0 0 1em #fff;position:absolute;top:1.1em;left:-.5em;-webkit-border-radius:50%;-moz-border-radius:50%;-ms-border-radius:50%;border-radius:50%}.vjs-volume-bar.vjs-slider-vertical.vjs-slider-vertical{background:0 0!important}.video-js.vjs-mouse .vjs-volume-level{background:#eee!important}.video-js.vjs-mouse .vjs-progress-holder{padding:13px 0 5px;height:10px}.video-js.vjs-mouse .vjs-load-progress,.video-js.vjs-mouse .vjs-play-progress{height:10px;-webkit-border-radius:10px;-moz-border-radius:10px;-ms-border-radius:10px;border-radius:10px}.video-js.vjs-mouse .vjs-play-progress{margin-top:-10px}.video-js.vjs-mouse .vjs-control-bar .vjs-play-control{border-right:1px solid #c8c8c8}.video-js.vjs-mouse .vjs-control-bar .vjs-progress-control{border-right:1px solid #c8c8c8;padding-right:10px}.video-js.vjs-mouse .vjs-control-bar .vjs-control:before{color:#555759}.video-js.vjs-mouse .vjs-control-bar .vjs-control:hover:before{color:#333}ul.vjs-share-options li a,ul.vjs-share-options li a:active,ul.vjs-share-options li a:hover,ul.vjs-share-options li a:visited{color:#fff}.vjs-social-overlay{padding:20px}.vjs-social-overlay input[readonly]{cursor:pointer}@-webkit-keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}@-o-keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}@keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}.video-playlist-right .vjs-mouse.vjs-playlist .vjs-playlist-thumbnail:before{content:'\e001';border-radius:5px;font-family:VideoJS;height:34px;left:40.5px;line-height:34px;top:17px;width:40px}.video-playlist-right .vjs-mouse.vjs-playlist .vjs-playlist-thumbnail:before{height:2.5em;width:2.5em;margin-left:-15px;color:rgba(255,255,255,.75);background-color:transparent;border:.19999em solid rgba(255,255,255,.75);-webkit-border-radius:50%;-moz-border-radius:50%;-ms-border-radius:50%;border-radius:50%}.video-playlist-right .vjs-mouse.vjs-playlist li.vjs-playlist-item.vjs-selected .vjs-playlist-thumbnail:before,.video-playlist-right .vjs-mouse.vjs-playlist li.vjs-playlist-item.vjs-selected:hover .vjs-playlist-thumbnail:before{content:' ';border:none}.video-playlist-right .video-description p.playlist-description{-webkit-line-clamp:2!important}.video-playlist-right .vjs-mouse.vjs-playlist .vjs-playlist-description{max-height:46px}.video-playlist-right .vjs-social-overlay{padding:10px 70px}.video-playlist-right .vjs-social-overlay legend{display:none}.video-playlist-bottom .playlist-wrapper{border:1px #dcdcdc solid}.video-playlist-bottom .vjs-mouse.vjs-playlist{margin:0;width:auto;overflow:auto;overflow-x:scroll;overflow-y:hidden;-ms-overflow-y:hidden;white-space:nowrap;max-height:220px}.video-playlist-bottom .vjs-mouse.vjs-playlist .vjs-playlist-thumbnail{margin-right:0;width:183px;height:103px}.video-playlist-bottom .vjs-mouse.vjs-playlist .vjs-playlist-thumbnail img{width:183px;height:103px;margin-left:0}.video-playlist-bottom .vjs-mouse.vjs-playlist li.vjs-playlist-item{display:table-cell;display:inline-block\9;width:183px;word-break:break-word;height:210px;padding-right:0;border-top:1px #dcdcdc solid;border-left:none;border-right:1px #dcdcdc solid}.video-playlist-bottom .vjs-mouse.vjs-playlist li.vjs-playlist-item:first-child{border-left:1px #dcdcdc solid}.video-playlist-bottom .vjs-mouse.vjs-playlist .vjs-playlist-thumbnail:before,.video-playlist-bottom .vjs-mouse.vjs-playlist li.vjs-playlist-item.vjs-selected .vjs-playlist-thumbnail:before{width:183px;height:103px}.video-playlist-bottom .vjs-mouse.vjs-playlist .vjs-playlist-thumbnail:before,.video-playlist-bottom .vjs-mouse.vjs-playlist li.vjs-playlist-item:hover .vjs-playlist-thumbnail:before{content:"";left:0;top:0;width:183px;height:103px;background:url(https://www.thermofisher.com/content/dam/LifeTech/components/video/play-video-thumbnail.png) 0 0 no-repeat;background-size:100% 100%;margin-left:0;border:none}.video-playlist-bottom .vjs-mouse.vjs-playlist li.vjs-playlist-item.vjs-selected .vjs-playlist-thumbnail:before,.video-playlist-bottom .vjs-mouse.vjs-playlist li.vjs-playlist-item.vjs-selected:hover .vjs-playlist-thumbnail:before{background:0 0}.video-playlist-bottom .vjs-mouse.vjs-playlist cite{width:153px;padding-left:15px;padding-right:15px;text-overflow:ellipsis}.video-playlist-bottom .vjs-mouse.vjs-playlist .vjs-playlist-description{padding-left:15px;width:153px;height:54pt;-webkit-line-clamp:5}.video-playlist-bottom .video-description cite.playlist-name{padding:6px 15px 0!important;-webkit-line-clamp:5!important}.video-playlist-bottom .video-description p.playlist-description{padding:0 15px!important;-webkit-line-clamp:5!important}.video-playlist-bottom .video-description p.playlist-cta{padding:0 15px!important}.bc-iframe .vjs-playlist{display:none!important}.bc-iframe .video-js{display:block!important;float:none!important;width:100%!important}.vjs-mouse .vjs-text-track-display>div{margin-right:0!important;margin-bottom:0!important;margin-left:0!important}.vjs-mouse .vjs-text-track-display>div>div{width:auto}.vjs-mouse .vjs-text-track-display>div>div>div{display:block!important;background-color:rgba(0,0,0,.6)!important;padding-top:10px;padding-bottom:10px}.video-js.vjs-mouse .vjs-control-bar .vjs-subtitles-button:before,.vjs-mouse .vjs-subtitles-button:before,.vjs-subtitles-button:before{content:'\e008'!important}@media screen and (max-width:767px){.video-container.video-playlist-right .video-player-wrapper,.video-container.video-playlist-right .video-playlist-wrapper{width:auto;float:none}.video-playlist-bottom .vjs-mouse.vjs-playlist{overflow:auto}.video-playlist-bottom .vjs-mouse.vjs-playlist li.vjs-playlist-item{display:block;width:auto;height:68px;padding-right:0;margin-bottom:0;background:#fff;border-right:1px #dcdcdc solid;border-bottom:1px #dcdcdc solid;border-left:1px #dcdcdc solid}.video-playlist-bottom .vjs-mouse.vjs-playlist li.vjs-playlist-item .vjs-playlist-thumbnail{background-color:#a6a6a6;display:block;float:left;margin-right:0;width:90px;overflow:hidden;font-size:13px}.video-playlist-bottom .vjs-mouse.vjs-playlist li.vjs-playlist-item .vjs-playlist-thumbnail:before{content:'\e001';border-radius:5px;font-family:VideoJS;height:34px;left:40.5px;line-height:34px;top:17px;width:40px;height:2.5em;width:2.5em;margin-left:-15px;color:rgba(255,255,255,.75);background-color:transparent;border:.19999em solid rgba(255,255,255,.75);-webkit-border-radius:50%;-moz-border-radius:50%;-ms-border-radius:50%;border-radius:50%}.video-playlist-bottom .vjs-mouse.vjs-playlist li.vjs-playlist-item cite{font-size:11px;line-height:16px;font-weight:700;padding-top:4px;color:#1e8ae7;display:block;width:auto}.video-playlist-bottom .vjs-mouse.vjs-playlist li.vjs-playlist-item .vjs-playlist-description{height:initial;white-space:normal;font-size:11px;line-height:11pt;color:#737373;margin:0;display:block;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;width:auto}.vjs-mouse.vjs-playlist{max-height:220px!important}}/*! videojs-overlay - v0.0.0 - 2014-4-26 * Copyright (c) 2014 Brightcove * Licensed under the Apache-2.0 license. */.vjs-overlay,.vjs-overlay.vjs-overlay-top-left{position:absolute;width:33%;background-color:#646464;background-color:rgba(255,255,255,.4);color:#fff;padding:10px;border-radius:3px;top:5px;left:5px;text-align:center}.vjs-overlay.vjs-overlay-top{margin-left:-16.5%;left:50%}.vjs-overlay.vjs-overlay-top-right{left:auto;right:5px}.vjs-overlay.vjs-overlay-left{top:50%;margin-top:-15px}.vjs-overlay.vjs-overlay-right{left:auto;right:5px;top:50%;margin-top:-15px}.vjs-overlay.vjs-overlay-bottom{margin-left:-16.5%;left:50%;top:auto;bottom:4.5em}.vjs-overlay.vjs-overlay-bottom-left{bottom:4.5em;top:auto;left:5px}.vjs-overlay.vjs-overlay-bottom-right{bottom:4.5em;top:auto;left:auto;right:5px}div.vjs-overlay.vjs-overlay-top{margin:0;padding:0;width:100%;height:100%;top:0;left:0}.video-description{display:none;position:absolute;background:rgba(255,255,255,.75);color:#555759;width:33.3%;height:33.3%;overflow:hidden;text-align:left}#videoList div a:hover .video-description{display:inline}#videoList div a .video-thumbnail img{margin-bottom:0}.video-thumbnail,.video-thumbnail img{margin:0;padding:0;width:33.3%;height:33.3%;cursor:pointer;text-align:left;white-space:pre}#videoList div a:nth-child(3n):after{content:"\A";white-space:pre}.video-thumbnail:before{background:url(https://www.thermofisher.com/content/dam/LifeTech/components/video/play-video-thumbnail.png) 0 0 no-repeat;background-size:100% 100%;height:33.3%;width:33.3%;content:' ';display:inline;position:absolute}#videoList div a:hover .video-thumbnail:before{background:0 0}.video-description cite.playlist-name{display:block;font-weight:700;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;padding:0 6px}.video-description p.playlist-description{display:block;display:-webkit-box;-webkit-line-clamp:3;max-height:48px;-webkit-box-orient:vertical;overflow:hidden;text-align:left;padding:0 6px;line-height:16px;word-wrap:break-word}.video-description p.playlist-cta{display:block;padding:0 6px;font-weight:700;line-height:16px;word-wrap:break-word}.vjs-overlay,.vjs-overlay.vjs-overlay-top{width:100%;left:0;top:0;bottom:0;padding:0}@media screen and (max-width:767px){.video-description,.video-thumbnail,.video-thumbnail img,.video-thumbnail:before{width:50%;height:50%}}</style> <!--[if IE 8]><script>document.createElement('video')</script><!--<![endif]--> </head> <body> <video data-account="3663210762001" data-player="default" data-embed="default" class="video-js vjs-default-skin" preload="auto"> </video> <script>(function(window,document){var iframe=document.querySelector(".bc-iframe"),bc,videojs,requestAnimationFrame,addRule,computedStyle,playerUrl=function(){var a,b;if(document.querySelector(".bc-iframe")){return"."}if(document.currentScript){a=document.currentScript.src}else{b=document.getElementsByTagName("script");a=b[b.length-1].src}return a.split("/").slice(0,-1).join("/")}();requestAnimationFrame=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(a){window.setTimeout(a,1e3/60)};addRule=function(a,b,c){var d=(a.cssRules||[]).length;if(a.insertRule){try{a.insertRule(b+" { "+c+" } ",d)}catch(e){}}else{try{a.addRule(b,c,d)}catch(e){}}};computedStyle=function(a,b){if(typeof getComputedStyle==="function"){return getComputedStyle(a)[b]}else{return a.currentStyle[b]}};useNativeControlsOnAndroid=function(){var a=videojs.USER_AGENT.match(/applewebkit\/(\d*).*Version\/(\d*.\d*)/i);return videojs.IS_ANDROID&&videojs.ANDROID_VERSION<5&&a&&a[2]>0};if(!window.videojs){document.createElement("video");document.createElement("audio");document.createElement("track");var vjs=function(a,b,c){var d;if(typeof a==="string"){if(a.indexOf("#")===0){a=a.slice(1)}if(vjs.players[a]){if(b){vjs.log.warn('Player "'+a+'" is already initialised. Options will not be applied.')}if(c){vjs.players[a].ready(c)}return vjs.players[a]}else{d=vjs.el(a)}}else{d=a}if(!d||!d.nodeName){throw new TypeError("The element or ID supplied is not valid. (videojs)")}return d["player"]||new vjs.Player(d,b,c)};var videojs=window["videojs"]=vjs;vjs.CDN_VERSION="4.12";vjs.ACCESS_PROTOCOL="https:"==document.location.protocol?"https://":"http://";vjs["VERSION"]="4.12.15";vjs.options={techOrder:["html5","flash"],html5:{},flash:{},width:300,height:150,defaultVolume:0,playbackRates:[],inactivityTimeout:2e3,children:{mediaLoader:{},posterImage:{},loadingSpinner:{},textTrackDisplay:{},bigPlayButton:{},controlBar:{},errorDisplay:{},textTrackSettings:{}},language:document.getElementsByTagName("html")[0].getAttribute("lang")||navigator.languages&&navigator.languages[0]||navigator.userLanguage||navigator.language||"en",languages:{},notSupportedMessage:"No compatible source was found for this video."};if(vjs.CDN_VERSION!=="GENERATED"+"_CDN_VSN"){videojs.options["flash"]["swf"]=vjs.ACCESS_PROTOCOL+"vjs.zencdn.net/"+vjs.CDN_VERSION+"/video-js.swf"}vjs.addLanguage=function(a,b){if(vjs.options["languages"][a]!==undefined){vjs.options["languages"][a]=vjs.util.mergeOptions(vjs.options["languages"][a],b)}else{vjs.options["languages"][a]=b}return vjs.options["languages"]};vjs.players={};if(typeof define==="function"&&define["amd"]){define("videojs",[],function(){return videojs})}else if(typeof exports==="object"&&typeof module==="object"){module["exports"]=videojs}vjs.CoreObject=vjs["CoreObject"]=function(){};vjs.CoreObject.extend=function(a){var b,c;a=a||{};b=a["init"]||a.init||this.prototype["init"]||this.prototype.init||function(){};c=function(){b.apply(this,arguments)};c.prototype=vjs.obj.create(this.prototype);c.prototype.constructor=c;c.extend=vjs.CoreObject.extend;c.create=vjs.CoreObject.create;for(var d in a){if(a.hasOwnProperty(d)){c.prototype[d]=a[d]}}return c};vjs.CoreObject.create=function(){var a=vjs.obj.create(this.prototype);this.apply(a,arguments);return a};vjs.on=function(a,b,c){if(vjs.obj.isArray(b)){return _handleMultipleEvents(vjs.on,a,b,c)}var d=vjs.getData(a);if(!d.handlers)d.handlers={};if(!d.handlers[b])d.handlers[b]=[];if(!c.guid)c.guid=vjs.guid++;d.handlers[b].push(c);if(!d.dispatcher){d.disabled=false;d.dispatcher=function(b){if(d.disabled)return;b=vjs.fixEvent(b);var c=d.handlers[b.type];if(c){var e=c.slice(0);for(var f=0,g=e.length;f<g;f++){if(b.isImmediatePropagationStopped()){break}else{e[f].call(a,b)}}}}}if(d.handlers[b].length==1){if(a.addEventListener){a.addEventListener(b,d.dispatcher,false)}else if(a.attachEvent){a.attachEvent("on"+b,d.dispatcher)}}};vjs.off=function(a,b,c){if(!vjs.hasData(a))return;var d=vjs.getData(a);if(!d.handlers){return}if(vjs.obj.isArray(b)){return _handleMultipleEvents(vjs.off,a,b,c)}var e=function(b){d.handlers[b]=[];vjs.cleanUpEvents(a,b)};if(!b){for(var f in d.handlers)e(f);return}var g=d.handlers[b];if(!g)return;if(!c){e(b);return}if(c.guid){for(var h=0;h<g.length;h++){if(g[h].guid===c.guid){g.splice(h--,1)}}}vjs.cleanUpEvents(a,b)};vjs.cleanUpEvents=function(a,b){var c=vjs.getData(a);if(c.handlers[b].length===0){delete c.handlers[b];if(a.removeEventListener){a.removeEventListener(b,c.dispatcher,false)}else if(a.detachEvent){a.detachEvent("on"+b,c.dispatcher)}}if(vjs.isEmpty(c.handlers)){delete c.handlers;delete c.dispatcher;delete c.disabled}if(vjs.isEmpty(c)){vjs.removeData(a)}};vjs.fixEvent=function(a){function b(){return true}function c(){return false}if(!a||!a.isPropagationStopped){var d=a||window.event;a={};for(var e in d){if(e!=="layerX"&&e!=="layerY"&&e!=="keyLocation"){if(!(e=="returnValue"&&d.preventDefault)){a[e]=d[e]}}}if(!a.target){a.target=a.srcElement||document}a.relatedTarget=a.fromElement===a.target?a.toElement:a.fromElement;a.preventDefault=function(){if(d.preventDefault){d.preventDefault()}a.returnValue=false;a.isDefaultPrevented=b;a.defaultPrevented=true};a.isDefaultPrevented=c;a.defaultPrevented=false;a.stopPropagation=function(){if(d.stopPropagation){d.stopPropagation()}a.cancelBubble=true;a.isPropagationStopped=b};a.isPropagationStopped=c;a.stopImmediatePropagation=function(){if(d.stopImmediatePropagation){d.stopImmediatePropagation()}a.isImmediatePropagationStopped=b;a.stopPropagation()};a.isImmediatePropagationStopped=c;if(a.clientX!=null){var f=document.documentElement,g=document.body;a.pageX=a.clientX+(f&&f.scrollLeft||g&&g.scrollLeft||0)-(f&&f.clientLeft||g&&g.clientLeft||0);a.pageY=a.clientY+(f&&f.scrollTop||g&&g.scrollTop||0)-(f&&f.clientTop||g&&g.clientTop||0)}a.which=a.charCode||a.keyCode;if(a.button!=null){a.button=a.button&1?0:a.button&4?1:a.button&2?2:0}}return a};vjs.trigger=function(a,b){var c=vjs.hasData(a)?vjs.getData(a):{};var d=a.parentNode||a.ownerDocument;if(typeof b==="string"){b={type:b,target:a}}b=vjs.fixEvent(b);if(c.dispatcher){c.dispatcher.call(a,b)}if(d&&!b.isPropagationStopped()&&b.bubbles!==false){vjs.trigger(d,b)}else if(!d&&!b.defaultPrevented){var e=vjs.getData(b.target);if(b.target[b.type]){e.disabled=true;if(typeof b.target[b.type]==="function"){b.target[b.type]()}e.disabled=false}}return!b.defaultPrevented};vjs.one=function(a,b,c){if(vjs.obj.isArray(b)){return _handleMultipleEvents(vjs.one,a,b,c)}var d=function(){vjs.off(a,b,d);c.apply(this,arguments)};d.guid=c.guid=c.guid||vjs.guid++;vjs.on(a,b,d)};function _handleMultipleEvents(a,b,c,d){vjs.arr.forEach(c,function(c){a(b,c,d)})}var hasOwnProp=Object.prototype.hasOwnProperty;vjs.createEl=function(a,b){var c;a=a||"div";b=b||{};c=document.createElement(a);vjs.obj.each(b,function(a,b){if(a.indexOf("aria-")!==-1||a=="role"){c.setAttribute(a,b)}else{c[a]=b}});return c};vjs.capitalize=function(a){return a.charAt(0).toUpperCase()+a.slice(1)};vjs.obj={};vjs.obj.create=Object.create||function(a){function b(){}b.prototype=a;return new b};vjs.obj.each=function(a,b,c){for(var d in a){if(hasOwnProp.call(a,d)){b.call(c||this,d,a[d])}}};vjs.obj.merge=function(a,b){if(!b){return a}for(var c in b){if(hasOwnProp.call(b,c)){a[c]=b[c]}}return a};vjs.obj.deepMerge=function(a,b){var c,d,e;a=vjs.obj.copy(a);for(c in b){if(hasOwnProp.call(b,c)){d=a[c];e=b[c];if(vjs.obj.isPlain(d)&&vjs.obj.isPlain(e)){a[c]=vjs.obj.deepMerge(d,e)}else{a[c]=b[c]}}}return a};vjs.obj.copy=function(a){return vjs.obj.merge({},a)};vjs.obj.isPlain=function(a){return!!a&&typeof a==="object"&&a.toString()==="[object Object]"&&a.constructor===Object};vjs.obj.isArray=Array.isArray||function(a){return Object.prototype.toString.call(a)==="[object Array]"};vjs.isNaN=function(a){return a!==a};vjs.bind=function(a,b,c){if(!b.guid){b.guid=vjs.guid++}var d=function(){return b.apply(a,arguments)};d.guid=c?c+"_"+b.guid:b.guid;return d};vjs.cache={};vjs.guid=1;vjs.expando="vdata"+(new Date).getTime();vjs.getData=function(a){var b=a[vjs.expando];if(!b){b=a[vjs.expando]=vjs.guid++}if(!vjs.cache[b]){vjs.cache[b]={}}return vjs.cache[b]};vjs.hasData=function(a){var b=a[vjs.expando];return!(!b||vjs.isEmpty(vjs.cache[b]))};vjs.removeData=function(a){var b=a[vjs.expando];if(!b){return}delete vjs.cache[b];try{delete a[vjs.expando]}catch(c){if(a.removeAttribute){a.removeAttribute(vjs.expando)}else{a[vjs.expando]=null}}};vjs.isEmpty=function(a){for(var b in a){if(a[b]!==null){return false}}return true};vjs.hasClass=function(a,b){return(" "+a.className+" ").indexOf(" "+b+" ")!==-1};vjs.addClass=function(a,b){if(!vjs.hasClass(a,b)){a.className=a.className===""?b:a.className+" "+b}};vjs.removeClass=function(a,b){var c,d;if(!vjs.hasClass(a,b)){return}c=a.className.split(" ");for(d=c.length-1;d>=0;d--){if(c[d]===b){c.splice(d,1)}}a.className=c.join(" ")};vjs.TEST_VID=vjs.createEl("video");(function(){var a=document.createElement("track");a.kind="captions";a.srclang="en";a.label="English";vjs.TEST_VID.appendChild(a)})();vjs.USER_AGENT=navigator.userAgent;vjs.IS_IPHONE=/iPhone/i.test(vjs.USER_AGENT);vjs.IS_IPAD=/iPad/i.test(vjs.USER_AGENT);vjs.IS_IPOD=/iPod/i.test(vjs.USER_AGENT);vjs.IS_IOS=vjs.IS_IPHONE||vjs.IS_IPAD||vjs.IS_IPOD;vjs.IOS_VERSION=function(){var a=vjs.USER_AGENT.match(/OS (\d+)_/i);if(a&&a[1]){return a[1]}}();vjs.IS_ANDROID=/Android/i.test(vjs.USER_AGENT);vjs.ANDROID_VERSION=function(){var a=vjs.USER_AGENT.match(/Android (\d+)(?:\.(\d+))?(?:\.(\d+))*/i),b,c;if(!a){return null}b=a[1]&&parseFloat(a[1]);c=a[2]&&parseFloat(a[2]);if(b&&c){return parseFloat(a[1]+"."+a[2])}else if(b){return b}else{return null}}();vjs.IS_OLD_ANDROID=vjs.IS_ANDROID&&/webkit/i.test(vjs.USER_AGENT)&&vjs.ANDROID_VERSION<2.3;vjs.IS_FIREFOX=/Firefox/i.test(vjs.USER_AGENT);vjs.IS_CHROME=/Chrome/i.test(vjs.USER_AGENT);vjs.IS_IE8=/MSIE\s8\.0/.test(vjs.USER_AGENT);vjs.TOUCH_ENABLED=!!("ontouchstart"in window||window.DocumentTouch&&document instanceof window.DocumentTouch);vjs.BACKGROUND_SIZE_SUPPORTED="backgroundSize"in vjs.TEST_VID.style;vjs.setElementAttributes=function(a,b){vjs.obj.each(b,function(b,c){if(c===null||typeof c==="undefined"||c===false){a.removeAttribute(b)}else{a.setAttribute(b,c===true?"":c)}})};vjs.getElementAttributes=function(a){var b,c,d,e,f;b={};c=","+"autoplay,controls,loop,muted,default"+",";if(a&&a.attributes&&a.attributes.length>0){d=a.attributes;for(var g=d.length-1;g>=0;g--){e=d[g].name;f=d[g].value;if(typeof a[e]==="boolean"||c.indexOf(","+e+",")!==-1){f=f!==null?true:false}b[e]=f}}return b};vjs.getComputedDimension=function(a,b){var c="";if(document.defaultView&&document.defaultView.getComputedStyle){c=document.defaultView.getComputedStyle(a,"").getPropertyValue(b)}else if(a.currentStyle){c=a["client"+b.substr(0,1).toUpperCase()+b.substr(1)]+"px"}return c};vjs.insertFirst=function(a,b){if(b.firstChild){b.insertBefore(a,b.firstChild)}else{b.appendChild(a)}};vjs.browser={};vjs.el=function(a){if(a.indexOf("#")===0){a=a.slice(1)}return document.getElementById(a)};vjs.formatTime=function(a,b){b=b||a;var c=Math.floor(a%60),d=Math.floor(a/60%60),e=Math.floor(a/3600),f=Math.floor(b/60%60),g=Math.floor(b/3600);if(isNaN(a)||a===Infinity){e=d=c="-"}e=e>0||g>0?e+":":"";d=((e||f>=10)&&d<10?"0"+d:d)+":";c=c<10?"0"+c:c;return e+d+c};vjs.blockTextSelection=function(){document.body.focus();document.onselectstart=function(){return false}};vjs.unblockTextSelection=function(){document.onselectstart=function(){return true}};vjs.trim=function(a){return(a+"").replace(/^\s+|\s+$/g,"")};vjs.round=function(a,b){if(!b){b=0}return Math.round(a*Math.pow(10,b))/Math.pow(10,b)};vjs.createTimeRange=function(a,b){if(a===undefined&&b===undefined){return{length:0,start:function(){throw new Error("This TimeRanges object is empty")},end:function(){throw new Error("This TimeRanges object is empty")}}}return{length:1,start:function(){return a},end:function(){return b}}};vjs.setLocalStorage=function(a,b){try{var c=window.localStorage||false;if(!c){return}c[a]=b}catch(d){if(d.code==22||d.code==1014){vjs.log("LocalStorage Full (VideoJS)",d)}else{if(d.code==18){vjs.log("LocalStorage not allowed (VideoJS)",d)}else{vjs.log("LocalStorage Error (VideoJS)",d)}}}};vjs.getAbsoluteURL=function(a){if(!a.match(/^https?:\/\//)){a=vjs.createEl("div",{innerHTML:'<a href="'+a+'">x</a>'}).firstChild.href}return a};vjs.parseUrl=function(a){var b,c,d,e,f;e=["protocol","hostname","port","pathname","search","hash","host"];c=vjs.createEl("a",{href:a});d=c.host===""&&c.protocol!=="file:";if(d){b=vjs.createEl("div");b.innerHTML='<a href="'+a+'"></a>';c=b.firstChild;b.setAttribute("style","display:none; position:absolute;");document.body.appendChild(b)}f={};for(var g=0;g<e.length;g++){f[e[g]]=c[e[g]]}if(f.protocol==="http:"){f.host=f.host.replace(/:80$/,"")}if(f.protocol==="https:"){f.host=f.host.replace(/:443$/,"")}if(d){document.body.removeChild(b)}return f};function _logType(a,b){var c,d,e;c=Array.prototype.slice.call(b);d=function(){};e=window["console"]||{log:d,warn:d,error:d};if(a){c.unshift(a.toUpperCase()+":")}else{a="log"}vjs.log.history.push(c);c.unshift("VIDEOJS:");if(e[a].apply){e[a].apply(e,c)}else{e[a](c.join(" "))}}vjs.log=function(){_logType(null,arguments)};vjs.log.history=[];vjs.log.error=function(){_logType("error",arguments)};vjs.log.warn=function(){_logType("warn",arguments)};vjs.findPosition=function(a){var b,c,d,e,f,g,h,i,j;if(a.getBoundingClientRect&&a.parentNode){b=a.getBoundingClientRect()}if(!b){return{left:0,top:0}}c=document.documentElement;d=document.body;e=c.clientLeft||d.clientLeft||0;f=window.pageXOffset||d.scrollLeft;g=b.left+f-e;h=c.clientTop||d.clientTop||0;i=window.pageYOffset||d.scrollTop;j=b.top+i-h;return{left:vjs.round(g),top:vjs.round(j)}};vjs.arr={};vjs.arr.forEach=function(a,b,c){if(vjs.obj.isArray(a)&&b instanceof Function){for(var d=0,e=a.length;d<e;++d){b.call(c||vjs,a[d],d,a)}}return a};vjs.xhr=function(a,b){var c,d,e,f,g,h,i,j,k;if(typeof a==="string"){a={uri:a}}videojs.util.mergeOptions({method:"GET",timeout:45*1e3},a);b=b||function(){};j=function(){window.clearTimeout(i);b(null,d,d.response||d.responseText)};k=function(a){window.clearTimeout(i);if(!a||typeof a==="string"){a=new Error(a)}b(a,d)};c=window.XMLHttpRequest;if(typeof c==="undefined"){c=function(){try{return new window.ActiveXObject("Msxml2.XMLHTTP.6.0")}catch(a){}try{return new window.ActiveXObject("Msxml2.XMLHTTP.3.0")}catch(b){}try{return new window.ActiveXObject("Msxml2.XMLHTTP")}catch(c){}throw new Error("This browser does not support XMLHttpRequest.")}}d=new c;d.uri=a.uri;e=vjs.parseUrl(a.uri);f=window.location;h=e.protocol+e.host!==f.protocol+f.host;if(h&&window.XDomainRequest&&!("withCredentials"in d)){d=new window.XDomainRequest;d.onload=j;d.onerror=k;d.onprogress=function(){};d.ontimeout=function(){}}else{g=e.protocol=="file:"||f.protocol=="file:";d.onreadystatechange=function(){if(d.readyState===4){if(d.timedout){return k("timeout")}if(d.status===200||g&&d.status===0){j()}else{k()}}};if(a.timeout){i=window.setTimeout(function(){if(d.readyState!==4){d.timedout=true;d.abort()}},a.timeout)}}try{d.open(a.method||"GET",a.uri,true)}catch(l){return k(l)}if(a.withCredentials){d.withCredentials=true}if(a.responseType){d.responseType=a.responseType}try{d.send()}catch(l){return k(l)}return d};vjs.util={};vjs.util.mergeOptions=function(a,b){var c,d,e;a=vjs.obj.copy(a);for(c in b){if(b.hasOwnProperty(c)){d=a[c];e=b[c];if(vjs.obj.isPlain(d)&&vjs.obj.isPlain(e)){a[c]=vjs.util.mergeOptions(d,e)}else{a[c]=b[c]}}}return a};vjs.EventEmitter=function(){};vjs.EventEmitter.prototype.allowedEvents_={};vjs.EventEmitter.prototype.on=function(a,b){var c=this.addEventListener;this.addEventListener=Function.prototype;vjs.on(this,a,b);this.addEventListener=c};vjs.EventEmitter.prototype.addEventListener=vjs.EventEmitter.prototype.on;vjs.EventEmitter.prototype.off=function(a,b){vjs.off(this,a,b)};vjs.EventEmitter.prototype.removeEventListener=vjs.EventEmitter.prototype.off;vjs.EventEmitter.prototype.one=function(a,b){vjs.one(this,a,b)};vjs.EventEmitter.prototype.trigger=function(a){var b=a.type||a;if(typeof a==="string"){a={type:b}}a=vjs.fixEvent(a);if(this.allowedEvents_[b]&&this["on"+b]){this["on"+b](a)}vjs.trigger(this,a)};vjs.EventEmitter.prototype.dispatchEvent=vjs.EventEmitter.prototype.trigger;vjs.Component=vjs.CoreObject.extend({init:function(a,b,c){this.player_=a;this.options_=vjs.obj.copy(this.options_);b=this.options(b);this.id_=b["id"]||b["el"]&&b["el"]["id"];if(!this.id_){this.id_=(a.id&&a.id()||"no_player")+"_component_"+vjs.guid++}this.name_=b["name"]||null;this.el_=b["el"]||this.createEl();this.children_=[];this.childIndex_={};this.childNameIndex_={};this.initChildren();this.ready(c);if(b.reportTouchActivity!==false){this.enableTouchActivity()}}});vjs.Component.prototype.dispose=function(){this.trigger({type:"dispose",bubbles:false});if(this.children_){for(var a=this.children_.length-1;a>=0;a--){if(this.children_[a].dispose){this.children_[a].dispose()}}}this.children_=null;this.childIndex_=null;this.childNameIndex_=null;this.off();if(this.el_.parentNode){this.el_.parentNode.removeChild(this.el_)}vjs.removeData(this.el_);this.el_=null};vjs.Component.prototype.player_=true;vjs.Component.prototype.player=function(){return this.player_};vjs.Component.prototype.options_;vjs.Component.prototype.options=function(a){if(a===undefined)return this.options_;return this.options_=vjs.util.mergeOptions(this.options_,a)};vjs.Component.prototype.el_;vjs.Component.prototype.createEl=function(a,b){return vjs.createEl(a,b)};vjs.Component.prototype.localize=function(a){var b=this.player_.language(),c=this.player_.languages();if(c&&c[b]&&c[b][a]){return c[b][a]}return a};vjs.Component.prototype.el=function(){return this.el_};vjs.Component.prototype.contentEl_;vjs.Component.prototype.contentEl=function(){return this.contentEl_||this.el_};vjs.Component.prototype.id_;vjs.Component.prototype.id=function(){return this.id_};vjs.Component.prototype.name_;vjs.Component.prototype.name=function(){return this.name_};vjs.Component.prototype.children_;vjs.Component.prototype.children=function(){return this.children_};vjs.Component.prototype.childIndex_;vjs.Component.prototype.getChildById=function(a){return this.childIndex_[a]};vjs.Component.prototype.childNameIndex_;vjs.Component.prototype.getChild=function(a){return this.childNameIndex_[a]};vjs.Component.prototype.addChild=function(a,b){var c,d,e;if(typeof a==="string"){e=a;b=b||{};d=b["componentClass"]||vjs.capitalize(e);b["name"]=e;c=new window["videojs"][d](this.player_||this,b)}else{c=a}this.children_.push(c);if(typeof c.id==="function"){this.childIndex_[c.id()]=c}e=e||c.name&&c.name();if(e){this.childNameIndex_[e]=c}if(typeof c["el"]==="function"&&c["el"]()){this.contentEl().appendChild(c["el"]())}return c};vjs.Component.prototype.removeChild=function(a){if(typeof a==="string"){a=this.getChild(a)}if(!a||!this.children_)return;var b=false;for(var c=this.children_.length-1;c>=0;c--){if(this.children_[c]===a){b=true;this.children_.splice(c,1);break}}if(!b)return;this.childIndex_[a.id()]=null;this.childNameIndex_[a.name()]=null;var d=a.el();if(d&&d.parentNode===this.contentEl()){this.contentEl().removeChild(a.el())}};vjs.Component.prototype.initChildren=function(){var a,b,c,d,e,f,g;a=this;b=a.options();c=b["children"];if(c){g=function(c,d){if(b[c]!==undefined){d=b[c]}if(d===false)return;a[c]=a.addChild(c,d)};if(vjs.obj.isArray(c)){for(var h=0;h<c.length;h++){d=c[h];if(typeof d=="string"){e=d;f={}}else{e=d.name;f=d}g(e,f)}}else{vjs.obj.each(c,g)}}};vjs.Component.prototype.buildCSSClass=function(){return""};vjs.Component.prototype.on=function(a,b,c){var d,e,f,g,h,i;if(typeof a==="string"||vjs.obj.isArray(a)){vjs.on(this.el_,a,vjs.bind(this,b))}else{d=a;e=b;f=vjs.bind(this,c);i=this;g=function(){i.off(d,e,f)};g.guid=f.guid;this.on("dispose",g);h=function(){i.off("dispose",g)};h.guid=f.guid;if(a.nodeName){vjs.on(d,e,f);vjs.on(d,"dispose",h)}else if(typeof a.on==="function"){d.on(e,f);d.on("dispose",h)}}return this};vjs.Component.prototype.off=function(a,b,c){var d,e,f,g,h;if(!a||typeof a==="string"||vjs.obj.isArray(a)){vjs.off(this.el_,a,b)}else{d=a;f=b;g=vjs.bind(this,c);this.off("dispose",g);if(a.nodeName){vjs.off(d,f,g);vjs.off(d,"dispose",g)}else{d.off(f,g);d.off("dispose",g)}}return this};vjs.Component.prototype.one=function(a,b,c){var d,e,f,g,h;if(typeof a==="string"||vjs.obj.isArray(a)){vjs.one(this.el_,a,vjs.bind(this,b))}else{d=a;e=b;f=vjs.bind(this,c);g=this;h=function(){g.off(d,e,h);f.apply(this,arguments)};h.guid=f.guid;this.on(d,e,h)}return this};vjs.Component.prototype.trigger=function(a){vjs.trigger(this.el_,a);return this};vjs.Component.prototype.isReady_;vjs.Component.prototype.isReadyOnInitFinish_=true;vjs.Component.prototype.readyQueue_;vjs.Component.prototype.ready=function(a){if(a){if(this.isReady_){a.call(this)}else{if(this.readyQueue_===undefined){this.readyQueue_=[]}this.readyQueue_.push(a)}}return this};vjs.Component.prototype.triggerReady=function(){this.isReady_=true;var a=this.readyQueue_;this.readyQueue_=[];if(a&&a.length>0){for(var b=0,c=a.length;b<c;b++){a[b].call(this)}this.trigger("ready")}};vjs.Component.prototype.hasClass=function(a){return vjs.hasClass(this.el_,a)};vjs.Component.prototype.addClass=function(a){vjs.addClass(this.el_,a);return this};vjs.Component.prototype.removeClass=function(a){vjs.removeClass(this.el_,a);return this};vjs.Component.prototype.show=function(){this.removeClass("vjs-hidden");return this};vjs.Component.prototype.hide=function(){this.addClass("vjs-hidden");return this};vjs.Component.prototype.lockShowing=function(){this.addClass("vjs-lock-showing");return this};vjs.Component.prototype.unlockShowing=function(){this.removeClass("vjs-lock-showing");return this};vjs.Component.prototype.disable=function(){this.hide();this.show=function(){}};vjs.Component.prototype.width=function(a,b){return this.dimension("width",a,b)};vjs.Component.prototype.height=function(a,b){return this.dimension("height",a,b)};vjs.Component.prototype.dimensions=function(a,b){return this.width(a,true).height(b)};vjs.Component.prototype.dimension=function(a,b,c){if(b!==undefined){if(b===null||vjs.isNaN(b)){b=0}if((""+b).indexOf("%")!==-1||(""+b).indexOf("px")!==-1){this.el_.style[a]=b}else if(b==="auto"){this.el_.style[a]=""}else{this.el_.style[a]=b+"px"}if(!c){this.trigger("resize")}return this}if(!this.el_)return 0;var d=this.el_.style[a];var e=d.indexOf("px");if(e!==-1){return parseInt(d.slice(0,e),10)}else{return parseInt(this.el_["offset"+vjs.capitalize(a)],10)}};vjs.Component.prototype.onResize;vjs.Component.prototype.emitTapEvents=function(){var a,b,c,d,e,f,g,h,i,j;a=0;b=null;i=10;j=200;this.on("touchstart",function(c){if(c.touches.length===1){b=vjs.obj.copy(c.touches[0]);a=(new Date).getTime();d=true}});this.on("touchmove",function(a){if(a.touches.length>1){d=false}else if(b){f=a.touches[0].pageX-b.pageX;g=a.touches[0].pageY-b.pageY;h=Math.sqrt(f*f+g*g);if(h>i){d=false}}});e=function(){d=false};this.on("touchleave",e);this.on("touchcancel",e);this.on("touchend",function(e){b=null;if(d===true){c=(new Date).getTime()-a;if(c<j){e.preventDefault();this.trigger("tap")}}})};vjs.Component.prototype.enableTouchActivity=function(){var a,b,c;if(!this.player().reportUserActivity){return}a=vjs.bind(this.player(),this.player().reportUserActivity);this.on("touchstart",function(){a();this.clearInterval(b);b=this.setInterval(a,250)});c=function(c){a();this.clearInterval(b)};this.on("touchmove",a);this.on("touchend",c);this.on("touchcancel",c)};vjs.Component.prototype.setTimeout=function(a,b){a=vjs.bind(this,a);var c=setTimeout(a,b);var d=function(){this.clearTimeout(c)};d.guid="vjs-timeout-"+c;this.on("dispose",d);return c};vjs.Component.prototype.clearTimeout=function(a){clearTimeout(a);var b=function(){};b.guid="vjs-timeout-"+a;this.off("dispose",b);return a};vjs.Component.prototype.setInterval=function(a,b){a=vjs.bind(this,a);var c=setInterval(a,b);var d=function(){this.clearInterval(c)};d.guid="vjs-interval-"+c;this.on("dispose",d);return c};vjs.Component.prototype.clearInterval=function(a){clearInterval(a);var b=function(){};b.guid="vjs-interval-"+a;this.off("dispose",b);return a};vjs.Button=vjs.Component.extend({init:function(a,b){vjs.Component.call(this,a,b);this.emitTapEvents();this.on("tap",this.onClick);this.on("click",this.onClick);this.on("focus",this.onFocus);this.on("blur",this.onBlur)}});vjs.Button.prototype.createEl=function(a,b){var c;b=vjs.obj.merge({className:this.buildCSSClass(),role:"button","aria-live":"polite",tabIndex:0},b);c=vjs.Component.prototype.createEl.call(this,a,b);if(!b.innerHTML){this.contentEl_=vjs.createEl("div",{className:"vjs-control-content"});this.controlText_=vjs.createEl("span",{className:"vjs-control-text",innerHTML:this.localize(this.buttonText)||"Need Text"});this.contentEl_.appendChild(this.controlText_);c.appendChild(this.contentEl_)}return c};vjs.Button.prototype.buildCSSClass=function(){return"vjs-control "+vjs.Component.prototype.buildCSSClass.call(this)};vjs.Button.prototype.onClick=function(){};vjs.Button.prototype.onFocus=function(){vjs.on(document,"keydown",vjs.bind(this,this.onKeyPress))};vjs.Button.prototype.onKeyPress=function(a){if(a.which==32||a.which==13){a.preventDefault();this.onClick()}};vjs.Button.prototype.onBlur=function(){vjs.off(document,"keydown",vjs.bind(this,this.onKeyPress))};vjs.Slider=vjs.Component.extend({init:function(a,b){vjs.Component.call(this,a,b);this.bar=this.getChild(this.options_["barName"]);this.handle=this.getChild(this.options_["handleName"]);this.on("mousedown",this.onMouseDown);this.on("touchstart",this.onMouseDown);this.on("focus",this.onFocus);this.on("blur",this.onBlur);this.on("click",this.onClick);this.on(a,"controlsvisible",this.update);this.on(a,this.playerEvent,this.update)}});vjs.Slider.prototype.createEl=function(a,b){b=b||{};b.className=b.className+" vjs-slider";b=vjs.obj.merge({role:"slider","aria-valuenow":0,"aria-valuemin":0,"aria-valuemax":100,tabIndex:0},b);return vjs.Component.prototype.createEl.call(this,a,b)};vjs.Slider.prototype.onMouseDown=function(a){a.preventDefault();vjs.blockTextSelection();this.addClass("vjs-sliding");this.on(document,"mousemove",this.onMouseMove);this.on(document,"mouseup",this.onMouseUp);this.on(document,"touchmove",this.onMouseMove);this.on(document,"touchend",this.onMouseUp);this.onMouseMove(a)};vjs.Slider.prototype.onMouseMove=function(){};vjs.Slider.prototype.onMouseUp=function(){vjs.unblockTextSelection();this.removeClass("vjs-sliding");this.off(document,"mousemove",this.onMouseMove);this.off(document,"mouseup",this.onMouseUp);this.off(document,"touchmove",this.onMouseMove);this.off(document,"touchend",this.onMouseUp);this.update()};vjs.Slider.prototype.update=function(){if(!this.el_)return;var a,b=this.getPercent(),c=this.handle,d=this.bar;if(typeof b!=="number"||b!==b||b<0||b===Infinity){b=0}a=b;if(c){var e=this.el_,f=e.offsetWidth,g=c.el().offsetWidth,h=g?g/f:0,i=1-h,j=b*i;a=j+h/2;c.el().style.left=vjs.round(j*100,2)+"%"}if(d){d.el().style.width=vjs.round(a*100,2)+"%"}};vjs.Slider.prototype.calculateDistance=function(a){var b,c,d,e,f,g,h,i,j;b=this.el_;c=vjs.findPosition(b);f=g=b.offsetWidth;h=this.handle;if(this.options()["vertical"]){e=c.top;if(a.changedTouches){j=a.changedTouches[0].pageY}else{j=a.pageY}if(h){var k=h.el().offsetHeight;e=e+k/2;g=g-k}return Math.max(0,Math.min(1,(e-j+g)/g))}else{d=c.left;if(a.changedTouches){i=a.changedTouches[0].pageX}else{i=a.pageX}if(h){var l=h.el().offsetWidth;d=d+l/2;f=f-l}return Math.max(0,Math.min(1,(i-d)/f))}};vjs.Slider.prototype.onFocus=function(){this.on(document,"keydown",this.onKeyPress)};vjs.Slider.prototype.onKeyPress=function(a){if(a.which==37||a.which==40){a.preventDefault();this.stepBack()}else if(a.which==38||a.which==39){a.preventDefault();this.stepForward()}};vjs.Slider.prototype.onBlur=function(){this.off(document,"keydown",this.onKeyPress)};vjs.Slider.prototype.onClick=function(a){a.stopImmediatePropagation();a.preventDefault()};vjs.SliderHandle=vjs.Component.extend();vjs.SliderHandle.prototype.defaultValue=0;vjs.SliderHandle.prototype.createEl=function(a,b){b=b||{};b.className=b.className+" vjs-slider-handle";b=vjs.obj.merge({innerHTML:'<span class="vjs-control-text">'+this.defaultValue+"</span>"},b);return vjs.Component.prototype.createEl.call(this,"div",b)};vjs.Menu=vjs.Component.extend();vjs.Menu.prototype.addItem=function(a){this.addChild(a);a.on("click",vjs.bind(this,function(){this.unlockShowing()}))};vjs.Menu.prototype.createEl=function(){var a=this.options().contentElType||"ul";this.contentEl_=vjs.createEl(a,{className:"vjs-menu-content"});var b=vjs.Component.prototype.createEl.call(this,"div",{append:this.contentEl_,className:"vjs-menu"});b.appendChild(this.contentEl_);vjs.on(b,"click",function(a){a.preventDefault();a.stopImmediatePropagation()});return b};vjs.MenuItem=vjs.Button.extend({init:function(a,b){vjs.Button.call(this,a,b);this.selected(b["selected"])}});vjs.MenuItem.prototype.createEl=function(a,b){return vjs.Button.prototype.createEl.call(this,"li",vjs.obj.merge({className:"vjs-menu-item",innerHTML:this.localize(this.options_["label"])},b))};vjs.MenuItem.prototype.onClick=function(){this.selected(true)};vjs.MenuItem.prototype.selected=function(a){if(a){this.addClass("vjs-selected");this.el_.setAttribute("aria-selected",true)}else{this.removeClass("vjs-selected");this.el_.setAttribute("aria-selected",false)}};vjs.MenuButton=vjs.Button.extend({init:function(a,b){vjs.Button.call(this,a,b);this.update();this.on("keydown",this.onKeyPress);this.el_.setAttribute("aria-haspopup",true);this.el_.setAttribute("role","button")}});vjs.MenuButton.prototype.update=function(){var a=this.createMenu();if(this.menu){this.removeChild(this.menu)}this.menu=a;this.addChild(a);if(this.items&&this.items.length===0){this.hide()}else if(this.items&&this.items.length>1){this.show()}};vjs.MenuButton.prototype.buttonPressed_=false;vjs.MenuButton.prototype.createMenu=function(){var a=new vjs.Menu(this.player_);if(this.options().title){a.contentEl().appendChild(vjs.createEl("li",{className:"vjs-menu-title",innerHTML:vjs.capitalize(this.options().title),tabindex:-1}))}this.items=this["createItems"]();if(this.items){for(var b=0;b<this.items.length;b++){a.addItem(this.items[b])}}return a};vjs.MenuButton.prototype.createItems=function(){};vjs.MenuButton.prototype.buildCSSClass=function(){return this.className+" vjs-menu-button "+vjs.Button.prototype.buildCSSClass.call(this)};vjs.MenuButton.prototype.onFocus=function(){};vjs.MenuButton.prototype.onBlur=function(){};vjs.MenuButton.prototype.onClick=function(){this.one("mouseout",vjs.bind(this,function(){this.menu.unlockShowing();this.el_.blur()}));if(this.buttonPressed_){this.unpressButton()}else{this.pressButton()}};vjs.MenuButton.prototype.onKeyPress=function(a){if(a.which==32||a.which==13){if(this.buttonPressed_){this.unpressButton()}else{this.pressButton()}a.preventDefault()}else if(a.which==27){if(this.buttonPressed_){this.unpressButton()}a.preventDefault()}};vjs.MenuButton.prototype.pressButton=function(){this.buttonPressed_=true;this.menu.lockShowing();this.el_.setAttribute("aria-pressed",true);if(this.items&&this.items.length>0){this.items[0].el().focus()}};vjs.MenuButton.prototype.unpressButton=function(){this.buttonPressed_=false;this.menu.unlockShowing();this.el_.setAttribute("aria-pressed",false)};vjs.MediaError=function(a){if(typeof a==="number"){this.code=a}else if(typeof a==="string"){this.message=a}else if(typeof a==="object"){vjs.obj.merge(this,a)}if(!this.message){this.message=vjs.MediaError.defaultMessages[this.code]||""}};vjs.MediaError.prototype.code=0;vjs.MediaError.prototype.message="";vjs.MediaError.prototype.status=null;vjs.MediaError.errorTypes=["MEDIA_ERR_CUSTOM","MEDIA_ERR_ABORTED","MEDIA_ERR_NETWORK","MEDIA_ERR_DECODE","MEDIA_ERR_SRC_NOT_SUPPORTED","MEDIA_ERR_ENCRYPTED"];vjs.MediaError.defaultMessages={1:"You aborted the video playback",2:"A network error caused the video download to fail part-way.", 3:"The video playback was aborted due to a corruption problem or because the video used features your browser did not support.",4:"The video could not be loaded, either because the server or network failed or because the format is not supported.",5:"The video is encrypted and we do not have the keys to decrypt it."};for(var errNum=0;errNum<vjs.MediaError.errorTypes.length;errNum++){vjs.MediaError[vjs.MediaError.errorTypes[errNum]]=errNum;vjs.MediaError.prototype[vjs.MediaError.errorTypes[errNum]]=errNum}(function(){var a,b,c,d;vjs.browser.fullscreenAPI;a=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]];b=a[0];for(d=0;d<a.length;d++){if(a[d][1]in document){c=a[d];break}}if(c){vjs.browser.fullscreenAPI={};for(d=0;d<c.length;d++){vjs.browser.fullscreenAPI[b[d]]=c[d]}}})();vjs.Player=vjs.Component.extend({init:function(a,b,c){this.tag=a;a.id=a.id||"vjs_video_"+vjs.guid++;this.tagAttributes=a&&vjs.getElementAttributes(a);b=vjs.obj.merge(this.getTagSettings(a),b);this.language_=b["language"]||vjs.options["language"];this.languages_=b["languages"]||vjs.options["languages"];this.cache_={};this.poster_=b["poster"]||"";this.controls_=!!b["controls"];a.controls=false;b.reportTouchActivity=false;this.isAudio(this.tag.nodeName.toLowerCase()==="audio");vjs.Component.call(this,this,b,c);if(this.controls()){this.addClass("vjs-controls-enabled")}else{this.addClass("vjs-controls-disabled")}if(this.isAudio()){this.addClass("vjs-audio")}vjs.players[this.id_]=this;if(b["plugins"]){vjs.obj.each(b["plugins"],function(a,b){this[a](b)},this)}this.listenForUserActivity()}});vjs.Player.prototype.language_;vjs.Player.prototype.language=function(a){if(a===undefined){return this.language_}this.language_=a;return this};vjs.Player.prototype.languages_;vjs.Player.prototype.languages=function(){return this.languages_};vjs.Player.prototype.options_=vjs.options;vjs.Player.prototype.dispose=function(){this.trigger("dispose");this.off("dispose");vjs.players[this.id_]=null;if(this.tag&&this.tag["player"]){this.tag["player"]=null}if(this.el_&&this.el_["player"]){this.el_["player"]=null}if(this.tech){this.tech.dispose()}vjs.Component.prototype.dispose.call(this)};vjs.Player.prototype.getTagSettings=function(a){var b,c,d={sources:[],tracks:[]};b=vjs.getElementAttributes(a);c=b["data-setup"];if(c!==null){vjs.obj.merge(b,vjs.JSON.parse(c||"{}"))}vjs.obj.merge(d,b);if(a.hasChildNodes()){var e,f,g,h,i;e=a.childNodes;for(h=0,i=e.length;h<i;h++){f=e[h];g=f.nodeName.toLowerCase();if(g==="source"){d["sources"].push(vjs.getElementAttributes(f))}else if(g==="track"){d["tracks"].push(vjs.getElementAttributes(f))}}}return d};vjs.Player.prototype.createEl=function(){var a=this.el_=vjs.Component.prototype.createEl.call(this,"div"),b=this.tag,c;b.removeAttribute("width");b.removeAttribute("height");c=vjs.getElementAttributes(b);vjs.obj.each(c,function(b){if(b=="class"){a.className=c[b]}else{a.setAttribute(b,c[b])}});b.id+="_html5_api";b.className="vjs-tech";b["player"]=a["player"]=this;this.addClass("vjs-paused");this.width(this.options_["width"],true);this.height(this.options_["height"],true);b.initNetworkState_=b.networkState;if(b.parentNode){b.parentNode.insertBefore(a,b)}vjs.insertFirst(b,a);this.el_=a;this.on("loadstart",this.onLoadStart);this.on("waiting",this.onWaiting);this.on(["canplay","canplaythrough","playing","ended"],this.onWaitEnd);this.on("seeking",this.onSeeking);this.on("seeked",this.onSeeked);this.on("ended",this.onEnded);this.on("play",this.onPlay);this.on("firstplay",this.onFirstPlay);this.on("pause",this.onPause);this.on("progress",this.onProgress);this.on("durationchange",this.onDurationChange);this.on("fullscreenchange",this.onFullscreenChange);return a};vjs.Player.prototype.loadTech=function(a,b){if(this.tech){this.unloadTech()}if(a!=="Html5"&&this.tag){vjs.Html5.disposeMediaElement(this.tag);this.tag=null}this.techName=a;this.isReady_=false;var c=function(){this.player_.triggerReady()};var d=vjs.obj.merge({source:b,parentEl:this.el_},this.options_[a.toLowerCase()]);if(b){this.currentType_=b.type;if(b.src==this.cache_.src&&this.cache_.currentTime>0){d["startTime"]=this.cache_.currentTime}this.cache_.src=b.src}this.tech=new window["videojs"][a](this,d);this.tech.ready(c)};vjs.Player.prototype.unloadTech=function(){this.isReady_=false;this.tech.dispose();this.tech=false};vjs.Player.prototype.onLoadStart=function(){this.removeClass("vjs-ended");this.error(null);if(!this.paused()){this.trigger("firstplay")}else{this.hasStarted(false)}};vjs.Player.prototype.hasStarted_=false;vjs.Player.prototype.hasStarted=function(a){if(a!==undefined){if(this.hasStarted_!==a){this.hasStarted_=a;if(a){this.addClass("vjs-has-started");this.trigger("firstplay")}else{this.removeClass("vjs-has-started")}}return this}return this.hasStarted_};vjs.Player.prototype.onLoadedMetaData;vjs.Player.prototype.onLoadedData;vjs.Player.prototype.onLoadedAllData;vjs.Player.prototype.onPlay=function(){this.removeClass("vjs-ended");this.removeClass("vjs-paused");this.addClass("vjs-playing");this.hasStarted(true)};vjs.Player.prototype.onWaiting=function(){this.addClass("vjs-waiting")};vjs.Player.prototype.onWaitEnd=function(){this.removeClass("vjs-waiting")};vjs.Player.prototype.onSeeking=function(){this.addClass("vjs-seeking")};vjs.Player.prototype.onSeeked=function(){this.removeClass("vjs-seeking")};vjs.Player.prototype.onFirstPlay=function(){if(this.options_["starttime"]){this.currentTime(this.options_["starttime"])}this.addClass("vjs-has-started")};vjs.Player.prototype.onPause=function(){this.removeClass("vjs-playing");this.addClass("vjs-paused")};vjs.Player.prototype.onTimeUpdate;vjs.Player.prototype.onProgress=function(){if(this.bufferedPercent()==1){this.trigger("loadedalldata")}};vjs.Player.prototype.onEnded=function(){this.addClass("vjs-ended");if(this.options_["loop"]){this.currentTime(0);this.play()}else if(!this.paused()){this.pause()}};vjs.Player.prototype.onDurationChange=function(){var a=this.techGet("duration");if(a){if(a<0){a=Infinity}this.duration(a);if(a===Infinity){this.addClass("vjs-live")}else{this.removeClass("vjs-live")}}};vjs.Player.prototype.onVolumeChange;vjs.Player.prototype.onFullscreenChange=function(){if(this.isFullscreen()){this.addClass("vjs-fullscreen")}else{this.removeClass("vjs-fullscreen")}};vjs.Player.prototype.onError;vjs.Player.prototype.cache_;vjs.Player.prototype.getCache=function(){return this.cache_};vjs.Player.prototype.techCall=function(a,b){if(this.tech&&!this.tech.isReady_){this.tech.ready(function(){this[a](b)})}else{try{this.tech[a](b)}catch(c){vjs.log(c);throw c}}};vjs.Player.prototype.techGet=function(a){if(this.tech&&this.tech.isReady_){try{return this.tech[a]()}catch(b){if(this.tech[a]===undefined){vjs.log("Video.js: "+a+" method not defined for "+this.techName+" playback technology.",b)}else{if(b.name=="TypeError"){vjs.log("Video.js: "+a+" unavailable on "+this.techName+" playback technology element.",b);this.tech.isReady_=false}else{vjs.log(b)}}throw b}}return};vjs.Player.prototype.play=function(){this.techCall("play");return this};vjs.Player.prototype.pause=function(){this.techCall("pause");return this};vjs.Player.prototype.paused=function(){return this.techGet("paused")===false?false:true};vjs.Player.prototype.currentTime=function(a){if(a!==undefined){this.techCall("setCurrentTime",a);return this}return this.cache_.currentTime=this.techGet("currentTime")||0};vjs.Player.prototype.duration=function(a){if(a!==undefined){this.cache_.duration=parseFloat(a);return this}if(this.cache_.duration===undefined){this.onDurationChange()}return this.cache_.duration||0};vjs.Player.prototype.remainingTime=function(){return this.duration()-this.currentTime()};vjs.Player.prototype.buffered=function(){var a=this.techGet("buffered");if(!a||!a.length){a=vjs.createTimeRange(0,0)}return a};vjs.Player.prototype.bufferedPercent=function(){var a=this.duration(),b=this.buffered(),c=0,d,e;if(!a){return 0}for(var f=0;f<b.length;f++){d=b.start(f);e=b.end(f);if(e>a){e=a}c+=e-d}return c/a};vjs.Player.prototype.bufferedEnd=function(){var a=this.buffered(),b=this.duration(),c=a.end(a.length-1);if(c>b){c=b}return c};vjs.Player.prototype.volume=function(a){var b;if(a!==undefined){b=Math.max(0,Math.min(1,parseFloat(a)));this.cache_.volume=b;this.techCall("setVolume",b);vjs.setLocalStorage("volume",b);return this}b=parseFloat(this.techGet("volume"));return isNaN(b)?1:b};vjs.Player.prototype.muted=function(a){if(a!==undefined){this.techCall("setMuted",a);return this}return this.techGet("muted")||false};vjs.Player.prototype.supportsFullScreen=function(){return this.techGet("supportsFullScreen")||false};vjs.Player.prototype.isFullscreen_=false;vjs.Player.prototype.isFullscreen=function(a){if(a!==undefined){this.isFullscreen_=!!a;return this}return this.isFullscreen_};vjs.Player.prototype.isFullScreen=function(a){vjs.log.warn('player.isFullScreen() has been deprecated, use player.isFullscreen() with a lowercase "s")');return this.isFullscreen(a)};vjs.Player.prototype.requestFullscreen=function(){var a=vjs.browser.fullscreenAPI;this.isFullscreen(true);if(a){vjs.on(document,a["fullscreenchange"],vjs.bind(this,function(b){this.isFullscreen(document[a.fullscreenElement]);if(this.isFullscreen()===false){vjs.off(document,a["fullscreenchange"],arguments.callee)}this.trigger("fullscreenchange")}));this.el_[a.requestFullscreen]()}else if(this.tech.supportsFullScreen()){this.techCall("enterFullScreen")}else{this.enterFullWindow();this.trigger("fullscreenchange")}return this};vjs.Player.prototype.requestFullScreen=function(){vjs.log.warn('player.requestFullScreen() has been deprecated, use player.requestFullscreen() with a lowercase "s")');return this.requestFullscreen()};vjs.Player.prototype.exitFullscreen=function(){var a=vjs.browser.fullscreenAPI;this.isFullscreen(false);if(a){document[a.exitFullscreen]()}else if(this.tech.supportsFullScreen()){this.techCall("exitFullScreen")}else{this.exitFullWindow();this.trigger("fullscreenchange")}return this};vjs.Player.prototype.cancelFullScreen=function(){vjs.log.warn("player.cancelFullScreen() has been deprecated, use player.exitFullscreen()");return this.exitFullscreen()};vjs.Player.prototype.enterFullWindow=function(){this.isFullWindow=true;this.docOrigOverflow=document.documentElement.style.overflow;vjs.on(document,"keydown",vjs.bind(this,this.fullWindowOnEscKey));document.documentElement.style.overflow="hidden";vjs.addClass(document.body,"vjs-full-window");this.trigger("enterFullWindow")};vjs.Player.prototype.fullWindowOnEscKey=function(a){if(a.keyCode===27){if(this.isFullscreen()===true){this.exitFullscreen()}else{this.exitFullWindow()}}};vjs.Player.prototype.exitFullWindow=function(){this.isFullWindow=false;vjs.off(document,"keydown",this.fullWindowOnEscKey);document.documentElement.style.overflow=this.docOrigOverflow;vjs.removeClass(document.body,"vjs-full-window");this.trigger("exitFullWindow")};vjs.Player.prototype.selectSource=function(a){for(var b=0,c=this.options_["techOrder"];b<c.length;b++){var d=vjs.capitalize(c[b]),e=window["videojs"][d];if(!e){vjs.log.error('The "'+d+'" tech is undefined. Skipped browser support check for that tech.');continue}if(e.isSupported()){for(var f=0,g=a;f<g.length;f++){var h=g[f];if(e["canPlaySource"](h)){return{source:h,tech:d}}}}}return false};vjs.Player.prototype.src=function(a){if(a===undefined){return this.techGet("src")}if(vjs.obj.isArray(a)){this.sourceList_(a)}else if(typeof a==="string"){this.src({src:a})}else if(a instanceof Object){if(a.type&&!window["videojs"][this.techName]["canPlaySource"](a)){this.sourceList_([a])}else{this.cache_.src=a.src;this.currentType_=a.type||"";this.ready(function(){if(window["videojs"][this.techName].prototype.hasOwnProperty("setSource")){this.techCall("setSource",a)}else{this.techCall("src",a.src)}if(this.options_["preload"]=="auto"){this.load()}if(this.options_["autoplay"]){this.play()}})}}return this};vjs.Player.prototype.sourceList_=function(a){var b=this.selectSource(a);if(b){if(b.tech===this.techName){this.src(b.source)}else{this.loadTech(b.tech,b.source)}}else{this.setTimeout(function(){this.error({code:4,message:this.localize(this.options()["notSupportedMessage"])})},0);this.triggerReady()}};vjs.Player.prototype.load=function(){this.techCall("load");return this};vjs.Player.prototype.currentSrc=function(){return this.techGet("currentSrc")||this.cache_.src||""};vjs.Player.prototype.currentType=function(){return this.currentType_||""};vjs.Player.prototype.preload=function(a){if(a!==undefined){this.techCall("setPreload",a);this.options_["preload"]=a;return this}return this.techGet("preload")};vjs.Player.prototype.autoplay=function(a){if(a!==undefined){this.techCall("setAutoplay",a);this.options_["autoplay"]=a;return this}return this.techGet("autoplay",a)};vjs.Player.prototype.loop=function(a){if(a!==undefined){this.techCall("setLoop",a);this.options_["loop"]=a;return this}return this.techGet("loop")};vjs.Player.prototype.poster_;vjs.Player.prototype.poster=function(a){if(a===undefined){return this.poster_}if(!a){a=""}this.poster_=a;this.techCall("setPoster",a);this.trigger("posterchange");return this};vjs.Player.prototype.controls_;vjs.Player.prototype.controls=function(a){if(a!==undefined){a=!!a;if(this.controls_!==a){this.controls_=a;if(a){this.removeClass("vjs-controls-disabled");this.addClass("vjs-controls-enabled");this.trigger("controlsenabled")}else{this.removeClass("vjs-controls-enabled");this.addClass("vjs-controls-disabled");this.trigger("controlsdisabled")}}return this}return this.controls_};vjs.Player.prototype.usingNativeControls_;vjs.Player.prototype.usingNativeControls=function(a){if(a!==undefined){a=!!a;if(this.usingNativeControls_!==a){this.usingNativeControls_=a;if(a){this.addClass("vjs-using-native-controls");this.trigger("usingnativecontrols")}else{this.removeClass("vjs-using-native-controls");this.trigger("usingcustomcontrols")}}return this}return this.usingNativeControls_};vjs.Player.prototype.error_=null;vjs.Player.prototype.error=function(a){if(a===undefined){return this.error_}if(a===null){this.error_=a;this.removeClass("vjs-error");return this}if(a instanceof vjs.MediaError){this.error_=a}else{this.error_=new vjs.MediaError(a)}this.trigger("error");this.addClass("vjs-error");vjs.log.error("(CODE:"+this.error_.code+" "+vjs.MediaError.errorTypes[this.error_.code]+")",this.error_.message,this.error_);return this};vjs.Player.prototype.ended=function(){return this.techGet("ended")};vjs.Player.prototype.seeking=function(){return this.techGet("seeking")};vjs.Player.prototype.seekable=function(){return this.techGet("seekable")};vjs.Player.prototype.userActivity_=true;vjs.Player.prototype.reportUserActivity=function(a){this.userActivity_=true};vjs.Player.prototype.userActive_=true;vjs.Player.prototype.userActive=function(a){if(a!==undefined){a=!!a;if(a!==this.userActive_){this.userActive_=a;if(a){this.userActivity_=true;this.removeClass("vjs-user-inactive");this.addClass("vjs-user-active");this.trigger("useractive")}else{this.userActivity_=false;if(this.tech){this.tech.one("mousemove",function(a){a.stopPropagation();a.preventDefault()})}this.removeClass("vjs-user-active");this.addClass("vjs-user-inactive");this.trigger("userinactive")}}return this}return this.userActive_};vjs.Player.prototype.listenForUserActivity=function(){var a,b,c,d,e,f,g,h,i;a=vjs.bind(this,this.reportUserActivity);b=function(b){if(b.screenX!=h||b.screenY!=i){h=b.screenX;i=b.screenY;a()}};c=function(){a();this.clearInterval(d);d=this.setInterval(a,250)};e=function(b){a();this.clearInterval(d)};this.on("mousedown",c);this.on("mousemove",b);this.on("mouseup",e);this.on("keydown",a);this.on("keyup",a);f=this.setInterval(function(){if(this.userActivity_){this.userActivity_=false;this.userActive(true);this.clearTimeout(g);var a=this.options()["inactivityTimeout"];if(a>0){g=this.setTimeout(function(){if(!this.userActivity_){this.userActive(false)}},a)}}},250)};vjs.Player.prototype.playbackRate=function(a){if(a!==undefined){this.techCall("setPlaybackRate",a);return this}if(this.tech&&this.tech["featuresPlaybackRate"]){return this.techGet("playbackRate")}else{return 1}};vjs.Player.prototype.isAudio_=false;vjs.Player.prototype.isAudio=function(a){if(a!==undefined){this.isAudio_=!!a;return this}return this.isAudio_};vjs.Player.prototype.networkState=function(){return this.techGet("networkState")};vjs.Player.prototype.readyState=function(){return this.techGet("readyState")};vjs.Player.prototype.textTracks=function(){return this.tech&&this.tech["textTracks"]()};vjs.Player.prototype.remoteTextTracks=function(){return this.tech&&this.tech["remoteTextTracks"]()};vjs.Player.prototype.addTextTrack=function(a,b,c){return this.tech&&this.tech["addTextTrack"](a,b,c)};vjs.Player.prototype.addRemoteTextTrack=function(a){return this.tech&&this.tech["addRemoteTextTrack"](a)};vjs.Player.prototype.removeRemoteTextTrack=function(a){this.tech&&this.tech["removeRemoteTextTrack"](a)};vjs.ControlBar=vjs.Component.extend();vjs.ControlBar.prototype.options_={loadEvent:"play",children:{playToggle:{},currentTimeDisplay:{},timeDivider:{},durationDisplay:{},remainingTimeDisplay:{},liveDisplay:{},progressControl:{},fullscreenToggle:{},volumeControl:{},muteToggle:{},playbackRateMenuButton:{},subtitlesButton:{},captionsButton:{},chaptersButton:{}}};vjs.ControlBar.prototype.createEl=function(){return vjs.createEl("div",{className:"vjs-control-bar"})};vjs.LiveDisplay=vjs.Component.extend({init:function(a,b){vjs.Component.call(this,a,b)}});vjs.LiveDisplay.prototype.createEl=function(){var a=vjs.Component.prototype.createEl.call(this,"div",{className:"vjs-live-controls vjs-control"});this.contentEl_=vjs.createEl("div",{className:"vjs-live-display",innerHTML:'<span class="vjs-control-text">'+this.localize("Stream Type")+"</span>"+this.localize("LIVE"),"aria-live":"off"});a.appendChild(this.contentEl_);return a};vjs.PlayToggle=vjs.Button.extend({init:function(a,b){vjs.Button.call(this,a,b);this.on(a,"play",this.onPlay);this.on(a,"pause",this.onPause)}});vjs.PlayToggle.prototype.buttonText="Play";vjs.PlayToggle.prototype.buildCSSClass=function(){return"vjs-play-control "+vjs.Button.prototype.buildCSSClass.call(this)};vjs.PlayToggle.prototype.onClick=function(){if(this.player_.paused()){this.player_.play()}else{this.player_.pause()}};vjs.PlayToggle.prototype.onPlay=function(){this.removeClass("vjs-paused");this.addClass("vjs-playing");this.el_.children[0].children[0].innerHTML=this.localize("Pause")};vjs.PlayToggle.prototype.onPause=function(){this.removeClass("vjs-playing");this.addClass("vjs-paused");this.el_.children[0].children[0].innerHTML=this.localize("Play")};vjs.CurrentTimeDisplay=vjs.Component.extend({init:function(a,b){vjs.Component.call(this,a,b);this.on(a,"timeupdate",this.updateContent)}});vjs.CurrentTimeDisplay.prototype.createEl=function(){var a=vjs.Component.prototype.createEl.call(this,"div",{className:"vjs-current-time vjs-time-controls vjs-control"});this.contentEl_=vjs.createEl("div",{className:"vjs-current-time-display",innerHTML:'<span class="vjs-control-text">Current Time </span>'+"0:00","aria-live":"off"});a.appendChild(this.contentEl_);return a};vjs.CurrentTimeDisplay.prototype.updateContent=function(){var a=this.player_.scrubbing?this.player_.getCache().currentTime:this.player_.currentTime();this.contentEl_.innerHTML='<span class="vjs-control-text">'+this.localize("Current Time")+"</span> "+vjs.formatTime(a,this.player_.duration())};vjs.DurationDisplay=vjs.Component.extend({init:function(a,b){vjs.Component.call(this,a,b);this.on(a,"timeupdate",this.updateContent);this.on(a,"loadedmetadata",this.updateContent)}});vjs.DurationDisplay.prototype.createEl=function(){var a=vjs.Component.prototype.createEl.call(this,"div",{className:"vjs-duration vjs-time-controls vjs-control"});this.contentEl_=vjs.createEl("div",{className:"vjs-duration-display",innerHTML:'<span class="vjs-control-text">'+this.localize("Duration Time")+"</span> "+"0:00","aria-live":"off"});a.appendChild(this.contentEl_);return a};vjs.DurationDisplay.prototype.updateContent=function(){var a=this.player_.duration();if(a){this.contentEl_.innerHTML='<span class="vjs-control-text">'+this.localize("Duration Time")+"</span> "+vjs.formatTime(a)}};vjs.TimeDivider=vjs.Component.extend({init:function(a,b){vjs.Component.call(this,a,b)}});vjs.TimeDivider.prototype.createEl=function(){return vjs.Component.prototype.createEl.call(this,"div",{className:"vjs-time-divider",innerHTML:"<div><span>/</span></div>"})};vjs.RemainingTimeDisplay=vjs.Component.extend({init:function(a,b){vjs.Component.call(this,a,b);this.on(a,"timeupdate",this.updateContent)}});vjs.RemainingTimeDisplay.prototype.createEl=function(){var a=vjs.Component.prototype.createEl.call(this,"div",{className:"vjs-remaining-time vjs-time-controls vjs-control"});this.contentEl_=vjs.createEl("div",{className:"vjs-remaining-time-display",innerHTML:'<span class="vjs-control-text">'+this.localize("Remaining Time")+"</span> "+"-0:00","aria-live":"off"});a.appendChild(this.contentEl_);return a};vjs.RemainingTimeDisplay.prototype.updateContent=function(){if(this.player_.duration()){this.contentEl_.innerHTML='<span class="vjs-control-text">'+this.localize("Remaining Time")+"</span> "+"-"+vjs.formatTime(this.player_.remainingTime())}};vjs.FullscreenToggle=vjs.Button.extend({init:function(a,b){vjs.Button.call(this,a,b)}});vjs.FullscreenToggle.prototype.buttonText="Fullscreen";vjs.FullscreenToggle.prototype.buildCSSClass=function(){return"vjs-fullscreen-control "+vjs.Button.prototype.buildCSSClass.call(this)};vjs.FullscreenToggle.prototype.onClick=function(){if(!this.player_.isFullscreen()){this.player_.requestFullscreen();this.controlText_.innerHTML=this.localize("Non-Fullscreen")}else{this.player_.exitFullscreen();this.controlText_.innerHTML=this.localize("Fullscreen")}};vjs.ProgressControl=vjs.Component.extend({init:function(a,b){vjs.Component.call(this,a,b)}});vjs.ProgressControl.prototype.options_={children:{seekBar:{}}};vjs.ProgressControl.prototype.createEl=function(){return vjs.Component.prototype.createEl.call(this,"div",{className:"vjs-progress-control vjs-control"})};vjs.SeekBar=vjs.Slider.extend({init:function(a,b){vjs.Slider.call(this,a,b);this.on(a,"timeupdate",this.updateARIAAttributes);a.ready(vjs.bind(this,this.updateARIAAttributes))}});vjs.SeekBar.prototype.options_={children:{loadProgressBar:{},playProgressBar:{},seekHandle:{}},barName:"playProgressBar",handleName:"seekHandle"};vjs.SeekBar.prototype.playerEvent="timeupdate";vjs.SeekBar.prototype.createEl=function(){return vjs.Slider.prototype.createEl.call(this,"div",{className:"vjs-progress-holder","aria-label":"video progress bar"})};vjs.SeekBar.prototype.updateARIAAttributes=function(){var a=this.player_.scrubbing?this.player_.getCache().currentTime:this.player_.currentTime();this.el_.setAttribute("aria-valuenow",vjs.round(this.getPercent()*100,2));this.el_.setAttribute("aria-valuetext",vjs.formatTime(a,this.player_.duration()))};vjs.SeekBar.prototype.getPercent=function(){return this.player_.currentTime()/this.player_.duration()};vjs.SeekBar.prototype.onMouseDown=function(a){vjs.Slider.prototype.onMouseDown.call(this,a);this.player_.scrubbing=true;this.player_.addClass("vjs-scrubbing");this.videoWasPlaying=!this.player_.paused();this.player_.pause()};vjs.SeekBar.prototype.onMouseMove=function(a){var b=this.calculateDistance(a)*this.player_.duration();if(b==this.player_.duration()){b=b-.1}this.player_.currentTime(b)};vjs.SeekBar.prototype.onMouseUp=function(a){vjs.Slider.prototype.onMouseUp.call(this,a);this.player_.scrubbing=false;this.player_.removeClass("vjs-scrubbing");if(this.videoWasPlaying){this.player_.play()}};vjs.SeekBar.prototype.stepForward=function(){this.player_.currentTime(this.player_.currentTime()+5)};vjs.SeekBar.prototype.stepBack=function(){this.player_.currentTime(this.player_.currentTime()-5)};vjs.LoadProgressBar=vjs.Component.extend({init:function(a,b){vjs.Component.call(this,a,b);this.on(a,"progress",this.update)}});vjs.LoadProgressBar.prototype.createEl=function(){return vjs.Component.prototype.createEl.call(this,"div",{className:"vjs-load-progress",innerHTML:'<span class="vjs-control-text"><span>'+this.localize("Loaded")+"</span>: 0%</span>"})};vjs.LoadProgressBar.prototype.update=function(){var a,b,c,d,e=this.player_.buffered(),f=this.player_.duration(),g=this.player_.bufferedEnd(),h=this.el_.children,i=function(a,b){var c=a/b||0;return c*100+"%"};this.el_.style.width=i(g,f);for(a=0;a<e.length;a++){b=e.start(a),c=e.end(a),d=h[a];if(!d){d=this.el_.appendChild(vjs.createEl())}d.style.left=i(b,g);d.style.width=i(c-b,g)}for(a=h.length;a>e.length;a--){this.el_.removeChild(h[a-1])}};vjs.PlayProgressBar=vjs.Component.extend({init:function(a,b){vjs.Component.call(this,a,b)}});vjs.PlayProgressBar.prototype.createEl=function(){return vjs.Component.prototype.createEl.call(this,"div",{className:"vjs-play-progress",innerHTML:'<span class="vjs-control-text"><span>'+this.localize("Progress")+"</span>: 0%</span>"})};vjs.SeekHandle=vjs.SliderHandle.extend({init:function(a,b){vjs.SliderHandle.call(this,a,b);this.on(a,"timeupdate",this.updateContent)}});vjs.SeekHandle.prototype.defaultValue="00:00";vjs.SeekHandle.prototype.createEl=function(){return vjs.SliderHandle.prototype.createEl.call(this,"div",{className:"vjs-seek-handle","aria-live":"off"})};vjs.SeekHandle.prototype.updateContent=function(){var a=this.player_.scrubbing?this.player_.getCache().currentTime:this.player_.currentTime();this.el_.innerHTML='<span class="vjs-control-text">'+vjs.formatTime(a,this.player_.duration())+"</span>"};vjs.VolumeControl=vjs.Component.extend({init:function(a,b){vjs.Component.call(this,a,b);if(a.tech&&a.tech["featuresVolumeControl"]===false){this.addClass("vjs-hidden")}this.on(a,"loadstart",function(){if(a.tech["featuresVolumeControl"]===false){this.addClass("vjs-hidden")}else{this.removeClass("vjs-hidden")}})}});vjs.VolumeControl.prototype.options_={children:{volumeBar:{}}};vjs.VolumeControl.prototype.createEl=function(){return vjs.Component.prototype.createEl.call(this,"div",{className:"vjs-volume-control vjs-control"})};vjs.VolumeBar=vjs.Slider.extend({init:function(a,b){vjs.Slider.call(this,a,b);this.on(a,"volumechange",this.updateARIAAttributes);a.ready(vjs.bind(this,this.updateARIAAttributes))}});vjs.VolumeBar.prototype.updateARIAAttributes=function(){this.el_.setAttribute("aria-valuenow",vjs.round(this.player_.volume()*100,2));this.el_.setAttribute("aria-valuetext",vjs.round(this.player_.volume()*100,2)+"%")};vjs.VolumeBar.prototype.options_={children:{volumeLevel:{},volumeHandle:{}},barName:"volumeLevel",handleName:"volumeHandle"};vjs.VolumeBar.prototype.playerEvent="volumechange";vjs.VolumeBar.prototype.createEl=function(){return vjs.Slider.prototype.createEl.call(this,"div",{className:"vjs-volume-bar","aria-label":"volume level"})};vjs.VolumeBar.prototype.onMouseMove=function(a){if(this.player_.muted()){this.player_.muted(false)}this.player_.volume(this.calculateDistance(a))};vjs.VolumeBar.prototype.getPercent=function(){if(this.player_.muted()){return 0}else{return this.player_.volume()}};vjs.VolumeBar.prototype.stepForward=function(){this.player_.volume(this.player_.volume()+.1)};vjs.VolumeBar.prototype.stepBack=function(){this.player_.volume(this.player_.volume()-.1)};vjs.VolumeLevel=vjs.Component.extend({init:function(a,b){vjs.Component.call(this,a,b)}});vjs.VolumeLevel.prototype.createEl=function(){return vjs.Component.prototype.createEl.call(this,"div",{className:"vjs-volume-level",innerHTML:'<span class="vjs-control-text"></span>'})};vjs.VolumeHandle=vjs.SliderHandle.extend();vjs.VolumeHandle.prototype.defaultValue="00:00";vjs.VolumeHandle.prototype.createEl=function(){return vjs.SliderHandle.prototype.createEl.call(this,"div",{className:"vjs-volume-handle"})};vjs.MuteToggle=vjs.Button.extend({init:function(a,b){vjs.Button.call(this,a,b);this.on(a,"volumechange",this.update);if(a.tech&&a.tech["featuresVolumeControl"]===false){this.addClass("vjs-hidden")}this.on(a,"loadstart",function(){if(a.tech["featuresVolumeControl"]===false){this.addClass("vjs-hidden")}else{this.removeClass("vjs-hidden")}})}});vjs.MuteToggle.prototype.createEl=function(){return vjs.Button.prototype.createEl.call(this,"div",{className:"vjs-mute-control vjs-control",innerHTML:'<div><span class="vjs-control-text">'+this.localize("Mute")+"</span></div>"})};vjs.MuteToggle.prototype.onClick=function(){this.player_.muted(this.player_.muted()?false:true)};vjs.MuteToggle.prototype.update=function(){var a=this.player_.volume(),b=3;if(a===0||this.player_.muted()){b=0}else if(a<.33){b=1}else if(a<.67){b=2}if(this.player_.muted()){if(this.el_.children[0].children[0].innerHTML!=this.localize("Unmute")){this.el_.children[0].children[0].innerHTML=this.localize("Unmute")}}else{if(this.el_.children[0].children[0].innerHTML!=this.localize("Mute")){this.el_.children[0].children[0].innerHTML=this.localize("Mute")}}for(var c=0;c<4;c++){vjs.removeClass(this.el_,"vjs-vol-"+c)}vjs.addClass(this.el_,"vjs-vol-"+b)};vjs.VolumeMenuButton=vjs.MenuButton.extend({init:function(a,b){vjs.MenuButton.call(this,a,b);this.on(a,"volumechange",this.volumeUpdate);if(a.tech&&a.tech["featuresVolumeControl"]===false){this.addClass("vjs-hidden")}this.on(a,"loadstart",function(){if(a.tech["featuresVolumeControl"]===false){this.addClass("vjs-hidden")}else{this.removeClass("vjs-hidden")}});this.addClass("vjs-menu-button")}});vjs.VolumeMenuButton.prototype.createMenu=function(){var a=new vjs.Menu(this.player_,{contentElType:"div"});var b=new vjs.VolumeBar(this.player_,this.options_["volumeBar"]);b.on("focus",function(){a.lockShowing()});b.on("blur",function(){a.unlockShowing()});a.addChild(b);return a};vjs.VolumeMenuButton.prototype.onClick=function(){vjs.MuteToggle.prototype.onClick.call(this);vjs.MenuButton.prototype.onClick.call(this)};vjs.VolumeMenuButton.prototype.createEl=function(){return vjs.Button.prototype.createEl.call(this,"div",{className:"vjs-volume-menu-button vjs-menu-button vjs-control",innerHTML:'<div><span class="vjs-control-text">'+this.localize("Mute")+"</span></div>"})};vjs.VolumeMenuButton.prototype.volumeUpdate=vjs.MuteToggle.prototype.update;vjs.PlaybackRateMenuButton=vjs.MenuButton.extend({init:function(a,b){vjs.MenuButton.call(this,a,b);this.updateVisibility();this.updateLabel();this.on(a,"loadstart",this.updateVisibility);this.on(a,"ratechange",this.updateLabel)}});vjs.PlaybackRateMenuButton.prototype.buttonText="Playback Rate";vjs.PlaybackRateMenuButton.prototype.className="vjs-playback-rate";vjs.PlaybackRateMenuButton.prototype.createEl=function(){var a=vjs.MenuButton.prototype.createEl.call(this);this.labelEl_=vjs.createEl("div",{className:"vjs-playback-rate-value",innerHTML:1});a.appendChild(this.labelEl_);return a};vjs.PlaybackRateMenuButton.prototype.createMenu=function(){var a=new vjs.Menu(this.player());var b=this.player().options()["playbackRates"];if(b){for(var c=b.length-1;c>=0;c--){a.addChild(new vjs.PlaybackRateMenuItem(this.player(),{rate:b[c]+"x"}))}}return a};vjs.PlaybackRateMenuButton.prototype.updateARIAAttributes=function(){this.el().setAttribute("aria-valuenow",this.player().playbackRate())};vjs.PlaybackRateMenuButton.prototype.onClick=function(){var a=this.player().playbackRate();var b=this.player().options()["playbackRates"];var c=b[0];for(var d=0;d<b.length;d++){if(b[d]>a){ c=b[d];break}}this.player().playbackRate(c)};vjs.PlaybackRateMenuButton.prototype.playbackRateSupported=function(){return this.player().tech&&this.player().tech["featuresPlaybackRate"]&&this.player().options()["playbackRates"]&&this.player().options()["playbackRates"].length>0};vjs.PlaybackRateMenuButton.prototype.updateVisibility=function(){if(this.playbackRateSupported()){this.removeClass("vjs-hidden")}else{this.addClass("vjs-hidden")}};vjs.PlaybackRateMenuButton.prototype.updateLabel=function(){if(this.playbackRateSupported()){this.labelEl_.innerHTML=this.player().playbackRate()+"x"}};vjs.PlaybackRateMenuItem=vjs.MenuItem.extend({contentElType:"button",init:function(a,b){var c=this.label=b["rate"];var d=this.rate=parseFloat(c,10);b["label"]=c;b["selected"]=d===1;vjs.MenuItem.call(this,a,b);this.on(a,"ratechange",this.update)}});vjs.PlaybackRateMenuItem.prototype.onClick=function(){vjs.MenuItem.prototype.onClick.call(this);this.player().playbackRate(this.rate)};vjs.PlaybackRateMenuItem.prototype.update=function(){this.selected(this.player().playbackRate()==this.rate)};vjs.PosterImage=vjs.Button.extend({init:function(a,b){vjs.Button.call(this,a,b);this.update();a.on("posterchange",vjs.bind(this,this.update))}});vjs.PosterImage.prototype.dispose=function(){this.player().off("posterchange",this.update);vjs.Button.prototype.dispose.call(this)};vjs.PosterImage.prototype.createEl=function(){var a=vjs.createEl("div",{className:"vjs-poster",tabIndex:-1});if(!vjs.BACKGROUND_SIZE_SUPPORTED){this.fallbackImg_=vjs.createEl("img");a.appendChild(this.fallbackImg_)}return a};vjs.PosterImage.prototype.update=function(){var a=this.player().poster();this.setSrc(a);if(a){this.show()}else{this.hide()}};vjs.PosterImage.prototype.setSrc=function(a){var b;if(this.fallbackImg_){this.fallbackImg_.src=a}else{b="";if(a){b='url("'+a+'")'}this.el_.style.backgroundImage=b}};vjs.PosterImage.prototype.onClick=function(){this.player_.play()};vjs.LoadingSpinner=vjs.Component.extend({init:function(a,b){vjs.Component.call(this,a,b)}});vjs.LoadingSpinner.prototype.createEl=function(){return vjs.Component.prototype.createEl.call(this,"div",{className:"vjs-loading-spinner"})};vjs.BigPlayButton=vjs.Button.extend();vjs.BigPlayButton.prototype.createEl=function(){return vjs.Button.prototype.createEl.call(this,"div",{className:"vjs-big-play-button",innerHTML:'<span aria-hidden="true"></span>',"aria-label":"play video"})};vjs.BigPlayButton.prototype.onClick=function(){this.player_.play()};vjs.ErrorDisplay=vjs.Component.extend({init:function(a,b){vjs.Component.call(this,a,b);this.update();this.on(a,"error",this.update)}});vjs.ErrorDisplay.prototype.createEl=function(){var a=vjs.Component.prototype.createEl.call(this,"div",{className:"vjs-error-display"});this.contentEl_=vjs.createEl("div");a.appendChild(this.contentEl_);return a};vjs.ErrorDisplay.prototype.update=function(){if(this.player().error()){this.contentEl_.innerHTML=this.localize(this.player().error().message)}};(function(){var a;vjs.MediaTechController=vjs.Component.extend({init:function(a,b,c){b=b||{};b.reportTouchActivity=false;vjs.Component.call(this,a,b,c);if(!this["featuresProgressEvents"]){this.manualProgressOn()}if(!this["featuresTimeupdateEvents"]){this.manualTimeUpdatesOn()}this.initControlsListeners();if(!this["featuresNativeTextTracks"]){this.emulateTextTracks()}this.initTextTrackListeners()}});vjs.MediaTechController.prototype.initControlsListeners=function(){var a,b;a=this.player();b=function(){if(a.controls()&&!a.usingNativeControls()){this.addControlsListeners()}};this.ready(b);this.on(a,"controlsenabled",b);this.on(a,"controlsdisabled",this.removeControlsListeners);this.ready(function(){if(this.networkState&&this.networkState()>0){this.player().trigger("loadstart")}})};vjs.MediaTechController.prototype.addControlsListeners=function(){var a;this.on("mousedown",this.onClick);this.on("touchstart",function(b){a=this.player_.userActive()});this.on("touchmove",function(b){if(a){this.player().reportUserActivity()}});this.on("touchend",function(a){a.preventDefault()});this.emitTapEvents();this.on("tap",this.onTap)};vjs.MediaTechController.prototype.removeControlsListeners=function(){this.off("tap");this.off("touchstart");this.off("touchmove");this.off("touchleave");this.off("touchcancel");this.off("touchend");this.off("click");this.off("mousedown")};vjs.MediaTechController.prototype.onClick=function(a){if(a.button!==0)return;if(this.player().controls()){if(this.player().paused()){this.player().play()}else{this.player().pause()}}};vjs.MediaTechController.prototype.onTap=function(){this.player().userActive(!this.player().userActive())};vjs.MediaTechController.prototype.manualProgressOn=function(){this.manualProgress=true;this.trackProgress()};vjs.MediaTechController.prototype.manualProgressOff=function(){this.manualProgress=false;this.stopTrackingProgress()};vjs.MediaTechController.prototype.trackProgress=function(){this.progressInterval=this.setInterval(function(){var a=this.player().bufferedPercent();if(this.bufferedPercent_!=a){this.player().trigger("progress")}this.bufferedPercent_=a;if(a===1){this.stopTrackingProgress()}},500)};vjs.MediaTechController.prototype.stopTrackingProgress=function(){this.clearInterval(this.progressInterval)};vjs.MediaTechController.prototype.manualTimeUpdatesOn=function(){var a=this.player_;this.manualTimeUpdates=true;this.on(a,"play",this.trackCurrentTime);this.on(a,"pause",this.stopTrackingCurrentTime);this.one("timeupdate",function(){this["featuresTimeupdateEvents"]=true;this.manualTimeUpdatesOff()})};vjs.MediaTechController.prototype.manualTimeUpdatesOff=function(){var a=this.player_;this.manualTimeUpdates=false;this.stopTrackingCurrentTime();this.off(a,"play",this.trackCurrentTime);this.off(a,"pause",this.stopTrackingCurrentTime)};vjs.MediaTechController.prototype.trackCurrentTime=function(){if(this.currentTimeInterval){this.stopTrackingCurrentTime()}this.currentTimeInterval=this.setInterval(function(){this.player().trigger("timeupdate")},250)};vjs.MediaTechController.prototype.stopTrackingCurrentTime=function(){this.clearInterval(this.currentTimeInterval);this.player().trigger("timeupdate")};vjs.MediaTechController.prototype.dispose=function(){if(this.manualProgress){this.manualProgressOff()}if(this.manualTimeUpdates){this.manualTimeUpdatesOff()}vjs.Component.prototype.dispose.call(this)};vjs.MediaTechController.prototype.setCurrentTime=function(){if(this.manualTimeUpdates){this.player().trigger("timeupdate")}};vjs.MediaTechController.prototype.initTextTrackListeners=function(){var a=this.player_,b,c=function(){var b=a.getChild("textTrackDisplay"),c;if(b){b.updateDisplay()}};b=this.textTracks();if(!b){return}b.addEventListener("removetrack",c);b.addEventListener("addtrack",c);this.on("dispose",vjs.bind(this,function(){b.removeEventListener("removetrack",c);b.removeEventListener("addtrack",c)}))};vjs.MediaTechController.prototype.emulateTextTracks=function(){var a=this.player_,b,c,d;if(!window["WebVTT"]){d=document.createElement("script");d.src=a.options()["vtt.js"]||"../node_modules/vtt.js/dist/vtt.js";a.el().appendChild(d);window["WebVTT"]=true}c=this.textTracks();if(!c){return}b=function(){var b,c,d;d=a.getChild("textTrackDisplay"),d.updateDisplay();for(b=0;b<this.length;b++){c=this[b];c.removeEventListener("cuechange",vjs.bind(d,d.updateDisplay));if(c.mode==="showing"){c.addEventListener("cuechange",vjs.bind(d,d.updateDisplay))}}};c.addEventListener("change",b);this.on("dispose",vjs.bind(this,function(){c.removeEventListener("change",b)}))};vjs.MediaTechController.prototype.textTracks_;vjs.MediaTechController.prototype.textTracks=function(){this.player_.textTracks_=this.player_.textTracks_||new vjs.TextTrackList;return this.player_.textTracks_};vjs.MediaTechController.prototype.remoteTextTracks=function(){this.player_.remoteTextTracks_=this.player_.remoteTextTracks_||new vjs.TextTrackList;return this.player_.remoteTextTracks_};a=function(a,b,c,d,e){var f=a.textTracks(),g;e=e||{};e["kind"]=b;if(c){e["label"]=c}if(d){e["language"]=d}e["player"]=a.player_;g=new vjs.TextTrack(e);f.addTrack_(g);return g};vjs.MediaTechController.prototype.addTextTrack=function(b,c,d){if(!b){throw new Error("TextTrack kind is required but was not provided")}return a(this,b,c,d)};vjs.MediaTechController.prototype.addRemoteTextTrack=function(b){var c=a(this,b["kind"],b["label"],b["language"],b);this.remoteTextTracks().addTrack_(c);return{track:c}};vjs.MediaTechController.prototype.removeRemoteTextTrack=function(a){this.textTracks().removeTrack_(a);this.remoteTextTracks().removeTrack_(a)};vjs.MediaTechController.prototype.setPoster=function(){};vjs.MediaTechController.prototype["featuresVolumeControl"]=true;vjs.MediaTechController.prototype["featuresFullscreenResize"]=false;vjs.MediaTechController.prototype["featuresPlaybackRate"]=false;vjs.MediaTechController.prototype["featuresProgressEvents"]=false;vjs.MediaTechController.prototype["featuresTimeupdateEvents"]=false;vjs.MediaTechController.prototype["featuresNativeTextTracks"]=false;vjs.MediaTechController.withSourceHandlers=function(a){a["registerSourceHandler"]=function(b,c){var d=a.sourceHandlers;if(!d){d=a.sourceHandlers=[]}if(c===undefined){c=d.length}d.splice(c,0,b)};a.selectSourceHandler=function(b){var c=a.sourceHandlers||[],d;for(var e=0;e<c.length;e++){d=c[e]["canHandleSource"](b);if(d){return c[e]}}return null};a.canPlaySource=function(b){var c=a.selectSourceHandler(b);if(c){return c["canHandleSource"](b)}return""};a.prototype.setSource=function(b){var c=a.selectSourceHandler(b);if(!c){if(a["nativeSourceHandler"]){c=a["nativeSourceHandler"]}else{vjs.log.error("No source hander found for the current source.")}}this.disposeSourceHandler();this.off("dispose",this.disposeSourceHandler);this.currentSource_=b;this.sourceHandler_=c["handleSource"](b,this);this.on("dispose",this.disposeSourceHandler);return this};a.prototype.disposeSourceHandler=function(){if(this.sourceHandler_&&this.sourceHandler_["dispose"]){this.sourceHandler_["dispose"]()}}};vjs.media={}})();vjs.Html5=vjs.MediaTechController.extend({init:function(a,b,c){var d,e,f,g,h,i;if(b["nativeCaptions"]===false||b["nativeTextTracks"]===false){this["featuresNativeTextTracks"]=false}vjs.MediaTechController.call(this,a,b,c);this.setupTriggers();var j=b["source"];if(j&&(this.el_.currentSrc!==j.src||a.tag&&a.tag.initNetworkState_===3)){this.setSource(j)}if(this.el_.hasChildNodes()){d=this.el_.childNodes;e=d.length;i=[];while(e--){g=d[e];h=g.nodeName.toLowerCase();if(h==="track"){if(!this["featuresNativeTextTracks"]){i.push(g)}else{this.remoteTextTracks().addTrack_(g["track"])}}}for(f=0;f<i.length;f++){this.el_.removeChild(i[f])}}if(vjs.TOUCH_ENABLED&&a.options()["nativeControlsForTouch"]===true){this.useNativeControls()}a.ready(function(){if(this.src()&&this.tag&&this.options_["autoplay"]&&this.paused()){delete this.tag["poster"];this.play()}});this.triggerReady()}});vjs.Html5.prototype.dispose=function(){vjs.Html5.disposeMediaElement(this.el_);vjs.MediaTechController.prototype.dispose.call(this)};vjs.Html5.prototype.createEl=function(){var a=this.player_,b,c,d,e=a.tag,f,g,h;if(!e||this["movingMediaElementInDOM"]===false){if(e){h=e.cloneNode(false);vjs.Html5.disposeMediaElement(e);e=h;a.tag=null}else{e=vjs.createEl("video");f=videojs.util.mergeOptions({},a.tagAttributes);if(!vjs.TOUCH_ENABLED||a.options()["nativeControlsForTouch"]!==true){delete f.controls}vjs.setElementAttributes(e,vjs.obj.merge(f,{id:a.id()+"_html5_api",class:"vjs-tech"}))}e["player"]=a;if(a.options_.tracks){for(d=0;d<a.options_.tracks.length;d++){b=a.options_.tracks[d];c=document.createElement("track");c.kind=b.kind;c.label=b.label;c.srclang=b.srclang;c.src=b.src;if("default"in b){c.setAttribute("default","default")}e.appendChild(c)}}vjs.insertFirst(e,a.el())}var i=["autoplay","preload","loop","muted"];for(d=i.length-1;d>=0;d--){var j=i[d];var k={};if(typeof a.options_[j]!=="undefined"){k[j]=a.options_[j]}vjs.setElementAttributes(e,k)}return e};vjs.Html5.prototype.setupTriggers=function(){for(var a=vjs.Html5.Events.length-1;a>=0;a--){this.on(vjs.Html5.Events[a],this.eventHandler)}};vjs.Html5.prototype.eventHandler=function(a){if(a.type=="error"&&this.error()){this.player().error(this.error().code)}else{a.bubbles=false;this.player().trigger(a)}};vjs.Html5.prototype.useNativeControls=function(){var a,b,c,d,e;a=this;b=this.player();a.setControls(b.controls());c=function(){a.setControls(true)};d=function(){a.setControls(false)};b.on("controlsenabled",c);b.on("controlsdisabled",d);e=function(){b.off("controlsenabled",c);b.off("controlsdisabled",d)};a.on("dispose",e);b.on("usingcustomcontrols",e);b.usingNativeControls(true)};vjs.Html5.prototype.play=function(){this.el_.play()};vjs.Html5.prototype.pause=function(){this.el_.pause()};vjs.Html5.prototype.paused=function(){return this.el_.paused};vjs.Html5.prototype.currentTime=function(){return this.el_.currentTime};vjs.Html5.prototype.setCurrentTime=function(a){try{this.el_.currentTime=a}catch(b){vjs.log(b,"Video is not ready. (Video.js)")}};vjs.Html5.prototype.duration=function(){return this.el_.duration||0};vjs.Html5.prototype.buffered=function(){return this.el_.buffered};vjs.Html5.prototype.volume=function(){return this.el_.volume};vjs.Html5.prototype.setVolume=function(a){this.el_.volume=a};vjs.Html5.prototype.muted=function(){return this.el_.muted};vjs.Html5.prototype.setMuted=function(a){this.el_.muted=a};vjs.Html5.prototype.width=function(){return this.el_.offsetWidth};vjs.Html5.prototype.height=function(){return this.el_.offsetHeight};vjs.Html5.prototype.supportsFullScreen=function(){if(typeof this.el_.webkitEnterFullScreen=="function"){if(/Android/.test(vjs.USER_AGENT)||!/Chrome|Mac OS X 10.5/.test(vjs.USER_AGENT)){return true}}return false};vjs.Html5.prototype.enterFullScreen=function(){var a=this.el_;if("webkitDisplayingFullscreen"in a){this.one("webkitbeginfullscreen",function(){this.player_.isFullscreen(true);this.one("webkitendfullscreen",function(){this.player_.isFullscreen(false);this.player_.trigger("fullscreenchange")});this.player_.trigger("fullscreenchange")})}if(a.paused&&a.networkState<=a.HAVE_METADATA){this.el_.play();this.setTimeout(function(){a.pause();a.webkitEnterFullScreen()},0)}else{a.webkitEnterFullScreen()}};vjs.Html5.prototype.exitFullScreen=function(){this.el_.webkitExitFullScreen()};vjs.Html5.prototype.returnOriginalIfBlobURI_=function(a,b){var c=/^blob\:/i;if(b&&a&&c.test(a)){return b}return a};vjs.Html5.prototype.src=function(a){var b=this.el_.src;if(a===undefined){return this.returnOriginalIfBlobURI_(b,this.source_)}else{this.setSrc(a)}};vjs.Html5.prototype.setSrc=function(a){this.el_.src=a};vjs.Html5.prototype.load=function(){this.el_.load()};vjs.Html5.prototype.currentSrc=function(){var a=this.el_.currentSrc;if(!this.currentSource_){return a}return this.returnOriginalIfBlobURI_(a,this.currentSource_.src)};vjs.Html5.prototype.poster=function(){return this.el_.poster};vjs.Html5.prototype.setPoster=function(a){this.el_.poster=a};vjs.Html5.prototype.preload=function(){return this.el_.preload};vjs.Html5.prototype.setPreload=function(a){this.el_.preload=a};vjs.Html5.prototype.autoplay=function(){return this.el_.autoplay};vjs.Html5.prototype.setAutoplay=function(a){this.el_.autoplay=a};vjs.Html5.prototype.controls=function(){return this.el_.controls};vjs.Html5.prototype.setControls=function(a){this.el_.controls=!!a};vjs.Html5.prototype.loop=function(){return this.el_.loop};vjs.Html5.prototype.setLoop=function(a){this.el_.loop=a};vjs.Html5.prototype.error=function(){return this.el_.error};vjs.Html5.prototype.seeking=function(){return this.el_.seeking};vjs.Html5.prototype.seekable=function(){return this.el_.seekable};vjs.Html5.prototype.ended=function(){return this.el_.ended};vjs.Html5.prototype.defaultMuted=function(){return this.el_.defaultMuted};vjs.Html5.prototype.playbackRate=function(){return this.el_.playbackRate};vjs.Html5.prototype.setPlaybackRate=function(a){this.el_.playbackRate=a};vjs.Html5.prototype.networkState=function(){return this.el_.networkState};vjs.Html5.prototype.readyState=function(){return this.el_.readyState};vjs.Html5.prototype.textTracks=function(){if(!this["featuresNativeTextTracks"]){return vjs.MediaTechController.prototype.textTracks.call(this)}return this.el_.textTracks};vjs.Html5.prototype.addTextTrack=function(a,b,c){if(!this["featuresNativeTextTracks"]){return vjs.MediaTechController.prototype.addTextTrack.call(this,a,b,c)}return this.el_.addTextTrack(a,b,c)};vjs.Html5.prototype.addRemoteTextTrack=function(a){if(!this["featuresNativeTextTracks"]){return vjs.MediaTechController.prototype.addRemoteTextTrack.call(this,a)}var b=document.createElement("track");a=a||{};if(a["kind"]){b["kind"]=a["kind"]}if(a["label"]){b["label"]=a["label"]}if(a["language"]||a["srclang"]){b["srclang"]=a["language"]||a["srclang"]}if(a["default"]){b["default"]=a["default"]}if(a["id"]){b["id"]=a["id"]}if(a["src"]){b["src"]=a["src"]}this.el().appendChild(b);this.remoteTextTracks().addTrack_(b.track);return b};vjs.Html5.prototype.removeRemoteTextTrack=function(a){if(!this["featuresNativeTextTracks"]){return vjs.MediaTechController.prototype.removeRemoteTextTrack.call(this,a)}var b,c;this.remoteTextTracks().removeTrack_(a);b=this.el()["querySelectorAll"]("track");for(c=0;c<b.length;c++){if(b[c]===a||b[c]["track"]===a){b[c]["parentNode"]["removeChild"](b[c]);break}}};vjs.Html5.isSupported=function(){try{vjs.TEST_VID["volume"]=.5}catch(a){return false}return!!vjs.TEST_VID.canPlayType};vjs.MediaTechController.withSourceHandlers(vjs.Html5);(function(){var a=vjs.Html5.prototype.setSource,b=vjs.Html5.prototype.disposeSourceHandler;vjs.Html5.prototype.setSource=function(b){var c=a.call(this,b);this.source_=b.src;return c};vjs.Html5.prototype.disposeSourceHandler=function(){this.source_=undefined;return b.call(this)}})();vjs.Html5["nativeSourceHandler"]={};vjs.Html5["nativeSourceHandler"]["canHandleSource"]=function(a){var b,c;function d(a){try{return vjs.TEST_VID.canPlayType(a)}catch(b){return""}}if(a.type){return d(a.type)}else if(a.src){b=a.src.match(/\.([^.\/\?]+)(\?[^\/]+)?$/i);c=b&&b[1];return d("video/"+c)}return""};vjs.Html5["nativeSourceHandler"]["handleSource"]=function(a,b){b.setSrc(a.src)};vjs.Html5["nativeSourceHandler"]["dispose"]=function(){};vjs.Html5["registerSourceHandler"](vjs.Html5["nativeSourceHandler"]);vjs.Html5.canControlVolume=function(){var a=vjs.TEST_VID.volume;vjs.TEST_VID.volume=a/2+.1;return a!==vjs.TEST_VID.volume};vjs.Html5.canControlPlaybackRate=function(){var a=vjs.TEST_VID.playbackRate;vjs.TEST_VID.playbackRate=a/2+.1;return a!==vjs.TEST_VID.playbackRate};vjs.Html5.supportsNativeTextTracks=function(){var a;a=!!vjs.TEST_VID.textTracks;if(a&&vjs.TEST_VID.textTracks.length>0){a=typeof vjs.TEST_VID.textTracks[0]["mode"]!=="number"}if(a&&vjs.IS_FIREFOX){a=false}return a};vjs.Html5.prototype["featuresVolumeControl"]=vjs.Html5.canControlVolume();vjs.Html5.prototype["featuresPlaybackRate"]=vjs.Html5.canControlPlaybackRate();vjs.Html5.prototype["movingMediaElementInDOM"]=!vjs.IS_IOS;vjs.Html5.prototype["featuresFullscreenResize"]=true;vjs.Html5.prototype["featuresProgressEvents"]=true;vjs.Html5.prototype["featuresNativeTextTracks"]=vjs.Html5.supportsNativeTextTracks();(function(){var a,b=/^application\/(?:x-|vnd\.apple\.)mpegurl/i,c=/^video\/mp4/i;vjs.Html5.patchCanPlayType=function(){if(vjs.ANDROID_VERSION>=4){if(!a){a=vjs.TEST_VID.constructor.prototype.canPlayType}vjs.TEST_VID.constructor.prototype.canPlayType=function(c){if(c&&b.test(c)){return"maybe"}return a.call(this,c)}}if(vjs.IS_OLD_ANDROID){if(!a){a=vjs.TEST_VID.constructor.prototype.canPlayType}vjs.TEST_VID.constructor.prototype.canPlayType=function(b){if(b&&c.test(b)){return"maybe"}return a.call(this,b)}}};vjs.Html5.unpatchCanPlayType=function(){var b=vjs.TEST_VID.constructor.prototype.canPlayType;vjs.TEST_VID.constructor.prototype.canPlayType=a;a=null;return b};vjs.Html5.patchCanPlayType()})();vjs.Html5.Events="loadstart,suspend,abort,error,emptied,stalled,loadedmetadata,loadeddata,canplay,canplaythrough,playing,waiting,seeking,seeked,ended,durationchange,timeupdate,progress,play,pause,ratechange,volumechange".split(",");vjs.Html5.disposeMediaElement=function(a){if(!a){return}a["player"]=null;if(a.parentNode){a.parentNode.removeChild(a)}while(a.hasChildNodes()){a.removeChild(a.firstChild)}a.removeAttribute("src");if(typeof a.load==="function"){(function(){try{a.load()}catch(b){}})()}};vjs.Flash=vjs.MediaTechController.extend({init:function(a,b,c){vjs.MediaTechController.call(this,a,b,c);var d=b["source"],e=a.id()+"_flash_api",f=a.options_,g=vjs.obj.merge({readyFunction:"videojs.Flash.onReady",eventProxyFunction:"videojs.Flash.onEvent",errorEventProxyFunction:"videojs.Flash.onError",autoplay:f.autoplay,preload:f.preload,loop:f.loop,muted:f.muted},b["flashVars"]),h=vjs.obj.merge({wmode:"opaque",bgcolor:"#000000"},b["params"]),i=vjs.obj.merge({id:e,name:e,class:"vjs-tech"},b["attributes"]);if(d){this.ready(function(){this.setSource(d)})}vjs.insertFirst(this.el_,b["parentEl"]);if(b["startTime"]){this.ready(function(){this.load();this.play();this["currentTime"](b["startTime"])})}if(vjs.IS_FIREFOX){this.ready(function(){this.on("mousemove",function(){this.player().trigger({type:"mousemove",bubbles:false})})})}a.on("stageclick",a.reportUserActivity);this.el_=vjs.Flash.embed(b["swf"],this.el_,g,h,i)}});vjs.Flash.prototype.dispose=function(){vjs.MediaTechController.prototype.dispose.call(this)};vjs.Flash.prototype.play=function(){if(this.ended()){this["setCurrentTime"](0)}this.el_.vjs_play()};vjs.Flash.prototype.pause=function(){this.el_.vjs_pause()};vjs.Flash.prototype.src=function(a){if(a===undefined){return this["currentSrc"]()}return this.setSrc(a)};vjs.Flash.prototype.setSrc=function(a){a=vjs.getAbsoluteURL(a);this.el_.vjs_src(a);if(this.player_.autoplay()){var b=this;this.setTimeout(function(){b.play()},0)}};vjs.Flash.prototype["setCurrentTime"]=function(a){this.lastSeekTarget_=a;this.el_.vjs_setProperty("currentTime",a);vjs.MediaTechController.prototype.setCurrentTime.call(this)};vjs.Flash.prototype["currentTime"]=function(a){if(this.seeking()){return this.lastSeekTarget_||0}return this.el_.vjs_getProperty("currentTime")};vjs.Flash.prototype["currentSrc"]=function(){if(this.currentSource_){return this.currentSource_.src}else{return this.el_.vjs_getProperty("currentSrc")}};vjs.Flash.prototype.load=function(){this.el_.vjs_load()};vjs.Flash.prototype.poster=function(){this.el_.vjs_getProperty("poster")};vjs.Flash.prototype["setPoster"]=function(){};vjs.Flash.prototype.seekable=function(){var a=this.duration();if(a===0){return vjs.createTimeRange()}return vjs.createTimeRange(0,this.duration())};vjs.Flash.prototype.buffered=function(){if(!this.el_.vjs_getProperty){return vjs.createTimeRange()}return vjs.createTimeRange(0,this.el_.vjs_getProperty("buffered"))};vjs.Flash.prototype.duration=function(){if(!this.el_.vjs_getProperty){return 0}return this.el_.vjs_getProperty("duration")};vjs.Flash.prototype.supportsFullScreen=function(){return false};vjs.Flash.prototype.enterFullScreen=function(){return false};(function(){var a=vjs.Flash.prototype,b="rtmpConnection,rtmpStream,preload,defaultPlaybackRate,playbackRate,autoplay,loop,mediaGroup,controller,controls,volume,muted,defaultMuted".split(","),c="error,networkState,readyState,seeking,initialTime,startOffsetTime,paused,played,ended,videoTracks,audioTracks,videoWidth,videoHeight".split(","),d;function e(b){var c=b.charAt(0).toUpperCase()+b.slice(1);a["set"+c]=function(a){return this.el_.vjs_setProperty(b,a)}}function f(b){a[b]=function(){return this.el_.vjs_getProperty(b)}}for(d=0;d<b.length;d++){f(b[d]);e(b[d])}for(d=0;d<c.length;d++){f(c[d])}})();vjs.Flash.isSupported=function(){return vjs.Flash.version()[0]>=10};vjs.MediaTechController.withSourceHandlers(vjs.Flash);vjs.Flash["nativeSourceHandler"]={};vjs.Flash["nativeSourceHandler"]["canHandleSource"]=function(a){var b;if(!a.type){return""}b=a.type.replace(/;.*/,"").toLowerCase();if(b in vjs.Flash.formats){return"maybe"}return""};vjs.Flash["nativeSourceHandler"]["handleSource"]=function(a,b){b.setSrc(a.src)};vjs.Flash["nativeSourceHandler"]["dispose"]=function(){};vjs.Flash["registerSourceHandler"](vjs.Flash["nativeSourceHandler"]);vjs.Flash.formats={"video/flv":"FLV","video/x-flv":"FLV","video/mp4":"MP4","video/m4v":"MP4"};vjs.Flash["onReady"]=function(a){var b,c;b=vjs.el(a);c=b&&b.parentNode&&b.parentNode["player"];if(c){b["player"]=c;vjs.Flash["checkReady"](c.tech)}};vjs.Flash["checkReady"]=function(a){if(!a.el()){return}if(a.el().vjs_getProperty){a.triggerReady()}else{this.setTimeout(function(){vjs.Flash["checkReady"](a)},50)}};vjs.Flash["onEvent"]=function(a,b){var c=vjs.el(a)["player"];c.trigger(b)};vjs.Flash["onError"]=function(a,b){var c=vjs.el(a)["player"];var d="FLASH: "+b;if(b=="srcnotfound"){c.error({code:4,message:d})}else{c.error(d)}};vjs.Flash.version=function(){var a="0,0,0";try{a=new window.ActiveXObject("ShockwaveFlash.ShockwaveFlash").GetVariable("$version").replace(/\D+/g,",").match(/^,?(.+),?$/)[1]}catch(b){try{if(navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin){a=(navigator.plugins["Shockwave Flash 2.0"]||navigator.plugins["Shockwave Flash"]).description.replace(/\D+/g,",").match(/^,?(.+),?$/)[1]}}catch(c){}}return a.split(",")};vjs.Flash.embed=function(a,b,c,d,e){var f=vjs.Flash.getEmbedCode(a,c,d,e),g=vjs.createEl("div",{innerHTML:f}).childNodes[0],h=b.parentNode;b.parentNode.replaceChild(g,b);g[vjs.expando]=b[vjs.expando];var i=h.childNodes[0];setTimeout(function(){i.style.display="block"},1e3);return g};vjs.Flash.getEmbedCode=function(a,b,c,d){var e='<object type="application/x-shockwave-flash" ',f="",g="",h="";if(b){vjs.obj.each(b,function(a,b){f+=a+"="+b+"&"})}c=vjs.obj.merge({movie:a,flashvars:f,allowScriptAccess:"always",allowNetworking:"all"},c);vjs.obj.each(c,function(a,b){g+='<param name="'+a+'" value="'+b+'" />'});d=vjs.obj.merge({data:a,width:"100%",height:"100%"},d);vjs.obj.each(d,function(a,b){h+=a+'="'+b+'" '});return e+h+">"+g+"</object>"};vjs.Flash.streamingFormats={"rtmp/mp4":"MP4","rtmp/flv":"FLV"};vjs.Flash.streamFromParts=function(a,b){return a+"&"+b};vjs.Flash.streamToParts=function(a){var b={connection:"",stream:""};if(!a){return b}var c=a.indexOf("&");var d;if(c!==-1){d=c+1}else{c=d=a.lastIndexOf("/")+1;if(c===0){c=d=a.length}}b.connection=a.substring(0,c);b.stream=a.substring(d,a.length);return b};vjs.Flash.isStreamingType=function(a){return a in vjs.Flash.streamingFormats};vjs.Flash.RTMP_RE=/^rtmp[set]?:\/\//i;vjs.Flash.isStreamingSrc=function(a){return vjs.Flash.RTMP_RE.test(a)};vjs.Flash.rtmpSourceHandler={};vjs.Flash.rtmpSourceHandler["canHandleSource"]=function(a){if(vjs.Flash.isStreamingType(a.type)||vjs.Flash.isStreamingSrc(a.src)){return"maybe"}return""};vjs.Flash.rtmpSourceHandler["handleSource"]=function(a,b){var c=vjs.Flash.streamToParts(a.src);b["setRtmpConnection"](c.connection);b["setRtmpStream"](c.stream)};vjs.Flash["registerSourceHandler"](vjs.Flash.rtmpSourceHandler);vjs.MediaLoader=vjs.Component.extend({init:function(a,b,c){vjs.Component.call(this,a,b,c);if(!a.options_["sources"]||a.options_["sources"].length===0){for(var d=0,e=a.options_["techOrder"];d<e.length;d++){var f=vjs.capitalize(e[d]),g=window["videojs"][f];if(g&&g.isSupported()){a.loadTech(f);break}}}else{a.src(a.options_["sources"])}}});vjs.TextTrackMode={disabled:"disabled",hidden:"hidden",showing:"showing"};vjs.TextTrackKind={subtitles:"subtitles",captions:"captions",descriptions:"descriptions",chapters:"chapters",metadata:"metadata"};(function(){vjs.TextTrack=function(b){var d,e,f,g,h,i,j,k,l,m,n;b=b||{};if(!b["player"]){throw new Error("A player was not provided.")}d=this;if(vjs.IS_IE8){d=document.createElement("custom");for(n in vjs.TextTrack.prototype){d[n]=vjs.TextTrack.prototype[n]}}d.player_=b["player"];f=vjs.TextTrackMode[b["mode"]]||"disabled";g=vjs.TextTrackKind[b["kind"]]||"subtitles";h=b["label"]||"";i=b["language"]||b["srclang"]||"";e=b["id"]||"vjs_text_track_"+vjs.guid++;if(g==="metadata"||g==="chapters"){f="hidden"}d.cues_=[];d.activeCues_=[];j=new vjs.TextTrackCueList(d.cues_);k=new vjs.TextTrackCueList(d.activeCues_);m=false;l=vjs.bind(d,function(){this["activeCues"];if(m){this["trigger"]("cuechange");m=false}});if(f!=="disabled"){d.player_.on("timeupdate",l)}Object.defineProperty(d,"kind",{get:function(){return g},set:Function.prototype});Object.defineProperty(d,"label",{get:function(){return h},set:Function.prototype});Object.defineProperty(d,"language",{get:function(){return i},set:Function.prototype});Object.defineProperty(d,"id",{get:function(){return e},set:Function.prototype});Object.defineProperty(d,"mode",{get:function(){return f},set:function(a){if(!vjs.TextTrackMode[a]){return}f=a;if(f==="showing"){this.player_.on("timeupdate",l)}this.trigger("modechange")}});Object.defineProperty(d,"cues",{get:function(){if(!this.loaded_){return null}return j},set:Function.prototype});Object.defineProperty(d,"activeCues",{get:function(){var a,b,d,e,f;if(!this.loaded_){return null}if(this["cues"].length===0){return k}e=this.player_.currentTime();a=0;b=this["cues"].length;d=[];for(;a<b;a++){f=this["cues"][a];if(f["startTime"]<=e&&f["endTime"]>=e){d.push(f)}else if(f["startTime"]===f["endTime"]&&f["startTime"]<=e&&f["startTime"]+.5>=e){d.push(f)}}m=false;if(d.length!==this.activeCues_.length){m=true}else{for(a=0;a<d.length;a++){if(c.call(this.activeCues_,d[a])===-1){m=true}}}this.activeCues_=d;k.setCues_(this.activeCues_);return k},set:Function.prototype});if(b.src){a(b.src,d)}else{d.loaded_=true}if(vjs.IS_IE8){return d}};vjs.TextTrack.prototype=vjs.obj.create(vjs.EventEmitter.prototype);vjs.TextTrack.prototype.constructor=vjs.TextTrack;vjs.TextTrack.prototype.allowedEvents_={cuechange:"cuechange"};vjs.TextTrack.prototype.addCue=function(a){var b=this.player_.textTracks(),c=0;if(b){for(;c<b.length;c++){if(b[c]!==this){b[c].removeCue(a)}}}this.cues_.push(a);this["cues"].setCues_(this.cues_)};vjs.TextTrack.prototype.removeCue=function(a){var b=0,c=this.cues_.length,d,e=false;for(;b<c;b++){d=this.cues_[b];if(d===a){this.cues_.splice(b,1);e=true}}if(e){this.cues.setCues_(this.cues_)}};var a,b,c;a=function(a,c){vjs.xhr(a,vjs.bind(this,function(a,d,e){if(a){return vjs.log.error(a)}c.loaded_=true;b(e,c)}))};b=function(a,c){if(typeof window["WebVTT"]!=="function"){return window.setTimeout(function(){b(a,c)},25)}var d=new window["WebVTT"]["Parser"](window,window["vttjs"],window["WebVTT"]["StringDecoder"]());d["oncue"]=function(a){c.addCue(a)};d["onparsingerror"]=function(a){vjs.log.error(a)};d["parse"](a);d["flush"]()};c=function(a,b){var c;if(this==null){throw new TypeError('"this" is null or not defined')}var d=Object(this);var e=d.length>>>0;if(e===0){return-1}var f=+b||0;if(Math.abs(f)===Infinity){f=0}if(f>=e){return-1}c=Math.max(f>=0?f:e-Math.abs(f),0);while(c<e){if(c in d&&d[c]===a){return c}c++}return-1}})();vjs.TextTrackList=function(a){var b=this,c,d=0;if(vjs.IS_IE8){b=document.createElement("custom");for(c in vjs.TextTrackList.prototype){b[c]=vjs.TextTrackList.prototype[c]}}a=a||[];b.tracks_=[];Object.defineProperty(b,"length",{get:function(){return this.tracks_.length}});for(;d<a.length;d++){b.addTrack_(a[d])}if(vjs.IS_IE8){return b}};vjs.TextTrackList.prototype=vjs.obj.create(vjs.EventEmitter.prototype);vjs.TextTrackList.prototype.constructor=vjs.TextTrackList;vjs.TextTrackList.prototype.allowedEvents_={change:"change",addtrack:"addtrack",removetrack:"removetrack"};(function(){var a;for(a in vjs.TextTrackList.prototype.allowedEvents_){vjs.TextTrackList.prototype["on"+a]=null}})();vjs.TextTrackList.prototype.addTrack_=function(a){var b=this.tracks_.length;if(!(""+b in this)){Object.defineProperty(this,b,{get:function(){return this.tracks_[b]}})}a.addEventListener("modechange",vjs.bind(this,function(){this.trigger("change")}));this.tracks_.push(a);this.trigger({type:"addtrack",track:a})};vjs.TextTrackList.prototype.removeTrack_=function(a){var b=0,c=this.length,d=null,e; for(;b<c;b++){e=this[b];if(e===a){this.tracks_.splice(b,1);break}}this.trigger({type:"removetrack",track:a})};vjs.TextTrackList.prototype.getTrackById=function(a){var b=0,c=this.length,d=null,e;for(;b<c;b++){e=this[b];if(e.id===a){d=e;break}}return d};vjs.TextTrackCueList=function(a){var b=this,c;if(vjs.IS_IE8){b=document.createElement("custom");for(c in vjs.TextTrackCueList.prototype){b[c]=vjs.TextTrackCueList.prototype[c]}}vjs.TextTrackCueList.prototype.setCues_.call(b,a);Object.defineProperty(b,"length",{get:function(){return this.length_}});if(vjs.IS_IE8){return b}};vjs.TextTrackCueList.prototype.setCues_=function(a){var b=this.length||0,c=0,d=a.length,e;this.cues_=a;this.length_=a.length;e=function(a){if(!(""+a in this)){Object.defineProperty(this,""+a,{get:function(){return this.cues_[a]}})}};if(b<d){c=b;for(;c<d;c++){e.call(this,c)}}};vjs.TextTrackCueList.prototype.getCueById=function(a){var b=0,c=this.length,d=null,e;for(;b<c;b++){e=this[b];if(e.id===a){d=e;break}}return d};(function(){"use strict";vjs.TextTrackDisplay=vjs.Component.extend({init:function(a,b,c){vjs.Component.call(this,a,b,c);a.on("loadstart",vjs.bind(this,this.toggleDisplay));a.ready(vjs.bind(this,function(){if(a.tech&&a.tech["featuresNativeTextTracks"]){this.hide();return}var b,c,d;a.on("fullscreenchange",vjs.bind(this,this.updateDisplay));c=a.options_["tracks"]||[];for(b=0;b<c.length;b++){d=c[b];this.player_.addRemoteTextTrack(d)}}))}});vjs.TextTrackDisplay.prototype.toggleDisplay=function(){if(this.player_.tech&&this.player_.tech["featuresNativeTextTracks"]){this.hide()}else{this.show()}};vjs.TextTrackDisplay.prototype.createEl=function(){return vjs.Component.prototype.createEl.call(this,"div",{className:"vjs-text-track-display"})};vjs.TextTrackDisplay.prototype.clearDisplay=function(){if(typeof window["WebVTT"]==="function"){window["WebVTT"]["processCues"](window,[],this.el_)}};var a=function(a,b){return"rgba("+parseInt(a[1]+a[1],16)+","+parseInt(a[2]+a[2],16)+","+parseInt(a[3]+a[3],16)+","+b+")"};var b="#222";var c="#ccc";var d={monospace:"monospace",sansSerif:"sans-serif",serif:"serif",monospaceSansSerif:'"Andale Mono", "Lucida Console", monospace',monospaceSerif:'"Courier New", monospace',proportionalSansSerif:"sans-serif",proportionalSerif:"serif",casual:'"Comic Sans MS", Impact, fantasy',script:'"Monotype Corsiva", cursive',smallcaps:'"Andale Mono", "Lucida Console", monospace, sans-serif'};var e=function(a,b,c){try{a.style[b]=c}catch(d){}};vjs.TextTrackDisplay.prototype.updateDisplay=function(){var a=this.player_.textTracks(),b=0,c;this.clearDisplay();if(!a){return}for(;b<a.length;b++){c=a[b];if(c["mode"]==="showing"){this.updateForTrack(c)}}};vjs.TextTrackDisplay.prototype.updateForTrack=function(f){if(typeof window["WebVTT"]!=="function"||!f["activeCues"]){return}var g=0,h,i,j=this.player_["textTrackSettings"].getValues(),k,l=[];for(;g<f["activeCues"].length;g++){l.push(f["activeCues"][g])}window["WebVTT"]["processCues"](window,f["activeCues"],this.el_);g=l.length;while(g--){i=l[g].displayState;if(j.color){i.firstChild.style.color=j.color}if(j.textOpacity){e(i.firstChild,"color",a(j.color||"#fff",j.textOpacity))}if(j.backgroundColor){i.firstChild.style.backgroundColor=j.backgroundColor}if(j.backgroundOpacity){e(i.firstChild,"backgroundColor",a(j.backgroundColor||"#000",j.backgroundOpacity))}if(j.windowColor){if(j.windowOpacity){e(i,"backgroundColor",a(j.windowColor,j.windowOpacity))}else{i.style.backgroundColor=j.windowColor}}if(j.edgeStyle){if(j.edgeStyle==="dropshadow"){i.firstChild.style.textShadow="2px 2px 3px "+b+", 2px 2px 4px "+b+", 2px 2px 5px "+b}else if(j.edgeStyle==="raised"){i.firstChild.style.textShadow="1px 1px "+b+", 2px 2px "+b+", 3px 3px "+b}else if(j.edgeStyle==="depressed"){i.firstChild.style.textShadow="1px 1px "+c+", 0 1px "+c+", -1px -1px "+b+", 0 -1px "+b}else if(j.edgeStyle==="uniform"){i.firstChild.style.textShadow="0 0 4px "+b+", 0 0 4px "+b+", 0 0 4px "+b+", 0 0 4px "+b}}if(j.fontPercent&&j.fontPercent!==1){k=window.parseFloat(i.style.fontSize);i.style.fontSize=k*j.fontPercent+"px";i.style.height="auto";i.style.top="auto";i.style.bottom="2px"}if(j.fontFamily&&j.fontFamily!=="default"){if(j.fontFamily==="small-caps"){i.firstChild.style.fontVariant="small-caps"}else{i.firstChild.style.fontFamily=d[j.fontFamily]}}}};vjs.TextTrackMenuItem=vjs.MenuItem.extend({init:function(a,b){var c=this.track=b["track"],d=a.textTracks(),e,f;if(d){e=vjs.bind(this,function(){var a=this.track["mode"]==="showing",b,c,e;if(this instanceof vjs.OffTextTrackMenuItem){a=true;c=0,e=d.length;for(;c<e;c++){b=d[c];if(b["kind"]===this.track["kind"]&&b["mode"]==="showing"){a=false;break}}}this.selected(a)});d.addEventListener("change",e);a.on("dispose",function(){d.removeEventListener("change",e)})}b["label"]=c["label"]||c["language"]||"Unknown";b["selected"]=c["default"]||c["mode"]==="showing";vjs.MenuItem.call(this,a,b);if(d&&d.onchange===undefined){this.on(["tap","click"],function(){if(typeof window.Event!=="object"){try{f=new window.Event("change")}catch(a){}}if(!f){f=document.createEvent("Event");f.initEvent("change",true,true)}d.dispatchEvent(f)})}}});vjs.TextTrackMenuItem.prototype.onClick=function(){var a=this.track["kind"],b=this.player_.textTracks(),c,d,e=0;vjs.MenuItem.prototype.onClick.call(this);if(!b){return}for(;e<b.length;e++){d=b[e];if(d["kind"]!==a){continue}if(d===this.track){d["mode"]="showing"}else{d["mode"]="disabled"}}};vjs.OffTextTrackMenuItem=vjs.TextTrackMenuItem.extend({init:function(a,b){b["track"]={kind:b["kind"],player:a,label:b["kind"]+" off",default:false,mode:"disabled"};vjs.TextTrackMenuItem.call(this,a,b);this.selected(true)}});vjs.CaptionSettingsMenuItem=vjs.TextTrackMenuItem.extend({init:function(a,b){b["track"]={kind:b["kind"],player:a,label:b["kind"]+" settings",default:false,mode:"disabled"};vjs.TextTrackMenuItem.call(this,a,b);this.addClass("vjs-texttrack-settings")}});vjs.CaptionSettingsMenuItem.prototype.onClick=function(){this.player().getChild("textTrackSettings").show()};vjs.TextTrackButton=vjs.MenuButton.extend({init:function(a,b){var c,d;vjs.MenuButton.call(this,a,b);c=this.player_.textTracks();if(this.items.length<=1){this.hide()}if(!c){return}d=vjs.bind(this,this.update);c.addEventListener("removetrack",d);c.addEventListener("addtrack",d);this.player_.on("dispose",function(){c.removeEventListener("removetrack",d);c.removeEventListener("addtrack",d)})}});vjs.TextTrackButton.prototype.createItems=function(){var a=[],b,c;if(this instanceof vjs.CaptionsButton&&!(this.player().tech&&this.player().tech["featuresNativeTextTracks"])){a.push(new vjs.CaptionSettingsMenuItem(this.player_,{kind:this.kind_}))}a.push(new vjs.OffTextTrackMenuItem(this.player_,{kind:this.kind_}));c=this.player_.textTracks();if(!c){return a}for(var d=0;d<c.length;d++){b=c[d];if(b["kind"]===this.kind_){a.push(new vjs.TextTrackMenuItem(this.player_,{track:b}))}}return a};vjs.CaptionsButton=vjs.TextTrackButton.extend({init:function(a,b,c){vjs.TextTrackButton.call(this,a,b,c);this.el_.setAttribute("aria-label","Captions Menu")}});vjs.CaptionsButton.prototype.kind_="captions";vjs.CaptionsButton.prototype.buttonText="Captions";vjs.CaptionsButton.prototype.className="vjs-captions-button";vjs.CaptionsButton.prototype.update=function(){var a=2;vjs.TextTrackButton.prototype.update.call(this);if(this.player().tech&&this.player().tech["featuresNativeTextTracks"]){a=1}if(this.items&&this.items.length>a){this.show()}else{this.hide()}};vjs.SubtitlesButton=vjs.TextTrackButton.extend({init:function(a,b,c){vjs.TextTrackButton.call(this,a,b,c);this.el_.setAttribute("aria-label","Subtitles Menu")}});vjs.SubtitlesButton.prototype.kind_="subtitles";vjs.SubtitlesButton.prototype.buttonText="Subtitles";vjs.SubtitlesButton.prototype.className="vjs-subtitles-button";vjs.ChaptersButton=vjs.TextTrackButton.extend({init:function(a,b,c){vjs.TextTrackButton.call(this,a,b,c);this.el_.setAttribute("aria-label","Chapters Menu")}});vjs.ChaptersButton.prototype.kind_="chapters";vjs.ChaptersButton.prototype.buttonText="Chapters";vjs.ChaptersButton.prototype.className="vjs-chapters-button";vjs.ChaptersButton.prototype.createItems=function(){var a=[],b,c;c=this.player_.textTracks();if(!c){return a}for(var d=0;d<c.length;d++){b=c[d];if(b["kind"]===this.kind_){a.push(new vjs.TextTrackMenuItem(this.player_,{track:b}))}}return a};vjs.ChaptersButton.prototype.createMenu=function(){var a=this.player_.textTracks()||[],b=0,c=a.length,d,e,f=this.items=[];for(;b<c;b++){d=a[b];if(d["kind"]==this.kind_){if(!d.cues){d["mode"]="hidden";window.setTimeout(vjs.bind(this,function(){this.createMenu()}),100)}else{e=d;break}}}var g=this.menu;if(g===undefined){g=new vjs.Menu(this.player_);g.contentEl().appendChild(vjs.createEl("li",{className:"vjs-menu-title",innerHTML:vjs.capitalize(this.kind_),tabindex:-1}))}if(e){var h=e["cues"],i,j;b=0;c=h.length;for(;b<c;b++){i=h[b];j=new vjs.ChaptersTrackMenuItem(this.player_,{track:e,cue:i});f.push(j);g.addChild(j)}this.addChild(g)}if(this.items.length>0){this.show()}return g};vjs.ChaptersTrackMenuItem=vjs.MenuItem.extend({init:function(a,b){var c=this.track=b["track"],d=this.cue=b["cue"],e=a.currentTime();b["label"]=d.text;b["selected"]=d["startTime"]<=e&&e<d["endTime"];vjs.MenuItem.call(this,a,b);c.addEventListener("cuechange",vjs.bind(this,this.update))}});vjs.ChaptersTrackMenuItem.prototype.onClick=function(){vjs.MenuItem.prototype.onClick.call(this);this.player_.currentTime(this.cue.startTime);this.update(this.cue.startTime)};vjs.ChaptersTrackMenuItem.prototype.update=function(){var a=this.cue,b=this.player_.currentTime();this.selected(a["startTime"]<=b&&b<a["endTime"])}})();(function(){"use strict";vjs.TextTrackSettings=vjs.Component.extend({init:function(a,b){vjs.Component.call(this,a,b);this.hide();vjs.on(this.el().querySelector(".vjs-done-button"),"click",vjs.bind(this,function(){this.saveSettings();this.hide()}));vjs.on(this.el().querySelector(".vjs-default-button"),"click",vjs.bind(this,function(){this.el().querySelector(".vjs-fg-color > select").selectedIndex=0;this.el().querySelector(".vjs-bg-color > select").selectedIndex=0;this.el().querySelector(".window-color > select").selectedIndex=0;this.el().querySelector(".vjs-text-opacity > select").selectedIndex=0;this.el().querySelector(".vjs-bg-opacity > select").selectedIndex=0;this.el().querySelector(".vjs-window-opacity > select").selectedIndex=0;this.el().querySelector(".vjs-edge-style select").selectedIndex=0;this.el().querySelector(".vjs-font-family select").selectedIndex=0;this.el().querySelector(".vjs-font-percent select").selectedIndex=2;this.updateDisplay()}));vjs.on(this.el().querySelector(".vjs-fg-color > select"),"change",vjs.bind(this,this.updateDisplay));vjs.on(this.el().querySelector(".vjs-bg-color > select"),"change",vjs.bind(this,this.updateDisplay));vjs.on(this.el().querySelector(".window-color > select"),"change",vjs.bind(this,this.updateDisplay));vjs.on(this.el().querySelector(".vjs-text-opacity > select"),"change",vjs.bind(this,this.updateDisplay));vjs.on(this.el().querySelector(".vjs-bg-opacity > select"),"change",vjs.bind(this,this.updateDisplay));vjs.on(this.el().querySelector(".vjs-window-opacity > select"),"change",vjs.bind(this,this.updateDisplay));vjs.on(this.el().querySelector(".vjs-font-percent select"),"change",vjs.bind(this,this.updateDisplay));vjs.on(this.el().querySelector(".vjs-edge-style select"),"change",vjs.bind(this,this.updateDisplay));vjs.on(this.el().querySelector(".vjs-font-family select"),"change",vjs.bind(this,this.updateDisplay));if(a.options()["persistTextTrackSettings"]){this.restoreSettings()}}});vjs.TextTrackSettings.prototype.createEl=function(){return vjs.Component.prototype.createEl.call(this,"div",{className:"vjs-caption-settings vjs-modal-overlay",innerHTML:c()})};vjs.TextTrackSettings.prototype.getValues=function(){var b,c,d,e,f,g,h,i,j,k,l,m;b=this.el();f=a(b.querySelector(".vjs-edge-style select"));g=a(b.querySelector(".vjs-font-family select"));h=a(b.querySelector(".vjs-fg-color > select"));d=a(b.querySelector(".vjs-text-opacity > select"));i=a(b.querySelector(".vjs-bg-color > select"));c=a(b.querySelector(".vjs-bg-opacity > select"));j=a(b.querySelector(".window-color > select"));e=a(b.querySelector(".vjs-window-opacity > select"));m=window["parseFloat"](a(b.querySelector(".vjs-font-percent > select")));k={backgroundOpacity:c,textOpacity:d,windowOpacity:e,edgeStyle:f,fontFamily:g,color:h,backgroundColor:i,windowColor:j,fontPercent:m};for(l in k){if(k[l]===""||k[l]==="none"||l==="fontPercent"&&k[l]===1){delete k[l]}}return k};vjs.TextTrackSettings.prototype.setValues=function(a){var c=this.el(),d;b(c.querySelector(".vjs-edge-style select"),a.edgeStyle);b(c.querySelector(".vjs-font-family select"),a.fontFamily);b(c.querySelector(".vjs-fg-color > select"),a.color);b(c.querySelector(".vjs-text-opacity > select"),a.textOpacity);b(c.querySelector(".vjs-bg-color > select"),a.backgroundColor);b(c.querySelector(".vjs-bg-opacity > select"),a.backgroundOpacity);b(c.querySelector(".window-color > select"),a.windowColor);b(c.querySelector(".vjs-window-opacity > select"),a.windowOpacity);d=a.fontPercent;if(d){d=d.toFixed(2)}b(c.querySelector(".vjs-font-percent > select"),d)};vjs.TextTrackSettings.prototype.restoreSettings=function(){var a;try{a=JSON.parse(window.localStorage.getItem("vjs-text-track-settings"))}catch(b){}if(a){this.setValues(a)}};vjs.TextTrackSettings.prototype.saveSettings=function(){var a;if(!this.player_.options()["persistTextTrackSettings"]){return}a=this.getValues();try{if(!vjs.isEmpty(a)){window.localStorage.setItem("vjs-text-track-settings",JSON.stringify(a))}else{window.localStorage.removeItem("vjs-text-track-settings")}}catch(b){}};vjs.TextTrackSettings.prototype.updateDisplay=function(){var a=this.player_.getChild("textTrackDisplay");if(a){a.updateDisplay()}};function a(a){var b;if(a.selectedOptions){b=a.selectedOptions[0]}else if(a.options){b=a.options[a.options.selectedIndex]}return b.value}function b(a,b){var c,d;if(!b){return}for(c=0;c<a.options.length;c++){d=a.options[c];if(d.value===b){break}}a.selectedIndex=c}function c(){return'<div class="vjs-tracksettings">'+'<div class="vjs-tracksettings-colors">'+'<div class="vjs-fg-color vjs-tracksetting">'+'<label class="vjs-label">Foreground</label>'+"<select>"+'<option value="">---</option>'+'<option value="#FFF">White</option>'+'<option value="#000">Black</option>'+'<option value="#F00">Red</option>'+'<option value="#0F0">Green</option>'+'<option value="#00F">Blue</option>'+'<option value="#FF0">Yellow</option>'+'<option value="#F0F">Magenta</option>'+'<option value="#0FF">Cyan</option>'+"</select>"+'<span class="vjs-text-opacity vjs-opacity">'+"<select>"+'<option value="">---</option>'+'<option value="1">Opaque</option>'+'<option value="0.5">Semi-Opaque</option>'+"</select>"+"</span>"+"</div>"+'<div class="vjs-bg-color vjs-tracksetting">'+'<label class="vjs-label">Background</label>'+"<select>"+'<option value="">---</option>'+'<option value="#FFF">White</option>'+'<option value="#000">Black</option>'+'<option value="#F00">Red</option>'+'<option value="#0F0">Green</option>'+'<option value="#00F">Blue</option>'+'<option value="#FF0">Yellow</option>'+'<option value="#F0F">Magenta</option>'+'<option value="#0FF">Cyan</option>'+"</select>"+'<span class="vjs-bg-opacity vjs-opacity">'+"<select>"+'<option value="">---</option>'+'<option value="1">Opaque</option>'+'<option value="0.5">Semi-Transparent</option>'+'<option value="0">Transparent</option>'+"</select>"+"</span>"+"</div>"+'<div class="window-color vjs-tracksetting">'+'<label class="vjs-label">Window</label>'+"<select>"+'<option value="">---</option>'+'<option value="#FFF">White</option>'+'<option value="#000">Black</option>'+'<option value="#F00">Red</option>'+'<option value="#0F0">Green</option>'+'<option value="#00F">Blue</option>'+'<option value="#FF0">Yellow</option>'+'<option value="#F0F">Magenta</option>'+'<option value="#0FF">Cyan</option>'+"</select>"+'<span class="vjs-window-opacity vjs-opacity">'+"<select>"+'<option value="">---</option>'+'<option value="1">Opaque</option>'+'<option value="0.5">Semi-Transparent</option>'+'<option value="0">Transparent</option>'+"</select>"+"</span>"+"</div>"+"</div>"+'<div class="vjs-tracksettings-font">'+'<div class="vjs-font-percent vjs-tracksetting">'+'<label class="vjs-label">Font Size</label>'+"<select>"+'<option value="0.50">50%</option>'+'<option value="0.75">75%</option>'+'<option value="1.00" selected>100%</option>'+'<option value="1.25">125%</option>'+'<option value="1.50">150%</option>'+'<option value="1.75">175%</option>'+'<option value="2.00">200%</option>'+'<option value="3.00">300%</option>'+'<option value="4.00">400%</option>'+"</select>"+"</div>"+'<div class="vjs-edge-style vjs-tracksetting">'+'<label class="vjs-label">Text Edge Style</label>'+"<select>"+'<option value="none">None</option>'+'<option value="raised">Raised</option>'+'<option value="depressed">Depressed</option>'+'<option value="uniform">Uniform</option>'+'<option value="dropshadow">Dropshadow</option>'+"</select>"+"</div>"+'<div class="vjs-font-family vjs-tracksetting">'+'<label class="vjs-label">Font Family</label>'+"<select>"+'<option value="">Default</option>'+'<option value="monospaceSerif">Monospace Serif</option>'+'<option value="proportionalSerif">Proportional Serif</option>'+'<option value="monospaceSansSerif">Monospace Sans-Serif</option>'+'<option value="proportionalSansSerif">Proportional Sans-Serif</option>'+'<option value="casual">Casual</option>'+'<option value="script">Script</option>'+'<option value="small-caps">Small Caps</option>'+"</select>"+"</div>"+"</div>"+"</div>"+'<div class="vjs-tracksettings-controls">'+'<button class="vjs-default-button">Defaults</button>'+'<button class="vjs-done-button">Done</button>'+"</div>"}})();vjs.JSON;if(typeof window.JSON!=="undefined"&&typeof window.JSON.parse==="function"){vjs.JSON=window.JSON}else{vjs.JSON={};var cx=/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g;vjs.JSON.parse=function(text,reviver){var j;function walk(a,b){var c,d,e=a[b];if(e&&typeof e==="object"){for(c in e){if(Object.prototype.hasOwnProperty.call(e,c)){d=walk(e,c);if(d!==undefined){e[c]=d}else{delete e[c]}}}}return reviver.call(a,b,e)}text=String(text);cx.lastIndex=0;if(cx.test(text)){text=text.replace(cx,function(a){return"\\u"+("0000"+a.charCodeAt(0).toString(16)).slice(-4)})}if(/^[\],:{}\s]*$/.test(text.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:\s*\[)+/g,""))){j=eval("("+text+")");return typeof reviver==="function"?walk({"":j},""):j}throw new SyntaxError("JSON.parse(): invalid or malformed JSON data")}}vjs.autoSetup=function(){var a,b,c,d,e;var f=document.getElementsByTagName("video");var g=document.getElementsByTagName("audio");var h=[];if(f&&f.length>0){for(d=0,e=f.length;d<e;d++){h.push(f[d])}}if(g&&g.length>0){for(d=0,e=g.length;d<e;d++){h.push(g[d])}}if(h&&h.length>0){for(d=0,e=h.length;d<e;d++){b=h[d];if(b&&b.getAttribute){if(b["player"]===undefined){a=b.getAttribute("data-setup");if(a!==null){c=videojs(b)}}}else{vjs.autoSetupTimeout(1);break}}}else if(!vjs.windowLoaded){vjs.autoSetupTimeout(1)}};vjs.autoSetupTimeout=function(a){setTimeout(vjs.autoSetup,a)};if(document.readyState==="complete"){vjs.windowLoaded=true}else{vjs.one(window,"load",function(){vjs.windowLoaded=true})}vjs.autoSetupTimeout(1);vjs.plugin=function(a,b){vjs.Player.prototype[a]=b}}videojs=window.videojs;bc=function(a){var b,c,d,e,f,g,h,i,j,k,l,m;if(!videojs.TOUCH_ENABLED){a.className+=" vjs-mouse";if(iframe){iframe.className+=" vjs-mouse"}}else if(/iphone/i.test(navigator.userAgent)){if(!videojs.IS_IPAD){a.className+=" vjs-native"}}e={};m=/Safari/i.test(videojs.USER_AGENT)&&!videojs.IS_CHROME&&!videojs.IS_ANDROID;if(!videojs.IS_IOS&&!m){e.html5={nativeCaptions:false}}k=!!a.querySelector("source");j=!!a.querySelector("track");l=a.hasAttribute("poster");if(videojs.TOUCH_ENABLED){e.inactivityTimeout=0}c=a.getAttribute("height")||undefined;d=a.getAttribute("width")||undefined;(function(){width="";height="";if(!/vw/.test(height)||!iframe){(function(){var b,f,g,h,i,j,k,l,m,n;n=computedStyle(a,"width");m=computedStyle(a,"height");width=width||d;height=height||c;if(n!=="300px"&&m!=="150px"){width=width||n;height=height||m}if(width&&!/%$/.test(width)){f=parseFloat(width);b=parseFloat(height);g=b/f*100+"vw";h=f/b*100+"vh";e.vhunit=g;e.vwunit=h;if(/vw/.test(height)&&!iframe){g=height;h=width}}i=[".bc-player-default_default:-webkit-full-screen",".bc-player-default_default:-moz-full-screen",".bc-player-default_default:-ms-fullscreen",".bc-player-default_default:full-screen"];if(!g||!h){j="height: 100% !important; width: 100% !important; "}else{j="height: "+g+" !important; "+"width: "+h+" !important; "}k=document.styleSheets[0];for(l=0;l<i.length;l++){addRule(k,i[l],j)}if(g&&h){addRule(k,".bc-iframe body","height:"+g+"; width:"+h+";")}})()}})();if(!("addEventListener"in a)){a.removeAttribute("height");a.removeAttribute("width")}e=videojs.util.mergeOptions(e,{width:d,height:c,nativeControlsForTouch:useNativeControlsOnAndroid(),controls:true,persistTextTrackSettings:true,autoplay:false,"vtt.js":"//players.brightcove.net/1719543778001/vttjs/dist/vtt.min.js",children:{controlBar:{children:{fullscreenToggle:true,volumeMenuButton:{Ae:{vertical:true},volumeBar:{vertical:true}},muteToggle:false,volumeControl:false}}}});if(iframe){f=window.location.search.match(/[&?]language=([^&#]*)/i);g=window.location.search.match(/[&?]autoplay/i);h=window.location.search.match(/[&?]preload=([^&#]*)/i);if(f){e.language=decodeURIComponent(f[1])}if(g){e.autoplay=true}if(h){e.preload=decodeURIComponent(h[1])}}(function(){var b=document.createElement("div");b.innerHTML="\x3c!--[if lt IE 9]><i/><![endif]--\x3e";if(b.getElementsByTagName("i").length>0){a.className+=" ie8";if(/vh/.test(e.width)||/vw/.test(e.height)){e.width=undefined;e.height=undefined}e.children.controlBar.children.volumeMenuButton=false;e.children.controlBar.children.muteToggle={};e.children.controlBar.children.volumeControl={}}})();if(!videojs.Hls){(function(a){var b=0,c=a.MediaSource||a.WebKitMediaSource||{},d=a.URL||{},e,f=/video\/flv(;\s*codecs=["']vp6,aac["'])?$/,g="blob:vjs-media-source/";e=function(){};e.prototype.init=function(){this.listeners=[]};e.prototype.addEventListener=function(a,b){if(!this.listeners[a]){this.listeners[a]=[]}this.listeners[a].unshift(b)};e.prototype.removeEventListener=function(a,b){var c=this.listeners[a],d=c.length;while(d--){if(c[d]===b){return c.splice(d,1)}}};e.prototype.trigger=function(a){var b=this.listeners[a.type]||[],c=b.length;while(c--){b[c](a)}};videojs.MediaSource=function(){var a=this;videojs.MediaSource.prototype.init.call(this);this.sourceBuffers=[];this.readyState="closed";this.listeners={sourceopen:[function(b){a.swfObj=document.getElementById(b.swfId);a.readyState="open";if(a.swfObj){a.swfObj.vjs_load()}}],webkitsourceopen:[function(b){a.trigger({type:"sourceopen"})}]}};videojs.MediaSource.prototype=new e;videojs.MediaSource.BYTES_PER_SECOND_GOAL=4*1024*1024;videojs.MediaSource.TICKS_PER_SECOND=60;videojs.MediaSource.prototype.addSourceBuffer=function(a){var b;if(f.test(a)){b=new videojs.SourceBuffer(this)}else if(this.nativeSource){b=this.nativeSource.addSourceBuffer.apply(this.nativeSource,arguments)}else{throw new Error("NotSupportedError (Video.js)")}this.sourceBuffers.push(b);return b};videojs.MediaSource.prototype.endOfStream=function(){this.readyState="ended"};videojs.mediaSources={};videojs.MediaSource.open=function(a,b){var c=videojs.mediaSources[a];if(c){c.trigger({type:"sourceopen",swfId:b})}else{throw new Error("Media Source not found (Video.js)")}};videojs.SourceBuffer=function(b){var c=this,d=[],e=0,f=function(b){a.setTimeout(b,Math.ceil(1e3/videojs.MediaSource.TICKS_PER_SECOND))},g=function(){var b,h,i,j,k,l="";if(!d.length){return}if(document.hidden){k=videojs.MediaSource.BYTES_PER_SECOND_GOAL}else{k=Math.ceil(videojs.MediaSource.BYTES_PER_SECOND_GOAL/videojs.MediaSource.TICKS_PER_SECOND)}j=new Uint8Array(Math.min(k,e));h=j.byteLength;while(h){b=d[0].subarray(0,h);j.set(b,j.byteLength-h);if(b.byteLength<d[0].byteLength){d[0]=d[0].subarray(h)}else{d.shift()}h-=b.byteLength}e-=j.byteLength;for(h=0,i=j.byteLength;h<i;h++){l+=String.fromCharCode(j[h])}b64str=a.btoa(l);c.source.swfObj.CallFunction('<invoke name="vjs_appendBuffer"'+'returntype="javascript"><arguments><string>'+b64str+"</string></arguments></invoke>");if(e!==0){f(g)}else{c.updating=false;c.trigger({type:"updateend"});if(c.source.readyState==="ended"){c.source.swfObj.vjs_endOfStream()}}};videojs.SourceBuffer.prototype.init.call(this);this.source=b;this.updating=false;this.appendBuffer=function(a){var b;if(this.updating){b=new Error("SourceBuffer.append() cannot be called "+"while an update is in progress");b.name="InvalidStateError";b.code=11;throw b}if(d.length===0){f(g)}this.updating=true;this.source.readyState="open";this.trigger({type:"update"});d.push(a);e+=a.byteLength};this.abort=function(){d=[];e=0;this.source.swfObj.vjs_abort();if(this.updating){this.updating=false;this.trigger({type:"updateend"})}}};videojs.SourceBuffer.prototype=new e;videojs.URL={createObjectURL:function(a){var c=g+b;b++;videojs.mediaSources[c]=a;return c}};videojs.plugin("mediaSource",function(a){var b=this;b.on("loadstart",function(){var a=b.currentSrc(),e=function(a){f.trigger(a)},f;if(b.techName==="Html5"&&a.indexOf(g)===0){f=videojs.mediaSources[a];if(!f.nativeUrl){f.nativeSource=new c;f.nativeSource.addEventListener("sourceopen",e,false);f.nativeSource.addEventListener("webkitsourceopen",e,false);f.nativeUrl=d.createObjectURL(f.nativeSource)}b.src(f.nativeUrl)}})})})(this);(function(a,b,c,d){"use strict";var e=1.1,f=500,g,h,i;h=function(a){return a.retries&&a.retries>=2};b.Hls=b.Flash.extend({init:function(a,c,d){var e=c.source,f=a.options();a.hls=this;delete c.source;c.swf=f.flash.swf;b.Flash.call(this,a,c,d);c.source=e;this.bytesReceived=0;this.hasPlayed_=false;this.on(a,"loadstart",function(){this.hasPlayed_=false;this.one(this.mediaSource,"sourceopen",this.setupFirstPlay)});this.on(a,["play","loadedmetadata"],this.setupFirstPlay);this.currentTime=b.Hls.prototype.currentTime;this.setCurrentTime=b.Hls.prototype.setCurrentTime;this.segmentBuffer_=[];this.startCheckingBuffer_();b.Hls.prototype.src.call(this,c.source&&c.source.src)}});b.options.techOrder.unshift("hls");b.Hls.GOAL_BUFFER_LENGTH=30;b.Hls.LIVE_SYNC_DURATION_COUNT=3;b.Hls.prototype.src=function(a){var c=this,e=this.player(),f=e.options().hls||{},h,i,j;if(!a){return}if(this.src_){this.resetSrc_()}this.src_=a;h=new b.MediaSource;j={src:b.URL.createObjectURL(h),type:"video/flv"};this.mediaSource=h;this.segmentBuffer_=[];this.segmentParser_=new b.Hls.SegmentParser;this.setupMetadataCueTranslation_();this.mediaSource.addEventListener("sourceopen",b.bind(this,this.handleSourceOpen));if(this.playlists){this.playlists.dispose()}this.mediaIndex=0;this.playlists=new b.Hls.PlaylistLoader(this.src_,f.withCredentials);this.playlists.on("loadedmetadata",b.bind(this,function(){var a,c,f,g,h,j,k;i=this.playlists.media();if(this.bandwidth===d){this.setBandwidth({bandwidth:this.playlists.bandwidth*5})}a=this.selectPlaylist();f=i.attributes&&i.attributes.BANDWIDTH||0;g=a.attributes&&a.attributes.BANDWIDTH||0;h=i.segments&&i.segments[this.mediaIndex].duration||i.targetDuration;j=h*g/this.bandwidth;if(!j){j=Infinity}k=10;if(g>f&&j<=k){this.playlists.media(a);c=b.bind(this,function(){this.setupFirstPlay();this.fillBuffer();e.trigger("loadedmetadata");this.playlists.off("loadedplaylist",c)});this.playlists.on("loadedplaylist",c)}else{this.setupFirstPlay();this.fillBuffer();e.trigger("loadedmetadata")}}));this.playlists.on("error",b.bind(this,function(){e.error(this.playlists.error)}));this.playlists.on("loadedplaylist",b.bind(this,function(){var a=this.playlists.media();if(!a){return}this.updateDuration(this.playlists.media());this.mediaIndex=b.Hls.translateMediaIndex(this.mediaIndex,i,a);i=a;this.fetchKeys_()}));this.playlists.on("mediachange",b.bind(this,function(){if(g){this.cancelKeyXhr()}e.trigger("mediachange")}));this.player().ready(function(){if(!c.el()){return}c.el().vjs_src(j.src)})};b.Hls.getMediaIndexForLive_=function(a){if(!a.segments){return 0}var c=a.segments.length,d=0,e=(a.targetDuration||10)*b.Hls.LIVE_SYNC_DURATION_COUNT;while(d<e&&c>0){d+=a.segments[c-1].duration;c--}return c};b.Hls.prototype.handleSourceOpen=function(){var a=this.player(),b=this.mediaSource.addSourceBuffer('video/flv; codecs="vp6,aac"');this.sourceBuffer=b;if(a.options().autoplay){a.play()}b.appendBuffer(this.segmentParser_.getFlvHeader())};b.Hls.prototype.setupMetadataCueTranslation_=function(){var a=this,c=a.segmentParser_.metadataStream,d;if(!a.player().addTextTrack){return}c.on("data",function(e){var f,g;if(!d){d=a.player().addTextTrack("metadata","Timed Metadata");d.inBandMetadataTrackDispatchType=b.Hls.SegmentParser.STREAM_TYPES.metadata.toString(16).toUpperCase();for(f=0;f<c.descriptor.length;f++){g=("00"+c.descriptor[f].toString(16).toUpperCase()).slice(-2);d.inBandMetadataTrackDispatchType+=g}}a.segmentBuffer_[0].pendingMetadata.push({textTrack:d,metadata:e})});a.on(a.player(),"seeking",function(){var c,e,f;if(!d){return}c=a.playlists.media();e=a.playlists.expiredPreDiscontinuity_+a.playlists.expiredPostDiscontinuity_;e+=b.Hls.Playlist.duration(c,c.mediaSequence,c.mediaSequence+a.mediaIndex);f=d.cues.length;while(f--){if(d.cues[f].startTime>=e){d.removeCue(d.cues[f])}}})};b.Hls.prototype.addCuesForMetadata_=function(c){var d,e,f,g,h,i,j,k,l;j=this.playlists.expiredPreDiscontinuity_;j+=this.playlists.expiredPostDiscontinuity_;j+=b.Hls.Playlist.duration(c.playlist,c.playlist.mediaSequence,c.playlist.mediaSequence+c.mediaIndex);i=c.playlist.segments[c.mediaIndex];h=Math.min(isFinite(i.minVideoPts)?i.minVideoPts:Infinity,isFinite(i.minAudioPts)?i.minAudioPts:Infinity);while(c.pendingMetadata.length){g=c.pendingMetadata[0].metadata;k=c.pendingMetadata[0].textTrack;for(d=0;d<g.frames.length;d++){f=g.frames[d];l=j+(g.pts-h)*.001;e=new a.VTTCue(l,l,f.value||f.url||"");e.frame=f;e.pts_=g.pts;k.addCue(e)}c.pendingMetadata.shift()}};b.Hls.prototype.setupFirstPlay=function(){var a,b;b=this.playlists.media();if(!this.hasPlayed_&&this.sourceBuffer&&b&&this.paused()===false){this.hasPlayed_=true;if(this.duration()===Infinity){a=this.seekable();if(a.length){this.setCurrentTime(a.end(0))}}}};b.Hls.prototype.play=function(){if(this.ended()){this.mediaIndex=0}if(!this.hasPlayed_){b.Flash.prototype.play.apply(this,arguments);return this.setupFirstPlay()}if(this.duration()===Infinity&&this.currentTime()<this.seekable().start(0)){this.setCurrentTime(this.seekable().start(0))}b.Flash.prototype.play.apply(this,arguments)};b.Hls.prototype.currentTime=function(){if(this.lastSeekedTime_){return this.lastSeekedTime_}if(!this.el()||!this.el().vjs_getProperty){return 0}return this.el().vjs_getProperty("currentTime")};b.Hls.prototype.setCurrentTime=function(a){if(!(this.playlists&&this.playlists.media())){return 0}if(!this.playlists.media().segments){return 0}if(a<this.seekable().start(0)){a=this.seekable().start(0)}else if(a>this.seekable().end(0)){a=this.seekable().end(0)}this.lastSeekedTime_=a;this.mediaIndex=this.playlists.getMediaIndexForTime_(a);if(this.sourceBuffer){this.sourceBuffer.abort()}this.cancelSegmentXhr();if(g){g.aborted=true;this.cancelKeyXhr()}this.segmentBuffer_=[];this.fillBuffer(a*1e3)};b.Hls.prototype.duration=function(){var a=this.playlists;if(a){return b.Hls.Playlist.duration(a.media())}return 0};b.Hls.prototype.seekable=function(){var a,c,d;if(!this.playlists){return b.createTimeRange()}d=this.playlists.media();if(!d){return b.createTimeRange()}a=b.Hls.Playlist.seekable(d);if(!a.length){return a}c=this.playlists.expiredPostDiscontinuity_-this.playlists.expiredPreDiscontinuity_;return b.createTimeRange(c,c+(a.end(0)-a.start(0))); };b.Hls.prototype.updateDuration=function(a){var c=this.player(),d=c.duration(),e=b.Hls.Playlist.duration(a);if(d!==e){c.trigger("durationchange")}};b.Hls.prototype.resetSrc_=function(){this.cancelSegmentXhr();this.cancelKeyXhr();if(this.sourceBuffer){this.sourceBuffer.abort()}};b.Hls.prototype.cancelKeyXhr=function(){if(g){g.onreadystatechange=null;g.abort();g=null}};b.Hls.prototype.cancelSegmentXhr=function(){if(this.segmentXhr_){this.segmentXhr_.onreadystatechange=null;this.segmentXhr_.abort();this.segmentXhr_=null}};b.Hls.prototype.dispose=function(){this.stopCheckingBuffer_();if(this.playlists){this.playlists.dispose()}this.resetSrc_();b.Flash.prototype.dispose.call(this)};b.Hls.prototype.selectPlaylist=function(){var a=this.player(),c,d=this.playlists.master.playlists.slice(),f=[],g=d.length,h,i,j,k,l,m,n;d.sort(b.Hls.comparePlaylistBandwidth);while(g--){h=d[g];if(!h.attributes||!h.attributes.BANDWIDTH){continue}c=h.attributes.BANDWIDTH*e;if(c<a.hls.bandwidth){f.push(h);if(!j){j=h}}}g=f.length;f.sort(b.Hls.comparePlaylistResolution);h=null;m=parseInt(getComputedStyle(a.el()).width,10);n=parseInt(getComputedStyle(a.el()).height,10);while(g--){i=h;h=f[g];if(!h.attributes||!h.attributes.RESOLUTION||!h.attributes.RESOLUTION.width||!h.attributes.RESOLUTION.height){continue}if(h.attributes.RESOLUTION.width===m&&h.attributes.RESOLUTION.height===n){k=null;l=h;break}else if(h.attributes.RESOLUTION.width<m&&h.attributes.RESOLUTION.height<n){if(i&&i.attributes&&i.attributes.RESOLUTION&&i.attributes.RESOLUTION.width&&i.attributes.RESOLUTION.height){k=i}l=h;break}}return k||l||j||d[0]};b.Hls.prototype.checkBuffer_=function(){if(this.checkBufferTimeout_){a.clearTimeout(this.checkBufferTimeout_);this.checkBufferTimeout_=null}this.fillBuffer();this.drainBuffer();this.checkBufferTimeout_=a.setTimeout(b.bind(this,this.checkBuffer_),f)};b.Hls.prototype.startCheckingBuffer_=function(){this.player().on("waiting",b.bind(this,this.drainBuffer));this.checkBuffer_()};b.Hls.prototype.stopCheckingBuffer_=function(){a.clearTimeout(this.checkBufferTimeout_);this.checkBufferTimeout_=null;this.player().off("waiting",this.drainBuffer)};b.Hls.prototype.fillBuffer=function(a){var c=this.player(),e=c.buffered(),f=0,g,h;if(!c.hasClass("vjs-has-started")&&c.options().preload==="none"){return}if(!c.currentSrc()||!this.playlists){return}if(this.segmentXhr_){return}if(this.playlists.state==="HAVE_NOTHING"||!this.playlists.media()||!this.playlists.media().segments){return}if(!this.playlists.media().endList&&!c.hasClass("vjs-has-started")&&a===d){return}if(this.playlists.state==="SWITCHING_MEDIA"){return}g=this.playlists.media().segments[this.mediaIndex];if(!g){return}if(e){f=c.buffered().end(0)-c.currentTime()}if(typeof a!=="number"&&f>=b.Hls.GOAL_BUFFER_LENGTH){return}h=this.playlistUriToUrl(g.uri);this.loadSegment(h,a)};b.Hls.prototype.playlistUriToUrl=function(a){var b;if(this.playlists.media().uri===this.src_){b=i(this.src_,a)}else{b=i(i(this.src_,this.playlists.media().uri||""),a)}return b};b.Hls.prototype.setBandwidth=function(a){var b=this;b.segmentXhrTime=a.roundTripTime;b.bandwidth=a.bandwidth;b.bytesReceived+=a.bytesReceived||0;b.trigger("bandwidthupdate")};b.Hls.prototype.loadSegment=function(a,c){var d=this,e=this.player(),f=e.options().hls||{};this.segmentXhr_=b.Hls.xhr({url:a,responseType:"arraybuffer",withCredentials:f.withCredentials},function(a,b){var f;d.segmentXhr_=null;if(a){if(a==="timeout"){d.bandwidth=1;return d.playlists.media(d.selectPlaylist())}d.error={status:this.status,message:"HLS segment request error at URL: "+b,code:this.status>=500?4:2};d.mediaIndex++;return}if(!this.response){return}d.setBandwidth(this);f={mediaIndex:d.mediaIndex,playlist:d.playlists.media(),offset:c,bytes:null,encryptedBytes:null,decrypter:null,pendingMetadata:[]};if(f.playlist.segments[f.mediaIndex].key){f.encryptedBytes=new Uint8Array(this.response)}else{f.bytes=new Uint8Array(this.response)}d.segmentBuffer_.push(f);e.trigger("progress");d.drainBuffer();d.mediaIndex++;d.playlists.media(d.selectPlaylist())})};b.Hls.prototype.drainBuffer=function(a){var c=0,d,e,f,g,i,j,k,l,m,n,o=0,p=this.segmentBuffer_;if(!p.length||!this.sourceBuffer){return}if(this.sourceBuffer.updating){return}d=p[0];e=d.mediaIndex;f=d.playlist;g=d.offset;j=d.bytes;k=f.segments[e];if(k.key&&!j){if(h(k.key)){return p.shift()}else if(!k.key.bytes){return this.fetchKeys_()}else if(d.decrypter){return}else{m=k.key.iv||new Uint32Array([0,0,0,e+f.mediaSequence]);l=new b.Hls.Decrypter(d.encryptedBytes,k.key.bytes,m,function(a,b){d.bytes=b});d.decrypter=l;return}}a=a||{};this.segmentParser_.parseSegmentBinaryData(j);this.segmentParser_.flushTags();i=[];if(this.segmentParser_.tagsAvailable()){if(this.segmentParser_.stats.h264Tags()){k.minVideoPts=this.segmentParser_.stats.minVideoPts();k.maxVideoPts=this.segmentParser_.stats.maxVideoPts()}if(this.segmentParser_.stats.aacTags()){k.minAudioPts=this.segmentParser_.stats.minAudioPts();k.maxAudioPts=this.segmentParser_.stats.maxAudioPts()}}while(this.segmentParser_.tagsAvailable()){i.push(this.segmentParser_.getNextTag())}this.addCuesForMetadata_(d);this.updateDuration(this.playlists.media());if(typeof g==="number"){if(i.length){o=this.playlists.expiredPostDiscontinuity_+this.playlists.expiredPreDiscontinuity_;o+=b.Hls.Playlist.duration(f,f.mediaSequence,f.mediaSequence+e);o=g-o*1e3;n=o+i[0].pts;while(i[c+1]&&i[c].pts<n){c++}this.el().vjs_setProperty("currentTime",(i[c].pts-n+g)*.001);i=i.slice(c)}this.lastSeekedTime_=null}if(k.discontinuity&&i.length){this.el().vjs_discontinuity()}(function(){var a=0,b,d;for(c=0;c<i.length;c++){a+=i[c].bytes.byteLength}d=new Uint8Array(a);for(c=0,b=0;c<i.length;c++){d.set(i[c].bytes,b);b+=i[c].bytes.byteLength}this.sourceBuffer.appendBuffer(d)}).call(this);p.shift();if(this.duration()!==Infinity&&e+1===f.segments.length){this.mediaSource.endOfStream()}};b.Hls.prototype.fetchKeys_=function(){var a,c,d,e,f,i,j,k;if(g||!this.segmentBuffer_.length){return}d=this;e=this.player();f=e.options().hls||{};k=function(a){return function(b){g=null;if(b||!this.response||this.response.byteLength!==16){a.retries=a.retries||0;a.retries++;if(!this.aborted){d.fetchKeys_()}return}j=new DataView(this.response);a.bytes=new Uint32Array([j.getUint32(0),j.getUint32(4),j.getUint32(8),j.getUint32(12)]);d.checkBuffer_()}};for(a=0;a<d.segmentBuffer_.length;a++){i=d.segmentBuffer_[a].playlist.segments[d.segmentBuffer_[a].mediaIndex];c=i.key;if(!c){continue}if(!c.bytes&&!h(c)){g=b.Hls.xhr({url:this.playlistUriToUrl(c.uri),responseType:"arraybuffer",withCredentials:f.withCredentials},k(c));break}}};b.Hls.supportsNativeHls=function(){var a=c.createElement("video"),d,e;if(!b.Html5.isSupported()){return false}d=a.canPlayType("application/x-mpegURL");e=a.canPlayType("application/vnd.apple.mpegURL");return/probably|maybe/.test(d)||/probably|maybe/.test(e)}();b.Hls.isSupported=function(){return!b.Hls.supportsNativeHls&&b.Flash.isSupported()&&b.MediaSource&&a.Uint8Array};b.Hls.canPlaySource=function(a){var b=/^application\/(?:x-|vnd\.apple\.)mpegurl/i;return b.test(a.type)};b.Hls.getPlaylistDuration=function(a,c,d){b.log.warn("videojs.Hls.getPlaylistDuration is deprecated. "+"Use videojs.Hls.Playlist.duration instead");return b.Hls.Playlist.duration(a,c,d)};b.Hls.getPlaylistTotalDuration=function(a){b.log.warn("videojs.Hls.getPlaylistTotalDuration is deprecated. "+"Use videojs.Hls.Playlist.duration instead");return b.Hls.Playlist.duration(a)};b.Hls.translateMediaIndex=function(a,c,d){var e;if(a===0){return 0}if(!(d&&d.segments)){return 0}e=a+(c.mediaSequence-d.mediaSequence);if(e>d.segments.length||e<0){return b.Hls.getMediaIndexForLive_(d)+1}return e};b.Hls.getMediaIndexByTime=function(){b.log.warn("getMediaIndexByTime is deprecated. "+"Use PlaylistLoader.getMediaIndexForTime_ instead.");return 0};b.Hls.comparePlaylistBandwidth=function(b,c){var d,e;if(b.attributes&&b.attributes.BANDWIDTH){d=b.attributes.BANDWIDTH}d=d||a.Number.MAX_VALUE;if(c.attributes&&c.attributes.BANDWIDTH){e=c.attributes.BANDWIDTH}e=e||a.Number.MAX_VALUE;return d-e};b.Hls.comparePlaylistResolution=function(b,c){var d,e;if(b.attributes&&b.attributes.RESOLUTION&&b.attributes.RESOLUTION.width){d=b.attributes.RESOLUTION.width}d=d||a.Number.MAX_VALUE;if(c.attributes&&c.attributes.RESOLUTION&&c.attributes.RESOLUTION.width){e=c.attributes.RESOLUTION.width}e=e||a.Number.MAX_VALUE;if(d===e&&b.attributes.BANDWIDTH&&c.attributes.BANDWIDTH){return b.attributes.BANDWIDTH-c.attributes.BANDWIDTH}else{return d-e}};i=b.Hls.resolveUrl=function(a,b){var d=c.querySelector("base"),e=c.querySelector("head"),f=c.createElement("a"),g=d,h,i;if(d){h=d.href}else{g=e.appendChild(c.createElement("base"))}g.href=a;f.href=b;i=f.href;if(d){d.href=h}else{e.removeChild(g)}return i}})(window,window.videojs,document);(function(a,b){var c=function(){this.init=function(){var a={};this.on=function(b,c){if(!a[b]){a[b]=[]}a[b].push(c)};this.off=function(b,c){var d;if(!a[b]){return false}d=a[b].indexOf(c);a[b].splice(d,1);return d>-1};this.trigger=function(b){var c,d,e,f;c=a[b];if(!c){return}f=Array.prototype.slice.call(arguments,1);e=c.length;for(d=0;d<e;++d){c[d].apply(this,f)}};this.dispose=function(){a={}}}};c.prototype.pipe=function(a){this.on("data",function(b){a.push(b)})};a.Hls.Stream=c})(window.videojs);(function(a){a.videojs=a.videojs||{};a.videojs.Hls=a.videojs.Hls||{};var b=a.videojs.Hls;b.FlvTag=function(a,c){var d=0,e=function(a,b){var c,d=a.position+b;if(d<a.bytes.byteLength){return}c=new Uint8Array(d*2);c.set(a.bytes.subarray(0,a.position),0);a.bytes=c;a.view=new DataView(a.bytes.buffer)},f=b.FlvTag.widthBytes||new Uint8Array("width".length),g=b.FlvTag.heightBytes||new Uint8Array("height".length),h=b.FlvTag.videocodecidBytes||new Uint8Array("videocodecid".length),i;if(!b.FlvTag.widthBytes){for(i=0;i<"width".length;i++){f[i]="width".charCodeAt(i)}for(i=0;i<"height".length;i++){g[i]="height".charCodeAt(i)}for(i=0;i<"videocodecid".length;i++){h[i]="videocodecid".charCodeAt(i)}b.FlvTag.widthBytes=f;b.FlvTag.heightBytes=g;b.FlvTag.videocodecidBytes=h}this.keyFrame=false;switch(a){case b.FlvTag.VIDEO_TAG:this.length=16;break;case b.FlvTag.AUDIO_TAG:this.length=13;this.keyFrame=true;break;case b.FlvTag.METADATA_TAG:this.length=29;this.keyFrame=true;break;default:throw"Error Unknown TagType"}this.bytes=new Uint8Array(16384);this.view=new DataView(this.bytes.buffer);this.bytes[0]=a;this.position=this.length;this.keyFrame=c;this.pts=0;this.dts=0;this.writeBytes=function(a,b,c){var d=b||0,f;c=c||a.byteLength;f=d+c;e(this,c);this.bytes.set(a.subarray(d,f),this.position);this.position+=c;this.length=Math.max(this.length,this.position)};this.writeByte=function(a){e(this,1);this.bytes[this.position]=a;this.position++;this.length=Math.max(this.length,this.position)};this.writeShort=function(a){e(this,2);this.view.setUint16(this.position,a);this.position+=2;this.length=Math.max(this.length,this.position)};this.negIndex=function(a){return this.bytes[this.length-a]};this.nalUnitSize=function(){if(d===0){return 0}return this.length-(d+4)};this.startNalUnit=function(){if(d>0){throw new Error("Attempted to create new NAL wihout closing the old one")}d=this.length;this.length+=4;this.position=this.length};this.endNalUnit=function(a){var b,c;if(this.length===d+4){this.length-=4}else if(d>0){b=d+4;c=this.length-b;this.position=d;this.view.setUint32(this.position,c);this.position=this.length;if(a){a.push(this.bytes.subarray(b,b+c))}}d=0};this.writeMetaDataDouble=function(a,b){var c;e(this,2+a.length+9);this.view.setUint16(this.position,a.length);this.position+=2;if(a==="width"){this.bytes.set(f,this.position);this.position+=5}else if(a==="height"){this.bytes.set(g,this.position);this.position+=6}else if(a==="videocodecid"){this.bytes.set(h,this.position);this.position+=12}else{for(c=0;c<a.length;c++){this.bytes[this.position]=a.charCodeAt(c);this.position++}}this.position++;this.view.setFloat64(this.position,b);this.position+=8;this.length=Math.max(this.length,this.position);++d};this.writeMetaDataBoolean=function(a,b){var c;e(this,2);this.view.setUint16(this.position,a.length);this.position+=2;for(c=0;c<a.length;c++){console.assert(a.charCodeAt(c)<255);e(this,1);this.bytes[this.position]=a.charCodeAt(c);this.position++}e(this,2);this.view.setUint8(this.position,1);this.position++;this.view.setUint8(this.position,b?1:0);this.position++;this.length=Math.max(this.length,this.position);++d};this.finalize=function(){var a,f;switch(this.bytes[0]){case b.FlvTag.VIDEO_TAG:this.bytes[11]=(this.keyFrame||c?16:32)|7;this.bytes[12]=c?0:1;a=this.pts-this.dts;this.bytes[13]=(a&16711680)>>>16;this.bytes[14]=(a&65280)>>>8;this.bytes[15]=(a&255)>>>0;break;case b.FlvTag.AUDIO_TAG:this.bytes[11]=175;this.bytes[12]=c?0:1;break;case b.FlvTag.METADATA_TAG:this.position=11;this.view.setUint8(this.position,2);this.position++;this.view.setUint16(this.position,10);this.position+=2;this.bytes.set([111,110,77,101,116,97,68,97,116,97],this.position);this.position+=10;this.bytes[this.position]=8;this.position++;this.view.setUint32(this.position,d);this.position=this.length;this.bytes.set([0,0,9],this.position);this.position+=3;this.length=this.position;break}f=this.length-11;this.bytes[1]=(f&16711680)>>>16;this.bytes[2]=(f&65280)>>>8;this.bytes[3]=(f&255)>>>0;this.bytes[4]=(this.dts&16711680)>>>16;this.bytes[5]=(this.dts&65280)>>>8;this.bytes[6]=(this.dts&255)>>>0;this.bytes[7]=(this.dts&4278190080)>>>24;this.bytes[8]=0;this.bytes[9]=0;this.bytes[10]=0;e(this,4);this.view.setUint32(this.length,this.length);this.length+=4;this.position+=4;this.bytes=this.bytes.subarray(0,this.length);this.frameTime=b.FlvTag.frameTime(this.bytes);console.assert(this.bytes.byteLength===this.length);return this}};b.FlvTag.AUDIO_TAG=8;b.FlvTag.VIDEO_TAG=9;b.FlvTag.METADATA_TAG=18;b.FlvTag.isAudioFrame=function(a){return b.FlvTag.AUDIO_TAG===a[0]};b.FlvTag.isVideoFrame=function(a){return b.FlvTag.VIDEO_TAG===a[0]};b.FlvTag.isMetaData=function(a){return b.FlvTag.METADATA_TAG===a[0]};b.FlvTag.isKeyFrame=function(a){if(b.FlvTag.isVideoFrame(a)){return a[11]===23}if(b.FlvTag.isAudioFrame(a)){return true}if(b.FlvTag.isMetaData(a)){return true}return false};b.FlvTag.frameTime=function(a){var b=a[4]<<16;b|=a[5]<<8;b|=a[6]<<0;b|=a[7]<<24;return b}})(this);(function(a){a.videojs.Hls.ExpGolomb=function(a){var b=a.byteLength,c=0,d=0;this.length=function(){return 8*b};this.bitsAvailable=function(){return 8*b+d};this.loadWord=function(){var e=a.byteLength-b,f=new Uint8Array(4),g=Math.min(4,b);if(g===0){throw new Error("no bytes available")}f.set(a.subarray(e,e+g));c=new DataView(f.buffer).getUint32(0);d=g*8;b-=g};this.skipBits=function(a){var e;if(d>a){c<<=a;d-=a}else{a-=d;e=a/8;a-=e*8;b-=e;this.loadWord();c<<=a;d-=a}};this.readBits=function(a){var e=Math.min(d,a),f=c>>>32-e;console.assert(a<32,"Cannot read more than 32 bits at a time");d-=e;if(d>0){c<<=e}else if(b>0){this.loadWord()}e=a-e;if(e>0){return f<<e|this.readBits(e)}else{return f}};this.skipLeadingZeros=function(){var a;for(a=0;a<d;++a){if(0!==(c&2147483648>>>a)){c<<=a;d-=a;return a}}this.loadWord();return a+this.skipLeadingZeros()};this.skipUnsignedExpGolomb=function(){this.skipBits(1+this.skipLeadingZeros())};this.skipExpGolomb=function(){this.skipBits(1+this.skipLeadingZeros())};this.readUnsignedExpGolomb=function(){var a=this.skipLeadingZeros();return this.readBits(a+1)-1};this.readExpGolomb=function(){var a=this.readUnsignedExpGolomb();if(1&a){return 1+a>>>1}else{return-1*(a>>>1)}};this.readBoolean=function(){return 1===this.readBits(1)};this.readUnsignedByte=function(){return this.readBits(8)};this.loadWord()}})(this);(function(){var a,b=window.videojs.Hls.ExpGolomb,c=window.videojs.Hls.FlvTag;window.videojs.Hls.H264ExtraData=a=function(){this.sps=[];this.pps=[]};a.prototype.extraDataExists=function(){return this.sps.length>0};a.prototype.scaling_list=function(a,b){var c=8,d=8,e,f;for(e=0;e<a;++e){if(0!==d){f=b.readExpGolomb();d=(c+f+256)%256}c=d===0?c:d}};a.prototype.getSps0Rbsp=function(){var a=this.sps[0],b=1,c=1,d=0,e=a.byteLength-2,f=new Uint8Array(a.byteLength);while(b<e){if(a[b]===0&&a[b+1]===0&&a[b+2]===3){f.set(a.subarray(c,b+1),d);d+=b+1-c;c=b+3}b++}f.set(a.subarray(c),d);return f.subarray(0,d+(a.byteLength-c))};a.prototype.metaDataTag=function(a){var d=new c(c.METADATA_TAG),e,f,g,h,i,j,k,l,m,n,o,p=0,q=0,r=0,s=0,t,u;d.dts=a;d.pts=a;e=new b(this.getSps0Rbsp());f=e.readUnsignedByte();e.skipBits(16);e.skipUnsignedExpGolomb();if(f===100||f===110||f===122||f===244||f===44||f===83||f===86||f===118||f===128){g=e.readUnsignedExpGolomb();if(3===g){e.skipBits(1)}e.skipUnsignedExpGolomb();e.skipUnsignedExpGolomb();e.skipBits(1);if(e.readBoolean()){h=g!==3?8:12;for(i=0;i<h;++i){if(e.readBoolean()){if(i<6){this.scaling_list(16,e)}else{this.scaling_list(64,e)}}}}}e.skipUnsignedExpGolomb();j=e.readUnsignedExpGolomb();if(0===j){e.readUnsignedExpGolomb()}else if(1===j){e.skipBits(1);e.skipExpGolomb();e.skipExpGolomb();k=e.readUnsignedExpGolomb();for(i=0;i<k;++i){e.skipExpGolomb()}}e.skipUnsignedExpGolomb();e.skipBits(1);l=e.readUnsignedExpGolomb();m=e.readUnsignedExpGolomb();n=e.readBits(1);if(0===n){e.skipBits(1)}e.skipBits(1);o=e.readBoolean();if(o){p=e.readUnsignedExpGolomb();q=e.readUnsignedExpGolomb();r=e.readUnsignedExpGolomb();s=e.readUnsignedExpGolomb()}t=(l+1)*16-p*2-q*2;u=(2-n)*(m+1)*16-r*2-s*2;d.writeMetaDataDouble("videocodecid",7);d.writeMetaDataDouble("width",t);d.writeMetaDataDouble("height",u);return d};a.prototype.extraDataTag=function(a){var b,d=new c(c.VIDEO_TAG,true);d.dts=a;d.pts=a;d.writeByte(1);d.writeByte(this.sps[0][1]);d.writeByte(this.sps[0][2]);d.writeByte(this.sps[0][3]);d.writeByte(252|3);d.writeByte(224|1);d.writeShort(this.sps[0].length);d.writeBytes(this.sps[0]);d.writeByte(this.pps.length);for(b=0;b<this.pps.length;++b){d.writeShort(this.pps[b].length);d.writeBytes(this.pps[b])}return d}})();(function(a){var b=a.videojs.Hls.FlvTag,c=a.videojs.Hls.H264ExtraData,d,e;a.videojs.Hls.NALUnitType=e={unspecified:0,slice_layer_without_partitioning_rbsp_non_idr:1,slice_data_partition_a_layer_rbsp:2,slice_data_partition_b_layer_rbsp:3,slice_data_partition_c_layer_rbsp:4,slice_layer_without_partitioning_rbsp_idr:5,sei_rbsp:6,seq_parameter_set_rbsp:7,pic_parameter_set_rbsp:8,access_unit_delimiter_rbsp:9,end_of_seq_rbsp:10,end_of_stream_rbsp:11};a.videojs.Hls.H264Stream=d=function(){this._next_pts=0;this._next_dts=0;this._h264Frame=null;this._oldExtraData=new c;this._newExtraData=new c;this._nalUnitType=-1;this._state=0;this.tags=[]};d.prototype.setTimeStampOffset=function(){};d.prototype.setNextTimeStamp=function(a,b,c){this._next_pts=a;this._next_dts=b;if(c){this.finishFrame()}};d.prototype.finishFrame=function(){if(this._h264Frame){if(this._newExtraData.extraDataExists()){this._oldExtraData=this._newExtraData;this._newExtraData=new c}if(this._oldExtraData.extraDataExists()&&(this._h264Frame.keyFrame||this.tags.length===0)){this.tags.push(this._oldExtraData.metaDataTag(this._h264Frame.pts));this.tags.push(this._oldExtraData.extraDataTag(this._h264Frame.pts))}this._h264Frame.endNalUnit();this.tags.push(this._h264Frame)}this._h264Frame=null;this._nalUnitType=-1;this._state=0};d.prototype.writeBytes=function(a,c,d){var f,g,h,i;c=c||0;d=d||0;if(d<=0){return}switch(this._state){default:case 0:this._state=1;case 1:if(a[c]<=1){f=this._h264Frame?this._h264Frame.nalUnitSize():0;if(f>=1&&this._h264Frame.negIndex(1)===0){if(a[c]===1&&f>=2&&this._h264Frame.negIndex(2)===0){if(3<=f&&0===this._h264Frame.negIndex(3)){this._h264Frame.length-=3}else{this._h264Frame.length-=2}this._state=3;return this.writeBytes(a,c+1,d-1)}if(d>1&&a[c]===0&&a[c+1]===1){if(f>=2&&this._h264Frame.negIndex(2)===0){this._h264Frame.length-=2}else{this._h264Frame.length-=1}this._state=3;return this.writeBytes(a,c+2,d-2)}if(d>2&&a[c]===0&&a[c+1]===0&&a[c+2]===1){this._state=3;return this.writeBytes(a,c+3,d-3)}}}this._state=2;case 2:g=c;h=g+d;for(i=h-3;c<i;){if(a[c+2]>1){c+=3}else if(a[c+1]!==0){c+=2}else if(a[c]!==0){c+=1}else{if(a[c+2]===1){if(c>g){this._h264Frame.writeBytes(a,g,c-g)}this._state=3;c+=3;return this.writeBytes(a,c,h-c)}if(h-c>=4&&a[c+2]===0&&a[c+3]===1){if(c>g){this._h264Frame.writeBytes(a,g,c-g)}this._state=3;c+=4;return this.writeBytes(a,c,h-c)}c+=3}}this._state=1;if(this._h264Frame){this._h264Frame.writeBytes(a,g,d)}return;case 3:if(this._h264Frame){switch(this._nalUnitType){case e.seq_parameter_set_rbsp:this._h264Frame.endNalUnit(this._newExtraData.sps);break;case e.pic_parameter_set_rbsp:this._h264Frame.endNalUnit(this._newExtraData.pps);break;case e.slice_layer_without_partitioning_rbsp_idr:this._h264Frame.endNalUnit();break;default:this._h264Frame.endNalUnit();break}}this._nalUnitType=a[c]&31;if(this._h264Frame){if(this._nalUnitType===e.access_unit_delimiter_rbsp){this.finishFrame()}else if(this._nalUnitType===e.slice_layer_without_partitioning_rbsp_idr){this._h264Frame.keyFrame=true}}if(!this._h264Frame){this._h264Frame=new b(b.VIDEO_TAG);this._h264Frame.pts=this._next_pts;this._h264Frame.dts=this._next_dts}this._h264Frame.startNalUnit();this._state=2;return this.writeBytes(a,c,d)}}})(this);(function(a){var b=a.videojs.Hls.FlvTag,c=[96e3,88200,64e3,48e3,44100,32e3,24e3,22050,16e3,12e3];a.videojs.Hls.AacStream=function(){var a,d,e,f,g,h,i,j,k,l,m,n,o;this.tags=[];this.setTimeStampOffset=function(a){f=a-1e3};this.setNextTimeStamp=function(b,c,f){a=b;e=c;if(f){d=0}};this.writeBytes=function(p,q,r){var s,t,u;q=q||0;r=r||0;r=e<r?e:r;e-=r;s=q+r;while(q<s){switch(d){default:d=0;break;case 0:if(q>=s){return}if(255!==p[q]){console.assert(false,"Error no ATDS header found");q+=1;d=0;return}q+=1;d=1;break;case 1:if(q>=s){return}if(240!==(p[q]&240)){console.assert(false,"Error no ATDS header found");q+=1;d=0;return}g=!!(p[q]&1);q+=1;d=2;break;case 2:if(q>=s){return}h=((p[q]&192)>>>6)+1;i=(p[q]&60)>>>2;j=(p[q]&1)<<2;q+=1;d=3;break;case 3:if(q>=s){return}j|=(p[q]&192)>>>6;k=(p[q]&3)<<11;q+=1;d=4;break;case 4:if(q>=s){return}k|=p[q]<<3;q+=1;d=5;break;case 5:if(q>=s){return}k|=(p[q]&224)>>>5;k-=g?7:9;q+=1;d=6;break;case 6:if(q>=s){return}l=((p[q]&3)+1)*1024;m=l*1e3/c[i];t=h<<11|i<<7|j<<3;if(t!==o||a-f>=1e3){n=new b(b.METADATA_TAG);n.pts=a;n.dts=a;n.writeMetaDataDouble("audiocodecid",10);n.writeMetaDataBoolean("stereo",2===j);n.writeMetaDataDouble("audiosamplerate",c[i]);n.writeMetaDataDouble("audiosamplesize",16);this.tags.push(n);o=t;n=new b(b.AUDIO_TAG,true);n.pts=a;n.dts=n.pts;n.view.setUint16(n.position,t);n.position+=2;n.length=Math.max(n.length,n.position);this.tags.push(n);f=a}q+=1;d=7;break;case 7:if(!g){if(2>s-q){return}else{q+=2}}n=new b(b.AUDIO_TAG);n.pts=a;n.dts=a;d=8;break;case 8:while(k){if(q>=s){return}u=s-q<k?s-q:k;n.writeBytes(p,q,u);q+=u;k-=u}this.tags.push(n);d=0;a+=m}}}}})(this);(function(a,b,c){"use strict";var d=function(a,b,c){var d,e="";for(d=b;d<c;d++){e+="%"+("00"+a[d].toString(16)).slice(-2)}return e},e=function(b,c,e){return a.decodeURIComponent(d(b,c,e))},f=function(b,c,e){return a.unescape(d(b,c,e))},g={TXXX:function(a){var b;if(a.data[0]!==3){return}for(b=1;b<a.data.length;b++){if(a.data[b]===0){a.description=e(a.data,1,b);a.value=e(a.data,b+1,a.data.length-1);break}}},WXXX:function(a){var b;if(a.data[0]!==3){return}for(b=1;b<a.data.length;b++){if(a.data[b]===0){a.description=e(a.data,1,b);a.url=e(a.data,b+1,a.data.length);break}}},PRIV:function(a){var b;for(b=0;b<a.data.length;b++){if(a.data[b]===0){a.owner=f(a.data,0,b);break}}a.privateData=a.data.subarray(b+1)}},h;h=function(a){var c={debug:!!(a&&a.debug),descriptor:a&&a.descriptor},d=0,e=[],f=0,i;h.prototype.init.call(this);this.dispatchType=b.Hls.SegmentParser.STREAM_TYPES.metadata.toString(16);if(c.descriptor){for(i=0;i<c.descriptor.length;i++){this.dispatchType+=("00"+c.descriptor[i].toString(16)).slice(-2)}}this.push=function(a){var h,i,j,k,l;if(e.length===0&&(a.data.length<10||a.data[0]!=="I".charCodeAt(0)||a.data[1]!=="D".charCodeAt(0)||a.data[2]!=="3".charCodeAt(0))){if(c.debug){b.log("Skipping unrecognized metadata packet")}return}e.push(a);f+=a.data.byteLength;if(e.length===1){d=a.data[6]<<21|a.data[7]<<14|a.data[8]<<7|a.data[9];d+=10}if(f<d){return}h={data:new Uint8Array(d),frames:[],pts:e[0].pts,dts:e[0].dts};for(l=0;l<d;){h.data.set(e[0].data,l);l+=e[0].data.byteLength;f-=e[0].data.byteLength;e.shift()}i=10;if(h.data[5]&64){i+=4;i+=h.data[10]<<24|h.data[11]<<16|h.data[12]<<8|h.data[13];d-=h.data[16]<<24|h.data[17]<<16|h.data[18]<<8|h.data[19]}do{j=h.data[i+4]<<24|h.data[i+5]<<16|h.data[i+6]<<8|h.data[i+7];if(j<1){return b.log("Malformed ID3 frame encountered. Skipping metadata parsing.")}k={id:String.fromCharCode(h.data[i],h.data[i+1],h.data[i+2],h.data[i+3]),data:h.data.subarray(i+10,i+j+10)};if(g[k.id]){g[k.id](k)}h.frames.push(k);i+=10;i+=j}while(i<d);this.trigger("data",h)}};h.prototype=new b.Hls.Stream;b.Hls.MetadataStream=h})(window,window.videojs);(function(a){var b=a.videojs,c=b.Hls.FlvTag,d=b.Hls.H264Stream,e=b.Hls.AacStream,f=b.Hls.MetadataStream,g,h;b.Hls.SegmentParser=function(){var a=this,i,j=new Uint8Array(g),k=0,l=new d,m=new e;a.stream={programMapTable:{}};a.metadataStream=new f;a.getFlvHeader=function(a,b,d){var e=new Uint8Array(3+1+1+4),f=new DataView(e.buffer),g,h,i;a=a||0;b=b===undefined?true:b;d=d===undefined?true:d;f.setUint8(0,70);f.setUint8(1,76);f.setUint8(2,86);f.setUint8(3,1);f.setUint8(4,(b?4:0)|(d?1:0));f.setUint32(5,e.byteLength);if(a<=0){h=new Uint8Array(e.byteLength+4);h.set(e);h.set([0,0,0,0],e.byteLength);return h}g=new c(c.METADATA_TAG);g.pts=g.dts=0;g.writeMetaDataDouble("duration",a);i=g.finalize().length;h=new Uint8Array(e.byteLength+i);h.set(e);h.set(f.byteLength,i);return h};a.flushTags=function(){l.finishFrame()};a.tagsAvailable=function(){return l.tags.length+m.tags.length};a.getNextTag=function(){var a;if(!l.tags.length){a=m.tags.shift()}else if(!m.tags.length){a=l.tags.shift()}else if(m.tags[0].dts<l.tags[0].dts){a=m.tags.shift()}else{a=l.tags.shift()}return a.finalize()};a.parseSegmentBinaryData=function(a){var c=0,d;if(k>0){if(a.byteLength+k<g){b.log("data.length + streamBuffer.length < MP2T_PACKET_LENGTH ??");j.readBytes(a,a.length,j.length);return}else{d=a.subarray(0,g-k);j.set(d,k);i(j);j=new Uint8Array(g);k=0}}while(true){while(c<a.byteLength&&a[c]!==71){c++}if(a.byteLength-c<g){if(a.byteLength-c>0){j.set(a.subarray(c),k);k+=a.byteLength-c}return}if(i(a.subarray(c,c+g))){c+=g}else{b.log("error parsing m2ts packet, attempting to re-align");c++}}};i=function(c){var d=0,e=d+g,f=!!(c[d+1]&64),i=(c[d+1]&31)<<8|c[d+2],j=(c[d+3]&48)>>>4,k,n,o,p,q,r,s,t,u,v,w,x,y,z,A,B,C,D;d+=4;if(j>1){d+=c[d]+1}if(0===i){if(f){d+=1+c[d]}k=c[d];if(k!==0){b.log("the table_id of the PAT should be 0x00 but was"+k.toString(16))}n=!!(c[d+5]&1);if(n){o=(c[d+1]&15)<<8|c[d+2];d+=8;r=d+(o-5-4);for(;d<r;d+=4){p=c[d]<<8|c[d+1];q=(c[d+2]&31)<<8|c[d+3];if(p===0){a.stream.networkPid=q}else if(a.stream.pmtPid===undefined){a.stream.pmtPid=q}else if(a.stream.pmtPid!==q){throw new Error("TS has more that 1 program")}}}}else if(i===a.stream.programMapTable[h.h264]||i===a.stream.programMapTable[h.adts]||i===a.stream.programMapTable[h.metadata]){if(f){if(0!==c[d+0]||0!==c[d+1]||1!==c[d+2]){throw new Error("PES did not begin with start code")}s=c[d+4]<<8|c[d+5];t=(c[d+6]&4)!==0;u=c[d+7];v=c[d+8];d+=9;if(u&192){w=(c[d+0]&14)<<28|(c[d+1]&255)<<21|(c[d+2]&254)<<13|(c[d+3]&255)<<6|(c[d+4]&254)>>>2;w/=45;x=w;if(u&64){x=(c[d+5]&14)<<28|(c[d+6]&255)<<21|(c[d+7]&254)<<13|(c[d+8]&255)<<6|(c[d+9]&254)>>>2;x/=45}}d+=v;if(i===a.stream.programMapTable[h.h264]){l.setNextTimeStamp(w,x,t)}else if(i===a.stream.programMapTable[h.adts]){m.setNextTimeStamp(w,s,t)}}if(i===a.stream.programMapTable[h.adts]){m.writeBytes(c,d,e-d)}else if(i===a.stream.programMapTable[h.h264]){l.writeBytes(c,d,e-d)}else if(i===a.stream.programMapTable[h.metadata]){a.metadataStream.push({pts:w,dts:x,data:c.subarray(d)})}}else if(a.stream.pmtPid===i){if(f){d+=1+c[d]}if(c[d]!==2){b.log("The table_id of a PMT should be 0x02 but was "+c[d].toString(16))}y=!!(c[d+5]&1);if(y){a.stream.programMapTable={};A=(c[d+1]&15)<<8|c[d+2];z=(c[d+10]&15)<<8|c[d+11];A-=z;A-=13;a.stream.programMapTable.pcrPid=(c[d+8]&31)<<8|c[d+9];d+=12+z;while(0<A){B=c[d+0];C=(c[d+1]&31)<<8|c[d+2];if(B===h.h264&&a.stream.programMapTable[B]&&a.stream.programMapTable[B]!==C){throw new Error("Program has more than 1 video stream")}else if(B===h.adts&&a.stream.programMapTable[B]&&a.stream.programMapTable[B]!==C){throw new Error("Program has more than 1 audio Stream")}a.stream.programMapTable[B]=C;D=(c[d+3]&15)<<8|c[d+4];if(B===h.metadata){a.metadataStream.descriptor=new Uint8Array(c.subarray(d+5,d+5+D))}d+=5+D;A-=5+D}}}else if(a.stream.networkPid===i){}else if(17===i){}else if(8191===i){}else if(a.stream.programMapTable.pcrPid){}else{b.log("Unknown PID parsing TS packet: "+i)}return true};a.getTags=function(){return l.tags};a.stats={h264Tags:function(){return l.tags.length},minVideoPts:function(){return l.tags[0].pts},maxVideoPts:function(){return l.tags[l.tags.length-1].pts},aacTags:function(){return m.tags.length},minAudioPts:function(){return m.tags[0].pts},maxAudioPts:function(){return m.tags[m.tags.length-1].pts}}};b.Hls.SegmentParser.MP2T_PACKET_LENGTH=g=188;b.Hls.SegmentParser.STREAM_TYPES=h={h264:27,adts:15,metadata:21}})(window);(function(a,b,c,d,e){var f=function(){},g=function(){var a="[^=]*",b='"[^"]*"|[^,]*',c="(?:"+a+")=(?:"+b+")";return new RegExp("(?:^|,)("+c+")")}(),h=function(a){var b=a.split(g),c=b.length,d={},e;while(c--){if(b[c]===""){continue}e=/([^=]*)=(.*)/.exec(b[c]).slice(1);e[0]=e[0].replace(/^\s+|\s+$/g,"");e[1]=e[1].replace(/^\s+|\s+$/g,"");e[1]=e[1].replace(/^['"](.*)['"]$/g,"$1");d[e[0]]=e[1]}return d},i=a.Hls.Stream,j,k,l;j=function(){var a="";j.prototype.init.call(this);this.push=function(b){var c;a+=b;c=a.indexOf("\n");for(;c>-1;c=a.indexOf("\n")){this.trigger("data",a.substring(0,c));a=a.substring(c+1)}}};j.prototype=new i;k=function(){k.prototype.init.call(this)};k.prototype=new i;k.prototype.push=function(a){var c,d;a=a.replace(/^\s+|\s+$/g,"");if(a.length===0){return}if(a[0]!=="#"){this.trigger("data",{type:"uri",uri:a});return}if(a.indexOf("#EXT")!==0){this.trigger("data",{type:"comment",text:a.slice(1)});return}a=a.replace("\r","");c=/^#EXTM3U/.exec(a);if(c){this.trigger("data",{type:"tag",tagType:"m3u"});return}c=/^#EXTINF:?([0-9\.]*)?,?(.*)?$/.exec(a);if(c){d={type:"tag",tagType:"inf"};if(c[1]){d.duration=parseFloat(c[1])}if(c[2]){d.title=c[2]}this.trigger("data",d);return}c=/^#EXT-X-TARGETDURATION:?([0-9.]*)?/.exec(a);if(c){d={type:"tag",tagType:"targetduration"};if(c[1]){d.duration=b(c[1],10)}this.trigger("data",d);return}c=/^#ZEN-TOTAL-DURATION:?([0-9.]*)?/.exec(a);if(c){d={type:"tag",tagType:"totalduration"};if(c[1]){d.duration=b(c[1],10)}this.trigger("data",d);return}c=/^#EXT-X-VERSION:?([0-9.]*)?/.exec(a);if(c){d={type:"tag",tagType:"version"};if(c[1]){d.version=b(c[1],10)}this.trigger("data",d);return}c=/^#EXT-X-MEDIA-SEQUENCE:?(\-?[0-9.]*)?/.exec(a);if(c){d={type:"tag",tagType:"media-sequence"};if(c[1]){d.number=b(c[1],10)}this.trigger("data",d);return}c=/^#EXT-X-DISCONTINUITY-SEQUENCE:?(\-?[0-9.]*)?/.exec(a);if(c){d={type:"tag",tagType:"discontinuity-sequence"};if(c[1]){d.number=b(c[1],10)}this.trigger("data",d);return}c=/^#EXT-X-PLAYLIST-TYPE:?(.*)?$/.exec(a);if(c){d={type:"tag",tagType:"playlist-type"};if(c[1]){d.playlistType=c[1]}this.trigger("data",d);return}c=/^#EXT-X-BYTERANGE:?([0-9.]*)?@?([0-9.]*)?/.exec(a);if(c){d={type:"tag",tagType:"byterange"};if(c[1]){d.length=b(c[1],10)}if(c[2]){d.offset=b(c[2],10)}this.trigger("data",d);return}c=/^#EXT-X-ALLOW-CACHE:?(YES|NO)?/.exec(a);if(c){d={type:"tag",tagType:"allow-cache"};if(c[1]){d.allowed=!/NO/.test(c[1])}this.trigger("data",d);return}c=/^#EXT-X-STREAM-INF:?(.*)$/.exec(a);if(c){d={type:"tag",tagType:"stream-inf"};if(c[1]){d.attributes=h(c[1]);if(d.attributes.RESOLUTION){(function(){var a=d.attributes.RESOLUTION.split("x"),c={};if(a[0]){c.width=b(a[0],10)}if(a[1]){c.height=b(a[1],10)}d.attributes.RESOLUTION=c})()}if(d.attributes.BANDWIDTH){d.attributes.BANDWIDTH=b(d.attributes.BANDWIDTH,10); }if(d.attributes["PROGRAM-ID"]){d.attributes["PROGRAM-ID"]=b(d.attributes["PROGRAM-ID"],10)}}this.trigger("data",d);return}c=/^#EXT-X-ENDLIST/.exec(a);if(c){this.trigger("data",{type:"tag",tagType:"endlist"});return}c=/^#EXT-X-DISCONTINUITY/.exec(a);if(c){this.trigger("data",{type:"tag",tagType:"discontinuity"});return}c=/^#EXT-X-KEY:?(.*)$/.exec(a);if(c){d={type:"tag",tagType:"key"};if(c[1]){d.attributes=h(c[1]);if(d.attributes.IV){if(d.attributes.IV.substring(0,2)==="0x"){d.attributes.IV=d.attributes.IV.substring(2)}d.attributes.IV=d.attributes.IV.match(/.{8}/g);d.attributes.IV[0]=b(d.attributes.IV[0],16);d.attributes.IV[1]=b(d.attributes.IV[1],16);d.attributes.IV[2]=b(d.attributes.IV[2],16);d.attributes.IV[3]=b(d.attributes.IV[3],16);d.attributes.IV=new Uint32Array(d.attributes.IV)}}this.trigger("data",d);return}this.trigger("data",{type:"tag",data:a.slice(4,a.length)})};l=function(){var a=this,b=[],g={},h;l.prototype.init.call(this);this.lineStream=new j;this.parseStream=new k;this.lineStream.pipe(this.parseStream);this.manifest={allowCache:true,discontinuityStarts:[]};this.parseStream.on("data",function(i){({tag:function(){(({"allow-cache":function(){this.manifest.allowCache=i.allowed;if(!("allowed"in i)){this.trigger("info",{message:"defaulting allowCache to YES"});this.manifest.allowCache=true}},byterange:function(){var a={};if("length"in i){g.byterange=a;a.length=i.length;if(!("offset"in i)){this.trigger("info",{message:"defaulting offset to zero"});i.offset=0}}if("offset"in i){g.byterange=a;a.offset=i.offset}},endlist:function(){this.manifest.endList=true},inf:function(){if(!("mediaSequence"in this.manifest)){this.manifest.mediaSequence=0;this.trigger("info",{message:"defaulting media sequence to zero"})}if(!("discontinuitySequence"in this.manifest)){this.manifest.discontinuitySequence=0;this.trigger("info",{message:"defaulting discontinuity sequence to zero"})}if(i.duration>=0){g.duration=i.duration}this.manifest.segments=b},key:function(){if(!i.attributes){this.trigger("warn",{message:"ignoring key declaration without attribute list"});return}if(i.attributes.METHOD==="NONE"){h=null;return}if(!i.attributes.URI){this.trigger("warn",{message:"ignoring key declaration without URI"});return}if(!i.attributes.METHOD){this.trigger("warn",{message:"defaulting key method to AES-128"})}h={method:i.attributes.METHOD||"AES-128",uri:i.attributes.URI};if(i.attributes.IV!==e){h.iv=i.attributes.IV}},"media-sequence":function(){if(!c(i.number)){this.trigger("warn",{message:"ignoring invalid media sequence: "+i.number});return}this.manifest.mediaSequence=i.number},"discontinuity-sequence":function(){if(!c(i.number)){this.trigger("warn",{message:"ignoring invalid discontinuity sequence: "+i.number});return}this.manifest.discontinuitySequence=i.number},"playlist-type":function(){if(!/VOD|EVENT/.test(i.playlistType)){this.trigger("warn",{message:"ignoring unknown playlist type: "+i.playlist});return}this.manifest.playlistType=i.playlistType},"stream-inf":function(){this.manifest.playlists=b;if(!i.attributes){this.trigger("warn",{message:"ignoring empty stream-inf attributes"});return}if(!g.attributes){g.attributes={}}g.attributes=d(g.attributes,i.attributes)},discontinuity:function(){g.discontinuity=true;this.manifest.discontinuityStarts.push(b.length)},targetduration:function(){if(!c(i.duration)||i.duration<0){this.trigger("warn",{message:"ignoring invalid target duration: "+i.duration});return}this.manifest.targetDuration=i.duration},totalduration:function(){if(!c(i.duration)||i.duration<0){this.trigger("warn",{message:"ignoring invalid total duration: "+i.duration});return}this.manifest.totalDuration=i.duration}})[i.tagType]||f).call(a)},uri:function(){g.uri=i.uri;b.push(g);if(this.manifest.targetDuration&&!("duration"in g)){this.trigger("warn",{message:"defaulting segment duration to the target duration"});g.duration=this.manifest.targetDuration}if(h){g.key=h}g={}},comment:function(){}})[i.type].call(a)})};l.prototype=new i;l.prototype.push=function(a){this.lineStream.push(a)};l.prototype.end=function(){this.lineStream.push("\n")};window.videojs.m3u8={LineStream:j,ParseStream:k,Parser:l}})(window.videojs,window.parseInt,window.isFinite,window.videojs.util.mergeOptions);(function(a){a.Hls.xhr=function(b,c){var d={method:"GET",timeout:45*1e3},e,f;if(typeof c!=="function"){c=function(){}}if(typeof b==="object"){d=a.util.mergeOptions(d,b);b=d.url}e=new window.XMLHttpRequest;e.open(d.method,b);e.url=b;e.requestTime=(new Date).getTime();if(d.responseType){e.responseType=d.responseType}if(d.withCredentials){e.withCredentials=true}if(d.timeout){f=window.setTimeout(function(){if(e.readyState!==4){e.timedout=true;e.abort()}},d.timeout)}e.onreadystatechange=function(){if(this.readyState!==4){return}window.clearTimeout(f);if(e.timedout){return c.call(this,"timeout",b)}if(this.status>=400||this.status===0){return c.call(this,true,b)}if(this.response){this.responseTime=(new Date).getTime();this.roundTripTime=this.responseTime-this.requestTime;this.bytesReceived=this.response.byteLength||this.response.length;this.bandwidth=Math.floor(this.bytesReceived/this.roundTripTime*8*1e3)}return c.call(this,false,b)};e.send(null);return e}})(window.videojs);(function(a,b){"use strict";var c=10;var d,e,f,g,h,i,j,k;h=function(a,b){a=isFinite(a)?a:Infinity;b=isFinite(b)?b:Infinity;return Math.min(a,b)};i=function(a,b){a=isFinite(a)?a:-Infinity;b=isFinite(b)?b:-Infinity;return Math.max(a,b)};e=function(a,b){return a-b};d=function(a,b,c,d){var f=[],g=(a.discontinuityStarts||[]).concat(c),h=0,i;if(b>=c){return 0}g.sort(e);for(i=0;i<g.length;i++){if(g[i]>b){f.push({start:b,end:g[i]});i++;break}}for(;i<g.length;i++){if(g[i]>=c){f.push({start:g[i-1],end:c});break}f.push({start:f[f.length-1].end,end:g[i]})}for(i=0;i<f.length;i++){h+=j(a,f[i],i===f.length-1&&d)}return h};j=function(a,b,d){var e=0,f=a.targetDuration||c,g,j,k;for(j=b.start;j<b.end;j++){g=a.segments[j];if(g.minVideoPts!==undefined||g.minAudioPts!==undefined){break}e+=g.duration||f}if(d){g=a.segments[b.end];if(g&&(g.minVideoPts!==undefined||g.minAudioPts!==undefined)){e+=.001*(h(g.minVideoPts,g.minAudioPts)-h(a.segments[j].minVideoPts,a.segments[j].minAudioPts));return e}}for(k=b.end-1;k>=j;k--){g=a.segments[k];if(g.maxVideoPts!==undefined||g.maxAudioPts!==undefined){break}e+=g.duration||f}if(k>=j){e+=.001*(i(a.segments[k].maxVideoPts,a.segments[k].maxAudioPts)-h(a.segments[j].minVideoPts,a.segments[j].minAudioPts))}return e};g=function(a,b,e,f){var g=0,h,j;if(b===undefined){b=a.mediaSequence||0}if(e===undefined){e=b+(a.segments||[]).length}h=a.targetDuration||c;j=i(a.mediaSequence-b,0);g+=j*h;g+=d(a,b+j-a.mediaSequence,e-a.mediaSequence,f);return g};f=function(b,c,d,e){if(!b){return 0}if(e===undefined){e=true}if(c===undefined&&d===undefined){if(b.totalDuration){return b.totalDuration}if(!b.endList){return a.Infinity}}return g(b,c,d,e)};k=function(a){var d,e,i,j,k,l,m;if(!a.segments){return b.createTimeRange()}if(a.endList){return b.createTimeRange(0,f(a))}d=0;e=g(a,a.mediaSequence,a.mediaSequence+a.segments.length);j=a.targetDuration||c;if(!a.endList){i=j*b.Hls.LIVE_SYNC_DURATION_COUNT;for(m=a.segments.length-1;m>=0&&i>0;m--){k=a.segments[m];l=h(f(a,a.mediaSequence+m,a.mediaSequence+m+1),i);i-=l;e-=l}}return b.createTimeRange(d,e)};b.Hls.Playlist={duration:f,seekable:k}})(window,window.videojs);(function(a,b){"use strict";var c=b.Hls.resolveUrl,d=b.Hls.xhr,e=b.Hls.Playlist,f=b.util.mergeOptions,g=function(a,b){var c=false,d=f(a,{}),e,g;e=a.playlists.length;while(e--){g=d.playlists[e];if(g.uri===b.uri){if(g.segments&&b.segments&&g.segments.length===b.segments.length&&g.mediaSequence===b.mediaSequence){continue}d.playlists[e]=f(g,b);d.playlists[b.uri]=d.playlists[e];if(g.segments){d.playlists[e].segments=h(g.segments,b.segments,b.mediaSequence-g.mediaSequence)}c=true}}return c?d:null},h=function(a,b,c){var d=b.slice(),e,g;c=c||0;e=Math.min(a.length,b.length+c);for(g=c;g<e;g++){d[g-c]=f(a[g],d[g-c])}return d},i=function(e,f){var h=this,j,k,l,m;i.prototype.init.call(this);if(!e){throw new Error("A non-empty playlist URL is required")}m=function(c,d,e){var f,i,j;h.setBandwidth(l||d);l=null;if(c){h.error={status:d.status,message:"HLS playlist request error at URL: "+e,responseText:d.responseText,code:d.status>=500?4:2};return h.trigger("error")}h.state="HAVE_METADATA";f=new b.m3u8.Parser;f.push(d.responseText);f.end();f.manifest.uri=e;j=g(h.master,f.manifest);i=(f.manifest.targetDuration||10)*1e3;if(j){h.master=j;h.updateMediaPlaylist_(f.manifest)}else{i/=2}if(!h.media().endList){a.clearTimeout(k);k=a.setTimeout(function(){h.trigger("mediaupdatetimeout")},i)}h.trigger("loadedplaylist")};h.state="HAVE_NOTHING";h.expiredPostDiscontinuity_=0;h.expiredPreDiscontinuity_=0;j=this.dispose;h.dispose=function(){if(l){l.onreadystatechange=null;l.abort();l=null}a.clearTimeout(k);j.call(this)};h.media=function(a){var b=false;if(!a){return h.media_}if(h.state==="HAVE_NOTHING"||h.state==="HAVE_MASTER"){throw new Error("Cannot switch media playlist from "+h.state)}if(typeof a==="string"){if(!h.master.playlists[a]){throw new Error("Unknown playlist URI: "+a)}a=h.master.playlists[a]}b=a.uri!==h.media_.uri;if(h.master.playlists[a.uri].endList){if(l){l.onreadystatechange=null;l.abort();l=null}h.state="HAVE_METADATA";h.media_=a;if(b){h.trigger("mediachange")}return}if(!b){return}h.state="SWITCHING_MEDIA";if(l){if(c(h.master.uri,a.uri)===l.url){return}l.onreadystatechange=null;l.abort();l=null}l=d({url:c(h.master.uri,a.uri),withCredentials:f},function(b){m(b,this,a.uri);h.trigger("mediachange")})};h.setBandwidth=function(a){h.bandwidth=a.bandwidth};h.on("mediaupdatetimeout",function(){if(h.state!=="HAVE_METADATA"){return}h.state="HAVE_CURRENT_METADATA";l=d({url:c(h.master.uri,h.media().uri),withCredentials:f},function(a){m(a,this,h.media().uri)})});d({url:e,withCredentials:f},function(g){var i,j;if(g){h.error={status:this.status,message:"HLS playlist request error at URL: "+e,responseText:this.responseText,code:2};return h.trigger("error")}i=new b.m3u8.Parser;i.push(this.responseText);i.end();h.state="HAVE_MASTER";i.manifest.uri=e;if(i.manifest.playlists){h.master=i.manifest;j=h.master.playlists.length;while(j--){h.master.playlists[h.master.playlists[j].uri]=h.master.playlists[j]}l=d({url:c(e,i.manifest.playlists[0].uri),withCredentials:f},function(a){m(a,this,i.manifest.playlists[0].uri);if(!a){h.trigger("loadedmetadata")}});return h.trigger("loadedplaylist")}h.master={uri:a.location.href,playlists:[{uri:e}]};h.master.playlists[e]=h.master.playlists[0];m(null,this,e);return h.trigger("loadedmetadata")})};i.prototype=new b.Hls.Stream;i.prototype.updateMediaPlaylist_=function(a){var b,c,d;if(this.media_){c=a.mediaSequence-this.media_.mediaSequence;b=this.media_.mediaSequence;if(this.media_.discontinuitySequence!==a.discontinuitySequence){d=c;while(d--){if(this.media_.segments[d].discontinuity){b=d+this.media_.mediaSequence;this.expiredPreDiscontinuity_+=this.expiredPostDiscontinuity_;this.expiredPostDiscontinuity_=0;break}}}this.expiredPreDiscontinuity_+=e.duration(this.media_,this.media_.mediaSequence,b);this.expiredPostDiscontinuity_+=e.duration(this.media_,b,a.mediaSequence)}this.media_=this.master.playlists[a.uri]};i.prototype.getMediaIndexForTime_=function(a){var b;if(!this.media_){return 0}a-=this.expiredPreDiscontinuity_+this.expiredPostDiscontinuity_;if(a<0){return 0}for(b=0;b<this.media_.segments.length;b++){a-=e.duration(this.media_,this.media_.mediaSequence+b,this.media_.mediaSequence+b+1,false);if(a<=0){return b}}return this.media_.segments.length-1};b.Hls.PlaylistLoader=i})(window,window.videojs);(function a(b,c,d){function e(g,h){if(!c[g]){if(!b[g]){var i=typeof require=="function"&&require;if(!h&&i)return i(g,!0);if(f)return f(g,!0);throw new Error("Cannot find module '"+g+"'")}var j=c[g]={exports:{}};b[g][0].call(j.exports,function(a){var c=b[g][1][a];return e(c?c:a)},j,j.exports,a,b,c,d)}return c[g].exports}var f=typeof require=="function"&&require;for(var g=0;g<d.length;g++)e(d[g]);return e})({1:[function(a,b,c){(function(b){b.window.pkcs7={unpad:a("./unpad")}}).call(this,typeof self!=="undefined"?self:typeof window!=="undefined"?window:{})},{"./unpad":2}],2:[function(a,b,c){"use strict";b.exports=function a(b){return b.subarray(0,b.byteLength-b[b.byteLength-1])}},{}]},{},[1]);(function(a,b,c){"use strict";var d,e,f,g,h;h=function(a){return a<<24|(a&65280)<<8|(a&16711680)>>8|a>>>24};d=function(a){this._precompute();var b,c,d,e,f,g=this._tables[0][4],h=this._tables[1],i=a.length,j=1;if(i!==4&&i!==6&&i!==8){throw new Error("Invalid aes key size")}e=a.slice(0);f=[];this._key=[e,f];for(b=i;b<4*i+28;b++){d=e[b-1];if(b%i===0||i===8&&b%i===4){d=g[d>>>24]<<24^g[d>>16&255]<<16^g[d>>8&255]<<8^g[d&255];if(b%i===0){d=d<<8^d>>>24^j<<24;j=j<<1^(j>>7)*283}}e[b]=e[b-i]^d}for(c=0;b;c++,b--){d=e[c&3?b:b-4];if(b<=4||c<4){f[c]=d}else{f[c]=h[0][g[d>>>24]]^h[1][g[d>>16&255]]^h[2][g[d>>8&255]]^h[3][g[d&255]]}}};d.prototype={_tables:[[[],[],[],[],[]],[[],[],[],[],[]]],_precompute:function(){var a=this._tables[0],b=this._tables[1],c=a[4],d=b[4],e,f,g,h=[],i=[],j,k,l,m,n,o;for(e=0;e<256;e++){i[(h[e]=e<<1^(e>>7)*283)^e]=e}for(f=g=0;!c[f];f^=j||1,g=i[g]||1){m=g^g<<1^g<<2^g<<3^g<<4;m=m>>8^m&255^99;c[f]=m;d[m]=f;l=h[k=h[j=h[f]]];o=l*16843009^k*65537^j*257^f*16843008;n=h[m]*257^m*16843008;for(e=0;e<4;e++){a[e][f]=n=n<<24^n>>>8;b[e][m]=o=o<<24^o>>>8}}for(e=0;e<5;e++){a[e]=a[e].slice(0);b[e]=b[e].slice(0)}},decrypt:function(a,b,c,d,e,f){var g=this._key[1],h=a^g[0],i=d^g[1],j=c^g[2],k=b^g[3],l,m,n,o=g.length/4-2,p,q=4,r=this._tables[1],s=r[0],t=r[1],u=r[2],v=r[3],w=r[4];for(p=0;p<o;p++){l=s[h>>>24]^t[i>>16&255]^u[j>>8&255]^v[k&255]^g[q];m=s[i>>>24]^t[j>>16&255]^u[k>>8&255]^v[h&255]^g[q+1];n=s[j>>>24]^t[k>>16&255]^u[h>>8&255]^v[i&255]^g[q+2];k=s[k>>>24]^t[h>>16&255]^u[i>>8&255]^v[j&255]^g[q+3];q+=4;h=l;i=m;j=n}for(p=0;p<4;p++){e[(3&-p)+f]=w[h>>>24]<<24^w[i>>16&255]<<16^w[j>>8&255]<<8^w[k&255]^g[q++];l=h;h=i;i=j;j=k;k=l}}};g=function(a,b,c){var e=new Int32Array(a.buffer,a.byteOffset,a.byteLength>>2),f=new d(Array.prototype.slice.call(b)),g=new Uint8Array(a.byteLength),i=new Int32Array(g.buffer),j,k,l,m,n,o,p,q,r;j=c[0];k=c[1];l=c[2];m=c[3];for(r=0;r<e.length;r+=4){n=h(e[r]);o=h(e[r+1]);p=h(e[r+2]);q=h(e[r+3]);f.decrypt(n,o,p,q,i,r);i[r]=h(i[r]^j);i[r+1]=h(i[r+1]^k);i[r+2]=h(i[r+2]^l);i[r+3]=h(i[r+3]^m);j=n;k=o;l=p;m=q}return g};e=function(){this.jobs=[];this.delay=1;this.timeout_=null};e.prototype=new b.Hls.Stream;e.prototype.processJob_=function(){this.jobs.shift()();if(this.jobs.length){this.timeout_=setTimeout(b.bind(this,this.processJob_),this.delay)}else{this.timeout_=null}};e.prototype.push=function(a){this.jobs.push(a);if(!this.timeout_){this.timeout_=setTimeout(b.bind(this,this.processJob_),this.delay)}};f=function(a,b,d,g){var i=f.STEP,j=new Int32Array(a.buffer),k=new Uint8Array(a.byteLength),l=0;this.asyncStream_=new e;this.asyncStream_.push(this.decryptChunk_(j.subarray(l,l+i),b,d,k,l));for(l=i;l<j.length;l+=i){d=new Uint32Array([h(j[l-4]),h(j[l-3]),h(j[l-2]),h(j[l-1])]);this.asyncStream_.push(this.decryptChunk_(j.subarray(l,l+i),b,d,k))}this.asyncStream_.push(function(){g(null,c(k))})};f.prototype=new b.Hls.Stream;f.prototype.decryptChunk_=function(a,b,c,d){return function(){var e=g(a,b,c);d.set(e,a.byteOffset)}};f.STEP=4*8e3;b.Hls.decrypt=g;b.Hls.Decrypter=f;b.Hls.AsyncStream=e})(window,window.videojs,window.pkcs7.unpad);e.hls=true}!function(a,b){"use strict";var c=function(a){var b=this,c=!!b.ads,d=!1,e=!1,f=!1;c&&(b.on("adstart",function(){e=!0,f=!1}),b.on("adend",function(){e&&(f=!0)})),b.on("ended",function(){!d&&(!c||e&&f||!e&&!f)&&(d=!0),d&&c&&!f?b.on("adend",function(){b.trigger("endscreen")}):d&&b.trigger("endscreen")})};b.plugin("endscreen",c)}(window,window.videojs),function(a,b){"use strict";var c,d={title:"",description:"",url:"",deeplinking:!1,displayAfterVideo:!1,offset:"00:00:00",services:{facebook:!0,google:!0,twitter:!0,tumblr:!0,pinterest:!0,linkedin:!0}},e=function(a,b,c){return a.addEventListener?a.addEventListener(b,c,!1):(a.addEventListener||"click"!==b||(b="onclick"),a.attachEvent(b,c))},f=function(a,b,c){return a.removeEventListener?a.removeEventListener(b,c,!1):(a.removeEventListener||"click"!==b||(b="onclick"),a.detachEvent(b,c))},g=function(b){b.preventDefault(),a.open(this.href,"_blank","width=600, height=400, top=100, left=100, titlebar=yes, modal=yes, resizable=yes, toolbar=no, status=1, location=no, menubar=no, centerscreen=yes")};c=function(a){var c,e=this;if(c=b.util.mergeOptions(d,a),!(c&&c.services&&(c.services.facebook||c.services.twitter||c.services.google||c.services.tumblr||c.services.pinterest||c.services.linkedin)))throw new Error("videojs-social requires at least one service to be enabled");e.controlBar.socialButton&&(e.controlBar.removeChild(e.controlBar.socialButton),delete e.controlBar.socialButton,e.socialOverlay&&(e.removeChild(e.socialOverlay),delete e.socialOverlay)),e.controlBar.socialButton=e.controlBar.addChild("socialButton",c),e.socialOverlay=e.addChild("socialOverlay",c),e.controlBar.socialButton.el().setAttribute("tabindex","0"),c.displayAfterVideo&&(e.endscreen(),e.on("endscreen",function(){e.socialOverlay.enableRestartButton(),e.socialOverlay.show()}))},b.SocialButton=b.Button.extend({init:function(a,c){b.Button.call(this,a,c),this.on("touchstart",function(b){a.socialOverlay.update(),a.socialOverlay.disableRestartButton(),a.socialOverlay.show(),b.preventDefault()}),this.on("click",function(){a.socialOverlay.update(),a.socialOverlay.disableRestartButton(),a.socialOverlay.show()})}}),b.SocialButton.prototype.createEl=function(){return b.Button.prototype.createEl.call(this,"div",{className:"vjs-share-control vjs-control",role:"button","aria-live":"polite",innerHTML:'<div class="vjs-control-content"><span class="vjs-control-text">Share</span></div>'})},b.SocialOverlay=b.Component.extend({init:function(a,c){var d,f,g,h;a.socialOverlay&&a.removeChild(a.socialOverlay),b.Component.call(this,a,c),this.el().querySelector(".vjs-social-embed-container input").setAttribute("value",this.getEmbedCode()),this.el().querySelector(".vjs-social-direct-link-container input").setAttribute("value",this._getUrlWithTime()),h=this.el().querySelector(".vjs-restart"),e(h,"click",b.bind(this,this._restartPlayer)),e(h,"activate",b.bind(this,this._restartPlayer)),this._bindServiceButtons(c.services),c.deeplinking||(d=this.el().querySelector(".vjs-social-start"),d.className+=" vjs-hidden "),c.removeEmbed&&c.removeEmbed===!0&&(this.el().querySelector(".vjs-social-embed-container").className+=" vjs-hidden "),c.removeDirect&&c.removeDirect===!0&&(this.el().querySelector(".vjs-social-direct-link-container").className+=" vjs-hidden "),f=this.el().querySelector(".direct-link-textbox"),e(f,"click",function(){this.select()}),g=this.el().querySelector(".embed-code-textbox"),e(g,"click",function(){this.select()}),this.offsetTextBox=this.el().querySelector(".start-offset-textbox"),e(this.offsetTextBox,"change",b.bind(this,this.update)),this.closeButton=this.el().querySelector(".vjs-social-cancel"),e(this.el(),"keydown",function(b){"none"!==a.socialOverlay.el().display&&27===b.keyCode&&a.socialOverlay.hide()},!0),this.on("click",function(b){b.target===this.closeButton&&a.socialOverlay.hide()})},update:function(){var a,b=this.el().querySelector(".embed-code-textbox"),c=this.options_;/^\s*(0*[1-5]*\d|0*[1-5]*\d:[0-5]\d|\d+:[0-5]\d:[0-5]\d)\s*$/.test(this.offsetTextBox.value)?(a=this.el().querySelector(".direct-link-textbox"),this.offsetTextBox.className=this.offsetTextBox.className.replace(/(^|\s)vjs-invalid/,""),a.value=this._getUrlWithTime()):this.offsetTextBox.className+=" vjs-invalid",b.setAttribute("value",this.getEmbedCode()),this._bindServiceButtons(c.services)},enableRestartButton:function(){var a=this.el().querySelector(".vjs-restart");a.className=a.className.replace(/\bvjs\-hidden\b/,"")},disableRestartButton:function(){var a=this.el().querySelector(".vjs-restart");/\bvjs-hidden\b/.test(a.className)||(a.className+=" vjs-hidden")},hide:function(){b.Component.prototype.hide.call(this),this.previouslyPlaying&&this.player().play(),this.player().controlBar.socialButton.el().focus()},show:function(){b.Component.prototype.show.call(this),this.player().paused()||(this.previouslyPlaying=!0,this.player().pause()),this.el().querySelector(".vjs-share-options a:first-child").focus()}}),b.SocialOverlay.prototype._bindServiceButtons=function(a){var b,c,d,e,f,g=this.player(),h=this.options(),i=g.poster();c=encodeURIComponent(this._getUrl()),d=encodeURIComponent(this._getTitle()),e=encodeURIComponent(h.description),i&&(f=encodeURIComponent(i));for(b in a)a[b]===!0&&this._bindServiceButton(b,c,d,e,f,i)},b.SocialOverlay.prototype._bindServiceButton=function(a,b,c,d,e,f){switch(a){case"facebook":this._bindSocialButton(".vjs-share-facebook","https://www.facebook.com/sharer/sharer.php?u={URL}&title={TITLE}".replace("{URL}",b).replace("{TITLE}",c));break;case"google":this._bindSocialButton(".vjs-share-gplus","https://plus.google.com/share?url={URL}".replace("{URL}",b));break;case"twitter":this._bindSocialButton(".vjs-share-twitter","https://twitter.com/intent/tweet?original_referer=https%3A%2F%2Fabout.twitter.com%2Fresources%2Fbuttons&text={TITLE}&tw_p=tweetbutton&url={URL}".replace("{URL}",b).replace("{TITLE}",c));break;case"tumblr":this._bindSocialButton(".vjs-share-tumblr","http://www.tumblr.com/share?v=3&u={URL}&t={TITLE}".replace("{URL}",b).replace("{TITLE}",c));break;case"pinterest":this._bindSocialButton(".vjs-share-pinterest","https://pinterest.com/pin/create/button/?url={URL}{POSTER}&description={TITLE}&is_video=true".replace("{URL}",b).replace("{TITLE}",c).replace("{POSTER}",e?"&media="+e:""));break;case"linkedin":this._bindSocialButton(".vjs-share-linkedin","https://www.linkedin.com/shareArticle?mini=true&url={URL}&title={TITLE}&summary={DESCRIPTION}&source=Classic".replace("{URL}",b).replace("{TITLE}",c).replace("{DESCRIPTION}",d));break;default:throw new Error("An unsupported social service was specified.")}},b.SocialOverlay.prototype.createEl=function(){var a=this.player(),c=this.options();return b.Component.prototype.createEl.call(this,"div",{className:"vjs-social-overlay vjs-hidden","aria-role":"dialog","aria-label":a.localize("Sharing Dialog"),tabindex:-1,innerHTML:'<div class="vjs-social-cancel" role="button"><div class="vjs-control-text" aria-label="'+a.localize("Close button")+'">'+a.localize("Close")+"</div></div><form><legend>"+a.localize("Share Video")+": "+this._getTitle()+"</legend><label>"+a.localize("Share via")+':<ul class="vjs-share-options">'+this._addSocialButtons(c.services)+'</ul></label><div class="vjs-social-link-options"><label class="vjs-social-start" aria-label="'+a.localize("Start From")+'">'+a.localize("Start From")+': <input class="start-offset-textbox" type="text" tabindex="9" title="The offset must be specified using the following pattern: hh:mm:ss" placeholder="hh:mm:ss" maxlength="10" value="'+c.offset+'" /></label><div class="vjs-social-direct-link-container"><label class="vjs-social-link" aria-label="Read Only: Direct Link To Content">'+a.localize("Direct Link")+': <input class="direct-link-textbox" type="text" tabindex="8" readonly="true" /></label></div></div><div class="vjs-social-embed-container"><label arial-label="Read Only: Embed Code">'+a.localize("Embed Code")+': <input class="embed-code-textbox" type="text" tabindex="10" readonly="true" /></label></div></form><button tabindex="0" class="vjs-restart vjs-hidden"><div class="vjs-control-content"><span class="vjs-control-text">'+a.localize("Restart")+"</span></div></button>"})},b.SocialOverlay.prototype.getEmbedCode=function(){var b,c,d,e,f,g,h;return g=this.player(),h=this.options(),b=h.deeplinking?this._convertOffset(h.offset):null,c=g.el().querySelector(".start-offset-textbox"),c&&h.deeplinking&&(b=this._convertOffset(c.value)),d=g.options(),d["data-embed-url"]&&(d["data-embed-url"]=encodeURI(d["data-embed-url"])),f="//players.brightcove.net/{{account_id}}/{{player_id}}_{{embed_id}}/index.html{{video_id}}",a.parent!=a&&(f=a.location.href),e=h.embedCode?h.embedCode:"<iframe src='"+f+"{{offset}}' allowfullscreen frameborder=0></iframe>",e.replace("{{account_id}}",d["data-account"]).replace("{{player_id}}",d["data-player"]).replace("{{embed_id}}",d["data-embed"]).replace("{{video_id}}",g.mediainfo&&g.mediainfo.id?"?videoId="+g.mediainfo.id:"").replace("{{offset}}",b?"#t="+b:"")},b.SocialOverlay.prototype._getUrl=function(){var b,c=this.options();return b=c.url?c.url:a.parent!=a?document.referrer:a.location.href},b.SocialOverlay.prototype._getUrlWithTime=function(){var a,b=this.options(),c=this._getUrl();return b.deeplinking&&(a=this._convertOffset(this.el().querySelector(".start-offset-textbox").value)),a&&(c=c+"#t="+a),c},b.SocialOverlay.prototype._getTitle=function(){var a,b=this.options(),c=this.player(),d=b.title;return d||(a=c.options(),a["data-media"]&&a["data-media"].title&&(d=a["data-media"].title)),d||""},b.SocialOverlay.prototype._convertOffset=function(a){var b,c,d,e=0,f=[1,60,3600],g="";if(a&&(b=a.split(":"),b.length>=1&&b.length<=3)){for(c=0;c<b.length;++c){if(d=parseInt(b[c],10)*f[b.length-1-c],isNaN(d))return"";e+=d}return g="",e>=3600&&0!==Math.floor(e/3600)&&(g=Math.floor(e/3600)+"h",e%=3600),e>=60&&0!==Math.floor(e/60)&&(g+=Math.floor(e/60)+"m",e%=60),e>0&&(g+=e+"s"),g}return""},b.SocialOverlay.prototype._bindSocialButton=function(a,b){var c;c=this.el().querySelector(a),c&&(c.href=b,f(c,"touchend",g),e(c,"touchend",g),f(c,"click",g),e(c,"click",g))},b.SocialOverlay.prototype._addSocialButtons=function(a){var b,c;b="";for(c in a)a[c]===!0&&(b+=this._addServiceButton(c));return b},b.SocialOverlay.prototype._addServiceButton=function(a){var b="";switch(a){case"facebook":b='<li><a class="vjs-share-facebook" aria-role="link" aria-label="Share on Facebook" tabindex="1" title="Facebook" target="_blank"><span class="vjs-control-text">Facebook</span></a></li>';break;case"google":b='<li><a class="vjs-share-gplus" aria-role="link" aria-label="Share on Google Plus" tabindex="2" title="Google+" target="_blank"><span class="vjs-control-text">Google+</span></a></li>';break;case"twitter":b='<li><a class="vjs-share-twitter" aria-role="link" aria-label="Share on Twitter" tabindex="3" title="Twitter" target="_blank"><span class="vjs-control-text">Twitter</span></a></li>';break;case"tumblr":b='<li><a class="vjs-share-tumblr" aria-role="link" aria-label="Share on Tumblr" tabindex="4" title="Tumblr" target="_blank"><span class="vjs-control-text">tumblr</span></a></li>';break;case"pinterest":b='<li><a class="vjs-share-pinterest" aria-role="link" aria-label="Share on Pinterest" tabindex="5" title="Pinterest" target="_blank"><span class="vjs-control-text">Pinterest</span></a></li>';break;case"linkedin":b='<li><a class="vjs-share-linkedin" aria-role="link" aria-label="Share on LinkedIn" tabindex="6" title="LinkedIn" target="_blank"><span class="vjs-control-text">LinkedIn</span></a></li>';break;default:throw new Error("An unsupported social service was specified.")}return b},b.SocialOverlay.prototype._restartPlayer=function(){var a=this.player();a.socialOverlay.hide(),a.currentTime(0),a.play()},b.plugin("social",c)}(window,window.videojs);!function a(b,c,d){function e(g,h){if(!c[g]){if(!b[g]){var i="function"==typeof require&&require;if(!h&&i)return i(g,!0);if(f)return f(g,!0);var j=new Error("Cannot find module '"+g+"'");throw j.code="MODULE_NOT_FOUND",j}var k=c[g]={exports:{}};b[g][0].call(k.exports,function(a){var c=b[g][1][a];return e(c?c:a)},k,k.exports,a,b,c,d)}return c[g].exports}for(var f="function"==typeof require&&require,g=0;g<d.length;g++)e(d[g]);return e}({1:[function(a,b,c){(function(a){"use strict";function c(a){function b(a,b){var c,d=document.createElement("script");d.src=a,d.onload=function(){c||(c=!0,b())},d.onreadystatechange=function(){"complete"!==this.readyState&&"loaded"!==this.readyState||c||(c=!0,b())};var e=document.getElementsByTagName("head")[0];e&&e.appendChild(d)}var c=this,e={pluginUrl:"https://assets.map.brightcove.com/plugin/dist/videojs-bc-map-core.min.js"},f=d.util?d.util.mergeOptions:d.mergeOptions,g=f(e,a||{});b(g.pluginUrl,function(){"function"==typeof c.bcMapPluginCore&&c.bcMapPluginCore(a)})}var d="undefined"!=typeof window?window.videojs:"undefined"!=typeof a?a.videojs:null;b.exports=c,d.plugin("bcMapPlugin",c)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}]},{},[1]);b=videojs(a,e);b.el().className+=" bc-player-default_default";b.el().setAttribute("data-player","default");b.el().setAttribute("data-embed","default");b.on("loadstart",function(){if(b.hls){b.hls.bandwidth=4194304}});(function(){videojs.plugin("viewport",function(a){a=a||{};if(!("width"in a)||!("height"in a)){throw Error("viewport plugin options must include both height and width properties")}if(!/vw/.test(a.height)){return}var b=this,c=function(){var a=document.createElement("_").style;try{a.width="";a.width="10vw"}catch(b){return false}return!!a.width},d,e=parseFloat(a.width)||b.width(),f=parseFloat(a.height)||b.height(),g=function(a,b,c){if(a.addEventListener){a.addEventListener(b,c,false)}else{a.attachEvent("on"+b,c)}};if(a.force||!c()){d=function(b){var c=a.el,d=document.documentElement.clientWidth,g=document.documentElement.clientHeight;c.style.width=Math.min(e*g*.01,d)+"px";c.style.height=Math.min(f*d*.01,g)+"px"};g(window,"resize",d);g(document.documentElement,"resize",d);g(window,"load",d);g(window,"orientationchange",function(){setTimeout(d,500)});d()}})})();if(iframe){b.viewport({width:e.vwunit,height:e.vhunit,el:document.body})}(function(a,b){a.plugin("flexbox",function(a){a=a||{};if(!("width"in a)){throw Error("flexbox plugin options must include a width property")}var b=this,c=parseFloat(a.width)/100,d,e=function(a,b,c){if(a.addEventListener){a.addEventListener(b,c,false)}else{a.attachEvent("on"+b,c)}};d=document.createElement("i");if(a.force||!("flexBasis"in d.style||"webkitFlexBasis"in d.style||"mozFlexBasis"in d.style||"msFlexBasis"in d.style||"boxDirection"in d.style||"webkitBoxDirection"in d.style||"mozBoxDirection"in d.style||"msBoxDirection"in d.style||"msFlexDirection"in d.style)){(function(){var a,d,f;d=window.requestAnimationFrame||window.mozRequestAnimationFrame||function(a){setTimeout(a,0)};b.addClass("vjs-no-flex");a=function(){var a=b.el().querySelectorAll(".vjs-control-bar"),d=a.length,e=b.el().getBoundingClientRect(),f=e.height||b.el().offsetHeight,g=e.width||b.el().offsetWidth,h=Math.min(c*f,g),i=function(a){var b,c,d;b=a.children;c=a.querySelector(".vjs-progress-control");d=b.length;while(d--){if(b[d]!==c){h-=b[d].getBoundingClientRect().width||b[d].offsetWidth}}c.style.width=Math.max(h,0)+"px"};while(d--){i(a[d])}};e(window,"resize",a);d(a);b.on("useractive",a);b.on("userinactive",a);e(b.el().querySelector(".vjs-progress-control"),"transitionend",a);e(b.el().querySelector(".vjs-progress-control"),"webkitTransitionEnd",a)})()}})})(window.videojs);b.flexbox({width:b.width()});(function(){videojs.plugin("orientationChange",function(a){var b=this,c=function(a,b,c){if(a.addEventListener){a.addEventListener(b,c,false)}else{a.attachEvent("on"+b,c)}};if(!a.el){throw new Error("Orientation bug fixes require an element to operate on.")}c(window,"orientationchange",function(){var b=a.el;b.style.width=getComputedStyle(b).width;setTimeout(function(){b.style.width=a.width},1)},false)})})();if(iframe){b.orientationChange({el:document.body,width:e.vwunit,height:e.vhunit})}(function(){videojs.plugin("posterStretch",function(a){a=a||{};var b=this,c=this.posterImage.el(),d=function(a,b){var c=a/b;return function(a,b){var d=a/b,e,f;if(c===d){e=a;f=b}else if(c>d){e=a;f=a/c}else{f=b;e=b*c}return{width:e,height:f}}},e=function(a,b,c){if(a.addEventListener){a.addEventListener(b,c,false)}else{a.attachEvent("on"+b,c)}};if(a.force||!("backgroundSize"in c.style)){(function(){var a,f,g;f=function(){var e=new window.Image;g=c.querySelector("img"); e.onload=function(){a=d(e.width,e.height);resizer()};e.src=b.poster()};if(b.poster()!==""){f()}resizer=function(){var c=b.el(),d;if(a){d=a(c.offsetWidth,c.offsetHeight);g.style.width=d.width+"px";g.style.height=d.height+"px"}};e(window,"resize",resizer);b.on("posterchange",f)})()}})})();b.posterStretch();(function(a,b,c){var d=function(c){c=c||{};var d=this,e=d.el(),h=e.querySelector(".vjs-tech"),i="videojs-fullscreen-window";if(!d.controlBar.fullscreenToggle){return}if(!c.force&&(e.requestFullScreen||e.mozRequestFullScreen||e.mozFullScreenEnabled||e.webkitRequestFullScreen||e.msRequestFullScreen||e.msRequestFullscreen||h.supportsFullscreen||h.supportsFullScreen||h.webkitSupportsFullscreen)){return}if(b.name===i||g("iefullscreen")==="true"){d.addClass("vjs-fullscreen")}d.controlBar.fullscreenToggle.off("click");d.controlBar.fullscreenToggle.on(["click","keydown"],function(c){var e,h,j,k,l=d.options();c=c||b.event;if(c.type==="keydown"){h=c.which||c.keyCode;if(h!==32&&h!==13){return}}if(b.name===i||g("iefullscreen")==="true"){try{b.opener.focus()}catch(m){a.log(m)}b.close()}else{if(d.fullscreenWindow&&!d.fullscreenWindow.closed){d.fullscreenWindow.focus()}else{j="//players.brightcove.net/{{account_id}}/{{player_id}}_{{embed_id}}/index.html?iefullscreen=true{{video_id}}";k=j.replace("{{account_id}}",l["data-account"]).replace("{{player_id}}",l["data-player"]).replace("{{embed_id}}",l["data-embed"]).replace("{{video_id}}",d.mediainfo&&d.mediainfo.id?"&videoId="+d.mediainfo.id:"");e=f({startingURL:k,tracks:d.textTracks(),time:d.currentTime(),autoplay:!d.paused()});d.fullscreenWindow=b.open(e,"_blank","fullscreen");d.fullscreenWindow.name=i}if(!d.paused()){d.pause()}}})},e=d.formatTime=function(a){a=Math.floor(a);if(!a){return""}var b="";if(a>=3600){b=Math.floor(a/3600)+"h";a=a%3600}if(a>=60){b+=Math.floor(a/60)+"m";a=a%60}if(a>0){b+=a+"s"}return b},f=d.buildNewWindowURL=function(a){a=a||{};var c=a.tracks,d=[],f,g,h,i=a.startingURL||b.location.href,j=e(a.time);if(c){for(g=0;g<c.length;g++){f=c[g];if(f.mode==="showing"){h=f.language;break}}}if(j){d.push("t="+j)}if(a.autoplay){d.push("autoplay")}if(h){d.push("captions="+h)}i+=i.indexOf("#")===-1?"#":"&";return i+d.join("&")},g=function(a){var c=b.location.search.substring(1),d=c.split("&"),e,f;for(e=0;e<d.length;e++){f=d[e].split("=");if(f[0]===a){return f[1]}}return false};a.plugin("fullscreenOpen",d)})(videojs,window);b.fullscreenOpen();(function(){videojs.plugin("urlparams",function(a){a=a||{};var b=function(a){var b=0,c;a=a.replace(/^\s+|\s+$/g,"");if(!a||!/^(\d+h)?(\d+m)?(\d+s)?$/.test(a)){return-1}c=a.match(/^(\d+)h/);if(c){b+=parseFloat(c[1])*3600;a=a.replace(/^(\d+)h/,"")}c=a.match(/^(\d+)m/);if(c){b+=parseFloat(c[1])*60;a=a.replace(/^(\d+)m/,"")}c=a.match(/^(\d+)s/);if(c){b+=parseFloat(c[1])}return b},c=.9,d=function(a,b){var d=a-b;if(isNaN(d)){return false}return Math.abs(d)<c},e=function(a){f.ready(function(){if(f.tech.networkState()===2){a()}else{f.one("loadedmetadata",function(){window.setTimeout(a,0)})}})},f=this,g=a.url||window.location.href,h=g.match(/[#&\?]t=((?:\d+h)?(?:\d+m)?(?:\d+s)?)/),i=g.match(/[#&\?]captions=(\w*)(?:$|[#&\?=])/i),j;if(h){j=b(h[1]);if(j!==-1){(function(){var b=a.delay||250,c,g=false,h=function(){if(g||d(f.currentTime(),j)){g=true;i()}else{f.currentTime(j);c=setTimeout(h,b)}},i=function(){clearTimeout(c);f.off("timeupdate",i);if(!g){f.currentTime(j)}};f.on("timeupdate",i);e(h)})()}}if(/[#&\?]autoplay(?:$|[#&\?=])/i.test(g)){e(function(){f.play()})}if(i){(function(){var a=i[1];f.one("play",function(){var b=f.textTracks(),c,d;if(b){for(d=0;d<b.length;d++){c=b[d];if(c.language===a){c.mode="showing";break}}}})})()}})})();b.urlparams();if(iframe){(function(){videojs.plugin("resizeTextTracks",function(){var a=this,b=function(a,b,c){var d;return function(){var e=this,f=arguments,g;g=function(){d=null;g=null;if(!c){a.apply(e,f)}};if(!d&&c){a.apply(e,f)}clearTimeout(d);d=setTimeout(g,b)}},c=function(){a.textTrackSettings.updateDisplay()},d=b(c,500),e=function(a,b,c){if(a.addEventListener){a.addEventListener(b,c,false)}else{a.attachEvent("on"+b,c)}};e(window,"resize",d)})})();b.resizeTextTracks()}(function(a,b,c){var d,e,f,g;function h(a,b,c){var d=[],e,f=0,g=a.length;for(;f<g;f++){if(a.hasOwnProperty(f)){e=a[f];if(b.call(c,e,f,a)){d.push(e)}}}return d}function i(a,c,d){a=a.constructor===String?document.getElementById(a):a;if(a.attachEvent){a["e"+c+d]=d;a[c+d]=function(){a["e"+c+d](b.event)};a.attachEvent("on"+c,a[c+d])}else{a.addEventListener(c,d,false)}}function j(a,b,c){a=a.constructor===String?document.getElementById(a):a;if(a.detachEvent){a.detachEvent("on"+b,a[b+c]);a[b+c]=null}else{a.removeEventListener(b,c,false)}}function k(){j(document,"keyup",f);j(document,"touchend",g)}function l(a){return{readKey:function c(d){if(!d)d=b.event;var e=113;if(d&&d.keyCode==e){a()}},readGesture:function c(d){if(!d){d=b.event;d.preventDefault()}if(d.targetTouches.length+d.changedTouches.length>2){a()}}}}function m(){if(e.debuggerWindowMain){return}var a=document.createElement("script"),b=document.createElement("link"),c=document.createElement("link"),f=false;a.onload=a.onreadystatechange=function(){if(!f&&(!this.readyState||this.readyState==="loaded"||this.readyState==="complete")){f=true;a.onload=a.onreadystatechange=null;m=function(){};e.debuggerWindowMain();k()}};a.src=d.js||"debugger.js";b.rel="stylesheet";c.rel="stylesheet";b.href=d.css||"debugger.css";c.href="//netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css";document.body.appendChild(a);document.body.appendChild(b);document.body.appendChild(c)}a.plugin("debuggerWindow",function(c){var j=l(m),n=h(a.Html5.Events,function(a){return a!=="timeupdate"&&a!=="progress"&&a!=="suspend"}),o=n.length,p;d=c;e=this;f=j.readKey;g=j.readGesture;i(document,"keyup",f);i(document,"touchend",g);i(b,"unload",function(){k()});e.debuggerWindow.getEvents=l;e.debuggerWindow.loadDebugger=m;function q(){function a(){a.history.push(arguments)}a.history=[];return a}a.log.debug=q();a.log.warn=q();a.log.info=a.log;a.log.error=q();p=function(b){a.log.debug({type:b.type,time:new Date})};while(o--){e.on(n[o],p)}})})(videojs,window);b.debuggerWindow({js:"//players.brightcove.net/videojs-debugger/0.1.5/debugger.js",css:"//players.brightcove.net/videojs-debugger/0.1.5/debugger.css"});(function(a,b,c){"use strict";var d=function(a,b){var c=b.length,d,e={};while(c--){d=b[c];if(a[d]!==undefined){e[d]=a[d]}}return e},e=function(a){return Object.prototype.toString.call(a)==="[object Array]"},f=function(a){var b=2166136261,c=b;for(var d=0;d<a.length;++d){c^=a.charCodeAt(d);c*=16777619}return c>>>0},g=function(a,b,c){var d=[],e,f=0,g=a.length;for(;f<g;f++){if(a.hasOwnProperty(f)){e=a[f];if(b.call(c,e,f,a)){d.push(e)}}}return d},h,i=function(a,b,c){var d;return function(){var e=this,f=arguments,g;g=function(){d=null;g=null;if(!c){a.apply(e,f)}};if(!d&&c){a.apply(e,f)}clearTimeout(d);d=setTimeout(g,b)}},j={analyticsUrl:(a.location.protocol==="https:"?"https:":"http:")+"//metrics.brightcove.com/tracker",verbose:false,timingKeys:["loadEventEnd","loadEventStart","domComplete","domContentLoadedEventEnd","domContentLoadedEventStart","domInteractive","domLoading","responseEnd","responseStart","requestStart","secureConnectionStart","connectEnd","connectStart","domainLookupEnd","domainLookupStart","fetchStart","redirectEnd","redirectStart","unloadEventEnd","unloadEventStart","navigationStart"],memoryKeys:["jsHeapSizeLimit","usedJSHeapSize","totalJSHeapSize"],navigationKeys:["redirectCount","type"],videoEvents:g(c.Html5.Events,function(a){return a!=="timeupdate"&&a!=="progress"})},k,l=10,m={events:[],performance:{}},n={bitrates:[],playlists:[]},o=/(\s|^)vjs-ad-(playing|loading)(\s|$)/,p=function(a){return o.test(a.el().className)},q=function(a){var b={ad_start:true,ad_end:true,ad_timeout:true};return b[a]},r=function(b){var c=this,e=b.videoEvents.length,f;if(a.performance){if(a.performance.timing){m.performance.timing=d(a.performance.timing,b.timingKeys)}if(a.performance.navigation){m.performance.navigation=d(a.performance.navigation,b.navigationKeys)}if(a.performance.memory){m.performance.memory=d(a.performance.memory,b.memoryKeys)}}f=function(a){if(p(c)){m.events.push({type:"ad."+a.type,time:(new Date).getTime()})}else{m.events.push({type:"content."+a.type,time:(new Date).getTime()})}};while(e--){c.on(b.videoEvents[e],f)}},s=function(a,b){var d,f,g,h,i={};if(typeof b==="string"){b=[b]}if(e(a)){for(f=0,g=a.length;f<g;f++){h=a[f];b.push(h.type);i[b.join(".")]=h.time;b.pop()}}else{for(d in a){if(a.hasOwnProperty(d)){b.push(d);if(typeof a[d]==="object"){i=c.util.mergeOptions(i,s(a[d],b))}else{i[b.join(".")]=a[d]}b.pop()}}}return i},t=function(e){var g,o,u=this,v=false,w,x={video:0,clock:0},y={video:0,clock:0},z=function(){var a="";a+=(Math.random()*4294967295>>>0).toString(16);a+=(Math.random()*4294967295>>>0).toString(16);a+=(Math.random()*4294967295>>>0).toString(16);a+=(Math.random()*4294967295>>>0).toString(16);return a}(),A,B,C,D,E,F,G,H,I=u.options(),J={},K,L,M=c.util.mergeOptions(j,e||{});k=M.verbose?t.log:function(){};r.call(this,M);J.account=I["data-account"];J.player=I["data-player"];J.embed=I["data-embed"];M.account=M.account||J.account;if(!M.account){throw{message:"You must specify your account ID to gather player analytics",settings:M}}M.player=M.player||"players.brightcove.com/"+J.account+"/"+J.player+"_"+J.embed;g=["account="+M.account,"domain=videocloud","platform=video-js","player="+encodeURIComponent(M.player)];if(M.playerName){g.push("player_name="+encodeURIComponent(M.playerName))}if(M.platformVersion){g.push("platform_version="+encodeURIComponent(M.platformVersion))}if(a.parent!==a.self){G=b.referrer;try{H=parent.document.referrer}catch(N){}}else{G=a.location.href;H=b.referrer}if(G){g.push("destination="+encodeURIComponent(G))}if(H){g.push("source="+encodeURIComponent(H))}g="?"+g.join("&");A=function(a){var d,e,h,i,j=g;if(a.qos){a=c.util.mergeOptions(a,a.qos),delete a.qos}i=u.bcAnalytics.settings.user||M.user;if(i!==undefined){j+="&user="+encodeURIComponent(f(i))}for(d in a){h=a[d];if(a.hasOwnProperty(d)&&h!=null){j+="&"+d+"="+h}}j+="&session="+z;j+="&time="+ +new Date;if(!p(u)||q(a.event)){e=b.createElement("img");e.src=M.analyticsUrl+j;if(a.range){if(c.log.debug){c.log.debug(a.event,a.range)}k("EVENT SENT: "+a.event+" "+a.range)}else{if(c.log.debug){c.log.debug(a.event)}k("EVENT SENT: "+a.event)}}else{k("NOT SENDING: "+a.event+" because we are playing an ad")}};B=function(a){var b=u.options(),d={};if(u.mediainfo){d.video=encodeURIComponent(u.mediainfo.id);d.video_name=encodeURIComponent(u.mediainfo.name)}d.video_duration=Math.floor(u.bcAnalytics.duration());if(d.video_duration<1||d.video_duration===Infinity){d.video_duration=null}A(c.util.mergeOptions(d,a))};C=function(a){var b={};b.event="error";if(a){b.errorcode=a.code;b.message=a.message}else{b.errorcode=-1;b.message="Plugin received null error from VideoJS core"}B(b)};D=function(a,b,c){var d;k("start: "+a+", end: "+b+", timestamp: "+c);if(p(u)){k("engagement skipped cause ads are playing.");return}if(a>b){k("backwards engagement interval detected",a,b);return}if(b-a<1){k("engagement too short to report",b,a);return}d={event:"video_engagement",qos:s(m.events,["qos","events"])};if(n.bitrates.length!==0||n.playlists.length!==0){d["qos.bitrates"]=encodeURIComponent(JSON.stringify(n))}if(u.bcAnalytics.duration()===Infinity){d.video_seconds_viewed=Math.round(b-a)}else{d.range=Math.floor(a)+".."+(Math.floor(b)-1)}B(d);x.video=y.video;x.clock=y.clock;m.events=[];n.bitrates=[];n.playlists=[]};E=function(){var a=u.currentSrc();if(a!==w){B({event:"video_impression"});if(!p(u)){v=false;w=a}}};F=function(a){if(!p(u)){k("resetting engagement on event :",a.type);if(a.type==="playing"){x.video=u.bcAnalytics.currentTime();x.clock=a.timeStamp||+new Date;y.video=x.video;y.clock=x.clock}else if(a.type==="contentplayback"){x.video=y.video;x.clock=y.clock}if(!v){v=true;B({event:"video_view"})}}else{k("not initializing engagement since the video is in ad state.")}};L=i(D,100,true);u.on("play",function(){k("play event received");B({event:"play_request"})});u.on("playing",F);u.on("contentplayback",function(a){if(a.triggerevent==="adserror"||a.triggerevent==="adtimeout"){return}F(a)});u.on("ended",function(a){var b=u.bcAnalytics.currentTime()||y.video;D(x.video,b,a.timeStamp)});u.on("adstart",function(a){k("adstart");D(x.video,y.video,a.timeStamp);B({event:"ad_start"})});u.on("adend",function(a){k("adend");B({event:"ad_end"})});u.on("adtimeout",function(a){k("adtimeout");B({event:"ad_timeout"})});u.on("timeupdate",function(a){var b,c,d,e;if(p(u)){k("Ignoring timeupdate during ad playback");return}b=u.bcAnalytics.currentTime();c=a.timeStamp||+new Date;d=b-y.video;if(c-y.clock<10){return}e=Math.abs(d)/(Math.abs(c-y.clock)*.001);if(e>1.5){if(!u.paused()){k("sending engagement on seek detection. playbackRate > 1.5: ",e);L(x.video,y.video,c)}else{k("ignoring seek detected while player is paused")}return}if(u.paused()){k("sending engagment on timeupdate while player is paused");D(x.video,y.video,a.timeStamp)}if(b<y.video){k("ignoring backwards timeupdate below the seek threshold");return}y.video=b;y.clock=c;if(y.video-x.video>=l){k("sending engagment on "+l+" second interval");D(x.video,y.video,a.timeStamp)}});u.on("pause",function(a){k("sending engagment on pause event at: "+u.bcAnalytics.currentTime());D(x.video,y.video,a.timeStamp)});u.on("error",function(){C(u.error())});u.on("bandwidthupdate",function(){n.bitrates.push([(new Date).getTime(),u.hls.bandwidth])});u.on("mediachange",function(){var a=u.hls.playlists.media();n.playlists.push([(new Date).getTime(),u.hls.bandwidth,a.attributes&&a.attributes.BANDWIDTH])});u.bcAnalytics={player:u,settings:M};u.bcAnalytics.currentTime=function(){if(u.onceux&&u.onceux.currentTime){return u.onceux.currentTime()}return u.currentTime()};u.bcAnalytics.duration=function(){if(u.onceux&&u.onceux.timeline){return u.onceux.timeline.contentDuration}return u.duration()};o=function(b){var c=function(c){if(b.getResponseHeader(c)){d[c]=a.encodeURIComponent(b.getResponseHeader(c))}},d={};if(!b){return d}c("BCOV-Debug-Cache-Stats");c("BCOV-instance");c("X-Cache");c("Via");c("X-Amz-Cf-Id");return d};u.on("catalog_request",function(a){A({event:"catalog_request",url:a.url})});u.on("catalog_request_error",function(a){var b=d(a.error,["type","code","message"]),c=o(a.response);if(a.response&&a.response.status){b.status=a.response.status}c.event="catalog_request_error";c.url=a.url;c.error=JSON.stringify(b);A(c)});u.on("catalog_response",function(a){var b=o(a.response);b.event="catalog_response";b.url=a.url;A(b)});u.ready(function(){A({event:"player_load",qos:s(m,"qos")});m.events=[];if(u.currentSrc()){k("sending impression on load because a src was already set.");E()}u.on("loadstart",function(){k("loadstart");E()})});h=u.error();if(h){C(h)}return u};t.log=function(){c.log("bcAnalytics: "+Array.prototype.join.call(arguments," "))};c.plugin("bcAnalytics",t)})(window,document,videojs);b.bcAnalytics({account:"3663210762001",player:window.location.hostname==="players.api.brightcove.com"?"players.api.brightcove.com/default_default":"",playerName:"CBD - Default Player (PROD)",platformVersion:"1.14.29"});(function(){var a={header:"",code:"",message:"",timeout:45*1e3,errors:{1:{type:"MEDIA_ERR_ABORTED",headline:"The video download was cancelled"},2:{type:"MEDIA_ERR_NETWORK",headline:"The video connection was lost, please confirm you are connected to the internet"},3:{type:"MEDIA_ERR_DECODE",headline:"The video is bad or in a format that cannot be played on your browser"},4:{type:"MEDIA_ERR_SRC_NOT_SUPPORTED",headline:"This video is either unavailable or not supported in this browser"},5:{type:"MEDIA_ERR_ENCRYPTED",headline:"The video you are trying to watch is encrypted and we do not know how to decrypt it"},unknown:{type:"MEDIA_ERR_UNKNOWN",headline:"An unanticipated problem was encountered, check back soon and try again"},"-1":{type:"PLAYER_ERR_NO_SRC",headline:"No video has been loaded"},"-2":{type:"PLAYER_ERR_TIMEOUT",headline:"Could not download the video"}}},b=function(b,c){var d=videojs.util.mergeOptions(a,c),e,f=function(){window.clearTimeout(e);e=window.setTimeout(function(){if(b.error()||b.paused()||b.ended()){return}b.error({code:-2,type:"PLAYER_ERR_TIMEOUT"})},d.timeout);if(b.error()&&b.error().code===-2){b.error(null)}},g=[],h=function(a,c){var d=function(){if(b.paused()){return i()}if(b.ended()){return i()}c.call(this)};b.on(a,d);g.push([a,d])},i=function(){var a;while(g.length){a=g.shift();b.off(a[0],a[1])}window.clearTimeout(e)};b.on("play",function(){var a=0;i();f();h("timeupdate",function(){var c=b.currentTime();if(c!==a){a=c;f()}});h("progress",f)});b.on("dispose",function(){i()})},c=function(a,b,c){if(a.addEventListener){a.addEventListener(b,c,false)}else{a.attachEvent("on"+b,c)}};var d=function(a,c){var d,e;b(a,c);a.on("play",function(){if(a.currentSrc()===null||a.currentSrc()===undefined||a.currentSrc()===""){a.error({code:-1,type:"PLAYER_ERR_NO_SRC"})}})};videojs.plugin("errors",function(b){var e=this,f=videojs.util.mergeOptions(a,b);this.on("error",function(){var a,b,d,g="";b=videojs.util.mergeOptions(this.error(),f.errors[this.error().code||0]);if(b.message){g='<div class="vjs-errors-details">'+this.localize("Technical details")+': <div class="vjs-errors-message">'+this.localize(b.message)+"</div>"+"</div>"}d=this.errorDisplay;d.el().innerHTML='<div class="vjs-errors-dialog">'+'<button class="vjs-errors-close-button"></button>'+'<div class="vjs-errors-content-container">'+'<h2 class="vjs-errors-headline">'+this.localize(b.headline)+"</h2>"+"<div><b>"+this.localize("Error Code")+"</b>: "+(b.type||b.code)+"</div>"+this.localize(g)+"</div>"+'<div class="vjs-errors-ok-button-container">'+'<button class="vjs-errors-ok-button">'+this.localize("OK")+"</button>"+"</div>"+"</div>";if(e.width()<=600||e.height()<=250){d.addClass("vjs-xs")}c(d.el().querySelector(".vjs-errors-close-button"),"click",function(){d.hide()});c(d.el().querySelector(".vjs-errors-ok-button"),"click",function(){d.hide()})});d(this,f)})})();b.errors();(function a(b,c,d){function e(g,h){if(!c[g]){if(!b[g]){var i=typeof require=="function"&&require;if(!h&&i)return i(g,!0);if(f)return f(g,!0);var j=new Error("Cannot find module '"+g+"'");throw j.code="MODULE_NOT_FOUND",j}var k=c[g]={exports:{}};b[g][0].call(k.exports,function(a){var c=b[g][1][a];return e(c?c:a)},k,k.exports,a,b,c,d)}return c[g].exports}var f=typeof require=="function"&&require;for(var g=0;g<d.length;g++)e(d[g]);return e})({1:[function(a,b,c){a("./index")},{"./index":2}],2:[function(a,b,c){(function(b){var c=typeof window!=="undefined"?window["videojs"]:typeof b!=="undefined"?b["videojs"]:null,d=a("./src/get-data.js"),e=a("./src/get-sources.js"),f=a("./src/get-assets.js"),g=Array.isArray||function(a){return Object.prototype.toString.call(a)==="[object Array]"},h=function(a,b){var c=0;for(;c<a.length;c++){if(a[c]===b||a.src===b){return true}}return false},i;i=function(a){var b=this,h,j,k,l,m,n;l=b.options();m={accountId:l["data-account"],policyKey:l["data-policy-key"]};n=c.util.mergeOptions(m,a);b.on("loadstart",function(){var a;if(!b.playlist){return}a=b.playlist()[b.playlist.indexOf(b.currentSrc())];if(a){b.mediainfo=a}});h=function(a){var c,d,e,f,g,h,i;c=window.VTTCue||window.TextTrackCue;i=b.mediainfo;b.mediainfo=a;b.el().setAttribute("data-video-id",a.id);b.poster(a.poster);b.src(a.sources);h=b.textTracks();if(h){for(d=0;d<h.length;d++){h[d].mode="disabled"}h=b.remoteTextTracks();if(h){d=h.length;while(d--){b.removeRemoteTextTrack(h[d])}}}if(a.cue_points){e=b.addTextTrack("metadata");for(d=0;d<a.cue_points.length;d++){f=a.cue_points[d];g=new c(f.time,f.time,f.type);e.addCue(g)}}if(a.textTracks){for(d=0;d<a.textTracks.length;d++){b.addRemoteTextTrack(a.textTracks[d])}}};j=function(a){b.mediainfo=a[0];b.playlist(a)};k=function(b){var d=c.util.mergeOptions(b),g=0;d.rawSources_=d.sources;sources=(a.getSources||e)(d);d.sources=sources;if(d.poster_sources){d.posterSources=d.poster_sources;delete d.poster_sources;d.poster=f(d.posterSources)}if(d.thumbnail_sources){d.thumbnailSources=d.thumbnail_sources;delete d.thumbnail_sources;d.thumbnail=f(d.thumbnailSources)}if(d.text_tracks){for(g=0;g<d.text_tracks.length;g++){if(d.text_tracks[g].sources){d.text_tracks[g].src=f(d.text_tracks[g].sources)}}d.textTracks=d.text_tracks;delete d.text_tracks}if(d.duration){d.duration=d.duration*.001}(function(){try{Object.defineProperty(d,"data",{get:function(){c.log("video.data is deprecated. Use video directly instead");return d}});Object.defineProperty(d,"text_tracks",{get:function(){c.log("video.text_tracks is deprecated. Use video.textTracks instead");return d.textTracks}})}catch(a){}})();return d};b.catalog={getVideo:function(a,e){var f=c.util.mergeOptions({},n);f.videoId=a;f.player=b;if(b.catalog.tveToken){f.tveToken=b.catalog.tveToken}b.catalog.loading++;return d(f,function(a,c){var d,f;b.catalog.loading--;if(a){a.data=c;i.error=a;return e(a,c)}if(!c){return e(null,null)}f=k(c);i.data=c;i.sources=f.sources;i.poster=f.poster;e(null,f)})},getPlaylist:function(a,e){var f=c.util.mergeOptions({},n);f.playlistId=a;f.player=b;if(b.catalog.tveToken){f.tveToken=b.catalog.tveToken}b.catalog.loading++;return d(f,function(a,c){var d,f=[];b.catalog.loading--;if(a){a.data=c;i.error=a;return e(a,c)}if(!c){return e(null,null)}b.catalog.data=c;for(d=0;d<c.videos.length;d++){f.push(k(c.videos[d]))}e(null,f)})},load:function(a){if(g(a)){return j(a)}h(a)},loading:0};b.bcCatalog=b.catalog;try{Object.defineProperty(b,"bcCatalog",{get:function(){c.log("The property `bcCatalog` is deprecated. Use `catalog` instead.");return b.catalog}})}catch(o){}};c.plugin("bcCatalog",function(){c.log("The property `bcCatalog` is deprecated. Use `catalog` instead.");i.apply(this,arguments)});c.plugin("catalog",i)}).call(this,typeof global!=="undefined"?global:typeof self!=="undefined"?self:typeof window!=="undefined"?window:{})},{"./src/get-assets.js":3,"./src/get-data.js":4,"./src/get-sources.js":5}],3:[function(a,b,c){var d=function(a,b,c){var d=0;for(;d<a.length;d++){if(b(a[d])){return a[d]}}return c};var e=function(a){var b=e.windowLocationProtocol(),c=function(a){return a.src&&a.src.indexOf(b)===0};return d(a,c,a[0]).src};e.windowLocationProtocol=function(){return window.location.protocol};b.exports=e},{}],4:[function(a,b,c){var d=a("./make-request.js"),e;e=function a(b){var c=Array.prototype.slice.call(arguments,1),d=0,e,f;for(;d<c.length;d++){e=c[d];for(f in e){if(e[f]!==undefined){b[f]=e[f]}}}return b};b.exports=function a(b,c){var f,g;if(!b.accountId||!(b.videoId||b.playlistId)||!b.policyKey){c(new Error("accountId, videoId or playlistId, and policy key are required fields"))}f={baseUrl:"https://edge.api.brightcove.com/playback/v1/"};f=e(f,b||{});return d(f,function(a,b){var d;if(a){return c(a,b)}c(null,b)})}},{"./make-request.js":6}],5:[function(a,b,c){(function(a){var c=typeof window!=="undefined"?window["videojs"]:typeof a!=="undefined"?a["videojs"]:null;var d=3*1024*1024,e=.5*1024*1024;var f=function(a){var b=a.sources||[],c=[],d,e;for(e=0;e<b.length;e++){d=b[e];if(d.src&&d.container==="MP4"){d.type="video/mp4";c.push(d)}else if(d.src&&d.container==="M2TS"){d.type="application/vnd.apple.mpegurl";if(/^https:\/\//.test(d.src)||!f.preferHttps()||f.supportsNativeHls()){c.push(d)}}else{c.push(d)}}return c.sort(g)};var g=function(a,b){var g=f.preferHttps()?i.https:i.http,j,k,l,m;if(c.IS_IOS||c.IS_ANDROID){j=e}else{j=d}if(f.preferMp4()){g=g.preferMp4}else if(f.supportsNativeHls()){g=g.nativeHls}else{g=g.noNativeHls}k=h(g,a)-h(g,b);if(!k&&a.avg_bitrate&&b.avg_bitrate){l=a.avg_bitrate||Infinity;m=b.avg_bitrate||Infinity;return Math.abs(l-j)-Math.abs(m-j)}return k};var h=function(a,b){if(!b.src){return 9999}a=a[/^[^:]*/.exec(b.src)];if(!a){return 9999}return a[b.type]||9999};var i={http:{nativeHls:{http:{"application/vnd.apple.mpegurl":1,"video/mp4":3},https:{"application/vnd.apple.mpegurl":2,"video/mp4":4}},noNativeHls:{http:{"application/vnd.apple.mpegurl":1,"video/mp4":3},https:{"application/vnd.apple.mpegurl":2,"video/mp4":4}},preferMp4:{http:{"application/vnd.apple.mpegurl":3,"video/mp4":1},https:{"application/vnd.apple.mpegurl":4,"video/mp4":2}}},https:{nativeHls:{http:{"application/vnd.apple.mpegurl":3,"video/mp4":4},https:{"application/vnd.apple.mpegurl":1,"video/mp4":2}},noNativeHls:{http:{"application/vnd.apple.mpegurl":4,"video/mp4":3},https:{"application/vnd.apple.mpegurl":1,"video/mp4":2}},preferMp4:{http:{"application/vnd.apple.mpegurl":4,"video/mp4":2},https:{"application/vnd.apple.mpegurl":3,"video/mp4":1}}}};f.supportsNativeHls=function(){var a=document.createElement("video");if(a&&a.canPlayType){return/probably|maybe/i.test(a.canPlayType("application/vnd.apple.mpegurl"))}return false};f.preferHttps=function(){return/^https:/.test(window.location.href)};f.preferMp4=function(){return c.IS_ANDROID&&c.ANDROID_VERSION<5};b.exports=f}).call(this,typeof global!=="undefined"?global:typeof self!=="undefined"?self:typeof window!=="undefined"?window:{})},{}],6:[function(a,b,c){var d=a("request");b.exports=function a(b,c){var e,f="videos",g,h;if(b.policyKey){h={Accept:"application/json;pk="+b.policyKey}}if(b.baseUrl.slice(-1)!=="/"){b.baseUrl+="/"}if(b.videoId){f="videos";g=b.videoId}else if(b.playlistId){f="playlists";g=b.playlistId}e=b.baseUrl+"accounts/"+b.accountId+"/"+f+"/"+g;if(b.tveToken){e+="?tveToken="+window.encodeURIComponent(b.tveToken)}b.player.trigger({type:"catalog_request",url:e,videoId:b.videoId});return d({url:e,strictSSL:false,headers:h},function(a,d,f){if(a){b.player.trigger({type:"catalog_request_error",url:e,error:a});return c(a,f)}try{f=JSON.parse(f)}catch(g){b.player.trigger({type:"catalog_request_error",url:e,response:d,error:g});return c(g,f)}if(d.status>=400){b.player.trigger({type:"catalog_request_error",url:e,response:d,error:new Error("Request Failed")});return c(d,f)}b.player.trigger({type:"catalog_response",url:e,response:d});c(null,f)})}},{request:7}],7:[function(a,b,c){var d,e,f;f=function(a,b){var c=a.url,d=a.headers,e,f;f=new XMLHttpRequest;f.open("GET",c,true);if(d){for(e in d){f.setRequestHeader(e,d[e])}}f.onreadystatechange=function(){if(f.readyState!==4){return}if(f.timeout){return b(new Error("timeout"),f)}if(f.readyState===4){return b(null,f,f.responseText)}};f.url=c;f.send();return f};if(XMLHttpRequest&&!("withCredentials"in new XMLHttpRequest)){var g,h,i,j,k,l=0,m={},n=[];d=document.createElement("iframe");d.src="https://edge.api.brightcove.com/player-ie-proxy.html";document.getElementsByTagName("head")[0].appendChild(d);g=function(){var a=n.length;while(a--){i.apply(this,n[a])}n.length=0;j=i};if(d.attachEvent){d.attachEvent("onload",g)}else{d.addEventListener("load",g)}h=function(a,b){n.push([a,b]);return d};i=function(a,b){a.id=l++;m[a.id]=b;d.contentWindow.postMessage(JSON.stringify(a),"*");return d};j=h;e=function(){j.apply(this,arguments)};k=function(a){var b,c,e,f,g,h;if(a.source!==d.contentWindow){return}try{b=JSON.parse(a.data)}catch(i){return videojs.log("Error parsing edge.api iframe response",i)}c=m[b.id];delete m[b.id];if(!c){return videojs.log("Received unexpected message from the edge.api iframe")}b.headers=b.headers.replace("\r","").split("\n");g={};for(e=0;e<b.headers;e++){h=b.headers[e].indexOf(":");f=[b.headers[e].substring(0,h),b.headers[e].substring(h+1)];f[0]=f[0].replace(/^\s+|\s+$/g,"");f[1]=f[1].replace(/^\s+|\s+$/g,"");g[f[0]]=f[1]}b.headers=g;b.getResponseHeader=function(a){return this.headers[a]};c(null,b,b.response)};if(window.addEventListener){window.addEventListener("message",k)}else{window.attachEvent("onmessage",k)}b.exports=e}else{b.exports=f}},{}]},{},[1]);b.catalog({accountId:"3663210762001",policyKey:"BCpkADawqM0Itk_XuVg22U7qFDdfLsZ2THYasccNuqmu_l0y0PcoJJFxxECxUWmT9eAE8viA7SxqaxvYZUn3C2JU3UdGapqtDeB5KNs365srZs8uyc6N2Mz-DfOEOlxpugDsXasIraNIH5O3"});(function(){var c,d,e,f,g,h,i,n,o;o=Array.isArray||function(a){return Object.prototype.toString.call(a)==="[object Array]"};h=function(a){b.ready(function(){var c={};if(l){c.poster=b.options()["poster"]}if(k){c.sources=b.options()["sources"]}if(j){c.textTracks=b.options()["tracks"]}if(a.textTracks&&a.textTracks.length>0){if(videojs.IS_IOS||m){b.el().querySelector(".vjs-tech").setAttribute("crossorigin","anonymous")}}b.catalog.load(videojs.util.mergeOptions(a,c));b.mediainfo=a})};i=function(a){b.ready(function(){var c={};if(l){c.poster=b.options()["poster"]}if(k){c.sources=b.options()["sources"]}if(j){c.textTracks=b.options()["tracks"]}if(o(a.videos)){c.rawItem=a.videos[0]||{};a.videos[0]=videojs.util.mergeOptions(a.videos[0]||{},c)}else{a.videos=[c]}b.catalog.load(a)})};if(a.getAttribute("data-video-id")&&a.getAttribute("data-playlist-id")){return b.error({headline:"Bad Request: Video and Playlist Ids Provided",type:"PLAYER_ERR_CONFLICTING_DATA",code:-3,message:"Both video and playlist ids were provided in this player. Please use either a video id or a playlist id but not both."})}e=a.attributes;for(g=0;g<e.length;g++){f=e[g];if(f.name==="data-video-id"&&f.value){c=f.value;d=null}else if(f.name==="data-playlist-id"&&f.value){d=f.value;c=null}}if(iframe){e=window.location.search.slice(1).split("&");for(g=0;g<e.length;g++){f=e[g].split("=");if(f[0]==="videoId"&&f[1]){c=f[1];d=null}else if(f[0]==="playlistId"&&f[1]){d=f[1];c=null}}}if(c){b.catalog.getVideo(c,function(a,c){if(a){a.data=c;b.catalog.error=a;return b.trigger("bc-catalog-error")}h(c)})}else if(d){b.catalog.getPlaylist(d,function(a,c){if(a){a.data=c;b.catalog.error=a;return b.trigger("bc-catalog-error")}i(c)})}else{}})();if(videojs.TOUCH_ENABLED){(function(a,b){videojs.plugin("touchActive",function(){var a=this,b=false,c=function(){if(!b){a.userActive(false)}};a.one("play",function(){a.el().className+=" vjs-user-active";a.one(["click","tap"],function(){b=true});setTimeout(c,5e3)})})})(window,document);b.touchActive()}b.social({deeplinking:false,description:"",displayAfterVideo:false,offset:"",services:{facebook:true,google:true,linkedin:true,pinterest:true,tumblr:true,twitter:true},title:"",url:""});b.bcMapPlugin();(function(a){var b;if(typeof window!=="undefined"){b=window}else if(typeof self!=="undefined"){b=self}b.videojsPlaylist=a()})(function(){var a,b,c;return function a(b,c,d){function e(g,h){if(!c[g]){if(!b[g]){var i=typeof require=="function"&&require;if(!h&&i)return i(g,!0);if(f)return f(g,!0);var j=new Error("Cannot find module '"+g+"'");throw j.code="MODULE_NOT_FOUND",j}var k=c[g]={exports:{}};b[g][0].call(k.exports,function(a){var c=b[g][1][a];return e(c?c:a)},k,k.exports,a,b,c,d)}return c[g].exports}var f=typeof require=="function"&&require;for(var g=0;g<d.length;g++)e(d[g]);return e}({1:[function(a,b,c){var d;b.exports=function a(b,c){if(typeof c!=="number"||c!==c||c<0||c===Infinity){return d(b)}var e=function(){b.playlist._timeoutId=window.setTimeout(function(){d(b);b.playlist.next()},c*1e3)};if(b.playlist._timeoutId){return d(b)}if(!b.playlist._ontimeout){b.playlist._ontimeout=e;return b.one("ended",e)}d(b);b.playlist._ontimeout=e;b.one("ended",e)};b.exports.resetadvance=d=function a(b){if(b.playlist._timeoutId){window.clearTimeout(b.playlist._timeoutId)}if(b.playlist._ontimeout){b.off("ended",b.playlist._ontimeout)}b.playlist._timeoutId=null;b.playlist._ontimeout=null}},{}],2:[function(a,b,c){var d=a("./autoadvance.js");var e=function(a){var b=a.remoteTextTracks();var c=b&&b.length||0;while(c--){a.removeRemoteTextTrack(b[c])}};var f=function(a,b,c){var f,g;g=!a.paused()||a.ended();a.poster(c.poster||"");a.src(c.sources);e(a);f=c.textTracks&&c.textTracks.length||0;while(f--){a.addRemoteTextTrack(c.textTracks[f])}if(g){a.play()}d(a,b);return a};b.exports=f;b.exports.clearTracks=e},{"./autoadvance.js":1}],3:[function(a,b,c){var d=a("./playitem.js");var e=a("./autoadvance.js");var f=Array.isArray||function(a){return Object.prototype.toString.call(a)==="[object Array]"};var g=function(a,b){var c=0;var d=0;var e;var f;for(;c<a.length;c++){e=a[c];for(d=0;d<e.sources.length;d++){ f=e.sources[d];if(f&&(f===b||f.src===b)){return c}}}return-1};var h=function(a,b){var c=-1;var h=null;var i=[];var j;var k=function b(){if(i.length>0){c=0;d(a,h,i[0])}else{c=-1}};if(b&&f(b)){i=b.slice()}a.on("dispose",function(){window.clearTimeout(j);j=null});var l=function b(c){if(c&&f(c)){i=c.slice();k();j=window.setTimeout(function(){a.trigger("playlistchange")},0)}return i.slice()};l.currentItem=function b(e){var f;if(typeof e==="number"&&c!==e&&e>=0&&e<i.length){c=e;d(a,h,i[c]);return c}f=a.currentSrc()||"";c=l.indexOf(f);return c};l.contains=function b(c){return a.playlist.indexOf(c)!==-1};l.indexOf=function a(b){var c=-1;var d;var e;var h;if(typeof b==="string"){c=g(i,b)}else{if(f(b)){d=b}else{d=b.sources}for(h=0;h<d.length;h++){e=d[h];if(typeof e==="string"){c=g(i,e)}else if(e.src){c=g(i,e.src)}if(c!==-1){break}}}return c};l.next=function b(){var e=c;c=Math.min(c+1,i.length-1);if(e===c){return}d(a,h,i[c]);return i[c]};l.previous=function b(){var e=c;c=Math.max(c-1,0);if(e===c){return}d(a,h,i[c]);return i[c]};l.autoadvance=function b(c){h=c;e(a,h)};k();a.on("loadstart",function(){if(a.playlist.currentItem()===-1){e.resetadvance(a)}});return l};b.exports=h},{"./autoadvance.js":1,"./playitem.js":2}],4:[function(a,b,c){(function(c){var d=a("./src/playlist-maker.js");var e=typeof window!=="undefined"?window["videojs"]:typeof c!=="undefined"?c["videojs"]:null;var f=function a(b){this.playlist=d(this,b)};b.exports=f;e.plugin("playlist",f)}).call(this,typeof global!=="undefined"?global:typeof self!=="undefined"?self:typeof window!=="undefined"?window:{})},{"./src/playlist-maker.js":3}]},{},[4])(4)});(function(){var a,c=parseInt("0",10),d=false;b.playlist();if(c===c&&isFinite(c)&&c>=0){b.playlist.autoadvance(c)}})();requestAnimationFrame(function(){var a=document.querySelector(".bc-wrap");b.el().className+=" vjs-plugins-ready";if(a){a.style.opacity=0}})};if(iframe){window.bc=bc}return bc})(window,document);;bc(document.querySelector('video'))</script> </body> </html>