WorkAccountsSelfDeactivateUserAccountDialog.react",["fbt","CDSDialog.react","CDSDialogFooter.react","CDSDialogHeader.react","CometRelay","FBLogger","MMAQPLUserFlow","WorkAccountsErrorBoundary.react","WorkAccountsSelfDeactivateUserAccountDialogContent","WorkAccountsSelfDeactivateUserAccountDialogMutation.graphql","qpl","react"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j,k=j||d("react"),l=i!==void 0?i:i=b("WorkAccountsSelfDeactivateUserAccountDialogMutation.graphql");function a(a){var b=a.extraProps;a=a.props;var e=d("CometRelay").useMutation(l),f=e[0];e=e[1];var g=c("qpl")._(947914703,"2890");if(b==null)throw c("FBLogger")("WorkAccountsSelfDeactivateUserAccountDialog").mustfixThrow("extraProps must be passed through entrypoint. Null found.");return k.jsx(c("WorkAccountsErrorBoundary.react"),{children:k.jsx(c("CDSDialog.react"),{footer:k.jsx(c("CDSDialogFooter.react"),{primary:{disabled:e,label:h._(/*BTDS*/"Deactivate account"),loading:e,onPress:function(){d("MMAQPLUserFlow").start(g),f({onCompleted:function(){d("MMAQPLUserFlow").endSuccess(g),window.location.reload()},onError:function(a){d("MMAQPLUserFlow").endCancelOrFailure(g,a)},variables:{input:{}}})},testid:"confirm-self-deactivate-account-button"},secondary:{disabled:e,label:h._(/*BTDS*/"Cancel"),onPress:a.onClose}}),header:k.jsx(c("CDSDialogHeader.react"),{onClose:a.onClose,title:h._(/*BTDS*/"Deactivate account"),titleHidden:!0}),children:k.jsx(c("WorkAccountsSelfDeactivateUserAccountDialogContent"),{companyName:b==null?void 0:b.companyName})})})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),226);
-----
WorkAccountsSelfDeactivateUserAccountDialogMutation.graphql",["WorkAccountsSelfDeactivateUserAccountDialogMutation_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:"XFBWorkAccountsUserAccountSelfDeactivationConfirmResponse",kind:"LinkedField",name:"xfb_work_accounts_user_account_self_deactivation_confirm",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"success",storageKey:null}],storageKey:null}];return{fragment:{argumentDefinitions:a,kind:"Fragment",metadata:null,name:"WorkAccountsSelfDeactivateUserAccountDialogMutation",selections:c,type:"Mutation",abstractKey:null},kind:"Request",operation:{argumentDefinitions:a,kind:"Operation",name:"WorkAccountsSelfDeactivateUserAccountDialogMutation",selections:c},params:{id:b("WorkAccountsSelfDeactivateUserAccountDialogMutation_facebookRelayOperation"),metadata:{},name:"WorkAccountsSelfDeactivateUserAccountDialogMutation",operationKind:"mutation",text:null}}}();e.exports=a}),null);
-----
WorkAccountsSelfDeactivateUserAccountDialogMutation_facebookRelayOperation",[],(function(a,b,c,d,e,f){e.exports="9739390779516388"}),null);
-----