;/*FB_PKG_DELIM*/ __d("CometComposerLifeEventCategoryListQuery_facebookRelayOperation",[],(function(a,b,c,d,e,f){e.exports="4768477349947387"}),null); __d("CometComposerLifeEventCategoryListQuery$Parameters",["CometComposerLifeEventCategoryListQuery_facebookRelayOperation"],(function(a,b,c,d,e,f){"use strict";a={kind:"PreloadableConcreteRequest",params:{id:b("CometComposerLifeEventCategoryListQuery_facebookRelayOperation"),metadata:{},name:"CometComposerLifeEventCategoryListQuery",operationKind:"query",text:null}};e.exports=a}),null); __d("CometComposerLifeEventSubcategoryListQuery_facebookRelayOperation",[],(function(a,b,c,d,e,f){e.exports="5010123905741057"}),null); __d("CometComposerLifeEventSubcategoryListQuery$Parameters",["CometComposerLifeEventSubcategoryListQuery_facebookRelayOperation"],(function(a,b,c,d,e,f){"use strict";a={kind:"PreloadableConcreteRequest",params:{id:b("CometComposerLifeEventSubcategoryListQuery_facebookRelayOperation"),metadata:{},name:"CometComposerLifeEventSubcategoryListQuery",operationKind:"query",text:null}};e.exports=a}),null); __d("CometComposerSproutPromotionActionsEndPromotionMutation_facebookRelayOperation",[],(function(a,b,c,d,e,f){e.exports="4699225106842896"}),null); __d("CometComposerSproutPromotionActionsEndPromotionMutation.graphql",["CometComposerSproutPromotionActionsEndPromotionMutation_facebookRelayOperation"],(function(a,b,c,d,e,f){"use strict";a=function(){var a=[{defaultValue:null,kind:"LocalArgument",name:"input"}],c=[{alias:null,args:[{kind:"Variable",name:"data",variableName:"input"}],concreteType:"SproutPromotionEndResponsePayload",kind:"LinkedField",name:"sprout_promotion_end",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null}],storageKey:null}];return{fragment:{argumentDefinitions:a,kind:"Fragment",metadata:null,name:"CometComposerSproutPromotionActionsEndPromotionMutation",selections:c,type:"Mutation",abstractKey:null},kind:"Request",operation:{argumentDefinitions:a,kind:"Operation",name:"CometComposerSproutPromotionActionsEndPromotionMutation",selections:c},params:{id:b("CometComposerSproutPromotionActionsEndPromotionMutation_facebookRelayOperation"),metadata:{},name:"CometComposerSproutPromotionActionsEndPromotionMutation",operationKind:"mutation",text:null}}}();e.exports=a}),null); __d("useCometComposerWithTagFriendsDataSourceQuery_facebookRelayOperation",[],(function(a,b,c,d,e,f){e.exports="4936483286421335"}),null); __d("useCometComposerWithTagFriendsDataSourceQuery.graphql",["useCometComposerWithTagFriendsDataSourceQuery_facebookRelayOperation"],(function(a,b,c,d,e,f){"use strict";a=function(){var a=[{defaultValue:null,kind:"LocalArgument",name:"id"},{defaultValue:null,kind:"LocalArgument",name:"query"},{defaultValue:null,kind:"LocalArgument",name:"scale"}],c=[{kind:"Variable",name:"id",variableName:"id"}],d=[{kind:"Variable",name:"named",variableName:"query"}],e={alias:null,args:null,kind:"ScalarField",name:"name",storageKey:null},f={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},g={alias:"photo",args:[{kind:"Literal",name:"height",value:40},{kind:"Variable",name:"scale",variableName:"scale"},{kind:"Literal",name:"width",value:40}],concreteType:"Image",kind:"LinkedField",name:"profile_picture",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"uri",storageKey:null}],storageKey:null};return{fragment:{argumentDefinitions:a,kind:"Fragment",metadata:null,name:"useCometComposerWithTagFriendsDataSourceQuery",selections:[{alias:null,args:c,concreteType:"User",kind:"LinkedField",name:"user",plural:!1,selections:[{alias:null,args:d,concreteType:"FriendsConnection",kind:"LinkedField",name:"friends",plural:!1,selections:[{alias:null,args:null,concreteType:"FriendsEdge",kind:"LinkedField",name:"edges",plural:!0,selections:[{alias:null,args:null,concreteType:"User",kind:"LinkedField",name:"node",plural:!1,selections:[{kind:"InlineFragment",selections:[e,f,g],type:"Profile",abstractKey:"__isProfile"}],storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null}],type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:a,kind:"Operation",name:"useCometComposerWithTagFriendsDataSourceQuery",selections:[{alias:null,args:c,concreteType:"User",kind:"LinkedField",name:"user",plural:!1,selections:[{alias:null,args:d,concreteType:"FriendsConnection",kind:"LinkedField",name:"friends",plural:!1,selections:[{alias:null,args:null,concreteType:"FriendsEdge",kind:"LinkedField",name:"edges",plural:!0,selections:[{alias:null,args:null,concreteType:"User",kind:"LinkedField",name:"node",plural:!1,selections:[f,{kind:"InlineFragment",selections:[e,g],type:"Profile",abstractKey:"__isProfile"}],storageKey:null}],storageKey:null}],storageKey:null},f],storageKey:null}]},params:{id:b("useCometComposerWithTagFriendsDataSourceQuery_facebookRelayOperation"),metadata:{},name:"useCometComposerWithTagFriendsDataSourceQuery",operationKind:"query",text:null}}}();e.exports=a}),null); __d("useCometComposerWithTagSuggestionsDataSourceQuery_facebookRelayOperation",[],(function(a,b,c,d,e,f){e.exports="6054813421237857"}),null); __d("useCometComposerWithTagSuggestionsDataSourceQuery.graphql",["useCometComposerWithTagSuggestionsDataSourceQuery_facebookRelayOperation"],(function(a,b,c,d,e,f){"use strict";a=function(){var a=[{defaultValue:null,kind:"LocalArgument",name:"limit"},{defaultValue:null,kind:"LocalArgument",name:"scale"}],c=[{kind:"Variable",name:"first",variableName:"limit"}],d={alias:null,args:null,kind:"ScalarField",name:"name",storageKey:null},e={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},f={alias:"photo",args:[{kind:"Literal",name:"height",value:40},{kind:"Variable",name:"scale",variableName:"scale"},{kind:"Literal",name:"width",value:40}],concreteType:"Image",kind:"LinkedField",name:"profile_picture",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"uri",storageKey:null}],storageKey:null};return{fragment:{argumentDefinitions:a,kind:"Fragment",metadata:null,name:"useCometComposerWithTagSuggestionsDataSourceQuery",selections:[{alias:null,args:null,concreteType:"Viewer",kind:"LinkedField",name:"viewer",plural:!1,selections:[{alias:null,args:c,concreteType:"SuggestedWithTagsConnection",kind:"LinkedField",name:"suggested_with_tags",plural:!1,selections:[{alias:null,args:null,concreteType:"SuggestedWithTagsEdge",kind:"LinkedField",name:"edges",plural:!0,selections:[{alias:null,args:null,concreteType:"User",kind:"LinkedField",name:"node",plural:!1,selections:[{kind:"InlineFragment",selections:[d,e,f],type:"Profile",abstractKey:"__isProfile"}],storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null}],type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:a,kind:"Operation",name:"useCometComposerWithTagSuggestionsDataSourceQuery",selections:[{alias:null,args:null,concreteType:"Viewer",kind:"LinkedField",name:"viewer",plural:!1,selections:[{alias:null,args:c,concreteType:"SuggestedWithTagsConnection",kind:"LinkedField",name:"suggested_with_tags",plural:!1,selections:[{alias:null,args:null,concreteType:"SuggestedWithTagsEdge",kind:"LinkedField",name:"edges",plural:!0,selections:[{alias:null,args:null,concreteType:"User",kind:"LinkedField",name:"node",plural:!1,selections:[e,{kind:"InlineFragment",selections:[d,f],type:"Profile",abstractKey:"__isProfile"}],storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null}]},params:{id:b("useCometComposerWithTagSuggestionsDataSourceQuery_facebookRelayOperation"),metadata:{},name:"useCometComposerWithTagSuggestionsDataSourceQuery",operationKind:"query",text:null}}}();e.exports=a}),null); __d("CometComposerPushPageGlimmer.react",["CometComposerStylingConstants","CometProgressRingIndeterminate.react","react","stylex","withComposerViewStatePart"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j=i||d("react"),k={popover:{alignItems:"x6s0dn4",boxSizing:"x9f619",display:"x78zum5",height:"x1vd4hg5",justifyContent:"xl56j7k",width:"xlro9se",$$css:!0},pushview:{alignItems:"x6s0dn4",boxSizing:"x9f619",display:"x78zum5",justifyContent:"xl56j7k",width:"xh8yej3",$$css:!0}};function a(a){var b=a.composerDialogHeight,e=a.withPopover;a=a.xstyle;return j.jsx("div",{className:(h||(h=c("stylex")))(e&&k.popover,!e&&k.pushview,a),style:{minHeight:((e=b)!=null?e:d("CometComposerStylingConstants").COMPOSER_ORIGINAL_HEIGHT)-d("CometComposerStylingConstants").PUSH_PAGE_HEADER_HEIGHT},children:j.jsx(c("CometProgressRingIndeterminate.react"),{color:"disabled",size:24})})}a.displayName=a.name+" [from "+f.id+"]";b=c("withComposerViewStatePart")(a,function(a){return{composerDialogHeight:(a=a.composerSizeAndStyleMetadata)==null?void 0:a.composerDialogHeight}});g["default"]=b}),98); __d("CometComposerScheduleStrings",["fbt"],(function(a,b,c,d,e,f,g,h){"use strict";a=h._("__JHASH__UDNJV-g-EFR__JHASH__");b=h._("__JHASH__c6ITKLtvPfx__JHASH__");c=h._("__JHASH__f7fhhDJIicy__JHASH__");d=h._("__JHASH__0tLMhXMUSkx__JHASH__");g.COMPOSER_SUBMIT_CTA=a;g.COMPOSER_FOOTER_CTA=b;g.PAGE_TITLE=c;g.COMPOSER_PILL=d}),98); __d("CometComposerSproutButtonTooltip.react",["CometScreenReaderText.react","CometTooltip.react","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h||d("react");function a(a){var b=a.children,d=a.id,e=a.isVisible;a=a.text;return!e?b:i.jsxs(c("CometTooltip.react"),{position:"above",tooltip:a,children:[b,i.jsx(c("CometScreenReaderText.react"),{id:d,text:a})]})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("ComposerSproutDisplayTypeContext",["react"],(function(a,b,c,d,e,f,g){"use strict";var h;a=h||d("react");b=a.createContext({renderButtonCollapsed:!0,showLabelAsTooltip:!0,type:"inline"});g["default"]=b}),98); __d("CometComposerPromotionContext",["react"],(function(a,b,c,d,e,f,g){"use strict";var h;a=h||d("react");b=a.createContext({isSproutPromoted:!1,listContainsPromotion:!1});g["default"]=b}),98); __d("useSproutPromotionTooltip",["CometComposerPromotionContext","react","useCometPulseNUX"],(function(a,b,c,d,e,f,g){"use strict";var h;b=h||d("react");var i=b.useContext,j=b.useState,k={tooltipWidth:{width:"xdzyupr",$$css:!0}};function a(){var a,b,d=i(c("CometComposerPromotionContext")),e=j((d==null?void 0:d.isSproutPromoted)===!0),f=e[0],g=e[1];e={position:"above"};var h=d==null?void 0:d.promotionID;a=(a=d==null?void 0:d.subtitle)!=null?a:"";d=(d=d==null?void 0:d.helperTextLabel)!=null?d:"";a={arrowStyle:"inset",hasCloseButton:!0,label:a,position:"above",type:"accent",xstyle:k.tooltipWidth};var l={"aria-label":d,overlayDisabled:!1},m=h==null?void 0:h.toString();b=c("useCometPulseNUX")((b=m)!=null?b:"0",{calloutProps:a,contextualLayerProps:e,pulseProps:l},m!=null);a=b.dismissNux;e=b.targetRef;l=b.view;return d.trim().length===0||h==null?{dismissNux:a,hidePulse:function(){return g(!1)},isPulseVisible:!1,targetRef:e,view:l}:{dismissNux:a,hidePulse:function(){return g(!1)},isPulseVisible:f,targetRef:e,view:l}}g["default"]=a}),98); __d("FeedComposerCometSproutCollapsedButton.react",["CometContextualLayerAnchorRoot.react","CometPressable.react","CometPressableChildrenWithOverlay.react","CometTooltip.react","ComposerSproutDisplayTypeContext","ImageIconSource","TetraIcon.react","react","useSproutPromotionTooltip"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h||(h=d("react")),j=h.useContext,k={circle:{borderTopStartRadius:"x14yjl9h",borderTopEndRadius:"xudhj91",borderBottomEndRadius:"x18nykt9",borderBottomStartRadius:"xww2gxu",$$css:!0},icon:{alignItems:"x6s0dn4",display:"x78zum5",height:"xc9qbxq",justifyContent:"xl56j7k",position:"x1n2onr6",width:"x14qfxbe",$$css:!0},inner:{height:"x5yr21d",width:"xh8yej3",$$css:!0},outer:{height:"xc9qbxq",position:"x1n2onr6",width:"x14qfxbe",$$css:!0},pressable:{appearance:"xjyslct",backgroundColor:"xjbqb8w",borderTopStyle:"x13fuv20",borderEndStyle:"xu3j5b3",borderBottomStyle:"x1q0q8m5",borderStartStyle:"x26u7qi",borderTopWidth:"x972fbf",borderEndWidth:"xcfux6l",borderBottomWidth:"x1qhh985",borderStartWidth:"xm0m39n",boxSizing:"x9f619",marginTop:"xdj266r",marginEnd:"x11i5rnm",marginBottom:"xat24cr",marginStart:"x1mh8g0r",paddingTop:"xexx8yu",paddingEnd:"x4uap5",paddingBottom:"x18d9i69",paddingStart:"xkhd6sd",position:"x1n2onr6",textAlign:"x16tdsg8",zIndex:"x1ja2u2z",$$css:!0},pressed:{transform:"x1n5d1j9",$$css:!0}};function a(a,b){var d=a.activeColor,e=a.isActive,f=a.onFocusIn,g=a.onFocusOut,h=a.onHoverIn,l=a.overlayDisabled;l=l===void 0?!1:l;a=babelHelpers.objectWithoutPropertiesLoose(a,["activeColor","isActive","onFocusIn","onFocusOut","onHoverIn","overlayDisabled"]);var m=a["aria-describedby"],n=a.disabled,o=a.icon,p=a.label,q=a.onHoverOut,r=a.onPress;a=a.testid;var s=i.jsx(c("TetraIcon.react"),{color:"disabled",icon:new(c("ImageIconSource"))(o,24,24),ref:b});o=(a=c("useSproutPromotionTooltip")())!=null?a:{};var t=o.hidePulse,u=o.isPulseVisible,v=o.targetRef,w=o.view;a=function(a){t(),r&&r(a)};o=j(c("ComposerSproutDisplayTypeContext"));m=i.jsx(c("CometPressable.react"),{"aria-describedby":m,"aria-label":p,disabled:n,label:p,onFocusIn:f,onFocusOut:g,onHoverIn:h,onHoverOut:q,onPress:n===!0?void 0:a,overlayDisabled:n===!0||l,ref:b,testid:void 0,xstyle:function(a){a=a.pressed;return[k.pressable,a&&n!==!0&&k.pressed]},children:function(a){a=a.overlay;return i.jsx("div",{children:i.jsx(c("CometContextualLayerAnchorRoot.react"),{children:i.jsxs("div",{ref:v,children:[i.jsx("div",{className:"xc9qbxq x1n2onr6 x14qfxbe x14yjl9h xudhj91 x18nykt9 xww2gxu",children:i.jsx(c("CometPressableChildrenWithOverlay.react"),{overlay:a,children:i.jsx("div",{className:"x6s0dn4 x78zum5 xl56j7k x1n2onr6 x5yr21d xh8yej3",children:s})})}),u&&n!==!0&&!e&&w]})})})}});n===!1&&o.showLabelAsTooltip&&(m=i.jsx(c("CometTooltip.react"),{position:"above",tooltip:p,children:m}));e&&(m=i.jsx("div",{className:"xc9qbxq x1n2onr6 x14qfxbe x14yjl9h xudhj91 x18nykt9 xww2gxu",ref:b,style:{backgroundColor:d},children:m}));return m}a.displayName=a.name+" [from "+f.id+"]";b=i.forwardRef(a);g["default"]=b}),98); __d("FeedComposerCometSproutExpandedButton.react",["ix","CometComposerPromotionContext","CometTooltip.react","ComposerSproutDisplayTypeContext","ImageIconSource","JSResourceForInteraction","TetraAccessoryListCell.react","fbicon","lazyLoadComponent","react"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j=i||(i=d("react"));b=i;var k=b.useContext,l=b.useState,m=c("lazyLoadComponent")(c("JSResourceForInteraction")("FeedComposerCometSproutExpandedPromotedLabel.react").__setRef("FeedComposerCometSproutExpandedButton.react"));function a(a){var b,e=k(c("ComposerSproutDisplayTypeContext")),f=k(c("CometComposerPromotionContext"));b=(b=f==null?void 0:f.isSproutPromoted)!=null?b:!1;var g=l(!1),i=g[0],n=g[1];if(e.type!=="push_view"&&e.type!=="wing_expanded")return null;g=a["aria-describedby"];var o=a.disabled,p=a.icon,q=a.isActive,r=a.label,s=a.onClick,t=a.opensExternally;t=t===void 0?!1:t;a=a.testid;a=null;var u=r,v=4;b&&(a=f==null?void 0:f.subtitle,u=j.jsx(m,{label:r}),v=0);b=j.jsx(c("TetraAccessoryListCell.react"),{addOnPrimary:{icon:new(c("ImageIconSource"))(p,24,24),type:"icon"},addOnPrimaryVerticalAlign:"center",addOnSecondary:q===!0?{color:"highlight",icon:d("fbicon")._(h("477815"),24),type:"icon"}:t&&i?{color:"tertiary",icon:d("fbicon")._(h("538182"),16),type:"icon"}:void 0,body:a,describedby:g,disabled:o,emphasized:!0,headline:u,headlineLineLimit:e.forceSingleLineLabel===!0?1:void 0,onHoverIn:function(){return n(!0)},onHoverOut:function(){return n(!1)},onPress:function(){e.popPage&&e.popPage(),s&&s()},paddingHorizontal:v,selected:q===!0,testid:void 0});o===!1&&e.showLabelAsTooltip&&(b=j.jsx(c("CometTooltip.react"),{position:"above",tooltip:r,children:b}));return j.jsx("div",{"data-testid":void 0,children:b})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("CometComposerSproutPromotionActions",["CometComposerSproutPromotionActionsEndPromotionMutation.graphql","CometRelay","recoverableViolation"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h!==void 0?h:h=b("CometComposerSproutPromotionActionsEndPromotionMutation.graphql");function a(a){var b=a.environment,e=a.input,f=a.onCompleted,g=a.onError;d("CometRelay").commitMutation(b,{mutation:i,onCompleted:f,onError:function(a){c("recoverableViolation")("Unable to end sprout promotion","comet_composer"),g&&g()},variables:{input:e}})}g.endPromotion=a}),98); __d("CometComposerSproutVisibilitiesContext",["emptyFunction","react"],(function(a,b,c,d,e,f,g){"use strict";var h;a=h||d("react");b=a.createContext({onRender:c("emptyFunction"),onVisible:c("emptyFunction")});g["default"]=b}),98); __d("ComposerFeatureIntentLoggingDispatcher",[],(function(a,b,c,d,e,f){"use strict";function a(a,b){return{featureType:a,source:b}}f["default"]=a}),66); __d("getActiveAttachmentFeatureDefinition",[],(function(a,b,c,d,e,f){"use strict";function a(a,b){return a.find(function(a){return(a.featureType==="ATTACHMENT"||a.featureType==="READ_ONLY_ATTACHMENT")&&a.attachmentType===b})}f["default"]=a}),66); __d("getTaggerFeatureDefinitionByName",[],(function(a,b,c,d,e,f){"use strict";function a(a,b){return a.find(function(a){return a.featureType==="TAGGER"&&a.taggerType===b})}f["default"]=a}),66); __d("getFeatureDefinition",["CometComposerAttachmentPluginTypes","CometComposerTaggerPluginTypes","getActiveAttachmentFeatureDefinition","getTaggerFeatureDefinitionByName"],(function(a,b,c,d,e,f,g){"use strict";function a(a,b){var d=a.attachments,e=Object.keys(c("CometComposerAttachmentPluginTypes")).find(function(a){return a===b});d=e!=null?c("getActiveAttachmentFeatureDefinition")((d=d)!=null?d:[],e):null;e=Object.keys(c("CometComposerTaggerPluginTypes")).find(function(a){return a===b});a=e!=null?c("getTaggerFeatureDefinitionByName")((a=a.taggers)!=null?a:[],e):null;return{attachmentData:d,taggerData:a}}g["default"]=a}),98); __d("useCometComposerFeatureDefinitions",["CometComposerFeatureDefinitionsContext","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i=(h||d("react")).useContext;function a(){return i(c("CometComposerFeatureDefinitionsContext")).featureDefinitions}g["default"]=a}),98); __d("useFeatureDefinitionMissingErrorHandler",["CometComposerAttachmentPluginTypes","FBLogger","emptyFunction","getFeatureDefinition","useCometComposerFeatureDefinitions"],(function(a,b,c,d,e,f,g){"use strict";var h="https://www.internalfb.com/intern/wiki/Building_with_Comet_Composer/Building_on_Top_of_Composer/Adding_a_Sprout/Attachment_Feature_Definitions/";function a(a,b){var d=c("useCometComposerFeatureDefinitions")();return a!==!0||d==null?c("emptyFunction"):function(){var a=Object.keys(c("CometComposerAttachmentPluginTypes")).find(function(a){return a===String(b)});if(a!=null){a=c("getFeatureDefinition")(d,a);a==null&&c("FBLogger")("comet_composer").mustfix("Missing feature definition for attachment sprout %s\nPlease see this guide for more details %s",String(b),h)}}}g["default"]=a}),98); __d("CometComposerSproutButtonInternal.react",["fbt","CometComposerPromotionContext","CometComposerSproutButtonTooltip.react","CometComposerSproutPromotionActions","CometComposerSproutVisibilitiesContext","ComposerFeatureIntentLoggingDispatcher","ComposerSproutDisplayTypeContext","FeedComposerCometSproutCollapsedButton.react","FeedComposerCometSproutExpandedButton.react","RelayHooks","react","stylex","useCometComposerLoggerDispatcher","useComposerFeatureIneligibility","useFeatureDefinitionMissingErrorHandler","usePartialViewImpression","withComposerViewStatePart"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j,k=j||(j=d("react"));b=j;var l=b.useCallback,m=b.useContext,n=b.useEffect,o=b.useId,p=b.useRef,q={disabled:{cursor:"x1sqbtui",filter:"x3q8yk8",opacity:"x197sbye",$$css:!0},expanded:{flexBasis:"x4pfjvb",marginBottom:"x12nagc",marginTop:"x1gslohp",paddingEnd:"xi32u7y",paddingLeft:null,paddingRight:null,paddingStart:"x1pe1cjp",$$css:!0},expandedAndPromoted:{backgroundColor:"x1wpzbip",borderTopStartRadius:"x1lq5wgf",borderTopEndRadius:"xgqcy7u",borderBottomEndRadius:"x30kzoy",borderBottomStartRadius:"x9jhf4c",flexBasis:"x1l7klhg",marginEnd:"xw3qccf",marginLeft:null,marginRight:null,marginStart:"xsgj6o6",paddingEnd:"x4uap5",paddingLeft:null,paddingRight:null,paddingStart:"xkhd6sd",$$css:!0}};function a(a,b){var e,f=d("RelayHooks").useRelayEnvironment(),g=a.activeColor,j=a.disabled;j=j===void 0?!1:j;var r=a.disabledTooltip,s=a.icon,t=a.isActive;t=t===void 0?!1:t;var u=a.label,v=a.onClick,w=a.opensExternally,x=a.pluginName,y=a.sproutName,z=a.testid;z=a.useFeatureDefinitions;a=babelHelpers.objectWithoutPropertiesLoose(a,["activeColor","disabled","disabledTooltip","icon","isActive","label","onClick","opensExternally","pluginName","sproutName","testid","useFeatureDefinitions"]);var A=c("useComposerFeatureIneligibility")();A=A.has(x)||j;j=m(c("ComposerSproutDisplayTypeContext"));j=j.renderButtonCollapsed;var B=p(!1),C=c("useCometComposerLoggerDispatcher")(),D=m(c("CometComposerPromotionContext")),E=(e=D==null?void 0:D.isSproutPromoted)!=null?e:!1,F=(D=D==null?void 0:(e=D.promotionID)==null?void 0:e.toString())!=null?D:"",G=c("useFeatureDefinitionMissingErrorHandler")(z,x);e=function(){if(E){var a={promotion_id:F};d("CometComposerSproutPromotionActions").endPromotion({environment:f,input:a})}a=c("ComposerFeatureIntentLoggingDispatcher")(y,"inline_sprouts");C({fields:a,type:"COMPOSER_FEATURE_INTENT"});G();v&&v()};D=m(c("CometComposerSproutVisibilitiesContext"));var H=D.onRender,I=D.onVisible;n(function(){!B.current&&H!=null&&(H(y),B.current=!0)},[H,y]);z=l(function(){I!=null&&I(y)},[y,I]);x=c("usePartialViewImpression")({onImpressionStart:z});D=o();z=j?k.jsx(c("FeedComposerCometSproutCollapsedButton.react"),babelHelpers["extends"]({},a,{activeColor:g,"aria-describedby":A?D:void 0,disabled:A,icon:s,isActive:t,label:u,onPress:e,ref:b,testid:void 0})):k.jsx(c("FeedComposerCometSproutExpandedButton.react"),{"aria-describedby":A?D:void 0,disabled:A,icon:s,isActive:t,label:u,onClick:e,opensExternally:w,testid:void 0});g=(a=r)!=null?a:h._("__JHASH__g2sisVIjb2l__JHASH__");return k.jsx("div",{className:(i||(i=c("stylex")))(!j&&q.expanded,!j&&E&&q.expandedAndPromoted,A&&q.disabled),"data-testid":void 0,ref:x,children:k.jsx(c("CometComposerSproutButtonTooltip.react"),{id:D,isVisible:A,text:g,children:z})})}a.displayName=a.name+" [from "+f.id+"]";e=c("withComposerViewStatePart")(k.forwardRef(a),function(a){return{useFeatureDefinitions:(a=(a=a.featureDefinitionsGating)==null?void 0:a.areAttachmentFeaturesSupported)!=null?a:!1}});g["default"]=e}),98); __d("addTagsToWithTagsIDsTracker",[],(function(a,b,c,d,e,f){"use strict";function a(a,b,c){var d=new Map(c);b.forEach(function(b){var c;c=(c=d.get(b))!=null?c:{isDisplayedInSocialSentence:!0,withTagSourceIDs:[]};var e=c.isDisplayedInSocialSentence;c=c.withTagSourceIDs;c.includes(a)||c.push(a);d.set(b,{isDisplayedInSocialSentence:e,withTagSourceIDs:c})});return d}f["default"]=a}),66); __d("CometAlbumMediaItemOrderType",["$InternalEnum"],(function(a,b,c,d,e,f){"use strict";a=b("$InternalEnum").Mirrored(["ASCENDING","DESCENDING","DEFAULT"]);f.MediaAttachmentOrderType=a}),66); __d("addMediaUploadStatuses",["Promise"],(function(a,b,c,d,e,f){"use strict";var g;function a(a,c){return a.reduce(function(a,c){if(c.file==null)return a;var d=c.file.uploadID;if(d==null)return a;if(a[d]!=null)return a;var e=null,f=new(g||(g=b("Promise")))(function(a){e=a}),h=null,i=new g(function(a){h=a});e&&h&&(c.fileType==="PHOTO"||c.fileType==="VIDEO")&&(a[d]={cancelUpload:h,onFileComplete:f,onUploadCancel:i,resolveFileUpload:e});return a},c)}f.addMediaUploadStatuses=a}),66); __d("convertVideoToPhoto",[],(function(a,b,c,d,e,f){"use strict";function a(a){var b=a.data.id;a.trimData;a.videoAttachmentMetadata;a=babelHelpers.objectWithoutPropertiesLoose(a,["trimData","videoAttachmentMetadata"]);if(b==null)return null;switch(a.state){case"NEW":return babelHelpers["extends"]({},a,{data:{id:b},fileType:"PHOTO"});case"CLIENT_PROCESSING_COMPLETE":return babelHelpers["extends"]({},a,{data:{id:b},fileType:"PHOTO"});case"CLIENT_PROCESSING":return babelHelpers["extends"]({},a,{data:{id:b},fileType:"PHOTO"});case"QUEUED":return babelHelpers["extends"]({},a,{data:{id:b},fileType:"PHOTO"});case"FAILED":return babelHelpers["extends"]({},a,{data:{id:b},fileType:"PHOTO"})}}f["default"]=a}),66); __d("getIDFromMediaAttachment",[],(function(a,b,c,d,e,f){"use strict";function a(a){switch(a.state){case"PREEXISTING":return a.data.id;case"OPTIMISTIC_UPLOADED":return a.uploadID;default:return a.file.uploadID}}f["default"]=a}),66); __d("getMediaAttachmentDateNumber",[],(function(a,b,c,d,e,f){"use strict";function a(a){return a.state==="UPLOADED"?a.takenTime!=null?a.takenTime:a.file.lastModified:0}f["default"]=a}),66); __d("processNewMediaAttachments",["cometIsMimeTypeForMedia","cometUniqueID"],(function(a,b,c,d,e,f,g){"use strict";function a(a,b){return((a=a)!=null?a:[]).map(function(a){if(a==null)return null;var c=a.uploadID;c=c!=null&&b!=null?b[c]:void 0;return h(a,c)}).filter(Boolean)}function h(a,b){var e;e=(e=a.uploadID)!=null?e:c("cometUniqueID")();a.uploadID=e;var f=URL.createObjectURL(a);if(d("cometIsMimeTypeForMedia").isMimeTypeForPhoto(a.type)){var g=(b==null?void 0:b.type)==="PHOTO"?b==null?void 0:b.data:void 0;return babelHelpers["extends"]({data:{id:e},file:a,fileObjectURL:f,fileType:"PHOTO",state:"NEW"},g)}else if(d("cometIsMimeTypeForMedia").isMimeTypeForVideo(a.type)){g=(b==null?void 0:b.type)==="VIDEO"?b==null?void 0:b.data:void 0;return babelHelpers["extends"]({data:{id:e},file:a,fileObjectURL:f,fileType:"VIDEO",state:"NEW"},g)}else return{data:{id:e},file:a,fileObjectURL:f,fileType:"UNKNOWN",state:"NEW"}}g.processNewMediaAttachments=a;g.getNewMediaAttachment=h}),98); __d("removeMediaUploadStatuses",["getIDFromMediaAttachment"],(function(a,b,c,d,e,f,g){"use strict";function a(a,b){var d={},e=function(e){a.some(function(a){return e===c("getIDFromMediaAttachment")(a)})||(d[e]=b[e])};for(var f in b)e(f);return d}g["default"]=a}),98); __d("removeTagsFromMedia",[],(function(a,b,c,d,e,f){"use strict";function a(a,b){var c=new Map(b),d=a.data.id;if(d==null)return c;b=((a==null?void 0:a.fileType)==="PHOTO"||(a==null?void 0:a.fileType)==="VIDEO")&&a.data.tags!=null?[].concat(a.data.tags).filter(Boolean):[];a=b.reduce(function(a,b){b.taggee.id!=null&&b.taggee.taggee_type!=="PRODUCT_ITEM"&&a.push(b.taggee.id);return a},[]);a.forEach(function(a){var b=c.get(a);if(b!=null){b={isDisplayedInSocialSentence:b.isDisplayedInSocialSentence,withTagSourceIDs:b.withTagSourceIDs.filter(function(a){return a!==d})};b.withTagSourceIDs.length===0?c["delete"](a):c.set(a,b)}});return c}f["default"]=a}),66); __d("rotatePhotoAttachmentTags",[],(function(a,b,c,d,e,f){"use strict";var g=100;function h(a){if(a==null)return a;var b=a.x,c=a.y;return babelHelpers["extends"]({},a,{x:c,y:g-b})}function i(a){if(a==null)return a;var b=a.x,c=a.y;return babelHelpers["extends"]({},a,{x:g-c,y:b})}function a(a,b){switch(b){case"LEFT":return a.map(h);case"RIGHT":return a.map(i);default:return a}}f["default"]=a}),66); __d("updateMediaUploadStatuses",["getIDFromMediaAttachment"],(function(a,b,c,d,e,f,g){"use strict";function a(a,b){return a.reduce(function(a,d){d=c("getIDFromMediaAttachment")(d);d!=null&&b!=null&&(a[d]=b[d]);return a},{})}g["default"]=a}),98); __d("composerMediaAttachmentReducer",["CometAlbumMediaItemOrderType","CometComposerAttachmentPluginTypes","CometComposerFooterAttachmentPluginTypes","Promise","addMediaUploadStatuses","addTagsToWithTagsIDsTracker","composerAttachmentAreaReducer","convertVideoToPhoto","getIDFromMediaAttachment","getMediaAttachmentDateNumber","gkx","killswitch","processNewMediaAttachments","removeMediaUploadStatuses","removeTagsFromMedia","rotatePhotoAttachmentTags","unrecoverableViolation","updateMediaUploadStatuses"],(function(a,b,c,d,e,f,g){"use strict";var h;function i(a,b){var c=b.allExtraData;b=b.files;b=d("processNewMediaAttachments").processNewMediaAttachments(b,c);c=(a.mediaAttachments||[]).concat(b);return babelHelpers["extends"]({},a,{mediaAttachments:c,mediaUploadStatuses:d("addMediaUploadStatuses").addMediaUploadStatuses(b,babelHelpers["extends"]({},a.mediaUploadStatuses))})}function j(a,b){var c=b.allExtraData;b=b.files;b=d("processNewMediaAttachments").processNewMediaAttachments(b,c);return babelHelpers["extends"]({},a,{mediaAttachments:b,mediaUploadStatuses:d("addMediaUploadStatuses").addMediaUploadStatuses(b,{})})}function k(a,b){if(!a.mediaAttachments)return babelHelpers["extends"]({},a);var c=a.mediaAttachments.map(function(a){if(b.retryAttachments.has(a)&&a.file)return d("processNewMediaAttachments").getNewMediaAttachment(a.file);else return a});return babelHelpers["extends"]({},a,{mediaAttachments:c})}function l(a,c){var d,e=a.mediaAttachments||[];c=c.photo;var f={data:{id:c.id,message:null,tags:[]},entID:c.id,fileType:"PHOTO",height:c.height,state:"PREEXISTING",url:c.url,useCDNPreview:!0,width:c.width};e=[].concat(e,[f]);f=babelHelpers["extends"]({},a.mediaUploadStatuses);Object.assign(f,(d={},d[c.id]={onFileComplete:(h||(h=b("Promise"))).resolve({attachmentID:c.id,attachmentType:"PHOTO"}),resolveFileUpload:function(){}},d));return babelHelpers["extends"]({},a,{mediaAttachments:e,mediaUploadStatuses:f})}function m(a,c){var d,e=a.mediaAttachments||[];c=c.video;var f=c.thumbnail;d=babelHelpers["extends"]({data:{id:c.id,title:c.title},entID:c.id,fileType:"VIDEO",imageURL:(d=f==null?void 0:f.url)!=null?d:"",state:"PREEXISTING",useCDNPreview:!0},f!=null?{height:f.height,width:f.width}:{usePlaceHolderPreview:!0});f=[].concat(e,[d]);e=babelHelpers["extends"]({},a.mediaUploadStatuses);Object.assign(e,(d={},d[c.id]={onFileComplete:(h||(h=b("Promise"))).resolve({attachmentID:c.id,attachmentType:"VIDEO"}),resolveFileUpload:function(){}},d));return babelHelpers["extends"]({},a,{mediaAttachments:f,mediaUploadStatuses:e})}function n(a,b){if(a.mediaAttachments==null)return a;else{var d=a.mediaAttachments.filter(function(a){if(c("getIDFromMediaAttachment")(b.attachment)===c("getIDFromMediaAttachment")(a)){a.fileObjectURL!=null&&URL.revokeObjectURL(a.fileObjectURL);return!1}else return!0}),e=c("removeTagsFromMedia")(b.attachment,new Map(a.withTagIDsTracker));return d.length>0||a.isMediaAttachmentsRequired===!0?babelHelpers["extends"]({},a,{mediaAttachments:d,mediaUploadStatuses:c("removeMediaUploadStatuses")([b.attachment],babelHelpers["extends"]({},a.mediaUploadStatuses)),withTagIDsTracker:e}):babelHelpers["extends"]({},a,{attachmentArea:void 0,mediaAttachments:void 0,mediaUploadStatuses:void 0})}}function o(a,b){return(a.mediaAttachments||[]).length>0?p(a,b,!0):babelHelpers["extends"]({},a,{attachmentArea:babelHelpers["extends"]({},a.attachmentArea,{activeAttachmentType:void 0,previousAttachmentType:c("CometComposerAttachmentPluginTypes").GET_MESSAGES}),isGetMessagesPost:null})}function p(a,b,e){e===void 0&&(e=!1);if(!e&&([c("CometComposerAttachmentPluginTypes").GET_MESSAGES].includes((b=a.attachmentArea)==null?void 0:b.activeAttachmentType)||[d("CometComposerFooterAttachmentPluginTypes").CometComposerFooterAttachmentPluginTypes.GET_WHATSAPP_MESSAGES].includes((b=a.footerAttachmentArea)==null?void 0:b.activeFooterAttachmentType)||[d("CometComposerFooterAttachmentPluginTypes").CometComposerFooterAttachmentPluginTypes.GET_MESSAGES].includes((b=a.footerAttachmentArea)==null?void 0:b.activeFooterAttachmentType)))return a;if(!e&&[c("CometComposerAttachmentPluginTypes").GET_MESSAGES].includes((b=a.attachmentArea)==null?void 0:b.previousAttachmentType))return a;var f=new Map(a.withTagIDsTracker);((e=a.mediaAttachments)!=null?e:[]).forEach(function(a){f=c("removeTagsFromMedia")(a,f)});(a.mediaAttachments||[]).forEach(function(b){b.fileObjectURL!=null&&URL.revokeObjectURL(b.fileObjectURL);if(b.state!=="PREEXISTING"&&b.fileType==="VIDEO"&&a.mediaUploadStatuses!=null){var c;c=(c=b.file.uploadID)!=null?c:"";if(c!==""){var d=a.mediaUploadStatuses[c];d&&d.cancelUpload({attachmentID:c,attachmentType:b.fileType})}}});return babelHelpers["extends"]({},a,{animatedImageAttachments:void 0,mediaAttachments:void 0,mediaUploadStatuses:void 0,withTagIDsTracker:f})}function q(a,b){var c=a.mediaAttachments;if(c==null)return a;else return babelHelpers["extends"]({},a,{mediaAttachments:c.map(function(a){if(a.state==="NEW"&&b.uploadIDs.includes(a.file.uploadID))switch(a.fileType){case"PHOTO":return{data:a.data,file:a.file,fileObjectURL:a.fileObjectURL,fileType:"PHOTO",replaceMediaItemUploadID:a.replaceMediaItemUploadID,sphericalEncoding:a.sphericalEncoding,state:"CLIENT_PROCESSING",useCDNPreview:a.useCDNPreview};case"VIDEO":return{data:a.data,file:a.file,fileObjectURL:a.fileObjectURL,fileType:"VIDEO",replaceMediaItemUploadID:a.replaceMediaItemUploadID,state:"CLIENT_PROCESSING",trimData:a.trimData,useCDNPreview:a.useCDNPreview};case"FILE":return{data:a.data,file:a.file,fileObjectURL:a.fileObjectURL,fileType:"FILE",state:"CLIENT_PROCESSING"};case"UNKNOWN":return{data:a.data,file:a.file,fileObjectURL:a.fileObjectURL,fileType:"UNKNOWN",state:"CLIENT_PROCESSING"}}else return a}).filter(Boolean)})}function r(a,b){var c=a.mediaAttachments;if(c==null)return a;else return babelHelpers["extends"]({},a,{mediaAttachments:c.map(function(a){if(a.file&&a.fileType==="UNKNOWN"&&b.uploadIDs.includes(a.file.uploadID))switch(a.state){case"NEW":return babelHelpers["extends"]({},a,{data:{id:a.data.id},fileType:"PHOTO"});case"CLIENT_PROCESSING_COMPLETE":return babelHelpers["extends"]({},a,{data:{id:a.data.id},fileType:"PHOTO"});case"CLIENT_PROCESSING":case"QUEUED":case"UPLOADING":case"UPLOADED":case"FAILED":return babelHelpers["extends"]({},a,{data:{id:a.data.id},fileType:"PHOTO"})}return a})})}function s(a,b){b=a.mediaAttachments;if(b==null)return a;else return babelHelpers["extends"]({},a,{mediaAttachments:b.map(function(a){if(a.state==="UPLOADED")switch(a.fileType){case"PHOTO":return babelHelpers["extends"]({},a,{partOfCompleteBatch:!0});case"VIDEO":return babelHelpers["extends"]({},a,{partOfCompleteBatch:!0});case"FILE":return babelHelpers["extends"]({},a,{partOfCompleteBatch:!0})}return a})})}function t(a,b){var d=a.mediaAttachments;if(d==null)return a;else return babelHelpers["extends"]({},a,{mediaAttachments:d.map(function(a){if(a.file&&a.fileType==="VIDEO"&&b.uploadIDs.includes(a.file.uploadID)){var d;return(d=c("convertVideoToPhoto")(a))!=null?d:a}return a})})}function u(a,b){var c=a.mediaAttachments;if(c==null)return a;else return babelHelpers["extends"]({},a,{mediaAttachments:c.map(function(a){if(a.file&&a.fileType==="UNKNOWN"&&b.uploadIDs.includes(a.file.uploadID))switch(a.state){case"NEW":return babelHelpers["extends"]({},a,{data:{id:a.data.id},fileType:"VIDEO"});case"CLIENT_PROCESSING_COMPLETE":return babelHelpers["extends"]({},a,{data:{id:a.data.id},fileType:"VIDEO"});case"CLIENT_PROCESSING":case"QUEUED":case"UPLOADING":case"UPLOADED":case"FAILED":return babelHelpers["extends"]({},a,{data:{id:a.data.id},fileType:"VIDEO"})}return a})})}function v(a,b){var c=a.mediaAttachments;if(c==null)return a;else return babelHelpers["extends"]({},a,{mediaAttachments:c.map(function(a){if((a.state==="NEW"||a.state==="CLIENT_PROCESSING")&&b.uploadIDs.includes(a.file.uploadID))switch(a.fileType){case"PHOTO":return{data:a.data,file:a.file,fileObjectURL:a.fileObjectURL,fileType:"PHOTO",height:a.height,replaceMediaItemUploadID:a.replaceMediaItemUploadID,sphericalEncoding:a.sphericalEncoding,state:"CLIENT_PROCESSING_COMPLETE",useCDNPreview:a.useCDNPreview,width:a.width};case"VIDEO":return{data:a.data,file:a.file,fileObjectURL:a.fileObjectURL,fileType:"VIDEO",height:a.height,replaceMediaItemUploadID:a.replaceMediaItemUploadID,state:"CLIENT_PROCESSING_COMPLETE",trimData:a.trimData,useCDNPreview:a.useCDNPreview,videoAttachmentMetadata:a.videoAttachmentMetadata,width:a.width};case"FILE":return{data:a.data,file:a.file,fileObjectURL:a.fileObjectURL,fileType:"FILE",state:"CLIENT_PROCESSING_COMPLETE"};case"UNKNOWN":return{data:a.data,file:a.file,fileObjectURL:a.fileObjectURL,fileType:"UNKNOWN",state:"CLIENT_PROCESSING_COMPLETE"}}else return a}).filter(Boolean)})}function w(a,b){var c=a.mediaAttachments;if(c==null)return a;else return babelHelpers["extends"]({},a,{mediaAttachments:c.map(function(a){if(a.state==="CLIENT_PROCESSING_COMPLETE"&&b.uploadIDs.includes(a.file.uploadID))switch(a.fileType){case"PHOTO":return{data:a.data,file:a.file,fileObjectURL:a.fileObjectURL,fileType:"PHOTO",height:a.height,replaceMediaItemUploadID:a.replaceMediaItemUploadID,sphericalEncoding:a.sphericalEncoding,state:"QUEUED",useCDNPreview:a.useCDNPreview,width:a.width};case"VIDEO":return{data:a.data,file:a.file,fileObjectURL:a.fileObjectURL,fileType:"VIDEO",height:a.height,replaceMediaItemUploadID:a.replaceMediaItemUploadID,state:"QUEUED",trimData:a.trimData,videoAttachmentMetadata:a.videoAttachmentMetadata,width:a.width};default:return{data:a.data,file:a.file,fileType:"FILE",state:"QUEUED"}}else return a}),mediaUploadStatuses:d("addMediaUploadStatuses").addMediaUploadStatuses(c.filter(function(a){return a.file!=null&&b.uploadIDs.includes(a.file.uploadID)}),babelHelpers["extends"]({},a.mediaUploadStatuses))})}function x(a,b){if(a.mediaAttachments==null)return a;else return babelHelpers["extends"]({},a,{mediaAttachments:a.mediaAttachments.map(function(a){if(a.state!=="CLIENT_PROCESSING"&&a.state!=="UPLOADING"&&a.state!=="UPLOADED"&&a.state!=="PREEXISTING"&&a.file.uploadID===b.uploadID)switch(a.fileType){case"PHOTO":return{data:a.data,file:a.file,fileObjectURL:a.fileObjectURL,fileType:"PHOTO",height:a.height,percentComplete:0,replaceMediaItemUploadID:a.replaceMediaItemUploadID,sphericalEncoding:a.sphericalEncoding,state:"UPLOADING",useCDNPreview:a.useCDNPreview,width:a.width};case"VIDEO":return{data:a.data,file:a.file,fileObjectURL:a.fileObjectURL,fileType:"VIDEO",height:a.height,percentComplete:0,replaceMediaItemUploadID:a.replaceMediaItemUploadID,state:"UPLOADING",trimData:a.trimData,videoAttachmentMetadata:a.videoAttachmentMetadata,width:a.width};default:return{data:a.data,file:a.file,fileType:"FILE",percentComplete:0,state:"UPLOADING"}}else return a})})}function y(a,b){if(a.mediaAttachments==null)return a;else return babelHelpers["extends"]({},a,{mediaAttachments:a.mediaAttachments.map(function(a){if(a.state==="UPLOADING"&&a.file.uploadID===b.uploadID)switch(a.fileType){case"PHOTO":return babelHelpers["extends"]({},a,{fileType:"PHOTO",percentComplete:b.percentComplete});case"VIDEO":return babelHelpers["extends"]({},a,{entID:b.entID,fileType:"VIDEO",percentComplete:b.percentComplete});default:return babelHelpers["extends"]({},a,{fileType:"FILE",percentComplete:b.percentComplete})}else return a})})}function z(a,b){if(a.mediaAttachments==null)return a;else{var d,e=a.mediaAttachments.map(function(a){if(a.state!=="CLIENT_PROCESSING"&&a.state!=="CLIENT_PROCESSING_COMPLETE"&&a.state!=="UPLOADED"&&a.state!=="PREEXISTING"&&a.file.uploadID===b.uploadID)switch(a.fileType){case"PHOTO":var e={data:babelHelpers["extends"]({},a.data,{id:b.entID}),entID:b.entID,file:a.file,fileObjectURL:a.fileObjectURL,fileType:"PHOTO",height:a.height,replaceMediaItemUploadID:a.replaceMediaItemUploadID,sphericalEncoding:a.sphericalEncoding,state:"UPLOADED",takenTime:b.takenTime,uploadedImageURL:b.imageURL,useCDNPreview:a.useCDNPreview,width:a.width};a.replaceMediaItemUploadID!=null&&(d=e);return e;case"VIDEO":e={};!c("gkx")("7178")&&c("gkx")("1224637")&&c("gkx")("5671")&&(e.closed_caption_settings={autogenerate_captions_on_upload:!0,should_review_all_captions:!1});e={data:babelHelpers["extends"]({},e,a.data,{id:b.entID}),entID:b.entID,file:a.file,fileObjectURL:a.fileObjectURL,fileType:"VIDEO",height:a.height,replaceMediaItemUploadID:a.replaceMediaItemUploadID,state:"UPLOADED",trimData:a.trimData,useCDNPreview:a.useCDNPreview,videoAttachmentMetadata:a.videoAttachmentMetadata||{},width:a.width};a.replaceMediaItemUploadID!=null&&(d=e);return e;default:return{data:{id:b.entID},entID:b.entID,file:a.file,fileType:"FILE",state:"UPLOADED"}}else return a}),f;d!=null&&(e=e.map(function(a){var b;if(((b=a.file)==null?void 0:b.uploadID)===d.replaceMediaItemUploadID){b=d;b.replaceMediaItemUploadID;b=babelHelpers.objectWithoutPropertiesLoose(b,["replaceMediaItemUploadID"]);return b}return((b=a.file)==null?void 0:b.uploadID)===d.file.uploadID?null:a}).filter(Boolean),f=c("updateMediaUploadStatuses")(e,a.mediaUploadStatuses));return babelHelpers["extends"]({},a,{mediaAttachments:e,mediaUploadStatuses:f!=null?f:a.mediaUploadStatuses})}}function A(a,b){var c=a.mediaAttachments;if(c==null)return a;else return babelHelpers["extends"]({},a,{mediaAttachments:c.map(function(a){if(a.state!=="PREEXISTING"&&a.file.uploadID===b.uploadID)switch(a.fileType){case"PHOTO":return{data:{id:b.uploadID},error:b.error,file:a.file,fileObjectURL:a.fileObjectURL,fileType:"PHOTO",height:a.height,replaceMediaItemUploadID:a.replaceMediaItemUploadID,sphericalEncoding:a.sphericalEncoding,state:"FAILED",useCDNPreview:a.useCDNPreview,width:a.width};case"VIDEO":return{data:{id:b.uploadID},error:b.error,file:a.file,fileObjectURL:a.fileObjectURL,fileType:"VIDEO",height:a.height,replaceMediaItemUploadID:a.replaceMediaItemUploadID,state:"FAILED",trimData:a.trimData,useCDNPreview:a.useCDNPreview,width:a.width};default:return{data:{id:b.uploadID},error:b.error,file:a.file,fileObjectURL:a.fileObjectURL,fileType:"FILE",state:"FAILED"}}else return a})})}function B(a,b){var d;if(a.mediaAttachments==null)return a;var e=new Map(a.withTagIDsTracker),f=[],g=[],h=b.media.data.id;((d=b.media.data.tags)!=null?d:[]).forEach(function(a){var c;if((a==null?void 0:(c=a.taggee)==null?void 0:c.id)!=null){c=a.taggee.id;a.taggee.taggee_type==="PRODUCT_ITEM"?f.push(c):b.actorID!==c&&g.push(c)}});var i=b.media.originalEntID!=null?b.media.originalEntID:h;d=(a.mediaAttachments||[]).find(function(a){a=a.originalEntID!=null?a.originalEntID:a.data.id;return a===i});if(i==null||d==null)throw c("unrecoverableViolation")("Invalid action taken to save media edits of a media attachment that does not exist","comet_composer");e=c("removeTagsFromMedia")(d,e);e=c("addTagsToWithTagsIDsTracker")(i,g,e);return babelHelpers["extends"]({},a,{mediaAttachments:(h=a.mediaAttachments)==null?void 0:h.map(function(a,c){return c!==b.index?a:b.media}),taggedProductIDs:f,withTagIDsTracker:e})}function C(a,b){if(a.mediaAttachments!=null){var d=[].concat(a.mediaAttachments);d.splice(b.targetIndex,0,d.splice(b.sourceIndex,1)[0]);b=c("updateMediaUploadStatuses")(d,a.mediaUploadStatuses);return babelHelpers["extends"]({},a,{mediaAttachments:d,mediaUploadStatuses:b})}else return a}function D(a,b){return babelHelpers["extends"]({},a,{mediaAttachments:(a.mediaAttachments||[]).map(function(a){if(a.data.id===b.entID&&a.fileType==="PHOTO"&&a.state==="UPLOADED"){var d=babelHelpers["extends"]({},a,{height:b.height,uploadedImageURL:b.imageURI,useCDNPreview:!0,width:b.width}),e=d.data.tags;return e!=null&&e.length>0?babelHelpers["extends"]({},d,{data:babelHelpers["extends"]({},d.data,{tags:c("rotatePhotoAttachmentTags")(e,b.direction)})}):d}return a})})}function E(a,b){var c=a.mediaAttachments;return c==null?a:babelHelpers["extends"]({},a,{mediaAttachments:c.map(function(a){return(a.entID===b.attachmentId||a.data.id===b.attachmentId)&&a.fileType==="VIDEO"&&a.state==="UPLOADED"?babelHelpers["extends"]({},a,{data:babelHelpers["extends"]({},a.data,{closed_caption_settings:babelHelpers["extends"]({},a.data.closed_caption_settings,{autogenerate_captions_on_upload:b.autoGenerateCaptionOnUpload,should_review_all_captions:b.shouldReviewAllCaptions})})}):a})})}function F(a,b){return babelHelpers["extends"]({},a,{mediaAttachments:(a.mediaAttachments||[]).map(function(a){if(a===b.attachment){switch(a.state){case"NEW":switch(a.fileType){case"PHOTO":return babelHelpers["extends"]({},a,{data:babelHelpers["extends"]({},a.data,{message:{text:b.caption}}),fileType:"PHOTO"});case"VIDEO":return babelHelpers["extends"]({},a,{data:babelHelpers["extends"]({},a.data,{message:{text:b.caption}}),fileType:"VIDEO"});default:return a}case"QUEUED":switch(a.fileType){case"PHOTO":return babelHelpers["extends"]({},a,{data:babelHelpers["extends"]({},a.data,{message:{text:b.caption}}),fileType:"PHOTO"});case"VIDEO":return babelHelpers["extends"]({},a,{data:babelHelpers["extends"]({},a.data,{message:{text:b.caption}}),fileType:"VIDEO"});default:return a}case"UPLOADING":switch(a.fileType){case"PHOTO":return babelHelpers["extends"]({},a,{data:babelHelpers["extends"]({},a.data,{message:{text:b.caption}}),fileType:"PHOTO"});case"VIDEO":return babelHelpers["extends"]({},a,{data:babelHelpers["extends"]({},a.data,{message:{text:b.caption}}),fileType:"VIDEO"});default:return a}case"UPLOADED":switch(a.fileType){case"PHOTO":return babelHelpers["extends"]({},a,{data:babelHelpers["extends"]({},a.data,{message:{text:b.caption}}),fileType:"PHOTO"});case"VIDEO":return babelHelpers["extends"]({},a,{data:babelHelpers["extends"]({},a.data,{message:{text:b.caption}}),fileType:"VIDEO"});default:return a}case"PREEXISTING":switch(a.fileType){case"PHOTO":return babelHelpers["extends"]({},a,{data:babelHelpers["extends"]({},a.data,{message:{text:b.caption}}),fileType:"PHOTO"});case"VIDEO":return babelHelpers["extends"]({},a,{data:babelHelpers["extends"]({},a.data,{message:{text:b.caption}}),fileType:"VIDEO"});case"UNKNOWN":return babelHelpers["extends"]({},a,{data:babelHelpers["extends"]({},a.data,{message:{text:b.caption}}),fileType:"UNKNOWN"})}return a;case"FAILED":switch(a.fileType){case"PHOTO":return babelHelpers["extends"]({},a,{data:babelHelpers["extends"]({},a.data,{message:{text:b.caption}}),fileType:"PHOTO"});case"VIDEO":return babelHelpers["extends"]({},a,{data:babelHelpers["extends"]({},a.data,{message:{text:b.caption}}),fileType:"VIDEO"});default:return a}}return a}else return a})})}function G(a,b){return babelHelpers["extends"]({},a,{mediaAttachments:(a.mediaAttachments||[]).map(function(a){if(c("getIDFromMediaAttachment")(a)===c("getIDFromMediaAttachment")(b.attachment)){switch(a.state){case"NEW":switch(a.fileType){case"PHOTO":return babelHelpers["extends"]({},a,{fileType:"PHOTO",useCDNPreview:!0});case"VIDEO":return babelHelpers["extends"]({},a,{fileType:"VIDEO",useCDNPreview:!0});default:return a}case"QUEUED":switch(a.fileType){case"PHOTO":return babelHelpers["extends"]({},a,{fileType:"PHOTO",useCDNPreview:!0});case"VIDEO":return babelHelpers["extends"]({},a,{fileType:"VIDEO",useCDNPreview:!0});default:return a}case"UPLOADING":switch(a.fileType){case"PHOTO":return babelHelpers["extends"]({},a,{fileType:"PHOTO",useCDNPreview:!0});case"VIDEO":return babelHelpers["extends"]({},a,{fileType:"VIDEO",useCDNPreview:!0});default:return a}case"UPLOADED":switch(a.fileType){case"PHOTO":return babelHelpers["extends"]({},a,{fileType:"PHOTO",useCDNPreview:!0});case"VIDEO":return babelHelpers["extends"]({},a,{fileType:"VIDEO",useCDNPreview:!0});default:return a}case"FAILED":switch(a.fileType){case"PHOTO":return babelHelpers["extends"]({},a,{fileType:"PHOTO",useCDNPreview:!0});case"VIDEO":return babelHelpers["extends"]({},a,{fileType:"VIDEO",useCDNPreview:!0});default:return a}case"CLIENT_PROCESSING":switch(a.fileType){case"PHOTO":return babelHelpers["extends"]({},a,{fileType:"PHOTO",useCDNPreview:!0});case"VIDEO":return babelHelpers["extends"]({},a,{fileType:"VIDEO",useCDNPreview:!0});default:return a}case"PREEXISTING":switch(a.fileType){case"PHOTO":return babelHelpers["extends"]({},a,{fileType:"PHOTO",useCDNPreview:!0});case"VIDEO":return babelHelpers["extends"]({},a,{fileType:"VIDEO",useCDNPreview:!0});default:return babelHelpers["extends"]({},a,{fileType:"UNKNOWN",useCDNPreview:!0})}}return a}else return a})})}function H(a,b){return babelHelpers["extends"]({},a,{mediaAttachments:(a.mediaAttachments||[]).map(function(a){if(a.data.id===b.entID&&a.state==="UPLOADED")switch(a.fileType){case"PHOTO":return babelHelpers["extends"]({},a,{fileType:"PHOTO",height:b.height,width:b.width});case"VIDEO":return babelHelpers["extends"]({},a,{fileType:"VIDEO",height:b.height,width:b.width});case"UNKOWN":return babelHelpers["extends"]({},a,{fileType:"UNKNOWN",height:b.height,width:b.width});default:return a}else return a})})}function I(a,b){return babelHelpers["extends"]({},a,{mediaAttachments:(a.mediaAttachments||[]).map(function(a){return c("getIDFromMediaAttachment")(a)===c("getIDFromMediaAttachment")(b.attachment)?N(b.height,b.width,a):a})})}function J(a,b){var c=URL.createObjectURL(b.placeholderImage.file);a.photo3dAttachment&&URL.revokeObjectURL(a.photo3dAttachment.inputData.placeholderImageSrc);return babelHelpers["extends"]({},a,{photo3dAttachment:{inputData:{colorImageIds:b.colorImageIds,depthImageIds:b.depthImageIds,placeholderImageHeight:(a=b.placeholderImage.height)!=null?a:0,placeholderImageSrc:c,placeholderImageWidth:(a=b.placeholderImage.width)!=null?a:0},renderData:void 0}})}function K(a,b){if(a.mediaAttachments!=null){var e=[].concat(a.mediaAttachments);e.sort(function(a,e){a=c("getMediaAttachmentDateNumber")(a);e=c("getMediaAttachmentDateNumber")(e);return ae&&b.orderType===d("CometAlbumMediaItemOrderType").MediaAttachmentOrderType.DESCENDING?-1:1});return babelHelpers["extends"]({},a,{mediaAttachments:e})}else return a}function L(a,b){return babelHelpers["extends"]({},a,{mediaAttachments:(a.mediaAttachments||[]).map(function(a,c){if(c!==b.currentIndex)return a;switch(a.state){case"NEW":switch(a.fileType){case"VIDEO":return babelHelpers["extends"]({},a,{videoAttachmentMetadata:babelHelpers["extends"]({},a.videoAttachmentMetadata,b.videoAttachmentMetadata)});default:return a}case"CLIENT_PROCESSING":switch(a.fileType){case"VIDEO":return babelHelpers["extends"]({},a,{videoAttachmentMetadata:babelHelpers["extends"]({},a.videoAttachmentMetadata,b.videoAttachmentMetadata)});default:return a}case"CLIENT_PROCESSING_COMPLETE":switch(a.fileType){case"VIDEO":return babelHelpers["extends"]({},a,{videoAttachmentMetadata:babelHelpers["extends"]({},a.videoAttachmentMetadata,b.videoAttachmentMetadata)});default:return a}case"UPLOADING":switch(a.fileType){case"VIDEO":return babelHelpers["extends"]({},a,{videoAttachmentMetadata:babelHelpers["extends"]({},a.videoAttachmentMetadata,b.videoAttachmentMetadata)});default:return a}case"UPLOADED":switch(a.fileType){case"VIDEO":return babelHelpers["extends"]({},a,{videoAttachmentMetadata:babelHelpers["extends"]({},a.videoAttachmentMetadata,b.videoAttachmentMetadata)});default:return a}case"PREEXISTING":switch(a.fileType){case"VIDEO":return babelHelpers["extends"]({},a,{videoAttachmentMetadata:babelHelpers["extends"]({},a.videoAttachmentMetadata,b.videoAttachmentMetadata)});default:return a}default:return a}})})}function M(a,b){return babelHelpers["extends"]({},a,{mediaAttachments:(a.mediaAttachments||[]).map(function(a){if(a.file&&a.file.uploadID===b.uploadID)switch(a.state){case"NEW":switch(a.fileType){case"PHOTO":return babelHelpers["extends"]({},a,{fileType:"PHOTO",sphericalEncoding:b.sphericalEncoding});default:return a}case"QUEUED":switch(a.fileType){case"PHOTO":return babelHelpers["extends"]({},a,{fileType:"PHOTO",sphericalEncoding:b.sphericalEncoding});default:return a}case"UPLOADING":switch(a.fileType){case"PHOTO":return babelHelpers["extends"]({},a,{fileType:"PHOTO",sphericalEncoding:b.sphericalEncoding});default:return a}case"UPLOADED":switch(a.fileType){case"PHOTO":return babelHelpers["extends"]({},a,{fileType:"PHOTO",sphericalEncoding:b.sphericalEncoding});default:return a}case"FAILED":switch(a.fileType){case"PHOTO":return babelHelpers["extends"]({},a,{fileType:"PHOTO",sphericalEncoding:b.sphericalEncoding});default:return a}case"CLIENT_PROCESSING":switch(a.fileType){case"PHOTO":return babelHelpers["extends"]({},a,{fileType:"PHOTO",sphericalEncoding:b.sphericalEncoding});default:return a}case"PREEXISTING":switch(a.fileType){case"PHOTO":return babelHelpers["extends"]({},a,{fileType:"PHOTO",sphericalEncoding:b.sphericalEncoding});default:return a}default:return a}else return a})})}function N(a,b,c){switch(c.fileType){case"PHOTO":switch(c.state){case"NEW":return babelHelpers["extends"]({},c,{fileType:"PHOTO",height:a,width:b});case"CLIENT_PROCESSING":return babelHelpers["extends"]({},c,{fileType:"PHOTO",height:a,width:b});case"CLIENT_PROCESSING_COMPLETE":return babelHelpers["extends"]({},c,{fileType:"PHOTO",height:a,width:b});case"QUEUED":return babelHelpers["extends"]({},c,{fileType:"PHOTO",height:a,width:b});case"UPLOADING":return babelHelpers["extends"]({},c,{fileType:"PHOTO",height:a,width:b});case"UPLOADED":return babelHelpers["extends"]({},c,{fileType:"PHOTO",height:a,width:b});case"FAILED":return babelHelpers["extends"]({},c,{fileType:"PHOTO",height:a,width:b});case"PREEXISTING":return babelHelpers["extends"]({},c,{fileType:"PHOTO",height:a,width:b});default:return c}case"VIDEO":switch(c.state){case"NEW":return babelHelpers["extends"]({},c,{fileType:"VIDEO",height:a,width:b});case"CLIENT_PROCESSING":return babelHelpers["extends"]({},c,{fileType:"VIDEO",height:a,width:b});case"CLIENT_PROCESSING_COMPLETE":return babelHelpers["extends"]({},c,{fileType:"VIDEO",height:a,width:b});case"QUEUED":return babelHelpers["extends"]({},c,{fileType:"VIDEO",height:a,width:b});case"UPLOADING":return babelHelpers["extends"]({},c,{fileType:"VIDEO",height:a,width:b});case"UPLOADED":return babelHelpers["extends"]({},c,{fileType:"VIDEO",height:a,width:b});case"FAILED":return babelHelpers["extends"]({},c,{fileType:"VIDEO",height:a,width:b});case"PREEXISTING":return babelHelpers["extends"]({},c,{fileType:"VIDEO",height:a,width:b});default:return c}default:return c}}function O(a,b){return babelHelpers["extends"]({},a,{shouldShowDefaultToReelsDialog:b.shouldShowDefaultToReelsDialog})}function a(a,b){switch(b.type){case"ADD_MEDIA_ATTACHMENT_ITEMS":return i(a,b);case"REPLACE_MEDIA_ATTACHMENT_ITEMS":return j(a,b);case"ADD_PREEXISTING_PHOTO":return l(a,b);case"ADD_PREEXISTING_VIDEO":return m(a,b);case"REMOVE_MEDIA_ATTACHMENT_ITEM":return n(a,b);case"REMOVE_ALL_MEDIA_ATTACHMENT_ITEMS":return p(a,b);case"REMOVE_GET_MESSAGE_MEDIA_ATTACHMENT_ITEMS":return o(a,b);case"RETRY_MEDIA_ATTACHMENT_ITEMS":return k(a,b);case"MEDIA_ATTACHMENT_CLIENT_PROCESSING_COMPLETED":return v(a,b);case"QUEUE_UPLOADS":return w(a,b);case"MARK_UPLOADS_CLIENT_PROCESSING":return q(a,b);case"MARK_UNKNOWN_UPLOADS_AS_PHOTO":return r(a,b);case"MARK_UPLOADS_AS_PART_OF_COMPLETE_BATCH":return s(a,b);case"MARK_UPLOADS_AS_PHOTO":return t(a,b);case"MARK_UNKNOWN_UPLOADS_AS_VIDEO":return u(a,b);case"MEDIA_UPLOAD_STARTED":return x(a,b);case"MEDIA_UPLOAD_PROGRESS":return y(a,b);case"MEDIA_UPLOAD_SUCCESSFUL":return z(a,b);case"REORDER_MEDIA_ATTACHMENT_ITEM":return C(a,b);case"ROTATE_MEDIA_ATTACHMENT_ITEM":return D(a,b);case"SAVE_MEDIA_EDITS":return B(a,b);case"SET_MEDIA_ATTACHMENT_CAPTION":return F(a,b);case"SET_MEDIA_ATTACHMENT_ITEM_USE_CDN_PREVIEW":return G(a,b);case"SET_MEDIA_ATTACHMENT_ITEM_CDN_DIMENSIONS":return H(a,b);case"SET_MEDIA_ATTACHMENT_ITEM_DIMENSIONS":return I(a,b);case"SET_PHOTO3D_CREATION_DATA":return J(a,b);case"SET_MEDIA_ATTACHMENT_ITEM_SPHERICAL_ENCODING":return M(a,b);case"SET_VIDEO_ATTACHMENT_ITEM_CLOSED_CAPTIONS":return E(a,b);case"ORDER_BY_DATE_TAKEN":return K(a,b);case"SET_VIDEO_ATTACHMENT_METADATA":return L(a,b);case"MEDIA_UPLOAD_FAILED":return A(a,b);case"REMOVE_ATTACHMENT_TYPE":if(c("killswitch")("WWW_COMPOSER_MEDIA_ATTACHMENT_AREA_REMOVAL_ACTION_DISPATCH"))return a;else{var e=d("composerAttachmentAreaReducer").getCanAlterAttachmentData(b,"MEDIA",a)||d("composerAttachmentAreaReducer").getCanAlterAttachmentData(b,"CALL_NOW",a);if(!e)return a;else return p(a,{type:"REMOVE_ALL_MEDIA_ATTACHMENT_ITEMS"})}case"SET_SHOULD_DEFAULT_TO_REELS_DIALOG":return O(a,b)}return a}g["default"]=a}),98); __d("CometComposerOnSubmitContext",["react"],(function(a,b,c,d,e,f,g){"use strict";var h;a=h||d("react");b=a.createContext({errorMetadata:null,isSaving:!1});g["default"]=b}),98); __d("useCometComposerPushPageWithReducer",["react","useCometComposerPushPage"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h||(h=d("react")),j=h.useMemo;function a(){var a=c("useCometComposerPushPage")();return j(function(){return function(b,c,d,e){a(b,function(a){a=a.onReturn;return i.jsx(c,{onReturn:a})},e,d)}},[a])}g["default"]=a}),98); __d("useCometComposerPushAnimatedImagePage",["fbt","CometComposerAttachmentPluginTypes","JSResourceForInteraction","lazyLoadComponent","react","useCometComposerPushPageWithReducer","useComposerViewStateDispatcher"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j=i||(i=d("react")),k=i.useCallback,l=c("lazyLoadComponent")(c("JSResourceForInteraction")("CometAnimatedImagePickerCardContainer.react").__setRef("useCometComposerPushAnimatedImagePage"));function a(){var a=c("useCometComposerPushPageWithReducer")(),b=c("useComposerViewStateDispatcher")(),d=k(function(a){b({attachmentType:"ANIMATED_IMAGE",type:"ACTIVATE_ATTACHMENT_TYPE"}),b({label:a.media.preview.label,metadata:{key:a.resultID,source:a.source.gifSource,tags:a.source.tags,title:a.source.title,url:a.source.url},type:"SELECT_ANIMATED_IMAGE",url:a.source.url})},[b]);return function(){a(h._("__JHASH__K3YQokbPFHA__JHASH__"),function(a){a=a.onReturn;return j.jsx(l,{onClose:a,onSelect:d})},c("CometComposerAttachmentPluginTypes").ANIMATED_IMAGE)}}g["default"]=a}),98); __d("useVerifyCometComposerPushPage",["CometComposerPushPageContext","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i=(h||d("react")).useContext;function a(){return i(c("CometComposerPushPageContext"))!=null}g["default"]=a}),98); __d("GroupCometComposerContext",["react"],(function(a,b,c,d,e,f,g){"use strict";var h;a=h||d("react");b=a.createContext({errorMetadata:null,groupID:null,isSaving:!1});g["default"]=b}),98); __d("useComposerHeaderOnClose",["fbt","emptyFunction","useCometConfirmationDialog"],(function(a,b,c,d,e,f,g,h){"use strict";function a(a){var b=a.isDirty,d=a.isEmpty,e=a.onClose;a=a.triggerUnsavedChangesWarning;var f=c("useCometConfirmationDialog")();return a===!0?function(){if(b===!0&&d!==!0){var a;f({body:h._("__JHASH__IadpR1L6YdB__JHASH__"),cancel:h._("__JHASH__DJnbvd6w38Q__JHASH__"),confirm:h._("__JHASH__ZxUcPxGzo9j__JHASH__"),title:h._("__JHASH__F-CluDWnn28__JHASH__")},(a=e)!=null?a:c("emptyFunction"))}else e&&e()}:(a=e)!=null?a:c("emptyFunction")}g["default"]=a}),98); __d("CometComposerHeader.react",["fbt","ix","CometTrackingNodeProvider.react","TetraCircleButton.react","TetraText.react","fbicon","react","useComposerHeaderOnClose","withComposerViewStatePart"],(function(a,b,c,d,e,f,g,h,i){"use strict";var j,k=j||d("react");function a(a){var b=a.closeButtonTestID;b=b===void 0?"CometComposerHeader-CloseButton":b;b=a.id;var e=a.isDirty;e=e===void 0?!1:e;var f=a.isEmpty,g=a.onBack,j=a.onClose,l=a.testid;l=a.title;var m=a.triggerUnsavedChangesWarning;m=m===void 0?!1:m;var n=a.withBackButton;n=n===void 0?!1:n;a=a.withCloseButton;a=a===void 0?!1:a;e=c("useComposerHeaderOnClose")({isDirty:e,isEmpty:f,onClose:j,triggerUnsavedChangesWarning:m});return k.jsxs("div",{"aria-label":l,"data-testid":void 0,children:[l!=null?k.jsx("div",{className:"x6s0dn4 x1nb4dca x1q0q8m5 xso031l x9f619 x78zum5 xng8ra xl56j7k",children:k.jsx(c("TetraText.react"),{id:b,isSemanticHeading:!0,numberOfLines:1,type:"headlineEmphasized2",children:l})}):null,a?k.jsx(c("CometTrackingNodeProvider.react"),{trackingNode:141,children:k.jsx("div",{className:"x92rtbv x10l6tqk x1tk7jg1","data-testid":void 0,children:k.jsx(c("TetraCircleButton.react"),{color:"secondary",icon:d("fbicon")._(i("478233"),20),label:h._("__JHASH__cCrSTii9yXy__JHASH__"),onPress:e,size:36,testid:void 0})})}):null,n?k.jsx("div",{className:"x10l6tqk x16q8cke x1tk7jg1","data-testid":void 0,children:k.jsx(c("TetraCircleButton.react"),{color:"secondary",icon:d("fbicon")._(i("512647"),20),label:h._("__JHASH__v6nfNn2Wv-y__JHASH__"),onPress:g,size:36})}):null]})}a.displayName=a.name+" [from "+f.id+"]";b=c("withComposerViewStatePart")(a,function(a){return{isDirty:a.isDirty,isEmpty:(a=a.isEmptyMetaData)==null?void 0:a.isEmpty}});g["default"]=b}),98); __d("useCometComposerPushLocationPage",["fbt","CometComposerAttachmentPluginTypes","JSResourceForInteraction","lazyLoadComponent","react","useCometComposerPushPageWithReducer"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j=i||(i=d("react")),k=i.useCallback,l=c("lazyLoadComponent")(c("JSResourceForInteraction")("ComposerLocationListContainer.react").__setRef("useCometComposerPushLocationPage"));function a(){var a=c("useCometComposerPushPageWithReducer")();return k(function(){a(h._("__JHASH__kGt5nAPU9z4__JHASH__"),function(a){a=a.onReturn;return j.jsx(l,{onClose:a})},c("CometComposerAttachmentPluginTypes").LOCATION)},[a])}g["default"]=a}),98); __d("CometComposerLifeEventCategoryList.entrypoint",["CometComposerLifeEventCategoryListQuery$Parameters","JSResourceForInteraction","WebPixelRatio"],(function(a,b,c,d,e,f,g){"use strict";a={getPreloadProps:function(a){return{queries:{CometComposerLifeEventCategoryListQueryRef:{parameters:c("CometComposerLifeEventCategoryListQuery$Parameters"),variables:{scale:d("WebPixelRatio").get()}}}}},root:c("JSResourceForInteraction")("CometComposerLifeEventCategoryList.react").__setRef("CometComposerLifeEventCategoryList.entrypoint")};g["default"]=a}),98); __d("CometComposerLifeEventSubcategoryList.entrypoint",["CometComposerLifeEventSubcategoryListQuery$Parameters","JSResourceForInteraction","WebPixelRatio"],(function(a,b,c,d,e,f,g){"use strict";a={getPreloadProps:function(a){return{queries:{CometComposerLifeEventSubcategoryListQueryRef:{parameters:c("CometComposerLifeEventSubcategoryListQuery$Parameters"),variables:{scale:d("WebPixelRatio").get()}}}}},root:c("JSResourceForInteraction")("CometComposerLifeEventSubcategoryList.react").__setRef("CometComposerLifeEventSubcategoryList.entrypoint")};g["default"]=a}),98); __d("ProfileCometLifeEventsSubcategoryType",[],(function(a,b,c,d,e,f){"use strict";a=Object.freeze({ENGAGEMENT:"186602241402186",FIRST_MET:"110479285719045",GRADUATED:"graduated",HOMETOWN:"hometown",LEFT_JOB:"left_job",LEFT_SCHOOL:"left_school",LOSS_LOVED_ONE:"161401573941389",MARRIAGE:"119419864820741",MOVED:"136805663075786",NEW_CHILD:"154540017958611",NEW_JOB:"new_job",NEW_PET:"157504504317810",NEW_RELATIONSHIP:"166189666805959",NEW_SCHOOL:"247225955309245",PARENTHOOD:"parenthood",PLACES_LIVED:"places_lived",PROMOTION:"promotion",RETIREMENT:"241151665935368"});f["default"]=a}),66); __d("ProfileCometLifeEventsComposerTaggingUtils",["ProfileCometLifeEventsSubcategoryType"],(function(a,b,c,d,e,f,g){"use strict";function a(a){var b=a.taggedEmployer,c=a.taggedMetadataLocation,d=a.taggedPartner;a=a.taggedSchool;if(b.id!=="")return b.id;if(c.id!=="")return c.id;if(d.id!=="")return d.id;return a.id!==""?a.id:null}function b(a){return a===c("ProfileCometLifeEventsSubcategoryType").MOVED}function d(a){return a===c("ProfileCometLifeEventsSubcategoryType").FIRST_MET}function e(a,b){return a==="WORK"&&(b===c("ProfileCometLifeEventsSubcategoryType").NEW_JOB||b===c("ProfileCometLifeEventsSubcategoryType").LEFT_JOB)}function f(a,b){return a==="TRAVEL"||a==="HOME"&&(b===c("ProfileCometLifeEventsSubcategoryType").MOVED||b===c("ProfileCometLifeEventsSubcategoryType").PLACES_LIVED||b===c("ProfileCometLifeEventsSubcategoryType").HOMETOWN)}function h(a,b,d){return d&&a==="RELATIONSHIPS"&&(b===c("ProfileCometLifeEventsSubcategoryType").FIRST_MET||b===c("ProfileCometLifeEventsSubcategoryType").ENGAGEMENT||b===c("ProfileCometLifeEventsSubcategoryType").MARRIAGE||b===c("ProfileCometLifeEventsSubcategoryType").NEW_RELATIONSHIP)}function i(a,b){return a==="EDUCATION"&&b!==null}function j(a){return a===c("ProfileCometLifeEventsSubcategoryType").ENGAGEMENT||a===c("ProfileCometLifeEventsSubcategoryType").MARRIAGE||a===c("ProfileCometLifeEventsSubcategoryType").NEW_RELATIONSHIP}g.getTaggedEntity=a;g.isLocationRequired=b;g.isPartnerRequired=d;g.shouldShowEmployerField=e;g.shouldShowMetadataLocationField=f;g.shouldShowPartnerField=h;g.shouldShowSchoolField=i;g.shouldShowRelationshipDisclaimer=j}),98); __d("getInvalidMLEField",["ProfileCometLifeEventsComposerTaggingUtils"],(function(a,b,c,d,e,f,g){"use strict";function a(a,b){a=(a=a)!=null?a:{};var c=a.selectedCategoryID,e=a.selectedSubcategoryID,f=a.taggedEmployer,g=a.taggedMetadataLocation,h=a.taggedPartner,i=a.taggedSchool,j=a.title;a=a.uploadedMedia;if(j==="")return"title";if(a&&a.length>0&&a.every(function(a){return a.status!=="UPLOADED"}))return"media";if(d("ProfileCometLifeEventsComposerTaggingUtils").shouldShowEmployerField(c,e)&&f.id==="")return"workplace";if(d("ProfileCometLifeEventsComposerTaggingUtils").shouldShowMetadataLocationField(c,e)&&d("ProfileCometLifeEventsComposerTaggingUtils").isLocationRequired(e)&&g.id==="")return"location";if(d("ProfileCometLifeEventsComposerTaggingUtils").shouldShowPartnerField(c,e,b)&&d("ProfileCometLifeEventsComposerTaggingUtils").isPartnerRequired(e)&&h.id==="")return"partner";return d("ProfileCometLifeEventsComposerTaggingUtils").shouldShowSchoolField(c,e)&&i.id===""?"school":null}g["default"]=a}),98); __d("ProfileCometLifeEventMigrationContext",["react"],(function(a,b,c,d,e,f,g){"use strict";var h;a=h||d("react");b=a.createContext({isInCometComposer:!1});g["default"]=b}),98); __d("ProfileCometLifeEventsComposerState",[],(function(a,b,c,d,e,f){"use strict";function g(){var a=new Date();return{day:a.getDate(),month:a.getMonth()+1,year:a.getFullYear()}}function a(){return{date:g(),defaultTitle:"",description:"",feedQueryVariables:null,initialState:null,isDateEditable:!0,isMediaExpanded:!1,isTitleDirty:!1,loadingDefaultMedia:!0,privacy:null,selectedCategoryID:null,selectedDefaultMedia:null,selectedIcon:null,selectedSubcategoryID:null,showEntityMedia:!1,skipSubcategoryStep:!1,step:"CATEGORY",storyID:null,surface:null,taggedEmployer:{id:"",name:""},taggedLocation:null,taggedMetadataLocation:{id:"",name:""},taggedPartner:{id:"",name:""},taggedSchool:{id:"",name:""},taggedSchoolType:"COLLEGE",taggedUsers:[],title:"",uploadedMedia:[]}}f.getCurrentDate=g;f.getInitialState=a}),66); __d("ProfileCometLifeEventsComposerContext",["ProfileCometLifeEventsComposerState","emptyFunction","react"],(function(a,b,c,d,e,f,g){"use strict";var h;a=h||d("react");b=a.createContext({dispatch:c("emptyFunction"),state:d("ProfileCometLifeEventsComposerState").getInitialState()});g["default"]=b}),98); __d("useLifeEventsComposerDispatcher",["ProfileCometLifeEventMigrationContext","ProfileCometLifeEventsComposerContext","react","useComposerViewStateDispatcher"],(function(a,b,c,d,e,f,g){"use strict";var h,i=(h||d("react")).useContext;function a(){var a=i(c("ProfileCometLifeEventsComposerContext"));a=a.dispatch;var b=c("useComposerViewStateDispatcher")(),d=i(c("ProfileCometLifeEventMigrationContext"));d=d.isInCometComposer;return d?b:a}g["default"]=a}),98); __d("CometComposerLifeEventsFormDoneButton.react",["fbt","TetraButton.react","getInvalidMLEField","react","useComposerViewStateDispatcher","useLifeEventsComposerDispatcher","withComposerViewStatePart"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j=i||d("react");function a(a){var b=a.majorLifeEvent,d=a.onReturn,e=c("useComposerViewStateDispatcher")(),f=c("useLifeEventsComposerDispatcher")();a=c("getInvalidMLEField")(b,!0)!==null;return j.jsx("div",{className:"x123j3cw x1mpkggp xs9asl8 x1t2a60a",children:j.jsx(c("TetraButton.react"),{disabled:a,label:h._("__JHASH__xfdi60OT5Na__JHASH__"),onPress:function(){d({index:0}),e({attachmentType:"LIFE_EVENT",type:"ACTIVATE_ATTACHMENT_TYPE"}),f({type:"COPY_ALL_METADATA_TO_ATTACHMENT"})}})})}a.displayName=a.name+" [from "+f.id+"]";b=c("withComposerViewStatePart")(a,function(a){return{majorLifeEvent:a.majorLifeEvent}});g["default"]=b}),98); __d("CometComposerMajorLifeEventAttachmentFormResource",["JSResourceForInteraction"],(function(a,b,c,d,e,f,g){"use strict";a=c("JSResourceForInteraction")("CometComposerMajorLifeEventAttachmentForm.react").__setRef("CometComposerMajorLifeEventAttachmentFormResource");b=a;g["default"]=b}),98); __d("ProfileCometLifeEventEditMediaContext",["react"],(function(a,b,c,d,e,f,g){"use strict";var h;a=h||d("react");b=a.createContext({mediaEditable:!1});g["default"]=b}),98); __d("useCometComposerPushMLEPage",["fbt","$InternalEnum","CometComposerAttachmentPluginTypes","CometComposerLifeEventCategoryList.entrypoint","CometComposerLifeEventSubcategoryList.entrypoint","CometComposerLifeEventsFormDoneButton.react","CometComposerMajorLifeEventAttachmentFormResource","CometComposerPushPageGlimmer.react","CometPlaceholder.react","ProfileCometLifeEventEditMediaContext","ProfileCometLifeEventMigrationContext","lazyLoadComponent","react","react-relay/relay-hooks/LazyLoadEntryPointContainer_DEPRECATED.react","useCometComposerPushPageWithReducer","useCometRelayEntrypointContextualEnvironmentProvider","useLifeEventsComposerDispatcher"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j=i||(i=d("react")),k=i.useCallback,l=c("lazyLoadComponent")(c("CometComposerMajorLifeEventAttachmentFormResource")),m=b("$InternalEnum").Mirrored(["CATEGORY","SUBCATEGORY","ATTACHMENT_FORM"]);function a(a,b,d){var e=c("useCometComposerPushPageWithReducer")(),f=c("useCometRelayEntrypointContextualEnvironmentProvider")(),g=c("useLifeEventsComposerDispatcher")();return k(function(){var i={isInCometComposer:!0},k={mediaEditable:!0},n=d!=null?d:h._("__JHASH__yfzuYU4o_2m__JHASH__"),o=b?b:{onBack:function(){return g({type:"CLEAR_FORM_FIELDS"})}};switch(a){case m.CATEGORY:e(n,function(a){a=a.onReturn;return j.jsx(c("CometPlaceholder.react"),{fallback:j.jsx(c("CometComposerPushPageGlimmer.react"),{withPopover:!1}),children:j.jsx(c("ProfileCometLifeEventMigrationContext").Provider,{value:i,children:j.jsx(c("react-relay/relay-hooks/LazyLoadEntryPointContainer_DEPRECATED.react"),{entryPoint:c("CometComposerLifeEventCategoryList.entrypoint"),entryPointParams:{},environmentProvider:f,props:{onBackToComposer:a}})})})},c("CometComposerAttachmentPluginTypes").LIFE_EVENT);break;case m.SUBCATEGORY:e(n,function(a){var b=a.onReturn;return j.jsx(c("CometPlaceholder.react"),{fallback:j.jsx(c("CometComposerPushPageGlimmer.react"),{withPopover:!1}),children:j.jsx(c("ProfileCometLifeEventMigrationContext").Provider,{value:i,children:j.jsx(c("react-relay/relay-hooks/LazyLoadEntryPointContainer_DEPRECATED.react"),{entryPoint:c("CometComposerLifeEventSubcategoryList.entrypoint"),entryPointParams:{},environmentProvider:f,props:{onBackToComposer:function(){return b({index:0})}}})})})},c("CometComposerAttachmentPluginTypes").LIFE_EVENT);break;case m.ATTACHMENT_FORM:g({type:"SAVE_CURRENT_STATE"});e(n,function(a){a=a.onReturn;return j.jsx(c("CometPlaceholder.react"),{fallback:j.jsx(c("CometComposerPushPageGlimmer.react"),{withPopover:!1}),children:j.jsx(c("ProfileCometLifeEventMigrationContext").Provider,{value:i,children:j.jsxs(c("ProfileCometLifeEventEditMediaContext").Provider,{value:k,children:[j.jsx(l,{}),j.jsx(c("CometComposerLifeEventsFormDoneButton.react"),{onReturn:a})]})})})},c("CometComposerAttachmentPluginTypes").LIFE_EVENT,o);break}},[d,b,e,g,a,f])}g.MleStep=m;g.useCometComposerPushMLEPage=a}),98); __d("ComposerTabbedMinutiaePushPageGlimmmer.react",["fbt","BaseLoadingStateElement.react","CometComposerHeader.react","CometGlimmer.react","react"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j=i||d("react"),k={root:{height:"x1wjmhiu",$$css:!0},searchBar:{borderTopStartRadius:"x1tlxs6b",borderTopEndRadius:"x1g8br2z",borderBottomEndRadius:"x1gn5b1j",borderBottomStartRadius:"x230xth",height:"xc9qbxq",marginTop:"x1gslohp",marginEnd:"xktsk01",marginBottom:"x12nagc",marginStart:"x1d52u69",width:"xh8yej3",$$css:!0},searchBarView:{alignItems:"x6s0dn4",display:"x78zum5",height:"xdd8jsf",justifyContent:"xl56j7k",$$css:!0},tabText:{borderTopStartRadius:"x8u2fvd",borderTopEndRadius:"x1ht7hnu",borderBottomEndRadius:"x1quq95r",borderBottomStartRadius:"x5yzy4c",height:"xxk0z11",marginEnd:"xq8finb",marginLeft:null,marginRight:null,width:"xefyazp",$$css:!0},tabView:{alignItems:"x6s0dn4",display:"x78zum5",height:"xng8ra",justifyContent:"x1nhvcw1",marginTop:"xdj266r",marginEnd:"xktsk01",marginBottom:"xat24cr",marginStart:"x1d52u69",$$css:!0}};function a(a,b){return j.jsxs(c("BaseLoadingStateElement.react"),{ref:b,xstyle:k.root,children:[j.jsx(c("CometComposerHeader.react"),{onBack:a.onBack,title:h._("__JHASH__Qn-9-UwmJ2N__JHASH__"),withBackButton:!0}),j.jsxs("div",{className:"x6s0dn4 x78zum5 xng8ra x1nhvcw1 xdj266r xktsk01 xat24cr x1d52u69",children:[j.jsx(c("CometGlimmer.react"),{index:1,xstyle:k.tabText}),j.jsx(c("CometGlimmer.react"),{index:2,xstyle:k.tabText})]}),j.jsx("div",{className:"x6s0dn4 x78zum5 xdd8jsf xl56j7k",children:j.jsx(c("CometGlimmer.react"),{index:1,xstyle:k.searchBar})})]})}a.displayName=a.name+" [from "+f.id+"]";b=j.forwardRef(a);g["default"]=b}),98); __d("useCometComposerPushMinutiaePage",["fbt","CometComposerTaggerPluginTypes","CometPlaceholder.react","ComposerTabbedMinutiaePushPageGlimmmer.react","JSResourceForInteraction","lazyLoadComponent","react","useCometComposerPushPage"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j=i||d("react"),k=c("lazyLoadComponent")(c("JSResourceForInteraction")("ComposerTabbedMinutiaePage.react").__setRef("useCometComposerPushMinutiaePage"));function a(){var a=c("useCometComposerPushPage")();return function(){a(h._("__JHASH__Qn-9-UwmJ2N__JHASH__"),function(a){a=a.onReturn;return j.jsx(c("CometPlaceholder.react"),{fallback:j.jsx(c("ComposerTabbedMinutiaePushPageGlimmmer.react"),{onBack:a}),children:j.jsx(k,{initialTab:"FEELING",onClose:a})})},{hasCustomHeader:!0},c("CometComposerTaggerPluginTypes").MINUTIAE)}}g["default"]=a}),98); __d("FeedComposerCometWithTagTypeaheadDataSource",["Promise"],(function(a,b,c,d,e,f){"use strict";var g;a=function(){function a(a){var b=a.compositeDataSource;a=a.matchStrategy;this.$3=!1;this.$1=b;this.$2=a}var c=a.prototype;c.bootstrap=function(){if(this.$3)return;this.$3=!0;this.$1.bootstrap()};c.fetchCache=function(a){var b=a.query;b=this.$2.findMentionableString(b);return b==null?{entries:[],params:a}:this.$1.fetchCache(a)};c.fetchNetwork=function(a){var c=a.query;c=this.$2.findMentionableString(c);return c==null?(g||(g=b("Promise"))).reject():this.$1.fetchNetwork(a)};return a}();f["default"]=a}),66); __d("useCometComposerWithTagFriendsDataSource",["WebPixelRatio","createFeedCometMentionsDataEntry","useCometComposerWithTagFriendsDataSourceQuery.graphql","useCometTypeaheadGraphQLDataSource"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h!==void 0?h:h=b("useCometComposerWithTagFriendsDataSourceQuery.graphql");function a(a){var b=a.actorID;a=a.limit;return c("useCometTypeaheadGraphQLDataSource")({gqlQuery:i,limit:a,normalize:j,queryVariablesBuilderFunction:function(a){a=a.query;return{id:b,query:a,scale:d("WebPixelRatio").get()}}})}function j(a){a=a==null?void 0:(a=a.user)==null?void 0:(a=a.friends)==null?void 0:a.edges;return a==null?[]:a.map(function(a){if(a==null)return null;a=a.node;return a==null?null:c("createFeedCometMentionsDataEntry")({data:{node:a},type:"WITH_TAG_SEARCH_RESULT"})}).filter(Boolean)}g["default"]=a}),98); __d("useCometComposerWithTagSuggestionsDataSource",["WebPixelRatio","createFeedCometMentionsDataEntry","useCometComposerWithTagSuggestionsDataSourceQuery.graphql","useCometTypeaheadGraphQLDataSource"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h!==void 0?h:h=b("useCometComposerWithTagSuggestionsDataSourceQuery.graphql");function a(a){var b=a.limit;return c("useCometTypeaheadGraphQLDataSource")({gqlQuery:i,limit:b,normalize:j,queryVariablesBuilderFunction:function(){return{limit:b,scale:d("WebPixelRatio").get()}}})}function j(a){a=a==null?void 0:(a=a.viewer)==null?void 0:(a=a.suggested_with_tags)==null?void 0:a.edges;return a==null?[]:a.map(function(a){if(a==null)return null;a=a.node;return a==null?null:c("createFeedCometMentionsDataEntry")({data:{node:a},type:"SUGGESTION"})}).filter(Boolean)}g["default"]=a}),98); __d("useFeedComposerCometWithTagDataSource",["cr:1872646"],(function(a,b,c,d,e,f,g){"use strict";g["default"]=b("cr:1872646")}),98); __d("useFeedComposerCometWithTagDataSourceImpl",["Actor","BaseTypeaheadLocalStorageDataProviderStorageKey","FeedComposerCometWithTagTypeaheadDataSource","createCometWithTagStrategy","gkx","react","useCometComposerWithTagFriendsDataSource","useCometComposerWithTagSuggestionsDataSource","useCometTypeaheadCompositeDataSource","useFeedComposerCometMentionsBootloadDataSource"],(function(a,b,c,d,e,f,g){"use strict";var h,i=(h||d("react")).useMemo;function a(a){a=a.limit;var b=d("Actor").useActor();b=b[0];var e=c("useFeedComposerCometMentionsBootloadDataSource")({firstDegreeFinderOptions:["FRIENDS_ONLY"],includeViewer:!1,limit:Math.floor(a/2),storageKey:c("gkx")("1864085")?d("BaseTypeaheadLocalStorageDataProviderStorageKey").StorageKey.FeedComposerMentionsWithTagBootstrap:null,typeaheadContext:"mentions",typeaheadFirstDegreeFilters:["USER"]}),f=c("useCometComposerWithTagSuggestionsDataSource")({limit:a});b=c("useCometComposerWithTagFriendsDataSource")({actorID:b,limit:a});var g=c("useCometTypeaheadCompositeDataSource")({bootstrapDataSource:e,limit:a,networkDataSource:b,nullstateDataSource:f});return i(function(){return new(c("FeedComposerCometWithTagTypeaheadDataSource"))({compositeDataSource:g,matchStrategy:c("createCometWithTagStrategy")({minMatchLength:0})})},[g])}g["default"]=a}),98); __d("PagesCometComposerContext",["react"],(function(a,b,c,d,e,f,g){"use strict";var h;a=h||d("react");b=a.createContext();g["default"]=b}),98); __d("CometVideoToolsLoggingContext",["react"],(function(a,b,c,d,e,f,g){"use strict";var h;a=h||d("react");b=a.createContext({composerEntryPoint:null,dialogMode:null});g["default"]=b}),98); __d("CpxContentCreationFalcoEvent",["FalcoLoggerInternal","getFalcoLogPolicy_DO_NOT_USE"],(function(a,b,c,d,e,f,g){"use strict";a=c("getFalcoLogPolicy_DO_NOT_USE")("1175");b=d("FalcoLoggerInternal").create("cpx_content_creation",a);e=b;g["default"]=e}),98); __d("VideoComposerDialogUiFalcoEvent",["FalcoLoggerInternal","getFalcoLogPolicy_DO_NOT_USE"],(function(a,b,c,d,e,f,g){"use strict";a=c("getFalcoLogPolicy_DO_NOT_USE")("1759123");b=d("FalcoLoggerInternal").create("video_composer_dialog_ui",a);e=b;g["default"]=e}),98); __d("useCometVideoComposerLog",["CometComposerViewStateContext","CometVideoToolsLoggingContext","CpxContentCreationFalcoEvent","MediaEditorViewStateContext","PagesCometComposerContext","VideoComposerDialogUiFalcoEvent","react"],(function(a,b,c,d,e,f,g){"use strict";var h;b=h||d("react");var i=b.useCallback,j=b.useContext,k=b.useMemo;function a(){var a,b=j(c("PagesCometComposerContext")),d=j(c("MediaEditorViewStateContext")),e=d==null?void 0:d.index;d=d==null?void 0:d.isEditingPreExistingStory;var f=j(c("CometComposerViewStateContext")),g=j(c("CometVideoToolsLoggingContext")),h=(a=g==null?void 0:g.composerEntryPoint)!=null?a:"pages_feed",l=d===!0?"video_edit":(a=g==null?void 0:g.dialogMode)!=null?a:"video_upload",m=k(function(){var a={};a.post_publish_attempt={event_name:"post_create",event_state:"started"};a.post_success={event_name:"post_create",event_state:"success"};a.post_failure={event_name:"post_create",event_state:"failed"};return a},[]);d=i(function(a,d,g){var i;i=((i=g)!=null?i:f).mediaAttachments;var j=null;i!=null&&i[e]!=null&&i[e].fileType==="VIDEO"&&(i[e].state==="UPLOADING"||i[e].state==="UPLOADED")&&(j=i[e].entID);var k=((i=g)!=null?i:f).creationSessionID,n=(g=d==null?void 0:d.dialogMode)!=null?g:l,o=(i=b==null?void 0:b.pageID)!=null?i:d==null?void 0:d.pageID,p=(g=j)!=null?g:d==null?void 0:d.videoID;c("VideoComposerDialogUiFalcoEvent").log(function(){return{actor_id:o,composer_entry_point:h,dialog_mode:n,error_message:d==null?void 0:d.error_message,event:a,extra_data:d==null?void 0:d.extraData,session_id:k,video_id:p,web_framework:"COMET"}});var q=m[a];!!q&&n==="video_upload"&&c("CpxContentCreationFalcoEvent").log(function(){return babelHelpers["extends"]({},q,{composer_entry_point:h,composer_mode:"create",composer_type:"composer_lite",page_id:o,session_id:k,unified_composer_eligible:!1,video_id:p})})},[h,f,e,l,m,b==null?void 0:b.pageID]);return{logEvent:d}}g["default"]=a}),98); __d("VideoComposerDialogUIEvent",[],(function(a,b,c,d,e,f){a=Object.freeze({CONFIRMATION_DIALOG_CLOSE:"confirmation_dialog_close",DIALOG_OPENED:"dialog_opened",DIALOG_REQUESTED:"dialog_requested",DIALOG_BOOTLOADED:"dialog_bootloaded",EDIT_TABS_LOADED:"edit_tabs_loaded",EXIT_COMPOSER_ATTEMPT:"exit_composer_attempt",EXIT_COMPOSER_CANCEL:"exit_composer_cancel",EXIT_COMPOSER_CONFIRM:"exit_composer_confirm",EXIT_COMPOSER_REPLACE_FILE:"exit_composer_replace_file",EXIT_COMPOSER_SAVE_DRAFT:"exit_composer_save_draft",FILE_REPLACED:"file_replaced",METADATA_LOAD_FAILED:"metadata_load_failed",METADATA_LOAD_SUCCESS:"metadata_load_success",NAVIGATED_FROM_PAGE:"navigated_from_page",POST_BACKDATE_ATTEMPT:"post_backdate_attempt",POST_DRAFT_ATTEMPT:"post_draft_attempt",POST_FAILURE:"post_failure",POST_PREMIERE_ATTEMPT:"post_premiere_attempt",POST_PREMIERE_NOW_ATTEMPT:"post_premiere_now_attempt",POST_PUBLISH_ATTEMPT:"post_publish_attempt",POST_REQUEST_INVALID:"post_request_invalid",POST_REQUEST_SENT:"post_request_sent",POST_SCHEDULE_ATTEMPT:"post_schedule_attempt",POST_SUCCESS:"post_success",SAVE_EDITED_VIDEO_ATTEMPT:"save_edited_video_attempt",SAVE_EDITED_VIDEO_FAILURE:"save_edited_video_failure",SAVE_EDITED_VIDEO_FAILURE_SERVER:"save_edited_video_failure_server",SAVE_EDITED_VIDEO_SUCCESS:"save_edited_video_success",SELECT_EDITING_PUBLISH_ACTION:"select_editing_publish_action",SENDING_POST_REQUEST:"sending_post_request",TAB_BOOTLOAD_ERROR:"tab_bootload_error",TAB_LOAD_ERROR:"tab_load_error",TAB_SWITCHED:"tab_switched",UPLOAD_FAILURE:"upload_failure",UPLOAD_FINISHED:"upload_finished",UPLOAD_VIDEO_BUTTON_CLICKED:"upload_video_button_clicked",USER_PLAYED_VIDEO_PREVIEW:"user_played_video_preview",OPEN_PUBLISH_DRAWER:"open_publish_drawer",CLOSE_PUBLISH_DRAWER:"close_publish_drawer",UPLOAD_BOOTLOAD_FAILURE:"upload_bootload_failure",PAGE_STORY_CREATION_ATTEMPT:"page_story_creation_attempt",PAGE_STORY_CREATION_FAILURE:"page_story_creation_failure",PAGE_STORY_CREATION_SUCCESS:"page_story_creation_success",CAPTIONS_DEFAULT_LOCALE_SELECTED:"captions_default_locale_selected",CAPTIONS_LOCAL_FILES_UPLOAD:"captions_local_files_upload",CAPTIONS_LOCAL_FILE_DELETE:"captions_local_file_delete",POST_CAPTIONS_FAILURE:"post_captions_failure",STORIES_OPTION_TOGGLED:"stories_option_toggled",SUBMIT_MATURE_CONTENT_APPEAL_FORM_SUCCESS:"submit_mature_content_appeal_form_success",RIGHTS_DIALOG_SHOWN:"rights_dialog_shown",RIGHTS_DIALOG_CONFIRM:"rights_dialog_confirm",RM_SECTION_RENDER:"rm_section_render",RM_APPLICATION_UPSELL_RENDER:"rm_application_upsell_render",RM_APPLICATION_UPSELL_APPLY_CTA:"rm_application_upsell_apply_cta",RM_APPLICATION_UPSELL_LEARN_MORE_CTA:"rm_application_upsell_learn_more_cta",RM_ONBOARDING_UPSELL_RENDER:"rm_onboarding_upsell_render",RM_ONBOARDING_UPSELL_CTA:"rm_onboarding_upsell_cta",CUSTOM_THUMBNAIL_SELECTED:"custom_thumbnail_selected",GENERATED_THUMBNAIL_SELECTED:"generated_thumbnail_selected",SCRUBBED_THUMBNAIL_SELECTED:"scrubbed_thumbnail_selected",PREMIERE_BUTTON_RENDERED:"premiere_button_rendered",PREMIERE_MENU_ITEM_RENDERED:"premiere_menu_item_rendered",PREMIERE_DIALOG_OPENED:"premiere_dialog_opened",PREMIERE_DIALOG_SUBMITTED:"premiere_dialog_submitted",PREMIERE_SUBMIT_ERROR:"premiere_submit_error",PREMIERE_SUBMIT_SUCCESS:"premiere_submit_success",SELECTED_PREMIERE_NOW_WITH_LIVING_ROOM:"selected_premiere_now_with_living_room",CLICKED_ADD_VIDEOS_DIALOG:"clicked_add_videos_dialog",SET_LIVING_ROOM_TITLE:"set_living_room_title",POST_PREMIERE_LIVING_ROOM_ATTEMPT:"post_premiere_living_room_attempt",POST_SCHEDULED_PREMIERE_LIVING_ROOM_ATTEMPT:"post_scheduled_premiere_living_room_attempt",OPEN_TRIMMING_EDITOR:"open_trimming_editor",SAVE_TRIMMED_VIDEO:"saved_trimmed_video",SAVE_UNTRIMMED_VIDEO:"save_untrimmed_video",ABORT_TRIMMING:"abort_trimming",OPEN_AUTO_REFRAME_DIALOG:"open_auto_reframe_dialog",SAVE_AUTO_REFRAME_SETTING:"save_auto_reframe_setting",OPEN_AUTO_REFRAME_REVIEW_DIALOG:"open_auto_reframe_review_dialog",OPEN_VU_TRAILER_DIALOG:"open_vu_trailer_dialog",SAVE_VU_TRAILER_SETTING:"save_vu_trailer_setting",OPEN_VU_TRAILER_REVIEW_DIALOG:"open_vu_trailer_review_dialog",OPEN_RESTRICTED_AUDIENCE_DIALOG:"open_restricted_audience_dialog",OPEN_EDIT_RESTRICTED_AUDIENCE_DIALOG:"open_edit_restricted_audience_dialog",OPEN_ATTRIBUTE_EDIT_RESTRICTED_AUDIENCE_DIALOG:"open_attribute_edit_restricted_audience_dialog",SAVE_RESTRICTED_AUDIENCE_SETTING:"save_restricted_audience_setting",SAVE_MANUAL_RESTRICTED_AUDIENCE_SETTING:"save_manual_restricted_audience_setting",SET_AUDIENCE_TO_PUBLIC:"set_audience_to_public",SAVE_VIDEO_EDIT_RESTRICTED_AUDIENCE:"save_video_edit_restricted_audience",UPDATE_ATTRIBUTE_RESTRICTED_AUDIENCE_SETTING:"update_attribute_restricted_audience_setting",UPDATE_ATTRIBUTE_RESTRICTED_AUDIENCE_SETTING_ERROR:"update_attribute_restricted_audience_setting_error",CREATE_LOCATION_PRESET:"create_location_preset",CREATE_LOCATION_PRESET_ERROR:"create_location_preset_error",UPDATE_LOCATION_PRESET:"update_location_preset",UPDATE_LOCATION_PRESET_ERROR:"update_location_preset_error",DELETE_LOCATION_PRESET:"delete_location_preset",DELETE_LOCATION_PRESET_ERROR:"delete_location_preset_error",CROSSPOST_ALL_MONETIZABLE_CLICKED:"crosspost_all_monetizable_clicked",AD_BREAKS_MID_ROLL_OPT_OUT_ENABLED:"ad_breaks_mid_roll_opt_out_enabled",NONPROFIT_TAB_SELECTED:"nonprofit_tab_selected",FUNDRAISER_TAB_SELECTED:"fundraiser_tab_selected",NONPROFIT_LEGACY_SELECTED:"nonprofit_legacy_selected",NONPROFIT_SELECTED:"nonprofit_selected",FUNDRAISER_SELECTED:"fundraiser_selected",DONATION_REMOVE_CLICKED:"donation_remove_clicked",OPEN_PUBLISH_OPTION_EDIT_FLOW:"open_publish_option_edit_flow",SAVE_PUBLISH_OPTION_EDIT_FLOW_ATTEMPT:"save_publish_option_edit_flow_attempt",SAVE_PUBLISH_OPTION_EDIT_FLOW_SUCCESS:"save_publish_option_edit_flow_success",CANCEL_PUBLISH_OPTION_EDIT_FLOW:"cancel_publish_option_edit_flow",VISIT_CREATOR_STUDIO_BUTTON_CLICK:"visit_creator_studio_button_click",VIDEO_SCHEDULE_DIALOG_OPEN:"video_schedule_dialog_open",VIDEO_SCHEDULE_DIALOG_BACK:"video_schedule_dialog_back",VIDEO_SCHEDULE_DIALOG_CLEAR:"video_schedule_dialog_clear",VIDEO_SCHEDULE_DIALOG_SAVE:"video_schedule_dialog_save",VIDEO_CAPTIONS_SRT_FILE_UPLOAD_ATTEMPT:"video_captions_srt_file_upload_attempt",VIDEO_CAPTIONS_SRT_FILE_UPLOAD_SUCCESS:"video_captions_srt_file_upload_success",VIDEO_CAPTIONS_SRT_FILE_UPLOAD_FAILURE:"video_captions_srt_file_upload_failure",VIDEO_CAPTIONS_SRT_FILE_DELETE_ATTEMPT:"video_captions_srt_file_delete_attempt",VIDEO_CAPTIONS_SRT_FILE_DELETE_SUCCESS:"video_captions_srt_file_delete_success",VIDEO_CAPTIONS_SRT_FILE_DELETE_FAILURE:"video_captions_srt_file_delete_failure",VIDEO_CAPTIONS_AUTO_GEN_TOGGLE_ATTEMPT:"video_captions_auto_gen_toggle_attempt",VIDEO_CAPTIONS_AUTO_GEN_TOGGLE_SUCCESS:"video_captions_auto_gen_toggle_success",VIDEO_CAPTIONS_AUTO_GEN_TOGGLE_FAILURE:"video_captions_auto_gen_toggle_failure",VIDEO_CAPTIONS_AUTO_GEN_REVIEW_TOGGLE_ATTEMPT:"video_captions_auto_gen_review_toggle_attempt",VIDEO_CAPTIONS_AUTO_GEN_REVIEW_TOGGLE_SUCCESS:"video_captions_auto_gen_review_toggle_success",VIDEO_CAPTIONS_AUTO_GEN_REVIEW_TOGGLE_FAILURE:"video_captions_auto_gen_review_toggle_failure",VIDEO_CAPTIONS_AUTO_GEN_SUBTITLES_TOGGLE_ATTEMPT:"video_captions_auto_gen_subtitles_toggle_attempt",VIDEO_CAPTIONS_AUTO_GEN_SUBTITLES_TOGGLE_SUCCESS:"video_captions_auto_gen_subtitles_toggle_success",VIDEO_CAPTIONS_AUTO_GEN_SUBTITLES_TOGGLE_FAILURE:"video_captions_auto_gen_subtitles_toggle_failure",VIDEO_CUSTOM_THUMBNAIL_UPLOAD:"video_custom_thumbnail_upload",VIDEO_CUSTOM_THUMBNAIL_DELETE:"video_custom_thumbnail_delete",ENTER_HASHTAG_MANAGER:"enter_hashtag_manager",CANCEL_HASHTAG_MANAGER:"cancel_hashtag_manager",USE_HASHTAG_MANAGER:"use_hashtag_manager",DUBBING_START:"dubbing_start",DUBBING_SUBTITLE_NOT_FOUND:"dubbing_subtitle_not_found",DUBBING_SUBTITLE_TEXT_NOT_AVAILABLE:"dubbing_subtitle_text_not_available",DUBBING_EVERSTORE_HANDLE_NOT_FOUND:"dubbing_everstore_handle_not_found",DUBBING_SUCCESS:"dubbing_success",DUBBING_PUBLISH_SUCCESS:"dubbing_publish_success",DUBBING_FAILURE:"dubbing_failure",TEXT_TRANSLATION_COMPLETE:"text_translation_complete",TEXT_TRANSLATION_FAILURE:"text_translation_failure",DUBBING_METADATA_UPDATE_FAILURE:"dubbing_metadata_update_failure",SAVED_DUBBED_AS_DRAFT:"saved_dubbed_as_draft",DUBBING_FINAL_COMMAND:"dubbing_final_command",DUBBING_M1_PROMO_CTA_CLICKED:"dubbing_m1_promo_cta_clicked",DUBBING_SPEECH_SUPPRESSION_SUCCESSFUL:"dubbing_speech_suppression_successful",DUBBING_SPEECH_SUPPRESSION_HANDLE_POLL_CRASHED:"dubbing_speech_suppression_handle_poll_crashed",DUBBING_RIGHT_ENCODINGS_CHECK_START:"dubbing_right_encodings_check_start",DUBBING_RIGHT_ENCODINGS_CHECK_END:"dubbing_right_encodings_check_end",DUBBING_TTS_FAILED:"dubbing_tts_failed",AUTO_DUB_CARD_SHOWN:"auto_dub_card_shown",AUTO_DUB_CLICK_DISABLE:"auto_dub_click_disable",AUTO_DUB_CLICK_ENABLE:"auto_dub_click_enable",AUTO_DUB_CAPTIONS_LOADED:"auto_dub_captions_loaded",AUTO_DUB_CREATE_DUBBED_PREVIEW_CALLED:"auto_dub_create_dubbed_preview_called",AUTO_DUB_CREATE_DUBBED_PREVIEW_FAILURE:"auto_dub_create_dubbed_preview_failure",AUTO_DUB_CREATE_DUBBED_PREVIEW_SUCCESS:"auto_dub_create_dubbed_preview_success",AUTO_DUB_ENCODE_ORIGINAL_PREVIEW_CALLED:"auto_dub_encode_original_preview_called",AUTO_DUB_ENCODE_ORIGINAL_PREVIEW_FAILURE:"auto_dub_encode_original_preview_failure",AUTO_DUB_ENCODE_ORIGINAL_PREVIEW_SUCCESS:"auto_dub_encode_original_preview_success",AUTO_DUB_PREVIEW_PLAYED:"auto_dub_preview_played",AUTO_DUB_SPANISH_SUBTITLES_LOADED:"auto_dub_spanish_subtitles_loaded",AUTO_DUB_VIDEO_ELIGIBLE:"auto_dub_video_eligible",AUTO_DUB_VOICE_SELECTED:"auto_dub_voice_selected",AUTO_AB_LANDING_BANNER_RENDERED:"auto_ab_landing_banner_rendered",AUTO_AB_LANDING_BANNER_CLOSED:"auto_ab_landing_banner_closed",AUTO_AB_BANNER_TO_TAB_TRANSITION:"auto_ab_banner_to_tab_transition",AUTO_AB_TAB_SELECTED:"auto_ab_tab_selected",AUTO_AB_TOGGLE_IN:"auto_ab_toggle_in",AUTO_AB_TOGGLE_OUT:"auto_ab_toggle_out",AUTO_AB_CREATION_ATTEMPT:"auto_ab_creation_attempt",AUTO_AB_CREATION_SUCCESS:"auto_ab_creation_success",AUTO_AB_CREATION_FAILURE:"auto_ab_creation_failure",OPEN_UNIFIED_REVIEW_DIALOG:"open_unified_review_dialog",POST_PUBLISHED_FROM_UNIFIED_COMPOSER:"post_published_from_unified_composer",UNIFIED_VU_WELCOME_SCREEN_CTA_CLICK:"unified_vu_welcome_screen_cta_click",OPTIMIZATION_TAB_CLICKED:"optimization_tab_clicked",OPTIMIZATION_TAB_ENABLED:"optimization_tab_enabled",VU_V1_REFRAMING_VISIBLE:"vu_v1_reframing_visible",VU_V2_STO_VISIBLE:"vu_v2_sto_visible",VU_V2_TRAILER_VISIBLE:"vu_v2_trailer_visible",REELS_UPSELL_BANNER_RENDERED:"reels_upsell_banner_rendered",REELS_UPSELL_BANNER_CLICKED:"reels_upsell_banner_clicked",REELS_UPSELL_BANNER_DISMISSED:"reels_upsell_banner_dismissed",SFV_TO_REELS_DIALOG_TRANSITION_TO_RWC_DIALOG_STARTED:"sfv_to_reels_dialog_transition_to_rwc_dialog_started",SFV_TO_REELS_DIALOG_TRANSITION_TO_RWC_DIALOG_SUCCESS:"sfv_to_reels_dialog_transition_to_rwc_dialog_success",SFV_TO_REELS_DIALOG_SWITCH_BACK:"sfv_to_reels_dialog_switch_back",SFV_TO_REELS_DIALOG_SWITCH_BACK_WITH_PAGE_LEVEL_OPT_OUT:"sfv_to_reels_dialog_switch_back_with_page_level_opt_out",SFV_TO_REELS_DIALOG_EXIT_ALL_VIA_EXIT_MODAL:"sfv_to_reels_dialog_exit_all_via_exit_modal",SFV_TO_REELS_DIALOG_REEL_PUBLISH_STARTED:"sfv_to_reels_dialog_reel_publish_started",SFV_TO_REELS_DIALOG_REEL_PUBLISH_SUCCESSFUL:"sfv_to_reels_dialog_reel_publish_successful",VOD_TO_REEL_LINKING_SESSION_ELIGIBLE:"vod_to_reel_linking_session_eligible",VOD_TO_REEL_LINKING_TOAST_IMPRESSION:"vod_to_reel_linking_toast_impression",VOD_TO_REEL_LINKING_TOAST_CLICKED:"vod_to_reel_linking_toast_clicked",VOD_TO_REEL_LINKING_MODAL_IMPRESSION:"vod_to_reel_linking_modal_impression",VOD_TO_REEL_LINKING_MODAL_CLICKED:"vod_to_reel_linking_modal_clicked",VOD_TO_REEL_LINKING_MODAL_DISMISS:"vod_to_reel_linking_modal_dismiss",VOD_TO_REEL_LINKING_TRANSITION_TO_RWC_DIALOG_SUCCESS:"vod_to_reel_linking_transition_to_rwc_dialog_success",VOD_TO_REEL_LINKING_REEL_PUBLISH_STARTED:"vod_to_reel_linking_reel_publish_started",VOD_TO_REEL_LINKING_REEL_PUBLISH_SUCCESSFUL:"vod_to_reel_linking_reel_publish_successful",REELS_CREATION_DIALOG_XOUT_CLICKED:"reels_creation_dialog_xout_clicked",REELS_CREATION_DIALOG_EXIT_DIALOG_KEEP_EDITING:"reels_creation_dialog_exit_dialog_keep_editing",REELS_CREATION_DIALOG_EXIT_DIALOG_EXIT_NOW:"reels_creation_dialog_exit_dialog_exit_now",VIDEO_SCHEDULE_TIME_VALIDATION:"video_schedule_time_validation"});f["default"]=a}),66);/*FB_PKG_DELIM*/ __d("CometInputWithCommands.react",["CometComponentWithKeyCommands.react","CometKeys","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h||(h=d("react")),j=h.useMemo;function a(a){var b=j(function(){var b=[];a.enter!=null&&b.push({command:{key:c("CometKeys").ENTER},description:a.enter.description,handler:a.enter.handler,triggerFromInputs:!0});a["delete"]!=null&&b.push({command:{key:c("CometKeys").DELETE},description:a["delete"].description,handler:a["delete"].handler,triggerFromInputs:!0});a.up!=null&&b.push({command:{key:c("CometKeys").UP},description:a.up.description,handler:a.up.handler,triggerFromInputs:!0});a.down!=null&&b.push({command:{key:c("CometKeys").DOWN},description:a.down.description,handler:a.down.handler,triggerFromInputs:!0});a.tab!=null&&b.push({command:{key:c("CometKeys").TAB},description:a.tab.description,handler:a.tab.handler,triggerFromInputs:!0});a.esc!=null&&b.push({command:{key:c("CometKeys").ESCAPE},description:a.esc.description,handler:a.esc.handler,triggerFromInputs:!0});return b},[a["delete"],a.down,a.enter,a.esc,a.tab,a.up]);return i.jsx(c("CometComponentWithKeyCommands.react"),{commandConfigs:b,debugName:"InputSubmit",elementType:a.isInline===!0?"span":"div",xstyle:a.xstyle,children:a.children})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("CometTextInputWithIcon.react",["BaseTextInput.react","CometIcon.react","CometScreenReaderText.react","gkx","react","stylex","useBaseInputValidators"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j=i||(i=d("react")),k=i.useId;b={disabledInput:{cursor:"x1h6gzvc",$$css:!0},iconEnd:{end:"x1epdt8v",left:null,right:null,position:"x10l6tqk",top:"xfr5jun",$$css:!0},iconStart:{position:"x10l6tqk",start:"xrokvo6",left:null,right:null,top:"xfr5jun",$$css:!0},root:{color:"xzsf02u",fontSize:"x6prxxf",position:"x1n2onr6",$$css:!0},textInput:{backgroundColor:"x1jx94hy",borderTop:"x1n2xptk",borderEnd:"xkbpzyx",borderBottom:"xdppsyt",borderStart:"x1rr5fae",borderTopStartRadius:"x1lq5wgf",borderTopEndRadius:"xgqcy7u",borderBottomEndRadius:"x30kzoy",borderBottomStartRadius:"x9jhf4c",boxSizing:"x9f619",color:"xzsf02u",fontSize:"x1qlqyl8",fontWeight:"xk50ysn",height:"xc9qbxq",width:"xh8yej3",$$css:!0},textInputEndIcon:{paddingTop:"xexx8yu",paddingEnd:"x1gz9zih",paddingBottom:"x18d9i69",paddingStart:"x1sln4lm",$$css:!0},textInputStartIcon:{paddingTop:"xexx8yu",paddingEnd:"x1iji9kk",paddingBottom:"x18d9i69",paddingStart:"x1b9tyad",$$css:!0}};e={textInput:{backgroundColor:"x1jx94hy",borderTopWidth:"x178xt8z",borderEndWidth:"xm81vs4",borderBottomWidth:"xso031l",borderStartWidth:"xy80clv",borderTopStyle:"x13fuv20",borderEndStyle:"xu3j5b3",borderBottomStyle:"x1q0q8m5",borderStartStyle:"x26u7qi",borderTopColor:"x8cjs6t",borderEndColor:"x1ch86jh",borderBottomColor:"x80vd3b",borderStartColor:"xckqwgs",borderTopStartRadius:"x1lq5wgf",borderTopEndRadius:"xgqcy7u",borderBottomEndRadius:"x30kzoy",borderBottomStartRadius:"x9jhf4c",boxSizing:"x9f619",color:"xzsf02u",fontSize:"x1qlqyl8",fontWeight:"xk50ysn",height:"xc9qbxq",width:"xh8yej3",$$css:!0}};var l=c("gkx")("4855")?babelHelpers["extends"]({},b,e):b;function a(a,b){var d,e=a["aria-describedby"],f=a.autoFocus_PLEASE_USE_FOCUS_REGION_INSTEAD,g=a.disabled;g=g===void 0?!1:g;var i=a.icon,m=a.iconColor,n=a.iconPlacement;n=n===void 0?"start":n;var o=a.label,p=a.validator,q=a.value;a=babelHelpers.objectWithoutPropertiesLoose(a,["aria-describedby","autoFocus_PLEASE_USE_FOCUS_REGION_INSTEAD","disabled","icon","iconColor","iconPlacement","label","validator","value"]);var r=k();p=c("useBaseInputValidators")({validator:p,value:String(q)});var s=p.topResultReason;p=p.topResultType;e=s!=null?r+" "+((d=e)!=null?d:""):(d=e)!=null?d:void 0;return j.jsxs("div",{className:(h||(h=c("stylex")))(l.root),children:[n==="start"?j.jsx("div",{className:(h||(h=c("stylex")))(l.iconStart),children:j.jsx(c("CometIcon.react"),{color:m,icon:i,size:16})}):null,j.jsx(c("BaseTextInput.react"),babelHelpers["extends"]({"aria-describedby":e,"aria-invalid":p==="ERROR","aria-label":o,autoFocus:f,disabled:g,value:q,xstyle:[g&&l.disabledInput,l.textInput,n==="start"&&l.textInputStartIcon,n==="end"&&l.textInputEndIcon]},a,{ref:b})),n==="end"?j.jsx("div",{className:(h||(h=c("stylex")))(l.iconEnd),children:j.jsx(c("CometIcon.react"),{color:m,icon:i,size:16})}):null,s!=null?j.jsx(c("CometScreenReaderText.react"),{id:r,text:s}):null]})}a.displayName=a.name+" [from "+f.id+"]";d=j.forwardRef(a);g["default"]=d}),98); __d("CometComposerFormRefContext",["react"],(function(a,b,c,d,e,f,g){"use strict";var h;a=h||d("react");b=a.createContext({current:null});g["default"]=b}),98); __d("CometComposerPluginsContext",["react"],(function(a,b,c,d,e,f,g){"use strict";var h;a=h||d("react");b=a.createContext({decorators:new Map(),handlers:new Map()});g["default"]=b}),98); __d("cometComposerPluginsReducers",[],(function(a,b,c,d,e,f){"use strict";function g(a,b){var c=a.get(b);if(c!=null){a.set(b,c+1);return a}else{c=new Map(a);c.set(b,1);return c}}function h(a,b){var c=a.get(b);if(c!=null)if(c>1)a.set(b,c-1);else{c=new Map(a);c["delete"](b);return c}return a}function a(a,b){switch(b.type){case"install_decorator":case"uninstall_decorator":var c=b.type==="install_decorator"?g(a.decorators,b.decorator):h(a.decorators,b.decorator);if(c!==a.decorators)return babelHelpers["extends"]({},a,{decorators:c});break;case"install_handler":case"uninstall_handler":c=b.type==="install_handler"?g(a.handlers,b.handler):h(a.handlers,b.handler);if(c!==a.handlers)return babelHelpers["extends"]({},a,{handlers:c});break}return a}f["default"]=a}),66); __d("createEmptyCometComposerViewStateWithTarget",["createEmptyCometComposerViewState"],(function(a,b,c,d,e,f,g){"use strict";function a(a){return function(b){b=c("createEmptyCometComposerViewState")(b);return babelHelpers["extends"]({},b,{target:a})}}g["default"]=a}),98); __d("getComposerValidationErrors",[],(function(a,b,c,d,e,f){"use strict";function a(a,b){var c={};for(var d in a){var e=a[d];e=e(b);e!=null&&(c[d]=e)}return c}f["default"]=a}),66); __d("getIneligibleComposerFeatures",[],(function(a,b,c,d,e,f){"use strict";function a(a,b){var c=new Set();for(var d in a){var e=a[d];e=e(b);e!=null&&e.forEach(function(a){return c.add(a)})}return c}f["default"]=a}),66); __d("getShouldTriggerUnsavedChangesFlow",[],(function(a,b,c,d,e,f){"use strict";function a(a){return!Boolean(a==null?void 0:a.ignoreDirtyFlag)&&Boolean(a==null?void 0:a.isDirty)}f["default"]=a}),66); __d("isAttachmentEmpty",[],(function(a,b,c,d,e,f){"use strict";function a(a){var b;if(((b=a.isEmptyMetaData)==null?void 0:b.useIsEmpty)!==!0)return!1;if(((b=a.attachmentArea)==null?void 0:b.activeAttachmentType)!=null){if(a.attachmentArea.activeAttachmentType==="MEDIA"&&(a.mediaAttachments==null||a.mediaAttachments.length===0))return!0;if(a.attachmentArea.activeAttachmentType!=="FORMATTED_TEXT")return!1}if(((b=a.footerAttachmentArea)==null?void 0:b.activeFooterAttachmentType)!=null)return!1;if(a.withTagIDsTracker!=null&&a.withTagIDsTracker.size>0)return!1;if(a.activityMinutiae!=null)return!1;return a.locationMinutiae!=null?!1:!0}f["default"]=a}),66); __d("isComposerEmpty",["cr:47","getPlainTextFromDeferredDraftEditorState_DEPRECATED_DO_NOT_USE","gkx","isAttachmentEmpty"],(function(a,b,c,d,e,f,g){"use strict";function h(a){a=(a==null?void 0:a.editorState)?c("getPlainTextFromDeferredDraftEditorState_DEPRECATED_DO_NOT_USE")(a==null?void 0:a.editorState).trim():"";return a.length===0}var i=c("gkx")("1224637");function a(a){var d;if(((d=a.isEmptyMetaData)==null?void 0:d.useIsEmpty)!==!0)return!1;if(i&&a.lexicalEditorIsEmpty===!1)return!1;if(!i&&a.lexicalEditorIsDirty===!0)return!1;if(a.lexicalEditor==null&&!h(a))return!1;if(!c("isAttachmentEmpty")(a))return!1;return(b("cr:47")==null?void 0:b("cr:47")(a))?!1:!0}g["default"]=a}),98); __d("reduceComposerViewState",["isComposerEmpty"],(function(a,b,c,d,e,f,g){"use strict";function a(a,b,d,e,f){var g=d;d=a.current.keys();for(var a=d,d=Array.isArray(a),h=0,a=d?a:a[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]();;){var i;if(d){if(h>=a.length)break;i=a[h++]}else{h=a.next();if(h.done)break;i=h.value}i=i;g=i(g,f)}i=g.lexicalEditorIsDirty===!0||Array.from(b.current.keys()).some(function(a){a=a(e,g);return a===!0||a==="UPDATED"||a==="DELETED"});return babelHelpers["extends"]({},g,{isDirty:i,isEmptyMetaData:{isEmpty:c("isComposerEmpty")(g),useIsEmpty:(d=(h=g.isEmptyMetaData)==null?void 0:h.useIsEmpty)!=null?d:!0}})}g["default"]=a}),98); __d("useComposerLexicalEligibityCheckHooks.react",[],(function(a,b,c,d,e,f){"use strict";function a(a,b){var c=new Set();if(b!=null)for(var d in b){var e=b[d](a);e.size>0&&e.forEach(function(a){return c.add(a)})}return c}f["default"]=a}),66); __d("useComposerLexicalValidationHooks.react",[],(function(a,b,c,d,e,f){"use strict";function a(a,b){var c={};if(b!=null)for(var d in b){var e=b[d](a);e!=null?c[d]=e:c[d]!=null&&delete c[d]}return c}f["default"]=a}),66); __d("CometComposer.react",["CometComposerFeatureDefinitionsContext","CometComposerFormRefContext","CometComposerIneligibilityContext","CometComposerLoggerDispatcherContext","CometComposerPluginsContext","CometComposerPluginsDispatchContext","CometComposerPreSubmitHooksContext","CometComposerValidationErrorsContext","CometComposerViewStateAlteredContext","CometComposerViewStateContext","CometComposerViewStateDispatcherContext","CometComposerViewStateReducersContext","CometOnBeforeUnload.react","FBLogger","Promise","cometComposerPluginsReducers","createEmptyCometComposerViewStateWithTarget","getComposerUnsavedChangesAlert","getComposerValidationErrors","getIneligibleComposerFeatures","getShouldTriggerUnsavedChangesFlow","react","reduceComposerViewState","shallowEqual","useComposerLexicalEligibityCheckHooks.react","useComposerLexicalValidationHooks.react","useComposerTerminalEventLog"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j=i||(i=d("react"));e=i;var k=e.useCallback,l=e.useImperativeHandle,m=e.useMemo,n=e.useReducer,o=e.useRef;function a(a,d){var e=a.beginningViewState,f=a.children,g=a.eligibilityCheckers,i=a.featureDefinitions,p=a.lexicalEligibityCheckHooks,q=a.lexicalValidationHooks,r=a.loggers,s=a.onBeforeViewStateChange,t=a.onSubmitCommit,u=a.onSubmitHalt,v=a.onSubmitStart,w=a.onValidationErrors,x=a.registerOnBeforeUnload;x=x===void 0?!0:x;var y=a.target,z=a.unalteredBeginningViewState,A=a.validators,B=o(new Map()),C=o(new Map()),D=o({}),E=o(new Set()),F=o(new Map()),G=o(null);a=o(null);e=n(function(a,b){b=c("reduceComposerViewState")(B,C,a,z,b);G.current=b;s&&s(b,a);return b},e,c("createEmptyCometComposerViewStateWithTarget")(y));var H=e[0];e=e[1];var I=function(){if(c("getShouldTriggerUnsavedChangesFlow")(H))return c("getComposerUnsavedChangesAlert")()};l(d,function(){return{getViewState:function(){return H}}},[H]);d=n(c("cometComposerPluginsReducers"),{decorators:new Map(),handlers:new Map()});var J=d[0];d=d[1];var K=m(function(){return A!=null?c("getComposerValidationErrors")(A,H):{}},[A,H]);q=c("useComposerLexicalValidationHooks.react")(H,q);K=babelHelpers["extends"]({},K,q);c("shallowEqual")(D.current,K)||(D.current=K);var L=m(function(){return g!=null?c("getIneligibleComposerFeatures")(g,H):new Set()},[g,H]);q=c("useComposerLexicalEligibityCheckHooks.react")(H,p);K=m(function(){return{featureDefinitions:i}},[i]);(E.current.size!==L.size+q.size||!Array.from(L).every(function(a){return E.current.has(a)})||!Array.from(q).every(function(a){return E.current.has(a)}))&&(q.forEach(function(a){return L.add(a)}),E.current=new Set(L));var M=k(function(a,c){a!=null&&a.type!=="press"&&a.preventDefault();if(Object.keys(D.current).length>0){w&&w(D.current);return}var d=G.current;if(d==null)return;v&&v(d);a=F.current;if(a){a=Array.from(a.keys()).reduce(function(a,e){return a.then(function(){return new(h||(h=b("Promise")))(function(a,b){e({onContinue:a,onHalt:b},d,c)})})},(h||(h=b("Promise"))).resolve());a.then(function(){t(d,c)})["catch"](function(){u&&u(d)})}else t(d,c)},[t,u,v,w]),N=H.creationSessionID;p=m(function(){return function(a){var b;N==null?c("FBLogger")("comet_composer").mustfix("creationSessionID should be defined in composer of type "+String(y==null?void 0:y.type)):((b=r)!=null?b:[]).map(function(b){return b(a,N,{target:y})})}},[N,y,r]);c("useComposerTerminalEventLog")(function(){return c("getShouldTriggerUnsavedChangesFlow")(H)},function(){return N});return j.jsx(c("CometComposerPluginsDispatchContext").Provider,{value:d,children:j.jsx(c("CometComposerPluginsContext").Provider,{value:J,children:j.jsx(c("CometComposerFeatureDefinitionsContext").Provider,{value:K,children:j.jsx(c("CometComposerViewStateReducersContext").Provider,{value:B,children:j.jsx(c("CometComposerViewStateAlteredContext").Provider,{value:C,children:j.jsx(c("CometComposerViewStateContext").Provider,{value:H,children:j.jsx(c("CometComposerViewStateDispatcherContext").Provider,{value:e,children:j.jsx(c("CometComposerValidationErrorsContext").Provider,{value:D.current,children:j.jsx(c("CometComposerIneligibilityContext").Provider,{value:E.current,children:j.jsx(c("CometComposerLoggerDispatcherContext").Provider,{value:p,children:j.jsx(c("CometComposerPreSubmitHooksContext").Provider,{value:F,children:j.jsxs(c("CometComposerFormRefContext").Provider,{value:a,children:[j.jsxs("form",{"data-testid":void 0,method:"POST",onSubmit:M,ref:a,children:[m(function(){return f(M)},[f,M]),j.jsx("input",{style:{display:"none"},type:"submit"})]}),x?j.jsx(c("CometOnBeforeUnload.react"),{onBeforeUnload:I}):null]})})})})})})})})})})})})}a.displayName=a.name+" [from "+f.id+"]";d=j.forwardRef(a);g["default"]=d}),98); __d("createComposerDeferredPlugin",["react"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h||(h=d("react"));b=h;var j=b.useEffect,k=b.useRef,l=b.useState;function a(a){function b(b){var c=k(a.getModuleIfRequireable()),d=l(c.current!=null);d[0];var e=d[1];j(function(){var b=a.onReady(function(a){c.current=a,e(!0)});b=b.remove;return b},[]);if(c.current!=null){d=c.current;return i.jsx(d,babelHelpers["extends"]({},b))}return null}return i.memo(b)}g["default"]=a}),98); __d("GeminiComposerLinksPluginForLexical.react",["createComposerDeferredPlugin","react","requireDeferred"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h||d("react"),j=c("createComposerDeferredPlugin")(c("requireDeferred")("GeminiLexicalAutoLinkPlugin.react").__setRef("GeminiComposerLinksPluginForLexical.react")),k=c("createComposerDeferredPlugin")(c("requireDeferred")("GeminiComposerLinkAttachmentForLexical.react").__setRef("GeminiComposerLinksPluginForLexical.react"));function a(){return i.jsxs(i.Fragment,{children:[i.jsx(j,{}),i.jsx(k,{})]})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("getDeferredComposerTransformer",[],(function(a,b,c,d,e,f){"use strict";function a(a){return function(b,c,d,e){a.loadImmediately(function(a){a(b,c,d,e)})}}f["default"]=a}),66); __d("transformComposerViewStateToCreationData",[],(function(a,b,c,d,e,f){"use strict";function a(a,b,c,d,e){function f(d,g){var h=c[g];if(h!=null){var i=function(a){f(a,g+1)};h(a,d,i,b)}else e(d)}f(d,0)}f["default"]=a}),66); __d("CometComposerEditorForLexicalBootstrapPlugin.react",["FeedComposerCometTextStyleContext","Lexical","LexicalComposerContext","react","useLexicalInitializeEditor__DEPRECATED"],(function(a,b,c,d,e,f,g){"use strict";var h;b=h||d("react");var i=b.useContext,j=b.useEffect,k=b.useLayoutEffect;function a(a){var b=a.autoFocus,e=a.inputElementRef,f=a.textAlignment;a=d("LexicalComposerContext").useLexicalComposerContext();var g=a[0];a=i(c("FeedComposerCometTextStyleContext"));var h=a.color,l=a.fontSize;c("useLexicalInitializeEditor__DEPRECATED")(g);k(function(){g.update(function(){var a=d("Lexical").$getRoot().getFirstChild();f!=null?a==null?void 0:a.setFormat(f):a!=null&&a.setFormat("")}),e.current!=null&&(e.current.style.color=h,e.current.style.fontSize=l+"px")},[g,h,l,f,e]);j(function(){b===!0&&g.focus()},[b,g])}g["default"]=a}),98); __d("cometComposerLexicalCreateEditor",["CometLexicalDelightNode","CometLexicalEmojiNode","CometLexicalGenericEntityNode","FBLogger","Lexical","LexicalHashtag","LexicalLink","LexicalOverflow","cometLexicalBaseTheme","mlcErrorHandler__INTERNAL"],(function(a,b,c,d,e,f,g){"use strict";function a(){var a=d("Lexical").createEditor({namespace:"CometPostComposer",nodes:[d("CometLexicalGenericEntityNode").CometLexicalGenericEntityNode,d("CometLexicalEmojiNode").EmojiNode,d("LexicalLink").LinkNode,d("LexicalLink").AutoLinkNode,d("LexicalHashtag").HashtagNode,d("LexicalOverflow").OverflowNode,d("CometLexicalDelightNode").CometLexicalDelightNode],onError:function(b){return c("mlcErrorHandler__INTERNAL")(b,a,function(a){c("FBLogger")("CometComposer").catching(b).mustfix("Lexical Error Composer \u2013 "+a)})},theme:babelHelpers["extends"]({},c("cometLexicalBaseTheme"),{hashtag:"xv78j7m x1sy0etr",link:"x1fey0fg xmper1u x1edh9d7",paragraph:"xdj266r x11i5rnm xat24cr x1mh8g0r x16tdsg8",placeholder:"xi81zsa x6ikm8r x10wlt62 x47corl x10l6tqk xlyipyv x13vifvy x87ps6o xuxw1ft"})});return a}g["default"]=a}),98); __d("CometComposerEditorForLexical.react",["CometComposerEditorForLexicalBootstrapPlugin.react","CometLexicalContentEditable.react","LexicalComposerContext","LexicalErrorBoundary","LexicalHistoryPlugin","LexicalPlainTextPlugin","MLCInstrumentationPluginDeferred__INTERNAL.react","cometComposerLexicalCreateEditor","composerLexicalEditorViewStateReducer","cr:1305","cr:2092","gkx","react","useComposerViewStateDispatcher","useComposerViewStateReducer","withComposerViewStatePart"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h||(h=d("react"));e=h;var j=e.useCallback,k=e.useMemo,l=e.useRef,m=c("gkx")("1224637"),n=c("gkx")("6943"),o={placeholder:{color:"xi81zsa",overflowX:"x6ikm8r",overflowY:"x10wlt62",pointerEvents:"x47corl",position:"x10l6tqk",textOverflow:"xlyipyv",top:"xs7f9wi",userSelect:"x87ps6o",zIndex:"x1vjfegm",$$css:!0},root:{boxSizing:"x9f619",display:"x1lliihq",height:"x5yr21d",width:"xh8yej3",$$css:!0}};function a(a){var e=a.ariaLabel,f=a.autoFocus,g=a.canUseGeminiLinksPlugin,h=a.lexicalEditor,p=a.placeholderCustomStyles,q=a.placeholderText,r=a.surface;a=a.textAlignment;c("useComposerViewStateReducer")(c("composerLexicalEditorViewStateReducer"));var s=c("useComposerViewStateDispatcher")(),t=k(function(){if(h==null){var a=c("cometComposerLexicalCreateEditor")();s({lexicalEditor:a,type:"SET_LEXICAL_EDITOR_STATE"});return a}return h},[h,s]),u=l(null),v=j(function(a){if(!n){var b=u.current;if(a===null||b===a)return}u.current=a;t.setRootElement(a)},[t]),w=k(function(){return[t,d("LexicalComposerContext").createLexicalComposerContext()]},[t]);return i.jsxs(i.Fragment,{children:[i.jsx(c("MLCInstrumentationPluginDeferred__INTERNAL.react"),{editor__DEPRECATED:t,format__DEPRECATED:"PlainText",policyProduct:m?"workplace":"facebook",surface:r}),i.jsxs(d("LexicalComposerContext").LexicalComposerContext.Provider,{value:w,children:[i.jsx(d("LexicalPlainTextPlugin").PlainTextPlugin,{ErrorBoundary:c("LexicalErrorBoundary"),contentEditable:i.jsx(c("CometLexicalContentEditable.react"),{ariaLabel:((r=q)!=null?r:[]).length>0?q:e,contentEditableRef:v,editor:t,spellCheck:!0,tabIndex:0,xstyle:o.root}),placeholder:i.jsx("div",{className:"xi81zsa x6ikm8r x10wlt62 x47corl x10l6tqk xlyipyv xs7f9wi x87ps6o x1vjfegm",style:p,children:q})}),Boolean(g)&&b("cr:2092")!=null&&i.jsx(b("cr:2092"),{}),i.jsx(d("LexicalHistoryPlugin").HistoryPlugin,{}),i.jsx(c("CometComposerEditorForLexicalBootstrapPlugin.react"),{autoFocus:f,inputElementRef:u,textAlignment:a})]}),b("cr:1305")!=null?i.jsx(b("cr:1305"),{editor__DEPRECATED:t}):null]})}a.displayName=a.name+" [from "+f.id+"]";e=c("withComposerViewStatePart")(a,function(a){return{lexicalEditor:a.lexicalEditor}});g["default"]=e}),98); __d("transformDraftEditorStateToTextWithEntities",["UnicodeUtils","emptyFunction"],(function(a,b,c,d,e,f,g){"use strict";var h;function a(a,b){b===void 0&&(b=[]);var e=[],f=0,g=[],i=a.getCurrentContent();i.getBlockMap().forEach(function(a){var j="",k=0;a.findEntityRanges(c("emptyFunction").thatReturnsTrue,function(c,g){var l=b.some(function(b){var l=a.getText().slice(0,c);l=Math.max(0,l.length-(h||(h=d("UnicodeUtils"))).strlen(l));b=b(a,i,c,g);if(b!=null){var m=f-l+k;l=b.message;j+=l.text;e.push.apply(e,l.ranges.map(function(a){return{entity:a.entity,length:a.length,offset:a.offset+m}}));k+=l.text.length-(g-c);return!0}return!1});l||(j+=a.getText().slice(c,g).replace(/@\[/g,"@ ["))});f+=(h||(h=d("UnicodeUtils"))).strlen(j)+1;g.push(j)});a=g.join("\n");return{ranges:e,text:a}}g["default"]=a}),98); __d("CometComposerHashtagsPluginForLexicalDeferred.react",["createComposerDeferredPlugin","react","requireDeferred"],(function(a,b,c,d,e,f,g){"use strict";var h;h||d("react");a=c("createComposerDeferredPlugin")(c("requireDeferred")("CometComposerHashtagPluginForLexical.react").__setRef("CometComposerHashtagsPluginForLexicalDeferred.react"));g["default"]=a}),98); __d("CometComposerHashtagsTypeaheadPluginForLexicalDeferred.react",["createComposerDeferredPlugin","react","requireDeferred"],(function(a,b,c,d,e,f,g){"use strict";var h;h||d("react");a=c("createComposerDeferredPlugin")(c("requireDeferred")("CometComposerHashtagTypeaheadPluginForLexical.react").__setRef("CometComposerHashtagsTypeaheadPluginForLexicalDeferred.react"));g["default"]=a}),98); __d("cometComposerMentionsBlockToEntity",["UnicodeUtils"],(function(a,b,c,d,e,f,g){"use strict";var h;function a(a,b,c,e){var f=a.getEntityAt(c);if(f==null)return null;b=b.getEntity(f);if(b.getType()!=="MENTION")return null;f=a.getText().slice(c,e);a=b.getData();e=a.id;return e==null?null:{message:{ranges:[{entity:{id:e},length:(h||(h=d("UnicodeUtils"))).strlen(f),offset:c}],text:f}}}g["default"]=a}),98); __d("ComposerEmojiTrigger.react",["cr:2028537"],(function(a,b,c,d,e,f,g){"use strict";g["default"]=b("cr:2028537")}),98); __d("ComposerEmojiPopoverButton.react",["fbt","ix","CometContextualLayerAnchorRoot.react","CometPressable.react","CometPressableChildrenWithOverlay.react","CometTooltip.react","ComposerEmojiTrigger.react","ImageIconSource","TetraIcon.react","fbicon","react","stylex","useCometStatusAreaTextData","useCurrentDisplayMode","withComposerViewStatePart"],(function(a,b,c,d,e,f,g,h,i){"use strict";var j,k,l=k||(k=d("react")),m=k.useState,n={circle:{borderTopStartRadius:"x14yjl9h",borderTopEndRadius:"xudhj91",borderBottomEndRadius:"x18nykt9",borderBottomStartRadius:"xww2gxu",$$css:!0},icon:{alignItems:"x6s0dn4",display:"x78zum5",height:"xc9qbxq",justifyContent:"xl56j7k",position:"x1n2onr6",width:"x14qfxbe",$$css:!0},inner:{height:"x5yr21d",width:"xh8yej3",$$css:!0},outer:{height:"xc9qbxq",position:"x1n2onr6",width:"x14qfxbe",$$css:!0},pressable:{appearance:"xjyslct",backgroundColor:"xjbqb8w",borderTopStyle:"x13fuv20",borderEndStyle:"xu3j5b3",borderBottomStyle:"x1q0q8m5",borderStartStyle:"x26u7qi",borderTopWidth:"x972fbf",borderEndWidth:"xcfux6l",borderBottomWidth:"x1qhh985",borderStartWidth:"xm0m39n",boxSizing:"x9f619",marginTop:"xdj266r",marginEnd:"x11i5rnm",marginBottom:"xat24cr",marginStart:"x1mh8g0r",paddingTop:"xexx8yu",paddingEnd:"x4uap5",paddingBottom:"x18d9i69",paddingStart:"xkhd6sd",position:"x1n2onr6",textAlign:"x16tdsg8",zIndex:"x1ja2u2z",$$css:!0},pressed:{transform:"x1n5d1j9",$$css:!0},root:{opacity:"x1ks1olk",$$css:!0},rootHovered:{opacity:"x1hc1fzr",$$css:!0},withSATP:{paddingBottom:"xsag5q8",$$css:!0}};function o(a,b){return!a||b?"disabled":"tertiary"}function a(a){var b=a.disabled,e=b===void 0?!1:b,f=a.formattedTextPreset;b=a.shouldUseSmallEmojiIcon;var g=b===void 0?!1:b;a=m(!1);var k=a[0],p=a[1];b=m(!1);var q=b[0],r=b[1];b=(a=c("useCometStatusAreaTextData")(f))==null?void 0:a.formattedTextStyling;a=c("useCurrentDisplayMode")();a=a==="dark";var s=a;a=b==null?void 0:b.color;if(a!=null)try{b=parseInt(a.substring(1,3),16);var t=parseInt(a.substring(3,5),16);a=parseInt(a.substring(5,7),16);b=Math.min(b,t,a);s=b>128}catch(a){s=!1}return l.jsx(c("ComposerEmojiTrigger.react"),{setClicked:p,setHovered:r,children:function(a,b,m,t,u,v){m=function(a){t&&t(a),r(!0)};v=function(){u&&u(),r(!1)};var w=function(){p(!0),b()},x=g?d("fbicon")._(i("642534"),20):new(c("ImageIconSource"))(s?i("792304"):i("615750"),24,24),y=o(g,e);return l.jsx("div",{className:(j||(j=c("stylex")))(n.root,(g||k||q)&&n.rootHovered,f!=null&&n.withSATP),children:l.jsx("div",{children:l.jsx(c("CometTooltip.react"),{position:"above",tooltip:"Emoji",children:l.jsx(c("CometPressable.react"),{"aria-label":"Emoji",disabled:e,label:"Emoji",onHoverIn:m,onHoverOut:v,onPress:e===!0?void 0:w,overlayDisabled:!g,ref:a,testid:void 0,xstyle:function(a){a=a.pressed;return[n.pressable,a&&e!==!0&&n.pressed]},children:function(b){b=b.overlay;return l.jsx("div",{children:l.jsx(c("CometContextualLayerAnchorRoot.react"),{children:l.jsx("div",{children:l.jsx("div",{className:"xc9qbxq x1n2onr6 x14qfxbe x14yjl9h xudhj91 x18nykt9 xww2gxu",children:l.jsx(c("CometPressableChildrenWithOverlay.react"),{overlay:b,children:l.jsx("div",{className:"x6s0dn4 x78zum5 xl56j7k x1n2onr6 x5yr21d xh8yej3",children:l.jsx(c("TetraIcon.react"),{"aria-label":h._("__JHASH__s5VY0zHIS2p__JHASH__"),color:y,icon:x,ref:a})})})})})})})}})})})})}})}a.displayName=a.name+" [from "+f.id+"]";b=c("withComposerViewStatePart")(a,function(a){return{formattedTextPreset:(a=a.formattedText)==null?void 0:a.currentFormattedTextPreset}});g["default"]=b}),98); __d("ComposerEmojiTriggerImpl.react",["CometErrorBoundary.react","CometLazyPopoverTrigger.react","CometPopoverLoadingState.react","JSResourceForInteraction","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h||d("react"),j=c("JSResourceForInteraction")("ComposerEmojiPopover.react").__setRef("ComposerEmojiTriggerImpl.react"),k={popoverFallback:{minWidth:"x17upfok",$$css:!0}};function a(a){var b=a.align;b=b===void 0?"middle":b;var d=a.children,e=a.position;e=e===void 0?"above":e;var f=a.setClicked,g=a.setHovered;a=a.visibleOnLoad;a=a===void 0?!1:a;return i.jsx(c("CometErrorBoundary.react"),{children:i.jsx(c("CometLazyPopoverTrigger.react"),{align:b,fallback:i.jsx(c("CometPopoverLoadingState.react"),{withArrow:!0,xstyle:k.popoverFallback}),popoverProps:{setClicked:f,setHovered:g},popoverResource:j,position:e,preloadTrigger:"button",tracePolicy:"comet.emojipicker",visibleOnLoad:a,children:d})})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("updateTagReducer",["SharedAIProductTagUtils"],(function(a,b,c,d,e,f,g){"use strict";function h(a,b,c){return d("SharedAIProductTagUtils").isPointNearbyPoint(a,b,c.x,c.y)}function a(a,b){var c;switch(b.type){case"REMOVE_TAG":return babelHelpers["extends"]({},a,{tags:((c=a.tags)!=null?c:[]).filter(function(a){return(a==null?void 0:(a=a.taggee)==null?void 0:a.id)!==b.tagToDelete})});case"ADD_TAG":return babelHelpers["extends"]({},a,{tags:[].concat((c=a.tags)!=null?c:[],[b.newTag]),unknownProductTagSuggestions:((c=a.unknownProductTagSuggestions)!=null?c:[]).filter(function(a){return!h(a.x,a.y,b.newTag)})});case"SET_VIDEO_PRODUCT_TAGS":return babelHelpers["extends"]({},a,{videoProductTags:(c=b.videoProductTags)!=null?c:[]});case"ADD_KNOWN_AI_SUGGESTED_PRODUCT_TAG":var d={source:b.newAISuggestedProductTag.source,taggee:b.newAISuggestedProductTag.taggee,x:b.newAISuggestedProductTag.x,y:b.newAISuggestedProductTag.y};return babelHelpers["extends"]({},a,{tags:((c=a.tags)!=null?c:[]).filter(function(a){return a.taggee.id===d.taggee.id}).length>0?(c=a.tags)!=null?c:[]:[].concat((c=a.tags)!=null?c:[],[d])});case"ADD_UNKNOWN_AI_SUGGESTED_PRODUCT_TAG":return babelHelpers["extends"]({},a,{unknownProductTagSuggestions:((c=a.unknownProductTagSuggestions)!=null?c:[]).includes(b.newUnknownSuggestedProductTag)||((c=a.tags)!=null?c:[]).some(function(a){return h(b.newUnknownSuggestedProductTag.x,b.newUnknownSuggestedProductTag.y,a)})?(c=a.unknownProductTagSuggestions)!=null?c:[]:[].concat((c=a.unknownProductTagSuggestions)!=null?c:[],[b.newUnknownSuggestedProductTag])});case"SET_SAVE_PRODUCT_TAGS_DISABLED":return babelHelpers["extends"]({},a,{isSaveProductTagsDisabled:b.shouldDisable});case"RESET":if(b.finalMutatedMediaAttachment.fileType==="PHOTO"){return babelHelpers["extends"]({},a,{tags:((c=b.finalMutatedMediaAttachment.data.tags)!=null?c:[]).filter(Boolean)})}}return a}g["default"]=a}),98); __d("CometProductTaggingConstants",[],(function(a,b,c,d,e,f){"use strict";a=7;b=16;c=8;d=46;e=50;f.DOT_HINT_BORDER_SIZE=a;f.DOT_HINT_DOT_SIZE=b;f.DOT_HINT_PADDING=c;f.TOTAL_DOT_SIZE=d;f.VIDEO_CENTER_X_AND_Y_VALUE=e}),66); __d("CometMediaRemoveTagFalcoEvent",["FalcoLoggerInternal","getFalcoLogPolicy_DO_NOT_USE"],(function(a,b,c,d,e,f,g){"use strict";a=c("getFalcoLogPolicy_DO_NOT_USE")("1743382");b=d("FalcoLoggerInternal").create("comet_media_remove_tag",a);e=b;g["default"]=e}),98); __d("CometMediaVpvdFalcoEvent",["FalcoLoggerInternal","getFalcoLogPolicy_DO_NOT_USE"],(function(a,b,c,d,e,f,g){"use strict";a=c("getFalcoLogPolicy_DO_NOT_USE")("1743384");b=d("FalcoLoggerInternal").create("comet_media_vpvd",a);e=b;g["default"]=e}),98);/*FB_PKG_DELIM*/ __d("CometMediaEditorPageResource",["JSResourceForInteraction"],(function(a,b,c,d,e,f,g){"use strict";a=c("JSResourceForInteraction")("CometMediaEditorPage.react").__setRef("CometMediaEditorPageResource");b=a;g["default"]=b}),98); __d("ComposerCometSelectedPhotoLayoutContext",["react"],(function(a,b,c,d,e,f,g){"use strict";var h;a=h||d("react");b={layout:"classic"};c=a.createContext(b);g["default"]=c}),98); __d("useCometComposerPushAllMediaItemsPage",["fbt","JSResourceForInteraction","lazyLoadComponent","react","useCometComposerPushPage"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j=i||d("react"),k=c("lazyLoadComponent")(c("JSResourceForInteraction")("ComposerMediaDeepDive.react").__setRef("useCometComposerPushAllMediaItemsPage"));function a(){var a=c("useCometComposerPushPage")();return function(){a(h._("__JHASH__zp3IUUgr7E7__JHASH__"),function(a){a=a.onReturn;return j.jsx(k,{popPage:a})})}}g["default"]=a}),98); __d("CometComposerAttachmentActionTypes",["$InternalEnum"],(function(a,b,c,d,e,f){"use strict";a=b("$InternalEnum").Mirrored(["MEDIA_EDIT","PRODUCT_TAG"]);c=a;f["default"]=c}),66); __d("ProfileCometComposerContext",["react"],(function(a,b,c,d,e,f,g){"use strict";var h;a=h||d("react");b=a.createContext();g["default"]=b}),98); __d("WaterfallIDGenerator",["CurrentUser","md5","uuidv4"],(function(a,b,c,d,e,f,g){function h(){var a=2147483647;return Math.random()*a}function i(){return Math.floor(Date.now()/1e3)}function a(){var a=c("md5")([c("CurrentUser").getID(),i(),h()].join(":"));if(a==null)return c("uuidv4")();else return a}g.generate=a}),98); __d("VideoUploadLoggerEvents",[],(function(a,b,c,d,e,f){"use strict";a=Object.freeze({EVENT_STARTED_GENERATE_THUMBNAILS:"upload.client.started_generate_thumbnails",EVENT_FINISHED_GENERATE_THUMBNAILS:"upload.client.finished_generate_thumbnails",EVENT_SELECTED_CUSTOM_THUMBNAIL:"upload.client.selected_custom_thumbnail",EVENT_VIDEO_DIMENSIONS_UNREADABLE:"upload.client.video_dimensions_unreadable",EVENT_REPLACE_VIDEO:"upload.client.replace_video",EVENT_STARTED_FLOW:"upload.client.started_flow",EVENT_FINISHED_FLOW:"upload.client.finished_flow",EVENT_FAILED_FLOW:"upload.client.failed_flow",EVENT_CANCELED_FLOW:"upload.client.canceled_flow",EVENT_RESIGNED_FLOW:"upload.client.resigned_flow",EVENT_REQUESTED_UPLOADING:"upload.client.requested_uploading",EVENT_INVALIDATED_UPLOADING:"upload.client.invalidated_uploading",EVENT_STARTED_UPLOADING:"upload.client.started_uploading",EVENT_PROGRESS_UPLOADING_START_REQUEST:"upload.client.progress_uploading_start_request",EVENT_FINISHED_UPLOADING:"upload.client.finished_uploading",EVENT_CANCELED_UPLOADING:"upload.client.canceled_uploading",EVENT_ABANDONED_UPLOADING:"upload.client.abandoned_uploading",EVENT_FAILED_UPLOADING:"upload.client.failed_uploading",EVENT_STARTED_SENDING_BYTES:"upload.client.started_sending_bytes",EVENT_FINISHED_SENDING_BYTES:"upload.client.finished_sending_bytes",EVENT_CANCELED_SENDING_BYTES:"upload.client.canceled_sending_bytes",EVENT_FAILED_SENDING_BYTES:"upload.client.failed_sending_bytes",EVENT_STARTED_START_REQUEST:"upload.client.started_sending_start_request",EVENT_FINISHED_START_REQUEST:"upload.client.finished_sending_start_request",EVENT_FAILED_START_REQUEST:"upload.client.failed_sending_start_request",EVENT_CANCELED_START_REQUEST:"upload.client.canceled_sending_start_request",EVENT_STARTED_RECEIVE_REQUEST:"upload.client.started_sending_receive_request",EVENT_FINISHED_RECEIVE_REQUEST:"upload.client.finished_sending_receive_request",EVENT_FAILED_RECEIVE_REQUEST:"upload.client.failed_sending_receive_request",EVENT_STARTED_POST_REQUEST:"upload.client.started_sending_post_request",EVENT_FINISHED_POST_REQUEST:"upload.client.finished_sending_post_request",EVENT_FAILED_POST_REQUEST:"upload.client.failed_sending_post_request",EVENT_HANDLING_SERVER_FAILURE_RESPONSE:"upload.client.handling_server_failure_response",EVENT_HANDLING_TRANSPORT_FAILURE_RESPONSE:"upload.client.handling_transport_failure_response",EVENT_DUPLICATE_POST_REQUEST:"upload.client.duplicate_post_request",EVENT_STARTED_SENDING_CHUNK_BYTES:"upload.client.started_sending_chunk_bytes",EVENT_FINISHED_SENDING_CHUNK_BYTES:"upload.client.finished_sending_chunk_bytes",EVENT_CANCELED_SENDING_CHUNK_BYTES:"upload.client.canceled_sending_chunk_bytes",EVENT_FAILED_SENDING_CHUNK_BYTES:"upload.client.failed_sending_chunk_bytes",EVENT_TIMEOUT_SENDING_CHUNK_BYTES:"upload.client.timeout_sending_chunk_bytes",EVENT_STARTED_FETCHING_STATUS:"upload.client.started_fetching_status",EVENT_FINISHED_FETCHING_STATUS:"upload.client.finished_fetching_status",EVENT_STARTED_POST_FLOW:"upload.client.started_post_flow",EVENT_FINISHED_POST_FLOW:"upload.client.finished_post_flow",EVENT_CANCELED_POST_FLOW:"upload.client.canceled_post_flow",EVENT_FAILED_POST_FLOW:"upload.client.failed_post_flow",EVENT_RETRY_ATTEMPT:"upload.client.retry_attempt",EVENT_RESUMABLE_CALLED:"upload.client.resumable_called",EVENT_RESUMABLE_STARTED:"upload.client.resumable_started",EVENT_RESUMABLE_SUCCESS:"upload.client.resumable_success",EVENT_RESUMABLE_FAILED:"upload.client.resumable_failed",EVENT_ENCODING_START_OBSERVED:"encode.client.encoding_start_observed",EVENT_ENCODING_SUCCESS_OBSERVED:"encode.client.encoding_success_observed",EVENT_ENCODING_FAIL_OBSERVED:"encode.client.encoding_fail_observed",EVENT_ENCODING_ABORT_OBSERVED:"encode.client.encoding_abort_observed",EVENT_FETCH_FAIL_OBSERVED:"encode.client.fetch_video_info_fail_observed",EVENT_ENCODING_SUBSCRIBE_TO_VIDEO_STATUS:"encode.client.subscribe_to_video_status",EVENT_ENCODING_POLLING_FALLBACK:"encode.client.polling_fallback",EVENT_RECEIVED_RESPONSE:"upload.client.received_response",EVENT_STARTED_FLOW_EXP1:"upload.client.started_flow_exp1",EVENT_FINISHED_FLOW_EXP1:"upload.client.finished_flow_exp1",EVENT_CANCELED_FLOW_EXP1:"upload.client.canceled_flow_exp1",EVENT_MEASURE_FREE_LOCAL_STORAGE:"upload.client.free_local_storage"});f.VideoUploadLoggerEvents=a}),66); __d("MediaUploadCommonWwwFalcoEvent",["FalcoLoggerInternal","getFalcoLogPolicy_DO_NOT_USE"],(function(a,b,c,d,e,f,g){"use strict";a=c("getFalcoLogPolicy_DO_NOT_USE")("1839305");b=d("FalcoLoggerInternal").create("media_upload_common_www",a);e=b;g["default"]=e}),98); __d("VideoComposerDialogVersion",[],(function(a,b,c,d,e,f){a=Object.freeze({V1:"V1",V2:"V2"});f["default"]=a}),66); __d("VideoUploadSourceType",[],(function(a,b,c,d,e,f){a=Object.freeze({ADS_INTERFACES:"ads_interfaces",DIALOG:"dialog",COMPOSER:"composer",BIZ_COMPOSER:"biz_composer",VIDEO_COMPOSER_V2:"video_composer_v2",ADS_API:"ads_api",API:"api",APP_PROMO_VIDEO:"app_promo_video",APP_GAMEPLAY_VIDEO:"app_gameplay_video",APP_PROMO_VIDEO_AB_TEST:"app_promo_video_ab_test",APP_GAMEPLAY_VIDEO_AB_TEST:"app_gameplay_video_ab_test",APP_PROMO_VIDEO_LANDSCAPE:"app_promo_video_landscape",APP_PROMO_VIDEO_PORTRAIT:"app_promo_video_portrait",APP_PROMO_VIDEO_SQUARE:"app_promo_video_square",APP_GAMEPLAY_VIDEO_LANDSCAPE:"app_gameplay_video_landscape",APP_GAMEPLAY_VIDEO_PORTRAIT:"app_gameplay_video_portrait",APP_GAMEPLAY_VIDEO_SQUARE:"app_gameplay_video_square",ASPERA:"aspera",PIXELCLOUD:"pixelcloud",PROTON:"proton",PLATFORM:"platform",INSTANT_ARTICLE:"instant_article",INSTANT_APPLICATION_PREVIEW:"instant_application_preview",IS_REWARDS_ENABLED:"is_rewards_enabled",POWER_EDITOR:"power_editor",CAMPAIGN_MANAGER:"campaign_manager",CREATE_FLOW:"create_flow",VIDEO_BROADCAST:"video_broadcast",SVE_PIPELINE:"sve_pipeline",ALBUM_UPLOADER:"album_uploader",PROFILE_VIDEO:"profile_video",LEARN_VIDEO:"learn_video",BIRTHDAY_VIDEO:"birthday_video",NUX_MEDIA_TOOL:"nux_media_tool",LIVE_BROADCAST:"live_broadcast",CANVAS:"canvas",DYNAMIC_ITEM_DISPLAY_BUNDLE:"dynamic_item_display_bundle",GOODWILL_VIDEO:"goodwill_video",APP_REVIEW:"app_review",APP_REREVIEW:"app_rereview",APP_REREVIEW_SCREENCAST:"app_rereview_screencast",REFERENCE_FILE_COMPOSER:"reference_file_composer",PRODUCT_EDIT_TOOL:"product_edit_tool",SLIDESHOW:"slideshow",ISSUE_MODULE:"issue_module",TAROT_DIGEST:"tarot_digest",LEARN:"learn",PAGES_COVER_VIDEO:"pages_cover_video",EVENT_TOUR:"event_tour",EVENT_COVER_VIDEO:"event_cover_video",PAGE_TRAILER:"page_trailer",SHOW_VIDEO_LIBRARY:"show_video_library",GMS_HUB_ANNOUCEMENTS:"gms_hub_annoucements",LIVE_CREATIVE_KIT_VIDEO:"live_creative_kit_video",MESSENGER_GROUP_VIDEO:"messenger_group_video",P2P:"p2p",DYNAMIC_ITEM:"dynamic_item",AUDIO_STORY_VIDEO:"audio_story_video",IMAGE_OVERLAY_STORY_VIDEO:"image_overlay_story_video",REACTION_STORY:"inspiration_react_mode",SHOWREEL_VIDEO:"showreel_video",INSPIRATIONS:"inspirations",INSPIRATIONS_DIRECT:"inspirations-direct",BACKSTAGE:"backstage",FUNDRAISER_COVER_VIDEO:"fundraiser_cover_video",THIRD_PARTY_VIDEO:"third_party_video",NEWSFEED_COMPOSER:"newsfeed_composer",COMPPHOTO_GENERATED:"compphoto_generated",SIMPLE:"simple",ATTACH_PHOTOS:"attach_photos",COMMENT:"comment",REPLACE:"replace",PAGE_REVIEW:"page_review",WOODHENGE:"woodhenge",PROFILE_FEATURED:"profile_featured",INSTANT_GAMES_DVR:"instant_games_dvr",BCMP_PROFILE_PITCHDECK:"branded_content_profile_pitchdeck",MEDIA_MANAGER_INSTAGRAM_VIDEO_COMPOSER:"media_manager_instagram_video_composer",MEDIA_MANAGER_INSTAGRAM_VIDEO:"media_manager_instagram_video",OCULUS_CREATOR_PORTAL:"oculus_creator_portal",VR_CREATOR_STUDIO:"vr_creator_studio",INSTAGRAM_XPOST:"instagram_xpost",WHATSAPP_XPOST:"whatsapp_xpost",HORIZON_XPOST:"horizon_xpost",PH_XPOST:"ph_xpost",DIM_SUM:"dim_sum",VML_VIDEO_SUPERRES:"vml_video_superres_service",MEDIA_MANAGER_BULK_VIDEO_IMPORTER:"media_manager_bulk_video_importer",MARKETPLACE_COMPOSER:"marketplace_composer",MARKETPLACE_COMPOSER_PRE_RECORDED_VIDEO:"marketplace_composer_pre_recorded_video",SOUND_PLATFORM:"sound_platform",OPTIMISTIC_POST:"optimistic_post",WORKPLACE_KNOWLEDGE_LIBRARY:"workplace_knowledge_library",COPYRIGHT_INGESTION:"copyright_ingestion",CMS_MEDIA_MANAGER:"cms_media_manager",PREMIUM_MUSIC_VIDEO:"premium_music_video",BOOSTED_COMPONENT:"boosted_component",VISUAL_EDITOR:"visual_editor",GIF_LINK:"gif_link",SRT_ATTACHMENT:"srt_attachment",SOUNDBITES_VIDEO:"soundbites_video",VOICES_CREATOR_STUDIO:"voices_creator_studio",VOICES_AUDIO_EMBED:"voices_audio_embed",VOICES_ARTICLE:"voices_article",TPG:"tpg",BUSINESS_CREATIVE_ASSET_MANAGER:"business_creative_asset_manager",STAGES:"stages",ASSET_MANAGER:"asset_manager",PAID_CONTENT_DIALOG:"paid_content_dialog",CREATION_ML_PRECREATION:"creation_ml_precreation",PODCAST:"podcast",BUSINESS_OMNI_UPLOADER:"business_omni_uploader",BUSINESS_UNIFIED_CREATIVE_EDITOR:"business_unified_creative_editor",REEL_COMPOSER:"reel_composer",CONTENT_INJECTION:"content_injection",DROPS_SHOPPING_EVENT_PAGE:"drops_shopping_event_page",HORIZON_VIDEO:"horizon_video",PAPER_COMPOSER:"paper_composer",SHOP_BUILDER_VIDEO:"shop_builder_video",PROFESSIONAL_DASHBOARD_AB_TESTING:"professional_dashboard_ab_testing",LIVE_CLIP_VIDEO:"live_clip_video",COMPOSER_ADS_CANVAS_VIDEO_ASSET_CLONER_FEATURE:"composer_ads_canvas_video_asset_cloner_feature",COMPOSER_ADS_VIDEO_AUTO_CROPPER_FEATURE:"composer_ads_video_auto_cropper_feature",COMPOSER_ADS_VIDEO_CLONE_FEATURE:"composer_ads_video_clone_feature",COMPOSER_ADS_VIDEO_CREATIVE_COMPOSER_FEATURE:"composer_ads_video_creative_composer_feature",COMPOSER_ADS_VIDEO_SLIDESHOW_FEATURE:"composer_ads_video_slideshow_feature",COMPOSER_ADS_VIDEO_SLIDESHOW_VARIATIONS_FEATURE:"composer_ads_video_slideshow_variations_feature",COMPOSER_AUTO_CLIPS_TO_REELS:"composer_auto_clips_to_reels",COMPOSER_AUTOGEN_BACK_CATALOG:"composer_autogen_back_catalog",COMPOSER_BASE_VIDEO_EDIT_FEATURE:"composer_base_video_edit_feature",COMPOSER_BIZWEB_AB_TESTING:"composer_bizweb_ab_testing",COMPOSER_BIZWEB_COMPOSER:"composer_bizweb_composer",COMPOSER_BULK_EDIT_COMPOSER:"composer_bulk_edit_composer",COMPOSER_COMET_REEL_COMPOSER:"composer_comet_reel_composer",COMPOSER_CROSS_POST_FROM_VIDEO_ASSET_OBSERVER_FEATURE:"composer_cross_post_from_video_assset_observer_feature",COMPOSER_CS_AB_TESTING:"composer_cs_ab_testing",COMPOSER_CS_AUTO_GENERATE_FB_SHORTS:"composer_cs_auto_generate_fb_shorts",COMPOSER_CS_BULK_UPLOAD:"composer_cs_bulk_upload",COMPOSER_CS_REEL_COMPOSER:"composer_cs_reel_composer",COMPOSER_GRAPH_API_CLIPPING:"composer_graph_api_clipping",COMPOSER_GRAPH_API_CROSSPOST:"composer_graph_api_crosspost",COMPOSER_GRAPH_API_NON_RESUMABLE:"composer_graph_api_non_resumable",COMPOSER_GRAPH_API_RESUMABLE:"composer_graph_api_resumable",COMPOSER_HORIZON_VIDEO_POST_TO_FB:"composer_horizon_video_post_to_fb",COMPOSER_HZ_STORY_XPOST_TO_FB:"composer_hz_story_xpost_to_fb",COMPOSER_IG_GLADOS_VIDEO_ADS_SHOWREEL:"composer_ig_glados_video_ads_showreel",COMPOSER_IG_REELS_SHARED_TO_FB:"composer_ig_reels_shared_to_fb",COMPOSER_IG_STORY_XPOST_TO_FB:"composer_ig_story_xpost_to_fb",COMPOSER_LIVE_VIDEO_BROADCAST:"composer_live_video_broadcast",COMPOSER_PAGE_SLIDESHOW_FEATURE:"composer_page_slideshow_feature",COMPOSER_PAGE_VIDEO_COMPOSER:"composer_page_video_composer",COMPOSER_PH_STORY_XPOST_TO_FB:"composer_ph_story_xpost_to_fb",COMPOSER_PLAYLIST_COMPOSER:"composer_playlist_composer",COMPOSER_PROFILE_VIDEO_INTRO_CLONER:"composer_profile_video_intro_cloner",COMPOSER_REMOTE_TRIMMER:"composer_remote_trimmer",COMPOSER_STORY_VIDEO_RENDER_FEATURE:"composer_story_video_render_feature",COMPOSER_SVE_SHADOW_CLONE_FEATURE:"composer_sve_shadow_clone_feature",COMPOSER_TEXT_BASED_VIDEO_EDITOR:"composer_text_based_video_editor",COMPOSER_UNIFIED_API_FOR_POST_CREATION_FEATURE:"composer_unified_stories_api_for_post_creation_feature",COMPOSER_UNIFIED_STORIES_VIDEO_CONVERTER:"composer_unified_stories_video_converter",COMPOSER_VIDEO_CLONE_FEATURE:"composer_video_clone_feature",COMPOSER_WA_STORY_XPOST_TO_FB:"composer_wa_story_xpost_to_fb",EXPERIMENT_HQ:"experiment_hq"});f["default"]=a}),66); __d("WorkSharedDraftMode",[],(function(a,b,c,d,e,f){a=Object.freeze({DRAFTER_CREATING:"drafter_creating",FINAL_AUTHOR_EDITING:"final_author_editing"});f["default"]=a}),66); __d("logVideoUploadViaFalco",["FBLogger","MediaUploadCommonWwwFalcoEvent","VideoComposerDialogVersion","VideoUploadSourceType","WorkSharedDraftMode"],(function(a,b,c,d,e,f,g){"use strict";function h(){return c("FBLogger")("media_upload","media_upload_common_www")}function i(a){if(a==null)return void 0;else return String(a)}function j(a){if(a==null)return void 0;else if(a==="false"||a==="0")return!1;else return Boolean(a)}function k(a){try{if(a==null)return void 0;else{var b;typeof a==="number"?b=Number.isInteger(a)?a:Math.trunc(a):b=Number.parseInt(String(a),10);if(Number.isNaN(b)||!Number.isFinite(b))return void 0;else return String(b)}}catch(b){h().catching(b).warn("Value should be integer, but it was not - %s",String(a));return void 0}}function l(a){if(a==null)return void 0;else{a=Number(a);if(Number.isNaN(a)||!Number.isFinite(a))return void 0;else return a}}function m(a){if(a==null||typeof a!=="object")return void 0;else return a}function n(a,b){if(a!=null&&Object.values(b).indexOf(a)>=0)return a;else return void 0}function a(a){var b=i(a.waterfall_id);if(b==null){h().warn("Video upload event cannot be logged due missing waterfall_id: %s",String(a.waterfall_id));return}var d=n(a.source,c("VideoUploadSourceType"));if(d==null){h().warn("Video upload event cannot be logged due missing or invalid source type: %s (original: %s)",String(d),String(a.source));return}var e=i(a.event);if(e==null){h().warn("Video upload event cannot be logged due missing event field: %s",String(a.event));return}var f={waterfall_id:b,source:d,event:e,actor_id:i(a.actor_id),target_id:i(a.target_id),composer_entry_point_ref:i(a.composer_entry_point_ref),container_type:k(a.container_type),is_chunked_upload:j(a.is_chunked_upload),hinted_app_id:i(a.app_id),is_remote_upload:j(a.is_remote_upload),composer_dialog_version:n(a.composer_dialog_version,c("VideoComposerDialogVersion")),composer_work_shared_draft_mode:n(a.composer_work_shared_draft_mode,c("WorkSharedDraftMode")),elapsed_time:k(a.elapsed_time),error:i(a.error),error_inner:i(a.error_inner),error_code:k(a.error_code),error_description:i(a.error_description),error_summary:i(a.error_summary),error_trace:i(a.error_trace),source_height:k(a.source_height),source_width:k(a.source_width),duration:k(a.duration),file_size:k(a.file_size),has_file_been_replaced:j(a.has_file_been_replaced),composer_session_id:i(a.composer_session_id),retries:k(a.retries),server_retries:k(a.server_retries),asset_id:i(a.asset_id),file_can_read:j(a.file_can_read),application_state:i(a.application_state),upload_method:i(a.upload_method),upload_domain:i(a.upload_domain),hash:i(a.hash),hash_time:k(a.hash_time),hash_exception:i(a.hash_exception),video_id:i(a.video_id),upload_speed:l(a.upload_speed),skip_upload:j(a.skip_upload),trigger_time:i(a.trigger_time),ad_account_id:i(a.ad_account_id),video_original_file_path:i(a.video_original_file_path),event_reason:i(a.event_reason),retry_id:i(a.retry_id),internet_status:i(a.internet_status),network_status:i(a.network_status),is_spherical:j(a.is_spherical),file_extension:i(a.file_extension),sent_bytes:k(a.sent_bytes),start_offset:k(a.start_offset),transport_retries:k(a.transport_retries),timeout_retries:k(a.timeout_retries),request_manager_state:i(a.request_manager_state),debug:m(a.debug),creative_tools:i(a.creative_tools)};c("MediaUploadCommonWwwFalcoEvent").logCritical(function(){return f})}g["default"]=a}),98); __d("VideoUploadLogger",["Banzai","CurrentUser","VideoUploadLoggerEvents","VideoUploadLoggingConfig","logVideoUploadViaFalco"],(function(a,b,c,d,e,f,g){b=babelHelpers["extends"]({BANZAI_GK:"videos",BANZAI_ROUTE:"video_waterfall",SOURCE_SIMPLE:"simple",SOURCE_COMPOSER:"composer"},(a=d("VideoUploadLoggerEvents")).VideoUploadLoggerEvents);var h=new Set([a.VideoUploadLoggerEvents.EVENT_STARTED_FLOW,a.VideoUploadLoggerEvents.EVENT_FINISHED_FLOW,a.VideoUploadLoggerEvents.EVENT_FAILED_FLOW,a.VideoUploadLoggerEvents.EVENT_CANCELED_FLOW]);e=function(){function a(b){this.$1=b.source,this.$2=b.composer_dialog_version,this.$3=b.waterfall_id,this.$4=b.ad_account_id,this.$5=b.target_id,this.$6=b.delay,this.$7=[],this.$8=b.is_chunked_upload,this.$9=b.actor_id,this.$10=b.composer_entry_point_ref,this.$11=b.composer_work_shared_draft_mode,this.$12=b.is_remote_upload,this.$13=b.container_type,this.$14=b.has_file_been_replaced,this.$15=b.composer_session_id,this.$16=b.creative_tools,this.$17=b.asset_id,this.$18=c("CurrentUser").getAppID(),this.$19=!Boolean(b.reported_by_notifier)&&a.shouldSendFlowEventsViaNotifier({source_type:b.source,composer_entry_point_ref:b.composer_entry_point_ref})}a.shouldSendFlowEventsViaNotifier=function(a){return Boolean((c("VideoUploadLoggingConfig").FLOW_VIA_NOTIFIER_COMPOSERS||[]).find(function(b){return b.source_type===a.source_type&&b.composer_entry_point_ref===a.composer_entry_point_ref}))};var b=a.prototype;b.logEvent=function(a,b){if(this.$19&&h.has(a))return;b=babelHelpers["extends"]({},b);b.elapsed_time==null&&(a.indexOf("started")!==-1?this.$7[a]=Date.now():a.indexOf("finished")!==-1?b.elapsed_time=this.$20(a,"finished"):a.indexOf("canceled")!==-1?b.elapsed_time=this.$20(a,"canceled"):a.indexOf("failed")!==-1&&(b.elapsed_time=this.$20(a,"failed")));b.event=a;b.source=this.$1;b.composer_dialog_version=b.composer_dialog_version||this.$2;b.waterfall_id=this.$3;b.ad_account_id=this.$4;b.target_id=this.$5;b.is_chunked_upload=this.$8;b.actor_id=this.$9;b.composer_entry_point_ref=this.$10;b.composer_work_shared_draft_mode=this.$11;b.is_remote_upload=this.$12;b.container_type=this.$13;b.has_file_been_replaced=this.$14;b.trigger_time=Date.now();b.composer_session_id=this.$15;b.asset_id=this.$17;b.app_id=this.$18;c("logVideoUploadViaFalco")(b)};b.postOnShutdown=function(a){return c("Banzai").subscribe(c("Banzai").SHUTDOWN,a)};b.getWaterfallID=function(){return this.$3};b.$20=function(a,b){a=a.replace(b,"started");b=this.$7[a];return b?Date.now()-b:null};return a}();Object.assign(e,b);f=e;g["default"]=f}),98); __d("VideoUploadLoggerTyped",["VideoUploadLogger"],(function(a,b,c,d,e,f,g){"use strict";a=function(a){babelHelpers.inheritsLoose(b,a);function b(b){return a.call(this,b)||this}return b}(c("VideoUploadLogger"));g.VideoUploadLogger=a}),98); __d("MediaCancelledPostFlowFalcoEvent",["FalcoLoggerInternal","getFalcoLogPolicy_DO_NOT_USE"],(function(a,b,c,d,e,f,g){"use strict";a=c("getFalcoLogPolicy_DO_NOT_USE")("1743938");b=d("FalcoLoggerInternal").create("media_cancelled_post_flow",a);e=b;g["default"]=e}),98); __d("MediaFailedPostFlowFalcoEvent",["FalcoLoggerInternal","getFalcoLogPolicy_DO_NOT_USE"],(function(a,b,c,d,e,f,g){"use strict";a=c("getFalcoLogPolicy_DO_NOT_USE")("1743939");b=d("FalcoLoggerInternal").create("media_failed_post_flow",a);e=b;g["default"]=e}),98); __d("MediaFinishedPostFlowFalcoEvent",["FalcoLoggerInternal","getFalcoLogPolicy_DO_NOT_USE"],(function(a,b,c,d,e,f,g){"use strict";a=c("getFalcoLogPolicy_DO_NOT_USE")("1743940");b=d("FalcoLoggerInternal").create("media_finished_post_flow",a);e=b;g["default"]=e}),98); __d("MediaStartedPostFlowFalcoEvent",["FalcoLoggerInternal","getFalcoLogPolicy_DO_NOT_USE"],(function(a,b,c,d,e,f,g){"use strict";a=c("getFalcoLogPolicy_DO_NOT_USE")("1743941");b=d("FalcoLoggerInternal").create("media_started_post_flow",a);e=b;g["default"]=e}),98); __d("VideoUploadFlowNotifier",["Banzai","MediaCancelledPostFlowFalcoEvent","MediaFailedPostFlowFalcoEvent","MediaFinishedPostFlowFalcoEvent","MediaStartedPostFlowFalcoEvent","Run","SubscriptionsHandler","VideoUploadLoggerEvents","VideoUploadLoggerTyped","WaterfallIDGenerator"],(function(a,b,c,d,e,f,g){"use strict";var h=Object.freeze({SUCCESSFUL:"successful",FAILED:"failed",CANCELED:"canceled",REQUESTED:"requested",STARTED:"started"}),i=function(){function a(){this.$1={}}var b=a.prototype;b.registerUpload=function(a,b){var c={isStarted:!1,isUploaded:!1,isCanceled:!1,isFailed:!1};this.$1[String(b)]=c;a.subscribe("upload-started",function(){c.isStarted=!0});a.subscribe("upload-canceled",function(){c.isCanceled=!0});a.subscribe("upload-failed",function(){c.isFailed=!0});a.subscribe("upload-finished",function(){c.isUploaded=!0})};b.cancelUpload=function(a){a=this.$1[String(a)];a!=null&&(a.isCanceled=!0)};b.$2=function(a){if(a.isCanceled)return h.CANCELED;else if(a.isUploaded)return h.SUCCESSFUL;else if(a.isFailed)return h.FAILED;else if(a.isStarted)return h.STARTED;else return h.REQUESTED};b.areAnyVideosIncludedInPost=function(){var a=this,b=Object.keys(this.$1).map(function(b){return a.$2(a.$1[b])});return b.some(function(a){return a!==h.CANCELED})};b.getSummary=function(){var a=this,b=Object.keys(this.$1).map(function(b){return a.$2(a.$1[b])});return{total:b.length,successful:b.filter(function(a){return a===h.SUCCESSFUL}).length,started:b.filter(function(a){return a===h.STARTED}).length,canceled:b.filter(function(a){return a===h.CANCELED}).length,failed:b.filter(function(a){return a===h.FAILED}).length}};return a}(),j=function(){function a(){}var b=a.prototype;b.logFlowStarted=function(){};b.logFlowFinished=function(){};b.logFlowCanceled=function(){};b.logFlowFailed=function(){};b.release=function(){};return a}(),k=function(){function a(a,b){var e=this;this.$2=b;this.$1=a;this.$4=new Set();this.$3=new(c("SubscriptionsHandler"))();a.cancel_on_unload&&this.$3.addSubscriptions(c("Banzai").subscribe(c("Banzai").SHUTDOWN,function(){return e.$6("shutdown")}));a.cancel_on_leave&&this.$3.addSubscriptions(d("Run").onLeave(function(){return e.$6("leave")}))}var b=a.prototype;b.release=function(){this.$3.release()};b.$7=function(){var a=this.$2.getSummary(),b=this.$5;return{composer_session_id:this.$1.composer_session_id,source_type:this.$1.source,target_id:this.$1.target_id,target_type:this.$1.target_type,composer_entry_point_ref:this.$1.composer_entry_point_ref,total_uploads:a.total,started_uploads:a.started,successful_uploads:a.successful,canceled_uploads:a.canceled,failed_uploads:a.failed,elapsed_time:b!=null?Date.now()-b:null}};b.logFlowFinished=function(){var a=this;this.$4.has(c("MediaFinishedPostFlowFalcoEvent"))||(c("MediaFinishedPostFlowFalcoEvent").log(function(){return a.$7()}),this.$4.add(c("MediaFinishedPostFlowFalcoEvent")))};b.logFlowStarted=function(){var a=this;this.$4.has(c("MediaStartedPostFlowFalcoEvent"))||(c("MediaStartedPostFlowFalcoEvent").log(function(){return a.$7()}),this.$5=Date.now(),this.$4.add(c("MediaStartedPostFlowFalcoEvent")))};b.logFlowCanceled=function(){this.$6("user")};b.logFlowFailed=function(){var a=this;this.$4.has(c("MediaFailedPostFlowFalcoEvent"))||(c("MediaFailedPostFlowFalcoEvent").log(function(){return a.$7()}),this.$4.add(c("MediaFailedPostFlowFalcoEvent")))};b.$6=function(a){var b=this;this.$4.has(c("MediaCancelledPostFlowFalcoEvent"))||(c("MediaCancelledPostFlowFalcoEvent").log(function(){return babelHelpers["extends"]({},b.$7(),{event_reason:a})}),this.$4.add(c("MediaCancelledPostFlowFalcoEvent")))};return a}(),l=function(){function a(a,b){var e=this;this.$1=b;this.$3=new Set();this.$4=new(d("VideoUploadLoggerTyped").VideoUploadLogger)({source:a.source,waterfall_id:a.composer_session_id,composer_session_id:a.composer_session_id,target_id:a.target_id,composer_entry_point_ref:a.composer_entry_point_ref,reported_by_notifier:!0});this.$2=new(c("SubscriptionsHandler"))();this.$2.addSubscriptions(this.$4.postOnShutdown(function(){return e.$5("shutdown")}));a.cancel_on_leave&&this.$2.addSubscriptions(d("Run").onLeave(function(){return e.$5("leave")}))}var b=a.prototype;b.release=function(){this.$2.release()};b.logFlowFinished=function(){this.$6(d("VideoUploadLoggerEvents").VideoUploadLoggerEvents.EVENT_FINISHED_FLOW)};b.logFlowStarted=function(){this.$6(d("VideoUploadLoggerEvents").VideoUploadLoggerEvents.EVENT_STARTED_FLOW)};b.logFlowCanceled=function(){this.$5("user")};b.logFlowFailed=function(){this.$6(d("VideoUploadLoggerEvents").VideoUploadLoggerEvents.EVENT_FAILED_FLOW)};b.$6=function(a,b){if(!this.$3.has(a)){var c=this.$1.getSummary();this.$4.logEvent(a,babelHelpers["extends"]({},b,{debug:{total_uploads:c.total,started_uploads:c.started,successful_uploads:c.successful,canceled_uploads:c.canceled,failed_uploads:c.failed}}));this.$3.add(a)}};b.$5=function(a){this.$6(d("VideoUploadLoggerEvents").VideoUploadLoggerEvents.EVENT_CANCELED_FLOW,{event_reason:a})};return a}(),m=Object.freeze({UPLOAD_USER_REMOVED:"upload_removed"}),n=Object.freeze({POST_USER_CANCELED:"post_user_canceled",POST_USER_REQUESTED:"post_user_requested",POST_FAILED:"post_failed",POST_SUCCESSFUL:"post_successful"});function o(a){return a==null?d("WaterfallIDGenerator").generate():a}function a(a){if(a.extended_flow_logging_enabled)return new q(a);else return p.getInstance()}var p=function(){function a(){}a.getInstance=function(){return a.$1};var b=a.prototype;b.registerVideoUpload=function(a,b){return o(b)};b.notifyOnUploadAction=function(a){};b.notifyOnPostAction=function(a){};return a}();p.$1=new p();var q=function(){function a(a){this.$3=a,this.$5=new i(),this.$2=new j(),this.$1=!1,this.$4=a.composer_session_id==null?d("WaterfallIDGenerator").generate():a.composer_session_id}var b=a.prototype;b.$6=function(){var a=d("VideoUploadLoggerTyped").VideoUploadLogger.shouldSendFlowEventsViaNotifier({source_type:this.$3.source,composer_entry_point_ref:this.$3.composer_entry_point_ref});a=a?l:k;return new a({composer_entry_point_ref:this.$3.composer_entry_point_ref,source:this.$3.source,target_id:this.$3.target_id,target_type:this.$3.target_type,composer_session_id:this.$4,cancel_on_leave:this.$3.cancel_on_leave,cancel_on_unload:this.$3.cancel_on_unload==null?!0:this.$3.cancel_on_unload},this.$5)};b.registerVideoUpload=function(a,b){b=o(b);a.setComposerSessionID(this.$4);this.$5.registerUpload(a,b);return b};b.notifyOnUploadAction=function(a){switch(a.action){case m.UPLOAD_USER_REMOVED:this.$5.cancelUpload(a.trackingID);break}};b.notifyOnPostAction=function(a){switch(a.action){case n.POST_USER_REQUESTED:!this.$1&&this.$5.areAnyVideosIncludedInPost()&&(this.$2=this.$6(),this.$1=!0);this.$2.logFlowStarted();break;case n.POST_FAILED:this.$2.logFlowFailed();this.$2.release();break;case n.POST_SUCCESSFUL:this.$2.logFlowFinished();this.$2.release();this.$2=new j();break;case n.POST_USER_CANCELED:this.$2.logFlowCanceled();this.$2.release();break}};return a}();g.VideoUploadActions=m;g.VideoPostActions=n;g.createVideoUploadFlowNotifier=a;g.NoOpVideoUploadFlowNotifier=p}),98); __d("VideoUploadSurface",["$InternalEnum","VideoUploadFlowNotifier","WaterfallIDGenerator"],(function(a,b,c,d,e,f,g){"use strict";a=b("$InternalEnum")({JEST_TESTS:"jest_tests",COMMENTS:"comments",FEED:"feed"});var h=function(){function a(a){this.$1={},this.$2=a}var b=a.prototype;b.getByID=function(a){return this.$1[a]};b.getExistingOrNoOpByID=function(a){a=this.getByID(a);return a==null?this.$2.noOpProvider():a};b.register=function(a,b){b=b==null?d("WaterfallIDGenerator").generate():b;this.$1[b]=a;return b};b.clear=function(a){this.$1[a]=void 0};return a}();c=function(){function a(){this.$2=new h({noOpProvider:function(){return d("VideoUploadFlowNotifier").NoOpVideoUploadFlowNotifier.getInstance()}})}a.getOrCreate=function(b){var c=a.$1[b];c==null&&(c=new a(),a.$1[b]=c);return c};var b=a.prototype;b.notifiers=function(){return this.$2};return a}();c.$1={};g.VideoUploadSurfaceIDs=a;g.VideoUploadSurface=c}),98);/*FB_PKG_DELIM*/ __d("VolunteeringOneClickCreationDialogQuery_facebookRelayOperation",[],(function(a,b,c,d,e,f){e.exports="5390866184341330"}),null); __d("VolunteeringOneClickCreationDialogQuery$Parameters",["VolunteeringOneClickCreationDialogQuery_facebookRelayOperation"],(function(a,b,c,d,e,f){"use strict";a={kind:"PreloadableConcreteRequest",params:{id:b("VolunteeringOneClickCreationDialogQuery_facebookRelayOperation"),metadata:{},name:"VolunteeringOneClickCreationDialogQuery",operationKind:"query",text:null}};e.exports=a}),null); __d("WhatsAppCometPagesComposerInterceptionDialogQuery_facebookRelayOperation",[],(function(a,b,c,d,e,f){e.exports="5487007661388072"}),null); __d("WhatsAppCometPagesComposerInterceptionDialogQuery$Parameters",["WhatsAppCometPagesComposerInterceptionDialogQuery_facebookRelayOperation"],(function(a,b,c,d,e,f){"use strict";a={kind:"PreloadableConcreteRequest",params:{id:b("WhatsAppCometPagesComposerInterceptionDialogQuery_facebookRelayOperation"),metadata:{},name:"WhatsAppCometPagesComposerInterceptionDialogQuery",operationKind:"query",text:null}};e.exports=a}),null); __d("CometComposerInterceptionPluginUtilsQuery_facebookRelayOperation",[],(function(a,b,c,d,e,f){e.exports="6735767953211490"}),null); __d("CometComposerInterceptionPluginUtilsQuery.graphql",["CometComposerInterceptionPluginUtilsQuery_facebookRelayOperation"],(function(a,b,c,d,e,f){"use strict";a=function(){var a={defaultValue:null,kind:"LocalArgument",name:"params"},c={defaultValue:null,kind:"LocalArgument",name:"target_id"},d={defaultValue:null,kind:"LocalArgument",name:"target_type"},e={alias:null,args:null,kind:"ScalarField",name:"product_type",storageKey:null},f={alias:null,args:null,kind:"ScalarField",name:"description",storageKey:null},g={alias:null,args:null,kind:"ScalarField",name:"address",storageKey:null},h={alias:null,args:null,concreteType:"UnifiedInterceptionLocation",kind:"LinkedField",name:"location",plural:!1,selections:[g,{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"latitude",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"longitude",storageKey:null}],storageKey:null},i={alias:null,args:null,kind:"ScalarField",name:"title",storageKey:null},j={alias:null,args:null,kind:"ScalarField",name:"start_time",storageKey:null},k={alias:null,args:null,kind:"ScalarField",name:"end_time",storageKey:null};h=[{alias:null,args:[{kind:"Variable",name:"target_id",variableName:"target_id"},{kind:"Variable",name:"target_type",variableName:"target_type"}],concreteType:"UnifiedInterceptionQuery",kind:"LinkedField",name:"unified_interception",plural:!1,selections:[{alias:null,args:[{kind:"Variable",name:"request_param",variableName:"params"}],concreteType:"UnifiedInterceptionResponse",kind:"LinkedField",name:"decision",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"flow_type",storageKey:null},e,{alias:null,args:null,kind:"ScalarField",name:"should_perform_interception",storageKey:null},{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"auxiliary_data",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null},{kind:"InlineFragment",selections:[f,{alias:null,args:null,kind:"ScalarField",name:"job_type",storageKey:null},h,i,{alias:null,args:null,concreteType:"Wage",kind:"LinkedField",name:"wage",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"max",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"min",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"type",storageKey:null}],storageKey:null}],type:"UnifiedInterceptionJobAuxiliaryData",abstractKey:null},{kind:"InlineFragment",selections:[i,{alias:null,args:null,kind:"ScalarField",name:"activity_title",storageKey:null},f,h,j,k,{alias:null,args:null,kind:"ScalarField",name:"location_type",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"link_type",storageKey:null},e],type:"XFBUnifiedInterceptionVolunteeringAuxiliaryData",abstractKey:null},{kind:"InlineFragment",selections:[g,f,k,{alias:null,args:null,kind:"ScalarField",name:"external_image_url",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"has_data_from_url",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"location_id",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"photo_id",storageKey:null},j,i],type:"UnifiedInterceptionEventAuxiliaryData",abstractKey:null},{kind:"InlineFragment",selections:[{alias:null,args:null,kind:"ScalarField",name:"should_update_content",storageKey:null}],type:"XFBUnifiedInterceptionCTWAAuxiliaryData",abstractKey:null}],storageKey:null}],storageKey:null}],storageKey:null}];return{fragment:{argumentDefinitions:[a,c,d],kind:"Fragment",metadata:null,name:"CometComposerInterceptionPluginUtilsQuery",selections:h,type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:[d,c,a],kind:"Operation",name:"CometComposerInterceptionPluginUtilsQuery",selections:h},params:{id:b("CometComposerInterceptionPluginUtilsQuery_facebookRelayOperation"),metadata:{},name:"CometComposerInterceptionPluginUtilsQuery",operationKind:"query",text:null}}}();e.exports=a}),null); __d("CometComposerInterceptionRequestHandlerQuery_facebookRelayOperation",[],(function(a,b,c,d,e,f){e.exports="24626070316984079"}),null); __d("CometComposerInterceptionRequestHandlerQuery.graphql",["CometComposerInterceptionRequestHandlerQuery_facebookRelayOperation"],(function(a,b,c,d,e,f){"use strict";a=function(){var a={defaultValue:null,kind:"LocalArgument",name:"params"},c={defaultValue:null,kind:"LocalArgument",name:"target_id"},d={defaultValue:null,kind:"LocalArgument",name:"target_type"},e=[{alias:null,args:[{kind:"Variable",name:"target_id",variableName:"target_id"},{kind:"Variable",name:"target_type",variableName:"target_type"}],concreteType:"UnifiedInterceptionQuery",kind:"LinkedField",name:"unified_interception",plural:!1,selections:[{alias:null,args:[{kind:"Variable",name:"request_param",variableName:"params"}],concreteType:"UnifiedInterceptionResponse",kind:"LinkedField",name:"decision",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"product_type",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"should_perform_interception",storageKey:null},{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"auxiliary_data",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null},{kind:"InlineFragment",selections:[{alias:null,args:null,kind:"ScalarField",name:"address",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"description",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"end_time",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"has_data_from_url",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"location_id",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"photo_id",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"start_time",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"title",storageKey:null}],type:"UnifiedInterceptionEventAuxiliaryData",abstractKey:null}],storageKey:null}],storageKey:null}],storageKey:null}];return{fragment:{argumentDefinitions:[a,c,d],kind:"Fragment",metadata:null,name:"CometComposerInterceptionRequestHandlerQuery",selections:e,type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:[d,c,a],kind:"Operation",name:"CometComposerInterceptionRequestHandlerQuery",selections:e},params:{id:b("CometComposerInterceptionRequestHandlerQuery_facebookRelayOperation"),metadata:{},name:"CometComposerInterceptionRequestHandlerQuery",operationKind:"query",text:null}}}();e.exports=a}),null); __d("useCometComposerUnifiedInterceptors_intercept_configs.graphql",[],(function(a,b,c,d,e,f){"use strict";a={argumentDefinitions:[],kind:"Fragment",metadata:null,name:"useCometComposerUnifiedInterceptors_intercept_configs",selections:[{alias:null,args:null,concreteType:"PagesComposerInterceptionConfig",kind:"LinkedField",name:"config",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"interception_product_type",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"is_eligible_for_interception",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"whitelisted_attachment_types",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"blacklisted_attachment_types",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"supported_locales",storageKey:null}],storageKey:null}],type:"ComposerInterception",abstractKey:null};e.exports=a}),null); __d("cometComposerAdminCrossPostingEligibilityChecker",["CometComposerAttachmentPluginTypes","CometComposerFooterAttachmentPluginTypes","CometComposerPostSettingFeatureTypes","CometComposerTaggerPluginTypes"],(function(a,b,c,d,e,f,g){"use strict";var h=[(b=c("CometComposerAttachmentPluginTypes")).LINK,b.LOCATION,b.ANIMATED_IMAGE,b.FORMATTED_TEXT,b.MEDIA],i=[c("CometComposerTaggerPluginTypes").MINUTIAE,c("CometComposerTaggerPluginTypes").LOCATION],j=9;function k(){var a=Object.keys(c("CometComposerAttachmentPluginTypes")).filter(function(a){return!h.includes(a)}),b=Object.keys(c("CometComposerTaggerPluginTypes")).filter(function(a){return!i.includes(a)}),e=Array.from(d("CometComposerFooterAttachmentPluginTypes").CometComposerFooterAttachmentPluginTypes.members());return new Set([].concat(a,b,e))}function l(a){var b;if(((b=a.attachmentArea)==null?void 0:b.activeAttachmentType)!=null&&!h.includes(a.attachmentArea.activeAttachmentType))return new Set([d("CometComposerPostSettingFeatureTypes").CometComposerPostSettingFeatureTypes.ADMIN_CROSS_POST]);if(((b=a.attachmentArea)==null?void 0:b.activeAttachmentType)===c("CometComposerAttachmentPluginTypes").MEDIA&&((b=a.mediaAttachments)==null?void 0:b.find(function(a){return a.fileType==="VIDEO"}))!=null)return new Set([d("CometComposerPostSettingFeatureTypes").CometComposerPostSettingFeatureTypes.ADMIN_CROSS_POST]);if(((b=a.attachmentArea)==null?void 0:b.activeAttachmentType)===c("CometComposerAttachmentPluginTypes").MEDIA&&a.mediaAttachments!=null&&a.mediaAttachments.filter(function(a){return a.fileType==="PHOTO"}).length>j)return new Set([d("CometComposerPostSettingFeatureTypes").CometComposerPostSettingFeatureTypes.ADMIN_CROSS_POST]);if(a.footerAttachmentArea!=null&&((b=a.footerAttachmentArea)==null?void 0:b.activeFooterAttachmentType)!=null)return new Set([d("CometComposerPostSettingFeatureTypes").CometComposerPostSettingFeatureTypes.ADMIN_CROSS_POST]);return a.preAttachmentArea!=null&&a.preAttachmentArea.activePreAttachmentType!=null?new Set([d("CometComposerPostSettingFeatureTypes").CometComposerPostSettingFeatureTypes.ADMIN_CROSS_POST]):null}function m(a){var b;if(((b=a.taggerData)==null?void 0:b.activeTaggerList)!=null){var c=new Set([]);(b=a.taggerData)==null?void 0:b.activeTaggerList.forEach(function(a){i.includes(a)||c.add(a)});if(c.size>0)return new Set([d("CometComposerPostSettingFeatureTypes").CometComposerPostSettingFeatureTypes.ADMIN_CROSS_POST])}if(a.activityMinutiae!=null&&!i.includes(a.activityMinutiae.source))return new Set([d("CometComposerPostSettingFeatureTypes").CometComposerPostSettingFeatureTypes.ADMIN_CROSS_POST]);return a.withTagIDsTracker!=null&&((b=a.withTagIDsTracker)==null?void 0:b.size)>0?new Set([d("CometComposerPostSettingFeatureTypes").CometComposerPostSettingFeatureTypes.ADMIN_CROSS_POST]):null}function a(a){var b;if((a==null?void 0:(b=a.audience)==null?void 0:(b=b.privacy)==null?void 0:b.base_state)!=="EVERYONE")return new Set([d("CometComposerPostSettingFeatureTypes").CometComposerPostSettingFeatureTypes.ADMIN_CROSS_POST]);b=l(a);if(b!=null)return b;b=m(a);if(b!=null)return b;return a.adminCrossProfilePostingData!=null&&((b=a.adminCrossProfilePostingData)==null?void 0:(a=b.postingProfiles)==null?void 0:a.size)>0?k():new Set()}g.cometComposerAdminCrossPostingEligibilityChecker=a}),98); __d("VolunteeringOneClickCreationDialog.entrypoint",["JSResourceForInteraction","VolunteeringOneClickCreationDialogQuery$Parameters"],(function(a,b,c,d,e,f,g){"use strict";a={getPreloadProps:function(a){a=a.pageID;return{queries:{dialogQueryReference:{parameters:c("VolunteeringOneClickCreationDialogQuery$Parameters"),variables:{pageID:a}}}}},root:c("JSResourceForInteraction")("VolunteeringOneClickCreationDialog.react").__setRef("VolunteeringOneClickCreationDialog.entrypoint")};g["default"]=a}),98); __d("WhatsAppCometPagesComposerInterceptionDialog.entrypoint",["JSResourceForInteraction","WhatsAppCometPagesComposerInterceptionDialogQuery$Parameters"],(function(a,b,c,d,e,f,g){"use strict";a={getPreloadProps:function(a){return{queries:{dialogQueryReference:{parameters:c("WhatsAppCometPagesComposerInterceptionDialogQuery$Parameters"),variables:{page_id:a.pageID}}}}},root:c("JSResourceForInteraction")("WhatsAppCometPagesComposerInterceptionDialog.react").__setRef("WhatsAppCometPagesComposerInterceptionDialog.entrypoint")};g["default"]=a}),98); __d("CometComposerInterceptionCallNowHandler",[],(function(a,b,c,d,e,f){"use strict";function a(a,b,c,d,e){a=a.callNowHandler;e=(e=e.unified_interception)==null?void 0:e.decision;if(e==null||e.product_type!=="CALL_NOW")return;a(b,c,d)}f.handleCallNowInterceptionResponse=a}),66); __d("CometComposerInterceptionEventsHandler",[],(function(a,b,c,d,e,f){"use strict";function a(a,b,c,d){a=a.eventsHandler;d=(d=d.unified_interception)==null?void 0:d.decision;if(d==null||d.product_type!=="EVENT")return;d=(d==null?void 0:d.auxiliary_data)||{};var e=d.address,f=d.description,g=d.end_time,h=d.external_image_url,i=d.has_data_from_url,j=d.location_id,k=d.photo_id,l=d.start_time;d=d.title;a({extractedEventData:{address:e,description:f,endtime:g,externalImageUrl:h,hasDataFromURL:i,location:j!=null||e!=null?"IN_PERSON":void 0,locationID:j,startTime:l,themePhotoID:k,title:d},onHalt:b,publishPostHandler:c})}f.handleEventsInterceptionResponse=a}),66); __d("CometComposerInterceptionFundraisingHandler",[],(function(a,b,c,d,e,f){"use strict";function a(a,b,c,d){a=a.fundraisingHandler;d=(d=d.unified_interception)==null?void 0:d.decision;if(d==null||d.product_type!=="FUNDRAISER_DONATE_BUTTON")return;a({onClose:b,publishPostHandler:c})}f.handleFundraisingInterceptionResponse=a}),66); __d("CometComposerInterceptionGetMessagesHandler",["JSResourceForInteraction","useCometLazyDialog"],(function(a,b,c,d,e,f,g){"use strict";var h=c("JSResourceForInteraction")("MessagingCometPagesComposerInterceptionDialog.react").__setRef("CometComposerInterceptionGetMessagesHandler");function a(a,b,d,e,f){var g=c("useCometLazyDialog")(h),i=g[0];return function(c){if(b===!0){c();return}var g=function(){a({isGetMessagesPostAttachmentOptional:!0,type:"MESSAGING_ADD_GET_MESSAGES_BUTTON"}),a({attachmentType:"GET_MESSAGES",type:"ACTIVATE_ATTACHMENT_TYPE"}),window.setTimeout(f,0)};i({interceptionEntryPoint:"profile_plus_feed",onClose:c,onContinue:g,pageID:d,publishPostHandler:c,sessionID:e});return}}function b(a,b,c){a=a.getMessagesHandler;c=(c=c.unified_interception)==null?void 0:c.decision;if(c==null||c.product_type!=="MESSAGEPAGE")return;a(b);return}g.useGetMessagesCometComposerInterceptionHandler=a;g.handleGetMessagesInterceptionResponse=b}),98); __d("UnifiedInterceptionFlowTypeEnum.facebook",["$InternalEnum"],(function(a,b,c,d,e,f){a=b("$InternalEnum").Mirrored(["AUTO_CONVERT","DIALOG","INLINE","ONE_CLICK_CREATION","UNKNOWN"]);c=a;f["default"]=c}),66); __d("UnifiedInterceptionInterceptAcceptFalcoEvent",["FalcoLoggerInternal","getFalcoLogPolicy_DO_NOT_USE"],(function(a,b,c,d,e,f,g){"use strict";a=c("getFalcoLogPolicy_DO_NOT_USE")("1744453");b=d("FalcoLoggerInternal").create("unified_interception_intercept_accept",a);e=b;g["default"]=e}),98); __d("UnifiedInterceptionInterceptRejectFalcoEvent",["FalcoLoggerInternal","getFalcoLogPolicy_DO_NOT_USE"],(function(a,b,c,d,e,f,g){"use strict";a=c("getFalcoLogPolicy_DO_NOT_USE")("1744455");b=d("FalcoLoggerInternal").create("unified_interception_intercept_reject",a);e=b;g["default"]=e}),98); __d("VolunteeringInterceptionUtils",["FBLogger","JSResourceForInteraction","UnifiedInterceptionInterceptAcceptFalcoEvent","UnifiedInterceptionInterceptRejectFalcoEvent","VolunteeringOneClickCreationDialog.entrypoint","unrecoverableViolation","useCometEntryPointDialog","useCometLazyDialog"],(function(a,b,c,d,e,f,g){"use strict";var h=c("JSResourceForInteraction")("VolunteeringCometAutoConvertInfoDialog.react").__setRef("VolunteeringInterceptionUtils"),i=c("JSResourceForInteraction")("VolunteeringCometStructuredJobInfoDialog.react").__setRef("VolunteeringInterceptionUtils");function a(){throw c("FBLogger")("volunteering").mustfixThrow("Volunteering is deprecated and should no longer auto convert")}function b(a,b,d,e){var f=function(){c("UnifiedInterceptionInterceptAcceptFalcoEvent").log(function(){return{event_data:{},event_location:"unknown",interception_entry_point:"pages_feed",interception_flow:"dialog",interception_placement:"composer_post_button",interception_product:"volunteering",interception_target_type:"page",target_id:b,waterfall_session_id:e}});throw c("unrecoverableViolation")("Volunteering is deprecated and we should not show intercept","volunteering")},g=function(){c("UnifiedInterceptionInterceptRejectFalcoEvent").log(function(){return{event_data:{},event_location:"unknown",interception_entry_point:"pages_feed",interception_flow:"dialog",interception_placement:"composer_post_button",interception_product:"volunteering",interception_target_type:"page",target_id:b,waterfall_session_id:e}}),d()};a({loggingSourceComponent:"pages_composer",onProceed:f},g)}function d(){throw c("FBLogger")("volunteering").mustfixThrow("Volunteering is deprecated and should no longer create opportunities")}function e(){var a=c("useCometLazyDialog")(i);a=a[0];return a}function f(){var a=c("useCometLazyDialog")(h);a=a[0];return a}function j(a){a=c("useCometEntryPointDialog")(c("VolunteeringOneClickCreationDialog.entrypoint"),{pageID:a});a=a[0];return a}g.handleVolunteeringAutoConvertInterceptionResponse=a;g.handleVolunteeringDialogInterceptionResponse=b;g.handleVolunteeringOneClickCreationInterceptionResponse=d;g.useVolunteeringInterceptDialog=e;g.useVolunteeringAutoConvertDialog=f;g.useVolunteeringOneClickCreationDialog=j}),98); __d("CometComposerInterceptionVolunteeringHandler",["FBLogger","VolunteeringInterceptionUtils"],(function(a,b,c,d,e,f,g){"use strict";function a(a,b,c,d,e){b=b.volunteeringHandler;d=(d=d.unified_interception)==null?void 0:d.decision;if(d==null||d.product_type!=="VOLUNTEERING")return;var f=d==null?void 0:d.auxiliary_data;if((f==null?void 0:f.__typename)!=="XFBUnifiedInterceptionVolunteeringAuxiliaryData")return;var g=f.activity_title,h=f.description,i=f.end_time,j=f.link_type,k=f.location,l=f.location_type,m=f.product_type,n=f.start_time;f=f.title;b(a,{activity_title:g,description:h,end_time:i,link_type:j,location:k,location_type:l,product_type:m,start_time:n,title:f},(b=d.flow_type)!=null?b:"UNKNOWN",c,e)}function b(a,b,e){var f=d("VolunteeringInterceptionUtils").useVolunteeringInterceptDialog();return function(g,h,i,j,k){if(e==null){k();return}switch(i){case"AUTO_CONVERT":d("VolunteeringInterceptionUtils").handleVolunteeringAutoConvertInterceptionResponse();break;case"DIALOG":d("VolunteeringInterceptionUtils").handleVolunteeringDialogInterceptionResponse(f,a,k,b);break;case"ONE_CLICK_CREATION":d("VolunteeringInterceptionUtils").handleVolunteeringOneClickCreationInterceptionResponse();break;case"INLINE":case"UNKNOWN":default:throw c("FBLogger")("volunteering").mustfixThrow("unsupported interception flow type")}}}g.handleVolunteeringInterceptionResponse=a;g.useVolunteeringAutoConvertCometComposerInterceptionHandler=b}),98); __d("composerGetWhatsAppMessagesReducer",["CometComposerAttachmentPluginTypes","CometComposerFooterAttachmentPluginTypes","Promise","composerAttachmentAreaReducer"],(function(a,b,c,d,e,f,g){"use strict";var h;function i(a,c){var d,e=c.item.id;d=(d=c.item.uri)!=null?d:"";var f=c.item.height,g=c.item.width;d=babelHelpers["extends"]({data:{id:e},entID:e,fileObjectURL:d,fileType:"PHOTO",state:"PREEXISTING",url:d,useCDNPreview:!0},f!=null&&g!=null&&{height:f,width:g});f=(h||(h=b("Promise"))).resolve({attachmentID:c.item.id,attachmentType:"PHOTO"});e=(g={},g[e]={cancelUpload:function(){},onFileComplete:f,onUploadCancel:new h(function(a){}),resolveFileUpload:function(){}},g);return babelHelpers["extends"]({},a,{isGetWhatsAppMessagePostAttachmentData:{catalogAttachmentItemName:c.item.catalog_item_name,catalogAttachmentItemPrice:c.item.catalog_item_price,isWhatsAppCatalogAttachment:!0},mediaAttachments:[d],mediaUploadStatuses:e})}function j(a,b){return((b=a.isGetWhatsAppMessagePostAttachmentData)==null?void 0:b.isWhatsAppCatalogAttachment)===!0?babelHelpers["extends"]({},a,{isGetWhatsAppMessagePostAttachmentData:{},mediaAttachments:null}):a}function a(a,b){switch(b.type){case"ADD_GET_WHATSAPP_MESSAGES_BUTTON":return babelHelpers["extends"]({},a,{isGetWhatsAppMessagePost:!0,isGetWhatsappMessagesPostAttachmentOptional:b.isGetWhatsappMessagesPostAttachmentOptional});case"ADD_CATALOG_ATTACHMENT_ITEMS":return i(a,b);case"REMOVE_WHATSAPP_CATALOG_ATTACHMENT_ITEM":return j(a,b);case"REMOVE_GET_WHATSAPP_MESSAGES_BUTTON":return babelHelpers["extends"]({},a,{isGetWhatsAppMessagePost:null,isGetWhatsAppMessagePostAttachmentData:{}});case"REMOVE_ATTACHMENT_TYPE":if(d("composerAttachmentAreaReducer").getCanAlterAttachmentData(b,"GET_WHATSAPP_MESSAGES",a)){var e,f;b=(b=a.attachmentArea)==null?void 0:b.activeAttachmentType;e=(e=a.footerAttachmentArea)==null?void 0:e.activeFooterAttachmentType;var g=a.mediaAttachments,h=null;((f=a.isGetWhatsAppMessagePostAttachmentData)==null?void 0:f.isWhatsAppCatalogAttachment)===!0?(b=void 0,e=d("CometComposerFooterAttachmentPluginTypes").CometComposerFooterAttachmentPluginTypes.GET_WHATSAPP_MESSAGES,g=null,h=!0):(g||[]).length>0&&(b=c("CometComposerAttachmentPluginTypes").MEDIA);return babelHelpers["extends"]({},a,{attachmentArea:babelHelpers["extends"]({},a.attachmentArea,{activeAttachmentType:b}),footerAttachmentArea:{activeFooterAttachmentType:e},isGetWhatsAppMessagePost:h,isGetWhatsAppMessagePostAttachmentData:{},mediaAttachments:g})}}return a}g["default"]=a}),98); __d("CometComposerInterceptionWhatsAppMessagesHandler",["fbt","CometComposerFooterAttachmentPluginTypes","JSResourceForInteraction","WhatsAppCometPagesComposerInterceptionDialog.entrypoint","composerFooterAttachmentAreaChecker","composerFooterAttachmentAreaReducer","composerGetWhatsAppMessagesReducer","lazyLoadComponent","react","useCometComposerPushPage","useCometEntryPointDialog","useComposerViewStateReducer"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j=i||d("react"),k=c("lazyLoadComponent")(c("JSResourceForInteraction")("CometComposerGetWhatsAppMessagesVerificationFlowContainer.react").__setRef("CometComposerInterceptionWhatsAppMessagesHandler"));function a(a,b,e,f,g,i,l){c("useComposerViewStateReducer")(c("composerGetWhatsAppMessagesReducer"));c("useComposerViewStateReducer")(d("composerFooterAttachmentAreaReducer").composerFooterAttachmentAreaReducer,c("composerFooterAttachmentAreaChecker"));var m=c("useCometEntryPointDialog")(c("WhatsAppCometPagesComposerInterceptionDialog.entrypoint"),{pageID:e,shouldUpdateContent:!1}),n=m[0],o=c("useCometComposerPushPage")();return function(c,m,p){if(f===!0){m();return}var q=function(){a({type:"ADD_GET_WHATSAPP_MESSAGES_BUTTON"}),a({footerAttachmentType:d("CometComposerFooterAttachmentPluginTypes").CometComposerFooterAttachmentPluginTypes.GET_WHATSAPP_MESSAGES,type:"ACTIVATE_FOOTER_ATTACHMENT_TYPE"})},r=function(b,d){c(),b!=null?(q(),g===!0&&a({type:"WHATSAPP_BOOST_POST_TOGGLE_ON"}),d===!0&&l!==!1&&i!=null&&(i(!0),a({type:"WHATSAPP_BOOST_POST_TOGGLE_ON"}))):o(h._("__JHASH__sgvnIxYrqEL__JHASH__"),function(a){a=a.onReturn;return j.jsx(k,{addAttachment:q,onClose:a,pageID:e})})};n({onClose:c,onContinue:r,pageID:e,publishPostHandler:m,sessionID:b,shouldUpdateContent:p},m);return}}function b(a,b,c,d){a=a.getWhatsAppMessagesHandler;d=(d=d.unified_interception)==null?void 0:d.decision;var e=(d==null?void 0:d.auxiliary_data)||{};e=(e=e.should_update_content)!=null?e:!1;if(d==null||d.product_type!=="WHATSAPP_PAGE")return;a(b,c,e);return}g.useWhatsAppMessagesCometComposerInterceptionHandler=a;g.handleWhatsAppMessagesInterceptionResponse=b}),98); __d("CometComposerInterceptionWhatsappDeeplinkHandler",[],(function(a,b,c,d,e,f){"use strict";function a(a,b,c,d){a=a.whatsAppDeeplinkHandler;d=(d=d.unified_interception)==null?void 0:d.decision;if(d==null||d.product_type!=="WHATSAPP_DEEPLINK_PAGE")return;a({onClose:b,publishPostHandler:c})}f.handleWhatsAppDeeplinkInterceptionResponse=a}),66); __d("UnifiedInterceptionPlacementTypeEnum.facebook",["$InternalEnum"],(function(a,b,c,d,e,f){a=b("$InternalEnum").Mirrored(["BIZ_COMPOSER","COMPOSER","COMPOSER_AFTER_PARTY","COMPOSER_POST_BUTTON","COMPOSER_SCHEDULE_POST","COMPOSER_SCHEDULE_STORY","CREATOR_COMPOSER_SCHEDULE_POST","MAIN_CALENDAR","POST_CTA"]);c=a;f["default"]=c}),66); __d("CometComposerInterceptionPluginUtils",["CometComposerInterceptionCallNowHandler","CometComposerInterceptionEventsHandler","CometComposerInterceptionFundraisingHandler","CometComposerInterceptionGetMessagesHandler","CometComposerInterceptionPluginUtilsQuery.graphql","CometComposerInterceptionVolunteeringHandler","CometComposerInterceptionWhatsAppMessagesHandler","CometComposerInterceptionWhatsappDeeplinkHandler","CometRelay","FBLogger","isStringNullOrEmpty","relay-runtime"],(function(a,b,c,d,e,f,g){"use strict";var h,i={unified_interception:{decision:{auxiliary_data:null,flow_type:"UNKNOWN",product_type:"UNKNOWN",should_perform_interception:!1}}},j={},k="comet_composer_unified_interception_platform",l=h!==void 0?h:h=b("CometComposerInterceptionPluginUtilsQuery.graphql");function a(a,b,d,e,f,g,h,i){var j=function(c){return m(a,b,c,d,g,h,i)};e=n(d,f,e,j);if(e==null){h();return}p(b,e,function(a){c("FBLogger")(k).info(a.message),s(j)},function(a){r(a,f.sessionID,!1,j)})}function e(a){var b="";if(a!=null)switch(a.__type){case"editor-state-based":b=a.draftEditorState.getCurrentContent().getPlainText();break;case"plain-text":b=a.text;break}return b}function m(a,b,c,e,f,g,h){var i;i=(i=c.unified_interception)==null?void 0:i.decision;if(!Boolean(i==null?void 0:i.should_perform_interception)){g();return}a({type:"set_ignore_dirty_flag",value:!0});if((i==null?void 0:i.product_type)==null){g();return}switch(i.product_type){case"MESSAGEPAGE":d("CometComposerInterceptionGetMessagesHandler").handleGetMessagesInterceptionResponse(h,g,c);break;case"WHATSAPP_PAGE":d("CometComposerInterceptionWhatsAppMessagesHandler").handleWhatsAppMessagesInterceptionResponse(h,f,g,c);break;case"VOLUNTEERING":d("CometComposerInterceptionVolunteeringHandler").handleVolunteeringInterceptionResponse(b,h,e,c,g);break;case"FUNDRAISER_DONATE_BUTTON":d("CometComposerInterceptionFundraisingHandler").handleFundraisingInterceptionResponse(h,f,g,c);break;case"EVENT":d("CometComposerInterceptionEventsHandler").handleEventsInterceptionResponse(h,f,g,c);break;case"WHATSAPP_DEEPLINK_PAGE":d("CometComposerInterceptionWhatsappDeeplinkHandler").handleWhatsAppDeeplinkInterceptionResponse(h,f,g,c);break;case"CALL_NOW":d("CometComposerInterceptionCallNowHandler").handleCallNowInterceptionResponse(h,f,g,e,c);break;default:g();break}}function n(a,b,c,d){var e=b.hasWhatsAppDeeplink,f=b.loggingEntryPoint,g=b.placement,h=b.sessionID,i=b.targetID;b=b.targetType;if(!o(h,g)){s(d);return null}c=t((d=c)!=null?d:[]);d={has_whatsapp_deeplink:e,logging_data:{entry_point:f,session_id:h},photo_ids:c,placement:g,post_text:a};return{params:d,target_id:i,target_type:b}}function o(a,b){b=b==="COMPOSER";if(!b&&j[a]){c("FBLogger")(k).info("Already performed a successful interception in this session");return!1}return!0}function p(a,b,c,e){var f=d("relay-runtime").getRequest(l);f=d("relay-runtime").createOperationDescriptor(f,b);var g=a.retain(f),h=d("CometRelay").fetchQuery(a,l,b).subscribe({error:function(a){q({queryRetainDisposable:g,querySubscription:h}),c(a)},next:function(a){q({queryRetainDisposable:g,querySubscription:h}),e(a)}})}function q(a){var b=a.queryRetainDisposable;a=a.querySubscription;a&&a.unsubscribe();b&&b.dispose()}function r(a,b,d,e){var f=a.unified_interception;if(!f){c("FBLogger")(k).info("Null value received from server for interception response");s(e);return}d||(j[b]=!0);s(e,a)}function s(a,b){b===void 0&&(b=i),a&&a(b)}function t(a){return a.filter(function(a){return a.fileType==="PHOTO"&&(a.state==="UPLOADED"||a.state==="PREEXISTING")}).map(function(a){return a.data&&((a=a.data.id)!=null?a:"")}).filter(function(a){return!c("isStringNullOrEmpty")(a)})}g.performInterception=a;g.getPostText=e;g.validateInterceptionRequest=o;g.disposeQuery=q;g.getPhotoIds=t}),98); __d("UnifiedInterceptionProductTypeEnum.facebook",["$InternalEnum"],(function(a,b,c,d,e,f){a=b("$InternalEnum").Mirrored(["BRANDAWARENESS","BRANDED_CONTENT","BRANDTAGGING","CALENDAR_HOTSPOTS","CALL_NOW","EVENT","FUNDRAISER_DONATE_BUTTON","HASHTAG","JOB","LDP","MARKETPLACE_VERTICALS","MESSAGEPAGE","MESSAGE_BUTTON","MOVIE","OFFER","PAGES_INTEGRITY_FAKE_NEWS","PAGES_INTEGRITY_UNPUBLISHED_CONTENT","PRODUCT_TAGGING_NUX","QPC","SCHEDULE_POST_TIME","SELL_MESSAGE","SERVICE","UNKNOWN","VOLUNTEERING","WHATSAPP_DEEPLINK_PAGE","WHATSAPP_PAGE"]);c=a;f["default"]=c}),66); __d("CometComposerInterceptionRequestHandler",["CometComposerInterceptionPluginUtils","CometComposerInterceptionRequestHandlerQuery.graphql","CometRelay","FBLogger","relay-runtime"],(function(a,b,c,d,e,f,g){"use strict";var h,i={unified_interception:{decision:{auxiliary_data:null,product_type:"UNKNOWN",should_perform_interception:!1}}},j={},k="comet_composer_unified_interception_platform",l=h!==void 0?h:h=b("CometComposerInterceptionRequestHandlerQuery.graphql");function a(a,b,d,e,f,g,h,i){var j=a==null?void 0:a.mediaAttachments,l=function(c){return m(a,b,c,g,h,i)};d=o(d,f,j,l);if(d==null){h();return}p(e,d,function(a){c("FBLogger")(k).info(a.message),r(l)},function(a){q(a,f.sessionID,!1,l)})}function m(a,b,c,d,e,f){var g;g=(g=c.unified_interception)==null?void 0:g.decision;if(!Boolean(g==null?void 0:g.should_perform_interception)){e();return}b({type:"set_ignore_dirty_flag",value:!0});if((g==null?void 0:g.product_type)==null){e();return}g=n(g==null?void 0:g.product_type,f);if(g==null){e();return}g({onHalt:d,publishPostHandler:e,response:c,viewState:a,viewStateDispatcher:b})}function n(a,b){b=b.find(function(b){return b.serverName===a});return b==null?void 0:b.interceptHandler}function o(a,b,c,e){var f=b.loggingEntryPoint,g=b.placement,h=b.sessionID,i=b.targetID;b=b.targetType;if(!d("CometComposerInterceptionPluginUtils").validateInterceptionRequest(h,g)){r(e);return null}c=d("CometComposerInterceptionPluginUtils").getPhotoIds((e=c)!=null?e:[]);e={logging_data:{entry_point:f,session_id:h},photo_ids:c,placement:g,post_text:a};return{params:e,target_id:i,target_type:b}}function p(a,b,c,e){var f=d("relay-runtime").getRequest(l);f=d("relay-runtime").createOperationDescriptor(f,b);var g=a.retain(f),h=d("CometRelay").fetchQuery(a,l,b).subscribe({error:function(a){d("CometComposerInterceptionPluginUtils").disposeQuery({queryRetainDisposable:g,querySubscription:h}),c(a)},next:function(a){d("CometComposerInterceptionPluginUtils").disposeQuery({queryRetainDisposable:g,querySubscription:h}),e(a)}})}function q(a,b,d,e){var f=a.unified_interception;if(!f){c("FBLogger")(k).info("Null value received from server for interception response");r(e);return}d||(j[b]=!0);r(e,a)}function r(a,b){b===void 0&&(b=i),a&&a(b)}g.performInterception=a}),98); __d("translateComposerAttachmentToInterceptAttachmentType",[],(function(a,b,c,d,e,f){"use strict";function a(a){if(a==null)return"STATUS";switch(a){case"EVENT":return"EVENT";case"FILE":return"FILE";case"CREATE_JOB":return"JOB_OPENING";case"MEDIA":return"MEDIA";case"POLL":return"Q_AND_A";case"ASK_FOR_RECOMMENDATIONS":return"PAGE_RECOMMENDATION";case"LINK":return"LINK";case"ANIMATED_IMAGE":case"SHARE":default:return null}}f["default"]=a}),66); __d("getIsInterceptAttachmentCompatible",["translateComposerAttachmentToInterceptAttachmentType"],(function(a,b,c,d,e,f,g){"use strict";function a(a,b){a=(a=a.attachmentArea)==null?void 0:a.activeAttachmentType;if(a==null)return!0;var d=b.allowedConcurrentAttachments;d=d.includes(c("translateComposerAttachmentToInterceptAttachmentType")(a));b=b.disallowedConcurrentAttachments;b=b.includes(c("translateComposerAttachmentToInterceptAttachmentType")(a));return d&&!b}g["default"]=a}),98); __d("getIsInterceptLocaleSupported",["IntlCurrentLocale"],(function(a,b,c,d,e,f,g){"use strict";function a(a){var b=c("IntlCurrentLocale").code;for(var d=a,e=Array.isArray(d),f=0,d=e?d:d[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]();;){var g;if(e){if(f>=d.length)break;g=d[f++]}else{f=d.next();if(f.done)break;g=f.value}g=g;if(g.includes("XX")&&g.includes(b.substring(0,b.length-2)))return!0}return a.includes(b)}g["default"]=a}),98); __d("getEligibleInterceptionDefinitions",["cometComposerAttachmentsEligibilityChecker","getIsInterceptAttachmentCompatible","getIsInterceptLocaleSupported"],(function(a,b,c,d,e,f,g){"use strict";function a(a,b){return b==null?[]:b.filter(function(b){var d;if(!b.getIsEligible(a))return!1;if(!c("getIsInterceptAttachmentCompatible")(a,b))return!1;var e=b.sproutName;if((a==null?void 0:(d=a.attachmentArea)==null?void 0:d.activeAttachmentType)!=null&&e!=null){d=c("cometComposerAttachmentsEligibilityChecker")(a);if(d.has(e))return!1}return!c("getIsInterceptLocaleSupported")(b.supportedLocales)?b.getIsLocaleSupportedOverride!=null&&b.getIsLocaleSupportedOverride()?b:!1:b})}g["default"]=a}),98); __d("useCometComposerUnifiedInterceptors",["CometRelay","UnifiedInterceptionProductTypeEnum.facebook","useCometComposerUnifiedInterceptors_intercept_configs.graphql"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h!==void 0?h:h=b("useCometComposerUnifiedInterceptors_intercept_configs.graphql");function a(a,b,e){a=d("CometRelay").useFragment(i,a);var f=a==null?void 0:a.config;return b==null?void 0:b.map(function(a){var b=f==null?void 0:f.find(function(b){return c("UnifiedInterceptionProductTypeEnum.facebook").cast(b==null?void 0:b.interception_product_type)===a.serverName});if(b==null)return null;var d=b.blacklisted_attachment_types,g=b.is_eligible_for_interception,h=b.supported_locales;b=b.whitelisted_attachment_types;var i=a.interceptHandler(babelHelpers["extends"]({},e));return babelHelpers["extends"]({},a,{allowedConcurrentAttachments:b,disallowedConcurrentAttachments:d,interceptHandler:i,isEligibleForInterception:(b=g)!=null?b:!1,supportedLocales:h})}).filter(Boolean)}g["default"]=a}),98); __d("composerDirtyStateViewStateReducer",[],(function(a,b,c,d,e,f){"use strict";function a(a,b){switch(b.type){case"set_ignore_dirty_flag":return babelHelpers["extends"]({},a,{ignoreDirtyFlag:b.value})}return a}f["default"]=a}),66); __d("viewStateUtils",["CometComposerAttachmentPluginTypes","CometComposerSATPContext","cometFormattedTextIneligibilityCheck","react","useComposerFeatureIneligibility"],(function(a,b,c,d,e,f,g){"use strict";var h,i=(h||d("react")).useContext;function a(a){return(a==null?void 0:a.mediaAttachments)&&a.mediaAttachments.some(function(a){return a.fileType==="PHOTO"})||!1}function b(a){return(a==null?void 0:a.formattingType)==="SATP"}function e(a){var b=i(c("CometComposerSATPContext")),d=b.satpMaxNewLines;b=b.satpTextCharLimit;var e=c("useComposerFeatureIneligibility")();return c("cometFormattedTextIneligibilityCheck")(a,b,d)||e.has(c("CometComposerAttachmentPluginTypes").FORMATTED_TEXT)}function f(a){return((a=a.activityMinutiae)==null?void 0:a.objectID)!=null}function j(a){return a.gifMetadata!=null}function k(a){return(a=(a=(a==null?void 0:a.mediaAttachments)&&a.mediaAttachments.filter(function(a){return a.fileType==="PHOTO"}))==null?void 0:a.length)!=null?a:0}function l(a){a=a==null?void 0:a.match(/(^|\W)(#[a-zA-Z]*[\w]*)/gi);return a!=null&&a.length>0}function m(a){if(a==null)return!1;if(a.length<=10)return!1;var b=0,c=0;a.split("").forEach(function(a){a.match(/[^\s0-9]/)&&(a.toLowerCase()===a?c++:a.toUpperCase()===a&&b++)});return c<=b}g.viewStateHasPhotoAttachments=a;g.viewStateHasSATP=b;g.useIsSATPDisabled=e;g.viewStateHasFeeling=f;g.viewStateHasGIF=j;g.getNumImageAttachments=k;g.containsHashtag=l;g.hasTooManyCaps=m}),98); __d("XFBCreatorRecommendation.facebook",["$InternalEnum"],(function(a,b,c,d,e,f){a=b("$InternalEnum").Mirrored(["AB_TEST_UNIFIED","ADD_CHECKIN_NONVIDEO","ADD_EMOJI","ADD_FEELING_NONVIDEO","ADD_GIF","ADD_GIF_NONVIDEO","ADD_HASHTAG_NONVIDEO","ADD_LOCATION_REEL","ADD_ONE_PHOTO_NONVIDEO","ADD_PHOTO","ASK_FOR_ENGAGEMENT_REEL","ASK_FOR_FOLLOWS_NONVIDEO","ASK_FOR_FOLLOWS_REEL","ASK_FOR_SHARES_NONVIDEO","ASK_FOR_SHARES_REEL","ASK_QUESTION_IN_CAPTION_REEL","ASK_QUESTION_IN_CAPTION_VOD","CAPTION_LENGTH_NONVIDEO","CAPTION_TOO_LONG_REEL","CAPTION_TOO_MANY_CAPS_NONVIDEO","CAPTION_TOO_MANY_CAPS_REEL","COLLAB_REEL","CONTENT_TAGS","CROSSPOST","CUSTOM_LABELS","CUSTOM_PRIVACY_SETTINGS","CUSTOM_REEL_THUMBNAIL","CUSTOM_VOD_THUMBNAIL","EMBEDDABLE","ENGAGE_IN_COMMENTS","FIVE_OR_FEWER_HASHTAGS_REEL","FIVE_OR_FEWER_HASHTAGS_VOD","FREQUENTLY_SELF_COMMENT","HASHTAGS_MULTIPLE_REEL","HASHTAGS_REEL","HAVE_FEELING","MENTIONS_REEL","NON_HORIZONTAL_REEL","NON_HORIZONTAL_VOD","ONLY_ONE_PHOTO_NONVIDEO","PUBLISH_DAILY_REELS","REEL_CAPTION_LENGTH","REEL_NEEDS_CAPTION","REEL_NO_URL_IN_CAPTION","REMIX_ENABLE","REMOVE_EMOJI","RESHARE_REEL","RESHARE_REEL_TO_GROUP","RESHARE_REEL_TO_STORY","RESHARE_VOD","RESHARE_VOD_TO_GROUP","RESHARE_VOD_TO_STORY","RESPOND_TO_QUESTIONS_IN_COMMENTS","SCHEDULE_REEL","SELF_COLLAB","SELF_COLLAB_REEL","SELF_CROSSPOST","STARS_ENABLE_ON_REEL","USE_PHOTOS_LAYOUT","USE_SATP_NONVIDEO","VOD_NO_URL_IN_DESCRIPTION","VOD_PLAYLIST","WITH_TAG_REEL"]);c=a;f["default"]=c}),66);/*FB_PKG_DELIM*/ __d("VideoPlayerWatchEndScreenWithActions_video.graphql",[],(function(a,b,c,d,e,f){"use strict";a={argumentDefinitions:[],kind:"Fragment",metadata:null,name:"VideoPlayerWatchEndScreenWithActions_video",selections:[{args:null,kind:"FragmentSpread",name:"VideoPlayerReshareButton_video"}],type:"Video",abstractKey:null};e.exports=a}),null); __d("VideoPlayerWatchInlinePauseScreenRowItem_story.graphql",[],(function(a,b,c,d,e,f){"use strict";a={argumentDefinitions:[],kind:"Fragment",metadata:null,name:"VideoPlayerWatchInlinePauseScreenRowItem_story",selections:[{alias:null,args:null,kind:"ScalarField",name:"click_tracking_linkshim_cb",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"encrypted_click_tracking",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"encrypted_tracking",storageKey:null}],type:"Story",abstractKey:null};e.exports=a}),null); __d("VideoPlayerWatchInlinePauseScreenRowItem_video.graphql",[],(function(a,b,c,d,e,f){"use strict";a={argumentDefinitions:[],kind:"Fragment",metadata:null,name:"VideoPlayerWatchInlinePauseScreenRowItem_video",selections:[{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},{args:null,kind:"FragmentSpread",name:"CometVideoHomeVideoThumbnailImageWithPreview_video"},{args:null,kind:"FragmentSpread",name:"CometVideoHomeDurationThumbnailOverlay_video"},{args:null,kind:"FragmentSpread",name:"CometVideoHomeTitleOwnerThumbnailOverlay_video"}],type:"Video",abstractKey:null};e.exports=a}),null); __d("VideoPlayerWatchInlinePauseScreenRowQuery_facebookRelayOperation",[],(function(a,b,c,d,e,f){e.exports="7270819549612525"}),null); __d("VideoPlayerWatchInlinePauseScreenRowQuery.graphql",["VideoPlayerWatchInlinePauseScreenRowQuery_facebookRelayOperation"],(function(a,b,c,d,e,f){"use strict";a=function(){var a={defaultValue:null,kind:"LocalArgument",name:"caller"},c={defaultValue:null,kind:"LocalArgument",name:"entry_channel_id"},d={defaultValue:null,kind:"LocalArgument",name:"entry_point"},e={defaultValue:null,kind:"LocalArgument",name:"id"},f={defaultValue:null,kind:"LocalArgument",name:"scale"},g=[{kind:"Variable",name:"id",variableName:"id"}],h=[{kind:"Variable",name:"entry_channel_id",variableName:"entry_channel_id"},{kind:"Variable",name:"entry_point",variableName:"entry_point"}],i=[{kind:"Variable",name:"caller",variableName:"caller"},{kind:"Variable",name:"exclude_video",variableName:"id"},{kind:"Literal",name:"first",value:3}],j={alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null},k={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},l={alias:null,args:null,concreteType:"StoryAttachment",kind:"LinkedField",name:"attachments",plural:!0,selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"media",plural:!1,selections:[{kind:"InlineFragment",selections:[j,k,{args:null,kind:"FragmentSpread",name:"VideoPlayerWatchInlinePauseScreenRowItem_video"}],type:"Video",abstractKey:null}],storageKey:null}],storageKey:null},m=[k],n={kind:"InlineFragment",selections:m,type:"Node",abstractKey:"__isNode"},o={alias:null,args:null,concreteType:"StoryAttachment",kind:"LinkedField",name:"attachments",plural:!0,selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"media",plural:!1,selections:[j,{kind:"InlineFragment",selections:[k,{alias:null,args:[{kind:"Literal",name:"height",value:354},{kind:"Variable",name:"scale",variableName:"scale"},{kind:"Literal",name:"width",value:627}],concreteType:"Image",kind:"LinkedField",name:"image",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"uri",storageKey:null}],storageKey:null},{alias:null,args:[{kind:"Literal",name:"framework",value:"WARNING_SCREENS"},{kind:"Literal",name:"location",value:"video_home"}],concreteType:"CIXScreen",kind:"LinkedField",name:"cix_screen",plural:!1,selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"view_model",plural:!1,selections:[j,{kind:"InlineFragment",selections:[{args:null,documentName:"CometVideoHomeVideoThumbnailImageWithPreview_video__cix_screen",fragmentName:"CometWarningScreenOverlay_data",fragmentPropName:"data",kind:"ModuleImport"}],type:"OverlayWarningScreenViewModel",abstractKey:null},n],storageKey:null}],storageKey:'cix_screen(framework:"WARNING_SCREENS",location:"video_home")'},{alias:null,args:null,concreteType:"Video",kind:"LinkedField",name:"huddle_thumbnail_enabled",plural:!1,selections:[{args:null,documentName:"CometVideoHomeHuddleThumbnailWithRelay3d_video",fragmentName:"CometVideoHomeHuddleThumbnail_video",fragmentPropName:"video",kind:"ModuleImport"},k],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"broadcast_status",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"has_viewer_watched_show_video",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"playable_duration",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"title_with_fallback",storageKey:null},{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"owner",plural:!1,selections:[j,k,{alias:null,args:null,kind:"ScalarField",name:"name",storageKey:null},{kind:"InlineFragment",selections:[{alias:null,args:null,kind:"ScalarField",name:"uri_token",storageKey:null}],type:"Page",abstractKey:null},{kind:"InlineFragment",selections:[{alias:null,args:[{kind:"Literal",name:"site",value:"www"}],kind:"ScalarField",name:"url",storageKey:'url(site:"www")'}],type:"User",abstractKey:null}],storageKey:null}],type:"Video",abstractKey:null},n,{kind:"InlineFragment",selections:m,type:"DynamicFeedAdAttachmentMedia",abstractKey:null},{kind:"InlineFragment",selections:m,type:"GenericAttachmentMedia",abstractKey:null},{kind:"InlineFragment",selections:m,type:"MontageImage",abstractKey:null},{kind:"InlineFragment",selections:m,type:"MontageVideo",abstractKey:null}],storageKey:null}],storageKey:null};return{fragment:{argumentDefinitions:[a,c,d,e,f],kind:"Fragment",metadata:null,name:"VideoPlayerWatchInlinePauseScreenRowQuery",selections:[{alias:"video",args:g,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[{kind:"InlineFragment",selections:[{alias:null,args:h,concreteType:null,kind:"LinkedField",name:"video_channel",plural:!1,selections:[{alias:null,args:i,concreteType:"VideoChannelFeedConnection",kind:"LinkedField",name:"video_channel_feed",plural:!1,selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"nodes",plural:!0,selections:[{kind:"InlineFragment",selections:[{args:null,kind:"FragmentSpread",name:"VideoPlayerWatchInlinePauseScreenRowItem_story"},l,{alias:null,args:null,concreteType:"Story",kind:"LinkedField",name:"attached_story",plural:!1,selections:[l],storageKey:null}],type:"Story",abstractKey:null}],storageKey:null}],storageKey:null}],storageKey:null}],type:"Video",abstractKey:null}],storageKey:null}],type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:[a,e,c,d,f],kind:"Operation",name:"VideoPlayerWatchInlinePauseScreenRowQuery",selections:[{alias:"video",args:g,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[j,k,{kind:"InlineFragment",selections:[{alias:null,args:h,concreteType:null,kind:"LinkedField",name:"video_channel",plural:!1,selections:[j,{alias:null,args:i,concreteType:"VideoChannelFeedConnection",kind:"LinkedField",name:"video_channel_feed",plural:!1,selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"nodes",plural:!0,selections:[j,{kind:"InlineFragment",selections:[{alias:null,args:null,kind:"ScalarField",name:"click_tracking_linkshim_cb",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"encrypted_click_tracking",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"encrypted_tracking",storageKey:null},o,{alias:null,args:null,concreteType:"Story",kind:"LinkedField",name:"attached_story",plural:!1,selections:[o,k],storageKey:null}],type:"Story",abstractKey:null},n,{kind:"InlineFragment",selections:m,type:"CommunityTabNewJoinFeedUnit",abstractKey:null},{kind:"InlineFragment",selections:m,type:"CommunityTabTrendingPOGFeedUnit",abstractKey:null},{kind:"InlineFragment",selections:m,type:"FBShortsMidCardFeedUnit",abstractKey:null},{kind:"InlineFragment",selections:m,type:"XFBDummyReelsInWatchIFU",abstractKey:null}],storageKey:null}],storageKey:null},k],storageKey:null}],type:"Video",abstractKey:null}],storageKey:null}]},params:{id:b("VideoPlayerWatchInlinePauseScreenRowQuery_facebookRelayOperation"),metadata:{},name:"VideoPlayerWatchInlinePauseScreenRowQuery",operationKind:"query",text:null}}}();e.exports=a}),null); __d("VideoPlayerWatchInlineEndScreenRowItem_story.graphql",[],(function(a,b,c,d,e,f){"use strict";a={argumentDefinitions:[],kind:"Fragment",metadata:null,name:"VideoPlayerWatchInlineEndScreenRowItem_story",selections:[{alias:null,args:null,kind:"ScalarField",name:"click_tracking_linkshim_cb",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"encrypted_click_tracking",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"encrypted_tracking",storageKey:null}],type:"Story",abstractKey:null};e.exports=a}),null); __d("VideoPlayerWatchInlineEndScreenRowItem_video.graphql",[],(function(a,b,c,d,e,f){"use strict";a=function(){var a={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null};return{argumentDefinitions:[],kind:"Fragment",metadata:null,name:"VideoPlayerWatchInlineEndScreenRowItem_video",selections:[a,{alias:null,args:null,kind:"ScalarField",name:"title_with_fallback",storageKey:null},{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"owner",plural:!1,selections:[a,{alias:null,args:null,kind:"ScalarField",name:"name",storageKey:null},{kind:"InlineFragment",selections:[{alias:null,args:null,kind:"ScalarField",name:"uri_token",storageKey:null}],type:"Page",abstractKey:null},{kind:"InlineFragment",selections:[{alias:null,args:[{kind:"Literal",name:"site",value:"www"}],kind:"ScalarField",name:"url",storageKey:'url(site:"www")'}],type:"User",abstractKey:null}],storageKey:null},{args:null,kind:"FragmentSpread",name:"CometVideoHomeVideoThumbnailImageWithPreview_video"},{args:null,kind:"FragmentSpread",name:"CometVideoHomeDurationThumbnailOverlay_video"}],type:"Video",abstractKey:null}}();e.exports=a}),null); __d("VideoPlayerWatchInlineEndScreenRowQuery_facebookRelayOperation",[],(function(a,b,c,d,e,f){e.exports="24621836274082359"}),null); __d("VideoPlayerWatchInlineEndScreenRowQuery.graphql",["VideoPlayerWatchInlineEndScreenRowQuery_facebookRelayOperation"],(function(a,b,c,d,e,f){"use strict";a=function(){var a={defaultValue:null,kind:"LocalArgument",name:"caller"},c={defaultValue:null,kind:"LocalArgument",name:"entry_channel_id"},d={defaultValue:null,kind:"LocalArgument",name:"entry_point"},e={defaultValue:null,kind:"LocalArgument",name:"id"},f={defaultValue:null,kind:"LocalArgument",name:"scale"},g=[{kind:"Variable",name:"id",variableName:"id"}],h=[{kind:"Variable",name:"entry_channel_id",variableName:"entry_channel_id"},{kind:"Variable",name:"entry_point",variableName:"entry_point"}],i=[{kind:"Variable",name:"caller",variableName:"caller"},{kind:"Variable",name:"exclude_video",variableName:"id"},{kind:"Literal",name:"first",value:3}],j={alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null},k={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},l={alias:null,args:null,concreteType:"StoryAttachment",kind:"LinkedField",name:"attachments",plural:!0,selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"media",plural:!1,selections:[{kind:"InlineFragment",selections:[j,k,{args:null,kind:"FragmentSpread",name:"VideoPlayerWatchInlineEndScreenRowItem_video"}],type:"Video",abstractKey:null}],storageKey:null}],storageKey:null},m=[k],n={kind:"InlineFragment",selections:m,type:"Node",abstractKey:"__isNode"},o={alias:null,args:null,concreteType:"StoryAttachment",kind:"LinkedField",name:"attachments",plural:!0,selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"media",plural:!1,selections:[j,{kind:"InlineFragment",selections:[k,{alias:null,args:null,kind:"ScalarField",name:"title_with_fallback",storageKey:null},{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"owner",plural:!1,selections:[j,k,{alias:null,args:null,kind:"ScalarField",name:"name",storageKey:null},{kind:"InlineFragment",selections:[{alias:null,args:null,kind:"ScalarField",name:"uri_token",storageKey:null}],type:"Page",abstractKey:null},{kind:"InlineFragment",selections:[{alias:null,args:[{kind:"Literal",name:"site",value:"www"}],kind:"ScalarField",name:"url",storageKey:'url(site:"www")'}],type:"User",abstractKey:null}],storageKey:null},{alias:null,args:[{kind:"Literal",name:"height",value:354},{kind:"Variable",name:"scale",variableName:"scale"},{kind:"Literal",name:"width",value:627}],concreteType:"Image",kind:"LinkedField",name:"image",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"uri",storageKey:null}],storageKey:null},{alias:null,args:[{kind:"Literal",name:"framework",value:"WARNING_SCREENS"},{kind:"Literal",name:"location",value:"video_home"}],concreteType:"CIXScreen",kind:"LinkedField",name:"cix_screen",plural:!1,selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"view_model",plural:!1,selections:[j,{kind:"InlineFragment",selections:[{args:null,documentName:"CometVideoHomeVideoThumbnailImageWithPreview_video__cix_screen",fragmentName:"CometWarningScreenOverlay_data",fragmentPropName:"data",kind:"ModuleImport"}],type:"OverlayWarningScreenViewModel",abstractKey:null},n],storageKey:null}],storageKey:'cix_screen(framework:"WARNING_SCREENS",location:"video_home")'},{alias:null,args:null,concreteType:"Video",kind:"LinkedField",name:"huddle_thumbnail_enabled",plural:!1,selections:[{args:null,documentName:"CometVideoHomeHuddleThumbnailWithRelay3d_video",fragmentName:"CometVideoHomeHuddleThumbnail_video",fragmentPropName:"video",kind:"ModuleImport"},k],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"broadcast_status",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"has_viewer_watched_show_video",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"playable_duration",storageKey:null}],type:"Video",abstractKey:null},n,{kind:"InlineFragment",selections:m,type:"DynamicFeedAdAttachmentMedia",abstractKey:null},{kind:"InlineFragment",selections:m,type:"GenericAttachmentMedia",abstractKey:null},{kind:"InlineFragment",selections:m,type:"MontageImage",abstractKey:null},{kind:"InlineFragment",selections:m,type:"MontageVideo",abstractKey:null}],storageKey:null}],storageKey:null};return{fragment:{argumentDefinitions:[a,c,d,e,f],kind:"Fragment",metadata:null,name:"VideoPlayerWatchInlineEndScreenRowQuery",selections:[{alias:"video",args:g,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[{kind:"InlineFragment",selections:[{alias:null,args:h,concreteType:null,kind:"LinkedField",name:"video_channel",plural:!1,selections:[{alias:null,args:i,concreteType:"VideoChannelFeedConnection",kind:"LinkedField",name:"video_channel_feed",plural:!1,selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"nodes",plural:!0,selections:[{kind:"InlineFragment",selections:[{args:null,kind:"FragmentSpread",name:"VideoPlayerWatchInlineEndScreenRowItem_story"},l,{alias:null,args:null,concreteType:"Story",kind:"LinkedField",name:"attached_story",plural:!1,selections:[l],storageKey:null}],type:"Story",abstractKey:null}],storageKey:null}],storageKey:null}],storageKey:null}],type:"Video",abstractKey:null}],storageKey:null}],type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:[a,e,c,d,f],kind:"Operation",name:"VideoPlayerWatchInlineEndScreenRowQuery",selections:[{alias:"video",args:g,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[j,k,{kind:"InlineFragment",selections:[{alias:null,args:h,concreteType:null,kind:"LinkedField",name:"video_channel",plural:!1,selections:[j,{alias:null,args:i,concreteType:"VideoChannelFeedConnection",kind:"LinkedField",name:"video_channel_feed",plural:!1,selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"nodes",plural:!0,selections:[j,{kind:"InlineFragment",selections:[{alias:null,args:null,kind:"ScalarField",name:"click_tracking_linkshim_cb",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"encrypted_click_tracking",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"encrypted_tracking",storageKey:null},o,{alias:null,args:null,concreteType:"Story",kind:"LinkedField",name:"attached_story",plural:!1,selections:[o,k],storageKey:null}],type:"Story",abstractKey:null},n,{kind:"InlineFragment",selections:m,type:"CommunityTabNewJoinFeedUnit",abstractKey:null},{kind:"InlineFragment",selections:m,type:"CommunityTabTrendingPOGFeedUnit",abstractKey:null},{kind:"InlineFragment",selections:m,type:"FBShortsMidCardFeedUnit",abstractKey:null},{kind:"InlineFragment",selections:m,type:"XFBDummyReelsInWatchIFU",abstractKey:null}],storageKey:null}],storageKey:null},k],storageKey:null}],type:"Video",abstractKey:null}],storageKey:null}]},params:{id:b("VideoPlayerWatchInlineEndScreenRowQuery_facebookRelayOperation"),metadata:{},name:"VideoPlayerWatchInlineEndScreenRowQuery",operationKind:"query",text:null}}}();e.exports=a}),null); __d("VideoPlayerWithLiveVideoEndscreenAndChaining_video.graphql",[],(function(a,b,c,d,e,f){"use strict";a={argumentDefinitions:[],kind:"Fragment",metadata:null,name:"VideoPlayerWithLiveVideoEndscreenAndChaining_video",selections:[{alias:null,args:[{kind:"Literal",name:"supported",value:"2X62EJ"}],concreteType:null,kind:"LinkedField",name:"comet_video_player_live_video_endscreen_content",plural:!1,selections:[{kind:"InlineFragment",selections:[{args:null,documentName:"VideoPlayerWithLiveVideoEndscreenAndChaining_video",fragmentName:"VideoPlayerWithLiveVideoEndscreenToPaidOnlineEventRenderer_renderer",fragmentPropName:"renderer",kind:"ModuleImport"}],type:"VideoPlayerWithLiveVideoEndscreenToPaidOnlineEventRenderer",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"VideoPlayerWithLiveVideoEndscreenAndChaining_video",fragmentName:"VideoPlayerWithLiveVideoEndscreenChainedVideosRenderer_renderer",fragmentPropName:"renderer",kind:"ModuleImport"}],type:"VideoPlayerWithLiveVideoEndscreenChainedVideosRenderer",abstractKey:null}],storageKey:'comet_video_player_live_video_endscreen_content(supported:"2X62EJ")'},{args:null,kind:"FragmentSpread",name:"VideoPlayerWithLiveVideoEndscreen_video"}],type:"Video",abstractKey:null};e.exports=a}),null); __d("CometVideoHomeDurationThumbnailOverlay_video.graphql",[],(function(a,b,c,d,e,f){"use strict";a={argumentDefinitions:[],kind:"Fragment",metadata:null,name:"CometVideoHomeDurationThumbnailOverlay_video",selections:[{alias:null,args:null,kind:"ScalarField",name:"broadcast_status",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"has_viewer_watched_show_video",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"playable_duration",storageKey:null}],type:"Video",abstractKey:null};e.exports=a}),null); __d("CometVideoHomeHuddleThumbnailWithRelay3d_video.graphql",[],(function(a,b,c,d,e,f){"use strict";a={argumentDefinitions:[],kind:"Fragment",metadata:null,name:"CometVideoHomeHuddleThumbnailWithRelay3d_video",selections:[{alias:null,args:null,concreteType:"Video",kind:"LinkedField",name:"huddle_thumbnail_enabled",plural:!1,selections:[{args:null,documentName:"CometVideoHomeHuddleThumbnailWithRelay3d_video",fragmentName:"CometVideoHomeHuddleThumbnail_video",fragmentPropName:"video",kind:"ModuleImport"}],storageKey:null}],type:"Video",abstractKey:null};e.exports=a}),null); __d("CometVideoHomeTitleOwnerThumbnailOverlay_video.graphql",[],(function(a,b,c,d,e,f){"use strict";a=function(){var a={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null};return{argumentDefinitions:[],kind:"Fragment",metadata:null,name:"CometVideoHomeTitleOwnerThumbnailOverlay_video",selections:[a,{alias:null,args:null,kind:"ScalarField",name:"title_with_fallback",storageKey:null},{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"owner",plural:!1,selections:[a,{alias:null,args:null,kind:"ScalarField",name:"name",storageKey:null},{kind:"InlineFragment",selections:[{alias:null,args:null,kind:"ScalarField",name:"uri_token",storageKey:null}],type:"Page",abstractKey:null},{kind:"InlineFragment",selections:[{alias:null,args:[{kind:"Literal",name:"site",value:"www"}],kind:"ScalarField",name:"url",storageKey:'url(site:"www")'}],type:"User",abstractKey:null}],storageKey:null}],type:"Video",abstractKey:null}}();e.exports=a}),null); __d("CometVideoHomeVideoThumbnailImageWithPreview_video.graphql",[],(function(a,b,c,d,e,f){"use strict";a={argumentDefinitions:[{kind:"RootArgument",name:"scale"}],kind:"Fragment",metadata:null,name:"CometVideoHomeVideoThumbnailImageWithPreview_video",selections:[{alias:null,args:[{kind:"Literal",name:"height",value:354},{kind:"Variable",name:"scale",variableName:"scale"},{kind:"Literal",name:"width",value:627}],concreteType:"Image",kind:"LinkedField",name:"image",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"uri",storageKey:null}],storageKey:null},{alias:null,args:[{kind:"Literal",name:"framework",value:"WARNING_SCREENS"},{kind:"Literal",name:"location",value:"video_home"}],concreteType:"CIXScreen",kind:"LinkedField",name:"cix_screen",plural:!1,selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"view_model",plural:!1,selections:[{kind:"InlineFragment",selections:[{args:null,documentName:"CometVideoHomeVideoThumbnailImageWithPreview_video__cix_screen",fragmentName:"CometWarningScreenOverlay_data",fragmentPropName:"data",kind:"ModuleImport"}],type:"OverlayWarningScreenViewModel",abstractKey:null}],storageKey:null}],storageKey:'cix_screen(framework:"WARNING_SCREENS",location:"video_home")'},{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},{args:null,kind:"FragmentSpread",name:"CometVideoHomeHuddleThumbnailWithRelay3d_video"}],type:"Video",abstractKey:null};e.exports=a}),null); __d("CometVideoHomeVideoThumbnailPreviewRootQuery_facebookRelayOperation",[],(function(a,b,c,d,e,f){e.exports="6420973737951583"}),null); __d("CometVideoHomeVideoThumbnailPreviewRootQuery$Parameters",["CometVideoHomeVideoThumbnailPreviewRootQuery_facebookRelayOperation"],(function(a,b,c,d,e,f){"use strict";a={kind:"PreloadableConcreteRequest",params:{id:b("CometVideoHomeVideoThumbnailPreviewRootQuery_facebookRelayOperation"),metadata:{},name:"CometVideoHomeVideoThumbnailPreviewRootQuery",operationKind:"query",text:null}};e.exports=a}),null); __d("CometFlexibleRow_DEPRECATED.react",["ExecutionEnvironment","FBLogger","react","stylex"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j,k=j||(j=d("react"));b=j;var l=b.useLayoutEffect,m=b.useState,n=8,o={item:{flex:"x98rzlu",paddingEnd:"x150jy0e",paddingLeft:null,paddingRight:null,paddingStart:"x1e558r4",$$css:!0},justifyCenter:{justifyContent:"xl56j7k",$$css:!0},justifyEnd:{justifyContent:"x13a6bvl",$$css:!0},root:{alignItems:"x1qjc9v5",display:"x78zum5",flexDirection:"x1q0g3np",flexWrap:"xozqiw3",justifyContent:"x1nhvcw1",marginEnd:"xcud41i",marginLeft:null,marginRight:null,marginStart:"x139jcc6",position:"x1n2onr6",$$css:!0}};function a(a){var b=a.box,d=a.children,e=a.columnMaxWidth,f=a.columnMinWidth,g=a.justify;g=g===void 0?"start":g;var j=a.maxItems,p=j===void 0?Infinity:j;j=a.minItems;var q=j===void 0?1:j,r=a.onTotalItemsChanged,s=a.role;j=a.rootRef;if(!(h||(h=c("ExecutionEnvironment"))).canUseDOM)throw c("FBLogger")("comet_ssr").blameToPreviousFile().mustfixThrow("CometFlexibleRow is not compatible with Server Rendering, and will be deprecated. This will break SSR! Please use CometRow instead! See https://fburl.com/wiki/xrzohrqb");var t=k.Children.toArray(d);a=m(t.length);var u=a[0],v=a[1];l(function(){if(b!=null){var a=[],c=u,d=b.width;while(!0){if(a.includes(c))break;var g=(d-c*n)/c;if(g>e){a.push(c);c+=1;continue}if(g0?l.jsxs("div",{className:"x78zum5 xdt5ytf x1iyjqo2 x1a7vs8u x13a6bvl x1rxj1xn",ref:a,children:[l.jsxs("div",{className:"x78zum5 x1qughib",children:[l.jsx("div",{className:"x1l90r2v",children:l.jsx(c("TetraText.react"),{color:"primaryOnMedia",type:"headlineEmphasized2",children:l.jsx(c("CometLink.react"),{href:c("XCometWatchControllerRouteBuilder").buildURL({}),onClick:f,children:h._("__JHASH__aN7EZiLacaY__JHASH__")})})}),l.jsx("div",{className:"xlup9mm",children:e!=null?l.jsx(c("CometPressable.react"),{label:h._("__JHASH__34kJTOTg-tU__JHASH__"),onPress:e,children:l.jsx("div",{className:"x1ypdohk xlup9mm x67bb7w",children:l.jsx(c("CometImage.react"),{src:i("480713")})})}):null})]}),l.jsx(c("CometFlexibleRow_DEPRECATED.react"),{box:p,columnMaxWidth:250,columnMinWidth:100,justify:"start",minItems:w.length,rootRef:q,children:w})]}):null}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("VideoPlayerWatchInlinePauseScreenRowContainer.react",["VideoPlayerWatchInlinePauseScreenRow.react","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h||d("react");function a(a){var b=a.onPauseScreenDismissed,d=a.videoChainingCaller,e=a.videoChannelEntryPoint,f=a.videoChannelID;a=a.videoID;return i.jsx(c("VideoPlayerWatchInlinePauseScreenRow.react"),{onPauseScreenDismissed:b,videoChainingCaller:d,videoChannelEntryPoint:e,videoChannelID:f,videoID:a})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("VideoPlayerWatchInlineEndScreenRowItem.react",["CometLink.react","CometRelay","CometTrackingCodeProvider.react","CometVideoHomeDurationThumbnailOverlay.react","CometVideoHomePlayButtonThumbnailOverlay.react","CometVideoHomeVideoThumbnailHoverContext","CometVideoHomeVideoThumbnailImageWithPreview.react","TetraTextPairing.react","VideoHomeTypedLiteLogger","VideoPlayerWatchInlineEndScreenRowItem_story.graphql","VideoPlayerWatchInlineEndScreenRowItem_video.graphql","XCometVideoHomePlaylistControllerRouteBuilder","XCometWatchControllerRouteBuilder","react","useInnerMostTrackingCode","useMinifiedProductAttribution","useStoryVPVDLogger"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j,k=j||(j=d("react"));e=j;var l=e.useCallback,m=e.useState,n=84,o=150;function a(a){var e=a.position,f=a.story;a=a.video;f=d("CometRelay").useFragment(h!==void 0?h:h=b("VideoPlayerWatchInlineEndScreenRowItem_story.graphql"),f);e=c("useStoryVPVDLogger")({interactionSourceOverride:54,position:e,trackable:f==null?void 0:f.encrypted_tracking});var g=e[0];e=e[1];var i=f.click_tracking_linkshim_cb,j=f.encrypted_click_tracking;f=f.encrypted_tracking;i={click_tracking_linkshim_cb:i||"",encrypted_click_tracking:j||"",encrypted_tracking:f||""};return k.jsx("div",{className:"x78zum5 xdt5ytf",ref:g,children:k.jsx(c("CometTrackingCodeProvider.react"),{trackingCode:i,children:k.jsx(p,{video:a,vpvdDebuggingInfoComponent:e})})})}a.displayName=a.name+" [from "+f.id+"]";function p(a){var e=a.video;a=a.vpvdDebuggingInfoComponent;var f=m(!1),g=f[0],h=f[1];f=l(function(){h(!0)},[]);var j=l(function(){h(!1)},[]),p=c("useMinifiedProductAttribution")(),q=c("useInnerMostTrackingCode")(),r=d("CometRelay").useFragment(i!==void 0?i:i=b("VideoPlayerWatchInlineEndScreenRowItem_video.graphql"),e);e=r==null?void 0:r.id;var s=r==null?void 0:r.owner;if(r==null||e==null||s==null)return null;var t=r.title_with_fallback,u=s.uri_token;u=u!=null?c("XCometVideoHomePlaylistControllerRouteBuilder").buildURL({idorvanity:u}):s.url;e=c("XCometWatchControllerRouteBuilder").buildURL({v:e});var v=function(){c("VideoHomeTypedLiteLogger").log({entry_point_type:"inline_video_end_screen_tapped",event:"video_tab_selected",event_target:"watch_video_permalink",tab_selection_type:"user_initiated_click"}),c("VideoHomeTypedLiteLogger").log({attribution_id_v2:p,click_point:"inline_end_screen",event:"click",event_target:"video",event_target_id:r.id})},w=function(){var a;c("VideoHomeTypedLiteLogger").log({click_point:"inline_end_screen",event:"click",event_target:"page",event_target_id:(a=r.owner)==null?void 0:a.id})};q={playerSubOrigin:"inline_end_screen",trackingCode:q};return k.jsxs(k.Fragment,{children:[a,k.jsx(c("CometLink.react"),{href:e,onClick:v,passthroughProps:q,children:k.jsx(c("CometVideoHomeVideoThumbnailHoverContext").Provider,{value:g,children:k.jsxs("div",{className:"xhk9q7s x1otrzb0 x1i1ezom x1o6z2jb x6ikm8r x10wlt62 x1n2onr6",onMouseEnter:f,onMouseLeave:j,children:[k.jsx(c("CometVideoHomeVideoThumbnailImageWithPreview.react"),{height:n,video:r,width:o}),k.jsx(c("CometVideoHomeDurationThumbnailOverlay.react"),{video:r}),k.jsx(c("CometVideoHomePlayButtonThumbnailOverlay.react"),{size:48})]})})}),k.jsx("div",{className:"x1sxyh0 x1y1aw1k",children:k.jsx(c("TetraTextPairing.react"),{body:k.jsx(c("CometLink.react"),{color:"secondary",href:u,onClick:w,children:s.name}),bodyLineLimit:1,headline:t!=null&&k.jsx(c("CometLink.react"),{color:"white",href:e,onClick:v,passthroughProps:q,children:t}),headlineLineLimit:3,level:4,reduceEmphasis:!0})})]})}p.displayName=p.name+" [from "+f.id+"]";g["default"]=a}),98); __d("VideoPlayerWatchInlineEndScreenRow.react",["fbt","CometFlexibleRow_DEPRECATED.react","CometLink.react","RelayHooks","TetraText.react","VideoPlayerWatchInlineEndScreenRowItem.react","VideoPlayerWatchInlineEndScreenRowQuery.graphql","WebPixelRatio","XCometWatchControllerRouteBuilder","react","requireDeferred","useCometSize_DO_NOT_USE","useImpressionLogger"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j,k=j||(j=d("react"));e=j;var l=e.useEffect,m=e.useState,n=c("requireDeferred")("VideoHomeTypedLiteLogger").__setRef("VideoPlayerWatchInlineEndScreenRow.react");function a(a){var e=a.videoChainingCaller,f=a.videoChannelEntryPoint,g=a.videoChannelID;a=a.videoID;var j=c("useCometSize_DO_NOT_USE")(),o=j[0];j=j[1];e=d("RelayHooks").useLazyLoadQuery(i!==void 0?i:i=b("VideoPlayerWatchInlineEndScreenRowQuery.graphql"),{caller:e,entry_channel_id:g,entry_point:f,id:a,scale:d("WebPixelRatio").get()});g=m(!1);var p=g[0],q=g[1];f=m(!1);var r=f[0],s=f[1];a=c("useImpressionLogger")(n,function(a,b){r||(a.log({event:"inline_end_screen_impression"}),s(!0))});f=(g=e==null?void 0:(g=e.video)==null?void 0:(f=g.video_channel)==null?void 0:(e=f.video_channel_feed)==null?void 0:e.nodes)!=null?g:[];var t=f.map(function(a,b){var d;d=(d=a==null?void 0:a.attached_story)!=null?d:a;d=d==null?void 0:(d=d.attachments)==null?void 0:(d=d[0])==null?void 0:d.media;return d==null||d.__typename!=="Video"?null:k.jsx(c("VideoPlayerWatchInlineEndScreenRowItem.react"),{position:b,story:a,video:d},d.id)}).filter(Boolean);l(function(){p||(n.onReady(function(a){a.log({event:"video_end_card_fetch",result_count:t.length})}),q(!0))},[p,t.length]);e=function(){n.onReady(function(a){a.log({click_point:"inline_end_screen",event:"click",event_target:"watch"}),a.log({entry_point_type:"inline_video_end_screen_tapped",event:"video_tab_selected",event_target:"watch_home_www",tab_selection_type:"user_initiated_click"})})};return t.length>0?k.jsxs("div",{className:"x78zum5 xdt5ytf x1iyjqo2 x1a7vs8u xl56j7k x1l90r2v",ref:a,children:[k.jsx("div",{className:"x1l90r2v",children:k.jsx(c("TetraText.react"),{color:"primaryOnMedia",type:"headlineEmphasized2",children:k.jsx(c("CometLink.react"),{href:c("XCometWatchControllerRouteBuilder").buildURL({}),onClick:e,children:h._("__JHASH__mzLWceEsfgZ__JHASH__")})})}),k.jsx(c("CometFlexibleRow_DEPRECATED.react"),{box:j,columnMaxWidth:250,columnMinWidth:100,justify:"start",minItems:t.length,rootRef:o,children:t})]}):null}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("VideoPlayerWatchInlineEndScreenRowContainer.react",["VideoPlayerWatchInlineEndScreenRow.react","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h||d("react");function a(a){var b=a.videoChainingCaller,d=a.videoChannelEntryPoint,e=a.videoChannelID;a=a.videoID;return i.jsx(c("VideoPlayerWatchInlineEndScreenRow.react"),{videoChainingCaller:b,videoChannelEntryPoint:d,videoChannelID:e,videoID:a})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("VideoPlayerWithLiveVideoEndscreenAndChaining.react",["CometPlaceholder.react","CometRelay","VideoPlayerHooks","VideoPlayerWithLiveVideoEndscreen.react","VideoPlayerWithLiveVideoEndscreenAndChaining_video.graphql","gkx","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j,k=i||d("react");function a(a){var e=a.routeTarget;a=a.video;var f=(j||(j=d("VideoPlayerHooks"))).useEnded(),g=j.useIsLive();a=d("CometRelay").useFragment(h!==void 0?h:h=b("VideoPlayerWithLiveVideoEndscreenAndChaining_video.graphql"),a);if(!f||!g)return null;return c("gkx")("1224637")?k.jsx(c("VideoPlayerWithLiveVideoEndscreen.react"),{video:a}):k.jsx(c("VideoPlayerWithLiveVideoEndscreen.react"),{video:a,children:k.jsx(c("CometPlaceholder.react"),{fallback:null,children:k.jsx(d("CometRelay").MatchContainer,{match:a.comet_video_player_live_video_endscreen_content,props:{routeTarget:e}})})})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("CometChannelTabVideoPreviewRootQuery_facebookRelayOperation",[],(function(a,b,c,d,e,f){e.exports="6596172703781291"}),null);/*FB_PKG_DELIM*/ __d("FeedComposerCometSproutButtonContainer.react",["CometErrorBoundary.react","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h||d("react");function a(a){a=a.children;return i.jsx(c("CometErrorBoundary.react"),{children:a})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("getOrderedSproutsForLogging",[],(function(a,b,c,d,e,f){"use strict";function a(a){return Array.from(a.keys()).sort(function(b,c){b=a.get(b);c=a.get(c);if(b&&c)return b.index-c.index;else return 0})}f["default"]=a}),66); __d("getSproutsVisibilitiesForLogging",[],(function(a,b,c,d,e,f){"use strict";function a(a){var b={};a.forEach(function(a){b[a.name]=a.visible});return b}f["default"]=a}),66); __d("useCometComposerInlineSproutsLogging",["getOrderedSproutsForLogging","getSproutsVisibilitiesForLogging","react","useCometComposerLoggerDispatcher","useDebouncedComet"],(function(a,b,c,d,e,f,g){"use strict";var h;b=h||d("react");var i=b.useCallback,j=b.useMemo,k=b.useState;function a(a){var b=a.actionType,d=a.maxLoggingCount,e=d===void 0?null:d,f=a.sproutsCount,g=a.sproutsState;d=k(0);var h=d[0],l=d[1];a=k(new Map());var m=a[0],n=c("useDebouncedComet")(function(){var a=e===null||hb,g=d;f&&(g=d.slice(0,b-1));return j.jsx("div",{className:(h||(h=c("stylex")))(k.container,a&&k.wideContainer),children:j.jsx(c("CometComposerSproutVisibilitiesContext").Provider,{value:e,children:j.jsxs(c("CometTooltipGroup.react"),{children:[g.map(function(a,b){return j.jsx("div",{className:"xr9ek0c xfs2ol5 xjpr12u x12mruv9",children:j.jsx(c("FeedComposerCometSproutButtonContainer.react"),{children:a})},"CometComposerSproutListItem"+b)}),f?j.jsx("div",{className:"xr9ek0c xfs2ol5 xjpr12u x12mruv9",children:j.jsx(c("CometComposerEllipsisSproutButton.react"),{sprouts:d})}):null]})})})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("CometComposerSproutListMatcher.react",["CometComposerPushedPageOnLoad","CometComposerSproutList.react","CometRelay","CometRouteParams","castToEnum","react","recoverableViolation"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h||d("react");function a(a){var b=a.hasPromotion,d=a.numInlineSprouts,e=a.sproutProps,f=a.sprouts;a=a.wideContainer;return i.jsx(c("CometComposerSproutList.react"),{numInlineSprouts:d,sprouts:j(f,e,b),wideContainer:a})}a.displayName=a.name+" [from "+f.id+"]";function b(){var a=d("CometRouteParams").useRouteParams();a=a.composer_push_page;return c("castToEnum")(a,c("CometComposerPushedPageOnLoad"))}function j(a,b,e){a==null&&c("recoverableViolation")("Server failed to provide a valid sprouts object for the composer.","comet_composer");e=e===!0?k(a,b):{promotedSprout:null,unprocessedSprouts:a};a=e.promotedSprout;e=e.unprocessedSprouts;return[a].concat(((a=e)!=null?a:[]).map(function(a,c){return i.jsx(d("CometRelay").MatchContainer,{match:a,props:b},c)})).filter(Boolean)}function k(a,b){if(a==null)return{unprocessedSprouts:a};var c=a.slice(0,2),e=c[0];c=c[1];c=i.jsx(d("CometRelay").MatchContainer,{match:c,props:b},-1);b=i.jsx(d("CometRelay").MatchContainer,{match:e,props:{children:c}},-1);return{promotedSprout:b,unprocessedSprouts:a.slice(2)}}a.useMatcher=j;g.CometComposerSproutListMatcher=a;g.useGetSproutToPushTo=b}),98); __d("CometComposerBrandedContentPopoverResource",["JSResourceForInteraction"],(function(a,b,c,d,e,f,g){"use strict";a=c("JSResourceForInteraction")("CometComposerBrandedContentPopover.react").__setRef("CometComposerBrandedContentPopoverResource");b=a;g["default"]=b}),98); __d("CometComposerBrandedContentStrings",["fbt"],(function(a,b,c,d,e,f,g,h){"use strict";a=h._("__JHASH__x4YM3z0IQ0u__JHASH__");g.popoverTitle=a}),98);/*FB_PKG_DELIM*/ __d("useCometStatusAreaTextData_formattedTextPreset.graphql",[],(function(a,b,c,d,e,f){"use strict";a={argumentDefinitions:[],kind:"Fragment",metadata:null,name:"useCometStatusAreaTextData_formattedTextPreset",selections:[{alias:null,args:null,kind:"ScalarField",name:"color",storageKey:null},{alias:null,args:null,concreteType:"InspirationsCustomFont",kind:"LinkedField",name:"inspirations_custom_font_object",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"font_name",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"preferred_font_size",storageKey:null}],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"avatar_story_text_format_id",storageKey:null}],type:"TextFormatMetadata",abstractKey:null};e.exports=a}),null); __d("CometComposerPreAttachmentPluginTypes",["$InternalEnum"],(function(a,b,c,d,e,f){"use strict";a=b("$InternalEnum").Mirrored(["COMMUNITY_QA","FUN_FACT","WORK_SUMMARY"]);f.CometComposerPreAttachmentPluginTypes=a}),66); __d("CometComposerTaggerPluginTypes",[],(function(a,b,c,d,e,f){"use strict";a=Object.freeze({BC_SUPPORT:"BC_SUPPORT",BRANDED_CONTENT:"BRANDED_CONTENT",DRAFT_FOR:"DRAFT_FOR",EVENT:"EVENT",LOCAL_ALERT:"LOCAL_ALERT",LOCATION:"LOCATION",MINUTIAE:"MINUTIAE",TAG:"TAG",WORK_AMA:"WORK_AMA",WORK_QA:"WORK_QA"});b=a;f["default"]=b}),66); __d("composerCommunityQAPluginEligibilityChecker",["CometComposerAttachmentPluginTypes","CometComposerPreAttachmentPluginTypes","CometComposerTaggerPluginTypes"],(function(a,b,c,d,e,f,g){"use strict";var h=new Set([c("CometComposerAttachmentPluginTypes").MEDIA]);function i(a){return Object.prototype.hasOwnProperty.call(c("CometComposerTaggerPluginTypes"),a)}function j(a){return a==null?!1:h.has(a)}function a(a){var b,c,e,f;b=(b=a.attachmentArea)==null?void 0:b.activeAttachmentType;c=(c=a.isEditingPreExistingStory)!=null?c:!1;e=(e=(e=a.communityQAMetadata)==null?void 0:e.isEditingPreExistingCommunityQAStory)!=null?e:!1;f=(f=(f=a.communityQAMetadata)==null?void 0:f.isEditingPreExistingCommunityQAIshStory)!=null?f:!1;if(f){f=k();f.add(d("CometComposerPreAttachmentPluginTypes").CometComposerPreAttachmentPluginTypes.COMMUNITY_QA);return f}if(c&&!e)return new Set([d("CometComposerPreAttachmentPluginTypes").CometComposerPreAttachmentPluginTypes.COMMUNITY_QA]);if(b!=null&&!j(b)&&!i(b))return new Set([d("CometComposerPreAttachmentPluginTypes").CometComposerPreAttachmentPluginTypes.COMMUNITY_QA]);c=(f=a.preAttachmentArea)==null?void 0:f.activePreAttachmentType;return c===d("CometComposerPreAttachmentPluginTypes").CometComposerPreAttachmentPluginTypes.COMMUNITY_QA?k():new Set()}function k(){var a=Object.keys(c("CometComposerAttachmentPluginTypes"));return new Set(a.filter(function(a){var b=j(a);return!i(a)&&!b}))}g.COMPATIBLE_ATTACHMENT_PLUGINS=h;g.isAttachmentCompatible=j;g.composerCommunityQAPluginEligibilityChecker=a}),98); __d("useContextRef",["react"],(function(a,b,c,d,e,f,g){"use strict";var h;h||(h=d("react"));b=h;var i=b.useContext,j=b.useEffect;function a(a,b){b=i(b);var c=b.current;j(function(){if(c.has(a)){var b=c.get(a);c.set(a,b+1)}else c.set(a,1);return function(){var b=c.get(a);b!==void 0&&(b===1?c["delete"](a):c.set(a,b-1))}},[c,a])}g["default"]=a}),98); __d("composerAttachmentAreaChecker",["CometComposerAttachmentPluginTypes"],(function(a,b,c,d,e,f,g){"use strict";function a(a,b){var d;if((b==null?void 0:(d=b.attachmentArea)==null?void 0:d.activeAttachmentType)===c("CometComposerAttachmentPluginTypes").FORMATTED_TEXT)return!1;if((a==null?void 0:(d=a.attachmentArea)==null?void 0:d.activeAttachmentType)!==(b==null?void 0:(d=b.attachmentArea)==null?void 0:d.activeAttachmentType))return!0;if((b==null?void 0:(d=b.attachmentArea)==null?void 0:d.activeAttachmentType)===c("CometComposerAttachmentPluginTypes").WORK_MULTI_ATTACHMENTS){if((a==null?void 0:(d=a.workMultiAttachments)==null?void 0:(d=d.attachments)==null?void 0:d.size)!==(b==null?void 0:(d=b.workMultiAttachments)==null?void 0:(d=d.attachments)==null?void 0:d.size))return!0;if((a==null?void 0:(d=a.workMultiAttachments)==null?void 0:d.attachments)!==(b==null?void 0:(a=b.workMultiAttachments)==null?void 0:a.attachments))return!0}return!1}g["default"]=a}),98); __d("cometComposerFooterAttachmentsEligibilityChecker",["CometComposerAttachmentPluginTypes","CometComposerFooterAttachmentPluginTypes"],(function(a,b,c,d,e,f,g){"use strict";function h(a){switch(a){case d("CometComposerFooterAttachmentPluginTypes").CometComposerFooterAttachmentPluginTypes.BLOOD_DONATIONS:return new Set([c("CometComposerAttachmentPluginTypes").FORMATTED_TEXT,c("CometComposerAttachmentPluginTypes").MEDIA,c("CometComposerAttachmentPluginTypes").SHARE,c("CometComposerAttachmentPluginTypes").LINK,c("CometComposerAttachmentPluginTypes").LOCATION,c("CometComposerAttachmentPluginTypes").ANIMATED_IMAGE,c("CometComposerAttachmentPluginTypes").FILE]);case d("CometComposerFooterAttachmentPluginTypes").CometComposerFooterAttachmentPluginTypes.CALL_NOW:return new Set([c("CometComposerAttachmentPluginTypes").FORMATTED_TEXT,c("CometComposerAttachmentPluginTypes").MEDIA,c("CometComposerAttachmentPluginTypes").LOCATION]);case d("CometComposerFooterAttachmentPluginTypes").CometComposerFooterAttachmentPluginTypes.PRAYER:return new Set([c("CometComposerAttachmentPluginTypes").FORMATTED_TEXT,c("CometComposerAttachmentPluginTypes").MEDIA,c("CometComposerAttachmentPluginTypes").LOCATION]);case d("CometComposerFooterAttachmentPluginTypes").CometComposerFooterAttachmentPluginTypes.GET_MESSAGES:return new Set([c("CometComposerAttachmentPluginTypes").FORMATTED_TEXT,c("CometComposerAttachmentPluginTypes").MEDIA]);case d("CometComposerFooterAttachmentPluginTypes").CometComposerFooterAttachmentPluginTypes.FISHBOWL:return new Set([c("CometComposerAttachmentPluginTypes").ANIMATED_IMAGE,c("CometComposerAttachmentPluginTypes").MEDIA,c("CometComposerAttachmentPluginTypes").SHARE,c("CometComposerAttachmentPluginTypes").LOCATION]);case d("CometComposerFooterAttachmentPluginTypes").CometComposerFooterAttachmentPluginTypes.GROUP_WELCOME_POST:return new Set([c("CometComposerAttachmentPluginTypes").FORMATTED_TEXT,c("CometComposerAttachmentPluginTypes").MEDIA,c("CometComposerAttachmentPluginTypes").SHARE,c("CometComposerAttachmentPluginTypes").LINK,c("CometComposerAttachmentPluginTypes").LOCATION,c("CometComposerAttachmentPluginTypes").ANIMATED_IMAGE,c("CometComposerAttachmentPluginTypes").FILE,c("CometComposerAttachmentPluginTypes").POLL,c("CometComposerAttachmentPluginTypes").ASK_FOR_RECOMMENDATIONS]);case d("CometComposerFooterAttachmentPluginTypes").CometComposerFooterAttachmentPluginTypes.NONPROFIT:return new Set([c("CometComposerAttachmentPluginTypes").MEDIA,c("CometComposerAttachmentPluginTypes").SHARE]);case d("CometComposerFooterAttachmentPluginTypes").CometComposerFooterAttachmentPluginTypes.GET_WHATSAPP_MESSAGES:return new Set([c("CometComposerAttachmentPluginTypes").FORMATTED_TEXT,c("CometComposerAttachmentPluginTypes").MEDIA]);default:return new Set(Object.keys(c("CometComposerAttachmentPluginTypes")))}}function a(a){var b=(a=a.attachmentArea)==null?void 0:a.activeAttachmentType;return b!=null?new Set(Array.from(d("CometComposerFooterAttachmentPluginTypes").CometComposerFooterAttachmentPluginTypes.members()).filter(function(a){a=h(a);return!a.has(b)})):new Set()}g.getCompatibleMainAttachmentTypes=h;g.cometComposerFooterAttachmentsEligibilityChecker=a}),98); __d("composerAttachmentAreaReducer",["CometComposerFooterAttachmentPluginTypes","CometComposerPreAttachmentPluginTypes","CometComposerTaggerPluginTypes","cometComposerFooterAttachmentsEligibilityChecker","composerCommunityQAPluginEligibilityChecker"],(function(a,b,c,d,e,f,g){"use strict";function h(a,b,c){var d;c=(d=(d=c.attachmentArea)==null?void 0:d.activeAttachmentType)!=null?d:(d=c.attachmentArea)==null?void 0:d.previousAttachmentType;d=a.attachmentType;return b===d&&d===c}function a(a,b,c){var d=c.attachmentType;c=c.field;if(!h(b,d,a))return a;b=babelHelpers["extends"]({},a);b[c]=void 0;return b}function b(a,b){var e,f,g;e=(e=a.attachmentArea)==null?void 0:e.activeAttachmentType;f=(f=a.footerAttachmentArea)==null?void 0:f.activeFooterAttachmentType;g=(g=a.preAttachmentArea)==null?void 0:g.activePreAttachmentType;switch(b.type){case"ACTIVATE_ATTACHMENT_TYPE":if(b.attachmentType==="LINK"&&e!=="LINK"&&e!=="LOCATION"&&e!=null)return a;if(["LINK","GET_MESSAGES","GET_WHATSAPP_MESSAGES"].includes(b.attachmentType))return babelHelpers["extends"]({},a,{attachmentArea:babelHelpers["extends"]({},a.attachmentArea,{activeAttachmentType:b.attachmentType,onRemove:b.onRemove,previousAttachmentType:(b==null?void 0:b.attachmentType)==="GET_MESSAGES"?e:void 0})});if(e===b.attachmentType)return a;if(e!=null&&Object.prototype.hasOwnProperty.call(c("CometComposerTaggerPluginTypes"),b.attachmentType))return a;if(g===d("CometComposerPreAttachmentPluginTypes").CometComposerPreAttachmentPluginTypes.COMMUNITY_QA&&!d("composerCommunityQAPluginEligibilityChecker").isAttachmentCompatible(b.attachmentType))return a;g=f!=null&&!d("cometComposerFooterAttachmentsEligibilityChecker").getCompatibleMainAttachmentTypes(f).has(b.attachmentType)?null:f;b.attachmentType==="MEDIA"&&e==="GET_MESSAGES"&&(g=d("CometComposerFooterAttachmentPluginTypes").CometComposerFooterAttachmentPluginTypes.GET_MESSAGES);return babelHelpers["extends"]({},a,{attachmentArea:babelHelpers["extends"]({},a.attachmentArea,{activeAttachmentType:b.attachmentType,onRemove:b.onRemove,previousAttachmentType:e}),footerAttachmentArea:babelHelpers["extends"]({},a.footerAttachmentArea,{activeFooterAttachmentType:g})});case"REMOVE_ATTACHMENT_TYPE":g=((f=a.attachmentArea)==null?void 0:f.activeAttachmentType)!=null&&h(b,(e=a.attachmentArea)==null?void 0:e.activeAttachmentType,a);if(g){f=b.attachmentType;if(b.attachmentType==="EVENT"&&a.activityMinutiae!=null){e=babelHelpers["extends"]({},a.activityMinutiae,{hideAttachment:!0});return babelHelpers["extends"]({},a,{activityMinutiae:e,attachmentArea:babelHelpers["extends"]({},a.attachmentArea,{activeAttachmentType:void 0,previousAttachmentType:f})})}g={nonprofit:a.nonprofit};b.attachmentType==="NONPROFIT"&&a.nonprofit!=null&&(g={nonprofit:void 0});e=a.mediaAttachments;b.attachmentType==="CALL_NOW"&&(e=null);var i=(b==null?void 0:b.attachmentType)==="GET_MESSAGES"&&(a.mediaAttachments||[]).length>0?"MEDIA":void 0;if(b.attachmentType==="PAID_CONTENT"&&a.paidContent!=null){a.mediaAttachments!=null&&a.mediaAttachments[0].fileType==="VIDEO"&&(a.mediaAttachments||[]).length>=1&&(i="MEDIA");return babelHelpers["extends"]({},a,{attachmentArea:babelHelpers["extends"]({},a.attachmentArea,{activeAttachmentType:(b=i)!=null?b:void 0,previousAttachmentType:f}),paidContent:void 0})}return babelHelpers["extends"]({},a,g,{attachmentArea:babelHelpers["extends"]({},a.attachmentArea,{activeAttachmentType:(b=i)!=null?b:void 0,previousAttachmentType:f}),mediaAttachments:e})}}return a}g.getCanAlterAttachmentData=h;g.removeActiveAttachmentViewStateData=a;g.composerAttachmentAreaReducer=b}),98); __d("composerFooterAttachmentAreaChecker",[],(function(a,b,c,d,e,f){"use strict";function a(a,b){return(a==null?void 0:(a=a.footerAttachmentArea)==null?void 0:a.activeFooterAttachmentType)!==(b==null?void 0:(a=b.footerAttachmentArea)==null?void 0:a.activeFooterAttachmentType)}f["default"]=a}),66); __d("composerFooterAttachmentAreaReducer",["CometComposerFooterAttachmentPluginTypes"],(function(a,b,c,d,e,f,g){"use strict";function a(a,b){var c;switch(b.type){case"ACTIVATE_FOOTER_ATTACHMENT_TYPE":return((c=a.footerAttachmentArea)==null?void 0:c.activeFooterAttachmentType)===b.footerAttachmentType?a:babelHelpers["extends"]({},a,{footerAttachmentArea:babelHelpers["extends"]({},a.footerAttachmentArea,{activeFooterAttachmentType:b.footerAttachmentType}),placeholderTextOverride:b.placeholderTextOverride});case"REMOVE_FOOTER_ATTACHMENT_TYPE":if(((c=a.footerAttachmentArea)==null?void 0:c.activeFooterAttachmentType)!==b.footerAttachmentType)return a;c={nonprofit:a.nonprofit};b.footerAttachmentType===d("CometComposerFooterAttachmentPluginTypes").CometComposerFooterAttachmentPluginTypes.NONPROFIT&&a.nonprofit!=null&&(c={nonprofit:void 0});return babelHelpers["extends"]({},a,c,{footerAttachmentArea:babelHelpers["extends"]({},a.footerAttachmentArea,{activeFooterAttachmentType:null}),placeholderTextOverride:void 0});case"UPDATE_PLACEHOLDER_TEXT":return babelHelpers["extends"]({},a,{placeholderTextOverride:b.placeholderTextOverride});case"RESET_PLACEHOLDER_TEXT":return babelHelpers["extends"]({},a,{placeholderTextOverride:void 0})}return a}g.composerFooterAttachmentAreaReducer=a}),98); __d("CometComposerFeatureDefinitionsContext",["react"],(function(a,b,c,d,e,f,g){"use strict";var h;a=h||d("react");b=a.createContext({featureDefinitions:null});g["default"]=b}),98); __d("CometComposerIneligibilityContext",["react"],(function(a,b,c,d,e,f,g){"use strict";var h;a=h||d("react");b=a.createContext(new Set());g["default"]=b}),98); __d("CometComposerLoggerDispatcherContext",["emptyFunction","react"],(function(a,b,c,d,e,f,g){"use strict";var h;a=h||d("react");b=a.createContext(c("emptyFunction"));g["default"]=b}),98); __d("CometComposerPluginsDispatchContext",["emptyFunction","react"],(function(a,b,c,d,e,f,g){"use strict";var h;a=h||d("react");b=a.createContext(c("emptyFunction"));g["default"]=b}),98); __d("CometComposerPreSubmitHooksContext",["react"],(function(a,b,c,d,e,f,g){"use strict";var h;a=h||d("react");b=a.createContext({current:new Map()});g["default"]=b}),98); __d("CometComposerSATPContext",["react"],(function(a,b,c,d,e,f,g){"use strict";var h;a=h||d("react");b=a.createContext({emojiPickerIsHidden:!1,satpContainerIsResponsive:!1,satpExploreIsDisabled:!1,satpFontSize:30,satpMaxNewLines:3,satpRemovalIsDisabled:!1,satpTextVerticalAlignment:"top"});g["default"]=b}),98); __d("CometComposerValidationErrorsContext",["react"],(function(a,b,c,d,e,f,g){"use strict";var h;a=h||d("react");b=a.createContext({});g["default"]=b}),98); __d("CometComposerViewStateAlteredContext",["react"],(function(a,b,c,d,e,f,g){"use strict";var h;a=h||d("react");b=a.createContext({current:new Map()});g["default"]=b}),98); __d("CometComposerViewStateContext",["createEmptyCometComposerViewState","react"],(function(a,b,c,d,e,f,g){"use strict";var h;a=h||d("react");b=a.createContext(c("createEmptyCometComposerViewState")());g["default"]=b}),98); __d("CometComposerViewStateDispatcherContext",["emptyFunction","react"],(function(a,b,c,d,e,f,g){"use strict";var h;a=h||d("react");b=a.createContext(c("emptyFunction"));g["default"]=b}),98); __d("CometComposerViewStateReducersContext",["react"],(function(a,b,c,d,e,f,g){"use strict";var h;a=h||d("react");b=a.createContext({current:new Map()});g["default"]=b}),98); __d("useCometComposerLoggerDispatcher",["CometComposerLoggerDispatcherContext","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i=(h||d("react")).useContext;function a(){return i(c("CometComposerLoggerDispatcherContext"))}g["default"]=a}),98); __d("useCometComposerSATPConfig",["CometComposerSATPContext","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i=(h||d("react")).useContext;function a(){return i(c("CometComposerSATPContext"))}g["default"]=a}),98); __d("useComposerPreSubmitHook",["CometComposerPreSubmitHooksContext","useContextRef"],(function(a,b,c,d,e,f,g){"use strict";function a(a){return c("useContextRef")(a,c("CometComposerPreSubmitHooksContext"))}g["default"]=a}),98); __d("useComposerValidationErrors",["CometComposerValidationErrorsContext","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i=(h||d("react")).useContext;function a(){return i(c("CometComposerValidationErrorsContext"))}g["default"]=a}),98); __d("useComposerViewStateDispatcher",["CometComposerViewStateDispatcherContext","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i=(h||d("react")).useContext;function a(){return i(c("CometComposerViewStateDispatcherContext"))}g["default"]=a}),98); __d("useComposerViewStateReducer",["CometComposerViewStateAlteredContext","CometComposerViewStateReducersContext","useContextRef"],(function(a,b,c,d,e,f,g){"use strict";function a(a,b){var d=function(a,b){return!1};c("useContextRef")((b=b)!=null?b:d,c("CometComposerViewStateAlteredContext"));return c("useContextRef")(a,c("CometComposerViewStateReducersContext"))}g["default"]=a}),98); __d("withSomeContext",["react"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h||(h=d("react")),j=h.useContext;function a(a,b,c){var d=i.memo(a);function e(a,e){var f=j(b);f=c(f,a);return i.jsx(d,babelHelpers["extends"]({},a,f,{ref:e}))}e.displayName=e.name+" [from "+f.id+"]";return i.forwardRef(e)}g["default"]=a}),98); __d("withComposerViewStatePart",["CometComposerViewStateContext","react","withSomeContext"],(function(a,b,c,d,e,f,g){"use strict";var h;h||d("react");function a(a,b){return c("withSomeContext")(a,c("CometComposerViewStateContext"),b)}g["default"]=a}),98); __d("useComposerFeatureIneligibility",["CometComposerIneligibilityContext","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i=(h||d("react")).useContext;function a(){return i(c("CometComposerIneligibilityContext"))}g["default"]=a}),98); __d("CometComposerPostSettingFeatureTypes",["$InternalEnum"],(function(a,b,c,d,e,f){"use strict";a=b("$InternalEnum").Mirrored(["ADMIN_CROSS_POST"]);f.CometComposerPostSettingFeatureTypes=a}),66); __d("ComposerAudienceOverrideLogger",["requireDeferred"],(function(a,b,c,d,e,f,g){"use strict";var h=c("requireDeferred")("AudienceOverridesClientFalcoEvent").__setRef("ComposerAudienceOverrideLogger");function a(a){var b=a.creationSessionID,c=a.eventType,d=a.privacyPostParam,e=a.productType;h.onReady(function(a){return a.log(function(){return{composer_session_id:b,event_type:c,privacy_post_param:JSON.stringify(d),product_type:e}})})}function b(a){var b=a.audienceMode,c=a.creationSessionID,d=a.eventType,e=a.productType;h.onReady(function(a){return a.log(function(){return{audience_mode:b,composer_session_id:c,event_type:d,product_type:e}})})}function d(a){var b=a.creationSessionID,c=a.privacyPostParam,d=a.productType;h.onReady(function(a){return a.log(function(){return{composer_session_id:b,event_type:"client_initial_privacy_render",privacy_post_param:JSON.stringify(c),product_type:d}})})}function e(a){var b=a.creationSessionID,c=a.privacyPostParam,d=a.productType;h.onReady(function(a){return a.log(function(){return{composer_session_id:b,event_type:"client_privacy_mutation_time",privacy_post_param:JSON.stringify(c),product_type:d}})})}g.logBasicPrivacyChangeCompleted=a;g.logAdvancedPrivacyChangeCompleted=b;g.logBasicInitialPrivacyState=d;g.logPrivacyOnCreateMutation=e}),98); __d("composerLexicalEditorViewStateReducer",[],(function(a,b,c,d,e,f){"use strict";function a(a,b){switch(b.type){case"SET_LEXICAL_EDITOR_STATE":return babelHelpers["extends"]({},a,{lexicalEditor:b.lexicalEditor});case"SET_LEXICAL_DIRTY_STATE":return babelHelpers["extends"]({},a,{lexicalEditorIsDirty:b.isDirty});case"SET_LEXICAL_EMPTY_STATE":return babelHelpers["extends"]({},a,{lexicalEditorIsEmpty:b.isEmpty});default:break}return a}f["default"]=a}),66); __d("CometComposerPushPageContext",["react"],(function(a,b,c,d,e,f,g){"use strict";var h;a=h||d("react");b=a.createContext(null);g["default"]=b}),98); __d("useCometComposerPushPage",["CometComposerPushPageContext","JSResourceForInteraction","promiseDone","react"],(function(a,b,c,d,e,f,g){"use strict";var h;b=h||d("react");var i=b.useContext,j=b.useRef,k=c("JSResourceForInteraction")("missingNavigationErrorHandler").__setRef("useCometComposerPushPage");function a(){var a;a=(a=i(c("CometComposerPushPageContext")))==null?void 0:a.pushPageHandler;var b=j(null);return a==null?function(a){c("promiseDone")(k.load().then(function(c){return c(b,a)}))}:a}g["default"]=a}),98); __d("useCometStatusAreaTextData",["CometRelay","emptyObject","useCometComposerSATPConfig","useCometStatusAreaTextData_formattedTextPreset.graphql"],(function(a,b,c,d,e,f,g){"use strict";var h;function a(a){var e,f,g=c("useCometComposerSATPConfig")(),i=g.satpFontSize;g=g.satpLineHeightInPx;var j=d("CometRelay").useFragment(h!==void 0?h:h=b("useCometStatusAreaTextData_formattedTextPreset.graphql"),a),k=j==null?void 0:j.inspirations_custom_font_object;e=(e=k==null?void 0:k.font_name)!=null?e:"";f=(f=j==null?void 0:j.color)!=null?f:"00000000";i=(k=(k=k==null?void 0:k.preferred_font_size)!=null?k:i)!=null?k:30;k=(j==null?void 0:j.avatar_story_text_format_id)!=null;j="#"+f.substring(2)+f.substring(0,2);f=a!=null?{caretColor:j,color:j,fontFamily:e,fontSize:i,fontWeight:700,lineHeight:g,marginBottom:k?150:void 0}:c("emptyObject");if(a!=null)return{formattedTextStyling:f,textAlignment:"center"}}g["default"]=a}),98); __d("FeedComposerCometTextStyleContext",["react"],(function(a,b,c,d,e,f,g){"use strict";var h;a=h||d("react");b=a.createContext({color:"primary-text",fontSize:24});g["default"]=b}),98); __d("createCometWithTagStrategy",[],(function(a,b,c,d,e,f){"use strict";function a(a){var b=a.minMatchLength;return{findMentionableString:function(a){return a.length>=b?{leadOffset:a.length,matchingString:a,replaceableString:a}:null},name:"WithTagStrategy("+b.toString()+")"}}f["default"]=a}),66); __d("withTagIDsTrackerConversionUtils",[],(function(a,b,c,d,e,f){"use strict";function a(a){var b=[];a!=null&&a.forEach(function(a,c){a=a.isDisplayedInSocialSentence;a&&b.push(c)});return b}function b(a,b){b===void 0&&(b="WithTagTool");var c=new Map();a=a.filter(Boolean);a.forEach(function(a){a!=null&&c.set(a,{isDisplayedInSocialSentence:!0,withTagSourceIDs:[b]})});return c}f.convertWithTagIDsTrackerToArray=a;f.convertArrayToWithTagIDsTracker=b}),66); __d("getResolvedShouldShrink",[],(function(a,b,c,d,e,f){"use strict";function a(a){var b=a.activeAttachmentType,c=a.alwaysShrinkText;c=c===void 0?!1:c;var d=a.formattedTextStyling,e=a.formattingType;a=a.textExceedsLength;a=(a||b!=null)&&d==null||e==="RICHTEXT";return a||c}f["default"]=a}),66); __d("basicCoordinateTransform",[],(function(a,b,c,d,e,f){"use strict";function a(a){var b=a.clientWindowX,c=a.clientWindowY,d=a.imageLeftPosition;a=a.imageTopPosition;b=b-d;d=c-a;return{intermediateX:b,intermediateY:d}}f["default"]=a}),66); __d("mediaEditorViewStateContextInitialValue",["basicCoordinateTransform"],(function(a,b,c,d,e,f,g){"use strict";a={clickEventCoordinateTransforms:[c("basicCoordinateTransform")],index:0,isEditingPreExistingStory:!1,isOnVideoLiteComposer:!1};g["default"]=a}),98); __d("MediaEditorViewStateContext",["mediaEditorViewStateContextInitialValue","react"],(function(a,b,c,d,e,f,g){"use strict";var h;a=h||d("react");b=a.createContext(c("mediaEditorViewStateContextInitialValue"));g["default"]=b}),98); __d("CometMentionsA11yContext",["react"],(function(a,b,c,d,e,f,g){"use strict";var h;a=h||d("react");b=a.createContext(function(){});g["default"]=b}),98); __d("AudienceOverridesClientFalcoEvent",["FalcoLoggerInternal","getFalcoLogPolicy_DO_NOT_USE"],(function(a,b,c,d,e,f,g){"use strict";a=c("getFalcoLogPolicy_DO_NOT_USE")("5615");b=d("FalcoLoggerInternal").create("audience_overrides_client",a);e=b;g["default"]=e}),98); __d("CreateFundraiserBeginFalcoEvent",["FalcoLoggerInternal","getFalcoLogPolicy_DO_NOT_USE"],(function(a,b,c,d,e,f,g){"use strict";a=c("getFalcoLogPolicy_DO_NOT_USE")("1743524");b=d("FalcoLoggerInternal").create("create_fundraiser_begin",a);e=b;g["default"]=e}),98); __d("FbCreatorsCoreMobileFalcoEvent",["FalcoLoggerInternal","getFalcoLogPolicy_DO_NOT_USE"],(function(a,b,c,d,e,f,g){"use strict";a=c("getFalcoLogPolicy_DO_NOT_USE")("5922");b=d("FalcoLoggerInternal").create("fb_creators_core_mobile",a);e=b;g["default"]=e}),98); __d("CometOnBeforeUnload.react",["useOnBeforeUnload"],(function(a,b,c,d,e,f,g){"use strict";function a(a){a=a.onBeforeUnload;c("useOnBeforeUnload")(a);return null}g["default"]=a}),98);/*FB_PKG_DELIM*/ __d("getSelectionOffsets",[],(function(a,b,c,d,e,f){"use strict";function b(b){var c=a.getSelection();if(c==null||c.rangeCount===0)return null;var d=c.anchorNode,e=c.anchorOffset,f=c.focusNode;c=c.focusOffset;if(d==null||f==null)return null;var g=0,h=-1,i=-1,j=0,k=0,l=b,m=null;outer:while(!0){var n=null;while(!0){var o;l!=null&&l===d&&(e===0||l.nodeType===Node.TEXT_NODE)&&(h=g+e);l!=null&&l===f&&(c===0||l.nodeType===Node.TEXT_NODE)&&(i=g+c);l!=null&&l.nodeType===Node.TEXT_NODE&&(g+=l.nodeValue.length);if((n=(o=l)==null?void 0:o.firstChild)===null)break;m=l;l=n}while(!0){if(l===b)break outer;m===d&&++j===e&&(h=g);m===f&&++k===c&&(i=g);if((n=(o=l)==null?void 0:o.nextSibling)!==null)break;l=m;m=(o=l)==null?void 0:o.parentNode}l=n}return h===-1||i===-1?null:{end:i,isCollapsed:d===f&&c===e,start:h}}f["default"]=b}),66); __d("setSelectionOffsets",[],(function(a,b,c,d,e,f){"use strict";function g(a){a=a;while(a!=null&&a.firstChild!=null)a=a.firstChild;return a}function h(a){a=a;while(a!=null){if(a.nextSibling!=null)return a.nextSibling;a=a.parentNode}return null}function i(a,b){var c=g(a),d=0,e;while(c!=null){if(c.nodeType===Node.TEXT_NODE){e=d+c.textContent.length;if(d<=b&&e>=b)return{node:c,offset:b-d};d=e}e=h(c);c=e!=null?g(e):null;if(c!=null&&c.contains(a))return null}return null}function b(b,c){var d=a.getSelection(),e=b.textContent.length,f=Math.min(c.start,e);c=Math.min(c.end,e);if(!d.extend==null&&f>c){e=c;c=f;f=e}e=i(b,f);b=i(b,c);if(e!=null&&b!=null){var g=document.createRange();g.setStart(e.node,e.offset);d.removeAllRanges();f>c?(d.addRange(g),d.extend(b.node,b.offset)):(g.setEnd(b.node,b.offset),d.addRange(g))}}f["default"]=b}),66); __d("CometPlaintextEditor.react",["FBLogger","ReactDOMComet","clearTimeout","getSelectionOffsets","react","setSelectionOffsets","setTimeout","stylex"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j=i||d("react"),k={input:{backgroundColor:"xjbqb8w",borderTopWidth:"x972fbf",borderEndWidth:"xcfux6l",borderBottomWidth:"x1qhh985",borderStartWidth:"xm0m39n",height:"x5yr21d",outline:"x1a2a7pz",position:"x1n2onr6",resize:"xtt52l0",wordBreak:"x13faqbe",zIndex:"x1vjfegm",$$css:!0},placeholder:{bottom:"x1ey2m1c",color:"x12scifz",end:"xds687c",left:null,right:null,overflowX:"x6ikm8r",overflowY:"x10wlt62",pointerEvents:"x47corl",position:"x10l6tqk",start:"x17qophe",textOverflow:"xlyipyv",top:"x13vifvy",userSelect:"x87ps6o",zIndex:"x1ja2u2z",$$css:!0},root:{height:"x5yr21d",position:"x1n2onr6",width:"xh8yej3",$$css:!0}},l=8,m=46,n=13;b=function(b){babelHelpers.inheritsLoose(e,b);function e(){var d,e;for(var f=arguments.length,g=new Array(f),h=0;h0;b=j.jsxs("div",{className:"x5yr21d x1n2onr6 xh8yej3","data-testid":void 0,children:[j.jsx("div",babelHelpers["extends"]({},a,{"aria-labelledby":this.props["aria-labelledby"],className:"xjbqb8w x972fbf xcfux6l x1qhh985 xm0m39n x5yr21d x1a2a7pz x1n2onr6 xtt52l0 x13faqbe x1vjfegm",contentEditable:!g,onBeforeInput:this.$8,onBlur:this.$11,onCompositionEnd:this.$12,onCompositionStart:this.$13,onCut:this.$14,onFocus:this.$17,onInput:this.$15,onKeyDown:this.$16,onMouseDown:this.$18,onPaste:this.$19,onSelect:this.$20,ref:this.$4})),i||e==null?null:j.jsx("div",{className:(h||(h=c("stylex")))(k.placeholder,f),children:e})]});return d!=null?j.jsx("div",{onClick:d,role:"none",children:b}):b};return e}(j.PureComponent);g["default"]=b}),98); __d("DeferredDraftEditorDEPRECATED.react",["CometPlaintextEditor.react","SubscriptionsHandler","cr:2012305","react","requireDeferred","stylex"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j=i||d("react"),k=c("requireDeferred")("DraftEditor.react").__setRef("DeferredDraftEditorDEPRECATED.react"),l=c("requireDeferred")("EditorState").__setRef("DeferredDraftEditorDEPRECATED.react"),m=c("requireDeferred")("getEditorStateFromContentEditableState_DEPRECATED_DO_NOT_USE").__setRef("DeferredDraftEditorDEPRECATED.react"),n={root:{boxSizing:"x9f619",height:"x5yr21d",width:"xh8yej3",$$css:!0}};function o(){return{DraftEditor:k.getModuleIfRequireable(),EditorState:l.getModuleIfRequireable(),getEditorStateFromContentEditableState_DEPRECATED_DO_NOT_USE:m.getModuleIfRequireable()}}a=function(a){babelHelpers.inheritsLoose(d,a);function d(){var b,e;for(var f=arguments.length,g=new Array(f),h=0;h=b.length)break;g=b[f++]}else{f=b.next();if(f.done)break;g=f.value}g=g;var j=g[0];g=g[1];a.addQueryData(j,g)}d("CurrentBusinessUser").isFacebookWorkAccount&&a.setSubdomain("business");return a}g.getHelpCenterURI=a}),98); __d("AdsUniqueMetricsID",[],(function(a,b,c,d,e,f){"use strict";a="283579896000936";b="1738164643098669";c="1575448755848995";d="460276478298895";e="310485426154135";var g="221353413010930",h="765081237991954",i="282701548912119",j="299600627522144",k="1313814228748488",l="2396060560411130",m="239549606692303",n="785320518788795",o="2406430152931515",p="139128364684349",q="172764286113080",r="151451521590943",s="621956575422138",t="439197323479039",u="1132465490107046",v="183277585892925",w="619744345300739",x="120325381656392",y="2343035149322466",z="3171236526530970",A="865384580786591",B="1720288338140238",C="1016122818401732",D="517601898571657",E="574057082992105",F="162567804385118",G="1792720544284355",H="782660422528806",I="558063628079184",J="181058782494426",K="447934475640650",L="397103717129942",M="721422165168355",N="337196340694086",O="337196340694086",P="480968138771025",Q="124742407297678",R="128066880933676",S="204798856225114",T="733979527611858",U="837655677217892",V="1385663875259685",W="1157846251802527",X="298000447747885";f.AdsUniqueMetricsHelpID=a;f.ABOUT_AB_TEST=b;f.ABOUT_HOLDOUT_TEST=c;f.ABOUT_ATTRIBUTION_SETTING=d;f.ABOUT_BRAND_IMPACT_TEST=e;f.ABOUT_CONVERSION_LIFT_TEST=g;f.ABOUT_EVENT_QUALITY=h;f.ABOUT_NEW_ADS_MANAGER=i;f.ABOUT_OPTIMAL_STRATEGY_CBO_TEST=j;f.BRAND_LIFT_RESULTS=k;f.BRAND_LIFT_TEST_BEST_PRACTICES=l;f.CONVERSION_LIFT_BAYESIAN_HPD_INTERVAL=m;f.EPD_UPDATE=n;f.ESTIMATED_METRIC=o;f.IOS_14_UPDATES=p;f.TURN_AD_ON_OR_OFF=q;f.CURRENCY_HELP_ID=r;f.CAMPAIGN_CREATION_ARTICLE_ID=s;f.ABOUT_CUSTOM_METRIC_CMS_ID=t;f.CREATE_DYNAMIC_AD_CMS_ID=u;f.PAGE_REQUEST_PENDING_HELP_ARTICLE_ID=v;f.HOW_TO_APPROVE_REQUEST_HELP_ARTICLE_ID=w;f.DATA_FEED_FIELDS_CMS_ID=x;f.ABOUT_FACEBOOK_SHOPS_CMS_ID=y;f.ABOUT_SAIP_CMS_ID=z;f.ABOUT_TWO_FACTOR_AUTH_CMS_ID=A;f.ABOUT_DYNAMIC_EXPERIENCES_CMS_ID=B;f.ADD_URL_PARAMS_CMS_ID=C;f.CUSTOMIZE_DYNAMIC_AD_CREATIVE_CMS_ID=D;f.TRAVEL_ADS_CMS_ID=E;f.IN_DEVELOPMENT_CMS_ID=F;f.ABOUT_ABOUT_VIDEO_ADS_METRIC_CMS_ID=G;f.NEW_PAGES_EXPERIENCE_CMS_ID=H;f.ABOUT_DISTRIBUTION_SCORE_CMS_ID=I;f.ESTIMATED_IN_DEVELOPMENT_METRIC_CMS_ID=J;f.CREATE_CTWA_ADS_IN_AM_CMS_ID=K;f.ABOUT_ADVANTAGE_PLUS_CATALOG=L;f.AGGREGATED_EVENT_MEASUREMENT=M;f.AGGREGATED_EVENT_MEASUREMENT_AND_SKAN=N;f.EVENT_COUNT_DIFFERENCE_IN_ADS_AND_EVENT_MANAGER=O;f.AUDIENCE_COUNT_AND_META_PIXEL_DIFFERENCES=P;f.PROTECTED_CUSTOM_AUDIENCE_GUIDANCE=Q;f.ADVANTAGE_DETAILED_TARGETING_HELP_CMS_ID=R;f.ABOUT_ADS_IN_REVIEW_CMS_ID=S;f.ADVANTAGE_AUDIENCES_GENERIC_HELP_CMS_ID=T;f.ABOUT_SAC_HELP_CENTER_HOUSING_CMS_ID=U;f.ABOUT_SAC_HELP_CENTER_EMPLOYMENT_CMS_ID=V;f.ABOUT_SAC_HELP_CENTER_CREDIT_CMS_ID=W;f.ABOUT_SPECIAL_AD_CATEGORY_CMS_ID=X}),66); __d("AdsUniqueMetricsHelpID",["AHGUtils","AdsUniqueMetricsID"],(function(a,b,c,d,e,f,g){"use strict";function a(){return d("AHGUtils").getHelpCenterURI(d("AdsUniqueMetricsID").AdsUniqueMetricsHelpID).toString()}g.getUniqueMetricsHelpURL=a}),98); __d("XContentRefControllerRouteBuilder",["jsRouteBuilder"],(function(a,b,c,d,e,f,g){a=c("jsRouteBuilder")("/business/content_ref/",Object.freeze({}),void 0);b=a;g["default"]=b}),98); __d("ContentRefComet",["XContentRefControllerRouteBuilder"],(function(a,b,c,d,e,f,g){"use strict";function a(a,b){b===void 0&&(b="DEFAULT");return c("XContentRefControllerRouteBuilder").buildURL({callsite:b,name:a})}g.get=a}),98); __d("AddOnStartOverride.react",["react","stylex"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j=i||d("react");function a(a,b){var d=a.children,e=a.xstyle;a=babelHelpers.objectWithoutPropertiesLoose(a,["children","xstyle"]);return j.jsx("div",babelHelpers["extends"]({},a,{className:(h||(h=c("stylex")))(e),ref:b,children:d}))}a.displayName=a.name+" [from "+f.id+"]";b=j.forwardRef(a);g["default"]=b}),98); __d("CometComposerGenericAttachmentPendingPreview.react",["CometProgressIndicator.react","react","stylex"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j=i||d("react"),k={loadingIndicator:{alignItems:"x6s0dn4",backgroundColor:"x1jx94hy",borderTopStartRadius:"x1lq5wgf",borderTopEndRadius:"xgqcy7u",borderBottomEndRadius:"x30kzoy",borderBottomStartRadius:"x9jhf4c",display:"x78zum5",height:"x18dl8mb",justifyContent:"xl56j7k",$$css:!0}};function a(a){a=a.xstyle;return j.jsx("div",{className:(h||(h=c("stylex")))(k.loadingIndicator,a),children:j.jsx(c("CometProgressIndicator.react"),{})})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("LWICometLoggerContext",["react"],(function(a,b,c,d,e,f,g){"use strict";var h;a=h||d("react");b=a.createContext();g["default"]=b}),98); __d("LWICometCommonStrings",["fbt","AdsUniqueMetricsHelpID","CometLink.react","intlSummarizeNumber","react"],(function(a,b,c,d,e,f,g,h){"use strict";var i;b=i||d("react");function a(a,b){return h._("__JHASH__7WP1f8LImQP__JHASH__",[h._param("lower_bound",c("intlSummarizeNumber")(a)),h._param("upper_bound",c("intlSummarizeNumber")(b))])}a.displayName=a.name+" [from "+f.id+"]";e=b.jsx(c("CometLink.react"),{href:d("AdsUniqueMetricsHelpID").getUniqueMetricsHelpURL(),target:"_blank",children:h._("__JHASH__S_0_1WXhbg2__JHASH__")});f=b.jsx(c("CometLink.react"),{href:d("AdsUniqueMetricsHelpID").getUniqueMetricsHelpURL(),target:"_blank",children:h._("__JHASH__y7mSz-9U-22__JHASH__")});var j=b.jsx(c("CometLink.react"),{href:d("AdsUniqueMetricsHelpID").getUniqueMetricsHelpURL(),target:"_blank",children:h._("__JHASH__GA8vJ3s0wFK__JHASH__")});b=b.jsx(c("CometLink.react"),{href:d("AdsUniqueMetricsHelpID").getUniqueMetricsHelpURL(),target:"_blank",children:h._("__JHASH__7v-1ZvEHLum__JHASH__")});d=h._("__JHASH__GZS3oFpJ4s0__JHASH__");g.getRangeString=a;g.PEOPLE_HYPER_LINK=e;g.PEOPLE_CAPITALIZED_HYPER_LINK=f;g.PERSON_HYPER_LINK=j;g.ACCOUNT_CENTER_ACCOUNTS_HYPER_LINK=b;g.BOOST_POST_TITLE=d}),98); __d("LWIBizWebGeoErrorUtils",["BizKitAdsGating.entrypointutils","LWICometLoggerContext","qex","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i=(h||d("react")).useContext;function a(){var a=i(c("LWICometLoggerContext"));if(a==null)return!1;var b=d("BizKitAdsGating.entrypointutils").getIsBizWebAdsExperience(!1);return b&&(a.product==="BOOSTED_POST"||a.product==="BOOSTED_INSTAGRAM_MEDIA")?!1:!1}function b(){var a=i(c("LWICometLoggerContext"));if(a==null)return!1;var b=d("BizKitAdsGating.entrypointutils").getIsBizWebAdsExperience(!1);if(b&&(a.product==="BOOSTED_POST"||a.product==="BOOSTED_INSTAGRAM_MEDIA")){b=c("qex")._("79");return b===!0}return!1}g.useShouldShowGeoErrorUpdates=a;g.useShouldShowGeoErrorContentUpdates=b}),98); __d("LWIOmniTextInput.react",["cr:2412","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h||d("react");function a(a,c){return i.jsx(b("cr:2412"),babelHelpers["extends"]({},a,{ref:c}))}a.displayName=a.name+" [from "+f.id+"]";c=i.forwardRef(a);g["default"]=c}),98); __d("CallAdsEventLogFalcoEvent",["FalcoLoggerInternal","getFalcoLogPolicy_DO_NOT_USE"],(function(a,b,c,d,e,f,g){"use strict";a=c("getFalcoLogPolicy_DO_NOT_USE")("78");b=d("FalcoLoggerInternal").create("call_ads_event_log",a);e=b;g["default"]=e}),98); __d("CometComposerCallNowLoggingUtil",["CallAdsEventLogFalcoEvent"],(function(a,b,c,d,e,f,g){"use strict";function a(a,b,d,e){c("CallAdsEventLogFalcoEvent").log(function(){return{action_name:a,action_target:b,entry_point:d,extra_data:e!=null?{post_content:e}:{},feature_name:"get_calls_in_page_composer"}})}g.cometComposerCallNowLog=a}),98); __d("composerCallNowReducer",[],(function(a,b,c,d,e,f){"use strict";function a(a,b){switch(b.type){case"ATTACH_CALL_NOW_CTA_IN_POST":return babelHelpers["extends"]({},a,{callNowMetadata:{isCallNowPost:!0,phoneNumber:b.phoneNumber}});case"REMOVE_CALL_NOW_CTA_IN_POST":return babelHelpers["extends"]({},a,{callNowMetadata:{isCallNowPost:!1,phoneNumber:null}})}return a}f["default"]=a}),66); __d("CometComposerFooterBoostCTXPostToggleReducer",[],(function(a,b,c,d,e,f){"use strict";function a(a,b){switch(b.type){case"WHATSAPP_BOOST_POST_TOGGLE_ON":return babelHelpers["extends"]({},a,{isBoostWhatsAppPostToggleOn:!0});case"WHATSAPP_BOOST_POST_TOGGLE_OFF":return babelHelpers["extends"]({},a,{isBoostWhatsAppPostToggleOn:!1});case"MESSENGER_BOOST_POST_TOGGLE_ON":return babelHelpers["extends"]({},a,{isBoostMessengerPostToggleOn:!0});case"MESSENGER_BOOST_POST_TOGGLE_OFF":return babelHelpers["extends"]({},a,{isBoostMessengerPostToggleOn:!1})}return a}f["default"]=a}),66); __d("WhatsAppNumberType",[],(function(a,b,c,d,e,f){a=Object.freeze({UNKNOWN:0,BIZ:1,PERSONAL:2,ENTERPRISE:3});f["default"]=a}),66); __d("XCometGroupEventsControllerRouteBuilder",["jsRouteBuilder"],(function(a,b,c,d,e,f,g){a=c("jsRouteBuilder")("/groups/{idorvanity}/events/{?section}/",Object.freeze({}),void 0);b=a;g["default"]=b}),98); __d("XCometPageEventsTabControllerRouteBuilder",["jsRouteBuilder"],(function(a,b,c,d,e,f,g){a=c("jsRouteBuilder")("/{vanity}/events/",Object.freeze({ref:""}),void 0);b=a;g["default"]=b}),98); __d("ClickToWhatsAppAdsUnifiedEventsTypedLoggerLite",["generateLiteTypedLogger"],(function(a,b,c,d,e,f){"use strict";e.exports=b("generateLiteTypedLogger")("logger:ClickToWhatsAppAdsUnifiedEventsLoggerConfig")}),null); __d("PrivacyMutationSourceIDContext",["react"],(function(a,b,c,d,e,f,g){"use strict";var h;a=h||d("react");b=null;c=a.createContext(b);g["default"]=c}),98); __d("PrivacyMutationToken",["Base64","PrivacyMutationSourceIDContext","react"],(function(a,b,c,d,e,f,g){"use strict";var h;b=h||d("react");var i=b.useContext,j=b.useMemo;function a(){var a=i(c("PrivacyMutationSourceIDContext"));return j(function(){return k(a)},[a])}function k(a){return a==null?null:c("Base64").encode(JSON.stringify({callsite_id:a,creation_time:Date.now(),type:0}))}g.usePrivacyMutationToken=a;g.getPrivacyMutationTokenFromSourceID=k}),98);/*FB_PKG_DELIM*/ __d("CometComposerStatusAreaRelayForLexical_profile.graphql",[],(function(a,b,c,d,e,f){"use strict";a={argumentDefinitions:[],kind:"Fragment",metadata:null,name:"CometComposerStatusAreaRelayForLexical_profile",selections:[{kind:"InlineFragment",selections:[{alias:null,args:null,kind:"ScalarField",name:"short_name",storageKey:null},{alias:null,args:null,concreteType:"Page",kind:"LinkedField",name:"delegate_page",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null}],storageKey:null}],type:"User",abstractKey:null},{alias:null,args:null,kind:"ScalarField",name:"name",storageKey:null}],type:"Profile",abstractKey:"__isProfile"};e.exports=a}),null); __d("CometComposerStatusAreaRelay_profile.graphql",[],(function(a,b,c,d,e,f){"use strict";a={argumentDefinitions:[],kind:"Fragment",metadata:null,name:"CometComposerStatusAreaRelay_profile",selections:[{kind:"InlineFragment",selections:[{alias:null,args:null,kind:"ScalarField",name:"short_name",storageKey:null}],type:"User",abstractKey:null},{alias:null,args:null,kind:"ScalarField",name:"name",storageKey:null}],type:"Profile",abstractKey:"__isProfile"};e.exports=a}),null); __d("FeedComposerCometStatusAreaRelayForDraftjs_profile.graphql",[],(function(a,b,c,d,e,f){"use strict";a={argumentDefinitions:[],kind:"Fragment",metadata:null,name:"FeedComposerCometStatusAreaRelayForDraftjs_profile",selections:[{args:null,kind:"FragmentSpread",name:"CometComposerStatusAreaRelay_profile"},{args:null,kind:"FragmentSpread",name:"CometComposerStatusAreaRelayWithSwatches_profile"}],type:"Profile",abstractKey:"__isProfile"};e.exports=a}),null); __d("FeedComposerCometStatusAreaRelayForLexical_profile.graphql",[],(function(a,b,c,d,e,f){"use strict";a={argumentDefinitions:[],kind:"Fragment",metadata:null,name:"FeedComposerCometStatusAreaRelayForLexical_profile",selections:[{args:null,kind:"FragmentSpread",name:"CometComposerStatusAreaRelayForLexical_profile"}],type:"Profile",abstractKey:"__isProfile"};e.exports=a}),null); __d("CometComposerMessagingDefaultMediaAttachmentPreviewMutation_facebookRelayOperation",[],(function(a,b,c,d,e,f){e.exports="6387020161366761"}),null); __d("CometComposerMessagingDefaultMediaAttachmentPreviewMutation.graphql",["CometComposerMessagingDefaultMediaAttachmentPreviewMutation_facebookRelayOperation"],(function(a,b,c,d,e,f){"use strict";a=function(){var a=[{defaultValue:null,kind:"LocalArgument",name:"input"}],c=[{alias:null,args:[{kind:"Variable",name:"data",variableName:"input"}],concreteType:"CometPageComposerCreateTemporaryCoverPhotoUploadResponsePayload",kind:"LinkedField",name:"comet_page_composer_create_temporary_cover_photo_upload",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"client_mutation_id",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"client_subscription_id",storageKey:null},{alias:null,args:null,concreteType:"Photo",kind:"LinkedField",name:"photo",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},{alias:null,args:null,concreteType:"Image",kind:"LinkedField",name:"image",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"width",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"height",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"uri",storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null}];return{fragment:{argumentDefinitions:a,kind:"Fragment",metadata:null,name:"CometComposerMessagingDefaultMediaAttachmentPreviewMutation",selections:c,type:"Mutation",abstractKey:null},kind:"Request",operation:{argumentDefinitions:a,kind:"Operation",name:"CometComposerMessagingDefaultMediaAttachmentPreviewMutation",selections:c},params:{id:b("CometComposerMessagingDefaultMediaAttachmentPreviewMutation_facebookRelayOperation"),metadata:{},name:"CometComposerMessagingDefaultMediaAttachmentPreviewMutation",operationKind:"mutation",text:null}}}();e.exports=a}),null); __d("CometComposerViewOnlyFeedAttachmentAreaResource",["JSResourceForInteraction"],(function(a,b,c,d,e,f,g){"use strict";a=c("JSResourceForInteraction")("CometComposerViewOnlyFeedAttachmentArea.react").__setRef("CometComposerViewOnlyFeedAttachmentAreaResource");b=a;g["default"]=b}),98); __d("cometComposerValidateMediaUploadStartedForMagicUploads",["fbt"],(function(a,b,c,d,e,f,g,h){"use strict";function a(a){a=(a.mediaAttachments||[]).some(function(a){return a.state==="NEW"});return a?h._("__JHASH__bhfSZ9zrliT__JHASH__"):null}g["default"]=a}),98); __d("useComposerFeatureIneligibilityNoOp",[],(function(a,b,c,d,e,f){"use strict";function a(){return new Set()}f["default"]=a}),66); __d("CometComposerEditorPluginTypes",["$InternalEnum"],(function(a,b,c,d,e,f){"use strict";a=b("$InternalEnum").Mirrored(["MENTIONS","DELIGHTS","HASHTAG","LINK","MISINFORMATION","HYPERLINK","RICHTEXT","ANONYMOUS_POST","GROUP_RULES_MENTIONS","GROUP_RULES_TAGGING","INTERCEPT","TEXT_PASTE","SMART_COMPOSE","HEADLINE_SUGGESTION","HASHTAG_SUGGESTION","HEDGE_HIGHLIGHT","INCLUSIVE_LANGUAGE","AUTO_LINKS","POST_LENGTH_BUCKET","CANDIDATE_LINK","WORK_GROUP_AUDIENCE","WHATSAPP_DEEPLINK","WORK_HASHTAG_SUGGESTIONS"]);f.CometComposerEditorPluginTypes=a}),66); __d("CometComposerStatusAreaRelay.react",["CometComposerStatusAreaRelay_profile.graphql","CometPlaceholder.react","CometRelay","CometTrackingNodeProvider.react","FeedComposerCometFormattedTextStatusArea.react","FeedComposerCometStatusArea.react","FeedComposerCometStatusAreaClickHandler.react","react","withComposerViewStatePart"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j=i||(i=d("react")),k=i.useRef;function a(a){var e,f,g=k(null);e=(e=a.statusAreaRef)!=null?e:g;g=d("CometRelay").useFragment(h!==void 0?h:h=b("CometComposerStatusAreaRelay_profile.graphql"),a.profile$key);f={autoFocus:a.autoFocus,formatPastedText:a.formatPastedText,isViewerFeed:a.isViewerFeed,onClose:a.onClose,placeholderText:(f=a.placeholderTextOverride)!=null?f:a.placeholderText,ref:e,stripPastedStyles:a.stripPastedStyles,typingPerformanceAnnotations:a.typingPerformanceAnnotations,userShortName:(f=g==null?void 0:g.short_name)!=null?f:g==null?void 0:g.name};g=j.jsx(c("FeedComposerCometStatusArea.react"),babelHelpers["extends"]({},f));return j.jsx(c("CometTrackingNodeProvider.react"),{trackingNode:159,children:j.jsx(c("FeedComposerCometStatusAreaClickHandler.react"),{hasCustomRichtextHandler:a.hasCustomRichtextHandler,showSwatchPicker:a.activeAttachmentType==null||a.activeAttachmentType==="FORMATTED_TEXT",statusAreaRef:e,children:j.jsxs(c("CometPlaceholder.react"),{fallback:g,children:[j.jsx(c("FeedComposerCometFormattedTextStatusArea.react"),babelHelpers["extends"]({},f,{alwaysShrinkText:a.alwaysShrinkText,draftEditorRendering:a.draftEditorRendering,formattedTextPreset:a.formattedTextPreset})),a.plugins]})})})}a.displayName=a.name+" [from "+f.id+"]";e=c("withComposerViewStatePart")(a,function(a){var b;return{activeAttachmentType:(b=a.attachmentArea)==null?void 0:b.activeAttachmentType,formattedTextPreset:(b=a.formattedText)==null?void 0:b.currentFormattedTextPreset,placeholderTextOverride:a.placeholderTextOverride}});g["default"]=e}),98); __d("CometComposerStatusAreaRelayForLexical.react",["CometComposerStatusAreaRelayForLexical_profile.graphql","CometRelay","CometTrackingNodeProvider.react","FeedComposerCometFormattedTextStatusAreaForLexical.react","FeedComposerCometStatusAreaClickHandlerForLexical.react","react","withComposerViewStatePart"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j=i||d("react");function a(a){var e,f=d("CometRelay").useFragment(h!==void 0?h:h=b("CometComposerStatusAreaRelayForLexical_profile.graphql"),a.profile$key);return j.jsx(c("CometTrackingNodeProvider.react"),{trackingNode:159,children:j.jsx(c("FeedComposerCometStatusAreaClickHandlerForLexical.react"),{pageID:f==null?void 0:(e=f.delegate_page)==null?void 0:e.id,showSwatchPicker:a.activeAttachmentType==null||a.activeAttachmentType==="FORMATTED_TEXT",children:j.jsx(c("FeedComposerCometFormattedTextStatusAreaForLexical.react"),{alwaysShrinkText:a.alwaysShrinkText,autoFocus:a.autoFocus,canUseGeminiLinksPlugin:a.canUseGeminiLinksPlugin,formattedTextPreset:a.formattedTextPreset,isViewerFeed:a.isViewerFeed,placeholderText:(e=a.placeholderTextOverride)!=null?e:a.placeholderText,userShortName:(e=f==null?void 0:f.short_name)!=null?e:f==null?void 0:f.name})})})}a.displayName=a.name+" [from "+f.id+"]";e=c("withComposerViewStatePart")(a,function(a){var b;return{activeAttachmentType:(b=a.attachmentArea)==null?void 0:b.activeAttachmentType,formattedTextPreset:(b=a.formattedText)==null?void 0:b.currentFormattedTextPreset,placeholderTextOverride:a.placeholderTextOverride}});g["default"]=e}),98); __d("FeedComposerCometStatusAreaRelayForDraftjs.react",["CometComposerStatusAreaRelay.react","CometRelay","FeedComposerCometStatusAreaRelayForDraftjs_profile.graphql","cr:121","gkx","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j=i||d("react");function a(a){var e=d("CometRelay").useFragment(h!==void 0?h:h=b("FeedComposerCometStatusAreaRelayForDraftjs_profile.graphql"),a.profile$key),f=a.pluginDefinitions;a.profile$key;a=babelHelpers.objectWithoutPropertiesLoose(a,["pluginDefinitions","profile$key"]);var g=b("cr:121")();f=f.map(function(a){if(c("gkx")("828")&&g.has(a.pluginType))return;return a.pluginModule}).filter(Boolean);return j.jsx(c("CometComposerStatusAreaRelay.react"),babelHelpers["extends"]({plugins:f,profile$key:e},a))}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("FeedComposerCometStatusAreaRelayForLexical.react",["CometComposerStatusAreaRelayForLexical.react","CometRelay","FeedComposerCometStatusAreaRelayForLexical_profile.graphql","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j=i||d("react");function a(a){var e=a.profile$key;a=babelHelpers.objectWithoutPropertiesLoose(a,["profile$key"]);e=d("CometRelay").useFragment(h!==void 0?h:h=b("FeedComposerCometStatusAreaRelayForLexical_profile.graphql"),e);return j.jsx(c("CometComposerStatusAreaRelayForLexical.react"),babelHelpers["extends"]({profile$key:e},a))}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("composerBrandedContentReducer",[],(function(a,b,c,d,e,f){"use strict";function a(a,b){var c;switch(b.type){case"branded_content_tag_sponsor":return babelHelpers["extends"]({},a,{brandedContent:babelHelpers["extends"]({},a.brandedContent,{bcmpCampaignAgreementID:b.bcmpCampaignAgreementID,eventLocation:(c=b.eventLocation)!=null?c:(c=a.brandedContent)==null?void 0:c.eventLocation,isReviewable:!1,sponsorCanAddCTA:b.sponsorCanAddCTA,sponsorCanBoost:b.sponsorCanBoost,sponsorID:b.sponsorID})});case"branded_content_remove_sponsor":return babelHelpers["extends"]({},a,{brandedContent:babelHelpers["extends"]({},a.brandedContent,{bcmpCampaignAgreementID:void 0,isReviewable:void 0,sponsorCanAddCTA:void 0,sponsorCanBoost:void 0,sponsorID:void 0,sponsorRelationship:void 0})});case"branded_content_set_reviewable":if(((c=a.brandedContent)==null?void 0:c.sponsorID)!=null)return babelHelpers["extends"]({},a,{brandedContent:babelHelpers["extends"]({},a.brandedContent,{isReviewable:!0})});break;case"branded_content_set_enforcement_intercept_event":return babelHelpers["extends"]({},a,{brandedContent:babelHelpers["extends"]({},a.brandedContent,{enforcementInterceptEvent:b.event})});case"branded_content_set_enforcement_intercept_reason":return babelHelpers["extends"]({},a,{brandedContent:babelHelpers["extends"]({},a.brandedContent,{enforcementInterceptReason:b.reason})});case"branded_content_set_sponsor_relationship":return babelHelpers["extends"]({},a,{brandedContent:babelHelpers["extends"]({},a.brandedContent,{sponsorRelationship:b.sponsorRelationship})})}return a}f["default"]=a}),66); __d("CometComposerMessagingDefaultMediaAttachmentPreview.react",["CometComposerGenericAttachmentPendingPreview.react","CometComposerMessagingDefaultMediaAttachmentPreviewMutation.graphql","FBLogger","RelayHooks","react","useComposerViewStateDispatcher"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j=i||(i=d("react"));e=i;var k=e.useEffect,l=e.useRef,m=e.useState;function a(a){var e=a.children,f=a.isCTM,g=a.pageID,i=a.setIsDefaultMedia,n=a.setShouldUseCoverPhoto;a=d("RelayHooks").useMutation(h!==void 0?h:h=b("CometComposerMessagingDefaultMediaAttachmentPreviewMutation.graphql"));var o=a[0];a=a[1];var p=c("useComposerViewStateDispatcher")(),q=l(!1),r=m(null),s=r[0],t=r[1];k(function(){q.current||(q.current=!0,o({onCompleted:function(a){a=(a=a.comet_page_composer_create_temporary_cover_photo_upload)!=null?a:{};a=a.photo;if(a==null)return;var b=a.id;a=a.image;b!=null&&(a==null?void 0:a.height)!=null&&(a==null?void 0:a.width)!=null&&(a==null?void 0:a.uri)!=null&&(t({height:a.height,id:b,url:a.uri,width:a.width}),i&&i(!0))},onError:function(a){c("FBLogger")("core_biz_growth").catching(a).warn("Error in Comet composer mutation creating a temporary photo for Messaging post")},variables:{input:{is_ctm:f,page_id:g}}}))},[o,p,f,g,i]);k(function(){s!=null&&(p({photo:s,type:"ADD_PREEXISTING_PHOTO"}),p({attachmentType:"MEDIA",type:"ACTIVATE_ATTACHMENT_TYPE"}),n&&n(!1))},[p,s]);if(a)return j.jsx(c("CometComposerGenericAttachmentPendingPreview.react"),{});return s!=null?null:e}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("composerGetMessagesChecker",[],(function(a,b,c,d,e,f){"use strict";function a(a,b){a=(a=a==null?void 0:a.mediaAttachments)!=null?a:[];b=(b=b==null?void 0:b.mediaAttachments)!=null?b:[];if(a.length!==b.length)return!0;a=function(a){return a.state!=="PREEXISTING"};return b.some(a)?!0:!1}f["default"]=a}),66); __d("composerGetMessagesReducer",[],(function(a,b,c,d,e,f){"use strict";function a(a,b){switch(b.type){case"MESSAGING_ADD_GET_MESSAGES_BUTTON":return babelHelpers["extends"]({},a,{isGetMessagesPost:!0,isGetMessagesPostAttachmentOptional:b.isGetMessagesPostAttachmentOptional});case"MESSAGING_REMOVE_GET_MESSAGES_BUTTON":return babelHelpers["extends"]({},a,{isGetMessagesPost:null})}return a}f["default"]=a}),66); __d("KnowledgeNoteComposerAttachmentResource",["JSResourceForInteraction"],(function(a,b,c,d,e,f,g){"use strict";a=c("JSResourceForInteraction")("KnowledgeNoteComposerAttachment.react").__setRef("KnowledgeNoteComposerAttachmentResource");b=a;g["default"]=b}),98); __d("BrandedContentHandshakeToolTypedLoggerLite",["generateLiteTypedLogger"],(function(a,b,c,d,e,f){"use strict";e.exports=b("generateLiteTypedLogger")("logger:BrandedContentHandshakeToolLoggerConfig")}),null);/*FB_PKG_DELIM*/ __d("CometFriendsFeedResharesDialogQuery_facebookRelayOperation",[],(function(a,b,c,d,e,f){e.exports="9784532998288014"}),null); __d("CometFriendsFeedResharesDialogQuery$Parameters",["CometFriendsFeedResharesDialogQuery_facebookRelayOperation"],(function(a,b,c,d,e,f){"use strict";a={kind:"PreloadableConcreteRequest",params:{id:b("CometFriendsFeedResharesDialogQuery_facebookRelayOperation"),metadata:{},name:"CometFriendsFeedResharesDialogQuery",operationKind:"query",text:null}};e.exports=a}),null); __d("CometGroupResharesDialogQuery_facebookRelayOperation",[],(function(a,b,c,d,e,f){e.exports="24876198298645766"}),null); __d("CometGroupResharesDialogQuery$Parameters",["CometGroupResharesDialogQuery_facebookRelayOperation"],(function(a,b,c,d,e,f){"use strict";a={kind:"PreloadableConcreteRequest",params:{id:b("CometGroupResharesDialogQuery_facebookRelayOperation"),metadata:{},name:"CometGroupResharesDialogQuery",operationKind:"query",text:null}};e.exports=a}),null); __d("CometMessengerResharesDialogQuery_facebookRelayOperation",[],(function(a,b,c,d,e,f){e.exports="6856075557845473"}),null); __d("CometMessengerResharesDialogQuery$Parameters",["CometMessengerResharesDialogQuery_facebookRelayOperation"],(function(a,b,c,d,e,f){"use strict";a={kind:"PreloadableConcreteRequest",params:{id:b("CometMessengerResharesDialogQuery_facebookRelayOperation"),metadata:{},name:"CometMessengerResharesDialogQuery",operationKind:"query",text:null}};e.exports=a}),null); __d("feedStoryLiveInsertUpdater",["CometNewsFeedConnectionHandler","CometRelay","cometUniqueID"],(function(a,b,c,d,e,f,g){"use strict";function a(a,b){var e=a.getRootField("story_create");e=e&&e.getLinkedRecord("feed_story_edge");var f=a.get(d("CometRelay").VIEWER_ID);if(!f)return;f=d("CometNewsFeedConnectionHandler").getConnection(f,"CometNewsFeed_viewer_news_feed",{feed_style:"DEFAULT",orderby:["TOP_STORIES"]});if(!f)return;var g=f.getLinkedRecords("edges");if(g)for(var g=g,h=Array.isArray(g),i=0,g=h?g:g[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]();;){var j;if(h){if(i>=g.length)break;j=g[i++]}else{i=g.next();if(i.done)break;j=i.value}j=j;if(j&&j.getValue("deduplication_key")===b)return}j=d("CometNewsFeedConnectionHandler").buildConnectionEdge(a,f,e,c("cometUniqueID")());j&&(j.setValue(b,"deduplication_key"),j.setValue("ORGANIC","category"),j.setValue("1","min_gap_type_index_string"),d("CometNewsFeedConnectionHandler").insertEdgeBefore(f,j))}g["default"]=a}),98); __d("CometFriendsFeedResharesDialog.entrypoint",["CometFriendsFeedResharesDialogQuery$Parameters","JSResourceForInteraction","WebPixelRatio"],(function(a,b,c,d,e,f,g){"use strict";a={getPreloadProps:function(a){var c=a.storyData;a=a.url;return{extraProps:{storyData:c,url:a},queries:{resharesQueryReference:{parameters:b("CometFriendsFeedResharesDialogQuery$Parameters"),variables:{scale:d("WebPixelRatio").get(),url:a}}}}},root:c("JSResourceForInteraction")("CometFriendsFeedResharesDialog.react").__setRef("CometFriendsFeedResharesDialog.entrypoint")};g["default"]=a}),98); __d("CometGroupResharesDialog.entrypoint",["CometGroupResharesDialogQuery$Parameters","JSResourceForInteraction","WebPixelRatio"],(function(a,b,c,d,e,f,g){"use strict";a={getPreloadProps:function(a){var c=a.adminGroupOnly,e=a.feedLocation,f=a.initialQueryString,g=a.shareableID,h=a.storyData;a=a.url;return{extraProps:{adminGroupOnly:c,feedLocation:e,initialQueryString:f,shareableID:g,storyData:h,url:a},queries:{resharesQueryReference:{parameters:b("CometGroupResharesDialogQuery$Parameters"),variables:{adminGroupOnly:c,hasLinkedGroups:!0,isCommerce:(e=h==null?void 0:h.isCommerce)!=null?e:!1,scale:d("WebPixelRatio").get(),shareableID:g,url:a}}}}},root:c("JSResourceForInteraction")("CometGroupResharesDialog.react").__setRef("CometGroupResharesDialog.entrypoint")};e=a;g["default"]=e}),98); __d("useCometFeedToGroupReshareV2",["CometGroupResharesDialog.entrypoint","react","useCometEntryPointDialog","useUnifiedShareSheetLogger"],(function(a,b,c,d,e,f,g){"use strict";var h,i=(h||d("react")).useRef;function a(a){var b=a.adminGroupOnly,d=a.feedLocation,e=a.initialQueryString,f=a.shareableID,g=a.storyData;a=a.url;b={adminGroupOnly:b,feedLocation:d,initialQueryString:e,shareableID:f,storyData:g,url:a};e=c("useUnifiedShareSheetLogger")();var h=e.onShareOptionSelected;g=i(null);a=c("useCometEntryPointDialog")(c("CometGroupResharesDialog.entrypoint"),b);var j=a[0];function k(){j({}),h({entry_point:d,shareable_entity_fbid:f,sharing_action_audience:"public",sharing_action_destination:"groups",sharing_component_name:"share_in_groups"})}return{onClick:k,triggerRef:g}}g["default"]=a}),98); __d("CometMessengerResharesDialog.entrypoint",["CometMessengerResharesDialogQuery$Parameters","JSResourceForInteraction","MWXacGating","WebPixelRatio"],(function(a,b,c,d,e,f,g){"use strict";var h=8660;a={getPreloadProps:function(a){a=a.url;return{queries:{resharesQueryReference:{parameters:b("CometMessengerResharesDialogQuery$Parameters"),variables:{privacySelectorRenderLocation:"COMET_SHARE_DIALOG",renderLocation:"reshares_dialog",scale:d("WebPixelRatio").get(),suppress_xac_groups:!d("MWXacGating").isGroupsEnabled(),url:a,xacDisclosureNux:h}}}}},root:c("JSResourceForInteraction")("CometMessengerResharesDialog.react").__setRef("CometMessengerResharesDialog.entrypoint")};g["default"]=a}),98); __d("CometExternalShareTracking",["isSSR","qex"],(function(a,b,c,d,e,f,g){"use strict";var h="https://wa.me",i="text",j="mibextid";function k(){return c("qex")._("532")===!0}function l(a){switch(a){case"GROUP":case"GROUP_PERMALINK":return c("qex")._("238");case"EVENT":case"EVENT_PERMALINK":return c("qex")._("240");default:return null}}function m(a){switch(a){case"GROUP":case"GROUP_PERMALINK":return c("qex")._("254");case"EVENT":case"EVENT_PERMALINK":return c("qex")._("259");default:return null}}function n(a,b){if(a==="share_to_whatsapp"||a==="copy_link")return l(b);else if(a==="share_to_messenger")return m(b)}function a(a){if(a!=null){var b=new URL(h);b.searchParams.append(i,a);return b.toString()}}function b(a,b,d){d=n(b,d);if(a==null||!k()||d==null||c("isSSR"))return a;var e=new URL(a);if(b==="share_to_whatsapp"){e=new URL(h);b=new URL(a).searchParams.get(i);if(b!=null){a=new URL(b);a.searchParams.set(j,d);e.searchParams.append(i,a.toString())}}else e.searchParams.set(j,d);return e.toString()}g.shouldEnableExternalShareOptionsTracking=k;g.getWhatsAppOrCopyLinkMiBExtID=l;g.getMessengerMiBExtID=m;g.getMiBExtIDValue=n;g.getWhatsAppShareURL=a;g.getExternalShareURLWithMiBExtID=b}),98); __d("useCometFeedToMessengerReshareV2",["CometExternalShareTracking","CometMessengerResharesDialog.entrypoint","LSMessagingThreadAttributionType","gkx","react","useCometEntryPointDialog","useShareLogger"],(function(a,b,c,d,e,f,g){"use strict";var h,i=(h||d("react")).useRef,j=d("CometExternalShareTracking").shouldEnableExternalShareOptionsTracking();function a(a){var b,e=a.feedLocation,f=a.shareableID,g=a.sharingComponentName,h=a.storyData;a=a.url;var k;j&&e!=null&&(k=d("CometExternalShareTracking").getExternalShareURLWithMiBExtID(a,"share_to_messenger",e));b={url:(b=k)!=null?b:a};a=i(null);b=c("useCometEntryPointDialog")(c("CometMessengerResharesDialog.entrypoint"),b,c("gkx")("8993")?"button_aggressive":"button");var l=b[0],m=b[1],n=b[2];b=b[3];var o=c("useShareLogger")(),p=o.onOpenBCFButtonClicked;function q(){p({entry_point:e,shareable_entity_fbid:f,sharing_component_name:g});var a=c("LSMessagingThreadAttributionType").FB_FEED_ORGANIC_POST_VIEW_AND_MESSAGE;l({feedLocation:e,shareableID:f,source:a,storyData:h})}return{onClick:q,onHoverInFunction:m,onHoverOutFunction:n,onPressInFunction:b,triggerRef:a}}g["default"]=a}),98); __d("useCometResharesToasts",["fbt","ix","SilenceableErrorMessageUtils","TetraIcon.react","cometPushToast","fbicon","react","useCometRouterDispatcher","useNullthrowsViolation","useToasterStateManager"],(function(a,b,c,d,e,f,g,h,i){"use strict";var j,k=j||(j=d("react")),l=j.useCallback,m="CometStoriesReshareToast";function a(a){var b=c("useToasterStateManager")(),e=c("useNullthrowsViolation")(c("useCometRouterDispatcher")()),f=l(function(f){var g=k.jsx(c("TetraIcon.react"),{color:"positive",icon:d("fbicon")._(i("498146"),20),size:20}),j=f!=null?{label:h._("__JHASH__SB5t9wP-DlC__JHASH__"),onPress:function(){e.go(f,{})}}:void 0;d("cometPushToast").cometPushToast({action:j,icon:g,message:a,testid:m},void 0,b)},[b,e,a]),g=l(function(a,c,e){if(a!=null){a=d("SilenceableErrorMessageUtils").getMetadataFromError(a);if(d("SilenceableErrorMessageUtils").shouldHideErrorMessage(a))return}a=c!=null?d("cometPushToast").cometPushToast:d("cometPushToast").cometPushErrorToast;a({icon:c,message:e?h._("__JHASH__Gg9tHFaojpv__JHASH__"):h._("__JHASH__QKJj6FsLHJQ__JHASH__"),onPress:function(b){function a(){return b.apply(this,arguments)}a.toString=function(){return b.toString()};return a}(function(){e&&e()}),testid:m},void 0,b)},[b]),j=l(function(){d("cometPushToast").cometPushToast({message:h._("__JHASH__lvbk0C0HrxQ__JHASH__"),testid:m},void 0,b)},[b]);return{showErrorToast:g,showPostingToast:j,showSuccessToast:f}}g["default"]=a}),98); __d("ExternalShareTrackingEventFalcoEvent",["FalcoLoggerInternal","getFalcoLogPolicy_DO_NOT_USE"],(function(a,b,c,d,e,f,g){"use strict";a=c("getFalcoLogPolicy_DO_NOT_USE")("1743606");b=d("FalcoLoggerInternal").create("external_share_tracking_event",a);e=b;g["default"]=e}),98);/*FB_PKG_DELIM*/ __d("IsLWIConsistenceExperimentEnabled.relayprovider",["qex"],(function(a,b,c,d,e,f,g){"use strict";a={get:function(a){a===void 0&&(a=!1);return a?c("qex")._("1446")===!0:c("qex")._("627")===!0}};g["default"]=a}),98); __d("IsFBAdsExperience.relayprovider",["IsLWIConsistenceExperimentEnabled.relayprovider","gkx","qex"],(function(a,b,c,d,e,f,g){"use strict";a={get:function(a){a===void 0&&(a=!1);return c("IsLWIConsistenceExperimentEnabled.relayprovider").get(a)?a?c("qex")._("349")===!0:c("qex")._("1433")===!0:!c("gkx")("524")}};g["default"]=a}),98); __d("IsFBIGFeaturesIncludedInIGInfra.relayprovider",["qex"],(function(a,b,c,d,e,f,g){"use strict";a={get:function(){return c("qex")._("1396")===!0}};g["default"]=a}),98); __d("IsIGInfraUnificationEnabled.relayprovider",["gkx","qex"],(function(a,b,c,d,e,f,g){"use strict";a={get:function(){var a=c("gkx")("524");return a===!0?!0:c("qex")._("115")===!0}};g["default"]=a}),98); __d("IsMBSAdsExperience.relayprovider",["IsLWIConsistenceExperimentEnabled.relayprovider","gkx","qex"],(function(a,b,c,d,e,f,g){"use strict";a={get:function(a){a===void 0&&(a=!1);return c("IsLWIConsistenceExperimentEnabled.relayprovider").get(a)?a?c("qex")._("635")===!0:c("qex")._("1434")===!0:c("gkx")("524")}};g["default"]=a}),98); __d("BizKitAdsGating.entrypointutils",["IsFBAdsExperience.relayprovider","IsFBIGFeaturesIncludedInIGInfra.relayprovider","IsIGInfraUnificationEnabled.relayprovider","IsLWIConsistenceExperimentEnabled.relayprovider","IsMBSAdsExperience.relayprovider","gkx","qex"],(function(a,b,c,d,e,f,g){"use strict";function h(a){a===void 0&&(a=!0);return c("IsMBSAdsExperience.relayprovider").get(a)}function i(a){a===void 0&&(a=!0);return c("IsFBAdsExperience.relayprovider").get(a)}function a(){return c("IsLWIConsistenceExperimentEnabled.relayprovider").get()}function b(){return i()&&h()}function d(a){a===void 0&&(a=!0);return a?h(!1)&&c("qex")._("207")===!0:h(!1)&&c("qex")._("1362")===!0}function e(){return c("IsIGInfraUnificationEnabled.relayprovider").get()}function f(){return c("IsFBIGFeaturesIncludedInIGInfra.relayprovider").get()}function j(){return c("gkx")("524")||c("IsMBSAdsExperience.relayprovider").get()}g.getIsBizWebAdsExperience=h;g.getIsFBAdsExperience=i;g.getIsLWIConsistencyExperimentEnabled=a;g.getIsFBAndBizWebAdsExperience=b;g.getIsBizWebAdsDraftsEnabled=d;g.getIsIGInfraUnificationEnabled=e;g.getIsFBIGFeaturesIncludedInIGInfra=f;g.getIsBizWebAdsExperienceOrBizWeb=j}),98); __d("LWITetraButtonBase.react",["TetraButton.react","TetraIcon.react","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h||d("react");a=i.forwardRef(function(a,b){var d=a.addOnSecondary;a.shouldNotFill;a.variantOverride;a=babelHelpers.objectWithoutPropertiesLoose(a,["addOnSecondary","shouldNotFill","variantOverride"]);return i.jsx(c("TetraButton.react"),babelHelpers["extends"]({},a,{addOnSecondary:d!=null?i.jsx(c("TetraIcon.react"),{color:d.color,icon:d.icon}):void 0,ref:b}))});g["default"]=a}),98); __d("idToLWIAssetID.entrypointutils",[],(function(a,b,c,d,e,f){"use strict";a=function(a){return a==null?null:{id:a}};b=a;f["default"]=b}),66); __d("CometComposerSavingIndicatorMask.react",["fbt","CometProgressRingIndeterminate.react","TetraText.react","react"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j=i||d("react");function a(a){a=a.body;return j.jsxs("div",{className:"x6s0dn4 x1h0vfkc x1lq5wgf xgqcy7u x30kzoy x9jhf4c x1ey2m1c x78zum5 xds687c xdt5ytf xl56j7k x10l6tqk x17qophe x13vifvy xhtitgo",children:[j.jsx(c("CometProgressRingIndeterminate.react"),{color:"dark",size:32}),j.jsx("div",{"aria-atomic":"true","aria-live":"assertive",className:"x14vqqas xq8finb xod5an3 x16n37ib",children:j.jsx(c("TetraText.react"),{type:"body1",children:(a=a)!=null?a:h._("__JHASH__CqRdaTob61___JHASH__")})})]})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("getComposerLoggingPayload",["UnicodeUtils","getFeedComposerLoggingPayloadForDraftJS","getFeedComposerLoggingPayloadForLexical","getPlainTextFromDeferredDraftEditorState_DEPRECATED_DO_NOT_USE","qpl"],(function(a,b,c,d,e,f,g){"use strict";var h;function a(a){if(a.__CAN_USE_LEXICAL_RUNTIME_CHECK__===!0&&a.lexicalEditor!=null)return c("getFeedComposerLoggingPayloadForLexical")(a);else return c("getFeedComposerLoggingPayloadForDraftJS")(a)}function b(a){var b;return{character:(b=a==null?void 0:(b=a.satpData)==null?void 0:(b=b.text)==null?void 0:b.length)!=null?b:0,location_tag:0,photo:(a==null?void 0:a.mediaAttachments)!=null?i(a==null?void 0:a.mediaAttachments):0,qplEvent:null,shared_link:0,text_background:(a==null?void 0:(b=a.satpData)==null?void 0:b.fontID)==null?0:1,video:(a==null?void 0:a.mediaAttachments)!=null?j(a==null?void 0:a.mediaAttachments):0}}function e(a){a=c("getPlainTextFromDeferredDraftEditorState_DEPRECATED_DO_NOT_USE")(a);return(h||(h=d("UnicodeUtils"))).strlen(a)}function i(a){return a==null?0:a.filter(function(a){return a.fileType==="PHOTO"}).length}function j(a){return a==null?0:a.filter(function(a){return a.fileType==="VIDEO"}).length}function f(a){return a.photo3dAttachment!=null?c("qpl")._(37631558,"4977"):null}g.getFeedComposerLoggingPayload=a;g.getStoriesComposerLoggingPayload=b;g.getCharacterLength=e;g.getPhotoCount=i;g.getVideoCount=j;g.getQPLEvent=f}),98); __d("getFeedComposerLoggingPayloadForDraftJS",["getComposerLoggingPayload"],(function(a,b,c,d,e,f,g){"use strict";function a(a){var b;return{character:(a==null?void 0:a.editorState)!=null?d("getComposerLoggingPayload").getCharacterLength(a==null?void 0:a.editorState):0,location_tag:(a==null?void 0:(b=a.locationMinutiae)==null?void 0:b.placeID)!=null?1:0,photo:(a==null?void 0:a.mediaAttachments)!=null?d("getComposerLoggingPayload").getPhotoCount(a==null?void 0:a.mediaAttachments):0,qplEvent:a!=null?d("getComposerLoggingPayload").getQPLEvent(a):null,shared_link:(a==null?void 0:(b=a.linkAttachment)==null?void 0:b.url)!=null?1:0,text_background:0,video:(a==null?void 0:a.mediaAttachments)!=null?d("getComposerLoggingPayload").getVideoCount(a==null?void 0:a.mediaAttachments):0}}g["default"]=a}),98); __d("getFeedComposerLoggingPayloadForLexical",["LexicalText","cr:8483","getComposerLoggingPayload"],(function(a,b,c,d,e,f,g){"use strict";function a(a){var c;return babelHelpers["extends"]({character:a.lexicalEditor!=null?a.lexicalEditor.getEditorState().read(d("LexicalText").$rootTextContent).length:0,location_tag:(a==null?void 0:(c=a.locationMinutiae)==null?void 0:c.placeID)!=null?1:0,photo:(a==null?void 0:a.mediaAttachments)!=null?d("getComposerLoggingPayload").getPhotoCount(a==null?void 0:a.mediaAttachments):0,qplEvent:a!=null?d("getComposerLoggingPayload").getQPLEvent(a):null},b("cr:8483")!=null?b("cr:8483")(a==null?void 0:a.editorState):null,{shared_link:(a==null?void 0:(c=a.linkAttachment)==null?void 0:c.url)!=null?1:0,text_background:0,video:(a==null?void 0:a.mediaAttachments)!=null?d("getComposerLoggingPayload").getVideoCount(a==null?void 0:a.mediaAttachments):0})}g["default"]=a}),98); __d("LWIOmniButton.react",["cr:12080","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h||d("react");a=i.forwardRef(function(a,c){return i.jsx(b("cr:12080"),babelHelpers["extends"]({},a,{ref:c}))});g["default"]=a}),98); __d("LWICometProductPickerRootQuery_facebookRelayOperation",[],(function(a,b,c,d,e,f){e.exports="6914256495353643"}),null); __d("XBizWebCometLWIBoostPostCreationControllerRouteBuilder",["jsRouteBuilder"],(function(a,b,c,d,e,f,g){a=c("jsRouteBuilder")("/latest/boost_post_creation/",Object.freeze({has_scheduled_start_time:!1}),void 0);b=a;g["default"]=b}),98); __d("XCometLWIPostCreationControllerRouteBuilder",["jsRouteBuilder"],(function(a,b,c,d,e,f,g){a=c("jsRouteBuilder")("/ad_center/create/boostpost/",Object.freeze({show_switched_toast:!1,show_coupon_interstitial_dialog:!1}),void 0);b=a;g["default"]=b}),98);/*FB_PKG_DELIM*/ __d("CometAlbumViewerDropdownMenuQuery_facebookRelayOperation",[],(function(a,b,c,d,e,f){e.exports="6732522746866033"}),null); __d("CometAlbumViewerDropdownMenuQuery$Parameters",["CometAlbumViewerDropdownMenuQuery_facebookRelayOperation"],(function(a,b,c,d,e,f){"use strict";a={kind:"PreloadableConcreteRequest",params:{id:b("CometAlbumViewerDropdownMenuQuery_facebookRelayOperation"),metadata:{},name:"CometAlbumViewerDropdownMenuQuery",operationKind:"query",text:null}};e.exports=a}),null); __d("CometComposerAttachmentAreaRenderer.react",["BootloaderResource","composerAttachmentAreaChecker","composerAttachmentAreaReducer","lazyLoadComponent","react","useComposerViewStateReducer"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h||d("react");function a(a){a=a.attachmentRegisteredFeature;var b=a.attachmentModule,e=a.reducerModule,f=a.stateCheckerModule;b.load();e.load();f==null?void 0:f.load();e=d("BootloaderResource").read(e);f=f!=null?d("BootloaderResource").read(f):null;c("useComposerViewStateReducer")(e,f);c("useComposerViewStateReducer")(d("composerAttachmentAreaReducer").composerAttachmentAreaReducer,c("composerAttachmentAreaChecker"));e=c("lazyLoadComponent")(b);return i.jsx(e,babelHelpers["extends"]({},a.attachmentProps))}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("CometComposerAttachmentAreaFeatureDefinitionBased.react",["CometComposerAttachmentAreaRenderer.react","CometErrorBoundary.react","JSResourceForInteraction","getActiveAttachmentFeatureDefinition","lazyLoadComponent","react","useCometComposerFeatureDefinitions"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h||d("react"),j=c("lazyLoadComponent")(c("JSResourceForInteraction")("CometComposerAttachmentAreaErrorBoundary.react").__setRef("CometComposerAttachmentAreaFeatureDefinitionBased.react"));function a(a){var b=a.activeAttachmentType;a=c("useCometComposerFeatureDefinitions")();a=c("getActiveAttachmentFeatureDefinition")((a=a==null?void 0:a.attachments)!=null?a:[],b);return a?i.jsx(c("CometErrorBoundary.react"),{fallback:function(a){return i.jsx(j,{activeAttachmentType:b,error:a})},children:i.jsx(c("CometComposerAttachmentAreaRenderer.react"),{attachmentRegisteredFeature:a})}):i.jsx(j,{activeAttachmentType:b})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("CometAlbumViewerDropdownMenu.entrypoint",["CometAlbumViewerDropdownMenuQuery$Parameters","JSResourceForInteraction"],(function(a,b,c,d,e,f,g){"use strict";a={getPreloadProps:function(a){a=a.albumID;return{queries:{cometAlbumViewerDropdownMenuQueryReference:{parameters:c("CometAlbumViewerDropdownMenuQuery$Parameters"),variables:{albumID:a}}}}},root:c("JSResourceForInteraction")("CometAlbumViewerDropdownMenu.react").__setRef("CometAlbumViewerDropdownMenu.entrypoint")};b=a;g["default"]=b}),98);