BusinessCometFBEGeoPixelCreation.react",["fbt","BusinessCometFBEGeoAssetCreationView.react","BusinessCometFBEGeoPixelCreation_CreatePixelMutation.graphql","BusinessCometFBEWebOnboardingContext","CometRelay","FBECometAppStoreUtils","FBEOnboardingActionHandler","FBEStepReducer","FbeFbAppStoreEventFalcoEvent","RelayHooks","fbeOnboardingStateReducer","react","relay-runtime","unrecoverableViolation"],(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="DEFAULT",p=i!==void 0?i:i=b("BusinessCometFBEGeoPixelCreation_CreatePixelMutation.graphql");function q(a){var b=a.businessID,c=a.flow,e=a.instagramID,f=a.pageID;return function(a){var g=a.getRootField("fbe_create_pixel_with_eligibility"),h={input:{business_id:b,flow:c,instagram_id:e,install_source:"FBS_WEB_ONBOARDING",page_id:f}};h=d("relay-runtime").ConnectionHandler.getConnection(a.getRoot(),"FBEQueryConnection_fbe_viewer_pixels_with_channel_data",h);var i=g&&g.getLinkedRecord("pixel"),j=i&&i.getValue("id");if(g!=null&&i!=null&&h!=null&&j!==""){i=d("relay-runtime").ConnectionHandler.createEdge(a,h,g,"FbeViewerPixelsWithChannelDataEdge");i&&d("relay-runtime").ConnectionHandler.insertEdgeBefore(h,i)}}}function a(){var a=m(d("BusinessCometFBEWebOnboardingContext").FBEOnboardingStateContext),b=a.app,e=a.assets,f=a.config,g=b==null?void 0:b.appID;if(g==null)throw c("unrecoverableViolation")("app ID cannot be null","meta_business_extension");var i=e==null?void 0:(b=e.businessManager)==null?void 0:b.id;if(i==null)throw c("unrecoverableViolation")("business ID cannot be null","meta_business_extension");var j=e==null?void 0:(b=e.page)==null?void 0:b.id,r=e==null?void 0:(b=e.ig)==null?void 0:b.id,s=e==null?void 0:(b=e.catalog)==null?void 0:b.id,t=(f==null?void 0:(b=f.setup)==null?void 0:b.channel)||o;b=n(!1);var u=b[0],v=b[1];b=n(null);var w=b[0],x=b[1],y=d("RelayHooks").useRelayEnvironment();b=l(function(b,h){b!=null&&i!=null&&(v(!0),d("CometRelay").commitMutation(y,{mutation:p,onCompleted:function(b){v(!1);b=(b=b.fbe_create_pixel_with_eligibility)==null?void 0:b.pixel;var f=b==null?void 0:b.id,g=b==null?void 0:b.name,i=b==null?void 0:b.automatic_matching_fields;b=b==null?void 0:b.enable_automatic_matching;if(e!=null&&f!=null&&g!=null){e.pixel={automatic_matching_fields:i,enable_automatic_matching:b,id:f,name:g};i=c("fbeOnboardingStateReducer")(a).setAssets(e).getState();d("FBEOnboardingActionHandler").FBEOnboardingActionHandler({actionAsset:{name:d("FBEStepReducer").FBEAssets.PIXEL},actionType:d("FBEStepReducer").FBENavigationStepReducerActionTypes.CREATE_SUCCESS,fbeOnboardingState:i})}h!=null&&h()},onError:function(b){var e,g=d("FBECometAppStoreUtils").FBECometAppStoreLogUtils.getFBELoggingData(a,"asset_creation_fail","pixel_step_creation");g.event_extra={error_message:(e=b.description)!=null?e:"",uri_extras:JSON.stringify((e=f)!=null?e:"")};c("FbeFbAppStoreEventFalcoEvent").log(function(){return g});x(b.description);v(!1)},updater:q({businessID:i,flow:t,instagramID:r,pageID:j}),variables:{input:{app_id:g,business_id:i,catalog_id:s,flow:t,instagram_id:r,page_id:j,pixel_name:b}}}))},[g,i,e,s,f,y,t,r,j,a]);var z=l(function(){x(null)},[]);return k.jsx(c("BusinessCometFBEGeoAssetCreationView.react"),{description:h._("__JHASH__918Wwe8_3Ma__JHASH__"),errorMessage:w,headline:h._("__JHASH__tbcYVjOBjHm__JHASH__"),hintLabel:"Jasper"s Market Pixel",inputLabel:h._("__JHASH__GtEaIv2Vgbc__JHASH__"),isLoading:u,onCancelError:z,onCreate:b,step:"pixel_step_creation"})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),226);
-----
BusinessCometFBEGeoPixelSelection.react",["fbt","BusinessCometFBEGeoAssetListHeader.react","BusinessCometFBEGeoAssetListItem.react","BusinessCometFBEGeoFooter.react","BusinessCometFBEGeoPixelCreation.react","BusinessCometFBEGeoPixelSelectionQuery.graphql","BusinessCometFBEGeoStepHeader.react","BusinessCometFBEWebOnboardingContext","FBEOnboardingActionHandler","FBEStepReducer","FBEUnifiedBusinessLoginSkipListItemComponent.react","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("BusinessCometFBEGeoPixelSelectionQuery.graphql");function a(){var a,b,e,f,g=m(d("BusinessCometFBEWebOnboardingContext").FBEOnboardingStateContext),i=g.assets,j=g.channel,p=g.flowSetup;a=p==null?void 0:(a=p.assetsSetup)==null?void 0:(a=a.pixel)==null?void 0:a.canCreateInFlow;p=(p=p==null?void 0:(p=p.assetsSetup)==null?void 0:(p=p.pixel)==null?void 0:p.optional)!=null?p:!1;b=i==null?void 0:(b=i.page)==null?void 0:b.id;e=i==null?void 0:(e=i.ig)==null?void 0:e.id;f=i==null?void 0:(f=i.businessManager)==null?void 0:f.id;if(f==null)throw c("unrecoverableViolation")("business ID cannot be null","meta_business_extension");j={input:{business_id:f,flow:(f=j)!=null?f:"DEFAULT",instagram_id:e,install_source:"FBS_WEB_ONBOARDING",page_id:b}};f=d("RelayHooks").useLazyLoadQuery(o,j);j=(b=(e=f.fbe_viewer_pixels_with_channel_data)==null?void 0:e.edges)!=null?b:[];var q=j.map(function(a){return a.node}).filter(Boolean);f=q.length>0;b=n({automatic_matching_fields:i==null?void 0:(e=i.pixel)==null?void 0:e.automatic_matching_fields,enable_automatic_matching:i==null?void 0:(b=i.pixel)==null?void 0:b.enable_automatic_matching,id:i==null?void 0:(j=i.pixel)==null?void 0:j.id,name:i==null?void 0:(e=i.pixel)==null?void 0:e.name});var r=b[0],s=b[1];j=n(!1);e=j[0];var t=j[1];b=n(!0);var u=b[0],v=b[1],w=l(function(a,b,c,d){v(b),a!=null&&d!=null&&(s({automatic_matching_fields:c,enable_automatic_matching:b,id:a,name:d}),t(!1))},[v,s]);j=l(function(){s({automatic_matching_fields:[],enable_automatic_matching:null,id:null,name:null}),t(!0)},[]);c("useFBEAppStoreLogger")(g,"pixel_step","display_step");function x(){d("FBEOnboardingActionHandler").FBEOnboardingActionHandler({actionAsset:{name:d("FBEStepReducer").FBEAssets.PIXEL},actionType:d("FBEStepReducer").FBENavigationStepReducerActionTypes.ASSET_CREATE,fbeOnboardingState:c("fbeOnboardingStateReducer")(g).getState()})}function y(){var a=c("fbeOnboardingStateReducer")(g);if(i!=null){var b,e=q.find(function(a){a=a.pixel;return(a==null?void 0:a.id)==null?!1:a.id===r.id});i.pixel={automatic_matching_fields:e==null?void 0:(b=e.pixel)==null?void 0:b.automatic_matching_fields,enable_automatic_matching:e==null?void 0:(b=e.pixel)==null?void 0:b.enable_automatic_matching,id:e==null?void 0:(b=e.pixel)==null?void 0:b.id,name:e==null?void 0:(b=e.pixel)==null?void 0:b.name};a=a.setAssets(i).setAutomaticMatchingEnabled(u)}d("FBEOnboardingActionHandler").FBEOnboardingActionHandler({actionAsset:{name:d("FBEStepReducer").FBEAssets.PIXEL},actionType:d("FBEStepReducer").FBENavigationStepReducerActionTypes.CONTINUE,fbeOnboardingState:a.getState()})}if(!f)return k.jsx(c("BusinessCometFBEGeoPixelCreation.react"),{});b=p?k.jsx(c("FBEUnifiedBusinessLoginSkipListItemComponent.react"),{body:h._("__JHASH__VpM7_1mkHpm__JHASH__"),header:"Skip connecting to Pixel",isDisabled:!1,isLastItem:q.length===0,isSelected:e,onSelect:j}):null;return k.jsxs(k.Fragment,{children:[k.jsx(c("BusinessCometFBEGeoStepHeader.react"),{description:h._("__JHASH__Htb8C_ZUzyE__JHASH__"),heading:h._("__JHASH__yYRvU1pUbSC__JHASH__")}),a===!0?k.jsx(c("BusinessCometFBEGeoAssetListHeader.react"),{action:{handleClick:x,label:h._("__JHASH__AJc--u9prlS__JHASH__")},heading:h._("__JHASH__5N383qq_9DH__JHASH__")}):null,k.jsxs("div",{className:"x78zum5 xdt5ytf x1vd4hg5 xw7yly9 x14aock7 x1rife3k",children:[b,q.map(function(a){var b=a.ineligibilities,e=a.is_disabled,f=a.pixel;a=a.rich_ineligibilities;if(f==null)return null;var g=f.automatic_matching_fields,i=f.creation_time,j=f.id,l=f.last_fired_time,m=f.name;if(j==null||m==null)return null;f=l!=null&&l!==0?h._("__JHASH___8f38wgEIi___JHASH__",[h._param("pixel last fired time",c("formatDate")(l,"M j, Y"))]):i!=null&&i!==0?h._("__JHASH__6sMpibsd4pE__JHASH__",[h._param("pixel creation time",c("formatDate")(i,"M j, Y"))]):null;return k.jsx(c("BusinessCometFBEGeoAssetListItem.react"),{assetName:d("FBEStepReducer").FBEAssets.PIXEL,bodyText:"ID: "+j,headline:m,isDisabled:e===!0,isSelected:j===r.id,onSelect:function(){return w(j,!0,g,m)},richIneligibilities:a,meta:f,ineligibilities:{assetName:"pixel",ineligibilities:b}},j)})]}),k.jsx(c("BusinessCometFBEGeoFooter.react"),{onPrimaryPress:y,primaryEnabled:(r==null?void 0:r.id)!=null||e,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);
-----
BusinessCometFBEGeoPixelCreation_CreatePixelMutation.graphql",["BusinessCometFBEGeoPixelCreation_CreatePixelMutation_facebookRelayOperation"],(function(a,b,c,d,e,f){"use strict";a=function(){var a=[{defaultValue:null,kind:"LocalArgument",name:"input"}],c=[{kind:"Variable",name:"data",variableName:"input"}],d={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},e={alias:null,args:null,kind:"ScalarField",name:"name",storageKey:null},f={alias:null,args:null,kind:"ScalarField",name:"automatic_matching_fields",storageKey:null},g={alias:null,args:null,kind:"ScalarField",name:"enable_automatic_matching",storageKey:null},h={alias:null,args:null,kind:"ScalarField",name:"ineligibilities",storageKey:null},i={alias:null,args:null,kind:"ScalarField",name:"is_disabled",storageKey:null};return{fragment:{argumentDefinitions:a,kind:"Fragment",metadata:null,name:"BusinessCometFBEGeoPixelCreation_CreatePixelMutation",selections:[{alias:null,args:c,concreteType:"FBEPixelWithEligibility",kind:"LinkedField",name:"fbe_create_pixel_with_eligibility",plural:!1,selections:[{alias:null,args:null,concreteType:"AdsPixel",kind:"LinkedField",name:"pixel",plural:!1,selections:[d,e,f,g,{args:null,kind:"FragmentSpread",name:"FBEUnifiedBusinessLoginPixelListItemFragment_pixel"}],storageKey:null},h,i],storageKey:null}],type:"Mutation",abstractKey:null},kind:"Request",operation:{argumentDefinitions:a,kind:"Operation",name:"BusinessCometFBEGeoPixelCreation_CreatePixelMutation",selections:[{alias:null,args:c,concreteType:"FBEPixelWithEligibility",kind:"LinkedField",name:"fbe_create_pixel_with_eligibility",plural:!1,selections:[{alias:null,args:null,concreteType:"AdsPixel",kind:"LinkedField",name:"pixel",plural:!1,selections:[d,e,f,g,{alias:null,args:null,kind:"ScalarField",name:"creation_time",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"last_fired_time",storageKey:null}],storageKey:null},h,i],storageKey:null}]},params:{id:b("BusinessCometFBEGeoPixelCreation_CreatePixelMutation_facebookRelayOperation"),metadata:{},name:"BusinessCometFBEGeoPixelCreation_CreatePixelMutation",operationKind:"mutation",text:null}}}();e.exports=a}),null);
-----
BusinessCometFBEGeoPixelCreation_CreatePixelMutation_facebookRelayOperation",[],(function(a,b,c,d,e,f){e.exports="6468701426574852"}),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);
-----
BusinessCometFBEGeoPixelCreation.react",["fbt","BusinessCometFBEGeoAssetCreationView.react","BusinessCometFBEGeoPixelCreation_CreatePixelMutation.graphql","BusinessCometFBEWebOnboardingContext","CometRelay","FBECometAppStoreUtils","FBEOnboardingActionHandler","FBEStepReducer","FbeFbAppStoreEventFalcoEvent","RelayHooks","fbeOnboardingStateReducer","react","relay-runtime","unrecoverableViolation"],(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="DEFAULT",p=i!==void 0?i:i=b("BusinessCometFBEGeoPixelCreation_CreatePixelMutation.graphql");function q(a){var b=a.businessID,c=a.flow,e=a.instagramID,f=a.pageID;return function(a){var g=a.getRootField("fbe_create_pixel_with_eligibility"),h={input:{business_id:b,flow:c,instagram_id:e,install_source:"FBS_WEB_ONBOARDING",page_id:f}};h=d("relay-runtime").ConnectionHandler.getConnection(a.getRoot(),"FBEQueryConnection_fbe_viewer_pixels_with_channel_data",h);var i=g&&g.getLinkedRecord("pixel"),j=i&&i.getValue("id");if(g!=null&&i!=null&&h!=null&&j!==""){i=d("relay-runtime").ConnectionHandler.createEdge(a,h,g,"FbeViewerPixelsWithChannelDataEdge");i&&d("relay-runtime").ConnectionHandler.insertEdgeBefore(h,i)}}}function a(){var a=m(d("BusinessCometFBEWebOnboardingContext").FBEOnboardingStateContext),b=a.app,e=a.assets,f=a.config,g=b==null?void 0:b.appID;if(g==null)throw c("unrecoverableViolation")("app ID cannot be null","lax_outcomes");var i=e==null?void 0:(b=e.businessManager)==null?void 0:b.id;if(i==null)throw c("unrecoverableViolation")("business ID cannot be null","lax_outcomes");var j=e==null?void 0:(b=e.page)==null?void 0:b.id,r=e==null?void 0:(b=e.ig)==null?void 0:b.id,s=e==null?void 0:(b=e.catalog)==null?void 0:b.id,t=(f==null?void 0:(b=f.setup)==null?void 0:b.channel)||o;b=n(!1);var u=b[0],v=b[1];b=n(null);var w=b[0],x=b[1],y=d("RelayHooks").useRelayEnvironment();b=l(function(b,h){b!=null&&i!=null&&(v(!0),d("CometRelay").commitMutation(y,{mutation:p,onCompleted:function(b){v(!1);b=(b=b.fbe_create_pixel_with_eligibility)==null?void 0:b.pixel;var f=b==null?void 0:b.id,g=b==null?void 0:b.name,i=b==null?void 0:b.automatic_matching_fields;b=b==null?void 0:b.enable_automatic_matching;if(e!=null&&f!=null&&g!=null){e.pixel={automatic_matching_fields:i,enable_automatic_matching:b,id:f,name:g};i=c("fbeOnboardingStateReducer")(a).setAssets(e).getState();d("FBEOnboardingActionHandler").FBEOnboardingActionHandler({actionAsset:{name:d("FBEStepReducer").FBEAssets.PIXEL},actionType:d("FBEStepReducer").FBENavigationStepReducerActionTypes.CREATE_SUCCESS,fbeOnboardingState:i})}h!=null&&h()},onError:function(b){var e,g=d("FBECometAppStoreUtils").FBECometAppStoreLogUtils.getFBELoggingData(a,"asset_creation_fail","pixel_step_creation");g.event_extra={error_message:(e=b.description)!=null?e:"",uri_extras:JSON.stringify((e=f)!=null?e:"")};c("FbeFbAppStoreEventFalcoEvent").log(function(){return g});x(b.description);v(!1)},updater:q({businessID:i,flow:t,instagramID:r,pageID:j}),variables:{input:{app_id:g,business_id:i,catalog_id:s,flow:t,instagram_id:r,page_id:j,pixel_name:b}}}))},[g,i,e,s,f,y,t,r,j,a]);var z=l(function(){x(null)},[]);return k.jsx(c("BusinessCometFBEGeoAssetCreationView.react"),{description:h._("u901au8fc7 Meta Pixel u50cfu7d20u4ee3u7801u83b7u53d6u7684u6570u636euff0cu4e86u89e3u7528u6237u5728u4f60u7f51u7ad9u4e0au7684u64cdu4f5cu5e76u8861u91cfu4f60u7684u5e7fu544au6210u6548u3002"),errorMessage:w,headline:h._("u521bu5efa Pixel u50cfu7d20u4ee3u7801"),hintLabel:"Jasper"s Market Pixel",inputLabel:h._("Pixel u50cfu7d20u4ee3u7801u540du79f0"),isLoading:u,onCancelError:z,onCreate:b,step:"pixel_step_creation"})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98);
-----
BusinessCometFBEGeoPixelSelection.react",["fbt","BusinessCometFBEGeoAssetListHeader.react","BusinessCometFBEGeoAssetListItem.react","BusinessCometFBEGeoFooter.react","BusinessCometFBEGeoPixelCreation.react","BusinessCometFBEGeoPixelSelectionQuery.graphql","BusinessCometFBEGeoStepHeader.react","BusinessCometFBEWebOnboardingContext","FBEOnboardingActionHandler","FBEStepReducer","FBEUnifiedBusinessLoginSkipListItemComponent.react","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("BusinessCometFBEGeoPixelSelectionQuery.graphql");function a(){var a,b,e,f,g=m(d("BusinessCometFBEWebOnboardingContext").FBEOnboardingStateContext),i=g.assets,j=g.channel,p=g.flowSetup;a=p==null?void 0:(a=p.assetsSetup)==null?void 0:(a=a.pixel)==null?void 0:a.canCreateInFlow;p=(p=p==null?void 0:(p=p.assetsSetup)==null?void 0:(p=p.pixel)==null?void 0:p.optional)!=null?p:!1;b=i==null?void 0:(b=i.page)==null?void 0:b.id;e=i==null?void 0:(e=i.ig)==null?void 0:e.id;f=i==null?void 0:(f=i.businessManager)==null?void 0:f.id;if(f==null)throw c("unrecoverableViolation")("business ID cannot be null","lax_outcomes");j={input:{business_id:f,flow:(f=j)!=null?f:"DEFAULT",instagram_id:e,install_source:"FBS_WEB_ONBOARDING",page_id:b}};f=d("RelayHooks").useLazyLoadQuery(o,j);j=(b=(e=f.fbe_viewer_pixels_with_channel_data)==null?void 0:e.edges)!=null?b:[];var q=j.map(function(a){return a.node}).filter(Boolean);f=q.length>0;b=n({automatic_matching_fields:i==null?void 0:(e=i.pixel)==null?void 0:e.automatic_matching_fields,enable_automatic_matching:i==null?void 0:(b=i.pixel)==null?void 0:b.enable_automatic_matching,id:i==null?void 0:(j=i.pixel)==null?void 0:j.id,name:i==null?void 0:(e=i.pixel)==null?void 0:e.name});var r=b[0],s=b[1];j=n(!1);e=j[0];var t=j[1];b=n(!0);var u=b[0],v=b[1],w=l(function(a,b,c,d){v(b),a!=null&&d!=null&&(s({automatic_matching_fields:c,enable_automatic_matching:b,id:a,name:d}),t(!1))},[v,s]);j=l(function(){s({automatic_matching_fields:[],enable_automatic_matching:null,id:null,name:null}),t(!0)},[]);c("useFBEAppStoreLogger")(g,"pixel_step","display_step");function x(){d("FBEOnboardingActionHandler").FBEOnboardingActionHandler({actionAsset:{name:d("FBEStepReducer").FBEAssets.PIXEL},actionType:d("FBEStepReducer").FBENavigationStepReducerActionTypes.ASSET_CREATE,fbeOnboardingState:c("fbeOnboardingStateReducer")(g).getState()})}function y(){var a=c("fbeOnboardingStateReducer")(g);if(i!=null){var b,e=q.find(function(a){a=a.pixel;return(a==null?void 0:a.id)==null?!1:a.id===r.id});i.pixel={automatic_matching_fields:e==null?void 0:(b=e.pixel)==null?void 0:b.automatic_matching_fields,enable_automatic_matching:e==null?void 0:(b=e.pixel)==null?void 0:b.enable_automatic_matching,id:e==null?void 0:(b=e.pixel)==null?void 0:b.id,name:e==null?void 0:(b=e.pixel)==null?void 0:b.name};a=a.setAssets(i).setAutomaticMatchingEnabled(u)}d("FBEOnboardingActionHandler").FBEOnboardingActionHandler({actionAsset:{name:d("FBEStepReducer").FBEAssets.PIXEL},actionType:d("FBEStepReducer").FBENavigationStepReducerActionTypes.CONTINUE,fbeOnboardingState:a.getState()})}if(!f)return k.jsx(c("BusinessCometFBEGeoPixelCreation.react"),{});b=p?k.jsx(c("FBEUnifiedBusinessLoginSkipListItemComponent.react"),{body:h._("u5982u679cu4f60u6ca1u6709u7b26u5408u6761u4ef6u7684 Pixel u50cfu7d20u4ee3u7801uff0cu8bf7u9009u62e9u6b64u9879"),header:"Skip connecting to Pixel",isDisabled:!1,isLastItem:q.length===0,isSelected:e,onSelect:j}):null;return k.jsxs(k.Fragment,{children:[k.jsx(c("BusinessCometFBEGeoStepHeader.react"),{description:h._("u9009u62e9u5e0cu671bu7ed1u5b9au7684 Pixel u50cfu7d20u4ee3u7801u3002"),heading:h._("u9009u62e9 Pixel u50cfu7d20u4ee3u7801")}),a===!0?k.jsx(c("BusinessCometFBEGeoAssetListHeader.react"),{action:{handleClick:x,label:h._("u65b0u5efa")},heading:h._("Pixel u50cfu7d20u4ee3u7801")}):null,k.jsxs("div",{className:"x78zum5 xdt5ytf x1vd4hg5 xw7yly9 x14aock7 x1rife3k",children:[b,q.map(function(a){var b=a.ineligibilities,e=a.is_disabled,f=a.pixel;a=a.rich_ineligibilities;if(f==null)return null;var g=f.automatic_matching_fields,i=f.creation_time,j=f.id,l=f.last_fired_time,m=f.name;if(j==null||m==null)return null;f=l!=null&&l!==0?h._("u4e0au6b21u89e6u53d1uff1a{pixel last fired time}",[h._param("pixel last fired time",c("formatDate")(l,"M j, Y"))]):i!=null&&i!==0?h._("u521bu5efau65f6u95f4uff1a{pixel creation time}",[h._param("pixel creation time",c("formatDate")(i,"M j, Y"))]):null;return k.jsx(c("BusinessCometFBEGeoAssetListItem.react"),{assetName:d("FBEStepReducer").FBEAssets.PIXEL,bodyText:"ID: "+j,headline:m,isDisabled:e===!0,isSelected:j===r.id,onSelect:function(){return w(j,!0,g,m)},richIneligibilities:a,meta:f,ineligibilities:{assetName:"pixel",ineligibilities:b}},j)})]}),k.jsx(c("BusinessCometFBEGeoFooter.react"),{onPrimaryPress:y,primaryEnabled:(r==null?void 0:r.id)!=null||e,secondaryButtonText:null})]})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98);
-----
BusinessCometFBEGeoPixelCreation_CreatePixelMutation.graphql",["BusinessCometFBEGeoPixelCreation_CreatePixelMutation_facebookRelayOperation"],(function(a,b,c,d,e,f){"use strict";a=function(){var a=[{defaultValue:null,kind:"LocalArgument",name:"input"}],c=[{kind:"Variable",name:"data",variableName:"input"}],d={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},e={alias:null,args:null,kind:"ScalarField",name:"name",storageKey:null},f={alias:null,args:null,kind:"ScalarField",name:"automatic_matching_fields",storageKey:null},g={alias:null,args:null,kind:"ScalarField",name:"enable_automatic_matching",storageKey:null},h={alias:null,args:null,kind:"ScalarField",name:"ineligibilities",storageKey:null},i={alias:null,args:null,kind:"ScalarField",name:"is_disabled",storageKey:null};return{fragment:{argumentDefinitions:a,kind:"Fragment",metadata:null,name:"BusinessCometFBEGeoPixelCreation_CreatePixelMutation",selections:[{alias:null,args:c,concreteType:"FBEPixelWithEligibility",kind:"LinkedField",name:"fbe_create_pixel_with_eligibility",plural:!1,selections:[{alias:null,args:null,concreteType:"AdsPixel",kind:"LinkedField",name:"pixel",plural:!1,selections:[d,e,f,g,{args:null,kind:"FragmentSpread",name:"FBEUnifiedBusinessLoginPixelListItemFragment_pixel"}],storageKey:null},h,i],storageKey:null}],type:"Mutation",abstractKey:null},kind:"Request",operation:{argumentDefinitions:a,kind:"Operation",name:"BusinessCometFBEGeoPixelCreation_CreatePixelMutation",selections:[{alias:null,args:c,concreteType:"FBEPixelWithEligibility",kind:"LinkedField",name:"fbe_create_pixel_with_eligibility",plural:!1,selections:[{alias:null,args:null,concreteType:"AdsPixel",kind:"LinkedField",name:"pixel",plural:!1,selections:[d,e,f,g,{alias:null,args:null,kind:"ScalarField",name:"creation_time",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"last_fired_time",storageKey:null}],storageKey:null},h,i],storageKey:null}]},params:{id:b("BusinessCometFBEGeoPixelCreation_CreatePixelMutation_facebookRelayOperation"),metadata:{},name:"BusinessCometFBEGeoPixelCreation_CreatePixelMutation",operationKind:"mutation",text:null}}}();e.exports=a}),null);
-----
BusinessCometFBEGeoPixelCreation_CreatePixelMutation_facebookRelayOperation",[],(function(a,b,c,d,e,f){e.exports="6468701426574852"}),null);
-----
-----
BusinessCometFBEGeoPixelSelection.react",["fbt","BusinessCometFBEGeoAssetListHeader.react","BusinessCometFBEGeoAssetListItem.react","BusinessCometFBEGeoFooter.react","BusinessCometFBEGeoPixelCreation.react","BusinessCometFBEGeoPixelSelectionQuery.graphql","BusinessCometFBEGeoStepHeader.react","BusinessCometFBEWebOnboardingContext","FBEOnboardingActionHandler","FBEStepReducer","FBEUnifiedBusinessLoginSkipListItemComponent.react","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("BusinessCometFBEGeoPixelSelectionQuery.graphql");function a(){var a,b,e,f,g=m(d("BusinessCometFBEWebOnboardingContext").FBEOnboardingStateContext),i=g.assets,j=g.channel,p=g.flowSetup;a=p==null?void 0:(a=p.assetsSetup)==null?void 0:(a=a.pixel)==null?void 0:a.canCreateInFlow;p=(p=p==null?void 0:(p=p.assetsSetup)==null?void 0:(p=p.pixel)==null?void 0:p.optional)!=null?p:!1;b=i==null?void 0:(b=i.page)==null?void 0:b.id;e=i==null?void 0:(e=i.ig)==null?void 0:e.id;f=i==null?void 0:(f=i.businessManager)==null?void 0:f.id;if(f==null)throw c("unrecoverableViolation")("business ID cannot be null","meta_business_extension");j={input:{business_id:f,flow:(f=j)!=null?f:"DEFAULT",instagram_id:e,install_source:"FBS_WEB_ONBOARDING",page_id:b}};f=d("RelayHooks").useLazyLoadQuery(o,j);j=(b=(e=f.fbe_viewer_pixels_with_channel_data)==null?void 0:e.edges)!=null?b:[];var q=j.map(function(a){return a.node}).filter(Boolean);f=q.length>0;b=n({automatic_matching_fields:i==null?void 0:(e=i.pixel)==null?void 0:e.automatic_matching_fields,enable_automatic_matching:i==null?void 0:(b=i.pixel)==null?void 0:b.enable_automatic_matching,id:i==null?void 0:(j=i.pixel)==null?void 0:j.id,name:i==null?void 0:(e=i.pixel)==null?void 0:e.name});var r=b[0],s=b[1];j=n(!1);e=j[0];var t=j[1];b=n(!0);var u=b[0],v=b[1],w=l(function(a,b,c,d){v(b),a!=null&&d!=null&&(s({automatic_matching_fields:c,enable_automatic_matching:b,id:a,name:d}),t(!1))},[v,s]);j=l(function(){s({automatic_matching_fields:[],enable_automatic_matching:null,id:null,name:null}),t(!0)},[]);c("useFBEAppStoreLogger")(g,"pixel_step","display_step");function x(){d("FBEOnboardingActionHandler").FBEOnboardingActionHandler({actionAsset:{name:d("FBEStepReducer").FBEAssets.PIXEL},actionType:d("FBEStepReducer").FBENavigationStepReducerActionTypes.ASSET_CREATE,fbeOnboardingState:c("fbeOnboardingStateReducer")(g).getState()})}function y(){var a=c("fbeOnboardingStateReducer")(g);if(i!=null){var b,e=q.find(function(a){a=a.pixel;return(a==null?void 0:a.id)==null?!1:a.id===r.id});i.pixel={automatic_matching_fields:e==null?void 0:(b=e.pixel)==null?void 0:b.automatic_matching_fields,enable_automatic_matching:e==null?void 0:(b=e.pixel)==null?void 0:b.enable_automatic_matching,id:e==null?void 0:(b=e.pixel)==null?void 0:b.id,name:e==null?void 0:(b=e.pixel)==null?void 0:b.name};a=a.setAssets(i).setAutomaticMatchingEnabled(u)}d("FBEOnboardingActionHandler").FBEOnboardingActionHandler({actionAsset:{name:d("FBEStepReducer").FBEAssets.PIXEL},actionType:d("FBEStepReducer").FBENavigationStepReducerActionTypes.CONTINUE,fbeOnboardingState:a.getState()})}if(!f)return k.jsx(c("BusinessCometFBEGeoPixelCreation.react"),{});b=p?k.jsx(c("FBEUnifiedBusinessLoginSkipListItemComponent.react"),{body:h._("__JHASH__VpM7_1mkHpm__JHASH__"),header:"Skip connecting to Pixel",isDisabled:!1,isLastItem:q.length===0,isSelected:e,onSelect:j}):null;return k.jsxs(k.Fragment,{children:[k.jsx(c("BusinessCometFBEGeoStepHeader.react"),{description:h._("__JHASH__Htb8C_ZUzyE__JHASH__"),heading:h._("__JHASH__yYRvU1pUbSC__JHASH__")}),a===!0?k.jsx(c("BusinessCometFBEGeoAssetListHeader.react"),{action:{handleClick:x,label:h._("__JHASH__AJc--u9prlS__JHASH__")},heading:h._("__JHASH__5N383qq_9DH__JHASH__")}):null,k.jsxs("div",{className:"x78zum5 xdt5ytf x1vd4hg5 xw7yly9 x14aock7 x1rife3k",children:[b,q.map(function(a){var b=a.ineligibilities,e=a.is_disabled,f=a.pixel;a=a.rich_ineligibilities;if(f==null)return null;var g=f.automatic_matching_fields,i=f.creation_time,j=f.id,l=f.last_fired_time,m=f.name;if(j==null||m==null)return null;f=l!=null&&l!==0?h._("__JHASH___8f38wgEIi___JHASH__",[h._param("pixel last fired time",c("formatDate")(l,"M j, Y"))]):i!=null&&i!==0?h._("__JHASH__6sMpibsd4pE__JHASH__",[h._param("pixel creation time",c("formatDate")(i,"M j, Y"))]):null;return k.jsx(c("BusinessCometFBEGeoAssetListItem.react"),{assetName:d("FBEStepReducer").FBEAssets.PIXEL,bodyText:"ID: "+j,headline:m,isDisabled:e===!0,isSelected:j===r.id,onSelect:function(){return w(j,!0,g,m)},richIneligibilities:a,meta:f,ineligibilities:{assetName:"pixel",ineligibilities:b}},j)})]}),k.jsx(c("BusinessCometFBEGeoFooter.react"),{onPrimaryPress:y,primaryEnabled:(r==null?void 0:r.id)!=null||e,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);
-----
BusinessCometFBEGeoPixelCreation_CreatePixelMutation.graphql",["BusinessCometFBEGeoPixelCreation_CreatePixelMutation_facebookRelayOperation"],(function(a,b,c,d,e,f){"use strict";a=function(){var a=[{defaultValue:null,kind:"LocalArgument",name:"input"}],c=[{kind:"Variable",name:"data",variableName:"input"}],d={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},e={alias:null,args:null,kind:"ScalarField",name:"name",storageKey:null},f={alias:null,args:null,kind:"ScalarField",name:"automatic_matching_fields",storageKey:null},g={alias:null,args:null,kind:"ScalarField",name:"enable_automatic_matching",storageKey:null},h={alias:null,args:null,kind:"ScalarField",name:"ineligibilities",storageKey:null},i={alias:null,args:null,kind:"ScalarField",name:"is_disabled",storageKey:null};return{fragment:{argumentDefinitions:a,kind:"Fragment",metadata:null,name:"BusinessCometFBEGeoPixelCreation_CreatePixelMutation",selections:[{alias:null,args:c,concreteType:"FBEPixelWithEligibility",kind:"LinkedField",name:"fbe_create_pixel_with_eligibility",plural:!1,selections:[{alias:null,args:null,concreteType:"AdsPixel",kind:"LinkedField",name:"pixel",plural:!1,selections:[d,e,f,g,{args:null,kind:"FragmentSpread",name:"FBEUnifiedBusinessLoginPixelListItemFragment_pixel"}],storageKey:null},h,i],storageKey:null}],type:"Mutation",abstractKey:null},kind:"Request",operation:{argumentDefinitions:a,kind:"Operation",name:"BusinessCometFBEGeoPixelCreation_CreatePixelMutation",selections:[{alias:null,args:c,concreteType:"FBEPixelWithEligibility",kind:"LinkedField",name:"fbe_create_pixel_with_eligibility",plural:!1,selections:[{alias:null,args:null,concreteType:"AdsPixel",kind:"LinkedField",name:"pixel",plural:!1,selections:[d,e,f,g,{alias:null,args:null,kind:"ScalarField",name:"creation_time",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"last_fired_time",storageKey:null}],storageKey:null},h,i],storageKey:null}]},params:{id:b("BusinessCometFBEGeoPixelCreation_CreatePixelMutation_facebookRelayOperation"),metadata:{},name:"BusinessCometFBEGeoPixelCreation_CreatePixelMutation",operationKind:"mutation",text:null}}}();e.exports=a}),null);
-----
BusinessCometFBEGeoPixelCreation_CreatePixelMutation_facebookRelayOperation",[],(function(a,b,c,d,e,f){e.exports="6468701426574852"}),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);
-----
BusinessCometFBEGeoPixelCreation.react",["fbt","BusinessCometFBEGeoAssetCreationView.react","BusinessCometFBEGeoPixelCreation_CreatePixelMutation.graphql","BusinessCometFBEWebOnboardingContext","CometRelay","FBECometAppStoreUtils","FBEOnboardingActionHandler","FBEStepReducer","FbeFbAppStoreEventFalcoEvent","RelayHooks","fbeOnboardingStateReducer","react","relay-runtime","unrecoverableViolation"],(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="DEFAULT",p=i!==void 0?i:i=b("BusinessCometFBEGeoPixelCreation_CreatePixelMutation.graphql");function q(a){var b=a.businessID,c=a.flow,e=a.instagramID,f=a.pageID;return function(a){var g=a.getRootField("fbe_create_pixel_with_eligibility"),h={input:{business_id:b,flow:c,instagram_id:e,install_source:"FBS_WEB_ONBOARDING",page_id:f}};h=d("relay-runtime").ConnectionHandler.getConnection(a.getRoot(),"FBEQueryConnection_fbe_viewer_pixels_with_channel_data",h);var i=g&&g.getLinkedRecord("pixel"),j=i&&i.getValue("id");if(g!=null&&i!=null&&h!=null&&j!==""){i=d("relay-runtime").ConnectionHandler.createEdge(a,h,g,"FbeViewerPixelsWithChannelDataEdge");i&&d("relay-runtime").ConnectionHandler.insertEdgeBefore(h,i)}}}function a(){var a=m(d("BusinessCometFBEWebOnboardingContext").FBEOnboardingStateContext),b=a.app,e=a.assets,f=a.config,g=b==null?void 0:b.appID;if(g==null)throw c("unrecoverableViolation")("app ID cannot be null","lax_outcomes");var i=e==null?void 0:(b=e.businessManager)==null?void 0:b.id;if(i==null)throw c("unrecoverableViolation")("business ID cannot be null","lax_outcomes");var j=e==null?void 0:(b=e.page)==null?void 0:b.id,r=e==null?void 0:(b=e.ig)==null?void 0:b.id,s=e==null?void 0:(b=e.catalog)==null?void 0:b.id,t=(f==null?void 0:(b=f.setup)==null?void 0:b.channel)||o;b=n(!1);var u=b[0],v=b[1];b=n(null);var w=b[0],x=b[1],y=d("RelayHooks").useRelayEnvironment();b=l(function(b,h){b!=null&&i!=null&&(v(!0),d("CometRelay").commitMutation(y,{mutation:p,onCompleted:function(b){v(!1);b=(b=b.fbe_create_pixel_with_eligibility)==null?void 0:b.pixel;var f=b==null?void 0:b.id,g=b==null?void 0:b.name,i=b==null?void 0:b.automatic_matching_fields;b=b==null?void 0:b.enable_automatic_matching;if(e!=null&&f!=null&&g!=null){e.pixel={automatic_matching_fields:i,enable_automatic_matching:b,id:f,name:g};i=c("fbeOnboardingStateReducer")(a).setAssets(e).getState();d("FBEOnboardingActionHandler").FBEOnboardingActionHandler({actionAsset:{name:d("FBEStepReducer").FBEAssets.PIXEL},actionType:d("FBEStepReducer").FBENavigationStepReducerActionTypes.CREATE_SUCCESS,fbeOnboardingState:i})}h!=null&&h()},onError:function(b){var e,g=d("FBECometAppStoreUtils").FBECometAppStoreLogUtils.getFBELoggingData(a,"asset_creation_fail","pixel_step_creation");g.event_extra={error_message:(e=b.description)!=null?e:"",uri_extras:JSON.stringify((e=f)!=null?e:"")};c("FbeFbAppStoreEventFalcoEvent").log(function(){return g});x(b.description);v(!1)},updater:q({businessID:i,flow:t,instagramID:r,pageID:j}),variables:{input:{app_id:g,business_id:i,catalog_id:s,flow:t,instagram_id:r,page_id:j,pixel_name:b}}}))},[g,i,e,s,f,y,t,r,j,a]);var z=l(function(){x(null)},[]);return k.jsx(c("BusinessCometFBEGeoAssetCreationView.react"),{description:h._("u901au8fc7 Meta Pixel u50cfu7d20u4ee3u7801u83b7u53d6u7684u6570u636euff0cu4e86u89e3u7528u6237u5728u4f60u7f51u7ad9u4e0au7684u64cdu4f5cu5e76u8861u91cfu4f60u7684u5e7fu544au6210u6548u3002"),errorMessage:w,headline:h._("u521bu5efa Pixel u50cfu7d20u4ee3u7801"),hintLabel:"Jasper"s Market Pixel",inputLabel:h._("Pixel u50cfu7d20u4ee3u7801u540du79f0"),isLoading:u,onCancelError:z,onCreate:b,step:"pixel_step_creation"})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98);
-----
BusinessCometFBEGeoPixelSelection.react",["fbt","BusinessCometFBEGeoAssetListHeader.react","BusinessCometFBEGeoAssetListItem.react","BusinessCometFBEGeoFooter.react","BusinessCometFBEGeoPixelCreation.react","BusinessCometFBEGeoPixelSelectionQuery.graphql","BusinessCometFBEGeoStepHeader.react","BusinessCometFBEWebOnboardingContext","FBEOnboardingActionHandler","FBEStepReducer","FBEUnifiedBusinessLoginSkipListItemComponent.react","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("BusinessCometFBEGeoPixelSelectionQuery.graphql");function a(){var a,b,e,f,g=m(d("BusinessCometFBEWebOnboardingContext").FBEOnboardingStateContext),i=g.assets,j=g.channel,p=g.flowSetup;a=p==null?void 0:(a=p.assetsSetup)==null?void 0:(a=a.pixel)==null?void 0:a.canCreateInFlow;p=(p=p==null?void 0:(p=p.assetsSetup)==null?void 0:(p=p.pixel)==null?void 0:p.optional)!=null?p:!1;b=i==null?void 0:(b=i.page)==null?void 0:b.id;e=i==null?void 0:(e=i.ig)==null?void 0:e.id;f=i==null?void 0:(f=i.businessManager)==null?void 0:f.id;if(f==null)throw c("unrecoverableViolation")("business ID cannot be null","lax_outcomes");j={input:{business_id:f,flow:(f=j)!=null?f:"DEFAULT",instagram_id:e,install_source:"FBS_WEB_ONBOARDING",page_id:b}};f=d("RelayHooks").useLazyLoadQuery(o,j);j=(b=(e=f.fbe_viewer_pixels_with_channel_data)==null?void 0:e.edges)!=null?b:[];var q=j.map(function(a){return a.node}).filter(Boolean);f=q.length>0;b=n({automatic_matching_fields:i==null?void 0:(e=i.pixel)==null?void 0:e.automatic_matching_fields,enable_automatic_matching:i==null?void 0:(b=i.pixel)==null?void 0:b.enable_automatic_matching,id:i==null?void 0:(j=i.pixel)==null?void 0:j.id,name:i==null?void 0:(e=i.pixel)==null?void 0:e.name});var r=b[0],s=b[1];j=n(!1);e=j[0];var t=j[1];b=n(!0);var u=b[0],v=b[1],w=l(function(a,b,c,d){v(b),a!=null&&d!=null&&(s({automatic_matching_fields:c,enable_automatic_matching:b,id:a,name:d}),t(!1))},[v,s]);j=l(function(){s({automatic_matching_fields:[],enable_automatic_matching:null,id:null,name:null}),t(!0)},[]);c("useFBEAppStoreLogger")(g,"pixel_step","display_step");function x(){d("FBEOnboardingActionHandler").FBEOnboardingActionHandler({actionAsset:{name:d("FBEStepReducer").FBEAssets.PIXEL},actionType:d("FBEStepReducer").FBENavigationStepReducerActionTypes.ASSET_CREATE,fbeOnboardingState:c("fbeOnboardingStateReducer")(g).getState()})}function y(){var a=c("fbeOnboardingStateReducer")(g);if(i!=null){var b,e=q.find(function(a){a=a.pixel;return(a==null?void 0:a.id)==null?!1:a.id===r.id});i.pixel={automatic_matching_fields:e==null?void 0:(b=e.pixel)==null?void 0:b.automatic_matching_fields,enable_automatic_matching:e==null?void 0:(b=e.pixel)==null?void 0:b.enable_automatic_matching,id:e==null?void 0:(b=e.pixel)==null?void 0:b.id,name:e==null?void 0:(b=e.pixel)==null?void 0:b.name};a=a.setAssets(i).setAutomaticMatchingEnabled(u)}d("FBEOnboardingActionHandler").FBEOnboardingActionHandler({actionAsset:{name:d("FBEStepReducer").FBEAssets.PIXEL},actionType:d("FBEStepReducer").FBENavigationStepReducerActionTypes.CONTINUE,fbeOnboardingState:a.getState()})}if(!f)return k.jsx(c("BusinessCometFBEGeoPixelCreation.react"),{});b=p?k.jsx(c("FBEUnifiedBusinessLoginSkipListItemComponent.react"),{body:h._("u5982u679cu4f60u6ca1u6709u7b26u5408u6761u4ef6u7684 Pixel u50cfu7d20u4ee3u7801uff0cu8bf7u9009u62e9u6b64u9879"),header:"Skip connecting to Pixel",isDisabled:!1,isLastItem:q.length===0,isSelected:e,onSelect:j}):null;return k.jsxs(k.Fragment,{children:[k.jsx(c("BusinessCometFBEGeoStepHeader.react"),{description:h._("u9009u62e9u5e0cu671bu7ed1u5b9au7684 Pixel u50cfu7d20u4ee3u7801u3002"),heading:h._("u9009u62e9 Pixel u50cfu7d20u4ee3u7801")}),a===!0?k.jsx(c("BusinessCometFBEGeoAssetListHeader.react"),{action:{handleClick:x,label:h._("u65b0u5efa")},heading:h._("Pixel u50cfu7d20u4ee3u7801")}):null,k.jsxs("div",{className:"x78zum5 xdt5ytf x1vd4hg5 xw7yly9 x14aock7 x1rife3k",children:[b,q.map(function(a){var b=a.ineligibilities,e=a.is_disabled,f=a.pixel;a=a.rich_ineligibilities;if(f==null)return null;var g=f.automatic_matching_fields,i=f.creation_time,j=f.id,l=f.last_fired_time,m=f.name;if(j==null||m==null)return null;f=l!=null&&l!==0?h._("u4e0au6b21u89e6u53d1uff1a{pixel last fired time}",[h._param("pixel last fired time",c("formatDate")(l,"M j, Y"))]):i!=null&&i!==0?h._("u521bu5efau65f6u95f4uff1a{pixel creation time}",[h._param("pixel creation time",c("formatDate")(i,"M j, Y"))]):null;return k.jsx(c("BusinessCometFBEGeoAssetListItem.react"),{assetName:d("FBEStepReducer").FBEAssets.PIXEL,bodyText:"ID: "+j,headline:m,isDisabled:e===!0,isSelected:j===r.id,onSelect:function(){return w(j,!0,g,m)},richIneligibilities:a,meta:f,ineligibilities:{assetName:"pixel",ineligibilities:b}},j)})]}),k.jsx(c("BusinessCometFBEGeoFooter.react"),{onPrimaryPress:y,primaryEnabled:(r==null?void 0:r.id)!=null||e,secondaryButtonText:null})]})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98);
-----
BusinessCometFBEGeoPixelCreation_CreatePixelMutation.graphql",["BusinessCometFBEGeoPixelCreation_CreatePixelMutation_facebookRelayOperation"],(function(a,b,c,d,e,f){"use strict";a=function(){var a=[{defaultValue:null,kind:"LocalArgument",name:"input"}],c=[{kind:"Variable",name:"data",variableName:"input"}],d={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},e={alias:null,args:null,kind:"ScalarField",name:"name",storageKey:null},f={alias:null,args:null,kind:"ScalarField",name:"automatic_matching_fields",storageKey:null},g={alias:null,args:null,kind:"ScalarField",name:"enable_automatic_matching",storageKey:null},h={alias:null,args:null,kind:"ScalarField",name:"ineligibilities",storageKey:null},i={alias:null,args:null,kind:"ScalarField",name:"is_disabled",storageKey:null};return{fragment:{argumentDefinitions:a,kind:"Fragment",metadata:null,name:"BusinessCometFBEGeoPixelCreation_CreatePixelMutation",selections:[{alias:null,args:c,concreteType:"FBEPixelWithEligibility",kind:"LinkedField",name:"fbe_create_pixel_with_eligibility",plural:!1,selections:[{alias:null,args:null,concreteType:"AdsPixel",kind:"LinkedField",name:"pixel",plural:!1,selections:[d,e,f,g,{args:null,kind:"FragmentSpread",name:"FBEUnifiedBusinessLoginPixelListItemFragment_pixel"}],storageKey:null},h,i],storageKey:null}],type:"Mutation",abstractKey:null},kind:"Request",operation:{argumentDefinitions:a,kind:"Operation",name:"BusinessCometFBEGeoPixelCreation_CreatePixelMutation",selections:[{alias:null,args:c,concreteType:"FBEPixelWithEligibility",kind:"LinkedField",name:"fbe_create_pixel_with_eligibility",plural:!1,selections:[{alias:null,args:null,concreteType:"AdsPixel",kind:"LinkedField",name:"pixel",plural:!1,selections:[d,e,f,g,{alias:null,args:null,kind:"ScalarField",name:"creation_time",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"last_fired_time",storageKey:null}],storageKey:null},h,i],storageKey:null}]},params:{id:b("BusinessCometFBEGeoPixelCreation_CreatePixelMutation_facebookRelayOperation"),metadata:{},name:"BusinessCometFBEGeoPixelCreation_CreatePixelMutation",operationKind:"mutation",text:null}}}();e.exports=a}),null);
-----
BusinessCometFBEGeoPixelCreation_CreatePixelMutation_facebookRelayOperation",[],(function(a,b,c,d,e,f){e.exports="6468701426574852"}),null);
-----