;/*FB_PKG_DELIM*/

__d("LSThreadHeaderAriaDescription_thread$normalization.graphql",["LS_Thread","LS_Thread__computed_thread_title","LSThreadComputedThreadTitle__computed_thread_title$normalization.graphql"],(function(a,b,c,d,e,f){"use strict";a={kind:"SplitOperation",metadata:{},name:"LSThreadHeaderAriaDescription_thread$normalization",selections:[{kind:"ClientExtension",selections:[{name:"thread_name",args:null,kind:"RelayResolver",storageKey:null,isOutputType:!0,resolverInfo:{resolverFunction:b("LS_Thread").thread_name,rootFragment:null}},{name:"computed_thread_title",args:null,kind:"RelayResolver",storageKey:null,isOutputType:!0,resolverInfo:{resolverFunction:b("LS_Thread__computed_thread_title").computed_thread_title,rootFragment:b("LSThreadComputedThreadTitle__computed_thread_title$normalization.graphql")}}]}]};e.exports=a}),null);
__d("LSThreadHeaderAriaDescription_thread.graphql",[],(function(a,b,c,d,e,f){"use strict";a={argumentDefinitions:[],kind:"Fragment",metadata:null,name:"LSThreadHeaderAriaDescription_thread",selections:[{alias:"threadName",args:null,kind:"ScalarField",name:"thread_name",storageKey:null},{alias:"title",args:null,kind:"ScalarField",name:"computed_thread_title",storageKey:null}],type:"LS_Thread",abstractKey:null};e.exports=a}),null);
__d("LSThreadIsBlockedByViewer__is_blocked_by_viewer$normalization.graphql",["LS_Thread__other_participant","LS_Participant","LS_Contact","LS_Thread"],(function(a,b,c,d,e,f){"use strict";a={kind:"SplitOperation",metadata:{},name:"LSThreadIsBlockedByViewer__is_blocked_by_viewer$normalization",selections:[{kind:"ClientEdgeToClientObject",backingField:{name:"other_participant",args:null,kind:"RelayLiveResolver",storageKey:null,isOutputType:!0,resolverInfo:{resolverFunction:b("LS_Thread__other_participant").other_participant,rootFragment:null}},linkedField:{alias:"otherParticipant",args:null,concreteType:"LS_Participant",kind:"LinkedField",name:"other_participant",plural:!1,selections:[{kind:"ClientEdgeToClientObject",backingField:{name:"contact",args:null,kind:"RelayLiveResolver",storageKey:null,isOutputType:!0,resolverInfo:{resolverFunction:b("LS_Participant").contact,rootFragment:null}},linkedField:{alias:null,args:null,concreteType:"LS_Contact",kind:"LinkedField",name:"contact",plural:!1,selections:[{name:"blocked_by_viewer_status",args:null,kind:"RelayResolver",storageKey:null,isOutputType:!0,resolverInfo:{resolverFunction:b("LS_Contact").blocked_by_viewer_status,rootFragment:null}}],storageKey:null}}],storageKey:null}},{kind:"ClientExtension",selections:[{name:"thread_type",args:null,kind:"RelayResolver",storageKey:null,isOutputType:!0,resolverInfo:{resolverFunction:b("LS_Thread").thread_type,rootFragment:null}}]}]};e.exports=a}),null);
__d("LSThreadIsBlockedByViewer__is_blocked_by_viewer.graphql",[],(function(a,b,c,d,e,f){"use strict";a={argumentDefinitions:[],kind:"Fragment",metadata:{hasClientEdges:!0},name:"LSThreadIsBlockedByViewer__is_blocked_by_viewer",selections:[{alias:"threadType",args:null,kind:"ScalarField",name:"thread_type",storageKey:null},{alias:"otherParticipant",args:null,concreteType:"LS_Participant",kind:"LinkedField",name:"other_participant",plural:!1,selections:[{alias:null,args:null,concreteType:"LS_Contact",kind:"LinkedField",name:"contact",plural:!1,selections:[{alias:"blockedByViewerStatus",args:null,kind:"ScalarField",name:"blocked_by_viewer_status",storageKey:null}],storageKey:null}],storageKey:null}],type:"LS_Thread",abstractKey:null};e.exports=a}),null);
__d("LS_RtcOngoingCallsOnThreadsV2",[],(function(a,b,c,d,e,f){function a(a){return a.context}function b(a){return a.value}function c(a){return a.value.threadKey}function d(a){return a.value.ongoingCallServerInfoData}function e(a){return a.value.willExpandToNewThread}f.__context=a;f.__lightspeed_table_row=b;f.thread_key=c;f.ongoing_call_server_info_data=d;f.will_expand_to_new_thread=e}),66);
__d("LS_Thread__header_aria_description",["fbt","LSThreadHeaderAriaDescription_thread.graphql","ReactiveExecutorResolverFragments"],(function(a,b,c,d,e,f,g,h){"use strict";var i;function a(a){a=d("ReactiveExecutorResolverFragments").readFragment(i!==void 0?i:i=b("LSThreadHeaderAriaDescription_thread.graphql"),a);var c=a.threadName;a=a.title;return c!=null?h._("__JHASH__Hkglfueb2S7__JHASH__",[h._param("name of conversation",c)]).toString():h._("__JHASH__Bc4odEiE4Gu__JHASH__",[h._param("participant list",a)]).toString()}g.header_aria_description=a}),226);
__d("LS_Thread__is_blocked_by_viewer",["I64","LSContactBlockedByViewerStatus","LSIntEnum","LSMessagingThreadTypeUtil","LSThreadIsBlockedByViewer__is_blocked_by_viewer.graphql","ReactiveExecutorResolverFragments"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j;function a(a){a=d("ReactiveExecutorResolverFragments").readFragment(h!==void 0?h:h=b("LSThreadIsBlockedByViewer__is_blocked_by_viewer.graphql"),a);var e=a.otherParticipant;a=a.threadType;e=e==null?void 0:e.contact;var f=e==null?void 0:e.blockedByViewerStatus;return e==null||f==null||a==null?!1:d("LSMessagingThreadTypeUtil").isOneToOne(a)&&!(i||(i=d("I64"))).equal(f,(j||(j=d("LSIntEnum"))).ofNumber(c("LSContactBlockedByViewerStatus").UNBLOCKED))}g.is_blocked_by_viewer=a}),98);
__d("LS_Thread__is_viewer_participant",["I64","LSRelayLiveResolvers","ReQL"],(function(a,b,c,d,e,f,g){"use strict";var h;function a(a){var b=a.context;a=a.value;var c=a.threadKey;return d("LSRelayLiveResolvers").mapLiveState(d("LSRelayLiveResolvers").iterableToMappedValueLiveResolver(b,function(a){return d("ReQL").fromTableAscending(a.tables.participants).getKeyRange(c,(h||(h=d("I64"))).of_string(b.actorID)).take(1)},function(a){return a!=null}),function(a){return a==null?void 0:a.value})}g.is_viewer_participant=a}),98);
__d("LS_Thread__other_participants",["I64","LSRelayLiveResolvers","ReQL"],(function(a,b,c,d,e,f,g){"use strict";var h;function a(a,b){var c=a.context;a=a.value;var e=a.threadKey;return d("LSRelayLiveResolvers").iterableToConnectionLiveResolver(c,function(a){return d("ReQL").fromTableAscending(a.tables.participants).getKeyRange(e).filter(function(a){a=a.contactId;return(h||(h=d("I64"))).to_string(a)!==c.actorID})},b)}g.other_participants=a}),98);
__d("LS_Thread__restricted_participants",["LSContactBitOffset","LSRelayLiveResolvers","ReQL"],(function(a,b,c,d,e,f,g){"use strict";function a(a,b){var c=a.context;a=a.value;var e=a.threadKey;return d("LSRelayLiveResolvers").iterableToConnectionLiveResolver(c,function(a){return d("ReQL").mergeJoin(d("ReQL").fromTableAscending(a.tables.participants).getKeyRange(e),d("ReQL").fromTableAscending(a.tables.contacts)).filter(function(a){a[0];a=a[1];return(a=d("LSContactBitOffset").has(66,a))!=null?a:!1}).map(function(a){a=a[0];return a})},b)}g.restricted_participants=a}),98);
__d("MWV2HeaderSettingsButtonChevron.react",["react","stylex"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j=i||d("react");function a(a){var b=a.size;b=b===void 0?"10px":b;a=a.xstyle;return j.jsx("svg",{"aria-hidden":"true",className:(h||(h=c("stylex")))(a),height:b,viewBox:"0 0 18 10",width:b,children:j.jsx("path",{clipRule:"evenodd",d:"M1 2.414A1 1 0 012.414 1L8.293 6.88a1 1 0 001.414 0L15.586 1A1 1 0 0117 2.414L9.707 9.707a1 1 0 01-1.414 0L1 2.414z",fill:"var(--mwp-header-button-color)",fillRule:"evenodd"})})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98);
__d("SubthreadMuteStrings.react",["fbt"],(function(a,b,c,d,e,f,g,h){"use strict";a=h._("__JHASH__PxnspW7lfSv__JHASH__");b=h._("__JHASH__a4XiPEeVjxj__JHASH__");g.muteLabel=a;g.unmuteLabel=b}),226);
__d("useUnmuteSubthread.react",["fbt","I64","MWCMLogMuteDuration.react","cometPushToast","formatDate","react","useMWChatUnmuteThread","useMWXConfirmationDialog"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j,k=(i||d("react")).useCallback;function l(a){var b=new Date();if(!(j||(j=d("I64"))).equal(a,(j||(j=d("I64"))).neg_one))if(new Date((j||(j=d("I64"))).to_float(a)).getDay()===b.getDay())return h._("__JHASH__DRoE6CgofTw__JHASH__",[h._param("time",c("formatDate")((j||(j=d("I64"))).to_float(a)/1e3,"g:ia"))]);else return h._("__JHASH__80cngzK8IXy__JHASH__",[h._param("time",c("formatDate")((j||(j=d("I64"))).to_float(a)/1e3,"g:ia"))]);else return h._("__JHASH__4mwXsVkXMRi__JHASH__")}function a(a,b){var e=c("useMWXConfirmationDialog")(),f=c("useMWChatUnmuteThread")();return k(function(c){c!=null&&e({body:l(c.muteExpireTimeMs),title:h._("__JHASH__t8ncWz3dEdi__JHASH__")},function(){var e;f(c);d("MWCMLogMuteDuration.react").log({clientExtras:{is_subthread:"1"},eventType:"channel_level_unmute_all_notif",source:(e=a)!=null?e:"mute_bell_button",surface:(e=b)!=null?e:"subthread_list",threadKey:c.threadKey});d("cometPushToast").cometPushToast({message:h._("__JHASH__0DUAN4OT62t__JHASH__",[h._param("Name of chat",c.threadName)])})})},[e,f,a,b])}g["default"]=a}),226);
__d("MWCMSubthreadHeader.react",["fbt","GroupsCometChatsEngagementLogger","I64","Int64Hooks","JSResourceForInteraction","LSAuthorityLevel","LSIntEnum","Locale","MWChatTextTransform","MWV2HeaderSettingsButtonChevron.react","MWVerticalRhythm","MWXCircleButton.react","MWXIconArrowLeft","MWXIconArrowRight","MWXIconBell","MWXIconBellCross","MWXIconCross","MWXIconDots3Horizontal","MWXLazyPopoverTrigger.react","MWXMessageTextWithEntities.react","MWXPressable.react","MWXRow.react","MWXRowItem.react","MWXText.react","MWXThreadThemeColor","MWXTooltip.react","SubthreadMuteStrings.react","baseTextTransformAllStrings","emptyFunction","gkx","react","stylex","useMWXLazyDialog","useUnmuteSubthread.react"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j,k,l,m=j||d("react"),n=c("gkx")("23219"),o={align:{verticalAlign:"xxymvpz",$$css:!0},chevronIcon:{marginStart:"x1i64zmx",marginLeft:null,marginRight:null,marginTop:"x1xmf6yo",$$css:!0},iconRow:{paddingStart:"xkhd6sd",paddingLeft:null,paddingRight:null,paddingEnd:"x4uap5",$$css:!0},rowItem:{alignItems:"x6s0dn4",display:"x78zum5",height:"xn3w4p2",justifyContent:"xl56j7k",$$css:!0},rowItemChatTab:{alignItems:"x6s0dn4",flexDirection:"x1q0g3np",flexGrow:"x1iyjqo2",$$css:!0},settingsButton:{flexShrink:"xs83m0k",marginEnd:"x1emribx",marginLeft:null,marginRight:null,maxWidth:"x1ncir08",$$css:!0}},p=h._("__JHASH__nTUxHa9SlKj__JHASH__"),q=c("gkx")("24077");function r(a){return a.length>30?a.slice(0,27)+"...":a}function s(){return function(a){return c("baseTextTransformAllStrings")(a,function(a,b){return t(a,b)})}}function t(a,b){return[r(a)]}function a(a){var b=a.closeSidePanelOnBack,e=a.hexTextColor,f=a.isChatTab,g=f===void 0?!1:f;f=a.isThreadMuted;var j=f===void 0?!1:f,r=a.onPressBack;f=a.subtitle;var t=a.textColor,u=a.thread;a=a.title;var v=c("useMWXLazyDialog")(c("JSResourceForInteraction")("LSMuteThreadDialog.react").__setRef("MWCMSubthreadHeader.react")),w=v[0];v=d("Int64Hooks").useCallbackInt64(function(){u!=null&&(k||(k=d("I64"))).equal(u.authorityLevel,(l||(l=d("LSIntEnum"))).ofNumber(c("LSAuthorityLevel").OPTIMISTIC))&&d("GroupsCometChatsEngagementLogger").log({action:"tap",event:"cancel_sidechat",source:"back_button",surface:"subthread_view",thread_id:(k||(k=d("I64"))).to_string(u==null?void 0:u.threadKey)}),r()},[r,u]);var x=c("useUnmuteSubthread.react")("mute_bell_button","subthread_view"),y=u!=null?(k||(k=d("I64"))).equal(u==null?void 0:u.authorityLevel,(l||(l=d("LSIntEnum"))).ofNumber(c("LSAuthorityLevel").OPTIMISTIC)):!1,z=b===!0?c("MWXIconCross"):c("Locale").isRTL()?c("MWXIconArrowRight"):c("MWXIconArrowLeft");b=b===!0?h._("__JHASH__gaxHiFwvIGk__JHASH__"):h._("__JHASH__wSyF3E_Fmrl__JHASH__");var A=h._("__JHASH__PRpVVhCY0yP__JHASH__",[h._param("thread title",a)]).toString(),B=m.jsx(c("MWXRowItem.react"),{"aria-label":A,expanding:!0,verticalAlign:"center",children:m.jsxs("div",{className:"x1cy8zhl x78zum5 xdt5ytf x1iyjqo2 xl56j7k xj9xw9b",style:e==null?{}:{"--primary-text":e},children:[m.jsx("div",{className:"x6s0dn4 x78zum5 x193iq5w",children:m.jsx(c("MWXText.react"),{align:"center",color:t,isSemanticHeading:!0,numberOfLines:1,type:g?"headlineEmphasized4":n?"headlineEmphasized5":"headlineEmphasized3",children:m.jsx("span",{className:(i||(i=c("stylex")))(g?o.align:null),children:typeof a==="string"?m.jsx(c("MWXMessageTextWithEntities.react"),{text:a,transforms:[].concat(d("MWChatTextTransform").textTransforms,[s()])}):a})})}),f!=null?m.jsxs(m.Fragment,{children:[m.jsx(c("MWVerticalRhythm"),{height:6}),m.jsx("div",{className:"x6s0dn4 x78zum5 x193iq5w",children:m.jsx(c("MWXText.react"),{align:"center",color:t,numberOfLines:1,type:"meta3",children:f})})]}):null]})});return m.jsxs(c("MWXRow.react"),{paddingHorizontal:g?0:12,paddingVertical:g?0:n?8:16,children:[m.jsx(c("MWXRowItem.react"),{children:m.jsx(c("MWXTooltip.react"),{align:"middle",position:"below",tooltip:b,children:m.jsx(c("MWXCircleButton.react"),{color:d("MWXThreadThemeColor").mwxThreadThemeColor("var(--mwp-header-button-color)"),icon:z,label:b,onPress:v,size:36,type:"deemphasized"})})}),!g||u==null?B:null,u!=null&&m.jsx(c("MWXRowItem.react"),{xstyle:g?o.rowItemChatTab:o.rowItem,children:m.jsx(c("MWXLazyPopoverTrigger.react"),{align:g?"middle":"end",popoverProps:{isChatTab:g,onClose:c("emptyFunction"),onDelete:r,thread:u},popoverResource:c("JSResourceForInteraction")("MWCMSubthreadSettingsMenu.react").__setRef("MWCMSubthreadHeader.react"),position:"below",children:function(a,b,e,f,h,i,k){return g?m.jsx(c("MWXTooltip.react"),{align:"end",position:"above",tooltip:p,children:m.jsxs(c("MWXPressable.react"),{disabled:y,onHoverIn:f,onHoverOut:h,onPress:function(){b()},onPressIn:i,overlayOffset:8,overlayRadius:"normal",ref:a,xstyle:o.settingsButton,children:[B,m.jsx(c("MWV2HeaderSettingsButtonChevron.react"),{xstyle:o.chevronIcon})]})}):m.jsxs(c("MWXRow.react"),{paddingHorizontal:0,paddingVertical:0,verticalAlign:"center",children:[q?m.jsx(c("MWXRowItem.react"),{xstyle:o.iconRow,children:m.jsx(c("MWXTooltip.react"),{align:"middle",position:"below",tooltip:j?d("SubthreadMuteStrings.react").unmuteLabel:d("SubthreadMuteStrings.react").muteLabel,children:m.jsx(c("MWXCircleButton.react"),{color:y?"tertiary":d("MWXThreadThemeColor").mwxThreadThemeColor("var(--mwp-header-button-color)"),disabled:y,icon:j?c("MWXIconBellCross"):c("MWXIconBell"),label:j?d("SubthreadMuteStrings.react").unmuteLabel:d("SubthreadMuteStrings.react").muteLabel,onPress:function(){j?x(u):w({surface:"subthread_view",threadKey:u.threadKey})},size:36,type:"deemphasized"})})}):null,m.jsx(c("MWXRowItem.react"),{xstyle:o.iconRow,children:m.jsx(c("MWXTooltip.react"),{align:"middle",position:"below",tooltip:p,children:m.jsx(c("MWXCircleButton.react"),{color:y?"tertiary":d("MWXThreadThemeColor").mwxThreadThemeColor("var(--mwp-header-button-color)"),disabled:y,icon:c("MWXIconDots3Horizontal"),label:p,onHoverIn:f,onHoverOut:h,onPress:b,onPressIn:i,ref:a,size:36,type:"deemphasized"})})})]})}})})]})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),226);
__d("MWCMSubthreadThreadViewContexts.react",["MAWEditMessageContext.react","MWCMIsSubthreadContext.react","MWChatFocusComposerContext","MWPReplyContext.react","MWThreadKey.react","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h||d("react");function a(a){var b=a.children;a=a.thread;return i.jsx("div",{"data-testid":void 0,children:i.jsx(d("MWPReplyContext.react").MWPReplyContextProvider,{children:i.jsx(d("MWThreadKey.react").MWThreadKeyProvider,{id:a.threadKey,isSubthread:!0,children:i.jsx(d("MWCMIsSubthreadContext.react").MWCMIsSubthreadContextProvider,{isSubthread:!0,children:i.jsx(d("MWChatFocusComposerContext").MWChatFocusComposerContextProvider,{children:i.jsx(d("MAWEditMessageContext.react").MAWEditMessageContext,{children:b})})})})})})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98);
__d("MWRelayChatTabHeaderCommunityGroupNameImpl_thread.graphql",[],(function(a,b,c,d,e,f){"use strict";a={argumentDefinitions:[],kind:"Fragment",metadata:{hasClientEdges:!0,throwOnFieldError:!0},name:"MWRelayChatTabHeaderCommunityGroupNameImpl_thread",selections:[{alias:"cannotReplyReason",args:null,kind:"ScalarField",name:"cannot_reply_reason",storageKey:null},{alias:"threadType",args:null,kind:"ScalarField",name:"thread_type",storageKey:null},{alias:"threadKey",args:null,kind:"ScalarField",name:"thread_key",storageKey:null},{alias:"folder",args:null,concreteType:"LS_CommunityFolder",kind:"LinkedField",name:"community_folder",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"name",storageKey:null}],storageKey:null}],type:"LS_Thread",abstractKey:null};e.exports=a}),null);
__d("MWRelayChatTabHeaderCommunityGroupName_thread.graphql",[],(function(a,b,c,d,e,f){"use strict";a={argumentDefinitions:[],kind:"Fragment",metadata:{throwOnFieldError:!0},name:"MWRelayChatTabHeaderCommunityGroupName_thread",selections:[{args:null,kind:"FragmentSpread",name:"MWRelayChatTabHeaderCommunityGroupNameImpl_thread"}],type:"LS_Thread",abstractKey:null};e.exports=a}),null);
__d("MWRelayChatTabHeaderCommunityGroupName.react",["fbt","CometPlaceholder.react","I64","LSRelayHooks","MWCMThreadTypes.react","MWRelayChatTabHeaderCommunityGroupNameImpl_thread.graphql","MWRelayChatTabHeaderCommunityGroupName_thread.graphql","PresenceStatusContext","cr:8940","react"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j,k,l,m=k||(k=d("react")),n=k.useContext;function o(a){a=a.thread$key;a=d("LSRelayHooks").useFragment(i!==void 0?i:i=b("MWRelayChatTabHeaderCommunityGroupNameImpl_thread.graphql"),a);var e=a.cannotReplyReason,f=a.folder,g=a.threadKey;a=a.threadType;f=f==null?void 0:f.name;var j=n(c("PresenceStatusContext"));g=(g=b("cr:8940")==null?void 0:b("cr:8940")(g))!=null?g:(l||(l=d("I64"))).neg_one;e=e==="broadcast_chat_read_only";var k=d("MWCMThreadTypes.react").isBroadcastThread(a)&&!e?h._("__JHASH__2Tijp2ORsFi__JHASH__"):d("MWCMThreadTypes.react").isPrivateThread(a)?h._("__JHASH__AR0EXhdbXqJ__JHASH__"):null;return f==null?null:(l||(l=d("I64"))).gt(g,(l||(l=d("I64"))).zero)&&j.getChatVisibility()?m.jsx(m.Fragment,{children:h._("__JHASH__zBhIvI5rTRs__JHASH__",[h._plural((l||(l=d("I64"))).to_int32(g),"number")])}):d("MWCMThreadTypes.react").isBroadcastThread(a)&&!e?m.jsxs(m.Fragment,{children:[k," ",k!=null?"\u2022":null," ",f]}):m.jsxs(m.Fragment,{children:[f," ",k!=null?"\u2022":null," ",k]})}o.displayName=o.name+" [from "+f.id+"]";function a(a){a=a.thread$key;a=d("LSRelayHooks").useFragment(j!==void 0?j:j=b("MWRelayChatTabHeaderCommunityGroupName_thread.graphql"),a);return m.jsx(c("CometPlaceholder.react"),{fallback:null,name:"MWCMInboxHeaderCommunityGroupName",children:m.jsx(o,{thread$key:a})})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),226);
__d("MWRelayChatTabHeaderDetails_thread.graphql",[],(function(a,b,c,d,e,f){"use strict";a={argumentDefinitions:[],kind:"Fragment",metadata:{hasClientEdges:!0,throwOnFieldError:!0},name:"MWRelayChatTabHeaderDetails_thread",selections:[{args:null,kind:"FragmentSpread",name:"MWRelayThreadTitle_thread"},{args:null,kind:"FragmentSpread",name:"MWRelayChatTabHeaderPresenceStatusText_thread"},{args:null,kind:"FragmentSpread",name:"MWRelayThreadVerificationBadge_thread"},{args:null,kind:"FragmentSpread",name:"MWRelayChatTabHeaderCommunityGroupName_thread"},{alias:"memberCount",args:null,kind:"ScalarField",name:"member_count",storageKey:null},{alias:"muteCallsExpireTimeMs",args:null,kind:"ScalarField",name:"mute_calls_expire_time_ms",storageKey:null},{alias:"muteExpireTimeMs",args:null,kind:"ScalarField",name:"mute_expire_time_ms",storageKey:null},{alias:"ongoingCallState",args:null,kind:"ScalarField",name:"ongoing_call_state",storageKey:null},{alias:"threadType",args:null,kind:"ScalarField",name:"thread_type",storageKey:null},{alias:"otherParticipant",args:null,concreteType:"LS_Participant",kind:"LinkedField",name:"other_participant",plural:!1,selections:[{alias:null,args:null,concreteType:"LS_Contact",kind:"LinkedField",name:"contact",plural:!1,selections:[{alias:"contactTypeExact",args:null,kind:"ScalarField",name:"contact_type_exact",storageKey:null},{alias:"secondaryName",args:null,kind:"ScalarField",name:"secondary_name",storageKey:null}],storageKey:null}],storageKey:null}],type:"LS_Thread",abstractKey:null};e.exports=a}),null);
__d("MWRelayChatTabHeaderPresenceStatusText_thread.graphql",[],(function(a,b,c,d,e,f){"use strict";a={argumentDefinitions:[],kind:"Fragment",metadata:{hasClientEdges:!0,throwOnFieldError:!0},name:"MWRelayChatTabHeaderPresenceStatusText_thread",selections:[{alias:"otherParticipants",args:null,concreteType:"LS_Participant",kind:"LinkedField",name:"other_participants_MAY_CAUSE_OVERFETCHING",plural:!0,selections:[{alias:"contactId",args:null,kind:"ScalarField",name:"contact_id",storageKey:null},{alias:null,args:null,concreteType:"LS_Contact",kind:"LinkedField",name:"contact",plural:!1,selections:[{alias:"contactTypeExact",args:null,kind:"ScalarField",name:"contact_type_exact",storageKey:null}],storageKey:null}],storageKey:null},{alias:"threadType",args:null,kind:"ScalarField",name:"thread_type",storageKey:null}],type:"LS_Thread",abstractKey:null};e.exports=a}),null);
__d("MWRelayChatTabHeaderPresenceStatusText.react",["LSPresenceStatusText.react","LSRelayHooks","MWRelayChatTabHeaderPresenceStatusText_thread.graphql","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j=i||d("react"),k=function(){return null},l=function(a){return a};function a(a){var e=a.renderNullState;e=e===void 0?k:e;var f=a.renderWrapper;f=f===void 0?l:f;a=a.thread$key;a=d("LSRelayHooks").useFragment(h!==void 0?h:h=b("MWRelayChatTabHeaderPresenceStatusText_thread.graphql"),a);var g=a==null?void 0:a.otherParticipants;a=a==null?void 0:a.threadType;if(g==null||a==null)return e();g=g.map(function(a){return(a==null?void 0:a.contactId)!=null?{contactID:a.contactId,contactTypeExact:(a=a.contact)==null?void 0:a.contactTypeExact}:null}).filter(Boolean);return j.jsx(c("LSPresenceStatusText.react"),{participants:g,renderNullState:e,renderWrapper:f,threadType:a})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98);
__d("MWRelayThreadTitle_thread.graphql",[],(function(a,b,c,d,e,f){"use strict";a={argumentDefinitions:[],kind:"Fragment",metadata:{throwOnFieldError:!0},name:"MWRelayThreadTitle_thread",selections:[{alias:"title",args:null,kind:"ScalarField",name:"computed_thread_title",storageKey:null},{alias:"threadName",args:null,kind:"ScalarField",name:"thread_name",storageKey:null}],type:"LS_Thread",abstractKey:null};e.exports=a}),null);
__d("MWRelayThreadTitle.react",["CometTextWithEntities.react","LSRelayHooks","MWChatTextTransform","MWRelayThreadTitle_thread.graphql","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j=i||d("react");function a(a){var e=a.thread$key;a=a.transforms;a=a===void 0?d("MWChatTextTransform").textTransforms:a;e=d("LSRelayHooks").useFragment(h!==void 0?h:h=b("MWRelayThreadTitle_thread.graphql"),e);var f=e.threadName;e=e.title;if(f!=null)return j.jsx(c("CometTextWithEntities.react"),{text:f,transforms:a});return e!=null?j.jsx(c("CometTextWithEntities.react"),{text:e,transforms:a}):null}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98);
__d("MWRelayContactVerificationBadge_contact.graphql",[],(function(a,b,c,d,e,f){"use strict";a={argumentDefinitions:[],kind:"Fragment",metadata:{throwOnFieldError:!0},name:"MWRelayContactVerificationBadge_contact",selections:[{alias:"isContactVerified",args:[{kind:"Literal",name:"capability",value:"VERIFIED"}],kind:"ScalarField",name:"has_capability",storageKey:'has_capability(capability:"VERIFIED")'}],type:"LS_Contact",abstractKey:null};e.exports=a}),null);
__d("MWRelayContactVerificationBadge.react",["CometPageVerificationIcon.react","LSRelayHooks","MWRelayContactVerificationBadge_contact.graphql","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j=i||d("react");function a(a){var e=a.contact$key,f=a.icon;a=a.size;e=d("LSRelayHooks").useFragment(h!==void 0?h:h=b("MWRelayContactVerificationBadge_contact.graphql"),e);e=e.isContactVerified;if(!e)return null;if(f!=null)return j.jsx("span",{className:"xurb0ha",children:f});return a!=null?j.jsx("span",{className:"xurb0ha",children:j.jsx(c("CometPageVerificationIcon.react"),{size:a,verificationBadge:"BLUE_VERIFIED"})}):null}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98);
__d("MWRelayThreadVerificationBadge_thread.graphql",[],(function(a,b,c,d,e,f){"use strict";a={argumentDefinitions:[],kind:"Fragment",metadata:{hasClientEdges:!0,throwOnFieldError:!0},name:"MWRelayThreadVerificationBadge_thread",selections:[{alias:"otherParticipantOrSelf",args:null,concreteType:"LS_Participant",kind:"LinkedField",name:"other_participant_or_self",plural:!1,selections:[{alias:null,args:null,concreteType:"LS_Contact",kind:"LinkedField",name:"contact",plural:!1,selections:[{args:null,kind:"FragmentSpread",name:"MWRelayContactVerificationBadge_contact"}],storageKey:null}],storageKey:null}],type:"LS_Thread",abstractKey:null};e.exports=a}),null);
__d("MWRelayThreadVerificationBadge.react",["LSRelayHooks","MWRelayContactVerificationBadge.react","MWRelayThreadVerificationBadge_thread.graphql","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j=i||d("react");function a(a){var e,f=a.icon,g=a.size;a=a.thread$key;a=d("LSRelayHooks").useFragment(h!==void 0?h:h=b("MWRelayThreadVerificationBadge_thread.graphql"),a);return((e=a.otherParticipantOrSelf)==null?void 0:e.contact)==null?null:j.jsx(c("MWRelayContactVerificationBadge.react"),{contact$key:a.otherParticipantOrSelf.contact,icon:(e=f)!=null?e:void 0,size:(a=g)!=null?a:void 0})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98);
__d("MWRelayChatTabHeaderDetails.react",["fbt","BaseMiddot.react","CometPlaceholder.react","I64","LSIntEnum","LSMessagingThreadTypeUtil","LSRelayHooks","LSRtcCallState","MWCMThreadTypes.react","MWChatHeaderDetailsSubtitleMutedIcon.react","MWLSContactTypeExactUtils","MWRelayChatTabHeaderCommunityGroupName.react","MWRelayChatTabHeaderDetails_thread.graphql","MWRelayChatTabHeaderPresenceStatusText.react","MWRelayThreadTitle.react","MWRelayThreadVerificationBadge.react","MWSeparatorContainer.react","MWVerticalRhythm","MWXText.react","MessengerMuteUtils","cr:112","cr:4703","react","useMWChatCalculateIsMutedFromExpireTime"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j,k,l,m=j||d("react"),n={item:{alignItems:"x6s0dn4",display:"x78zum5",maxWidth:"x193iq5w",$$css:!0}};function o(a){a=a.children;return m.jsx(c("MWXText.react"),{align:"center",numberOfLines:1,type:"meta3",children:m.jsx("div",{className:"x1dyh7pn",children:a})})}o.displayName=o.name+" [from "+f.id+"]";function a(a){var e=a.thread$key;a=a.threadNameSize;e=d("LSRelayHooks").useFragment(i!==void 0?i:i=b("MWRelayChatTabHeaderDetails_thread.graphql"),e);var f=e.memberCount,g=e.muteCallsExpireTimeMs,j=e.muteExpireTimeMs,p=e.ongoingCallState,q=e.otherParticipant,r=e.threadType;q=q==null?void 0:q.contact;var s=q!=null&&d("MWLSContactTypeExactUtils").isIgContact(q.contactTypeExact)?q.secondaryName:null;q=d("MWCMThreadTypes.react").isJoinedCMThread(r);var t=d("LSMessagingThreadTypeUtil").isJoinedSocialChannel(r);g=d("MessengerMuteUtils").calcMuteUntilMs({muteCallsExpireTimeMs:g,muteExpireTimeMs:j,threadType:r});var u=c("useMWChatCalculateIsMutedFromExpireTime")(g);j=!(k||(k=d("I64"))).equal(p,(l||(l=d("LSIntEnum"))).ofNumber(c("LSRtcCallState").NO_ONGOING_CALL));g=d("LSMessagingThreadTypeUtil").isDiscoverablePublicBroadcastChannel(r);p=d("LSMessagingThreadTypeUtil").isDiscoverableChannel(r);var v=m.jsx("div",{className:"x1k2j06m x10ogl3i",children:m.jsx(o,{children:m.jsx(c("BaseMiddot.react"),{})})});return m.jsxs("div",{className:"x1cy8zhl x78zum5 xdt5ytf x1iyjqo2 xl56j7k xj9xw9b",children:[m.jsx("div",{className:"x6s0dn4 x78zum5 x193iq5w",children:m.jsx(c("MWXText.react"),{align:"center",isSemanticHeading:!0,numberOfLines:1,testid:void 0,type:a,children:m.jsxs("span",{className:"xxymvpz x1dyh7pn",children:[m.jsx(c("MWRelayThreadTitle.react"),{thread$key:e}),m.jsx(c("CometPlaceholder.react"),{fallback:null,children:!p&&!q&&m.jsx(c("MWRelayThreadVerificationBadge.react"),{size:"small",thread$key:e})})]})})}),g&&b("cr:112")?m.jsxs(m.Fragment,{children:[m.jsx(c("MWVerticalRhythm"),{height:8}),m.jsx(o,{children:m.jsx(b("cr:112"),{memberCount:f!=null?(k||(k=d("I64"))).to_int32(f):0})})]}):t?b("cr:4703")!=null&&f!=null?m.jsxs(m.Fragment,{children:[m.jsx(c("MWVerticalRhythm"),{height:8}),m.jsx(o,{children:m.jsx(b("cr:4703"),{count:(k||(k=d("I64"))).to_int32(f)})})]}):null:q?m.jsxs(c("CometPlaceholder.react"),{fallback:m.jsx(c("MWVerticalRhythm"),{height:15}),name:"MWRelayChatTabHeaderCommunityGroupName",children:[m.jsx(c("MWVerticalRhythm"),{height:6}),m.jsx("div",{className:"x6s0dn4 x78zum5 x193iq5w","data-testid":void 0,children:m.jsx(o,{children:m.jsx(c("MWRelayChatTabHeaderCommunityGroupName.react"),{thread$key:e})})})]}):j?m.jsxs(m.Fragment,{children:[m.jsx(c("MWVerticalRhythm"),{height:6}),m.jsxs(c("MWSeparatorContainer.react"),{separator:v,xstyle:n.item,children:[s!=null?m.jsx(o,{children:s}):null,m.jsx(o,{children:h._("__JHASH__vQgw_4Xpge6__JHASH__")}),u?m.jsx(c("MWChatHeaderDetailsSubtitleMutedIcon.react"),{forceInlineDisplay:!0}):null]})]}):m.jsx(c("MWRelayChatTabHeaderPresenceStatusText.react"),{renderNullState:function(){return m.jsxs(c("MWSeparatorContainer.react"),{beforeContent:m.jsx(c("MWVerticalRhythm"),{height:6}),separator:v,xstyle:n.item,children:[s!=null?m.jsxs(o,{children:[" ",s," "]}):null,u?m.jsx(c("MWChatHeaderDetailsSubtitleMutedIcon.react"),{forceInlineDisplay:!0}):null]})},renderWrapper:function(a){return m.jsxs(m.Fragment,{children:[m.jsx(c("MWVerticalRhythm"),{height:6}),m.jsxs(c("MWSeparatorContainer.react"),{separator:v,xstyle:n.item,children:[s!==null?m.jsx(o,{children:s}):null,m.jsx(o,{children:a}),u?m.jsx(c("MWChatHeaderDetailsSubtitleMutedIcon.react"),{forceInlineDisplay:!0}):null]})]})},thread$key:e})]})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),226);
__d("MWRelayChatTabHeaderDetailsContainer_thread.graphql",[],(function(a,b,c,d,e,f){"use strict";a={argumentDefinitions:[],kind:"Fragment",metadata:{throwOnFieldError:!0},name:"MWRelayChatTabHeaderDetailsContainer_thread",selections:[{alias:null,args:null,kind:"ScalarField",name:"thread_type",storageKey:null},{args:null,kind:"FragmentSpread",name:"MWRelayChatTabHeaderPicture_thread"},{args:null,kind:"FragmentSpread",name:"MWRelayChatTabHeaderDetails_thread"},{args:null,kind:"FragmentSpread",name:"MWRelayChatTabHeaderDetailsPressable_thread"}],type:"LS_Thread",abstractKey:null};e.exports=a}),null);
__d("MWRelayChatTabHeaderDetailsPressableForGroupChat_thread.graphql",[],(function(a,b,c,d,e,f){"use strict";a={argumentDefinitions:[],kind:"Fragment",metadata:{hasClientEdges:!0,throwOnFieldError:!0},name:"MWRelayChatTabHeaderDetailsPressableForGroupChat_thread",selections:[{alias:"headerDescribedBy",args:null,kind:"ScalarField",name:"header_aria_description",storageKey:null},{alias:"threadType",args:null,kind:"ScalarField",name:"thread_type",storageKey:null},{alias:"folder",args:null,concreteType:"LS_CommunityFolder",kind:"LinkedField",name:"community_folder",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"__lightspeed_table_row",storageKey:null}],storageKey:null}],type:"LS_Thread",abstractKey:null};e.exports=a}),null);
__d("MWRelayChatTabHeaderDetailsPressableForOneToOneChat_thread.graphql",[],(function(a,b,c,d,e,f){"use strict";a={argumentDefinitions:[],kind:"Fragment",metadata:{hasClientEdges:!0,throwOnFieldError:!0},name:"MWRelayChatTabHeaderDetailsPressableForOneToOneChat_thread",selections:[{alias:"hasThreadDetailsProfileButtonCapability",args:[{kind:"Literal",name:"capability",value:"THREAD_DETAILS_PROFILE_BUTTON"}],kind:"ScalarField",name:"has_capability",storageKey:'has_capability(capability:"THREAD_DETAILS_PROFILE_BUTTON")'},{alias:"threadType",args:null,kind:"ScalarField",name:"thread_type",storageKey:null},{alias:"otherParticipantOrSelf",args:null,concreteType:"LS_Participant",kind:"LinkedField",name:"other_participant_or_self",plural:!1,selections:[{alias:null,args:null,concreteType:"LS_Contact",kind:"LinkedField",name:"contact",plural:!1,selections:[{args:null,kind:"FragmentSpread",name:"MWRelayContactLink_contact"},{alias:null,args:null,kind:"ScalarField",name:"name",storageKey:null}],storageKey:null}],storageKey:null}],type:"LS_Thread",abstractKey:null};e.exports=a}),null);
__d("MWRelayChatTabHeaderDetailsPressable_thread.graphql",[],(function(a,b,c,d,e,f){"use strict";a={argumentDefinitions:[],kind:"Fragment",metadata:{throwOnFieldError:!0},name:"MWRelayChatTabHeaderDetailsPressable_thread",selections:[{args:null,kind:"FragmentSpread",name:"MWRelayChatTabHeaderDetailsPressableForOneToOneChat_thread"},{args:null,kind:"FragmentSpread",name:"MWRelayChatTabHeaderDetailsPressableForGroupChat_thread"},{alias:"hasMemberListCapability",args:[{kind:"Literal",name:"capability",value:"MEMBER_LIST"}],kind:"ScalarField",name:"has_capability",storageKey:'has_capability(capability:"MEMBER_LIST")'},{alias:"threadSubtype",args:null,kind:"ScalarField",name:"thread_subtype",storageKey:null},{alias:"threadType",args:null,kind:"ScalarField",name:"thread_type",storageKey:null}],type:"LS_Thread",abstractKey:null};e.exports=a}),null);
__d("MWRelayContactLink_contact.graphql",[],(function(a,b,c,d,e,f){"use strict";a={argumentDefinitions:[],kind:"Fragment",metadata:{throwOnFieldError:!0},name:"MWRelayContactLink_contact",selections:[{alias:"blockedByViewerStatus",args:null,kind:"ScalarField",name:"blocked_by_viewer_status",storageKey:null},{alias:"contactTypeExact",args:null,kind:"ScalarField",name:"contact_type_exact",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"id_",storageKey:null},{alias:"secondaryName",args:null,kind:"ScalarField",name:"secondary_name",storageKey:null}],type:"LS_Contact",abstractKey:null};e.exports=a}),null);
__d("MWRelayContactLink.react",["CurrentEnvironment","LSRelayHooks","MWLSContactTypeExactUtils","MWRelayContactLink_contact.graphql","MWXLink.react","MWXPressable.react","getLSContactHref","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j=i||d("react"),k={expanding:{display:"x78zum5",$$css:!0}};function a(a){var e=a.children,f=a.contact$key,g=a.isText;g=g===void 0?!0:g;var i=a.label;a=a.testid;a=d("LSRelayHooks").useFragment(h!==void 0?h:h=b("MWRelayContactLink_contact.graphql"),f);f=a.blockedByViewerStatus;var l=a.contactTypeExact,m=a.id_;a=a.secondaryName;m=c("getLSContactHref")({blockedByViewerStatus:f,contactTypeExact:l,id:m,secondaryName:(f=a)!=null?f:void 0});a=d("MWLSContactTypeExactUtils").isIgContact(l);f=!c("CurrentEnvironment").facebookdotcom||a?"_blank":void 0;return g?j.jsx(c("MWXLink.react"),{href:m,label:i,target:f,testid:void 0,children:e}):j.jsx(c("MWXPressable.react"),{expanding:!0,label:i,linkProps:{target:f,url:m},overlayRadius:"normal",testid:void 0,xstyle:k.expanding,children:e})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98);
__d("MWRelayChatTabHeaderDetailsPressable.react",["fbt","CometPressable.react","FBLogger","I64","LSMessagingThreadTypeUtil","LSRelayHooks","MWLSGroupMembershipDialog.entrypoint","MWRelayChatTabHeaderDetailsPressableForGroupChat_thread.graphql","MWRelayChatTabHeaderDetailsPressableForOneToOneChat_thread.graphql","MWRelayChatTabHeaderDetailsPressable_thread.graphql","MWRelayContactLink.react","MWXTooltip.react","gkx","react","useMWXEntryPointDialog"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j,k,l,m,n=l||(l=d("react")),o=l.useRef,p={title:{maxWidth:"x193iq5w",$$css:!0}};function q(a){var e,f=a.children,g=a.isContainerPressable;a=a.thread$key;a=d("LSRelayHooks").useFragment(i!==void 0?i:i=b("MWRelayChatTabHeaderDetailsPressableForGroupChat_thread.graphql"),a);var j=a.folder;a=a.headerDescribedBy;var k=o(null);e=c("useMWXEntryPointDialog")(c("MWLSGroupMembershipDialog.entrypoint"),{groupID:(m||(m=d("I64"))).to_string((e=j==null?void 0:(e=j.__lightspeed_table_row)==null?void 0:e.fbGroupId)!=null?e:(m||(m=d("I64"))).zero)});var l=e[0];return n.jsx(c("CometPressable.react"),{"aria-label":a,onPress:function(){var a;return l({folder:(a=j==null?void 0:j.__lightspeed_table_row)!=null?a:void 0})},overlayDisabled:!0,ref:k,xstyle:p.title,children:!g&&c("gkx")("721")?n.jsx(c("MWXTooltip.react"),{align:"middle",position:"above",tooltip:h._("__JHASH__wznzOkogZnD__JHASH__"),children:f}):f})}q.displayName=q.name+" [from "+f.id+"]";function r(a){var e=a.children,f=a.isContainerPressable;a=a.thread$key;a=d("LSRelayHooks").useFragment(j!==void 0?j:j=b("MWRelayChatTabHeaderDetailsPressableForOneToOneChat_thread.graphql"),a);var g=a==null?void 0:a.otherParticipantOrSelf;d("LSMessagingThreadTypeUtil").isOneToOne(a.threadType)&&g==null&&c("FBLogger")("meteora").warn("Missing other participant in one-to-one thread.");if((g==null?void 0:g.contact)==null||!(a==null?void 0:a.hasThreadDetailsProfileButtonCapability))return e;a=g.contact.name;return n.jsx(c("MWRelayContactLink.react"),{contact$key:g.contact,isText:!1,label:a,children:!f&&c("gkx")("721")?n.jsx(c("MWXTooltip.react"),{align:"middle",position:"above",tooltip:a,children:e}):e})}r.displayName=r.name+" [from "+f.id+"]";function a(a){var c=a.children,e=a.isContainerPressable;a=a.thread$key;a=d("LSRelayHooks").useFragment(k!==void 0?k:k=b("MWRelayChatTabHeaderDetailsPressable_thread.graphql"),a);var f=a.hasMemberListCapability,g=a.threadSubtype,h=a.threadType;if(d("LSMessagingThreadTypeUtil").isBusinessSupportThread((g=g)!=null?g:void 0))return c;if(d("LSMessagingThreadTypeUtil").isOneToOne(h))return n.jsx(r,{isContainerPressable:e,thread$key:a,children:c});return d("LSMessagingThreadTypeUtil").isGroup(h)&&f?n.jsx(q,{isContainerPressable:e,thread$key:a,children:c}):c}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),226);
__d("MWPRelayPresenceBadge_thread.graphql",[],(function(a,b,c,d,e,f){"use strict";a={argumentDefinitions:[],kind:"Fragment",metadata:{throwOnFieldError:!0},name:"MWPRelayPresenceBadge_thread",selections:[{args:null,kind:"FragmentSpread",name:"useMWRelayMQTTPresence_thread"}],type:"LS_Thread",abstractKey:null};e.exports=a}),null);
__d("useMWRelayMQTTPresence_thread.graphql",[],(function(a,b,c,d,e,f){"use strict";a={argumentDefinitions:[],kind:"Fragment",metadata:{hasClientEdges:!0,throwOnFieldError:!0},name:"useMWRelayMQTTPresence_thread",selections:[{alias:"otherParticipants",args:null,concreteType:"LS_Participant",kind:"LinkedField",name:"other_participants_MAY_CAUSE_OVERFETCHING",plural:!0,selections:[{alias:"contactId",args:null,kind:"ScalarField",name:"contact_id",storageKey:null}],storageKey:null}],type:"LS_Thread",abstractKey:null};e.exports=a}),null);
__d("useMWRelayMQTTPresence",["LSRelayHooks","useMWChatHasActiveContact","useMWRelayMQTTPresence_thread.graphql"],(function(a,b,c,d,e,f,g){"use strict";var h;function a(a){a=d("LSRelayHooks").useFragment(h!==void 0?h:h=b("useMWRelayMQTTPresence_thread.graphql"),a);a=a.otherParticipants;return d("useMWChatHasActiveContact").useMWChatHasActiveContact((a=a==null?void 0:a.map(function(a){a=a.contactId;return a}))!=null?a:[])}g["default"]=a}),98);
__d("MWPRelayPresenceBadge.react",["LSRelayHooks","MWPPresenceBadge.react","MWPRelayPresenceBadge_thread.graphql","react","useMWRelayMQTTPresence"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j=i||d("react");function a(a){var e=a.size;a=a.thread$key;a=d("LSRelayHooks").useFragment(h!==void 0?h:h=b("MWPRelayPresenceBadge_thread.graphql"),a);a=c("useMWRelayMQTTPresence")(a);return j.jsx(c("MWPPresenceBadge.react"),{isActiveStatePresence:a,size:e})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98);
__d("MWRelayChatTabHeaderCustomPicture_thread.graphql",[],(function(a,b,c,d,e,f){"use strict";a={argumentDefinitions:[],kind:"Fragment",metadata:{throwOnFieldError:!0},name:"MWRelayChatTabHeaderCustomPicture_thread",selections:[{args:null,kind:"FragmentSpread",name:"MWPRelayPresenceBadge_thread"},{kind:"RequiredField",field:{alias:"threadTitle",args:null,kind:"ScalarField",name:"computed_thread_title",storageKey:null},action:"LOG",path:"threadTitle"}],type:"LS_Thread",abstractKey:null};e.exports=a}),null);
__d("MWRelayChatTabHeaderCustomPicture.react",["CometPlaceholder.react","FDSFacepilePhoto.react","LSRelayHooks","MWPRelayPresenceBadge.react","MWRelayChatTabHeaderCustomPicture_thread.graphql","react","translatedServerString"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j=i||d("react");function a(a){var e,f=a.badgeSize,g=a.photoSize,i=a.thread$key,k=a.threadPictureUrl;a=a.withAltText;i=d("LSRelayHooks").useFragment(h!==void 0?h:h=b("MWRelayChatTabHeaderCustomPicture_thread.graphql"),i);e=(e=i)!=null?e:{};e=e.threadTitle;f=i!=null?j.jsx(c("CometPlaceholder.react"),{fallback:null,children:j.jsx(c("MWPRelayPresenceBadge.react"),{size:f,thread$key:i})}):null;return j.jsx(c("FDSFacepilePhoto.react"),{badge:f,label:a===!0&&e!=null?c("translatedServerString")(e):void 0,size:g,sources:[{alt:a===!0&&e!=null?c("translatedServerString")(e):void 0,disabled:!1,source:k}],totalItems:1})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98);
__d("MWRelayChatTabHeaderCustomPictureCommunity_communityFolder.graphql",[],(function(a,b,c,d,e,f){"use strict";a={argumentDefinitions:[],kind:"Fragment",metadata:{throwOnFieldError:!0},name:"MWRelayChatTabHeaderCustomPictureCommunity_communityFolder",selections:[{alias:"pictureUrl",args:null,kind:"ScalarField",name:"picture_url",storageKey:null},{alias:"pictureUrlExpirationTimestampMs",args:null,kind:"ScalarField",name:"picture_url_expiration_timestamp_ms",storageKey:null},{alias:"pictureUrlFallback",args:null,kind:"ScalarField",name:"picture_url_fallback",storageKey:null}],type:"LS_CommunityFolder",abstractKey:null};e.exports=a}),null);
__d("MWRelayChatTabHeaderCustomPictureCommunity.react",["LSRelayHooks","MWCMThreadPictureCustomThreadCommunity.react","MWRelayChatTabHeaderCustomPictureCommunity_communityFolder.graphql","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j=i||d("react");function a(a){a.badgeSize;var e=a.communityFolder$key,f=a.photoSize;a=a.threadPictureUrl;e=d("LSRelayHooks").useFragment(h!==void 0?h:h=b("MWRelayChatTabHeaderCustomPictureCommunity_communityFolder.graphql"),e);var g=e.pictureUrl,i=e.pictureUrlExpirationTimestampMs;e=e.pictureUrlFallback;return j.jsx(c("MWCMThreadPictureCustomThreadCommunity.react"),{community:{pictureUrl:(g=g)!=null?g:void 0,pictureUrlExpirationTimestampMs:(g=i)!=null?g:void 0,pictureUrlFallback:(i=e)!=null?i:void 0},photoSize:f,threadPictureUrl:a})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98);
__d("MWRelayChatTabHeaderFacepile_thread.graphql",[],(function(a,b,c,d,e,f){"use strict";a={argumentDefinitions:[],kind:"Fragment",metadata:{throwOnFieldError:!0},name:"MWRelayChatTabHeaderFacepile_thread",selections:[{args:null,kind:"FragmentSpread",name:"MWPRelayPresenceBadge_thread"},{alias:"threadType",args:null,kind:"ScalarField",name:"thread_type",storageKey:null},{alias:"threadKey",args:null,kind:"ScalarField",name:"thread_key",storageKey:null}],type:"LS_Thread",abstractKey:null};e.exports=a}),null);
__d("MWRelayChatTabHeaderFacepile.react",["CometPlaceholder.react","LSRelayHooks","MWFacepile.react","MWPRelayPresenceBadge.react","MWRelayChatTabHeaderFacepile_thread.graphql","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j=i||d("react");function a(a){var e=a.ariaHidden,f=a.badgeSize,g=a.label,i=a.onlyAuthoratitiveContacts;i=i===void 0?!1:i;var k=a.photoSize;k=k===void 0?32:k;var l=a.thread$key;a=a.withAltText;a=a===void 0?!0:a;l=d("LSRelayHooks").useFragment(h!==void 0?h:h=b("MWRelayChatTabHeaderFacepile_thread.graphql"),l);var m=l.threadKey,n=l.threadType;f=j.jsx(c("CometPlaceholder.react"),{fallback:null,children:j.jsx(c("MWPRelayPresenceBadge.react"),{size:f,thread$key:l})});return j.jsx(c("MWFacepile.react"),{actualBadge:f,ariaHidden:e,label:g,onlyAuthoratitiveContacts:i,photoSize:k,threadKey:m,threadType:n,withAltText:a})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98);
__d("MWRelayChatTabHeaderPicture_thread.graphql",[],(function(a,b,c,d,e,f){"use strict";a={argumentDefinitions:[],kind:"Fragment",metadata:{hasClientEdges:!0,throwOnFieldError:!0},name:"MWRelayChatTabHeaderPicture_thread",selections:[{args:null,kind:"FragmentSpread",name:"MWRelayChatTabHeaderFacepile_thread"},{args:null,kind:"FragmentSpread",name:"MWRelayChatTabHeaderCustomPicture_thread"},{alias:"folder",args:null,concreteType:"LS_CommunityFolder",kind:"LinkedField",name:"community_folder",plural:!1,selections:[{args:null,kind:"FragmentSpread",name:"MWRelayChatTabHeaderCustomPictureCommunity_communityFolder"}],storageKey:null},{alias:"threadPictureUrl",args:null,kind:"ScalarField",name:"thread_picture_url",storageKey:null},{alias:"threadPictureUrlExpirationTimestampMs",args:null,kind:"ScalarField",name:"thread_picture_url_expiration_timestamp_ms",storageKey:null},{alias:"threadPictureUrlFallback",args:null,kind:"ScalarField",name:"thread_picture_url_fallback",storageKey:null}],type:"LS_Thread",abstractKey:null};e.exports=a}),null);
__d("MWRelayChatTabHeaderPicture.react",["LSRelayHooks","MWRelayChatTabHeaderCustomPicture.react","MWRelayChatTabHeaderCustomPictureCommunity.react","MWRelayChatTabHeaderFacepile.react","MWRelayChatTabHeaderPicture_thread.graphql","getLSMediaThreadPictureUrl","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j=i||d("react");function a(a){var e=a.ariaHidden,f=a.badgeSize,g=a.photoSize;a=a.thread$key;a=d("LSRelayHooks").useFragment(h!==void 0?h:h=b("MWRelayChatTabHeaderPicture_thread.graphql"),a);var i=a.folder,k=a.threadPictureUrl,l=a.threadPictureUrlExpirationTimestampMs,m=a.threadPictureUrlFallback;k=c("getLSMediaThreadPictureUrl")({threadPictureUrl:(k=k)!=null?k:void 0,threadPictureUrlExpirationTimestampMs:(k=l)!=null?k:void 0,threadPictureUrlFallback:(l=m)!=null?l:void 0});return k!=null?i!=null?j.jsx(c("MWRelayChatTabHeaderCustomPictureCommunity.react"),{badgeSize:f,communityFolder$key:i,photoSize:g,threadPictureUrl:k}):j.jsx(c("MWRelayChatTabHeaderCustomPicture.react"),{badgeSize:f,photoSize:g,thread$key:a,threadPictureUrl:k}):j.jsx(c("MWRelayChatTabHeaderFacepile.react"),{ariaHidden:e,badgeSize:f,photoSize:g,thread$key:a})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98);
__d("MWRelayChatTabHeaderDetailsContainer.react",["CometPlaceholder.react","Int64Hooks","LSRelayHooks","MWRelayChatTabHeaderDetails.react","MWRelayChatTabHeaderDetailsContainer_thread.graphql","MWRelayChatTabHeaderDetailsPressable.react","MWRelayChatTabHeaderPicture.react","MWXRow.react","MWXRowItem.react","MWXTooltip.react","getMWV2HeaderSettingsPopoverTooltip","gkx","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j=i||(i=d("react"));e=i.memo;var k={detailsContainer:{paddingStart:"x1h0ha7o",paddingLeft:null,paddingRight:null,$$css:!0}};function a(a){var e=a.badgeSize;e=e===void 0?10:e;var f=a.isContainerPressable;f=f===void 0?!0:f;var g=a.photoSize;g=g===void 0?40:g;var i=a.thread$key;a=a.threadNameSize;a=a===void 0?"headlineEmphasized3":a;i=d("LSRelayHooks").useFragment(h!==void 0?h:h=b("MWRelayChatTabHeaderDetailsContainer_thread.graphql"),i);var l=c("getMWV2HeaderSettingsPopoverTooltip")({threadType:i.thread_type});e=j.jsx(c("MWXRowItem.react"),{children:j.jsx(c("MWRelayChatTabHeaderPicture.react"),{badgeSize:e,photoSize:g,thread$key:i})});g=j.jsx(c("MWXRowItem.react"),{expanding:!0,xstyle:k.detailsContainer,children:!f&&c("gkx")("721")?j.jsx(c("MWXTooltip.react"),{align:"middle",position:"above",tooltip:l,children:j.jsx(c("MWRelayChatTabHeaderDetails.react"),{thread$key:i,threadNameSize:a})}):j.jsx(c("MWRelayChatTabHeaderDetails.react"),{thread$key:i,threadNameSize:a})});return j.jsx(c("MWXRow.react"),{expanding:!0,paddingHorizontal:0,paddingVertical:0,verticalAlign:"center",children:j.jsx(c("CometPlaceholder.react"),{fallback:null,children:f?j.jsxs(c("MWRelayChatTabHeaderDetailsPressable.react"),{isContainerPressable:f,thread$key:i,children:[e,g]}):j.jsxs(j.Fragment,{children:[j.jsx(c("MWRelayChatTabHeaderDetailsPressable.react"),{isContainerPressable:f,thread$key:i,children:e}),g]})})})}a.displayName=a.name+" [from "+f.id+"]";f=e(a,d("Int64Hooks").mostlyShallowEqual);g["default"]=f}),98);
__d("MWRelayChatRTCButtons_root.graphql",[],(function(a,b,c,d,e,f){"use strict";a={argumentDefinitions:[],kind:"Fragment",metadata:null,name:"MWRelayChatRTCButtons_root",selections:[{args:null,kind:"FragmentSpread",name:"useLSRelayCanCall_root"}],type:"LSRoot",abstractKey:null};e.exports=a}),null);
__d("MWRelayChatRTCButtons_thread.graphql",[],(function(a,b,c,d,e,f){"use strict";a={argumentDefinitions:[],kind:"Fragment",metadata:{throwOnFieldError:!0},name:"MWRelayChatRTCButtons_thread",selections:[{alias:"threadKey",args:null,kind:"ScalarField",name:"thread_key",storageKey:null},{alias:"ongoingCallState",args:null,kind:"ScalarField",name:"ongoing_call_state",storageKey:null},{args:null,kind:"FragmentSpread",name:"useLSRelayStartGroupCall_thread"},{args:null,kind:"FragmentSpread",name:"useLSRelayIsActive_thread"},{args:null,kind:"FragmentSpread",name:"useLSRelayCanCall_thread"}],type:"LS_Thread",abstractKey:null};e.exports=a}),null);
__d("useLSRelayCanCallOneToOne_thread.graphql",[],(function(a,b,c,d,e,f){"use strict";a={argumentDefinitions:[],kind:"Fragment",metadata:{hasClientEdges:!0,throwOnFieldError:!0},name:"useLSRelayCanCallOneToOne_thread",selections:[{alias:"isPage",args:null,kind:"ScalarField",name:"computed_is_page",storageKey:null},{alias:"isSecure",args:null,kind:"ScalarField",name:"is_secure_thread",storageKey:null},{alias:null,args:null,concreteType:"LS_Participant",kind:"LinkedField",name:"other_participant",plural:!1,selections:[{alias:null,args:null,concreteType:"LS_Contact",kind:"LinkedField",name:"contact",plural:!1,selections:[{alias:"blockedSinceTimestampMs",args:null,kind:"ScalarField",name:"blocked_since_timestamp_ms",storageKey:null},{alias:"hasRTCVoiceCallCapability",args:[{kind:"Literal",name:"capability",value:"RTC_VOICE_CALL"}],kind:"ScalarField",name:"has_capability",storageKey:'has_capability(capability:"RTC_VOICE_CALL")'},{alias:"hasRTCVideoCallCapability",args:[{kind:"Literal",name:"capability",value:"RTC_VIDEO_CALL"}],kind:"ScalarField",name:"has_capability",storageKey:'has_capability(capability:"RTC_VIDEO_CALL")'},{alias:"hasMessageCapability",args:[{kind:"Literal",name:"capability",value:"MESSAGE"}],kind:"ScalarField",name:"has_capability",storageKey:'has_capability(capability:"MESSAGE")'},{alias:"hasReplyMessageCapability",args:[{kind:"Literal",name:"capability",value:"REPLY_MESSAGE"}],kind:"ScalarField",name:"has_capability",storageKey:'has_capability(capability:"REPLY_MESSAGE")'}],storageKey:null}],storageKey:null},{alias:"isBlockedByViewer",args:null,kind:"ScalarField",name:"is_blocked_by_viewer",storageKey:null}],type:"LS_Thread",abstractKey:null};e.exports=a}),null);
__d("useLSRelayCanCallOneToOne",["LSRelayHooks","gkx","useLSRelayCanCallOneToOne_thread.graphql"],(function(a,b,c,d,e,f,g){"use strict";var h;function a(a){a=d("LSRelayHooks").useFragment(h!==void 0?h:h=b("useLSRelayCanCallOneToOne_thread.graphql"),a);var e=a.isBlockedByViewer,f=a.isPage,g=a.isSecure;a=a.other_participant;if(e===!0)return[!1,!1];e=(e=a==null?void 0:a.contact)!=null?e:{hasMessageCapability:!0,hasReplyMessageCapability:!0,hasRTCVideoCallCapability:!0,hasRTCVoiceCallCapability:!0};var i=e.blockedSinceTimestampMs,j=e.hasMessageCapability,k=e.hasReplyMessageCapability,l=e.hasRTCVideoCallCapability;e=e.hasRTCVoiceCallCapability;if(f!==!0){f=g===!0&&(a==null?void 0:a.contact)!=null&&i==null&&(j!==!0||k!==!0);return[!f,!f]}if(c("gkx")("23431")){return[(g=e)!=null?g:!0,(a=l)!=null?a:!0]}return[!1,!1]}g["default"]=a}),98);
__d("useLSRelayCanCall_root.graphql",[],(function(a,b,c,d,e,f){"use strict";a={argumentDefinitions:[],kind:"Fragment",metadata:{hasClientEdges:!0},name:"useLSRelayCanCall_root",selections:[{alias:null,args:null,concreteType:"LS_Viewer",kind:"LinkedField",name:"viewer",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"is_read_only_feature_limited",storageKey:null}],storageKey:null}],type:"LSRoot",abstractKey:null};e.exports=a}),null);
__d("useLSRelayCanCall_thread.graphql",[],(function(a,b,c,d,e,f){"use strict";a={argumentDefinitions:[],kind:"Fragment",metadata:{throwOnFieldError:!0},name:"useLSRelayCanCall_thread",selections:[{alias:"hasMessageRange",args:null,kind:"ScalarField",name:"computed_has_messages_ranges_v2",storageKey:null},{alias:"viewerPartOfGroup",args:null,kind:"ScalarField",name:"is_viewer_participant",storageKey:null},{alias:"threadType",args:null,kind:"ScalarField",name:"thread_type",storageKey:null},{alias:"folderName",args:null,kind:"ScalarField",name:"folder_name",storageKey:null},{alias:"hasRTCVoiceCallCapability",args:[{kind:"Literal",name:"capability",value:"RTC_VOICE_CALL"}],kind:"ScalarField",name:"has_capability",storageKey:'has_capability(capability:"RTC_VOICE_CALL")'},{alias:"hasRTCVideoCallCapability",args:[{kind:"Literal",name:"capability",value:"RTC_VIDEO_CALL"}],kind:"ScalarField",name:"has_capability",storageKey:'has_capability(capability:"RTC_VIDEO_CALL")'},{alias:"isSecure",args:null,kind:"ScalarField",name:"is_secure_thread",storageKey:null},{args:null,kind:"FragmentSpread",name:"useLSRelayCanCallOneToOne_thread"}],type:"LS_Thread",abstractKey:null};e.exports=a}),null);
__d("useLSRelayCanCall",["I64","LSIntEnum","LSRelayHooks","MWChatIsMessageRequest","MWStartRTCCallUtils","ZenonRTWebBrowserFeatureSupport","gkx","isFeatureLimitEnabled","useLSRelayCanCallOneToOne","useLSRelayCanCall_root.graphql","useLSRelayCanCall_thread.graphql"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j,k;function a(a,e){a=d("LSRelayHooks").useFragment(h!==void 0?h:h=b("useLSRelayCanCall_root.graphql"),a);e=d("LSRelayHooks").useFragment(i!==void 0?i:i=b("useLSRelayCanCall_thread.graphql"),e);var f=e.folderName,g=e.hasMessageRange,l=e.hasRTCVideoCallCapability,m=e.hasRTCVoiceCallCapability,n=e.isSecure,o=e.threadType,p=e.viewerPartOfGroup;a=((a=a.viewer)==null?void 0:a.is_read_only_feature_limited)===!0&&(n!==!0||c("isFeatureLimitEnabled")());e=c("useLSRelayCanCallOneToOne")(e);var q=e[0];e=e[1];if(n===!0&&(!d("ZenonRTWebBrowserFeatureSupport").isInsertableStreamsSupported()||!c("gkx")("23430")))return[d("MWStartRTCCallUtils").CanCallResult.SECURE_VOICE_UNSUPPORTED,d("MWStartRTCCallUtils").CanCallResult.SECURE_VIDEO_UNSUPPORTED];n=((j||(j=d("I64"))).equal(o,(k||(k=d("LSIntEnum"))).ofNumber(2))||(j||(j=d("I64"))).equal(o,(k||(k=d("LSIntEnum"))).ofNumber(16)))&&p===!0||(j||(j=d("I64"))).equal(o,(k||(k=d("LSIntEnum"))).ofNumber(1))||(j||(j=d("I64"))).equal(o,(k||(k=d("LSIntEnum"))).ofNumber(15));o=d("MWChatIsMessageRequest").fn((p=f)!=null?p:void 0);f=!o&&g===!0&&!a&&n;return f?[q&&m===!0?d("MWStartRTCCallUtils").CanCallResult.VOICE_SUPPORTED:d("MWStartRTCCallUtils").CanCallResult.VOICE_UNSUPPORTED,e&&l===!0?d("MWStartRTCCallUtils").CanCallResult.VIDEO_SUPPORTED:d("MWStartRTCCallUtils").CanCallResult.VIDEO_UNSUPPORTED]:[d("MWStartRTCCallUtils").CanCallResult.VOICE_UNSUPPORTED,d("MWStartRTCCallUtils").CanCallResult.VIDEO_UNSUPPORTED]}g["default"]=a}),98);
__d("useLSRelayIsActive_thread.graphql",[],(function(a,b,c,d,e,f){"use strict";a={argumentDefinitions:[],kind:"Fragment",metadata:{hasClientEdges:!0,throwOnFieldError:!0},name:"useLSRelayIsActive_thread",selections:[{alias:null,args:[{kind:"Literal",name:"first",value:1}],concreteType:"LS_Participant_Connection",kind:"LinkedField",name:"other_participants",plural:!1,selections:[{alias:null,args:null,concreteType:"LS_Participant_Connection_Edge",kind:"LinkedField",name:"edges",plural:!0,selections:[{alias:null,args:null,concreteType:"LS_Participant",kind:"LinkedField",name:"node",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"contact_id",storageKey:null}],storageKey:null}],storageKey:null}],storageKey:"other_participants(first:1)"}],type:"LS_Thread",abstractKey:null};e.exports=a}),null);
__d("useLSRelayIsActive",["LSRelayHooks","useLSRelayIsActive_thread.graphql","useMWChatHasActiveContact"],(function(a,b,c,d,e,f,g){"use strict";var h;function a(a){a=d("LSRelayHooks").useFragment(h!==void 0?h:h=b("useLSRelayIsActive_thread.graphql"),a);a=a.other_participants.edges;return d("useMWChatHasActiveContact").useMWChatHasActiveContact(a.map(function(a){return a.node.contact_id}))}g["default"]=a}),98);
__d("useLSRelayStartGroupCall_thread.graphql",[],(function(a,b,c,d,e,f){"use strict";a=function(){var a=[{kind:"Literal",name:"first",value:1}];return{argumentDefinitions:[],kind:"Fragment",metadata:{hasClientEdges:!0,throwOnFieldError:!0},name:"useLSRelayStartGroupCall_thread",selections:[{alias:"threadKey",args:null,kind:"ScalarField",name:"thread_key",storageKey:null},{alias:"ongoingCallState",args:null,kind:"ScalarField",name:"ongoing_call_state",storageKey:null},{alias:"threadType",args:null,kind:"ScalarField",name:"thread_type",storageKey:null},{alias:null,args:a,concreteType:"LS_MiActMappingTable_Connection",kind:"LinkedField",name:"mi_act_mapping",plural:!1,selections:[{alias:null,args:null,concreteType:"LS_MiActMappingTable_Connection_Edge",kind:"LinkedField",name:"edges",plural:!0,selections:[{alias:null,args:null,concreteType:"LS_MiActMappingTable",kind:"LinkedField",name:"node",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"jid",storageKey:null}],storageKey:null}],storageKey:null}],storageKey:"mi_act_mapping(first:1)"},{alias:null,args:a,concreteType:"LS_Participant_Connection",kind:"LinkedField",name:"other_participants",plural:!1,selections:[{alias:null,args:null,concreteType:"LS_Participant_Connection_Edge",kind:"LinkedField",name:"edges",plural:!0,selections:[{alias:null,args:null,concreteType:"LS_Participant",kind:"LinkedField",name:"node",plural:!1,selections:[{alias:null,args:null,concreteType:"LS_Contact",kind:"LinkedField",name:"contact",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"id_",storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null}],storageKey:"other_participants(first:1)"},{alias:null,args:[{kind:"Literal",name:"first",value:20}],concreteType:"LS_Participant_Connection",kind:"LinkedField",name:"restricted_participants",plural:!1,selections:[{alias:null,args:null,concreteType:"LS_Participant_Connection_Edge",kind:"LinkedField",name:"edges",plural:!0,selections:[{alias:null,args:null,concreteType:"LS_Participant",kind:"LinkedField",name:"node",plural:!1,selections:[{alias:null,args:null,concreteType:"LS_Contact",kind:"LinkedField",name:"contact",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"__lightspeed_table_row",storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null}],storageKey:"restricted_participants(first:20)"},{alias:null,args:null,concreteType:"LS_RtcOngoingCallsOnThreadsV2",kind:"LinkedField",name:"rtc_ongoing_calls",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"ongoing_call_server_info_data",storageKey:null}],storageKey:null}],type:"LS_Thread",abstractKey:null}}();e.exports=a}),null);
__d("useLSRelayStartGroupCall",["Int64Hooks","LSRelayHooks","useLSRelayStartGroupCall_thread.graphql","useMWV2StartGroupCall"],(function(a,b,c,d,e,f,g){"use strict";var h;function a(a,e,f,g){var i;a=d("LSRelayHooks").useFragment(h!==void 0?h:h=b("useLSRelayStartGroupCall_thread.graphql"),a);var j=a.ongoingCallState,k=a.threadKey,l=a.threadType,m=a==null?void 0:(i=a.mi_act_mapping)==null?void 0:(i=i.edges)==null?void 0:(i=i[0])==null?void 0:(i=i.node)==null?void 0:i.jid,n=a==null?void 0:(i=a.other_participants)==null?void 0:(i=i.edges)==null?void 0:(i=i[0])==null?void 0:(i=i.node)==null?void 0:(i=i.contact)==null?void 0:i.id_;i=a==null?void 0:(i=a.restricted_participants)==null?void 0:i.edges;var o=a==null?void 0:(a=a.rtc_ongoing_calls)==null?void 0:a.ongoing_call_server_info_data,p=i==null?void 0:i.map(function(a){return a==null?void 0:(a=a.node)==null?void 0:(a=a.contact)==null?void 0:a.__lightspeed_table_row}).filter(Boolean),q=c("useMWV2StartGroupCall")({ongoingCallState:j,threadKey:k,threadType:l},e,f,g);return d("Int64Hooks").useCallbackInt64(function(){q({jid:m,ongoingCallServerInfoData:o,otherParticipantId:n,restrictedUsers:p})},[m,o,n,p,q])}g["default"]=a}),98);
__d("MWRelayChatRTCButtons.react",["LSRelayHooks","MWRelayChatRTCButtons_root.graphql","MWRelayChatRTCButtons_thread.graphql","MWV2ChatRTCButtons.react","emptyFunction","react","useLSRelayCanCall","useLSRelayIsActive","useLSRelayStartGroupCall"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j,k=j||d("react");function l(a){return a}function a(a){var e=a.audioCallingSurface;a.disableOverlayOnHover;var f=a.logAudio;f=f===void 0?c("emptyFunction"):f;var g=a.logVideo;g=g===void 0?c("emptyFunction"):g;var j=a.lsRoot$key,m=a.renderContainer;m=m===void 0?l:m;var n=a.size;n=n===void 0?28:n;var o=a.thread$key;a=a.videoCallingSurface;j=d("LSRelayHooks").useFragment(h!==void 0?h:h=b("MWRelayChatRTCButtons_root.graphql"),j);o=d("LSRelayHooks").useFragment(i!==void 0?i:i=b("MWRelayChatRTCButtons_thread.graphql"),o);var p=o.ongoingCallState,q=o.threadKey,r=c("useLSRelayIsActive")(o);j=c("useLSRelayCanCall")(j,o);var s=j[0];j=j[1];g=c("useLSRelayStartGroupCall")(o,g,"video",a);a=c("useLSRelayStartGroupCall")(o,f,"audio",e);return k.jsx(c("MWV2ChatRTCButtons.react"),{canAudioCall:s,canVideoCall:j,isActive:r,ongoingCallState:p,renderContainer:m,size:n,startWebAudioCall:a,startWebVideoCall:g,threadKey:q})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98);
__d("MWRelayChatTabHeaderRTCButtons_root.graphql",[],(function(a,b,c,d,e,f){"use strict";a={argumentDefinitions:[],kind:"Fragment",metadata:null,name:"MWRelayChatTabHeaderRTCButtons_root",selections:[{args:null,kind:"FragmentSpread",name:"MWRelayChatRTCButtons_root"}],type:"LSRoot",abstractKey:null};e.exports=a}),null);
__d("MWRelayChatTabHeaderRTCButtons_thread.graphql",[],(function(a,b,c,d,e,f){"use strict";a={argumentDefinitions:[],kind:"Fragment",metadata:{throwOnFieldError:!0},name:"MWRelayChatTabHeaderRTCButtons_thread",selections:[{args:null,kind:"FragmentSpread",name:"MWRelayChatRTCButtons_thread"}],type:"LS_Thread",abstractKey:null};e.exports=a}),null);
__d("MWRelayChatTabHeaderRTCButtons.react",["LSRelayHooks","MWRelayChatRTCButtons.react","MWRelayChatTabHeaderRTCButtons_root.graphql","MWRelayChatTabHeaderRTCButtons_thread.graphql","ODS","react","requireDeferred"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j,k,l=j||(j=d("react")),m=j.useCallback,n=c("requireDeferred")("ZenonUserActionLoggerCommon").__setRef("MWRelayChatTabHeaderRTCButtons.react");function a(a){var e=a.lsRoot$key;a=a.thread$key;e=d("LSRelayHooks").useFragment(h!==void 0?h:h=b("MWRelayChatTabHeaderRTCButtons_root.graphql"),e);a=d("LSRelayHooks").useFragment(i!==void 0?i:i=b("MWRelayChatTabHeaderRTCButtons_thread.graphql"),a);var f=m(function(){(k||(k=d("ODS"))).bumpEntityKey(3185,"mwchat_header","audio"),n.onReady(function(a){return a.logClick({component:"audio_button",surface:"chat_tab"})})},[]),g=m(function(){(k||(k=d("ODS"))).bumpEntityKey(3185,"mwchat_header","video"),n.onReady(function(a){return a.logClick({component:"video_button",surface:"chat_tab"})})},[]);return l.jsx(c("MWRelayChatRTCButtons.react"),{audioCallingSurface:"comet_chattab_audio_button",logAudio:f,logVideo:g,lsRoot$key:e,thread$key:a,videoCallingSurface:"comet_chattab_video_button"})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98);
__d("MWRelayChatTabHeaderSettingsButton_thread.graphql",[],(function(a,b,c,d,e,f){"use strict";a={argumentDefinitions:[],kind:"Fragment",metadata:{hasClientEdges:!0,throwOnFieldError:!0},name:"MWRelayChatTabHeaderSettingsButton_thread",selections:[{alias:"isCutoverThread",args:null,kind:"ScalarField",name:"is_cutover_thread",storageKey:null},{alias:"threadSubtype",args:null,kind:"ScalarField",name:"thread_subtype",storageKey:null},{alias:"threadKey",args:null,kind:"ScalarField",name:"thread_key",storageKey:null},{alias:"threadType",args:null,kind:"ScalarField",name:"thread_type",storageKey:null},{alias:"folder",args:null,concreteType:"LS_CommunityFolder",kind:"LinkedField",name:"community_folder",plural:!1,selections:[{alias:"fbGroupId",args:null,kind:"ScalarField",name:"fb_group_id",storageKey:null}],storageKey:null}],type:"LS_Thread",abstractKey:null};e.exports=a}),null);
__d("MWV2HeaderSettingsMenuQuery_facebookRelayOperation",[],(function(a,b,c,d,e,f){e.exports="24934014402913291"}),null);
__d("MWV2HeaderSettingsMenuQuery$Parameters",["MWV2HeaderSettingsMenuQuery_facebookRelayOperation"],(function(a,b,c,d,e,f){"use strict";a={kind:"PreloadableConcreteRequest",params:{id:b("MWV2HeaderSettingsMenuQuery_facebookRelayOperation"),metadata:{},name:"MWV2HeaderSettingsMenuQuery",operationKind:"query",text:null}};e.exports=a}),null);
__d("MWV2HeaderSettingsMenu.entrypoint",["JSResourceForInteraction","MWV2HeaderSettingsMenuQuery$Parameters"],(function(a,b,c,d,e,f,g){"use strict";a={getPreloadProps:function(a){a=a.groupID;return{queries:{headerSettingsMenuQueryRef:{parameters:c("MWV2HeaderSettingsMenuQuery$Parameters"),variables:{groupID:(a=a)!=null?a:""}}}}},root:c("JSResourceForInteraction")("MWV2HeaderSettingsMenu.react").__setRef("MWV2HeaderSettingsMenu.entrypoint")};g["default"]=a}),98);
__d("MWV2HeaderSettingsPopoverTrigger.react",["I64","MWV2HeaderSettingsMenu.entrypoint","MWXEntryPointPopoverTrigger.react","MessengerWebUXLogger","WebUXLoggingSurfaceContextProvider","cr:2580","emptyFunction","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j=h||d("react");function a(a){var e=a.children,f=a.folderFbGroupId,g=a.pushPage,h=a.tab;a=a.thread;var k=a.threadKey,l=a.threadType,m=c("MessengerWebUXLogger").useImpressionLogger();a=f!=null?(i||(i=d("I64"))).to_string(f):void 0;return j.jsx(d("WebUXLoggingSurfaceContextProvider").WebUXLoggingSurfaceContextProvider,{value:"chat_tab_header_settings_menu",children:j.jsx(c("MWXEntryPointPopoverTrigger.react"),{entryPointParams:{groupID:a},onVisibilityChange:function(a){b("cr:2580")&&a&&(b("cr:2580")({threadKey:k,threadType:l},"open_thread_settings_menu","popup_chat_box"),m==null?void 0:m({eventName:"thread_settings_menu_impression",threadKey:k,threadType:l}))},otherProps:{onClose:c("emptyFunction"),pushPage:g,tab:h,threadKey:k},popoverEntryPoint:c("MWV2HeaderSettingsMenu.entrypoint"),position:"start",preloadTrigger:"button",children:e})})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98);
__d("useMWCMIssueCommunityMemberListFetch",["I64","Int64Hooks","LSFactory","LSIntEnum","LSIssueCommunityMemberListFetchStoredProcedure","LSVec","pageID","promiseDone","useReStore"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j;function a(a,b){var e=(j||(j=c("useReStore")))();return d("Int64Hooks").useCallbackInt64(function(){c("promiseDone")(e.runInTransaction(function(e){return c("LSIssueCommunityMemberListFetchStoredProcedure")(c("LSFactory")(e),{communityId:a,fetchAdminsOnly:!1,fetchFriendMembersOnly:!1,maxName:"",maxTimestampMs:(h||(h=d("I64"))).zero,nextPageCursor:"",requestId:c("pageID"),roles:c("LSVec").ofArray([(i||(i=d("LSIntEnum"))).ofNumber(0)]),source:i.ofNumber(7),threadKey:b,threadRoles:c("LSVec").ofArray([])})},"readwrite",void 0,void 0,f.id+":33"))},[e,a,b])}g["default"]=a}),98);
__d("useMWV2HeaderSettingsPopover",["LSFactory","LSFetchAdditionalThreadDataStoredProcedure","MWCMThreadTypes.react","ODS","getMWV2HeaderSettingsPopoverTooltip","promiseDone","useAsyncReStore","useMWCMIssueCommunityMemberListFetch"],(function(a,b,c,d,e,f,g){"use strict";var h;function a(a){var b=a.fbGroupId,e=a.threadKey;a=a.threadType;var g=c("getMWV2HeaderSettingsPopoverTooltip")({threadType:a}),i=c("useAsyncReStore")(),j=c("useMWCMIssueCommunityMemberListFetch")(b,e),k=d("MWCMThreadTypes.react").isJoinedCMThread(a);return{showDialog:function(a){a(),k&&(j(),c("promiseDone")(i,function(a){return a.runInTransaction(function(a){return c("LSFetchAdditionalThreadDataStoredProcedure")(c("LSFactory")(a),{threadKey:e})},"readwrite",void 0,void 0,f.id+":56")})),(h||(h=d("ODS"))).bumpEntityKey(3185,"mwchat_header","settings")},tooltip:g}}g["default"]=a}),98);
__d("MWV2HeaderSettingsButton.react",["MDSRow.react","MDSRowItem.react","MWV2HeaderSettingsButtonChevron.react","MWV2HeaderSettingsPopoverTrigger.react","MWXPressable.react","MWXTooltip.react","gkx","react","useMWV2HeaderSettingsPopover"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h||d("react"),j={icon:{marginStart:"x1i64zmx",marginLeft:null,marginRight:null,$$css:!0},rowItem:{alignItems:"x6s0dn4",flexDirection:"x1q0g3np",flexGrow:"x1iyjqo2",$$css:!0},settingsButton:{flexShrink:"xs83m0k",marginEnd:"x1emribx",marginLeft:null,marginRight:null,minWidth:"xeuugli",$$css:!0}};function a(a){var b,d=a.children,e=a.folderFbGroupId,f=a.pushPage,g=a.tab;a=a.thread;var h=a.threadKey,k=a.threadType;b=c("useMWV2HeaderSettingsPopover")({fbGroupId:(b=e)!=null?b:h,threadKey:h,threadType:k});var l=b.showDialog,m=b.tooltip,n={eventName:"open_setting_from_chat_tab",threadKey:h,threadType:k};return i.jsx(c("MWV2HeaderSettingsPopoverTrigger.react"),{folderFbGroupId:e,pushPage:f,tab:g,thread:a,children:function(a,b,e,f,g,h,k){e=i.jsx(c("MWXPressable.react"),{"aria-label":m,loggingEvent:n,onHoverIn:f,onHoverOut:g,onPress:function(){return l(b)},onPressIn:h,overlayRadius:"compact",ref:a,testid:void 0,xstyle:j.settingsButton,children:i.jsx(c("MDSRow.react"),{align:"center",paddingHorizontal:0,paddingVertical:0,spacingHorizontal:0,verticalAlign:"center",children:i.jsxs(c("MDSRowItem.react"),{expanding:!0,xstyle:j.rowItem,children:[d,i.jsx(c("MWV2HeaderSettingsButtonChevron.react"),{xstyle:j.icon})]})})});return c("gkx")("721")?e:i.jsx(c("MWXTooltip.react"),{align:"middle",position:"above",tooltip:m,children:e})}})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98);
__d("MWRelayChatTabHeaderSettingsButton.react",["LSMessagingThreadTypeUtil","LSRelayHooks","MWRelayChatTabHeaderSettingsButton_thread.graphql","MWV2HeaderSettingsButton.react","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j=i||d("react");function a(a){var e=a.children,f=a.pushPage,g=a.tab;a=a.thread$key;a=d("LSRelayHooks").useFragment(h!==void 0?h:h=b("MWRelayChatTabHeaderSettingsButton_thread.graphql"),a);var i=a.folder,k=a.isCutoverThread,l=a.threadKey,m=a.threadSubtype;a=a.threadType;return k===!0||d("LSMessagingThreadTypeUtil").isBusinessSupportThread((k=m)!=null?k:void 0)?e:j.jsx(c("MWV2HeaderSettingsButton.react"),{children:e,folderFbGroupId:i==null?void 0:i.fbGroupId,pushPage:f,tab:g,thread:{threadKey:l,threadType:a}})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98);
__d("MWRelayChatTabHeader_root.graphql",[],(function(a,b,c,d,e,f){"use strict";a={argumentDefinitions:[],kind:"Fragment",metadata:null,name:"MWRelayChatTabHeader_root",selections:[{args:null,kind:"FragmentSpread",name:"MWRelayChatTabHeaderRTCButtons_root"}],type:"LSRoot",abstractKey:null};e.exports=a}),null);
__d("MWRelayChatTabHeader_thread.graphql",[],(function(a,b,c,d,e,f){"use strict";a={argumentDefinitions:[],kind:"Fragment",metadata:{throwOnFieldError:!0},name:"MWRelayChatTabHeader_thread",selections:[{alias:"threadKey",args:null,kind:"ScalarField",name:"thread_key",storageKey:null},{alias:"threadSubtype",args:null,kind:"ScalarField",name:"thread_subtype",storageKey:null},{args:null,kind:"FragmentSpread",name:"MWRelayChatTabHeaderSettingsButton_thread"},{args:null,kind:"FragmentSpread",name:"MWRelayChatExpandButton_thread"},{args:null,kind:"FragmentSpread",name:"MWRelayChatTabHeaderRTCButtons_thread"},{args:null,kind:"FragmentSpread",name:"MWRelayChatTabHeaderDetailsContainer_thread"}],type:"LS_Thread",abstractKey:null};e.exports=a}),null);
__d("MWXIconMinus",["MWXSvgIcon","SVGIcon","cr:9219","gkx"],(function(a,b,c,d,e,f,g){"use strict";a=d("MWXSvgIcon").mwxSvgIcon(d("SVGIcon").svgIcon(b("cr:9219")),c("gkx")("23219"));g["default"]=a}),98);
__d("MWV2HeaderMinimizeButton.react",["fbt","MWChatHeaderActionButton.react","MWXIconMinus","MWXThreadThemeColor","react","useSetAttributeRef"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j=i||d("react");function a(a){a=a.onPress;var b=c("useSetAttributeRef")("data-prevent_chattab_focus","1"),e=h._("__JHASH__Sy-7_lHYMqE__JHASH__");return j.jsx(c("MWChatHeaderActionButton.react"),{color:d("MWXThreadThemeColor").mwxThreadThemeColor("var(--mwp-header-button-color)"),icon:c("MWXIconMinus"),iconRatio:"large",loggingEvent:"minimize_chat_tab",onPress:a,ref:b,tooltipLabel:e})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),226);
__d("MWRelayChatTabHeader.react",["I64","LSMessagingThreadTypeUtil","LSRelayHooks","MAWThreadCutover","MWChatStateActions","MWChatStateV2.react","MWRelayChatTabHeaderDetailsContainer.react","MWRelayChatTabHeaderRTCButtons.react","MWRelayChatTabHeaderSettingsButton.react","MWRelayChatTabHeader_root.graphql","MWRelayChatTabHeader_thread.graphql","MWV2HeaderCloseButton.react","MWV2HeaderContainer.react","MWV2HeaderMinimizeButton.react","MWXTooltipGroup.react","cr:6675","react","useMWV2CloseTab"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j,k,l=j||d("react");function a(a){var e=a.pushPage,f=a.renderThreadDetails,g=a.root$key,j=a.tab;a=a.thread$key;g=d("LSRelayHooks").useFragment(h!==void 0?h:h=b("MWRelayChatTabHeader_root.graphql"),g);a=d("LSRelayHooks").useFragment(i!==void 0?i:i=b("MWRelayChatTabHeader_thread.graphql"),a);var k=a.threadKey,m=a.threadSubtype,n=d("MWChatStateV2.react").useDispatch(),o=c("useMWV2CloseTab")(k,j);k=d("MAWThreadCutover").useIsCutoverOpenThread(k);var p=l.jsx(c("MWRelayChatTabHeaderDetailsContainer.react"),{isContainerPressable:!1,photoSize:32,thread$key:a,threadNameSize:"headlineEmphasized4"});k||d("LSMessagingThreadTypeUtil").isBusinessSupportThread((k=m)!=null?k:void 0)?m=p:m=f!=null?f():l.jsx(c("MWRelayChatTabHeaderSettingsButton.react"),{pushPage:e,tab:j,thread$key:a,children:p});return l.jsx(c("MWV2HeaderContainer.react"),{endContent:l.jsx(c("MWXTooltipGroup.react"),{children:l.jsxs("div",{className:"x6s0dn4 x78zum5 xcud41i",children:[l.jsx(c("MWRelayChatTabHeaderRTCButtons.react"),{lsRoot$key:g,thread$key:a}),l.jsx(c("MWV2HeaderMinimizeButton.react"),{onPress:function(){return n(d("MWChatStateActions").minimizeTab(Date.now(),j.tabId))}}),b("cr:6675")!=null?l.jsx(b("cr:6675"),{thread$key:a}):null,l.jsx(c("MWV2HeaderCloseButton.react"),{onPress:o,testid:void 0})]})}),startContent:m})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98);
__d("MWRelayChatTabHeaderRootQuery.graphql",["LS_Thread","LS_Thread","LS_CommunityFolder","LS_Thread__other_participants","LS_Participant_Connection","LS_Participant_Connection","LS_Participant","LS_Contact","LS_Participant","LS_Thread__has_capability","LSThreadHasCapability__has_capability$normalization.graphql","LS_Thread__other_participant","LS_Contact__has_capability","LSContactHasCapability__has_capability$normalization.graphql","LS_Thread__other_participants_MAY_CAUSE_OVERFETCHING","LS_Thread__computed_thread_title","LSThreadComputedThreadTitle__computed_thread_title$normalization.graphql","LS_Contact","LS_Thread__other_participant_or_self","LSThreadOtherParticipantOrSelf__other_participant_or_self$normalization.graphql","LS_Contact","Query__lightspeed_data","LSRoot__thread","LS_Thread","LS_Thread","LS_Thread__is_cutover_thread","LS_CommunityFolder","LS_Thread","LS_Thread","LS_MiActMappingTable_Connection","LS_MiActMappingTable_Connection","LS_MiActMappingTable","LS_Thread__restricted_participants","LS_Contact","LS_Thread","LS_RtcOngoingCallsOnThreadsV2","LS_Thread__has_messages_ranges_v2","LS_Thread__is_viewer_participant","LS_Thread","LS_Thread__is_secure_thread","LSThreadIsSecureThread__is_secure_thread$normalization.graphql","LS_Thread__is_page","LSThreadIsPage__is_page$normalization.graphql","LS_Contact","LS_Thread__is_blocked_by_viewer","LSThreadIsBlockedByViewer__is_blocked_by_viewer$normalization.graphql","LS_CommunityFolder","LS_CommunityFolder","LS_CommunityFolder","LS_Thread","LS_Thread","LS_Thread","LS_Thread","LS_Thread","LS_CommunityFolder","LS_Thread","LS_Thread","LS_Thread","LS_Contact","LS_Contact","LS_Thread__header_aria_description","LSThreadHeaderAriaDescription_thread$normalization.graphql","LS_CommunityFolder","LSRoot__viewer","LS_Viewer"],(function(a,b,c,d,e,f){"use strict";a=function(){var a=[{defaultValue:null,kind:"LocalArgument",name:"threadKey"}],c=[{kind:"Literal",name:"dbType",value:"PROD"}],d=[{kind:"Variable",name:"threadKey",variableName:"threadKey"}],e={name:"thread_type",args:null,kind:"RelayResolver",storageKey:null,isOutputType:!0,resolverInfo:{resolverFunction:b("LS_Thread").thread_type,rootFragment:null}},f={name:"community_folder",args:null,kind:"RelayLiveResolver",storageKey:null,isOutputType:!0,resolverInfo:{resolverFunction:b("LS_Thread").community_folder,rootFragment:null}},g={name:"fb_group_id",args:null,kind:"RelayResolver",storageKey:null,isOutputType:!0,resolverInfo:{resolverFunction:b("LS_CommunityFolder").fb_group_id,rootFragment:null}},h=[{kind:"Literal",name:"first",value:1}],i={name:"other_participants",args:h,kind:"RelayLiveResolver",storageKey:"other_participants(first:1)",isOutputType:!0,resolverInfo:{resolverFunction:b("LS_Thread__other_participants").other_participants,rootFragment:null}},j={name:"edges",args:null,kind:"RelayResolver",storageKey:null,isOutputType:!0,resolverInfo:{resolverFunction:b("LS_Participant_Connection").edges,rootFragment:null}},k={name:"node",args:null,kind:"RelayResolver",storageKey:null,isOutputType:!0,resolverInfo:{resolverFunction:b("LS_Participant_Connection").node,rootFragment:null}},l={name:"contact",args:null,kind:"RelayLiveResolver",storageKey:null,isOutputType:!0,resolverInfo:{resolverFunction:b("LS_Participant").contact,rootFragment:null}},m={name:"id_",args:null,kind:"RelayResolver",storageKey:null,isOutputType:!0,resolverInfo:{resolverFunction:b("LS_Contact").id_,rootFragment:null}},n=[{kind:"Literal",name:"first",value:20}],o={name:"contact_id",args:null,kind:"RelayResolver",storageKey:null,isOutputType:!0,resolverInfo:{resolverFunction:b("LS_Participant").contact_id,rootFragment:null}},p=[o],q=[{kind:"Literal",name:"capability",value:"RTC_VOICE_CALL"}],r={resolverFunction:b("LS_Thread__has_capability").has_capability,rootFragment:b("LSThreadHasCapability__has_capability$normalization.graphql")},s=[{kind:"Literal",name:"capability",value:"RTC_VIDEO_CALL"}],t={name:"other_participant",args:null,kind:"RelayLiveResolver",storageKey:null,isOutputType:!0,resolverInfo:{resolverFunction:b("LS_Thread__other_participant").other_participant,rootFragment:null}},u={resolverFunction:b("LS_Contact__has_capability").has_capability,rootFragment:b("LSContactHasCapability__has_capability$normalization.graphql")},v={name:"other_participants_MAY_CAUSE_OVERFETCHING",args:null,kind:"RelayLiveResolver",storageKey:null,isOutputType:!0,resolverInfo:{resolverFunction:b("LS_Thread__other_participants_MAY_CAUSE_OVERFETCHING").other_participants_MAY_CAUSE_OVERFETCHING,rootFragment:null}},w={name:"computed_thread_title",args:null,kind:"RelayResolver",storageKey:null,isOutputType:!0,resolverInfo:{resolverFunction:b("LS_Thread__computed_thread_title").computed_thread_title,rootFragment:b("LSThreadComputedThreadTitle__computed_thread_title$normalization.graphql")}},x={name:"contact_type_exact",args:null,kind:"RelayResolver",storageKey:null,isOutputType:!0,resolverInfo:{resolverFunction:b("LS_Contact").contact_type_exact,rootFragment:null}},y={name:"other_participant_or_self",args:null,kind:"RelayLiveResolver",storageKey:null,isOutputType:!0,resolverInfo:{resolverFunction:b("LS_Thread__other_participant_or_self").other_participant_or_self,rootFragment:b("LSThreadOtherParticipantOrSelf__other_participant_or_self$normalization.graphql")}},z={name:"secondary_name",args:null,kind:"RelayResolver",storageKey:null,isOutputType:!0,resolverInfo:{resolverFunction:b("LS_Contact").secondary_name,rootFragment:null}};return{fragment:{argumentDefinitions:a,kind:"Fragment",metadata:{hasClientEdges:!0,throwOnFieldError:!0},name:"MWRelayChatTabHeaderRootQuery",selections:[{alias:null,args:c,concreteType:"LSRoot",kind:"LinkedField",name:"lightspeed_data",plural:!1,selections:[{alias:null,args:d,concreteType:"LS_Thread",kind:"LinkedField",name:"thread",plural:!1,selections:[{args:null,kind:"FragmentSpread",name:"MWRelayChatTabHeader_thread"}],storageKey:null},{args:null,kind:"FragmentSpread",name:"MWRelayChatTabHeader_root"}],storageKey:'lightspeed_data(dbType:"PROD")'}],type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:a,kind:"Operation",name:"MWRelayChatTabHeaderRootQuery",selections:[{kind:"ClientEdgeToClientObject",backingField:{name:"lightspeed_data",args:c,kind:"RelayLiveResolver",storageKey:'lightspeed_data(dbType:"PROD")',isOutputType:!0,resolverInfo:{resolverFunction:b("Query__lightspeed_data").lightspeed_data,rootFragment:null}},linkedField:{alias:null,args:c,concreteType:"LSRoot",kind:"LinkedField",name:"lightspeed_data",plural:!1,selections:[{kind:"ClientEdgeToClientObject",backingField:{name:"thread",args:d,kind:"RelayLiveResolver",storageKey:null,isOutputType:!0,resolverInfo:{resolverFunction:b("LSRoot__thread").thread,rootFragment:null}},linkedField:{alias:null,args:d,concreteType:"LS_Thread",kind:"LinkedField",name:"thread",plural:!1,selections:[{name:"thread_key",args:null,kind:"RelayResolver",storageKey:null,isOutputType:!0,resolverInfo:{resolverFunction:b("LS_Thread").thread_key,rootFragment:null}},{name:"thread_subtype",args:null,kind:"RelayResolver",storageKey:null,isOutputType:!0,resolverInfo:{resolverFunction:b("LS_Thread").thread_subtype,rootFragment:null}},{name:"is_cutover_thread",args:null,kind:"RelayLiveResolver",storageKey:null,isOutputType:!0,resolverInfo:{resolverFunction:b("LS_Thread__is_cutover_thread").is_cutover_thread,rootFragment:null}},e,{kind:"ClientEdgeToClientObject",backingField:f,linkedField:{alias:"folder",args:null,concreteType:"LS_CommunityFolder",kind:"LinkedField",name:"community_folder",plural:!1,selections:[g],storageKey:null}},{kind:"ClientEdgeToClientObject",backingField:f,linkedField:{alias:"folder",args:null,concreteType:"LS_CommunityFolder",kind:"LinkedField",name:"community_folder",plural:!1,selections:[g,{name:"folder_id",args:null,kind:"RelayResolver",storageKey:null,isOutputType:!0,resolverInfo:{resolverFunction:b("LS_CommunityFolder").folder_id,rootFragment:null}}],storageKey:null}},{name:"ongoing_call_state",args:null,kind:"RelayResolver",storageKey:null,isOutputType:!0,resolverInfo:{resolverFunction:b("LS_Thread").ongoing_call_state,rootFragment:null}},{kind:"ClientEdgeToClientObject",backingField:{name:"mi_act_mapping",args:h,kind:"RelayLiveResolver",storageKey:"mi_act_mapping(first:1)",isOutputType:!0,resolverInfo:{resolverFunction:b("LS_Thread").mi_act_mapping,rootFragment:null}},linkedField:{alias:null,args:h,concreteType:"LS_MiActMappingTable_Connection",kind:"LinkedField",name:"mi_act_mapping",plural:!1,selections:[{kind:"ClientEdgeToClientObject",backingField:{name:"edges",args:null,kind:"RelayResolver",storageKey:null,isOutputType:!0,resolverInfo:{resolverFunction:b("LS_MiActMappingTable_Connection").edges,rootFragment:null}},linkedField:{alias:null,args:null,concreteType:"LS_MiActMappingTable_Connection_Edge",kind:"LinkedField",name:"edges",plural:!0,selections:[{kind:"ClientEdgeToClientObject",backingField:{name:"node",args:null,kind:"RelayResolver",storageKey:null,isOutputType:!0,resolverInfo:{resolverFunction:b("LS_MiActMappingTable_Connection").node,rootFragment:null}},linkedField:{alias:null,args:null,concreteType:"LS_MiActMappingTable",kind:"LinkedField",name:"node",plural:!1,selections:[{name:"jid",args:null,kind:"RelayResolver",storageKey:null,isOutputType:!0,resolverInfo:{resolverFunction:b("LS_MiActMappingTable").jid,rootFragment:null}}],storageKey:null}}],storageKey:null}}],storageKey:"mi_act_mapping(first:1)"}},{kind:"ClientEdgeToClientObject",backingField:i,linkedField:{alias:null,args:h,concreteType:"LS_Participant_Connection",kind:"LinkedField",name:"other_participants",plural:!1,selections:[{kind:"ClientEdgeToClientObject",backingField:j,linkedField:{alias:null,args:null,concreteType:"LS_Participant_Connection_Edge",kind:"LinkedField",name:"edges",plural:!0,selections:[{kind:"ClientEdgeToClientObject",backingField:k,linkedField:{alias:null,args:null,concreteType:"LS_Participant",kind:"LinkedField",name:"node",plural:!1,selections:[{kind:"ClientEdgeToClientObject",backingField:l,linkedField:{alias:null,args:null,concreteType:"LS_Contact",kind:"LinkedField",name:"contact",plural:!1,selections:[m],storageKey:null}}],storageKey:null}}],storageKey:null}}],storageKey:"other_participants(first:1)"}},{kind:"ClientEdgeToClientObject",backingField:{name:"restricted_participants",args:n,kind:"RelayLiveResolver",storageKey:"restricted_participants(first:20)",isOutputType:!0,resolverInfo:{resolverFunction:b("LS_Thread__restricted_participants").restricted_participants,rootFragment:null}},linkedField:{alias:null,args:n,concreteType:"LS_Participant_Connection",kind:"LinkedField",name:"restricted_participants",plural:!1,selections:[{kind:"ClientEdgeToClientObject",backingField:j,linkedField:{alias:null,args:null,concreteType:"LS_Participant_Connection_Edge",kind:"LinkedField",name:"edges",plural:!0,selections:[{kind:"ClientEdgeToClientObject",backingField:k,linkedField:{alias:null,args:null,concreteType:"LS_Participant",kind:"LinkedField",name:"node",plural:!1,selections:[{kind:"ClientEdgeToClientObject",backingField:l,linkedField:{alias:null,args:null,concreteType:"LS_Contact",kind:"LinkedField",name:"contact",plural:!1,selections:[{name:"__lightspeed_table_row",args:null,kind:"RelayResolver",storageKey:null,isOutputType:!0,resolverInfo:{resolverFunction:b("LS_Contact").__lightspeed_table_row,rootFragment:null}}],storageKey:null}}],storageKey:null}}],storageKey:null}}],storageKey:"restricted_participants(first:20)"}},{kind:"ClientEdgeToClientObject",backingField:{name:"rtc_ongoing_calls",args:null,kind:"RelayLiveResolver",storageKey:null,isOutputType:!0,resolverInfo:{resolverFunction:b("LS_Thread").rtc_ongoing_calls,rootFragment:null}},linkedField:{alias:null,args:null,concreteType:"LS_RtcOngoingCallsOnThreadsV2",kind:"LinkedField",name:"rtc_ongoing_calls",plural:!1,selections:[{name:"ongoing_call_server_info_data",args:null,kind:"RelayResolver",storageKey:null,isOutputType:!0,resolverInfo:{resolverFunction:b("LS_RtcOngoingCallsOnThreadsV2").ongoing_call_server_info_data,rootFragment:null}}],storageKey:null}},{kind:"ClientEdgeToClientObject",backingField:i,linkedField:{alias:null,args:h,concreteType:"LS_Participant_Connection",kind:"LinkedField",name:"other_participants",plural:!1,selections:[{kind:"ClientEdgeToClientObject",backingField:j,linkedField:{alias:null,args:null,concreteType:"LS_Participant_Connection_Edge",kind:"LinkedField",name:"edges",plural:!0,selections:[{kind:"ClientEdgeToClientObject",backingField:k,linkedField:{alias:null,args:null,concreteType:"LS_Participant",kind:"LinkedField",name:"node",plural:!1,selections:p,storageKey:null}}],storageKey:null}}],storageKey:"other_participants(first:1)"}},{name:"computed_has_messages_ranges_v2",args:null,kind:"RelayLiveResolver",storageKey:null,isOutputType:!0,resolverInfo:{resolverFunction:b("LS_Thread__has_messages_ranges_v2").computed_has_messages_ranges_v2,rootFragment:null}},{name:"is_viewer_participant",args:null,kind:"RelayLiveResolver",storageKey:null,isOutputType:!0,resolverInfo:{resolverFunction:b("LS_Thread__is_viewer_participant").is_viewer_participant,rootFragment:null}},{name:"folder_name",args:null,kind:"RelayResolver",storageKey:null,isOutputType:!0,resolverInfo:{resolverFunction:b("LS_Thread").folder_name,rootFragment:null}},{name:"has_capability",args:q,kind:"RelayResolver",storageKey:'has_capability(capability:"RTC_VOICE_CALL")',isOutputType:!0,resolverInfo:r},{name:"has_capability",args:s,kind:"RelayResolver",storageKey:'has_capability(capability:"RTC_VIDEO_CALL")',isOutputType:!0,resolverInfo:r},{name:"is_secure_thread",args:null,kind:"RelayResolver",storageKey:null,isOutputType:!0,resolverInfo:{resolverFunction:b("LS_Thread__is_secure_thread").is_secure_thread,rootFragment:b("LSThreadIsSecureThread__is_secure_thread$normalization.graphql")}},{name:"computed_is_page",args:null,kind:"RelayResolver",storageKey:null,isOutputType:!0,resolverInfo:{resolverFunction:b("LS_Thread__is_page").computed_is_page,rootFragment:b("LSThreadIsPage__is_page$normalization.graphql")}},{kind:"ClientEdgeToClientObject",backingField:t,linkedField:{alias:null,args:null,concreteType:"LS_Participant",kind:"LinkedField",name:"other_participant",plural:!1,selections:[{kind:"ClientEdgeToClientObject",backingField:l,linkedField:{alias:null,args:null,concreteType:"LS_Contact",kind:"LinkedField",name:"contact",plural:!1,selections:[{name:"blocked_since_timestamp_ms",args:null,kind:"RelayResolver",storageKey:null,isOutputType:!0,resolverInfo:{resolverFunction:b("LS_Contact").blocked_since_timestamp_ms,rootFragment:null}},{name:"has_capability",args:q,kind:"RelayResolver",storageKey:'has_capability(capability:"RTC_VOICE_CALL")',isOutputType:!0,resolverInfo:u},{name:"has_capability",args:s,kind:"RelayResolver",storageKey:'has_capability(capability:"RTC_VIDEO_CALL")',isOutputType:!0,resolverInfo:u},{name:"has_capability",args:[{kind:"Literal",name:"capability",value:"MESSAGE"}],kind:"RelayResolver",storageKey:'has_capability(capability:"MESSAGE")',isOutputType:!0,resolverInfo:u},{name:"has_capability",args:[{kind:"Literal",name:"capability",value:"REPLY_MESSAGE"}],kind:"RelayResolver",storageKey:'has_capability(capability:"REPLY_MESSAGE")',isOutputType:!0,resolverInfo:u}],storageKey:null}}],storageKey:null}},{name:"is_blocked_by_viewer",args:null,kind:"RelayResolver",storageKey:null,isOutputType:!0,resolverInfo:{resolverFunction:b("LS_Thread__is_blocked_by_viewer").is_blocked_by_viewer,rootFragment:b("LSThreadIsBlockedByViewer__is_blocked_by_viewer$normalization.graphql")}},e,{kind:"ClientEdgeToClientObject",backingField:v,linkedField:{alias:"otherParticipants",args:null,concreteType:"LS_Participant",kind:"LinkedField",name:"other_participants_MAY_CAUSE_OVERFETCHING",plural:!0,selections:p,storageKey:null}},w,{kind:"ClientEdgeToClientObject",backingField:f,linkedField:{alias:"folder",args:null,concreteType:"LS_CommunityFolder",kind:"LinkedField",name:"community_folder",plural:!1,selections:[{name:"picture_url",args:null,kind:"RelayResolver",storageKey:null,isOutputType:!0,resolverInfo:{resolverFunction:b("LS_CommunityFolder").picture_url,rootFragment:null}},{name:"picture_url_expiration_timestamp_ms",args:null,kind:"RelayResolver",storageKey:null,isOutputType:!0,resolverInfo:{resolverFunction:b("LS_CommunityFolder").picture_url_expiration_timestamp_ms,rootFragment:null}},{name:"picture_url_fallback",args:null,kind:"RelayResolver",storageKey:null,isOutputType:!0,resolverInfo:{resolverFunction:b("LS_CommunityFolder").picture_url_fallback,rootFragment:null}}],storageKey:null}},{name:"thread_picture_url",args:null,kind:"RelayResolver",storageKey:null,isOutputType:!0,resolverInfo:{resolverFunction:b("LS_Thread").thread_picture_url,rootFragment:null}},{name:"thread_picture_url_expiration_timestamp_ms",args:null,kind:"RelayResolver",storageKey:null,isOutputType:!0,resolverInfo:{resolverFunction:b("LS_Thread").thread_picture_url_expiration_timestamp_ms,rootFragment:null}},{name:"thread_picture_url_fallback",args:null,kind:"RelayResolver",storageKey:null,isOutputType:!0,resolverInfo:{resolverFunction:b("LS_Thread").thread_picture_url_fallback,rootFragment:null}},w,{name:"thread_name",args:null,kind:"RelayResolver",storageKey:null,isOutputType:!0,resolverInfo:{resolverFunction:b("LS_Thread").thread_name,rootFragment:null}},{kind:"ClientEdgeToClientObject",backingField:v,linkedField:{alias:"otherParticipants",args:null,concreteType:"LS_Participant",kind:"LinkedField",name:"other_participants_MAY_CAUSE_OVERFETCHING",plural:!0,selections:[o,{kind:"ClientEdgeToClientObject",backingField:l,linkedField:{alias:null,args:null,concreteType:"LS_Contact",kind:"LinkedField",name:"contact",plural:!1,selections:[x],storageKey:null}}],storageKey:null}},{kind:"ClientEdgeToClientObject",backingField:y,linkedField:{alias:"otherParticipantOrSelf",args:null,concreteType:"LS_Participant",kind:"LinkedField",name:"other_participant_or_self",plural:!1,selections:[{kind:"ClientEdgeToClientObject",backingField:l,linkedField:{alias:null,args:null,concreteType:"LS_Contact",kind:"LinkedField",name:"contact",plural:!1,selections:[{name:"has_capability",args:[{kind:"Literal",name:"capability",value:"VERIFIED"}],kind:"RelayResolver",storageKey:'has_capability(capability:"VERIFIED")',isOutputType:!0,resolverInfo:u}],storageKey:null}}],storageKey:null}},{name:"cannot_reply_reason",args:null,kind:"RelayResolver",storageKey:null,isOutputType:!0,resolverInfo:{resolverFunction:b("LS_Thread").cannot_reply_reason,rootFragment:null}},{kind:"ClientEdgeToClientObject",backingField:f,linkedField:{alias:"folder",args:null,concreteType:"LS_CommunityFolder",kind:"LinkedField",name:"community_folder",plural:!1,selections:[{name:"name",args:null,kind:"RelayResolver",storageKey:null,isOutputType:!0,resolverInfo:{resolverFunction:b("LS_CommunityFolder").name,rootFragment:null}}],storageKey:null}},{name:"member_count",args:null,kind:"RelayResolver",storageKey:null,isOutputType:!0,resolverInfo:{resolverFunction:b("LS_Thread").member_count,rootFragment:null}},{name:"mute_calls_expire_time_ms",args:null,kind:"RelayResolver",storageKey:null,isOutputType:!0,resolverInfo:{resolverFunction:b("LS_Thread").mute_calls_expire_time_ms,rootFragment:null}},{name:"mute_expire_time_ms",args:null,kind:"RelayResolver",storageKey:null,isOutputType:!0,resolverInfo:{resolverFunction:b("LS_Thread").mute_expire_time_ms,rootFragment:null}},{kind:"ClientEdgeToClientObject",backingField:t,linkedField:{alias:"otherParticipant",args:null,concreteType:"LS_Participant",kind:"LinkedField",name:"other_participant",plural:!1,selections:[{kind:"ClientEdgeToClientObject",backingField:l,linkedField:{alias:null,args:null,concreteType:"LS_Contact",kind:"LinkedField",name:"contact",plural:!1,selections:[x,z],storageKey:null}}],storageKey:null}},{name:"has_capability",args:[{kind:"Literal",name:"capability",value:"THREAD_DETAILS_PROFILE_BUTTON"}],kind:"RelayResolver",storageKey:'has_capability(capability:"THREAD_DETAILS_PROFILE_BUTTON")',isOutputType:!0,resolverInfo:r},{kind:"ClientEdgeToClientObject",backingField:y,linkedField:{alias:"otherParticipantOrSelf",args:null,concreteType:"LS_Participant",kind:"LinkedField",name:"other_participant_or_self",plural:!1,selections:[{kind:"ClientEdgeToClientObject",backingField:l,linkedField:{alias:null,args:null,concreteType:"LS_Contact",kind:"LinkedField",name:"contact",plural:!1,selections:[{name:"blocked_by_viewer_status",args:null,kind:"RelayResolver",storageKey:null,isOutputType:!0,resolverInfo:{resolverFunction:b("LS_Contact").blocked_by_viewer_status,rootFragment:null}},x,m,z,{name:"name",args:null,kind:"RelayResolver",storageKey:null,isOutputType:!0,resolverInfo:{resolverFunction:b("LS_Contact").name,rootFragment:null}}],storageKey:null}}],storageKey:null}},{name:"header_aria_description",args:null,kind:"RelayResolver",storageKey:null,isOutputType:!0,resolverInfo:{resolverFunction:b("LS_Thread__header_aria_description").header_aria_description,rootFragment:b("LSThreadHeaderAriaDescription_thread$normalization.graphql")}},{kind:"ClientEdgeToClientObject",backingField:f,linkedField:{alias:"folder",args:null,concreteType:"LS_CommunityFolder",kind:"LinkedField",name:"community_folder",plural:!1,selections:[{name:"__lightspeed_table_row",args:null,kind:"RelayResolver",storageKey:null,isOutputType:!0,resolverInfo:{resolverFunction:b("LS_CommunityFolder").__lightspeed_table_row,rootFragment:null}}],storageKey:null}},{name:"has_capability",args:[{kind:"Literal",name:"capability",value:"MEMBER_LIST"}],kind:"RelayResolver",storageKey:'has_capability(capability:"MEMBER_LIST")',isOutputType:!0,resolverInfo:r}],storageKey:null}},{kind:"ClientEdgeToClientObject",backingField:{name:"viewer",args:null,kind:"RelayResolver",storageKey:null,isOutputType:!0,resolverInfo:{resolverFunction:b("LSRoot__viewer").viewer,rootFragment:null}},linkedField:{alias:null,args:null,concreteType:"LS_Viewer",kind:"LinkedField",name:"viewer",plural:!1,selections:[{name:"is_read_only_feature_limited",args:null,kind:"RelayLiveResolver",storageKey:null,isOutputType:!0,resolverInfo:{resolverFunction:b("LS_Viewer").is_read_only_feature_limited,rootFragment:null}}],storageKey:null}}],storageKey:'lightspeed_data(dbType:"PROD")'}}]},params:{cacheID:"6a126ac9f5ebce1e8fd46d74fc9951b9",id:null,metadata:{},name:"MWRelayChatTabHeaderRootQuery",operationKind:"query",text:null}}}();e.exports=a}),null);
__d("MWRelayChatTabHeaderRoot.react",["LSRelayHooks","MWRelayChatTabHeader.react","MWRelayChatTabHeaderRootQuery.graphql","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j=i||d("react");function a(a){var e,f=a.pushPage,g=a.renderThreadDetails,i=a.tab;a=a.threadKey;a=d("LSRelayHooks").useLazyLoadClientQuery(h!==void 0?h:h=b("MWRelayChatTabHeaderRootQuery.graphql"),{threadKey:a});return(a==null?void 0:(e=a.lightspeed_data)==null?void 0:e.thread)==null?null:j.jsx(c("MWRelayChatTabHeader.react"),{pushPage:f,renderThreadDetails:g,root$key:a.lightspeed_data,tab:i,thread$key:a.lightspeed_data.thread})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98);
__d("MWCMSubthreadThreadViewChatTab.react",["CometErrorBoundary.react","I64","Int64Hooks","LSAuthorityLevel","LSFactory","LSIntEnum","LSReportThreadViewOpenStoredProcedure","LSResult","LSThreadBitOffset","LSVerifyThreadRowExistsStoredProcedure","MWCMSubthreadHeader.react","MWCMSubthreadThreadViewContexts.react","MWComposerGating.react","MWInboxThreadMessagesSpinner.react","MWLSThread","MWLSThreadDisplayContext","MWMessageList","MWPMessageListColumn.react","MWPThreadGradientBackground.react","MWRelayChatTabHeaderRoot.react","MWV2ErrorComposer.react","MWV2FileDropzone.react","MWV2OnAuthoritativeThreadInsert","MWV2TabContainer","MWXColumn.react","MWXColumnItem.react","emptyFunction","promiseDone","react","useReStore"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j,k,l=k||(k=d("react"));b=k;var m=b.useRef,n=b.useState,o={chatTabHeader:{maxHeight:"x1egxudb",$$css:!0}};function p(a){var b=a.onReturn,e=a.setActualThreadKey,g=a.tab,k=a.thread,n=(h||(h=c("useReStore")))(),p=d("MWLSThread").useThread(k.parentThreadKey);a=d("Int64Hooks").useCallbackInt64(function(){var a;(a=q.current)==null?void 0:a.jumpToMostRecentMessage();(i||(i=d("I64"))).equal(k.authorityLevel,(j||(j=d("LSIntEnum"))).ofNumber(c("LSAuthorityLevel").OPTIMISTIC))&&d("MWV2OnAuthoritativeThreadInsert").onAuthoritativeThreadInsert(c("LSResult")(k.threadKey),n,function(a){return e(a.threadKey)})},[k.authorityLevel,k.threadKey,n,e]);var q=m({getScrollAreaElement:c("emptyFunction"),jumpToMostRecentMessage:c("emptyFunction"),restoreScrollPosition:c("emptyFunction")});d("Int64Hooks").useEffectInt64(function(){c("promiseDone")(n.runInTransaction(function(a){return c("LSReportThreadViewOpenStoredProcedure")(c("LSFactory")(a),{threadKey:k.threadKey})},"readwrite",void 0,void 0,f.id+":98"))},[n,k.threadKey]);var r=function(){return l.jsx(c("MWCMSubthreadHeader.react"),{closeSidePanelOnBack:!1,isChatTab:!0,onPressBack:function(){b()},subtitle:p==null?void 0:p.threadName,thread:k,title:k.threadName})};return l.jsx(d("MWLSThreadDisplayContext").MWLSThreadDisplayContextProvider,{value:"ChatTab",children:l.jsx(c("MWCMSubthreadThreadViewContexts.react"),{thread:k,children:l.jsxs(c("MWV2TabContainer"),{style:{boxShadow:"none",margin:0},tab:g,threadKey:k.parentThreadKey,children:[l.jsx(c("MWXColumn.react"),{expanding:!0,xstyle:o.chatTabHeader,children:l.jsx(c("MWXColumnItem.react"),{expanding:!0,children:l.jsx(c("MWRelayChatTabHeaderRoot.react"),{renderThreadDetails:r,tab:g,threadKey:k.threadKey})})}),l.jsxs(d("MWV2FileDropzone.react").MWV2FileDropzone,{isMediaOnly:!d("LSThreadBitOffset").has(56,k),thread:k,children:[l.jsx("div",{className:"x78zum5 xdt5ytf x1iyjqo2",children:l.jsx(d("MWPThreadGradientBackground.react").MWPThreadGradientBackground,{children:l.jsx(c("MWMessageList"),{entryPoint:"popup_chat_box",ref:q,renderHeader:function(){return l.jsx(d("MWPMessageListColumn.react").MWPMessageListColumnGrow,{children:null})},thread:k})})}),l.jsx(c("CometErrorBoundary.react"),{fallback:function(){return l.jsx(c("MWV2ErrorComposer.react"),{})},children:l.jsx(d("MWComposerGating.react").MWChatComposerGating,{afterSendMessage:a,isPreviewThread:!1,thread:k})})]})]})})})}p.displayName=p.name+" [from "+f.id+"]";function a(a){var b=a.onReturn,e=a.tab,g=a.threadKey,k=(h||(h=c("useReStore")))();a=n(g);var m=a[0];a=a[1];var o=d("MWLSThread").useThread(m);d("Int64Hooks").useEffectInt64(function(){(o==null||!(i||(i=d("I64"))).equal(o==null?void 0:o.authorityLevel,(j||(j=d("LSIntEnum"))).ofNumber(c("LSAuthorityLevel").OPTIMISTIC)))&&c("promiseDone")(k.runInTransaction(function(a){return c("LSVerifyThreadRowExistsStoredProcedure")(c("LSFactory")(a),{syncGroup:(j||(j=d("LSIntEnum"))).ofNumber(1),threadKey:g})},"readwrite",void 0,void 0,f.id+":189"))},[k,o,g]);return o==null?l.jsx(c("MWInboxThreadMessagesSpinner.react"),{}):l.jsx(p,{onReturn:b,setActualThreadKey:a,tab:e,thread:o})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98);
__d("MinusFilled12.svg.react",["react"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h||d("react");function a(a){return i.jsxs("svg",babelHelpers["extends"]({viewBox:"0 0 12 13",width:"1em",height:"1em",fill:"currentColor"},a,{children:[a.title!=null&&i.jsx("title",{children:a.title}),a.children!=null&&i.jsx("defs",{children:a.children}),i.jsx("g",{fillRule:"evenodd",transform:"translate(-450 -1073)",children:i.jsx("path",{fillRule:"nonzero",d:"M452.25 1080.5h8a.75.75 0 1 0 0-1.5h-8a.75.75 0 1 0 0 1.5z"})})]}))}a.displayName=a.name+" [from "+f.id+"]";a._isSVG=!0;b=a;g["default"]=b}),98);