AdsLeadGenLeadNurturingHubSectionChatBuilderSection.react",["fbt","AdsLeadGen3pSelectionEligibilityCheck","AdsLeadGenLeadNurturingHubSectionChatBuilderBuiltInTabSection.react","AdsLeadGenLeadNurturingHubSectionChatBuilderPartnerTemplateTabSection.react","AdsLeadGenLeadNurturingHubSectionChatBuilderSectionPageIdQuery.graphql","AdsLeadGenLeadNurturingHubSectionChatBuilderSectionQuery.graphql","AdsUEditorHooks","GeoBaseText.react","GeoHeading.react","GeoTab.react","GeoTabGroup.react","GeoTooltip.react","geoMargin","react","react-relay","stylex","useAdsUEditorSelectedAdgroupRelayIDs"],(function(t,n,r,o,a,i,l,s){"use strict";var e,u,c,d,m=d||(d=o("react"));function p(t){var a,i,l=t.partnerFlow,d=t.selectedTab,p=t.setSelectedTab,_=o("AdsUEditorHooks").useUEditorAdgroupContext(),f=r("useAdsUEditorSelectedAdgroupRelayIDs")(_),g=e!==void 0?e:e=n("AdsLeadGenLeadNurturingHubSectionChatBuilderSectionPageIdQuery.graphql"),h=o("react-relay").useClientQuery(g,{adgroupRelayIDs:f}),y=h==null||(a=h.account)==null||(a=a.combined_adgroups)==null||(a=a[0])==null||(a=a.creative)==null||(a=a.object_story_spec)==null?void 0:a.page_id,C=u!==void 0?u:u=n("AdsLeadGenLeadNurturingHubSectionChatBuilderSectionQuery.graphql"),b=o("react-relay").useLazyLoadQuery(C,{input:{page_id:y!=null?y:""}}),v=o("AdsLeadGen3pSelectionEligibilityCheck").AdsLeadGen3pSelectionEligibilityCheck(((i=b.welcome_message_flows)==null?void 0:i.has_welcome_message_flows)===!0);return m.jsxs(m.Fragment,{children:[m.jsxs("div",babelHelpers.extends({},(c||(c=r("stylex"))).props(r("geoMargin").bottom16),{children:[m.jsx(r("GeoHeading.react"),{level:4,tooltip:m.jsx(r("GeoTooltip.react"),{content:s._(/*BTDS*/"Use Chat Builder to create, customize and review greetings, calls to action, frequently asked questions and automated responses that will appear within your lead"),heading:s._(/*BTDS*/"Chat builder")}),children:s._(/*BTDS*/"Chat builder")}),m.jsx(r("GeoBaseText.react"),{color:"placeholder",size:"value",children:s._(/*BTDS*/"Set up customized follow-up message templates and automations to start meaningful conversations.")})]})),m.jsx("div",babelHelpers.extends({},c.props(r("geoMargin").bottom12),{children:m.jsxs(r("GeoTabGroup.react"),{value:d,onChange:p,children:[m.jsx(r("GeoTab.react"),{"data-testid":void 0,label:s._(/*BTDS*/"Built-in automation"),value:"built_in_automation"}),v?m.jsx(r("GeoTab.react"),{"data-testid":void 0,label:s._(/*BTDS*/"Partner template"),value:"partner_template"}):null]})})),d==="built_in_automation"?m.jsx(r("AdsLeadGenLeadNurturingHubSectionChatBuilderBuiltInTabSection.react"),{}):null,d==="partner_template"?m.jsx(r("AdsLeadGenLeadNurturingHubSectionChatBuilderPartnerTemplateTabSection.react"),{partnerFlow:l}):null]})}p.displayName=p.name+" [from "+i.id+"]",l.default=p}),226);
-----
AdsLeadGenLeadNurturingHubSectionChatBuilderSectionQuery.graphql",[],(function(t,n,r,o,a,i){"use strict";var e=(function(){var e=[{defaultValue:null,kind:"LocalArgument",name:"input"}],t=[{alias:null,args:[{kind:"Variable",name:"data",variableName:"input"}],concreteType:"HasWelcomeMessageFlowsResponse",kind:"LinkedField",name:"welcome_message_flows",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"has_welcome_message_flows",storageKey:null}],storageKey:null}];return{fragment:{argumentDefinitions:e,kind:"Fragment",metadata:null,name:"AdsLeadGenLeadNurturingHubSectionChatBuilderSectionQuery",selections:t,type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:e,kind:"Operation",name:"AdsLeadGenLeadNurturingHubSectionChatBuilderSectionQuery",selections:t},params:{id:"24965628523077283",metadata:{},name:"AdsLeadGenLeadNurturingHubSectionChatBuilderSectionQuery",operationKind:"query",text:null}}})();a.exports=e}),null);
-----