ProductSetAPIClientStoreSource",["ProductSetAPIClientStoreSourceServerLoadedQuery.graphql","ProductSetAPIClientStoreSourceServerQuery.graphql","RelayHooks","ReverseInteropStoreSourceBase","promiseDone","readQueryToLoadObject","updateLoadedAdAccountsClientSchema"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j=h!==void 0?h:h=b("ProductSetAPIClientStoreSourceServerQuery.graphql"),k=i!==void 0?i:i=b("ProductSetAPIClientStoreSourceServerLoadedQuery.graphql");a=function(a){function b(){return a.apply(this,arguments)||this}babelHelpers.inheritsLoose(b,a);var e=b.prototype;e.__getQuery=function(){return k};e.__getVariables=function(){return{}};e.getGQLParams=function(a){return{legacy_account_id:a.adAccountID,filters:a.filterInput,limit:a.limit,request_source:a.requestSource,sort_method:a.sortMethod,api_data:a.apiData}};e.__fetchQuery=function(a,b){var e=this,f=a[0];c("updateLoadedAdAccountsClientSchema")(this.__environment,JSON.stringify(f));f=this.getGQLParams(f);f=d("RelayHooks").fetchQuery(this.__environment,j,f).toPromise().then(function(a){var b;return a==null||(b=a.ad_account)==null||(b=b.dpa_eligible_product_catalogs)==null?void 0:b.map(function(a){return{id:a.id,product_sets:(a=a.sets)==null?void 0:a.nodes.map(function(a){return a.product_set_spec})}})})["catch"](function(c){return e.handleFetchQueryError(a,b,c)});c("promiseDone")(f)};e.__getCached=function(a,b){var d=this;b=a.map(function(a){var b=d.getGQLParams(a);return{key:a,value:c("readQueryToLoadObject")(d.__environment,j,b,function(a){var b;return a==null||(b=a.ad_account)==null||(b=b.dpa_eligible_product_catalogs)==null?void 0:b.map(function(a){return{id:a.id,product_sets:(a=a.sets)==null?void 0:a.nodes.map(function(a){return a.product_set_spec})}})})}});return b};return b}(c("ReverseInteropStoreSourceBase"));g["default"]=a}),98);
-----
ProductSetAPIClientStoreSourceServerQuery.graphql",["AdAccount-product_set_spec-resolver"],(function(a,b,c,d,e,f){"use strict";a=function(){var a={defaultValue:null,kind:"LocalArgument",name:"api_data"},c={defaultValue:null,kind:"LocalArgument",name:"filters"},d={defaultValue:null,kind:"LocalArgument",name:"legacy_account_id"},e={defaultValue:null,kind:"LocalArgument",name:"limit"},f={defaultValue:null,kind:"LocalArgument",name:"request_source"},g={defaultValue:null,kind:"LocalArgument",name:"sort_method"},h=[{kind:"Variable",name:"legacy_account_id",variableName:"legacy_account_id"}],i=[{kind:"Variable",name:"api_data",variableName:"api_data"},{kind:"Variable",name:"filters",variableName:"filters"},{kind:"Variable",name:"limit",variableName:"limit"},{kind:"Variable",name:"request_source",variableName:"request_source"},{kind:"Variable",name:"sort_method",variableName:"sort_method"}],j={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},k={alias:null,args:null,kind:"ScalarField",name:"name",storageKey:null};return{fragment:{argumentDefinitions:[a,c,d,e,f,g],kind:"Fragment",metadata:null,name:"ProductSetAPIClientStoreSourceServerQuery",selections:[{alias:null,args:h,concreteType:"AdAccount",kind:"LinkedField",name:"ad_account",plural:!1,selections:[{alias:null,args:i,concreteType:"ProductCatalog",kind:"LinkedField",name:"dpa_eligible_product_catalogs",plural:!0,selections:[j,{alias:null,args:null,concreteType:"ProductCatalogSetsConnection",kind:"LinkedField",name:"sets",plural:!1,selections:[{alias:null,args:null,concreteType:"ProductSet",kind:"LinkedField",name:"nodes",plural:!0,selections:[{alias:null,args:null,fragment:{args:null,kind:"FragmentSpread",name:"AdAccountProductSetSpecResolver"},kind:"RelayResolver",name:"product_set_spec",resolverModule:b("AdAccount-product_set_spec-resolver").product_set_spec,path:"ad_account.dpa_eligible_product_catalogs.sets.nodes.product_set_spec"}],storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null}],type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:[d,c,e,f,g,a],kind:"Operation",name:"ProductSetAPIClientStoreSourceServerQuery",selections:[{alias:null,args:h,concreteType:"AdAccount",kind:"LinkedField",name:"ad_account",plural:!1,selections:[{alias:null,args:i,concreteType:"ProductCatalog",kind:"LinkedField",name:"dpa_eligible_product_catalogs",plural:!0,selections:[j,{alias:null,args:null,concreteType:"ProductCatalogSetsConnection",kind:"LinkedField",name:"sets",plural:!1,selections:[{alias:null,args:null,concreteType:"ProductSet",kind:"LinkedField",name:"nodes",plural:!0,selections:[{name:"product_set_spec",args:null,fragment:{kind:"InlineFragment",selections:[{alias:null,args:null,concreteType:"ProductCatalog",kind:"LinkedField",name:"product_catalog",plural:!1,selections:[j,k,{alias:null,args:null,kind:"ScalarField",name:"vertical",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"has_localized_overrides",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"is_eligible_for_value_optimization",storageKey:null}],storageKey:null},j,k,{alias:null,args:null,kind:"ScalarField",name:"capability",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"cpas_category_product_set_id",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"da_approved_items_count",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"checkout_eligible_item_count",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"filter",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"is_eligible_for_value_optimization_new",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"url",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"original_creation_source",storageKey:null}],type:"ProductSet",abstractKey:null},kind:"RelayResolver",storageKey:null,isOutputType:!1},j],storageKey:null}],storageKey:null}],storageKey:null},j],storageKey:null}]},params:{id:"24402015492794372",metadata:{},name:"ProductSetAPIClientStoreSourceServerQuery",operationKind:"query",text:null}}}();e.exports=a}),null);
-----