;/*FB_PKG_DELIM*/

__d("BrandSafetyEnforcementUtils",[],(function(a,b,c,d,e,f,g){"use strict";function a(a,b,c){return a===5&&c!=null&&b!=null&&c>b}g.isInvalidBrandSafetyPositioning=a}),98);
__d("CometClipboardCustomCopy.react",["react"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h||(h=d("react")),j=h.useCallback;function k(a,b){var c=[];if(b==null)return c;for(var b=b,d=Array.isArray(b),e=0,b=d?b:b[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]();;){var f;if(d){if(e>=b.length)break;f=b[e++]}else{e=b.next();if(e.done)break;f=e.value}f=f;f=f(a);f!==null&&c.push.apply(c,Array.isArray(f)?f:[f])}return c}function l(a,b){var c=[];if(b==null)return c;for(var b=b,d=Array.isArray(b),e=0,b=d?b:b[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]();;){var f;if(d){if(e>=b.length)break;f=b[e++]}else{e=b.next();if(e.done)break;f=e.value}f=f;f.onReadyImmediately(function(b){b=b(a);b!==null&&c.push.apply(c,Array.isArray(b)?b:[b])})}return c}function a(a){var b=a.children,c=a.reformers,d=a.reformersDeferred;a=j(function(a){if(a.clipboardData==null)return;var b=document.getSelection();if(b===null||b.isCollapsed)return;var e=[];e.push.apply(e,k(b,c));e.push.apply(e,l(b,d));if(e.length===0)return;a.preventDefault();for(b=0;b<e.length;b++){var f,g=e[b],h=g.data;g=g.format;(f=a.clipboardData)==null?void 0:f.setData(g,h)}},[c,d]);return(c==null?void 0:c.length)===0&&(d==null?void 0:d.length)===0?i.jsx("div",{children:b}):i.jsx("div",{onCopy:a,children:b})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98);
__d("CometFeed5sImpressionDelayContextProvider.react",["CometFeed5sImpressionDelayContext","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h||(h=d("react"));b=h;b.useMemo;var j=b.c;function a(a){var b=j(3);a=a.children;var d;b[0]===Symbol["for"]("react.memo_cache_sentinel")?(d={firstAdStoryPosition:null,firstLoggedAdImpressionStoryPosition:null,hasAnyAdImpressionAlreadyBeenLogged:!1,hasUserSeenAnyAd:!1},b[0]=d):d=b[0];d=d;d=d;b[1]!==a?(d=i.jsx(c("CometFeed5sImpressionDelayContext").Provider,{value:d,children:a}),b[1]=a,b[2]=d):d=b[2];return d}g["default"]=a}),98);
__d("CometFeedBrandSafetyContextProvider.react",["CometFeedBrandSafetyContext","react","useUnsafeRef_DEPRECATED","uuidv4"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j=i||(i=d("react"));b=i;var k=b.useCallback,l=b.useMemo;function a(a){var b=a.children;a=a.feedStateInfoRef;var d=l(function(){return{brsSessionId:c("uuidv4")()}},[]),e=(h||(h=c("useUnsafeRef_DEPRECATED")))({}),f=h({feedSessionInfo:d,feedStateInfoRef:a,feedUnitRegistry:e.current});d=k(function(){return f.current},[]);return j.jsx(c("CometFeedBrandSafetyContext").Provider,{value:d,children:b})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98);
__d("SPFCometConnectionsDialogQuery_facebookRelayOperation",[],(function(a,b,c,d,e,f){e.exports="6698571503527081"}),null);
__d("SPFCometConnectionsDialogQuery$Parameters",["SPFCometConnectionsDialogQuery_facebookRelayOperation"],(function(a,b,c,d,e,f){"use strict";a={kind:"PreloadableConcreteRequest",params:{id:b("SPFCometConnectionsDialogQuery_facebookRelayOperation"),metadata:{},name:"SPFCometConnectionsDialogQuery",operationKind:"query",text:null}};e.exports=a}),null);
__d("SPFCometConnectionsDialog.entrypoint",["JSResourceForInteraction","SPFCometConnectionsDialogQuery$Parameters","WebPixelRatio"],(function(a,b,c,d,e,f,g){"use strict";a={getPreloadProps:function(a){a=a.followLocation;return{queries:{queryReference:{parameters:b("SPFCometConnectionsDialogQuery$Parameters"),variables:{follow_location:a,scale:d("WebPixelRatio").get()}}}}},root:c("JSResourceForInteraction")("SPFCometConnectionsDialog.react").__setRef("SPFCometConnectionsDialog.entrypoint")};g["default"]=a}),98);
__d("CometFeedEndOfFeedMessage.react",["fbt","CometCard.react","CometEntryPointDialogTrigger.react","CometTailLoadLogger","GraphQLGender","NullStateGeneral","SPFCometConnectionsDialog.entrypoint","TetraButton.react","TetraNullState.react","XCometFriendingControllerRouteBuilder","gkx","performanceNow","react","recoverableViolation","useCometIgnoreLateMutation","useCometRouteTracePolicy"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j,k=j||(j=d("react"));b=j;var l=b.useEffect,m=b.useRef,n=b.c,o=c("gkx")("20861"),p="ADDITIONAL_PROFILE_END_OF_NEWSFEED_UNIT";function a(a){var b=n(39),e=a.bugnub,f=a.canHaveFriends,g=a.friendsCount,j=a.isError,r=a.isTailLoadError,s=a.onReload,t=a.pageletName,u=a.position,v=a.unstable_fbOnlyMessage;a=a.viewerName;f=f===void 0?!0:f;var w;b[0]===Symbol["for"]("react.memo_cache_sentinel")?(w=h._("__JHASH__1aCahPu_Spa__JHASH__"),b[0]=w):w=b[0];w=w;var x;b[1]!==s?(x=s!=null?h._("__JHASH__agUjVDAiGfU__JHASH__"):h._("__JHASH__TIavK93mohZ__JHASH__"),b[1]=s,b[2]=x):x=b[2];x=x;var y=c("NullStateGeneral"),z;b[3]!==s||b[4]!==r?(z=s!=null?k.jsx(c("TetraButton.react"),{label:r===!0?h._("__JHASH__oVKFGacXj7g__JHASH__"):h._("__JHASH__5qO-W0gPI64__JHASH__"),onPress:s}):null,b[3]=s,b[4]=r,b[5]=z):z=b[5];s=z;if(!j&&c("gkx")("22997")&&g!=null&&g<60){b[6]===Symbol["for"]("react.memo_cache_sentinel")?(r=h._("__JHASH__wYlzrGOmwcy__JHASH__"),b[6]=r):r=b[6];w=r;b[7]===Symbol["for"]("react.memo_cache_sentinel")?(z=h._("__JHASH__Hc910K4rHZM__JHASH__"),b[7]=z):z=b[7];x=z;y=null;b[8]===Symbol["for"]("react.memo_cache_sentinel")?(g=h._("__JHASH__Y5CxKhtSbB4__JHASH__"),r={ref:"EMPTY_FEED"},z=c("XCometFriendingControllerRouteBuilder").buildURL({}),b[8]=g,b[9]=r,b[10]=z):(g=b[8],r=b[9],z=b[10]);b[11]!==z?(g=k.jsx(c("TetraButton.react"),{label:g,linkProps:{passthroughProps:r,url:z}}),b[11]=z,b[12]=g):g=b[12];s=g}var A=m(!1),B=c("useCometRouteTracePolicy")();b[13]!==t||b[14]!==u||b[15]!==B?(r=function(){!A.current&&t!=null&&u!=null&&u>0&&(d("CometTailLoadLogger").logMarkerEnd(t,u,(i||(i=c("performanceNow")))(),3,B),A.current=!0)},z=[t,u,B],b[13]=t,b[14]=u,b[15]=B,b[16]=r,b[17]=z):(r=b[16],z=b[17]);l(r,z);if(!j&&!f){a==null&&c("recoverableViolation")("viewer name cannot be null","profile_plus");b[18]===Symbol["for"]("react.memo_cache_sentinel")?(g=h._("__JHASH__vW7yKGw8hwh__JHASH__"),b[18]=g):g=b[18];w=g;if(b[19]!==a){z=h._("__JHASH__-l-TeGyEqk-__JHASH__",[h._name("actor",(r=a)!=null?r:null,new(c("GraphQLGender"))("NEUTER").toIntlVariationsEnum())]);b[19]=a;b[20]=z}else z=b[20];x=z;y=null;b[21]===Symbol["for"]("react.memo_cache_sentinel")?(j=k.jsx(c("CometEntryPointDialogTrigger.react"),{dialogEntryPoint:c("SPFCometConnectionsDialog.entrypoint"),otherProps:{followLocation:p,title:h._("__JHASH__UACyMWIVsW9__JHASH__")},preloadParams:{followLocation:p},children:q}),b[21]=j):j=b[21];s=j}f=c("useCometIgnoreLateMutation")(!0);b[22]===Symbol["for"]("react.memo_cache_sentinel")?(g="x1yztbdb",b[22]=g):g=b[22];b[23]!==e?(r=e!=null&&k.jsx("div",{className:"x1jn9clo x160vmok x10l6tqk",children:e}),b[23]=e,b[24]=r):r=b[24];b[25]!==s||b[26]!==x||b[27]!==w||b[28]!==y?(a=k.jsx(c("TetraNullState.react"),{action:s,body:x,headline:w,icon:y}),b[25]=s,b[26]=x,b[27]=w,b[28]=y,b[29]=a):a=b[29];b[30]!==v?(z=v!=null&&o?k.jsx("div",{className:"x1p5oq8j xxbr6pl xwxc41k xbbxn1n",children:v}):null,b[30]=v,b[31]=z):z=b[31];b[32]!==r||b[33]!==a||b[34]!==z?(j=k.jsxs(c("CometCard.react"),{background:"white",dropShadow:1,children:[r,a,z]}),b[32]=r,b[33]=a,b[34]=z,b[35]=j):j=b[35];b[36]!==f||b[37]!==j?(e=k.jsx("div",{className:g,"data-testid":void 0,ref:f,role:"article",children:j}),b[36]=f,b[37]=j,b[38]=e):e=b[38];return e}function q(a){return k.jsx(c("TetraButton.react"),{label:h._("__JHASH__u89hK40h892__JHASH__"),onPress:a})}q.displayName=q.name+" [from "+f.id+"]";g["default"]=a}),226);
__d("CometFeedEndOfFeedMessageForNewsfeedOnly.react",["CometFeedEndOfFeedMessage.react","HiddenSubtreePassiveContext","NetworkStatus","cr:1638891","cr:721","gkx","pageID","react","requireDeferred","useCometRouterState"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h||(h=d("react"));e=h;var j=e.useContext,k=e.useEffect,l=e.useRef,m=c("requireDeferred")("CometNewsFeedEofFalcoEvent").__setRef("CometFeedEndOfFeedMessageForNewsfeedOnly.react"),n=c("requireDeferred")("CometNewsFeedEofUnmountedFalcoEvent").__setRef("CometFeedEndOfFeedMessageForNewsfeedOnly.react");function a(a){var d=a.endOfFeedComponent;d=d===void 0?c("CometFeedEndOfFeedMessage.react"):d;var e=a.feedUnitReceivedCount,f=a.feedUnitRenderedCount,g=a.hasPageInfo,h=a.maxFeedUnitsReceived,o=a.onTailLoadReload,p=a.pageletName,q=a.position,r=a.renderLocation,s=a.tailLoadErrored,t=a.friendsCount,u=a.isError,v=a.onReload;a=babelHelpers.objectWithoutPropertiesLoose(a,["endOfFeedComponent","feedUnitReceivedCount","feedUnitRenderedCount","hasPageInfo","maxFeedUnitsReceived","onTailLoadReload","pageletName","position","renderLocation","tailLoadErrored","friendsCount","isError","onReload"]);var w=l(!1),x=j(c("HiddenSubtreePassiveContext")),y=l(null),z=!c("gkx")("22809")&&c("gkx")("21058"),A=v!=null?function(){w.current=!0,z&&s?o():v()}:void 0,B=c("useCometRouterState")(),C=(B=B==null?void 0:(B=B.main)==null?void 0:(B=B.route)==null?void 0:B.tabKey)!=null?B:"",D=C==="most_recent_feed";k(function(){if(r==="homepage_stream"||D){var a=u?"unknown_error":"no_more_edges";u&&(!g&&s?a="missing_page_info_and_tail_load_error":!g?a="missing_page_info":s&&(a="tail_load_error"));var b=c("NetworkStatus").isOnline();y.current=Date.now();m.onReady(function(d){d.log(function(){return{eof_mount_reason:a,feed_tab_key:C,feed_unit_count:f,feed_unit_received_count:e,is_online:b,max_feed_units_received_count:h,page_id:c("pageID"),position:q,was_in_hidden_subtree:x.getCurrentState().hiddenOrBackgrounded_FIXME}})});return function(){var a=Date.now(),b=y.current!=null?a-y.current:null,d=w.current,g=x.getCurrentState().hiddenOrBackgrounded;n.onReady(function(a){a.log(function(){return{feed_unit_count:f,feed_unit_received_count:e,manual_reload:d,mounted_duration:b,page_id:c("pageID"),position:q,was_in_hidden_subtree:g}})})}}},[]);B=!u&&(t==null||t>=60);return i.jsx(d,babelHelpers["extends"]({},a,{bugnub:b("cr:721")!=null?i.jsx(b("cr:721"),{}):null,feedUnitReceivedCount:e,friendsCount:t,isError:u,isTailLoadError:z&&s,onReload:A,pageletName:p,position:q,unstable_fbOnlyMessage:B&&b("cr:1638891")!=null?i.jsx(b("cr:1638891"),{}):void 0}))}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98);
__d("CometFeedFavoritesEndOfFeedMessageQuery_facebookRelayOperation",[],(function(a,b,c,d,e,f){e.exports="7221332091272137"}),null);
__d("CometFeedFavoritesEndOfFeedMessageQuery.graphql",["CometFeedFavoritesEndOfFeedMessageQuery_facebookRelayOperation"],(function(a,b,c,d,e,f){"use strict";a=function(){var a=[{defaultValue:null,kind:"LocalArgument",name:"hasNoStories"}],c=[{alias:null,args:[{kind:"Literal",name:"is_end_of_feed",value:!0}],concreteType:"SeeFirstMigrationContent",kind:"LinkedField",name:"see_first_migration_content",plural:!1,selections:[{args:null,documentName:"CometFeedFavoritesEndOfFeedMessageQuery_eof",fragmentName:"CometFeedSeeFirstMigrationCard_content",fragmentPropName:"content",kind:"ModuleImport"}],storageKey:"see_first_migration_content(is_end_of_feed:true)"},{alias:null,args:[{kind:"Variable",name:"is_empty_feed",variableName:"hasNoStories"}],concreteType:"ValueProposition",kind:"LinkedField",name:"favorites_caught_up_content",plural:!1,selections:[{args:null,documentName:"CometFeedFavoritesEndOfFeedMessageQuery_caughtup",fragmentName:"CometFeedFavoritesCaughtUp_content",fragmentPropName:"content",kind:"ModuleImport"}],storageKey:null}];return{fragment:{argumentDefinitions:a,kind:"Fragment",metadata:null,name:"CometFeedFavoritesEndOfFeedMessageQuery",selections:c,type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:a,kind:"Operation",name:"CometFeedFavoritesEndOfFeedMessageQuery",selections:c},params:{id:b("CometFeedFavoritesEndOfFeedMessageQuery_facebookRelayOperation"),metadata:{},name:"CometFeedFavoritesEndOfFeedMessageQuery",operationKind:"query",text:null}}}();e.exports=a}),null);
__d("CometFeedFavoritesEndOfFeedMessage.react",["CometFeedFavoritesEndOfFeedMessageQuery.graphql","CometRelay","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j=(i||(i=d("react"))).c,k=i;function a(a){var c=j(16),e=a.feedUnitReceivedCount;a=a.onReload;e=e===0;var f;c[0]!==e?(f={hasNoStories:e},c[0]=e,c[1]=f):f=c[1];e=f;c[2]===Symbol["for"]("react.memo_cache_sentinel")?(f=h!==void 0?h:h=b("CometFeedFavoritesEndOfFeedMessageQuery.graphql"),c[2]=f):f=c[2];f=d("CometRelay").useLazyLoadQuery(f,e);var g=f==null?void 0:f.see_first_migration_content,i;c[3]!==a?(i={onReload:a},c[3]=a,c[4]=i):i=c[4];c[5]!==g||c[6]!==i?(a=k.jsx(d("CometRelay").MatchContainer,{match:g,props:i}),c[5]=g,c[6]=i,c[7]=a):a=c[7];g=f==null?void 0:f.favorites_caught_up_content;c[8]!==e.hasNoStories?(i={hasNoStories:e.hasNoStories},c[8]=e.hasNoStories,c[9]=i):i=c[9];c[10]!==g||c[11]!==i?(f=k.jsx(d("CometRelay").MatchContainer,{match:g,props:i}),c[10]=g,c[11]=i,c[12]=f):f=c[12];c[13]!==a||c[14]!==f?(e=k.jsxs("div",{children:[a,f]}),c[13]=a,c[14]=f,c[15]=e):e=c[15];return e}g["default"]=a}),98);
__d("MinGapTypeUtils.facebook",["$InternalEnumUtils","MinGapType"],(function(a,b,c,d,e,f,g){var h;a=d("$InternalEnumUtils").createToJSEnum(h||(h=c("MinGapType")));b=d("$InternalEnumUtils").createFromJSEnum(h);g.toJSEnum=a;g.fromJSEnum=b}),98);
__d("CometFeedGapRules",["CometFeedV2GapRules","FBLogger","MinGapType","MinGapTypeUtils.facebook","gkx"],(function(a,b,c,d,e,f,g){"use strict";var h,i=JSON.parse(c("CometFeedV2GapRules").json_min_gap_rules),j=c("gkx")("22618");function k(){var a=i.min_gap_rules;return Object.keys(a).map(function(a){return(h||(h=c("MinGapType"))).cast(parseInt(a,10))}).filter(Boolean)}function l(a){return k().indexOf(a)!==-1}var m=new Set();function n(a,b,d){if(m.has(a))return;b=c("FBLogger")(b);d&&(b=b.catching(d));b.warn(a);m.add(a);return}function o(a){if(a!==1){var b;b=(b=d("MinGapTypeUtils.facebook").fromJSEnum(a))!=null?b:"";!l(a)&&j&&n("Min gap type "+b+" is not supported by server-side gap rule config","CometFeedGapValidation")}}function a(a,b){var c=[a,b];c.forEach(o);c=i.min_gap_rules;return(a=(c=c[a])==null?void 0:c[b])!=null?a:0}function b(a){o(a);var b=i.min_gap_from_top_rules;return a===5&&c("gkx")("23037")?2:(b=b[a])!=null?b:0}g.getSupportedMinGapTypes=k;g.getMinGapBetweenTypes=a;g.getMinGapFromTop=b}),98);
__d("CometFeedKeyboardNavPositionContext",["react"],(function(a,b,c,d,e,f,g){"use strict";var h;a=h||d("react");b=a.createContext(0);g["default"]=b}),98);
__d("CometValidFeedUnitOrdering",["AdsExtremeGapUtils","BrandSafetyEnforcementUtils","CometFeedGapRules","CometFeedUnitStatusTrackingUtils","MinGapType","cr:5881","gkx"],(function(a,b,c,d,e,f,g){"use strict";var h;function i(a){return a.reduce(function(a,b){return babelHelpers["extends"]({},a,(a={},a[b.key]=b,a))},{})}function j(a){return a.map(function(a){a.status;a=babelHelpers.objectWithoutPropertiesLoose(a,["status"]);return babelHelpers["extends"]({},a)})}var k={};function l(a){var b={};d("CometFeedGapRules").getSupportedMinGapTypes().forEach(function(a){b[a]=null});a.forEach(function(a,c){b[a.minGapType]=c});return b}function m(a,b,c,e,f){return n(a,b,d("CometFeedUnitStatusTrackingUtils").isPossiblyVisible,c,e,f)===null}function n(a,e,f,g,i,j){var m=d("CometFeedUnitStatusTrackingUtils").getFeedUnitsWithOriginalPosition(a,f),n=m.length,o=l(m);f=Object.keys(o).map(function(a){return(h||(h=c("MinGapType"))).cast(parseInt(a,10))}).filter(Boolean);var p=d("CometFeedGapRules").getMinGapFromTop(e),q=n;if(q<p-1)return{conflictPosition:null,conflictUnitMinGapType:null,violationType:"minGapFromTop"};q=null;var r=(p=g==null?void 0:g.sponsoredAuctionDistance)!=null?p:0;if(c("gkx")("23028")&&a.length>=1){p=a[a.length-1];var s=p==null?void 0:(p=p.edgeData)==null?void 0:p.brsContentLabel,t=g==null?void 0:g.brsFilterSetting;p=d("BrandSafetyEnforcementUtils").isInvalidBrandSafetyPositioning(e,t,s);if(p){j!=null&&k[j]!==a.length&&(b("cr:5881")==null?void 0:b("cr:5881").log(function(){var b;return{ad_insertion_status:"SLOT_SKIPPED",ad_insertion_sub_status:"BLOCKED_BY_PREV",ad_inventory_filter:String(t),adjacent_edges_info:{unit_before:{brs_content_label:String(s)}},client_token:(b=i)!=null?b:"",feed_session_id:"",impression_original_timestamp_ms:"",slot_position:String(a.length)}}),k[j]=a.length);return{conflictPosition:a.length,conflictUnitMinGapType:5,violationType:"brandSafetyViolation"}}}var u=d("AdsExtremeGapUtils").shouldApplyExtremeGapProtection(m,e);f.some(function(a){var b=d("CometFeedGapRules").getMinGapBetweenTypes(e,a),c=e===5&&a===5;b=c?Math.max(b,r+1):b;c&&b===d("AdsExtremeGapUtils").EXTREME_GAP_DISTANCE&&u&&(b+=1);if(o[a]!=null){c=n-o[a];if(c<b){q={conflictPosition:m[o[a]].position,conflictUnitMinGapType:a,violationType:"minGapBetweenCategories"};return!0}}return!1});return q}function o(a,b){for(var c=0;c<b.length;c++){var d,e=b[c];if(m(a,e.minGapType,{brsContentLabel:e==null?void 0:(d=e.edgeData)==null?void 0:d.brsContentLabel,brsFilterSetting:e==null?void 0:(d=e.edgeData)==null?void 0:d.brsFilterSetting,sponsoredAuctionDistance:e==null?void 0:(d=e.edgeData)==null?void 0:d.sponsoredAuctionDistance},e==null?void 0:(d=e.edgeData)==null?void 0:d.clientToken,e.key))return e}return null}function p(a,b){var c=i(a);return b.filter(function(a){return c[a.key]==null})}function q(a,b){if(a.length<2||b.length===0)return[];b=b.reduce(function(a,b){return babelHelpers["extends"]({},a,(a={},a[b]=!0,a))},{});var c=[];for(var d=0;d<a.length;d++){var e=a[d];if(b[e.key]!=null)return c;c.push(e)}return[]}function a(a,b){b===void 0&&(b=0);var c=[];for(b=b;b<a.length;b++){var e=a[b];if(d("CometFeedUnitStatusTrackingUtils").isCurrentlyVisible(e)){var f=n(a.slice(0,b),e.minGapType,d("CometFeedUnitStatusTrackingUtils").isCurrentlyVisible);f!=null&&c.push(babelHelpers["extends"]({},f,{violationPosition:b,violationUnitKey:e.key,violationUnitMinGapType:e.minGapType}))}}return c}function e(a,b,c){c===void 0&&(c=!1);var d=b.reduce(function(a,b,c){return babelHelpers["extends"]({},a,(a={},a[b.key]=c,a))},{}),e={};a.forEach(function(a,b){if(e[a.key]!=null){e[a.key].receivedPositions=e[a.key].receivedPositions.concat([b]);return}e[a.key]={receivedPositions:[b],renderedPosition:(b=d[a.key])!=null?b:null}});if(c)return e;var f={};Object.keys(e).forEach(function(a){var b=e[a];if(b.receivedPositions.length===1&&b.receivedPositions[0]===b.renderedPosition)return;f[a]=b});return f}function r(a){var b={};return a.filter(function(a){if(b[a.key])return!1;b[a.key]=!0;return!0})}function f(a,e,f){var g=r(e),h=i(g);e=a.filter(function(a){return h[a.key]!=null});a=d("CometFeedUnitStatusTrackingUtils").getAllPositionedFeedUnits(d("CometFeedUnitStatusTrackingUtils").getFeedUnitsWithRenderingOutOfOrderFixed(e));e=q(g,f).map(function(a){return babelHelpers["extends"]({},a,{status:"positioned"})});var k=e.concat(a),l=p(k,g);f=function(){var a=o(k,l);if(a==null)return"break";if(c("gkx")("23028")&&k.length>=1){var e,f=k[k.length-1];e=d("BrandSafetyEnforcementUtils").isInvalidBrandSafetyPositioning(f.minGapType,(e=f.edgeData)==null?void 0:e.brsFilterSetting,(e=a.edgeData)==null?void 0:e.brsContentLabel);if(e){b("cr:5881")==null?void 0:b("cr:5881").log(function(){var b;return{ad_insertion_status:"SLOT_SKIPPED",ad_insertion_sub_status:"BLOCKED_BY_NEXT",ad_inventory_filter:String((b=f.edgeData)==null?void 0:b.brsFilterSetting),adjacent_edges_info:{unit_after:{brs_content_label:String((b=a.edgeData)==null?void 0:b.brsContentLabel)}},client_token:(b=(b=a.edgeData)==null?void 0:b.clientToken)!=null?b:"",feed_session_id:"",impression_original_timestamp_ms:"",slot_position:String(k.length-1)}});e=[k.pop()];l=l.concat(j(e));l=s(k,a,l);l=l.slice().sort(function(a,b){return g.findIndex(function(b){return b.key===a.key})-g.findIndex(function(a){return a.key===b.key})});return"continue"}}l=s(k,a,l)};_loop:while(l.length>0){e=f();switch(e){case"break":break _loop;case"continue":continue}}return k}function s(a,b,c){a.push(babelHelpers["extends"]({},b,{status:"received"}));return c.filter(function(a){return a.key!==b.key})}g.getFeedUnitMap=i;g.convertStatusListToReceivedList=j;g.getLastPositionsForMinGapType=l;g.isUnitEligibleToBePlacedNext=m;g.getViolationIfUnitIsPlacedNext=n;g.getNextEligibleUnit=o;g.getAvailableUnits=p;g.getNewHeadLoadedUnits=q;g.getFeedUnitOrderViolations=a;g.getFeedUnitReorderInfo=e;g.removeDuplicates=r;g.getValidFeedUnitOrdering=f}),98);
__d("CometFeedUnitOrderingDebugInfo",["CometValidFeedUnitOrdering","MinGapTypeUtils.facebook"],(function(a,b,c,d,e,f,g){"use strict";function h(a,b){var c=[],e=[],f=d("CometValidFeedUnitOrdering").getFeedUnitMap(b.map(function(a){return babelHelpers["extends"]({},a,{status:"received"})}).concat(a)),g=d("CometValidFeedUnitOrdering").getFeedUnitReorderInfo(b,a,!0);b.forEach(function(a){a=a.key;a={renderedPosition:g[a]!=null?g[a].renderedPosition:null,receivedPositions:g[a]!=null?g[a].receivedPositions:[],minGapType:f[a].minGapType,key:a,status:f[a].status};a.renderedPosition!=null?c[a.renderedPosition]=a:e.push(a)});return{feedUnitsDeferred:e,feedUnitsToRender:c}}function a(a,b,c,e,f){c===void 0&&(c=!0);e===void 0&&(e=0);a=h(a,b);b=a.feedUnitsToRender.concat(a.feedUnitsDeferred);a=b.slice(e,f!=null?f:b.length);e=a.map(function(a){var b=a.renderedPosition!==a.receivedPositions[0];return(b?"*":" ")+" "+((b=a.renderedPosition)!=null?b:"X").toString().padStart(3)+": ["+(a.receivedPositions.toString()+"]").padEnd(7)+" "+((b=d("MinGapTypeUtils.facebook").fromJSEnum(a.minGapType))!=null?b:"UNKNOWN").padEnd(12).slice(0,12)+" "+a.key.padEnd(10).slice(0,10)+" "+a.status.slice(0,16)});if(c){f="  Pos: [recvd]  "+"Category".padEnd(13)+"Key (part)".padEnd(11)+"Status";return[f].concat(e).join("\n")}return e.join("\n")}g.getCometFeedUnitOrderingDebugInfo=h;g.getCometFeedUnitOrderingDebugInfoString=a}),98);
__d("CometHomeContentAnimationContainer.react",["CometFeedGlimmer.react","CometVisualCompletion","clearTimeout","react","scrollTo","setTimeout","stylex"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j=i||(i=d("react"));b=i;var k=b.useEffect,l=b.useRef,m=b.useState,n=b.c,o={animateOutContent:{opacity:"xg01cxk",$$css:!0},contentRoot:{opacity:"x1hc1fzr",transitionDuration:"x1unhpq9",transitionProperty:"x6o7n8i",$$css:!0},hideContent:{opacity:"xg01cxk",pointerEvents:"x47corl",$$css:!0}},p=500,q=1500;function a(a){var b=n(20),d=a.children,e=a.disableScroll,f=a.isPending,g=e===void 0?!1:e,i=l(null);a=m(!1);e=a[0];var r=a[1];a=m(!1);var s=a[0],t=a[1],u;b[0]!==f||b[1]!==g?(a=function(){var a=i.current;f&&a!=null&&(t(!0),c("setTimeout")(function(){if(g)return;var a=Math.max(window.innerHeight,q);window.scrollY>a&&c("scrollTo")({top:a});c("scrollTo")({behavior:"smooth",top:0});c("CometVisualCompletion").setInitialScrollY(0);c("CometVisualCompletion").addAnnotationInt("ScrollToTop",1)},p))},u=[g,f],b[0]=f,b[1]=g,b[2]=a,b[3]=u):(a=b[2],u=b[3]);k(a,u);b[4]!==f||b[5]!==s?(a=function(){if(f!==!1||s===!1)return;r(!0);var a=c("setTimeout")(function(){r(!1),t(!1)},p);return function(){return c("clearTimeout")(a)}},u=[f,s],b[4]=f,b[5]=s,b[6]=a,b[7]=u):(a=b[6],u=b[7]);k(a,u);b[8]!==s?(a=s===!0?j.jsx("div",{className:"x54ewbq xqcmdr3 x1hc1fzr x47corl x1unhpq9 x6o7n8i xh8yej3",children:j.jsx(c("CometFeedGlimmer.react"),{})}):null,b[8]=s,b[9]=a):a=b[9];u=e&&o.animateOutContent;e=s===!0&&o.hideContent;var v;b[10]!==u||b[11]!==e?(v=(h||(h=c("stylex")))(o.contentRoot,u,e),b[10]=u,b[11]=e,b[12]=v):v=b[12];b[13]!==v||b[14]!==i||b[15]!==d?(u=j.jsx("div",{className:v,ref:i,children:d}),b[13]=v,b[14]=i,b[15]=d,b[16]=u):u=b[16];b[17]!==a||b[18]!==u?(e=j.jsxs(j.Fragment,{children:[a,u]}),b[17]=a,b[18]=u,b[19]=e):e=b[19];return e}g["default"]=a}),98);
__d("CometMegaphoneQuickPromotionSection_quickPromotion.graphql",[],(function(a,b,c,d,e,f){"use strict";a={argumentDefinitions:[],kind:"Fragment",metadata:null,name:"CometMegaphoneQuickPromotionSection_quickPromotion",selections:[{alias:null,args:null,concreteType:"CometQuickPromotionSections",kind:"LinkedField",name:"comet_qp_sections",plural:!1,selections:[{alias:null,args:[{kind:"Literal",name:"supported",value:"2jsin2"}],concreteType:null,kind:"LinkedField",name:"renderer_strategy",plural:!1,selections:[{kind:"InlineFragment",selections:[{args:null,documentName:"CometMegaphoneQuickPromotionSection_quickPromotion",fragmentName:"CometPrimaryTestUserUpsellQP_quickPromotion",fragmentPropName:"quickPromotion",kind:"ModuleImport"}],type:"CometPrimaryTestUserUpsellQP",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometMegaphoneQuickPromotionSection_quickPromotion",fragmentName:"CometSlimMegaphoneRendererStrategy_quickPromotion",fragmentPropName:"quickPromotion",kind:"ModuleImport"}],type:"CometSlimMegaphoneRendererStrategy",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometMegaphoneQuickPromotionSection_quickPromotion",fragmentName:"CometStandardMegaphoneRendererStrategy_quickPromotion",fragmentPropName:"quickPromotion",kind:"ModuleImport"}],type:"CometStandardMegaphoneRendererStrategy",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometMegaphoneQuickPromotionSection_quickPromotion",fragmentName:"CometEmergencyMegaphoneRendererStrategy_quickPromotion",fragmentPropName:"quickPromotion",kind:"ModuleImport"}],type:"CometEmergencyMegaphoneRendererStrategy",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometMegaphoneQuickPromotionSection_quickPromotion",fragmentName:"CometMegaphoneWWWDeviceBasedLoginRendererStrategy_quickPromotion",fragmentPropName:"quickPromotion",kind:"ModuleImport"}],type:"CometMegaphoneWWWDeviceBasedLoginRendererStrategy",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometMegaphoneQuickPromotionSection_quickPromotion",fragmentName:"CometQuickPromotionAYMTNewsFeedMegaphoneRendererStrategy_quickPromotion",fragmentPropName:"quickPromotion",kind:"ModuleImport"}],type:"CometQuickPromotionAYMTNewsFeedMegaphoneRendererStrategy",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometMegaphoneQuickPromotionSection_quickPromotion",fragmentName:"CometQuickPromotionLocationTransparencyMegaphoneRendererStrategy_quickPromotion",fragmentPropName:"quickPromotion",kind:"ModuleImport"}],type:"CometQuickPromotionLocationTransparencyMegaphoneRendererStrategy",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometMegaphoneQuickPromotionSection_quickPromotion",fragmentName:"CometQuickPromotionNonprofitMegaphoneRendererStrategy_quickPromotion",fragmentPropName:"quickPromotion",kind:"ModuleImport"}],type:"CometQuickPromotionNonprofitMegaphoneRendererStrategy",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometMegaphoneQuickPromotionSection_quickPromotion",fragmentName:"CometQPDiglossiaSurveyRendererStrategy_quickPromotion",fragmentPropName:"quickPromotion",kind:"ModuleImport"}],type:"CometQPDiglossiaSurveyRendererStrategy",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometMegaphoneQuickPromotionSection_quickPromotion",fragmentName:"CometQPRegularSurveyRendererStrategy_quickPromotion",fragmentPropName:"quickPromotion",kind:"ModuleImport"}],type:"CometQPRegularSurveyRendererStrategy",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometMegaphoneQuickPromotionSection_quickPromotion",fragmentName:"CometQuickPromotionFundraiserPromotionalMegaphoneRendererStrategy_quickPromotion",fragmentPropName:"quickPromotion",kind:"ModuleImport"}],type:"CometQuickPromotionFundraiserPromotionalMegaphoneRendererStrategy",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometMegaphoneQuickPromotionSection_quickPromotion",fragmentName:"CometQuickPromotionFullImageMegaphoneRendererStrategy_quickPromotion",fragmentPropName:"quickPromotion",kind:"ModuleImport"}],type:"CometQuickPromotionFullImageMegaphoneRendererStrategy",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometMegaphoneQuickPromotionSection_quickPromotion",fragmentName:"CometQuickPromotionBLMMegaphoneRendererStrategy_quickPromotion",fragmentPropName:"quickPromotion",kind:"ModuleImport"}],type:"CometQuickPromotionBLMMegaphoneRendererStrategy",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometMegaphoneQuickPromotionSection_quickPromotion",fragmentName:"CometConsentFrameworkRendererStrategy_quickPromotion",fragmentPropName:"quickPromotion",kind:"ModuleImport"}],type:"CometConsentFrameworkRendererStrategy",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometMegaphoneQuickPromotionSection_quickPromotion",fragmentName:"CometQuickPromotionPPAMegaphoneRendererStrategy_quickPromotion",fragmentPropName:"quickPromotion",kind:"ModuleImport"}],type:"CometQuickPromotionPPAMegaphoneRendererStrategy",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometMegaphoneQuickPromotionSection_quickPromotion",fragmentName:"CometQuickPromotionPPAPostEnforcementMegaphoneRendererStrategy_quickPromotion",fragmentPropName:"quickPromotion",kind:"ModuleImport"}],type:"CometQuickPromotionPPAPostEnforcementMegaphoneRendererStrategy",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometMegaphoneQuickPromotionSection_quickPromotion",fragmentName:"CometQuickPromotionPPAPreApprovedMegaphoneRendererStrategy_quickPromotion",fragmentPropName:"quickPromotion",kind:"ModuleImport"}],type:"CometQuickPromotionPPAPreApprovedMegaphoneRendererStrategy",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometMegaphoneQuickPromotionSection_quickPromotion",fragmentName:"CometQuickPromotionAskMeAnythingNewsFeedMegaphoneRendererStrategy_quickPromotion",fragmentPropName:"quickPromotion",kind:"ModuleImport"}],type:"CometQuickPromotionAskMeAnythingNewsFeedMegaphoneRendererStrategy",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometMegaphoneQuickPromotionSection_quickPromotion",fragmentName:"CometQuickPromotionFullBleedImageRendererStrategy_quickPromotion",fragmentPropName:"quickPromotion",kind:"ModuleImport"}],type:"CometQuickPromotionFullBleedImageRendererStrategy",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometMegaphoneQuickPromotionSection_quickPromotion",fragmentName:"CometQuickPromotionCreateStreamerFanGroupsRendererStrategy_quickPromotion",fragmentPropName:"quickPromotion",kind:"ModuleImport"}],type:"CometQuickPromotionCreateStreamerFanGroupsRendererStrategy",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometMegaphoneQuickPromotionSection_quickPromotion",fragmentName:"CometSideImageMegaphoneRendererStrategy_quickPromotion",fragmentPropName:"quickPromotion",kind:"ModuleImport"}],type:"CometSideImageMegaphoneRendererStrategy",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometMegaphoneQuickPromotionSection_quickPromotion",fragmentName:"CometMegaphoneWWWEmailAcquisitionRendererStrategy_quickPromotion",fragmentPropName:"quickPromotion",kind:"ModuleImport"}],type:"CometMegaphoneWWWEmailAcquisitionRendererStrategy",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometMegaphoneQuickPromotionSection_quickPromotion",fragmentName:"CometQuickPromotionPrayerSettingsMegaphoneRendererStrategy_quickPromotion",fragmentPropName:"quickPromotion",kind:"ModuleImport"}],type:"CometQuickPromotionPrayerSettingsMegaphoneRendererStrategy",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometMegaphoneQuickPromotionSection_quickPromotion",fragmentName:"CometMegaphoneWWWEmailAcquisitionNoAutofillRendererStrategy_quickPromotion",fragmentPropName:"quickPromotion",kind:"ModuleImport"}],type:"CometMegaphoneWWWEmailAcquisitionNoAutofillRendererStrategy",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometMegaphoneQuickPromotionSection_quickPromotion",fragmentName:"CometQuickPromotionNewsfeedPrivacyPolicyNoticeMegaphoneRendererStrategy_quickPromotion",fragmentPropName:"quickPromotion",kind:"ModuleImport"}],type:"CometQuickPromotionNewsfeedPrivacyPolicyNoticeMegaphoneRendererStrategy",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometMegaphoneQuickPromotionSection_quickPromotion",fragmentName:"CometQuickPromotionTransparencyInformPlatformRendererStrategy_quickPromotion",fragmentPropName:"quickPromotion",kind:"ModuleImport"}],type:"CometQuickPromotionTransparencyInformPlatformRendererStrategy",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometMegaphoneQuickPromotionSection_quickPromotion",fragmentName:"CometQuickPromotionSettingsContextualMessageRendererStrategy_quickPromotion",fragmentPropName:"quickPromotion",kind:"ModuleImport"}],type:"CometQuickPromotionSettingsContextualMessageRendererStrategy",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometMegaphoneQuickPromotionSection_quickPromotion",fragmentName:"CometQuickPromotionProfilePlusTopOfFeedMegaphoneRendererStrategy_quickPromotion",fragmentPropName:"quickPromotion",kind:"ModuleImport"}],type:"CometQuickPromotionProfilePlusTopOfFeedMegaphoneRendererStrategy",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometMegaphoneQuickPromotionSection_quickPromotion",fragmentName:"CometMegaphoneGHLAdBlockerNotificationRendererStrategy_quickPromotion",fragmentPropName:"quickPromotion",kind:"ModuleImport"}],type:"CometMegaphoneGHLAdBlockerNotificationRendererStrategy",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometMegaphoneQuickPromotionSection_quickPromotion",fragmentName:"CometQuickPromotionAPPlusCreateBroadcastChannelRendererStrategy_quickPromotion",fragmentPropName:"quickPromotion",kind:"ModuleImport"}],type:"CometQuickPromotionAPPlusCreateBroadcastChannelRendererStrategy",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometMegaphoneQuickPromotionSection_quickPromotion",fragmentName:"CometMegaphoneMPWBulkMigrationRendererStrategy_quickPromotion",fragmentPropName:"quickPromotion",kind:"ModuleImport"}],type:"CometMegaphoneWWWMPWBulkMigrationWarningRendererStrategy",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometMegaphoneQuickPromotionSection_quickPromotion",fragmentName:"CometDiglossiaMegaphoneULSOptOutQPRendererStrategy_quickPromotion",fragmentPropName:"quickPromotion",kind:"ModuleImport"}],type:"CometDiglossiaMegaphoneULSOptOutQPRendererStrategy",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometMegaphoneQuickPromotionSection_quickPromotion",fragmentName:"CometDiglossiaMegaphoneULSOptInQPRendererStrategy_quickPromotion",fragmentPropName:"quickPromotion",kind:"ModuleImport"}],type:"CometDiglossiaMegaphoneULSOptInQPRendererStrategy",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometMegaphoneQuickPromotionSection_quickPromotion",fragmentName:"CometQuickPromotionBroadcastChannelCreatorWaitlistRendererStrategy_quickPromotion",fragmentPropName:"quickPromotion",kind:"ModuleImport"}],type:"CometQuickPromotionBroadcastChannelCreatorWaitlistRendererStrategy",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometMegaphoneQuickPromotionSection_quickPromotion",fragmentName:"CometQuickPromotionBroadcastChannelCreatorWaitlistForAPPlusRendererStrategy_quickPromotion",fragmentPropName:"quickPromotion",kind:"ModuleImport"}],type:"CometQuickPromotionBroadcastChannelCreatorWaitlistForAPPlusRendererStrategy",abstractKey:null}],storageKey:'renderer_strategy(supported:"2jsin2")'}],storageKey:null}],type:"QuickPromotion",abstractKey:null};e.exports=a}),null);
__d("CometMegaphoneQuickPromotionSection.react",["CometCard.react","CometErrorBoundary.react","CometMegaphoneQuickPromotionSection_quickPromotion.graphql","CometQuickPromotionLoggerContext.react","CometRelay","react","useQuickPromotionFalcoEvent"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j=i||d("react"),k={section:"quick_promotion",surface:"PROFILE_NEWSFEED_MEGAPHONE"};function a(a){a=a.quickPromotion;a=d("CometRelay").useFragment(h!==void 0?h:h=b("CometMegaphoneQuickPromotionSection_quickPromotion.graphql"),a);var e=c("useQuickPromotionFalcoEvent")({context_surface_id:2646,context_trigger:"newsfeed"});a=a==null?void 0:(a=a.comet_qp_sections)==null?void 0:a.renderer_strategy;return a!=null?j.jsx(c("CometQuickPromotionLoggerContext.react").Provider,{value:e,children:j.jsx(c("CometErrorBoundary.react"),{children:j.jsx("div",{className:"x1yztbdb",children:j.jsx(c("CometCard.react"),{background:"white",dropShadow:1,children:j.jsx(d("CometRelay").MatchContainer,{match:a,props:k})})})})}):null}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98);
__d("CometModernHomeFeedQuery.graphql",["CometModernHomeFeedQuery_facebookRelayOperation","CometImmersivePhotoCanUserDisable3DMotion.relayprovider","IsWorkUser.relayprovider","IsMergQAPolls.relayprovider","CometUFIReactionsEnableShortName.relayprovider","CometUFIShareActionMigration.relayprovider","IncludeCommentWithAttachment.relayprovider","StoriesArmadilloReplyEnabled.relayprovider","EventCometCardImage_prefetchEventImage.relayprovider","relay-runtime"],(function(a,b,c,d,e,f){"use strict";a=function(){var a={defaultValue:null,kind:"LocalArgument",name:"RELAY_INCREMENTAL_DELIVERY"},c={defaultValue:null,kind:"LocalArgument",name:"connectionClass"},d={defaultValue:null,kind:"LocalArgument",name:"experimentalValues"},e={defaultValue:null,kind:"LocalArgument",name:"feedClientSession"},f={defaultValue:null,kind:"LocalArgument",name:"feedEndCursor"},g={defaultValue:2,kind:"LocalArgument",name:"feedInitialFetchSize"},h={defaultValue:null,kind:"LocalArgument",name:"feedLocation"},i={defaultValue:null,kind:"LocalArgument",name:"feedStyle"},j={defaultValue:null,kind:"LocalArgument",name:"feedbackSource"},k={defaultValue:null,kind:"LocalArgument",name:"focusCommentID"},l={defaultValue:["TOP_STORIES"],kind:"LocalArgument",name:"orderby"},m={defaultValue:null,kind:"LocalArgument",name:"privacySelectorRenderLocation"},n={defaultValue:null,kind:"LocalArgument",name:"recentVPVs"},o={defaultValue:null,kind:"LocalArgument",name:"refreshMode"},p={defaultValue:null,kind:"LocalArgument",name:"renderLocation"},q={defaultValue:null,kind:"LocalArgument",name:"scale"},r={defaultValue:!1,kind:"LocalArgument",name:"shouldChangeCategoryFieldName"},s={defaultValue:!1,kind:"LocalArgument",name:"useDefaultActor"},t=[{kind:"Variable",name:"after",variableName:"feedEndCursor"},{kind:"Variable",name:"client_session",variableName:"feedClientSession"},{kind:"Variable",name:"connection_class",variableName:"connectionClass"},{kind:"Literal",name:"environment",value:"DESKTOP"},{kind:"Variable",name:"experimental_values",variableName:"experimentalValues"},{kind:"Variable",name:"feed_style",variableName:"feedStyle"},{kind:"Variable",name:"first",variableName:"feedInitialFetchSize"},{kind:"Literal",name:"is_setting_suitable_for_autoplay",value:!0},{kind:"Variable",name:"orderby",variableName:"orderby"},{kind:"Variable",name:"recent_vpvs_v2",variableName:"recentVPVs"},{kind:"Variable",name:"refresh_mode",variableName:"refreshMode"},{kind:"Literal",name:"site",value:"comet"}],u={alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null},v={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},w=[v],x={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:w,storageKey:null}],storageKey:null};return{fragment:{argumentDefinitions:[a,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s],kind:"Fragment",metadata:null,name:"CometModernHomeFeedQuery",selections:[{alias:null,args:null,concreteType:"Viewer",kind:"LinkedField",name:"viewer",plural:!1,selections:[{args:[{kind:"Variable",name:"clientSession",variableName:"feedClientSession"},{kind:"Variable",name:"count",variableName:"feedInitialFetchSize"},{kind:"Variable",name:"cursor",variableName:"feedEndCursor"},{kind:"Variable",name:"shouldChangeCategoryFieldName",variableName:"shouldChangeCategoryFieldName"}],kind:"FragmentSpread",name:"CometNewsFeed_viewerConnection"},{args:null,kind:"FragmentSpread",name:"CometNewsFeed_viewer"}],storageKey:null}],type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:[c,g,h,i,j,e,f,k,m,q,s,o,p,a,l,n,d,r,{defaultValue:null,kind:"LocalArgument",name:"__relay_internal__pv__CometImmersivePhotoCanUserDisable3DMotionrelayprovider"},{defaultValue:null,kind:"LocalArgument",name:"__relay_internal__pv__IsWorkUserrelayprovider"},{defaultValue:null,kind:"LocalArgument",name:"__relay_internal__pv__IsMergQAPollsrelayprovider"},{defaultValue:null,kind:"LocalArgument",name:"__relay_internal__pv__CometUFIReactionsEnableShortNamerelayprovider"},{defaultValue:null,kind:"LocalArgument",name:"__relay_internal__pv__CometUFIShareActionMigrationrelayprovider"},{defaultValue:null,kind:"LocalArgument",name:"__relay_internal__pv__IncludeCommentWithAttachmentrelayprovider"},{defaultValue:null,kind:"LocalArgument",name:"__relay_internal__pv__StoriesArmadilloReplyEnabledrelayprovider"},{defaultValue:null,kind:"LocalArgument",name:"__relay_internal__pv__EventCometCardImage_prefetchEventImagerelayprovider"}],kind:"Operation",name:"CometModernHomeFeedQuery",selections:[{alias:null,args:null,concreteType:"Viewer",kind:"LinkedField",name:"viewer",plural:!1,selections:[{alias:null,args:t,concreteType:"NewsFeedConnection",kind:"LinkedField",name:"news_feed",plural:!1,selections:[{"if":"RELAY_INCREMENTAL_DELIVERY",kind:"Stream",label:"CometNewsFeed_viewerConnection$stream$CometNewsFeed_viewer_news_feed",selections:[{alias:null,args:null,concreteType:"NewsFeedEdge",kind:"LinkedField",name:"edges",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"brs_content_label",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"deduplication_key",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"min_gap_type_index_string",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"sponsored_auction_distance",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"top_story_cache_score",storageKey:null},{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[u,{kind:"TypeDiscriminator",abstractKey:"__isFeedUnit"},{kind:"InlineFragment",selections:[{alias:null,args:null,concreteType:"SponsoredData",kind:"LinkedField",name:"sponsored_data",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"brs_filter_setting",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"client_token",storageKey:null},u,{alias:null,args:null,kind:"ScalarField",name:"ad_id",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"post_rendering_loggers",storageKey:null}],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"debug_info",storageKey:null},v,{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},v],storageKey:null},v],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"is_story_civic",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"post_id",storageKey:null},{args:null,documentName:"CometFeedUnitContainerSection_feedUnit",fragmentName:"CometFeedUnitStoryStrategy_feedUnit",fragmentPropName:"feedUnit",kind:"ModuleImport"}],type:"Story",abstractKey:null},{kind:"InlineFragment",selections:w,type:"Node",abstractKey:"__isNode"},{kind:"InlineFragment",selections:w,type:"CommunityTabTrendingPOGFeedUnit",abstractKey:null},{kind:"InlineFragment",selections:w,type:"FBShortsMidCardFeedUnit",abstractKey:null},{kind:"InlineFragment",selections:w,type:"GroupsMultiGYSJStoryUnit",abstractKey:null},{kind:"InlineFragment",selections:w,type:"GroupsTabCategoriesUnit",abstractKey:null},{kind:"InlineFragment",selections:w,type:"PagesYouMayLikeFeedUnit",abstractKey:null},{kind:"InlineFragment",selections:w,type:"StoriesTrayFeedUnit",abstractKey:null},{kind:"InlineFragment",selections:w,type:"XFBDummyReelsInWatchIFU",abstractKey:null},{kind:"InlineFragment",selections:[x],type:"QuickPromotionFeedUnit",abstractKey:null},{kind:"InlineFragment",selections:[x,{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:"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:"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},{kind:"InlineFragment",selections:[{alias:null,args:null,concreteType:"TrackingData",kind:"LinkedField",name:"trackingdata",plural:!1,selections:w,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"}],storageKey:null},{alias:null,args:null,concreteType:"FeedBackendData",kind:"LinkedField",name:"feed_backend_data",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"qid",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"original_qid",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"vsid",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"vspos",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"should_recent_vpv_fetch_tracking_data",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"serialized_payloads",storageKey:null}],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"category",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"cursor",storageKey:null},{condition:"shouldChangeCategoryFieldName",kind:"Condition",passingValue:!0,selections:[{alias:"story_category",args:null,kind:"ScalarField",name:"category",storageKey:null}]}],storageKey:null}]},{"if":"RELAY_INCREMENTAL_DELIVERY",kind:"Defer",label:"CometNewsFeed_viewerConnection$defer$CometNewsFeed_viewer_news_feed$page_info",selections:[{alias:null,args:null,concreteType:"PageInfo",kind:"LinkedField",name:"page_info",plural:!1,selections:[u,{alias:null,args:null,kind:"ScalarField",name:"end_cursor",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"has_next_page",storageKey:null}],storageKey:null}]}],storageKey:null},{alias:null,args:t,filters:["orderby","feed_style","client_session"],handle:"comet_news_feed",key:"CometNewsFeed_viewer_news_feed",kind:"LinkedHandle",name:"news_feed"},{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"actor",plural:!1,selections:[u,{alias:null,args:null,kind:"ScalarField",name:"name",storageKey:null},v],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"can_have_friends",storageKey:null},{alias:null,args:null,concreteType:"AllFriendsConnection",kind:"LinkedField",name:"all_friends",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"friend_count",storageKey:null}],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"is_fb_employee",storageKey:null},{alias:null,args:null,concreteType:"NewsFeedInject",kind:"LinkedField",name:"injected_stories",plural:!1,selections:[{args:null,documentName:"CometNewsFeed_viewer",fragmentName:"CometInjectedStoriesNotice_edge",fragmentPropName:"edge",kind:"ModuleImport"}],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"abw_eligible",storageKey:null}],storageKey:null}]},params:{id:b("CometModernHomeFeedQuery_facebookRelayOperation"),metadata:{},name:"CometModernHomeFeedQuery",operationKind:"query",text:null,providedVariables:{__relay_internal__pv__CometImmersivePhotoCanUserDisable3DMotionrelayprovider:b("CometImmersivePhotoCanUserDisable3DMotion.relayprovider"),__relay_internal__pv__IsWorkUserrelayprovider:b("IsWorkUser.relayprovider"),__relay_internal__pv__IsMergQAPollsrelayprovider:b("IsMergQAPolls.relayprovider"),__relay_internal__pv__CometUFIReactionsEnableShortNamerelayprovider:b("CometUFIReactionsEnableShortName.relayprovider"),__relay_internal__pv__CometUFIShareActionMigrationrelayprovider:b("CometUFIShareActionMigration.relayprovider"),__relay_internal__pv__IncludeCommentWithAttachmentrelayprovider:b("IncludeCommentWithAttachment.relayprovider"),__relay_internal__pv__StoriesArmadilloReplyEnabledrelayprovider:b("StoriesArmadilloReplyEnabled.relayprovider"),__relay_internal__pv__EventCometCardImage_prefetchEventImagerelayprovider:b("EventCometCardImage_prefetchEventImage.relayprovider")}}}}();b("relay-runtime").PreloadableQueryRegistry.set(a.params.id,a);e.exports=a}),null);
__d("CometNewsFeedLoadedFalcoEvent",["FalcoLoggerInternal","getFalcoLogPolicy_DO_NOT_USE"],(function(a,b,c,d,e,f,g){"use strict";a=c("getFalcoLogPolicy_DO_NOT_USE")("1743387");b=d("FalcoLoggerInternal").create("comet_news_feed_loaded",a);e=b;g["default"]=e}),98);
__d("CometNewsFeedUnit_edge.graphql",[],(function(a,b,c,d,e,f){"use strict";a={argumentDefinitions:[],kind:"Fragment",metadata:null,name:"CometNewsFeedUnit_edge",selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null},{args:null,kind:"FragmentSpread",name:"CometFeedUnit_feedUnit"},{kind:"InlineFragment",selections:[{alias:null,args:null,kind:"ScalarField",name:"post_id",storageKey:null},{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}],storageKey:null}],type:"Story",abstractKey:null}],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"sponsored_auction_distance",storageKey:null},{kind:"InlineDataFragmentSpread",name:"CometNewsFeedVPVDStore_newsFeedEdge",selections:[{alias:null,args:null,concreteType:"FeedBackendData",kind:"LinkedField",name:"feed_backend_data",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"qid",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"original_qid",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"vsid",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"vspos",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"should_recent_vpv_fetch_tracking_data",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"serialized_payloads",storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[{kind:"InlineFragment",selections:[{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null}],type:"Node",abstractKey:"__isNode"}],storageKey:null}],args:null,argumentDefinitions:[]},{args:null,kind:"FragmentSpread",name:"useLogCometFeedUnitRenderAttemptEvent_newsFeedEdge"},{args:null,kind:"FragmentSpread",name:"CometFeedUnit_newsFeedEdge"}],type:"NewsFeedEdge",abstractKey:null};e.exports=a}),null);
__d("useLogCometFeedUnitRenderAttemptEvent_newsFeedEdge.graphql",[],(function(a,b,c,d,e,f){"use strict";a={argumentDefinitions:[],kind:"Fragment",metadata:null,name:"useLogCometFeedUnitRenderAttemptEvent_newsFeedEdge",selections:[{alias:null,args:null,kind:"ScalarField",name:"deduplication_key",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"category",storageKey:null},{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[{args:null,kind:"FragmentSpread",name:"useCometFeedUnitEventLogger_feedUnit"}],storageKey:null}],type:"NewsFeedEdge",abstractKey:null};e.exports=a}),null);
__d("useLogCometFeedUnitRenderAttemptEvent",["CometRelay","react","recoverableViolation","unrecoverableViolation","useCometFeedUnitEventLogger","useLogCometFeedUnitRenderAttemptEvent_newsFeedEdge.graphql"],(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,e,f,g){var i=l(9),m=k(!1),n;i[0]===Symbol["for"]("react.memo_cache_sentinel")?(n=h!==void 0?h:h=b("useLogCometFeedUnitRenderAttemptEvent_newsFeedEdge.graphql"),i[0]=n):n=i[0];n=d("CometRelay").useFragment(n,a);var o=n.category,p=n.deduplication_key;if(n.node==null)throw c("unrecoverableViolation")("node cannot be null on edge in useLogCometFeedUnitRenderAttemptEvent","comet_feed");var q=c("useCometFeedUnitEventLogger")(n.node);i[1]!==p||i[2]!==q||i[3]!==o||i[4]!==g||i[5]!==e||i[6]!==f?(a=function(){if(!m.current){m.current=!0;if(p!=null){var a;q({category:(a=o)!=null?a:void 0,event:"render_attempt",minGapType:g,position:e,renderLocation:(a=f)!=null?a:void 0})}else c("recoverableViolation")("deduplication key and node cannot be null in useLogCometFeedUnitRenderAttemptEvent","comet_feed")}},n=[o,p,q,e,f,g],i[1]=p,i[2]=q,i[3]=o,i[4]=g,i[5]=e,i[6]=f,i[7]=a,i[8]=n):(a=i[7],n=i[8]);j(a,n)}g["default"]=a}),98);
__d("CometNewsFeedUnit.react",["CometFeedAdsProductContext","CometFeedUnit.react","CometFeedUnitOnUnsupportedLoggerContext","CometFeedUnitSetStatusContext","CometNewsFeedUnit_edge.graphql","CometNewsFeedVPVDStore","CometRelay","FBLogger","RelayHooks","react","useLogCometFeedUnitRenderAttemptEvent"],(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.useLayoutEffect;e.useMemo;var m=e.c;function a(a){var e,f=m(32),g;f[0]===Symbol["for"]("react.memo_cache_sentinel")?(g=h!==void 0?h:h=b("CometNewsFeedUnit_edge.graphql"),f[0]=g):g=f[0];g=d("CometRelay").useFragment(g,a.edge);var i=g.node,n=i==null?void 0:i.__typename,o=i==null?void 0:i.post_id,p=a.minGapType,q=a.position,r=a.variables.renderLocation!=="%future added value"?a.variables.renderLocation:null,s=d("RelayHooks").useRelayEnvironment();c("useLogCometFeedUnitRenderAttemptEvent")(g,q,r,p);var t=k(d("CometFeedUnitSetStatusContext").CometFeedUnitSetStatusContext),u=i==null,v,w;f[1]!==u||f[2]!==t?(v=function(){u&&(t("error"),c("FBLogger")("CometNewsFeedUnitNull").warn("node should not be null in CometNewsFeedUnit","comet_feed"))},w=[u,t],f[1]=u,f[2]=t,f[3]=v,f[4]=w):(v=f[3],w=f[4]);l(v,w);i==null?void 0:(v=i.sponsored_data)==null?void 0:v.ad_id;g==null?void 0:g.sponsored_auction_distance;v=i==null?void 0:(w=i.sponsored_data)==null?void 0:w.ad_id;w=g==null?void 0:g.sponsored_auction_distance;e=(e=p)!=null?e:"UNKNOWN";var x;f[5]!==v||f[6]!==w||f[7]!==e?(x={adId:v,minGapRule:w,minGapType:e},f[5]=v,f[6]=w,f[7]=e,f[8]=x):x=f[8];v=x;w=v;if(i==null)return null;e="FeedPost-"+String(o);f[9]!==i||f[10]!==p||f[11]!==g||f[12]!==q||f[13]!==a.variables?(x=j.jsx(c("CometFeedUnit.react"),{feedUnit:i,minGapType:p,newsFeedEdge:g,position:q,variables:a.variables}),f[9]=i,f[10]=p,f[11]=g,f[12]=q,f[13]=a.variables,f[14]=x):x=f[14];f[15]!==w||f[16]!==x?(v=j.jsx(c("CometFeedAdsProductContext").Provider,{value:w,children:x}),f[15]=w,f[16]=x,f[17]=v):v=f[17];f[18]!==p||f[19]!==q||f[20]!==o||f[21]!==r||f[22]!==n||f[23]!==v?(i=j.jsx(d("CometFeedUnitOnUnsupportedLoggerContext").CometFeedUnitOnUnsupportedLoggerContextProvider,{minGapType:p,position:q,postID:o,renderLocation:r,unitName:n,children:v}),f[18]=p,f[19]=q,f[20]=o,f[21]=r,f[22]=n,f[23]=v,f[24]=i):i=f[24];f[25]!==s||f[26]!==g||f[27]!==i?(a=j.jsx(d("CometNewsFeedVPVDStore").LoggerProvider,{environment:s,newsFeedEdge:g,children:i}),f[25]=s,f[26]=g,f[27]=i,f[28]=a):a=f[28];f[29]!==e||f[30]!==a?(w=j.jsx("div",{"data-testid":void 0,children:a}),f[29]=e,f[30]=a,f[31]=w):w=f[31];return w}f=j.memo(a);g["default"]=f}),98);
__d("CometNewsFeed_viewer.graphql",[],(function(a,b,c,d,e,f){"use strict";a={argumentDefinitions:[],kind:"Fragment",metadata:null,name:"CometNewsFeed_viewer",selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"actor",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"name",storageKey:null}],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"can_have_friends",storageKey:null},{alias:null,args:null,concreteType:"AllFriendsConnection",kind:"LinkedField",name:"all_friends",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"friend_count",storageKey:null}],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"is_fb_employee",storageKey:null},{alias:null,args:null,concreteType:"NewsFeedInject",kind:"LinkedField",name:"injected_stories",plural:!1,selections:[{args:null,documentName:"CometNewsFeed_viewer",fragmentName:"CometInjectedStoriesNotice_edge",fragmentPropName:"edge",kind:"ModuleImport"}],storageKey:null},{args:null,kind:"FragmentSpread",name:"useAdBlockerWarningDialog_viewer"}],type:"Viewer",abstractKey:null};e.exports=a}),null);
__d("CometNewsFeedPaginationQuery_facebookRelayOperation",[],(function(a,b,c,d,e,f){e.exports="7948629691851452"}),null);
__d("CometNewsFeedPaginationQuery.graphql",["CometNewsFeedPaginationQuery_facebookRelayOperation","CometImmersivePhotoCanUserDisable3DMotion.relayprovider","IsWorkUser.relayprovider","IsMergQAPolls.relayprovider","CometUFIReactionsEnableShortName.relayprovider","CometUFIShareActionMigration.relayprovider","IncludeCommentWithAttachment.relayprovider","StoriesArmadilloReplyEnabled.relayprovider","EventCometCardImage_prefetchEventImage.relayprovider"],(function(a,b,c,d,e,f){"use strict";a=function(){var a={defaultValue:null,kind:"LocalArgument",name:"RELAY_INCREMENTAL_DELIVERY"},c={defaultValue:null,kind:"LocalArgument",name:"clientQueryId"},d={defaultValue:null,kind:"LocalArgument",name:"clientSession"},e={defaultValue:null,kind:"LocalArgument",name:"connectionClass"},f={defaultValue:2,kind:"LocalArgument",name:"count"},g={defaultValue:null,kind:"LocalArgument",name:"cursor"},h={defaultValue:null,kind:"LocalArgument",name:"experimentalValues"},i={defaultValue:null,kind:"LocalArgument",name:"feedLocation"},j={defaultValue:null,kind:"LocalArgument",name:"feedStyle"},k={defaultValue:null,kind:"LocalArgument",name:"feedbackSource"},l={defaultValue:null,kind:"LocalArgument",name:"focusCommentID"},m={defaultValue:null,kind:"LocalArgument",name:"orderby"},n={defaultValue:null,kind:"LocalArgument",name:"privacySelectorRenderLocation"},o={defaultValue:null,kind:"LocalArgument",name:"recentVPVs"},p={defaultValue:null,kind:"LocalArgument",name:"refreshMode"},q={defaultValue:null,kind:"LocalArgument",name:"renderLocation"},r={defaultValue:null,kind:"LocalArgument",name:"scale"},s={defaultValue:!1,kind:"LocalArgument",name:"shouldChangeCategoryFieldName"},t={defaultValue:null,kind:"LocalArgument",name:"useDefaultActor"},u=[{kind:"Variable",name:"after",variableName:"cursor"},{kind:"Variable",name:"client_query_id",variableName:"clientQueryId"},{kind:"Variable",name:"client_session",variableName:"clientSession"},{kind:"Variable",name:"connection_class",variableName:"connectionClass"},{kind:"Literal",name:"environment",value:"DESKTOP"},{kind:"Variable",name:"experimental_values",variableName:"experimentalValues"},{kind:"Variable",name:"feed_style",variableName:"feedStyle"},{kind:"Variable",name:"first",variableName:"count"},{kind:"Literal",name:"is_setting_suitable_for_autoplay",value:!0},{kind:"Variable",name:"orderby",variableName:"orderby"},{kind:"Variable",name:"recent_vpvs_v2",variableName:"recentVPVs"},{kind:"Variable",name:"refresh_mode",variableName:"refreshMode"},{kind:"Literal",name:"site",value:"comet"}],v={alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null},w={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},x=[w],y={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:x,storageKey:null}],storageKey:null};return{fragment:{argumentDefinitions:[a,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t],kind:"Fragment",metadata:null,name:"CometNewsFeedPaginationQuery",selections:[{alias:null,args:null,concreteType:"Viewer",kind:"LinkedField",name:"viewer",plural:!1,selections:[{args:[{kind:"Variable",name:"clientQueryId",variableName:"clientQueryId"},{kind:"Variable",name:"clientSession",variableName:"clientSession"},{kind:"Variable",name:"count",variableName:"count"},{kind:"Variable",name:"cursor",variableName:"cursor"},{kind:"Variable",name:"shouldChangeCategoryFieldName",variableName:"shouldChangeCategoryFieldName"}],kind:"FragmentSpread",name:"CometNewsFeed_viewerConnection"}],storageKey:null}],type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:[a,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,{defaultValue:null,kind:"LocalArgument",name:"__relay_internal__pv__CometImmersivePhotoCanUserDisable3DMotionrelayprovider"},{defaultValue:null,kind:"LocalArgument",name:"__relay_internal__pv__IsWorkUserrelayprovider"},{defaultValue:null,kind:"LocalArgument",name:"__relay_internal__pv__IsMergQAPollsrelayprovider"},{defaultValue:null,kind:"LocalArgument",name:"__relay_internal__pv__CometUFIReactionsEnableShortNamerelayprovider"},{defaultValue:null,kind:"LocalArgument",name:"__relay_internal__pv__CometUFIShareActionMigrationrelayprovider"},{defaultValue:null,kind:"LocalArgument",name:"__relay_internal__pv__IncludeCommentWithAttachmentrelayprovider"},{defaultValue:null,kind:"LocalArgument",name:"__relay_internal__pv__StoriesArmadilloReplyEnabledrelayprovider"},{defaultValue:null,kind:"LocalArgument",name:"__relay_internal__pv__EventCometCardImage_prefetchEventImagerelayprovider"}],kind:"Operation",name:"CometNewsFeedPaginationQuery",selections:[{alias:null,args:null,concreteType:"Viewer",kind:"LinkedField",name:"viewer",plural:!1,selections:[{alias:null,args:u,concreteType:"NewsFeedConnection",kind:"LinkedField",name:"news_feed",plural:!1,selections:[{"if":"RELAY_INCREMENTAL_DELIVERY",kind:"Stream",label:"CometNewsFeed_viewerConnection$stream$CometNewsFeed_viewer_news_feed",selections:[{alias:null,args:null,concreteType:"NewsFeedEdge",kind:"LinkedField",name:"edges",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"brs_content_label",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"deduplication_key",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"min_gap_type_index_string",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"sponsored_auction_distance",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"top_story_cache_score",storageKey:null},{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[v,{kind:"TypeDiscriminator",abstractKey:"__isFeedUnit"},{kind:"InlineFragment",selections:[{alias:null,args:null,concreteType:"SponsoredData",kind:"LinkedField",name:"sponsored_data",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"brs_filter_setting",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"client_token",storageKey:null},v,{alias:null,args:null,kind:"ScalarField",name:"ad_id",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"post_rendering_loggers",storageKey:null}],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"debug_info",storageKey:null},w,{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},w],storageKey:null},w],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"is_story_civic",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"post_id",storageKey:null},{args:null,documentName:"CometFeedUnitContainerSection_feedUnit",fragmentName:"CometFeedUnitStoryStrategy_feedUnit",fragmentPropName:"feedUnit",kind:"ModuleImport"}],type:"Story",abstractKey:null},{kind:"InlineFragment",selections:x,type:"Node",abstractKey:"__isNode"},{kind:"InlineFragment",selections:x,type:"CommunityTabTrendingPOGFeedUnit",abstractKey:null},{kind:"InlineFragment",selections:x,type:"FBShortsMidCardFeedUnit",abstractKey:null},{kind:"InlineFragment",selections:x,type:"GroupsMultiGYSJStoryUnit",abstractKey:null},{kind:"InlineFragment",selections:x,type:"GroupsTabCategoriesUnit",abstractKey:null},{kind:"InlineFragment",selections:x,type:"PagesYouMayLikeFeedUnit",abstractKey:null},{kind:"InlineFragment",selections:x,type:"StoriesTrayFeedUnit",abstractKey:null},{kind:"InlineFragment",selections:x,type:"XFBDummyReelsInWatchIFU",abstractKey:null},{kind:"InlineFragment",selections:[y],type:"QuickPromotionFeedUnit",abstractKey:null},{kind:"InlineFragment",selections:[y,{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:"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:"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},{kind:"InlineFragment",selections:[{alias:null,args:null,concreteType:"TrackingData",kind:"LinkedField",name:"trackingdata",plural:!1,selections:x,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"}],storageKey:null},{alias:null,args:null,concreteType:"FeedBackendData",kind:"LinkedField",name:"feed_backend_data",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"qid",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"original_qid",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"vsid",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"vspos",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"should_recent_vpv_fetch_tracking_data",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"serialized_payloads",storageKey:null}],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"category",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"cursor",storageKey:null},{condition:"shouldChangeCategoryFieldName",kind:"Condition",passingValue:!0,selections:[{alias:"story_category",args:null,kind:"ScalarField",name:"category",storageKey:null}]}],storageKey:null}]},{"if":"RELAY_INCREMENTAL_DELIVERY",kind:"Defer",label:"CometNewsFeed_viewerConnection$defer$CometNewsFeed_viewer_news_feed$page_info",selections:[{alias:null,args:null,concreteType:"PageInfo",kind:"LinkedField",name:"page_info",plural:!1,selections:[v,{alias:null,args:null,kind:"ScalarField",name:"end_cursor",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"has_next_page",storageKey:null}],storageKey:null}]}],storageKey:null},{alias:null,args:u,filters:["orderby","feed_style","client_session"],handle:"comet_news_feed",key:"CometNewsFeed_viewer_news_feed",kind:"LinkedHandle",name:"news_feed"}],storageKey:null}]},params:{id:b("CometNewsFeedPaginationQuery_facebookRelayOperation"),metadata:{},name:"CometNewsFeedPaginationQuery",operationKind:"query",text:null,providedVariables:{__relay_internal__pv__CometImmersivePhotoCanUserDisable3DMotionrelayprovider:b("CometImmersivePhotoCanUserDisable3DMotion.relayprovider"),__relay_internal__pv__IsWorkUserrelayprovider:b("IsWorkUser.relayprovider"),__relay_internal__pv__IsMergQAPollsrelayprovider:b("IsMergQAPolls.relayprovider"),__relay_internal__pv__CometUFIReactionsEnableShortNamerelayprovider:b("CometUFIReactionsEnableShortName.relayprovider"),__relay_internal__pv__CometUFIShareActionMigrationrelayprovider:b("CometUFIShareActionMigration.relayprovider"),__relay_internal__pv__IncludeCommentWithAttachmentrelayprovider:b("IncludeCommentWithAttachment.relayprovider"),__relay_internal__pv__StoriesArmadilloReplyEnabledrelayprovider:b("StoriesArmadilloReplyEnabled.relayprovider"),__relay_internal__pv__EventCometCardImage_prefetchEventImagerelayprovider:b("EventCometCardImage_prefetchEventImage.relayprovider")}}}}();e.exports=a}),null);
__d("CometNewsFeed_viewerConnection.graphql",["CometNewsFeedPaginationQuery.graphql"],(function(a,b,c,d,e,f){"use strict";a=function(){var a=["news_feed"],c={alias:null,args:null,kind:"ScalarField",name:"brs_content_label",storageKey:null},d={alias:null,args:null,kind:"ScalarField",name:"brs_filter_setting",storageKey:null},e={alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null};return{argumentDefinitions:[{kind:"RootArgument",name:"RELAY_INCREMENTAL_DELIVERY"},{defaultValue:null,kind:"LocalArgument",name:"clientQueryId"},{defaultValue:null,kind:"LocalArgument",name:"clientSession"},{kind:"RootArgument",name:"connectionClass"},{defaultValue:2,kind:"LocalArgument",name:"count"},{defaultValue:null,kind:"LocalArgument",name:"cursor"},{kind:"RootArgument",name:"experimentalValues"},{kind:"RootArgument",name:"feedLocation"},{kind:"RootArgument",name:"feedStyle"},{kind:"RootArgument",name:"feedbackSource"},{kind:"RootArgument",name:"focusCommentID"},{kind:"RootArgument",name:"orderby"},{kind:"RootArgument",name:"privacySelectorRenderLocation"},{kind:"RootArgument",name:"recentVPVs"},{kind:"RootArgument",name:"refreshMode"},{kind:"RootArgument",name:"renderLocation"},{kind:"RootArgument",name:"scale"},{defaultValue:!1,kind:"LocalArgument",name:"shouldChangeCategoryFieldName"},{kind:"RootArgument",name:"useDefaultActor"}],kind:"Fragment",metadata:{connection:[{count:"count",cursor:"cursor",direction:"forward",path:a,stream:!0}],refetch:{connection:{forward:{count:"count",cursor:"cursor"},backward:null,path:a},fragmentPathInResult:["viewer"],operation:b("CometNewsFeedPaginationQuery.graphql")}},name:"CometNewsFeed_viewerConnection",selections:[{alias:"news_feed",args:[{kind:"Variable",name:"client_session",variableName:"clientSession"},{kind:"Variable",name:"feed_style",variableName:"feedStyle"},{kind:"Variable",name:"orderby",variableName:"orderby"}],concreteType:"NewsFeedConnection",kind:"LinkedField",name:"__CometNewsFeed_viewer_news_feed_comet_news_feed",plural:!1,selections:[{kind:"Stream",selections:[{alias:null,args:null,concreteType:"NewsFeedEdge",kind:"LinkedField",name:"edges",plural:!0,selections:[c,{condition:"shouldChangeCategoryFieldName",kind:"Condition",passingValue:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"category",storageKey:null}]},{condition:"shouldChangeCategoryFieldName",kind:"Condition",passingValue:!0,selections:[{alias:"story_category",args:null,kind:"ScalarField",name:"category",storageKey:null}]},{alias:null,args:null,kind:"ScalarField",name:"deduplication_key",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"min_gap_type_index_string",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"sponsored_auction_distance",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"top_story_cache_score",storageKey:null},{kind:"InlineDataFragmentSpread",name:"useCometFeedUnitReordering_newsFeedEdge",selections:[c,{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[{kind:"InlineFragment",selections:[{alias:null,args:null,concreteType:"SponsoredData",kind:"LinkedField",name:"sponsored_data",plural:!1,selections:[d,{alias:null,args:null,kind:"ScalarField",name:"client_token",storageKey:null}],storageKey:null}],type:"Story",abstractKey:null}],storageKey:null}],args:null,argumentDefinitions:[]},{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[e,{args:null,kind:"FragmentSpread",name:"CometFeedUnitErrorBoundary_feedUnit"},{kind:"InlineFragment",selections:[{alias:null,args:null,concreteType:"SponsoredData",kind:"LinkedField",name:"sponsored_data",plural:!1,selections:[d],storageKey:null}],type:"Story",abstractKey:null}],storageKey:null},{alias:null,args:null,concreteType:"FeedBackendData",kind:"LinkedField",name:"feed_backend_data",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"qid",storageKey:null}],storageKey:null},{args:null,kind:"FragmentSpread",name:"CometNewsFeedUnit_edge"},{alias:null,args:null,kind:"ScalarField",name:"cursor",storageKey:null}],storageKey:null}]},{kind:"Defer",selections:[{alias:null,args:null,concreteType:"PageInfo",kind:"LinkedField",name:"page_info",plural:!1,selections:[e,{alias:null,args:null,kind:"ScalarField",name:"end_cursor",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"has_next_page",storageKey:null}],storageKey:null}]}],storageKey:null}],type:"Viewer",abstractKey:null}}();e.exports=a}),null);
__d("CometNewsfeedOrderingDebuggingState",[],(function(a,b,c,d,e,f){"use strict";var g={hasInjectedStories:null,order:null,reorderingEnabled:null};function a(){return g}function b(a){g.order=a}function c(a){g.hasInjectedStories=a}function d(a){g.reorderingEnabled=a}f.dump=a;f.setFeedUnitOrderingState=b;f.setHasInjectedStories=c;f.setReorderingEnabled=d}),66);
__d("GHLRandomTags.react",["react"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h||d("react");function j(a){var b=a.children;a=a.depth;var c=b;a>1&&(c=i.jsx(j,{children:b,depth:a-1}));return i.jsx("span",{children:c})}j.displayName=j.name+" [from "+f.id+"]";g["default"]=j}),98);
__d("useCometFeedIneligibleUnitLogger",["CometAdsProductLogger","CometFeedUnitsTypedLoggerLite","CometValidFeedUnitOrdering","MinGapType","MinGapTypeUtils.facebook","react","useUnsafeRef_DEPRECATED"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j;b=j||d("react");var k=b.useEffect,l=b.useMemo,m=b.useRef;function a(a,b){var e=(h||(h=c("useUnsafeRef_DEPRECATED")))({}),f=l(function(){return a.map(function(a){if(a!=null&&a.deduplication_key!=null){var b;return{key:a.deduplication_key,minGapType:(b=(i||(i=c("MinGapType"))).cast(parseInt(a.min_gap_type_index_string,10)))!=null?b:0,status:"received",typename:(a=a==null?void 0:(b=a.node)==null?void 0:b.__typename)!=null?a:null}}return null}).filter(Boolean)},[a]),g=f.reduce(function(a,b){return babelHelpers["extends"]({},a,(a={},a[b.key]=b,a))},{}),j=f.map(function(a){return{category:a.category,key:a.key,minGapType:a.minGapType,status:"rendered"}}),n=0;j.some(function(a,b){if(e.current[a.key]==null){n=b;return!0}});var o=d("CometValidFeedUnitOrdering").getFeedUnitOrderViolations(j,n),p=m({}),q=m({});k(function(){var a={};f.forEach(function(e,f){if(a[e.key]!=null){var g;a[e.key]+=1;if(a[e.key]>((g=p.current[e.key])!=null?g:0)){c("CometFeedUnitsTypedLoggerLite").log({event:"ineligible_for_position",ineligible_reason:"duplicate",min_gap_type:(g=d("MinGapTypeUtils.facebook").fromJSEnum(e.minGapType))!=null?g:"UNKNOWN",position:f,render_location:b,unit_name:e.typename})}}else a[e.key]=1});p.current=a;if(f.length>0){var e=f[0];if((e.category==="SPONSORED"||e.minGapType===5)&&q.current[e.key]==null){var g;d("CometAdsProductLogger").logCometFeedHighestPositionAd({minGapRule:(g=e.edgeData)==null?void 0:g.sponsoredAuctionDistance,minGapType:(g=d("MinGapTypeUtils.facebook").fromJSEnum(e.minGapType))!=null?g:"UNKNOWN"});q.current[e.key]=!0}}});k(function(){o.forEach(function(a){if(e.current[a.violationUnitKey]==null){var f=a.violationPosition,h=a.violationUnitKey;a=a.violationUnitMinGapType;c("CometFeedUnitsTypedLoggerLite").log({event:"ineligible_for_position",ineligible_reason:"gap_rule_violation",min_gap_type:(a=d("MinGapTypeUtils.facebook").fromJSEnum(a))!=null?a:"UNKNOWN",position:f,render_location:b,unit_name:(f=(a=g[h])==null?void 0:a.typename)!=null?f:null})}}),j.forEach(function(a){e.current[a.key]=!0})})}g["default"]=a}),98);
__d("FeedRequestWaterfallTypedLoggerLite",["generateLiteTypedLogger"],(function(a,b,c,d,e,f){"use strict";e.exports=b("generateLiteTypedLogger")("logger:FeedRequestWaterfallLoggerConfig")}),null);
__d("useCometFeedRequestWaterfallLogger",["FeedRequestWaterfallTypedLoggerLite","react","usePrevious","uuidv4"],(function(a,b,c,d,e,f,g){"use strict";var h;b=h||d("react");var i=b.useCallback,j=b.useEffect,k=b.useRef;function a(a,b,d){var e=k(null),f=c("usePrevious")(a);j(function(){if(f===a)return;if(e.current!=null){var b=f!=null?a.filter(function(a){return!f.find(function(b){return b===a})}):a,g=b.reduce(function(a,b){b=(b=b.feed_backend_data)==null?void 0:b.qid;if(b==null)return a;a[b]==null?a[b]=1:a[b]++;return a},{});Object.keys(g).forEach(function(a){c("FeedRequestWaterfallTypedLoggerLite").log({client_query_id:e.current,event:"client_received_response",is_employee:d,number_of_stories:g[a],query_id:a})})}},[a,d,f]);var g=k(0),h=b.length;j(function(){e.current!=null&&(c("FeedRequestWaterfallTypedLoggerLite").log({client_query_id:e.current,event:"client_rendered_success",is_employee:d,number_of_stories:h-g.current}),g.current=h)},[h,d]);b=i(function(){var a=c("uuidv4")();c("FeedRequestWaterfallTypedLoggerLite").log({client_query_id:a,event:"client_sent_request",is_employee:d});e.current=a;return a},[d]);var l=i(function(a){c("FeedRequestWaterfallTypedLoggerLite").log({client_query_id:e.current,event:"client_failed_to_receive_response",failure_reason:a.message,is_employee:d,number_of_stories:g.current})},[d]);return[b,l]}g["default"]=a}),98);
__d("getCometFeedUnitOrderingDebuggingTable",["CometFeedUnitOrderingDebugInfo","MinGapTypeUtils.facebook"],(function(a,b,c,d,e,f,g){"use strict";function h(a){var b;return{ReceivedPositions:"["+a.receivedPositions.toString()+"]"+(a.renderedPosition!==a.receivedPositions[0]?" reordered":""),MinGapType:(b=d("MinGapTypeUtils.facebook").fromJSEnum(a.minGapType))!=null?b:"UNKNOWN",Key:a.key,Status:a.status+(a.renderedPosition==null?" (deferred)":"")}}function a(a,b){a=d("CometFeedUnitOrderingDebugInfo").getCometFeedUnitOrderingDebugInfo(a,b);b=a.feedUnitsToRender.map(h);a=a.feedUnitsDeferred.map(h);return{feedUnitsDeferred:a,feedUnitsToRender:b}}g["default"]=a}),98);
__d("debugCometFeedUnitOrdering",["getCometFeedUnitOrderingDebuggingTable"],(function(a,b,c,d,e,f,g){"use strict";function a(a,b){a=c("getCometFeedUnitOrderingDebuggingTable")(a,b);b=a.feedUnitsDeferred;a=a.feedUnitsToRender;var d=console.table!=null?console.table:emptyFunction;console.group("Feed Unit Order");d(Array.from(a));b.length>0&&d(Array.from(b));console.groupEnd()}g["default"]=a}),98);
__d("useCometFeedGapRuleViolationLogger",["CometFeedUnitOrderingDebugInfo","CometFeedUnitStatusTrackingUtils","CometValidFeedUnitOrdering","MinGapTypeUtils.facebook","react","requireDeferred","useUnsafeRef_DEPRECATED"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j=(i||d("react")).useEffect,k=c("requireDeferred")("CometFeedGapRuleViolationTypedLoggerLite").__setRef("useCometFeedGapRuleViolationLogger"),l=6,m=3;function a(a,b,e){var f=(h||(h=c("useUnsafeRef_DEPRECATED")))({}),g=0;a.some(function(a,b){if(d("CometFeedUnitStatusTrackingUtils").isCurrentlyVisible(a)&&f.current[a.key]==null){g=b;return!0}});var i=d("CometValidFeedUnitOrdering").getFeedUnitOrderViolations(a,g);j(function(){i.forEach(function(c){if(a[c.violationPosition]!=null&&f.current[a[c.violationPosition].key]==null){var g=c.conflictPosition,h=c.conflictUnitMinGapType,i=c.violationPosition,j=c.violationType,n=c.violationUnitMinGapType;c=(c=g)!=null?c:0;var o=e?d("CometFeedUnitOrderingDebugInfo").getCometFeedUnitOrderingDebugInfoString(a,b,!0,c-l,i+1+m):null,p=a.slice(0,i+1).filter(function(a){return a.status==="error"}).length,q=a.slice(c+1,i).filter(function(a){return a.status==="error"}).length;k.onReady(function(a){a.log({conflict_position:g,conflict_unit_category:d("MinGapTypeUtils.facebook").fromJSEnum(h),debug_info:o,errored_in_gap_count:q,errored_total_count:p,reordering_enabled:e,violation_cause:"unknown",violation_position:i,violation_type:j,violation_unit_category:d("MinGapTypeUtils.facebook").fromJSEnum(n)})})}}),a.filter(d("CometFeedUnitStatusTrackingUtils").isCurrentlyVisible).forEach(function(a){f.current[a.key]=!0})})}g["default"]=a}),98);
__d("useCometFeedUnitReordering_newsFeedEdge.graphql",[],(function(a,b,c,d,e,f){"use strict";a={kind:"InlineDataFragment",name:"useCometFeedUnitReordering_newsFeedEdge"};e.exports=a}),null);
__d("useCometFeedUnitStatusTracking",["CometFeedUnitStatusTrackingUtils","react","useUnsafeRef_DEPRECATED"],(function(a,b,c,d,e,f,g){"use strict";var h,i;b=i||d("react");var j=b.useCallback,k=b.useRef,l=["received","positioned","rendered","error"];function m(a,b){b=b.map(function(b){if(a[b]!=null){var c;return{category:(c=a[b].category)!=null?c:"UNKNOWN",edgeData:a[b].edgeData,key:b,minGapType:(c=a[b].minGapType)!=null?c:0,status:a[b].status}}return null}).filter(Boolean);return d("CometFeedUnitStatusTrackingUtils").getFeedUnitsWithRenderingOutOfOrderFixed(b)}function a(a,b){var d=(h||(h=c("useUnsafeRef_DEPRECATED")))({}),e=h([]),f=k({}),g=h(0),i=g.current,n=j(function(){if(a!=null){var b=m(d.current,e.current);a(b)}},[a]),o=j(function(){return m(d.current,e.current)},[]),p=j(function(){d.current={},e.current=[],f.current={},g.current+=1},[]),q=j(function(a){var b=e.current.length===a.length&&e.current.every(function(b,c){return b===a[c]});if(b)return;e.current.filter(function(b){return a.indexOf(b)===-1}).forEach(function(a){delete d.current[a]});e.current=a;n()},[n]),r=j(function(a,c){i;var e=d.current[a];if(e==null){d.current[a]=c;n();return}var g=l[Math.max(l.indexOf(c.status),l.indexOf(e.status))];c={category:c.category,edgeData:c.edgeData,minGapType:c.minGapType,status:g};if(c.minGapType===e.minGapType&&c.status===e.status)return;c.status==="error"&&f.current[a]===void 0&&(b!=null&&b(a,e.status==="rendered"),f.current[a]=!0);d.current[a]=c;n()},[b,n,i]),s=m(d.current,e.current);return[s,q,r,p,o]}g["default"]=a}),98);
__d("useCometFeedUnitReordering",["CometFeedUnitStatusTrackingUtils","CometNewsfeedOrderingDebuggingState","CometRelay","CometValidFeedUnitOrdering","FBLogger","InteractionTracing","MinGapType","MinGapTypeUtils.facebook","debugCometFeedUnitOrdering","emptyFunction","getCometFeedUnitOrderingDebuggingTable","gkx","react","recoverableViolation","useCometFeedGapRuleViolationLogger","useCometFeedUnitReordering_newsFeedEdge.graphql","useCometFeedUnitStatusTracking","usePrevious"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j;e=j||d("react");e.useCallback;var k=e.useEffect,l=e.useRef,m=e.useState,n=e.c;function o(a,b,e){b===void 0&&(b="CometFeedRenderingOrderError");e===void 0&&(e="Feed unit effects called out of order");var f=null,g=null;a.forEach(function(a,b){a.status==="rendered"&&(f=b),a.status==="received"&&g===null&&(g=b)});if(f!=null&&g!=null&&g<f&&g!==0){a=a.map(function(a,b){return babelHelpers["extends"]({},a,{position:b})}).slice(Math.max(0,g-2),f+2).map(function(a){var b;return String(a.position).padStart(2)+": "+a.status+" | "+(a.minGapType!=null?(b=d("MinGapTypeUtils.facebook").fromJSEnum(a.minGapType))!=null?b:"":"")+" | "+a.key}).join("\n");c("FBLogger")(b).warn("%s in positions %s-%s.\n%s",e,g,f,a)}}function a(a,e,f,g,j){var s=n(52),t=j===void 0?r:j;j=m(0);j[0];var u=j[1];s[0]===Symbol["for"]("react.memo_cache_sentinel")?(j={},s[0]=j):j=s[0];var v=l(j);s[1]===Symbol["for"]("react.memo_cache_sentinel")?(j=function(a,b){u(function(a){return a+1}),b&&(v.current[a]=!0)},s[1]=j):j=s[1];j=j;var w,x;s[2]!==e?(w=function(){d("CometNewsfeedOrderingDebuggingState").setReorderingEnabled(e)},x=[e],s[2]=e,s[3]=w,s[4]=x):(w=s[3],x=s[4]);k(w,x);w=c("useCometFeedUnitStatusTracking")(c("emptyFunction"),j);x=w[0];var y=w[1],z=w[2];j=w[3];var A=w[4];s[5]===Symbol["for"]("react.memo_cache_sentinel")?(w=c("gkx")("22809"),s[5]=w):w=s[5];var B=w,C,D;if(s[6]!==g||s[7]!==a){s[11]!==g?(w=function(a,e){var f;if(a==null){c("recoverableViolation")("edge should not be nullish in useCometFeedUnitReordering","comet_feed");return null}if(a.node==null)return null;if(a.min_gap_type_index_string==null){c("recoverableViolation")("min gap type should not be nullish in useCometFeedUnitReordering","comet_feed");return null}if(a.deduplication_key==null){c("recoverableViolation")("deduplication_key should not be nullish in useCometFeedUnitReordering","comet_feed");return null}f={category:(f=a.category)!=null?f:"UNKNOWN",key:a.deduplication_key,minGapType:(f=(i||(i=c("MinGapType"))).cast(parseInt(a.min_gap_type_index_string,10)))!=null?f:0};var j;c("gkx")("23028")&&(j=d("CometRelay").readInlineData(h!==void 0?h:h=b("useCometFeedUnitReordering_newsFeedEdge.graphql"),g==null?void 0:g[e]));e=(e=j)==null?void 0:(e=e.node)==null?void 0:e.sponsored_data;return B?f:babelHelpers["extends"]({},f,{edgeData:{brsContentLabel:(f=j)==null?void 0:f.brs_content_label,brsFilterSetting:e==null?void 0:e.brs_filter_setting,clientToken:e==null?void 0:e.client_token,sponsoredAuctionDistance:a.sponsored_auction_distance}})},s[11]=g,s[12]=w):w=s[12];D=a.map(w).filter(Boolean);w=c("usePrevious");C=D.map(q);s[6]=g;s[7]=a;s[8]=w;s[9]=C;s[10]=D}else w=s[8],C=s[9],D=s[10];w=w(C);c("useCometFeedGapRuleViolationLogger")(x,D,e);if(s[13]!==e||s[14]!==w||s[15]!==x||s[16]!==D){C=e?d("CometValidFeedUnitOrdering").getValidFeedUnitOrdering(x,D,(C=w)!=null?C:[]):D.map(p);s[13]=e;s[14]=w;s[15]=x;s[16]=D;s[17]=C}else C=s[17];var E=C;s[18]!==E||s[19]!==y||s[20]!==z?(w=function(){var a=E.map(function(a){return a.key});y(a);d("CometFeedUnitStatusTrackingUtils").getUncommittedFeedUnits(E).forEach(function(a){var b;return z(a.key,{category:(b=a.category)!=null?b:"UNKNOWN",edgeData:a.edgeData,minGapType:a.minGapType,status:a.status})})},s[18]=E,s[19]=y,s[20]=z,s[21]=w):w=s[21];k(w);if(s[22]!==a||s[23]!==t||s[24]!==f||s[25]!==e||s[26]!==E){s[28]!==t?(x=function(a,b){var c=b.deduplication_key;if(c==null)return a;if(a[c]!=null)return a;return t(c)?a:babelHelpers["extends"]({},a,(a={},a[c]=b,a))},s[28]=t,s[29]=x):x=s[29];var F=a.filter(Boolean).reduce(x,{});s[30]!==f||s[31]!==e||s[32]!==E?(C=f&&e?E.filter(d("CometFeedUnitStatusTrackingUtils").isPossiblyVisible):E,s[30]=f,s[31]=e,s[32]=E,s[33]=C):C=s[33];w=C;x=e?w.map(function(a){return F[a.key]}).filter(Boolean):a.filter(Boolean);s[22]=a;s[23]=t;s[24]=f;s[25]=e;s[26]=E;s[27]=x}else x=s[27];C=x;var G=l(!1);s[34]!==a||s[35]!==e||s[36]!==D||s[37]!==E?(w=function(){var b;b=(b=a[0])==null?void 0:b.deduplication_key;if(e&&!G.current&&b!=null&&D!=null&&E!=null){var f=d("CometValidFeedUnitOrdering").getFeedUnitReorderInfo(D,E);f[b]!=null&&c("InteractionTracing").getPendingInteractions().forEach(function(a){a.addAnnotationInt("firstFeedUnitReordered",1)});G.current=!0}},s[34]=a,s[35]=e,s[36]=D,s[37]=E,s[38]=w):w=s[38];k(w);s[39]!==e?(f=function(){},x=[e],s[39]=e,s[40]=f,s[41]=x):(f=s[40],x=s[41]);k(f,x);s[42]!==E||s[43]!==D?(w=function(){d("CometNewsfeedOrderingDebuggingState").setFeedUnitOrderingState(c("getCometFeedUnitOrderingDebuggingTable")(E,D))},s[42]=E,s[43]=D,s[44]=w):w=s[44];k(w);s[45]!==A?(f=function(){window.requestAnimationFrame(function(){o(A(),"CometFeedRenderingOrderErrorAfterAnimationFrame","Feed units rendered out of order")})},s[45]=A,s[46]=f):f=s[46];k(f);s[47]!==C||s[48]!==A||s[49]!==j||s[50]!==z?(x={feedEdgesToRender:C,getFeedUnitStatusListPassive:A,resetFeedUnitRegistry:j,setFeedUnitRecord:z},s[47]=C,s[48]=A,s[49]=j,s[50]=z,s[51]=x):x=s[51];return x}function p(a){return babelHelpers["extends"]({},a,{status:"received"})}function q(a){return a.key}function r(){return!1}g["default"]=a}),98);
__d("CometNewsFeed.react",["fbt","CometBackupPlaceholder.react","CometClipboardCustomCopy.react","CometColumn.react","CometColumnItem.react","CometFeed5sImpressionDelayContextProvider.react","CometFeedBrandSafetyContextProvider.react","CometFeedEndOfFeedMessageForNewsfeedOnly.react","CometFeedInfiniteScrollSuspenseList.react","CometFeedKeyboardNavPositionContext","CometFeedTailLoadConfig","CometFeedUnitErrorBoundary.react","CometFeedUnitSetDebugInfoContextProvider.react","CometFeedUnitSetStatusContext","CometFeedUnitStatusListPassiveContext","CometFeedUnitsTypedLoggerLite","CometGHLFeedClassContext","CometHeroFeedItem.react","CometHeroHoldTrigger.react","CometNewsFeedLoadedFalcoEvent","CometNewsFeedUnit.react","CometNewsFeedVPVDStore","CometNewsFeed_viewer.graphql","CometNewsFeed_viewerConnection.graphql","CometNewsfeedOrderingDebuggingState","CometOnInitialMount.react","CometOnRefresh.react","CometPageletWithDiv.react","CometRelay","CometScreenReaderHeading.react","ErrorGuard","FBLogger","GHLMitigationsGating","GHLRandomTags.react","GHLSurfaceContainerContext","HiddenSubtreePassiveContext","InteractionTracing","MinGapType","MinGapTypeUtils.facebook","Random","Run","TetraText.react","VideoAutoplayLocalScopeProvider.react","VideoPlayerAutoplayRulesProvider","cometCappedListFactory","cr:1142206","cr:1813330","cr:3683","cr:4968","cr:7313","gkx","justknobx","pageID","qex","react","useCometFeedIneligibleUnitLogger","useCometFeedKeyCommands","useCometFeedRequestWaterfallLogger","useCometFeedUnitReordering","useCometFeedViewportMaintainer","useEmptyFunction","useSimpleImpression","useStable","useUnsafeRef_DEPRECATED"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j,k,l,m,n,o=n||(n=d("react")),p=n,q=p.useCallback,r=p.useContext,s=p.useEffect,t=p.useRef,u=p.useState,aa=(p=b("cr:4968"))!=null?p:c("useEmptyFunction"),ba=c("justknobx")._("546");p=c("cometCappedListFactory")();var ca=p.CappedListItemTracker,da=p.useCometCappedList,ea=c("gkx")("23004"),fa=d("VideoPlayerAutoplayRulesProvider").provideAutoplayRules("default_feed"),v="homepage_stream",ga=c("gkx")("21050")?[2,2,2,2,4]:void 0,w=i!==void 0?i:i=b("CometNewsFeed_viewerConnection.graphql"),ha=j!==void 0?j:j=b("CometNewsFeed_viewer.graphql");function a(a){var b,e,f=a.feedEdge,g=a.position,h=a.setFeedUnitRecord;a=a.variables;var i=t(!1),j=f.node;if(j==null)return null;var l=(b=j.__typename)!=null?b:null;b=(b=(k||(k=c("MinGapType"))).cast(parseInt(f.min_gap_type_index_string,10)))!=null?b:0;var m=(e=d("MinGapTypeUtils.facebook").fromJSEnum(b))!=null?e:"UNKNOWN",n=(e=f.category)!=null?e:f.story_category;return o.jsx(c("CometHeroFeedItem.react"),{position:g,children:o.jsx(c("CometBackupPlaceholder.react"),{fallback:o.jsx(c("CometOnInitialMount.react"),{onInitialMount:function(){c("CometFeedUnitsTypedLoggerLite").log({category:n,event:"unexpected_resuspense",min_gap_type:m,position:g,render_location:v,unit_name:l})}}),unstable_onSuspense:function(a){i.current||(c("CometFeedUnitsTypedLoggerLite").log({category:n,event:"unexpected_resuspense_with_name",min_gap_type:m,position:g,promise_name:a,render_location:v,unit_name:l}),i.current=!0)},children:o.jsx(d("CometFeedUnitSetStatusContext").CometFeedUnitSetStatusContextProvider,{brsContentLabel:f.brs_content_label,brsFilterSetting:(e=f.node)==null?void 0:(e=e.sponsored_data)==null?void 0:e.brs_filter_setting,category:n,deduplicationKey:f.deduplication_key,minGapType:b,setFeedUnitRecord:h,children:o.jsx(c("CometFeedUnitErrorBoundary.react"),{category:(e=n)!=null?e:void 0,feedUnit:j,minGapType:m,position:g,renderLocation:v,unitTypename:l,children:o.jsx(c("CometNewsFeedUnit.react"),{edge:f,minGapType:m,position:g,variables:a})})})})})}a.displayName=a.name+" [from "+f.id+"]";var ia=o.memo(a);function e(a){var e,f,g,i=u(!1),j=i[0],k=i[1];i=u(!1);var n=i[0],p=i[1];i=u(!0);var ja=i[0],ka=i[1];i=d("CometRelay").usePaginationFragment(w,a.viewerConnection);var x=i.data,y=i.hasNext,z=i.isLoadingNext,A=i.loadNext,B=d("CometRelay").useIsParentQueryActive(w,a.viewer);i=d("CometRelay").useFragment(ha,a.viewer);var la=a.endOfFeedComponent,C=a.isReloading,ma=a.onReload,D=a.variables;a=i==null?void 0:i.is_fb_employee;x=x==null?void 0:x.news_feed;e=(e=i==null?void 0:i.can_have_friends)!=null?e:!0;f=(f=i==null?void 0:(f=i.actor)==null?void 0:f.name)!=null?f:null;var E=z||B||!n||C,F=!j&&(y||B||!n),G=i==null?void 0:i.injected_stories;z=(x==null?void 0:x.page_info)!=null;C=i==null?void 0:(C=i.all_friends)==null?void 0:C.friend_count;var H=(x=x==null?void 0:x.edges)!=null?x:[];x=t(null);var I=c("useCometFeedViewportMaintainer")({feedQueryVariables:D}),J=I.hasMaintainedFeedUnits;I=I.isViewstateIDMaintained;aa(i);var K=t(null);s(function(){var a={didMount:n,hasMore:F,hasNextFromPaginationFragment:y,isParentQueryActive:B,tailLoadErrored:j};if(K.current!=null&&K.current.tailLoadErrored===!1&&K.current.hasMore===!1&&F===!0){var b;b=(b=(l||(l=c("ErrorGuard"))).applyWithGuard(function(){return JSON.stringify({hasMoreObject:a,previousHasMoreObject:K.current})},null,[]))!=null?b:"";c("FBLogger")("CometNewsfeedHasMoreUnstable").addMetadata("COMET_FEED","FEED_UNIT_RECEIVED_COUNT",String(H.length)).mustfix("hasMore unexpectedly became true again after being false\n\n%s",b)}K.current=a},[n,H.length,F,y,B,j]);var L=(m||(m=c("useUnsafeRef_DEPRECATED")))(0),M=Math.max(L.current,H.length);s(function(){L.current=M},[M]);c("useCometFeedIneligibleUnitLogger")(H,v);i=c("useCometFeedUnitReordering")(H,!G,ea,H,I);var N=i.feedEdgesToRender;I=i.getFeedUnitStatusListPassive;var na=i.resetFeedUnitRegistry,oa=i.setFeedUnitRecord;d("CometOnRefresh.react").useOnRefresh(function(){na()});var pa=r(c("HiddenSubtreePassiveContext")),O=r(d("CometNewsFeedVPVDStore").StoreContext),P=t(!1);s(function(){P.current||(c("CometNewsFeedLoadedFalcoEvent").log(function(){return{feed_unit_count:N.length,feed_unit_received_count:H.length,page_id:c("pageID"),was_in_hidden_subtree:pa.getCurrentState().hiddenOrBackgrounded_FIXME}}),P.current=!0)},[]);s(function(){p(!0);return function(){return d("CometNewsFeedVPVDStore").resetVisibleViewstateIDs()}},[]);s(function(){d("CometNewsfeedOrderingDebuggingState").setHasInjectedStories(G!=null)},[G]);s(function(){if(!c("gkx")("2366"))return;var a=d("Run").onAfterLoad(function(){return ka(!1)});return function(){a.remove()}},[]);i=c("useCometFeedRequestWaterfallLogger")(H,N,!!a);var Q=i[0],R=i[1],S=q(function(){b("cr:1142206")==null?void 0:b("cr:1142206").log("[handleLoadMore]","checking if we have hasNext or are isLoading",{hasNext:F,isLoading:E});if(!F||E)return;b("cr:1142206")==null?void 0:b("cr:1142206").log("[handleLoadMore]","starting tail load with trace");var a=Q();A(c("CometFeedTailLoadConfig").fetchCount,{UNSTABLE_extraVariables:{clientQueryId:a,recentVPVs:O==null?void 0:O.readRecentVPVDs()},onComplete:function(a){a!=null&&(k(!0),R(a),b("cr:1142206")!=null&&b("cr:1142206").log("[loadNext]","Failed to fetch next page",{errorMessage:a.toString(),hasNext:F,isLoading:E}))}})},[F,E,Q,A,O,R]);a=q(function(){k(!1),S()},[S]);i=null;G!=null&&(i=d("CometRelay").ModuleResource.read(G));var T={},U=N.map(function(a,b){if(a.node==null)return null;var c=a.deduplication_key;c!=null?(T[c]!=null?T[c]+=1:T[c]=1,c=c+"-"+T[c].toString()):c=b.toString();return{edge:a,reactKey:c}}).filter(Boolean);g=(g=c("qex")._("626"))!=null?g:0;g=g<=0?ba:g;var V=da(U,g,q(function(a){return a.reactKey},[])),W=0,X=N.length,Y=0;g=U.map(function(a,b){b=a.edge;a=a.reactKey;b=o.jsx("div",{"data-testid":void 0,children:o.jsx(ia,{feedEdge:b,position:W++,setFeedUnitRecord:oa,variables:D},a)});(V==null?void 0:V.cappedItemIDs.has(a))&&(X--,Y++);return o.createElement(ca,babelHelpers["extends"]({},V,{id:a,key:a}),b)});c("useSimpleImpression")(function(){c("InteractionTracing").getPendingInteractions().forEach(function(a){a.addAnnotationInt("comet_news_feed_count",X)})});b("cr:1813330")!=null&&(b("cr:1813330").setNewsFeedCount(X),b("cr:1813330").setNewsFeedStoryPositionOffset(Y));U=c("useCometFeedKeyCommands")(N.length,"newsfeed",null);var Z=!E&&!F,$=!z||j,qa=t({hasMore:F,isEOFError:$,isLoading:E,showEOFMessageAfterFeedStoppedLoading:Z});s(function(){qa.current={hasMore:F,isEOFError:$,isLoading:E,showEOFMessageAfterFeedStoppedLoading:Z}},[Z,F,$,E]);var ra=c("gkx")("23000")||g.length===0?null:{role:"feed"},sa=c("useStable")(function(){return Math.floor(d("Random").random()*5)+4});J=o.jsxs(o.Fragment,{children:[o.jsx(c("CometScreenReaderHeading.react"),{children:h._("__JHASH__DhoLL8WnZ7W__JHASH__")}),d("GHLMitigationsGating").getIsGHLEmptyDivElementAfterH3Enabled()?o.jsx("div",{"aria-hidden":!0}):null,J()&&o.jsx(c("CometColumn.react"),{children:o.jsx(c("CometColumnItem.react"),{paddingVertical:16,children:o.jsx(c("TetraText.react"),{type:"headlineEmphasized2",children:h._("__JHASH__AJ_D3bcYRgG__JHASH__")})})}),o.jsx(c("VideoAutoplayLocalScopeProvider.react"),{autoplayLocalRules:fa,children:o.jsx(c("CometClipboardCustomCopy.react"),{reformersDeferred:b("cr:3683")!=null?[b("cr:3683")]:[],children:o.jsx(c("GHLSurfaceContainerContext").Provider,{value:x,children:o.jsxs(c("CometFeedKeyboardNavPositionContext").Provider,{value:U,children:[i?o.jsx(i,{}):null,o.jsx(c("CometFeedUnitStatusListPassiveContext").Provider,{value:I,children:o.jsx(c("CometFeedUnitSetDebugInfoContextProvider.react"),{location:"newsfeed",children:o.jsx(c("CometFeedBrandSafetyContextProvider.react"),{feedStateInfoRef:qa,children:o.jsxs(c("CometFeed5sImpressionDelayContextProvider.react"),{children:[o.jsx(c("CometHeroHoldTrigger.react"),{description:"FeedQuery",hold:(F||E)&&X<2}),o.jsx(c("CometGHLFeedClassContext").Provider,{value:c("gkx")("22882"),children:o.jsx(c("CometFeedInfiniteScrollSuspenseList.react"),{hasMore:F,incrementalRenderingPageSizes:ga,interactionSource:0,isLoading:E,onLoadMore:S,pageletName:"FeedUnit",positionLimitForSSR:c("gkx")("23006")?1:0,reducedSpacing:c("gkx")("22999"),waitOnScrollIntent:ja,children:d("GHLMitigationsGating").getIsGHLChunkerEnabled()&&b("cr:7313")?[g==null?void 0:g[0],o.jsx(b("cr:7313"),{children:g},"chunker")]:g})})]})})})}),Z?o.jsx(d("CometPageletWithDiv.react").Placeholder,{fallback:null,name:"FeedUnit_EOF",children:o.jsx(c("CometFeedEndOfFeedMessageForNewsfeedOnly.react"),{canHaveFriends:e,endOfFeedComponent:la,feedUnitReceivedCount:H.length,feedUnitRenderedCount:X,friendsCount:C,hasPageInfo:z,isError:$,maxFeedUnitsReceived:M,onReload:ma,onTailLoadReload:a,pageletName:"FeedUnit",position:W,renderLocation:v,tailLoadErrored:j,viewerName:f})}):null]})})})})]});return o.jsx("div",babelHelpers["extends"]({"data-testid":void 0,ref:x},ra,{children:c("gkx")("23007")?o.jsx(c("GHLRandomTags.react"),{children:J,depth:sa}):J}))}e.displayName=e.name+" [from "+f.id+"]";g["default"]=e}),226);
__d("FeedsCometEndOfFeed.react",["fbt","ix","CometCard.react","FDSTextPairing.react","TetraIcon.react","fbicon","react"],(function(a,b,c,d,e,f,g,h,i){"use strict";var j,k=(j||(j=d("react"))).c,l=j;function a(a){a=k(6);var b;a[0]===Symbol["for"]("react.memo_cache_sentinel")?(b=h._("__JHASH__v08xGtDkJGJ__JHASH__"),a[0]=b):b=a[0];b=b;var e;a[1]===Symbol["for"]("react.memo_cache_sentinel")?(e=h._("__JHASH__OyqzLoZqCEb__JHASH__"),a[1]=e):e=a[1];e=e;var f;a[2]===Symbol["for"]("react.memo_cache_sentinel")?(f="x1hq5gj4",a[2]=f):f=a[2];var g,j;a[3]===Symbol["for"]("react.memo_cache_sentinel")?(g="x6s0dn4 x78zum5 xdt5ytf x1p5oq8j xxbr6pl xwxc41k xbbxn1n",j="x1yztbdb x123j3cw x1mpkggp xs9asl8 x1t2a60a",a[3]=g,a[4]=j):(g=a[3],j=a[4]);a[5]===Symbol["for"]("react.memo_cache_sentinel")?(f=l.jsx("div",{className:f,children:l.jsx(c("CometCard.react"),{background:"white",dropShadow:1,children:l.jsxs("div",{className:g,children:[l.jsx("div",{className:j,children:l.jsx(c("TetraIcon.react"),{color:"positive",icon:d("fbicon")._(i("509885"),32)})}),l.jsx(c("FDSTextPairing.react"),{body:b,headline:e,level:2,textAlign:"center"})]})})}),a[5]=f):f=a[5];return f}g["default"]=a}),226);
__d("CometModernHomeFeed.react",["CometFeedFavoritesEndOfFeedMessage.react","CometModernHomeFeedQuery.graphql","CometNewsFeed.react","CometRelay","FeedsCometEndOfFeed.react","RelayUFI2CommentsKeyContext","gkx","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j=(i||(i=d("react"))).c,k=i,l=h!==void 0?h:h=b("CometModernHomeFeedQuery.graphql");function a(a){var b=j(7),e=a.cacheBreaker,f=a.feedQueryReference,g=a.isLoading;a=a.onReload;var h=d("CometRelay").usePreloadedQuery(l,f),i=String(f.variables.orderby);e=i+"_"+e;i=f.variables.feedStyle==="FAVORITES_FEED"&&c("gkx")("23003")?c("CometFeedFavoritesEndOfFeedMessage.react"):i==="MOST_RECENT"?c("FeedsCometEndOfFeed.react"):void 0;var m;b[0]!==i||b[1]!==g||b[2]!==e||b[3]!==a||b[4]!==f.variables||b[5]!==h.viewer?(m=k.jsx(c("RelayUFI2CommentsKeyContext").Provider,{value:"CometModernHomeFeedQuery",children:k.jsx(c("CometNewsFeed.react"),{endOfFeedComponent:i,isReloading:g,onReload:a,variables:f.variables,viewer:h.viewer,viewerConnection:h.viewer},e)}),b[0]=i,b[1]=g,b[2]=e,b[3]=a,b[4]=f.variables,b[5]=h.viewer,b[6]=m):m=b[6];return m}e=k.memo(a);g["default"]=e}),98);
__d("useMWOpenBroadcastChannelFromProfile_channel.graphql",[],(function(a,b,c,d,e,f){"use strict";a={argumentDefinitions:[],kind:"Fragment",metadata:null,name:"useMWOpenBroadcastChannelFromProfile_channel",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:"join_link",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"is_viewer_subscribed",storageKey:null}],type:"MessengerPinnableDiscoverablePublicChannelThread",abstractKey:"__isMessengerPinnableDiscoverablePublicChannelThread"};e.exports=a}),null);
__d("useMWOpenBroadcastChannelFromProfile",["CometRelay","I64","LSIntEnum","MWPActor.react","getMWThreadLinkHashFromJoinLink","react","useMWNavigation","useMWOpenBroadcastChannelFromProfile_channel.graphql"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j,k,l=(i||d("react")).useCallback;function a(a,e,f){var g=c("useMWNavigation")();a=d("CometRelay").useFragment(h!==void 0?h:h=b("useMWOpenBroadcastChannelFromProfile_channel.graphql"),a);var i=a.id,m=c("getMWThreadLinkHashFromJoinLink")(a.join_link),n=((a=a.is_viewer_subscribed)!=null?a:!1)?(j||(j=d("LSIntEnum"))).ofNumber(152):(j||(j=d("LSIntEnum"))).ofNumber(153);return l(function(){var a;if(i==null)return;f(i);a={threadKey:(k||(k=d("I64"))).of_string(i),threadLinkHash:(a=m)!=null?a:void 0,threadType:(a=n)!=null?a:(j||(j=d("LSIntEnum"))).ofNumber(152)};d("MWPActor.react").isAPPlus()?g.openInbox(a,e):g.openTabOrInbox(a,e)},[i,f,m,n,g,e])}g["default"]=a}),98);