Server IP : 162.0.232.140 / Your IP : 18.226.163.178 Web Server : LiteSpeed System : Linux premium139.web-hosting.com 4.18.0-513.24.1.lve.2.el8.x86_64 #1 SMP Fri May 24 12:42:50 UTC 2024 x86_64 User : micrcvoy ( 740) PHP Version : 8.1.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/micrcvoy/public_html/uploads/slider/fb/en/maroc/ |
Upload File : |
if (self.CavalryLogger) { CavalryLogger.start_js(["d925L"]); } __d("VideoPlayerFormatsMap",[],(function(a,b,c,d,e,f){e.exports={topic_live:"inline",live_map:"inline",live_map_sidebar:"inline",live_map_listview:"inline",live_map_tooltip:"inline",live_map_tooltip_from_listview:"inline",live_map_tooltip_from_map:"inline",video_home_inline:"inline",inline:"inline",chained:"inline",page_live_video_module:"inline",chained_suggestion:"inline",embedded_video:"inline",embedded_video_preview:"inline",embedded_video_from_ufi:"inline",ufi_comment_attachment:"inline",media_collage:"inline",media_viewer:"inline",channel:"channel",watch:"watch",permalink:"permalink",snowlift:"snowlift",tv:"tv",watch_scroll:"watch_scroll",continue_watching_recommendation:"inline",tahoe:"tahoe",search_live_video_module:"inline",videohub_live:"inline",camera_post:"fb_stories",pages_cover:"inline",video_page_spotlight_unit:"inline",pages_cover_hover:"inline",pages_messaging_video:"inline",profile_overview:"inline",profile_cover:"inline",memory_leak_test:"inline",games_video_home_streamer_hub:"inline",games_video_live_recommendation:"inline",games_video_search_unit:"inline",games_video_streamer_unit:"inline",trivia_game_admin_dashboard:"misc",games_streamer_dashboard:"inline",games_video_clips_home:"inline",games_video_clips_home_immersive_player:"inline",ads_preview:"inline",discover:"inline",business_feed:"inline",sotto_consideration_page:"inline",series_card:"inline",video_list:"inline",video_home_thumbnail_preview:"inline",work_captions_review:"inline",live_pyml:"inline",serp_thumbnail_preview:"inline",linear_channel:"inline",events_cover:"inline",fundraiser_cover:"inline",video_wall:"inline",live_clips_creator:"inline",live_evergreen_qp:"inline",messenger_cowatch:"inline",ads:null,animated_image_share:null,asset:null,aymt:null,ballot:null,biz_art:null,broadcast_request_attachment:null,candidate_videos:null,catalog_manager:null,channel_tab:null,commerce_manager:null,corporate_card_application:null,cowatch:null,cricket_matches_aggregation:null,creator_studio_stars_cue_insertion_preview:null,dim_sum:null,embedded:null,embedded_page_plugin:null,entry_point:null,events_live_cta:null,events_live_video_section:null,gameroom_live_video_hero_banner:null,gameroom_live_video_tab:null,gameroom_live_video_thumbnail:null,games_arena_hero:null,games_arena_videos_tab:null,games_feed_story_header:null,games_verse_destination:null,games_video_clips_home_top_clips:null,games_video_clips_home_my_clips:null,games_video_community_feed:null,games_video_explore_home:null,games_video_home:null,games_video_home_hero:null,games_video_single_game:null,games_video_top_weekly_clips_streamer_page:null,games_video_thumbnail_preview:null,games_video_highlighted_clips_streamer_page:null,games_video_social_plugin:null,games_video_hub:null,games_video_hub_redirect_notification:null,games_video_hub_redirect_unknown:null,games_video_qp_recommended_live:null,games_video_qp_us_recommended_live:null,games_video_mixer_us_qp_recommended_live:null,games_video_home_left_rail:null,games_video_home_see_all:null,games_video_home_streamer_hub_hero:null,group_live_video_module:null,groups_cover:null,goodwill_product_system:null,html5:null,inline_end_screen:null,insights:null,intern_crm_call_recording:null,intern_curation:null,intern_example:null,issues_module:null,live_beeper:null,live_control_panel:null,live_hero:null,live_linear:null,live_map_tooltip_from_webgl:null,live_page_upcoming_next_unit:null,live_producer:null,live_rhc:null,live_shopping:null,live_gaming_rhc:null,live_video_broadcast:null,live_video_preview:null,live_msite:null,living_room:null,living_room_commentating:null,living_room_recap_fullscreen:null,living_room_recap_inline:null,lookback:null,media_sync:null,messaging:null,messenger_thread:null,misc:null,mobile:null,movies_recommended_movies_qp:null,not_specified_please_fix:null,offers_detail:null,oculus_games:null,oculus_hub:null,oculus_recommended_video_unit:null,page_live_tab:null,page_roles:null,page_timeline_live_card:null,page_timeline_live_now_dialog:null,pages_finch_main_video:null,pages_finch_thumbnail_video:null,pages_finch_trailer:null,pages_video_set:null,pages_timeline_pages_cover:null,pages_home_hero:null,video_page_video_list:null,pages_home_pmv_unit:null,people_portal:null,pmv_top_chart_cta:null,profile_video:null,profile_video_hovercard:null,profile_video_thumb:null,profile_plus_video_tab:null,profile_plus_videos_card:null,profile_plus_live_card:null,profile_plus_popular_video_card:null,proton:null,report_flow:null,review:null,robotics_rtc_page:null,robotics_tour_guide_page:null,serp_videos_tab:null,slideshow:null,stories_video_preview:null,srt_review:null,topic_channel_living_room:null,topic_gaming:null,trailer_og_attachment:null,trailer_timeline_collections:null,trailer_timeline_unit:null,user_video_tab:null,video_copyright_preview:null,video_home_catalog:null,topic_sports:null,topic_cricket:null,explore:null,video_home_channel:null,watchlist:null,video_home_cricket:null,video_home_rainbow_qp:null,video_inline_chaining:null,videohub_featured:null,videohub_playlist:null,live_autoplay_watch_and_scroll:null,video_page_unspecified:null,spotlight_live:null,spotlight_featured:null,spotlight_popular:null,spotlight_unknown:null,videos_card:null,videos_tab:null,playlists_tab:null,playlists_card:null,playlist_page:null,redirected_watch_serp:null,shows_catalog:null,sotto_catalog:null,results:null,watch_history:null,serp_inline_player:null,music_home:null,music_home_deeplink:null,music_home_entry_aggregation:null,music_home_internal_bookmark:null,music_home_newsfeed_attachment:null,music_home_newsfeed_attachment_trending:null,music_home_notification:null,music_home_qp:null,music_home_qp_overlay_header:null,music_home_search_shortcut:null,music_home_serp:null,music_home_springboard_unit:null,music_home_stations_qp:null,music_home_tappable_edge_header:null,music_home_third_party_pivot:null,music_home_unknown:null,music_home_watch_cue:null,music_home_watch_cue_artist:null,music_home_watch_cue_trending:null,music_home_watch_pill:null,music_home_watch_search:null,music_home_watch_stations_unit:null,music_home_watch_surface_promotion_pill:null,music_videos_playlists_card:null,music_videos_featuring_artist_card:null,music_weekly_chart:null,media_match_service:null,morc_console:null,workplace_insights:null,work_video_qp:null,work_top_of_feed_unit:null,watch_casting_qp:null}}),null); __d("VideoQualityClassInternal",[],(function(a,b,c,d,e,f){e.exports={orderedValues:["sd","hd","uhd"]}}),null); __d("dispatchEvent",[],(function(a,b,c,d,e,f){function b(b,c){var d;typeof a.Event==="function"?d=new a.Event(c):(d=a.document.createEvent("Event"),d.initEvent(c,!0,!0));b.dispatchEvent(d)}e.exports=b}),null); __d("VideoQualityClasses",["VideoQualityClassInternal"],(function(a,b,c,d,e,f){e.exports=b("VideoQualityClassInternal").orderedValues}),null); __d("VideoData",["invariant"],(function(a,b,c,d,e,f,g){a=function(){"use strict";function a(a){this.$1=a||{aspect_ratio:0,original_height:0,original_width:0,video_id:""}}var b=a.prototype;b.hasHD=function(){return!!this.$1.hd_src};b.getP2PSettings=function(){return this.$1.p2p_settings};b.getEncodingTag=function(){return this.$1.encoding_tag};b.getContentCategory=function(){return this.$1.content_category};b.getVideoID=function(){return this.$1.video_id};b.getVideoURL=function(){return this.$1.video_url};b.getAspectRatio=function(){return this.$1.aspect_ratio};b.getRotation=function(){return this.$1.rotation||0};b.getCaptionsAutogeneratedIndicatorConfig=function(){return this.$1.captions_autogenerated_indicator_config};b.hasSubtitles=function(){return!!this.$1.subtitles_src};b.hasDashManifest=function(){return!!this.$1.dash_manifest};b.getDashManifest=function(){return this.$1.dash_manifest};b.getDashPrefetchedRepresentationIDs=function(){return this.$1.dash_prefetched_representation_ids};b.getSubtitlesSrc=function(){this.$1.subtitles_src||g(0,1109);return this.$1.subtitles_src};b.getPlayableSrcSD=function(){return this.$1.sd_src_no_ratelimit?this.$1.sd_src_no_ratelimit:this.getPlayableSrcRateLimitedSD()};b.getPlayableSrcHD=function(){return this.$1.hd_src_no_ratelimit?this.$1.hd_src_no_ratelimit:this.getPlayableSrcRateLimitedHD()};b.getPlayableSrcRateLimitedSD=function(){return this.$1.sd_src};b.getPlayableSrcRateLimitedHD=function(){return this.$1.hd_src};b.getLiveManifestUrl=function(){this.isLiveStream()||g(0,1110);return this.getPlayableSrcRateLimitedSD()};b.hasRateLimit=function(){return!!this.$1.sd_src_no_ratelimit};b.getStreamType=function(){this.$1.stream_type||g(0,1111);return this.$1.stream_type};b.isBroadcast=function(){return!!this.$1.is_broadcast};b.isServableViaFbms=function(){return!!this.$1.is_servable_via_fbms};b.isLiveStream=function(){return!!this.$1.is_live_stream};b.isHls=function(){return!!this.$1.is_hls};b.isGaming=function(){return this.$1.content_category==="gaming"};b.isLowLatency=function(){return!!this.$1.is_low_latency};b.getDesiredLatencyMs=function(){return this.$1.desired_latency_ms};b.getLatencyToleranceMs=function(){return this.$1.latency_tolerance_ms};b.isPredictiveDash=function(){return!!this.$1.is_predictive_dash};b.isFacecastAudio=function(){return!!this.$1.is_facecast_audio};b.liveRoutingToken=function(){return this.$1.live_routing_token};b.getHDTag=function(){return this.$1.hd_tag};b.getSDTag=function(){return this.$1.sd_tag};b.getProjection=function(){return this.$1.projection};b.getPlayerVersionOverwrite=function(){return this.$1.player_version_overwrite};b.getFalloverData=function(){var b=this.$1.fallover_data;return b?b.map(function(b){return new a(b)}):[]};b.getSphericalConfig=function(){return this.$1.spherical_config};b.isSpherical=function(){return!!this.$1.is_spherical};b.getOriginalHeight=function(){return this.$1.original_height};b.getOriginalWidth=function(){return this.$1.original_width};b.getOverrideConfig=function(){return this.$1.override_config};b.getRawData=function(){return this.$1};b.getPrefetchCache=function(){return this.$1.prefetch_cache};b.getWidevineCert=function(){return this.$1.widevine_cert};b.getFairplayCert=function(){return this.$1.fairplay_cert};b.getDRMHelper=function(){var a;return(a=this.$1)==null?void 0:(a=a.extra_drm_info)==null?void 0:a.drm_helper};b.getGraphApiVideoLicenseUri=function(){var a;return(a=this.$1)==null?void 0:(a=a.extra_drm_info)==null?void 0:a.graph_api_video_license_uri};b.getVideoLicenseUriMap=function(){var a;return(a=this.$1)==null?void 0:(a=a.extra_drm_info)==null?void 0:a.video_license_uri_map};b.isLiveTraceEnabledOnPlayer=function(){return!!this.$1.is_live_trace_enabled_on_player};b.getManifestServiceParam=function(){var a;return(a=this.$1)==null?void 0:a.ms_param};return a}();e.exports=a}),null); __d("VideoPlayerApiEvents",[],(function(a,b,c,d,e,f){a=["buffered","buffering","bufferingProgress","beginPlayback","updateStatus","logEvent","pausePlayback","playbackNotAllowed","clickVideo","clickForTracking","finishPlayback","unmuteVideo","muteVideo","changeVolume","turnOffAutoplay","updateBuffer","updateMetadata","qualityChange","updateViewportBegin","updateViewportMove","updateViewportEnd","dimensionsChange","viewportChange","wheelScroll","error","loadedSubtitles","toggleSubtitles","captionsAvailabilityChanged","toggleFullscreen","seekEnd","seekRangeChanged","streamInterrupted","streamResumed","networkInterrupted","networkResumed","debug/dashPlayerEvent","abortedLoading","restoringAfterAbort","restoredAfterAbort","sphericalOrientationChange","videoNodeStaled","replicaSwitch","initialLiveManifestRequestFailure"];e.exports=a}),null); __d("VideoPlayerWindowUtils",[],(function(a,b,c,d,e,f){a={WebKitMediaKeys:window.WebKitMediaKeys};e.exports=a}),null); __d("getErrorMessageFromMediaErrorCode",[],(function(a,b,c,d,e,f){"use strict";function a(a){switch(a){case 1:return"The fetching process for the media resource was aborted by the user agent at the users request.";case 2:return"A network error of some description caused the user agent to stop fetching the media resource, after the resource was established to be usable.";case 3:return"An error of some description occurred while decoding the media resource, after the resource was established to be usable.";case 4:return"The media resource indicated by the src attribute was not suitable."}return null}e.exports=a}),null); __d("getErrorNameFromMediaErrorCode",[],(function(a,b,c,d,e,f){"use strict";function a(a){switch(a){case 1:return"MEDIA_ERR_ABORTED";case 2:return"MEDIA_ERR_NETWORK";case 3:return"MEDIA_ERR_DECODE";case 4:return"MEDIA_ERR_SRC_NOT_SUPPORTED";default:return"MEDIA_ERR_UNKNOWN_"+((a=a)!=null?a:"UNDEFINED")}}e.exports=a}),null); __d("VideoPlaybackQuality",[],(function(a,b,c,d,e,f){function a(a){if(typeof a.getVideoPlaybackQuality==="function")return a.getVideoPlaybackQuality().droppedVideoFrames;a=a.webkitDroppedFrameCount;return typeof a==="number"?a:0}function b(a){if(typeof a.getVideoPlaybackQuality==="function")return a.getVideoPlaybackQuality().totalVideoFrames;a=a.webkitDecodedFrameCount;return typeof a==="number"?a:0}e.exports={getDroppedFrames:a,getTotalFrames:b}}),null); __d("CVCv3DisabledPlayerOrigins",[],(function(a,b,c,d,e,f){e.exports=Object.freeze({BEEPER:"beeper",FB_STORIES:"fb_stories"})}),null); __d("CVCv3DisabledPlayerSubOrigins",[],(function(a,b,c,d,e,f){e.exports=Object.freeze({LIVE_BEEPER:"live_beeper"})}),null); __d("CVCv3SubscriptionHelper",["DateConsts","guid"],(function(a,b,c,d,e,f){"use strict";a=function(){function a(a,c,d){this.$1=a;this.$2=b("guid")();this.$3=((a=c)!=null?a:"null")+"::"+((c=d)!=null?c:"null");this.$4=null;this.$5=null}var c=a.prototype;c.isValidSubscription=function(){return!!this.$1};c.makeCVCv3StateUpdate=function(a,c,d,e){var f=null;a!=null&&!Number.isNaN(a)&&c!=null&&!Number.isNaN(c)&&(f={m:e,pf:Math.floor((c-a)*b("DateConsts").MS_PER_SEC),s:d,sa:Math.floor(a*b("DateConsts").MS_PER_SEC)});e={pps:this.$4,ps:f,si:this.$2,so:this.$3,vi:this.$1};this.$4=f;return e};c.makeUnifiedVideoCVCUpdate=function(a,b,c,d,e){a=this.makeCVCv3StateUpdate(a,b,c,d);this.$5!=null&&(a.tk=this.$5);return Object.assign({},a,e)};c.processUnifiedResponse=function(a){a=a;this.$5=a.tk;return a};c.clearAnyPreviousContext=function(){this.$4=null};return a}();e.exports=a}),null); __d("XVideoUnifiedCVCController",["XController"],(function(a,b,c,d,e,f){e.exports=b("XController").create("/video/unified_cvc/",{})}),null); __d("DelegatedVideoPriorityAdjuster",[],(function(a,b,c,d,e,f){"use strict";a=function(){function a(){this.$1=function(){},this.$2=0}var b=a.prototype;b.setOnPriorityChanged=function(a){this.$1=a};b.getPriorityAdjustment=function(){return this.$2};b.notifyAdjustment=function(a){if(this.$2===a)return;this.$2=a;this.$1(this.$2)};b.cleanup=function(){this.$1=function(){}};return a}();e.exports=a}),null); __d("LiveVideoCopyrightActionQueryWebGraphQLQuery",["WebGraphQLQueryBase"],(function(a,b,c,d,e,f){"use strict";e.exports=function(a){babelHelpers.inheritsLoose(b,a);function b(){return a.apply(this,arguments)||this}b.__getDocID=function(){return"2145232792194057"};b.getQueryID=function(){return"2180375868916621"};return b}(b("WebGraphQLQueryBase"))}),null); __d("MediaController",["EventEmitter","Style"],(function(a,b,c,d,e,f){a=function(a){"use strict";babelHelpers.inheritsLoose(c,a);function c(){return a.apply(this,arguments)||this}var d=c.prototype;d.getRootNode=function(){return this.$MediaController1};d.setDimensions=function(a,c){var d=this.getRootNode();b("Style").apply(d,{width:a+"px",height:c+"px"})};d.getMediaID=function(){return this.$MediaController2};d.isLiveVideo=function(){return!1};d.isVideo=function(){return!1};return c}(b("EventEmitter"));e.exports=a}),null); __d("SphericalVideoPlayerEvents",[],(function(a,b,c,d,e,f){e.exports={SET_RELATIVE_SPHERICAL_ORIENTATION:"setRelativeSphericalOrientation",SET_ABSOLUTE_SPHERICAL_ORIENTATION:"setAbsoluteSphericalOrientation",SET_FIELD_OF_VIEW:"setFieldOfView",SET_VIDEO_PROJECTION:"setVideoProjection",SET_STEREO_MODE:"setStereoMode",SET_PARTIAL_LIMITS:"setPartialLimits",SET_VIEWPORT_CONTROL_CONFIG:"setViewportControlConfig"}}),null); __d("VideoChannelViewChainLengthManager",["guid"],(function(a,b,c,d,e,f){var g=function(){"use strict";function a(a){this.$1=b("guid")(),this.$2=0,this.$3=a,this.$4={},this.$4[a]=0,this.$5=a}var c=a.prototype;c.registerVideoID=function(a){this.$4[a]===void 0&&(this.$2++,this.$4[a]=this.$2),this.$5=a};c.getSessionID=function(){return this.$1};c.getCurrentChainLength=function(){return this.$4[this.$5]!==void 0?this.$4[this.$5]:null};return a}(),h={};a={_ensureSessionID:function(a){a=a.toString(),h[a]||(h[a]=new g(a))},getLoggingData:function(a){a&&(a=a.toString());a=h&&h[a];return!a?{video_chaining_depth_level:null,video_chaining_session_id:null}:{video_chaining_depth_level:a.getCurrentChainLength(),video_chaining_session_id:a.getSessionID()}},registerChainingInfos:function(a,b){var c=a;if(b){b=b.decode();b.root_id&&(c=b.root_id)}c&&(c=c.toString());this.registerVideoID(c,a)},registerVideoID:function(a,b){a=a.toString(),this._ensureSessionID(a),h[a].registerVideoID(b)}};e.exports=a}),null); __d("VideoControllerPlayingStateEmitter",["EventEmitter","SubscriptionsHandler"],(function(a,b,c,d,e,f){"use strict";a=function(a){babelHelpers.inheritsLoose(c,a);function c(b){var c;c=a.call(this)||this;c.$VideoControllerPlayingStateEmitter2=null;c.$VideoControllerPlayingStateEmitter3=b;return c}var d=c.prototype;d.enable=function(){var a=this;this.$VideoControllerPlayingStateEmitter4().addSubscriptions(this.$VideoControllerPlayingStateEmitter3.addListener("stateChange",function(){var b=a.$VideoControllerPlayingStateEmitter2;a.$VideoControllerPlayingStateEmitter2=a.$VideoControllerPlayingStateEmitter3.getState();if(a.$VideoControllerPlayingStateEmitter2===b)return;a.$VideoControllerPlayingStateEmitter5(a.$VideoControllerPlayingStateEmitter2)}));this.$VideoControllerPlayingStateEmitter2=this.$VideoControllerPlayingStateEmitter3.getState();this.$VideoControllerPlayingStateEmitter5(this.$VideoControllerPlayingStateEmitter2)};d.setOnPlaying=function(a){this.$VideoControllerPlayingStateEmitter4().addSubscriptions(this.addListener("play",a))};d.setOnPaused=function(a){this.$VideoControllerPlayingStateEmitter4().addSubscriptions(this.addListener("pause",a))};d.disable=function(){this.$VideoControllerPlayingStateEmitter2=null,this.$VideoControllerPlayingStateEmitter1&&(this.$VideoControllerPlayingStateEmitter1.release(),this.$VideoControllerPlayingStateEmitter1=null)};d.$VideoControllerPlayingStateEmitter4=function(){this.$VideoControllerPlayingStateEmitter1||(this.$VideoControllerPlayingStateEmitter1=new(b("SubscriptionsHandler"))());return this.$VideoControllerPlayingStateEmitter1};d.$VideoControllerPlayingStateEmitter5=function(a){a==="playing"?this.emit("play"):a==="paused"&&this.emit("pause")};return c}(b("EventEmitter"));e.exports=a}),null); __d("LiveTraceWwwVideoPlayerFalcoEvent",["FalcoLoggerInternal","getSamplingPolicyConfig_DO_NOT_USE"],(function(a,b,c,d,e,f){"use strict";a=b("getSamplingPolicyConfig_DO_NOT_USE")("falco","live_trace_www_video_player");c=b("FalcoLoggerInternal").create(a);e.exports=c}),null); __d("VideoLiveTrace",["LiveTraceWwwVideoPlayerFalcoEvent","gkx","throttle"],(function(a,b,c,d,e,f){var g="x-fb-video-livetrace-ids",h="x-fb-video-livetrace-parentsource",i="x-fb-video-livetrace-streamtype",j="x-fb-origin-hit",k="x-fb-edge-hit",l="PLY:WWW:",m=l+"DL:",n=l+"DIS:",o=1e3,p=/[\r\n]+/;a=function(){"use strict";function a(a,c,d){var e=this;this.$6=[];this.$1=a;this.$2=null;a=d+":"+c.substring(0,5);this.$3=l+a;this.$4=m+a;this.$5=n+a;this.$7=b("throttle")(function(a){return e.$8(a)},o)}var c=a.prototype;c.setStreamType=function(a){this.$2=a};c.$9=function(a,c,d,e,f,g){var h,i=this,j=Date.now(),k=(h=this.$2)!=null?h:0;b("LiveTraceWwwVideoPlayerFalcoEvent").log(function(){return{stream_id:i.$1,stream_type:k,event_name:c,event_severity:f,event_creation_time:j,source:a,trace_id:d,parent_source:e,metadata:g}})};c.onUpdateStatus=function(a){this.$7(a)};c.$8=function(a){a=a.position*1e3;for(var c=this.$6.length-1;c>=0&&this.$6[c].presentationTimestamp<=a;c--){var d=this.$6[c];b("gkx")("1653233")||this.$6.splice(c,1);if(d.displayTimestamp==null)d.displayTimestamp=Date.now();else continue;this.$9(this.$5,"FRAME",d.traceId,this.$4,"SUCCESS",null)}};c.getAndFlushTracedFrames=function(){var a;if(!b("gkx")("1653233"))return null;var c={currentTimeMs:Date.now(),streamId:this.$1},d={dl:[],dis:[]},e=[];this.$6.forEach(function(a){a.hasBeenFlushedAsDownloaded||(d.dl.push({id:a.traceId,timeMs:a.downloadTimestamp}),a.hasBeenFlushedAsDownloaded=!0),a.displayTimestamp!=null?d.dis.push({id:a.traceId,timeMs:a.displayTimestamp}):e.push(a)});this.$6=e;c[(a=this.$2)!=null?a:0]=d;return d.dl.length>0||d.dis.length>0?c:null};c.handleHeadersString=function(a,b){a=a.trim().split(p);this.$10(a.map(function(a){a=a.split(": ");return[a.shift().toLowerCase(),a.shift()]}),b)};c.handleHeaders=function(a,b){var c=[];for(var a=a.entries(),d=Array.isArray(a),e=0,a=d?a:a[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]();;){var f;if(d){if(e>=a.length)break;f=a[e++]}else{e=a.next();if(e.done)break;f=e.value}f=f;c.push(f)}this.$10(c,b)};c.$10=function(a,b){var c=this,d="null",e=[],f=[],l="";a.forEach(function(a){var b=a[0].toLowerCase();a=a[1];if(b===g&&a){var m=a.split(",");m.forEach(function(a){a=a.split(":");var b=+a[0];a=+a[1];e.push(b);f.unshift({displayTimestamp:null,downloadTimestamp:Date.now(),hasBeenFlushedAsDownloaded:!1,presentationTimestamp:a,traceId:b})})}b===h&&(l=a);c.$2===null&&b===i&&(c.$2=parseInt(a,10));(b===j||b===k)&&parseInt(a,10)&&(d=b===j?"origin":"edge")});var m=b||{};m.hit=d;f.length&&l!==""&&(this.$6=f.concat(this.$6));if(e.length&&l!==""){var n=l;e.forEach(function(a){return c.$9(c.$4,"SEGMENT",a,n,"SUCCESS",m)})}};c.handleXHR=function(a,b){this.handleHeadersString(a.getAllResponseHeaders(),b)};c.getLiveTraceContext=function(){return{streamId:this.$1,streamType:this.$2||0,sourceId:this.$3}};return a}();e.exports=a}),null); __d("VideoMimeTypes",[],(function(a,b,c,d,e,f){function a(a,b,c){return a+'; codecs="'+b+", "+c+'"'}f="mp4a.40.2";function b(a){return"avc1.42E0"+a.toString(16).toUpperCase()}function c(a){return"avc1.4D40"+a.toString(16).toUpperCase()}function d(a){return"avc1.6400"+a.toString(16).toUpperCase()}var g="video/mp4";b={h264baseline:a(g,b(30),f),h264main30avc:a(g,c(30),f),h264main31avc:a(g,c(31),f),h264high50avc:a(g,d(50),f),h264high51avc:a(g,d(51),f)};e.exports=b}),null); __d("VideoPlayerABRQualityTracker",[],(function(a,b,c,d,e,f){a=function(){"use strict";function a(a){this.$1=a,this.$2=null}var b=a.prototype;b.setLastQualitySwitchReason=function(a){this.$2=a};b.getABREvaluation=function(){var a=[];this.$1&&(a=this.$1.flushABREvaluationSet());var b=0,c=0,d=0,e=0,f=this.$2;for(var g=0;g<a.length;g++)switch(a[g]){case"ideal":b++;break;case"conservative":c++;break;case"aggressive":d++;break;case"conservative_resolution_constrained":e++;break}return{idealSamples:b,conservativeSamples:c,aggressiveSamples:d,conservativeResolutionConstrainedSamples:e,lastQualitySwitchReason:f}};return a}();e.exports=a}),null); __d("getVideoBrowserTabId",["guid"],(function(a,b,c,d,e,f){e.exports=a;var g=b("guid")().slice(-8);function a(){return g}}),null); __d("R2D2VideoMetadata",["getVideoBrowserTabId","uuid"],(function(a,b,c,d,e,f){var g=1e3,h=10;a=function(){function a(a){this.$1=a.video_id,this.$2=a.ad_client_token,this.$3=a.player_origin,this.$4=a.player_instance_key,this.$6=parseInt(a.playback_duration*g,h),this.$5=b("uuid")()}var c=a.prototype;c.toJSON=function(){return{video_id:this.$1,ad_client_token:this.$2,player_origin:this.$3,player_instance_key:this.$4,r2d2_session_id:this.$5,duration_ms:this.getDurationMs(),browser_tab_id:b("getVideoBrowserTabId")()}};c.getVideoId=function(){return this.$1};c.getDurationMs=function(){return parseInt(this.$6,h)};c.setDurationMs=function(a){this.$6=a};return a}();e.exports=a}),null); __d("R2D2VideoEventValidationSummary",[],(function(a,b,c,d,e,f){a=function(){function a(){this.$2=0,this.$1=new Map()}var b=a.prototype;b.addEvent=function(a){this.$1.has(a)||this.$1.set(a,0);var b=this.$1.get(a);this.$1.set(a,b+1);this.$2++};b.getEvents=function(){return this.$1};b.getEventsCount=function(){return this.$2};b.toJSON=function(){var a={},b=[];this.$1.forEach(function(c,d){a[d]=c,b.push(d)});return{events_count:JSON.stringify(a),events_name:"['"+b.join("','")+"']"}};return a}();e.exports=a}),null); __d("R2D2VideoWatchTimeSegment",[],(function(a,b,c,d,e,f){a=function(){function a(a,b){this.$1=a,this.$2=b}var b=a.prototype;b.getStartTimeMs=function(){return this.$1};b.getEndTimeMs=function(){return this.$2};return a}();e.exports=a}),null); __d("R2D2VideoState",["R2D2VideoWatchTimeSegment"],(function(a,b,c,d,e,f){a=function(){function a(a,b){this.$1=a,this.$2=b,this.reset()}var c=a.prototype;c.startPlaying=function(a){this.$3||(this.$3=!0,this.$6=a,this.$4||(this.$7=a))};c.stopPlaying=function(a){this.$3&&(this.$3=!1,this.addPlaySegment(this.$6,a),this.$4||this.addPlaySegmentWithSound(this.$7,a))};c.addPlaySegmentHelper=function(a,c,d){if(c>=d)return;d=new(b("R2D2VideoWatchTimeSegment"))(c,d);var e=!1;for(var f=0;f<a.length;f++)if(a[f].getStartTimeMs()>c){a.splice(f,0,d);e=!0;break}e||a.push(d)};c.addPlaySegment=function(a,b){this.addPlaySegmentHelper(this.$8,a,b)};c.addPlaySegmentWithSound=function(a,b){this.addPlaySegmentHelper(this.$9,a,b)};c.setFinishedPlaying=function(){this.$5=!0};c.getFinishedPlaying=function(){return this.$5};c.setMuted=function(a){this.$4||(this.$4=!0,this.$3&&this.addPlaySegmentWithSound(this.$7,a))};c.setUnmuted=function(a){this.$4&&(this.$4=!1,this.$7=a)};c.getVideoId=function(){return this.$1};c.getDurationMs=function(){return this.$2};c.setDurationMs=function(a){this.$2=a};c.getWatchedSegments=function(){return this.$8};c.getWatchedSegmentsWithSound=function(){return this.$9};c.reset=function(){this.$3=!1,this.$4=!0,this.$5=!1,this.$6=0,this.$7=0,this.$8=[],this.$9=[]};return a}();e.exports=a}),null); __d("R2D2VideoSession",["R2D2VideoState","R2D2VideoEventValidationSummary"],(function(a,b,c,d,e,f){var g=1e3,h=90*60*1e3;a=function(){function a(a,c,d){this.$4=new(b("R2D2VideoState"))(a.getVideoId(),a.getDurationMs()),this.$5=c,this.$6=d,this.$7=a,this.$8=[],this.$3=!1,this.$9=new(b("R2D2VideoEventValidationSummary"))()}var c=a.prototype;c.addEvent=function(a,b){if(this.$10(a,b))return;this.$11(b);this.$5.processEvent(a,b,this.$4);this.$2=new Date();this.$3=!0;this.$9.addEvent(a);this.$12(a,b)};c.$11=function(a){a=a.playback_duration*g;this.$7.setDurationMs(a);this.$4.setDurationMs(a)};c.$12=function(a,b){var c={};c.Name=a;c.ClientTime=new Date();c.seq_num=b.seq_num;c.video_time_position=b.video_time_position;b.video_last_start_time_position!==void 0&&(c.video_last_start_time_position=b.video_last_start_time_position);this.$8.push(c)};c.$10=function(a,b){if(this.$8.length<1)return!1;var c=this.$8[this.$8.length-1];return c.Name===a&&c.video_time_position==b.video_time_position};c.hasUpdates=function(){return this.$3};c.hasExpired=function(){return this.$2.getTime()<=Date.now()-h};c.recalculateDelta=function(){var a=this.$6.getVideoStateSummary(this.$4),b=this.$6.calculateDelta(a,this.$1);this.$8.forEach(function(a){b.addDebugInfo(a)});this.$8=[];this.$1=a;this.$3=!1;return b};c.getMetadata=function(){return this.$7};c.getDebugInfo=function(){return this.$8};c.getEventValidationSummary=function(){return this.$9};c.getStateVideoDurationMsForTesting=function(){return this.$4.getDurationMs()};return a}();e.exports=a}),null); __d("R2D2VideoStateMachine",[],(function(a,b,c,d,e,f){var g=1e3;a=function(){function a(){}var b=a.prototype;b.processEvent=function(a,b,c){switch(a){case"started_playing":case"unpaused":c.startPlaying(b.video_time_position*g);break;case"finished_playing":c.stopPlaying(b.video_time_position*g);c.setFinishedPlaying();break;case"paused":c.stopPlaying(b.video_time_position*g);break;case"muted":c.setMuted(b.video_time_position*g);break;case"unmuted":c.setUnmuted(b.video_time_position*g);break}};return a}();e.exports=a}),null); __d("R2D2FinishCountMetric",[],(function(a,b,c,d,e,f){var g="finish_count";a=function(){function a(){}var b=a.prototype;b.compute=function(a){return a.getFinishedPlaying()?1:0};b.computeDelta=function(a,b){return a-b};b.getMetricName=function(){return g};return a}();e.exports=a}),null); __d("R2D2UniqueTimeSpentMetric",[],(function(a,b,c,d,e,f){var g="unique_time_spent_ms";a=function(){function a(){}var b=a.prototype;b.compute=function(a){return this.$1(a)};b.computeDelta=function(a,b){return a-b};b.getMetricName=function(){return g};b.$1=function(a){var b=0,c=0;a=a.getWatchedSegments();for(var d=0;d<a.length;d++){var e=a[d],f=e.getEndTimeMs();if(f>b){f=Math.max(b,e.getStartTimeMs());c+=e.getEndTimeMs()-f;b=e.getEndTimeMs()}}f=10;return parseInt(c,f)};return a}();e.exports=a}),null); __d("R2D2PlayCountMetric",["R2D2UniqueTimeSpentMetric"],(function(a,b,c,d,e,f){var g="play_count";a=function(){function a(){}var c=a.prototype;c.compute=function(a){var c=new(b("R2D2UniqueTimeSpentMetric"))();return a.getWatchedSegments().length>0&&c.compute(a)>0?1:0};c.computeDelta=function(a,b){return a-b};c.getMetricName=function(){return g};return a}();e.exports=a}),null); __d("R2D2VideoPlayRetention0to15s",[],(function(a,b,c,d,e,f){var g="video_play_retention_0_to_15s",h=15,i=0,j=1e3;a=function(){function a(){}var b=a.prototype;b.compute=function(a){var b=new Array(h-i+1);b.fill(0);a=a.getWatchedSegments();var c=10;for(var d=0;d<a.length;d++){var e=parseInt(a[d].getStartTimeMs()/j,c),f=parseInt(a[d].getEndTimeMs()/j,c);for(var e=e;e<=f;e++)if(e>=i&&e<=h)b[e-i]=1;else if(e>h)break}return b};b.computeDelta=function(a,b){var c=[];if(a.length!==b.length)return c;for(var d=0;d<a.length;d++)c.push(a[d]-b[d]);return c};b.getMetricName=function(){return g};return a}();e.exports=a}),null); __d("R2D2VideoStateSummary",[],(function(a,b,c,d,e,f){a=function(){function a(){this.$2=[],this.$1=new Map()}var b=a.prototype;b.getMetricValue=function(a){a=this.$1.get(a);return a===null||a===void 0?null:a};b.setMetricValue=function(a,b){b!==null&&this.$1.set(a,b)};b.toJSON=function(){var a=this,b={};this.$1.forEach(function(c,d){b[d]=a.$3(c)});if(this.$2.length>0){var c="debug_details";b[c]=JSON.stringify(this.$2)}return b};b.addDebugInfo=function(a){this.$2.push(a)};b.$3=function(a){return Array.isArray(a)?"["+a.toString()+"]":a};return a}();e.exports=a}),null); __d("R2D2MetricsHelper",[],(function(a,b,c,d,e,f){f.isPercentageCovered=a;function a(a,b,c){if(b===0)return!1;for(var d=0;d<c.length;d++){var e=c[d];if(e.getStartTimeMs()<=b*a&&e.getEndTimeMs()>=b*a)return!0}return!1}}),null); __d("R2D2ViewCountPercentage",["R2D2MetricsHelper"],(function(a,b,c,d,e,f){var g="view_count_";a=function(){function a(a){this.percentFactor=a}var c=a.prototype;c.compute=function(a){return b("R2D2MetricsHelper").isPercentageCovered(this.percentFactor/100,a.getDurationMs(),a.getWatchedSegments())?1:0};c.computeDelta=function(a,b){return a-b};c.getMetricName=function(){return g+this.percentFactor};return a}();e.exports=a}),null); __d("R2D2ViewCount100Metric",["R2D2ViewCountPercentage"],(function(a,b,c,d,e,f){var g=100;a=function(a){babelHelpers.inheritsLoose(b,a);function b(){return a.call(this,g)||this}return b}(b("R2D2ViewCountPercentage"));e.exports=a}),null); __d("R2D2ViewCount10Metric",["R2D2UniqueTimeSpentMetric"],(function(a,b,c,d,e,f){var g="true_view_count",h=10*1e3,i=.97;a=function(){function a(){}var c=a.prototype;c.compute=function(a){var c=new(b("R2D2UniqueTimeSpentMetric"))();return c.compute(a)>=h||a.getDurationMs()>0&&c.compute(a)>=a.getDurationMs()*i?1:0};c.computeDelta=function(a,b){return a-b};c.getMetricName=function(){return g};return a}();e.exports=a}),null); __d("R2D2ViewCount25Metric",["R2D2ViewCountPercentage"],(function(a,b,c,d,e,f){var g=25;a=function(a){babelHelpers.inheritsLoose(b,a);function b(){return a.call(this,g)||this}return b}(b("R2D2ViewCountPercentage"));e.exports=a}),null); __d("R2D2ViewCount50Metric",["R2D2ViewCountPercentage"],(function(a,b,c,d,e,f){var g=50;a=function(a){babelHelpers.inheritsLoose(b,a);function b(){return a.call(this,g)||this}return b}(b("R2D2ViewCountPercentage"));e.exports=a}),null); __d("R2D2ViewCount75Metric",["R2D2ViewCountPercentage"],(function(a,b,c,d,e,f){var g=75;a=function(a){babelHelpers.inheritsLoose(b,a);function b(){return a.call(this,g)||this}return b}(b("R2D2ViewCountPercentage"));e.exports=a}),null); __d("R2D2ViewCount95Metric",["R2D2ViewCountPercentage"],(function(a,b,c,d,e,f){var g=95;a=function(a){babelHelpers.inheritsLoose(b,a);function b(){return a.call(this,g)||this}return b}(b("R2D2ViewCountPercentage"));e.exports=a}),null); __d("R2D2ViewCountMetric",["R2D2UniqueTimeSpentMetric"],(function(a,b,c,d,e,f){var g="view_count",h=3e3,i=.97;a=function(){function a(){}var c=a.prototype;c.compute=function(a){var c=new(b("R2D2UniqueTimeSpentMetric"))();return c.compute(a)>=h||a.getDurationMs()>0&&c.compute(a)>=a.getDurationMs()*i?1:0};c.computeDelta=function(a,b){return a-b};c.getMetricName=function(){return g};return a}();e.exports=a}),null); __d("R2D2ViewCountRetentionGraphMetric",["R2D2ViewCountMetric"],(function(a,b,c,d,e,f){var g="retention_graph",h=4,i=40,j=1e3,k=10;a=function(){function a(){}var c=a.prototype;c.computeDelta=function(a,b){if(a.length!==b.length)return[];var c=[];for(var d=0;d<a.length;d++)c.push(a[d]-b[d]);return c};c.getMetricName=function(){return g};c.compute=function(a){var c=a.getDurationMs();if(!isFinite(c)||c<=0)return[];c=new(b("R2D2ViewCountMetric"))().compute(a);var d=a.getDurationMs(),e=parseInt(((d-1)/(j*h)+1)*h,k);e=Math.min(e,i);var f=new Array(e+1);f.fill(0);if(c==0)return f;c=a.getWatchedSegments();for(var a=0;a<c.length;a++){var g=c[a],l=parseInt(e*g.getStartTimeMs()/d,k);g=parseInt(e*g.getEndTimeMs()/d,k);if(l<=g&&l>=0&&g<=e)for(var l=l;l<=g;l++)f[l]=1}return f};return a}();e.exports=a}),null); __d("R2D2UniqueTimeSpentWithSoundMetric",[],(function(a,b,c,d,e,f){var g="unique_time_spent_with_sound_ms";a=function(){function a(){}var b=a.prototype;b.compute=function(a){return this.$1(a)};b.computeDelta=function(a,b){return a-b};b.getMetricName=function(){return g};b.$1=function(a){var b=0,c=0;a=a.getWatchedSegmentsWithSound();for(var d=0;d<a.length;d++){var e=a[d],f=e.getEndTimeMs();if(f>b){f=Math.max(b,e.getStartTimeMs());c+=e.getEndTimeMs()-f;b=e.getEndTimeMs()}}f=10;return parseInt(c,f)};return a}();e.exports=a}),null); __d("R2D2ViewCountWithSoundMetric",["R2D2UniqueTimeSpentWithSoundMetric"],(function(a,b,c,d,e,f){var g="view_count_with_sound_on",h=3e3,i=.97;a=function(){function a(){}var c=a.prototype;c.compute=function(a){var c=new(b("R2D2UniqueTimeSpentWithSoundMetric"))();return c.compute(a)>=h||a.getDurationMs()>0&&c.compute(a)>=a.getDurationMs()*i?1:0};c.computeDelta=function(a,b){return a-b};c.getMetricName=function(){return g};return a}();e.exports=a}),null); __d("R2D2VideoStateSummaryCalculator",["R2D2FinishCountMetric","R2D2PlayCountMetric","R2D2UniqueTimeSpentMetric","R2D2VideoPlayRetention0to15s","R2D2VideoStateSummary","R2D2ViewCount100Metric","R2D2ViewCount10Metric","R2D2ViewCount25Metric","R2D2ViewCount50Metric","R2D2ViewCount75Metric","R2D2ViewCount95Metric","R2D2ViewCountMetric","R2D2ViewCountRetentionGraphMetric","R2D2ViewCountWithSoundMetric"],(function(a,b,c,d,e,f){a=function(){function a(){this.$1=[new(b("R2D2UniqueTimeSpentMetric"))(),new(b("R2D2PlayCountMetric"))(),new(b("R2D2ViewCountMetric"))(),new(b("R2D2VideoPlayRetention0to15s"))(),new(b("R2D2FinishCountMetric"))(),new(b("R2D2ViewCountRetentionGraphMetric"))(),new(b("R2D2ViewCount25Metric"))(),new(b("R2D2ViewCount50Metric"))(),new(b("R2D2ViewCount75Metric"))(),new(b("R2D2ViewCount95Metric"))(),new(b("R2D2ViewCount100Metric"))(),new(b("R2D2ViewCountWithSoundMetric"))(),new(b("R2D2ViewCount10Metric"))()]}var c=a.prototype;c.getVideoStateSummary=function(a){var c=new(b("R2D2VideoStateSummary"))();this.$1.forEach(function(b){return c.setMetricValue(b.getMetricName(),b.compute(a))});return c};c.calculateDelta=function(a,c){var d=new(b("R2D2VideoStateSummary"))();this.$1.forEach(function(b){var e=a.getMetricValue(b.getMetricName());if(c!==void 0){var f=c.getMetricValue(b.getMetricName());e=b.computeDelta(e,f)}d.setMetricValue(b.getMetricName(),e)});return d};return a}();e.exports=a}),null); __d("R2D2Logger",["Banzai","R2D2VideoMetadata","R2D2VideoSession","R2D2VideoStateMachine","R2D2VideoStateSummaryCalculator","VideoPlayerStateBasedLoggingEvents","gkx"],(function(a,b,c,d,e,f){var g=10*1e3,h="video_player",i="r2d2_summary",j="r2d2_event_validation";a=function(){"use strict";function a(a){this.$4=a,this.$2=new(b("R2D2VideoStateSummaryCalculator"))(),this.$1=new Map()}var c=a.prototype;c.setScriptPath=function(a){this.$3=a};c.$5=function(a,b){return a+":"+b};c.addEvent=function(a,c){var d=this;if(this.shouldNotLogEvent(a))return;var e=this.$5(c.player_instance_key,c.video_id),f=this.$1.get(e);f==null&&(f=new(b("R2D2VideoSession"))(new(b("R2D2VideoMetadata"))(c),new(b("R2D2VideoStateMachine"))(),this.$2),this.$1.set(e,f));f.addEvent(a,c);setTimeout(function(){return d.$6()},g)};c.$6=function(){var a=this,c=[];this.$1.forEach(function(d,e){var f=null;d.hasUpdates()?f=a.createR2D2SummaryLoggingData(d.getMetadata(),d.recalculateDelta(),i):d.hasExpired()&&(c.push(e),f=a.createR2D2SummaryLoggingData(d.getMetadata(),d.getEventValidationSummary(),j));f!==null&&b("Banzai").post(h,f)});c.forEach(function(b){a.$1["delete"](b)})};c.createR2D2SummaryLoggingData=function(a,b,c){a=Object.assign(a.toJSON(),b.toJSON());return{event:c,logData:a,scriptPath:this.$3,source:this.$4}};c.shouldLogForR2D2=function(){return b("gkx")("676938")};c.shouldNotLogEvent=function(a){var c=new Set(b("VideoPlayerStateBasedLoggingEvents").StateBasedLoggingEventNames);return!c.has(a)};return a}();e.exports=a}),null); __d("VideoPlayerLoggerErrorStates",[],(function(a,b,c,d,e,f){a="playback_failure";f.PLAYBACK_FAILURE=a;b="player_failure";f.PLAYER_FAILURE=b}),null); __d("VideoPlayerLoggerErrors",[],(function(a,b,c,d,e,f){a="entered_fallback";f.ENTERED_FALLBACK=a;b="error_calling_flash";f.ERROR_CALLING_FLASH=b}),null); __d("VideoPlayerLoggerPlayerStates",[],(function(a,b,c,d,e,f){a="started";f.STARTED=a;b="unpaused";f.UNPAUSED=b}),null); __d("VideoPlayerLoggerSource",[],(function(a,b,c,d,e,f){e.exports=Object.freeze({ADS:"ads",ANIMATED_IMAGE_SHARE:"animated_image_share",ASSET:"asset",AYMT:"aymt",BALLOT:"ballot",BIZ_ART:"biz_art",BROADCAST_REQUEST_ATTACHMENT:"broadcast_request_attachment",CAMERA_POST:"camera_post",CANDIDATE_VIDEOS:"candidate_videos",CATALOG_MANAGER:"catalog_manager",CHAINED:"chained",CHAINED_SUGGESTION:"chained_suggestion",CHANNEL:"channel",CHANNEL_TAB:"channel_tab",COMMERCE_MANAGER:"commerce_manager",CONTINUE_WATCHING_RECOMMENDATION:"continue_watching_recommendation",CORPORATE_CARD_APPLICATION:"corporate_card_application",COWATCH:"cowatch",CRICKET_MATCHES_AGGREGATION:"cricket_matches_aggregation",CREATOR_STUDIO_STARS_CUE_INSERTION_PREVIEW:"creator_studio_stars_cue_insertion_preview",DIM_SUM:"dim_sum",EMBEDDED:"embedded",EMBEDDED_PAGE_PLUGIN:"embedded_page_plugin",EMBEDDED_VIDEO:"embedded_video",EMBEDDED_VIDEO_FROM_UFI:"embedded_video_from_ufi",EMBEDDED_VIDEO_PREVIEW:"embedded_video_preview",ENTRY_POINT:"entry_point",EVENTS_COVER:"events_cover",EVENTS_LIVE_CTA:"events_live_cta",EVENTS_LIVE_VIDEO_SECTION:"events_live_video_section",FUNDRAISER_COVER:"fundraiser_cover",GAMEROOM_LIVE_VIDEO_HERO_BANNER:"gameroom_live_video_hero_banner",GAMEROOM_LIVE_VIDEO_TAB:"gameroom_live_video_tab",GAMEROOM_LIVE_VIDEO_THUMBNAIL:"gameroom_live_video_thumbnail",GAMES_ARENA_HERO:"games_arena_hero",GAMES_ARENA_VIDEOS_TAB:"games_arena_videos_tab",GAMES_FEED_STORY_HEADER:"games_feed_story_header",GAMES_VERSE_DESTINATION:"games_verse_destination",GAMES_VIDEO_LIVE_RECOMMENDATION:"games_video_live_recommendation",GAMES_VIDEO_CLIPS_HOME:"games_video_clips_home",GAMES_VIDEO_CLIPS_HOME_IMMERSIVE_PLAYER:"games_video_clips_home_immersive_player",GAMES_VIDEO_CLIPS_HOME_TOP_CLIPS:"games_video_clips_home_top_clips",GAMES_VIDEO_CLIPS_HOME_MY_CLIPS:"games_video_clips_home_my_clips",GAMES_VIDEO_COMMUNITY_FEED:"games_video_community_feed",GAMES_VIDEO_EXPLORE_HOME:"games_video_explore_home",GAMES_VIDEO_HOME:"games_video_home",GAMES_VIDEO_HOME_HERO:"games_video_home_hero",GAMES_VIDEO_HOME_STREAMER_HUB:"games_video_home_streamer_hub",GAMES_VIDEO_SINGLE_GAME:"games_video_single_game",GAMES_VIDEO_TOP_WEEKLY_CLIPS_STREAMER_PAGE:"games_video_top_weekly_clips_streamer_page",GAMES_VIDEO_THUMBNAIL_PREVIEW:"games_video_thumbnail_preview",GAMES_VIDEO_HIGHLIGHTED_CLIPS_STREAMER_PAGE:"games_video_highlighted_clips_streamer_page",GAMES_VIDEO_SEARCH_UNIT:"games_video_search_unit",GAMES_VIDEO_SOCIAL_PLUGIN:"games_video_social_plugin",GAMES_VIDEO_HUB:"games_video_hub",GAMES_VIDEO_HUB_REDIRECT_NOTIFICATION:"games_video_hub_redirect_notification",GAMES_VIDEO_HUB_REDIRECT_UNKNOWN:"games_video_hub_redirect_unknown",GAMES_VIDEO_QP_RECOMMENDED_LIVE:"games_video_qp_recommended_live",GAMES_VIDEO_QP_US_RECOMMENDED_LIVE:"games_video_qp_us_recommended_live",GAMES_VIDEO_MIXER_US_QP_RECOMMENDED_LIVE:"games_video_mixer_us_qp_recommended_live",GAMES_VIDEO_HOME_LEFT_RAIL:"games_video_home_left_rail",GAMES_VIDEO_HOME_SEE_ALL:"games_video_home_see_all",GAMES_VIDEO_HOME_STREAMER_HUB_HERO:"games_video_home_streamer_hub_hero",GROUP_LIVE_VIDEO_MODULE:"group_live_video_module",GROUPS_COVER:"groups_cover",GOODWILL_PRODUCT_SYSTEM:"goodwill_product_system",HTML5:"html5",INLINE:"inline",INLINE_END_SCREEN:"inline_end_screen",INSIGHTS:"insights",INTERN_CRM_CALL_RECORDING:"intern_crm_call_recording",INTERN_CURATION:"intern_curation",INTERN_EXAMPLE:"intern_example",ISSUES_MODULE:"issues_module",LIVE_BEEPER:"live_beeper",LIVE_CONTROL_PANEL:"live_control_panel",LIVE_CLIPS_CREATOR:"live_clips_creator",LIVE_HERO:"live_hero",LIVE_LINEAR:"live_linear",LIVE_MAP:"live_map",LIVE_MAP_LISTVIEW:"live_map_listview",LIVE_MAP_SIDEBAR:"live_map_sidebar",LIVE_MAP_TOOLTIP:"live_map_tooltip",LIVE_MAP_TOOLTIP_FROM_LISTVIEW:"live_map_tooltip_from_listview",LIVE_MAP_TOOLTIP_FROM_MAP:"live_map_tooltip_from_map",LIVE_MAP_TOOLTIP_FROM_WEBGL:"live_map_tooltip_from_webgl",LIVE_PAGE_UPCOMING_NEXT_UNIT:"live_page_upcoming_next_unit",LIVE_PRODUCER:"live_producer",LIVE_PYML:"live_pyml",LIVE_RHC:"live_rhc",LIVE_SHOPPING:"live_shopping",LIVE_GAMING_RHC:"live_gaming_rhc",LIVE_VIDEO_BROADCAST:"live_video_broadcast",LIVE_VIDEO_PREVIEW:"live_video_preview",LIVE_MSITE:"live_msite",LIVE_EVERGREEN_QP:"live_evergreen_qp",LIVING_ROOM:"living_room",LIVING_ROOM_COMMENTATING:"living_room_commentating",LIVING_ROOM_RECAP_FULLSCREEN:"living_room_recap_fullscreen",LIVING_ROOM_RECAP_INLINE:"living_room_recap_inline",LOOKBACK:"lookback",MEDIA_COLLAGE:"media_collage",MEDIA_SYNC:"media_sync",MEDIA_VIEWER:"media_viewer",MEMORY_LEAK_TEST:"memory_leak_test",MESSAGING:"messaging",MESSENGER_THREAD:"messenger_thread",MESSENGER_COWATCH:"messenger_cowatch",MISC:"misc",MOBILE:"mobile",MOVIES_RECOMMENDED_MOVIES_QP:"movies_recommended_movies_qp",NOT_SPECIFIED_PLEASE_FIX:"not_specified_please_fix",OFFERS_DETAIL:"offers_detail",OCULUS_GAMES:"oculus_games",OCULUS_HUB:"oculus_hub",OCULUS_RECOMMENDED_VIDEO_UNIT:"oculus_recommended_video_unit",PAGE_LIVE_TAB:"page_live_tab",PAGE_LIVE_VIDEO_MODULE:"page_live_video_module",PAGE_ROLES:"page_roles",PAGE_TIMELINE_LIVE_CARD:"page_timeline_live_card",PAGE_TIMELINE_LIVE_NOW_DIALOG:"page_timeline_live_now_dialog",PAGES_FINCH_MAIN_VIDEO:"pages_finch_main_video",PAGES_FINCH_THUMBNAIL_VIDEO:"pages_finch_thumbnail_video",PAGES_FINCH_TRAILER:"pages_finch_trailer",PAGES_VIDEO_SET:"pages_video_set",PAGES_MESSAGING_VIDEO:"pages_messaging_video",PAGES_COVER:"pages_cover",PAGES_TIMELINE_PAGES_COVER:"pages_timeline_pages_cover",PAGES_COVER_HOVER:"pages_cover_hover",PAGES_HOME_HERO:"pages_home_hero",VIDEO_PAGE_SPOTLIGHT_UNIT:"video_page_spotlight_unit",VIDEO_PAGE_VIDEO_LIST:"video_page_video_list",PAGES_HOME_PMV_UNIT:"pages_home_pmv_unit",PEOPLE_PORTAL:"people_portal",PERMALINK:"permalink",PMV_TOP_CHART_CTA:"pmv_top_chart_cta",PROFILE_OVERVIEW:"profile_overview",PROFILE_COVER:"profile_cover",PROFILE_VIDEO:"profile_video",PROFILE_VIDEO_HOVERCARD:"profile_video_hovercard",PROFILE_VIDEO_THUMB:"profile_video_thumb",PROFILE_PLUS_VIDEO_TAB:"profile_plus_video_tab",PROFILE_PLUS_VIDEOS_CARD:"profile_plus_videos_card",PROFILE_PLUS_LIVE_CARD:"profile_plus_live_card",PROFILE_PLUS_POPULAR_VIDEO_CARD:"profile_plus_popular_video_card",PROTON:"proton",REPORT_FLOW:"report_flow",REVIEW:"review",ROBOTICS_RTC_PAGE:"robotics_rtc_page",ROBOTICS_TOUR_GUIDE_PAGE:"robotics_tour_guide_page",SEARCH_LIVE_VIDEO_MODULE:"search_live_video_module",SERP_VIDEOS_TAB:"serp_videos_tab",SLIDESHOW:"slideshow",SNOWLIFT:"snowlift",STORIES_VIDEO_PREVIEW:"stories_video_preview",SRT_REVIEW:"srt_review",TAHOE:"tahoe",TOPIC_CHANNEL_LIVING_ROOM:"topic_channel_living_room",TOPIC_GAMING:"topic_gaming",TRAILER_OG_ATTACHMENT:"trailer_og_attachment",TRAILER_TIMELINE_COLLECTIONS:"trailer_timeline_collections",TRAILER_TIMELINE_UNIT:"trailer_timeline_unit",TRIVIA_GAME_ADMIN_DASHBOARD:"trivia_game_admin_dashboard",TV:"tv",USER_VIDEO_TAB:"user_video_tab",VIDEO_COPYRIGHT_PREVIEW:"video_copyright_preview",VIDEO_HOME_INLINE:"video_home_inline",VIDEO_HOME_CATALOG:"video_home_catalog",TOPIC_SPORTS:"topic_sports",TOPIC_CRICKET:"topic_cricket",TOPIC_LIVE:"topic_live",VIDEO_HOME_EXPLORE:"discover",VIDEO_HOME_EXPLORE_TAB:"explore",VIDEO_HOME_CHANNEL:"video_home_channel",VIDEO_HOME_WATCHLIST:"watchlist",VIDEO_HOME_CRICKET:"video_home_cricket",VIDEO_HOME_RAINBOW_QP:"video_home_rainbow_qp",VIDEO_INLINE_CHAINING:"video_inline_chaining",VIDEOHUB_FEATURED:"videohub_featured",VIDEOHUB_LIVE:"videohub_live",VIDEOHUB_PLAYLIST:"videohub_playlist",WATCH_SCROLL:"watch_scroll",UFI_COMMENT_ATTACHMENT:"ufi_comment_attachment",LIVE_AUTOPLAY_WATCH_AND_SCROLL:"live_autoplay_watch_and_scroll",GAMES_VIDEO_STREAMER_SEARCH_UNIT:"games_video_streamer_unit",GAMES_STREAMER_DASHBOARD:"games_streamer_dashboard",ADS_PREVIEW:"ads_preview",VIDEO_PAGE_UNSPECIFIED:"video_page_unspecified",SPOTLIGHT_LIVE:"spotlight_live",SPOTLIGHT_FEATURED:"spotlight_featured",SPOTLIGHT_POPULAR:"spotlight_popular",SPOTLIGHT_UNKNOWN:"spotlight_unknown",VIDEOS_CARD:"videos_card",VIDEOS_TAB:"videos_tab",PLAYLISTS_TAB:"playlists_tab",PLAYLISTS_CARD:"playlists_card",PLAYLIST_PAGE:"playlist_page",BUSINESS_FEED:"business_feed",REDIRECTED_WATCH_SERP:"redirected_watch_serp",SHOWS_CATALOG:"shows_catalog",SOTTO_CATALOG:"sotto_catalog",SOTTO_CONSIDERATION_PAGE:"sotto_consideration_page",RESULTS:"results",SERIES_CARD:"series_card",WATCH_HISTORY:"watch_history",WATCH:"watch",SERP_THUMBNAIL_PREVIEW:"serp_thumbnail_preview",SERP_INLINE_PLAYER:"serp_inline_player",VIDEO_LIST:"video_list",VIDEO_HOME_THUMBNAIL_PREVIEW:"video_home_thumbnail_preview",WORK_CAPTIONS_REVIEW:"work_captions_review",MUSIC_HOME:"music_home",MUSIC_HOME_DEEPLINK:"music_home_deeplink",MUSIC_HOME_ENTRY_AGGREGATION:"music_home_entry_aggregation",MUSIC_HOME_INTERNAL_BOOKMARK:"music_home_internal_bookmark",MUSIC_HOME_NEWSFEED_ATTACHMENT:"music_home_newsfeed_attachment",MUSIC_HOME_NEWSFEED_ATTACHMENT_TRENDING:"music_home_newsfeed_attachment_trending",MUSIC_HOME_NOTIFICATION:"music_home_notification",MUSIC_HOME_QP:"music_home_qp",MUSIC_HOME_QP_OVERLAY_HEADER:"music_home_qp_overlay_header",MUSIC_HOME_SEARCH_SHORTCUT:"music_home_search_shortcut",MUSIC_HOME_SERP:"music_home_serp",MUSIC_HOME_SPRINGBOARD_UNIT:"music_home_springboard_unit",MUSIC_HOME_STATIONS_QP:"music_home_stations_qp",MUSIC_HOME_TAPPABLE_EDGE_HEADER:"music_home_tappable_edge_header",MUSIC_HOME_THIRD_PARTY_PIVOT:"music_home_third_party_pivot",MUSIC_HOME_UNKNOWN:"music_home_unknown",MUSIC_HOME_WATCH_CUE:"music_home_watch_cue",MUSIC_HOME_WATCH_CUE_ARTIST:"music_home_watch_cue_artist",MUSIC_HOME_WATCH_CUE_TRENDING:"music_home_watch_cue_trending",MUSIC_HOME_WATCH_PILL:"music_home_watch_pill",MUSIC_HOME_WATCH_SEARCH:"music_home_watch_search",MUSIC_HOME_WATCH_STATIONS_UNIT:"music_home_watch_stations_unit",MUSIC_HOME_WATCH_SURFACE_PROMOTION_PILL:"music_home_watch_surface_promotion_pill",MUSIC_VIDEOS_PLAYLISTS_CARD:"music_videos_playlists_card",MUSIC_VIDEOS_FEATURING_ARTIST_CARD:"music_videos_featuring_artist_card",MUSIC_WEEKLY_CHART:"music_weekly_chart",MEDIA_MATCH_SERVICE:"media_match_service",LINEAR_CHANNEL:"linear_channel",VIDEO_WALL:"video_wall",MORC_CONSOLE:"morc_console",WORKPLACE_INSIGHTS:"workplace_insights",WORK_VIDEO_QP:"work_video_qp",WORK_TOP_OF_FEED_UNIT:"work_top_of_feed_unit",WATCH_CASTING_QP:"watch_casting_qp"})}),null); __d("VideoPlayerLogger",["invariant","Banzai","FBLogger","R2D2Logger","VideoPlayerExperiments","VideoPlayerHTML5Experiments","VideoPlayerLoggerErrors","VideoPlayerLoggerErrorStates","VideoPlayerLoggerFallbackReasons","VideoPlayerLoggerPlayerStates","VideoPlayerLoggerSource","getVideoBrowserTabId","gkx","performanceAbsoluteNow"],(function(a,b,c,d,e,f,g){"use strict";var h,i=200,j=b("VideoPlayerHTML5Experiments").useBanzaiVitalForLive,k=b("VideoPlayerHTML5Experiments").discerningAbandonStallLogging,l="video_player",m=5e3,n=function(){return b("VideoPlayerHTML5Experiments").useMonotonicallyIncreasingTimers?(h||(h=b("performanceAbsoluteNow")))():Date.now()};a=function(){function a(a,c){this.$29=[],this.$30=null,this.$31=0,this.$2=a,this.$3=null,this.$5={},this.$4=c,this.$7=0,this.$8=0,this.$9=0,this.$10=0,this.$6=[],this.$19=0,this.$20=0,this.$11=0,this.$27=!1,this.$16=!1,this.$32(),this.$33(),this.$28=new(b("R2D2Logger"))(this.$2)}var c=a.prototype;c.updateSource=function(a){this.$2=a};c.getSource=function(){return this.$2};c.logEvent=function(a,c){c=babelHelpers["extends"]({},c,this.$4);c.initial_event=!Object.prototype.hasOwnProperty.call(this.$5,a);Object.prototype.hasOwnProperty.call(c,"time_ms")||(c.time_ms=n());Object.prototype.hasOwnProperty.call(c,"browser_tab_id")||(c.browser_tab_id=b("getVideoBrowserTabId")());Object.prototype.hasOwnProperty.call(c,"time")||(c.time=Math.round(c.time_ms/1e3));c.is_stalling=this.$34();c.error_user_info=this.$35(c.error_user_info);this.$3&&Object.assign(c,this.$3);b("VideoPlayerExperiments").logVideoFramesInfo&&this.$36();switch(a){case"paused":case"finished_playing":if(this.$24){var d=this.$24,e=d.getABREvaluation();c.ideal_samples=e.idealSamples;c.conservative_samples=e.conservativeSamples;c.aggressive_samples=e.aggressiveSamples;c.conservative_resolution_constrained_samples=e.conservativeResolutionConstrainedSamples;c.last_quality_switch_reason=e.lastQualitySwitchReason;c.reason&&d.setLastQualitySwitchReason(c.reason)}e=typeof this.$25==="function"&&this.$25();d=typeof this.$26==="function"&&this.$26();typeof d==="number"&&typeof e==="number"&&(c.dropped_frame_count=e,c.total_frame_count=d);break}switch(a){case"started_playing":case"unpaused":this.$27=!0;break;case"finished_playing":case"error":case"paused":this.$27=!1;break}switch(a){case"requested_playing":this.$32();this.$37();this.$5.started_playing?c.state=b("VideoPlayerLoggerPlayerStates").UNPAUSED:c.state=b("VideoPlayerLoggerPlayerStates").STARTED;break;case"started_playing":case"unpaused":case"finished_playing":case"cancelled_requested_playing":case"error":case"paused":case"representation_ended":case"heart_beat":if(a==="error"&&b("VideoPlayerExperiments").disableStallLoggingForError)break;if(a=="representation_ended"&&!this.$5.started_playing)break;if(a==="heart_beat"&&(!this.$5.started_playing||!b("VideoPlayerHTML5Experiments").heartbeatUpdateWatchTimeV2||this.$34()))break;a==="heart_beat"&&(c.v2_heart_beat=!0);(a==="started_playing"||a==="unpaused")&&(this.$11=c.time_ms,this.$38());if(a==="error"&&c.state!==b("VideoPlayerLoggerErrorStates").PLAYBACK_FAILURE)break;a==="cancelled_requested_playing"&&(this.$5.started_playing?c.state=b("VideoPlayerLoggerPlayerStates").UNPAUSED:c.state=b("VideoPlayerLoggerPlayerStates").STARTED);this.$39();this.$40();(a==="paused"||a==="finished_playing")&&(k&&a==="finished_playing"&&this.$38(),c.recent_stalls_count=this.$41());this.$42();this.$43(c);this.$44(c);this.$33();k&&this.$38();this.$32();break}if(b("VideoPlayerExperiments").logVideoFramesInfo)switch(a){case"started_playing":case"unpaused":case"finished_playing":case"paused":case"heart_beat":e=this.$45();e&&(c.video_frames_info=e);break}d={logData:c,event:a,scriptPath:this.$1,source:this.$2};a||b("FBLogger")("video").warn("Missing event name");this.$5[a]=!0;if(this.$2==="animated_image_share")return null;e=b("gkx")("1426867")?{batch:1500,delay:b("Banzai").VITAL_WAIT}:{delay:b("Banzai").VITAL_WAIT};c.ad_client_token||b("VideoPlayerHTML5Experiments").useVitalForEverything||j&&c.playback_is_live_streaming||b("VideoPlayerHTML5Experiments").useVitalForClosing&&(a==="paused"||a==="finished_playing"||a==="heart_beat")||b("VideoPlayerHTML5Experiments").useVitalForOpening&&(a==="unpaused"||a==="started_playing")?b("Banzai").post(l,d,b("Banzai").VITAL):(e.delay=b("Banzai").BASIC_WAIT,b("Banzai").post(l,d,e));this.$28.shouldLogForR2D2()&&this.$28.addEvent(a,c);return d};c.setScriptPath=function(a){this.$1=a,this.$28.setScriptPath(a)};c.setFTData=function(a){this.$3=a};c.setABRQualityTracker=function(a){this.$24=a};c.setFrameCountGetters=function(a,b){this.$25=a,this.$26=b};c.startBuffering=function(a){if(b("VideoPlayerHTML5Experiments").disableBufferingBeforeStartedPlaying&&!this.$5.started_playing)return;this.$37(a)};c.endBuffering=function(){if(b("VideoPlayerHTML5Experiments").disableBufferingBeforeStartedPlaying&&!this.$5.started_playing)return;this.$40();this.$46();this.$39();this.$42()};c.startInterrupt=function(){this.$47()};c.endInterrupt=function(){this.$40(),this.$46()};c.$34=function(){return this.$15>0};c.$37=function(a){if(this.$34())return;this.$16=this.$27;this.$15=Date.now();a!==void 0&&this.$5.started_playing&&(this.$17=a)};c.$47=function(){if(this.$48())return;this.$21=Date.now()};c.$48=function(){return this.$21>0};c.$49=function(){return!this.$48()?0:Date.now()-this.$21};c.$50=function(){return this.$34()?Date.now()-this.$15:0};c.$40=function(){if(this.$48()){var a=this.$49();this.$22+=a;this.$20+=a;this.$23+=1;this.$19+=1}};c.$46=function(){this.$48()&&(this.$21=0)};c.$33=function(){this.$22=0,this.$23=0,this.$46()};c.$39=function(){if(this.$34()){var a=this.$50();this.$17!==null&&(this.$18=a);this.$14+=a;this.$8+=a;this.$12++;a>200&&this.$13++;this.$7++;this.$16&&(this.$10+=a,this.$9++,this.$16=!1);k&&this.$6.push(n())}};c.$42=function(){this.$34()&&(this.$15=0)};c.$35=function(a){return a&&typeof a==="object"?JSON.stringify(a):a};c.$36=function(){var a=this;this.$30||(this.$30=setInterval(function(){return a.$51()},i))};c.$51=function(){var a=typeof this.$26==="function"&&this.$26(),b=typeof this.$25==="function"&&this.$25();typeof a==="number"&&typeof b==="number"&&(a!==this.$31||b!==0)&&(this.$29.push({time_stamp:n(),total_frames:a,dropped_frames:b}),this.$31=a)};c.$45=function(){if(!this.$29.length)return null;var a=[];for(var b=this.$29,c=Array.isArray(b),d=0,b=c?b:b[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]();;){var e;if(c){if(d>=b.length)break;e=b[d++]}else{d=b.next();if(d.done)break;e=d.value}e=e;a.push([e.time_stamp,e.total_frames,e.dropped_frames])}this.$29=[];return JSON.stringify(a)};c.stopCollectingVideoFramesInfo=function(){clearInterval(this.$30),this.$30=null,this.$29=[]};c.getCumulativeStallCount=function(){return this.$7};c.getCumulativeInPlayStallCount=function(){return this.$9};c.getStallCount=function(){return this.$12};c.getCumulativeStallTime=function(){return this.$8+this.$50()};c.getCumulativeInPlayStallTime=function(){return this.$10+(this.$16?this.$50():0)};c.getCumulativeInterruptCount=function(){return this.$19};c.getCumulativeInterruptTime=function(){return this.$20+this.$49()};c.$43=function(a){a.stall_time=Math.max(0,this.$14),a.stall_count=this.$12,a.stall_count_200_ms=this.$13,this.$18&&(a.first_stall_time=this.$18,a.first_stall_start_position=this.$17)};c.$44=function(a){a.interrupt_time=Math.max(0,this.$22),a.interrupt_count=this.$23};c.$41=function(){var a=n(),b=a-m;this.$6=this.$6.filter(function(a){return a>=b});k||this.$12>0&&this.$6.push(a);return this.$6.length};c.$32=function(){this.$14=0,this.$15=0,this.$12=0,this.$13=0,this.$17=null,this.$18=0};c.$38=function(){this.$6=[]};c.getFTdata=function(){return this.$3};return a}();a.Sources=b("VideoPlayerLoggerSource");a.Errors=b("VideoPlayerLoggerErrors");a.FallbackReasons=b("VideoPlayerLoggerFallbackReasons");a.ErrorStates=b("VideoPlayerLoggerErrorStates");a.PlayerStates=b("VideoPlayerLoggerPlayerStates");e.exports=a}),null); __d("VideoPlayerQualitiesArray",[],(function(a,b,c,d,e,f){"use strict";var g=720,h=2160;function a(a){return a}function i(a){a=a.length>0?a[a.length-1]:void 0;return a}function j(a){a=a.length>0?a[0]:void 0;return a}function b(a){return a.length>1}function k(a,b){a=i(a);return a!=null&&b!=null&&b===a}function c(a){return a!=null&&(a==="HD"||parseInt(a,10)>=g)}function d(a){return a!=null&&parseInt(a,10)>=h}function f(a,b){var c=j(a),d=i(a);if(k(a,b)){if(c!=null)return c}else if(d!=null)return d;return void 0}e.exports={ensureVideoPlayerQualitiesArray:a,getHighestVideoQuality:i,getLowestVideoQuality:j,getPreferredVideoQualityForToggleHD:f,hasHDVideoQuality:b,isHDSelectedVideoQuality:k,isVideoQualityTypicallyConsideredHD:c,isVideoQualityTypicallyConsideredHD4K:d}}),null); __d("CacheStorage",["ErrorGuard","EventListenerImplForCacheStorage","ExecutionEnvironment","FBJSON","WebStorage","emptyFunction","killswitch"],(function(a,b,c,d,e,f){var g,h,i="_@_",j="3b",k="CacheStorageVersion",l={length:0,getItem:a=b("emptyFunction"),setItem:a,clear:a,removeItem:a,key:a};c=function(){"use strict";function a(a){this._store=a}var b=a.prototype;b.getStore=function(){return this._store};b.keys=function(){var a=[];for(var b=0;b<this._store.length;b++){var c=this._store.key(b);c!=null&&a.push(c)}return a};b.get=function(a){return this._store.getItem(a)};b.set=function(a,b){this._store.setItem(a,b)};b.remove=function(a){this._store.removeItem(a)};b.clear=function(){this._store.clear()};b.clearWithPrefix=function(a){a=a||"";var b=this.keys();for(var c=0;c<b.length;c++){var d=b[c];d!=null&&d.startsWith(a)&&this.remove(d)}};return a}();d=function(a){"use strict";babelHelpers.inheritsLoose(c,a);function c(){var c;return a.call(this,(c=(g||(g=b("WebStorage"))).getLocalStorage())!=null?c:l)||this}c.available=function(){return!!(g||(g=b("WebStorage"))).getLocalStorage()};return c}(c);f=function(a){"use strict";babelHelpers.inheritsLoose(c,a);function c(){var c;return a.call(this,(c=(g||(g=b("WebStorage"))).getSessionStorage())!=null?c:l)||this}c.available=function(){return!!(g||(g=b("WebStorage"))).getSessionStorage()};return c}(c);var m=function(){"use strict";function a(){this._store={}}var b=a.prototype;b.getStore=function(){return this._store};b.keys=function(){return Object.keys(this._store)};b.get=function(a){return this._store[a]===void 0?null:this._store[a]};b.set=function(a,b){this._store[a]=b};b.remove=function(a){a in this._store&&delete this._store[a]};b.clear=function(){this._store={}};b.clearWithPrefix=function(a){a=a||"";var b=this.keys();for(var c=0;c<b.length;c++){var d=b[c];d.startsWith(a)&&this.remove(d)}};a.available=function(){return!0};return a}(),n={memory:m,localstorage:d,sessionstorage:f};a=function(){"use strict";function a(a,c){this._changeCallbacks=[];this._key_prefix="_cs_";this._exceptionMessage=null;c&&(this._key_prefix=c);if(a=="AUTO"||!a)for(var d in n){c=n[d];if(c.available()){a=d;break}}a&&(!n[a]||!n[a].available()?(b("ExecutionEnvironment").canUseDOM,this._backend=new m()):this._backend=new n[a]());c=this.useBrowserStorage();c&&b("EventListenerImplForCacheStorage").listen(window,"storage",this._onBrowserValueChanged.bind(this));a=c?this._backend.getStore().getItem(k):this._backend.getStore()[k];a!==j&&(b("killswitch")("CACHE_STORAGE_MODULE_CLEAR_OWN_KEYS")?this.clear():this.clearOwnKeys())}var c=a.prototype;c.useBrowserStorage=function(){return this._backend.getStore()===(g||(g=b("WebStorage"))).getLocalStorage()||this._backend.getStore()===(g||(g=b("WebStorage"))).getSessionStorage()};c.addValueChangeCallback=function(a){var b=this;this._changeCallbacks.push(a);return{remove:function(){b._changeCallbacks.slice(b._changeCallbacks.indexOf(a),1)}}};c._onBrowserValueChanged=function(a){this._changeCallbacks&&String(a.key).startsWith(this._key_prefix)&&this._changeCallbacks.forEach(function(b){b(a.key,a.oldValue,a.newValue)})};c.keys=function(){var a=this,c=[];(h||(h=b("ErrorGuard"))).guard(function(){if(a._backend){var b=a._backend.keys(),d=a._key_prefix.length;for(var e=0;e<b.length;e++)b[e].substr(0,d)==a._key_prefix&&c.push(b[e].substr(d))}},{name:"CacheStorage"})();return c};c.set=function(c,d,e){if(this._backend){if(this.useBrowserStorage()&&a._persistentWritesDisabled){this._exceptionMessage="writes disabled";return!1}var f;typeof d==="string"?f=i+d:!e?(f={__t:Date.now(),__v:d},f=b("FBJSON").stringify(f)):f=b("FBJSON").stringify(d);e=this._backend;d=this._key_prefix+c;c=!0;var g=null;while(c)try{g=null,e.set(d,f),c=!1}catch(a){g=a;var h=e.keys().length;this._evictCacheEntries();c=e.keys().length<h}if(g!==null){this._exceptionMessage=g.message;return!1}else{this._exceptionMessage=null;return!0}}this._exceptionMessage="no back end";return!1};c.getLastSetExceptionMessage=function(){return this._exceptionMessage};c.getStorageKeyCount=function(){var a=this._backend;return a?a.keys().length:0};c._evictCacheEntries=function(){var c=[],d=this._backend;d.keys().forEach(function(f){if(f===k)return;var g=d.get(f);if(g===void 0){d.remove(f);return}if(a._hasMagicPrefix(g))return;try{g=b("FBJSON").parse(g,e.id)}catch(a){d.remove(f);return}g&&g.__t!==void 0&&g.__v!==void 0&&c.push([f,g.__t])});c.sort(function(a,b){return a[1]-b[1]});for(var f=0;f<Math.ceil(c.length/2);f++)d.remove(c[f][0])};c.get=function(c,d){var f;if(this._backend){(h||(h=b("ErrorGuard"))).applyWithGuard(function(){f=this._backend.get(this._key_prefix+c)},this,[],{onError:function(){f=null},name:"CacheStorage:get"});if(f!=null)if(a._hasMagicPrefix(f))f=f.substr(i.length);else try{f=b("FBJSON").parse(f,e.id),f&&f.__t!==void 0&&f.__v!==void 0&&(f=f.__v)}catch(a){f=void 0}else f=void 0}f===void 0&&d!==void 0&&(f=d,this.set(c,f));return f};c.remove=function(a){this._backend&&(h||(h=b("ErrorGuard"))).applyWithGuard(this._backend.remove,this._backend,[this._key_prefix+a],{name:"CacheStorage:remove"})};c._setVersion=function(){this.useBrowserStorage()?this._backend.getStore().setItem(k,j):this._backend.getStore()[k]=j};c.clear=function(){this._backend&&((h||(h=b("ErrorGuard"))).applyWithGuard(this._backend.clear,this._backend,[],{name:"CacheStorage:clear"}),this._setVersion())};c.clearOwnKeys=function(){this._backend&&((h||(h=b("ErrorGuard"))).applyWithGuard(this._backend.clearWithPrefix,this._backend,[this._key_prefix],{name:"CacheStorage:clearOwnKeys"}),this._setVersion())};a.getAllStorageTypes=function(){return Object.keys(n)};a._hasMagicPrefix=function(a){return a.substr(0,i.length)===i};a.disablePersistentWrites=function(){a._persistentWritesDisabled=!0};return a}();a._persistentWritesDisabled=!1;e.exports=a}),null); __d("VideoPlayerShakaBandwidthEstimator",["CacheStorage","Run","VideoPlayerShakaGlobalConfig","requireWeak"],(function(a,b,c,d,e,f){var g;b("requireWeak")("Shaka",function(a){g=a.util.EWMACacheBandwidthEstimator});var h=null,i=!1;a=function(){"use strict";function a(){var a=this,c=new(b("CacheStorage"))("localstorage","_video_"),d=c.get("bandwidthEstimate");this.$1={isMockObject:!0,getBandwidth:function(a){return d},getFastMovingBandwidth:function(){return d}};g&&(this.$1=new g(b("VideoPlayerShakaGlobalConfig").getNumber("cache_delay",30),b("VideoPlayerShakaGlobalConfig").getNumber("cache_bandwidth",2e6),function(){b("VideoPlayerShakaGlobalConfig").getBool("shaka_update_bandwidth_cache_on_sample",!1)&&c.set("bandwidthEstimate",a.$1.getBandwidth())},d),this.$1.isMockObject=!1);b("Run").onUnload(function(){c.set("bandwidthEstimate",a.$1.getBandwidth())})}var c=a.prototype;c.getEstimator=function(){return this.$1};a.getInstance=function(){(h===null||h.getEstimator().isMockObject&&g)&&(h=new a());return h};a.getEstimator=function(){return a.getInstance().getEstimator()};a.getBandwidth=function(b){var c=a.getEstimator();return c.getBandwidth(b)};a.getBandwidthByVideoType=function(b){return a.getBandwidth(a.getBandwidthModel(b))};a.getBandwidthModel=function(a){return a?"aggressive":"conservative"};a.isAutoplayBandwidthRestrained=function(c){var d=a.getEstimator(),e;b("VideoPlayerShakaGlobalConfig").getBool("block_autoplay_use_fast_moving_average",!0)&&i?e=d.getFastMovingBandwidth():e=d.getBandwidth();d=c?b("VideoPlayerShakaGlobalConfig").getNumber("live_block_autoplay_bandwidth_threshold",25e4):b("VideoPlayerShakaGlobalConfig").getNumber("block_autoplay_bandwidth_threshold",123034);e===null||e>=d?i=!1:i=!0;return i};return a}();e.exports=a}),null); __d("VideoPlayerShakaConfigContextProvider",[],(function(a,b,c,d,e,f){"use strict";a=function(){function a(){this.$1={}}var b=a.prototype;b.setContext=function(a,b){if(this.$1[a]!==b){var c;this.$1=Object.assign({},this.$1,(c={},c[a]=b,c))}};b.setAllContexts=function(a){this.$1=a};b.getAllContexts=function(){return this.$1};return a}();e.exports=a}),null); __d("VideoPlayerShakaConfig",["requireCond","cr:1532413","cr:1532415","VideoPlayerShakaConfigContextProvider","VideoPlayerShakaExperimentsConfig","VideoPlayerShakaExposureLogger","cr:1532414","VideoPlayerShakaSessionConfigOverride"],(function(a,b,c,d,e,f){var g=null,h=null;if(b("cr:1532414")){g=b("cr:1532414").getStaticConfig()||null;a=function(){var a=b("cr:1532414").getRawContextualConfig();h=a&&b("cr:1532413")?new(b("cr:1532413"))(a):null};b("cr:1532414").addParseConfigCallback(a);a()}c=function(){"use strict";function a(a,c){this.$1=new(b("VideoPlayerShakaConfigContextProvider"))(),this.$4=null,this.$2=c||null,this.$3=null,b("cr:1532415")&&(this.$4=new(b("cr:1532415"))(),this.$4.setContexts(a||{})),a&&this.$1.setAllContexts(a),h!==null&&(this.$3=h.resolve(a||{}))}var c=a.prototype;c.setContext=function(a,b){var c=this.$1.getAllContexts();this.$1.setContext(a,b);a=this.$1.getAllContexts();c!==a&&(this.$3&&h&&(this.$3=h.resolve(a)),this.$4&&this.$4.setContexts(a))};c.setOverrideConfig=function(a){this.$2=a};c.getBool=function(a,c){b("VideoPlayerShakaExposureLogger").logExposureForParamMaybe(a);var d=this.$5(a,c);return typeof d==="boolean"?d:typeof b("VideoPlayerShakaExperimentsConfig")[a]==="boolean"?b("VideoPlayerShakaExperimentsConfig")[a]:c};c.getNumber=function(a,c){b("VideoPlayerShakaExposureLogger").logExposureForParamMaybe(a);var d=this.$5(a,c);return typeof d==="number"?d:typeof b("VideoPlayerShakaExperimentsConfig")[a]==="number"?b("VideoPlayerShakaExperimentsConfig")[a]:c};c.getString=function(a,c){b("VideoPlayerShakaExposureLogger").logExposureForParamMaybe(a);var d=this.$5(a,c);return typeof d==="string"?d:typeof b("VideoPlayerShakaExperimentsConfig")[a]==="string"?b("VideoPlayerShakaExperimentsConfig")[a]:c};c.$5=function(a,c){if(!!this.$4&&typeof this.$4.getValue(a)===typeof c)return this.$4.getValue(a);if(!!this.$2&&typeof this.$2[a]===typeof c)return this.$2[a];if(b("VideoPlayerShakaSessionConfigOverride")&&typeof b("VideoPlayerShakaSessionConfigOverride")[a]===typeof c)return b("VideoPlayerShakaSessionConfigOverride")[a];if(g!==null&&typeof g[a]===typeof c)return g[a];return this.$3?this.$3.get(a,c):null};return a}();e.exports=c}),null); __d("VideoPlayerUIComponentDrawer",["EventEmitter"],(function(a,b,c,d,e,f){"use strict";a=function(a){babelHelpers.inheritsLoose(b,a);function b(b,c){var d;d=a.call(this)||this;d.$VideoPlayerUIComponentDrawer1=b;d.$VideoPlayerUIComponentDrawer2=c;d.$VideoPlayerUIComponentDrawer4=!1;return d}var c=b.prototype;c.reserve=function(){if(this.$VideoPlayerUIComponentDrawer4)return;this.$VideoPlayerUIComponentDrawer4=!0;this.emit("reserve")};c.release=function(){if(!this.$VideoPlayerUIComponentDrawer4)return;this.$VideoPlayerUIComponentDrawer4=!1;this.emit("release")};c.getPriority=function(){return this.$VideoPlayerUIComponentDrawer1};c.getHeight=function(){return this.$VideoPlayerUIComponentDrawer2};c.setHeight=function(a){this.$VideoPlayerUIComponentDrawer2=a,this.emit("heightChange")};c.emit=function(b){var c;for(var d=arguments.length,e=new Array(d>1?d-1:0),f=1;f<d;f++)e[f-1]=arguments[f];b==="reposition"&&(this.$VideoPlayerUIComponentDrawer3=e[0]);(c=a.prototype.emit).call.apply(c,[this,b].concat(e))};c.reposition=function(){this.emit("reposition",this.$VideoPlayerUIComponentDrawer3)};c.isReserved=function(){return this.$VideoPlayerUIComponentDrawer4};return b}(b("EventEmitter"));a.priorities={EmbeddedControls:0,AdBreakStartingIndicator:1,ClickForMore:2,PollCard:5,GameshowCard:6,Subtitles:3,SphericalMouseAnimation:4};e.exports=a}),null); __d("VideoPlayerUIComponentDrawerController",["VideoPlayerUIComponentDrawer"],(function(a,b,c,d,e,f){"use strict";var g=function(a,b){return a.getPriority()-b.getPriority()};a=function(){function a(){this.$1=[]}var c=a.prototype;c.register=function(a,c){var d=this;c=new(b("VideoPlayerUIComponentDrawer"))(a,c);c.addListener("reserve",function(){return d.$2(a)});c.addListener("release",function(){return d.$2(a)});c.addListener("heightChange",function(){return d.$2(a)});this.$1.push(c);this.$1.sort(g);return c};c.$2=function(a){var b=0;this.$1.forEach(function(c){c.getPriority()>a&&c.emit("reposition",b),c.isReserved()&&(b+=c.getHeight())})};return a}();e.exports=a}),null); __d("ViewabilityVideoElement",["UITinyViewportAction","getElementPosition","getViewportDimensions"],(function(a,b,c,d,e,f){var g=42;a=function(){"use strict";function a(a,b,c,d){d===void 0&&(d=!1),this.$1=a,this.$2=b,this.$3=c,this.$4=d}var c=a.prototype;c.feedViewabilityPercentage=function(){var a=b("UITinyViewportAction").isTinyHeight();return this.$5(!a)};c.viewabilityPercentage=function(){return this.$5(!1)};c.isTopElement=function(a,b,c){b=document.elementFromPoint(b,c);return b===a||!!a&&a.contains(b)||!!b&&b.contains(a)};c.$5=function(a){var c=b("getViewportDimensions")(),d=c.width;c=c.height;var e=this.$4&&this.$3?this.$3:this.$1;e=b("getElementPosition")(e);if(e.width===0||e.height===0)return 0;var f=e.x,h=e.x+e.width,i=e.y,j=e.y+e.height;a=a?g:0;if(h<=0||f>=d||j<=a||i>=c)return 0;h=Math.min(h,d)-Math.max(f,0);d=Math.min(j,c)-Math.max(i,a);f=h*d*100/(e.width*e.height);return f};return a}();e.exports=a}),null); __d("VideoViewabilityLogging",["VideoPlayerExperiments","ViewabilityVideoElement","performanceNow"],(function(a,b,c,d,e,f){var g,h=b("VideoPlayerExperiments").viewabilityPollingRate,i=new Map([[0,0],[25,25],[50,50],[75,75],[100,100]]);a=function(){"use strict";function a(a,c,d,e){var f=this;this.$14=function(a){if(!f.$8())return;a=(g||(g=b("performanceNow")))();a-f.$1>h&&(f.$12(),f.$1=a);f.$13()};this.$11=function(){f.$16()};this.$10=function(){f.setLastLoggedViewability(f.getViewability()),f.$15()};this.$1=0;this.$5=a;this.$6=new(b("ViewabilityVideoElement"))(c,d,e,this.$5.isSpherical());this.$7()}var c=a.prototype;c.getViewability=function(){var a;this.$5.isInline()?a=this.$6.feedViewabilityPercentage():a=this.$6.viewabilityPercentage();b("VideoPlayerExperiments").pauseVideosOnViewability&&a<50&&this.$8()&&this.$5.pause();return this.$9(a)};c.setLastLoggedViewability=function(a){this.$4=a};c.$7=function(){this.$5.addListener("beginPlayback",this.$10),this.$5.addListener("pausePlayback",this.$11)};c.$12=function(){var a=this.getViewability();a!=this.$4&&(this.$5.logEvent("viewability_changed",{current_viewability_percentage:a,last_viewability_percentage:this.$4}),this.$4=a)};c.$13=function(){var a=this,c=b("VideoPlayerExperiments").organicViewabilityLoggingUseSetTimeout,d=b("VideoPlayerExperiments").organicViewabilityLoggingPollingTimeMs;c=!this.$5.isAd()&&c?function(){a.$3=window.setTimeout(function(){return a.$14((g||(g=b("performanceNow")))())},d)}:function(){a.$2=window.requestAnimationFrame(a.$14)};c()};c.$15=function(){this.$13()};c.$16=function(){this.$17()};c.$17=function(){var a=this,c=b("VideoPlayerExperiments").organicViewabilityLoggingUseSetTimeout;c=!this.$5.isAd()&&c?function(){return window.clearTimeout(a.$3)}:function(){return window.cancelAnimationFrame(a.$2)};c()};c.$8=function(){return this.$5.getVideoAPI().isPaused()!==void 0?!this.$5.getVideoAPI().isPaused():this.$5.getState()==="playing"};c.$9=function(a){var b=-2;if(a<=0)return b;for(var c=i,d=Array.isArray(c),e=0,c=d?c:c[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]();;){var f;if(d){if(e>=c.length)break;f=c[e++]}else{e=c.next();if(e.done)break;f=e.value}f=f;var g=f[0];f=f[1];a>=g&&(b=f)}return b};return a}();e.exports=a}),null); __d("WebSessionExtensionTypedLogger",["Banzai","GeneratedLoggerUtils","nullthrows"],(function(a,b,c,d,e,f){"use strict";a=function(){function a(){this.$1={}}var c=a.prototype;c.log=function(a){b("GeneratedLoggerUtils").log("logger:WebSessionExtensionLoggerConfig",this.$1,b("Banzai").BASIC,a)};c.logVital=function(a){b("GeneratedLoggerUtils").log("logger:WebSessionExtensionLoggerConfig",this.$1,b("Banzai").VITAL,a)};c.logImmediately=function(a){b("GeneratedLoggerUtils").log("logger:WebSessionExtensionLoggerConfig",this.$1,{signal:!0},a)};c.clear=function(){this.$1={};return this};c.getData=function(){return babelHelpers["extends"]({},this.$1)};c.updateData=function(a){this.$1=babelHelpers["extends"]({},this.$1,a);return this};c.setClientTime=function(a){this.$1.client_time=a;return this};c.setReason=function(a){this.$1.reason=a;return this};c.setWebsessionID=function(a){this.$1.websession_id=a;return this};return a}();c={client_time:!0,reason:!0,websession_id:!0};e.exports=a}),null); __d("WebSessionExtender",["WebSession","WebSessionExtensionTypedLogger","clearInterval","gkx","setInterval"],(function(a,b,c,d,e,f){"use strict";f.subscribe=a;f.unsubscribe=c;var g=2e4,h=new Set(),i=null;function a(a,c){c===void 0&&(c="extender");h.add(a);var d=b("gkx")("1252196");i==null&&(b("WebSession").extend(Date.now()+g+2e3),i=b("setInterval")(function(){b("WebSession").extend(Date.now()+g+2e3),d&&new(b("WebSessionExtensionTypedLogger"))().setClientTime(Date.now()).setWebsessionID(b("WebSession").getId()).setReason(c).log()},g))}function c(a){h["delete"](a);a=h.size;a===0&&i!=null&&(b("clearInterval")(i),i=null)}}),null); __d("XVideoDataController",["XController"],(function(a,b,c,d,e,f){e.exports=b("XController").create("/video/video_data/",{video_id:{type:"String",required:!0},width:{type:"Int"},height:{type:"Int"},scrubbing_preference:{type:"Int"},source:{type:"String"},preferred_projection:{type:"Enum",enumType:1},supports_html5_video:{type:"Bool",defaultValue:!0},is_ad:{type:"Bool",defaultValue:!1},force_flash:{type:"Bool",defaultValue:!1},is_omnistab_preview_select_revert:{type:"Bool",defaultValue:!1}})}),null); __d("canVideoPlayType",[],(function(a,b,c,d,e,f){var g=null;function a(a){g=g||document.createElement("video");return!("canPlayType"in g)?"":g.canPlayType(a)}e.exports=a}),null); __d("forwardEvent",[],(function(a,b,c,d,e,f){e.exports=a;function a(a,b,c){return a.addListener(c,function(){for(var a=arguments.length,d=new Array(a),e=0;e<a;e++)d[e]=arguments[e];return b.emit.apply(b,[c].concat(d))})}}),null); __d("getVideoComponentName",[],(function(a,b,c,d,e,f){function a(a){if(a!=null){var b=null;a.prototype&&a.prototype.constructor?b=a.prototype.constructor:a.constructor&&(b=a.constructor);if(b&&b.name)return b.name;if(typeof a.toString==="function")return a.toString()}return null}e.exports=a}),null); __d("logVideosClickTracking",["clickRefAction"],(function(a,b,c,d,e,f){function a(a){b("clickRefAction")("click",a,null,"FORCE")}e.exports=a}),null); __d("VideoPlayerController",["csx","cx","invariant","Promise","Arbiter","Banzai","Bootloader","CSS","CurrentUser","CVCv3VideoControllerHelper","DelegatedVideoPriorityAdjuster","DOM","DOMDimensions","DOMQuery","ErrorUtils","EventEmitter","FBLogger","FullScreen","LiveVideoCopyrightActionQueryWebGraphQLQuery","LiveVideoCopyrightActionSubscription","MediaController","Parent","Run","ScriptPath","SparkMD5","SphericalVideoPlayerEvents","SRTVideoData","SubscriptionsHandler","TahoeVariables","URI","VideoAsyncLoggerHelper","VideoChannelViewChainLengthManager","VideoControllerPlayingStateEmitter","VideoLiveTrace","VideoMimeTypes","VideoPermalinkURI","VideoPlaybackQuality","VideoPlayerABRQualityTracker","VideoPlayerApiEvents","VideoPlayerConnectionQuality","VideoPlayerExperiments","VideoPlayerFormatsMap","VideoPlayerHTML5Experiments","VideoPlayerLogger","VideoPlayerLoggerErrorStates","VideoPlayerLoggerFallbackReasons","VideoPlayerQualitiesArray","VideoPlayerReasonTransitionHelper","VideoPlayerResizeSettings","VideoPlayerShakaBandwidthEstimator","VideoPlayerShakaConfig","VideoPlayerStateBasedLoggingEvents","VideoPlayerUIComponentDrawer","VideoPlayerUIComponentDrawerController","VideoPlayerVolumeSettings","VideosRenderingInstrumentation","VideoViewabilityKeyEvents","VideoViewabilityLogging","VideoVisibilityObserver","ViewportTrackingHelper","Visibility","WebGraphQL","WebSessionExtender","XVideoDataController","canVideoPlayType","clearInterval","clearTimeout","collectDataAttributes","enumerate","forwardEvent","getContextualParent","getElementPosition","getFullScreenElement","getVideoComponentName","getViewportDimensions","gkx","guid","ifRequired","logVideosClickTracking","mapObject","performanceAbsoluteNow","promiseDone","requireWeak","setInterval","setTimeout","uniqueID"],(function(a,b,c,d,e,f,g,h,i){var j,k,l,m,n=b("VideoAsyncLoggerHelper").operateAsync,o=b("VideoPlaybackQuality").getDroppedFrames,p=b("VideoPlaybackQuality").getTotalFrames,q=b("VideoPlayerQualitiesArray").getHighestVideoQuality,r=b("VideoPlayerQualitiesArray").getPreferredVideoQualityForToggleHD,s=b("VideoPlayerQualitiesArray").isHDSelectedVideoQuality,t=null;b("requireWeak")("LiveVideoPlayerStore",function(a){return t=a});var u=1;function v(){return b("VideoPlayerHTML5Experiments").useMonotonicallyIncreasingTimers?(j||(j=b("performanceAbsoluteNow")))():Date.now()}a=function(a){"use strict";babelHelpers.inheritsLoose(c,a);function c(c,d){var e,f=c.video_id,g=c.video_ids,h=c.video_url,i=c.video_urls,j=c.chaining_token,m=c.video_channel_id,n=c.video_list_id,q=c.reaction_video_channel_type,r=c.reaction_video_channel_subtype,s=c.source,t=c.ad_client_token,u=c.should_autoplay,w=c.immediateplay_reason,x=c.player_version,y=c.autoplay_setting,z=c.apiModule,A=c.apiConfig,B=c.useInlineFallback,C=c.accessToken,D=c.permalinkShareID,E=c.projection,F=c.playerOrigin,G=c.playerSuborigin,H=c.playerSuboriginDerived,I=c.isBroadcast,J=c.isInstreamAd,K=c.customLiveManifestUrlParams,L=c.components,M=c.trackingCodes,N=c.alwaysShowCaptions;c.disableLogging;var O=c.subtitleBackgroundColor,P=c.subtitleBackgroundOpacity,Q=c.subtitleTextColor,R=c.subtitleTextSize,S=c.captionsAutogeneratedIndicatorConfig,T=c.video_path,U=c.customLoggingProps,V=c.broadcasterOrigin,aa=c.allowCrossPageTransition,ba=c.isReactPlayer,ca=c.offsettype,da=c.offsetvalue,ea=c.upstreamPlayerSource,fa=c.shouldLogVideoViewability,W=c.livingRoomSessionID,ga=c.broadcastId,ha=c.isAdsPreview,ia=c.isInjectedAds,ja=c.isBroadcaster,ka=c.keepPlayingOnDialog,la=c.isChainedLivingRoom,X=c.liveLinearChannelId,ma=c.isReplayLivingRoom,Y=c.device_id,Z=c.iframeEmbedReferrer;c=c.positionInUnit;var na=d.root_element,oa=d.container_element;d=d.video_element;e=a.call(this)||this;e.$VideoPlayerController22=!1;e.$VideoPlayerController40=!1;e.$VideoPlayerController81=new Set(b("VideoPlayerStateBasedLoggingEvents").StateBasedLoggingEventNames);e.$VideoPlayerController82=0;e.$VideoPlayerController114=[];e.$VideoPlayerController121=null;e.$VideoPlayerController122=null;e.$VideoPlayerController123=new(b("EventEmitter"))();e.$VideoPlayerController128=null;e.emitHeartbeat=function(){if(!e.isState("playing")||!e.getVideoNode()){e.stopHeartbeat();e.$VideoPlayerController20.stopUnifiedCVC();return}if(b("VideoPlayerHTML5Experiments").heartbeatSkipOnBuffering&&e.isBuffering())return;e.getVideoAPI().logHeartbeat()};e.$VideoPlayerController169=function(){if(!b("VideoPlayerExperiments").allowBufferingErrorForHiddenTab&&b("Visibility").isHidden()){e.$VideoPlayerController168();e.$VideoPlayerController103=b("setTimeout")(e.$VideoPlayerController169,e.$VideoPlayerController109);return}var a=e.getVideoAPI().isPaused()!==void 0?!e.getVideoAPI().isPaused():e.getState()==="playing";a&&(e.logError({error:"BUFFERING_TIMEOUT",message:"video has been in buffering state for over "+e.$VideoPlayerController109+"ms.",isPlayback:e.isPlayRequestPending()}),e.$VideoPlayerController168(),e.emit("error",b("VideoPlayerLoggerFallbackReasons").TIMEOUT))};e.$VideoPlayerController118=b("guid")();e.$VideoPlayerController48=0;e.$VideoPlayerController26=0;e.$VideoPlayerController25=new Map();e.$VideoPlayerController84={};U&&e.setLogEntryPropertyGetters(U);if(u===void 0)throw new Error("Must pass should_autoplay to "+e.constructor.name+"!");e.$VideoPlayerController130=Z;e.$VideoPlayerController119=c;e.$VideoPlayerController24=new(b("VideoPlayerUIComponentDrawerController"))();e.$VideoPlayerController13=new Map();e.$VideoPlayerController61=E;e.$VideoPlayerController1=C;e.$VideoPlayerController71=!!u;e.$VideoPlayerController72=w;e.$VideoPlayerController8=y;e.$VideoPlayerController2=t;e.$VideoPlayerController55=!1;e.$VideoPlayerController94=d;e.$VideoPlayerController70=na;e.$VideoPlayerController15=oa;e.$VideoPlayerController35=!1;e.$VideoPlayerController36=!1;e.$VideoPlayerController60=x;e.$VideoPlayerController93=f||g&&g[0]||"";e.$VideoPlayerController96=h||i&&i[0];e.$VideoPlayerController95=T;e.$VideoPlayerController11=j;e.$VideoPlayerController90=m;e.$VideoPlayerController91=n;e.$VideoPlayerController56=D;e.$VideoPlayerController57=F;e.$VideoPlayerController58=G||s;e.$VideoPlayerController59=(U=H)!=null?U:null;e.$VideoPlayerController33=I;e.$VideoPlayerController41=J;e.$VideoPlayerController19=(Z=K)!=null?Z:null;e.$VideoPlayerController86=M;e.$VideoPlayerController3=N;e.$VideoPlayerController75=O||"";e.$VideoPlayerController76=P==void 0?0:P;e.$VideoPlayerController77=Q||"";e.$VideoPlayerController78=R==void 0?0:R;e.$VideoPlayerController79=S;e.$VideoPlayerController31=b("uniqueID")();e.$VideoPlayerController67=q;e.$VideoPlayerController68=r;e.$VideoPlayerController122=ga;e.$VideoPlayerController124=ha;e.$VideoPlayerController125=ia;e.$VideoPlayerController126=ka;e.$VideoPlayerController5=z;e.$VideoPlayerController4=A;e.$VideoPlayerController80=e.$VideoPlayerController5.getStartMutedFromConfig(e.$VideoPlayerController4);e.$VideoPlayerController45=e.$VideoPlayerController5.getStreamTypeFromConfig(e.$VideoPlayerController4);e.$VideoPlayerController44=e.$VideoPlayerController5.getIsServableViaFbmsFromConfig(e.$VideoPlayerController4);e.$VideoPlayerController42=e.$VideoPlayerController5.getIsPlayingLiveFromConfig(e.$VideoPlayerController4);e.$VideoPlayerController43=e.$VideoPlayerController5.getIsGamingFromConfig(e.$VideoPlayerController4);e.isLiveVideo()&&e.$VideoPlayerController5.getIsLiveTraceEnabledOnPlayer(e.$VideoPlayerController4)&&e.$VideoPlayerController122&&(e.$VideoPlayerController121=new(b("VideoLiveTrace"))(e.$VideoPlayerController122,e.$VideoPlayerController118,b("CurrentUser").getAccountID()));e.$VideoPlayerController116=!!fa;e.$VideoPlayerController38=e.$VideoPlayerController5.getIsSpherical(e.$VideoPlayerController4);c={is_ad:e.isAd(),is_live:e.$VideoPlayerController42,player_format:e.$VideoPlayerController131(e.isFullscreen(),s)||"unknown",connection_quality:b("VideoPlayerConnectionQuality").evaluate(b("VideoPlayerShakaBandwidthEstimator").getBandwidth),is_spherical:e.$VideoPlayerController38,content_category:"general",latency_level:"normal",servable_via_fbms:void 0,servable_via_fmbs:void 0};c.servable_via_fmbs=!1;e.$VideoPlayerController14=new(b("VideoPlayerShakaConfig"))(c);e.$VideoPlayerController117=W;e.$VideoPlayerController127=la;e.$VideoPlayerController129=ma;e.$VideoPlayerController128=X;e.$VideoPlayerController20=new(b("CVCv3VideoControllerHelper"))(babelHelpers.assertThisInitialized(e));C&&e.$VideoPlayerController20.setAccessToken(C);e.$VideoPlayerController20.setLivingRoomSessionID(W);e.$VideoPlayerController20.setLinearChannelID(X);e.$VideoPlayerController45==="progressive"?e.$VideoPlayerController109=b("VideoPlayerExperiments").progressiveBufferingErrorTimeout:e.isLiveVideo()?e.$VideoPlayerController109=b("VideoPlayerExperiments").liveBufferingErrorTimeout:e.$VideoPlayerController109=b("VideoPlayerExperiments").bufferingErrorTimeout;b("VideoPlayerExperiments").createVideoVisibilityObserver&&e.$VideoPlayerController132();e.$VideoPlayerController37=e.$VideoPlayerController5.getIsFacecastAudioFromConfig(e.$VideoPlayerController4);e.$VideoPlayerController88=!!B;e.$VideoPlayerController101=new Set();e.$VideoPlayerController102=V;e.$VideoPlayerController103=null;e.$VideoPlayerController104=!!aa;e.$VideoPlayerController105=!!ba;e.$VideoPlayerController106=e.getContainerNode().style.paddingBottom;e.$VideoPlayerController107=ca;e.$VideoPlayerController108=da;e.$VideoPlayerController110=!1;e.$VideoPlayerController111=!1;e.$VideoPlayerController87=ea;e.$VideoPlayerController23=b("Arbiter").subscribe("DOM/destroy",function(a,c){if(!b("Parent").bySelector(e.getVideoNode(),c))return;e.pause("unloaded");e.destroy()});e.$VideoPlayerController18=0;E=(k||(k=b("URI"))).getRequestURI();u=b("VideoPermalinkURI").parse(E);w=parseFloat(E.getQueryData().t);y=u?u.video_id==e.$VideoPlayerController93:!1;w&&y&&e.$VideoPlayerController4&&(e.$VideoPlayerController4.startTimestamp=w);b("VideoPlayerHTML5Experiments").useVpcPlayingStateForPrioritization&&e.$VideoPlayerController4&&(e.$VideoPlayerController4.vpcPlayingStateEmitter=new(b("VideoControllerPlayingStateEmitter"))(babelHelpers.assertThisInitialized(e)));e.$VideoPlayerController14.getBool("oz_www_safely_log_player_seeks",!1)&&e.$VideoPlayerController4&&(e.$VideoPlayerController4.seekHandler=function(a){e.isState("playing")?(e.pause(),e.seek(a),e.play("seek_initiated")):e.seek(a)});e.$VideoPlayerController115=new(b("DelegatedVideoPriorityAdjuster"))();b("VideoPlayerExperiments").adjustPriorityBasedOnAutoplayIndex&&e.$VideoPlayerController4&&(e.$VideoPlayerController4.streamPriorityAdjuster=e.$VideoPlayerController115);e.$VideoPlayerController17=null;e.$VideoPlayerController53=null;e.$VideoPlayerController73=s;e.$VideoPlayerController50=Y?new(b("VideoPlayerLogger"))(s,{device_id:Y}):new(b("VideoPlayerLogger"))(s);e.$VideoPlayerController73==="tahoe"&&e.focusOnContainerNode();e.collectFeedTrackingData();e.$VideoPlayerController50.setScriptPath(b("ScriptPath").getScriptPath());e.$VideoPlayerController50.setFrameCountGetters(function(){return e.$VideoPlayerController94!=null?o(e.$VideoPlayerController94):null},function(){return e.$VideoPlayerController94!=null?p(e.$VideoPlayerController94):null});e.$VideoPlayerController63=b("VideosRenderingInstrumentation").retrieveRenderTime(e.getRootNode());e.$VideoPlayerController62=v()-e.$VideoPlayerController63;A&&(A.subtitleDrawer=e.registerDrawer(b("VideoPlayerUIComponentDrawer").priorities.Subtitles,0));e.$VideoPlayerController74="loading";e.$VideoPlayerController133(!1);if(e.$VideoPlayerController5.isImplementationUnavailable(e.$VideoPlayerController88)){e.$VideoPlayerController134();return babelHelpers.assertThisInitialized(e)}else e.$VideoPlayerController135();b("Banzai").subscribe(b("Banzai").SHUTDOWN,function(){e.pause("unloaded"),e.destroy()});e.$VideoPlayerController7=new(b("SubscriptionsHandler"))();e.$VideoPlayerController71&&(b("VideoPlayerExperiments").delayAutoplayUntilAfterLoad?e.$VideoPlayerController7.addSubscriptions(b("Run").onAfterLoad(function(){return e.$VideoPlayerController136()})):e.$VideoPlayerController136());e.$VideoPlayerController21=0;e.$VideoPlayerController69=!1;e.$VideoPlayerController27=e.$VideoPlayerController137();e.$VideoPlayerController7.addSubscriptions(b("Banzai").subscribe(b("Banzai").SHUTDOWN,function(){e.pause("unloaded"),e.destroy()}));if(!e.$VideoPlayerController138()){var $=new Set(["DialogX","PhotoSnowlift","Spotlight"]);b("gkx")("1249530")&&($.add("FacebarTypeahead"),$.add("Jewel"));e.$VideoPlayerController7.addSubscriptions(b("Arbiter").subscribe("layer_shown",function(a,c){if($.has(c.type)){c.type!=="Spotlight"&&b("Bootloader").loadModules(["VideoAutoplayControllerX"],function(a){a.setShouldAutoplay(!1)},"VideoPlayerController");this.$VideoPlayerController21=this.$VideoPlayerController21+1;if(b("VideoPlayerExperiments").ignoreDialogCounter||this.$VideoPlayerController21>0){a=this.$VideoPlayerController73==="tahoe"&&this.isLiveVideo();this.isState("playing")&&!(a&&b("TahoeVariables").neverAutoPauseLive)&&!this.$VideoPlayerController126&&(this.pause("page_visibility_initiated"),this.$VideoPlayerController69=!0)}}}.bind(babelHelpers.assertThisInitialized(e))),b("Arbiter").subscribe("layer_hidden",function(a,c){$.has(c.type)&&(b("VideoPlayerExperiments").addViewabilityFixEnabled?this.$VideoPlayerController21=Math.max(0,this.$VideoPlayerController21-1):this.$VideoPlayerController21=this.$VideoPlayerController21-1,this.$VideoPlayerController21===0&&(c.type!=="Spotlight"&&b("Bootloader").loadModules(["VideoAutoplayControllerX"],function(a){a.setShouldAutoplay(!0)},"VideoPlayerController"),this.$VideoPlayerController69&&(this.play("page_visibility_initiated"),this.$VideoPlayerController69=!1)))}.bind(babelHelpers.assertThisInitialized(e))))}e.$VideoPlayerController7.addSubscriptions(b("Arbiter").subscribe("share_dialog_closed",function(a,c){if(!c.root)return;if(!e.$VideoPlayerController70)return;b("ViewportTrackingHelper").isDescendantOf(e.$VideoPlayerController70,c.root)&&e.mute()}));b("Run").onLeave(function(){if(e.$VideoPlayerController104||b("VideoPlayerExperiments").persistentWNSEnabled&&e.$VideoPlayerController73==="watch_scroll")return;e.cleanOnLeave()});e.$VideoPlayerController12=L||[];e.$VideoPlayerController12.forEach(function(a){var c=b("getVideoComponentName")(a)||"<MalformedComponent>";a&&typeof a.enable==="function"?b("VideoPlayerExperiments").enableComponentGuards?(l||(l=b("ErrorUtils"))).applyWithGuard(a.enable,a,[babelHelpers.assertThisInitialized(e)],null,"VideoPlayerController Component Enable Guard: "+c):a.enable(babelHelpers.assertThisInitialized(e)):b("FBLogger")("video").warn("no_enable_method_on_component: %s",c)});e.$VideoPlayerController52=1;e.$VideoPlayerController97=!1;e.$VideoPlayerController94&&(e.shouldCalculateViewability()?(e.$VideoPlayerController97=b("VideoPlayerExperiments").enableViewabilityLogging||b("VideoPlayerExperiments").enableVideoSampledViewabilityLogging&&!!e.$VideoPlayerController116,e.isInstreamAd()&&(e.$VideoPlayerController97=e.$VideoPlayerController97&&(b("VideoPlayerExperiments").enableInstreamAdViewabilityLogging||b("VideoPlayerExperiments").enableVideoSampledViewabilityLogging&&!!e.$VideoPlayerController116))):e.$VideoPlayerController97=b("VideoPlayerExperiments").enableViewabilityLoggingForOrganic);e.$VideoPlayerController97&&e.$VideoPlayerController94&&(e.$VideoPlayerController98=new(b("VideoViewabilityLogging"))(babelHelpers.assertThisInitialized(e),e.$VideoPlayerController94,e.$VideoPlayerController70,e.$VideoPlayerController15));e.$VideoPlayerController32=!1;e.$VideoPlayerController34=ja;e.isLiveVideo()&&(e.$VideoPlayerController16=b("LiveVideoCopyrightActionSubscription").subscribe(e.getVideoID(),function(a){var b=a.live_video_copyright_action_subscribe.action.toLowerCase();switch(b){case"block":if(e.$VideoPlayerController34)break;e.emit("blockVideo");e.destroy();break;case"mute":e.emit("blockAudio",e.$VideoPlayerController34);e.$VideoPlayerController32=!0;e.$VideoPlayerController34||e.mute();break;case"unmute":e.emit("unblockAudio",e.$VideoPlayerController34);e.$VideoPlayerController32=!1;e.$VideoPlayerController34||e.unmute();break}e.$VideoPlayerController139(a.live_video_copyright_action_subscribe.action,a.live_video_copyright_action_subscribe.timestamp)}));e.$VideoPlayerController140();return e}var d=c.prototype;d.$VideoPlayerController140=function(){var a="v:"+this.$VideoPlayerController31;this.addListener("beginPlayback",function(){b("WebSessionExtender").subscribe(a,"video-on-blue")});this.addListener("pausePlayback",function(){b("WebSessionExtender").unsubscribe(a)});this.addListener("finishPlayback",function(){b("WebSessionExtender").unsubscribe(a)})};d.setVideoPriorityAdjustment=function(a){this.$VideoPlayerController115.notifyAdjustment(a)};d.addListener=function(){var b;for(var c=arguments.length,d=new Array(c),e=0;e<c;e++)d[e]=arguments[e];var f=(b=a.prototype.addListener).call.apply(b,[this].concat(d));d[0]==="visibilityChanged"&&this.$VideoPlayerController132();return f};d.$VideoPlayerController132=function(){var a=this;if(this.$VideoPlayerController112)return;this.$VideoPlayerController94||i(0,3694);this.$VideoPlayerController112=new(b("VideoVisibilityObserver"))(this.$VideoPlayerController94);this.$VideoPlayerController112.addListener("visibilityChanged",function(b){return a.emit("visibilityChanged",b)})};d.setAutoScrollIntoView=function(a){this.$VideoPlayerController22=!a};d.setDetectionID=function(a){this.$VideoPlayerController120=a};d.destroy=function(a){a=a||{};if(this.isState("destroyed")||this.$VideoPlayerController36)return;this.$VideoPlayerController36=!0;this.$VideoPlayerController112&&(this.$VideoPlayerController112.destroy(),this.$VideoPlayerController112=null);var c=this.$VideoPlayerController12||[];for(var d=c.length-1;d>=0;d--){var e=c[d],f=b("getVideoComponentName")(e)||"<MalformedComponent>";e&&typeof e.disable==="function"?b("VideoPlayerExperiments").enableComponentGuards?(l||(l=b("ErrorUtils"))).applyWithGuard(e.disable,e,[this],null,"VideoPlayerController Component Disable Guard: "+f):e.disable(this):b("FBLogger")("video").warn("no_disable_method_on_component: %s",f)}b("gkx")("678893")?this.$VideoPlayerController89&&this.getVideoAPI().destroy(a):this.getVideoAPI().destroy(a);this.$VideoPlayerController50.stopCollectingVideoFramesInfo();this.setState("destroyed");this.$VideoPlayerController7.release();a.skipRemoveAllListeners||this.removeAllListeners();this.$VideoPlayerController23&&(this.$VideoPlayerController23.unsubscribe(),this.$VideoPlayerController23=null);this.stopHeartbeat();this.$VideoPlayerController20.stopUnifiedCVC();this.$VideoPlayerController16&&(this.$VideoPlayerController16.unsubscribe(),this.$VideoPlayerController16=null)};d.collectFeedTrackingData=function(){if(this.$VideoPlayerController86){var a={tn:"","tn-debug":","},c={};for(var d=0;d<this.$VideoPlayerController86.length;d++){var e=JSON.parse(this.$VideoPlayerController86[d]);if(!Array.isArray(e))for(var f in e)a[f]!==void 0?(c[f]===void 0&&(c[f]=[]),c[f].push(e[f])):c[f]===void 0&&(c[f]=e[f])}for(var g in a)c[g]!==void 0&&(c[g]=c[g].join(a[g]));e={ft:c}}else{d=!1;a=this.getRootNode();while(a){if(a instanceof Element&&b("CSS").matchesSelector(a,"._4oep")){d=!0;break}a=b("getContextualParent")(a)}!d?this.isState("replayed")?e=b("collectDataAttributes")(window.event.target,["ft"]):e=b("collectDataAttributes")(this.getRootNode(),["ft"]):e={}}this.$VideoPlayerController50.setFTData(e)};d.setStillFrameEnabled=function(a){var b=this.getVideoAPI();b.setStillFrameEnabled&&b.setStillFrameEnabled(a)};d.isFallbackRecoverable=function(){return!!this.$VideoPlayerController83};d.setFallbackSources=function(a){this.$VideoPlayerController83=a};d.setRelativeSphericalOrientation=function(a,c){this.emit(b("SphericalVideoPlayerEvents").SET_RELATIVE_SPHERICAL_ORIENTATION,a,c)};d.setSphericalOrientation=function(a,c){this.emit(b("SphericalVideoPlayerEvents").SET_ABSOLUTE_SPHERICAL_ORIENTATION,a,c)};d.setSphericalFieldOfView=function(a){this.emit(b("SphericalVideoPlayerEvents").SET_FIELD_OF_VIEW,a)};d.isSpherical=function(){return this.$VideoPlayerController38};d.getVideoPlayerID=function(){return this.$VideoPlayerController31};d.focusOnContainerNode=function(){this.$VideoPlayerController15&&this.$VideoPlayerController15.focus()};d.setLogEntryPropertyGetters=function(a){var b=this;Object.keys(a).forEach(function(c){var d=a[c];typeof d==="function"?b.$VideoPlayerController25.set(c,d):b.$VideoPlayerController84[c]=d})};d.removeLogEntryPropertyGetters=function(a){var b=this;typeof a==="string"&&(a=[a]);Array.isArray(a)||(a=Object.keys(a));a.forEach(function(a){b.$VideoPlayerController25["delete"](a),delete b.$VideoPlayerController84[a]})};d.$VideoPlayerController135=function(){var a=this;this.$VideoPlayerController5.onImplementationReady(this.getVideoNode(),function(){return a.onApiReady()})};d.isImplementationUnavailable=function(){return this.$VideoPlayerController5.isImplementationUnavailable(this.$VideoPlayerController88)&&!this.$VideoPlayerController88};d.getIsInChannel=function(){return this.$VideoPlayerController73==="channel"};d.updateSource=function(a){if(!this.$VideoPlayerController73)return;var c=b("VideoPlayerFormatsMap")[this.$VideoPlayerController73],d=b("VideoPlayerFormatsMap")[a];this.$VideoPlayerController50.updateSource(a);this.$VideoPlayerController14.setContext("player_format",this.$VideoPlayerController131(this.isFullscreen(),a)||"unknown");c&&c!==d&&this.$VideoPlayerController99&&(b("VideoPlayerExperiments").delayFormatChangeEvent?this.isState("playing")&&!this.$VideoPlayerController39?(this.logEvent("player_format_changed"),this.$VideoPlayerController47=d):this.$VideoPlayerController47=c:this.logEvent("player_format_changed"));this.$VideoPlayerController73=a};d.getSource=function(){return this.$VideoPlayerController50.getSource()};d.getPlayerOrigin=function(){return this.$VideoPlayerController57};d.getPlayerSuborigin=function(){return this.$VideoPlayerController58};d.getUpstreamPlayerSource=function(){return this.$VideoPlayerController87};d.hasLooped=function(){return this.$VideoPlayerController52>1};d.$VideoPlayerController134=function(){var a={error:"IMPLEMENTATION_NOT_SUPPORTED",state:b("VideoPlayerLoggerErrorStates").PLAYER_FAILURE,error_description:"Implementation unavailable",error_user_info:this.getDebugInfo()};this.logEvent("error",a);this.$VideoPlayerController71=!1};d.logError=function(a){a=this.$VideoPlayerController46=a;var c=a.error,d=a.message,e=a.isPlayback,f=a.httpStatus,g=a.url;a=a.stack;var h=this.getDebugInfo();a&&(h.player.stack=a);a=f==null||f===""?c:f;delete h.player.loggedError;delete h.player.lastError;h={error:c,error_description:d,error_user_info:h,error_code:a,error_domain:c,resource_url:g,state:e?b("VideoPlayerLoggerErrorStates").PLAYBACK_FAILURE:b("VideoPlayerLoggerErrorStates").PLAYER_FAILURE};f===410||f==="410"||(this.$VideoPlayerController49=this.logEvent("error",h));this.$VideoPlayerController38&&Math.random()<.01&&b("FBLogger")("360video").warn("360 video player error: %s %s",c,d);e&&this.$VideoPlayerController55&&this.$VideoPlayerController133(!1)};d.setRotation=function(a){this.getVideoAPI().setRotation(a)};d.setDimensions=function(a,c){var d=this.getContainerNode();d.style.width=a+"px";d.style.height=c+"px";d=this.getVideoNode();d.style.width=a+"px";d.style.height=c+"px";if(this.isState("loading"))this.$VideoPlayerController64={width:a,height:c};else{if(this.isPlayerVersion("silvercity")&&(this.$VideoPlayerController39||b("VideoPlayerResizeSettings").disable_flash_set_dimensions))return;this.setVideoPlayerAPIDimensions(a,c)}};d.isPlayRequestPending=function(){return this.$VideoPlayerController55};d.$VideoPlayerController133=function(a){if(this.$VideoPlayerController55===a)return;this.$VideoPlayerController55=a;this.emit("pendingPlayRequestChanged")};d.updateAutoplayRestrained=function(){var a=this;b("ifRequired")("VideoPlayerHTML5Shaka",function(b){b=b.isAutoplayBandwidthRestrained(a.$VideoPlayerController42);a.$VideoPlayerController141(b)})};d.$VideoPlayerController141=function(a){a?this.emit("turnOffAutoplay",{reason:"poor_network_quality"}):this.emit("resumeAutoplay",{reason:"poor_network_quality"});if(b("gkx")("678893")){var c=this.getVideoAPI();c&&c.setPreloadDisabled(a)}else this.getVideoAPI().setPreloadDisabled(a)};d.restoreStreamBufferSize=function(){if(b("gkx")("678893")){var a=this.getVideoAPI();a&&a.restoreStreamBufferSize()}else this.getVideoAPI().restoreStreamBufferSize()};d.getDataInsertionPosition=function(){return this.$VideoPlayerController27&&this.$VideoPlayerController27.getAttribute("data-insertion-position")};d.getDataFt=function(){return this.$VideoPlayerController27&&this.$VideoPlayerController27.getAttribute("data-ft")};d.play=function(a){var c=this,d=null;a instanceof b("VideoPlayerReasonTransitionHelper")?d=a.getReason():d=a;a=this.getVideoNodeNullable();if(a&&a.scrollIntoView&&d==="user_initiated"&&!this.$VideoPlayerController22&&this.$VideoPlayerController14.getBool("enable_autoscroll_into_view",!1)){var e=this.getDOMPosition(),f=e.y>=0;e=e.y+e.height<=b("getViewportDimensions")().height;!f?a.scrollIntoView(!0):e||a.scrollIntoView(!1)}this.$VideoPlayerController142();this.$VideoPlayerController54||(this.$VideoPlayerController54=d);this.$VideoPlayerController113=this.getOption("VideoWithCommercialBreak","controller");if(this.$VideoPlayerController113&&this.$VideoPlayerController113.shouldPlayPreRollAds(d)){this.$VideoPlayerController113.schedulePreRollAds();return}if(!this.$VideoPlayerController55){this.$VideoPlayerController53=this.$VideoPlayerController143();var g=this.$VideoPlayerController144({debug_reason:d});f=this.$VideoPlayerController73;b("VideoPlayerExperiments").delayFormatChangeEvent&&f&&this.$VideoPlayerController99&&this.$VideoPlayerController47&&b("VideoPlayerFormatsMap")[f]!==this.$VideoPlayerController47&&!this.$VideoPlayerController39&&(this.logEvent("player_format_changed"),this.$VideoPlayerController47=b("VideoPlayerFormatsMap")[f]);b("VideoPlayerExperiments").logRequestedPlayingAsync?n(function(){c.logEvent("requested_playing",g)},["started_playing","unpaused"],this.$VideoPlayerController123):this.logEvent("requested_playing",g);this.$VideoPlayerController99=!0}this.$VideoPlayerController145(d);this.emit("playRequested",d);this.sendPlayRequest(d);d==="loop_initiated"&&(this.$VideoPlayerController52++,this.$VideoPlayerController52>10&&this.$VideoPlayerController14.getBool("disable_logging_for_long_loops",!1)&&(this.$VideoPlayerController100=!0))};d.sendPlayRequest=function(a){var c=this;if(this.isState("fallback")){this.emit("fallbackPlay");b("VideoPlayerExperiments").endBufferingOnFallbackPlay&&this.$VideoPlayerController50.endBuffering();return}this.$VideoPlayerController133(!0);this.isState("loading")?this.$VideoPlayerController65={reason:a}:(!this.getVideoAPI().isMuted()&&this.$VideoPlayerController51&&(b("VideoPlayerExperiments").logUnmutedAsync?n(function(){c.logEvent("unmuted")},["started_playing","unpaused"],this.$VideoPlayerController123):this.logEvent("unmuted")),this.$VideoPlayerController51=!1,this.$VideoPlayerController146(),this.getVideoAPI().play(a))};d.getOriginalPlayReason=function(){return this.$VideoPlayerController54};d.reset=function(){var a=this,c=b("Promise").resolve();if(this.isState("loading")||this.isState("fallback")&&!this.isFallbackRecoverable())return c;this.resetPositions();this.$VideoPlayerController147();var d=b("Promise").resolve();this.$VideoPlayerController89&&this.$VideoPlayerController89.destroy&&(d=this.$VideoPlayerController89.destroy());this.$VideoPlayerController89=null;this.setState("loading");b("gkx")("1612333")?c=d.then(function(){a.$VideoPlayerController135()}):this.$VideoPlayerController135();return c};d.detachRootNode=function(){var a=this;if(!this.$VideoPlayerController70)return;b("DOM").remove(this.$VideoPlayerController70);if(this.isState("fallback")||this.isState("loading"))return;this.setState("loading");this.$VideoPlayerController5.onImplementationReady(this.getVideoNode(),function(){return a.$VideoPlayerController148()})};d.getVideoAPI=function(){this.$VideoPlayerController89||i(0,3695);return this.$VideoPlayerController89};d.getVideoNodeNullable=function(){return this.$VideoPlayerController94};d.getVideoNode=function(){var a=this.getVideoNodeNullable();return a};d.getRootNodeNullable=function(){return this.$VideoPlayerController70};d.getRootNode=function(){var a=this.getRootNodeNullable();return a};d.getContainerNodeNullable=function(){return this.$VideoPlayerController15};d.getContainerNode=function(){var a=this.getContainerNodeNullable();return a};d.getVideoResolution=function(){var a=this.getVideoNode();return{height:a.videoHeight,width:a.videoWidth}};d.$VideoPlayerController148=function(){this.setState("ready"),this.$VideoPlayerController51=!this.getVideoAPI().isMuted(),this.$VideoPlayerController85=!this.$VideoPlayerController3,this.getVideoAPI().setSubtitlesStyle&&this.getVideoAPI().setSubtitlesStyle(this.$VideoPlayerController75,this.$VideoPlayerController76,this.$VideoPlayerController77,this.$VideoPlayerController78),this.getVideoAPI().setAutogeneratedCaptionsOptions&&this.getVideoAPI().setAutogeneratedCaptionsOptions(this.$VideoPlayerController79),this.$VideoPlayerController65&&(this.sendPlayRequest(this.$VideoPlayerController65.reason),this.$VideoPlayerController65=null),this.$VideoPlayerController64&&(this.setDimensions(this.$VideoPlayerController64.width,this.$VideoPlayerController64.height),this.$VideoPlayerController64=null),this.$VideoPlayerController66&&(this.getVideoAPI().unmute(),this.$VideoPlayerController66=null)};d.onApiReady=function(){var a=this;this.$VideoPlayerController4&&(this.$VideoPlayerController4.id=this.$VideoPlayerController31,this.$VideoPlayerController4.customLiveManifestUrlParams=this.$VideoPlayerController19,this.$VideoPlayerController83&&(this.$VideoPlayerController4.fallbackSources=this.$VideoPlayerController83),this.$VideoPlayerController4.playerOrigin=this.$VideoPlayerController57,this.$VideoPlayerController4.playerSuborigin=this.$VideoPlayerController58,this.$VideoPlayerController4.getSource=function(){return a.getSource()},this.$VideoPlayerController4.shakaConfig=this.$VideoPlayerController14,this.$VideoPlayerController4.playerInstanceKey=this.$VideoPlayerController118,this.$VideoPlayerController121&&(this.$VideoPlayerController4.videoLiveTrace=this.$VideoPlayerController121));this.$VideoPlayerController89=new this.$VideoPlayerController5(this.getVideoNode(),this.$VideoPlayerController4);this.$VideoPlayerController149();this.getVideoAPI().setup();this.$VideoPlayerController148();var c={is_auto_played:this.isAutoplayable()};this.logEvent("player_loaded",c);this.$VideoPlayerController89&&this.$VideoPlayerController50.setABRQualityTracker(new(b("VideoPlayerABRQualityTracker"))(this.$VideoPlayerController89.getLocalEstimator()));c=this.getVideoProjection();c&&(this.$VideoPlayerController61=c);this.emit("apiReady")};d.getLocalEstimator=function(){if(this.$VideoPlayerController89)return this.$VideoPlayerController89.getLocalEstimator();else return null};d.runOnApiReady=function(a){a===void 0&&(a=function(){}),!this.isState("loading")?a():this.once("apiReady",a)};d.resetPositions=function(){this.$VideoPlayerController18=0};d.getCurrentTimePosition=function(){if(this.isState("playing")){var a=this.getVideoAPI().getCurrentTimePosition();a!=null&&a!==void 0&&(this.$VideoPlayerController18=a)}return this.$VideoPlayerController18};d.getBufferEndPosition=function(){if(this.isState("loading"))return 0;var a=this.getVideoAPI().getBufferEndPosition();return a!==null&&a!==void 0?a:this.getCurrentTimePosition()};d.$VideoPlayerController142=function(){if(!this.$VideoPlayerController9){b("VideoChannelViewChainLengthManager").registerChainingInfos(this.getVideoID(),this.$VideoPlayerController11);var a=this.getVideoID();if(this.$VideoPlayerController11){var c=this.$VideoPlayerController11.decode();a=c.root_id}this.$VideoPlayerController9=b("VideoChannelViewChainLengthManager").getLoggingData(a)}};d.$VideoPlayerController150=function(a){this.$VideoPlayerController133(!1);a=a.position;a!==void 0&&(this.$VideoPlayerController18=a);this.setState("playing");this.areHLSActive()&&this.$VideoPlayerController151();this.startHeartbeat();this.$VideoPlayerController20.startUnifiedCVC()};d.$VideoPlayerController152=function(a){var b=a.position;this.$VideoPlayerController121&&this.isState("playing")&&this.$VideoPlayerController121.onUpdateStatus(a);b!==void 0&&(this.$VideoPlayerController18=b);this.$VideoPlayerController17=this.getVideoAPI().getCurrentlyPlayingVideoStreamInfoID()};d.$VideoPlayerController153=function(a){return this.$VideoPlayerController101.has(a)};d.runOnceOnApiEventLogged=function(a,b){if(this.$VideoPlayerController153(a))b();else var c=this.addListener("apiEventLogged",function(d){d===a&&(b(),c.remove())})};d.$VideoPlayerController154=function(a){var b=a.event;this.$VideoPlayerController101.add(b);delete a.event;this.logEvent(b,a);this.emit("apiEventLogged",b)};d.$VideoPlayerController155=function(){this.isState("finished")||this.setState("paused"),this.stopHeartbeat(),this.$VideoPlayerController20.stopUnifiedCVC()};d.$VideoPlayerController156=function(a){a=a.position;a!==void 0&&(this.$VideoPlayerController18=a)};d.$VideoPlayerController157=function(){this.setState("finished"),this.$VideoPlayerController69=!1,this.stopHeartbeat(),this.$VideoPlayerController20.stopUnifiedCVC()};d.getVolume=function(){return this.getVideoAPI().getVolume()};d.$VideoPlayerController158=function(){this.$VideoPlayerController40=!1;var a=this.getContainerNode(),c=this.isFullscreen();b("CSS").conditionClass(a,"_1hwh",c);c?a.style.paddingBottom="0":(a.removeAttribute("data-fullscreen"),a.style.paddingBottom=this.$VideoPlayerController106);!c&&this.$VideoPlayerController28&&(this.$VideoPlayerController28.unsubscribe(),this.$VideoPlayerController28=null);if(this.$VideoPlayerController39!=c){this.logFullscreenChanged(c);this.$VideoPlayerController14.setContext("player_format",this.$VideoPlayerController131(c,this.$VideoPlayerController73)||"unknown");a=b("DOMDimensions").getElementDimensions(a);this.isPlayerVersion("silvercity")||this.setVideoPlayerAPIDimensions(a.width,a.height);this.emit("toggleFullscreen");!c?(this.addOffsetStylings(),b("Arbiter").inform("video_fullscreen_change",{})):this.removeOffsetStylings()}this.$VideoPlayerController39=c};d.$VideoPlayerController131=function(a,c){return a?"full_screen":c?b("VideoPlayerFormatsMap")[c]:"inline"};d.logFullscreenChanged=function(a){var c={player_format:this.$VideoPlayerController131(a,this.$VideoPlayerController73)};b("VideoPlayerHTML5Experiments").enteredExitedFsLoggingFix?this.logEvent(a?"entered_fs":"exited_fs",c):this.logEvent(a?"entered_fs":"exited_fs")};d.setVideoPlayerAPIDimensions=function(a,b){this.getVideoAPI().setDimensions&&this.getVideoAPI().setDimensions(a,b)};d.removeOffsetStylings=function(){var a=this.$VideoPlayerController108;if(a===null||a===void 0)return;this.$VideoPlayerController107===1?(this.getVideoNode().style.setProperty("left","0"),b("CSS").removeClass(this.getVideoNode(),"_blh")):this.$VideoPlayerController107===0&&(this.getVideoNode().style.setProperty("top","0"),b("CSS").removeClass(this.getVideoNode(),"_bli"))};d.addOffsetStylings=function(){var a=this.$VideoPlayerController108;if(a===null||a===void 0)return;this.$VideoPlayerController107===1?(this.getVideoNode().style.setProperty("left",a+"px"),b("CSS").addClass(this.getVideoNode(),"_blh")):this.$VideoPlayerController107===0&&(this.getVideoNode().style.setProperty("top",a+"px"),b("CSS").addClass(this.getVideoNode(),"_bli"))};d.hasDialog=function(){return this.$VideoPlayerController21>0};d.isTahoe=function(){return this.$VideoPlayerController73==="tahoe"};d.isFullscreen=function(){return this.$VideoPlayerController40||b("FullScreen").isFullScreen()&&this.$VideoPlayerController15===b("getFullScreenElement")()};d.toggleFullscreen=function(){var a=this.isFullscreen(),c=this.getContainerNode();b("FullScreen").toggleFullScreen(c)&&(a||(this.$VideoPlayerController40=!0,c.setAttribute("data-fullscreen","true")),b("CSS").addClass(c,"_1hwh"),this.$VideoPlayerController28=b("FullScreen").subscribe("changed",this.$VideoPlayerController158.bind(this)))};d.instreamVideoStart=function(){b("CSS").addClass(this.getContainerNode(),"_24pm")};d.instreamVideoEnd=function(){b("CSS").removeClass(this.getContainerNode(),"_24pm")};d.unmute=function(){if(!this.$VideoPlayerController34&&this.$VideoPlayerController32)return;!this.isState("loading")?(this.getVideoAPI().unmute(),b("VideoPlayerVolumeSettings").saveVolume(b("VideoPlayerVolumeSettings").getLastVolumeBeforeMute()),this.$VideoPlayerController85&&this.getVideoAPI().areSubtitlesActive()&&this.$VideoPlayerController159()):this.$VideoPlayerController66=!0};d.isAudioBlocked=function(){return this.$VideoPlayerController32};d.isMuted=function(){return this.$VideoPlayerController89?this.getVideoAPI().isMuted():this.$VideoPlayerController80};d.mute=function(){this.$VideoPlayerController85&&!this.getVideoAPI().areSubtitlesActive()&&this.$VideoPlayerController159(),this.getVideoAPI().mute(),b("VideoPlayerVolumeSettings").saveVolume(0)};d.getMediaID=function(){return this.getVideoID()};d.getPlaybackDuration=function(){return this.getVideoAPI().getPlaybackDuration()};d.getPlayerFormat=function(){return this.$VideoPlayerController131(this.isFullscreen(),this.$VideoPlayerController73)};d.getVideoID=function(){return this.$VideoPlayerController93};d.getVideoChannelID=function(){return this.$VideoPlayerController90};d.getVideoListID=function(){return this.$VideoPlayerController91};d.getVideoURL=function(){return this.$VideoPlayerController96};d.$VideoPlayerController149=function(){var a=this,c=this.getVideoAPI(),d=new(b("SubscriptionsHandler"))();this.$VideoPlayerController6=d;var e={buffered:function(){return a.setBuffering(!1)},buffering:function(){return a.setBuffering(!0)},bufferingProgress:function(b){return a.$VideoPlayerController160(b)},streamInterrupted:function(){return a.$VideoPlayerController50.startInterrupt()},streamResumed:function(){return a.$VideoPlayerController50.endInterrupt()},beginPlayback:function(b){return a.$VideoPlayerController150(b)},updateStatus:function(b){return a.$VideoPlayerController152(b)},logEvent:function(b){return a.$VideoPlayerController154(b.logData)},pausePlayback:function(){return a.$VideoPlayerController155()},seekEnd:function(b){return a.$VideoPlayerController156(b)},clickForTracking:function(){return b("logVideosClickTracking")(a.getVideoNode())},error:function(b){return a.logError(b)},finishPlayback:function(){return a.$VideoPlayerController157()},networkInterrupted:function(){return a.$VideoPlayerController161()},networkResumed:function(){return a.$VideoPlayerController162()},replicaSwitch:function(b){return a.switchReplicaSet(b)}};d.addSubscriptions.apply(d,Object.keys(e).map(function(a){return c.addListener(a,e[a])}));d.addSubscriptions.apply(d,b("VideoPlayerApiEvents").map(function(d){return b("forwardEvent")(c,a,d)}))};d.$VideoPlayerController147=function(){this.$VideoPlayerController6&&this.$VideoPlayerController6.release()};d.seek=function(a,b){this.emit("seekRequested",a,b),this.getVideoAPI().seek(a)};d.pause=function(a){this.isState("loading")?this.$VideoPlayerController65=null:this.isState("playing")?this.getVideoAPI().pause(a):this.$VideoPlayerController55&&this.getVideoAPI().pause(a),this.$VideoPlayerController133(!1),this.$VideoPlayerController69=!1,this.$VideoPlayerController163(a),this.emit("pauseRequested",a)};d.stopHeartbeat=function(){b("clearInterval")(this.$VideoPlayerController30),this.$VideoPlayerController30=null,this.$VideoPlayerController20.stopUnifiedCVC()};d.startHeartbeat=function(){if(this.$VideoPlayerController30||!b("VideoPlayerHTML5Experiments").heartbeatIntervalMS)return;this.$VideoPlayerController30=b("setInterval")(this.emitHeartbeat,b("VideoPlayerHTML5Experiments").heartbeatIntervalMS)};d.isPlayerVersion=function(a){return this.getPlayerVersion()===a||this.$VideoPlayerController105&&this.$VideoPlayerController164(a)===this.getPlayerVersion()};d.isHtml5Player=function(){return this.isPlayerVersion("pleasantville")||this.isPlayerVersion("oz")};d.isAutoplayable=function(){return this.$VideoPlayerController71};d.getImmediatePlayReason=function(){return this.$VideoPlayerController72};d.$VideoPlayerController165=function(){return b("ViewportTrackingHelper").isVisible(this.getVideoNode(),0)};d.$VideoPlayerController136=function(){var a=this;if(b("Visibility").isHidden()){var c=b("Visibility").once(b("Visibility").VISIBLE,function(){return a.$VideoPlayerController136()});b("VideoPlayerExperiments").unsubscribeImmediateplay&&this.$VideoPlayerController7.addSubscriptions(c)}else{if(!this.$VideoPlayerController165()&&this.$VideoPlayerController72!=="watch_time_not_logged"){b("FBLogger")("video").warn("immediateplay on a hidden video player: %s %s %s %s",this.getPlayerOrigin(),this.getPlayerSuborigin(),this.getSource(),b("ScriptPath").getScriptPath());if(this.$VideoPlayerController14.getBool("block_immediateplay_on_hidden_videos",!1))return}this.play("autoplay_initiated")}};d.isBuffering=function(){return this.$VideoPlayerController35};d.$VideoPlayerController166=function(){var a=Math.floor(Date.now()/1e3);this.$VideoPlayerController114=this.$VideoPlayerController114.filter(function(b){return b.time+3>a});this.$VideoPlayerController114.some(function(b){if(b.time===a){b.count+=1;return!0}return!1})||this.$VideoPlayerController114.push({time:a,count:1})};d.$VideoPlayerController167=function(){var a=Math.floor(Date.now()/1e3);return this.$VideoPlayerController114.reduce(function(b,c){return(c.time+3>a?c.count:0)+b},0)};d.$VideoPlayerController160=function(a){this.emit("bufferingProgress",a)};d.setBuffering=function(a){if(a!==this.$VideoPlayerController35){this.$VideoPlayerController35=a;if(this.$VideoPlayerController35){a=this.$VideoPlayerController14.getNumber("buffering_count_threshold",0);if(a){this.$VideoPlayerController166();if(this.$VideoPlayerController167()>=a){this.logError({error:"EXCEED_BUFFER_FREQUENCY_THRESHOLD",message:"video has entered buffering state "+a+" times in the last 3 seconds.",isPlayback:this.isPlayRequestPending()});return this.emit("error","EXCEED_BUFFER_FREQUENCY_THRESHOLD")}}this.$VideoPlayerController50.startBuffering(this.getCurrentTimePosition());this.$VideoPlayerController109&&(this.$VideoPlayerController168(),this.$VideoPlayerController103=b("setTimeout")(this.$VideoPlayerController169,this.$VideoPlayerController109));this.$VideoPlayerController170()}else this.$VideoPlayerController50.endBuffering(),this.$VideoPlayerController168(),this.isState("paused")&&this.$VideoPlayerController171();this.emit("bufferingChanged")}};d.setVideoStreamOffset=function(a){var b=this.getVideoAPI();typeof b.setVideoStreamOffset==="function"&&b.setVideoStreamOffset(a)};d.$VideoPlayerController168=function(){this.$VideoPlayerController103&&(b("clearTimeout")(this.$VideoPlayerController103),this.$VideoPlayerController103=null)};d.$VideoPlayerController171=function(){this.$VideoPlayerController14.getBool("allow_infinite_retry_on_net_err",!0)&&this.$VideoPlayerController14.getBool("allow_autoplay_on_resume_from_sleep",!0)&&this.$VideoPlayerController111&&this.play("network_resumed")};d.$VideoPlayerController170=function(){this.$VideoPlayerController14.getBool("allow_infinite_retry_on_net_err",!0)&&this.$VideoPlayerController35&&this.$VideoPlayerController110&&this.isState("playing")&&this.pause("network_interrupted")};d.$VideoPlayerController145=function(a){this.$VideoPlayerController111=!1};d.$VideoPlayerController163=function(a){a==="network_interrupted"?this.$VideoPlayerController111=!0:this.$VideoPlayerController111=!1};d.$VideoPlayerController161=function(){this.$VideoPlayerController110=!0,this.$VideoPlayerController170()};d.$VideoPlayerController162=function(){this.$VideoPlayerController110=!1,this.$VideoPlayerController171()};d.isLiveVideo=function(){return this.$VideoPlayerController42};d.isGaming=function(){return this.$VideoPlayerController43};d.isVideo=function(){return!0};d.isBroadcast=function(){return!!this.$VideoPlayerController33};d.isInline=function(){return!!this.$VideoPlayerController73&&b("VideoPlayerFormatsMap")[this.$VideoPlayerController73]==="inline"&&!this.isFullscreen()};d.isFacecastAudio=function(){return this.$VideoPlayerController37};d.isStreamInterrupted=function(){var a=this.$VideoPlayerController89;return!!(a&&a.isStreamInterrupted&&a.isStreamInterrupted())};d.setVolume=function(a){if(!this.$VideoPlayerController34&&this.$VideoPlayerController32)return;b("VideoPlayerVolumeSettings").saveVolume(a);this.getVideoAPI().setVolume(a)};d.getDOMPosition=function(){var a=this.getRootNodeNullable();return a?b("getElementPosition")(a):{x:0,y:0,width:0,height:0}};d.clickVideo=function(){this.emit("clickVideo"),this.$VideoPlayerController29=!0};d.mouseMove=function(a){this.emit("mouseMove",a)};d.mouseUp=function(a){this.emit("mouseUp",a)};d.mouseLeave=function(a){this.emit("mouseLeave",a)};d.hasSeenClick=function(){return!!this.$VideoPlayerController29};d.isAd=function(){return!!this.$VideoPlayerController2};d.shouldCalculateViewability=function(){if(this.isAd())return!0;var a=this.$VideoPlayerController50.getFTdata();if(a==null)return!1;a=a.ft;return a==null?!1:!!a.ei};d.isInstreamAd=function(){return!!this.$VideoPlayerController41};d.getAdClientToken=function(){return this.$VideoPlayerController2};d.getLastScrollDirection=function(){return this.getOption("VideoAutoplayControllerBase/VideoScrollTracker","getLastScrollDirection")||null};d.$VideoPlayerController172=function(){var a=this,c=null,d=null,e=!1,f=null,g=null,h=null,i=null,j=null;if(!this.isState("loading")&&!this.isState("fallback")){this.$VideoPlayerController17===null&&(this.$VideoPlayerController17=this.getVideoAPI().getCurrentlyPlayingVideoStreamInfoID());c=this.getVideoAPI().getEstimatedBandwidth();d=this.getVideoAPI().getAvailableVideoQualities().length;e=this.getVideoAPI().getIsAbrEnabled();f=this.getPlaybackDuration();j=this.getAudioStreamId();if(this.$VideoPlayerController14.getBool("log_player_dimensions",!1)){var k=this.getVideoAPI().getDimensionsForDevice();h=k&&k.height;g=k&&k.width}this.$VideoPlayerController14.getBool("log_connection_quality",!1)&&(i=b("VideoPlayerConnectionQuality").evaluate(function(){return a.getVideoAPI().getEstimatedBandwidth()}))}var l=babelHelpers["extends"]({},this.$VideoPlayerController84);this.$VideoPlayerController25.forEach(function(b,c){l[c]=b(c,a)});k={};this.getOption("SphericalVideoSpatialAudioController","hasSpatialAudio")&&(k.audio_ch_conf=this.getOption("SphericalVideoSpatialAudioController","getSpatialAudioChannelLayout"));var m=this.isLiveVideo()&&!!t&&t.getIsRewound(this.getVideoPlayerID());return babelHelpers["extends"]({ad_client_token:this.$VideoPlayerController2,available_qualities:d,access_token:this.$VideoPlayerController1,autoplay_eligible:this.isAutoplayable(),autoplay_setting:this.$VideoPlayerController8,broadcaster_origin:this.$VideoPlayerController102,projection:this.$VideoPlayerController61,player_version:this.getPlayerVersion(),flash_version:b("ifRequired")("Flash",function(a){return a.getVersionString()}),video_id:this.getVideoID(),permalink_share_id:this.$VideoPlayerController56,player_state:this.$VideoPlayerController74,player_origin:this.$VideoPlayerController57,player_suborigin:this.$VideoPlayerController58,player_suborigin_derived:this.$VideoPlayerController59,playback_is_broadcast:this.$VideoPlayerController33,player_instance_key:this.$VideoPlayerController118,playback_duration:f,referrer:document.referrer,streaming_format:this.getStreamingFormat(),video_time_position:this.getCurrentTimePosition(),video_buffer_end_position:b("gkx")("678893")?this.$VideoPlayerController89?this.getBufferEndPosition():0:this.getBufferEndPosition(),is_servable_via_fbms:this.$VideoPlayerController44,playback_is_live_streaming:this.$VideoPlayerController42,playback_is_drm:this.isDrm(),is_templated_manifest:this.isFBIsLiveTemplated()||this.isFBWasLive(),is_fbms:this.isFBMS(),is_predictive_playback:this.ispDASH(),is_live_video_rewound:m,last_scroll_direction:this.getLastScrollDirection(),video_channel_id:this.$VideoPlayerController90,video_list_id:this.$VideoPlayerController91,fb_manifest_identifier:this.getFbManifestIdentifier(),reaction_video_channel_type:this.$VideoPlayerController67,reaction_video_channel_subtype:this.$VideoPlayerController68,fbcdn_pop:this.$VideoPlayerController53,representation_id:this.$VideoPlayerController17,audio_representation_id:j,video_bandwidth:c,video_player_height:h,video_player_width:g,data_connection_quality:i,is_abr_enabled:e,position_in_unit:this.$VideoPlayerController119,feed_position:this.getDataInsertionPosition(),upstream_player_source:this.$VideoPlayerController87,should_log_video_viewability:this.$VideoPlayerController116,living_room_session_id:this.$VideoPlayerController117,detectionID:this.$VideoPlayerController120,is_ads_preview:this.$VideoPlayerController124,is_injected_ads:this.$VideoPlayerController125,is_chained_living_room:this.$VideoPlayerController127,is_replay_living_room:this.$VideoPlayerController129,live_linear_channel_id:this.$VideoPlayerController128},this.$VideoPlayerController92,this.$VideoPlayerController9,l,k,{iframe_embed_referrer:this.$VideoPlayerController130})};d.$VideoPlayerController143=function(){var a=this.getVideoInfo_DEPRECATED();if(!a)return null;a=a.resourceUrl;a=/scontent-([a-z]+)\./.exec(a);return!a?null:a[1]};d.getVideoInfo_DEPRECATED=function(){return this.isState("loading")||this.isState("fallback")?null:this.getVideoAPI().getVideoInfo()};d.getDebugInfo=function(){var a=this.getVideoInfo_DEPRECATED(),c={initializationTime:this.$VideoPlayerController62,initializationTimestamp:this.$VideoPlayerController63,version:this.getPlayerVersion(),stallCount:this.$VideoPlayerController50.getCumulativeStallCount(),stallTime:this.$VideoPlayerController50.getCumulativeStallTime(),inPlayStallCount:this.$VideoPlayerController50.getCumulativeInPlayStallCount(),inPlayStallTime:this.$VideoPlayerController50.getCumulativeInPlayStallTime(),interruptCount:this.$VideoPlayerController50.getCumulativeInterruptCount(),interruptTime:this.$VideoPlayerController50.getCumulativeInterruptTime(),state:this.$VideoPlayerController74,canPlayType:(m||(m=b("mapObject")))(b("VideoMimeTypes"),b("canVideoPlayType")),loggedError:this.$VideoPlayerController49,lastError:this.$VideoPlayerController46,droppedFrames:!!this.$VideoPlayerController89&&this.$VideoPlayerController89.getDroppedFrames(),totalFrames:!!this.$VideoPlayerController89&&this.$VideoPlayerController89.getTotalFrames(),videoSource:!!this.$VideoPlayerController89&&this.$VideoPlayerController89.getVideoNodeSource(),viewabilityPercentage:!!this.$VideoPlayerController98&&!(b("VideoPlayerExperiments").organicViewabilityLoggingNoOrganicLogging&&!this.isAd())&&this.$VideoPlayerController98.getViewability(),stack:void 0},d={videoID:this.getVideoID(),isDrm:this.$VideoPlayerController89&&this.$VideoPlayerController89.isDrm()};if(!a)return{player:c,currentVideo:d};var e=this.getVideoAPI().getDimensionsForDevice();return{currentVideo:babelHelpers["extends"]({},d,{streamType:a.streamType,isLiveStream:a.isLiveStream,liveManifestUrl:a.liveManifestUrl,isHD:a.isHD,hasHD:a.hasHD,resourceUrl:a.resourceUrl,hasSubtitles:a.hasSubtitles,hasRateLimit:!!a.hasUnlimitedSrc,isRateLimited:a.hasUnlimitedSrc&&!a.useUnlimitedSrc,tagHD:a.tagHD,tagSD:a.tagSD,projection:this.$VideoPlayerController61,streamId:this.$VideoPlayerController17,audioStreamId:this.getVideoAPI().getAudioStreamInfoIDDebug(),dashAudioFormat:this.getVideoAPI().getDashAudioConfiguration()}),player:babelHelpers["extends"]({},c,{dimensions:e})}};d.getLastError=function(){return this.$VideoPlayerController46};d.isAkamai=function(){var a=this.getVideoInfo_DEPRECATED();return a?a.liveManifestUrl&&a.liveManifestUrl.includes("akamaihd"):!1};d.getLoggedError=function(){return this.$VideoPlayerController49};d.getTotalFrames=function(){return this.$VideoPlayerController89?this.$VideoPlayerController89.getTotalFrames():0};d.getDroppedFrames=function(){return this.$VideoPlayerController89?this.$VideoPlayerController89.getDroppedFrames():0};d.getInterruptCount=function(){return this.$VideoPlayerController50.getCumulativeInterruptCount()};d.getInterruptTime=function(){return this.$VideoPlayerController50.getCumulativeInterruptTime()};d.getVideoStreamId=function(){return this.getVideoAPI().getCurrentlyPlayingVideoStreamInfoID()};d.getAudioStreamId=function(){return this.getVideoAPI().getCurrentlyPlayingAudioStreamInfoID()||this.getVideoAPI().getAudioStreamInfoIDDebug()};d.getVideoTracks=function(){return this.getVideoAPI().getVideoTracksDebug()};d.getAudioDashFormat=function(){return this.getVideoAPI().getDashAudioConfigurationDebug()};d.getCumulativeStallCount=function(){return this.$VideoPlayerController50.getCumulativeStallCount()};d.getCumulativeStallTime=function(){return this.$VideoPlayerController50.getCumulativeStallTime()};d.getStallCount=function(){return this.$VideoPlayerController50.getStallCount()};d.getStreamType=function(){var a=this.getVideoInfo_DEPRECATED();return a?a.streamType:"n/a"};d.hasSubtitles=function(){return this.getVideoAPI().hasSubtitles()};d.getVideoState=function(){return this.$VideoPlayerController74};d.areSubtitlesActive=function(){return this.getVideoAPI().areSubtitlesActive()};d.areSubtitlesAutogenerated=function(){return this.getVideoAPI().areSubtitlesAutogenerated()};d.areHLSActive=function(){return this.getVideoAPI().areHLSActive()};d.toggleSubtitles=function(){this.$VideoPlayerController159(),this.logEvent("caption_change"),this.$VideoPlayerController85=!1};d.$VideoPlayerController159=function(){this.getVideoAPI().toggleSubtitles(),this.$VideoPlayerController146()};d.$VideoPlayerController146=function(){this.hasSubtitles()&&this.areSubtitlesActive()?this.$VideoPlayerController10="on":this.$VideoPlayerController10="off"};d.isHD=function(){return s(this.getAvailableVideoQualities(),this.getSelectedVideoQuality())};d.hasHD=function(){var a=q(this.getAvailableVideoQualities());return a!=null};d.toggleHD=function(){var a=r(this.getAvailableVideoQualities(),this.getSelectedVideoQuality());a!=null&&this.setPreferredVideoQuality(a)};d.setPreferredVideoQuality=function(a){this.getVideoAPI().setPreferredVideoQuality(a)};d.unsetPreferredVideoQuality=function(){this.getVideoAPI().unsetPreferredVideoQuality()};d.getPreferredVideoQuality=function(){var a;return(a=this.getVideoAPI().getPreferredVideoQuality())!=null?a:null};d.getSelectedVideoQuality=function(){var a;return(a=this.getVideoAPI().getSelectedVideoQuality())!=null?a:null};d.getAvailableVideoQualities=function(){return this.getVideoAPI().getAvailableVideoQualities()};d.getVideoProjection=function(){return this.getVideoAPI().getVideoProjection()};d.canAutoSelectVideoQuality=function(){return this.getVideoAPI().canAutoSelectVideoQuality()};d.switchToStreamType=function(a){this.getVideoAPI().switchToStreamType(a)};d.$VideoPlayerController151=function(){this.getVideoAPI().replaceVideoDataFromURL(b("XVideoDataController").getURIBuilder().setString("video_id",this.getVideoID()).setInt("scrubbing_preference",u).setString("source",this.$VideoPlayerController73).getURI().toString())};d.$VideoPlayerController144=function(a){var b=this.getVideoInfo_DEPRECATED();return b!=null?Object.assign({resource_url:b.resourceUrl,liveStream:b.isLiveStream,hd:b.isHD},a):a};d.$VideoPlayerController173=function(){var a=this.getDOMPosition(),c=b("getViewportDimensions")().height,d;a.y<=0?d=a.y:a.y+a.height<c?d=0:d=a.y+a.height-c;return d};d.logEvent=function(a,c){if(a==="displayed"&&b("gkx")("1218754"))return void 0;if(a==="player_loaded"&&b("gkx")("1218755"))return void 0;this.$VideoPlayerController48++;if(this.$VideoPlayerController100)return void 0;this.$VideoPlayerController123.emit(a);var d=this.$VideoPlayerController14.getNumber("logging_log_event_limit",0);d&&this.$VideoPlayerController48>d&&(this.$VideoPlayerController100=!0);d=++this.$VideoPlayerController26;c=Object.assign(this.$VideoPlayerController172(),c);var e=this.getOriginalPlayReason();e&&a!=="displayed"&&(c.video_play_reason=e);a==="finished_playing"&&(c.viewport_distance=this.$VideoPlayerController173());(a==="muted"||a==="unmuted"||a==="started_playing"||a==="caption_change"||a==="unpaused")&&(c.caption_state=this.$VideoPlayerController10);this.$VideoPlayerController97&&!(b("VideoPlayerExperiments").organicViewabilityLoggingNoOrganicLogging&&!this.isAd())&&b("VideoViewabilityKeyEvents").Events.includes(a)&&(c.current_viewability_percentage=this.$VideoPlayerController98.getViewability(),this.$VideoPlayerController98.setLastLoggedViewability(c.current_viewability_percentage));c.event_seq_num=d;this.$VideoPlayerController81.has(a)&&(b("VideoPlayerExperiments").logSBLVpts&&(c.vpts=(j||(j=b("performanceAbsoluteNow")))()),c.seq_num=++this.$VideoPlayerController82);a==="played_for_three_seconds"&&(c.detection_id=this.$VideoPlayerController120,this.emit("videoView/runFraudDetector"));if(a==="requested_playing"&&this.$VideoPlayerController121){e=this.$VideoPlayerController121.getLiveTraceContext();c.live_trace_stream_id=e.streamId;c.live_trace_stream_type=e.streamType;c.live_trace_source_id=e.sourceId}d=b("SRTVideoData").getInstance();d!=null&&d.getJobID()&&(c.srt_job_id=d.getJobID(),c.srt_job_tracking_id=d.getJobTrackingID());e=this.$VideoPlayerController50.logEvent(a,c);this.emit("debug/vpcLogEvent",e);return e};d.getState=function(){return this.$VideoPlayerController74};d.getStreamingFormat=function(){var a=this.getVideoInfo_DEPRECATED()||{};return a.streamType||this.$VideoPlayerController45};d.setPlaybackRate=function(a){this.getVideoAPI().setPlaybackRate&&this.getVideoAPI().setPlaybackRate(a)};d.getPlaybackRate=function(){return this.getVideoAPI().getPlaybackRate?this.getVideoAPI().getPlaybackRate():1};d.setState=function(a){if(this.isState("destroyed")||this.isState("fallback")&&!this.isFallbackRecoverable())return;this.$VideoPlayerController74=a;this.$VideoPlayerController74==="fallback"&&(b("CSS").addClass(this.getRootNode(),"_3-n5"),this.$VideoPlayerController147());this.emit("stateChange")};d.isState=function(a){return this.$VideoPlayerController74===a};d.isIntentionallyViewing=function(){return this.isState("playing")&&!this.isMuted()};d.abortLoading=function(a){if(this.isState("loading")||this.isState("fallback"))return;b("VideoPlayerExperiments").seekZeroWhenAbortLoadingFinishedVideos&&!(b("VideoPlayerExperiments").seekZeroOnlyVodVideo&&this.$VideoPlayerController42)&&this.isState("finished")&&this.seek(0);this.getVideoAPI().abortLoading(a||{});this.stopHeartbeat();this.$VideoPlayerController20.stopUnifiedCVC()};d.preload=function(){if(this.isState("loading")||this.isState("fallback"))return;this.getVideoAPI().preload()};d.getPlayerVersion=function(){var a;this.$VideoPlayerController89&&(a=this.getVideoAPI());var b=a&&a.getUpdatedPlayerVersion?a.getUpdatedPlayerVersion.bind(a):this.$VideoPlayerController5.getPlayerVersion;b=b?b():this.$VideoPlayerController60;return this.$VideoPlayerController105?this.$VideoPlayerController164(b):b};d.$VideoPlayerController164=function(a){switch(a){case"silvercity":return"react_silvercity";case"pleasantville":return"react_pleasantville";case"oz":return"react_oz";default:return"react"}};d.registerOption=function(a,b,c,d){var e=this.$VideoPlayerController13.get(a);e||(e=new Map(),this.$VideoPlayerController13.set(a,e));if(e.has(b))throw new Error("An option can only be registered once for each component");e.set(b,{getter:c,setter:d});this.emit("optionsChange")};d.unregisterOption=function(a,b){var c=this.$VideoPlayerController13.get(a);if(!c)throw new Error('The component "'+a+'" has no options registered');if(!c.has(b))throw new Error('The component "'+a+'" has no option "'+b+'" registered');c["delete"](b);c.size||this.$VideoPlayerController13["delete"](a);this.emit("optionsChange")};d.getComponents=function(){return this.$VideoPlayerController13.keys()};d.getOptions=function(a){a=this.$VideoPlayerController13.get(a);return a?a.keys():b("enumerate")([])};d.hasOption=function(a,b){a=this.$VideoPlayerController13.get(a);return!!a&&a.has(b)};d.getOption=function(a,b){a=this.$VideoPlayerController13.get(a);if(!a)return void 0;a=a.get(b);return!a?void 0:a.getter()};d.setOption=function(a,b,c){a=this.$VideoPlayerController13.get(a);if(!a)throw new Error("Component not registered");a=a.get(b);if(!a)throw new Error("Option not registered");b=a.setter;if(b)return b(c);throw new Error("Read-only option")};d.showDebugOverlayView=function(a){this.emit("showDebugOverlay",a)};d.$VideoPlayerController137=function(){var a=b("DOMQuery").scry(this.$VideoPlayerController70,"^._5pat");return a.length?a[0]:null};d.registerDrawer=function(a,b){return this.$VideoPlayerController24.register(a,b)};d.getVideoPath=function(){return this.$VideoPlayerController95};d.setAllowCrossPageTransition=function(a){this.$VideoPlayerController104=a};d.cleanOnLeave=function(){this.pause("unloaded"),this.destroy()};d.switchReplicaSet=function(a){var b=this.isState("playing");this.getVideoAPI().switchReplicaSet(a.replica,{url:a.url,status:a.status,timestamp:a.timestamp});b&&this.play("autoplay_initiated")};d.switchToFullVideo=function(){var a=this;this.pause("unloaded");this.getVideoAPI().reloadDashManifest().done(function(){a.play(new(b("VideoPlayerReasonTransitionHelper"))("user_initiated")),a.emit("switchedToFullVideo")})};d.$VideoPlayerController138=function(){return this.getIsInChannel()||this.$VideoPlayerController73==="living_room"||this.$VideoPlayerController73==="topic_channel_living_room"||this.$VideoPlayerController57==="intern_curation"||this.$VideoPlayerController57==="games_video_hub"};d.getDashAudioConfiguration=function(){return this.getVideoAPI().getDashAudioConfiguration()};d.setEnableLiveheadCatchup=function(a){var b=this.getVideoAPI();b&&b.setEnableLiveheadCatchup(a)};d.isFBWasLive=function(){var a=this.$VideoPlayerController89&&this.getVideoAPI();return!!(a&&a.isFBWasLive())};d.isFBIsLiveTemplated=function(){var a=this.$VideoPlayerController89&&this.getVideoAPI();return!!(a&&a.isFBIsLiveTemplated())};d.getFbManifestIdentifier=function(){var a=this.$VideoPlayerController89&&this.getVideoAPI();return a?a.getFbManifestIdentifier():""};d.isDrm=function(){var a=this.$VideoPlayerController89&&this.getVideoAPI();return a&&a.isDrm()};d.isFBMS=function(){var a=this.$VideoPlayerController89&&this.getVideoAPI();return!!(a&&a.isFBMS())};d.ispDASH=function(){var a=this.$VideoPlayerController89&&this.getVideoAPI();return!!(a&&a.ispDASH())};d.isLiveheadCatchupEnabled=function(){var a=this.getVideoAPI();return a?a.isLiveheadCatchupEnabled():!1};d.getBandwidthEstimate=function(){var a=this.getVideoAPI();return a?a.getBandwidthEstimate():null};d.getSeekableRanges=function(){var a=this.getVideoAPI();return a?a.getSeekableRanges():null};d.isBroadcaster=function(){return this.$VideoPlayerController34||!1};d.isWatchAndScroll=function(){return this.$VideoPlayerController73==="watch_scroll"};d.$VideoPlayerController139=function(a,c){var d=b("CurrentUser").getAccountID();d=d+"_0_"+this.$VideoPlayerController93+"_"+c+"_"+a+"_secret_www";d=b("SparkMD5").hash(d);c={input:{video_id:this.$VideoPlayerController93,timestamp:c,live_copyright_action:a,signature:d}};a=b("WebGraphQL").exec(new(b("LiveVideoCopyrightActionQueryWebGraphQLQuery"))(c));b("promiseDone")(a,function(a){},function(a){})};return c}(b("MediaController"));e.exports=a}),null); __d("VideoCover",["invariant","Promise","Animation","Bootloader","CSS","EventListener","SubscriptionsHandler","promiseDone","setTimeout"],(function(a,b,c,d,e,f,g){a=function(){"use strict";function a(a,c,d,e,f,h){var i=this;e===void 0&&(e=null);f===void 0&&(f=!1);h===void 0&&(h=0);this.$7=new(b("SubscriptionsHandler"))();this.$15=function(){i.$5&&b("CSS").show(i.$1)};this.$16=function(){i.$5&&b("CSS").hide(i.$1)};this.$11=function(){i.$3!=null&&i.$3.length>0?b("Bootloader").loadModules(["PhotoSnowlift"],function(a){return a.bootstrap(i.$3)},"VideoCover"):i.$8&&i.$8.clickVideo()};this.$12=function(){i.$9&&i.$8&&!i.$8.hasSeenClick()?b("promiseDone")(new(b("Promise"))(function(a){return b("setTimeout")(a,i.$10)}),function(a){return i.$17()},function(a){return i.$17()}):b("CSS").hide(i.$1)};this.$14=function(){if(i.$8){var a=i.$8.getOption("Looping","isLooping");if(i.$4||a)return;b("CSS").show(i.$1)}};this.$13=function(){i.$8&&i.$8.isState("fallback")&&i.$6&&b("CSS").show(i.$1)};a instanceof Element||g(0,4829);this.$1=a;c[0]instanceof Element||g(0,4830);this.$2=c[0];this.$3=d;this.$9=f;this.$10=h;e&&(this.$4=e.hiddenAfterFinish,this.$5=e.showWhileBuffering,this.$6=e.showAfterFallback);b("EventListener").listen(this.$1,"click",this.$11)}var c=a.prototype;c.disable=function(){this.$7.release(),this.$8&&this.$8.unregisterOption("VideoCover","coverElement"),this.$8=null};c.enable=function(a){var b=this;this.$8=a;a.getState()==="playing"&&this.$12();this.$7.addSubscriptions(a.addListener("stateChange",this.$13),a.addListener("beginPlayback",this.$12),a.addListener("finishPlayback",this.$14),a.addListener("buffering",this.$15),a.addListener("buffered",this.$16));a.registerOption("VideoCover","coverElement",function(){return b.$1})};c.getCurrentCover=function(){return this.$2};c.setSnowLiftURI=function(a){this.$3=a};c.$17=function(){new(b("Animation"))(this.$1).from("opacity",1).to("opacity",0).duration(1e3).hide().go()};return a}();e.exports=a}),null); __d("getBufferedAheadOf",[],(function(a,b,c,d,e,f){function a(a){var b=1/60,c=a.currentTime;a=a.buffered;for(var d=0;d<a.length;d++){var e=a.start(d)-b,f=a.end(d)+b;if(c>=e&&c<=f)return Math.max(a.end(d)-c,0)}return 0}e.exports=a}),null); __d("MediaBufferingDetector",["Event","EventEmitter","SubscriptionsHandler","VideoPlayerExperiments","VideoPlayerHTML5Experiments","VideoPlayerShakaGlobalConfig","clearInterval","performanceNow","setInterval"],(function(a,b,c,d,e,f){var g;a=function(a){"use strict";babelHelpers.inheritsLoose(c,a);function c(c,d){var e;e=a.call(this)||this;e.$MediaBufferingDetector1=c;e.$MediaBufferingDetector2=new(b("SubscriptionsHandler"))();e.$MediaBufferingDetector1.paused||e.$MediaBufferingDetector8();e.$MediaBufferingDetector2.addSubscriptions(b("Event").listen(e.$MediaBufferingDetector1,"playing",function(){return e.$MediaBufferingDetector9()}),b("Event").listen(e.$MediaBufferingDetector1,"pause",function(){return e.$MediaBufferingDetector10()}),b("Event").listen(e.$MediaBufferingDetector1,"ended",function(){return e.$MediaBufferingDetector11()}),b("Event").listen(e.$MediaBufferingDetector1,"timeupdate",function(){return e.$MediaBufferingDetector12()}));e.$MediaBufferingDetector13("drop_buffering_detection_from_html5_api",!1)&&e.$MediaBufferingDetector2.addSubscriptions(b("Event").listen(e.$MediaBufferingDetector1,"waiting",function(){return e.$MediaBufferingDetector14()}));return e}var d=c.prototype;d.$MediaBufferingDetector15=function(){var a=(g||(g=b("performanceNow")))(),c=this.$MediaBufferingDetector1.currentTime;a=a-this.$MediaBufferingDetector5;c=c-this.$MediaBufferingDetector6;c=c*1e3;c=a-c;var d=b("VideoPlayerHTML5Experiments").disableBufferAtEndOfPlayback&&this.$MediaBufferingDetector1.currentTime===this.$MediaBufferingDetector1.duration;a*.2<Math.abs(c)&&!d?this.$MediaBufferingDetector16():this.$MediaBufferingDetector17();this.$MediaBufferingDetector18()};d.$MediaBufferingDetector18=function(){this.$MediaBufferingDetector5=(g||(g=b("performanceNow")))(),this.$MediaBufferingDetector6=this.$MediaBufferingDetector1.currentTime};d.$MediaBufferingDetector8=function(){var a=this;if(this.$MediaBufferingDetector4)return;this.$MediaBufferingDetector18();this.$MediaBufferingDetector4=b("setInterval")(function(){return a.$MediaBufferingDetector15()},500)};d.$MediaBufferingDetector19=function(){b("clearInterval")(this.$MediaBufferingDetector4),this.$MediaBufferingDetector4=null};d.$MediaBufferingDetector16=function(){if(this.$MediaBufferingDetector3)return;this.$MediaBufferingDetector3=!0;this.emit("bufferingStart")};d.$MediaBufferingDetector17=function(){if(!this.$MediaBufferingDetector3)return;this.$MediaBufferingDetector3=!1;this.emit("bufferingEnd")};d.$MediaBufferingDetector9=function(){this.$MediaBufferingDetector17(),this.$MediaBufferingDetector8()};d.$MediaBufferingDetector10=function(){this.$MediaBufferingDetector17(),this.$MediaBufferingDetector19()};d.$MediaBufferingDetector11=function(){this.$MediaBufferingDetector17(),this.$MediaBufferingDetector19()};d.$MediaBufferingDetector12=function(){this.$MediaBufferingDetector1.paused||(this.$MediaBufferingDetector17(),this.$MediaBufferingDetector19(),this.$MediaBufferingDetector8())};d.$MediaBufferingDetector14=function(){this.$MediaBufferingDetector19(),this.$MediaBufferingDetector16()};d.$MediaBufferingDetector13=function(a,c){return this.$MediaBufferingDetector7?this.$MediaBufferingDetector7.getBool(a,c):b("VideoPlayerShakaGlobalConfig").getBool(a,c)};d.destroy=function(){b("VideoPlayerExperiments").fireBufferingEndEventOnDestroy&&this.$MediaBufferingDetector17(),this.$MediaBufferingDetector19(),this.$MediaBufferingDetector2.release()};return c}(b("EventEmitter"));e.exports=a}),null); __d("VideoCaptionsBackgroundOpacity",[],(function(a,b,c,d,e,f){e.exports=Object.freeze({OPAQUE:100,DARK:75,DEFAULT:45,LIGHT:25,TRANSPARENT:-1})}),null); __d("VideoCaptionsTextSize",[],(function(a,b,c,d,e,f){e.exports=Object.freeze({BIGGEST:200,BIGGER:175,BIG:150,MEDIUM:125,DEFAULT:100,SMALL:75,SMALLEST:50})}),null); __d("VideoPlayerHTML5CaptionsDisplayStyle",["cx","CSS","VideoCaptionsBackgroundOpacity","VideoCaptionsTextSize","isTruthy"],(function(a,b,c,d,e,f,g){"use strict";var h={Black:"20, 22, 26",Blue:"0, 0, 255",Green:"0, 255, 0",Cyan:"0, 255, 255",Red:"255, 0, 0",Magenta:"255, 0, 255",White:"255, 255, 255",Yellow:"255, 255, 0"},i={DEFAULT_BACKGROUND_COLOR:"Black",DEFAULT_BACKGROUND_OPACITY:b("VideoCaptionsBackgroundOpacity").DEFAULT,DEFAULT_TEXT_COLOR:"White",DEFAULT_TEXT_SIZE:b("VideoCaptionsTextSize").DEFAULT};a=function(){function a(a,b,c,d,e,f,g){this.$5="center",this.$1=c,this.$2=d,this.setBackgroundColor(a),this.setBackgroundOpacity(b),this.setTextColor(e),this.setTextSize(f),this.setTextAlignment(g),this.updateStyle()}var c=a.prototype;c.setBackgroundColor=function(a){a!=null&&Object.prototype.hasOwnProperty.call(h,a)?this.$3=a:this.$3=i.DEFAULT_BACKGROUND_COLOR};c.setBackgroundOpacity=function(a){b("isTruthy")(a)&&a>=b("VideoCaptionsBackgroundOpacity").TRANSPARENT&&a<=b("VideoCaptionsBackgroundOpacity").OPAQUE?this.$4=a:this.$4=i.DEFAULT_BACKGROUND_OPACITY};c.setTextColor=function(a){a!=null&&Object.prototype.hasOwnProperty.call(h,a)?this.$6=a:this.$6=i.DEFAULT_TEXT_COLOR};c.setTextSize=function(a){a!=null&&a>=b("VideoCaptionsTextSize").SMALLEST&&a<=b("VideoCaptionsTextSize").BIGGEST?this.$7=a:this.$7=i.DEFAULT_TEXT_SIZE};c.setTextAlignment=function(a){this.$5=(a=a)!=null?a:"center"};c.updateStyle=function(){var a,c=this.$4;this.$4===b("VideoCaptionsBackgroundOpacity").TRANSPARENT&&(c=0);c=(a=c)!=null?a:i.DEFAULT_BACKGROUND_OPACITY;a=(a=this.$3)!=null?a:i.DEFAULT_BACKGROUND_COLOR;c=c/100;c="rgba("+h[a]+", "+c+")";this.$1.style.backgroundColor=c;this.$1.style.color=(c=this.$6)!=null?c:i.DEFAULT_TEXT_COLOR;c="0 0 10px rgb("+h[a]+"), 0 0 5px rgba("+h[a]+", .8)";this.$1.style.textShadow=c;b("CSS").conditionClass(this.$2,"_5z64",this.$7==b("VideoCaptionsTextSize").SMALLEST);b("CSS").conditionClass(this.$2,"_5z65",this.$7==b("VideoCaptionsTextSize").SMALL);b("CSS").conditionClass(this.$2,"_5z66",this.$7==b("VideoCaptionsTextSize").MEDIUM);b("CSS").conditionClass(this.$2,"_5z67",this.$7==b("VideoCaptionsTextSize").BIG);b("CSS").conditionClass(this.$2,"_5z68",this.$7==b("VideoCaptionsTextSize").BIGGER);b("CSS").conditionClass(this.$2,"_5z69",this.$7==b("VideoCaptionsTextSize").BIGGEST);b("CSS").conditionClass(this.$2,"_6mk2",this.$5==="left");b("CSS").conditionClass(this.$1,"_6mk2",this.$5==="left")};return a}();e.exports=a}),null); __d("VideoPlayerHTML5CaptionsDisplay",["csx","cx","CSS","DOM","DOMQuery","VideoPlayerHTML5CaptionsDisplayStyle","clearTimeout","setTimeout"],(function(a,b,c,d,e,f,g,h){a=function(){"use strict";function a(a){var c,d=a.append,e=a.drawer,f=a.existingNodesContainer,g=a.boundingBox;a=a.areCaptionsAutogenerated;this.$4=null;this.$5=null;this.$6="";this.$7=null;this.$8=null;this.$9=!1;this.$10=null;this.$12=null;f=(f=b("DOMQuery").scry(f,"._30vn")[0])!=null?f:null;c=f?(c=b("DOMQuery").find(f,"._30vo"))!=null?c:null:null;f||(f=b("DOM").create("div",{className:"_30vn hidden_elem"}));c||(c=b("DOM").create("span",{className:"_30vo hidden_elem"}),b("DOM").setContent(f,c));this.$1=a;this.$4=f;this.$5=c;this.$12=d(f);this.$7=e;this.$8=e.addListener("reposition",this.$13.bind(this));this.$11=g;this.$14()}var c=a.prototype;c.handleBoundingBoxChanged=function(a){this.$11=a,this.$14()};c.handleCaptionsChanged=function(a,b){if(this.$9)return;this.$15(a);this.$16(b)};c.setAutogeneratedCaptionsOptions=function(a){this.$2=a};c.setCaptionsStyle=function(a,c,d,e){var f=this.$10;if(f)f.setBackgroundColor(a),f.setBackgroundOpacity(c),f.setTextColor(d),f.setTextSize(e),f.updateStyle();else{f=this.$5;var g=this.$4;f&&g&&(this.$10=new(b("VideoPlayerHTML5CaptionsDisplayStyle"))(a,c,f,g,d,e,"center"))}};c.showCaptions=function(){var a=this,c=this.$4;c&&b("CSS").removeClass(c,"hidden_elem");c=this.$7;c&&(c.reposition(),c.reserve());c=this.$2;c!=null&&this.$1&&(this.$17(),b("clearTimeout")(this.$3),this.$3=b("setTimeout")(function(){a.$3=null,a.$18()},c.duration))};c.hideCaptions=function(){var a=this.$4;a&&b("CSS").addClass(a,"hidden_elem");a=this.$7;a&&a.release();this.$3&&(b("clearTimeout")(this.$3),this.$3=null)};c.destroy=function(){var a=this.$8;a&&(a.remove(),this.$8=null);a=this.$7;a&&(a.release(),a.removeAllListeners(),this.$7=null);a=this.$12;a&&a();this.$4=null;this.$5=null;this.$3&&(b("clearTimeout")(this.$3),this.$3=null)};c.$14=function(){var a=this.$11,c=this.$4;c&&(a.width<350?(b("CSS").removeClass(c,"_30vp"),b("CSS").addClass(c,"_30vq")):a.width<800?(b("CSS").removeClass(c,"_30vp"),b("CSS").removeClass(c,"_30vq")):(b("CSS").removeClass(c,"_30vq"),b("CSS").addClass(c,"_30vp")))};c.$18=function(){this.$9=!1,this.handleCaptionsChanged([],{textAlignment:"center"})};c.$17=function(){var a=this.$2;a!=null&&(this.handleCaptionsChanged([a.text],{textAlignment:"center"}),this.$9=!0)};c.$13=function(a){var c=this.$4;c&&b("DOM").setAttributes(c,{style:"bottom:"+a+"px;"})};c.$16=function(a){a=a.textAlignment;var c=this.$10;if(c)c.setTextAlignment(a),c.updateStyle();else{c=this.$5;var d=this.$4;c&&d&&(this.$10=new(b("VideoPlayerHTML5CaptionsDisplayStyle"))(void 0,void 0,c,d,void 0,void 0,a))}};c.$15=function(a){a=a.map(function(a){return a.trim()}).filter(function(a){return!!a}).join("\n").trim();var c=this.$6;this.$6=a;var d=this.$4,e=this.$5,f=this.$7;if(!d||!e||!f)return;this.$14();a!==c&&b("DOM").setContent(e,a);a?(b("CSS").removeClass(e,"hidden_elem"),f.setHeight(d.offsetHeight)):(b("CSS").addClass(e,"hidden_elem"),f.setHeight(0))};return a}();e.exports=a}),null); __d("VideoPlayerHTML5TrackNodeManager",["BlobFactory","DOM"],(function(a,b,c,d,e,f){var g=a.URL||a.webkitURL;c=function(){"use strict";function a(a){var b=a.videoEl;a=a.parsedSubRipText;this.$1=null;this.$2=null;this.$3=null;this.$2=b;this.$3=a;this.$4()}var c=a.prototype;c.$4=function(){if(!g||!b("BlobFactory").isSupported())return;if(this.$3){var a=b("BlobFactory").getBlob([this.$3.renderVTT()],{type:"text/vtt"});a=g.createObjectURL(a);this.$1=b("DOM").create("track",{kind:"captions",src:a});b("DOM").appendContent(this.$2,this.$1)}this.$2&&Array.prototype.forEach.call(this.$2.textTracks,function(a){a.mode="hidden"})};c.destroy=function(){this.$1&&(b("DOM").remove(this.$1),this.$1=null)};return a}();e.exports=c}),null); __d("supportsHTML5Video",["DOM","memoize"],(function(a,b,c,d,e,f){e.exports=b("memoize")(function(){return!!b("DOM").create("video").canPlayType})}),null); __d("isHTML5VideoImplementationUnavailable",["VideoMimeTypes","canVideoPlayType","supportsHTML5Video"],(function(a,b,c,d,e,f){a=function(a){if(a){a=b("canVideoPlayType")(b("VideoMimeTypes").h264main30avc);return a!=="probably"}return!b("supportsHTML5Video")()};e.exports=a}),null); __d("onCanPlayHTMLMediaElement",["invariant","EventListener","HTMLMediaElementReadyStates","setImmediate"],(function(a,b,c,d,e,f,g){function h(a){return a>=b("HTMLMediaElementReadyStates").HAVE_FUTURE_DATA}function i(a,c){a instanceof window.HTMLMediaElement||g(0,4493);h(a.readyState)&&b("setImmediate")(c);return b("EventListener").listen(a,"canplay",c)}i.once=function(a,b){var c=this,d=i(a,function(){if(!d)return;d.remove();d=null;for(var a=arguments.length,e=new Array(a),f=0;f<a;f++)e[f]=arguments[f];b.apply(c,e)})};e.exports=i}),null); __d("onLoadedMetadataHTMLMediaElement",["EventListener","HTMLMediaElementReadyStates","setImmediate"],(function(a,b,c,d,e,f){function g(a){return a>=b("HTMLMediaElementReadyStates").HAVE_METADATA}function h(a,c){g(a.readyState)&&b("setImmediate")(c);return b("EventListener").listen(a,"loadedmetadata",c)}h.once=function(a,b){var c=this,d=h(a,function(){d.remove();for(var a=arguments.length,e=new Array(a),f=0;f<a;f++)e[f]=arguments[f];b.apply(c,e)})};e.exports=h}),null); __d("OzConfigurableRequestImplementation",["MaybeNativePromise","oz-player/utils/arrayBuffer2OzReadableStream","parseHeaders"],(function(a,b,c,d,e,f){"use strict";function a(a){return function(c,d,e){var f={url:c,http:d,options:e,method:"GET",responseType:"arraybuffer"};c=new(b("MaybeNativePromise"))(function(c,d){a(f,function(a,d,e){a={body:b("oz-player/utils/arrayBuffer2OzReadableStream")(a),headers:new Headers(b("parseHeaders")(e)),ok:!0,status:d};c(a)},function(a,e,f){if(a==null||a==="0")d(new TypeError("NetworkError"));else{f={body:b("oz-player/utils/arrayBuffer2OzReadableStream")(new ArrayBuffer(0)),headers:new Headers(b("parseHeaders")(e)),ok:!1,status:a};c(f)}})});return c}}e.exports=a}),null); __d("seekHTMLMediaElementTo",["EventListener","onLoadedMetadataHTMLMediaElement","setImmediate"],(function(a,b,c,d,e,f){function a(a,c,d){if(a.currentTime==c)return d&&b("setImmediate")(d);try{a.currentTime=c}catch(a){}if(a.currentTime)var e=b("EventListener").listen(a,"seeked",function(){e.remove(),d&&d()});else b("onLoadedMetadataHTMLMediaElement")(a,function(){a.currentTime=c;var e=b("EventListener").listen(a,"seeked",function(){e.remove(),d&&d()})})}e.exports=a}),null); __d("ContextualConfigConstants",[],(function(a,b,c,d,e,f){"use strict";a=1e3;f.ANALYTICS_SAMPLE_RATE=a;b=", ";f.BUCKET_DELIMITER=b;c={SAME:"same",NULL:"null",NNULL:"nnull",CATCH_ALL:"catch_all",EQ:"eq",NEQ:"neq",LT:"lt",LTE:"lte",GT:"gt",GTE:"gte",COR:"cor",CONTAINS:"contains",REGEX:"regex",IN:"in",NIN:"nin"};f.CONTEXT_BUCKET_STRATEGY=c;d={DENSE:"dense",MULTI_OUTPUT_RESOLVED:"multi-output-resolved",TABLE:"table"};f.CONFIG_TYPE=d;e=[];f.EMPTY_RESOLVED_CONTEXTS=e;a=[];f.EMPTY_RESOLVED_MONITORS=a;b=[];f.EMPTY_RESULT_PARAMS=b;c={BAD_BOOLEAN_FORMAT:"Bad boolean format",BAD_CONFIG:"Bad config",BAD_CONTEXT_IDENTIFIER:"Bad context identifier",BAD_CONTEXT_VALUE:"Bad context value",BAD_MONITORED_CONTEXTS:"Bad monitored contexts",BAD_NUMBER_FORMAT:"Bad number format",BAD_OUTPUT_NAME:"Bad output name",BAD_OUTPUT_TYPE:"Bad output type",BAD_VALUE_ORDER:"Bad values order",DUPLICATE_OUTPUT_NAME:"Duplicate output name",ILLEGAL_BOOLEAN_STRATEGY:"Illegal boolean strategy",ILLEGAL_BUCKET_VALUES:"Illegal bucket values",ILLEGAL_NUMERIC_STRATEGY:"Illegal numeric strategy",ILLEGAL_STRING_STRATEGY:"Illegal string strategy",INVALID_BOOLEAN:"Invalid boolean",INVALID_FLOAT:"Invalid float",INVALID_INTEGER:"Invalid integer",INVALID_STRING:"Invalid string",INVALID_VALUE_TYPE:"Invalid value type",MISMATCH_NUMBER_OF_VALUES:"Mismatching number of values",MISSING_BUCKETS:"Missing buckets",MISSING_BUCKET_MATCH:"Missing bucket match",MISSING_BUCKET_NAME:"Missing bucket name",MISSING_BUCKET_STRATEGY:"Missing bucket strategy",MISSING_CONTEXT_IN_CONFIG:"Missing context in config",MISSING_DEFAULT_VALUE:"Missing default value",MISSING_OUTPUTS_DEFINITION:"Missing outputs field definition",MISSING_RESULTS:"Missing results",MISSING_TABLE:"Missing table",MISSING_TABLE_ITEM_BUCKET:"Missing table item bucket",MISSING_TABLE_ITEM_VALUES:"Missing table item values",MISSING_VECTOR:"Missing vector",REGEX_SYNTAX_ERROR:"Regex syntax error",REQUESTED_PARAM_NOT_FOUND:"Requested param not found",RESULTS_VECTOR_SIZE_MISMATCH:"Results vector size mismatch",UNDECLARED_OUTPUT_PARAM:"Undeclared output param",UNKNOWN_BUCKET_DEFINITION:"Unknown bucket definition",UNKNOWN_CONFIG_TYPE:"Unknown config type",UNSUPPORTED_CONFIG_VERSION:"Unsupported config version"};f.ERROR=c;d=10;f.JSON_SUB_SAMPLE_RATE=d;e=", ";f.LIST_DELIMITER=e;a={BOOL:"BOOL",FLOAT:"FLOAT",INT:"INT",STRING:"STRING"};f.TYPE=a}),null); __d("ContextualConfigResolvedContextsUtils",[],(function(a,b,c,d,e,f){"use strict";a=function(a){var b=[];for(var a=a,c=Array.isArray(a),d=0,a=c?a:a[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]();;){var e;if(c){if(d>=a.length)break;e=a[d++]}else{d=a.next();if(d.done)break;e=d.value}e=e;e=e.bucketIndex;if(e==void 0)break;b.push(e)}return b};f.getBucketIndices=a;b=function(a){var b=[];for(var a=a,c=Array.isArray(a),d=0,a=c?a:a[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]();;){var e;if(c){if(d>=a.length)break;e=a[d++]}else{d=a.next();if(d.done)break;e=d.value}e=e;e=e.bucketName;if(e===void 0)break;b.push(e)}return b};f.getBucketNames=b;var g=function(a){return a.name};c=function(a){return a.map(g)};f.getContextNames=c;d=function(a){var b=[];for(var a=a,c=Array.isArray(a),d=0,a=c?a:a[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]();;){var e;if(c){if(d>=a.length)break;e=a[d++]}else{d=a.next();if(d.done)break;e=d.value}e=e;e=e.value;if(e===void 0)break;b.push(e)}return b};f.getContextValues=d}),null); __d("ContextualConfigCollateExposureData",["ContextualConfigConstants","ContextualConfigResolvedContextsUtils"],(function(a,b,c,d,e,f){"use strict";e.exports=a;var g=["cfg_ver_timestamp","policy_id","version","sample_rate"],h=function(a){return a.join(b("ContextualConfigConstants").LIST_DELIMITER)},i=function(a,b){for(var c=0;c<g.length;c++){var d=g[c];b[d]!=null&&(a[d]=b[d])}b.name&&(a.config_name=b.name)},j=function(a,c){var d=c[0],e=c[1],f=c[2];c=c[3];d!=null&&(a.exception=d.message);a.result=h(e.map(function(a){return a.value}))||"INVALID";a.context=h(b("ContextualConfigResolvedContextsUtils").getContextNames(f));a.context_value=h(b("ContextualConfigResolvedContextsUtils").getContextValues(f));a.bucket_name=h(b("ContextualConfigResolvedContextsUtils").getBucketNames(f));a.monitor=h(b("ContextualConfigResolvedContextsUtils").getContextNames(c));a.monitor_value=h(b("ContextualConfigResolvedContextsUtils").getContextValues(c))};function a(a,c,d){var e={sample_rate:b("ContextualConfigConstants").ANALYTICS_SAMPLE_RATE};i(e,a);j(e,c);d&&(e.config_contents=JSON.stringify(a));return e}}),null); __d("ContextualConfigExposureEvent",["Random"],(function(a,b,c,d,e,f){"use strict";a=function(){function a(a,c,d){this.$2=a,this.$4=b("Random").random()<1/a.sample_rate,this.$3=c,this.$1=d}var c=a.prototype;c.getData=function(){return this.$2};c.log=function(a){var b=this.$2,c=this.$3,d=this.$4;a&&c(b);d&&this.$1(b);return this};c.isSampled=function(){return this.$4};return a}();e.exports=a}),null); __d("ContextualConfigExposureLoggerFactory",["ContextualConfigExposureEvent"],(function(a,b,c,d,e,f){"use strict";e.exports=a;var g=function(){function a(a,b){this.$2=a,this.$1=b}var c=a.prototype;c.createEvent=function(a){var c=this.$1,d=this.$2;a=new(b("ContextualConfigExposureEvent"))(a,d,c);return a};return a}();function a(a,b){return new g(a,b)}}),null); __d("ContextualConfigExposureLogger",["ContextualConfigExposureLoggerFactory","MarauderLogger"],(function(a,b,c,d,e,f){"use strict";a=function(a){};c=function(a){b("MarauderLogger").log("contextual_config_exposure","",a)};d=b("ContextualConfigExposureLoggerFactory")(a,c);e.exports=d}),null); __d("ContextualConfigAssert",[],(function(a,b,c,d,e,f){"use strict";e.exports=a;function a(a,b){if(a===!1)throw new Error(b)}}),null); __d("ContextualConfigValidators",["ContextualConfigConstants"],(function(a,b,c,d,e,f){"use strict";a=function(a){return Array.isArray(a)};f.isArray=a;c=function(a){return typeof a==="boolean"};f.isBoolean=c;d=function(a){return a!=null};f.isDefined=d;e=function(a){return function(b){return Object.prototype.hasOwnProperty.call(a,b)}};f.isKey=e;a=function(a){return g(a)&&a%1===0};f.isInteger=a;c=function(a){return h(a)&&a.length>0};f.isNonEmptyString=c;var g=function(a){return typeof a==="number"&&!isNaN(a)&&a!==Infinity&&a!==-Infinity};f.isNumber=g;var h=function(a){return typeof a==="string"};f.isString=h;d=function(a){switch(a){case b("ContextualConfigConstants").TYPE.BOOL:case b("ContextualConfigConstants").TYPE.FLOAT:case b("ContextualConfigConstants").TYPE.INT:case b("ContextualConfigConstants").TYPE.STRING:return!0;default:return!1}};f.isType=d}),null); __d("ContextualConfigParseBoolean",["ContextualConfigConstants"],(function(a,b,c,d,e,f){"use strict";e.exports=a;function a(a){switch(a.toUpperCase()){case"TRUE":return!0;case"FALSE":return!1;default:throw new Error(b("ContextualConfigConstants").ERROR.BAD_BOOLEAN_FORMAT)}}}),null); __d("ContextualConfigParsePredBoolean",["ContextualConfigConstants","ContextualConfigParseBoolean"],(function(a,b,c,d,e,f){"use strict";e.exports=a;function a(a,c){var d;switch(c){case b("ContextualConfigConstants").CONTEXT_BUCKET_STRATEGY.SAME:var e=b("ContextualConfigParseBoolean")(a);d=function(a){return a===e};break;case b("ContextualConfigConstants").CONTEXT_BUCKET_STRATEGY.NULL:d=function(a){return a==null};break;case b("ContextualConfigConstants").CONTEXT_BUCKET_STRATEGY.NNULL:d=function(a){return a!=null};break;case b("ContextualConfigConstants").CONTEXT_BUCKET_STRATEGY.CATCH_ALL:d=function(a){return!0};break;default:throw new Error(b("ContextualConfigConstants").ERROR.ILLEGAL_BOOLEAN_STRATEGY)}return function(a){return d(a)}}}),null); __d("ContextualConfigParseFloat",["ContextualConfigAssert","ContextualConfigConstants","ContextualConfigValidators"],(function(a,b,c,d,e,f){"use strict";e.exports=a;var g,h=/^[-\+]?([1-9]\d*|0)(\.\d+)?$/,i=function(a){return h.test(a)};function a(a){(g||(g=b("ContextualConfigAssert")))(i(a),b("ContextualConfigConstants").ERROR.BAD_NUMBER_FORMAT);a=parseFloat(a);g(b("ContextualConfigValidators").isNumber(a),b("ContextualConfigConstants").ERROR.BAD_NUMBER_FORMAT);return a}}),null); __d("ContextualConfigParseInteger",["ContextualConfigAssert","ContextualConfigConstants","ContextualConfigValidators"],(function(a,b,c,d,e,f){"use strict";e.exports=a;var g,h=/^[-\+]?([1-9]\d*|0)$/,i=function(a){return h.test(a)};function a(a){(g||(g=b("ContextualConfigAssert")))(i(a),b("ContextualConfigConstants").ERROR.BAD_NUMBER_FORMAT);a=parseInt(a,10);g(b("ContextualConfigValidators").isNumber(a),b("ContextualConfigConstants").ERROR.BAD_NUMBER_FORMAT);return a}}),null); __d("ContextualConfigPredAssertions",["ContextualConfigAssert","ContextualConfigConstants"],(function(a,b,c,d,e,f){"use strict";var g;a=function(a){return(g||(g=b("ContextualConfigAssert")))(a>0,b("ContextualConfigConstants").ERROR.MISMATCH_NUMBER_OF_VALUES)};f.assertHasValues=a;c=function(a,c){return(g||(g=b("ContextualConfigAssert")))(a===c,b("ContextualConfigConstants").ERROR.MISMATCH_NUMBER_OF_VALUES)};f.assertNumberOfValues=c;d=function(a,c){return(g||(g=b("ContextualConfigAssert")))(a<c,b("ContextualConfigConstants").ERROR.BAD_VALUE_ORDER)};f.assertValueOrder=d}),null); __d("ContextualConfigParsePredNumeric",["ContextualConfigConstants","ContextualConfigParseFloat","ContextualConfigParseInteger","ContextualConfigPredAssertions","ContextualConfigValidators"],(function(a,b,c,d,e,f){"use strict";e.exports=a;var g;function a(a,c,d,e){var f=d.map(e?b("ContextualConfigParseInteger"):g||(g=b("ContextualConfigParseFloat"))),h;switch(c){case b("ContextualConfigConstants").CONTEXT_BUCKET_STRATEGY.SAME:var i=e?b("ContextualConfigParseInteger")(a):(g||(g=b("ContextualConfigParseFloat")))(a);h=function(a){return e&&!b("ContextualConfigValidators").isInteger(a)?!1:a===i};break;case b("ContextualConfigConstants").CONTEXT_BUCKET_STRATEGY.NULL:h=function(a){return a==null};break;case b("ContextualConfigConstants").CONTEXT_BUCKET_STRATEGY.NNULL:h=function(a){return a!=null};break;case b("ContextualConfigConstants").CONTEXT_BUCKET_STRATEGY.CATCH_ALL:h=function(a){return!0};break;case b("ContextualConfigConstants").CONTEXT_BUCKET_STRATEGY.COR:b("ContextualConfigPredAssertions").assertNumberOfValues(f.length,2);b("ContextualConfigPredAssertions").assertValueOrder(f[0],f[1]);h=function(a){if(typeof a!=="number")return!1;return e&&!b("ContextualConfigValidators").isInteger(a)?!1:a>=f[0]&&a<f[1]};break;case b("ContextualConfigConstants").CONTEXT_BUCKET_STRATEGY.LT:b("ContextualConfigPredAssertions").assertNumberOfValues(f.length,1);h=function(a){if(typeof a!=="number")return!1;return e&&!b("ContextualConfigValidators").isInteger(a)?!1:a<f[0]};break;case b("ContextualConfigConstants").CONTEXT_BUCKET_STRATEGY.LTE:b("ContextualConfigPredAssertions").assertNumberOfValues(f.length,1);h=function(a){if(typeof a!=="number")return!1;return e&&!b("ContextualConfigValidators").isInteger(a)?!1:a<=f[0]};break;case b("ContextualConfigConstants").CONTEXT_BUCKET_STRATEGY.EQ:b("ContextualConfigPredAssertions").assertNumberOfValues(f.length,1);h=function(a){if(typeof a!=="number")return!1;return e&&!b("ContextualConfigValidators").isInteger(a)?!1:a===f[0]};break;case b("ContextualConfigConstants").CONTEXT_BUCKET_STRATEGY.NEQ:b("ContextualConfigPredAssertions").assertNumberOfValues(f.length,1);h=function(a){if(typeof a!=="number")return!1;return e&&!b("ContextualConfigValidators").isInteger(a)?!1:a!==f[0]};break;case b("ContextualConfigConstants").CONTEXT_BUCKET_STRATEGY.GT:b("ContextualConfigPredAssertions").assertNumberOfValues(f.length,1);h=function(a){if(typeof a!=="number")return!1;return e&&!b("ContextualConfigValidators").isInteger(a)?!1:a>f[0]};break;case b("ContextualConfigConstants").CONTEXT_BUCKET_STRATEGY.GTE:b("ContextualConfigPredAssertions").assertNumberOfValues(f.length,1);h=function(a){if(typeof a!=="number")return!1;return e&&!b("ContextualConfigValidators").isInteger(a)?!1:a>=f[0]};break;default:throw new Error(b("ContextualConfigConstants").ERROR.ILLEGAL_NUMERIC_STRATEGY)}return function(a){return h(a)}}}),null); __d("ContextualConfigParseRegExp",["ContextualConfigConstants"],(function(a,b,c,d,e,f){"use strict";e.exports=a;var g=/^\/(.+)\/(.*)$/;function a(a){try{var c=a.match(g);if(c!=null)return new RegExp(c[1],c[2]);else return new RegExp(a)}catch(a){throw new Error(b("ContextualConfigConstants").ERROR.REGEX_SYNTAX_ERROR)}}}),null); __d("ContextualConfigParsePredString",["ContextualConfigConstants","ContextualConfigParseRegExp","ContextualConfigPredAssertions"],(function(a,b,c,d,e,f){"use strict";e.exports=a;var g=function(a){if(typeof a!=="string")throw new Error(b("ContextualConfigConstants").ERROR.INVALID_VALUE_TYPE);return a},h=function(a){var b=[];for(var a=a,c=Array.isArray(a),d=0,a=c?a:a[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]();;){var e;if(c){if(d>=a.length)break;e=a[d++]}else{d=a.next();if(d.done)break;e=d.value}e=e;b.push(g(e))}return b};function a(a,c,d){var e=h(d),f;switch(c){case b("ContextualConfigConstants").CONTEXT_BUCKET_STRATEGY.SAME:f=function(b){return typeof b!=="string"?!1:b===a};break;case b("ContextualConfigConstants").CONTEXT_BUCKET_STRATEGY.NULL:f=function(a){return a==null};break;case b("ContextualConfigConstants").CONTEXT_BUCKET_STRATEGY.NNULL:f=function(a){return a!=null};break;case b("ContextualConfigConstants").CONTEXT_BUCKET_STRATEGY.CATCH_ALL:f=function(a){return!0};break;case b("ContextualConfigConstants").CONTEXT_BUCKET_STRATEGY.IN:b("ContextualConfigPredAssertions").assertHasValues(e.length);f=function(a){return typeof a!=="string"?!1:e.indexOf(a)!==-1};break;case b("ContextualConfigConstants").CONTEXT_BUCKET_STRATEGY.NIN:b("ContextualConfigPredAssertions").assertHasValues(e.length);f=function(a){return typeof a!=="string"?!1:e.indexOf(a)===-1};break;case b("ContextualConfigConstants").CONTEXT_BUCKET_STRATEGY.CONTAINS:b("ContextualConfigPredAssertions").assertNumberOfValues(e.length,1);f=function(a){return typeof a!=="string"?!1:a.indexOf(e[0])!==-1};break;case b("ContextualConfigConstants").CONTEXT_BUCKET_STRATEGY.REGEX:b("ContextualConfigPredAssertions").assertNumberOfValues(e.length,1);var g=b("ContextualConfigParseRegExp")(e[0]);f=function(a){return typeof a!=="string"?!1:g.test(a)};break;default:throw new Error(b("ContextualConfigConstants").ERROR.ILLEGAL_STRING_STRATEGY)}return function(a){return f(a)}}}),null); __d("ContextualConfigParseContextBuckets",["ContextualConfigAssert","ContextualConfigConstants","ContextualConfigParsePredBoolean","ContextualConfigParsePredNumeric","ContextualConfigParsePredString","ContextualConfigValidators"],(function(a,b,c,d,e,f){"use strict";e.exports=a;var g,h=function(a){return(g||(g=b("ContextualConfigAssert")))(b("ContextualConfigValidators").isDefined(a),b("ContextualConfigConstants").ERROR.MISSING_BUCKETS)},i=function(a){return(g||(g=b("ContextualConfigAssert")))(b("ContextualConfigValidators").isArray(a),b("ContextualConfigConstants").ERROR.MISSING_BUCKETS)},j=b("ContextualConfigValidators").isKey(b("ContextualConfigConstants").CONTEXT_BUCKET_STRATEGY),k=function(a){return(g||(g=b("ContextualConfigAssert")))(b("ContextualConfigValidators").isString(a)&&j(a.toUpperCase()),b("ContextualConfigConstants").ERROR.MISSING_BUCKET_STRATEGY)},l=function(a){return(g||(g=b("ContextualConfigAssert")))(b("ContextualConfigValidators").isArray(a),b("ContextualConfigConstants").ERROR.ILLEGAL_BUCKET_VALUES)},m=function(a){return(g||(g=b("ContextualConfigAssert")))(b("ContextualConfigValidators").isNonEmptyString(a),b("ContextualConfigConstants").ERROR.MISSING_BUCKET_NAME)},n=function(a,c){var d=c.name;m(d);var e=c.strategy;k(e);c=c.values||[];l(c);switch(a){case b("ContextualConfigConstants").TYPE.BOOL:return b("ContextualConfigParsePredBoolean")(d,e);case b("ContextualConfigConstants").TYPE.FLOAT:return b("ContextualConfigParsePredNumeric")(d,e,c,!1);case b("ContextualConfigConstants").TYPE.INT:return b("ContextualConfigParsePredNumeric")(d,e,c,!0);case b("ContextualConfigConstants").TYPE.STRING:return b("ContextualConfigParsePredString")(d,e,c);default:throw new Error(b("ContextualConfigConstants").ERROR.UNKNOWN_BUCKET_DEFINITION)}},o=function(a,b){h(b);var c=b.name;m(c);return{name:c,pred:n(a,b)}};function a(a,b){i(b);return b.map(function(b){return o(a,b)})}}),null); __d("ContextualConfigParseContexts",["ContextualConfigAssert","ContextualConfigConstants","ContextualConfigParseContextBuckets","ContextualConfigValidators"],(function(a,b,c,d,e,f){"use strict";e.exports=a;var g,h=function(a){return(g||(g=b("ContextualConfigAssert")))(b("ContextualConfigValidators").isDefined(a),b("ContextualConfigConstants").ERROR.BAD_CONTEXT_IDENTIFIER)},i=function(a){return(g||(g=b("ContextualConfigAssert")))(b("ContextualConfigValidators").isArray(a)&&a.length>0,b("ContextualConfigConstants").ERROR.MISSING_CONTEXT_IN_CONFIG)},j=function(a){return(g||(g=b("ContextualConfigAssert")))(b("ContextualConfigValidators").isNonEmptyString(a),b("ContextualConfigConstants").ERROR.BAD_CONTEXT_IDENTIFIER)},k=function(a){return(g||(g=b("ContextualConfigAssert")))(b("ContextualConfigValidators").isType(a),b("ContextualConfigConstants").ERROR.BAD_CONTEXT_IDENTIFIER)},l=function(a){h(a);var c=a.name,d=a.type;a=a.buckets;j(c);k(d);return{name:c,type:d,buckets:b("ContextualConfigParseContextBuckets")(d,a)}};function a(a){i(a);return a.map(l)}}),null); __d("ContextualConfigIsEqualParams",[],(function(a,b,c,d,e,f){"use strict";e.exports=a;function a(a,b){if(a.length!=b.length)return!1;for(var c=0;c<a.length;c+=1){var d=a[c],e=b[c];if(d.name!==e.name||d.type!==e.type)return!1}return!0}}),null); __d("ContextualConfigParseResultParamValue",["ContextualConfigAssert","ContextualConfigConstants","ContextualConfigParseBoolean","ContextualConfigParseFloat","ContextualConfigParseInteger","ContextualConfigValidators"],(function(a,b,c,d,e,f){"use strict";e.exports=a;var g,h,i=function(a){return(g||(g=b("ContextualConfigAssert")))(b("ContextualConfigValidators").isString(a),b("ContextualConfigConstants").ERROR.INVALID_STRING)};function a(a,c){i(c);switch(a){case b("ContextualConfigConstants").TYPE.BOOL:return b("ContextualConfigParseBoolean")(c);case b("ContextualConfigConstants").TYPE.FLOAT:return(h||(h=b("ContextualConfigParseFloat")))(c);case b("ContextualConfigConstants").TYPE.INT:return b("ContextualConfigParseInteger")(c);case b("ContextualConfigConstants").TYPE.STRING:return c;default:throw new Error(b("ContextualConfigConstants").ERROR.INVALID_VALUE_TYPE)}}}),null); __d("ContextualConfigParseResultParams",["ContextualConfigAssert","ContextualConfigConstants","ContextualConfigParseResultParamValue","ContextualConfigValidators"],(function(a,b,c,d,e,f){"use strict";e.exports=a;var g,h,i=function(a){return(g||(g=b("ContextualConfigAssert")))(b("ContextualConfigValidators").isArray(a),b("ContextualConfigConstants").ERROR.MISSING_RESULTS)},j=function(a){return(g||(g=b("ContextualConfigAssert")))(b("ContextualConfigValidators").isDefined(a),b("ContextualConfigConstants").ERROR.BAD_CONTEXT_VALUE)},k=function(a){return(g||(g=b("ContextualConfigAssert")))(b("ContextualConfigValidators").isNonEmptyString(a),b("ContextualConfigConstants").ERROR.BAD_CONTEXT_VALUE)},l=function(a){return(g||(g=b("ContextualConfigAssert")))(b("ContextualConfigValidators").isType(a),b("ContextualConfigConstants").ERROR.BAD_CONTEXT_VALUE)},m=function(a,c){for(var a=a,d=Array.isArray(a),e=0,a=d?a:a[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]();;){var f;if(d){if(e>=a.length)break;f=a[e++]}else{e=a.next();if(e.done)break;f=e.value}f=f;if(f.name===c)return f.type}throw new Error(b("ContextualConfigConstants").ERROR.UNDECLARED_OUTPUT_PARAM)},n=function(a){return function(c){j(c);var d=c.name;k(d);var e=m(a,d);l(e);c=(h||(h=b("ContextualConfigParseResultParamValue")))(e,c.value);return{name:d,type:e,value:c}}};function a(a,b){i(b);return b.map(n(a))}}),null); __d("ContextualConfigParseDenseResultParams",["ContextualConfigAssert","ContextualConfigConstants","ContextualConfigIsEqualParams","ContextualConfigParseResultParams"],(function(a,b,c,d,e,f){"use strict";e.exports=a;var g,h=function(a,c){return(g||(g=b("ContextualConfigAssert")))(b("ContextualConfigIsEqualParams")(a,c),b("ContextualConfigConstants").ERROR.RESULTS_VECTOR_SIZE_MISMATCH)};function a(a,c){c=b("ContextualConfigParseResultParams")(a,c.map(function(b,c){return{name:a[c].name,value:b}}));h(a,c);return c}}),null); __d("ContextualConfigParseDenseDefaults",["ContextualConfigConstants","ContextualConfigParseDenseResultParams"],(function(a,b,c,d,e,f){"use strict";e.exports=a;function a(a,c){try{return b("ContextualConfigParseDenseResultParams")(a,c)}catch(a){throw new Error(b("ContextualConfigConstants").ERROR.MISSING_DEFAULT_VALUE)}}}),null); __d("ContextualConfigParseMonitors",["ContextualConfigAssert","ContextualConfigConstants","ContextualConfigValidators"],(function(a,b,c,d,e,f){"use strict";e.exports=a;var g,h=function(a){return(g||(g=b("ContextualConfigAssert")))(b("ContextualConfigValidators").isDefined(a),b("ContextualConfigConstants").ERROR.BAD_CONTEXT_IDENTIFIER)},i=function(a){return(g||(g=b("ContextualConfigAssert")))(b("ContextualConfigValidators").isArray(a),b("ContextualConfigConstants").ERROR.BAD_MONITORED_CONTEXTS)},j=function(a){return(g||(g=b("ContextualConfigAssert")))(b("ContextualConfigValidators").isNonEmptyString(a),b("ContextualConfigConstants").ERROR.BAD_CONTEXT_IDENTIFIER)},k=function(a){return(g||(g=b("ContextualConfigAssert")))(b("ContextualConfigValidators").isType(a),b("ContextualConfigConstants").ERROR.BAD_CONTEXT_IDENTIFIER)},l=function(a){h(a);var b=a.name;a=a.type;j(b);k(a);return{name:b,type:a}};function a(a){i(a);return a.map(l)}}),null); __d("ContextualConfigParseOutputParams",["ContextualConfigAssert","ContextualConfigConstants","ContextualConfigValidators"],(function(a,b,c,d,e,f){e.exports=a;var g,h=function(a){return(g||(g=b("ContextualConfigAssert")))(b("ContextualConfigValidators").isArray(a),b("ContextualConfigConstants").ERROR.MISSING_OUTPUTS_DEFINITION)},i=function(a){return(g||(g=b("ContextualConfigAssert")))(b("ContextualConfigValidators").isType(a),b("ContextualConfigConstants").ERROR.BAD_OUTPUT_TYPE)},j=function(a){return(g||(g=b("ContextualConfigAssert")))(b("ContextualConfigValidators").isNonEmptyString(a),b("ContextualConfigConstants").ERROR.BAD_OUTPUT_NAME)},k=function(a){return(g||(g=b("ContextualConfigAssert")))(l(a),b("ContextualConfigConstants").ERROR.DUPLICATE_OUTPUT_NAME)},l=function(a){var b={};for(var a=a,c=Array.isArray(a),d=0,a=c?a:a[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]();;){var e;if(c){if(d>=a.length)break;e=a[d++]}else{d=a.next();if(d.done)break;e=d.value}e=e;if(b[e.name])return!1;b[e.name]=!0}return!0},m=function(a){j(a.name);i(a.type);return a};function a(a){h(a);a=a.map(m);k(a);return a}}),null); __d("ContextualConfigParseVector",["ContextualConfigAssert","ContextualConfigConstants","ContextualConfigParseResultParamValue","ContextualConfigValidators"],(function(a,b,c,d,e,f){"use strict";e.exports=a;var g,h,i=function(a){return(g||(g=b("ContextualConfigAssert")))(b("ContextualConfigValidators").isArray(a),b("ContextualConfigConstants").ERROR.MISSING_VECTOR)},j=function(a,c){return(g||(g=b("ContextualConfigAssert")))(a===c,b("ContextualConfigConstants").ERROR.RESULTS_VECTOR_SIZE_MISMATCH)},k=function(a,c){j(a.length,c.length);for(var d=0;d<a.length;d+=1){var e=a[d].type,f=c[d];(h||(h=b("ContextualConfigParseResultParamValue")))(e,f)}},l=function(a){return a.reduce(function(a,b){b=b.buckets;return a*b.length},1)};function a(a,b,c){i(c);b=l(b);var d=a.length;j(b*d,c.length);for(var e=0;e<b;e+=1){var f=e*d;k(a,c.slice(f,f+d))}return c}}),null); __d("ContextualConfigResolveContexts",["ContextualConfigConstants"],(function(a,b,c,d,e,f){"use strict";e.exports=a;var g=function(a,b){for(var c=0;c<a.length;c+=1){var d=a[c];try{if(d.pred(b))return[d.name,c]}catch(a){return null}}return null};function a(a,c,d){var e=null;a=a.map(function(a){var f=a.name,h={name:f};if(e!=null)return h;var i;d[f]!=null?i=d[f]:c[f]!=null?i=c[f]():i=null;h.value=i;if(a.buckets!=null){f=g(a.buckets,i);if(f==null){e=new Error(b("ContextualConfigConstants").ERROR.MISSING_BUCKET_MATCH);return h}a=f[0];i=f[1];h.bucketName=a;h.bucketIndex=i}return h});return[e,a]}}),null); __d("DenseContextualConfig",["ContextualConfigAssert","ContextualConfigConstants","ContextualConfigParseContexts","ContextualConfigParseDenseDefaults","ContextualConfigParseDenseResultParams","ContextualConfigParseMonitors","ContextualConfigParseOutputParams","ContextualConfigParseVector","ContextualConfigResolveContexts","ContextualConfigResolvedContextsUtils","ContextualConfigValidators"],(function(a,b,c,d,e,f){"use strict";var g,h=function(a){return(g||(g=b("ContextualConfigAssert")))(b("ContextualConfigValidators").isDefined(a),b("ContextualConfigConstants").ERROR.BAD_CONFIG)},i=function(a){var b=[],c=1;for(var d=a.length-1;d>=0;d-=1)b.push(c),c*=a[d].buckets.length;return b.reverse()},j=function(a,c,d,e){try{c=c.slice(d,d+a.length);return[null,b("ContextualConfigParseDenseResultParams")(a,c)]}catch(a){return[a,e]}},k=function(a,c,d){try{d=d.reduce(function(c,d,e){(g||(g=b("ContextualConfigAssert")))(e<a.length,"Auxillery index out of range.");return c+a[e]*d},0);return[null,d*c]}catch(a){return[a,-1]}};a=function(){function a(a,c){h(a);this.globalContextProviders=babelHelpers["extends"]({},c);c=b("ContextualConfigParseOutputParams")(a.outputs);var d=b("ContextualConfigParseContexts")(a.contexts);this.aux=i(d);this.contexts=d;this.defaults=b("ContextualConfigParseDenseDefaults")(c,a.vectorDefaults);this.monitors=a.monitors!=null?b("ContextualConfigParseMonitors")(a.monitors):[];this.outputs=c;this.vector=b("ContextualConfigParseVector")(c,d,a.vector)}var c=a.prototype;c.resolve=function(a){try{return this.unsafeResolve(a)}catch(a){return[a,this.defaults,b("ContextualConfigConstants").EMPTY_RESOLVED_CONTEXTS,b("ContextualConfigConstants").EMPTY_RESOLVED_MONITORS]}};c.unsafeResolve=function(a){var c=this.aux,d=this.globalContextProviders,e=this.contexts,f=this.defaults,g=this.monitors,h=this.outputs,i=this.vector;e=b("ContextualConfigResolveContexts")(e,d,a);var l=e[0];e=e[1];if(l!=null)return[l,f,e,b("ContextualConfigConstants").EMPTY_RESOLVED_MONITORS];l=k(c,h.length,b("ContextualConfigResolvedContextsUtils").getBucketIndices(e));c=l[0];l=l[1];if(c!=null)return[c,f,e,b("ContextualConfigConstants").EMPTY_RESOLVED_MONITORS];c=j(h,i,l,f);h=c[0];i=c[1];if(h!=null)return[h,i,e,b("ContextualConfigConstants").EMPTY_RESOLVED_MONITORS];l=b("ContextualConfigResolveContexts")(g,d,a);f=l[0];c=l[1];return f!=null?[f,i,e,b("ContextualConfigConstants").EMPTY_RESOLVED_MONITORS]:[null,i,e,c]};return a}();e.exports=a}),null); __d("MultiOutputResolvedContextualConfig",["ContextualConfigAssert","ContextualConfigConstants","ContextualConfigParseMonitors","ContextualConfigParseOutputParams","ContextualConfigParseResultParams","ContextualConfigResolveContexts","ContextualConfigValidators"],(function(a,b,c,d,e,f){"use strict";var g,h=function(a){return(g||(g=b("ContextualConfigAssert")))(b("ContextualConfigValidators").isDefined(a),b("ContextualConfigConstants").ERROR.BAD_CONFIG)};a=function(){function a(a,c){h(a);this.globalContextProviders=babelHelpers["extends"]({},c);c=b("ContextualConfigParseOutputParams")(a.outputs);this.monitors=a.monitors!=null?b("ContextualConfigParseMonitors")(a.monitors):[];this.values=b("ContextualConfigParseResultParams")(c,a.values)}var c=a.prototype;c.resolve=function(a){try{return this.unsafeResolve(a)}catch(a){return[a,this.values,b("ContextualConfigConstants").EMPTY_RESOLVED_CONTEXTS,b("ContextualConfigConstants").EMPTY_RESOLVED_MONITORS]}};c.unsafeResolve=function(a){var c=this.globalContextProviders,d=this.monitors,e=this.values;d=b("ContextualConfigResolveContexts")(d,c,a);c=d[0];a=d[1];return c!=null?[c,e,b("ContextualConfigConstants").EMPTY_RESOLVED_CONTEXTS,b("ContextualConfigConstants").EMPTY_RESOLVED_MONITORS]:[null,e,b("ContextualConfigConstants").EMPTY_RESOLVED_CONTEXTS,a]};return a}();e.exports=a}),null); __d("ContextualConfigMergePartialResultParams",[],(function(a,b,c,d,e,f){"use strict";e.exports=a;function a(a,b){var c={};for(var b=b,d=Array.isArray(b),e=0,b=d?b:b[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]();;){var f;if(d){if(e>=b.length)break;f=b[e++]}else{e=b.next();if(e.done)break;f=e.value}f=f;c[f.name]=f}f=[];for(var e=a,d=Array.isArray(e),b=0,e=d?e:e[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]();;){if(d){if(b>=e.length)break;a=e[b++]}else{b=e.next();if(b.done)break;a=b.value}a=a;var g=c[a.name];f.push(g!=null&&g.name===a.name&&g.type===a.type?g:a)}return f}}),null); __d("ContextualConfigParseDefaults",["ContextualConfigAssert","ContextualConfigConstants","ContextualConfigIsEqualParams","ContextualConfigParseResultParams"],(function(a,b,c,d,e,f){"use strict";e.exports=a;var g,h=function(a,c){return(g||(g=b("ContextualConfigAssert")))(b("ContextualConfigIsEqualParams")(a,c),b("ContextualConfigConstants").ERROR.MISSING_DEFAULT_VALUE)};function a(a,c){c=b("ContextualConfigParseResultParams")(a,c);h(a,c);return c}}),null); __d("ContextualConfigParseTable",["ContextualConfigAssert","ContextualConfigParseResultParams","ContextualConfigConstants","ContextualConfigValidators"],(function(a,b,c,d,e,f){"use strict";e.exports=a;var g,h=function(a){return(g||(g=b("ContextualConfigAssert")))(b("ContextualConfigValidators").isArray(a),b("ContextualConfigConstants").ERROR.MISSING_TABLE)},i=function(a){return(g||(g=b("ContextualConfigAssert")))(b("ContextualConfigValidators").isDefined(a),b("ContextualConfigConstants").ERROR.MISSING_TABLE)},j=function(a){return(g||(g=b("ContextualConfigAssert")))(b("ContextualConfigValidators").isNonEmptyString(a),b("ContextualConfigConstants").ERROR.MISSING_TABLE_ITEM_BUCKET)},k=function(a){return(g||(g=b("ContextualConfigAssert")))(b("ContextualConfigValidators").isArray(a),b("ContextualConfigConstants").ERROR.MISSING_TABLE_ITEM_VALUES)},l=function(a,c){i(c);var d=c.bucket;c=c.values;j(d);k(c);return{bucket:d,values:b("ContextualConfigParseResultParams")(a,c)}};function a(a,b){h(b);return b.reduce(function(b,c){c=l(a,c);b[c.bucket]=c.values;return b},{})}}),null); __d("TableContextualConfig",["ContextualConfigAssert","ContextualConfigConstants","ContextualConfigMergePartialResultParams","ContextualConfigParseContexts","ContextualConfigParseDefaults","ContextualConfigParseMonitors","ContextualConfigParseOutputParams","ContextualConfigParseTable","ContextualConfigResolveContexts","ContextualConfigResolvedContextsUtils","ContextualConfigValidators"],(function(a,b,c,d,e,f){"use strict";var g,h=[],i=function(a){return(g||(g=b("ContextualConfigAssert")))(b("ContextualConfigValidators").isDefined(a),b("ContextualConfigConstants").ERROR.BAD_CONFIG)};a=function(){function a(a,c){i(a);this.globalContextProviders=babelHelpers["extends"]({},c);c=b("ContextualConfigParseOutputParams")(a.outputs);this.contexts=b("ContextualConfigParseContexts")(a.contexts);this.defaults=b("ContextualConfigParseDefaults")(c,a.defaults);this.monitors=a.monitors!=null?b("ContextualConfigParseMonitors")(a.monitors):[];this.table=b("ContextualConfigParseTable")(c,a.table)}var c=a.prototype;c.resolve=function(a){try{return this.unsafeResolve(a)}catch(a){return[a,this.defaults,b("ContextualConfigConstants").EMPTY_RESOLVED_CONTEXTS,b("ContextualConfigConstants").EMPTY_RESOLVED_MONITORS]}};c.unsafeResolve=function(a){var c=this.globalContextProviders,d=this.contexts,e=this.defaults,f=this.monitors,g=this.table;d=b("ContextualConfigResolveContexts")(d,c,a);var i=d[0];d=d[1];if(i!=null)return[i,e,d,[]];i=b("ContextualConfigResolvedContextsUtils").getBucketNames(d).join(b("ContextualConfigConstants").BUCKET_DELIMITER);g=g[i]||h;i=b("ContextualConfigMergePartialResultParams")(e,g);e=b("ContextualConfigResolveContexts")(f,c,a);g=e[0];f=e[1];return g!=null?[g,i,d,[]]:[null,i,d,f]};return a}();e.exports=a}),null); __d("ContextualConfigParseConfig",["ContextualConfigAssert","ContextualConfigConstants","ContextualConfigValidators","DenseContextualConfig","MultiOutputResolvedContextualConfig","TableContextualConfig"],(function(a,b,c,d,e,f){"use strict";e.exports=a;var g,h=[1],i=function(a){return(g||(g=b("ContextualConfigAssert")))(b("ContextualConfigValidators").isDefined(a)&&b("ContextualConfigValidators").isDefined(a.version),b("ContextualConfigConstants").ERROR.BAD_CONFIG)},j=function(a){return(g||(g=b("ContextualConfigAssert")))(h.indexOf(a)!==-1,b("ContextualConfigConstants").ERROR.UNSUPPORTED_CONFIG_VERSION)};function a(a,c){i(a);j(a.version);switch(a.cctype){case b("ContextualConfigConstants").CONFIG_TYPE.DENSE:return new(b("DenseContextualConfig"))(a,c);case b("ContextualConfigConstants").CONFIG_TYPE.MULTI_OUTPUT_RESOLVED:return new(b("MultiOutputResolvedContextualConfig"))(a,c);case b("ContextualConfigConstants").CONFIG_TYPE.TABLE:return new(b("TableContextualConfig"))(a,c);default:throw new Error(b("ContextualConfigConstants").ERROR.UNKNOWN_CONFIG_TYPE)}}}),null); __d("ContextualConfigWarn",[],(function(a,b,c,d,e,f){"use strict";e.exports=a;function a(a){}}),null); __d("ContextualConfigResult",["ContextualConfigConstants","ContextualConfigWarn"],(function(a,b,c,d,e,f){"use strict";a=function(){function a(a){this.$1=a.reduce(function(a,b){var c=b.name;b=b.value;a[c]=b;return a},{}),this.$2=a}var c=a.prototype;c.get=function(a,c){try{a=this.$1[a];if(typeof a!==typeof c){b("ContextualConfigWarn")(b("ContextualConfigConstants").ERROR.REQUESTED_PARAM_NOT_FOUND);return c}return a}catch(a){b("ContextualConfigWarn")(a.message);return c}};c.getParams=function(){return this.$2};return a}();e.exports=a}),null); __d("ErrorContextualConfig",["ContextualConfigConstants"],(function(a,b,c,d,e,f){"use strict";a=function(){function a(a){this.error=a}var c=a.prototype;c.resolve=function(a){return[this.error,b("ContextualConfigConstants").EMPTY_RESULT_PARAMS,b("ContextualConfigConstants").EMPTY_RESOLVED_CONTEXTS,b("ContextualConfigConstants").EMPTY_RESOLVED_MONITORS]};return a}();e.exports=a}),null); __d("ContextualConfig",["ContextualConfigCollateExposureData","ContextualConfigConstants","ContextualConfigExposureLogger","ContextualConfigParseConfig","ContextualConfigResult","ErrorContextualConfig","Random"],(function(a,b,c,d,e,f){"use strict";var g=1/b("ContextualConfigConstants").JSON_SUB_SAMPLE_RATE,h=1;a=function(){function a(a,b){b===void 0&&(b={}),this.isDebugLoggingEnabled=!1,this.$3=!1,this.$4=a,this.$2=b}var c=a.prototype;c.$5=function(){if(this.$1)return this.$1;var a=this.$2,c=this.$4;try{c=b("ContextualConfigParseConfig")(c,a)}catch(a){c=new(b("ErrorContextualConfig"))(a)}this.$1=c;return c};c.$6=function(a){var c=this.isDebugLoggingEnabled,d=this.$4,e=this.$3;e=!e&&b("Random").random()<g;e&&(this.$3=!0);d=b("ContextualConfigCollateExposureData")(d,a,e);a=b("ContextualConfigExposureLogger").createEvent(d);a.log(c)};c.resolve=function(a){a===void 0&&(a={});var c=this.$1||this.$5();c=c.resolve(a);this.$6(c);return new(b("ContextualConfigResult"))(c[h])};return a}();e.exports=a}),null); __d("dangerouslyOverrideMediaElementEndedProperty",[],(function(a,b,c,d,e,f){e.exports=a;function a(a){a===void 0&&(a={});a.dangerouslyOverrideMediaElementEndedProperty=!0;return a}a.isEnded=function(a){return!!(a&&a.detail&&a.detail.dangerouslyOverrideMediaElementEndedProperty)}}),null); __d("getHTMLMediaElementMutedState",["HTMLMediaElementReadyStates"],(function(a,b,c,d,e,f){e.exports=a;function a(a){if(a.readyState>=b("HTMLMediaElementReadyStates").HAVE_METADATA)return a.muted;else return a.hasAttribute("muted")||a.muted}}),null); __d("HVideoPlayerMixin",["EventListener","UserAgent","VideoPlayerHTML5Experiments","dangerouslyOverrideMediaElementEndedProperty","getHTMLMediaElementMutedState","getVideoBrowserTabId"],(function(a,b,c,d,e,f){var g=-1,h=!!(window.performance&&window.performance.now&&window.performance.timing&&window.performance.timing.navigationStart);function i(a,b){a.time_ms=Date.now();b=b.timeStamp;if(b&&h){var c=Math.floor(b).toString().length,d=Date.now().toString().length,e=window.performance.now();if(c===d+3)b=Math.floor(b/1e3),a.time_ms=b;else if(c===d)a.time_ms=b;else if(b<=e){c=window.performance.timing.navigationStart;a.time_ms=c+Math.floor(b)}}return a}a={initLogger:function(a,c,d,e,f,h){var i=this;this._loggedEvents={};this._logFunction=a;this._fixOverwrittenGetVideoCurrentTime=e;this._fireSeekEvents=f;this._useEventTime=c;this._recentPausedTime=null;this._audioOnly=!1;var j=this.getVideoElement();if(h){var k=j.pause;j.pause=function(){i._recentPausedTime=j.currentTime;return k.apply(j)}}d&&(this._overwriteVideoCurrentTimeProperty(j),this._didOverwriteVideoCurrentTimeProperty||(this.preventSeekLoggingInMixin=!0));this._lastStartTimePosition=g;this._muted=b("getHTMLMediaElementMutedState")(j);this._pausedPosition=g;this._seeking=!1;this._seekSourceTimePosition=g;this._currentTimeAtSeekStart=g;this._volume=j.volume;this._hasBlockedPausedRepresentationEnded=!1;this._logNextPlayingEvent=!0;this._lastPlayedTime=g;a=!1;j.readyState>=j.HAVE_FUTURE_DATA?this._logReadyToPlay():a=!0;if(this.skipSubscriptions())return;e=this.getSubscriptions();a&&e.addSubscriptions(b("EventListener").listen(j,"canplay",this._logReadyToPlay.bind(this)));e.addSubscriptions(b("EventListener").listen(j,"ended",this.onEnded.bind(this)),b("EventListener").listen(j,"pause",this.onPause.bind(this)),b("EventListener").listen(j,"playing",this.onPlaying.bind(this)),b("EventListener").listen(j,"seeked",this.onSeeked.bind(this)),b("EventListener").listen(j,"seeking",this.onSeeking.bind(this)),b("EventListener").listen(j,"play",this.onPlay.bind(this)),b("EventListener").listen(j,"loadedmetadata",this.onLoadedMetadata.bind(this)),b("EventListener").listen(j,"timeupdate",this.onTimeUpdate.bind(this)),b("EventListener").listen(j,"volumechange",this.onVolumeChange.bind(this)))},skipSubscriptions:function(){return!1},onCanPlay:function(a){this._logReadyToPlay(a)},onPlay:function(a){this._logNextPlayingEvent=!0,this._ignoreNextPlaying=!1,this._pendingPlayRequest=!0},logHeartbeat:function(){if(b("VideoPlayerHTML5Experiments").heartbeatUpdateWatchTime){this._logEvent("heart_beat",this._getWatchTimeClosingLogData({}));var a=this._getVideoCurrentTime();this._lastStartTimePosition=a;this._lastPlayedTime=a}else this._logEvent("heart_beat")},_getWatchTimeClosingLogData:function(a){this._lastPlayedTime=this._getVideoCurrentTime();return this._amendEventTime(babelHelpers["extends"]({video_last_start_time_position:this._lastStartTimePosition===g?this._lastPlayedTime:this._lastStartTimePosition,video_time_position:this._lastPlayedTime},a))},_logOnce:function(a,b){if(this._loggedEvents[a])return;this._logEvent(a,b)},setAudioOnly:function(a){this._audioOnly=a},_logEvent:function(a,c){this._loggedEvents[a]=!0;c=c?c:{};c.video_id=this.getVideoID();c.browser_tab_id=b("getVideoBrowserTabId")();this._audioOnly&&(c.audio_only=!0);c.has_blocked_paused_representation_ended=this._hasBlockedPausedRepresentationEnded;Object.prototype.hasOwnProperty.call(c,"video_time_position")||(c.video_time_position=this._getVideoCurrentTime());c.time_ms||(c.time_ms=Date.now());c.time=Math.round(c.time_ms/1e3);if(this.getAdClientToken){var d=this.getAdClientToken();d&&(c.ad_client_token=d)}this.getPlayerFormat&&(c.player_format=this.getPlayerFormat());this.getPlayerOrigin&&(c.player_origin=this.getPlayerOrigin());this.getPlayerSuborigin&&(c.player_suborigin=this.getPlayerSuborigin());this._logFunction(a,c)},_logReadyToPlay:function(){return},__setPendingPlayRequest:function(a){this._pendingPlayRequest=a},onPause:function(a){this._logNextPlayingEvent=!0;var c=this.getVideoElement();if(this._pendingPlayRequest){var d={debug_reason:this.getLastPlayReason()};this._pendingPlayRequest=!1;this._logEvent("cancelled_requested_playing",d);return}d=!!this._getVideoPlayerShakaConfig()&&this._getVideoPlayerShakaConfig().getBool("abort_loading_decisioning_logic",!1);d=c.ended||d&&b("dangerouslyOverrideMediaElementEndedProperty").isEnded(a)?"finished_playing":"paused";var e=this._recentPausedTime==null?this._getVideoCurrentTime():this._recentPausedTime;this._recentPausedTime=null;e&&(this._lastPlayedTime=e);e=this._lastPlayedTime;var f=this._lastStartTimePosition===g?this._lastPlayedTime:this._lastStartTimePosition;b("VideoPlayerHTML5Experiments").preventNegativeTimePositions&&(this._lastPlayedTime<0&&(e=0,this._lastStartTimePosition<0&&(f=0)));var h=a.lastPauseReason;if(d==="finished_playing")e=Math.max(e,c.duration);else if(this.preventPauseLoggingInMixin===!0)return;else this.preventPauseLoggingInMixin===!1&&(h=h||"unloaded");this._logEvent(d,this._amendEventTime({video_last_start_time_position:f,video_time_position:e,debug_reason:h},a));this._lastStartTimePosition=g},onEnded:function(){this._logNextPlayingEvent=!0,this._lastStartTimePosition!==g&&b("UserAgent").isBrowser("IE")&&this.onPause({})},onBlockedPausedRepresentationEnded:function(){this._hasBlockedPausedRepresentationEnded=!0},logRepresentationEnded:function(a){if(a){a={representation_id:a.representationID,next_representation_id:a.nextRepresentationID,stream_switch_reason:a.streamSwitchReason};b("VideoPlayerHTML5Experiments").newStateChangeCalculation&&(a=this._getWatchTimeClosingLogData(a));this._logEvent("representation_ended",a);if(b("VideoPlayerHTML5Experiments").newStateChangeCalculation){a=this._getVideoCurrentTime();this._lastStartTimePosition=a;this._lastPlayedTime=a}}},addWatchTimeData:function(a){this._lastStartTimePosition!=g&&this._lastPlayedTime!=g&&(a.video_last_start_time_position=this._lastStartTimePosition,a.video_time_position=this._lastPlayedTime,this._lastStartTimePosition=g);return a},getLastPlayReason:function(){return null},getVideoPlayReason:function(){return null},onPlaying:function(a){if(!this._logNextPlayingEvent)return;b("VideoPlayerHTML5Experiments").superficialUnpauseEventsFix&&(this._logNextPlayingEvent=!1);if(this._ignoreNextPlaying){this._ignoreNextPlaying=!1;return}var c=this.getLastPlayReason();this._pendingPlayRequest=!1;var d=this._loggedEvents.started_playing?"unpaused":"started_playing";c=this._amendEventTime({debug_reason:c,video_play_reason:this.getVideoPlayReason()},a);a=this._getVideoCurrentTime();if(b("VideoPlayerHTML5Experiments").useCurrentTimeAdjustment){var e=this.getVideoElement().currentTime;e=e-a;c.time_ms-=Math.round(e*1e3)}this._logEvent(d,c);this._lastStartTimePosition=a;this._lastPlayedTime=a;this._currentTimeAtLoadedMetadataCache=null},allowNextSeekInMixin:function(){this._allowNextSeek=!0},onSeeked:function(a){this._seeking=!1;var b=this._seekSourceTimePosition;this._seekSourceTimePosition=g;var c=this._currentTimeAtSeekStart;this._currentTimeAtSeekStart=g;if(this.preventSeekLoggingInMixin&&!this._allowNextSeek){this._pendingPlayRequest||(this._ignoreNextPlaying=!0);return}this._allowNextSeek=!1;this._ignoreNextPlaying=!1;var d={video_seek_source_time_position:b,video_last_start_time_position:b};this._fixOvewrittenGetVideoCurrentTime&&(d.video_seek_source_time_position=c);this.preventSeekLoggingInMixin&&(this._lastStartTimePosition!==g?d.video_last_start_time_position=this._lastStartTimePosition:d.video_last_start_time_position=b);b="scrubbed";this._fireSeekEvents&&(b="seeked",d={seek_from_video_time_position:c});this._logEvent(b,this._amendEventTime(d,a));c=this.getVideoElement();c.paused?this._lastStartTimePosition=g:this._lastStartTimePosition=this._getVideoCurrentTime()},onSeeking:function(a){this._currentTimeAtLoadedMetadataCache=null;this._seeking||(this._seekSourceTimePosition=this._getVideoCurrentTime(),this._seeking=!0);if(this._fixOverwrittenGetVideoCurrentTime)return;this._currentTimeAtSeekStart=g},onTimeUpdate:function(a){this._currentTimeAtLoadedMetadataCache=null;a=this.getVideoElement();a.paused||(this._lastPlayedTime=this._getVideoCurrentTime())},onVolumeChange:function(a){var c=this.getVideoElement(),d={},e=null;if(b("VideoPlayerHTML5Experiments").useFixedVolumeLogging){var f=c.muted,g=this._muted,h=c.volume,i=this._volume;d.current_volume=Math.round(h*100);this._volume=h;this._muted=f;f=f||h==0;g=g||i==0;if(g&&f)return;if(g!=f)f?e="muted":e="unmuted";else{if(i==h)return;h<i?e="volume_decrease":e="volume_increase"}}else c.muted!==this._muted&&c.volume===this._volume&&c.volume>0?e=c.muted?"muted":"unmuted":(e=c.volume>this._volume?"volume_increase":"volume_decrease",d.current_volume=Math.round(c.volume*100)),this._muted=c.muted,this._volume=c.volume;this._logEvent(e,this._amendEventTime(d,a))},_amendEventTime:function(a,c){var d=this._useEventTime;b("VideoPlayerHTML5Experiments").fixEventTimeLogging&&(d=d&&c);if(d)return i(a,c);else a.time_ms=Date.now();return a},_getVideoCurrentTime:function(){var a;this._fixOverwrittenGetVideoCurrentTime?a=this.getVideoElement().currentTime:a=this._currentTimeAtSeekStart===g?this.getVideoElement().currentTime:this._currentTimeAtSeekStart;a=a.toFixed(2);b("VideoPlayerHTML5Experiments").useCurrentTimeAdjustment&&(this._currentTimeAtLoadedMetadataCache!=null&&(a=this._currentTimeAtLoadedMetadataCache.toFixed(2)));return b("VideoPlayerHTML5Experiments").fixCurrentTimeType?+a:a},_getVideoPlayerShakaConfig:function(){return this.getVideoPlayerShakaConfig&&typeof this.getVideoPlayerShakaConfig==="function"?this.getVideoPlayerShakaConfig():null},onLoadedMetadata:function(a){this._currentTimeAtLoadedMetadataCache=this.getVideoElement().currentTime},_overwriteVideoCurrentTimeProperty:function(a){var b=this;this._didOverwriteVideoCurrentTimeProperty=!1;try{var c=Object.getOwnPropertyDescriptor&&Object.getOwnPropertyDescriptor(HTMLMediaElement.prototype,"currentTime");if(!c)return;if(typeof c.get!=="function"||typeof c.set!=="function")return;Object.defineProperty&&Object.defineProperty(a,"currentTime",{get:function(){return c.get.call(this)},set:function(d){b._currentTimeAtSeekStart===g&&(b._currentTimeAtSeekStart=c.get.call(a)),c.set.call(a,d)},configurable:!0,enumerable:!0});this._didOverwriteVideoCurrentTimeProperty=!0}catch(a){}}};e.exports=a}),null);