AdsRecommendationAdvantagePlusAudiencePlugin_SecondaryButtonLightweightTest.graphql",[],(function(t,n,r,o,a,i){"use strict";var e={argumentDefinitions:[{kind:"RootArgument",name:"skip"}],kind:"Fragment",metadata:null,name:"AdsRecommendationAdvantagePlusAudiencePlugin_SecondaryButtonLightweightTest",selections:[{condition:"skip",kind:"Condition",passingValue:!1,selections:[{fragment:{kind:"InlineFragment",selections:[{args:null,kind:"FragmentSpread",name:"AdsExperimentsLightweightMFRWrapper_lightweightTestEligibility"}],type:"XFBAdsExperimentsLightweightTestEligibilityResult",abstractKey:null},kind:"AliasedInlineFragmentSpread",name:"eligibility"},{fragment:{kind:"InlineFragment",selections:[{args:null,kind:"FragmentSpread",name:"AdsResolutionFlowContainer_lightweightTestFragment"}],type:"XFBAdsExperimentsLightweightTestEligibilityResult",abstractKey:null},kind:"AliasedInlineFragmentSpread",name:"resolutionFlowContainer"}]}],type:"XFBAdsExperimentsLightweightTestEligibilityResult",abstractKey:null};a.exports=e}),null);
-----
AdsResolutionFlowContainer_lightweightTestFragment.graphql",[],(function(t,n,r,o,a,i){"use strict";var e={argumentDefinitions:[{kind:"RootArgument",name:"skip"}],kind:"Fragment",metadata:null,name:"AdsResolutionFlowContainer_lightweightTestFragment",selections:[{condition:"skip",kind:"Condition",passingValue:!1,selections:[{fragment:{kind:"InlineFragment",selections:[{args:null,kind:"FragmentSpread",name:"AdsExperimentsLightweightMFRWrapper_lightweightTestEligibility"}],type:"XFBAdsExperimentsLightweightTestEligibilityResult",abstractKey:null},kind:"AliasedInlineFragmentSpread",name:"eligibility"}]}],type:"XFBAdsExperimentsLightweightTestEligibilityResult",abstractKey:null};a.exports=e}),null);
-----
AdsOneClickApplyAPIResolutionButton_lightweightTestEligibility.graphql",[],(function(t,n,r,o,a,i){"use strict";var e={argumentDefinitions:[{kind:"RootArgument",name:"skip"}],kind:"Fragment",metadata:null,name:"AdsOneClickApplyAPIResolutionButton_lightweightTestEligibility",selections:[{condition:"skip",kind:"Condition",passingValue:!1,selections:[{fragment:{kind:"InlineFragment",selections:[{args:null,kind:"FragmentSpread",name:"AdsExperimentsLightweightMFRWrapper_lightweightTestEligibility"}],type:"XFBAdsExperimentsLightweightTestEligibilityResult",abstractKey:null},kind:"AliasedInlineFragmentSpread",name:"eligibility"}]}],type:"XFBAdsExperimentsLightweightTestEligibilityResult",abstractKey:null};a.exports=e}),null);
-----
AdsRecommendationAutomaticPlacementsPluginFragment_SecondaryButtonLightweightTest.graphql",[],(function(a,b,c,d,e,f){"use strict";a={argumentDefinitions:[{kind:"RootArgument",name:"skip"}],kind:"Fragment",metadata:null,name:"AdsRecommendationAutomaticPlacementsPluginFragment_SecondaryButtonLightweightTest",selections:[{condition:"skip",kind:"Condition",passingValue:!1,selections:[{fragment:{kind:"InlineFragment",selections:[{args:null,kind:"FragmentSpread",name:"AdsExperimentsLightweightMFRWrapper_lightweightTestEligibility"}],type:"XFBAdsExperimentsLightweightTestEligibilityResult",abstractKey:null},kind:"AliasedInlineFragmentSpread",name:"eligibility"}]}],type:"XFBAdsExperimentsLightweightTestEligibilityResult",abstractKey:null};e.exports=a}),null);
-----
AdsRecommendationAdvantagePlusAudiencePluginFragment_SecondaryButtonLightweightTest.graphql",[],(function(a,b,c,d,e,f){"use strict";a={argumentDefinitions:[{kind:"RootArgument",name:"skip"}],kind:"Fragment",metadata:null,name:"AdsRecommendationAdvantagePlusAudiencePluginFragment_SecondaryButtonLightweightTest",selections:[{condition:"skip",kind:"Condition",passingValue:!1,selections:[{fragment:{kind:"InlineFragment",selections:[{args:null,kind:"FragmentSpread",name:"AdsExperimentsLightweightMFRWrapper_lightweightTestEligibility"}],type:"XFBAdsExperimentsLightweightTestEligibilityResult",abstractKey:null},kind:"AliasedInlineFragmentSpread",name:"eligibility"}]}],type:"XFBAdsExperimentsLightweightTestEligibilityResult",abstractKey:null};e.exports=a}),null);
-----
AdsExperimentsLightweightMFRWrapperCancelStudyMutation.graphql",[],(function(a,b,c,d,e,f){"use strict";a=function(){var a={defaultValue:null,kind:"LocalArgument",name:"reason"},b={defaultValue:null,kind:"LocalArgument",name:"studyID"},c=[{kind:"Variable",name:"reason",variableName:"reason"},{kind:"Variable",name:"study_id",variableName:"studyID"}],d={alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null};return{fragment:{argumentDefinitions:[a,b],kind:"Fragment",metadata:null,name:"AdsExperimentsLightweightMFRWrapperCancelStudyMutation",selections:[{alias:null,args:c,concreteType:"AdStudy",kind:"LinkedField",name:"xfb_cancel_ad_study",plural:!1,selections:[d],storageKey:null}],type:"Mutation",abstractKey:null},kind:"Request",operation:{argumentDefinitions:[b,a],kind:"Operation",name:"AdsExperimentsLightweightMFRWrapperCancelStudyMutation",selections:[{alias:null,args:c,concreteType:"AdStudy",kind:"LinkedField",name:"xfb_cancel_ad_study",plural:!1,selections:[d,{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null}],storageKey:null}]},params:{id:"24446965584958417",metadata:{},name:"AdsExperimentsLightweightMFRWrapperCancelStudyMutation",operationKind:"mutation",text:null}}}();e.exports=a}),null);
-----
AdsOneClickResolutionButton_lightweightTestEligibility.graphql",[],(function(a,b,c,d,e,f){"use strict";a={argumentDefinitions:[{kind:"RootArgument",name:"skip"}],kind:"Fragment",metadata:null,name:"AdsOneClickResolutionButton_lightweightTestEligibility",selections:[{condition:"skip",kind:"Condition",passingValue:!1,selections:[{fragment:{kind:"InlineFragment",selections:[{args:null,kind:"FragmentSpread",name:"AdsExperimentsLightweightMFRWrapper_lightweightTestEligibility"}],type:"XFBAdsExperimentsLightweightTestEligibilityResult",abstractKey:null},kind:"AliasedInlineFragmentSpread",name:"eligibility"}]}],type:"XFBAdsExperimentsLightweightTestEligibilityResult",abstractKey:null};e.exports=a}),null);
-----
AdsExperimentsLightweightMFRWrapper.react",["fbt","ix","AdStudyCreationSource.facebook","AdsDeliveryMidFlightCommonConstants","AdsExperimentsLightweightMFRWrapperQuery.graphql","AdsExperimentsLightweightMFRWrapper_lightweightTestEligibility.graphql","AdsOneClickApplyConstants","GeoButton.react","GeoDropdownMenu.react","GeoMenuItem.react","GeoSplitButton.react","RelayHooks","XFBLightweightSplitTestType.facebook","adsExperimentsLightweightTestCTASetIsOptInConfirmationDialogVisible","emptyFunction","fbicon","gkx","react"],(function(a,b,c,d,e,f,g,h,i){"use strict";var j,k,l,m=l||d("react"),n=h._(/*BTDS*/"Run A/B test"),o=["advantage_plus_audience","automatic_placements"],p=j!==void 0?j:j=b("AdsExperimentsLightweightMFRWrapperQuery.graphql"),q=k!==void 0?k:k=b("AdsExperimentsLightweightMFRWrapper_lightweightTestEligibility.graphql");function a(a){var b,e=a.adAccountID,f=a.adObjectIDs,g=a.applyOnClick;g=g===void 0?c("emptyFunction"):g;var h=a.children,j=a.entrySource,k=a.label,l=a.originalActionTestID;l=a.previewOnClick;l=l===void 0?c("emptyFunction"):l;var r=a.recommendationType;a=function(){c("adsExperimentsLightweightTestCTASetIsOptInConfirmationDialogVisible")({adObjectIDs:f,lightweightType:"GUIDANCE_MFR",showModal:!0,isInstantPublish:!0,recommendations:[r].filter(Boolean)})};e=d("RelayHooks").useLazyLoadQuery(p,{input:{ad_object_ids:f,lightweight_test_type:c("XFBLightweightSplitTestType.facebook").GUIDANCE_MFR,creation_source:c("AdStudyCreationSource.facebook").ADS_INTERFACES,validate_is_final:!0,ad_account_id:e!=null?e:""},skip:e==null||r==null||!o.includes(r)||!c("gkx")("18222")});e=d("RelayHooks").useFragment(q,e.xfb_ads_experiments_lightweight_test_eligibility);e=e==null||(b=e.ad_objects)==null?void 0:b.map(function(a){var b=a.eligibility.find(function(a){return a.lightweight_test_type===c("XFBLightweightSplitTestType.facebook").GUIDANCE_MFR&&a.is_eligible===!0});return b?a.test_details:null}).filter(Boolean);var s=e==null?void 0:e.find(function(a){return a.cta_variant==="PRIMARY"});e=e==null?void 0:e.find(function(a){return a.cta_variant==="SECONDARY"});if(s&&j==="PRIMARY")return m.jsx(c("GeoSplitButton.react"),{"data-testid":void 0,icon:d("fbicon")._(i("562421"),16),label:n,menu:m.jsx(c("GeoDropdownMenu.react"),{"data-testid":void 0,children:m.jsx(c("GeoMenuItem.react"),{"data-testid":void 0,label:k,onClick:g})}),variant:"primary",onClick:a});return e?j==="PRIMARY"?m.jsx(c("GeoSplitButton.react"),{"data-testid":void 0,label:d("AdsOneClickApplyConstants").ONE_CLICK_APPLY_CTA,menu:m.jsx(c("GeoDropdownMenu.react"),{children:m.jsx(c("GeoMenuItem.react"),{label:d("AdsDeliveryMidFlightCommonConstants").PREVIEW,onClick:l})}),variant:"creation",onClick:g}):m.jsx(c("GeoButton.react"),{"data-testid":void 0,icon:d("fbicon")._(i("562421"),16),label:n,variant:"default",onClick:a}):h}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),226);
-----
AdsExperimentsLightweightMFRWrapperQuery.graphql",[],(function(a,b,c,d,e,f){"use strict";a=function(){var a=[{defaultValue:null,kind:"LocalArgument",name:"input"},{defaultValue:null,kind:"LocalArgument",name:"skip"}],b=[{kind:"Variable",name:"input",variableName:"input"}];return{fragment:{argumentDefinitions:a,kind:"Fragment",metadata:null,name:"AdsExperimentsLightweightMFRWrapperQuery",selections:[{condition:"skip",kind:"Condition",passingValue:!1,selections:[{alias:null,args:b,concreteType:"XFBAdsExperimentsLightweightTestEligibilityResult",kind:"LinkedField",name:"xfb_ads_experiments_lightweight_test_eligibility",plural:!1,selections:[{args:null,kind:"FragmentSpread",name:"AdsExperimentsLightweightMFRWrapper_lightweightTestEligibility"}],storageKey:null}]}],type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:a,kind:"Operation",name:"AdsExperimentsLightweightMFRWrapperQuery",selections:[{condition:"skip",kind:"Condition",passingValue:!1,selections:[{alias:null,args:b,concreteType:"XFBAdsExperimentsLightweightTestEligibilityResult",kind:"LinkedField",name:"xfb_ads_experiments_lightweight_test_eligibility",plural:!1,selections:[{alias:null,args:null,concreteType:"XFBAdsExperimentsLightweightTestEligibilityForAdObject",kind:"LinkedField",name:"ad_objects",plural:!0,selections:[{alias:null,args:null,concreteType:"XFBAdsExperimentsLightweightTestDetials",kind:"LinkedField",name:"test_details",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"cta_variant",storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"XFBAdsExperimentsLightweightTestTypeEligibilityForType",kind:"LinkedField",name:"eligibility",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"is_eligible",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"lightweight_test_type",storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null}]}]},params:{id:"24766083733023006",metadata:{},name:"AdsExperimentsLightweightMFRWrapperQuery",operationKind:"query",text:null}}}();e.exports=a}),null);
-----
AdsExperimentsLightweightMFRWrapper_lightweightTestEligibility.graphql",[],(function(a,b,c,d,e,f){"use strict";a={argumentDefinitions:[],kind:"Fragment",metadata:null,name:"AdsExperimentsLightweightMFRWrapper_lightweightTestEligibility",selections:[{alias:null,args:null,concreteType:"XFBAdsExperimentsLightweightTestEligibilityForAdObject",kind:"LinkedField",name:"ad_objects",plural:!0,selections:[{alias:null,args:null,concreteType:"XFBAdsExperimentsLightweightTestDetials",kind:"LinkedField",name:"test_details",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"cta_variant",storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"XFBAdsExperimentsLightweightTestTypeEligibilityForType",kind:"LinkedField",name:"eligibility",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"is_eligible",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"lightweight_test_type",storageKey:null}],storageKey:null}],storageKey:null}],type:"XFBAdsExperimentsLightweightTestEligibilityResult",abstractKey:null};e.exports=a}),null);
-----