1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7006],{57006:e=>{!function(t){var n;e.exports=(n=t()).default||n}(function(){"use strict";var e,t,n,i,r,s,a,o,l=Object.defineProperty,c=Object.getOwnPropertyDescriptor,u=Object.getOwnPropertyNames,p=Object.prototype.hasOwnProperty,h=(e,t)=>{for(var n in t)l(e,n,{get:t[n],enumerable:!0})},d={};h(d,{languages:()=>X,options:()=>z,parsers:()=>H,printers:()=>ek});var f=(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)},E="line",m=()=>{};function T(e){return m(e),{type:"indent",contents:e}}function N(e,t={}){return m(e),m(t.expandedStates,!0),{type:"group",id:t.id,contents:e,break:!!t.shouldBreak,expandedStates:t.expandedStates}}function I(e,t="",n={}){return m(e),""!==t&&m(t),{type:"if-break",breakContents:e,flatContents:t,groupId:n.groupId}}var y={type:E},v={type:E,soft:!0},O=[{type:E,hard:!0},{type:"break-parent"}];function x(e,t){m(e),m(t);let n=[];for(let i=0;i<t.length;i++)0!==i&&n.push(e),n.push(t[i]);return n}function A(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}}A(/\s/u);var D=A(" "),_=A(",; "),k=A(/[^\n\r]/u),g=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},S=function(e,t,n={}){let i=D(e,n.backwards?t-1:t,n),r=g(e,i,n);return i!==r},C=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},b=function(e,t){var n;let i=null,r=t;for(;r!==i;)i=r,r=_(e,r),r=C(e,r),r=D(e,r);return!1!==(r=g(e,r=!1!==(n=r)&&("/"===e.charAt(n)&&"/"===e.charAt(n+1)?k(e,n):n)))&&S(e,r)},L=function(e){return Array.isArray(e)&&e.length>0},R=class extends Error{name="UnexpectedNodeError";constructor(e,t,n="type"){super(`Unexpected ${t} node ${n}: ${JSON.stringify(e[n])}.`),this.node=e}},F=null;function w(e){if(null!==F&&(F.property,1)){let e=F;return F=w.prototype=null,e}return F=w.prototype=e??Object.create(null),new w}for(let e=0;e<=10;e++)w();var P=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}}},U=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}}},V={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(V),(e=r||(r={})).QUERY="query",e.MUTATION="mutation",e.SUBSCRIPTION="subscription";var M=function(e,t="type"){return w(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}}(V,"kind");function B(e){return e.loc.start}function j(e){return e.loc.end}
5var K=/^\s*#[^\S\n]*@(?:noformat|noprettier)\s*(?:\n|$)/u,$=/^\s*#[^\S\n]*@(?:format|prettier)\s*(?:\n|$)/u,G=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(O):r.push(y),r};function Y(e,t,n){if(0===n.directives.length)return"";let i=x(y,e.map(t,"directives"));return"FragmentDefinition"===n.kind||"OperationDefinition"===n.kind?N([y,i]):[" ",N(T([v,i]))]}function J(e,t,n,i){return e.map(({isLast:e,node:i})=>{let r=n();return!e&&b(t.originalText,j(i))?[r,O]:r},i)}function q(e,t){let{node:n}=e;return L(n.variableDefinitions)?N(["(",T([v,x([I("",", "),v],e.map(t,"variableDefinitions"))]),v,")"]):""}function Q(e,t){"StringValue"===e.kind&&e.block&&!e.value.includes(` 6`)&&(t.value=e.value.trim())}Q.ignoredProperties=new Set(["loc","comments"]);var X=[{name:"GraphQL",type:"data",extensions:[".graphql",".gql",".graphqls"],tmScope:"source.graphql",aceMode:"text",parsers:["graphql"],vscodeLanguageIds:["graphql"],linguistLanguageId:139}],z={bracketSpacing:{category:"Common",type:"boolean",default:!0,description:"Print spaces between brackets.",oppositeDescription:"Do not print spaces between brackets."}},H={};h(H,{graphql:()=>e_});var W=/\r\n|[\n\r]/g;function Z(e,t){let n=0,i=1;for(let r of e.body.matchAll(W)){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 ee(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+et([[`${a} |`,t[0]],...t.slice(1,e+1).map(e=>["|",e]),["|","^".padStart(l%80)],["|",t[e+1]]])}return c+et([[`${a-1} |`,u[r-1]],[`${a} |`,p],["|","^".padStart(l)],[`${a+1} |`,u[r+1]]])}function et(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 en=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=ei(Array.isArray(a)?a:a?[a]:void 0);let h=ei(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=>Z(o,e)):null==h?void 0:h.map(e=>Z(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`+ee((t=n.loc).source,Z(t.source,t.start)))}else if(this.source&&this.locations)for(let t of this.locations)e+=` 11 12`+ee(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 ei(e){return void 0===e||0===e.length?void 0:e}function er(e,t,n){return new en(`Syntax Error: ${n}`,{source:e,positions:[t]})}function es(e){return e>=48&&e<=57}function ea(e){return e>=97&&e<=122||e>=65&&e<=90}function eo(e){return ea(e)||95===e}(t=s||(s={})).QUERY="QUERY",t.MUTATION="MUTATION",t.SUBSCRIPTION="SUBSCRIPTION",t.FIELD="FIELD",t.FRAGMENT_DEFINITION="FRAGMENT_DEFINITION",t.FRAGMENT_SPREAD="FRAGMENT_SPREAD",t.INLINE_FRAGMENT="INLINE_FRAGMENT",t.VARIABLE_DEFINITION="VARIABLE_DEFINITION",t.SCHEMA="SCHEMA",t.SCALAR="SCALAR",t.OBJECT="OBJECT",t.FIELD_DEFINITION="FIELD_DEFINITION",t.ARGUMENT_DEFINITION="ARGUMENT_DEFINITION",t.INTERFACE="INTERFACE",t.UNION="UNION",t.ENUM="ENUM",t.ENUM_VALUE="ENUM_VALUE",t.INPUT_OBJECT="INPUT_OBJECT",t.INPUT_FIELD_DEFINITION="INPUT_FIELD_DEFINITION",(n=a||(a={})).NAME="Name",n.DOCUMENT="Document",n.OPERATION_DEFINITION="OperationDefinition",n.VARIABLE_DEFINITION="VariableDefinition",n.SELECTION_SET="SelectionSet",n.FIELD="Field",n.ARGUMENT="Argument",n.FRAGMENT_SPREAD="FragmentSpread",n.INLINE_FRAGMENT="InlineFragment",n.FRAGMENT_DEFINITION="FragmentDefinition",n.VARIABLE="Variable",n.INT="IntValue",n.FLOAT="FloatValue",n.STRING="Str
12ingValue",n.BOOLEAN="BooleanValue",n.NULL="NullValue",n.ENUM="EnumValue",n.LIST="ListValue",n.OBJECT="ObjectValue",n.OBJECT_FIELD="ObjectField",n.DIRECTIVE="Directive",n.NAMED_TYPE="NamedType",n.LIST_TYPE="ListType",n.NON_NULL_TYPE="NonNullType",n.SCHEMA_DEFINITION="SchemaDefinition",n.OPERATION_TYPE_DEFINITION="OperationTypeDefinition",n.SCALAR_TYPE_DEFINITION="ScalarTypeDefinition",n.OBJECT_TYPE_DEFINITION="ObjectTypeDefinition",n.FIELD_DEFINITION="FieldDefinition",n.INPUT_VALUE_DEFINITION="InputValueDefinition",n.INTERFACE_TYPE_DEFINITION="InterfaceTypeDefinition",n.UNION_TYPE_DEFINITION="UnionTypeDefinition",n.ENUM_TYPE_DEFINITION="EnumTypeDefinition",n.ENUM_VALUE_DEFINITION="EnumValueDefinition",n.INPUT_OBJECT_TYPE_DEFINITION="InputObjectTypeDefinition",n.DIRECTIVE_DEFINITION="DirectiveDefinition",n.SCHEMA_EXTENSION="SchemaExtension",n.SCALAR_TYPE_EXTENSION="ScalarTypeExtension",n.OBJECT_TYPE_EXTENSION="ObjectTypeExtension",n.INTERFACE_TYPE_EXTENSION="InterfaceTypeExtension",n.UNION_TYPE_EXTENSION="UnionTypeExtension",n.ENUM_TYPE_EXTENSION="EnumTypeExtension",n.INPUT_OBJECT_TYPE_EXTENSION="InputObjectTypeExtension",(i=o||(o={})).SOF="<SOF>",i.EOF="<EOF>",i.BANG="!",i.DOLLAR="$",i.AMP="&",i.PAREN_L="(",i.PAREN_R=")",i.SPREAD="...",i.COLON=":",i.EQUALS="=",i.AT="@",i.BRACKET_L="[",i.BRACKET_R="]",i.BRACE_L="{",i.PIPE="|",i.BRACE_R="}",i.NAME="Name",i.INT="Int",i.FLOAT="Float",i.STRING="String",i.BLOCK_STRING="BlockString",i.COMMENT="Comment";var el=class{constructor(e){let t=new U(o.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!==o.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(ec(e))++r;else if(eu(n,r))r+=2;else break}return ef(e,o.COMMENT,t,r,n.slice(t+1,r))}(e,r);case 33:return ef(e,o.BANG,r,r+1);case 36:return ef(e,o.DOLLAR,r,r+1);case 38:return ef(e,o.AMP,r,r+1);case 40:return ef(e,o.PAREN_L,r,r+1);case 41:return ef(e,o.PAREN_R,r,r+1);case 46:if(46===n.charCodeAt(r+1)&&46===n.charCodeAt(r+2))return ef(e,o.SPREAD,r,r+3);break;case 58:return ef(e,o.COLON,r,r+1);case 61:return ef(e,o.EQUALS,r,r+1);case 64:return ef(e,o.AT,r,r+1);case 91:return ef(e,o.BRACKET_L,r,r+1);case 93:return ef(e,o.BRACKET_R,r,r+1);case 123:return ef(e,o.BRACE_L,r,r+1);case 124:return ef(e,o.PIPE,r,r+1);case 125:return ef(e,o.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,a=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(a,s),c.push(l);let i=ef(e,o.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(a,s),a=s+1,s+=4;continue}if(10===i||13===i){l+=n.slice(a,s),c.push(l),13===i&&10===n.charCodeAt(s+1)?s+=2:++s,l="",a=s,r=s;continue}if(ec(i))++s;else if(eu(n,s))s+=2;else throw er(e.source,s,`Invalid character within String: ${ed(e,s)}.`)}throw er(e.source,s,"Unterminated string.")}(e,r):function(e,t){let n=e.source.body,i=n.length,r=t+1,s=r,a="";for(;r<i;){let i=n.charCodeAt(r);if(34===i)return a+=n.slice(s,r),ef(e,o.STRING,t,r+1,a);if(92===i){a+=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||!ec(i))break;return{value:String.fromCodePoint(i),size:r}}if((i=i<<4|eT(e))<0)break}throw er(e.source,t,`Invalid Unicode escape sequence: "${n.slice(t,t+r)}".`)}(e,r):function(e,t){let n=e.source.body,i=em(n,t+2);if(ec(i))return{value:String.fromCodePoint(i),size:6};if(ep(i)&&92===n.charCodeAt(t+6)&&117===n.charCodeAt(t+7)){let e=em(n,t+8);if(eh(e))return{value:String.fromCodePoint(i,e),size:12}}throw er(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 er(e.source,t,`Invalid character escape sequence: "${n.slice(t,t+2)}".`)}(e,r);a+=t.value,r+=t.size,s=r;continue}if(10===i||13===i)break;if(ec(i))++r;else if(eu(n,r))r+=2;else throw er(e.source,r,`Invalid character within String: ${ed(e,r)}.`)}throw er(e.source,r,"Unterminated string.")}(e,r)}if(es(t)||45===t)return function(e,t,n){let i=e.source.body,r=t,s=n,a=!1;if(45===s&&(s=i.charCodeAt(++r)),48===s){if(es(s=i.charCodeAt(++r)))throw er(e.source,r,`Invalid number, unexpected digit after 0: ${ed(e,r)}.`)}else r=eE(e,r,s),s=i.charCodeAt(r);if(46===s&&(a=!0,s=i.charCodeAt(++r),r=eE(e,r,s),s=i.charCodeAt(r)),(69===s||101===s)&&(a=!0,(43===(s=i.charCodeAt(++r))||45===s)&&(s=i.charCodeAt(++r)),r=eE(e,r,s),s=i.charCodeAt(r)),46===s||eo(s))throw er(e.source,r,`Invalid number, expected digit but got: ${ed(e,r)}.`);return ef(e,a?o.FLOAT:o.INT,t,r,i.slice(t,r))}(e,r,t);if(eo(t))return function(e,t){let n=e.source.body,i=n.length,r=t+1;for(;r<i;){var s;if(ea(s=n.charCodeAt(r))||es(s)||95===s)++r;else break}return ef(e,o.NAME,t,r,n.slice(t,r))}(e,r);throw er(e.source,r,39===t?"Unexpected single quote character ('), did you mean to use a double quote (\")?":ec(t)||eu(n,r)?`Unexpected character: ${ed(e,r)}.`:`Invalid character: ${ed(e,r)}.`)}return ef(e,o.EOF,i,i)}(this,e.end);e.next=t,t.prev=e,e=t}while(e.kind===o.COMMENT);return e}};function ec(e){return e>=0&&e<=55295||e>=57344&&e<=1114111}function eu(e,t){return ep(e.charCodeAt(t))&&eh(e.charCodeAt(t+1))}function ep(e){return e>=55296&&e<=56319}function eh(e){return e>=56320&&e<=57343}function ed(e,t){let n=e.source.body.codePointAt(t);if(void 0===n)return o.EOF;if(n>=32&&n<=126){let e=String.fromCodePoint(n);return'"'===e?"'\"'":`"${e}"`}return"U+"+n.toString(16).toUpperCase().padStart(4,"0")}function ef(e,t,n,i,r){let s=e.line,a=1+n-e.lineStart;return new U(t,n,i,s,a,r)}
14function eE(e,t,n){if(!es(n))throw er(e.source,t,`Invalid number, expected digit but got: ${ed(e,t)}.`);let i=e.source.body,r=t+1;for(;es(i.charCodeAt(r));)++r;return r}function em(e,t){return eT(e.charCodeAt(t))<<12|eT(e.charCodeAt(t+1))<<8|eT(e.charCodeAt(t+2))<<4|eT(e.charCodeAt(t+3))}function eT(e){return e>=48&&e<=57?e-48:e>=65&&e<=70?e-55:e>=97&&e<=102?e-87:-1}function eN(e,t){if(!e)throw Error(t)}function eI(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:eI(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(eI(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+": "+eI(t,s)).join(", ")+" }"}(e,t);default:return String(e)}}var ey=globalThis.process&&1?function(e,t){return e instanceof t}:function(e,t){if(e instanceof t)return!0;if("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=eI(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},ev=class{constructor(e,t="GraphQL request",n={line:1,column:1}){"string"==typeof e||eN(!1,`Body must be a string. Received: ${eI(e,[])}.`),this.body=e,this.name=t,this.locationOffset=n,this.locationOffset.line>0||eN(!1,"line in locationOffset is 1-indexed and must be positive."),this.locationOffset.column>0||eN(!1,"column in locationOffset is 1-indexed and must be positive.")}get[Symbol.toStringTag](){return"Source"}},eO=class{constructor(e,t={}){let n=ey(e,ev)?e:new ev(e);this._lexer=new el(n),this._options=t,this._tokenCounter=0}get tokenCount(){return this._tokenCounter}parseName(){let e=this.expectToken(o.NAME);return this.node(e,{kind:a.NAME,value:e.value})}parseDocument(){return this.node(this._lexer.token,{kind:a.DOCUMENT,definitions:this.many(o.SOF,this.parseDefinition,o.EOF)})}parseDefinition(){if(this.peek(o.BRACE_L))return this.parseOperationDefinition();let e=this.peekDescription(),t=e?this._lexer.lookahead():this._lexer.token;if(t.kind===o.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 er(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(o.BRACE_L))return this.node(e,{kind:a.OPERATION_DEFINITION,operation:r.QUERY,name:void 0,variableDefinitions:[],directives:[],selectionSet:this.parseSelectionSet()});let t=this.parseOperationType(),n;return this.peek(o.NAME)&&(n=this.parseName()),this.node(e,{kind:a.OPERATION_DEFINITION,operation:t,name:n,variableDefinitions:this.parseVariableDefinitions(),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseOperationType(){let e=this.expectToken(o.NAME);switch(e.value){case"query":return r.QUERY;case"mutation":return r.MUTATION;case"subscription":return r.SUBSCRIPTION}throw this.unexpected(e)}parseVariableDefinitions(){return this.optionalMany(o.PAREN_L,this.parseVariableDefinition,o.PAREN_R)}parseVariableDefinition(){return this.node(this._lexer.token,{kind:a.VARIABLE_DEFINITION,variable:this.parseVariable(),type:(this.expectToken(o.COLON),this.parseTypeReference()),defaultValue:this.expectOptionalToken(o.EQUALS)?this.parseConstValueLiteral():void 0,directives:this.parseConstDirectives()})}parseVariable(){let e=this._lexer.token;return this.expectToken(o.DOLLAR),this.node(e,{kind:a.VARIABLE,name:this.parseName()})}parseSelectionSet(){return this.node(this._lexer.token,{kind:a.SELECTION_SET,selections:this.many(o.BRACE_L,this.parseSelection,o.BRACE_R)})}parseSelection(){return this.peek(o.SPREAD)?this.parseFragment():this.parseField()}parseField(){let e=this._lexer.token,t=this.parseName(),n,i;return this.expectOptionalToken(o.COLON)?(n=t,i=this.parseName()):i=t,this.node(e,{kind:a.FIELD,alias:n,name:i,arguments:this.parseArguments(!1),directives:this.parseDirectives(!1),selectionSet:this.peek(o.BRACE_L)?this.parseSelectionSet():void 0})}parseArguments(e){let t=e?this.parseConstArgument:this.parseArgument;return this.optionalMany(o.PAREN_L,t,o.PAREN_R)}parseArgument(e=!1){let t=this._lexer.token,n=this.parseName();return this.expectToken(o.COLON),this.node(t,{kind:a.ARGUMENT,name:n,value:this.parseValueLiteral(e)})}parseConstArgument(){return this.parseArgument(!0)}parseFragment(){let e=this._lexer.token;this.expectToken(o.SPREAD);let t=this.expectOptionalKeyword("on");return!t&&this.peek(o.NAME)?this.node(e,{kind:a.FRAGMENT_SPREAD,name:this.parseFragmentName(),directives:this.parseDirectives(!1)}):this.node(e,{kind:a.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:a.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:a.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 o.BRACKET_L:return this.parseList(e);case o.BRACE_L:return this.parseObject(e);case o.INT:return this.advanceLexer(),this.node(t,{kind:a.INT,value:t.value});case o.FLOAT:return this.advanceLexer(),this.node(t,{kind:a.FLOAT,value:t.value});case o.STRING:case o.BLOCK_STRING:return this.parseStringLiteral();case o.NAME:switch(this.advanceLexer(),t.value){case"true":return this.node(t,{kind:a.BOOLEAN,value:!0});case"false":return this.node(t,{kind:a.BOOLEAN,value:!1});case"null":return this.node(t,{kind:a.NULL});default:return this.node(t,{kind:a.ENUM,value:t.value})}case o.DOLLAR:if(e)if(this.expectToken(o.DOLLAR),this._lexer.token.kind===o.NAME){let e=this._lexer.token.value;throw er(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:a.STRING,value:e.value,block:e.kind===o.BLOCK_STRING})}parseList(e){let t=()=>this.parseValueLiteral(e);return this.node(this._lexer.token,{kind:a.LIST,values:this.any(o.BRACKET_L,t,o.BRACKET_R)})}parseObject(e){let t=()=>this.parseObjectField(e);return this.node(this._lexer.token,{kind:a.OBJECT,fields:this.any(o.BRACE_L,t,o.BRACE_R)})}parseObjectField(e){let t=this._lexer.token,n=this.parseName();return this.expectToken(o.COLON),this.node(t,{kind:a.OBJECT_FIELD,name:n,value:this.parseValueLiteral(e)})}parseDirectives(e){let t=[];for(;this.peek(o.AT);)t.push(this.parseDirective(e));return t}parseConstDirectives(){return this.parseDirectives(!0)}parseDirective(e){let t=this._lexer.token;return this.expectToken(o.AT),this.node(t,{kind:a.DIRECTIVE,name:this.parseName(),arguments:this.parseArguments(e)})}parseTypeReference(){let e=this._lexer.token,t;if(this.expectOptionalToken(o.BRACKET_L)){let n=this.parseTypeReference();this.expectToken(o.BRACKET_R),t=this.node(e,{kind:a.LIST_TYPE,type:n})}else t=this.parseNamedType();return this.expectOptionalToken(o.BANG)?this.node(e,{kind:a.NON_NULL_TYPE,type:t}):t}parseNamedType(){return this.node(this._lexer.token,{kind:a.NAMED_TYPE,name:this.parseName()})}peekDescription(){return this.peek(o.STRING)||this.peek(o.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(o.BRACE_L,this.parseOperationTypeDefinition,o.BRACE_R);return this.node(e,{kind:a.SCHEMA_DEFINITION,description:t,directives:n,operationTypes:i})}parseOperationTypeDefinition(){let e=this._lexer.token,t=this.parseOperationType();this.expectToken(o.COLON);let n=this.parseNamedType();return this.node(e,{kind:a.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:a.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(),s=this.parseFieldsDefinition();return this.node(e,{kind:a.OBJECT_TYPE_DEFINITION,description:t,name:n,interfaces:i,directives:r,fields:s})}parseImplementsInterfaces(){return this.expectOptionalKeyword("implements")?this.delimitedMany(o.AMP,this.parseNamedType):[]}parseFieldsDefinition(){return this.optionalMany(o.BRACE_L,this.parseFieldDefinition,o.BRACE_R)}parseFieldDefinition(){let e=this._lexer.token,t=this.parseDescription(),n=this.parseName(),i=this.parseArgumentDefs();this.expectToken(o.COLON);let r=this.parseTypeReference(),s=this.parseConstDirectives();return this.node(e,{kind:a.FIELD_DEFINITION,description:t,name:n,arguments:i,type:r,directives:s})}parseArgumentDefs(){return this.optionalMany(o.PAREN_L,this.parseInputValueDef,o.PAREN_R)}parseInputValueDef(){let e=this._lexer.token,t=this.parseDescription(),n=this.parseName();this.expectToken(o.COLON);let i=this.parseTypeReference(),r;this.expectOptionalToken(o.EQUALS)&&(r=this.parseConstValueLiteral());let s=this.parseConstDirectives();return this.node(e,{kind:a.INPUT_VALUE_DEFINITION,description:t,name:n,type:i,defaultValue:r,directives:s})}parseInterfaceTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("interface");let n=this.parseName(),i=this.parseImplementsInterfaces(),r=this.parseConstDirectives(),s=this.parseFieldsDefinition();return this.node(e,{kind:a.INTERFACE_TYPE_DEFINITION,description:t,name:n,interfaces:i,directives:r,fields:s})}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:a.UNION_TYPE_DEFINITION,description:t,name:n,directives:i,types:r})}parseUnionMemberTypes(){return this.expectOptionalToken(o.EQUALS)?this.delimitedMany(o.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:a.ENUM_TYPE_DEFINITION,description:t,name:n,directives:i,values:r})}parseEnumValuesDefinition(){return this.optionalMany(o.BRACE_L,this.parseEnumValueDefinition,o.BRACE_R)}parseEnumValueDefinition(){let e=this._lexer.token,t=this.parseDescription(),n=this.parseEnumValueName(),i=this.parseConstDirectives();return this.node(e,{kind:a.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 er(this._lexer.source,this._lexer.token.start,`${ex(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:a.INPUT_OBJECT_TYPE_DEFINITION,description:t,name:n,directives:i,fields:r})}parseInputFieldsDefinition(){return this.optionalMany(o.BRACE_L,this.parseInputValueDef,o.BRACE_R)}parseTypeSystemExtension(){let e=this._lexer.lookahead();if(e.kind===o.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(o.BRACE_L,this.parseOperationTypeDefinition,o.BRACE_R);if(0===t.length&&0===n.length)throw this.unexpected();return this.node(e,{kind:a.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:a.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:a.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:a.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:a.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:a.ENUM_TYPE_EXTENSION,name:t,directives:n,values:i})}parseInputObjectTypeExtension(){let e=this.
25_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:a.INPUT_OBJECT_TYPE_EXTENSION,name:t,directives:n,fields:i})}parseDirectiveDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("directive"),this.expectToken(o.AT);let n=this.parseName(),i=this.parseArgumentDefs(),r=this.expectOptionalKeyword("repeatable");this.expectKeyword("on");let s=this.parseDirectiveLocations();return this.node(e,{kind:a.DIRECTIVE_DEFINITION,description:t,name:n,arguments:i,repeatable:r,locations:s})}parseDirectiveLocations(){return this.delimitedMany(o.PIPE,this.parseDirectiveLocation)}parseDirectiveLocation(){let e=this._lexer.token,t=this.parseName();if(Object.prototype.hasOwnProperty.call(s,t.value))return t;throw this.unexpected(e)}node(e,t){return!0!==this._options.noLocation&&(t.loc=new P(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 er(this._lexer.source,t.start,`Expected ${eA(e)}, found ${ex(t)}.`)}expectOptionalToken(e){return this._lexer.token.kind===e&&(this.advanceLexer(),!0)}expectKeyword(e){let t=this._lexer.token;if(t.kind===o.NAME&&t.value===e)this.advanceLexer();else throw er(this._lexer.source,t.start,`Expected "${e}", found ${ex(t)}.`)}expectOptionalKeyword(e){let t=this._lexer.token;return t.kind===o.NAME&&t.value===e&&(this.advanceLexer(),!0)}unexpected(e){let t=e??this._lexer.token;return er(this._lexer.source,t.start,`Unexpected ${ex(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!==o.EOF&&(++this._tokenCounter,void 0!==e&&this._tokenCounter>e))throw er(this._lexer.source,t.start,`Document contains more that ${e} tokens. Parsing aborted.`)}};function ex(e){let t=e.value;return eA(e.kind)+(null!=t?` "${t}"`:"")}function eA(e){return e===o.BANG||e===o.DOLLAR||e===o.AMP||e===o.PAREN_L||e===o.PAREN_R||e===o.SPREAD||e===o.COLON||e===o.EQUALS||e===o.AT||e===o.BRACKET_L||e===o.BRACKET_R||e===o.BRACE_L||e===o.PIPE||e===o.BRACE_R?`"${e}"`:e}var eD={allowLegacyFragmentVariables:!0},e_={parse:function(e){let t;try{let n,i;i=(n=new eO(e,eD)).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 $.test(e)},hasIgnorePragma:function(e){return K.test(e)},locStart:B,locEnd:j},ek={graphql:{print:function(e,t,n){let{node:i}=e;switch(i.kind){case"Document":return[...x(O,J(e,t,n,"definitions")),O];case"OperationDefinition":{let r="{"!==t.originalText[B(i)],s=!!i.name;return[r?i.operation:"",r&&s?[" ",n("name")]:"",r&&!s&&L(i.variableDefinitions)?" ":"",q(e,n),Y(e,n,i),r||s?" ":"",n("selectionSet")]}case"FragmentDefinition":return["fragment ",n("name"),q(e,n)," on ",n("typeCondition"),Y(e,n,i)," ",n("selectionSet")];case"SelectionSet":return["{",T([O,x(O,J(e,t,n,"selections"))]),O,"}"];case"Field":return N([i.alias?[n("alias"),": "]:"",n("name"),i.arguments.length>0?N(["(",T([v,x([I("",", "),v],J(e,t,n,"arguments"))]),v,")"]):"",Y(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=f(!1,i.value,'"""',String.raw`\"""`).split(` 26`);return 1===e.length&&(e[0]=e[0].trim()),e.every(e=>""===e)&&(e.length=0),x(O,['"""',...e,'"""'])}return['"',f(!1,f(!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 N(["[",T([v,x([I("",", "),v],e.map(n,"values"))]),v,"]"]);case"ObjectValue":{let r=t.bracketSpacing&&i.fields.length>0?" ":"";return N(["{",r,T([v,x([I("",", "),v],e.map(n,"fields"))]),v,I("",r),"}"])}case"ObjectField":case"Argument":return[n("name"),": ",n("value")];case"Directive":return["@",n("name"),i.arguments.length>0?N(["(",T([v,x([I("",", "),v],J(e,t,n,"arguments"))]),v,")"]):""];case"NamedType":return n("name");case"VariableDefinition":return[n("variable"),": ",n("type"),i.defaultValue?[" = ",n("defaultValue")]:"",Y(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(G(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?y:" ")}}return r}
27(e,t,n)),s.push(Y(e,n,i)),i.fields.length>0&&s.push([" {",T([O,x(O,J(e,t,n,"fields"))]),O,"}"]),s}case"FieldDefinition":return[G(e,t,n),n("name"),i.arguments.length>0?N(["(",T([v,x([I("",", "),v],J(e,t,n,"arguments"))]),v,")"]):"",": ",n("type"),Y(e,n,i)];case"DirectiveDefinition":return[G(e,t,n),"directive ","@",n("name"),i.arguments.length>0?N(["(",T([v,x([I("",", "),v],J(e,t,n,"arguments"))]),v,")"]):"",i.repeatable?" repeatable":""," on ",...x(" | ",e.map(n,"locations"))];case"EnumTypeExtension":case"EnumTypeDefinition":return[G(e,t,n),"EnumTypeExtension"===i.kind?"extend ":"","enum ",n("name"),Y(e,n,i),i.values.length>0?[" {",T([O,x(O,J(e,t,n,"values"))]),O,"}"]:""];case"EnumValueDefinition":return[G(e,t,n),n("name"),Y(e,n,i)];case"InputValueDefinition":return[G(e,t,n),n("name"),": ",n("type"),i.defaultValue?[" = ",n("defaultValue")]:"",Y(e,n,i)];case"SchemaExtension":return["extend schema",Y(e,n,i),...i.operationTypes.length>0?[" {",T([O,x(O,J(e,t,n,"operationTypes"))]),O,"}"]:[]];case"SchemaDefinition":return[G(e,t,n),"schema",Y(e,n,i)," {",i.operationTypes.length>0?T([O,x(O,J(e,t,n,"operationTypes"))]):"",O,"}"];case"OperationTypeDefinition":return[i.operation,": ",n("type")];case"FragmentSpread":return["...",n("name"),Y(e,n,i)];case"InlineFragment":return["...",i.typeCondition?[" on ",n("typeCondition")]:"",Y(e,n,i)," ",n("selectionSet")];case"UnionTypeExtension":case"UnionTypeDefinition":return N([G(e,t,n),N(["UnionTypeExtension"===i.kind?"extend ":"","union ",n("name"),Y(e,n,i),i.types.length>0?[" =",I(""," "),T([I([y,"| "]),x([y,"| "],e.map(n,"types"))])]:""])]);case"ScalarTypeExtension":case"ScalarTypeDefinition":return[G(e,t,n),"ScalarTypeExtension"===i.kind?"extend ":"","scalar ",n("name"),Y(e,n,i)];case"NonNullType":return[n("type"),"!"];case"ListType":return["[",n("type"),"]"];default:throw new R(i,"Graphql","kind")}},massageAstNode:Q,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:M}};return((e,t,n,i)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let n of u(t))p.call(e,n)||void 0===n||l(e,n,{get:()=>t[n],enumerable:!(i=c(t,n))||i.enumerable});return e})(l({},"__esModule",{value:!0}),d)})}}]);
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.