function _typeof(e){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}if("undefined"!=typeof fv_flowplayer_conf){var FVAbrController,parseIOSVersion=function(e){e=/iP(ad|hone)(; CPU)? OS (\d+_\d)/.exec(e);return e&&1<e.length?parseFloat(e[e.length-1].replace("_","."),10):0};try{"object"==_typeof(window.localStorage)&&void 0!==window.localStorage.volume&&delete fv_flowplayer_conf.volume}catch(e){}flowplayer.conf=fv_flowplayer_conf,flowplayer.conf.fullscreen=!1,flowplayer.conf.chromecast=!1,flowplayer.conf.embed=!1,flowplayer.conf.share=!1,flowplayer.conf.analytics=!1,void 0!==fv_flowplayer_conf.disable_localstorage&&(flowplayer.conf.storage={});try{flowplayer.conf.key=atob(flowplayer.conf.key)}catch(e){}!flowplayer.support.android&&flowplayer.conf.dacast_hlsjs&&((FVAbrController=function(e){this.hls=e,this.nextAutoLevel=3}).prototype.nextAutoLevel=function(e){this.nextAutoLevel=e},FVAbrController.prototype.destroy=function(){},flowplayer.conf.hlsjs={startLevel:-1,abrController:FVAbrController}),flowplayer.support.iOS&&flowplayer.support.iOS.chrome&&0==flowplayer.support.iOS.version&&(flowplayer.support.iOS.version=parseIOSVersion(navigator.userAgent)),(flowplayer.support.iOS&&13<=parseInt(flowplayer.support.iOS.version)||!flowplayer.support.iOS&&flowplayer.support.browser.safari&&8<=parseInt(flowplayer.support.browser.version))&&(flowplayer.conf.hlsjs.safari=!0,flowplayer.support.browser.safari)&&16.5<=parseFloat(flowplayer.support.browser.version)&&(flowplayer.conf.hlsjs.safari=!1),flowplayer.support.fvmobile=!(flowplayer.support.firstframe&&!flowplayer.support.iOS&&!flowplayer.support.android);var fls=flowplayer.support;flowplayer.conf.mobile_native_fullscreen&&"ontouchstart"in window&&fls.fvmobile&&(flowplayer.conf.native_fullscreen=!0),"ontouchstart"in window&&(fls.android&&fls.android.version<4.4&&!(fls.browser.chrome&&54<fls.browser.version)&&(flowplayer.conf.native_fullscreen=!0),fls.iOS)&&(fv_player_in_iframe()||fls.iOS.version<7)&&(flowplayer.conf.native_fullscreen=!0)}"undefined"!=typeof fv_flowplayer_translations&&(flowplayer.defaults.errors=fv_flowplayer_translations);var fv_player_did_autoplay=!1;function fv_player_videos_parse(e,o){try{var a=JSON.parse(e)}catch(e){return!1}var n;flowplayer.support.browser.safari&&(n=[],jQuery(a.sources).each(function(e,t){"video/webm"!=t.type&&n.push(t)}),0<n.length)&&(a.sources=n);var r,e=new RegExp("[\\?&]fv_flowplayer_mobile=([^&#]*)").exec(location.search);return!(null!=e&&"yes"==e[1]||jQuery(window).width()<=480||jQuery(window).height()<=480)||null!=e&&"no"==e[1]||(r=!1,jQuery(a.sources).each(function(e,t){if(!t)return!1;t.mobile&&(a.sources[e]=a.sources[0],a.sources[0]=t,r=!0),r&&jQuery(o).after('<p class="fv-flowplayer-mobile-switch">'+fv_flowplayer_translations.mobile_browser_detected_1+' <a href="'+document.URL+'?fv_flowplayer_mobile=no">'+fv_flowplayer_translations.mobile_browser_detected_2+"</a>.</p>")})),o.trigger("fv_player_videos_parse",a),a}function fv_player_in_iframe(){try{return window.self!==window.top}catch(e){return!0}}function fv_escape_attr(e){var t={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#039;"};return e.replace(/[&<>"']/g,function(e){return t[e]})}function fv_player_preload(){function e(){jQuery(".flowplayer.fp-is-embed").each(function(){var e=jQuery(this);e.hasClass("has-chapters")||e.hasClass("has-transcript")||0!=jQuery(".fp-playlist-external[rel="+e.attr("id")+"]").length||e.height(jQuery(window).height())})}if(flowplayer.support.touch&&jQuery(".fp-playlist-external.fv-playlist-design-2017").addClass("visible-captions"),flowplayer(function(n,r){localStorage.flowplayerTestStorage&&delete localStorage.flowplayerTestStorage;var e,t,o,i=(r=jQuery(r)).find(".fp-player"),l=!1,a=(r.hasClass("fixed-controls")&&r.find(".fp-controls").on("click",function(e){n.loading||n.ready||(e.preventDefault(),e.stopPropagation(),n.load())}),0==r.data("volume")&&r.hasClass("no-controlbar")&&r.find(".fp-volume").remove(),jQuery(".fp-playlist-external[rel="+r.attr("id")+"]")),s=((!n.conf.playlist||0==n.conf.playlist.length)&&a.length&&0<a.find("a[data-item]").length?(t=[],a.find("a[data-item]").each(function(){(e=fv_player_videos_parse(jQuery(this).attr("data-item"),r))?t.push(e):jQuery(this).remove()}),n.conf.playlist=t,n.conf.clip=t[0]):n.conf.clip||(n.conf.clip=fv_player_videos_parse(jQuery(r).attr("data-item"),r)),jQuery("a",a).on("click",function(e){e.preventDefault(),l=!0;var e=jQuery(this),t=jQuery(".fp-playlist-external[rel="+r.attr("id")+"]"),t=jQuery("a",t).index(this),o=e.prev("a"),a=e.data("item");if(location.href.match(/wp-admin/)&&0<e.parents(".fv-player-editor-preview").length)return fv_flowplayer_conf.current_video_to_edit=t,e.parents(".fv-player-custom-video").find(".edit-video .fv-player-editor-button").trigger("click"),!1;if(o.length&&e.is(":visible")&&!o.is(":visible"))return o.trigger("click"),!1;if(!jQuery("#"+e.parent().attr("rel")).hasClass("dynamic-playlist")){if(fv_player_playlist_active(jQuery(".fp-playlist-external[rel="+r.attr("id")+"]"),this),n){if(n.error&&(n.pause(),n.error=n.loading=!1,r.removeClass("is-error"),r.find(".fp-message.fp-shown").remove()),!n.video||n.video.index==t)return;n.play(t)}o=(o=a.splash)||e.find("img").attr("src");d(r,i,a,o),r[0].getBoundingClientRect().bottom-100<0&&jQuery("html, body").animate({scrollTop:jQuery(r).offset().top-100},300)}}),jQuery("[rel="+r.attr("id")+"]")),f=!1,c=r.find(".fp-splash"),p=r.find(".fv-fp-splash-text");function d(e,t,o,a){e=e.find("img.fp-splash");a?(0==e.length&&(e=jQuery('<img class="fp-splash" />'),t.prepend(e)),e.attr("alt",o.fv_title?fv_escape_attr(o.fv_title):"video"),e.attr("src",a)):e.length&&e.remove()}n.bind("load",function(e,t,o){var a;t.conf.playlist.length&&(o.type.match(/^audio/)&&!l&&(a=(a=(o=(t=s.find("a").eq(o.index)).data("item")).splash)||t.find("img").attr("src"),d(r,i,o,a)),l=!1)}),n.bind("ready",function(e,t,o){setTimeout(function(){var e;-1<o.index&&0<s.length&&(e=jQuery("a",s).eq(o.index),fv_player_playlist_active(s,e),f=e.find(".fvp-progress"))},100),c=r.find(".fp-splash"),o.is_audio_stream||o.type.match(/^audio/)||(window.fv_player_pro&&window.fv_player_pro.autoplay_scroll||r.data("fvautoplay")||"application/x-mpegurl"==t.video.type?t.one("progress",function(){c.remove(),p.remove()}):(c.remove(),p.remove()))}),n.bind("unload",function(){jQuery(".fp-playlist-external .now-playing").remove(),jQuery(".fp-playlist-external a").removeClass("is-active");var e=i.find("iframe.fp-engine");e.length?(e.after(p),e.after(c)):(i.prepend(p),i.prepend(c)),f=!1}),n.bind("progress",function(e,t,o){f.length&&t.playlist_thumbnail_progress(f,t.video,o)}),n.bind("error-subtitles",function(){console.log("error-subtitles"),fv_player_notice(r,fv_flowplayer_translations[8],2e3)}),(a=jQuery(r).parent().find("div.fp-playlist-vertical[rel="+jQuery(r).attr("id")+"]")).length&&((o=function(){var e=a.hasClass("fp-playlist-only-captions")?"height":"max-height";a.parents(".fp-playlist-text-wrapper").hasClass("is-fv-narrow")&&(e="max-height"),a.css(e,function(){var e=r.height();0==e&&(e=r.css("max-height"));return e}()),"max-height"==e&&a.css("height","auto")})(),jQuery(window).on("resize tabsactivate",function(){setTimeout(o,0)})),n.show_status=function(e){var o="";["loading","ready","playing","paused","seeking"].every(function(e,t){return n[e]&&(o+=" "+e),!0}),console.log("FV Player Status ("+e+")",o)},window.fv_player_loaded||(window.fv_player_loaded=!0,setTimeout(function(){jQuery(document).trigger("fv_player_loaded");var e=new CustomEvent("fv_player_loaded",[]);document.dispatchEvent(e)},100)),setTimeout(function(){r.trigger("fv_player_loaded")},10),r.data("error")&&(n.message(r.data("error")),r.find(".fp-controls").remove(),r.find(".fp-header").css("opacity",1).show(),n.conf.clip={sources:[{src:!1,type:"video/mp4"}]},n.on("load",function(e){e.preventDefault(),e.stopPropagation()}))}),window.self==window.top||location.href.match(/fv_player_preview/)||(e(),jQuery(window.self).resize(e)),"undefined"!=typeof fv_flowplayer_playlists)for(var t in fv_flowplayer_playlists)fv_flowplayer_playlists.hasOwnProperty(t)&&jQuery("#"+t).flowplayer({playlist:fv_flowplayer_playlists[t]});fv_player_load(),fv_autoplay_exec(),jQuery(document).ajaxComplete(function(){fv_player_load()}),jQuery(window).on("hashchange",fv_autoplay_exec)}function fv_player_load(i){i&&1<i.lenght&&console.log("FV Player: Can't use fv_player_load with more than a single forced element!");var l=!1;if((i||jQuery(".flowplayer")).each(function(e,t){var o=jQuery(t),t=o.data("flowplayer");if(t)i&&(l=t);else{i&&(o.find(".fp-preload, .fvfp_admin_error").remove(),o.attr("data-item-lazy")?(o.attr("data-item",o.attr("data-item-lazy")),o.removeAttr("item-lazy")):(a=jQuery("[rel="+o.attr("id")+"]"))&&a.find("a[data-item-lazy]").each(function(e,t){(t=jQuery(t)).attr("data-item",t.attr("data-item-lazy")),t.removeAttr("data-item-lazy")}));var a,n,t=!1;if(o.attr("data-item"))t={clip:fv_player_videos_parse(o.attr("data-item"),o)};else if(a=jQuery("[rel="+o.attr("id")+"]")){if(0==a.find("a[data-item]").length)return;var r=[];a.find("a[data-item]").each(function(){(n=fv_player_videos_parse(jQuery(this).attr("data-item"),o))?r.push(n):jQuery(this).remove()}),t={playlist:r}}t&&(t=flowplayer.extend(t,o.data()),l=flowplayer(o[0],t),o.data("flowplayer",l))}}),jQuery(".fv-playlist-slider-wrapper").each(function(){var e=jQuery(this).find("a");jQuery(this).find(".fp-playlist-external").css("width",e.outerWidth()*e.length)}),void 0!==jQuery().tabs&&(jQuery("body").removeClass("fv_flowplayer_tabs_hide"),jQuery(".fv_flowplayer_tabs_content").tabs()),i&&l)return l}function fv_player_playlist_active(e,t){e&&(jQuery("a",e).removeClass("is-active"),jQuery(".now-playing").remove());var o,e=jQuery(e),t=jQuery(t),a=!1,n=(t.addClass("is-active"),e.hasClass("fv-playlist-design-2014"));(n&&0==t.find("h4").length||!n)&&0==t.find(".now-playing").length&&t.prepend('<strong class="now-playing"><span>'+fv_flowplayer_translations.playlist_current+"</span></strong>"),e.parent().find(".flowplayer").length||(a=!0),(e.hasClass("fp-playlist-vertical")||e.hasClass("fp-playlist-horizontal")&&e.hasClass("is-audio"))&&!function(e){var t=e.getBoundingClientRect(),o=t.top,a=t.height,n=o+a,e=e.parentNode;do{if(t=e.getBoundingClientRect(),n<=t.bottom==!1)return;if(o<=t.top)return}while(e=e.parentNode,e!=document.body);return n<=document.documentElement.clientHeight}(t.get(0))?(o=a?e.parent():e).animate({scrollTop:o.scrollTop()+(t.position().top-o.position().top)},750):e.hasClass("fp-playlist-horizontal")&&!function(e){var t=e.getBoundingClientRect(),o=t.left,a=t.width,n=o+a,e=e.parentNode;do{if(t=e.getBoundingClientRect(),n<=t.right==!1)return;if(o<=t.left)return}while(e=e.parentNode,e!=document.body);return n<=document.documentElement.clientWidth}(t.get(0))&&(o=a?e.parent():e).animate({scrollLeft:o.scrollLeft()+(t.position().left-o.position().left)},750)}function fv_parse_sharelink(e){var t,o="fvp_";return(e=e.replace("https?://[^./].","")).match(/(youtube.com)/)?o+e.match(/(?:v=)([A-Za-z0-9_-]*)/)[1]:e.match(/(vimeo.com)|(youtu.be)/)?o+e.match(/(?:\/)([^/]*$)/)[1]:(t=e.match(/(?:\/)([^/]*$)/))?o+t[1].match(/^[^.]*/)[0]:o+e}function fv_player_get_video_link_hash(e){var t=fv_parse_sharelink((void 0!==e.video.sources_original&&void 0!==e.video.sources_original[0]?e.video.sources_original:e.video.sources)[0].src);return t=void 0!==e.video.id?fv_parse_sharelink(e.video.id.toString()):t}function fv_player_time_hms(e){var t,o,a;return isNaN(e)?NaN:(t=parseInt(e,10),o=Math.floor(t/3600),a=Math.floor(t/60)%60,e=t%60,o?o+="h":o="",o&&a<10?a="0"+a+"m":a?a+="m":a="",(o||a)&&e<10&&(e="0"+e),o+a+(e+="s"))}function fv_player_time_hms_ms(e){var t;return isNaN(e)?NaN:(t=void 0!==(t=((e=parseFloat(e).toFixed(3))+"").split("."))[1]&&0<t[1]?t[1]+"ms":"",fv_player_time_hms(e)+t)}function fv_player_time_seconds(e,t){var o;return e?(o=0,e.match(/(\d+[a-z]{1,2})/g).forEach(function(e){e.endsWith("h")?o+=3600*parseInt(e):e.endsWith("m")?o+=60*parseInt(e):e.endsWith("s")&&!e.endsWith("ms")?o+=parseInt(e):e.endsWith("ms")&&parseInt(e)&&(o+=parseInt(e)/1e3)}),t?Math.min(o,t):o):-1}function fv_autoplay_init(e,o,t,a,n){var r,i,l;!fv_autoplay_exec_in_progress&&(fv_autoplay_exec_in_progress=!0,r=e.data("flowplayer"))&&(i=fv_player_time_seconds(t),n=fv_player_time_seconds(n),a=fv_player_time_seconds(a),e.parent().hasClass("ui-tabs-panel")&&(t=e.parent().attr("id"),jQuery("[aria-controls="+t+"] a").trigger("click")),e.find(".fp-player").attr("class").match(/\bis-sticky/)||(l=jQuery(e).offset().top-(jQuery(window).height()-jQuery(e).height())/2,window.scrollTo(0,l),r.one("ready",function(){window.scrollTo(0,l)})),e.hasClass("lightboxed")&&setTimeout(function(){jQuery("[href=\\#"+e.attr("id")+"]").trigger("click")},0),o?fv_player_video_link_autoplay_can(r,parseInt(o))?r.ready?fv_player_video_link_seek(r,i,n,a):(r.play(parseInt(o)),r.one("ready",function(){fv_player_video_link_seek(r,i,n,a)})):flowplayer.support.inlineVideo&&(r.one("progress",function(e,t){t.play(parseInt(o)),t.one("ready",function(){fv_player_video_link_seek(t,i,n,a)})}),e.find(".fp-splash").attr("src",jQuery("[rel="+e.attr("id")+"] div").eq(o).find("img").attr("src")),fv_player_in_iframe()||fv_player_notice(e,fv_flowplayer_translations[11],"progress")):r.ready?fv_player_video_link_seek(r,i,n,a):(fv_player_video_link_autoplay_can(r)?r.load():fv_player_in_iframe()||fv_player_notice(e,fv_flowplayer_translations[11],"progress"),r.one("ready",function(){fv_player_video_link_seek(r,i,n,a)})))}function fv_player_video_link_seek(e,t,o,a){fv_autoplay_exec_in_progress=!1;var n=setInterval(function(){e.loading||((0<t||0<e.video.time)&&(e.custom_seek?e.custom_seek(t):e.seek(t)),o&&a&&e.trigger("link-ab",[e,a,o]),clearInterval(n))},10)}jQuery(document).ready(function(){var e=0,t=setInterval(function(){++e<1e3&&(window.fv_video_intelligence_conf&&!window.FV_Player_IMA||window.fv_vast_conf&&!window.FV_Player_IMA||window.fv_player_pro&&!window.FV_Flowplayer_Pro&&document.getElementById("fv_player_pro")!=fv_player_pro||window.fv_player_user_playlists&&!window.fv_player_user_playlists.is_loaded||window.FV_Player_JS_Loader_scripts_total&&window.FV_Player_JS_Loader_scripts_loaded<window.FV_Player_JS_Loader_scripts_total)||(clearInterval(t),fv_player_preload())},10)});var fv_autoplay_exec_in_progress=!1;function fv_autoplay_exec(){var e,i,l,s,f,c=!0;"undefined"!=typeof flowplayer&&"undefined"!=typeof fv_flowplayer_conf&&fv_flowplayer_conf.video_hash_links&&window.location.hash.substring(1).length&&(e=window.location.hash.match(/\?t=/)?window.location.hash.substring(1).split("?t="):window.location.hash.substring(1).split(","),i=e[0],l=void 0!==e[1]&&e[1],s=void 0!==e[2]&&e[2],f=void 0!==e[3]&&e[3],jQuery(".flowplayer").each(function(){var e=jQuery(this),t=(e=e.hasClass("lightbox-starter")?jQuery(e.attr("href")):e).data("flowplayer");if(t){var o,a=void 0!==t.conf.playlist&&1<t.conf.playlist.length?t.conf.playlist:[t.conf.clip];for(o in a)if(a.hasOwnProperty(o)){var n=void 0!==a[o].id&&fv_parse_sharelink(a[o].id.toString());if(i===n&&c)return 0<t.conf.playlist.length?t.conf.playlist[o].prevent_position_restore=!0:t.conf.clip.prevent_position_restore=!0,console.log("fv_autoplay_exec for "+n,o),fv_autoplay_init(e,parseInt(o),l,s,f),c=!1}for(o in a)if(a.hasOwnProperty(o)){var r=fv_parse_sharelink(a[o].sources[0].src);if(i===r&&c)return 0<t.conf.playlist.length?t.conf.playlist[o].prevent_position_restore=!0:t.conf.clip.prevent_position_restore=!0,console.log("fv_autoplay_exec for "+r,o),fv_autoplay_init(e,parseInt(o),l,s,f),c=!1}}})),c&&flowplayer.support.firstframe&&jQuery(".flowplayer[data-fvautoplay]").each(function(){var e,t,o=jQuery(this),a=o.data("flowplayer"),n=o.attr("data-fvautoplay");!fv_player_did_autoplay&&n&&-1!=n&&((flowplayer.support.android||flowplayer.support.iOS)&&a&&"video/youtube"==a.conf.clip.sources[0].type?console.log("FV Player: Autoplay for YouTube not supported on Android and iOS"):(fv_player_did_autoplay=!0,a.conf.playlist.length&&!isNaN(parseFloat(n))&&isFinite(n)?a.play(parseInt(n)):a.load(),e=o.find(".fp-play").addClass("invisible"),t=o.find(".fp-controls").addClass("invisible"),a.one("progress",function(){e.removeClass("invisible"),t.removeClass("invisible")}),"muted"==n&&a.mute(!0,!0)))})}function fv_player_video_link_autoplay_can(e,t){return!("video/youtube"==(t?e.conf.playlist[t]:e.conf.clip).sources[0].type&&(flowplayer.support.iOS||flowplayer.support.android)||fv_player_in_iframe())&&flowplayer.support.firstframe}function fv_player_notice(e,t,o){var a=jQuery(".fvfp-notices",e),n=(a.length||(a=jQuery('<div class="fvfp-notices">'),jQuery(".fp-player",e).append(a)),jQuery('<div class="fvfp-notice-content">'+t+"</div></div>"));return a.append(n),"string"==typeof o&&jQuery(e).data("flowplayer").on(o,function(){n.fadeOut(100,function(){jQuery(this).remove()})}),0<o&&setTimeout(function(){n.fadeOut(2e3,function(){jQuery(this).remove()})},o),n}var fv_player_clipboard=function(e,t,o){if(navigator.clipboard&&"function"==typeof navigator.clipboard.writeText)navigator.clipboard.writeText(e).then(function(){t()},function(){o()});else try{(fv_player_doCopy(e)?t:o)()}catch(e){void 0!==o&&o(e)}};function fv_player_doCopy(e){var t,o,a,n=document.createElement("textarea"),e=(n.value=e,n.style.opacity=0,n.style.position="absolute",n.setAttribute("readonly",!0),document.body.appendChild(n),0<document.getSelection().rangeCount&&document.getSelection().getRangeAt(0));navigator.userAgent.match(/ipad|ipod|iphone/i)?(t=n.contentEditable,n.contentEditable=!0,(o=document.createRange()).selectNodeContents(n),(a=window.getSelection()).removeAllRanges(),a.addRange(o),n.setSelectionRange(0,999999),n.contentEditable=t):n.select();try{var r=document.execCommand("copy");return e&&(document.getSelection().removeAllRanges(),document.getSelection().addRange(e)),document.body.removeChild(n),r}catch(e){throw new Error("Unsuccessfull")}}function fv_player_log(e,t){fv_flowplayer_conf.debug&&"undefined"!=typeof console&&"function"==typeof console.log&&(t?console.log(e,t):console.log(e)),fv_flowplayer_conf.debug&&void 0!==window.location.search&&window.location.search.match(/fvfp/)&&jQuery("body").prepend(e+"<br />")}function _typeof(e){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function is_ga_4(e){return!(void 0===e.conf.fvanalytics||!e.conf.fvanalytics||!e.conf.fvanalytics.startsWith("G-"))}function fv_player_track(e,t,o,a,n,r){if("object"!=_typeof(e)&&(r=n,n=a,a=o,o=t,t=e,e=!1),t=t||flowplayer.conf.fvanalytics,void 0===a&&(a="Unknown engine"),/fv_player_track_debug/.test(window.location.href)&&console.log("FV Player Track: "+o+" - "+a+" '"+n+"'",r),"undefined"!=typeof gtag)is_ga_4(e)?gtag("event",o,{video_title:n,video_current_time:e.video.time,video_provider:a,video_duration:e.video.duration,value:r||1}):gtag("event",o,{event_category:a,event_label:n,value:r||1});else if(t&&"undefined"!=typeof ga)ga("create",t,"auto",n,{allowLinker:!0}),ga("require","linker"),r?ga("send","event",o,a,n,r):ga("send","event",o,a,n);else if(t&&"undefined"!=typeof _gat){e=_gat._getTracker(t);if(void 0===e._setAllowLinker)return;e._setAllowLinker(!0),r?e._trackEvent(o,a,n,r):e._trackEvent(o,a,n)}flowplayer.conf.matomo_domain&&flowplayer.conf.matomo_site_id&&"undefined"!=typeof _paq&&(r?_paq.push(["trackEvent",o,a,n,r]):_paq.push(["trackEvent",o,a,n]))}function fv_player_track_name(e,t){e=e.attr("title");return(e=(e=e||void 0===t.fv_title?e:t.fv_title)||void 0===t.title?e:t.title)||void 0===t.src||(e=t.src.split("/").slice(-1)[0].replace(/\.(\w{3,4})(\?.*)?$/i,""),t.type.match(/mpegurl/)&&(e=t.src.split("/").slice(-2)[0].replace(/\.(\w{3,4})(\?.*)?$/i,"")+"/"+e)),e}flowplayer(function(o,r){var n,t,i,a,l;function e(){var e;"dash"==o.engine.engineName?((e=i[o.engine.dash.getQualityFor("video")]).qualityIndex!=a&&(a=e.qualityIndex,s(e.qualityIndex,i)),t.match(/dash_debug/)&&f(e.width,e.height,e.bitrate)):"hlsjs-lite"==o.engine.engineName&&(n.currentLevel!=a&&(a=n.currentLevel,s(n.currentLevel,n.levels)),t.match(/hls_debug/))&&(e=n.levels[n.currentLevel])&&f(e.width,e.height,e.bitrate)}function s(e,t){var o,a,n;t[e]&&(o=t[e].height,a=541,n=1e5,jQuery(t).each(function(e,t){720<=t.height&&t.height<1400&&(a=720),t.height<n&&(n=t.height),localStorage.FVPlayerHLSQuality==t.height&&(r.find("a[data-quality]").removeClass("fp-selected fp-color"),r.find("a[data-quality="+e+"]").addClass("fp-selected fp-color"))}),r.find("a[data-quality]").removeClass("is-current"),r.find("a[data-quality="+e+"]").addClass("is-current"),t=1400<=o?"4K":a<=o?"HD":360<=o&&n<o?"SD":"SD",r.find(".fp-qsel").html(t))}function f(e,t,o){l.html("Using "+e+"x"+t+" at "+Math.round(o/1024)+" kbps")}function c(){var o=r.find(".fp-qsel-menu");o.children().each(function(e,t){o.prepend(t)}),o.children().each(function(e,t){var o;/^NaNp/.test(jQuery(t).html())?(o=jQuery(t).html().match(/\((.*?)\)/))&&void 0!==o[1]&&jQuery(t).html(o[1]):jQuery(t).html(jQuery(t).html().replace(/\(.*?\)/,""))}),o.prepend(o.find("a[data-quality=-1]")),o.prepend(o.find("strong"))}r=jQuery(r),void 0===o.conf.disable_localstorage&&(flowplayer.engine("hlsjs-lite").plugin(function(e){(n=e.hls).on(Hls.Events.ERROR,function(e,t){"mediaError"==t.type&&"fragParsingError"==t.details&&1==t.fatal&&(n.destroy(),o.trigger("error",[o,{code:3}]),setTimeout(function(){r.removeClass("is-seeking"),r.addClass("is-paused")},0))}),flowplayer.support.browser.safari&&n.on(Hls.Events.KEY_LOADED,function(e){"hlsKeyLoaded"==e&&setTimeout(function(){o.loading&&(console.log("FV Player: Safari stuck loading HLS, resuming playback..."),o.resume())},0)});var a=!(!flowplayer.conf.hd_streaming||flowplayer.support.fvmobile)&&720;localStorage.FVPlayerHLSQuality&&(a=localStorage.FVPlayerHLSQuality),(a=0==jQuery(e.root).data("hd_streaming")?!1:a)&&n.on(Hls.Events.MANIFEST_PARSED,function(e,t){var o=!1;jQuery.each(t.levels,function(e,t){t.height==a&&(o=e)}),localStorage.FVPlayerHLSQuality||o||jQuery.each(t.levels,function(e,t){t.height>o&&(o=e)}),o&&(console.log("FV Player: Picked "+t.levels[o].height+"p quality"),n.startLevel=o,n.currentLevel=o)})}),r=jQuery(r),t=document.location.search,localStorage.FVPlayerDashQuality&&(o.conf.dash||(o.conf.dash={}),o.conf.dash.initialVideoQuality="restore"),r.on("click",".fp-qsel-menu a",function(){var e;"hlsjs-lite"==o.engine.engineName&&(-1==(e=jQuery(this).data("quality"))?localStorage.removeItem("FVPlayerHLSQuality"):(e=n.levels[e],localStorage.FVPlayerHLSQuality=e.height))}),0!=r.data("hd_streaming")&&(localStorage.FVPlayerHLSQuality?(o.conf.hlsjs.startLevel=parseInt(localStorage.FVPlayerHLSQuality),o.conf.hlsjs.testBandwidth=!1,o.conf.hlsjs.autoLevelEnabled=!1):flowplayer.conf.hd_streaming&&!flowplayer.support.fvmobile&&(o.conf.hlsjs.startLevel=3,o.conf.hlsjs.testBandwidth=!1,o.conf.hlsjs.autoLevelEnabled=!1)),o.bind("quality",function(e,t,o){"dash"==t.engine.engineName&&(-1==o?localStorage.removeItem("FVPlayerDashQuality"):i[o]&&(localStorage.FVPlayerDashQuality=i[o].height))}),i=[],a=-1,o.bind("ready",function(e,t){var a;r.find(".fp-qsel-menu strong").text(fv_flowplayer_translations.quality),"dash"==t.engine.engineName?(i=t.engine.dash.getBitrateInfoListFor("video"),localStorage.FVPlayerDashQuality&&t.conf.dash.initialVideoQuality&&t.quality(t.conf.dash.initialVideoQuality),c()):"hlsjs-lite"==t.engine.engineName?(r.addClass("is-loading"),t.loading=!0,t.one("progress",function(){t.loading&&(r.removeClass("is-loading"),t.loading=!1)}),t.video.qualities&&2<t.video.qualities.length&&(a=-1,0!=r.data("hd_streaming")&&(localStorage.FVPlayerHLSQuality?jQuery(t.video.qualities).each(function(e,t){if(t.value==localStorage.FVPlayerHLSQuality)return a=localStorage.FVPlayerHLSQuality,!1}):flowplayer.conf.hd_streaming&&!flowplayer.support.fvmobile&&jQuery(t.video.qualities).each(function(e,t){var o=parseInt(t.label);0<o&&-1==a&&720<=o&&o<=720&&(a=t.value)}),-1<(a=parseInt(a)))&&r.one("progress",function(){setTimeout(function(){t.quality(a)})}),c())):t.video.sources_fvqs&&0<t.video.sources_fvqs.length&&t.video.src.match(/vimeo.*?\.mp4/)&&setTimeout(c,0),r.find("a[data-quality]").removeClass("is-current")}),(t.match(/dash_debug/)||t.match(/hls_debug/))&&(l=jQuery('<div class="fv-debug" style="background: gray; color: white; top: 10%; position: absolute; z-index: 1000">').appendTo(r.find(".fp-player"))),o.bind("ready progress",e),o.bind("quality",function(){setTimeout(e,0)}))}),flowplayer(function(a,n){var r=(n=jQuery(n)).attr("id"),i=!1;function l(){var t,o,e=n.attr("data-ad");if(void 0!==e&&e.length){try{e=JSON.parse(e)}catch(e){return}!i&&!n.hasClass("is-cva")&&n.width()>=parseInt(e.width)&&(e=(e=e.html).replace("%random%",Math.random()),i=jQuery('<div id="'+r+'_ad" class="wpfp_custom_ad">'+e+"</div>"),n.find(".fp-player").append(i),t=0,o=setInterval(function(){var e=i&&i.find(".adsbygoogle").height();(200<++t||0<e)&&clearInterval(o),e>n.height()&&i.addClass("tall-ad")},50),setTimeout(function(){n.find(".wpfp_custom_ad video").length&&a.pause()},500))}}function o(e){var t=n.attr("data-popup");if(void 0!==t&&t.length){try{t=JSON.parse(t)}catch(e){return}("finish"==e||t.pause||t.html.match(/fv-player-ppv-purchase-btn-wrapper/))&&0==n.find(".wpfp_custom_popup").length&&(n.addClass("is-popup-showing"),n.find(".fp-player").append('<div id="'+r+'_custom_popup" class="wpfp_custom_popup">'+t.html+"</div>"))}}n.data("end_popup_preview")&&jQuery(document).ready(function(){a.trigger("finish",[a])}),a.bind("ready",function(e,t){1==i.length&&(i.remove(),i=!1),n.data("ad_show_after")||l()}).bind("progress",function(e,t,o){o>n.data("ad_show_after")&&l()}).bind("finish",function(e,t){void 0!==t.video.index&&t.video.index+1!=t.conf.playlist.length||o(e.type)}).bind("pause",function(e,t){o(e.type)}).bind("resume unload seek",function(e,t){n.hasClass("is-popup-showing")&&(n.find(".wpfp_custom_popup").remove(),n.removeClass("is-popup-showing"))})}),jQuery(document).on("click",".fv_fp_close",function(){var e=jQuery(this).parents(".wpfp_custom_ad_content"),t=e.find("video");return e.fadeOut(),t.length&&t[0].pause(),!1}),jQuery(document).on("focus",".fv_player_popup input[type=text], .fv_player_popup input[type=email], .fv_player_popup textarea",function(){var e=jQuery(this).parents(".flowplayer").data("flowplayer");e&&e.disable(!0)}),jQuery(document).on("blur",".fv_player_popup input[type=text], .fv_player_popup input[type=email], .fv_player_popup textarea",function(){var e=jQuery(this).parents(".flowplayer").data("flowplayer");e&&e.disable(!1)}),flowplayer(function(a,s){var n,r,e,t,o,s=jQuery(s),i=flowplayer.bean,l=0,f=0,c=("undefined"==typeof ga&&a.conf.fvanalytics&&"undefined"==typeof _gat&&"undefined"==typeof gtag&&(is_ga_4(a)?jQuery.getScript({url:"https://www.googletagmanager.com/gtag/js?id="+a.conf.fvanalytics,cache:!0},function(){window.dataLayer=window.dataLayer||[],window.gtag=function(){window.dataLayer.push(arguments)},window.gtag("js",new Date),window.gtag("config",a.conf.fvanalytics)}):jQuery.getScript({url:"https://www.google-analytics.com/analytics.js",cache:!0},function(){ga("create",a.conf.fvanalytics,"auto")})),!window._paq&&a.conf.matomo_domain&&a.conf.matomo_site_id&&(e="//"+a.conf.matomo_domain+"/",(o=window._paq=window._paq||[]).push(["setTrackerUrl",e+"matomo.php"]),o.push(["setSiteId",a.conf.matomo_site_id]),t=(o=document).createElement("script"),o=o.getElementsByTagName("script")[0],t.type="text/javascript",t.async=!0,t.src=e+"matomo.js",o.parentNode.insertBefore(t,o)),a.bind("progress",function(e,t,o){var a=t.video,n=a.duration,r=0,i=fv_player_track_name(s,a);if(n&&(19*n/20<o?r=4:3*n/4<o?r=3:n/2<o?r=2:n/4<o&&(r=1)),t.live&&(r=0),!s.data("fv_track_"+c[r])){for(var l in c)if(c.hasOwnProperty(l)){if(l==r)break;if(!s.data("fv_track_"+c[l]))return}s.trigger("fv_track_"+c[r].replace(/ /,"_"),[t,i]),s.data("fv_track_"+c[r],!0),fv_player_track(t,!1,"Video "+(s.hasClass("is-cva")?"Ad ":"")+c[r],t.engine.engineName+"/"+a.type,i)}}).bind("finish ready ",function(e,t){for(var o in c)c.hasOwnProperty(o)&&s.removeData("fv_track_"+c[o])}).bind("error",function(e,t,o){setTimeout(function(){var e;t.error&&((e=void 0!==t.video&&void 0!==t.video.src&&t.video)||void 0===t.conf.clip||void 0===t.conf.clip.sources||void 0===t.conf.clip.sources[0]||void 0===t.conf.clip.sources[0].src||(e=t.conf.clip.sources[0]),!(e=fv_player_track_name(s,e))||e.match(/\/\/vimeo.com\/\d/)||is_ga_4(t)||fv_player_track(t,!1,"Video "+(s.hasClass("is-cva")?"Ad ":"")+"error",o.message,e))},100)}),a.bind("load unload",p).bind("progress",function(e,t){t.seeking||(l+=f?+new Date-f:0,f=+new Date),n=n||setTimeout(function(){n=null,is_ga_4(t)||fv_player_track(t,!1,"Flowplayer heartbeat",t.engine.engineName+"/"+t.video.type,"Heartbeat",0)},6e5)}).bind("pause",function(){f=0}),a.bind("shutdown",function(){i.off(window,"unload",p)}),i.on(window,"unload",p),is_ga_4(a)?["Play","25 Percent Played","50  Percent Played","75 Percent Played","100 Percent Played"]:["start","first quartile","second quartile","third quartile","complete"]);function p(e,t,o){o=o||a.video,"load"===e.type&&(r=fv_player_track_name(s,o)),l&&(fv_player_track(a,!1,"Video / Seconds played",a.engine.engineName+"/"+a.video.type,r,Math.round(l/1e3)),l=0,n)&&(clearTimeout(n),n=null)}a.get_time_played=function(){return l/1e3}}),flowplayer(function(a,n){var r=(n=jQuery(n)).find(".fp-player"),i=n.hasClass("no-volume"),l=n.hasClass("fp-mute"),s=n.hasClass("fp-full"),f=0;function t(){var e=r.width()||n.width(),t=a.video.index||0,o=(900<e?jQuery(".fp-subtitle",n).addClass("is-wide"):jQuery(".fp-subtitle",n).removeClass("is-wide"),n.toggleClass("is-tiny",e<400),n.toggleClass("is-small",e<600&&400<=e),e<480+35*f),t=(void 0!==a.fv_timeline_chapters_data&&void 0!==a.fv_timeline_chapters_data[t]&&(o=!0),s||n.toggleClass("fp-full",n.hasClass("has-abloop")||o),""),o=(e<400?t="is-tiny":e<600&&400<=e&&(t="is-small"),n.trigger("fv-player-size",[t]),r);(o=n.parent().hasClass("fp-playlist-vertical-wrapper")||n.parent().hasClass("fp-playlist-text-wrapper")?n.parent():o).width()<=560?o.addClass("is-fv-narrow"):o.removeClass("is-fv-narrow"),e<=320?n.addClass("no-volume fp-mute"):(!i&&flowplayer.support.volume&&n.removeClass("no-volume"),!l&&flowplayer.support.volume&&n.removeClass("fp-mute"))}t(),jQuery(window).on("resize",t),"fonts"in document&&a.one("load",function(){document.fonts.load("1em flowplayer")}),a.on("ready fullscreen fullscreen-exit sticky sticky-exit",function(e){setTimeout(function(){f=n.find(".fp-controls > strong:visible").length+n.find(".fp-controls > .fp-icon:visible").length,t()},0)}),a.on("unload pause finish error",function(){"undefined"!=typeof checker&&clearInterval(checker)})}),jQuery(window).on("resize tabsactivate",function(){jQuery(".fp-playlist-external").each(function(){var e=jQuery(this);900<=e.parent().width()?e.addClass("is-wide"):e.removeClass("is-wide")})}).trigger("resize"),flowplayer(function(e,a){a=jQuery(a),e.bind("ready",function(){/Chrome/.test(navigator.userAgent)&&54<parseFloat(/Chrome\/(\d\d)/.exec(navigator.userAgent)[1],10)&&(e.video.subtitles?jQuery(a).addClass("chrome55fix-subtitles"):jQuery(a).addClass("chrome55fix"))});var t=a.css("background-image");if(t){if(!(t=t.replace(/url\((['"])?(.*?)\1\)/gi,"$2").split(","))||!t[0].match(/^(https?:)?\/\//))return;var o=new Image,t=(o.src=t[0],o.height/o.width),o=a.height()/a.width();Math.abs(o-t)<.05&&a.css("background-size","cover")}var n=!1;jQuery(e.conf.playlist).each(function(e,t){t.sources[0].type.match(/youtube/)&&(n=!0)}),n&&a.addClass("is-youtube"),e.bind("ready",function(e,t,o){"video/youtube"==o.type?a.addClass("is-youtube"):a.removeClass("is-youtube")})}),function(e){e(window).on("resize",function(){e("iframe[id][src][height][width]").each(function(){e(this).attr("id").match(/fv_vimeo_/)&&e(this).width()<=e(this).attr("width")&&e(this).height(e(this).width()*e(this).attr("height")/e(this).attr("width"))}),jQuery(".wistia_embed").each(function(){e(this).height(e(this).width()*e(this).data("ratio"))})}).trigger("resize")}(jQuery),jQuery(document).on("tabsactivate",".fv_flowplayer_tabs_content",function(e,t){var o=jQuery(t.oldPanel).find(".flowplayer").data("flowplayer");void 0!==o&&o.pause(),jQuery(".flowplayer",t.newPanel).data("flowplayer").load()}),flowplayer(function(t,a){a=jQuery(a);var e=flowplayer.bean;a.hasClass("is-audio")&&(e.off(a[0],"mouseenter"),e.off(a[0],"mouseleave"),a.removeClass("is-mouseout"),a.addClass("fixed-controls").addClass("is-mouseover"),t.on("error",function(e,t,o){jQuery(".fp-message",a).html(jQuery(".fp-message",a).html().replace(/video/,"audio"))}),a.on("click",function(e){t.ready||(e.preventDefault(),e.stopPropagation(),t.load())}))}),flowplayer(function(f,c){var t,r,o,i,e,l,n;function a(){}function s(e){console.log("FV Player: Chromecast listener",e),e===chrome.cast.ReceiverAvailability.AVAILABLE&&(flowplayer.conf.chromecast_available=!0)}function p(){}function d(){console.log("chromecast onError")}function u(){clearInterval(o),o=null,f.release(),l.toggleClass(c,"is-chromecast",!1),l.toggleClass(i,"fp-active",!1)}function y(){var e=!1,t=f.video.sources_fvqs||f.video.sources;for(a in t){var o=t[a].type;if("video/mp4"==o||"video/fv-mp4"==o||"application/dash+xml"==o&&!t[a].src.match(/.json/)){e=t[a];break}}if(!e)for(var a in t)if("application/x-mpegurl"==t[a].type){e=t[a];break}if(f.video.fvhkey&&!f.conf.hls_cast)return!1;if(e){var n,r=!1,i=["fullhd","hd","md","sd"];for(n in i){var l=new RegExp("-"+i[n]);for(a in f.video.sources_fvqs){var s=f.video.sources_fvqs[a];if(s.src.match(l)&&"video/mp4"==s.type){r=s;break}}if(r){e=r;break}}}return e}function v(){var a,e=y();e&&(a=[],f.video.subtitles&&f.video.subtitles.forEach(function(e,t){e.src.match(/\.srt/)&&console.log("FV Player: Chromecast doesn't support SRT subtitles");var o=new chrome.cast.media.Track(t,chrome.cast.media.TrackType.TEXT);o.trackContentId=e.src,o.trackContentType="text/vtt",o.subtype=chrome.cast.media.TextTrackType.SUBTITLES,o.name=e.label,o.language=e.srclang+"-"+t,o.customData=null,a.push(o)}),(e=new chrome.cast.media.MediaInfo(e.src,e.type)).tracks=a,e=new chrome.cast.media.LoadRequest(e),f.live||(e.currentTime=f.video.time),clearInterval(o),o=!1,r.loadMedia(e,_,function(e){console.log("onMediaError",e)}))}function _(a){m(a),a.addUpdateListener(function(e){r&&(o=o||setInterval(function(){f.trigger("progress",[f,a.getEstimatedTime()]),a.activeTrackIds.forEach(function(o){jQuery.each(a.media.tracks,function(e,t){if(t.trackId==o&&"AUDIO"==t.type)return h("data-audio",t.language)||h("data-lang",t.language),!1})})},500),e&&(l.toggleClass(c,"is-chromecast",!0),l.toggleClass(i,"fp-active",!0),f.hijack({pause:function(){console.log("hijacked pause!"),a.pause()},resume:function(){f.finished?(clearInterval(o),o=null,f.release(),v()):a.play()},seek:function(e){var t=new chrome.cast.media.SeekRequest;t.currentTime=e,a.seek(t)}})),e=a.playerState,f.paused&&e===chrome.cast.media.PlayerState.PLAYING&&f.trigger("resume",[f]),f.playing&&e===chrome.cast.media.PlayerState.PAUSED&&f.trigger("pause",[f]),f.seeking&&e===chrome.cast.media.PlayerState.BUFFERING&&(n=!0),f.seeking&&e===chrome.cast.media.PlayerState.PLAYING&&n&&(n=!1,f.trigger("seek",[f])),e==chrome.cast.media.PlayerState.IDLE&&a.idleReason==chrome.cast.media.IdleReason.FINISHED&&f.trigger("finish",[f]),l.toggleClass(c,"is-loading",e===chrome.cast.media.PlayerState.BUFFERING))})}function h(o,a){var e=jQuery(c).find(".fv-fp-hls-menu a"),n=!1;return e.each(function(e,t){jQuery(t).attr(o)===a?(jQuery(t).addClass("fp-selected"),n=!0):jQuery(t).removeClass("fp-selected")}),n}function m(e){console.log(e.media.tracks);var o=jQuery(c).find(".fv-fp-hls-menu [data-audio].fp-selected").data("audio"),a=jQuery(c).find(".fv-fp-hls-menu [data-audio].fp-selected").data("lang"),n=jQuery(c).find(".fp-subtitle-menu [data-subtitle-index].fp-selected").data("subtitle-index"),r=-1<n&&f.video.subtitles[n].srclang,i=!1,l=!1,t=[],s=(jQuery.each(e.media.tracks,function(e,t){t.language==o&&"AUDIO"==t.type&&(i=t),t.language==r+"-"+n&&"TEXT"==t.type&&(l=t)}),i||jQuery.each(e.media.tracks,function(e,t){if(t.language==a&&"AUDIO"==t.type)return i=t,!1}),"");i&&(t.push(i.trackId),s+=i.language+" audio"),l&&(t.push(l.trackId),s&&(s+=" "),s+=l.language+" subtitles"),t&&(t=new chrome.cast.media.EditTracksInfoRequest(t),e.editTracksInfo(t,function(){console.log("FV Player: Chromecast "+s+" loaded")},function(){console.log("FV Player: Chromecast "+s+" failed")}))}f.conf.fv_chromecast&&(window.__onGCastApiAvailable||(jQuery.getScript({url:"https://www.gstatic.com/cv/js/sender/v1/cast_sender.js",cache:!0}),window.__onGCastApiAvailable=function(e){e&&(e=t.applicationId||chrome.cast.media.DEFAULT_MEDIA_RECEIVER_APP_ID,e=new chrome.cast.SessionRequest(e),e=new chrome.cast.ApiConfig(e,a,s),chrome.cast.initialize(e,p,d))}),t=f.conf.fv_chromecast||{},e=flowplayer.bean,l=flowplayer.common,n=!1,f.bind("ready",function(e,t,o){var a,n;r?y()?(t.one("progress",function(e,t){t.release(),t.pause(),t.mute(!1,!0),v()}),t.mute(!0,!0)):(r.stop(),r=null,u(),jQuery(i).hide()):flowplayer.conf.chromecast_available&&(y()?((t=l.find(".fp-header",c)[0])&&(l.find(".fp-chromecast",t).forEach(l.removeNode),l.find(".fp-chromecast-engine",c).forEach(l.removeNode),i=l.createElement("a",{class:"fp-chromecast fp-icon",title:"Play on Cast device"}),t.appendChild(i),t=l.createElement("div",{class:"fp-chromecast-engine"}),a=l.createElement("p",{class:"fp-chromecast-engine-status"}),n=l.createElement("p",{class:"fp-chromecast-engine-icon"}),t.appendChild(n),t.appendChild(a),(n=l.find(".fp-engine",c)[0])?n.parentNode.insertBefore(t,n):l.prepend(l.find(".fp-player",c)[0]||c,t)),jQuery(i).show()):(fv_player_log("FV Player: Can't find media source suitable for Chromecast!"),jQuery(i).hide()))}),e.on(c,"click",".fp-chromecast",function(e){var t;e.preventDefault(),r?(f.trigger("pause",[f]),r.media[0].media&&(t=r.media[0].getEstimatedTime(),setTimeout(function(){f.seek(t)},0)),r.stop(),r=null,u()):(f.playing&&f.pause(),chrome.cast.requestSession(function(e){jQuery(c).addClass("is-loading");e=(r=e).receiver.friendlyName;l.html(l.find(".fp-chromecast-engine-status",c)[0],"Playing on device "+e),v()},function(e){console.error("requestSession error",e)}))}),e.on(c,"click",".fv-fp-hls-menu [data-audio], .fp-subtitle-menu [data-subtitle-index]",function(){if(r&&r.media[0].media)return m(r.media[0]),!1}),jQuery(window).on("unload",function(){r&&r.stop()}))}),jQuery(document).on("mfpClose",function(){void 0!==jQuery(".flowplayer").data("flowplayer")&&jQuery(".flowplayer").data("flowplayer").unload()}),jQuery(document).on("click",".vc_tta-tab a",function(){var e=jQuery(".flowplayer.is-playing").data("flowplayer");e&&e.pause()}),flowplayer(function(e,t){t=jQuery(t),e.bind("ready",function(){setTimeout(function(){var e=jQuery("video",t);0<e.length&&e.prop("autoplay",!1)},100),t.find("video.fp-engine").addClass("intrinsic-ignore")})}),jQuery(".flowplayer").on("ready",function(e,t){/BB10/.test(navigator.userAgent)&&t.fullscreen()});var fv_flowplayer_safety_resize_arr=Array();function fv_flowplayer_safety_resize(){var t=!1;jQuery(".flowplayer").each(function(){if(jQuery(this).is(":visible")&&!jQuery(this).hasClass("lightboxed")&&!jQuery(this).hasClass("lightbox-starter")&&!jQuery(this).hasClass("is-audio")&&(jQuery(this).width()<30||jQuery(this).height()<20)){t=!0;for(var e=jQuery(this);(jQuery(e).width()<30||jQuery(e).width()==jQuery(this).width())&&0!=jQuery(e).parent().length;)(e=jQuery(e).parent()).hasClass("ld-video")&&(""==e[0].style.height&&e.css("height","auto"),0<parseInt(e.css("padding-bottom")))&&e.css("padding-bottom","0");jQuery(this).width(jQuery(e).width()),jQuery(this).height(parseInt(jQuery(this).width()*jQuery(this).attr("data-ratio"))),fv_flowplayer_safety_resize_arr[jQuery(this).attr("id")]=e}}),t&&jQuery(window).resize(function(){jQuery(".flowplayer").each(function(){jQuery(this).hasClass("lightboxed")||jQuery(this).hasClass("lightbox-starter")||fv_flowplayer_safety_resize_arr[jQuery(this).attr("id")]&&(jQuery(this).width(fv_flowplayer_safety_resize_arr[jQuery(this).attr("id")].width()),jQuery(this).height(parseInt(jQuery(this).width()*jQuery(this).attr("data-ratio"))))})})}void 0!==flowplayer.conf.safety_resize&&flowplayer.conf.safety_resize&&jQuery(document).ready(function(){setTimeout(function(){fv_flowplayer_safety_resize()},10)});var fv_player_warning,isIE11=!!navigator.userAgent.match(/Trident.*rv[ :]*11\./);function _typeof(e){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function fv_flowplayer_mobile_switch(e){var t,o=new RegExp("[\\?&]fv_flowplayer_mobile=([^&#]*)").exec(location.search);!(null!=o&&"yes"==o[1]||jQuery(window).width()<=480||jQuery(window).height()<=480)||null!=o&&"no"==o[1]||(t=!1,jQuery("#wpfp_"+e+" video source").each(function(){jQuery(this).attr("id")!="wpfp_"+e+"_mobile"&&(t=!0,jQuery(this).remove())}),t&&jQuery("#wpfp_"+e).after('<p class="fv-flowplayer-mobile-switch">'+fv_flowplayer_translations.mobile_browser_detected_1+' <a href="'+document.URL+'?fv_flowplayer_mobile=no">'+fv_flowplayer_translations.mobile_browser_detected_2+"</a>.</p>"))}if(isIE11&&(jQuery(document).ready(function(){jQuery(".fp-waiting").hide()}),flowplayer(function(e,t){e.bind("load",function(e){jQuery(e.currentTarget).find(".fp-waiting").show()}).bind("beforeseek",function(e){jQuery(e.currentTarget).find(".fp-waiting").show()}).bind("progress",function(e){jQuery(e.currentTarget).find(".fp-waiting").hide()}).bind("seek",function(e){jQuery(e.currentTarget).find(".fp-waiting").hide()}).bind("fullscreen",function(e){jQuery("#wpadminbar").hide()}).bind("fullscreen-exit",function(e){jQuery("#wpadminbar").show()})})),flowplayer.support.browser&&flowplayer.support.browser.msie&&parseInt(flowplayer.support.browser.version,10)<9&&jQuery(".flowplayer").each(function(){jQuery(this).css("width",jQuery(this).css("max-width")),jQuery(this).css("height",jQuery(this).css("max-height"))}),location.href.match(/elementor-preview=/)?(console.log("FV Player: Elementor editor is active"),setInterval(fv_player_load,1e3)):location.href.match(/brizy-edit-iframe/)&&(console.log("FV Player: Brizy editor is active"),setInterval(fv_player_load,1e3)),window.DELEGATE_NAMES&&flowplayer(function(e,t){fv_player_notice(t,fv_flowplayer_translations.chrome_extension_disable_html5_autoplay)}),flowplayer(function(e,t){flowplayer.bean.off(t,"contextmenu")}),location.href.match(/elementor-preview=/)&&(console.log("FV Player: Elementor editor is active"),setInterval(fv_player_load,1e3)),flowplayer(function(o,a){void 0!==(a=jQuery(a)).data("fv-embed")&&a.data("fv-embed")&&"false"!=a.data("fv-embed")&&(o.embedCode=function(){o.video;var e=a.width(),t=a.height();return t+=2,(a.hasClass("has-chapters")||a.hasClass("has-transcript"))&&(t+=300),0<jQuery(".fp-playlist-external[rel="+a.attr("id")+"]").length&&(t+=170),'<iframe src="'+(a.data("fv-embed")+"#"+fv_player_get_video_link_hash(o))+'" allowfullscreen  width="'+e+'" height="'+t+'" frameborder="0" style="max-width:100%"></iframe>'})}),jQuery(document).on("click",".flowplayer .embed-code-toggle",function(){var e,t,o=jQuery(this).closest(".flowplayer");return"undefined"!=typeof fv_player_editor_conf?fv_player_notice(o,fv_player_editor_translations.embed_notice,2e3):(e=jQuery(this),"function"==typeof(o=(t=e.parents(".flowplayer")).data("flowplayer")).embedCode&&t.find(".embed-code textarea").val(o.embedCode()),fv_player_clipboard(t.find(".embed-code textarea").val(),function(){fv_player_notice(t,fv_flowplayer_translations.embed_copied,2e3)},function(){e.parents(".fvp-share-bar").find(".embed-code").toggle(),e.parents(".fvp-share-bar").toggleClass("visible")})),!1}),flowplayer(function(a,n){var r,i,l,s,f,c,p,e,d;function t(e){for(var t=n;t;){try{var o=getComputedStyle(t);o.transform&&(t.style.transform=e?"none":""),o.zIndex&&(t.style.zIndex=e?"auto":"")}catch(e){}t=t.parentNode}}0!=jQuery(n).data("fullscreen")&&(a.one("ready",function(e,t,o){0==jQuery(n).find(".fp-fullscreen").length&&jQuery(n).find(".fp-header").append('<a class="fp-fullscreen fp-icon"></a>')}),r="fullscreen",i="fullscreen-exit",l=flowplayer.support.fullscreen,s=window,p=flowplayer.bean,a.fullscreen=function(e){if(!a.disabled){var t,o=d.find("video.fp-engine",n)[0];if(!(flowplayer.conf.native_fullscreen&&o&&flowplayer.support.iOS))return t=jQuery(n).find(".fp-player")[0],(e=void 0===e?!a.isFullscreen:e)&&(c=s.scrollY,f=s.scrollX),l?e?["requestFullScreen","webkitRequestFullScreen","mozRequestFullScreen","msRequestFullscreen"].forEach(function(e){"function"==typeof t[e]&&(t[e]({navigationUI:"hide"}),"webkitRequestFullScreen"!==e||document.webkitFullscreenElement||t[e]())}):["exitFullscreen","webkitCancelFullScreen","mozCancelFullScreen","msExitFullscreen"].forEach(function(e){"function"==typeof document[e]&&document[e]()}):a.trigger(e?r:i,[a]),a;a.trigger(r,[a]),p.on(document,"webkitfullscreenchange.nativefullscreen",function(){document.webkitFullscreenElement===o&&(p.off(document,".nativefullscreen"),p.on(document,"webkitfullscreenchange.nativefullscreen",function(){document.webkitFullscreenElement||(p.off(document,".nativefullscreen"),a.trigger(i,[a]))}))}),o.webkitEnterFullScreen(),p.one(o,"webkitendfullscreen",function(){p.off(document,"fullscreenchange.nativefullscreen"),a.trigger(i,[a]),d.prop(o,"controls",!0),d.prop(o,"controls",!1)})}},d=flowplayer.common,a.on("mousedown.fs",function(){+new Date-e<150&&a.ready&&a.fullscreen(),e=+new Date}),a.on(r,function(){d.addClass(n,"is-fullscreen"),d.toggleClass(n,"fp-minimal-fullscreen",d.hasClass(n,"fp-minimal")),d.removeClass(n,"fp-minimal"),l||(d.css(n,"position","fixed"),t(!0)),a.isFullscreen=!0}).on(i,function(){var e;d.toggleClass(n,"fp-minimal",d.hasClass(n,"fp-minimal-fullscreen")),d.removeClass(n,"fp-minimal-fullscreen"),l||"html5"!==a.engine||(e=n.css("opacity")||"",d.css(n,"opacity",0)),l||(d.css(n,"position",""),t(!1)),d.removeClass(n,"is-fullscreen"),l||"html5"!==a.engine||setTimeout(function(){n.css("opacity",e)}),a.isFullscreen=!1,"fvyoutube"!=a.engine.engineName&&s.scrollTo(f,c)}).on("unload",function(){a.isFullscreen&&a.fullscreen()}),a.on("shutdown",function(){FULL_PLAYER=null,d.removeNode(wrapper)}))}),flowplayer(function(o,a){a=jQuery(a);var e,n,t,r,i,l=jQuery(".fp-playlist-external[rel="+a.attr("id")+"]"),l=l.hasClass("fp-playlist-season")||l.hasClass("fp-playlist-polaroid");function s(){var e=window.innerWidth<window.innerHeight?window.innerWidth<=375?.6:.575:window.innerWidth<=667?2:2.4;return window.innerWidth/window.innerHeight>e}function f(){o.isFullscreen&&window.innerWidth>window.innerHeight&&s()&&!i&&(fv_player_notice(a,fv_flowplayer_translations.iphone_swipe_up_location_bar,"resize-good"),i=setTimeout(function(){i=!1,o.trigger("resize-good")},5e3))}flowplayer.conf.wpadmin||jQuery(a).hasClass("is-audio")||(e=1==a.data("fsforce"),0==a.data("fullscreen"))||0==a.data("fsforce")||(flowplayer.conf.mobile_force_fullscreen&&flowplayer.support.fvmobile||!flowplayer.support.fullscreen&&e||l?(flowplayer.support.fullscreen?a.on("click",function(){o.ready&&!o.paused||o.fullscreen(!0)}):o.bind("ready",function(){o.video.vr||o.one("progress",function(){o.fullscreen(!0)})}),jQuery("[rel="+a.attr("id")+"] a").on("click",function(e){o.isFullscreen||(o.fullscreen(),o.resume())}),o.on("resume",function(){o.video.vr||o.isFullscreen||(flowplayer.support.fullscreen?o.fullscreen():o.one("progress",function(){o.fullscreen(!0)}))}),o.on("finish",function(){0!=o.conf.playlist.length&&o.conf.playlist.length-1!=o.video.index||o.fullscreen(!1)}).on("fullscreen",function(e,t){a.addClass("forced-fullscreen")}).on("fullscreen-exit",function(e,t){t.pause(),a.removeClass("forced-fullscreen")})):e&&(t=a.find(".fp-unload"),r=!1,o.isFakeFullscreen=!1,a.addClass("is-closeable"),a.on("click",function(e){o.ready||e.target==t[0]||o.fakeFullscreen(!0)}),t.on("click",function(e){return o.ready&&o.isFullscreen?o.fullscreen(!1):o.loading&&(r=!0,o.one("resume",function(e){r=!1,o.pause()})),o.fakeFullscreen(!1),!1}),jQuery("[rel="+a.attr("id")+"] a").on("click",function(e){o.isFakeFullscreen||(o.fakeFullscreen(),o.resume())}),o.on("resume",function(){r||o.isFakeFullscreen||o.fakeFullscreen()}).on("finish",function(){0!=o.conf.playlist.length&&o.conf.playlist.length-1!=o.video.index||o.fakeFullscreen(!1)}).on("fullscreen",function(e,t){a.removeClass("fake-fullscreen")}).on("fullscreen-exit",function(e,t){t.isFakeFullscreen&&t.fakeFullscreen(!0,!0)}).on("unload",function(e,t){}),o.fakeFullscreen=function(e,t){(t||o.isFakeFullscreen!=e&&!o.disabled)&&(void 0===n&&(n=a.css("position")),void 0===e&&(e=!o.isFakeFullscreen),o.isFakeFullscreen=e,o.trigger(e?"fakefullscreen":"fakefullscreen-exit",[o]),a.toggleClass("is-fullscreen fake-fullscreen forced-fullscreen",e),e?a.css("position","fixed"):a.css("position",n))}),flowplayer.support.android&&flowplayer.conf.mobile_landscape_fullscreen&&window.screen&&window.screen.orientation&&o.on("fullscreen",function(e,t){void 0!==(t=t).video.width&&void 0!==t.video.height&&0!=t.video.width&&0!=t.video.height&&t.video.width<t.video.height?screen.orientation.lock("portrait-primary"):screen.orientation.lock("landscape-primary")}),i=!1,!flowplayer.support.iOS)||flowplayer.support.fullscreen||flowplayer.conf.native_fullscreen||(o.on("fullscreen",f),window.addEventListener("resize",f),window.addEventListener("resize",function(){s()||(clearTimeout(i),i=!1,o.trigger("resize-good"))}))}),flowplayer(function(o,a){a=jQuery(a);var r,n,i,l,s;window.MediaSource||window.WebKitMediaSource;function f(){var e=a.find("video");return e.length&&e[0].audioTracks?e[0].audioTracks:[]}function c(o){o.name||(o.name=o.label),a.find(".fv-fp-hls-menu a").each(function(e,t){jQuery(t).toggleClass("fp-selected",jQuery(t).attr("data-audio")===o.name)})}function p(){if(n&&!(n.length<2))if(l=jQuery('<strong class="fv-fp-hls">'+fv_flowplayer_translations.audio_button+"</strong>"),(s=jQuery('<div class="fp-menu fv-fp-hls-menu"></div>').insertAfter(a.find(".fp-controls"))).append("<strong>"+fv_flowplayer_translations.audio_menu+"</strong>"),n.forEach(function(e){s.append('<a data-audio="'+e.name+'" data-lang="'+e.lang+'">'+e.name+"</a>")}),l.insertAfter(a.find(".fp-controls .fp-volume")).on("click",function(e){e.preventDefault(),e.stopPropagation(),s.hasClass("fp-active")?o.hideMenu(s[0]):(a.click(),o.showMenu(s[0]))}),jQuery("a",s).on("click",function(e){var t=e.target.getAttribute("data-audio");if(r){var o=r.audioTracks[r.audioTrack].groupId,e=r.audioTracks.filter(function(e){return e.groupId===o&&(e.name===t||e.lang===t)})[0];r.audioTrack=e.id,c(e)}else{var a,n=f();for(a in n)n.hasOwnProperty(a)&&n[a].label==t&&(n[a].enabled=!0,c(n[a]))}}),r)c(r.audioTracks[r.audioTrack]);else{var e,t=f();for(e in t)t.hasOwnProperty(e)&&t[e].enabled&&c(t[e])}}flowplayer.engine("hlsjs-lite").plugin(function(e){r=e.hls}),o.bind("ready",function(e,t){var o;jQuery(s).remove(),jQuery(l).remove(),r&&"application/x-mpegurl"==t.video.type&&(i=[],n=[],(o=r).levels.forEach(function(e){e=e.attrs.AUDIO;e&&i.indexOf(e)<0&&i.push(e),i.length&&(n=o.audioTracks.filter(function(e){return e.groupId===i[0]}))}),p())}),o.one("progress",function(){if("html5"==o.engine.engineName&&"application/x-mpegurl"==o.video.type){i=[],n=[];var e,t=f();for(e in t)t.hasOwnProperty(e)&&n.push({id:t[e].id,name:t[e].label});p()}})}),flowplayer(function(e,n){var r=-1,i=!1;e.on("error",function(e,t,o){var a;4==o.code&&"hlsjs"==t.engine.engineName&&(console.log("FV Player: HLSJS failed to play the video, switching to Flash HLS"),t.error=t.loading=!1,jQuery(n).removeClass("is-error"),jQuery(flowplayer.engines).each(function(e,t){"hlsjs"==flowplayer.engines[e].engineName&&(r=e,i=flowplayer.engines[e],delete flowplayer.engines[e])}),(a=(0<(o=void 0!==t.video.index?t.video.index:0)?t.conf.playlist[o]:t.conf.clip).sources).index=o,t.load({sources:a}),t.bind("unload error",function(){flowplayer.engines[r]=i}))})}),flowplayer(function(e,l){var s,t=e.conf.live_stream_reload||30,f=t,c=fv_flowplayer_translations.live_stream_retry;function p(e){e=Number(e);var t=Math.floor(e/86400),o=Math.floor(e%86400/3600),a=Math.floor(e%3600/60),e=Math.floor(e%60),n=fv_flowplayer_translations,t=0<t?(1==t?n.duration_1_day:n.duration_n_days).replace(/%s/,t):"";return t&&0<o&&(t+=", "),(t+=0<o?(1==o?n.duration_1_hour:n.duration_n_hours).replace(/%s/,o):"")&&0<a&&(t+=", "),(t+=0<a?(1==a?n.duration_1_minute:n.duration_n_minutes).replace(/%s/,a):"")&&0<e&&(t+=n.and),t+=0<e?(1==e?n.duration_1_second:n.duration_n_seconds).replace(/%s/,e):""}e.clearLiveStreamCountdown=function(){s&&(clearInterval(s),e.error=e.loading=!1,jQuery(l).removeClass("is-error"),jQuery(l).find(".fp-message.fp-shown").remove(),e.unload())},e.conf.flashls={manifestloadmaxretry:2},e.on("ready",function(){f=t,c=fv_flowplayer_translations.live_stream_retry}).on("progress",function(){f=10,c=fv_flowplayer_translations.live_stream_continue,clearInterval(s)}),e.on("error",function(e,r,i){setTimeout(function(){var e,t,o,a,n;(r.conf.clip.live||r.conf.live||i.video&&i.video.src&&i.video.src.match(/\/\/vimeo.com\/event\//))&&(e=f,r.conf.clip.streaming_time?e=r.conf.clip.streaming_time-Math.floor(Date.now()/1e3):r.conf.clip.live_starts_in&&(e=r.conf.clip.live_starts_in),t=fv_flowplayer_translations.live_stream_starting.replace(/%d/,p(e)),c=c.replace(/%d/,p(e)),o=r.conf.clip.live_starts_in?t:c,clearInterval(s),1!==i.code&&2!==i.code&&4!==i.code||(l.className+=" is-offline",flowplayer.support.flashVideo&&r.one("flashdisabled",function(){l.querySelector(".fp-flash-disabled").style.display="none"}),(a=l.querySelector(".fp-ui .fp-message")).innerHTML=o,n=300<e?300:e,s=setInterval(function(){--n,--e,a.innerHTML=o,0<n&&a?a.querySelector("span").innerHTML=p(e):(clearInterval(s),r.error&&(r.error=r.loading=!1,(a=l.querySelector(".fp-ui .fp-message"))&&l.querySelector(".fp-ui").removeChild(a),l.className=l.className.replace(/\bis-(error|offline)\b/g,""),r.load()))},1e3)))},1)})}),flowplayer(function(e,t){var o;t=jQuery(t),flowplayer.engine("hlsjs-lite").plugin(function(e){o=e.hls}),e.on("ready",function(e,t){o&&t.conf.playlist.length&&"hlsjs-lite"!=t.engine.engineName&&o.destroy()})}),flowplayer(function(o,a){var n,r,i,l;function s(){r&&n&&"html5"==o.engine.engineName&&(1<++l?3<l&&(console.log("FV Player: iOS video element needs a push, triggering 'stalled'"),n.trigger("stalled")):(console.log("FV Player: iOS video element will trigger error after 'stalled' arrives"),n.one("stalled",function(){var e,t=o.video.time;o.video.type.match(/video\//)?(console.log("FV Player: Running check of video file..."),(e=document.createElement("video")).src=o.video.src,e.onloadedmetadata=function(){l=0,console.log("FV Player: Video link works")},e.onerror=function(){console.log("FV Player: Video link issue!"),0<l&&o.trigger("error",[o,{code:4,video:o.video}])}):setTimeout(function(){console.log(o.video.time,t),o.video.time!=t?console.log("FV Player: iOS video element continues playing, no need for error"):o.paused?console.log("FV Player: iOS video element paused, no need for error"):o.trigger("error",[o,{code:4,video:o.video}])},5e3)})))}(flowplayer.support.browser.safari||flowplayer.support.iOS)&&(a=jQuery(a),i=r=n=!1,l=0,o.on("ready",function(e,t,o){l=0,r=!1,"html5"==t.engine.engineName&&o.src.match(/\?/)&&((n=a.find("video")).data("fv-ios-recovery")||(n.on("waiting",s),n.data("fv-ios-recovery",!0)),t.live&&o.src.match(/m3u8|stream_loader/)&&(console.log("FV Player: iOS video element is a live stream..."),clearInterval(i),i=setTimeout(function(){jQuery.get(o.src,function(e){e.match(/#EXT/)||(console.log("FV Player: iOS video element live stream does not look like a HLS file, triggering error..."),t.trigger("error",[t,{code:1,video:t.video}]))})},5e3)),t.one("progress",function(){r=!0,clearInterval(i)}))}),o.bind("beforeseek",s))}),!function(e){var t,o,a=!1;"function"==typeof define&&define.amd&&(define(e),a=!0),"object"==("undefined"==typeof exports?"undefined":_typeof(exports))&&(module.exports=e(),a=!0),a||(t=window.Cookies,(o=window.Cookies=e()).noConflict=function(){return window.Cookies=t,o})}(function(){function v(){for(var e=0,t={};e<arguments.length;e++){var o,a=arguments[e];for(o in a)t[o]=a[o]}return t}return function e(u){function y(e,t,o){var a,n;if("undefined"!=typeof document){if(1<arguments.length){"number"==typeof(o=v({path:"/"},y.defaults,o)).expires&&((n=new Date).setMilliseconds(n.getMilliseconds()+864e5*o.expires),o.expires=n),o.expires=o.expires?o.expires.toUTCString():"";try{a=JSON.stringify(t),/^[\{\[]/.test(a)&&(t=a)}catch(e){}t=u.write?u.write(t,e):encodeURIComponent(t+"").replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),e=(e=(e=encodeURIComponent(e+"")).replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent)).replace(/[\(\)]/g,escape);var r,i="";for(r in o)o[r]&&(i+="; "+r,!0!==o[r])&&(i+="="+o[r]);return document.cookie=e+"="+t+i}e||(a={});for(var l=document.cookie?document.cookie.split("; "):[],s=/(%[0-9A-Z]{2})+/g,f=0;f<l.length;f++){var c=l[f].split("="),p=c.slice(1).join("=");this.json||'"'!==p.charAt(0)||(p=p.slice(1,-1));try{var d=c[0].replace(s,decodeURIComponent),p=u.read?u.read(p,d):u(p,d)||p.replace(s,decodeURIComponent);if(this.json)try{p=JSON.parse(p)}catch(e){}if(e===d){a=p;break}e||(a[d]=p)}catch(e){}}return a}}return(y.set=y).get=function(e){return y.call(y,e)},y.getJSON=function(){return y.apply({json:!0},[].slice.call(arguments))},y.defaults={},y.remove=function(e,t){y(e,"",v(t,{expires:-1}))},y.withConverter=e,y}(function(){})}),flowplayer(function(e,t){t=jQuery(t),window.learndash_video_data&&"local"==learndash_video_data.videos_found_provider&&t.closest("[data-video-progression=true]").length&&(LearnDash_disable_assets(!0),LearnDash_watchPlayers(),e.on("finish",function(e,t,o){"string"!=typeof t.video.click&&((t=jQuery(".ld-video").data("video-cookie-key"))&&jQuery.cookie(t,JSON.stringify({video_state:"complete"})),window.LearnDash_disable_assets(!1))}))}),flowplayer(function(e,t){e.bind("load",function(e,t,o){var a,n=jQuery(e.currentTarget);n.data("live")&&(a=setTimeout(function(){n.find(".fp-ui").append('<div class="fp-message">'+fv_flowplayer_translations.live_stream_failed+"</div>"),n.addClass("is-error")},1e4),jQuery(e.currentTarget).data("live_check",a))}).bind("ready",function(e,t,o){clearInterval(jQuery(e.currentTarget).data("live_check"))}).bind("error",function(e,t,o){e=jQuery(e.currentTarget);e.data("live")&&e.find(".fp-message").html(fv_flowplayer_translations.live_stream_failed_2)})}),!function(a){flowplayer(function(e,o){jQuery(o).hasClass("is-cva")||a(document).on("submit","#"+jQuery(o).attr("id")+" .mailchimp-form",function(e){e.preventDefault(),a(".mailchimp-response",o).remove(),a("input[type=submit]",o).attr("disabled","disabled").addClass("fv-form-loading");var t={action:"fv_wp_flowplayer_email_signup"};a("[name]",this).each(function(){t[this.name]=a(this).val()}),a.post(fv_player.ajaxurl,t,function(e){e=JSON.parse(e),a('<div class="mailchimp-response"></div>').insertAfter(".mailchimp-form",o),e.text.match(/already subscribed/)&&(e.status="ERROR"),"OK"===e.status?(a(".mailchimp-form input[type=text],.mailchimp-form input[type=email]",o).val(""),a(".mailchimp-response",o).removeClass("is-fv-error").html(e.text),setTimeout(function(){a(".wpfp_custom_popup",o).fadeOut()},2e3)):a(".mailchimp-response",o).addClass("is-fv-error").html(e.text),a("input[type=submit]",o).removeAttr("disabled").removeClass("fv-form-loading")})})})}(jQuery),"undefined"!=typeof fv_flowplayer_mobile_switch_array)for(var fv_flowplayer_mobile_switch_i in fv_flowplayer_mobile_switch_array)fv_flowplayer_mobile_switch_array.hasOwnProperty(fv_flowplayer_mobile_switch_i)&&fv_flowplayer_mobile_switch(fv_flowplayer_mobile_switch_i);function fv_flowplayer_browser_chrome_fail(a,n,r,i){jQuery("#wpfp_"+a).bind("error",function(e,t,o){!/chrom(e|ium)/.test(navigator.userAgent.toLowerCase())||null==o||3!=o.code&&4!=o.code&&5!=o.code||(t.unload(),jQuery("#wpfp_"+a).attr("id","bad_wpfp_"+a),jQuery("#bad_wpfp_"+a).after('<div id="wpfp_'+a+'" '+n+' data-engine="flash"></div>'),jQuery("#wpfp_"+a).flowplayer({playlist:[[{mp4:r}]]}),i?jQuery("#wpfp_"+a).bind("ready",function(e,t){t.play()}):jQuery("#wpfp_"+a).flowplayer().play(0),jQuery("#bad_wpfp_"+a).remove())})}if(flowplayer(function(n,e){var t,o;function a(e,t,o){var a;n.ready?(n.seek(o),(a=t).addClass("is-active"),setTimeout(function(){a.removeClass("is-active")},500)):n.toggle(),e.preventDefault()}flowplayer.support.touch&&(jQuery.fn.fv_single_double_click=function(a,n,r){return this.each(function(){var t=0,o=this;jQuery(this).on("click",function(e){1==++t&&setTimeout(function(){(1==t?a:n).call(o,e),t=0},r||300)})})},e=jQuery(e),t=jQuery('<div class="fv-fp-tap-left"><span>-10s</span></div>'),o=jQuery('<div class="fv-fp-tap-right"><span>+10s</span></div>'),t.fv_single_double_click(function(){n.toggle()},function(e){a(e,t,!!n.ready&&n.video.time-10)}),o.fv_single_double_click(function(){n.toggle()},function(e){a(e,o,!!n.ready&&n.video.time+10)}),e.find(".fp-ui").append(t).append(o))}),flowplayer(function(a,e){var n=(e=jQuery(e)).data("flowplayer-instance-id");flowplayer.audible_instance=-1,a.one("load",function(){setTimeout(function(){a.conf.splash=!1},0)}),a.on("ready",function(){var o=0==e.data("volume");o||(flowplayer.audible_instance=n),jQuery(".flowplayer[data-flowplayer-instance-id]").each(function(){var e=jQuery(this).data("flowplayer"),t=jQuery(this).data("flowplayer-instance-id");-1!=flowplayer.audible_instance&&t!=flowplayer.audible_instance&&t!=n&&e&&(e.ready?a.conf.multiple_playback?o||e.mute(!0,!0):e.playing&&e.pause():(e.clearLiveStreamCountdown(),e.unload()))})}).on("mute",function(e,t,o){o||flowplayer.audible_instance==n||(flowplayer(flowplayer.audible_instance).mute(!0,!0),flowplayer.audible_instance=n)}).on("resume",function(){a.muted||(flowplayer.audible_instance=n),a.conf.multiple_playback||jQuery(".flowplayer[data-flowplayer-instance-id]").each(function(){var e;n!=jQuery(this).data("flowplayer-instance-id")&&(e=jQuery(this).data("flowplayer"))&&e.playing&&e.pause()})})}),"undefined"!=typeof fv_flowplayer_browser_chrome_fail_array)for(var fv_flowplayer_browser_chrome_fail_i in fv_flowplayer_browser_chrome_fail_array)fv_flowplayer_browser_chrome_fail_array.hasOwnProperty(fv_flowplayer_browser_chrome_fail_i)&&fv_flowplayer_browser_chrome_fail(fv_flowplayer_browser_chrome_fail_i,fv_flowplayer_browser_chrome_fail_array[fv_flowplayer_browser_chrome_fail_i].attrs,fv_flowplayer_browser_chrome_fail_array[fv_flowplayer_browser_chrome_fail_i].mp4,fv_flowplayer_browser_chrome_fail_array[fv_flowplayer_browser_chrome_fail_i].auto_buffer);function fv_flowplayer_browser_ie(e){(flowplayer.support.browser&&flowplayer.support.browser.msie&&9<=parseInt(flowplayer.support.browser.version,10)||navigator.userAgent.match(/Trident.*rv[ :]*11\./))&&jQuery("#wpfp_"+e).attr("data-engine","flash")}if("undefined"!=typeof fv_flowplayer_browser_ie_array)for(var fv_flowplayer_browser_ie_i in fv_flowplayer_browser_ie_array)fv_flowplayer_browser_ie_array.hasOwnProperty(fv_flowplayer_browser_ie_i)&&fv_flowplayer_browser_ie(fv_flowplayer_browser_ie_i);function fv_flowplayer_browser_chrome_mp4(e){var t=window.navigator.appVersion.match(/Chrome\/(\d+)\./);null!=t&&(t=parseInt(t[1],10),/chrom(e|ium)/.test(navigator.userAgent.toLowerCase())&&t<28&&-1!=navigator.appVersion.indexOf("Win")||/chrom(e|ium)/.test(navigator.userAgent.toLowerCase())&&t<27&&-1!=navigator.appVersion.indexOf("Linux")&&-1==navigator.userAgent.toLowerCase().indexOf("android"))&&jQuery("#wpfp_"+e).attr("data-engine","flash")}function _typeof(e){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function _typeof(e){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}-1==navigator.platform.indexOf("iPhone")&&-1==navigator.platform.indexOf("iPod")&&-1==navigator.platform.indexOf("iPad")&&-1==navigator.userAgent.toLowerCase().indexOf("android")||flowplayer(function(e,t){e.bind("error",function(e,t,o){10==o.code&&jQuery(e.target).find(".fp-message").html(fv_flowplayer_translations.unsupported_format)})}),jQuery(document).ready(function(){-1==navigator.platform.indexOf("iPhone")&&-1==navigator.platform.indexOf("iPod")&&-1==navigator.platform.indexOf("iPad")||jQuery(window).trigger("load"),jQuery(".flowplayer").on("mouseleave",function(){jQuery(this).find(".fvp-share-bar").removeClass("visible"),jQuery(this).find(".embed-code").hide()})}),"undefined"!=typeof flowplayer&&flowplayer(function(e,a){a=jQuery(a);var n,r=!1,t=(flowplayer.engine("hlsjs-lite").plugin(function(e){n=e.hls}),e.conf.playlist.length?e.conf.playlist:[e.conf.clip]);function i(e){l();var t="Video is being processed",o="Please return later to see the actual video in this player.";e.pending_encoding_error?(t="Video unavailable",o="There was an error in the video encoding."):e.pending_encoding_progress&&(o+="<br /><br />("+e.pending_encoding_progress+" done)"),r=jQuery('<div class="fv-player-encoder-video-processing-modal"><div><h2>'+t+"</h2><p>"+o+"</p></div></div"),a.append(r)}function l(){r&&r.remove()}t[0]&&t[0].pending_encoding&&i(t[0]),e.on("load",function(e,t,o){if(o.pending_encoding)return i(o),n&&n.destroy(),!1;l()})}),Date.now||(Date.now=function(){return(new Date).getTime()}),function(){function b(e){var t;return e.id||(t=(void 0!==e.sources_original&&void 0!==e.sources_original[0]?e.sources_original:e.sources)[0].src,void 0!==e.sources_original&&void 0!==e.sources_original[0]?t:a(t))}function j(e,t){t.video.sources&&(t=b(t.video),T[t]=0,E[t]=0,w[t]=1)}function Q(e,t){var o,a,n="sendBeacon"in navigator,r=(!0!==e&&(e=!1),t&&void 0!==t||(t=function(){}),[]),i=[];for(o in T)T.hasOwnProperty(o)&&r.push({name:o,position:T[o],top_position:E[o],saw:void 0!==w[o]&&w[o]});for(a in O)O.hasOwnProperty(a)&&i.push({player:a,item:O[a]});if(i.length||D(F),r.length){if("1"==flowplayer.conf.is_logged_in){if(n){try{var l,s={},f={},c={},p={};for(m in r)r.hasOwnProperty(m)&&(s[l=r[m].name]=r[m].position,f[l]=r[m].top_position,c[l]=r[m].saw);for(m in i)i.hasOwnProperty(m)&&(p[i[m].player]=i[m].item);V(S,A(s)),V(P,A(f)),V(I,A(c)),V(F,A(p))}catch(e){return}n=new FormData;return n.append("action","fv_wp_flowplayer_video_position_save"),n.append("videoTimes",encodeURIComponent(JSON.stringify(r))),n.append("playlistItems",encodeURIComponent(JSON.stringify(i))),navigator.sendBeacon(fv_player.ajaxurl,n),!1}return jQuery.ajax({type:"POST",async:e,url:fv_player.ajaxurl,complete:t,data:{action:"fv_wp_flowplayer_video_position_save",videoTimes:r,playlistItems:i}})}try{var d=N(x),u=N(C),d=d&&void 0!==d?JSON.parse(d):{},u=u&&void 0!==u?JSON.parse(u):{};for(m in r)r.hasOwnProperty(m)&&(d[r[m].name]=r[m].position);for(m in i)i.hasOwnProperty(m)&&(u[i[m].player]=i[m].item);var y=JSON.stringify(d),v=JSON.stringify(u),_=L(y),h=L(v);if(g<_)for(;g<_;)for(var m in d)if(d.hasOwnProperty(m)){delete d[m],y=JSON.stringify(d),_=L(y);break}if(g<h)for(;g<h;)for(var m in d)if(u.hasOwnProperty(m)){delete u[m],v=JSON.stringify(u),h=L(y);break}V(x,y),V(C,v)}catch(e){return}return!1}D(S),D(P),D(I)}var k=null,g=2500,o=null,x="video_positions",C="player_playlist_item",S="video_positions_tmp",P="video_top_positions_tmp",F="player_playlist_item_tmp",I="video_saw_tmp",T=[],E=[],O=[],w=[],A=function(e){var t=JSON.stringify(e),o=L(t);if(g<o)for(;g<o;)for(var a in e)if(e.hasOwnProperty(a)){delete e[a],t=JSON.stringify(e),o=L(t);break}return t},L=function(e){return encodeURIComponent(e).length},N=function(e){return o?localStorage.getItem(e):Cookies.get(e)},V=function(e,t){return o?localStorage.setItem(e,t):Cookies.set(e,t)},D=function(e){o?localStorage.removeItem(e):Cookies.remove(e)},a=function(e){return e.replace(/(X-Amz-Algorithm=[^&]+&?)/gm,"").replace(/(X-Amz-Credential=[^&]+&?)/gm,"").replace(/(X-Amz-Date=[^&]+&?)/gm,"").replace(/(X-Amz-Expires=[^&]+&?)/gm,"").replace(/(X-Amz-SignedHeaders=[^&]+&?)/gm,"").replace(/(X-Amz-Signature=[^&]+&?)/gm,"")};if(flowplayer(function(a,e){if(void 0===a.conf.disable_localstorage||"1"==flowplayer.conf.is_logged_in){function r(){return!(a.live||a.video&&"string"==typeof a.video.click)}function t(e,t){r()&&!t.video.prevent_position_restore&&(t=function(e){var t=b(e.video),o=e.video.position;if("1"!=flowplayer.conf.is_logged_in){var a=N(x);if(a&&void 0!==a)try{(a=JSON.parse(a))[t]&&(o=a[t])}catch(e){return}}return e.get_custom_end&&e.get_custom_end()<o&&(o=!1),o=e.get_custom_start&&0<e.get_custom_start()&&o<e.get_custom_start()?!1:o}(t))&&n(t)}function o(e,t){var o,a,n;r()&&t.video.sources&&(o=b(t.video),a=Math.round(t.video.time),T[o]=a,void 0===E[o]?(n=0,n=t.conf.playlist?t.conf.playlist[t.video.index]&&t.conf.playlist[t.video.index].sources[0]&&t.conf.playlist[t.video.index].sources[0].top_position?t.conf.playlist[t.video.index].sources[0].top_position:0:t.conf.clip.sources[0]&&t.conf.clip.sources[0].top_position?t.conf.clip.sources[0].top_position:0,E[o]=n):E[o]<a&&(E[o]=a),0<t.conf.playlist.length&&p&&(O[p]=t.video.index),60<=c++)&&flowplayer.conf.closingPage&&(k&&k.abort(),k=Q(!0,function(){k=null}),c=0)}function n(e){var t,o;a.custom_seek?a.custom_seek(e):(t=0,o=setInterval(function(){20<++t&&clearInterval(o),a.loading||(a.seek(parseInt(e)),clearInterval(o))},10))}function i(e,t){var o=N(e),a=!1;if(o&&void 0!==o)try{if(void 0!==(o=JSON.parse(o))[t]){a=o[t],delete o[t];var n,r=!1;for(n in o)if(o.hasOwnProperty(n)){r=!0;break}r?V(e,JSON.stringify(o)):D(e)}return a}catch(e){}}function l(e,t){if(void 0!==t&&0!=t.conf.playlist.length&&!t.conf.prevent_position_restore){var o=-1;if(p)if("1"!=flowplayer.conf.is_logged_in){var a=N(C);if(a&&void 0!==a)try{(a=JSON.parse(a))[p]&&(o=a[p])}catch(e){return}}else"1"==flowplayer.conf.is_logged_in&&(o=0<t.conf.playlist.length&&i(F,p));0<=o&&!d&&(t.video&&"video/youtube"!=t.video.type&&t.play(o),d=!0,s.data("position_changed",1))}}var s=jQuery(e),f=flowplayer.conf.video_position_save_enable&&0!=s.data("save-position")||s.data("save-position"),c=0,p=!!s.data("player-id")&&s.data("player-id"),d=!1;if(f){if(N(F)&&s.removeData("playlist_start"),a.bind("finish",j),a.on("ready",function(){a.one("progress",t)}),a.bind("progress",o),a.bind("unload",function(){d=!1,a.one("ready",l)}),a.one("ready",l),jQuery(".fp-ui",e).on("click",function(){l()}),a.playlist_thumbnail_progress=function(e,t,o){a.get_custom_start&&0<a.get_custom_start(t)&&(o-=a.get_custom_start(t))<0&&(o=0);t=t.duration;(t=(t=a.get_custom_duration&&0<a.get_custom_duration()?a.get_custom_duration():t)||e.data("duration"))&&e.css("width",100*o/t+"%")},"1"==flowplayer.conf.is_logged_in){var u,y,v,_,h,m=0<a.conf.playlist.length,g=m?a.conf.playlist:[a.conf.clip],w=jQuery("[rel="+jQuery(e).attr("id")+"]");for(u in g)g.hasOwnProperty(u)&&(_=b(g[u]),y=i(S,_),v=i(P,_),_=i(I,_),y&&(m?(a.conf.playlist[u].sources[0].position=y,(h=jQuery("a",w).eq(u).find(".fvp-progress")).length&&a.playlist_thumbnail_progress(h,a.conf.playlist[u],y)):a.conf.clip.sources[0].position=y),v&&(!g[u].sources[0].top_position||g[u].sources[0].top_position<v)&&(m?a.conf.playlist[u].sources[0].top_position=v:a.conf.clip.sources[0].top_position=v),_)&&(m?a.conf.playlist[u].sources[0].saw=!0:a.conf.clip.sources[0].saw=!0)}a.bind("finish",function(e,t){t.conf.playlist.length?t.conf.playlist[t.video.index].sources[0].saw=!0:t.conf.clip.sources[0].saw=!0})}}}),jQuery(window).on("beforeunload pagehide",function(){flowplayer.conf.closingPage||(flowplayer.conf.closingPage=!0,Q())}),null===(o=void 0===fv_flowplayer_conf.disable_localstorage&&o)){o=!0;try{localStorage.setItem("t","t"),"t"!==localStorage.getItem("t")&&(o=!1),localStorage.removeItem("t")}catch(e){o=!1}}}(jQuery),flowplayer(function(o,t){var a,r,i,l,n,s,f;function e(e){e.preventDefault(),e.stopPropagation(),l.hasClass("fp-active")?o.hideMenu(l[0]):(t.trigger("click"),o.showMenu(l[0]))}function c(e){e=e.clone();return e.find("i.dur").remove(),e.text()}t=jQuery(t),(o.have_visible_playlist||0!=o.conf.playlist.length)&&o.have_visible_playlist()&&(a=jQuery(".fp-playlist-external[rel="+t.attr("id")+"]"),r=jQuery('<strong class="fv-fp-list">Item 1.</strong>'),i=jQuery('<strong class="fv-fp-list-name">Item 1.</strong>'),l=jQuery('<div class="fp-menu fv-fp-list-menu"></div>').insertAfter(t.find(".fp-controls")),n=0,s=[],f=[],jQuery(o.conf.playlist).each(function(e,t){void 0===t.click&&(t=c(a.find("h4").eq(n)),l.append('<a data-index="'+e+'">'+(n+1)+". "+t+"</a>"),f[e]=t,s.push(e),n++)}),r.insertAfter(t.find(".fp-controls .fp-volume")).on("click",e),i.insertAfter(r).on("click",e),jQuery("a",l).on("click",function(){var e=jQuery(this).data("index"),t=e-1;void 0!==o.conf.playlist[t]&&void 0!==o.conf.playlist[t].click?o.play(t):o.play(e)}),o.on("ready",function(e,t,o){l.find("a").removeClass("fp-selected");var a=l.find("a[data-index="+o.index+"]"),n=(a.addClass("fp-selected"),fv_flowplayer_translations.playlist_item_no);n=(n=n.replace(/%d/,s.indexOf(o.index)+1)).replace(/%s/,c(a.find("h4"))),r.html(n),i.html(s.indexOf(o.index)+1+". "+f[o.index])}))}),flowplayer(function(e,a){a=jQuery(a);var n,r=e.conf.playlist;e.bind("load",function(e,t,o){n=o.index}),e.bind("error",function(e,t,o){setTimeout(function(){if(0<r.length&&1==t.error){if(n=t.video.index,"1"==t.conf.video_checker&&r[n].video_checker&&0<r[n].video_checker.length)return console.log("FV Player: Video checker message present, stopping auto-advance to next playlist item"),!1;t.error=t.loading=!1,a.removeClass("is-error"),a.find(".fp-message.fp-shown").remove(),++n>r.length-1&&(n=0),console.log("FV Player: Playlist item failure, auto-advancing to "+(n+1)+". item"),t.play(n)}},1e3)})}),flowplayer(function(e,r){var i,l,s;function f(o){return o=[],jQuery(e.conf.playlist).each(function(e,t){o.push(e)}),o=function(e){for(var t,o,a=e.length;a;a--)t=Math.floor(Math.random()*a),o=e[a-1],e[a-1]=e[t],e[t]=o;return e}(o),console.log("FV Player Randomizer random seed:",o),o}((r=jQuery(r)).data("button-no_picture")||r.data("button-repeat")||r.data("button-rewind"))&&e.bind("ready",function(e,t){var o,a,n;void 0===l&&void 0===i&&(l=t.next,i=t.prev),!t.video.type.match(/^audio/)&&r.data("button-no_picture")&&0==r.find(".fv-fp-no-picture").length&&jQuery('<span class="fv-fp-no-picture"><svg viewBox="0 0 90 80" width="18px" height="18px" class="fvp-icon fvp-nopicture"><use xlink:href="#fvp-nopicture"></use></svg></span>').insertAfter(r.find(".fp-controls .fp-volume")).on("click",function(e){e.preventDefault(),e.stopPropagation(),jQuery(".fp-engine",r).slideToggle(20),jQuery(this).toggleClass("is-active fp-color-fill"),r.toggleClass("is-no-picture")}),r.data("button-repeat")&&((!t.have_visible_playlist&&0<t.conf.playlist.length||t.have_visible_playlist())&&0==r.find(".fv-fp-playlist").length?(n=fv_flowplayer_translations,o=jQuery('<strong class="fv-fp-playlist mode-normal">            <svg viewBox="0 0 80.333 80" width="18px" height="18px" class="fvp-icon fvp-replay-list"><title>'+n.playlist_replay_all+'</title><use xlink:href="#fvp-replay-list"></use></svg>            <svg viewBox="0 0 80.333 71" width="18px" height="18px" class="fvp-icon fvp-shuffle"><title>'+n.playlist_shuffle+'</title><use xlink:href="#fvp-shuffle"></use></svg>            <svg viewBox="0 0 80.333 71" width="18px" height="18px" class="fvp-icon fvp-replay-track"><title>'+n.playlist_replay_video+'</title><use xlink:href="#fvp-replay-track"></use></svg>            <span id="fvp-playlist-play" title="'+n.playlist_play_all+'">'+n.playlist_play_all_button+"</span>            </strong>"),a=jQuery('<div class="fp-menu fv-fp-playlist-menu">              <a data-action="repeat_playlist"><svg viewBox="0 0 80.333 80" width="18px" height="18px" class="fvp-icon fvp-replay-list"><title>'+n.playlist_replay_all+'</title><use xlink:href="#fvp-replay-list"></use></svg> <span class="screen-reader-text">'+n.playlist_replay_all+'</span></a>              <a data-action="shuffle_playlist"><svg viewBox="0 0 80.333 71" width="18px" height="18px" class="fvp-icon fvp-shuffle"><title>'+n.playlist_shuffle+'</title><use xlink:href="#fvp-shuffle"></use></svg> <span class="screen-reader-text">'+n.playlist_shuffle+'</span></a>              <a data-action="repeat_track"><svg viewBox="0 0 80.333 71" width="18px" height="18px" class="fvp-icon fvp-replay-track"><title>'+n.playlist_replay_video+'</title><use xlink:href="#fvp-replay-track"></use></svg> <span class="screen-reader-text">'+n.playlist_replay_video+'</span></a>              <a class="fp-selected" data-action="normal"><span id="fvp-playlist-play" title="'+n.playlist_play_all+'">'+n.playlist_play_all_button+"</span></a>              </div>").insertAfter(r.find(".fp-controls")),t.conf.playlist_shuffle=t.conf.track_repeat=!1,s=f(),t.conf.advance,o.insertAfter(r.find(".fp-controls .fp-volume")).on("click",function(e){e.preventDefault(),e.stopPropagation(),"auto"!==a.css("right")&&a.css({right:"auto",left:o.position().left+"px"}),a.hasClass("fp-active")?t.hideMenu(a[0]):(r.trigger("click"),t.showMenu(a[0]))}),jQuery("a",a).on("click",function(){jQuery(this).siblings("a").removeClass("fp-selected"),jQuery(this).addClass("fp-selected"),o.removeClass("mode-normal mode-repeat-track mode-repeat-playlist mode-shuffle-playlist");var e=jQuery(this).data("action");"repeat_playlist"==e?(o.addClass("mode-repeat-playlist"),t.conf.loop=!0,t.conf.advance=!0,t.video.loop=t.conf.track_repeat=!1,t.conf.playlist_shuffle=!1):"shuffle_playlist"==e?(o.addClass("mode-shuffle-playlist"),t.conf.loop=!0,t.conf.advance=!0,t.conf.playlist_shuffle=!0):"repeat_track"==e?(o.addClass("mode-repeat-track"),t.conf.track_repeat=t.video.loop=!0,t.conf.loop=t.conf.playlist_shuffle=!1):"normal"==e&&(o.addClass("mode-normal"),t.conf.track_repeat=t.video.loop=!1,t.conf.loop=t.conf.playlist_shuffle=!1),t.conf.playlist_shuffle?(t.next=function(){t.play(s.pop()),0==s.length&&(s=f())},t.prev=function(){t.play(s.shift()),0==s.length&&(s=f())}):(t.next=l,t.prev=i)}),t.conf.loop&&jQuery("a[data-action=repeat_playlist]",a).trigger("click"),t.on("progress",function(){t.video.loop=t.conf.track_repeat}),t.on("finish.pl",function(e,t){console.log("playlist_repeat",t.conf.loop,"advance",t.conf.advance,"video.loop",t.video.loop),t.conf.playlist_shuffle&&(t.play(s.pop()),0==s.length)&&(s=f())})):0!=r.find(".fv-fp-track-repeat").length||(t.have_visible_playlist||0!=t.conf.playlist.length)&&t.have_visible_playlist()||((n=jQuery('<strong class="fv-fp-track-repeat"><svg viewBox="0 0 80.333 71" width="18px" height="18px" class="fvp-icon fvp-replay-track"><use xlink:href="#fvp-replay-track"></use></svg></strong>')).insertAfter(r.find(".fp-controls .fp-volume")).on("click",function(e){e.preventDefault(),e.stopPropagation(),jQuery(this).toggleClass("is-active fp-color-fill",t.video.loop),t.video.loop?t.video.loop=!1:t.video.loop=!0}),t.conf.loop&&n.addClass("is-active fp-color-fill"))),r.data("button-rewind")&&(0==r.find(".fv-fp-rewind").length&&((n=jQuery('<span class="fv-fp-rewind"><svg viewBox="0 0 24 24" width="21px" height="21px" class="fvp-icon fvp-rewind"><use xlink:href="#fvp-rewind"></use></svg></span>')).insertBefore(r.find(".fp-controls .fp-playbtn")).on("click",function(e){e.preventDefault(),e.stopPropagation(),t.seek(t.video.time-10)}),n.toggle(!t.video.live||t.video.dvr)),0==r.find(".fv-fp-forward").length)&&((n=jQuery('<span class="fv-fp-forward"><svg viewBox="0 0 24 24" width="21px" height="21px" class="fvp-icon fvp-forward"><use xlink:href="#fvp-forward"></use></svg></span>')).insertAfter(r.find(".fp-controls .fp-playbtn")).on("click",function(e){e.preventDefault(),e.stopPropagation(),t.seek(t.video.time+10)}),n.toggle(!t.video.live||t.video.dvr))}).bind("unload",function(){r.find(".fv-fp-no-picture").remove(),r.find(".fv-fp-playlist").remove(),r.find(".fv-fp-track-repeat").remove()})}),flowplayer(function(e,t){var o=jQuery(t),a=o.data("playlist_start");function n(){1!==o.data("position_changed")&&e.conf.playlist.length&&(a--,void 0===e.conf.playlist[a].click&&(e.engine&&"hlsjs-lite"==e.engine.engineName&&(e.loading=!1),e.play(a)),o.data("position_changed",1))}void 0!==a&&(e.bind("unload",function(){a=o.data("playlist_start"),o.removeData("position_changed"),e.one("ready",n)}),e.one("ready",n),jQuery(".fp-ui",t).on("click",function(){n(),o.data("position_changed",1)}))}),document.addEventListener("custombox:overlay:close",function(e){console.log("FV Player: Custombox/Popup anything ligtbox closed");var t=jQuery(this).find(".flowplayer");0!=t.length&&(console.log("FV Player: Custombox/Popup anything ligtbox contains a player"),t.each(function(e,t){var o=jQuery(t).data("flowplayer");void 0!==o&&(o.playing?(console.log("FV Player: Custombox/Popup anything ligtbox video pause"),o.pause()):o.loading&&o.one("ready",function(){console.log("FV Player: Custombox/Popup anything ligtbox video unload"),o.unload()}))}))}),flowplayer(function(t,e){t.bind("finish",function(){var e=t.video.time;t.video.loop&&t.one("pause",function(){e<=t.video.time&&t.resume()})})}),flowplayer(function(o,a){(a=jQuery(a)).find(".fp-logo").removeAttr("href"),a.hasClass("no-controlbar")&&((e=o.sliders.timeline).disable(!0),o.bind("ready",function(){e.disable(!0)})),jQuery(".fvfp_admin_error",a).remove(),a.find(".fp-logo, .fp-header").on("click",function(e){e.target===this&&a.find(".fp-ui").trigger("click")}),jQuery(".fvp-share-bar .sharing-facebook",a).append('<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="#fff"><title>Facebook</title><path d="M11.9 5.2l-2.6 0 0-1.6c0-0.7 0.3-0.7 0.7-0.7 0.3 0 1.6 0 1.6 0l0-2.9 -2.3 0c-2.6 0-3.3 2-3.3 3.3l0 2 -1.6 0 0 2.9 1.6 0c0 3.6 0 7.8 0 7.8l3.3 0c0 0 0-4.2 0-7.8l2.3 0 0.3-2.9Z"/></svg>'),jQuery(".fvp-share-bar .sharing-twitter",a).append('<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="#fff"><title>Twitter</title><path d="M16 3.1c-0.6 0.3-1.2 0.4-1.9 0.5 0.7-0.4 1.2-1 1.4-1.8 -0.6 0.4-1.3 0.6-2.1 0.8 -0.6-0.6-1.4-1-2.4-1 -2 0.1-3.2 1.6-3.2 4 -2.7-0.1-5.1-1.4-6.7-3.4 -0.9 1.4 0.2 3.8 1 4.4 -0.5 0-1-0.1-1.5-0.4l0 0.1c0 1.6 1.1 2.9 2.6 3.2 -0.7 0.2-1.3 0.1-1.5 0.1 0.4 1.3 1.6 2.2 3 2.3 -1.6 1.7-4.6 1.4-4.8 1.3 1.4 0.9 3.2 1.4 5 1.4 6 0 9.3-5 9.3-9.3 0-0.1 0-0.3 0-0.4 0.6-0.4 1.2-1 1.6-1.7Z"/></svg>'),jQuery(".fvp-share-bar .sharing-email",a).append('<svg xmlns="http://www.w3.org/2000/svg" height="16" viewBox="0 0 16 16" width="16" fill="#fff"><title>Email</title><path d="M8 10c0 0 0 0-1 0L0 6v7c0 1 0 1 1 1h14c1 0 1 0 1-1V6L9 10C9 10 8 10 8 10zM15 2H1C0 2 0 2 0 3v1l8 4 8-4V3C16 2 16 2 15 2z"/></svg>'),jQuery(".fp-header",a).prepend(jQuery(".fvp-share-bar",a)),(!o.have_visible_playlist&&0<o.conf.playlist.length||o.have_visible_playlist())&&(t=jQuery('<a class="fp-icon fv-fp-prevbtn"></a>'),i=jQuery('<a class="fp-icon fv-fp-nextbtn"></a>'),a.find(".fp-controls .fp-playbtn").before(t).after(i),t.on("click",function(){o.trigger("prev",[o]),o.prev()}),i.on("click",function(){o.trigger("next",[o]),o.next()})),"undefined"!=typeof fv_player_editor_conf&&a.on("click",".fvp-sharing > li",function(e){return e.preventDefault(),fv_player_notice(a,fv_player_editor_translations.link_notice,2e3),!1}),o.bind("pause resume finish unload ready",function(e,t){a.addClass("no-brand")}),o.one("ready",function(){a.find(".fp-fullscreen").clone().appendTo(a.find(".fp-controls"))}),o.on("ready",function(e,t,o){setTimeout(function(){jQuery(".fvp-share-bar",a).show(),jQuery(".fv-player-buttons-wrap",a).appendTo(jQuery(".fv-player-buttons-wrap",a).parent().find(".fp-ui"))},100)}),o.bind("finish",function(){var e,t=a.data("fv_redirect");!t||void 0!==o.video.is_last&&!o.video.is_last||flowplayer.conf.is_logged_in_editor&&(e=(e=fv_flowplayer_translations.redirection).replace(/%url%/,t),!confirm(e))||(location.href=t)}),flowplayer.support.iOS&&11==flowplayer.support.iOS.version&&o.bind("error",function(e,t,o){4==o.code&&a.find(".fp-engine").hide()}),jQuery(document).on("contextmenu",".flowplayer",function(e){e.preventDefault()}),o.one("ready",function(e,t,o){a.find(".fp-chromecast").insertAfter(a.find(".fp-header .fp-fullscreen"))}),a.find(".fp-waiting").html('<div class="fp-preload"><b></b><b></b><b></b><b></b></div>');var e,n=a.attr("id"),r=!flowplayer.conf.native_fullscreen&&flowplayer.conf.mobile_alternative_fullscreen,t="fakefullscreen",i="fakefullscreen-exit";flowplayer.support.fullscreen||(t+=" fullscreen",i+=" fullscreen-exit"),o.bind(t,function(e,t){jQuery("#wpadminbar, .nc_wrapper").hide(),!r&&"fakefullscreen"!=e.type||"video/youtube"==t.video.type||(a.before('<span data-fv-placeholder="'+n+'"></span>'),a.appendTo("body"))}),o.bind(i,function(e,t,o){jQuery("#wpadminbar, .nc_wrapper").show(),!r&&"fakefullscreen-exit"!=e.type||jQuery("span[data-fv-placeholder="+n+"]").replaceWith(a)})}),function(){function e(p){p(function(a,n){var r,e,i,l,s;function f(e){return Math.round(100*e)/100}function c(t){r.find(".fp-speed",n)[0].innerHTML=t+"x",r.find(".fp-speed-menu a",n).forEach(function(e){r.toggleClass(e,"fp-selected",e.getAttribute("data-speed")==t),r.toggleClass(e,"fp-color",e.getAttribute("data-speed")==t)})}jQuery(n).data("speedb")&&(e=p.support).video&&e.inlineVideo&&(r=p.common,e=p.bean,i=r.find(".fp-ui",n)[0],l=r.find(".fp-controls",i)[0],s=a.conf.speeds,e.on(n,"click",".fp-speed",function(){var e=r.find(".fp-speed-menu",n)[0];r.hasClass(e,"fp-active")?a.hideMenu():a.showMenu(e)}),e.on(n,"click",".fp-speed-menu a",function(e){e=e.target.getAttribute("data-speed");a.speed(e)}),a.on("speed",function(e,t,o){1<s.length&&c(o)}).on("ready",function(e,t){var o;r.find(".fp-speed-menu",n).forEach(r.removeNode),r.find(".fp-speed",n).forEach(r.removeNode),p.support.android&&"html5"==t.engine.engineName&&"application/x-mpegurl"==t.video.type||1<(s=t.conf.speeds).length&&(l.appendChild(r.createElement("strong",{className:"fp-speed"},a.currentSpeed+"x")),o=r.createElement("div",{className:"fp-menu fp-speed-menu",css:{width:"auto"}},"<strong>Speed</strong>"),s.forEach(function(e){e=r.createElement("a",{"data-speed":f(e)},f(e)+"x");o.appendChild(e)}),i.appendChild(o),c(a.currentSpeed),jQuery(n).find(".fp-speed-menu strong").text(fv_flowplayer_translations.speed))}))})}"object"===("undefined"==typeof module?"undefined":_typeof(module))&&module.exports?module.exports=e:"function"==typeof window.flowplayer&&e(window.flowplayer)}(),flowplayer(function(e,t){void 0===fv_flowplayer_conf.disable_localstorage&&(e.on("speed",function(e,t,o){try{window.localStorage.fv_player_speed=o}catch(e){}}),e.on("ready",function(){window.localStorage.fv_player_speed&&jQuery(t).find("strong.fp-speed").is(":visible")&&e.speed(parseFloat(window.localStorage.fv_player_speed)),0==jQuery(t).data("volume")&&e.mute(!0,!0)}))}),function(l){var s={},f=!1;flowplayer(function(e,t){t=l(t);var a,o=-1,n=0;if(e.conf.fv_stats&&(e.conf.fv_stats.enabled||t.data("fv_stats")&&"no"!=t.data("fv_stats"))){try{var r=t.data("fv_stats_data");if(!r)return}catch(e){return!1}e.on("ready finish",function(e,t){t.one("progress",function(e,t){o!=i()&&(o=i(),l.post(t.conf.fv_stats.url,{blog_id:t.conf.fv_stats.blog_id,video_id:t.video.id||0,player_id:r.player_id,post_id:r.post_id,user_id:t.conf.fv_stats.user_id,tag:"play"}))}),a=!(n=0)}).on("finish",function(){o=-1}).on("progress",function(e,t,o){0!=o&&(t.seeking?n=o:a?a=!1:n=(0==n||o<=n||(s[r.player_id]||(s[r.player_id]={}),s[r.player_id][r.post_id]||(s[r.player_id][r.post_id]={}),s[r.player_id][r.post_id][t.video.id]||(s[r.player_id][r.post_id][t.video.id]=0),s[r.player_id][r.post_id][t.video.id]+=o-n,f=!0),o))})}function i(){return e.video.index||0}}),l(window).on("beforeunload pagehide",function(){var e,t;flowplayer.conf.stats_sent||(flowplayer.conf.stats_sent=!0,f&&(fv_player_stats_watched(),e=(window.freedomplayer?freedomplayer:flowplayer).conf,(t=new FormData).append("tag","seconds"),t.append("blog_id",e.fv_stats.blog_id),t.append("user_id",e.fv_stats.user_id),t.append("watched",encodeURIComponent(JSON.stringify(s))),navigator.sendBeacon(e.fv_stats.url,t)))}),window.fv_player_stats_watched=function(){l.each(s,function(e,t){console.log("player id: "+e),l.each(t,function(e,t){console.log("post id: "+e),l.each(t,function(e,t){console.log("video id: "+e+" seconds: "+t)})})})}}(jQuery),flowplayer(function(o,a){var n,r=jQuery(a),e=r.find(".fp-player"),t=r.data("fvsticky"),i=!1,l=r.find(".fp-ratio");if(o.is_sticky=!1,(i="off"!=flowplayer.conf.sticky_video&&void 0===t?!0:i)||t){if(!flowplayer.support.firstframe)return;var s=flowplayer.conf.sticky_place;i=jQuery(window),n=r,o.on("unload",function(){c(),r.removeClass("is-unSticky")}),i.on("resize",function(){p()||"all"==flowplayer.conf.sticky_video||o.is_sticky&&c()}).on("scroll",function(){var e,t;if(p()||"all"==flowplayer.conf.sticky_video)if(e=n[0],(t=e.getBoundingClientRect()).top>=0-jQuery(e).outerHeight()/2&&0<=t.left&&t.bottom<=(window.innerHeight||document.documentElement.clientHeight)+jQuery(e).outerHeight()/2&&t.right<=(window.innerWidth||document.documentElement.clientWidth)||!(o.playing||o.loading||flowplayer.audible_instance==r.data("freedomplayer-instance-id")||"object"==_typeof(a.fv_player_vast)&&"object"==_typeof(a.fv_player_vast.adsManager_)&&"function"==typeof a.fv_player_vast.adsManager_.getRemainingTime&&0<a.fv_player_vast.adsManager_.getRemainingTime()))c();else{if(0<jQuery("div.flowplayer.is-unSticky").length)return!1;f()}else o.is_sticky&&c()})}function f(){e.hasClass("is-sticky-"+s)||(e.addClass("is-sticky"),e.addClass("is-sticky-"+s),0==r.find("a.fp-sticky").length&&r.find("div.fp-header").prepend('<a class="fp-sticky fp-icon"></a>'),e.prepend(l.clone()),d(!0),o.is_sticky=!0,o.trigger("sticky",[o]),e.parent(".flowplayer").addClass("is-stickable"))}function c(){e.removeClass("is-sticky"),e.removeClass("is-sticky-"+s),e.css("max-width",""),e.find(".fp-ratio").remove(),e.parent(".flowplayer").removeClass("is-stickable"),o.is_sticky&&(d(),o.is_sticky=!1,o.trigger("sticky-exit",[o]))}function p(){return jQuery(window).innerWidth()>=fv_flowplayer_conf.sticky_min_width}function d(e){for(var t=a;t;){try{getComputedStyle(t).transform&&(t.style.transform=e?"none":"")}catch(e){}t=t.parentNode}}o.sticky=function(e,t){void 0===e&&(e=!o.is_sticky),t&&r.toggleClass("is-unSticky",!e),(e?f:c)()}}),jQuery(function(o){o(document).on("click","a.fp-sticky",function(){var e=o("div.flowplayer.is-stickable"),t=e.data("flowplayer"),e=(e.addClass("is-unSticky"),e.find(".fp-player"));e.removeClass("is-sticky"),e.removeClass("is-sticky-right-bottom"),e.removeClass("is-sticky-left-bottom"),e.removeClass("is-sticky-right-top"),e.removeClass("is-sticky-left-top"),e.css("width",""),e.css("height",""),e.css("max-height",""),t.is_sticky&&(t.is_sticky=!1,t.trigger("sticky-exit",[t]))}),o(document).on("click","div.flowplayer.is-unSticky",function(){o("div.flowplayer").removeClass("is-unSticky")})}),flowplayer(function(e,n){var r;n=jQuery(n),void 0===fv_flowplayer_conf.disable_localstorage&&(r=window.localStorage,e.on("ready",function(e,o,t){var a;t.subtitles&&t.subtitles.length&&(r.fv_player_subtitle&&o.video.subtitles.length?"none"===r.fv_player_subtitle?o.disableSubtitles():o.video.subtitles.forEach(function(e,t){e.srclang===r.fv_player_subtitle&&o.loadSubtitles(t)}):(a=t.subtitles.filter(function(e){return e.fv_default})[0])&&o.loadSubtitles(t.subtitles.indexOf(a))),n.find(".fp-subtitle-menu").on("click",function(e){var t=e.target.getAttribute("data-subtitle-index");if("string"==typeof t)try{r.fv_player_subtitle=-1<t?o.video.subtitles[t].srclang:"none"}catch(e){}})}))}),flowplayer(function(e,o){o=jQuery(o),e.on("ready",function(e,t){o.find(".fp-subtitle-menu strong").text(fv_flowplayer_translations.closed_captions),o.find('.fp-subtitle-menu a[data-subtitle-index="-1"]').text(fv_flowplayer_translations.no_subtitles)})}),"undefined"!=typeof flowplayer&&"undefined"!=typeof fv_flowplayer_conf&&fv_flowplayer_conf.video_hash_links&&(flowplayer(function(o,a){var n,r,i,l,s,f,c="";0<jQuery(a).find(".sharing-link").length&&(n=function(e,t){l=fv_player_get_video_link_hash(o),s=","+fv_player_time_hms(o.video.time),e&&t?(i=","+fv_player_time_hms_ms(e+o.get_custom_start()),r=","+fv_player_time_hms_ms(t+o.get_custom_start())):(r=f&&void 0!==o.get_ab_end()&&o.get_ab_end()?","+fv_player_time_hms_ms(o.get_ab_end()):"",i=f&&void 0!==o.get_ab_start()&&o.get_ab_start()?","+fv_player_time_hms_ms(o.get_ab_start()):""),c=jQuery(".sharing-link",a).attr("href").replace(/#.*/,"")+"#"+l+s+i+r,jQuery(".sharing-link",a).attr("href",c)},o.on("ready",function(e,t,o){t.fv_noUiSlider&&t.fv_noUiSlider.on("set",function(e){n(e[0],e[1])})}),o.on("progress",function(e,t){t.video.sources&&t.video.sources[0]&&n()}),o.on("abloop",function(e,t,o){f=o,t.playing||n()}),jQuery(".sharing-link",a).on("click",function(e){e.preventDefault(),fv_player_clipboard(jQuery(this).attr("href"),function(){fv_player_notice(a,fv_flowplayer_translations.link_copied,2e3)},function(){fv_player_notice(a,fv_flowplayer_translations.error_copy_clipboard,2e3)})})),o.get_video_link=function(){return c}}),jQuery(document).on("click",'a[href*="fvp_"]',function(){var e=jQuery(this);setTimeout(function(){0==e.parents(".fvp-share-bar").length&&fv_autoplay_exec()})})),flowplayer(function(o,a){a=jQuery(a);var n=flowplayer.bean,r=flowplayer.conf.default_volume,i=(0==r&&(r="0.5"),a.on("mousedown touchstart",".fp-volumebtn",function(e){var t=jQuery(this);0==o.volumeLevel&&t.one("click",function(){return"dash"==o.engine.engineName&&o.mute(!1),o.volume(r),!1})}),a.on("mousedown touchstart mouseup touchend",".fp-volumebar",function(e){0!=o.volumeLevel&&(r=o.volumeLevel)}),o.on("volume",function(e,t){a.hasClass("is-mouseover")&&!t.muted&&0==t.volumeLevel&&(n.off(flowplayer.support.touch?a:document,"mousemove.sld touchmove.sld"),t.mute(!0))}),!1);function l(){a.removeClass("has-fp-message-muted"),a.find(".fp-message-muted").remove()}o.one("ready",function(e,t){a.hasClass("is-audio")||(i=!0)}),o.on("progress",function(e,t,o){i&&1<o&&(i=!1,(o=jQuery("root").find("video")).length&&!(o=o[0]).mozHasAudio&&!Boolean(o.webkitAudioDecodedByteCount)&&!Boolean(o.audioTracks&&o.audioTracks.length)||!t.muted&&0!=t.volumeLevel||"true"==localStorage.muted||"0"==localStorage.volume||((o=jQuery('<div class="fp-message fp-message-muted"><span class="fp-icon fp-volumebtn-notice"></span> '+fv_flowplayer_translations.click_to_unmute+"</div>")).on("click touchstart",function(){t.mute(!1),t.volume(1)}),a.find(".fp-ui").append(o),a.addClass("has-fp-message-muted"),setTimeout(l,1e4)))}),o.on("mute volume",function(){(!o.muted||0<o.volumeLevel)&&l()})}),"undefined"!=typeof flowplayer&&(fv_player_warning=function(e,t,o){var a=jQuery(e).prev(".fv-player-warning-wrapper");0==a.length&&(jQuery(e).before('<div class="fv-player-warning-wrapper">'),a=jQuery(e).prev(".fv-player-warning-wrapper")),0==a.find(".fv-player-warning-"+o).length&&(e=jQuery("<p style='display: none' "+(o?" class='fv-player-warning-"+o+"'":"")+">"+t+"</p>"),a.append(e),e.slideDown())},flowplayer(function(t,a){a=jQuery(a),navigator.userAgent.match(/iPhone.* OS [0-6]_/i)&&t.one("progress",function(e){void 0!==t.video.subtitles&&t.video.subtitles.length&&fv_player_warning(a,fv_flowplayer_translations.warning_iphone_subs)}),flowplayer.support.android&&flowplayer.support.android.version<5&&(flowplayer.support.android.samsung||flowplayer.support.browser.safari)&&fv_player_warning(a,fv_flowplayer_translations.warning_unstable_android,"firefox"),/Android 4/.test(navigator.userAgent)&&!/Firefox/.test(navigator.userAgent)&&(t.on("ready",function(e,t,o){setTimeout(function(){o.src&&o.src.match(/fpdl.vimeocdn.com/)&&(0==o.time||1==o.time)&&(fv_player_warning(a,fv_flowplayer_translations.warning_unstable_android,"firefox"),t.on("progress",function(e,t){a.prev().find(".fv-player-warning-firefox").remove()}))},1500)}),t.on("error",function(e,t,o){2==o.MEDIA_ERR_NETWORK&&o.video.src.match(/fpdl.vimeocdn.com/)&&fv_player_warning(a,fv_flowplayer_translations.warning_unstable_android,"firefox")})),/Safari/.test(navigator.userAgent)&&/Version\/5/.test(navigator.userAgent)&&t.on("error",function(e,t,o){o.video.src.match(/fpdl.vimeocdn.com/)&&fv_player_warning(a,fv_flowplayer_translations.warning_old_safari)});var e=flowplayer.support;e.android&&(e.android.samsung&&parseInt(e.browser.version)<66||e.browser.safari)&&t.on("error",function(e,t,o){fv_player_warning(a,fv_flowplayer_translations.warning_samsungbrowser,"warning_samsungbrowser")})}));