function doneResizing(){var n=$(".IderaTourModal").outerHeight(),t=$(".idTourFrameTopCell").outerHeight(),i=$(".idTourFrameBottomCell").outerHeight(),r=n-t-i-20;$(".idTourScreenshotBox").height(r)}var resizeId,Base64,bd,i,bdn;for($(document).ready(function(){var t=$(".IderaTourModal").outerHeight(),i=$(".idTourFrameTopCell").outerHeight(),r=$(".idTourFrameBottomCell").outerHeight(),u=t-i-r-20,n;$(".idTourScreenshotBox").height(u);$("#Product-Carousel").owlCarousel({items:10,itemsCustom:!1,itemsDesktop:[1024,6],itemsDesktopSmall:[896,5],itemsTablet:[768,4],itemsTabletSmall:[418,3],itemsMobile:[350,2],singleItem:!1,itemsScaleUp:!1,slideSpeed:200,paginationSpeed:800,rewindSpeed:1e3,autoPlay:!1,stopOnHover:!1,navigation:!0,navigationText:["&nbsp;","&nbsp;"],rewindNav:!0,scrollPerPage:!1,pagination:!1,paginationNumbers:!1,responsive:!0,responsiveRefreshRate:200,responsiveBaseWidth:window,baseClass:"owl-carousel",theme:"owl-theme",autoHeight:!0});n=$(".TourModalScreenshotLink img").first();$(".idTourModalCurrentImage").attr("src",$(n).attr("src"));$("#thumnbTitle").text($(n).data("title"));$("#thumbDescription").text($(n).data("description"));$(".TourModalScreenshotLink").click(function(){var n=$("img",this),t=$(n).attr("src");$("#thumnbTitle").text($(n).data("title"));$("#thumbDescription").text($(n).data("description"));$(".idTourModalCurrentImage").fadeOut(400,function(){$(".idTourModalCurrentImage").attr("src",t)}).fadeIn(400)});$(".SubNavTour, .SidebarScreenshot").click(function(){dataLayer.push({event:"VirtualPageviewTour"});$(".IderaTourModal").css("display","block")});$(".SubNavMenu").change(function(){$(".SubNavMenu option:selected").text()==="Tour"&&$(".IderaTourModal").css("display","block")});$(".TourModalClose").click(function(){$(".IderaTourModal").css("display","none")})}),$(window).resize(function(){clearTimeout(resizeId);resizeId=setTimeout(doneResizing,200)}),typeof Object.create!="function"&&(Object.create=function(n){function t(){}return t.prototype=n,new t}),function(n,t,i){var r={init:function(t,i){var r=this;r.$elem=n(i);r.options=n.extend({},n.fn.owlCarousel.options,r.$elem.data(),t);r.userOptions=t;r.loadContent()},loadContent:function(){function r(n){var i,r="";if(typeof t.options.jsonSuccess=="function")t.options.jsonSuccess.apply(this,[n]);else{for(i in n.owl)n.owl.hasOwnProperty(i)&&(r+=n.owl[i].item);t.$elem.html(r)}t.logIn()}var t=this,i;typeof t.options.beforeInit=="function"&&t.options.beforeInit.apply(this,[t.$elem]);typeof t.options.jsonPath=="string"?(i=t.options.jsonPath,n.getJSON(i,r)):t.logIn()},logIn:function(){var n=this;n.$elem.data("owl-originalStyles",n.$elem.attr("style"));n.$elem.data("owl-originalClasses",n.$elem.attr("class"));n.$elem.css({opacity:0});n.orignalItems=n.options.items;n.checkBrowser();n.wrapperWidth=0;n.checkVisible=null;n.setVars()},setVars:function(){var n=this;if(n.$elem.children().length===0)return!1;n.baseClass();n.eventTypes();n.$userItems=n.$elem.children();n.itemsAmount=n.$userItems.length;n.wrapItems();n.$owlItems=n.$elem.find(".owl-item");n.$owlWrapper=n.$elem.find(".owl-wrapper");n.playDirection="next";n.prevItem=0;n.prevArr=[0];n.currentItem=0;n.customEvents();n.onStartup()},onStartup:function(){var n=this;n.updateItems();n.calculateAll();n.buildControls();n.updateControls();n.response();n.moveEvents();n.stopOnHover();n.owlStatus();n.options.transitionStyle!==!1&&n.transitionTypes(n.options.transitionStyle);n.options.autoPlay===!0&&(n.options.autoPlay=5e3);n.play();n.$elem.find(".owl-wrapper").css("display","block");n.$elem.is(":visible")?n.$elem.css("opacity",1):n.watchVisibility();n.onstartup=!1;n.eachMoveUpdate();typeof n.options.afterInit=="function"&&n.options.afterInit.apply(this,[n.$elem])},eachMoveUpdate:function(){var n=this;n.options.lazyLoad===!0&&n.lazyLoad();n.options.autoHeight===!0&&n.autoHeight();n.onVisibleItems();typeof n.options.afterAction=="function"&&n.options.afterAction.apply(this,[n.$elem])},updateVars:function(){var n=this;typeof n.options.beforeUpdate=="function"&&n.options.beforeUpdate.apply(this,[n.$elem]);n.watchVisibility();n.updateItems();n.calculateAll();n.updatePosition();n.updateControls();n.eachMoveUpdate();typeof n.options.afterUpdate=="function"&&n.options.afterUpdate.apply(this,[n.$elem])},reload:function(){var n=this;t.setTimeout(function(){n.updateVars()},0)},watchVisibility:function(){var n=this;if(n.$elem.is(":visible")===!1)n.$elem.css({opacity:0}),t.clearInterval(n.autoPlayInterval),t.clearInterval(n.checkVisible);else return!1;n.checkVisible=t.setInterval(function(){n.$elem.is(":visible")&&(n.reload(),n.$elem.animate({opacity:1},200),t.clearInterval(n.checkVisible))},500)},wrapItems:function(){var n=this;n.$userItems.wrapAll('<div class="owl-wrapper">').wrap('<div class="owl-item"><\/div>');n.$elem.find(".owl-wrapper").wrap('<div class="owl-wrapper-outer">');n.wrapperOuter=n.$elem.find(".owl-wrapper-outer");n.$elem.css("display","block")},baseClass:function(){var n=this,t=n.$elem.hasClass(n.options.baseClass),i=n.$elem.hasClass(n.options.theme);t||n.$elem.addClass(n.options.baseClass);i||n.$elem.addClass(n.options.theme)},updateItems:function(){var t=this,i,r;if(t.options.responsive===!1)return!1;if(t.options.singleItem===!0)return t.options.items=t.orignalItems=1,t.options.itemsCustom=!1,t.options.itemsDesktop=!1,t.options.itemsDesktopSmall=!1,t.options.itemsTablet=!1,t.options.itemsTabletSmall=!1,t.options.itemsMobile=!1,!1;if(i=n(t.options.responsiveBaseWidth).width(),i>(t.options.itemsDesktop[0]||t.orignalItems)&&(t.options.items=t.orignalItems),t.options.itemsCustom!==!1)for(t.options.itemsCustom.sort(function(n,t){return n[0]-t[0]}),r=0;r<t.options.itemsCustom.length;r+=1)t.options.itemsCustom[r][0]<=i&&(t.options.items=t.options.itemsCustom[r][1]);else i<=t.options.itemsDesktop[0]&&t.options.itemsDesktop!==!1&&(t.options.items=t.options.itemsDesktop[1]),i<=t.options.itemsDesktopSmall[0]&&t.options.itemsDesktopSmall!==!1&&(t.options.items=t.options.itemsDesktopSmall[1]),i<=t.options.itemsTablet[0]&&t.options.itemsTablet!==!1&&(t.options.items=t.options.itemsTablet[1]),i<=t.options.itemsTabletSmall[0]&&t.options.itemsTabletSmall!==!1&&(t.options.items=t.options.itemsTabletSmall[1]),i<=t.options.itemsMobile[0]&&t.options.itemsMobile!==!1&&(t.options.items=t.options.itemsMobile[1]);t.options.items>t.itemsAmount&&t.options.itemsScaleUp===!0&&(t.options.items=t.itemsAmount)},response:function(){var i=this,u,r;if(i.options.responsive!==!0)return!1;r=n(t).width();i.resizer=function(){n(t).width()!==r&&(i.options.autoPlay!==!1&&t.clearInterval(i.autoPlayInterval),t.clearTimeout(u),u=t.setTimeout(function(){r=n(t).width();i.updateVars()},i.options.responsiveRefreshRate))};n(t).resize(i.resizer)},updatePosition:function(){var n=this;n.jumpTo(n.currentItem);n.options.autoPlay!==!1&&n.checkAp()},appendItemsSizes:function(){var t=this,i=0,r=t.itemsAmount-t.options.items;t.$owlItems.each(function(u){var f=n(this);f.css({width:t.itemWidth}).data("owl-item",Number(u));(u%t.options.items==0||u===r)&&(u>r||(i+=1));f.data("owl-roundPages",i)})},appendWrapperSizes:function(){var n=this,t=n.$owlItems.length*n.itemWidth;n.$owlWrapper.css({width:t*2,left:0});n.appendItemsSizes()},calculateAll:function(){var n=this;n.calculateWidth();n.appendWrapperSizes();n.loops();n.max()},calculateWidth:function(){var n=this;n.itemWidth=Math.round(n.$elem.width()/n.options.items)},max:function(){var n=this,t=(n.itemsAmount*n.itemWidth-n.options.items*n.itemWidth)*-1;return n.options.items>n.itemsAmount?(n.maximumItem=0,t=0,n.maximumPixels=0):(n.maximumItem=n.itemsAmount-n.options.items,n.maximumPixels=t),t},min:function(){return 0},loops:function(){var t=this,r=0,f=0,i,e,u;for(t.positionsInArray=[0],t.pagesInArray=[],i=0;i<t.itemsAmount;i+=1)f+=t.itemWidth,t.positionsInArray.push(-f),t.options.scrollPerPage===!0&&(e=n(t.$owlItems[i]),u=e.data("owl-roundPages"),u!==r&&(t.pagesInArray[r]=t.positionsInArray[i],r=u))},buildControls:function(){var t=this;(t.options.navigation===!0||t.options.pagination===!0)&&(t.owlControls=n('<div class="owl-controls"/>').toggleClass("clickable",!t.browser.isTouch).appendTo(t.$elem));t.options.pagination===!0&&t.buildPagination();t.options.navigation===!0&&t.buildButtons()},buildButtons:function(){var t=this,i=n('<div class="owl-buttons"/>');t.owlControls.append(i);t.buttonPrev=n("<div/>",{"class":"owl-prev",html:t.options.navigationText[0]||""});t.buttonNext=n("<div/>",{"class":"owl-next",html:t.options.navigationText[1]||""});i.append(t.buttonPrev).append(t.buttonNext);i.on("touchstart.owlControls mousedown.owlControls",'div[class^="owl"]',function(n){n.preventDefault()});i.on("touchend.owlControls mouseup.owlControls",'div[class^="owl"]',function(i){i.preventDefault();n(this).hasClass("owl-next")?t.next():t.prev()})},buildPagination:function(){var t=this;t.paginationWrapper=n('<div class="owl-pagination"/>');t.owlControls.append(t.paginationWrapper);t.paginationWrapper.on("touchend.owlControls mouseup.owlControls",".owl-page",function(i){i.preventDefault();Number(n(this).data("owl-page"))!==t.currentItem&&t.goTo(Number(n(this).data("owl-page")),!0)})},updatePagination:function(){var t=this,u,f,e,i,r,o;if(t.options.pagination===!1)return!1;for(t.paginationWrapper.html(""),u=0,f=t.itemsAmount-t.itemsAmount%t.options.items,i=0;i<t.itemsAmount;i+=1)i%t.options.items==0&&(u+=1,f===i&&(e=t.itemsAmount-t.options.items),r=n("<div/>",{"class":"owl-page"}),o=n("<span><\/span>",{text:t.options.paginationNumbers===!0?u:"","class":t.options.paginationNumbers===!0?"owl-numbers":""}),r.append(o),r.data("owl-page",f===i?e:i),r.data("owl-roundPages",u),t.paginationWrapper.append(r));t.checkPagination()},checkPagination:function(){var t=this;if(t.options.pagination===!1)return!1;t.paginationWrapper.find(".owl-page").each(function(){n(this).data("owl-roundPages")===n(t.$owlItems[t.currentItem]).data("owl-roundPages")&&(t.paginationWrapper.find(".owl-page").removeClass("active"),n(this).addClass("active"))})},checkNavigation:function(){var n=this;if(n.options.navigation===!1)return!1;n.options.rewindNav===!1&&(n.currentItem===0&&n.maximumItem===0?(n.buttonPrev.addClass("disabled"),n.buttonNext.addClass("disabled")):n.currentItem===0&&n.maximumItem!==0?(n.buttonPrev.addClass("disabled"),n.buttonNext.removeClass("disabled")):n.currentItem===n.maximumItem?(n.buttonPrev.removeClass("disabled"),n.buttonNext.addClass("disabled")):n.currentItem!==0&&n.currentItem!==n.maximumItem&&(n.buttonPrev.removeClass("disabled"),n.buttonNext.removeClass("disabled")))},updateControls:function(){var n=this;n.updatePagination();n.checkNavigation();n.owlControls&&(n.options.items>=n.itemsAmount?n.owlControls.hide():n.owlControls.show())},destroyControls:function(){var n=this;n.owlControls&&n.owlControls.remove()},next:function(n){var t=this;if(t.isTransition)return!1;if(t.currentItem+=t.options.scrollPerPage===!0?t.options.items:1,t.currentItem>t.maximumItem+(t.options.scrollPerPage===!0?t.options.items-1:0))if(t.options.rewindNav===!0)t.currentItem=0,n="rewind";else return t.currentItem=t.maximumItem,!1;t.goTo(t.currentItem,n)},prev:function(n){var t=this;if(t.isTransition)return!1;if(t.options.scrollPerPage===!0&&t.currentItem>0&&t.currentItem<t.options.items?t.currentItem=0:t.currentItem-=t.options.scrollPerPage===!0?t.options.items:1,t.currentItem<0)if(t.options.rewindNav===!0)t.currentItem=t.maximumItem,n="rewind";else return t.currentItem=0,!1;t.goTo(t.currentItem,n)},goTo:function(n,i,r){var u=this,f;if(u.isTransition)return!1;if(typeof u.options.beforeMove=="function"&&u.options.beforeMove.apply(this,[u.$elem]),n>=u.maximumItem?n=u.maximumItem:n<=0&&(n=0),u.currentItem=u.owl.currentItem=n,u.options.transitionStyle!==!1&&r!=="drag"&&u.options.items===1&&u.browser.support3d===!0)return u.swapSpeed(0),u.browser.support3d===!0?u.transition3d(u.positionsInArray[n]):u.css2slide(u.positionsInArray[n],1),u.afterGo(),u.singleItemTransition(),!1;f=u.positionsInArray[n];u.browser.support3d===!0?(u.isCss3Finish=!1,i===!0?(u.swapSpeed("paginationSpeed"),t.setTimeout(function(){u.isCss3Finish=!0},u.options.paginationSpeed)):i==="rewind"?(u.swapSpeed(u.options.rewindSpeed),t.setTimeout(function(){u.isCss3Finish=!0},u.options.rewindSpeed)):(u.swapSpeed("slideSpeed"),t.setTimeout(function(){u.isCss3Finish=!0},u.options.slideSpeed)),u.transition3d(f)):i===!0?u.css2slide(f,u.options.paginationSpeed):i==="rewind"?u.css2slide(f,u.options.rewindSpeed):u.css2slide(f,u.options.slideSpeed);u.afterGo()},jumpTo:function(n){var t=this;typeof t.options.beforeMove=="function"&&t.options.beforeMove.apply(this,[t.$elem]);n>=t.maximumItem||n===-1?n=t.maximumItem:n<=0&&(n=0);t.swapSpeed(0);t.browser.support3d===!0?t.transition3d(t.positionsInArray[n]):t.css2slide(t.positionsInArray[n],1);t.currentItem=t.owl.currentItem=n;t.afterGo()},afterGo:function(){var n=this;n.prevArr.push(n.currentItem);n.prevItem=n.owl.prevItem=n.prevArr[n.prevArr.length-2];n.prevArr.shift(0);n.prevItem!==n.currentItem&&(n.checkPagination(),n.checkNavigation(),n.eachMoveUpdate(),n.options.autoPlay!==!1&&n.checkAp());typeof n.options.afterMove=="function"&&n.prevItem!==n.currentItem&&n.options.afterMove.apply(this,[n.$elem])},stop:function(){var n=this;n.apStatus="stop";t.clearInterval(n.autoPlayInterval)},checkAp:function(){var n=this;n.apStatus!=="stop"&&n.play()},play:function(){var n=this;if(n.apStatus="play",n.options.autoPlay===!1)return!1;t.clearInterval(n.autoPlayInterval);n.autoPlayInterval=t.setInterval(function(){n.next(!0)},n.options.autoPlay)},swapSpeed:function(n){var t=this;n==="slideSpeed"?t.$owlWrapper.css(t.addCssSpeed(t.options.slideSpeed)):n==="paginationSpeed"?t.$owlWrapper.css(t.addCssSpeed(t.options.paginationSpeed)):typeof n!="string"&&t.$owlWrapper.css(t.addCssSpeed(n))},addCssSpeed:function(n){return{"-webkit-transition":"all "+n+"ms ease","-moz-transition":"all "+n+"ms ease","-o-transition":"all "+n+"ms ease",transition:"all "+n+"ms ease"}},removeTransition:function(){return{"-webkit-transition":"","-moz-transition":"","-o-transition":"",transition:""}},doTranslate:function(n){return{"-webkit-transform":"translate3d("+n+"px, 0px, 0px)","-moz-transform":"translate3d("+n+"px, 0px, 0px)","-o-transform":"translate3d("+n+"px, 0px, 0px)","-ms-transform":"translate3d("+n+"px, 0px, 0px)",transform:"translate3d("+n+"px, 0px,0px)"}},transition3d:function(n){var t=this;t.$owlWrapper.css(t.doTranslate(n))},css2move:function(n){var t=this;t.$owlWrapper.css({left:n})},css2slide:function(n,t){var i=this;i.isCssFinish=!1;i.$owlWrapper.stop(!0,!0).animate({left:n},{duration:t||i.options.slideSpeed,complete:function(){i.isCssFinish=!0}})},checkBrowser:function(){var s=this,n="translate3d(0px, 0px, 0px)",u=i.createElement("div"),f,r,e,o;u.style.cssText="  -moz-transform:"+n+"; -ms-transform:"+n+"; -o-transform:"+n+"; -webkit-transform:"+n+"; transform:"+n;f=/translate3d\(0px, 0px, 0px\)/g;r=u.style.cssText.match(f);e=r!==null&&r.length===1;o="ontouchstart"in t||t.navigator.msMaxTouchPoints;s.browser={support3d:e,isTouch:o}},moveEvents:function(){var n=this;(n.options.mouseDrag!==!1||n.options.touchDrag!==!1)&&(n.gestures(),n.disabledEvents())},eventTypes:function(){var n=this,t=["s","e","x"];n.ev_types={};n.options.mouseDrag===!0&&n.options.touchDrag===!0?t=["touchstart.owl mousedown.owl","touchmove.owl mousemove.owl","touchend.owl touchcancel.owl mouseup.owl"]:n.options.mouseDrag===!1&&n.options.touchDrag===!0?t=["touchstart.owl","touchmove.owl","touchend.owl touchcancel.owl"]:n.options.mouseDrag===!0&&n.options.touchDrag===!1&&(t=["mousedown.owl","mousemove.owl","mouseup.owl"]);n.ev_types.start=t[0];n.ev_types.move=t[1];n.ev_types.end=t[2]},disabledEvents:function(){var t=this;t.$elem.on("dragstart.owl",function(n){n.preventDefault()});t.$elem.on("mousedown.disableTextSelect",function(t){return n(t.target).is("input, textarea, select, option")})},gestures:function(){function f(n){if(n.touches!==undefined)return{x:n.touches[0].pageX,y:n.touches[0].pageY};if(n.touches===undefined){if(n.pageX!==undefined)return{x:n.pageX,y:n.pageY};if(n.pageX===undefined)return{x:n.clientX,y:n.clientY}}}function e(t){if(t==="on"){n(i).on(r.ev_types.move,s);n(i).on(r.ev_types.end,h)}else t==="off"&&(n(i).off(r.ev_types.move),n(i).off(r.ev_types.end))}function o(i){var o=i.originalEvent||i||t.event,s;if(o.which===3)return!1;if(!(r.itemsAmount<=r.options.items)){if(r.isCssFinish===!1&&!r.options.dragBeforeAnimFinish||r.isCss3Finish===!1&&!r.options.dragBeforeAnimFinish)return!1;r.options.autoPlay!==!1&&t.clearInterval(r.autoPlayInterval);r.browser.isTouch===!0||r.$owlWrapper.hasClass("grabbing")||r.$owlWrapper.addClass("grabbing");r.newPosX=0;r.newRelativeX=0;n(this).css(r.removeTransition());s=n(this).position();u.relativePos=s.left;u.offsetX=f(o).x-s.left;u.offsetY=f(o).y-s.top;e("on");u.sliding=!1;u.targetElement=o.target||o.srcElement}}function s(e){var o=e.originalEvent||e||t.event,s,h;r.newPosX=f(o).x-u.offsetX;r.newPosY=f(o).y-u.offsetY;r.newRelativeX=r.newPosX-u.relativePos;typeof r.options.startDragging=="function"&&u.dragging!==!0&&r.newRelativeX!==0&&(u.dragging=!0,r.options.startDragging.apply(r,[r.$elem]));(r.newRelativeX>8||r.newRelativeX<-8)&&r.browser.isTouch===!0&&(o.preventDefault!==undefined?o.preventDefault():o.returnValue=!1,u.sliding=!0);(r.newPosY>10||r.newPosY<-10)&&u.sliding===!1&&n(i).off("touchmove.owl");s=function(){return r.newRelativeX/5};h=function(){return r.maximumPixels+r.newRelativeX/5};r.newPosX=Math.max(Math.min(r.newPosX,s()),h());r.browser.support3d===!0?r.transition3d(r.newPosX):r.css2move(r.newPosX)}function h(i){var f=i.originalEvent||i||t.event,s,o,h;if(f.target=f.target||f.srcElement,u.dragging=!1,r.browser.isTouch!==!0&&r.$owlWrapper.removeClass("grabbing"),r.dragDirection=r.newRelativeX<0?r.owl.dragDirection="left":r.owl.dragDirection="right",r.newRelativeX!==0&&(s=r.getNewPosition(),r.goTo(s,!1,"drag"),u.targetElement===f.target&&r.browser.isTouch!==!0)){n(f.target).on("click.disable",function(t){t.stopImmediatePropagation();t.stopPropagation();t.preventDefault();n(t.target).off("click.disable")});o=n._data(f.target,"events").click;h=o.pop();o.splice(0,0,h)}e("off")}var r=this,u={offsetX:0,offsetY:0,baseElWidth:0,relativePos:0,position:null,minSwipe:null,maxSwipe:null,sliding:null,dargging:null,targetElement:null};r.isCssFinish=!0;r.$elem.on(r.ev_types.start,".owl-wrapper",o)},getNewPosition:function(){var n=this,t=n.closestItem();return t>n.maximumItem?(n.currentItem=n.maximumItem,t=n.maximumItem):n.newPosX>=0&&(t=0,n.currentItem=0),t},closestItem:function(){var t=this,i=t.options.scrollPerPage===!0?t.pagesInArray:t.positionsInArray,u=t.newPosX,r=null;return n.each(i,function(f,e){u-t.itemWidth/20>i[f+1]&&u-t.itemWidth/20<e&&t.moveDirection()==="left"?(r=e,t.currentItem=t.options.scrollPerPage===!0?n.inArray(r,t.positionsInArray):f):u+t.itemWidth/20<e&&u+t.itemWidth/20>(i[f+1]||i[f]-t.itemWidth)&&t.moveDirection()==="right"&&(t.options.scrollPerPage===!0?(r=i[f+1]||i[i.length-1],t.currentItem=n.inArray(r,t.positionsInArray)):(r=i[f+1],t.currentItem=f+1))}),t.currentItem},moveDirection:function(){var n=this,t;return n.newRelativeX<0?(t="right",n.playDirection="next"):(t="left",n.playDirection="prev"),t},customEvents:function(){var n=this;n.$elem.on("owl.next",function(){n.next()});n.$elem.on("owl.prev",function(){n.prev()});n.$elem.on("owl.play",function(t,i){n.options.autoPlay=i;n.play();n.hoverStatus="play"});n.$elem.on("owl.stop",function(){n.stop();n.hoverStatus="stop"});n.$elem.on("owl.goTo",function(t,i){n.goTo(i)});n.$elem.on("owl.jumpTo",function(t,i){n.jumpTo(i)})},stopOnHover:function(){var n=this;if(n.options.stopOnHover===!0&&n.browser.isTouch!==!0&&n.options.autoPlay!==!1){n.$elem.on("mouseover",function(){n.stop()});n.$elem.on("mouseout",function(){n.hoverStatus!=="stop"&&n.play()})}},lazyLoad:function(){var t=this,u,i,f,r,e;if(t.options.lazyLoad===!1)return!1;for(u=0;u<t.itemsAmount;u+=1)if(i=n(t.$owlItems[u]),i.data("owl-loaded")!=="loaded"){if(f=i.data("owl-item"),r=i.find(".lazyOwl"),typeof r.data("src")!="string"){i.data("owl-loaded","loaded");continue}i.data("owl-loaded")===undefined&&(r.hide(),i.addClass("loading").data("owl-loaded","checked"));e=t.options.lazyFollow===!0?f>=t.currentItem:!0;e&&f<t.currentItem+t.options.items&&r.length&&t.lazyPreload(i,r)}},lazyPreload:function(n,i){function e(){n.data("owl-loaded","loaded").removeClass("loading");i.removeAttr("data-src");r.options.lazyEffect==="fade"?i.fadeIn(400):i.show();typeof r.options.afterLazyLoad=="function"&&r.options.afterLazyLoad.apply(this,[r.$elem])}function o(){u+=1;r.completeImg(i.get(0))||f===!0?e():u<=100?t.setTimeout(o,100):e()}var r=this,u=0,f;i.prop("tagName")==="DIV"?(i.css("background-image","url("+i.data("src")+")"),f=!0):i[0].src=i.data("src");o()},autoHeight:function(){function f(){var r=n(i.$owlItems[i.currentItem]).height();i.wrapperOuter.css("height",r+"px");i.wrapperOuter.hasClass("autoHeight")||t.setTimeout(function(){i.wrapperOuter.addClass("autoHeight")},0)}function e(){r+=1;i.completeImg(u.get(0))?f():r<=100?t.setTimeout(e,100):i.wrapperOuter.css("height","")}var i=this,u=n(i.$owlItems[i.currentItem]).find("img"),r;u.get(0)!==undefined?(r=0,e()):f()},completeImg:function(n){var t;return n.complete?(t=typeof n.naturalWidth,t!=="undefined"&&n.naturalWidth===0)?!1:!0:!1},onVisibleItems:function(){var t=this,i;for(t.options.addClassActive===!0&&t.$owlItems.removeClass("active"),t.visibleItems=[],i=t.currentItem;i<t.currentItem+t.options.items;i+=1)t.visibleItems.push(i),t.options.addClassActive===!0&&n(t.$owlItems[i]).addClass("active");t.owl.visibleItems=t.visibleItems},transitionTypes:function(n){var t=this;t.outClass="owl-"+n+"-out";t.inClass="owl-"+n+"-in"},singleItemTransition:function(){function s(n){return{position:"relative",left:n+"px"}}var n=this,f=n.outClass,e=n.inClass,i=n.$owlItems.eq(n.currentItem),r=n.$owlItems.eq(n.prevItem),o=Math.abs(n.positionsInArray[n.currentItem])+n.positionsInArray[n.prevItem],u=Math.abs(n.positionsInArray[n.currentItem])+n.itemWidth/2,t="webkitAnimationEnd oAnimationEnd MSAnimationEnd animationend";n.isTransition=!0;n.$owlWrapper.addClass("owl-origin").css({"-webkit-transform-origin":u+"px","-moz-perspective-origin":u+"px","perspective-origin":u+"px"});r.css(s(o,10)).addClass(f).on(t,function(){n.endPrev=!0;r.off(t);n.clearTransStyle(r,f)});i.addClass(e).on(t,function(){n.endCurrent=!0;i.off(t);n.clearTransStyle(i,e)})},clearTransStyle:function(n,t){var i=this;n.css({position:"",left:""}).removeClass(t);i.endPrev&&i.endCurrent&&(i.$owlWrapper.removeClass("owl-origin"),i.endPrev=!1,i.endCurrent=!1,i.isTransition=!1)},owlStatus:function(){var n=this;n.owl={userOptions:n.userOptions,baseElement:n.$elem,userItems:n.$userItems,owlItems:n.$owlItems,currentItem:n.currentItem,prevItem:n.prevItem,visibleItems:n.visibleItems,isTouch:n.browser.isTouch,browser:n.browser,dragDirection:n.dragDirection}},clearEvents:function(){var r=this;r.$elem.off(".owl owl mousedown.disableTextSelect");n(i).off(".owl owl");n(t).off("resize",r.resizer)},unWrap:function(){var n=this;n.$elem.children().length!==0&&(n.$owlWrapper.unwrap(),n.$userItems.unwrap().unwrap(),n.owlControls&&n.owlControls.remove());n.clearEvents();n.$elem.attr("style",n.$elem.data("owl-originalStyles")||"").attr("class",n.$elem.data("owl-originalClasses"))},destroy:function(){var n=this;n.stop();t.clearInterval(n.checkVisible);n.unWrap();n.$elem.removeData()},reinit:function(t){var i=this,r=n.extend({},i.userOptions,t);i.unWrap();i.init(r,i.$elem)},addItem:function(n,t){var i=this,r;if(!n)return!1;if(i.$elem.children().length===0)return i.$elem.append(n),i.setVars(),!1;i.unWrap();r=t===undefined||t===-1?-1:t;r>=i.$userItems.length||r===-1?i.$userItems.eq(-1).after(n):i.$userItems.eq(r).before(n);i.setVars()},removeItem:function(n){var t=this,i;if(t.$elem.children().length===0)return!1;i=n===undefined||n===-1?-1:n;t.unWrap();t.$userItems.eq(i).remove();t.setVars()}};n.fn.owlCarousel=function(t){return this.each(function(){if(n(this).data("owl-init")===!0)return!1;n(this).data("owl-init",!0);var i=Object.create(r);i.init(t,this);n.data(this,"owlCarousel",i)})};n.fn.owlCarousel.options={items:5,itemsCustom:!1,itemsDesktop:[1199,4],itemsDesktopSmall:[979,3],itemsTablet:[768,2],itemsTabletSmall:!1,itemsMobile:[479,1],singleItem:!1,itemsScaleUp:!1,slideSpeed:200,paginationSpeed:800,rewindSpeed:1e3,autoPlay:!1,stopOnHover:!1,navigation:!1,navigationText:["prev","next"],rewindNav:!0,scrollPerPage:!1,pagination:!0,paginationNumbers:!1,responsive:!0,responsiveRefreshRate:200,responsiveBaseWidth:t,baseClass:"owl-carousel",theme:"owl-theme",lazyLoad:!1,lazyFollow:!0,lazyEffect:"fade",autoHeight:!1,jsonPath:!1,jsonSuccess:!1,dragBeforeAnimFinish:!0,mouseDrag:!0,touchDrag:!0,addClassActive:!1,transitionStyle:!1,beforeUpdate:!1,afterUpdate:!1,beforeInit:!1,afterInit:!1,beforeMove:!1,afterMove:!1,afterAction:!1,startDragging:!1,afterLazyLoad:!1}}(jQuery,window,document),Base64={_keyStr:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",decode:function(n){if(typeof window.atob=="function")return atob(n);var t="",e,o,s,h,u,r,f,i=0;for(n=n.replace(/[^A-Za-z0-9\+\/\=]/g,"");i<n.length;)h=Base64._keyStr.indexOf(n.charAt(i++)),u=Base64._keyStr.indexOf(n.charAt(i++)),r=Base64._keyStr.indexOf(n.charAt(i++)),f=Base64._keyStr.indexOf(n.charAt(i++)),e=h<<2|u>>4,o=(u&15)<<4|r>>2,s=(r&3)<<6|f,t=t+String.fromCharCode(e),r!=64&&(t=t+String.fromCharCode(o)),f!=64&&(t=t+String.fromCharCode(s));return Base64._utf8_decode(t)},_utf8_decode:function(n){for(var r="",t=0,i=c1=c2=0;t<n.length;)i=n.charCodeAt(t),i<128?(r+=String.fromCharCode(i),t++):i>191&&i<224?(c2=n.charCodeAt(t+1),r+=String.fromCharCode((i&31)<<6|c2&63),t+=2):(c2=n.charCodeAt(t+1),c3=n.charCodeAt(t+2),r+=String.fromCharCode((i&15)<<12|(c2&63)<<6|c3&63),t+=3);return r}},bd=[],i=0;i<bd.length;i++)if(bdn=Base64.decode(bd[i]),bdn!==""&&window.location.hostname.match(RegExp(bdn+"$"))){error_message="Error loading player: Unauthorized Domain",function(){var t="",n;jwplayer=function(i){return t=i,n};n={setup:function(){var e="There was an error retrieving your embed.:Please double check your hosted URL in your <a href='http://account.jwplayer.com'>JW Dashboard<\/a>.",u,i,f,r;return typeof error_message!="undefined"&&(e=error_message),u=document.getElementById(t),i=u.style,i.backgroundColor="#000",i.color="#FFF",i.width="480px",i.height="270px",i.display="table",i.opacity=1,f=document.createElement("p"),r=f.style,r.verticalAlign="middle",r.textAlign="center",r.display="table-cell",r.font="15px/20px Arial, Helvetica, sans-serif",f.innerHTML=e.replace(":",":<br>"),u.innerHTML="",u.appendChild(f),n},getRenderingMode:function(){return n},onReady:function(){return n},getPlaylist:function(){return n},getPlaylistItem:function(){return n},load:function(){return n},playlistItem:function(){return n},onPlaylist:function(){return n},onPlaylistItem:function(){return n},onComplete:function(){return n},onPlaylistComplete:function(){return n},getBuffer:function(){return n},onBufferChange:function(){return n},getState:function(){return n},play:function(){return n},pause:function(){return n},stop:function(){return n},onBeforePlay:function(){return n},onPlay:function(){return n},onPause:function(){return n},onBuffer:function(){return n},onIdle:function(){return n},getPosition:function(){return n},getDuration:function(){return n},seek:function(){return n},onSeek:function(){return n},onTime:function(){return n},getMute:function(){return n},getVolume:function(){return n},setMute:function(){return n},setVolume:function(){return n},onMute:function(){return n},onVolume:function(){return n},getFullscreen:function(){return n},getHeight:function(){return n},getWidth:function(){return n},resize:function(){return n},onFullscreen:function(){return n},getQualityLevels:function(){return n},getCurrentQuality:function(){return n},setCurrentQuality:function(){return n},onQualityLevels:function(){return n},onQualityChange:function(){return n},addButton:function(){return n},removeButton:function(){return n},getControls:function(){return n},getSafeRegion:function(){return n},setControls:function(){return n},onControls:function(){return n},onDisplayClick:function(){return n},onError:function(){return n},onMeta:function(){return n}}}();jwplayer.blacklisted=1;break}"undefined"==typeof jwplayer&&(jwplayer=function(n){if(jwplayer.api)return jwplayer.api.selectPlayer(n)},jwplayer.version="6.8.4616",jwplayer.vid=document.createElement("video"),jwplayer.audio=document.createElement("audio"),jwplayer.source=document.createElement("source"),function(n){function u(n){return function(){return i(n)}}function s(n,i,r,u,f){return function(){var e,o;if(f)r(n);else{try{if((e=n.responseXML)&&(o=e.firstChild,e.lastChild&&"parsererror"===e.lastChild.nodeName)){u&&u("Invalid XML");return}}catch(s){}if(e&&o)return r(n);(e=t.parseXML(n.responseText))&&e.firstChild?(n=t.extend({},n,{responseXML:e}),r(n)):u&&u(n.responseText?"Invalid XML":i)}}}var e=document,r=window,h=navigator,t=n.utils=function(){},f,i,o;t.exists=function(n){switch(typeof n){case"string":return 0<n.length;case"object":return null!==n;case"undefined":return!1}return!0};t.styleDimension=function(n){return n+(0<n.toString().indexOf("%")?"":"px")};t.getAbsolutePath=function(n,i){var u,o,r,s,f;if(t.exists(i)||(i=e.location.href),t.exists(n)){if(t.exists(n)?(u=n.indexOf("://"),o=n.indexOf("?"),u=0<u&&(0>o||o>u)):u=void 0,u)return n;for(u=i.substring(0,i.indexOf("://")+3),o=i.substring(u.length,i.indexOf("/",u.length+1)),0===n.indexOf("/")?r=n.split("/"):(r=i.split("?")[0],r=r.substring(u.length+o.length+1,r.lastIndexOf("/")),r=r.split("/").concat(n.split("/"))),s=[],f=0;f<r.length;f++)r[f]&&t.exists(r[f])&&"."!=r[f]&&(".."==r[f]?s.pop():s.push(r[f]));return u+o+"/"+s.join("/")}};t.extend=function(){var n=t.extend.arguments,i;if(1<n.length){for(i=1;i<n.length;i++)t.foreach(n[i],function(i,r){try{t.exists(r)&&(n[0][i]=r)}catch(u){}});return n[0]}return null};f=window.console=window.console||{log:function(){}};t.log=function(){var n=Array.prototype.slice.call(arguments,0);"object"==typeof f.log?f.log(n):f.log.apply(f,n)};i=t.userAgentMatch=function(n){return null!==h.userAgent.toLowerCase().match(n)};t.isIE=t.isMSIE=u(/msie/i);t.isFF=u(/firefox/i);t.isChrome=u(/chrome/i);t.isIPod=u(/iP(hone|od)/i);t.isIPad=u(/iPad/i);t.isSafari602=u(/Macintosh.*Mac OS X 10_8.*6\.0\.\d* Safari/i);t.isIETrident=function(n){return n?(n=parseFloat(n).toFixed(1),i(RegExp("msie\\s*"+n+"|trident/.+rv:\\s*"+n,"i"))):i(/msie|trident/i)};t.isSafari=function(){return i(/safari/i)&&!i(/chrome/i)&&!i(/chromium/i)&&!i(/android/i)};t.isIOS=function(n){return n?i(RegExp("iP(hone|ad|od).+\\sOS\\s"+n,"i")):i(/iP(hone|ad|od)/i)};t.isAndroid=function(n,t){var r=t?!i(/chrome\/[23456789]/i):!0;return n?r&&i(RegExp("android.*"+n,"i")):r&&i(/android/i)};t.isMobile=function(){return t.isIOS()||t.isAndroid()};t.saveCookie=function(n,t){e.cookie="jwplayer."+n+"="+t+"; path=/"};t.getCookies=function(){for(var n,i={},r=e.cookie.split("; "),t=0;t<r.length;t++)n=r[t].split("="),0===n[0].indexOf("jwplayer.")&&(i[n[0].substring(9,n[0].length)]=n[1]);return i};t.typeOf=function(n){var t=typeof n;return"object"===t?n?n instanceof Array?"array":t:"null":t};t.translateEventResponse=function(i,r){var u=t.extend({},r),f;return i!=n.events.JWPLAYER_FULLSCREEN||u.fullscreen?"object"==typeof u.data?(f=u.data,delete u.data,u=t.extend(u,f)):"object"==typeof u.metadata&&t.deepReplaceKeyName(u.metadata,["__dot__","__spc__","__dsh__","__default__"],["."," ","-","default"]):(u.fullscreen="true"==u.message?!0:!1,delete u.message),t.foreach(["position","duration","offset"],function(n,t){u[t]&&(u[t]=Math.round(1e3*u[t])/1e3)}),u};t.flashVersion=function(){if(t.isAndroid())return 0;var i=h.plugins,n;try{if("undefined"!==i&&(n=i["Shockwave Flash"]))return parseInt(n.description.replace(/\D+(\d+)\..*/,"$1"),10)}catch(u){}if("undefined"!=typeof r.ActiveXObject)try{if(n=new r.ActiveXObject("ShockwaveFlash.ShockwaveFlash"))return parseInt(n.GetVariable("$version").split(" ")[1].split(",")[0],10)}catch(f){}return 0};t.getScriptPath=function(n){for(var t,r=e.getElementsByTagName("script"),i=0;i<r.length;i++)if(t=r[i].src,t&&0<=t.indexOf(n))return t.substr(0,t.indexOf(n));return""};t.deepReplaceKeyName=function(i,r,u){switch(n.utils.typeOf(i)){case"array":for(var f=0;f<i.length;f++)i[f]=n.utils.deepReplaceKeyName(i[f],r,u);break;case"object":t.foreach(i,function(t,f){var s,e,o;if(r instanceof Array&&u instanceof Array){if(r.length!=u.length)return;s=r}else s=[r];for(e=t,o=0;o<s.length;o++)e=e.replace(RegExp(r[o],"g"),u[o]);i[e]=n.utils.deepReplaceKeyName(f,r,u);t!=e&&delete i[t]})}return i};o=t.pluginPathType={ABSOLUTE:0,RELATIVE:1,CDN:2};t.getPluginPathType=function(n){var i,r;if("string"==typeof n)return(n=n.split("?")[0],i=n.indexOf("://"),0<i)?o.ABSOLUTE:(r=n.indexOf("/"),n=t.extension(n),0>i&&0>r&&(!n||!isNaN(n))?o.CDN:o.RELATIVE)};t.getPluginName=function(n){return n.replace(/^(.*\/)?([^-]*)-?.*\.(swf|js)$/,"$2")};t.getPluginVersion=function(n){return n.replace(/[^-]*-?([^\.]*).*$/,"$1")};t.isYouTube=function(n){return/^(http|\/\/).*(youtube\.com|youtu\.be)\/.+/.test(n)};t.youTubeID=function(n){try{return/v[=\/]([^?&]*)|youtu\.be\/([^?]*)|^([\w-]*)$/i.exec(n).slice(1).join("").replace("?","")}catch(t){return""}};t.isRtmp=function(n,t){return 0===n.indexOf("rtmp")||"rtmp"==t};t.foreach=function(n,i){var r,u;for(r in n)"function"==t.typeOf(n.hasOwnProperty)?n.hasOwnProperty(r)&&(u=n[r],i(r,u)):(u=n[r],i(r,u))};t.isHTTPS=function(){return 0===r.location.href.indexOf("https")};t.repo=function(){var i="http://p.jwpcdn.com/"+n.version.split(/\W/).splice(0,2).join("/")+"/";try{t.isHTTPS()&&(i=i.replace("http://","https://ssl."))}catch(r){}return i};t.ajax=function(n,i,u,f){var e,o,h;if(0<n.indexOf("#")&&(n=n.replace(/#.*$/,"")),n&&0<=n.indexOf("://")&&n.split("/")[2]!=r.location.href.split("/")[2]&&t.exists(r.XDomainRequest))e=new r.XDomainRequest,e.onload=s(e,n,i,u,f),e.ontimeout=e.onprogress=function(){},e.timeout=5e3;else if(t.exists(r.XMLHttpRequest))o=e=new r.XMLHttpRequest,h=n,e.onreadystatechange=function(){if(4===o.readyState)switch(o.status){case 200:s(o,h,i,u,f)();break;case 404:u("File not found")}};else return u&&u(),e;return e.overrideMimeType&&e.overrideMimeType("text/xml"),e.onerror=function(){u("Error loading file")},setTimeout(function(){try{e.open("GET",n,!0);e.send()}catch(t){u&&u(n)}},0),e};t.parseXML=function(n){var t;try{if(r.DOMParser){if(t=(new r.DOMParser).parseFromString(n,"text/xml"),t.childNodes&&t.childNodes.length&&"parsererror"==t.childNodes[0].firstChild.nodeName)return}else t=new r.ActiveXObject("Microsoft.XMLDOM"),t.async="false",t.loadXML(n)}catch(i){return}return t};t.filterPlaylist=function(n,i){for(var o=[],r,u,e,f=0;f<n.length;f++)if(r=t.extend({},n[f]),r.sources=t.filterSources(r.sources),0<r.sources.length){for(u=0;u<r.sources.length;u++)e=r.sources[u],e.label||(e.label=u.toString());o.push(r)}if(i&&0===o.length)for(f=0;f<n.length;f++)if(r=t.extend({},n[f]),r.sources=t.filterSources(r.sources,!0),0<r.sources.length){for(u=0;u<r.sources.length;u++)e=r.sources[u],e.label||(e.label=u.toString());o.push(r)}return o};t.filterSources=function(i,r){var e,s,h=t.extensionmap,f,u,o;if(i)for(s=[],f=0;f<i.length;f++)u=i[f].type,o=i[f].file,o&&(o=t.trim(o)),u||(u=h.extType(t.extension(o)),i[f].type=u),r?n.embed.flashCanPlay(o,u)&&(e||(e=u),u==e&&s.push(t.extend({},i[f]))):t.canPlayHTML5(u)&&(e||(e=u),u==e&&s.push(t.extend({},i[f])));return s};t.canPlayHTML5=function(i){return t.isAndroid()&&("hls"==i||"m3u"==i||"m3u8"==i)?!1:(i=t.extensionmap.types[i],!!i&&!!n.vid.canPlayType&&n.vid.canPlayType(i))};t.seconds=function(n){n=n.replace(",",".");var t=n.split(":"),i=0;return"s"==n.slice(-1)?i=parseFloat(n):"m"==n.slice(-1)?i=60*parseFloat(n):"h"==n.slice(-1)?i=3600*parseFloat(n):1<t.length?(i=parseFloat(t[t.length-1]),i+=60*parseFloat(t[t.length-2]),3==t.length&&(i+=3600*parseFloat(t[t.length-3]))):i=parseFloat(n),i};t.serialize=function(n){return null==n?null:"true"==n.toString().toLowerCase()?!0:"false"==n.toString().toLowerCase()?!1:isNaN(Number(n))||5<n.length||0===n.length?n:Number(n)}}(jwplayer),function(n){var i="video/",u=n.foreach,t={mp4:i+"mp4",vorbis:"audio/ogg",ogg:i+"ogg",webm:i+"webm",aac:"audio/mp4",mp3:"audio/mpeg",hls:"application/vnd.apple.mpegurl"},f={mp4:t.mp4,f4v:t.mp4,m4v:t.mp4,mov:t.mp4,m4a:t.aac,f4a:t.aac,aac:t.aac,mp3:t.mp3,ogv:t.ogg,ogg:t.vorbis,oga:t.vorbis,webm:t.webm,m3u8:t.hls,hls:t.hls},i="video",i={flv:i,f4v:i,mov:i,m4a:i,m4v:i,mp4:i,aac:i,f4a:i,mp3:"sound",smil:"rtmp",m3u8:"hls",hls:"hls"},r=n.extensionmap={};u(f,function(n,t){r[n]={html5:t}});u(i,function(n,t){r[n]||(r[n]={});r[n].flash=t});r.types=t;r.mimeType=function(n){var i;return u(t,function(t,r){i||r!=n||(i=t)}),i};r.extType=function(n){return r.mimeType(f[n])}}(jwplayer.utils),function(n){var t=n.loaderstatus={NEW:0,LOADING:1,ERROR:2,COMPLETE:3},i=document;n.scriptloader=function(r){function s(){u=t.ERROR;o.sendEvent(f.ERROR)}function e(){u=t.COMPLETE;o.sendEvent(f.COMPLETE)}var u=t.NEW,f=jwplayer.events,o=new f.eventdispatcher;n.extend(this,o);this.load=function(){var h=n.scriptloader.loaders[r],o;h&&(h.getStatus()==t.NEW||h.getStatus()==t.LOADING)?(h.addEventListener(f.ERROR,s),h.addEventListener(f.COMPLETE,e)):(n.scriptloader.loaders[r]=this,u==t.NEW)&&(u=t.LOADING,o=i.createElement("script"),o.addEventListener?(o.onload=e,o.onerror=s):o.readyState&&(o.onreadystatechange=function(){("loaded"==o.readyState||"complete"==o.readyState)&&e()}),i.getElementsByTagName("head")[0].appendChild(o),o.src=r)};this.getStatus=function(){return u}};n.scriptloader.loaders={}}(jwplayer.utils),function(n){n.trim=function(n){return n.replace(/^\s*/,"").replace(/\s*$/,"")};n.pad=function(n,t,i){for(i||(i="0");n.length<t;)n=i+n;return n};n.xmlAttribute=function(n,t){for(var i=0;i<n.attributes.length;i++)if(n.attributes[i].name&&n.attributes[i].name.toLowerCase()==t.toLowerCase())return n.attributes[i].value.toString();return""};n.extension=function(n){return!n||"rtmp"==n.substr(0,4)?"":(n=n.substring(n.lastIndexOf("/")+1,n.length).split("?")[0].split("#")[0],-1<n.lastIndexOf(".")?n.substr(n.lastIndexOf(".")+1,n.length).toLowerCase():void 0)};n.stringToColor=function(n){return n=n.replace(/(#|0x)?([0-9A-F]{3,6})$/gi,"$2"),3==n.length&&(n=n.charAt(0)+n.charAt(0)+n.charAt(1)+n.charAt(1)+n.charAt(2)+n.charAt(2)),parseInt(n,16)}}(jwplayer.utils),function(n){var t="touchmove",i="touchstart";n.touch=function(r){function h(n){n.type==i?(e=!0,u=l(f.DRAG_START,n)):n.type==t?e&&(o||(s(f.DRAG_START,n,u),o=!0),s(f.DRAG,n)):(e&&(o?s(f.DRAG_END,n):(n.cancelBubble=!0,s(f.TAP,n))),e=o=!1,u=null)}function s(n,t,i){c[n]&&(t.preventManipulation&&t.preventManipulation(),t.preventDefault&&t.preventDefault(),t=i?i:l(n,t))&&c[n](t)}function l(n,t){var i=null,r;return(t.touches&&t.touches.length?i=t.touches[0]:t.changedTouches&&t.changedTouches.length&&(i=t.changedTouches[0]),!i)?null:(r=a.getBoundingClientRect(),i={type:n,target:a,x:i.pageX-window.pageXOffset-r.left,y:i.pageY,deltaX:0,deltaY:0},n!=f.TAP&&u&&(i.deltaX=i.x-u.x,i.deltaY=i.y-u.y),i)}var a=r,e=!1,c={},u=null,o=!1,f=n.touchEvents;return document.addEventListener(t,h),document.addEventListener("touchend",function(n){e&&o&&s(f.DRAG_END,n);e=o=!1;u=null}),document.addEventListener("touchcancel",h),r.addEventListener(i,h),r.addEventListener("touchend",h),this.addEventListener=function(n,t){c[n]=t},this.removeEventListener=function(n){delete c[n]},this}}(jwplayer.utils),function(n){n.touchEvents={DRAG:"jwplayerDrag",DRAG_START:"jwplayerDragStart",DRAG_END:"jwplayerDragEnd",TAP:"jwplayerTap"}}(jwplayer.utils),function(n){n.key=function(t){var i,f,u,r;this.edition=function(){return u&&u.getTime()<(new Date).getTime()?"invalid":i};this.token=function(){return f};n.exists(t)||(t="");try{t=n.tea.decrypt(t,"36QXq4W@GSBV^teR");r=t.split("/");(i=r[0])?/^(free|pro|premium|ads)$/i.test(i)?(f=r[1],r[2]&&0<parseInt(r[2])&&(u=new Date,u.setTime(String(r[2])))):i="invalid":i="free"}catch(e){i="invalid"}}}(jwplayer.utils),function(n){var t=n.tea={},r,i;t.encrypt=function(n,u){var f,o;if(0==n.length)return"";f=t.strToLongs(i.encode(n));1>=f.length&&(f[1]=0);for(var a=t.strToLongs(i.encode(u).slice(0,16)),s=f.length,e=f[s-1],h=f[0],l,v=Math.floor(6+52/s),c=0;0<v--;)for(c+=2654435769,l=c>>>2&3,o=0;o<s;o++)h=f[(o+1)%s],e=(e>>>5^h<<2)+(h>>>3^e<<4)^(c^h)+(a[o&3^l]^e),e=f[o]+=e;return f=t.longsToStr(f),r.encode(f)};t.decrypt=function(n,u){var e;if(0==n.length)return"";for(var f=t.strToLongs(r.decode(n)),a=t.strToLongs(i.encode(u).slice(0,16)),s=f.length,o=f[s-1],h=f[0],l,c=2654435769*Math.floor(6+52/s);0!=c;){for(l=c>>>2&3,e=s-1;0<=e;e--)o=f[0<e?e-1:s-1],o=(o>>>5^h<<2)+(h>>>3^o<<4)^(c^h)+(a[e&3^l]^o),h=f[e]-=o;c-=2654435769}return f=t.longsToStr(f),f=f.replace(/\0+$/,""),i.decode(f)};t.strToLongs=function(n){for(var i=Array(Math.ceil(n.length/4)),t=0;t<i.length;t++)i[t]=n.charCodeAt(4*t)+(n.charCodeAt(4*t+1)<<8)+(n.charCodeAt(4*t+2)<<16)+(n.charCodeAt(4*t+3)<<24);return i};t.longsToStr=function(n){for(var i=Array(n.length),t=0;t<n.length;t++)i[t]=String.fromCharCode(n[t]&255,n[t]>>>8&255,n[t]>>>16&255,n[t]>>>24&255);return i.join("")};r={code:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",encode:function(n,t){var s,h,c,e,o=[],a="",u,f,l=r.code;if(f=("undefined"==typeof t?0:t)?i.encode(n):n,u=f.length%3,0<u)for(;3>u++;)a+="=",f+="\x00";for(u=0;u<f.length;u+=3)s=f.charCodeAt(u),h=f.charCodeAt(u+1),c=f.charCodeAt(u+2),e=s<<16|h<<8|c,s=e>>18&63,h=e>>12&63,c=e>>6&63,e&=63,o[u/3]=l.charAt(s)+l.charAt(h)+l.charAt(c)+l.charAt(e);return o=o.join(""),o.slice(0,o.length-a.length)+a},decode:function(n,t){var f,s,h,e,a,c,o,l,u;for(t="undefined"==typeof t?!1:t,c=[],l=r.code,o=t?i.decode(n):n,u=0;u<o.length;u+=4)f=l.indexOf(o.charAt(u)),s=l.indexOf(o.charAt(u+1)),e=l.indexOf(o.charAt(u+2)),a=l.indexOf(o.charAt(u+3)),h=f<<18|s<<12|e<<6|a,f=h>>>16&255,s=h>>>8&255,h&=255,c[u/4]=String.fromCharCode(f,s,h),64==a&&(c[u/4]=String.fromCharCode(f,s)),64==e&&(c[u/4]=String.fromCharCode(f));return e=c.join(""),t?i.decode(e):e}};i={encode:function(n){return n=n.replace(/[\u0080-\u07ff]/g,function(n){return n=n.charCodeAt(0),String.fromCharCode(192|n>>6,128|n&63)}),n.replace(/[\u0800-\uffff]/g,function(n){return n=n.charCodeAt(0),String.fromCharCode(224|n>>12,128|n>>6&63,128|n&63)})},decode:function(n){return n=n.replace(/[\u00e0-\u00ef][\u0080-\u00bf][\u0080-\u00bf]/g,function(n){return n=(n.charCodeAt(0)&15)<<12|(n.charCodeAt(1)&63)<<6|n.charCodeAt(2)&63,String.fromCharCode(n)}),n.replace(/[\u00c0-\u00df][\u0080-\u00bf]/g,function(n){return n=(n.charCodeAt(0)&31)<<6|n.charCodeAt(1)&63,String.fromCharCode(n)})}}}(jwplayer.utils),function(n){n.events={COMPLETE:"COMPLETE",ERROR:"ERROR",API_READY:"jwplayerAPIReady",JWPLAYER_READY:"jwplayerReady",JWPLAYER_FULLSCREEN:"jwplayerFullscreen",JWPLAYER_RESIZE:"jwplayerResize",JWPLAYER_ERROR:"jwplayerError",JWPLAYER_SETUP_ERROR:"jwplayerSetupError",JWPLAYER_MEDIA_BEFOREPLAY:"jwplayerMediaBeforePlay",JWPLAYER_MEDIA_BEFORECOMPLETE:"jwplayerMediaBeforeComplete",JWPLAYER_COMPONENT_SHOW:"jwplayerComponentShow",JWPLAYER_COMPONENT_HIDE:"jwplayerComponentHide",JWPLAYER_MEDIA_BUFFER:"jwplayerMediaBuffer",JWPLAYER_MEDIA_BUFFER_FULL:"jwplayerMediaBufferFull",JWPLAYER_MEDIA_ERROR:"jwplayerMediaError",JWPLAYER_MEDIA_LOADED:"jwplayerMediaLoaded",JWPLAYER_MEDIA_COMPLETE:"jwplayerMediaComplete",JWPLAYER_MEDIA_SEEK:"jwplayerMediaSeek",JWPLAYER_MEDIA_TIME:"jwplayerMediaTime",JWPLAYER_MEDIA_VOLUME:"jwplayerMediaVolume",JWPLAYER_MEDIA_META:"jwplayerMediaMeta",JWPLAYER_MEDIA_MUTE:"jwplayerMediaMute",JWPLAYER_MEDIA_LEVELS:"jwplayerMediaLevels",JWPLAYER_MEDIA_LEVEL_CHANGED:"jwplayerMediaLevelChanged",JWPLAYER_CAPTIONS_CHANGED:"jwplayerCaptionsChanged",JWPLAYER_CAPTIONS_LIST:"jwplayerCaptionsList",JWPLAYER_CAPTIONS_LOADED:"jwplayerCaptionsLoaded",JWPLAYER_PLAYER_STATE:"jwplayerPlayerState",state:{BUFFERING:"BUFFERING",IDLE:"IDLE",PAUSED:"PAUSED",PLAYING:"PLAYING"},JWPLAYER_PLAYLIST_LOADED:"jwplayerPlaylistLoaded",JWPLAYER_PLAYLIST_ITEM:"jwplayerPlaylistItem",JWPLAYER_PLAYLIST_COMPLETE:"jwplayerPlaylistComplete",JWPLAYER_DISPLAY_CLICK:"jwplayerViewClick",JWPLAYER_CONTROLS:"jwplayerViewControls",JWPLAYER_USER_ACTION:"jwplayerUserAction",JWPLAYER_INSTREAM_CLICK:"jwplayerInstreamClicked",JWPLAYER_INSTREAM_DESTROYED:"jwplayerInstreamDestroyed",JWPLAYER_AD_TIME:"jwplayerAdTime",JWPLAYER_AD_ERROR:"jwplayerAdError",JWPLAYER_AD_CLICK:"jwplayerAdClicked",JWPLAYER_AD_COMPLETE:"jwplayerAdComplete",JWPLAYER_AD_IMPRESSION:"jwplayerAdImpression",JWPLAYER_AD_COMPANIONS:"jwplayerAdCompanions",JWPLAYER_AD_SKIPPED:"jwplayerAdSkipped"}}(jwplayer),function(n){var t=n.utils;n.events.eventdispatcher=function(i,r){function e(n,i,r){var u,f;if(n)for(u=0;u<n.length;u++)if(f=n[u],f){null!==f.count&&0==--f.count&&delete n[u];try{f.listener(i)}catch(e){t.log('Error handling "'+r+'" event listener ['+u+"]: "+e.toString(),f.listener,i)}}}var u,f;this.resetEventListeners=function(){u={};f=[]};this.resetEventListeners();this.addEventListener=function(n,i,r){try{t.exists(u[n])||(u[n]=[]);"string"==t.typeOf(i)&&(i=new Function("return "+i)());u[n].push({listener:i,count:r||null})}catch(f){t.log("error",f)}return!1};this.removeEventListener=function(n,i){if(u[n]){try{for(var r=0;r<u[n].length;r++)if(u[n][r].listener.toString()==i.toString()){u[n].splice(r,1);break}}catch(f){t.log("error",f)}return!1}};this.addGlobalListener=function(n,i){try{"string"==t.typeOf(n)&&(n=new Function("return "+n)());f.push({listener:n,count:i||null})}catch(r){t.log("error",r)}return!1};this.removeGlobalListener=function(n){if(n){try{for(var i=f.length;i--;)f[i].listener.toString()==n.toString()&&f.splice(i,1)}catch(r){t.log("error",r)}return!1}};this.sendEvent=function(o,s){t.exists(s)||(s={});t.extend(s,{id:i,version:n.version,type:o});r&&t.log(o,s);e(u[o],s,o);e(f,s,o)}}}(window.jwplayer),function(n){var t={},i={};n.plugins=function(){};n.plugins.loadPlugins=function(r,u){return i[r]=new n.plugins.pluginloader(new n.plugins.model(t),u),i[r]};n.plugins.registerPlugin=function(i,r,u,f){var e=n.utils.getPluginName(i);t[e]||(t[e]=new n.plugins.plugin(i));t[e].registerPlugin(i,r,u,f)}}(jwplayer),function(n){n.plugins.model=function(t){this.addPlugin=function(i){var r=n.utils.getPluginName(i);return t[r]||(t[r]=new n.plugins.plugin(i)),t[r]};this.getPlugins=function(){return t}}}(jwplayer),function(n){var t=jwplayer.utils,i=jwplayer.events;n.pluginmodes={FLASH:0,JAVASCRIPT:1,HYBRID:2};n.plugin=function(r){function h(){switch(t.getPluginPathType(r)){case t.pluginPathType.ABSOLUTE:return r;case t.pluginPathType.RELATIVE:return t.getAbsolutePath(r,window.location.href)}}function l(){s=setTimeout(function(){f=t.loaderstatus.COMPLETE;o.sendEvent(i.COMPLETE)},1e3)}function a(){f=t.loaderstatus.ERROR;o.sendEvent(i.ERROR)}var f=t.loaderstatus.NEW,u,e,c,s,o=new i.eventdispatcher;t.extend(this,o);this.load=function(){if(f==t.loaderstatus.NEW)if(0<r.lastIndexOf(".swf"))u=r,f=t.loaderstatus.COMPLETE,o.sendEvent(i.COMPLETE);else if(t.getPluginPathType(r)==t.pluginPathType.CDN)f=t.loaderstatus.COMPLETE,o.sendEvent(i.COMPLETE);else{f=t.loaderstatus.LOADING;var n=new t.scriptloader(h());n.addEventListener(i.COMPLETE,l);n.addEventListener(i.ERROR,a);n.load()}};this.registerPlugin=function(n,r,h,l){s&&(clearTimeout(s),s=void 0);c=r;h&&l?(u=l,e=h):"string"==typeof h?u=h:"function"==typeof h?e=h:!h&&!l&&(u=n);f=t.loaderstatus.COMPLETE;o.sendEvent(i.COMPLETE)};this.getStatus=function(){return f};this.getPluginName=function(){return t.getPluginName(r)};this.getFlashPath=function(){if(u)switch(t.getPluginPathType(u)){case t.pluginPathType.ABSOLUTE:return u;case t.pluginPathType.RELATIVE:return 0<r.lastIndexOf(".swf")?t.getAbsolutePath(u,window.location.href):t.getAbsolutePath(u,h())}return null};this.getJS=function(){return e};this.getTarget=function(){return c};this.getPluginmode=function(){return"undefined"!=typeof u&&"undefined"!=typeof e?n.pluginmodes.HYBRID:"undefined"!=typeof u?n.pluginmodes.FLASH:"undefined"!=typeof e?n.pluginmodes.JAVASCRIPT:void 0};this.getNewInstance=function(n,t,i){return new e(n,t,i)};this.getURL=function(){return r}}}(jwplayer.plugins),function(n){var t=n.utils,i=n.events,r=t.foreach;n.plugins.pluginloader=function(u,f){function o(){e?l.sendEvent(i.ERROR,{message:c}):h||(h=!0,s=t.loaderstatus.COMPLETE,l.sendEvent(i.COMPLETE))}function a(){if(v||o(),!h&&!e){var i=0,r=u.getPlugins();t.foreach(v,function(u){var s,f;u=t.getPluginName(u);f=r[u];u=f.getJS();s=f.getTarget();f=f.getStatus();f==t.loaderstatus.LOADING||f==t.loaderstatus.NEW?i++:u&&(!s||parseFloat(s)>parseFloat(n.version))&&(e=!0,c="Incompatible player version",o())});0==i&&o()}}var s=t.loaderstatus.NEW,h=!1,e=!1,c,v=f,l=new i.eventdispatcher,y;t.extend(this,l);this.setupPlugins=function(n,i,f){var e={length:0,plugins:{}},s=0,o={},h=u.getPlugins();return r(i.plugins,function(r,u){var l=t.getPluginName(r),a=h[l],v=a.getFlashPath(),p=a.getJS(),y=a.getURL(),c;v&&(e.plugins[v]=t.extend({},u),e.plugins[v].pluginmode=a.getPluginmode(),e.length++);try{if(p&&i.plugins&&i.plugins[y]){c=document.createElement("div");c.id=n.id+"_"+l;c.style.position="absolute";c.style.top=0;c.style.zIndex=s+10;o[l]=a.getNewInstance(n,t.extend({},i.plugins[y]),c);s++;n.onReady(f(o[l],c,!0));n.onResize(f(o[l],c))}}catch(w){t.log("ERROR: Failed to load "+l+".")}}),n.plugins=o,e};this.load=function(){if(!(t.exists(f)&&"object"!=t.typeOf(f))){s=t.loaderstatus.LOADING;r(f,function(n){t.exists(n)&&(n=u.addPlugin(n),n.addEventListener(i.COMPLETE,a),n.addEventListener(i.ERROR,y))});var n=u.getPlugins();r(n,function(n,t){t.load()})}a()};y=this.pluginFailed=function(){e||(e=!0,c="File not found",o())};this.getStatus=function(){return s}}}(jwplayer),function(){jwplayer.parsers={localName:function(n){return n?n.localName?n.localName:n.baseName?n.baseName:"":""},textContent:function(n){return n?n.textContent?jwplayer.utils.trim(n.textContent):n.text?jwplayer.utils.trim(n.text):"":""},getChildNode:function(n,t){return n.childNodes[t]},numChildren:function(n){return n.childNodes?n.childNodes.length:0}}}(jwplayer),function(n){var t=n.parsers;(t.jwparser=function(){}).parseEntry=function(i,r){for(var e,h,o=[],f=[],s=n.utils.xmlAttribute,u=0;u<i.childNodes.length;u++)e=i.childNodes[u],"jwplayer"==e.prefix&&(h=t.localName(e),"source"==h?(delete r.sources,o.push({file:s(e,"file"),"default":s(e,"default"),label:s(e,"label"),type:s(e,"type")})):"track"==h?(delete r.tracks,f.push({file:s(e,"file"),"default":s(e,"default"),kind:s(e,"kind"),label:s(e,"label")})):(r[h]=n.utils.serialize(t.textContent(e)),"file"==h&&r.sources&&delete r.sources)),r.file||(r.file=r.link);if(o.length)for(r.sources=[],u=0;u<o.length;u++)0<o[u].file.length&&(o[u]["default"]="true"==o[u]["default"]?!0:!1,o[u].label.length||delete o[u].label,r.sources.push(o[u]));if(f.length)for(r.tracks=[],u=0;u<f.length;u++)0<f[u].file.length&&(f[u]["default"]="true"==f[u]["default"]?!0:!1,f[u].kind=f[u].kind.length?f[u].kind:"captions",f[u].label.length||delete f[u].label,r.tracks.push(f[u]));return r}}(jwplayer),function(n){var u=jwplayer.utils,t=u.xmlAttribute,f=n.localName,i=n.textContent,e=n.numChildren,r=n.mediaparser=function(){};r.parseGroup=function(n,o){for(var s,l=[],c,v,a,h=0;h<e(n);h++)if(s=n.childNodes[h],"media"==s.prefix&&f(s))switch(f(s).toLowerCase()){case"content":t(s,"duration")&&(o.duration=u.seconds(t(s,"duration")));0<e(s)&&(o=r.parseGroup(s,o));t(s,"url")&&(o.sources||(o.sources=[]),o.sources.push({file:t(s,"url"),type:t(s,"type"),width:t(s,"width"),label:t(s,"label")}));break;case"title":o.title=i(s);break;case"description":o.description=i(s);break;case"guid":o.mediaid=i(s);break;case"thumbnail":o.image||(o.image=t(s,"url"));break;case"group":r.parseGroup(s,o);break;case"subtitle":c={};c.file=t(s,"url");c.kind="captions";0<t(s,"lang").length&&(v=c,s=t(s,"lang"),a={zh:"Chinese",nl:"Dutch",en:"English",fr:"French",de:"German",it:"Italian",ja:"Japanese",pt:"Portuguese",ru:"Russian",es:"Spanish"},s=a[s]?a[s]:s,v.label=s);l.push(c)}for(o.hasOwnProperty("tracks")||(o.tracks=[]),h=0;h<l.length;h++)o.tracks.push(l[h]);return o}}(jwplayer.parsers),function(n){function f(r){for(var f,s,u={},o=0;o<r.childNodes.length;o++)if(f=r.childNodes[o],s=i(f),s)switch(s.toLowerCase()){case"enclosure":u.file=e.xmlAttribute(f,"url");break;case"title":u.title=t(f);break;case"guid":u.mediaid=t(f);break;case"pubdate":u.date=t(f);break;case"description":u.description=t(f);break;case"link":u.link=t(f);break;case"category":u.tags=u.tags?u.tags+t(f):t(f)}return u=n.mediaparser.parseGroup(r,u),u=n.jwparser.parseEntry(r,u),new jwplayer.playlist.item(u)}var e=jwplayer.utils,t=n.textContent,r=n.getChildNode,u=n.numChildren,i=n.localName;n.rssparser={};n.rssparser.parse=function(n){for(var e,o,h,s=[],t=0;t<u(n);t++)if(e=r(n,t),"channel"==i(e).toLowerCase())for(o=0;o<u(e);o++)h=r(e,o),"item"==i(h).toLowerCase()&&s.push(f(h));return s}}(jwplayer.parsers),function(n){n.playlist=function(t){var r=[],i;if("array"==n.utils.typeOf(t))for(i=0;i<t.length;i++)r.push(new n.playlist.item(t[i]));else r.push(new n.playlist.item(t));return r}}(jwplayer),function(n){var t=n.item=function(i){var f=jwplayer.utils,r=f.extend({},t.defaults,i),u,e;for(r.tracks=i&&f.exists(i.tracks)?i.tracks:[],0==r.sources.length&&(r.sources=[new n.source(r)]),u=0;u<r.sources.length;u++)e=r.sources[u]["default"],r.sources[u]["default"]=e?"true"==e.toString():!1,r.sources[u]=new n.source(r.sources[u]);if(r.captions&&!f.exists(i.tracks)){for(i=0;i<r.captions.length;i++)r.tracks.push(r.captions[i]);delete r.captions}for(u=0;u<r.tracks.length;u++)r.tracks[u]=new n.track(r.tracks[u]);return r};t.defaults={description:"",image:"",mediaid:"",title:"",sources:[],tracks:[]}}(jwplayer.playlist),function(n){var t=jwplayer,u=t.utils,i=t.events,r=t.parsers;n.loader=function(){function e(u){var o,e,s;try{for(o=u.responseXML.childNodes,u="",e=0;e<o.length&&!(u=o[e],8!=u.nodeType);e++);"xml"==r.localName(u)&&(u=u.nextSibling);"rss"!=r.localName(u)?t("Not a valid RSS feed"):(s=new n(r.rssparser.parse(u)),f.sendEvent(i.JWPLAYER_PLAYLIST_LOADED,{playlist:s}))}catch(h){t()}}function o(n){t(n.match(/invalid/i)?"Not a valid RSS feed":"")}function t(n){f.sendEvent(i.JWPLAYER_ERROR,{message:n?n:"Error loading file"})}var f=new i.eventdispatcher;u.extend(this,f);this.load=function(n){u.ajax(n,e,o)}}}(jwplayer.playlist),function(n){var t=jwplayer.utils,i={file:void 0,label:void 0,type:void 0,"default":void 0};n.source=function(n){var r=t.extend({},i);return t.foreach(i,function(i){t.exists(n[i])&&(r[i]=n[i],delete n[i])}),r.type&&0<r.type.indexOf("/")&&(r.type=t.extensionmap.mimeType(r.type)),"m3u8"==r.type&&(r.type="hls"),"smil"==r.type&&(r.type="rtmp"),r}}(jwplayer.playlist),function(n){var t=jwplayer.utils,i={file:void 0,label:void 0,kind:"captions","default":!1};n.track=function(n){var r=t.extend({},i);return n||(n={}),t.foreach(i,function(i){t.exists(n[i])&&(r[i]=n[i],delete n[i])}),r}}(jwplayer.playlist),function(n){function e(n,i,r){var u=n.style;u.backgroundColor="#000";u.color="#FFF";u.width=t.styleDimension(r.width);u.height=t.styleDimension(r.height);u.display="table";u.opacity=1;r=document.createElement("p");u=r.style;u.verticalAlign="middle";u.textAlign="center";u.display="table-cell";u.font="15px/20px Arial, Helvetica, sans-serif";r.innerHTML=i.replace(":",":<br>");n.innerHTML="";n.appendChild(r)}var t=n.utils,i=n.events,u=!0,r=!1,o=document,f=n.embed=function(s){function rt(n,i){t.foreach(i,function(t,i){"function"==typeof n[t]&&n[t].call(n,i)})}function nt(){var e,p,a,o;if(!b)if("array"==t.typeOf(h.playlist)&&2>h.playlist.length&&(0==h.playlist.length||!h.playlist[0].sources||0==h.playlist[0].sources.length))k();else if(!w)if("string"==t.typeOf(h.playlist))e=new n.playlist.loader,e.addEventListener(i.JWPLAYER_PLAYLIST_LOADED,function(n){h.playlist=n.playlist;w=r;nt()}),e.addEventListener(i.JWPLAYER_ERROR,function(n){w=r;k(n)}),w=u,e.load(h.playlist);else if(v.getStatus()==t.loaderstatus.COMPLETE){for(e=0;e<h.modes.length;e++)if(h.modes[e].type&&f[h.modes[e].type]&&(p=t.extend({},h),a=new f[h.modes[e].type](c,h.modes[e],p,v,s),a.supportsConfig()))return a.addEventListener(i.ERROR,ut),a.embed(),rt(s,p.events),s;h.fallback?(o="No suitable players found and fallback enabled",l=setTimeout(function(){y(o,u)},10),t.log(o),new f.download(c,h,k)):(o="No suitable players found and fallback disabled",y(o,r),t.log(o),c.parentNode.replaceChild(tt,c))}}function ut(n){a(it+n.message)}function ft(n){a("Could not load plugins: "+n.message)}function k(n){n&&n.message?a("Error loading playlist: "+n.message):a(it+"No playable sources found")}function y(n,t){l&&(clearTimeout(l),l=null);l=setTimeout(function(){l=null;s.dispatchEvent(i.JWPLAYER_SETUP_ERROR,{message:n,fallback:t})},0)}function a(n){b||(h.fallback?(b=u,e(c,n,h),y(n,u)):y(n,r))}var h=new f.config(s.config),c,p,tt,d=h.width,g=h.height,it="Error loading player: ",v=n.plugins.loadPlugins(s.id,h.plugins),w=r,b=r,l=null;return h.fallbackDiv&&(tt=h.fallbackDiv,delete h.fallbackDiv),h.id=s.id,p=o.getElementById(s.id),h.aspectratio?s.config.aspectratio=h.aspectratio:delete s.config.aspectratio,c=o.createElement("div"),c.id=p.id,c.style.width=0<d.toString().indexOf("%")?d:d+"px",c.style.height=0<g.toString().indexOf("%")?g:g+"px",p.parentNode.replaceChild(c,p),this.embed=function(){b||(v.addEventListener(i.COMPLETE,nt),v.addEventListener(i.ERROR,ft),v.load())},this.errorScreen=a,this};n.embed.errorScreen=e}(jwplayer),function(n){function u(n){var u,f;if(n.playlist)for(u=0;u<n.playlist.length;u++)n.playlist[u]=new r(n.playlist[u]);else f={},t.foreach(r.defaults,function(t){i(n,f,t)}),f.sources||(n.levels?(f.sources=n.levels,delete n.levels):(u={},i(n,u,"file"),i(n,u,"type"),f.sources=u.file?[u]:[])),n.playlist=[new r(f)]}function i(n,i,r){t.exists(n[r])&&(i[r]=n[r],delete n[r])}var t=n.utils,r=n.playlist.item;(n.embed.config=function(i){var r={fallback:!0,height:270,primary:"html5",width:480,base:i.base?i.base:t.getScriptPath("jwplayer.js"),aspectratio:""},f,e;return i=t.extend(r,n.defaults,i),r={type:"html5",src:i.base+"jwplayer.html5.js"},f={type:"flash",src:i.base+"jwplayer.flash.swf"},i.modes="flash"==i.primary?[f,r]:[r,f],i.listbar&&(i.playlistsize=i.listbar.size,i.playlistposition=i.listbar.position,i.playlistlayout=i.listbar.layout),i.flashplayer&&(f.src=i.flashplayer),i.html5player&&(r.src=i.html5player),u(i),f=i.aspectratio,"string"==typeof f&&t.exists(f)?(e=f.indexOf(":"),-1==e?r=0:(r=parseFloat(f.substr(0,e)),f=parseFloat(f.substr(e+1)),r=0>=r||0>=f?0:100*(f/r)+"%")):r=0,-1==i.width.toString().indexOf("%")?delete i.aspectratio:r?i.aspectratio=r:delete i.aspectratio,i}).addConfig=function(n,i){return u(i),t.extend(n,i)}}(jwplayer),function(n){var t=n.utils,i=document;n.embed.download=function(n,r,u){function s(n,r){for(var f=i.querySelectorAll(n),u=0;u<f.length;u++)t.foreach(r,function(n,t){f[u].style[n]=t})}function h(n,t,r){return n=i.createElement(n),t&&(n.className="jwdownload"+t),r&&r.appendChild(n),n}var f=t.extend({},r),y=f.width?f.width:480,p=f.height?f.height:320,o,c,w,l,a,v,e,b;if(r=r.logo?r.logo:{prefix:t.repo(),file:"logo.png",margin:10},f=f.playlist,v=["mp4","aac","mp3"],f&&f.length){for(a=f[0],o=a.sources,f=0;f<o.length;f++)e=o[f],b=e.type?e.type:t.extensionmap.extType(t.extension(e.file)),e.file&&t.foreach(v,function(n){b==v[n]?(c=e.file,w=a.image):t.isYouTube(e.file)&&(l=e.file)});c?(o=c,u=w,n&&(f=h("a","display",n),h("div","icon",f),h("div","logo",f),o&&f.setAttribute("href",t.getAbsolutePath(o))),f="#"+n.id+" .jwdownload",n.style.width="",n.style.height="",s(f+"display",{width:t.styleDimension(Math.max(320,y)),height:t.styleDimension(Math.max(180,p)),background:"black center no-repeat "+(u?"url("+u+")":""),backgroundSize:"contain",position:"relative",border:"none",display:"block"}),s(f+"display div",{position:"absolute",width:"100%",height:"100%"}),s(f+"logo",{top:r.margin+"px",right:r.margin+"px",background:"top right no-repeat url("+r.prefix+r.file+")"}),s(f+"icon",{background:"center no-repeat url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAYAAAA6/NlyAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAgNJREFUeNrs28lqwkAYB/CZqNVDDj2r6FN41QeIy8Fe+gj6BL275Q08u9FbT8ZdwVfotSBYEPUkxFOoks4EKiJdaDuTjMn3wWBO0V/+sySR8SNSqVRKIR8qaXHkzlqS9jCfzzWcTCYp9hF5o+59sVjsiRzcegSckFzcjT+ruN80TeSlAjCAAXzdJSGPFXRpAAMYwACGZQkSdhG4WCzehMNhqV6vG6vVSrirKVEw66YoSqDb7cqlUilE8JjHd/y1MQefVzqdDmiaJpfLZWHgXMHn8F6vJ1cqlVAkEsGuAn83J4gAd2RZymQygX6/L1erVQt+9ZPWb+CDwcCC2zXGJaewl/DhcHhK3DVj+KfKZrMWvFarcYNLomAv4aPRSFZVlTlcSPA5fDweW/BoNIqFnKV53JvncjkLns/n/cLdS+92O7RYLLgsKfv9/t8XlDn4eDyiw+HA9Jyz2eyt0+kY2+3WFC5hluej0Ha7zQQq9PPwdDq1Et1sNsx/nFBgCqWJ8oAK1aUptNVqcYWewE4nahfU0YQnk4ntUEfGMIU2m01HoLaCKbTRaDgKtaVLk9tBYaBcE/6Artdr4RZ5TB6/dC+9iIe/WgAMYADDpAUJAxjAAAYwgGFZgoS/AtNNTF7Z2bL0BYPBV3Jw5xFwwWcYxgtBP5OkE8i9G7aWGOOCruvauwADALMLMEbKf4SdAAAAAElFTkSuQmCC)"})):l?(r=l,n=h("iframe","",n),n.src="http://www.youtube.com/embed/"+t.youTubeID(r),n.width=y,n.height=p,n.style.border="none"):u()}}}(jwplayer),function(n){var t=n.utils,u=n.events,i={},r;(n.embed.flash=function(f,e,o,s,h){function c(n,t,i){var r=document.createElement("param");r.setAttribute("name",t);r.setAttribute("value",i);n.appendChild(r)}function v(n,t,i){return function(){try{i&&document.getElementById(h.id+"_wrapper").appendChild(t);var r=document.getElementById(h.id).getPluginConfig("display");"function"==typeof n.resize&&n.resize(r.width,r.height);t.style.left=r.x;t.style.top=r.h}catch(u){}}}function y(n){if(!n)return{};var i={},r=[];return t.foreach(n,function(n,u){var f=t.getPluginName(n);r.push(n);t.foreach(u,function(n,t){i[f+"."+n]=t})}),i.plugins=r.join(","),i}var l=new n.events.eventdispatcher,a=t.flashVersion();t.extend(this,l);this.embed=function(){var r,n,w,p,b;if(o.id=h.id,10>a)return l.sendEvent(u.ERROR,{message:"Flash version must be 10.0 or greater"}),!1;for(w=h.config.listbar,p=t.extend({},o),f.id+"_wrapper"==f.parentNode.id?r=document.getElementById(f.id+"_wrapper"):(r=document.createElement("div"),n=document.createElement("div"),n.style.display="none",n.id=f.id+"_aspect",r.id=f.id+"_wrapper",r.style.position="relative",r.style.display="block",r.style.width=t.styleDimension(p.width),r.style.height=t.styleDimension(p.height),h.config.aspectratio&&(b=parseFloat(h.config.aspectratio),n.style.display="block",n.style.marginTop=h.config.aspectratio,r.style.height="auto",r.style.display="inline-block",w&&("bottom"==w.position?n.style.paddingBottom=w.size+"px":"right"==w.position&&(n.style.marginBottom=-1*w.size*(b/100)+"px"))),f.parentNode.replaceChild(r,f),r.appendChild(f),r.appendChild(n)),r=s.setupPlugins(h,p,v),0<r.length?t.extend(p,y(r.plugins)):delete p.plugins,"undefined"!=typeof p["dock.position"]&&"false"==p["dock.position"].toString().toLowerCase()&&(p.dock=p["dock.position"],delete p["dock.position"]),r=p.wmode?p.wmode:p.height&&40>=p.height?"transparent":"opaque",n="height width modes events primary base fallback volume".split(" "),w=0;w<n.length;w++)delete p[n[w]];n=t.getCookies();t.foreach(n,function(n,t){"undefined"==typeof p[n]&&(p[n]=t)});n=window.location.href.split("/");n.splice(n.length-1,1);n=n.join("/");p.base=n+"/";i[f.id]=p;t.isIE()?(n='<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" " width="100%" height="100%"id="'+f.id+'" name="'+f.id+'" tabindex=0"">',n+='<param name="movie" value="'+e.src+'">',n+='<param name="allowfullscreen" value="true"><param name="allowscriptaccess" value="always">',n+='<param name="seamlesstabbing" value="true">',n+='<param name="wmode" value="'+r+'">',n+='<param name="bgcolor" value="#000000">',n+="<\/object>",f.outerHTML=n,r=document.getElementById(f.id)):(n=document.createElement("object"),n.setAttribute("type","application/x-shockwave-flash"),n.setAttribute("data",e.src),n.setAttribute("width","100%"),n.setAttribute("height","100%"),n.setAttribute("bgcolor","#000000"),n.setAttribute("id",f.id),n.setAttribute("name",f.id),n.setAttribute("tabindex",0),c(n,"allowfullscreen","true"),c(n,"allowscriptaccess","always"),c(n,"seamlesstabbing","true"),c(n,"wmode",r),f.parentNode.replaceChild(n,f),r=n);h.config.aspectratio&&(r.style.position="absolute");h.container=r;h.setPlayer(r,"flash")};this.supportsConfig=function(){var n,i;if(a)if(o){if("string"==t.typeOf(o.playlist))return!0;try{if(n=o.playlist[0].sources,"undefined"==typeof n)return!0;for(i=0;i<n.length;i++)if(n[i].file&&r(n[i].file,n[i].type))return!0}catch(u){}}else return!0;return!1}}).getVars=function(n){return i[n]};r=n.embed.flashCanPlay=function(n,i){if(t.isYouTube(n)||t.isRtmp(n,i)||"hls"==i)return!0;var r=t.extensionmap[i?i:t.extension(n)];return r?!!r.flash:!1}}(jwplayer),function(n){var t=n.utils,r=t.extensionmap,i=n.events;n.embed.html5=function(u,f,e,o,s){function c(n,t,i){return function(){try{var r=document.querySelector("#"+u.id+" .jwmain");i&&r.appendChild(t);"function"==typeof n.resize&&(n.resize(r.clientWidth,r.clientHeight),setTimeout(function(){n.resize(r.clientWidth,r.clientHeight)},400));t.left=r.style.left;t.top=r.style.top}catch(f){}}}function l(n){h.sendEvent(n.type,{message:"HTML5 player not found"})}var h=this,a=new i.eventdispatcher;t.extend(h,a);h.embed=function(){if(n.html5){o.setupPlugins(s,e,c);u.innerHTML="";var r=n.utils.extend({},e);delete r.volume;r=new n.html5.player(r);s.container=document.getElementById(s.id);s.setPlayer(r,"html5")}else r=new t.scriptloader(f.src),r.addEventListener(i.ERROR,l),r.addEventListener(i.COMPLETE,h.embed),r.load()};h.supportsConfig=function(){var s,i,c,u,h,f,o,l,a;if(n.vid.canPlayType)try{if("string"==t.typeOf(e.playlist))return!0;for(s=e.playlist[0].sources,i=0;i<s.length;i++){if(u=s[i].file,h=s[i].type,null!==navigator.userAgent.match(/BlackBerry/i)||t.isAndroid()&&("m3u"==t.extension(u)||"m3u8"==t.extension(u))||t.isRtmp(u,h))c=!1;else{if(f=r[h?h:t.extension(u)],f&&(!f.flash||f.html5))if(l=f.html5,a=n.vid,l)try{o=a.canPlayType(l)?!0:!1}catch(v){o=!1}else o=!0;else o=!1;c=o}if(c)return!0}}catch(y){}return!1}}}(jwplayer),function(n){var r=n.embed,t=n.utils,i=/\.(js|swf)$/;n.embed=t.extend(function(u){function v(){a="Adobe SiteCatalyst Error: Could not find Media Module"}var h=t.repo(),c=t.extend({},n.defaults),f=t.extend({},c,u.config),o=u.config,e=f.plugins,s=f.analytics,y=h+"jwpsrv.js",p=h+"sharing.js",w=h+"related.js",b=h+"gapro.js",c=n.key?n.key:c.key,l=new n.utils.key(c).edition(),a,e=e?e:{};"ads"==l&&f.advertising&&(i.test(f.advertising.client)?e[f.advertising.client]=f.advertising:e[h+f.advertising.client+".js"]=f.advertising);delete o.advertising;o.key=c;f.analytics&&i.test(f.analytics.client)&&(y=f.analytics.client);delete o.analytics;s&&"ads"!==l&&delete s.enabled;"free"!=l&&s&&!1===s.enabled||(e[y]=s?s:{});delete e.sharing;delete e.related;switch(l){case"ads":if(o.sitecatalyst)try{window.s&&window.s.hasOwnProperty("Media")?new n.embed.sitecatalyst(u):v()}catch(k){v()}case"premium":f.related&&(i.test(f.related.client)&&(w=f.related.client),e[w]=f.related);f.ga&&(i.test(f.ga.client)&&(b=f.ga.client),e[b]=f.ga);case"pro":f.sharing&&(i.test(f.sharing.client)&&(p=f.sharing.client),e[p]=f.sharing);f.skin&&(o.skin=f.skin.replace(/^(beelden|bekle|five|glow|modieus|roundster|stormtrooper|vapor)$/i,t.repo()+"skins/$1.xml"))}return o.plugins=e,u.config=o,u=new r(u),a&&u.errorScreen(a),u},n.embed)}(jwplayer),function(n){var t=jwplayer.utils;n.sitecatalyst=function(n){function r(n){f.debug&&t.log(n)}function y(n){return n=n.split("/"),n=n[n.length-1],n=n.split("?"),n[0]}function c(){if(!h){h=!0;var n=u.getPosition();r("stop: "+i+" : "+n);s.Media.stop(i,n)}}function l(){v||(c(),v=!0,r("close: "+i),s.Media.close(i),o=!0,e=0)}var u=n,f=t.extend({},u.config.sitecatalyst),p={onPlay:function(){if(!o){var n=u.getPosition();h=!1;r("play: "+i+" : "+n);s.Media.play(i,n)}},onPause:c,onBuffer:c,onIdle:l,onPlaylistItem:function(n){var s,r;try{o=!0;l();e=0;f.mediaName?s=f.mediaName:(r=u.getPlaylistItem(n.index),s=r.title?r.title:r.file?y(r.file):r.sources&&r.sources.length?y(r.sources[0].file):"");i=s;a=f.playerName?f.playerName:u.id}catch(h){t.log(h)}},onTime:function(){var n,t;if(o){if(n=u.getDuration(),-1==n)return;v=h=o=!1;r("open: "+i+" : "+n+" : "+a);s.Media.open(i,n,a);r("play: "+i+" : 0");s.Media.play(i,0)}n=u.getPosition();3<=Math.abs(n-e)&&(t=e,r("seek: "+t+" to "+n),r("stop: "+i+" : "+t),s.Media.stop(i,t),r("play: "+i+" : "+n),s.Media.play(i,n));e=n},onComplete:l},i,a,e,h=!0,v=!0,o;t.foreach(p,function(n){u[n](p[n])})}}(jwplayer.embed),function(n,t){var u=[],r=n.utils,i=n.events,e=i.state,o=document,f=n.api=function(u){function nt(n,t){return function(i){return t(n,i)}}function it(n,t){return p[n]||(p[n]=[],y(i.JWPLAYER_PLAYER_STATE,function(t){var u=t.newstate,i,r,f;if(t=t.oldstate,u==n&&(i=p[u],i))for(r=0;r<i.length;r++)f=i[r],"function"==typeof f&&f.call(this,{oldstate:t,newstate:u})})),p[n].push(t),s}function tt(n,t){try{n.jwAddEventListener(t,'function(dat) { jwplayer("'+s.id+'").dispatchEvent("'+t+'", dat); }')}catch(i){r.log("Could not add internal listener")}}function y(n,t){return l[n]||(l[n]=[],c&&w&&tt(c,n)),l[n].push(t),s}function h(){if(w){if(c){var n=Array.prototype.slice.call(arguments,0),t=n.shift();if("function"==typeof c[t]){switch(n.length){case 6:return c[t](n[0],n[1],n[2],n[3],n[4],n[5]);case 5:return c[t](n[0],n[1],n[2],n[3],n[4]);case 4:return c[t](n[0],n[1],n[2],n[3]);case 3:return c[t](n[0],n[1],n[2]);case 2:return c[t](n[0],n[1]);case 1:return c[t](n[0])}return c[t]()}}return null}v.push(arguments)}var s=this,l={},p={},c,w=!1,v=[],a,b={},k={},d,g;return s.container=u,s.id=u.id,s.getBuffer=function(){return h("jwGetBuffer")},s.getContainer=function(){return s.container},s.addButton=function(n,t,i,u){try{k[u]=i;h("jwDockAddButton",n,t,"jwplayer('"+s.id+"').callback('"+u+"')",u)}catch(f){r.log("Could not add dock button"+f.message)}},s.removeButton=function(n){h("jwDockRemoveButton",n)},s.callback=function(n){k[n]&&k[n]()},s.forceState=function(n){return h("jwForceState",n),s},s.releaseState=function(){return h("jwReleaseState")},s.getDuration=function(){return h("jwGetDuration")},s.getFullscreen=function(){return h("jwGetFullscreen")},s.getHeight=function(){return h("jwGetHeight")},s.getLockState=function(){return h("jwGetLockState")},s.getMeta=function(){return s.getItemMeta()},s.getMute=function(){return h("jwGetMute")},s.getPlaylist=function(){var n=h("jwGetPlaylist");return"flash"==s.renderingMode&&r.deepReplaceKeyName(n,["__dot__","__spc__","__dsh__","__default__"],["."," ","-","default"]),n},s.getPlaylistItem=function(n){return r.exists(n)||(n=s.getPlaylistIndex()),s.getPlaylist()[n]},s.getPlaylistIndex=function(){return h("jwGetPlaylistIndex")},s.getPosition=function(){return h("jwGetPosition")},s.getRenderingMode=function(){return s.renderingMode},s.getState=function(){return h("jwGetState")},s.getVolume=function(){return h("jwGetVolume")},s.getWidth=function(){return h("jwGetWidth")},s.setFullscreen=function(n){return r.exists(n)?h("jwSetFullscreen",n):h("jwSetFullscreen",!h("jwGetFullscreen")),s},s.setMute=function(n){return r.exists(n)?h("jwSetMute",n):h("jwSetMute",!h("jwGetMute")),s},s.lock=function(){return s},s.unlock=function(){return s},s.load=function(n){return h("jwLoad",n),s},s.playlistItem=function(n){return h("jwPlaylistItem",parseInt(n,10)),s},s.playlistPrev=function(){return h("jwPlaylistPrev"),s},s.playlistNext=function(){return h("jwPlaylistNext"),s},s.resize=function(n,t){if("flash"!==s.renderingMode)h("jwResize",n,t);else{var i=o.getElementById(s.id+"_wrapper"),u=o.getElementById(s.id+"_aspect");u&&(u.style.display="none");i&&(i.style.display="block",i.style.width=r.styleDimension(n),i.style.height=r.styleDimension(t))}return s},s.play=function(n){return n===t?(n=s.getState(),n==e.PLAYING||n==e.BUFFERING?h("jwPause"):h("jwPlay")):h("jwPlay",n),s},s.pause=function(n){return n===t?(n=s.getState(),n==e.PLAYING||n==e.BUFFERING?h("jwPause"):h("jwPlay")):h("jwPause",n),s},s.stop=function(){return h("jwStop"),s},s.seek=function(n){return h("jwSeek",n),s},s.setVolume=function(n){return h("jwSetVolume",n),s},s.createInstream=function(){return new f.instream(this,c)},s.setInstream=function(n){return a=n},s.loadInstream=function(n,t){return a=s.setInstream(s.createInstream()).init(t),a.loadItem(n),a},s.getQualityLevels=function(){return h("jwGetQualityLevels")},s.getCurrentQuality=function(){return h("jwGetCurrentQuality")},s.setCurrentQuality=function(n){h("jwSetCurrentQuality",n)},s.getCaptionsList=function(){return h("jwGetCaptionsList")},s.getCurrentCaptions=function(){return h("jwGetCurrentCaptions")},s.setCurrentCaptions=function(n){h("jwSetCurrentCaptions",n)},s.getControls=function(){return h("jwGetControls")},s.getSafeRegion=function(){return h("jwGetSafeRegion")},s.setControls=function(n){h("jwSetControls",n)},s.destroyPlayer=function(){h("jwPlayerDestroy")},s.playAd=function(t){var i=n(s.id).plugins;i.vast&&i.vast.jwPlayAd(t)},s.pauseAd=function(){var t=n(s.id).plugins;t.vast?t.vast.jwPauseAd():h("jwPauseAd")},d={onBufferChange:i.JWPLAYER_MEDIA_BUFFER,onBufferFull:i.JWPLAYER_MEDIA_BUFFER_FULL,onError:i.JWPLAYER_ERROR,onSetupError:i.JWPLAYER_SETUP_ERROR,onFullscreen:i.JWPLAYER_FULLSCREEN,onMeta:i.JWPLAYER_MEDIA_META,onMute:i.JWPLAYER_MEDIA_MUTE,onPlaylist:i.JWPLAYER_PLAYLIST_LOADED,onPlaylistItem:i.JWPLAYER_PLAYLIST_ITEM,onPlaylistComplete:i.JWPLAYER_PLAYLIST_COMPLETE,onReady:i.API_READY,onResize:i.JWPLAYER_RESIZE,onComplete:i.JWPLAYER_MEDIA_COMPLETE,onSeek:i.JWPLAYER_MEDIA_SEEK,onTime:i.JWPLAYER_MEDIA_TIME,onVolume:i.JWPLAYER_MEDIA_VOLUME,onBeforePlay:i.JWPLAYER_MEDIA_BEFOREPLAY,onBeforeComplete:i.JWPLAYER_MEDIA_BEFORECOMPLETE,onDisplayClick:i.JWPLAYER_DISPLAY_CLICK,onControls:i.JWPLAYER_CONTROLS,onQualityLevels:i.JWPLAYER_MEDIA_LEVELS,onQualityChange:i.JWPLAYER_MEDIA_LEVEL_CHANGED,onCaptionsList:i.JWPLAYER_CAPTIONS_LIST,onCaptionsChange:i.JWPLAYER_CAPTIONS_CHANGED,onAdError:i.JWPLAYER_AD_ERROR,onAdClick:i.JWPLAYER_AD_CLICK,onAdImpression:i.JWPLAYER_AD_IMPRESSION,onAdTime:i.JWPLAYER_AD_TIME,onAdComplete:i.JWPLAYER_AD_COMPLETE,onAdCompanions:i.JWPLAYER_AD_COMPANIONS,onAdSkipped:i.JWPLAYER_AD_SKIPPED},r.foreach(d,function(n){s[n]=nt(d[n],y)}),g={onBuffer:e.BUFFERING,onPause:e.PAUSED,onPlay:e.PLAYING,onIdle:e.IDLE},r.foreach(g,function(n){s[n]=nt(g[n],it)}),s.remove=function(){if(!w)throw"Cannot call remove() before player is ready";v=[];f.destroyPlayer(this.id)},s.setup=function(t){if(n.embed){var i=o.getElementById(s.id);return i&&(t.fallbackDiv=i),i=s,v=[],f.destroyPlayer(i.id),i=n(s.id),i.config=t,new n.embed(i).embed(),i}return s},s.registerPlugin=function(t,i,r,u){n.plugins.registerPlugin(t,i,r,u)},s.setPlayer=function(n,t){c=n;s.renderingMode=t},s.detachMedia=function(){if("html5"==s.renderingMode)return h("jwDetachMedia")},s.attachMedia=function(n){if("html5"==s.renderingMode)return h("jwAttachMedia",n)},s.removeEventListener=function(n,t){var i=l[n],r;if(i)for(r=i.length;r--;)i[r]===t&&i.splice(r,1)},s.dispatchEvent=function(n,t){var u=l[n],e;if(u)for(var u=u.slice(0),o=r.translateEventResponse(n,t),f=0;f<u.length;f++)if(e=u[f],"function"==typeof e)try{n===i.JWPLAYER_PLAYLIST_LOADED&&r.deepReplaceKeyName(o.playlist,["__dot__","__spc__","__dsh__","__default__"],["."," ","-","default"]);e.call(this,o)}catch(s){r.log("There was an error calling back an event handler")}},s.dispatchInstreamEvent=function(n){a&&a.dispatchEvent(n,arguments)},s.callInternal=h,s.playerReady=function(n){for(w=!0,c||s.setPlayer(o.getElementById(n.id)),s.container=o.getElementById(s.id),r.foreach(l,function(n){tt(c,n)}),y(i.JWPLAYER_PLAYLIST_ITEM,function(){b={}}),y(i.JWPLAYER_MEDIA_META,function(n){r.extend(b,n.metadata)}),s.dispatchEvent(i.API_READY);0<v.length;)h.apply(this,v.shift())},s.getItemMeta=function(){return b},s.isBeforePlay=function(){return h("jwIsBeforePlay")},s.isBeforeComplete=function(){return h("jwIsBeforeComplete")},s};f.selectPlayer=function(n){var t;return r.exists(n)||(n=0),n.nodeType?t=n:"string"==typeof n&&(t=o.getElementById(n)),t?(n=f.playerById(t.id))?n:f.addPlayer(new f(t)):"number"==typeof n?u[n]:null};f.playerById=function(n){for(var t=0;t<u.length;t++)if(u[t].id==n)return u[t];return null};f.addPlayer=function(n){for(var t=0;t<u.length;t++)if(u[t]==n)return n;return u.push(n),n};f.destroyPlayer=function(n){for(var f=-1,i,t=0;t<u.length;t++)u[t].id==n&&(f=t,i=u[t]);return 0<=f&&(n=i.id,t=o.getElementById(n+("flash"==i.renderingMode?"_wrapper":"")),r.clearCss&&r.clearCss("#"+n),t&&("html5"==i.renderingMode&&i.destroyPlayer(),i=o.createElement("div"),i.id=n,t.parentNode.replaceChild(i,t)),u.splice(f,1)),null};n.playerReady=function(t){var i=n.api.playerById(t.id);i?i.playerReady(t):n.api.selectPlayer(t.id).playerReady(t)}}(window.jwplayer),function(n){var t=n.events,r=n.utils,i=t.state;n.api.instream=function(n,u){function e(t,i){return o[t]||(o[t]=[],u.jwInstreamAddEventListener(t,'function(dat) { jwplayer("'+n.id+'").dispatchInstreamEvent("'+t+'", dat); }')),o[t].push(i),this}function h(n,i){return s[n]||(s[n]=[],e(t.JWPLAYER_PLAYER_STATE,function(t){var u=t.newstate,e=t.oldstate,i,r,f;if(u==n&&(i=s[u],i))for(r=0;r<i.length;r++)f=i[r],"function"==typeof f&&f.call(this,{oldstate:e,newstate:u,type:t.type})})),s[n].push(i),this}var c,l,o={},s={},f=this;f.type="instream";f.init=function(){return n.callInternal("jwInitInstream"),f};f.loadItem=function(t,i){c=t;l=i||{};"array"==r.typeOf(t)?n.callInternal("jwLoadArrayInstream",c,l):n.callInternal("jwLoadItemInstream",c,l)};f.removeEvents=function(){o=s={}};f.removeEventListener=function(n,t){var i=o[n],r;if(i)for(r=i.length;r--;)i[r]===t&&i.splice(r,1)};f.dispatchEvent=function(n,t){var i=o[n],f;if(i)for(var i=i.slice(0),e=r.translateEventResponse(n,t[1]),u=0;u<i.length;u++)f=i[u],"function"==typeof f&&f.call(this,e)};f.onError=function(n){return e(t.JWPLAYER_ERROR,n)};f.onMediaError=function(n){return e(t.JWPLAYER_MEDIA_ERROR,n)};f.onFullscreen=function(n){return e(t.JWPLAYER_FULLSCREEN,n)};f.onMeta=function(n){return e(t.JWPLAYER_MEDIA_META,n)};f.onMute=function(n){return e(t.JWPLAYER_MEDIA_MUTE,n)};f.onComplete=function(n){return e(t.JWPLAYER_MEDIA_COMPLETE,n)};f.onPlaylistComplete=function(n){return e(t.JWPLAYER_PLAYLIST_COMPLETE,n)};f.onPlaylistItem=function(n){return e(t.JWPLAYER_PLAYLIST_ITEM,n)};f.onTime=function(n){return e(t.JWPLAYER_MEDIA_TIME,n)};f.onBuffer=function(n){return h(i.BUFFERING,n)};f.onPause=function(n){return h(i.PAUSED,n)};f.onPlay=function(n){return h(i.PLAYING,n)};f.onIdle=function(n){return h(i.IDLE,n)};f.onClick=function(n){return e(t.JWPLAYER_INSTREAM_CLICK,n)};f.onInstreamDestroyed=function(n){return e(t.JWPLAYER_INSTREAM_DESTROYED,n)};f.onAdSkipped=function(n){return e(t.JWPLAYER_AD_SKIPPED,n)};f.play=function(n){u.jwInstreamPlay(n)};f.pause=function(n){u.jwInstreamPause(n)};f.hide=function(){n.callInternal("jwInstreamHide")};f.destroy=function(){f.removeEvents();n.callInternal("jwInstreamDestroy")};f.setText=function(n){u.jwInstreamSetText(n?n:"")};f.getState=function(){return u.jwInstreamState()};f.setClick=function(n){u.jwInstreamClick&&u.jwInstreamClick(n)}}}(window.jwplayer),function(n){var t=n.api,i=t.selectPlayer;t.selectPlayer=function(t){return(t=i(t))?t:{registerPlugin:function(t,i,r){n.plugins.registerPlugin(t,i,r)}}}}(jwplayer));jwplayer.key="rfoh1z97F9cDD/s4bXp7YjjE9EcB5mkqCcpV3g==";jwplayer.defaults=location.protocol==="https:"?{flashplayer:"https://ssl.p.jwpcdn.com/6/8/jwplayer.flash.swf",html5player:"https://ssl.p.jwpcdn.com/6/8/jwplayer.html5.js",ph:1}:{flashplayer:"http://p.jwpcdn.com/6/8/jwplayer.flash.swf",html5player:"http://p.jwpcdn.com/6/8/jwplayer.html5.js",ph:1}