1import{d as k}from"./C9lk49yD.js";import"./CT1yKchl.js";import"./ByVQQC9V.js";import"./BqekLVlV.js";import"./yxtSDmvl.js";var d={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"product"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"handle"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"country"}},type:{kind:"NamedType",name:{kind:"Name",value:"CountryCode"}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"language"}},type:{kind:"NamedType",name:{kind:"Name",value:"LanguageCode"}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"selectedOptions"}},type:{kind:"NonNullType",type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"SelectedOptionInput"}}}}},directives:[]}],directives:[{kind:"Directive",name:{kind:"Name",value:"inContext"},arguments:[{kind:"Argument",name:{kind:"Name",value:"country"},value:{kind:"Variable",name:{kind:"Name",value:"country"}}},{kind:"Argument",name:{kind:"Name",value:"language"},value:{kind:"Variable",name:{kind:"Name",value:"language"}}}]}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"product"},arguments:[{kind:"Argument",name:{kind:"Name",value:"handle"},value:{kind:"Variable",name:{kind:"Name",value:"handle"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"Product"},directives:[]}]}}]}}],loc:{start:0,end:289}};d.loc.source={body:`#import '../fragments/product.graphql' 2 3query product ( 4 $handle: String 5 $country: CountryCode 6 $language: LanguageCode 7 $selectedOptions: [SelectedOptionInput!]! 8) @inContext(country: $country, language: $language) { 9 product (handle: $handle) { 10 ...Product 11 } 12}`,name:"GraphQL request",locationOffset:{line:1,column:1}};var m={};function p(e){return e.filter(function(n){if(n.kind!=="FragmentDefinition")return!0;var i=n.name.value;return m[i]?!1:(m[i]=!0,!0)})}d.definitions=d.definitions.concat(p(k.definitions));function l(e,n){if(e.kind==="FragmentSpread")n.add(e.name.value);else if(e.kind==="VariableDefinition"){var i=e.type;i.kind==="NamedType"&&n.add(i.name.value)}e.selectionSet&&e.selectionSet.selections.forEach(function(a){l(a,n)}),e.variableDefinitions&&e.variableDefinitions.forEach(function(a){l(a,n)}),e.definitions&&e.definitions.forEach(function(a){l(a,n)})}var c={};(function(){d.definitions.forEach(function(n){if(n.name){var i=new Set;l(n,i),c[n.name.value]=i}})})();function f(e,n){for(var i=0;i<e.definitions.length;i++){var a=e.definitions[i];if(a.name&&a.name.value==n)return a}}function g(e,n){var i={kind:e.kind,definitions:[f(e,n)]};e.hasOwnProperty("loc")&&(i.loc=e.loc);var a=c[n]||new Set,u=new Set,r=new Set;for(a.forEach(function(t){r.add(t)});r.size>0;){var v=r;r=new Set,v.forEach(function(t){if(!u.has(t)){u.add(t);var o=c[t]||new Set;o.forEach(function(s){r.add(s)})}})}return u.forEach(function(t){var o=f(e,t);o&&i.definitions.push(o)}),i}g(d,"product");export{d as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.