MetaAIBizAgentWAOnboardingNewPhoneNumberSelectionContainer_WABAQuery.graphql",["MetaAIBizAgentWAOnboardingNewPhoneNumberSelectionContainer_WABAQuery_facebookRelayOperation"],(function(a,b,c,d,e,f){"use strict";a=function(){var a=[{defaultValue:null,kind:"LocalArgument",name:"id"}],c=[{kind:"Variable",name:"id",variableName:"id"}],d={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},e={alias:null,args:null,concreteType:"XFBWhatsAppBusinessAsset",kind:"LinkedField",name:"whatsapp_business_asset",plural:!1,selections:[d],storageKey:null};return{fragment:{argumentDefinitions:a,kind:"Fragment",metadata:null,name:"MetaAIBizAgentWAOnboardingNewPhoneNumberSelectionContainer_WABAQuery",selections:[{alias:null,args:c,concreteType:"WhatsAppBusinessAccount",kind:"LinkedField",name:"fetch__WhatsAppBusinessAccount",plural:!1,selections:[{alias:null,args:null,concreteType:"WhatsAppBusinessAccountToNumberCurrentStatus",kind:"LinkedField",name:"phone_number_status",plural:!1,selections:[e],storageKey:null}],storageKey:null}],type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:a,kind:"Operation",name:"MetaAIBizAgentWAOnboardingNewPhoneNumberSelectionContainer_WABAQuery",selections:[{alias:null,args:c,concreteType:"WhatsAppBusinessAccount",kind:"LinkedField",name:"fetch__WhatsAppBusinessAccount",plural:!1,selections:[{alias:null,args:null,concreteType:"WhatsAppBusinessAccountToNumberCurrentStatus",kind:"LinkedField",name:"phone_number_status",plural:!1,selections:[e,d],storageKey:null},d],storageKey:null}]},params:{id:b("MetaAIBizAgentWAOnboardingNewPhoneNumberSelectionContainer_WABAQuery_facebookRelayOperation"),metadata:{},name:"MetaAIBizAgentWAOnboardingNewPhoneNumberSelectionContainer_WABAQuery",operationKind:"query",text:null}}}();e.exports=a}),null);
-----
MetaAIBizAgentWAOnboardingNewPhoneNumberSelectionContainer_WABAQuery_facebookRelayOperation",[],(function(a,b,c,d,e,f){e.exports="29309010772076902"}),null);
-----
useNewWhatsAppAccountOnboardingFlowConfig",["fbt","MetaAIBizAgentWAOnboardingNewPhoneNumberSelectionContainer.react","WhatsAppBizxPlatformConfigBuilder","WhatsAppBizxPlatformFeature.enum","WhatsAppBizxPlatformStepType.flow","react"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j=i||d("react"),k=514771569228061;function a(a){var b=a.initialState;a=a.pageID;var d={id:c("WhatsAppBizxPlatformStepType.flow").META_AI_BIZ_AGENT_NEW_PHONE_NUMBER_SELECTION_STEP,isFullScreen:!0,label:h._("Phone verification"),render:function(a){return j.jsx(c("MetaAIBizAgentWAOnboardingNewPhoneNumberSelectionContainer.react"),babelHelpers["extends"]({},a))}};a=new(c("WhatsAppBizxPlatformConfigBuilder"))({appID:k,deviceType:"WEB",featureID:c("WhatsAppBizxPlatformFeature.enum").WHATSAPP_ONBOARDING_FOR_META_AI_BIZ_AGENT,loggerID:null,platformType:{pageID:a,type:"META_AI_BIZ_AGENT"}}).withInitialState(b).addStepConfig(d);return a.build()}g["default"]=a}),226);
-----
MetaAIBizAgentWAOnboardingNewPhoneNumberSelectionContainer.react",["fbt","ix","GeoFlexbox.react","GeoIllustrationModal.react","GeoSection.react","GeoText.react","Image.react","WhatsAppBizxPlatformPhoneInput.react","geoHeight","geoMargin","isStringNullOrWhitespaceOnly","react","useBizMsgPlatformPhoneUtils"],(function(a,b,c,d,e,f,g,h,i){"use strict";var j,k=j||(j=d("react"));b=j;var l=b.useCallback,m=b.useState,n="US";function a(a){var b=a.onCancel;a=a.footerComponent;var d=c("useBizMsgPlatformPhoneUtils")(),e=d.isValidPhone;d=m("");var f=d[0],g=d[1];d=m({code:1,country:n});var j=d[0],o=d[1];d=m(!1);var p=d[0],q=d[1],r=function(a,b){var c=!1;e!=null&&(c=e(a,b),q(c));return c};d=function(a){j!=null&&g(r(a,j.country)?a:"")};var s=function(a,b){o({code:a,country:b}),c("isStringNullOrWhitespaceOnly")(f)||r(f,b)},t=l(function(){return!p||c("isStringNullOrWhitespaceOnly")(f)},[p,f]);return k.jsx(c("GeoIllustrationModal.react"),{footer:k.jsx(a,{isPrimaryButtonDisabled:t(),primaryButtonLabel:h._("u7ee7u7eed"),secondaryButtonLabel:h._("u53d6u6d88"),onPrimaryButtonClick:function(){},onSecondaryButtonClick:b}),heading:h._("What phone number do you want to use?"),image:k.jsx(c("Image.react"),{src:i("204840")}),isShown:!0,onHide:b,orientation:"vertical",hideOnBlur:!1,hideOnEscape:!1,children:k.jsx(c("GeoSection.react"),{xstyle:c("geoHeight").fullHeight,children:k.jsx(c("GeoFlexbox.react"),{direction:"column",xstyle:c("geoHeight").fullHeight,children:k.jsxs(c("GeoFlexbox.react"),{direction:"column",grow:1,children:[k.jsx(c("GeoText.react"),{children:h._("The phone number can be new or already linked to a Business account.")}),k.jsx(c("GeoFlexbox.react"),{xstyle:c("geoMargin").top20,children:k.jsx(c("WhatsAppBizxPlatformPhoneInput.react"),{phone:f,countryCode:j.country,isValid:p,label:h._("u624bu673au53f7u7801"),onPhoneChange:d,onPhoneCodeChange:s})})]})})})})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),226);
-----
-----
MetaAIBizAgentWAOnboardingNewPhoneNumberSelectionContainer_WABAQuery_facebookRelayOperation",[],(function(a,b,c,d,e,f){e.exports="29309010772076902"}),null);
-----
useNewWhatsAppAccountOnboardingFlowConfig",["fbt","MetaAIBizAgentWAOnboardingNewPhoneNumberSelectionContainer.react","WhatsAppBizxPlatformConfigBuilder","WhatsAppBizxPlatformFeature.enum","WhatsAppBizxPlatformStepType.flow","react"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j=i||d("react"),k=514771569228061;function a(a){var b=a.initialState;a=a.pageID;var d={id:c("WhatsAppBizxPlatformStepType.flow").META_AI_BIZ_AGENT_NEW_PHONE_NUMBER_SELECTION_STEP,isFullScreen:!0,label:h._("Phone verification"),render:function(a){return j.jsx(c("MetaAIBizAgentWAOnboardingNewPhoneNumberSelectionContainer.react"),babelHelpers["extends"]({},a))}};a=new(c("WhatsAppBizxPlatformConfigBuilder"))({appID:k,deviceType:"WEB",featureID:c("WhatsAppBizxPlatformFeature.enum").WHATSAPP_ONBOARDING_FOR_META_AI_BIZ_AGENT,loggerID:null,platformType:{pageID:a,type:"META_AI_BIZ_AGENT"}}).withInitialState(b).addStepConfig(d);return a.build()}g["default"]=a}),226);
-----
MetaAIBizAgentWAOnboardingNewPhoneNumberSelectionContainer.react",["fbt","ix","GeoFlexbox.react","GeoIllustrationModal.react","GeoSection.react","GeoText.react","Image.react","WhatsAppBizxPlatformPhoneInput.react","geoHeight","geoMargin","isStringNullOrWhitespaceOnly","react","useBizMsgPlatformPhoneUtils"],(function(a,b,c,d,e,f,g,h,i){"use strict";var j,k=j||(j=d("react"));b=j;var l=b.useCallback,m=b.useState,n="US";function a(a){var b=a.onCancel;a=a.footerComponent;var d=c("useBizMsgPlatformPhoneUtils")(),e=d.isValidPhone;d=m("");var f=d[0],g=d[1];d=m({code:1,country:n});var j=d[0],o=d[1];d=m(!1);var p=d[0],q=d[1],r=function(a,b){var c=!1;e!=null&&(c=e(a,b),q(c));return c};d=function(a){j!=null&&g(r(a,j.country)?a:"")};var s=function(a,b){o({code:a,country:b}),c("isStringNullOrWhitespaceOnly")(f)||r(f,b)},t=l(function(){return!p||c("isStringNullOrWhitespaceOnly")(f)},[p,f]);return k.jsx(c("GeoIllustrationModal.react"),{footer:k.jsx(a,{isPrimaryButtonDisabled:t(),primaryButtonLabel:h._("u7ee7u7eed"),secondaryButtonLabel:h._("u53d6u6d88"),onPrimaryButtonClick:function(){},onSecondaryButtonClick:b}),heading:h._("What phone number do you want to use?"),image:k.jsx(c("Image.react"),{src:i("204840")}),isShown:!0,onHide:b,orientation:"vertical",hideOnBlur:!1,hideOnEscape:!1,children:k.jsx(c("GeoSection.react"),{xstyle:c("geoHeight").fullHeight,children:k.jsx(c("GeoFlexbox.react"),{direction:"column",xstyle:c("geoHeight").fullHeight,children:k.jsxs(c("GeoFlexbox.react"),{direction:"column",grow:1,children:[k.jsx(c("GeoText.react"),{children:h._("The phone number can be new or already linked to a Business account.")}),k.jsx(c("GeoFlexbox.react"),{xstyle:c("geoMargin").top20,children:k.jsx(c("WhatsAppBizxPlatformPhoneInput.react"),{phone:f,countryCode:j.country,isValid:p,label:h._("u624bu673au53f7u7801"),onPhoneChange:d,onPhoneCodeChange:s})})]})})})})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),226);
-----