;/*FB_PKG_DELIM*/ __d("LSForceImmediateSync",[],(function(a,b,c,d,e,f){function a(){var a=arguments,b=a[a.length-1];b.n;var c=[];return b.seq([function(c){return b.fe(b.db.table(1).fetch([[[a[0]]]]),function(a){var c=a.update;a.item;return c({minTimeToSyncTimestampMs:b.i64.of_float(Date.now())})})},function(a){return b.resolve(c)}])}e.exports=a}),null); __d("MDSTextTypography",["UserAgent","cr:2011"],(function(a,b,c,d,e,f,g){"use strict";b("cr:2011");var h={apple:{MozOsxFontSmoothing:"xlh3980",WebkitFontSmoothing:"xvmahel",fontFamily:"x1n0sxbx",$$css:!0},"default":{fontFamily:"x10flsy6",$$css:!0},segoe:{fontFamily:"x1xmvt09",$$css:!0}},i={body1:{fontFamily:h["default"],fontSize:20,fontWeight:"normal",lineHeight:24,offsets:[4,5]},body2:{fontFamily:h["default"],fontSize:17,fontWeight:"normal",lineHeight:20,offsets:[3,5]},body3:{fontFamily:h["default"],fontSize:15,fontWeight:"normal",lineHeight:20,offsets:[4,5]},body4:{fontFamily:h["default"],fontSize:13,fontWeight:"normal",lineHeight:16,offsets:[3,4]},bodyLink1:{fontFamily:h["default"],fontSize:20,fontWeight:"semibold",lineHeight:24,offsets:[4,5]},bodyLink2:{fontFamily:h["default"],fontSize:17,fontWeight:"semibold",lineHeight:20,offsets:[3,5]},bodyLink3:{fontFamily:h["default"],fontSize:15,fontWeight:"semibold",lineHeight:20,offsets:[4,5]},bodyLink4:{fontFamily:h["default"],fontSize:13,fontWeight:"semibold",lineHeight:16,offsets:[3,4]},button1:{fontFamily:h["default"],fontSize:17,fontWeight:"semibold",lineHeight:20,offsets:[3,5]},button2:{fontFamily:h["default"],fontSize:15,fontWeight:"semibold",lineHeight:20,offsets:[4,5]},entityHeaderHeadline1:{fontFamily:h["default"],fontSize:32,fontWeight:"bold",lineHeight:38,offsets:[7,8]},entityHeaderHeadline2:{fontFamily:h["default"],fontSize:28,fontWeight:"bold",lineHeight:32,offsets:[5,7]},entityHeaderMeta1:{defaultColor:"secondary",fontFamily:h["default"],fontSize:15,fontWeight:"bold",lineHeight:20,offsets:[4,5]},entityHeaderMeta2:{defaultColor:"secondary",fontFamily:h["default"],fontSize:15,fontWeight:"bold",lineHeight:20,offsets:[4,5]},entityHeaderMeta3:{defaultColor:"primary",fontFamily:h["default"],fontSize:13,fontWeight:"bold",lineHeight:18,offsets:[4,3]},headline3:{fontFamily:h["default"],fontSize:17,fontWeight:"medium",lineHeight:20,offsets:[3,5]},headline4:{fontFamily:h["default"],fontSize:15,fontWeight:"medium",lineHeight:20,offsets:[4,5]},headlineEmphasized1:{fontFamily:h["default"],fontSize:24,fontWeight:"bold",lineHeight:28,offsets:[5,6]},headlineEmphasized2:{fontFamily:h["default"],fontSize:20,fontWeight:"bold",lineHeight:24,offsets:[4,5]},headlineEmphasized3:{fontFamily:h["default"],fontSize:17,fontWeight:"semibold",lineHeight:20,offsets:[3,4]},headlineEmphasized4:{fontFamily:h["default"],fontSize:15,fontWeight:"semibold",lineHeight:20,offsets:[4,5]},headlineEmphasized5:{fontFamily:h["default"],fontSize:15,fontWeight:"medium",lineHeight:18,offsets:[3,4]},meta1:{defaultColor:"secondary",fontFamily:h["default"],fontSize:13,fontWeight:"semibold",lineHeight:16,offsets:[3,4]},meta2:{defaultColor:"secondary",fontFamily:h["default"],fontSize:13,fontWeight:"semibold",lineHeight:16,offsets:[3,4]},meta3:{defaultColor:"secondary",fontFamily:h["default"],fontSize:13,fontWeight:"normal",lineHeight:16,offsets:[3,4]},meta4:{defaultColor:"secondary",fontFamily:h["default"],fontSize:12,fontWeight:"normal",lineHeight:16,offsets:[3,4]}},j=[["body1",[5,5]],["body2",[4,4]],["body3",[4,4]],["body4",[4,3]],["bodyLink1",[5,5]],["bodyLink2",[4,4]],["bodyLink3",[4,4]],["bodyLink4",[4,3]],["button1",[4,4]],["button2",[4,4]],["entityHeaderHeadline1",[8,7]],["entityHeaderHeadline2",[6,6]],["entityHeaderMeta1",[4,4]],["entityHeaderMeta2",[4,4]],["entityHeaderMeta3",[4,3]],["headline3",[4,4]],["headline4",[4,4]],["headlineEmphasized1",[6,5]],["headlineEmphasized2",[5,5]],["headlineEmphasized3",[4,4]],["headlineEmphasized4",[4,4]],["headlineEmphasized5",[4,3]],["meta1",[4,3]],["meta2",[4,3]],["meta3",[4,3]],["meta4",[3,3]]],k=[["body1",[5,5]],["body2",[4,4]],["body3",[5,4]],["body4",[4,3]],["bodyLink1",[6,4]],["bodyLink2",[4,3]],["bodyLink3",[5,4]],["bodyLink4",[4,3]],["button1",[4,3]],["button2",[5,4]],["entityHeaderHeadline1",[8,7]],["entityHeaderHeadline2",[7,5]],["entityHeaderMeta1",[5,4]],["entityHeaderMeta2",[5,4]],["entityHeaderMeta3",[4,3]],["headline3",[5,3]],["headline4",[5,4]],["headlineEmphasized1",[6,5]],["headlineEmphasized2",[6,4]],["headlineEmphasized3",[4,3]],["headlineEmphasized4",[5,4]],["headlineEmphasized5",[4,3]],["meta1",[4,3]],["meta2",[4,3]],["meta3",[4,3]],["meta4",[4,3]]],l=[["body1",[6,4,1]],["body2",[5,3,1]],["body3",[5,4]],["body4",[4,3,1]],["bodyLink1",[6,4,1]],["bodyLink2",[5,3,1]],["bodyLink3",[5,4]],["bodyLink4",[4,3,1]],["button1",[5,3,1]],["button2",[5,4]],["entityHeaderHeadline1",[10,6,2]],["entityHeaderHeadline2",[8,5,3]],["entityHeaderMeta1",[5,4,1]],["entityHeaderMeta2",[5,4,1]],["entityHeaderMeta3",[4,3]],["headline3",[5,3,1]],["headline4",[5,4]],["headlineEmphasized1",[7,4,2]],["headlineEmphasized2",[6,4,2]],["headlineEmphasized3",[5,3,1]],["headlineEmphasized4",[5,4]],["headlineEmphasized5",[5,3,1]],["meta1",[4,3,1]],["meta2",[4,3,1]],["meta3",[4,3,1]],["meta4",[4,3]]];function m(){if(c("UserAgent").isPlatform("Windows >= 6"))return{fontFamily:h.segoe,offsets:l};return c("UserAgent").isPlatform("Mac OS X >= 10.11")&&!c("UserAgent").isBrowser("Firefox < 55")||c("UserAgent").isPlatform("iOS >= 9")?{fontFamily:h.apple,offsets:c("UserAgent").isEngine("Gecko")?k:j}:null}function a(){var a=m();if(a!=null){var b=a.fontFamily;a=a.offsets;a=new Map(a);var c=babelHelpers["extends"]({},i);a.forEach(function(a,d){c[d]=babelHelpers["extends"]({},c[d],{fontFamily:b,offsets:a})});return c}return i}d=a();g["default"]=d}),98); __d("MDSTextV1.react",["BaseHeading.react","CometDensityModeContext","CometLineClamp.react","CometTextContext","CometTextLangContext","MDSTextTypography","cr:2099","react","stylex"],(function(a,b,c,d,e,f,g){"use strict";var h=d("react");e=d("react");var i=e.useContext,j=e.useMemo;e=(d=b("cr:2099"))!=null?d:{useTranslationKeyForTextParent:function(){}};var k=e.useTranslationKeyForTextParent,l={base:{maxWidth:"x193iq5w",minWidth:"xeuugli",wordBreak:"x13faqbe",wordWrap:"x1vvkbs",$$css:!0},block:{display:"x1lliihq","::after_content":"x1s928wv","::after_display":"xhkezso","::after_height":"x1gmr53x","::before_content":"x1cpjm7i","::before_display":"x1fgarty","::before_height":"x1943h6x",$$css:!0},heading:{maxWidth:"x193iq5w",minWidth:"xeuugli",$$css:!0}},m={center:{textAlign:"x2b8uid",$$css:!0},end:{textAlign:"xp4054r",$$css:!0},start:{textAlign:"x1yc453h",$$css:!0}},n={blueLink:{color:"x1fey0fg",$$css:!0},disabled:{color:"x1dntmbh",$$css:!0},disabledButton:{color:"x1x80s81",$$css:!0},highlight:{color:"x1qq9wsj",$$css:!0},negative:{color:"x1a1m0xk",$$css:!0},placeholder:{color:"x12scifz",$$css:!0},positive:{color:"x6u5lvz",$$css:!0},primary:{color:"xzsf02u",$$css:!0},primaryButton:{color:"xtk6v10",$$css:!0},primaryDeemphasizedButton:{color:"x1mvi0mv",$$css:!0},primaryOnMedia:{color:"x17z8epw",$$css:!0},secondary:{color:"xi81zsa",$$css:!0},secondaryButton:{color:"x1dem4cn",$$css:!0},secondaryOnMedia:{color:"xkxfvhb",$$css:!0},tertiary:{color:"x12scifz",$$css:!0},white:{color:"x14ctfv",$$css:!0}},o={12:{fontSize:"x1pg5gke",lineHeight:"xvq8zen",$$css:!0},13:{fontSize:"x1nxh6w3",lineHeight:"x1sibtaa",$$css:!0},15:{fontSize:"x6prxxf",lineHeight:"xvq8zen",$$css:!0},17:{fontSize:"x1lkfr7t",lineHeight:"x1lbecb7",$$css:!0},20:{fontSize:"x1603h9y",lineHeight:"x1u7k74",$$css:!0},24:{fontSize:"xngnso2",lineHeight:"x1qb5hxa",$$css:!0},28:{fontSize:"x1q74xe4",lineHeight:"xyesn5m",$$css:!0},32:{fontSize:"x579bpy",lineHeight:"xjkpybl",$$css:!0}},p={12:{fontSize:"x1pg5gke",lineHeight:"xvq8zen",$$css:!0},13:{fontSize:"x1pg5gke",lineHeight:"x1sibtaa",$$css:!0},15:{fontSize:"x1f6kntn",lineHeight:"xvq8zen",$$css:!0},17:{fontSize:"x1jchvi3",lineHeight:"x1lbecb7",$$css:!0},20:{fontSize:"x1603h9y",lineHeight:"x1u7k74",$$css:!0},24:{fontSize:"xngnso2",lineHeight:"x1qb5hxa",$$css:!0},28:{fontSize:"x1q74xe4",lineHeight:"xyesn5m",$$css:!0},32:{fontSize:"x579bpy",lineHeight:"xjkpybl",$$css:!0}},q={bold:{fontWeight:"x1xlr1w8",$$css:!0},medium:{fontWeight:"xk50ysn",$$css:!0},normal:{fontWeight:"x1fcty0u",$$css:!0},semibold:{fontWeight:"x1s688f",$$css:!0}},r={1:{"::before_marginTop":"x1ckan80",$$css:!0},2:{"::before_marginTop":"x1s3etm8",$$css:!0},3:{"::before_marginTop":"x1tu3fi",$$css:!0},4:{"::before_marginTop":"x4zkp8e",$$css:!0},5:{"::before_marginTop":"xudqn12",$$css:!0},6:{"::before_marginTop":"xtoi2st",$$css:!0},7:{"::before_marginTop":"x14z4hjw",$$css:!0},8:{"::before_marginTop":"x1ill7wo",$$css:!0},9:{"::before_marginTop":"xhau9xz",$$css:!0},10:{"::before_marginTop":"x14qwyeo",$$css:!0}},s={1:{"::after_marginBottom":"xo8pqpo",$$css:!0},2:{"::after_marginBottom":"xlf94lp",$$css:!0},3:{"::after_marginBottom":"x676frb",$$css:!0},4:{"::after_marginBottom":"x3x7a5m",$$css:!0},5:{"::after_marginBottom":"x41vudc",$$css:!0},6:{"::after_marginBottom":"xw06pyt",$$css:!0},7:{"::after_marginBottom":"x1g2y4wz",$$css:!0},8:{"::after_marginBottom":"x1x48ksl",$$css:!0},9:{"::after_marginBottom":"x1guzi96",$$css:!0},10:{"::after_marginBottom":"x1y9wsrc",$$css:!0}},t={1:{paddingBottom:"x1j85h84",$$css:!0},2:{paddingBottom:"x1120s5i",$$css:!0},3:{paddingBottom:"xg8j3zb",$$css:!0}},u={disabled:"disabledButton",highlight:"primaryDeemphasizedButton",secondary:"secondaryButton",white:"primaryButton"};function v(a,b){return b?(b=u[a])!=null?b:a:a}function w(a,b){return b==="headlineEmphasized5"||b==="entityHeaderMeta3"?null:{color:a,type:b}}function a(a,b){var d=a.align;d=d===void 0?"auto":d;var e=a.children,f=a.color,g=a.dir;g=g===void 0?"auto":g;var u=a.id,x=a.isSemanticHeading;x=x===void 0?!1:x;var y=a.numberOfLines,z=a.testid,A=a.type;z=i(c("CometTextContext"));a=i(c("CometDensityModeContext"));a=a[0];var B=i(c("CometTextLangContext")),C=c("MDSTextTypography")[A],D=C.defaultColor;D=D===void 0?"primary":D;var E=C.fontFamily,F=C.fontSize,G=C.fontWeight;G=G===void 0?"normal":G;C=C.offsets;C=C===void 0?[0,0]:C;var H=C.length===3?C[2]:0,I=v((f=f)!=null?f:D,A==="button1"||A==="button2");f=j(function(){return w(I,A)},[I,A]);D=z!==null;z=k();f=h.jsx(c("CometTextContext").Provider,{value:f,children:h.jsx("span",{className:c("stylex")(l.base,E,!D&&l.block,!D&&r[C[0]],!D&&s[y!=null?C[1]+H:C[1]],a?p[F]:o[F],q[G],n[I],d!=="auto"&&m[d]),"data-testid":void 0,dir:D?void 0:g,id:u,lang:B,ref:b,children:y!=null?h.jsx(c("CometLineClamp.react"),{lines:y,xstyle:H!==0&&t[H],children:e}):e},z)});return x?h.jsx(c("BaseHeading.react"),{isPrimaryHeading:x,xstyle:l.heading,children:f}):f}a.displayName=a.name+" [from "+f.id+"]";b=h.forwardRef(a);b.displayName="MDSText";d=b;g["default"]=d}),98); __d("MWProfilePhoto.react",["CometProfilePhoto.react","react"],(function(a,b,c,d,e,f,g){"use strict";var h=d("react");function a(a,b){return h.jsx(c("CometProfilePhoto.react"),babelHelpers["extends"]({},a,{ref:b}))}a.displayName=a.name+" [from "+f.id+"]";b=h.forwardRef(a);g["default"]=b}),98); __d("MWText.react",["MDSText.react"],(function(a,b,c,d,e,f,g){"use strict";g["default"]=c("MDSText.react")}),98); __d("MAWTimeUtils",["I64","WATimeUtils"],(function(a,b,c,d,e,f,g){"use strict";function h(a){return d("I64").of_float(a*1e3)}function a(a){return a>d("WATimeUtils").MAX_INT?d("I64").of_float(a):h(a)}g.toTimestamp=h;g.millisTimeToTimestamp=a}),98); __d("MWCMInboxHeaderCommunityGroupName.react",["fbt","CometPagelet.react","I64","LSSuspense","MWCMThreadTypes.bs","MWCMUseFolder.bs","PresenceStatusContext","Promise","cr:183","react"],(function(a,b,c,d,e,f,g,h){"use strict";var i=d("react"),j=d("react").useContext;function k(a){return a}var l=b("cr:183")==null?function(a){return d("I64").neg_one}:b("cr:183").useCMThreadCoPresence;function a(a){var e=a.renderWrapper;a=a.thread;e=e!==void 0?e:k;var f=d("MWCMUseFolder.bs").useHook(a),g=j(c("PresenceStatusContext")),m=l(a);if(f!==void 0){f=f.name;var n=a.cannotReplyReason==="broadcast_chat_read_only";n=d("MWCMThreadTypes.bs").isBroadcastThread(a.threadType)&&!n?h._("__JHASH__QrGOls5Na3V__JHASH__"):d("MWCMThreadTypes.bs").isPrivateThread(a.threadType)?h._("__JHASH__AR0EXhdbXqJ__JHASH__"):null;a=e(d("I64").gt(m,d("I64").zero)&&g.getChatVisibility()?h._("__JHASH__zBhIvI5rTRs__JHASH__",[h._plural(d("I64").to_int32(m),"number")]):i.jsxs(i.Fragment,{children:[f," ",n!=null?"-":null," ",n]}))}else a=c("LSSuspense").throwErrorOrPromise(b("Promise").resolve());return i.jsx(d("CometPagelet.react").Placeholder,{className:"x193iq5w",fallback:null,name:"MWCMInboxHeaderCommunityGroupName",children:a})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("MWChatTextTransform.bs",["CometEmojiTransform","CometEmoticonTransform","bs_curry","cr:2420","gkx"],(function(a,b,c,d,e,f,g){"use strict";d=c("CometEmoticonTransform")();e=c("CometEmojiTransform")();f=c("gkx")("1839834")?[d,e]:[e];var h=f.slice();if(!(b("cr:2420")==null)){var i=c("bs_curry")._1(b("cr:2420").unvaultTransform);h.push(i)}function a(a){if(c("gkx")("1839834"))return[c("CometEmoticonTransform")(a),c("CometEmojiTransform")(a)];else return[c("CometEmojiTransform")(a)]}g.$MAWUnvaultTransform$requireCond=b("cr:2420");g.emoticonTransform=d;g.emojiTransform=e;g.epdTextTransformsNoVault=f;g.epdTextTransforms=h;g.epdTextTransformsWithOptions=a}),98); __d("MWChatContactPresenceHook.bs",["AvailableListConstants","PresenceStatusContext","bs_caml_option","bs_curry","bs_int64","react","requireDeferred"],(function(a,b,c,d,e,f,g){"use strict";var h=d("react"),i=c("requireDeferred")("MessengerMQTTPresence.bs").__setRef("MWChatContactPresenceHook.bs");function j(a,b){var d=c("bs_curry")._1(a.getStatus,b),e=d==null?void 0:c("bs_caml_option").some(d);a=c("bs_curry")._1(a.getChatVisibility);if(!(d==null)||!a)return e;else{i.onReady(function(a){return c("bs_curry")._1(a.sendAdditionalBuddyRequest,b)});return}}function k(a){var b=h.useContext(c("PresenceStatusContext")),d=c("bs_int64").to_string(a);a=h.useState(function(){return j(b,d)});var e=a[1];h.useEffect(function(){return c("bs_curry")._1(b.addListener,function(a){return c("bs_curry")._1(e,function(a){return j(b,d)})})},[b,d,e]);return a[0]}function a(a){a=k(a);if(a===void 0)return!1;a=a.status;if(a==null)return!1;else return a===c("AvailableListConstants").ACTIVE}function b(a){a=k(a);if(a===void 0)return;a=a.last_active_time;if(!(a==null)&&a!==0)return a*1e3}function e(a){var b=h.useContext(c("PresenceStatusContext")),d=h.useMemo(function(){return a.map(function(a){return c("bs_int64").to_string(a)})},[a]);return d.some(function(a){a=j(b,a);if(a===void 0)return!1;a=a.status;if(a==null)return!1;else return a===c("AvailableListConstants").ACTIVE})}g.$MessengerMQTTPresence$Deferred=i;g.useHook=k;g.useIsActive=a;g.useLastActiveTimestampMs=b;g.useHasActiveContact=e}),98); __d("MDSSvgIcon.react",["CometSVGIcon.react","react"],(function(a,b,c,d,e,f,g){"use strict";var h=d("react");function a(a){var b=a.children,d=a.color,e=a.dataTestId;e=a.inline;e=e===void 0?!1:e;var f=a.size;f=f===void 0?24:f;a=a.viewBox;a=a===void 0?"0 0 36 36":a;return h.jsx(c("CometSVGIcon.react"),{color:d,"data-testid":void 0,inline:e,size:f,viewBox:a,children:b})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("MDSLockSvgIcon.bs",["MDSSvgIcon.react","react"],(function(a,b,c,d,e,f,g){"use strict";var h=d("react");function a(a){return h.jsx(c("MDSSvgIcon.react"),babelHelpers["extends"]({},a,{children:h.jsx("path",{clipRule:"evenodd",d:"M12.25 15.5a.25.25 0 00.25-.25V12a5.5 5.5 0 1111 0v3.25c0 .138.112.25.25.25h.75a2 2 0 012 2v9a2 2 0 01-2 2h-13a2 2 0 01-2-2v-9a2 2 0 012-2h.75zm3 0h5.5a.25.25 0 00.25-.25V12a3 3 0 10-6 0v3.25c0 .138.112.25.25.25z",fillRule:"evenodd"})}))}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("LSPresenceStatus",[],(function(a,b,c,d,e,f){a=Object.freeze({OFFLINE:1,ACTIVE:2});f["default"]=a}),66); __d("MWPresenceBadge.bs",["CometBadge.react","MWChatContactPresenceHook.bs","MWPActor.bs","ReQL.bs","ReQLSubscription.bs","bs_caml","react","useReStore"],(function(a,b,c,d,e,f,g){"use strict";var h=d("react");function a(a){var b=a.size;a=a.thread;var e=c("useReStore")(),f=a.threadKey,g=d("MWPActor.bs").useActor();a=d("ReQLSubscription.bs").useArray(h.useMemo(function(){return d("ReQL.bs").map(d("ReQL.bs").filter(d("ReQL.bs").getKeyRange(d("ReQL.bs").fromTableAscending(e.table("participants")),{hd:f,tl:0}),function(a){return c("bs_caml").i64_neq(a.contactId,g)}),function(a){return a.contactId})},[e,JSON.stringify(a.threadKey)]));a=d("MWChatContactPresenceHook.bs").useHasActiveContact(a);if(a)return h.jsx(c("CometBadge.react"),{border:"white",color:"green",isProfileBadge:!0,size:b});else return null}b=a;e=b;g.make=e}),98); __d("MWPPresenceBadge.react",["CometBadge.react","I64","LSIntEnum","LSPresenceStatus","MWPresenceBadge.bs","PresenceContext","ReQL","ReQLSuspense","RelayHooks","gkx","qex","react","useReStore"],(function(a,b,c,d,e,f,g){"use strict";var h=d("react"),i=d("react").useContext;function a(a){var b,e=a.size;a=a.thread;return c("gkx")("6543")||c("gkx")("5849")||((b=c("qex")._("274"))!=null?b:!1)?h.jsx(j,{size:e,thread:a}):h.jsx(d("MWPresenceBadge.bs").make,{size:e,thread:a})}a.displayName=a.name+" [from "+f.id+"]";function j(a){var b=d("RelayHooks").useActorID(),e=c("useReStore")(),f=a.size;a=a.thread;var g=a.threadKey;a=i(c("PresenceContext")).chatVisibility;a=d("ReQLSuspense").useFirst(function(){return d("ReQL").mergeJoin(d("ReQL").fromTableAscending(e.table("presence_states").index("statusContactId")).getKeyRange(d("LSIntEnum").ofNumber(c("LSPresenceStatus").ACTIVE)),d("ReQL").fromTableAscending(e.table("participants")).getKeyRange(g).filter(function(a){a=a.contactId;return d("I64").to_string(a)!==b}))},[b,e,g])!=null&&a;return a?h.jsx(c("CometBadge.react"),{border:"white",color:"green",isProfileBadge:!0,size:f}):null}j.displayName=j.name+" [from "+f.id+"]";g["default"]=a}),98); __d("UseCurrentDisplayMode.bs",[],(function(a,b,c,d,e,f){"use strict";a="dark";b="light";f.darkTheme=a;f.lightTheme=b}),66); __d("MWFacepileBadge.bs",["CometBadge.react","CometPlaceholder.react","LSMessagingThreadTypeUtil.bs","MAWGating","MDSLockSvgIcon.bs","MWPPresenceBadge.react","UseCurrentDisplayMode.bs","react","useCurrentDisplayMode"],(function(a,b,c,d,e,f,g){"use strict";var h=d("react"),i={badge:{display:"x1lliihq",marginTop:"xr1yuqi",marginEnd:"xkrivgy",marginBottom:"x4ii5y1",marginStart:"x1gryazu",$$css:!0},badgeDark:{backgroundColor:"x14hiurz",$$css:!0},badgeLight:{backgroundColor:"xal61yo",$$css:!0}};function a(a){var b=a.size;a=a.thread;var e=c("useCurrentDisplayMode")(),f=d("LSMessagingThreadTypeUtil.bs").isSecure(a.threadType),g=d("MAWGating").isArmadillo(),j=d("MAWGating").isE2EEAttributionAndPresenceEnabled();if(f&&g&&!j){f=e===d("UseCurrentDisplayMode.bs").darkTheme;return h.jsx(c("CometBadge.react"),{border:"white",colorOverride:[f?i.badgeDark:i.badgeLight],isProfileBadge:!0,size:b,children:h.jsx("div",{className:"x1lliihq xr1yuqi xkrivgy x4ii5y1 x1gryazu","data-testid":void 0,children:h.jsx(c("MDSLockSvgIcon.bs"),{color:f?"black":"white",size:b})})})}return h.jsx(c("CometPlaceholder.react"),{fallback:null,children:h.jsx(c("MWPPresenceBadge.react"),{size:b,thread:a})})}a.displayName=a.name+" [from "+f.id+"]";b=a;e=b;g.make=e}),98); __d("MWFacepileGetContactsToShow.bs",["LSMediaUrl.bs","LSMessagingThreadTypeUtil.bs","MWPActor.bs","ReQL.bs","ReQLSubscription.bs","bs_belt_Array","bs_caml","react","useReStore"],(function(a,b,c,d,e,f,g){"use strict";var h=d("react");function i(a){if(a!==void 0&&d("LSMediaUrl.bs").Contact.profilePictureUrl(a)!=="")return a}var j=[];function a(a){return a.sort(function(a,b){return b.rank-a.rank})}function k(a,b,e){var f=function(a){return a.filter(function(a){return c("bs_caml").i64_neq(a.id,e)})},g=b.length,h;if(g>=3){var k=f(c("bs_belt_Array").keepMap(b,i));h=k.length>=2?k:j}else switch(g){case 0:h=j;break;case 1:k=b[0];h=k!==void 0&&d("LSMediaUrl.bs").Contact.profilePictureUrl(k)!==""?[k]:j;break;case 2:g=b[0];if(g!==void 0){k=b[1];if(k!==void 0)if(d("LSMessagingThreadTypeUtil.bs").isOneToOne(a.threadType)){b=f([g,k]);if(b.length!==1)h=j;else{f=b[0];h=d("LSMediaUrl.bs").Contact.profilePictureUrl(f)!==""?[f]:j}}else h=d("LSMediaUrl.bs").Contact.profilePictureUrl(g)!==""&&d("LSMediaUrl.bs").Contact.profilePictureUrl(k)!==""&&d("LSMessagingThreadTypeUtil.bs").isGroup(a.threadType)?[g,k]:j;else h=j}else h=j;break}return h.sort(function(a,b){return b.rank-a.rank}).slice(0,2)}function b(a){var b=d("MWPActor.bs").useActor(),e=c("useReStore")(),f=a.threadKey,g=d("ReQLSubscription.bs").useArray(h.useMemo(function(){return d("ReQL.bs").map(d("ReQL.bs").take(d("ReQL.bs").leftJoin(d("ReQL.bs").getKeyRange(d("ReQL.bs").fromTableAscending(e.table("participants")),{hd:f,tl:0}),d("ReQL.bs").fromTableAscending(e.table("contacts"))),3),function(a){return a[1]})},[e,JSON.stringify(f)]));return k(a,g,b)}e=i;f=j;a=a;var l=k;b=b;g.hasProfilePicture=e;g.glimmer=f;g.sortByRank=a;g.getContactsToShow=l;g.useHook=b}),98); __d("MWV2GetOtherUser.bs",["LSMessagingThreadTypeUtil.bs","MWPActor.bs","bs_caml","recoverableViolation"],(function(a,b,c,d,e,f,g){"use strict";function h(a,b,e){if(!d("LSMessagingThreadTypeUtil.bs").isOneToOne(a.threadType))return;if(b.length===1){a=b[0];var f=a[1];if(f!==void 0)return[a[0],f];else return}a=b.filter(function(a){return c("bs_caml").i64_neq(a[0].contactId,e)});if(a.length===0){c("recoverableViolation")("No participants in thread","messenger_comet");return}f=a[0];b=f[1];if(b!==void 0)return[f[0],b]}function a(a,b){var c=d("MWPActor.bs").useActor();return h(a,b,c)}b=h;e=a;g.getOtherUser=b;g.useOtherUser=e}),98); __d("LSThreadTitle.bs",["CometTextWithEntities.react","LSMessagingThreadTypeUtil.bs","MWCMIsAnyCMThread","MWChatTextTransform.bs","MWPActor.bs","MWPGetThreadTitle.bs","MWV2GetOtherUser.bs","ReQL.bs","ReQLSuspense","bs_caml_option","bs_curry","intlList","react","useReStore"],(function(a,b,c,d,e,f,g){"use strict";var h=d("react");function i(a){var b=a.actorIDOverride,e=a.thread,f=a.transforms;a=a.wrapOutput;var g=d("MWPActor.bs").useActor(),i=c("useReStore")();b=b!==void 0?b:g;var j=d("ReQLSuspense").useArray(function(){return d("ReQL.bs").take(d("ReQL.bs").leftJoin(d("ReQL.bs").getKeyRange(d("ReQL.bs").fromTableAscending(i.table("participants")),{hd:e.threadKey,tl:0}),d("ReQL.bs").fromTableAscending(i.table("contacts"))),8)},[e.threadKey]);b=d("MWPGetThreadTitle.bs").computeThreadTitle(c("bs_caml_option").some(c("intlList").CONJUNCTIONS.NONE),e,j,b);if(b===void 0)return"";b=h.jsx(c("CometTextWithEntities.react"),{text:b,transforms:f});f=d("MWV2GetOtherUser.bs").getOtherUser(e,j,g);if(a!==void 0&&f!==void 0&&d("LSMessagingThreadTypeUtil.bs").isOneToOne(e.threadType))return c("bs_curry")._2(a,f[1],b);else return b}b={make:i};function a(a){var b=a.transforms,e=a.actorIDOverride,f=a.thread;a=a.wrapOutput;b=b!==void 0?b:d("MWChatTextTransform.bs").epdTextTransforms;var g=f.threadName;if(g!==void 0)return h.jsx(c("CometTextWithEntities.react"),{text:g,transforms:b});if(c("MWCMIsAnyCMThread")(f.threadType))return null;g={thread:f,transforms:b};a!==void 0&&(g.wrapOutput=c("bs_caml_option").valFromOption(a));e!==void 0&&(g.actorIDOverride=c("bs_caml_option").valFromOption(e));return h.jsx(i,babelHelpers["extends"]({},g))}a.displayName=a.name+" [from "+f.id+"]";e=a;f=b;a=e;g.ComputedThreadName=f;g.make=a}),98); __d("MWLSThreadDisplayContext.re",["MWLSThreadDisplayContext.bs"],(function(a,b,c,d,e,f){a=b("MWLSThreadDisplayContext.bs").Provider.make;f.Provider_make=a;c=b("MWLSThreadDisplayContext.bs").useHook;f.useHook=c;d=b("MWLSThreadDisplayContext.bs").Provider;f.Provider=d}),null); __d("LSContactIdType.bs",["bs_caml_int64"],(function(a,b,c,d,e,f){"use strict";a=b("bs_caml_int64").zero;c=b("bs_caml_int64").one;d=[0,2];f.unknown=a;f.fbid=c;f.smsLocalId=d}),null); __d("LSContactViewerRelationship.bs",["bs_caml_int64"],(function(a,b,c,d,e,f){"use strict";a=b("bs_caml_int64").zero;c=b("bs_caml_int64").one;d=[0,2];e=[0,3];b=[0,4];f.unknown=a;f.notContact=c;f.contactOfViewer=d;f.facebookFriend=e;f.softContact=b}),null); __d("LSContactWorkForeignEntityType.bs",["bs_caml_int64"],(function(a,b,c,d,e,f){"use strict";a=b("bs_caml_int64").zero;c=b("bs_caml_int64").one;d=[0,2];e=[0,3];f.unknown=a;f.foreign=c;f.notForeign=d;f.notForeignLimited=e}),null); __d("MWV2EnsureThatChatTabExists.bs",["LS.bs","LSAuthorityLevel.bs","LSContactBlockedByViewerStatus.bs","LSContactGender.bs","LSContactIdType.bs","LSContactType.bs","LSContactViewerRelationship.bs","LSContactWorkForeignEntityType.bs","LSDatabaseType.bs","LSMessagingThreadTypeUtil.bs","LSVerifyContactRowExists","LSVerifyThreadRowExists","Promise","bs_curry","cr:3989","promiseDone","react","useReStore"],(function(a,b,c,d,e,f,g){"use strict";var h=d("react");function a(a,e){var f=c("useReStore")();h.useEffect(function(){var g=function(g){if(d("LSMessagingThreadTypeUtil.bs").isOneToOne(e))return f.runInTransaction(function(b){return c("LSVerifyContactRowExists")(a,d("LSContactIdType.bs").fbid,void 0,void 0,d("LSContactType.bs").user,void 0,void 0,void 0,void 0,!1,!1,d("LSContactBlockedByViewerStatus.bs").unblocked,void 0,!1,d("LSAuthorityLevel.bs").clientPartial,void 0,void 0,d("LSContactWorkForeignEntityType.bs").unknown,d("LSContactGender.bs").unknown,d("LSContactViewerRelationship.bs").unknown,void 0,d("LS.bs").make(b))},"readwrite");else return b("Promise").resolve()};c("promiseDone")(g().then(function(g){return!(b("cr:3989")==null)&&d("LSMessagingThreadTypeUtil.bs").isSecure(e)?c("bs_curry")._2(b("cr:3989").call,f,a):f.runInTransaction(function(b){return c("LSVerifyThreadRowExists")(a,e,d("LSDatabaseType.bs").mailbox,d("LS.bs").make(b))},"readwrite")}))},[f,JSON.stringify(a),JSON.stringify(e)])}g.$MAWVerifyExistingThreadExists$requireCondXplat=b("cr:3989");g.useHook=a;g.mawVerifyExistingThreadExists=b("cr:3989")}),98); __d("LSPlatformWaitForTaskCompletion",["I64","Promise","ReQL","emptyFunction","err","promiseDone","regeneratorRuntime","uuid"],(function(a,b,c,d,e,f,g){"use strict";function a(a,e,f){var g,h,i,j,k,l,m,n,o,p;return b("regeneratorRuntime").async(function(q){while(1)switch(q.prev=q.next){case 0:g=new Set();h=[];i=0;j=!0;m=new(b("Promise"))(function(a,b){k=a,l=b});n=c("uuid")();o=!0;q.next=9;return b("regeneratorRuntime").awrap(a.runInTransaction(function(m){var q,r,s,t;return b("regeneratorRuntime").async(function(u){while(1)switch(u.prev=u.next){case 0:u.next=2;return b("regeneratorRuntime").awrap(m.table("mailbox_task_completion_notification_context").add({notificationName:f,notificationScopeKey:n}));case 2:q=a.table("pending_tasks").subscribe(function(a,b){a=d("I64").to_string(a.hd);b.operation==="add"||b.operation==="put"?g.add(a):g["delete"](a)});r=c("emptyFunction");s=a.table("mailbox_task_completion_api_tasks").subscribe(function(a,b){if(b.operation==="add"||b.operation==="put"&&b.value.notificationScopeKey===n){a=d("I64").to_string(b.value.taskId);g["delete"](a);b=b.value.success;b==null?o&&(h.push(a),i+=1):(j=b&&j,i-=1)}});r=a.subscribeToCommit(function(){i===0&&g.size===0&&(s(),q(),r(),c("promiseDone")(a.runInTransaction(function(a){var c,e;return b("regeneratorRuntime").async(function(f){while(1)switch(f.prev=f.next){case 0:c=0;case 1:if(!(c=0&&d(e[a])}c&&c()},[b,c,e,d])}g["default"]=a}),98); __d("useCometTokenizerLayoutStrategyOnEnterHandler",["react"],(function(a,b,c,d,e,f,g){"use strict";var h=d("react").useCallback;function a(a){var b=a.onEnter;return h(function(){b&&b()},[b])}g["default"]=a}),98); __d("useCometTokenizerLayoutStrategyOnPressEntryHandler",["react","useCometInternalTypeaheadStateDispatcher"],(function(a,b,c,d,e,f,g){"use strict";var h=d("react").useCallback;function a(a){var b=a.inputRef,d=a.onChange,e=a.onPressEntry;a=c("useCometInternalTypeaheadStateDispatcher")();var f=a.dispatchHighlightedEntry,g=b.current;return h(function(a,b){g!=null&&(g.value="",g.focus()),f({entry:null,source:null}),d(""),e&&e(a,b)},[g,f,d,e])}g["default"]=a}),98); __d("CometTokenizerInternalLayoutContextualStrategy.react",["fbt","CometContextualLayer.react","CometHeroHoldTrigger.react","CometTokenizerInputStrategyEventListener.react","CometTypeaheadViewStrategyEventListener.react","FocusRegion.react","cometHandleHighlightDropOnMouseLeave","emptyFunction","focusScopeQueries","intlList","react","stylex","useCometAccessibilityAlerts","useCometInternalTypeaheadState","useCometTypeaheadInputRefs","useResizeObserver"],(function(a,b,c,d,e,f,g,h){"use strict";var i=d("react");b=d("react");var j=b.useEffect,k=b.useRef,l={helperText:{marginTop:"x1xmf6yo",$$css:!0},view:{backgroundColor:"x1jx94hy",borderTopStartRadius:"x1lq5wgf",borderTopEndRadius:"xgqcy7u",borderBottomEndRadius:"x30kzoy",borderBottomStartRadius:"x9jhf4c",boxShadow:"xbsqzb3",boxSizing:"x9f619",display:"x78zum5",flexDirection:"xdt5ytf",flexGrow:"x1iyjqo2",marginTop:"xr9ek0c",width:"xh8yej3",$$css:!0}},m="ChatTypeahead";function a(a){var b=a.contextualProps;b=b===void 0?{}:b;var e=b.align;e=e===void 0?"stretch":e;var f=b.position;f=f===void 0?"below":f;var g=babelHelpers.objectWithoutPropertiesLoose(b,["align","position"]),n=a.description;b=a.extraLayoutProps;var o=b.ariaProps,p=o.ariaDescribedByProps,q=o.ariaInputProps,r=o.ariaViewProps;o=b.helperTextComponent;var s=b.isLoading;b=b.isOpened;var t=a.errorMessage,u=a.commandConfigs,v=a.selectedEntries,w=a.inputStrategyRenderer,x=a.isDisabled,y=a.label,z=a.layerContext;z=z===void 0?"root":z;var A=a.onBackspace,B=a.onBlur,C=a.onChange,D=a.onClick,E=a.onDownArrow,F=a.onEnter,G=a.onEscape,H=a.onFocus,I=a.onShiftTab,J=a.onTab,K=a.onUpArrow,L=a.queryString,M=a.inputRef,N=a.tokensStrategyRenderer,O=a.viewStrategyRenderer,P=a.xstyles,Q=babelHelpers.objectWithoutPropertiesLoose(a,["contextualProps","description","extraLayoutProps","errorMessage","commandConfigs","selectedEntries","inputStrategyRenderer","isDisabled","label","layerContext","onBackspace","onBlur","onChange","onClick","onDownArrow","onEnter","onEscape","onFocus","onShiftTab","onTab","onUpArrow","queryString","inputRef","tokensStrategyRenderer","viewStrategyRenderer","xstyles"]);a=c("useCometTypeaheadInputRefs")(M);M=a.composedRef;a=a.inputRef;var R=k(null),S=k(null),T=c("useResizeObserver")(function(){S.current!=null&&S.current.reposition({autoflip:!g.disableAutoFlip})}),U=c("useCometInternalTypeaheadState")(),V=U.activeEntries,W=U.highlightedEntry;U=z==="input"?a.current:R.current;var X=c("cometHandleHighlightDropOnMouseLeave")(Q.onHighlightEntry);z=c("useCometAccessibilityAlerts")();a=z[0];var Y=z[1],Z=k();j(function(){var a,b=(a=Z.current)!=null?a:[];if(v&&b.lengthv.length){a=b.filter(function(a){return!v.includes(a)});Y(h._("__JHASH__E2ufigyYww2__JHASH__",[h._param("entries",c("intlList")(a.map(function(a){return a.label}),c("intlList").CONJUNCTIONS.AND).toString())]))}Z.current=v},[v,Y]);return i.jsxs(i.Fragment,{children:[i.jsx("div",{className:c("stylex")(P==null?void 0:P.layoutXStyle),ref:R,children:i.jsxs("div",{className:c("stylex")(P==null?void 0:P.inputXStyle),onClick:D,ref:T,role:"presentation",children:[a,i.jsx(d("FocusRegion.react").FocusRegion,{recoverFocusQuery:d("focusScopeQueries").tabbableScopeQuery,children:i.jsx(c("CometTokenizerInputStrategyEventListener.react"),{commandConfigs:u,onBackspace:A,onBlur:B,onChange:C,onClick:c("emptyFunction"),onDownArrow:E,onEnter:F,onEscape:G,onFocus:H,onShiftTab:I,onTab:J,onUpArrow:K,ref:M,children:function(a,b){return i.jsx(w,babelHelpers["extends"]({},b,{ariaProps:q,autoFocus:Q.autoFocus,description:n,errorMessage:t,id:Q.id,inputEndContent:Q.inputEndContent,inputExtraProps:Q.inputExtraProps,inputStartContent:v.length>0?i.jsx(N,{isDisabled:x,onPress:Q.onRemoveEntry,tokens:v}):null,isDisabled:x,label:y,placeholder:Q.placeholder,queryString:L,ref:a,testid:void 0}))}})})]})}),o!=null&&i.jsx("div",babelHelpers["extends"]({className:"x1xmf6yo"},p,{children:o})),i.jsx(c("CometHeroHoldTrigger.react"),{description:m,hold:!(U!=null&&b!==!1)||U!=null&&b!==!1&&V.length===0}),U&&b&&i.jsx(c("CometContextualLayer.react"),babelHelpers["extends"]({},g,{align:e,context_DEPRECATED:U,position:f,ref:S,children:i.jsx(c("CometTypeaheadViewStrategyEventListener.react"),{onOutsideClick:Q.onOutsideClick,children:function(a){return i.jsxs("div",{className:c("stylex")([l.view,P==null?void 0:P.viewXStyle_DO_NOT_USE]),onMouseLeave:X,ref:a,children:[i.jsx(O,{ariaProps:r,entries:V,extraViewProps:Q.extraViewProps,highlightedEntry:W,isLoading:s,onHighlightEntry:Q.onHighlightEntry,onPressEntry:Q.onPressEntry,queryString:L}),i.jsx(c("CometHeroHoldTrigger.react"),{description:m,hold:s&&V.length===0})]})}})}))]})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("useCometTokenizerInternalLayoutInlineStrategyHandlers",["react","useCometTokenizerLayoutStrategyOnBackspaceHandler","useCometTokenizerLayoutStrategyOnEnterHandler","useCometTokenizerLayoutStrategyOnPressEntryHandler","useCometTypeaheadLayoutStrategyOnBlurHandler","useCometTypeaheadLayoutStrategyOnChangeHandler","useCometTypeaheadLayoutStrategyOnDownArrowHandler","useCometTypeaheadLayoutStrategyOnHighlightEntryHandler","useCometTypeaheadLayoutStrategyOnOutsideClickHandler","useCometTypeaheadLayoutStrategyOnUpArrowHandler"],(function(a,b,c,d,e,f,g){"use strict";var h=d("react").useCallback;function a(a){var b=a.handlers,d=b.onBackspace,e=b.onBlur,f=b.onChange,g=b.onDownArrow,i=b.onEnter,j=b.onEscape,k=b.onHighlightEntry,l=b.onOutsideClick,m=b.onPressEntry,n=b.onRemoveEntry;b=b.onUpArrow;var o=a.inputRef;a=a.selectedEntries;k=c("useCometTypeaheadLayoutStrategyOnHighlightEntryHandler")({onHighlightEntry:k});d=c("useCometTokenizerLayoutStrategyOnBackspaceHandler")({inputRef:o,onBackspace:d,onRemoveEntry:n,selectedEntries:a});a=c("useCometTypeaheadLayoutStrategyOnBlurHandler")({onBlur:e});var p=c("useCometTypeaheadLayoutStrategyOnChangeHandler")({onChange:f,onHighlightEntry:k});e=c("useCometTypeaheadLayoutStrategyOnDownArrowHandler")({onDownArrow:g,onHighlightEntry:k});g=c("useCometTokenizerLayoutStrategyOnEnterHandler")({onEnter:i});i=h(function(){p(""),j&&j()},[p,j]);f=c("useCometTokenizerLayoutStrategyOnPressEntryHandler")({inputRef:o,onChange:f,onPressEntry:m});m=c("useCometTypeaheadLayoutStrategyOnOutsideClickHandler")({inputRef:o,onOutsideClick:l});o=c("useCometTypeaheadLayoutStrategyOnUpArrowHandler")({onHighlightEntry:k,onUpArrow:b});return{onBackspace:d,onBlur:a,onChange:p,onDownArrow:e,onEnter:g,onEscape:i,onHighlightEntry:k,onOutsideClick:m,onPressEntry:f,onRemoveEntry:n,onUpArrow:o}}g["default"]=a}),98); __d("useCometTokenizerInternalLayoutContextualStrategyHandlers",["react","useBaseTypeaheadLayoutContextualStrategyStateContext","useCometInternalTypeaheadStateDispatcher","useCometTokenizerInternalLayoutInlineStrategyHandlers"],(function(a,b,c,d,e,f,g){"use strict";var h=d("react").useCallback;function a(a){var b=a.handlers,d=b.onAbandonTypeahead_DO_NOT_USE,e=b.onClick,f=b.onOutsideClick,g=b.onShiftTab,i=b.onTab;b=babelHelpers.objectWithoutPropertiesLoose(b,["onAbandonTypeahead_DO_NOT_USE","onClick","onOutsideClick","onShiftTab","onTab"]);var j=a.inputRef,k=a.isDisabled,l=a.queryString;a=a.selectedEntries;var m=c("useBaseTypeaheadLayoutContextualStrategyStateContext")(),n=m.dispatchIsOpened,o=m.isOpened;m=c("useCometInternalTypeaheadStateDispatcher")();var p=m.dispatchActiveEntries,q=m.dispatchHighlightedEntry;m=h(function(){n(!1),f&&f()},[n,f]);m=c("useCometTokenizerInternalLayoutInlineStrategyHandlers")({handlers:babelHelpers["extends"]({onOutsideClick:m},b),inputRef:j,selectedEntries:a});var r=m.onBackspace;b=m.onBlur;var s=m.onChange,t=m.onDownArrow,u=m.onEnter,v=m.onEscape;a=m.onHighlightEntry;var w=m.onOutsideClick,x=m.onPressEntry,y=m.onRemoveEntry,z=m.onUpArrow;m=h(function(){n(!1),d&&d()},[n,d]);var A=h(function(){l.length===0&&n(!1),r&&r()},[n,r,l.length]),B=h(function(a){n(!0),s&&s(a)},[n,s]),C=h(function(){!o&&!Boolean(k)&&n(!0),j.current&&j.current.focus(),e&&e()},[o,k,j,e,n]),D=h(function(){n(!1),q({entry:null,source:null}),p([]),u&&u()},[p,q,n,u]),E=h(function(){n(!1),v&&v()},[n,v]),F=h(function(){o?t&&t():n(!0)},[n,o,t]),G=h(function(a,b){n(!1),p([]),x&&x(a,b)},[p,n,x]),H=h(function(a){n(!1),y&&y(a)},[n,y]),I=h(function(){n(!1),g&&g()},[n,g]),J=h(function(){n(!1),i&&i()},[n,i]),K=h(function(){!o?n(!0):z&&z()},[n,o,z]);return{onAbandonTypeahead_DO_NOT_USE:m,onBackspace:A,onBlur:b,onChange:B,onClick:C,onDownArrow:F,onEnter:D,onEscape:E,onHighlightEntry:a,onOutsideClick:w,onPressEntry:G,onRemoveEntry:H,onShiftTab:I,onTab:J,onUpArrow:K}}g["default"]=a}),98); __d("CometTokenizerTokenListStrategy.react",["fbt","CometFocusTable.react","focusScopeQueries","react"],(function(a,b,c,d,e,f,g,h){"use strict";var i=d("react");function a(a){var b=a.isDisabled,c=a.onPress,e=a.tokens,f=a.tokenStrategyRenderer;return i.jsx(d("CometFocusTable.react").CometFocusTable,{elementType:"span",label:h._("__JHASH__JsJP4UWjJGj__JHASH__"),tabScopeQuery:d("focusScopeQueries").tabbableScopeQuery,wrapXToNextLine:!0,wrapY:!0,children:e.map(function(a,e){return i.jsx(d("CometFocusTable.react").CometFocusRow,{children:i.jsx("div",{className:"x1rg5ohu x1gslohp xw3qccf x12nagc xsgj6o6",role:"row",children:i.jsx(d("CometFocusTable.react").CometFocusCell,{children:i.jsx("span",{role:"gridcell",children:i.jsx(f,{isDisabled:b,onPress:c,token:a})})})})},e)})})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("useCometTokenizerListTokenStrategy",["CometTokenizerTokenListStrategy.react","react"],(function(a,b,c,d,e,f,g){"use strict";var h=d("react"),i=d("react").useCallback;function a(a){var b=a.tokenItemRenderer;a=a.tokenListRenderer;var d=a===void 0?c("CometTokenizerTokenListStrategy.react"):a;return i(function(a){a=babelHelpers["extends"]({},a);return h.jsx(d,babelHelpers["extends"]({tokenStrategyRenderer:b},a))},[b,d])}g["default"]=a}),98); __d("CometInternalTokenizerFetchContext",["emptyFunction","react"],(function(a,b,c,d,e,f,g){"use strict";a=d("react");b=a.createContext({fetch:c("emptyFunction"),isLoading:!1,refetch:c("emptyFunction"),source:"all"});g["default"]=b}),98); __d("useCometInternalTokenizerFetch",["CometInternalTokenizerFetchContext","react"],(function(a,b,c,d,e,f,g){"use strict";var h=d("react").useContext;function a(){return h(c("CometInternalTokenizerFetchContext"))}g["default"]=a}),98); __d("useCometInternalTokenizerFetchHandler",["react","useBaseTypeaheadLayoutContextualStrategyStateContext","useCometInternalTokenizerFetch","useCometInternalTypeaheadState"],(function(a,b,c,d,e,f,g){"use strict";b=d("react");var h=b.useCallback,i=b.useEffect;function a(a){var b=a.loggingProvider,d=a.queryString,e=a.selectedTokens,f=a.traceProvider;a=c("useBaseTypeaheadLayoutContextualStrategyStateContext")();var g=a.isOpened;a=c("useCometInternalTypeaheadState")();var j=a.activeEntries;a=c("useCometInternalTokenizerFetch")();var k=a.fetch;a=h(function(){function a(a,c){var d=null;b!=null&&(d=b.addEvent({action:"keystroke",entries:j,queryString:a},"useCometInternalTypeaheadFetchHandler"));d=d!=null?{loggingEventTrace:d,perfTraceAPI:c,query:a,selectedTokens:e}:{perfTraceAPI:c,query:a,selectedTokens:e};k(d)}var c=d.trimLeft();if(!g)return;f?f.trace(function(b){return a(c,b)},c):a(c)},[j,k,g,b,d,e,f]);i(a,[g,d,e])}g["default"]=a}),98); __d("useCometInternalTypeaheadOnBlurLoggingHandler",["react","useCometInternalTypeaheadState"],(function(a,b,c,d,e,f,g){"use strict";var h=d("react").useCallback;function a(a){var b=a.loggingProvider,d=a.onBlur,e=a.queryString;a=c("useCometInternalTypeaheadState")();var f=a.activeEntries;return h(function(){b!=null&&b.isSessionActive()&&(b.addEvent({action:"abandon",entries:f,queryString:e},"useCometInternalTypeaheadOnBlurLoggingHandler"),b.endSession()),d&&d()},[f,b,d,e])}g["default"]=a}),98); __d("CometTokenizerInternal.react",["emptyFunction","react","useBaseTypeaheadLayoutContextualStrategyStateContext","useCometInternalTokenizerFetchHandler","useCometInternalTypeaheadOnAbandonLoggingHandler","useCometInternalTypeaheadOnBlurLoggingHandler","useCometInternalTypeaheadOnEnterLoggingHandler","useCometInternalTypeaheadOnFocusLoggingHandler","useCometInternalTypeaheadOnPressEntryLoggingHandler","useCometInternalTypeaheadState","useCometInternalTypeaheadStateDispatcher","useCometTypeaheadInputRefs"],(function(a,b,c,d,e,f,g){"use strict";var h=d("react"),i=d("react").useCallback;function a(a){var b=a.inputRef,d=a.layoutStrategyRenderer,e=a.loggingProvider,f=a.onBlur,g=a.onChange,j=a.onEnter,k=a.onFocus,l=a.onPressEntry,m=a.onSearchCompletion,n=a.onSelectFreeformQuery,o=a.onShiftTab,p=a.onTab,q=a.queryString,r=a.selectedEntries,s=a.traceProvider;a=babelHelpers.objectWithoutPropertiesLoose(a,["inputRef","layoutStrategyRenderer","loggingProvider","onBlur","onChange","onEnter","onFocus","onPressEntry","onSearchCompletion","onSelectFreeformQuery","onShiftTab","onTab","queryString","selectedEntries","traceProvider"]);b=c("useCometTypeaheadInputRefs")(b);var t=b.composedRef,u=b.inputRef;b=c("useCometInternalTypeaheadState")();var v=b.highlightedEntry,w=b.highlightedEntrySource;b=c("useCometInternalTypeaheadStateDispatcher")();var x=b.dispatchHighlightedEntry;b=c("useBaseTypeaheadLayoutContextualStrategyStateContext")();var y=b.dispatchIsOpened;c("useCometInternalTokenizerFetchHandler")({loggingProvider:e,queryString:q,selectedTokens:r,traceProvider:s});b=c("useCometInternalTypeaheadOnBlurLoggingHandler")({loggingProvider:e,onBlur:f,queryString:q});s=c("useCometInternalTypeaheadOnFocusLoggingHandler")({loggingProvider:e,onFocus:k,queryString:q});f=c("useCometInternalTypeaheadOnEnterLoggingHandler")({loggingProvider:e,onEnter:i(function(){if(v!=null&&w==="keyboard")u.current&&u.current.focus(),l&&l(v);else{var a;a=(a=u.current)==null?void 0:a.value;if(a==="")m&&m();else{n&&n((a=a)!=null?a:"")}}x({entry:null,source:null});g("");j&&j()},[v,w,x,g,j,u,l,m,n]),queryString:q});k=c("useCometInternalTypeaheadOnPressEntryLoggingHandler")({loggingProvider:e,onPressEntry:l,queryString:q});var z=c("useCometInternalTypeaheadOnAbandonLoggingHandler")({callback:i(function(){y(!1),o&&o()},[y,o]),loggingProvider:e,queryString:q}),A=c("useCometInternalTypeaheadOnAbandonLoggingHandler")({callback:i(function(){y(!1),p&&p()},[y,p]),loggingProvider:e,queryString:q}),B=c("useCometInternalTypeaheadOnAbandonLoggingHandler")({callback:c("emptyFunction"),loggingProvider:e,queryString:q});e=c("useCometInternalTypeaheadOnAbandonLoggingHandler")({callback:c("emptyFunction"),loggingProvider:e,queryString:q});return h.jsx(d,babelHelpers["extends"]({},a,{inputRef:t,onAbandonTypeahead_DO_NOT_USE:e,onBlur:b,onChange:g,onClick:c("emptyFunction"),onEnter:f,onFocus:s,onOutsideClick:B,onPressEntry:k,onShiftTab:z,onTab:A,queryString:q,selectedEntries:r}))}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98);/*FB_PKG_DELIM*/ __d("BaseContainerQueryElement.react",["react","stylex"],(function(a,b,c,d,e,f,g){"use strict";var h=d("react"),i={root:{boxSizing:"x9f619",flexShrink:"x2lah0s",position:"x1n2onr6",$$css:!0}};function a(a,b){var d=a.breakpoint,e=a.inverseToContainer;e=e===void 0?!1:e;var f=a.maxWidth,g=a.minWidth,j=a.xstyle;a=babelHelpers.objectWithoutPropertiesLoose(a,["breakpoint","inverseToContainer","maxWidth","minWidth","xstyle"]);d=d-.1;return h.jsx("div",babelHelpers["extends"]({},a,{className:c("stylex")(i.root,j),ref:b,style:{maxWidth:f,minWidth:g,width:e?"calc(("+d+"px - 100%) * 9999)":"calc((100% - "+d+"px) * 9999)"}}))}a.displayName=a.name+" [from "+f.id+"]";b=h.forwardRef(a);g["default"]=b}),98); __d("CometFacepile.react",["fbt","ix","BaseContainerQueryElement.react","CometComponentWithKeyCommands.react","CometIcon.react","CometKeys","CometPressable.react","CometProfilePhoto.react","CometTooltip.react","FocusGroup.react","ReactDOMComet","TetraText.react","fbicon","focusScopeQueries","react","useCometUniqueID","useIntersectionObserver"],(function(a,b,c,d,e,f,g,h,i){"use strict";var j=d("react");b=d("react");var k=b.useCallback,l=b.useRef,m=b.useState;e=d("FocusGroup.react").createFocusGroup(d("focusScopeQueries").tabbableScopeQuery);var n=e[0],o=e[1],p=4,q=6,r=-4,s={item:{position:"x1n2onr6",$$css:!0},items:{display:"x78zum5",flexDirection:"x1q0g3np",marginTop:"xhsvlbd",marginBottom:"x16pr9af",overflowX:"x6ikm8r",paddingTop:"x889kno",paddingBottom:"x1a8lsjc",position:"x1n2onr6",$$css:!0},itemWithActivity:{marginStart:"x1mnrxsn",$$css:!0},itemWithSpacing:{marginStart:"xsgj6o6",$$css:!0},overflow24:{height:"xxk0z11",width:"xvy4d1p",$$css:!0},overflow32:{height:"x10w6t97",width:"x1td3qas",$$css:!0},overflow40:{height:"x1vqgdyp",width:"x100vrsf",$$css:!0},overflow48:{height:"xsdox4t",width:"x1useyqa",$$css:!0},overflowItem:{alignItems:"x6s0dn4",borderTopStartRadius:"x14yjl9h",borderTopEndRadius:"xudhj91",borderBottomEndRadius:"x18nykt9",borderBottomStartRadius:"xww2gxu",display:"x78zum5",flexShrink:"x2lah0s",justifyContent:"xl56j7k",pointerEvents:"x71s49j",$$css:!0},overflowItemBg:{fill:"x1wnuiir",$$css:!0},overflowItemContainer:{bottom:"x1jn9clo",display:"x78zum5",end:"xds687c",flexDirection:"x1q0g3np",pointerEvents:"x47corl",position:"x10l6tqk",start:"x17qophe",top:"x1eu8d0j",$$css:!0},overflowItemOverlay:{fill:"x1wnuiir",opacity:"xg01cxk",transitionDuration:"x1ebt8du",transitionProperty:"x19991ni",transitionTimingFunction:"x1dhq9h",$$css:!0},overflowItemOverlayHovered:{fill:"x4bmajx",opacity:"x1hc1fzr",transitionDuration:"x1mq3mr6",$$css:!0},overflowItemOverlayPressed:{fill:"x1tgjyoi",opacity:"x1hc1fzr",transitionDuration:"x1mq3mr6",$$css:!0},overflowItemSVG:{bottom:"x1ey2m1c",end:"xds687c",position:"x10l6tqk",start:"x17qophe",top:"x13vifvy",$$css:!0},overlappingItem:{marginStart:"x139jcc6",$$css:!0},pressableItem:{borderTopStartRadius:"x14yjl9h",borderTopEndRadius:"xudhj91",borderBottomEndRadius:"x18nykt9",borderBottomStartRadius:"xww2gxu",display:"x1lliihq",$$css:!0},root:{display:"x78zum5",flexDirection:"xdt5ytf",$$css:!0},rootInline:{alignItems:"x6s0dn4",flexDirection:"x1q0g3np",$$css:!0},text:{paddingTop:"xz9dl7a",$$css:!0},textInline:{paddingStart:"x1e558r4",paddingTop:"xexx8yu",$$css:!0},wrapper:{paddingEnd:"xn6708d",paddingStart:"x1swvt13",paddingTop:"xyamay9",$$css:!0}};function a(a){var b=a.items,e=a.isOverlapping,f=e===void 0?!1:e;e=a.isTextInline;e=e===void 0?!1:e;var g=a.count,i=g===void 0?b.length:g;g=a.ellipsisTooltip;var k=a.linkProps,m=a.onPress,w=a.size,x=a.testid;x=a.testOnly_pressed;var y=x===void 0?!1:x;x=a.text;a=a.withWrapper;var z=b.some(function(a){return a.addOn!=null}),A=b.some(function(a){return((a=a.addOn)==null?void 0:a.type)==="activityBadge"}),B=f?r:A?q:p,C=Math.min(i,b.length,e?3:Infinity),D=l(null),E=c("useCometUniqueID")(),F=[{command:{key:c("CometKeys").LEFT},description:h._("__JHASH__m_OLWX7kM2N__JHASH__"),handler:function(){}},{command:{key:c("CometKeys").RIGHT},description:h._("__JHASH__XPwbX58ULdf__JHASH__"),handler:function(){}}];z=j.jsxs("div",{className:"x78zum5 x1q0g3np xhsvlbd x16pr9af x6ikm8r x889kno x1a8lsjc x1n2onr6",ref:D,role:"row",children:[b.slice(0,C).map(function(a,b){var d=a.containerComponent,e=a.linkProps,g=a.onPress,h=a.testOnly_pressed;a=babelHelpers.objectWithoutPropertiesLoose(a,["containerComponent","linkProps","onPress","testOnly_pressed"]);return j.jsxs(j.Fragment,{children:[j.jsx(c("BaseContainerQueryElement.react"),{breakpoint:(b+1)*(w+B)-B,inverseToContainer:!0,maxWidth:"100%",minWidth:0}),j.jsx(t,babelHelpers["extends"]({},a,{Container:d,FocusItemComponent:o,divClassName:"x1n2onr6"+(b>0&&f?" x139jcc6":""+(b>0&&A?" x1mnrxsn":""+(b>0?" xsgj6o6":""))),isOverlapped:f&&b>0,isOverlapping:f,parentRef:D,pressableProps:g||e?{display:"inline",linkProps:e,onPress:g,overlayDisabled:f,overlayRadius:w/2,testOnly_pressed:h,xstyle:s.pressableItem}:null,role:"cell",shape:"circle",size:w}))]},b)}),!z&&(m||k)&&j.jsxs("div",{className:"x1jn9clo x78zum5 xds687c x1q0g3np x47corl x10l6tqk x17qophe x1eu8d0j",children:[b.slice(0,Math.min(b.length,C1?null:j.jsx(c("BaseContainerQueryElement.react"),{breakpoint:(b+1)*(w+B)-B,maxWidth:b===i-1?"100%":w+B,minWidth:0},"overflowPusher"+b)}),j.jsx(v,{FocusItemComponent:o,"aria-label":h._("__JHASH__fu6soEiUs4x__JHASH__"),count:i,ellipsisTooltip:g,linkProps:k,onPress:m,overlayDisabled:!0,parentRef:D,size:w,spacing:B,testid:void 0,xstyle:[s.overflowItem,w===24&&s.overflow24,w===32&&s.overflow32,w===40&&s.overflow40,w===48&&s.overflow48],children:function(a){var b=a.hovered;a=a.pressed;return j.jsxs(j.Fragment,{children:[j.jsxs("svg",{className:"x1ey2m1c xds687c x10l6tqk x17qophe x13vifvy",height:w,viewBox:"0 0 "+w+" "+w,width:w,children:[f&&C>1&&j.jsxs("mask",{id:E,suppressHydrationWarning:!0,children:[j.jsx("circle",{cx:w/2,cy:w/2,fill:"white",r:w/2}),j.jsx("circle",{cx:-w/2+4,cy:w/2,fill:"black",r:w/2+2})]}),j.jsx("circle",babelHelpers["extends"]({className:"x1wnuiir",cx:w/2,cy:w/2,r:w/2,suppressHydrationWarning:!0},f&&C>1?{mask:"url(#"+E+")"}:null)),j.jsx("circle",babelHelpers["extends"]({className:"x19991ni x1dhq9h"+(a||y?" x1tgjyoi x1hc1fzr x1mq3mr6":""+(b?" x4bmajx x1hc1fzr x1mq3mr6":" x1wnuiir xg01cxk x1ebt8du")),cx:w/2,cy:w/2,r:w/2,suppressHydrationWarning:!0},f&&C>1?{mask:"url(#"+E+")"}:null))]}),j.jsx(c("CometIcon.react"),{color:"white",icon:u(w)})]})}})]})]});b=j.jsxs("div",{className:"x78zum5"+(e?" x1q0g3np x6s0dn4":" xdt5ytf"),"data-testid":void 0,role:"grid",children:[j.jsx(c("CometComponentWithKeyCommands.react"),{commandConfigs:F,children:j.jsx(n,{orientation:"horizontal",tabScopeQuery:d("focusScopeQueries").tabbableScopeQuery,wrap:!0,children:z})}),x!=null?j.jsx("div",{className:""+(e?" xexx8yu x1e558r4":" xz9dl7a"),children:j.jsx(c("TetraText.react"),{color:"secondary",type:"body3",children:x})}):null]});return a?j.jsx("div",{className:"xn6708d x1swvt13 xyamay9",children:b}):b}a.displayName=a.name+" [from "+f.id+"]";function t(a){var b=a.Container,e=a.FocusItemComponent,f=a.divClassName;a.isOverlapping;var g=a.parentRef,h=a.pressableProps;a=babelHelpers.objectWithoutPropertiesLoose(a,["Container","FocusItemComponent","divClassName","isOverlapping","parentRef","pressableProps"]);var i=m(!1),l=i[0],n=i[1];i=k(function(a){var b=a.intersectionRatio;d("ReactDOMComet").flushSync(function(){n(b<.5)})},[]);i=c("useIntersectionObserver")(i,{root:function(){var a;return(a=g.current)!=null?a:null},threshold:.5});a=j.jsx(c("CometProfilePhoto.react"),babelHelpers["extends"]({},a,{overlayDisabled:!0}));h&&(a=j.jsx(c("CometPressable.react"),babelHelpers["extends"]({},h,{disabled:l,role:"cell",children:a})));b&&(a=j.jsx(b,{children:a}));return j.jsx("div",{className:f,ref:i,role:"cell",children:j.jsx(e,{disabled:l,children:a})})}t.displayName=t.name+" [from "+f.id+"]";function u(a){switch(a){case 32:return d("fbicon")._(i("484386"),16);case 40:case 48:return d("fbicon")._(i("484388"),24);default:return d("fbicon")._(i("484385"),12)}}function v(a){var b=a.FocusItemComponent;a.count;var e=a.ellipsisTooltip,f=a.parentRef,g=a.size,h=a.spacing;a=babelHelpers.objectWithoutPropertiesLoose(a,["FocusItemComponent","count","ellipsisTooltip","parentRef","size","spacing"]);var i=m(!1),l=i[0],n=i[1];i=m(null);var o=i[0],p=i[1];i=k(function(a){var b=a.intersectionRatio;d("ReactDOMComet").flushSync(function(){n(b<.5)})},[]);i=c("useIntersectionObserver")(i,{root:function(){var a;return(a=f.current)!=null?a:null},threshold:.5});var q=function(a){if(!a)return;a=f.current;if(!a)return;a=a.getBoundingClientRect();a=a.width;a=Math.floor((a+h)/(g+h));p(a-1)};a=j.jsx(c("CometPressable.react"),babelHelpers["extends"]({},a,{ref:i,role:"cell"}));e&&(a=j.jsx(c("CometTooltip.react"),{align:"middle",onVisibilityChange:q,position:"below",tooltip:o!=null?e(o):"",children:a}));return j.jsxs(b,{disabled:l,children:[" ",a," "]})}v.displayName=v.name+" [from "+f.id+"]";g["default"]=a}),98); __d("Dots3HorizontalFilled24.svg.react",["react"],(function(a,b,c,d,e,f,g){"use strict";var h=d("react");function a(a){return h.jsxs("svg",babelHelpers["extends"]({fill:"currentColor",viewBox:"0 0 24 24",width:"1em",height:"1em"},a,{children:[a.title!=null&&h.jsx("title",{children:a.title}),a.children!=null&&h.jsx("defs",{children:a.children}),h.jsx("circle",{cx:12,cy:12,r:2.5}),h.jsx("circle",{cx:19.5,cy:12,r:2.5}),h.jsx("circle",{cx:4.5,cy:12,r:2.5})]}))}a.displayName=a.name+" [from "+f.id+"]";a._isSVG=!0;b=a;g["default"]=b}),98); __d("CometOverlappingFacepile.react",["fbt","BaseContainerQueryElement.react","CometComponentWithKeyCommands.react","CometIcon.react","CometKeys","CometPressable.react","CometProfilePhoto.react","CometTooltip.react","CometVisualCompletionAttributes","Dots3HorizontalFilled24.svg.react","FocusGroup.react","ReactDOMComet","SVGIcon","TetraText.react","focusScopeQueries","gkx","react","stylex","useCometUniqueID","useIntersectionObserver"],(function(a,b,c,d,e,f,g,h){"use strict";var i=d("react");b=d("react");var j=b.useCallback,k=b.useRef,l=b.useState;e=d("FocusGroup.react").createFocusGroup(d("focusScopeQueries").tabbableScopeQuery);var m=e[0],n=e[1],o=-4,p={item:{marginBottom:"xieb3on",position:"x1n2onr6",$$css:!0},items:{display:"x78zum5",flexDirection:"x1q0g3np",flexShrink:"x2lah0s",flexWrap:"x1a02dak",overflowX:"x6ikm8r",overflowY:"x10wlt62",position:"x1n2onr6",$$css:!0},itemWithoutMargin:{position:"x1n2onr6",$$css:!0},itemWithSpacing:{marginStart:"x139jcc6",$$css:!0},overflow16:{height:"xlup9mm",width:"x1kky2od",$$css:!0},overflow16Child:{alignItems:"x6s0dn4",display:"x78zum5",justifyContent:"xl56j7k",marginStart:"xbmpl8g",$$css:!0},overflow16Frame:{marginStart:"x1mnrxsn",overflowX:"x6ikm8r",overflowY:"x10wlt62",width:"x1fsd2vl",$$css:!0},overflow24:{height:"xxk0z11",width:"xvy4d1p",$$css:!0},overflow32:{height:"x10w6t97",width:"x1td3qas",$$css:!0},overflow36:{height:"xc9qbxq",width:"x14qfxbe",$$css:!0},overflow40:{height:"x1vqgdyp",width:"x100vrsf",$$css:!0},overflow48:{height:"xsdox4t",width:"x1useyqa",$$css:!0},overflowItem:{alignItems:"x6s0dn4",borderTopStartRadius:"x14yjl9h",borderTopEndRadius:"xudhj91",borderBottomEndRadius:"x18nykt9",borderBottomStartRadius:"xww2gxu",display:"x78zum5",flexShrink:"x2lah0s",justifyContent:"xl56j7k",pointerEvents:"x71s49j",$$css:!0},overflowItemBg:{fill:"x1wnuiir",$$css:!0},overflowItemContainer:{bottom:"x1ey2m1c",boxSizing:"x9f619",display:"x78zum5",end:"xds687c",flexDirection:"x1q0g3np",pointerEvents:"x47corl",position:"x10l6tqk",start:"x17qophe",top:"x13vifvy",$$css:!0},overflowItemOverlay:{fill:"x1wnuiir",opacity:"xg01cxk",transitionDuration:"x1ebt8du",transitionProperty:"x19991ni",transitionTimingFunction:"x1dhq9h",$$css:!0},overflowItemOverlayHovered:{fill:"x4bmajx",opacity:"x1hc1fzr",transitionDuration:"x1mq3mr6",$$css:!0},overflowItemOverlayPressed:{fill:"x1tgjyoi",opacity:"x1hc1fzr",transitionDuration:"x1mq3mr6",$$css:!0},overflowItemSVG:{bottom:"x1ey2m1c",end:"xds687c",position:"x10l6tqk",start:"x17qophe",top:"x13vifvy",$$css:!0},root:{display:"x78zum5",flexDirection:"xdt5ytf",$$css:!0},rootInline:{alignItems:"x6s0dn4",flexDirection:"x1q0g3np",$$css:!0},text:{display:"x78zum5",flexDirection:"x1q0g3np",paddingTop:"xz9dl7a",$$css:!0},textInline:{flexBasis:"x1r8uery",flexGrow:"x1iyjqo2",paddingStart:"x1e558r4",paddingTop:"xexx8yu",$$css:!0},wrapper:{paddingEnd:"xn6708d",paddingStart:"x1swvt13",paddingTop:"xyamay9",$$css:!0}},q={16:{minWidth:"x1fns5xo",$$css:!0},24:{minWidth:"x4m7ku4",$$css:!0},32:{minWidth:"xwrg52n",$$css:!0},36:{minWidth:"xktpd3l",$$css:!0},40:{minWidth:"x1c7vg25",$$css:!0},48:{minWidth:"x1wc95rx",$$css:!0}},r={center:{alignItems:"x6s0dn4",$$css:!0},end:{alignItems:"xuk3077",$$css:!0},start:{alignItems:"x1cy8zhl",$$css:!0}},s={center:{justifyContent:"xl56j7k",$$css:!0},end:{justifyContent:"x13a6bvl",$$css:!0},start:{justifyContent:"x1nhvcw1",$$css:!0}};function a(a){var b=a.align;b=b===void 0?"start":b;var e=a.items,f=a.isOverlapping;f===void 0?!0:f;f=a.isTextInline;f=f===void 0?!1:f;var g=a.count,j=g===void 0?e.length:g;g=a.ellipsisTooltip;var l=a.linkProps,x=a.onPress,y=a.screenReaderLabel,z=a.size,A=a.testid;A=a.testOnly_pressed;var B=A===void 0?!1:A;A=a.text;var C=a.disableMarginOnItems,D=C===void 0?!1:C;C=a.withWrapper;var E=o,F=Math.min(j,e.length,f?3:Infinity),G=k(null);a=[{command:{key:c("CometKeys").LEFT},description:h._("__JHASH__m_OLWX7kM2N__JHASH__"),handler:function(){}},{command:{key:c("CometKeys").RIGHT},description:h._("__JHASH__XPwbX58ULdf__JHASH__"),handler:function(){}}];e=i.jsxs("div",babelHelpers["extends"]({className:"x78zum5 x1q0g3np x2lah0s x1a02dak x6ikm8r x10wlt62 x1n2onr6",ref:G,role:"row",style:{height:z}},c("CometVisualCompletionAttributes").IGNORE_DYNAMIC,{children:[e.slice(0,F).map(function(a,b){var d=a.containerComponent,e=a.linkProps,f=a.onPress,g=a.testOnly_pressed;a=babelHelpers.objectWithoutPropertiesLoose(a,["containerComponent","linkProps","onPress","testOnly_pressed"]);return i.jsxs(i.Fragment,{children:[i.jsx(c("BaseContainerQueryElement.react"),{breakpoint:(b+1)*(z+E)-E,inverseToContainer:!0,maxWidth:"100%",minWidth:0}),i.jsx(t,babelHelpers["extends"]({},a,{Container:d,FocusItemComponent:y!=null?void 0:n,divClassName:""+((D?" x1n2onr6":" x1n2onr6 xieb3on")+(b>0?" x139jcc6":""+(D?"":""))),isOverlapped:b>0,linkProps:e,onPress:f,parentRef:G,role:"cell",shape:"circle",size:z,testOnly_pressed:g,testid:void 0}))]},b)}),i.jsxs("div",{className:"x1ey2m1c x9f619 x78zum5 xds687c x1q0g3np x47corl x10l6tqk x17qophe x13vifvy",children:[e.slice(0,Math.min(e.length,F1?null:i.jsx(c("BaseContainerQueryElement.react"),{breakpoint:(b+1)*(z+E)-E,maxWidth:b===j-1?"100%":z+E,minWidth:0},"overflowPusher"+b)}),i.jsx(v,{FocusItemComponent:y!=null?void 0:n,"aria-label":h._("__JHASH__JPI1DgeTCjw__JHASH__"),count:j,ellipsisTooltip:g,linkProps:l,onPress:x,overlayDisabled:!0,parentRef:G,size:z,spacing:E,testid:void 0,xstyle:[p.overflowItem,z===16&&p.overflow16,z===24&&p.overflow24,z===32&&p.overflow32,z===36&&p.overflow36,z===40&&p.overflow40,z===48&&p.overflow48],children:function(a){var b=a.hovered;a=a.pressed;return i.jsxs(i.Fragment,{children:[i.jsx(w,{hovered:b,isOverlapped:F>1,pressed:a||B,size:z}),z===16?i.jsx("div",{className:"x1mnrxsn x6ikm8r x10wlt62 x1fsd2vl",children:i.jsx("div",{className:"x6s0dn4 x78zum5 xl56j7k xbmpl8g",children:i.jsx(c("CometIcon.react"),{color:"white",icon:d("SVGIcon").svgIcon(c("Dots3HorizontalFilled24.svg.react")),size:u(z)})})}):i.jsx(c("CometIcon.react"),{color:"white",icon:d("SVGIcon").svgIcon(c("Dots3HorizontalFilled24.svg.react")),size:u(z)})]})}})]})]}));g=f?s:r;l=q[z];x=i.jsxs("div",{"aria-label":y,className:c("stylex")(p.root,f&&p.rootInline,g[b]),"data-testid":void 0,role:y==null?"grid":"img",children:[y!=null?i.jsx("div",{"aria-hidden":!0,className:c("stylex")(f&&F>=3&&l),children:e}):i.jsx(c("CometComponentWithKeyCommands.react"),{commandConfigs:a,xstyle:f&&F>=3&&l,children:i.jsx(m,{orientation:"horizontal",tabScopeQuery:d("focusScopeQueries").tabbableScopeQuery,wrap:!0,children:e})}),A!=null&&i.jsx("div",{"aria-hidden":y!=null?!0:void 0,className:c("stylex")(p.text,f&&p.textInline,g[b]),children:i.jsx(c("TetraText.react"),{color:"secondary",type:"body3",children:A})})]});return C?i.jsx("div",{className:"xn6708d x1swvt13 xyamay9",children:x}):x}a.displayName=a.name+" [from "+f.id+"]";function t(a){var b=a.Container,e=a.FocusItemComponent,f=a.divClassName,g=a.parentRef,h=babelHelpers.objectWithoutPropertiesLoose(a,["Container","FocusItemComponent","divClassName","parentRef"]);a=l(!1);var k=a[0],m=a[1];a=j(function(a){a=a.intersectionRatio;var b=a<.5;(!c("gkx")("2333")||b!==k)&&d("ReactDOMComet").flushSync(function(){m(b)})},[]);a=c("useIntersectionObserver")(a,{root:function(){var a;return(a=g.current)!=null?a:null},threshold:.5});b=b?i.jsx(b,{children:function(a){return i.jsx(c("CometProfilePhoto.react"),babelHelpers["extends"]({},h,{overlayDisabled:!0,ref:a}))}}):i.jsx(c("CometProfilePhoto.react"),babelHelpers["extends"]({},h,{overlayDisabled:!0}));return i.jsx("div",{className:f,ref:a,role:"cell",children:e!=null?i.jsx(e,{disabled:k,children:b}):b})}t.displayName=t.name+" [from "+f.id+"]";function u(a){switch(a){case 36:case 32:return 16;case 40:case 48:return 24;default:return 12}}function v(a){var b=a.FocusItemComponent;a.count;var e=a.ellipsisTooltip,f=a.parentRef,g=a.size,h=a.spacing;a=babelHelpers.objectWithoutPropertiesLoose(a,["FocusItemComponent","count","ellipsisTooltip","parentRef","size","spacing"]);var k=l(!1),m=k[0],n=k[1];k=l(null);var o=k[0],p=k[1];k=j(function(a){var b=a.intersectionRatio;d("ReactDOMComet").flushSync(function(){n(b<.5)})},[]);k=c("useIntersectionObserver")(k,{root:function(){var a;return(a=f.current)!=null?a:null},threshold:.5});var q=function(a){if(!a)return;a=f.current;if(!a)return;a=a.getBoundingClientRect();a=a.width;a=Math.floor((a+h)/(g+h));p(a-1)};a=i.jsx(c("CometPressable.react"),babelHelpers["extends"]({},a,{ref:k,role:"cell"}));e&&(a=i.jsx(c("CometTooltip.react"),{align:"middle",onVisibilityChange:q,position:"below",tooltip:o!=null?e(o):"",children:a}));return b!=null?i.jsxs(b,{disabled:m,children:[" ",a," "]}):a}v.displayName=v.name+" [from "+f.id+"]";function w(a){var b=a.hovered,d=a.isOverlapped,e=a.pressed;a=a.size;var f=c("useCometUniqueID")();return i.jsxs("svg",{className:"x1ey2m1c xds687c x10l6tqk x17qophe x13vifvy",height:a,viewBox:"0 0 "+a+" "+a,width:a,children:[d&&i.jsxs("mask",{id:f,suppressHydrationWarning:!0,children:[i.jsx("circle",{cx:a/2,cy:a/2,fill:"white",r:a/2}),i.jsx("circle",{cx:-a/2+4,cy:a/2,fill:"black",r:a/2+2})]}),i.jsx("circle",babelHelpers["extends"]({className:"x1wnuiir",cx:a/2,cy:a/2,r:a/2,role:"cell",suppressHydrationWarning:!0},d?{mask:"url(#"+f+")"}:null)),i.jsx("circle",babelHelpers["extends"]({className:"x19991ni x1dhq9h"+(e?" x1tgjyoi x1hc1fzr x1mq3mr6":""+(b?" x4bmajx x1hc1fzr x1mq3mr6":" x1wnuiir xg01cxk x1ebt8du")),cx:a/2,cy:a/2,r:a/2,role:"cell",suppressHydrationWarning:!0},d?{mask:"url(#"+f+")"}:null))]})}w.displayName=w.name+" [from "+f.id+"]";g["default"]=a}),98); __d("TetraOverlappingFacepile.react",["CometOverlappingFacepile.react","react"],(function(a,b,c,d,e,f,g){"use strict";var h=d("react");function a(a){return h.jsx(c("CometOverlappingFacepile.react"),babelHelpers["extends"]({withWrapper:!0},a))}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("CometContextRow.react",["CometFacepile.react","CometIcon.react","CometPressable.react","CometRow.react","CometRowItem.react","TetraOverlappingFacepile.react","TetraTextPairing.react","react"],(function(a,b,c,d,e,f,g){"use strict";var h=d("react"),i={addOn:{marginStart:"x1d52u69",paddingEnd:"x1pi30zi",paddingStart:"x1swvt13",$$css:!0},content:{display:"x78zum5",flexDirection:"xdt5ytf",paddingBottom:"xwib8y2",paddingTop:"x1y1aw1k",$$css:!0},overlayPressed:{backgroundColor:"x1lxk4cn",$$css:!0},root:{appearance:"xjyslct",backgroundColor:"xjbqb8w",borderTopWidth:"x972fbf",borderEndWidth:"xcfux6l",borderBottomWidth:"x1qhh985",borderStartWidth:"xm0m39n",boxSizing:"x9f619",display:"x1rg5ohu",marginTop:"xdj266r",marginEnd:"x11i5rnm",marginBottom:"xat24cr",marginStart:"x1mh8g0r",paddingTop:"xexx8yu",paddingEnd:"x4uap5",paddingBottom:"x18d9i69",paddingStart:"xkhd6sd",position:"x1n2onr6",textAlign:"x16tdsg8",width:"xh8yej3",$$css:!0}};function a(a){var b=a.addOn,d=a.body,e=a.bodyColor;e=e===void 0?"primary":e;var f=a.bodyLineLimit,g=a.disableOverlay;g=g===void 0?!1:g;var j=a.icon,k=a.iconColor,l=a.level;l=l===void 0?3:l;var m=a.linkProps,n=a.meta,o=a.metaLineLimit,p=a.onPress,q=a.overlayRadius,r=a.paddingHorizontal;r=r===void 0?16:r;var s=a.pressableRef,t=a.testid;t=a.testOnly_pressed;t=t===void 0?!1:t;a=a.verticalAlignment;a=a===void 0?"top":a;var u;if(b!=null){if(b.type==="facepile"){b.type;var v=babelHelpers.objectWithoutPropertiesLoose(b,["type"]);v=h.jsx(c("CometFacepile.react"),babelHelpers["extends"]({withWrapper:!0},v))}else{b.type;b=babelHelpers.objectWithoutPropertiesLoose(b,["type"]);v=h.jsx(c("TetraOverlappingFacepile.react"),babelHelpers["extends"]({},b))}u=h.jsx("div",{className:"x1d52u69 x1pi30zi x1swvt13",children:v})}v=h.jsxs("div",{className:"x78zum5 xdt5ytf xwib8y2 x1y1aw1k",children:[h.jsxs(c("CometRow.react"),{align:"start",paddingHorizontal:r,paddingTop:0,verticalAlign:a,children:[h.jsx(c("CometRowItem.react"),{children:h.jsx(c("CometIcon.react"),{color:(b=k)!=null?b:"tertiary",icon:j,size:20})}),h.jsx(c("CometRowItem.react"),{expanding:!0,verticalAlign:"center",children:h.jsx(c("TetraTextPairing.react"),{body:d,bodyColor:e,bodyLineLimit:f,level:l,meta:n,metaColor:"secondary",metaLineLimit:o})})]}),u]});return p!=null||m!=null?h.jsx(c("CometPressable.react"),{display:"inline",linkProps:m,onPress:p,overlayDisabled:g,overlayPressedStyle:i.overlayPressed,overlayRadius:q,ref:s,testOnly_pressed:t,testid:void 0,xstyle:i.root,children:v}):h.jsx("div",{className:"xjyslct xjbqb8w x972fbf xcfux6l x1qhh985 xm0m39n x9f619 x1rg5ohu xdj266r x11i5rnm xat24cr x1mh8g0r xexx8yu x4uap5 x18d9i69 xkhd6sd x1n2onr6 x16tdsg8 xh8yej3","data-testid":void 0,children:v})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("TetraContextRow.react",["CometContextRow.react","react"],(function(a,b,c,d,e,f,g){"use strict";var h=d("react");function a(a){var b=a.children;a=babelHelpers.objectWithoutPropertiesLoose(a,["children"]);return h.jsx(c("CometContextRow.react"),babelHelpers["extends"]({},a,{body:b}))}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("TetraOverlappingFacepileUnstyled.react",["CometOverlappingFacepile.react","react"],(function(a,b,c,d,e,f,g){"use strict";var h=d("react");function a(a){return h.jsx(c("CometOverlappingFacepile.react"),babelHelpers["extends"]({},a))}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("actorHovercardContainer",["ActorHovercard.react","react"],(function(a,b,c,d,e,f,g){"use strict";var h=d("react");function a(a){return a==null?null:function(b){return h.jsx(c("ActorHovercard.react"),{actorID:a,position:"below",children:b.children})}}g["default"]=a}),98); __d("CometHoverCardActionBarWrapper.react",["CometRow.react","CometRowItem.react","react"],(function(a,b,c,d,e,f,g){"use strict";var h=d("react");function a(a){a=a.children;return h.jsx(c("CometRow.react"),{children:h.jsx(c("CometRowItem.react"),{expanding:!0,children:a})})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("CometHovercardContainer.react",["fbt","CometColumn.react","CometColumnItem.react","CometDangerouslySuppressInteractiveElementsContext","CometRow.react","CometRowItem.react","react"],(function(a,b,c,d,e,f,g,h){"use strict";var i=d("react"),j={border:{borderTop:"x1j7a9zf",borderEnd:"xajpodt",borderBottom:"x17i6pzl",borderStart:"x1tkm39q",$$css:!0},container:{backgroundColor:"x1jx94hy",borderTopStartRadius:"x1lq5wgf",borderTopEndRadius:"xgqcy7u",borderBottomEndRadius:"x30kzoy",borderBottomStartRadius:"x9jhf4c",boxShadow:"x1l55gj2",maxWidth:"x1j9u4d2",overflowX:"x6ikm8r",overflowY:"x10wlt62",width:"xn9wirt",$$css:!0},large:{maxWidth:"x1lr1uin",$$css:!0},removeContextRowsPadding:{marginBottom:"x1oo3vh0",$$css:!0}};function a(a){var b=a.actionBar,d=a.avatar,e=a.border;e=e===void 0?"solid":e;var f=a.children,g=a.contextRows,k=a.hasContextRowsPadding;k=k===void 0?!1:k;var l=a.headerRowPadding,m=a.heading,n=a.padding;n=n===void 0?16:n;a=a.size;a=a===void 0?"small":a;return i.jsx(c("CometDangerouslySuppressInteractiveElementsContext").Provider,{value:!1,children:i.jsxs(c("CometColumn.react"),{"aria-label":h._("__JHASH__5lE57X9gCAo__JHASH__"),"aria-modal":!0,paddingHorizontal:n,paddingVertical:n,role:"dialog",spacing:8,xstyle:[j.container,e==="solid"?j.border:void 0,a==="large"?j.large:void 0],children:[(d!=null||m!=null||g!=null)&&i.jsxs(c("CometRow.react"),{align:"start",paddingHorizontal:(n=l)!=null?n:12,paddingVertical:(e=l)!=null?e:0,spacing:0,verticalAlign:"center",children:[d!=null&&i.jsx(c("CometRowItem.react"),{verticalAlign:"top",children:d}),(m!=null||g!=null)&&i.jsx(c("CometRowItem.react"),{expanding:!0,children:i.jsxs(c("CometColumn.react"),{spacing:16,children:[m!=null&&i.jsx(c("CometColumnItem.react"),{paddingHorizontal:16,paddingTop:4,children:m}),g!=null&&i.jsx(c("CometColumnItem.react"),{children:i.jsx("div",{xstyle:k?j.removeContextRowsPadding:void 0,children:g})})]})})]}),b,f!=null&&i.jsx(c("CometRow.react"),{children:i.jsx(c("CometRowItem.react"),{expanding:!0,children:f})})]})})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("CometHovercardContextRows.react",["react"],(function(a,b,c,d,e,f,g){"use strict";var h=d("react");function a(a){a=a.children;return h.jsx(h.Fragment,{children:a})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98);/*FB_PKG_DELIM*/ __d("MWChatSearchTypeaheadLightspeedDataSource",["FBLogger","LSSearchType.bs","MAWGating","MNetRankType.bs","MWChatSearchIssueLightspeedQuery.bs","MWChatSearchResultType","MWChatSearchThreadCutover","MWLSSearchIssueSearchQuerySupportedTypes.bs","Promise","cr:2752","cr:3071","createMWChatSearchTypeaheadDataEntry","gkx","mwChatSearchPayloadDecoratorRemoveDuplicates","mwChatSearchPayloadDecoratorRemoveExcluded","mwChatSearchPayloadEnumerate","qex","regeneratorRuntime"],(function(a,b,c,d,e,f,g){"use strict";var h=d("MAWGating").isArmadillo()&&d("MAWGating").isTlcSearchEnabled();a=c("gkx")("4164");var i=a&&((e=c("qex")._("73"))!=null?e:!1),j=(f=c("qex")._("962"))!=null?f:a?10:0,k=a?10:0,l=[c("LSSearchType.bs").contact];function m(a,d,e,f){if(b("cr:2752")==null)return b("Promise").resolve([]);return d.length>0&&!d.includes("secure")?b("Promise").resolve([]):b("cr:2752").fetchResults(a,e,!0,f).then(function(a){a=a.map(c("createMWChatSearchTypeaheadDataEntry"));return k<=0?a:a.slice(0,k)})["catch"](function(a){c("FBLogger")("messenger_search").catching(a).mustfix("Error performing MWChatSearchIssueMAWFTSQuery.fetchResults");return[]})}function n(a,e,f){if(!i&&e===d("MWChatSearchIssueLightspeedQuery.bs").Surfaces.broadcast)return b("Promise").resolve([]);if(b("cr:3071")==null)return b("Promise").resolve([]);return a.length>0&&!a.includes("offline")?b("Promise").resolve([]):b("cr:3071").search(f.query,!0).then(function(a){a=a.map(c("createMWChatSearchTypeaheadDataEntry"));return j<=0?a:a.slice(0,j)})}function o(a,c,d,e){a=m(a,c,d,e);c=n(c,d,e);return b("Promise").all([a,c])}e=function(){function a(a){var b=a.excludedIDs;b=b===void 0?[]:b;var e=a.lightspeedSupportedTypes;e=e===void 0?d("MWLSSearchIssueSearchQuerySupportedTypes.bs").allSupportedTypes:e;var f=a.source;f=f===void 0?d("MWChatSearchIssueLightspeedQuery.bs").Surfaces.universal:f;var g=a.includeGroupSearch;g=g===void 0?!1:g;var h=a.excludeNonSecureThreadSearch;h=h===void 0?!1:h;var i=a.nullStateRankType;i=i===void 0?c("MNetRankType.bs").messengerUserSearchNullstate:i;var j=a.subDataSources;j=j===void 0?[]:j;a=a.database;this.$1=[];this.$2=[];this.$2=b;this.$3=e;this.$4=f;this.$5=g;this.$6=h;this.$7=i;this.$8=j;this.$9=a;this.$10=e.includes(c("LSSearchType.bs").integratedMessageSearchThread)}var e=a.prototype;e.fetchNetwork=function(a){var e=this,f,g,i,j,k,m,n;return b("regeneratorRuntime").async(function(p){while(1)switch(p.prev=p.next){case 0:f=c("mwChatSearchPayloadDecoratorRemoveDuplicates")(this.$1);g=c("mwChatSearchPayloadDecoratorRemoveExcluded")(this.$2);if(!(a.query.length===0)){p.next=4;break}return p.abrupt("return",d("MWChatSearchIssueLightspeedQuery.bs").fetchRecommendations(this.$3,this.$4,a,this.$7).then(function(d){d=d.map(c("createMWChatSearchTypeaheadDataEntry"));return b("Promise").resolve({entries:d,params:a})}));case 4:i=[];this.$10&&!this.$6&&i.push({key:a.query,label:'Search messages for "'+a.query+'"',rawData:{displayName:'Search messages for "'+a.query+'"',id:a.query,imageUrl:"",isContact:!1,isE2e:!1,isEPD:!1,resultType:"messages",secondaryImageUrl:"",subtext:""},type:"entry"});p.next=8;return b("regeneratorRuntime").awrap(o(this.$3,this.$8,this.$4,a));case 8:j=p.sent;k=j[0];m=j[1];n=this.$6?l:this.$3;return p.abrupt("return",d("MWChatSearchIssueLightspeedQuery.bs").fetchResults(n,this.$8,this.$4,this.$5,a).then(function(b){b=b.map(c("createMWChatSearchTypeaheadDataEntry"));b=i.concat(m,k,b);b=e.$6?b.filter(function(a){a.key;a=a.rawData;return a.isE2e}):b;b=h?b.filter(function(a){var b=a.key;a=a.rawData;if(a.resultType!==c("MWChatSearchResultType").USER)return!0;if(e.$9==null)return!0;a=d("MWChatSearchThreadCutover").isCutoverOpenThread(e.$9,b);return!a}):b;return c("mwChatSearchPayloadEnumerate")(g(f({entries:b,params:a})))}));case 13:case"end":return p.stop()}},null,this)};return a}();g["default"]=e}),98); __d("useMWLightSpeedChatSearchSuggestedContacts",["MWChatSearchFetchContactRecommendations.bs","createMWChatSearchTypeaheadDataEntry","react"],(function(a,b,c,d,e,f,g){"use strict";var h=d("react").useMemo,i=void 0;function a(){var a=d("MWChatSearchFetchContactRecommendations.bs").useHook(i);return h(function(){return a.map(function(a,b){a=a[0];return c("createMWChatSearchTypeaheadDataEntry")(a,b)})},[a])}g["default"]=a}),98); __d("MWJewelSearchTypeahead.react",["fbt","BaseTypeahead.react","CometRelay","CometTypeaheadBackButton.react","CometTypeaheadInputRoundedStrategy.react","CometTypeaheadLayoutContextualStrategy.react","LsUniversalSearchEndFalcoEvent","LsUniversalSearchQueryChangedFalcoEvent","LsUniversalSearchStartFalcoEvent","MAWGating","MWChatSearchIssueLightspeedQuery.bs","MWChatSearchTypeaheadLightspeedDataSource","MWLSSearchIssueSearchQuerySupportedTypes.bs","MWLSThreadDisplayContext.re","MWPSearchSystem.bs","MWSearchLogging","clearTimeout","createMWJewelSearchTypeaheadViewStrategy.react","gkx","react","setTimeout","useMWLightSpeedChatSearchSuggestedContacts","useReStore","uuid"],(function(a,b,c,d,e,f,g,h){"use strict";var i=d("react");b=d("react");var j=b.useCallback,k=b.useMemo,l=b.useRef,m=b.useState,n={searchInput:{marginTop:"x1xmf6yo",marginEnd:"x11i5rnm",marginBottom:"x1e56ztr",marginStart:"x1mh8g0r",paddingTop:"xexx8yu",paddingEnd:"x1pi30zi",paddingBottom:"x18d9i69",paddingStart:"x1swvt13",$$css:!0},searchView:{borderTopStartRadius:"x1lq5wgf",borderTopEndRadius:"xgqcy7u",borderBottomEndRadius:"x30kzoy",borderBottomStartRadius:"x9jhf4c",boxShadow:"x1gnnqk1",display:"x78zum5",minHeight:"x1vvvjs8",$$css:!0}},o=c("createMWJewelSearchTypeaheadViewStrategy.react")(),p=["1001"],q=c("gkx")("6395");function a(a){var b=a.onBlur,e=a.onChange,f=a.onFocus,g=a.onPressEntry,r=a.onSelectFreeformQuery,s=babelHelpers.objectWithoutPropertiesLoose(a,["onBlur","onChange","onFocus","onPressEntry","onSelectFreeformQuery"]);a=m(null);var t=a[0],u=a[1],v=d("CometRelay").useRelayEnvironment(),w=l(null),x=c("useReStore")(),y=l(!1),z=c("MWLSThreadDisplayContext.re").useHook();a=k(function(){return new(c("MWChatSearchTypeaheadLightspeedDataSource"))({excludedIDs:[],includeGroupSearch:z!=="ChatTab"&&c("gkx")("1902857"),includeRecommendations:!0,lightspeedSupportedTypes:d("MWLSSearchIssueSearchQuerySupportedTypes.bs").allSupportedTypesWithMessageSearch,limit:20,relayEnvironment:v,source:d("MWChatSearchIssueLightspeedQuery.bs").Surfaces.universal})},[v,z]);var A=j(function(){u(null),t!=null&&(c("LsUniversalSearchEndFalcoEvent").log(function(){return{end_action:0,instance_id:t,recipient_ids:p}}),y.current||w.current!=null&&(c("clearTimeout")(w.current),w.current=null)),e("")},[e,t]),B=j(function(a){var b=function(){w.current!=null&&(c("clearTimeout")(w.current),w.current=null),g!=null&&g(a)};if(t==null){b();return}d("MWSearchLogging").logResultSelected(t,s.queryString,a,p,y);b()},[g,t,s.queryString]),C=j(function(){q&&d("MWPSearchSystem.bs").clearAll(x);var a=c("uuid")();u(a);y.current=!1;c("LsUniversalSearchStartFalcoEvent").log(function(){return{instance_id:a}});w.current=c("setTimeout")(function(){c("LsUniversalSearchEndFalcoEvent").log(function(){return{end_action:3,instance_id:a,recipient_ids:p}})},3e4)},[x]),D=j(function(a){t!=null&&c("LsUniversalSearchQueryChangedFalcoEvent").log(function(){return{instance_id:t,query_string:a}}),e(a)},[e,t]),E=c("useMWLightSpeedChatSearchSuggestedContacts")();return i.jsx(c("BaseTypeahead.react"),{dataSource:a,dataSourceFetchConfigParams:d("MAWGating").isArmadillo()?{requestFlow:"network-upon-approve"}:{},emptyEntries_DO_NOT_USE:E,inputExtraProps:{hideIconAnimation:!0,hideIconOnFocus:!0},inputStartContent:t?i.jsx(c("CometTypeaheadBackButton.react"),{testid:void 0}):null,inputStrategyRenderer:c("CometTypeaheadInputRoundedStrategy.react"),layoutStrategyRenderer:c("CometTypeaheadLayoutContextualStrategy.react"),loggingContext:"messenger_jewel",onBlur:b,onChange:D,onClose:A,onFocus:f,onOpen:C,onPressEntry:B,onSelectFreeformQuery:r,placeholder:h._("__JHASH__ktsKn3dbNLm__JHASH__"),queryString:s.queryString,shouldQueryStringUpdateFromSelectedEntryOnClick:!1,viewStrategyRenderer:o,xstyles:{inputXStyle:n.searchInput,viewXStyle_DO_NOT_USE:n.searchView}})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("CometReshareDialogTargetSection.react",["CometUnit.react","CometUnitHeader.react","TetraList.react","react"],(function(a,b,c,d,e,f,g){"use strict";var h=d("react");function a(a){var b=a.children;a=a.sectionTitle;return h.jsx(c("CometUnit.react"),{header:h.jsx(c("CometUnitHeader.react"),{headline:a,level:3}),children:h.jsx(c("TetraList.react"),{children:b})})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("CometResharesConstants",[],(function(a,b,c,d,e,f){"use strict";a=3e3;f.UNDO_DELAY_MS=a}),66); __d("CometResharesMultiStepWrapper.react",["react"],(function(a,b,c,d,e,f,g){"use strict";var h=d("react");function a(a){a=a.children;return h.jsx("div",{className:"x1htk8sl x1b2722s x1ifrov1",children:a})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("CometResharesSearchInputStrategy.react",["CometTypeaheadInputRoundedStrategy.react","MWPSearchSystem.bs","emptyFunction","gkx","qex","react","useCometPreloader","useReStore"],(function(a,b,c,d,e,f,g){"use strict";var h=d("react"),i=d("react").useCallback;function a(a,b){var e=c("useReStore")(),f=i(function(){var a=c("gkx")("4164");a=a&&((a=c("qex")._("73"))!=null?a:!1);a&&d("MWPSearchSystem.bs").makeAll(e)},[e]);f=c("useCometPreloader")("button_aggressive",c("emptyFunction"),f);var g=f[0];f=f[1];return h.jsx("div",{onMouseEnter:g,onMouseLeave:f,children:h.jsx(c("CometTypeaheadInputRoundedStrategy.react"),babelHelpers["extends"]({},a,{ref:b}))})}a.displayName=a.name+" [from "+f.id+"]";b=h.forwardRef(a);g["default"]=b}),98); __d("MwbBreadthForwardingLimitReachedBannerShownFalcoEvent",["FalcoLoggerInternal","getFalcoLogPolicy_DO_NOT_USE"],(function(a,b,c,d,e,f){"use strict";a=b("getFalcoLogPolicy_DO_NOT_USE")("801");c=b("FalcoLoggerInternal").create("mwb_breadth_forwarding_limit_reached_banner_shown",a);e.exports=c}),null); __d("CometResharesSearchTargetsArea.react",["fbt","BaseTypeahead.react","CometResharesSearchInputStrategy.react","CometScrollableArea.react","CometTypeaheadLayoutInlineStrategy.react","CometTypeaheadProgressGlimmer.react","CometTypeaheadViewEmptyState.react","MWPSearchSystem.bs","MwbBreadthForwardingLimitReachedBannerShownFalcoEvent","TetraText.react","gkx","qex","react","useReStore"],(function(a,b,c,d,e,f,g,h){"use strict";var i=d("react");b=d("react");var j=b.useCallback,k=b.useMemo,l=b.useState,m=5,n={input:{marginBottom:"xod5an3",marginEnd:"xktsk01",marginStart:"x1d52u69",marginTop:"x14vqqas",$$css:!0},view:{borderTopStartRadius:"x1lq5wgf",borderTopEndRadius:"xgqcy7u",borderBottomEndRadius:"x30kzoy",borderBottomStartRadius:"x9jhf4c",height:"x16nrsnc",$$css:!0},withTopDivider:{borderTop:"x1n2xptk",marginTop:"xw7yly9",$$css:!0}};function a(a){var b=a.canForward,e=a.dataSource;a.dropSecureThreadToggle;var f=a.initialQueryString;f=f===void 0?"":f;var g=a.noSearchResultsText,o=a.placeholder,p=a.renderResults,q=a.suggestedTargets;a=a.withTopDivider;a=a===void 0?!0:a;f=l((f=f)!=null?f:"");var r=f[0];f=f[1];var s=l(!1),t=s[0];s=s[1];var u=c("useReStore")(),v=j(function(){var a=c("gkx")("4164");a=a&&((a=c("qex")._("73"))!=null?a:!1);a===!0&&d("MWPSearchSystem.bs").makeAll(u)},[u]),w=k(function(){return function(a){var b=a.entries,d=a.isLoading;a=a.queryString;a=((a=a==null?void 0:a.length)!=null?a:0)>0;if(!a)return i.jsx(c("CometScrollableArea.react"),{horizontal:!1,xstyle:n.view,children:q});return b.length===0?i.jsx(c("CometTypeaheadViewEmptyState.react"),{children:g}):i.jsxs(c("CometScrollableArea.react"),{horizontal:!1,xstyle:n.view,children:[d&&i.jsx(c("CometTypeaheadProgressGlimmer.react"),{}),p({entries:b})]})}},[q,p,g]);if(!b){t||(c("MwbBreadthForwardingLimitReachedBannerShownFalcoEvent").log(function(){return{limit:m.toString()}}),s(!0));return i.jsxs("div",{className:""+(a?" x1n2xptk xw7yly9":""),"data-testid":void 0,children:[i.jsx("div",{className:"x5hsz1j x10e4vud x1v7wizp x190cc1c xq82lqc xlhe6ec x1lq5wgf xgqcy7u x30kzoy x9jhf4c x10w6t97 x1d52u69 x1xmf6yo x1swvt13 xyamay9 x10l6tqk xloyg6u x1vjfegm","data-testid":void 0,children:i.jsxs(c("TetraText.react"),{color:"primary",type:"headline3",children:[h._("__JHASH__ziMwr5yUHFi__JHASH__")," "]})}),i.jsx(c("BaseTypeahead.react"),{dataSource:e,inputStrategyRenderer:c("CometResharesSearchInputStrategy.react"),layoutStrategyRenderer:c("CometTypeaheadLayoutInlineStrategy.react"),onChange:f,onFocus:v,placeholder:o,queryString:r,shouldQueryStringFollowHighlightedEntry:!1,shouldQueryStringUpdateFromSelectedEntryOnClick:!1,viewStrategyRenderer:w,xstyles:{inputXStyle:n.input,viewXStyle_DO_NOT_USE:n.view}})]})}return i.jsx("div",{className:""+(a?" x1n2xptk xw7yly9":""),"data-testid":void 0,children:i.jsx(c("BaseTypeahead.react"),{dataSource:e,inputStrategyRenderer:c("CometResharesSearchInputStrategy.react"),layoutStrategyRenderer:c("CometTypeaheadLayoutInlineStrategy.react"),onChange:f,onFocus:v,placeholder:o,queryString:r,shouldQueryStringFollowHighlightedEntry:!1,shouldQueryStringUpdateFromSelectedEntryOnClick:!1,viewStrategyRenderer:w,xstyles:{inputXStyle:n.input,viewXStyle_DO_NOT_USE:n.view}})})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("MercuryParticipantListRenderer",["fbt","MercuryIDs","react"],(function(a,b,c,d,e,f,g,h){"use strict";d("react");a=function(){function a(){var a=this;this.$6=function(b){var c=a.$5;if(c!=null){var e=d("MercuryIDs").getUserIDFromParticipantID(b.id);if(e!=null&&c[e]!=null&&c[e]!=null)return c[e]}return a.$2?b.short_name:b.name};this.$1=!1;this.$2=!1;this.$3=!1;this.$4=0;this.$5=null}var b=a.prototype;b.renderParticipantList=function(a){a=a.map(this.$6);switch(a.length){case 0:return i(this.$1);case 1:return j(a);case 2:return this.$3?l(a):k(a);case 3:return this.$3?n(a):m(a);default:return this.$3?p(a,this.$4):o(a,this.$4)}};b.setIsNewThread=function(a){this.$1=a;return this};b.setNameRenderer=function(a){this.$6=a;return this};b.setUseShortName=function(a){this.$2=a;return this};b.setNickname=function(a){this.$5=a;return this};b.setUseAndSeparator=function(a){this.$3=a;return this};b.setTotalParticipantCount=function(a){this.$4=a;return this};return a}();function i(a){if(a)return h._("__JHASH__x8VmROFXCKu__JHASH__");else return h._("__JHASH__TWJSQ7ipyAa__JHASH__")}function j(a){return a[0]}j.displayName=j.name+" [from "+f.id+"]";function k(a){return h._("__JHASH__QVqNH0CDXLb__JHASH__",[h._param("participant1",a[0]),h._param("participant2",a[1])])}k.displayName=k.name+" [from "+f.id+"]";function l(a){return h._("__JHASH__JTikoCjxB3O__JHASH__",[h._param("participant1",a[0]),h._param("participant2",a[1])])}l.displayName=l.name+" [from "+f.id+"]";function m(a){return h._("__JHASH__FfZsrZ3E8l3__JHASH__",[h._param("participant1",a[0]),h._param("participant2",a[1]),h._param("participant3",a[2])])}m.displayName=m.name+" [from "+f.id+"]";function n(a){return h._("__JHASH__0a7wtHuBFBj__JHASH__",[h._param("participant1",a[0]),h._param("participant2",a[1]),h._param("participant3",a[2])])}n.displayName=n.name+" [from "+f.id+"]";function o(a,b){return h._("__JHASH__DTZWN4rVq-W__JHASH__",[h._param("participant1",a[0]),h._param("participant2",a[1]),h._param("participant3",a[2]),h._param("others_link",q((b||a.length)-3))])}o.displayName=o.name+" [from "+f.id+"]";function p(a,b){return h._("__JHASH__P_doxz4r-mz__JHASH__",[h._param("participant1",a[0]),h._param("participant2",a[1]),h._param("others_link",q((b||a.length)-2))])}p.displayName=p.name+" [from "+f.id+"]";function q(a){if(a>1)return h._("__JHASH__fXVmG3gSqH2__JHASH__",[h._param("others_count",a,[0])]);else return h._("__JHASH__AXvVFDKadXa__JHASH__")}g["default"]=a}),98);/*FB_PKG_DELIM*/ __d("FocusTableUtils",["FocusManager","filterNulls","focusKeyboardEventPropagation","focusScopeQueries","setElementCanTab"],(function(a,b,c,d,e,f,g){function a(a){return a.length===1}function h(a){return a instanceof HTMLElement||a instanceof SVGElement}function i(a,b){var d,e=b instanceof HTMLElement&&b.id!==""?b.id:null,f=new Set(b instanceof HTMLElement?c("filterNulls")([].concat(((d=b.getAttribute("aria-labelledby"))!=null?d:"").split(" "),((d=b.getAttribute("aria-describedby"))!=null?d:"").split(" "),((d=b.getAttribute("aria-owns"))!=null?d:"").split(" "),[b.getAttribute("aria-errormessage")])).filter(function(a){return a!==""}):[]);d=document.createTreeWalker(a,NodeFilter.SHOW_ELEMENT|NodeFilter.SHOW_TEXT,{acceptNode:function(a){if(a===b)return NodeFilter.FILTER_REJECT;if(a.nodeType===Node.TEXT_NODE&&a.textContent.trim()==="")return NodeFilter.FILTER_REJECT;if(h(a)&&f.has(a.id))return NodeFilter.FILTER_REJECT;if(h(a)&&a.getAttribute("aria-hidden")==="true")return NodeFilter.FILTER_REJECT;if(a instanceof HTMLLabelElement&&(a.htmlFor===e||a.contains(b)))return NodeFilter.FILTER_REJECT;if(a.hasChildNodes())return NodeFilter.FILTER_SKIP;return h(a)&&a.getAttribute("aria-label")==null&&a.getAttribute("aria-labelledby")==null&&a.getAttribute("aria-describedby")==null&&a.getAttribute("alt")==null&&a.getAttribute("title")==null?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT}});var g=d.currentNode;while(g===a)g=d.nextNode();return g!=null}var j=new Set(["button","checkbox","radio","reset","submit"]),k=new Set(["checkbox","link","switch","radio","button"]),l=new Set(["a","button"]);function m(a){var b=a.getAttribute("role"),c=a.tagName.toLowerCase(),d=a instanceof HTMLInputElement?a.type:null;if(a instanceof HTMLInputElement&&j.has(d))return!0;return k.has(b)||l.has(c)?!0:!1}function n(a){var b=[];a=document.createTreeWalker(a,NodeFilter.SHOW_ELEMENT,{acceptNode:function(a){return a instanceof HTMLElement&&m(a)?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});var c=a.nextNode();while(c)b.push(c),c=a.nextNode();return b}function o(a,b){if(!b)return null;b=a.DO_NOT_USE_queryFirstNode(d("focusScopeQueries").tableCellScopeQuery);if(b==null)return null;a=n(b);a=(a=a)!=null?a:[];var c=a[0];a=a.slice(1);if(c!=null&&a.length===0&&!i(b,c))return c}function p(a,b,c){if(b){var e=b.scopeRef.current;if(e!==null){b=o(e,(b=b.allowWithinCellNavigation)!=null?b:!1);b=(b=b)!=null?b:e.DO_NOT_USE_queryFirstNode(a);b!==null&&(document.activeElement!=null&&d("setElementCanTab").setElementCanTab(document.activeElement,!1),d("setElementCanTab").setElementCanTab(b,!0),d("FocusManager").focusElement(b),c!=null&&(c.preventDefault(),d("focusKeyboardEventPropagation").stopFocusKeyboardEventPropagation(c)))}}}function b(a,b,c){if(b!=null){b=b.DO_NOT_USE_queryFirstNode(a);b!==null&&(d("setElementCanTab").setElementCanTab(b,!0),d("FocusManager").focusElement(b),c.preventDefault(),d("focusKeyboardEventPropagation").stopFocusKeyboardEventPropagation(c))}}function q(a,b,c,d,e){d=d[c];c=s(d,e);var f=0,g,h,i;do{g=b-f;if(g>=0){i=r(d,g,e,a);if(i)return i}h=b+f;if(h<=c){i=r(d,h,e,a);if(i)return i}f++}while(g>=0&&h<=c);return null}function e(a,b,c,d,e,f,g,h){var i=b.onNavigate;if(i){var j=!1;e=v(e,d,h);var k=e[1];e=x(b,d,g);var l=e[0],m=e[1];if(l===null)return!1;b={currentCellIndex:k,currentRowIndex:m,event:c,focusCell:function(a,b){p(b||f,a,c)},getCell:function(a,b){a=l[a];return a!=null?r(a,b,h):null},getCellByTag:function(a){var b=q(a,k,m,l,h);if(b)return b;var c=l.length,d=m+1;while(!0){if(d===m)return null;if(d>c-1){d=0;continue}b=q(a,k,d,l,h);if(b)return b;d++}return null},preventDefault:function(){j=!0},type:a};i(b);if(j)return!0}return!1}function r(a,b,c,d){a=a.getChildContextValues(c).filter(function(a){return a!=null&&(d===void 0||a.tag===d)});c=0;for(var e=0;eb)return f}}return null}function f(a,b,c,d,e){c=r(b,c,d);if(c!==null){p(a,c,e);return}c=b.getChildContextValues(d).filter(Boolean);c.length>0&&p(a,c[c.length-1],e)}function s(a,b){b=(a=a.getChildContextValues(b).filter(Boolean))!=null?a:[];a=0;for(var c=0;c0){c=t(b,a);a=c[0];c=c[1];return[b,a,c]}return[null,-1,-1]}function w(a,b,c){if(a){a=a.scopeRef.current;if(a!==null){a=a.getChildContextValues(b);b=[];for(var d=0;d0){c=a.indexOf(b);return[a,c]}return[null,-1]}function y(a){var b=a.altKey,c=a.ctrlKey,d=a.metaKey;a=a.shiftKey;return b===!0||c===!0||d===!0||a===!0}g.isPrintableCharacter=a;g.hasUnassociatedLeafNodes=i;g.isArrowKeyLessOperationElement=m;g.getCellSingleInteractiveContentNode=o;g.focusCell=p;g.focusRow=b;g.checkRowForMatch=q;g.handleOnNavigateBehavior=e;g.getCellByColumnIndex=r;g.focusCellByColumnIndex=f;g.getLength=s;g.getCellIndexes=t;g.getRowCells=u;g.getRowCellsWithIndexes=v;g.getRows=w;g.getRowsWithIndex=x;g.hasModifierKey=y}),98); __d("FocusTable.react",["FocusManager","FocusTableUtils","Locale","ReactFocusEvent.react","ReactKeyboardEvent.react","focusKeyboardEventPropagation","react","setElementCanTab"],(function(a,b,c,d,e,f,g){var h=d("react");b=d("react");var i=b.useContext,j=b.useMemo,k=b.useRef,l=5;function a(a){var b=h.unstable_Scope,c=h.createContext(null),e=h.createContext(null),g=h.createContext(null);function n(e){var f=e.children,g=e.wrapX,i=e.wrapY,m=e.wrapXToNextLine,n=e.tabScopeQuery,o=e.allowModifiers,q=e.pageJumpSize,r=q===void 0?l:q,s=e.onNavigate,t=e.disabled,u=e.withinCellTabScopeQuery,v=k(null);q=j(function(){return{scopeRef:v,wrapXToNextLine:m,wrapX:g,wrapY:i,tabScopeQuery:n,allowModifiers:o,pageJumpSize:r,onNavigate:s,disabled:t,withinCellTabScopeQuery:u}},[m,g,i,n,o,r,s,t,u]);var w=k(!1);e=d("ReactFocusEvent.react").useFocusWithin(v,j(function(){return{onFocusWithin:function(b){w.current||(w.current=!0,v.current&&a&&(p(v.current,a,!1),d("setElementCanTab").setElementCanTab(b.target,!0)))}}},[w]));return h.jsx(c.Provider,{value:q,children:h.jsx(b,{ref:e,children:f})})}n.displayName=n.name+" [from "+f.id+"]";function o(a){a=a.children;var c=k(null),d=j(function(){return{scopeRef:c}},[]);return h.jsx(e.Provider,{value:d,children:h.jsx(b,{ref:c,children:a})})}o.displayName=o.name+" [from "+f.id+"]";function p(a,b,c){a=a.DO_NOT_USE_queryAllNodes(b);if(a!=null)for(b=0;b0&&d("FocusTableUtils").focusCell(a,k[k.length-1],b)}}else o!==v[v.length-1]&&d("FocusTableUtils").focusCell(a,v[v.length-1],b);return;case"ArrowUp":if(m(b,q))return;if(d("FocusTableUtils").handleOnNavigateBehavior("PREV_ROW",q,b,f,c,a,e,g))return;if(j)return;l=d("FocusTableUtils").getRowCellsWithIndexes(c,f,g);k=l[0];o=l[2];if(k!==null&&q){v=d("FocusTableUtils").getRowsWithIndex(q,f,e);l=v[0];k=v[1];if(l!==null)if(k===0){v=q.wrapY;if(v===!0&&!n){v=l[l.length-1];d("FocusTableUtils").focusCellByColumnIndex(a,v,o,g,b)}}else if(n){v=l[0];d("FocusTableUtils").focusCellByColumnIndex(a,v,o,g,b)}else{v=l[k-1];d("FocusTableUtils").focusCellByColumnIndex(a,v,o,g,b)}}return;case"PageUp":if(d("FocusTableUtils").handleOnNavigateBehavior("PAGE_UP",q,b,f,c,a,e,g))return;if(j)return;l=d("FocusTableUtils").getRowCellsWithIndexes(c,f,g);k=l[0];v=l[2];o=d("FocusTableUtils").getRowsWithIndex(q,f,e);l=o[0];o=o[1];if(k!==null&&l!==null&&q&&o!==0){k=q.pageJumpSize;l=l[Math.max(0,o-k)];d("FocusTableUtils").focusCellByColumnIndex(a,l,v,g,b)}return;case"ArrowDown":if(m(b,q))return;if(d("FocusTableUtils").handleOnNavigateBehavior("NEXT_ROW",q,b,f,c,a,e,g))return;if(j)return;o=d("FocusTableUtils").getRowCellsWithIndexes(c,f,g);k=o[0];l=o[2];v=d("FocusTableUtils").getRowsWithIndex(q,f,e);o=v[0];v=v[1];if(k!==null&&o!==null&&q&&v!==-1)if(v===o.length-1){k=q.wrapY;if(k===!0&&!n){k=o[0];d("FocusTableUtils").focusCellByColumnIndex(a,k,l,g,b)}}else if(n){k=o[o.length-1];d("FocusTableUtils").focusCellByColumnIndex(a,k,l,g,b)}else{n=o[v+1];d("FocusTableUtils").focusCellByColumnIndex(a,n,l,g,b)}return;case"PageDown":if(d("FocusTableUtils").handleOnNavigateBehavior("PAGE_DOWN",q,b,f,c,a,e,g))return;if(j)return;k=d("FocusTableUtils").getRowCellsWithIndexes(c,f,g);o=k[0];v=k[2];n=d("FocusTableUtils").getRowsWithIndex(q,f,e);l=n[0];k=n[1];if(o!==null&&l!==null&&q&&k!==l.length-1){n=q.pageJumpSize;o=l[Math.min(l.length-1,k+n)];d("FocusTableUtils").focusCellByColumnIndex(a,o,v,g,b)}return;case"ArrowLeft":if(m(b,q))return;if(d("FocusTableUtils").handleOnNavigateBehavior("PREV_CELL",q,b,f,c,a,e,g))return;if(j)return;l=d("FocusTableUtils").getRowCellsWithIndexes(c,f,g);k=l[0];n=l[1];o=d("FocusTableUtils").getRowsWithIndex(q,f,e);v=o[0];l=o[1];if(k!==null&&v!==null&&q)if(n>0)d("FocusTableUtils").focusCell(a,k[n-1],b);else if(n===0){o=q.wrapX;n=q.wrapXToNextLine;o===!0?d("FocusTableUtils").focusCell(a,k[k.length-1],b):n===!0&&v[l-1]&&d("FocusTableUtils").focusCellByColumnIndex(a,v[l-1],d("FocusTableUtils").getLength(v[l-1],g),g,b)}return;case"ArrowRight":if(m(b,q))return;if(d("FocusTableUtils").handleOnNavigateBehavior("NEXT_CELL",q,b,f,c,a,e,g))return;if(j)return;o=d("FocusTableUtils").getRowCellsWithIndexes(c,f,g);k=o[0];n=o[1];v=d("FocusTableUtils").getRowsWithIndex(q,f,e);l=v[0];o=v[1];if(k!==null&&l!==null&&q&&n!==-1)if(n===k.length-1){v=q.wrapX;var w=q.wrapXToNextLine;v===!0?d("FocusTableUtils").focusCell(a,k[0],b):w===!0&&l[o+1]&&d("FocusTableUtils").focusCellByColumnIndex(a,l[o+1],0,g,b)}else d("FocusTableUtils").focusCell(a,k[n+1],b);return;case"Enter":if(!i||j)return;if(d("FocusTableUtils").handleOnNavigateBehavior("ENTER",q,b,f,c,a,e,g))return;v=q==null?void 0:q.withinCellTabScopeQuery;if(v){w=c.DO_NOT_USE_queryFirstNode(v);w!=null&&(t.current=!0,p(c,v,!0),d("FocusManager").focusElement(w))}return;case"Escape":if(!i||!j)return;if(d("FocusTableUtils").handleOnNavigateBehavior("ESC",q,b,f,c,a,e,g))return;l=q==null?void 0:q.tabScopeQuery;if(l){t.current=!1;o=c.DO_NOT_USE_queryAllNodes(l);if(o!==null)for(k=0;kt.length||t.length>4,v=Math.min(t.length+(u?1:0),4);t=t.slice(0,u?v-1:v).map(function(a){return h.jsx(c("CometProfilePhoto_EXPERIMENTAL.react"),babelHelpers["extends"]({},typeof a==="object"?a:{source:a},{shape:s,size:"fill"}))});if(u){u=h.jsxs(c("BaseView.react"),{xstyle:i.moreItem,children:[h.jsx(c("TetraText.react"),{color:"secondary",type:"meta4",children:h.jsxs("span",{className:"x1s688f"+(g<=j?" x190qgfh":""),children:["+",a-v+1]})}),h.jsx(c("BaseView.react"),{xstyle:i.moreItemInsetBorder})]},"more");v===4?t.splice(-1,0,u):t.push(u)}a=h.jsx(c("BaseView.react"),{"aria-label":f,role:"img",xstyle:k[g],children:t.map(function(a,b){return h.jsx(c("BaseView.react"),{xstyle:[i.item,l[v],v===4&&p[b]||v===3&&o[b]||v===2&&(r==="descending"?n[b]:m[b]),b===0?q[s]:void 0],children:a},b)})});return b!=null?h.jsx(c("CometBadgeContainer.react"),{badge:b,badgeAlign:d,expanding:e,children:a}):a}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("MWChatOpenTabForGroup.bs",["LSThreadAttributionStore.bs","MWChatInteraction.bs","MWChatStateActions.bs","MWChatStateV2.bs","MessagingThreadType.bs","bs_caml_format","bs_curry","react","requireDeferred","unrecoverableViolation","useCometFeedNoRoutingNavigationEventLogger","useMWChatOpenTabTraceProvider"],(function(a,b,c,d,e,f,g){"use strict";var h=d("react"),i=c("requireDeferred")("MWChatLogOpenChatTab.bs").__setRef("MWChatOpenTabForGroup.bs"),j=c("requireDeferred")("MWChatOpenTabForGroupCallback.bs").__setRef("MWChatOpenTabForGroup.bs");function k(a){return h.useCallback(function(a){j.onReady(function(b){return c("bs_curry")._1(b.call,a)})},[])}function a(a,b){var e=a!==void 0?a:!1,f=c("useMWChatOpenTabTraceProvider")(),g=c("useCometFeedNoRoutingNavigationEventLogger")();a=k();var j=d("MWChatStateV2.bs").useDispatch(),l=function(a){return c("bs_curry")._1(j,d("MWChatStateActions.bs").openTab(Date.now(),{shouldFocus:!e},{_0:{clientThreadKey:void 0,threadKey:a,threadType:d("MessagingThreadType.bs").group},TAG:1}))},m=function(a,e){g(Date.now(),"","messenger"),d("LSThreadAttributionStore.bs").setSource(a,b),i.onReady(function(d){return c("bs_curry")._3(d.logOpenGroupTab,e,a,b)})},n=h.useMemo(function(){return function(a,e){m(a,e);return f(function(b){d("MWChatInteraction.bs").set(a,b);if(e===!0)return c("unrecoverableViolation")("Group Threads not supported","messenger_web_product");else return l(c("bs_caml_format").caml_int64_of_string(a))},"group",b,a)}},[b,g,f,e]),o=h.useMemo(function(){return function(a,g){m(a,g);return f(function(b){d("MWChatInteraction.bs").set(a,b);if(g===!0){b=c("bs_caml_format").caml_int64_of_string(a);return c("bs_curry")._1(j,d("MWChatStateActions.bs").openTab(Date.now(),{shouldFocus:!e},{_0:{clientThreadKey:void 0,threadKey:b,threadType:d("MessagingThreadType.bs").secureMessageOverWaGroup},TAG:1}))}else return l(c("bs_caml_format").caml_int64_of_string(a))},"group",b,a)}},[b,g,f,e]);return[n,a,o]}g.$MWChatLogOpenChatTab$Deferred=i;g.$MWChatOpenTabForGroupCallback$Deferred=j;g.useHook=a}),98); __d("useMWChatOpenTabForGroup",["MWChatOpenTabForGroup.bs","react"],(function(a,b,c,d,e,f,g){"use strict";var h=d("react").useMemo;function a(a,b){var c={};b!=null&&(c.preventAutofocus=b.preventAutofocus_DO_NOT_USE);var e=d("MWChatOpenTabForGroup.bs").useHook(c.preventAutofocus,a);return h(function(){var a=e[0],b=e[1],c=e[2];return[function(b,c){return a(b,(b=c)!=null?b:!1)},b,function(a,b){return c(a,(a=b)!=null?a:!1)}]},[e])}g["default"]=a}),98); __d("useMatchMedia",["ExecutionEnvironment","FBLogger","gkx","react","useLayoutEffect_SAFE_FOR_SSR"],(function(a,b,c,d,e,f,g){"use strict";var h=d("react").useState;function a(a){if(c("gkx")("751")&&!c("ExecutionEnvironment").canUseDOM)throw c("FBLogger")("useMatchMedia").mustfixThrow("useMatchMedia is not safe to use in server-side rendering. It always returns false on the server but sometimes returns true on the client. If you want to measure the viewport, please see useMatchViewport, which is safe to use in SSR.");var b=h(function(){return!!window.matchMedia&&window.matchMedia(a).matches}),d=b[0],e=b[1];c("useLayoutEffect_SAFE_FOR_SSR")(function(){if(!window.matchMedia)return;var b=window.matchMedia(a),c=function(a){return e(a.matches)};b.addListener(c);return function(){return b.removeListener(c)}},[a]);return d}g["default"]=a}),98); __d("XCometGroupDiscussionControllerRouteBuilder",["jsRouteBuilder"],(function(a,b,c,d,e,f,g){a=c("jsRouteBuilder")("/groups/{idorvanity}/{?view}/{?post_id}/",Object.freeze({modal:!1,should_open_composer:!1,hoisted_section_header_type:"notifications",show_migration_preparation_dialog:!1,show_migration_onboarding_dialog:!1,show_review_some_onboarding:!1,show_share_event_to_group_composer:!1,show_admin_inactivity_dialog:!1,show_lightweight_onboarding_dialog:!1,should_open_welcome_member_composer:!1,show_community_transition:!1,show_last_activity:!1,community_chats_aa_upsell:!1}),void 0);b=a;g["default"]=b}),98); __d("XCometVanityURLControllerRouteBuilder",["jsRouteBuilder"],(function(a,b,c,d,e,f,g){a=c("jsRouteBuilder")("/{vanity}/",Object.freeze({}),void 0);b=a;g["default"]=b}),98); __d("GroupCometComposerEditDialogQuery_facebookRelayOperation",[],(function(a,b,c,d,e,f){e.exports="6167674086578814"}),null);/*FB_PKG_DELIM*/ __d("VideoPlayerDefaultControls_video.graphql",[],(function(a,b,c,d,e,f){"use strict";a={argumentDefinitions:[],kind:"Fragment",metadata:null,name:"VideoPlayerDefaultControls_video",selections:[{args:null,kind:"FragmentSpread",name:"VideoPlayerDefaultControlsImplLive_video"},{args:null,kind:"FragmentSpread",name:"VideoPlayerDefaultControlsImplNotLive_video"}],type:"Video",abstractKey:null};e.exports=a}),null); __d("CometContentNotAvailable.react",["fbt","CometContentArea.react","NullStateGeneral","TetraNullState.react","react"],(function(a,b,c,d,e,f,g,h){"use strict";var i=d("react");function a(){return i.jsx("div",{className:"x6s0dn4 x78zum5 xtp0wl1 xl56j7k xh8yej3",children:i.jsx(c("CometContentArea.react"),{verticalAlign:"middle",children:i.jsx(c("TetraNullState.react"),{headline:h._("__JHASH__C7tfZyxTgu9__JHASH__"),icon:c("NullStateGeneral")})})})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("MAWStateContext.react",["err","react"],(function(a,b,c,d,e,f,g){"use strict";var h=d("react");d=d("react");var i=d.useCallback,j=d.useContext,k=d.useEffect,l=d.useRef,m=d.useState;d={ephemeralSettings:{},messageLatencies:{},offlineQueueCount:0,offlineQueueProgressDownloaded:0,offlineQueueSyncComplete:!1,unArchivedSelfDeviceChangeAlerts:0};function a(){var a=j(o)(),b=a.dispatch;return i(function(a,c){c===void 0&&(c=Date.now()),b({optimisticMsgId:a,tag:"OptimisticSendMessage",timestamp:c})},[b])}function b(){var a=j(o)(),b=a.dispatch;return i(function(a,c){b({tag:"EphemeralSettingsUpdatedForUI",value:{chatJid:a,ephemeralSettingArgs:c}})},[b])}function e(){var a=j(q),b=a.dispatch;return i(function(){b({tag:"ClearEphemeralSettings"})},[b])}var n={dispatch:function(a){throw c("err")("MAW Dispatch not implemented")},state:d,subscriptions:new Set()},o=h.createContext(function(){return n}),p=function(){return j(o)().state},q=h.createContext(n);function f(){var a=j(q);a=a.state;return a}function r(a){var b=j(o)(),c=b.state,d=b.subscriptions;b=m(function(){return a(c)});var e=b[0],f=b[1],g=l(e);k(function(){var b=function(b){b=a(b);b!==g.current&&(g.current=b,f(b))};d.add(b);return function(){d["delete"](b)}},[d,a]);return e}g.initialState=d;g.useDispatchOptimisticSendMessage=a;g.useDispatchEphemeralSettingsUpdatedForUI=b;g.useDispatchClearEphemeralSettings=e;g.defaultContext=n;g.MAWNonRerenderingStateContext=o;g.useStaleMAWStateWithoutRerendering=p;g.MAWStateContext=q;g.useMAWState=f;g.useMAWSelector=r}),98); __d("MAWStateContextProvider.react",["MAWStateContext.react","react","useUnsafeRef_DEPRECATED"],(function(a,b,c,d,e,f,g){"use strict";var h=d("react");b=d("react");var i=b.useCallback,j=b.useEffect,k=b.useMemo,l=b.useReducer,m=function(a,b){switch(b.tag){case"OptimisticSendMessage":var c;return babelHelpers["extends"]({},a,{messageLatencies:babelHelpers["extends"]({},a.messageLatencies,(c={},c[b.optimisticMsgId]={sent:b.timestamp},c))});case"NewMsg":case"MsgUpdated":var d,e;c=b.value.ack;var f=b.value.msgId;d=(d=b.value.offlineMsg)==null?void 0:d.msgId;d!=null&&a.messageLatencies[d]!=null&&(a.messageLatencies[f]=a.messageLatencies[d],delete a.messageLatencies[d]);d=a.messageLatencies[f];if((d==null?void 0:d.sent)!=null&&(d==null?void 0:d.acked)!=null)return a;d=(d==null?void 0:d.sent)||Date.now();c=c!==0?Date.now():void 0;return babelHelpers["extends"]({},a,{messageLatencies:babelHelpers["extends"]({},a.messageLatencies,(e={},e[f]={acked:c,sent:d},e))});case"InitOfflineQueueSyncProgress":f=b.value;return babelHelpers["extends"]({},a,{offlineQueueProgressDownloaded:f});case"InitOfflineQueueSyncStart":c=b.value;return babelHelpers["extends"]({},a,{offlineQueueCount:c});case"InitOfflineQueueSyncComplete":return babelHelpers["extends"]({},a,{offlineQueueSyncComplete:!0});case"UnArchivedSelfDeviceChangeAlerts":d=b.value;return babelHelpers["extends"]({},a,{unArchivedSelfDeviceChangeAlerts:d});case"EphemeralSettingsUpdatedForUI":e=b.value;f=e.chatJid;c=e.ephemeralSettingArgs;d=c.ephemeralExpirationInSec;b=c.ephemeralLastUpdatedOrSetTimestamp;e=f;return babelHelpers["extends"]({},a,{ephemeralSettings:babelHelpers["extends"]({},a.ephemeralSettings,(c={},c[e]={ephemeralExpirationInSec:d,ephemeralLastUpdatedOrSetTimestamp:b},c))});case"ClearEphemeralSettings":return babelHelpers["extends"]({},a,{ephemeralSettings:{}})}return a};function a(a){a=a.children;var b=l(m,d("MAWStateContext.react").initialState),c=b[0],e=b[1],f=k(function(){return new Set()},[]);b=k(function(){return{dispatch:e,state:c,subscriptions:f}},[c,e,f]);var g=n(b),o=i(function(){return g.current},[g]);j(function(){f.forEach(function(a){return a(c)})},[c,f]);return h.jsx(d("MAWStateContext.react").MAWStateContext.Provider,{value:b,children:h.jsx(d("MAWStateContext.react").MAWNonRerenderingStateContext.Provider,{value:o,children:a})})}a.displayName=a.name+" [from "+f.id+"]";function n(a){var b=c("useUnsafeRef_DEPRECATED")(a);b.current=a;return b}g["default"]=a}),98); __d("useMAWOfflineQueueState",["MAWMessengerStatusOnFacebookEventEmitter","MAWStateContext.react","gkx","react","useCometRouterState"],(function(a,b,c,d,e,f,g){"use strict";b=d("react");var h=b.useContext,i=b.useEffect,j=b.useState;function a(){var a=h(d("MAWStateContext.react").MAWStateContext).state,b=a.offlineQueueCount;a=a.offlineQueueSyncComplete;var e=c("useCometRouterState")(),f=e!=null?e.main.route.tabKey:"null";e=j(f==="messenger");var g=e[0],k=e[1];i(function(){!g&&f==="messenger"&&k(!0)},[g,f]);i(function(){var a=d("MAWMessengerStatusOnFacebookEventEmitter").subscribe(function(a){a===d("MAWMessengerStatusOnFacebookEventEmitter").MESSENGER_IS_ACTIVE_ON_FACEBOOK&&k(!0)});return function(){return a()}},[]);return c("gkx")("571")||g?b>0&&!a:!1}g["default"]=a}),98); __d("VideoPlayerDefaultControls.react",["CometPlaceholder.react","CometRelay","CometWarningScreenContext","VideoPlayerDefaultControlsProperties","VideoPlayerDefaultControls_video.graphql","VideoPlayerFullscreenControl.react","VideoPlayerHooks","cr:1875194","deferredLoadComponent","emptyFunction","react","requireDeferred","useVideoPlayerBigPlayButtonOverlay","useVideoPlayerDefaultControlsVisibility"],(function(a,b,c,d,e,f,g){"use strict";var h,i=d("react"),j=(e=b("cr:1875194"))!=null?e:c("emptyFunction"),k=c("deferredLoadComponent")(c("requireDeferred")("VideoPlayerDefaultControlsImplLive.react").__setRef("VideoPlayerDefaultControls.react")),l=c("deferredLoadComponent")(c("requireDeferred")("VideoPlayerDefaultControlsImplNotLive.react").__setRef("VideoPlayerDefaultControls.react"));function a(a){var e,f=a.forceVisible,g=a.forceVisibleOnMount,m=a.mutedButtonVisibility,n=a.pictureInPictureControl,o=a.renderExpandControl,p=a.shouldRenderBigPlayButton,q=a.shouldRenderCaptionsControl,r=a.shouldRenderCostreamControl,s=a.shouldRenderLivePauseControl,t=a.shouldRenderModeratorControl,u=a.shouldRenderQuietModeControl,v=a.shouldRenderWatchAndScrollControl,w=a.shouldUnmuteForBigPlayButton,x=a.skipControl,y=a.subOrigin,z=a.video;a=a.videoTahoeUrl;z=d("CometRelay").useFragment(h!==void 0?h:h=b("VideoPlayerDefaultControls_video.graphql"),z);e=(e=d("CometWarningScreenContext").useIsContentVisible())!=null?e:!1;var A=j();A=A!=null?A.isSilentAtPlayhead:!1;var B=d("VideoPlayerHooks").useMuted(),C=d("VideoPlayerHooks").useIsLive();g=c("useVideoPlayerDefaultControlsVisibility")({forceVisible:f,forceVisibleOnMount:g});var D=g.isControlsVisible;g=g.onUserInteraction;p=c("useVideoPlayerBigPlayButtonOverlay")({forceVisible:p!=null?p:f===!1?!1:void 0,shouldUnmute:w});f=p.bigPlayButtonElement;w=p.bigPlayButtonIsVisible;p=D&&!w&&e;D=m===d("VideoPlayerDefaultControlsProperties").MutedButtonVisibility.SAME_AS_OTHER_CONTROLS?p:(B||p||A)&&!w;e=o!=null?o({onUserInteraction:g}):i.jsx(c("VideoPlayerFullscreenControl.react"),{onUserInteraction:g});m=C?i.jsx(k,{expandControl:e,isControlsVisible:p,isVolumeControlVisible:D,onUserInteraction:g,pictureInPictureControl:n,shouldRenderCaptionsControl:q,shouldRenderCostreamControl:r,shouldRenderModeratorControl:t,shouldRenderPauseControl:s,shouldRenderQuietModeControl:u,shouldRenderWatchAndScrollControl:v,subOrigin:y,video:z,videoTahoeUrl:a}):i.jsx(l,{expandControl:e,isControlsVisible:p,isVolumeControlVisible:D,onUserInteraction:g,pictureInPictureControl:n,shouldRenderCaptionsControl:q,shouldRenderQuietModeControl:u,shouldRenderWatchAndScrollControl:v,skipControl:x,subOrigin:y,video:z,videoTahoeUrl:a});return i.jsxs(i.Fragment,{children:[f,i.jsx(c("CometPlaceholder.react"),{fallback:null,children:m})]})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98);/*FB_PKG_DELIM*/ __d("MAWMaybeWithTimeout",["MAWGating","MAWQplProxy","WAPromiseDelays","qpl"],(function(a,b,c,d,e,f,g){"use strict";function a(a,b,e,f){if(d("MAWGating").isClientTimeoutsEnabled()&&!d("MAWGating").isOptedOutOfTimeouts){var g=d("MAWQplProxy").startQplUserFlow(c("qpl")._(25301116,"107"));return d("WAPromiseDelays").withTimeout(a.then(function(a){g.endSuccess();return a}),b,function(){var a=f!=null?"_"+f:"";g.endFail("timeout"+a);return e()})}return a}g.maybeWithTimeout=a}),98); __d("MAWTimedBridge",["FBLogger","MAWMaybeWithTimeout","MAWWaitForBackendSetup"],(function(a,b,c,d,e,f,g){"use strict";var h=6e4;function a(a,b,e){e===void 0&&(e=h);return d("MAWMaybeWithTimeout").maybeWithTimeout(d("MAWWaitForBackendSetup").waitForBackendSetup(b).then(function(){return a}),e,function(){throw c("FBLogger")("messenger_e2ee_web").mustfixThrow("Failed to complete bridge route "+b+" in time")},b)}g.bridgeTimeout=a}),98); __d("MAWBridge.bs",["MAWBridge","MAWTimedBridge","MAWWaitForBackendSetup"],(function(a,b,c,d,e,f,g){"use strict";function a(a,b,c){return{fireAndForget:function(e){d("MAWWaitForBackendSetup").runAfterBackendSetup(function(e){d("MAWBridge").getBridge().fireAndForget(a,b,c)},b)},sendAndReceive:function(e){return d("MAWTimedBridge").bridgeTimeout(d("MAWBridge").getBridge().sendAndReceive(a,b,c),b)},sendAndReceiveWithTimeout:function(e){return d("MAWTimedBridge").bridgeTimeout(d("MAWBridge").getBridge().sendAndReceive(a,b,c),b,e)}}}g.createApi=a}),98); __d("MAWBackendBridge.bs",["MAWBridge.bs"],(function(a,b,c,d,e,f,g){"use strict";var h="backend",i={event:"createThread"};function a(a){return{_0:a,TAG:0}}function b(a){return{_0:a,TAG:1}}function c(a){return{_0:a,TAG:2}}function e(a){return{_0:a,TAG:3}}function f(a){return d("MAWBridge.bs").createApi(h,"archiveThread",a)}function j(a){return d("MAWBridge.bs").createApi(h,"backfillThreadsForOccamadillo",a)}function k(a){return d("MAWBridge.bs").createApi(h,"unarchiveThread",a)}function l(a){return d("MAWBridge.bs").createApi(h,"changeSecurityAlertSetting",a)}function m(a){return d("MAWBridge.bs").createApi(h,"changeSecurityAlertSettingForSelf",a)}function n(a){return d("MAWBridge.bs").createApi(h,"getSecurityAlertSetting",a)}function o(a){return d("MAWBridge.bs").createApi(h,"getSecurityAlertSettingForSelfAndContact",a)}function p(a){return d("MAWBridge.bs").createApi(h,"clearSignalAndTempStores",a)}function q(a){return d("MAWBridge.bs").createApi(h,"createThreadThroughMI",a)}function r(a){return d("MAWBridge.bs").createApi(h,"deleteThread",a)}function s(a){return d("MAWBridge.bs").createApi(h,"fetchArmadilloThreadMessageCount",a)}function t(a){return d("MAWBridge.bs").createApi(h,"getCurrentUserDeviceInfo",a)}function u(a){return d("MAWBridge.bs").createApi(h,"getIdentityKeys",a)}function v(a){return d("MAWBridge.bs").createApi(h,"markThreadAsUnread",a)}function w(a){return d("MAWBridge.bs").createApi(h,"updateThreadMuteSetting",a)}function x(a){return d("MAWBridge.bs").createApi(h,"initSync",a)}function y(a){return d("MAWBridge.bs").createApi(h,"loadMoreThreads",a)}function z(a){return d("MAWBridge.bs").createApi(h,"loadMoreMsgs",a)}function A(a){return d("MAWBridge.bs").createApi(h,"getMaybeNextNonAdminMsgSortOrderMs",a)}function B(a){return d("MAWBridge.bs").createApi(h,"loadMoreMedia",a)}function C(a){return d("MAWBridge.bs").createApi(h,"getBlobDataUrlByMediaId",a)}function D(a){return d("MAWBridge.bs").createApi(h,"getBlobDataUrlByXMAId",a)}function E(a){return d("MAWBridge.bs").createApi(h,"getContact",a)}function F(a){return d("MAWBridge.bs").createApi(h,"getShadowGroupByOpenThreadKey",a)}function G(a){return d("MAWBridge.bs").createApi(h,"compareThreadParticipants",a)}function H(a){return d("MAWBridge.bs").createApi(h,"getGroupSuperAdmin",a)}function I(a){return d("MAWBridge.bs").createApi(h,"getThumbnailBlobDataUrlByMediaId",a)}function J(a){return d("MAWBridge.bs").createApi(h,"getThreadDevicesInfo",a)}function K(a){return d("MAWBridge.bs").createApi(h,"getAllThreadDevicesCount",a)}function L(a){return d("MAWBridge.bs").createApi(h,"retryUploadMedia",a)}function M(a){return d("MAWBridge.bs").createApi(h,"optimisticUploadMedia",a)}function N(a){return d("MAWBridge.bs").createApi(h,"updateContacts",a)}function O(a){return d("MAWBridge.bs").createApi(h,"updateParticipantName",a)}function P(a){return d("MAWBridge.bs").createApi(h,"fetchExistingThread",a)}function Q(a){return d("MAWBridge.bs").createApi(h,"search",a)}function R(a){return d("MAWBridge.bs").createApi(h,"sendChatStateFromComposer",a)}function S(a){return d("MAWBridge.bs").createApi(h,"removeCurrentDevice",a)}function T(a){return d("MAWBridge.bs").createApi(h,"dyiGetThreadList",a)}function U(a){return d("MAWBridge.bs").createApi(h,"writeLSDBToPersistedEBTables",a)}function V(a){return d("MAWBridge.bs").createApi(h,"getThreadJidByChatId",a)}function W(a){return d("MAWBridge.bs").createApi(h,"getProtocolMsgIdByMsgId",a)}function X(a){return d("MAWBridge.bs").createApi(h,"GetProtocolMsgIdByMediaMsgId",a)}function Y(a){return d("MAWBridge.bs").createApi(h,"getThreadIdByChatJid",a)}function Z(a){return d("MAWBridge.bs").createApi(h,"getAllThreadsAsJson",a)}function $(a){return d("MAWBridge.bs").createApi(h,"getEphemeralSettings",a)}function aa(a){return d("MAWBridge.bs").createApi(h,"setEphemeralSettingsFromFrontend",a)}function ba(a){return d("MAWBridge.bs").createApi(h,"getDualSendMediaByFileType",a)}function ca(a){return d("MAWBridge.bs").createApi(h,"insertAdminMessageInCutoverThreads",a)}function da(a){return d("MAWBridge.bs").createApi(h,"completeUndoThreadCutover",a)}function ea(a){return d("MAWBridge.bs").createApi(h,"fetchExistingThreadForContact",a)}function fa(a){return d("MAWBridge.bs").createApi(h,"getLatestThreadIds",a)}function ga(a){return d("MAWBridge.bs").createApi(h,"preEstablishSession",a)}function ha(a){return d("MAWBridge.bs").createApi(h,"getThreadParticipantFBIDs",a)}function ia(a){return d("MAWBridge.bs").createApi(h,"checkIfShowOpenMessageHistory",a)}function ja(a){return d("MAWBridge.bs").createApi(h,"getWorkerHeartbeat",a)}function ka(a){return d("MAWBridge.bs").createApi(h,"setEncryptedBackupsState",a)}function la(a){return d("MAWBridge.bs").createApi(h,"predistributeSKDM",a)}function ma(){return d("MAWBridge.bs").createApi(h,"requestLogs")}g.namespace=h;g.CreateThread=i;g.bridgeSearchMsg=a;g.bridgeGroupInfo=b;g.bridgeContact=c;g.bridgeParticipant=e;g.archiveThread=f;g.backfillThreadsForOccamadillo=j;g.unarchiveThread=k;g.changeSecurityAlertSetting=l;g.changeSecurityAlertSettingForSelf=m;g.getSecurityAlertSetting=n;g.getSecurityAlertSettingForSelfAndContact=o;g.clearSignalAndTempStores=p;g.createThreadThroughMI=q;g.deleteThread=r;g.fetchArmadilloThreadMessageCount=s;g.getCurrentUserDeviceInfo=t;g.getIdentityKeys=u;g.markThreadAsUnread=v;g.updateThreadMuteSetting=w;g.initSync=x;g.loadMoreThreads=y;g.loadMoreMsgs=z;g.getMaybeNextNonAdminMsgSortOrderMs=A;g.loadMoreMedia=B;g.getBlobDataUrlByMediaId=C;g.getBlobDataUrlByXMAId=D;g.getContact=E;g.getShadowGroupByOpenThreadKey=F;g.compareThreadParticipants=G;g.getGroupSuperAdmin=H;g.getThumbnailBlobDataUrlByMediaId=I;g.getThreadDevicesInfo=J;g.getAllThreadDevicesCount=K;g.retryUploadMedia=L;g.optimisticUploadMedia=M;g.updateContacts=N;g.updateParticipantName=O;g.fetchExistingThread=P;g.search=Q;g.sendChatStateFromComposer=R;g.removeCurrentDevice=S;g.dyiGetThreadList=T;g.writeLSDBToPersistedEBTables=U;g.getThreadJidByChatId=V;g.getProtocolMsgIdByMsgId=W;g.getProtocolMsgIdByMediaMsgId=X;g.getThreadIdByChatJid=Y;g.getAllThreadsAsJson=Z;g.getEphemeralSettings=$;g.setEphemeralSettingsFromFrontend=aa;g.getDualSendFileByFileType=ba;g.insertAdminMessageInCutoverThreads=ca;g.completeUndoThreadCutover=da;g.fetchExistingThreadForContact=ea;g.getLatestThreadIds=fa;g.preEstablishSession=ga;g.getThreadParticipantFBIDs=ha;g.checkIfShowOpenMessageHistory=ia;g.getWorkerHeartbeat=ja;g.setEncryptedBackupsState=ka;g.predistributeSKDM=la;g.requestLogs=ma}),98);/*FB_PKG_DELIM*/ __d("CometArticleContextDialogQuery_facebookRelayOperation",[],(function(a,b,c,d,e,f){e.exports="8497216230350528"}),null); __d("CometArticleContextDialogQuery$Parameters",["CometArticleContextDialogQuery_facebookRelayOperation"],(function(a,b,c,d,e,f){"use strict";a={kind:"PreloadableConcreteRequest",params:{id:b("CometArticleContextDialogQuery_facebookRelayOperation"),metadata:{},name:"CometArticleContextDialogQuery",operationKind:"query",text:null}};e.exports=a}),null); __d("BaseAccessibleElement_DEPRECATED.react",["react"],(function(a,b,c,d,e,f,g){"use strict";var h=d("react");function a(a){var b=a.children;a=a.id;return h.jsx("span",{className:"xzpqnlu x1hyvwdk xjm9jq1 x6ikm8r x10wlt62 x10l6tqk x1i1rx1s","data-html2canvas-ignore":"true",id:a,children:b})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("CometArticleContextDialog.entrypoint",["CometArticleContextDialogQuery$Parameters","JSResourceForInteraction","WebPixelRatio"],(function(a,b,c,d,e,f,g){"use strict";a={getPreloadProps:function(a){a=a.nodeID;return{queries:{queryReference:{parameters:c("CometArticleContextDialogQuery$Parameters"),variables:{nodeID:a,scale:d("WebPixelRatio").get()}}}}},root:c("JSResourceForInteraction")("CometArticleContextDialog.react").__setRef("CometArticleContextDialog.entrypoint")};g["default"]=a}),98); __d("MWJewelDropdownHeaderSeeAllButton.react",["fbt","ix","CometTooltip.react","TetraCircleButton.react","fbicon","react"],(function(a,b,c,d,e,f,g,h,i){"use strict";var j=d("react");function a(a){var b=a.onClose,e=a.testid;e=a.url;a=h._("__JHASH__oavSR1mxJiV__JHASH__");return j.jsx(c("CometTooltip.react"),{align:"end",tooltip:a,children:j.jsx(c("TetraCircleButton.react"),{color:"secondary",icon:d("fbicon")._(i("580260"),20),label:a,linkProps:{url:e},onPress:b,size:32,testid:void 0,type:"deemphasized"})})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("MWJewelMessengerLink.react",["fbt","CometLink.react","TetraText.react","react"],(function(a,b,c,d,e,f,g,h){"use strict";var i=d("react");function a(a){var b=a.onClick;a=a.url;return i.jsx("div",{className:"xlsxne2 x1l90r2v x1i80of2","data-testid":void 0,children:i.jsx(c("TetraText.react"),{align:"center",color:"blueLink",type:"bodyLink3",children:i.jsx(c("CometLink.react"),{href:a,onClick:b,children:h._("__JHASH__oavSR1mxJiV__JHASH__")})})})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("XBizSuiteControllerRouteBuilder",["jsRouteBuilder"],(function(a,b,c,d,e,f,g){a=c("jsRouteBuilder")("/latest/{?*rest}",Object.freeze({auto_open_promote:!1,launch_notifications:!1,launch_onboarding:!1,partnership_messages:!1}),void 0);b=a;g["default"]=b}),98); __d("goURIOnWindow",["ConstUriUtils","FBLogger","err"],(function(a,b,c,d,e,f,g){"use strict";function a(a,b){var e=typeof b==="string"?d("ConstUriUtils").getUri(b):d("ConstUriUtils").isConstUri(b);if(e)a.location=e.toString();else{a="Invalid URI "+b.toString()+" provided to goURIOnWindow";c("FBLogger")("comet_infra").blameToPreviousFrame().mustfix(a)}}g["default"]=a}),98); __d("goUriOnNewWindow",["goURIOnWindow"],(function(a,b,c,d,e,f,g){"use strict";function a(a){var b=window.open("","_blank");c("goURIOnWindow")(b,a)}g["default"]=a}),98);