AdsEventsManagerPartnerGalleryPage.react",["AdsEventsManagerNewlyCreatedDataSourceDetailsProvider","AdsEventsManagerNextGeoThemeUtils","AdsEventsManagerPartnerGalleryPageQuery.graphql","AdsEventsManagerPartnerIntegrationGKUtils","AdsFluxHooks","AdsLoadObjectUtils","CombinedPartnerIntegrationLOSelector","GeoFlexbox.react","LoadObject","LoadingMarkerArea.react","PartnerGalleryPageGalleryOverviewHeader.react","PartnerGalleryPagePartnerListHeader.react","PartnerGalleryPageUtils","PartnerGalleryPartnerCategoryList.react","PartnerGallerySearchAndFilterContext","PartnerGallerySearchAndFilterContextProvider.react","PartnerIntegrationGalleryDataProvider","PartnerIntegrationGalleryPopularPartnersDataProvider","ProportionalGrid.react","ProportionalGridColumn.react","RelayHooks","SignalsErrorBoundary.react","SignalsHomeLoadingScreen.react","SignalsLoggingBoundary.react","adsCreateSelector","adsCreateStructuredSelector","adsEventsManagerAccountIDSelector","adsEventsManagerBusinessIDSelector","isEmpty","justknobx","qpl","react","react-compiler-runtime","signalsLoadObjectComponent","stylex"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j,k,l=k||(k=d("react")),m=k.useContext,n=c("adsCreateSelector")([c("adsEventsManagerAccountIDSelector"),c("adsEventsManagerBusinessIDSelector"),c("PartnerIntegrationGalleryDataProvider").toFluxSelector()],function(a,b,c){return c.get({accountID:a,assetsFilter:null,businessID:b,pageID:null})},{name:f.id+".galleryLOSelector"}),o=c("PartnerIntegrationGalleryPopularPartnersDataProvider").toFluxSelector();o=c("adsCreateSelector")([c("adsEventsManagerAccountIDSelector"),c("adsEventsManagerBusinessIDSelector"),o],function(a,b,c){return c.get({accountID:a,assetsFilter:null,businessID:b,pageID:null})},{name:f.id+".popularPartnersSelector"});var p=c("adsCreateStructuredSelector")({accountID:c("adsEventsManagerAccountIDSelector"),businessID:c("adsEventsManagerBusinessIDSelector"),galleryLO:n,partnerIntegrationsLO:c("CombinedPartnerIntegrationLOSelector"),popularPartnersLO:o},f.id+".selector");n=c("AdsEventsManagerNewlyCreatedDataSourceDetailsProvider").toFluxSelector();var q=c("adsCreateStructuredSelector")({adAccountID:c("adsEventsManagerAccountIDSelector"),businessID:c("adsEventsManagerBusinessIDSelector"),newlyCreatedDataSourceData:n},f.id+".newlyCreatedDataSourceDataSelector"),r=h!==void 0?h:h=b("AdsEventsManagerPartnerGalleryPageQuery.graphql");function a(a){var b=d("react-compiler-runtime").c(13);a=a.logger;var e=d("AdsFluxHooks").useAdsSelector(p),f=e.accountID,g=e.businessID,h=e.galleryLO,i=e.partnerIntegrationsLO;e=e.popularPartnersLO;var j=c("justknobx")._("4803");j=d("RelayHooks").useLazyLoadQuery(r,{ad_account_id:f,business_id:g,skip:j});var k=d("AdsFluxHooks").useAdsSelector(q);k=k.newlyCreatedDataSourceData;k=k.data;k=k[0];if(b[0]!==h||b[1]!==j||b[2]!==i||b[3]!==e){var m=c("LoadObject").withValue(j);m=d("AdsLoadObjectUtils").all([h,i,e,m]);b[0]=h;b[1]=j;b[2]=i;b[3]=e;b[4]=m}else m=b[4];h=m;b[5]!==f||b[6]!==g||b[7]!==h||b[8]!==k?(j=l.jsx(s,{accountID:f,businessID:g,newlyCreatedDataSource:k,object:h}),b[5]=f,b[6]=g,b[7]=h,b[8]=k,b[9]=j):j=b[9];b[10]!==a||b[11]!==j?(i=l.jsx(c("PartnerGallerySearchAndFilterContextProvider.react"),{logger:a,children:j}),b[10]=a,b[11]=j,b[12]=i):i=b[12];return i}function e(a){var b=d("react-compiler-runtime").c(33),e=a.accountID,f=a.value,g=a.businessID,h=a.newlyCreatedDataSource;a=f[0];var k=f[1],n=f[2];f=f[3];var o=m(c("PartnerGallerySearchAndFilterContext")),p=o.searchText,q=o.datasourceTypeFilters,r=o.filteredCategories,s=a.categories,t=f.xfb_get_partner_gallery;if(t==null)return null;b[0]!==e||b[1]!==s||b[2]!==g||b[3]!==r||b[4]!==p?(o=d("PartnerGalleryPageUtils").getCategoriesByFilter(e,s,r,p,g),b[0]=e,b[1]=s,b[2]=g,b[3]=r,b[4]=p,b[5]=o):o=b[5];var u=o;b[6]!==k?(a=d("PartnerGalleryPageUtils").getConnectedPartnerIntegrations(k),b[6]=k,b[7]=a):a=b[7];var v=a;b[8]!==q||b[9]!==r||b[10]!==p?(f=function(){return(i||(i=c("isEmpty")))(r)&&(i||(i=c("isEmpty")))(q)&&(i||(i=c("isEmpty")))(p)},b[8]=q,b[9]=r,b[10]=p,b[11]=f):f=b[11];var w=f;b[12]!==t||b[13]!==s||b[14]!==v||b[15]!==h||b[16]!==k||b[17]!==n||b[18]!==u||b[19]!==w?(e=function(){return l.jsxs(c("GeoFlexbox.react"),{direction:"column",gap:16,justifyContent:"space-between",children:[l.jsx("div",babelHelpers["extends"]({},(j||(j=c("stylex"))).props(d("AdsEventsManagerNextGeoThemeUtils").geoNextBorderStyle()),{children:l.jsx(c("PartnerGalleryPageGalleryOverviewHeader.react"),{allCategories:s,connectedIntegrationsFragmentRef:t,connectedPartnerIntegrations:v,partnerIntegrations:k})})),l.jsxs("div",babelHelpers["extends"]({},j.props(d("AdsEventsManagerNextGeoThemeUtils").geoNextBorderStyle()),{children:[l.jsx(c("PartnerGalleryPagePartnerListHeader.react"),{allCategories:s,graphQLCategories:t,newlyCreatedDataSource:h,shouldShowUpsell:w(),useGraphQLCategories:!1}),u.length>0?l.jsx(c("PartnerGalleryPartnerCategoryList.react"),{categories:u,connectedPartnerIntegrations:v,partnerGalleryFragmentRef:t,popularPartners:n.categories,shouldShowPopularPartners:w()}):null]}))]})},b[12]=t,b[13]=s,b[14]=v,b[15]=h,b[16]=k,b[17]=n,b[18]=u,b[19]=w,b[20]=e):e=b[20];g=e;b[21]!==t||b[22]!==s||b[23]!==v||b[24]!==h||b[25]!==k||b[26]!==n||b[27]!==u||b[28]!==w?(o=function(){return l.jsxs(c("ProportionalGrid.react"),{gutterSize:16,children:[l.jsx(c("ProportionalGridColumn.react"),{width:.6666666666666666,children:l.jsxs(c("GeoFlexbox.react"),{direction:"column",gap:16,justifyContent:"space-between",children:[l.jsx("div",babelHelpers["extends"]({},(j||(j=c("stylex"))).props(d("AdsEventsManagerNextGeoThemeUtils").geoNextBorderStyle()),{children:l.jsx(c("PartnerGalleryPageGalleryOverviewHeader.react"),{allCategories:s,connectedIntegrationsFragmentRef:t,connectedPartnerIntegrations:v,partnerIntegrations:k})})),l.jsxs("div",babelHelpers["extends"]({},j.props(d("AdsEventsManagerNextGeoThemeUtils").geoNextBorderStyle()),{children:[l.jsx(c("PartnerGalleryPagePartnerListHeader.react"),{allCategories:s,graphQLCategories:t,newlyCreatedDataSource:h,shouldShowUpsell:w(),useGraphQLCategories:!1}),u.length>0?l.jsx(c("PartnerGalleryPartnerCategoryList.react"),{categories:u,connectedPartnerIntegrations:v,partnerGalleryFragmentRef:t,popularPartners:n.categories,shouldShowPopularPartners:w()}):null]}))]})}),l.jsx(c("ProportionalGridColumn.react"),{width:.3333333333333333})]})},b[21]=t,b[22]=s,b[23]=v,b[24]=h,b[25]=k,b[26]=n,b[27]=u,b[28]=w,b[29]=o):o=b[29];a=o;b[30]!==g||b[31]!==a?(f=l.jsx(c("SignalsErrorBoundary.react"),{children:d("AdsEventsManagerPartnerIntegrationGKUtils").canSeePartnerIntegrationsRevamp()?l.jsx("div",{children:a()}):g()}),b[30]=g,b[31]=a,b[32]=f):f=b[32];return f}var s=c("signalsLoadObjectComponent")("AdsEventsManagerPartnerGalleryContainer",{Loaded:e,Loading:function(){return l.jsx(c("LoadingMarkerArea.react"),{name:f.id,children:l.jsx(c("SignalsHomeLoadingScreen.react"),{})})}});o=c("SignalsLoggingBoundary.react").loggerConsumingComponent(c("SignalsErrorBoundary.react").withErrorBoundary(d("AdsFluxHooks").adsFluxContainer(a,null,{containerName:f.id}),{onError:function(a,b,d){d.endUserFlowEventFailure(c("qpl")._(58203363,"677"),a.message)},scope:"AdsEventsManagerPartnerGalleryPage"}),function(a){return a.scope("PARTNER_GALLERY")},{disableSessionCreation:!0});g["default"]=o}),98);
-----
AdsEventsManagerPartnerGalleryPageQuery.graphql",[],(function(a,b,c,d,e,f){"use strict";a=function(){var a={defaultValue:null,kind:"LocalArgument",name:"ad_account_id"},b={defaultValue:null,kind:"LocalArgument",name:"business_id"},c={defaultValue:null,kind:"LocalArgument",name:"skip"},d=[{kind:"Variable",name:"ad_account_id",variableName:"ad_account_id"},{kind:"Variable",name:"business_id",variableName:"business_id"}],e={alias:null,args:null,kind:"ScalarField",name:"name",storageKey:null},f={alias:null,args:null,kind:"ScalarField",name:"data_source_types",storageKey:null};return{fragment:{argumentDefinitions:[a,b,c],kind:"Fragment",metadata:null,name:"AdsEventsManagerPartnerGalleryPageQuery",selections:[{condition:"skip",kind:"Condition",passingValue:!1,selections:[{alias:null,args:d,concreteType:"XFBPartnerGalleryRenderer",kind:"LinkedField",name:"xfb_get_partner_gallery",plural:!1,selections:[{args:null,kind:"FragmentSpread",name:"PartnerGalleryPartnerCategoryList_categories"},{args:null,kind:"FragmentSpread",name:"PartnerGalleryPageGalleryOverviewHeader_connectedIntegrations"},{args:null,kind:"FragmentSpread",name:"PartnerGalleryPagePartnerListHeader_categories"}],storageKey:null}]}],type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:[b,a,c],kind:"Operation",name:"AdsEventsManagerPartnerGalleryPageQuery",selections:[{condition:"skip",kind:"Condition",passingValue:!1,selections:[{alias:null,args:d,concreteType:"XFBPartnerGalleryRenderer",kind:"LinkedField",name:"xfb_get_partner_gallery",plural:!1,selections:[{alias:null,args:null,concreteType:"XFBPartnerGalleryCategory",kind:"LinkedField",name:"partner_gallery_categories",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"category_enum",storageKey:null},{alias:null,args:null,concreteType:"XFBPartnerIntegrationTypeDetails",kind:"LinkedField",name:"partner_details",plural:!0,selections:[e,f,{kind:"TypeDiscriminator",abstractKey:"__isXFBSignalsPartnerIntegrationInterface"}],storageKey:null},e],storageKey:null},{alias:null,args:null,concreteType:"XFBConnectedPartnerIntegrationDetails",kind:"LinkedField",name:"connected_integrations",plural:!0,selections:[e,f,{alias:null,args:null,kind:"ScalarField",name:"connected_count",storageKey:null},{alias:null,args:null,concreteType:"AdsPixel",kind:"LinkedField",name:"ads_pixel",plural:!1,selections:[e,{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null}]}]},params:{id:"24687248190877318",metadata:{},name:"AdsEventsManagerPartnerGalleryPageQuery",operationKind:"query",text:null}}}();e.exports=a}),null);
-----