Files
recipe-importer/sobors-examples/sobors_1_files/qSOtDx-giaJ.js.download
T
2026-02-24 18:00:10 +01:00

110 lines
259 KiB
Plaintext

;/*FB_PKG_DELIM*/
__d("AbstractLinkLynxMode",["FBLynx","LinkshimHandlerConfig"],(function(t,n,r,o,a,i,l){"use strict";function e(e){return e?[r("LinkshimHandlerConfig").www_safe_js_mode,null]:["hover",null]}function s(){o("FBLynx").setupDelegation()}l.getMode=e,l.setupDelegation=s}),98);
__d("VideoPlayerApiEvents",[],(function(t,n,r,o,a,i){var e=["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"];i.default=e}),66);
__d("AbstractVideoPlayerApi",["invariant","EventEmitter","VideoPlayerApiEvents"],(function(t,n,r,o,a,i,l,s){var e=(function(e){function t(){return e.apply(this,arguments)||this}babelHelpers.inheritsLoose(t,e);var n=t.prototype;return n.addListener=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return e.prototype.addListener.apply(this,n)},n.emit=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return e.prototype.emit.apply(this,n)},n.setRelativeSphericalOrientation=function(t,n){},t.isImplementationUnavailable=function(){return!0},n.isDrm=function(){return!1},n.setup=function(){},t})(r("EventEmitter"));l.default=e}),98);
__d("BaseGraphQLSubscription",["ODS","Random","RelayRTIGraphQLSubscriber","gkx","nullthrows","relay-runtime","uuidv4"],(function(t,n,r,o,a,i,l){var e,s=100,u=1e3,c=100,d="gqls_default_logging_base",m="gqls_workplace_logging_base",p=110,_={bumpTotalSubscribeCounter:function(n){(e||(e=o("ODS"))).bumpEntityKey(p,"basegraphqlsubscription_migration",n+".subscribe.total")},bumpSsttSubscribeCounter:function(n){(e||(e=o("ODS"))).bumpEntityKey(p,"basegraphqlsubscription_migration",n+".subscribe.sstt"),_.bumpTotalSubscribeCounter(n)},bumpTotalReceiveCounter:function(n){(e||(e=o("ODS"))).bumpEntityKey(p,"basegraphqlsubscription_migration",n+".receive.total")},bumpSsttReceiveCounter:function(n){(e||(e=o("ODS"))).bumpEntityKey(p,"basegraphqlsubscription_migration",n+".receive.sstt"),_.bumpTotalReceiveCounter(n)}};function f(){if(r("gkx")("21002")&&r("Random").coinflip(s))return d;if(r("gkx")("21003")&&r("Random").coinflip(c))return m;if(r("gkx")("21004")||r("gkx")("21005")&&r("Random").coinflip(u))return d}var g=(function(){function e(){}var t=e.prototype;return t.getQuery=function(){throw new Error("getQuery() or getQueryID() unimplemented by subclass of BaseGraphQLSubscription")},t.getQueryParameters=function(t){throw new Error("getQueryParameters() unimplemented by subclass of BaseGraphQLSubscription")},t.getSubscriptionName=function(){var e=o("relay-runtime").getRequest(this.getQuery());return String(r("nullthrows")(e.params.metadata.subscriptionName))},e.subscribe=function(t,n,r,o){return new this().subscribe(t,n,r,o)},t.subscribe=function(t,n,a,i){var e,l,s=this.getQueryParameters(t),u=o("relay-runtime").getRequest(this.getQuery()).params,c=String(r("nullthrows")((e=u.metadata)==null?void 0:e.subscriptionName)),d=(l=a==null?void 0:a.forceLogContext)!=null?l:f();_.bumpSsttSubscribeCounter(c),s=babelHelpers.extends({},s,{input:babelHelpers.extends({},s.input,{client_subscription_id:r("uuidv4")()})});var m=o("RelayRTIGraphQLSubscriber").subscribe(u,s,d,a==null?void 0:a.viewerID,i).do({start:function(){},next:function(){},unsubscribe:function(){}});return m.subscribe({next:function(t){_.bumpSsttReceiveCounter(c),typeof t=="object"&&t.data!=null&&n(t.data)}})},e})();l.default=g}),98);
__d("BinarySearch",["FBLogger"],(function(t,n,r,o,a,i,l){"use strict";var e={GREATEST_LOWER_BOUND:"GREATEST_LOWER_BOUND",GREATEST_STRICT_LOWER_BOUND:"GREATEST_STRICT_LOWER_BOUND",LEAST_STRICT_UPPER_BOUND:"LEAST_STRICT_UPPER_BOUND",LEAST_UPPER_BOUND:"LEAST_UPPER_BOUND",NEAREST:"NEAREST"},s=function(t,n){if(typeof t!="number"||typeof n!="number")throw r("FBLogger")("comet_infra").mustfixThrow("The default comparator can only be used with sequences of numbers.");return t-n},u=e.GREATEST_LOWER_BOUND,c=e.GREATEST_STRICT_LOWER_BOUND,d=e.LEAST_STRICT_UPPER_BOUND,m=e.LEAST_UPPER_BOUND,p=e.NEAREST;function _(e,t,n,r,o){o===void 0&&(o=s);var a=m,i=g(e,t,n,r,o,a);if(n<=i&&i<r){var l=e(i);return o(l,t)===0?l:void 0}else return}function f(e,t,n,r,o){o===void 0&&(o=s);var a=m,i=g(e,t,n,r,o,a);return n<=i&&i<r&&o(e(i),t)===0?i:-1}function g(e,t,n,o,a,i){switch(i){case m:return h(e,t,n,o,a);case u:return y(e,t,n,o,a);case d:return C(e,t,n,o,a);case c:return b(e,t,n,o,a);case p:return v(e,t,n,o,a);default:throw r("FBLogger")("comet_infra").mustfixThrow("Invalid mode %s",i)}}function h(e,t,n,r,o){for(var a=n,i=r;a+1<i;){var l=a+Math.floor((i-a)/2);o(e(l),t)>=0?i=l:a=l}return a<i&&o(e(a),t)>=0?a:i}function y(e,t,n,r,o){return C(e,t,n,r,o)-1}function C(e,t,n,r,o){for(var a=n,i=r;a+1<i;){var l=a+Math.floor((i-a)/2);o(e(l),t)>0?i=l:a=l}return a<i&&o(e(a),t)>0?a:i}function b(e,t,n,r,o){return h(e,t,n,r,o)-1}function v(e,t,n,r,o){var a=y(e,t,n,r,o),i=Math.abs(o(e(a),t)),l=Math.abs(o(e(a+1),t));return i<l?Math.max(a,n):Math.min(a+1,r-1)}function S(e,t,n){return _(function(t){return e[t]},t,0,e.length,n)}function R(e,t,n){return f(function(t){return e[t]},t,0,e.length,n)}function L(e,t,n,r){return g(function(t){return e[t]},t,0,e.length,n,r)}l.GREATEST_LOWER_BOUND=u,l.GREATEST_STRICT_LOWER_BOUND=c,l.LEAST_STRICT_UPPER_BOUND=d,l.LEAST_UPPER_BOUND=m,l.NEAREST=p,l.find=_,l.findIndex=f,l.findBound=g,l.leastUpperBound=h,l.greatestLowerBound=y,l.leastStrictUpperBound=C,l.greatestStrictLowerBound=b,l.nearest=v,l.findInArray=S,l.findIndexInArray=R,l.findBoundInArray=L}),98);
__d("BlobFactory",["emptyFunction"],(function(t,n,r,o,a,i,l){var e;function s(){try{new t.Blob,e=!0}catch(t){e=!1}}var u=t.BlobBuilder||t.WebKitBlobBuilder||t.MozBlobBuilder||t.MSBlobBuilder,c=t.Blob?{getBlob:function(r,o){if(r=r||[],o=o||{},e===void 0&&s(),e)return new t.Blob(r,o);for(var n=new u,a=0;a<r.length;a++)n.append(r[a]);return n.getBlob(o.type)},isSupported:r("emptyFunction").thatReturnsTrue}:{getBlob:function(t,n){},isSupported:r("emptyFunction").thatReturnsFalse},d=c;l.default=d}),98);
__d("CVCv3DisabledPlayerOrigins",[],(function(t,n,r,o,a,i){var e=Object.freeze({BEEPER:"beeper",FB_STORIES:"fb_stories"});i.default=e}),66);
__d("CVCv3DisabledPlayerSubOrigins",[],(function(t,n,r,o,a,i){var e=Object.freeze({LIVE_BEEPER:"live_beeper"});i.default=e}),66);
__d("CvcV3HttpEventFalcoEvent",["FalcoLoggerInternal","getFalcoLogPolicy_DO_NOT_USE"],(function(t,n,r,o,a,i,l){"use strict";var e=r("getFalcoLogPolicy_DO_NOT_USE")("1856513"),s=o("FalcoLoggerInternal").create("cvc_v3_http_event",e),u=s;l.default=u}),98);
__d("CVCv3SubscriptionHelper",["CvcV3HttpEventFalcoEvent","DateConsts","guid"],(function(t,n,r,o,a,i,l){"use strict";var e=(function(){function e(e,t,n){this.$1=e,this.$2=r("guid")(),this.$3=(t!=null?t:"null")+"::"+(n!=null?n:"null"),this.$4=null,this.$5=null}var t=e.prototype;return t.isValidSubscription=function(){return!!this.$1},t.makeCVCv3StateUpdate=function(t,n,r,a){var e=null;t!=null&&!Number.isNaN(t)&&n!=null&&!Number.isNaN(n)&&(e={m:a,pf:Math.floor((n-t)*o("DateConsts").MS_PER_SEC),s:r,sa:Math.floor(t*o("DateConsts").MS_PER_SEC)});var i={pps:this.$4,ps:e,si:this.$2,so:this.$3,vi:this.$1};return this.$4=e,i},t.makeUnifiedVideoCVCUpdate=function(t,n,r,o,a){var e=this.makeCVCv3StateUpdate(t,n,r,o);return this.$5!=null&&(e.tk=this.$5),babelHelpers.extends({},e,a)},t.processUnifiedResponse=function(t){var e=t;return this.$5=e.tk,e},t.clearAnyPreviousContext=function(){this.$4=null},t.logHttpRequestSuccess=function(t){var e=this;r("CvcV3HttpEventFalcoEvent").log(function(){return{name:"http_request_success",duration_ms:t!=null?t.toString():null,countable_id:e.$1}})},t.logHttpRequestFailure=function(t,n){var e=this;r("CvcV3HttpEventFalcoEvent").log(function(){return{name:"http_request_failed",error_msg:t,duration_ms:n!=null?n.toString():null,countable_id:e.$1}})},t.logHttpRequestTimeout=function(t){var e=this;r("CvcV3HttpEventFalcoEvent").log(function(){return{name:"http_request_timeout",duration_ms:t!=null?t.toString():null,countable_id:e.$1}})},t.logHttpResponseBad=function(t,n){var e=this;r("CvcV3HttpEventFalcoEvent").log(function(){return{name:"http_response_bad",error_msg:t,duration_ms:n!=null?n.toString():null,countable_id:e.$1}})},t.logDebugInfo=function(t){var e=this;r("CvcV3HttpEventFalcoEvent").log(function(){return{name:t,countable_id:e.$1}})},e})();l.default=e}),98);
__d("XVideoUnifiedCVCController",["XController"],(function(t,n,r,o,a,i){a.exports=n("XController").create("/video/unified_cvc/",{})}),null);
__d("CVCv3VideoControllerHelper",["AsyncRequest","CVCv3DisabledPlayerOrigins","CVCv3DisabledPlayerSubOrigins","CVCv3SubscriptionHelper","DateConsts","Run","SubscriptionsHandler","XVideoUnifiedCVCController","clearTimeout","gkx","setTimeout"],(function(t,n,r,o,a,i,l){"use strict";var e=10,s=Object.values(r("CVCv3DisabledPlayerOrigins")),u=Object.values(r("CVCv3DisabledPlayerSubOrigins")),c=(function(){function t(e){var t=this;this.$13=!1,this.$3=new(r("CVCv3SubscriptionHelper"))(e.getVideoID(),e.getPlayerOrigin(),e.getPlayerSuborigin()),this.$2=e,this.$4=null,this.$5=!1,this.$7=null,this.$1=null,this.$11=!this.$3.isValidSubscription(),this.$6=new(r("SubscriptionsHandler")),this.$6.addSubscriptions(e.addListener("beginPlayback",function(){return t.$14()}),e.addListener("pausePlayback",function(){return t.$15()}),e.addListener("finishPlayback",function(){return t.$16()}),e.addListener("updateStatus",function(e){return t.$17(e)})),e.registerOption("UnifiedCVC","cvcData",function(){return t.$12}),this.$6.addSubscriptions(o("Run").onLeave(function(){return t.leave()}))}var n=t.prototype;return n.leave=function(){this.$6.release(),this.$2.hasOption("UnifiedCVC","cvcData")&&this.$2.unregisterOption("UnifiedCVC","cvcData")},n.disable=function(){this.$13=!0},n.$14=function(){this.$2.isState("playing")&&(this.$4=null,this.$5=!1)},n.$15=function(){this.$4=null,this.$5=!1},n.$16=function(){this.$4=null,this.$5=!1},n.$17=function(t){this.$2.isState("playing")&&(this.$4==null&&(this.$4=t.position),!this.$5&&this.$4+3<t.position&&(this.$2.logEvent("played_for_three_seconds"),this.$5=!0))},n.setLinearChannelID=function(t){this.$7=t},n.startUnifiedCVC=function(){if(!(this.$13||this.$18()||this.$19())){var e=!1;e||(e=this.$2.isLiveVideo()?!0:!r("gkx")("26215")),e&&this.$20(0)}},n.stopUnifiedCVC=function(){this.$21()},n.$18=function(){return s.includes(this.$2.getPlayerOrigin())},n.$19=function(){return u.includes(this.$2.getPlayerSuborigin())},n.$21=function(){r("clearTimeout")(this.$9),r("clearTimeout")(this.$8),this.$9=null,this.$8=null,this.$3.clearAnyPreviousContext(),this.$10!=null&&(this.$10.abandon(),this.$10=null)},n.$22=function(){r("clearTimeout")(this.$8),this.$8=null},n.$23=function(){this.$10=null,this.$22(),this.$20(0)},n.$20=function(n){var t=this;this.$9!=null||this.$10!=null||this.$11||(this.$9=r("setTimeout")(function(){t.$9=null;var n=t.$24(),a=Date.now(),i=!1;n.setHandler(function(e){t.$25(e,a)}),n.setErrorHandler(function(e){var n;i=!0,t.$3.logHttpRequestFailure(((n=e.errorSummary)!=null?n:"").toString(),Date.now()-a)}),t.$10=n,n.send(),t.$8=r("setTimeout")(function(){i||t.$3.logHttpRequestTimeout(Date.now()-a),t.$23()},e*o("DateConsts").MS_PER_SEC)},n))},n.$25=function(n,r){if(n.getRequest()===this.$10){var t=Date.now()-r;this.$10=null;var a=this.$3.processUnifiedResponse(n.payload);if(a!=null&&(this.$22(),this.$12=a.d,a.d!=null?(this.$2.emit("unifiedCVC/update",a.d),this.$3.logHttpRequestSuccess(t)):this.$3.logHttpResponseBad("no data field",t),a.a!=null)){var i=a.a.t;switch(i){case"p":var l=a.a.pi;l==null&&(l=e),this.$20(l*o("DateConsts").MS_PER_SEC);break;case"s":this.$11=!0;break}}}},n.$24=function(){var e={};this.$7!=null&&(e.lc=this.$7),this.$2.isLiveVideo()&&(e.ls=!0,e.pc=!0);var t=0,n=0;this.$4!=null&&(t=this.$4,n=this.$2.getCurrentTimePosition());var o=this.$3.makeUnifiedVideoCVCUpdate(t,n,this.$2.getVideoState(),this.$2.isMuted(),e),a={d:JSON.stringify(o)};return this.$1!=null&&(a.access_token=this.$1),new(r("AsyncRequest"))().setMethod("POST").setURI(r("XVideoUnifiedCVCController").getURIBuilder().getURI()).setData(a)},n.setAccessToken=function(t){this.$1=t},t})();l.default=c}),98);
__d("CaptionSettings",[],(function(t,n,r,o,a,i){"use strict";var e={enabled:!1,text:{size:175,color:"White",opacity:100,edge:"",typeface:""},background:{color:"Black",opacity:45}};i.DefaultCaptionSettings=e}),66);
__d("ClickIDDomainBlacklistSVConfigJSModuleWrapper",["ClickIDDomainBlacklistSVConfig"],(function(t,n,r,o,a,i,l){"use strict";l.default=r("ClickIDDomainBlacklistSVConfig")}),98);
__d("ClickIDURLBlocklistSVConfigJSModuleWrapper",["ClickIDURLBlocklistSVConfig"],(function(t,n,r,o,a,i,l){"use strict";l.default=r("ClickIDURLBlocklistSVConfig")}),98);
__d("DataViewReader",[],(function(t,n,r,o,a,i){"use strict";var e=(function(){function e(e){this.$1=0,this.$2=e}var t=e.prototype;return t.seek=function(t){this.$1=t},t.skip=function(t){var e=this.$1;return this.$1+=t,e},t.readUint8=function(){return this.$2.getUint8(this.skip(1))},t.readUint16=function(t){return t===void 0&&(t=!1),this.$2.getUint16(this.skip(2),t)},t.readUint32=function(t){return t===void 0&&(t=!1),this.$2.getUint32(this.skip(4),t)},t.readUint64=function(t){t===void 0&&(t=!1);var e,n;if(t?(n=this.$2.getUint32(this.skip(4),!0),e=this.$2.getUint32(this.skip(4),!0)):(e=this.$2.getUint32(this.skip(4)),n=this.$2.getUint32(this.skip(4))),e>2097151)throw new RangeError("Overflow reading 64-bit value.");return Math.pow(2,32)*e+n},t.readInt64=function(t){t===void 0&&(t=!1);var e,n;if(t?(n=this.$2.getInt32(this.skip(4),!0),e=this.$2.getInt32(this.skip(4),!0)):(e=this.$2.getInt32(this.skip(4)),n=this.$2.getInt32(this.skip(4))),e>2097151)throw new RangeError("Overflow reading 64-bit value.");return Math.pow(2,32)*(e|0)+n},t.readInt16=function(t){return t===void 0&&(t=!1),this.$2.getInt16(this.skip(2),t)},t.readInt32=function(t){return t===void 0&&(t=!1),this.$2.getInt32(this.skip(4),t)},t.readZeroTerminatedString=function(t){for(var e="",n=0,r;n++<t&&(r=this.readUint8());)e+=String.fromCharCode(r);return e},t.readChars=function(t){for(var e="";t-- >0;)e+=String.fromCharCode(this.$2.getUint8(this.skip(1)));return e},t.readBytes=function(t){for(var e=[];t-- >0;)e.push(this.$2.getUint8(this.skip(1)));return e},t.getDataView=function(){return this.$2},t.getCursor=function(){return this.$1},t.hasMoreData=function(){return this.$2.byteLength-this.getCursor()>0},e})();i.default=e}),66);
__d("DelegatedVideoPriorityAdjuster",[],(function(t,n,r,o,a,i){"use strict";var e=(function(){function e(){this.$1=function(){},this.$2=0}var t=e.prototype;return t.setOnPriorityChanged=function(t){this.$1=t},t.getPriorityAdjustment=function(){return this.$2},t.notifyAdjustment=function(t){this.$2!==t&&(this.$2=t,this.$1(this.$2))},t.cleanup=function(){this.$1=function(){}},e})();i.default=e}),66);
__d("getReactComponentDisplayName",[],(function(t,n,r,o,a,i){"use strict";function e(e){var t=e.displayName;return t!=null?t:e.name!=null?e.name:"ReactComponent"}i.default=e}),66);
__d("getReactElementDisplayName",["getReactComponentDisplayName","react"],(function(t,n,r,o,a,i,l){"use strict";var e,s=e||(e=o("react"));function u(e){if(e==null)return"#empty";if(typeof e=="string"||typeof e=="number"||typeof e=="boolean")return"#text";var t=e.type;return t==null?"ReactComponent":typeof t=="string"?t:r("getReactComponentDisplayName")(t)}l.default=u}),98);
__d("ErrorBoundary.react",["ErrorPubSub","ErrorSerializer","cr:1645510","getErrorSafe","getReactElementDisplayName","react"],(function(t,n,r,o,a,i,l){"use strict";var e,s,u=s||(s=o("react")),c=(function(t){function o(){for(var e,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return e=t.call.apply(t,[this].concat(r))||this,e.state={error:null,moduleName:d(e.props.children)},e.suppressReactDefaultErrorLoggingIUnderstandThisWillMakeBugsHarderToFindAndFix=!0,babelHelpers.assertThisInitialized(e)||babelHelpers.assertThisInitialized(e)}babelHelpers.inheritsLoose(o,t),o.getDerivedStateFromError=function(t){return{error:r("getErrorSafe")(t)}};var a=o.prototype;return a.componentDidUpdate=function(t){if(this.state.error&&this.props.forceResetErrorCount!=null&&this.props.forceResetErrorCount!==t.forceResetErrorCount){this.setState({error:null});return}},a.componentDidCatch=function(n,o){var t=o.componentStack,a=this.props,i=a.augmentError,l=a.context,s=l===void 0?{}:l,u=a.description,c=u===void 0?"base":u,d=a.onError,m=a.tags;s.messageFormat==null&&(s.messageFormat="caught error in module %s (%s)",s.messageParams=[this.state.moduleName,c]);var p=this.state,_=p.error,f=p.moduleName;_!=null&&(r("ErrorSerializer").aggregateError(_,{componentStack:t,loggingSource:"ERROR_BOUNDARY"}),r("ErrorSerializer").aggregateError(_,s),typeof i=="function"&&i(_),_.tags=Array.from(m!=null?m:[]),(e||(e=r("ErrorPubSub"))).reportError(_),typeof d=="function"&&d(_,f))},a.render=function(){var e,t=this.state,r=t.error,o=t.moduleName;if(r){var a=this.props.fallback;return a!=null?a(r,o):null}if(n("cr:1645510")!=null){var i=u.jsxs(u.Fragment,{children:[u.jsx(n("cr:1645510"),{}),this.props.children]});return i}return(e=this.props.children)!=null?e:null},o})(u.PureComponent);c.defaultProps={forceResetErrorCount:0};function d(e){var t=u.Children.count(e)>1?u.Children.toArray(e)[0]:e;return r("getReactElementDisplayName")(t)}var m=c;l.default=m}),98);
__d("FBDomainsSVConfigJSModuleWrapper",["FBDomainsSVConfig"],(function(t,n,r,o,a,i,l){"use strict";function e(e){return Object.fromEntries(e)}var s={domains:e(r("FBDomainsSVConfig").domains)},u=s;l.default=u}),98);
__d("dangerouslyOverrideMediaElementEndedProperty",[],(function(t,n,r,o,a,i){function e(e){return e===void 0&&(e={}),e.dangerouslyOverrideMediaElementEndedProperty=!0,e}e.isEnded=function(e){return!!(e&&e.detail&&e.detail.dangerouslyOverrideMediaElementEndedProperty)},i.default=e}),66);
__d("getHTMLMediaElementMutedState",["HTMLMediaElementReadyStates"],(function(t,n,r,o,a,i,l){function e(e){return e.readyState>=r("HTMLMediaElementReadyStates").HAVE_METADATA?e.muted:e.hasAttribute("muted")||e.muted}l.default=e}),98);
__d("getVideoBrowserTabId",["guid"],(function(t,n,r,o,a,i,l){var e=r("guid")().slice(-8);function s(){return e}l.default=s}),98);
__d("HVideoPlayerMixin",["EventListener","UserAgent","VideoPlayerHTML5Experiments","dangerouslyOverrideMediaElementEndedProperty","getHTMLMediaElementMutedState","getVideoBrowserTabId"],(function(t,n,r,o,a,i){var e=-1,l=!!(window.performance&&window.performance.now&&window.performance.timing&&window.performance.timing.navigationStart);function s(e,t){e.time_ms=Date.now();var n=t.timeStamp;if(n&&l){var r=Math.floor(n).toString().length,o=Date.now().toString().length,a=window.performance.now();if(r===o+3)n=Math.floor(n/1e3),e.time_ms=n;else if(r===o)e.time_ms=n;else if(n<=a){var i=window.performance.timing.navigationStart;e.time_ms=i+Math.floor(n)}}return e}var u={initLogger:function(r,o,a,i,l,s,c){var t=this;this._loggedEvents={},this._logFunction=r,u._fixOverwrittenGetVideoCurrentTime=i,u._fireSeekEvents=l,this._useEventTime=o,this._recentPausedTime=null,u._audioOnly=!1,u._enablePlaybackSpeedLogging=c;var d=this.getVideoElement();if(s){var m=d.pause;d.pause=function(){return t._recentPausedTime=d.currentTime,m.apply(d)}}a&&(this._overwriteVideoCurrentTimeProperty(d),u._didOverwriteVideoCurrentTimeProperty||(this.preventSeekLoggingInMixin=!0)),this._lastStartTimePosition=e,u._muted=n("getHTMLMediaElementMutedState")(d),this._pausedPosition=e,u._seeking=!1,this._seekSourceTimePosition=e,this._currentTimeAtSeekStart=e,this._volume=d.volume,u._hasBlockedPausedRepresentationEnded=!1,u._logNextPlayingEvent=!0,this._lastLoggedPlaybackSpeed=null,this._lastPlayedTime=e;var p=!1;if(d.readyState>=d.HAVE_FUTURE_DATA?this._logReadyToPlay():p=!0,!this.skipSubscriptions()){var _=this.getSubscriptions();p&&_.addSubscriptions(n("EventListener").listen(d,"canplay",this._logReadyToPlay.bind(this))),_.addSubscriptions(n("EventListener").listen(d,"ended",this.onEnded.bind(this)),n("EventListener").listen(d,"pause",this.onPause.bind(this)),n("EventListener").listen(d,"playing",this.onPlaying.bind(this)),n("EventListener").listen(d,"seeked",this.onSeeked.bind(this)),n("EventListener").listen(d,"seeking",this.onSeeking.bind(this)),n("EventListener").listen(d,"play",this.onPlay.bind(this)),n("EventListener").listen(d,"loadedmetadata",this.onLoadedMetadata.bind(this)),n("EventListener").listen(d,"timeupdate",this.onTimeUpdate.bind(this)),n("EventListener").listen(d,"volumechange",this.onVolumeChange.bind(this))),u._enablePlaybackSpeedLogging&&_.addSubscriptions(n("EventListener").listen(d,"ratechange",this.onPlaybackRateChange.bind(this)))}},skipSubscriptions:function(){return!1},onCanPlay:function(t){this._logReadyToPlay(t)},onPlay:function(t){u._logNextPlayingEvent=!0,u._ignoreNextPlaying=!1,u._pendingPlayRequest=!0},logHeartbeat:function(){if(n("VideoPlayerHTML5Experiments").heartbeatUpdateWatchTime){this._logEvent("heart_beat",this._getWatchTimeClosingLogData({}));var e=this._getVideoCurrentTime();this._lastStartTimePosition=e,this._lastPlayedTime=e}else this._logEvent("heart_beat")},_getWatchTimeClosingLogData:function(n){return this._lastPlayedTime=this._getVideoCurrentTime(),this._amendEventTime(babelHelpers.extends({video_last_start_time_position:this._lastStartTimePosition===e?this._lastPlayedTime:this._lastStartTimePosition,video_time_position:this._lastPlayedTime},n))},_logOnce:function(t,n){this._loggedEvents[t]||this._logEvent(t,n)},setAudioOnly:function(t){u._audioOnly=t},_logEvent:function(t,r){this._loggedEvents[t]=!0;var e=r||{};if(e.video_id=this.getVideoID(),e.browser_tab_id=n("getVideoBrowserTabId")(),u._audioOnly&&(e.audio_only=!0),e.has_blocked_paused_representation_ended=u._hasBlockedPausedRepresentationEnded,Object.prototype.hasOwnProperty.call(e,"video_time_position")||(e.video_time_position=this._getVideoCurrentTime()),e.time_ms||(e.time_ms=Date.now()),e.time=Math.round(e.time_ms/1e3),this.getAdClientToken){var o=this.getAdClientToken();o&&(e.ad_client_token=o)}if(this.getPlayerFormat&&(e.player_format=this.getPlayerFormat()),this.getPlayerOrigin&&(e.player_origin=this.getPlayerOrigin()),this.getPlayerSuborigin&&(e.player_suborigin=this.getPlayerSuborigin()),u._enablePlaybackSpeedLogging){var a=this.getVideoElement().playbackRate,i=a!==0?a:this._lastLoggedPlaybackSpeed;e.current_playback_speed=i,this._lastLoggedPlaybackSpeed=i}this._logFunction(t,e)},_logReadyToPlay:function(){},__setPendingPlayRequest:function(t){u._pendingPlayRequest=t},onPause:function(r){u._logNextPlayingEvent=!0;var t=this.getVideoElement();if(u._pendingPlayRequest){var o={debug_reason:this.getLastPlayReason()};u._pendingPlayRequest=!1,this._logEvent("cancelled_requested_playing",o);return}var a=!!this._getVideoPlayerShakaConfig(),i=t.ended||a&&n("dangerouslyOverrideMediaElementEndedProperty").isEnded(r)?"finished_playing":"paused",l=this._recentPausedTime==null?this._getVideoCurrentTime():this._recentPausedTime;this._recentPausedTime=null,l&&(this._lastPlayedTime=l);var s=this._lastPlayedTime,c=this._lastStartTimePosition===e?this._lastPlayedTime:this._lastStartTimePosition;n("VideoPlayerHTML5Experiments").preventNegativeTimePositions&&this._lastPlayedTime<0&&(s=0,this._lastStartTimePosition<0&&(c=0));var d=r.lastPauseReason;if(i==="finished_playing")s=Math.max(s,t.duration);else{if(this.preventPauseLoggingInMixin===!0)return;this.preventPauseLoggingInMixin===!1&&(d=d||"unloaded")}this._logEvent(i,this._amendEventTime({video_last_start_time_position:c,video_time_position:s,debug_reason:d},r)),this._lastStartTimePosition=e},onEnded:function(){u._logNextPlayingEvent=!0,this._lastStartTimePosition!==e&&n("UserAgent").isBrowser("IE")&&this.onPause({})},onBlockedPausedRepresentationEnded:function(){u._hasBlockedPausedRepresentationEnded=!0},logRepresentationEnded:function(t){if(t){var e={representation_id:t.representationID,next_representation_id:t.nextRepresentationID,stream_switch_reason:t.streamSwitchReason};if(n("VideoPlayerHTML5Experiments").newStateChangeCalculation&&(e=this._getWatchTimeClosingLogData(e)),this._logEvent("representation_ended",e),n("VideoPlayerHTML5Experiments").newStateChangeCalculation){var r=this._getVideoCurrentTime();this._lastStartTimePosition=r,this._lastPlayedTime=r}}},addWatchTimeData:function(n){return this._lastStartTimePosition!=e&&this._lastPlayedTime!=e&&(n.video_last_start_time_position=this._lastStartTimePosition,n.video_time_position=this._lastPlayedTime,this._lastStartTimePosition=e),n},getLastPlayReason:function(){return null},getVideoPlayReason:function(){return null},onPlaying:function(t){if(u._logNextPlayingEvent){if(n("VideoPlayerHTML5Experiments").superficialUnpauseEventsFix&&(u._logNextPlayingEvent=!1),u._ignoreNextPlaying){u._ignoreNextPlaying=!1;return}var e=this.getLastPlayReason();u._pendingPlayRequest=!1;var r=this._loggedEvents.started_playing?"unpaused":"started_playing",o=this._amendEventTime({debug_reason:e,video_play_reason:this.getVideoPlayReason()},t),a=this._getVideoCurrentTime();if(n("VideoPlayerHTML5Experiments").useCurrentTimeAdjustment){var i=this.getVideoElement().currentTime,l=i-a;o.time_ms-=Math.round(l*1e3)}this._logEvent(r,o),this._lastStartTimePosition=a,this._lastPlayedTime=a,this._currentTimeAtLoadedMetadataCache=null}},allowNextSeekInMixin:function(){u._allowNextSeek=!0},onSeeked:function(n){u._seeking=!1;var t=this._seekSourceTimePosition;this._seekSourceTimePosition=e;var r=this._currentTimeAtSeekStart;if(this._currentTimeAtSeekStart=e,this.preventSeekLoggingInMixin&&!u._allowNextSeek){u._pendingPlayRequest||(u._ignoreNextPlaying=!0);return}u._allowNextSeek=!1,u._ignoreNextPlaying=!1;var o={video_seek_source_time_position:t,video_last_start_time_position:t};this._fixOvewrittenGetVideoCurrentTime&&(o.video_seek_source_time_position=r),this.preventSeekLoggingInMixin&&(this._lastStartTimePosition!==e?o.video_last_start_time_position=this._lastStartTimePosition:o.video_last_start_time_position=t);var a="scrubbed";u._fireSeekEvents&&(a="seeked",o={seek_from_video_time_position:r}),this._logEvent(a,this._amendEventTime(o,n));var i=this.getVideoElement();i.paused?this._lastStartTimePosition=e:this._lastStartTimePosition=this._getVideoCurrentTime()},onSeeking:function(n){this._currentTimeAtLoadedMetadataCache=null,u._seeking||(this._seekSourceTimePosition=this._getVideoCurrentTime(),u._seeking=!0),!u._fixOverwrittenGetVideoCurrentTime&&(this._currentTimeAtSeekStart=e)},onTimeUpdate:function(t){this._currentTimeAtLoadedMetadataCache=null;var e=this.getVideoElement();e.paused||(this._lastPlayedTime=this._getVideoCurrentTime())},onPlaybackRateChange:function(t){var e=this.getVideoElement(),n=e.playbackRate;this._lastLoggedPlaybackSpeed!=null&&n!==0&&n!==this._lastLoggedPlaybackSpeed&&this._logEvent("playback_speed_changed",this._amendEventTime({},t))},onVolumeChange:function(t){var e=this.getVideoElement(),r={},o=null;if(n("VideoPlayerHTML5Experiments").useFixedVolumeLogging){var a=e.muted,i=u._muted,l=e.volume,s=this._volume;r.current_volume=Math.round(l*100),this._volume=l,u._muted=a;var c=a||l==0,d=i||s==0;if(d&&c)return;if(d!=c)c?o="muted":o="unmuted";else{if(s==l)return;l<s?o="volume_decrease":o="volume_increase"}}else e.muted!==u._muted&&e.volume===this._volume&&e.volume>0?o=e.muted?"muted":"unmuted":(o=e.volume>this._volume?"volume_increase":"volume_decrease",r.current_volume=Math.round(e.volume*100)),u._muted=e.muted,this._volume=e.volume;this._logEvent(o,this._amendEventTime(r,t))},_amendEventTime:function(t,r){var e=this._useEventTime;return n("VideoPlayerHTML5Experiments").fixEventTimeLogging&&(e=e&&r),e?s(t,r):(t.time_ms=Date.now(),t)},_getVideoCurrentTime:function(){var t;return u._fixOverwrittenGetVideoCurrentTime?t=this.getVideoElement().currentTime:t=this._currentTimeAtSeekStart===e?this.getVideoElement().currentTime:this._currentTimeAtSeekStart,t=t.toFixed(2),n("VideoPlayerHTML5Experiments").useCurrentTimeAdjustment&&this._currentTimeAtLoadedMetadataCache!=null&&(t=this._currentTimeAtLoadedMetadataCache.toFixed(2)),n("VideoPlayerHTML5Experiments").fixCurrentTimeType?+t:t},_getVideoPlayerShakaConfig:function(){return this.getVideoPlayerShakaConfig&&typeof this.getVideoPlayerShakaConfig=="function"?this.getVideoPlayerShakaConfig():null},onLoadedMetadata:function(t){this._currentTimeAtLoadedMetadataCache=this.getVideoElement().currentTime},_overwriteVideoCurrentTimeProperty:function(n){var t=this;u._didOverwriteVideoCurrentTimeProperty=!1;try{var r=Object.getOwnPropertyDescriptor&&Object.getOwnPropertyDescriptor(HTMLMediaElement.prototype,"currentTime");if(!r||typeof r.get!="function"||typeof r.set!="function")return;Object.defineProperty&&Object.defineProperty(n,"currentTime",{get:function(){return r.get.call(this)},set:function(a){t._currentTimeAtSeekStart===e&&(t._currentTimeAtSeekStart=r.get.call(n)),r.set.call(n,a)},configurable:!0,enumerable:!0}),u._didOverwriteVideoCurrentTimeProperty=!0}catch(e){}}};a.exports=u}),null);
__d("ImageWwwCssDependency",[],(function(t,n,r,o,a,i){"use strict";var e=null;i.default=e}),66);
__d("LiveTraceWwwVideoPlayerFalcoEvent",["FalcoLoggerInternal","getFalcoLogPolicy_DO_NOT_USE"],(function(t,n,r,o,a,i,l){"use strict";var e=r("getFalcoLogPolicy_DO_NOT_USE")("1743810"),s=o("FalcoLoggerInternal").create("live_trace_www_video_player",e),u=s;l.default=u}),98);
__d("LiveVideoCopyrightActionSubscription_facebookRelayOperation",[],(function(t,n,r,o,a,i){a.exports="9269552419821189"}),null);
__d("LiveVideoCopyrightActionSubscription.graphql",["LiveVideoCopyrightActionSubscription_facebookRelayOperation"],(function(t,n,r,o,a,i){"use strict";var e=(function(){var e=[{defaultValue:null,kind:"LocalArgument",name:"input"}],t=[{alias:null,args:[{kind:"Variable",name:"data",variableName:"input"}],concreteType:"LiveVideoCopyrightActionSubscribeResponsePayload",kind:"LinkedField",name:"live_video_copyright_action_subscribe",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"action",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"timestamp",storageKey:null}],storageKey:null}];return{fragment:{argumentDefinitions:e,kind:"Fragment",metadata:null,name:"LiveVideoCopyrightActionSubscription",selections:t,type:"Subscription",abstractKey:null},kind:"Request",operation:{argumentDefinitions:e,kind:"Operation",name:"LiveVideoCopyrightActionSubscription",selections:t},params:{id:n("LiveVideoCopyrightActionSubscription_facebookRelayOperation"),metadata:{subscriptionName:"live_video_copyright_action_subscribe"},name:"LiveVideoCopyrightActionSubscription",operationKind:"subscription",text:null}}})();a.exports=e}),null);
__d("LiveVideoCopyrightActionSubscription",["BaseGraphQLSubscription","LiveVideoCopyrightActionSubscription.graphql"],(function(t,n,r,o,a,i,l){var e,s=(function(t){function r(){return t.apply(this,arguments)||this}babelHelpers.inheritsLoose(r,t);var o=r.prototype;return o.getTopic=function(t){return"gqls/"+this.getSubscriptionName()+"/video_id_"+t},o.getQuery=function(){return e!==void 0?e:e=n("LiveVideoCopyrightActionSubscription.graphql")},o.getQueryParameters=function(t){return{input:{video_id:t}}},r})(r("BaseGraphQLSubscription"));l.default=s}),98);
__d("MediaBufferingDetector",["Event","EventEmitter","SubscriptionsHandler","VideoPlayerExperiments","VideoPlayerHTML5Experiments","VideoPlayerShakaGlobalConfig","clearInterval","performanceNow","setInterval"],(function(t,n,r,o,a,i,l){var e,s=(function(t){function n(e,n){var o;return o=t.call(this)||this,o.$MediaBufferingDetector$p_1=e,o.$MediaBufferingDetector$p_2=new(r("SubscriptionsHandler")),o.$MediaBufferingDetector$p_1.paused||o.$MediaBufferingDetector$p_8(),o.$MediaBufferingDetector$p_2.addSubscriptions(r("Event").listen(o.$MediaBufferingDetector$p_1,"playing",function(){return o.$MediaBufferingDetector$p_9()}),r("Event").listen(o.$MediaBufferingDetector$p_1,"pause",function(){return o.$MediaBufferingDetector$p_10()}),r("Event").listen(o.$MediaBufferingDetector$p_1,"ended",function(){return o.$MediaBufferingDetector$p_11()}),r("Event").listen(o.$MediaBufferingDetector$p_1,"timeupdate",function(){return o.$MediaBufferingDetector$p_12()})),o.$MediaBufferingDetector$p_13("drop_buffering_detection_from_html5_api",!1)&&o.$MediaBufferingDetector$p_2.addSubscriptions(r("Event").listen(o.$MediaBufferingDetector$p_1,"waiting",function(){return o.$MediaBufferingDetector$p_14()})),o}babelHelpers.inheritsLoose(n,t);var a=n.prototype;return a.$MediaBufferingDetector$p_15=function(){var t=(e||(e=r("performanceNow")))(),n=this.$MediaBufferingDetector$p_1.currentTime,o=t-this.$MediaBufferingDetector$p_5,a=n-this.$MediaBufferingDetector$p_6,i=a*1e3,l=o-i,s=r("VideoPlayerHTML5Experiments").disableBufferAtEndOfPlayback&&this.$MediaBufferingDetector$p_1.currentTime===this.$MediaBufferingDetector$p_1.duration;o*.2<Math.abs(l)&&!s?this.$MediaBufferingDetector$p_16():this.$MediaBufferingDetector$p_17(),this.$MediaBufferingDetector$p_18()},a.$MediaBufferingDetector$p_18=function(){this.$MediaBufferingDetector$p_5=(e||(e=r("performanceNow")))(),this.$MediaBufferingDetector$p_6=this.$MediaBufferingDetector$p_1.currentTime},a.$MediaBufferingDetector$p_8=function(){var e=this;this.$MediaBufferingDetector$p_4||(this.$MediaBufferingDetector$p_18(),this.$MediaBufferingDetector$p_4=r("setInterval")(function(){return e.$MediaBufferingDetector$p_15()},500))},a.$MediaBufferingDetector$p_19=function(){r("clearInterval")(this.$MediaBufferingDetector$p_4),this.$MediaBufferingDetector$p_4=null},a.$MediaBufferingDetector$p_16=function(){this.$MediaBufferingDetector$p_3||(this.$MediaBufferingDetector$p_3=!0,this.emit("bufferingStart"))},a.$MediaBufferingDetector$p_17=function(){this.$MediaBufferingDetector$p_3&&(this.$MediaBufferingDetector$p_3=!1,this.emit("bufferingEnd"))},a.$MediaBufferingDetector$p_9=function(){this.$MediaBufferingDetector$p_17(),this.$MediaBufferingDetector$p_8()},a.$MediaBufferingDetector$p_10=function(){this.$MediaBufferingDetector$p_17(),this.$MediaBufferingDetector$p_19()},a.$MediaBufferingDetector$p_11=function(){this.$MediaBufferingDetector$p_17(),this.$MediaBufferingDetector$p_19()},a.$MediaBufferingDetector$p_12=function(){this.$MediaBufferingDetector$p_1.paused||(this.$MediaBufferingDetector$p_17(),this.$MediaBufferingDetector$p_19(),this.$MediaBufferingDetector$p_8())},a.$MediaBufferingDetector$p_14=function(){this.$MediaBufferingDetector$p_19(),this.$MediaBufferingDetector$p_16()},a.$MediaBufferingDetector$p_13=function(t,n){return this.$MediaBufferingDetector$p_7?this.$MediaBufferingDetector$p_7.getBool(t,n):o("VideoPlayerShakaGlobalConfig").getBool(t,n)},a.destroy=function(){r("VideoPlayerExperiments").fireBufferingEndEventOnDestroy&&this.$MediaBufferingDetector$p_17(),this.$MediaBufferingDetector$p_19(),this.$MediaBufferingDetector$p_2.release()},n})(r("EventEmitter"));l.default=s}),98);
__d("MediaController",["EventEmitter","Style"],(function(t,n,r,o,a,i,l){var e=(function(e){function t(){return e.apply(this,arguments)||this}babelHelpers.inheritsLoose(t,e);var n=t.prototype;return n.getRootNode=function(){return this.$MediaController$p_1},n.setDimensions=function(t,n){var e=this.getRootNode();r("Style").apply(e,{width:t+"px",height:n+"px"})},n.getMediaID=function(){return this.$MediaController$p_2},n.isLiveVideo=function(){return!1},n.isVideo=function(){return!1},t})(r("EventEmitter"));l.default=e}),98);
__d("Mp4Box",[],(function(t,n,r,o,a,i){"use strict";var e=(function(){function e(e){this.$4=e.getCursor(),this.$1=e.readUint32(),this.$2=e.readChars(4),this.$1===1?this.$1=e.readUint64():this.$1===0&&(this.$1=e.getDataView().byteLength-this.$4),this.$2==="uuid"&&(this.$3=e.readChars(16)),this.$5=e.getCursor()}var t=e.prototype;return t.getBodyStart=function(){return this.$5},t.getBodySize=function(){var e=this.$5-this.$4;return this.getSize()-e},t.getSize=function(){return this.$1},t.getType=function(){return this.$2},t.getUuid=function(){return this.$3},t.getStart=function(){return this.$4},t.inspect=function(){return"{ size: "+this.$1+", type: "+this.$2+" }"},e})();i.default=e}),66);
__d("Mp4DASHEventMessageBox",[],(function(t,n,r,o,a,i){var e=(function(){function e(e,t){this.$1=t,this.$2=null,t.getVersion()==0?this.$2={version:0,schemeIdUri:e.readZeroTerminatedString(this.$4(e,t)),value:e.readZeroTerminatedString(this.$4(e,t)),timescale:e.readUint32(),presentationTimeDelta:e.readUint32(),eventDuration:e.readUint32(),id:e.readUint32()}:t.getVersion()==1&&(this.$2={version:1,timescale:e.readUint32(),presentationTime:e.readUint64(),eventDuration:e.readUint32(),id:e.readUint32(),schemeIdUri:e.readZeroTerminatedString(this.$4(e,t)),value:e.readZeroTerminatedString(this.$4(e,t))}),this.$3=new DataView(e.getDataView().buffer,e.getCursor())}var t=e.prototype;return t.getFullBox=function(){return this.$1},t.getEmsgFields=function(){return this.$2},t.getMessageData=function(){return this.$3},t.getStartTime=function(){var e=this.$2;if(e==null)return null;switch(e.version){case 0:return null;case 1:return this.$5(e)}},t.getDuration=function(){var e=this.$2;if(e==null)return null;var t=e.eventDuration,n=e.timescale;return n!==0?t/n:t},t.$5=function(t){var e=t.presentationTime,n=t.timescale;return n!==0?e/n:e},t.$4=function(t,n){return n.getBox().getSize()-(t.getCursor()-n.getBox().getStart())},e})();e.canonicalType="emsg",i.default=e}),66);
__d("Mp4FullBox",[],(function(t,n,r,o,a,i){"use strict";var e=(function(){function e(e,t){this.$2=e.readUint8(),this.$1=e.readUint8(),this.$1=e.readUint8()+(this.$1<<8),this.$1=e.readUint8()+(this.$1<<8),this.$3=t}var t=e.prototype;return t.getVersion=function(){return this.$2},t.getFlags=function(){return this.$1},t.getBox=function(){return this.$3},e})();i.default=e}),66);
__d("Mp4Demuxer",["DataViewReader","Mp4Box","Mp4FullBox"],(function(t,n,r,o,a,i,l){"use strict";var e=(function(){function e(e){this.$1=new(r("DataViewReader"))(e)}var t=e.prototype;return t.parseBox=function(){return new(r("Mp4Box"))(this.$1)},t.parseFullBox=function(t){return new(r("Mp4FullBox"))(this.$1,t)},t.parseCanonicalBox=function(t,n){return new t(this.$1,n)},t.skipBox=function(t){this.$1.seek(t.getStart()+t.getSize())},t.withinBox=function(t){var e=this.$1.getCursor();return e>=t.getStart()&&e<t.getStart()+t.getSize()},t.atEnd=function(){return this.$1.getCursor()>=this.$1.getDataView().byteLength},t.reset=function(){this.$1.seek(0)},t.readBoxBodyText=function(t){this.$1.seek(t.getBodyStart());var e=new TextDecoder,n=new Uint8Array(this.$1.readBytes(t.getBodySize()));return e.decode(n)},e})();l.default=e}),98);
__d("RelayFBEnvironmentFactory",["RelayFBEnvironmentDefinitions"],(function(t,n,r,o,a,i){"use strict";var e=n("RelayFBEnvironmentDefinitions").createEnvironmentFactory;a.exports=e(function(e){return{configName:"RelayFBEnvironment",actorID:e}})}),null);
__d("RelayFBDefaultEnvironment",["RelayFBEnvironmentFactory"],(function(t,n,r,o,a,i,l){"use strict";var e=r("RelayFBEnvironmentFactory").getForActorID(null);l.default=e}),98);
__d("SRTVideoData",[],(function(t,n,r,o,a,i){"use strict";var e=null,l=(function(){function t(){this.$1=null,this.$2=null}t.getInstance=function(){return e||(e=new t),e};var n=t.prototype;return n.setJobID=function(t){this.$1=t},n.setJobTrackingID=function(t){this.$2=t},n.unsetJobID=function(){this.$1=null},n.getJobID=function(){return this.$1},n.getJobTrackingID=function(){return this.$2},t})();i.default=l}),66);
__d("SphericalVideoPlayerEvents",[],(function(t,n,r,o,a,i){var e="setRelativeSphericalOrientation",l="setAbsoluteSphericalOrientation",s="setFieldOfView",u="setVideoProjection",c="setStereoMode",d="setPartialLimits",m="setViewportControlConfig";i.SET_RELATIVE_SPHERICAL_ORIENTATION=e,i.SET_ABSOLUTE_SPHERICAL_ORIENTATION=l,i.SET_FIELD_OF_VIEW=s,i.SET_VIDEO_PROJECTION=u,i.SET_STEREO_MODE=c,i.SET_PARTIAL_LIMITS=d,i.SET_VIEWPORT_CONTROL_CONFIG=m}),66);
__d("StaleVideoMonitor",["EventEmitter","EventListener","SubscriptionsHandler","clearTimeout","performanceNow","setTimeoutAcrossTransitions"],(function(t,n,r,o,a,i,l){var e,s=1500,u=(function(t){function n(n){var o;return o=t.call(this)||this,o.$StaleVideoMonitor$p_4=null,o.$StaleVideoMonitor$p_1=new(r("SubscriptionsHandler")),o.$StaleVideoMonitor$p_2=n.currentTime,o.$StaleVideoMonitor$p_3=(e||(e=r("performanceNow")))(),o.$StaleVideoMonitor$p_5=n,o.$StaleVideoMonitor$p_1.addSubscriptions(r("EventListener").listen(n,"playing",function(){return o.$StaleVideoMonitor$p_6()}),r("EventListener").listen(n,"play",function(){return o.$StaleVideoMonitor$p_6()}),r("EventListener").listen(n,"timeupdate",function(){return o.$StaleVideoMonitor$p_6()})),o}babelHelpers.inheritsLoose(n,t);var o=n.prototype;return o.$StaleVideoMonitor$p_7=function(){if(this.$StaleVideoMonitor$p_5){if(this.$StaleVideoMonitor$p_5.paused||this.$StaleVideoMonitor$p_5.playbackRate<=0)return;var t=this.$StaleVideoMonitor$p_5.currentTime,n=this.$StaleVideoMonitor$p_5.buffered,o=!1,a;for(a=0;a<n.length;++a){var i=n.start(a),l=n.end(a);if(i>t)break;if(i<=t&&l>=t+1){o=!0;break}}o&&(t===this.$StaleVideoMonitor$p_2?this.emit("stale",(e||(e=r("performanceNow")))()-this.$StaleVideoMonitor$p_3,(t-this.$StaleVideoMonitor$p_2)*1e3):this.$StaleVideoMonitor$p_8())}},o.$StaleVideoMonitor$p_9=function(t){var e=this;this.$StaleVideoMonitor$p_10(),this.$StaleVideoMonitor$p_4=r("setTimeoutAcrossTransitions")(function(){return e.$StaleVideoMonitor$p_7()},t)},o.$StaleVideoMonitor$p_10=function(){this.$StaleVideoMonitor$p_4!==null&&(r("clearTimeout")(this.$StaleVideoMonitor$p_4),this.$StaleVideoMonitor$p_4=null)},o.$StaleVideoMonitor$p_8=function(){this.$StaleVideoMonitor$p_6()},o.$StaleVideoMonitor$p_6=function(){this.$StaleVideoMonitor$p_5&&(this.$StaleVideoMonitor$p_2=this.$StaleVideoMonitor$p_5.currentTime,this.$StaleVideoMonitor$p_3=(e||(e=r("performanceNow")))(),this.$StaleVideoMonitor$p_9(s))},o.$StaleVideoMonitor$p_11=function(){this.$StaleVideoMonitor$p_1&&this.$StaleVideoMonitor$p_1.release()},o.notifyBuffering=function(){this.$StaleVideoMonitor$p_10()},o.notifyBuffered=function(){this.$StaleVideoMonitor$p_9(s)},o.destroy=function(){this.$StaleVideoMonitor$p_11(),this.$StaleVideoMonitor$p_10(),this.$StaleVideoMonitor$p_5=null},n})(r("EventEmitter"));l.default=u}),98);
__d("TahoeVariables.experimental",["cr:27645"],(function(t,n,r,o,a,i,l){"use strict";l.default=n("cr:27645")}),98);
__d("TahoeVariablesJSModuleWrapper",["TahoeVariables"],(function(t,n,r,o,a,i,l){"use strict";l.default=r("TahoeVariables")}),98);
__d("TimeRanges",["invariant"],(function(t,n,r,o,a,i,l,s){var e=(function(){function e(e){this.$1=[],this.$1=e}var t=e.prototype;return t.start=function(t){return this.$1[t]||s(0,2205),this.$1[t].startTime},t.end=function(t){return this.$1[t]||s(0,2205),this.$1[t].endTime},t.length=function(){return this.$1.length},e})();l.default=e}),98);
__d("VideoAsyncLoggerHelper",["SubscriptionsHandler"],(function(t,n,r,o,a,i,l){"use strict";function e(e,t,n){var o,a=new(r("SubscriptionsHandler")),i=!1,l=function(){i||(e(),i=!0),o&&(clearTimeout(o),o=null),a.release()};o=setTimeout(l,0),t.forEach(function(e){a.addSubscriptions(n.addListener(e,l))})}l.operateAsync=e}),98);
__d("VideoChannelViewChainLengthManager",["guid"],(function(t,n,r,o,a,i,l){var e=(function(){function e(e){this.$2=0,this.$5={},this.$1=r("guid")(),this.$3=e,this.$5[e]=0,this.$4=e}var t=e.prototype;return t.registerVideoID=function(t){this.$5[t]===void 0&&(this.$2++,this.$5[t]=this.$2),this.$4=t},t.getSessionID=function(){return this.$1},t.getCurrentChainLength=function(){return this.$5[this.$4]!==void 0?this.$5[this.$4]:null},e})(),s={};function u(t){var n=t.toString();s[n]||(s[n]=new e(n))}function c(e){var t=e!=null?e.toString():null,n=s[t];return n?{video_chaining_depth_level:n.getCurrentChainLength(),video_chaining_session_id:n.getSessionID()}:{video_chaining_depth_level:null,video_chaining_session_id:null}}function d(e,t){var n=e.toString();u(n),s[n].registerVideoID(t)}function m(e,t){var n=e;if(t){var r=t.decode();r.root_id&&(n=r.root_id)}n&&(n=n.toString()),d(n,e)}l.getLoggingData=c,l.registerChainingInfos=m}),98);
__d("VideoConfig",[],(function(t,n,r,o,a,i){function e(e){Object.assign(this,e)}a.exports=e}),null);
__d("VideoControllerPlayingStateEmitter",["EventEmitter","SubscriptionsHandler"],(function(t,n,r,o,a,i,l){"use strict";var e=(function(e){function t(t){var n;return n=e.call(this)||this,n.$VideoControllerPlayingStateEmitter$p_2=null,n.$VideoControllerPlayingStateEmitter$p_3=t,n}babelHelpers.inheritsLoose(t,e);var n=t.prototype;return n.enable=function(){var e=this;this.$VideoControllerPlayingStateEmitter$p_4().addSubscriptions(this.$VideoControllerPlayingStateEmitter$p_3.addListener("stateChange",function(){var t=e.$VideoControllerPlayingStateEmitter$p_2;e.$VideoControllerPlayingStateEmitter$p_2=e.$VideoControllerPlayingStateEmitter$p_3.getState(),e.$VideoControllerPlayingStateEmitter$p_2!==t&&e.$VideoControllerPlayingStateEmitter$p_5(e.$VideoControllerPlayingStateEmitter$p_2)})),this.$VideoControllerPlayingStateEmitter$p_2=this.$VideoControllerPlayingStateEmitter$p_3.getState(),this.$VideoControllerPlayingStateEmitter$p_5(this.$VideoControllerPlayingStateEmitter$p_2)},n.setOnPlaying=function(t){this.$VideoControllerPlayingStateEmitter$p_4().addSubscriptions(this.addListener("play",t))},n.setOnPaused=function(t){this.$VideoControllerPlayingStateEmitter$p_4().addSubscriptions(this.addListener("pause",t))},n.disable=function(){this.$VideoControllerPlayingStateEmitter$p_2=null,this.$VideoControllerPlayingStateEmitter$p_1&&(this.$VideoControllerPlayingStateEmitter$p_1.release(),this.$VideoControllerPlayingStateEmitter$p_1=null)},n.$VideoControllerPlayingStateEmitter$p_4=function(){return this.$VideoControllerPlayingStateEmitter$p_1||(this.$VideoControllerPlayingStateEmitter$p_1=new(r("SubscriptionsHandler"))),this.$VideoControllerPlayingStateEmitter$p_1},n.$VideoControllerPlayingStateEmitter$p_5=function(t){t==="playing"?this.emit("play"):t==="paused"&&this.emit("pause")},t})(r("EventEmitter"));l.default=e}),98);
__d("VideoCover",["invariant","Animation","Bootloader","CSS","EventListener","Promise","SubscriptionsHandler","promiseDone","setTimeout"],(function(t,n,r,o,a,i,l,s){var e,u=(function(){function t(t,a,i,l,u,c){var d=this;l===void 0&&(l=null),u===void 0&&(u=!1),c===void 0&&(c=0),this.$7=new(r("SubscriptionsHandler")),this.$15=function(){d.$5&&o("CSS").show(d.$1)},this.$16=function(){d.$5&&o("CSS").hide(d.$1)},this.$11=function(){d.$3!=null&&d.$3.length>0?r("Bootloader").loadModules(["PhotoSnowlift"],function(e){return e.bootstrap(d.$3)},"VideoCover"):d.$8&&d.$8.clickVideo()},this.$12=function(){d.$9&&d.$8&&!d.$8.hasSeenClick()?r("promiseDone")(new(e||(e=n("Promise")))(function(e){return r("setTimeout")(e,d.$10)}),function(e){return d.$17()},function(e){return d.$17()}):o("CSS").hide(d.$1)},this.$14=function(){if(d.$8){var e=d.$8.getOption("Looping","isLooping");if(d.$4||e)return;o("CSS").show(d.$1)}},this.$13=function(){d.$8&&d.$8.isState("fallback")&&d.$6&&o("CSS").show(d.$1)},t instanceof Element||s(0,4829),this.$1=t,a[0]instanceof Element||s(0,4830),this.$2=a[0],this.$3=i,this.$9=u,this.$10=c,l&&(this.$4=l.hiddenAfterFinish,this.$5=l.showWhileBuffering,this.$6=l.showAfterFallback),r("EventListener").listen(this.$1,"click",this.$11)}var a=t.prototype;return a.disable=function(){this.$7.release(),this.$8&&this.$8.unregisterOption("VideoCover","coverElement"),this.$8=null},a.enable=function(t){var e=this;this.$8=t,t.getState()==="playing"&&this.$12(),this.$7.addSubscriptions(t.addListener("stateChange",this.$13),t.addListener("beginPlayback",this.$12),t.addListener("finishPlayback",this.$14),t.addListener("buffering",this.$15),t.addListener("buffered",this.$16)),t.registerOption("VideoCover","coverElement",function(){return e.$1})},a.getCurrentCover=function(){return this.$2},a.setSnowLiftURI=function(t){this.$3=t},a.$17=function(){new(r("Animation"))(this.$1).from("opacity",1).to("opacity",0).duration(1e3).hide().go()},t})();l.default=u}),98);
__d("VideoData",["invariant"],(function(t,n,r,o,a,i,l,s){var e=(function(){function e(e){this.$1=e||{aspect_ratio:0,original_height:0,original_width:0,video_id:""}}var t=e.prototype;return t.hasHD=function(){return!!this.$1.hd_src},t.getP2PSettings=function(){return this.$1.p2p_settings},t.getEncodingTag=function(){return this.$1.encoding_tag},t.getContentCategory=function(){return this.$1.content_category},t.getVideoID=function(){return this.$1.video_id},t.getVideoURL=function(){return this.$1.video_url},t.getAspectRatio=function(){return this.$1.aspect_ratio},t.getRotation=function(){return this.$1.rotation||0},t.getCaptionsAutogeneratedIndicatorConfig=function(){return this.$1.captions_autogenerated_indicator_config},t.hasSubtitles=function(){return!!this.$1.subtitles_src},t.hasDashManifest=function(){return!!this.$1.dash_manifest},t.getDashManifest=function(){return this.$1.dash_manifest},t.getDashPrefetchedRepresentationIDs=function(){return this.$1.dash_prefetched_representation_ids},t.getSubtitlesSrc=function(){return this.$1.subtitles_src||s(0,1109),this.$1.subtitles_src},t.getPlayableSrcSD=function(){return this.$1.sd_src_no_ratelimit?this.$1.sd_src_no_ratelimit:this.getPlayableSrcRateLimitedSD()},t.getPlayableSrcHD=function(){return this.$1.hd_src_no_ratelimit?this.$1.hd_src_no_ratelimit:this.getPlayableSrcRateLimitedHD()},t.getPlayableSrcRateLimitedSD=function(){return this.$1.sd_src},t.getPlayableSrcRateLimitedHD=function(){return this.$1.hd_src},t.getLiveManifestUrl=function(){return this.isLiveStream()||s(0,1110),this.getPlayableSrcRateLimitedSD()},t.hasRateLimit=function(){return!!this.$1.sd_src_no_ratelimit},t.getStreamType=function(){return this.$1.stream_type||s(0,1111),this.$1.stream_type},t.isBroadcast=function(){return!!this.$1.is_broadcast},t.isServableViaFbms=function(){return!!this.$1.is_servable_via_fbms},t.isLiveStream=function(){return!!this.$1.is_live_stream},t.isHls=function(){return!!this.$1.is_hls},t.isGaming=function(){return this.$1.content_category==="gaming"},t.isLowLatency=function(){return!!this.$1.is_low_latency},t.getDesiredLatencyMs=function(){return this.$1.desired_latency_ms},t.getLatencyToleranceMs=function(){return this.$1.latency_tolerance_ms},t.isFacecastAudio=function(){return!!this.$1.is_facecast_audio},t.liveRoutingToken=function(){return this.$1.live_routing_token},t.getHDTag=function(){return this.$1.hd_tag},t.getSDTag=function(){return this.$1.sd_tag},t.getProjection=function(){return this.$1.projection},t.getPlayerVersionOverwrite=function(){return this.$1.player_version_overwrite},t.getFalloverData=function(){var t=this.$1.fallover_data;return t?t.map(function(t){return new e(t)}):[]},t.getSphericalConfig=function(){return this.$1.spherical_config},t.isSpherical=function(){return!!this.$1.is_spherical},t.getOriginalHeight=function(){return this.$1.original_height},t.getOriginalWidth=function(){return this.$1.original_width},t.getOverrideConfig=function(){return this.$1.override_config},t.getRawData=function(){return this.$1},t.getPrefetchCache=function(){return this.$1.prefetch_cache},t.getWidevineCert=function(){return this.$1.widevine_cert},t.getFairplayCert=function(){return this.$1.fairplay_cert},t.getDRMHelper=function(){var e;return(e=this.$1)==null||(e=e.extra_drm_info)==null?void 0:e.drm_helper},t.getGraphApiVideoLicenseUri=function(){var e;return(e=this.$1)==null||(e=e.extra_drm_info)==null?void 0:e.graph_api_video_license_uri},t.getVideoLicenseUriMap=function(){var e;return(e=this.$1)==null||(e=e.extra_drm_info)==null?void 0:e.video_license_uri_map},t.isLiveTraceEnabledOnPlayer=function(){return!!this.$1.is_live_trace_enabled_on_player},t.getManifestServiceParam=function(){var e;return(e=this.$1)==null?void 0:e.ms_param},e})();l.default=e}),98);
__d("VideoLiveTrace",["DataViewReader","LiveTraceWwwVideoPlayerFalcoEvent","Mp4DASHEventMessageBox","Mp4Demuxer","throttle"],(function(t,n,r,o,a,i,l){var e="x-fb-video-livetrace-ids",s="x-fb-video-livetrace-parentsource",u="x-fb-video-livetrace-streamtype",c="x-fb-origin-hit",d="x-fb-edge-hit",m="PLY:WWW:",p=m+"DL:",_=m+"DIS:",f=1e3,g=/[\r\n]+/,h=(function(){function t(e,t,n){var o=this;this.$6=[],this.$1=e,this.$2=null;var a=n+":"+t.substring(0,5);this.$3=m+a,this.$4=p+a,this.$5=_+a,this.$7=r("throttle")(function(e){return o.$8(e)},f)}var n=t.prototype;return n.setStreamType=function(t){this.$2=t},n.$9=function(t,n,o,a,i,l){var e,s=this,u=Date.now(),c=(e=this.$2)!=null?e:0;r("LiveTraceWwwVideoPlayerFalcoEvent").log(function(){return{stream_id:s.$1,stream_type:c,event_name:n,event_severity:i,event_creation_time:u,source:t,trace_id:o,parent_source:a,metadata:l}})},n.onUpdateStatus=function(t){this.$7(t)},n.$8=function(t){for(var e=t.position*1e3,n=this.$6.length-1;n>=0;n--){var r=this.$6[n];if(!(r.presentationTimestamp>e)){if(r.displayTimestamp==null)r.displayTimestamp=Date.now();else continue;this.$9(this.$5,"FRAME",r.traceId,this.$4,"SUCCESS",null)}}},n.getAndFlushTracedFrames=function(){var e,t={currentTimeMs:Date.now(),streamId:this.$1},n={dl:[],dis:[]},r=[];return this.$6.forEach(function(e){e.hasBeenFlushedAsDownloaded||(n.dl.push({id:e.traceId,timeMs:e.downloadTimestamp}),e.hasBeenFlushedAsDownloaded=!0),e.displayTimestamp!=null?n.dis.push({id:e.traceId,timeMs:e.displayTimestamp}):r.push(e)}),this.$6=r,t[(e=this.$2)!=null?e:0]=n,n.dl.length>0||n.dis.length>0?t:null},n.handleHeadersString=function(t,n){var e=t.trim().split(g);this.$10(e.map(function(e){var t=e.split(": ");return[t.shift().toLowerCase(),t.shift()]}),n)},n.handleHeaders=function(t,n){this.$10(this.$11(t),n)},n.handleHeadersAndBody=function(t,n,r){this.$12(this.$11(t),n,r)},n.$11=function(t){var e=[];for(var n of t.entries())e.push(n);return e},n.$13=function(t){var e=Date.now(),n=new Map,o=t.reduce(function(e,t){return e+t.byteLength},0),a=new Uint8Array(o),i=0;t.forEach(function(e){a.set(e,i),i+=e.byteLength});for(var l=new(r("Mp4Demuxer"))(new DataView(a.buffer,a.byteOffset,a.byteLength));!l.atEnd();){var s=l.parseBox();if(s.getType()===r("Mp4DASHEventMessageBox").canonicalType){var u=l.parseCanonicalBox(r("Mp4DASHEventMessageBox"),l.parseFullBox(s));if(u instanceof r("Mp4DASHEventMessageBox")){var c,d=(c=u.getEmsgFields())==null?void 0:c.schemeIdUri;if(d!=null&&d.startsWith("livedash:trace:")){var m=u.getMessageData(),p=new(r("DataViewReader"))(m).readZeroTerminatedString(m.byteLength);try{var _=JSON.parse(p);Array.isArray(_)&&_.filter(function(e){return Array.isArray(e)&&e.length===2}).forEach(function(t){var r=t[0],o=t[1];n.set(r,{displayTimestamp:null,downloadTimestamp:e,hasBeenFlushedAsDownloaded:!1,presentationTimestamp:o,traceId:r})})}catch(e){}}}}l.skipBox(s)}return n},n.$14=function(n,r){var t=this,o="null",a=Date.now(),i=new Map,l="";n.forEach(function(n){var r=n[0].toLowerCase(),m=n[1];if(r===e&&m){var p=m.split(",");p.forEach(function(e){var t=e.split(":"),n=+t[0],r=+t[1];i.set(n,{displayTimestamp:null,downloadTimestamp:a,hasBeenFlushedAsDownloaded:!1,presentationTimestamp:r,traceId:n})})}r===s&&(l=m),t.$2===null&&r===u&&(t.$2=parseInt(m,10)),(r===c||r===d)&&parseInt(m,10)&&(o=r===c?"origin":"edge")});var m=r||{};return m.hit=o,l!==""?{tracedFrames:i,eventMetaData:m,parentSource:l,streamType:this.$2}:null},n.$12=function(t,n,r){var e=this.$14(t,r);if(!(e==null||e.parentSource==="")){if(n!=null&&n.length){var o=this.$13(n);o.forEach(function(t,n){e.tracedFrames.set(n,t)})}this.$6=this.$6.concat(Array.from(e.tracedFrames.values()));var a=e.tracedFrames.keys();for(var i of a)this.$9(this.$4,"SEGMENT",i,e.parentSource,"SUCCESS",e.eventMetaData)}},n.$10=function(t,n){this.$12(t,null,n)},n.handleXHR=function(t,n){this.handleHeadersString(t.getAllResponseHeaders(),n)},n.getLiveTraceContext=function(){return this.$2!=null?{streamId:this.$1,streamType:this.$2,sourceId:this.$3}:null},t})();l.default=h}),98);
__d("VideoMimeTypes",[],(function(t,n,r,o,a,i){function e(e,t,n){return e+'; codecs="'+t+", "+n+'"'}var l="mp4a.40.2";function s(e){return"avc1.42E0"+e.toString(16).toUpperCase()}function u(e){return"avc1.4D40"+e.toString(16).toUpperCase()}function c(e){return"avc1.6400"+e.toString(16).toUpperCase()}var d="video/mp4",m=e(d,s(30),l),p=e(d,u(30),l),_=e(d,u(31),l),f=e(d,c(50),l),g=e(d,c(51),l),h={h264baseline:m,h264main30avc:p,h264main31avc:_,h264high50avc:f,h264high51avc:g};i.default=h}),66);
__d("VideoNodeStaledScreen",["CSS","EventListener","SubscriptionsHandler"],(function(t,n,r,o,a,i,l){var e=(function(){function e(e){var t=this;this.$3=new(r("SubscriptionsHandler")),this.$5=function(){o("CSS").show(t.$1)},this.$4=function(){o("CSS").hide(t.$1)},this.$1=e,this.$2=null,r("EventListener").listen(this.$1,"click",this.$4)}var t=e.prototype;return t.enable=function(t){this.$2=t,this.$3.addSubscriptions(this.$2.addListener("videoNodeStaled",this.$5))},t.disable=function(){this.$3.release(),this.$2=null},e})();l.default=e}),98);
__d("VideoPermalinkURI",[],(function(t,n,r,o,a,i){function e(e){return l(e)!==null}function l(e){if(u(e)){var t=e.getQueryData();return t.v!=null?{video_id:String(t.v),set_token:t.set!=null?String(t.set):t.set}:null}var n=e.getPath();n[n.length-1]==="/"&&(n=n.substring(0,n.length-1));var r=n.split("/");if(r.length>=3&&r[2]==="videos"){if(r.length===4&&s(r[3]))return{video_id:r[3],set_token:null};if(r.length===5){if(s(r[4]))return{video_id:r[4],set_token:r[3]};if(s(r[3]))return{video_id:r[3],story_id:r[4]}}else if(r.length===6&&s(r[4]))return{video_id:r[4],set_token:r[3],story_id:r[5]}}return null}function s(e){return/^\d+$/.exec(e)!==null}function u(e){var t=e.getPath();return t[t.length-1]==="/"&&(t=t.substring(0,t.length-1)),t==="/photo.php"||t==="/force_photo/photo.php"||t==="/photo"||t==="/force_photo/photo/index.php"||t==="/photo/index.php"||t==="/force_photo/photo"||t==="/video.php"||t==="/video/video.php"}function c(e){var t=e.getDomain();return t==="fb.watch"||t==="fbwat.ch"}function d(e,t){return e+t+"/"}i.isValid=e,i.parse=l,i.isNumeric=s,i.isValidLegacy=u,i.isValidFBWatchDomain=c,i.getCustomStoryURI=d}),66);
__d("VideoPlaybackQuality",[],(function(t,n,r,o,a,i){function e(e){if(typeof e.getVideoPlaybackQuality=="function")return e.getVideoPlaybackQuality().droppedVideoFrames;var t=e.webkitDroppedFrameCount;return typeof t=="number"?t:0}function l(e){if(typeof e.getVideoPlaybackQuality=="function")return e.getVideoPlaybackQuality().totalVideoFrames;var t=e.webkitDecodedFrameCount;return typeof t=="number"?t:0}i.getDroppedFrames=e,i.getTotalFrames=l}),66);
__d("VideoPlayerABRQualityTracker",[],(function(t,n,r,o,a,i){var e=(function(){function e(e){this.$1=e,this.$2=null}var t=e.prototype;return t.setLastQualitySwitchReason=function(t){this.$2=t},t.getABREvaluation=function(){var e=[];this.$1&&(e=this.$1.flushABREvaluationSet());for(var t=0,n=0,r=0,o=0,a=this.$2,i=0;i<e.length;i++)switch(e[i]){case"ideal":t++;break;case"conservative":n++;break;case"aggressive":r++;break;case"conservative_resolution_constrained":o++;break}return{idealSamples:t,conservativeSamples:n,aggressiveSamples:r,conservativeResolutionConstrainedSamples:o,lastQualitySwitchReason:a}},e})();i.default=e}),66);
__d("isSSR",["ExecutionEnvironment","XPlatReactEnvironment"],(function(t,n,r,o,a,i,l){"use strict";var e,s=o("XPlatReactEnvironment").isWeb()&&!(e||(e=r("ExecutionEnvironment"))).canUseDOM,u=s;l.default=u}),98);
__d("VideoPlayerConnectionQuality",["isSSR"],(function(t,n,r,o,a,i,l){"use strict";var e={POOR:"POOR",MODERATE:"MODERATE",GOOD:"GOOD",EXCELLENT:"EXCELLENT"},s=[{bandwidth:5e5,connectionQuality:e.POOR},{bandwidth:2e6,connectionQuality:e.MODERATE},{bandwidth:1e7,connectionQuality:e.GOOD}],u=100,c=null,d=null,m=function(n){if(r("isSSR"))return"MODERATE";if(c!=null&&d!=null&&c>=Date.now()-u)return d!=null?d:"MODERATE";var t=n(),o=null;if(t!=null){for(var a=0;a<s.length;a++)if(t<s[a].bandwidth){o=s[a].connectionQuality;break}}return o===null&&(o=e.EXCELLENT),c=Date.now(),d=o,o!=null?o:e.EXCELLENT};l.evaluate=m}),98);
__d("VideoPlayerFormatsMap",[],(function(t,n,r,o,a,i){a.exports={about_instagram:null,ad_library:"inline",ads:null,ads_preview:"inline",airwave_gcast_web_receiver_video_player:null,am_readiness_video_player:null,animated_image_share:null,animated_satp:null,asset:null,asset_manager:null,audio_description:null,audio_home:"audio_home",audio_home_get_caught_up_infinite_section:null,audio_home_get_caught_up_section:null,audio_home_orion_cta:null,audio_home_orion_explore_tab:null,audio_home_popular_episodes_infinite_section:null,audio_home_popular_episodes_section:null,audio_home_qp:null,audio_home_subscribed_episodes_infinite_section:null,audio_home_subscribed_episodes_section:null,audio_home_trailers_infinite_section:null,audio_home_trailers_section:null,aymt:null,b2mv_rifu_qp:null,ballot:null,billing_hub:null,biz_art:null,biz_dubbing_player:null,biz_mentions_and_tags:"inline",biz_stories_composer:"inline",biz_unified_program_preview_page:null,bloks_emulator:null,bookmark:null,brand_rights_protection:null,broadcast_channels_create_channel_nux_carousel:null,broadcast_request_attachment:null,bulletin_audio_player:"inline",business_feed:"inline",buy_at:null,camera_post:"fb_stories",candidate_portal:"inline",candidate_videos:null,catalog_manager:null,chained:"inline",chained_suggestion:"inline",channel:"channel",channel_tab:null,channel_tab_latest_videos_card:null,channel_tab_live_card:null,channel_tab_playlist_card:null,channel_tab_popular_video_card:null,channel_tab_series_card:null,channel_tab_videos_card:null,chat_llama:null,cms:null,commerce_manager:null,compass_curation:null,continue_watching_recommendation:"inline",corporate_card_application:null,cowatch:null,creator_explore_feed:null,creator_store_affiliate_links:null,creator_studio_inspiration_hub:"inline",creator_studio_mix_insights_trends:null,creator_studio_stars_cue_insertion_preview:null,cricket_matches_aggregation:null,crowdsourcing_video_preview:null,cs_video_composer_crossposting_review:null,curation:null,curation_qp:null,diff_tool:null,dim_sum:null,discover:"inline",discovery_hubs_header:null,dolly_discovery_page:null,embedded:null,embedded_page_plugin:null,embedded_video:"inline",embedded_video_from_ufi:"inline",embedded_video_preview:"inline",ent_mutator_debugger_help_page:null,entry_point:null,entry_point_notifications:null,ep_takedown_request_manager:null,events_cover:"inline",events_hosts_reels_card:null,events_live_cta:null,events_live_video_section:null,explore:null,external_deeplink:null,facebook_design:"inline",fair_sam3_demo:null,fair_video_seal_demo:null,fandom_challenge_asset:null,fb_reels_audio:null,fb_reels_video_preview:null,fb_shorts_chaining_viewer:null,fb_shorts_creation_feed_unit:null,fb_shorts_ifr_single_video_feed_unit:null,fb_shorts_native_in_feed_unit:null,fb_shorts_native_watch_in_feed_unit:null,fb_shorts_profile_viewer:null,fb_shorts_reshare_feed_unit:null,fb_shorts_unified_tofu:null,fb_shorts_viewer:null,fb_shorts_watch_pill:null,fb_stories_notes:null,feed:null,feed_answersheet:null,feed_story:null,friend_comment_sparks:null,fundraiser_cover:"inline",gallery_catalog:null,gallery_sgc:null,gallery_ugc: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_audience_network_ads:null,games_featured_hero_banner:null,games_feed:"inline",games_feed_story_header:null,games_feed_vod_unit:null,games_game_details:null,games_instant_game_quick_promotion:null,games_profile:"inline",games_streamer_dashboard:"inline",games_verse_destination:null,games_video_clips_home:"inline",games_video_clips_home_immersive_player:"inline",games_video_clips_home_my_clips:null,games_video_clips_home_top_clips:null,games_video_clips_library_preview_modal:null,games_video_community_feed:null,games_video_costreamers_list:null,games_video_explore_home:null,games_video_highlight_video_preview:null,games_video_highlight_video_transition:"inline",games_video_highlighted_clips_streamer_page:null,games_video_home:null,games_video_home_hero:"inline",games_video_home_left_rail:null,games_video_home_see_all:null,games_video_home_streamer_hub:"inline",games_video_home_streamer_hub_hero:null,games_video_home_streamer_hub_schedule:null,games_video_hub:null,games_video_hub_redirect_notification:null,games_video_hub_redirect_unknown:null,games_video_live_recommendation:"inline",games_video_mixer_us_qp_recommended_live:null,games_video_play_with_streamers_live:null,games_video_qp_recommended_live:null,games_video_qp_us_recommended_live:null,games_video_search_unit:"inline",games_video_single_game:null,games_video_social_plugin:null,games_video_streamer_hub:null,games_video_streamer_unit:"inline",games_video_thumbnail_preview:null,games_video_top_weekly_clips_streamer_page:null,games_video_view_highlights_cue:null,gaming_followed_game_aggregation:null,gaming_top_videos_aggregation:null,generic_share_attachment_3p_video:null,get_caught_up_qp:null,gms_hub:null,goodwill_product_system:null,group_highlight_live_affiliate_player:"inline",group_live_video_module:null,group_videos_aggregation:null,groups_cover:null,groups_featured:null,groups_latest_videos:null,groups_reels_qp:null,groups_watch_all:null,groups_watch_popular:null,guidance_hub:null,hashtag_deep_dive:null,hashtag_destination:null,help_center:null,hero_catalog:null,hero_sgc:null,hero_ugc:null,horizon_shares:null,horizon_web_learn_more:"inline",horizon_web_video_cover:null,horizon_web_world_reels:null,html5:null,igd_thread:null,igd_web_music_sticker:null,info_hub_video_results:null,inline:"inline",inline_end_screen:null,inline_pause_screen:"inline",inline_qp:null,insights:null,instant_games:"instant_game_player",interactive_plugins:null,interest_based_reels_sparks:null,interests_bling_string:null,interests_cue_listpack:null,interests_fixed_entrypoint:null,interests_fixed_listpack:null,interests_follow_cue:null,interests_follow_edge_header:null,interests_manager:null,interests_multiple_subtopic_cue:null,interests_spring_board:null,interests_subtopic_aggregation:null,interests_suggested_follow:null,interests_warion_belt:null,intern_api_unlabelled_datasets:null,intern_crm_call_recording:null,intern_curation:null,intern_example:null,intern_new_hire_orientation:null,interview_training_quiz:null,issues_module:null,jobs_visual_intro:null,lancelet:null,lightweight_status:null,lightweight_status_consumption:null,lightweight_status_self_view:null,linear_channel:"inline",live_autoplay_watch_and_scroll:null,live_beeper:null,live_clip:null,live_clips_creator:"inline",live_control_panel:null,live_destination_scheduled_lives_qp:null,live_destination_thematic_upsell_qp:null,live_destination_upsell_qp:null,live_evergreen_qp:"inline",live_gaming_rhc:null,live_hero:null,live_linear:null,live_map:"inline",live_map_listview:"inline",live_map_sidebar:"inline",live_map_tooltip:"inline",live_map_tooltip_from_listview:"inline",live_map_tooltip_from_map:"inline",live_map_tooltip_from_webgl:null,live_msite:null,live_music_destination:null,live_page_upcoming_next_unit:null,live_producer:null,live_pyml:"inline",live_qp:"inline",live_rhc:null,live_ring:null,live_shopping:null,live_shopping_buyer_qp:null,live_studio:null,live_studio_post_production:null,live_video_broadcast:null,live_video_preview:null,living_room:null,living_room_commentating:null,living_room_recap_fullscreen:null,living_room_recap_inline:null,living_room_upsell_banner:null,login_challenges_landing:null,lookback:null,luna_pa_content:null,marketplace_feed_unit:null,marketplace_hscroll_unit:null,marketplace_immersive_feed:null,marketplace_promotional_video:null,marketplace_reels:null,marketplace_tab:null,mbg_hub:null,mbs_inspiration_hub:null,media_collage:"inline",media_match_service:null,media_playlist_share_story:null,media_sync:null,media_viewer:"inline",memory_leak_test:"inline",messaging:null,messenger_cowatch:"inline",messenger_kids_challenges_internal_tool:null,messenger_kids_dot_com:"inline",messenger_thread:null,meta_ai_audio_only:null,meta_ai_creator_content:null,meta_ai_home_feed:null,meta_ai_imagine_create:null,meta_ai_immersive_feed:null,meta_ai_misc:null,meta_ai_reels_viewer:null,meta_ai_unified_canvas_post:null,meta_dot_com_cms_page:null,meta_dot_com_unknown:null,meta_family_center:null,metagen:null,misc:null,mlpp:null,mobile:null,molo_watch_permalink_bottom_sheet_landing:null,molo_watch_permalink_bottom_sheet_videos:null,molo_watch_permalink_header:null,molo_watch_permalink_promo_unit:null,morc_console:null,movies_recommended_movies_qp:null,mp_browse_feed_unit:null,music_at_post_level_experience_overlay:null,music_digest_qp:null,music_digest_screen_row:null,music_digest_screen_spotlight: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_rich_tile: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_ugc_cta: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_pill_fix:null,music_home_watch_search:null,music_home_watch_spotlight_unit:null,music_home_watch_stations_unit:null,music_home_watch_surface_promotion_pill:null,music_videos_card:null,music_videos_featuring_artist_card:null,music_videos_playlists_card:null,music_videos_tab:null,music_weekly_chart:null,news_tab_compact_display:null,news_tab_curated:null,newsfeed_action_link:null,newsfeed_ad:null,newsfeed_episode_unit:null,newsfeed_playlist_video_unit:null,newsfeed_qp:null,newsfeed_series_unit:null,newsfeed_subscribe_megaphone:null,newsfeed_subscribe_upsell_qp:null,newsfeed_subscription_digest_qp:null,newsfeed_wem_learning_playlist_video_unit:null,not_specified_please_fix:null,notif_hub:null,notifications:null,npr_qp:null,null_state:null,oculus:null,oculus_games:null,oculus_hub:null,oculus_recommended_video_unit:null,oculus_tv_browse_decades_pmv:null,oculus_tv_browse_genres_pmv:null,oculus_tv_browse_new_releases_pmv:null,oculus_tv_browse_popular_pmv:null,oculus_tv_search:null,offers_detail:null,page_admin_things_you_should_do_tip:null,page_autoload_watch_and_scroll:null,page_episode_upsell:null,page_live_tab:null,page_live_video_module:"inline",page_music_videos_spotlight:null,page_roles:null,page_series_item:null,page_spotlight:null,page_timeline_channel_tab_videos_card:null,page_timeline_live_card:null,page_timeline_live_now_dialog:null,page_timeline_video_list_aggregation:null,page_upsell_cards:null,pages_cover:"inline",pages_cover_hover:"inline",pages_finch_main_video:null,pages_finch_thumbnail_video:null,pages_finch_trailer:null,pages_home_hero:null,pages_home_pmv_unit:null,pages_messaging_video:"inline",pages_timeline_inline:null,pages_timeline_pages_cover:null,pages_video_set:null,paid_content_package_permalink_cover:"permalink",pdp_video:null,people_portal:null,permalink:"permalink",pixelcloud_post:"inline",pixelcloud_post_inbox_preview:"inline",pixelcloud_project_post_widget:"inline",pixelcloud_project_presentation_slide:"inline",playlist_page:null,playlists_card:null,playlists_tab:null,pmv_back_catalog_qp:null,pmv_new_release_digest:null,pmv_new_release_digest_channel_view:null,pmv_new_release_qp:null,pmv_third_party_triggered_cta:null,pmv_top_chart_cta:null,pmv_ugc_cta:null,pmv_youtube_story_level_cta:null,podcast_episode_deplink:null,podcast_highlight_full_episode_cta:null,podcasts_admin_published_view:null,podcasts_episode_page:null,podcasts_listen_up_qp:null,podcasts_orion_show_name:null,podcasts_orion_thumbnail:null,podcasts_page_episode_card:null,podcasts_profile_plus_episode_card:null,podcasts_profile_plus_pinned_feature:null,podcasts_show_page:null,podcasts_single_show_digest_qp:null,podcasts_trailer_cta:null,poe_qp:"inline",prodash_object_insights:null,prodash_web_monetization_eligibility_page:null,profile_cover:"inline",profile_featured_section:null,profile_overview:"inline",profile_plus_latest_videos_card:null,profile_plus_live_card:null,profile_plus_live_videos_tab:null,profile_plus_pinned_playlists_card:null,profile_plus_pinned_popular_video_card:null,profile_plus_pinned_series_card:null,profile_plus_playlist_card:null,profile_plus_popular_video_card:null,profile_plus_product_tour:null,profile_plus_sereis_card:null,profile_plus_video_tab:null,profile_plus_videos_card:null,profile_switcher_illustration:null,profile_video:null,profile_video_hovercard:null,profile_video_thumb:null,proton:null,push:null,quick_promotion:null,redirected_watch_serp:null,reels_endcard_related_reels:null,reels_from_similar_creators_qp:null,reels_midcard_related_reels:null,reels_trending_hashtag_qp:null,related_publishers_cue:null,related_reels_grid:null,remote_learning_instructor_home:"inline",report_flow:null,results:null,results_video_pivot:null,results_video_scoped:null,results_video_search_bar:null,review:null,rl_hub:null,robotics_rtc_page:null,robotics_tour_guide_page:null,rooms_tray:null,saved_dashboard:null,saved_videos_qp:null,search_live_video_module:"inline",search_nullstate_top_content:null,search_result_page:null,series_card:"inline",serp_inline_player:null,serp_thumbnail_preview:"inline",serp_videos_tab:null,shared_reels_landing_page:"inline",short_videos_spotlight:null,show_catalog_cta:null,shows_catalog:null,single_page_channel:null,slideshow:null,smc_preonboarding_promotional_video:null,snowlift:"snowlift",sotto_aggregated_list:null,sotto_catalog:null,sotto_consideration_page:"inline",sotto_consideration_page_browse_shows_section:null,sotto_following_section:null,sotto_movie:null,sotto_nonsubscriber_upsell:null,sotto_page_top_cta:null,sotto_search_result:null,sotto_show:null,sotto_shows_friends_are_following_section:null,sotto_welcome_mat:null,soundbites_feed_item:null,soundbites_qp:null,soundbites_tile:null,spotlight_featured:null,spotlight_live:null,spotlight_popular:null,spotlight_unknown:null,srt_review:null,stages_waiting_room_ondemand:null,stars_eligible_creator_onboarding_upsell_video:null,stars_ineligible_creator_onboarding_upsell_video:null,stores_acquisitions_rifu:null,stories_video_preview:null,story_tray_live_dropdown:"fb_stories",story_viewer_live_cta:"fb_stories",story_viewer_live_dropdown:"fb_stories",story_viewer_live_sticker:"fb_stories",story_viewer_live_video_view:null,subs_share_promotional_video_preview:"inline",suggested_pages_to_follow_agg:null,suggested_searches_cue:null,svr_tool:null,tahoe:"tahoe",tahoe_costreaming_thumbnail:"tahoe_costreaming_thumbnail",text_based_video_editor_on_comet:null,timepass:null,top_10_shared_videos:null,topic_animals:null,topic_audio:null,topic_beauty:null,topic_channel_living_room:null,topic_cricket:null,topic_ephemeral_destination:null,topic_feed:null,topic_following:null,topic_following_continue_watching:null,topic_following_latest:null,topic_following_not_watched:null,topic_food:null,topic_gaming:null,topic_interest:null,topic_live:"inline",topic_music:null,topic_news:null,topic_saved_videos:null,topic_shows:null,topic_sports:null,topics:null,touchpoint_tip_creation_test_plan:null,tpfc:null,trailer_og_attachment:null,trailer_timeline_collections:null,trailer_timeline_unit:null,transparency_content_library:null,trivia_game_admin_dashboard:"misc",tv:"tv",ufi_comment_attachment:"inline",unified_editor:"inline",unified_tofu:null,unknown:null,user_timeline_channel_tab_videos_card:null,user_timeline_video_list_aggregation:null,user_video_tab:null,vep_session:null,vep_waiting_room:null,video_composer_crossposting_review:null,video_copyright_preview:null,video_copyright_segment_preview:null,video_home_badging_surface:null,video_home_catalog:null,video_home_channel:null,video_home_channel_tab_videos_card:null,video_home_cricket:null,video_home_inline:"inline",video_home_my_watch:null,video_home_pineapple_home:null,video_home_rainbow_qp:null,video_home_thumbnail_preview:"inline",video_home_top_searched_tv_movies_keywords:null,video_home_tv_movies:null,video_home_video_list_aggregation:null,video_home_video_not_found:null,video_infra_portal_starfox_playground:null,video_inline_chaining:null,video_insights_metadata_summary:null,video_insights_multiviewer:null,video_insights_opsview:null,video_inspector:null,video_list:"inline",video_list_aggregation:null,video_list_aggregation_playlist:null,video_list_aggregation_series:null,video_page_spotlight_unit:"inline",video_page_unspecified:null,video_page_video_list:null,video_wall:"inline",videohub_featured:null,videohub_live:"inline",videohub_playlist:null,videos_card:null,videos_feed_unit:null,videos_tab:null,voices_podcast:null,voting_information_center:null,warion_aggregation:null,watch:"watch",watch_bookmark_promotion_qp:null,watch_casting_qp:null,watch_continue_watching:null,watch_continue_watching_qp:null,watch_creator_qp:null,watch_ephemeral_destination_qp:null,watch_event_video_creators_qp:null,watch_explore_surface_featured_curation:null,watch_explore_surface_gcu:null,watch_explore_surface_interest:null,watch_explore_surface_new_releases_pmv:null,watch_explore_surface_pages:null,watch_explore_surface_popular_pmv:null,watch_explore_surface_pyml:null,watch_explore_surface_top_ten:null,watch_explore_surface_trending:null,watch_explore_surface_trending_audio:null,watch_explore_surface_trending_gaming_livestreamers:null,watch_explore_surface_trending_gaming_livestreams:null,watch_explore_surface_trending_gaming_videos:null,watch_explore_surface_trending_subtopic:null,watch_explore_surface_tv_movie:null,watch_explore_trending_reels_creators:null,watch_explore_trending_unit:null,watch_feed_reels_hscroll:null,watch_hashtag_reels_hscroll:null,watch_history:null,watch_liked_videos:null,watch_nullstate_discovery_gcu:null,watch_nullstate_discovery_interest:null,watch_nullstate_discovery_pyml:null,watch_originals_qp:null,watch_permalink_bottom_sheet_landing:null,watch_permalink_bottom_sheet_videos:null,watch_permalink_header:null,watch_permalink_promo_unit:null,watch_permalink_reels_hscroll:null,watch_premium_content_qp:null,watch_racial_injustice_qp:null,watch_rainbow_qp:null,watch_scroll:"watch_scroll",watch_search_discover:null,watch_sotto_catalog_entry_point:null,watch_sotto_catalog_promotion:null,watch_subtopic_channel:null,watch_suggested_pages_qp:null,watch_topic_pills_to_channel:null,watch_trending_content_verticals_qp:null,watch_video_highlights_qp:null,watchlist:null,watchlist_aggregation:null,whatsapp_web_channels:null,whatsapp_web_status_viewer:null,wisp_website:null,woodhenge_comet_signup:"inline",work_captions_review:"inline",work_chapters_editor:null,work_events_broadcasts_tab:null,work_top_of_feed_unit:null,work_video_qp:null,work_watch_collections:null,work_watch_collections_official:null,work_watch_groups:null,work_watch_groups_all:null,work_watch_groups_outer:null,work_watch_groups_popular:null,work_watch_home:null,work_watch_home_carousel:null,work_watch_home_continue_watching:null,work_watch_home_explore_other_groups:null,work_watch_home_hear_about_leaders:null,work_watch_home_popular:null,work_watch_home_recent_from_groups:null,work_watch_home_recent_other_groups:null,work_watch_home_recently_live:null,work_watch_home_recently_watched:null,work_watch_home_saved_videos:null,work_watch_live:null,work_watch_live_all:null,work_watch_live_popular:null,workplace_insights:null}}),null);
__d("VideoPlayerLoggerErrorStates",[],(function(t,n,r,o,a,i){var e="playback_failure",l="player_failure";i.PLAYBACK_FAILURE=e,i.PLAYER_FAILURE=l}),66);
__d("VideoPlayerLoggerErrors",[],(function(t,n,r,o,a,i){var e="entered_fallback",l="error_calling_flash";i.ENTERED_FALLBACK=e,i.ERROR_CALLING_FLASH=l}),66);
__d("VideoPlayerLoggerFallbackReasons",[],(function(t,n,r,o,a,i){var e="timeout",l="flash_error",s="flash_unavailable";i.TIMEOUT=e,i.FLASH_ERROR=l,i.FLASH_UNAVAILABLE=s}),66);
__d("VideoPlayerLoggerPlayerStates",[],(function(t,n,r,o,a,i){var e="started",l="unpaused",s={STARTED:e,UNPAUSED:l};i.default=s}),66);
__d("VideoPlayerLoggerSource",[],(function(t,n,r,o,a,i){var e=Object.freeze({ABOUT_INSTAGRAM:"about_instagram",AD_LIBRARY:"ad_library",ADS:"ads",ADS_PREVIEW:"ads_preview",AIRWAVE_GCAST_WEB_RECEIVER_VIDEO_PLAYER:"airwave_gcast_web_receiver_video_player",AM_READINESS_VIDEO_PLAYER:"am_readiness_video_player",ANIMATED_IMAGE_SHARE:"animated_image_share",ANIMATED_SATP:"animated_satp",ASSET:"asset",ASSET_MANAGER:"asset_manager",AUDIO_DESCRIPTION:"audio_description",AUDIO_HOME:"audio_home",AUDIO_HOME_GET_CAUGHT_UP_INFINITE_SECTION:"audio_home_get_caught_up_infinite_section",AUDIO_HOME_GET_CAUGHT_UP_SECTION:"audio_home_get_caught_up_section",AUDIO_HOME_ORION_CTA:"audio_home_orion_cta",AUDIO_HOME_ORION_EXPLORE_TAB:"audio_home_orion_explore_tab",AUDIO_HOME_POPULAR_EPISODES_INFINITE_SECTION:"audio_home_popular_episodes_infinite_section",AUDIO_HOME_POPULAR_EPISODES_SECTION:"audio_home_popular_episodes_section",AUDIO_HOME_QP:"audio_home_qp",AUDIO_HOME_SUBSCRIBED_EPISODES_INFINITE_SECTION:"audio_home_subscribed_episodes_infinite_section",AUDIO_HOME_SUBSCRIBED_EPISODES_SECTION:"audio_home_subscribed_episodes_section",AUDIO_HOME_TRAILERS_INFINITE_SECTION:"audio_home_trailers_infinite_section",AUDIO_HOME_TRAILERS_SECTION:"audio_home_trailers_section",AYMT:"aymt",B2MV_RIFU_QP:"b2mv_rifu_qp",BALLOT:"ballot",BILLING_HUB:"billing_hub",BIZ_ART:"biz_art",BIZ_DUBBING_PLAYER:"biz_dubbing_player",BIZ_MENTIONS_AND_TAGS:"biz_mentions_and_tags",BIZ_STORIES_COMPOSER:"biz_stories_composer",BIZ_UNIFIED_PROGRAM_PREVIEW_PAGE:"biz_unified_program_preview_page",BLOKS_EMULATOR:"bloks_emulator",BOOKMARK:"bookmark",BRAND_RIGHTS_PROTECTION:"brand_rights_protection",BROADCAST_CHANNELS_CREATE_CHANNEL_NUX_CAROUSEL:"broadcast_channels_create_channel_nux_carousel",BROADCAST_REQUEST_ATTACHMENT:"broadcast_request_attachment",BULLETIN_AUDIO_PLAYER:"bulletin_audio_player",BUSINESS_FEED:"business_feed",BUY_AT:"buy_at",CAMERA_POST:"camera_post",CANDIDATE_PORTAL:"candidate_portal",CANDIDATE_VIDEOS:"candidate_videos",CATALOG_MANAGER:"catalog_manager",CHAINED:"chained",CHAINED_SUGGESTION:"chained_suggestion",CHANNEL:"channel",CHANNEL_TAB:"channel_tab",CHANNEL_TAB_LATEST_VIDEOS_CARD:"channel_tab_latest_videos_card",CHANNEL_TAB_LIVE_CARD:"channel_tab_live_card",CHANNEL_TAB_PLAYLIST_CARD:"channel_tab_playlist_card",CHANNEL_TAB_POPULAR_VIDEO_CARD:"channel_tab_popular_video_card",CHANNEL_TAB_SERIES_CARD:"channel_tab_series_card",CHANNEL_TAB_VIDEOS_CARD:"channel_tab_videos_card",CHAT_LLAMA:"chat_llama",CMS:"cms",COMMERCE_MANAGER:"commerce_manager",COMPASS_CURATION:"compass_curation",CONTINUE_WATCHING_RECOMMENDATION:"continue_watching_recommendation",CORPORATE_CARD_APPLICATION:"corporate_card_application",COWATCH:"cowatch",CREATOR_EXPLORE_FEED:"creator_explore_feed",CREATOR_STORE_AFFILIATE_LINKS:"creator_store_affiliate_links",CREATOR_STUDIO_INSPIRATION_HUB:"creator_studio_inspiration_hub",CREATOR_STUDIO_MIX_INSIGHTS_TRENDS:"creator_studio_mix_insights_trends",CREATOR_STUDIO_STARS_CUE_INSERTION_PREVIEW:"creator_studio_stars_cue_insertion_preview",CRICKET_MATCHES_AGGREGATION:"cricket_matches_aggregation",CROWDSOURCING_VIDEO_PREVIEW:"crowdsourcing_video_preview",CS_VIDEO_COMPOSER_CROSSPOSTING_REVIEW:"cs_video_composer_crossposting_review",CURATION:"curation",CURATION_QP:"curation_qp",DIFF_TOOL:"diff_tool",DIM_SUM:"dim_sum",DISCOVERY_HUBS_HEADER:"discovery_hubs_header",DOLLY_DISCOVERY_PAGE:"dolly_discovery_page",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",ENT_MUTATOR_DEBUGGER_HELP_PAGE:"ent_mutator_debugger_help_page",ENTRY_POINT:"entry_point",ENTRY_POINT_NOTIFICATIONS:"entry_point_notifications",EP_TAKEDOWN_REQUEST_MANAGER:"ep_takedown_request_manager",EVENTS_COVER:"events_cover",EVENTS_HOSTS_REELS_CARD:"events_hosts_reels_card",EVENTS_LIVE_CTA:"events_live_cta",EVENTS_LIVE_VIDEO_SECTION:"events_live_video_section",EXTERNAL_DEEPLINK:"external_deeplink",FACEBOOK_DESIGN:"facebook_design",FAIR_SAM3_DEMO:"fair_sam3_demo",FAIR_VIDEO_SEAL_DEMO:"fair_video_seal_demo",FANDOM_CHALLENGE_ASSET:"fandom_challenge_asset",FB_REELS_AUDIO:"fb_reels_audio",FB_REELS_VIDEO_PREVIEW:"fb_reels_video_preview",FB_SHORTS_CHAINING_VIEWER:"fb_shorts_chaining_viewer",FB_SHORTS_CREATION_FEED_UNIT:"fb_shorts_creation_feed_unit",FB_SHORTS_IFR_SINGLE_VIDEO_FEED_UNIT:"fb_shorts_ifr_single_video_feed_unit",FB_SHORTS_NATIVE_IN_FEED_UNIT:"fb_shorts_native_in_feed_unit",FB_SHORTS_NATIVE_WATCH_IN_FEED_UNIT:"fb_shorts_native_watch_in_feed_unit",FB_SHORTS_PROFILE_VIEWER:"fb_shorts_profile_viewer",FB_SHORTS_RESHARE_FEED_UNIT:"fb_shorts_reshare_feed_unit",FB_SHORTS_UNIFIED_TOFU:"fb_shorts_unified_tofu",FB_SHORTS_VIEWER:"fb_shorts_viewer",FB_SHORTS_WATCH_PILL:"fb_shorts_watch_pill",FB_STORIES_NOTES:"fb_stories_notes",FEED:"feed",FEED_ANSWERSHEET:"feed_answersheet",FEED_STORY:"feed_story",FRIEND_COMMENT_SPARKS:"friend_comment_sparks",FUNDRAISER_COVER:"fundraiser_cover",GALLERY_CATALOG:"gallery_catalog",GALLERY_SGC:"gallery_sgc",GALLERY_UGC:"gallery_ugc",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_AUDIENCE_NETWORK_ADS:"games_audience_network_ads",GAMES_FEATURED_HERO_BANNER:"games_featured_hero_banner",GAMES_FEED:"games_feed",GAMES_FEED_STORY_HEADER:"games_feed_story_header",GAMES_FEED_VOD_UNIT:"games_feed_vod_unit",GAMES_GAME_DETAILS:"games_game_details",GAMES_INSTANT_GAME_QUICK_PROMOTION:"games_instant_game_quick_promotion",GAMES_PROFILE:"games_profile",GAMES_STREAMER_DASHBOARD:"games_streamer_dashboard",GAMES_VERSE_DESTINATION:"games_verse_destination",GAMES_VIDEO_CLIPS_HOME:"games_video_clips_home",GAMES_VIDEO_CLIPS_HOME_IMMERSIVE_PLAYER:"games_video_clips_home_immersive_player",GAMES_VIDEO_CLIPS_HOME_MY_CLIPS:"games_video_clips_home_my_clips",GAMES_VIDEO_CLIPS_HOME_TOP_CLIPS:"games_video_clips_home_top_clips",GAMES_VIDEO_CLIPS_LIBRARY_PREVIEW_MODAL:"games_video_clips_library_preview_modal",GAMES_VIDEO_COMMUNITY_FEED:"games_video_community_feed",GAMES_VIDEO_COSTREAMERS_LIST:"games_video_costreamers_list",GAMES_VIDEO_EXPLORE_HOME:"games_video_explore_home",GAMES_VIDEO_HIGHLIGHT_VIDEO_PREVIEW:"games_video_highlight_video_preview",GAMES_VIDEO_HIGHLIGHT_VIDEO_TRANSITION:"games_video_highlight_video_transition",GAMES_VIDEO_HIGHLIGHTED_CLIPS_STREAMER_PAGE:"games_video_highlighted_clips_streamer_page",GAMES_VIDEO_HOME:"games_video_home",GAMES_VIDEO_HOME_HERO:"games_video_home_hero",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:"games_video_home_streamer_hub",GAMES_VIDEO_HOME_STREAMER_HUB_HERO:"games_video_home_streamer_hub_hero",GAMES_VIDEO_HOME_STREAMER_HUB_SCHEDULE:"games_video_home_streamer_hub_schedule",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_LIVE_RECOMMENDATION:"games_video_live_recommendation",GAMES_VIDEO_MIXER_US_QP_RECOMMENDED_LIVE:"games_video_mixer_us_qp_recommended_live",GAMES_VIDEO_PLAY_WITH_STREAMERS_LIVE:"games_video_play_with_streamers_live",GAMES_VIDEO_QP_RECOMMENDED_LIVE:"games_video_qp_recommended_live",GAMES_VIDEO_QP_US_RECOMMENDED_LIVE:"games_video_qp_us_recommended_live",GAMES_VIDEO_SEARCH_UNIT:"games_video_search_unit",GAMES_VIDEO_SINGLE_GAME:"games_video_single_game",GAMES_VIDEO_SOCIAL_PLUGIN:"games_video_social_plugin",GAMES_VIDEO_STREAMER_HUB:"games_video_streamer_hub",GAMES_VIDEO_STREAMER_SEARCH_UNIT:"games_video_streamer_unit",GAMES_VIDEO_THUMBNAIL_PREVIEW:"games_video_thumbnail_preview",GAMES_VIDEO_TOP_WEEKLY_CLIPS_STREAMER_PAGE:"games_video_top_weekly_clips_streamer_page",GAMES_VIDEO_VIEW_HIGHLIGHTS_CUE:"games_video_view_highlights_cue",GAMING_FOLLOWED_GAME_AGGREGATION:"gaming_followed_game_aggregation",GAMING_TOP_VIDEOS_AGGREGATION:"gaming_top_videos_aggregation",GENERIC_SHARE_ATTACHMENT_3P_VIDEO:"generic_share_attachment_3p_video",GET_CAUGHT_UP_QP:"get_caught_up_qp",GMS_HUB:"gms_hub",GOODWILL_PRODUCT_SYSTEM:"goodwill_product_system",GROUP_HIGHLIGHT_LIVE_AFFILIATE_PLAYER:"group_highlight_live_affiliate_player",GROUP_LIVE_VIDEO_MODULE:"group_live_video_module",GROUP_VIDEOS_AGGREGATION:"group_videos_aggregation",GROUPS_COVER:"groups_cover",GROUPS_FEATURED:"groups_featured",GROUPS_LATEST_VIDEOS:"groups_latest_videos",GROUPS_REELS_QP:"groups_reels_qp",GROUPS_WATCH_ALL:"groups_watch_all",GROUPS_WATCH_POPULAR:"groups_watch_popular",GUIDANCE_HUB:"guidance_hub",HASHTAG_DEEP_DIVE:"hashtag_deep_dive",HASHTAG_DESTINATION:"hashtag_destination",HELP_CENTER:"help_center",HERO_CATALOG:"hero_catalog",HERO_SGC:"hero_sgc",HERO_UGC:"hero_ugc",HORIZON_SHARES:"horizon_shares",HORIZON_WEB_LEARN_MORE:"horizon_web_learn_more",HORIZON_WEB_VIDEO_COVER:"horizon_web_video_cover",HORIZON_WEB_WORLD_REELS:"horizon_web_world_reels",HTML5:"html5",IGD_THREAD:"igd_thread",IGD_WEB_MUSIC_STICKER:"igd_web_music_sticker",INFO_HUB_VIDEO_RESULTS:"info_hub_video_results",INLINE:"inline",INLINE_END_SCREEN:"inline_end_screen",INLINE_PAUSE_SCREEN:"inline_pause_screen",INLINE_QP:"inline_qp",INSIGHTS:"insights",INSTANT_GAMES:"instant_games",INTERACTIVE_PLUGINS:"interactive_plugins",INTEREST_BASED_REELS_SPARKS:"interest_based_reels_sparks",INTERESTS_BLING_STRING:"interests_bling_string",INTERESTS_CUE_LISTPACK:"interests_cue_listpack",INTERESTS_FIXED_ENTRYPOINT:"interests_fixed_entrypoint",INTERESTS_FIXED_LISTPACK:"interests_fixed_listpack",INTERESTS_FOLLOW_CUE:"interests_follow_cue",INTERESTS_FOLLOW_EDGE_HEADER:"interests_follow_edge_header",INTERESTS_MANAGER:"interests_manager",INTERESTS_MULTIPLE_SUBTOPIC_CUE:"interests_multiple_subtopic_cue",INTERESTS_SPRING_BOARD:"interests_spring_board",INTERESTS_SUBTOPIC_AGGREGATION:"interests_subtopic_aggregation",INTERESTS_SUGGESTED_FOLLOW:"interests_suggested_follow",INTERESTS_WARION_BELT:"interests_warion_belt",INTERN_API_UNLABELLED_DATASETS:"intern_api_unlabelled_datasets",INTERN_CRM_CALL_RECORDING:"intern_crm_call_recording",INTERN_CURATION:"intern_curation",INTERN_EXAMPLE:"intern_example",INTERN_NEW_HIRE_ORIENTATION:"intern_new_hire_orientation",INTERVIEW_TRAINING_QUIZ:"interview_training_quiz",ISSUES_MODULE:"issues_module",JOBS_VISUAL_INTRO:"jobs_visual_intro",LANCELET:"lancelet",LIGHTWEIGHT_STATUS:"lightweight_status",LIGHTWEIGHT_STATUS_CONSUMPTION:"lightweight_status_consumption",LIGHTWEIGHT_STATUS_SELF_VIEW:"lightweight_status_self_view",LINEAR_CHANNEL:"linear_channel",LIVE_AUTOPLAY_WATCH_AND_SCROLL:"live_autoplay_watch_and_scroll",LIVE_BEEPER:"live_beeper",LIVE_CLIP:"live_clip",LIVE_CLIPS_CREATOR:"live_clips_creator",LIVE_CONTROL_PANEL:"live_control_panel",LIVE_DESTINATION_SCHEDULED_LIVES_QP:"live_destination_scheduled_lives_qp",LIVE_DESTINATION_THEMATIC_UPSELL_QP:"live_destination_thematic_upsell_qp",LIVE_DESTINATION_UPSELL_QP:"live_destination_upsell_qp",LIVE_EVERGREEN_QP:"live_evergreen_qp",LIVE_GAMING_RHC:"live_gaming_rhc",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_MSITE:"live_msite",LIVE_MUSIC_DESTINATION:"live_music_destination",LIVE_PAGE_UPCOMING_NEXT_UNIT:"live_page_upcoming_next_unit",LIVE_PRODUCER:"live_producer",LIVE_PYML:"live_pyml",LIVE_QP:"live_qp",LIVE_RHC:"live_rhc",LIVE_RING:"live_ring",LIVE_SHOPPING:"live_shopping",LIVE_SHOPPING_EVERGREEN_QP:"live_shopping_buyer_qp",LIVE_STUDIO:"live_studio",LIVE_STUDIO_POST_PRODUCTION:"live_studio_post_production",LIVE_VIDEO_BROADCAST:"live_video_broadcast",LIVE_VIDEO_PREVIEW:"live_video_preview",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",LIVING_ROOM_UPSELL_BANNER:"living_room_upsell_banner",LOGIN_CHALLENGES_LANDING:"login_challenges_landing",LOOKBACK:"lookback",LUNA_PA_CONTENT:"luna_pa_content",MARKETPLACE_FEED_UNIT:"marketplace_feed_unit",MARKETPLACE_HSCROLL_UNIT:"marketplace_hscroll_unit",MARKETPLACE_IMMERSIVE_FEED:"marketplace_immersive_feed",MARKETPLACE_PROMOTIONAL_VIDEO:"marketplace_promotional_video",MARKETPLACE_REELS:"marketplace_reels",MARKETPLACE_TAB:"marketplace_tab",MBG_HUB:"mbg_hub",MBS_INSPIRATION_HUB:"mbs_inspiration_hub",MEDIA_COLLAGE:"media_collage",MEDIA_MATCH_SERVICE:"media_match_service",MEDIA_PLAYLIST_SHARE_STORY:"media_playlist_share_story",MEDIA_SYNC:"media_sync",MEDIA_VIEWER:"media_viewer",MEMORY_LEAK_TEST:"memory_leak_test",MESSAGING:"messaging",MESSENGER_COWATCH:"messenger_cowatch",MESSENGER_KIDS_CHALLENGES_INTERNAL_TOOL:"messenger_kids_challenges_internal_tool",MESSENGER_KIDS_DOT_COM:"messenger_kids_dot_com",MESSENGER_THREAD:"messenger_thread",META_AI_AUDIO_ONLY:"meta_ai_audio_only",META_AI_CREATOR_CONTENT:"meta_ai_creator_content",META_AI_HOME_FEED:"meta_ai_home_feed",META_AI_IMAGINE_CREATE:"meta_ai_imagine_create",META_AI_IMMERSIVE_FEED:"meta_ai_immersive_feed",META_AI_MISC:"meta_ai_misc",META_AI_REELS_VIEWER:"meta_ai_reels_viewer",META_AI_UNIFIED_CANVAS_POST:"meta_ai_unified_canvas_post",META_DOT_COM_CMS_PAGE:"meta_dot_com_cms_page",META_DOT_COM_UNKNOWN:"meta_dot_com_unknown",META_FAMILY_CENTER:"meta_family_center",METAGEN:"metagen",MISC:"misc",MLPP:"mlpp",MOBILE:"mobile",MOLO_WATCH_PERMALINK_BOTTOM_SHEET_LANDING:"molo_watch_permalink_bottom_sheet_landing",MOLO_WATCH_PERMALINK_BOTTOM_SHEET_VIDEOS:"molo_watch_permalink_bottom_sheet_videos",MOLO_WATCH_PERMALINK_HEADER:"molo_watch_permalink_header",MOLO_WATCH_PERMALINK_PROMO_UNIT:"molo_watch_permalink_promo_unit",MORC_CONSOLE:"morc_console",MOVIES_RECOMMENDED_MOVIES_QP:"movies_recommended_movies_qp",MP_BROWSE_FEED_UNIT:"mp_browse_feed_unit",MUSIC_AT_POST_LEVEL_EXPERIENCE_OVERLAY:"music_at_post_level_experience_overlay",MUSIC_DIGEST_QP:"music_digest_qp",MUSIC_DIGEST_SCREEN_ROW:"music_digest_screen_row",MUSIC_DIGEST_SCREEN_SPOTLIGHT:"music_digest_screen_spotlight",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_RICH_TILE:"music_home_rich_tile",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_UGC_CTA:"music_home_ugc_cta",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_PILL_FIX:"music_home_watch_pill_fix",MUSIC_HOME_WATCH_SEARCH:"music_home_watch_search",MUSIC_HOME_WATCH_SPOTLIGHT_UNIT:"music_home_watch_spotlight_unit",MUSIC_HOME_WATCH_STATIONS_UNIT:"music_home_watch_stations_unit",MUSIC_HOME_WATCH_SURFACE_PROMOTION_PILL:"music_home_watch_surface_promotion_pill",MUSIC_VIDEOS_CARD:"music_videos_card",MUSIC_VIDEOS_FEATURING_ARTIST_CARD:"music_videos_featuring_artist_card",MUSIC_VIDEOS_PLAYLISTS_CARD:"music_videos_playlists_card",MUSIC_VIDEOS_TAB:"music_videos_tab",MUSIC_WEEKLY_CHART:"music_weekly_chart",NEWS_TAB_COMPACT_DISPLAY:"news_tab_compact_display",NEWS_TAB_CURATED:"news_tab_curated",NEWSFEED_ACTION_LINK:"newsfeed_action_link",NEWSFEED_AD:"newsfeed_ad",NEWSFEED_EPISODE_UNIT:"newsfeed_episode_unit",NEWSFEED_PLAYLIST_VIDEO_UNIT:"newsfeed_playlist_video_unit",NEWSFEED_QP:"newsfeed_qp",NEWSFEED_SERIES_UNIT:"newsfeed_series_unit",NEWSFEED_SUBSCRIBE_MEGAPHONE:"newsfeed_subscribe_megaphone",NEWSFEED_SUBSCRIBE_UPSELL_QP:"newsfeed_subscribe_upsell_qp",NEWSFEED_SUBSCRIPTION_DIGEST_QP:"newsfeed_subscription_digest_qp",NEWSFEED_WEM_LEARNING_VIDEO_UNIT:"newsfeed_wem_learning_playlist_video_unit",NOT_SPECIFIED_PLEASE_FIX:"not_specified_please_fix",NOTIFICATIONS:"notifications",NPR_QP:"npr_qp",OCULUS:"oculus",OCULUS_GAMES:"oculus_games",OCULUS_HUB:"oculus_hub",OCULUS_RECOMMENDED_VIDEO_UNIT:"oculus_recommended_video_unit",OCULUS_TV_BROWSE_SURFACE_DECADE_PMV:"oculus_tv_browse_decades_pmv",OCULUS_TV_BROWSE_SURFACE_GENRE_PMV:"oculus_tv_browse_genres_pmv",OCULUS_TV_BROWSE_SURFACE_NEW_RELEASES_PMV:"oculus_tv_browse_new_releases_pmv",OCULUS_TV_BROWSE_SURFACE_POPULAR_PMV:"oculus_tv_browse_popular_pmv",OCULUS_TV_SEARCH:"oculus_tv_search",OFFERS_DETAIL:"offers_detail",PAGE_ADMIN_THINGS_YOU_SHOULD_DO_TIP:"page_admin_things_you_should_do_tip",PAGE_AUTOLOAD_WATCH_AND_SCROLL:"page_autoload_watch_and_scroll",PAGE_EPISODE_UPSELL:"page_episode_upsell",PAGE_LIVE_TAB:"page_live_tab",PAGE_LIVE_VIDEO_MODULE:"page_live_video_module",PAGE_MUSIC_VIDEOS_SPOTLIGHT:"page_music_videos_spotlight",PAGE_ROLES:"page_roles",PAGE_SERIES_ITEM:"page_series_item",PAGE_SPOTLIGHT:"page_spotlight",PAGE_TIMELINE_CHANNEL_TAB_VIDEOS_CARD:"page_timeline_channel_tab_videos_card",PAGE_TIMELINE_LIVE_CARD:"page_timeline_live_card",PAGE_TIMELINE_LIVE_NOW_DIALOG:"page_timeline_live_now_dialog",PAGE_TIMELINE_VIDEO_LIST_AGGREGATION:"page_timeline_video_list_aggregation",PAGE_UPSELL_CARDS:"page_upsell_cards",PAGES_COVER:"pages_cover",PAGES_COVER_HOVER:"pages_cover_hover",PAGES_FINCH_MAIN_VIDEO:"pages_finch_main_video",PAGES_FINCH_THUMBNAIL_VIDEO:"pages_finch_thumbnail_video",PAGES_FINCH_TRAILER:"pages_finch_trailer",PAGES_HOME_HERO:"pages_home_hero",PAGES_HOME_PMV_UNIT:"pages_home_pmv_unit",PAGES_MESSAGING_VIDEO:"pages_messaging_video",PAGES_TIMELINE_INLINE:"pages_timeline_inline",PAGES_TIMELINE_PAGES_COVER:"pages_timeline_pages_cover",PAGES_VIDEO_SET:"pages_video_set",PAID_CONTENT_PACKAGE_PERMALINK_COVER:"paid_content_package_permalink_cover",PDP_VIDEO:"pdp_video",PEOPLE_PORTAL:"people_portal",PERMALINK:"permalink",PIXELCLOUD_POST:"pixelcloud_post",PIXELCLOUD_POST_INBOX_PREVIEW:"pixelcloud_post_inbox_preview",PIXELCLOUD_PROJECT_POST_WIDGET:"pixelcloud_project_post_widget",PIXELCLOUD_PROJECT_PRESENTATION_SLIDE:"pixelcloud_project_presentation_slide",PLAYLIST_PAGE:"playlist_page",PLAYLISTS_CARD:"playlists_card",PLAYLISTS_TAB:"playlists_tab",PMV_BACK_CATALOG_QP:"pmv_back_catalog_qp",PMV_NEW_RELEASE_DIGEST:"pmv_new_release_digest",PMV_NEW_RELEASE_DIGEST_CHANNEL_VIEW:"pmv_new_release_digest_channel_view",PMV_NEW_RELEASE_QP:"pmv_new_release_qp",PMV_THIRD_PARTY_TRIGGERED_CTA:"pmv_third_party_triggered_cta",PMV_TOP_CHART_CTA:"pmv_top_chart_cta",PMV_UGC_CTA:"pmv_ugc_cta",PMV_YOUTUBE_STORY_LEVEL_CTA:"pmv_youtube_story_level_cta",PODCAST_HIGHLIGHT_FULL_EPISODE_CTA:"podcast_highlight_full_episode_cta",PODCASTS_ADMIN_PUBLISHED_VIEW:"podcasts_admin_published_view",PODCASTS_EPISODE_DEEPLINK:"podcast_episode_deplink",PODCASTS_EPISODE_PAGE:"podcasts_episode_page",PODCASTS_LISTEN_UP_QP:"podcasts_listen_up_qp",PODCASTS_ORION_SHOW_NAME:"podcasts_orion_show_name",PODCASTS_ORION_THUMBNAIL:"podcasts_orion_thumbnail",PODCASTS_PAGE_EPISODE_CARD:"podcasts_page_episode_card",PODCASTS_PROFILE_PLUS_EPISODE_CARD:"podcasts_profile_plus_episode_card",PODCASTS_PROFILE_PLUS_PINNED_FEATURE:"podcasts_profile_plus_pinned_feature",PODCASTS_SHOW_PAGE:"podcasts_show_page",PODCASTS_SINGLE_SHOW_DIGEST_QP:"podcasts_single_show_digest_qp",PODCASTS_TRAILER_CTA:"podcasts_trailer_cta",POE_QP:"poe_qp",PRODASH_OBJECT_INSIGHTS:"prodash_object_insights",PRODASH_WEB_MONETIZATION_ELIGIBILITY_PAGE:"prodash_web_monetization_eligibility_page",PROFILE_COVER:"profile_cover",PROFILE_FEATURED_SECTION:"profile_featured_section",PROFILE_OVERVIEW:"profile_overview",PROFILE_PLUS_LATEST_VIDEOS_CARD:"profile_plus_latest_videos_card",PROFILE_PLUS_LIVE_CARD:"profile_plus_live_card",PROFILE_PLUS_LIVE_VIDEOS_TAB:"profile_plus_live_videos_tab",PROFILE_PLUS_PINNED_PLAYLIST_CARD:"profile_plus_pinned_playlists_card",PROFILE_PLUS_PINNED_POPULAR_VIDEO_CARD:"profile_plus_pinned_popular_video_card",PROFILE_PLUS_PINNED_SERIES_CARD:"profile_plus_pinned_series_card",PROFILE_PLUS_PLAYLIST_CARD:"profile_plus_playlist_card",PROFILE_PLUS_POPULAR_VIDEO_CARD:"profile_plus_popular_video_card",PROFILE_PLUS_PRODUCT_TOUR:"profile_plus_product_tour",PROFILE_PLUS_SERIES_CARD:"profile_plus_sereis_card",PROFILE_PLUS_VIDEO_TAB:"profile_plus_video_tab",PROFILE_PLUS_VIDEOS_CARD:"profile_plus_videos_card",PROFILE_SWITCHER_ILLUSTRATION:"profile_switcher_illustration",PROFILE_VIDEO:"profile_video",PROFILE_VIDEO_HOVERCARD:"profile_video_hovercard",PROFILE_VIDEO_THUMB:"profile_video_thumb",PROTON:"proton",PUSH:"push",QUICK_PROMOTION:"quick_promotion",REDIRECTED_WATCH_SERP:"redirected_watch_serp",REELS_ENDCARD_RELATED_REELS:"reels_endcard_related_reels",REELS_FROM_SIMILAR_CREATORS_QP:"reels_from_similar_creators_qp",REELS_MIDCARD_RELATED_REELS:"reels_midcard_related_reels",REELS_TRENDING_HASHTAG_QP:"reels_trending_hashtag_qp",RELATED_PUBLISHERS_CUE:"related_publishers_cue",RELATED_REELS_GRID:"related_reels_grid",REMOTE_LEARNING_INSTRUCTOR_HOME:"remote_learning_instructor_home",REPORT_FLOW:"report_flow",RESULTS:"results",RESULTS_VIDEO_PIVOT:"results_video_pivot",RESULTS_VIDEO_SCOPED:"results_video_scoped",RESULTS_VIDEO_SEARCH_BAR:"results_video_search_bar",REVIEW:"review",RL_HUB:"rl_hub",ROBOTICS_RTC_PAGE:"robotics_rtc_page",ROBOTICS_TOUR_GUIDE_PAGE:"robotics_tour_guide_page",ROOMS_TRAY:"rooms_tray",SAVED_DASHBOARD:"saved_dashboard",SAVED_VIDEOS_QP:"saved_videos_qp",SEARCH_LIVE_VIDEO_MODULE:"search_live_video_module",SEARCH_NULLSTATE:"null_state",SEARCH_NULLSTATE_TOP_CONTENT:"search_nullstate_top_content",SEARCH_RESULT_PAGE:"search_result_page",SERIES_CARD:"series_card",SERP_INLINE_PLAYER:"serp_inline_player",SERP_THUMBNAIL_PREVIEW:"serp_thumbnail_preview",SERP_VIDEOS_TAB:"serp_videos_tab",SHARED_REELS_LANDING_PAGE:"shared_reels_landing_page",SHORT_VIDEOS_SPOTLIGHT:"short_videos_spotlight",SHOW_CATALOG_CTA:"show_catalog_cta",SHOWS_CATALOG:"shows_catalog",SINGLE_PAGE_CHANNEL:"single_page_channel",SLIDESHOW:"slideshow",SMC_PREONBOARDING_PROMOTIONAL_VIDEO:"smc_preonboarding_promotional_video",SNOWLIFT:"snowlift",SOTTO_AGGREGATED_LIST:"sotto_aggregated_list",SOTTO_CATALOG:"sotto_catalog",SOTTO_CONSIDERATION_PAGE:"sotto_consideration_page",SOTTO_CONSIDERATION_PAGE_BROWSE_SHOWS_SECTION:"sotto_consideration_page_browse_shows_section",SOTTO_FOLLOWING_SECTION:"sotto_following_section",SOTTO_MOVIE:"sotto_movie",SOTTO_NONSUBSCRIBER_UPSELL:"sotto_nonsubscriber_upsell",SOTTO_PAGE_TOP_CTA:"sotto_page_top_cta",SOTTO_SEARCH_RESULT:"sotto_search_result",SOTTO_SHOW:"sotto_show",SOTTO_SHOWS_FRIENDS_ARE_FOLLOWING_SECTION:"sotto_shows_friends_are_following_section",SOTTO_WELCOME_MAT:"sotto_welcome_mat",SOUNDBITES_FEED_ITEM:"soundbites_feed_item",SOUNDBITES_QP:"soundbites_qp",SOUNDBITES_TILE:"soundbites_tile",SPOTLIGHT_FEATURED:"spotlight_featured",SPOTLIGHT_LIVE:"spotlight_live",SPOTLIGHT_POPULAR:"spotlight_popular",SPOTLIGHT_UNKNOWN:"spotlight_unknown",SRT_REVIEW:"srt_review",STAGES_WAITING_ROOM_ONDEMAND:"stages_waiting_room_ondemand",STARS_ELIGIBLE_CREATOR_ONBOARDING_UPSELL_VIDEO:"stars_eligible_creator_onboarding_upsell_video",STARS_INELIGIBLE_CREATOR_ONBOARDING_UPSELL_VIDEO:"stars_ineligible_creator_onboarding_upsell_video",STORES_ACQUISITIONS_RIFU:"stores_acquisitions_rifu",STORIES_VIDEO_PREVIEW:"stories_video_preview",STORY_TRAY_LIVE_DROPDOWN:"story_tray_live_dropdown",STORY_VIEWER_LIVE_CTA:"story_viewer_live_cta",STORY_VIEWER_LIVE_DROPDOWN:"story_viewer_live_dropdown",STORY_VIEWER_LIVE_STICKER:"story_viewer_live_sticker",STORY_VIEWER_LIVE_VIDEO_VIEW:"story_viewer_live_video_view",SUBS_SHARE_PROMOTIONAL_VIDEO_PREVIEW:"subs_share_promotional_video_preview",SUGGESTED_PAGES_TO_FOLLOW_AGG:"suggested_pages_to_follow_agg",SUGGESTED_SEARCHES_CUE:"suggested_searches_cue",SVR_TOOL:"svr_tool",TAHOE:"tahoe",TAHOE_COSTREAMING_THUMBNAIL:"tahoe_costreaming_thumbnail",TEXT_BASED_VIDEO_EDITOR_ON_COMET:"text_based_video_editor_on_comet",TIMEPASS:"timepass",TOP_10_SHARED_VIDEOS:"top_10_shared_videos",TOPIC_ANIMALS:"topic_animals",TOPIC_AUDIO:"topic_audio",TOPIC_BEAUTY:"topic_beauty",TOPIC_CHANNEL_LIVING_ROOM:"topic_channel_living_room",TOPIC_CRICKET:"topic_cricket",TOPIC_EPHEMERAL_DESTINATION:"topic_ephemeral_destination",TOPIC_FEED:"topic_feed",TOPIC_FOLLOWING:"topic_following",TOPIC_FOLLOWING_CONTINUE_WATCHING:"topic_following_continue_watching",TOPIC_FOLLOWING_LATEST:"topic_following_latest",TOPIC_FOLLOWING_NOT_WATCHED:"topic_following_not_watched",TOPIC_FOOD:"topic_food",TOPIC_GAMING:"topic_gaming",TOPIC_INTEREST:"topic_interest",TOPIC_LIVE:"topic_live",TOPIC_MUSIC:"topic_music",TOPIC_NEWS:"topic_news",TOPIC_SAVED_VIDEOS:"topic_saved_videos",TOPIC_SHOWS:"topic_shows",TOPIC_SPORTS:"topic_sports",TOPICS:"topics",TOUCHPOINT_TIP_CREATION_TEST_PLAN:"touchpoint_tip_creation_test_plan",TPFC:"tpfc",TRAILER_OG_ATTACHMENT:"trailer_og_attachment",TRAILER_TIMELINE_COLLECTIONS:"trailer_timeline_collections",TRAILER_TIMELINE_UNIT:"trailer_timeline_unit",TRANSPARENCY_CONTENT_LIBRARY:"transparency_content_library",TRIVIA_GAME_ADMIN_DASHBOARD:"trivia_game_admin_dashboard",TV:"tv",UFI_COMMENT_ATTACHMENT:"ufi_comment_attachment",UNIFIED_EDITOR:"unified_editor",UNIFIED_TOFU:"unified_tofu",UNKNOWN:"unknown",USER_TIMELINE_CHANNEL_TAB_VIDEOS_CARD:"user_timeline_channel_tab_videos_card",USER_TIMELINE_VIDEO_LIST_AGGREGATION:"user_timeline_video_list_aggregation",USER_VIDEO_TAB:"user_video_tab",VEP_SESSION:"vep_session",VEP_WAITING_ROOM:"vep_waiting_room",VIDEO_COMPOSER_CROSSPOSTING_REVIEW:"video_composer_crossposting_review",VIDEO_COPYRIGHT_PREVIEW:"video_copyright_preview",VIDEO_COPYRIGHT_SEGMENT_PREVIEW:"video_copyright_segment_preview",VIDEO_HOME_BADGING_SURFACE:"video_home_badging_surface",VIDEO_HOME_CATALOG:"video_home_catalog",VIDEO_HOME_CHANNEL:"video_home_channel",VIDEO_HOME_CHANNEL_TAB_VIDEOS_CARD:"video_home_channel_tab_videos_card",VIDEO_HOME_CRICKET:"video_home_cricket",VIDEO_HOME_EXPLORE:"discover",VIDEO_HOME_EXPLORE_TAB:"explore",VIDEO_HOME_INLINE:"video_home_inline",VIDEO_HOME_MY_WATCH:"video_home_my_watch",VIDEO_HOME_NOTIF_HUB:"notif_hub",VIDEO_HOME_PINEAPPLE_HOME:"video_home_pineapple_home",VIDEO_HOME_RAINBOW_QP:"video_home_rainbow_qp",VIDEO_HOME_THUMBNAIL_PREVIEW:"video_home_thumbnail_preview",VIDEO_HOME_TOP_SEARCHED_TV_MOVIES_KEYWORDS:"video_home_top_searched_tv_movies_keywords",VIDEO_HOME_TV_MOVIES:"video_home_tv_movies",VIDEO_HOME_VIDEO_LIST_AGGREGATION:"video_home_video_list_aggregation",VIDEO_HOME_VIDEO_NOT_FOUND:"video_home_video_not_found",VIDEO_HOME_WATCHLIST:"watchlist",VIDEO_INFRA_PORTAL_STARFOX_PLAYGROUND:"video_infra_portal_starfox_playground",VIDEO_INLINE_CHAINING:"video_inline_chaining",VIDEO_INSIGHTS_METADATA_SUMMARY:"video_insights_metadata_summary",VIDEO_INSIGHTS_MULTIVIEWER:"video_insights_multiviewer",VIDEO_INSIGHTS_OPSVIEW:"video_insights_opsview",VIDEO_INSPECTOR:"video_inspector",VIDEO_LIST:"video_list",VIDEO_LIST_AGGREGATION:"video_list_aggregation",VIDEO_LIST_AGGREGATION_PLAYLIST:"video_list_aggregation_playlist",VIDEO_LIST_AGGREGATION_SERIES:"video_list_aggregation_series",VIDEO_PAGE_SPOTLIGHT_UNIT:"video_page_spotlight_unit",VIDEO_PAGE_UNSPECIFIED:"video_page_unspecified",VIDEO_PAGE_VIDEO_LIST:"video_page_video_list",VIDEO_WALL:"video_wall",VIDEOHUB_FEATURED:"videohub_featured",VIDEOHUB_LIVE:"videohub_live",VIDEOHUB_PLAYLIST:"videohub_playlist",VIDEOS_CARD:"videos_card",VIDEOS_FEED_UNIT:"videos_feed_unit",VIDEOS_TAB:"videos_tab",VOICES_PODCAST:"voices_podcast",VOTING_INFORMATION_CENTER:"voting_information_center",WARION_AGGREGATION:"warion_aggregation",WATCH:"watch",WATCH_BOOKMARK_PROMOTION_QP:"watch_bookmark_promotion_qp",WATCH_CASTING_QP:"watch_casting_qp",WATCH_CONTINUE_WATCHING:"watch_continue_watching",WATCH_CONTINUE_WATCHING_QP:"watch_continue_watching_qp",WATCH_CREATOR_QP:"watch_creator_qp",WATCH_EPHEMERAL_DESTINATION_QP:"watch_ephemeral_destination_qp",WATCH_EVENT_VIDEO_CREATORS_QP:"watch_event_video_creators_qp",WATCH_EXPLORE_SURFACE_FEATURED_CURATION:"watch_explore_surface_featured_curation",WATCH_EXPLORE_SURFACE_GCU:"watch_explore_surface_gcu",WATCH_EXPLORE_SURFACE_INTEREST:"watch_explore_surface_interest",WATCH_EXPLORE_SURFACE_NEW_RELEASES_PMV:"watch_explore_surface_new_releases_pmv",WATCH_EXPLORE_SURFACE_PAGES:"watch_explore_surface_pages",WATCH_EXPLORE_SURFACE_POPULAR_PMV:"watch_explore_surface_popular_pmv",WATCH_EXPLORE_SURFACE_PYML:"watch_explore_surface_pyml",WATCH_EXPLORE_SURFACE_TOP_TEN:"watch_explore_surface_top_ten",WATCH_EXPLORE_SURFACE_TRENDING:"watch_explore_surface_trending",WATCH_EXPLORE_SURFACE_TRENDING_AUDIO:"watch_explore_surface_trending_audio",WATCH_EXPLORE_SURFACE_TRENDING_GAMING_LIVESTREAMERS:"watch_explore_surface_trending_gaming_livestreamers",WATCH_EXPLORE_SURFACE_TRENDING_GAMING_LIVESTREAMS:"watch_explore_surface_trending_gaming_livestreams",WATCH_EXPLORE_SURFACE_TRENDING_GAMING_VIDEOS:"watch_explore_surface_trending_gaming_videos",WATCH_EXPLORE_SURFACE_TRENDING_SUBTOPIC:"watch_explore_surface_trending_subtopic",WATCH_EXPLORE_SURFACE_TVM:"watch_explore_surface_tv_movie",WATCH_EXPLORE_TRENDING_REELS_CREATORS:"watch_explore_trending_reels_creators",WATCH_EXPLORE_TRENDING_UNIT:"watch_explore_trending_unit",WATCH_FEED_REELS_HSCROLL:"watch_feed_reels_hscroll",WATCH_HASHTAG_REELS_HSCROLL:"watch_hashtag_reels_hscroll",WATCH_HISTORY:"watch_history",WATCH_LIKED_VIDEOS:"watch_liked_videos",WATCH_NULLSTATE_DISCOVERY_GCU:"watch_nullstate_discovery_gcu",WATCH_NULLSTATE_DISCOVERY_INTEREST:"watch_nullstate_discovery_interest",WATCH_NULLSTATE_DISCOVERY_PYML:"watch_nullstate_discovery_pyml",WATCH_ORIGINALS_QP:"watch_originals_qp",WATCH_PERMALINK_BOTTOM_SHEET_LANDING:"watch_permalink_bottom_sheet_landing",WATCH_PERMALINK_BOTTOM_SHEET_VIDEOS:"watch_permalink_bottom_sheet_videos",WATCH_PERMALINK_HEADER:"watch_permalink_header",WATCH_PERMALINK_PROMO_UNIT:"watch_permalink_promo_unit",WATCH_PERMALINK_REELS_HSCROLL:"watch_permalink_reels_hscroll",WATCH_PREMIUM_CONTENT_QP:"watch_premium_content_qp",WATCH_RACIAL_INJUSTICE_QP:"watch_racial_injustice_qp",WATCH_RAINBOW_QP:"watch_rainbow_qp",WATCH_SCROLL:"watch_scroll",WATCH_SEARCH_DISCOVER:"watch_search_discover",WATCH_SOTTO_CATALOG_ENTRY_POINT:"watch_sotto_catalog_entry_point",WATCH_SOTTO_CATALOG_PROMOTION:"watch_sotto_catalog_promotion",WATCH_SUBTOPIC_CHANNEL:"watch_subtopic_channel",WATCH_SUGGESTED_PAGES_QP:"watch_suggested_pages_qp",WATCH_TOPIC_PILLS_TO_CHANNEL:"watch_topic_pills_to_channel",WATCH_TRENDING_CONTENT_VERTICALS_QP:"watch_trending_content_verticals_qp",WATCH_VIDEO_HIGHLIGHTS_QP:"watch_video_highlights_qp",WATCHLIST_AGGREGATION:"watchlist_aggregation",WHATSAPP_WEB_CHANNELS:"whatsapp_web_channels",WHATSAPP_WEB_STATUS_VIEWER:"whatsapp_web_status_viewer",WISP_WEBSITE:"wisp_website",WOODHENGE_COMET_SIGNUP:"woodhenge_comet_signup",WORK_CAPTIONS_REVIEW:"work_captions_review",WORK_CHAPTERS_EDITOR:"work_chapters_editor",WORK_EVENTS_BROADCASTS_TAB:"work_events_broadcasts_tab",WORK_TOP_OF_FEED_UNIT:"work_top_of_feed_unit",WORK_VIDEO_QP:"work_video_qp",WORK_WATCH_COLLECTIONS:"work_watch_collections",WORK_WATCH_COLLECTIONS_OFFICIAL:"work_watch_collections_official",WORK_WATCH_GROUPS:"work_watch_groups",WORK_WATCH_GROUPS_ALL:"work_watch_groups_all",WORK_WATCH_GROUPS_OUTER:"work_watch_groups_outer",WORK_WATCH_GROUPS_POPULAR:"work_watch_groups_popular",WORK_WATCH_HOME:"work_watch_home",WORK_WATCH_HOME_CAROUSEL:"work_watch_home_carousel",WORK_WATCH_HOME_CONTINUE_WATCHING:"work_watch_home_continue_watching",WORK_WATCH_HOME_EXPLORE_OTHER_GROUPS:"work_watch_home_explore_other_groups",WORK_WATCH_HOME_HEAR_ABOUT_LEADERS:"work_watch_home_hear_about_leaders",WORK_WATCH_HOME_POPULAR:"work_watch_home_popular",WORK_WATCH_HOME_RECENT_FROM_GROUPS:"work_watch_home_recent_from_groups",WORK_WATCH_HOME_RECENT_OTHER_GROUPS:"work_watch_home_recent_other_groups",WORK_WATCH_HOME_RECENTLY_LIVE:"work_watch_home_recently_live",WORK_WATCH_HOME_RECENTLY_WATCHED:"work_watch_home_recently_watched",WORK_WATCH_HOME_SAVED_VIDEOS:"work_watch_home_saved_videos",WORK_WATCH_LIVE:"work_watch_live",WORK_WATCH_LIVE_ALL:"work_watch_live_all",WORK_WATCH_LIVE_POPULAR:"work_watch_live_popular",WORKPLACE_INSIGHTS:"workplace_insights"});i.default=e}),66);
__d("VideoPlayerWwwFalcoEvent",["FalcoLoggerInternal","getFalcoLogPolicy_DO_NOT_USE"],(function(t,n,r,o,a,i,l){"use strict";var e=r("getFalcoLogPolicy_DO_NOT_USE")("1914651"),s=o("FalcoLoggerInternal").create("video_player_www",e),u=s;l.default=u}),98);
__d("VideoPlayerLogger",["invariant","FBLogger","VideoPlayerExperiments","VideoPlayerHTML5Experiments","VideoPlayerLoggerErrorStates","VideoPlayerLoggerErrors","VideoPlayerLoggerFallbackReasons","VideoPlayerLoggerPlayerStates","VideoPlayerLoggerSource","VideoPlayerWwwFalcoEvent","getVideoBrowserTabId","performanceAbsoluteNow"],(function(t,n,r,o,a,i,l){"use strict";var e,s=200,u=n("VideoPlayerHTML5Experiments").discerningAbandonStallLogging,c=n("VideoPlayerHTML5Experiments").useBanzaiVitalForLive;function d(e,t,n,r){return babelHelpers.extends({event_name:e,source:n,scriptPath:r},t)}var m=5e3,p=function(){return n("VideoPlayerHTML5Experiments").useMonotonicallyIncreasingTimers?(e||(e=n("performanceAbsoluteNow")))():Date.now()},_=(function(){function e(e,t){this.$28=[],this.$29=null,this.$30=0,this.$31=!1,this.$2=e,this.$3=null,this.$5={},this.$4=t,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()}var t=e.prototype;return t.updateSource=function(t){this.$2=t},t.getSource=function(){return this.$2},t.disable=function(){this.$31=!0},t.isDisabled=function(){return this.$31},t.logEvent=function(t,r){var e=this;switch(r=babelHelpers.extends({},r,this.$4),r.initial_event=!Object.prototype.hasOwnProperty.call(this.$5,t),Object.prototype.hasOwnProperty.call(r,"time_ms")||(r.time_ms=p()),Object.prototype.hasOwnProperty.call(r,"browser_tab_id")||(r.browser_tab_id=n("getVideoBrowserTabId")()),Object.prototype.hasOwnProperty.call(r,"time")||(r.time=Math.round(r.time_ms/1e3)),r.is_stalling=this.$34(),r.error_user_info=this.$35(r.error_user_info),this.$3&&Object.assign(r,this.$3),n("VideoPlayerExperiments").logVideoFramesInfo&&this.$36(),t){case"paused":case"finished_playing":{if(this.$24){var o=this.$24,a=o.getABREvaluation();r.ideal_samples=a.idealSamples,r.conservative_samples=a.conservativeSamples,r.aggressive_samples=a.aggressiveSamples,r.conservative_resolution_constrained_samples=a.conservativeResolutionConstrainedSamples,r.last_quality_switch_reason=a.lastQualitySwitchReason,r.reason&&o.setLastQualitySwitchReason(r.reason)}var i=typeof this.$25=="function"&&this.$25(),l=typeof this.$26=="function"&&this.$26();typeof l=="number"&&typeof i=="number"&&(r.dropped_frame_count=i,r.total_frame_count=l);break}}switch(t){case"started_playing":case"unpaused":this.$27=!0;break;case"finished_playing":case"error":case"paused":this.$27=!1;break}switch(t){case"requested_playing":this.$32(),this.$37(),this.$5.started_playing?r.state=n("VideoPlayerLoggerPlayerStates").UNPAUSED:r.state=n("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(t==="error"&&r.state===n("VideoPlayerLoggerErrorStates").PLAYER_FAILURE&&!this.$5.started_playing&&(r.state=n("VideoPlayerLoggerPlayerStates").STARTED),t==="error"&&n("VideoPlayerExperiments").disableStallLoggingForError||t=="representation_ended"&&!this.$5.started_playing||t==="heart_beat"&&(!this.$5.started_playing||!n("VideoPlayerHTML5Experiments").heartbeatUpdateWatchTimeV2||this.$34())||(t==="heart_beat"&&(r.v2_heart_beat=!0),(t==="started_playing"||t==="unpaused")&&(this.$11=r.time_ms,this.$38()),t==="error"&&r.state!==n("VideoPlayerLoggerErrorStates").PLAYBACK_FAILURE))break;t==="cancelled_requested_playing"&&(this.$5.started_playing?r.state=n("VideoPlayerLoggerPlayerStates").UNPAUSED:r.state=n("VideoPlayerLoggerPlayerStates").STARTED),this.$39(),this.$40(),(t==="paused"||t==="finished_playing")&&(u&&t==="finished_playing"&&this.$38(),r.recent_stalls_count=this.$41()),this.$42(),this.$43(r),this.$44(r),this.$33(),u&&this.$38(),this.$32();break}if(n("VideoPlayerExperiments").logVideoFramesInfo)switch(t){case"started_playing":case"unpaused":case"finished_playing":case"paused":case"heart_beat":{var s=this.$45();s&&(r.video_frames_info=s);break}}var m={logData:r,event:t,scriptPath:this.$1,source:this.$2};return t||n("FBLogger")("video").warn("Missing event name"),this.$5[t]=!0,this.$2==="animated_image_share"||this.isDisabled()?null:(r.ad_client_token||c&&r.playback_is_live_streaming?n("VideoPlayerWwwFalcoEvent").logImmediately(function(){return d(t,r,e.$2,e.$1)}):n("VideoPlayerWwwFalcoEvent").log(function(){return d(t,r,e.$2,e.$1)}),m)},t.setScriptPath=function(t){this.$1=t},t.setFTData=function(t){this.$3=t},t.setABRQualityTracker=function(t){this.$24=t},t.setFrameCountGetters=function(t,n){this.$25=t,this.$26=n},t.startBuffering=function(t){n("VideoPlayerHTML5Experiments").disableBufferingBeforeStartedPlaying&&!this.$5.started_playing||this.$37(t)},t.endBuffering=function(){n("VideoPlayerHTML5Experiments").disableBufferingBeforeStartedPlaying&&!this.$5.started_playing||(this.$40(),this.$46(),this.$39(),this.$42())},t.startInterrupt=function(){this.$47()},t.endInterrupt=function(){this.$40(),this.$46()},t.$34=function(){return this.$15>0},t.$37=function(t){this.$34()||(this.$16=this.$27,this.$15=Date.now(),t!==void 0&&this.$5.started_playing&&(this.$17=t))},t.$47=function(){this.$48()||(this.$21=Date.now())},t.$48=function(){return this.$21>0},t.$49=function(){return this.$48()?Date.now()-this.$21:0},t.$50=function(){return this.$34()?Date.now()-this.$15:0},t.$40=function(){if(this.$48()){var e=this.$49();this.$22+=e,this.$20+=e,this.$23+=1,this.$19+=1}},t.$46=function(){this.$48()&&(this.$21=0)},t.$33=function(){this.$22=0,this.$23=0,this.$46()},t.$39=function(){if(this.$34()){var e=this.$50();this.$17!==null&&(this.$18=e),this.$14+=e,this.$8+=e,this.$12++,e>200&&this.$13++,this.$7++,this.$16&&(this.$10+=e,this.$9++,this.$16=!1),u&&this.$6.push(p())}},t.$42=function(){this.$34()&&(this.$15=0)},t.$35=function(t){return t&&typeof t=="object"?JSON.stringify(t):t},t.$36=function(){var e=this;this.$29||(this.$29=setInterval(function(){return e.$51()},s))},t.$51=function(){var e=typeof this.$26=="function"&&this.$26(),t=typeof this.$25=="function"&&this.$25();typeof e=="number"&&typeof t=="number"&&(e!==this.$30||t!==0)&&(this.$28.push({time_stamp:p(),total_frames:e,dropped_frames:t}),this.$30=e)},t.$45=function(){if(!this.$28.length)return null;var e=[];for(var t of this.$28)e.push([t.time_stamp,t.total_frames,t.dropped_frames]);return this.$28=[],JSON.stringify(e)},t.stopCollectingVideoFramesInfo=function(){clearInterval(this.$29),this.$29=null,this.$28=[]},t.getCumulativeStallCount=function(){return this.$7},t.getCumulativeInPlayStallCount=function(){return this.$9},t.getStallCount=function(){return this.$12},t.getCumulativeStallTime=function(){return this.$8+this.$50()},t.getCumulativeInPlayStallTime=function(){return this.$10+(this.$16?this.$50():0)},t.getCumulativeInterruptCount=function(){return this.$19},t.getCumulativeInterruptTime=function(){return this.$20+this.$49()},t.$43=function(t){t.stall_time=Math.max(0,this.$14),t.stall_count=this.$12,t.stall_count_200_ms=this.$13,this.$18&&(t.first_stall_time=this.$18,t.first_stall_start_position=this.$17)},t.$44=function(t){t.interrupt_time=Math.max(0,this.$22),t.interrupt_count=this.$23},t.$41=function(){var e=p(),t=e-m;return this.$6=this.$6.filter(function(e){return e>=t}),u||this.$12>0&&this.$6.push(e),this.$6.length},t.$32=function(){this.$14=0,this.$15=0,this.$12=0,this.$13=0,this.$17=null,this.$18=0},t.$38=function(){this.$6=[]},t.getFTdata=function(){return this.$3},e})();_.Sources=n("VideoPlayerLoggerSource"),_.Errors=n("VideoPlayerLoggerErrors"),_.FallbackReasons=n("VideoPlayerLoggerFallbackReasons"),_.ErrorStates=n("VideoPlayerLoggerErrorStates"),_.PlayerStates=n("VideoPlayerLoggerPlayerStates"),a.exports=_}),null);
__d("VideoPlayerQualitiesArray",[],(function(t,n,r,o,a,i){"use strict";var e=720,l=2160;function s(e){return e}function u(e){return e.length>0?e[e.length-1]:void 0}function c(e){return e.length>0?e[0]:void 0}function d(e){return e.length>1}function m(e,t){var n=u(e);return n!=null&&t!=null&&t===n}function p(t){return t!=null&&(t==="HD"||parseInt(t,10)>=e)}function _(e){return e!=null&&parseInt(e,10)>=l}function f(e,t){var n=c(e),r=u(e);if(m(e,t)){if(n!=null)return n}else if(r!=null)return r}i.ensureVideoPlayerQualitiesArray=s,i.getHighestVideoQuality=u,i.getLowestVideoQuality=c,i.hasHDVideoQuality=d,i.isHDSelectedVideoQuality=m,i.isVideoQualityTypicallyConsideredHD=p,i.isVideoQualityTypicallyConsideredHD4K=_,i.getPreferredVideoQualityForToggleHD=f}),66);
__d("VideoPlayerReasonTransitionHelper",[],(function(t,n,r,o,a,i){var e=(function(){function e(e){this.$1=e}var t=e.prototype;return t.getReason=function(){return this.$1},e})();i.default=e}),66);
__d("VideoPlayerShakaBandwidthEstimator",["CacheStorage","Run","requireWeak"],(function(t,n,r,o,a,i,l){var e;r("requireWeak")("Shaka",function(t){e=t.util.EWMACacheBandwidthEstimator});var s=null,u=!1,c=30,d=2e6,m=25e4,p=123034,_=(function(){function t(){var t=this,n=new(r("CacheStorage"))("localstorage","_video_"),a=n.get("bandwidthEstimate");this.$1={isMockObject:!0,getBandwidth:function(t){return a},getFastMovingBandwidth:function(){return a}},e&&(this.$1=new e(c,d,function(){},a),this.$1.isMockObject=!1),o("Run").onUnload(function(){n.set("bandwidthEstimate",t.$1.getBandwidth())})}var n=t.prototype;return n.getEstimator=function(){return this.$1},t.getInstance=function(){return(s===null||s.getEstimator().isMockObject&&e)&&(s=new t),s},t.getEstimator=function(){return t.getInstance().getEstimator()},t.getBandwidth=function(n){var e=t.getEstimator();return e.getBandwidth(n)},t.getBandwidthByVideoType=function(n){return t.getBandwidth(t.getBandwidthModel(n))},t.getBandwidthModel=function(t){return t?"aggressive":"conservative"},t.isAutoplayBandwidthRestrained=function(n){var e=t.getEstimator(),r;u?r=e.getFastMovingBandwidth():r=e.getBandwidth();var o=n?m:p;return r===null||r>=o?u=!1:u=!0,u},t})();l.default=_}),98);
__d("VideoPlayerShakaConfigContextProvider",[],(function(t,n,r,o,a,i){"use strict";var e=(function(){function e(){this.$1={}}var t=e.prototype;return t.setContext=function(t,n){if(this.$1[t]!==n){var e;this.$1=babelHelpers.extends({},this.$1,(e={},e[t]=n,e))}},t.setAllContexts=function(t){this.$1=t},t.getAllContexts=function(){return this.$1},e})();i.default=e}),66);
__d("VideoPlayerShakaConfig",["VideoPlayerContextSensitiveConfigResolver","VideoPlayerShakaConfigContextProvider"],(function(t,n,r,o,a,i,l){var e={},s=(function(){function t(e,t,n){this.$1=new(r("VideoPlayerShakaConfigContextProvider")),this.$2=t||null,this.$3=new(r("VideoPlayerContextSensitiveConfigResolver"))(n),this.$3.setContexts(e||{}),e&&this.$1.setAllContexts(e)}t.setGlobalOverrideConfig=function(n){e=n};var n=t.prototype;return n.setContext=function(t,n){var e=this.$1.getAllContexts();this.$1.setContext(t,n);var r=this.$1.getAllContexts();e!==r&&this.$3.setContexts(r)},n.setOverrideConfig=function(t){this.$2=t},n.getBool=function(t,n){var e=this.$4(t,n);return typeof e=="boolean"?e:n},n.getNumber=function(t,n){var e=this.$4(t,n);return typeof e=="number"?e:n},n.getString=function(t,n){var e=this.$4(t,n);return typeof e=="string"?e:n},n.getAllContexts=function(){return this.$1.getAllContexts()},n.$4=function(n,r){return e&&typeof e[n]==typeof r?e[n]:typeof this.$3.getValue(n)==typeof r?this.$3.getValue(n):this.$2&&typeof this.$2[n]==typeof r?this.$2[n]:null},t})();l.default=s}),98);
__d("VideoPlayerStateBasedLoggingEvents.experimental",["cr:10759"],(function(t,n,r,o,a,i,l){"use strict";l.default=n("cr:10759")}),98);
__d("VideoPlayerUIComponentDrawerController",["VideoPlayerUIComponentDrawer"],(function(t,n,r,o,a,i,l){"use strict";var e=function(t,n){return t.getPriority()-n.getPriority()},s=(function(){function t(){this.$1=[]}var n=t.prototype;return n.register=function(n,o){var t=this,a=new(r("VideoPlayerUIComponentDrawer"))(n,o);return a.addListener("reserve",function(){return t.$2(n)}),a.addListener("release",function(){return t.$2(n)}),a.addListener("heightChange",function(){return t.$2(n)}),this.$1.push(a),this.$1.sort(e),a},n.$2=function(t){var e=0;this.$1.forEach(function(n){n.getPriority()>t&&n.emit("reposition",e),n.isReserved()&&(e+=n.getHeight())})},t})();l.default=s}),98);
__d("VideoViewabilityKeyEvents",[],(function(t,n,r,o,a,i){a.exports={Events:["entered_fs","exited_fs","finished_playing","paused","player_format_changed","started_playing","unpaused"]}}),null);
__d("ViewabilityVideoElement",["UITinyViewportAction","getElementPosition","getViewportDimensions"],(function(t,n,r,o,a,i,l){var e=42,s=(function(){function t(e,t,n,r){r===void 0&&(r=!1),this.$1=e,this.$2=t,this.$3=n,this.$4=r}var n=t.prototype;return n.feedViewabilityPercentage=function(){var e=r("UITinyViewportAction").isTinyHeight();return this.$5(!e)},n.viewabilityPercentage=function(){return this.$5(!1)},n.isTopElement=function(t,n,r){var e=document.elementFromPoint(n,r);return e===t||!!t&&t.contains(e)||!!e&&e.contains(t)},n.$5=function(n){var t=r("getViewportDimensions")(),o=t.width,a=t.height,i=this.$4&&this.$3?this.$3:this.$1,l=r("getElementPosition")(i);if(l.width===0||l.height===0)return 0;var s=l.x,u=l.x+l.width,c=l.y,d=l.y+l.height,m=n?e:0;if(u<=0||s>=o||d<=m||c>=a)return 0;var p=Math.min(u,o)-Math.max(s,0),_=Math.min(d,a)-Math.max(c,m);return p*_*100/(l.width*l.height)},t})();l.default=s}),98);
__d("VideoViewabilityLogging",["VideoPlayerExperiments","ViewabilityVideoElement","performanceNow"],(function(t,n,r,o,a,i,l){var e,s=new Map([[0,0],[25,25],[50,50],[75,75],[100,100]]),u=(function(){function t(t,n,o,a){var i=this;this.$14=function(t){if(i.$8()){var n=(e||(e=r("performanceNow")))();n-i.$1>r("VideoPlayerExperiments").viewabilityPollingRate&&(i.$12(),i.$1=n),i.$13()}},this.$11=function(){i.$16()},this.$10=function(){i.setLastLoggedViewability(i.getViewability()),i.$15()},this.$1=0,this.$5=t,this.$6=new(r("ViewabilityVideoElement"))(n,o,a,this.$5.isSpherical()),this.$7()}var n=t.prototype;return n.getViewability=function(){var e;return this.$5.isInline()?e=this.$6.feedViewabilityPercentage():e=this.$6.viewabilityPercentage(),r("VideoPlayerExperiments").pauseVideosOnViewability&&e<50&&this.$8()&&this.$5.pause(),this.$9(e)},n.setLastLoggedViewability=function(t){this.$4=t},n.$7=function(){this.$5.addListener("beginPlayback",this.$10),this.$5.addListener("pausePlayback",this.$11)},n.$12=function(){var e=this.getViewability();e!=this.$4&&(this.$5.logEvent("viewability_changed",{current_viewability_percentage:e,last_viewability_percentage:this.$4}),this.$4=e)},n.$13=function(){var t=this,n=r("VideoPlayerExperiments").organicViewabilityLoggingPollingTimeMs,o=r("VideoPlayerExperiments").organicViewabilityLoggingUseSetTimeout,a=!this.$5.isAd()&&o?function(){t.$3=window.setTimeout(function(){return t.$14((e||(e=r("performanceNow")))())},n)}:function(){t.$2=window.requestAnimationFrame(t.$14)};a()},n.$15=function(){this.$13()},n.$16=function(){this.$17()},n.$17=function(){var e=this,t=r("VideoPlayerExperiments").organicViewabilityLoggingUseSetTimeout,n=!this.$5.isAd()&&t?function(){return window.clearTimeout(e.$3)}:function(){return window.cancelAnimationFrame(e.$2)};n()},n.$8=function(){return this.$5.getVideoAPI().isPaused()!==void 0?!this.$5.getVideoAPI().isPaused():this.$5.getState()==="playing"},n.$9=function(t){var e=-2;if(t<=0)return e;for(var n of s){var r=n[0],o=n[1];t>=r&&(e=o)}return e},t})();l.default=u}),98);
__d("VideoVisibilityObserver",["EventEmitter","VideoPlayerExperiments","intersectionObserverEntryIsIntersecting"],(function(t,n,r,o,a,i,l){var e=[0,.1,.2,.3,.4,.5,.6,.7,.8,.9,1],s=44,u="-"+s+"px 0px 0px",c=(function(t){function n(n){var o;o=t.call(this)||this,o.$VideoVisibilityObserver$p_4=function(e){var t=e[e.length-1],n=o.$VideoVisibilityObserver$p_1,a=o.$VideoVisibilityObserver$p_2;o.$VideoVisibilityObserver$p_1=t.intersectionRatio,o.$VideoVisibilityObserver$p_2=r("intersectionObserverEntryIsIntersecting")(t),(n!==o.$VideoVisibilityObserver$p_1||a!==o.$VideoVisibilityObserver$p_2)&&o.emit("visibilityChanged",o.$VideoVisibilityObserver$p_1)},o.$VideoVisibilityObserver$p_1=0,o.$VideoVisibilityObserver$p_2=!1;var a=e,i=r("VideoPlayerExperiments").videoVisibilityObserverUseMinimumThreshold;return i&&(a=[.5]),o.$VideoVisibilityObserver$p_3=new IntersectionObserver(o.$VideoVisibilityObserver$p_4,{threshold:a,rootMargin:u}),o.$VideoVisibilityObserver$p_3.observe(n),o}babelHelpers.inheritsLoose(n,t);var o=n.prototype;return o.destroy=function(){this.$VideoVisibilityObserver$p_3&&(this.$VideoVisibilityObserver$p_3.disconnect(),this.$VideoVisibilityObserver$p_3=null)},o.getIsIntersecting=function(){return this.$VideoVisibilityObserver$p_2},o.getCurrentIntersectionRatio=function(){return this.$VideoVisibilityObserver$p_1},n})(r("EventEmitter"));l.default=c}),98);
__d("ViewportTrackingHelper",["DOMDimensions","ge","getElementPosition","getElementRect","getViewportDimensions"],(function(t,n,r,o,a,i,l){"use strict";function e(e,t){if(e===t)return!0;for(;e&&e.parentElement;){if(e.parentElement===t)return!0;e=e.parentElement}return!1}function s(e,t){return d(r("getViewportDimensions")(),e,t)}function u(e,t){var n=r("ge")("pagelet_bluebar");return n==null?s(e,t):d(r("getViewportDimensions")(),e,t,n.clientHeight)}var c=function(t,n){var e=r("getElementRect")(t),o=r("getElementRect")(n);return o.top>=e.top&&o.bottom<=e.bottom&&o.left>=e.left&&o.right<=e.right};function d(e,t,n,a){a===void 0&&(a=0);var i=r("getElementPosition")(t),l=o("DOMDimensions").getElementDimensions(t);if(!i.x&&!i.y&&!l.height&&!l.width)return!1;var s=Math.max(i.y,a),u=Math.min(i.y+l.height,e.height),c=Math.min(l.height,n);return u-s>=c}function m(e,t){var n=p(e),r=o("DOMDimensions").getElementDimensions(e),a=Math.min(r.height,t);return n>=a?n:0}function p(e){var t=r("getElementPosition")(e),n=o("DOMDimensions").getElementDimensions(e);if(!t.x&&!t.y&&!n.x&&!n.y)return 0;var a=r("getViewportDimensions")().height,i=Math.max(t.y,0),l=Math.min(t.y+n.height,a);return l-i}function _(e){for(var t=!1,n=[],r=0;r<e.length;r++){var o=e[r];if(s(o,0,null))n.push(o),t=!0;else if(t)break}return n}l.isDescendantOf=e,l.isVisible=s,l.isVisibleUnderBluebar=u,l.isFullyVisibleInContainer=c,l.isVisibleInDimension=d,l.getHeightIfVisible=m,l.getHeightInViewport=p,l.getElementsInViewIgnoreHeight=_}),98);
__d("WebSessionExtender",["WebSession","clearInterval","cr:13141","cr:913","setInterval"],(function(t,n,r,o,a,i,l){"use strict";var e=2e4,s=new Set,u=null;function c(t,a){a===void 0&&(a="extender"),s.add(t),u==null&&(o("WebSession").extend(Date.now()+e+2e3),n("cr:13141")==null||n("cr:13141").extend(),u=r("setInterval")(function(){o("WebSession").extend(Date.now()+e+2e3),n("cr:13141")==null||n("cr:13141").extend(),n("cr:913")&&new(n("cr:913"))().setClientTime(Date.now()).setWebsessionID(o("WebSession").getId()).setReason(a).log()},e))}function d(e){s.delete(e);var t=s.size;t===0&&u!=null&&(r("clearInterval")(u),u=null)}l.subscribe=c,l.unsubscribe=d}),98);
__d("XVideoDataControllerRouteBuilder",["jsRouteBuilder"],(function(t,n,r,o,a,i,l){var e=r("jsRouteBuilder")("/video/video_data/",Object.freeze({supports_html5_video:!0,is_ad:!1,force_flash:!1,is_omnistab_preview_select_revert:!1}),void 0),s=e;l.default=s}),98);
__d("canVideoPlayType",[],(function(t,n,r,o,a,i){var e=null;function l(t){return e=e||document.createElement("video"),"canPlayType"in e?e.canPlayType(t):""}i.default=l}),66);
__d("enumerate",[],(function(t,n,r,o,a,i){"use strict";var e=(function(e){return e.FB_enumerate})(t);i.default=e}),66);
__d("forwardEvent",[],(function(t,n,r,o,a,i){function e(e,t,n){return e.addListener(n,function(){for(var e=arguments.length,r=new Array(e),o=0;o<e;o++)r[o]=arguments[o];return t.emit.apply(t,[n].concat(r))})}i.default=e}),66);
__d("getFullScreenElement",[],(function(t,n,r,o,a,i){function e(){if(document.fullscreenElement!=null)return document.fullscreenElement;var e=document.webkitFullscreenElement;if(e!=null)return e;var t=document.mozFullScreenElement;return t!=null?t:document.msFullscreenElement}a.exports=e}),null);
__d("getVideoComponentName",[],(function(t,n,r,o,a,i){function e(e){if(e!=null){var t=null;if(e.prototype&&e.prototype.constructor?t=e.prototype.constructor:e.constructor&&(t=e.constructor),t&&t.name)return t.name;if(typeof e.toString=="function")return e.toString()}return null}i.default=e}),66);
__d("VideoPlayerController",["csx","cx","invariant","Arbiter","Banzai","Bootloader","CSS","CVCv3VideoControllerHelper","CaptionSettings","CurrentUser","DOM","DOMDimensions","DOMQuery","DelegatedVideoPriorityAdjuster","ErrorUtils","EventEmitter","FBLogger","FullScreen","LiveVideoCopyrightActionSubscription","MediaController","Parent","Promise","Run","SRTVideoData","ScriptPath","ShakaConstants","SphericalVideoPlayerEvents","SubscriptionsHandler","TahoeVariables.experimental","URI","VideoAsyncLoggerHelper","VideoChannelViewChainLengthManager","VideoControllerPlayingStateEmitter","VideoLiveTrace","VideoMimeTypes","VideoPermalinkURI","VideoPlaybackQuality","VideoPlayerABRQualityTracker","VideoPlayerApiEvents","VideoPlayerConnectionQuality","VideoPlayerExperiments","VideoPlayerFormatsMap","VideoPlayerHTML5Experiments","VideoPlayerLogger","VideoPlayerLoggerErrorStates","VideoPlayerLoggerFallbackReasons","VideoPlayerMemLeakExperiments","VideoPlayerQualitiesArray","VideoPlayerReasonTransitionHelper","VideoPlayerResizeSettings","VideoPlayerShakaBandwidthEstimator","VideoPlayerShakaConfig","VideoPlayerStateBasedLoggingEvents.experimental","VideoPlayerUIComponentDrawer","VideoPlayerUIComponentDrawerController","VideoPlayerVolumeSettings","VideoViewabilityKeyEvents","VideoViewabilityLogging","VideoVisibilityObserver","VideosRenderingInstrumentation","ViewportTrackingHelper","Visibility","WebSessionExtender","XVideoDataControllerRouteBuilder","canVideoPlayType","clearInterval","clearTimeout","collectDataAttributes","enumerate","forwardEvent","getContextualParent","getElementPosition","getFullScreenElement","getVideoComponentName","getViewportDimensions","guid","ifRequired","logVideosClickTracking","mapObject","performanceAbsoluteNow","requireWeak","setInterval","setTimeout","uniqueID"],(function(t,n,r,o,a,i,l,s,u,c){var e,d,m,p,_,f=null;r("requireWeak")("LiveVideoPlayerStore",function(e){return f=e});var g=1;function h(){return r("VideoPlayerHTML5Experiments").useMonotonicallyIncreasingTimers?(d||(d=r("performanceAbsoluteNow")))():Date.now()}function y(e){var t,n=r("VideoPlayerFormatsMap");return e&&(t=n[e])!=null?t:null}var C=(function(t){function a(e,n){var a,i=e.accessToken,l=e.ad_client_token,s=e.allowCrossPageTransition,u=e.alwaysShowCaptions,c=e.apiConfig,d=e.apiModule,p=e.autoplay_setting,f=e.broadcasterOrigin,g=e.broadcastId,y=e.captionsAutogeneratedIndicatorConfig,C=e.captionSettings,b=e.chaining_token,v=e.components,S=e.customLiveManifestUrlParams,R=e.customLoggingProps,L=e.device_id,E=e.disableLogging,k=e.iframeEmbedReferrer,I=e.immediateplay_reason,T=e.isAdsPreview,D=e.isBroadcast,x=e.isBroadcaster,$=e.isInjectedAds,P=e.isInstreamAd,N=e.isReactPlayer,M=e.keepPlayingOnDialog,w=e.liveLinearChannelId,A=e.offsettype,F=e.offsetvalue,O=e.permalinkShareID,B=e.player_version,W=e.playerOrigin,q=e.playerSuborigin,U=e.playerSuboriginDerived,V=e.positionInUnit,H=e.projection,G=e.reaction_video_channel_subtype,z=e.reaction_video_channel_type,j=e.should_autoplay,K=e.shouldLogVideoViewability,Q=e.source,X=e.trackingCodes,Y=e.upstreamPlayerSource,J=e.useInlineFallback,Z=e.video_channel_id,ee=e.video_id,te=e.video_ids,ne=e.video_list_id,re=e.video_path,oe=e.video_url,ae=e.video_urls,ie=n.container_element,le=n.root_element,se=n.video_element;if(a=t.call(this)||this,a.$VideoPlayerController22=!1,a.$VideoPlayerController40=!1,a.$VideoPlayerController78=new Set(r("VideoPlayerStateBasedLoggingEvents.experimental").StateBasedLoggingEventNames),a.$VideoPlayerController79=0,a.$VideoPlayerController111=[],a.$VideoPlayerController117=null,a.$VideoPlayerController118=null,a.$VideoPlayerController119=new(r("EventEmitter")),a.$VideoPlayerController123=null,a.$VideoPlayerController125=!1,a.$VideoPlayerController153=function(){a.$VideoPlayerController40=!1;var e=a.getContainerNode(),t=a.isFullscreen();if(o("CSS").conditionClass(e,"_1hwh",t),t?e.style.paddingBottom="0":(e.removeAttribute("data-fullscreen"),e.style.paddingBottom=a.$VideoPlayerController102),!t&&a.$VideoPlayerController28&&(a.$VideoPlayerController28.unsubscribe(),a.$VideoPlayerController28=null),a.$VideoPlayerController39!=t){a.logFullscreenChanged(t),a.$VideoPlayerController14.setContext("player_format",a.$VideoPlayerController126(t,a.$VideoPlayerController73));var n=o("DOMDimensions").getElementDimensions(e);a.isPlayerVersion("silvercity")||a.setVideoPlayerAPIDimensions(n.width,n.height),a.emit("toggleFullscreen"),t?a.removeOffsetStylings():(a.addOffsetStylings(),r("Arbiter").inform("video_fullscreen_change",{}))}a.$VideoPlayerController39=t},a.emitHeartbeat=function(){if(!a.isState("playing")||!a.getVideoNode()){a.stopHeartbeat(),a.$VideoPlayerController20.stopUnifiedCVC();return}r("VideoPlayerHTML5Experiments").heartbeatSkipOnBuffering&&a.isBuffering()||a.getVideoAPI().logHeartbeat()},a.$VideoPlayerController165=function(){if(!r("VideoPlayerExperiments").allowBufferingErrorForHiddenTab&&r("Visibility").isHidden()){a.$VideoPlayerController164(),a.$VideoPlayerController99=r("setTimeout")(a.$VideoPlayerController165,a.$VideoPlayerController163());return}var e=a.getVideoAPI().isPaused()!==void 0?!a.getVideoAPI().isPaused():a.getState()==="playing";e&&(a.logError({error:"BUFFERING_TIMEOUT",message:"video has been in buffering state for over "+a.$VideoPlayerController163()+"ms.",isPlayback:a.isPlayRequestPending()}),a.$VideoPlayerController164(),a.emit("error",o("VideoPlayerLoggerFallbackReasons").TIMEOUT))},a.$VideoPlayerController114=r("guid")(),a.$VideoPlayerController48=0,a.$VideoPlayerController26=0,a.$VideoPlayerController25=new Map,a.$VideoPlayerController81={},R&&a.setLogEntryPropertyGetters(R),j===void 0)throw new Error("Must pass should_autoplay to "+a.constructor.name+"!");a.$VideoPlayerController125=E!=null?E:!1,a.$VideoPlayerController124=k,a.$VideoPlayerController115=V,a.$VideoPlayerController24=new(r("VideoPlayerUIComponentDrawerController")),a.$VideoPlayerController13=new Map,a.$VideoPlayerController61=H,a.$VideoPlayerController1=i,a.$VideoPlayerController71=!!j,a.$VideoPlayerController72=I,a.$VideoPlayerController8=p,a.$VideoPlayerController2=l,a.$VideoPlayerController55=!1,a.$VideoPlayerController91=se,a.$VideoPlayerController70=le,a.$VideoPlayerController15=ie,a.$VideoPlayerController35=!1,a.$VideoPlayerController36=!1,a.$VideoPlayerController60=B,a.$VideoPlayerController90=ee||te&&te[0]||"",a.$VideoPlayerController93=oe||ae&&ae[0],a.$VideoPlayerController92=re,a.$VideoPlayerController11=b,a.$VideoPlayerController87=Z,a.$VideoPlayerController88=ne,a.$VideoPlayerController56=O,a.$VideoPlayerController57=W,a.$VideoPlayerController58=q||Q,a.$VideoPlayerController59=U!=null?U:null,a.$VideoPlayerController33=D,a.$VideoPlayerController41=P,a.$VideoPlayerController19=S!=null?S:null,a.$VideoPlayerController83=X,a.$VideoPlayerController3=u,a.$VideoPlayerController75=C==null?o("CaptionSettings").DefaultCaptionSettings:C,a.$VideoPlayerController76=y,a.$VideoPlayerController31=r("uniqueID")(),a.$VideoPlayerController67=z,a.$VideoPlayerController68=G,a.$VideoPlayerController118=g,a.$VideoPlayerController120=T,a.$VideoPlayerController121=$,a.$VideoPlayerController122=M,a.$VideoPlayerController5=d,a.$VideoPlayerController4=c,a.$VideoPlayerController77=a.$VideoPlayerController5.getStartMutedFromConfig(a.$VideoPlayerController4),a.$VideoPlayerController45=a.$VideoPlayerController5.getStreamTypeFromConfig(a.$VideoPlayerController4),a.$VideoPlayerController44=a.$VideoPlayerController5.getIsServableViaFbmsFromConfig(a.$VideoPlayerController4),a.$VideoPlayerController42=a.$VideoPlayerController5.getIsPlayingLiveFromConfig(a.$VideoPlayerController4),a.$VideoPlayerController43=a.$VideoPlayerController5.getIsGamingFromConfig(a.$VideoPlayerController4),a.isLiveVideo()&&a.$VideoPlayerController5.getIsLiveTraceEnabledOnPlayer(a.$VideoPlayerController4)&&a.$VideoPlayerController118&&(a.$VideoPlayerController117=new(r("VideoLiveTrace"))(a.$VideoPlayerController118,a.$VideoPlayerController114,r("CurrentUser").getAccountID())),a.$VideoPlayerController113=!!K,a.$VideoPlayerController38=a.$VideoPlayerController5.getIsSpherical(a.$VideoPlayerController4);var ue={is_ad:a.isAd(),is_live:a.$VideoPlayerController42,player_format:a.$VideoPlayerController126(a.isFullscreen(),Q),connection_quality:o("VideoPlayerConnectionQuality").evaluate(r("VideoPlayerShakaBandwidthEstimator").getBandwidth),is_spherical:a.$VideoPlayerController38,content_category:"general",latency_level:"normal",servable_via_fbms:void 0,servable_via_fmbs:void 0};ue.servable_via_fmbs=!1,a.$VideoPlayerController14=new(r("VideoPlayerShakaConfig"))(ue),a.$VideoPlayerController123=w,a.$VideoPlayerController20=new(r("CVCv3VideoControllerHelper"))(a),a.$VideoPlayerController125&&a.$VideoPlayerController20.disable(),i&&a.$VideoPlayerController20.setAccessToken(i),a.$VideoPlayerController20.setLinearChannelID(w),a.$VideoPlayerController45==="progressive"?a.$VideoPlayerController105=r("VideoPlayerExperiments").progressiveBufferingErrorTimeout:a.isLiveVideo()?a.$VideoPlayerController105=r("VideoPlayerExperiments").liveBufferingErrorTimeout:a.$VideoPlayerController105=r("VideoPlayerExperiments").bufferingErrorTimeout,a.$VideoPlayerController106=a.$VideoPlayerController105,r("VideoPlayerExperiments").createVideoVisibilityObserver&&a.$VideoPlayerController127(),a.$VideoPlayerController37=a.$VideoPlayerController5.getIsFacecastAudioFromConfig(a.$VideoPlayerController4),a.$VideoPlayerController85=!!J,a.$VideoPlayerController97=new Set,a.$VideoPlayerController98=f,a.$VideoPlayerController99=null,a.$VideoPlayerController100=!!s,a.$VideoPlayerController101=!!N,a.$VideoPlayerController102=a.getContainerNode().style.paddingBottom,a.$VideoPlayerController103=A,a.$VideoPlayerController104=F,a.$VideoPlayerController107=!1,a.$VideoPlayerController108=!1,a.$VideoPlayerController84=Y,a.$VideoPlayerController23=r("Arbiter").subscribe("DOM/destroy",function(e,t){o("Parent").bySelector(a.getVideoNode(),t)&&(a.pause("unloaded"),a.destroy())}),a.$VideoPlayerController18=0;var ce=(m||(m=r("URI"))).getRequestURI(),de=o("VideoPermalinkURI").parse(ce),me=parseFloat(ce.getQueryData().t),pe=de?de.video_id==a.$VideoPlayerController90:!1;if(me&&pe&&a.$VideoPlayerController4&&(a.$VideoPlayerController4.startTimestamp=me),r("VideoPlayerHTML5Experiments").useVpcPlayingStateForPrioritization&&a.$VideoPlayerController4&&(a.$VideoPlayerController4.vpcPlayingStateEmitter=new(r("VideoControllerPlayingStateEmitter"))(a)),a.$VideoPlayerController14.getBool("oz_www_safely_log_player_seeks",!1)&&a.$VideoPlayerController4&&(a.$VideoPlayerController4.seekHandler=function(e){a.isState("playing")?(a.pause(),a.seek(e),a.play("seek_initiated")):a.seek(e)}),a.$VideoPlayerController112=new(r("DelegatedVideoPriorityAdjuster")),r("VideoPlayerExperiments").adjustPriorityBasedOnAutoplayIndex&&a.$VideoPlayerController4&&(a.$VideoPlayerController4.streamPriorityAdjuster=a.$VideoPlayerController112),a.$VideoPlayerController17=null,a.$VideoPlayerController53=null,a.$VideoPlayerController73=Q,a.$VideoPlayerController50=L?new(r("VideoPlayerLogger"))(Q,{device_id:L}):new(r("VideoPlayerLogger"))(Q),a.$VideoPlayerController125&&a.$VideoPlayerController50.disable(),a.$VideoPlayerController73==="tahoe"&&a.focusOnContainerNode(),a.collectFeedTrackingData(),a.$VideoPlayerController50.setScriptPath(o("ScriptPath").getScriptPath()),a.$VideoPlayerController50.setFrameCountGetters(function(){return a.$VideoPlayerController91!=null?o("VideoPlaybackQuality").getDroppedFrames(a.$VideoPlayerController91):null},function(){return a.$VideoPlayerController91!=null?o("VideoPlaybackQuality").getTotalFrames(a.$VideoPlayerController91):null}),a.$VideoPlayerController63=o("VideosRenderingInstrumentation").retrieveRenderTime(a.getRootNode()),a.$VideoPlayerController62=h()-a.$VideoPlayerController63,c&&(c.subtitleDrawer=a.registerDrawer(r("VideoPlayerUIComponentDrawer").priorities.Subtitles,0)),a.$VideoPlayerController74="loading",a.$VideoPlayerController128(!1),a.$VideoPlayerController5.isImplementationUnavailable(a.$VideoPlayerController85))return a.$VideoPlayerController129(),babelHelpers.assertThisInitialized(a);if(a.$VideoPlayerController130(),a.$VideoPlayerController7=new(r("SubscriptionsHandler")),r("VideoPlayerMemLeakExperiments").www_videos_memleak_on_tv?a.$VideoPlayerController7.addSubscriptions(r("Banzai").subscribe(r("Banzai").SHUTDOWN,function(){a.pause("unloaded"),a.destroy()})):r("Banzai").subscribe(r("Banzai").SHUTDOWN,function(){a.pause("unloaded"),a.destroy()}),a.$VideoPlayerController71&&(r("VideoPlayerExperiments").delayAutoplayUntilAfterLoad?a.$VideoPlayerController7.addSubscriptions(o("Run").onAfterLoad(function(){return a.$VideoPlayerController131()})):a.$VideoPlayerController131()),a.$VideoPlayerController21=0,a.$VideoPlayerController69=!1,a.$VideoPlayerController27=a.$VideoPlayerController132(),a.$VideoPlayerController7.addSubscriptions(r("Banzai").subscribe(r("Banzai").SHUTDOWN,function(){a.pause("unloaded"),a.destroy()})),!a.$VideoPlayerController133()){var _e=new Set(["DialogX","PhotoSnowlift","Spotlight"]);a.$VideoPlayerController7.addSubscriptions(r("Arbiter").subscribe("layer_shown",function(e,t){if(_e.has(t.type)&&(t.type!=="Spotlight"&&r("Bootloader").loadModules(["VideoAutoplayControllerX"],function(e){e.setShouldAutoplay(!1)},"VideoPlayerController"),a.$VideoPlayerController21+=1,r("VideoPlayerExperiments").ignoreDialogCounter||a.$VideoPlayerController21>0)){var n=a.$VideoPlayerController73==="tahoe"&&a.isLiveVideo();a.isState("playing")&&!(n&&r("TahoeVariables.experimental").neverAutoPauseLive)&&!a.$VideoPlayerController122&&(a.pause("page_visibility_initiated"),a.$VideoPlayerController69=!0)}}),r("Arbiter").subscribe("layer_hidden",function(e,t){_e.has(t.type)&&(r("VideoPlayerExperiments").addViewabilityFixEnabled?a.$VideoPlayerController21=Math.max(0,a.$VideoPlayerController21-1):a.$VideoPlayerController21-=1,a.$VideoPlayerController21===0&&(t.type!=="Spotlight"&&r("Bootloader").loadModules(["VideoAutoplayControllerX"],function(e){e.setShouldAutoplay(!0)},"VideoPlayerController"),a.$VideoPlayerController69&&(a.play("page_visibility_initiated"),a.$VideoPlayerController69=!1)))}))}return a.$VideoPlayerController7.addSubscriptions(r("Arbiter").subscribe("share_dialog_closed",function(e,t){t.root&&a.$VideoPlayerController70&&o("ViewportTrackingHelper").isDescendantOf(a.$VideoPlayerController70,t.root)&&a.mute()})),r("VideoPlayerMemLeakExperiments").www_videos_memleak_on_tv?a.$VideoPlayerController7.addSubscriptions(o("Run").onLeave(function(){a.$VideoPlayerController100||r("VideoPlayerExperiments").persistentWNSEnabled&&a.$VideoPlayerController73==="watch_scroll"||a.cleanOnLeave()})):o("Run").onLeave(function(){a.$VideoPlayerController100||r("VideoPlayerExperiments").persistentWNSEnabled&&a.$VideoPlayerController73==="watch_scroll"||a.cleanOnLeave()}),a.$VideoPlayerController12=v||[],a.$VideoPlayerController12.forEach(function(e){var t=r("getVideoComponentName")(e)||"<MalformedComponent>";e&&typeof e.enable=="function"?r("VideoPlayerExperiments").enableComponentGuards?(_||(_=r("ErrorUtils"))).applyWithGuard(e.enable,e,[a],null,"VideoPlayerController Component Enable Guard: "+t):e.enable(a):r("FBLogger")("video").warn("no_enable_method_on_component: %s",t)}),a.$VideoPlayerController52=1,a.$VideoPlayerController94=!1,a.$VideoPlayerController91&&(a.shouldCalculateViewability()?(a.$VideoPlayerController94=r("VideoPlayerExperiments").enableViewabilityLogging||r("VideoPlayerExperiments").enableVideoSampledViewabilityLogging&&!!a.$VideoPlayerController113,a.isInstreamAd()&&(a.$VideoPlayerController94=a.$VideoPlayerController94&&(r("VideoPlayerExperiments").enableInstreamAdViewabilityLogging||r("VideoPlayerExperiments").enableVideoSampledViewabilityLogging&&!!a.$VideoPlayerController113))):a.$VideoPlayerController94=r("VideoPlayerExperiments").enableViewabilityLoggingForOrganic),a.$VideoPlayerController94&&a.$VideoPlayerController91&&(a.$VideoPlayerController95=new(r("VideoViewabilityLogging"))(a,a.$VideoPlayerController91,a.$VideoPlayerController70,a.$VideoPlayerController15)),a.$VideoPlayerController32=!1,a.$VideoPlayerController34=x,a.isLiveVideo()&&(a.$VideoPlayerController16=r("LiveVideoCopyrightActionSubscription").subscribe(a.getVideoID(),function(e){if(e.live_video_copyright_action_subscribe!=null){var t=e.live_video_copyright_action_subscribe.action.toLowerCase();switch(t){case"block":if(a.$VideoPlayerController34)break;a.emit("blockVideo"),a.destroy();break;case"mute":a.emit("blockAudio",a.$VideoPlayerController34),a.$VideoPlayerController32=!0,a.$VideoPlayerController34||a.mute();break;case"unmute":a.emit("unblockAudio",a.$VideoPlayerController34),a.$VideoPlayerController32=!1,a.$VideoPlayerController34||a.unmute();break}a.$VideoPlayerController134(e.live_video_copyright_action_subscribe.action,e.live_video_copyright_action_subscribe.timestamp)}})),a.$VideoPlayerController135(),a}babelHelpers.inheritsLoose(a,t);var i=a.prototype;return i.$VideoPlayerController135=function(){var e="v:"+this.$VideoPlayerController31;this.addListener("beginPlayback",function(){o("WebSessionExtender").subscribe(e,"video-on-blue")}),this.addListener("pausePlayback",function(){o("WebSessionExtender").unsubscribe(e)}),this.addListener("finishPlayback",function(){o("WebSessionExtender").unsubscribe(e)})},i.setVideoPriorityAdjustment=function(t){this.$VideoPlayerController112.notifyAdjustment(t)},i.addListener=function(){for(var e,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];var a=(e=t.prototype.addListener).call.apply(e,[this].concat(r));return r[0]==="visibilityChanged"&&this.$VideoPlayerController127(),a},i.setOverrideConfig=function(t){this.$VideoPlayerController14.setOverrideConfig(t)},i.$VideoPlayerController127=function(){var e=this;this.$VideoPlayerController109||(this.$VideoPlayerController91||c(0,3694),this.$VideoPlayerController109=new(r("VideoVisibilityObserver"))(this.$VideoPlayerController91),this.$VideoPlayerController109.addListener("visibilityChanged",function(t){return e.emit("visibilityChanged",t)}))},i.setAutoScrollIntoView=function(t){this.$VideoPlayerController22=!t},i.setDetectionID=function(t){this.$VideoPlayerController116=t},i.destroy=function(t){if(t=t||{},!(this.isState("destroyed")||this.$VideoPlayerController36)){this.$VideoPlayerController36=!0,this.$VideoPlayerController109&&(this.$VideoPlayerController109.destroy(),this.$VideoPlayerController109=null);for(var e=this.$VideoPlayerController12||[],n=e.length-1;n>=0;n--){var o=e[n],a=r("getVideoComponentName")(o)||"<MalformedComponent>";o&&typeof o.disable=="function"?r("VideoPlayerExperiments").enableComponentGuards?(_||(_=r("ErrorUtils"))).applyWithGuard(o.disable,o,[this],null,"VideoPlayerController Component Disable Guard: "+a):o.disable(this):r("FBLogger")("video").warn("no_disable_method_on_component: %s",a)}this.$VideoPlayerController86&&this.getVideoAPI().destroy(t),this.$VideoPlayerController50.stopCollectingVideoFramesInfo(),this.setState("destroyed"),this.$VideoPlayerController7.release(),t.skipRemoveAllListeners||this.removeAllListeners(),this.$VideoPlayerController23&&(this.$VideoPlayerController23.unsubscribe(),this.$VideoPlayerController23=null),this.stopHeartbeat(),r("VideoPlayerMemLeakExperiments").www_videos_memleak_on_tv?(this.$VideoPlayerController20.stopUnifiedCVC(),this.$VideoPlayerController20.leave()):this.$VideoPlayerController20.stopUnifiedCVC(),this.$VideoPlayerController16&&(this.$VideoPlayerController16.unsubscribe(),this.$VideoPlayerController16=null),r("VideoPlayerMemLeakExperiments").www_videos_memleak_on_tv&&this.$VideoPlayerController6&&this.$VideoPlayerController6.release()}},i.collectFeedTrackingData=function(){var e=null;if(this.$VideoPlayerController83){for(var t={tn:"","tn-debug":","},n={},a=0;a<this.$VideoPlayerController83.length;a++){var i=JSON.parse(this.$VideoPlayerController83[a]);if(!Array.isArray(i))for(var l in i)t[l]!==void 0?(n[l]===void 0&&(n[l]=[]),n[l].push(i[l])):n[l]===void 0&&(n[l]=i[l])}for(var s in t)n[s]!==void 0&&(n[s]=n[s].join(t[s]));e={ft:n}}else{for(var u=!1,c=this.getRootNode();c;){if(c instanceof Element&&o("CSS").matchesSelector(c,"._4oep")){u=!0;break}c=r("getContextualParent")(c)}u?e={}:this.isState("replayed")?e=r("collectDataAttributes")(window.event.target,["ft"]):e=r("collectDataAttributes")(this.getRootNode(),["ft"])}this.$VideoPlayerController50.setFTData(e)},i.setStillFrameEnabled=function(t){var e=this.getVideoAPI();e.setStillFrameEnabled&&e.setStillFrameEnabled(t)},i.isFallbackRecoverable=function(){return!!this.$VideoPlayerController80},i.setFallbackSources=function(t){this.$VideoPlayerController80=t},i.setRelativeSphericalOrientation=function(t,n){this.emit(o("SphericalVideoPlayerEvents").SET_RELATIVE_SPHERICAL_ORIENTATION,t,n)},i.setSphericalOrientation=function(t,n){this.emit(o("SphericalVideoPlayerEvents").SET_ABSOLUTE_SPHERICAL_ORIENTATION,t,n)},i.setSphericalFieldOfView=function(t){this.emit(o("SphericalVideoPlayerEvents").SET_FIELD_OF_VIEW,t)},i.isSpherical=function(){return this.$VideoPlayerController38},i.getVideoPlayerID=function(){return this.$VideoPlayerController31},i.focusOnContainerNode=function(){this.$VideoPlayerController15&&this.$VideoPlayerController15.focus()},i.setLogEntryPropertyGetters=function(t){var e=this;Object.keys(t).forEach(function(n){var r=t[n];typeof r=="function"?e.$VideoPlayerController25.set(n,r):e.$VideoPlayerController81[n]=r})},i.removeLogEntryPropertyGetters=function(t){var e=this;typeof t=="string"&&(t=[t]),Array.isArray(t)||(t=Object.keys(t)),t.forEach(function(t){e.$VideoPlayerController25.delete(t),delete e.$VideoPlayerController81[t]})},i.$VideoPlayerController130=function(){var e=this;this.$VideoPlayerController5.onImplementationReady(this.getVideoNode(),function(){return e.onApiReady()})},i.isImplementationUnavailable=function(){return this.$VideoPlayerController5.isImplementationUnavailable(this.$VideoPlayerController85)&&!this.$VideoPlayerController85},i.getIsInChannel=function(){return this.$VideoPlayerController73==="channel"},i.updateSource=function(t){if(this.$VideoPlayerController73){var e=y(this.$VideoPlayerController73),n=y(t);this.$VideoPlayerController50.updateSource(t),this.$VideoPlayerController14.setContext("player_format",this.$VideoPlayerController126(this.isFullscreen(),t)),e&&e!==n&&this.$VideoPlayerController96&&(r("VideoPlayerExperiments").delayFormatChangeEvent?this.isState("playing")&&!this.$VideoPlayerController39?(this.logEvent("player_format_changed"),this.$VideoPlayerController47=n):this.$VideoPlayerController47=e:this.logEvent("player_format_changed")),this.$VideoPlayerController73=t}},i.getSource=function(){return this.$VideoPlayerController50.getSource()},i.getPlayerOrigin=function(){return this.$VideoPlayerController57},i.getPlayerSuborigin=function(){return this.$VideoPlayerController58},i.getUpstreamPlayerSource=function(){return this.$VideoPlayerController84},i.hasLooped=function(){return this.$VideoPlayerController52>1},i.$VideoPlayerController129=function(){var e={error:"IMPLEMENTATION_NOT_SUPPORTED",state:o("VideoPlayerLoggerErrorStates").PLAYER_FAILURE,error_description:"Implementation unavailable",error_user_info:this.getDebugInfo()};this.logEvent("error",e),this.$VideoPlayerController71=!1},i.logError=function(t){var e=this.$VideoPlayerController46=t,n=e.error,a=e.httpStatus,i=e.isPlayback,l=e.message,s=e.stack,u=e.url,c=this.getDebugInfo();s&&(c.player.stack=s);var d=a==null||a===""?n:a;delete c.player.loggedError,delete c.player.lastError;var m={error:n,error_description:l,error_user_info:c,error_code:d,error_domain:n,resource_url:u,state:i?o("VideoPlayerLoggerErrorStates").PLAYBACK_FAILURE:o("VideoPlayerLoggerErrorStates").PLAYER_FAILURE};a===410||a==="410"||(this.$VideoPlayerController49=this.logEvent("error",m),this.destroy()),this.$VideoPlayerController38&&Math.random()<.01&&r("FBLogger")("360video").warn("360 video player error: %s %s",n,l),i&&this.$VideoPlayerController55&&this.$VideoPlayerController128(!1)},i.setRotation=function(t){this.getVideoAPI().setRotation(t)},i.setDimensions=function(t,n){var e=this.getContainerNode();e.style.width=t+"px",e.style.height=n+"px";var o=this.getVideoNode();if(o.style.width=t+"px",o.style.height=n+"px",this.isState("loading"))this.$VideoPlayerController64={width:t,height:n};else{if(this.isPlayerVersion("silvercity")&&(this.$VideoPlayerController39||r("VideoPlayerResizeSettings").disable_flash_set_dimensions))return;this.setVideoPlayerAPIDimensions(t,n)}},i.isPlayRequestPending=function(){return this.$VideoPlayerController55},i.$VideoPlayerController128=function(t){this.$VideoPlayerController55!==t&&(this.$VideoPlayerController55=t,this.emit("pendingPlayRequestChanged"))},i.updateAutoplayRestrained=function(){var e=this;r("ifRequired")("VideoPlayerHTML5Shaka",function(t){var n=t.isAutoplayBandwidthRestrained(e.$VideoPlayerController42);e.$VideoPlayerController136(n)})},i.$VideoPlayerController136=function(t){t?this.emit("turnOffAutoplay",{reason:"poor_network_quality"}):this.emit("resumeAutoplay",{reason:"poor_network_quality"});var e=this.getVideoAPI();e&&e.setPreloadDisabled(t)},i.restoreStreamBufferSize=function(){var e=this.getVideoAPI();e&&e.restoreStreamBufferSize()},i.getDataInsertionPosition=function(){return this.$VideoPlayerController27&&this.$VideoPlayerController27.getAttribute("data-insertion-position")},i.getDataFt=function(){return this.$VideoPlayerController27&&this.$VideoPlayerController27.getAttribute("data-ft")},i.play=function(t){var e=this,n=null;t instanceof r("VideoPlayerReasonTransitionHelper")?n=t.getReason():n=t;var a=this.getVideoNodeNullable();if(a&&a.scrollIntoView&&n==="user_initiated"&&!this.$VideoPlayerController22){var i=this.getDOMPosition(),l=i.y>=0,s=i.y+i.height<=r("getViewportDimensions")().height;l?s||a.scrollIntoView(!1):a.scrollIntoView(!0)}if(this.$VideoPlayerController137(),this.$VideoPlayerController54||(this.$VideoPlayerController54=n),this.$VideoPlayerController110=this.getOption("VideoWithCommercialBreak","controller"),this.$VideoPlayerController110&&this.$VideoPlayerController110.shouldPlayPreRollAds(n)){this.$VideoPlayerController110.schedulePreRollAds();return}if(!this.$VideoPlayerController55){this.$VideoPlayerController53=this.$VideoPlayerController138();var u=this.$VideoPlayerController139({debug_reason:n}),c=this.$VideoPlayerController73;r("VideoPlayerExperiments").delayFormatChangeEvent&&c&&this.$VideoPlayerController96&&this.$VideoPlayerController47&&y(c)!==this.$VideoPlayerController47&&!this.$VideoPlayerController39&&(this.logEvent("player_format_changed"),this.$VideoPlayerController47=y(c)),r("VideoPlayerExperiments").logRequestedPlayingAsync?o("VideoAsyncLoggerHelper").operateAsync(function(){e.logEvent("requested_playing",u)},["started_playing","unpaused"],this.$VideoPlayerController119):this.logEvent("requested_playing",u),this.$VideoPlayerController96=!0}this.$VideoPlayerController140(n),this.emit("playRequested",n),this.sendPlayRequest(n),n==="loop_initiated"&&this.$VideoPlayerController52++},i.sendPlayRequest=function(t){var e=this;if(this.isState("fallback")){this.emit("fallbackPlay"),r("VideoPlayerExperiments").endBufferingOnFallbackPlay&&this.$VideoPlayerController50.endBuffering();return}this.$VideoPlayerController128(!0),this.isState("loading")?this.$VideoPlayerController65={reason:t}:(!this.getVideoAPI().isMuted()&&this.$VideoPlayerController51&&(r("VideoPlayerExperiments").logUnmutedAsync?o("VideoAsyncLoggerHelper").operateAsync(function(){e.logEvent("unmuted")},["started_playing","unpaused"],this.$VideoPlayerController119):this.logEvent("unmuted")),this.$VideoPlayerController51=!1,this.$VideoPlayerController141(),this.getVideoAPI().play(t))},i.getOriginalPlayReason=function(){return this.$VideoPlayerController54},i.reset=function(){var t=this,r=(e||(e=n("Promise"))).resolve();if(this.isState("loading")||this.isState("fallback")&&!this.isFallbackRecoverable())return r;this.resetPositions(),this.$VideoPlayerController142();var o=e.resolve();return this.$VideoPlayerController86&&this.$VideoPlayerController86.destroy&&(o=this.$VideoPlayerController86.destroy()),this.$VideoPlayerController86=null,this.setState("loading"),r=o.then(function(){t.$VideoPlayerController130()}),r},i.detachRootNode=function(){var e=this;this.$VideoPlayerController70&&(r("DOM").remove(this.$VideoPlayerController70),!(this.isState("fallback")||this.isState("loading"))&&(this.setState("loading"),this.$VideoPlayerController5.onImplementationReady(this.getVideoNode(),function(){return e.$VideoPlayerController143()})))},i.getVideoAPI=function(){return this.$VideoPlayerController86||c(0,3695),this.$VideoPlayerController86},i.getVideoNodeNullable=function(){return this.$VideoPlayerController91},i.getVideoNode=function(){return this.getVideoNodeNullable()},i.getRootNodeNullable=function(){return this.$VideoPlayerController70},i.getRootNode=function(){return this.getRootNodeNullable()},i.getContainerNodeNullable=function(){return this.$VideoPlayerController15},i.getContainerNode=function(){return this.getContainerNodeNullable()},i.getVideoResolution=function(){var e=this.getVideoNode();return{height:e.videoHeight,width:e.videoWidth}},i.$VideoPlayerController143=function(){this.setState("ready"),this.$VideoPlayerController51=!this.getVideoAPI().isMuted(),this.$VideoPlayerController82=!this.$VideoPlayerController3,this.getVideoAPI().setSubtitlesStyle&&this.getVideoAPI().setSubtitlesStyle(this.$VideoPlayerController75),this.getVideoAPI().setAutogeneratedCaptionsOptions&&this.getVideoAPI().setAutogeneratedCaptionsOptions(this.$VideoPlayerController76),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)},i.onApiReady=function(){var e=this;this.$VideoPlayerController4&&(this.$VideoPlayerController4.id=this.$VideoPlayerController31,this.$VideoPlayerController4.customLiveManifestUrlParams=this.$VideoPlayerController19,this.$VideoPlayerController80&&(this.$VideoPlayerController4.fallbackSources=this.$VideoPlayerController80),this.$VideoPlayerController4.playerOrigin=this.$VideoPlayerController57,this.$VideoPlayerController4.playerSuborigin=this.$VideoPlayerController58,this.$VideoPlayerController4.getSource=function(){return e.getSource()},this.$VideoPlayerController4.shakaConfig=this.$VideoPlayerController14,this.$VideoPlayerController4.playerInstanceKey=this.$VideoPlayerController114,this.$VideoPlayerController117&&(this.$VideoPlayerController4.videoLiveTrace=this.$VideoPlayerController117),this.$VideoPlayerController4.disableLogging=this.$VideoPlayerController125),this.$VideoPlayerController86=new this.$VideoPlayerController5(this.getVideoNode(),this.$VideoPlayerController4),this.$VideoPlayerController144(),this.getVideoAPI().setup(),this.$VideoPlayerController143();var t={is_auto_played:this.isAutoplayable()};this.logEvent("player_loaded",t),this.$VideoPlayerController86&&this.$VideoPlayerController50.setABRQualityTracker(new(r("VideoPlayerABRQualityTracker"))(this.$VideoPlayerController86.getLocalEstimator()));var n=this.getVideoProjection();n&&(this.$VideoPlayerController61=n),this.emit("apiReady")},i.getLocalEstimator=function(){return this.$VideoPlayerController86?this.$VideoPlayerController86.getLocalEstimator():null},i.runOnApiReady=function(t){t===void 0&&(t=function(){}),this.isState("loading")?this.once("apiReady",t):t()},i.resetPositions=function(){this.$VideoPlayerController18=0},i.getCurrentTimePosition=function(){if(this.isState("playing")){var e=this.getVideoAPI().getCurrentTimePosition();e!=null&&e!==void 0&&(this.$VideoPlayerController18=e)}return this.$VideoPlayerController18},i.getBufferEndPosition=function(){if(this.isState("loading"))return 0;var e=this.getVideoAPI().getBufferEndPosition();return e!=null?e:this.getCurrentTimePosition()},i.$VideoPlayerController137=function(){if(!this.$VideoPlayerController9){o("VideoChannelViewChainLengthManager").registerChainingInfos(this.getVideoID(),this.$VideoPlayerController11);var e=this.getVideoID();if(this.$VideoPlayerController11){var t=this.$VideoPlayerController11.decode();e=t.root_id}this.$VideoPlayerController9=o("VideoChannelViewChainLengthManager").getLoggingData(e)}},i.$VideoPlayerController145=function(t){this.$VideoPlayerController128(!1);var e=t.position;e!==void 0&&(this.$VideoPlayerController18=e),this.setState("playing"),this.areHLSActive()&&this.$VideoPlayerController146(),this.startHeartbeat(),this.$VideoPlayerController20.startUnifiedCVC()},i.$VideoPlayerController147=function(t){var e=t.position;this.$VideoPlayerController117&&this.isState("playing")&&this.$VideoPlayerController117.onUpdateStatus(t),e!==void 0&&(this.$VideoPlayerController18=e),this.$VideoPlayerController17=this.getVideoAPI().getCurrentlyPlayingVideoStreamInfoID()},i.$VideoPlayerController148=function(t){return this.$VideoPlayerController97.has(t)},i.runOnceOnApiEventLogged=function(t,n){if(this.$VideoPlayerController148(t))n();else var e=this.addListener("apiEventLogged",function(r){r===t&&(n(),e.remove())})},i.$VideoPlayerController149=function(t){var e=t.event;this.$VideoPlayerController97.add(e),delete t.event,this.logEvent(e,t),this.emit("apiEventLogged",e)},i.$VideoPlayerController150=function(){this.isState("finished")||this.setState("paused"),this.stopHeartbeat(),this.$VideoPlayerController20.stopUnifiedCVC()},i.$VideoPlayerController151=function(t){var e=t.position;e!==void 0&&(this.$VideoPlayerController18=e)},i.$VideoPlayerController152=function(){this.setState("finished"),this.$VideoPlayerController69=!1,this.stopHeartbeat(),this.$VideoPlayerController20.stopUnifiedCVC()},i.getVolume=function(){return this.getVideoAPI().getVolume()},i.$VideoPlayerController126=function(t,n){var e;return t?"full_screen":n?(e=y(n))!=null?e:"unknown":"inline"},i.logFullscreenChanged=function(t){var e={player_format:this.$VideoPlayerController126(t,this.$VideoPlayerController73)};r("VideoPlayerHTML5Experiments").enteredExitedFsLoggingFix?this.logEvent(t?"entered_fs":"exited_fs",e):this.logEvent(t?"entered_fs":"exited_fs")},i.setVideoPlayerAPIDimensions=function(t,n){this.getVideoAPI().setDimensions&&this.getVideoAPI().setDimensions(t,n)},i.removeOffsetStylings=function(){var e=this.$VideoPlayerController104;e!=null&&(this.$VideoPlayerController103===1?(this.getVideoNode().style.setProperty("left","0"),o("CSS").removeClass(this.getVideoNode(),"_blh")):this.$VideoPlayerController103===0&&(this.getVideoNode().style.setProperty("top","0"),o("CSS").removeClass(this.getVideoNode(),"_bli")))},i.addOffsetStylings=function(){var e=this.$VideoPlayerController104;e!=null&&(this.$VideoPlayerController103===1?(this.getVideoNode().style.setProperty("left",e+"px"),o("CSS").addClass(this.getVideoNode(),"_blh")):this.$VideoPlayerController103===0&&(this.getVideoNode().style.setProperty("top",e+"px"),o("CSS").addClass(this.getVideoNode(),"_bli")))},i.hasDialog=function(){return this.$VideoPlayerController21>0},i.isTahoe=function(){return this.$VideoPlayerController73==="tahoe"},i.isFullscreen=function(){return this.$VideoPlayerController40||r("FullScreen").isFullScreen()&&this.$VideoPlayerController15===r("getFullScreenElement")()},i.toggleFullscreen=function(){var e=this,t=this.isFullscreen(),n=this.getContainerNode();r("FullScreen").toggleFullScreen(n)&&(t||(this.$VideoPlayerController40=!0,n.setAttribute("data-fullscreen","true")),o("CSS").addClass(n,"_1hwh"),this.$VideoPlayerController28=r("FullScreen").subscribe("changed",function(){return e.$VideoPlayerController153()}))},i.instreamVideoStart=function(){o("CSS").addClass(this.getContainerNode(),"_24pm")},i.instreamVideoEnd=function(){o("CSS").removeClass(this.getContainerNode(),"_24pm")},i.unmute=function(){!this.$VideoPlayerController34&&this.$VideoPlayerController32||(this.isState("loading")?this.$VideoPlayerController66=!0:(this.getVideoAPI().unmute(),r("VideoPlayerVolumeSettings").saveVolume(r("VideoPlayerVolumeSettings").getLastVolumeBeforeMute()),this.$VideoPlayerController82&&this.getVideoAPI().areSubtitlesActive()&&this.$VideoPlayerController154()))},i.isAudioBlocked=function(){return this.$VideoPlayerController32},i.isMuted=function(){return this.$VideoPlayerController86?this.getVideoAPI().isMuted():this.$VideoPlayerController77},i.mute=function(){this.$VideoPlayerController82&&!this.getVideoAPI().areSubtitlesActive()&&this.$VideoPlayerController154(),this.getVideoAPI().mute(),r("VideoPlayerVolumeSettings").saveVolume(0)},i.getMediaID=function(){return this.getVideoID()},i.getPlaybackDuration=function(){return this.getVideoAPI().getPlaybackDuration()},i.getPlayerFormat=function(){return this.$VideoPlayerController126(this.isFullscreen(),this.$VideoPlayerController73)},i.getVideoID=function(){return this.$VideoPlayerController90},i.getVideoChannelID=function(){return this.$VideoPlayerController87},i.getVideoListID=function(){return this.$VideoPlayerController88},i.getVideoURL=function(){return this.$VideoPlayerController93},i.$VideoPlayerController144=function(){var e=this,t=this.getVideoAPI(),n=new(r("SubscriptionsHandler"));this.$VideoPlayerController6=n;var o={buffered:function(){return e.setBuffering(!1)},buffering:function(){return e.setBuffering(!0)},bufferingProgress:function(n){return e.$VideoPlayerController155(n)},streamInterrupted:function(){return e.$VideoPlayerController50.startInterrupt()},streamResumed:function(){return e.$VideoPlayerController50.endInterrupt()},beginPlayback:function(n){return e.$VideoPlayerController145(n)},updateStatus:function(n){return e.$VideoPlayerController147(n)},logEvent:function(n){return e.$VideoPlayerController149(n.logData)},pausePlayback:function(){return e.$VideoPlayerController150()},seekEnd:function(n){return e.$VideoPlayerController151(n)},clickForTracking:function(){return r("logVideosClickTracking")(e.getVideoNode())},error:function(n){return e.logError(n)},finishPlayback:function(){return e.$VideoPlayerController152()},networkInterrupted:function(){return e.$VideoPlayerController156()},networkResumed:function(){return e.$VideoPlayerController157()},replicaSwitch:function(n){return e.switchReplicaSet(n)}};n.addSubscriptions.apply(n,Object.keys(o).map(function(e){return t.addListener(e,o[e])})),n.addSubscriptions.apply(n,r("VideoPlayerApiEvents").map(function(n){return r("forwardEvent")(t,e,n)}))},i.$VideoPlayerController142=function(){this.$VideoPlayerController6&&this.$VideoPlayerController6.release()},i.seek=function(t,n){this.emit("seekRequested",t,n),this.getVideoAPI().seek(t)},i.pause=function(t){this.isState("loading")?this.$VideoPlayerController65=null:this.isState("playing")?this.getVideoAPI().pause(t):this.$VideoPlayerController55&&this.getVideoAPI().pause(t),this.$VideoPlayerController128(!1),this.$VideoPlayerController69=!1,this.$VideoPlayerController158(t),this.emit("pauseRequested",t)},i.stopHeartbeat=function(){r("clearInterval")(this.$VideoPlayerController30),this.$VideoPlayerController30=null,this.$VideoPlayerController20.stopUnifiedCVC()},i.startHeartbeat=function(){this.$VideoPlayerController30||!r("VideoPlayerHTML5Experiments").heartbeatIntervalMS||(this.$VideoPlayerController30=r("setInterval")(this.emitHeartbeat,r("VideoPlayerHTML5Experiments").heartbeatIntervalMS))},i.isPlayerVersion=function(t){return this.getPlayerVersion()===t||this.$VideoPlayerController101&&this.$VideoPlayerController159(t)===this.getPlayerVersion()},i.isHtml5Player=function(){return this.isPlayerVersion("pleasantville")||this.isPlayerVersion("oz")},i.isAutoplayable=function(){return this.$VideoPlayerController71},i.getImmediatePlayReason=function(){return this.$VideoPlayerController72},i.$VideoPlayerController160=function(){return o("ViewportTrackingHelper").isVisible(this.getVideoNode(),0)},i.$VideoPlayerController131=function(){var e=this;if(r("Visibility").isHidden()){var t=r("Visibility").once(r("Visibility").VISIBLE,function(){return e.$VideoPlayerController131()});r("VideoPlayerExperiments").unsubscribeImmediateplay&&this.$VideoPlayerController7.addSubscriptions(t)}else{if(!this.$VideoPlayerController160()&&this.$VideoPlayerController72!=="watch_time_not_logged"&&this.$VideoPlayerController72!=="gbm_not_logged_autploay"){r("FBLogger")("video").warn("immediateplay on a hidden video player: %s %s %s %s",this.getPlayerOrigin(),this.getPlayerSuborigin(),this.getSource(),o("ScriptPath").getScriptPath());return}this.play("autoplay_initiated")}},i.isBuffering=function(){return this.$VideoPlayerController35},i.$VideoPlayerController161=function(){var e=Math.floor(Date.now()/1e3);this.$VideoPlayerController111=this.$VideoPlayerController111.filter(function(t){return t.time+3>e}),this.$VideoPlayerController111.some(function(t){return t.time===e?(t.count+=1,!0):!1})||this.$VideoPlayerController111.push({time:e,count:1})},i.$VideoPlayerController162=function(){var e=Math.floor(Date.now()/1e3);return this.$VideoPlayerController111.reduce(function(t,n){return(n.time+3>e?n.count:0)+t},0)},i.$VideoPlayerController155=function(t){this.emit("bufferingProgress",t)},i.setBuffering=function(t){if(t!==this.$VideoPlayerController35){if(this.$VideoPlayerController35=t,this.$VideoPlayerController35){var e=r("ShakaConstants").numbers.buffering_count_threshold;if(e&&(this.$VideoPlayerController161(),this.$VideoPlayerController162()>=e))return this.logError({error:"EXCEED_BUFFER_FREQUENCY_THRESHOLD",message:"video has entered buffering state "+e+" times in the last 3 seconds.",isPlayback:this.isPlayRequestPending()}),this.emit("error","EXCEED_BUFFER_FREQUENCY_THRESHOLD");this.$VideoPlayerController50.startBuffering(this.getCurrentTimePosition()),this.$VideoPlayerController163()&&(this.$VideoPlayerController164(),this.$VideoPlayerController99=r("setTimeout")(this.$VideoPlayerController165,this.$VideoPlayerController163())),this.$VideoPlayerController166()}else this.$VideoPlayerController50.endBuffering(),this.$VideoPlayerController164(),this.isState("paused")&&this.$VideoPlayerController167();this.emit("bufferingChanged")}},i.setVideoStreamOffset=function(t){var e=this.getVideoAPI();typeof e.setVideoStreamOffset=="function"&&e.setVideoStreamOffset(t)},i.$VideoPlayerController164=function(){this.$VideoPlayerController99&&(r("clearTimeout")(this.$VideoPlayerController99),this.$VideoPlayerController99=null)},i.$VideoPlayerController167=function(){this.$VideoPlayerController108&&this.play("network_resumed")},i.$VideoPlayerController166=function(){this.$VideoPlayerController35&&this.$VideoPlayerController107&&this.isState("playing")&&this.pause("network_interrupted")},i.$VideoPlayerController140=function(t){this.$VideoPlayerController108=!1},i.$VideoPlayerController158=function(t){t==="network_interrupted"?this.$VideoPlayerController108=!0:this.$VideoPlayerController108=!1},i.$VideoPlayerController156=function(){this.$VideoPlayerController107=!0,this.$VideoPlayerController166()},i.$VideoPlayerController157=function(){this.$VideoPlayerController107=!1,this.$VideoPlayerController167()},i.isVideoPlaying=function(){return this.getState()==="playing"},i.isLiveVideo=function(){return this.$VideoPlayerController42},i.isGaming=function(){return this.$VideoPlayerController43},i.isVideo=function(){return!0},i.isBroadcast=function(){return!!this.$VideoPlayerController33},i.isInline=function(){return!!this.$VideoPlayerController73&&y(this.$VideoPlayerController73)==="inline"&&!this.isFullscreen()},i.isFacecastAudio=function(){return this.$VideoPlayerController37},i.isStreamInterrupted=function(){var e=this.$VideoPlayerController86;return!!(e&&e.isStreamInterrupted&&e.isStreamInterrupted())},i.setVolume=function(t){!this.$VideoPlayerController34&&this.$VideoPlayerController32||(r("VideoPlayerVolumeSettings").saveVolume(t),this.getVideoAPI().setVolume(t))},i.getDOMPosition=function(){var e=this.getRootNodeNullable();return e?r("getElementPosition")(e):{x:0,y:0,width:0,height:0}},i.clickVideo=function(){this.emit("clickVideo"),this.$VideoPlayerController29=!0},i.mouseMove=function(t){this.emit("mouseMove",t)},i.mouseUp=function(t){this.emit("mouseUp",t)},i.mouseLeave=function(t){this.emit("mouseLeave",t)},i.hasSeenClick=function(){return!!this.$VideoPlayerController29},i.isAd=function(){return!!this.$VideoPlayerController2},i.shouldCalculateViewability=function(){if(this.isAd())return!0;var e=this.$VideoPlayerController50.getFTdata();if(e==null)return!1;var t=e.ft;return t==null?!1:!!t.ei},i.isInstreamAd=function(){return!!this.$VideoPlayerController41},i.getAdClientToken=function(){return this.$VideoPlayerController2},i.getLastScrollDirection=function(){return this.getOption("VideoAutoplayControllerBase/VideoScrollTracker","getLastScrollDirection")||null},i.$VideoPlayerController168=function(){var e=this,t=null,n=null,a=!1,i=null,l=null,s=null,u=null,c=null;if(!this.isState("loading")&&!this.isState("fallback")){this.$VideoPlayerController17===null&&(this.$VideoPlayerController17=this.getVideoAPI().getCurrentlyPlayingVideoStreamInfoID()),t=this.getVideoAPI().getEstimatedBandwidth(),n=this.getVideoAPI().getAvailableVideoQualities().length,a=this.getVideoAPI().getIsAbrEnabled(),i=this.getPlaybackDuration(),c=this.getAudioStreamId();var d=this.getVideoAPI().getDimensionsForDevice();s=d&&d.height,l=d&&d.width,u=o("VideoPlayerConnectionQuality").evaluate(function(){return e.getVideoAPI().getEstimatedBandwidth()})}var m=babelHelpers.extends({},this.$VideoPlayerController81);this.$VideoPlayerController25.forEach(function(t,n){m[n]=t(n,e)});var p={};this.getOption("SphericalVideoSpatialAudioController","hasSpatialAudio")&&(p.audio_ch_conf=this.getOption("SphericalVideoSpatialAudioController","getSpatialAudioChannelLayout"));var _=this.isLiveVideo()&&!!f&&f.getIsRewound(this.getVideoPlayerID());return babelHelpers.extends({ad_client_token:this.$VideoPlayerController2,available_qualities:n,access_token:this.$VideoPlayerController1,autoplay_eligible:this.isAutoplayable(),autoplay_setting:this.$VideoPlayerController8,broadcaster_origin:this.$VideoPlayerController98,projection:this.$VideoPlayerController61,player_version:this.getPlayerVersion(),flash_version:r("ifRequired")("Flash",function(e){return e.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.$VideoPlayerController114,playback_duration:i,referrer:document.referrer,streaming_format:this.getStreamingFormat(),video_time_position:this.getCurrentTimePosition(),video_buffer_end_position:this.$VideoPlayerController86?this.getBufferEndPosition():0,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:_,last_scroll_direction:this.getLastScrollDirection(),video_channel_id:this.$VideoPlayerController87,video_list_id:this.$VideoPlayerController88,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:c,video_bandwidth:t,video_player_height:s,video_player_width:l,dash_perf_logging_enabled:this.$VideoPlayerController169(),data_connection_quality:u,is_abr_enabled:a,position_in_unit:this.$VideoPlayerController115,feed_position:this.getDataInsertionPosition(),upstream_player_source:this.$VideoPlayerController84,should_log_video_viewability:this.$VideoPlayerController113,detectionID:this.$VideoPlayerController116,is_ads_preview:this.$VideoPlayerController120,is_injected_ads:this.$VideoPlayerController121,live_linear_channel_id:this.$VideoPlayerController123},this.$VideoPlayerController89,this.$VideoPlayerController9,m,p,{iframe_embed_referrer:this.$VideoPlayerController124})},i.$VideoPlayerController138=function(){var e=this.getVideoInfo_DEPRECATED();if(!e)return null;var t=e.resourceUrl,n=/scontent-([a-z]+)\./.exec(t);return n?n[1]:null},i.getVideoInfo_DEPRECATED=function(){return this.isState("loading")||this.isState("fallback")?null:this.getVideoAPI().getVideoInfo()},i.getDebugInfo=function(){var e=this.getVideoInfo_DEPRECATED(),t={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:(p||(p=r("mapObject")))(r("VideoMimeTypes"),r("canVideoPlayType")),loggedError:this.$VideoPlayerController49,lastError:this.$VideoPlayerController46,droppedFrames:!!this.$VideoPlayerController86&&this.$VideoPlayerController86.getDroppedFrames(),totalFrames:!!this.$VideoPlayerController86&&this.$VideoPlayerController86.getTotalFrames(),videoSource:!!this.$VideoPlayerController86&&this.$VideoPlayerController86.getVideoNodeSource(),viewabilityPercentage:!!this.$VideoPlayerController95&&!(r("VideoPlayerExperiments").organicViewabilityLoggingNoOrganicLogging&&!this.isAd())&&this.$VideoPlayerController95.getViewability(),stack:void 0},n={videoID:this.getVideoID(),isDrm:this.$VideoPlayerController86&&this.$VideoPlayerController86.isDrm()};if(!e)return{player:t,currentVideo:n};var o=this.getVideoAPI().getDimensionsForDevice();return{currentVideo:babelHelpers.extends({},n,{streamType:e.streamType,isLiveStream:e.isLiveStream,liveManifestUrl:e.liveManifestUrl,isHD:e.isHD,hasHD:e.hasHD,resourceUrl:e.resourceUrl,hasSubtitles:e.hasSubtitles,hasRateLimit:!!e.hasUnlimitedSrc,isRateLimited:e.hasUnlimitedSrc&&!e.useUnlimitedSrc,tagHD:e.tagHD,tagSD:e.tagSD,projection:this.$VideoPlayerController61,streamId:this.$VideoPlayerController17,audioStreamId:this.getVideoAPI().getAudioStreamInfoIDDebug(),dashAudioFormat:this.getVideoAPI().getDashAudioConfiguration()}),player:babelHelpers.extends({},t,{dimensions:o})}},i.getLastError=function(){return this.$VideoPlayerController46},i.isAkamai=function(){var e=this.getVideoInfo_DEPRECATED();return e?e.liveManifestUrl&&e.liveManifestUrl.includes("akamaihd"):!1},i.getLoggedError=function(){return this.$VideoPlayerController49},i.getTotalFrames=function(){return this.$VideoPlayerController86?this.$VideoPlayerController86.getTotalFrames():0},i.getDroppedFrames=function(){return this.$VideoPlayerController86?this.$VideoPlayerController86.getDroppedFrames():0},i.getInterruptCount=function(){return this.$VideoPlayerController50.getCumulativeInterruptCount()},i.getInterruptTime=function(){return this.$VideoPlayerController50.getCumulativeInterruptTime()},i.getVideoStreamId=function(){return this.getVideoAPI().getCurrentlyPlayingVideoStreamInfoID()},i.getAudioStreamId=function(){return this.getVideoAPI().getCurrentlyPlayingAudioStreamInfoID()||this.getVideoAPI().getAudioStreamInfoIDDebug()},i.getVideoTracks=function(){return this.getVideoAPI().getVideoTracksDebug()},i.getAudioDashFormat=function(){return this.getVideoAPI().getDashAudioConfigurationDebug()},i.getCumulativeStallCount=function(){return this.$VideoPlayerController50.getCumulativeStallCount()},i.getCumulativeStallTime=function(){return this.$VideoPlayerController50.getCumulativeStallTime()},i.getStallCount=function(){return this.$VideoPlayerController50.getStallCount()},i.getStreamType=function(){var e=this.getVideoInfo_DEPRECATED();return e?e.streamType:"n/a"},i.hasSubtitles=function(){return this.getVideoAPI().hasSubtitles()},i.getVideoState=function(){return this.$VideoPlayerController74},i.areSubtitlesActive=function(){return this.getVideoAPI().areSubtitlesActive()},i.areSubtitlesAutogenerated=function(){return this.getVideoAPI().areSubtitlesAutogenerated()},i.areHLSActive=function(){return this.getVideoAPI().areHLSActive()},i.toggleSubtitles=function(){this.$VideoPlayerController154(),this.logEvent("caption_change"),this.$VideoPlayerController82=!1},i.updateSubtitleStyle=function(t){this.$VideoPlayerController75=t,this.getVideoAPI()&&this.getVideoAPI().setSubtitlesStyle&&this.getVideoAPI().setSubtitlesStyle(t)},i.$VideoPlayerController154=function(){this.getVideoAPI().toggleSubtitles(),this.$VideoPlayerController141()},i.$VideoPlayerController141=function(){this.hasSubtitles()&&this.areSubtitlesActive()?this.$VideoPlayerController10="on":this.$VideoPlayerController10="off"},i.isHD=function(){return o("VideoPlayerQualitiesArray").isHDSelectedVideoQuality(this.getAvailableVideoQualities(),this.getSelectedVideoQuality())},i.hasHD=function(){var e=o("VideoPlayerQualitiesArray").getHighestVideoQuality(this.getAvailableVideoQualities());return e!=null},i.toggleHD=function(){var e=o("VideoPlayerQualitiesArray").getPreferredVideoQualityForToggleHD(this.getAvailableVideoQualities(),this.getSelectedVideoQuality());e!=null&&this.setPreferredVideoQuality(e)},i.setPreferredVideoQuality=function(t){this.getVideoAPI().setPreferredVideoQuality(t)},i.unsetPreferredVideoQuality=function(){this.getVideoAPI().unsetPreferredVideoQuality()},i.getPreferredVideoQuality=function(){var e;return(e=this.getVideoAPI().getPreferredVideoQuality())!=null?e:null},i.getSelectedVideoQuality=function(){var e;return(e=this.getVideoAPI().getSelectedVideoQuality())!=null?e:null},i.getAvailableVideoQualities=function(){return this.getVideoAPI().getAvailableVideoQualities()},i.getVideoProjection=function(){return this.getVideoAPI().getVideoProjection()},i.canAutoSelectVideoQuality=function(){return this.getVideoAPI().canAutoSelectVideoQuality()},i.switchToStreamType=function(t){this.getVideoAPI().switchToStreamType(t)},i.$VideoPlayerController146=function(){this.getVideoAPI().replaceVideoDataFromURL(r("XVideoDataControllerRouteBuilder").buildUri(babelHelpers.extends({video_id:this.getVideoID(),scrubbing_preference:g},this.$VideoPlayerController73!=null?{source:this.$VideoPlayerController73}:{})).toString())},i.$VideoPlayerController139=function(t){var e=this.getVideoInfo_DEPRECATED();return e!=null?babelHelpers.extends({resource_url:e.resourceUrl,liveStream:e.isLiveStream,hd:e.isHD},t):t},i.$VideoPlayerController170=function(){var e=this.getDOMPosition(),t=r("getViewportDimensions")().height,n=null;return e.y<=0?n=e.y:e.y+e.height<t?n=0:n=e.y+e.height-t,n},i.logEvent=function(t,n){if(t!=="displayed"){this.$VideoPlayerController48++,this.$VideoPlayerController119.emit(t);var e=r("ShakaConstants").numbers.logging_log_event_limit;e&&this.$VideoPlayerController48>e&&(this.$VideoPlayerController125=!0,this.$VideoPlayerController50&&this.$VideoPlayerController50.disable());var o=++this.$VideoPlayerController26,a=Object.assign(this.$VideoPlayerController168(),n),i=this.getOriginalPlayReason();if(i&&t!=="displayed"&&(a.video_play_reason=i),t==="finished_playing"&&(a.viewport_distance=this.$VideoPlayerController170()),(t==="muted"||t==="unmuted"||t==="started_playing"||t==="caption_change"||t==="unpaused")&&(a.caption_state=this.$VideoPlayerController10),this.$VideoPlayerController94&&!(r("VideoPlayerExperiments").organicViewabilityLoggingNoOrganicLogging&&!this.isAd())&&r("VideoViewabilityKeyEvents").Events.includes(t)&&(a.current_viewability_percentage=this.$VideoPlayerController95.getViewability(),this.$VideoPlayerController95.setLastLoggedViewability(a.current_viewability_percentage)),a.event_seq_num=o,this.$VideoPlayerController78.has(t)&&(r("VideoPlayerExperiments").logSBLVpts&&(a.vpts=(d||(d=r("performanceAbsoluteNow")))()),a.seq_num=++this.$VideoPlayerController79),t==="played_for_three_seconds"&&(a.detection_id=this.$VideoPlayerController116,this.emit("videoView/runFraudDetector")),t==="requested_playing"){var l=this.$VideoPlayerController117?this.$VideoPlayerController117.getLiveTraceContext():null;l!=null&&(a.live_trace_stream_id=l.streamId,a.live_trace_stream_type=l.streamType,a.live_trace_source_id=l.sourceId)}if(this.$VideoPlayerController117&&(t==="paused"||t==="finished_playing"||t==="heart_beat")){var s=this.$VideoPlayerController117.getAndFlushTracedFrames();s!=null&&(a.frame_events=JSON.stringify(s))}var u=r("SRTVideoData").getInstance();u!=null&&u.getJobID()&&(a.srt_job_id=u.getJobID(),a.srt_job_tracking_id=u.getJobTrackingID());var c=this.$VideoPlayerController50.logEvent(t,a);return this.emit("debug/vpcLogEvent",c),c}},i.getState=function(){return this.$VideoPlayerController74},i.getStreamingFormat=function(){var e=this.getVideoInfo_DEPRECATED()||{};return e.streamType||this.$VideoPlayerController45},i.setPlaybackRate=function(t){this.getVideoAPI().setPlaybackRate&&this.getVideoAPI().setPlaybackRate(t)},i.getPlaybackRate=function(){return this.getVideoAPI().getPlaybackRate?this.getVideoAPI().getPlaybackRate():1},i.setState=function(t){this.isState("destroyed")||this.isState("fallback")&&!this.isFallbackRecoverable()||(this.$VideoPlayerController74=t,this.$VideoPlayerController74==="fallback"&&(o("CSS").addClass(this.getRootNode(),"_3-n5"),this.$VideoPlayerController142()),this.emit("stateChange"))},i.isState=function(t){return this.$VideoPlayerController74===t},i.isIntentionallyViewing=function(){return this.isState("playing")&&!this.isMuted()},i.abortLoading=function(t){this.isState("loading")||this.isState("fallback")||(r("VideoPlayerExperiments").seekZeroWhenAbortLoadingFinishedVideos&&!(r("VideoPlayerExperiments").seekZeroOnlyVodVideo&&this.$VideoPlayerController42)&&this.isState("finished")&&this.seek(0),this.getVideoAPI().abortLoading(t||{}),this.stopHeartbeat(),this.$VideoPlayerController20.stopUnifiedCVC())},i.preload=function(){this.isState("loading")||this.isState("fallback")||this.getVideoAPI().preload()},i.getPlayerVersion=function(){var e;this.$VideoPlayerController86&&(e=this.getVideoAPI());var t=e&&e.getUpdatedPlayerVersion?e.getUpdatedPlayerVersion.bind(e):this.$VideoPlayerController5.getPlayerVersion,n=t?t():this.$VideoPlayerController60;return this.$VideoPlayerController101?this.$VideoPlayerController159(n):n},i.$VideoPlayerController159=function(t){switch(t){case"silvercity":return"react_silvercity";case"pleasantville":return"react_pleasantville";case"oz":return"react_oz";default:return"react"}},i.registerOption=function(t,n,r,o){var e=this.$VideoPlayerController13.get(t);if(e||(e=new Map,this.$VideoPlayerController13.set(t,e)),e.has(n))throw new Error("An option can only be registered once for each component");e.set(n,{getter:r,setter:o}),this.emit("optionsChange")},i.unregisterOption=function(t,n){var e=this.$VideoPlayerController13.get(t);if(!e)throw new Error('The component "'+t+'" has no options registered');if(!e.has(n))throw new Error('The component "'+t+'" has no option "'+n+'" registered');e.delete(n),e.size||this.$VideoPlayerController13.delete(t),this.emit("optionsChange")},i.getComponents=function(){return this.$VideoPlayerController13.keys()},i.getOptions=function(t){var e=this.$VideoPlayerController13.get(t);return e?e.keys():r("enumerate")([])},i.hasOption=function(t,n){var e=this.$VideoPlayerController13.get(t);return!!e&&e.has(n)},i.getOption=function(t,n){var e=this.$VideoPlayerController13.get(t);if(e){var r=e.get(n);if(r)return r.getter()}},i.setOption=function(t,n,r){var e=this.$VideoPlayerController13.get(t);if(!e)throw new Error("Component not registered");var o=e.get(n);if(!o)throw new Error("Option not registered");var a=o.setter;if(a)return a(r);throw new Error("Read-only option")},i.showDebugOverlayView=function(t){this.emit("showDebugOverlay",t)},i.$VideoPlayerController132=function(){var e=o("DOMQuery").scry(this.$VideoPlayerController70,"^._5pat");return e.length?e[0]:null},i.registerDrawer=function(t,n){return this.$VideoPlayerController24.register(t,n)},i.getVideoPath=function(){return this.$VideoPlayerController92},i.setAllowCrossPageTransition=function(t){this.$VideoPlayerController100=t},i.cleanOnLeave=function(){this.pause("unloaded"),this.destroy()},i.switchReplicaSet=function(t){var e=this.isState("playing");this.getVideoAPI().switchReplicaSet(t.replica,{url:t.url,status:t.status,timestamp:t.timestamp}),e&&this.play("autoplay_initiated")},i.switchToFullVideo=function(){var e=this;this.pause("unloaded"),this.getVideoAPI().reloadDashManifest().done(function(){e.play(new(r("VideoPlayerReasonTransitionHelper"))("user_initiated")),e.emit("switchedToFullVideo")})},i.$VideoPlayerController133=function(){return this.getIsInChannel()||this.$VideoPlayerController73==="living_room"||this.$VideoPlayerController73==="topic_channel_living_room"||this.$VideoPlayerController57==="intern_curation"||this.$VideoPlayerController57==="games_video_hub"},i.getDashAudioConfiguration=function(){return this.getVideoAPI().getDashAudioConfiguration()},i.setEnableLiveheadCatchup=function(t){var e=this.getVideoAPI();e&&e.setEnableLiveheadCatchup(t)},i.setIsLiveRewindActive=function(t){var e=this.getVideoAPI();e&&e.setIsLiveRewindActive(t)},i.isFBWasLive=function(){var e=this.$VideoPlayerController86&&this.getVideoAPI();return!!(e&&e.isFBWasLive())},i.isFBIsLiveTemplated=function(){var e=this.$VideoPlayerController86&&this.getVideoAPI();return!!(e&&e.isFBIsLiveTemplated())},i.getFbManifestIdentifier=function(){var e=this.$VideoPlayerController86&&this.getVideoAPI();return e?e.getFbManifestIdentifier():""},i.isDrm=function(){var e=this.$VideoPlayerController86&&this.getVideoAPI();return e&&e.isDrm()},i.isFBMS=function(){var e=this.$VideoPlayerController86&&this.getVideoAPI();return!!(e&&e.isFBMS())},i.ispDASH=function(){var e=this.$VideoPlayerController86&&this.getVideoAPI();return!!(e&&e.ispDASH())},i.isLiveheadCatchupEnabled=function(){var e=this.getVideoAPI();return e?e.isLiveheadCatchupEnabled():!1},i.getBandwidthEstimate=function(){var e=this.getVideoAPI();return e?e.getBandwidthEstimate():null},i.getSeekableRanges=function(){var e=this.getVideoAPI();return e?e.getSeekableRanges():null},i.isBroadcaster=function(){return this.$VideoPlayerController34||!1},i.isWatchAndScroll=function(){return this.$VideoPlayerController73==="watch_scroll"},i.$VideoPlayerController169=function(){var e=this.$VideoPlayerController86&&this.getVideoAPI();return e?e.isDashPerfLoggingEnabled():null},i.$VideoPlayerController134=function(t,n){c(0,54449)},i.$VideoPlayerController163=function(){return this.isPlayRequestPending()?this.$VideoPlayerController105:this.$VideoPlayerController106},a})(r("MediaController"));l.default=C}),98);
__d("VideoPlayerHTML5ApiCea608State",["Bootloader","Deferred","FBLogger"],(function(t,n,r,o,a,i,l){"use strict";var e=(function(){function e(e){var t=this,n=e.captionsDisplay,o=e.onCaptionsLoaded,a=e.onReady;this.$1=null,this.$2=[],this.$3=null,this.$4={changedCount:0,dequeuedCount:0,erroredCount:0,processedCount:0,processStartedCount:0,queuedCount:0},this.source=null,this.captionsDisplay=null,this.$1=r("Bootloader").loadModules(["VideoPlayerCea608CaptionsSource"],function(e){var r=new e({onCaptionsLoaded:o,onCaptionsChanged:function(n,r){t.$4.changedCount++,t.captionsDisplay&&t.captionsDisplay.handleCaptionsChanged(n,r)}});t.source=r,t.captionsDisplay=n,a(t)},"VideoPlayerHTML5ApiCea608State")}var t=e.prototype;return t.enqueueBytes=function(t){this.$4.queuedCount++,this.$2.push(t),this.$5()},t.processQueue=function(){this.$5()},t.getStats=function(){return this.$4},t.getCurrentScreenRepresentation=function(){return this.source?this.source.getCurrentScreenRepresentation():null},t.destroy=function(){this.$1&&(this.$1.remove(),this.$1=null),this.captionsDisplay&&(this.captionsDisplay.destroy(),this.captionsDisplay=null),this.source&&(this.source.destroy(),this.source=null),this.$4={changedCount:0,dequeuedCount:0,erroredCount:0,processedCount:0,processStartedCount:0,queuedCount:0}},t.$5=function(){var e=this,t=this.source;if(t)for(var n=this.$2,o=this.$3,a=function(){var a=n.shift();if(!o){var i=new(r("Deferred"));i.resolve(),o=i.getPromise()}e.$4.dequeuedCount++,e.$3=o=o.then(function(){return e.$4.processStartedCount++,t.processBytes(a).then(function(){e.$4.processedCount++}).catch(function(t){e.$4.erroredCount++,r("FBLogger")("video").catching(t).mustfix("[VideoPlayerHTML5ApiCea608State] Caught error from CEA-608 source processBytes")})})};n.length;)a()},e})();l.default=e}),98);
__d("VideoPlayerHTML5ApiWebVttState",["Bootloader","FBLogger"],(function(t,n,r,o,a,i,l){"use strict";var e=(function(){function e(e){var t=this,n=e.captionsDisplay,o=e.onCaptionsLoaded,a=e.onReady;this.$1=null,this.source=null,this.captionsDisplay=null,this.$1=r("Bootloader").loadModules(["VideoPlayerWebVttCaptionsSource"],function(e){var r=new e({onCaptionsLoaded:o,onCaptionsChanged:function(n,r){t.captionsDisplay&&t.captionsDisplay.handleCaptionsChanged(n,r)}});t.source=r,t.captionsDisplay=n,a(t)},"VideoPlayerHTML5ApiWebVttState")}var t=e.prototype;return t.loadFromUrl=function(t){var e=this.source;if(!e)throw r("FBLogger")("video_captions").mustfixThrow("[VideoPlayerHTML5ApiWebVttState] Called loadFromUrl when not ready; call from onReady callback.");e.loadFromUrl(t)},t.getCurrentScreenRepresentation=function(){return this.source?this.source.getCurrentScreenRepresentation():null},t.destroy=function(){this.$1&&(this.$1.remove(),this.$1=null),this.captionsDisplay&&(this.captionsDisplay.destroy(),this.captionsDisplay=null),this.source&&(this.source.destroy(),this.source=null)},e})();l.default=e}),98);
__d("VideoPlayerHTML5CaptionsDisplayStyle",["cx","CSS","isTruthy"],(function(t,n,r,o,a,i,l,s){"use strict";var e={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"},u={DEFAULT_BACKGROUND_COLOR:"Black",DEFAULT_BACKGROUND_OPACITY:45,DEFAULT_TEXT_COLOR:"White",DEFAULT_TEXT_SIZE:100,DEFAULT_TEXT_OPACITY:100},c=(function(){function t(e,t,n,r){this.$5="center",this.$1=e,this.$2=t,this.setBackgroundColor(n.background.color),this.setBackgroundOpacity(n.background.opacity),this.setTextColor(n.text.color),this.setTextSize(n.text.size),this.setTextOpacity(n.text.opacity),this.setTextTypeface(n.text.typeface),this.setTextEdge(n.text.edge),this.setTextAlignment(r),this.updateStyle()}var n=t.prototype;return n.setBackgroundColor=function(n){n!=null&&Object.prototype.hasOwnProperty.call(e,n)?this.$3=n:this.$3=u.DEFAULT_BACKGROUND_COLOR},n.setBackgroundOpacity=function(t){r("isTruthy")(t)&&t>=-1&&t<=100?this.$4=t:this.$4=u.DEFAULT_BACKGROUND_OPACITY},n.setTextColor=function(n){n!=null&&Object.prototype.hasOwnProperty.call(e,n)?this.$6=n:this.$6=u.DEFAULT_TEXT_COLOR},n.setTextSize=function(t){t!=null&&t>=50&&t<=200?this.$7=t:this.$7=u.DEFAULT_TEXT_SIZE},n.setTextOpacity=function(t){t!=null&&t>=25&&t<=100?this.$8=t:this.$8=u.DEFAULT_TEXT_OPACITY},n.setTextTypeface=function(t){this.$9=t},n.setTextEdge=function(t){this.$10=t},n.setTextAlignment=function(t){this.$5=t!=null?t:"center"},n.updateStyle=function(){var t,n,r=this.$4;this.$4===-1&&(r=0),r=r!=null?r:u.DEFAULT_BACKGROUND_OPACITY;var a=(t=this.$3)!=null?t:u.DEFAULT_BACKGROUND_COLOR,i=r/100,l="rgba("+e[a]+", "+i+")";this.$1.style.backgroundColor=l,this.$1.style.color=(n=this.$6)!=null?n:u.DEFAULT_TEXT_COLOR;var s="0 0 10px rgb("+e[a]+"), 0 0 5px rgba("+e[a]+", .8)";this.$1.style.textShadow=s;var c=this.$7!=null&&this.$7!=null?this.$7:100;o("CSS").conditionClass(this.$2,"_5z64",c<=50),o("CSS").conditionClass(this.$2,"_5z65",c>50&&c<=75),o("CSS").conditionClass(this.$2,"_5z66",c>100&&c<=125),o("CSS").conditionClass(this.$2,"_5z67",c>125&&c<=150),o("CSS").conditionClass(this.$2,"_5z68",c>150&&c<=175),o("CSS").conditionClass(this.$2,"_5z69",c>175),o("CSS").conditionClass(this.$2,"_6mk2",this.$5==="left"),o("CSS").conditionClass(this.$1,"_6mk2",this.$5==="left")},t})();l.default=c}),98);
__d("VideoPlayerHTML5CaptionsDisplay",["csx","cx","CSS","CaptionSettings","DOM","DOMQuery","VideoPlayerHTML5CaptionsDisplayStyle","clearTimeout","setTimeout"],(function(t,n,r,o,a,i,l,s,u){var e=(function(){function e(e){var t,n,a=this,i=e.append,l=e.areCaptionsAutogenerated,s=e.boundingBox,u=e.drawer,c=e.existingNodesContainer;this.$4=null,this.$5=null,this.$6="",this.$7=null,this.$8=null,this.$9=!1,this.$10=null,this.$12=null;var d=(t=o("DOMQuery").scry(c,"._30vn")[0])!=null?t:null,m=d&&(n=o("DOMQuery").find(d,"._30vo"))!=null?n:null;d||(d=r("DOM").create("div",{className:"_30vn hidden_elem"})),m||(m=r("DOM").create("span",{className:"_30vo hidden_elem"}),r("DOM").setContent(d,m)),this.$1=l,this.$4=d,this.$5=m,this.$12=i(d),this.$7=u,this.$8=u.addListener("reposition",function(e){return a.$13(e)}),this.$11=s,this.$14()}var t=e.prototype;return t.handleBoundingBoxChanged=function(t){this.$11=t,this.$14()},t.handleCaptionsChanged=function(t,n){this.$9||(this.$15(t),this.$16(n))},t.setAutogeneratedCaptionsOptions=function(t){this.$2=t},t.setCaptionsStyle=function(t){var e=this.$10,n=t||o("CaptionSettings").DefaultCaptionSettings;if(e)e.setBackgroundColor(n.background.color),e.setBackgroundOpacity(n.background.opacity),e.setTextColor(n.text.color),e.setTextSize(n.text.size),e.setTextOpacity(n.text.opacity),e.setTextTypeface(n.text.typeface),e.setTextEdge(n.text.edge),e.updateStyle();else{var a=this.$5,i=this.$4;a&&i&&(this.$10=new(r("VideoPlayerHTML5CaptionsDisplayStyle"))(a,i,n,"center"))}},t.showCaptions=function(){var e=this,t=this.$4;t&&o("CSS").removeClass(t,"hidden_elem");var n=this.$7;n&&(n.reposition(),n.reserve());var a=this.$2;a!=null&&this.$1&&(this.$17(),r("clearTimeout")(this.$3),this.$3=r("setTimeout")(function(){e.$3=null,e.$18()},a.duration))},t.hideCaptions=function(){var e=this.$4;e&&o("CSS").addClass(e,"hidden_elem");var t=this.$7;t&&t.release(),this.$3&&(r("clearTimeout")(this.$3),this.$3=null)},t.destroy=function(){var e=this.$8;e&&(e.remove(),this.$8=null);var t=this.$7;t&&(t.release(),t.removeAllListeners(),this.$7=null);var n=this.$12;n&&n(),this.$4=null,this.$5=null,this.$3&&(r("clearTimeout")(this.$3),this.$3=null)},t.$14=function(){var e=this.$11,t=this.$4;t&&(e.width<350?(o("CSS").removeClass(t,"_30vp"),o("CSS").addClass(t,"_30vq")):e.width<800?(o("CSS").removeClass(t,"_30vp"),o("CSS").removeClass(t,"_30vq")):(o("CSS").removeClass(t,"_30vq"),o("CSS").addClass(t,"_30vp")))},t.$18=function(){this.$9=!1,this.handleCaptionsChanged([],{textAlignment:"center"})},t.$17=function(){var e=this.$2;e!=null&&(this.handleCaptionsChanged([e.text],{textAlignment:"center"}),this.$9=!0)},t.$13=function(t){var e=this.$4;e&&r("DOM").setAttributes(e,{style:"bottom:"+t+"px;"})},t.$16=function(t){var e=t.textAlignment,n=this.$10;if(n)n.setTextAlignment(e),n.updateStyle();else{var a=this.$5,i=this.$4;a&&i&&(this.$10=new(r("VideoPlayerHTML5CaptionsDisplayStyle"))(a,i,o("CaptionSettings").DefaultCaptionSettings,e))}},t.$15=function(t){var e=t.map(function(e){return e.trim()}).filter(function(e){return!!e}).join("\n").trim(),n=this.$6;this.$6=e;var a=this.$4,i=this.$5,l=this.$7;!a||!i||!l||(this.$14(),e!==n&&r("DOM").setContent(i,e),e?(o("CSS").removeClass(i,"hidden_elem"),l.setHeight(a.offsetHeight)):(o("CSS").addClass(i,"hidden_elem"),l.setHeight(0)))},e})();l.default=e}),98);
__d("VideoPlayerHTML5TrackNodeManager",["BlobFactory","DOM"],(function(t,n,r,o,a,i,l){var e=t.URL||t.webkitURL,s=(function(){function t(e){var t=e.parsedSubRipText,n=e.videoEl;this.$1=null,this.$2=null,this.$3=null,this.$2=n,this.$3=t,this.$4()}var n=t.prototype;return n.$4=function(){if(!(!e||!r("BlobFactory").isSupported())){if(this.$3){var t=r("BlobFactory").getBlob([this.$3.renderVTT()],{type:"text/vtt"}),n=e.createObjectURL(t);this.$1=r("DOM").create("track",{kind:"captions",src:n}),r("DOM").appendContent(this.$2,this.$1)}if(this.$2)for(var o=this.$2.textTracks,a=0;a<o.length;a++){var i=o[a];i&&(i.mode="hidden")}}},n.destroy=function(){this.$1&&(r("DOM").remove(this.$1),this.$1=null)},t})();l.default=s}),98);
__d("VideoQualityClassInternal",[],(function(t,n,r,o,a,i){a.exports={orderedValues:["sd","hd","uhd"]}}),null);
__d("VideoQualityClasses",["VideoQualityClassInternal"],(function(t,n,r,o,a,i,l){l.default=r("VideoQualityClassInternal").orderedValues}),98);
__d("classWithMixins",[],(function(t,n,r,o,a,i){function e(e,t){var n=function(){e.apply(this,arguments)};return n.prototype=Object.assign(Object.create(e.prototype),t.prototype),n}i.default=e}),66);
__d("dispatchEvent",[],(function(t,n,r,o,a,i){function e(e,n){var r;typeof t.Event=="function"?r=new t.Event(n):(r=t.document.createEvent("Event"),r.initEvent(n,!0,!0)),e.dispatchEvent(r)}i.default=e}),66);
__d("getErrorMessageFromMediaErrorCode",[],(function(t,n,r,o,a,i){"use strict";function e(e){switch(e){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}i.default=e}),66);
__d("getErrorNameFromMediaErrorCode",[],(function(t,n,r,o,a,i){"use strict";function e(e){switch(e){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_"+(e!=null?e:"UNDEFINED")}}i.default=e}),66);
__d("supportsHTML5Video",["DOM","memoize"],(function(t,n,r,o,a,i,l){var e=r("memoize")(function(){return"canPlayType"in r("DOM").create("video")});l.default=e}),98);
__d("isHTML5VideoImplementationUnavailable",["VideoMimeTypes","canVideoPlayType","supportsHTML5Video"],(function(t,n,r,o,a,i,l){function e(e){if(e){var t=r("canVideoPlayType")(r("VideoMimeTypes").h264main30avc);return t!=="probably"}return!r("supportsHTML5Video")()}l.default=e}),98);
__d("onCanPlayHTMLMediaElement",["invariant","EventListener","HTMLMediaElementReadyStates","setImmediate"],(function(t,n,r,o,a,i,l,s){function e(e){return e>=r("HTMLMediaElementReadyStates").HAVE_FUTURE_DATA}function u(t,n){return t instanceof window.HTMLMediaElement||s(0,4493),e(t.readyState)&&r("setImmediate")(n),r("EventListener").listen(t,"canplay",n)}u.once=function(e,t){var n=this,r=u(e,function(){if(r){r.remove(),r=null;for(var e=arguments.length,o=new Array(e),a=0;a<e;a++)o[a]=arguments[a];t.apply(n,o)}})},l.default=u}),98);
__d("onLoadedMetadataHTMLMediaElement",["EventListener","HTMLMediaElementReadyStates","setImmediate"],(function(t,n,r,o,a,i,l){function e(e){return e>=r("HTMLMediaElementReadyStates").HAVE_METADATA}function s(t,n){return e(t.readyState)&&r("setImmediate")(n),r("EventListener").listen(t,"loadedmetadata",n)}s.once=function(e,t){var n=this,r=s(e,function(){r.remove();for(var e=arguments.length,o=new Array(e),a=0;a<e;a++)o[a]=arguments[a];t.apply(n,o)})},l.default=s}),98);
__d("seekHTMLMediaElementTo",["EventListener","onLoadedMetadataHTMLMediaElement","setImmediate"],(function(t,n,r,o,a,i,l){function e(e,t,n){if(e.currentTime==t)return n&&r("setImmediate")(n);try{e.currentTime=t}catch(e){}if(e.currentTime)var o=r("EventListener").listen(e,"seeked",function(){o.remove(),n&&n()});else r("onLoadedMetadataHTMLMediaElement")(e,function(){e.currentTime=t;var o=r("EventListener").listen(e,"seeked",function(){o.remove(),n&&n()})})}l.default=e}),98);
__d("VideoPlayerHTML5Api",["cx","invariant","AbstractVideoPlayerApi","Arbiter","CSS","DOM","DOMDimensions","Deferred","Event","EventListener","FBLogger","HVideoPlayerMixin","MediaBufferingDetector","PlaybackSpeedExperiments","Promise","Run","ShakaConstants","StaleVideoMonitor","SubscriptionsHandler","TimeRanges","URI","VideoData","VideoFrameBuffer","VideoPlaybackQuality","VideoPlayerExperiments","VideoPlayerHTML5ApiCea608State","VideoPlayerHTML5ApiWebVttState","VideoPlayerHTML5CaptionsDisplay","VideoPlayerHTML5Experiments","VideoPlayerHTML5TrackNodeManager","VideoPlayerMemLeakExperiments","VideoPlayerQualitiesArray","VideoPlayerShakaGlobalConfig","VideoPlayerUIComponentDrawer","VideoQualityClasses","classWithMixins","cr:936794","dangerouslyOverrideMediaElementEndedProperty","dispatchEvent","getErrorMessageFromMediaErrorCode","getErrorNameFromMediaErrorCode","getHTMLMediaElementMutedState","isHTML5VideoImplementationUnavailable","mixin","onCanPlayHTMLMediaElement","seekHTMLMediaElementTo","setTimeout"],(function(t,n,r,o,a,i,l,s){var e,u,c=n("VideoPlaybackQuality").getDroppedFrames,d=n("VideoPlaybackQuality").getTotalFrames,m=n("VideoPlayerQualitiesArray").ensureVideoPlayerQualitiesArray,p=n("VideoPlayerQualitiesArray").hasHDVideoQuality,_=n("VideoPlayerQualitiesArray").isHDSelectedVideoQuality,f=-1,g=.05,h=476,y=476;function C(e){return e==null?null:Array.isArray(e)?e.map(function(e){return typeof e=="string"?e:(n("FBLogger")("blue_video_player").mustfix("The Oz player expects the initial representation ids to be an array of strings."),null)}).filter(Boolean):(n("FBLogger")("blue_video_player").mustfix("The Oz player expects the initial representation ids to be an array of strings."),null)}var b=(function(t){"use strict";function r(e,r){var o;o=t.call(this)||this,o.$VideoPlayerHTML5Api1=null,o.$VideoPlayerHTML5Api6=null,o.$VideoPlayerHTML5Api8=null,o.$VideoPlayerHTML5Api12=null,o.$VideoPlayerHTML5Api16=null,o.$VideoPlayerHTML5Api17=!1,o.$VideoPlayerHTML5Api18=!1,o.$VideoPlayerHTML5Api21=!1,o.$VideoPlayerHTML5Api38=null,o.$VideoPlayerHTML5Api46=!1,o.$VideoPlayerHTML5Api51=null,o.$VideoPlayerHTML5Api52=!1,o.$VideoPlayerHTML5Api56=null,o.$VideoPlayerHTML5Api57=null,o.$VideoPlayerHTML5Api58=null,o.$VideoPlayerHTML5Api59=null,o.$VideoPlayerHTML5Api60=null,o.$VideoPlayerHTML5Api35=e,o.$VideoPlayerHTML5Api41=r?r.shakaConfig:null,o.$VideoPlayerHTML5Api15=o.$VideoPlayerHTML5Api35.id,o.preventSeekLoggingInMixin=!0,o.$VideoPlayerHTML5Api61("allow_seek_logging_in_mixin",!1)&&(o.preventSeekLoggingInMixin=!1);var a=o.$VideoPlayerHTML5Api62();if(o.$VideoPlayerHTML5Api47=a.width,o.$VideoPlayerHTML5Api14=a.height,r)o.$VideoPlayerHTML5Api7=r;else{var i=o.$VideoPlayerHTML5Api35.getAttribute("data-config");if(i==null||i==="")throw n("FBLogger")("blue_video_player").mustfixThrow("Empty data-config attribute");try{o.$VideoPlayerHTML5Api7=JSON.parse(i)}catch(e){throw n("FBLogger")("blue_video_player").catching(e).mustfixThrow("Unable to parse data-config attribute as JSON")}}o.$VideoPlayerHTML5Api42=new(n("SubscriptionsHandler")),o.$VideoPlayerHTML5Api5=new(n("MediaBufferingDetector"))(o.$VideoPlayerHTML5Api35,o.$VideoPlayerHTML5Api41),n("VideoPlayerMemLeakExperiments").www_videos_memleak_on_tv?o.$VideoPlayerHTML5Api42.addSubscriptions(o.$VideoPlayerHTML5Api5.addListener("bufferingStart",function(){return o.$VideoPlayerHTML5Api63()}),o.$VideoPlayerHTML5Api5.addListener("bufferingEnd",function(){return o.$VideoPlayerHTML5Api64()})):(o.$VideoPlayerHTML5Api5.addListener("bufferingStart",function(){return o.$VideoPlayerHTML5Api63()}),o.$VideoPlayerHTML5Api5.addListener("bufferingEnd",function(){return o.$VideoPlayerHTML5Api64()})),o.$VideoPlayerHTML5Api25=f,o.$VideoPlayerHTML5Api27=n("getHTMLMediaElementMutedState")(o.$VideoPlayerHTML5Api35),o.$VideoPlayerHTML5Api45=o.$VideoPlayerHTML5Api35.volume,o.$VideoPlayerHTML5Api26=!1,o.$VideoPlayerHTML5Api23=null,o.$VideoPlayerHTML5Api30=!1,o.$VideoPlayerHTML5Api3=!1,o.$VideoPlayerHTML5Api32=o.$VideoPlayerHTML5Api35.getAttribute("preload")=="auto",o.$VideoPlayerHTML5Api33=null,o.$VideoPlayerHTML5Api37=new(n("StaleVideoMonitor"))(o.$VideoPlayerHTML5Api35),n("VideoPlayerMemLeakExperiments").www_videos_memleak_on_tv?o.$VideoPlayerHTML5Api42.addSubscriptions(o.$VideoPlayerHTML5Api37.addListener("stale",function(e,t){return o.$VideoPlayerHTML5Api65(e,t)})):o.$VideoPlayerHTML5Api37.addListener("stale",function(e,t){return o.$VideoPlayerHTML5Api65(e,t)}),o.$VideoPlayerHTML5Api11=!1,o.$VideoPlayerHTML5Api40=!1,o.$VideoPlayerHTML5Api7.lazyPreload&&(o.$VideoPlayerHTML5Api7.onafterloadRegister?n("Run").onAfterLoad(function(){return o.$VideoPlayerHTML5Api35.setAttribute("preload",o.$VideoPlayerHTML5Api7.lazyPreload)}):o.$VideoPlayerHTML5Api35.setAttribute("preload",o.$VideoPlayerHTML5Api7.lazyPreload)),o.$VideoPlayerHTML5Api9=o.$VideoPlayerHTML5Api7.disableNativeControls,o.$VideoPlayerHTML5Api53=o.$VideoPlayerHTML5Api7.subtitlesActive,o.$VideoPlayerHTML5Api54=o.$VideoPlayerHTML5Api7.captionSettings,o.$VideoPlayerHTML5Api66(),o.preventPauseLoggingInMixin=!1,o.$VideoPlayerHTML5Api67(),o.$VideoPlayerHTML5Api16=o.$VideoPlayerHTML5Api7.customLiveManifestUrlParams,o.$VideoPlayerHTML5Api20=o.$VideoPlayerHTML5Api7.useRateLimited,o.$VideoPlayerHTML5Api68(!1);var l=n("VideoQualityClasses").indexOf("hd");return o.$VideoPlayerHTML5Api19=o.$VideoPlayerHTML5Api7.minQuality!==null&&n("VideoQualityClasses").indexOf(o.$VideoPlayerHTML5Api7.minQuality)>=l,o.$VideoPlayerHTML5Api28=o.$VideoPlayerHTML5Api7.minQuality,o.$VideoPlayerHTML5Api29=o.$VideoPlayerHTML5Api7.maxQuality,o.$VideoPlayerHTML5Api2=o.$VideoPlayerHTML5Api7.accessToken,o.$VideoPlayerHTML5Api38=o.$VideoPlayerHTML5Api7.startTimestamp,o.$VideoPlayerHTML5Api34=g,o.$VideoPlayerHTML5Api4=!!o.$VideoPlayerHTML5Api7.autoFullscreenHD,o.$VideoPlayerHTML5Api31=null,o.$VideoPlayerHTML5Api48=!1,o.$VideoPlayerHTML5Api49=!1,o.$VideoPlayerHTML5Api50=!!o.$VideoPlayerHTML5Api7.unloadShouldCancelPendingRequest,o.$VideoPlayerHTML5Api44=null,o.$VideoPlayerHTML5Api51=null,o}babelHelpers.inheritsLoose(r,t);var o=r.prototype;return o.setup=function(){var e;this.switchVideo(0),this.initLogger(this.$VideoPlayerHTML5Api69.bind(this),this.$VideoPlayerHTML5Api7.useEventTime,this.$VideoPlayerHTML5Api61("overwrite_video_current_time_property",!1),this.$VideoPlayerHTML5Api61("fix_overwritten_get_video_current_time",!1),this.$VideoPlayerHTML5Api61("fire_seek_events",!1),this.$VideoPlayerHTML5Api61("fix_pause_current_time_in_mixin",!1),(e=n("PlaybackSpeedExperiments").enablePlaybackSpeedLogging())!=null?e:!1)},o.getAdClientToken=function(){this.$VideoPlayerHTML5Api7.ad_client_token},o.$VideoPlayerHTML5Api65=function(t,r){if(this.$VideoPlayerHTML5Api69("stale",{stale_detect_time_delta:t,stale_video_current_time_delta:r}),this.$VideoPlayerHTML5Api7.nudgeStaleVideo&&typeof this.$VideoPlayerHTML5Api7.staleVideoNudgeAmountMs=="number"){var e=this.getCurrentTimePosition();this.seek((e!=null?e:0)+this.$VideoPlayerHTML5Api7.staleVideoNudgeAmountMs/1e3)}n("VideoPlayerExperiments").showStaleOverlayOnVideoNodeStaled&&this.emit("videoNodeStaled")},o.$VideoPlayerHTML5Api63=function(){this.emit("buffering"),this.$VideoPlayerHTML5Api37.notifyBuffering(),this.$VideoPlayerHTML5Api44&&this.$VideoPlayerHTML5Api44.bufferingStart(Date.now())},o.$VideoPlayerHTML5Api64=function(){this.emit("buffered"),this.$VideoPlayerHTML5Api37.notifyBuffered(),this.$VideoPlayerHTML5Api44&&this.$VideoPlayerHTML5Api44.bufferingEnd(Date.now())},o.$VideoPlayerHTML5Api70=function(t){this.emit("bufferingProgress",t)},o.$VideoPlayerHTML5Api71=function(t){this.emit("initialLiveManifestRequestFailure",t)},o.$VideoPlayerHTML5Api72=function(t){this.emit("replicaSwitch",t)},o.$VideoPlayerHTML5Api73=function(){this.emit("networkInterrupted")},o.$VideoPlayerHTML5Api74=function(){this.emit("networkResumed")},o.$VideoPlayerHTML5Api75=function(){this.emit("streamInterrupted"),this.$VideoPlayerHTML5Api48=!0,this.$VideoPlayerHTML5Api76()},o.$VideoPlayerHTML5Api77=function(){this.emit("seekRangeChanged")},o.$VideoPlayerHTML5Api78=function(){this.emit("streamResumed"),this.$VideoPlayerHTML5Api48=!1},o.$VideoPlayerHTML5Api61=function(t,r){return this.$VideoPlayerHTML5Api41?this.$VideoPlayerHTML5Api41.getBool(t,r):n("VideoPlayerShakaGlobalConfig").getBool(t,r)},o.getVideoPlayerShakaConfig=function(){return this.$VideoPlayerHTML5Api41||n("VideoPlayerShakaGlobalConfig")},o.isStreamInterrupted=function(){return this.$VideoPlayerHTML5Api48},o.getVideoID=function(){return this.$VideoPlayerHTML5Api8?this.$VideoPlayerHTML5Api8.getVideoID():this.$VideoPlayerHTML5Api7.video_id},o.getDroppedFrames=function(){return c(this.$VideoPlayerHTML5Api35)},o.getTotalFrames=function(){return d(this.$VideoPlayerHTML5Api35)},o.isDrm=function(){return this.$VideoPlayerHTML5Api36?this.$VideoPlayerHTML5Api36.isDrm():!1},o.getDebug=function(){return{VideoPlayerHTML5DashPlayer:this.$VideoPlayerHTML5Api36}},o.getDOMElement=function(){return this.$VideoPlayerHTML5Api35},o.getVideoElement=function(){return this.$VideoPlayerHTML5Api35},o.getSubscriptions=function(){return this.$VideoPlayerHTML5Api42},r.onImplementationReady=function(t,n){n()},o.destroy=function(r){var t=this;if(r===void 0&&(r={}),this.$VideoPlayerHTML5Api11)return this.$VideoPlayerHTML5Api12?this.$VideoPlayerHTML5Api12:(e||(e=n("Promise"))).resolve();this.$VideoPlayerHTML5Api36&&this.$VideoPlayerHTML5Api36.disableP2PPlayback(),this.$VideoPlayerHTML5Api11=!0,n("VideoPlayerMemLeakExperiments").clear_handlers_on_destroy&&this.$VideoPlayerHTML5Api5.destroy();var o=null;return r.renderStillFrame===!0?o=this.abortLoading(r):(n("VideoPlayerHTML5Experiments").destroyWithoutStillFrame?o=this.abortLoadingWithoutStillFrame():o=this.abortLoading(r),this.$VideoPlayerHTML5Api79(),this.$VideoPlayerHTML5Api80&&n("DOM").remove(this.$VideoPlayerHTML5Api80)),this.$VideoPlayerHTML5Api12=o.then(function(){t.$VideoPlayerHTML5Api12=null},function(){t.$VideoPlayerHTML5Api12=null}),n("VideoPlayerMemLeakExperiments").clear_handlers_on_destroy&&this.$VideoPlayerHTML5Api42.release(),this.$VideoPlayerHTML5Api12},o.getVideoInfo=function(){var e,t,n=this.$VideoPlayerHTML5Api8;if(!n)return null;var r=this.$VideoPlayerHTML5Api36,o=this.getAvailableVideoQualities();return{isHD:_(o,this.getSelectedVideoQuality()),streamType:n.getStreamType(),hasHD:p(o),areSubtitlesActive:this.areSubtitlesActive(),areSubtitlesAutogenerated:this.areSubtitlesAutogenerated(),isMuted:this.isMuted(),isPlaying:this.$VideoPlayerHTML5Api18,playbackDuration:this.getPlaybackDuration(),volume:this.getVolume(),resourceUrl:r?"DASH manifest":this.$VideoPlayerHTML5Api81(),hasSubtitles:this.hasSubtitles(),hasUnlimitedSrc:n.hasRateLimit(),useUnlimitedSrc:!this.$VideoPlayerHTML5Api20,projection:this.getVideoProjection(),tagSD:n.getSDTag(),tagHD:n.getHDTag(),isLiveStream:n.isLiveStream(),liveManifestUrl:n.isLiveStream()?r?(e=r.getManifestUrl())!=null?e:null:(t=n.getLiveManifestUrl())!=null?t:null:null}},r.isImplementationUnavailable=function(t){return n("isHTML5VideoImplementationUnavailable")(t)},o.pause=function(t){if(this.$VideoPlayerHTML5Api23=t,t==="unloaded"&&!this.isPaused()){var e=this.$VideoPlayerHTML5Api50||n("VideoPlayerHTML5Experiments").unloadShouldCancelPendingRequest;e&&this.$VideoPlayerHTML5Api17?this.$VideoPlayerHTML5Api69("cancelled_requested_playing",this.addWatchTimeData({reason:"unloaded"})):this.$VideoPlayerHTML5Api69("paused",this.addWatchTimeData({reason:"unloaded"})),this.$VideoPlayerHTML5Api49=!0,this.preventPauseLoggingInMixin=!0}this.$VideoPlayerHTML5Api82(),this.$VideoPlayerHTML5Api36?this.$VideoPlayerHTML5Api36.pause():this.$VideoPlayerHTML5Api35.pause()},o.$VideoPlayerHTML5Api68=function(t){this.$VideoPlayerHTML5Api17=t},o.preload=function(){this.$VideoPlayerHTML5Api32||(this.$VideoPlayerHTML5Api1&&this.$VideoPlayerHTML5Api83(),this.$VideoPlayerHTML5Api32=!0,this.$VideoPlayerHTML5Api35.setAttribute("preload","auto"))},o.isPreloading=function(){return this.$VideoPlayerHTML5Api32},o.play=function(t){var e=this;if(this.$VideoPlayerHTML5Api43||(this.$VideoPlayerHTML5Api43=t),this.$VideoPlayerHTML5Api24=t,!this.isPaused()){n("VideoPlayerHTML5Experiments").shouldDispatchPlayingEvent?(n("dispatchEvent")(this.$VideoPlayerHTML5Api35,"play"),n("setTimeout")(function(){return n("dispatchEvent")(e.$VideoPlayerHTML5Api35,"playing")},0)):this.$VideoPlayerHTML5Api84();return}if(this.$VideoPlayerHTML5Api30=!0,this.$VideoPlayerHTML5Api68(!0),this.$VideoPlayerHTML5Api1){n("dispatchEvent")(this.$VideoPlayerHTML5Api35,"play"),this.$VideoPlayerHTML5Api83(),this.$VideoPlayerHTML5Api3=!0;return}this.$VideoPlayerHTML5Api85()},o.$VideoPlayerHTML5Api82=function(){this.$VideoPlayerHTML5Api3&&this.isPaused()&&n("dispatchEvent")(this.$VideoPlayerHTML5Api35,"pause"),this.$VideoPlayerHTML5Api68(!1),this.$VideoPlayerHTML5Api86()},o.$VideoPlayerHTML5Api86=function(){this.$VideoPlayerHTML5Api30=!1,this.$VideoPlayerHTML5Api3=!1},o.$VideoPlayerHTML5Api87=function(){this.$VideoPlayerHTML5Api35.setAttribute("preload","auto"),this.$VideoPlayerHTML5Api32=!0,this.$VideoPlayerHTML5Api35.load(),this.$VideoPlayerHTML5Api35.muted=this.$VideoPlayerHTML5Api27},o.seek=function(t){var e=this.$VideoPlayerHTML5Api61("clear_buffer_on_seek_back",!1),r=this.$VideoPlayerHTML5Api41&&n("ShakaConstants").numbers.clear_buffer_on_seek_back_delta;if(this.$VideoPlayerHTML5Api36&&e&&typeof r=="number"&&this.$VideoPlayerHTML5Api35.currentTime-t>=r&&this.$VideoPlayerHTML5Api36.clearBufferAfterSeekingIfLowerQuality(t),this.$VideoPlayerHTML5Api44&&this.$VideoPlayerHTML5Api44.seekStart(),this.allowNextSeekInMixin(),this.$VideoPlayerHTML5Api61("current_time_during_ready_state_zero_throws",!1))this.$VideoPlayerHTML5Api35.readyState!==0&&(this.$VideoPlayerHTML5Api35.currentTime=t);else try{this.$VideoPlayerHTML5Api35.currentTime=t}catch(e){}this.$VideoPlayerHTML5Api44&&this.$VideoPlayerHTML5Api44.seekEnd()},o.removeRotation=function(){n("CSS").removeClass(this.$VideoPlayerHTML5Api35,"_56jr"),n("CSS").removeClass(this.$VideoPlayerHTML5Api35,"_56js"),n("CSS").removeClass(this.$VideoPlayerHTML5Api35,"_56jt"),this.$VideoPlayerHTML5Api35.style.marginLeft="",this.$VideoPlayerHTML5Api35.style.marginTop="",this.$VideoPlayerHTML5Api35.style.width="",this.$VideoPlayerHTML5Api35.style.height=""},o.applyRotation=function(t){if(t&&(n("CSS").conditionClass(this.$VideoPlayerHTML5Api35,"_56jr",t==90),n("CSS").conditionClass(this.$VideoPlayerHTML5Api35,"_56js",t==180),n("CSS").conditionClass(this.$VideoPlayerHTML5Api35,"_56jt",t==270),t!=180)){var e=this.$VideoPlayerHTML5Api14,r=this.$VideoPlayerHTML5Api47,o=(e-r)/2,a=(r-e)/2;this.$VideoPlayerHTML5Api35.style.marginLeft=a+"px",this.$VideoPlayerHTML5Api35.style.marginTop=o+"px",this.$VideoPlayerHTML5Api35.style.height=r+"px",this.$VideoPlayerHTML5Api35.style.width=e+"px"}},o.$VideoPlayerHTML5Api88=function(t){this.$VideoPlayerHTML5Api41&&this.$VideoPlayerHTML5Api41.setContext("content_category",t.getContentCategory()||"content_category"),this.$VideoPlayerHTML5Api41&&t.isLowLatency()&&this.$VideoPlayerHTML5Api41.setContext("latency_level","low"),this.$VideoPlayerHTML5Api41&&t.isServableViaFbms()&&this.$VideoPlayerHTML5Api41.setContext("servable_via_fmbs",t.isServableViaFbms())},o.switchVideo=function(t){var e=this;if(!(!this.$VideoPlayerHTML5Api7.videoData||this.$VideoPlayerHTML5Api7.videoData.length<=t)){var r=new(n("VideoData"))(this.$VideoPlayerHTML5Api7.videoData[t]);this.$VideoPlayerHTML5Api8=r;var o=r.getFairplayCert();n("cr:936794")!=null&&o!=null&&(this.$VideoPlayerHTML5Api51=n("cr:936794").newIfSupported(o,this.getVideoElement(),r.getVideoID(),this.$VideoPlayerHTML5Api7.videoLicenseUriMap)),r.getOverrideConfig()&&this.$VideoPlayerHTML5Api41&&this.$VideoPlayerHTML5Api41.setOverrideConfig(r.getOverrideConfig()),this.$VideoPlayerHTML5Api88(r);var a=r.isLiveStream()&&r.isHls();if(!a&&(r.hasDashManifest()||r.isLiveStream())&&this.$VideoPlayerHTML5Api7.VideoPlayerHTML5Shaka&&this.$VideoPlayerHTML5Api7.VideoPlayerHTML5Shaka.isSupported(r)&&!this.$VideoPlayerHTML5Api7.fallbackSources){this.$VideoPlayerHTML5Api5.destroy();var i=r.getDashManifest(),l;if(r.isLiveStream()){l=r.getLiveManifestUrl();var c=this.$VideoPlayerHTML5Api16;if(l!=null&&c!=null){var d=new(u||(u=n("URI")))(l),m=Object.entries(c);m.forEach(function(e){var t=e[0],n=e[1],o=t;if(o==="msx"){var a;o=(a=r.getManifestServiceParam())!=null?a:o}d.addQueryData(o,n)}),l=d.toString()}}var p=C(this.$VideoPlayerHTML5Api7.initialRepresentationIds)||r.getDashPrefetchedRepresentationIDs(),_=this.$VideoPlayerHTML5Api7.seekHandler,f=_;_&&(f=function(n){e.getCurrentTimePosition()?e.$VideoPlayerHTML5Api17?e.seek(n):_(n):e.$VideoPlayerHTML5Api35.currentTime=n});var g=new this.$VideoPlayerHTML5Api7.VideoPlayerHTML5Shaka(this.$VideoPlayerHTML5Api35,p,{accessToken:this.$VideoPlayerHTML5Api2,config:this.$VideoPlayerHTML5Api7.shakaConfig,minPlayQuality:this.$VideoPlayerHTML5Api28,maxPlayQuality:this.$VideoPlayerHTML5Api29,width:this.$VideoPlayerHTML5Api47,height:this.$VideoPlayerHTML5Api14,manifest:i,manifestUrl:l,isLive:r.isLiveStream(),isServableViaFbms:r.isServableViaFbms(),startTimestamp:this.$VideoPlayerHTML5Api38,videoID:this.getVideoID(),playerInstanceKey:this.$VideoPlayerHTML5Api7.playerInstanceKey,disableStreaming:this.$VideoPlayerHTML5Api7.disableStreaming,playerOrigin:this.$VideoPlayerHTML5Api7.playerOrigin,playerSuborigin:this.$VideoPlayerHTML5Api7.playerSuborigin,resolutionConstraintMaxHeight:this.$VideoPlayerHTML5Api7.resolutionConstraintMaxHeight,resolutionConstraintMaxWidth:this.$VideoPlayerHTML5Api7.resolutionConstraintMaxWidth,isSpherical:this.$VideoPlayerHTML5Api7.isSpherical,getSource:this.$VideoPlayerHTML5Api7.getSource,vpcPlayingStateEmitter:this.$VideoPlayerHTML5Api7.vpcPlayingStateEmitter,seekHandler:f,streamPriorityAdjuster:this.$VideoPlayerHTML5Api7.streamPriorityAdjuster,videoLiveTrace:this.$VideoPlayerHTML5Api7.videoLiveTrace?this.$VideoPlayerHTML5Api7.videoLiveTrace:null,videoLicenseUriMap:this.$VideoPlayerHTML5Api7.videoLicenseUriMap?this.$VideoPlayerHTML5Api7.videoLicenseUriMap:{},prefetchCache:r.getPrefetchCache(),graphApiVideoLicenseUri:this.$VideoPlayerHTML5Api7.graphApiVideoLicenseUri,widevineCert:r.getWidevineCert(),OzDrmHelper:this.$VideoPlayerHTML5Api7.OzDrmHelper,videoWatchTimeTracker:this.$VideoPlayerHTML5Api44,desiredLatencyMs:r.getDesiredLatencyMs(),latencyToleranceMs:r.getLatencyToleranceMs(),disableAbr:this.$VideoPlayerHTML5Api7.isSpherical===!0&&this.$VideoPlayerHTML5Api61("disable_360_abr",!1),p2pModuleLoader:this.$VideoPlayerHTML5Api7.p2pModuleLoader,p2pSettings:r.getP2PSettings(),disableLogging:this.$VideoPlayerHTML5Api7.disableLogging});n("VideoPlayerMemLeakExperiments").www_videos_memleak_on_tv?this.$VideoPlayerHTML5Api42.addSubscriptions(g.addListener("seekRangeChanged",function(){return e.$VideoPlayerHTML5Api77()}),g.addListener("bufferingStart",function(){return e.$VideoPlayerHTML5Api63()}),g.addListener("bufferingEnd",function(){return e.$VideoPlayerHTML5Api64()}),g.addListener("bufferingProgress",this.$VideoPlayerHTML5Api70.bind(this)),g.addListener("tracksChanged",function(){return e.emit("qualityChange")}),g.addListener("streamInterrupted",function(){return e.$VideoPlayerHTML5Api75()}),g.addListener("streamResumed",function(){return e.$VideoPlayerHTML5Api78()}),g.addListener("initialLiveManifestRequestFailure",this.$VideoPlayerHTML5Api71.bind(this)),g.addListener("replicaSwitch",this.$VideoPlayerHTML5Api72.bind(this)),g.addListener("networkInterrupted",function(){return e.$VideoPlayerHTML5Api73()}),g.addListener("networkResumed",function(){return e.$VideoPlayerHTML5Api74()}),g.addListener("adaptation",function(t){var r=t.reason;n("VideoPlayerHTML5Experiments").dropQualityChange||e.$VideoPlayerHTML5Api69("quality_change",{reason:r}),e.emit("qualityChange")}),g.addListener("representation_ended",function(t){e.logRepresentationEnded(t)}),g.addListener("blocked_paused_representation_ended",function(){e.onBlockedPausedRepresentationEnded()}),g.addListener("debug/dashPlayerEvent",function(t){return e.emit("debug/dashPlayerEvent",t)}),g.addListener("error",function(t){return e.$VideoPlayerHTML5Api89(t)}),g.addListener("cea608AvailabilityChanged",function(){var t=e.$VideoPlayerHTML5Api36;t&&t.areInbandCaptionsExpected()?e.$VideoPlayerHTML5Api53=!0:(e.$VideoPlayerHTML5Api53=!1,e.$VideoPlayerHTML5Api76()),e.$VideoPlayerHTML5Api90(),e.emit("captionsAvailabilityChanged")}),g.addListener("cea608CaptionsBytesReceived",function(t){var n=t.timescale,r=t.videoBytes;n!=null&&!isNaN(n)||s(0,18732),r!=null||s(0,18733);var o={timescale:n,videoBytes:r},a=e.$VideoPlayerHTML5Api57;a||(a=e.$VideoPlayerHTML5Api91()),a.enqueueBytes(o)}),g.addListener("p2pPluginReady",function(){e.p2pPluginReady()})):(g.addListener("seekRangeChanged",function(){return e.$VideoPlayerHTML5Api77()}),g.addListener("bufferingStart",function(){return e.$VideoPlayerHTML5Api63()}),g.addListener("bufferingEnd",function(){return e.$VideoPlayerHTML5Api64()}),g.addListener("bufferingProgress",this.$VideoPlayerHTML5Api70.bind(this)),g.addListener("tracksChanged",function(){return e.emit("qualityChange")}),g.addListener("streamInterrupted",function(){return e.$VideoPlayerHTML5Api75()}),g.addListener("streamResumed",function(){return e.$VideoPlayerHTML5Api78()}),g.addListener("initialLiveManifestRequestFailure",this.$VideoPlayerHTML5Api71.bind(this)),g.addListener("replicaSwitch",this.$VideoPlayerHTML5Api72.bind(this)),g.addListener("networkInterrupted",function(){return e.$VideoPlayerHTML5Api73()}),g.addListener("networkResumed",function(){return e.$VideoPlayerHTML5Api74()}),g.addListener("adaptation",function(t){var r=t.reason;n("VideoPlayerHTML5Experiments").dropQualityChange||e.$VideoPlayerHTML5Api69("quality_change",{reason:r}),e.emit("qualityChange")}),g.addListener("representation_ended",function(t){e.logRepresentationEnded(t)}),g.addListener("blocked_paused_representation_ended",function(){e.onBlockedPausedRepresentationEnded()}),g.addListener("debug/dashPlayerEvent",function(t){return e.emit("debug/dashPlayerEvent",t)}),g.addListener("error",function(t){return e.$VideoPlayerHTML5Api89(t)}),g.addListener("cea608AvailabilityChanged",function(){var t=e.$VideoPlayerHTML5Api36;t&&t.areInbandCaptionsExpected()?e.$VideoPlayerHTML5Api53=!0:(e.$VideoPlayerHTML5Api53=!1,e.$VideoPlayerHTML5Api76()),e.$VideoPlayerHTML5Api90(),e.emit("captionsAvailabilityChanged")}),g.addListener("cea608CaptionsBytesReceived",function(t){var n=t.timescale,r=t.videoBytes;n!=null&&!isNaN(n)||s(0,18732),r!=null||s(0,18733);var o={timescale:n,videoBytes:r},a=e.$VideoPlayerHTML5Api57;a||(a=e.$VideoPlayerHTML5Api91()),a.enqueueBytes(o)}),g.addListener("p2pPluginReady",function(){e.p2pPluginReady()})),g.setup(),this.$VideoPlayerHTML5Api36=g}else{var h=this.$VideoPlayerHTML5Api81();typeof h=="string"&&h!==""&&(this.$VideoPlayerHTML5Api35.src=h),this.$VideoPlayerHTML5Api38!=null&&this.$VideoPlayerHTML5Api38!==0&&this.seek(this.$VideoPlayerHTML5Api38)}this.$VideoPlayerHTML5Api76(),this.hasSubtitles()&&r.hasSubtitles()&&this.$VideoPlayerHTML5Api92(r.getSubtitlesSrc()),this.removeRotation(),this.applyRotation(r.getRotation())}},o.switchToStreamType=function(t){},o.replaceVideoDataFromURL=function(t){},o.getDashAudioConfiguration=function(){return this.$VideoPlayerHTML5Api36?this.$VideoPlayerHTML5Api36.getDashAudioConfiguration():"none"},o.getAudioStreamInfoIDDebug=function(){if(this.$VideoPlayerHTML5Api36){var e=this.$VideoPlayerHTML5Api36.getDebug();if(e.VideoSource){var t=e.VideoSource.getAudioTracks();for(var n of t)if(n.active)return n.streamInfoID}}return null},o.getVideoTracksDebug=function(){if(this.$VideoPlayerHTML5Api36){var e=this.$VideoPlayerHTML5Api36.getDebug();if(e.VideoSource)return e.VideoSource.getVideoTracks()}return null},o.getCurrentlyPlayingVideoStreamInfoID=function(){var e=this.getCurrentTimePosition();return this.$VideoPlayerHTML5Api36?e!=null?this.$VideoPlayerHTML5Api36.getVideoStreamInfoIDForTimePosition(e):null:this.$VideoPlayerHTML5Api8?this.$VideoPlayerHTML5Api19?this.$VideoPlayerHTML5Api8.getHDTag():this.$VideoPlayerHTML5Api8.getSDTag():null},o.getCurrentlyPlayingAudioStreamInfoID=function(){var e=this.getCurrentTimePosition();return this.$VideoPlayerHTML5Api36&&e!=null?this.$VideoPlayerHTML5Api36.getAudioStreamInfoIDForTimePosition(e):null},o.getLocalEstimator=function(){return this.$VideoPlayerHTML5Api36?this.$VideoPlayerHTML5Api36.getLocalEstimator():null},o.unmute=function(){if(this.$VideoPlayerHTML5Api1){this.$VideoPlayerHTML5Api1.mutedState=!1,this.$VideoPlayerHTML5Api27=!1,this.emit("unmuteVideo");return}this.$VideoPlayerHTML5Api35.muted=!1},o.mute=function(){if(this.$VideoPlayerHTML5Api1){this.$VideoPlayerHTML5Api1.mutedState=!0,this.$VideoPlayerHTML5Api27=!0,this.emit("muteVideo");return}this.$VideoPlayerHTML5Api35.muted=!0},o.setRotation=function(t){this.removeRotation(),this.applyRotation(t)},o.setDimensions=function(t,n){var e;this.removeRotation(),this.$VideoPlayerHTML5Api47=t,this.$VideoPlayerHTML5Api14=n,this.$VideoPlayerHTML5Api8&&this.applyRotation(this.$VideoPlayerHTML5Api8.getRotation()),this.$VideoPlayerHTML5Api39&&this.$VideoPlayerHTML5Api39.updateDimensions(t,n),this.$VideoPlayerHTML5Api36&&this.$VideoPlayerHTML5Api36.setDimensions(t,n);var r=(e=this.$VideoPlayerHTML5Api58)!=null?e:this.$VideoPlayerHTML5Api60;if(r){var o=this.$VideoPlayerHTML5Api93();r.handleBoundingBoxChanged(o)}this.emit("dimensionsChange",t,n)},o.setVideoStreamOffset=function(t){this.$VideoPlayerHTML5Api36&&this.$VideoPlayerHTML5Api36.setVideoStreamOffset(t)},o.$VideoPlayerHTML5Api94=function(){this.$VideoPlayerHTML5Api35.controls=!this.$VideoPlayerHTML5Api9},o.$VideoPlayerHTML5Api66=function(){this.$VideoPlayerHTML5Api35.controls=this.$VideoPlayerHTML5Api35.controls&&!this.$VideoPlayerHTML5Api9},o.$VideoPlayerHTML5Api67=function(){this.$VideoPlayerHTML5Api13=n("EventListener").listen(this.$VideoPlayerHTML5Api35,"error",this.$VideoPlayerHTML5Api95.bind(this)),n("VideoPlayerMemLeakExperiments").clear_html5_error_handler||this.$VideoPlayerHTML5Api42.addSubscriptions(this.$VideoPlayerHTML5Api13),this.$VideoPlayerHTML5Api42.addSubscriptions(n("EventListener").listen(this.$VideoPlayerHTML5Api35,"playing",this.$VideoPlayerHTML5Api96.bind(this)),n("EventListener").listen(this.$VideoPlayerHTML5Api35,"play",this.$VideoPlayerHTML5Api84.bind(this)),n("EventListener").listen(this.$VideoPlayerHTML5Api35,"ended",this.$VideoPlayerHTML5Api97.bind(this)),n("EventListener").listen(this.$VideoPlayerHTML5Api35,"waiting",this.$VideoPlayerHTML5Api98.bind(this)),n("EventListener").listen(this.$VideoPlayerHTML5Api35,"pause",this.$VideoPlayerHTML5Api99.bind(this)),n("EventListener").listen(this.$VideoPlayerHTML5Api35,"volumechange",this.$VideoPlayerHTML5Api100.bind(this)),n("EventListener").listen(this.$VideoPlayerHTML5Api35,"mousedown",this.$VideoPlayerHTML5Api101.bind(this)),n("EventListener").listen(this.$VideoPlayerHTML5Api35,"mouseup",this.$VideoPlayerHTML5Api102.bind(this)),n("EventListener").listen(this.$VideoPlayerHTML5Api35,"timeupdate",this.$VideoPlayerHTML5Api103.bind(this)),n("EventListener").listen(this.$VideoPlayerHTML5Api35,"click",this.$VideoPlayerHTML5Api104.bind(this)),n("EventListener").listen(this.$VideoPlayerHTML5Api35,"loadedmetadata",this.$VideoPlayerHTML5Api105.bind(this)),n("EventListener").listen(this.$VideoPlayerHTML5Api35,"progress",this.$VideoPlayerHTML5Api106.bind(this)),n("EventListener").listen(this.$VideoPlayerHTML5Api35,"seeked",this.$VideoPlayerHTML5Api107.bind(this)),n("EventListener").capture(this.$VideoPlayerHTML5Api35.parentNode,"pause",this.$VideoPlayerHTML5Api108.bind(this)))},o.$VideoPlayerHTML5Api109=function(t){this.preventPauseLoggingInMixin=!1,t.preventDefault(),t.stopPropagation()},o.$VideoPlayerHTML5Api108=function(t){t.target===this.$VideoPlayerHTML5Api35&&(this.$VideoPlayerHTML5Api35.ended||(this.$VideoPlayerHTML5Api49&&this.$VideoPlayerHTML5Api109(t),t.lastPauseReason=this.$VideoPlayerHTML5Api23),this.$VideoPlayerHTML5Api49=!1,this.$VideoPlayerHTML5Api44&&this.$VideoPlayerHTML5Api44.pause())},o.$VideoPlayerHTML5Api106=function(){for(var e=this.$VideoPlayerHTML5Api35.buffered,t=0,n=0,r=e.length;r-- >0;){var o=e.end(r),a=e.start(r);if(a<=this.$VideoPlayerHTML5Api35.currentTime){n=a,t=o-a;break}}this.$VideoPlayerHTML5Api110("flash/updateBuffer",{duration:t,offset:n})},o.$VideoPlayerHTML5Api103=function(){var e,t,n,r;this.$VideoPlayerHTML5Api1?r=this.$VideoPlayerHTML5Api1.currentTime:r=this.$VideoPlayerHTML5Api35.currentTime;var o=(e=(t=this.$VideoPlayerHTML5Api56)==null?void 0:t.source)!=null?e:(n=this.$VideoPlayerHTML5Api57)==null?void 0:n.source;o&&o.handleTimeUpdate(r),this.$VideoPlayerHTML5Api110("flash/updateStatus",{position:+r.toFixed(3)})},o.$VideoPlayerHTML5Api104=function(t){t.button===0&&(this.emit("clickVideo"),t.preventDefault())},o.isPaused=function(){return n("VideoPlayerHTML5Experiments").fixIE11EndedPausedState?this.$VideoPlayerHTML5Api35.paused||this.$VideoPlayerHTML5Api35.ended:this.$VideoPlayerHTML5Api35.paused},o.$VideoPlayerHTML5Api111=function(){var e=this.$VideoPlayerHTML5Api35.buffered;return e.length>0&&e.start(0)===0&&e.end(0)===this.$VideoPlayerHTML5Api35.duration},o.$VideoPlayerHTML5Api98=function(){this.$VideoPlayerHTML5Api61("drop_buffering_detection_from_html5_api",!1)||this.$VideoPlayerHTML5Api111()||(this.$VideoPlayerHTML5Api46=!0,this.$VideoPlayerHTML5Api110("flash/buffering"))},o.setVolume=function(t){this.$VideoPlayerHTML5Api35.volume=t},o.$VideoPlayerHTML5Api100=function(){this.$VideoPlayerHTML5Api35.muted!==this.$VideoPlayerHTML5Api27&&this.$VideoPlayerHTML5Api35.volume===this.$VideoPlayerHTML5Api45&&this.$VideoPlayerHTML5Api35.volume>0?(this.$VideoPlayerHTML5Api27=this.$VideoPlayerHTML5Api35.muted,this.$VideoPlayerHTML5Api45=this.$VideoPlayerHTML5Api35.volume,this.$VideoPlayerHTML5Api35.muted?this.$VideoPlayerHTML5Api110("flash/muteVideo"):this.$VideoPlayerHTML5Api110("flash/unmuteVideo")):(this.$VideoPlayerHTML5Api27=this.$VideoPlayerHTML5Api35.muted,this.$VideoPlayerHTML5Api45=this.$VideoPlayerHTML5Api35.volume,this.$VideoPlayerHTML5Api110("flash/changeVolume",{volume:this.$VideoPlayerHTML5Api35.volume})),this.$VideoPlayerHTML5Api35.muted||this.$VideoPlayerHTML5Api110("flash/turnOffAutoplay",{reason:"unmuted"})},o.$VideoPlayerHTML5Api101=function(t){t.button===0&&(this.$VideoPlayerHTML5Api26=!0)},o.$VideoPlayerHTML5Api102=function(t){t.button===0&&(this.$VideoPlayerHTML5Api26=!1)},o.$VideoPlayerHTML5Api96=function(){this.$VideoPlayerHTML5Api68(!1),this.$VideoPlayerHTML5Api46&&(this.$VideoPlayerHTML5Api46=!1,this.$VideoPlayerHTML5Api110("flash/buffered")),this.$VideoPlayerHTML5Api44&&this.$VideoPlayerHTML5Api44.playing()},o.$VideoPlayerHTML5Api84=function(){this.$VideoPlayerHTML5Api18=!0,this.$VideoPlayerHTML5Api94(),this.$VideoPlayerHTML5Api90(),this.$VideoPlayerHTML5Api110("flash/beginPlayback",{position:+this.$VideoPlayerHTML5Api35.currentTime.toFixed(2),reason:this.$VideoPlayerHTML5Api24})},o.$VideoPlayerHTML5Api99=function(t){var e=this.$VideoPlayerHTML5Api61("abort_loading_decisioning_logic",!1);if(this.$VideoPlayerHTML5Api35.ended||e&&n("dangerouslyOverrideMediaElementEndedProperty").isEnded(t)){this.$VideoPlayerHTML5Api18=!1,this.$VideoPlayerHTML5Api68(!1);return}if(!(this.$VideoPlayerHTML5Api35.seeking&&this.$VideoPlayerHTML5Api23==="seek_initiated")&&!(!this.$VideoPlayerHTML5Api61("ignore_left_button_when_pausing",!0)&&this.$VideoPlayerHTML5Api26)){if(this.$VideoPlayerHTML5Api23==="seek_initiated"||this.$VideoPlayerHTML5Api23==="hive_reload"){this.$VideoPlayerHTML5Api23=null;return}(this.$VideoPlayerHTML5Api23===null||this.$VideoPlayerHTML5Api23==="user_initiated")&&this.$VideoPlayerHTML5Api110("flash/turnOffAutoplay",{reason:"manually_paused"}),this.$VideoPlayerHTML5Api23=null,this.$VideoPlayerHTML5Api18=!1,this.$VideoPlayerHTML5Api68(!1),this.$VideoPlayerHTML5Api66(),this.$VideoPlayerHTML5Api110("flash/pausePlayback",{position:this.$VideoPlayerHTML5Api35.currentTime.toFixed(2)})}},o.$VideoPlayerHTML5Api97=function(){var e;if(!this.$VideoPlayerHTML5Api1){this.$VideoPlayerHTML5Api66(),this.$VideoPlayerHTML5Api18=!1,this.$VideoPlayerHTML5Api68(!1),this.$VideoPlayerHTML5Api110("flash/finishPlayback");var t=(e=this.$VideoPlayerHTML5Api58)!=null?e:this.$VideoPlayerHTML5Api60;t&&t.hideCaptions()}},o.$VideoPlayerHTML5Api107=function(){this.emit("seekEnd",{position:+this.$VideoPlayerHTML5Api35.currentTime.toFixed(3)})},o.getEstimatedBandwidth=function(){return this.$VideoPlayerHTML5Api36&&this.$VideoPlayerHTML5Api7.VideoPlayerHTML5Shaka?this.$VideoPlayerHTML5Api7.VideoPlayerHTML5Shaka.getEstimatedBandwidth():null},o.$VideoPlayerHTML5Api105=function(){this.$VideoPlayerHTML5Api110("flash/updateMetadata")},o.$VideoPlayerHTML5Api89=function(t){this.emit("error",babelHelpers.extends({},t,{isPlayback:this.$VideoPlayerHTML5Api30}))},o.$VideoPlayerHTML5Api95=function(){if(!this.$VideoPlayerHTML5Api1&&this.$VideoPlayerHTML5Api35.error){var e=this.$VideoPlayerHTML5Api35.error,t=e.message;(t==null||t==="")&&(t=n("getErrorMessageFromMediaErrorCode")(e.code)),this.emit("error",{error:n("getErrorNameFromMediaErrorCode")(e.code),isPlayback:this.$VideoPlayerHTML5Api30,message:t})}},o.$VideoPlayerHTML5Api69=function(t,n){var e=babelHelpers.extends({event:t},n);t==="started_playing"&&this.$VideoPlayerHTML5Api36&&(e.longest_init_response_time=this.$VideoPlayerHTML5Api36.getLongestInitResponseTime()),e.projection=this.getVideoProjection(),this.$VideoPlayerHTML5Api110("flash/logEvent",{logData:e})},o.$VideoPlayerHTML5Api110=function(t,r){n("Arbiter").inform(t,babelHelpers.extends({divID:this.$VideoPlayerHTML5Api15},r)),this.emit(t.substr(6),r)},o.getLastPlayReason=function(){return this.$VideoPlayerHTML5Api24},o.getVideoPlayReason=function(){return this.$VideoPlayerHTML5Api43},o.isMuted=function(){return this.$VideoPlayerHTML5Api27},o.setPlaybackRate=function(t){this.$VideoPlayerHTML5Api36?this.$VideoPlayerHTML5Api36.setPlaybackRate(t):this.$VideoPlayerHTML5Api35.playbackRate=t},o.getPlaybackRate=function(){return this.$VideoPlayerHTML5Api36?this.$VideoPlayerHTML5Api36.getPlaybackRate():this.$VideoPlayerHTML5Api35.playbackRate},o.getPlaybackDuration=function(){return this.$VideoPlayerHTML5Api1?this.$VideoPlayerHTML5Api1.playbackDuration:this.$VideoPlayerHTML5Api35.duration||0},o.getVolume=function(){return this.$VideoPlayerHTML5Api35.volume},o.getCurrentTimePosition=function(){return this.$VideoPlayerHTML5Api35.currentTime},o.getBufferEndPosition=function(){var e=this.$VideoPlayerHTML5Api35.buffered;if(e&&e.length>0){var t=e.length-1;return e.end(t)}return null},o.$VideoPlayerHTML5Api81=function(){if(this.$VideoPlayerHTML5Api7.fallbackSources)return this.$VideoPlayerHTML5Api19&&this.$VideoPlayerHTML5Api7.fallbackSources.HD?this.$VideoPlayerHTML5Api7.fallbackSources.HD:this.$VideoPlayerHTML5Api7.fallbackSources.SD;var e=this.$VideoPlayerHTML5Api8;return e?this.$VideoPlayerHTML5Api19&&e.hasHD()?this.$VideoPlayerHTML5Api112():this.$VideoPlayerHTML5Api113():null},o.$VideoPlayerHTML5Api112=function(){var e=this.$VideoPlayerHTML5Api8;if(e)if(this.$VideoPlayerHTML5Api20){var t;return(t=e.getPlayableSrcRateLimitedHD())!=null?t:null}else{var n;return(n=e.getPlayableSrcHD())!=null?n:null}return null},o.$VideoPlayerHTML5Api113=function(){var e=this.$VideoPlayerHTML5Api8;if(e)if(this.$VideoPlayerHTML5Api20){var t;return(t=e.getPlayableSrcRateLimitedSD())!=null?t:null}else{var n;return(n=e.getPlayableSrcSD())!=null?n:null}return null},o.toggleSubtitles=function(){this.$VideoPlayerHTML5Api53=!this.$VideoPlayerHTML5Api53,this.$VideoPlayerHTML5Api90(),this.emit("toggleSubtitles")},o.$VideoPlayerHTML5Api114=function(){return!1},o.hasSubtitles=function(){var e=this.$VideoPlayerHTML5Api8,t=this.$VideoPlayerHTML5Api36;if(this.$VideoPlayerHTML5Api114())return!1;var n=e?e.hasSubtitles():!1;return n||(t?t.areInbandCaptionsExpected():!1)},o.areSubtitlesActive=function(){return this.$VideoPlayerHTML5Api53},o.areSubtitlesAutogenerated=function(){return this.$VideoPlayerHTML5Api36?this.$VideoPlayerHTML5Api36.areInbandCaptionsAutogenerated():!1},o.areHLSActive=function(){return!1},o.setAutogeneratedCaptionsOptions=function(t){var e;this.$VideoPlayerHTML5Api55=t;var n=(e=this.$VideoPlayerHTML5Api58)!=null?e:this.$VideoPlayerHTML5Api60;n&&n.setAutogeneratedCaptionsOptions(this.$VideoPlayerHTML5Api55)},o.setSubtitlesStyle=function(t){var e;this.$VideoPlayerHTML5Api54=t;var n=(e=this.$VideoPlayerHTML5Api58)!=null?e:this.$VideoPlayerHTML5Api60;n&&n.setCaptionsStyle(this.$VideoPlayerHTML5Api54)},o.$VideoPlayerHTML5Api90=function(){var e,t=this.$VideoPlayerHTML5Api36;t&&t.areInbandCaptionsExpected()&&(this.$VideoPlayerHTML5Api114()?t.setEnableInbandCaptionsParsing(!1):t.setEnableInbandCaptionsParsing(this.$VideoPlayerHTML5Api54.enabled));var n=(e=this.$VideoPlayerHTML5Api58)!=null?e:this.$VideoPlayerHTML5Api60;n&&(this.$VideoPlayerHTML5Api53?n.showCaptions():n.hideCaptions())},o.$VideoPlayerHTML5Api115=function(){var e,t,n,r=(e=(t=this.$VideoPlayerHTML5Api56)==null?void 0:t.source)!=null?e:(n=this.$VideoPlayerHTML5Api57)==null?void 0:n.source;r&&r.handleTimeUpdate(this.$VideoPlayerHTML5Api35.currentTime),this.$VideoPlayerHTML5Api18&&this.$VideoPlayerHTML5Api90(),this.emit("loadedSubtitles")},o.$VideoPlayerHTML5Api116=function(){var e=this,t=this.$VideoPlayerHTML5Api7.subtitleDrawer;if(!t||!(t instanceof n("VideoPlayerUIComponentDrawer")))return null;var r=new(n("VideoPlayerHTML5CaptionsDisplay"))({append:function(r){return e.$VideoPlayerHTML5Api35.parentNode?(n("DOM").insertAfter(e.$VideoPlayerHTML5Api35,r),function(){n("DOM").remove(r)}):(n("FBLogger")("video").info("Missing video player parent element to append the captions display"),function(){})},areCaptionsAutogenerated:this.areSubtitlesAutogenerated(),drawer:t,existingNodesContainer:this.$VideoPlayerHTML5Api35.parentNode,boundingBox:this.$VideoPlayerHTML5Api93()});return r.setCaptionsStyle(this.$VideoPlayerHTML5Api54),r.setAutogeneratedCaptionsOptions(this.$VideoPlayerHTML5Api55),r},o.$VideoPlayerHTML5Api93=function(){var e=this.$VideoPlayerHTML5Api35.getBoundingClientRect();return{width:e.width,height:e.height}},o.$VideoPlayerHTML5Api92=function(t){var e=this;return this.$VideoPlayerHTML5Api76(),this.$VideoPlayerHTML5Api58=this.$VideoPlayerHTML5Api116(),this.$VideoPlayerHTML5Api56=new(n("VideoPlayerHTML5ApiWebVttState"))({onReady:function(r){e.$VideoPlayerHTML5Api59&&(e.$VideoPlayerHTML5Api59.destroy(),e.$VideoPlayerHTML5Api59=null),r.loadFromUrl(t)},onCaptionsLoaded:function(r){e.$VideoPlayerHTML5Api115(),e.$VideoPlayerHTML5Api59=new(n("VideoPlayerHTML5TrackNodeManager"))({videoEl:e.$VideoPlayerHTML5Api35,parsedSubRipText:r})},captionsDisplay:this.$VideoPlayerHTML5Api58}),this.$VideoPlayerHTML5Api56},o.$VideoPlayerHTML5Api91=function(){var e=this;return this.$VideoPlayerHTML5Api76(),this.$VideoPlayerHTML5Api60=this.$VideoPlayerHTML5Api116(),this.$VideoPlayerHTML5Api57=new(n("VideoPlayerHTML5ApiCea608State"))({onReady:function(t){t.processQueue()},onCaptionsLoaded:function(){e.$VideoPlayerHTML5Api115()},captionsDisplay:this.$VideoPlayerHTML5Api60}),this.$VideoPlayerHTML5Api57},o.$VideoPlayerHTML5Api76=function(){this.$VideoPlayerHTML5Api57&&(this.$VideoPlayerHTML5Api57.destroy(),this.$VideoPlayerHTML5Api57=null),this.$VideoPlayerHTML5Api56&&(this.$VideoPlayerHTML5Api56.destroy(),this.$VideoPlayerHTML5Api56=null),this.$VideoPlayerHTML5Api59&&(this.$VideoPlayerHTML5Api59.destroy(),this.$VideoPlayerHTML5Api59=null)},o.setStillFrameEnabled=function(t){this.$VideoPlayerHTML5Api40=!t},o.$VideoPlayerHTML5Api62=function(){if(this.$VideoPlayerHTML5Api61("use_dimensions_fallbacks",!0)){var e=n("DOMDimensions").getElementDimensions(this.$VideoPlayerHTML5Api35);if(e.width!==0&&e.height!==0)return e;var t=this.$VideoPlayerHTML5Api35.getAttribute("data-video-width"),r=this.$VideoPlayerHTML5Api35.getAttribute("data-video-height");return{width:Number(t)||this.$VideoPlayerHTML5Api35.width||h,height:Number(r)||this.$VideoPlayerHTML5Api35.height||y}}else return n("DOMDimensions").getElementDimensions(this.$VideoPlayerHTML5Api35)},o.getDimensionsForDevice=function(){var e=window.devicePixelRatio||1,t=this.$VideoPlayerHTML5Api62();return{width:t.width*e,height:t.height*e}},o.$VideoPlayerHTML5Api117=function(){if(!this.$VideoPlayerHTML5Api40){var e;if(this.$VideoPlayerHTML5Api39)e=this.$VideoPlayerHTML5Api39;else{var t=this.$VideoPlayerHTML5Api62(),r=n("DOM").create("canvas",{width:t.width,height:t.height,className:"_3t5i"});n("DOM").insertAfter(this.$VideoPlayerHTML5Api35,r),this.$VideoPlayerHTML5Api39=e=new(n("VideoFrameBuffer"))(r,this.$VideoPlayerHTML5Api35)}n("CSS").show(e.getDOMNode()),e.updateFrameBuffer(),n("CSS").hide(this.$VideoPlayerHTML5Api35)}},o.$VideoPlayerHTML5Api79=function(){this.$VideoPlayerHTML5Api39&&(n("CSS").hide(this.$VideoPlayerHTML5Api39.getDOMNode()),n("CSS").show(this.$VideoPlayerHTML5Api35))},o.$VideoPlayerHTML5Api83=function(r){var t=this;r===void 0&&(r=null);var o=this.$VideoPlayerHTML5Api1;if(!o)return(e||(e=n("Promise"))).resolve();if(this.$VideoPlayerHTML5Api21)return this.$VideoPlayerHTML5Api22||(e||(e=n("Promise"))).resolve();var a=[];this.$VideoPlayerHTML5Api21=!0,this.emit("restoringAfterAbort"),this.allowNextSeekInMixin();var i=r==null?o.currentTime:r;if(this.$VideoPlayerHTML5Api36){var l=function(){return t.$VideoPlayerHTML5Api36&&t.$VideoPlayerHTML5Api36.reload(i)||(e||(e=n("Promise"))).resolve()},s=this.$VideoPlayerHTML5Api10?this.$VideoPlayerHTML5Api10.then(l):l();a.push(s)}else{var u,c=(u=this.$VideoPlayerHTML5Api81())!=null?u:"";c!==""&&(this.$VideoPlayerHTML5Api35.src=c),this.$VideoPlayerHTML5Api35.preload=o.preload}var d=new(n("Deferred"));a.push(d.getPromise());var m=function(){var e=t.$VideoPlayerHTML5Api85();t.$VideoPlayerHTML5Api61("create_restore_abort_loading_promise",!1)?d.resolve(e):d.resolve()};return n("seekHTMLMediaElementTo")(this.$VideoPlayerHTML5Api35,i,function(){t.$VideoPlayerHTML5Api79(),t.$VideoPlayerHTML5Api1&&(t.$VideoPlayerHTML5Api35.muted=t.$VideoPlayerHTML5Api1.mutedState,t.$VideoPlayerHTML5Api1=null,t.emit("restoredAfterAbort")),t.$VideoPlayerHTML5Api21=!1,t.$VideoPlayerHTML5Api22=null,n("onCanPlayHTMLMediaElement").once(t.$VideoPlayerHTML5Api35,m)}),this.$VideoPlayerHTML5Api22=(e||(e=n("Promise"))).all(a).then(function(){}),this.$VideoPlayerHTML5Api22},o.abortLoadingWithoutStillFrame=function(){var t=this;if(this.$VideoPlayerHTML5Api1)return this.$VideoPlayerHTML5Api10?this.$VideoPlayerHTML5Api10:(e||(e=n("Promise"))).resolve();var r=this.$VideoPlayerHTML5Api35.currentTime,o=this.isMuted(),a=this.$VideoPlayerHTML5Api35.duration,i=this.isPaused(),l=this.$VideoPlayerHTML5Api35.preload;return this.$VideoPlayerHTML5Api32=!1,this.$VideoPlayerHTML5Api1={mutedState:o,currentTime:r,playbackDuration:a,preload:l},i&&this.$VideoPlayerHTML5Api18&&n("dispatchEvent")(this.$VideoPlayerHTML5Api35,"pause"),this.emit("abortedLoading"),this.$VideoPlayerHTML5Api76(),this.$VideoPlayerHTML5Api36?(this.$VideoPlayerHTML5Api10=this.$VideoPlayerHTML5Api36.unload().then(function(){t.$VideoPlayerHTML5Api10=null}).catch(function(){t.$VideoPlayerHTML5Api10=null}),this.$VideoPlayerHTML5Api10):(this.$VideoPlayerHTML5Api35.preload="none",this.$VideoPlayerHTML5Api35.removeAttribute("src"),this.$VideoPlayerHTML5Api35.load(),(e||(e=n("Promise"))).resolve())},o.abortLoading=function(r){return r===void 0&&(r={}),this.$VideoPlayerHTML5Api1?this.$VideoPlayerHTML5Api10?this.$VideoPlayerHTML5Api10:(e||(e=n("Promise"))).resolve():(r.disableStillFrame!==!0&&this.$VideoPlayerHTML5Api117(),this.abortLoadingWithoutStillFrame())},o.setPreferredVideoQuality=function(t){var e,r=this;if(this.$VideoPlayerHTML5Api31=t,!!this.$VideoPlayerHTML5Api8){if(this.$VideoPlayerHTML5Api36){this.$VideoPlayerHTML5Api36.setPreferredVideoQuality(t);return}n("VideoPlayerHTML5Experiments").newStateChangeCalculation||(this.$VideoPlayerHTML5Api69("paused",this.addWatchTimeData({reason:"toggle_hd"})),this.$VideoPlayerHTML5Api69("requested_playing",{reason:"user_initiated"})),this.$VideoPlayerHTML5Api19=!this.$VideoPlayerHTML5Api19;var o=this.$VideoPlayerHTML5Api35.currentTime,a=this.$VideoPlayerHTML5Api35.muted,i=this.$VideoPlayerHTML5Api35.volume,l=(e=this.$VideoPlayerHTML5Api81())!=null?e:"";l!==""&&(this.$VideoPlayerHTML5Api35.src=l),n("onCanPlayHTMLMediaElement").once(this.$VideoPlayerHTML5Api35,function(){r.$VideoPlayerHTML5Api35.currentTime=o,r.$VideoPlayerHTML5Api35.muted=a,r.$VideoPlayerHTML5Api35.volume=i,r.$VideoPlayerHTML5Api85(),r.emit("qualityChange")}),this.$VideoPlayerHTML5Api30=!0,this.$VideoPlayerHTML5Api68(!0),this.$VideoPlayerHTML5Api87()}},o.unsetPreferredVideoQuality=function(){this.$VideoPlayerHTML5Api31=null,this.$VideoPlayerHTML5Api36&&this.$VideoPlayerHTML5Api36.unsetPreferredVideoQuality()},o.getPreferredVideoQuality=function(){return this.$VideoPlayerHTML5Api31},o.getSelectedVideoQuality=function(){return this.$VideoPlayerHTML5Api36?this.$VideoPlayerHTML5Api36.getSelectedVideoQuality():this.$VideoPlayerHTML5Api19?"HD":"SD"},o.getAvailableVideoQualities=function(){return this.$VideoPlayerHTML5Api7.fallbackSources?m(this.$VideoPlayerHTML5Api7.fallbackSources.HD?["SD","HD"]:["SD"]):this.$VideoPlayerHTML5Api8?this.$VideoPlayerHTML5Api36?this.$VideoPlayerHTML5Api36.getAvailableVideoQualities():m(this.$VideoPlayerHTML5Api8.hasHD()?["SD","HD"]:["SD"]):m([])},o.getIsAbrEnabled=function(){return this.$VideoPlayerHTML5Api36?this.$VideoPlayerHTML5Api36.getIsAbrEnabled():!1},o.canAutoSelectVideoQuality=function(){return this.$VideoPlayerHTML5Api36?this.$VideoPlayerHTML5Api36.canAutoSelectVideoQuality():!1},o.setPreloadDisabled=function(t){this.$VideoPlayerHTML5Api36&&this.$VideoPlayerHTML5Api36.setPreloadDisabled(t)},o.restoreStreamBufferSize=function(){this.$VideoPlayerHTML5Api36&&this.$VideoPlayerHTML5Api36.restoreStreamBufferSize()},r.getPlayerVersion=function(){return"pleasantville"},o.getUpdatedPlayerVersion=function(){return this.$VideoPlayerHTML5Api36&&this.$VideoPlayerHTML5Api36.getPlayerVersion()||r.getPlayerVersion()},o.getVideoNodeSource=function(){return this.$VideoPlayerHTML5Api35.src||""},o.getVideoProjection=function(){if(this.$VideoPlayerHTML5Api33)return this.$VideoPlayerHTML5Api33;var e=this.$VideoPlayerHTML5Api36;if(e){var t;if(this.$VideoPlayerHTML5Api33=(t=e.getVideoProjection())!=null?t:null,this.$VideoPlayerHTML5Api33)return this.$VideoPlayerHTML5Api33}var n=this.$VideoPlayerHTML5Api8;if(n){var r;this.$VideoPlayerHTML5Api33=(r=n.getProjection())!=null?r:null}return this.$VideoPlayerHTML5Api33},o.$VideoPlayerHTML5Api118=function(){var e=this.getCurrentTimePosition();e!=null&&(this.$VideoPlayerHTML5Api6=e)},o.$VideoPlayerHTML5Api119=function(){this.$VideoPlayerHTML5Api6!=null&&this.$VideoPlayerHTML5Api6!==0?(this.$VideoPlayerHTML5Api34=this.$VideoPlayerHTML5Api6,this.$VideoPlayerHTML5Api6=null):this.$VideoPlayerHTML5Api34=g},o.reloadDashManifest=function(){var t=this.$VideoPlayerHTML5Api36;return t?(this.$VideoPlayerHTML5Api118(),this.abortLoading(),this.$VideoPlayerHTML5Api120(function(){return t.refreshDashManifest()},this.$VideoPlayerHTML5Api34)):(e||(e=n("Promise"))).reject()},o.$VideoPlayerHTML5Api120=function(t,n){var e=this;return t().then(function(){e.$VideoPlayerHTML5Api83(n),e.$VideoPlayerHTML5Api119()})},o.switchReplicaSet=function(t,n){var e=this,r=this.$VideoPlayerHTML5Api36,o={failover_response_code:n.status,original_url:"",replica:t},a="";if(r){a=r.getManifestUrl()||a,o.original_url=a,this.$VideoPlayerHTML5Api69("replica_switch",{error_code:n.status,error_user_info:{failover_response_code:n.status,url:n.url||"",replica:t}});try{this.abortLoading(),r.switchReplicaSet(t)}catch(e){this.$VideoPlayerHTML5Api69("replica_switch_failed",{reason:e.toString(),error_user_info:o});return}this.$VideoPlayerHTML5Api83().then(function(){e.$VideoPlayerHTML5Api69("replica_switch_success",{error_code:n.status,error_user_info:o})}).catch(function(t){e.$VideoPlayerHTML5Api69("replica_switch_failed",{reason:t.toString(),error_user_info:o})})}},o.p2pPluginReady=function(){var e=this;this.$VideoPlayerHTML5Api69("live_p2p_playback_reloading",{});var t=function(n){e.$VideoPlayerHTML5Api21=!1,e.$VideoPlayerHTML5Api1=null,e.$VideoPlayerHTML5Api69("live_p2p_playback_plugin_failed",{reason:n.toString()}),e.$VideoPlayerHTML5Api36&&e.$VideoPlayerHTML5Api36.disableP2PPlayback(),e.abortLoading(),e.$VideoPlayerHTML5Api83().then(function(){e.$VideoPlayerHTML5Api36&&(e.$VideoPlayerHTML5Api30||e.$VideoPlayerHTML5Api18)&&e.$VideoPlayerHTML5Api36.play()}).catch(e.$VideoPlayerHTML5Api95.bind(e))};try{this.$VideoPlayerHTML5Api23="hive_reload",this.abortLoading();var n=function(){e.$VideoPlayerHTML5Api36&&(e.$VideoPlayerHTML5Api30||e.$VideoPlayerHTML5Api18)&&e.$VideoPlayerHTML5Api36.play(),e.$VideoPlayerHTML5Api69("live_p2p_playback_plugin_loaded",{})};this.$VideoPlayerHTML5Api83().then(n).catch(t)}catch(e){t(e)}},o.$VideoPlayerHTML5Api85=function(){var t=this,r=(e||(e=n("Promise"))).resolve();if(this.$VideoPlayerHTML5Api30){if(this.$VideoPlayerHTML5Api3)var o=n("EventListener").capture(this.$VideoPlayerHTML5Api35.parentNode,"play",function(e){n("Event").kill(e),o.remove()});if(this.$VideoPlayerHTML5Api35.ended&&!this.$VideoPlayerHTML5Api35.paused&&n("dispatchEvent")(this.$VideoPlayerHTML5Api35,"play"),this.$VideoPlayerHTML5Api36){var a=this.$VideoPlayerHTML5Api36;r=a.play()}else n("VideoPlayerHTML5Experiments").preloadOnPlay&&(this.$VideoPlayerHTML5Api35.preload="auto"),r=this.$VideoPlayerHTML5Api35.play();r.catch(function(e){if(e!=null&&e.name==="NotAllowedError")t.$VideoPlayerHTML5Api69("cancelled_requested_playing",{reason:"not_allowed"}),t.$VideoPlayerHTML5Api110("flash/playbackNotAllowed");else if(!(e!=null&&e.name==="AbortError")){var r,o,a=new Error("Unexpected .play() promise rejection: "+(e!=null?((r=e.name)!=null?r:"(no name)")+": "+((o=e.message)!=null?o:"(no message)"):"(unknown)"));n("FBLogger")("video").catching(a).info(a.message)}t.$VideoPlayerHTML5Api68(!1)})}return this.$VideoPlayerHTML5Api86(),r},o.setEnableLiveheadCatchup=function(t){this.$VideoPlayerHTML5Api36&&this.$VideoPlayerHTML5Api36.setEnableLiveheadCatchup(t)},o.setIsLiveRewindActive=function(t){this.$VideoPlayerHTML5Api52=t,n("PlaybackSpeedExperiments").enableWwwPlaybackSpeedControl()&&!t&&this.setPlaybackRate(1),this.setEnableLiveheadCatchup(!t)},o.isFBWasLive=function(){return!!(this.$VideoPlayerHTML5Api36&&this.$VideoPlayerHTML5Api36.isFBWasLive())},o.isFBIsLiveTemplated=function(){return!!(this.$VideoPlayerHTML5Api36&&this.$VideoPlayerHTML5Api36.isFBIsLiveTemplated())},o.getFbManifestIdentifier=function(){return this.$VideoPlayerHTML5Api36?this.$VideoPlayerHTML5Api36.getFbManifestIdentifier():""},o.isFBMS=function(){return!!(this.$VideoPlayerHTML5Api36&&this.$VideoPlayerHTML5Api36.isFBMS())},o.ispDASH=function(){return!!(this.$VideoPlayerHTML5Api36&&this.$VideoPlayerHTML5Api36.ispDASH())},o.isLiveheadCatchupEnabled=function(){return this.$VideoPlayerHTML5Api36?this.$VideoPlayerHTML5Api36.isLiveheadCatchupEnabled():!1},o.getBandwidthEstimate=function(){return this.$VideoPlayerHTML5Api36?this.$VideoPlayerHTML5Api36.getBandwidthEstimate():null},o.getSeekableRanges=function(){if(this.$VideoPlayerHTML5Api36)return this.$VideoPlayerHTML5Api36.getSeekableRanges();var e=[];if(this.$VideoPlayerHTML5Api35)for(var t=this.$VideoPlayerHTML5Api35.seekable,r=0;r<t.length;++r)e.push({startTime:t.start(r),endTime:t.end(r)});return e.length===0&&e.push({startTime:0,endTime:0}),new(n("TimeRanges"))(e)},o.isDashPerfLoggingEnabled=function(){return this.$VideoPlayerHTML5Api36?this.$VideoPlayerHTML5Api36.isDashPerfLoggingEnabled():null},r.getStartMutedFromConfig=function(t){return t.muted},r.getStreamTypeFromConfig=function(t){var e=new(n("VideoData"))(t.videoData[0]);return e.getStreamType()},r.getIsServableViaFbmsFromConfig=function(t){var e=new(n("VideoData"))(t.videoData[0]);return e.isServableViaFbms()},r.getIsPlayingLiveFromConfig=function(t){var e=new(n("VideoData"))(t.videoData[0]);return e.isLiveStream()},r.getIsGamingFromConfig=function(t){var e=new(n("VideoData"))(t.videoData[0]);return e.isGaming()},r.getIsFacecastAudioFromConfig=function(t){var e=new(n("VideoData"))(t.videoData[0]);return e.isFacecastAudio()},r.getIsSpherical=function(t){var e=new(n("VideoData"))(t.videoData[0]);return e.isSpherical()},r.getIsLiveTraceEnabledOnPlayer=function(t){var e=new(n("VideoData"))(t.videoData[0]);return e.isLiveTraceEnabledOnPlayer()},r})(n("classWithMixins")(n("AbstractVideoPlayerApi"),n("mixin")(n("HVideoPlayerMixin"))));b.networkTimeout=5e3,a.exports=b}),null);
__d("VideoPlayerStateBasedLoggingEventsJSModuleWrapper",["VideoPlayerStateBasedLoggingEvents"],(function(t,n,r,o,a,i,l){"use strict";l.default=r("VideoPlayerStateBasedLoggingEvents")}),98);
__d("VideoWithFallbackMode",["Event","SubscriptionsHandler","TimeSlice","VideoPlayerExperiments","VideoPlayerLoggerFallbackReasons","Visibility"],(function(t,n,r,o,a,i){var e=(function(){"use strict";function e(e,t){var r=this;this.$1=!1,this.$2=!1,this.$5=function(){r.$1=!0,n("VideoPlayerExperiments").disableFallbackModeForInactiveTab&&r.$2&&(r.$6.play("fallback_mode"),r.$2=!1)},this.$8=function(){r.$1=!1},this.$3=new(n("SubscriptionsHandler")),t||(t=e,e=null),this.$4=t,e&&this.enable(e)}var t=e.prototype;return t.enable=function(t){var e=this;if(this.$3.engage(),this.$6=t,this.$6.isImplementationUnavailable()||this.$6.getOption("SphericalVideoPlayer","isUnavailable")){this.$7(n("VideoPlayerLoggerFallbackReasons").FLASH_UNAVAILABLE);return}if(this.$3.addSubscriptions(n("Event").listen(window,"blur",this.$8),n("Event").listen(window,"focus",this.$5),n("Visibility").addListener(n("Visibility").HIDDEN,this.$8),n("Visibility").addListener(n("Visibility").VISIBLE,this.$5),t.addListener("error",this.$9.bind(this))),this.$4.fallbackTimeoutMs){var r=this.$4.fallbackTimeoutMs;this.$10=setTimeout(n("TimeSlice").guard(function(){e.$6.isState("loading")&&(e.$6.pause("fallback_mode"),e.$7(n("VideoPlayerLoggerFallbackReasons").TIMEOUT),e.$2=!0)},"VideoWithFallbackMode fallbackTimeout",{propagationType:n("TimeSlice").PropagationType.EXECUTION}),r)}},t.disable=function(){this.$3.release(),clearTimeout(this.$10),this.$10=null,this.$6=null},t.$9=function(t){this.$6.isState("fallback")||(this.$6.isState("playing")&&this.$6.pause("fallback_mode"),this.$6.abortLoading(),t?this.$7(t):(this.$7(n("VideoPlayerLoggerFallbackReasons").FLASH_ERROR),this.$2=!0))},t.$7=function(t){n("VideoPlayerExperiments").disableFallbackModeForInactiveTab&&!this.$1||(this.$6.setState("fallback"),t===n("VideoPlayerLoggerFallbackReasons").TIMEOUT&&this.$6.emit("VideoWithStallRecoveryOverlay/timeout"),this.$6.logEvent("entered_fallback",{debug_reason:t}))},e})();a.exports=e}),null);
__d("filterObject",[],(function(t,n,r,o,a,i){"use strict";var e=Object.prototype.hasOwnProperty;function l(t,n,r){if(!t)return null;var o={};for(var a in t)e.call(t,a)&&n.call(r,t[a],a,t)&&(o[a]=t[a]);return o}i.default=l}),66);
__d("setIntervalBlue",["TimerStorage","setIntervalAcrossTransitions"],(function(t,n,r,o,a,i,l){function e(e,t){for(var n=arguments.length,o=new Array(n>2?n-2:0),a=2;a<n;a++)o[a-2]=arguments[a];var i=r("setIntervalAcrossTransitions").apply(void 0,[e,t].concat(o));return r("TimerStorage").set(r("TimerStorage").INTERVAL,i),i}l.default=e}),98);
__d("setIntervalWWW",["cr:896461"],(function(t,n,r,o,a,i,l){l.default=n("cr:896461")}),98);