AdsEventsManagerPixelCAPIBundleSetupModalQuery.graphql",[],(function(a,b,c,d,e,f){"use strict";a=function(){var a=[{defaultValue:null,kind:"LocalArgument",name:"primarySignalContainerID"}],b=[{kind:"Variable",name:"id",variableName:"primarySignalContainerID"}],c={alias:null,args:null,kind:"ScalarField",name:"capi_adoption_aly_cpa_reduction",storageKey:null};return{fragment:{argumentDefinitions:a,kind:"Fragment",metadata:null,name:"AdsEventsManagerPixelCAPIBundleSetupModalQuery",selections:[{alias:null,args:b,concreteType:"XFBOffsiteSignalContainerCluster",kind:"LinkedField",name:"fetch__XFBOffsiteSignalContainerCluster",plural:!1,selections:[c],storageKey:null}],type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:a,kind:"Operation",name:"AdsEventsManagerPixelCAPIBundleSetupModalQuery",selections:[{alias:null,args:b,concreteType:"XFBOffsiteSignalContainerCluster",kind:"LinkedField",name:"fetch__XFBOffsiteSignalContainerCluster",plural:!1,selections:[c,{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null}],storageKey:null}]},params:{id:"24457778700589159",metadata:{},name:"AdsEventsManagerPixelCAPIBundleSetupModalQuery",operationKind:"query",text:null}}}();e.exports=a}),null);
-----
AdsEventsManagerPixelCAPIBundleSetupModal.entrypoint.react",["fbt","ix","AdsCAPISetupWithCAPIGRecommendationModalEntryPoints","AdsEventsManagerAssets","AdsEventsManagerConnectDataSetToAdAccountOpenModalAction","AdsEventsManagerCreateNewDataSetOpenModalAction","AdsEventsManagerPixelCAPIBundleSetupModalQuery.graphql","AdsEventsManagerPixelCAPIBundleSetupUtils","AdsEventsManagerPixelCAPIBundledModalAssets","AdsMgmtPixelIDProvider","EventsManagerALAnalyticsSurface","GeoButton.react","GeoFlexbox.react","GeoHeading.react","GeoIcon.react","GeoIllustrationModal.react","GeoLink.react","GeoModalFooter.react","GeoSection.react","GeoSelectableTile.react","GeoSelectableTileGroup.react","GeoText.react","Image.react","Laminar","RelayHooks","SignalsConversionsAPISetupModalWithCAPIGRecommendationAction","SignalsErrorBoundary.react","SignalsLoggingBoundary.react","SignalsPixelSetupFlowOpenModalAction","geoMargin","meta-brand-triangle-down-filled-12","meta-brand-triangle-up-filled-12","react"],(function(a,b,c,d,e,f,g,h,i){"use strict";var j,k,l=k||(k=d("react"));e=k;var m=e.useEffect,n=e.useState,o={modal:{width:"x14rvwrp",$$css:!0}},p=j!==void 0?j:j=b("AdsEventsManagerPixelCAPIBundleSetupModalQuery.graphql");function a(a){var b=a.adAccountID,e=a.businessID,g=a.isFromDatasetCreationFlow,j=a.onHide,k=a.previouslySelectedAdAccountIDs;a=a.shouldShowBundledSetup;var q=d("Laminar").useProvider(c("AdsMgmtPixelIDProvider")),r=q.pixelID;q=(q=d("RelayHooks").useLazyLoadQuery(p,{primarySignalContainerID:r!=null?r:""}).fetch__XFBOffsiteSignalContainerCluster)!=null?q:{};q=q.capi_adoption_aly_cpa_reduction;var s=n(d("AdsEventsManagerPixelCAPIBundledModalAssets").SetupOptionsEnum.NONE),t=s[0],u=s[1];s=n(!1);var v=s[0],w=s[1];s=n(!1);var x=s[0],y=s[1];m(function(){x===!1&&(w(!0),y(!1))},[x]);var z=function(){j("layerHideButton")};s=function(){z(),g?c("AdsEventsManagerCreateNewDataSetOpenModalAction").dispatch({actionSourceVariation:"PIXEL",adAccountID:b,businessID:e},{line:"137",module:"AdsEventsManagerPixelCAPIBundleSetupModal.entrypoint.react.js",moduleID:f.id}):c("AdsEventsManagerConnectDataSetToAdAccountOpenModalAction").dispatch({actionSourceVariation:"PIXEL",previouslySelectedAdAccountIDs:k},{line:"143",module:"AdsEventsManagerPixelCAPIBundleSetupModal.entrypoint.react.js",moduleID:f.id})};var A=function(){z(),t===d("AdsEventsManagerPixelCAPIBundledModalAssets").SetupOptionsEnum.PIXEL?c("SignalsPixelSetupFlowOpenModalAction").dispatch({isModalShown:!0,pixelId:r},{line:"153",module:"AdsEventsManagerPixelCAPIBundleSetupModal.entrypoint.react.js",moduleID:f.id}):t===d("AdsEventsManagerPixelCAPIBundledModalAssets").SetupOptionsEnum.CAPI&&c("SignalsConversionsAPISetupModalWithCAPIGRecommendationAction").dispatch({entryPoint:d("AdsCAPISetupWithCAPIGRecommendationModalEntryPoints").AdsCAPISetupWithCAPIGRecommendationModalEntryPoints.EVENTS_MANAGER_PIXEL_CAPI_BUNDLE_SETUP_MODAL,isFromDatasetCreationFlow:g,isModalShown:!0},{line:"158",module:"AdsEventsManagerPixelCAPIBundleSetupModal.entrypoint.react.js",moduleID:f.id})};return l.jsx(d("EventsManagerALAnalyticsSurface").EventsManagerALAnalyticsModule,{autologOnly:!0,module:"PIXEL_CAPI_BUNDLED_SETUP_MODAL",children:l.jsx(c("GeoIllustrationModal.react"),{footer:l.jsx(c("GeoModalFooter.react"),{primaryButton:l.jsx(c("GeoButton.react"),{label:h._(/*BTDS*/"Next"),variant:"primary",onClick:A}),secondaryButton:l.jsx(c("GeoButton.react"),{label:h._(/*BTDS*/"Back"),variant:"default",onClick:s})}),heading:d("AdsEventsManagerPixelCAPIBundledModalAssets").CONNECT_YOUR_WEB_DATA_HEADER,image:l.jsx(c("Image.react"),{height:"240px",objectFit:"contain",objectPosition:"center",src:i("933454"),width:"600px"}),isShown:!0,width:"auto",onHide:z,children:l.jsxs(c("GeoFlexbox.react"),{direction:"column",xstyle:o.modal,children:[l.jsxs(c("GeoSection.react"),{children:[l.jsx(c("GeoHeading.react"),{level:2,children:d("AdsEventsManagerPixelCAPIBundledModalAssets").CONNECT_YOUR_WEB_DATA_HEADER}),l.jsx(c("GeoText.react"),{children:d("AdsEventsManagerPixelCAPIBundledModalAssets").CONNECT_YOUR_WEB_DATA_DESCRIPTION})]}),x&&l.jsx(c("GeoLink.react"),{xstyle:c("geoMargin").horiz16,onClick:function(){w(!v)},children:l.jsxs(c("GeoFlexbox.react"),{alignItems:"center",children:[v?d("AdsEventsManagerPixelCAPIBundledModalAssets").SEE_LESS:d("AdsEventsManagerPixelCAPIBundledModalAssets").SEE_OTHER_WAYS_TO_SET_UP,l.jsx(c("GeoIcon.react"),{color:"blue",icon:v?d("meta-brand-triangle-up-filled-12").metaBrandTriangleUpFilled12:d("meta-brand-triangle-down-filled-12").metaBrandTriangleDownFilled12,xstyle:c("geoMargin").start4})]})}),v?a?x===!1?l.jsx(c("GeoFlexbox.react"),{xstyle:[c("geoMargin").horiz24,c("geoMargin").top16],children:d("AdsEventsManagerPixelCAPIBundleSetupUtils").getOtherWaysToSetupContent(x,q!=null?q:0)}):l.jsx(c("GeoFlexbox.react"),{xstyle:c("geoMargin").all16,children:l.jsx(c("GeoSelectableTileGroup.react"),{columns:1,gutter:16,orientation:"horizontal",selectionType:"single",value:t,onChange:function(a){return u(a!=null?a:d("AdsEventsManagerPixelCAPIBundledModalAssets").SetupOptionsEnum.NONE)},children:l.jsx(c("GeoSelectableTile.react"),{content:t===d("AdsEventsManagerPixelCAPIBundledModalAssets").SetupOptionsEnum.PIXEL_CAPI_BUNDLE?d("AdsEventsManagerPixelCAPIBundleSetupUtils").getOtherWaysToSetupContent(x,q!=null?q:0):null,density:"sparse",description:d("AdsEventsManagerPixelCAPIBundledModalAssets").OTHER_WAYS_TO_SET_UP_OPTION_DESCRIPTION,heading:d("AdsEventsManagerPixelCAPIBundledModalAssets").OTHER_WAYS_TO_SET_UP_OPTION_TITLE,isBordered:!0,media:l.jsx(c("Image.react"),{src:d("AdsEventsManagerPixelCAPIBundledModalAssets").WRENCH_ICON}),value:d("AdsEventsManagerPixelCAPIBundledModalAssets").SetupOptionsEnum.PIXEL_CAPI_BUNDLE})})}):l.jsx(c("GeoFlexbox.react"),{xstyle:c("geoMargin").all16,children:l.jsxs(c("GeoSelectableTileGroup.react"),{columns:1,gutter:16,orientation:"horizontal",selectionType:"single",value:t,onChange:function(a){return u(a!=null?a:d("AdsEventsManagerPixelCAPIBundledModalAssets").SetupOptionsEnum.NONE)},children:[l.jsx(c("GeoSelectableTile.react"),{content:t===d("AdsEventsManagerPixelCAPIBundledModalAssets").SetupOptionsEnum.PIXEL?d("AdsEventsManagerPixelCAPIBundleSetupUtils").getPixelContent():null,density:"sparse",heading:d("AdsEventsManagerPixelCAPIBundledModalAssets").SET_UP_META_PIXEL_OPTION_TITLE,isBordered:!0,media:l.jsx(c("Image.react"),{src:d("AdsEventsManagerAssets").PIXEL_ICON}),value:d("AdsEventsManagerPixelCAPIBundledModalAssets").SetupOptionsEnum.PIXEL}),l.jsx(c("GeoSelectableTile.react"),{content:t===d("AdsEventsManagerPixelCAPIBundledModalAssets").SetupOptionsEnum.CAPI?d("AdsEventsManagerPixelCAPIBundleSetupUtils").getCAPIContent(q!=null?q:0):null,density:"sparse",heading:d("AdsEventsManagerPixelCAPIBundledModalAssets").SET_UP_CAPI_OPTION_TITLE,isBordered:!0,media:l.jsx(c("Image.react"),{src:d("AdsEventsManagerAssets").CONVERSIONS_API_ICON_H1_2025}),value:d("AdsEventsManagerPixelCAPIBundledModalAssets").SetupOptionsEnum.CAPI})]})}):null]})})})}a.displayName=a.name+" [from "+f.id+"]";e=c("SignalsLoggingBoundary.react").loggerConsumingComponent(c("SignalsErrorBoundary.react").withErrorBoundary(a),function(a){return a.scope("PIXEL_CAPI_BUNDLE_SETUP")},{disableSessionCreation:!0});g["default"]=e}),226);
-----