;/*FB_PKG_DELIM*/ __d("AdsALSurfaceConditional",["cr:8469","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h||c("react");function a(a){return b("cr:8469")!=null?b("cr:8469")(a):function(a){return i.jsx(i.Fragment,{children:a})}}g["default"]=a}),98); __d("HeroInteractionContext",["react"],(function(a,b,c,d,e,f,g){"use strict";var h;a=h||d("react");b=function(){};c={consumeBootload:b,hold:function(){return""},logHeroRender:b,logMetadata:b,logPageletVC:b,logReactCommit:b,logReactPostCommit:b,logReactRender:b,pageletStack:[],registerPlaceholder:b,removePlaceholder:b,suspenseCallback:b,unhold:b};e=a.createContext(c);g.DEFAULT_CONTEXT_VALUE=c;g.Context=e}),98); __d("HeroInteractionIDContext",["react"],(function(a,b,c,d,e,f,g){"use strict";var h;a=h||d("react");b=a.createContext(null);g["default"]=b}),98); __d("HeroComponent.react",["HeroInteractionContext","HeroInteractionIDContext","react"],(function(a,b,c,d,e,f,g){"use strict";var h;b=h||(h=d("react"));e=h;var i=e.useContext,j=e.useLayoutEffect;function a(a){var b=a.description,e=i(d("HeroInteractionContext").Context),f=i(c("HeroInteractionIDContext"));j(function(){f!=null&&e.logHeroRender(f,b,e.pageletStack)},[b,e,f]);return null}a.displayName="HeroComponent";f=b.memo(a);g["default"]=f}),98); __d("HeroCurrentInteractionForLoggingContext",["react"],(function(a,b,c,d,e,f,g){"use strict";var h;a=h||d("react");b=a.createContext({current:null});g["default"]=b}),98); __d("HeroHoldTrigger.react",["HeroInteractionContext","HeroInteractionIDContext","react"],(function(a,b,c,d,e,f,g){"use strict";var h;h||(h=d("react"));b=h;var i=b.useContext,j=b.useLayoutEffect;function a(a){var b=a.description,e=a.hold,f=i(d("HeroInteractionContext").Context),g=i(c("HeroInteractionIDContext"));j(function(){if(e&&g!=null){var a=f.hold(g,f.pageletStack,b);return function(){f.unhold(g,a)}}},[b,f,g,e]);return null}a.displayName=a.name+" [from "+f.id+"]";a.displayName="HeroHoldTrigger";g["default"]=a}),98); __d("react-relay/relay-hooks/ProfilerContext",["react"],(function(a,b,c,d,e,f){"use strict";var g;a=g||b("react");c=a.createContext({wrapPrepareQueryResource:function(a){return a()}});e.exports=c}),null); __d("RelayProfilerContext",["react-relay/relay-hooks/ProfilerContext"],(function(a,b,c,d,e,f,g){g["default"]=c("react-relay/relay-hooks/ProfilerContext")}),98); __d("HeroInteractionContextPassthrough.react",["HeroCurrentInteractionForLoggingContext","HeroInteractionContext","HeroInteractionIDContext","RelayProfilerContext","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h||d("react"),j={current:null},k={consumeBootload:function(){},retainQuery:function(){},wrapPrepareQueryResource:function(a){return a()}};function a(a){var b=a.children;a=a.clear;a=a===void 0?!0:a;return!a?b:i.jsx(d("HeroInteractionContext").Context.Provider,{value:d("HeroInteractionContext").DEFAULT_CONTEXT_VALUE,children:i.jsx(c("HeroCurrentInteractionForLoggingContext").Provider,{value:j,children:i.jsx(c("HeroInteractionIDContext").Provider,{value:null,children:i.jsx(c("RelayProfilerContext").Provider,{value:k,children:b})})})})}a.displayName=a.name+" [from "+f.id+"]";a.displayName="HeroInteractionContextPassthrough";g["default"]=a}),98); __d("HeroPendingPlaceholderTracker",[],(function(a,b,c,d,e,f){"use strict";var g=new Map();function a(a){g.has(a)||g.set(a,new Map())}function b(a,b,c,d,e){a=g.get(a);a&&a.set(b,{description:c,startTime:d,pageletStack:e})}function c(a){a=g.get(a);return a?Array.from(a.values()):[]}function d(a){g["delete"](a)}function e(a,b){a=g.get(a);a&&a["delete"](b)}function h(a){return g.has(a)}f.addInteraction=a;f.addPlaceholder=b;f.dump=c;f.removeInteraction=d;f.removePlaceholder=e;f.isInteractionActive=h}),66); __d("HeroFallbackTracker.react",["HeroInteractionContext","HeroInteractionIDContext","react"],(function(a,b,c,d,e,f,g){"use strict";var h;b=h||d("react");var i=b.useContext,j=b.useLayoutEffect;function a(a){var b=a.uuid,e=i(d("HeroInteractionContext").Context),f=i(c("HeroInteractionIDContext"));j(function(){if(f!=null){e.registerPlaceholder(f,b,e.pageletStack);return function(){e.removePlaceholder(f,b)}}},[e,f,b]);return null}a.displayName="HeroFallbackTracker";g["default"]=a}),98); __d("HeroPlaceholderUtils",["PromiseAnnotate"],(function(a,b,c,d,e,f,g){"use strict";var h,i=0;function a(){return String(i++)}function b(a){if(a!=null&&a.size>0)return Array.from(a).map(function(a){a=(h||(h=d("PromiseAnnotate"))).getDisplayName(a);if(a!=null)return a;else return"Promise"}).join(",");else return null}g.getSimpleUUID=a;g.createThenableDescription=b}),98); __d("useStable",["react"],(function(a,b,c,d,e,f,g){"use strict";var h,i=(h||d("react")).useRef;function a(a){var b=i(null),c=b.current;if(c===null){a=a();b.current={value:a};return a}else return c.value}g["default"]=a}),98); __d("HeroPlaceholder.react",["HeroFallbackTracker.react","HeroInteractionContext","HeroInteractionIDContext","HeroPlaceholderUtils","react","useStable"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h||(h=d("react"));b=h;var j=b.useCallback,k=b.useContext,l=b.useLayoutEffect,m=b.useRef;e=function(a){a=a.children;return a};function n(a){var b=a.cb,c=m(!1);l(function(){c.current||(b(),c.current=!0)});return null}function a(a){var b=a.children,e=a.fallback,f=a.name,g=a.unstable_avoidThisFallback,h=a.unstable_onSuspense,o=k(d("HeroInteractionContext").Context),p=k(c("HeroInteractionIDContext")),q=c("useStable")(d("HeroPlaceholderUtils").getSimpleUUID),r=c("useStable")(d("HeroPlaceholderUtils").getSimpleUUID),s=m(!1);a=b;b=j(function(a){if(p!=null){var b;o.suspenseCallback(p,q,o.pageletStack,a,(b=f)!=null?b:"Unnamed Suspense")}if(h){a=(b=d("HeroPlaceholderUtils").createThenableDescription(a))!=null?b:"";h(a)}},[o,p,f,q,h]);l(function(){if(s.current===!1&&p!=null&&p!=null){o.hold(p,o.pageletStack,"Hydration",r,f);return function(){return o.unhold(p,r)}}},[o,p,f,r]);var t=function(){s.current=!0,p!=null&&o.unhold(p,r)};return i.jsxs(i.Suspense,{fallback:i.jsxs(i.Fragment,{children:[e,i.jsx(n,{cb:t}),i.jsx(c("HeroFallbackTracker.react"),{uuid:q})]}),suspenseCallback:b,unstable_avoidThisFallback:g,children:[i.jsx(n,{cb:t}),a]})}a.displayName=a.name+" [from "+f.id+"]";a.displayName="HeroPlaceholder";g["default"]=a}),98); __d("hero-tracing-placeholder",["HeroComponent.react","HeroCurrentInteractionForLoggingContext","HeroHoldTrigger.react","HeroInteractionContext","HeroInteractionContextPassthrough.react","HeroInteractionIDContext","HeroPendingPlaceholderTracker","HeroPlaceholder.react","HeroPlaceholderUtils"],(function(a,b,c,d,e,f,g){"use strict";g.HeroComponent=c("HeroComponent.react"),g.HeroHoldTrigger=c("HeroHoldTrigger.react"),g.HeroInteractionContext=d("HeroInteractionContext"),g.HeroInteractionContextPassthrough=c("HeroInteractionContextPassthrough.react"),g.HeroInteractionIDContext=c("HeroInteractionIDContext"),g.HeroCurrentInteractionForLoggingContext=c("HeroCurrentInteractionForLoggingContext"),g.HeroPendingPlaceholderTracker=d("HeroPendingPlaceholderTracker"),g.HeroPlaceholder=c("HeroPlaceholder.react"),g.HeroPlaceholderUtils=d("HeroPlaceholderUtils")}),98); __d("CometHeroHoldTrigger.react",["hero-tracing-placeholder"],(function(a,b,c,d,e,f,g){"use strict";g["default"]=d("hero-tracing-placeholder").HeroHoldTrigger}),98); __d("WaitTimeContext",["react"],(function(a,b,c,d,e,f,g){"use strict";var h;a=h||d("react");b={waitTimeAreaName:void 0,waitTimeAreaOwner:void 0};c=a.createContext(b);g["default"]=c}),98); __d("LoadingMarker.react",["AdsALSurfaceConditional","CometHeroHoldTrigger.react","LoadingMarkerGated","WaitTimeContext","cr:7319","cr:8658","ifRequired","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h||(h=d("react")),j=h.useContext;function a(a){var b=a.children;a.nodeRef;a.stateTracker;return b}a.displayName=a.name+" [from "+f.id+"]";function e(a){return function(d){var e=j(c("WaitTimeContext"));e=(e=e.waitTimeAreaName)!=null?e:"unnamed";var f="LoadingMarker("+e+")",g=i.jsxs(i.Fragment,{children:[i.jsx(c("CometHeroHoldTrigger.react"),{hold:!0,description:f}),i.jsx(a,babelHelpers["extends"]({},d))]});return b("cr:8658")==null||b("cr:7319")==null?g:c("ifRequired")("hyperionAutoLogging",function(a){return c("AdsALSurfaceConditional")({surface:b("cr:8658"),capability:a.ALSurfaceCapability.TrackMutation,subsurface:b("cr:7319").getDynamicSubsurface(f),nodeRef:d.nodeRef})(g)},function(){return g})}}d=e(c("LoadingMarkerGated").component||a);f=d;g["default"]=f}),98); __d("joinClasses",[],(function(a,b,c,d,e,f){"use strict";function a(a){var b=a||"",c=arguments.length<=1?0:arguments.length-1;for(var d=0;dc&&(this.isLoadingContent=!0,this.$3())};e.$3=function(){var a=this,b=this.props.tab.configData;b=c("XPluginTabAsyncRendererController").getURIBuilder().setString("key",this.props.tab.key).setString("config_json",JSON.stringify(b)).setString("cursor",this.cursor).getURI();new(c("AsyncRequest"))().setURI(b).setMethod("GET").setReadOnly(!0).setHandler(function(b){a.setState({isFetchingComponent:!1,asyncContentLoaded:!0},function(){var e=b.payload;a.isLoadingContent=!1;if(a.hasMoreContent){var f=d("DOMQuery").scry(a.refs.container,"._1_lk");f=f[f.length-1];c("DOM").appendContent(f,e.content.markup)}})}).send()};e.$4=function(){var a=this;this.scrollListener=c("Event").listen(this.refs.container,"scroll",function(){a.scrollTimeout&&(clearTimeout(a.scrollTimeout),a.scrollTimeout=null),a.scrollTimeout=setTimeout(function(){return a.$2()},250)});var b=d("DOMQuery").find(this.refs.container,"._10b6");c("Event").listen(b,"noMoreContent",function(){a.hasMoreContent=!1,a.scrollListener.remove()});c("Event").listen(b,"setCursor",function(b){a.cursor=b.getData()})};e.$1=function(){var a=this;if(!this.state.asyncContentLoaded&&!this.state.isFetchingComponent){this.setState({isFetchingComponent:!0});var b=c("XPluginTabAsyncRendererController").getURIBuilder().setString("key",this.props.tab.key).setString("config_json",JSON.stringify(this.props.tab.configData)).getURI();new(c("AsyncRequest"))().setURI(b).setMethod("GET").setReadOnly(!0).setHandler(function(b){a.setState({isFetchingComponent:!1,asyncContentLoaded:!0},function(){var e=b.payload;c("DOM").setContent(d("ReactDOM").findDOMNode(a.refs.container),e.content.markup);a.props.tab.canLoadMore&&(a.cursor="",a.$4())})}).send()}};e.render=function(){return k.jsxs("div",{className:this.props.isActive?"":"hidden_elem",children:[k.jsx("div",{style:{maxHeight:this.props.tabHeight+"px"},className:"_10b4"+(this.state.isFetchingComponent?" hidden_elem":""),ref:"container"}),k.jsx("div",{className:"_10b5"+(this.state.isFetchingComponent?"":" hidden_elem"),children:k.jsx(c("XUISpinner.react"),{className:"_4g7o",size:"large"})})]})};return b}(k.Component);g["default"]=a}),98); __d("PluginTabContainer.react",["cx","PluginTabControl.react","PluginTabFetcher.react","react"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j=i||d("react");a=function(a){babelHelpers.inheritsLoose(b,a);function b(b,c){b=a.call(this,b,c)||this;b.state={activeTabKey:b.props.activeTabKey};return b}var d=b.prototype;d.componentDidMount=function(){var a=this;this.props.tabs.map(function(b){return a.onTabLoaded(b)})};d.onTabLoaded=function(a){};d.onTabSelected=function(a){this.setState({activeTabKey:a})};d.render=function(){var a=this,b=this.props.tabs.length;return b===0?null:j.jsxs("div",{children:[b>1?j.jsx(c("PluginTabControl.react"),{tabs:this.props.tabs,activeTabKey:this.state.activeTabKey,onTabSelected:function(b){return a.onTabSelected(b)}}):null,j.jsx("div",{className:"_2hkj",children:this.props.tabs.map(function(b){return j.jsx(c("PluginTabFetcher.react"),{tab:b,isActive:b.key===a.state.activeTabKey,tabHeight:a.props.tabHeight},b.key)})})]})};return b}(j.Component);g["default"]=a}),98); __d("PagePluginTabContainer.react",["PagePluginEvents","PagePluginLogger","PluginTabContainer.react"],(function(a,b,c,d,e,f,g){"use strict";a=function(a){babelHelpers.inheritsLoose(b,a);function b(b,d){d=a.call(this,b,d)||this;d.$PagePluginTabContainer$p_1=new(c("PagePluginLogger"))(b.pageID,b.refererURI);return d}var d=b.prototype;d.onTabLoaded=function(a){this.$PagePluginTabContainer$p_1.notify(c("PagePluginEvents").page_plugin.tab.configured,a.key)};d.onTabSelected=function(b){this.$PagePluginTabContainer$p_1.notify(c("PagePluginEvents").page_plugin.tab.click,b),a.prototype.onTabSelected.call(this,b)};return b}(c("PluginTabContainer.react"));g["default"]=a}),98); __d("ReactRenderer_DEPRECATED",["ReactDOM","cr:3473","react"],(function(a,b,c,d,e,f){"use strict";var g,h=g||b("react");function i(a,c,d){d=b("ReactDOM").render(a,c,(a=d)!=null?a:"ReactRenderer_DEPRECATED.js:renderComponent_DEPRECATED");b("cr:3473")(d,c);return d}function a(a,b,c,d){a=h.createElement(a,b);return i(a,c,d)}e.exports={renderComponent_DEPRECATED:i,constructAndRenderComponent_LEGACY:a}}),null);