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

212 lines
373 KiB
Plaintext

;/*FB_PKG_DELIM*/
__d("ARIA",["DOM","emptyFunction","ge","getOrCreateDOMID","joinClasses"],(function(t,n,r,o,a,i,l){var e,s,u=function(){e=r("ge")("ariaAssertiveAlert"),e||(e=r("DOM").create("div",{id:"ariaAssertiveAlert",className:r("joinClasses")("accessible_elem","accessible_elem_offset"),"aria-live":"assertive"}),r("DOM").appendContent(document.body,e)),s=r("ge")("ariaPoliteAlert"),s||(s=e.cloneNode(!1),s.setAttribute("id","ariaPoliteAlert"),s.setAttribute("aria-live","polite"),r("DOM").appendContent(document.body,s)),u=r("emptyFunction")};function c(t,n){u();var o=n?e:s;r("DOM").setContent(o,t)}function d(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];var a=n.map(function(e){return r("getOrCreateDOMID")(e)}).join(" ");e.setAttribute("aria-controls",a)}function m(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];var a=n.map(function(e){return r("getOrCreateDOMID")(e)}).join(" ");e.setAttribute("aria-describedby",a)}function p(e,t){e.setAttribute("aria-owns",r("getOrCreateDOMID")(t))}function _(e,t){var n=r("getOrCreateDOMID")(t);e.setAttribute("aria-controls",n),e.setAttribute("aria-haspopup","true");var o=e.getAttribute("role")||"";o&&e.setAttribute("role",o)}function f(e){c(e,!0)}function g(e){c(e,!1)}l.controls=d,l.describedBy=m,l.owns=p,l.setPopup=_,l.announce=f,l.notify=g}),98);
__d("ReactPropTransferer",["cr:8910"],(function(t,n,r,o,a,i,l){l.default=n("cr:8910")}),98);
__d("cloneWithProps_DEPRECATED",["ReactPropTransferer","react","warning"],(function(t,n,r,o,a,i){"use strict";var e,l=e||(e=n("react")),s="children",u=!1;function c(e,t){var r=n("ReactPropTransferer").mergeProps(t,e.props);return!Object.prototype.hasOwnProperty.call(r,s)&&Object.prototype.hasOwnProperty.call(e.props,s)&&(r.children=e.props.children),l.createElement(e.type,r)}a.exports=c}),null);
__d("AbstractButton.react",["cx","Link.react","cloneWithProps_DEPRECATED","joinClasses","mergeRefs","react"],(function(t,n,r,o,a,i,l,s){var e=["buttonRef","depressed","disabled","image","imageRight","label","labelIsHidden"],u,c=u||(u=o("react")),d=u.Component,m=(function(t){function n(){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.$1=c.createRef(),e.handleLinkClick=function(t){e.props.disabled===!0?t.preventDefault():e.props.onClick&&e.props.onClick(t)},babelHelpers.assertThisInitialized(e)||babelHelpers.assertThisInitialized(e)}babelHelpers.inheritsLoose(n,t);var o=n.prototype;return o.focus=function(){this.$1.current!=null&&this.$1.current.focus()},o.render=function(){var t=this.props,n=t.buttonRef,o=t.depressed,a=t.disabled,i=t.image,l=t.imageRight,s=t.label,u=t.labelIsHidden,d=babelHelpers.objectWithoutPropertiesLoose(t,e),m=r("mergeRefs")(this.$1,n);delete d.shade;var p="_42ft"+(a?" _42fr":"")+(o?" _42fs":""),_=i;if(_!=null){var f={};s!=null&&(f.alt="",(u===!1||u==null)&&(f.className="_3-8_")),_=r("cloneWithProps_DEPRECATED")(_,f)}var g=l;if(g!=null){var h={};s!=null&&(h.alt="",(u===!1||u==null)&&(h.className="_3-99")),g=r("cloneWithProps_DEPRECATED")(g,h)}if(this.props.href!=null){var y=this.props,C=y.disabled,b=y.role,v=C===!0&&b==="button";return c.jsxs(r("Link.react"),babelHelpers.extends({},d,{linkRef:m,"aria-disabled":v?!0:void 0,className:r("joinClasses")(this.props.className,p),onClick:this.handleLinkClick,tabIndex:C===!0?-1:this.props.tabIndex,children:[_,u===!0?c.jsx("span",{className:"x1qvwoe0 xjm9jq1 x6ikm8r x10wlt62 x10l6tqk xuxw1ft x1i1rx1s",children:s}):s,g]}))}else return this.props.type&&this.props.type!=="submit"?c.jsxs("button",babelHelpers.extends({},d,{ref:m,className:r("joinClasses")(this.props.className,p),disabled:a,type:this.props.type,children:[_,u===!0?c.jsx("span",{className:"x1qvwoe0 xjm9jq1 x6ikm8r x10wlt62 x10l6tqk xuxw1ft x1i1rx1s",children:s}):s,g]})):c.jsxs("button",babelHelpers.extends({},d,{ref:m,className:r("joinClasses")(this.props.className,p),disabled:a,type:"submit",value:"1",children:[_,u===!0?c.jsx("span",{className:"x1qvwoe0 xjm9jq1 x6ikm8r x10wlt62 x10l6tqk xuxw1ft x1i1rx1s",children:s}):s,g]}))},n})(d);m.defaultProps={disabled:!1,depressed:!1,labelIsHidden:!1},l.default=m}),98);
__d("AbstractVideoFullscreenControl.react",["cx","AbstractButton.react","joinClasses","react"],(function(t,n,r,o,a,i,l,s){"use strict";var e,u=e||(e=o("react")),c=(function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return t=e.call.apply(e,[this].concat(r))||this,t.state={awaitingUpdate:!1},t.isFullscreen=function(){return t.state.awaitingUpdate?t.state.isFullscreenOverride:!!t.props.isFullscreen},t.onButtonClick=function(){t.props.onToggleFullscreen&&t.props.onToggleFullscreen()},babelHelpers.assertThisInitialized(t)||babelHelpers.assertThisInitialized(t)}babelHelpers.inheritsLoose(t,e);var n=t.prototype;return n.render=function(){var e=babelHelpers.extends({},this.props);return delete e.isFullscreen,delete e.onToggleFullscreen,u.jsx(r("AbstractButton.react"),babelHelpers.extends({},e,{className:r("joinClasses")(this.props.isFullscreen?"uiContextualLayerParent":"",this.props.className),disabled:this.props.disabled,image:this.props.image,label:this.props.label,onClick:this.onButtonClick}))},t})(u.PureComponent);l.default=c}),98);
__d("AdsCanvasElementUpdateDataActionFlux",[],(function(t,n,r,o,a,i){"use strict";a.exports={actionType:"ELEMENT.UPDATE"}}),null);
__d("AdsMessengerPACreationStateQuestionItemsActionFlux",[],(function(t,n,r,o,a,i){"use strict";a.exports={actionType:"ADS_MESSENGER_PA_CREATION_STATE_QUESTION_ITEMS"}}),null);
__d("AdsUEditorAdgroupSetSAOffOptinStatusActionFlux",[],(function(t,n,r,o,a,i){"use strict";a.exports={actionType:"AdsUEditorAdgroupSetDestinationSpecPlugin"}}),null);
__d("AgnosticEmbeddedVideoApiComponent",["EventEmitter"],(function(t,n,r,o,a,i,l){var e=(function(e){function t(t,n){var r;return r=e.call(this)||this,r.$AgnosticEmbeddedVideoApiComponent$p_1=t,n("Connect.Unsafe.play",function(){r.emit("play")}),n("Connect.Unsafe.pause",function(){r.emit("pause")}),n("Connect.Unsafe.seek",function(e,t){r.emit("seek",e,t)}),n("Connect.Unsafe.mute",function(){r.emit("mute")}),n("Connect.Unsafe.unmute",function(){r.emit("unmute")}),n("Connect.Unsafe.setVolume",function(e,t){r.emit("setVolume",e,t)}),r}babelHelpers.inheritsLoose(t,e);var n=t.prototype;return n.notifyStartedPlaying=function(){this.$AgnosticEmbeddedVideoApiComponent$p_2("startedPlaying")},n.notifyFinishedPlaying=function(){this.$AgnosticEmbeddedVideoApiComponent$p_2("finishedPlaying")},n.notifyPaused=function(){this.$AgnosticEmbeddedVideoApiComponent$p_2("paused")},n.notifyStartedBuffering=function(){this.$AgnosticEmbeddedVideoApiComponent$p_2("startedBuffering")},n.notifyFinishedBuffering=function(){this.$AgnosticEmbeddedVideoApiComponent$p_2("finishedBuffering")},n.notifyError=function(){this.$AgnosticEmbeddedVideoApiComponent$p_2("error")},n.notifyStateUpdate=function(t){this.$AgnosticEmbeddedVideoApiComponent$p_1({type:"cachedStateUpdateRequest",data:JSON.stringify(t)})},n.notifyVideoAPIReady=function(t){this.$AgnosticEmbeddedVideoApiComponent$p_1({type:"onVideoAPIReady",data:JSON.stringify(t)})},n.$AgnosticEmbeddedVideoApiComponent$p_2=function(t){this.$AgnosticEmbeddedVideoApiComponent$p_1({type:"stateChange",state:t})},t})(r("EventEmitter"));l.default=e}),98);
__d("BasicVector",[],(function(t,n,r,o,a,i){var e=(function(){function e(e,t){this.x=e,this.y=t}var t=e.prototype;return t.derive=function(n,r){return new e(n,r)},t.toString=function(){return"("+this.x+", "+this.y+")"},t.add=function(t,n){n===void 0&&(n=t.y,t=t.x);var e=parseFloat(t),r=parseFloat(n);return this.derive(this.x+e,this.y+r)},t.mul=function(t,n){return n===void 0&&(n=t),this.derive(this.x*t,this.y*n)},t.div=function(t,n){return n===void 0&&(n=t),this.derive(this.x*1/t,this.y*1/n)},t.sub=function(t,n){return arguments.length===1?this.add(t.mul(-1)):this.add(-t,-n)},t.distanceTo=function(t){return this.sub(t).magnitude()},t.magnitude=function(){return Math.sqrt(this.x*this.x+this.y*this.y)},t.rotate=function(t){return this.derive(this.x*Math.cos(t)-this.y*Math.sin(t),this.x*Math.sin(t)+this.y*Math.cos(t))},e})();i.default=e}),66);
__d("BlueBar",["csx","CSS","DOMQuery","Style","ge"],(function(t,n,r,o,a,i,l,s){var e=document,u={};function c(t){return o("DOMQuery").scry(e,t)[0]}function d(e,t){return u[e]?u[e]:u[e]=c(t)}function m(){e=r("ge")("blueBarDOMInspector")||document,u={}}function p(){var e=g();return e?o("CSS").matchesSelector(e,"._5rmj")||r("Style").isFixed(e):!1}function _(){return d("bar","div._1s4v")}function f(){return d("navRoot","div._cx4")||_()}function g(){return d("maybeFixedRoot","div._26aw")}function h(){return d("maybeFixedRootLoggedOut","div._1pmx")}function y(){return d("maybeFixedRootLogin","div._53jh")}m(),l.hasFixedBlueBar=p,l.getBar=_,l.getNavRoot=f,l.getMaybeFixedRoot=g,l.getLoggedOutRoot=h,l.getNewLoggedOutRoot=y}),98);
__d("CometAltpayJsSdkIframeAllowedDomains.experimental",["cr:27561"],(function(t,n,r,o,a,i,l){"use strict";l.default=n("cr:27561")}),98);
__d("isCometAltpayJsSdkIframeAllowedDomain",["CometAltpayJsSdkIframeAllowedDomains.experimental","URI"],(function(t,n,r,o,a,i,l){"use strict";var e,s=Object.freeze(r("CometAltpayJsSdkIframeAllowedDomains.experimental")),u=Object.freeze(s.allowed_domains);function c(){var t=new(e||(e=r("URI")))(window.location.href);if(u==null||u.length<=0)return!1;var n=u.some(function(n){var o=new(e||(e=r("URI")))(n);return o==null?!1:t.isSameOrigin(o)});return!!n}l.default=c}),98);
__d("BlueCompatBroker",["Env","URI","isCometAltpayJsSdkIframeAllowedDomain","isFacebookURI","isMessengerDotComURI","isWorkDotMetaDotComURI","isWorkplaceDotComURI"],(function(t,n,r,o,a,i){"use strict";var e,l,s,u=new Map,c=!1,d=function(r){var t=new(e||(e=n("URI")))(r);return n("isFacebookURI")(t)||n("isWorkplaceDotComURI")(t)||n("isMessengerDotComURI")(t)||n("isWorkDotMetaDotComURI")(t)},m={dispatch:function(t){var e=m.getMessageEventString(t,"compatAction");if(e!=null){var n=u.get(e);n&&n(t)}},getMessageEventString:function(t,n){var e=t.data;if(typeof e=="object"){var r=e==null?void 0:e[n];if(typeof r=="string")return r}return""},init:function(t){if(t===void 0&&(t=""),!c){document.body&&(document.body.style.overflow="auto");var e=n("isCometAltpayJsSdkIframeAllowedDomain")()?"https://secure.facebook.com/":document.referrer,r=e.indexOf("/",8),o=e.substring(0,r);if(d(o)){var a=new MessageChannel,i=t!==""?t:(l||(l=n("Env"))).iframeKey;s=a.port1,s.onmessage=m.dispatch,window.parent.postMessage({compatAction:"CompatSetup",iframeKey:i},o+"/",[a.port2])}try{window.__REACT_DEVTOOLS_GLOBAL_HOOK__=window.parent.__REACT_DEVTOOLS_GLOBAL_HOOK__}catch(e){}c=!0}},register:function(t,n){u.set(t,n)},clear:function(t){u.delete(t)},sendMessage:function(t){c||m.init(),s&&s.postMessage(babelHelpers.extends({},t))}};a.exports=m}),null);
__d("MessengerEnvironment",["CurrentEnvironment"],(function(t,n,r,o,a,i,l){"use strict";var e=babelHelpers.extends({},r("CurrentEnvironment"),{messengerui:!1,roomschatui:!1,setMessengerUI:function(n){e.messengerui=n},setRoomsChatUI:function(n){e.roomschatui=n}}),s=e;l.default=s}),98);
__d("BlueCompatRouter",["BlueCompatBroker","Env","MessengerEnvironment","URI","areEqual","gkx","isCdnURI"],(function(t,n,r,o,a,i,l){"use strict";var e,s,u,c=function(n,r){var e,o=t.__fbNativeClearTimeout||window.clearTimeout,a=t.__fbNativeSetTimeout||window.setTimeout;return function(){var t=this,i=arguments,l=function(){e=null,n.apply(t,i)};o(e),e=a(l,r)}},d={convertUri:function(n){if(n==null||n==="")return new(e||(e=r("URI")));var t=new(e||(e=r("URI")))(n);return t.getDomain().endsWith("messenger.com")?t.setDomain(t.getDomain().replace(/messenger\.com/i,"facebook.com")).setPath("/messages"+t.getPath()):t},goFragment:function(n){if((s||(s=r("Env"))).isCQuick){var t=d.convertUri(n);if(t.getFragment()){var o=(e||(e=r("URI"))).getRequestURI(!1,!1);if((u||(u=r("areEqual")))(new(e||(e=r("URI")))(o).setFragment("").getQualifiedURI(),new(e||(e=r("URI")))(t).setFragment("").getQualifiedURI()))return!0}}return!1},go:function(n,o){if((s||(s=r("Env"))).isCQuick){var t=new(e||(e=r("URI")))(n),a=d.convertUri(n),i=a.getQualifiedURI();if(r("isCdnURI")(a)||i.getPath().startsWith("/compat"))return!1;var l=(function(){if(r("MessengerEnvironment").messengerui&&i.getPath().startsWith("/messages"))return[!1,"/messages"];if(t.getPath().startsWith("/settings")&&i.getPath().startsWith("/settings")&&(r("gkx")("20836")||i.getSubdomain()!==t.getSubdomain())){var e=i.getQueryData().tab;return e!=null?[!1,"/settings/"+e]:[!1,"/settings"]}return t.getPath().startsWith("/games")&&i.getPath().startsWith("/games")?[!1,"/games/web"]:t.getPath().startsWith("/notes")&&i.getPath().startsWith("/notes")?[!1,"/notes"]:t.getPath().startsWith("/latest/posts")&&i.getPath().startsWith("/latest/posts")?[!1,"/business"]:/\/[A-Za-z\-0-9]+\/settings/.test(t.getPath())?[!1,"/pages/settings"]:/\/[A-Za-z\-0-9]+\/insights/.test(t.getPath())?[!1,"/insights"]:[!0,""]})(),u=l[0],c=l[1];return m({compatAction:"route",maintainKey:c,replace:o,uri:String(i)}),u}return!1},startChat:function(t,n){return d.sendMessage({compatAction:"startchat",tabId:t,isPage:n})},chatListener:function(t,n,r){t.addEventListener("click",function(e){e.preventDefault(),d.startChat(n,r)})},sendMessage:function(t){return(s||(s=r("Env"))).isCQuick?(r("BlueCompatBroker").init(),r("BlueCompatBroker").sendMessage(t),!0):!1}},m=c(d.sendMessage,250),p=d;l.default=p}),98);
__d("DeferredComponent.react",["createCancelableFunction","react"],(function(t,n,r,o,a,i){var e=["deferredPlaceholder","deferredComponent","onComponentLoad","deferredForcePlaceholder"],l,s=l||(l=n("react")),u=(function(t){"use strict";function r(e,n){var r;r=t.call(this,e,n)||this,r.cancelableModulesLoaded=function(){},r.$1=function(e){r.setState({ComponentClass:e},function(){r.props.onComponentLoad&&r.props.onComponentLoad(e)})};var o=null;function a(e){o=e}return r.props.deferredComponent(a),r.state={ComponentClass:o},r}babelHelpers.inheritsLoose(r,t);var o=r.prototype;return o.componentDidMount=function(){this.cancelableModulesLoaded=n("createCancelableFunction")(this.$1),this.props.deferredComponent(this.cancelableModulesLoaded)},o.componentWillUnmount=function(){this.cancelableModulesLoaded.cancel()},o.render=function(){var t=this.state.ComponentClass;if(!t||this.props.deferredForcePlaceholder)return this.props.deferredPlaceholder;var n=this.props,r=n.deferredPlaceholder,o=n.deferredComponent,a=n.onComponentLoad,i=n.deferredForcePlaceholder,l=babelHelpers.objectWithoutPropertiesLoose(n,e);return s.jsx(t,babelHelpers.extends({},l))},r})(s.Component);a.exports=u}),null);
__d("PerfUtils",["cr:7792","performanceNow","react"],(function(t,n,r,o,a,i,l){"use strict";var e,s,u=s||(s=o("react")),c=u.Component;function d(e,t,n){var r=(function(r){function o(){return r.apply(this,arguments)||this}babelHelpers.inheritsLoose(o,r);var a=o.prototype;return a.componentDidMount=function(){t()},a.render=function(){return n?u.jsx(e,babelHelpers.extends({},this.props,{ref:n})):u.jsx(e,babelHelpers.extends({},this.props))},o})(c);return r}function m(t,o,a){var i=1e4,l=(e||(e=r("performanceNow")))()-a;if(l<i)return t;var s=i/1e3,d=Math.round(l)/1e3,m=(function(e){function r(){return e.apply(this,arguments)||this}babelHelpers.inheritsLoose(r,e);var a=r.prototype;return a.componentDidMount=function(){""+o+s+d},a.render=function(){return u.jsx(n("cr:7792").SlowBootloadBorder,{moduleId:o,timeLimitSecs:s,timeSpentSecs:d,children:u.jsx(t,babelHelpers.extends({},this.props))})},r})(c);return m}l.appendListener=d,l.markRedInDev=m}),98);
__d("BootloadedComponent.react",["DeferredComponent.react","JSResource","PerfUtils","TimeSlice","cr:2448","performanceNow","react"],(function(t,n,r,o,a,i,l){var e=["bootloadLoader"],s=["bootloadForcePlaceholder","bootloadLoader","bootloadPlaceholder","isContinuation"],u,c,d=c||(c=o("react")),m=d.Component,p=(function(t){function n(){return t.apply(this,arguments)||this}return babelHelpers.inheritsLoose(n,t),n.create=function(n){var t=(function(t){function r(){return t.apply(this,arguments)||this}babelHelpers.inheritsLoose(r,t);var o=r.prototype;return o.render=function(){var t=this.props,r=t.bootloadLoader,o=babelHelpers.objectWithoutPropertiesLoose(t,e);return d.jsx(g,babelHelpers.extends({bootloadLoader:n,bootloadPlaceholder:d.jsx("div",{})},o))},r})(d.Component);return t.displayName="BootloadedComponent("+n.getModuleId()+")",t},n})(m);function _(e){var t=e.children,r=e.resource;return n("cr:2448")(r),t}var f=(function(e){function t(t){var n;return n=e.call(this,t)||this,n.$BootloadedComponent$p_1=function(e){var t=n.props.bootloadLoader.getModuleIfRequireable();if(t!=null){e(t);return}var a=n.props.isContinuation,i,l=a?r("TimeSlice").PropagationType.CONTINUATION:r("TimeSlice").PropagationType.EXECUTION;r("TimeSlice").guard(r("JSResource").loadAll,"BootloadedComponent load all JSResource",{propagationType:l})([n.props.bootloadLoader],function(t){t=n.props.onComponentDidMount?o("PerfUtils").appendListener(t,n.props.onComponentDidMount):t,e(t)})},t.onBootloaderWillMount&&t.onBootloaderWillMount(),n}babelHelpers.inheritsLoose(t,e);var n=t.prototype;return n.render=function(){var e=this.props,t=e.bootloadForcePlaceholder,n=e.bootloadLoader,o=e.bootloadPlaceholder,a=e.isContinuation,i=babelHelpers.objectWithoutPropertiesLoose(e,s),l=d.jsx(r("DeferredComponent.react"),babelHelpers.extends({deferredPlaceholder:o,deferredComponent:this.$BootloadedComponent$p_1,deferredForcePlaceholder:t},i));return d.jsx(_,{resource:n,children:l})},t})(p);f.defaultProps={isContinuation:!0};var g=f,h=g;l.default=h}),98);
__d("CometSSRClientRender",[],(function(t,n,r,o,a,i){"use strict";var e="CometSSRClientRenderError";function l(t){throw e+": "+t}i.CometSSRClientRenderErrorSentinel=e,i.CometSSRClientRender=l}),66);
__d("suspendOrThrowIfUsedInSSR",["CometSSRClientRender","ExecutionEnvironment"],(function(t,n,r,o,a,i,l){"use strict";var e;function s(t){if(!(e||(e=r("ExecutionEnvironment"))).isInBrowser)throw o("CometSSRClientRender").CometSSRClientRender(t)}l.default=s}),98);
__d("BootloaderResource",["ExecutionEnvironment","suspendOrThrowIfUsedInSSR"],(function(t,n,r,o,a,i,l){var e,s,u={};function c(e){e.load()}function d(t){var n=t.getModuleIfRequireable();if(n==null){!(e||(e=r("ExecutionEnvironment"))).isInBrowser&&!t.isAvailableInSSR_DO_NOT_USE()&&(s||(s=r("suspendOrThrowIfUsedInSSR")))("Loading of bootloaded and T3 components is disabled during SSR");var o=t.getModuleId();if(!u[o]){var a=u[o]=t.load();a.finally(function(){delete u[o]})}throw u[o]}return n}l.preload=c,l.read=d}),98);
__d("CSSFade",["cx","invariant","Style","cr:5662","cr:6108","cr:6669","requestAnimationFrameAcrossTransitions"],(function(t,n,r,o,a,i,l,s){"use strict";var e="css-fade-animation",u="css-show-animation",c="_4rh4",d="CSSFade_hide",m="CSSFade_show",p=document.createElement("div").animate!==void 0,_={cancel:function(){}};function f(e,t){e!=null||s(0,5875);var r=n("cr:6669").get(e,t);return r&&r.cancel(),r}function g(e,t,n){var r,o=(e==null||(r=e.style)==null?void 0:r.animation)||"",a=t+"s "+n;return o.length>5&&(a=o.slice(0,-1)+(", "+a)),a}function h(e,t){var n,r=(e==null||(n=e.style)==null?void 0:n.animation)||"",o=r.split(","),a=o.findIndex(function(e){return e.indexOf(t)>-1});return a!==-1&&o.splice(a,1),o.join(",")}var y={show:function(r,o){o===void 0&&(o={});var t=o.duration!=null?o.duration/1e3:.3;f(r,e),f(r,u),n("cr:6108").removeClass(r,o.invisible?"invisible_elem":"hidden_elem"),n("requestAnimationFrameAcrossTransitions")(function(){r.style.animation=g(r,t,m)});var a=n("cr:5662").listen(r,"animationend",function(){o.callback&&o.callback(),r.style.animation=h(r,m)}),i={cancel:function(){r.style.animation=h(r,m),a.remove(),i.cancel=function(){}}};return n("cr:6669").set(r,u,i),i},hide:function(r,o){o===void 0&&(o={});var t=function(){n("cr:6108").addClass(r,o.invisible?"invisible_elem":"hidden_elem"),o.callback&&o.callback(),r.style.animation=h(r,d)};if(o.simple)return t(),_;var a=o.duration!=null?o.duration/1e3:.3;f(r,u),f(r,e),n("requestAnimationFrameAcrossTransitions")(function(){r.style.animation=g(r,a,d)});var i=n("cr:5662").listen(r,"animationend",t),l={cancel:function(){r.style.animation=h(r,d),i.remove(),l.cancel=function(){}}};return n("cr:6669").set(r,e,l),l}},C={show:function(r,o){o===void 0&&(o={});var t=o.duration!=null?o.duration:300;f(r,e),f(r,u),n("cr:6108").removeClass(r,o.invisible?"invisible_elem":"hidden_elem"),n("Style").set(r,"opacity","1");var a=o.peekStateFade?"0.6":"0",i=r.animate([{opacity:a},{opacity:"1.0"}],{duration:t});return o.callback&&(i.onfinish=o.callback),n("cr:6669").set(r,u,i),i},hide:function(r,o){o===void 0&&(o={});var t=o.duration!=null?o.duration:300;if(f(r,u),o.simple===!0)return n("cr:6108").addClass(r,o.invisible?"invisible_elem":"hidden_elem"),_;f(r,e),n("Style").set(r,"opacity","0");var a=o.peekStateFade?"0.4":"0",i=r.animate([{opacity:"1.0"},{opacity:a}],{duration:t});return i.onfinish=function(){n("cr:6108").addClass(r,o.invisible?"invisible_elem":"hidden_elem"),o.callback&&o.callback()},n("cr:6669").set(r,e,i),i}};a.exports=p?C:y}),null);
__d("CenteredContainer.react",["cx","joinClasses","react"],(function(t,n,r,o,a,i,l,s){var e=["fullHeight","horizontal","vertical"],u,c=u||(u=o("react")),d=(function(t){function n(){return t.apply(this,arguments)||this}babelHelpers.inheritsLoose(n,t);var o=n.prototype;return o.render=function(){var t=this.props,n=t.fullHeight,o=t.horizontal,a=t.vertical,i=babelHelpers.objectWithoutPropertiesLoose(t,e),l=(a?"_3bwv":"")+(o?" _3bww":""),s=c.Children.map(this.props.children,function(e){return c.jsx("div",{className:"_3bwx",children:e})}),u=r("joinClasses")(this.props.className,n?"_5bpf":"");return c.jsx("div",babelHelpers.extends({},i,{className:u,children:c.jsx("div",{className:l,children:c.jsx("div",{className:"_3bwy",children:s})})}))},n})(c.Component);d.defaultProps={fullHeight:!1,vertical:!1,horizontal:!0},l.default=d}),98);
__d("ClickableArea.react",["Focus","ReactDOM_DEPRECATED","react"],(function(t,n,r,o,a,i,l){var e=["children","onClick"],s,u=s||(s=o("react")),c=(function(t){function n(){return t.apply(this,arguments)||this}babelHelpers.inheritsLoose(n,t);var r=n.prototype;return r.componentDidMount=function(){if(this.props.buttonRef){var e=this.props.buttonRef();o("Focus").relocate(o("ReactDOM_DEPRECATED").findDOMNode_DEPRECATED(e),o("ReactDOM_DEPRECATED").findDOMNode_DEPRECATED(this))}},r.render=function(){var t=this.props,n=t.children,r=t.onClick,o=babelHelpers.objectWithoutPropertiesLoose(t,e);return u.cloneElement(u.Children.only(n),babelHelpers.extends({},o,{onClick:r}))},n})(u.Component);l.default=c}),98);
__d("CometAltpayJsSdkIframeAllowedDomainsJSModuleWrapper",["CometAltpayJsSdkIframeAllowedDomains"],(function(t,n,r,o,a,i,l){"use strict";l.default=r("CometAltpayJsSdkIframeAllowedDomains")}),98);
__d("CometHeroInteractionContext",["hero-tracing-placeholder"],(function(t,n,r,o,a,i,l){"use strict";l.default=o("hero-tracing-placeholder").HeroInteractionContext}),98);
__d("CometRouterRouteTracePolicyContext",["react"],(function(t,n,r,o,a,i,l){"use strict";var e,s=e||(e=o("react")),u=s.createContext();l.default=u}),98);
__d("CometTextTypography",["UserAgent"],(function(t,n,r,o,a,i,l){"use strict";var e={apple:{MozOsxFontSmoothing:"xlh3980",WebkitFontSmoothing:"xvmahel",fontFamily:"x1n0sxbx",$$css:!0},default:{fontFamily:"x10flsy6",$$css:!0},segoe:{fontFamily:"x1xmvt09",$$css:!0}},s={body1:{fontFamily:e.default,fontSize:20,fontWeight:"normal",lineHeight:24,offsets:[4,5]},body2:{fontFamily:e.default,fontSize:17,fontWeight:"normal",lineHeight:20,offsets:[3,5]},body3:{fontFamily:e.default,fontSize:15,fontWeight:"normal",lineHeight:20,offsets:[4,5]},body4:{fontFamily:e.default,fontSize:13,fontWeight:"normal",lineHeight:16,offsets:[3,4]},bodyLink1:{fontFamily:e.default,fontSize:20,fontWeight:"semibold",lineHeight:24,offsets:[4,5]},bodyLink2:{fontFamily:e.default,fontSize:17,fontWeight:"semibold",lineHeight:20,offsets:[3,5]},bodyLink3:{fontFamily:e.default,fontSize:15,fontWeight:"semibold",lineHeight:20,offsets:[4,5]},bodyLink4:{fontFamily:e.default,fontSize:13,fontWeight:"semibold",lineHeight:16,offsets:[3,4]},button1:{fontFamily:e.default,fontSize:17,fontWeight:"semibold",lineHeight:20,offsets:[3,5]},button2:{fontFamily:e.default,fontSize:15,fontWeight:"semibold",lineHeight:20,offsets:[4,5]},entityHeaderHeadline1:{fontFamily:e.default,fontSize:32,fontWeight:"bold",lineHeight:38,offsets:[7,8]},entityHeaderHeadline2:{fontFamily:e.default,fontSize:28,fontWeight:"bold",lineHeight:32,offsets:[5,7]},entityHeaderMeta1:{defaultColor:"secondary",fontFamily:e.default,fontSize:15,fontWeight:"bold",lineHeight:20,offsets:[4,5]},entityHeaderMeta2:{defaultColor:"secondary",fontFamily:e.default,fontSize:15,fontWeight:"bold",lineHeight:20,offsets:[4,5]},headline3:{fontFamily:e.default,fontSize:17,fontWeight:"medium",lineHeight:20,offsets:[3,5]},headline4:{fontFamily:e.default,fontSize:15,fontWeight:"medium",lineHeight:20,offsets:[4,5]},headlineDeemphasized3:{fontFamily:e.default,fontSize:17,fontWeight:"normal",lineHeight:20,offsets:[3,5]},headlineDeemphasized4:{fontFamily:e.default,fontSize:15,fontWeight:"normal",lineHeight:20,offsets:[4,5]},headlineEmphasized1:{fontFamily:e.default,fontSize:24,fontWeight:"bold",lineHeight:28,offsets:[5,6]},headlineEmphasized2:{fontFamily:e.default,fontSize:20,fontWeight:"bold",lineHeight:24,offsets:[4,5]},headlineEmphasized3:{fontFamily:e.default,fontSize:17,fontWeight:"semibold",lineHeight:20,offsets:[3,4]},headlineEmphasized4:{fontFamily:e.default,fontSize:15,fontWeight:"semibold",lineHeight:20,offsets:[4,5]},meta1:{defaultColor:"secondary",fontFamily:e.default,fontSize:13,fontWeight:"semibold",lineHeight:16,offsets:[3,4]},meta2:{defaultColor:"secondary",fontFamily:e.default,fontSize:13,fontWeight:"semibold",lineHeight:16,offsets:[3,4]},meta3:{defaultColor:"secondary",fontFamily:e.default,fontSize:13,fontWeight:"normal",lineHeight:16,offsets:[3,4]},meta4:{defaultColor:"secondary",fontFamily:e.default,fontSize:12,fontWeight:"normal",lineHeight:16,offsets:[3,4]}},u=[["body1",[5,5]],["body2",[4,4]],["body3",[4,4]],["body4",[4,3]],["bodyLink1",[5,5]],["bodyLink2",[4,4]],["bodyLink3",[4,4]],["bodyLink4",[4,3]],["button1",[4,4]],["button2",[4,4]],["entityHeaderHeadline1",[8,7]],["entityHeaderHeadline2",[6,6]],["entityHeaderMeta1",[4,4]],["entityHeaderMeta2",[4,4]],["headline3",[4,4]],["headline4",[4,4]],["headlineDeemphasized3",[4,4]],["headlineDeemphasized4",[4,4]],["headlineEmphasized1",[6,5]],["headlineEmphasized2",[5,5]],["headlineEmphasized3",[4,4]],["headlineEmphasized4",[4,4]],["meta1",[4,3]],["meta2",[4,3]],["meta3",[4,3]],["meta4",[3,3]]],c=[["body1",[5,5]],["body2",[4,4]],["body3",[5,4]],["body4",[4,3]],["bodyLink1",[6,4]],["bodyLink2",[4,3]],["bodyLink3",[5,4]],["bodyLink4",[4,3]],["button1",[4,3]],["button2",[5,4]],["entityHeaderHeadline1",[8,7]],["entityHeaderHeadline2",[7,5]],["entityHeaderMeta1",[5,4]],["entityHeaderMeta2",[5,4]],["headline3",[5,3]],["headline4",[5,4]],["headlineDeemphasized3",[5,3]],["headlineDeemphasized4",[5,4]],["headlineEmphasized1",[6,5]],["headlineEmphasized2",[6,4]],["headlineEmphasized3",[4,3]],["headlineEmphasized4",[5,4]],["meta1",[4,3]],["meta2",[4,3]],["meta3",[4,3]],["meta4",[4,3]]],d=[["body1",[6,4,1]],["body2",[5,3,1]],["body3",[5,4]],["body4",[4,3,1]],["bodyLink1",[6,4,1]],["bodyLink2",[5,3,1]],["bodyLink3",[5,4]],["bodyLink4",[4,3,1]],["button1",[5,3,1]],["button2",[5,4]],["entityHeaderHeadline1",[10,6,2]],["entityHeaderHeadline2",[8,5,3]],["entityHeaderMeta1",[5,4,1]],["entityHeaderMeta2",[5,4,1]],["headline3",[5,3,1]],["headline4",[5,4]],["headlineDeemphasized3",[5,3,1]],["headlineDeemphasized4",[5,4]],["headlineEmphasized1",[7,4,2]],["headlineEmphasized2",[6,4,2]],["headlineEmphasized3",[5,3,1]],["headlineEmphasized4",[5,4]],["meta1",[4,3,1]],["meta2",[4,3,1]],["meta3",[4,3,1]],["meta4",[4,3]]];function m(){return r("UserAgent").isPlatform("Windows >= 6")?{fontFamily:e.segoe,offsets:d}:r("UserAgent").isPlatform("Mac OS X >= 10.11")&&!r("UserAgent").isBrowser("Firefox < 55")||r("UserAgent").isPlatform("iOS >= 9")?{fontFamily:e.apple,offsets:r("UserAgent").isEngine("Gecko")?c:u}:null}function p(){var e=babelHelpers.extends({},s),t=m();if(t!=null){var n=t.fontFamily,r=t.offsets,o=new Map(r);o.forEach(function(t,r){e[r]=babelHelpers.extends({},e[r],{fontFamily:n,offsets:t})})}return e}var _=p();l.default=_}),98);
__d("ContextualLayerAlignmentEnum",["keyMirror","objectValues","prop-types"],(function(t,n,r,o,a,i,l){"use strict";var e=r("keyMirror")({left:null,center:null,right:null}),s=r("objectValues")(e),u=r("prop-types").oneOf(s),c=babelHelpers.extends({},e,{values:s,propType:u});l.default=c}),98);
__d("ContextualLayerPositionEnum",["keyMirror","objectValues","prop-types"],(function(t,n,r,o,a,i,l){"use strict";var e=r("keyMirror")({above:null,below:null,left:null,right:null}),s=r("objectValues")(e),u=r("prop-types").oneOf(s),c=babelHelpers.extends({},e,{values:s,propType:u});l.default=c}),98);
__d("ContextualLayerOrientation",["ContextualLayerAlignmentEnum","ContextualLayerPositionEnum","emptyFunction","err","gkx"],(function(t,n,r,o,a,i,l){"use strict";var e={above:"below",below:"above",left:"right",right:"left"},s=r("gkx")("17507"),u=(function(){function t(){this.$1={$2:"left",$3:0,$4:0,$5:0,$6:"above",$7:s,$8:!0},this.$9=this.$1.$2,this.$10=this.$1.$3,this.$11=this.$1.$4,this.$12=this.$1.$5,this.$13=this.$1.$6,this.$14=this.$1.$7,this.$15=this.$1.$8}var n=t.prototype;return n.setPosition=function(t){return this.$13=c(t),this},n.setAlignment=function(t){return this.$9=d(t),this},n.getOppositePosition=function(){return e[this.getPosition()]},n.invalidate=function(){return this.$15=!1,this},n.getPosition=function(){return this.$13||"above"},n.getAlignment=function(){return this.$9||"left"},n.getOffsetX=function(){var e=this.$11||0;return this.isVertical()?this.$1.$2!==this.$9&&(e*=-1):this.$1.$6!==this.$13&&(e*=-1),e},n.getOffsetY=function(){var e=this.$12||0;return this.isVertical()&&this.$1.$6!==this.$13&&(e*=-1),e},n.getClassName=function(){var e=this.getAlignment(),t=this.getPosition();return t==="below"?e==="left"?"uiContextualLayerBelowLeft":e==="right"?"uiContextualLayerBelowRight":"uiContextualLayerBelowCenter":t==="above"?e==="left"?"uiContextualLayerAboveLeft":e==="right"?"uiContextualLayerAboveRight":"uiContextualLayerAboveCenter":t==="left"?"uiContextualLayerLeft":"uiContextualLayerRight"},n.isValid=function(){return this.$15},n.isVertical=function(){return this.getPosition()==="above"||this.getPosition()==="below"},n.reset=function(){return this.$9=this.$1.$2,this.$10=this.$1.$3,this.$11=this.$1.$4,this.$12=this.$1.$5,this.$13=this.$1.$6,this.$14=this.$1.$7,this.$15=this.$1.$8,this},n.setDefaultPosition=function(t){var e=this.$1.$6;return this.$1.$6=c(t),e!==t},n.setDefaultAlignment=function(t){var e=this.$1.$2;return this.$1.$2=d(t),e!==t},n.setDefaultOffsetX=function(t){var e=this.$1.$4;return this.$1.$4=t,e!==t},n.setArrowOffset=function(t){var e=this.$1.$3;return this.$1.$3=t,e!==t},n.getArrowOffset=function(){return this.$1.$3||0},n.setDefaultOffsetY=function(t){var e=this.$1.$5;return this.$1.$5=t,e!==t},n.setPreferMoreContentShownRect=function(t){var e=this.$1.$7;return this.$1.$7=t,e!==t},n.getPreferMoreContentShownRect=function(){return this.$1.$7},t})(),c=r("emptyFunction").thatReturnsArgument,d=r("emptyFunction").thatReturnsArgument;l.default=u}),98);
__d("getUnboundedScrollPosition",["Scroll"],(function(t,n,r,o,a,i){"use strict";function e(e){if(e===window){var t,r;return{x:(t=window.pageXOffset)!=null?t:n("Scroll").getLeft(document.documentElement),y:(r=window.pageYOffset)!=null?r:n("Scroll").getTop(document.documentElement)}}return{x:n("Scroll").getLeft(e),y:n("Scroll").getTop(e)}}a.exports=e}),null);
__d("DOMVector",["BasicVector","getDocumentScrollElement","getElementPosition","getUnboundedScrollPosition","getViewportDimensions"],(function(t,n,r,o,a,i,l){var e=(function(e){function t(t,n,r){var o;return o=e.call(this,t,n)||this,o.domain=r||"pure",o}babelHelpers.inheritsLoose(t,e);var n=t.prototype;return n.derive=function(n,r,o){return new t(n,r,o||this.domain)},n.add=function(r,o){return r instanceof t&&r.getDomain()!=="pure"&&(r=r.convertTo(this.domain)),e.prototype.add.call(this,r,o)},n.convertTo=function(n){if(n!="pure"&&n!="viewport"&&n!="document")return this.derive(0,0);if(n==this.domain)return this.derive(this.x,this.y,this.domain);if(n=="pure")return this.derive(this.x,this.y);if(this.domain=="pure")return this.derive(0,0);var e=t.getScrollPosition("document"),r=this.x,o=this.y;return this.domain=="document"?(r-=e.x,o-=e.y):(r+=e.x,o+=e.y),this.derive(r,o,n)},n.getDomain=function(){return this.domain},t.from=function(n,r,o){return new t(n,r,o)},t.getScrollPosition=function(t){t=t||"document";var e=r("getUnboundedScrollPosition")(window);return this.from(e.x,e.y,"document").convertTo(t)},t.getElementPosition=function(t,n){n=n||"document";var e=r("getElementPosition")(t);return this.from(e.x,e.y,"viewport").convertTo(n)},t.getElementDimensions=function(t){return this.from(t.offsetWidth||0,t.offsetHeight||0)},t.getViewportDimensions=function(){var e=r("getViewportDimensions")();return this.from(e.width,e.height,"viewport")},t.getLayoutViewportDimensions=function(){var e=r("getViewportDimensions").layout();return this.from(e.width,e.height,"viewport")},t.getViewportWithoutScrollbarDimensions=function(){var e=r("getViewportDimensions").withoutScrollbars();return this.from(e.width,e.height,"viewport")},t.getDocumentDimensions=function(t){var e=r("getDocumentScrollElement")(t);return this.from(e.scrollWidth,e.scrollHeight,"document")},t})(r("BasicVector"));l.default=e}),98);
__d("Vector",["DOMEvent","DOMVector","Scroll","getDocumentScrollElement"],(function(t,n,r,o,a,i,l){var e=(function(e){function t(t,n,r){return e.call(this,parseFloat(t),parseFloat(n),r)||this}babelHelpers.inheritsLoose(t,e);var n=t.prototype;return n.derive=function(n,r,o){return new t(n,r,o||this.domain)},n.setElementPosition=function(t){var e=this.convertTo("document");return t.style.left=parseInt(e.x,10)+"px",t.style.top=parseInt(e.y,10)+"px",this},n.setElementDimensions=function(t){return this.setElementWidth(t).setElementHeight(t)},n.setElementWidth=function(t){return t.style.width=parseInt(this.x,10)+"px",this},n.setElementHeight=function(t){return t.style.height=parseInt(this.y,10)+"px",this},n.scrollElementBy=function(t){if(t==document.body)window.scrollBy(this.x,this.y);else{var e;(e=o("Scroll")).setLeft(t,e.getLeft(t)+this.x),e.setTop(t,e.getTop(t)+this.y)}return this},t.from=function(n,r,o){return new t(n,r,o)},t.getEventPosition=function(t,n){n===void 0&&(n="document");var e=new(r("DOMEvent"))(t).event,a=r("getDocumentScrollElement")(),i=e.clientX+o("Scroll").getLeft(a),l=e.clientY+o("Scroll").getTop(a),s=this.from(i,l,"document");return s.convertTo(n)},t.getTouchEventPosition=function(t,n){n===void 0&&(n="document");var e=t.touches[0],r=this.from(e.pageX,e.pageY,"document");return r.convertTo(n)},t.deserialize=function(t){var e=t.split(",");return this.from(e[0],e[1])},t})(r("DOMVector"));l.default=e}),98);
__d("Rect",["invariant","$","Vector","react","vulture"],(function(t,n,r,o,a,i,l,s){var e,u=e||(e=o("react")),c=(function(){function e(t,n,o,a,i){return arguments.length===1?t instanceof e?t:t instanceof r("Vector")?new e(t.y,t.x,t.y,t.x,t.domain):(typeof t=="string"&&(t=r("$")(t)),e.getElementBounds(t)):(typeof t=="number"&&typeof n=="number"&&typeof o=="number"&&typeof a=="number"&&(!i||typeof i=="string")||s(0,1087),Object.assign(this,{t:t,r:n,b:o,l:a,domain:i||"pure"}),this)}var t=e.prototype;return t.w=function(){return this.r-this.l},t.h=function(){return this.b-this.t},t.getWidth=function(){return this.w()},t.getHeight=function(){return this.h()},t.toString=function(){return"(("+this.l+", "+this.t+"), ("+this.r+", "+this.b+"))"},t.contains=function(n){n=new e(n).convertTo(this.domain);var t=this;return t.l<=n.l&&t.r>=n.r&&t.t<=n.t&&t.b>=n.b},t.intersection=function(n){r("vulture")("-okNV-VjjAXl100qGSihEqDI6Ps=");var t=n.convertTo(this.domain),o=Math.min(this.b,t.getBottom()),a=Math.max(this.l,t.getLeft()),i=Math.min(this.r,t.getRight()),l=Math.max(this.t,t.getTop());return o>l&&i>a?new e(l,i,o,a):null},t.isEqualTo=function(t){return this.t===t.t&&this.r===t.r&&this.b===t.b&&this.l===t.l&&this.domain===t.domain},t.add=function(n,o){if(arguments.length===1)return n instanceof e&&n.domain!="pure"&&(n=n.convertTo(this.domain)),n instanceof r("Vector")?this.add(n.x,n.y):this;var t=parseFloat(n),a=parseFloat(o);return new e(this.t+a,this.r+t,this.b+a,this.l+t,this.domain)},t.sub=function(t,n){return arguments.length===1&&t instanceof r("Vector")?this.add(t.mul(-1)):typeof t=="number"&&typeof n=="number"?this.add(-t,-n):this},t.rotateAroundOrigin=function(n){var t=this.getCenter().rotate(n*Math.PI/2),r=0,o=0;n%2?(r=this.h(),o=this.w()):(r=this.w(),o=this.h());var a=t.y-o/2,i=t.x-r/2,l=a+o,s=i+r;return new e(a,s,l,i,this.domain)},t.boundWithin=function(t){var e=0,n=0;return this.l<t.l?e=t.l-this.l:this.r>t.r&&(e=t.r-this.r),this.t<t.t?n=t.t-this.t:this.b>t.b&&(n=t.b-this.b),this.add(e,n)},t.getCenter=function(){return new(r("Vector"))(this.l+this.w()/2,this.t+this.h()/2,this.domain)},t.getTop=function(){return this.t},t.getRight=function(){return this.r},t.getBottom=function(){return this.b},t.getLeft=function(){return this.l},t.getArea=function(){return(this.b-this.t)*(this.r-this.l)},t.getPositionVector=function(){return new(r("Vector"))(this.l,this.t,this.domain)},t.getDimensionVector=function(){return new(r("Vector"))(this.w(),this.h(),"pure")},t.convertTo=function(n){if(this.domain==n)return this;if(n=="pure")return new e(this.t,this.r,this.b,this.l,"pure");if(this.domain=="pure")return new e(0,0,0,0);var t=new(r("Vector"))(this.l,this.t,this.domain).convertTo(n);return new e(t.y,t.x+this.w(),t.y+this.h(),t.x,n)},e.deserialize=function(n){var t=n.split(":");return new e(parseFloat(t[1]),parseFloat(t[2]),parseFloat(t[3]),parseFloat(t[0]))},e.newFromVectors=function(n,r){return new e(n.y,n.x+r.x,n.y+r.y,n.x,n.domain)},e.getElementBounds=function(n){return e.newFromVectors(r("Vector").getElementPosition(n),r("Vector").getElementDimensions(n))},e.getViewportBounds=function(){return e.newFromVectors(r("Vector").getScrollPosition(),r("Vector").getViewportDimensions())},e.getViewportWithoutScrollbarsBounds=function(){return e.newFromVectors(r("Vector").getScrollPosition(),r("Vector").getViewportWithoutScrollbarDimensions())},e.minimumBoundingBox=function(n){for(var t=new e(1/0,-1/0,-1/0,1/0),r,o=0;o<n.length;o++)r=n[o],t.t=Math.min(t.t,r.t),t.r=Math.max(t.r,r.r),t.b=Math.max(t.b,r.b),t.l=Math.min(t.l,r.l);return t},e})();l.default=c}),98);
__d("SVGChecker",[],(function(t,n,r,o,a,i){a.exports={isSVG:function(t){return!!t.ownerSVGElement||t.tagName.toLowerCase()==="svg"},isDisplayed:function(t){try{var e=t.getBBox();if(e&&(e.height===0||e.width===0))return!1}catch(e){return!1}return!0}}}),null);
__d("getOverlayZIndex",["Style"],(function(t,n,r,o,a,i,l){function e(e,t,n){var o=n===void 0?{}:n,a=o.includeStaticPosition,i=a===void 0?!1:a,l=t,s=e;l=l||document.body;for(var u=[];s&&s!==l;)u.push(s),s=s.parentNode;if(s!==l)return 0;for(var c=u.length-1;c>=0;c--){var d=u[c];if(i===!0||r("Style").get(d,"position")!="static"){var m=parseInt(r("Style").get(d,"z-index"),10);if(!isNaN(m))return m}}return 0}l.default=e}),98);
__d("getOwnObjectValues",[],(function(t,n,r,o,a,i){function e(e){return Object.keys(e).map(function(t){return e[t]})}i.default=e}),66);
__d("ContextualLayer",["ARIA","Arbiter","Bootloader","CSS","CometVisualCompletionAttributes","ContextualLayerOrientation","ContextualThing","DOM","DataStore","Event","Layer","Locale","Parent","Rect","SVGChecker","Scroll","Style","Vector","containsNode","cr:971473","debounce","getOffsetParent","getOrCreateDOMID","getOverlayZIndex","getOwnObjectValues","gkx","isElementNode","removeFromArray","throttle"],(function(t,n,r,o,a,i){function e(e){return e.getPosition()==="left"||e.isVertical()&&e.getAlignment()==="right"}var l=(function(t){"use strict";function r(){return t.apply(this,arguments)||this}babelHelpers.inheritsLoose(r,t);var o=r.prototype;return o._configure=function(n,r){n.dialogRole!=="dialog"&&(this._dialogRole=n.dialogRole),n.shouldSetARIAProperties===!1&&(this._shouldSetARIAProperties=n.shouldSetARIAProperties),n.label&&(this._label=n.label),n.labelledBy&&(this._labelledBy=n.labelledBy),t.prototype._configure.call(this,n,r),n.context?this.setContext(n.context):n.contextID?this._setContextID(n.contextID):n.contextSelector&&(this._setContextSelector(n.contextSelector),this._setARIAProperties()),this.setPosition(n.position),this.setAlignment(n.alignment),this.setOffsetX(n.offsetX),this.setOffsetY(n.offsetY),this.setArrowDimensions(n.arrowDimensions),this._content=r},o._getDefaultBehaviors=function(){var e=r.getDefaultBehaviorsAsObject();return t.prototype._getDefaultBehaviors.call(this).concat(n("getOwnObjectValues")(e))},o._buildWrapper=function(t,r){return this._contentWrapper=n("DOM").create("div",{className:"uiContextualLayer"},r),this._dialogRole&&this._contentWrapper.setAttribute("role",this._dialogRole),this._labelledBy?this._contentWrapper.setAttribute("aria-labelledby",this._labelledBy):this._label&&this._contentWrapper.setAttribute("aria-label",this._label),this._dialogRole==="alert"&&this._contentWrapper.setAttribute("aria-atomic","true"),n("DOM").create("div",babelHelpers.extends({className:"uiContextualLayerPositioner","data-testid":t["data-testid"]},t.excludeFromHeroVC?n("CometVisualCompletionAttributes").IGNORE:{}),this._contentWrapper)},o.getInsertParent=function(){var e=this._insertParent;if(!e){var r=this.getContext();r&&(e=n("Parent").byClass(r,"uiContextualLayerParent"))}return e||t.prototype.getInsertParent.call(this)},o.setContent=function(t){return this._content=t,n("DOM").setContent(this._contentWrapper,this._content),this._shown&&this._updatePosition(),this},o.setContext=function(t){return this.setContextWithBounds(t,null)},o.setContextWithBounds=function(t,r){if(this._contextNode===t&&r&&this._contextBounds&&r.isEqualTo(this._contextBounds))return this;this._contextNode=t;var e=r&&this._contextBounds&&r.t===this._contextBounds.t&&r.r===this._contextBounds.r&&r.b===this._contextBounds.b&&r.l===this._contextBounds.l;return e?this:(this._contextBounds=r||null,this._contextSelector="#"+n("getOrCreateDOMID")(t),this._contextScrollParent=null,this._shown&&(n("ContextualThing").register(this.getRoot(),this._contextNode),this._updatePosition()),this._setParentSubscription(),this._setARIAProperties(),this)},o.shouldSetARIAProperties=function(t){return this._shouldSetARIAProperties=t,this},o._setARIAProperties=function(){var e=this;return this._shouldSetARIAProperties?(this._dialogRole==="dialog"?n("ARIA").setPopup(this.getCausalElement(),this.getRoot()):this._dialogRole==="region"&&n("Bootloader").loadModules(["ContextualLayerInlineTabOrder"],function(t){e.hasBehavior(t)||e.enableBehavior(t)},"ContextualLayer"),this):this},o._setContextID=function(t){this._contextSelector="#"+t,this._contextNode=null},o._setContextSelector=function(t){this._contextSelector=t,this._contextNode=null},o.getCausalElement=function(){return t.prototype.getCausalElement.call(this)||this.getContext()},o._setParentSubscription=function(){for(var e=this.getContext(),t=null;e!=null&&(t=n("DataStore").get(e,"layer"),!(t&&typeof t=="object"));)e=e.parentNode;t!==this._parentLayer&&(this._parentLayer&&this._parentSubscription&&(this._parentLayer.unsubscribe(this._parentSubscription),this._parentSubscription=null),t&&(this._parentSubscription=t.subscribe("hide",this.hide.bind(this))),this._parentLayer=t)},o.setPosition=function(t){return this.getOrientation().setDefaultPosition(t)&&this._shown&&this._updatePosition(),this},o.setAlignment=function(t){return this.getOrientation().setDefaultAlignment(t)&&this._shown&&this._updatePosition(),this},o.setOffsetX=function(t){return this.getOrientation().setDefaultOffsetX(t)&&this._shown&&this._updatePosition(),this},o.setArrowDimensions=function(t){return t&&this.getOrientation().setArrowOffset(t.offset)&&this._shown&&this._updatePosition(),this},o.setOffsetY=function(t){return this.getOrientation().setDefaultOffsetY(t)&&this._shown&&this._updatePosition(),this},o.getPosition=function(){return this.getOrientation().getPosition()},o.getOrientation=function(){return this._orientation||(this._orientation=new(n("ContextualLayerOrientation"))),this._orientation},o.getContentRoot=function(){return this._contentWrapper},o.getContent=function(){return this._content},o.getContext=function(){var e;return!this._contextNode&&this._contextSelector&&(this._contextNode=n("DOM").find(document,this._contextSelector)),(e=this._contextNode)!=null?e:null},o.getContextBounds=function(t){if(this._contextBounds)return this._contextBounds.convertTo(t);var e=this.getContext();return n("Rect").newFromVectors(n("Vector").getElementPosition(e,t),n("Vector").getElementDimensions(e))},o.getContextScrollParent=function(){return this._contextScrollParent?n("isElementNode")(this._contextScrollParent)&&!n("containsNode")(document.documentElement,this._contextScrollParent)&&(this._contextScrollParent=n("Style").getScrollParent(this.getContext())):this._contextScrollParent=n("Style").getScrollParent(this.getContext()),this._contextScrollParent},o.setInsertParent=function(n){return this._insertScrollParent=null,t.prototype.setInsertParent.call(this,n)},o.getInsertScrollParent=function(){return this._insertScrollParent||(this._insertScrollParent=n("Style").getScrollParent(this.getInsertParent())),this._insertScrollParent},o.show=function(){var e=this;if(this._shown)return this;if(t.prototype.show.call(this),n("Arbiter").inform("contextualLayer/toggle",{show:!0,contentRoot:this.getRoot()}),this._shown){if(!this.getContext())return this;n("ContextualThing").register(this.getRoot(),this.getContext()),s.push(this),this._resizeListener=this._resizeListener||n("Event").listen(window,"resize",n("throttle")(function(){e._shown&&e.updatePosition()}))}return this},o.finishHide=function(){return n("removeFromArray")(s,this),this._resizeListener&&this._resizeListener.remove(),this._resizeListener=null,this._insertScrollParent=null,n("Arbiter").inform("contextualLayer/toggle",{show:!1,contentRoot:this.getRoot()}),t.prototype.finishHide.call(this)},o.isFixed=function(){return n("Style").isFixed(this.getContext())&&!n("Style").isFixed(this.getInsertParent())},o.updatePosition=function(){var t=this.getContext();if(!t)return!1;var r=this.isFixed();if(!r&&!(t.offsetParent||n("SVGChecker").isSVG(t)&&n("SVGChecker").isDisplayed(t)))return!1;var o=this.getRoot();if(o==null||this._contentWrapper==null)return!1;var a=n("Vector").getLayoutViewportDimensions().x;n("Style").set(o,"width",a+"px"),n("gkx")("25981")&&(n("Style").set(o,"left",""),n("Style").set(o,"right",""),n("Style").set(o,"top",""));var i=this.getOrientation();if(this.inform("adjust",i.reset()),!i.isValid())return!1;this._updateWrapperPosition(i),this._updateWrapperClass(i),n("CSS").conditionClass(o,"uiContextualLayerPositionerFixed",r);var l,s,u=r?"viewport":"document",c=r?document.documentElement:n("getOffsetParent")(o);if(r)l=new(n("Vector"))(0,0),s=a;else if(c===document.documentElement)l=new(n("Vector"))(0,0),s=document.documentElement.clientWidth;else if(o.offsetParent)l=n("Vector").getElementPosition(c,u),s=c.offsetWidth,c!==document.body&&(l=l.sub(new(n("Vector"))(n("Scroll").getLeft(c),n("Scroll").getTop(c))));else return!1;var d=this.getContextBounds(u),m=d.l-l.x,p=d.t-l.y,_=d.h(),f=d.w(),g=n("Locale").isRTL();i.getPosition()==="below"&&(p+=_),(i.getPosition()==="right"||i.isVertical()&&i.getAlignment()==="right")!=g&&(m+=f),!i.isVertical()&&i.getAlignment()==="center"&&(p+=d.h()/2-this.getContentRoot().offsetHeight/2);var h=i.getOffsetX();i.isVertical()&&i.getAlignment()==="center"&&(h+=(f-this.getContentRoot().offsetWidth)/2),g&&(h*=-1);var y="left",C=Math.floor(m+h);e(i)!==g&&(y="right",C=s-C),n("Style").set(o,y,C+"px"),n("Style").set(o,y==="left"?"right":"left","");var b=this.getInsertScrollParent(),v,S=0;b!==window?(v=b.clientWidth,S=n("Vector").getElementPosition(b).x):v=document.documentElement.clientWidth;var R=n("Vector").getElementPosition(o).x-S,L=0,E=window.devicePixelRatio!==Math.round(window.devicePixelRatio);L=E?1:0,n("gkx")("25983")&&(L=1),y==="left"&&v-R>0?n("Style").set(o,"width",v-R-L+"px"):y==="right"&&R+o.offsetWidth>0?n("Style").set(o,"width",R+o.offsetWidth-L+"px"):n("Style").set(o,"width",""),n("Style").set(o,"top",p+i.getOffsetY()+"px");var k=n("getOverlayZIndex")(t,this.getInsertParent());return n("Style").set(o,"z-index",k>200?k:""),this.inform("reposition",i),!0},o._updatePosition=function(){var e=this;if(this._debouncedUpdatePosition){this._debouncedUpdatePosition();return}return this._debouncedUpdatePosition=n("debounce")(function(){e._shown&&e.updatePosition(),delete e._debouncedUpdatePosition}),this.updatePosition()},o._updateWrapperPosition=function(r){var t=r.getPosition()==="above";n("Style").set(this._contentWrapper,"bottom",t?"0":null);var o=n("Locale").isRTL()?"left":"right",a=e(r);n("Style").set(this._contentWrapper,o,a?"0":null)},o._updateWrapperClass=function(t){var e=t.getClassName();e!==this._orientationClass&&(this._orientationClass&&n("CSS").removeClass(this._contentWrapper,this._orientationClass),this._orientationClass=e,n("CSS").addClass(this._contentWrapper,e))},o.simulateOrientation=function(t,r){var e=t.getClassName();if(e===this._orientationClass)return r();this._orientationClass&&n("CSS").removeClass(this._contentWrapper,this._orientationClass),n("CSS").addClass(this._contentWrapper,e);var o=r();return n("CSS").removeClass(this._contentWrapper,e),this._orientationClass&&n("CSS").addClass(this._contentWrapper,this._orientationClass),o},o.destroy=function(){return t.prototype.destroy.call(this),this._contentWrapper=null,this._content=null,this},o.getArrowDimensions=function(){return this._config.arrowDimensions||{offset:0,length:0}},r.getDefaultBehaviorsAsObject=function(){return n("cr:971473")==null?{}:{LayerHideOnTransition:n("cr:971473")}},r})(n("Layer")),s=[];n("Arbiter").subscribe("reflow",function(){s.forEach(function(e){e.updatePosition()===!1&&e.hide()})}),Object.assign(l.prototype,{_contentWrapper:null,_content:null,_contextNode:null,_contextBounds:null,_contextSelector:null,_dialogRole:"dialog",_label:null,_labelledBy:[],_parentLayer:null,_parentSubscription:null,_orientation:null,_orientationClass:null,_shouldSetARIAProperties:!0}),a.exports=l}),null);
__d("ContextualLayerHideOnScroll",["Event","setTimeout"],(function(t,n,r,o,a,i,l){var e=(function(){function e(e){this._layer=e}var t=e.prototype;return t.enable=function(){var e=this;this._subscriptions=[this._layer.subscribe("contextchange",function(){return e._handleContextChange()}),this._layer.subscribe("show",function(){return e.attach()}),this._layer.subscribe("hide",function(){return e.detach()})]},t.disable=function(){for(;this._subscriptions.length;)this._subscriptions.pop().unsubscribe();this.detach()},t.attach=function(){var e=this;if(!this._listener){var t=this._layer.getContextScrollParent();t!==window&&r("setTimeout")(function(){e._listener=r("Event").listen(t,"scroll",function(){e._layer.hide()})})}},t.detach=function(){this._listener&&this._listener.remove(),this._listener=null},t._handleContextChange=function(){this.detach(),this._layer.isShown()&&this.attach()},e})();Object.assign(e.prototype,{_subscriptions:[]}),l.default=e}),98);
__d("ViewportBounds",["Arbiter","ArbiterMixin","BlueBar","ExecutionEnvironment","PageEvents","Vector","emptyFunction","removeFromArray"],(function(t,n,r,o,a,i,l){var e,s={top:[],right:[],bottom:[],left:[]};function u(e){return function(){return s[e].reduce(function(e,t){return Math.max(e,t.getSize())},0)}}function c(e,t){return function(n){return new d(e,n,t)}}var d=(function(){function e(e,t,n){n===void 0&&(n=!1),this.getSide=r("emptyFunction").thatReturns(e),this.getSize=function(){return typeof t=="function"?t():t},this.isPersistent=r("emptyFunction").thatReturns(n),s[e].push(this),m.inform("change")}var t=e.prototype;return t.remove=function(){r("removeFromArray")(s[this.getSide()],this),m.inform("change")},e})();r("Arbiter").subscribe(r("PageEvents").AJAXPIPE_ONUNLOAD,function(){["top","right","bottom","left"].forEach(function(e){for(var t=s[e],n=t.length-1;n>=0;n--){var r=t[n];r.isPersistent()||r.remove()}})});var m=babelHelpers.extends({},r("ArbiterMixin"),{getTop:u("top"),getRight:u("right"),getBottom:u("bottom"),getLeft:u("left"),getElementPosition:function(t){var e=r("Vector").getElementPosition(t);return e.y-=m.getTop(),e},addTop:c("top"),addRight:c("right"),addBottom:c("bottom"),addLeft:c("left"),addPersistentTop:c("top",!0),addPersistentRight:c("right",!0),addPersistentBottom:c("bottom",!0),addPersistentLeft:c("left",!0)});m.addPersistentTop(function(){if((e||(e=r("ExecutionEnvironment"))).canUseDOM&&o("BlueBar").hasFixedBlueBar()){var t=o("BlueBar").getMaybeFixedRoot();return t?t.offsetHeight:0}return 0});var p=m;l.default=p}),98);
__d("isAsyncScrollQuery",["UserAgent"],(function(t,n,r,o,a,i,l){var e=null;function s(){return e===null&&(e=r("UserAgent").isPlatform("Mac OS X >= 10.8")&&r("UserAgent").isBrowser("Safari >= 6.0")),e}l.default=s}),98);
__d("DOMScroll",["Arbiter","DOM","DOMQuery","Vector","ViewportBounds","emptyFunction","ge","isAsyncScrollQuery","nullthrows","requireDeferred"],(function(t,n,r,o,a,i){var e=n("requireDeferred")("Animation").__setRef("DOMScroll"),l={SCROLL:"dom-scroll",_scrolling:!1,_scrollingFinishedTimeout:null,getScrollState:function(){var e=n("Vector").getViewportDimensions(),t=n("Vector").getDocumentDimensions(),r=t.x>e.x,o=t.y>e.y;return r+=0,o+=0,new(n("Vector"))(r,o)},_scrollbarSize:null,_initScrollbarSize:function(){var e=n("DOM").create("p");e.style.width="100%",e.style.height="200px";var t=n("DOM").create("div");t.style.position="absolute",t.style.top="0px",t.style.left="0px",t.style.visibility="hidden",t.style.width="200px",t.style.height="150px",t.style.overflow="hidden",t.appendChild(e),n("nullthrows")(document.body).appendChild(t);var r=e.offsetWidth;t.style.overflow="scroll";var o=e.offsetWidth;r==o&&(o=t.clientWidth),n("nullthrows")(document.body).removeChild(t),l._scrollbarSize=r-o},getScrollbarSize:function(){return l._scrollbarSize===null&&l._initScrollbarSize(),n("nullthrows")(l._scrollbarSize)},scrollTo:function(r,o,a,i,s,u){var t,c=0;o==null||o===!0?c=750:typeof o=="number"?c=o:parseInt(o,10)&&(c=parseInt(o,10)),n("isAsyncScrollQuery")()&&(c=0);var d;if(r instanceof n("Vector"))d=r;else{var m=n("Vector").getScrollPosition().x,p=n("Vector").getElementPosition(n("ge")(r)).y;d=new(n("Vector"))(m,p,"document"),i||(d.y-=n("ViewportBounds").getTop()/(a?2:1))}if(a?d.y-=n("Vector").getViewportDimensions().y/2:i&&(d.y-=n("Vector").getViewportDimensions().y,d.y+=i),s&&(d.y-=s),d=d.convertTo("document"),c)if("scrollBehavior"in n("nullthrows")(document.documentElement).style&&c===750&&!u)try{window.scrollTo({left:d.x,top:d.y,behavior:"smooth"})}catch(e){window.scrollTo(d.x,d.y)}else{var _=e.getModuleIfRequired();if(_!=null){l._setScrollingForDuration(c);var f=new _(n("nullthrows")(document.body)).to("scrollTop",d.y).to("scrollLeft",d.x).ease(_.ease.end).duration(c).ondone(u).go();t=function(){f.stop()}}else window.scrollTo(d.x,d.y),u&&u()}else window.scrollTo(d.x,d.y),u&&u();return n("Arbiter").inform(l.SCROLL),t||n("emptyFunction")},scrollToID:function(t){l.scrollTo(t)},ensureVisible:function(t,r,o,a,i){var e=n("Vector").getScrollPosition().x,s=l._getBounds(t,r,o),u=s[0],c=s[1],d=s[2],m=s[3];d<u?l.scrollTo(new(n("Vector"))(e,d,"document"),a,!1,0,0,i):m>c?d-(m-c)<u?l.scrollTo(new(n("Vector"))(e,d,"document"),a,!1,0,0,i):l.scrollTo(new(n("Vector"))(e,m,"document"),a,!1,1,0,i):i&&i()},isCurrentlyVisible:function(t,n,r){var e=l._getBounds(t,n,r),o=e[0],a=e[1],i=e[2],s=e[3];return i>=o&&s<=a},_getBounds:function(t,r,o){o==null&&(o=10),t=n("ge")(t),r&&(t=n("DOMQuery").find(t,r));var e=n("Vector").getScrollPosition().y,a=e+n("Vector").getViewportDimensions().y,i=n("Vector").getElementPosition(t).y,l=i+n("Vector").getElementDimensions(t).y;return i-=n("ViewportBounds").getTop(),i-=o,l+=o,[e,a,i,l]},scrollToTop:function(t){var e=n("Vector").getScrollPosition();l.scrollTo(new(n("Vector"))(e.x,0,"document"),t!==!1)},currentlyScrolling:function(){return l._scrolling},_setScrollingForDuration:function(t){l._scrolling=!0,l._scrollingFinishedTimeout&&(clearTimeout(l._scrollingFinishedTimeout),l._scrollingFinishedTimeout=null),l._scrollingFinishedTimeout=setTimeout(function(){l._scrolling=!1,l._scrollingFinishedTimeout=null},t)}};a.exports=l}),null);
__d("Dispatcher_DEPRECATED",["invariant","FBLogger","monitorCodeUse"],(function(t,n,r,o,a,i,l,s){"use strict";var e="ID_",u=(function(){function t(){this.$1=new Map,this.$2=!1,this.$3=new Map,this.$4=new Map,this.$5=1}var n=t.prototype;return n.register=function(t,n){return n=this.__genID(n),this.$1.set(n,t),n},n.unregister=function(t){this.$1.get(t)||s(0,1331,t),this.$1.delete(t)},n.waitFor=function(t){this.$2||s(0,1332);for(var e=0;e<t.length;e++){var n=t[e];if(this.$4.get(n)){this.$3.get(n)||s(0,2380,n);continue}this.$1.get(n)||s(0,2381,n),this.$7(n)}},n.dispatch=function(t){var e=this;d(this.$2,this.$6,t),this.$8(t);try{this.$1.forEach(function(t,n){e.$4.get(n)||e.$7(n)})}finally{this.$9()}},n.isDispatching=function(){return this.$2},n.$7=function(t){this.$4.set(t,!0);var e=this.$1.get(t);e&&this.__invokeCallback(t,e,this.$6),this.$3.set(t,!0)},n.__invokeCallback=function(t,n,r){n(r)},n.$8=function(t){for(var e of this.$1.keys())this.$4.set(e,!1),this.$3.set(e,!1);this.$6=t,this.$2=!0},n.$9=function(){delete this.$6,this.$2=!1},n.__genID=function(n){var t=n?n+"_":e;for(n=n||t+this.$5++;this.$1.get(n);)n=t+this.$5++;return n},t})();function c(e){var t="<unknown>";return e?typeof e.type=="string"?e.type:typeof e.actionType=="string"?e.actionType:e.action?typeof e.action.type=="string"?e.action.type:typeof e.action.actionType=="string"?e.action.actionType:t:t:t}function d(e,t,n){if(e){var o=new Error("Cannot dispatch in the middle of a dispatch");throw r("FBLogger")("flux_dispatcher").catching(o).mustfix("Tried to dispatch action %s while already dispatching %s",c(n),c(t)),o}}l.default=u}),98);
__d("VideoAutoplayRule",[],(function(t,n,r,o,a,i){"use strict";var e=(function(){function e(e){this.$1=!0,this.videoUnit=e}var t=e.prototype;return t.calculateAutoplayScore=function(){throw new Error("Should be overridden")},t.enableRule=function(){this.$1=!0},t.disableRule=function(){this.$1=!1},t.isEnabled=function(){return this.$1},e})();i.default=e}),66);
__d("DocumentFocusForMutedVideoAutoplayRule",["VideoAutoplayRule"],(function(t,n,r,o,a,i,l){"use strict";var e=(function(e){function t(t){return e.call(this,t)||this}babelHelpers.inheritsLoose(t,e);var n=t.prototype;return n.calculateAutoplayScore=function(){return this.isEnabled()?this.$DocumentFocusForMutedVideoAutoplayRule$p_1():1},n.$DocumentFocusForMutedVideoAutoplayRule$p_1=function(){var e=this.videoUnit.getVideoPlayerController();return e&&e.isMuted()?document.hasFocus()?1:0:1},t})(r("VideoAutoplayRule"));l.default=e}),98);
__d("EmbeddedVideoInitialInfoOverlay",["SubscriptionsHandler"],(function(t,n,r,o,a,i){var e=function(t,r){"use strict";var e=this;this.$1=new(n("SubscriptionsHandler")),this.$1.addSubscriptions(t.addListener("beginPlayback",function(){r.parentNode.removeChild(r),e.$1.release()}))};a.exports=e}),null);
__d("ExplicitRegistrationDispatcherUtils",["emptyFunction","setImmediate"],(function(t,n,r,o,a,i){"use strict";var e=!1,l=n("emptyFunction");a.exports={warn:l,inlineRequiresEnabled:e}}),null);
__d("ExplicitRegistrationDispatcher",["Dispatcher_DEPRECATED","ExplicitRegistrationDispatcherUtils","setImmediate"],(function(t,n,r,o,a,i,l){"use strict";var e=(function(e){function t(t){var n,r=t.strict;return n=e.call(this)||this,n.$ExplicitRegistrationDispatcher2=r,n.$ExplicitRegistrationDispatcher1={},n}babelHelpers.inheritsLoose(t,e);var n=t.prototype;return n.explicitlyRegisterStore=function(t){var e=t.getDispatchToken();return this.$ExplicitRegistrationDispatcher1[e]=!0,e},n.explicitlyRegisterStores=function(t){var e=this;return t.map(function(t){return e.explicitlyRegisterStore(t)})},n.register=function(n,r){var t=this,o=this.__genID(r);this.$ExplicitRegistrationDispatcher1[o]=!1;var a=e.prototype.register.call(this,this.$ExplicitRegistrationDispatcher4.bind(this,o,n),o);return a},n.$ExplicitRegistrationDispatcher4=function(t,n,r){(this.$ExplicitRegistrationDispatcher1[t]||!this.$ExplicitRegistrationDispatcher2)&&this.__invokeCallback(t,n,r)},n.unregister=function(n){e.prototype.unregister.call(this,n),delete this.$ExplicitRegistrationDispatcher1[n]},n.__getMaps=function(){},t})(r("Dispatcher_DEPRECATED"));l.default=e}),98);
__d("ExplicitRegistrationReactDispatcher",["ExplicitRegistrationDispatcher"],(function(t,n,r,o,a,i,l){"use strict";var e=(function(e){function t(){return e.apply(this,arguments)||this}babelHelpers.inheritsLoose(t,e);var n=t.prototype;return n.dispatch=function(n){e.prototype.dispatch.call(this,n)},t})(r("ExplicitRegistrationDispatcher"));l.default=e}),98);
__d("FBLoadShimmer.react",["cx","LoadingMarker.react","UserAgent","joinClasses","react","react-compiler-runtime"],(function(t,n,r,o,a,i,l,s){"use strict";var e,u=e||(e=o("react")),c=e.useRef;function d(e){var t=o("react-compiler-runtime").c(10),n=e.className,a=e.disableAnimation,i=e.height,l=e.style,s=e.width,d=r("UserAgent").isBrowser("Safari")&&r("UserAgent").isPlatform("Mac OS X"),m="_1tt"+(a?" _300z":"")+(d?" _72_f":""),p=c(null),_;t[0]!==n||t[1]!==m?(_=r("joinClasses")(n,m),t[0]=n,t[1]=m,t[2]=_):_=t[2];var f=i!=null?i+"px":void 0,g=s!=null?s+"px":void 0,h;t[3]!==l||t[4]!==f||t[5]!==g?(h=babelHelpers.extends({height:f,width:g},l),t[3]=l,t[4]=f,t[5]=g,t[6]=h):h=t[6];var y;if(t[7]!==_||t[8]!==h){var C=u.jsx("div",{className:_,ref:p,style:h});y=u.jsx(r("LoadingMarker.react"),{nodeRef:p,children:C}),t[7]=_,t[8]=h,t[9]=y}else y=t[9];return y}l.default=d}),98);
__d("FluxContainerNameUtils",[],(function(t,n,r,o,a,i){"use strict";function e(e,t){if(e&&t)try{Object.defineProperty(e,"name",{value:t})}catch(e){}return e}i.nameContainer=e}),66);
__d("expectationViolation",["ErrorNormalizeUtils","ExecutionEnvironment","FBLogger","cr:7438","emptyFunction","sprintf"],(function(t,n,r,o,a,i,l){"use strict";var e,s=r("emptyFunction");function u(e){for(var t,n=arguments.length,o=new Array(n>1?n-1:0),a=1;a<n;a++)o[a-1]=arguments[a];(t=r("FBLogger")("expectation_violation").blameToPreviousFrame()).warn.apply(t,[e].concat(o))}u.setHandler=c;function c(e){s=e}l.default=u}),98);
__d("getUniformDispatcher",["invariant"],(function(t,n,r,o,a,i,l,s){"use strict";function e(e){e&&e.length||s(0,18238);var t=e[0].getDispatcher();return t}l.default=e}),98);
__d("FluxContainerSubscriptions",["expectationViolation","getUniformDispatcher","nullthrows","shallowArrayEqual"],(function(t,n,r,o,a,i,l){"use strict";var e=(function(){function e(e){this.$1=[],this.$4=e!=null?e:this.constructor.name}var t=e.prototype;return t.setStores=function(t){var e=this;if(!(this.$3&&r("shallowArrayEqual")(this.$3,t))){if(this.$3=t,this.$7(),this.$8(),t.length===0){r("expectationViolation")("there should be at least 1 store in a flux subscription");return}var n=!1,o=[],a=function(){n&&(e.$1.forEach(function(e){return e()}),n=!1)},i=r("getUniformDispatcher")(t),l=function(){if(i.registerContainer!=null)e.$6=i.registerContainer(function(e){a()},e.$4);else{var n=t.map(function(e){return e.getDispatchToken()});e.$6=i.register(function(e){i.waitFor(n),a()},e.$4,null,e.$4)}i.explicitlyRegisterStore&&i.explicitlyRegisterStore(e)};this.$2=t.map(function(e){return e.addListener(function(){n=!0})}),l(),this.$5=i}},t.addListener=function(t){this.$1.push(t)},t.removeListener=function(t){var e=this.$1.indexOf(t);e!==-1&&this.$1.splice(e,1)},t.getNumListeners=function(){return this.$1.length},t.reset=function(){this.$7(),this.$8(),this.$9(),this.$10()},t.$7=function(){this.$2&&(this.$2.forEach(function(e){return e.remove()}),this.$2=null)},t.$8=function(){this.$5&&this.$6!=null&&this.$5.unregister(this.$6),this.$5=null,this.$6=null},t.$10=function(){this.$3=null},t.$9=function(){this.$1=[]},t.getDispatchToken=function(){return r("nullthrows")(this.$6,"dispatchToken must be set")},e})();l.default=e}),98);
__d("shallowEqual",[],(function(t,n,r,o,a,i){"use strict";var e=Object.prototype.hasOwnProperty;function l(e,t){return e===t?e!==0||t!==0||1/e===1/t:e!==e&&t!==t}function s(t,n){if(l(t,n))return!0;if(typeof t!="object"||t===null||typeof n!="object"||n===null)return!1;var r=Object.keys(t),o=Object.keys(n);if(r.length!==o.length)return!1;for(var a=0;a<r.length;a++)if(!e.call(n,r[a])||!l(t[r[a]],n[r[a]]))return!1;return!0}i.default=s}),66);
__d("FluxContainer",["FluxContainerNameUtils","FluxContainerSubscriptions","react","shallowEqual","warning"],(function(t,n,r,o,a,i,l){"use strict";var e,s=e||(e=o("react")),u=s.Component,c=s.PureComponent,d={pure:!0,pureProps:!1,withProps:!1,withContext:!1,withCallback:!1};function m(e,t){var n=babelHelpers.extends({},d,t||{}),a,i,l=function(r,o,a,i,l){var t=n.withProps?a:void 0,s=n.withContext?i:void 0,u=n.withCallback?l:void 0,c=e.calculateState(o,t,s,u);return c},s=function(r,o){var t=n.withProps?r:void 0,a=n.withContext?o:void 0;return e.getStores(t,a)};return a=(function(e){function t(t,n){var o;o=e.call(this,t,n)||this,i||(i=o.constructor),o.$BasicContainer$p_1=new(r("FluxContainerSubscriptions"))(i.displayName||i.name),o.$BasicContainer$p_3=function(){o.setState(function(e,t){var n=l(o,e,t,o.context,o.$BasicContainer$p_4);return r("shallowEqual")(e,n)?null:n})};var a=o.$BasicContainer$p_3;o.$BasicContainer$p_4=function(){return a==null?void 0:a()},o.$BasicContainer$p_4.isRevoked=!1,o.$BasicContainer$p_4.revoke=function(){o.$BasicContainer$p_4.isRevoked=!0,a=null},o.$BasicContainer$p_4.revoke(),o.$BasicContainer$p_2=!1;var s=l(o,void 0,t,n,o.$BasicContainer$p_4);return o.state=babelHelpers.extends({},o.state||{},s),o}babelHelpers.inheritsLoose(t,e);var o=t.prototype;return o.UNSAFE_componentWillMount=function(){e.prototype.UNSAFE_componentWillMount&&(e.prototype.UNSAFE_componentWillMount.call(this),this.$BasicContainer$p_3())},o.UNSAFE_componentWillReceiveProps=function(o,a){var t=this;e.prototype.UNSAFE_componentWillReceiveProps&&e.prototype.UNSAFE_componentWillReceiveProps.call(this,o,a);var i=!n.withProps||n.pureProps&&r("shallowEqual")(o,this.props),u=!n.withContext||n.pureProps&&r("shallowEqual")(a,this.context);if(!(u&&i)){var c=s(o,a);c.length>0&&this.$BasicContainer$p_1.setStores(c),this.setState(function(e){return l(t,e,o,a,t.$BasicContainer$p_4)})}},o.componentDidMount=function(){var t=this;if(e.prototype.componentDidMount&&e.prototype.componentDidMount.call(this),this.$BasicContainer$p_4.isRevoked===!0){var n=this.$BasicContainer$p_3;this.$BasicContainer$p_4=function(){return n==null?void 0:n()},this.$BasicContainer$p_4.isRevoked=!1,this.$BasicContainer$p_4.revoke=function(){t.$BasicContainer$p_4.isRevoked=!0,n=null}}this.$BasicContainer$p_2||(this.$BasicContainer$p_5(this.props,this.context),this.$BasicContainer$p_3(),this.$BasicContainer$p_2=!0)},o.componentWillUnmount=function(){e.prototype.componentWillUnmount&&e.prototype.componentWillUnmount.call(this),this.$BasicContainer$p_1.reset(),this.$BasicContainer$p_2=!1,this.$BasicContainer$p_4.revoke()},o.$BasicContainer$p_5=function(t,n){var e=this,r=s(t,n);r.length>0&&(this.$BasicContainer$p_1.setStores(r),this.$BasicContainer$p_1.addListener(function(){e.setState(function(t,r){return l(e,t,r,n)})}))},t})(e),a=n.pure&&!(e.prototype instanceof c)?p(a):a,o("FluxContainerNameUtils").nameContainer(a,n.name||e.displayName||e.name),a}function p(e){var t=(function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return t=e.call.apply(e,[this].concat(r))||this,t.isPureFluxContainer=!0,babelHelpers.assertThisInitialized(t)||babelHelpers.assertThisInitialized(t)}babelHelpers.inheritsLoose(t,e);var n=t.prototype;return n.shouldComponentUpdate=function(t,n){return!r("shallowEqual")(this.props,t)||!r("shallowEqual")(this.state,n)},t})(e);return t}function _(e,t,n,r){var o=(function(r){function o(){return r.apply(this,arguments)||this}babelHelpers.inheritsLoose(o,r),o.getStores=function(e,n){return t(e,n)},o.calculateState=function(e,t,r,o){return n(e,t,r,o)};var a=o.prototype;return a.render=function(){return e(this.state)},o})(u);return m(o,r)}var f={create:m,createFunctional:_};l.default=f}),98);
__d("FluxStoreInstrumentation",["invariant"],(function(t,n,r,o,a,i,l,s){"use strict";var e=null;function u(t){e==null||s(0,2260),e=t}function c(t){return e?e.emitChange(t):null}l.inject=u,l.onEmitChange=c}),98);
__d("FluxStoreOnDispatchInstrumentation",["SimpleHook"],(function(t,n,r,o,a,i,l){"use strict";var e=new(o("SimpleHook")).SimpleHook;l.default=e}),98);
__d("concatArrays",[],(function(t,n,r,o,a,i){function e(e){var t;return(t=[]).concat.apply(t,e)}i.default=e}),66);
__d("distinctArray",[],(function(t,n,r,o,a,i){function e(e){if(e==null)return[];if(Array.isArray(e)){var t=e.length;if(t<=200){for(var n=[],r=0;r<t;r++){var o=e[r];n.indexOf(o)===-1&&n.push(o)}return n}}return Array.from(new Set(e).values())}i.default=e}),66);
__d("FluxStore",["invariant","EventEmitter","FluxStoreInstrumentation","FluxStoreOnDispatchInstrumentation","__debug","concatArrays","distinctArray","performanceAbsoluteNow"],(function(t,n,r,o,a,i,l,s){"use strict";var e,u,c,d=(function(){function t(e){this.__className=this.constructor.name,this.__moduleID=this.constructor.__moduleID,this.__changed=!1,this.__changeEvent="change",this.__dispatcher=e,this.__emitter=new(r("EventEmitter")),this.$3=!1,this.__registerDispatcherCallback(e)}var n=t.prototype;return n.__registerDispatcherCallback=function(t){var e=this;this.$2=t.register(function(t){return e.__invokeOnDispatch(t)},this.__getIDForDispatcher(),this,this.__moduleID)},n.addListener=function(t){return this.__emitter.addListener(this.__changeEvent,t)},n.getActionTypes=function(){if(!this.$1){var t=this.__getActionTypes();if(t!=null){var n=this.getDependencyStores();if(n.length>0){var o=!1,a=r("concatArrays")(n.map(function(e){var t=e&&e.getActionTypes?e.getActionTypes():null;return t==null&&(o=!0),t}).filter(Boolean));o?t=null:t=(e||(e=r("distinctArray")))(t.concat(a))}}this.$1=t}return this.$1},n.getDispatcher=function(){return this.__dispatcher},n.getDispatchToken=function(){return this.$2},n.getDependencyDispatchTokens=function(){return this.$5||(this.$5=this.getDependencyStores().map(function(e){return e&&e.getDispatchToken&&e.getDispatchToken()})),this.$5},n.getDependencyStores=function(){return this.$4||(this.$4=(e||(e=r("distinctArray")))(this.__getDependencyStores())),this.$4},n.addStoreDependency=function(t){var e=this.__dispatcher.registerDependency;e&&e(this.getDispatchToken(),t.getDispatchToken())},n.hasChanged=function(){return this.__dispatcher.isDispatching()||s(0,1147,this.__className),this.__changed},n.__setAsUnchanged=function(){this.__changed=!1},n.__emitChange=function(){this.__dispatcher.isDispatching()||s(0,1148,this.__className),!this.__changed&&(o("FluxStoreInstrumentation").onEmitChange(this.__moduleID!=null?this.__moduleID:"unknown"),this.__changed=!0)},n.__invokeOnDispatch=function(t){this.__changed=!1;var e=r("FluxStoreOnDispatchInstrumentation").hasCallback()?(u||(u=r("performanceAbsoluteNow")))():null;if(this.__onDispatch(t),e!=null){var n;r("FluxStoreOnDispatchInstrumentation").call((n=this.__moduleID)!=null?n:"unknown",(u||(u=r("performanceAbsoluteNow")))()-e)}this.__inform()},n.__inform=function(t){this.$3=this.__changed||this.$3;var e=this.__dispatcher.shouldAllowInforms==null||this.__dispatcher.shouldAllowInforms();e&&this.$3&&(this.$3=!1,this.__emitter.emit(t||this.__changeEvent))},n.__onDispatch=function(t){s(0,1149,this.__className)},n.__getActionTypes=function(){return null},n.__getDependencyStores=function(){return[]},n.__getIDForDispatcher=function(){return this.__className},t})(),m=d,p=d;l.default=p}),98);
__d("TypedFluxStore",["FluxStore"],(function(t,n,r,o,a,i,l){"use strict";l.default=r("FluxStore")}),98);
__d("abstractMethod",["invariant"],(function(t,n,r,o,a,i,l,s){"use strict";function e(e,t){s(0,1537,e,t)}l.default=e}),98);
__d("FluxReduceStore",["invariant","AdsCanvasElementUpdateDataActionFlux","AdsMessengerPACreationStateQuestionItemsActionFlux","AdsUEditorAdgroupSetSAOffOptinStatusActionFlux","TypedFluxStore","abstractMethod","cr:2382","cr:2435","cr:2798","cr:766","gkx","react"],(function(t,n,r,o,a,i,l,s){"use strict";var e,u=(e||(e=o("react"))).startTransition,c=(function(e){function t(t){var n;return n=e.call(this,t)||this,n.$FluxReduceStore$p_1=n.getInitialState(),n}babelHelpers.inheritsLoose(t,e);var a=t.prototype;return a.getState=function(){return this.$FluxReduceStore$p_1},a.getInitialState=function(){return r("abstractMethod")("FluxReduceStore","getInitialState")},a.reduce=function(t,n){return r("abstractMethod")("FluxReduceStore","reduce")},a.areEqual=function(t,n){return t===n},a.__invokeOnDispatch=function(t,a){a===void 0&&(a=!0);var e=t==null?void 0:t.type,i=r("gkx")("114"),l=r("gkx")("183"),s=r("gkx")("230"),u=i||l||s;if(u&&n("cr:766")&&e!==o("AdsCanvasElementUpdateDataActionFlux").actionType&&e!==r("AdsMessengerPACreationStateQuestionItemsActionFlux").actionType&&e!==r("AdsUEditorAdgroupSetSAOffOptinStatusActionFlux").actionType){var c=n("cr:766").getOrNull();if(c!=null&&c.getRoutes().some(function(e){return s&&n("cr:2798")!=null&&e instanceof n("cr:2798")||l&&n("cr:2435")!=null&&e instanceof n("cr:2435")||i&&n("cr:2382")!=null&&e instanceof n("cr:2382")})){this.__invokeOnDispatchWithTransition(t,a);return}}this.__invokeOnDispatchWithoutTransition(t,a)},a.__invokeOnDispatchWithTransition=function(t,n){var e=this;n===void 0&&(n=!0),u(function(){e.__invokeOnDispatchWithoutTransition(t,n)})},a.__invokeOnDispatchWithoutTransition=function(t,n){n===void 0&&(n=!0),this.__changed=!1;var e=this.$FluxReduceStore$p_1,r=this.reduce(e,t);r!==void 0||s(0,2189,this.constructor.name),this.areEqual(e,r)||(this.$FluxReduceStore$p_1=r,this.__emitChange()),n&&this.__inform()},a.__setState=function(t){this.$FluxReduceStore$p_1=t},t})(r("TypedFluxStore"));c.__moduleID=i.id,l.default=c}),98);
__d("XReferer",["Base64","Cookie","URI","cr:8958","setTimeoutAcrossTransitions"],(function(t,n,r,o,a,i,l){var e;function s(t,n,o){if(!o){r("Cookie").set("x-referer","");return}t!=null&&(t=c(t)),n!=null&&(n=c(n));var a=window.location.pathname+window.location.search,i=(e||(e=r("URI"))).getRequestURI(),l=i.getSubdomain();n!=null&&u(n,a,l),t!=null&&r("setTimeoutAcrossTransitions")(function(){t!=null&&u(t,a,l)},0)}function u(e,t,o){var a={r:e,h:t,s:o},i=r("Base64").encode(n("cr:8958").stringify(a));r("Cookie").set("x-referer",i)}function c(e){var t=1024;return e&&e.length>t&&(e=e.substring(0,t)+"..."),e}l.update=s,l._setCookie=u,l.truncatePath=c}),98);
__d("goOrReplace",["Env","URI","isFacebookURI"],(function(t,n,r,o,a,i,l){var e,s;function u(t,n,o){var a=new(e||(e=r("URI")))(n);(s||(s=r("Env"))).isCQuick&&r("isFacebookURI")(a)&&a.addQueryData({cquick:(s||(s=r("Env"))).iframeKey,cquick_token:s.iframeToken,ctarget:s.iframeTarget});var i=a.toString();o?t.replace(i):t.href==i?t.reload():t.href=i}l.default=u}),98);
__d("HistoryManager",["Env","Event","SprinkleConfig","URI","UserAgent_DEPRECATED","XReferer","emptyFunction","goOrReplace","isInIframe","setIntervalAcrossTransitions"],(function(t,n,r,o,a,i){var e,l,s={history:null,current:0,fragment:null,isInitialized:function(){return!!s._initialized},init:function(){if(!(!(e||(e=n("Env"))).ALLOW_TRANSITION_IN_IFRAME&&n("isInIframe")())){if(s._initialized)return s;var t=new(l||(l=n("URI")))(window.location.href),r=t.getFragment()||"";if(r.charAt(0)==="!"&&(r=r.substr(1),t.setFragment(r)),Object.assign(s,{_initialized:!0,fragment:r,orig_fragment:r,history:[t],callbacks:[],lastChanged:Date.now(),canonical:new l("#"),user:0,enabled:!0,debug:n("emptyFunction")}),window.history&&window.history.pushState){this.lastURI=document.URL;var o=new(l||(l=n("URI")))(this.lastURI),a=o.getQueryData();a.__md__=void 0,a.__xts__=void 0,a.fb_dtsg_ag=void 0,a[n("SprinkleConfig").param_name]=void 0,this.lastURI=o.setQueryData(a).toString();try{window.history.state?window.history.replaceState(window.history.state,null,this.lastURI):window.history.replaceState(this.lastURI,null,this.lastURI)}catch(e){if(e.number!==-2147467259)throw e}return n("Event").listen(window,"popstate",function(e){var t=e&&e.state&&typeof e.state=="string";t&&s.lastURI!=e.state&&(s.lastURI=document.URL,s.lastChanged=Date.now(),s.notify(new(l||(l=n("URI")))(e.state).getUnqualifiedURI().toString()))}),(n("UserAgent_DEPRECATED").webkit()<534||n("UserAgent_DEPRECATED").chrome()<=13)&&(n("setIntervalAcrossTransitions")(s.checkURI,42),s._updateRefererURI(this.lastURI)),s}return s._updateRefererURI(l.getRequestURI(!1)),n("UserAgent_DEPRECATED").webkit()<500||n("UserAgent_DEPRECATED").firefox()<2?(s.enabled=!1,s):("onhashchange"in window?n("Event").listen(window,"hashchange",function(){window.setTimeout(s.checkURI.bind(s),0)}):n("setIntervalAcrossTransitions")(s.checkURI,42),s)}},registerURIHandler:function(t){return s.callbacks.push(t),s},setCanonicalLocation:function(t){return s.canonical=new(l||(l=n("URI")))(t),s},notify:function(t){t==s.orig_fragment&&(t=s.canonical.getFragment());for(var e=0;e<s.callbacks.length;e++)try{if(s.callbacks[e](t))return!0}catch(e){}return!1},checkURI:function(){if(!(Date.now()-s.lastChanged<400)){if(window.history&&window.history.pushState){var e=new(l||(l=n("URI")))(document.URL).removeQueryData("ref").toString(),t=new l(s.lastURI).removeQueryData("ref").toString();e!=t&&(s.lastChanged=Date.now(),s.lastURI=e,n("UserAgent_DEPRECATED").webkit()<534&&s._updateRefererURI(e),s.notify(new(l||(l=n("URI")))(e).getUnqualifiedURI().toString()));return}if(n("UserAgent_DEPRECATED").webkit()&&window.history.length===200){s.warned||(s.warned=!0);return}var r=new(l||(l=n("URI")))(window.location.href).getFragment();if(r.charAt(0)==="!"&&(r=r.substr(1)),r=r.replace(/%23/g,"#"),r!=s.fragment.replace(/%23/g,"#")){s.debug([r," vs ",s.fragment,"whl: ",window.history.length,"QHL: ",s.history.length].join(" "));for(var o=s.history.length-1;o>=0&&s.history[o].getFragment().replace(/%23/g,"#")!=r;--o);++s.user,o>=0?s.go(o-s.current):s.go("#"+r),--s.user}}},_updateRefererURI:function(t){t instanceof(l||(l=n("URI")))&&(t=t.toString()),n("XReferer").update(t,null,!0)},go:function(t,r,o){if(window.history&&window.history.pushState){var e=new(l||(l=n("URI")))(t).removeQueryData(["ref","messaging_source","ajaxpipe_fetch_stream","fb_dtsg_ag",n("SprinkleConfig").param_name]).toString();return s.lastChanged=Date.now(),this.lastURI=e,o?window.history.replaceState(t,null,e):window.history.pushState(t,null,e),n("UserAgent_DEPRECATED").webkit()<534&&s._updateRefererURI(t),!1}if(s.debug("go: "+t),r===void 0&&(r=!0),!s.enabled&&!r)return!1;if(typeof t=="number"){if(!t)return!1;var a=t+s.current,i=Math.max(0,Math.min(s.history.length-1,a));return s.current=i,a=s.history[i].getFragment()||s.orig_fragment,a=new(l||(l=n("URI")))(a).removeQueryData("ref").getUnqualifiedURI().toString(),s.fragment=a,s.lastChanged=Date.now(),s.user||n("goOrReplace")(window.location,window.location.href.split("#")[0]+"#!"+a,o),r&&s.notify(a),s._updateRefererURI(a),!1}t=new(l||(l=n("URI")))(t),t.getDomain()==new(l||(l=n("URI")))(window.location.href).getDomain()&&(t=new(l||(l=n("URI")))("#"+t.getUnqualifiedURI()));var u=s.history[s.current].getFragment(),c=t.getFragment();if(c==u||u==s.orig_fragment&&c==s.canonical.getFragment())return r&&s.notify(c),s._updateRefererURI(c),!1;o&&s.current--;var d=s.history.length-s.current-1;return s.history.splice(s.current+1,d),s.history.push(new l(t)),s.go(1,r,o)},getCurrentFragment:function(){var e=(l||(l=n("URI"))).getRequestURI(!1).getFragment();return e==s.orig_fragment?s.canonical.getFragment():e}};a.exports=s}),null);
__d("LeftRight.react",["cx","invariant","joinClasses","react"],(function(t,n,r,o,a,i,l,s,u){"use strict";var e=["root"],c,d=c||(c=o("react")),m=(function(t){function n(){return t.apply(this,arguments)||this}babelHelpers.inheritsLoose(n,t);var o=n.prototype;return o.getChildrenArr=function(){var e=[];return d.Children.forEach(this.props.children,function(t){return e.push(t)}),e},o.render=function(){var t=this.getChildrenArr();t.length===1||t.length===2||u(0,5615);var o=this.props.direction||n.DIRECTION.both,a=o===n.DIRECTION.both,i=a||o===n.DIRECTION.left?"_ohe":"",l=a||o===n.DIRECTION.right?"_ohf":"",s=d.jsx("div",{className:i,children:t[0]},"left"),c=t.length<2?null:d.jsx("div",{className:l,children:t[1]},"right"),m=o===n.DIRECTION.right&&c?[c,s]:[s,c],p=this.props,_=p.root,f=babelHelpers.objectWithoutPropertiesLoose(p,e);return d.jsx("div",babelHelpers.extends({},f,{ref:_,className:r("joinClasses")(this.props.className,"clearfix"),children:m}))},n})(d.Component);m.DIRECTION={left:"left",right:"right",both:"both"},l.default=m}),98);
__d("ImageBlock.react",["cx","invariant","DangerouslyAccessReactElementInternals_DO_NOT_USE_IN_NEW_CODE","LeftRight.react","joinClasses","react"],(function(t,n,r,o,a,i,l,s,u){var e=["imageClassName","contentClassName","spacing"],c,d=c||(c=o("react"));function m(e){var t=e.children;return t&&(t.length===2||t.length===3)||u(0,97),t[0]!==null||u(0,98),t}function p(e){return"img _8o"+(e==="small"?" _8r":"")+(e==="medium"?" _8s":"")+(e==="large"?" _8t":"")}var _=(function(t){function n(){return t.apply(this,arguments)||this}babelHelpers.inheritsLoose(n,t);var o=n.prototype;return o.render=function(){var t=m(this.props),n=t[0],o=t[1],a=t[2],i=this.props,l=i.imageClassName,s=i.contentClassName,u=i.spacing,c=babelHelpers.objectWithoutPropertiesLoose(i,e),_=r("DangerouslyAccessReactElementInternals_DO_NOT_USE_IN_NEW_CODE")(n).props,f=_.className,g=_.alt,h=_.tabIndex,y=_.title,C={className:r("joinClasses")(f,p(u),l)};r("DangerouslyAccessReactElementInternals_DO_NOT_USE_IN_NEW_CODE")(n).type==="img"?g===void 0&&(C.alt=""):(r("DangerouslyAccessReactElementInternals_DO_NOT_USE_IN_NEW_CODE")(n).type==="a"||r("DangerouslyAccessReactElementInternals_DO_NOT_USE_IN_NEW_CODE")(n).type==="link")&&h===void 0&&y===void 0&&r("DangerouslyAccessReactElementInternals_DO_NOT_USE_IN_NEW_CODE")(n).props["aria-label"]===void 0&&(C.tabIndex="-1",C["aria-hidden"]="true"),n=d.cloneElement(n,C);var b=!0;this.props.flexibleContent!=null&&(b=this.props.flexibleContent);var v=r("joinClasses")(s,(b?"_42ef":"")+(u==="small"?" _8u":"")),S;return a?S=d.jsxs(r("LeftRight.react"),{className:v,direction:r("LeftRight.react").DIRECTION.right,children:[o,a]}):S=d.jsx("div",{className:v,children:o}),d.jsxs(r("LeftRight.react"),babelHelpers.extends({},c,{direction:r("LeftRight.react").DIRECTION.left,children:[n,S]}))},n})(d.Component);_.defaultProps={spacing:"small"},l.default=_}),98);
__d("ImmutableRecordWithV4Types",["immutable"],(function(t,n,r,o,a,i,l){"use strict";l.Record=r("immutable").Record}),98);
__d("InlineBlock.react",["cx","joinClasses","react"],(function(t,n,r,o,a,i,l){var e=["alignv","fullWidth","height","rootRef"],s,u=s||(s=n("react")),c={baseline:null,bottom:"_6d",middle:"_6b",top:"_6e"},d=(function(t){"use strict";function r(){return t.apply(this,arguments)||this}babelHelpers.inheritsLoose(r,t);var o=r.prototype;return o.render=function(){var t=this.props,r=t.alignv,o=t.fullWidth,a=t.height,i=t.rootRef,l=babelHelpers.objectWithoutPropertiesLoose(t,e),s=c[r],d="_6a"+(o?" _5u5j":""),m=n("joinClasses")(d,s);if(a!=null){var p=u.jsx("div",{className:n("joinClasses")("_6a",s),style:{height:a+"px"}});return u.jsxs("div",babelHelpers.extends({},l,{ref:i,className:n("joinClasses")(this.props.className,d),height:null,children:[p,u.jsx("div",{className:m,children:this.props.children})]}))}else return u.jsx("div",babelHelpers.extends({},l,{ref:i,className:n("joinClasses")(this.props.className,m),children:this.props.children}))},r})(u.Component);d.defaultProps={alignv:"baseline",fullWidth:!1},a.exports=d}),null);
__d("LayerHideSources",[],(function(t,n,r,o,a,i){var e=Object.freeze({BLUR:"blur",ESCAPE:"escape",LAYER_CANCEL_BUTTON:"layerCancelButton",LAYER_HIDE_BUTTON:"layerHideButton",TRANSITION:"transition"}),l=e;i.default=l}),66);
__d("LayerHideOnEscape",["CSS","Event","Keys","LayerHideSources"],(function(t,n,r,o,a,i,l){var e=(function(){function e(e){this._layer=e}var t=e.prototype;return t.enable=function(){var e=this;this._subscription=this._layer.subscribe("key",function(t,n){return e.handle(t,n)})},t.disable=function(){this._subscription!=null&&this._subscription.unsubscribe(),this._subscription=null},t.handle=function(t,n){if(r("Event").getKeyCode(n)===r("Keys").ESC&&!o("CSS").hasClass(this._layer.getRoot(),"hidden_elem"))return this._layer.hide(r("LayerHideSources").ESCAPE),!1},e})();Object.assign(e.prototype,{_subscription:null}),l.default=e}),98);
__d("LinkController",["DataStore","Event","Parent","removeFromArray","trackReferrer"],(function(t,n,r,o,a,i,l){var e,s="@@LinkController",u=[],c=[];function d(e){return u.push(e),{remove:function(){return r("removeFromArray")(u,e)}}}function m(e){return c.push(e),{remove:function(){return r("removeFromArray")(c,e)}}}function p(e){var t=e.getTarget(),n=o("Parent").byTag(t,"a");if(n instanceof HTMLAnchorElement){var a=f(n);if(!(a==null||a.trim()===""||h(t)||o("DataStore").get(n,s)||a.endsWith("#"))){var i=r("Event").listen(n,"click",function(e){r("trackReferrer")(n,a),!n.rel&&(!n.target||n.target==="_self")&&!g(e)&&_(n,e)});o("DataStore").set(n,s,i)}}}function _(e,t){u.concat(c).every(function(n){return n(e,t)===!1?(t.prevent(),!1):!0})}function f(e){if(e&&!e.rel){var t=e.getAttribute("href");if(t!=null){var n=t.match(/^(\w+):/);if(!n||n[1].match(/^http/i))return t}}return null}function g(e){return e.getModifiers().any||e.which!=null&&e.which!==1}function h(e){return e.nodeName==="INPUT"&&e.type==="file"}(e=r("Event")).listen(document.documentElement,"mousedown",p,e.Priority.URGENT),e.listen(document.documentElement,"keydown",p,e.Priority.URGENT),l.registerHandler=d,l.registerFallbackHandler=m}),98);
__d("PageTransitionPriorities",[],(function(t,n,r,o,a,i){var e=5,l=e+1,s=l+1;i.DEFAULT=e,i.LEFT_NAV=l,i.SOCIAL_SEARCH_DIALOG=s}),66);
__d("computeRelativeURI",["URI","isEmpty","isFacebookURI"],(function(t,n,r,o,a,i,l){var e,s;function u(e,t){if(!t)return e;if(t.charAt(0)==="/")return t;var n=e.split("/").slice(0,-1);return n[0],t.split("/").forEach(function(e){e==="."||(e===".."?n.length>1&&(n=n.slice(0,-1)):n.push(e))}),n.join("/")}function c(t,n){var o=new(e||(e=r("URI"))),a=new e(t),i=new e(n);if(i.getDomain()&&!r("isFacebookURI")(i))return n;var l=a,c=["Protocol","Domain","Port","Path","QueryData","Fragment"];return c.forEach(function(e){var t=e==="Path"&&l===a;t&&o.setPath(u(a.getPath(),i.getPath())),(s||(s=r("isEmpty")))(i["get"+e]())||(l=i),t||o["set"+e](l["get"+e]())}),o}l.default=c}),98);
__d("getReferrerURI",["ErrorGuard","URI","isFacebookURI"],(function(t,n,r,o,a,i,l){"use strict";var e,s;function u(){if(t.PageTransitions&&t.PageTransitions.isInitialized())return t.PageTransitions.getReferrerURI();var n=(e||(e=r("ErrorGuard"))).applyWithGuard(function(e){return(s||(s=r("URI"))).tryParseURI(e)},null,[document.referrer]);return n&&r("isFacebookURI")(n)?n:null}l.default=u}),98);
__d("PageTransitionsRegistrar",["invariant","DOMQuery","Form","LinkController","PageTransitionPriorities","Parent","URI","computeRelativeURI","getReferrerURI","goURI","requireDeferred","setTimeout","setTimeoutAcrossTransitions"],(function(t,n,r,o,a,i,l,s){var e,u=r("requireDeferred")("PageTransitions").__setRef("PageTransitionsRegistrar");r("setTimeout")(function(){u.onReady(function(e){e&&e._init&&e._init()})},0);var c=[],d=[],m={DELAY_HISTORY:"delay_history_PTR",registerHandler:function(t,n){t!=null||s(0,5202),n=n||o("PageTransitionPriorities").DEFAULT,c[n]||(c[n]=[]),c[n].push(t)},removeHandler:function(t,n){n=n||o("PageTransitionPriorities").DEFAULT;var e=-1;c[n]&&(e=t!=null?c[n].indexOf(t):-1),e>-1&&c[n].splice(e,1)},registerCompletionCallback:function(t){d.push(t)},getMostRecentURI:y,getReferrerURI:r("getReferrerURI"),_getTransitionHandlers:function(){return c},_getCompletionCallbacks:function(){return d},_resetCompletionCallbacks:function(){d=[]},__onClick:f,__onSubmit:h},p=null;function _(e){p=e,r("setTimeoutAcrossTransitions")(function(){p=null},0)}function f(e){var t;if(p&&((t=p.getAttribute("href"))==null?void 0:t[0])!=="#"){if(!e.isDefaultPrevented()){g(p);var n=p.getAttribute("href");n&&r("goURI")(n)}e.kill()}}function g(e){var t=e.getAttribute("href")||"",n=r("computeRelativeURI")(y().getQualifiedURI().toString(),t).toString();t!=n&&e.setAttribute("href",n)}function h(t,n){var a=n,i=t.getTarget();if(!(o("Form").getAttribute(i,"rel")||o("Form").getAttribute(i,"target"))){var l=new(e||(e=r("URI")))(o("Form").getAttribute(i,"action")),s=r("computeRelativeURI")(y().toString(),l.toString());if(i.setAttribute("action",s.toString()),(o("Form").getAttribute(i,"method")||"GET").toUpperCase()==="GET"){var u=o("Form").serialize(i);a&&(o("DOMQuery").isNodeOfType(a,"input")&&a.type==="submit"||(a=o("Parent").byTag(a,"button")))&&a.name&&(u[a.name]=a.value),typeof s=="string"&&(s=new(e||(e=r("URI")))(s)),r("goURI")(s.addQueryData(u)),t.kill()}}}o("LinkController").registerFallbackHandler(_);function y(){if(t.PageTransitions&&t.PageTransitions.isInitialized())return t.PageTransitions.getMostRecentURI();var n=(e||(e=r("URI"))).getRequestURI(!1),o=n.getUnqualifiedURI(),a=new e(o).setFragment(""),i=o.getFragment();return i.charAt(0)==="!"&&a.toString()===i.substr(1)&&(o=a),o}var C=m;l.default=C}),98);
__d("LayerHideOnTransition",["LayerHideSources","PageTransitionsRegistrar"],(function(t,n,r,o,a,i,l){var e=(function(){function e(e){var t=this;this._handler=function(e){t._enabled&&t.isTransitionRelevant(e)&&t._layer.hide(r("LayerHideSources").TRANSITION),t._subscribe()},this._layer=e}var t=e.prototype;return t.enable=function(){this._enabled=!0,this._subscribed||setTimeout(this._subscribe.bind(this),0)},t.disable=function(){this._enabled=!1,r("PageTransitionsRegistrar").removeHandler(this._handler)},t.isTransitionRelevant=function(t){return!0},t._subscribe=function(){r("PageTransitionsRegistrar").registerHandler(this._handler),this._subscribed=!0},e})();Object.assign(e.prototype,{_enabled:!1,_subscribed:!1}),l.default=e}),98);
__d("LineClamp.react",["cx","DOMContainer.react","Locale","getElementText","getVendorPrefixedName","joinClasses","react"],(function(t,n,r,o,a,i,l,s){"use strict";var e,u=e||(e=o("react")),c=r("getVendorPrefixedName")("lineClamp"),d=(function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return t=e.call.apply(e,[this].concat(r))||this,t.state={enableTooltip:!1},t.$2=function(e){e instanceof HTMLElement&&(t.innerElement=e,t.$3())},t.$4=function(e){e instanceof HTMLElement&&(t.rootElement=e,t.$3())},babelHelpers.assertThisInitialized(t)||babelHelpers.assertThisInitialized(t)}babelHelpers.inheritsLoose(t,e);var n=t.prototype;return n.$1=function(){var e;this.props.lineHeight&&!this.props.customEllipsisDisableGradient&&(e={bottom:this.props.lineHeight+"px"});var t;return this.props.customEllipsis&&this.props.customEllipsisDisableGradient?t=o("Locale").isRTL()?"_1osp":"_1osq":t=o("Locale").isRTL()?"_4ik3 _2k5c":"_4ik3"+(this.props.enableCustomizedStyleForEllipsis?" _6q5n":"")+(this.props.enableCustomizedStyleForEllipsis?"":" _2k5d"),u.jsx("div",{style:e,className:t,children:this.props.customEllipsis?this.props.customEllipsis:"\u2026"},"ellipsis")},n.$3=function(){if(this.props.enableTooltipOnOverflow){var e=this.isOverflowing();this.state.enableTooltip!==e&&this.setState({enableTooltip:e})}},n.$5=function(){return!!c&&!this.props.disableNative},n.isOverflowing=function(){var e=!1;if(!this.rootElement)return e;var t=this.rootElement;if(this.$5())e=t.scrollHeight>t.offsetHeight;else{if(!this.innerElement)return e;e=this.innerElement.offsetHeight>t.offsetHeight}return e},n.componentDidMount=function(){this.$3()},n.componentDidUpdate=function(){this.$3()},n.render=function(){var e=this.$5(),t=r("joinClasses")(this.props.className,"_4ik4"+(e?" _4ik5":"")+(this.props.width?" _8hwj":"")),n=this.props.hasXHPChildren?u.jsx(r("DOMContainer.react"),{children:this.props.children}):this.props.children,o={};this.props.lineHeight&&(o={lineHeight:this.props.lineHeight+"px"},this.props.fitHeightToShorterText?o=babelHelpers.extends({},o,{maxHeight:this.props.lineHeight*this.props.lines}):o=babelHelpers.extends({},o,{height:this.props.lineHeight*this.props.lines})),this.props.width&&(o=babelHelpers.extends({},o,{width:this.props.width+"px"})),e?o[c]=this.props.lines:(t=r("joinClasses")(t,"clearfix"),this.props.customEllipsisDisableGradient?n=[u.jsx("div",{className:"_1osu"},"spacer"),this.$1(),u.jsx("div",{className:"_1osv",ref:this.$2,children:this.props.children},"inner")]:n=[u.jsx("div",{className:"_4ik6",ref:this.$2,children:n},"inner"),this.$1()]);var a={};return this.props.enableTooltipOnOverflow&&(a["data-hover"]="tooltip",this.state.enableTooltip&&(a["data-tooltip-content"]=e?r("getElementText")(this.rootElement):r("getElementText")(this.innerElement),this.props.tooltipDelay!=null&&(a["data-tooltip-delay"]=this.props.tooltipDelay))),u.jsx("div",babelHelpers.extends({},a,{className:t,ref:this.$4,style:o,children:n}))},t})(u.Component);l.default=d}),98);
__d("LiveVideoPlayerDispatcher",["ExplicitRegistrationReactDispatcher"],(function(t,n,r,o,a,i,l){"use strict";var e=(function(e){function t(t){var n;return n=e.call(this,t)||this,n.dispatch=n.dispatch.bind(n),n}return babelHelpers.inheritsLoose(t,e),t})(r("ExplicitRegistrationReactDispatcher")),s=new e({strict:!0});l.default=s}),98);
__d("LiveVideoPlayerActions",["LiveVideoPlayerDispatcher"],(function(t,n,r,o,a,i,l){function e(e,t){var n={type:"SET_IS_REWOUND",isRewound:t,vpc:e};r("LiveVideoPlayerDispatcher").dispatch(n)}function s(e){var t={type:"DISMISS_REWIND_COMMENT_OVERLAY",playerID:e};r("LiveVideoPlayerDispatcher").dispatch(t)}l.setIsRewound=e,l.dismissRewindCommentOverlay=s}),98);
__d("LiveVideoRewindTypedLogger",["Banzai","GeneratedLoggerUtils"],(function(t,n,r,o,a,i){"use strict";var e=(function(){function e(){this.$1={}}var t=e.prototype;return t.log=function(t){n("GeneratedLoggerUtils").log("logger:LiveVideoRewindLoggerConfig",this.$1,n("Banzai").BASIC,t)},t.logVital=function(t){n("GeneratedLoggerUtils").log("logger:LiveVideoRewindLoggerConfig",this.$1,n("Banzai").VITAL,t)},t.logImmediately=function(t){n("GeneratedLoggerUtils").log("logger:LiveVideoRewindLoggerConfig",this.$1,{signal:!0},t)},t.clear=function(){return this.$1={},this},t.getData=function(){return babelHelpers.extends({},this.$1)},t.updateData=function(t){return this.$1=babelHelpers.extends({},this.$1,t),this},t.setActionSequenceNumber=function(t){return this.$1.action_sequence_number=t,this},t.setDeviceid=function(t){return this.$1.deviceid=t,this},t.setEvent=function(t){return this.$1.event=t,this},t.setPositionAfter=function(t){return this.$1.position_after=t,this},t.setPositionBefore=function(t){return this.$1.position_before=t,this},t.setSessionID=function(t){return this.$1.session_id=t,this},t.setVideoDuration=function(t){return this.$1.video_duration=t,this},t.setVideoID=function(t){return this.$1.video_id=t,this},e})(),l={action_sequence_number:!0,deviceid:!0,event:!0,position_after:!0,position_before:!0,session_id:!0,video_duration:!0,video_id:!0};i.default=e}),66);
__d("LiveRewindUtils",["LiveVideoPlayerActions","LiveVideoRewindTypedLogger","uuidv4"],(function(t,n,r,o,a,i){"use strict";var e=5,l=new Map,s=250;function u(t){for(var n=0,r=0;r<t.length();r++)n+=t.end(r)-t.start(r);return n>e?n-e:0}function c(e,t){var n=e;if(t.length()<1)return 0;if(e<=0)return t.start(0);for(var r=0;r<t.length();r++){var o=t.end(r)-t.start(r);if(n<o)return t.start(r)+n;n-=o}return t.end(t.length()-1)}function d(e,t){var n=e;if(t.length()<1)return n;for(var r=0,o=0;o<t.length();o++){var a=t.start(o),i=a-r;if(n-=i,e<a){var l=a-e;return n+l}if(e<=t.end(o))return n;r=t.end(o)}return n}function m(e,t,n,r){if(n.length()<1)return 0;r==null&&(r=_(e,n)),e<n.start(r)&&(e=n.start(r)),e>n.end(r)&&(e=n.end(r));var o=e+t,a=n.end(n.length()-1),i=n.start(0);if(o<=i)return i;if(o>=a)return a;if(o>=n.start(r)&&o<=n.end(r))return o;if(o<n.start(r)){if(r<1)return i;var l=e-n.start(r),s=t+l,u=n.end(r-1);return m(u,s,n,r-1)}if(o>n.start(r)){if(r>=n.length()-1)return a;var c=n.end(r)-e,d=t-c,p=n.start(r+1);return m(p,d,n,r+1)}return 0}function p(t,n){n==null&&(n=e);var r=t.end(t.length()-1);return m(r,-1*n,t)}function _(e,t){if(t.length()<1)return 0;for(var n=0;n<t.length()-1;){if(e<t.end(n))return n;n++}return n}function f(e){var t=l.get(e);if(t==null){var r=n("uuidv4")();return l.set(e,{sessionID:r,currentSequenceNumber:0}),r}return t.sessionID}function g(e){var t=l.get(e);return t==null?(l.set(e,{sessionID:n("uuidv4")(),currentSequenceNumber:0}),0):++t.currentSequenceNumber}function h(e){var t=e.getSeekableRanges();if(t){var r=d(e.getCurrentTimePosition(),t),o=t.start(0);S(e,o),n("LiveVideoPlayerActions").setIsRewound(e,!0),v("go_to_beginning",e,r,null,0,null)}}function y(e){var t=e.getSeekableRanges();if(t){var r=e.getCurrentTimePosition(),o=d(r,t),a=m(r,-10,t);S(e,a),n("LiveVideoPlayerActions").setIsRewound(e,!0),v("back_button",e,o,null,null,a)}}function C(e){var t=e.getSeekableRanges();if(t){var r=e.getCurrentTimePosition(),o=d(r,t),a=m(r,10,t);S(e,a);var i=p(t);e.isState("playing")&&i-a<1&&n("LiveVideoPlayerActions").setIsRewound(e,!1),v("forward_button",e,o,null,null,a)}}function b(e){var t=e.getSeekableRanges();if(t){var r=e.getCurrentTimePosition(),o=d(r,t),a=t.end(t.length()-1);S(e,a),e.isState("paused")&&e.play("user_initiated"),n("LiveVideoPlayerActions").setIsRewound(e,!1),v("go_to_live",e,o,null,null,a)}}function v(e,t,r,o,a,i){var l=t.getSeekableRanges(),s=l?u(l):0;r==null&&o!=null&&l!=null&&(r=d(o,l)),a==null&&i!=null&&l!=null&&(a=d(i,l)),new(n("LiveVideoRewindTypedLogger"))().setEvent(e).setPositionBefore(r).setPositionAfter(a).setVideoDuration(s).setVideoID(t.getVideoID()).setSessionID(R.getLoggingSessionID(t.getVideoPlayerID())).setActionSequenceNumber(R.getLoggingSequenceNumber(t.getVideoPlayerID())).log()}function S(e,t){var n=e.getState()==="paused";e.pause("seek_initiated"),setTimeout(function(){e.seek(t),n||e.play("seek_initiated")},s)}var R={getSeekTime:m,getAbsolutePosition:c,getLiveHeadTimestamp:p,getLoggingSessionID:f,getLoggingSequenceNumber:g,getRelativePosition:d,getTotalDuration:u,goToBeginning:h,goToLive:b,logLiveRewindEvent:v,seekBack:y,seekForward:C,LIVE_HEAD_BUFFER_S:e};a.exports=R}),null);
__d("PopoverMenuInterface",["ArbiterMixin","emptyFunction","mixin"],(function(t,n,r,o,a,i){var e,l=(function(e){"use strict";function t(){return e.apply(this,arguments)||this}babelHelpers.inheritsLoose(t,e);var n=t.prototype;return n.done=function(){this.inform("done")},t})(n("mixin")(n("ArbiterMixin")));Object.assign(l.prototype,{getRoot:e=n("emptyFunction"),onShow:e,onHide:e,focusAnItem:e.thatReturnsFalse,blur:e,handleKeydown:e.thatReturnsFalse,destroy:e}),a.exports=l}),null);
__d("SimpleDrag",["ArbiterMixin","Event","SubscriptionsHandler","UserAgent_DEPRECATED","Vector","emptyFunction"],(function(t,n,r,o,a,i){function e(e){this.minDragDistance=0,this._subscriptions=new(n("SubscriptionsHandler")),this._subscriptions.addSubscriptions(n("Event").listen(e,"mousedown",this._start.bind(this)))}Object.assign(e.prototype,n("ArbiterMixin"),{setMinDragDistance:function(t){this.minDragDistance=t},destroy:function(){this._subscriptions.release()},_start:function(t){var e=this,r=!1,o=!0,a=null;if(this.inform("mousedown",t)&&(o=!1),this.minDragDistance)a=n("Vector").getEventPosition(t);else{r=!0;var i=this.inform("start",t);if(i===!0)o=!1;else if(i===!1){r=!1;return}}var l=n("UserAgent_DEPRECATED").ie()<9?document.documentElement:window,s=n("Event").listen(l,{selectstart:o?n("Event").prevent:n("emptyFunction"),mousemove:function(o){if(!r){var t=n("Vector").getEventPosition(o);if(a.distanceTo(t)<e.minDragDistance)return;if(r=!0,e.inform("start",o)===!1){r=!1;return}}e.inform("update",o)},mouseup:function(n){for(var t in s)s[t].remove();r?e.inform("end",n):e.inform("click",n)}});o&&t.prevent()}}),a.exports=e}),null);
__d("firstx",["invariant"],(function(t,n,r,o,a,i,l,s){"use strict";function e(e){for(var t of e)return t;s(0,1145)}l.default=e}),98);
__d("getScrollableAreaContainingNode",["DataStore","Parent"],(function(t,n,r,o,a,i){"use strict";function e(e){var t=n("Parent").byClass(e,"uiScrollableArea");return t?n("DataStore").get(t,"ScrollableArea"):null}a.exports=e}),null);
__d("ScrollableArea",["ArbiterMixin","BrowserSupport","CSS","CSSFade","DOM","DOMScroll","DataStore","Deferred","Event","FocusEvent","Run","Scroll","SimpleDrag","Style","SubscriptionsHandler","TimeSlice","UserAgent","Vector","clearTimeout","createCancelableFunction","emptyFunction","firstx","getScrollableAreaContainingNode","mixin","promiseDone","queryThenMutateDOM","requireDeferred","setTimeoutAcrossTransitions","throttle"],(function(t,n,r,o,a,i){var e=n("requireDeferred")("Animation").__setRef("ScrollableArea"),l=12,s=(function(t){function r(e,r){var o;if(o=t.call(this)||this,o.adjustGripper=function(){var e=function(){n("queryThenMutateDOM")(function(){return o._needsGripper()},function(e){e&&(n("Style").set(o._gripper,"height",o._gripperHeight+"px"),o._slideGripper())}),o._throttledShowGripperAndShadows()};return e=n("TimeSlice").guard(e,"ScrollableArea adjustGripper",{propagationType:n("TimeSlice").PropagationType.ORPHAN}),e(),o},o._computeHeights=function(){o._containerHeight=o._elem.clientHeight,o._contentHeight=o._content.offsetHeight,o._trackHeight=o._track.offsetHeight,o._gripperHeight=Math.max(o._containerHeight/o._contentHeight*o._trackHeight,l)},o._showGripperAndShadows=function(){n("queryThenMutateDOM")(function(){return{needsGripper:o._needsGripper(),top:n("Scroll").getTop(o._wrap)>0,isScrolledToBottom:o.isScrolledToBottom()}},function(e){var t=e.isScrolledToBottom,r=e.needsGripper,a=e.top;n("CSS").conditionShow(o._gripper,r),n("CSS").conditionClass(o._elem,"contentBefore",a),n("CSS").conditionClass(o._elem,"contentAfter",!t)})},o._respondMouseMove=function(){if(!(!o._mouseOver||o._isFocussed)){var e=o._options.fade!==!1,t=o._mousePos,r=n("Vector").getElementPosition(o._track).x,a=n("Vector").getElementDimensions(o._track).x,i=Math.abs(r+a/2-t.x),l=n("BrowserSupport").hasPointerEvents()===!0&&i<=10;l===!0&&o._trackIsHovered!==!0?(o._trackIsHovered=!0,n("CSS").addClass(o._elem,"uiScrollableAreaTrackOver"),o.throttledAdjustGripper()):l!==!0&&o._trackIsHovered===!0&&(o._trackIsHovered=!1,n("CSS").removeClass(o._elem,"uiScrollableAreaTrackOver")),e&&(i<25?o.showScrollbar({hideAfterDelay:!1}):!o._options.no_fade_on_hover&&!o._isFocussed&&o.hideScrollbar({hideAfterDelay:!0,shouldFade:!0}))}},!e)return babelHelpers.assertThisInitialized(o);if(r=r||{},o._elem=e,o._wrap=n("firstx")(n("DOM").scry(e,"div.uiScrollableAreaWrap")),o._body=n("firstx")(n("DOM").scry(o._wrap,"div.uiScrollableAreaBody")),o._content=n("firstx")(n("DOM").scry(o._body,"div.uiScrollableAreaContent")),o._track=n("firstx")(n("DOM").scry(e,"div.uiScrollableAreaTrack")),o._trackIsHovered=!1,o._isFocussed=!1,o._gripper=n("firstx")(n("DOM").scry(o._track,"div.uiScrollableAreaGripper")),o._options=r,o._throttledComputeHeights=n("throttle").withBlocking(o._computeHeights,250,o),o.throttledAdjustGripper=n("throttle").withBlocking(o.adjustGripper,250,o),o.throttledAdjustGripper=n("TimeSlice").guard(o.throttledAdjustGripper,"ScrollableArea throttledAdjustGripper",{propagationType:n("TimeSlice").PropagationType.ORPHAN}),o._throttledShowGripperAndShadows=n("throttle").withBlocking(o._showGripperAndShadows,250,o),o._throttledRespondMouseMove=n("throttle")(o._respondMouseMove,250,o),n("setTimeoutAcrossTransitions")(o.adjustGripper.bind(o),0),o._listeners=new(n("SubscriptionsHandler")),o._listeners.addSubscriptions(n("Event").listen(o._wrap,"scroll",o._handleScroll.bind(o)),n("Event").listen(e,"mousemove",o._handleMouseMove.bind(o)),n("Event").listen(o._track,"click",o._handleClickOnTrack.bind(o))),n("BrowserSupport").hasPointerEvents()&&o._listeners.addSubscriptions(n("Event").listen(e,"mousedown",o._handleClickOnTrack.bind(o))),r.fade!==!1){var a;(a=o._listeners).addSubscriptions.apply(a,[n("Event").listen(e,"mouseenter",o._handleMouseEnter.bind(o)),n("Event").listen(e,"mouseleave",o._handleMouseLeave.bind(o))].concat(o._attachFocusListeners(o._wrap)))}else n("BrowserSupport").hasPointerEvents()&&o._listeners.addSubscriptions(n("Event").listen(e,"mouseleave",function(){o._isFocussed||(o._trackIsHovered=!1,n("CSS").removeClass(e,"uiScrollableAreaTrackOver"))}));return(n("UserAgent").isEngine("WebKit")||n("UserAgent").isEngine("Blink"))&&o._listeners.addSubscriptions(n("Event").listen(e,"mousedown",function(){var t=n("Event").listen(window,"mouseup",function(){n("Scroll").getLeft(e)&&n("Scroll").setLeft(e,0),t.remove()})})),o._drag=o.initDrag(),n("DataStore").set(o._elem,"ScrollableArea",o),r.persistent||(o._destroy=n("createCancelableFunction")(o._destroy.bind(o)),r.runtime_site_is_comet||n("Run").onLeave(o._destroy)),r.shadow!==!1&&n("CSS").addClass(o._elem,"uiScrollableAreaWithShadow"),o}babelHelpers.inheritsLoose(r,t);var o=r.prototype;return o.getContentHeight=function(){return this._contentHeight},o.getElement=function(){return this._elem},o.initDrag=function(){var e=this,t=n("BrowserSupport").hasPointerEvents(),r=new(n("SimpleDrag"))(t===!0?this._elem:this._gripper);return r.subscribe("start",function(o,a){if(!(a.which&&a.which===1||a.button&&a.button===1))return!1;var i=n("Vector").getEventPosition(a,"viewport");if(t===!0){var l=e._gripper.getBoundingClientRect();if(i.x<l.left||i.x>l.right||i.y<l.top||i.y>l.bottom)return!1}a.stopPropagation(),e.inform("grip_start");var s=i.y,u=e._gripper.offsetTop;n("CSS").addClass(e._elem,"uiScrollableAreaDragging");var c=r.subscribe("update",function(t,r){var o=n("Vector").getEventPosition(r,"viewport").y-s;e._throttledComputeHeights();var a=e._contentHeight-e._containerHeight,i=u+o,l=e._trackHeight-e._gripperHeight;i=Math.max(Math.min(i,l),0);var c=i/l*a;n("Scroll").setTop(e._wrap,c)}),d=r.subscribe("end",function(){r.unsubscribe(c),r.unsubscribe(d),n("CSS").removeClass(e._elem,"uiScrollableAreaDragging"),e.inform("grip_end")})}),r},o._attachFocusListeners=function(t){var e=this,r={cleanupOnLeave:!this._options.runtime_site_is_comet},o;return[n("FocusEvent").listen(t,function(t){o&&(o.reject(),o=null),t?(o=new(n("Deferred")),n("promiseDone")(o.getPromise(),function(){e._isFocussed=!0,e._trackIsHovered=!0,n("queryThenMutateDOM")(null,function(){n("CSS").addClass(e._elem,"uiScrollableAreaTrackOver")}),e.showScrollbar({hideAfterDelay:!1}),o=null},function(){o=null})):(e._isFocussed=!1,e._mouseOver?e._respondMouseMove():(n("queryThenMutateDOM")(null,function(){n("CSS").removeClass(e._elem,"uiScrollableAreaTrackOver")}),e.hideScrollbar({hideAfterDelay:!1,shouldFade:!1})))},r),n("Event").listen(document.documentElement,"keyup",function(e){o&&o.resolve()})]},o._needsGripper=function(){return this._throttledComputeHeights(),this._gripperHeight<this._trackHeight},o._slideGripper=function(){var e=this;n("queryThenMutateDOM")(function(){return n("Scroll").getTop(e._wrap)/(e._contentHeight-e._containerHeight)*(e._trackHeight-e._gripperHeight)},function(t){n("Style").set(e._gripper,"top",t+"px")})},o.destroy=function(){this._destroy(),this._destroy.cancel&&this._destroy.cancel()},o._destroy=function(){this._listeners&&this._listeners.release(),this._elem&&n("DataStore").remove(this._elem,"ScrollableArea"),this._drag&&this._drag.destroy()},o._handleClickOnTrack=function(t){var e=n("Vector").getEventPosition(t,"viewport"),r=this._gripper.getBoundingClientRect();e.x<r.right&&e.x>r.left&&(e.y<r.top?this.setScrollTop(this.getScrollTop()-this._elem.clientHeight):e.y>r.bottom&&this.setScrollTop(this.getScrollTop()+this._elem.clientHeight),t.kill())},o._handleMouseMove=function(t){var e=this._options.fade!==!1;(n("BrowserSupport").hasPointerEvents()||e)&&(this._mousePos=n("Vector").getEventPosition(t),this._throttledRespondMouseMove())},o._handleScroll=function(t){this._needsGripper()&&this._slideGripper(),this.throttledAdjustGripper(),this._options.fade!==!1&&!this._isFocussed&&this.showScrollbar({hideAfterDelay:!0}),this.inform("scroll")},o._handleMouseLeave=function(t){this._mouseOver=!1,this._mousePos=n("Vector").getEventPosition(t),this._isFocussed||this.hideScrollbar({hideAfterDelay:!0,shouldFade:!0})},o._handleMouseEnter=function(t){this._mouseOver=!0,this._mousePos=n("Vector").getEventPosition(t),this._isFocussed||this.showScrollbar({hideAfterDelay:!0})},o.hideScrollbar=function(t){var e=this,r=t.hideAfterDelay,o=t.shouldFade;if(this._hideTimeout||!this._scrollbarVisible)return this;var a=function(){e._scrollbarVisible=!1,n("CSSFade").hide(e._track,{simple:!o,invisible:n("CSS").hasClass(e._track,"invisible_elem")})};return r?this._hideTimeout=n("setTimeoutAcrossTransitions")(function(){e._hideTimeout=null,a()},750):a(),this},o.pageDown=function(t,n){this._scrollPage(1,t,n)},o.pageUp=function(t,n){this._scrollPage(-1,t,n)},o._scrollPage=function(t,n,r){var e=t*this._containerHeight,o=this.getScrollHeight()-this._containerHeight,a=Math.max(0,Math.min(o,this.getScrollTop()+e));this.setScrollTop(a,n,r)},o.resize=function(){this._body.style.width&&(this._body.style.width="");var e=n("DOMScroll").getScrollbarSize();return e>0&&n("Style").set(this._body,"margin-right",-e+"px"),this},o.showScrollbar=function(t){var e=this,r=t.hideAfterDelay;return this._hideTimeout&&(n("clearTimeout")(this._hideTimeout),this._hideTimeout=null),this._scrollbarVisible?this:(this._scrollbarVisible=!0,n("queryThenMutateDOM")(null,function(){n("CSSFade").show(e._track,{duration:0,invisible:n("CSS").hasClass(e._track,"invisible_elem")}),e.throttledAdjustGripper(),r&&e.hideScrollbar({hideAfterDelay:!0,shouldFade:!e._options.no_fade_on_hover})}),this)},o.distanceToBottom=function(){this._computeHeights();var e=Math.round(n("Scroll").getTop(this._wrap));return this._contentHeight-(e+this._containerHeight)},o.isScrolledToBottom=function(){return this.distanceToBottom()<=0},o.isScrolledToTop=function(){return n("Scroll").getTop(this._wrap)===0},o.scrollToBottom=function(t,n){this.setScrollTop(this._wrap.scrollHeight,t,n)},o.scrollToTop=function(t,n){this.setScrollTop(0,t,n)},o.scrollIntoView=function(t,r,o){var e=this._wrap.clientHeight,a=t.offsetHeight,i=n("Scroll").getTop(this._wrap),l=i+e,s=this.getScrollOffsetForElement(t),u=s+a;return s<i||e<a?this.setScrollTop(s,r,{callback:o}):u>l?this.setScrollTop(i+(u-l),r,{callback:o}):(o&&o(),n("emptyFunction"))},o.getScrollOffsetForElement=function(t){for(var e=0;t!=null&&t!==this._wrap;)e+=t.offsetTop,t=t.offsetParent;return e},o.scrollElemToTop=function(t,n,r){this.setScrollTop(t.offsetTop,n,{callback:r})},o.poke=function(){var e,t=(e=n("Scroll")).getTop(this._wrap);return e.setTop(this._wrap,e.getTop(this._wrap)+1),e.setTop(this._wrap,e.getTop(this._wrap)-1),e.setTop(this._wrap,t),this._isFocussed?this:this.showScrollbar({hideAfterDelay:!1})},o.getClientHeight=function(){return this._wrap.clientHeight},o.getScrollTop=function(){return n("Scroll").getTop(this._wrap)},o.getScrollHeight=function(){return this._wrap.scrollHeight},o.setScrollTop=function(n,r,o){o===void 0&&(o={});var t;if(r!==!1){var a=e.getModuleIfRequired();a!=null?t=this._animatedSetScrollTop(a,n,o):this._simpleSetScrollTop(n,o)}else this._simpleSetScrollTop(n,o);return function(){t&&t.stop(),t=null}},o._simpleSetScrollTop=function(t,r){n("Scroll").setTop(this._wrap,t),r.callback&&r.callback()},o._animatedSetScrollTop=function(t,n,r){this._scrollTopAnimation&&this._scrollTopAnimation.stop();var e=r.duration||250,o=r.ease||t.ease.end;return this._scrollTopAnimation=new t(this._wrap).to("scrollTop",n).ease(o).duration(e).ondone(r.callback).go(),this._scrollTopAnimation},r.renderDOM=function(){var e,t=(e=n("DOM")).create("div",{className:"uiScrollableAreaContent"}),r=e.create("div",{className:"uiScrollableAreaBody"},t),o=e.create("div",{className:"uiScrollableAreaWrap scrollable"},r),a=e.create("div",{className:"uiScrollableArea native"},o);return{root:a,wrap:o,body:r,content:t}},r.fromNative=function(t,o){if(!(!n("CSS").hasClass(t,"uiScrollableArea")||!n("CSS").hasClass(t,"native"))){o=o||{},n("CSS").removeClass(t,"native");var e=n("DOM").create("div",{className:"uiScrollableAreaTrack"},n("DOM").create("div",{className:"uiScrollableAreaGripper"}));o.fade!==!1?(n("CSS").addClass(t,"fade"),n("CSS").addClass(e,"hidden_elem")):n("CSS").addClass(t,"nofade"),o.tabIndex!=null?(n("DOM").setAttributes(e,{tabIndex:o.tabIndex}),n("DOM").prependContent(t,e)):n("DOM").appendContent(t,e);var a=new r(t,o);return a.resize(),a}},r.getInstance=function(t){return n("getScrollableAreaContainingNode")(t)},r.poke=function(t){var e=r.getInstance(t);e&&e.poke()},r})(n("mixin")(n("ArbiterMixin"))),u=s;i.default=u}),66);
__d("Menu",["cx","BehaviorsMixin","CSS","DOM","DataStore","Event","Keys","Parent","PopoverMenuInterface","ScrollableArea","Style","SubscriptionsHandler","UserAgent","debounce"],(function(t,n,r,o,a,i,l,s){var e=500,u=(function(t){function n(o,a){var i;return i=t.call(this)||this,i._items=[],i._keysSoFar="",i._items=o.map(function(e){return n.buildItemFromData(e)}),i._config=a||{},i._theme=a.theme||{},i._subscriptions=new(r("SubscriptionsHandler")),i._clearKeysSoFarAfterDelay=r("debounce")(function(){i._keysSoFar=""},e),i}babelHelpers.inheritsLoose(n,t),n.buildItemFromData=function(t){return t.ctor?new t.ctor(t):new t.type(t.props)};var a=n.prototype;return a.addItem=function(t){this._addItem(t)},a.addItemBefore=function(t,n){this._addItem(t,n,!1)},a.addItemAfter=function(t,n){this._addItem(t,n,!0)},a._addItem=function(t,n,r){var e=this._items.indexOf(t);if(e>=0){var o=r?-1:1;if(this._items[e+o]==n)return;this._items.splice(e,1)}if(n){if(e=this._items.indexOf(n),e<0)throw new Error("reference item must already be in the menu");r&&e++,this._items.splice(e,0,t)}else this._items.push(t);this._root&&this._insertItem(t,n,r)},a.removeItem=function(t){var e=this._items.indexOf(t);e<0||(this._items.splice(e,1),this._root&&r("DOM").remove(t.getRoot()))},a.forEachItem=function(t){this._items.forEach(t)},a.getFocusedItem=function(){return this._focused},a.getItemAt=function(t){return this._items[t]||null},a.getRoot=function(){return this._root||this._render(),this._root},a.onShow=function(){this._config.maxheight&&(this._scrollableArea?this._scrollableArea.resize():this._scrollableArea=r("ScrollableArea").fromNative(this._scrollableElems.root,{fade:!0})),this.inform("show")},a.onHide=function(){this.blur(),this.inform("hide")},a.focusAnItem=function(t){return this._attemptFocus(t||0,1)},a.blur=function(){if(this._focused){var e=this._focused;this._focused.blur(),this._focused=null,this.inform("blur",{item:e})}},a.handleKeydown=function(t,n){if(!this._items.length)return!1;var e=this._items.indexOf(this._focused);switch(t){case r("Keys").UP:case r("Keys").DOWN:var o=t===r("Keys").UP,a=o?-1:1,i=o?this._items.length-1:0;return e===-1?this._attemptFocus(i,a):this._attemptFocus(e+a,a);case r("Keys").HOME:return this._attemptFocus(0,1);case r("Keys").END:return this._attemptFocus(this._items.length-1,-1);case r("Keys").SPACE:return this._items.indexOf(this._focused)!==-1?(this._handleItemClick(this._focused,n),!0):!1;case r("Keys").RIGHT:case r("Keys").LEFT:case r("Keys").INSERT:case r("Keys").DELETE:return!1;default:var l=this._findItemToFocus(t,e);return!!(l&&this._focusItem(l))}},a._findItemToFocus=function(t,n){var e=String.fromCharCode(t).toLowerCase();this._keysSoFar||(this._searchIndex=n,this._itemToFocus=this._focused||this._items[0]),this._keysSoFar+=e,this._clearKeysSoFarAfterDelay();var r=this._findMatchInRange(this._searchIndex+1,this._items.length);return r||(r=this._findMatchInRange(0,this._searchIndex)),this._itemToFocus=r||this._itemToFocus,this._itemToFocus},a._findMatchInRange=function(t,n){for(var e=t;e<n;e++){var r=this._items[e].getLabel();if(r&&r.toString().toLowerCase().indexOf(this._keysSoFar)===0)return this._items[e]}return null},a._render=function(){var e=this;this._ul=r("DOM").create("ul",{className:"_54nf"}),this._ul.setAttribute("role","menu"),this._items.forEach(function(t){e._insertItem(t,null)}),this._subscriptions.addSubscriptions(r("Event").listen(this._ul,"click",function(t){return e._handleClick(t)}),r("Event").listen(this._ul,"mouseover",function(t){return e._handleMouseOver(t)}),r("Event").listen(this._ul,"mouseout",function(t){return e._handleMouseOut(t)}));var t=this._ul;this._config.maxheight&&(this._scrollableElems=r("ScrollableArea").renderDOM(),r("DOM").setContent(this._scrollableElems.content,this._ul),t=this._scrollableElems.root,r("Style").set(this._scrollableElems.wrap,"max-height",this._config.maxheight+"px"));var n="_54nq"+(this._config.className?" "+this._config.className:"")+(this._theme.className?" "+this._theme.className:"");this._root=r("DOM").create("div",{className:n},r("DOM").create("div",{className:"_54ng"},t)),this._config.id&&this._root.setAttribute("id",this._config.id),this._config.testid&&this._root.setAttribute("data-testid",this._config.testid),this._config.behaviors&&this.enableBehaviors(this._config.behaviors),this.inform("rendered",this._root)},a._needsDefaultBehavior=function(t){if(t.isDefaultRequested&&t.isDefaultRequested()){var e=o("Parent").byTag(t.getTarget(),"a"),n=e&&e.getAttribute("href");return n!=null&&n!==""&&n[0]!=="#"}return!1},a._handleClick=function(t){if(t.getTarget()===this._ul&&r("UserAgent").isBrowser("IE")){t.stop();return}if(!this._needsDefaultBehavior(t)){var e=this._getItemInstance(t.getTarget());if(e)return this._handleItemClick(e,t)}},a._handleItemClick=function(t,n){return this.inform("itemclick",{item:t,event:n}),t.shouldCloseOnClick()&&t.hasAction()&&this.done(),t.handleClick(n)},a._handleMouseOver=function(t){var e=this._getItemInstance(t.getTarget());e&&this._focusItem(e,!0)},a._handleMouseOut=function(t){var e=this._getItemInstance(t.getTarget());e&&this._focused===e&&this.blur()},a._insertItem=function(t,n,a){var e=t.getRoot();if(o("CSS").addClass(e,"__MenuItem"),o("DataStore").set(e,"MenuItem",t),n){var i=a?r("DOM").insertAfter:r("DOM").insertBefore;i(n.getRoot(),e)}else r("DOM").appendContent(this._ul,e)},a._attemptFocus=function(t,n){var e=this._items.length;if((t<0||t>=e)&&!this._focused)return!1;var r=(e+t%e)%e,o=this.getItemAt(r);return o===this._focused||this._focusItem(o)?!0:this._attemptFocus(r+n,n)},a._focusItem=function(t,n){return t&&t.focus(n)!==!1?(this._focused!==t&&(this.blur(),this._focused=t,this.inform("focus",{item:t,from_mouse_over:n})),!0):!1},a._getItemInstance=function(t){var e=o("Parent").byClass(t,"__MenuItem");return e?o("DataStore").get(e,"MenuItem"):null},a.destroy=function(){this._items.forEach(function(e){var t=e.getRoot(!0);t&&(o("DataStore").remove(t,"MenuItem"),e.destroy())}),this._subscriptions.release(),this.destroyBehaviors()},n})(r("PopoverMenuInterface"));Object.assign(u.prototype,r("BehaviorsMixin"),{_focused:null,_root:null}),l.default=u}),98);
__d("MenuItemInterface",["emptyFunction","react"],(function(t,n,r,o,a,i){var e,l=e||(e=n("react")),s=(function(e){"use strict";function t(){return e.apply(this,arguments)||this}babelHelpers.inheritsLoose(t,e);var n=t.prototype;return n.getRoot=function(t){return!this._root&&!t&&(this._root=this.render()),this._root},t})(l.Component);Object.assign(s.prototype,{_root:null,render:n("emptyFunction"),getAccessKey:n("emptyFunction"),getLabel:n("emptyFunction"),hasAction:n("emptyFunction").thatReturnsFalse,focus:n("emptyFunction").thatReturnsFalse,blur:n("emptyFunction").thatReturnsFalse,onShow:n("emptyFunction").thatReturnsFalse,handleClick:n("emptyFunction").thatReturnsFalse,shouldCloseOnClick:n("emptyFunction").thatReturnsTrue,destroy:n("emptyFunction")}),a.exports=s}),null);
__d("MenuItemBase",["cx","DOM","HTML","MenuItemInterface"],(function(t,n,r,o,a,i,l,s){var e=(function(e){function t(t){var n;return n=e.call(this)||this,n._ARIARole="menuitem",n._data=babelHelpers.extends({},t),n}babelHelpers.inheritsLoose(t,e);var n=t.prototype;return n.render=function(){var e="_54ni";this._data.className&&(e+=" "+this._data.className);var t={className:e,role:"presentation","data-testid":void 0};return Object.assign(t,this.__getAttributesFromData()),delete t["data-testid"],r("DOM").create("li",t,this._renderItemContent())},n._renderItemContent=function(){return r("HTML")(this._data.markup).getNodes()},n.__getAttributesFromData=function(){var e={};for(var t in this._data)(t.indexOf("data-")===0||t.indexOf("aria-")===0)&&(e[t]=this._data[t]);return e},t})(r("MenuItemInterface"));l.default=e}),98);
__d("MenuItem",["cx","CSS","DOM","MenuItemBase","ReactDOM","emptyFunction","joinClasses","react","setTimeout","vulture"],(function(t,n,r,o,a,i,l){var e,s=e||(e=n("react")),u=["href","rel","ajaxify","target","accesskey"];function c(e,t){var r={};u.forEach(function(e){t[e]&&(r[e]=t[e])}),n("DOM").setAttributes(e,r)}function d(e){n("vulture")("L3dzAeLx4qVbAk1CGh1ezQj0L50="),u.forEach(function(t){n("vulture")("4Y-rjCJtVHvzE06fQVkcrLf-SMA="),e.removeAttribute(t)})}var m=(function(e){"use strict";function t(t){var n;return n=e.call(this,t)||this,n._disabled=!!n._data.disabled,n._onclickHandler=n._data.onclick||n._data.onClick,n}babelHelpers.inheritsLoose(t,e);var r=t.prototype;return r.getValue=function(){return this._data.value},r.getLabel=function(){return this._data.label},r.getLink=function(){return n("vulture")("EsrM6PZUvQbnGj2bFd940AUdzbo="),this._data.href},r.getAccessKey=function(){n("vulture")("vWgxrmHNH5VQk9XuWLXHyQEia0o=");var e=this.getLabel();return e&&e.charAt(0)},r.focus=function(t){if(this.isDisabled()||!this._root.offsetParent||!this.hasAction()||this.isHoverDisabled())return!1;n("CSS").addClass(this._root,"_54ne"),n("CSS").addClass(this._root,"selected"),t||this._anchor.focus()},r.blur=function(){n("CSS").removeClass(this._root,"_54ne"),n("CSS").removeClass(this._root,"selected")},r.handleClick=function(t){return this.isDisabled()?!1:typeof this._onclickHandler=="function"?this._onclickHandler(t):!0},r.setOnClickHandler=function(t){this._onclickHandler=t},r._renderItemContent=function(){var e=this;if(this._anchor=n("DOM").create(this._data.renderas==="label"?"label":"a",{className:"_54nc"+(this._data.icon?" _54nu":"")}),this._data.children){var t=null;this._data.icon&&(t=s.cloneElement(this._data.icon,{className:n("joinClasses")(this._data.icon.props.className,"mrs")}));var r=s.jsx(s.Suspense,{fallback:null,children:s.jsxs("span",{children:[t,s.jsx("span",{className:"_54nh",children:this._data.children})]})});this._reactRoot=n("ReactDOM").createRoot(this._anchor),n("ReactDOM").flushSync(function(){e._reactRoot.render(r)}),this._data.label=this._anchor.innerText||this._anchor.textContent}else{var o=n("DOM").create("span",null,n("DOM").create("span",{className:"_54nh"},this._data.markup||this._data.label));this._data.icon&&n("DOM").prependContent(o,this._data.icon),n("DOM").setContent(this._anchor,o)}this._data.href||(this._data.href="#"),this.isDisabled()||c(this._anchor,this._data),n("DOM").setAttributes(this._anchor,this.__getAttributesFromData()),this._anchor.setAttribute("role",this._ARIARole);var a=this._data.title;return a&&this._anchor.setAttribute("title",a),this._anchor},r.isDisabled=function(){return this._disabled},r.isHoverDisabled=function(){return this._data.hoverdisabled},r.enable=function(){n("vulture")("Iub_VECdDHNOtjbr25HMBTEMhys="),this._root&&(c(this._anchor,this._data),n("CSS").removeClass(this._root,"_5arm")),this._disabled=!1},r.disable=function(){n("vulture")("i-Jr_4wyb_VEzmBrpUix7dZhkjE="),this._root&&(d(this._anchor),n("CSS").addClass(this._root,"_5arm")),this._disabled=!0},r.render=function(){var t=e.prototype.render.call(this);return this._disabled&&n("CSS").addClass(t,"_5arm"),t},r.destroy=function(){if(this._reactRoot!=null){var e=this._reactRoot;this._reactRoot=null,n("setTimeout")(function(){e.unmount()},0)}},t})(n("MenuItemBase"));Object.assign(m.prototype,{hasAction:n("emptyFunction").thatReturnsTrue}),a.exports=m}),null);
__d("MenuItemNoAction",["MenuItem"],(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.hasAction=function(){return!1},t})(r("MenuItem"));l.default=e}),98);
__d("MenuSelectableItem",["cx","CSS","DOM","MenuItem"],(function(t,n,r,o,a,i,l,s){var e=(function(e){function t(t){var n;return n=e.call(this,t)||this,n._selected=!1,n._ARIARole="menuitemcheckbox",n._selected=!!n._data.selected,n}babelHelpers.inheritsLoose(t,e);var n=t.prototype;return n.getIcon=function(){return this._data.icon},n.setIcon=function(t){r("DOM").replace(this._data.icon,t),this._data.icon=t},n.isSelected=function(){return this._selected},n.select=function(){if(this.isDisabled())return!1;o("CSS").addClass(this._root,"_54nd"),this._anchor.setAttribute("aria-checked","true"),this._selected=!0},n.deselect=function(){o("CSS").removeClass(this._root,"_54nd"),this._anchor.setAttribute("aria-checked","false"),this._selected=!1},n.render=function(){var t=e.prototype.render.call(this);return this._data.selected&&(o("CSS").addClass(t,"_54nd"),this._anchor.setAttribute("aria-checked","true")),t},t})(r("MenuItem"));l.default=e}),98);
__d("MenuTheme",["cx"],(function(t,n,r,o,a,i,l,s){var e="_569t";l.className=e}),98);
__d("NetworkConnectivityEffectiveType",["$InternalEnum"],(function(t,n,r,o,a,i){var e=n("$InternalEnum")({TYPE_SLOW_2G:"slow-2g",TYPE_2G:"2g",TYPE_3G:"3g",TYPE_4G:"4g",UNAVAILABLE:"unavailable"}),l=e;i.default=l}),66);
__d("Network",["$InternalEnum","NetworkConnectivityEffectiveType","mixInEventEmitter"],(function(t,n,r,o,a,i,l){var e=!0,s=t.navigator&&t.navigator.connection,u={0:"unknown",1:"ethernet",2:"wifi",3:"2g",4:"3g"},c=n("$InternalEnum")({Bluetooth:"bluetooth",Cellular:"cellular",Ethernet:"ethernet",None:"none",Wifi:"wifi",Wimax:"wimax",Other:"other",Unavailable:"unavailable",Unknown:"unknown"});function d(){return e}function m(t){t!=e&&(e=t,C.emit(t?"online":"offline"))}function p(){if(!d())return 0;var e=s==null?void 0:s.downlinkMax;if(typeof e=="number"&&Number.isFinite(e))return e;var t=s==null?void 0:s.downlink;return typeof t=="number"&&Number.isFinite(t)?t:null}function _(){if(!d())return 0;var e=s==null?void 0:s.rtt;return typeof e=="number"&&Number.isFinite(e)?e:null}function f(){return s!=null}function g(){var e=s?String(s.type):"0";return u[e]||e}function h(){var e,t=s==null?void 0:s.type;return(e=typeof t=="string"?c.cast(t):null)!=null?e:c.Unavailable}function y(){var e,t=s==null?void 0:s.effectiveType;return(e=typeof t=="string"?r("NetworkConnectivityEffectiveType").cast(t):null)!=null?e:"unavailable"}var C={NetworkConnectivityType:c,NetworkConnectivityEffectiveType:r("NetworkConnectivityEffectiveType"),getBandwidth:p,getEffectiveType:y,getType:h,getType_DEPRECATED_DO_NOT_USE:g,isOnline:d,setOnline:m,getRTT:_,containsNetworkInformation:f};r("mixInEventEmitter")(C,{online:!0,offline:!0}),t.addEventListener?(t.addEventListener("online",m.bind(null,!0)),t.addEventListener("offline",m.bind(null,!1))):t.attachEvent&&(t.attachEvent("online",m.bind(null,!0)),t.attachEvent("offline",m.bind(null,!1)));var b=C;l.default=b}),98);
__d("OnUseEffectMount.react",["react","react-compiler-runtime"],(function(t,n,r,o,a,i,l){"use strict";var e,s=(e||(e=o("react"))).useEffect;function u(e){var t=o("react-compiler-runtime").c(2),n=e.callback,r;t[0]!==n?(r=[n],t[0]=n,t[1]=r):r=t[1],s(n,r)}l.default=u}),98);
__d("OnUseEffectUnmount.react",["react","react-compiler-runtime"],(function(t,n,r,o,a,i,l){"use strict";var e,s=(e||(e=o("react"))).useEffect;function u(e){var t=o("react-compiler-runtime").c(3),n=e.callback,r,a;t[0]!==n?(r=function(){return n},a=[n],t[0]=n,t[1]=r,t[2]=a):(r=t[1],a=t[2]),s(r,a)}l.default=u}),98);
__d("PageTransitions",["cr:917439"],(function(t,n,r,o,a,i,l){l.default=n("cr:917439")}),98);
__d("PageTransitionsConfig.experimental",["cr:19572"],(function(t,n,r,o,a,i,l){"use strict";l.default=n("cr:19572")}),98);
__d("unionSets",[],(function(t,n,r,o,a,i){"use strict";function e(){for(var e=new Set,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];for(var o of n)for(var a of o)e.add(a);return e}i.default=e}),66);
__d("PageTransitionsPersistentParams",["URI","lastx","react","unionSets","uniqueID"],(function(t,n,r,o,a,i,l){"use strict";var e,s,u=(s||(s=o("react"))).useEffect,c=new Set(["locale"]),d=c,m=new Map;function p(e){return u(function(){var t=r("uniqueID")();return m.set(t,d),h(e),function(){var e=r("lastx")(m),t=e[0],n=e[1];d=n,m.delete(t)}},[e])}function _(t){var n=new(e||(e=r("URI")))(t),o=e.getMostRecentURI().getQueryData();for(var a of Object.entries(o)){var i=a[0],l=a[1];d.has(i)&&n.addQueryData(i,l)}return n}function f(){return d}function g(e){d=new Set(e)}function h(e){d=r("unionSets")(d,new Set(e))}function y(){d=c}l.useAdditionalPersistentParams=p,l.appendToURI=_,l.get=f,l.set=g,l.add=h,l.reset=y}),98);
__d("escapeJSQuotes",[],(function(t,n,r,o,a,i){function e(e){return typeof e=="undefined"||e==null||!e.valueOf()?"":e.toString().replace(/\\/g,"\\\\").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\"/g,"\\x22").replace(/\'/g,"\\'").replace(/</g,"\\x3c").replace(/>/g,"\\x3e").replace(/&/g,"\\x26")}i.default=e}),66);
__d("PageTransitionsBlue",["fbt","invariant","Arbiter","BlueCompatBroker","BlueCompatRouter","Bootloader","DOMQuery","DOMScroll","Env","ErrorGuard","Event","FbtResultBase","HistoryManager","LayerHideOnEscape","PageHooks","PageTransitionsConfig.experimental","PageTransitionsPersistentParams","PageTransitionsRegistrar","ScriptPath","URI","Vector","areEqual","clickRefAction","escapeJSQuotes","ge","gkx","goOrReplace","isFacebookURI","isInIframe","react","setTimeout","uriIsRelativePath"],(function(t,n,r,o,a,i,l,s,u){var e,c,d,m,p,_=p||(p=o("react")),f=["cquick","ctarget","cquick_token","mh_","killabyte","tfc_","tfi_"],g={};function h(e,t){e&&(g[e.getUnqualifiedURI().toString()]=t)}function y(e){return g[e.getUnqualifiedURI().toString()]}function C(e){delete g[e.getUnqualifiedURI().toString()]}function b(){var e=o("PageTransitionsPersistentParams").get(),t={};return window.location.search.slice(1).split("&").forEach(function(n){var r=n.split("="),o=r[0],a=r[1],i=a===void 0?null:a;(f.some(function(e){return o.startsWith(e)})||e.has(o))&&(t[o]=i)}),t}var v=null,S=!1,R=new(e||(e=r("URI")))(""),L=null,E=new e,k=null,I=!1,T=!1,D=!1,x={isInitialized:function(){return S},init:function(t){n("BlueCompatRouter"),x._init(),t!=null&&o("PageTransitionsPersistentParams").add(t)},_init:function(){if(r("isInIframe")())return!1;if(S)return!0;var t=r("PageTransitionsRegistrar").getMostRecentURI();v=t,R=t,L=null,E=t;var n=(c||(c=r("ErrorGuard"))).applyWithGuard(function(t){return(e||(e=r("URI"))).tryParseURI(t)},null,[document.referrer]);k=document.referrer&&n&&r("isFacebookURI")(n)?n:null,S=!0;var o,a=(e||(e=r("URI"))).getRequestURI(!1);return a.getFragment().startsWith("/")?o=a.getFragment():o=t.toString(),r("HistoryManager").init().setCanonicalLocation("#"+o).registerURIHandler(x._historyManagerHandler),r("Event").listen(window,"scroll",function(){I||h(v,r("Vector").getScrollPosition())}),!0},registerHandler:r("PageTransitionsRegistrar").registerHandler,removeHandler:r("PageTransitionsRegistrar").removeHandler,getCurrentURI:function(n){return n===void 0&&(n=!1),x._init(),!v&&!n?new(e||(e=r("URI")))(R):new(e||(e=r("URI")))(v)},isTransitioning:function(){return x._init(),!v},getNextURI:function(){return x._init(),E},getNextReferrerURI:function(){return x._init(),L},getReferrerURI:function(){return x._init(),k},getMostRecentURI:function(){return x._init(),new(e||(e=r("URI")))(R)},go:function(n,o){if(o===void 0&&(o=!1),r("BlueCompatRouter").goFragment(n)){var t=new(e||(e=r("URI")))(n);if(x.restoreScrollPosition(t)){v=R=t;return}}r("BlueCompatRouter").go(n,o)||x.goBase(n,o)},goBase:function(n,o){o===void 0&&(o=!1),x._init();var t=b(),a=new(e||(e=r("URI")))(n).removeQueryData("quickling").addQueryData(t).getQualifiedURI();C(a),!o&&r("clickRefAction")("uri",{href:a.toString()},null,"INDIRECT"),x._loadPage(a,o,function(e){e?r("HistoryManager").go(a.toString(),!1,o):r("goOrReplace")(window.location,a,o)})},_historyManagerHandler:function(n){return n.charAt(0)!=="/"?!1:(r("clickRefAction")("h",{href:n}),o("ScriptPath").getClickPointInfo()||o("ScriptPath").setClickPointInfo({click:"back"}),x._loadPage(new(e||(e=r("URI")))(n),!0,function(e){e||r("goOrReplace")(window.location,n,!0)}),!0)},_loadPage:function(n,a,i){if(new(e||(e=r("URI")))(n).getFragment()&&(d||(d=r("areEqual")))(new(e||(e=r("URI")))(n).setFragment("").getQualifiedURI(),new(e||(e=r("URI")))(v).setFragment("").getQualifiedURI())&&(r("Arbiter").inform("pre_page_fragment_transition",{from:new(e||(e=r("URI")))(v).getFragment(),to:new e(n).getFragment()}),x.restoreScrollPosition(n))){v=R=n,r("Arbiter").inform("page_fragment_transition",{fragment:new(e||(e=r("URI")))(n).getFragment()}),i==null||i(!0);return}var t;v&&(t=y(v));var l=function(){t&&v&&h(v,t),L=x.getMostRecentURI(),v=null,E=n,t&&o("DOMScroll").scrollTo(t,!1),I=!0;var e=x._handleTransition(n,a);i&&(e===r("PageTransitionsRegistrar").DELAY_HISTORY?r("setTimeout")(function(){return i(e)},0):i(e))},s=E;E=n;var u=r("PageHooks").runHooks("onbeforeleavehooks");E=s,u?x._warnBeforeLeaving(u,l):l()},_handleTransition:function(n,o){if(window.onbeforeleavehooks=void 0,T||!n.isSameOrigin()&&!r("uriIsRelativePath")(n))return!1;var e=r("PageTransitionsConfig.experimental").reloadOnBootloadError&&x._hasBootloadErrors();if(e)return!1;var a,i=t.AsyncRequest;i&&(a=i.getLastID()),r("Arbiter").inform("pre_page_transition",{from:x.getMostRecentURI(),to:n});for(var l=r("PageTransitionsRegistrar")._getTransitionHandlers(),s=l.length-1;s>=0;--s){var u=l[s];if(u)for(var c=u.length-1;c>=0;--c){var d=u[c](n,o);if(d===!0||d===r("PageTransitionsRegistrar").DELAY_HISTORY){var m={sender:x,uri:n,id:a};try{r("Arbiter").inform("page_transition",m)}catch(e){}return d}else u.splice(c,1)}}return!1},disableTransitions:function(){T=!0},disableScrollAnimation:function(){D=!0},_hasBootloadErrors:function(){return r("Bootloader").getErrorCount()>0},unifyURI:function(){x._init(),v=R=E,k=L},transitionComplete:function(t){t===void 0&&(t=!1),x._init(),I=!1,x._executeCompletionCallbacks(),x.unifyURI(),t||v&&x.restoreScrollPosition(v);try{document.activeElement&&document.activeElement.nodeName==="A"&&document.activeElement.blur()}catch(e){}},_executeCompletionCallbacks:function(){var e=r("PageTransitionsRegistrar")._getCompletionCallbacks();e.length>0&&(r("PageTransitionsRegistrar")._resetCompletionCallbacks(),e.forEach(function(e){return e()}))},registerCompletionCallback:r("PageTransitionsRegistrar").registerCompletionCallback,rewriteCurrentURI:function(t,n){x._init();var e=r("PageTransitionsRegistrar")._getTransitionHandlers(),o=e.length||1,a=!1;r("PageTransitionsRegistrar").registerHandler(function(){if(t&&t.toString()===x.getMostRecentURI().getUnqualifiedURI().toString())return x.transitionComplete(),!0;a=!0},o),x.go(n,!0),e.length===o+1&&e[o].length===(a?0:1)||u(0,1302),e.length=o},_warnBeforeLeaving:function(t,n){r("Bootloader").loadModules(["DialogX","XUIDialogTitle.react","XUIDialogBody.react","XUIDialogButton.react","XUIDialogFooter.react","XUIGrayText.react"],function(e,o,a,i,l,u){var c=typeof t=="string"||t instanceof String||t instanceof r("FbtResultBase")?{body:t,highlightStay:!1,leaveButtonText:s._(/*BTDS*/"Jelenlegi oldal elhagy\u00e1sa"),showCloseButton:!1,stayButtonText:s._(/*BTDS*/"Maradok az oldalon"),title:s._(/*BTDS*/"Elhagyod az oldalt?")}:t,d=_.jsx(o,{showCloseButton:c.showCloseButton,children:c.title}),m=c.highlightStay?[_.jsx(i,{action:"confirm",label:c.leaveButtonText},"confirm"),_.jsx(i,{action:"cancel",use:"confirm",label:c.stayButtonText,className:"autofocus"},"cancel")]:[_.jsx(i,{action:"cancel",label:c.stayButtonText},"cancel"),_.jsx(i,{action:"confirm",use:"confirm",label:c.leaveButtonText,className:"autofocus"},"confirm")],p=new e({width:450,addedBehaviors:[r("LayerHideOnEscape")]},_.jsxs("div",{children:[d,_.jsx(a,{children:_.jsx(u,{shade:"medium",size:"medium",children:c.body})}),_.jsx(l,{children:m})]}));p.subscribe("confirm",function(){p.hide(),n()}),p.show()},"PageTransitionsBlue")},restoreScrollPosition:function(n){var t=y(n);if(t)return o("DOMScroll").scrollTo(t,!1),!0;function a(e){if(!e)return null;var t="a[name='"+r("escapeJSQuotes")(e)+"']";return o("DOMQuery").scry(document.body,t)[0]||r("ge")(e)}var i=a(new(e||(e=r("URI")))(n).getFragment());if(i){var l=!D;return o("DOMScroll").scrollTo(i,l),!0}return!1}};!r("gkx")("21034")&&(m||(m=r("Env"))).isCQuick&&(o("BlueCompatBroker").init(),o("BlueCompatBroker").register("transitionpage",function(n){var a=new(e||(e=r("URI")))(o("BlueCompatBroker").getMessageEventString(n,"uri")),i=new e(window.location.href);if(a.removeQueryData("ctarget"),i.removeQueryData("ctarget"),i.toString()!==a.toString()){var l=t.AsyncRequest;l&&l.ignoreUpdate(),x.goBase(a,!1)}}));var $=x;t.PageTransitions=x,l.default=$}),226);
__d("PageTransitionsConfigJSModuleWrapper",["PageTransitionsConfig"],(function(t,n,r,o,a,i,l){"use strict";l.default=r("PageTransitionsConfig")}),98);
__d("TabbableElements",["Style"],(function(t,n,r,o,a,i,l){function e(e){if(e.tabIndex<0)return!1;if(e.tabIndex>0||e.tabIndex===0&&e.getAttribute("tabIndex")!==null)return!0;var t=e;switch(e.tagName){case"A":var n=t;return!!n.href&&n.rel!="ignore";case"INPUT":var r=t;return r.type!="hidden"&&r.type!="file"&&!r.disabled;case"BUTTON":case"SELECT":case"TEXTAREA":var o=t;return!o.disabled}return!1}function s(e){for(var t=e;t&&t!==document&&r("Style").get(t,"visibility")!="hidden"&&r("Style").get(t,"display")!="none";)t=t.parentNode;return t===document}function u(e){return Array.from(e.getElementsByTagName("*")).filter(m)}function c(e){return Array.from(e.getElementsByTagName("*")).find(m)}function d(e){for(var t=Array.from(e.getElementsByTagName("*")),n=t.length-1;n>=0;n--)if(m(t[n]))return t[n];return null}function m(t){return e(t)&&s(t)}function p(e){return s(e)}l.find=u,l.findFirst=c,l.findLast=d,l.isTabbable=m,l.isVisible=p}),98);
__d("Toggler",["csx","invariant","$","Arbiter","ArbiterMixin","CSS","ContextualThing","DOM","DataStore","Event","Focus","Keys","Parent","TabbableElements","TimeSlice","createArrayFromMixed","emptyFunction","ge","getContextualParent","getObjectValues","mixin","queryThenMutateDOM","setImmediate"],(function(t,n,r,o,a,i,l,s,u){var e=[],c,d=!1;function m(){d||(d=!0,r("setImmediate")(function(){d=!1}))}var p=function(){p=r("emptyFunction"),r("Event").listen(document.documentElement,"click",function(t){if(!d){var n=t.getTarget();e.forEach(function(e){e.clickedTarget=n,e.active&&!e.sticky&&!o("ContextualThing").containsIncludingLayers(e.getActive(),n)&&!e.inTargetFlyout(n)&&e.inActiveDialog()&&!e.isIgnoredByModalLayer(n)&&e.hide()})}},r("Event").Priority.URGENT)},_=(function(n){function a(){var t;return t=n.call(this)||this,t.active=null,t.togglers={},t.setSticky(!1),e.push(t),t.subscribe(["show","hide"],a.inform.bind(a)),p()||babelHelpers.assertThisInitialized(t)}babelHelpers.inheritsLoose(a,n);var i=a.prototype;return i.focusFirstTabbableDescendant=function(t,n){n.$Toggler2&&n.$Toggler2.cancel();var e=null;n.$Toggler2=r("queryThenMutateDOM")(function(){var n=t.querySelector(".uiToggleFlyout");n&&(e=o("TabbableElements").findFirst(n)||n)},function(){delete n.$Toggler2,e&&(e.tabIndex==null&&(e.tabIndex=-1),o("Focus").setWithoutOutline(e))})},i.show=function(t){var e=f(this,t),n=e.active;if(t!==n){n&&e.hide(),e.active=t,o("CSS").addClass(t,"openToggler");var a=r("DOM").scry(t,'a[rel="toggle"]');a.length>0&&a[0].getAttribute("data-target")&&o("CSS").removeClass(r("$")(a[0].getAttribute("data-target")),"toggleTargetClosed"),this.focusFirstTabbableDescendant(t,e),a.length>0&&(r("DOM").appendContent(t,e.getToggler("next")),r("DOM").prependContent(t,e.getToggler("prev"))),r("Event").listen(t,"keydown",function(n){if(r("Event").getKeyCode(n)===r("Keys").ESC&&e.isShown()){var o=r("DOM").scry(t,'a[rel="toggle"]')[0];o&&o.focus(),e.hide(),n.kill()}}),t.getAttribute("data-toggle-wc")&&(e.__continuation=r("TimeSlice").getGuardedContinuation("Toggler.show inform")),e.inform("show",e,"state")}},i.hide=function(t){var e=f(this,t);e.$Toggler2&&e.$Toggler2.cancel();var n=e.active;if(n&&(!t||t===n)){o("CSS").removeClass(n,"openToggler");var a=r("DOM").scry(n,'a[rel="toggle"]');a.length>0&&a[0].getAttribute("data-target")&&o("CSS").addClass(r("$")(a[0].getAttribute("data-target")),"toggleTargetClosed"),r("getObjectValues")(e.togglers).forEach(r("DOM").remove),n.getAttribute("data-toggle-wc")&&(e.__continuation=r("TimeSlice").getGuardedContinuation("Toggler.hide inform")),e.inform("hide",e,"state"),e.active=null}},i.toggle=function(t){var e=f(this,t);e.active===t?e.hide():e.show(t),m()},i.getActive=function(){return f(this).active},i.isShown=function(){return f(this).active&&o("CSS").hasClass(f(this).active,"openToggler")},a.isNodeShown=function(t){return o("CSS").hasClass(t,"openToggler")},i.inTargetFlyout=function(t){var e=g(this.getActive());return!!(e&&o("ContextualThing").containsIncludingLayers(e,t))},i.inActiveDialog=function(){var e=t.Dialog&&t.Dialog.getCurrent();return!e||r("DOM").contains(e.getRoot(),this.getActive())},i.isIgnoredByModalLayer=function(t){var e=!!o("Parent").bySelector(t,"._3qw"),n=!!o("Parent").bySelector(this.getActive(),"._3qw");return e&&!n},i.getToggler=function(t){var e=f(this);return e.togglers[t]||(e.togglers[t]=r("DOM").create("button",{className:"hideToggler",onfocus:function(){var t=r("DOM").scry(e.active,'a[rel="toggle"]')[0];t&&t.focus(),e.hide()},style:{right:t==="next"?"0":""}}),e.togglers[t].setAttribute("type","button")),this.togglers[t]},i.setSticky=function(t){var e=f(this);return t=t!==!1,t!==e.sticky&&(e.sticky=t,t?e.$Toggler1&&e.$Toggler1.unsubscribe():e.$Toggler1=r("Arbiter").subscribe("pre_page_transition",e.hide.bind(e,null))),e},i.setPrePageTransitionCallback=function(t){var e=f(this);e.$Toggler1&&e.$Toggler1.unsubscribe(),e.$Toggler1=r("Arbiter").subscribe("pre_page_transition",t)},a.bootstrap=function(t){var e=t.parentNode;e!=null||u(0,3354);var n=a.getInstance(e);n!=null||u(0,3355),n.toggle(e)},a.createInstance=function(t){var e=new a().setSticky(!0);return o("DataStore").set(t,"toggler",e),e},a.destroyInstance=function(t){var e=o("DataStore").get(t,"toggler");e&&e.$Toggler2&&e.$Toggler2.cancel(),o("DataStore").remove(t,"toggler")},a.getInstance=function(t){for(var e=t;e;){var n=o("DataStore").get(e,"toggler");if(n)return n;if(e instanceof Element){if(o("CSS").hasClass(e,"uiToggleContext"))return a.createInstance(e);if(o("CSS").hasClass(e,"uiToggleFlyout"))return a.createInstance(e).setSticky(!1)}e=r("getContextualParent")(e)}return c=c||new a},a.listen=function(t,n,o){return a.subscribe(r("createArrayFromMixed")(t),function(e,t){if(t.getActive()===n){if(t.__continuation){var r=t.__continuation;return delete t.__continuation,r(function(){return o(e,t)})}return o(e,t)}})},a.addListener=function(t){var e=t.element,n=t.events,r=t.handler;return a.listen(n,e,function(){return r.callback()})},a})(r("mixin")(r("ArbiterMixin")));Object.assign(_,_.prototype,r("ArbiterMixin")),Object.assign(_,{subscribe:(function(t){return function(n,o){return n=r("createArrayFromMixed")(n),n.includes("show")&&e.forEach(function(e){e.getActive()&&setTimeout(o.bind(null,"show",e),0)}),t(n,o)}})(_.subscribe.bind(_))});function f(e,t){return e instanceof _?e:_.getInstance(t)}function g(e){var t=r("DOM").scry(e,'a[rel="toggle"]');return t.length>0&&t[0].getAttribute("data-target")?r("ge")(t[0].getAttribute("data-target")):null}l.default=_}),98);
__d("curry",["bind"],(function(t,n,r,o,a,i,l){var e=r("bind")(null,r("bind"),null),s=e;l.default=s}),98);
__d("ParameterizedPopover",["invariant","ArbiterMixin","CSS","DataStore","Event","Focus","KeyStatus","Keys","LayerHideOnEscape","SubscriptionsHandler","Toggler","curry","mixin"],(function(t,n,r,o,a,i,l){n("Toggler").subscribe(["show","hide"],function(e,t){var r=t.getActive();r!=null||l(0,4839);var o=n("DataStore").get(r,"Popover");o&&(e==="show"?o.showLayer():o.hideLayer())});var e=(function(e){"use strict";function t(t,n,r,o){var a;return a=e.call(this)||this,typeof t=="string"&&typeof n=="string"?window.setTimeout(function(){var e=document.getElementById(t),i=document.getElementById(n);a.construct(e,i,r,o)}):a.construct(t,n,r,o),a}babelHelpers.inheritsLoose(t,e);var r=t.prototype;return r.construct=function(t,r,o,a){this._root=t,this._triggerElem=r,this._behaviors=o,this._config=a||{},this._disabled=!!this._config.disabled,this._listeners=new(n("SubscriptionsHandler")),this._disabled||((r.nodeName!=="A"||r.rel==null||r.rel.indexOf("toggle")<0)&&this._setupClickListener(),this._setupKeyListener(),this._setupFocusListener(),this._setupBlurListener()),r.setAttribute("role","button"),n("DataStore").set(t,"Popover",this),n("Toggler").getActive()===t&&this.showLayer()},r.ensureInit=function(){this._layer||this._init()},r.showLayer=function(){this._disabled||(this.ensureInit(),this._layer.show(),n("Toggler").show(this._root),n("CSS").addClass(this._root,"selected"),this.inform("show"))},r.getContentRoot=function(){return this._root},r.getLayer=function(){return this.ensureInit(),this._layer},r.hideLayer=function(){this.ensureInit(),this._layer.hide()},r.isShown=function(){return this._layer&&this._layer.isShown()},r.setLayerContent=function(t){this.ensureInit(),this._layer.setContent&&this._layer.setContent(t)},r._init=function(){var e=this._config.layer;e.enableBehaviors([n("LayerHideOnEscape")]),n("Toggler").createInstance(e.getRoot()).setSticky(!1),e.subscribe("hide",this._onLayerHide.bind(this)),this._behaviors&&e.enableBehaviors(this._behaviors),this._layer=e,this.inform("init",null,"persistent")},r._onLayerHide=function(){n("Toggler").hide(this._root),n("CSS").removeClass(this._root,"selected"),this.inform("hide"),n("KeyStatus").getKeyDownCode()===n("Keys").ESC&&n("Focus").set(this._triggerElem)},r.enable=function(){this._disabled&&(this._listeners.engage(),this._setupClickListener(),this._setupKeyListener(),this._setupFocusListener(),this._setupBlurListener(),this._disabled=!1)},r.disable=function(){this._disabled||(this.isShown()&&this.hideLayer(),this._listeners.release(),this._triggerElem.getAttribute("rel")==="toggle"&&this._triggerElem.removeAttribute("rel"),this._disabled=!0)},r._setupClickListener=function(){this._listeners.addSubscriptions(n("Event").listen(this._triggerElem,"click",n("curry")(n("Toggler").bootstrap,this._triggerElem)))},r._setupKeyListener=function(){this._listeners.addSubscriptions(n("Event").listen(this._triggerElem,"keydown",this._handleKeyEvent.bind(this)))},r._setupFocusListener=function(){this._listeners.addSubscriptions(n("Event").listen(this._triggerElem,"focus",this._handleFocusEvent.bind(this)))},r._setupBlurListener=function(){this._listeners.addSubscriptions(n("Event").listen(this._triggerElem,"blur",this._handleBlurEvent.bind(this)))},r._handleKeyEvent=function(t){if(!t.getModifiers().any){var e=n("Event").getKeyCode(t);switch(e){case n("Keys").DOWN:case n("Keys").UP:if(this._config.disableArrowKeyActivation)return;this.isShown()||n("Toggler").bootstrap(this._triggerElem);break;case n("Keys").RETURN:if(!this._config.enableActivationOnEnter)return;this.isShown()||n("Toggler").bootstrap(this._triggerElem);break;case n("Keys").SPACE:n("Toggler").bootstrap(this._triggerElem);break;default:return}t.prevent()}},r._handleFocusEvent=function(t){n("CSS").addClass(this._root,"focused")},r._handleBlurEvent=function(t){n("CSS").removeClass(this._root,"focused")},r.destroy=function(){this.disable(),n("DataStore").remove(this._root,"Popover")},t})(n("mixin")(n("ArbiterMixin")));Object.assign(e.prototype,{_layer:null}),a.exports=e}),null);
__d("PerfHelperUtils",["cx","DeferredComponent.react","JSResource","joinClasses","promiseDone","react"],(function(t,n,r,o,a,i,l,s){"use strict";var e,u=e||(e=o("react"));function c(e){var t=e.children,n=e.className,o=e.color,a=e.tooltip;return u.jsx("div",babelHelpers.extends({},{0:{className:"x1rg5ohu xh8yej3"},2:{className:"x1rg5ohu xh8yej3 x1mcmo0z"},1:{className:"x1rg5ohu xh8yej3 xenqo9p"},3:{className:"x1rg5ohu xh8yej3 xenqo9p"}}[(o==="red")<<1|(o==="green")<<0],{children:u.jsx(r("DeferredComponent.react"),{"data-tooltip":a,deferredPlaceholder:u.jsx("div",{}),deferredComponent:function(t){r("promiseDone")(r("JSResource")("Tooltip.react").__setRef("PerfHelperUtils").load(),t)},className:r("joinClasses")("_5_my",n),tooltip:a,children:t})}))}c.displayName=c.name+" [from "+i.id+"]";function d(e){var t=e.children,n=e.moduleId,r=e.timeLimitSecs,o=e.timeSpentSecs;return u.jsx(c,{color:"red",tooltip:"This bootloaded component has a red border\n because "+n+"\n took over "+r+" seconds ("+o+"s) to load",children:t})}d.displayName=d.name+" [from "+i.id+"]",l.BorderedComponent=c,l.SlowBootloadBorder=d}),98);
__d("Popover",["ContextualLayer","ContextualLayerHideOnScroll","DOM","ParameterizedPopover"],(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._init=function(){var t=new(r("ContextualLayer"))({context:this._triggerElem,position:"below",arrowDimensions:{offset:12,length:16},"data-testid":this._config["data-testid"]},r("DOM").create("div"));this._config.shouldDisableHideOnScroll||t.enableBehaviors([r("ContextualLayerHideOnScroll")]),this._config.layer=t,this._config.alignh&&t.setAlignment(this._config.alignh),this._config.layer_content&&t.setContent(this._config.layer_content),this._config.position&&t.setPosition(this._config.position),this._config.arrowDimensions&&t.setArrowDimensions(this._config.arrowDimensions),e.prototype._init.call(this)},n.destroy=function(){e.prototype.destroy.call(this),this._layer&&this._layer.destroy()},t})(r("ParameterizedPopover"));l.default=e}),98);
__d("PopoverMenu",["ARIA","ArbiterMixin","BehaviorsMixin","Event","Focus","KeyStatus","Keys","SubscriptionsHandler","VirtualCursorStatus","mixin","setTimeout"],(function(t,n,r,o,a,i,l){var e=(function(e){function t(t,n,a,i){var l;return l=e.call(this)||this,l._popover=t,l._triggerElem=n,l._getInitialMenu=typeof a!="function"?function(){return a}:a,l._subscriptions=new(r("SubscriptionsHandler")),l._subscriptions.addSubscriptions(t.subscribe("init",function(){return l._onLayerInit()}),t.subscribe("show",function(){return l._onPopoverShow()}),t.subscribe("hide",function(){return l._onPopoverHide()}),r("Event").listen(l._triggerElem,"keydown",function(e){return l._handleKeyEventOnTrigger(e)}),o("VirtualCursorStatus").add(l._triggerElem,function(){return l._checkInitialFocus()})),i&&l.enableBehaviors(i),l}babelHelpers.inheritsLoose(t,e);var n=t.prototype;return n.getContentRoot=function(){return this._popover.getContentRoot()},n.setMenu=function(t){var e=this;this._menu&&this._menu!==t&&this._menu.destroy(),this._menu=t;var n=t.getRoot();this._popover.setLayerContent(n),t.subscribe("done",function(t){return e._onMenuDone(t)}),this._popoverShown&&this._menu.onShow(),o("ARIA").controls(this._triggerElem,n),this.inform("setMenu",null,"persistent")},n.setInitialFocus=function(t,n){n&&t.focusAnItem()},n.getPopover=function(){return this._popover},n.getTriggerElem=function(){return this._triggerElem},n.getInitialMenu=function(){return this._getInitialMenu()},n.getMenu=function(){return this._menu},n._onLayerInit=function(){var e=this;this._menu||this.setMenu(this._getInitialMenu()),this._popover.getLayer().subscribe("key",function(t,n){return e._handleKeyEvent(t,n)})},n._onPopoverShow=function(){this._menu&&this._menu.onShow(),this._checkInitialFocus(),this._popoverShown=!0},n._checkInitialFocus=function(){var e=o("KeyStatus").isKeyDown()||o("VirtualCursorStatus").isVirtualCursorTriggered();this._menu&&this.setInitialFocus(this._menu,e)},n._onPopoverHide=function(){this._menu&&this._menu.onHide(),this._popoverShown=!1},n._handleKeyEvent=function(t,n){if(n.target!==this._triggerElem){var e=r("Event").getKeyCode(n);if(e===r("Keys").TAB){this._popover.hideLayer(),o("Focus").set(this._triggerElem);return}if(!n.getModifiers().any){switch(e){case r("Keys").RETURN:this.getMenu().getFocusedItem()||this.inform("returnWithoutFocusedItem");return;default:if(e===r("Keys").SPACE&&n.target.type==="file")return;this._menu.handleKeydown(e,n)===!1&&(this._menu.blur(),this._menu.handleKeydown(e,n));break}n.prevent()}}},n._handleKeyEventOnTrigger=function(t){if(!this._isTypeaheadActivationDisabled){var e=r("Event").getKeyCode(t),n=String.fromCharCode(e).toLowerCase();/^\w$/.test(n)&&(this._popover.showLayer(),this._menu.blur(),this._menu.handleKeydown(e,t)===!1&&(this._popover.hideLayer(),o("Focus").set(this._triggerElem)))}},n.disableTypeaheadActivation=function(){this._isTypeaheadActivationDisabled=!0},n.enableTypeaheadActivation=function(){this._isTypeaheadActivationDisabled=!1},n._onMenuDone=function(t){var e=this;r("setTimeout")(function(){e._popover.hideLayer(),o("Focus").set(e._triggerElem)},0)},n.enable=function(){this._popover.enable()},n.disable=function(){this._popover.disable()},n.destroy=function(){this._subscriptions.release(),this._popover.destroy(),this._getInitialMenu().destroy(),this._menu&&this._menu.destroy()},t})(r("mixin")(r("ArbiterMixin"),r("BehaviorsMixin")));Object.assign(e.prototype,{_popoverShown:!1}),l.default=e}),98);
__d("PopoverMenu.react",["cx","CSS","DangerouslyAccessReactElementInternals_DO_NOT_USE_IN_NEW_CODE","InlineBlock.react","Popover","PopoverMenu","SubscriptionsHandler","areEqual","clearImmediate","joinClasses","react","setImmediate"],(function(t,n,r,o,a,i,l,s){var e,u,c=u||(u=o("react")),d=(function(t){function n(){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.$3=null,e.$5=!1,e.$6=c.createRef(),e.$9=function(){e.$3&&(e.$3.release(),e.$3=null),e.$2.setMenu(e.$7(e.props.menu)),e.$8()},babelHelpers.assertThisInitialized(e)||babelHelpers.assertThisInitialized(e)}babelHelpers.inheritsLoose(n,t),n.getFirstChild=function(t){var e=t.children;return Array.isArray(e)?e[0]:e},n.getButtonSize=function(t){var e=n.getFirstChild(t);return e!=null&&e.props.size!=null?e.props.size:"medium"};var a=n.prototype;return a.componentDidMount=function(){var e=this.$6.current,t=e==null?void 0:e.firstChild;t!=null&&(o("CSS").addClass(t,"_p"),this.$1=new(r("Popover"))(e,t,this.props.layerBehaviors,{alignh:this.props.alignh,position:this.props.position,disabled:this.props.disabled,arrowDimensions:{offset:0,length:0},disableArrowKeyActivation:this.props.disableArrowKeyActivation,enableActivationOnEnter:this.props.enableActivationOnEnter,"data-testid":this.props["data-testid"],shouldDisableHideOnScroll:this.props.shouldDisableHideOnScroll}),this.$2=new(r("PopoverMenu"))(this.$1,t,this.$7(this.props.menu),this.props.behaviors),this.$5=!1),this.$8()},a.componentDidUpdate=function(n){if((e||(e=r("areEqual")))(n.menu,this.props.menu)||(r("clearImmediate")(this.$4),this.$4=r("setImmediate")(this.$9)),this.props.alignh!==n.alignh&&this.$2.getPopover().getLayer().setAlignment(this.props.alignh),this.props.disabled!==n.disabled&&(this.props.disabled?this.$2.disable():this.$2.enable()),this.props.position!==n.position){var t=this.$1.getLayer();t.setPosition(this.props.position)}},a.$8=function(){this.props.onReturnWithoutFocusedItem&&this.$3&&this.$2&&this.$3.addSubscriptions(this.$2.subscribe("returnWithoutFocusedItem",this.props.onReturnWithoutFocusedItem))},a.render=function(){var e=c.Children.map(this.props.children,function(e,t){return t===0?c.cloneElement(e,{className:r("joinClasses")(e.props.className,"_p")}):e}),t=babelHelpers.extends({},this.props);return delete t.onShow,delete t.onHide,delete t.alignh,delete t.position,delete t.layerBehaviors,delete t.behaviors,delete t.menu,delete t.disabled,delete t.disableArrowKeyActivation,delete t.enableActivationOnEnter,delete t.shouldDisableHideOnScroll,c.jsx(r("InlineBlock.react"),babelHelpers.extends({},t,{className:r("joinClasses")(this.props.className,"uiPopover"),rootRef:this.$6,disabled:null,children:e}))},a.componentWillUnmount=function(){this.$5||(r("clearImmediate")(this.$4),this.hidePopover(),this.$3&&(this.$3.release(),this.$3=null),this.$2&&this.$2.destroy(),this.$5=!0)},a.$7=function(t){var e=t.props,n=new(r("DangerouslyAccessReactElementInternals_DO_NOT_USE_IN_NEW_CODE")(t)).type(e);return this.$3=new(r("SubscriptionsHandler")),e.onItemClick&&this.$3.addSubscriptions(n.subscribe("itemclick",e.onItemClick)),e.onItemFocus&&this.$3.addSubscriptions(n.subscribe("focus",e.onItemFocus)),e.onItemBlur&&this.$3.addSubscriptions(n.subscribe("blur",e.onItemBlur)),e.onChange&&this.$3.addSubscriptions(n.subscribe("change",e.onChange)),this.props.onShow&&this.$3.addSubscriptions(this.$1.subscribe("show",this.props.onShow)),this.props.onHide&&this.$3.addSubscriptions(this.$1.subscribe("hide",this.props.onHide)),n},a.getMenu=function(){return this.$2.getMenu()},a.isShown=function(){return!!(this.$1&&this.$1.isShown())},a.showPopover=function(t){if(this.$1.showLayer(),t){var e=this.$2.getMenu();e.blur(),e.focusAnItem(t)}},a.hidePopover=function(){var e=this.$1;e&&e.isShown()&&e.hideLayer()},a.getFocusedItem=function(){var e=this.$2.getMenu();return e.getFocusedItem()},n})(c.Component);d.defaultProps={alignv:"middle",shouldDisableHideOnScroll:!1},l.default=d}),98);
__d("XUIText.react",["cx","joinClasses","react"],(function(t,n,r,o,a,i,l,s){var e=["children","color","display","headingLevel","palette","size","type","weight"],u,c=u||(u=o("react")),d=(function(t){function n(){return t.apply(this,arguments)||this}babelHelpers.inheritsLoose(n,t);var o=n.prototype;return o.getAriaLevel=function(t,n){return t==="header1"?1:t==="header2"?2:t==="header3"?3:t==="header4"?4:n},o.render=function(){var t=this.props,n=t.children,o=t.color,a=t.display,i=t.headingLevel,l=t.palette,s=t.size,u=t.type,d=t.weight,m=babelHelpers.objectWithoutPropertiesLoose(t,e),p=(u==="serif"?"_5s6c":"")+(s==="small"?" _50f3":"")+(s==="medium"?" _50f4":"")+(s==="large"?" _50f5":"")+(s==="xlarge"||s==="xlarge_DEPRECATED"?" _50f6":"")+(d==="bold"?" _50f7":"")+(d==="normal"?" _5kx5":"")+(s==="display"?" _2iei":"")+(s==="header1"?" _2iej":"")+(s==="header2"?" _2iek":"")+(s==="header3"?" _2iel":"")+(s==="header4"?" _2iem":"")+(s==="body1"?" _2ien":"")+(s==="body2"?" _2ieo":"")+(s==="body3"?" _2iep":"")+(s==="meta1"?" _2ieq":"")+(o==="blueLink"?" _rzx":"")+(o==="white"?" _2ier":"")+(o==="highlight"?" _1hk0":"")+(o==="positive"?" _2iet":"")+(o==="negative"?" _2ieu":"")+(l!=="dark"&&o==="placeholder"?" _rzy":"")+(l!=="dark"&&o==="primary"?" _2iev":"")+(l!=="dark"&&o==="secondary"?" _2iex":"")+(l!=="dark"&&o==="disabled"?" _2iey":"")+(l==="dark"&&o==="primary"?" _2iez":"")+(l==="dark"&&o==="secondary"?" _2ie-":"")+(l==="dark"&&o==="disabled"?" _2ie_":""),_=this.getAriaLevel(s,i),f={};return _!=null&&(f={role:"heading","aria-level":""+_}),a==="block"?c.jsx("div",babelHelpers.extends({},m,f,{className:r("joinClasses")(this.props.className,p),children:n})):c.jsx("span",babelHelpers.extends({},m,f,{className:r("joinClasses")(this.props.className,p),children:n}))},n})(c.Component);d.defaultProps={type:"inherit",size:"inherit",weight:"inherit",display:"inline"},l.default=d}),98);
__d("ProfileTile.react",["Image.react","ImageBlock.react","Link.react","URI","XUIText.react","react"],(function(t,n,r,o,a,i,l){"use strict";var e,s,u=s||(s=o("react")),c=24,d="2712477385668128|b429aeb53369951d411e1cae8e810640",m=(function(t){function n(){return t.apply(this,arguments)||this}babelHelpers.inheritsLoose(n,t);var o=n.prototype;return o.render=function(){var t=this.props.size||c,n=this.props.imageProps&&this.props.imageProps.src||"https://graph.facebook.com/"+(this.props.id||"")+"/picture?width="+t+"&height="+t+"&access_token="+d,o=this.props.imageProps&&this.props.imageProps.href||"/"+(this.props.id||""),a=null;this.props.shouldShowProfileCardOnHover&&(a=new(e||(e=r("URI")))("/ajax/hovercard/user.php").setQueryData({id:this.props.id}));var i=this.props.desc?u.jsx(r("XUIText.react"),babelHelpers.extends({display:"block"},this.props.descProps,{children:this.props.desc})):null,l=u.jsx("span",babelHelpers.extends({},this.props.titleProps,{children:this.props.name}));this.props.shouldNameLinkToProfile&&(l=u.jsx(r("Link.react"),babelHelpers.extends({"data-hovercard":a},this.props.titleProps,{href:this.props.titleProps&&this.props.titleProps.href||"/"+(this.props.id||""),children:this.props.name})));var s=this.props.image||(this.props.size&&this.props.imageProps&&!this.props.imageProps.height&&this.props.imageProps&&!this.props.imageProps.width?u.jsx(r("Image.react"),babelHelpers.extends({height:this.props.size,src:n,width:this.props.size},this.props.imageProps)):u.jsx(r("Image.react"),babelHelpers.extends({src:n},this.props.imageProps))),m=this.props.shouldImageLinkToProfile?u.jsx(r("Link.react"),{href:o,children:s}):s;return u.jsxs(r("ImageBlock.react"),babelHelpers.extends({},this.props.tileProps,{children:[m,u.jsxs("div",{children:[l,i]})]}))},n})(u.Component);m.defaultProps={shouldShowProfileCardOnHover:!0,shouldNameLinkToProfile:!0},l.default=m}),98);
__d("fbjs/lib/ExecutionEnvironment",["ExecutionEnvironment"],(function(t,n,r,o,a,i){"use strict";var e;a.exports=e||(e=n("ExecutionEnvironment"))}),null);
__d("getVendorPrefixedEventName",["fbjs/lib/ExecutionEnvironment"],(function(t,n,r,o,a,i){"use strict";function e(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n["ms"+e]="MS"+t,n["O"+e]="o"+t.toLowerCase(),n}var l={animationend:e("Animation","AnimationEnd"),animationiteration:e("Animation","AnimationIteration"),animationstart:e("Animation","AnimationStart"),transitionend:e("Transition","TransitionEnd")},s={},u={};n("fbjs/lib/ExecutionEnvironment").canUseDOM&&(u=document.createElement("div").style,"AnimationEvent"in window||(delete l.animationend.animation,delete l.animationiteration.animation,delete l.animationstart.animation),"TransitionEvent"in window||delete l.transitionend.transition);function c(e){if(s[e])return s[e];if(!l[e])return e;var t=l[e];for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)&&n in u)return s[e]=t[n];return""}a.exports=c}),null);
__d("ReactTransitionEvents",["fbjs/lib/ExecutionEnvironment","getVendorPrefixedEventName"],(function(t,n,r,o,a,i){"use strict";var e=[];function l(){var t=n("getVendorPrefixedEventName")("animationend"),r=n("getVendorPrefixedEventName")("transitionend");t&&e.push(t),r&&e.push(r)}n("fbjs/lib/ExecutionEnvironment").canUseDOM&&l();function s(e,t,n){e.addEventListener(t,n,!1)}function u(e,t,n){e.removeEventListener(t,n,!1)}var c={addEndEventListener:function(n,r){if(e.length===0){window.setTimeout(r,0);return}e.forEach(function(e){s(n,e,r)})},removeEndEventListener:function(n,r){e.length!==0&&e.forEach(function(e){u(n,e,r)})}};a.exports=c}),null);
__d("object-assign",[],(function(t,n,r,o,a,i){a.exports=Object.assign}),null);
__d("create-react-class/factory",["fbjs/lib/invariant","fbjs/lib/warning","object-assign"],(function(t,n,r,o,a,i){"use strict";var e="mixins";function l(e){return e}var s;s={};function u(t,r,o){var a=[],i={mixins:"DEFINE_MANY",statics:"DEFINE_MANY",propTypes:"DEFINE_MANY",contextTypes:"DEFINE_MANY",childContextTypes:"DEFINE_MANY",getDefaultProps:"DEFINE_MANY_MERGED",getInitialState:"DEFINE_MANY_MERGED",getChildContext:"DEFINE_MANY_MERGED",render:"DEFINE_ONCE",componentWillMount:"DEFINE_MANY",componentDidMount:"DEFINE_MANY",componentWillReceiveProps:"DEFINE_MANY",shouldComponentUpdate:"DEFINE_ONCE",componentWillUpdate:"DEFINE_MANY",componentDidUpdate:"DEFINE_MANY",componentWillUnmount:"DEFINE_MANY",UNSAFE_componentWillMount:"DEFINE_MANY",UNSAFE_componentWillReceiveProps:"DEFINE_MANY",UNSAFE_componentWillUpdate:"DEFINE_MANY",updateComponent:"OVERRIDE_BASE"},s={getDerivedStateFromProps:"DEFINE_MANY_MERGED"},u={displayName:function(t,n){t.displayName=n},mixins:function(t,n){if(n)for(var e=0;e<n.length;e++)m(t,n[e])},childContextTypes:function(t,r){t.childContextTypes=n("object-assign")({},t.childContextTypes,r)},contextTypes:function(t,r){t.contextTypes=n("object-assign")({},t.contextTypes,r)},getDefaultProps:function(t,n){t.getDefaultProps?t.getDefaultProps=f(t.getDefaultProps,n):t.getDefaultProps=n},propTypes:function(t,r){t.propTypes=n("object-assign")({},t.propTypes,r)},statics:function(t,n){p(t,n)},autobind:function(){}};function c(e,t,n){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)}function d(e,t){var r=Object.prototype.hasOwnProperty.call(i,t)?i[t]:null;Object.prototype.hasOwnProperty.call(v,t)&&n("fbjs/lib/invariant")(r==="OVERRIDE_BASE","ReactClassInterface: You are attempting to override `%s` from your class specification. Ensure that your method names do not overlap with React methods.",t),e&&n("fbjs/lib/invariant")(r==="DEFINE_MANY"||r==="DEFINE_MANY_MERGED","ReactClassInterface: You are attempting to define `%s` on your component more than once. This conflict may be due to a mixin.",t)}function m(t,o){if(o){n("fbjs/lib/invariant")(typeof o!="function","ReactClass: You're attempting to use a component class or function as a mixin. Instead, just use a regular object."),n("fbjs/lib/invariant")(!r(o),"ReactClass: You're attempting to use a component as a mixin. Instead, just use a regular object.");var a=t.prototype,l=a.__reactAutoBindPairs;Object.prototype.hasOwnProperty.call(o,e)&&u.mixins(t,o.mixins);for(var s in o)if(Object.prototype.hasOwnProperty.call(o,s)&&s!==e){var c=o[s],m=Object.prototype.hasOwnProperty.call(a,s);if(d(m,s),Object.prototype.hasOwnProperty.call(u,s))u[s](t,c);else{var p=Object.prototype.hasOwnProperty.call(i,s),_=typeof c=="function",h=_&&!p&&!m&&o.autobind!==!1;if(h)l.push(s,c),a[s]=c;else if(m){var y=i[s];n("fbjs/lib/invariant")(p&&(y==="DEFINE_MANY_MERGED"||y==="DEFINE_MANY"),"ReactClass: Unexpected spec policy %s for key %s when mixing in component specs.",y,s),y==="DEFINE_MANY_MERGED"?a[s]=f(a[s],c):y==="DEFINE_MANY"&&(a[s]=g(a[s],c))}else a[s]=c}}}}function p(e,t){if(t)for(var r in t){var o=t[r];if(Object.prototype.hasOwnProperty.call(t,r)){var a=r in u;n("fbjs/lib/invariant")(!a,'ReactClass: You are attempting to define a reserved property, `%s`, that shouldn\'t be on the "statics" key. Define it as an instance property instead; it will still be accessible on the constructor.',r);var i=r in e;if(i){var l=Object.prototype.hasOwnProperty.call(s,r)?s[r]:null;n("fbjs/lib/invariant")(l==="DEFINE_MANY_MERGED","ReactClass: You are attempting to define `%s` on your component more than once. This conflict may be due to a mixin.",r),e[r]=f(e[r],o);return}e[r]=o}}}function _(e,t){n("fbjs/lib/invariant")(e&&t&&typeof e=="object"&&typeof t=="object","mergeIntoWithNoDuplicateKeys(): Cannot merge non-objects.");for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(n("fbjs/lib/invariant")(e[r]===void 0,"mergeIntoWithNoDuplicateKeys(): Tried to merge two objects with the same key: `%s`. This conflict may be due to a mixin; in particular, this may be caused by two getInitialState() or getDefaultProps() methods returning objects with clashing keys.",r),e[r]=t[r]);return e}function f(e,t){return function(){var n=e.apply(this,arguments),r=t.apply(this,arguments);if(n==null)return r;if(r==null)return n;var o={};return _(o,n),_(o,r),o}}function g(e,t){return function(){e.apply(this,arguments),t.apply(this,arguments)}}function h(e,t){var n=t.bind(e);return n}function y(e){for(var t=e.__reactAutoBindPairs,n=0;n<t.length;n+=2){var r=t[n],o=t[n+1];e[r]=h(e,o)}}var C={componentDidMount:function(){this.__isMounted=!0}},b={componentWillUnmount:function(){this.__isMounted=!1}},v={replaceState:function(t,n){this.updater.enqueueReplaceState(this,t,n)},isMounted:function(){return!!this.__isMounted}},S=function(){};n("object-assign")(S.prototype,t.prototype,v);function R(e){var t=function(e,r,a){this.__reactAutoBindPairs.length&&y(this),this.props=e,this.context=r,this.refs={},this.updater=a||o,this.state=null;var i=this.getInitialState?this.getInitialState():null;n("fbjs/lib/invariant")(typeof i=="object"&&!Array.isArray(i),"%s.getInitialState(): must return an object or null",t.displayName||"ReactCompositeComponent"),this.state=i};t.prototype=new S,t.prototype.constructor=t,t.prototype.__reactAutoBindPairs=[],a.forEach(m.bind(null,t)),m(t,C),m(t,e),m(t,b),t.getDefaultProps&&(t.defaultProps=t.getDefaultProps()),n("fbjs/lib/invariant")(t.prototype.render,"createClass(...): Class specification must implement a `render` method.");for(var r in i)t.prototype[r]||(t.prototype[r]=null);return t}return R}a.exports=u}),null);
__d("create-react-class",["create-react-class/factory","react"],(function(t,n,r,o,a,i){"use strict";var e,l=e||(e=n("react"));if(typeof l=="undefined")throw Error("create-react-class could not find the React object. If you are using script tags, make sure that React is being loaded before create-react-class.");var s=new l.Component().updater;a.exports=n("create-react-class/factory")(l.Component,l.isValidElement,s)}),null);
__d("createReactClass_DEPRECATED",["create-react-class"],(function(t,n,r,o,a,i){"use strict";a.exports=n("create-react-class")}),null);
__d("fbjs/lib/CSSCore",["CSSCore"],(function(t,n,r,o,a,i){"use strict";a.exports=n("CSSCore")}),null);
__d("ReactCSSTransitionGroupChild",["ReactDOM","ReactTransitionEvents","createReactClass_DEPRECATED","fbjs/lib/CSSCore","prop-types","react"],(function(t,n,r,o,a,i){"use strict";var e,l=e||(e=n("react")),s=17,u=n("createReactClass_DEPRECATED")({displayName:"ReactCSSTransitionGroupChild",propTypes:{name:n("prop-types").oneOfType([n("prop-types").string,n("prop-types").shape({enter:n("prop-types").string,leave:n("prop-types").string,active:n("prop-types").string}),n("prop-types").shape({enter:n("prop-types").string,enterActive:n("prop-types").string,leave:n("prop-types").string,leaveActive:n("prop-types").string,appear:n("prop-types").string,appearActive:n("prop-types").string})]).isRequired,appear:n("prop-types").bool,enter:n("prop-types").bool,leave:n("prop-types").bool,appearTimeout:n("prop-types").number,enterTimeout:n("prop-types").number,leaveTimeout:n("prop-types").number},transition:function(t,r,o){var e=n("ReactDOM").findDOMNode(this);if(!e){r&&r();return}var a=this.props.name[t]||this.props.name+"-"+t,i=this.props.name[t+"Active"]||a+"-active",l=null,s=function(o){o&&o.target!==e||(clearTimeout(l),n("fbjs/lib/CSSCore").removeClass(e,a),n("fbjs/lib/CSSCore").removeClass(e,i),n("ReactTransitionEvents").removeEndEventListener(e,s),r&&r())};n("fbjs/lib/CSSCore").addClass(e,a),this.queueClassAndNode(i,e),o?(l=setTimeout(s,o),this.transitionTimeouts.push(l)):n("ReactTransitionEvents").addEndEventListener(e,s)},queueClassAndNode:function(t,n){this.classNameAndNodeQueue.push({className:t,node:n}),this.timeout||(this.timeout=setTimeout(this.flushClassNameAndNodeQueue,s))},flushClassNameAndNodeQueue:function(){this.isMounted()&&this.classNameAndNodeQueue.forEach(function(e){n("fbjs/lib/CSSCore").addClass(e.node,e.className)}),this.classNameAndNodeQueue.length=0,this.timeout=null},UNSAFE_componentWillMount:function(){this.classNameAndNodeQueue=[],this.transitionTimeouts=[]},componentWillUnmount:function(){this.timeout&&clearTimeout(this.timeout),this.transitionTimeouts.forEach(function(e){clearTimeout(e)}),this.classNameAndNodeQueue.length=0},componentWillAppear:function(t){this.props.appear?this.transition("appear",t,this.props.appearTimeout):t()},componentWillEnter:function(t){this.props.enter?this.transition("enter",t,this.props.enterTimeout):t()},componentWillLeave:function(t){this.props.leave?this.transition("leave",t,this.props.leaveTimeout):t()},render:function(){return l.Children.only(this.props.children)}});a.exports=u}),null);
__d("ReactTransitionChildMapping",["emptyFunction","react","vulture","warning"],(function(t,n,r,o,a,i){"use strict";var e,l=e||(e=n("react")),s=n("emptyFunction"),u={getChildMapping:function(t){if(!t)return t;var e={};return l.Children.toArray(t).forEach(function(t){var n=t.key,r=e[n]===void 0;r&&(e[n]=t)}),e},mergeChildMappings:function(t,n){t=t||{},n=n||{};function e(e){return Object.prototype.hasOwnProperty.call(n,e)?n[e]:t[e]}var r={},o=[];for(var a in t)Object.prototype.hasOwnProperty.call(n,a)?o.length&&(r[a]=o,o=[]):o.push(a);var i,l={};for(var s in n){if(Object.prototype.hasOwnProperty.call(r,s))for(i=0;i<r[s].length;i++){var u=r[s][i];l[r[s][i]]=e(u)}l[s]=e(s)}for(i=0;i<o.length;i++)l[o[i]]=e(o[i]);return l}};a.exports=u}),null);
__d("ReactTransitionGroup",["FBLogger","ReactTransitionChildMapping","fbjs/lib/emptyFunction","react","stringRefShim"],(function(t,n,r,o,a,i){"use strict";var e,l=e||(e=n("react")),s=(function(e){function t(){for(var t,r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];return t=e.call.apply(e,[this].concat(o))||this,t.currentlyTransitioningKeys={},t.keysToEnter=[],t.keysToLeave=[],t.state={children:n("ReactTransitionChildMapping").getChildMapping(t.props.children)},t.performEnter=function(e){t.currentlyTransitioningKeys[e]=!0;var r=t.refs[e];if(r==null){n("FBLogger")("react","ReactTransitionGroup.performEnter").addMetadata("REACT_FLIGHT","KEY",e).addMetadata("REACT_FLIGHT","ERROR_MESSAGE",JSON.stringify(t.currentlyTransitioningKeys)).mustfix("Component is undefined during performEnter transition");return}r.componentWillEnter?r.componentWillEnter(t.$2.bind(babelHelpers.assertThisInitialized(t),e)):t.$2(e)},t.performLeave=function(e){t.currentlyTransitioningKeys[e]=!0;var r=t.refs[e];if(r==null){n("FBLogger")("react","ReactTransitionGroup.performLeave").addMetadata("REACT_FLIGHT","KEY",e).addMetadata("REACT_FLIGHT","ERROR_MESSAGE",JSON.stringify(t.currentlyTransitioningKeys)).mustfix("Component is undefined during performLeave transition");return}r.componentWillLeave?r.componentWillLeave(t.$3.bind(babelHelpers.assertThisInitialized(t),e)):t.$3(e)},babelHelpers.assertThisInitialized(t)||babelHelpers.assertThisInitialized(t)}babelHelpers.inheritsLoose(t,e);var r=t.prototype;return r.UNSAFE_componentWillMount=function(){this.currentlyTransitioningKeys={},this.keysToEnter=[],this.keysToLeave=[]},r.componentDidMount=function(){var e=this.state.children;for(var t in e)e[t]&&this.performAppear(t)},r.UNSAFE_componentWillReceiveProps=function(t){var e=n("ReactTransitionChildMapping").getChildMapping(t.children),r=this.state.children;this.setState({children:n("ReactTransitionChildMapping").mergeChildMappings(r,e)});var o;for(o in e){var a=r&&Object.prototype.hasOwnProperty.call(r,o);e[o]&&!a&&!this.currentlyTransitioningKeys[o]&&this.keysToEnter.push(o)}for(o in r){var i=e&&Object.prototype.hasOwnProperty.call(e,o);r[o]&&!i&&!this.currentlyTransitioningKeys[o]&&this.keysToLeave.push(o)}},r.componentDidUpdate=function(){var e=this.keysToEnter;this.keysToEnter=[],e.forEach(this.performEnter);var t=this.keysToLeave;this.keysToLeave=[],t.forEach(this.performLeave)},r.performAppear=function(t){this.currentlyTransitioningKeys[t]=!0;var e=this.refs[t];if(e==null){n("FBLogger")("react","ReactTransitionGroup.performAppear").addMetadata("REACT_FLIGHT","KEY",t).addMetadata("REACT_FLIGHT","ERROR_MESSAGE",JSON.stringify(this.currentlyTransitioningKeys)).mustfix("Component is undefined during performAppear transition");return}e.componentWillAppear?e.componentWillAppear(this.$1.bind(this,t)):this.$1(t)},r.$1=function(t){var e=this.refs[t];e.componentDidAppear&&e.componentDidAppear(),delete this.currentlyTransitioningKeys[t];var r=n("ReactTransitionChildMapping").getChildMapping(this.props.children);(!r||!Object.prototype.hasOwnProperty.call(r,t))&&this.performLeave(t)},r.$2=function(t){var e=this.refs[t];e.componentDidEnter&&e.componentDidEnter(),delete this.currentlyTransitioningKeys[t];var r=n("ReactTransitionChildMapping").getChildMapping(this.props.children);(!r||!Object.prototype.hasOwnProperty.call(r,t))&&this.performLeave(t)},r.$3=function(t){var e=this.refs[t];e.componentDidLeave&&e.componentDidLeave(),delete this.currentlyTransitioningKeys[t];var r=n("ReactTransitionChildMapping").getChildMapping(this.props.children);r&&Object.prototype.hasOwnProperty.call(r,t)?this.performEnter(t):this.setState(function(e){var n=babelHelpers.extends({},e.children);return delete n[t],{children:n}})},r.render=function(){var e=[];for(var t in this.state.children){var r=this.state.children[t];r&&e.push(l.cloneElement(this.props.childFactory(r),{ref:n("stringRefShim")(this,t),key:t}))}var o=babelHelpers.extends({},this.props);delete o.transitionLeave,delete o.transitionName,delete o.transitionAppear,delete o.transitionEnter,delete o.childFactory,delete o.transitionLeaveTimeout,delete o.transitionEnterTimeout,delete o.transitionAppearTimeout,delete o.component;var a=this.props.component;return l.jsx(a,babelHelpers.extends({},o,{children:e}))},t})(l.Component);s.displayName="ReactTransitionGroup",s.defaultProps={children:null,component:"span",childFactory:n("fbjs/lib/emptyFunction").thatReturnsArgument},a.exports=s}),null);
__d("ReactCSSTransitionGroup",["ReactCSSTransitionGroupChild","ReactTransitionGroup","react"],(function(t,n,r,o,a,i){"use strict";var e,l=e||(e=n("react")),s=(function(e){function t(){for(var t,r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];return t=e.call.apply(e,[this].concat(o))||this,t.$1=function(e){return l.jsx(n("ReactCSSTransitionGroupChild"),{name:t.props.transitionName,appear:t.props.transitionAppear,enter:t.props.transitionEnter,leave:t.props.transitionLeave,appearTimeout:t.props.transitionAppearTimeout,enterTimeout:t.props.transitionEnterTimeout,leaveTimeout:t.props.transitionLeaveTimeout,children:e})},babelHelpers.assertThisInitialized(t)||babelHelpers.assertThisInitialized(t)}babelHelpers.inheritsLoose(t,e);var r=t.prototype;return r.render=function(){return l.jsx(n("ReactTransitionGroup"),babelHelpers.extends({},this.props,{childFactory:this.$1}))},t})(l.Component);s.displayName="ReactCSSTransitionGroup",s.defaultProps={transitionAppear:!1,transitionEnter:!0,transitionLeave:!0},a.exports=s}),null);
__d("SelectableMenuUtils",[],(function(t,n,r,o,a,i){var e={doesItemSupportSelect:function(t){return l(t)},isSelected:function(t){return l(t)&&t.isSelected()}};function l(e){return e.select&&e.deselect&&e.isSelected}a.exports=e}),null);
__d("SelectableMenu",["Menu","SelectableMenuUtils","createArrayFromMixed"],(function(t,n,r,o,a,i){var e=(function(e){"use strict";function t(){return e.apply(this,arguments)||this}babelHelpers.inheritsLoose(t,e);var r=t.prototype;return r.focusAnItem=function(){for(var t=0;t<this._items.length;t++)if(n("SelectableMenuUtils").isSelected(this._items[t])&&this._focusItem(this._items[t])!==!1)return!0;return e.prototype.focusAnItem.call(this)},r.setValue=function(t){this._root||this._render();var e=n("createArrayFromMixed")(t);this._items.forEach(function(t){n("SelectableMenuUtils").doesItemSupportSelect(t)&&(e.includes(t.getValue())?t.select():n("SelectableMenuUtils").isSelected(t)&&t.deselect())}),this.inform("change",this.getSelection())},r._handleItemClick=function(r,o){if(!n("SelectableMenuUtils").doesItemSupportSelect(r))return e.prototype._handleItemClick.call(this,r,o);var t=this.inform("itemclick",{item:r,event:o});if(!t){if(this._config.multiple){var a=n("SelectableMenuUtils").isSelected(r)?r.deselect():r.select();a!==!1&&this.inform("change",this.getSelection()),this._config.closeOnSelectWithMultiple&&this.done()}else n("SelectableMenuUtils").isSelected(r)||r.select()!==!1&&(this._items.forEach(function(e){n("SelectableMenuUtils").isSelected(e)&&e!==r&&e.deselect()}),this.inform("change",this.getSelection())),this.done();return r.handleClick(o)}},r.getSelection=function(){var e=[];return this._items.forEach(function(t){n("SelectableMenuUtils").isSelected(t)&&e.push({label:t.getLabel(),value:t.getValue(),item:t})}),this._config.multiple||(e=e[0]),e},t})(n("Menu"));a.exports=e}),null);
__d("ReactMenu",["cx","Menu","MenuItem","MenuItemNoAction","MenuSelectableItem","MenuTheme","SelectableMenu","joinClasses","react"],(function(t,n,r,o,a,i,l,s){var e,u=e||(e=o("react"));function c(e){var t=[];return u.Children.forEach(e,function(e){e&&t.push(e)}),t}function d(e){e!=null&&(e.isReactLegacyFactory={},e.type=e)}var m=(function(e){function t(t,n){var r=babelHelpers.extends({theme:o("MenuTheme"),maxheight:t?t.maxheight:null,className:t?t.className:null,testid:t?t["data-testid"]:null},n);return e.call(this,c(t.children),r)||this}return babelHelpers.inheritsLoose(t,e),t})(r("Menu"));d(m);var p=(function(e){function t(t,n){var a=babelHelpers.extends({className:r("joinClasses")("_57di",t?t.className:null),theme:o("MenuTheme"),multiple:t&&t.multiple,closeOnSelectWithMultiple:t&&t.closeOnSelectWithMultiple,maxheight:t?t.maxheight:null,testid:t?t["data-testid"]:null},n);return e.call(this,c(t.children),a)||this}return babelHelpers.inheritsLoose(t,e),t})(r("SelectableMenu"));d(p),m.SelectableMenu=p,d(r("MenuItem")),m.Item=r("MenuItem"),m.ItemNoAction=r("MenuItemNoAction"),d(r("MenuSelectableItem")),m.SelectableItem=r("MenuSelectableItem"),l.default=m}),98);
__d("ReactPropTransfererCore",["emptyFunction","joinClasses"],(function(t,n,r,o,a,i){"use strict";function e(e){return function(t,n,r){Object.prototype.hasOwnProperty.call(t,n)?t[n]=e(t[n],r):t[n]=r}}var l=e(function(e,t){return babelHelpers.extends({},t,e)}),s={children:n("emptyFunction"),className:e(n("joinClasses")),style:l};function u(e,t){for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){var r=s[n];r&&Object.prototype.hasOwnProperty.call(s,n)?r(e,n,t[n]):Object.prototype.hasOwnProperty.call(e,n)||(e[n]=t[n])}return e}var c={mergeProps:function(t,n){return u(babelHelpers.extends({},t),n)}};a.exports=c}),null);
__d("ReactPropTransfererWWW",["ReactPropTransfererCore"],(function(t,n,r,o,a,i){a.exports=n("ReactPropTransfererCore")}),null);
__d("XUIMenuTheme",["cx"],(function(t,n,r,o,a,i,l){a.exports={className:"_558b"}}),null);
__d("XUIMenuWithSquareCorner",["cx","CSS"],(function(t,n,r,o,a,i,l,s){var e=(function(){function e(e){this.$1=e}var t=e.prototype;return t.enable=function(){o("CSS").addClass(this.$1.getRoot(),"_2n_z")},t.disable=function(){o("CSS").removeClass(this.$1.getRoot(),"_2n_z")},e})();l.default=e}),98);
__d("ReactXUIMenu",["ReactMenu","XUIMenuTheme","XUIMenuWithSquareCorner"],(function(t,n,r,o,a,i,l){"use strict";var e;function s(e){e.isReactLegacyFactory={},e.type=e}var u=(function(e){function t(t){var n={behaviors:void 0,theme:o("XUIMenuTheme")};return(!t||t.withsquarecorner!==!1)&&(n.behaviors=[r("XUIMenuWithSquareCorner")]),e.call(this,t,n)||this}return babelHelpers.inheritsLoose(t,e),t})(e=r("ReactMenu"));s(u);var c=(function(e){function t(t){var n={behaviors:void 0,theme:o("XUIMenuTheme")};return(!t||t.withsquarecorner!==!1)&&(n.behaviors=[r("XUIMenuWithSquareCorner")]),e.call(this,t,n)||this}return babelHelpers.inheritsLoose(t,e),t})(e.SelectableMenu);s(c),u.SelectableMenu=c,u.Item=e.Item,u.SelectableItem=e.SelectableItem,l.default=u}),98);
__d("SphericalVideoFallback",["cx","CSS"],(function(t,n,r,o,a,i,l,s){function e(e,t){var n=t.fallbackType,r=t.fallbackUriList,a=function(){e.emit("VideoPlayerFallbackEvents/enter");var t=e.getLastError();if(!(t&&t.error!=="SPHERICAL_SETUP_FAILED"&&t.error!=="SPHERICAL_RENDER_ERROR")){var a=e.addListener("stateChange",function(){e.isState("playing")&&(e.logEvent("spherical_fallback_entered",{spherical_fallback_type:n}),a.remove())});e.setFallbackSources(r),o("CSS").removeClass(e.getRootNode(),"_3-n5"),e.reset(),e.emit("VideoPlayerFallbackEvents/recover")}};if(e.isState("fallback"))a();else var i=e.addListener("stateChange",function(){e.isState("fallback")&&(a(),i.remove())})}l.setup=e}),98);
__d("Tahoe",[],(function(t,n,r,o,a,i){var e=null,l={get:function(){return e},set:function(n){e=n}},s=l;i.default=s}),66);
__d("createTooltipPortal",["ReactDOM","react"],(function(t,n,r,o,a,i,l){"use strict";var e,s=e||(e=o("react"));function u(e,t){return o("ReactDOM").createPortal(e,t)}u.displayName=u.name+" [from "+i.id+"]",l.default=u}),98);
__d("Tooltip.react",["Arbiter","OnUseEffectMount.react","OnUseEffectUnmount.react","ReactDOM","SubscriptionsHandler","TooltipData","createTooltipPortal","ifRequired","react"],(function(t,n,r,o,a,i,l){var e=["alignH","children","delayMountUntilHover","display","onVisibilityChange","position","tooltip"],s,u=s||(s=o("react")),c=(function(t){function n(){for(var e,n=arguments.length,a=new Array(n),i=0;i<n;i++)a[i]=arguments[i];return e=t.call.apply(t,[this].concat(a))||this,e.$1=null,e.$2=new(r("SubscriptionsHandler")),e.state={visible:!1,wasEverVisible:!1},e.tooltipEl=u.createRef(),e.onComponentDidMount=function(){e.$2.addSubscriptions(r("Arbiter").subscribe("tooltip/requesthide",function(t,n){var a=n.context;e.state.visible&&(!a||a===e.tooltipEl.current)&&r("ifRequired")("Tooltip",function(t){t.suspend(),o("ReactDOM").flushSync(function(){e.setState({visible:!1})})})}),r("Arbiter").subscribe("tooltip/requestshow",function(t,n){var a=n.context;!e.state.visible&&a===e.tooltipEl.current&&r("ifRequired")("Tooltip",function(t){t.suspend(),o("ReactDOM").flushSync(function(){e.setState({visible:!0,wasEverVisible:!0})})})})),e.$3()},e.onComponentWillUnmount=function(){e.$2.release();var t=e.tooltipEl.current;t!=null&&o("TooltipData").remove(t)},babelHelpers.assertThisInitialized(e)||babelHelpers.assertThisInitialized(e)}babelHelpers.inheritsLoose(n,t),n.getDerivedStateFromProps=function(t,n){return t.tooltip?n:{visible:!1,wasEverVisible:n.wasEverVisible}};var a=n.prototype;return a.componentDidUpdate=function(t,n){var e=this;t.tooltip&&!this.props.tooltip?this.props.onVisibilityChange&&this.props.onVisibilityChange(!1):n.visible!==this.state.visible&&(this.props.onVisibilityChange&&this.props.onVisibilityChange(this.state.visible),r("ifRequired")("Tooltip",function(t){e.state.visible?t.commitShow(e.tooltipEl.current):t.commitHide(e.tooltipEl.current)})),this.$3()},a.render=function(){return u.jsxs(u.Fragment,{children:[u.jsx(r("OnUseEffectMount.react"),{callback:this.onComponentDidMount}),u.jsx(r("OnUseEffectUnmount.react"),{callback:this.onComponentWillUnmount}),this.renderImpl()]})},a.renderImpl=function(){var t=this.props,n=t.alignH,o=t.children,a=t.delayMountUntilHover,i=t.display,l=t.onVisibilityChange,s=t.position,c=t.tooltip,d=babelHelpers.objectWithoutPropertiesLoose(t,e),m=this.$4(),p=this.props.display==="block"?"div":"span",_=babelHelpers.extends({},d,{ref:this.tooltipEl,"data-hover":"tooltip","data-tooltip-content":typeof c=="string"?c:void 0});return u.jsxs(p,babelHelpers.extends({},_,{children:[m&&c!==null?r("createTooltipPortal")(c,this.$5()):null,this.props.children]}))},a.$4=function(){var e=this.props.delayMountUntilHover,t=this.state.wasEverVisible;return!e||t},a.$5=function(){return this.$1==null&&(this.$1=document.createElement("div")),this.$1},a.$3=function(){if(this.$4()){var e=this.tooltipEl.current;if(!this.props.tooltip)o("TooltipData").remove(e);else if(typeof this.props.tooltip!="string"){var t=this.props,n=t.alignH,r=t.position;o("TooltipData").set(e,this.$5(),r,n)}else o("TooltipData").remove(e,{onlyCleanupDataStore:!0}),o("TooltipData").refreshIfActive(this.tooltipEl.current)}},n})(u.Component);c.defaultProps={delayMountUntilHover:!0,display:"inline"},l.default=c}),98);
__d("TrackingNodeConstants",[],(function(t,n,r,o,a,i){"use strict";var e=58,l=126,s=69,u=42,c=47,d=6,m=100,p=33,_=38,f=(d+1)*s,g="__tn__";i.BASE_CODE_START=e,i.BASE_CODE_END=l,i.BASE_CODE_SIZE=s,i.PREFIX_CODE_START=u,i.PREFIX_CODE_END=c,i.PREFIX_CODE_SIZE=d,i.ENCODE_NUMBER_MAX=m,i.ENCODED_STRING_WITH_TWO_SYMBOLS_PREFIX_CODE=p,i.ENCODED_STRING_WITH_THREE_SYMBOLS_PREFIX_CODE=_,i.TOTAL_IDS_SUPPORTED_BY_LEGACY_ENCODING=f,i.TN_URL_PARAM=g}),66);
__d("UserActivity",["cr:1634616"],(function(t,n,r,o,a,i){a.exports=n("cr:1634616")}),null);
__d("UserActivityBlue",["Arbiter","Event","isTruthy"],(function(t,n,r,o,a,i){var e=5e3,l=500,s=-5,u=Date.now(),c=u,d=!1,m=Date.now(),p=document.hasFocus?document.hasFocus():!0,_=0,f=Date.now(),g=-1,h=-1,y=!1,C=!1,b={EVENT_INTERVAL_MS:l,subscribeOnce:function(t){var e=b.subscribe(function(n,r){b.unsubscribe(e),t(r)});return e},subscribe:function(t){return n("Arbiter").subscribe("useractivity/activity",t)},unsubscribe:function(t){t.unsubscribe()},isActive:function(r){return new Date().getTime()-u<(n("isTruthy")(r)?r:e)},isOnTab:function(){return p},hasBeenInactive:function(){return d},resetActiveStatus:function(){p=!0,d=!1},getLastInActiveEnds:function(){return m},getLastActive:function(){return u},setIdleTime:function(t){_=t},getLastLeaveTime:function(){return f},getLastInformTime:function(){return c},hasClicked:function(){return y},hasInteractedWithKeyboard:function(){return C},reset:function(){u=Date.now(),c=u,d=!1,m=Date.now(),p=document.hasFocus?document.hasFocus():!0,_=0,f=Date.now(),g=-1,h=-1,y=!1,C=!1}};function v(e){R(e,l)}function S(e){R(e,0)}function R(r,o){o===void 0&&(o=0);var a=t.KeyboardEvent,i=t.MouseEvent;if(i&&r instanceof i){if(/^mouse(enter|leave|move|out|over)$/.test(r.type)&&r.pageX==g&&r.pageY==h)return;g=r.pageX,h=r.pageY}else a&&r instanceof a&&(C=!0);(r.type==="click"||r.type==="dblclick"||r.type==="contextmenu")&&(y=!0),u=Date.now();var l=u-c;l>o?(c=u,p||(f=u),l>=(_||e)&&(d=!0,m=u),n("Arbiter").inform("useractivity/activity",{event:r,idleness:l,last_inform:c})):l<s&&(c=u)}function L(e){p=!0,m=Date.now(),S(e)}function E(e){p=!1,d=!0,f=Date.now()}n("Event").listen(window,"scroll",v),n("Event").listen(window,"focus",L),n("Event").listen(window,"blur",E),n("Event").listen(document.documentElement,{keydown:v,mouseover:v,mousemove:v,click:v},void 0,void 0,{passive:!0}),n("Arbiter").subscribe("Event/stop",function(e,t){v(t.event)}),a.exports=b}),null);
__d("VideoActionLink.react",["cx","CenteredContainer.react","Image.react","Link.react","joinClasses","react"],(function(t,n,r,o,a,i,l,s){"use strict";var e,u=e||(e=o("react"));function c(e){var t=e.href,n=e.imageClass,o=e.imageSrc,a=e.onClick,i=e.rel,l=e.text,s="_2a_c";return n!=null&&(s=r("joinClasses")(s,n)),u.jsxs(r("Link.react"),{className:"_2pi9",href:t,onClick:a,rel:i,role:"button",children:[u.jsxs("div",{className:"_2a_3",children:[u.jsx("div",{className:"_2a_5"}),u.jsx("div",{className:s,children:u.jsx(r("Image.react"),{src:o,size:"24"})})]}),u.jsx("div",{className:"_63kv",children:u.jsx(r("CenteredContainer.react"),{horizontal:!1,fullHeight:!0,vertical:!0,children:l})})]})}c.displayName=c.name+" [from "+i.id+"]",l.default=c}),98);
__d("VideoAutoplayControllerAbortLoadingHelper",["invariant","ShakaConstants","VideoPlayerExperiments","getViewportDimensions"],(function(t,n,r,o,a,i,l,s){var e=(function(){function e(){this.$1=new Set,this.$2=new Map}var t=e.prototype;return t.maybeAbortLoading=function(){for(var t of this.$1){var n=r("ShakaConstants").strings.defer_which_video_to_abort_loading_decisioning_logic,o=t.getVideoPlayerController(),a=o?o.isLiveVideo():null;if(!(a!==null&&(n==="vod"&&a||n==="live"&&!a))){if(!t.isState("playing")&&typeof t.abortLoading=="function"&&e.shouldAbortLoadingVideoUnit(t))r("VideoPlayerExperiments").abortLoadingHelperNegativeYAbortLoading?this.$3(t):this.$4(t);else if(r("VideoPlayerExperiments").abortLoadingHelperNegativeYAbortLoading&&t.isState("playing")){var i=this.$2.get(t);i||s(0,3497),i&&i.abortedLoading&&(i.abortedLoading=!1)}}}},t.$3=function(t){if(r("VideoPlayerExperiments").abortLoadingHelperBoundedReloading){var e=r("getViewportDimensions")().height/-2;t.getDistanceToViewport()<r("VideoPlayerExperiments").abortedLoadingPixelBoundary+e&&!t.isVisible()?this.$5(t):t.getDistanceToViewport()>r("VideoPlayerExperiments").reloadingPixelBoundary+e&&this.$6(t)}else t.getDistanceToViewport()<0&&!t.isVisible()&&this.$5(t)},t.addVideoUnit=function(t){this.$1.has(t)||(this.$1.add(t),this.$2.set(t,{y:t.getDistanceToViewport(),timestamp:new Date().valueOf(),v:0,abortedLoading:!1}))},t.removeVideoUnit=function(t){this.$1.delete(t),this.$2.delete(t)},t.calculateFutureScrollPosition=function(t){var e=t.y1-t.y0,n=t.t1-t.t0,r=e/n,o=r-t.v0,a=o/n,i=t.t,l=a*i*i/2+i*r+t.y1;return{v1:r,a:a,S:l}},t.preloadClosestVideoUnits=function(t){var e=this;this.$7(t).forEach(function(t){return e.$6(t)})},t.$7=function(t){return Array.from(this.$1).filter(function(e){return e.getDistanceToViewport()>=0}).sort(function(e,t){return e.getDistanceToViewport()-t.getDistanceToViewport()}).slice(0,t)},t.$6=function(t){var e=this.$2.get(t);e||s(0,3497);var n;e&&(n=e.abortedLoading,e.abortedLoading=!1),n&&t.preload()},t.$5=function(t){var e=this.$2.get(t);e||s(0,3497);var n;e&&(n=e.abortedLoading,e.abortedLoading=!0),!n&&typeof t.abortLoading=="function"&&t.abortLoading()},t.$4=function(t){var e=r("getViewportDimensions")().height,n=1600,o=e/2,a=o+n,i=-o,l=i-n,u=this.$2.get(t);if(u||s(0,3497),!!u){var c=t.getDistanceToViewport(),d=u.y;u.y=c;var m=new Date().valueOf(),p=u.timestamp;u.timestamp=m;var _=u.v;if(l<=c&&a>=c){u.abortedLoading&&this.$6(t);return}var f=500,g=this.calculateFutureScrollPosition({y0:d,y1:c,t0:p,t1:m,v0:_,t:f});u.v=g.v1;var h=g.S;u.abortedLoading?(c<l&&h>l||c>a&&h<a)&&this.$6(t):this.$5(t)}},e.shouldAbortLoadingVideoUnit=function(t){var e=!1,n=!0;return t?(typeof t.getIsInChannel=="function"&&(n=t.getIsInChannel()),typeof t.getSource=="function"&&(e=t.getSource()==="tahoe"),!n&&!e):!1},e})();l.default=e}),98);
__d("VideoScrollTracker",["Scroll"],(function(t,n,r,o,a,i,l){"use strict";var e=(function(){function e(e){this.$2=-1,this.$3=!1,this.$4=e}var t=e.prototype;return t.$5=function(){return this.$4?o("Scroll").getTop(this.$4):null},t.onScroll=function(){if(this.$3){var e=this.$5();e!=null&&(this.$1=e<this.$2?"up":"down",this.$6(e))}},t.$6=function(t){this.$2=t},t.start=function(){this.$3=!0;var e=this.$5();e!=null&&this.$6(e)},t.stop=function(){this.$3=!1},t.getLastScrollDirection=function(){return this.$1},t.destroy=function(){this.stop(),this.$4=null},e})();l.default=e}),98);
__d("destroyOnUnload",["cr:8905"],(function(t,n,r,o,a,i,l){l.default=n("cr:8905")}),98);
__d("VideoAutoplayControllerBase",["Arbiter","DesktopHscrollUnitEventConstants","Event","ShakaConstants","SubscriptionsHandler","VideoAutoplayControllerAbortLoadingHelper","VideoPlayerExperiments","VideoPlayerShakaGlobalConfig","VideoScrollTracker","Visibility","clearTimeout","debounce","destroyOnUnload","emptyFunction","setTimeout","throttle"],(function(t,n,r,o,a,i,l){"use strict";function e(e,t){var n=[];return function(){var r=Date.now();n.unshift(r);for(var o=0;n[++o]+t>r;);return n=n.slice(0,o),n.length<=e}}function s(e,t,n){var o=null;return function(){for(var a=arguments.length,i=new Array(a),l=0;l<a;l++)i[l]=arguments[l];if(t())return e.apply(void 0,i),r("emptyFunction").thatReturnsFalse;if(!o){var s=r("setTimeout")(function(){o=null,e.apply(void 0,i)},n);o=function(){return o?(r("clearTimeout")(s),o=null,!0):!1}}return o}}var u=(function(){function t(t){var n=this;this.$8=r("emptyFunction"),this.$9=r("emptyFunction"),this.$3=null,this.$2=null,this.$10=[],this.$1=t,this.$4=null,this.$5=new(r("SubscriptionsHandler")),this.$11=new(r("VideoScrollTracker"))(document.body),this.$11.start(),r("destroyOnUnload")(function(){n.$10=[],n.$3=null,n.$4&&(n.$4.remove(),n.$4=null),n.$5.release(),n.$11&&n.$11.destroy()}),r("VideoPlayerExperiments").autoplayMaxCallsPerWindow&&(this.$6=s(function(e){var t=n.$3;t&&t.playWithoutUnmute(e)},e(r("VideoPlayerExperiments").autoplayMaxCallsPerWindow,r("VideoPlayerExperiments").autoplayThrottleWindow),r("VideoPlayerExperiments").autoplayThrottleDelay)),this.$7=r("emptyFunction").thatReturnsFalse}var n=t.prototype;return n.getVideoUnits=function(){return this.$10},n.addVideoUnit=function(t){var e=this,n=t.getVideoPlayerController();n&&n.registerOption("VideoAutoplayControllerBase/VideoScrollTracker","getLastScrollDirection",function(){return e.getLastScrollDirection()}),this.$10.push(t)},n.removeVideoUnit=function(t){var e=this.$10.findIndex(function(e){return e===t});if(e>-1){this.$10.splice(e,1);var n=t.getVideoPlayerController();n&&n.unregisterOption("VideoAutoplayControllerBase/VideoScrollTracker","getLastScrollDirection")}},n.getPlayingVideoUnit=function(){return this.$3},n.setPlayingVideoUnit=function(t){this.$3=t,this.$3&&this.setupPlayingVideoUnitSubscriptions()},n.getLastScrollDirection=function(){return this.$11?this.$11.getLastScrollDirection():null},n.playVideo=function(t,n){if(r("VideoPlayerExperiments").disableAutoplayForInactiveTab&&r("Visibility").isHidden()){if(r("VideoPlayerExperiments").removeHiddenVideoTracking){this.setPlayingVideoUnit(null);return}this.$2=t;return}if(this.setPlayingVideoUnit(t),this.$3){var e=this.$6;e?this.$7=e.call(this,n):this.$3.playWithoutUnmute(n)}},n.setupPlayingVideoUnitSubscriptions=function(){throw new Error("Should be overridden")},n.addSubscriberVideoUnit=function(){if(!this.getVideoUnits().length){var e;this.$5.addSubscriptions(r("Event").listen(window,"resize",this.updateAutoplay.bind(this)),r("Event").listen(window,"blur",this.$12.bind(this)),r("Event").listen(window,"focus",this.$13.bind(this)),(e=r("Visibility")).addListener(e.HIDDEN,this.$12.bind(this)),e.addListener(e.VISIBLE,this.$13.bind(this)),r("Arbiter").subscribe(o("DesktopHscrollUnitEventConstants").HSCROLL_ITEM_SHOWN_EVENT,this.updateAutoplay.bind(this))),this.$14()||this.$15()}},n.$12=function(){r("VideoPlayerExperiments").removeHiddenVideoTracking?this.$16("page_visibility_initiated"):this.$2||(this.$2=this.getPlayingVideoUnit(),this.$16("page_visibility_initiated"))},n.$13=function(){r("VideoPlayerExperiments").removeHiddenVideoTracking?this.updateAutoplay():this.$2&&(this.playVideo(this.$2,"page_visibility_initiated"),this.$2=null)},n.$15=function(){var e=this,t=function(){e.$11&&e.$11.onScroll(),e.updateAutoplay()};this.$4&&this.$4.remove(),this.$8=r("throttle")(t,this.$1),this.$9=r("debounce")(function(){return e.updateAutoplay()},this.$1);var n=function(){return t()};this.$4=r("Event").listen(window,"scroll",n)},n.$14=function(){return!!this.$4},n.getClosestVideoUnits=function(t){return this.$10.filter(function(e){return e.getDistanceToViewport()>=0}).sort(function(e,t){return e.getDistanceToViewport()-t.getDistanceToViewport()}).slice(0,t)},n.getVisibleUnits=function(){var e=[];return this.$10.forEach(function(t){var n=t.getVideoPlayerController();t.isVisible()?(e.push(t),t.wasVisible||(t.wasVisible=!0,t.logDisplayed(),n&&n.emit("becomeVisible"))):t.wasVisible&&(n&&n.emit("becomeInvisible"),t.wasVisible=!1)}),e},n.$17=function(t){var e=o("VideoPlayerShakaGlobalConfig").getBool("oz_www_allow_abort_loading_from_autoplay_controller",!1),n=r("ShakaConstants").strings.defer_which_video_to_abort_loading_decisioning_logic,a=t.getVideoPlayerController();if(!e&&a&&a.isPlayerVersion("oz"))return!1;var i=a?a.isLiveVideo():null;return i!==null&&(n==="vod"&&i||n==="live"&&!i)?!1:r("VideoAutoplayControllerAbortLoadingHelper").shouldAbortLoadingVideoUnit(t)},n.pausePlayingVideo=function(t,n){var e=this.$3;if(e){var o=function(){if(!e.isState("playing")){if(r("VideoPlayerExperiments").abortLoadingReUpStillVisibleVideos&&e.isVisible()){r("setTimeout")(o,r("ShakaConstants").numbers.abort_loading_delay);return}typeof e.abortLoading=="function"&&e.abortLoading()}};if(e.isVisible()){var a=e.getVideoPlayerController();if(a&&a.isPlayRequestPending())return}this.$7()||e.pause(t),r("VideoPlayerExperiments").decoupleAbortLoadingFromPause||this.$17(e)&&!n&&r("setTimeout")(o,r("ShakaConstants").numbers.abort_loading_delay),this.$3=null}},n.$16=function(t){this.pausePlayingVideo(t,!0)},n.updateAutoplay=function(){throw new Error("Should be overridden")},t})();l.default=u}),98);
__d("XVideoAutoplayNuxAsyncController",["XController"],(function(t,n,r,o,a,i){a.exports=n("XController").create("/video/autoplay/nux/",{})}),null);
__d("VideoAutoplayControllerX",["csx","AsyncRequest","DOM","DocumentFocusForMutedVideoAutoplayRule","Event","Network","Run","ShakaConstants","SubscriptionsHandler","ThisControllerNoLongerExists","VideoAutoplayControllerAbortLoadingHelper","VideoAutoplayControllerBase","VideoPlayerExperiments","XVideoAutoplayNuxAsyncController","clearTimeout","destroyOnUnload","getViewportDimensions","performanceNow","setTimeout"],(function(t,n,r,o,a,i,l,s){"use strict";var e,u=null,c=!1;function d(e){return e?!0:!r("VideoPlayerExperiments").delayAutoplayUntilAfterLoad||c}var m=(function(t){function n(){var e;e=t.call(this,r("VideoPlayerExperiments").videoPollingFrequency)||this,e.$VideoAutoplayControllerX$p_4=!1,e.$VideoAutoplayControllerX$p_5=!1,e.$VideoAutoplayControllerX$p_6=0,e.$VideoAutoplayControllerX$p_17=new(r("VideoAutoplayControllerAbortLoadingHelper")),e.$VideoAutoplayControllerX$p_10=new(r("SubscriptionsHandler")),e.$VideoAutoplayControllerX$p_18=new(r("SubscriptionsHandler")),e.$VideoAutoplayControllerX$p_12=!0,e.$VideoAutoplayControllerX$p_9=!0,e.$VideoAutoplayControllerX$p_13=!0,e.$VideoAutoplayControllerX$p_2=null,e.$VideoAutoplayControllerX$p_1=null,e.$VideoAutoplayControllerX$p_14=!1,e.$VideoAutoplayControllerX$p_3=null,e.$VideoAutoplayControllerX$p_7=!1,e.$VideoAutoplayControllerX$p_16=!1,e.$VideoAutoplayControllerX$p_15=!1;var n=r("XVideoAutoplayNuxAsyncController").getURIBuilder().getURI();return new(r("AsyncRequest"))(n).setMethod("GET").setReadOnly(!0).send(),r("destroyOnUnload")(function(){e.$VideoAutoplayControllerX$p_19(),r("VideoPlayerExperiments").disableAutoplayOnHomePgUpPgDownEnd&&(e.$VideoAutoplayControllerX$p_11&&r("clearTimeout")(e.$VideoAutoplayControllerX$p_11),e.$VideoAutoplayControllerX$p_8.remove()),e===u&&(u=null)}),o("Run").onAfterLoad(function(){c=!0,r("VideoPlayerExperiments").delayAutoplayUntilAfterLoad&&u&&u.updateAutoplay(),document.hasFocus()||r("Event").fire(window,"blur"),r("VideoPlayerExperiments").disableAutoplayOnHomePgUpPgDownEnd&&e.$VideoAutoplayControllerX$p_20()}),e.$VideoAutoplayControllerX$p_21(Date.now()),e}babelHelpers.inheritsLoose(n,t),n.$VideoAutoplayControllerX$p_22=function(t){return r("VideoPlayerExperiments").fixVPCCallBeforeLoaded?!(t.isState("fallback")||t.isState("loading")):!0};var a=n.prototype;return a.$VideoAutoplayControllerX$p_20=function(){var e=this,t=33,n=34,o=35,a=36;this.$VideoAutoplayControllerX$p_11=null;var i=function(){e.$VideoAutoplayControllerX$p_23(e.$VideoAutoplayControllerX$p_9),r("clearTimeout")(e.$VideoAutoplayControllerX$p_11),e.$VideoAutoplayControllerX$p_11=null};this.$VideoAutoplayControllerX$p_8=r("Event").listen(document.body,"keydown",function(l){var s=-1;switch(l.keyCode){case t:case n:s=r("VideoPlayerExperiments").pressPgUpPgDownAutoplayShutoffInterval;break;case o:case a:s=r("VideoPlayerExperiments").pressHomeEndAutoplayShutoffInterval;break;default:break}s>-1&&(e.$VideoAutoplayControllerX$p_11?(r("clearTimeout")(e.$VideoAutoplayControllerX$p_11),e.$VideoAutoplayControllerX$p_11=r("setTimeout")(i,s)):e.$VideoAutoplayControllerX$p_12&&(e.$VideoAutoplayControllerX$p_23(!1),e.$VideoAutoplayControllerX$p_11=r("setTimeout")(i,s)))})},a.$VideoAutoplayControllerX$p_23=function(t){this.$VideoAutoplayControllerX$p_12=t,this.updateAutoplay()},n.registerVideoUnit=function(t){u==null&&(u=new n),u.addSubscriberVideoUnit(),u.registerDefaultAutoplayRules(t),u.addVideoUnit(t);var e=new(r("SubscriptionsHandler"));return e.addSubscriptions.apply(e,u.$VideoAutoplayControllerX$p_24(t)),u.$VideoAutoplayControllerX$p_25(),t.isVisible()&&d(t.shouldImmediatelyAutoplayOnRegister())&&u.updateAutoplay(),u.shouldRestoreAllSubsequentStreamBufferSizes()&&u.restoreStreamBufferSize(),function(){u&&u.removeVideoUnit(t),e.release(),u&&t===u.getPlayingVideoUnit()&&(u.$VideoAutoplayControllerX$p_18.release(),u.setPlayingVideoUnit(null))}},n.setShouldAutoplay=function(t){u==null&&(u=new n),u.$VideoAutoplayControllerX$p_12=t,u.$VideoAutoplayControllerX$p_13=t,u.$VideoAutoplayControllerX$p_9=t,u.updateAutoplay()},a.$VideoAutoplayControllerX$p_19=function(){this.$VideoAutoplayControllerX$p_10.release(),this.$VideoAutoplayControllerX$p_18.release()},n.setAutoplayNux=function(t,n){var e=u;if(e){e.$VideoAutoplayControllerX$p_2=t,e.$VideoAutoplayControllerX$p_1=n,e.$VideoAutoplayControllerX$p_14=!0;var o=r("DOM").find(n.getContentRoot(),"._5cqr");r("Event").listen(o,"click",function(){e.$VideoAutoplayControllerX$p_26()});var a=r("DOM").scry(n.getContentRoot(),"._36gl")[0];a&&r("Event").listen(a,"click",function(){e.$VideoAutoplayControllerX$p_26()})}},a.$VideoAutoplayControllerX$p_26=function(){this.$VideoAutoplayControllerX$p_1&&this.$VideoAutoplayControllerX$p_1.hide(),this.$VideoAutoplayControllerX$p_14=!1;var e=o("ThisControllerNoLongerExists").__DEADBUILDER__("flhg1h0jl").getURI();new(r("AsyncRequest"))(e).setAllowCrossPageTransition().send()},a.registerDefaultAutoplayRules=function(t){r("VideoPlayerExperiments").useBringYourOwnAutoplayRule&&r("VideoPlayerExperiments").pauseMutedIfNoDocumentFocus&&t.registerAutoplayRule(new(r("DocumentFocusForMutedVideoAutoplayRule"))(t))},a.setupPlayingVideoUnitSubscriptions=function(){var e=this,t=this.getPlayingVideoUnit();t&&t.addListener&&(this.$VideoAutoplayControllerX$p_10.release(),this.$VideoAutoplayControllerX$p_10.engage(),t.isLooping()||this.$VideoAutoplayControllerX$p_10.addSubscriptions(t.addListener("finishPlayback",function(){e.setPlayingVideoUnit(null)})),this.$VideoAutoplayControllerX$p_10.addSubscriptions(t.addListener("turnOffAutoplay",function(){e.setPlayingVideoUnit(null)}),t.addListener("pausePlayback",function(){e.$VideoAutoplayControllerX$p_25()}),t.addListener("finishPlayback",function(){e.$VideoAutoplayControllerX$p_25()}),r("Network").addListener("online",function(){e.$VideoAutoplayControllerX$p_25()}),r("Network").addListener("offline",function(){e.$VideoAutoplayControllerX$p_25()})))},a.$VideoAutoplayControllerX$p_25=function(){var e=this;if(r("VideoPlayerExperiments").webVideosBlockAutoplayWhenOffline)if(r("Network").isOnline())this.$VideoAutoplayControllerX$p_12=this.$VideoAutoplayControllerX$p_13;else{this.$VideoAutoplayControllerX$p_13=this.$VideoAutoplayControllerX$p_12,this.$VideoAutoplayControllerX$p_12=!1;return}for(var t=this.getVideoUnits(),o=0;o<t.length;o++){var a=t[o].getVideoPlayerController();a&&(a.getDataInsertionPosition()==="0"&&(this.$VideoAutoplayControllerX$p_7=!0,this.$VideoAutoplayControllerX$p_16===!1&&(n.$VideoAutoplayControllerX$p_22(a)&&a.restoreStreamBufferSize(),a.once("beginPlayback",function(){e.$VideoAutoplayControllerX$p_15=!0,e.restoreStreamBufferSize()}),this.$VideoAutoplayControllerX$p_16=!0)),r("VideoPlayerExperiments").autoplayBlockBlacklist||a.updateAutoplayRestrained())}this.$VideoAutoplayControllerX$p_7||this.restoreStreamBufferSize()},a.shouldRestoreAllSubsequentStreamBufferSizes=function(){return this.$VideoAutoplayControllerX$p_7?this.$VideoAutoplayControllerX$p_15:!0},a.restoreStreamBufferSize=function(){for(var e=this.getVideoUnits(),t=0;t<e.length;t++){var r=e[t].getVideoPlayerController();r&&n.$VideoAutoplayControllerX$p_22(r)&&r.restoreStreamBufferSize()}},a.$VideoAutoplayControllerX$p_24=function(t){var e=this,n;if(!t.addListener)return[];var r=function(){if(!t.isMuted()&&t.isState("playing")){var n=e.$VideoAutoplayControllerX$p_3;if(n&&n!==t){var r=n.getVideoPlayerController();if(r){var o=r.getOption("VideoWithLiveBroadcast","isLive");o?r.mute():r.pause("user_initiated")}try{n.pause("user_initiated")}catch(e){}}e.$VideoAutoplayControllerX$p_3=t}},o=[t.addListener("beginPlayback",r),t.addListener("changeVolume",r),t.addListener("unmuteVideo",r)];return(n=this.$VideoAutoplayControllerX$p_18).addSubscriptions.apply(n,o),o},a.$VideoAutoplayControllerX$p_27=function(t){var e=this,n=t.length,o=null;if(n===1)o=t[0],o=o.isAutoplayable()?o:null,r("VideoPlayerExperiments").useBringYourOwnAutoplayRule&&o&&(o=this.$VideoAutoplayControllerX$p_28(o)?o:null);else if(n>1){var a=r("getViewportDimensions")().height/2;t.forEach(function(t){if(t.isAutoplayable()&&!(r("VideoPlayerExperiments").useBringYourOwnAutoplayRule&&!e.$VideoAutoplayControllerX$p_28(t))){var n=t.getDOMPosition(),i=n.y+n.height/2,l=Math.abs(i-a);t.playPriority=l,(!o||!o.playPriority||t.playPriority<o.playPriority)&&(o=t)}})}return o},a.$VideoAutoplayControllerX$p_28=function(t){for(var e=!0,n=t.getAutoplayRules(),r=0;r<n.length;++r){var o=n[r].calculateAutoplayScore();if(e=o!==0,!e)break}return e},a.showAutoplayNUX=function(t){var e=this.$VideoAutoplayControllerX$p_1;if(e&&!e.isShown()){var n=t.getVideoPlayerController(),a=n?n.getRootNode():null;r("DOM").prependContent(a,this.$VideoAutoplayControllerX$p_2),e.show();var i=o("ThisControllerNoLongerExists").__DEADBUILDER__("vpqic3cf").getURI();new(r("AsyncRequest"))(i).setAllowCrossPageTransition().send()}this.$VideoAutoplayControllerX$p_14=!1},a.addVideoUnit=function(n){n&&t.prototype.addVideoUnit.call(this,n),r("VideoPlayerExperiments").decoupleAbortLoadingFromPause&&n&&this.$VideoAutoplayControllerX$p_17.addVideoUnit(n)},a.removeVideoUnit=function(n){n&&t.prototype.removeVideoUnit.call(this,n),r("VideoPlayerExperiments").decoupleAbortLoadingFromPause&&n&&this.$VideoAutoplayControllerX$p_17.removeVideoUnit(n)},a.$VideoAutoplayControllerX$p_21=function(n){var t=this;this.$VideoAutoplayControllerX$p_29(),r("setTimeout")(function(){t.$VideoAutoplayControllerX$p_21((e||(e=r("performanceNow")))())},r("VideoPlayerExperiments").videoPollingFrequency)},a.$VideoAutoplayControllerX$p_29=function(){var e=this.$VideoAutoplayControllerX$p_3,t=Date.now(),n=t-this.$VideoAutoplayControllerX$p_6,o=r("ShakaConstants").numbers.autoplay_start_video_interval;if(this.$VideoAutoplayControllerX$p_4&&r("VideoPlayerExperiments").pauseAudioUnitsOffscreen&&e&&e.shouldPauseWhenScrolledOffscreen()&&!e.isVisible()&&e.pause("autoplay_initiated"),!this.$VideoAutoplayControllerX$p_12){this.pausePlayingVideo("autoplay_initiated");return}var a=this.getVideoUnits(),i=this.getPlayingVideoUnit(),l=this.$VideoAutoplayControllerX$p_4?null:i;if(this.$VideoAutoplayControllerX$p_4&&i&&i.isVisible()&&(l=this.$VideoAutoplayControllerX$p_27([i])),i&&i!==l&&this.pausePlayingVideo("autoplay_initiated"),n>=o){if(this.$VideoAutoplayControllerX$p_6=t,this.$VideoAutoplayControllerX$p_5){for(var s=this.getVisibleUnits(),u=0;u<a.length;++u)a[u].isMuted()&&s.indexOf(a[u])===-1&&a[u].pause("autoplay_initiated");l=this.$VideoAutoplayControllerX$p_27(s),l&&l!==i&&(i&&this.pausePlayingVideo("autoplay_initiated"),this.playVideo(l,"autoplay_initiated"),this.$VideoAutoplayControllerX$p_14&&this.showAutoplayNUX(l)),this.getClosestVideoUnits(r("VideoPlayerExperiments").preloadVideosCount).forEach(function(e){return e.preload()}),l&&r("VideoPlayerExperiments").adjustPriorityBasedOnAutoplayIndex&&this.$VideoAutoplayControllerX$p_30(l)}this.$VideoAutoplayControllerX$p_5=!1}this.$VideoAutoplayControllerX$p_4=!1},a.updateAutoplay=function(){this.$VideoAutoplayControllerX$p_4=!0,this.$VideoAutoplayControllerX$p_5=!0},a.$VideoAutoplayControllerX$p_30=function(t){var e=-1,n=this.getVideoUnits();if(t){var o=n.findIndex(function(e){return e===t});o>=0&&(e=o+1)}else for(var a=r("getViewportDimensions")().height/2,i=0;i<n.length;i++){var l=n[i],s=l.getDOMPosition(),u=s.y+s.height/2;if(u-a>0){e=i;break}}if(e!==-1)for(var c=0;c<n.length;c++){var d=n[c],m=d.getVideoPlayerController();m&&(c===e?m.setVideoPriorityAdjustment(.1):d===t?m.setVideoPriorityAdjustment(r("VideoPlayerExperiments").offsetToBestUnitPriority):r("VideoPlayerExperiments").dePrioritizeUpfoldVideos&&c<e?m.setVideoPriorityAdjustment(-.5):m.setVideoPriorityAdjustment(0))}},n})(r("VideoAutoplayControllerBase"));l.default=m}),98);
__d("VideoChannelProgressCircle.react",["cx","ReactDOM_DEPRECATED","Style","react","stringRefShim"],(function(t,n,r,o,a,i,l,s){var e,u=e||(e=o("react")),c=(function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return t=e.call.apply(e,[this].concat(r))||this,t.$2=null,t.$3=0,babelHelpers.assertThisInitialized(t)||babelHelpers.assertThisInitialized(t)}babelHelpers.inheritsLoose(t,e);var n=t.prototype;return n.componentDidMount=function(){this.drawProgressCircle(this.props),this.$1=o("ReactDOM_DEPRECATED").findDOMNode_DEPRECATED(this)},n.componentWillUnmount=function(){window.clearInterval(this.$2)},n.UNSAFE_componentWillReceiveProps=function(t){(t.makeProgress!==this.props.makeProgress||t.timeoutSec!==this.props.timeoutSec)&&this.drawProgressCircle(t)},n.drawProgressCircle=function(t){var e=this,n=o("ReactDOM_DEPRECATED").findDOMNode_DEPRECATED(this.refs.progressCircle),a=this.$3,i=a/100;r("Style").set(n,"stroke-dashoffset",a+"px"),window.clearInterval(this.$2),t.makeProgress&&(this.$2=window.setInterval(function(){a-=i,r("Style").set(n,"stroke-dashoffset",a+"px"),a<=0&&(window.clearInterval(e.$2),r("Style").set(n,"stroke-dashoffset","0px"),t.onProgressDone&&t.onProgressDone())},t.timeoutSec*10))},n.render=function(){var e=this.props.watchAndScroll?34:80,t=this.props.watchAndScroll?2:4,n=e/2,o=n-t/2;return this.$3=o*2*Math.PI,u.jsxs("div",{className:"x1a2a7pz",children:[u.jsxs("svg",{className:"_20_8",children:[u.jsx("circle",{cx:n,cy:n,r:o,stroke:"#ffffff",strokeWidth:t,strokeDasharray:this.$3,fill:"transparent"}),u.jsx("circle",{ref:r("stringRefShim")(this,"progressCircle"),cx:n,cy:n,r:o,stroke:"#5890ff",strokeWidth:t,strokeDasharray:this.$3,fill:"transparent"})]}),this.props.children]})},t})(u.PureComponent);l.default=c}),98);
__d("VideoChannelReplayImage.react",["cx","Image.react","react","vulture"],(function(t,n,r,o,a,i,l,s){var e,u=e||(e=o("react")),c=(function(e){function t(){return e.apply(this,arguments)||this}babelHelpers.inheritsLoose(t,e);var n=t.prototype;return n.render=function(){return r("vulture")("b45lOFEQdB9ipZtsmn3GGu2Gnkk="),u.jsx(r("Image.react"),{onClick:this.props.onClick,className:"_4nxy"+(this.props.size==="small"?" _4nxz":""),src:"/images/video/channel_view/replay.svg"})},t})(u.Component);c.defaultProps={size:"normal"},l.default=c}),98);
__d("XVideoChannelViewStoryAsyncController",["XController"],(function(t,n,r,o,a,i){a.exports=n("XController").create("/video/channel/view/story/async/{root_video_id}/",{root_video_id:{type:"String",required:!0},video_ids:{type:"StringVector",defaultValue:[]},use_video_placeholder:{type:"Bool",defaultValue:!1},setup_interactions:{type:"Bool",defaultValue:!1},is_first_story:{type:"Bool",defaultValue:!1},feed_tracking_data:{type:"StringVector",defaultValue:[]},caller:{type:"Enum",defaultValue:"channel_view_from_unknown",enumType:1},channel_id:{type:"String"},ad_impression_token:{type:"String"},fetch_channel_pivots:{type:"Bool",defaultValue:!1}})}),null);
__d("VideoChannelStoryFetcher",["AsyncRequest","HTML","ThisControllerNoLongerExists","XVideoChannelViewStoryAsyncController"],(function(t,n,r,o,a,i,l){var e=(function(){function e(e,t,n,r,o,a,i){if(this.$7=e,this.$8=t,this.$4=n,this.$10=0,this.$2=null,this.$3=!0,this.$5=[],this.$6=[],this.$9={},o){this.$5=o.videoIDs,this.$6=o.feedTrackingData,this.$2=o.cursorInfo.cursor,this.$3=o.cursorInfo.hasNextPage;var l=this.$5.indexOf(this.$7);this.$9.start=l,this.$9.end=l+1}if(a){this.$5=a,this.$3=!!i;var s=this.$5.indexOf(this.$7);this.$9.start=s,this.$9.end=s+1}this.$11=r,this.$12=[],this.$13=[]}var t=e.prototype;return t.reset=function(t,n){this.$7=t,this.$8=n,this.$10=0,this.$2=null,this.$3=!0,this.$5=[],this.$6=[],this.$9={},this.$12=[],this.$13=[]},t.abandonRequest=function(){this.$1&&this.$1.abandon()},t.hasNext=function(){var e=this.$5.length-this.$9.end>0;return this.$3||e},t.$14=function(t,n,r){var e={};e.event=t,e.request_status=n,e.perf_time_ms=Date.now()-r},t.fetchFirstStory=function(t,n,o){var e=this;if(n===null&&this.$5.length!==0){var a=this.$5.indexOf(this.$7);n=this.$6[a]}var i=r("XVideoChannelViewStoryAsyncController").getURIBuilder().setEnum("caller",this.$4).setStringVector("video_ids",[this.$7]).setString("root_video_id",this.$7).setBool("is_first_story",!0).setBool("use_video_placeholder",t).setBool("setup_interactions",o).setString("channel_id",this.$8).setString("ad_impression_token",this.$11);n&&i.setStringVector("feed_tracking_data",[JSON.stringify(n)]);var l=Date.now(),s=new(r("AsyncRequest"))(i.getURI()).setAllowCrossPageTransition(!0).setHandler(function(){e.$14("fetch_first_story","succeeded",l),e.$15()}).setErrorHandler(function(){e.$14("fetch_first_story","failed",l),e.$15()}).setAbortHandler(function(){e.$14("fetch_first_story","aborted",l),e.$15()});this.$1=s,this.$10=Date.now(),s.send()},t.getPreloadedData=function(){return{stories:this.$12,thumbnails:this.$13}},t.$16=function(t,n){var e=this;if(this.$8){var a=o("ThisControllerNoLongerExists").__DEADBUILDER__("jp6s5648o").setString("id",this.$8).setEnum("caller",this.$4).setString("original_video_id",this.$7).setInt("story_count",t);this.$2&&a.setString("cursor",this.$2.toString());var i=Date.now(),l=a.getURI(),s=new(r("AsyncRequest"))(l).setAllowCrossPageTransition(!0).setHandler(function(t){e.$14("fetch_stories_from_entquery","succeeded",i),e.$2=t.getPayload().cursor,e.$3=t.getPayload().hasNextPage,e.$15(),e.$17(t,function(t,r){return e.$12=[].concat(e.$12,t),e.$13=[].concat(e.$13,r),n(t,r)})}).setErrorHandler(function(){e.$14("fetch_stories_from_entquery","failed",i),e.$15()}).setAbortHandler(function(){e.$14("fetch_stories_from_entquery","aborted",i),e.$15()});this.$1=s,s.send()}},t.$18=function(t,n,o){var e=this,a=this.$9.end,i=this.$5.length-a,l=a+Math.min(i,t);if(i>0){var s=this.$5.slice(a,l),u=this.$6.slice(a,l).map(function(e){return JSON.stringify(e)}),c=r("XVideoChannelViewStoryAsyncController").getURIBuilder().setEnum("caller",this.$4).setString("channel_id",this.$8).setString("root_video_id",this.$7).setStringVector("video_ids",s).setStringVector("feed_tracking_data",u),d=Date.now();this.$1=new(r("AsyncRequest"))(c.getURI()).setAllowCrossPageTransition(!0).setErrorHandler(function(){e.$14("fetch_stories_forward","failed",d),e.$15()}).setAbortHandler(function(){e.$14("fetch_stories_forward","aborted",d),e.$15()}).setHandler(function(t){e.$14("fetch_stories_forward","succeeded",d),e.$9.end=l,e.$15(),e.$17(t,function(t,r){return e.$12=[].concat(e.$12,t),e.$13=[].concat(e.$13,r),n(t,r)})}),this.$1.send(),o&&o(i)}else this.$3&&(this.$16(t,n),o&&o(t))},t.$19=function(t,n,o){var e=this,a=this.$9.start;if(a>0){var i=Math.max(a-t,0),l=this.$5.slice(i,a),s=this.$6.slice(i,a).map(function(e){return JSON.stringify(e)}),u=r("XVideoChannelViewStoryAsyncController").getURIBuilder().setEnum("caller",this.$4).setString("channel_id",this.$8).setString("root_video_id",this.$7).setStringVector("video_ids",l).setStringVector("feed_tracking_data",s),c=Date.now();this.$1=new(r("AsyncRequest"))(u.getURI()).setAllowCrossPageTransition(!0).setErrorHandler(function(){e.$14("fetch_stories_backward","failed",c),e.$15()}).setAbortHandler(function(){e.$14("fetch_stories_backward","aborted",c),e.$15()}).setHandler(function(t){e.$14("fetch_stories_backward","succeeded",c),e.$9.start=i,e.$15(),e.$17(t,n)}),this.$1.send(),o&&o(a-i)}},t.fetchStories=function(t,n,r){var e=3;this.$1||(t?this.$18(e,n,r):this.$19(e,n,r))},t.$17=function(t,n){var e=t.getPayload(),o=r("HTML").replaceJSONWrapper(e.stories).getNodes(),a=e.thumbnails.map(function(e){return r("HTML").replaceJSONWrapper(e).getRootNode()});n(o,a)},t.$15=function(){this.$1=null},e})();l.default=e}),98);
__d("VideoClipButton.react",["cx","fbt","ix","AbstractButton.react","Arbiter","Image.react","TooltipData","XUISpinner.react","XUIText.react","react"],(function(t,n,r,o,a,i,l,s,u,c){"use strict";var e,d=e||(e=o("react")),m=u._(/*BTDS*/"A klip l\u00e9trehoz\u00e1sa folyamatban van..."),p=(function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return t=e.call.apply(e,[this].concat(r))||this,t.state={isClipping:!1},t.$1=null,t.$2=function(){t.setState({isClipping:!1})},babelHelpers.assertThisInitialized(t)||babelHelpers.assertThisInitialized(t)}babelHelpers.inheritsLoose(t,e);var n=t.prototype;return n.componentDidMount=function(){this.$1=r("Arbiter").subscribe("GamesVideoClipping/clipReady",this.$2)},n.componentWillUnmount=function(){this.$1&&r("Arbiter").unsubscribe(this.$1)},n.render=function(){var e,t=this,n=u._(/*BTDS*/"Klip l\u00e9trehoz\u00e1sa az utols\u00f3 {num_seconds} m\u00e1sodpercb\u0151l",[u._param("num_seconds",this.props.defaultLengthInSec)]);return this.state.isClipping?d.jsx(r("XUIText.react"),{className:"_zbd _25cu","data-hover":"tooltip","data-tooltip-content":m,children:d.jsx(r("XUISpinner.react"),{className:"x1qx5ct2 xxymvpz xw4jnvo",background:"light",size:"small",paused:!1})}):d.jsx(r("AbstractButton.react"),babelHelpers.extends({},o("TooltipData").propsFor(n,"above"),{className:"_zbd _8z3u",image:d.jsx(r("Image.react"),{className:"x1qx5ct2 xxymvpz xw4jnvo",src:this.props.iconSrc}),label:(e=this.props.buttonLabel)!=null?e:n,labelIsHidden:this.props.buttonLabel===null,onClick:function(){t.setState({isClipping:!0}),t.props.onClipVideo()},tabIndex:"0"}))},t})(d.Component);p.defaultProps={buttonLabel:null,iconSrc:c("468574")},l.default=p}),226);
__d("VideoFBIconControl.react",["cx","fbt","ix","AbstractButton.react","Image.react","TooltipData","URI","react","stringRefShim"],(function(t,n,r,o,a,i,l,s,u,c){"use strict";var e,d,m=d||(d=o("react")),p=2,_=(function(t){function n(){return t.apply(this,arguments)||this}babelHelpers.inheritsLoose(n,t);var a=n.prototype;return a.render=function(){var t=new(e||(e=r("URI")))(this.props.permalinkURL).addQueryData("t",Math.max(0,Math.floor(this.props.playbackPosTimestamp)-p));return m.jsx(r("AbstractButton.react"),babelHelpers.extends({},o("TooltipData").propsFor(this.props.label,"above"),{className:"_zbd",href:t,image:m.jsx(r("Image.react"),{className:"x1qx5ct2 xxymvpz xw4jnvo",src:c("804741")}),label:this.props.label,labelIsHidden:this.props.labelIsHidden,ref:r("stringRefShim")(this,"button"),tabIndex:"0",target:"_blank",type:"button"}))},n})(m.Component);_.defaultProps={label:u._(/*BTDS*/"Ide kattintva megn\u00e9zheted a Facebookon."),labelIsHidden:!0},l.default=_}),226);
__d("fbjs/lib/shallowEqual",["shallowEqual"],(function(t,n,r,o,a,i){"use strict";a.exports=n("shallowEqual")}),null);
__d("shallowCompare",["fbjs/lib/shallowEqual"],(function(t,n,r,o,a,i){"use strict";function e(e,t,r){return!n("fbjs/lib/shallowEqual")(e.props,t)||!n("fbjs/lib/shallowEqual")(e.state,r)}i.default=e}),66);
__d("VideoFullscreenControl.react",["cx","fbt","ix","AbstractVideoFullscreenControl.react","Image.react","ReactDOM_DEPRECATED","VideoPlayerExperiments","react","shallowCompare","stringRefShim"],(function(t,n,r,o,a,i,l,s,u,c){"use strict";var e,d=e||(e=o("react")),m=(function(e){function t(){return e.apply(this,arguments)||this}babelHelpers.inheritsLoose(t,e);var n=t.prototype;return n.shouldComponentUpdate=function(t,n){return r("shallowCompare")(this,t,n)},n.onMouseOut=function(t){o("ReactDOM_DEPRECATED").findDOMNode_DEPRECATED(this.refs.button).blur()},n.render=function(){var e;r("VideoPlayerExperiments").fourArrowFullScreen?e=this.props.isFullscreen?c("463031"):c("412613"):e=this.props.isFullscreen?c("463022"):c("407577");var t=d.jsx(r("Image.react"),{className:"_rwt",src:e}),n=this.props.isFullscreen?u._(/*BTDS*/"Kil\u00e9p\u00e9s a teljes k\u00e9perny\u0151s m\u00f3db\u00f3l"):u._(/*BTDS*/"V\u00e1lt\u00e1s teljes k\u00e9perny\u0151re");return d.jsx(r("AbstractVideoFullscreenControl.react"),babelHelpers.extends({},this.props,{className:"_zbd"+(this.props.disabled?" _132h":"")+" _39ip","data-testid":void 0,disabled:this.props.disabled,image:t,onMouseOut:this.onMouseOut.bind(this),ref:r("stringRefShim")(this,"button"),tabIndex:this.props.tabIndex,type:"button",label:n,labelIsHidden:!0}))},t})(d.Component);l.default=m}),226);
__d("VideoPlaybackControl.react",["cx","fbt","ix","AbstractButton.react","Image.react","ReactDOM_DEPRECATED","TooltipData","react","shallowCompare","stringRefShim"],(function(t,n,r,o,a,i,l,s,u,c){"use strict";var e,d=e||(e=o("react")),m=(function(e){function t(t){var n;return n=e.call(this,t)||this,n.state={awaitingUpdate:!1,isPlayingOverwrite:!1},n}babelHelpers.inheritsLoose(t,e);var n=t.prototype;return n.shouldComponentUpdate=function(t,n){return r("shallowCompare")(this,t,n)},n.isPlaying=function(){return this.state.awaitingUpdate?this.state.isPlayingOverwrite:this.props.isPlaying},n.onButtonClick=function(){var e=this.isPlaying();this.setState({awaitingUpdate:!0,isPlayingOverwrite:!e}),e?this.props.onPause&&this.props.onPause():this.props.onPlay&&this.props.onPlay()},n.UNSAFE_componentWillReceiveProps=function(){this.setState({awaitingUpdate:!1})},n.onMouseOut=function(t){o("ReactDOM_DEPRECATED").findDOMNode_DEPRECATED(this.refs.button).blur()},n.render=function(){var e=null,t="";this.props.finishedPlaying?(this.props.useDarkTheme?e=c("463014"):e=c("463019"),t=u._(/*BTDS*/"\u00dajra")):this.props.isLiveVideo?e=this.isPlaying()?c("463008"):c("431972"):(this.props.useDarkTheme?e=this.isPlaying()?c("463003"):c("462853"):e=this.isPlaying()?c("463005"):c("374088"),t=this.isPlaying()?u._(/*BTDS*/"Sz\u00fcneteltet\u00e9s"):u._(/*BTDS*/"Lej\u00e1tsz\u00e1s"));var n=d.jsx(r("Image.react"),{className:"_rwt",src:e}),a=(this.props.isLiveVideo?"":"_zbd")+(this.props.isLiveVideo?" _rx5":"")+" _2sm1";return d.jsx(r("AbstractButton.react"),babelHelpers.extends({},o("TooltipData").propsFor(t,"above"),{className:a,"data-testid":void 0,image:n,label:t,labelIsHidden:!0,onClick:this.onButtonClick.bind(this),onMouseOut:this.onMouseOut.bind(this),ref:r("stringRefShim")(this,"button"),tabIndex:this.props.tabIndex,type:"button"}))},t})(d.Component);m.defaultProps={useDarkTheme:!1},l.default=m}),226);
__d("VideoPlaybackRateControl.react",["cx","fbt","AbstractButton.react","PlaybackSpeedExperiments","VideoPlayerExperiments","react","shallowCompare","stringRefShim"],(function(t,n,r,o,a,i,l,s,u){var e,c=e||(e=o("react"));function d(e){return e.toFixed(2).replace(/\.0+/,".0")+"x"}var m=(function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return t=e.call.apply(e,[this].concat(r))||this,t.state={isMenuOpen:!1,isFocusTriggeredByMouse:!1,rate:1},t.onFocus=function(){t.state.isFocusTriggeredByMouse||t.setState({isMenuOpen:!0})},t.onBlur=function(){t.state.isFocusTriggeredByMouse?t.setState({isFocusTriggeredByMouse:!1}):t.setState({isMenuOpen:!1})},t.onMouseDown=function(){return t.setState({isFocusTriggeredByMouse:!0})},t.onMouseOverButton=function(){return t.setState({isMenuOpen:!0})},t.onMouseLeave=function(){return t.setState({isMenuOpen:!1})},babelHelpers.assertThisInitialized(t)||babelHelpers.assertThisInitialized(t)}babelHelpers.inheritsLoose(t,e);var n=t.prototype;return n.shouldComponentUpdate=function(t,n){return r("shallowCompare")(this,t,n)},n.createRateItem=function(t,n,r){var e=function(t){r(),t.preventDefault()},o=null;n&&(o=c.jsx("div",{className:"_2iw1"}));var a=c.jsx("div",{className:"_2iw3",style:{backgroundColor:"inherit"},children:o});return c.jsxs("a",{href:"#",className:"_2iw4",onClick:e,tabIndex:this.props.tabIndex,children:[a,c.jsx("div",{className:"_2iw5 _2iw6",children:t})]},t)},n.render=function(){var e=this,t=d(this.state.rate),n=null;if(this.props.disabled!==!0){var a=o("PlaybackSpeedExperiments").enableWwwPlaybackSpeedControl()?[.5,.75,1,1.25,1.5,1.75,2]:[.5,1,1.25,1.5,1.75,2,2.5,3,3.5,4,5],i=a.map(function(t){return e.createRateItem(d(t),e.state.rate===t,function(){e.props.onSelectPlaybackRate&&e.props.onSelectPlaybackRate(t),e.setState({rate:t})})});n=c.jsx("div",{className:"_67bw"+(this.state.isMenuOpen?" _2iw8":""),children:c.jsx("div",{className:"_2i_w",children:c.jsxs("div",{className:"_2i_x",children:[c.jsx("div",{className:"_2iw5",children:u._(/*BTDS*/"A lej\u00e1tsz\u00e1s sebess\u00e9ge")}),i,c.jsx("div",{className:"_ukl"})]})})})}var l="_zbd _66_y"+(!r("VideoPlayerExperiments").embeddedPlayerEnhancements||!this.props.isEmbedded?" _66_z":""),s=c.jsx(r("AbstractButton.react"),{className:l,label:t,onMouseDown:this.onMouseDown,onMouseOver:this.onMouseOverButton,ref:r("stringRefShim")(this,"button"),tabIndex:this.props.tabIndex,type:"button"});return c.jsxs("div",{className:"_2j04",onFocus:this.onFocus,onBlur:this.onBlur,onMouseLeave:this.onMouseLeave,children:[s,n]})},t})(c.Component);m.defaultProps={tabIndex:"-1"},l.default=m}),226);
__d("VideoPlaybackTimer.react",["cx","DateConsts","ShimButton.react","VideoPlayerExperiments","joinClasses","react","shallowCompare"],(function(t,n,r,o,a,i,l,s){var e,u=e||(e=o("react")),c=(function(e){function t(t){var n;return n=e.call(this,t)||this,n.state={displayRemainingTime:!n.props.displayElapsedTime,displayPreferenceSet:!1},n}babelHelpers.inheritsLoose(t,e);var n=t.prototype;return n.shouldComponentUpdate=function(t,n){return r("shallowCompare")(this,t,n)},n.UNSAFE_componentWillReceiveProps=function(t){this.state.displayPreferenceSet||this.setState({displayRemainingTime:!t.displayElapsedTime})},n.getClock=function(t){var e="";isNaN(t)?t=0:t<0&&(t*=-1,e="-");var n=Math.floor(t/o("DateConsts").SEC_PER_HOUR),r=Math.floor((t-n*o("DateConsts").SEC_PER_HOUR)/o("DateConsts").SEC_PER_MIN),a=null;this.props.displayMilliseconds?a=Math.floor(t-n*o("DateConsts").SEC_PER_HOUR-r*o("DateConsts").SEC_PER_MIN):a=Math.round(t-n*o("DateConsts").SEC_PER_HOUR-r*o("DateConsts").SEC_PER_MIN),a===o("DateConsts").SEC_PER_MIN&&(a=0,r++),r===o("DateConsts").MIN_PER_HOUR&&(r=0,n++);var i=t-n*o("DateConsts").SEC_PER_HOUR-r*o("DateConsts").SEC_PER_MIN-a,l=Math.round(i*o("DateConsts").MS_PER_SEC),s=("0"+r).slice(-2),u=("0"+a).slice(-2),c=("00"+l).slice(-3),d=e;return n===0?d+=r+":"+u:d+=n+":"+s+":"+u,this.props.displayMilliseconds&&(d+="."+c),d},n.onButtonClick=function(){this.setState({displayRemainingTime:!this.state.displayRemainingTime,displayPreferenceSet:!0})},n.render=function(){var e=this.state.displayPreferenceSet?this.state.displayRemainingTime:!this.props.displayElapsedTime,t=e?this.props.remainingTimestamp:this.props.playbackPosTimestamp,n="_66_y"+((!r("VideoPlayerExperiments").embeddedPlayerEnhancements||!this.props.isEmbedded)&&!this.props.displayBothTimes?" _66_z":"");this.props.isInScrubberPreview&&(n="_66_-");var o=babelHelpers.extends({},this.props);return delete o.displayElapsedTime,delete o.displayMilliseconds,delete o.isInScrubberPreview,delete o.playbackPosTimestamp,delete o.remainingTimestamp,delete o.isEmbedded,this.props.displayBothTimes?u.jsxs("div",babelHelpers.extends({},o,{className:r("joinClasses")(this.props.className,n),children:[u.jsx("span",{className:"_66_z",children:this.getClock(this.props.playbackPosTimestamp)}),u.jsx("span",{children:" / "}),u.jsx("span",{children:this.getClock(this.props.playbackDurationTimestamp)})]})):u.jsx(r("ShimButton.react"),babelHelpers.extends({},o,{className:r("joinClasses")(this.props.className,n),onClick:this.props.isLiveVideo?void 0:this.onButtonClick.bind(this),children:this.getClock(t)}))},t})(u.Component);c.defaultProps={isInScrubberPreview:!1,playbackDurationTimestamp:0,playbackPosTimestamp:0,remainingTimestamp:0,displayElapsedTime:!1,displayMilliseconds:!1,displayBothTimes:!1,useDarkTheme:!1},l.default=c}),98);
__d("VideoPollCardDispatcher",["ExplicitRegistrationDispatcher"],(function(t,n,r,o,a,i,l){"use strict";var e=new(r("ExplicitRegistrationDispatcher"))({strict:!1});l.default=e}),98);
__d("VideoPollCardActionTypes",["keyMirror"],(function(t,n,r,o,a,i,l){"use strict";var e=r("keyMirror")({MARK_POLL_CARD_ACTIVE:"",MARK_POLL_CARD_INACTIVE:""}),s=e;l.default=s}),98);
__d("VideoPollCardStore",["FluxReduceStore","ImmutableRecordWithV4Types","VideoPollCardActionTypes","VideoPollCardDispatcher","immutable"],(function(t,n,r,o,a,i,l){"use strict";var e=o("ImmutableRecordWithV4Types").Record({pollCardsActiveForVPC:{}}),s=(function(t){function n(){for(var e,n=arguments.length,o=new Array(n),a=0;a<n;a++)o[a]=arguments[a];return e=t.call.apply(t,[this].concat(o))||this,e.reduce=function(e,t){var n=t.pollEventID,o=t.vpcID;switch(t.type){case r("VideoPollCardActionTypes").MARK_POLL_CARD_ACTIVE:if(e.pollCardsActiveForVPC[o]===null){var a=e.pollCardsActiveForVPC,i=r("immutable").List();a[o]=i.push(n),e=e.set("pollCardsActiveForVPC",a)}else{var l,s=e.pollCardsActiveForVPC,u=(l=e.pollCardsActiveForVPC[o])!=null?l:r("immutable").List();s[o]=u.push(n),e=e.set("pollCardsActiveForVPC",s)}return e;case r("VideoPollCardActionTypes").MARK_POLL_CARD_INACTIVE:if(e.pollCardsActiveForVPC[o]!==null){var c,d=e.pollCardsActiveForVPC,m=(c=d[o])!=null?c:r("immutable").List();m=m.filter(function(e){return e!==n}),d[o]=m,e=e.set("pollCardsActiveForVPC",d)}return e;default:return e}},babelHelpers.assertThisInitialized(e)||babelHelpers.assertThisInitialized(e)}babelHelpers.inheritsLoose(n,t);var o=n.prototype;return o.getInitialState=function(){return e()},n})(r("FluxReduceStore"));s.__moduleID=i.id;var u=new s(r("VideoPollCardDispatcher"));l.default=u}),98);
__d("VideoInstreamAdsConstants.experimental",["cr:27514"],(function(t,n,r,o,a,i,l){"use strict";l.default=n("cr:27514")}),98);
__d("VideoInstreamUtils",["fbt","DateConsts","VideoInstreamAdsConstants.experimental"],(function(t,n,r,o,a,i,l,s){function e(e){var t=0,n=e.split(".");if(n.length>2)return null;if(n.length===2){if(n[1].length===0)return null;for(var r=n[1];r.length<3;)r+="0";var a=Number(r);if(isNaN(a)||a<0||a>=o("DateConsts").MS_PER_SEC)return null;t+=a/o("DateConsts").MS_PER_SEC}var i=n[0].split(":");if(i.length>3)return null;for(var l=0;l<i.length;l++){if(i[l].length===0)return null;var s=Number(i[l]);if(isNaN(s)||s<0||s>=60)return null;t+=s*Math.pow(60,i.length-l-1)}return t}function u(e){var t;e=Math.round(e*(t=o("DateConsts")).MS_PER_SEC)/t.MS_PER_SEC;var n=Math.floor(e/t.SEC_PER_HOUR),r=e-n*t.SEC_PER_HOUR,a=Math.floor(r/t.SEC_PER_MIN),i=Math.floor(r-a*t.SEC_PER_MIN),l=Math.round(r*t.MS_PER_SEC),s=("0"+n).slice(-2),u=("0"+a).slice(-2),c=("0"+i).slice(-2),d=("00"+l).slice(-3),m="";return n>0&&(m+=s+":"),m+=u+":"+c+"."+d}function c(e,t){var n=Math.ceil(e)*o("DateConsts").MS_PER_SEC;if(n<r("VideoInstreamAdsConstants.experimental").AD_INSERTION_MINIMUM_VIDEO_LENGTH_MS)return 0;if(!t)return r("VideoInstreamAdsConstants.experimental").AD_INSERTION_MAXIMUM_NUMBER_OF_AD_BREAKS;var a=(n-r("VideoInstreamAdsConstants.experimental").AD_INSERTION_END_TIME_OFFSET_MS-r("VideoInstreamAdsConstants.experimental").AD_INSERTION_START_TIME_OFFSET_MS)/r("VideoInstreamAdsConstants.experimental").AD_INSERTION_INTERVAL_MS;return Math.max(0,Math.floor(a)+1)}function d(e,t,n){var a=c(t,n);if(a===0||!n&&e.length>=a)return[];var i=r("VideoInstreamAdsConstants.experimental").AD_INSERTION_START_TIME_OFFSET_MS/o("DateConsts").MS_PER_SEC,l=t-r("VideoInstreamAdsConstants.experimental").AD_INSERTION_END_TIME_OFFSET_MS/o("DateConsts").MS_PER_SEC,s=r("VideoInstreamAdsConstants.experimental").AD_INSERTION_INTERVAL_MS/o("DateConsts").MS_PER_SEC;if(e.length===0||!n)return[{start:i,end:l}];var u=[];return e.forEach(function(t,n){if(n===0){var r=t.timeOffset-s;r>=i&&u.push({start:i,end:r})}if(n-1>=0){var o=e[n-1].timeOffset+s,a=t.timeOffset-s;o<=a&&u.push({start:o,end:a})}if(n===e.length-1){var c=t.timeOffset+s;c<=l&&u.push({start:c,end:l})}}),u}function m(e,t,n,r){if(e==null)return!1;for(var o=d(n,t,r),a=0;a<o.length;a++)if(e>=o[a].start&&e<=o[a].end)return!0;return!1}function p(e,t,n,a){var i=e[t];if(i.timeOffset*o("DateConsts").MS_PER_SEC<r("VideoInstreamAdsConstants.experimental").AD_INSERTION_START_TIME_OFFSET_MS||(n-i.timeOffset)*o("DateConsts").MS_PER_SEC<r("VideoInstreamAdsConstants.experimental").AD_INSERTION_END_TIME_OFFSET_MS)return!0;if(a){for(var l=0;l<e.length;l++)if(!(l===t||e[l].timeOffset>=i.timeOffset)&&(i.timeOffset-e[l].timeOffset)*o("DateConsts").MS_PER_SEC<r("VideoInstreamAdsConstants.experimental").AD_INSERTION_INTERVAL_MS)return!0}return!1}function _(e,t,n,r){var o=new Set(e);return c(n,r)===0&&o.add("video_too_short"),t&&o.add("branded_content"),f(o)}function f(e){return e.size===0?{disabled:!1,errorMessageHeader:null,errorMessageContent:null}:e.has("video_too_short")?{disabled:!0,errorMessageHeader:s._(/*BTDS*/"_j{\"*\":\"A vide\\u00f3nak legal\\u00e1bb {insertion interval} m\\u00e1sodperc hossz\\u00fanak kell lennie.\"}",[s._param("insertion interval",r("VideoInstreamAdsConstants.experimental").AD_INSERTION_MINIMUM_VIDEO_LENGTH,[0])]),errorMessageContent:s._(/*BTDS*/"A vide\u00f3d t\u00fal r\u00f6vid ahhoz, hogy be\u00e1gyazott vide\u00f3s hirdet\u00e9st lehessen elhelyezni benne.")}:e.has("not_organic_upload")?{disabled:!0,errorMessageHeader:s._(/*BTDS*/"A be\u00e1gyazott vide\u00f3s hirdet\u00e9sek nem el\u00e9rhet\u0151k"),errorMessageContent:s._(/*BTDS*/"Be\u00e1gyazott vide\u00f3s hirdet\u00e9st csak eredeti vide\u00f3kban lehet elhelyezni, \u00e1tvett vagy tov\u00e1bbosztott vide\u00f3kban nem.")}:e.has("broadcast")?{disabled:!0,errorMessageHeader:s._(/*BTDS*/"A be\u00e1gyazott vide\u00f3s hirdet\u00e9sek nem el\u00e9rhet\u0151k"),errorMessageContent:s._(/*BTDS*/"\u00c9l\u0151 vide\u00f3kat be\u00e1gyazott vide\u00f3kn\u00e1l nem lehet haszn\u00e1lni, m\u00e9g akkor sem, ha a k\u00f6zvet\u00edt\u00e9s m\u00e1r v\u00e9get \u00e9rt.")}:e.has("branded_content")?{disabled:!0,errorMessageHeader:s._(/*BTDS*/"A be\u00e1gyazott vide\u00f3s hirdet\u00e9sek nem el\u00e9rhet\u0151k"),errorMessageContent:s._(/*BTDS*/"Enn\u00e9l a vide\u00f3n\u00e1l nem lehet be\u00e1gyazott vide\u00f3s hirdet\u00e9st beiktatni, mert \u00fczleti partnerek is meg vannak jel\u00f6lve benne.")}:e.has("asset_not_owned_by_page")||e.has("unowned_asset_crosspost")?{disabled:!0,errorMessageHeader:s._(/*BTDS*/"A be\u00e1gyazott vide\u00f3s hirdet\u00e9sek nem el\u00e9rhet\u0151k"),errorMessageContent:s._(/*BTDS*/"Be\u00e1gyazott vide\u00f3s hirdet\u00e9seket csak \u00e1ltalad kezelt oldalhoz tartoz\u00f3 vide\u00f3kban m\u00f3dos\u00edthatsz.")}:{disabled:!0,errorMessageHeader:s._(/*BTDS*/"A be\u00e1gyazott vide\u00f3s hirdet\u00e9sek nem el\u00e9rhet\u0151k"),errorMessageContent:null}}l.convertFormattedTimeToSeconds=e,l.convertTimestampToFormattedString=u,l.getMaxPossibleAdBreaks=c,l.getEligibleTimeSegments=d,l.isInEligibleTimeSegments=m,l.isAdBreakViolatingInsertionRules=p,l.getAdBreakTabState=_,l._getAdBreakTabStateFromDisabledReasons=f}),226);
__d("VideoScrubberPointOfInterestBar.react",["cx","ShimButton.react","VideoPlaybackTimer.react","react","vulture"],(function(t,n,r,o,a,i,l,s){var e,u=e||(e=o("react")),c=(function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return t=e.call.apply(e,[this].concat(r))||this,t.state={visibility:"hidden"},babelHelpers.assertThisInitialized(t)||babelHelpers.assertThisInitialized(t)}babelHelpers.inheritsLoose(t,e);var n=t.prototype;return n.render=function(){var e=this;r("vulture")("74x-1B0zszvC1BLIb4m19hACWmM=");var t=this.props.timestamp,n=t*100/this.props.playbackDuration+"%",o=u.jsx(r("VideoPlaybackTimer.react"),{className:"_zs-",isInScrubberPreview:!0,playbackPosTimestamp:0,remainingTimestamp:t,style:{left:n,visibility:this.state.visibility}});return u.jsxs("div",{children:[u.jsx(r("ShimButton.react"),{className:"_zt2"+(this.props.isActive?" _zt3":""),onClick:function(r){return e.props.onPointOfInterestSelect(t)},onMouseEnter:function(n){return e.setState({visibility:"visible"})},onMouseLeave:function(n){return e.setState({visibility:"hidden"})},style:{left:n}}),this.props.showPointOfInterestTimestamps&&o]})},t})(u.PureComponent),d=(function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return t=e.call.apply(e,[this].concat(r))||this,t.$1=function(e){return u.jsx(c,{playbackDuration:t.props.playbackDuration,timestamp:e,isActive:e===t.props.currentPointOfInterest,onPointOfInterestSelect:t.props.onPointOfInterestSelect,showPointOfInterestTimestamps:!!t.props.showPointOfInterestTimestamps},"poi"+e)},babelHelpers.assertThisInitialized(t)||babelHelpers.assertThisInitialized(t)}babelHelpers.inheritsLoose(t,e);var n=t.prototype;return n.shouldComponentUpdate=function(t,n){var e=this;return t.tabIndex!=this.props.tabIndex||t.currentPointOfInterest!==this.props.currentPointOfInterest||t.playbackDuration!=this.props.playbackDuration||t.pointsOfInterest.length!==this.props.pointsOfInterest.length||t.pointsOfInterest.some(function(t,n){return e.props.pointsOfInterest[n]!=t})},n.render=function(){return r("vulture")("IoB5pLr7NGWyQSucVSfKS_uhNk0="),u.jsx("div",{className:"_zud",tabIndex:this.props.tabIndex,children:u.jsx("div",{className:"_zue",children:this.props.pointsOfInterest.map(this.$1,this)})})},t})(u.Component);l.default=d}),98);
__d("VideoScrubberPreviewSpriteCalculation",[],(function(t,n,r,o,a,i){function e(e,t){var n=s(t.maxImagesPerSprite,t.timeIntervalBetweenImages),r=Math.floor(e%n/t.timeIntervalBetweenImages),o=Math.floor(r/t.imagesPerRow),a=r%t.imagesPerRow;return{x:a*t.previewScrubberWidth,y:o*t.previewScrubberHeight}}function l(e,t,n){var r=s(t,n);return Math.floor(e/r)+1}function s(e,t){return e*t}i.getImageCoordinatesInSpriteByTime=e,i.getSpriteIndex=l,i.getTotalTimeInSprite=s}),66);
__d("VideoScrubber.react",["cx","ix","Arbiter","ClickableArea.react","DateConsts","EventListener","Image.react","Keys","ProfileTile.react","ReactDOM_DEPRECATED","Tooltip.react","VideoInstreamAdsConstants.experimental","VideoInstreamUtils","VideoPlaybackTimer.react","VideoScrubberPointOfInterestBar.react","VideoScrubberPreviewSpriteCalculation","emptyFunction","getElementPosition","joinClasses","react","shallowCompare","stringRefShim"],(function(t,n,r,o,a,i,l,s,u){var e,c=e||(e=o("react"));function d(e,t){var n=e-t.x,r=n/t.width;return Math.min(Math.max(0,r),1)}function m(e,t){if(e==null||t==null)return null;for(var n=0;n<e.length;++n){var r=e[n];if(r.identifier===t)return r}return null}var p=(function(e){function t(t){var n;return n=e.call(this,t)||this,n.$7=null,n.$8=null,n.$9=null,n.$11=null,n.onMouseEnterScrubberNub=function(){n.props.showVideoSliderWarningTooltip&&n.setState({hoverNub:!0})},n.onMouseLeaveScrubberNub=function(){n.props.showVideoSliderWarningTooltip&&n.setState({hoverNub:!1})},n.$6=new Map([[0,""]]),n.$10=0,n.state={awaitingUpdate:!1,hoverNub:!1,mouseOver:!1,nubEngaged:!1,previewRatio:0,scrubRatio:0,timecodeRatio:0,timecodeTimestamp:0,scrubberPreviewSpriteIndex:0,scrubberPreviewBackgroundPosition:{x:0,y:0},previewThumbnailInformation:{timeIntervalBetweenImages:0,maxImagesPerSprite:0,imagesPerRow:0,imagesPerColumn:0,previewScrubberWidth:0,previewScrubberHeight:0,stereoMode:null,scrubberVideoURI:null,useScrubberVideo:!1},lastSpriteDimension:{numRow:0,numColumn:0},shouldIgnoreClipStartTS:!1},n}babelHelpers.inheritsLoose(t,e);var n=t.prototype;return n.shouldComponentUpdate=function(t,n){return r("shallowCompare")(this,t,n)},n.onDragNubBeginImpl=function(t,n){var e=this.$12();this.setState({nubEngaged:!0,scrubRatio:d(n,e)}),this.props.onScrubBegin&&this.props.onScrubBegin(),t.stopPropagation(),t.preventDefault()},n.onDragNubBeginClick=function(t){t.button===0&&this.onDragNubBeginImpl(t,t.clientX)},n.onDragNubBeginTouch=function(t){if(!this.props.alwaysShowThumbnail){var e=t.changedTouches;if(e!=null){var n=e[0];n!=null&&(this.$11=n.identifier,this.onDragNubBeginImpl(t,n.clientX))}}},n.UNSAFE_componentWillReceiveProps=function(t){if(this.setState({awaitingUpdate:!1}),this.props.alwaysShowThumbnail){this.$9=null,this.$8=null;var e=this.$12(),n=e.x+e.width*this.getPlayedRatio(t.playbackDuration,t.playbackPosition);this.$13(n,e)}},n.componentDidUpdate=function(t,n){var e=this;if(!n.nubEngaged&&this.state.nubEngaged){var o;this.$1=(o=r("EventListener")).listen(document,"mousemove",function(t){var n=t.clientX;e.onDragNubUpdate(n),t.preventDefault(),t.stopPropagation()}),this.$2=o.listen(document,"mouseup",function(t){var n=t.clientX;e.onDragNubRelease(n),t.preventDefault(),t.stopPropagation()}),this.$4=o.listen(document,"touchmove",function(t){var n=m(t.changedTouches,e.$11);n!=null&&(e.onDragNubUpdate(n.clientX),t.preventDefault(),t.stopPropagation())}),this.$3=o.listen(document,"touchend",function(t){var n=m(t.changedTouches,e.$11);n!=null&&(e.$11=null,e.onDragNubRelease(n.clientX),t.preventDefault(),t.stopPropagation())})}else n.nubEngaged&&!this.state.nubEngaged&&(this.$1&&this.$1.remove(),this.$2&&this.$2.remove(),this.$4&&this.$4.remove(),this.$3&&this.$3.remove());!n.mouseOver&&this.state.mouseOver?this.$5=r("EventListener").listen(document,"mousemove",function(t){var n=e.$12();e.$13(t.clientX,n),t.preventDefault(),t.stopPropagation()}):n.mouseOver&&!this.state.mouseOver&&this.$5&&this.$5.remove()},n.$13=function(t,n){var e,r=this.props.playbackDuration;if(r){var o=d(t,n)*r,a=(e=this.$8)!=null?e:this.$14();if(this.props.hasScrubberPreview)this.props.previewThumbnailInformation&&(this.state.previewThumbnailInformation.previewScrubberWidth===0&&this.retrievePreviewThumbnailInfo(),this.state.previewThumbnailInformation.useScrubberVideo&&this.state.previewThumbnailInformation.scrubberVideoURI!==null?this.updatePreviewThumbnailVideo(o,a,t):this.props.scrubberPreviewSprites&&this.updatePreviewThumbnail(this.props.scrubberPreviewSprites,o,a,t));else{var i=d(t,n)-Math.ceil(a.width/2)/n.width;this.setState({timecodeTimestamp:o,timecodeRatio:i})}}},n.updatePreviewThumbnail=function(t,n,r,o){this.setState({timecodeTimestamp:n});var e=Math.floor(n);if(this.isSpriteMapURIFetched()||(this.$6=t),this.state.previewThumbnailInformation){var a=this.state.previewThumbnailInformation;this.updatePreviewThumbnailImage(e,a)}this.updatePreviewThumbnailLocation(r,o)},n.updatePreviewThumbnailVideo=function(t,n,r){this.setState({timecodeTimestamp:t});var e=o("ReactDOM_DEPRECATED").findDOMNode_DEPRECATED(this.refs.previewThumbnailVideo);e.currentTime=t/30,this.updatePreviewThumbnailLocation(n,r)},n.updatePreviewThumbnailLocation=function(t,n){var e,r,o=(e=this.$9)!=null?e:this.$15(),a=(r=this.$7)!=null?r:this.$12(),i=d(n,a)-Math.ceil(o.width/2)/a.width,l=(o.width-t.width)/(2*o.width);this.setState({timecodeRatio:l,previewRatio:i})},n.updatePreviewThumbnailImage=function(t,n){var e=o("VideoScrubberPreviewSpriteCalculation").getImageCoordinatesInSpriteByTime(t,n),r=o("VideoScrubberPreviewSpriteCalculation").getSpriteIndex(t,n.maxImagesPerSprite,n.timeIntervalBetweenImages);if(r==this.getNumberOfSprites()&&this.state.lastSpriteDimension.numRow==0&&this.$6){var a=this.$6.get(r),i=new Image,l=this.onLastImageLoad.bind(this);i.onload=function(){l(this.width,this.height)},i.src=a}this.setState({scrubberPreviewSpriteIndex:r,scrubberPreviewBackgroundPosition:e})},n.onLastImageLoad=function(t,n){this.setState({lastSpriteDimension:{numRow:n/this.state.previewThumbnailInformation.previewScrubberHeight,numColumn:t/this.state.previewThumbnailInformation.previewScrubberWidth}})},n.retrievePreviewThumbnailInfo=function(){this.setState({previewThumbnailInformation:this.props.previewThumbnailInformation})},n.isSpriteMapURIFetched=function(){return this.$6?this.$6.size>1:!1},n.$12=function(){var e=r("getElementPosition")(o("ReactDOM_DEPRECATED").findDOMNode_DEPRECATED(this.refs.bar));return this.$7=e,e},n.$14=function(){var e=r("getElementPosition")(o("ReactDOM_DEPRECATED").findDOMNode_DEPRECATED(this.refs.timecode));return this.$8=e,e},n.$15=function(){var e=r("getElementPosition")(o("ReactDOM_DEPRECATED").findDOMNode_DEPRECATED(this.refs.previewThumbnailContainer));return this.$9=e,e},n.onDragNubUpdate=function(t){var e=this.$12();this.$13(t,e),this.setState({scrubRatio:d(t,e)})},n.onDragNubRelease=function(t){var e=this.$12();this.$13(t,e);var n=this.props.playbackDuration,r=d(t,e),a=this.state.awaitingUpdate;if(n){var i=r*n;this.props.onScrubEnd&&(this.props.onScrubEnd(i),a=!0);var l=this.props.videoClipInfo;l&&l.start_time_in_ms!==null&&i<=l.start_time_in_ms/o("DateConsts").MS_PER_SEC&&this.setState({shouldIgnoreClipStartTS:!0})}else this.props.onScrubEnd&&this.props.onScrubEnd(0);this.setState({nubEngaged:!1,awaitingUpdate:a,scrubRatio:r})},n.renderNub=function(){var e=c.jsx("div",{ref:r("stringRefShim")(this,"nub"),className:"_2yua _4sxb"+(this.props.showVideoSliderWarningTooltip?" _83lq":""),onMouseEnter:this.onMouseEnterScrubberNub,onMouseLeave:this.onMouseLeaveScrubberNub});return this.props.showVideoSliderWarningTooltip?c.jsx(r("Tooltip.react"),{className:"_83lm _4sxb",tooltip:"Rewinding, pausing or skipping ahead in the video will be seen by all viewers.",children:e}):e},n.getPlayedRatio=function(t,n){if(this.state.nubEngaged||this.state.awaitingUpdate)return this.state.scrubRatio;if(!t||!n)return 0;var e=n/t;return this.getRangeLimitedRatio(e)},n.getBufferedRatio=function(){var e=this.props.playbackDuration,t=this.props.bufferedPosition;if(!e||!t)return 0;var n=t/e;return this.getRangeLimitedRatio(n)},n.getRangeLimitedRatio=function(t){return isNaN(t)||t<0||t>1?0:t},n.getNumberOfSprites=function(){return this.$6?this.$6.size:0},n.getAdBreakIndicators=function(){if(!this.props.playbackDuration||!this.props.adBreaks)return null;for(var e=[],t=0;t<this.props.adBreaks.length;t++){var n=this.props.adBreaks[t],a=n.getTimeOffsetInMs();if(a!=null){a/=o("DateConsts").MS_PER_SEC;var i=this.props.playbackDuration;if(!(a<0||a>i)){var l={left:a/i*100+"%"},s=[];this.props.adBreaksDisableReasons&&(s=this.props.adBreaksDisableReasons[t]);var u="[FB Only] The in-stream ad is disabled for "+s.join(", ")+".";e.push(c.jsx("div",{style:l,className:(s.length===0?"_1p4l":"")+(s.length>0?" _1p4m":"")+(n.getIsAdBreakAutoInserted()&&s.length===0?" _1p4n":"")+(n.getIsAdBreakAutoInserted()&&s.length>0?" _1p4o":""),children:s.length>0?c.jsx(r("Tooltip.react"),{tooltip:u,children:"X"}):null},"ad_break_indicator_"+t))}}}return c.jsx("div",{children:e})},n.getInsertedAdBreaks=function(){var e=this;if(!this.props.playbackDuration||!this.props.insertedAdBreaks)return null;var t=[];return this.props.insertedAdBreaks.map(function(n,r){var o=n.timeOffset,a=e.props.playbackDuration,i={left:"calc("+o/a*100+"% - 2px)"};t.push(c.jsx("div",{style:i,className:(e.props.isAdBreakInsertionWithoutGapRule?"":"_1p4q")+(e.props.isAdBreakInsertionWithoutGapRule?" _1p4r":"")+(e.props.isAdBreakDisabled?" _1p4s":""),children:e.props.isAdBreakInsertionWithoutGapRule?null:r+1},"inserted_ad_break"+r))}),c.jsx("div",{children:t})},n.getEligibleAdBreaksTimeSegments=function(){var e=this;if(!this.props.playbackDuration||!this.props.insertedAdBreaks||this.props.isAdBreakInsertionWithoutGapRule&&this.props.insertedAdBreaks&&this.props.insertedAdBreaks.length>=r("VideoInstreamAdsConstants.experimental").AD_INSERTION_MAXIMUM_NUMBER_OF_AD_BREAKS)return null;var t=0;this.state.awaitingUpdate?t=this.$10:t=this.props.playbackPosition;var n=this.props.playbackDuration,a=o("VideoInstreamUtils").getEligibleTimeSegments(this.props.insertedAdBreaks,n,!this.props.isAdBreakInsertionWithoutGapRule);this.state.nubEngaged?this.$10=this.state.timecodeTimestamp:this.$10=t;var i=[];return a.forEach(function(t,r){var o=(t.end-t.start)/n*100,a=e.$10>=t.start&&e.$10<=t.end,l={left:"calc("+t.start/n*100+"% - 2px)",width:o+"%"};i.push(c.jsx("span",{className:"_1p4t"+(a?" _1p4u":""),style:l},"time_segment"+r))}),c.jsx("div",{className:"_1p50",children:i})},n.getInsertedStarsCues=function(){var e=this.props.selectedStarsCueTimestamp;if(!this.props.playbackDuration||e==null)return null;var t=this.props.playbackDuration,n={left:"calc("+e/t*100+"% - 10px)"},o={left:"calc("+e/t*100+"% - 3px)"};return c.jsxs("div",{children:[c.jsx(r("Image.react"),{src:u("1198335"),style:n,className:"_9evr"}),c.jsx("div",{style:o,className:"_9evs"})]})},n.getEligibleStarsCueTimeSegments=function(){var e=this,t=10;if(!this.props.playbackDuration||this.props.showEligibleStarsCueTimeSegments!==!0)return null;var n=0;this.state.awaitingUpdate?n=this.$10:n=this.props.playbackPosition;var r=this.props.playbackDuration,o=[{start:t,end:r}];this.state.nubEngaged?this.$10=this.state.timecodeTimestamp:this.$10=n;var a=[];return o.forEach(function(t,n){var o=(t.end-t.start)/r*100,i=e.$10>=t.start&&e.$10<=t.end,l={left:"calc("+t.start/r*100+"% - 2px)",width:o+"%"};a.push(c.jsx("span",{className:"_9evt"+(i?" _1p4u":""),style:l},"time_segment"+n))}),c.jsx("div",{className:"_9evu",children:a})},n.getPollTimeSegments=function(){var e,t=this;if(!this.props.playbackDuration)return null;var n=0;if(!this.props.showPollCard)return null;this.state.awaitingUpdate?n=this.$10:n=this.props.playbackPosition;var o=this.props.playbackDuration,a=(e=this.props.pollTimestamps)!=null?e:[];this.state.nubEngaged?this.$10=this.state.timecodeTimestamp:this.$10=n;var i=[];return a.forEach(function(e,n){var a={left:"calc("+e/o*100+"%)"},l=t.$10>=e;i.push(c.jsx(r("ClickableArea.react"),{onClick:function(o){o.stopPropagation(),o.persist(),t.props.onScrubEnd(e),r("Arbiter").inform("PollIconClicked")},children:c.jsx("span",{className:"_80r-",style:a,children:c.jsx(r("Image.react"),{className:"_80rd",src:u(l?"936893":"936896")})},"poll_segment"+n)},n)),i.push(c.jsx("span",{className:"_80re",style:a},"time_segment"+n))}),c.jsx("div",{className:"_80rf",children:i})},n.onMouseEnter=function(t){this.props.alwaysShowThumbnail||(this.$12(),this.setState({mouseOver:!0}))},n.onMouseLeave=function(t){this.props.alwaysShowThumbnail||(o("ReactDOM_DEPRECATED").findDOMNode_DEPRECATED(this.refs.bar).blur(),this.setState({mouseOver:!1}),this.state.nubEngaged||this.setState({scrubberPreviewSpriteIndex:0,scrubberPreviewBackgroundPosition:{x:0,y:0}}),this.$9=null,this.$8=null)},n.onMouseEnterOnThumbnailOrTimecode=function(t){if(!(this.state.nubEngaged||this.props.alwaysShowThumbnail)){var e;this.props.hasScrubberPreview?e=this.refs.previewThumbnailContainer:e=this.refs.timecode;var n=o("ReactDOM_DEPRECATED").findDOMNode_DEPRECATED(e);n.style.visibility="hidden"}},n.onMouseLeaveOnThumbnailOrTimecode=function(t){if(!(this.state.nubEngaged||this.props.alwaysShowThumbnail)){var e;this.props.hasScrubberPreview?e=this.refs.previewThumbnailContainer:e=this.refs.timecode;var n=o("ReactDOM_DEPRECATED").findDOMNode_DEPRECATED(e);n.style.visibility="visible"}},n.onKeyDown=function(t){var e=this.props.playbackDuration,n=this.props.playbackPosition;if(!(!e||!n)){var o=n;if(t.keyCode===r("Keys").RIGHT){if(t.preventDefault(),t.stopPropagation(),this.props.isLiveVideo&&this.props.onLiveRewindSeekForward){this.props.onLiveRewindSeekForward();return}o+=5,o>=e&&(o=e-.01)}else if(t.keyCode===r("Keys").LEFT){if(t.preventDefault(),t.stopPropagation(),this.props.isLiveVideo&&this.props.onLiveRewindSeekBack){this.props.onLiveRewindSeekBack();return}o-=5,o<0&&(o=0)}else if(t.keyCode===r("Keys").HOME){if(t.preventDefault(),t.stopPropagation(),this.props.isLiveVideo&&this.props.onLiveRewindToBeginning){this.props.onLiveRewindToBeginning();return}o=0}else if(t.keyCode===r("Keys").END){if(t.preventDefault(),t.stopPropagation(),this.props.isLiveVideo&&this.props.onLiveRewindToLive){this.props.onLiveRewindToLive();return}o=e-.01}else return;this.props.onScrubEnd&&this.props.onScrubEnd(o)}},n.render=function(){var e=r("joinClasses")(this.props.className,"_2yu5"+(this.state.nubEngaged?" _2yu6":"")),t=(this.props.hasScrubberPreview?"_3iit":"")+(this.props.hasScrubberPreview?"":" _3iiu"),n={width:this.getPlayedRatio(this.props.playbackDuration,this.props.playbackPosition)*100+"%"},a={width:this.getBufferedRatio()*100+"%"},i=this.props.videoClipInfo,l="0%";if(i){var s=this.getRangeLimitedRatio(i.start_time_in_ms/o("DateConsts").MS_PER_SEC/this.props.playbackDuration);l=s*100+"%",this.state.shouldIgnoreClipStartTS||(n={width:this.getRangeLimitedRatio(this.getPlayedRatio(this.props.playbackDuration,this.props.playbackPosition)-s)*100+"%",marginLeft:l},a={width:this.getRangeLimitedRatio(this.getBufferedRatio()-s)*100+"%",marginLeft:l})}var u={left:this.state.timecodeRatio*100+"%",display:this.state.hoverNub?"none":"block"},d={},m={},p=null,_=null,f=null;if((this.state.mouseOver||this.state.nubEngaged||this.props.alwaysShowThumbnail)&&(f=c.jsx(r("VideoPlaybackTimer.react"),{className:t,isInScrubberPreview:!0,onMouseEnter:this.onMouseEnterOnThumbnailOrTimecode.bind(this),onMouseLeave:this.onMouseLeaveOnThumbnailOrTimecode.bind(this),playbackPosTimestamp:0,ref:r("stringRefShim")(this,"timecode"),remainingTimestamp:this.state.timecodeTimestamp,style:u}),this.props.hasScrubberPreview&&this.state.previewThumbnailInformation)){var g=this.state.previewThumbnailInformation.previewScrubberWidth,h=this.state.previewThumbnailInformation.previewScrubberHeight,y=100,C=100;this.getNumberOfSprites()!==this.state.scrubberPreviewSpriteIndex?(y*=this.state.previewThumbnailInformation.imagesPerRow,C*=this.state.previewThumbnailInformation.imagesPerColumn):this.state.lastSpriteDimension.numRow&&(y*=this.state.lastSpriteDimension.numRow,C*=this.state.lastSpriteDimension.numColumn);var b=this.state.previewThumbnailInformation.stereoMode;b==="left-right"?(g/=2,y*=2):b==="top-bottom"&&(h/=2,C*=2);var v=1;if(this.props.isFullscreen?v=1.5:this.props.isInTahoe&&(v=1.2),this.state.previewThumbnailInformation.useScrubberVideo&&this.state.previewThumbnailInformation.scrubberVideoURI!==null)d={width:g*v+"px",height:h*v+"px"},_=c.jsx("video",{muted:"true",preload:"auto",ref:r("stringRefShim")(this,"previewThumbnailVideo"),src:this.state.previewThumbnailInformation.scrubberVideoURI,style:d});else if(this.$6){var S="";if(this.state.scrubberPreviewSpriteIndex){var R=this.$6.get(this.state.scrubberPreviewSpriteIndex);R!=null&&R!==""&&(S="url("+R+")")}var L;y>100?L=y+"% "+C+"%":S="",d={width:g*v+"px",height:h*v+"px",backgroundImage:S,backgroundPosition:"-"+this.state.scrubberPreviewBackgroundPosition.x*v+"px -"+this.state.scrubberPreviewBackgroundPosition.y*v+"px",backgroundSize:L},_=c.jsx("div",{className:"_3iiw",ref:r("stringRefShim")(this,"previewThumbnail"),style:d})}m={left:this.state.previewRatio*100+"%",display:this.props.alwaysShowThumbnail?"block":void 0},p=c.jsxs("div",{onMouseEnter:this.onMouseEnterOnThumbnailOrTimecode.bind(this),onMouseLeave:this.onMouseLeaveOnThumbnailOrTimecode.bind(this),className:"_3iiv",ref:r("stringRefShim")(this,"previewThumbnailContainer"),style:m,children:[_,f]})}var E=null;this.props.pointsOfInterest.length>0&&(E=c.jsx(r("VideoScrubberPointOfInterestBar.react"),{tabIndex:this.props.tabIndex,playbackDuration:this.props.playbackDuration,onPointOfInterestSelect:this.props.onPointOfInterestSelect,currentPointOfInterest:this.props.currentPointOfInterest,pointsOfInterest:this.props.pointsOfInterest,showPointOfInterestTimestamps:this.props.showPointOfInterestTimestamps}));var k=null,I=this.getAdBreakIndicators(),T=this.props.playbackDuration>500?10:1,D=Math.round(this.getPlayedRatio(this.props.playbackDuration,this.props.playbackPosition)*100*T)/T,x="Current position is "+D+"%",$=this.props.isFullscreen||this.props.isInTahoe,P=c.jsx("div",{className:e,onKeyDown:this.onKeyDown.bind(this),onMouseDown:this.onDragNubBeginClick.bind(this),onMouseEnter:this.onMouseEnter.bind(this),onMouseLeave:this.onMouseLeave.bind(this),onTouchStart:this.onDragNubBeginTouch.bind(this),children:c.jsxs("div",{tabIndex:this.props.tabIndex,role:"slider","aria-orientation":"horizontal","aria-valuemin":"0","aria-valuemax":this.props.playbackDuration,"aria-valuenow":this.props.playbackPosition,"aria-valuetext":x,className:"_2yu7",ref:r("stringRefShim")(this,"bar"),children:[c.jsx("div",{className:"_2yu8",style:a}),c.jsx("div",{style:n,className:(this.props.isLiveVideo?"":"_2yu9")+(this.props.isLiveVideo&&!this.props.isLiveRewound?" _1p51":"")+(this.props.isLiveRewound?" _1p52":""),children:this.renderNub()}),i?c.jsx("div",{className:"_355j",style:{width:l},children:c.jsx(r("ProfileTile.react"),{id:i.sharer_id,size:$?32:24,imageProps:{className:"_355k"},tileProps:{className:"_355n",style:{marginTop:$?-16:-10}}})}):null,this.props.hasScrubberPreview?p:f,I,this.getInsertedAdBreaks(),this.getInsertedStarsCues(),this.getEligibleAdBreaksTimeSegments(),this.getEligibleStarsCueTimeSegments(),this.getPollTimeSegments()]})});return c.jsxs("div",{children:[k,P,E]})},t})(c.Component);p.defaultProps={alwaysShowThumbnail:!1,annotatedMomentsOfInterest:{},hasScrubberPreview:!1,isAdBreakInsertionWithoutGapRule:!1,isFullscreen:!1,isInTahoe:!1,isLiveRewound:!1,isLiveVideo:!1,isPlaying:!1,pointsOfInterest:[],onAnnotatedMomentOfInterestSelect:r("emptyFunction"),onPointOfInterestSelect:r("emptyFunction"),onScrubBegin:r("emptyFunction"),onScrubEnd:r("emptyFunction"),showEligibleStarsCueTimeSegments:!1,showPointOfInterestTimestamps:!1,showPollCard:!1,showVideoSliderWarningTooltip:!1,selectedStarsCueTimestamp:null},l.default=p}),98);
__d("VideoVolumeSlider.react",["cx","EventListener","ReactDOM_DEPRECATED","getElementPosition","react","shallowCompare","stringRefShim"],(function(t,n,r,o,a,i,l,s){var e,u=e||(e=o("react")),c=(function(e){function t(t){var n;return n=e.call(this,t)||this,n.state={awaitingUpdate:!1,engaged:!1,volume:t.volume},n}babelHelpers.inheritsLoose(t,e);var n=t.prototype;return n.shouldComponentUpdate=function(t,n){return r("shallowCompare")(this,t,n)},n.UNSAFE_componentWillReceiveProps=function(t){this.setState({awaitingUpdate:!1})},n.componentDidUpdate=function(t,n){if(!this.state.engaged&&n.engaged)this.$2&&this.$2.remove(),this.$1&&this.$1.remove(),this.$3&&this.$3.remove(),this.$4&&this.$4.remove();else if(this.state.engaged&&!n.engaged){var e;this.$1=(e=r("EventListener")).listen(document,"mousemove",this.onMouseMove.bind(this)),this.$2=e.listen(document,"mouseup",this.onMouseUpImpl.bind(this)),this.$3=e.listen(document,"touchmove",this.onTouchMove.bind(this)),this.$4=e.listen(document,"touchend",this.onMouseUpImpl.bind(this))}},n.onMouseDownImpl=function(t,n,r){this.props.onVolumeChangeBegin&&this.props.onVolumeChangeBegin(this.state.volume),this.props.isHorizontal?this.setState({engaged:!0,volume:this.getClampedClickPositionVolume(n)}):this.setState({engaged:!0,volume:this.getClampedClickPositionVolume(r)}),t.preventDefault(),t.stopPropagation()},n.onMouseDown=function(t){t.button===0&&this.onMouseDownImpl(t,t.clientX,t.clientY)},n.onTouchDown=function(t){this.onMouseDownImpl(t,t.touches[0].clientX,t.touches[0].clientY)},n.getClampedClickPositionVolume=function(t){var e=r("getElementPosition")(o("ReactDOM_DEPRECATED").findDOMNode_DEPRECATED(this.refs.slider)),n=r("getElementPosition")(o("ReactDOM_DEPRECATED").findDOMNode_DEPRECATED(this.refs.nub)).height;if(this.props.isHorizontal){var a=t+n/2-e.x;return Math.max(0,Math.min(1,a/e.width))}else{var i=e.y-t+e.height+n/2;return Math.max(0,Math.min(1,i/e.height))}},n.onMouseUpImpl=function(t){this.props.onVolumeChangeEnd&&this.props.onVolumeChangeEnd(this.state.volume),this.setState({engaged:!1,awaitingUpdate:!0}),t.preventDefault(),t.stopPropagation()},n.onMouseMoveImpl=function(t,n,r){this.props.isHorizontal?this.setState({volume:this.getClampedClickPositionVolume(n)}):this.setState({volume:this.getClampedClickPositionVolume(r)}),this.props.onVolumeChange&&this.props.onVolumeChange(this.state.volume),t.preventDefault(),t.stopPropagation()},n.onMouseMove=function(t){this.onMouseMoveImpl(t,t.clientX,t.clientY)},n.onTouchMove=function(t){this.onMouseMoveImpl(t,t.touches[0].clientX,t.touches[0].clientY)},n.getVolume=function(){return this.state.engaged||this.state.awaitingUpdate?this.state.volume:this.props.volume},n.render=function(){var e=this.props.isHorizontal||!1,t=e?{width:Math.round(this.getVolume()*100)+"%"}:{height:Math.round(this.getVolume()*100)+"%"},n="_3pao"+(e?" _4sx9":"")+(this.state.engaged?" _2yu6":"");return u.jsxs("div",{className:n,onMouseDown:this.onMouseDown.bind(this),onTouchStart:this.onTouchDown.bind(this),children:[u.jsx("div",{className:"_4sxa",children:u.jsx("div",{className:"_3paq",ref:r("stringRefShim")(this,"slider"),children:u.jsx("div",{className:"_3par",style:t,children:u.jsx("div",{className:"_3pas _4sxb",ref:r("stringRefShim")(this,"nub")})})})}),u.jsx("div",{className:"_3pat"})]})},t})(u.Component);c.defaultProps={volume:0,onVolumeChange:function(t){},onVolumeChangeBegin:function(t){},onVolumeChangeEnd:function(t){}},l.default=c}),98);
__d("VideoVolumeControl.react",["cx","fbt","invariant","ix","AbstractButton.react","Image.react","Keys","ReactDOM_DEPRECATED","TooltipData","VideoPlayerVolumeSettings","VideoVolumeSlider.react","react","shallowCompare","stringRefShim"],(function(t,n,r,o,a,i,l,s,u,c,d){var e,m=e||(e=o("react")),p=(function(e){function t(t){var n;return n=e.call(this,t)||this,n.state={nubEngaged:!1,focused:!1,lastVolumeBeforeMute:1},n}babelHelpers.inheritsLoose(t,e);var n=t.prototype;return n.shouldComponentUpdate=function(t,n){return r("shallowCompare")(this,t,n)},n.onButtonClick=function(){if(this.checkLastVolumeBeforeMuteInvariant(),this.props.volume===0)return this.onSliderVolumeChange(this.state.lastVolumeBeforeMute);this.props.onToggleMuted&&this.props.onToggleMuted()},n.onButtonFocus=function(){this.setState({focused:!0})},n.onButtonBlur=function(){this.setState({focused:!1})},n.onKeyDown=function(t){var e=this.props.volume;if(t.keyCode===r("Keys").UP)t.preventDefault(),t.stopPropagation(),e+=.05,e>1&&(e=1);else if(t.keyCode===r("Keys").DOWN)t.preventDefault(),t.stopPropagation(),e-=.05,e<0&&(e=0);else return;this.onSliderVolumeChangeEnd(e)},n.onMouseOut=function(t){o("ReactDOM_DEPRECATED").findDOMNode_DEPRECATED(this.refs.button).blur()},n.getVolume=function(){return this.props.isMuted?0:this.props.volume},n.onSliderVolumeChangeBegin=function(){var e=this.props.volume;e>0&&(this.setState({nubEngaged:!0,lastVolumeBeforeMute:e}),r("VideoPlayerVolumeSettings").saveLastVolumeBeforeMute(e))},n.onSliderVolumeChangeEnd=function(t){t>0?(this.setState({lastVolumeBeforeMute:t}),r("VideoPlayerVolumeSettings").saveLastVolumeBeforeMute(t),this.onSliderVolumeChange(t)):(this.props.onVolumeChange(this.state.lastVolumeBeforeMute),this.props.isMuted||this.props.onToggleMuted&&this.props.onToggleMuted()),this.setState({nubEngaged:!1})},n.onSliderVolumeChange=function(t){(t>0&&this.props.isMuted||t===0&&!this.props.isMuted)&&this.props.onToggleMuted&&this.props.onToggleMuted(),this.props.onVolumeChange&&this.props.onVolumeChange(t)},n.checkLastVolumeBeforeMuteInvariant=function(){this.state.lastVolumeBeforeMute>0&&this.state.lastVolumeBeforeMute<=1||c(0,2385)},n.render=function(){var e=Math.round(this.getVolume()*100),t=null,n="";if(this.props.isAudioBlocked)n=u._(/*BTDS*/"A hang nem \u00e9rhet\u0151 el."),t=m.jsx("div",{children:m.jsx(r("Image.react"),{className:"_rwt",src:this.props.useDarkTheme?d("797748"):d("660433")})});else if(e==0)t=m.jsx(r("Image.react"),{className:"_rwt",src:this.props.useDarkTheme?d("462991"):d("462993")});else{var a=null;e<=33?a=this.props.useDarkTheme?d("462983"):d("462984"):e<=66?a=this.props.useDarkTheme?d("462987"):d("462988"):a=this.props.useDarkTheme?d("462971"):d("443962"),t=m.jsx("div",{className:"_1age",children:m.jsx("div",{className:"_1agf",children:m.jsx(r("Image.react"),{className:"_rwt",src:a})})})}var i="_2swo"+(this.state.nubEngaged?" _2yu6":"")+(this.state.focused?" _2iw8":""),l="_zbd _1agg",s=this.getVolume()?u._(/*BTDS*/"N\u00e9m\u00edt\u00e1s"):u._(/*BTDS*/"N\u00e9m\u00edt\u00e1s felold\u00e1sa"),c=this.props.isAudioBlocked?null:m.jsx(r("VideoVolumeSlider.react"),{onVolumeChangeBegin:this.onSliderVolumeChangeBegin.bind(this),onVolumeChangeEnd:this.onSliderVolumeChangeEnd.bind(this),onVolumeChange:this.onSliderVolumeChange.bind(this),isHorizontal:this.props.isHorizontal||!1,volume:this.getVolume()}),p=m.jsx(r("AbstractButton.react"),babelHelpers.extends({},o("TooltipData").propsFor(n,"above"),{className:l,"data-testid":void 0,image:t,label:s,labelIsHidden:!0,onBlur:this.onButtonBlur.bind(this),onClick:this.onButtonClick.bind(this),onFocus:this.onButtonFocus.bind(this),onKeyDown:this.onKeyDown.bind(this),onMouseOut:this.onMouseOut.bind(this),ref:r("stringRefShim")(this,"button"),tabIndex:this.props.tabIndex,type:"button"}));return this.props.isHorizontal?m.jsxs("div",{className:i,children:[p,c]}):m.jsxs("div",{className:i,children:[c,p]})},t})(m.Component);p.defaultProps={isAudioBlocked:!1,useDarkTheme:!1},l.default=p}),226);
__d("lazyLoadComponent",["BootloaderResource","cr:2448","react","react-compiler-runtime"],(function(t,n,r,o,a,i,l){var e=["ref"],s,u=s||(s=o("react")),c=new Map;function d(e,t){c.set(e,t)}function m(e){return c.get(e)}function p(t){var r=m(t);if(r)return r;function a(r){var a=o("react-compiler-runtime").c(7),i,l;a[0]!==r?(l=r.ref,i=babelHelpers.objectWithoutPropertiesLoose(r,e),a[0]=r,a[1]=i,a[2]=l):(i=a[1],l=a[2]);var s=l===void 0?void 0:l,c;a[3]===Symbol.for("react.memo_cache_sentinel")?(c=o("BootloaderResource").read(t),a[3]=c):c=a[3];var d=c;n("cr:2448")(t);var m;return a[4]!==i||a[5]!==s?(m=u.jsx(d,babelHelpers.extends({},i,{ref:s})),a[4]=i,a[5]=s,a[6]=m):m=a[6],m}return a.displayName="lazyLoadComponent("+t.getModuleId()+")",d(t,a),a}l.default=p}),98);
__d("VideoControls.react",["cx","fbt","ix","AbstractButton.react","BootloadedComponent.react","FluxContainer","Image.react","JSResource","LiveVideoRewindTypedLogger","TooltipData","VideoClipButton.react","VideoFBIconControl.react","VideoFullscreenControl.react","VideoPlaybackControl.react","VideoPlaybackRateControl.react","VideoPlaybackTimer.react","VideoPlayerExperiments","VideoPollCardDispatcher","VideoPollCardStore","VideoScrubber.react","VideoVolumeControl.react","emptyFunction","immutable","joinClasses","lazyLoadComponent","react","shallowCompare","stringRefShim"],(function(t,n,r,o,a,i,l,s,u,c){var e,d=e||(e=o("react")),m=r("lazyLoadComponent")(r("JSResource")("VideoActionsControl.react").__setRef("VideoControls.react")),p=36,_=(function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return t=e.call.apply(e,[this].concat(r))||this,t.state={pollCardsActiveForVPC:{}},babelHelpers.assertThisInitialized(t)||babelHelpers.assertThisInitialized(t)}babelHelpers.inheritsLoose(t,e),t.getStores=function(){return[r("VideoPollCardStore")]},t.calculateState=function(){var e=r("VideoPollCardStore").getState(),t=e.pollCardsActiveForVPC;return{pollCardsActiveForVPC:t}};var n=t.prototype;return n.UNSAFE_componentWillMount=function(){r("VideoPollCardDispatcher").explicitlyRegisterStores(t.getStores())},n.shouldComponentUpdate=function(t,n){return r("shallowCompare")(this,t,n)},n.componentDidUpdate=function(){var e,t,n,o=!this.props.finishedPlaying&&(this.props.vpcID!==void 0?this.state.pollCardsActiveForVPC[(e=this.props.vpcID)!=null?e:""]!==null?((t=this.state.pollCardsActiveForVPC[(n=this.props.vpcID)!=null?n:""])!=null?t:r("immutable").List()).size===0:!0:!1);if(o&&(this.props.pollTimestamps&&this.props.pollTimestamps.length>0))this.props.drawer&&this.props.drawer.setHeight(55);else{var a=this.props.isInWatchAndScroll?55:p;this.props.drawer&&this.props.drawer.setHeight(a)}},n.isHidden=function(){return this.props.hidden},n.isTransparent=function(){return this.props.transparent},n.render=function(){var e=r("VideoPlayerExperiments").inlineSoundVisible,t="_1c7d"+(this.isHidden()?" _1c7e":"")+(this.isTransparent()&&!e?" _2oy-":""),n="_2w_u"+(this.props.showSidePaneToggle?" _vr5":"")+(this.props.useDarkTheme?" _vr6":""),a="_1c7f _1c7g"+(this.isTransparent()&&e?" _2oy-":""),i="_1c7f _2pvx"+(this.isTransparent()&&e?" _2oy-":""),l="_1c7f _1c7h"+(this.isTransparent()&&e?" _2oy-":""),s="_1c7f _w7o"+(this.isTransparent()&&(!this.props.isInline||this.props.isFullscreen||!this.props.isPlaying)?" _2oy-":""),p="_2w_w",_=!1;this.props.isLive&&this.props.isInTahoe&&(_=!0);var f="_1otk _3t1r _4ubd"+(_?" _w7y":""),g="_3t1r _4ubd _3t1s"+(this.props.isCommentAttachment?"":" hidden_elem"),h=null;if(!(this.props.isLive||this.props.isFBWasLive)&&!this.props.hideRemainingTime&&!this.props.isInWatchAndScroll){var y=this.props.playbackPosition-this.props.playbackDuration;h=d.jsx(r("VideoPlaybackTimer.react"),{className:"_5qsr"+(this.props.displayMilliseconds?" _w7-":""),isEmbedded:this.props.isEmbedded,playbackPosTimestamp:this.props.playbackPosition,playbackDurationTimestamp:this.props.playbackDuration,remainingTimestamp:y,displayElapsedTime:this.props.displayElapsedTime,displayMilliseconds:this.props.displayMilliseconds,displayBothTimes:!1})}var C=null,b=null,v=null,S=null,R=null,L=this.props,E=L.showInlineCopyLinkOption,k=L.showInlineVideoReportOption,I=k||E;if(!this.props.hideSettings&&!this.props.isInWatchAndScroll&&!this.props.isEmbedded&&I&&(S=d.jsx(d.Suspense,{fallback:d.jsx("span",{}),children:d.jsx(m,{disabled:this.props.isCasting,onActionsClicked:this.props.onActionsClick,permalinkURL:this.props.permalinkURL,showCopyLink:E,showReportVideo:k,tabIndex:0})})),(!this.props.isLive||this.props.hasHD)&&!this.props.hideSettings&&!this.props.isInWatchAndScroll&&r("VideoPlayerExperiments").redesign){var T,D;v=d.jsx(r("BootloadedComponent.react"),{bootloadLoader:r("JSResource")("VideoSettingsControl.react").__setRef("VideoControls.react"),bootloadPlaceholder:d.jsx("span",{}),disabled:this.props.isCasting,hasHD:this.props.hasHD,hasCaptions:this.props.hasCaptions,isHD:this.props.isHD,isInline:this.props.isInline,isLive:this.props.isLive,isSphericalVideo:this.props.isSphericalVideo,areCaptionsActive:this.props.areCaptionsActive,areCaptionsAutogenerated:this.props.areCaptionsAutogenerated,onSettingsClick:this.props.onSettingsClick,onToggleHD:this.props.onToggleHD,onToggleCaptions:this.props.onToggleCaptions,tabIndex:"0",availableQualities:this.props.availableQualities,selectedQuality:(T=this.props.selectedQuality)!=null?T:null,preferredQuality:(D=this.props.preferredQuality)!=null?D:null,canAutoSelectVideoQuality:this.props.canAutoSelectVideoQuality,onSelectQuality:this.props.onSelectQuality,showQualitySelector:this.props.showQualitySelector,qualitySelectorMinStreams:this.props.qualitySelectorMinStreams,streamingFormat:this.props.streamingFormat,videoID:this.props.videoID})}this.props.isLive&&r("VideoPlayerExperiments").hlsButton&&(R=d.jsx(r("BootloadedComponent.react"),{bootloadPlaceholder:d.jsx("span",{}),bootloadLoader:r("JSResource")("VideoToHLSControl.react").__setRef("VideoControls.react"),areHLSActive:this.props.areHLSActive,onToggleHLS:this.props.onToggleHLS,tabIndex:"0"}));var x=this.props.gamesVideoCreatorClipping&&(this.props.isInTahoe||this.props.isInline||this.props.gamesVideoClipButtonEnabled)&&this.props.gamesDefaultClipLengthInSec!=null&&this.props.gamesDefaultClipLengthInSec>0?d.jsx(r("VideoClipButton.react"),{onClipVideo:this.props.onClipVideo,defaultLengthInSec:this.props.gamesDefaultClipLengthInSec}):null,$=null;if(this.props.allowFullscreen)if(this.props.doesFullscreenEnterTahoe&&(this.props.isInline||this.props.isInWatchAndScroll)){var P=d.jsx(r("Image.react"),{className:"x1qx5ct2 xxymvpz xw4jnvo",src:c("407577")}),N=u._(/*BTDS*/"Kattints a nagy\u00edt\u00e1shoz");$=d.jsx(r("AbstractButton.react"),babelHelpers.extends({},o("TooltipData").propsFor(N,"above"),{className:"_zbd _400z _1vek",image:P,label:N,labelIsHidden:!0,onClick:this.props.onEnterTahoe,tabIndex:"0"}))}else{var M=this.props.isFullscreen?u._(/*BTDS*/"Ide kattintva kil\u00e9phetsz a teljes k\u00e9perny\u0151s n\u00e9zetb\u0151l."):u._(/*BTDS*/"Ide kattintva teljes k\u00e9perny\u0151s n\u00e9zetre v\u00e1lthatsz.");$=d.jsx(r("VideoFullscreenControl.react"),babelHelpers.extends({},o("TooltipData").propsFor(M,"above"),{disabled:this.props.isCasting&&!this.props.isFullscreen,isFullscreen:this.props.isFullscreen,onToggleFullscreen:this.props.onToggleFullscreen,tabIndex:"0"}))}var w=null;this.props.hasWatchAndScroll&&!this.props.isFullscreen&&!this.props.isInWatchAndScroll&&(w=d.jsx(r("BootloadedComponent.react"),{bootloadPlaceholder:d.jsx("span",{}),bootloadLoader:r("JSResource")("VideoWatchAndScrollControl.react").__setRef("VideoControls.react"),disabled:this.props.isCasting,onEnterWatchAndScroll:this.props.onEnterWatchAndScroll,isSlidingWNSEligible:this.props.isSlidingWNSEligible,onWNSNUXClose:this.props.onWNSNUXClose,showWNSNUX:this.props.showWNSNUX}));var A=null;this.props.allowCasting&&this.props.hasFoundReceiver&&(A=d.jsx(r("BootloadedComponent.react"),{bootloadPlaceholder:d.jsx("span",{}),bootloadLoader:r("JSResource")("VideoCastingControl.react").__setRef("VideoControls.react"),hasFoundReceiver:this.props.hasFoundReceiver,isCasting:this.props.isCasting,isCastingSupported:this.props.isCastingSupported,onStartCast:this.props.onStartCast,onStopCast:this.props.onStopCast}));var F=null;if(this.props.isEmbeddedPlayerRedesignEnabled)F=this.props.permalinkURL&&this.props.showPermalinkButton?d.jsx(r("VideoFBIconControl.react"),{permalinkURL:this.props.permalinkURL,playbackPosTimestamp:this.props.playbackPosition}):null;else{var O=null,B=this.props.isWatchIconEligible?c("909284"):c("804741");if(this.props.permalinkURL&&this.props.showPermalinkButton){O=d.jsx(r("Image.react"),{className:"x1qx5ct2 xxymvpz xw4jnvo",src:B});var W=u._(/*BTDS*/"Megnyit\u00e1s \u00faj lapon");F=d.jsx(r("AbstractButton.react"),babelHelpers.extends({},o("TooltipData").propsFor(W,"above"),{className:"_zbd",href:this.props.permalinkURL,image:O,label:W,labelIsHidden:!0,ref:r("stringRefShim")(this,"button"),tabIndex:"0",target:"_blank",type:"button"}))}}var q=null,U=null,V=null,H=null,G=null;if((this.props.isLive||this.props.isFBWasLive)&&this.props.showPlayButtonForLive&&!this.props.isLiveRewindEnabled)U=d.jsx(r("VideoPlaybackControl.react"),{finishedPlaying:this.props.finishedPlaying,isPlaying:this.props.isPlaying,onPause:this.props.onPause,onPlay:this.props.onPlay,useDarkTheme:this.props.useDarkTheme,tabIndex:"0"});else if(!(this.props.isLive||this.props.isFBWasLive)&&!this.props.hidePlaybackControl){if(U=d.jsx(r("VideoPlaybackControl.react"),{finishedPlaying:this.props.finishedPlaying,isPlaying:this.props.isPlaying,onPause:this.props.onPause,onPlay:this.props.onPlay,useDarkTheme:this.props.useDarkTheme,tabIndex:"0"}),this.props.showPlaybackRateControl&&this.props.onSetVideoPlaybackRate){var z=u._(/*BTDS*/"Lej\u00e1tsz\u00e1si sebess\u00e9g");V=d.jsx(r("VideoPlaybackRateControl.react"),babelHelpers.extends({},o("TooltipData").propsFor(z,"above"),{isEmbedded:this.props.isEmbedded,tabIndex:0,onSelectPlaybackRate:this.props.onSetVideoPlaybackRate}))}if(!this.props.hidePlaybackScrubber){var j,K,Q,X,Y=!this.props.finishedPlaying&&(this.props.vpcID!==void 0?this.state.pollCardsActiveForVPC[(j=this.props.vpcID)!=null?j:""]!==null?((K=this.state.pollCardsActiveForVPC[(Q=this.props.vpcID)!=null?Q:""])!=null?K:r("immutable").List()).size===0:!0:!1);q=d.jsx(r("VideoScrubber.react"),{adBreaks:this.props.adBreaks,adBreaksDisableReasons:this.props.adBreaksDisableReasons,annotatedMomentsOfInterest:this.props.annotatedMomentsOfInterest,bufferedPosition:this.props.bufferedPosition,controlsHidden:this.props.hidden,hasScrubberPreview:this.props.hasScrubberPreview,interestLevels:this.props.interestLevels,drawer:this.props.drawer,insertedAdBreaks:this.props.insertedAdBreaks,isAdBreakDisabled:this.props.isAdBreakDisabled,isAdBreakInsertionWithoutGapRule:this.props.isAdBreakInsertionWithoutGapRule,isFullscreen:this.props.isFullscreen,isPlaying:this.props.isPlaying,onScrubBegin:this.props.onScrubBegin,onScrubEnd:this.props.onScrubEnd,playbackDuration:this.props.playbackDuration,playbackPosition:this.props.playbackPosition,pollTimestamps:this.props.pollTimestamps,showPollCard:Y,onAnnotatedMomentOfInterestSelect:this.props.onAnnotatedMomentOfInterestSelect,previewThumbnailInformation:this.props.previewThumbnailInformation,scrubberPreviewSprites:this.props.scrubberPreviewSprites,showEligibleStarsCueTimeSegments:this.props.showEligibleStarsCueTimeSegments,selectedStarsCueTimestamp:this.props.selectedStarsCueTimestamp,onPointOfInterestSelect:this.props.onPointOfInterestSelect,currentPointOfInterest:this.props.currentPointOfInterest,pointsOfInterest:this.props.pointsOfInterest,showPointOfInterestTimestamps:this.props.showPointOfInterestTimestamps,showVideoSliderWarningTooltip:(X=this.props.showVideoSliderWarningTooltip)!=null?X:!1,tabIndex:0,isInTahoe:this.props.isInTahoe,videoClipInfo:this.props.videoClipInfo})}}var J=null;this.props.hideGradient||(J=d.jsx("div",{className:"_w80"+(this.isTransparent()?" _2oy-":"")+(this.props.useLargerGradient?" _8y-6":"")}));var Z=d.jsx(r("VideoVolumeControl.react"),{isAudioBlocked:this.props.isAudioBlocked,isMuted:this.props.isMuted,onToggleMuted:this.props.onToggleMuted,onVolumeChange:this.props.onVolumeChange,volume:this.props.volume,tabIndex:"0",useDarkTheme:this.props.useDarkTheme}),ee,te,ne,re,oe,ae,ie,le,se=this.props,ue=se.onLiveRewindSeekBack,ce=se.onLiveRewindSeekForward,de=se.onLiveRewindToBeginning,me=se.onLiveRewindToLive;if(this.props.isLiveRewindEnabled&&!this.props.isEmbedded){if(this.props.liveRelativePlaybackPosition!=null){var pe=this.props.liveRelativePlaybackPosition>this.props.playbackDuration?this.props.playbackDuration:this.props.liveRelativePlaybackPosition;if(ie=this.props.isInWatchAndScroll?null:d.jsx(r("VideoPlaybackTimer.react"),{className:"_3ek9 _5qsr"+(this.props.displayMilliseconds?" _w7-":""),displayElapsedTime:!0,displayMilliseconds:this.props.displayMilliseconds,isEmbedded:this.props.isEmbedded,isLiveVideo:!0,playbackPosTimestamp:pe,playbackDurationTimestamp:this.props.isFBWasLive?this.props.playbackDuration:void 0,displayBothTimes:this.props.isFBWasLive,remainingTimestamp:-1*(this.props.playbackDuration-pe)}),ae=d.jsx(r("VideoScrubber.react"),{adBreaks:this.props.adBreaks,adBreaksDisableReasons:this.props.adBreaksDisableReasons,bufferedPosition:this.props.bufferedPosition,className:"_3ek9",controlsHidden:this.props.hidden,currentPointOfInterest:this.props.currentPointOfInterest,drawer:this.props.drawer,hasScrubberPreview:this.props.hasScrubberPreview,interestLevels:this.props.interestLevels,insertedAdBreaks:this.props.insertedAdBreaks,isAdBreakDisabled:this.props.isAdBreakDisabled,isAdBreakInsertionWithoutGapRule:this.props.isAdBreakInsertionWithoutGapRule,isFullscreen:this.props.isFullscreen,isInTahoe:this.props.isInTahoe,isLiveRewound:this.props.isLiveRewound,isLiveVideo:!0,isPlaying:this.props.isPlaying,playbackDuration:this.props.playbackDuration,playbackPosition:this.props.isLiveRewound?pe:this.props.playbackDuration,pointsOfInterest:this.props.pointsOfInterest,previewThumbnailInformation:this.props.previewThumbnailInformation,scrubberPreviewSprites:this.props.scrubberPreviewSprites,showEligibleStarsCueTimeSegments:this.props.showEligibleStarsCueTimeSegments,selectedStarsCueTimestamp:this.props.selectedStarsCueTimestamp,showPointOfInterestTimestamps:this.props.showPointOfInterestTimestamps,tabIndex:0,onLiveRewindToBeginning:this.props.onLiveRewindToBeginning,onLiveRewindSeekBack:this.props.onLiveRewindSeekBack,onLiveRewindSeekForward:this.props.onLiveRewindSeekForward,onLiveRewindToLive:this.props.onLiveRewindToLive,onPointOfInterestSelect:this.props.onPointOfInterestSelect,onScrubBegin:this.props.onScrubBegin,onScrubEnd:this.props.onScrubEnd}),this.props.showPlaybackRateControl&&this.props.onSetVideoPlaybackRate&&this.props.isLiveRewound){var _e=u._(/*BTDS*/"Lej\u00e1tsz\u00e1si sebess\u00e9g");V=d.jsx(r("VideoPlaybackRateControl.react"),babelHelpers.extends({},o("TooltipData").propsFor(_e,"above"),{isEmbedded:this.props.isEmbedded,tabIndex:0,onSelectPlaybackRate:this.props.onSetVideoPlaybackRate}))}new(r("LiveVideoRewindTypedLogger"))().setEvent("render_rewind_controls").setVideoID(this.props.videoID).log()}ee=de&&!this.props.isInWatchAndScroll&&!this.props.isInline?d.jsx(r("BootloadedComponent.react"),{bootloadLoader:r("JSResource")("VideoLiveRewindControl.react").__setRef("VideoControls.react"),bootloadPlaceholder:d.jsx("span",{}),asset:c("465766"),tooltip:u._(/*BTDS*/"Ugr\u00e1s az elej\u00e9re"),onButtonClick:de}):null,le=this.props.isFBWasLive&&me&&!this.props.isInWatchAndScroll&&!this.props.isInline?d.jsx(r("BootloadedComponent.react"),{bootloadLoader:r("JSResource")("VideoLiveRewindControl.react").__setRef("VideoControls.react"),bootloadPlaceholder:d.jsx("span",{}),asset:c("465765"),tooltip:u._(/*BTDS*/"Ugr\u00e1s a v\u00e9g\u00e9re"),onButtonClick:me}):null,te=ue&&!this.props.isInWatchAndScroll?d.jsx(r("BootloadedComponent.react"),{bootloadLoader:r("JSResource")("VideoLiveRewindControl.react").__setRef("VideoControls.react"),bootloadPlaceholder:d.jsx("span",{}),asset:c("465767"),tooltip:u._(/*BTDS*/"Ugr\u00e1s vissza"),onButtonClick:ue}):null;var fe=this.props.isLiveRewound?u._(/*BTDS*/"Ugr\u00e1s el\u0151re"):void 0;ne=ce&&!this.props.isInWatchAndScroll&&!this.props.isInline?d.jsx(r("BootloadedComponent.react"),{bootloadLoader:r("JSResource")("VideoLiveRewindControl.react").__setRef("VideoControls.react"),bootloadPlaceholder:d.jsx("span",{}),asset:c("465768"),disabled:!this.props.isLiveRewound,tooltip:fe,onButtonClick:ce}):null;var ge=this.props.isLiveRewound?c("467224"):c("467223"),he=this.props.isLiveRewound?u._(/*BTDS*/"\u00c9l\u0151 n\u00e9zet"):void 0;re=me?d.jsx(r("BootloadedComponent.react"),{bootloadLoader:r("JSResource")("VideoLiveRewindControl.react").__setRef("VideoControls.react"),bootloadPlaceholder:d.jsx("span",{}),asset:ge,tooltip:he,onButtonClick:me}):null,oe=this.props.isInWatchAndScroll?null:d.jsx(r("VideoPlaybackControl.react"),{finishedPlaying:this.props.finishedPlaying,isLiveVideo:!0,isPlaying:this.props.isPlaying,onPause:this.props.onPause,onPlay:this.props.onPlay,useDarkTheme:this.props.useDarkTheme,tabIndex:"0"})}var ye=null,Ce=this.props.showControlsOnFullScreenOnly===!0?this.props.isFullscreen:!0;if(this.props.useTwoRows){var be=d.jsx(r("VideoVolumeControl.react"),{isAudioBlocked:this.props.isAudioBlocked,isMuted:this.props.isMuted,onToggleMuted:this.props.onToggleMuted,onVolumeChange:this.props.onVolumeChange,volume:this.props.volume,isHorizontal:!0,tabIndex:"0"});ye=d.jsxs("div",{className:g,children:[d.jsx("div",{className:p,children:d.jsxs("div",{className:t,children:[d.jsx("div",{className:a}),d.jsx("div",{className:i,children:q}),d.jsx("div",{className:l,children:h})]})}),d.jsx("div",{className:p,children:d.jsxs("div",{className:t,children:[d.jsxs("div",{className:a,children:[U,V,be]}),d.jsx("div",{className:i}),d.jsxs("div",{className:l,children:[b,R,C,v,w,A,$,F,x,S]})]})})]})}var ve=null;if(r("VideoPlayerExperiments").embeddedPlayerEnhancements&&this.props.isEmbedded){var Se=r("joinClasses")(t,r("VideoPlayerExperiments").embeddedPlayerEnhancements?"_w83":""),Re=r("joinClasses")(t,"_w86");ve=d.jsx("div",{className:Se,children:d.jsxs("div",{className:p,children:[d.jsxs("div",{className:Re,children:[Ce&&d.jsxs("div",{className:a,children:[U,V]}),d.jsx("div",{className:i,children:q}),d.jsx("div",{className:l,children:h})]}),d.jsxs("div",{className:t,children:[Ce&&d.jsxs(d.Fragment,{children:[d.jsx("div",{className:a}),d.jsx("div",{className:i})]}),d.jsxs("div",{className:l,children:[Ce&&d.jsxs(d.Fragment,{children:[e||Z,b,R,C,v,w,A]}),$,Ce&&d.jsxs(d.Fragment,{children:[F,x,S]})]}),d.jsx("div",{className:s,children:!e||Z})]})]})})}else ve=!this.props.useTwoRows||!this.props.isCommentAttachment?d.jsx("div",{className:f,"data-testid":void 0,children:d.jsx("div",{className:p,children:d.jsxs("div",{className:t,children:[d.jsxs("div",{className:a,children:[Ce&&d.jsxs(d.Fragment,{children:[G,U,V,H,ee,te,oe,ne]}),this.props.isFBWasLive?le:re,ie]}),d.jsxs("div",{className:i,children:[q,ae]}),d.jsxs("div",{className:l,children:[h,Ce&&d.jsxs(d.Fragment,{children:[e||Z,b,R,C,v,w,A]}),$,Ce&&d.jsxs(d.Fragment,{children:[F,x,S]})]}),d.jsx("div",{className:s,children:this.props.allowAudioButton===!1?d.jsx("div",{}):!e||Z})]})})}):null;return d.jsxs("div",{className:n,children:[J,ve,ye]})},t})(d.Component);_.defaultProps={allowCasting:!1,allowAudioButton:!0,bufferedPosition:0,displayElapsedTime:!1,showControlsOnFullScreenOnly:!1,displayMilliseconds:!1,gamesVideoClipButtonEnabled:!1,gamesVideoCreatorClipping:!1,gamesDefaultClipLengthInSec:void 0,hasFoundReceiver:!1,hidden:!1,hideGradient:!1,hidePlaybackControl:!1,hidePlaybackScrubber:!1,hideRemainingTime:!1,hideSettings:!1,isAudioBlocked:!1,isCasting:!1,isCastingSupported:!1,isCommentAttachment:!1,isFBWasLive:!1,isInTahoe:!1,isLiveRewound:!1,isMuted:!1,isPlaying:!1,isSphericalVideo:!1,isWatchIconEligible:!1,onSidePaneToggle:r("emptyFunction"),onStartCast:r("emptyFunction"),onStopCast:r("emptyFunction"),playbackDuration:0,playbackPosition:0,showInlineCopyLinkOption:!1,showInlineVideoReportOption:!1,showPermalinkButton:!1,showPlaybackRateControl:!1,showPlayButtonForLive:!1,showSidePaneToggle:!1,showVideoSliderWarningTooltip:!1,showWNSNUX:!1,transparent:!1,useDarkTheme:!1,useLargerGradient:!1,useTwoRows:!1,volume:0};var f=r("FluxContainer").create(_);l.default=f}),226);
__d("VideoWatchAndScrollDrawer.react",["csx","cx","fbt","AsyncRequest","DOM","DOMContainer.react","FBLoadShimmer.react","ThisControllerNoLongerExists","react","vulture"],(function(t,n,r,o,a,i,l,s,u,c){var e,d=e||(e=o("react")),m=(function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return t=e.call.apply(e,[this].concat(r))||this,t.state={fetching:!0,upNext:null},babelHelpers.assertThisInitialized(t)||babelHelpers.assertThisInitialized(t)}babelHelpers.inheritsLoose(t,e);var n=t.prototype;return n.componentDidMount=function(){this.props.videoID&&this.$2(this.props.videoID)},n.componentWillUnmount=function(){this.$1&&this.$1.abort()},n.$2=function(t){var e=this,n=o("ThisControllerNoLongerExists").__DEADBUILDER__("algda5tzx").setFBID("video_id",t).setFBIDSet("viewed_videos",this.props.viewedVideos);this.$1=new(r("AsyncRequest"))(n.getURI()),this.$1.setHandler(function(t){var n=t.getPayload(),o=n.upNextUnit&&n.upNextUnit.markup;if(o){var a=r("DOM").create("div",{},o),i=r("DOM").scry(a,"._3iqr");i.length&&(e.setState({upNext:a}),e.props.onLoadUpNext(a,n.canAutoplay))}e.setState({fetching:!1})}).send()},n.render=function(){r("vulture")("kMOojBxXS-41Zg-R6DCaMMf6bzU=");var e=null;if(this.state.upNext)e=d.jsx(r("DOMContainer.react"),{children:this.state.upNext});else if(this.state.fetching){var t;e=d.jsxs("div",{className:"x78zum5",children:[d.jsx(t=r("FBLoadShimmer.react"),{height:70,width:124}),d.jsxs("div",{className:"x1nxh6w3 xnxb3zj xe2zdcy",children:[d.jsx(t,{height:14,width:140,className:"_3-94"}),d.jsx(t,{height:14,width:140,className:"_3-94"}),d.jsx(t,{height:14,width:70,className:"_3-94"}),d.jsx(t,{height:14,width:70})]})]})}else return null;return d.jsxs("div",{className:"_3rq1 _60a7 _2tyk",children:[d.jsx("div",{className:"_3652",children:d.jsx("div",{className:"_3653",children:c._(/*BTDS*/"K\u00f6vetkezik")})}),e]})},t})(d.Component);l.default=m}),226);
__d("VultureJSDeadComponent.react",["RecoverableViolationWithComponentStack.react","react"],(function(t,n,r,o,a,i,l){"use strict";var e=["name"],s,u=s||(s=r("react")),c="VultureJSDeadComponent was hit. This should never happen as this component is intended to be used to replace dead components, as a stub. this being hit indicates that a component may have been cleaned up in error.";function d(t){var n=t.name,o=babelHelpers.objectWithoutPropertiesLoose(t,e),a=n!=null?c+" Expected component "+n:c;return u.jsx(r("RecoverableViolationWithComponentStack.react"),{errorMessage:a,projectName:"vulture_js"})}d.displayName=d.name+" [from "+i.id+"]",l.default=d}),98);
__d("fbglyph",[],(function(t,n,r,o,a,i){function e(e){throw new Error("fbglyph("+JSON.stringify(e)+"): Unexpected fbglyph reference.")}i.default=e}),66);
__d("VideoWatchAndScrollEndScreen.react",["cx","fbt","ix","Image.react","PopoverMenu.react","ReactXUIMenu","TooltipData","VideoChannelProgressCircle.react","VideoChannelReplayImage.react","VideoPlayerExperiments","VultureJSDeadComponent.react","react","vulture"],(function(t,n,r,o,a,i,l,s,u,c){var e,d=e||(e=o("react"));function m(e){var t=e.onCollapse;return r("vulture")("nCJ2hIZJmQL5JEEvifBwuUv481c="),d.jsx("div",babelHelpers.extends({className:"_1dtq",onClick:t,role:"button",tabIndex:1},o("TooltipData").propsFor(u._(/*BTDS*/"Vide\u00f3 \u00f6sszecsuk\u00e1sa")),{children:d.jsx(r("Image.react"),{src:c("115705")})}))}m.displayName=m.name+" [from "+i.id+"]";function p(e){var t=e.onClose;r("vulture")("t_yXc4wXPOHEevVZPA6Fk7hdO_s=");var n=d.jsx(r("ReactXUIMenu"),{onItemClick:function(n,o){var e=o.item;r("vulture")("zcrFMX6AlZZhIV2CQ-iemXc89yY="),e.getValue()==="close"&&t()},children:d.jsx(r("ReactXUIMenu").Item,{value:"close",children:"Close"})});return d.jsx(r("PopoverMenu.react"),{className:"_ivg",menu:n,children:d.jsx("a",{href:"#",children:d.jsx(r("Image.react"),{src:c("114186")})})})}p.displayName=p.name+" [from "+i.id+"]";var _=(function(e){function t(){return e.apply(this,arguments)||this}babelHelpers.inheritsLoose(t,e);var n=t.prototype;return n.render=function(){return r("vulture")("TQfidjtKnOvWiqeF63HR20sXYfA="),d.jsxs("div",{className:"_5qdn _2se8"+(this.props.fadeOut?" _2gud":"")+" _1s-2",children:[d.jsx("div",{className:"_1szz _2se8",children:d.jsx("div",{className:"_1szy _ww8",onClick:this.props.onReplay,role:"presentation",children:d.jsx(r("VideoChannelProgressCircle.react"),{makeProgress:this.props.makeProgress,timeoutSec:this.props.endScreenDuration,watchAndScroll:!0,children:d.jsx(r("VideoChannelReplayImage.react"),{size:"small"})})})}),d.jsxs("div",{className:"x78zum5 x13a6bvl x1k70j0n xbelrpt xzueoph x1hm9lzh x1n2onr6 x1vjfegm",children:[r("VideoPlayerExperiments").showWNSClose?null:d.jsx(p,{onClose:this.props.onClose}),d.jsx(m,{onCollapse:this.props.onCollapse}),r("VideoPlayerExperiments").showWNSClose?d.jsx(r("VultureJSDeadComponent.react"),{name:"CloseButton"}):null]})]})},t})(d.Component);l.default=_}),226);
__d("cancelAnimationFramePolyfill",[],(function(t,n,r,o,a,i){"use strict";var e=t.__fbNativeCancelAnimationFrame||t.cancelAnimationFrame||t.webkitCancelAnimationFrame||t.mozCancelAnimationFrame||t.oCancelAnimationFrame||t.msCancelAnimationFrame||t.clearTimeout,l=e;i.default=l}),66);
__d("cancelAnimationFrame",["cancelAnimationFramePolyfill"],(function(t,n,r,o,a,i,l){function e(e){r("cancelAnimationFramePolyfill")(e)}l.default=e}),98);
__d("shouldWNSRenderToRHC",["ge"],(function(t,n,r,o,a,i,l){"use strict";function e(){return!!r("ge")("fbRHCVideoWNS-container")}l.default=e}),98);
__d("VideoWatchAndScrollContainer.react",["csx","cx","Arbiter","CSS","DOM","DOMContainer.react","DOMDimensions","Event","Locale","Parent","ReactCSSTransitionGroup","Rect","SubscriptionsHandler","VideoChannelProgressCircle.react","VideoChannelReplayImage.react","VideoPlayerExperiments","VideoWatchAndScrollDrawer.react","VideoWatchAndScrollEndScreen.react","cancelAnimationFrame","clearTimeout","getViewportDimensions","react","requestAnimationFrame","setTimeoutAcrossTransitions","shallowCompare","shouldWNSRenderToRHC","throttle"],(function(t,n,r,o,a,i,l,s,u){"use strict";var e,c=e||(e=o("react")),d=10,m=230,p=476,_=2e3,f=Object.freeze({NW:"nw",NE:"ne",SE:"se",SW:"sw"}),g=(function(e){function t(t,n){var r;return r=e.call(this,t,n)||this,r.state=r.$3(r.props),r}babelHelpers.inheritsLoose(t,e);var n=t.prototype;return n.$3=function(t){var e=this.$4(),n=this.$5(this.props.initialPosition,e);return{channelVideoElements:[this.props.initialVideoElement],containerBoundingBox:e,dragging:!1,draggingStartHeight:0,draggingStartLeft:0,draggingStartMousePositionX:0,draggingStartMousePositionY:0,draggingStartTop:0,draggingStartWidth:0,endScreenFadeOut:!1,endScreenShown:!1,fadeOut:!1,fadeOutPlaceholder:null,hasDrawer:!1,height:n.height,left:n.left,playbackFinished:!1,resizeDirection:null,showDrawer:!1,timeUntilNext:0,top:n.top,width:n.width,videoIndex:0}},n.shouldComponentUpdate=function(t,n){return!this.state.fadeOut&&r("shallowCompare")(this,t,n)},n.componentDidUpdate=function(t,n){var e=this;if(n){!n.dragging&&this.state.dragging?(this.documentSubscriptions=new(r("SubscriptionsHandler")),this.documentSubscriptions.addSubscriptions(r("Event").listen(document,"mousemove",function(t){return e.$6(t)}),r("Event").listen(document,"mouseup",function(t){return e.$7(t)}))):n.dragging&&!this.state.dragging&&this.documentSubscriptions.release(),n.playbackFinished!==this.state.playbackFinished&&this.state.playbackFinished&&this.state.timeUntilNext&&(r("clearTimeout")(this.$2),this.$8(),this.$2=r("setTimeoutAcrossTransitions")(function(){e.props.onPlayNext()},this.state.timeUntilNext*1e3));var a=["._23if","._23ig","._452w","._2i7a"],i=n.channelVideoElements||[];this.state.channelVideoElements.forEach(function(e){if(i.indexOf(e)===-1){a.forEach(function(t){var n=r("DOM").scry(e,t),a=n[0];a&&o("CSS").hide(a)});var t=r("DOM").scry(e,"._3pay"),n=t[0];n&&(o("CSS").removeClass(n,"_3pay"),o("CSS").addClass(n,"_2337"))}})}},n.componentDidMount=function(){var e=this;this.movementListeners=new(r("SubscriptionsHandler")),this.movementListeners.addSubscriptions(r("Event").listen(window,"resize",r("throttle")(function(){return e.$9()},100)),r("Arbiter").subscribe("sidebar/visibility",r("throttle")(this.$9.bind(this),100)))},n.componentWillUnmount=function(){this.documentSubscriptions&&this.documentSubscriptions.release(),this.movementListeners&&this.movementListeners.release(),this.$1&&r("clearTimeout")(this.$1),this.$2&&r("clearTimeout")(this.$2)},n.getFadeOutStatus=function(){return this.state.fadeOut},n.getChannelVideoElements=function(){return this.state.channelVideoElements},n.$9=function(){var e=this.$4(),t=this.$5({height:this.state.height,left:this.state.left,top:this.state.top,width:this.state.width},e);this.setState({containerBoundingBox:e,height:t.height,left:t.left,top:t.top,width:t.width})},n.$10=function(t,n){this.$11(n,t)},n.$12=function(t){o("Parent").bySelector(t.target,"._5-32")||!o("Parent").bySelector(t.target,"._3t-6")||this.$11(t,null)},n.$13=function(t){return t.button!==0||o("Parent").bySelector(t.target,"._3t-6")||o("Parent").bySelector(t.target,"._2se8")},n.$14=function(t){this.$13(t)||this.props.onClick&&this.props.onClick()},n.$11=function(t,n){var e=t.button,r=t.target;e===0&&(o("Parent").bySelector(r,"._360f")||(this.props.onGrab(),this.setState({containerBoundingBox:this.$4(),dragging:!0,draggingStartHeight:this.state.height,draggingStartLeft:this.state.left,draggingStartMousePositionX:t.screenX,draggingStartMousePositionY:t.screenY,draggingStartTop:this.state.top,draggingStartWidth:this.state.width,resizeDirection:n}),t.preventDefault()))},n.$4=function(){var e=0,t=r("DOM").scry(document.body,".fbChatSidebar");t.length===1&&(e=o("DOMDimensions").getElementDimensions(t[0]).width);var n=r("getViewportDimensions").withoutScrollbars(),a=43+d,i=n.height-d,l=d,s=n.width-d;return o("Locale").isRTL()?l+=e:s-=e,new(r("Rect"))(a,s,i,l)},n.$5=function(t,n){var e=new(r("Rect"))(t.top,t.left+t.width,t.top+t.height,t.left);return e=e.boundWithin(n),{height:e.h(),left:e.getLeft(),top:e.getTop(),width:e.w()}},n.$15=function(t,n,r){var e=t.top,o=n.getTop(),a=o-e;a>0&&((r===f.NE||r===f.NW)&&(t.height-=a),t.top=o);var i=t.left,l=n.getLeft(),s=l-i;s>0&&((r===f.NW||r===f.SW)&&(t.width-=s),t.left=l);var u=t.top+t.height,c=n.getTop()+n.h(),d=u-c;d>0&&(t.height=c-t.top);var m=t.left+t.width,p=n.getLeft()+n.w(),_=m-p;_>0&&(t.width=p-t.left)},n.$16=function(t,n,r){t.width<m&&((r===f.NW||r===f.SW)&&(t.left-=m-t.width),t.width=m),t.height<m&&((r===f.NE||r===f.NW)&&(t.top-=m-t.height),t.height=m)},n.$17=function(t,n,r){t.width>p&&((r===f.NW||r===f.SW)&&(t.left+=t.width-p),t.width=p),t.height>p&&((r===f.NE||r===f.NW)&&(t.top+=t.height-p),t.height=p)},n.$18=function(t,n,r){var e=t.width/t.height,o=n.width/n.height;if(e>o){var a=t.height*o,i=t.height;a<m&&(i*=m/a,a=m,(r===f.NE||r===f.NW)&&(t.top+=t.height-i)),(r===f.NW||r===f.SW)&&(t.left+=t.width-a),t.width=a,t.height=i}else if(e<o){var l=t.width/o;(r===f.NE||r===f.NW)&&(t.top+=t.height-l),t.height=l}},n.$19=function(t,n,r,o){return this.$15(t,r,o),this.$16(t,n,o),this.$17(t,n,o),this.$18(t,n,o),{height:t.height,left:t.left,top:t.top,width:t.width}},n.$6=function(t){var e=this;r("cancelAnimationFrame")(this.dragUpdateRequestAnimationFrameID),this.dragUpdateRequestAnimationFrameID=r("requestAnimationFrame")(function(){return e.$20(t)})},n.$21=function(t){(t.height!==this.state.height||t.width!==this.state.width)&&this.props.onInitialPositionUpdate(t)},n.$20=function(t){if(this.state.dragging){var e=t.screenX-this.state.draggingStartMousePositionX,n=t.screenY-this.state.draggingStartMousePositionY,r=this.state.resizeDirection,o;if(!r)o=this.$5({height:this.state.draggingStartHeight,left:this.state.draggingStartLeft+e,top:this.state.draggingStartTop+n,width:this.state.draggingStartWidth},this.state.containerBoundingBox),this.$21(o),this.setState({height:o.height,left:o.left,top:o.top,width:o.width});else{var a=this.state.draggingStartHeight,i=this.state.draggingStartLeft,l=this.state.draggingStartTop,s=this.state.draggingStartWidth;(r===f.NE||r===f.SE)&&(s+=e),(r===f.NW||r===f.SW)&&(i+=e,s-=e),(r===f.SE||r===f.SW)&&(a+=n),(r===f.NE||r===f.NW)&&(l+=n,a-=n),o=this.$19({height:a,left:i,top:l,width:s},{height:this.state.draggingStartHeight,left:this.state.draggingStartLeft,top:this.state.draggingStartTop,width:this.state.draggingStartWidth},this.state.containerBoundingBox,r),this.$21(o),this.setState({height:o.height,left:o.left,top:o.top,width:o.width})}t.preventDefault()}},n.$7=function(t){r("cancelAnimationFrame")(this.dragUpdateRequestAnimationFrameID),this.props.onDrop(),this.setState({dragging:!1,draggingStartHeight:0,draggingStartLeft:0,draggingStartMousePositionX:0,draggingStartMousePositionY:0,draggingStartTop:0,draggingStartWidth:0,resizeDirection:null}),t.preventDefault()},n.$22=function(){this.$1&&(r("clearTimeout")(this.$1),this.$1=null),this.setState({showDrawer:!0})},n.$23=function(){this.state.showDrawer&&this.$8()},n.$24=function(){r("clearTimeout")(this.$2),this.setState({playbackFinished:!1}),this.props.onReplay()},n.$8=function(){var e=this;this.$1?r("clearTimeout")(this.$1):this.setState({showDrawer:!0}),this.$1=r("setTimeoutAcrossTransitions")(function(){e.setState({showDrawer:!1}),e.$1=null},_)},n.$25=function(t,n){if(t>this.state.channelVideoElements.length)return null;var e=this.state.channelVideoElements[t];return e?c.jsx("div",{className:"_2yq3"+(n==="left"?" _2yq4":"")+(n==="center"?" _2yq5":"")+(n==="right"?" _2yq6":""),children:c.jsx(r("DOMContainer.react"),{children:e})},e.id):null},n.$26=function(){return r("shouldWNSRenderToRHC")()?[]:[c.jsx("div",{className:"_52ua",onMouseDown:this.$10.bind(this,f.NW)},f.NW),c.jsx("div",{className:"_52uc",onMouseDown:this.$10.bind(this,f.NE)},f.NE),c.jsx("div",{className:"_52ui",onMouseDown:this.$10.bind(this,f.SE)},f.SE),c.jsx("div",{className:"_52uj",onMouseDown:this.$10.bind(this,f.SW)},f.SW)]},n.getWidth=function(){return this.state.width},n.onLoadUpNext=function(t,n){this.props.onLoadUpNext(t,n),this.setState({hasDrawer:!0})},n.canPlayAnotherVideo=function(){var e=this.state.channelVideoElements;return this.state.videoIndex<e.length-1},n.render=function(){var e=this,t=null;this.props.isDrawerEnabled||(t={height:Math.round(this.state.height)+"px",left:this.state.left+"px",top:this.state.top+"px",width:Math.round(this.state.width)+"px"});var n=this.state.channelVideoElements,a=n[this.state.videoIndex];a&&o("CSS").addClass(a,"_1kfp");var i=null;this.state.endScreenShown&&(i=c.jsx(r("VideoWatchAndScrollEndScreen.react"),{endScreenDuration:r("VideoPlayerExperiments").endScreenDuration/1e3,fadeOut:this.state.endScreenFadeOut,makeProgress:this.canPlayAnotherVideo(),onReplay:this.props.onReplay,onClose:function(){r("clearTimeout")(e.$2),e.$2=null,e.props.onClose()},onCollapse:this.props.onCollapse}));var l=null;this.state.fadeOutPlaceholder?l=c.jsx(r("DOMContainer.react"),{children:this.state.fadeOutPlaceholder}):l=c.jsx("ul",{className:"_2yq7",children:n.map(function(t,n){return(n>e.state.videoIndex+1||n<e.state.videoIndex-1)&&o("CSS").removeClass(t,"_1kfp"),n<=e.state.videoIndex+1?null:c.jsx("li",{children:c.jsx(r("DOMContainer.react"),{children:t})},t.id)})});var s=null;this.state.playbackFinished&&(s=c.jsx("div",{role:"presentation",onClick:function(){return e.$24()},className:"_1szy _ww8",children:c.jsx(r("VideoChannelProgressCircle.react"),{makeProgress:!!this.state.timeUntilNext,timeoutSec:this.state.timeUntilNext,watchAndScroll:!0,children:c.jsx(r("VideoChannelReplayImage.react"),{size:"small"})})}));var u=null;return this.props.isDrawerEnabled&&(u=c.jsx(r("VideoWatchAndScrollDrawer.react"),{videoID:this.props.videoID,viewedVideos:this.props.viewedVideos,onLoadUpNext:function(n,r){return e.onLoadUpNext(n,r)}})),c.jsx(r("ReactCSSTransitionGroup"),{transitionAppear:!0,transitionAppearTimeout:500,transitionEnter:!1,transitionLeave:!1,transitionName:{appear:"_tie",appearActive:"_tik"},children:c.jsxs("div",{className:"_360g"+(this.state.showDrawer?" _hzi":"")+(this.state.fadeOut?" _473b":"")+(this.state.hasDrawer?" _60a6":"")+(this.props.isLiveVideo()?" _29mh":""),onMouseLeave:function(){return e.$23()},onMouseMove:function(){return e.$22()},style:t,children:[c.jsxs("div",{className:"_52u8",onClick:this.$14.bind(this),onMouseDown:this.$12.bind(this),role:"presentation",children:[c.jsxs("div",{className:"_hzj",children:[this.$25(this.state.videoIndex-1,"left"),this.$25(this.state.videoIndex,"center"),this.$25(this.state.videoIndex+1,"right"),s]}),u]}),this.$26(),l]})})},t})(c.Component);l.default=g}),98);
__d("VideoWatchAndScrollVariables.experimental",["cr:10925"],(function(t,n,r,o,a,i,l){"use strict";l.default=n("cr:10925")}),98);
__d("VideoWatchAndScrollController",["csx","cx","invariant","Arbiter","CSS","DOM","DOMDimensions","Event","EventListener","Locale","ReactDOM_DEPRECATED","SubscriptionsHandler","Tahoe","VideoAutoplayControllerX","VideoChannelStoryFetcher","VideoFrameBuffer","VideoPlayerExperiments","VideoPlayerVolumeSettings","VideoWatchAndScrollContainer.react","VideoWatchAndScrollVariables.experimental","ViewportBounds","cancelAnimationFrame","clearTimeout","destroyOnUnload","getViewportDimensions","ifRequired","react","setTimeoutAcrossTransitions","shouldWNSRenderToRHC","throttle","vulture"],(function(t,n,r,o,a,i,l,s,u,c){var e,d=e||(e=o("react")),m=158,p=280,_=10,f=42,g=f+_,h=476,y=230,C=["autoplay_initiated","page_visibility_initiated"],b=750,v=308,S=3,R=null;function L(){return Math.max(r("getViewportDimensions")().height,400)-f-80}var E=(function(){function e(e,t,n,o,a){var i,l=this;this.$30=new(r("SubscriptionsHandler")),this.$31=new(r("SubscriptionsHandler")),this.$1=!1,this.$2=null,this.$3=null,this.$4=!1,this.$34=n,this.$37=!1,this.$29=!1,this.$47=o,this.$48=o,this.$52=a,this.$33=new(r("VideoChannelStoryFetcher"))(t,e,this.$34,null),this.$35=[],this.$36=0,this.$38=[],this.$39=[],this.$5=m,this.$6=p,this.$10=window.document.getElementById("leftCol"),this.$11=window.document.getElementById("rightCol"),this.$12=window.document.getElementById("pagelet_bluebar"),this.$43={},this.$46=null,this.$53(),(i=this.$30).addSubscriptions.apply(i,this.$54()),r("VideoPlayerExperiments").persistentWNSEnabled||r("destroyOnUnload")(function(){l.$55(),l.$4&&l.$56(),l.$30&&l.$30.release(),l===R&&(R=null)})}var t=e.prototype;return t.$54=function(){var e=this,t=[];return t.push(r("Arbiter").subscribe("VideoChannelView/opened",function(t,n){e.$4&&(!n.controller||e.$16!==n.controller)&&e.$56()})),t.push(r("Arbiter").subscribe("fbVideoWatchAndScroll/closeWNS",function(){if(e.$4){var t=e.$16,n=t.getOption("CommercialBreakVideoAdOverlay","videoController");n&&(t=n),t.logEvent("watch_and_scroll_exited"),e.$57()}})),r("VideoPlayerExperiments").rhcWNSEnabled&&(t.push(r("Arbiter").subscribe("RHCVideoWNSController/collapseStart",function(){var t=e.$14;!t||!r("shouldWNSRenderToRHC")()||t.setState({endScreenFadeOut:!0,endScreenShown:!1})}),r("Arbiter").subscribe("RHCVideoWNSController/collapseEnd",function(){var t=e.$14;!t||!r("shouldWNSRenderToRHC")()||(e.pauseActiveVideo("user_initiated"),t.setState({endScreenFadeOut:!1}))}),r("Arbiter").subscribe("RHCVideoWNSController/expandStart",function(){var t=e.$14;!t||!e.isActiveVideoDonePlaying()||!r("shouldWNSRenderToRHC")()||t.setState({endScreenShown:!0})})),r("VideoPlayerExperiments").persistentWNSEnabled&&t.push(r("Arbiter").subscribe("RHCVideoWNSController/eject",function(t,n){r("shouldWNSRenderToRHC")()&&(e.$2=n,r("DOM").appendContent(document.body,n),e.$16.isState("playing")&&e.playActiveVideo("user_initiated"))}),r("Arbiter").subscribe("RHCVideoWNSController/dock",function(){r("shouldWNSRenderToRHC")()&&e.$16.isState("playing")&&e.playActiveVideo("user_initiated")}),r("Event").listen(window,"resize",r("throttle")(function(){r("shouldWNSRenderToRHC")()&&e.$58()})),r("Arbiter").subscribe("RHCVideoWNSController/mount",function(){e.$58()}))),t},t.$58=function(){var e=this.$14;if(!(!e||this.$37)){var t=this.$16.getVideoNode(),n=this.$59(t);this.$16.removeOffsetStylings(),this.$16.setDimensions(n.width,n.height),e.setState({width:n.width,height:n.height}),this.$46=n,r("Arbiter").inform("VideoWatchAndScrollController/resize")}},t.isActiveVideoDonePlaying=function(){var e=this.$16.getState();return e==="finished"},e.isActiveVideoDonePlaying=function(){return R?R.isActiveVideoDonePlaying():!1},t.$60=function(t,n,o){var e=this;t||c(0,3963),n.length||c(0,3964),this.$47=!0,this.$37=!1,this.$31=new(r("SubscriptionsHandler")),this.$36=o,this.$33=t,this.$38=t.getPreloadedData().thumbnails||[],this.$39=[],this.$35=n.slice(0),this.$35.forEach(function(t){e.$61(t),e.$62(t),t.updateSource("watch_scroll")});var a=this.$35.shift();this.$63(a,"user_initiated")},t.$64=function(t,n,r,o,a){var e=this;this.$9=a,this.$46=this.$59(a.videoRootNode),this.$60(t,n,r),this.$14&&this.$14.setState({channelVideoElements:o},function(){e.$65()}),this.$9=null},e.registerVideoController=function(n,r,o,a,i){if(R==null&&(R=new e(n.getVideoChannelID(),n.getVideoID(),r,a,i)),R.$30.addSubscriptions(n.addListener("enterWatchAndScroll",function(){R&&R.$66(n)}),n.addListener("crossfadeWatchAndScroll",function(){if(R){R.$67();var e=n.getVideoNode();R.$46=R.$59(e),R.$63(n,"user_initiated",!1,!0),n.unmute()}}),n.addListener("exitWatchAndScroll",function(){R&&R.$4&&R.$56()}),n.addListener("VideoChannelController/enterChannel",function(){R&&(R.$37=!0)}),n.addListener("VideoChannelController/exitChannel",function(){R&&(R.$37=!1)})),r==="wns"&&R.$35.push(n),!!o){var t=["beginPlayback","changeVolume","muteVideo","toggleFullscreen","unmuteVideo","VideoChannelController/enterChannel"];t.forEach(function(e){R&&R.$30.addSubscriptions(n.addListener(e,function(t){R&&R.$68(n,e,t)}))})}},e.isActive=function(){return R?R.$4&&!R.$37:!1},e.updateSlidingCalculations=function(){R&&R.$19&&R.$69(R.$19)},e.registerChannelVideoController=function(t){R&&(t.updateSource("watch_scroll"),R.$61(t),R.$62(t),R.$35.push(t))},e.getStoryFetcherData=function(){return R&&R.$70()},t.$70=function(){return{storyFetcher:this.$33,videoPlayerControllers:this.$35,channelVideoIndex:this.$36,rootVideoPlayerController:this.$17,channelInteractionsToRegister:this.$39,isFromWNS:!0}},e.getVideoPlaceholder=function(){return R?R.$18:null},e.getReactContainer=function(){return R?R.$14:null},e.registerChannelInteraction=function(t){R&&R.$39.push(t)},e.onEnterTahoe=function(){R&&R.$71()},t.$71=function(){this.$37=!0,this.$33.abandonRequest()},e.onEnterChannel=function(){R&&R.$72()},t.$72=function(){this.$37=!0,this.$33.abandonRequest();var e=this.$14;if(e){var t=["._23if","._23ig","._452w","._2i7a"];e.getChannelVideoElements().forEach(function(e){t.forEach(function(t){var n=r("DOM").scry(e,t),a=n[0];a&&o("CSS").show(a)});var n=r("DOM").scry(e,"._2337"),a=n[0];a&&(o("CSS").removeClass(a,"_2337"),o("CSS").addClass(a,"_3pay"))})}},e.resetFromChannelView=function(t,n,r){R&&R.$60(t,n,r)},e.startFromChannelView=function(t,n,r,o,a){R&&R.$64(t,n,r,o,a)},t.$68=function(t,n,r){if(this.$4){if(this.$16===t||r&&C.includes(r.reason)||!t.isIntentionallyViewing())return;var e=this.$16.getOption("VideoWithLiveBroadcast","isLive");e?this.$16.mute():this.$16.pause("user_initiated")}if(n==="toggleFullscreen"&&t.isFullscreen()||n==="VideoChannelController/enterChannel")this.$19&&this.$55();else if((n!=="beginPlayback"||r&&r.reason==="user_initiated"||t.getSource()==="permalink")&&t.isIntentionallyViewing()&&!t.isFullscreen()&&!t.getIsInChannel()){var o=this.$73(t.getVideoNode()),a=o.top;(a>window.scrollY||n==="beginPlayback"&&r&&r.reason==="autoplay_initiated")&&this.$69(t)}},t.$74=function(t){this.$37||t!==this.$16||this.$14&&this.$14.setState({endScreenShown:!0,playbackFinished:!0,timeUntilNext:this.$50?S:0})},t.$75=function(t){var e=this;return t.addListener("finishPlayback",function(){return e.$74(t)})},t.$69=function(t){var e=t.getVideoNode();e.offsetParent&&(this.$19=t,this.$25=r("throttle")(this.$76.bind(this),100),window.addEventListener("resize",this.$25),this.$77(e),r("VideoPlayerExperiments").enableClickOnlyWatchAndScroll||this.$78())},t.$76=function(){this.$19&&(this.$77(this.$18||this.$19.getVideoNode()),this.$26&&this.$26())},t.$79=function(t){var e=this.$73(t),n=t.scrollWidth,r=t.scrollHeight,o=y,a=h;n<r&&(o*=n/r,a*=n/r);var i=o;if(this.$10&&this.$10.children.length){var l=this.$73(this.$10);if(l.left<=e.left)i=Math.min(l.left-2*_,a);else if(this.$11&&this.$11.children.length){var s=this.$73(this.$11);i=Math.min(s.left-2*_,a)}}else{var u=document.getElementById("timeline_tab_content");if(u){var c=this.$73(u).left;i=Math.min(c-2*_,a)}}return Math.max(i,o)},t.$73=function(t){var e={left:0,top:0};do e.top+=t.offsetTop,e.left+=t.offsetLeft;while(t=t.offsetParent);return e},t.$80=function(){if(r("VideoPlayerExperiments").rhcWNSEnabled)return v;var e=0;if(this.$10&&this.$10.children.length){var t=this.$73(this.$10),n=window.getComputedStyle(this.$10),o=parseInt(n.width,10);r("VideoPlayerExperiments").persistentWNSEnabled&&(o=o||p),e=o+t.left-_}else{var a=document.getElementById("timeline_tab_content");if(!a){var i=document.getElementById("pagelet_timeline_main_column");i?a=i.parentNode:a=document.getElementById("contentArea")}if(a){var l=this.$73(a).left;e=l-2*_}}return e},t.$59=function(t){var e=!t&&this.$9,n={left:0},a=16,i=9;if(!e){n=this.$73(t),i=1,a=parseFloat(t.getAttribute("data-original-aspect-ratio"));var l=t.parentElement;(!a||i===0)&&l&&(n=this.$73(l),a=l.scrollWidth,i=l.scrollHeight)}var s=y,u=h;a<i&&(s*=a/i,u*=a/i);var c=this.$80(),d=_;this.$12&&(d+=this.$12.scrollHeight),d=Math.max(d,g);var m=r("VideoPlayerExperiments").rhcWNSEnabled?c:Math.max(Math.min(c,u),y),p;r("VideoPlayerExperiments").rhcWNSEnabled?p=o("Locale").isRTL()?_+r("ViewportBounds").getRight():r("getViewportDimensions")().width-m-_:(p=c>u?c-u+_:_,p=Math.max(p,_));var f=m*i/a;return r("VideoPlayerExperiments").rhcWNSEnabled&&(f=Math.min(f,L())),{hasEnoughSpace:!!e||c>=s,height:f,left:p,top:d,width:m}},e.hasEnoughSpaceToEnter=function(t){if(!R||!t||!t.getVideoNode())return!1;var e=t.getVideoNode(),n=1,r=parseFloat(e.getAttribute("data-original-aspect-ratio")),o=e.parentElement;(!r||n===0)&&o&&(r=o.scrollWidth,n=o.scrollHeight);var a=y;return r<n&&(a*=r/n),R.$80()>a},t.$77=function(t){this.$22=this.$73(t),this.$27=t.scrollWidth,this.$28=t.scrollHeight;var e=Math.max(this.$27,this.$28);if(e<y){var n=y/e;this.$27*=n,this.$28*=n}this.$21=this.$22.top+this.$28*.5-f,this.$20=this.$22.top+this.$28*.5-window.innerHeight,this.$46=this.$59(t),this.$29=!this.$46.hasEnoughSpace},t.$78=function(){this.$19.isIntentionallyViewing()?(this.$81(this.$82.bind(this)),this.$82()):this.$55()},e.isVideoAlmostFinished=function(t){var e=t.getPlaybackDuration(),n=t.getCurrentTimePosition(),o=r("VideoWatchAndScrollVariables.experimental").noWNSRemainingTime;return e*.2<o?n/e>.8:e-n<o},e.isSlidingEnabled=function(n){var t=R;if(t==null)return!1;var r=t.$19;return r==null||r!==n?!1:t.$29||!n.isIntentionallyViewing()||!n.getVideoNode().offsetParent||e.isVideoAlmostFinished(n)||n.getSource()==="tahoe"||n.hasLooped()?(t.$55(),!1):!0},t.$82=function(){var t=this.$19;if(t!=null){if(!t.isIntentionallyViewing()||!t.getVideoNode().offsetParent){this.$55();return}(window.scrollY>this.$21||window.scrollY<this.$20)&&e.isSlidingEnabled(t)&&t!==this.$16&&!t.isFullscreen()&&!this.$37&&(this.$67(),r("VideoPlayerExperiments").fixFeedVideosPlayOffscreen&&t.emit("enterWatchAndScroll"),this.$63(t,"autoplay_initiated",!1,!0),this.$55())}},t.$67=function(){this.$47=this.$48},t.$81=function(t){window.removeEventListener("scroll",this.$26),this.$26=t||null,window.addEventListener("scroll",this.$26),r("cancelAnimationFrame")(this.$32),delete this.$32},t.$55=function(){window.removeEventListener("resize",this.$25),this.$81(),delete this.$19,this.$29=!1},t.$66=function(t){this.$55(),this.$4&&this.$16!==t?this.$83(t):(this.$46=this.$59(t.getVideoNode()),this.$67(),this.$63(t,"user_initiated"))},t.$83=function(t){this.$23=t,this.$84()},t.$63=function(t,n,a,i){var e,l=this;if(t.getSource()==="tahoe"){this.$37=!1;var s=r("Tahoe").get();s&&s.onExit("wns")}var u=!!this.$45;this.$45&&(r("clearTimeout")(this.$45),this.$45=null,o("ReactDOM_DEPRECATED").unmountComponentAtNode_DEPRECATED(this.$85()),this.$86());var c=this.$1&&(a||i)&&!!this.$17&&this.$17!==t;c&&(this.$36=0,this.$35=[],this.$38=[],this.$41=this.$17,this.$43=babelHelpers.extends({},this.$8),this.$44=this.$18,this.$40=this.$14,this.$42=this.$2,this.$2=null,this.$13&&this.$13.remove(),this.$31.release(),this.$31=new(r("SubscriptionsHandler"))),this.$17=t,this.$87(this.$14&&this.$36>0?this.$88(this.$36):t),this.$49?this.$49.add(t.getVideoID()):this.$49=new Set([t.getVideoID()]),this.$14&&this.$35.length>this.$36&&this.$88(this.$36+1).preload(),this.$15=this.$16.getRootNode();var d=!this.$1&&!((e=this.$52)!=null&&e.disableAlwaysStartMuted)||!this.$16.isMuted(),m=!this.$1||this.$16.isState("playing"),p=this.$1&&this.$16.isState("finished");if(!this.$1||c){if((!a||u)&&(u&&(this.$46=this.$59(this.$15)),this.$53(this.$15)),this.$9){if(this.$8=this.$9,this.$8.videoRootNode){this.$18=this.$89(this.$8.dimensions,this.$17.getVideoNode()),r("DOM").appendContent(this.$8.videoRootNode,this.$18);var _=r("DOM").scry(this.$8.videoRootNode,"._344x"),f=_[0];f&&r("DOM").remove(f)}}else this.$8={videoRootNode:this.$15.parentNode,dimensions:o("DOMDimensions").getElementDimensions(this.$15),source:this.$16.getSource()},this.$18=this.$89(this.$8.dimensions,this.$16.getVideoNode()),r("DOM").insertAfter(this.$15,this.$18);var g=null;this.$9&&(g=this.$9.videoRootNode),!g&&this.$15&&(g=this.$15.parentNode),g&&(this.$13=r("EventListener").listen(g,"click",function(){l.$57(),t.play("user_initiated"),r("setTimeoutAcrossTransitions")(function(){l.$68(t,"beginPlayback",{reason:"user_initiated"})},b)})),this.$16.pause("user_initiated"),this.$16.isPlayerVersion("silvercity")&&this.$16.detachRootNode();var h=this.$7?this.$7.width:this.$6,y=this.$7?this.$7.height:this.$5;this.$16.removeOffsetStylings(),this.$16.setDimensions(h,y),this.$4=!0,c&&this.$90(),this.$14=this.$91(),!this.$1&&r("shouldWNSRenderToRHC")()&&r("Arbiter").inform("VideoWatchAndScrollController/init"),p&&this.$74(this.$16)}else this.$16.pause("user_initiated"),this.$65();if(m&&this.$16.play(n),d&&(this.$16.unmute(),this.$16.getVolume()===0)){var C=r("VideoPlayerVolumeSettings").getLastVolumeBeforeMute()||1;this.$16.setVolume(C),this.$16.emit("unmuteVideo")}this.$16.updateSource("watch_scroll");var v=this.$33;(!this.$1||c)&&v&&(v.abandonRequest(),this.$9||v.reset(t.getVideoID(),t.getVideoChannelID()),this.$92(),this.$61(t),this.$62(t)),this.$1=!0,r("shouldWNSRenderToRHC")()&&r("Arbiter").inform("VideoWatchAndScrollController/start")},t.$61=function(n){n.hasOption("WatchAndScroll","isActive")||n.registerOption("WatchAndScroll","isActive",e.isActive)},t.$62=function(t){var e=this;this.$31.addSubscriptions(this.$75(t),t.addListener("VideoChannelController/enterChannel",function(){e.$31.release()}),t.addListener("WatchAndScroll/close",function(){e.$57()}))},t.$93=function(){this.$14&&(this.$14.setState({endScreenShown:!1}),this.$16&&this.$16.play("user_initiated"))},t.$92=function(){var e=this;this.$47&&this.$33.fetchStories(!0,function(t,n){var o=e.$14;if(!(!t||!t.length||!o)){var a=o.getChannelVideoElements().concat(t);o.setState({channelVideoElements:a},function(){r("setTimeoutAcrossTransitions")(function(){e.$88(e.$36+1).preload()})}),e.$38=e.$38.concat(n)}})},t.$88=function(t){var e=this.$14?this.$14.getChannelVideoElements():[],n=[this.$17].concat(this.$35),r=null;return n.forEach(function(n){e[t].contains(n.getRootNode())&&(r=n)}),r||c(0,3965),r},t.$94=function(){if(R&&R.$50)for(var e=0;e<R.$35.length;e++){var t=R.$35[e];if(R.$50.contains(t.getRootNode()))return t}return null},t.$65=function(){var e=this.$16.isMuted();this.$16.pause("user_initiated"),this.$16!==this.$17&&this.$16.abortLoading(),this.$87(this.$88(this.$36)),this.$15=this.$16.getRootNode();var t=this.$16.getVideoNode(),n=parseFloat(t.getAttribute("data-original-aspect-ratio"));n||(n=16/9);var o=this.$46;o||(o=this.$59(t)),this.$14&&(o.width=this.$14.getWidth()),o.height=o.width/n,r("VideoPlayerExperiments").rhcWNSEnabled?o.height=Math.min(o.height,L()):o.height>h&&(o.height=h,o.width=o.height*n),this.$16.removeOffsetStylings(),this.$16.setDimensions(o.width,o.height),this.$53(t),this.$14&&this.$14.setState({playbackFinished:!1,videoIndex:this.$36,width:o.width,height:o.height},function(){r("shouldWNSRenderToRHC")()&&r("Arbiter").inform("VideoWatchAndScrollController/resize")}),this.$46=o,this.$16.play("autoplay_initiated"),e&&this.$16.mute(),this.$35.length<=this.$36?this.$92():this.$88(this.$36+1).preload()},t.$95=function(){var e=_;return this.$12&&(e+=this.$12.scrollHeight),Math.max(e,g)},t.$53=function(t){if(this.$46){this.$7={height:this.$46.height,left:this.$46.left,top:this.$46.top,width:this.$46.width};return}if(t){var e=t.scrollWidth,n=t.scrollHeight,r=this.$79(t),o=r*n/e;this.$7.height=o,this.$7.width=r}else this.$7={height:this.$5,left:_,top:this.$95(),width:this.$6}},t.$89=function(t,n){var e=r("DOM").create("canvas",{className:"_57n6"});if(e.height=t.height,e.width=t.width,e.getContext&&e.getContext("2d")){if(n.scrollHeight===0){var o=r("DOM").scry(n.parentNode,"._3t5i"),a=o[0];if(a){var i=e.getContext("2d");i.drawImage(a,0,0)}}else if(n instanceof window.HTMLVideoElement){var l=new(r("VideoFrameBuffer"))(e,n);l.updateFrameBuffer()}}var s=r("DOM").create("div");s.appendChild(e);var u=r("DOM").create("i",{className:"_1jto _bsl _3htz"});return s.appendChild(u),s},t.$57=function(){this.$19&&this.$55(),this.$16.pause("user_initiated");var e=this.$94();e&&e.pause("user_initiated"),R&&(R.$50=null),this.$84()},t.$96=function(){this.$16.emit("WatchAndScroll/collapse")},t.$97=function(){var e=this.$89(this.$7,this.$16.getVideoNode(),!0);this.$14&&this.$14.setState({fadeOut:!0,fadeOutPlaceholder:e}),this.$98(this.$17,this.$8),this.$18&&(r("DOM").remove(this.$18),this.$18=null),this.$13&&(this.$13.remove(),this.$13=null)},t.$98=function(t,n,a){var e;t.pause("user_initiated"),t.isPlayerVersion("silvercity")&&t.detachRootNode(),a&&o("ReactDOM_DEPRECATED").unmountComponentAtNode_DEPRECATED(a),n.dimensions&&n.dimensions.width&&n.dimensions.height&&(t.addOffsetStylings(),t.setDimensions(n.dimensions.width,n.dimensions.height)),n.videoRootNode&&r("DOM").appendContent(n.videoRootNode,t.getRootNode()),t.emit("WatchAndScroll/positionUpdated"),t.updateSource(n.source||"inline");var i=this.$73(t.getVideoNode()),l=i.top,s=r("getViewportDimensions")().height;!((e=this.$52)!=null&&e.disableMuteOnExit)&&t.getSource()!=="permalink"&&t.mute(),l<window.scrollY||l>window.scrollY+s||this.$51===!1?(t.pause("autoplay_initiated"),t.emit("resumeAutoplay")):t.play("user_initiated")},t.$90=function(){var e=this;this.$4||c(0,3966),this.$40||c(0,3967),this.$40.setState({fadeOut:!0}),this.$45=r("setTimeoutAcrossTransitions")(function(){e.$41||c(0,3968),e.$42||c(0,3969),e.$98(e.$41,e.$43,e.$42),e.$44&&(r("DOM").remove(e.$44),e.$44=null),e.$45=null},b)},t.$56=function(){var e=this;this.$4||c(0,3966),this.$14||c(0,3970),!this.$23&&r("shouldWNSRenderToRHC")()&&r("Arbiter").inform("VideoWatchAndScrollController/exit"),this.$35.forEach(function(e){return e.abortLoading()}),this.$97(),this.$45=r("setTimeoutAcrossTransitions")(function(){o("ReactDOM_DEPRECATED").unmountComponentAtNode_DEPRECATED(e.$85()),e.$86()},b)},t.$86=function(){this.$4||c(0,3966),this.$33&&this.$33.abandonRequest(),this.$36=0,this.$1=!1,this.$31.release(),this.$31=new(r("SubscriptionsHandler")),this.$8={},this.$16=null,this.$17=null,this.$4=!1,this.$35=[],this.$38=[],this.$14=null,r("clearTimeout")(this.$45),this.$45=null,this.$41&&this.$42&&this.$43&&this.$98(this.$41,this.$43,this.$42),this.$41=null,this.$43={},this.$44&&(r("DOM").remove(this.$44),this.$44=null),r("VideoAutoplayControllerX").setShouldAutoplay(!0),this.$2=null,this.$23&&(this.$46=this.$59(this.$23.getVideoNode()),this.$67(),this.$63(this.$23,"user_initiated"),this.$23=null),this.$29=!1,this.$46=null},t.$91=function(){var e=this;return r("vulture")("5JMibEZjzxbD4RM0DtgE93Vyris="),o("ReactDOM_DEPRECATED").render_DEPRECATED(d.jsx(r("VideoWatchAndScrollContainer.react"),{isDrawerEnabled:r("VideoPlayerExperiments").rhcWNSDrawerEnabled&&r("shouldWNSRenderToRHC")()&&r("VideoPlayerExperiments").rhcWNSExpandToTahoe,isLiveVideo:function(){return e.$16.isLiveVideo()},initialPosition:this.$7,initialVideoElement:this.$15,onChannelNavigation:this.$99.bind(this),onClick:this.$100.bind(this),onClose:this.$57.bind(this),onCollapse:this.$96.bind(this),onDrop:this.$101.bind(this),onGrab:this.$102.bind(this),onInitialPositionUpdate:this.$103.bind(this),onLoadUpNext:this.registerUpNextUnit.bind(this),onPlayNext:this.$104.bind(this),onReplay:this.$93.bind(this),viewedVideos:Array.from(this.$49),videoID:this.$16.getVideoID()}),this.$85())},t.$84=function(){this.$17&&this.$17.emit("exitWatchAndScroll");var e=this.$94();e&&e.emit("exitWatchAndScroll")},t.$99=function(t){if(t>0&&this.$35.length<=this.$36){r("shouldWNSRenderToRHC")()||this.$57();return}this.$36+=t,this.$65()},t.$104=function(){var e=this.$94();e&&(this.$50=null,e.emit("crossfadeWatchAndScroll"),this.$51?e.play("autoplay_initiated"):(e.preload(),e.emit("showOverlay")))},t.$102=function(){this.$19&&this.$55();var e=this.$16.getOption("VideoWithLiveBroadcast","isLive");e||(this.$24=this.$16.isState("playing"),this.$16.pause("user_initiated"))},t.$101=function(){var e=this.$16.getOption("VideoWithLiveBroadcast","isLive");e||(this.$24&&this.$16.play("user_initiated"),this.$24=null)},t.$100=function(){var e=this.$16.getOption("VideoWithLiveBroadcast","isLive");this.$19||e||(this.$16.isState("playing")?this.$16.pause("user_initiated"):(this.$16.isState("paused")||this.$16.isState("finished")||this.$16.isState("ready"))&&this.$16.play("user_initiated"))},t.$87=function(t){var e=this;this.$16!==t&&(r("VideoPlayerExperiments").rhcWNSEnabled&&t.addListener("WatchAndScroll/collapse",function(){if(t!=e.$16){t.removeCurrentListener();return}r("shouldWNSRenderToRHC")()&&r("Arbiter").inform("VideoWatchAndScrollController/collapse")}),this.$16=t)},t.pauseActiveVideo=function(t){this.$16&&this.$16.pause(t)},e.pauseActiveVideo=function(t){t===void 0&&(t="user_initiated"),R&&R.pauseActiveVideo(t)},t.playActiveVideo=function(t){this.$16&&this.$16.play(t)},t.registerUpNextUnit=function(t,n){var e=r("DOM").find(t,"._3iqr");!R||!e||(R.$50=t,R.$51=n,r("EventListener").listen(e,"click",function(e){if(R){var t=R.$94();t&&(e.preventDefault(),e.stopPropagation(),R.$50=null,t.emit("crossfadeWatchAndScroll"),t.play("user_initiated"))}}))},e.playActiveVideo=function(t){t===void 0&&(t="user_initiated"),R&&R.playActiveVideo(t)},t.$103=function(t){this.$7=t,this.$14&&!this.$14.getFadeOutStatus()&&(this.$16.removeOffsetStylings(),this.$16.setDimensions(t.width,t.height),this.$16.emit("WatchAndScroll/positionUpdated"))},t.$105=function(){var e=r("DOM").create("div");return r("shouldWNSRenderToRHC")()?r("ifRequired")("RHCVideoWNSController",function(t){return t.mount(e)}):r("DOM").appendContent(document.body,e),e},t.$85=function(){return this.$2||(this.$2=this.$105()),this.$2},e})();l.default=E}),98);
__d("XBasicFBNuxGenShouldShowControllerRouteBuilder",["jsRouteBuilder"],(function(t,n,r,o,a,i,l){var e=r("jsRouteBuilder")("/ajax/megaphone/should_show_fbnux/",Object.freeze({should_log_view:!0}),void 0),s=e;l.default=s}),98);
__d("VideoControls",["csx","cx","Arbiter","AsyncRequest","Bootloader","CSS","DeferredComponent.react","EventListener","FullScreen","LiveRewindUtils","LiveVideoPlayerActions","Parent","PlaybackSpeedExperiments","ReactDOM","SubscriptionsHandler","VideoPlayerExperiments","VideoPlayerUIComponentDrawer","VideoWatchAndScrollController","XBasicFBNuxGenShouldShowControllerRouteBuilder","cancelAnimationFrame","containsNode","destroyOnUnload","getActiveElement","logVideosClickTracking","react","requestAnimationFrame","shouldWNSRenderToRHC","throttle"],(function(t,n,r,o,a,i,l,s,u){var e,c=e||(e=o("react")),d=new Set(["embedded","embedded_video","embedded_video_preview","embedded_page_plugin","embedded_video_from_ufi"]),m=200,p=4936,_=36,f=5e3,g=(function(){function e(e,t,n){var a=this,i,l;this.$16={current:null},this.$132=function(){a.$11=!1,a.scheduleRenderReactComponent()},this.$15=e,this.$16.current=this.$15,this.$90=t,this.$123=o("ReactDOM").createRoot(t),this.$10=0,this.$83=0,this.$82=0,this.$29=0,this.$122=!1,this.$91=!1,this.$49=n.hideOnEvents.autoplay,this.$50=n.hideOnEvents.finish,this.$43=n.hideOnEvents.pause,this.$104=n.unhideOnHover,this.$44=n.hidePlaybackControl,this.$45=n.isWatchIconEligible,this.$46=n.hidePlaybackScrubber,this.$105=n.showPlaybackRateControl,this.$108=n.showVideoSliderWarningTooltip,this.$47=n.hideRemainingTime,this.$48=n.hideSettings,this.$119=n.useTwoRows,this.$56=n.isCommentAttachment,this.$84=n.pointsOfInterestConfig||{},this.$18=n.displayElapsedTime||!1,this.$19=n.showControlsOnFullScreenOnly||!1,this.$20=n.displayMilliseconds||!1,this.$21=n.displayDurationLimit,this.$22=n.displayTimeOffset,this.$1=n.adBreaks,this.$2=n.adBreaksDisableReasons,this.$86=(i=n.pollTimestamps)!=null?i:[],this.$69=!1,this.$101=n.shouldShowWNSNUX,this.$11=!1,this.$38=!1,this.$51=n.insertedAdBreaks,this.$52=n.isAdBreakDisabled,this.$53=n.isAdBreakInsertionWithoutGapRule,this.$102=(l=n.showEligibleStarsCueTimeSegments)!=null?l:!1,this.$103=n.selectedStarsCueTimestamp,this.$63=n.isLiveRewindEnabled||this.$15.isFBWasLive(),this.$64=this.$15.isFBWasLive(),this.$76=null,this.$106=n.showPlayButtonForLive,this.$120=n.videoClipInfo,this.$97=!!n.videoClipInfo,this.$13=null;var s=e.isHtml5Player(),u=e.getPlayerSuborigin();this.$40=n.showButtons.watchandscroll&&s&&u!=="topic_live",this.$3=n.showButtons.casting,this.$4=n.showButtons.fullscreen&&!!r("FullScreen").isSupported(),this.$5=n.showButtons.audioButton,this.$80=n.permalinkURL,this.$98=n.shouldShowInlineCopyLinkOption,this.$99=n.shouldShowInlineVideoReportOption,this.$100=n.shouldShowPermalinkButton,this.$61=n.isLive,this.$62=n.isGamingVideo,this.$70=n.isSphericalVideo,this.$30=n.forceVisible||!1,this.$31=n.forceVisibleOnMount||!1,this.$42=n.hideGradient||!1,this.$117=n.useDarkTheme||!1,this.$54=!1,this.$41=!1,this.$67=!1,this.$68=!1,this.$107=n.showQualitySelector,this.$87=n.qualitySelectorMinStreams,this.$74=this.liveRewindToBeginning.bind(this),this.$72=this.liveRewindSeekBack.bind(this),this.$73=this.liveRewindSeekForward.bind(this),this.$75=this.liveRewindToLive.bind(this),this.$26=this.enterWatchAndScroll.bind(this),this.$25=this.enterTahoe.bind(this),this.$81=this.play.bind(this),this.$79=this.pause.bind(this),this.$92=this.scrubBegin.bind(this),this.$93=this.scrubEnd.bind(this),this.$109=this.startCasting.bind(this),this.$110=this.stopCasting.bind(this),this.$112=this.toggleFullscreen.bind(this),this.$113=this.toggleHD.bind(this),this.$114=this.toggleHLS.bind(this),this.$115=this.toggleMuted.bind(this),this.$116=this.toggleCaptions.bind(this),this.$12=this.changeVolume.bind(this),this.$96=this.setVideoPlaybackRate.bind(this),this.$95=this.setPreferredVideoQuality.bind(this),this.$24=this.$15.registerDrawer(r("VideoPlayerUIComponentDrawer").priorities.EmbeddedControls,_),this.$78=n.needsInitialVideoInfoUpdate,this.$17=this.$15.getSource(),this.$33=n.gamesVideoClipButtonEnabled,this.$34=!!n.gamesVideoCreatorClippingGK&&!d.has(this.$17),this.$35=n.gamesDefaultClipLengthInSec,this.$7=n.annotatedMomentsOfInterest||{},this.$57=n.isEmbeddedPlayerRedesignEnabled,this.$118=n.useLargerGradient||!1,r("VideoPlayerExperiments").persistentWNSEnabled||r("destroyOnUnload")(function(){var e;(e=a.$123)==null||e.unmount()});var c=this.$15.getRootNode();r("EventListener").listen(this.$90,"focusin",function(){a.$28=!0,a.scheduleRenderReactComponent()}),r("EventListener").listen(this.$90,"focusout",function(){r("containsNode")(a.$90,r("getActiveElement")())||(a.$28=!1,a.scheduleRenderReactComponent())}),r("EventListener").listen(c,"click",function(e){if(a.$28&&e.detail){var t=r("getActiveElement")();t&&t.blur()}}),r("EventListener").listen(c,"mouseleave",function(){a.$77=!1,a.scheduleRenderReactComponent()}),r("EventListener").listen(c,"mouseenter",function(){a.$77=!0,a.scheduleRenderReactComponent()}),this.$15.registerOption("VideoControls","acquireForceHideLock",function(){return a.$29++,{release:function(){a.$29--,a.scheduleRenderReactComponent()}}}),this.$15.registerOption("VideoControls","hideOnFinish",function(){return a.$50},function(e){a.$50=e}),this.$15.registerOption("VideoControls","hideOnPause",function(){return a.$43},function(e){a.$43=e}),this.$15.registerOption("VideoControls","unhideOnHover",function(){return a.$104},function(e){a.$104=e}),this.$15.registerOption("VideoControls","hidePlaybackControl",function(){return a.$44},function(e){a.$44=e,a.scheduleRenderReactComponent()}),this.$15.registerOption("VideoControls","available",function(){return!0}),this.$15.registerOption("VideoControls","areControlsVisible",function(){return a.areControlsVisible()}),["mousemove","mousedown","keydown"].forEach(function(e){r("EventListener").listen(a.$15.getRootNode(),e,r("throttle")(function(){return a.flashControls()},200))}),this.$111=new(r("SubscriptionsHandler")),this.scheduleRenderReactComponent();var m=["changeVolume","loadedSubtitles","captionsAvailabilityChanged","muteVideo","pausePlayback","stateChange","toggleFullscreen","toggleSubtitles","updateMetadata","unmuteVideo","qualityChange","casting/receiverStateChange","casting/supportStateChange","casting/castingStateChange","casting/playStateChange"];m.forEach(function(e){return a.$111.addSubscriptions(a.$15.addListener(e,function(){return a.scheduleRenderReactComponentWithVideoInfoUpdate()}))}),this.$111.addSubscriptions(this.$15.addListener("pauseRequested",function(e){a.$124(e)}),this.$15.addListener("playRequested",function(e){a.$125(e)}),this.$15.addListener("beginPlayback",function(){return a.$126()}),this.$15.addListener("updateStatus",function(e){if(a.$63){var t=a.$15.getSeekableRanges();if(a.$64&&o("PlaybackSpeedExperiments").enableWwwPlaybackSpeedControl()){var n,r,i=(n=a.$15.getCurrentTimePosition())!=null?n:0,l=t!=null&&(r=t.end(t.length()-1))!=null?r:0;i>0&&l>0&&i>=l&&a.liveRewindToLive()}t&&(a.$71=o("LiveRewindUtils").getRelativePosition(e.position,t))}a.$83=e.position,a.$22&&(a.$83-=a.$22),a.scheduleRenderReactComponent()}),this.$15.addListener("casting/updateStatus",function(e){if(a.$63){var t=a.$15.getSeekableRanges();t&&(a.$71=o("LiveRewindUtils").getRelativePosition(e.position,t))}a.$83=e.position,a.scheduleRenderReactComponent()}),this.$15.addListener("seekRangeChanged",function(e){if(a.$63){var t=a.$15.getSeekableRanges();t&&(a.$82=o("LiveRewindUtils").getTotalDuration(t))}}),this.$15.addListener("updateBuffer",function(e){a.$10=e.duration+e.offset,a.scheduleRenderReactComponent()}),this.$15.addListener("optionsChange",function(e){a.$127()}),this.$15.addListener("resumeAutoplay",function(e){a.$128(),a.scheduleRenderReactComponentWithVideoInfoUpdate()}),this.$15.addListener("turnOffAutoplay",function(e){a.$55=!1}),this.$15.addListener("LivePlayer/isRewoundChanged",function(e){var t=a.$15.getOption("LivePlayer","isRewound");a.$64!==t&&(a.$64=t,a.scheduleRenderReactComponent())}),this.$15.addListener("blockAudio",function(e){e||(a.$54=!0)}),this.$15.addListener("unblockAudio",function(e){e||(a.$54=!1)})),this.$101&&this.$111.addSubscriptions(this.$15.addListener("VideoWithStallRecovery/bufferingStateOn",function(){a.$38||a.$129(p)}),this.$15.addListener("VideoWithStallRecovery/bufferingStateOff",function(){a.$11=!1})),this.$111.addSubscriptions(this.$15.addListener("finishPlayback",function(){a.scheduleRenderReactComponent(!0)})),this.$127()}var t=e.prototype;return t.$130=function(){this.$94=this.$15.getOption("VideoScrubberPreviewComponent","scrubberPreviewSprites"),this.$37=this.$15.getOption("VideoScrubberPreviewComponent","hasPreviewThumbnails"),this.$85=this.$15.getOption("VideoScrubberPreviewComponent","previewThumbnailInformation")},t.$128=function(){this.$55=this.$15.getOption("FeedAutoplay","isAutoplaying")},t.$127=function(){this.$128(),this.$130()},t.$124=function(t){var e=this;this.scheduleRenderReactComponentWithVideoInfoUpdate(),this.$61&&this.$63&&t==="user_initiated"&&!this.$64&&this.$76===null&&(this.$76=window.setTimeout(function(){e.$76=null,o("LiveVideoPlayerActions").setIsRewound(e.$15,!0)},m))},t.$125=function(t){this.$61&&this.$63&&t==="user_initiated"&&this.$76!==null&&(window.clearTimeout(this.$76),this.$76=null)},t.$126=function(){this.flashControls(),this.$131(),this.$66=!0,this.scheduleRenderReactComponentWithVideoInfoUpdate()},t.$129=function(t){var e=this,n=r("XBasicFBNuxGenShouldShowControllerRouteBuilder").buildUri({nux_id:t});new(r("AsyncRequest"))().setURI(n).setMethod("GET").setReadOnly(!0).setHandler(function(t){var n=t.getPayload();e.$11=n.should_show_nux}).send()},t.updateConfig_DEPRECATED=function(t,n){this.$80=t.permalinkURL||null,this.$3=t.showButtons?t.showButtons.casting:!1,this.$61=!!t.isLive,this.$1=t.adBreaks||null,this.$118=t.useLargerGradient||!1,this.$105=t.showPlaybackRateControl||!1,this.scheduleRenderReactComponent()},t.updateAdBreaksConfig=function(t){this.$51=t.insertedAdBreaks,this.$52=t.isAdBreakDisabled,this.$53=t.isAdBreakInsertionWithoutGapRule,this.$30=!t.isPreviewingAdBreak,this.scheduleRenderReactComponent()},t.updateStarsCueConfig=function(t){this.$103=t.selectedStarsCueTimestamp,this.scheduleRenderReactComponent()},t.updateTwoRowsConfig=function(t){this.$119=t.useTwoRows,this.$56=t.isCommentAttachment,this.scheduleRenderReactComponent()},t.flashControls=function(){var e=this;this.$88||(this.$88=!0,this.scheduleRenderReactComponent()),window.clearTimeout(this.$27),this.$27=window.setTimeout(function(){e.$27=null,e.$88=!1,e.scheduleRenderReactComponent()},3e3)},t.$131=function(){var e=this;this.$31&&(window.clearTimeout(this.$32),this.$32=window.setTimeout(function(){e.$32=null,e.$31=!1,e.scheduleRenderReactComponent()},f))},t.areControlsVisible=function(){var e=this;if(!this.areControlsEnabled())return!1;if(this.$30||this.$11||this.$67||this.$68||this.$31)return!0;if(this.$15.isState("playing"))return this.$97?(this.$13||(this.$13=window.setTimeout(function(){e.$97=!1},5e3)),!0):this.$49&&this.$55?!1:this.$28||this.$77&&this.$88;if(this.$15.isState("finished")){var t=this.$15.getSource()==="tahoe";return this.$15.isFullscreen()||t||!this.$50}else if(this.$15.isState("paused"))return this.$15.isFullscreen()||!this.$43||this.$104&&(this.$28||this.$77&&this.$88);return!1},t.areControlsEnabled=function(){var e=this.$15.getSource()==="tahoe";return!(this.$29>0||this.$15.isState("loading")||this.$15.isState("fallback")||this.$15.getOption("SottoPaywall","enable")||this.$15.isState("finished")&&this.$50&&!this.$15.isFullscreen()&&!e)},t.scheduleRenderReactComponentWithVideoInfoUpdate=function(){this.$78=!0,this.scheduleRenderReactComponent(!0)},t.shouldRenderComponent=function(){return this.$15.isState("loading")||this.$15.isState("fallback")?!1:this.areControlsVisible()?(this.$41=!1,!0):this.$41?!1:(this.$41=!0,!0)},t.scheduleRenderReactComponent=function(t){var e=this;t===void 0&&(t=!1),!(!t&&!this.shouldRenderComponent())&&(r("cancelAnimationFrame")(this.$89),this.$89=r("requestAnimationFrame")(function(){return e.renderReactComponent()}))},t.renderReactComponent=function(){var e=this;if(r("VideoPlayerExperiments").delayVideoControlRenderForApiReady&&this.$15.getState()==="loading"&&!this.$91){this.$91=!0,this.$15.runOnApiReady(function(){e.scheduleRenderReactComponent()});return}this.$78&&this.$133();var t=this.areControlsVisible();this.$122!==t&&(this.$15.emit("VideoControls/visibilityUpdate",{areControlsVisible:t}),t?this.$24.reserve():this.$24.release(),this.$15.isState("destroyed")||o("CSS").conditionClass(this.$15.getRootNode(),"_302m",!t)),this.$122=t;var n=this.$15.getAvailableVideoQualities(),i=this.$15.getPreferredVideoQuality(),l=this.$15.getSelectedVideoQuality(),s=this.$15.canAutoSelectVideoQuality(),u=this.$15.getStreamingFormat(),m=this.$69;this.$69=r("VideoPlayerExperiments").slidingWNSv3&&this.$40&&r("VideoWatchAndScrollController").isSlidingEnabled(this.$15),m!==this.$69&&this.$15.logEvent(this.$69?"watch_and_scroll_icon_highlighted":"watch_and_scroll_icon_unhighlighted");var p=this.$15.getSource()==="tahoe",_=this.$15.getSource()==="watch_scroll",f=this.$15.isFBIsLiveTemplated()||this.$15.isFBWasLive(),g=this.$63&&f&&(this.$15.isFBWasLive()||this.$15.getState()!=="finished"),h=c.jsx(r("DeferredComponent.react"),{deferredPlaceholder:c.jsx("span",{}),deferredComponent:function(t){return a(["VideoControls.react"],t)},allowCasting:this.$3,allowFullscreen:this.$4,allowAudioButton:this.$5,annotatedMomentsOfInterest:this.$7,areCaptionsActive:this.$8,areCaptionsAutogenerated:this.$9,areHLSActive:this.$6,bufferedPosition:this.$10,finishedPlaying:this.$15.isState("finished"),hasFoundReceiver:this.hasFoundReceiver(),hasHD:this.$36,hasCaptions:this.$39,hasWatchAndScroll:this.$40&&!this.getIsInChannel(),hidden:!this.areControlsEnabled(),hideGradient:this.$42,isAudioBlocked:this.$54,isCasting:this.isCasting(),isCastingSupported:this.isCastingSupported(),isCommentAttachment:this.$56,isEmbedded:d.has(this.$17),isEmbeddedPlayerRedesignEnabled:this.$57,isFullscreen:this.$58,isHD:this.$59,isInline:this.$60,isInTahoe:p,isInWatchAndScroll:_,isLive:this.$61,isLiveRewindEnabled:g,isLiveRewound:this.$64,isFBWasLive:this.$15.isFBWasLive(),isSphericalVideo:this.$70,isMuted:this.$65,isPlaying:this.$66,isSidePaneOpen:this.getIsInChannel()&&!!o("Parent").bySelector(this.$90,"._57bj"),isSlidingWNSEligible:this.$69,interestLevels:null,liveRelativePlaybackPosition:this.$71,drawer:this.$24,onActionsClick:function(){e.$68=!e.$68},onAnnotatedMomentOfInterestSelect:function(n){e.$15.seek(n)},onEnterWatchAndScroll:this.$26,onEnterTahoe:this.$25,doesFullscreenEnterTahoe:this.$23,onLiveRewindToBeginning:this.$74,onLiveRewindSeekBack:this.$72,onLiveRewindSeekForward:this.$73,onLiveRewindToLive:this.$75,onWNSNUXClose:this.$132,onClipVideo:this.$14,onPause:this.$79,onPlay:this.$81,onScrubBegin:this.$92,onScrubEnd:this.$93,onSetVideoPlaybackRate:this.$96,onSettingsClick:function(){e.$67=!e.$67},onSidePaneToggle:function(){r("Arbiter").inform("VideoChannelView/sidePaneToggle",{})},onStartCast:this.$109,onStopCast:this.$110,onToggleFullscreen:this.$112,onToggleHD:this.$113,onToggleHLS:this.$114,onToggleMuted:this.$115,onToggleCaptions:this.$116,onVolumeChange:this.$12,permalinkURL:this.$80,showInlineCopyLinkOption:this.$98,showInlineVideoReportOption:this.$99,showPermalinkButton:this.$100,playbackDuration:this.$82,playbackPosition:this.$83,transparent:!t,hidePlaybackControl:this.$44,isWatchIconEligible:this.$45,hidePlaybackScrubber:this.$46,showPlaybackRateControl:this.$105,showPlayButtonForLive:this.$106,showVideoSliderWarningTooltip:this.$108,hideRemainingTime:this.$47,hideSettings:this.$48,useTwoRows:this.$119,volume:this.$121,scrubberPreviewSprites:this.$94,hasScrubberPreview:this.$37&&!_,previewThumbnailInformation:this.$85,availableQualities:n,selectedQuality:l,preferredQuality:i,canAutoSelectVideoQuality:s,onSelectQuality:this.$95,showQualitySelector:this.$107,qualitySelectorMinStreams:this.$87,streamingFormat:u,onPointOfInterestSelect:this.$84.onPointOfInterestSelect,currentPointOfInterest:this.$84.currentPointOfInterest,pointsOfInterest:this.$84.pointsOfInterest,showPointOfInterestTimestamps:this.$84.showPointOfInterestTimestamps,displayElapsedTime:this.$18,showControlsOnFullScreenOnly:this.$19,displayMilliseconds:this.$20,adBreaks:this.$1,pollTimestamps:this.$86.filter(function(t){return t<=e.$82}),vpcID:this.$15.getVideoPlayerID(),adBreaksDisableReasons:this.$2,showSidePaneToggle:!1,showWNSNUX:this.$11&&this.areControlsEnabled()&&this.$101,insertedAdBreaks:this.$51,isAdBreakDisabled:this.$52,isAdBreakInsertionWithoutGapRule:this.$53,showEligibleStarsCueTimeSegments:this.$102,selectedStarsCueTimestamp:this.$103,useDarkTheme:this.$117,videoID:this.$15.getVideoID(),videoClipInfo:this.$120?this.$120:void 0,gamesVideoClipButtonEnabled:this.$33,gamesVideoCreatorClipping:this.$34,gamesDefaultClipLengthInSec:this.$35,useLargerGradient:this.$118});o("ReactDOM").flushSync(function(){var t;(t=e.$123)==null||t.render(h)}),this.$11&&this.areControlsEnabled()&&this.$101&&(this.$38=!0)},t.$133=function(){var e=this.$15.getVideoInfo_DEPRECATED();if(e){if(this.$8=this.$15.areSubtitlesActive(),this.$9=this.$15.areSubtitlesAutogenerated(),this.$39=this.$15.hasSubtitles(),this.$36=e.hasHD,this.$59=e.isHD,this.$65=e.isMuted,this.$66=e.isPlaying||this.isCastPlaying(),this.$63){var t=this.$15.getSeekableRanges();t&&(this.$82=o("LiveRewindUtils").getTotalDuration(t))}else this.$21!=null?this.$82=Math.min(e.playbackDuration,this.$21):this.$82=e.playbackDuration;this.$121=e.volume;var n=this.$15.getOption("CommercialBreakVideoAdOverlay","videoController");n?this.$58=n.isFullscreen():this.$58=this.$15.isFullscreen();var r=this.$15.getPlayerOrigin();switch(this.$15.getSource()){case"inline":case"discover":case"continue_watching_recommendation":case"topic_live":case"entry_point":this.$60=!0;break;case"permalink":this.$60=r==="video_home";break;case"games_video_home_hero":this.$60=r==="games_video_hub";break;default:this.$60=!1;break}this.$61=e.isLiveStream,this.$6=e.areHLSActive,this.$78=!1,this.$23=this.$15.listeners("enterTahoe").length!==0}},t.toggleHD=function(){this.$15.toggleHD()},t.setPreferredVideoQuality=function(t){t?this.$15.setPreferredVideoQuality(t):this.$15.unsetPreferredVideoQuality()},t.toggleHLS=function(){this.$15.switchToStreamType("hls")},t.enterWatchAndScroll=function(){r("shouldWNSRenderToRHC")()?this.$15.emit("crossfadeWatchAndScroll"):this.$15.emit("enterWatchAndScroll")},t.enterTahoe=function(){var e=this;this.$15.getSource()==="watch_scroll"?(this.$15.logEvent("watch_and_scroll_channel_entered"),r("Bootloader").loadModules(["TahoeController","URI"],function(t,n){var o=new n(e.$15.getVideoURL()),a=babelHelpers.extends({},n.getRequestURI().getQueryData(),{ref:"tahoe"});r("VideoWatchAndScrollController").onEnterTahoe(),t.openFromVideoPlayer(e.$15,o.setQueryData(a),e.$15.getVideoChannelID(),"wns")},"VideoControls")):this.$15.emit("enterTahoe")},t.scrubBegin=function(){this.isCasting()||this.$15.pause("seek_initiated")},t.scrubEnd=function(t){if(this.$63){var e=this.$15.getSeekableRanges();if(e){var n=this.$71;this.$71=t,t=o("LiveRewindUtils").getAbsolutePosition(t,e);var r=o("LiveRewindUtils").getLiveHeadTimestamp(e),a=r-t<1;o("LiveVideoPlayerActions").setIsRewound(this.$15,!a),o("LiveRewindUtils").logLiveRewindEvent("scrubber",this.$15,n,null,null,t)}}this.$22&&(t+=this.$22),this.$15.seek(t,"user_initiated"),this.$83=t;var i=this.$66||this.$15.isState("finished")&&!this.$50;!this.isCasting()&&i&&this.$15.play("seek_initiated")},t.toggleMuted=function(){this.$15.isMuted()?(r("logVideosClickTracking")(this.$15.getVideoNode()),this.$15.unmute()):this.$15.mute()},t.toggleFullscreen=function(){this.$15.isFullscreen()||r("logVideosClickTracking")(this.$15.getVideoNode()),this.$15.toggleFullscreen()},t.toggleCaptions=function(){this.$15.toggleSubtitles(),this.scheduleRenderReactComponent()},t.changeVolume=function(t){this.$15.setVolume(t)},t.liveRewindToBeginning=function(){o("LiveRewindUtils").goToBeginning(this.$15)},t.liveRewindSeekBack=function(){o("LiveRewindUtils").seekBack(this.$15)},t.liveRewindSeekForward=function(){o("LiveRewindUtils").seekForward(this.$15)},t.liveRewindToLive=function(){o("LiveRewindUtils").goToLive(this.$15)},t.play=function(){r("logVideosClickTracking")(this.$15.getVideoNode()),this.isCasting()?this.$15.setOption("casting","isPlaying",!0):this.$15.play("user_initiated"),this.$61&&this.$63&&o("LiveRewindUtils").logLiveRewindEvent("play",this.$15,this.$71,null,this.$71,null)},t.pause=function(){this.isCasting()?this.$15.setOption("casting","isPlaying",!1):this.$15.pause("user_initiated"),this.$61&&this.$63&&(o("LiveVideoPlayerActions").setIsRewound(this.$15,!0),o("LiveRewindUtils").logLiveRewindEvent("pause",this.$15,this.$71,null,this.$71,null))},t.setVideoPlaybackRate=function(t){this.$15.setPlaybackRate(t)},t.startCasting=function(){this.$15.setOption("casting","isCasting",!0)},t.stopCasting=function(){this.$15.setOption("casting","isCasting",!1)},t.isCastPlaying=function(){return this.$15.getOption("casting","isPlaying")},t.hasFoundReceiver=function(){return this.$15.getOption("casting","hasFoundReceiver")},t.isCasting=function(){return this.$15.getOption("casting","isCasting")},t.isCastingSupported=function(){return this.$15.getOption("casting","isSupported")},t.updatePointsOfInterestConfig=function(t){Object.assign(this.$84,t),this.scheduleRenderReactComponent()},t.updateDisplayElapsedTime=function(t){this.$18=t,this.scheduleRenderReactComponent()},t.updateDisplayTimeRangeConfig=function(t){this.$21=t.displayDurationLimit,this.$22=t.displayTimeOffset,this.scheduleRenderReactComponentWithVideoInfoUpdate()},t.getIsInChannel=function(){return this.$15.getIsInChannel()},t.$134=function(){var e=[this.$13,this.$27,this.$32,this.$76];e.forEach(function(e){return window.clearTimeout(e)}),this.$13=null,this.$27=null,this.$32=null,this.$76=null},t.unregister=function(){r("cancelAnimationFrame")(this.$89),this.$111.release(),this.$16.current=null,this.$134()},e})();l.default=g}),98);
__d("VideoErrorOverlay",["SphericalVideoFallback","vulture"],(function(t,n,r,o,a,i,l){function e(e,t){"textContent"in e&&(e.textContent=t),e.innerText=t}function s(e){return"textContent"in e?e.textContent:e.innerText?e.innerText:""}var u=(function(){function t(e,t,n,r,a){var i=this;this.$1=t,this.$2=n,this.$3=r,e.registerOption("VideoErrorOverlay","title",function(){return i.getTitle()},function(e){return i.setTitle(e)}),e.registerOption("VideoErrorOverlay","message",function(){return i.getMessage()},function(e){return i.setMessage(e)}),e.registerOption("VideoErrorOverlay","linkURL",function(){return i.getLinkURL()},function(e){return i.setLinkURL(e)}),e.registerOption("VideoErrorOverlay","linkTitle",function(){return i.getLinkTitle()},function(e){return i.setLinkTitle(e)}),e.registerOption("VideoErrorOverlay","available",function(){return!0}),a&&o("SphericalVideoFallback").setup(e,a)}var n=t.prototype;return n.getTitle=function(){return this.$1?s(this.$1):""},n.setTitle=function(n){this.$1&&e(this.$1,n)},n.getMessage=function(){return r("vulture")("CDh8xvqV1KoXhyyB-uS2jWMi_jc="),s(this.$2)},n.setMessage=function(n){e(this.$2,n)},n.getLinkURL=function(){return this.$3.href},n.setLinkURL=function(t){this.$3.href=t},n.getLinkTitle=function(){return s(this.$3)},n.setLinkTitle=function(n){e(this.$3,n)},t})();l.default=u}),98);
__d("VideoHomeEvents",[],(function(t,n,r,o,a,i){var e=Object.freeze({SESSION_PREFETCH:"session_prefetch",SESSION_START:"session_start",SESSION_PAUSE:"session_pause",SESSION_RESUME:"session_resume",SESSION_END:"session_end",FOLLOW:"follow",UNFOLLOW:"unfollow",SUBSCRIBE:"subscribe",SUBSCRIBE_SOME:"subscribe_some",UNSUBSCRIBE:"unsubscribe",PIN_TOPIC:"pin_topic",UNPIN_TOPIC:"unpin_topic",MARK_VISIT:"mark_visit",MARK_VISIT_WITH_BADGE:"mark_visit_with_badge",MARK_VISIT_WATCHLIST:"mark_visit_watchlist",MARK_SESSION_END:"mark_session_end",MARK_FEED_SESSION_END:"mark_feed_session_end",SECTION_PAGINATION_ERROR:"section_pagination_error",AFTER_PARTY_REACT:"after_party_react",AFTER_PARTY_IMPRESSION:"after_party_impression",SAW_SUPER_BADGE:"saw_super_badge",ENABLE_WATCHLIST_NOTIF:"enable_watchlist_notif",DISABLE_WATCHLIST_NOTIF:"disable_watchlist_notif",VISIT_WATCHLIST_SETTING:"visit_watchlist_setting",VISIT_WATCHLIST_ADD_PAGES:"visit_watchlist_add_pages",VISIT_WATCHLIST_MANAGE:"visit_watchlist_manage",VISIT_WATCH_MANAGE:"visit_watch_manage",VISIT_NOTIF_CONTROLS:"visit_notif_controls",VISIT_VOD_NOTIF_CONTROLS:"visit_vod_notif_controls",VISIT_LIVE_NOTIF_CONTROLS:"visit_live_notif_controls",UNHIDE_ALL_IN_WATCHLIST:"unhide_all_in_watchlist",UNHIDE_PAGE_IN_WATCHLIST:"unhide_page_in_watchlist",HIDE_ALL_IN_WATCHLIST:"hide_all_in_watchlist",HIDE_PAGE_IN_WATCHLIST:"hide_page_in_watchlist",OPTED_OUT_WATCHLIST_BUSINESS_PAGES:"opted_out_watchlist_business_pages",OPTED_OUT_BUSINESS_PAGE_ON_FOLLOW:"opted_out_business_page_on_follow",FEED_PAGE_VISIT:"feed_page_visit",LIVE_REMINDER:"live_reminder",HIDE:"hide",SEE_MORE:"see_more",SEE_LESS:"see_less",SEE_MORE_FAIL:"see_more_fail",SEE_LESS_FAIL:"see_less_fail",UNDO_SEE_MORE:"undo_see_more",UNDO_SEE_LESS:"undo_see_less",UNDO_SEE_MORE_FAIL:"undo_see_more_fail",UNDO_SEE_LESS_FAIL:"undo_see_less_fail",DISPLAY_BADGE_ON_TAB:"display_badge_on_tab",REFINEMENT_SELECT:"refinement_select",REFINEMENT_UNSELECT:"refinement_unselect",VIDEO_DELETED:"video_deleted",VIDEO_STATUS_CHANGED:"video_status_changed",VIDEO_PREVIEW_LOAD:"video_preview_load",NAVIGATION:"navigation",OPEN_DIVEBAR:"open_divebar",CONTENT:"content",PULL_TO_REFRESH:"pull_to_refresh",HANDLING_APNS:"handling_apns",AUDIO_STATE:"audio_state",BADGE_FETCHED:"badge_fetched",METADATA_FETCHED:"metadata_fetched",DATA_PREFETCH:"data_prefetch",UNIT_PREFETCH:"unit_prefetch",GRAPHQL_BADGE_UPDATE_SUBSCRIPTION:"graphql_badge_update_subscription",BADGE_COUNT_FETCH_ON_BADGE_PUSH:"badge_count_fetch_on_badge_push",EMPTY_UNIT:"empty_unit",EMPTY_PAGINATION:"empty_pagination",INVALID_UNIT:"invalid_unit",INVALID_CHANNEL_TYPE:"invalid_channel_type",NO_ITEMS_WITH_HAS_NEXT_PAGE:"no_items_with_has_next_page",SKIPPED_NOT_LIVE_IMPRESSION:"skipped_not_live_impression",COLLAPSED_IMPRESSION:"collapsed_impression",COLLAPSED_NO_VIDEO:"collapsed_no_video",SKIPPED_MF_LIVE_MISMATCH_IMPRESSION:"skipped_mf_live_mismatch_impression",COLLAPSED_WAS_LIVE_LIMIT_IMPRESSION:"collapsed_was_live_limit_impression",IMPRESSION:"impression",VPV:"vpv",VPVD:"vpvd",VPV_DURATION:"vpv_duration",CLICK:"click",SWIPE:"swipe",SESSION_SUMMARY:"session_summary",WATCH_SUMMARY:"watch_summary",WATCHLIST_LOAD:"watchlist_load",UNFOLLOWED_WATCHLIST_LOAD:"unfollowed_watchlist_load",DUPLICATE:"duplicate",BACKGROUNDED:"backgrounded",FOREGROUNDED:"foregrounded",END_SCREEN_DISPLAYED:"end_screen_displayed",END_OF_DATA:"end_of_data",END_OF_SECTION:"end_of_section",MARK_DATA_DIRTY:"mark_data_dirty",TAB:"tab",TOPIC_SELECTED:"topic_selected",REDIRECT:"redirect",LOAD_LOADING_CARD_VIEW:"load_loading_card_view",LOAD_ITEMS_LOADING_CARD_VIEW:"load_items_loading_card_view",TTI:"tti",TTI_REALDATA:"tti_realdata",E2E:"e2e",LOAD_SECTION:"load_section",LOAD_ITEMS:"load_items",MULTI_MEDIA_CHAINING_PAGE_LOAD:"multi_media_chaining_page_load",REACTION_UNIT_ID_MEMCACHE_HIT:"reaction_unit_id_memcache_hit",REACTION_UNIT_ID_MEMCACHE_MISS:"reaction_unit_id_memcache_miss",VIDEO_JEWEL_IMPRESSION:"video_jewel_impression",SCROLL_PERF:"scroll_perf",SCROLL_PERF_HSCROLL:"scroll_perf_hscroll",APPENDED_HSCROLL_STORIES:"appended_hscroll_stories",LOAD_UNIT_ATTEMPT:"load_unit_attempt",UNIT_STORY_EXCEPTION:"unit_story_exception",COMPONENT_GENERATION_EXCEPTION:"component_generation_exception",BADGE_SENT:"badge_sent",VIDEO_TAB_SELECTED:"video_tab_selected",BADGE_UPDATE:"badge_update",BOOKMARK_BADGE_IMPRESSION:"bookmark_badge_impression",BADGE_COUNT_GENERATED:"badge_count_generated",BADGE_COUNT_NOT_RENDERED:"badge_count_not_rendered",BADGE_ID_GENERATED:"badge_id_generated",BADGE_TYPE_NOT_RENDERED:"badge_type_not_rendered",VIDEO_STORY_GENERATED:"video_story_generated",EMPTY_FEED_AFTER_FALLBACK:"empty_feed_after_fallback",NO_VIDEO_STORY_GENERATED:"no_video_story_generated",INVALID_QUERY_END_TIMESTAMP:"invalid_query_end_timestamp",BADGE_STORIES_COUNT:"badge_stories_count",BADGE_PREDICTION_RANKED:"badge_prediction_ranked",BADGE_COOLDOWN_RANKED:"badge_cooldown_ranked",BADGE_EXPLORATION_CACHE_RETURN:"badge_exploration_cache_return",BADGE_EXPLORATION_CACHE_SET:"badge_exploration_cache_set",AGGREGATION_SECTION_COMPONENT_NULL:"aggregation_section_component_null",AGGREGATION_INELIGIBLE:"aggregation_ineligible",HSCROLL_NUM_FETCHED:"hscroll_num_fetched",AGGREGATION_ELIGIBILITY_CHECK:"aggregation_eligibility_check",AGGREGATION_ELIGIBLE:"aggregation_eligible",PIVOT_USECASE_ELIGIBLE:"pivot_usecase_eligible",PIVOT_USECASE_INELIGIBLE:"pivot_usecase_ineligible",PIVOT_NOT_RENDERED:"pivot_not_rendered",PIVOT_AUTO_DISMISSED:"pivot_auto_dismissed",SOCIAL_GLYPH_IMPRESSION:"social_glyph_impression",RHC_IMPRESSION:"rhc_impression",SHOW_VIDEO_END_SCREEN_IMPRESSION:"show_video_end_screen_impression",SHOW_EPISODE_MASKED_IMPRESSION:"show_episode_masked_impression",SHOW_EPISODE_CONTINUE_WATCHING_IMPRESSION:"show_episode_continue_watching_impression",SHOW_EPISODE_CLICK_TO_WATCH_IMPRESSION:"show_episode_click_to_watch_impression",VIDEO_HOVERCARD_IMPRESSION:"video_hovercard_impression",PARENT_PAGE_VIDEO_END_SCREEN_IMPRESSION:"parent_page_video_end_screen_impression",SOCIAL_CONTEXT_IMPRESSION:"social_context_impression",GAMING_VERTICAL_IMPRESSION:"gaming_vertical_impression",WATCHLIST_CONTROLS_IMPRESSION:"watchlist_controls_impression",SUBSCRIPTIONS_CONTROLS_IMPRESSION:"subscriptions_controls_impression",TAHOE_TOP_BANNER_WATCH_ENTRY_POINT_IMPRESSION:"tahoe_top_banner_watch_entry_point_impression",INLINE_END_SCREEN_IMPRESSION:"inline_end_screen_impression",EMBEDDED_END_SCREEN_IMPRESSION:"embedded_end_screen_impression",TAHOE_ENDSCREEN_WATCH_ENTRY_POINT_IMPRESSION:"tahoe_endscreen_watch_entry_point_impression",TAHOE_UP_NEXT_VIDEO_WATCH_ENTRY_POINT_IMPRESSION:"tahoe_up_next_video_watch_entry_point_impression",TAHOE_SEARCH_BAR_WITH_WATCH_LOGO_IMPRESSION:"tahoe_search_bar_with_watch_logo_impression",PAUSE_SCREEN_IMPRESSION:"pause_screen_impression",EMBEDDED_LIVE_VIDEO_PROMPT_IMPRESSION:"embedded_live_video_prompt_impression",LIVE_PROMPT_IMPRESSION:"live_prompt_impression",TAHOE_END_CARD_AGGREGATION_IMPRESSION:"tahoe_end_card_aggregation_impression",TAHOE_END_CARD_AGGREGATION_FETCH:"tahoe_end_card_aggregation_fetch",INLINE_PAUSE_SCREEN_IMPRESSION:"inline_pause_screen_impression",LANGUAGE_PICKER_IMPRESSION:"language_picker_impression",RHC_LATEST_SECTION_IMPRESSION:"rhc_latest_section_impression",RHC_GET_CAUGHTUP_SECTION_IMPRESSION:"rhc_get_caughtup_section_impression",NPC_CONTROL_TIME_SKIP_FORWARD_IMPRESSION:"npc_control_time_skip_forward_impression",NPC_CONTROL_TIME_SKIP_FORWARD_LARGE_IMPRESSION:"npc_control_time_skip_forward_large_impression",NPC_CONTROL_TIME_SKIP_BACKWARD_IMPRESSION:"npc_control_time_skip_backward_impression",NPC_CONTROL_TIME_SKIP_BACKWARD_LARGE_IMPRESSION:"npc_control_time_skip_backward_large_impression",CONTROL_NPC_SKIP_VIDEO_IMPRESSION:"control_npc_skip_video_impression",NPC_CONTROL_LARGE_PLAYBACK_BUTTON_IMPRESSION:"npc_control_large_playback_button_impression",NPC_CONTROL_PLAYBACK_BUTTON_IMPRESSION:"npc_control_playback_button_impression",PAGE_FOLLOW_BUNDLE_IMPRESSION:"page_follow_bundle_impression",PAGE_FOLLOW_BUNDLE_UNIT_IMPRESSION:"page_follow_bundle_unit_impression",PAGE_FOLLOW_BUNDLE_BOTTOM_SHEET_IMPRESSION:"page_follow_bundle_bottom_sheet_impression",SOCIAL_RESHARED_VIDEO_GENERATION_ATTEMPT:"social_reshared_video_generation_attempt",SOCIAL_RESHARED_STORY_GENERATED:"social_reshared_story_generated",POPULAR_WITH_FRIENDS_GENERATION:"popular_with_friends_generation",POPULAR_WITH_FRIENDS_WARION:"popular_with_friends_warion",VIDEO_HOME_DISCOVER_FETCH_COMPLETE:"video_home_discover_fetch_complete",LONG_PRESS_MENU:"long_press_menu",INTERSTITIAL_SEEN:"interstitial_seen",WWW_FEED_INJECTION:"www_feed_injection",WWW_FEED_WNS_IMPRESSION:"www_feed_wns_impression",WWW_USER_FAILS_COB:"www_user_fails_cob",WWW_USER_PASSES_COB:"www_user_passes_cob",PAGE_LOAD:"page_load",AUTO_SCROLL:"auto_scroll",FEED_IMPRESSION:"feed_impression",FEED_PERMALINK_ELIGIBLE:"feed_permalink_eligible",FEED_PERMALINK_NOT_ELIGIBLE:"feed_permalink_not_eligible",FEED_PERMALINK_REDIRECT:"feed_permalink_redirect",FEED_WITH_VIDEO_ID:"feed_with_video_id",FEED_WITH_VIDEO:"feed_with_video",FEED_UNIT_LOADED:"feed_unit_loaded",FEED_UNIT_VIDEO_LOADED:"feed_unit_video_loaded",FEED_UNIT_VIDEO_DISPLAYED:"feed_unit_video_displayed",FEED_UNIT_VIDEO_PLAY:"feed_unit_video_play",LIVE_INJECT_FROM_FEED:"live_inject_from_feed",LIVE_INJECT_FROM_PERMALINK:"live_inject_from_permalink",VPC_LOADED:"vpv_loaded",AUTOPLAY_REGISTERED:"autoplay_registered",JS_ERROR:"js_error",WWW_LIVE_HERO_UP_NEXT_CHAIN:"www_live_hero_up_next_chain",WWW_PERMALINK_VISIT:"www_permalink_visit",WWW_LOE_PERMALINK_VISIT:"www_loe_permalink_visit",WWW_LOE_TRANSCRIPT_GATING:"www_loe_transcript_gating",WWW_COPY_LINK:"www_copy_link",WWW_LIVE_SIMILAR_DUPES:"www_live_similar_dupes",WWW_LIVE_WNS_IMPRESSION:"www_live_wns_impression",VIDEO_END_CARD_FETCH:"video_end_card_fetch",VIDEO_PAUSE_CARD_FETCH:"video_pause_card_fetch",REEL_END_CARD_FETCH:"reel_end_card_fetch",REEL_PAUSE_CARD_FETCH:"reel_pause_card_fetch",AUTOPLAY_SETTINGS_PROMPT_IMPRESSION:"autoplay_settings_prompt_impression",AUTOPLAY_TOGGLE_ON:"autoplay_toggle_on",AUTOPLAY_TOGGLE_OFF:"autoplay_toggle_off",NOTIFICATIONS_BADGE_LOAD:"notifications_badge_load",UPDATES_SURFACE_CLICK:"updates_surface_click",WWW_LATEST_PAGINATION:"www_latest_pagination",WWW_QP_NULL_SECTION:"www_qp_null_section",WWW_QP_INSUFFICIENT_VIDEOS:"www_qp_insufficient_videos",WWW_QP_DATA_IMPL:"www_qp_data_impl",WWW_QP_SCROLL_UNIT_IMPRESSION:"www_qp_scroll_unit_impression",WWW_QP_SCROLL_UNIT_CLICK:"www_qp_scroll_unit_click",WWW_QP_MOBILE_WHALES_IMPRESSION:"www_qp_mobile_whales_impression",WWW_QP_NOSTALGIA_IMPRESSION:"www_qp_nostalgia_impression",WWW_QP_RAINBOW_IMPRESSION:"www_qp_rainbow_impression",WWW_QP_WATCHLIST_PAGE_IMPRESSION:"www_qp_watchlist_page_impression",FEED_AUTO_ADVANCE:"feed_auto_advance",WATCH_AND_SCROLL_END_SCREEN_IMPRESSION:"watch_and_scroll_end_screen_impression",WATCH_AND_SCROLL_CHAINING_CLICK_ADVANCE:"watch_and_scroll_chaining_click_advance",WATCH_AND_SCROLL_CHAINING_AUTO_ADVANCE:"watch_and_scroll_chaining_auto_advance",WATCH_AND_SCROLL_CHAINING_QUERY_EMPTY:"watch_and_scroll_chaining_query_empty",WATCH_AND_SCROLL_SKIP_OVERLAY_IMPRESSION:"watch_and_scroll_skip_overlay_impression",WATCH_AND_SCROLL_TRIGGER:"watch_and_scroll_trigger",WATCH_AND_SCROLL_END_SESSION:"watch_and_scroll_end_session",MSITE_FEED_AUTO_ADVANCE:"msite_feed_auto_advance",MSITE_FEED_ALTERNATIVE_HEIGHT_AUTO_ADVANCE:"msite_feed_alternative_height_auto_advance",MSITE_FEED_ALTERNATIVE_RECT_AUTO_ADVANCE:"msite_feed_alternative_rect_auto_advance",MSITE_FEED_FAILED_AUTO_ADVANCE:"msite_feed_failed_auto_advance",MSITE_END_SCREEN_IMPRESSION:"msite_end_screen_impression",MSITE_NUM_CHARACTERS_LINES:"msite_num_characters_lines",LOGGED_OUT_MSITE_COMMENT_MODAL_IMPRESSION:"logged_out_msite_comment_modal_impression",LOGGED_OUT_MSITE_AGGREGATION_PAGE_IMPRESSION:"logged_out_msite_aggregation_page_impression",EXCEPTION:"exception",FBLITE_RELATED_VIDEOS_QUERY_EXCEPTION:"fblite_related_videos_query_exception",FBLITE_CHANNELS_OTHERS:"fblite_channels_others",MARK_VISIT_EXCEPTION:"mark_visit_exception",MARK_FEED_SESSION_END_EXCEPTION:"mark_feed_session_end_exception",MARK_WATCHLIST_SESSION_END_EXCEPTION:"mark_watchlist_session_end_exception",MARK_FEED_PAGE_VISIT_EXCEPTION:"mark_feed_page_visit_exception",LOAD_LOGGED_OUT_MSITE_CTA_FOOTER:"load_logged_out_msite_cta_footer",VIDEO_FROM_STORY_OPTIMIZATION_MISS:"video_from_story_optimization_miss",LANGUAGE_PICKER_CONFIRM_CLICK:"language_picker_confirm_click",LANGUAGE_PICKER_DISMISSED:"language_picker_dismissed",LANGUAGE_PICKER_UNKNOWN_EVENT:"language_picker_unknown_event",LANGUAGE_PICKER_PREDICTED_LANGUAGES_GENERATED:"language_picker_predicted_languages_generated",PAGE_FOLLOW_BUNDLE_FOLLOW_ALL_CLICK:"page_follow_bundle_follow_all_click",PAGE_FOLLOW_BUNDLE_FOLLOW_CLICK:"page_follow_bundle_follow_click",PAGE_FOLLOW_BUNDLE_OPEN_PAGE_CLICK:"page_follow_bundle_open_page_click",PAGES_YOU_FOLLOW_MANAGE_NOTIFS_DIALOG_IMPRESSION:"pages_you_follow_manage_notifs_dialog_impression",PAGES_YOU_FOLLOW_MANAGE_NOTIFS_DIALOG_NOTIF_SUBSCRIPTION_STATUS_CHANGE:"pages_you_follow_manage_notifs_dialog_notif_subscription_status_change",INTERLINKING:"interlinking",CREATOR_STUDIO_REELS_TAB_TABLE_IMPRESSION:"creator_studio_reels_tab_table_impression",CREATOR_STUDIO_REELS_TAB_DETAILS_SLIDING_TRAY_IMPRESSION:"creator_studio_reels_tab_details_sliding_tray_impression",CREATOR_STUDIO_VIEW_REEL_BUTTON_CLICK:"creator_studio_view_reel_button_click",CREATOR_STUDIO_DELETE_REEL_BUTTON_CLICK:"creator_studio_delete_reel_button_click",CREATOR_STUDIO_DELETE_REEL_SUCCESS:"creator_studio_delete_reel_success",CREATOR_STUDIO_DELETE_REEL_FAILURE:"creator_studio_delete_reel_failure",AUTO_GENERATE_REEL_ON_VID_UPLOAD_SUCCESS:"auto_generate_reel_on_vid_upload_success",AUTO_GENERATE_REEL_ON_VID_UPLOAD_FAILURE:"auto_generate_reel_on_vid_upload_failure",AUTO_GENERATE_DRAFT_REEL_SUCCESS:"auto_generate_draft_reel_success",AUTO_GENERATE_DRAFT_REEL_FAILURE:"auto_generate_draft_reel_failure",AUTO_GENERATE_REELS_OPT_IN_MUTATION_FAILURE:"auto_generate_reels_opt_in_mutation_failure",VIDEO_METADATA_FAILED_TO_GENERATE_IMAGE_FILE_SIZE:"video_metadata_failed_to_generate_image_file_size",NUX:"nux"});i.default=e}),66);
__d("VideoHomeClickLogger",["VideoHomeEvents","VideoHomeTypedLogger"],(function(t,n,r,o,a,i,l){"use strict";function e(e){var t=e.target,n=e.id,o=e.clickPoint,a=e.playerOrigin,i=a===void 0?"video_home":a,l=e.eventTargetInfo,s=l===void 0?null:l;new(r("VideoHomeTypedLogger"))().setEvent(r("VideoHomeEvents").CLICK).setEventTarget(t).setEventTargetID(n).setClickPoint(o).setPlayerOrigin(i).setEventTargetInfo(s).log()}function s(t,n){t.addEventListener("click",function(){e(n)})}l.logClick=e,l.init=s}),98);
__d("VideoInstreamAdsConstantsJSModuleWrapper",["VideoInstreamAdsConstants"],(function(t,n,r,o,a,i,l){"use strict";l.default=r("VideoInstreamAdsConstants")}),98);
__d("VideoPlayButton",["CSS","EventListener","VideoDisplayTimePlayButton"],(function(t,n,r,o,a,i,l){var e=(function(){function e(e,t,n){var a=this;this.$1=e,this.$2=t,n&&(this.$3=n.hiddenAfterFinish,this.$4=n.hiddenWhilePaused,this.$5=!!n.hiddenInFallback,this.$5=n.hiddenInFallback,this.$6=n.spherical);var i=o("VideoDisplayTimePlayButton").getClicked(this.$2);o("VideoDisplayTimePlayButton").unregister(this.$2),e.addListener("beginPlayback",function(){return a.$7()}),e.addListener("finishPlayback",function(){return a.$8()}),e.addListener("pausePlayback",function(){return a.$9()}),e.addListener("buffering",function(){return a.$10()}),e.addListener("buffered",function(){return a.$11()}),e.addListener("stateChange",function(){return a.$12()}),e.addListener("playRequested",function(e){return a.$13(e)}),e.addListener("VideoChannelController/exitChannel",function(){return a.$14()}),e.addListener("clickVideo",function(){return a.$15()}),e.addListener("TahoeController/enterTahoe",function(){return a.$16()}),r("EventListener").listen(this.$2,"click",function(){return a.$17()}),n&&n.hiddenWhileJSLoading&&!n.hiddenWhileVideoLoading&&o("CSS").show(this.$2),i&&this.$17()}var t=e.prototype;return t.$12=function(){this.$1.isState("fallback")&&(this.$5||this.$1.getIsInChannel()?o("CSS").hide(this.$2):o("CSS").show(this.$2))},t.$7=function(){o("CSS").hide(this.$2)},t.$9=function(){this.$4||this.$1.getSource()==="inline"||o("CSS").show(this.$2)},t.$13=function(t){this.$1.isState("fallback")||t==="autoplay_initiated"||o("CSS").hide(this.$2)},t.$14=function(){(this.$1.isState("paused")&&(!this.$4||this.$6)||this.$1.isState("finished")&&!this.$3)&&o("CSS").show(this.$2)},t.$16=function(){this.$1.isState("playing")||o("CSS").show(this.$2)},t.$8=function(){var e=this.$1.getOption("Looping","isLooping");this.$3||this.$1.getIsInChannel()||this.$1.getSource()==="tahoe"||e?o("CSS").hide(this.$2):o("CSS").show(this.$2)},t.$10=function(){o("CSS").hide(this.$2)},t.$11=function(){o("CSS").hide(this.$2)},t.$17=function(){this.$1.clickVideo()},t.$15=function(){this.$1.isState("fallback")||o("CSS").hide(this.$2)},e})();l.default=e}),98);
__d("VideoReshareLink.react",["cx","fbt","ix","VideoActionLink.react","react"],(function(t,n,r,o,a,i,l,s,u,c){"use strict";var e,d=e||(e=o("react"));function m(e){return d.jsx(r("VideoActionLink.react"),{href:e.shareURI,imageClass:"_2a_f",imageSrc:c("115553"),rel:"dialog",text:u._(/*BTDS*/"Megoszt\u00e1s")})}m.displayName=m.name+" [from "+i.id+"]",l.default=m}),226);
__d("VideoSpinner",["cx","CSS","EventListener","ShakaConstants","setTimeout"],(function(t,n,r,o,a,i,l,s){var e=(function(){function e(e,t){var n=this;this.$2=t,this.$1=e,this.$3=!1,e.addListener("beginPlayback",function(){return n.$5()}),e.addListener("finishPlayback",function(){return n.$6()}),e.addListener("pausePlayback",function(){return n.$7()}),e.addListener("playRequested",function(){return n.$8()}),e.addListener("buffering",function(){return n.$9()}),e.addListener("buffered",function(){return n.$10()}),e.addListener("networkInterrupted",function(){return n.$11()}),e.addListener("networkResumed",function(){return n.$12()}),e.addListener("stateChange",function(){return n.$13()}),e.addListener("clickVideo",function(){return n.$14()}),e.addListener("VideoSphericalOverlay/animationUpdate",function(e,t){return n.$15(e,t)}),r("EventListener").listen(this.$2,"click",function(){return n.$16()})}var t=e.prototype;return t.$15=function(t,n){t?o("CSS").addClass(this.$2,"_1st9"):o("CSS").removeClass(this.$2,"_1st9")},t.$11=function(){this.$4=!0},t.$12=function(){this.$4=!1},t.$9=function(){var e=this,t=r("ShakaConstants").numbers.buffering_spinner_delay_ms;this.$3=!0,t===0?o("CSS").show(this.$2):r("setTimeout")(function(){e.$3&&o("CSS").show(e.$2)},t)},t.$10=function(){o("CSS").hide(this.$2),this.$3=!1},t.$5=function(){this.$3?o("CSS").show(this.$2):o("CSS").hide(this.$2)},t.$7=function(){o("CSS").hide(this.$2)},t.$8=function(){o("CSS").hide(this.$2)},t.$6=function(){o("CSS").hide(this.$2)},t.$13=function(){this.$1.isState("fallback")&&o("CSS").hide(this.$2)},t.$14=function(){this.$1.isState("fallback")||(this.$3||this.$1.isState("ready")||this.$1.isState("loading"))&&o("CSS").show(this.$2)},t.$16=function(){this.$1.clickVideo()},e})();l.default=e}),98);
__d("VideoStateDirectory",["EventEmitter","VideoPlayerExperiments"],(function(t,n,r,o,a,i,l){var e=(function(e){function t(){var t;return t=e.call(this)||this,t.$VideoStateDirectory$p_1=new Map,t}babelHelpers.inheritsLoose(t,e);var n=t.prototype;return n.setPlaybackState=function(t,n,o){var e=this.$VideoStateDirectory$p_1.get(t)||{};e.currentTimePosition=n,e.playbackDuration=o,e.watched=e.currentTimePosition/e.playbackDuration>=r("VideoPlayerExperiments").watchedPercentage/100||!!e.watched,this.$VideoStateDirectory$p_1.set(t,e),this.emit(t,e)},n.setSaveState=function(t,n){var e=this.$VideoStateDirectory$p_1.get(t)||{};e.saved=n,this.emit(t,e)},n.setSubscriptionState=function(t,n){var e=this.$VideoStateDirectory$p_1.get(t)||{};e.subscribed=n,this.emit(t,e)},n.getState=function(t){return this.$VideoStateDirectory$p_1.get(t)},t})(r("EventEmitter")),s=new e;l.default=s}),98);
__d("VideoWatchAgainLink.react",["cx","fbt","ix","VideoActionLink.react","react"],(function(t,n,r,o,a,i,l,s,u,c){"use strict";var e,d=e||(e=o("react")),m=(function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return t=e.call.apply(e,[this].concat(r))||this,t.$1=function(){t.props.vpc.clickVideo()},babelHelpers.assertThisInitialized(t)||babelHelpers.assertThisInitialized(t)}babelHelpers.inheritsLoose(t,e);var n=t.prototype;return n.render=function(){return d.jsx(r("VideoActionLink.react"),{imageClass:"_2a_d",imageSrc:c("115481"),onClick:this.$1,text:u._(/*BTDS*/"\u00dajra")})},t})(d.PureComponent);l.default=m}),226);
__d("VideoWatchAndScrollVariablesJSModuleWrapper",["VideoWatchAndScrollVariables"],(function(t,n,r,o,a,i,l){"use strict";l.default=r("VideoWatchAndScrollVariables")}),98);
__d("VideoWithClickPlayPause",["logVideosClickTracking"],(function(t,n,r,o,a,i){var e=(function(){"use strict";function e(e){this.$1=e,this.$2=this.$1.getVideoNode(),this.$1.addListener("clickVideo",this.$3.bind(this)),this.$1.hasSeenClick()&&this.$3()}var t=e.prototype;return t.$3=function(){var e=this.$1.getOption("CommercialBreakVideoAdOverlay","videoController");if(this.$1.isState("playing")){if(this.$1.getOption("VideoWithLiveBroadcast","isLive")||e&&e.getOption("VideoWithLiveBroadcast","isLive")||this.$4()||this.$5())return;this.$1.pause("user_initiated")}else n("logVideosClickTracking")(this.$2),this.$1.play("user_initiated")},t.$4=function(){var e=this.$1.getOption("CommercialBreakVideoAdOverlay","videoController"),t=e&&e.getOption("VideoWithInstreamVideo","controller");return t&&!t.getConfig().canPauseAdBreak},t.$5=function(){return this.$1.getOption("VideoWithInstreamVideo","disableClickToPause")},e})();a.exports=e}),null);
__d("WWWEmbeddedVideoAPIComponent",["AgnosticEmbeddedVideoApiComponent","Arbiter","UnverifiedXD"],(function(t,n,r,o,a,i,l){var e=function(t){var e=this;if(this.$1=t,this.$2=new(r("AgnosticEmbeddedVideoApiComponent"))(r("UnverifiedXD").send.bind(r("UnverifiedXD")),r("Arbiter").subscribe.bind(r("Arbiter"))),this.$2.addListener("play",function(){e.$1.play("embedded_video_api_initiated")}),this.$2.addListener("pause",function(){e.$1.pause("embedded_video_api_initiated")}),this.$2.addListener("seek",function(t,n){e.$1.seek(n.target)}),this.$2.addListener("mute",function(){e.$1.mute()}),this.$2.addListener("unmute",function(){e.$1.unmute()}),this.$2.addListener("setVolume",function(t,n){e.$1.setVolume(n.volume)}),this.$1.addListener("stateChange",function(){if(e.$1.isState("ready")){var t={isMuted:e.$1.isMuted(),volume:e.$1.getVolume(),timePosition:e.$1.getCurrentTimePosition(),duration:e.$1.getPlaybackDuration()};e.$2.notifyVideoAPIReady(t)}else e.$1.isState("playing")?e.$2.notifyStartedPlaying():e.$1.isState("paused")?e.$2.notifyPaused():e.$1.isState("finished")&&e.$2.notifyFinishedPlaying()}),this.$1.addListener("updateStatus",function(t){if(t.position!==void 0){var n={timePosition:t.position};e.$2.notifyStateUpdate(n)}}),this.$1.addListener("buffering",function(){e.$2.notifyStartedBuffering()}),this.$1.addListener("buffered",function(){e.$2.notifyFinishedBuffering()}),this.$1.addListener("error",function(){e.$2.notifyError()}),this.$1.addListener("updateMetadata",function(t){var n={duration:e.$1.getPlaybackDuration()};e.$2.notifyStateUpdate(n)}),this.$1.addListener("muteVideo",function(){var t={isMuted:!0};e.$2.notifyStateUpdate(t)}),this.$1.addListener("unmuteVideo",function(){var t={isMuted:!1};e.$2.notifyStateUpdate(t)}),this.$1.addListener("changeVolume",function(t){var n={volume:t.volume,isMuted:t.volume===0};e.$2.notifyStateUpdate(n)}),!this.$1.isState("loading")&&!this.$1.isState("fallback")){var n={isMuted:this.$1.isMuted(),volume:this.$1.getVolume(),timePosition:this.$1.getCurrentTimePosition(),duration:this.$1.getPlaybackDuration()};this.$2.notifyVideoAPIReady(n)}};l.default=e}),98);
__d("clamp",[],(function(t,n,r,o,a,i){function e(e,t,n){return e<t?t:e>n?n:e}i.default=e}),66);
__d("decodeTrackingNode",["TrackingNodeConstants"],(function(t,n,r,o,a,i,l){"use strict";function e(e){if(e.length===0)return[0];var t=function(t,n,r){for(var e=0,a=n;a<r+n;a+=1){if(!(a<t.length&&t.charCodeAt(a)>=o("TrackingNodeConstants").BASE_CODE_START&&t.charCodeAt(a)<=o("TrackingNodeConstants").BASE_CODE_END))return null;e=e*o("TrackingNodeConstants").BASE_CODE_SIZE+(t.charCodeAt(a)-o("TrackingNodeConstants").BASE_CODE_START)}return e},n=function(n,r){if(r>=n.length)return[null,r];var e=r,a=null,i=0;switch(n.charCodeAt(0)){case o("TrackingNodeConstants").ENCODED_STRING_WITH_TWO_SYMBOLS_PREFIX_CODE:a=t(n,r,2),i=o("TrackingNodeConstants").TOTAL_IDS_SUPPORTED_BY_LEGACY_ENCODING,e+=2;break;case o("TrackingNodeConstants").ENCODED_STRING_WITH_THREE_SYMBOLS_PREFIX_CODE:a=t(n,r,3),i=o("TrackingNodeConstants").TOTAL_IDS_SUPPORTED_BY_LEGACY_ENCODING+Math.pow(o("TrackingNodeConstants").BASE_CODE_SIZE,2),e+=3;break;default:return[null,r]}return a===null?[null,r]:[i+(a!=null?a:0)+1,e]},r=e.charCodeAt(0),a=1,i=0,l=0,s=0;if([o("TrackingNodeConstants").ENCODED_STRING_WITH_TWO_SYMBOLS_PREFIX_CODE,o("TrackingNodeConstants").ENCODED_STRING_WITH_THREE_SYMBOLS_PREFIX_CODE].includes(r)){var u,c=n(e,a);if(c[0]===null)return[0];s=(u=c[0])!=null?u:-1,a=c[1]}else{if(r>=o("TrackingNodeConstants").PREFIX_CODE_START&&r<=o("TrackingNodeConstants").PREFIX_CODE_END){if(e.length===1)return[0];l=r-o("TrackingNodeConstants").PREFIX_CODE_START+1,i=e.charCodeAt(1),a=2}else l=0,i=r;if(i<o("TrackingNodeConstants").BASE_CODE_START||i>o("TrackingNodeConstants").BASE_CODE_END)return[0];s=l*o("TrackingNodeConstants").BASE_CODE_SIZE+(i-o("TrackingNodeConstants").BASE_CODE_START)+1}return e.length>a+2&&e.charAt(a)==="#"&&e.charAt(a+1)>="0"&&e.charAt(a+1)<="9"&&e.charAt(a+2)>="0"&&e.charAt(a+2)<="9"?[a+3,[s,parseInt(e.charAt(a+1)+e.charAt(a+2),10)+1]]:e.length>a&&e.charAt(a)>="0"&&e.charAt(a)<="9"?[a+1,[s,parseInt(e.charAt(a),10)+1]]:[a,[s]]}l.default=e}),98);
__d("destroyOnUnloadWWW",["Run"],(function(t,n,r,o,a,i,l){function e(e){return o("Run").onLeave(e)}l.default=e}),98);
__d("formatDurationSeconds",["fbt","padNumber"],(function(t,n,r,o,a,i,l,s){function e(e){var t=Math.floor(e/3600),n=Math.floor(e/60%60),o=Math.floor(e%60);return t?s._(/*BTDS*/"{hours}:{minutes}:{seconds}",[s._param("hours",t),s._param("minutes",r("padNumber")(n,2)),s._param("seconds",r("padNumber")(o,2))]):s._(/*BTDS*/"{minutes}:{seconds}",[s._param("minutes",n),s._param("seconds",r("padNumber")(o,2))])}l.default=e}),226);
__d("observeIntersection",["invariant","ErrorGuard"],(function(t,n,r,o,a,i,l,s){"use strict";var e,u=typeof WeakMap=="function",c={__noRoot:!0},d=u?new WeakMap:new Map;function m(e){var t=e.threshold;if(Array.isArray(t)){var n={};t.forEach(function(e){n[String(e)]=!0}),t=Object.keys(n).sort()}var r=babelHelpers.extends({},e,{threshold:t}),o={};return Object.keys(r).sort().forEach(function(e){o[e]=r[e]}),JSON.stringify(o)}function p(t,n,o){o===void 0&&(o={});var a=m({rootMargin:o.rootMargin,scrollMargin:o.scrollMargin,threshold:o.threshold}),i=o.root||c,l=d.get(i);l==null&&(l={},d.set(i,l));var p=l[a];if(p==null){var _=void 0;Array.isArray(o.threshold)?_=o.threshold.slice():typeof o.threshold=="number"&&(_=[o.threshold]);var f=new IntersectionObserver(function(t){t.forEach(function(t){p!=null||s(0,2439);var n=[],o=t.target.unstable_reactFragments;o!=null&&o.forEach(function(e){var t,r=(t=p)==null?void 0:t.targetToCallbacksMap.get(e);r!=null&&(n=n.concat(r))});var a=p.targetToCallbacksMap.get(t.target);a!=null&&(n=n.concat(a)),n.length>0&&n.forEach(function(n){(e||(e=r("ErrorGuard"))).applyWithGuard(n,null,[t],{name:"observeIntersection"})})})},babelHelpers.extends({},o,{threshold:_}));p={intersectionObserver:f,referenceCount:0,targetToCallbacksMap:u?new WeakMap:new Map},l[a]=p}var g=p.targetToCallbacksMap.get(t);g==null&&(t instanceof Element?p.intersectionObserver.observe(t):t.observeUsing(p.intersectionObserver),p.referenceCount+=1,g=[],p.targetToCallbacksMap.set(t,g)),g.push(n);var h=!1,y=function(){if(!h){var e=p.targetToCallbacksMap.get(t);if(e!=null||s(0,2440),e.length===1)t instanceof Element?p.intersectionObserver.unobserve(t):t.unobserveUsing(p.intersectionObserver),p.targetToCallbacksMap.delete(t),p.referenceCount-=1,t=null;else{var r=e.indexOf(n);r!==-1||s(0,2441),e.splice(r,1)}p.referenceCount===0&&(l!=null||s(0,2442),delete l[a],i&&Object.keys(l).length===0&&d.delete(i)),n=null,t=null,i=null,h=!0}};return{remove:function(){y&&(y(),y=null)}}}i.exports=p}),34);
__d("testID",["gkx"],(function(t,n,r,o,a,i,l){"use strict";var e=r("gkx")("21117");function s(t){if(e&&t!=null)return{"data-testid":t}}l.default=s}),98);
__d("useCometRouteTracePolicy",["CometRouterRouteTracePolicyContext","react"],(function(t,n,r,o,a,i,l){"use strict";var e,s=(e||(e=o("react"))).useContext,u="comet.app";function c(){var e;return(e=s(r("CometRouterRouteTracePolicyContext")))!=null?e:u}l.default=c}),98);
__d("useHeroBootloadedComponent",["CometHeroInteractionContext","react","react-compiler-runtime"],(function(t,n,r,o,a,i,l){"use strict";var e,s=e||(e=o("react")),u=s.useContext,c=s.useEffect;function d(e){var t=o("react-compiler-runtime").c(4),n=u(r("CometHeroInteractionContext").Context),a,i;t[0]!==n||t[1]!==e?(a=function(){n.consumeBootload(e.getModuleId())},i=[n,e],t[0]=n,t[1]=e,t[2]=a,t[3]=i):(a=t[2],i=t[3]),c(a,i)}l.default=d}),98);
__d("useMinifiedProductAttribution",["CometProductAttribution","react-compiler-runtime","useRouteProductAttribution"],(function(t,n,r,o,a,i,l){"use strict";function e(){var e=o("react-compiler-runtime").c(2),t=r("useRouteProductAttribution")(),n;return e[0]!==t?(n=t!=null?o("CometProductAttribution").minifyProductAttributionV2(t):null,e[0]=t,e[1]=n):n=e[1],n}l.default=e}),98);