var u={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"getRetailerAvailabilityForIds"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"baseSiteId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"BaseSiteId"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"productIds"}},type:{kind:"NonNullType",type:{kind:"ListType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"useGtins"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Boolean"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"getRetailerAvailabilityForIds"},arguments:[{kind:"Argument",name:{kind:"Name",value:"baseSiteId"},value:{kind:"Variable",name:{kind:"Name",value:"baseSiteId"}}},{kind:"Argument",name:{kind:"Name",value:"productIds"},value:{kind:"Variable",name:{kind:"Name",value:"productIds"}}},{kind:"Argument",name:{kind:"Name",value:"useGtins"},value:{kind:"Variable",name:{kind:"Name",value:"useGtins"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"stock"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:250}};u.loc.source={body:`query getRetailerAvailabilityForIds(
  $baseSiteId: BaseSiteId!
  $productIds: [String]!
  $useGtins: Boolean!
) {
  getRetailerAvailabilityForIds(
    baseSiteId: $baseSiteId
    productIds: $productIds
    useGtins: $useGtins
  ) {
    stock
  }
}
`,name:"GraphQL request",locationOffset:{line:1,column:1}};function r(e,i){if(e.kind==="FragmentSpread")i.add(e.name.value);else if(e.kind==="VariableDefinition"){var n=e.type;n.kind==="NamedType"&&i.add(n.name.value)}e.selectionSet&&e.selectionSet.selections.forEach(function(a){r(a,i)}),e.variableDefinitions&&e.variableDefinitions.forEach(function(a){r(a,i)}),e.definitions&&e.definitions.forEach(function(a){r(a,i)})}var s={};(function(){u.definitions.forEach(function(i){if(i.name){var n=new Set;r(i,n),s[i.name.value]=n}})})();function c(e,i){for(var n=0;n<e.definitions.length;n++){var a=e.definitions[n];if(a.name&&a.name.value==i)return a}}function k(e,i){var n={kind:e.kind,definitions:[c(e,i)]};e.hasOwnProperty("loc")&&(n.loc=e.loc);var a=s[i]||new Set,o=new Set,d=new Set;for(a.forEach(function(t){d.add(t)});d.size>0;){var v=d;d=new Set,v.forEach(function(t){if(!o.has(t)){o.add(t);var l=s[t]||new Set;l.forEach(function(f){d.add(f)})}})}return o.forEach(function(t){var l=c(e,t);l&&n.definitions.push(l)}),n}k(u,"getRetailerAvailabilityForIds");export{u as d};