BusinessCometFBEGeoBMCreation.react",["fbt","BusinessAccountRenameGating","BusinessCometFBEGeoAssetCreationView.react","BusinessCometFBEGeoBMCreation_CreateBusinessMutation.graphql","BusinessCometFBEWebOnboardingContext","CometRelay","FBECometAppStoreUtils","FBEOnboardingActionHandler","FBEStepReducer","FbeFbAppStoreEventFalcoEvent","RelayHooks","fbeOnboardingStateReducer","react","relay-runtime"],(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.useContext,n=e.useState,o=i!==void 0?i:i=b("BusinessCometFBEGeoBMCreation_CreateBusinessMutation.graphql");function p(){return function(a){var b=a.getRootField("fbe_create_business"),c=d("relay-runtime").ConnectionHandler.getConnection(a.getRoot(),"FBEQueryConnection_fbe_viewer_admined_businesses");a=c&&b&&d("relay-runtime").ConnectionHandler.createEdge(a,c,b,"FbeViewerAdminedBusinessesEdge");c!=null&&a!=null&&d("relay-runtime").ConnectionHandler.insertEdgeBefore(c,a)}}function a(){var a=m(d("BusinessCometFBEWebOnboardingContext").FBEOnboardingStateContext),b=a.assets,e=a.config,f=n(!1),g=f[0],i=f[1];f=n(null);var j=f[0],q=f[1],r=d("RelayHooks").useRelayEnvironment();f=l(function(f){f.trim()!==""&&(i(!0),d("CometRelay").commitMutation(r,{mutation:o,onCompleted:function(e){i(!1);e=e.fbe_create_business;var f=e==null?void 0:e.id;e=e==null?void 0:e.name;if(b!=null&&f!=null&&e!=null){b.businessManager={id:f,name:e};f=c("fbeOnboardingStateReducer")(a).setAssets(b).getState();d("FBEOnboardingActionHandler").FBEOnboardingActionHandler({actionAsset:{name:d("FBEStepReducer").FBEAssets.BUSINESS_MANAGER},actionType:d("FBEStepReducer").FBENavigationStepReducerActionTypes.CREATE_SUCCESS,fbeOnboardingState:f})}},onError:function(b){var f,g=d("FBECometAppStoreUtils").FBECometAppStoreLogUtils.getFBELoggingData(a,"asset_creation_fail","business_manager_step_creation");g.event_extra={error_message:(f=b.description)!=null?f:"",uri_extras:JSON.stringify((f=e)!=null?f:"")};c("FbeFbAppStoreEventFalcoEvent").log(function(){return g});q(b.description);i(!1)},updater:p(),variables:{input:{business_name:f.trim()}}}))},[r,b,e,a]);var s=l(function(){q(null)},[]);return k.jsx(c("BusinessCometFBEGeoAssetCreationView.react"),{description:d("BusinessAccountRenameGating").getBARenameEnabled()?h._("__JHASH__7tnh8y8zaKK__JHASH__"):h._("__JHASH__SxGlKw80Am6__JHASH__"),errorMessage:j,headline:h._("__JHASH__HrdYIEfPPtV__JHASH__"),hintLabel:h._("__JHASH__zUfXlwA0jGo__JHASH__"),inputLabel:h._("__JHASH__-eI-3EzI0z5__JHASH__"),isLoading:g,onCancelError:s,onCreate:f,step:"business_manager_step_creation"})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),226);
-----
BusinessCometFBEGeoBMSelection.react",["fbt","BusinessCometFBEGeoAssetListHeader.react","BusinessCometFBEGeoAssetListItem.react","BusinessCometFBEGeoBMCreation.react","BusinessCometFBEGeoBMSelectionQuery.graphql","BusinessCometFBEGeoFooter.react","BusinessCometFBEGeoStepHeader.react","BusinessCometFBEWebOnboardingContext","FBECometAppStoreUtils","FBEOnboardingActionHandler","FBEStepReducer","FBEUnifiedBusinessLoginLabels","RelayHooks","fbeOnboardingStateReducer","formatDate","react","unrecoverableViolation","useFBEAppStoreLogger"],(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.useContext,n=e.useState,o=i!==void 0?i:i=b("BusinessCometFBEGeoBMSelectionQuery.graphql");function a(){var a,b,e=m(d("BusinessCometFBEWebOnboardingContext").FBEOnboardingStateContext),f=e.app,g=e.assets,i=e.channel,j=e.entrypoint,p=e.flowSetup,q=g==null?void 0:g.businessManager;a=g==null?void 0:(a=g.page)==null?void 0:a.id;b=g==null?void 0:(b=g.ig)==null?void 0:b.id;p=p==null?void 0:(p=p.assetsSetup)==null?void 0:(p=p.business_manager)==null?void 0:p.canCreateInFlow;j=d("FBECometAppStoreUtils").FBECometAppStoreUtils.isPageSurfaceEntrypoint(j);i=(i=i)!=null?i:"DEFAULT";f={input:{app_id:f==null?void 0:f.appID,business_id:q==null?void 0:q.id,flow:i,instagram_id:b,install_source:"FBS_WEB_ONBOARDING",page_id:j?a:null}};i=d("RelayHooks").useLazyLoadQuery(o,f);a=(j=(b=i.fbe_viewer_businesses_with_channel_data)==null?void 0:b.edges)!=null?j:[];f=a.map(function(a){return a.node}).filter(Boolean);i=n({id:q==null?void 0:q.id,name:q==null?void 0:q.name});var r=i[0],s=i[1],t=l(function(a,b){if(a==null)return;s({id:a,name:b})},[s]);c("useFBEAppStoreLogger")(e,"business_manager_step","display_step");function u(){d("FBEOnboardingActionHandler").FBEOnboardingActionHandler({actionAsset:{name:d("FBEStepReducer").FBEAssets.BUSINESS_MANAGER},actionType:d("FBEStepReducer").FBENavigationStepReducerActionTypes.ASSET_CREATE,fbeOnboardingState:c("fbeOnboardingStateReducer")(e).getState()})}function v(){var a=c("fbeOnboardingStateReducer")(e);if(g!=null){var b;b=(r==null?void 0:r.id)!==((b=g.businessManager)==null?void 0:b.id);g.businessManager={id:r==null?void 0:r.id,name:r==null?void 0:r.name};b&&(g.adAccount=null,g.pixel=null,g.catalog=null);a=a.setAssets(g);d("FBEOnboardingActionHandler").FBEOnboardingActionHandler({actionAsset:{name:d("FBEStepReducer").FBEAssets.BUSINESS_MANAGER},actionType:d("FBEStepReducer").FBENavigationStepReducerActionTypes.CONTINUE,fbeOnboardingState:a.getState()})}}return f.length===0?k.jsx(c("BusinessCometFBEGeoBMCreation.react"),{}):k.jsxs(k.Fragment,{children:[k.jsx(c("BusinessCometFBEGeoStepHeader.react"),{description:h._("__JHASH__mDd4l2OJmhY__JHASH__"),heading:h._("__JHASH__z1G8fxg346X__JHASH__")}),p===!0?k.jsx(c("BusinessCometFBEGeoAssetListHeader.react"),{action:{handleClick:u,label:h._("__JHASH__iuklbfRZM3x__JHASH__")},heading:h._("__JHASH___8BibGkS8Tn__JHASH__")}):null,k.jsx("div",{className:"x78zum5 xdt5ytf x16nrsnc x14aock7 x1rife3k",children:f.map(function(a){var b=a.business_manager,e=a.ineligibilities,f=a.is_disabled;a=a.rich_ineligibilities;if(b==null)return null;var g=b.creation_time,h=b.id,i=b.name;b=b.persona_email;if(h==null||i==null)throw c("unrecoverableViolation")("Business ID and name are null","fbi_business_experience");g=g!=null?d("FBEUnifiedBusinessLoginLabels").FBEUnifiedBusinessLoginLabelsUtils.getCreationTime(c("formatDate")(g,"M j, Y")):void 0;return k.jsx(c("BusinessCometFBEGeoAssetListItem.react"),{assetName:d("FBEStepReducer").FBEAssets.BUSINESS_MANAGER,bodyText:b!=null&&b!==""?b:void 0,headline:i,isDisabled:f===!0,isSelected:h===(r==null?void 0:r.id),onSelect:function(){return t(h,i)},richIneligibilities:a,meta:g,ineligibilities:{assetName:"business_manager",ineligibilities:e}},h)})}),k.jsx(c("BusinessCometFBEGeoFooter.react"),{onPrimaryPress:v,primaryEnabled:(r==null?void 0:r.id)!=null,secondaryButtonText:null})]})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),226);
-----
BusinessCometFBEGeoAssetOverview.react",["fbt","ix","BizLinkInstagramUsernameRelay","BusinessCometFBEGeoAssetOverviewRow.react","BusinessCometFBEGeoBMCreation.react","BusinessCometFBEGeoFooter.react","BusinessCometFBEWebOnboardingContext","FBEAppStoreLabels","FBECometAppStoreUtils","FBEOnboardingActionHandler","FBEPixelAutomaticMatchingPIIGroups","FBEPrivacyMitigationStrings","FBEStepReducer","FBEUnifiedBusinessLoginPixelAutomaticMatchingOverviewComponent.react","GeoBaseText.react","GeoFlexbox.react","GeoHeading.react","GeoIcon.react","GeoLink.react","GeoMediaItem.react","Image.react","fbeOnboardingStateReducer","fbicon","react","useFBEAppStoreLogger","useFBEUpdatePixelAAMMutation"],(function(a,b,c,d,e,f,g,h,i){"use strict";var j,k=j||(j=d("react"));b=j;var l=b.useContext,m=b.useState;function a(){var a,b,e,f=l(d("BusinessCometFBEWebOnboardingContext").FBEOnboardingStateContext),g=f.app,j=f.assets,n=f.automaticMatchingEnabled,o=f.config,p=f.flowSetup;o=o==null?void 0:(o=o.business_config)==null?void 0:(o=o.business)==null?void 0:o.name;a=p==null?void 0:(a=p.preselectedAssets)==null?void 0:(a=a.page)==null?void 0:a.profilePictureUri;b=(b=p==null?void 0:(b=p.assetsSetup)==null?void 0:(b=b.catalog)==null?void 0:b.enabled)!=null?b:!0;e=m((e=j==null?void 0:(e=j.pixel)==null?void 0:e.enable_automatic_matching)!=null?e:n);var q=e[0],r=e[1];n=m((e=j==null?void 0:(n=j.pixel)==null?void 0:n.automatic_matching_fields)!=null?e:[]);var s=n[0],t=n[1];e=function(a){var b=a.enabled;a=a.enabledFields;b!=null?(r(b),t(d("FBEPixelAutomaticMatchingPIIGroups").getAutomaticMatchingDefaultFields(b))):a!=null&&(t(a),r(a.length>0))};var u=c("fbeOnboardingStateReducer")(f).setAutomaticMatchingEnabled(q);c("useFBEAppStoreLogger")(u.getState(),"core_assets_step","display_step");function v(a){d("FBEOnboardingActionHandler").FBEOnboardingActionHandler({actionAsset:{name:a},actionType:d("FBEStepReducer").FBENavigationStepReducerActionTypes.ASSET_SELECT,fbeOnboardingState:u.getState()})}n=c("useFBEUpdatePixelAAMMutation")(function(){},function(){});var w=n[0];n[1];function x(){var a;if((j==null?void 0:(a=j.pixel)==null?void 0:a.id)!=null&&(j==null?void 0:(a=j.pixel)==null?void 0:a.name)!=null){w({isAutomaticMatchingEnabled:q,pixelAutomaticMatchingFields:s,pixelID:j==null?void 0:(a=j.pixel)==null?void 0:a.id,pixelName:j==null?void 0:(a=j.pixel)==null?void 0:a.name},function(){d("FBEOnboardingActionHandler").FBEOnboardingActionHandler({actionType:d("FBEStepReducer").FBENavigationStepReducerActionTypes.CONTINUE,fbeOnboardingState:u.getState()})})}else d("FBEOnboardingActionHandler").FBEOnboardingActionHandler({actionType:d("FBEStepReducer").FBENavigationStepReducerActionTypes.CONTINUE,fbeOnboardingState:u.getState()})}n=d("BizLinkInstagramUsernameRelay").useBizLinkInstagramUsernameBuilder({bizLinkInstagramUsername:j==null?void 0:(n=j.ig)==null?void 0:n.usernameRelayKey});var y=n.check(function(a){return a===null||a===""});n=n.wrap(function(a){if(a.length===0)return"";else return"@"+a}).build().asFbtParam();if((j==null?void 0:j.businessManager)==null)return k.jsx(c("BusinessCometFBEGeoBMCreation.react"),{});a=k.jsxs("div",{className:"x6s0dn4 x78zum5 x1q0g3np xl56j7k xyamay9",children:[g!=null?k.jsx(c("GeoMediaItem.react"),{media:k.jsx(c("Image.react"),{height:60,src:g.logoURL,width:60}),size:64}):void 0,a!=null&&k.jsx("div",{className:"xurb0ha",children:k.jsx(c("GeoIcon.react"),{icon:d("fbicon")._(i("514460"),20)})}),a!=null&&k.jsx("div",{className:"xurb0ha",children:k.jsx(c("GeoMediaItem.react"),{media:k.jsx(c("Image.react"),{className:"x14yjl9h xudhj91 x18nykt9 xww2gxu",height:60,src:a,width:60}),ratio:"circle",size:64})})]});f=(j==null?void 0:j.commerceAccount)!=null&&d("FBECometAppStoreUtils").isFlowCommerce(p==null?void 0:p.flow,f==null?void 0:f.selectedShops);var z=function(a){var b;return(p==null?void 0:(b=p.assetsSetup)==null?void 0:(b=b[String(a)])==null?void 0:b.lockOnAssetScreen)===!0},A=function(a){return function(){return v(a)}};return k.jsxs(k.Fragment,{children:[a,k.jsx("div",{className:"x6s0dn4 x78zum5 xdt5ytf xl56j7k xw7yly9 x2b8uid",children:k.jsxs(c("GeoFlexbox.react"),{direction:"column",children:[k.jsx(c("GeoHeading.react"),{level:2,textAlign:"center",children:h._("__JHASH__udXsZ01HY-n__JHASH__")}),k.jsx(c("GeoBaseText.react"),{color:"placeholder",display:"block",size:"header3",textAlign:"center",weight:"normal",children:h._("__JHASH__5lD93jjzkgp__JHASH__",[h._param("app name",g==null?void 0:g.name)])})]})}),k.jsxs("div",{className:"x1yztbdb xw7yly9",children:[k.jsx(c("BusinessCometFBEGeoAssetOverviewRow.react"),{action:A(d("FBEStepReducer").FBEAssets.BUSINESS_MANAGER),assetName:(g=j==null?void 0:(a=j.businessManager)==null?void 0:a.name)!=null?g:o,headline:h._("__JHASH__W2tY5kr9u-K__JHASH__"),isDisabled:z(d("FBEStepReducer").FBEAssets.BUSINESS_MANAGER)}),(p==null?void 0:(a=p.assetsSetup)==null?void 0:(g=a.page)==null?void 0:g.enabled)===!0?k.jsx(c("BusinessCometFBEGeoAssetOverviewRow.react"),{action:A(d("FBEStepReducer").FBEAssets.PAGE),assetName:(g=j==null?void 0:(a=j.page)==null?void 0:a.name)!=null?g:(j==null?void 0:(a=j.page)==null?void 0:a.id)!=null?d("FBEAppStoreLabels").FBEDefaultAssetNameUtils.getPageName(o):null,headline:h._("__JHASH__ZbL1nmV7ZrX__JHASH__"),isDisabled:z(d("FBEStepReducer").FBEAssets.PAGE)}):void 0,(j==null?void 0:j.ig)!=null&&(p==null?void 0:(g=p.assetsSetup)==null?void 0:(a=g.ig)==null?void 0:a.enabled)===!0?k.jsx(c("BusinessCometFBEGeoAssetOverviewRow.react"),{action:A(d("FBEStepReducer").FBEAssets.IG),assetName:y?null:n,headline:h._("__JHASH___euF4a4pdIf__JHASH__"),isDisabled:z(d("FBEStepReducer").FBEAssets.IG)}):void 0,b?k.jsx(c("BusinessCometFBEGeoAssetOverviewRow.react"),{action:A(d("FBEStepReducer").FBEAssets.CATALOG),assetName:(a=j==null?void 0:(g=j.catalog)==null?void 0:g.name)!=null?a:d("FBEAppStoreLabels").FBEDefaultAssetNameUtils.getCatalogtName(o),headline:h._("__JHASH__P-5BeVmUlx8__JHASH__"),isDisabled:z(d("FBEStepReducer").FBEAssets.CATALOG)}):void 0,(p==null?void 0:(y=p.assetsSetup)==null?void 0:(n=y.ad_account)==null?void 0:n.enabled)===!0?k.jsx(c("BusinessCometFBEGeoAssetOverviewRow.react"),{action:A(d("FBEStepReducer").FBEAssets.AD_ACCOUNT),assetName:(g=j==null?void 0:(b=j.adAccount)==null?void 0:b.name)!=null?g:(j==null?void 0:(a=j.adAccount)==null?void 0:a.id)!=null?d("FBEAppStoreLabels").FBEDefaultAssetNameUtils.getAdAccountName(o):null,headline:h._("__JHASH__SBk6tE9ernN__JHASH__"),isDisabled:z(d("FBEStepReducer").FBEAssets.AD_ACCOUNT)}):void 0,(p==null?void 0:(y=p.assetsSetup)==null?void 0:(n=y.pixel)==null?void 0:n.enabled)===!0?k.jsx(c("BusinessCometFBEGeoAssetOverviewRow.react"),{action:A(d("FBEStepReducer").FBEAssets.PIXEL),assetName:(g=j==null?void 0:(b=j.pixel)==null?void 0:b.name)!=null?g:(j==null?void 0:(a=j.pixel)==null?void 0:a.id)!=null?d("FBEAppStoreLabels").FBEDefaultAssetNameUtils.getPixelName(o):null,headline:h._("__JHASH__ounPSeNarZs__JHASH__"),isDisabled:z(d("FBEStepReducer").FBEAssets.PIXEL),children:(j==null?void 0:j.pixel)!=null?k.jsx(c("FBEUnifiedBusinessLoginPixelAutomaticMatchingOverviewComponent.react"),{isAutomaticMatchingEnabled:q,pixelAutomaticMatchingFields:s,pixelID:(y=j.pixel)==null?void 0:y.id,pixelName:(n=j.pixel)==null?void 0:n.name,setAutomaticAdvancedMatchingState:e}):void 0}):null,f?k.jsx(c("BusinessCometFBEGeoAssetOverviewRow.react"),{action:A(d("FBEStepReducer").FBEAssets.COMMERCE_ACCOUNT),assetName:j==null?void 0:(b=j.commerceAccount)==null?void 0:b.name,headline:h._("__JHASH__MPdS-qJ0I3a__JHASH__"),isDisabled:z(d("FBEStepReducer").FBEAssets.COMMERCE_ACCOUNT)}):void 0]}),k.jsx("div",{className:"xwib8y2 x1pi30zi x1swvt13",children:k.jsx(c("GeoBaseText.react"),{color:"placeholder",size:"value",children:d("FBEPrivacyMitigationStrings").ONGOING_CONNECTION_ONBOARDING_MITIGATION})}),k.jsx(c("BusinessCometFBEGeoFooter.react"),{description:k.jsx(c("GeoBaseText.react"),{color:"placeholder",size:"value",children:h._("__JHASH__HbffHA9BMMy__JHASH__",[h._implicitParam("=m1",k.jsx(c("GeoLink.react"),{href:"https://www.facebook.com/policy",target:"_blank",children:h._("__JHASH__hIFXexSo4wR__JHASH__")}))])}),onPrimaryPress:x,secondaryButtonText:null})]})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),226);
-----
BusinessCometFBEWebOnboardingStepToGeoComponentMap",["fbt","BusinessCometFBEGeoAdAcctCreation.react","BusinessCometFBEGeoAdAcctSelection.react","BusinessCometFBEGeoAssetOverview.react","BusinessCometFBEGeoBMConfirmation.react","BusinessCometFBEGeoBMCreation.react","BusinessCometFBEGeoBMSelection.react","BusinessCometFBEGeoCTAConfirmation.react","BusinessCometFBEGeoCTAInstallNonRetryableError.react","BusinessCometFBEGeoCatalogCreation.react","BusinessCometFBEGeoCatalogSelection.react","BusinessCometFBEGeoChannelContext.react","BusinessCometFBEGeoCommerceCreation.react","BusinessCometFBEGeoCommerceSelection.react","BusinessCometFBEGeoErrorView.react","BusinessCometFBEGeoFeatureMenuIntentList.react","BusinessCometFBEGeoIGConnectView.react","BusinessCometFBEGeoIgSubmitForReviewScreen.react","BusinessCometFBEGeoInstagramSelection.react","BusinessCometFBEGeoInstallation.react","BusinessCometFBEGeoMultiplePersonalAdAcctSelection.react","BusinessCometFBEGeoPageCreation.react","BusinessCometFBEGeoPageSelection.react","BusinessCometFBEGeoPermissionsView.react","BusinessCometFBEGeoPixelCreation.react","BusinessCometFBEGeoPixelSelection.react","BusinessCometFBEGeoResultView.react","BusinessCometFBEGeoSelectDomain.react","BusinessCometFBEGeoWarningView.react","FBEAppStoreLabels","FBECTARefetcher.react","FBEStepReducer","react","unrecoverableViolation"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j=i||d("react");function a(a){var b,e,f=a.fbeOnboardingState;a=a.storeID;b=(b=f.fbeStepState)==null?void 0:b.currentStep;e=(e=f.fbeStepState)==null?void 0:e.flowOrigin;if(b==null)throw c("unrecoverableViolation")("Current FBEStepState current step cannot be null","fbi_business_experience");if(e==null)throw c("unrecoverableViolation")("Invalid flow origin","fbi_business_experience");e={title:d("FBEAppStoreLabels").FBEAppStoreHeadings.getLinkingTitle()};switch(b){case d("FBEStepReducer").FBEAllSteps.AD_ACCOUNT_STEP:return{renderComponent:j.jsx(c("BusinessCometFBEGeoAdAcctSelection.react"),{}),title:e};case d("FBEStepReducer").FBEAllSteps.AD_ACCOUNT_STEP_CREATION:return{renderComponent:j.jsx(c("BusinessCometFBEGeoAdAcctCreation.react"),{}),title:e};case d("FBEStepReducer").FBEAllSteps.APP_FEATURES_STEP:return{renderComponent:j.jsx(c("BusinessCometFBEGeoFeatureMenuIntentList.react"),{}),title:e};case d("FBEStepReducer").FBEAllSteps.BLOCKING_STEP:return{renderComponent:j.jsx(c("BusinessCometFBEGeoErrorView.react"),{}),title:e};case d("FBEStepReducer").FBEAllSteps.BUSINESS_MANAGER_STEP:return{renderComponent:j.jsx(c("BusinessCometFBEGeoBMSelection.react"),{}),title:e};case d("FBEStepReducer").FBEAllSteps.BUSINESS_MANAGER_STEP_CREATION:return{renderComponent:j.jsx(c("BusinessCometFBEGeoBMCreation.react"),{}),title:e};case d("FBEStepReducer").FBEAllSteps.CATALOG_STEP:return{renderComponent:j.jsx(c("BusinessCometFBEGeoCatalogSelection.react"),{}),title:e};case d("FBEStepReducer").FBEAllSteps.CATALOG_STEP_CREATION:return{renderComponent:j.jsx(c("BusinessCometFBEGeoCatalogCreation.react"),{}),title:e};case d("FBEStepReducer").FBEAllSteps.CHANNEL_CONTEXT_STEP:return{renderComponent:j.jsx(c("BusinessCometFBEGeoChannelContext.react"),{}),title:e};case d("FBEStepReducer").FBEAllSteps.COMMERCE_ACCOUNT_STEP:return{renderComponent:j.jsx(c("BusinessCometFBEGeoCommerceSelection.react"),{}),title:e};case d("FBEStepReducer").FBEAllSteps.COMMERCE_ACCOUNT_STEP_CREATION:return{renderComponent:j.jsx(c("BusinessCometFBEGeoCommerceCreation.react"),{}),title:e};case d("FBEStepReducer").FBEAllSteps.CONFIRM_BUSINESS_AND_PERMISSION_STEP:return{renderComponent:j.jsx(c("BusinessCometFBEGeoBMConfirmation.react"),{}),title:e};case d("FBEStepReducer").FBEAllSteps.CONTEXT_STEP:return{renderComponent:j.jsx(c("BusinessCometFBEGeoCTAConfirmation.react"),{}),title:{title:h._("__JHASH__rtogETDC6cA__JHASH__",[h._param("app name",(b=f.app)==null?void 0:b.name)])}};case d("FBEStepReducer").FBEAllSteps.DOMAIN_STEP:return{renderComponent:j.jsx(c("BusinessCometFBEGeoSelectDomain.react"),{}),title:e};case d("FBEStepReducer").FBEAllSteps.CORE_ASSETS_STEP:case d("FBEStepReducer").FBEAllSteps.FALLBACK:return{renderComponent:j.jsx(c("BusinessCometFBEGeoAssetOverview.react"),{}),title:e};case d("FBEStepReducer").FBEAllSteps.IG_SELECT_STEP:return{renderComponent:j.jsx(c("BusinessCometFBEGeoInstagramSelection.react"),{}),title:e};case d("FBEStepReducer").FBEAllSteps.IG_SUBMIT_FOR_REVIEW_STEP:return{renderComponent:j.jsx(c("BusinessCometFBEGeoIgSubmitForReviewScreen.react"),{}),title:e};case d("FBEStepReducer").FBEAllSteps.INSTAGRAM_STEP:return{renderComponent:j.jsx(c("BusinessCometFBEGeoIGConnectView.react"),{}),title:e};case d("FBEStepReducer").FBEAllSteps.INSTALL_STEP:return{renderComponent:j.jsx(c("BusinessCometFBEGeoInstallation.react"),{}),title:{title:h._("__JHASH__HaWVXx60nyJ__JHASH__"),withoutBackButton:!0}};case d("FBEStepReducer").FBEAllSteps.INSTALL_STEP_NONRETRYABLE:b=f.app;return{renderComponent:j.jsx(j.Fragment,{children:b?j.jsx(c("BusinessCometFBEGeoCTAInstallNonRetryableError.react"),{}):null}),title:{title:h._("__JHASH__LuW96G6H3I3__JHASH__"),withoutBackButton:!0}};case d("FBEStepReducer").FBEAllSteps.PAGE_STEP:return{renderComponent:j.jsx(c("BusinessCometFBEGeoPageSelection.react"),{}),title:e};case d("FBEStepReducer").FBEAllSteps.PAGE_STEP_CREATION:return{renderComponent:j.jsx(c("BusinessCometFBEGeoPageCreation.react"),{storeID:a}),title:e};case d("FBEStepReducer").FBEAllSteps.PERMISSION_STEP:return{renderComponent:j.jsx(c("BusinessCometFBEGeoPermissionsView.react"),{}),title:e};case d("FBEStepReducer").FBEAllSteps.PIXEL_STEP:return{renderComponent:j.jsx(c("BusinessCometFBEGeoPixelSelection.react"),{}),title:e};case d("FBEStepReducer").FBEAllSteps.PIXEL_STEP_CREATION:return{renderComponent:j.jsx(c("BusinessCometFBEGeoPixelCreation.react"),{}),title:e};case d("FBEStepReducer").FBEAllSteps.RESULT_STEP:return{renderComponent:j.jsxs(j.Fragment,{children:[j.jsx(c("FBECTARefetcher.react"),{}),j.jsx(c("BusinessCometFBEGeoResultView.react"),{})]}),title:{title:h._("__JHASH__LuW96G6H3I3__JHASH__"),withoutBackButton:!0}};case d("FBEStepReducer").FBEAllSteps.WARNING_STEP:a=(b=f.flowSetup)==null?void 0:b.flowBlockingError;f=a==null?void 0:a.headline;b=a==null?void 0:a.description;if(f==null)throw c("unrecoverableViolation")("flow blocking error headline cannot be null","fbi_business_experience");if(b==null)throw c("unrecoverableViolation")("flow blocking error description cannot be null","fbi_business_experience");return{renderComponent:j.jsx(c("BusinessCometFBEGeoWarningView.react"),{}),title:e};case d("FBEStepReducer").FBEAllSteps.MULTIPLE_AD_ACCOUNT_SELECTION_STEP:return{renderComponent:j.jsx(c("BusinessCometFBEGeoMultiplePersonalAdAcctSelection.react"),{}),title:e};default:return{renderComponent:j.jsx(c("BusinessCometFBEGeoAssetOverview.react"),{}),title:e}}}g["default"]=a}),226);
-----
BusinessCometFBEGeoBMCreation_CreateBusinessMutation.graphql",["BusinessCometFBEGeoBMCreation_CreateBusinessMutation_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:"AdBusiness",kind:"LinkedField",name:"fbe_create_business",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"business_manager_url",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"creation_time",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"persona_email",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"name",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"profile_picture_url",storageKey:null}],storageKey:null}];return{fragment:{argumentDefinitions:a,kind:"Fragment",metadata:null,name:"BusinessCometFBEGeoBMCreation_CreateBusinessMutation",selections:c,type:"Mutation",abstractKey:null},kind:"Request",operation:{argumentDefinitions:a,kind:"Operation",name:"BusinessCometFBEGeoBMCreation_CreateBusinessMutation",selections:c},params:{id:b("BusinessCometFBEGeoBMCreation_CreateBusinessMutation_facebookRelayOperation"),metadata:{},name:"BusinessCometFBEGeoBMCreation_CreateBusinessMutation",operationKind:"mutation",text:null}}}();e.exports=a}),null);
-----
BusinessCometFBEGeoBMCreation_CreateBusinessMutation_facebookRelayOperation",[],(function(a,b,c,d,e,f){e.exports="6334994039861590"}),null);
-----
BusinessCometFBEWebOnboardingStepToGeoComponentMap",["fbt","BusinessCometFBEGeoAdAcctCreation.react","BusinessCometFBEGeoAdAcctSelection.react","BusinessCometFBEGeoAssetOverview.react","BusinessCometFBEGeoBMConfirmation.react","BusinessCometFBEGeoBMCreation.react","BusinessCometFBEGeoBMSelection.react","BusinessCometFBEGeoCTAConfirmation.react","BusinessCometFBEGeoCTAInstallNonRetryableError.react","BusinessCometFBEGeoCatalogCreation.react","BusinessCometFBEGeoCatalogSelection.react","BusinessCometFBEGeoChannelContext.react","BusinessCometFBEGeoCommerceCreation.react","BusinessCometFBEGeoCommerceSelection.react","BusinessCometFBEGeoErrorView.react","BusinessCometFBEGeoFeatureMenuIntentList.react","BusinessCometFBEGeoIGConnectView.react","BusinessCometFBEGeoIgSubmitForReviewScreen.react","BusinessCometFBEGeoInstagramSelection.react","BusinessCometFBEGeoInstallation.react","BusinessCometFBEGeoMultiplePersonalAdAcctSelection.react","BusinessCometFBEGeoPageCreation.react","BusinessCometFBEGeoPageSelection.react","BusinessCometFBEGeoPermissionsView.react","BusinessCometFBEGeoPixelCreation.react","BusinessCometFBEGeoPixelSelection.react","BusinessCometFBEGeoResultView.react","BusinessCometFBEGeoSelectDomain.react","BusinessCometFBEGeoWarningView.react","FBEAppStoreLabels","FBECTARefetcher.react","FBEStepReducer","react","unrecoverableViolation"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j=i||d("react");function a(a){var b,e,f=a.fbeOnboardingState;a=a.storeID;b=(b=f.fbeStepState)==null?void 0:b.currentStep;e=(e=f.fbeStepState)==null?void 0:e.flowOrigin;if(b==null)throw c("unrecoverableViolation")("Current FBEStepState current step cannot be null","fbi_business_experience");if(e==null)throw c("unrecoverableViolation")("Invalid flow origin","fbi_business_experience");e={title:d("FBEAppStoreLabels").FBEAppStoreHeadings.getLinkingTitle()};switch(b){case d("FBEStepReducer").FBEAllSteps.AD_ACCOUNT_STEP:return{renderComponent:j.jsx(c("BusinessCometFBEGeoAdAcctSelection.react"),{}),title:e};case d("FBEStepReducer").FBEAllSteps.AD_ACCOUNT_STEP_CREATION:return{renderComponent:j.jsx(c("BusinessCometFBEGeoAdAcctCreation.react"),{}),title:e};case d("FBEStepReducer").FBEAllSteps.APP_FEATURES_STEP:return{renderComponent:j.jsx(c("BusinessCometFBEGeoFeatureMenuIntentList.react"),{}),title:e};case d("FBEStepReducer").FBEAllSteps.BLOCKING_STEP:return{renderComponent:j.jsx(c("BusinessCometFBEGeoErrorView.react"),{}),title:e};case d("FBEStepReducer").FBEAllSteps.BUSINESS_MANAGER_STEP:return{renderComponent:j.jsx(c("BusinessCometFBEGeoBMSelection.react"),{}),title:e};case d("FBEStepReducer").FBEAllSteps.BUSINESS_MANAGER_STEP_CREATION:return{renderComponent:j.jsx(c("BusinessCometFBEGeoBMCreation.react"),{}),title:e};case d("FBEStepReducer").FBEAllSteps.CATALOG_STEP:return{renderComponent:j.jsx(c("BusinessCometFBEGeoCatalogSelection.react"),{}),title:e};case d("FBEStepReducer").FBEAllSteps.CATALOG_STEP_CREATION:return{renderComponent:j.jsx(c("BusinessCometFBEGeoCatalogCreation.react"),{}),title:e};case d("FBEStepReducer").FBEAllSteps.CHANNEL_CONTEXT_STEP:return{renderComponent:j.jsx(c("BusinessCometFBEGeoChannelContext.react"),{}),title:e};case d("FBEStepReducer").FBEAllSteps.COMMERCE_ACCOUNT_STEP:return{renderComponent:j.jsx(c("BusinessCometFBEGeoCommerceSelection.react"),{}),title:e};case d("FBEStepReducer").FBEAllSteps.COMMERCE_ACCOUNT_STEP_CREATION:return{renderComponent:j.jsx(c("BusinessCometFBEGeoCommerceCreation.react"),{}),title:e};case d("FBEStepReducer").FBEAllSteps.CONFIRM_BUSINESS_AND_PERMISSION_STEP:return{renderComponent:j.jsx(c("BusinessCometFBEGeoBMConfirmation.react"),{}),title:e};case d("FBEStepReducer").FBEAllSteps.CONTEXT_STEP:return{renderComponent:j.jsx(c("BusinessCometFBEGeoCTAConfirmation.react"),{}),title:{title:h._("u7ed1u5b9a{app name}",[h._param("app name",(b=f.app)==null?void 0:b.name)])}};case d("FBEStepReducer").FBEAllSteps.DOMAIN_STEP:return{renderComponent:j.jsx(c("BusinessCometFBEGeoSelectDomain.react"),{}),title:e};case d("FBEStepReducer").FBEAllSteps.CORE_ASSETS_STEP:case d("FBEStepReducer").FBEAllSteps.FALLBACK:return{renderComponent:j.jsx(c("BusinessCometFBEGeoAssetOverview.react"),{}),title:e};case d("FBEStepReducer").FBEAllSteps.IG_SELECT_STEP:return{renderComponent:j.jsx(c("BusinessCometFBEGeoInstagramSelection.react"),{}),title:e};case d("FBEStepReducer").FBEAllSteps.IG_SUBMIT_FOR_REVIEW_STEP:return{renderComponent:j.jsx(c("BusinessCometFBEGeoIgSubmitForReviewScreen.react"),{}),title:e};case d("FBEStepReducer").FBEAllSteps.INSTAGRAM_STEP:return{renderComponent:j.jsx(c("BusinessCometFBEGeoIGConnectView.react"),{}),title:e};case d("FBEStepReducer").FBEAllSteps.INSTALL_STEP:return{renderComponent:j.jsx(c("BusinessCometFBEGeoInstallation.react"),{}),title:{title:h._("u7ed1u5b9au5e94u7528u7a0bu5e8f"),withoutBackButton:!0}};case d("FBEStepReducer").FBEAllSteps.INSTALL_STEP_NONRETRYABLE:b=f.app;return{renderComponent:j.jsx(j.Fragment,{children:b?j.jsx(c("BusinessCometFBEGeoCTAInstallNonRetryableError.react"),{}):null}),title:{title:h._("u786eu8ba4u7ed1u5b9a"),withoutBackButton:!0}};case d("FBEStepReducer").FBEAllSteps.PAGE_STEP:return{renderComponent:j.jsx(c("BusinessCometFBEGeoPageSelection.react"),{}),title:e};case d("FBEStepReducer").FBEAllSteps.PAGE_STEP_CREATION:return{renderComponent:j.jsx(c("BusinessCometFBEGeoPageCreation.react"),{storeID:a}),title:e};case d("FBEStepReducer").FBEAllSteps.PERMISSION_STEP:return{renderComponent:j.jsx(c("BusinessCometFBEGeoPermissionsView.react"),{}),title:e};case d("FBEStepReducer").FBEAllSteps.PIXEL_STEP:return{renderComponent:j.jsx(c("BusinessCometFBEGeoPixelSelection.react"),{}),title:e};case d("FBEStepReducer").FBEAllSteps.PIXEL_STEP_CREATION:return{renderComponent:j.jsx(c("BusinessCometFBEGeoPixelCreation.react"),{}),title:e};case d("FBEStepReducer").FBEAllSteps.RESULT_STEP:return{renderComponent:j.jsxs(j.Fragment,{children:[j.jsx(c("FBECTARefetcher.react"),{}),j.jsx(c("BusinessCometFBEGeoResultView.react"),{})]}),title:{title:h._("u786eu8ba4u7ed1u5b9a"),withoutBackButton:!0}};case d("FBEStepReducer").FBEAllSteps.WARNING_STEP:a=(b=f.flowSetup)==null?void 0:b.flowBlockingError;f=a==null?void 0:a.headline;b=a==null?void 0:a.description;if(f==null)throw c("unrecoverableViolation")("flow blocking error headline cannot be null","fbi_business_experience");if(b==null)throw c("unrecoverableViolation")("flow blocking error description cannot be null","fbi_business_experience");return{renderComponent:j.jsx(c("BusinessCometFBEGeoWarningView.react"),{}),title:e};case d("FBEStepReducer").FBEAllSteps.MULTIPLE_AD_ACCOUNT_SELECTION_STEP:return{renderComponent:j.jsx(c("BusinessCometFBEGeoMultiplePersonalAdAcctSelection.react"),{}),title:e};default:return{renderComponent:j.jsx(c("BusinessCometFBEGeoAssetOverview.react"),{}),title:e}}}g["default"]=a}),98);
-----
BusinessCometFBEGeoBMCreation.react",["fbt","BusinessCometFBEGeoAssetCreationView.react","BusinessCometFBEGeoBMCreation_CreateBusinessMutation.graphql","BusinessCometFBEWebOnboardingContext","CometRelay","FBECometAppStoreUtils","FBEOnboardingActionHandler","FBEStepReducer","FbeFbAppStoreEventFalcoEvent","RelayHooks","fbeOnboardingStateReducer","react","relay-runtime"],(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.useContext,n=e.useState,o=i!==void 0?i:i=b("BusinessCometFBEGeoBMCreation_CreateBusinessMutation.graphql");function p(){return function(a){var b=a.getRootField("fbe_create_business"),c=d("relay-runtime").ConnectionHandler.getConnection(a.getRoot(),"FBEQueryConnection_fbe_viewer_admined_businesses");a=c&&b&&d("relay-runtime").ConnectionHandler.createEdge(a,c,b,"FbeViewerAdminedBusinessesEdge");c!=null&&a!=null&&d("relay-runtime").ConnectionHandler.insertEdgeBefore(c,a)}}function a(){var a=m(d("BusinessCometFBEWebOnboardingContext").FBEOnboardingStateContext),b=a.assets,e=a.config,f=n(!1),g=f[0],i=f[1];f=n(null);var j=f[0],q=f[1],r=d("RelayHooks").useRelayEnvironment();f=l(function(f){f.trim()!==""&&(i(!0),d("CometRelay").commitMutation(r,{mutation:o,onCompleted:function(e){i(!1);e=e.fbe_create_business;var f=e==null?void 0:e.id;e=e==null?void 0:e.name;if(b!=null&&f!=null&&e!=null){b.businessManager={id:f,name:e};f=c("fbeOnboardingStateReducer")(a).setAssets(b).getState();d("FBEOnboardingActionHandler").FBEOnboardingActionHandler({actionAsset:{name:d("FBEStepReducer").FBEAssets.BUSINESS_MANAGER},actionType:d("FBEStepReducer").FBENavigationStepReducerActionTypes.CREATE_SUCCESS,fbeOnboardingState:f})}},onError:function(b){var f,g=d("FBECometAppStoreUtils").FBECometAppStoreLogUtils.getFBELoggingData(a,"asset_creation_fail","business_manager_step_creation");g.event_extra={error_message:(f=b.description)!=null?f:"",uri_extras:JSON.stringify((f=e)!=null?f:"")};c("FbeFbAppStoreEventFalcoEvent").log(function(){return g});q(b.description);i(!1)},updater:p(),variables:{input:{business_name:f.trim()}}}))},[r,b,e,a]);var s=l(function(){q(null)},[]);return k.jsx(c("BusinessCometFBEGeoAssetCreationView.react"),{description:h._("u521bu5efau4e1au52a1u5e10u6237u6765u7ba1u7406u516cu5171u4e3bu9875u3001Pixel u50cfu7d20u4ee3u7801u548cu76eeu5f55u7b49u5de5u5177u3002"),errorMessage:j,headline:h._("u521bu5efau5546u52a1u7ba1u7406u5e73u53f0"),hintLabel:h._("Jasper"s Market"),inputLabel:h._("u5546u52a1u7ba1u7406u5e73u53f0u540du79f0"),isLoading:g,onCancelError:s,onCreate:f,step:"business_manager_step_creation"})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98);
-----
BusinessCometFBEGeoBMSelection.react",["fbt","BusinessCometFBEGeoAssetListHeader.react","BusinessCometFBEGeoAssetListItem.react","BusinessCometFBEGeoBMCreation.react","BusinessCometFBEGeoBMSelectionQuery.graphql","BusinessCometFBEGeoFooter.react","BusinessCometFBEGeoStepHeader.react","BusinessCometFBEWebOnboardingContext","FBECometAppStoreUtils","FBEOnboardingActionHandler","FBEStepReducer","FBEUnifiedBusinessLoginLabels","RelayHooks","fbeOnboardingStateReducer","formatDate","react","unrecoverableViolation","useFBEAppStoreLogger"],(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.useContext,n=e.useState,o=i!==void 0?i:i=b("BusinessCometFBEGeoBMSelectionQuery.graphql");function a(){var a,b,e=m(d("BusinessCometFBEWebOnboardingContext").FBEOnboardingStateContext),f=e.app,g=e.assets,i=e.channel,j=e.entrypoint,p=e.flowSetup,q=g==null?void 0:g.businessManager;a=g==null?void 0:(a=g.page)==null?void 0:a.id;b=g==null?void 0:(b=g.ig)==null?void 0:b.id;p=p==null?void 0:(p=p.assetsSetup)==null?void 0:(p=p.business_manager)==null?void 0:p.canCreateInFlow;j=d("FBECometAppStoreUtils").FBECometAppStoreUtils.isPageSurfaceEntrypoint(j);i=(i=i)!=null?i:"DEFAULT";f={input:{app_id:f==null?void 0:f.appID,business_id:q==null?void 0:q.id,flow:i,instagram_id:b,install_source:"FBS_WEB_ONBOARDING",page_id:j?a:null}};i=d("RelayHooks").useLazyLoadQuery(o,f);a=(j=(b=i.fbe_viewer_businesses_with_channel_data)==null?void 0:b.edges)!=null?j:[];f=a.map(function(a){return a.node}).filter(Boolean);i=n({id:q==null?void 0:q.id,name:q==null?void 0:q.name});var r=i[0],s=i[1],t=l(function(a,b){if(a==null)return;s({id:a,name:b})},[s]);c("useFBEAppStoreLogger")(e,"business_manager_step","display_step");function u(){d("FBEOnboardingActionHandler").FBEOnboardingActionHandler({actionAsset:{name:d("FBEStepReducer").FBEAssets.BUSINESS_MANAGER},actionType:d("FBEStepReducer").FBENavigationStepReducerActionTypes.ASSET_CREATE,fbeOnboardingState:c("fbeOnboardingStateReducer")(e).getState()})}function v(){var a=c("fbeOnboardingStateReducer")(e);if(g!=null){var b;b=(r==null?void 0:r.id)!==((b=g.businessManager)==null?void 0:b.id);g.businessManager={id:r==null?void 0:r.id,name:r==null?void 0:r.name};b&&(g.adAccount=null,g.pixel=null,g.catalog=null);a=a.setAssets(g);d("FBEOnboardingActionHandler").FBEOnboardingActionHandler({actionAsset:{name:d("FBEStepReducer").FBEAssets.BUSINESS_MANAGER},actionType:d("FBEStepReducer").FBENavigationStepReducerActionTypes.CONTINUE,fbeOnboardingState:a.getState()})}}return f.length===0?k.jsx(c("BusinessCometFBEGeoBMCreation.react"),{}):k.jsxs(k.Fragment,{children:[k.jsx(c("BusinessCometFBEGeoStepHeader.react"),{description:h._("u9009u62e9u5e10u6237uff0cu4ee5u4fbfu901au8fc7u8be5u5e10u6237u7ba1u7406u516cu5171u4e3bu9875u3001Pixel u50cfu7d20u4ee3u7801u548cu76eeu5f55u7b49u5de5u5177u3002"),heading:h._("u9009u62e9u5546u52a1u7ba1u7406u5e73u53f0")}),p===!0?k.jsx(c("BusinessCometFBEGeoAssetListHeader.react"),{action:{handleClick:u,label:h._("u65b0u5efa")},heading:h._("u5e10u6237")}):null,k.jsx("div",{className:"x78zum5 xdt5ytf x16nrsnc x14aock7 x1rife3k",children:f.map(function(a){var b=a.business_manager,e=a.ineligibilities,f=a.is_disabled;a=a.rich_ineligibilities;if(b==null)return null;var g=b.creation_time,h=b.id,i=b.name;b=b.persona_email;if(h==null||i==null)throw c("unrecoverableViolation")("Business ID and name are null","fbi_business_experience");g=g!=null?d("FBEUnifiedBusinessLoginLabels").FBEUnifiedBusinessLoginLabelsUtils.getCreationTime(c("formatDate")(g,"M j, Y")):void 0;return k.jsx(c("BusinessCometFBEGeoAssetListItem.react"),{assetName:d("FBEStepReducer").FBEAssets.BUSINESS_MANAGER,bodyText:b!=null&&b!==""?b:void 0,headline:i,isDisabled:f===!0,isSelected:h===(r==null?void 0:r.id),onSelect:function(){return t(h,i)},richIneligibilities:a,meta:g,ineligibilities:{assetName:"business_manager",ineligibilities:e}},h)})}),k.jsx(c("BusinessCometFBEGeoFooter.react"),{onPrimaryPress:v,primaryEnabled:(r==null?void 0:r.id)!=null,secondaryButtonText:null})]})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98);
-----
BusinessCometFBEGeoAssetOverview.react",["fbt","ix","BizLinkInstagramUsernameRelay","BusinessCometFBEGeoAssetOverviewRow.react","BusinessCometFBEGeoBMCreation.react","BusinessCometFBEGeoFooter.react","BusinessCometFBEWebOnboardingContext","FBEAppStoreLabels","FBECometAppStoreUtils","FBEOnboardingActionHandler","FBEPixelAutomaticMatchingPIIGroups","FBEPrivacyMitigationStrings","FBEStepReducer","FBEUnifiedBusinessLoginPixelAutomaticMatchingOverviewComponent.react","GeoBaseText.react","GeoFlexbox.react","GeoHeading.react","GeoIcon.react","GeoLink.react","GeoMediaItem.react","Image.react","fbeOnboardingStateReducer","fbicon","react","useFBEAppStoreLogger","useFBEUpdatePixelAAMMutation"],(function(a,b,c,d,e,f,g,h,i){"use strict";var j,k=j||(j=d("react"));b=j;var l=b.useContext,m=b.useState;function a(){var a,b,e,f=l(d("BusinessCometFBEWebOnboardingContext").FBEOnboardingStateContext),g=f.app,j=f.assets,n=f.automaticMatchingEnabled,o=f.config,p=f.flowSetup;o=o==null?void 0:(o=o.business_config)==null?void 0:(o=o.business)==null?void 0:o.name;a=p==null?void 0:(a=p.preselectedAssets)==null?void 0:(a=a.page)==null?void 0:a.profilePictureUri;b=(b=p==null?void 0:(b=p.assetsSetup)==null?void 0:(b=b.catalog)==null?void 0:b.enabled)!=null?b:!0;e=m((e=j==null?void 0:(e=j.pixel)==null?void 0:e.enable_automatic_matching)!=null?e:n);var q=e[0],r=e[1];n=m((e=j==null?void 0:(n=j.pixel)==null?void 0:n.automatic_matching_fields)!=null?e:[]);var s=n[0],t=n[1];e=function(a){var b=a.enabled;a=a.enabledFields;b!=null?(r(b),t(d("FBEPixelAutomaticMatchingPIIGroups").getAutomaticMatchingDefaultFields(b))):a!=null&&(t(a),r(a.length>0))};var u=c("fbeOnboardingStateReducer")(f).setAutomaticMatchingEnabled(q);c("useFBEAppStoreLogger")(u.getState(),"core_assets_step","display_step");function v(a){d("FBEOnboardingActionHandler").FBEOnboardingActionHandler({actionAsset:{name:a},actionType:d("FBEStepReducer").FBENavigationStepReducerActionTypes.ASSET_SELECT,fbeOnboardingState:u.getState()})}n=c("useFBEUpdatePixelAAMMutation")(function(){},function(){});var w=n[0];n[1];function x(){var a;if((j==null?void 0:(a=j.pixel)==null?void 0:a.id)!=null&&(j==null?void 0:(a=j.pixel)==null?void 0:a.name)!=null){w({isAutomaticMatchingEnabled:q,pixelAutomaticMatchingFields:s,pixelID:j==null?void 0:(a=j.pixel)==null?void 0:a.id,pixelName:j==null?void 0:(a=j.pixel)==null?void 0:a.name},function(){d("FBEOnboardingActionHandler").FBEOnboardingActionHandler({actionType:d("FBEStepReducer").FBENavigationStepReducerActionTypes.CONTINUE,fbeOnboardingState:u.getState()})})}else d("FBEOnboardingActionHandler").FBEOnboardingActionHandler({actionType:d("FBEStepReducer").FBENavigationStepReducerActionTypes.CONTINUE,fbeOnboardingState:u.getState()})}n=d("BizLinkInstagramUsernameRelay").useBizLinkInstagramUsernameBuilder({bizLinkInstagramUsername:j==null?void 0:(n=j.ig)==null?void 0:n.usernameRelayKey});var y=n.check(function(a){return a===null||a===""});n=n.wrap(function(a){if(a.length===0)return"";else return"@"+a}).build().asFbtParam();if((j==null?void 0:j.businessManager)==null)return k.jsx(c("BusinessCometFBEGeoBMCreation.react"),{});a=k.jsxs("div",{className:"x6s0dn4 x78zum5 x1q0g3np xl56j7k xyamay9",children:[g!=null?k.jsx(c("GeoMediaItem.react"),{media:k.jsx(c("Image.react"),{height:60,src:g.logoURL,width:60}),size:64}):void 0,a!=null&&k.jsx("div",{className:"xurb0ha",children:k.jsx(c("GeoIcon.react"),{icon:d("fbicon")._(i("514460"),20)})}),a!=null&&k.jsx("div",{className:"xurb0ha",children:k.jsx(c("GeoMediaItem.react"),{media:k.jsx(c("Image.react"),{className:"x14yjl9h xudhj91 x18nykt9 xww2gxu",height:60,src:a,width:60}),ratio:"circle",size:64})})]});f=(j==null?void 0:j.commerceAccount)!=null&&d("FBECometAppStoreUtils").isFlowCommerce(p==null?void 0:p.flow,f==null?void 0:f.selectedShops);var z=function(a){var b;return(p==null?void 0:(b=p.assetsSetup)==null?void 0:(b=b[String(a)])==null?void 0:b.lockOnAssetScreen)===!0},A=function(a){return function(){return v(a)}};return k.jsxs(k.Fragment,{children:[a,k.jsx("div",{className:"x6s0dn4 x78zum5 xdt5ytf xl56j7k xw7yly9 x2b8uid",children:k.jsxs(c("GeoFlexbox.react"),{direction:"column",children:[k.jsx(c("GeoHeading.react"),{level:2,textAlign:"center",children:h._("u786eu8ba4u4f60u7684u8bbeu7f6e")}),k.jsx(c("GeoBaseText.react"),{color:"placeholder",display:"block",size:"header3",textAlign:"center",weight:"normal",children:h._("{app name}u5c06u7ed1u5b9au81f3uff1a",[h._param("app name",g==null?void 0:g.name)])})]})}),k.jsxs("div",{className:"x1yztbdb xw7yly9",children:[k.jsx(c("BusinessCometFBEGeoAssetOverviewRow.react"),{action:A(d("FBEStepReducer").FBEAssets.BUSINESS_MANAGER),assetName:(g=j==null?void 0:(a=j.businessManager)==null?void 0:a.name)!=null?g:o,headline:h._("u4e1au52a1"),isDisabled:z(d("FBEStepReducer").FBEAssets.BUSINESS_MANAGER)}),(p==null?void 0:(a=p.assetsSetup)==null?void 0:(g=a.page)==null?void 0:g.enabled)===!0?k.jsx(c("BusinessCometFBEGeoAssetOverviewRow.react"),{action:A(d("FBEStepReducer").FBEAssets.PAGE),assetName:(g=j==null?void 0:(a=j.page)==null?void 0:a.name)!=null?g:(j==null?void 0:(a=j.page)==null?void 0:a.id)!=null?d("FBEAppStoreLabels").FBEDefaultAssetNameUtils.getPageName(o):null,headline:h._("Facebook u516cu5171u4e3bu9875"),isDisabled:z(d("FBEStepReducer").FBEAssets.PAGE)}):void 0,(j==null?void 0:j.ig)!=null&&(p==null?void 0:(g=p.assetsSetup)==null?void 0:(a=g.ig)==null?void 0:a.enabled)===!0?k.jsx(c("BusinessCometFBEGeoAssetOverviewRow.react"),{action:A(d("FBEStepReducer").FBEAssets.IG),assetName:y?null:n,headline:h._("Instagram u5546u5bb6u4e3bu9875"),isDisabled:z(d("FBEStepReducer").FBEAssets.IG)}):void 0,b?k.jsx(c("BusinessCometFBEGeoAssetOverviewRow.react"),{action:A(d("FBEStepReducer").FBEAssets.CATALOG),assetName:(a=j==null?void 0:(g=j.catalog)==null?void 0:g.name)!=null?a:d("FBEAppStoreLabels").FBEDefaultAssetNameUtils.getCatalogtName(o),headline:h._("u76eeu5f55"),isDisabled:z(d("FBEStepReducer").FBEAssets.CATALOG)}):void 0,(p==null?void 0:(y=p.assetsSetup)==null?void 0:(n=y.ad_account)==null?void 0:n.enabled)===!0?k.jsx(c("BusinessCometFBEGeoAssetOverviewRow.react"),{action:A(d("FBEStepReducer").FBEAssets.AD_ACCOUNT),assetName:(g=j==null?void 0:(b=j.adAccount)==null?void 0:b.name)!=null?g:(j==null?void 0:(a=j.adAccount)==null?void 0:a.id)!=null?d("FBEAppStoreLabels").FBEDefaultAssetNameUtils.getAdAccountName(o):null,headline:h._("u5e7fu544au5e10u6237"),isDisabled:z(d("FBEStepReducer").FBEAssets.AD_ACCOUNT)}):void 0,(p==null?void 0:(y=p.assetsSetup)==null?void 0:(n=y.pixel)==null?void 0:n.enabled)===!0?k.jsx(c("BusinessCometFBEGeoAssetOverviewRow.react"),{action:A(d("FBEStepReducer").FBEAssets.PIXEL),assetName:(g=j==null?void 0:(b=j.pixel)==null?void 0:b.name)!=null?g:(j==null?void 0:(a=j.pixel)==null?void 0:a.id)!=null?d("FBEAppStoreLabels").FBEDefaultAssetNameUtils.getPixelName(o):null,headline:h._("Pixel u50cfu7d20u4ee3u7801"),isDisabled:z(d("FBEStepReducer").FBEAssets.PIXEL),children:(j==null?void 0:j.pixel)!=null?k.jsx(c("FBEUnifiedBusinessLoginPixelAutomaticMatchingOverviewComponent.react"),{isAutomaticMatchingEnabled:q,pixelAutomaticMatchingFields:s,pixelID:(y=j.pixel)==null?void 0:y.id,pixelName:(n=j.pixel)==null?void 0:n.name,setAutomaticAdvancedMatchingState:e}):void 0}):null,f?k.jsx(c("BusinessCometFBEGeoAssetOverviewRow.react"),{action:A(d("FBEStepReducer").FBEAssets.COMMERCE_ACCOUNT),assetName:j==null?void 0:(b=j.commerceAccount)==null?void 0:b.name,headline:h._("u7535u5546u5e10u6237"),isDisabled:z(d("FBEStepReducer").FBEAssets.COMMERCE_ACCOUNT)}):void 0]}),k.jsx("div",{className:"xwib8y2 x1pi30zi x1swvt13",children:k.jsx(c("GeoBaseText.react"),{color:"placeholder",size:"value",children:d("FBEPrivacyMitigationStrings").ONGOING_CONNECTION_ONBOARDING_MITIGATION})}),k.jsx(c("BusinessCometFBEGeoFooter.react"),{description:k.jsx(c("GeoBaseText.react"),{color:"placeholder",size:"value",children:h._("u70b9u51fbu201cu7ee7u7eedu201duff0cu5373u8868u793au4f60u540cu610f{=m1}u3002",[h._implicitParam("=m1",k.jsx(c("GeoLink.react"),{href:"https://www.facebook.com/policy",target:"_blank",children:h._("u6761u6b3eu548cu6761u4ef6")}))])}),onPrimaryPress:x,secondaryButtonText:null})]})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98);
-----
BusinessCometFBEGeoBMCreation_CreateBusinessMutation.graphql",["BusinessCometFBEGeoBMCreation_CreateBusinessMutation_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:"AdBusiness",kind:"LinkedField",name:"fbe_create_business",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"business_manager_url",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"creation_time",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"persona_email",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"name",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"profile_picture_url",storageKey:null}],storageKey:null}];return{fragment:{argumentDefinitions:a,kind:"Fragment",metadata:null,name:"BusinessCometFBEGeoBMCreation_CreateBusinessMutation",selections:c,type:"Mutation",abstractKey:null},kind:"Request",operation:{argumentDefinitions:a,kind:"Operation",name:"BusinessCometFBEGeoBMCreation_CreateBusinessMutation",selections:c},params:{id:b("BusinessCometFBEGeoBMCreation_CreateBusinessMutation_facebookRelayOperation"),metadata:{},name:"BusinessCometFBEGeoBMCreation_CreateBusinessMutation",operationKind:"mutation",text:null}}}();e.exports=a}),null);
-----
BusinessCometFBEGeoBMCreation_CreateBusinessMutation_facebookRelayOperation",[],(function(a,b,c,d,e,f){e.exports="6334994039861590"}),null);
-----
-----
BusinessCometFBEGeoBMSelection.react",["fbt","BusinessCometFBEGeoAssetListHeader.react","BusinessCometFBEGeoAssetListItem.react","BusinessCometFBEGeoBMCreation.react","BusinessCometFBEGeoBMSelectionQuery.graphql","BusinessCometFBEGeoFooter.react","BusinessCometFBEGeoStepHeader.react","BusinessCometFBEWebOnboardingContext","FBECometAppStoreUtils","FBEOnboardingActionHandler","FBEStepReducer","FBEUnifiedBusinessLoginLabels","RelayHooks","fbeOnboardingStateReducer","formatDate","react","unrecoverableViolation","useFBEAppStoreLogger"],(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.useContext,n=e.useState,o=i!==void 0?i:i=b("BusinessCometFBEGeoBMSelectionQuery.graphql");function a(){var a,b,e=m(d("BusinessCometFBEWebOnboardingContext").FBEOnboardingStateContext),f=e.app,g=e.assets,i=e.channel,j=e.entrypoint,p=e.flowSetup,q=g==null?void 0:g.businessManager;a=g==null?void 0:(a=g.page)==null?void 0:a.id;b=g==null?void 0:(b=g.ig)==null?void 0:b.id;p=p==null?void 0:(p=p.assetsSetup)==null?void 0:(p=p.business_manager)==null?void 0:p.canCreateInFlow;j=d("FBECometAppStoreUtils").FBECometAppStoreUtils.isPageSurfaceEntrypoint(j);i=(i=i)!=null?i:"DEFAULT";f={input:{app_id:f==null?void 0:f.appID,business_id:q==null?void 0:q.id,flow:i,instagram_id:b,install_source:"FBS_WEB_ONBOARDING",page_id:j?a:null}};i=d("RelayHooks").useLazyLoadQuery(o,f);a=(j=(b=i.fbe_viewer_businesses_with_channel_data)==null?void 0:b.edges)!=null?j:[];f=a.map(function(a){return a.node}).filter(Boolean);i=n({id:q==null?void 0:q.id,name:q==null?void 0:q.name});var r=i[0],s=i[1],t=l(function(a,b){if(a==null)return;s({id:a,name:b})},[s]);c("useFBEAppStoreLogger")(e,"business_manager_step","display_step");function u(){d("FBEOnboardingActionHandler").FBEOnboardingActionHandler({actionAsset:{name:d("FBEStepReducer").FBEAssets.BUSINESS_MANAGER},actionType:d("FBEStepReducer").FBENavigationStepReducerActionTypes.ASSET_CREATE,fbeOnboardingState:c("fbeOnboardingStateReducer")(e).getState()})}function v(){var a=c("fbeOnboardingStateReducer")(e);if(g!=null){var b;b=(r==null?void 0:r.id)!==((b=g.businessManager)==null?void 0:b.id);g.businessManager={id:r==null?void 0:r.id,name:r==null?void 0:r.name};b&&(g.adAccount=null,g.pixel=null,g.catalog=null);a=a.setAssets(g);d("FBEOnboardingActionHandler").FBEOnboardingActionHandler({actionAsset:{name:d("FBEStepReducer").FBEAssets.BUSINESS_MANAGER},actionType:d("FBEStepReducer").FBENavigationStepReducerActionTypes.CONTINUE,fbeOnboardingState:a.getState()})}}return f.length===0?k.jsx(c("BusinessCometFBEGeoBMCreation.react"),{}):k.jsxs(k.Fragment,{children:[k.jsx(c("BusinessCometFBEGeoStepHeader.react"),{description:h._("__JHASH__mDd4l2OJmhY__JHASH__"),heading:h._("__JHASH__z1G8fxg346X__JHASH__")}),p===!0?k.jsx(c("BusinessCometFBEGeoAssetListHeader.react"),{action:{handleClick:u,label:h._("__JHASH__iuklbfRZM3x__JHASH__")},heading:h._("__JHASH___8BibGkS8Tn__JHASH__")}):null,k.jsx("div",{className:"x78zum5 xdt5ytf x16nrsnc x14aock7 x1rife3k",children:f.map(function(a){var b=a.business_manager,e=a.ineligibilities,f=a.is_disabled;a=a.rich_ineligibilities;if(b==null)return null;var g=b.creation_time,h=b.id,i=b.name;b=b.persona_email;if(h==null||i==null)throw c("unrecoverableViolation")("Business ID and name are null","fbi_business_experience");g=g!=null?d("FBEUnifiedBusinessLoginLabels").FBEUnifiedBusinessLoginLabelsUtils.getCreationTime(c("formatDate")(g,"M j, Y")):void 0;return k.jsx(c("BusinessCometFBEGeoAssetListItem.react"),{assetName:d("FBEStepReducer").FBEAssets.BUSINESS_MANAGER,bodyText:b!=null&&b!==""?b:void 0,headline:i,isDisabled:f===!0,isSelected:h===(r==null?void 0:r.id),onSelect:function(){return t(h,i)},richIneligibilities:a,meta:g,ineligibilities:{assetName:"business_manager",ineligibilities:e}},h)})}),k.jsx(c("BusinessCometFBEGeoFooter.react"),{onPrimaryPress:v,primaryEnabled:(r==null?void 0:r.id)!=null,secondaryButtonText:null})]})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),226);
-----
BusinessCometFBEGeoAssetOverview.react",["fbt","ix","BizLinkInstagramUsernameRelay","BusinessCometFBEGeoAssetOverviewRow.react","BusinessCometFBEGeoBMCreation.react","BusinessCometFBEGeoFooter.react","BusinessCometFBEWebOnboardingContext","FBEAppStoreLabels","FBECometAppStoreUtils","FBEOnboardingActionHandler","FBEPixelAutomaticMatchingPIIGroups","FBEPrivacyMitigationStrings","FBEStepReducer","FBEUnifiedBusinessLoginPixelAutomaticMatchingOverviewComponent.react","GeoBaseText.react","GeoFlexbox.react","GeoHeading.react","GeoIcon.react","GeoLink.react","GeoMediaItem.react","Image.react","fbeOnboardingStateReducer","fbicon","react","useFBEAppStoreLogger","useFBEUpdatePixelAAMMutation"],(function(a,b,c,d,e,f,g,h,i){"use strict";var j,k=j||(j=d("react"));b=j;var l=b.useContext,m=b.useState;function a(){var a,b,e,f=l(d("BusinessCometFBEWebOnboardingContext").FBEOnboardingStateContext),g=f.app,j=f.assets,n=f.automaticMatchingEnabled,o=f.config,p=f.flowSetup;o=o==null?void 0:(o=o.business_config)==null?void 0:(o=o.business)==null?void 0:o.name;a=p==null?void 0:(a=p.preselectedAssets)==null?void 0:(a=a.page)==null?void 0:a.profilePictureUri;b=(b=p==null?void 0:(b=p.assetsSetup)==null?void 0:(b=b.catalog)==null?void 0:b.enabled)!=null?b:!0;e=m((e=j==null?void 0:(e=j.pixel)==null?void 0:e.enable_automatic_matching)!=null?e:n);var q=e[0],r=e[1];n=m((e=j==null?void 0:(n=j.pixel)==null?void 0:n.automatic_matching_fields)!=null?e:[]);var s=n[0],t=n[1];e=function(a){var b=a.enabled;a=a.enabledFields;b!=null?(r(b),t(d("FBEPixelAutomaticMatchingPIIGroups").getAutomaticMatchingDefaultFields(b))):a!=null&&(t(a),r(a.length>0))};var u=c("fbeOnboardingStateReducer")(f).setAutomaticMatchingEnabled(q);c("useFBEAppStoreLogger")(u.getState(),"core_assets_step","display_step");function v(a){d("FBEOnboardingActionHandler").FBEOnboardingActionHandler({actionAsset:{name:a},actionType:d("FBEStepReducer").FBENavigationStepReducerActionTypes.ASSET_SELECT,fbeOnboardingState:u.getState()})}n=c("useFBEUpdatePixelAAMMutation")(function(){},function(){});var w=n[0];n[1];function x(){var a;if((j==null?void 0:(a=j.pixel)==null?void 0:a.id)!=null&&(j==null?void 0:(a=j.pixel)==null?void 0:a.name)!=null){w({isAutomaticMatchingEnabled:q,pixelAutomaticMatchingFields:s,pixelID:j==null?void 0:(a=j.pixel)==null?void 0:a.id,pixelName:j==null?void 0:(a=j.pixel)==null?void 0:a.name},function(){d("FBEOnboardingActionHandler").FBEOnboardingActionHandler({actionType:d("FBEStepReducer").FBENavigationStepReducerActionTypes.CONTINUE,fbeOnboardingState:u.getState()})})}else d("FBEOnboardingActionHandler").FBEOnboardingActionHandler({actionType:d("FBEStepReducer").FBENavigationStepReducerActionTypes.CONTINUE,fbeOnboardingState:u.getState()})}n=d("BizLinkInstagramUsernameRelay").useBizLinkInstagramUsernameBuilder({bizLinkInstagramUsername:j==null?void 0:(n=j.ig)==null?void 0:n.usernameRelayKey});var y=n.check(function(a){return a===null||a===""});n=n.wrap(function(a){if(a.length===0)return"";else return"@"+a}).build().asFbtParam();if((j==null?void 0:j.businessManager)==null)return k.jsx(c("BusinessCometFBEGeoBMCreation.react"),{});a=k.jsxs("div",{className:"x6s0dn4 x78zum5 x1q0g3np xl56j7k xyamay9",children:[g!=null?k.jsx(c("GeoMediaItem.react"),{media:k.jsx(c("Image.react"),{height:60,src:g.logoURL,width:60}),size:64}):void 0,a!=null&&k.jsx("div",{className:"xurb0ha",children:k.jsx(c("GeoIcon.react"),{icon:d("fbicon")._(i("514460"),20)})}),a!=null&&k.jsx("div",{className:"xurb0ha",children:k.jsx(c("GeoMediaItem.react"),{media:k.jsx(c("Image.react"),{className:"x14yjl9h xudhj91 x18nykt9 xww2gxu",height:60,src:a,width:60}),ratio:"circle",size:64})})]});f=(j==null?void 0:j.commerceAccount)!=null&&d("FBECometAppStoreUtils").isFlowCommerce(p==null?void 0:p.flow,f==null?void 0:f.selectedShops);var z=function(a){var b;return(p==null?void 0:(b=p.assetsSetup)==null?void 0:(b=b[String(a)])==null?void 0:b.lockOnAssetScreen)===!0},A=function(a){return function(){return v(a)}};return k.jsxs(k.Fragment,{children:[a,k.jsx("div",{className:"x6s0dn4 x78zum5 xdt5ytf xl56j7k xw7yly9 x2b8uid",children:k.jsxs(c("GeoFlexbox.react"),{direction:"column",children:[k.jsx(c("GeoHeading.react"),{level:2,textAlign:"center",children:h._("__JHASH__udXsZ01HY-n__JHASH__")}),k.jsx(c("GeoBaseText.react"),{color:"placeholder",display:"block",size:"header3",textAlign:"center",weight:"normal",children:h._("__JHASH__5lD93jjzkgp__JHASH__",[h._param("app name",g==null?void 0:g.name)])})]})}),k.jsxs("div",{className:"x1yztbdb xw7yly9",children:[k.jsx(c("BusinessCometFBEGeoAssetOverviewRow.react"),{action:A(d("FBEStepReducer").FBEAssets.BUSINESS_MANAGER),assetName:(g=j==null?void 0:(a=j.businessManager)==null?void 0:a.name)!=null?g:o,headline:h._("__JHASH__W2tY5kr9u-K__JHASH__"),isDisabled:z(d("FBEStepReducer").FBEAssets.BUSINESS_MANAGER)}),(p==null?void 0:(a=p.assetsSetup)==null?void 0:(g=a.page)==null?void 0:g.enabled)===!0?k.jsx(c("BusinessCometFBEGeoAssetOverviewRow.react"),{action:A(d("FBEStepReducer").FBEAssets.PAGE),assetName:(g=j==null?void 0:(a=j.page)==null?void 0:a.name)!=null?g:(j==null?void 0:(a=j.page)==null?void 0:a.id)!=null?d("FBEAppStoreLabels").FBEDefaultAssetNameUtils.getPageName(o):null,headline:h._("__JHASH__ZbL1nmV7ZrX__JHASH__"),isDisabled:z(d("FBEStepReducer").FBEAssets.PAGE)}):void 0,(j==null?void 0:j.ig)!=null&&(p==null?void 0:(g=p.assetsSetup)==null?void 0:(a=g.ig)==null?void 0:a.enabled)===!0?k.jsx(c("BusinessCometFBEGeoAssetOverviewRow.react"),{action:A(d("FBEStepReducer").FBEAssets.IG),assetName:y?null:n,headline:h._("__JHASH___euF4a4pdIf__JHASH__"),isDisabled:z(d("FBEStepReducer").FBEAssets.IG)}):void 0,b?k.jsx(c("BusinessCometFBEGeoAssetOverviewRow.react"),{action:A(d("FBEStepReducer").FBEAssets.CATALOG),assetName:(a=j==null?void 0:(g=j.catalog)==null?void 0:g.name)!=null?a:d("FBEAppStoreLabels").FBEDefaultAssetNameUtils.getCatalogtName(o),headline:h._("__JHASH__P-5BeVmUlx8__JHASH__"),isDisabled:z(d("FBEStepReducer").FBEAssets.CATALOG)}):void 0,(p==null?void 0:(y=p.assetsSetup)==null?void 0:(n=y.ad_account)==null?void 0:n.enabled)===!0?k.jsx(c("BusinessCometFBEGeoAssetOverviewRow.react"),{action:A(d("FBEStepReducer").FBEAssets.AD_ACCOUNT),assetName:(g=j==null?void 0:(b=j.adAccount)==null?void 0:b.name)!=null?g:(j==null?void 0:(a=j.adAccount)==null?void 0:a.id)!=null?d("FBEAppStoreLabels").FBEDefaultAssetNameUtils.getAdAccountName(o):null,headline:h._("__JHASH__SBk6tE9ernN__JHASH__"),isDisabled:z(d("FBEStepReducer").FBEAssets.AD_ACCOUNT)}):void 0,(p==null?void 0:(y=p.assetsSetup)==null?void 0:(n=y.pixel)==null?void 0:n.enabled)===!0?k.jsx(c("BusinessCometFBEGeoAssetOverviewRow.react"),{action:A(d("FBEStepReducer").FBEAssets.PIXEL),assetName:(g=j==null?void 0:(b=j.pixel)==null?void 0:b.name)!=null?g:(j==null?void 0:(a=j.pixel)==null?void 0:a.id)!=null?d("FBEAppStoreLabels").FBEDefaultAssetNameUtils.getPixelName(o):null,headline:h._("__JHASH__ounPSeNarZs__JHASH__"),isDisabled:z(d("FBEStepReducer").FBEAssets.PIXEL),children:(j==null?void 0:j.pixel)!=null?k.jsx(c("FBEUnifiedBusinessLoginPixelAutomaticMatchingOverviewComponent.react"),{isAutomaticMatchingEnabled:q,pixelAutomaticMatchingFields:s,pixelID:(y=j.pixel)==null?void 0:y.id,pixelName:(n=j.pixel)==null?void 0:n.name,setAutomaticAdvancedMatchingState:e}):void 0}):null,f?k.jsx(c("BusinessCometFBEGeoAssetOverviewRow.react"),{action:A(d("FBEStepReducer").FBEAssets.COMMERCE_ACCOUNT),assetName:j==null?void 0:(b=j.commerceAccount)==null?void 0:b.name,headline:h._("__JHASH__MPdS-qJ0I3a__JHASH__"),isDisabled:z(d("FBEStepReducer").FBEAssets.COMMERCE_ACCOUNT)}):void 0]}),k.jsx("div",{className:"xwib8y2 x1pi30zi x1swvt13",children:k.jsx(c("GeoBaseText.react"),{color:"placeholder",size:"value",children:d("FBEPrivacyMitigationStrings").ONGOING_CONNECTION_ONBOARDING_MITIGATION})}),k.jsx(c("BusinessCometFBEGeoFooter.react"),{description:k.jsx(c("GeoBaseText.react"),{color:"placeholder",size:"value",children:h._("__JHASH__HbffHA9BMMy__JHASH__",[h._implicitParam("=m1",k.jsx(c("GeoLink.react"),{href:"https://www.facebook.com/policy",target:"_blank",children:h._("__JHASH__hIFXexSo4wR__JHASH__")}))])}),onPrimaryPress:x,secondaryButtonText:null})]})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),226);
-----
BusinessCometFBEWebOnboardingStepToGeoComponentMap",["fbt","BusinessCometFBEGeoAdAcctCreation.react","BusinessCometFBEGeoAdAcctSelection.react","BusinessCometFBEGeoAssetOverview.react","BusinessCometFBEGeoBMConfirmation.react","BusinessCometFBEGeoBMCreation.react","BusinessCometFBEGeoBMSelection.react","BusinessCometFBEGeoCTAConfirmation.react","BusinessCometFBEGeoCTAInstallNonRetryableError.react","BusinessCometFBEGeoCatalogCreation.react","BusinessCometFBEGeoCatalogSelection.react","BusinessCometFBEGeoChannelContext.react","BusinessCometFBEGeoCommerceCreation.react","BusinessCometFBEGeoCommerceSelection.react","BusinessCometFBEGeoErrorView.react","BusinessCometFBEGeoFeatureMenuIntentList.react","BusinessCometFBEGeoIGConnectView.react","BusinessCometFBEGeoIgSubmitForReviewScreen.react","BusinessCometFBEGeoInstagramSelection.react","BusinessCometFBEGeoInstallation.react","BusinessCometFBEGeoMultiplePersonalAdAcctSelection.react","BusinessCometFBEGeoPageCreation.react","BusinessCometFBEGeoPageSelection.react","BusinessCometFBEGeoPermissionsView.react","BusinessCometFBEGeoPixelCreation.react","BusinessCometFBEGeoPixelSelection.react","BusinessCometFBEGeoResultView.react","BusinessCometFBEGeoSelectDomain.react","BusinessCometFBEGeoWarningView.react","FBEAppStoreLabels","FBECTARefetcher.react","FBEStepReducer","react","unrecoverableViolation"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j=i||d("react");function a(a){var b,e,f=a.fbeOnboardingState;a=a.storeID;b=(b=f.fbeStepState)==null?void 0:b.currentStep;e=(e=f.fbeStepState)==null?void 0:e.flowOrigin;if(b==null)throw c("unrecoverableViolation")("Current FBEStepState current step cannot be null","fbi_business_experience");if(e==null)throw c("unrecoverableViolation")("Invalid flow origin","fbi_business_experience");e={title:d("FBEAppStoreLabels").FBEAppStoreHeadings.getLinkingTitle()};switch(b){case d("FBEStepReducer").FBEAllSteps.AD_ACCOUNT_STEP:return{renderComponent:j.jsx(c("BusinessCometFBEGeoAdAcctSelection.react"),{}),title:e};case d("FBEStepReducer").FBEAllSteps.AD_ACCOUNT_STEP_CREATION:return{renderComponent:j.jsx(c("BusinessCometFBEGeoAdAcctCreation.react"),{}),title:e};case d("FBEStepReducer").FBEAllSteps.APP_FEATURES_STEP:return{renderComponent:j.jsx(c("BusinessCometFBEGeoFeatureMenuIntentList.react"),{}),title:e};case d("FBEStepReducer").FBEAllSteps.BLOCKING_STEP:return{renderComponent:j.jsx(c("BusinessCometFBEGeoErrorView.react"),{}),title:e};case d("FBEStepReducer").FBEAllSteps.BUSINESS_MANAGER_STEP:return{renderComponent:j.jsx(c("BusinessCometFBEGeoBMSelection.react"),{}),title:e};case d("FBEStepReducer").FBEAllSteps.BUSINESS_MANAGER_STEP_CREATION:return{renderComponent:j.jsx(c("BusinessCometFBEGeoBMCreation.react"),{}),title:e};case d("FBEStepReducer").FBEAllSteps.CATALOG_STEP:return{renderComponent:j.jsx(c("BusinessCometFBEGeoCatalogSelection.react"),{}),title:e};case d("FBEStepReducer").FBEAllSteps.CATALOG_STEP_CREATION:return{renderComponent:j.jsx(c("BusinessCometFBEGeoCatalogCreation.react"),{}),title:e};case d("FBEStepReducer").FBEAllSteps.CHANNEL_CONTEXT_STEP:return{renderComponent:j.jsx(c("BusinessCometFBEGeoChannelContext.react"),{}),title:e};case d("FBEStepReducer").FBEAllSteps.COMMERCE_ACCOUNT_STEP:return{renderComponent:j.jsx(c("BusinessCometFBEGeoCommerceSelection.react"),{}),title:e};case d("FBEStepReducer").FBEAllSteps.COMMERCE_ACCOUNT_STEP_CREATION:return{renderComponent:j.jsx(c("BusinessCometFBEGeoCommerceCreation.react"),{}),title:e};case d("FBEStepReducer").FBEAllSteps.CONFIRM_BUSINESS_AND_PERMISSION_STEP:return{renderComponent:j.jsx(c("BusinessCometFBEGeoBMConfirmation.react"),{}),title:e};case d("FBEStepReducer").FBEAllSteps.CONTEXT_STEP:return{renderComponent:j.jsx(c("BusinessCometFBEGeoCTAConfirmation.react"),{}),title:{title:h._("__JHASH__rtogETDC6cA__JHASH__",[h._param("app name",(b=f.app)==null?void 0:b.name)])}};case d("FBEStepReducer").FBEAllSteps.DOMAIN_STEP:return{renderComponent:j.jsx(c("BusinessCometFBEGeoSelectDomain.react"),{}),title:e};case d("FBEStepReducer").FBEAllSteps.CORE_ASSETS_STEP:case d("FBEStepReducer").FBEAllSteps.FALLBACK:return{renderComponent:j.jsx(c("BusinessCometFBEGeoAssetOverview.react"),{}),title:e};case d("FBEStepReducer").FBEAllSteps.IG_SELECT_STEP:return{renderComponent:j.jsx(c("BusinessCometFBEGeoInstagramSelection.react"),{}),title:e};case d("FBEStepReducer").FBEAllSteps.IG_SUBMIT_FOR_REVIEW_STEP:return{renderComponent:j.jsx(c("BusinessCometFBEGeoIgSubmitForReviewScreen.react"),{}),title:e};case d("FBEStepReducer").FBEAllSteps.INSTAGRAM_STEP:return{renderComponent:j.jsx(c("BusinessCometFBEGeoIGConnectView.react"),{}),title:e};case d("FBEStepReducer").FBEAllSteps.INSTALL_STEP:return{renderComponent:j.jsx(c("BusinessCometFBEGeoInstallation.react"),{}),title:{title:h._("__JHASH__HaWVXx60nyJ__JHASH__"),withoutBackButton:!0}};case d("FBEStepReducer").FBEAllSteps.INSTALL_STEP_NONRETRYABLE:b=f.app;return{renderComponent:j.jsx(j.Fragment,{children:b?j.jsx(c("BusinessCometFBEGeoCTAInstallNonRetryableError.react"),{}):null}),title:{title:h._("__JHASH__LuW96G6H3I3__JHASH__"),withoutBackButton:!0}};case d("FBEStepReducer").FBEAllSteps.PAGE_STEP:return{renderComponent:j.jsx(c("BusinessCometFBEGeoPageSelection.react"),{}),title:e};case d("FBEStepReducer").FBEAllSteps.PAGE_STEP_CREATION:return{renderComponent:j.jsx(c("BusinessCometFBEGeoPageCreation.react"),{storeID:a}),title:e};case d("FBEStepReducer").FBEAllSteps.PERMISSION_STEP:return{renderComponent:j.jsx(c("BusinessCometFBEGeoPermissionsView.react"),{}),title:e};case d("FBEStepReducer").FBEAllSteps.PIXEL_STEP:return{renderComponent:j.jsx(c("BusinessCometFBEGeoPixelSelection.react"),{}),title:e};case d("FBEStepReducer").FBEAllSteps.PIXEL_STEP_CREATION:return{renderComponent:j.jsx(c("BusinessCometFBEGeoPixelCreation.react"),{}),title:e};case d("FBEStepReducer").FBEAllSteps.RESULT_STEP:return{renderComponent:j.jsxs(j.Fragment,{children:[j.jsx(c("FBECTARefetcher.react"),{}),j.jsx(c("BusinessCometFBEGeoResultView.react"),{})]}),title:{title:h._("__JHASH__LuW96G6H3I3__JHASH__"),withoutBackButton:!0}};case d("FBEStepReducer").FBEAllSteps.WARNING_STEP:a=(b=f.flowSetup)==null?void 0:b.flowBlockingError;f=a==null?void 0:a.headline;b=a==null?void 0:a.description;if(f==null)throw c("unrecoverableViolation")("flow blocking error headline cannot be null","fbi_business_experience");if(b==null)throw c("unrecoverableViolation")("flow blocking error description cannot be null","fbi_business_experience");return{renderComponent:j.jsx(c("BusinessCometFBEGeoWarningView.react"),{}),title:e};case d("FBEStepReducer").FBEAllSteps.MULTIPLE_AD_ACCOUNT_SELECTION_STEP:return{renderComponent:j.jsx(c("BusinessCometFBEGeoMultiplePersonalAdAcctSelection.react"),{}),title:e};default:return{renderComponent:j.jsx(c("BusinessCometFBEGeoAssetOverview.react"),{}),title:e}}}g["default"]=a}),226);
-----
BusinessCometFBEGeoBMCreation_CreateBusinessMutation.graphql",["BusinessCometFBEGeoBMCreation_CreateBusinessMutation_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:"AdBusiness",kind:"LinkedField",name:"fbe_create_business",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"business_manager_url",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"creation_time",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"persona_email",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"name",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"profile_picture_url",storageKey:null}],storageKey:null}];return{fragment:{argumentDefinitions:a,kind:"Fragment",metadata:null,name:"BusinessCometFBEGeoBMCreation_CreateBusinessMutation",selections:c,type:"Mutation",abstractKey:null},kind:"Request",operation:{argumentDefinitions:a,kind:"Operation",name:"BusinessCometFBEGeoBMCreation_CreateBusinessMutation",selections:c},params:{id:b("BusinessCometFBEGeoBMCreation_CreateBusinessMutation_facebookRelayOperation"),metadata:{},name:"BusinessCometFBEGeoBMCreation_CreateBusinessMutation",operationKind:"mutation",text:null}}}();e.exports=a}),null);
-----
BusinessCometFBEGeoBMCreation_CreateBusinessMutation_facebookRelayOperation",[],(function(a,b,c,d,e,f){e.exports="6334994039861590"}),null);
-----
BusinessCometFBEWebOnboardingStepToGeoComponentMap",["fbt","BusinessCometFBEGeoAdAcctCreation.react","BusinessCometFBEGeoAdAcctSelection.react","BusinessCometFBEGeoAssetOverview.react","BusinessCometFBEGeoBMConfirmation.react","BusinessCometFBEGeoBMCreation.react","BusinessCometFBEGeoBMSelection.react","BusinessCometFBEGeoCTAConfirmation.react","BusinessCometFBEGeoCTAInstallNonRetryableError.react","BusinessCometFBEGeoCatalogCreation.react","BusinessCometFBEGeoCatalogSelection.react","BusinessCometFBEGeoChannelContext.react","BusinessCometFBEGeoCommerceCreation.react","BusinessCometFBEGeoCommerceSelection.react","BusinessCometFBEGeoErrorView.react","BusinessCometFBEGeoFeatureMenuIntentList.react","BusinessCometFBEGeoIGConnectView.react","BusinessCometFBEGeoIgSubmitForReviewScreen.react","BusinessCometFBEGeoInstagramSelection.react","BusinessCometFBEGeoInstallation.react","BusinessCometFBEGeoMultiplePersonalAdAcctSelection.react","BusinessCometFBEGeoPageCreation.react","BusinessCometFBEGeoPageSelection.react","BusinessCometFBEGeoPermissionsView.react","BusinessCometFBEGeoPixelCreation.react","BusinessCometFBEGeoPixelSelection.react","BusinessCometFBEGeoResultView.react","BusinessCometFBEGeoSelectDomain.react","BusinessCometFBEGeoWarningView.react","FBEAppStoreLabels","FBECTARefetcher.react","FBEStepReducer","react","unrecoverableViolation"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j=i||d("react");function a(a){var b,e,f=a.fbeOnboardingState;a=a.storeID;b=(b=f.fbeStepState)==null?void 0:b.currentStep;e=(e=f.fbeStepState)==null?void 0:e.flowOrigin;if(b==null)throw c("unrecoverableViolation")("Current FBEStepState current step cannot be null","fbi_business_experience");if(e==null)throw c("unrecoverableViolation")("Invalid flow origin","fbi_business_experience");e={title:d("FBEAppStoreLabels").FBEAppStoreHeadings.getLinkingTitle()};switch(b){case d("FBEStepReducer").FBEAllSteps.AD_ACCOUNT_STEP:return{renderComponent:j.jsx(c("BusinessCometFBEGeoAdAcctSelection.react"),{}),title:e};case d("FBEStepReducer").FBEAllSteps.AD_ACCOUNT_STEP_CREATION:return{renderComponent:j.jsx(c("BusinessCometFBEGeoAdAcctCreation.react"),{}),title:e};case d("FBEStepReducer").FBEAllSteps.APP_FEATURES_STEP:return{renderComponent:j.jsx(c("BusinessCometFBEGeoFeatureMenuIntentList.react"),{}),title:e};case d("FBEStepReducer").FBEAllSteps.BLOCKING_STEP:return{renderComponent:j.jsx(c("BusinessCometFBEGeoErrorView.react"),{}),title:e};case d("FBEStepReducer").FBEAllSteps.BUSINESS_MANAGER_STEP:return{renderComponent:j.jsx(c("BusinessCometFBEGeoBMSelection.react"),{}),title:e};case d("FBEStepReducer").FBEAllSteps.BUSINESS_MANAGER_STEP_CREATION:return{renderComponent:j.jsx(c("BusinessCometFBEGeoBMCreation.react"),{}),title:e};case d("FBEStepReducer").FBEAllSteps.CATALOG_STEP:return{renderComponent:j.jsx(c("BusinessCometFBEGeoCatalogSelection.react"),{}),title:e};case d("FBEStepReducer").FBEAllSteps.CATALOG_STEP_CREATION:return{renderComponent:j.jsx(c("BusinessCometFBEGeoCatalogCreation.react"),{}),title:e};case d("FBEStepReducer").FBEAllSteps.CHANNEL_CONTEXT_STEP:return{renderComponent:j.jsx(c("BusinessCometFBEGeoChannelContext.react"),{}),title:e};case d("FBEStepReducer").FBEAllSteps.COMMERCE_ACCOUNT_STEP:return{renderComponent:j.jsx(c("BusinessCometFBEGeoCommerceSelection.react"),{}),title:e};case d("FBEStepReducer").FBEAllSteps.COMMERCE_ACCOUNT_STEP_CREATION:return{renderComponent:j.jsx(c("BusinessCometFBEGeoCommerceCreation.react"),{}),title:e};case d("FBEStepReducer").FBEAllSteps.CONFIRM_BUSINESS_AND_PERMISSION_STEP:return{renderComponent:j.jsx(c("BusinessCometFBEGeoBMConfirmation.react"),{}),title:e};case d("FBEStepReducer").FBEAllSteps.CONTEXT_STEP:return{renderComponent:j.jsx(c("BusinessCometFBEGeoCTAConfirmation.react"),{}),title:{title:h._("u7ed1u5b9a{app name}",[h._param("app name",(b=f.app)==null?void 0:b.name)])}};case d("FBEStepReducer").FBEAllSteps.DOMAIN_STEP:return{renderComponent:j.jsx(c("BusinessCometFBEGeoSelectDomain.react"),{}),title:e};case d("FBEStepReducer").FBEAllSteps.CORE_ASSETS_STEP:case d("FBEStepReducer").FBEAllSteps.FALLBACK:return{renderComponent:j.jsx(c("BusinessCometFBEGeoAssetOverview.react"),{}),title:e};case d("FBEStepReducer").FBEAllSteps.IG_SELECT_STEP:return{renderComponent:j.jsx(c("BusinessCometFBEGeoInstagramSelection.react"),{}),title:e};case d("FBEStepReducer").FBEAllSteps.IG_SUBMIT_FOR_REVIEW_STEP:return{renderComponent:j.jsx(c("BusinessCometFBEGeoIgSubmitForReviewScreen.react"),{}),title:e};case d("FBEStepReducer").FBEAllSteps.INSTAGRAM_STEP:return{renderComponent:j.jsx(c("BusinessCometFBEGeoIGConnectView.react"),{}),title:e};case d("FBEStepReducer").FBEAllSteps.INSTALL_STEP:return{renderComponent:j.jsx(c("BusinessCometFBEGeoInstallation.react"),{}),title:{title:h._("u7ed1u5b9au5e94u7528u7a0bu5e8f"),withoutBackButton:!0}};case d("FBEStepReducer").FBEAllSteps.INSTALL_STEP_NONRETRYABLE:b=f.app;return{renderComponent:j.jsx(j.Fragment,{children:b?j.jsx(c("BusinessCometFBEGeoCTAInstallNonRetryableError.react"),{}):null}),title:{title:h._("u786eu8ba4u7ed1u5b9a"),withoutBackButton:!0}};case d("FBEStepReducer").FBEAllSteps.PAGE_STEP:return{renderComponent:j.jsx(c("BusinessCometFBEGeoPageSelection.react"),{}),title:e};case d("FBEStepReducer").FBEAllSteps.PAGE_STEP_CREATION:return{renderComponent:j.jsx(c("BusinessCometFBEGeoPageCreation.react"),{storeID:a}),title:e};case d("FBEStepReducer").FBEAllSteps.PERMISSION_STEP:return{renderComponent:j.jsx(c("BusinessCometFBEGeoPermissionsView.react"),{}),title:e};case d("FBEStepReducer").FBEAllSteps.PIXEL_STEP:return{renderComponent:j.jsx(c("BusinessCometFBEGeoPixelSelection.react"),{}),title:e};case d("FBEStepReducer").FBEAllSteps.PIXEL_STEP_CREATION:return{renderComponent:j.jsx(c("BusinessCometFBEGeoPixelCreation.react"),{}),title:e};case d("FBEStepReducer").FBEAllSteps.RESULT_STEP:return{renderComponent:j.jsxs(j.Fragment,{children:[j.jsx(c("FBECTARefetcher.react"),{}),j.jsx(c("BusinessCometFBEGeoResultView.react"),{})]}),title:{title:h._("u786eu8ba4u7ed1u5b9a"),withoutBackButton:!0}};case d("FBEStepReducer").FBEAllSteps.WARNING_STEP:a=(b=f.flowSetup)==null?void 0:b.flowBlockingError;f=a==null?void 0:a.headline;b=a==null?void 0:a.description;if(f==null)throw c("unrecoverableViolation")("flow blocking error headline cannot be null","fbi_business_experience");if(b==null)throw c("unrecoverableViolation")("flow blocking error description cannot be null","fbi_business_experience");return{renderComponent:j.jsx(c("BusinessCometFBEGeoWarningView.react"),{}),title:e};case d("FBEStepReducer").FBEAllSteps.MULTIPLE_AD_ACCOUNT_SELECTION_STEP:return{renderComponent:j.jsx(c("BusinessCometFBEGeoMultiplePersonalAdAcctSelection.react"),{}),title:e};default:return{renderComponent:j.jsx(c("BusinessCometFBEGeoAssetOverview.react"),{}),title:e}}}g["default"]=a}),98);
-----
BusinessCometFBEGeoBMCreation.react",["fbt","BusinessCometFBEGeoAssetCreationView.react","BusinessCometFBEGeoBMCreation_CreateBusinessMutation.graphql","BusinessCometFBEWebOnboardingContext","CometRelay","FBECometAppStoreUtils","FBEOnboardingActionHandler","FBEStepReducer","FbeFbAppStoreEventFalcoEvent","RelayHooks","fbeOnboardingStateReducer","react","relay-runtime"],(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.useContext,n=e.useState,o=i!==void 0?i:i=b("BusinessCometFBEGeoBMCreation_CreateBusinessMutation.graphql");function p(){return function(a){var b=a.getRootField("fbe_create_business"),c=d("relay-runtime").ConnectionHandler.getConnection(a.getRoot(),"FBEQueryConnection_fbe_viewer_admined_businesses");a=c&&b&&d("relay-runtime").ConnectionHandler.createEdge(a,c,b,"FbeViewerAdminedBusinessesEdge");c!=null&&a!=null&&d("relay-runtime").ConnectionHandler.insertEdgeBefore(c,a)}}function a(){var a=m(d("BusinessCometFBEWebOnboardingContext").FBEOnboardingStateContext),b=a.assets,e=a.config,f=n(!1),g=f[0],i=f[1];f=n(null);var j=f[0],q=f[1],r=d("RelayHooks").useRelayEnvironment();f=l(function(f){f.trim()!==""&&(i(!0),d("CometRelay").commitMutation(r,{mutation:o,onCompleted:function(e){i(!1);e=e.fbe_create_business;var f=e==null?void 0:e.id;e=e==null?void 0:e.name;if(b!=null&&f!=null&&e!=null){b.businessManager={id:f,name:e};f=c("fbeOnboardingStateReducer")(a).setAssets(b).getState();d("FBEOnboardingActionHandler").FBEOnboardingActionHandler({actionAsset:{name:d("FBEStepReducer").FBEAssets.BUSINESS_MANAGER},actionType:d("FBEStepReducer").FBENavigationStepReducerActionTypes.CREATE_SUCCESS,fbeOnboardingState:f})}},onError:function(b){var f,g=d("FBECometAppStoreUtils").FBECometAppStoreLogUtils.getFBELoggingData(a,"asset_creation_fail","business_manager_step_creation");g.event_extra={error_message:(f=b.description)!=null?f:"",uri_extras:JSON.stringify((f=e)!=null?f:"")};c("FbeFbAppStoreEventFalcoEvent").log(function(){return g});q(b.description);i(!1)},updater:p(),variables:{input:{business_name:f.trim()}}}))},[r,b,e,a]);var s=l(function(){q(null)},[]);return k.jsx(c("BusinessCometFBEGeoAssetCreationView.react"),{description:h._("u521bu5efau4e1au52a1u5e10u6237u6765u7ba1u7406u516cu5171u4e3bu9875u3001Pixel u50cfu7d20u4ee3u7801u548cu76eeu5f55u7b49u5de5u5177u3002"),errorMessage:j,headline:h._("u521bu5efau5546u52a1u7ba1u7406u5e73u53f0"),hintLabel:h._("Jasper"s Market"),inputLabel:h._("u5546u52a1u7ba1u7406u5e73u53f0u540du79f0"),isLoading:g,onCancelError:s,onCreate:f,step:"business_manager_step_creation"})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98);
-----
BusinessCometFBEGeoBMSelection.react",["fbt","BusinessCometFBEGeoAssetListHeader.react","BusinessCometFBEGeoAssetListItem.react","BusinessCometFBEGeoBMCreation.react","BusinessCometFBEGeoBMSelectionQuery.graphql","BusinessCometFBEGeoFooter.react","BusinessCometFBEGeoStepHeader.react","BusinessCometFBEWebOnboardingContext","FBECometAppStoreUtils","FBEOnboardingActionHandler","FBEStepReducer","FBEUnifiedBusinessLoginLabels","RelayHooks","fbeOnboardingStateReducer","formatDate","react","unrecoverableViolation","useFBEAppStoreLogger"],(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.useContext,n=e.useState,o=i!==void 0?i:i=b("BusinessCometFBEGeoBMSelectionQuery.graphql");function a(){var a,b,e=m(d("BusinessCometFBEWebOnboardingContext").FBEOnboardingStateContext),f=e.app,g=e.assets,i=e.channel,j=e.entrypoint,p=e.flowSetup,q=g==null?void 0:g.businessManager;a=g==null?void 0:(a=g.page)==null?void 0:a.id;b=g==null?void 0:(b=g.ig)==null?void 0:b.id;p=p==null?void 0:(p=p.assetsSetup)==null?void 0:(p=p.business_manager)==null?void 0:p.canCreateInFlow;j=d("FBECometAppStoreUtils").FBECometAppStoreUtils.isPageSurfaceEntrypoint(j);i=(i=i)!=null?i:"DEFAULT";f={input:{app_id:f==null?void 0:f.appID,business_id:q==null?void 0:q.id,flow:i,instagram_id:b,install_source:"FBS_WEB_ONBOARDING",page_id:j?a:null}};i=d("RelayHooks").useLazyLoadQuery(o,f);a=(j=(b=i.fbe_viewer_businesses_with_channel_data)==null?void 0:b.edges)!=null?j:[];f=a.map(function(a){return a.node}).filter(Boolean);i=n({id:q==null?void 0:q.id,name:q==null?void 0:q.name});var r=i[0],s=i[1],t=l(function(a,b){if(a==null)return;s({id:a,name:b})},[s]);c("useFBEAppStoreLogger")(e,"business_manager_step","display_step");function u(){d("FBEOnboardingActionHandler").FBEOnboardingActionHandler({actionAsset:{name:d("FBEStepReducer").FBEAssets.BUSINESS_MANAGER},actionType:d("FBEStepReducer").FBENavigationStepReducerActionTypes.ASSET_CREATE,fbeOnboardingState:c("fbeOnboardingStateReducer")(e).getState()})}function v(){var a=c("fbeOnboardingStateReducer")(e);if(g!=null){var b;b=(r==null?void 0:r.id)!==((b=g.businessManager)==null?void 0:b.id);g.businessManager={id:r==null?void 0:r.id,name:r==null?void 0:r.name};b&&(g.adAccount=null,g.pixel=null,g.catalog=null);a=a.setAssets(g);d("FBEOnboardingActionHandler").FBEOnboardingActionHandler({actionAsset:{name:d("FBEStepReducer").FBEAssets.BUSINESS_MANAGER},actionType:d("FBEStepReducer").FBENavigationStepReducerActionTypes.CONTINUE,fbeOnboardingState:a.getState()})}}return f.length===0?k.jsx(c("BusinessCometFBEGeoBMCreation.react"),{}):k.jsxs(k.Fragment,{children:[k.jsx(c("BusinessCometFBEGeoStepHeader.react"),{description:h._("u9009u62e9u5e10u6237uff0cu4ee5u4fbfu901au8fc7u8be5u5e10u6237u7ba1u7406u516cu5171u4e3bu9875u3001Pixel u50cfu7d20u4ee3u7801u548cu76eeu5f55u7b49u5de5u5177u3002"),heading:h._("u9009u62e9u5546u52a1u7ba1u7406u5e73u53f0")}),p===!0?k.jsx(c("BusinessCometFBEGeoAssetListHeader.react"),{action:{handleClick:u,label:h._("u65b0u5efa")},heading:h._("u5e10u6237")}):null,k.jsx("div",{className:"x78zum5 xdt5ytf x16nrsnc x14aock7 x1rife3k",children:f.map(function(a){var b=a.business_manager,e=a.ineligibilities,f=a.is_disabled;a=a.rich_ineligibilities;if(b==null)return null;var g=b.creation_time,h=b.id,i=b.name;b=b.persona_email;if(h==null||i==null)throw c("unrecoverableViolation")("Business ID and name are null","fbi_business_experience");g=g!=null?d("FBEUnifiedBusinessLoginLabels").FBEUnifiedBusinessLoginLabelsUtils.getCreationTime(c("formatDate")(g,"M j, Y")):void 0;return k.jsx(c("BusinessCometFBEGeoAssetListItem.react"),{assetName:d("FBEStepReducer").FBEAssets.BUSINESS_MANAGER,bodyText:b!=null&&b!==""?b:void 0,headline:i,isDisabled:f===!0,isSelected:h===(r==null?void 0:r.id),onSelect:function(){return t(h,i)},richIneligibilities:a,meta:g,ineligibilities:{assetName:"business_manager",ineligibilities:e}},h)})}),k.jsx(c("BusinessCometFBEGeoFooter.react"),{onPrimaryPress:v,primaryEnabled:(r==null?void 0:r.id)!=null,secondaryButtonText:null})]})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98);
-----
BusinessCometFBEGeoAssetOverview.react",["fbt","ix","BizLinkInstagramUsernameRelay","BusinessCometFBEGeoAssetOverviewRow.react","BusinessCometFBEGeoBMCreation.react","BusinessCometFBEGeoFooter.react","BusinessCometFBEWebOnboardingContext","FBEAppStoreLabels","FBECometAppStoreUtils","FBEOnboardingActionHandler","FBEPixelAutomaticMatchingPIIGroups","FBEPrivacyMitigationStrings","FBEStepReducer","FBEUnifiedBusinessLoginPixelAutomaticMatchingOverviewComponent.react","GeoBaseText.react","GeoFlexbox.react","GeoHeading.react","GeoIcon.react","GeoLink.react","GeoMediaItem.react","Image.react","fbeOnboardingStateReducer","fbicon","react","useFBEAppStoreLogger","useFBEUpdatePixelAAMMutation"],(function(a,b,c,d,e,f,g,h,i){"use strict";var j,k=j||(j=d("react"));b=j;var l=b.useContext,m=b.useState;function a(){var a,b,e,f=l(d("BusinessCometFBEWebOnboardingContext").FBEOnboardingStateContext),g=f.app,j=f.assets,n=f.automaticMatchingEnabled,o=f.config,p=f.flowSetup;o=o==null?void 0:(o=o.business_config)==null?void 0:(o=o.business)==null?void 0:o.name;a=p==null?void 0:(a=p.preselectedAssets)==null?void 0:(a=a.page)==null?void 0:a.profilePictureUri;b=(b=p==null?void 0:(b=p.assetsSetup)==null?void 0:(b=b.catalog)==null?void 0:b.enabled)!=null?b:!0;e=m((e=j==null?void 0:(e=j.pixel)==null?void 0:e.enable_automatic_matching)!=null?e:n);var q=e[0],r=e[1];n=m((e=j==null?void 0:(n=j.pixel)==null?void 0:n.automatic_matching_fields)!=null?e:[]);var s=n[0],t=n[1];e=function(a){var b=a.enabled;a=a.enabledFields;b!=null?(r(b),t(d("FBEPixelAutomaticMatchingPIIGroups").getAutomaticMatchingDefaultFields(b))):a!=null&&(t(a),r(a.length>0))};var u=c("fbeOnboardingStateReducer")(f).setAutomaticMatchingEnabled(q);c("useFBEAppStoreLogger")(u.getState(),"core_assets_step","display_step");function v(a){d("FBEOnboardingActionHandler").FBEOnboardingActionHandler({actionAsset:{name:a},actionType:d("FBEStepReducer").FBENavigationStepReducerActionTypes.ASSET_SELECT,fbeOnboardingState:u.getState()})}n=c("useFBEUpdatePixelAAMMutation")(function(){},function(){});var w=n[0];n[1];function x(){var a;if((j==null?void 0:(a=j.pixel)==null?void 0:a.id)!=null&&(j==null?void 0:(a=j.pixel)==null?void 0:a.name)!=null){w({isAutomaticMatchingEnabled:q,pixelAutomaticMatchingFields:s,pixelID:j==null?void 0:(a=j.pixel)==null?void 0:a.id,pixelName:j==null?void 0:(a=j.pixel)==null?void 0:a.name},function(){d("FBEOnboardingActionHandler").FBEOnboardingActionHandler({actionType:d("FBEStepReducer").FBENavigationStepReducerActionTypes.CONTINUE,fbeOnboardingState:u.getState()})})}else d("FBEOnboardingActionHandler").FBEOnboardingActionHandler({actionType:d("FBEStepReducer").FBENavigationStepReducerActionTypes.CONTINUE,fbeOnboardingState:u.getState()})}n=d("BizLinkInstagramUsernameRelay").useBizLinkInstagramUsernameBuilder({bizLinkInstagramUsername:j==null?void 0:(n=j.ig)==null?void 0:n.usernameRelayKey});var y=n.check(function(a){return a===null||a===""});n=n.wrap(function(a){if(a.length===0)return"";else return"@"+a}).build().asFbtParam();if((j==null?void 0:j.businessManager)==null)return k.jsx(c("BusinessCometFBEGeoBMCreation.react"),{});a=k.jsxs("div",{className:"x6s0dn4 x78zum5 x1q0g3np xl56j7k xyamay9",children:[g!=null?k.jsx(c("GeoMediaItem.react"),{media:k.jsx(c("Image.react"),{height:60,src:g.logoURL,width:60}),size:64}):void 0,a!=null&&k.jsx("div",{className:"xurb0ha",children:k.jsx(c("GeoIcon.react"),{icon:d("fbicon")._(i("514460"),20)})}),a!=null&&k.jsx("div",{className:"xurb0ha",children:k.jsx(c("GeoMediaItem.react"),{media:k.jsx(c("Image.react"),{className:"x14yjl9h xudhj91 x18nykt9 xww2gxu",height:60,src:a,width:60}),ratio:"circle",size:64})})]});f=(j==null?void 0:j.commerceAccount)!=null&&d("FBECometAppStoreUtils").isFlowCommerce(p==null?void 0:p.flow,f==null?void 0:f.selectedShops);var z=function(a){var b;return(p==null?void 0:(b=p.assetsSetup)==null?void 0:(b=b[String(a)])==null?void 0:b.lockOnAssetScreen)===!0},A=function(a){return function(){return v(a)}};return k.jsxs(k.Fragment,{children:[a,k.jsx("div",{className:"x6s0dn4 x78zum5 xdt5ytf xl56j7k xw7yly9 x2b8uid",children:k.jsxs(c("GeoFlexbox.react"),{direction:"column",children:[k.jsx(c("GeoHeading.react"),{level:2,textAlign:"center",children:h._("u786eu8ba4u4f60u7684u8bbeu7f6e")}),k.jsx(c("GeoBaseText.react"),{color:"placeholder",display:"block",size:"header3",textAlign:"center",weight:"normal",children:h._("{app name}u5c06u7ed1u5b9au81f3uff1a",[h._param("app name",g==null?void 0:g.name)])})]})}),k.jsxs("div",{className:"x1yztbdb xw7yly9",children:[k.jsx(c("BusinessCometFBEGeoAssetOverviewRow.react"),{action:A(d("FBEStepReducer").FBEAssets.BUSINESS_MANAGER),assetName:(g=j==null?void 0:(a=j.businessManager)==null?void 0:a.name)!=null?g:o,headline:h._("u4e1au52a1"),isDisabled:z(d("FBEStepReducer").FBEAssets.BUSINESS_MANAGER)}),(p==null?void 0:(a=p.assetsSetup)==null?void 0:(g=a.page)==null?void 0:g.enabled)===!0?k.jsx(c("BusinessCometFBEGeoAssetOverviewRow.react"),{action:A(d("FBEStepReducer").FBEAssets.PAGE),assetName:(g=j==null?void 0:(a=j.page)==null?void 0:a.name)!=null?g:(j==null?void 0:(a=j.page)==null?void 0:a.id)!=null?d("FBEAppStoreLabels").FBEDefaultAssetNameUtils.getPageName(o):null,headline:h._("Facebook u516cu5171u4e3bu9875"),isDisabled:z(d("FBEStepReducer").FBEAssets.PAGE)}):void 0,(j==null?void 0:j.ig)!=null&&(p==null?void 0:(g=p.assetsSetup)==null?void 0:(a=g.ig)==null?void 0:a.enabled)===!0?k.jsx(c("BusinessCometFBEGeoAssetOverviewRow.react"),{action:A(d("FBEStepReducer").FBEAssets.IG),assetName:y?null:n,headline:h._("Instagram u5546u5bb6u4e3bu9875"),isDisabled:z(d("FBEStepReducer").FBEAssets.IG)}):void 0,b?k.jsx(c("BusinessCometFBEGeoAssetOverviewRow.react"),{action:A(d("FBEStepReducer").FBEAssets.CATALOG),assetName:(a=j==null?void 0:(g=j.catalog)==null?void 0:g.name)!=null?a:d("FBEAppStoreLabels").FBEDefaultAssetNameUtils.getCatalogtName(o),headline:h._("u76eeu5f55"),isDisabled:z(d("FBEStepReducer").FBEAssets.CATALOG)}):void 0,(p==null?void 0:(y=p.assetsSetup)==null?void 0:(n=y.ad_account)==null?void 0:n.enabled)===!0?k.jsx(c("BusinessCometFBEGeoAssetOverviewRow.react"),{action:A(d("FBEStepReducer").FBEAssets.AD_ACCOUNT),assetName:(g=j==null?void 0:(b=j.adAccount)==null?void 0:b.name)!=null?g:(j==null?void 0:(a=j.adAccount)==null?void 0:a.id)!=null?d("FBEAppStoreLabels").FBEDefaultAssetNameUtils.getAdAccountName(o):null,headline:h._("u5e7fu544au5e10u6237"),isDisabled:z(d("FBEStepReducer").FBEAssets.AD_ACCOUNT)}):void 0,(p==null?void 0:(y=p.assetsSetup)==null?void 0:(n=y.pixel)==null?void 0:n.enabled)===!0?k.jsx(c("BusinessCometFBEGeoAssetOverviewRow.react"),{action:A(d("FBEStepReducer").FBEAssets.PIXEL),assetName:(g=j==null?void 0:(b=j.pixel)==null?void 0:b.name)!=null?g:(j==null?void 0:(a=j.pixel)==null?void 0:a.id)!=null?d("FBEAppStoreLabels").FBEDefaultAssetNameUtils.getPixelName(o):null,headline:h._("Pixel u50cfu7d20u4ee3u7801"),isDisabled:z(d("FBEStepReducer").FBEAssets.PIXEL),children:(j==null?void 0:j.pixel)!=null?k.jsx(c("FBEUnifiedBusinessLoginPixelAutomaticMatchingOverviewComponent.react"),{isAutomaticMatchingEnabled:q,pixelAutomaticMatchingFields:s,pixelID:(y=j.pixel)==null?void 0:y.id,pixelName:(n=j.pixel)==null?void 0:n.name,setAutomaticAdvancedMatchingState:e}):void 0}):null,f?k.jsx(c("BusinessCometFBEGeoAssetOverviewRow.react"),{action:A(d("FBEStepReducer").FBEAssets.COMMERCE_ACCOUNT),assetName:j==null?void 0:(b=j.commerceAccount)==null?void 0:b.name,headline:h._("u7535u5546u5e10u6237"),isDisabled:z(d("FBEStepReducer").FBEAssets.COMMERCE_ACCOUNT)}):void 0]}),k.jsx("div",{className:"xwib8y2 x1pi30zi x1swvt13",children:k.jsx(c("GeoBaseText.react"),{color:"placeholder",size:"value",children:d("FBEPrivacyMitigationStrings").ONGOING_CONNECTION_ONBOARDING_MITIGATION})}),k.jsx(c("BusinessCometFBEGeoFooter.react"),{description:k.jsx(c("GeoBaseText.react"),{color:"placeholder",size:"value",children:h._("u70b9u51fbu201cu7ee7u7eedu201duff0cu5373u8868u793au4f60u540cu610f{=m1}u3002",[h._implicitParam("=m1",k.jsx(c("GeoLink.react"),{href:"https://www.facebook.com/policy",target:"_blank",children:h._("u6761u6b3eu548cu6761u4ef6")}))])}),onPrimaryPress:x,secondaryButtonText:null})]})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98);
-----
BusinessCometFBEGeoBMCreation_CreateBusinessMutation.graphql",["BusinessCometFBEGeoBMCreation_CreateBusinessMutation_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:"AdBusiness",kind:"LinkedField",name:"fbe_create_business",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"business_manager_url",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"creation_time",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"persona_email",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"name",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"profile_picture_url",storageKey:null}],storageKey:null}];return{fragment:{argumentDefinitions:a,kind:"Fragment",metadata:null,name:"BusinessCometFBEGeoBMCreation_CreateBusinessMutation",selections:c,type:"Mutation",abstractKey:null},kind:"Request",operation:{argumentDefinitions:a,kind:"Operation",name:"BusinessCometFBEGeoBMCreation_CreateBusinessMutation",selections:c},params:{id:b("BusinessCometFBEGeoBMCreation_CreateBusinessMutation_facebookRelayOperation"),metadata:{},name:"BusinessCometFBEGeoBMCreation_CreateBusinessMutation",operationKind:"mutation",text:null}}}();e.exports=a}),null);
-----
BusinessCometFBEGeoBMCreation_CreateBusinessMutation_facebookRelayOperation",[],(function(a,b,c,d,e,f){e.exports="6334994039861590"}),null);
-----