ConfirmPhoneNumber.react",["fbt","CDSButton.react","CDSRadioList.react","CDSRadioListCell.react","CDSTextPairing.react","CSLiveChatEffectivenessLogger.react","CSStartSupportContext.react","CometColumn.react","CometColumnItem.react","CometRelay","ConfirmPhoneNumberSendConfirmationCodeMutation.graphql","isStringNullOrWhitespaceOnly","react"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j,k=j||(j=d("react"));e=j;var l=e.useCallback,m=e.useState;function a(a){var e=a.entryPointID,f=a.maskedPhoneNumbers,g=a.onNext,j=a.onTryChat;a=m(!1);var n=a[0],o=a[1];a=d("CSStartSupportContext.react").useCSStartSupportContext();var p=a.selectedPhoneNumber,q=a.setSelectedPhoneNumber,r=d("CSLiveChatEffectivenessLogger.react").useLoggedOutEntryPointLogger();a=d("CometRelay").useMutation(i!==void 0?i:i=b("ConfirmPhoneNumberSendConfirmationCodeMutation.graphql"));var s=a[0];a=a[1];var t=l(function(){r({event:"START_SUPPORT_CONFIRM_PHONE_NUMBER_CLICKED"},e),s({onCompleted:function(a){a.xfb_customer_support_confirmation_code===!0?(r({event:"START_SUPPORT_CONFIRM_PHONE_NUMBER_SUCCESS"},"FB_HACKED"),g()):r({event:"START_SUPPORT_CONFIRM_PHONE_NUMBER_FAILED"},e)},onError:function(a){r({event:"START_SUPPORT_CONFIRM_PHONE_NUMBER_API_ERROR"},e)},variables:{contact_point_id:"",masked_phone_number:p}})},[s,g,p,r,e]),u=l(function(){r({event:"START_SUPPORT_PHONE_CHANNEL_FALLBACK_TO_CHAT_CLICKED"},e),o(!0),j()["finally"](function(){o(!1)})},[j,r,e]),v=l(function(a){r({event:"START_SUPPORT_PHONE_NUMBER_SELECTED"},e),q(a)},[q,r,e]);return k.jsxs(c("CometColumn.react"),{spacing:12,children:[k.jsx(c("CometColumnItem.react"),{children:k.jsx(c("CDSTextPairing.react"),{contentText:h._(/*BTDS*/""),headlineText:h._(/*BTDS*/""),textAlign:"start",textPairingStyle:"headline1Body"})}),k.jsx(c("CometColumnItem.react"),{children:k.jsx(c("CDSRadioList.react"),{"aria-label":h._(/*BTDS*/""),children:f.map(function(a){return k.jsx(c("CDSRadioListCell.react"),{checked:p===a,name:"radio",onValueChange:v,title:a,value:a},a)})})}),k.jsx(c("CometColumnItem.react"),{children:k.jsx(c("CDSButton.react"),{disabled:c("isStringNullOrWhitespaceOnly")(p),label:h._(/*BTDS*/""),loading:a,onPress:t})}),k.jsx(c("CometColumnItem.react"),{children:k.jsx(c("CDSButton.react"),{label:h._(/*BTDS*/""),loading:n,onPress:u,type:"secondary"})})]})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),226);
-----
ConfirmPhoneNumberSendConfirmationCodeMutation.graphql",["ConfirmPhoneNumberSendConfirmationCodeMutation_facebookRelayOperation"],(function(a,b,c,d,e,f){"use strict";a=function(){var a={defaultValue:null,kind:"LocalArgument",name:"contact_point_id"},c={defaultValue:null,kind:"LocalArgument",name:"masked_phone_number"},d=[{alias:null,args:[{kind:"Variable",name:"contact_point_id",variableName:"contact_point_id"},{kind:"Variable",name:"masked_phone_number",variableName:"masked_phone_number"}],kind:"ScalarField",name:"xfb_customer_support_confirmation_code",storageKey:null}];return{fragment:{argumentDefinitions:[a,c],kind:"Fragment",metadata:null,name:"ConfirmPhoneNumberSendConfirmationCodeMutation",selections:d,type:"Mutation",abstractKey:null},kind:"Request",operation:{argumentDefinitions:[c,a],kind:"Operation",name:"ConfirmPhoneNumberSendConfirmationCodeMutation",selections:d},params:{id:b("ConfirmPhoneNumberSendConfirmationCodeMutation_facebookRelayOperation"),metadata:{},name:"ConfirmPhoneNumberSendConfirmationCodeMutation",operationKind:"mutation",text:null}}}();e.exports=a}),null);
-----
ConfirmPhoneNumberSendConfirmationCodeMutation_facebookRelayOperation",[],(function(a,b,c,d,e,f){e.exports="23928611090174348"}),null);
-----
-----
ConfirmPhoneNumberSendConfirmationCodeMutation.graphql",["ConfirmPhoneNumberSendConfirmationCodeMutation_facebookRelayOperation"],(function(a,b,c,d,e,f){"use strict";a=function(){var a={defaultValue:null,kind:"LocalArgument",name:"contact_point_id"},c={defaultValue:null,kind:"LocalArgument",name:"masked_phone_number"},d=[{alias:null,args:[{kind:"Variable",name:"contact_point_id",variableName:"contact_point_id"},{kind:"Variable",name:"masked_phone_number",variableName:"masked_phone_number"}],kind:"ScalarField",name:"xfb_customer_support_confirmation_code",storageKey:null}];return{fragment:{argumentDefinitions:[a,c],kind:"Fragment",metadata:null,name:"ConfirmPhoneNumberSendConfirmationCodeMutation",selections:d,type:"Mutation",abstractKey:null},kind:"Request",operation:{argumentDefinitions:[c,a],kind:"Operation",name:"ConfirmPhoneNumberSendConfirmationCodeMutation",selections:d},params:{id:b("ConfirmPhoneNumberSendConfirmationCodeMutation_facebookRelayOperation"),metadata:{},name:"ConfirmPhoneNumberSendConfirmationCodeMutation",operationKind:"mutation",text:null}}}();e.exports=a}),null);
-----
ConfirmPhoneNumberSendConfirmationCodeMutation_facebookRelayOperation",[],(function(a,b,c,d,e,f){e.exports="23928611090174348"}),null);
-----