;/*FB_PKG_DELIM*/

__d("CometFeedAutoFocusedStoryContext",["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("CometFeedHighlightedStoriesContext",["react"],(function(a,b,c,d,e,f,g){"use strict";var h;a=h||d("react");b=new Set();c=a.createContext(b);g["default"]=c}),98);
__d("CometFeedSection.react",["FDSUnitHeader.react","react","stylex"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j=(i||(i=d("react"))).c,k=i,l={fullWidth:{width:"xh8yej3",$$css:!0}};function a(a){var b=j(10),d=a.meta,e=a.sectionContents,f=a.title;a=a.widthStyle;a=a===void 0?"none":a;a=a==="full"&&l.fullWidth;var g;b[0]!==a?(g=(h||(h=c("stylex")))(a),b[0]=a,b[1]=g):g=b[1];b[2]===Symbol["for"]("react.memo_cache_sentinel")?(a="x19f6ikt x169t7cy xsag5q8",b[2]=a):a=b[2];b[3]!==f||b[4]!==d?(a=k.jsx("div",{className:a,children:k.jsx(c("FDSUnitHeader.react"),{headline:f,headlineColor:"secondary",level:4,meta:d})}),b[3]=f,b[4]=d,b[5]=a):a=b[5];b[6]!==g||b[7]!==a||b[8]!==e?(f=k.jsxs("div",{className:g,"data-testid":void 0,role:"feed",children:[a,e]}),b[6]=g,b[7]=a,b[8]=e,b[9]=f):f=b[9];return f}g["default"]=a}),98);
__d("CometFeedUnitBorderContext",["react"],(function(a,b,c,d,e,f,g){"use strict";var h;a=h||d("react");b=a.createContext(void 0);g["default"]=b}),98);
__d("CometFeedUnitCard_feedUnit.graphql",[],(function(a,b,c,d,e,f){"use strict";a={argumentDefinitions:[],kind:"Fragment",metadata:null,name:"CometFeedUnitCard_feedUnit",selections:[{kind:"InlineFragment",selections:[{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null}],type:"Story",abstractKey:null}],type:"FeedUnit",abstractKey:"__isFeedUnit"};e.exports=a}),null);
__d("CometFeedUnitDropShadowContext",["react"],(function(a,b,c,d,e,f,g){"use strict";var h;a=h||d("react");b=a.createContext(1);g["default"]=b}),98);
__d("useMergeCometAriaProps",["useSetAttributeRef"],(function(a,b,c,d,e,f,g){"use strict";function a(a){var b;for(var d=arguments.length,e=new Array(d>1?d-1:0),f=1;f<d;f++)e[f-1]=arguments[f];var g=e.reduce(function(b,c){Object.prototype.hasOwnProperty.call(c,a)&&typeof c[a]==="string"&&b.push(c[a]);return b},[]).join(" "),h=c("useSetAttributeRef")(a,g);return[(b={},b[a]=g,b.suppressHydrationWarning=!0,b),h]}g["default"]=a}),98);
__d("CometFeedUnitCard.react",["CometCard.react","CometFeedARIAProperties.react","CometFeedAutoFocusedStoryContext","CometFeedHighlightedStoriesContext","CometFeedStoryAttachmentCommandWidget","CometFeedUnitBorderContext","CometFeedUnitCard_feedUnit.graphql","CometFeedUnitDropShadowContext","CometHideableComponentExperiment.react","CometKeyCommandWrapper.react","CometRelay","FocusWithinHandler.react","UserAgent","cr:430","gkx","mergeRefs","react","useCometScrollAnchor","useEmptyFunction","useMergeCometAriaProps"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j=i||(i=d("react"));e=i;var k=e.useContext,l=e.useId,m=e.useMemo,n=e.useRef,o=e.useState;e=(e=b("cr:430"))!=null?e:{useCometFocusHighlightedContent:c("useEmptyFunction")};var p=e.useCometFocusHighlightedContent,q=c("gkx")("22786");function a(a){var e=a.children,f=a.position,g=d("CometRelay").useFragment(h!==void 0?h:h=b("CometFeedUnitCard_feedUnit.graphql"),a.feedUnit);g=g.id;var i=l(),r={"aria-labelledby":i,suppressHydrationWarning:!0},s=l(),t={"aria-describedby":s,suppressHydrationWarning:!0},u=l(),v={"aria-describedby":u,suppressHydrationWarning:!0},w=l(),x={"aria-describedby":w,suppressHydrationWarning:!0},y=l(),z={"aria-describedby":y,suppressHydrationWarning:!0},A=l(),B={"aria-describedby":A,suppressHydrationWarning:!0};t=c("useMergeCometAriaProps")("aria-describedby",t,v,x,B,z);var C=t[0];v=t[1];var D=m(function(){var a={id:i,suppressHydrationWarning:!0},b={id:s,suppressHydrationWarning:!0},c={id:u,suppressHydrationWarning:!0},d={id:w,suppressHydrationWarning:!0},e={id:y,suppressHydrationWarning:!0},f={id:A,suppressHydrationWarning:!0};return{attachmentTargetProps:d,commentCountTargetProps:e,contentTargetProps:c,metaTargetProps:b,reactionTargetProps:f,titleTargetProps:a}},[w,y,u,s,A,i]);x=k(c("CometFeedHighlightedStoriesContext"));B=g!=null&&x!=null&&x.has(g);z=o(B);var E=z[0],F=z[1];t=d("useCometScrollAnchor").useCometScrollAnchor("feed-story",g,{onScrollComplete:function(){return F(!0)}});x=n(null);var G=c("mergeRefs")(x,t,v,a.loggingRef);B=k(c("CometFeedAutoFocusedStoryContext"));p(B===g?x:null);z=o(!1);var H=z[0],I=z[1],J=k(c("CometFeedUnitBorderContext")),K=k(c("CometFeedUnitDropShadowContext")),L=c("UserAgent").isBrowser("Chrome")&&c("UserAgent").isPlatform("Mac OS X");return j.jsx("div",{className:"x1n2onr6 x1ja2u2z",children:j.jsx(c("FocusWithinHandler.react"),{children:function(a,b){var d;if(q){a=b&&a&&!H;a?d="static":E&&(d="animated")}else(E||b)&&(d="animated");a=c("gkx")("23000")?null:{role:"article"};return j.jsx(c("CometKeyCommandWrapper.react"),{debugName:"feed_story",children:j.jsx(c("CometFeedStoryAttachmentCommandWidget").Wrapper,{children:j.jsx("div",babelHelpers["extends"]({"aria-posinset":L?void 0:f+1},C,r,{className:"x1a2a7pz","data-testid":void 0,ref:G},a,{children:j.jsx(c("FocusWithinHandler.react"),{onFocusChange:I,children:j.jsx(c("CometHideableComponentExperiment.react"),{callingSurface:"comet_feed_unit_card",children:j.jsx(c("CometCard.react"),{background:"white",border:J,borderHighlight:d,dropShadow:K,children:j.jsx(c("CometFeedARIAProperties.react").Provider,{value:D,children:e})})})})}))})})}})})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98);
__d("CometFeedUnitContainerSection_feedUnit.graphql",[],(function(a,b,c,d,e,f){"use strict";a={argumentDefinitions:[],kind:"Fragment",metadata:null,name:"CometFeedUnitContainerSection_feedUnit",selections:[{kind:"InlineFragment",selections:[{args:null,documentName:"CometFeedUnitContainerSection_feedUnit",fragmentName:"CometFeedUnitStoryStrategy_feedUnit",fragmentPropName:"feedUnit",kind:"ModuleImport"}],type:"Story",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometFeedUnitContainerSection_feedUnit",fragmentName:"CometFeedUnitGoodwillMemoryStrategy_feedUnit",fragmentPropName:"feedUnit",kind:"ModuleImport"}],type:"GoodwillCometStory",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometFeedUnitContainerSection_feedUnit",fragmentName:"CometPYMKQPFeedUnitStrategy_feedUnit",fragmentPropName:"feedUnit",kind:"ModuleImport"}],type:"PaginatedPeopleYouMayKnowFeedUnit",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometFeedUnitContainerSection_feedUnit",fragmentName:"CometReelsFeedUnitStrategy_feedUnit",fragmentPropName:"feedUnit",kind:"ModuleImport"}],type:"ShowcaseFeedUnit",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometFeedUnitContainerSection_feedUnit",fragmentName:"CometFriendRequestsFeedUnitStrategy_feedUnit",fragmentPropName:"feedUnit",kind:"ModuleImport"}],type:"FriendRequestsFeedUnit",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometFeedUnitContainerSection_feedUnit",fragmentName:"CometFeedUnitQuickPromotionStrategy_feedUnit",fragmentPropName:"feedUnit",kind:"ModuleImport"}],type:"QuickPromotionNativeTemplateFeedUnit",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometFeedUnitContainerSection_feedUnit",fragmentName:"GroupsCometGYSJFeedUnitStrategy_feedUnit",fragmentPropName:"feedUnit",kind:"ModuleImport"}],type:"GroupsYouShouldJoinFeedUnit",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometFeedUnitContainerSection_feedUnit",fragmentName:"CometGroupsSuggestionFeedUnitStrategy_unit",fragmentPropName:"unit",kind:"ModuleImport"}],type:"GroupsSuggestionUnit",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometFeedUnitContainerSection_feedUnit",fragmentName:"CometPYMIQPFeedUnitStrategy_feedUnit",fragmentPropName:"feedUnit",kind:"ModuleImport"}],type:"PaginatedGroupsPeopleYouMayInviteFeedUnit",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometFeedUnitContainerSection_feedUnit",fragmentName:"GeminiPYSFQPFeedUnitStrategy_feedUnit",fragmentPropName:"feedUnit",kind:"ModuleImport"}],type:"PeopleYouShouldFollowAtWorkFeedUnit",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometFeedUnitContainerSection_feedUnit",fragmentName:"CometSPFFeedUnitStrategy_feedUnit",fragmentPropName:"feedUnit",kind:"ModuleImport"}],type:"SuggestedPublicEntitiesToFollowFeedUnit",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometFeedUnitContainerSection_feedUnit",fragmentName:"CoronavirusCommunityHelpFeedUnitStrategy_feedUnit",fragmentPropName:"feedUnit",kind:"ModuleImport"}],type:"CoronavirusCommunityHelpFeedUnit",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometFeedUnitContainerSection_feedUnit",fragmentName:"CometEndOfFeedUpsellStrategy_feedUnit",fragmentPropName:"feedUnit",kind:"ModuleImport"}],type:"EndOfFeedUpsellFeedUnit",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometFeedUnitContainerSection_feedUnit",fragmentName:"CometGroupRelatedGroupsFeedUnitStrategy_feedUnit",fragmentPropName:"feedUnit",kind:"ModuleImport"}],type:"GroupRelatedGroupsFeedUnit",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometFeedUnitContainerSection_feedUnit",fragmentName:"CometGroupRelatedKeywordsFeedUnitStrategy_feedUnit",fragmentPropName:"feedUnit",kind:"ModuleImport"}],type:"GroupRelatedKeywordsFeedUnit",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometFeedUnitContainerSection_feedUnit",fragmentName:"CometStoriesSingleBucketFeedUnitStrategy_feedUnit",fragmentPropName:"feedUnit",kind:"ModuleImport"}],type:"StoriesSingleBucketInlineViewerFeedUnit",abstractKey:null},{args:null,kind:"FragmentSpread",name:"CometFeedUnitUnknownFeedUnitStrategy_feedUnit"}],type:"FeedUnit",abstractKey:"__isFeedUnit"};e.exports=a}),null);
__d("CometFeedUnitContainerSection.react",["CometFeedMatchRenderer.react","CometFeedUnitContainerSection_feedUnit.graphql","RelayHooks","cr:1448849","react","usePageletMatchMetadata"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j=i||(i=d("react"));e=i;e.useCallback;var k=e.useState,l=e.c,m=h!==void 0?h:h=b("CometFeedUnitContainerSection_feedUnit.graphql");function a(a){var e=l(17),f,g,h,i;e[0]!==a?(g=a.onUnsupported,h=a.position,i=a.variables,f=babelHelpers.objectWithoutPropertiesLoose(a,["onUnsupported","position","variables"]),e[0]=a,e[1]=f,e[2]=g,e[3]=h,e[4]=i):(f=e[1],g=e[2],h=e[3],i=e[4]);a=d("RelayHooks").useFragment(m,f.feedUnit);f=k(!1);var n=f[0],o=f[1];e[5]!==g?(f=function(){o(!0),g()},e[5]=g,e[6]=f):f=e[6];f=f;c("usePageletMatchMetadata")("feed_unit",a);if(!n){e[7]!==h||e[8]!==i?(n={position:h,variables:i},e[7]=h,e[8]=i,e[9]=n):n=e[9];e[10]!==a||e[11]!==f||e[12]!==n?(i=j.jsx(c("CometFeedMatchRenderer.react"),{match:a,matchRequired:!0,onUnsupported:f,props:n,section:"feed_unit",trackingData:null}),e[10]=a,e[11]=f,e[12]=n,e[13]=i):i=e[13];return i}if(b("cr:1448849")!=null){e[14]!==a||e[15]!==h?(f=j.jsx(b("cr:1448849"),{feedUnit:a,position:h}),e[14]=a,e[15]=h,e[16]=f):f=e[16];return f}return null}f=j.memo(a);g["default"]=f}),98);
__d("CometFeedUnitErrorBoundary_feedUnit.graphql",[],(function(a,b,c,d,e,f){"use strict";a={argumentDefinitions:[],kind:"Fragment",metadata:null,name:"CometFeedUnitErrorBoundary_feedUnit",selections:[{args:null,kind:"FragmentSpread",name:"useCometFeedUnitEventLogger_feedUnit"},{args:null,kind:"FragmentSpread",name:"useShouldPreventFeedSectionErrorsFromKillingFeedUnit_story"}],type:"FeedUnit",abstractKey:"__isFeedUnit"};e.exports=a}),null);
__d("CometFeedUnitErrorMessageOrNull",["cr:1448848"],(function(a,b,c,d,e,f,g){"use strict";g["default"]=b("cr:1448848")}),98);
__d("CometFeedUnitSetStatusContext",["gkx","react","recoverableViolation"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h||(h=d("react")),j=h.useCallback,k=i.createContext(function(){return void 0});function a(a){var b=a.brsContentLabel,d=a.brsFilterSetting,e=a.category,f=a.children,g=a.deduplicationKey,h=a.minGapType,l=a.setFeedUnitRecord;a=j(function(a){if(g!=null&&h!=null){var f;l(g,{category:(f=e)!=null?f:"UNKNOWN",edgeData:c("gkx")("23028")?{brsContentLabel:b,brsFilterSetting:d}:{},minGapType:h,status:a})}else c("recoverableViolation")("Category or deduplication_key cannot be null in CometFeedUnitSetStatusContextProvider; Feed unit status not set.","CometFeedUnitStatusTracking")},[b,d,e,g,h,l]);return i.jsx(k.Provider,{value:a,children:f})}a.displayName=a.name+" [from "+f.id+"]";g.CometFeedUnitSetStatusContext=k;g.CometFeedUnitSetStatusContextProvider=a}),98);
__d("CometFeedUnitsTypedLoggerLite",["generateLiteTypedLogger"],(function(a,b,c,d,e,f){"use strict";e.exports=b("generateLiteTypedLogger")("logger:CometFeedUnitsLoggerConfig")}),null);
__d("useCometFeedUnitEventLogger_feedUnit.graphql",[],(function(a,b,c,d,e,f){"use strict";a=function(){var a=[{alias:null,args:null,concreteType:"QuickPromotionFeedUnitItem",kind:"LinkedField",name:"quick_promotion_items",plural:!0,selections:[{alias:null,args:null,concreteType:"QuickPromotion",kind:"LinkedField",name:"quick_promotion",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null}],storageKey:null}],storageKey:null}];return{argumentDefinitions:[],kind:"Fragment",metadata:null,name:"useCometFeedUnitEventLogger_feedUnit",selections:[{alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null},{kind:"InlineFragment",selections:a,type:"QuickPromotionFeedUnit",abstractKey:null},{kind:"InlineFragment",selections:a,type:"QuickPromotionNativeTemplateFeedUnit",abstractKey:null}],type:"FeedUnit",abstractKey:"__isFeedUnit"}}();e.exports=a}),null);
__d("useCometFeedUnitEventLogger",["CometFeedUnitsTypedLoggerLite","CometRelay","react","useCometFeedUnitEventLogger_feedUnit.graphql"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j=(i||d("react")).useCallback;function a(a){var e=d("CometRelay").useFragment(h!==void 0?h:h=b("useCometFeedUnitEventLogger_feedUnit.graphql"),a);return j(function(a){var b=a.category,d=a.errorName,f=a.event,g=a.minGapType,h=a.numCommitsBeforeError,i=a.position;a=a.renderLocation;var j=[];e.quick_promotion_items!=null&&(j=e.quick_promotion_items.map(function(a){return(a=a.quick_promotion)==null?void 0:a.id}).filter(Boolean));c("CometFeedUnitsTypedLoggerLite").log({category:b,error_name:d,event:f,min_gap_type:g,num_commits_before_error:h,position:i,related_ids:j,render_location:a,unit_name:e.__typename})},[e])}g["default"]=a}),98);
__d("useShouldPreventFeedSectionErrorsFromKillingFeedUnit_story.graphql",[],(function(a,b,c,d,e,f){"use strict";a={argumentDefinitions:[],kind:"Fragment",metadata:null,name:"useShouldPreventFeedSectionErrorsFromKillingFeedUnit_story",selections:[{alias:null,args:null,concreteType:"SponsoredData",kind:"LinkedField",name:"sponsored_data",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null}],storageKey:null}],type:"Story",abstractKey:null};e.exports=a}),null);
__d("useShouldPreventFeedSectionErrorsFromKillingFeedUnit",["CometRelay","gkx","useShouldPreventFeedSectionErrorsFromKillingFeedUnit_story.graphql"],(function(a,b,c,d,e,f,g){"use strict";var h;function a(a){a=d("CometRelay").useFragment(h!==void 0?h:h=b("useShouldPreventFeedSectionErrorsFromKillingFeedUnit_story.graphql"),a);a=a.sponsored_data;a=a!=null;a=a?c("gkx")("23001"):c("gkx")("23002");return a}g["default"]=a}),98);
__d("CometFeedUnitErrorBoundary.react",["CometErrorBoundary.react","CometFeedUnitErrorBoundary_feedUnit.graphql","CometFeedUnitErrorMessageOrNull","CometFeedUnitOnFeedUnitErrorContext","CometFeedUnitSetStatusContext","CometFeedUnitShouldPropagateErrorContext","CometRelay","InteractionTracing.xplat","emptyFunction","react","useCometFeedUnitEventLogger","useCommitCountRef","useShouldPreventFeedSectionErrorsFromKillingFeedUnit"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j=i||(i=d("react"));e=i;var k=e.useCallback,l=e.useContext,m=e.useState;function a(a){var e=a.category,f=a.children,g=a.feedUnit,i=a.minGapType,n=a.onError,o=a.position,p=a.renderLocation;a.unitTypename;a=m(null);var q=a[0],r=a[1],s=c("useCommitCountRef")();a=d("CometRelay").useFragment(h!==void 0?h:h=b("CometFeedUnitErrorBoundary_feedUnit.graphql"),g);var t=l(d("CometFeedUnitSetStatusContext").CometFeedUnitSetStatusContext),u=c("useCometFeedUnitEventLogger")(a);g=k(function(a){r(a),t("error"),u({category:e,errorName:a.message,event:"js_error",minGapType:i,numCommitsBeforeError:s.current,position:o,renderLocation:p!=="%future added value"?p:void 0}),c("InteractionTracing.xplat").getPendingInteractions().forEach(function(a){a.addAnnotationInt("feedUnitError",1)}),n!=null&&n(a)},[t,u,e,i,s,o,p,n]);a=c("useShouldPreventFeedSectionErrorsFromKillingFeedUnit")(a);return q!=null?c("CometFeedUnitErrorMessageOrNull")!=null?j.jsx(c("CometFeedUnitErrorMessageOrNull"),{error:q}):null:j.jsx(c("CometErrorBoundary.react"),{context:{project:"CometFeedUnitErrorBoundary"},onError:g,children:j.jsx(c("CometFeedUnitShouldPropagateErrorContext").Provider,{value:!0,children:j.jsx(c("CometFeedUnitOnFeedUnitErrorContext").Provider,{value:a?c("emptyFunction"):g,children:f})})})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98);
__d("CometFeedUnitLoadingContext",["emptyFunction","react"],(function(a,b,c,d,e,f,g){"use strict";var h;a=h||d("react");b=a.createContext({onFinishLoading:c("emptyFunction"),onStartLoading:c("emptyFunction")});g["default"]=b}),98);
__d("CometFeedUnitOnUnsupportedLoggerContext",["CometFeedUnitsTypedLoggerLite","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h||(h=d("react"));b=h;b.useCallback;var j=b.useRef,k=b.c,l=i.createContext(function(){return void 0});function a(a){var b=k(9),d=a.children,e=a.minGapType,f=a.position,g=a.postID,h=a.renderLocation,m=a.unitName,n=j(!1);b[0]!==e||b[1]!==f||b[2]!==g||b[3]!==h||b[4]!==m?(a=function(a){if(!n.current){n.current=!0;c("CometFeedUnitsTypedLoggerLite").log({event:"unsupported",min_gap_type:e,position:f,post_id:g,related_ids:(a=a)!=null?a:null,render_location:h,unit_name:m})}},b[0]=e,b[1]=f,b[2]=g,b[3]=h,b[4]=m,b[5]=a):a=b[5];a=a;var o;b[6]!==a||b[7]!==d?(o=i.jsx(l.Provider,{value:a,children:d}),b[6]=a,b[7]=d,b[8]=o):o=b[8];return o}g.CometFeedUnitOnUnsupportedLoggerContext=l;g.CometFeedUnitOnUnsupportedLoggerContextProvider=a}),98);
__d("CometFeedUnitSetDebugInfoContext",["emptyFunction","react"],(function(a,b,c,d,e,f,g){"use strict";var h;a=h||d("react");b=a.createContext(c("emptyFunction"));g["default"]=b}),98);
__d("CometFeedUnit_feedUnit.graphql",[],(function(a,b,c,d,e,f){"use strict";a=function(){var a={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null};return{argumentDefinitions:[],kind:"Fragment",metadata:null,name:"CometFeedUnit_feedUnit",selections:[{alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null},{kind:"InlineFragment",selections:[{alias:null,args:null,kind:"ScalarField",name:"debug_info",storageKey:null},a,{alias:null,args:null,concreteType:"SponsoredData",kind:"LinkedField",name:"sponsored_data",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"ad_id",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"brs_filter_setting",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"client_token",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"post_rendering_loggers",storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"Feedback",kind:"LinkedField",name:"feedback",plural:!1,selections:[{alias:null,args:null,concreteType:"Group",kind:"LinkedField",name:"associated_group",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"context_actor_hovercard",storageKey:null},a],storageKey:null}],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"is_story_civic",storageKey:null}],type:"Story",abstractKey:null},{args:null,kind:"FragmentSpread",name:"CometFeedUnitCard_feedUnit"},{args:null,kind:"FragmentSpread",name:"CometFeedUnitContainerSection_feedUnit"},{args:null,kind:"FragmentSpread",name:"CometFeedUnitErrorBoundary_feedUnit"},{args:null,kind:"FragmentSpread",name:"CometFeedUnit_trackableFeedUnit"}],type:"FeedUnit",abstractKey:"__isFeedUnit"}}();e.exports=a}),null);
__d("CometFeedUnit_newsFeedEdge.graphql",[],(function(a,b,c,d,e,f){"use strict";a={argumentDefinitions:[],kind:"Fragment",metadata:null,name:"CometFeedUnit_newsFeedEdge",selections:[{alias:null,args:null,kind:"ScalarField",name:"brs_content_label",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"deduplication_key",storageKey:null}],type:"NewsFeedEdge",abstractKey:null};e.exports=a}),null);
__d("CometFeedUnit_trackableFeedUnit.graphql",[],(function(a,b,c,d,e,f){"use strict";a={argumentDefinitions:[],kind:"Fragment",metadata:null,name:"CometFeedUnit_trackableFeedUnit",selections:[{alias:null,args:null,concreteType:"TrackingData",kind:"LinkedField",name:"trackingdata",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null}],storageKey:null},{kind:"InlineFragment",selections:[{alias:null,args:null,kind:"ScalarField",name:"viewability_config",storageKey:null},{alias:null,args:null,concreteType:"CometClientViewConfig",kind:"LinkedField",name:"client_view_config",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"can_delay_log_impression",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"use_banzai_signal_imp",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"use_banzai_vital_imp",storageKey:null}],storageKey:null}],type:"Story",abstractKey:null}],type:"TrackableFeedUnit",abstractKey:"__isTrackableFeedUnit"};e.exports=a}),null);
__d("CometOffscreenScrollCompensator.react",["cr:10000","react"],(function(a,b,c,d,e,f,g){"use strict";var h;a=h||d("react");e=(c=b("cr:10000"))!=null?c:a.Fragment;g["default"]=e}),98);
__d("memory.react",["cr:1227"],(function(a,b,c,d,e,f,g){"use strict";g.useEffect=(a=b("cr:1227")).useEffect;g.useState=a.useState;g.useCallback=a.useCallback;g.useMemo=a.useMemo;g.useLayoutEffect=a.useLayoutEffect}),98);
__d("CometFeedUnit.react",["ActorHovercardContext","CometErrorProjectContext","CometFeedBrandSafetyContext","CometFeedUnitCard.react","CometFeedUnitContainerSection.react","CometFeedUnitErrorBoundary.react","CometFeedUnitLoadingContext","CometFeedUnitLoggingContext","CometFeedUnitOnUnsupportedLoggerContext","CometFeedUnitPostRenderingLoggersContext","CometFeedUnitQueryVariablesContext","CometFeedUnitSetDebugInfoContext","CometFeedUnitSetStatusContext","CometFeedUnit_feedUnit.graphql","CometFeedUnit_newsFeedEdge.graphql","CometFeedUnit_trackableFeedUnit.graphql","CometOffscreenScrollCompensator.react","CometProfiler.react","CometRelay","FBLogger","FDSHovercardGroupContext","FocusRegion.react","HiddenSubtreePassiveContext","InteractionTracing","RecoverableViolationWithComponentStack.react","cr:12345","cr:1326","cr:1720","cr:1829844","cr:3094","deferredLoadComponent","focusScopeQueries","gkx","joinClasses","memory.react","react","requireDeferred","stylex","unrecoverableViolation","useActorHovercardContext","useEmptyFunction","useMergeRefs","usePostRenderingLogger","useStoryViewabilityLogger","useVisibilityObserver"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j,k,l,m=l||(l=d("react"));e=l;var n=e.useContext,o=e.useRef,p=e.c,q=(f=b("cr:1720"))!=null?f:c("useEmptyFunction"),r=(e=b("cr:3094"))!=null?e:m.Fragment,s=c("deferredLoadComponent")(c("requireDeferred")("CometFeedUnitLoadingIndicatorMask.react").__setRef("CometFeedUnit.react")),t={reducedSpacing:{marginBottom:"x1e56ztr",$$css:!0},wrapper:{marginBottom:"x1yztbdb",position:"x1n2onr6",width:"xh8yej3",zIndex:"x1ja2u2z",$$css:!0}},u=window.atob&&window.atob("c3BvbnNvcmVkX2Fk"),v=h!==void 0?h:h=b("CometFeedUnit_feedUnit.graphql"),aa=i!==void 0?i:i=b("CometFeedUnit_trackableFeedUnit.graphql"),ba=j!==void 0?j:j=b("CometFeedUnit_newsFeedEdge.graphql"),w={event_name:"ad_validate_image",event_sub_type:"feed_unit_full_impression",is_cta_shown:null},ca=[5,8],da=c("gkx")("22998")?[d("focusScopeQueries").focusableScopeQuery,d("focusScopeQueries").headerAndSpinnerFocusScopeQuery]:null;function ea(a){var b=p(11),d,e,f,g,h;b[0]!==a?(h=a.children,g=a.debuggingInfoLoggers,e=a.loggingRef,d=a.visibilityObserverRef,f=babelHelpers.objectWithoutPropertiesLoose(a,["children","debuggingInfoLoggers","loggingRef","visibilityObserverRef"]),b[0]=a,b[1]=d,b[2]=e,b[3]=f,b[4]=g,b[5]=h):(d=b[1],e=b[2],f=b[3],g=b[4],h=b[5]);a=c("useMergeRefs")(d,e);b[6]!==f||b[7]!==a||b[8]!==g||b[9]!==h?(d=m.jsxs("div",babelHelpers["extends"]({},f,{ref:a,children:[g,h]})),b[6]=f,b[7]=a,b[8]=g,b[9]=h,b[10]=d):d=b[10];return d}function a(a){var e,f=p(148),g,h,i,j,l,x;f[0]!==a?(l=a.category,j=a.minGapType,x=a.onError,i=a.position,h=a.variables,g=babelHelpers.objectWithoutPropertiesLoose(a,["category","minGapType","onError","position","variables"]),f[0]=a,f[1]=g,f[2]=h,f[3]=i,f[4]=j,f[5]=l,f[6]=x):(g=f[1],h=f[2],i=f[3],j=f[4],l=f[5],x=f[6]);var y=d("CometRelay").useFragment(v,g.feedUnit);if(y==null)throw c("unrecoverableViolation")("Relay fragment feedUnit cannot be null/undefined in CometFeedUnit","comet_feed");a=d("CometRelay").useFragment(aa,y);var z=a.client_view_config,A=a.trackingdata;a=a.viewability_config;var B=d("CometRelay").useFragment(ba,g.newsFeedEdge);if(f[7]!==A){var C;C=(C=A)!=null?C:{};f[7]=A;f[8]=C}else C=f[8];A=C;C=A.id;var D=h.renderLocation;A=d("memory.react").useState(!1);var E=A[0],F=A[1];f[9]!==F?(A=function(){return{onFinishLoading:function(){return F(!1)},onStartLoading:function(){return F(!0)}}},f[9]=F,f[10]=A):A=f[10];var G;f[11]===Symbol["for"]("react.memo_cache_sentinel")?(G=[],f[11]=G):G=f[11];A=d("memory.react").useMemo(A,G);var H=(G=y.feedback)==null?void 0:G.associated_group;G=H==null?void 0:H.context_actor_hovercard;var I=c("useActorHovercardContext")();G=(y==null?void 0:y.is_story_civic)===!0?"CIVIC_POST":(G=G)!=null?G:I;f[12]!==H?(I=function(){var a;return{groupID:(a=H==null?void 0:H.id)!=null?a:void 0}},f[12]=H,f[13]=I):I=f[13];var J=H==null?void 0:H.id,K;f[14]!==J?(K=[J],f[14]=J,f[15]=K):K=f[15];J=d("memory.react").useMemo(I,K);var L=n(d("CometFeedUnitSetStatusContext").CometFeedUnitSetStatusContext);I=n(c("CometFeedBrandSafetyContext"));if(I){K=I();I=K.feedUnitRegistry;K=B==null?void 0:B.deduplication_key;if(K!=null){I[K]={brsContentLabel:B==null?void 0:B.brs_content_label,brsFilterSetting:y==null?void 0:(I=y.sponsored_data)==null?void 0:I.brs_filter_setting,tracking:C,unitType:y.__typename}}else g.newsFeedEdge!=null&&c("FBLogger")("comet_feed_unit").mustfix("NewsFeedEdge deduplicationKey %s is nullish, even though newsFeedEdge prop was provided. FeedUnit id: %s",K,y.id)}var M=o(!1),N=n(d("CometFeedUnitOnUnsupportedLoggerContext").CometFeedUnitOnUnsupportedLoggerContext);f[16]!==i?(B=function(){i===0&&M.current===!1&&c("InteractionTracing").getPendingInteractions().forEach(function(a){a.addMarkerPoint("FirstFeedUnitMount","AppTiming")}),M.current=!0},I=[i],f[16]=i,f[17]=B,f[18]=I):(B=f[17],I=f[18]);d("memory.react").useLayoutEffect(B,I);f[19]!==L?(K=function(){return L("rendered")},B=[L],f[19]=L,f[20]=K,f[21]=B):(K=f[20],B=f[21]);d("memory.react").useEffect(K,B);f[22]!==N||f[23]!==L?(I=function(){c("InteractionTracing").getPendingInteractions().forEach(function(a){a.addAnnotationInt("unsupportedFeedUnit",1)}),N(),L("error")},K=[N,L],f[22]=N,f[23]=L,f[24]=I,f[25]=K):(I=f[24],K=f[25]);B=d("memory.react").useCallback(I,K);var O=n(c("CometFeedUnitSetDebugInfoContext")),P=y.debug_info,Q=y.id,R=o(!1),S=n(c("HiddenSubtreePassiveContext"));f[26]!==S||f[27]!==O||f[28]!==i||f[29]!==P||f[30]!==Q?(I=function(){if(!S.getCurrentState().hiddenOrBackgrounded_FIXME){var a;O(i,{debugInfo:(a=P)!=null?a:null,storyId:(a=Q)!=null?a:null,visible:R.current})}},K=[P,S,Q,i,O],f[26]=S,f[27]=O,f[28]=i,f[29]=P,f[30]=Q,f[31]=I,f[32]=K):(I=f[31],K=f[32]);var T=d("memory.react").useCallback(I,K);f[33]!==T?(I=function(){R.current=!1,T()},K=[T],f[33]=T,f[34]=I,f[35]=K):(I=f[34],K=f[35]);I=d("memory.react").useCallback(I,K);var U;f[36]!==T?(K=function(){R.current=!0,T()},U=[T],f[36]=T,f[37]=K,f[38]=U):(K=f[37],U=f[38]);K=d("memory.react").useCallback(K,U);f[39]!==I||f[40]!==K?(U={onHidden:I,onVisible:K},f[39]=I,f[40]=K,f[41]=U):U=f[41];I=c("useVisibilityObserver")(U);K=z==null?void 0:z.can_delay_log_impression;U=z==null?void 0:z.use_banzai_signal_imp;z=z==null?void 0:z.use_banzai_vital_imp;var V;f[42]!==K||f[43]!==U||f[44]!==z?(V={can_delay_log_impression:K,use_banzai_signal_imp:U,use_banzai_vital_imp:z},f[42]=K,f[43]=U,f[44]=z,f[45]=V):V=f[45];K=V;z=(U=y.sponsored_data)==null?void 0:U.client_token;f[46]!==K||f[47]!==C||f[48]!==i?(V={clientViewConfig:K,encryptedToken:C,position:i},f[46]=K,f[47]=C,f[48]=i,f[49]=V):V=f[49];U=q(V);V=U!==null;a=(a=a)!=null?a:ca;var W;f[50]!==z||f[51]!==K||f[52]!==C||f[53]!==i||f[54]!==V||f[55]!==a?(W={clientToken:z,clientViewConfig:K,encryptedTracking:C,position:i,shouldDisableGHLSurvey:V,viewabilityConfig:a},f[50]=z,f[51]=K,f[52]=C,f[53]=i,f[54]=V,f[55]=a,f[56]=W):W=f[56];z=c("useStoryViewabilityLogger")(W);K=z.debuggingInfoLoggers;C=z.ref;f[57]!==T?(V=function(){return T()},a=[T],f[57]=T,f[58]=V,f[59]=a):(V=f[58],a=f[59]);d("memory.react").useEffect(V,a);W=g["data-testid"];if(f[60]!==y){V=c("gkx")("20998")&&(y==null?void 0:(z=y.sponsored_data)==null?void 0:z.ad_id)!=null;f[60]=y;f[61]=V}else V=f[61];a=V;f[62]!==i||f[63]!==D?(g=function(){var a;return{position:i,renderLocation:(a=D)!=null?a:null}},z=[i,D],f[62]=i,f[63]=D,f[64]=g,f[65]=z):(g=f[64],z=f[65]);V=d("memory.react").useMemo(g,z);var X=(g=y.sponsored_data)==null?void 0:g.post_rendering_loggers;f[66]!==y.sponsored_data||f[67]!==X?(z=function(){var a;return{ad_id:(a=y.sponsored_data)==null?void 0:a.ad_id,client_token:(a=y.sponsored_data)==null?void 0:a.client_token,post_rendering_logger_from_context:X}},f[66]=y.sponsored_data,f[67]=X,f[68]=z):z=f[68];g=(g=y.sponsored_data)==null?void 0:g.ad_id;e=(e=y.sponsored_data)==null?void 0:e.client_token;var Y;f[69]!==g||f[70]!==e||f[71]!==X?(Y=[g,e,X],f[69]=g,f[70]=e,f[71]=X,f[72]=Y):Y=f[72];g=d("memory.react").useMemo(z,Y);f[73]!==y.sponsored_data?(e=function(){var a;return{ad_client_token:(a=y.sponsored_data)==null?void 0:a.client_token,ad_id:(a=y.sponsored_data)==null?void 0:a.ad_id,event_name:w.event_name,event_sub_type:w.event_sub_type}},f[73]=y.sponsored_data,f[74]=e):e=f[74];Y=(z=y.sponsored_data)==null?void 0:z.ad_id;z=(z=y.sponsored_data)==null?void 0:z.client_token;var Z;f[75]!==Y||f[76]!==z?(Z=[Y,z],f[75]=Y,f[76]=z,f[77]=Z):Z=f[77];Y=d("memory.react").useCallback(e,Z);c("usePostRenderingLogger")(Y,X);if(f[78]!==i||f[79]!==j){e=i==null?m.jsx(c("RecoverableViolationWithComponentStack.react"),{errorMessage:"position is null or undefined for min gap type = "+((z=j)!=null?z:"UNKNOWN"),projectName:"comet_feed"}):null;f[78]=i;f[79]=j;f[80]=e}else e=f[80];Z=e;Y=y.sponsored_data?"comet-feed-sponsored-story":null;z="CometFeedUnit_"+i;e="CometFeedUnit_"+i;var $;f[81]!==D||f[82]!==a?($=c("joinClasses")((k||(k=c("stylex")))(t.wrapper,D==="homepage_stream"&&c("gkx")("22999")&&t.reducedSpacing),a?u:""),f[81]=D,f[82]=a,f[83]=$):$=f[83];f[84]!==y||f[85]!==B||f[86]!==i||f[87]!==h?(a=b("cr:1326")?m.jsx(b("cr:1326"),{children:m.jsx(c("CometFeedUnitContainerSection.react"),{feedUnit:y,onUnsupported:B,position:i,variables:h})}):m.jsx(c("CometFeedUnitContainerSection.react"),{feedUnit:y,onUnsupported:B,position:i,variables:h}),f[84]=y,f[85]=B,f[86]=i,f[87]=h,f[88]=a):a=f[88];f[89]!==E?(B=E?m.jsx(s,{}):null,f[89]=E,f[90]=B):B=f[90];f[91]!==W||f[92]!==K||f[93]!==C||f[94]!==I||f[95]!==a||f[96]!==B?(E=m.jsxs(ea,{"data-testid":void 0,debuggingInfoLoggers:K,loggingRef:C,visibilityObserverRef:I,children:[a,B]}),f[91]=W,f[92]=K,f[93]=C,f[94]=I,f[95]=a,f[96]=B,f[97]=E):E=f[97];f[98]!==y||f[99]!==U||f[100]!==i||f[101]!==E?(W=m.jsx(c("CometFeedUnitCard.react"),{feedUnit:y,loggingRef:U,position:i,children:E}),f[98]=y,f[99]=U,f[100]=i,f[101]=E,f[102]=W):W=f[102];f[103]!==$||f[104]!==Y||f[105]!==W?(K=m.jsx("div",{className:$,"data-testid":void 0,children:W}),f[103]=$,f[104]=Y,f[105]=W,f[106]=K):K=f[106];f[107]!==e||f[108]!==K?(C=m.jsx(d("FocusRegion.react").FocusRegion,{id:e,recoverFocusQuery:da,children:K}),f[107]=e,f[108]=K,f[109]=C):C=f[109];f[110]!==z||f[111]!==C?(I=m.jsx(r,{children:m.jsx(c("CometOffscreenScrollCompensator.react"),{children:m.jsx(c("CometProfiler.react"),{id:z,children:C})})}),f[110]=z,f[111]=C,f[112]=I):I=f[112];f[113]!==g||f[114]!==I?(a=m.jsx(c("CometFeedUnitPostRenderingLoggersContext").Provider,{value:g,children:I}),f[113]=g,f[114]=I,f[115]=a):a=f[115];f[116]!==A||f[117]!==a?(B=m.jsx(c("CometFeedUnitLoadingContext").Provider,{value:A,children:a}),f[116]=A,f[117]=a,f[118]=B):B=f[118];f[119]!==h||f[120]!==B?(U=m.jsx(c("CometFeedUnitQueryVariablesContext").Provider,{value:h,children:B}),f[119]=h,f[120]=B,f[121]=U):U=f[121];f[122]!==V||f[123]!==U?(E=m.jsx(c("CometErrorProjectContext").Provider,{value:"comet_feed",children:m.jsx(c("CometFeedUnitLoggingContext").Provider,{value:V,children:U})}),f[122]=V,f[123]=U,f[124]=E):E=f[124];f[125]!==Z||f[126]!==E?($=m.jsxs(m.Fragment,{children:[Z,E]}),f[125]=Z,f[126]=E,f[127]=$):$=f[127];Y=$;if(b("cr:1829844")!=null&&b("cr:12345")!=null){e=(W=Q)!=null?W:"";f[128]!==e?(K={type:b("cr:12345").FEED_OBJECT_ID,value:e},f[128]=e,f[129]=K):K=f[129];f[130]!==K||f[131]!==Y?(z=m.jsx(b("cr:1829844"),{metadata:K,name:"feed_unit",children:Y}),f[130]=K,f[131]=Y,f[132]=z):z=f[132];Y=z}f[133]!==H||f[134]!==J||f[135]!==Y?(C=H!=null?m.jsx(c("FDSHovercardGroupContext").Provider,{value:J,children:Y}):Y,f[133]=H,f[134]=J,f[135]=Y,f[136]=C):C=f[136];f[137]!==G||f[138]!==C?(g=m.jsx(c("ActorHovercardContext").Provider,{value:G,children:C}),f[137]=G,f[138]=C,f[139]=g):g=f[139];f[140]!==l||f[141]!==y||f[142]!==j||f[143]!==x||f[144]!==i||f[145]!==D||f[146]!==g?(I=m.jsx(c("CometFeedUnitErrorBoundary.react"),{category:l,feedUnit:y,minGapType:j,onError:x,position:i,renderLocation:D,unitTypename:y.__typename,children:g}),f[140]=l,f[141]=y,f[142]=j,f[143]=x,f[144]=i,f[145]=D,f[146]=g,f[147]=I):I=f[147];return I}f=m.memo(a);g["default"]=f}),98);
__d("CometFeedUnitDebugInfoState",[],(function(a,b,c,d,e,f){"use strict";var g={};function a(a,b,c){g[a]==null&&(g[a]=[]),g[a][b]=c}function b(a){g[a]=[]}function c(){var a={};Object.keys(g).forEach(function(b){var c=g[b].map(function(a,b){return a.visible?babelHelpers["extends"]({},a,{position:b}):null}).filter(Boolean);a[b]={visibleUnits:c,allUnits:g[b]}});return a}f.addFeedUnitDebugInfo=a;f.clearFeedUnitInfo=b;f.getStateSnapshot=c}),66);
__d("CometFeedUnitSetDebugInfoContextProvider.react",["CometFeedUnitDebugInfoState","CometFeedUnitSetDebugInfoContext","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h||(h=d("react")),j=h.useCallback;function a(a){var b=a.children,e=a.location;a=j(function(a,b){return d("CometFeedUnitDebugInfoState").addFeedUnitDebugInfo(e,a,b)},[e]);return i.jsx(c("CometFeedUnitSetDebugInfoContext").Provider,{value:a,children:b})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98);
__d("CometMixedPermsAfterGracePeriodBlockingDialogQuery_facebookRelayOperation",[],(function(a,b,c,d,e,f){e.exports="7605576109479161"}),null);
__d("CometMixedPermsAfterGracePeriodBlockingDialogQuery$Parameters",["CometMixedPermsAfterGracePeriodBlockingDialogQuery_facebookRelayOperation"],(function(a,b,c,d,e,f){"use strict";a={kind:"PreloadableConcreteRequest",params:{id:b("CometMixedPermsAfterGracePeriodBlockingDialogQuery_facebookRelayOperation"),metadata:{},name:"CometMixedPermsAfterGracePeriodBlockingDialogQuery",operationKind:"query",text:null}};e.exports=a}),null);
__d("CometMixedPermsAfterGracePeriodBlockingDialog.entrypoint",["CometMixedPermsAfterGracePeriodBlockingDialogQuery$Parameters","JSResourceForInteraction"],(function(a,b,c,d,e,f,g){"use strict";a={getPreloadProps:function(a){a=a.profileID;return{queries:{afterGracePeriodDialogQuery:{parameters:b("CometMixedPermsAfterGracePeriodBlockingDialogQuery$Parameters"),variables:{profileID:a}}}}},root:c("JSResourceForInteraction")("CometMixedPermsAfterGracePeriodBlockingDialog.react").__setRef("CometMixedPermsAfterGracePeriodBlockingDialog.entrypoint")};g["default"]=a}),98);
__d("CometMixedPermsAfterMigrationWarningDialogQuery_facebookRelayOperation",[],(function(a,b,c,d,e,f){e.exports="7603151693137771"}),null);
__d("CometMixedPermsAfterMigrationWarningDialogQuery$Parameters",["CometMixedPermsAfterMigrationWarningDialogQuery_facebookRelayOperation"],(function(a,b,c,d,e,f){"use strict";a={kind:"PreloadableConcreteRequest",params:{id:b("CometMixedPermsAfterMigrationWarningDialogQuery_facebookRelayOperation"),metadata:{},name:"CometMixedPermsAfterMigrationWarningDialogQuery",operationKind:"query",text:null}};e.exports=a}),null);
__d("CometMixedPermsAfterMigrationWarningDialog.entrypoint",["CometMixedPermsAfterMigrationWarningDialogQuery$Parameters","JSResourceForInteraction"],(function(a,b,c,d,e,f,g){"use strict";a={getPreloadProps:function(a){a=a.profileID;return{queries:{postTransitionDialogQuery:{parameters:b("CometMixedPermsAfterMigrationWarningDialogQuery$Parameters"),variables:{profileID:a}}}}},root:c("JSResourceForInteraction")("CometMixedPermsAfterMigrationWarningDialog.react").__setRef("CometMixedPermsAfterMigrationWarningDialog.entrypoint")};g["default"]=a}),98);
__d("cometFeedUnitID",[],(function(a,b,c,d,e,f){"use strict";function a(a){return"CometFeedUnit_"+a}f["default"]=a}),66);
__d("useCometFeedKeyCommands",["CometFeedUnitDebugInfoState","FocusRegion.react","GHLAriaLabelTracker","cometFeedUnitID","cometGetKeyCommandConfig","emptyFunction","react","scrollTo","useLayerKeyCommands"],(function(a,b,c,d,e,f,g){"use strict";var h;b=h||d("react");b.useCallback;b.useMemo;var i=b.useState,j=b.c,k=60+16,l=function(a,b){return b.role==="article"};function m(a,b,e,f){c("GHLAriaLabelTracker").set();a=d("FocusRegion.react").focusRegionById(c("cometFeedUnitID")(a),l,!0);var g=document.documentElement;if(a!=null&&g!=null){g=a.getBoundingClientRect();g=g.top+window.pageYOffset-k-((a=b)!=null?a:0);c("scrollTo")({behavior:"smooth",onScrollComplete:f,onScrollStart:e,top:g});return!0}return!1}function n(a,b,c,d){var e=document.activeElement;e!=null&&(e.blur(),window.requestAnimationFrame(function(){m(a,b,c,d)}))}function a(a,b,e,f,g){var h=j(21),k=f===void 0?c("emptyFunction"):f,l=g===void 0?c("emptyFunction"):g;f=i(-1);var o=f[0],p=f[1];h[0]!==b||h[1]!==o?(g=function(a){if(b==null)return o;var c=d("CometFeedUnitDebugInfoState").getStateSnapshot();c=c[b];if(c==null)return o;c=c.visibleUnits;if(c.some(function(a){return a.visible&&a.position===o}))return o;a=a==="forward"?c[0]:c[c.length-1];c=a==null?void 0:a.position;if(c===0)return-1;else{return(a=c)!=null?a:-1}},h[0]=b,h[1]=o,h[2]=g):g=h[2];var q=g;h[3]!==q||h[4]!==a||h[5]!==e||h[6]!==k||h[7]!==l?(f=function(){var b=q("forward");if(b<a-1){var c=b+1;m(c,e,k,l)&&p(c)}else n(b,e,k,l)},h[3]=q,h[4]=a,h[5]=e,h[6]=k,h[7]=l,h[8]=f):f=h[8];g=f;h[9]!==q||h[10]!==e||h[11]!==k||h[12]!==l?(f=function(){var a=q("backward");if(a>0){var b=a-1;m(b,e,k,l)&&p(b)}else n(a,e,k,l)},h[9]=q,h[10]=e,h[11]=k,h[12]=l,h[13]=f):f=h[13];f=f;var r;h[14]!==g?(r=d("cometGetKeyCommandConfig").getCometAndGeminiKeyCommandConfig("newsfeed","scrollNext",g),h[14]=g,h[15]=r):r=h[15];h[16]!==f?(g=d("cometGetKeyCommandConfig").getCometAndGeminiKeyCommandConfig("newsfeed","scrollPrevious",f),h[16]=f,h[17]=g):g=h[17];h[18]!==r||h[19]!==g?(f=[r,g],h[18]=r,h[19]=g,h[20]=f):f=h[20];r=f;g=r;c("useLayerKeyCommands")(g);return o}g["default"]=a}),98);
__d("useCometMixedPermsAfterMigrationWarningDialog_user.graphql",[],(function(a,b,c,d,e,f){"use strict";a={argumentDefinitions:[],kind:"Fragment",metadata:null,name:"useCometMixedPermsAfterMigrationWarningDialog_user",selections:[{kind:"RequiredField",field:{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},action:"THROW",path:"id"},{alias:null,args:null,kind:"ScalarField",name:"should_show_mixed_perms_v2_after_migration_warning_dialog",storageKey:null}],type:"User",abstractKey:null};e.exports=a}),null);
__d("useSessionStorage",["WebStorage","useBrowserStorage"],(function(a,b,c,d,e,f,g){"use strict";var h,i=(h||c("WebStorage")).getSessionStorage();function a(a,b){return c("useBrowserStorage")(i,a,b)}g["default"]=a}),98);
__d("useCometMixedPermsAfterMigrationWarningDialog",["CometMixedPermsAfterGracePeriodBlockingDialog.entrypoint","CometMixedPermsAfterMigrationWarningDialog.entrypoint","CometRelay","react","useCometEntryPointDialog","useCometMixedPermsAfterMigrationWarningDialog_user.graphql","useSessionStorage"],(function(a,b,c,d,e,f,g){"use strict";var h,i;e=i||d("react");var j=e.useEffect,k=e.useRef,l=e.c;function a(a){var e=l(13),f;e[0]===Symbol["for"]("react.memo_cache_sentinel")?(f=h!==void 0?h:h=b("useCometMixedPermsAfterMigrationWarningDialog_user.graphql"),e[0]=f):f=e[0];f=d("CometRelay").useFragment(f,a);var g=k(!1);a=c("useSessionStorage")("mixed_perms_v2_comet_non_blocking_modal_session",!1);var i=a[0],m=a[1],n=(f==null?void 0:f.should_show_mixed_perms_v2_after_migration_warning_dialog)==="DURING_GRACE_PERIOD",o=(f==null?void 0:f.should_show_mixed_perms_v2_after_migration_warning_dialog)==="PASS_GRACE_PERIOD";a=f==null?void 0:f.id;var p;e[1]!==a?(p={profileID:a},e[1]=a,e[2]=p):p=e[2];a=c("useCometEntryPointDialog")(c("CometMixedPermsAfterMigrationWarningDialog.entrypoint"),p);var q=a[0];p=f==null?void 0:f.id;e[3]!==p?(a={profileID:p},e[3]=p,e[4]=a):a=e[4];f=c("useCometEntryPointDialog")(c("CometMixedPermsAfterGracePeriodBlockingDialog.entrypoint"),a);var r=f[0];e[5]!==n||e[6]!==i||e[7]!==q||e[8]!==m||e[9]!==o||e[10]!==r?(p=function(){!g.current&&n&&!i&&(q({}),g.current=!0,m(!0)),!g.current&&o&&(r({}),g.current=!0)},a=[n,q,o,r,i,m],e[5]=n,e[6]=i,e[7]=q,e[8]=m,e[9]=o,e[10]=r,e[11]=p,e[12]=a):(p=e[11],a=e[12]);j(p,a)}g["default"]=a}),98);