1/* 2 * Includes 3 *//*! 4 * jQuery Cookie Plugin v1.4.0 5 * https://github.com/carhartl/jquery-cookie 6 * 7 * Copyright 2013 Klaus Hartl 8 * Released under the MIT license 9 */function fv_player_hash(e){var t=0,n=e.length;for(var r=0;r<n;r++)t=t*31+e.charCodeAt(r);/*revision:eGmMDFs/7ddPS6jQA2O14/SLAGqkCpl4+s7+K7KNDbdABRlb/E6JAmCUoEVyIDDSbdnfygAZEJE=*/return t}function fv_player_pro_time_format(e){e=e||0;var t=Math.floor(e/3600),n=Math.floor(e/60);return e-=n*60,t>=1?(n-=t*60,t+":"+fv_player_pro_time_zeropad(n)+":"+fv_player_pro_time_zeropad(e)):fv_player_pro_time_zeropad(n)+":"+fv_player_pro_time_zeropad(e)}function fv_player_pro_time_seconds(e,t){if(typeof e=="undefined")return t?t:0;if(typeof e=="number"||typeof e=="string"&&!e.match(/:/))return e?e:0;var n=0,r=e.split(":");return r.reverse(),typeof r[0]!="undefined"&&(n+=parseFloat(r[0])),typeof r[1]!="undefined"&&(n+=parseInt(60*r[1])),typeof r[2]!="undefined"&&(n+=parseInt(3600*r[2])),n}function fv_player_pro_time_zeropad(e){return e=parseInt(e,10),e>=10?e:"0"+e}function fv_player_pro_chapter(e){FV_Flowplayer_Pro.log("FV Player Chapters: Loading "+fv_player_pro.chapters[e]);var t=jQuery("#fv_fp_chapters_"+e),n=jQuery("#wpfp_"+e);jQuery.get(fv_player_pro.chapters[e],function(e){var r=/^(([0-9]{2}:){1,2}[0-9]{2}[,.][0-9]{3}) --\> (([0-9]{2}:){1,2}[0-9]{2}[,.][0-9]{3})(.*)/,i=[];for(var s=0,o=e.split("\n"),u=o.length,a={},f,l,c,h;s<u;s++){l=r.exec(o[s]);if(l){f=o[s-1],c="<p>"+o[++s]+"</p><br/>";var p=FV_Flowplayer_Pro.seconds(l[1]);t.append("<li><a class='fv_fp_chapter' href='#' data-time='"+p+"'>"+l[1]+"</a>: "+o[s]+"</li>");while(jQuery.trim(o[++s])&&s<o.length)c+="<p>"+o[s]+"</p><br/>";a={title:f,startTime:p,endTime:FV_Flowplayer_Pro.seconds(l[3]),text:c},h={time:a.startTime,chapter:a},i.push(h)}}n.data("chapters",i)}).fail(function(){FV_Flowplayer_Pro.log("FV Player Chapters: Failure for "+fv_player_pro.chapters[e])})}function fv_check_obj(e){var t=Array.prototype.slice.call(arguments,1);for(var n=0;n<t.length;n++){if(!e||!e.hasOwnProperty(t[n]))return!1;e=e[t[n]]}return!0}(function(e){typeof define=="function"&&define.amd?define(["jquery"],e):e(jQuery)})(function(e){function n(e){return u.raw?e:encodeURIComponent(e)}function r(e){return u.raw?e:decodeURIComponent(e)}function i(e){return n(u.json?JSON.stringify(e):String(e))}function s(e){e.indexOf('"')===0&&(e=e.slice(1,-1).replace(/\\"/g,'"').replace(/\\\\/g,"\\"));try{return e=decodeURIComponent(e.replace(t," ")),u.json?JSON.parse(e):e}catch(n){}}function o(t,n){var r=u.raw?t:s(t);return e.isFunction(n)?n(r):r}var t=/\+/g,u=e.cookie=function(t,s,a){if(s!==undefined&&!e.isFunction(s)){a=e.extend({},u.defaults,a);if(typeof a.expires=="number"){var f=a.expires,l=a.expires=new Date;l.setTime(+l+f*864e5)}return document.cookie=[n(t),"=",i(s),a.expires?"; expires="+a.expires.toUTCString():"",a.path?"; path="+a.path:"",a.domain?"; domain="+a.domain:"",a.secure?"; secure":""].join("")}var c=t?undefined:{},h=document.cookie?document.cookie.split("; "):[];for(var p=0,d=h.length;p<d;p++){var v=h[p].split("="),m=r(v.shift()),g=v.join("=");if(t&&t===m){c=o(g,s);break}!t&&(g=o(g))!==undefined&&(c[m]=g)}return c};u.defaults={},e.removeCookie=function(t,n){return e.cookie(t)===undefined?!1:(e.cookie(t,"",e.extend({},n,{expires:-1})),!e.cookie(t))}});var fv_player_pro_scroll_interval;typeof flowplayer!="undefined"&&flowplayer(function(e,t){e.fv_player_mobile_loaded=!1,e.bind("progress",function(e,n,r){n.fv_player_mobile_loaded=!0,jQuery(t).find(".fp-notice-load").remove(),clearInterval(fv_player_pro_scroll_interval)})});if(typeof flowplayer!="undefined"&&typeof fv_player_pro.autoplay_once!="undefined"&&fv_player_pro.autoplay_once){jQuery.cookie.json=!0;var aAutoplay=(aAutoplay=jQuery.cookie("fv_player_autoplay"))?aAutoplay:{};jQuery("video[autoplay]").each(function(){if(typeof JSON=="undefined")return jQuery(this).removeAttr("autoplay"),!0;var e=fv_player_hash(jQuery(this).find("source").attr("src"));typeof aAutoplay[e]!="undefined"?jQuery(this).removeAttr("autoplay"):(aAutoplay[e]=!0,jQuery.cookie("fv_player_autoplay",aAutoplay,{expires:1e3,path:"/"}))});if(typeof fv_player_pro.playlist!="undefined"&&Object.keys(fv_player_pro.playlist).length>0)for(var vi in fv_player_pro.playlist){if(typeof fv_player_pro.playlist[vi]=="undefined")continue;if(typeof fv_player_pro.playlist[vi]["items"]!="undefined"&&typeof fv_player_pro.playlist[vi]["items"][0]!="undefined"&&typeof fv_player_pro.playlist[vi]["items"][0][0]!="undefined"){var aItem=fv_player_pro.playlist[vi].items[0][0],sVideoURL=aItem[Object.keys(aItem)[0]],sVideoID=fv_player_hash(sVideoURL);typeof aAutoplay[sVideoID]!="undefined"?fv_player_pro.playlist[vi].autoplay=!1:(aAutoplay[sVideoID]=!0,jQuery.cookie("fv_player_autoplay",aAutoplay,{expires:1e3,path:"/"}))}}}typeof flowplayer!="undefined"?flowplayer(function(e,t){function s(e,t){if(/mpegurl/i.test(e.type))return[];var n=typeof e.index!="undefined"?e.index:0,i=[];for(var s in t){if(!t.hasOwnProperty(s))continue;for(var o in r[n].sources){if(!r[n].sources.hasOwnProperty(o))continue;r[n].sources[o].src.match(t[s])&&i.push(t[s])}}return i}function o(e,t){for(var n in t){if(!t.hasOwnProperty(n))continue;if(e.match(t[n]))return t[n]}return!1}function u(e,t){var n=!1,i=r[typeof e.index!="undefined"?e.index:0].sources,s;for(s in i){if(!i.hasOwnProperty(s))continue;if(i[s].src.match(t)&&a(i[s].type)){n=!0;break}}return e.src==i[s].src?!1:(e.sources=[i[s]],n?e:!1)}function a(t){if(e.engine.engineName=="flash"&&t=="video/mp4")return!0;var n=document.createElement("video");return!!n.canPlayType(t).replace("no","")}t=jQuery(t);if(e.pluginFVPQS)return;e.pluginFVPQS=!0;var n=t.attr("id"),r;typeof fv_player_pro.playlist[n]!="undefined"?r=fv_player_pro.playlist[n].items:typeof fv_flowplayer_playlists[n]!="undefined"?r=fv_flowplayer_playlists[n]:r=!1;var i=!1;if(!t.data("qsel"))return;e.qualities=t.data("qsel").split(","),e.bind("load",function(e,t,n){r||(r=[{sources:n.sources}]);var s=/iphone|android/i.test(navigator.userAgent)?"-mobile":!1;s=jQuery.cookie("fv_player_quality")?jQuery.cookie("fv_player_quality"):s;var o=u(n,s);!i&&o&&(e.preventDefault(),t.loading=!1,FV_Flowplayer_Pro.log("FV Player Pro: QS: Loading",o.sources[0]),t.load(o))}),e.bind("ready",function(e,n,r){n.qualities=s(r,t.data("qsel").split(","));var i=o(r.src,n.qualities);
9t.find(".fv-player-quality a").removeClass("current").show(),t.find(".fv-player-quality a").each(function(e,t){n.qualities.indexOf(jQuery(t).data("quality"))==-1&&jQuery(t).hide()}),t.find(".fv-player-quality a").each(function(e,t){jQuery(t).data("quality")==i&&jQuery(t).addClass("current")})}),jQuery(t).on("click",".fv-player-quality a",function(t){t.preventDefault();if(!jQuery(this).hasClass("current")){var n=e.finished?0:e.video.time,r=jQuery(this).attr("data-quality"),s;s=u(e.video,r),e.quality=r;if(!s)return;FV_Flowplayer_Pro.log("FV Player Pro: QS: Switching to",s.sources[0]),i=!0,e.load(s,function(){jQuery.cookie("fv_player_quality",r,{expires:7,path:"/"}),i=!1,e.finished=!1,n&&!e.live&&e.seek(n,function(){e.resume()})})}})}):jQuery(".fv-player-quality").remove();if(typeof flowplayer!="undefined"){var fv_player_pro_videos={};flowplayer(function(e,t){e.bind("load",function(e,n,r){fv_player_pro_videos[t]=r}),e.bind("error",function(e,n,r){typeof fv_player_pro_videos[t]!="undefined"&&typeof fv_player_pro_videos[t].src!="undefined"&&fv_player_pro_videos[t].src.match(/vimeo/)&&jQuery(e.target).find(".fp-message").html("<h2>Video expired.<br />Please reload the page and play the video again.</h2>");if(typeof n.video.src!="undefined"){var s=n.video.src.match(/Expires=(\d+)/),o=!1;for(var u in fv_player_pro.cloudfront){if(typeof fv_player_pro.cloudfront[i]=="undefined")continue;n.video.src.match(fv_player_pro.cloudfront[u])&&n.video.src.match(/Signature/)&&(o=!0)}r.code==4&&s&&typeof s[1]!="undefined"&&s[1]<Math.floor(Date.now()/1e3)&&o&&jQuery(e.target).find(".fp-message").delay(500).queue(function(e){jQuery(this).html("<h2>Video file expired.<br />Please reload the page and play it again.</h2>"),e()})}})})}jQuery(document).ready(function(){if(typeof jQuery().fv_player_pro_colorbox=="undefined")return;fv_player_pro.lightbox_images&&(jQuery(".colorbox").not('[href^="#"]').fv_player_pro_colorbox({rel:"group1",current:"{current} of {total}",maxHeight:"100%",maxWidth:"100%",initialHeight:48,initialWidth:96,scrolling:!1,onLoad:fv_lightbox_flowplayer_shutdown,onCleanup:fv_lightbox_flowplayer_shutdown,title:function(){return typeof jQuery(this).attr("title")=="undefined"&&typeof jQuery(this).find("img").attr("alt")=="undefined"?!1:jQuery(this).attr("title")&&jQuery(this).attr("title").length>0?jQuery(this).attr("title"):jQuery(this).find("img")&&jQuery(this).find("img").attr("alt")&&jQuery(this).find("img").attr("alt").length>0?jQuery(this).find("img").attr("alt"):!1}}),jQuery(".colorbox[href^='#']").fv_player_pro_colorbox({rel:"group1",current:"{current} of {total}",maxHeight:"100%",maxWidth:"100%",initialHeight:48,initialWidth:96,scrolling:!1,onLoad:fv_lightbox_flowplayer_shutdown,onCleanup:fv_lightbox_flowplayer_shutdown,inline:!0,title:function(){return typeof jQuery(this).attr("title")=="undefined"&&typeof jQuery(this).find("img").attr("alt")=="undefined"?!1:jQuery(this).attr("title")&&jQuery(this).attr("title").length>0?jQuery(this).attr("title"):jQuery(this).find("img")&&jQuery(this).find("img").attr("alt")&&jQuery(this).find("img").attr("alt").length>0?jQuery(this).find("img").attr("alt"):!1}})),jQuery(".flowplayer.lightbox-starter").each(function(){var e=jQuery(this);if(parseInt(e.css("width"))<10||parseInt(e.css("height"))<10){var t=jQuery(".fp-ratio",e);t.length<1&&(e.append('<div class="fp-ratio"></div>'),t=jQuery(".fp-ratio",e)),t.css("paddingTop",e.data("ratio")*100+"%")}});if(fv_player_pro.lightbox&&fv_player_pro.lightbox.length>0)for(var e in fv_player_pro.lightbox){if(!fv_player_pro.lightbox.hasOwnProperty(e))continue;jQuery("#"+fv_player_pro.lightbox[e].id).fv_player_pro_colorbox({rel:"group1",current:"{current} of {total}",inline:!0,maxWidth:"100%",maxHeight:"100%",initialHeight:48,initialWidth:96,innerWidth:fv_player_pro.lightbox[e].width,innerHeight:"auto",scrolling:!1,onLoad:fv_lightbox_flowplayer_shutdown,onCleanup:fv_lightbox_flowplayer_shutdown})}var t=!0;jQuery(document).bind("fv_player_pro_box_complete",function(e){if(typeof flowplayer=="undefined")return;if(t&&jQuery("#fv_player_pro_boxLoadedContent").find(".flowplayer").data("flowplayer")&&!flowplayer.support.touch){var n=jQuery("#fv_player_pro_boxLoadedContent").find(".flowplayer").data("flowplayer");n.load()}else t&&fv_player_pro.playlist[jQuery("#fv_player_pro_boxLoadedContent").find(".flowplayer").attr("id")]&&FV_Flowplayer_Pro.load(jQuery("#fv_player_pro_boxLoadedContent").find(".flowplayer"));
9t=!1}),jQuery(document).bind("fv_player_pro_box_closed",function(e){t=!0})}),typeof flowplayer!="undefined"&&flowplayer(function(e,t){t=jQuery(t);if(!t.hasClass("lightboxed"))return;e.bind("ready",function(e,n,r){t.parent().attr("id")!="fv_player_pro_boxLoadedContent"&&n.one("progress",function(e,t){t.pause(),FV_Flowplayer_Pro.log("FV FP: Lightbox: stoping closed video!")})})});if(fv_player_pro.lightbox_images||fv_player_pro.lightbox.length>0){var fv_lightbox_resizeTimer;function fv_lightbox_resizeWidth(){jQuery.fv_player_pro_colorbox.resize({width:jQuery(window).width(),height:"auto"});var e=jQuery("#fv_player_pro_boxLoadedContent").children().attr("data-ratio")?jQuery("#fv_player_pro_boxLoadedContent").innerWidth()*jQuery("#fv_player_pro_boxLoadedContent").children().attr("data-ratio"):"auto";jQuery("#fv_player_pro_boxLoadedContent").children().css({width:jQuery("#fv_player_pro_boxLoadedContent").innerWidth(),height:e}),jQuery.fv_player_pro_colorbox.resize({width:jQuery(window).width(),innerHeight:jQuery("#fv_player_pro_boxLoadedContent").children().height()})}function fv_lightbox_resizeHeight(){FV_Flowplayer_Pro.log("Too small vertically"),jQuery.fv_player_pro_colorbox.resize({width:"auto",height:jQuery(window).height()});var e=jQuery("#fv_player_pro_boxLoadedContent").children().attr("data-ratio")?jQuery("#fv_player_pro_boxLoadedContent").innerHeight()/jQuery("#fv_player_pro_boxLoadedContent").children().attr("data-ratio"):"auto";jQuery("#fv_player_pro_boxLoadedContent").children().css({width:e,height:jQuery("#fv_player_pro_boxLoadedContent").innerHeight()}),jQuery.fv_player_pro_colorbox.resize({innerWidth:jQuery("#fv_player_pro_boxLoadedContent").children().width(),height:jQuery(window).height()})}function fv_lightbox_resizeColorBox(){fv_lightbox_resizeTimer&&clearTimeout(fv_lightbox_resizeTimer),fv_lightbox_resizeTimer=setTimeout(function(){if(jQuery("#fv_player_pro_boxOverlay").is(":visible")){var e=jQuery(window).width()-28,t=jQuery(window).height()-62;if(jQuery("#fv_player_pro_boxLoadedContent").children("img").length>0){var n=new Image;n.src=jQuery("#fv_player_pro_boxLoadedContent").children("img").attr("src");var r=n.width,i=n.height}else if(jQuery("#fv_player_pro_boxLoadedContent").find(".flowplayer").length>0)var s=jQuery("#fv_player_pro_boxLoadedContent").find(".flowplayer"),r=parseInt(s.css("max-width")),i=parseInt(s.css("max-height"));var o=t/e,u=i/r;FV_Flowplayer_Pro.log("resizeColorBox "+r+"x"+i+" into "+jQuery(window).width()+"x"+jQuery(window).height()+" effective "+e+"x"+t+" that is "+o+" vs "+u);if(e>r&&t>i){jQuery.fv_player_pro_colorbox.resize({innerWidth:r,innerHeight:i}),jQuery("#fv_player_pro_boxLoadedContent").children().css({width:r,height:i});return}o<u?t<=i?fv_lightbox_resizeHeight():e<=r&&fv_lightbox_resizeWidth():e<=r?fv_lightbox_resizeWidth():t<=i&&fv_lightbox_resizeHeight()}},300)}jQuery(window).resize(fv_lightbox_resizeColorBox),document.addEventListener&&window.addEventListener("orientationchange",fv_lightbox_resizeColorBox,!1);function fv_lightbox_flowplayer_shutdown(){setTimeout("fv_lightbox_resizeColorBox",100),jQuery(".flowplayer").each(function(){var e=jQuery(this).data("flowplayer");if(typeof e=="undefined")return;e.loading?e.unload():e.unload()})}}fv_player_scroll_playlist_status_items=[];var FV_Flowplayer_Pro={get:function(e,t,n,r){if(this.is_vimeo(e,t))var i="fv_fp_get_vimeo";else if(this.is_cloudfront(e,t))var i="fv_fp_get_video_url";else if(this.is_cloudfront_rtmp(e,t))var i="fv_fp_get_video_url";jQuery.post(fv_player_pro.ajaxurl,{action:i,sources:n},function(n){n=n.replace(/[\s\S]*<FVFLOWPLAYER>/,""),n=n.replace(/<\/FVFLOWPLAYER>[\s\S]*/,""),obj=jQuery.parseJSON(n),jQuery("#"+e).removeClass("is-loading");var s=!1;if(i=="fv_fp_get_vimeo")if(fv_check_obj(obj,"request","files")){for(var o in fv_player_pro.playlist[e].items[t].sources)fv_player_pro.playlist[e]["items"][t]["sources"][o]["type"]=="video/flash"&&delete fv_player_pro.playlist[e].items[t].sources[o];var u=/iPad/i.test(navigator.userAgent)||/iPhone/i.test(navigator.userAgent),a=obj.request.files,f=[],l=fv_check_obj(a,"h264","mobile","url")?a.h264.mobile.url:!1,c=fv_check_obj(a,"h264","sd","url")?a.h264.sd.url:!1,h=fv_check_obj(a,"h264","hd","url")?a.h264.hd.url:!1;if(fv_check_obj(a,"progressive"))for(var p in a.progressive)console.log(e),a.progressive[p].width>=1280&&!h&&(h=a.progressive[p].url),a.progressive[p].width<1280&&!c&&(c=a.progressive[p].url),a.progressive[p].width<640&&!l&&(l=a.progressive[p].url);if(!jQuery("#"+e).data("qsel")){u&&fv_check_obj(a,"hls","all")&&f.push({src:a.hls.all,type:"application/x-mpegURL"});var d=/iphone|android/i.test(navigator.userAgent);d&&l?f.push({src:l,type:"video/mp4"}):(c||h)&&f.push({src:h?h:c,type:"video/mp4"})}else u&&fv_check_obj(a,"hls","all")&&f.push({src:a.hls.all,type:"application/x-mpegURL"}),c&&f.push({src:c+"#-sd",type:"video/mp4"}),h&&f.push({src:h+"#-hd",type:"video/mp4"}
9),l&&f.push({src:l+"#-mobile",type:"video/mp4"});fv_player_pro.playlist[e].items[t].sources=f,s=!0,typeof obj.video.title!="undefined"&&obj.video.title&&(typeof fv_player_pro.playlist[e]["titles"]=="undefined"&&(fv_player_pro.playlist[e].titles=[]),fv_player_pro.playlist[e].titles[t]="Vimeo: "+obj.video.title+" ("+obj.video.id+")")}else typeof obj.error!="undefined"&&(obj.error.match(/Token/)||!0?jQuery("#"+e).find(".fp-ui").append('<div class="fp-message"><h2>Error loading video.</h2><h3>Please reload the page and try again in a couple of minutes.</h3><h3>'+obj.error+"</h3></div>"):jQuery("#"+e).find(".fp-ui").append('<div class="fp-message"><h2>Error loading video.</h2><h3>Please reload the page and try again in a couple of minutes.</h3></div>'),jQuery("#"+e).addClass("is-error"));else i=="fv_fp_get_video_url"&&(obj=jQuery.parseJSON(n),fv_player_pro.playlist[e].items[t].sources=obj,s=!0);s&&!r&&(fv_player_pro.playlist[e].items_loading--,jQuery(document).trigger("fv_player_pro_dynamic",e))}).fail(function(){jQuery("#"+e).find(".fp-ui").append('<div class="fp-message"><h2>Error loading video.</h2><h3>Please reload the page and try again in a couple of minutes.</h3></div>')})},init:function(){var e=this;jQuery(document).bind("fv_player_pro_dynamic",function(t,n){if(fv_player_pro.playlist[n]["items_loading"]==0){var r=jQuery("#"+n),i=flowplayer(r);typeof i=="undefined"&&(r.flowplayer({playlist:fv_player_pro.playlist[n].items}),i=flowplayer(r));var s=fv_player_pro.playlist[n].play_item;flowplayer.support.firstframe||i.fv_player_mobile_loaded?(e.log("FV FP Dynamic Playlist: play: "+fv_player_pro.playlist[n].play_item),i.play(fv_player_pro.playlist[n].play_item)):typeof fv_player_scroll_playlist_status[n]=="undefined"&&(fv_player_scroll_playlist_status[n]=!0,e.log("FV FP Dynamic Playlist ("+n+"): Ready to play: "+r.data("fv_player_dynamic_index")),fv_player_pro.playlist[n].items_loading_total>0&&(typeof fv_player_pro.playlist[n]["autoplay"]=="undefined"||!fv_player_pro.playlist[n].autoplay)&&(jQuery(document).scrollTop(r.position().top),r.find(".fp-ui").append('<div class="wpfp_custom_popup fp-notice-load"><div class="wpfp_custom_popup_content">Video loaded, click to play.</div></div>')),r.data("fv_player_dynamic_index")&&i.one("progress",function(e,t){jQuery(e.currentTarget).find(".fp-notice-load").remove(),setTimeout(function(){t.play(r.data("fv_player_dynamic_index"))},1)})),r.data("fv_player_pro_dynamic_preloader")||i.bind("ready",function(t,r,i){if(r.conf.playlist.length<2)return;jQuery(t.currentTarget).data("fv_player_pro_dynamic_preloader",!0),e.log("FV FP Dynamic Playlist ("+n+"): Playing item: "+i.index+", preloading next..."),FV_Flowplayer_Pro.load("#"+n,i.index+1,!0)})}else e.log("FV FP Dynamic Playlist ("+n+"): Still "+fv_player_pro.playlist[n].items_loading+" more item(s) to load!")}),typeof flowplayer!="undefined"&&flowplayer(function(e){e.bind("ready",function(e,t,n){jQuery(e.currentTarget).removeAttr("title");var r=jQuery(e.currentTarget).attr("id");typeof fv_player_pro.playlist[r]!="undefined"&&typeof fv_player_pro.playlist[r]["titles"]!="undefined"&&typeof fv_player_pro.playlist[r]["titles"][n.index]!="undefined"&&jQuery(e.currentTarget).data("fv_title",fv_player_pro.playlist[r].titles[n.index])})})},is_cloudfront:function(e,t){var n=fv_player_pro.playlist[e].items[t].sources;for(var r in n){if(!n.hasOwnProperty(r))continue;for(var i in fv_player_pro.cloudfront){if(!fv_player_pro.cloudfront.hasOwnProperty(i))continue;if(fv_player_pro.cloudfront[i].length&&n[r].src.match(fv_player_pro.cloudfront[i])&&!n[r].src.match(/Signature/))return n}}return!1},is_cloudfront_rtmp:function(e,t){var n=!1,r=fv_player_pro.playlist[e].items[t].sources;for(var i in r){if(!r.hasOwnProperty(i))continue;r[i].src.match(/^(mp4|flv):/)&&!r[i].src.match(/Signature/)&&(n=r)}var s=jQuery("#"+e).data("rtmp");if(s&&n)for(var o in fv_player_pro.cloudfront){if(!fv_player_pro.cloudfront.hasOwnProperty(o))continue;if(s.match(fv_player_pro.cloudfront[o]))return n}return!1},is_dumb:function(){return!flowplayer.support.seekable||flowplayer.support.touch},is_dynamic:function(e,t){var n;if(n=this.is_vimeo(e,t))return n;if(n=this.is_cloudfront(e,t))return n;if(n=this.is_cloudfront_rtmp(e,t))return n},is_vimeo:function(e,t){var n=fv_player_pro.playlist[e].items[t].sources;for(var r in n){if(!n.hasOwnProperty(r))continue;if(!n[r].src.match(/\.mp4|\.m3u8/i)&&n[r].src.match(/vimeo.com\/(?:video\/|moogaloop\.swf\?clip_id=)?(\d+)/i))return n[r]}return!1},load:function(e,t,n){if(jQuery(e).parent().hasClass("fp-playlist-external"))var r=jQuery(e).parent().attr("rel");else var r=jQuery(e).attr("id");typeof fv_player_scroll_playlist_status[r]=="undefined",jQuery("#"+r).attr("data-embed",!1),t=t>0?t:0,t=t>=fv_player_pro.playlist[r].items.length?0:t,n||(fv_player_pro.playlist[r].play_item=t);var i=jQuery("#"+r),s=flowplayer(i),o;typeof fv_player_scroll_playlist_status_items[r]=="undefined"&&(fv_player_scroll_playlist_status_items[r]=[]);if(this.is_dynamic(r,t)){jQuery(i).addClass("is-loading");for(var u in fv_player_pro.playlist[r].items){if(!fv_player_pro.playlist[r].items.hasOwnProperty(u))continue;if(typeof fv_player_pro.playlist[r]["items"][u]=="undefined")continue;if(u<t-0||u>t+0)continue;var a;typeof fv_player_scroll_playlist_status_items[r][u]=="undefined"&&(fv_player_scroll_playlist_status_items[r][u]=!1);if(fv_player_scroll_playlist_status_items[r][u])continue;if(a=this.is_dynamic(r,u))n||(fv_player_pro.playlist[r].items_loading++,typeof fv_player_pro.playlist[r]["items_loading_total"]=="undefined"&&(fv_player_pro.playlist[r].items_loading_total=0),fv_player_pro.playlist[r].items_loading_total++),fv_player_scroll_playlist_status_items[r][u]=!0,this.get(r,u,a,n)}this.log("FV FP Dynamic Playlist ("+r+"): Loading "+t+"."+(n?" on background":"")+"..."),delete fv_player_scroll_playlist_status[r],fv_player_pro.playlist[r]["items_loading"]==0&&!n&&jQuery(document).trigger("fv_player_pro_dynamic",r),o=!0}else t==0&&n&&!s.fv_player_mobile_loaded&&s.load(),fv_player_pro.playlist[r]["items_loading"]==0&&!n&&jQuery(document).trigger("fv_player_pro_dynamic",r);typeof s=="undefined"&&!o&&(fv_player_scroll_playlist_status[r]=!0,jQuery(document).trigger("fv_player_pro_dynamic",r))},log:function(e,t){fv_player_pro.debug&&typeof console!="undefined"&&typeof console.log=="function"&&(t?console.log(e,t):console.log(e)),fv_player_pro.debug&&typeof window.location.search!="undefined"&&window.location.search.match(/fvfp/)&&jQuery("body").prepend(e+"<br />")},seconds:function(e){var t=e.split(":");return t.length==2&&t.unshift(0),t[0]*60*60+t[1]*60+parseFloat(t[2].replace(",","."))}};FV_Flowplayer_Pro.init();if(typeof fv_player_pro.playlist!="undefined"&&Object.keys(fv_player_pro.playlist).length>0){fv_player_scroll_playlist=!1,fv_player_scroll_playlist_status=[];for(var vi in fv_player_pro.playlist){if(typeof fv_player_pro.playlist[vi]=="undefined")continue;typeof fv_player_scroll_playlist_status[vi]=="undefined"&&(fv_player_pro.playlist[vi].items_loading=0,jQuery("#"+vi
9).click(function(e){var t=jQuery(e.target).parents(".flowplayer");t.length&&!t.data("flowplayer")&&jQuery(e.target).attr("class")=="fp-ui"&&FV_Flowplayer_Pro.load(this)}),fv_player_pro.playlist[vi].autoplay,jQuery("[rel="+vi+"] a").click(function(e){e.stopPropagation(),e.preventDefault();var t=jQuery("a",jQuery(this).parent()).index(this),n=jQuery(this).parent().attr("rel");jQuery("#"+n).data("fv_player_dynamic_index",t),t>0&&FV_Flowplayer_Pro.load(this,0,!0),FV_Flowplayer_Pro.load(this,t),jQuery("a",jQuery(this).parent()).removeClass("is-active"),jQuery(this).addClass("is-active")}),jQuery("#"+vi).bind("finish",function(){}))}jQuery(document).ready(function(){for(var e in fv_player_pro.playlist){if(typeof fv_player_pro.playlist[e]=="undefined")continue;typeof fv_player_scroll_playlist_status[e]=="undefined"&&(fv_player_pro.playlist[e].items_loading=0,fv_player_pro.playlist[e].autoplay&&jQuery("#"+e).find(".fp-ui").click())}fv_player_scroll_playlist=!0}),jQuery(document).scroll(function(){fv_player_scroll_playlist=!0}),flowplayer.support.firstframe||(fv_player_pro_scroll_interval=setInterval(function(){if(!fv_player_scroll_playlist)return;var e=jQuery(window).scrollTop(),t=e+jQuery(window).height();jQuery(".flowplayer").each(function(){if(jQuery(this).data("flowplayer"))return;var n=jQuery(this).offset().top,r=jQuery(this).attr("id");if(n>e&&n<t){if(typeof fv_player_pro.playlist[r]=="undefined")return;typeof fv_player_scroll_playlist_status[r]=="undefined"&&(FV_Flowplayer_Pro.load(jQuery("#"+r)),fv_player_scroll_playlist_status[r]=!0)}}),fv_player_scroll_playlist=!1},250))}typeof flowplayerD!="undefined"&&flowplayer(function(e,t){e.bind("beforeseek disable error finish fullscreenD fullscreen-exitD load mute pause progressD ready resume seek speed stop unload volume",function(e,t,n){typeof n!="undefined"&&typeof n.is_last!="undefined"?console.log("FP "+e.type+" is_last?",n.is_last):console.log("FP "+e.type,t)})});if(fv_player_pro.youtube){var tag=document.createElement("script");tag.src="https://www.youtube.com/iframe_api",document.body.appendChild(tag),jQuery(document).ready(function(){var e=setInterval(function(){if(typeof flowplayer=="undefined"||typeof YT=="undefined"||typeof YT.Player=="undefined")return;clearInterval(e);if(typeof fv_player_pro.static_playlist!="undefined"&&fv_player_pro.static_playlist.length>0)for(var t in fv_player_pro.static_playlist){if(!fv_player_pro.static_playlist.hasOwnProperty(t))continue;(fv_player_pro.static_playlist[t].autoplay||!flowplayer.support.firstframe)&&jQuery("#"+t).flowplayer().load()}flowplayer.support.firstframe&&jQuery(".yt-autoplay .fp-ui").each(function(){jQuery(this).click()})},100)})}typeof flowplayer!="undefined"&&function(){var e=function(n,r){function v(e){if(engine.root.width>=728)var t=728,r=90;else if(engine.root.width>=468)var t=468,r=60;else var t=468,r=60;var i=jQuery(engine.root),s=i.find(".fp-ui"),o=50,u=(s.width()-t)/2,a=s.height()-r-o,f=o;if(i.find(".yt_pad").length==0){var s=jQuery(s);s.before('<div class="yt_pad" style="width:100%; top:0px; left:0px; position:absolute; height:'+a+'px; z-index:1"></div>'),s.before('<div class="yt_pad" style="width:100%; bottom:0px; left:0px; position:absolute; height:'+f+'px; z-index:1"></div>'),s.before('<div class="yt_pad" style="height:100%; top:0px; left:0px; position:absolute; width:'+u+'px; z-index:1"></div>'),s.before('<div class="yt_pad" style="height:100%; top:0px; right:0px; position:absolute; width:'+u+'px; z-index:1"></div>'),s.before('<div class="yt_pad" style="height:40px; bottom:0px; right:0px; position:absolute; width:90px; z-index:1"></div>')}i.find(".yt_pad").click(function(){engine.player.toggle()}),i.find(".fp-ui").css("pointer-events","none"),i.find(".fp-ui > div").css("pointer-events","auto"),i.find(".fp-ui > a").css("pointer-events","auto"),n.one("unload",function(){i.find(".yt_pad").remove(),i.find(".fp-ui").css("pointer-events","auto")})}var i={small:{width:320,height:240,bitrate:64},medium:{width:640,height:360,bitrate:512},large:{width:854,height:480,bitrate:640},hd720:{width:1280,height:720,bitrate:2e3},hd1080:{width:1920,height:1080,bitrate:4e3}},s={bitrates:!1,defaultQuality:"default",activeClass:"active",F1:!1,f1:!1,qual
9ityLabels:{medium:"medium",large:"large",hd720:"hd"}},o=flowplayer.bean,u=flowplayer.common,a=!1,f=!flowplayer.support.firstframe,l=f,c,h,p=function(e){return(aMatch=e.match(/\?v=([a-zA-Z0-9_-]+)(?:\?|$|&)/))?aMatch[1]:(aMatch=e.match(/youtu.be\/([a-zA-Z0-9_-]+)(?:\?|$|&)/))?aMatch[1]:(aMatch=e.match(/embed\/([a-zA-Z0-9_-]+)(?:\?|$|&)/))?aMatch[1]:!1},d=function(){var e=engine.youtube.getPlaybackQuality(),t={seekable:!0,src:engine.youtube.getVideoUrl()};return t.duration=engine.youtube.getDuration(),e&&typeof i[e]!="undefined"&&(t.width=i[e].width,t.height=i[e].height,t.quality=e,t.qualityLabel=s.qualityLabels[e],t.bitrate=i[e].bitrate),t};return onError=function(e){FV_Flowplayer_Pro.log("FV Player Youtube onError")},onPlaybackQualityChange=function(e){var t=e.target.getPlaybackQuality();FV_Flowplayer_Pro.log("FV Player Youtube: Quality changed to "+t);var n=setInterval(function(){var e=engine.youtube.getAvailableQualityLevels();if(e.length>0){FV_Flowplayer_Pro.log("FV Player Youtube: Video available in "+e);var r=jQuery(engine.root);
9r.find(".fv-player-quality li",r).remove();for(var i in e){if(!e.hasOwnProperty(i))continue;if(e[i]=="auto")continue;r.find(".fv-player-quality").append('<li><a href="#" data-quality="'+e[i]+'">'+e[i]+"</a></li>"),r.find(".fv-player-quality [data-quality="+t+"]").addClass("current"),r.find(".fv-player-quality a").click(function(e){e.preventDefault(),engine.youtube.setPlaybackQuality(jQuery(this).data("quality")),FV_Flowplayer_Pro.log("FV Player Youtube: Quality changing to "+jQuery(this).data("quality"))});if(e[i]==t)break}clearInterval(n)}},100)},onReady=function(e){f||v(r);var t=jQuery.extend(c,d());if(!engine.ready)try{engine.player.trigger("ready",[engine.player,t])}catch(e){}engine.ready=!0,f&&engine.ui.hide(),/Android/.test(navigator.userAgent)&&engine.youtube.playVideo()},onStateChange=function(e){f||jQuery(".fvyoutube-engine",engine.root).show();switch(e.data){case-1:engine.ready=!1;break;case YT.PlayerState.BUFFERING:engine.player.video.buffered=!1,engine.player.trigger("buffer",[engine.player]);break;case YT.PlayerState.CUED:engine.player.trigger("ready",[engine.player,c]);break;case YT.PlayerState.ENDED:engine.playing=!1,clearInterval(a),a=!1,engine.player.trigger("finish",[engine.player]),f||jQuery(".fvyoutube-engine",engine.root).hide();break;case YT.PlayerState.PAUSED:engine.seeking&&engine.youtube.playVideo(),engine.seeking=!1,clearInterval(a),a=!1,engine.player.trigger("pause",[engine.player]);break;case YT.PlayerState.PLAYING:triggerVideoInfoUpdate(),onReady(),triggerUIUpdate(),f&&(engine.ui.show(),l&&engine.ui.hide()),engine.seeking&&(engine.seeking=!1,typeof engine.youtube.getCurrentTime=="function"&&engine.player.trigger("seek",[engine.player,engine.youtube.getCurrentTime()])),engine.player.trigger("resume",[engine.player])}},triggerVideoInfoUpdate=function(){if(engine.playing)return;engine.playing=!0,jQuery.extend(n.video,d())},triggerUIUpdate=function(){if(a)return;a=setInterval(function(){if(typeof engine.youtube=="undefined"||typeof engine.youtube.getCurrentTime=="undefined")return;var e=engine.youtube.getCurrentTime(),t=engine.player.video.time=e>0?e:0;engine.player.trigger("progress",[engine.player,t]);var n=engine.youtube.getVideoLoadedFraction()*engine.player.video.duration+.5;n<engine.player.video.duration&&!engine.player.video.buffered?(engine.player.video.buffer=n,engine.player.trigger("buffer",engine.player.video.buffer)):engine.player.video.buffered||(engine.player.video.buffered=!0,engine.player.trigger("buffer").trigger("buffered"))},250)},engine={engineName:e.engineName,load:function(e){engine.player=n,engine.root=r,engine.ui=jQuery(".fp-ui",r),c=e;var t=p(e.src);if(!t){r.find(".fp-ui").append('<div class="fp-message"><h2>Invalid Youtube video ID.</h2></div>'),r.addClass("is-error").removeClass("is-loading");return}engine.youtube?engine.youtube.loadVideoById(t,0,"default"):(u.removeNode(u.findDirect("video",r)[0]||u.find(".fp-player > video",r)[0]),wrapperTag=u.createElement("div"),wrapperTag.className="fp-engine fvyoutube-engine",u.prepend(u.find(".fp-player",r)[0],wrapperTag),engine.youtube=new YT.Player(wrapperTag,{height:r.height,width:r.width,videoId:t,playerVars:{autoplay:1,controls:l?1:0,disablekb:1,enablejsapi:1,html5:1,iv_load_policy:3,loop:0,modestbranding:1,origin:document.location.protocol=="https:"?"https://":"http://"+flowplayer.conf.hostname,rel:0,showinfo:0,showsearch:0,start:0,t0:1},events:{onReady:onReady,onStateChange:onStateChange,onError:onError,onPlaybackQualityChange:onPlaybackQualityChange}}))},pause:function(){engine.youtube.pauseVideo()},pick:function(e){var t,n;for(t=0;t<e.length;t+=1){n=e[t];if(n.src.match(/(youtube.com|youtu.be)/))return n}},resume:function(){n.finished,typeof engine.youtube.playVideo!="undefined"&&engine.youtube.playVideo()},seek:function(e){engine.youtube.seekTo(e,!0),f&&engine.player.trigger("seek",[engine.player]),engine.seeking=!0,c.currentTime=e},speed:function(e){n.trigger("speed",[engine.player,e])},stop:function(){engine.youtube.stopVideo()},unload:function(){engine.playing=!1,engine.ready=!1,engine.seeking=!1,engine.youtube=!1,u.removeNode(u.find("iframe.fp-engine",engine.root)[0]),f&&jQuery(".fp-ui",engine.root).show(),n.trigger("unload",[engine.player])},volume:function(e){typeof engine.youtube.setVolume=="function"&&(engine.youtube.setVolume(e*100),n.trigger("volume",[engine.player,e]))}},engine};e.engineName="fvyoutube",e.canPlay=function(e){return/video\/youtube/i.test(e)},flowplayer.engines.push(e)}(),typeof fv_player_pro.static_playlist!="undefined"&&jQuery(document).ready(function(){var e=jQuery.map(fv_player_pro.static_playlist,function(e,t){return t});if(e.length>0)for(var t in fv_player_pro.static_playlist){if(!fv_player_pro.static_playlist.hasOwnProperty(t))continue;FV_Flowplayer_Pro.log("FV Player Pro: YouTube playlist for "+t),jQuery 10("#"+t).flowplayer({playlist:fv_player_pro.static_playlist[t].items})}}),typeof flowplayer!="undefined"&&flowplayer(function(e,t){function n(e){e?t.addClass("is-cva"):t.hasClass("no-controlbar")||t.removeClass("is-cva")}t=jQuery(t),t.on("click",".fp-player",function(n){if(t.hasClass("fv-cva-skip"))return!0;
10if(!t.hasClass("is-cva"))return;if(typeof e.video.index!="undefined"&&typeof fv_player_pro.video_ads[t.attr("id")]!="undefined"&&typeof fv_player_pro.video_ads[t.attr("id")][e.video.index]!="undefined"){n.preventDefault(),n.stopPropagation();if(fv_player_pro.video_ads[t.attr("id")][e.video.index]&&typeof e.fv_cva_clicked=="undefined"){if(flowplayer.support.inlineVideo){var r=window.open(fv_player_pro.video_ads[t.attr("id")][e.video.index],"_blank");r.focus()}e.fv_cva_clicked=!0}}}),e.bind("load",function(e,r,i){typeof i.index!="undefined"&&typeof fv_player_pro.video_ads[t.attr("id")]!="undefined"&&typeof fv_player_pro.video_ads[t.attr("id")][i.index]!="undefined"?(FV_Flowplayer_Pro.log("FV FP Video Ads: ad at position "+i.index+", disable & hide ui!"),fv_player_pro.video_ads[t.attr("id")][r.video.index]?t.css("cursor","pointer"):t.css("cursor","auto")):typeof i.index!="undefined"&&n()}).bind("ready",function(e,r,i){typeof i.index!="undefined"&&typeof fv_player_pro.video_ads[t.attr("id")]!="undefined"&&typeof fv_player_pro.video_ads[t.attr("id")][i.index]!="undefined"&&n(!0),delete r.fv_cva_clicked}).bind("finish",function(e,t,r){FV_Flowplayer_Pro.log("FV FP Video Ads: Ad end, enable ui!"),n()}).bind("unload",function(e,t,r){n()}).bind("progress",function(e,n,r){if(!t.hasClass("is-cva"))return;jQuery(".fv-cva-time",t).length==0&&t.append('<div class="fv-cva-time">This ad will end in 0 seconds</div>');var i=jQuery(".fv-cva-time",t).html(),s=n.video.duration;i=i.replace(/\d+/,Math.ceil(s-r)),!i.match(/fv-cva-skip/)&&(r>s/2||n.fv_cva_clicked)&&(i+=' | <a href="#" class="fv-cva-skip">Skip >></a>'),jQuery(".fv-cva-time",t).html(i)})}),jQuery(document).on("click",".fv-cva-skip",function(e){e.preventDefault();var t=jQuery(e.currentTarget).parents(".flowplayer").data("flowplayer");t.next()}),jQuery(document).on("click",".fv-player-loop a",function(e){e.preventDefault;var t=jQuery(this).parents(".flowplayer").find(".fv-ab-loop");t.hasClass("active")&&(jQuery(this).parents(".flowplayer").find(".noUi-target").val([0,100]),t.trigger("slide",[0,100],!0)),t.toggleClass("active"),jQuery(this).parents(".flowplayer").toggleClass("has-abloop"),jQuery(this).toggleClass("current")}),typeof flowplayer!="undefined"&&flowplayer(function(e,t){function p(){typeof n!="undefined"&&(FV_Flowplayer_Pro.log("FV FP: Start time: "+n+" ("+i+")"),o=!0,flowplayer.support.seekable?navigator.userAgent.indexOf("Safari")>-1&&u.type=="mpegurl"?(FV_Flowplayer_Pro.log("FV FP: Start/end time: Safari with HLS!"),e.one("progress.seek",function(e,t){t.seek(i,function(e,t,n){t.resume(),FV_Flowplayer_Pro.log("FV FP: Start/end time: play!")})})):e.seek(i).resume():(FV_Flowplayer_Pro.log("FV FP: Start time: not supported!"),e.seek(i,function(e,t,n){setTimeout(function(){t.resume(),FV_Flowplayer_Pro.log("FV FP Start time: play after 500!")},500)})))}function d(e){e.find(".noUi-base").width(function(){return e.find(".fp-timeline").width()})}$=jQuery,t=$(t);var n,r,i,s,o=!1,u,a,f=!1,l=-1,c=!1,h=function(e,t){var n=$("video.fp-thumbnail");n.length?n[0].readyState!==4?n.on("loadedmetadata",function(){t(n)}):t(n):(n=e.clone().addClass("fp-thumbnail").appendTo($("body")).css({position:"absolute",left:-9999}).on("loadedmetadata",function(){t(n)}),n[0].muted=!0,n[0].load())};t.on("slide",".fv-ab-loop",function(e,o,u){var f=t.data("flowplayer");duration=f.video.duration,o[0]=duration*o[0]/100,o[1]=duration*o[1]/100,i=o[0],s=o[1],o[0]=fv_player_pro_time_format(
10o[0]),o[1]=fv_player_pro_time_format(o[1]),n=o[0],r=o[1];var p=t.find("video"),d=t.find("canvas");if(!u&&p.length){clearInterval(a),d.show(),a=setTimeout(function(){d.hide()},1e3);var v=l>0?s:i;c||h(p,function(e){e[0].currentTime=v,e.one("seeked",function(){var t=d[0],n=t.getContext("2d");n.drawImage(e[0],0,0,$(t).width(),$(t).height())}),c=!0,setTimeout(function(){c=!1},200)})}}),e.bind("ready",function(e,o,a){o.fv_ab_loop=$(".fv-ab-loop div",t);if(o.fv_ab_loop.length)if(o.fv_ab_loop.val().length)o.fv_ab_loop.val([0,100]);else{o.fv_ab_loop.noUiSlider({start:[0,100],connect:!0,range:{min:0,max:100}}),d(t),t.on("mouseover",function(){d(t)});var f=Math.round(t.height()/4);t.append($("<canvas />").attr({height:f,width:f*a.width/a.height})),t.find(".noUi-handle").bind("mousedown",function(e){$(e.currentTarget).hasClass("noUi-handle-lower")?(l=-1,t.find("canvas").removeClass("location-upper")):$(e.currentTarget).hasClass("noUi-handle-upper")&&(l=1,t.find("canvas").addClass("location-upper"))})}u=a;var c=t.attr("id");fv_player_pro.start_end!=null&&typeof fv_player_pro.start_end[c]!="undefined"&&typeof fv_player_pro.start_end[c][a.index]!="undefined"?(n=fv_player_pro.start_end[c][a.index].start,r=fv_player_pro.start_end[c][a.index].end):(n=t.data("start"),r=t.data("end"));if(typeof n=="undefined"&&typeof r=="undefined")return;t.find(".fp-timeline-tooltip").hide(),i=fv_player_pro_time_seconds(n),s=fv_player_pro_time_seconds(r,u.duration),o.engine.engineName=="fvyoutube"?setTimeout(p,500):p();var h=t.find(".fp-duration");h.html(fv_player_pro_time_format(s-i))}).bind("progress",function(e,o,u){if(typeof n=="undefined"&&typeof r=="undefined")return;if(typeof o=="undefined")return;if(!o.fv_ab_loop.length){var a=t.find(".fp-elapsed"),f=t.find(".fp-remaining"),l=o.sliders.timeline,c=u-i;c=c<0?0:c;var h=s-i;l.slide(c/h,0),a.html(fv_player_pro_time_format(c)),f.html("-"+fv_player_pro_time_format(h-c))}typeof r!="undefined"&&u>s&&(!o.fv_ab_loop.length||u-1<s)&&(FV_Flowplayer_Pro.log("FV FP: End time: "+r+" ("+s+") vs. "+u+" => stop!"),o.fv_ab_loop.length?p():(o.pause(),o.trigger("finish",[o]),o.sliders.timeline.slide(1,0),a.html(fv_player_pro_time_format(c))))}).bind("buffer",function(e){return;var i,s}).bind("beforeseek",function(e,t,u){if(typeof t=="undefined"||t.fv_ab_loop.length)return;if(typeof u=="undefined"||o||typeof n=="undefined"&&typeof r=="undefined"){o&&(o=!1);return}e.preventDefault();var a=u-i,f=u/t.video.duration,l=+i+f*(s-i);FV_Flowplayer_Pro.log("FV Player Pro start/end time: Want to jump to "+u+" ("+f+") which is "+f*(s-i)+" ("+l+")"),o=!0,t.seek(l)}).bind("finish",function(e,t,i){if(typeof n=="undefined"&&typeof r=="undefined")return;t.trigger("progress"),t.one("resume",function(){p()})})}),jQuery(document).ready(function(){if(typeof flowplayer!="undefined")for(var e in fv_player_pro.chapters){if(!fv_player_pro.chapters.hasOwnProperty(e))continue;fv_player_pro_chapter(e)}}),jQuery(document).on("click",".fv_fp_chapter",function(e){e.preventDefault();var t=jQuery(this).parents(".fv_fp_chapters").attr("id").replace("fv_fp_chapters_","wpfp_"),n=jQuery("#"+t).data("flowplayer");if(typeof n=="object"){var r=jQuery(this).data("time");jQuery(this).parents(".fv_fp_chapters").find("a").removeClass("current"),jQuery(this).addClass("current"),n.playing?typeof n.video.duration!="undefined"&&n.video.duration&&n.video.duration<r?FV_Flowplayer_Pro.log("FV Player Chapters: Seek to "+r+" out of bounds!"):(FV_Flowplayer_Pro.log("FV Player Chapters: Seek to "+r),n.seek(r)):(FV_Flowplayer_Pro.log("FV Player Chapters: Play & Seek to "+r),n.load(),n.one("ready",function(e,t){typeof n.video.duration!="undefined"&&n.video.duration&&n.video.duration<r?FV_Flowplayer_Pro.log("FV Player Chapters: Seek to "+r+" out of bounds!"):t.seek(r,function(e,t){FV_Flowplayer_Pro.log("FV Player Chapters: Seek to "+r+" succ!"),t.resume()})}))}else FV_Flowplayer_Pro.log("FV Player Chapters: Seek to "+jQuery(this).data("time")+" Error: player not found!")}),typeof flowplayer!="undefined"&&flowplayer(function(e){e.bind("progress",function(e,t,n){var r=jQuery(e.currentTarget),i=r.data("chapters");if(typeof i=="undefined")return;var s=-1,o=jQuery("#"+jQuery(e.currentTarget).attr("id").replace("wpfp_","fv_fp_chapters_"));for(var u in i){if(!i.hasOwnProperty(u))continue;i[u].time<n&&(s=u)}s>-1&&(o.find("a").removeClass("current"),o.find("a").eq(s).addClass("current"))})}),!function(e){"use strict";function t(e,t){return Math.round(e/t)*t}function n(e){return"number"==typeof e&&!isNaN(e)&&isFinite(e)}function r(e){var t=Math.pow(10,7);return Number((Math.round(e*t)/t).toFixed(7))}function i(e,t,n){e.addClass(t),setTimeout(function(){e.removeClass(t)},n)}function s(e){return Math.max(Math.min(e,100),0)}function o(t){return e.isArray(t)?t:[t]}function u(e){var t=e.split(".");return t.length>1?t[1].length:0}function a(e,t){return 100/(t-e)}function f(e,t){return 100*t/(e[1]-e[0])}function l(e,t){return f(e,e[0]<0?t+Math.abs(e[0]):t-e[0])}function c(e,t){return t*(e[1]-e[0])/100+e[0]}function h(e,t){for(var n=1;e>=t[n];)n+=1;return n}function p(e,t,n){if(n>=e.slice(-1)[0])return 100;var r,i,s,o,u=h(n,e);return r=e[u-1],i=e[u],s=t[u-1],o=t[u],s+l([r,i],n)/a(s,o)}function d(e,t,n){if(n>=100)return e.slice(-1)[0];var r,i,s,o,u=h(n,t);return r=e[u-1],i=e[u],s=t[u-1],o=t[u],c([r,i],(n-s)*a(s,o))}function v(e,n,r,i){if(100===i)return i;var s,o,u=h(i,e);return r?(s=e[u-1],o=e[u],i-s>(o-s)/2?o:s):n[u-1]?e[u-1]+t(i-e[u-1],n[u-1]):i}function m(e,t,r){var i;if("number"==typeof t&&(t=[t]),"[object Array]"!==Object.prototype.toString.call(t))throw new Error("noUiSlider: 'range' contains invali
10d value.");if(i="min"===e?0:"max"===e?100:parseFloat(e),!n(i)||!n(t[0]))throw new Error("noUiSlider: 'range' value isn't numeric.");r.xPct.push(i),r.xVal.push(t[0]),i?r.xSteps.push(isNaN(t[1])?!1:t[1]):isNaN(t[1])||(r.xSteps[0]=t[1])}function g(e,t,n){return t?void (n.xSteps[e]=f([n.xVal[e],n.xVal[e+1]],t)/a(n.xPct[e],n.xPct[e+1])):!0}function y(e,t,n,r){this.xPct=[],this.xVal=[],this.xSteps=[r||!1],this.xNumSteps=[!1],this.snap=t,this.direction=n;var i,s=[];for(i in e)e.hasOwnProperty(i)&&s.push([e[i],i]);for(s.sort(function(e,t){return e[0]-t[0]}),i=0;i<s.length;i++)m(s[i][1],s[i][0],this);for(this.xNumSteps=this.xSteps.slice(0),i=0;i<this.xNumSteps.length;i++)g(i,this.xNumSteps[i],this)}function b(e,t){if(!n(t))throw new Error("noUiSlider: 'step' is not numeric.");e.singleStep=t}function w(t,n){if("object"!=typeof n||e.isArray(n))throw new Error("noUiSlider: 'range' is not an object.");if(void 0===n.min||void 0===n.max)throw new Error("noUiSlider: Missing 'min' or 'max' in 'range'.");t.spectrum=new y(n,t.snap,t.dir,t.singleStep)}function E(t,n){if(n=o(n),!e.isArray(n)||!n.length||n.length>2)throw new Error("noUiSlider: 'start' option is incorrect.");t.handles=n.length,t.start=n}function S(e,t){if(e.snap=t,"boolean"!=typeof t)throw new Error("noUiSlider: 'snap' option must be a boolean.")}function x(e,t){if(e.animate=t,"boolean"!=typeof t)throw new Error("noUiSlider: 'animate' option must be a boolean.")}function T(e,t){if("lower"===t&&1===e.handles)e.connect=1;else if("upper"===t&&1===e.handles)e.connect=2;else if(t===!0&&2===e.handles)e.connect=3;else{if(t!==!1)throw new Error("noUiSlider: 'connect' option doesn't match handle count.");e.connect=0}}function N(e,t){switch(t){case"horizontal":e.ort=0;break;case"vertical":e.ort=1;break;default:throw new Error("noUiSlider: 'orientation' option is invalid.")}}function C(e,t){if(!n(t))throw new Error("noUiSlider: 'margin' option must be numeric.");if(e.margin=e.spectrum.getMargin(t),!e.margin)throw new Error("noUiSlider: 'margin' option is only supported on linear sliders.")}function k(e,t){if(!n(t))throw new Error("noUiSlider: 'limit' option must be numeric.");if(e.limit=e.spectrum.getMargin(t),!e.limit)throw new Error("noUiSlider: 'limit' option is only supported on linear sliders.")}function L(e,t){switch(t){case"ltr":e.dir=0;break;case"rtl":e.dir=1,e.connect=[0,2,1,3][e.connect];break;default:throw new Error("noUiSlider: 'direction' option was not recognized.")}}function A(e,t){if("string"!=typeof t)throw new Error("noUiSlider: 'behaviour' must be a string containing options.");var n=t.indexOf("tap")>=0,r=t.indexOf("drag")>=0,i=t.indexOf("fixed")>=0,s=t.indexOf("snap")>=0;e.events={tap:n||s,drag:r,fixed:i,snap:s}}function O(e,t){if(e.format=t,"function"==typeof t.to&&"function"==typeof t.from)return!0;throw new Error("noUiSlider: 'format' requires 'to' and 'from' methods.")}function M(t){var n,r={margin:0,limit:0,animate:!0,format:$};return n={step:{r:!1,t:b},start:{r:!0,t:E},connect:{r:!0,t:T},direction:{r:!0,t:L},snap:{r:!1,t:S},animate:{r:!1,t:x},range:{r:!0,t:w},orientation:{r:!1,t:N},margin:{r:!1,t:C},limit:{r:!1,t:k},behaviour:{r:!0,t:A},format:{r:!1,t:O}},t=e.extend({connect:!1,direction:"ltr",behaviour:"tap",orientation:"horizontal"},t),e.each(n,function(e,n){if(void 0===t[e]){if(n.r)throw new Error("noUiSlider: '"+e+"' is required.");return!0}n.t(r,t[e])}),r.style=r.ort?"top":"left",r}function _(e,t,n){var r=e+t[0],i=e+t[1];return n?(0>r&&(i+=Math.abs(r)),i>100&&(r-=i-100),[s(r),s(i)]):[r,i]}function D(e){e.preventDefault();var t,n,r=0===e.type.indexOf("touch"),i=0===e.type.indexOf("mouse"),s=0===e.type.indexOf("pointer"),o=e;return 0===e.type.indexOf("MSPointer")&&(s=!0),e.originalEvent&&(e=e.originalEvent),r&&(t=e.changedTouches[0].pageX,n=e.changedTouches[0].pageY),(i||s)&&(s||void 0!==window.pageXOffset||(window.pageXOffset=document.documentElement.scrollLeft,window.pageYOffset=document.documentElement.scrollTop),t=e.clientX+window.pageXOffset,n=e.clientY+window.pageYOffset),o.points=[t,n],o.cursor=i,o}function P(t,n){var r=e("<div><div/></div>").addClass(V[2]),i=["-lower","-upper"];return t&&i.reverse(),r.children().addClass(V[3]+" "+V[3]+i[n]),r}function H(e,t,n){switch(e){case 1:t.addClass(V[7]),n[0].addClass(V[6]);break;case 3:n[1].addClass(V[6]);case 2:n[0].addClass(V[7]);case 0:t.addClass(V[6])}}function B(e,t,n){var r,i=[];for(r=0;e>r;r+=1)i.push(P(t,r).appendTo(n));return i}function j(t,n,r){return r.addClass([V[0],V[8+t],V[4+n]].join(" ")),e("<div/>").appendTo(r).addClass(V[1])}function F(t,n,r){function a(){return L[["width","height"][n.ort]]()}function f(e){var t,n=[O.val()];for(t=0;t<e.length;t+=1)O.trigger(e[t],n)}function l(e){return 1===e.length?e[0]:n.dir?e.reverse():e}function c(e){return function(t,n){O.val([e?null:n,e?n:null],!0)}}function h(t){var n=e.inArray(t,I);O[0].linkAPI&&O[0].linkAPI[t]&&O[0].linkAPI[t].change(F[n],A[n].children(),O)}function p(t,r){var i=e.inArray(t,I);return r&&r.appendTo(A[i].children()),n.dir&&n.handles>1&&(i=1===i?0:1),c(i)}function d(){var e,t;for(e=0;e<I.length;e+=1)this.linkAPI&&this.linkAPI[t=I[e]]&&this.linkAPI[t].reconfirm(t)}
10function v(e,t,r,i){return e=e.replace(/\s/g,W+" ")+W,t.on(e,function(e){return O.attr("disabled")?!1:O.hasClass(V[14])?!1:(e=D(e),e.calcPoint=e.points[n.ort],void r(e,i))})}function m(e,t){var n,r=t.handles||A,i=!1,s=100*(e.calcPoint-t.start)/a(),o=r[0][0]!==A[0][0]?1:0;n=_(s,t.positions,r.length>1),i=E(r[0],n[o],1===r.length),r.length>1&&(i=E(r[1],n[o?0:1],!1)||i),i&&f(["slide"])}function g(t){e("."+V[15]).removeClass(V[15]),t.cursor&&e("body").css("cursor","").off(W),U.off(W),O.removeClass(V[12]),f(["set","change"])}function y(t,n){1===n.handles.length&&n.handles[0].children().addClass(V[15]),t.stopPropagation(),v(X.move,U,m,{start:t.calcPoint,handles:n.handles,positions:[M[0],M[A.length-1]]}),v(X.end,U,g,null),t.cursor&&(e("body").css("cursor",e(t.target).css("cursor")),A.length>1&&O.addClass(V[12]),e("body").on("selectstart"+W,!1))}function b(t){var r,s=t.calcPoint,o=0;t.stopPropagation(),e.each(A,function(){o+=this.offset()[n.style]}),o=o/2>s||1===A.length?0:1,s-=L.offset()[n.style],r=100*s/a(),n.events.snap||i(O,V[14],300),E(A[o],r),f(["slide","set","change"]),n.events.snap&&y(t,{handles:[A[o]]})}function w(e){var t,n;if(!e.fixed)for(t=0;t<A.length;t+=1)v(X.start,A[t].children(),y,{handles:[A[t]]});e.tap&&v(X.start,L,b,{handles:A}),e.drag&&(n=L.find("."+V[7]).addClass(V[10]),e.fixed&&(n=n.add(L.children().not(n).children())),v(X.start,n,y,{handles:A}))}function E(e,t,r){var i=e[0]!==A[0][0]?1:0,o=M[0]+n.margin,u=M[1]-n.margin,a=M[0]+n.limit,f=M[1]-n.limit;return A.length>1&&(t=i?Math.max(t,o):Math.min(t,u)),r!==!1&&n.limit&&A.length>1&&(t=i?Math.min(t,a):Math.max(t,f)),t=P.getStep(t),t=s(parseFloat(t.toFixed(7))),t===M[i]?!1:(e.css(n.style,t+"%"),e.is(":first-child")&&e.toggleClass(V[17],t>50),M[i]=t,F[i]=P.fromStepping(t),h(I[i]),!0)}function S(e,t){var r,i,s;for(n.limit&&(e+=1),r=0;e>r;r+=1)i=r%2,s=t[i],null!==s&&s!==!1&&("number"==typeof s&&(s=String(s)),s=n.format.from(s),(s===!1||isNaN(s)||E(A[i],P.toStepping(s),r===3-n.dir)===!1)&&h(I[i]))}function x(e){if(O[0].LinkIsEmitting)return this;var t,r=o(e);return n.dir&&n.handles>1&&r.reverse(),n.animate&&-1!==M[0]&&i(O,V[14],300),t=A.length>1?3:1,1===r.length&&(t=1),S(t,r),f(["set"]),this}function T(){var e,t=[];for(e=0;e<n.handles;e+=1)t[e]=n.format.to(F[e]);return l(t)}function N(){return e(this).off(W).removeClass(V.join(" ")).empty(),delete this.LinkUpdate,delete this.LinkConfirm,delete this.LinkDefaultFormatter,delete this.LinkDefaultFlag,delete this.reappend,delete this.vGet,delete this.vSet,delete this.getCurrentStep,delete this.getInfo,delete this.destroy,r}function C(){var t=e.map(M,function(e,t){var n=P.getApplicableStep(e),r=u(String(n[2])),i=F[t],s=100===e?null:n[2],o=Number((i-n[2]).toFixed(r)),a=0===e?null:o>=n[1]?n[2]:n[0]||!1;return[[a,s]]});return l(t)}function k(){return r}var L,A,O=e(t),M=[-1,-1],P=n.spectrum,F=[],I=["lower","upper"].slice(0,n.handles);if(n.dir&&I.reverse(),t.LinkUpdate=h,t.LinkConfirm=p,t.LinkDefaultFormatter=n.format,t.LinkDefaultFlag="lower",t.reappend=d,O.hasClass(V[0]))throw new Error("Slider was already initialized.");L=j(n.dir,n.ort,O),A=B(n.handles,n.dir,L),H(n.connect,O,A),w(n.events),t.vSet=x,t.vGet=T,t.destroy=N,t.getCurrentStep=C,t.getOriginalOptions=k,t.getInfo=function(){return[P,n.style,n.ort]},O.val(n.start)}function I(e){var t=M(e,this);return this.each(function(){F(this,t,e)})}function q(t){return this.each(function(){if(!this.destroy)return void e(this).noUiSlider(t);var n=e(this).val(),r=this.destroy(),i=e.extend({},r,t);e(this).noUiSlider(i),this.reappend(),r.start===i.start&&e(this).val(n)})}function R(){return this[0][arguments.length?"vSet":"vGet"].apply(this[0],arguments)}var U=e(document),z=e.fn.val,W=".nui",X=window.navigator.pointerEnabled?{start:"pointerdown",move:"pointermove",end:"pointerup"}:window.navigator.msPointerEnabled?{start:"MSPointerDown",move:"MSPointerMove",end:"MSPointerUp"}:{start:"mousedown touchstart",move:"mousemove touchmove",end:"mouseup touchend"},V=["noUi-target","noUi-base","noUi-origin","noUi-handle","noUi-horizontal","noUi-vertical","noUi-background","noUi-connect","noUi-ltr","noUi-rtl","noUi-dragable","","noUi-state-drag","","noUi-state-tap","noUi-active","","noUi-stacking"];y.prototype.getMargin=function(e){return 2===this.xPct.length?f(this.xVal,e):!1},y.prototype.toStepping=function(e){return e=p(this.xVal,this.xPct,e),this.direction&&(e=100-e),e},y.prototype.fromStepping=function(e){return this.direction&&(e=100-e),r(d(this.xVal,this.xPct,e))},y.prototype.getStep=function(e){return this.direction&&(e=100-e),e=v(this.xPct,this.xSteps,this.snap,e),this.direction&&(e=100-e),e},y.prototype.getApplicableStep=function(e){var t=h(e,this.xPct),n=100===e?2:1;return[this.xNumSteps[t-2],this.xVal[t-n],this.xNumSteps[t-n]]}
10,y.prototype.convert=function(e){return this.getStep(this.toStepping(e))};var $={to:function(e){return e.toFixed(2)},from:Number};e.fn.val=function(t){function n(e){return e.hasClass(V[0])?R:z}if(!arguments.length){var r=e(this[0]);return n(r).call(r)}var i=e.isFunction(t);return this.each(function(r){var s=t,o=e(this);i&&(s=t.call(this,r,o.val())),n(o).call(o,s)})},e.fn.noUiSlider=function(e,t){switch(e){case"step":return this[0].getCurrentStep();case"options":return this[0].getOriginalOptions()}return(t?q:I).call(this,e)}}(window.jQuery||window.Zepto),function(e,t,n){function r(n,r,i){var s=t.createElement(n);return r&&(s.id=Z+r),i&&(s.style.cssText=i),e(s)}function i(){return n.innerHeight?n.innerHeight:e(n).height()}function s(t,n){n!==Object(n)&&(n={}),this.cache={},this.el=t,this.get=function(t){var r,i;return void 0!==this.cache[t]?i=this.cache[t]:(r=e(this.el).attr("data-cbox-"+t),void 0!==r?i=r:void 0!==n[t]?i=n[t]:void 0!==G[t]&&(i=G[t]),this.cache[t]=i),e.isFunction(i)?i.call(this.el):i}}function o(e){var t=C.length,n=(z+e)%t;return 0>n?t+n:n}function u(e,t){return Math.round((/%/.test(e)?("x"===t?k.width():i())/100:1)*parseInt(e,10))}function a(e,t){return e.get("photo")||e.get("photoRegex").test(t)}function f(e,t){return e.get("retinaUrl")&&n.devicePixelRatio>1?t.replace(e.get("photoRegex"),e.get("retinaSuffix")):t}function l(e){"contains"in b[0]&&!b[0].contains(e.target)&&(e.stopPropagation(),b.focus())}function c(e){c.str!==e&&(b.add(y).removeClass(c.str).addClass(e),c.str=e)}function h(){z=0,rel&&"nofollow"!==rel?(C=e("."+et).filter(function(){var t=e.data(this,Y),n=new s(this,t);return n.get("rel")===rel}),z=C.index(F.el),-1===z&&(C=C.add(F.el),z=C.length-1)):C=e(F.el)}function p(n){e(t).trigger(n),ut.triggerHandler(n)}function d(n){var i;$||(i=e(n).data("fv_player_pro_colorbox"),F=new s(n,i),rel=F.get("rel"),h(),X||(X=V=!0,c(F.get("className")),b.css({visibility:"hidden",display:"block"}),L=r(at,"LoadedContent","width:0; height:0; overflow:hidden; visibility:hidden"),E.css({width:"",height:""}).append(L),I=S.height()+N.height()+E.outerHeight(!0)-E.height(),q=x.width()+T.width()+E.outerWidth(!0)-E.width(),R=L.outerHeight(!0),U=L.outerWidth(!0),F.w=u(F.get("initialWidth"),"x"),F.h=u(F.get("initialHeight"),"y"),L.css({width:"",height:F.h}),K.position(),p(tt),F.get("onOpen"),j.add(M).hide(),b.focus(),F.get("trapFocus")&&t.addEventListener&&(t.addEventListener("focus",l,!0),ut.one(st,function(){t.removeEventListener("focus",l,!0)})),F.get("returnFocus")&&ut.one(st,function(){e(F.el).focus()})),y.css({opacity:parseFloat(F.get("opacity")),cursor:F.get("overlayClose")?"pointer":"auto",visibility:"visible"}).show(),F.get("closeButton")?B.html(F.get("close")).appendTo(E):B.appendTo("<div/>"),g())}function v(){!b&&t.body&&(Q=!1,k=e(n),b=r(at).attr({id:Y,"class":e.support.opacity===!1?Z+"IE":"",role:"dialog",tabindex:"-1"}).hide(),y=r(at,"Overlay").hide(),O=e([r(at,"LoadingOverlay")[0],r(at,"LoadingGraphic")[0]]),w=r(at,"Wrapper"),E=r(at,"Content").append(M=r(at,"Title"),_=r(at,"Current"),H=e('<button type="button"/>').attr({id:Z+"Previous"}),P=e('<button type="button"/>').attr({id:Z+"Next"}),D=r("button","Slideshow"),O),B=e('<button type="button"/>').attr({id:Z+"Close"}),w.append(r(at).append(r(at,"TopLeft"),S=r(at,"TopCenter"),r(at,"TopRight")),r(at,!1,"clear:left").append(x=r(at,"MiddleLeft"),E,T=r(at,"MiddleRight")),r(at,!1,"clear:left").append(r(at,"BottomLeft"),N=r(at,"BottomCenter"),r(at,"BottomRight"))).find("div div").css({"float":"left"}),A=r(at,!1,"position:absolute; width:9999px; visibility:hidden; display:none; max-width:none;"),j=P.add(H).add(_).add(D),e(t.body).append(y,b.append(w,A)))}function m(){function n(e){e.which>1||e.shiftKey||e.altKey||e.metaKey||e.ctrlKey||(e.preventDefault(),d(this))}return b?(Q||(Q=!0,P.click(function(){K.next()}),H.click(function(){K.prev()}),B.click(function(){K.close()}),y.click(function(){F.get("overlayClose")&&K.close()}),e(t).bind("keydown."+Z,function(e){var t=e.keyCode;X&&F.get("escKey")&&27===t&&(e.preventDefault(),K.close()),X&&F.get("arrowKey")&&C[1]&&!e.altKey&&
vendor: 7,954 bytes, line 10
10(37===t?(e.preventDefault(),H.click()):39===t&&(e.preventDefault(),P.click()))}),e.isFunction(e.fn.on)?e(t).on("click."+Z,"."+et,n):e("."+et).live("click."+Z,n)),!0):!1}function g(){var i,s,o,l=K.prep,c=++ft;V=!0,W=!1,p(ot),p(nt),F.get("onLoad"),F.h=F.get("height")?u(F.get("height"),"y")-R-I:F.get("innerHeight")&&u(F.get("innerHeight"),"y"),F.w=F.get("width")?u(F.get("width"),"x")-U-q:F.get("innerWidth")&&u(F.get("innerWidth"),"x"),F.mw=F.w,F.mh=F.h,F.get("maxWidth")&&(F.mw=u(F.get("maxWidth"),"x")-U-q,F.mw=F.w&&F.w<F.mw?F.w:F.mw),F.get("maxHeight")&&(F.mh=u(F.get("maxHeight"),"y")-R-I,F.mh=F.h&&F.h<F.mh?F.h:F.mh),i=F.get("href"),J=setTimeout(function(){O.show()},100),F.get("inline")?(o=r(at).hide().insertBefore(e(i)[0]),ut.one(ot,function(){o.replaceWith(L.children())}),l(e(i))):F.get("iframe")?l(" "):F.get("html")?l(F.get("html")):a(F,i)?(i=f(F,i),W=t.createElement("img"),e(W).addClass(Z+"Photo").bind("error",function(){l(r(at,"Error").html(F.get("imgError")))}).one("load",function(){var t;c===ft&&(e.each(["alt","longdesc","aria-describedby"],function(t,n){var r=e(F.el).attr(n)||e(F.el).attr("data-"+n);r&&W.setAttribute(n,r)}),F.get("retinaImage")&&n.devicePixelRatio>1&&(W.height=W.height/n.devicePixelRatio,W.width=W.width/n.devicePixelRatio),F.get("scalePhotos")&&(s=function(){W.height-=W.height*t,W.width-=W.width*t},F.mw&&W.width>F.mw&&(t=(W.width-F.mw)/W.width,s()),F.mh&&W.height>F.mh&&(t=(W.height-F.mh)/W.height,s())),F.h&&(W.style.marginTop=Math.max(F.mh-W.height,0)/2+"px"),C[1]&&(F.get("loop")||C[z+1])&&(W.style.cursor="pointer",W.onclick=function(){K.next()}),W.style.width=W.width+"px",W.style.height=W.height+"px",setTimeout(function(){l(W)},1))}),setTimeout(function(){W.src=i},1)):i&&A.load(i,F.get("data"),function(t,n){c===ft&&l("error"===n?r(at,"Error").html(F.get("xhrError")):e(this).contents())})}var y,b,w,E,S,x,T,N,C,k,L,A,O,M,_,D,P,H,B,j,F,I,q,R,U,z,W,X,V,$,J,K,Q,G={html:!1,photo:!1,iframe:!1,inline:!1,transition:"elastic",speed:300,fadeOut:300,width:!1,initialWidth:"600",innerWidth:!1,maxWidth:!1,height:!1,initialHeight:"450",innerHeight:!1,maxHeight:!1,scalePhotos:!0,scrolling:!0,opacity:.9,preloading:!0,className:!1,overlayClose:!0,escKey:!0,arrowKey:!0,top:!1,bottom:!1,left:!1,right:!1,fixed:!1,data:void 0,closeButton:!0,fastIframe:!0,open:!1,reposition:!0,loop:!0,slideshow:!1,slideshowAuto:!0,slideshowSpeed:2500,slideshowStart:"start slideshow",slideshowStop:"stop slideshow",photoRegex:/\.(gif|png|jp(e|g|eg)|bmp|ico|webp|jxr)((#|\?).*)?$/i,retinaImage:!1,retinaUrl:!1,retinaSuffix:"@2x.$1",current:"image {current} of {total}",previous:"previous",next:"next",close:"close",xhrError:"This content failed to load.",imgError:"This image failed to load.",returnFocus:!0,trapFocus:!0,onOpen:!1,onLoad:!1,onComplete:!1,onCleanup:!1,onClosed:!1,rel:function(){return this.rel},href:function(){return e(this).attr("href")},title:function(){return this.title}},Y="fv_player_pro_colorbox",Z="fv_player_pro_box",et=Z+"Element",tt=Z+"_open",nt=Z+"_load",rt=Z+"_complete",it=Z+"_cleanup",st=Z+"_closed",ot=Z+"_purge",ut=e("<a/>"),at="div",ft=0,lt={},ct=function(){function e(){clearTimeout(o)}function t(){(F.get("loop")||C[z+1])&&(e(),o=setTimeout(K.next,F.get("slideshowSpeed")))}function n(){D.html(F.get("slideshowStop")).unbind(a).one(a,r),ut.bind(rt,t).bind(nt,e),b.removeClass(u+"off").addClass(u+"on")}function r(){e(),ut.unbind(rt,t).unbind(nt,e),D.html(F.get("slideshowStart")).unbind(a).one(a,function(){K.next(),n()}),b.removeClass(u+"on").addClass(u+"off")}function i(){s=!1,D.hide(),e(),ut.unbind(rt,t).unbind(nt,e),b.removeClass(u+"off "+u+"on")}var s,o,u=Z+"Slideshow_",a="click."+Z;return function(){s?F.get("slideshow")||(ut.unbind(it,i),i()):F.get("slideshow")&&C[1]&&(s=!0,ut.one(it,i),F.get("slideshowAuto")?n():r(),D.show())}}();e.fv_player_pro_colorbox||(e(v),K=e.fn[Y]=e[Y]=function(t,n){var r,i=this;return i[0]?(v(),m()&&(t=t||{},n&&(t.onComplete=n),e.isFunction(i)&&(t.open=!0),i.each(function(){var n=e.data(this,Y)||{};e.data(this,Y,e.extend(n,t))}).addClass(et),r=new s(i[0],t),r.get("open")&&d(i[0])),i):i},K.position=function(t,n){function r(){S[0].style.width=N[0].style.width=E[0].style.width=parseInt(b[0].style.width,10)-q+"px",E[0].style.height=x[0].style.height=T[0].style.height=parseInt(b[0].style.height,10)-I+"px"}var s,o,a,f=0,l=0,c=b.offset();if(k.unbind("resize."+Z),b.css({top:-9e4,left:-9e4}),o=k.scrollTop(),a=k.scrollLeft(),F.get("fixed")?(c.top-=o,c.left-=a,b.css({position:"fixed"})):(f=o,l=a,b.css({position:"absolute"})),l+=F.get("right")!==!1?Math.max(k.width()-F.w-U-q-u(F.get("right"),"x"),0):F.get("left")!==!1?u(F.get("left"),"x"):Math.round(Math.max(k.width()-F.w-U-q,0)/2),f+=F.get("bottom")!==!1?Math.max(i()-F.h-R-I-u(F.get("bottom"),"y"),0):F.get("top")!==!1?u(F.get("top"),"y"):Math.round(Math.max(i()-F.h-R-I,0)/2),b.css({top:c.top,left:c.left,visibility:"visible"}),w[0].style.width=w[0].style.height="9999px",s={width:F.w+U+q,height:F.h+R+I,top:f,left:l},t){var h=0;e.each(s,function(e){return s[e]!==lt[e]?(h=t,void 0):void 0}),t=h}lt=s,t||b.css(s),b.dequeue().animate(s,{duration:t||0,complete:function(){r(),V=!1,w[0].style.width=F.w+U+q+"px",w[0].style.height=F.h+R+I+"px",F.get("reposition")&&setTimeout(function(){k.bind("resize."+Z,K.position)},1),n&&n()},step:r})},K.resize=function(e){var t;X&&(e=e||{},e.width&&(F.w=u(e.width,"x")-U-q),e.innerWidth&&(F.w=u(e.innerWidth,"x")),L.css({width:F.w}),e.height&&(F.h=u(e.height,"y")-R-I),e.innerHeight&&(F.h=u(e.innerHeight,"y")),e.innerHeight||e.height||(t=L.scrollTop(),L.css({height:"auto"}),F.h=L.height()),L.css({height:F.h}),t&&L.scrollTop(t),K.position("none"===F.get("transition")?0:F.get("speed")))},K.prep=function(n){function i(){return F.w=F.w||L.width(),F.w=F.mw&&F.mw<F.w?F.mw:F.w,F.w}function u(){return F.h=F.h||L.height(),F.h=F.mh&&F.mh<F.h?F.mh:F.h,F.h}if(X){var l,h="none"===F.get("transition")?0:F.get("speed");L.remove(),L=r(at,"LoadedContent").append(n),L.hide().appendTo(A.show()).css({width:i(),overflow:F.get("scrolling")?"auto":"hidden"}).css({height:u()}).prependTo(E),A.hide(),e(W).css({"float":"none"}),c(F.get("className")),l=function(){function n(){e.support.opacity===!1&&b[0].style.removeAttribute("filter")}var r,i,u=C.length;X&&(i=function(){clearTimeout(J),O.hide(),p(rt),F.get("onComplete")},M.html(F.get("title")).show(),L.show(),u>1?("string"==typeof F.get("current")&&_.html(F.get("current").replace("{current}",z+1).replace("{total}",u)).show(),P[F.get("loop")||u-1>z?"show":"hide"]().html(F.get("next")),H[F.get("loop")||z?"show":"hide"]().html(F.get("previous")),ct(),F.get("preloading")&&e.each([o(-1),o(1)],function(){var n,r=C[this],i=new s(r,e.data(r,Y)),o=i.get("href");o&&a(i,o)&&(o=f(i,o),n=t.createElement("img"),n.src=o)})):j.hide(),F.get("iframe")?(r=t.createElement("iframe"),"frameBorder"in r&&(r.frameBorder=0),"allowTransparency"in r&&(r.allowTransparency="true"),F.get("scrolling")||(r.scrolling="no"),e(r).attr({src:F.get("href"),name:(new Date).getTime(),"class":Z+"Iframe",allowFullScreen:!0}).one("load",i).appendTo(L),ut.one(ot,function(){r.src="//about:blank"}),F.get("fastIframe")&&e(r).trigger("load")):i(),"fade"===F.get("transition")?b.fadeTo(h,1,n):n())},"fade"===F.get("transition")?b.fadeTo(h,0,function(){K.position(0,l)}):K.position(h,l)}},K.next=function(){!V&&C[1]&&(F.get("loop")||C[z+1])&&(z=o(1),d(C[z]))},K.prev=function(){!V&&C[1]&&(F.get("loop")||z)&&(z=o(-1),d(C[z]))},K.close=function(){X&&!$&&($=!0,X=!1,p(it),F.get("onCleanup"),k.unbind("."+Z),y.fadeTo(F.get("fadeOut")||0,0),b.stop().fadeTo(F.get("fadeOut")||0,0,function(){b.add(y).css({opacity:1,cursor:"auto"}).hide(),p(ot),L.remove(),setTimeout(function(){$=!1,p(st),F.get("onClosed")},1)}))},K.remove=function(){b&&(b.stop(),e.fv_player_pro_colorbox.close(),b.stop().remove(),y.remove(),$=!1,b=null,e("."+et).removeData(Y).removeClass(et),e(t).unbind("click."+Z))},K.element=function(){return e(F.el)},K.settings=G)}(jQuery,document,window);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.