AdsEventsManagerNotifCenterCRMCAPISetupGuidanceCardContainer.react",["AdsEventsManagerNotifCenterCRMCAPISetupGuidanceAssets","AdsEventsManagerNotifCenterCRMCAPISetupGuidanceCardContainerMutation.graphql","AdsEventsManagerNotifCenterCRMCAPISetupGuidanceCardContainer_Query.graphql","AdsEventsManagerNotificationCenterRecommendationTaskCard.react","AdsFluxHooks","LeadGenAdsCreditUtils","RelayHooks","XAdsEventsManagerControllerRouteBuilder","adsEventsManagerBusinessIDSelector","goUriOnNewWindow","justknobx","nullthrows","react","react-compiler-runtime"],(function(D,N,a,t,H,T,k){"use strict";var _,f,g,U=g||(g=t("react")),L=g.useEffect;function Q(s){var h,e=t("react-compiler-runtime").c(20),I=s.affectedDataSources,E=s.messageKeyGroupName,S=s.messages,R=s.severity,n=t("AdsFluxHooks").useAdsSelector(a("adsEventsManagerBusinessIDSelector")),i;e[0]===Symbol.for("react.memo_cache_sentinel")?(i=_!==void 0?_:_=N("AdsEventsManagerNotifCenterCRMCAPISetupGuidanceCardContainerMutation.graphql"),e[0]=i):i=e[0];var x=t("RelayHooks").useMutation(i),C=x[0],q=t("RelayHooks").useLazyLoadQuery(f!==void 0?f:f=N("AdsEventsManagerNotifCenterCRMCAPISetupGuidanceCardContainer_Query.graphql"),{businessId:a("nullthrows")(n)}),o,d;e[1]!==n||e[2]!==C?(o=function(){n!=null&&C({variables:{businessID:n}})},d=[n,C],e[1]=n,e[2]=C,e[3]=o,e[4]=d):(o=e[3],d=e[4]),L(o,d);var u=((h=q.business)==null?void 0:h.clo_ads_credit_eligibility_tier)||"INELIGIBLE",c,r;if(e[5]!==u){r=Symbol.for("react.early_return_sentinel");e:{var b=t("LeadGenAdsCreditUtils").getCreditAmountForTier(u);if(!a("justknobx")._("1118")||u==="INELIGIBLE"||b==null){r=null;break e}c=t("AdsEventsManagerNotifCenterCRMCAPISetupGuidanceAssets").getCRMCAPISetupGuidanceTitle(b)}e[5]=u,e[6]=c,e[7]=r}else c=e[6],r=e[7];if(r!==Symbol.for("react.early_return_sentinel"))return r;var G=c,l;e[8]!==n?(l=function(){var w=a("XAdsEventsManagerControllerRouteBuilder").buildURL({business_id:a("nullthrows")(n),dialog:"crm_get_started"});a("goUriOnNewWindow")(w)},e[8]=n,e[9]=l):l=e[9];var P=l,A;e[10]!==P?(A=[{label:t("AdsEventsManagerNotifCenterCRMCAPISetupGuidanceAssets").CRM_CAPI_SETUP_GUIDANCE_CTA,onClick:function(){P()},type:"button",variant:"primary"}],e[10]=P,e[11]=A):A=e[11];var y=A,M;e[12]===Symbol.for("react.memo_cache_sentinel")?(M=t("AdsEventsManagerNotifCenterCRMCAPISetupGuidanceAssets").getCRMCAPISetupGuidanceDescription(),e[12]=M):M=e[12];var v;return e[13]!==I||e[14]!==y||e[15]!==G||e[16]!==E||e[17]!==S||e[18]!==R?(v=U.jsx(a("AdsEventsManagerNotificationCenterRecommendationTaskCard.react"),{callToActions:y,dataSources:I,description:M,imageContent:t("AdsEventsManagerNotifCenterCRMCAPISetupGuidanceAssets").CRM_CAPI_SETUP_GUIDANCE_ILLUSTRATION,messageKeyGroupName:E,messages:S,severity:R,subtitle:t("AdsEventsManagerNotifCenterCRMCAPISetupGuidanceAssets").CRM_CAPI_SETUP_GUIDANCE_SUBTITLE,title:G}),e[13]=I,e[14]=y,e[15]=G,e[16]=E,e[17]=S,e[18]=R,e[19]=v):v=e[19],v}var m=t("AdsFluxHooks").adsFluxContainer(Q,null,{containerName:T.id});k.default=m}),98);
-----
AdsEventsManagerNotifCenterCRMCAPISetupGuidanceCardContainerMutation.graphql",[],(function(a,b,c,d,e,f){"use strict";a=function(){var a=[{defaultValue:null,kind:"LocalArgument",name:"businessID"}],b=[{alias:null,args:[{fields:[{kind:"Variable",name:"business_id",variableName:"businessID"}],kind:"ObjectValue",name:"input"}],kind:"ScalarField",name:"xfb_upsert_business_ad_account_has_seen_feature",storageKey:null}];return{fragment:{argumentDefinitions:a,kind:"Fragment",metadata:null,name:"AdsEventsManagerNotifCenterCRMCAPISetupGuidanceCardContainerMutation",selections:b,type:"Mutation",abstractKey:null},kind:"Request",operation:{argumentDefinitions:a,kind:"Operation",name:"AdsEventsManagerNotifCenterCRMCAPISetupGuidanceCardContainerMutation",selections:b},params:{id:"24231585169784233",metadata:{},name:"AdsEventsManagerNotifCenterCRMCAPISetupGuidanceCardContainerMutation",operationKind:"mutation",text:null}}}();e.exports=a}),null);
-----