1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5461],{5461:(e,t,n)=>{n.r(t),n.d(t,{default:()=>ex,languages:()=>Y,options:()=>J,parsers:()=>q,printers:()=>eA});var i,r,s,a,o=Object.defineProperty,l=(e,t)=>{for(var n in t)o(e,n,{get:t[n],enumerable:!0})},c={};l(c,{languages:()=>Y,options:()=>J,parsers:()=>q,printers:()=>eA});var u=(e,t,n,i)=>{if(!(e&&null==t))return t.replaceAll?t.replaceAll(n,i):n.global?t.replace(n,i):t.split(n).join(i)},p="line",h=()=>{};function d(e){return h(e),{type:"indent",contents:e}}function f(e,t={}){return h(e),h(t.expandedStates,!0),{type:"group",id:t.id,contents:e,break:!!t.shouldBreak,expandedStates:t.expandedStates}}function E(e,t="",n={}){return h(e),""!==t&&h(t),{type:"if-break",breakContents:e,flatContents:t,groupId:n.groupId}}var m={type:p},T={type:p,soft:!0},N=[{type:p,hard:!0},{type:"break-parent"}];function I(e,t){h(e),h(t);let n=[];for(let i=0;i<t.length;i++)0!==i&&n.push(e),n.push(t[i]);return n}function y(e){return(t,n,i)=>{let r=!!(null!=i&&i.backwards);if(!1===n)return!1;let{length:s}=t,a=n;for(;a>=0&&a<s;){let n=t.charAt(a);if(e instanceof RegExp){if(!e.test(n))return a}else if(!e.includes(n))return a;r?a--:a++}return(-1===a||a===s)&&a}}y(/\s/u);var v=y(" "),O=y(",; "),A=y(/[^\n\r]/u),x=function(e,t,n){let i=!!(null!=n&&n.backwards);if(!1===t)return!1;let r=e.charAt(t);if(i){if("\r"===e.charAt(t-1)&&r===` 2`)return t-2;if(r===` 3`||"\r"===r||"\u2028"===r||"\u2029"===r)return t-1}else{if("\r"===r&&e.charAt(t+1)===` 4`)return t+2;if(r===` 5`||"\r"===r||"\u2028"===r||"\u2029"===r)return t+1}return t},D=function(e,t,n={}){let i=v(e,n.backwards?t-1:t,n),r=x(e,i,n);return i!==r},_=function(e,t){if(!1===t)return!1;if("/"===e.charAt(t)&&"*"===e.charAt(t+1)){for(let n=t+2;n<e.length;++n)if("*"===e.charAt(n)&&"/"===e.charAt(n+1))return n+2}return t},k=function(e,t){var n;let i=null,r=t;for(;r!==i;)i=r,r=O(e,r),r=_(e,r),r=v(e,r);return!1!==(r=x(e,r=!1!==(n=r)&&("/"===e.charAt(n)&&"/"===e.charAt(n+1)?A(e,n):n)))&&D(e,r)},g=function(e){return Array.isArray(e)&&e.length>0},S=class extends Error{name="UnexpectedNodeError";constructor(e,t,n="type"){super(`Unexpected ${t} node ${n}: ${JSON.stringify(e[n])}.`),this.node=e}},C=null;function b(e){if(null!==C&&(C.property,1)){let e=C;return C=b.prototype=null,e}return C=b.prototype=e??Object.create(null),new b}for(let e=0;e<=10;e++)b();var L=class{constructor(e,t,n){this.start=e.start,this.end=t.end,this.startToken=e,this.endToken=t,this.source=n}get[Symbol.toStringTag](){return"Location"}toJSON(){return{start:this.start,end:this.end}}},R=class{constructor(e,t,n,i,r,s){this.kind=e,this.start=t,this.end=n,this.line=i,this.column=r,this.value=s,this.prev=null,this.next=null}get[Symbol.toStringTag](){return"Token"}toJSON(){return{kind:this.kind,value:this.value,line:this.line,column:this.column}}},F={Name:[],Document:["definitions"],OperationDefinition:["name","variableDefinitions","directives","selectionSet"],VariableDefinition:["variable","type","defaultValue","directives"],Variable:["name"],SelectionSet:["selections"],Field:["alias","name","arguments","directives","selectionSet"],Argument:["name","value"],FragmentSpread:["name","directives"],InlineFragment:["typeCondition","directives","selectionSet"],FragmentDefinition:["name","variableDefinitions","typeCondition","directives","selectionSet"],IntValue:[],FloatValue:[],StringValue:[],BooleanValue:[],NullValue:[],EnumValue:[],ListValue:["values"],ObjectValue:["fields"],ObjectField:["name","value"],Directive:["name","arguments"],NamedType:["name"],ListType:["type"],NonNullType:["type"],SchemaDefinition:["description","directives","operationTypes"],OperationTypeDefinition:["type"],ScalarTypeDefinition:["description","name","directives"],ObjectTypeDefinition:["description","name","interfaces","directives","fields"],FieldDefinition:["description","name","arguments","type","directives"],InputValueDefinition:["description","name","type","defaultValue","directives"],InterfaceTypeDefinition:["description","name","interfaces","directives","fields"],UnionTypeDefinition:["description","name","directives","types"],EnumTypeDefinition:["description","name","directives","values"],EnumValueDefinition:["description","name","directives"],InputObjectTypeDefinition:["description","name","directives","fields"],DirectiveDefinition:["description","name","arguments","locations"],SchemaExtension:["directives","operationTypes"],ScalarTypeExtension:["name","directives"],ObjectTypeExtension:["name","interfaces","directives","fields"],InterfaceTypeExtension:["name","interfaces","directives","fields"],UnionTypeExtension:["name","directives","types"],EnumTypeExtension:["name","directives","values"],InputObjectTypeExtension:["name","directives","fields"]};Object.keys(F),function(e){e.QUERY="query",e.MUTATION="mutation",e.SUBSCRIPTION="subscription"}(i||(i={}));var w=function(e,t="type"){return b(e),function(n){let i=n[t],r=e[i];if(!Array.isArray(r))throw Object.assign(Error(`Missing visitor keys for '${i}'.`),{node:n});return r}}(F,"kind");function P(e){return e.loc.start}function U(e){return e.loc.end}var V=/^\s*#[^\S\n]*@(?:noformat|noprettier)\s*(?:\n|$)/u,M=/^\s*#[^\S\n]*@(?:format|prettier)\s*(?:\n|$)/u,B=function(e,t,n){let{node:i}=e;if(!i.description)return"";let r=[n("description")];return"InputValueDefinition"!==i.kind||i.description.block?r.push(N):r.push(m),r};function j(e,t,n){if(0===n.directives.length)return"";let i=I(m,e.map(t,"directives"));return"FragmentDefinition"===n.kind||"OperationDefinition"===n.kind?f([m,i]):[" ",f(d([T,i]))]}function K(e,t,n,i){return e.map(({isLast:e,node:i}
5)=>{let r=n();return!e&&k(t.originalText,U(i))?[r,N]:r},i)}function $(e,t){let{node:n}=e;return g(n.variableDefinitions)?f(["(",d([T,I([E("",", "),T],e.map(t,"variableDefinitions"))]),T,")"]):""}function G(e,t){"StringValue"===e.kind&&e.block&&!e.value.includes(` 6`)&&(t.value=e.value.trim())}G.ignoredProperties=new Set(["loc","comments"]);var Y=[{name:"GraphQL",type:"data",extensions:[".graphql",".gql",".graphqls"],tmScope:"source.graphql",aceMode:"text",parsers:["graphql"],vscodeLanguageIds:["graphql"],linguistLanguageId:139}],J={bracketSpacing:{category:"Common",type:"boolean",default:!0,description:"Print spaces between brackets.",oppositeDescription:"Do not print spaces between brackets."}},q={};l(q,{graphql:()=>eO});var Q=/\r\n|[\n\r]/g;function X(e,t){let n=0,i=1;for(let r of e.body.matchAll(Q)){if("number"==typeof r.index||function(e,t){if(!e)throw Error((void 0)??"Unexpected invariant triggered.")}(!1),r.index>=t)break;n=r.index+r[0].length,i+=1}return{line:i,column:t+1-n}}function z(e,t){let n=e.locationOffset.column-1,i="".padStart(n)+e.body,r=t.line-1,s=e.locationOffset.line-1,a=t.line+s,o=1===t.line?n:0,l=t.column+o,c=`${e.name}:${a}:${l} 7`,u=i.split(/\r\n|[\n\r]/g),p=u[r];if(p.length>120){let e=Math.floor(l/80),t=[];for(let e=0;e<p.length;e+=80)t.push(p.slice(e,e+80));return c+H([[`${a} |`,t[0]],...t.slice(1,e+1).map(e=>["|",e]),["|","^".padStart(l%80)],["|",t[e+1]]])}return c+H([[`${a-1} |`,u[r-1]],[`${a} |`,p],["|","^".padStart(l)],[`${a+1} |`,u[r+1]]])}function H(e){let t=e.filter(([e,t])=>void 0!==t),n=Math.max(...t.map(([e])=>e.length));return t.map(([e,t])=>e.padStart(n)+(t?" "+t:"")).join(` 8`)}var W=class e extends Error{constructor(t,...n){var i,r,s;let{nodes:a,source:o,positions:l,path:c,originalError:u,extensions:p}=function(e){let t=e[0];return null==t||"kind"in t||"length"in t?{nodes:t,source:e[1],positions:e[2],path:e[3],originalError:e[4],extensions:e[5]}:t}(n);super(t),this.name="GraphQLError",this.path=c??void 0,this.originalError=u??void 0,this.nodes=Z(Array.isArray(a)?a:a?[a]:void 0);let h=Z(null==(i=this.nodes)?void 0:i.map(e=>e.loc).filter(e=>null!=e));this.source=o??(null==h||null==(r=h[0])?void 0:r.source),this.positions=l??(null==h?void 0:h.map(e=>e.start)),this.locations=l&&o?l.map(e=>X(o,e)):null==h?void 0:h.map(e=>X(e.source,e.start));let d=!function(e){return"object"==typeof e&&null!==e}(null==u?void 0:u.extensions)||null==u?void 0:u.extensions;this.extensions=null!=(s=p??d)?s:Object.create(null),Object.defineProperties(this,{message:{writable:!0,enumerable:!0},name:{enumerable:!1},nodes:{enumerable:!1},source:{enumerable:!1},positions:{enumerable:!1},originalError:{enumerable:!1}}),null!=u&&u.stack?Object.defineProperty(this,"stack",{value:u.stack,writable:!0,configurable:!0}):Error.captureStackTrace?Error.captureStackTrace(this,e):Object.defineProperty(this,"stack",{value:Error().stack,writable:!0,configurable:!0})}get[Symbol.toStringTag](){return"GraphQLError"}toString(){let e=this.message;if(this.nodes)for(let n of this.nodes){var t;n.loc&&(e+=` 9 10`+z((t=n.loc).source,X(t.source,t.start)))}else if(this.source&&this.locations)for(let t of this.locations)e+=` 11 12`+z(this.source,t);return e}toJSON(){let e={message:this.message};return null!=this.locations&&(e.locations=this.locations),null!=this.path&&(e.path=this.path),null!=this.extensions&&Object.keys(this.extensions).length>0&&(e.extensions=this.extensions),e}};function Z(e){return void 0===e||0===e.length?void 0:e}function ee(e,t,n){return new W(`Syntax Error: ${n}`,{source:e,positions:[t]})}function et(e){return e>=48&&e<=57}function en(e){return e>=97&&e<=122||e>=65&&e<=90}function ei(e){return en(e)||95===e}!function(e){e.QUERY="QUERY",e.MUTATION="MUTATION",e.SUBSCRIPTION="SUBSCRIPTION",e.FIELD="FIELD",e.FRAGMENT_DEFINITION="FRAGMENT_DEFINITION",e.FRAGMENT_SPREAD="FRAGMENT_SPREAD",e.INLINE_FRAGMENT="INLINE_FRAGMENT",e.VARIABLE_DEFINITION="VARIABLE_DEFINITION",e.SCHEMA="SCHEMA",e.SCALAR="SCALAR",e.OBJECT="OBJECT",e.FIELD_DEFINITION="FIELD_DEFINITION",e.ARGUMENT_DEFINITION="ARGUMENT_DEFINITION",e.INTERFACE="INTERFACE",e.UNION="UNION",e.ENUM="ENUM",e.ENUM_VALUE="ENUM_VALUE",e.INPUT_OBJECT="INPUT_OBJECT",e.INPUT_FIELD_DEFINITION="INPUT_FIELD_DEFINITION"}(r||(r={})),function(e){e.NAME="Name",e.DOCUMENT="Document",e.OPERATION_DEFINITION="OperationDefinition",e.VARIABLE_DEFINITION="VariableDefinition",e.SELECTION_SET="SelectionSet",e.FIELD="Field",e.ARGUMENT="Argument",e.FRAGMENT_SPREAD="FragmentSpread",e.INLINE_FRAGMENT="InlineFragment",e.FRAGMENT_DEFINITION="FragmentDefinition",e.VARIABLE="Variable",e.INT="IntValue",e.FLOAT="FloatValue",e.STRING="Str
12ingValue",e.BOOLEAN="BooleanValue",e.NULL="NullValue",e.ENUM="EnumValue",e.LIST="ListValue",e.OBJECT="ObjectValue",e.OBJECT_FIELD="ObjectField",e.DIRECTIVE="Directive",e.NAMED_TYPE="NamedType",e.LIST_TYPE="ListType",e.NON_NULL_TYPE="NonNullType",e.SCHEMA_DEFINITION="SchemaDefinition",e.OPERATION_TYPE_DEFINITION="OperationTypeDefinition",e.SCALAR_TYPE_DEFINITION="ScalarTypeDefinition",e.OBJECT_TYPE_DEFINITION="ObjectTypeDefinition",e.FIELD_DEFINITION="FieldDefinition",e.INPUT_VALUE_DEFINITION="InputValueDefinition",e.INTERFACE_TYPE_DEFINITION="InterfaceTypeDefinition",e.UNION_TYPE_DEFINITION="UnionTypeDefinition",e.ENUM_TYPE_DEFINITION="EnumTypeDefinition",e.ENUM_VALUE_DEFINITION="EnumValueDefinition",e.INPUT_OBJECT_TYPE_DEFINITION="InputObjectTypeDefinition",e.DIRECTIVE_DEFINITION="DirectiveDefinition",e.SCHEMA_EXTENSION="SchemaExtension",e.SCALAR_TYPE_EXTENSION="ScalarTypeExtension",e.OBJECT_TYPE_EXTENSION="ObjectTypeExtension",e.INTERFACE_TYPE_EXTENSION="InterfaceTypeExtension",e.UNION_TYPE_EXTENSION="UnionTypeExtension",e.ENUM_TYPE_EXTENSION="EnumTypeExtension",e.INPUT_OBJECT_TYPE_EXTENSION="InputObjectTypeExtension"}(s||(s={})),!function(e){e.SOF="<SOF>",e.EOF="<EOF>",e.BANG="!",e.DOLLAR="$",e.AMP="&",e.PAREN_L="(",e.PAREN_R=")",e.SPREAD="...",e.COLON=":",e.EQUALS="=",e.AT="@",e.BRACKET_L="[",e.BRACKET_R="]",e.BRACE_L="{",e.PIPE="|",e.BRACE_R="}",e.NAME="Name",e.INT="Int",e.FLOAT="Float",e.STRING="String",e.BLOCK_STRING="BlockString",e.COMMENT="Comment"}(a||(a={}));var er=class{constructor(e){let t=new R(a.SOF,0,0,0,0);this.source=e,this.lastToken=t,this.token=t,this.line=1,this.lineStart=0}get[Symbol.toStringTag](){return"Lexer"}advance(){return this.lastToken=this.token,this.token=this.lookahead()}lookahead(){let e=this.token;if(e.kind!==a.EOF)do if(e.next)e=e.next;else{let t=function(e,t){let n=e.source.body,i=n.length,r=t;for(;r<i;){let t=n.charCodeAt(r);switch(t){case 65279:case 9:case 32:case 44:++r;continue;case 10:++r,++e.line,e.lineStart=r;continue;case 13:10===n.charCodeAt(r+1)?r+=2:++r,++e.line,e.lineStart=r;continue;case 35:return function(e,t){let n=e.source.body,i=n.length,r=t+1;for(;r<i;){let e=n.charCodeAt(r);if(10===e||13===e)break;if(es(e))++r;else if(ea(n,r))r+=2;else break}return eu(e,a.COMMENT,t,r,n.slice(t+1,r))}(e,r);case 33:return eu(e,a.BANG,r,r+1);case 36:return eu(e,a.DOLLAR,r,r+1);case 38:return eu(e,a.AMP,r,r+1);case 40:return eu(e,a.PAREN_L,r,r+1);case 41:return eu(e,a.PAREN_R,r,r+1);case 46:if(46===n.charCodeAt(r+1)&&46===n.charCodeAt(r+2))return eu(e,a.SPREAD,r,r+3);break;case 58:return eu(e,a.COLON,r,r+1);case 61:return eu(e,a.EQUALS,r,r+1);case 64:return eu(e,a.AT,r,r+1);case 91:return eu(e,a.BRACKET_L,r,r+1);case 93:return eu(e,a.BRACKET_R,r,r+1);case 123:return eu(e,a.BRACE_L,r,r+1);case 124:return eu(e,a.PIPE,r,r+1);case 125:return eu(e,a.BRACE_R,r,r+1);case 34:return 34===n.charCodeAt(r+1)&&34===n.charCodeAt(r+2)?function(e,t){let n=e.source.body,i=n.length,r=e.lineStart,s=t+3,o=s,l="",c=[];for(;s<i;){let i=n.charCodeAt(s);if(34===i&&34===n.charCodeAt(s+1)&&34===n.charCodeAt(s+2)){l+=n.slice(o,s),c.push(l);let i=eu(e,a.BLOCK_STRING,t,s+3,(function(e){var t,n;let i=Number.MAX_SAFE_INTEGER,r=null,s=-1;for(let t=0;t<e.length;++t){let a=e[t],o=function(e){var t;let n=0;for(;n<e.length&&(9===(t=e.charCodeAt(n))||32===t);)++n;return n}(a);o!==a.length&&(r=null!=(n=r)?n:t,s=t,0!==t&&o<i&&(i=o))}return e.map((e,t)=>0===t?e:e.slice(i)).slice(null!=(t=r)?t:0,s+1)})(c).join(` 13`));return e.line+=c.length-1,e.lineStart=r,i}if(92===i&&34===n.charCodeAt(s+1)&&34===n.charCodeAt(s+2)&&34===n.charCodeAt(s+3)){l+=n.slice(o,s),o=s+1,s+=4;continue}if(10===i||13===i){l+=n.slice(o,s),c.push(l),13===i&&10===n.charCodeAt(s+1)?s+=2:++s,l="",o=s,r=s;continue}if(es(i))++s;else if(ea(n,s))s+=2;else throw ee(e.source,s,`Invalid character within String: ${ec(e,s)}.`)}throw ee(e.source,s,"Unterminated string.")}(e,r):function(e,t){let n=e.source.body,i=n.length,r=t+1,s=r,o="";for(;r<i;){let i=n.charCodeAt(r);if(34===i)return o+=n.slice(s,r),eu(e,a.STRING,t,r+1,o);if(92===i){o+=n.slice(s,r);let t=117===n.charCodeAt(r+1)?123===n.charCodeAt(r+2)?function(e,t){let n=e.source.body,i=0,r=3;for(;r<12;){let e=n.charCodeAt(t+r++);if(125===e){if(r<5||!es(i))break;return{value:String.fromCodePoint(i),size:r}}if((i=i<<4|ed(e))<0)break}throw ee(e.source,t,`Invalid Unicode escape sequence: "${n.slice(t,t+r)}".`)}(e,r):function(e,t){let n=e.source.body,i=eh(n,t+2);if(es(i))return{value:String.fromCodePoint(i),size:6};if(eo(i)&&92===n.charCodeAt(t+6)&&117===n.charCodeAt(t+7)){let e=eh(n,t+8);if(el(e))return{value:String.fromCodePoint(i,e),size:12}}throw ee(e.source,t,`Invalid Unicode escape sequence: "${n.slice(t,t+6)}".`)}(e,r):function(e,t){let n=e.source.body;switch(n.charCodeAt(t+1)){case 34:return{value:'"',size:2};case 92:return{value:"\\",size:2};case 47:return{value:"/",size:2};case 98:return{value:"\b",size:2};case 102:return{value:"\f",size:2};case 110:return{value:` 14`,size:2};case 114:return{value:"\r",size:2};case 116:return{value:" ",size:2}}throw ee(e.source,t,`Invalid character escape sequence: "${n.slice(t,t+2)}".`)}(e,r);o+=t.value,r+=t.size,s=r;continue}if(10===i||13===i)break;if(es(i))++r;else if(ea(n,r))r+=2;else throw ee(e.source,r,`Invalid character within String: ${ec(e,r)}.`)}throw ee(e.source,r,"Unterminated string.")}(e,r)}if(et(t)||45===t)return function(e,t,n){let i=e.source.body,r=t,s=n,o=!1;if(45===s&&(s=i.charCodeAt(++r)),48===s){if(et(s=i.charCodeAt(++r)))throw ee(e.source,r,`Invalid number, unexpected digit after 0: ${ec(e,r)}.`)}else r=ep(e,r,s),s=i.charCodeAt(r);if(46===s&&(o=!0,s=i.charCodeAt(++r),r=ep(e,r,s),s=i.charCodeAt(r)),(69===s||101===s)&&(o=!0,(43===(s=i.charCodeAt(++r))||45===s)&&(s=i.charCodeAt(++r)),r=ep(e,r,s),s=i.charCodeAt(r)),46===s||ei(s))throw ee(e.source,r,`Invalid number, expected digit but got: ${ec(e,r)}.`);return eu(e,o?a.FLOAT:a.INT,t,r,i.slice(t,r))}(e,r,t);if(ei(t))return function(e,t){let n=e.source.body,i=n.length,r=t+1;for(;r<i;){var s;if(en(s=n.charCodeAt(r))||et(s)||95===s)++r;else break}return eu(e,a.NAME,t,r,n.slice(t,r))}(e,r);throw ee(e.source,r,39===t?"Unexpected single quote character ('), did you mean to use a double quote (\")?":es(t)||ea(n,r)?`Unexpected character: ${ec(e,r)}.`:`Invalid character: ${ec(e,r)}.`)}return eu(e,a.EOF,i,i)}(this,e.end);e.next=t,t.prev=e,e=t}while(e.kind===a.COMMENT);return e}};function es(e){return e>=0&&e<=55295||e>=57344&&e<=1114111}function ea(e,t){return eo(e.charCodeAt(t))&&el(e.charCodeAt(t+1))}function eo(e){return e>=55296&&e<=56319}function el(e){return e>=56320&&e<=57343}function ec(e,t){let n=e.source.body.codePointAt(t);if(void 0===n)return a.EOF;if(n>=32&&n<=126){let e=String.fromCodePoint(n);return'"'===e?"'\"'":`"${e}"`}return"U+"+n.toString(16).toUpperCase().padStart(4,"0")}function eu(e,t,n,i,r){let s=e.line,a=1+n-e.lineStart;return new R(t,n,i,s,a,r)}function ep(e,t,n){if(!et(n))throw ee(e.source,t,`Invalid number, expected digit but got: ${ec(e,t)}.`);let i=e.source.body,r=t+1;for(;et(i.charCodeAt(r));)++r;return r}function eh(e,t){return ed(e.charCodeAt(t))<<12|ed(e.charCodeAt(t+1))<<8|ed(e.charCodeAt(t+2))<<4|ed(e.charCodeAt(t+3))}function ed(e){return e>=48&&e<=57?e-48:e>=65&&e<=70?e-55:e>=97&&e<=102?e-87:-1}function ef(e,t){if(!e)throw Error(t)}function eE(e,t){switch(typeof e){case"string":return JSON.stringify(e);case"function":return e.name?`[function ${e.name}]`:"[function]";case"object":return function(e,t){let n;if(null===e)return"null";if(t.includes(e))return"[Circular]";let i=[...t,e];if("function"==typeof e.toJSON){let t=e.toJSON();if(t!==e)return"string"==typeof t?t:eE(t,i)}else if(Array.isArray(e)){var r,s,a=e,o=i;if(0===a.length)return"[]";if(o.length>2)return"[Array]";let t=Math.min(10,a.length),n=a.length-t,l=[];for(let e=0;e<t;++e)l.push(eE(a[e],o));return 1===n?l.push("... 1 more item"):n>1&&l.push(`... ${n} more items`),"["+l.join(", ")+"]"}return r=e,s=i,0===(n=Object.entries(r)).length?"{}":s.length>2?"["+function(e){let t=Object.prototype.toString.call(e).replace(/^\[object /,"").replace(/]$/,"");if("Object"===t&&"function"==typeof e.constructor){let t=e.constructor.name;if("string"==typeof t&&""!==t)return t}return t}(r)+"]":"{ "+n.map(([e,t])=>e+": "+eE(t,s)).join(", ")+" }"}(e,t);default:return String(e)}}var em=globalThis.process&&1?function(e,t){return e instanceof t}:function(e,t){if(e instanceof t)return!0;
14if("object"==typeof e&&null!==e){var n;let i=t.prototype[Symbol.toStringTag];if(i===(Symbol.toStringTag in e?e[Symbol.toStringTag]:null==(n=e.constructor)?void 0:n.name)){let t=eE(e,[]);throw Error(`Cannot use ${i} "${t}" from another module or realm. 15 16Ensure that there is only one instance of "graphql" in the node_modules 17directory. If different versions of "graphql" are the dependencies of other 18relied on modules, use "resolutions" to ensure only one version is installed. 19 20https://yarnpkg.com/en/docs/selective-version-resolutions 21 22Duplicate "graphql" modules cannot be used at the same time since different 23versions may have different capabilities and behavior. The data from one 24version used in the function from another could produce confusing and 25spurious results.`)}}return!1},eT=class{constructor(e,t="GraphQL request",n={line:1,column:1}){"string"==typeof e||ef(!1,`Body must be a string. Received: ${eE(e,[])}.`),this.body=e,this.name=t,this.locationOffset=n,this.locationOffset.line>0||ef(!1,"line in locationOffset is 1-indexed and must be positive."),this.locationOffset.column>0||ef(!1,"column in locationOffset is 1-indexed and must be positive.")}get[Symbol.toStringTag](){return"Source"}},eN=class{constructor(e,t={}){let n=em(e,eT)?e:new eT(e);this._lexer=new er(n),this._options=t,this._tokenCounter=0}get tokenCount(){return this._tokenCounter}parseName(){let e=this.expectToken(a.NAME);return this.node(e,{kind:s.NAME,value:e.value})}parseDocument(){return this.node(this._lexer.token,{kind:s.DOCUMENT,definitions:this.many(a.SOF,this.parseDefinition,a.EOF)})}parseDefinition(){if(this.peek(a.BRACE_L))return this.parseOperationDefinition();let e=this.peekDescription(),t=e?this._lexer.lookahead():this._lexer.token;if(t.kind===a.NAME){switch(t.value){case"schema":return this.parseSchemaDefinition();case"scalar":return this.parseScalarTypeDefinition();case"type":return this.parseObjectTypeDefinition();case"interface":return this.parseInterfaceTypeDefinition();case"union":return this.parseUnionTypeDefinition();case"enum":return this.parseEnumTypeDefinition();case"input":return this.parseInputObjectTypeDefinition();case"directive":return this.parseDirectiveDefinition()}if(e)throw ee(this._lexer.source,this._lexer.token.start,"Unexpected description, descriptions are supported only on type definitions.");switch(t.value){case"query":case"mutation":case"subscription":return this.parseOperationDefinition();case"fragment":return this.parseFragmentDefinition();case"extend":return this.parseTypeSystemExtension()}}throw this.unexpected(t)}parseOperationDefinition(){let e=this._lexer.token;if(this.peek(a.BRACE_L))return this.node(e,{kind:s.OPERATION_DEFINITION,operation:i.QUERY,name:void 0,variableDefinitions:[],directives:[],selectionSet:this.parseSelectionSet()});let t=this.parseOperationType(),n;return this.peek(a.NAME)&&(n=this.parseName()),this.node(e,{kind:s.OPERATION_DEFINITION,operation:t,name:n,variableDefinitions:this.parseVariableDefinitions(),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseOperationType(){let e=this.expectToken(a.NAME);switch(e.value){case"query":return i.QUERY;case"mutation":return i.MUTATION;case"subscription":return i.SUBSCRIPTION}throw this.unexpected(e)}parseVariableDefinitions(){return this.optionalMany(a.PAREN_L,this.parseVariableDefinition,a.PAREN_R)}parseVariableDefinition(){return this.node(this._lexer.token,{kind:s.VARIABLE_DEFINITION,variable:this.parseVariable(),type:(this.expectToken(a.COLON),this.parseTypeReference()),defaultValue:this.expectOptionalToken(a.EQUALS)?this.parseConstValueLiteral():void 0,directives:this.parseConstDirectives()})}parseVariable(){let e=this._lexer.token;return this.expectToken(a.DOLLAR),this.node(e,{kind:s.VARIABLE,name:this.parseName()})}parseSelectionSet(){return this.node(this._lexer.token,{kind:s.SELECTION_SET,selections:this.many(a.BRACE_L,this.parseSelection,a.BRACE_R)})}parseSelection(){return this.peek(a.SPREAD)?this.parseFragment():this.parseField()}parseField(){let e=this._lexer.token,t=this.parseName(),n,i;return this.expectOptionalToken(a.COLON)?(n=t,i=this.parseName()):i=t,this.node(e,{kind:s.FIELD,alias:n,name:i,arguments:this.parseArguments(!1),directives:this.parseDirectives(!1),selectionSet:this.peek(a.BRACE_L)?this.parseSelectionSet():void 0})}parseArguments(e){let t=e?this.parseConstArgument:this.parseArgument;return this.optionalMany(a.PAREN_L,t,a.PAREN_R)}parseArgument(e=!1){let t=this._lexer.token,n=this.parseName();return this.expectToken(a.COLON),this.node(t,{kind:s.ARGUMENT,name:n,value:this.parseValueLiteral(e)})}parseConstArgument(){return this.parseArgument(!0)}parseFragment(){let e=this._lexer.token;this.expectToken(a.SPREAD);let t=this.expectOptionalKeyword("on");return!t&&this.peek(a.NAME)?this.node(e,{kind:s.FRAGMENT_SPREAD,name:this.parseFragmentName(),directives:this.parseDirectives(!1)}):this.node(e,{kind:s.INLINE_FRAGMENT,typeCondition:t?this.parseNamedType():void 0,directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentDefinition(){let e=this._lexer.token;return this.expectKeyword("fragment"),!0===this._options.allowLegacyFragmentVariables?this.node(e,{kind:s.FRAGMENT_DEFINITION,name:this.parseFragmentName(),variableDefinitions:this.parseVariableDefinitions(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()}):this.node(e,{kind:s.FRAGMENT_DEFINITION,name:this.parseFragmentName(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentName(){if("on"===this._lexer.token.value)throw this.unexpected();return this.parseName()}parseValueLiteral(e){let t=this._lexer.token;switch(t.kind){case a.BRACKET_L:return this.parseList(e);case a.BRACE_L:return this.parseObject(e);case a.INT:return this.advanceLexer(),this.node(t,{kind:s.INT,value:t.value});case a.FLOAT:return this.advanceLexer(),this.node(t,{kind:s.FLOAT,value:t.value});case a.STRING:case a.BLOCK_STRING:return this.parseStringLiteral();case a.NAME:switch(this.advanceLexer(),t.value){case"true":return this.node(t,{kind:s.BOOLEAN,value:!0});case"false":return this.node(t,{kind:s.BOOLEAN,value:!1});case"null":return this.node(t,{kind:s.NULL});default:return this.node(t,{kind:s.ENUM,value:t.value})}case a.DOLLAR:if(e)if(this.expectToken(a.DOLLAR),this._lexer.token.kind===a.NAME){let e=this._lexer.token.value;throw ee(this._lexer.source,t.start,`Unexpected variable "$${e}" in constant value.`)}else throw this.unexpected(t);return this.parseVariable();default:throw this.unexpected()}}parseConstValueLiteral(){return this.parseValueLiteral(!0)}parseStringLiteral(){let e=this._lexer.token;return this.advanceLexer(),this.node(e,{kind:s.STRING,value:e.value,block:e.kind===a.BLOCK_STRING})}parseList(e){let t=()=>this.parseValueLiteral(e);return this.node(this._lexer.token,{kind:s.LIST,values:this.any(a.BRACKET_L,t,a.BRACKET_R)})}parseObject(e){let t=()=>this.parseObjectField(e);return this.node(this._lexer.token,{kind:s.OBJECT,fields:this.any(a.BRACE_L,t,a.BRACE_R)})}parseObjectField(e){let t=this._lexer.token,n=this.parseName();return this.expectToken(a.COLON),this.node(t,{kind:s.OBJECT_FIELD,name:n,value:this.parseValueLiteral(e)})}parseDirectives(e){let t=[];for(;this.peek(a.AT);)t.push(this.parseDirective(e));return t}parseConstDirectives(){return this.parseDirectives(!0)}parseDirective(e){let t=this._lexer.token;return this.expectToken(a.AT),this.node(t,{kind:s.DIRECTIVE,name:this.parseName(),arguments:this.parseArguments(e)})}parseTypeReference(){let e=this._lexer.token,t;if(this.expectOptionalToken(a.BRACKET_L)){let n=this.parseTypeReference();this.expectToken(a.BRACKET_R),t=this.node(e,{kind:s.LIST_TYPE,type:n})}else t=this.parseNamedType();return this.expectOptionalToken(a.BANG)?this.node(e,{kind:s.NON_NULL_TYPE,type:t}):t}parseNamedType(){return this.node(this._lexer.token,{kind:s.NAMED_TYPE,name:this.parseName()})}peekDescription(){return this.peek(a.STRING)||this.peek(a.BLOCK_STRING)}parseDescription(){if(this.peekDescription())return this.parseStringLiteral()}parseSchemaDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("schema");let n=this.parseConstDirectives(),i=this.many(a.BRACE_L,this.parseOperationTypeDefinition,a.BRACE_R);return this.node(e,{kind:s.SCHEMA_DEFINITION,description:t,directives:n,operationTypes:i})}parseOperationTypeDefinition(){let e=this._lexer.token,t=this.parseOperationType();this.expectToken(a.COLON);let n=this.parseNamedType();return this.node(e,{kind:s.OPERATION_TYPE_DEFINITION,operation:t,type:n})}parseScalarTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("scalar");let n=this.parseName(),i=this.parseConstDirectives();return this.node(e,{kind:s.SCALAR_TYPE_DEFINITION,description:t,name:n,directives:i})}parseObjectTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("type");let n=this.parseName(),i=this.parseImplementsInterfaces(),r=this.parseConstDirectives(),a=this.parseFieldsDefinition();return this.node(e,{kind:s.OBJECT_TYPE_DEFINITION,description:t,name:n,interfaces:i,directives:r,fields:a})}parseImplementsInterfaces(){return this.expectOptionalKeyword("implements")?this.delimitedMany(a.AMP,this.parseNamedType):[]}parseFieldsDefinition(){return this.optionalMany(a.BRACE_L,this.parseFieldDefinition,a.BRACE_R)}parseFieldDefinition(){let e=this._lexer.token,t=this.parseDescription(),n=this.parseName(),i=this.parseArgumentDefs();this.expectToken(a.COLON);let r=this.parseTypeReference(),o=this.parseConstDirectives();return this.node(e,{kind:s.FIELD_DEFINITION,description:t,name:n,arguments:i,type:r,directives:o})}parseArgumentDefs(){return this.optionalMany(a.PAREN_L,this.parseInputValueDef,a.PAREN_R)}parseInputValueDef(){let e=this._lexer.token,t=this.parseDescription(),n=this.parseName();this.expectToken(a.COLON);let i=this.parseTypeReference(),r;this.expectOptionalToken(a.EQUALS)&&(r=this.parseConstValueLiteral());let o=this.parseConstDirectives();return this.node(e,{kind:s.INPUT_VALUE_DEFINITION,description:t,name:n,type:i,defaultValue:r,directives:o})}parseInterfaceTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("interface");let n=this.parseName(),i=this.parseImplementsInterfaces(),r=this.parseConstDirectives(),a=this.parseFieldsDefinition();return this.node(e,{kind:s.INTERFACE_TYPE_DEFINITION,description:t,name:n,interfaces:i,directives:r,fields:a})}parseUnionTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("union");let n=this.parseName(),i=this.parseConstDirectives(),r=this.parseUnionMemberTypes();return this.node(e,{kind:s.UNION_TYPE_DEFINITION,description:t,name:n,directives:i,types:r})}parseUnionMemberTypes(){return this.expectOptionalToken(a.EQUALS)?this.delimitedMany(a.PIPE,this.parseNamedType):[]}parseEnumTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("enum");let n=this.parseName(),i=this.parseConstDirectives(),r=this.parseEnumValuesDefinition();return this.node(e,{kind:s.ENUM_TYPE_DEFINITION,description:t,name:n,directives:i,values:r})}parseEnumValuesDefinition(){return this.optionalMany(a.BRACE_L,this.parseEnumValueDefinition,a.BRACE_R)}parseEnumValueDefinition(){let e=this._lexer.token,t=this.parseDescription(),n=this.parseEnumValueName(),i=this.parseConstDirectives();return this.node(e,{kind:s.ENUM_VALUE_DEFINITION,description:t,name:n,directives:i})}parseEnumValueName(){if("true"===this._lexer.token.value||"false"===this._lexer.token.value||"null"===this._lexer.token.value)throw ee(this._lexer.source,this._lexer.token.start,`${eI(this._lexer.token)} is reserved and cannot be used for an enum value.`);return this.parseName()}parseInputObjectTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("input");let n=this.parseName(),i=this.parseConstDirectives(),r=this.parseInputFieldsDefinition();return this.node(e,{kind:s.INPUT_OBJECT_TYPE_DEFINITION,description:t,name:n,directives:i,fields:r})}parseInputFieldsDefinition(){return this.optionalMany(a.BRACE_L,this.parseInputValueDef,a.BRACE_R)}parseTypeSystemExtension(){let e=this._lexer.lookahead();if(e.kind===a.NAME)switch(e.value){case"schema":return this.parseSchemaExtension();case"scalar":return this.parseScalarTypeExtension();case"type":return this.parseObjectTypeExtension();case"interface":return this.parseInterfaceTypeExtension();case"union":return this.parseUnionTypeExtension();case"enum":return this.parseEnumTypeExtension();case"input":return this.parseInputObjectTypeExtension()}throw this.unexpected(e)}parseSchemaExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("schema");let t=this.parseConstDirectives(),n=this.optionalMany(a.BRACE_L,this.parseOperationTypeDefinition,a.BRACE_R);if(0===t.length&&0===n.length)throw this.unexpected();return this.node(e,{kind:s.SCHEMA_EXTENSION,directives:t,operationTypes:n})}parseScalarTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("scalar");let t=this.parseName(),n=this.parseConstDirectives();if(0===n.length)throw this.unexpected();return this.node(e,{kind:s.SCALAR_TYPE_EXTENSION,name:t,directives:n})}parseObjectTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("type");let t=this.parseName(),n=this.parseImplementsInterfaces(),i=this.parseConstDirectives(),r=this.parseFieldsDefinition();if(0===n.length&&0===i.length&&0===r.length)throw this.unexpected();return this.node(e,{kind:s.OBJECT_TYPE_EXTENSION,name:t,interfaces:n,directives:i,fields:r})}parseInterfaceTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("interface");let t=this.parseName(),n=this.parseImplementsInterfaces(),i=this.parseConstDirectives(),r=this.parseFieldsDefinition();if(0===n.length&&0===i.length&&0===r.length)throw this.unexpected();return this.node(e,{kind:s.INTERFACE_TYPE_EXTENSION,name:t,interfaces:n,directives:i,fields:r})}parseUnionTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("union");let t=this.parseName(),n=this.parseConstDirectives(),i=this.parseUnionMemberTypes();if(0===n.length&&0===i.length)throw this.unexpected();return this.node(e,{kind:s.UNION_TYPE_EXTENSION,name:t,directives:n,types:i})}parseEnumTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("enum");let t=this.parseName(),n=this.parseConstDirectives(),i=this.parseEnumValuesDefinition();if(0===n.length&&0===i.length)throw this.unexpected();return this.node(e,{kind:s.ENUM_TYPE_EXTENSION,name:t,directives:n,values:i})}parseInputObjectTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("input");let t=this.parseName(),n=this.parseConstDirectives(),i=this.parseInputFieldsDefinition();if(0===n.length&&0===i.length)throw this.unexpected();return this.node(e,{kind:s.INPUT_OBJECT_TYPE_EXTENSION,name:t,directives:n,fields:i})}parseDirectiveDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("directive"),this.expectToken(a.AT);let n=this.parseName(),i=this.parseArgumentDefs(),r=this.expectOptionalKeyword("repeatable");this.expectKeyword("on");let o=this.parseDirectiveLocations();return this.node(e,{kind:s.DIRECTIVE_DEFINITION,description:t,name:n,arguments:i,repeatable:r,locations:o})}parseDirectiveLocations(){return this.delimitedMany(a.PIPE,this.parseDirectiveLocation)}parseDirectiveLocation(){let e=this._lexer.token,t=this.parseName();if(Object.prototype.hasOwnProperty.call(r,t.value))return t;throw this.unexpected(e)}node(e,t){return!0!==this._options.noLocation&&(t.loc=new L(e,this._lexer.lastToken,this._lexer.source)),t}peek(e){return this._lexer.token.kind===e}expectToken(e){let t=this._lexer.token;if(t.kind===e)return this.advanceLexer(),t;throw ee(this._lexer.source,t.start,`Expected ${ey(e)}, found ${eI(t)}.`)}expectOptionalToken(e){return this._lexer.token.kind===e&&(this.advanceLexer(),!0)}expectKeyword(e){let t=this._lexer.token;if(t.kind===a.NAME&&t.value===e)this.advanceLexer();else throw ee(this._lexer.source,t.start,`Expected "${e}", found ${eI(t)}.`)}expectOptionalKeyword(e)
25{let t=this._lexer.token;return t.kind===a.NAME&&t.value===e&&(this.advanceLexer(),!0)}unexpected(e){let t=e??this._lexer.token;return ee(this._lexer.source,t.start,`Unexpected ${eI(t)}.`)}any(e,t,n){this.expectToken(e);let i=[];for(;!this.expectOptionalToken(n);)i.push(t.call(this));return i}optionalMany(e,t,n){if(this.expectOptionalToken(e)){let e=[];do e.push(t.call(this));while(!this.expectOptionalToken(n));return e}return[]}many(e,t,n){this.expectToken(e);let i=[];do i.push(t.call(this));while(!this.expectOptionalToken(n));return i}delimitedMany(e,t){this.expectOptionalToken(e);let n=[];do n.push(t.call(this));while(this.expectOptionalToken(e));return n}advanceLexer(){let{maxTokens:e}=this._options,t=this._lexer.advance();if(t.kind!==a.EOF&&(++this._tokenCounter,void 0!==e&&this._tokenCounter>e))throw ee(this._lexer.source,t.start,`Document contains more that ${e} tokens. Parsing aborted.`)}};function eI(e){let t=e.value;return ey(e.kind)+(null!=t?` "${t}"`:"")}function ey(e){return e===a.BANG||e===a.DOLLAR||e===a.AMP||e===a.PAREN_L||e===a.PAREN_R||e===a.SPREAD||e===a.COLON||e===a.EQUALS||e===a.AT||e===a.BRACKET_L||e===a.BRACKET_R||e===a.BRACE_L||e===a.PIPE||e===a.BRACE_R?`"${e}"`:e}var ev={allowLegacyFragmentVariables:!0},eO={parse:function(e){let t;try{let n,i;i=(n=new eN(e,ev)).parseDocument(),Object.defineProperty(i,"tokenCount",{enumerable:!1,value:n.tokenCount}),t=i}catch(e){throw function(e){if((null==e?void 0:e.name)==="GraphQLError"){var t;let{message:n,locations:[i]}=e;return Object.assign(SyntaxError(n+" ("+(t={loc:{start:i},cause:e}).loc.start.line+":"+t.loc.start.column+")"),t)}return e}(e)}return t.comments=function(e){let t=[],{startToken:n,endToken:i}=e.loc;for(let e=n;e!==i;e=e.next)"Comment"===e.kind&&t.push({...e,loc:{start:e.start,end:e.end}});return t}(t),t},astFormat:"graphql",hasPragma:function(e){return M.test(e)},hasIgnorePragma:function(e){return V.test(e)},locStart:P,locEnd:U},eA={graphql:{print:function(e,t,n){let{node:i}=e;switch(i.kind){case"Document":return[...I(N,K(e,t,n,"definitions")),N];case"OperationDefinition":{let r="{"!==t.originalText[P(i)],s=!!i.name;return[r?i.operation:"",r&&s?[" ",n("name")]:"",r&&!s&&g(i.variableDefinitions)?" ":"",$(e,n),j(e,n,i),r||s?" ":"",n("selectionSet")]}case"FragmentDefinition":return["fragment ",n("name"),$(e,n)," on ",n("typeCondition"),j(e,n,i)," ",n("selectionSet")];case"SelectionSet":return["{",d([N,I(N,K(e,t,n,"selections"))]),N,"}"];case"Field":return f([i.alias?[n("alias"),": "]:"",n("name"),i.arguments.length>0?f(["(",d([T,I([E("",", "),T],K(e,t,n,"arguments"))]),T,")"]):"",j(e,n,i),i.selectionSet?" ":"",n("selectionSet")]);case"Name":case"IntValue":case"FloatValue":case"EnumValue":return i.value;case"StringValue":if(i.block){let e=u(!1,i.value,'"""',String.raw`\"""`).split(` 26`);return 1===e.length&&(e[0]=e[0].trim()),e.every(e=>""===e)&&(e.length=0),I(N,['"""',...e,'"""'])}return['"',u(!1,u(!1,i.value,/["\\]/gu,String.raw`\$&`),` 27`,String.raw`\n`),'"'];case"BooleanValue":return i.value?"true":"false";case"NullValue":return"null";case"Variable":return["$",n("name")];case"ListValue":return f(["[",d([T,I([E("",", "),T],e.map(n,"values"))]),T,"]"]);case"ObjectValue":{let r=t.bracketSpacing&&i.fields.length>0?" ":"";return f(["{",r,d([T,I([E("",", "),T],e.map(n,"fields"))]),T,E("",r),"}"])}case"ObjectField":case"Argument":return[n("name"),": ",n("value")];case"Directive":return["@",n("name"),i.arguments.length>0?f(["(",d([T,I([E("",", "),T],K(e,t,n,"arguments"))]),T,")"]):""];case"NamedType":return n("name");case"VariableDefinition":return[n("variable"),": ",n("type"),i.defaultValue?[" = ",n("defaultValue")]:"",j(e,n,i)];case"ObjectTypeExtension":case"ObjectTypeDefinition":case"InputObjectTypeExtension":case"InputObjectTypeDefinition":case"InterfaceTypeExtension":case"InterfaceTypeDefinition":{let{kind:r}=i,s=[];return r.endsWith("TypeDefinition")?s.push(B(e,t,n)):s.push("extend "),r.startsWith("ObjectType")?s.push("type"):r.startsWith("InputObjectType")?s.push("input"):s.push("interface"),s.push(" ",n("name")),!r.startsWith("InputObjectType")&&i.interfaces.length>0&&s.push(" implements ",...function(e,t,n){let{node:i}=e,r=[],{interfaces:s}=i,a=e.map(n,"interfaces");for(let e=0;e<s.length;e++){let n=s[e];r.push(a[e]);let i=s[e+1];if(i){let e=t.originalText.slice(n.loc.end,i.loc.start).includes("#");r.push(" &",e?m:" ")}}return r}(e,t,n)),s.push(j(e,n,i)),i.fields.length>0&&s.push([" {",d([N,I(N,K(e,t,n,"fields"))]),N,"}"]),s}case"FieldDefinition":return[B(e,t,n),n("name"),i.arguments.length>0?f(["(",d([T,I([E("",", "),T],K(e,t,n,"arguments"))]),T,")"]):"",": ",n("type"),j(e,n,i)];case"DirectiveDefinition":return[B(e,t,n),"directive ","@",n("name"),i.arguments.length>0?f(["(",d([T,I([E("",", "),T],K(e,t,n,"arguments"))]),T,")"]):"",i.repeatable?" repeatable":""," on ",...I(" | ",e.map(n,"locations"))];case"EnumTypeExtension":case"EnumTypeDefinition":return[B(e,t,n),"EnumTypeExtension"===i.kind?"extend ":"","enum ",n("name"),j(e,n,i),i.values.length>0?[" {",d([N,I(N,K(e,t,n,"values"))]),N,"}"]:""];case"EnumValueDefinition":return[B(e,t,n),n("name"),j(e,n,i)];case"InputValueDefinition":return[B(e,t,n),n("name"),": ",n("type"),i.defaultValue?[" = ",n("defaultValue")]:"",j(e,n,i)];case"SchemaExtension":return["extend schema",j(e,n,i),...i.operationTypes.length>0?[" {",d([N,I(N,K(e,t,n,"operationTypes"))]),N,"}"]:[]];case"SchemaDefinition":return[B(e,t,n),"schema",j(e,n,i)," {",i.operationTypes.length>0?d([N,I(N,K(e,t,n,"operationTypes"))]):"",N,"}"];case"OperationTypeDefinition":return[i.operation,": ",n("type")];case"FragmentSpread":return["...",n("name"),j(e,n,i)];case"InlineFragment":return["...",i.typeCondition?[" on ",n("typeCondition")]:"",j(e,n,i)," ",n("selectionSet")];case"UnionTypeExtension":case"UnionTypeDefinition":return f([B(e,t,n),f(["UnionTypeExtension"===i.kind?"extend ":"","union ",n("name"),j(e,n,i),i.types.length>0?[" =",E(""," "),d([E([m,"| "]),I([m,"| "],e.map(n,"types"))])]:""])]);case"ScalarTypeExtension":case"ScalarTypeDefinition":return[B(e,t,n),"ScalarTypeExtension"===i.kind?"extend ":"","scalar ",n("name"),j(e,n,i)];case"NonNullType":return[n("type"),"!"];case"ListType":return["[",n("type"),"]"];default:throw new S(i,"Graphql","kind")}},massageAstNode:G,hasPrettierIgnore:function(e){var t;let{node:n}=e;return null==(t=null==n?void 0:n.comments)?void 0:t.some(e=>"prettier-ignore"===e.value.trim())},insertPragma:function(e){return`# @format 28 29${e}`},printComment:function(e){let t=e.node;if("Comment"===t.kind)return"#"+t.value.trimEnd();throw Error("Not a comment: "+JSON.stringify(t))},canAttachComment:function(e){return"Comment"!==e.kind},getVisitorKeys:w}},ex=c}}]);
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.