LeadGenAdsCreditBanner.react",["fbt","ConversionAPILeadAdsStatContent","GeoButton.react","GeoGuidanceCard.react","GeoGuidanceCardContent.react","GeoGuidanceCardHeader.react","GeoLink.react","GeoTooltip.react","LeadGenAdsCreditBannerAcceptMutation.graphql","LeadGenAdsCreditBannerMutation.graphql","LeadGenSVConversionLeadsOptimizationSitevarConfig","RelayHooks","geoMargin","nullthrows","react","react-compiler-runtime"],(function(t,n,r,o,a,i,l,s){"use strict";var e,u,c,d=c||(c=o("react")),m=c.useEffect,p=e!==void 0?e:e=n("LeadGenAdsCreditBannerMutation.graphql"),_=u!==void 0?u:u=n("LeadGenAdsCreditBannerAcceptMutation.graphql");function f(e){var t=o("react-compiler-runtime").c(48),n=e.businessID,a=e.creditAmount,i=e.onGetStarted,l=e.onShowModal,u=e.setupState,c=o("RelayHooks").useMutation(p),f=c[0],g=o("RelayHooks").useMutation(_),h=g[0],y,C;t[0]!==n||t[1]!==f?(y=function(){n!=null&&f({variables:{businessID:r("nullthrows")(n)}})},C=[n,f],t[0]=n,t[1]=f,t[2]=y,t[3]=C):(y=t[2],C=t[3]),m(y,C);var b;if(t[4]!==a){var v;t[6]===Symbol.for("react.memo_cache_sentinel")?(v=d.jsx(r("GeoTooltip.react"),{content:o("ConversionAPILeadAdsStatContent").CAPI_LEAD_ADS_LIFT_CITATION,children:"[1]"}),t[6]=v):v=t[6],b=s._(/*BTDS*/"Get {credit amount} ad credit on an instant form campaign when you finish setting up your CRM connection in Conversions API. Conversions API with CRM can lower your cost per quality lead by {number of cost reduction}u0025 {number of cost reduction tooltip}. Quantities are limited.",[s._param("credit amount",a),s._param("number of cost reduction",r("LeadGenSVConversionLeadsOptimizationSitevarConfig").apps.integrated_cpql_reduction_str),s._param("number of cost reduction tooltip",v)]),t[4]=a,t[5]=b}else b=t[5];var S;t[7]===Symbol.for("react.memo_cache_sentinel")?(S=d.jsx(r("GeoLink.react"),{href:"https://www.facebook.com/legal/couponterms",children:s._(/*BTDS*/"terms apply")}),t[7]=S):S=t[7];var R;t[8]!==b?(R=d.jsxs(d.Fragment,{children:[b," ",S,". Expires December 31, 2026. Applies for 90 days after you publish."]}),t[8]=b,t[9]=R):R=t[9];var L,E;if(t[10]!==a){L=s._(/*BTDS*/"Finish setting up your CRM connection to claim a {credit amount} ad credit",[s._param("credit amount",a)]);var k;t[13]===Symbol.for("react.memo_cache_sentinel")?(k=d.jsx(r("GeoTooltip.react"),{content:o("ConversionAPILeadAdsStatContent").CAPI_LEAD_ADS_LIFT_CITATION,children:"[1]"}),t[13]=k):k=t[13],E=s._(/*BTDS*/"Set up sales funnel events in Conversions API and get a {credit amount} ad credit towards an instant form campaign. Conversions API for CRM can lower your cost per quality lead by {number of cost reduction}u0025 {number of cost reduction tooltip}. Must select Get started to qualify. Quantities are limited.",[s._param("credit amount",a),s._param("number of cost reduction",r("LeadGenSVConversionLeadsOptimizationSitevarConfig").apps.integrated_cpql_reduction_str),s._param("number of cost reduction tooltip",k)]),t[10]=a,t[11]=L,t[12]=E}else L=t[11],E=t[12];var I,T;t[14]===Symbol.for("react.memo_cache_sentinel")?(I=d.jsx(r("GeoLink.react"),{href:"https://www.facebook.com/legal/couponterms",children:s._(/*BTDS*/"terms apply")}),T=s._(/*BTDS*/". Expires December 31, 2026 and applies for 90 days after you publish."),t[14]=I,t[15]=T):(I=t[14],T=t[15]);var D;t[16]!==E?(D=d.jsxs(d.Fragment,{children:[E," ",I,T]}),t[16]=E,t[17]=D):D=t[17];var x;t[18]!==a?(x=s._(/*BTDS*/"Get {credit amount} towards an instant forms campaign when you connect your CRM with Conversions API",[s._param("credit amount",a)]),t[18]=a,t[19]=x):x=t[19];var $;t[20]!==x||t[21]!==R||t[22]!==L||t[23]!==D?($={IN_PROGRESS_DESCRIPTION:R,IN_PROGRESS_TITLE:L,UPSELL_DESCRIPTION:D,UPSELL_TITLE:x},t[20]=x,t[21]=R,t[22]=L,t[23]=D,t[24]=$):$=t[24];var P=$,N=u==="IN_PROGRESS"?P.IN_PROGRESS_TITLE:P.UPSELL_TITLE,M=u==="IN_PROGRESS"?P.IN_PROGRESS_DESCRIPTION:P.UPSELL_DESCRIPTION,w;t[25]!==N?(w=d.jsx(r("GeoGuidanceCardHeader.react"),{heading:N}),t[25]=N,t[26]=w):w=t[26];var A;t[27]!==M?(A=d.jsx("div",{children:M}),t[27]=M,t[28]=A):A=t[28];var F;t[29]===Symbol.for("react.memo_cache_sentinel")?(F={className:"x6s0dn4 x78zum5 x1q0g3np xw7yly9"},t[29]=F):F=t[29];var O;t[30]===Symbol.for("react.memo_cache_sentinel")?(O=s._(/*BTDS*/"Get started"),t[30]=O):O=t[30];var B;t[31]!==n||t[32]!==h||t[33]!==i?(B=d.jsx(r("GeoButton.react"),{label:O,onClick:function(){i(),h({variables:{businessID:r("nullthrows")(n)}})}}),t[31]=n,t[32]=h,t[33]=i,t[34]=B):B=t[34];var W;t[35]===Symbol.for("react.memo_cache_sentinel")?(W={className:"xq1n1xh"},t[35]=W):W=t[35];var q;t[36]===Symbol.for("react.memo_cache_sentinel")?(q=s._(/*BTDS*/"See how it works"),t[36]=q):q=t[36];var U;t[37]!==l?(U=d.jsx("div",babelHelpers.extends({},W,{children:d.jsx(r("GeoLink.react"),{onClick:l,children:q})})),t[37]=l,t[38]=U):U=t[38];var V;t[39]!==B||t[40]!==U?(V=d.jsxs("div",babelHelpers.extends({},F,{children:[B,U]})),t[39]=B,t[40]=U,t[41]=V):V=t[41];var H;t[42]!==A||t[43]!==V?(H=d.jsxs(r("GeoGuidanceCardContent.react"),{children:[A,V]}),t[42]=A,t[43]=V,t[44]=H):H=t[44];var G;return t[45]!==w||t[46]!==H?(G=d.jsx(r("GeoGuidanceCard.react"),{header:w,isProgressiveDisclosureEnabled_INTERNAL_DO_NOT_USE:!1,status:"recommendation",xstyle:r("geoMargin").bottom16,children:H}),t[45]=w,t[46]=H,t[47]=G):G=t[47],G}l.default=f}),226);
-----
LeadGenAdsCreditBannerMutation.graphql",["LeadGenAdsCreditBannerMutation_facebookRelayOperation"],(function(a,b,c,d,e,f){"use strict";a=function(){var a=[{defaultValue:null,kind:"LocalArgument",name:"businessID"}],c=[{alias:null,args:[{fields:[{kind:"Variable",name:"business_id",variableName:"businessID"},{kind:"Literal",name:"surface",value:"MBS_INSTANT_FORMS_BANNER"}],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:"LeadGenAdsCreditBannerMutation",selections:c,type:"Mutation",abstractKey:null},kind:"Request",operation:{argumentDefinitions:a,kind:"Operation",name:"LeadGenAdsCreditBannerMutation",selections:c},params:{id:b("LeadGenAdsCreditBannerMutation_facebookRelayOperation"),metadata:{},name:"LeadGenAdsCreditBannerMutation",operationKind:"mutation",text:null}}}();e.exports=a}),null);
-----
LeadGenAdsCreditBannerMutation_facebookRelayOperation",[],(function(a,b,c,d,e,f){e.exports="24784387617863835"}),null);
-----
-----
LeadGenAdsCreditBannerMutation.graphql",["LeadGenAdsCreditBannerMutation_facebookRelayOperation"],(function(a,b,c,d,e,f){"use strict";a=function(){var a=[{defaultValue:null,kind:"LocalArgument",name:"businessID"}],c=[{alias:null,args:[{fields:[{kind:"Variable",name:"business_id",variableName:"businessID"},{kind:"Literal",name:"surface",value:"MBS_INSTANT_FORMS_BANNER"}],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:"LeadGenAdsCreditBannerMutation",selections:c,type:"Mutation",abstractKey:null},kind:"Request",operation:{argumentDefinitions:a,kind:"Operation",name:"LeadGenAdsCreditBannerMutation",selections:c},params:{id:b("LeadGenAdsCreditBannerMutation_facebookRelayOperation"),metadata:{},name:"LeadGenAdsCreditBannerMutation",operationKind:"mutation",text:null}}}();e.exports=a}),null);
-----
LeadGenAdsCreditBannerMutation_facebookRelayOperation",[],(function(a,b,c,d,e,f){e.exports="24784387617863835"}),null);
-----