;/*FB_PKG_DELIM*/

__d("CometContactPresenceUpdaterWithANScore_viewer.graphql",[],(function(a,b,c,d,e,f){"use strict";a={argumentDefinitions:[],kind:"Fragment",metadata:null,name:"CometContactPresenceUpdaterWithANScore_viewer",selections:[{alias:null,args:[{kind:"Literal",name:"mnet_rank_type",value:["INBOX_ACTIVE_NOW"]}],concreteType:"MNetRankConnection",kind:"LinkedField",name:"mnet_ranks",plural:!1,selections:[{alias:null,args:null,concreteType:"MNetRankEdge",kind:"LinkedField",name:"edges",plural:!0,selections:[{alias:null,args:null,concreteType:"MNetRank",kind:"LinkedField",name:"node",plural:!1,selections:[{alias:null,args:null,concreteType:"MNetItemConnection",kind:"LinkedField",name:"items",plural:!1,selections:[{alias:null,args:null,concreteType:"MNetItemEdge",kind:"LinkedField",name:"edges",plural:!0,selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[{kind:"InlineFragment",selections:[{alias:null,args:null,kind:"ScalarField",name:"user_id",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"rank_score",storageKey:null}],type:"MNetContactItem",abstractKey:null}],storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null}],storageKey:'mnet_ranks(mnet_rank_type:["INBOX_ACTIVE_NOW"])'}],type:"Viewer",abstractKey:null};e.exports=a}),null);
__d("CometContactPresenceUtils_ContactProfilesQuery_facebookRelayOperation",[],(function(a,b,c,d,e,f){e.exports="9661515960536909"}),null);
__d("CometContactPresenceUtils_ContactProfilesQuery.graphql",["CometContactPresenceUtils_ContactProfilesQuery_facebookRelayOperation"],(function(a,b,c,d,e,f){"use strict";a=function(){var a={defaultValue:null,kind:"LocalArgument",name:"contactsProfilePictureDimensionPx"},c={defaultValue:null,kind:"LocalArgument",name:"ids"},d={defaultValue:null,kind:"LocalArgument",name:"navigation_fix_gk"},e={defaultValue:null,kind:"LocalArgument",name:"scale"},f=[{kind:"Variable",name:"ids",variableName:"ids"}],g={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},h={alias:null,args:null,kind:"ScalarField",name:"name",storageKey:null},i={alias:null,args:[{kind:"Variable",name:"height",variableName:"contactsProfilePictureDimensionPx"},{kind:"Variable",name:"scale",variableName:"scale"},{kind:"Variable",name:"width",variableName:"contactsProfilePictureDimensionPx"}],concreteType:"Image",kind:"LinkedField",name:"profile_picture",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"uri",storageKey:null}],storageKey:null},j=[{alias:null,args:null,kind:"ScalarField",name:"is_secure_thread",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"message_capabilities2_str",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"is_od_cutover_eligible",storageKey:null}];return{fragment:{argumentDefinitions:[a,c,d,e],kind:"Fragment",metadata:null,name:"CometContactPresenceUtils_ContactProfilesQuery",selections:[{alias:null,args:null,concreteType:"Viewer",kind:"LinkedField",name:"viewer",plural:!1,selections:[{alias:null,args:f,concreteType:null,kind:"LinkedField",name:"chat_sidebar_contact_nodes",plural:!0,selections:[g,h,i,{kind:"InlineFragment",selections:[{condition:"navigation_fix_gk",kind:"Condition",passingValue:!0,selections:[{kind:"InlineDataFragmentSpread",name:"useUserThreadNavigationData_inline_user",selections:j,args:null,argumentDefinitions:[]}]}],type:"User",abstractKey:null}],storageKey:null}],storageKey:null}],type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:[c,e,a,d],kind:"Operation",name:"CometContactPresenceUtils_ContactProfilesQuery",selections:[{alias:null,args:null,concreteType:"Viewer",kind:"LinkedField",name:"viewer",plural:!1,selections:[{alias:null,args:f,concreteType:null,kind:"LinkedField",name:"chat_sidebar_contact_nodes",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null},g,{kind:"TypeDiscriminator",abstractKey:"__isProfile"},h,i,{kind:"InlineFragment",selections:[{condition:"navigation_fix_gk",kind:"Condition",passingValue:!0,selections:j}],type:"User",abstractKey:null}],storageKey:null}],storageKey:null}]},params:{id:b("CometContactPresenceUtils_ContactProfilesQuery_facebookRelayOperation"),metadata:{},name:"CometContactPresenceUtils_ContactProfilesQuery",operationKind:"query",text:null}}}();e.exports=a}),null);
__d("CometContactPresenceUtils",["CometContactPresenceUtils_ContactProfilesQuery.graphql","CometHomeContactsConfig","CometRelay","CurrentUser","MWInboxTrayGating","PresenceCommonPresenceCommonTypes","Promise","WebPixelRatio","asyncToGeneratorRuntime","chunkArray","gkx","recoverableViolation","useUserThreadNavigationData"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j=h!==void 0?h:h=b("CometContactPresenceUtils_ContactProfilesQuery.graphql"),k={height:c("CometHomeContactsConfig").contactsProfilePictureDimensionPx,scale:d("WebPixelRatio").get(),width:c("CometHomeContactsConfig").contactsProfilePictureDimensionPx},l=500;function m(a,e){a=c("chunkArray")(Array.from(a),l);a=a.map(function(a){return d("CometRelay").fetchQuery(e,j,{ids:a,navigation_fix_gk:c("gkx")("5764"),scale:d("WebPixelRatio").get(),contactsProfilePictureDimensionPx:c("CometHomeContactsConfig").contactsProfilePictureDimensionPx},{fetchPolicy:"store-or-network"}).toPromise()});return(i||(i=b("Promise"))).all(a)}function n(a,b){return o.apply(this,arguments)}function o(){o=b("asyncToGeneratorRuntime").asyncToGenerator(function*(a,b){var e=new Map(),f=new Set(a);b.commitUpdate(function(a){for(var b of f){var g=a.get(b),h=c("gkx")("5764")&&!d("useUserThreadNavigationData").contactRecordHasNavigationData(g);if((g==null?void 0:g.getType())!=="User"||(g==null?void 0:g.getValue("name"))==null||h)continue;h=g.getLinkedRecord("profile_picture",k);(h==null?void 0:h.getValue("uri"))!=null&&(e.set(b,g),f["delete"](b))}});var g=[];a=(yield m(f,b));a.forEach(function(a){a=(a==null?void 0:(a=a.viewer)==null?void 0:a.chat_sidebar_contact_nodes)||[];a.forEach(function(a){a!=null&&g.push(a)})});b.commitUpdate(function(a){for(var b of g){var c=p(b,a);c!=null&&b.id!=null&&e.set(b.id,c)}});return e});return o.apply(this,arguments)}function p(a,b){var e=a==null?void 0:a.id;if(e==null)return;var f=b.get(e);f==null&&(f=b.create(e,"User"));b=a==null?void 0:a.name;if(b==null)return;f.setValue(b,"name");if(c("gkx")("5764")){e=d("CometRelay").readInlineData(d("useUserThreadNavigationData").USER_THREAD_DATA_INLINE_FRAGMENT,a);d("useUserThreadNavigationData").updateWithInlineData(f,e)}b=f.getOrCreateLinkedRecord("profile_picture","Image",k);e=a==null?void 0:(e=a.profile_picture)==null?void 0:e.uri;if(e==null)return;b.setValue(a==null?void 0:(e=a.profile_picture)==null?void 0:e.uri,"uri");f.setLinkedRecord(b,"profile_picture",k);return f}function q(a,b){a=a.getRoot().getLinkedRecord("viewer");if(a==null){c("recoverableViolation")("Viewer should not be null here, something has gone horribly wrong","messenger_presence_web");return}a.setLinkedRecords(b,"chat_sidebar_contacts",{count:c("CometHomeContactsConfig").numContactsToFetch});c("CometHomeContactsConfig").numContactsToFetch!==d("MWInboxTrayGating").getNumberOfContactsToFetch()&&a.setLinkedRecords(b,"chat_sidebar_contacts",{count:d("MWInboxTrayGating").getNumberOfContactsToFetch()})}function r(a,b,c){for(b of b){var e=a.get(b);e==null&&(e=a.create(b,"User"));var f=!1,g=null,h=c.get(b);if(h!=null){var i=h.presenceStatus;f=i===d("PresenceCommonPresenceCommonTypes").PresenceStatus.Active;g=Number(h.lastActiveTimeSeconds);e.setValue(f?"ACTIVE":"IDLE","availability");e.setValue(g,"last_active_time")}}}function a(a,b,c,d){return s.apply(this,arguments)}function s(){s=b("asyncToGeneratorRuntime").asyncToGenerator(function*(a,b,e,f){f===void 0&&(f=!1);e=Array.from(e.entries());e=new Map(e.sort(function(a,b){return b[1]-a[1]}));e=Array.from(e.keys());var g=new Set(),h=new Set();g=new Set(Array.from(b.values()).filter(function(a){var b=a.presenceStatus;a=a.userId;return c("CurrentUser").getID()!==a&&b===d("PresenceCommonPresenceCommonTypes").PresenceStatus.Active}).map(function(a){return a.userId}));f&&(h=new Set(Array.from(b.values()).filter(function(a){var b=a.presenceStatus;a=a.userId;return c("CurrentUser").getID()!==a&&b!==d("PresenceCommonPresenceCommonTypes").PresenceStatus.Active}).map(function(a){return a.userId})));var i=new Set(),j=[];for(f of e){if(f==null||i.has(f))continue;i.add(f);j.push(f);g["delete"](f);h["delete"](f)}a.commitUpdate(function(a){for(var c of g){var d=a.get(c);if(d==null)continue;if((d==null?void 0:d.getValue("name"))!=null){d=d.getLinkedRecord("profile_picture",k);(d==null?void 0:d.getValue("uri"))!=null&&(j.push(c),g["delete"](c))}}j.push.apply(j,Array.from(g.values()));for(d of h){c=a.get(d);if(c==null||i.has(d))continue;if((c==null?void 0:c.getValue("name"))!=null){c=c.getLinkedRecord("profile_picture",k);(c==null?void 0:c.getValue("uri"))!=null&&(j.push(d),i.add(d),h["delete"](d))}}j.push.apply(j,Array.from(h.values()));r(a,j,b)});var l=(yield n(new Set(j),a)),m=j.map(function(a){return l.get(a)}).filter(Boolean);a.commitUpdate(function(a){q(a,m)})});return s.apply(this,arguments)}g.updateRelayContactPresenceWithANScore=a}),98);
__d("CometContactPresenceUpdaterWithANScore.react",["CometContactPresenceUpdaterWithANScore_viewer.graphql","CometContactPresenceUtils","CometRelay","ODS","promiseDone","react","react-compiler-runtime","usePresenceUnifiedClientContext","usePresenceUnifiedMapContext"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j;e=i||d("react");var k=e.useEffect;e.useMemo;function l(a){var b=d("react-compiler-runtime").c(2);a=(a=a==null?void 0:(a=a.mnet_ranks)==null?void 0:(a=a.edges[0])==null?void 0:(a=a.node)==null?void 0:(a=a.items)==null?void 0:a.edges)!=null?a:null;a==null&&(j||(j=d("ODS"))).bumpEntityKey(3185,"mw_contact_list","an_ranking_graphql_empty");var c;b[0]!==a?(c=a!=null?new Map(a.map(m)):new Map(),b[0]=a,b[1]=c):c=b[1];a=c;return a}function m(a){var b;return[(b=(b=a.node)==null?void 0:b.user_id)!=null?b:"",(a=(b=a.node)==null?void 0:b.rank_score)!=null?a:0]}function a(a){var e=d("react-compiler-runtime").c(11),f=a.shouldUseFallback;a=a.viewer$key;var g=f===void 0?!1:f;f=d("CometRelay").useFragment(h!==void 0?h:h=b("CometContactPresenceUpdaterWithANScore_viewer.graphql"),a);a=d("usePresenceUnifiedClientContext").usePresenceUnifiedClientContext();var i=d("CometRelay").useRelayEnvironment(),j=d("usePresenceUnifiedMapContext").usePresenceUnifiedMapContext(),m=l(f);e[0]!==m||e[1]!==i||e[2]!==j||e[3]!==g?(f=function(){c("promiseDone")(d("CometContactPresenceUtils").updateRelayContactPresenceWithANScore(i,j,m,g))},e[0]=m,e[1]=i,e[2]=j,e[3]=g,e[4]=f):f=e[4];var n;e[5]!==m||e[6]!==a||e[7]!==i||e[8]!==j||e[9]!==g?(n=[a,i,j,m,g],e[5]=m,e[6]=a,e[7]=i,e[8]=j,e[9]=g,e[10]=n):n=e[10];k(f,n);return null}g["default"]=a}),98);
__d("CometHomeContactListItems_viewer.graphql",[],(function(a,b,c,d,e,f){"use strict";a={argumentDefinitions:[{defaultValue:null,kind:"LocalArgument",name:"count"}],kind:"Fragment",metadata:null,name:"CometHomeContactListItems_viewer",selections:[{alias:null,args:[{kind:"Variable",name:"count",variableName:"count"}],concreteType:null,kind:"LinkedField",name:"chat_sidebar_contacts",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},{kind:"InlineFragment",selections:[{kind:"ClientExtension",selections:[{alias:null,args:null,kind:"ScalarField",name:"availability",storageKey:null}]}],type:"User",abstractKey:null},{args:null,kind:"FragmentSpread",name:"MWChatContact_profile"}],storageKey:null},{fragment:{kind:"InlineFragment",selections:[{kind:"Defer",selections:[{args:null,kind:"FragmentSpread",name:"CometContactPresenceUpdaterWithANScore_viewer"}]}],type:"Viewer",abstractKey:null},kind:"AliasedInlineFragmentSpread",name:"an_rankings"}],type:"Viewer",abstractKey:null};e.exports=a}),null);
__d("XCometActiveContactsControllerRouteBuilder",["jsExtraRouteBuilder"],(function(a,b,c,d,e,f,g){a=c("jsExtraRouteBuilder")("/messages/active/t/{thread_key}/",Object.freeze({}),["/messages/active/"],void 0);b=a;g["default"]=b}),98);
__d("MWChatContactImpl.react",["fbt","CometErrorBoundary.react","CometPlaceholder.react","CurrentEnvironment","I64","JSResourceForInteraction","JSScheduler","LSContactListConversionAttributionStore","LSThreadAttributionStore","LSVerifyContactExistsWithID","MAWChatVerifyCutover.react","MWInboxRouteBuilder","MWXListCellStrict.react","MessengerSidebarClickImpressionEventsLoggerImpl","XCometActiveContactsControllerRouteBuilder","gkx","justknobx","qex","react","react-compiler-runtime","useAsyncReStore","useCometPreloader","useServerTime","useVisibilityObserver"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j,k,l=j||(j=d("react"));b=j;b.useCallback;b.useMemo;var m=b.useState,n=c("JSResourceForInteraction")("MWV2ChatTab.react").__setRef("MWChatContactImpl.react");function a(a){var b=d("react-compiler-runtime").c(63),e=a.contactInfo,f=a.entryPoint,g=a.logsEnabled,i=a.openTabForUser,j=a.preloadTabForUser,n=a.preventLocalNavigation;a=a.selected;var p=e.id,q=e.isOnline,r=e.lastActiveTime,s=e.name,t=e.position,u=e.preloadedNavigationData,v=e.profilePictureUrl;e=e.storyInfo;var w=m(),x=w[0];w=w[1];var y;b[0]!==p||b[1]!==j||b[2]!==u?(y=function(){j({preloadedNavigationData:u,userId:p})},b[0]=p,b[1]=j,b[2]=u,b[3]=y):y=b[3];y=y;var z=o;z=c("useCometPreloader")("button",z,y);var A=z.onHighIntentPreloader,B=z.onHoverInPreloader;y=z.onHoverOutPreloader;z=z.onPressInPreloader;var C=e==null?void 0:e.storyIds,D;b[4]===Symbol["for"]("react.memo_cache_sentinel")?(D={entry_point:"comet_home_sidebar",major_surface:"comet_home",minor_surface:"sidebar_one_on_one_chats"},b[4]=D):D=b[4];b[5]!==p||b[6]!==q||b[7]!==t||b[8]!==C?(D={id:p,isOnline:q,position:t,storyIds:C,surface:D,targetType:"user"},b[5]=p,b[6]=q,b[7]=t,b[8]=C,b[9]=D):D=b[9];t=D;var E=t;b[10]!==E||b[11]!==g?(C={onVisible:function(){g===!0&&d("MessengerSidebarClickImpressionEventsLoggerImpl").logImpressionEvent(E)},options:d("MessengerSidebarClickImpressionEventsLoggerImpl").IMPRESSION_LOG_OPTIONS},b[10]=E,b[11]=g,b[12]=C):C=b[12];D=c("useVisibilityObserver")(C);t=x!=null?x:p;b[13]!==p||b[14]!==E||b[15]!==g||b[16]!==i||b[17]!==u?(C=function(){g===!0&&(d("MessengerSidebarClickImpressionEventsLoggerImpl").logClickEvent(E),d("LSContactListConversionAttributionStore").setAttribution(p,E)),i({preloadedNavigationData:u,userId:p})},b[13]=p,b[14]=E,b[15]=g,b[16]=i,b[17]=u,b[18]=C):C=b[18];C=C;var F;b[19]!==f||b[20]!==p?(F=function(){d("LSThreadAttributionStore").setSource(p,f)},b[19]=f,b[20]=p,b[21]=F):F=b[21];F=F;var G=c("useAsyncReStore")(),H;b[22]!==p||b[23]!==A||b[24]!==B||b[25]!==G?(H=function(a){B(a),c("qex")._("3439")||A(!0),c("qex")._("3542")&&G.then(function(a){return d("LSVerifyContactExistsWithID").runInTransaction(a,(k||(k=d("I64"))).of_string(p),!1)})},b[22]=p,b[23]=A,b[24]=B,b[25]=G,b[26]=H):H=b[26];H=H;var I=c("useServerTime")(),J;b[27]!==q||b[28]!==r||b[29]!==I?(J=q?{type:"availabilityBadge"}:r!=null&&Math.floor((I.valueOf()-new Date(r*1e3).getTime())/36e5)<=1?{border:"web-wash",time:r,type:"lastActiveTimeBadge"}:void 0,b[27]=q,b[28]=r,b[29]=I,b[30]=J):J=b[30];b[31]===Symbol["for"]("react.memo_cache_sentinel")?(q=h._(/*BTDS*/"__JHASH__NuRFTx4-qdk__JHASH__"),b[31]=q):q=b[31];r=e==null?void 0:e.linkProps;b[32]!==v?(I={uri:v},b[32]=v,b[33]=I):I=b[33];v=e==null?void 0:e.storyStatus;b[34]!==J||b[35]!==r||b[36]!==I||b[37]!==v?(e={addOn:J,"aria-label":q,linkProps:r,shape:"circle",size:36,source:I,storyStatus:v,type:"profile-photo"},b[34]=J,b[35]=r,b[36]=I,b[37]=v,b[38]=e):e=b[38];q=e;J=c("gkx")("23433");if(J){b[39]!==t?(r=c("CurrentEnvironment").facebookdotcom?c("XCometActiveContactsControllerRouteBuilder").buildURL({thread_key:t}):"/active/t/"+t+"/",b[39]=t,b[40]=r):r=b[40];I=r}else{b[41]!==x||b[42]!==t?(v=x!=null?d("MWInboxRouteBuilder").buildE2EEThreadURL({thread_key:x}):d("MWInboxRouteBuilder").buildURL({thread_key:t}),b[41]=x,b[42]=t,b[43]=v):v=b[43];I=v}b[44]!==p?(e=l.jsx(c("CometErrorBoundary.react"),{children:l.jsx(c("CometPlaceholder.react"),{fallback:null,name:"MWChatContactImpl",children:l.jsx(c("MAWChatVerifyCutover.react"),{id:p,updateThreadKey:w})})}),b[44]=p,b[45]=e):e=b[45];b[46]!==n||b[47]!==I?(J={preventLocalNavigation:n,url:I},b[46]=n,b[47]=I,b[48]=J):J=b[48];r=n?C:F;x="contact_"+p;b[49]!==q||b[50]!==s||b[51]!==H||b[52]!==y||b[53]!==z||b[54]!==D||b[55]!==a||b[56]!==J||b[57]!==r||b[58]!==x?(t=l.jsx(c("MWXListCellStrict.react"),{addOnStart:q,disabled:!1,headline:s,level:4,linkProps:J,onHoverIn:H,onHoverOut:y,onPress:r,onPressIn:z,ref:D,selected:a,testid:void 0}),b[49]=q,b[50]=s,b[51]=H,b[52]=y,b[53]=z,b[54]=D,b[55]=a,b[56]=J,b[57]=r,b[58]=x,b[59]=t):t=b[59];b[60]!==e||b[61]!==t?(v=l.jsxs(l.Fragment,{children:[e,t]}),b[60]=e,b[61]=t,b[62]=v):v=b[62];return v}function o(){c("justknobx")._("761")&&(i||(i=c("JSScheduler"))).scheduleSpeculativeCallback(p)}function p(){n.preload()}g["default"]=a}),226);
__d("MWChatContact_profile.graphql",[],(function(a,b,c,d,e,f){"use strict";a=function(){var a={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null};return{argumentDefinitions:[{kind:"RootArgument",name:"contactsProfilePictureDimensionPx"},{kind:"RootArgument",name:"scale"}],kind:"Fragment",metadata:null,name:"MWChatContact_profile",selections:[a,{alias:null,args:null,kind:"ScalarField",name:"name",storageKey:null},{kind:"InlineFragment",selections:[{alias:null,args:[{kind:"Literal",name:"first",value:1}],concreteType:"DirectInboxBroadcastBucketConnection",kind:"LinkedField",name:"story_bucket",plural:!1,selections:[{alias:null,args:null,concreteType:"DirectMessageThreadBucket",kind:"LinkedField",name:"nodes",plural:!0,selections:[a,{alias:null,args:null,concreteType:"Story",kind:"LinkedField",name:"first_story_to_show",plural:!1,selections:[a,{alias:null,args:null,concreteType:"StoryCardSeenState",kind:"LinkedField",name:"story_card_seen_state",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"is_seen_by_viewer",storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null}],storageKey:"story_bucket(first:1)"},{alias:null,args:[{kind:"Variable",name:"height",variableName:"contactsProfilePictureDimensionPx"},{kind:"Variable",name:"scale",variableName:"scale"},{kind:"Variable",name:"width",variableName:"contactsProfilePictureDimensionPx"}],concreteType:"Image",kind:"LinkedField",name:"profile_picture",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"uri",storageKey:null}],storageKey:null},{args:null,kind:"FragmentSpread",name:"useUserThreadNavigationData_user"},{kind:"ClientExtension",selections:[{alias:null,args:null,kind:"ScalarField",name:"availability",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"last_active_time",storageKey:null}]}],type:"User",abstractKey:null}],type:"Profile",abstractKey:"__isProfile"}}();e.exports=a}),null);
__d("MWChatContact.react",["CometRelay","MWChatContactImpl.react","MWChatContact_profile.graphql","XCometStoriesControllerRouteBuilder","react","react-compiler-runtime","recoverableViolation","useUserThreadNavigationData"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j=i||d("react");function a(a){var e,f=d("react-compiler-runtime").c(32),g=a.activeStatusOn,i=a.entryPoint,k=a.logsEnabled,l=a.openTabForUser,m=a.position,n=a.preloadTabForUser,o=a.preventLocalNavigation,p=a.profile;a=a.selected;k=k===void 0?!1:k;o=o===void 0?!0:o;a=a===void 0?!1:a;p=d("CometRelay").useFragment(h!==void 0?h:h=b("MWChatContact_profile.graphql"),p);var q=p.availability,r=p.id,s=p.last_active_time,t=p.name,u=p.profile_picture,v,w="none";e=(e=p.story_bucket)==null?void 0:e.nodes;p=d("useUserThreadNavigationData").useUserThreadNavigationData(p);e=e?e[0]:null;var x=null,y=null;if(e!=null){var z;x=e.id;y=(z=e.first_story_to_show)==null?void 0:z.id;z=e==null?void 0:(z=e.first_story_to_show)==null?void 0:(e=z.story_card_seen_state)==null?void 0:e.is_seen_by_viewer;z!=null&&(w=z?"seen":"unseen");if(w!=="none"&&x!=null&&y!=null){f[0]!==x||f[1]!==y?(e=c("XCometStoriesControllerRouteBuilder").buildURL({bucket_id:x,card_id:y,view_single:!1}),f[0]=x,f[1]=y,f[2]=e):e=f[2];z=e;f[3]!==z?(e={prefetchQueriesOnHover:!0,url:z},f[3]=z,f[4]=e):e=f[4];v=e}}z=u==null?void 0:u.uri;if(r==null){f[5]===Symbol["for"]("react.memo_cache_sentinel")?(e=c("recoverableViolation")("Chat contact list cell is missing id","comet_ui"),f[5]=e):e=f[5];return e}if(t==null){f[6]===Symbol["for"]("react.memo_cache_sentinel")?(u=c("recoverableViolation")("Chat contact list cell is missing name","comet_ui"),f[6]=u):u=f[6];return u}if(z==null){f[7]===Symbol["for"]("react.memo_cache_sentinel")?(e=c("recoverableViolation")("Chat contact list cell is missing profileUri","comet_ui"),f[7]=e):e=f[7];return e}u=g&&q==="ACTIVE";e=g?s:void 0;f[8]!==x||f[9]!==y?(q={bucketId:x,firstCardId:y},f[8]=x,f[9]=y,f[10]=q):q=f[10];f[11]!==v||f[12]!==w||f[13]!==q?(g={linkProps:v,storyIds:q,storyStatus:w},f[11]=v,f[12]=w,f[13]=q,f[14]=g):g=f[14];f[15]!==r||f[16]!==u||f[17]!==e||f[18]!==t||f[19]!==m||f[20]!==p||f[21]!==z||f[22]!==g?(s={id:r,isOnline:u,lastActiveTime:e,name:t,position:m,preloadedNavigationData:p,profilePictureUrl:z,storyInfo:g},f[15]=r,f[16]=u,f[17]=e,f[18]=t,f[19]=m,f[20]=p,f[21]=z,f[22]=g,f[23]=s):s=f[23];f[24]!==i||f[25]!==k||f[26]!==l||f[27]!==n||f[28]!==o||f[29]!==a||f[30]!==s?(x=j.jsx(c("MWChatContactImpl.react"),{contactInfo:s,entryPoint:i,logsEnabled:k,openTabForUser:l,preloadTabForUser:n,preventLocalNavigation:o,selected:a}),f[24]=i,f[25]=k,f[26]=l,f[27]=n,f[28]=o,f[29]=a,f[30]=s,f[31]=x):x=f[31];return x}e=j.memo(a);g["default"]=e}),98);
__d("CometHomeContactListItems.react",["CometContactPresenceUpdaterWithANScore.react","CometErrorBoundary.react","CometHeroInteractionContextPassthrough.react","CometHomeContactListItems_viewer.graphql","CometHomeContactsConfig","CometPlaceholder.react","CometRelay","MWChatContact.react","react","react-compiler-runtime","useMWChatOpenTabForUser"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j=i||(i=d("react"));i.useMemo;function a(a){var e=d("react-compiler-runtime").c(18),f=a.activeStatusOn,g=a.shouldUseFallback;a=a.viewer$key;g=g===void 0?!1:g;a=d("CometRelay").useFragment(h!==void 0?h:h=b("CometHomeContactListItems_viewer.graphql"),a);var i;e[0]!==a.chat_sidebar_contacts?(i=a.chat_sidebar_contacts.filter(m),e[0]=a.chat_sidebar_contacts,e[1]=i):i=e[1];i=i;var n;e[2]!==a.chat_sidebar_contacts?(n=a.chat_sidebar_contacts.filter(l),e[2]=a.chat_sidebar_contacts,e[3]=n):n=e[3];n=n;var o;e[4]!==i||e[5]!==n?(o=i.concat(n).slice(0,c("CometHomeContactsConfig").numContactsToFetch),e[4]=i,e[5]=n,e[6]=o):o=e[6];i=o;n=i;o=c("useMWChatOpenTabForUser")("sidebarContactsList");var p=o.openTabForUser,q=o.preloadThread;i=a==null?void 0:a.an_rankings;e[7]!==g||e[8]!==i?(o=j.jsx(c("CometHeroInteractionContextPassthrough.react"),{clear:!0,children:j.jsx(c("CometErrorBoundary.react"),{fallback:k,children:j.jsx(c("CometPlaceholder.react"),{fallback:null,name:"CometContactListUpdater",children:j.jsx(c("CometContactPresenceUpdaterWithANScore.react"),{shouldUseFallback:g,viewer$key:i})})})}),e[7]=g,e[8]=i,e[9]=o):o=e[9];a=o;e[10]!==f||e[11]!==n||e[12]!==p||e[13]!==q?(g=n.map(function(a,b){return j.jsx("li",{children:j.jsx("div",{children:j.jsx(c("MWChatContact.react"),{activeStatusOn:f,entryPoint:"sidebarContactsList",logsEnabled:!0,openTabForUser:p,position:b,preloadTabForUser:q,profile:a})})},a.id)}),e[10]=f,e[11]=n,e[12]=p,e[13]=q,e[14]=g):g=e[14];e[15]!==a||e[16]!==g?(i=j.jsxs(j.Fragment,{children:[a,g]}),e[15]=a,e[16]=g,e[17]=i):i=e[17];return i}function k(){return null}function l(a){return a.availability!=="ACTIVE"}function m(a){return a.availability==="ACTIVE"}e=j.memo(a,function(a,b){return b.preventReordering});g["default"]=e}),98);
__d("CometHomeContactsCollapsed_viewer.graphql",[],(function(a,b,c,d,e,f){"use strict";a={argumentDefinitions:[{defaultValue:null,kind:"LocalArgument",name:"count"}],kind:"Fragment",metadata:null,name:"CometHomeContactsCollapsed_viewer",selections:[{alias:null,args:[{kind:"Variable",name:"count",variableName:"count"}],concreteType:null,kind:"LinkedField",name:"chat_sidebar_contacts",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null}],storageKey:null}],type:"Viewer",abstractKey:null};e.exports=a}),null);
__d("CometHomeContactsCollapsed.react",["fbt","ChevronDownFilled16IconSvg.react","CometHomeContactsCollapsed_viewer.graphql","CometRelay","FDSButton.react","FDSIcon.react","react","react-compiler-runtime","requireDeferred"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j,k=j||d("react"),l=c("requireDeferred")("MWChatSidebarStateSettingMutation").__setRef("CometHomeContactsCollapsed.react");function a(a){var e=d("react-compiler-runtime").c(9);a=a.viewer$key;var f=d("CometRelay").useRelayEnvironment();a=d("CometRelay").useFragment(i!==void 0?i:i=b("CometHomeContactsCollapsed_viewer.graphql"),a);a=a.chat_sidebar_contacts.length;var g;e[0]===Symbol["for"]("react.memo_cache_sentinel")?(g={className:"x1y1aw1k x1pi30zi xwib8y2 x1swvt13"},e[0]=g):g=e[0];var j;e[1]===Symbol["for"]("react.memo_cache_sentinel")?(j=k.jsx(c("FDSIcon.react"),{icon:c("ChevronDownFilled16IconSvg.react"),size:16}),e[1]=j):j=e[1];var m;e[2]!==a?(m=h._(/*BTDS*/"__JHASH__bsz2dpcyfzz__JHASH__",[h._param("contact count",a)]),e[2]=a,e[3]=m):m=e[3];e[4]!==f?(a=function(){l.onReadyImmediately(function(a){return a({environment:f,isCollapsed:!1})})},e[4]=f,e[5]=a):a=e[5];e[6]!==m||e[7]!==a?(g=k.jsx("div",babelHelpers["extends"]({},g,{children:k.jsx(c("FDSButton.react"),{addOnSecondary:j,label:m,onPress:a,size:"medium",type:"secondary"})})),e[6]=m,e[7]=a,e[8]=g):g=e[8];return g}g["default"]=a}),226);
__d("CometHomeContactsHeader.react",["fbt","CometHomeChatSettings.entrypoint","Dots3HorizontalFilled20IconSvg.react","FDSEntryPointPopoverTrigger.react","FDSIcon.react","FDSTooltip.react","FDSTooltipGroup.react","FDSUnitHeader.react","MWPBumpEntityKey","MagnifyingGlassFilled16IconSvg.react","MessengerWebEventsFalcoEvent","cometGetKeyCommandConfig","react","useCometHomeOpenNewChatTab","useLayerKeyCommands"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j=i||(i=d("react"));b=i;var k=b.useEffect,l=b.useMemo,m=h._(/*BTDS*/"__JHASH__aqUE4f6aqXC__JHASH__"),n=h._(/*BTDS*/"__JHASH__0VczyHdqI5I__JHASH__"),o=h._(/*BTDS*/"__JHASH__sI0NH8bv2ZB__JHASH__");function a(){var a;a=(a=c("useCometHomeOpenNewChatTab")==null?void 0:c("useCometHomeOpenNewChatTab")("sidebarContactsList"))!=null?a:{};var b=a.onPress;a=babelHelpers.objectWithoutPropertiesLoose(a,["onPress"]);var e=l(function(){return[d("cometGetKeyCommandConfig").getCometKeyCommandConfig("newsfeed","searchContacts",b)]},[b]);c("useLayerKeyCommands")(e);k(function(){c("MessengerWebEventsFalcoEvent").log(function(){return{event_name:"show_sidebar_contacts"}})},[]);return j.jsx(c("FDSUnitHeader.react"),{addOn_DEPRECATED:j.jsx("div",babelHelpers["extends"]({className:"x78zum5"},{children:j.jsxs(c("FDSTooltipGroup.react"),{children:[j.jsx(c("FDSTooltip.react"),{align:"end",position:"below",tooltip:n,children:j.jsx("div",babelHelpers["extends"]({className:"xq8finb x16n37ib"},{children:j.jsx(c("FDSIcon.react"),babelHelpers["extends"]({},a,{"aria-label":n,color:"secondary",icon:c("MagnifyingGlassFilled16IconSvg.react"),onPress:function(){b(),d("MWPBumpEntityKey").bumpEntityKey("comet.sidebar","search_button_click")},size:16}))}))}),j.jsx(c("FDSEntryPointPopoverTrigger.react"),{align:"end",entryPointParams:{},otherProps:{chatSettingsContextualSection:"contacts"},popoverEntryPoint:c("CometHomeChatSettings.entrypoint"),position:"below",preloadTrigger:"button",children:function(a,b,d){return j.jsx(c("FDSTooltip.react"),{align:"end",position:"below",tooltip:o,children:j.jsx("div",babelHelpers["extends"]({className:"x16n37ib"},{children:j.jsx(c("FDSIcon.react"),{"aria-label":o,color:"secondary",icon:c("Dots3HorizontalFilled20IconSvg.react"),onPress:function(){b()},ref:a,size:20})}))})}})]})})),headline:m,headlineColor:"secondary",level:3})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),226);
__d("CometHomeContactsListItemsContainer_viewer.graphql",[],(function(a,b,c,d,e,f){"use strict";a={argumentDefinitions:[{defaultValue:null,kind:"LocalArgument",name:"count"}],kind:"Fragment",metadata:null,name:"CometHomeContactsListItemsContainer_viewer",selections:[{alias:null,args:null,kind:"ScalarField",name:"chat_visibility",storageKey:null},{args:[{kind:"Variable",name:"count",variableName:"count"}],kind:"FragmentSpread",name:"CometHomeContactListItems_viewer"}],type:"Viewer",abstractKey:null};e.exports=a}),null);
__d("CometHomeContactsListItemsContainer.react",["CometHomeContactListItems.react","CometHomeContactsListItemsContainer_viewer.graphql","CometHomeContactsPresenceAwareList.react","CometRelay","FocusWithinHandler.react","react","react-compiler-runtime"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j=i||(i=d("react")),k=i.useState;function a(a){var e=d("react-compiler-runtime").c(7),f=a.shouldUseFallback;a=a.viewer$key;var g=f===void 0?!1:f,i=d("CometRelay").useFragment(h!==void 0?h:h=b("CometHomeContactsListItemsContainer_viewer.graphql"),a),l=(i==null?void 0:i.chat_visibility)===!0;f=k(!1);var m=f[0],n=f[1];e[0]===Symbol["for"]("react.memo_cache_sentinel")?(a=function(){return n(!0)},f=function(){return n(!1)},e[0]=a,e[1]=f):(a=e[0],f=e[1]);e[2]!==l||e[3]!==m||e[4]!==g||e[5]!==i?(a=j.jsx("div",{onMouseEnter:a,onMouseLeave:f,children:j.jsx(c("FocusWithinHandler.react"),{children:function(a,b){return j.jsx(c("CometHomeContactsPresenceAwareList.react"),{active:l,children:j.jsx(c("CometHomeContactListItems.react"),{activeStatusOn:l,preventReordering:m||a||b,shouldUseFallback:g,viewer$key:i})})}})}),e[2]=l,e[3]=m,e[4]=g,e[5]=i,e[6]=a):a=e[6];return a}g["default"]=a}),98);
__d("CometHomeContacts_viewer.graphql",[],(function(a,b,c,d,e,f){"use strict";a=function(){var a=[{kind:"Variable",name:"count",variableName:"count"}];return{argumentDefinitions:[{defaultValue:null,kind:"LocalArgument",name:"count"}],kind:"Fragment",metadata:null,name:"CometHomeContacts_viewer",selections:[{alias:null,args:null,kind:"ScalarField",name:"chat_sidebar_is_collapsed",storageKey:null},{alias:null,args:a,concreteType:null,kind:"LinkedField",name:"chat_sidebar_contacts",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null}],storageKey:null},{args:a,kind:"FragmentSpread",name:"CometHomeContactsCollapsed_viewer"},{args:a,kind:"FragmentSpread",name:"CometHomeContactsListItemsContainer_viewer"}],type:"Viewer",abstractKey:null}}();e.exports=a}),null);
__d("CometHomeContacts.react",["BaseContextualLayerAnchorRootContext","CometHomeContactsCollapsed.react","CometHomeContactsHeader.react","CometHomeContactsListItemsContainer.react","CometHomeContacts_viewer.graphql","CometHomeRightRailUnit.react","CometRelay","CometVisualCompletionAttributes","MWPBumpEntityKey","MessengerWebEventsFalcoEvent","qex","react","react-compiler-runtime","usePresenceUnifiedMapContext"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j=i||(i=d("react"));e=i;var k=e.useEffect;e.useMemo;var l=e.useRef,m=h!==void 0?h:h=b("CometHomeContacts_viewer.graphql");function n(){var a;return(a=c("qex")._("3374"))!=null?a:!1}function a(a){var b,e=d("react-compiler-runtime").c(8);a=a.viewer$key;a=d("CometRelay").useFragment(m,a);var f=l(document.body),g=(a==null?void 0:a.chat_sidebar_is_collapsed)===!0,h=d("usePresenceUnifiedMapContext").usePresenceUnifiedMapContext(),i;e[0]===Symbol["for"]("react.memo_cache_sentinel")?(i=[],e[0]=i):i=e[0];k(o,i);e[1]===Symbol["for"]("react.memo_cache_sentinel")?(i=j.jsx(c("CometHomeContactsHeader.react"),{}),e[1]=i):i=e[1];i=i;i=i;((b=a.chat_sidebar_contacts)==null?void 0:b.length)===0&&(d("MWPBumpEntityKey").bumpEntityKey("mw_contact_list","bff_ranking_empty"),h.size===0&&d("MWPBumpEntityKey").bumpEntityKey("mw_contact_list","presence_data_empty"));if(e[2]!==g||e[3]!==h||e[4]!==a){b=((b=a.chat_sidebar_contacts)==null?void 0:b.length)>0||h.size>0&&n()?j.jsx("div",{hidden:((b=a.chat_sidebar_contacts)==null?void 0:b.length)===0,children:j.jsx(c("CometHomeRightRailUnit.react"),{hasBottomDivider:!g,header:i,children:g?j.jsx(c("CometHomeContactsCollapsed.react"),{viewer$key:a}):j.jsx(c("CometHomeContactsListItemsContainer.react"),{shouldUseFallback:n(),viewer$key:a})})}):null;e[2]=g;e[3]=h;e[4]=a;e[5]=b}else b=e[5];e[6]!==b?(i=j.jsx("div",babelHelpers["extends"]({"data-testid":void 0},c("CometVisualCompletionAttributes").IGNORE_DYNAMIC,{children:j.jsx(c("BaseContextualLayerAnchorRootContext").Provider,{value:f,children:b})})),e[6]=b,e[7]=i):i=e[7];return i}function o(){c("MessengerWebEventsFalcoEvent").log(p)}function p(){return{event_name:"show_sidebar_contacts"}}g["default"]=a}),98);
__d("CometHomeContactsDefaultRenderer_contactsHomeDefaultRenderer.graphql",[],(function(a,b,c,d,e,f){"use strict";a={argumentDefinitions:[{kind:"RootArgument",name:"numContactsToFetch"}],kind:"Fragment",metadata:null,name:"CometHomeContactsDefaultRenderer_contactsHomeDefaultRenderer",selections:[{kind:"RequiredField",field:{alias:null,args:null,concreteType:"Viewer",kind:"LinkedField",name:"viewer",plural:!1,selections:[{args:[{kind:"Variable",name:"count",variableName:"numContactsToFetch"}],kind:"FragmentSpread",name:"CometHomeContacts_viewer"}],storageKey:null},action:"THROW",path:"viewer"}],type:"XFBContactsHomeDefaultRenderer",abstractKey:null};e.exports=a}),null);
__d("CometHomeContactsDefaultRenderer.react",["CometHomeContacts.react","CometHomeContactsDefaultRenderer_contactsHomeDefaultRenderer.graphql","CometRelay","react","react-compiler-runtime"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j=i||d("react");function a(a){var e=d("react-compiler-runtime").c(2);a=a.contactsHomeDefaultRenderer;a=d("CometRelay").useFragment(h!==void 0?h:h=b("CometHomeContactsDefaultRenderer_contactsHomeDefaultRenderer.graphql"),a);a=a.viewer;var f;e[0]!==a?(f=j.jsx(c("CometHomeContacts.react"),{viewer$key:a}),e[0]=a,e[1]=f):f=e[1];return f}g["default"]=a}),98);
__d("CometHomeContactsDefaultRenderer_contactsHomeDefaultRenderer$normalization.graphql",[],(function(a,b,c,d,e,f){"use strict";a=function(){var a={alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null},b={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null};return{kind:"SplitOperation",metadata:{},name:"CometHomeContactsDefaultRenderer_contactsHomeDefaultRenderer$normalization",selections:[{alias:null,args:null,concreteType:"Viewer",kind:"LinkedField",name:"viewer",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"chat_sidebar_is_collapsed",storageKey:null},{alias:null,args:[{kind:"Variable",name:"count",variableName:"numContactsToFetch"}],concreteType:null,kind:"LinkedField",name:"chat_sidebar_contacts",plural:!0,selections:[a,b,{kind:"TypeDiscriminator",abstractKey:"__isProfile"},{alias:null,args:null,kind:"ScalarField",name:"name",storageKey:null},{kind:"InlineFragment",selections:[{alias:null,args:[{kind:"Literal",name:"first",value:1}],concreteType:"DirectInboxBroadcastBucketConnection",kind:"LinkedField",name:"story_bucket",plural:!1,selections:[{alias:null,args:null,concreteType:"DirectMessageThreadBucket",kind:"LinkedField",name:"nodes",plural:!0,selections:[b,{alias:null,args:null,concreteType:"Story",kind:"LinkedField",name:"first_story_to_show",plural:!1,selections:[b,{alias:null,args:null,concreteType:"StoryCardSeenState",kind:"LinkedField",name:"story_card_seen_state",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"is_seen_by_viewer",storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null}],storageKey:"story_bucket(first:1)"},{alias:null,args:[{kind:"Variable",name:"height",variableName:"contactsProfilePictureDimensionPx"},{kind:"Variable",name:"scale",variableName:"scale"},{kind:"Variable",name:"width",variableName:"contactsProfilePictureDimensionPx"}],concreteType:"Image",kind:"LinkedField",name:"profile_picture",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"uri",storageKey:null}],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"is_secure_thread",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"message_capabilities2_str",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"is_od_cutover_eligible",storageKey:null},{kind:"ClientExtension",selections:[{alias:null,args:null,kind:"ScalarField",name:"availability",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"last_active_time",storageKey:null}]}],type:"User",abstractKey:null}],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"chat_visibility",storageKey:null},{"if":null,kind:"Defer",label:"CometHomeContactListItems_viewer$defer$CometContactPresenceUpdaterWithANScore_viewer",selections:[{alias:null,args:[{kind:"Literal",name:"mnet_rank_type",value:["INBOX_ACTIVE_NOW"]}],concreteType:"MNetRankConnection",kind:"LinkedField",name:"mnet_ranks",plural:!1,selections:[{alias:null,args:null,concreteType:"MNetRankEdge",kind:"LinkedField",name:"edges",plural:!0,selections:[{alias:null,args:null,concreteType:"MNetRank",kind:"LinkedField",name:"node",plural:!1,selections:[{alias:null,args:null,concreteType:"MNetItemConnection",kind:"LinkedField",name:"items",plural:!1,selections:[{alias:null,args:null,concreteType:"MNetItemEdge",kind:"LinkedField",name:"edges",plural:!0,selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[a,{kind:"InlineFragment",selections:[{alias:null,args:null,kind:"ScalarField",name:"user_id",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"rank_score",storageKey:null}],type:"MNetContactItem",abstractKey:null}],storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null}],storageKey:'mnet_ranks(mnet_rank_type:["INBOX_ACTIVE_NOW"])'}]}],storageKey:null}]}}();e.exports=a}),null);
__d("MWChatSidebarStateSettingMutation_facebookRelayOperation",[],(function(a,b,c,d,e,f){e.exports="5374077802611124"}),null);
__d("MWChatSidebarStateSettingMutation.graphql",["MWChatSidebarStateSettingMutation_facebookRelayOperation"],(function(a,b,c,d,e,f){"use strict";a=function(){var a=[{defaultValue:null,kind:"LocalArgument",name:"input"}],c=[{alias:null,args:[{kind:"Variable",name:"data",variableName:"input"}],concreteType:"ChatSidebarIsCollapsedResponsePayload",kind:"LinkedField",name:"chat_sidebar_is_collapsed",plural:!1,selections:[{alias:null,args:null,concreteType:"Viewer",kind:"LinkedField",name:"viewer",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"chat_sidebar_is_collapsed",storageKey:null}],storageKey:null}],storageKey:null}];return{fragment:{argumentDefinitions:a,kind:"Fragment",metadata:null,name:"MWChatSidebarStateSettingMutation",selections:c,type:"Mutation",abstractKey:null},kind:"Request",operation:{argumentDefinitions:a,kind:"Operation",name:"MWChatSidebarStateSettingMutation",selections:c},params:{id:b("MWChatSidebarStateSettingMutation_facebookRelayOperation"),metadata:{},name:"MWChatSidebarStateSettingMutation",operationKind:"mutation",text:null}}}();e.exports=a}),null);
__d("MWChatSidebarStateSettingMutation",["CometRelay","MWChatSidebarStateSettingMutation.graphql"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h!==void 0?h:h=b("MWChatSidebarStateSettingMutation.graphql");function a(a){var b=a.environment,c=a.isCollapsed,e=a.onCompleted;a=a.onError;d("CometRelay").commitMutation(b,{mutation:i,onCompleted:e,onError:a,variables:{input:{is_collapsed:c}}})}g["default"]=a}),98);