1;!function(){try { var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&((e._debugIds|| (e._debugIds={}))[n]="244d0027-6d92-63ed-f6ae-a5b56e2121b5")}catch(e){}}(); 2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,380165,e=>{"use strict";let t=/\r\n|[\n\r]/g;function i(e,i){let n=0,r=1;for(let s of e.body.matchAll(t)){if("number"==typeof s.index||function(e){if(!e)throw Error("Unexpected invariant triggered.")}(!1),s.index>=i)break;n=s.index+s[0].length,r+=1}return{line:r,column:i+1-n}}function n(e,t){let i=e.locationOffset.column-1,n="".padStart(i)+e.body,s=t.line-1,o=e.locationOffset.line-1,a=t.line+o,l=1===t.line?i:0,c=t.column+l,h=`${e.name}:${a}:${c} 3`,u=n.split(/\r\n|[\n\r]/g),p=u[s];if(p.length>120){let e=Math.floor(c/80),t=[];for(let e=0;e<p.length;e+=80)t.push(p.slice(e,e+80));return h+r([[`${a} |`,t[0]],...t.slice(1,e+1).map(e=>["|",e]),["|","^".padStart(c%80)],["|",t[e+1]]])}return h+r([[`${a-1} |`,u[s-1]],[`${a} |`,p],["|","^".padStart(c)],[`${a+1} |`,u[s+1]]])}function r(e){let t=e.filter(e=>{let[t,i]=e;return void 0!==i}),i=Math.max(...t.map(e=>{let[t]=e;return t.length}));return t.map(e=>{let[t,n]=e;return t.padStart(i)+(n?" "+n:"")}).join("\n")}class s extends Error{constructor(e,...t){var n,r,a;const{nodes:l,source:c,positions:h,path:u,originalError:p,extensions:d}=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}(t);super(e),this.name="GraphQLError",this.path=null!=u?u:void 0,this.originalError=null!=p?p:void 0,this.nodes=o(Array.isArray(l)?l:l?[l]:void 0);const T=o(null==(n=this.nodes)?void 0:n.map(e=>e.loc).filter(e=>null!=e));this.source=null!=c?c:null==T||null==(r=T[0])?void 0:r.source,this.positions=null!=h?h:null==T?void 0:T.map(e=>e.start),this.locations=h&&c?h.map(e=>i(c,e)):null==T?void 0:T.map(e=>i(e.source,e.start));const E=!function(e){return"object"==typeof e&&null!==e}(null==p?void 0:p.extensions)||null==p?void 0:p.extensions;this.extensions=null!=(a=null!=d?d:E)?a: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!=p&&p.stack?Object.defineProperty(this,"stack",{value:p.stack,writable:!0,configurable:!0}):Error.captureStackTrace?Error.captureStackTrace(this,s):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 r of this.nodes){var t;r.loc&&(e+="\n\n"+n((t=r.loc).source,i(t.source,t.start)))}else if(this.source&&this.locations)for(let t of this.locations)e+="\n\n"+n(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 o(e){return void 0===e||0===e.length?void 0:e}e.s(["syntaxError",0,function(e,t,i){return new s(`Syntax Error: ${i}`,{source:e,positions:[t]})}],380165)},892714,777791,e=>{"use strict";e.s(["devAssert",0,function(e,t){if(!e)throw Error(t)}],892714);e.s(["inspect",0,function(e){return function e(t,i){switch(typeof t){case"string":return JSON.stringify(t);case"function":return t.name?`[function ${t.name}]`:"[function]";case"object":return function(t,i){let n;if(null===t)return"null";if(i.includes(t))return"[Circular]";let r=[...i,t];if("function"==typeof t.toJSON){let i=t.toJSON();if(i!==t)return"string"==typeof i?i:e(i,r)}else if(Array.isArray(t)){var s,o,a=t,l=r;if(0===a.length)return"[]";if(l.length>2)return"[Array]";let i=Math.min(10,a.length),n=a.length-i,c=[];for(let t=0;t<i;++t)c.push(e(a[t],l));return 1===n?c.push("... 1 more item"):n>1&&c.push(`... ${n} more items`),"["+c.join(", ")+"]"}return s=t,o=r,0===(n=Object.entries(s)).length?"{}":o.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}(s)+"]":"{ "+n.map(t=>{let[i,n]=t;return i+": "+e(n,o)}).join(", ")+" }"}(t,i);default:return String(t)}}(e,[])}],777791)},546518,e=>{"use strict";var t,i;
3class n{constructor(e,t,i){this.start=e.start,this.end=t.end,this.startToken=e,this.endToken=t,this.source=i}get[Symbol.toStringTag](){return"Location"}toJSON(){return{start:this.start,end:this.end}}}class r{constructor(e,t,i,n,r,s){this.kind=e,this.start=t,this.end=i,this.line=n,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}}}let s={Name:[],Document:["definitions"],OperationDefinition:["description","name","variableDefinitions","directives","selectionSet"],VariableDefinition:["description","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:["description","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"],TypeCoordinate:["name"],MemberCoordinate:["name","memberName"],ArgumentCoordinate:["name","fieldName","argumentName"],DirectiveCoordinate:["name"],DirectiveArgumentCoordinate:["name","argumentName"]},o=new Set(Object.keys(s));(i=t||(t={})).QUERY="query",i.MUTATION="mutation",i.SUBSCRIPTION="subscription",e.s(["Location",0,n,"OperationTypeNode",0,t,"QueryDocumentKeys",0,s,"Token",0,r,"isNode",0,function(e){let t=null==e?void 0:e.kind;return"string"==typeof t&&o.has(t)}])},582129,224067,e=>{"use strict";function t(e){return 9===e||32===e}function i(e){return e>=48&&e<=57}function n(e){return e>=97&&e<=122||e>=65&&e<=90}e.s(["isDigit",0,i,"isNameContinue",0,function(e){return n(e)||i(e)||95===e},"isNameStart",0,function(e){return n(e)||95===e},"isWhiteSpace",0,t],224067),e.s(["dedentBlockStringLines",0,function(e){var i,n;let r=Number.MAX_SAFE_INTEGER,s=null,o=-1;for(let i=0;i<e.length;++i){let a=e[i],l=function(e){let i=0;for(;i<e.length&&t(e.charCodeAt(i));)++i;return i}(a);l!==a.length&&(s=null!=(n=s)?n:i,o=i,0!==i&&l<r&&(r=l))}return e.map((e,t)=>0===t?e:e.slice(r)).slice(null!=(i=s)?i:0,o+1)},"printBlockString",0,function(e,i){let n=e.replace(/"""/g,'\\"""'),r=n.split(/\r\n|[\n\r]/g),s=1===r.length,o=r.length>1&&r.slice(1).every(e=>0===e.length||t(e.charCodeAt(0))),a=n.endsWith('\\"""'),l=e.endsWith('"')&&!a,c=e.endsWith("\\"),h=l||c,u=!(null!=i&&i.minimize)&&(!s||e.length>70||h||o||a),p="",d=s&&t(e.charCodeAt(0));return(u&&!d||o)&&(p+="\n"),p+=n,(u||h)&&(p+="\n"),'"""'+p+'"""'}],582129)},744203,e=>{"use strict";var t,i;(i=t||(t={})).QUERY="QUERY",i.MUTATION="MUTATION",i.SUBSCRIPTION="SUBSCRIPTION",i.FIELD="FIELD",i.FRAGMENT_DEFINITION="FRAGMENT_DEFINITION",i.FRAGMENT_SPREAD="FRAGMENT_SPREAD",i.INLINE_FRAGMENT="INLINE_FRAGMENT",i.VARIABLE_DEFINITION="VARIABLE_DEFINITION",i.SCHEMA="SCHEMA",i.SCALAR="SCALAR",i.OBJECT="OBJECT",i.FIELD_DEFINITION="FIELD_DEFINITION",i.ARGUMENT_DEFINITION="ARGUMENT_DEFINITION",i.INTERFACE="INTERFACE",i.UNION="UNION",i.ENUM="ENUM",i.ENUM_VALUE="ENUM_VALUE",i.INPUT_OBJECT="INPUT_OBJECT",i.INPUT_FIELD_DEFINITION="INPUT_FIELD_DEFINITION",e.s(["DirectiveLocation",0,t])},38188,e=>{"use strict";var t,i;(i=t||(t={})).NAME="Name",i.DOCUMENT="Document",i.OPERATION_DEFINITION="OperationDefinition",i.VARIABLE_DEFINITION="VariableDefinition",i.SELECTION_SET="SelectionSet",i.FIELD="Field",i.ARGUMENT="Argument",i.FRAGMENT_SPREAD="FragmentSpread",i.INLINE_FRAGMENT="InlineFragment",i.FRAGMENT_DEFINITION="FragmentDefinition",i.VARIABLE="Variable",i.INT="IntValue",i.FLOAT="FloatValue",i.STRING="Str
3ingValue",i.BOOLEAN="BooleanValue",i.NULL="NullValue",i.ENUM="EnumValue",i.LIST="ListValue",i.OBJECT="ObjectValue",i.OBJECT_FIELD="ObjectField",i.DIRECTIVE="Directive",i.NAMED_TYPE="NamedType",i.LIST_TYPE="ListType",i.NON_NULL_TYPE="NonNullType",i.SCHEMA_DEFINITION="SchemaDefinition",i.OPERATION_TYPE_DEFINITION="OperationTypeDefinition",i.SCALAR_TYPE_DEFINITION="ScalarTypeDefinition",i.OBJECT_TYPE_DEFINITION="ObjectTypeDefinition",i.FIELD_DEFINITION="FieldDefinition",i.INPUT_VALUE_DEFINITION="InputValueDefinition",i.INTERFACE_TYPE_DEFINITION="InterfaceTypeDefinition",i.UNION_TYPE_DEFINITION="UnionTypeDefinition",i.ENUM_TYPE_DEFINITION="EnumTypeDefinition",i.ENUM_VALUE_DEFINITION="EnumValueDefinition",i.INPUT_OBJECT_TYPE_DEFINITION="InputObjectTypeDefinition",i.DIRECTIVE_DEFINITION="DirectiveDefinition",i.SCHEMA_EXTENSION="SchemaExtension",i.SCALAR_TYPE_EXTENSION="ScalarTypeExtension",i.OBJECT_TYPE_EXTENSION="ObjectTypeExtension",i.INTERFACE_TYPE_EXTENSION="InterfaceTypeExtension",i.UNION_TYPE_EXTENSION="UnionTypeExtension",i.ENUM_TYPE_EXTENSION="EnumTypeExtension",i.INPUT_OBJECT_TYPE_EXTENSION="InputObjectTypeExtension",i.TYPE_COORDINATE="TypeCoordinate",i.MEMBER_COORDINATE="MemberCoordinate",i.ARGUMENT_COORDINATE="ArgumentCoordinate",i.DIRECTIVE_COORDINATE="DirectiveCoordinate",i.DIRECTIVE_ARGUMENT_COORDINATE="DirectiveArgumentCoordinate",e.s(["Kind",0,t])},921028,636918,e=>{"use strict";var t,i,n=e.i(380165),r=e.i(546518),s=e.i(582129),o=e.i(224067);(t=i||(i={})).SOF="<SOF>",t.EOF="<EOF>",t.BANG="!",t.DOLLAR="$",t.AMP="&",t.PAREN_L="(",t.PAREN_R=")",t.DOT=".",t.SPREAD="...",t.COLON=":",t.EQUALS="=",t.AT="@",t.BRACKET_L="[",t.BRACKET_R="]",t.BRACE_L="{",t.PIPE="|",t.BRACE_R="}",t.NAME="Name",t.INT="Int",t.FLOAT="Float",t.STRING="String",t.BLOCK_STRING="BlockString",t.COMMENT="Comment",e.s(["TokenKind",0,i],636918);class a{constructor(e){const t=new r.Token(i.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!==i.EOF)do if(e.next)e=e.next;else{let t=function(e,t){let r=e.source.body,a=r.length,f=t;for(;f<a;){let t=r.charCodeAt(f);switch(t){case 65279:case 9:case 32:case 44:++f;continue;case 10:++f,++e.line,e.lineStart=f;continue;case 13:10===r.charCodeAt(f+1)?f+=2:++f,++e.line,e.lineStart=f;continue;case 35:return function(e,t){let n=e.source.body,r=n.length,s=t+1;for(;s<r;){let e=n.charCodeAt(s);if(10===e||13===e)break;if(l(e))++s;else if(c(n,s))s+=2;else break}return d(e,i.COMMENT,t,s,n.slice(t+1,s))}(e,f);case 33:return d(e,i.BANG,f,f+1);case 36:return d(e,i.DOLLAR,f,f+1);case 38:return d(e,i.AMP,f,f+1);case 40:return d(e,i.PAREN_L,f,f+1);case 41:return d(e,i.PAREN_R,f,f+1);case 46:if(46===r.charCodeAt(f+1)&&46===r.charCodeAt(f+2))return d(e,i.SPREAD,f,f+3);break;case 58:return d(e,i.COLON,f,f+1);case 61:return d(e,i.EQUALS,f,f+1);case 64:return d(e,i.AT,f,f+1);case 91:return d(e,i.BRACKET_L,f,f+1);case 93:return d(e,i.BRACKET_R,f,f+1);case 123:return d(e,i.BRACE_L,f,f+1);case 124:return d(e,i.PIPE,f,f+1);case 125:return d(e,i.BRACE_R,f,f+1);case 34:if(34===r.charCodeAt(f+1)&&34===r.charCodeAt(f+2))return function(e,t){let r=e.source.body,o=r.length,a=e.lineStart,h=t+3,u=h,T="",E=[];for(;h<o;){let o=r.charCodeAt(h);if(34===o&&34===r.charCodeAt(h+1)&&34===r.charCodeAt(h+2)){T+=r.slice(u,h),E.push(T);let n=d(e,i.BLOCK_STRING,t,h+3,(0,s.dedentBlockStringLines)(E).join("\n"));return e.line+=E.length-1,e.lineStart=a,n}if(92===o&&34===r.charCodeAt(h+1)&&34===r.charCodeAt(h+2)&&34===r.charCodeAt(h+3)){T+=r.slice(u,h),u=h+1,h+=4;continue}if(10===o||13===o){T+=r.slice(u,h),E.push(T),13===o&&10===r.charCodeAt(h+1)?h+=2:++h,T="",u=h,a=h;continue}if(l(o))++h;else if(c(r,h))h+=2;else throw(0,n.syntaxError)(e.source,h,`Invalid character within String: ${p(e,h)}.`)}throw(0,n.syntaxError)(e.source,h,"Unterminated string.")}(e,f);return function(e,t){let r=e.source.body,s=r.length,o=t+1,a=o,T="";for(;o<s;){let s=r.charCodeAt(o);if(34===s)return T+=r.slice(a,o),d(e,i.STRING,t,o+1,T);if(92===s){T+=r.slice(a,o);let t=117===r.charCodeAt(o+1)?123===r.charCodeAt(o+2)?function(e,t){let i=e.source.body,r=0,s=3;for(;s<12;){let e=i.charCodeAt(t+s++);if(125===e){if(s<5||!l(r))break;return{value:String.fromCodePoint(r),size:s}}if((r=r<<4|N(e))<0)break}throw(0,n.syntaxError)(e.source,t,`Invalid Unicode escape sequence: "${i.slice(t,t+s)}".`)}(e,o):function(e,t){let i=e.source.body,r=E(i,t+2);if(l(r))return{value:String.fromCodePoint(r),size:6};if(h(r)&&92===i.charCodeAt(t+6)&&117===i.charCodeAt(t+7)){let e=E(i,t+8);if(u(e))return{value:String.fromCodePoint(r,e),size:12}}throw(0,n.syntaxError)(e.source,t,`Invalid Unicode escape sequence: "${i.slice(t,t+6)}".`)}(e,o):function(e,t){let i=e.source.body;switch(i.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:"\n",size:2};case 114:return{value:"\r",size:2};case 116:return{value:" ",size:2}}throw(0,n.syntaxError)(e.source,t,`Invalid character escape sequence: "${i.slice(t,t+2)}".`)}(e,o);T+=t.value,o+=t.size,a=o;continue}if(10===s||13===s)break;if(l(s))++o;else if(c(r,o))o+=2;else throw(0,n.syntaxError)(e.source,o,`Invalid character within String: ${p(e,o)}.`)}throw(0,n.syntaxError)(e.source,o,"Unterminated string.")}(e,f)}if((0,o.isDigit)(t)||45===t)return function(e,t,r){let s=e.source.body,a=t,l=r,c=!1;if(45===l&&(l=s.charCodeAt(++a)),48===l){if(l=s.charCodeAt(++a),(0,o.isDigit)(l))throw(0,n.syntaxError)(e.source,a,`Invalid number, unexpected digit after 0: ${p(e,a)}.`)}else a=T(e,a,l),l=s.charCodeAt(a);if(46===l&&(c=!0,l=s.charCodeAt(++a),a=T(e,a,l),l=s.charCodeAt(a)),(69===l||101===l)&&(c=!0,(43===(l=s.charCodeAt(++a))||45===l)&&(l=s.charCodeAt(++a)),a=T(e,a,l),l=s.charCodeAt(a)),46===l||(0,o.isNameStart)(l))throw(0,n.syntaxError)(e.source,a,`Invalid number, expected digit but got: ${p(e,a)}.`);return d(e,c?i.FLOAT:i.INT,t,a,s.slice(t,a))}(e,f,t);if((0,o.isNameStart)(t))return function(e,t){let n=e.source.body,r=n.length,s=t+1;for(;s<r;){let e=n.charCodeAt(s);if((0,o.isNameContinue)(e))++s;else break}return d(e,i.NAME,t,s,n.slice(t,s))}(e,f);throw(0,n.syntaxError)(e.source,f,39===t?"Unexpected single quote character ('), did you mean to use a double quote (\")?":l(t)||c(r,f)?`Unexpected character: ${p(e,f)}.`:`Invalid character: ${p(e,f)}.`)}return d(e,i.EOF,a,a)}(this,e.end);e.next=t,t.prev=e,e=t}while(e.kind===i.COMMENT)return e}}function l(e){return e>=0&&e<=55295||e>=57344&&e<=1114111}function c(e,t){return h(e.charCodeAt(t))&&u(e.charCodeAt(t+1))}function h(e){return e>=55296&&e<=56319}function u(e){return e>=56320&&e<=57343}function p(e,t){let n=e.source.body.codePointAt(t);if(void 0===n)return i.EOF;
3if(n>=32&&n<=126){let e=String.fromCodePoint(n);return'"'===e?"'\"'":`"${e}"`}return"U+"+n.toString(16).toUpperCase().padStart(4,"0")}function d(e,t,i,n,s){let o=e.line,a=1+i-e.lineStart;return new r.Token(t,i,n,o,a,s)}function T(e,t,i){if(!(0,o.isDigit)(i))throw(0,n.syntaxError)(e.source,t,`Invalid number, expected digit but got: ${p(e,t)}.`);let r=e.source.body,s=t+1;for(;(0,o.isDigit)(r.charCodeAt(s));)++s;return s}function E(e,t){return N(e.charCodeAt(t))<<12|N(e.charCodeAt(t+1))<<8|N(e.charCodeAt(t+2))<<4|N(e.charCodeAt(t+3))}function N(e){return e>=48&&e<=57?e-48:e>=65&&e<=70?e-55:e>=97&&e<=102?e-87:-1}e.s(["Lexer",0,a,"isPunctuatorTokenKind",0,function(e){return e===i.BANG||e===i.DOLLAR||e===i.AMP||e===i.PAREN_L||e===i.PAREN_R||e===i.DOT||e===i.SPREAD||e===i.COLON||e===i.EQUALS||e===i.AT||e===i.BRACKET_L||e===i.BRACKET_R||e===i.BRACE_L||e===i.PIPE||e===i.BRACE_R}],921028)},844931,628677,e=>{"use strict";var t=e.i(380165),i=e.i(546518),n=e.i(744203),r=e.i(38188),s=e.i(921028),o=e.i(892714),a=e.i(777791);let l=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 i;let n=t.prototype[Symbol.toStringTag];if(n===(Symbol.toStringTag in e?e[Symbol.toStringTag]:null==(i=e.constructor)?void 0:i.name)){let t=(0,a.inspect)(e);throw Error(`Cannot use ${n} "${t}" from another module or realm. 4 5Ensure that there is only one instance of "graphql" in the node_modules 6directory. If different versions of "graphql" are the dependencies of other 7relied on modules, use "resolutions" to ensure only one version is installed. 8 9https://yarnpkg.com/en/docs/selective-version-resolutions 10 11Duplicate "graphql" modules cannot be used at the same time since different 12versions may have different capabilities and behavior. The data from one 13version used in the function from another could produce confusing and 14spurious results.`)}}return!1};class c{constructor(e,t="GraphQL request",i={line:1,column:1}){"string"==typeof e||(0,o.devAssert)(!1,`Body must be a string. Received: ${(0,a.inspect)(e)}.`),this.body=e,this.name=t,this.locationOffset=i,this.locationOffset.line>0||(0,o.devAssert)(!1,"line in locationOffset is 1-indexed and must be positive."),this.locationOffset.column>0||(0,o.devAssert)(!1,"column in locationOffset is 1-indexed and must be positive.")}get[Symbol.toStringTag](){return"Source"}}function h(e){return l(e,c)}e.s(["Source",0,c,"isSource",0,h],628677);var u=e.i(636918);class p{constructor(e,t={}){const{lexer:i,...n}=t;if(i)this._lexer=i;else{const t=h(e)?e:new c(e);this._lexer=new s.Lexer(t)}this._options=n,this._tokenCounter=0}get tokenCount(){return this._tokenCounter}parseName(){let e=this.expectToken(u.TokenKind.NAME);return this.node(e,{kind:r.Kind.NAME,value:e.value})}parseDocument(){return this.node(this._lexer.token,{kind:r.Kind.DOCUMENT,definitions:this.many(u.TokenKind.SOF,this.parseDefinition,u.TokenKind.EOF)})}parseDefinition(){if(this.peek(u.TokenKind.BRACE_L))return this.parseOperationDefinition();let e=this.peekDescription(),i=e?this._lexer.lookahead():this._lexer.token;if(e&&i.kind===u.TokenKind.BRACE_L)throw(0,t.syntaxError)(this._lexer.source,this._lexer.token.start,"Unexpected description, descriptions are not supported on shorthand queries.");if(i.kind===u.TokenKind.NAME){switch(i.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()}switch(i.value){case"query":case"mutation":case"subscription":return this.parseOperationDefinition();case"fragment":return this.parseFragmentDefinition()}if(e)throw(0,t.syntaxError)(this._lexer.source,this._lexer.token.start,"Unexpected description, only GraphQL definitions support descriptions.");if("extend"===i.value)return this.parseTypeSystemExtension()}throw this.unexpected(i)}parseOperationDefinition(){let e,t=this._lexer.token;if(this.peek(u.TokenKind.BRACE_L))return this.node(t,{kind:r.Kind.OPERATION_DEFINITION,operation:i.OperationTypeNode.QUERY,description:void 0,name:void 0,variableDefinitions:[],directives:[],selectionSet:this.parseSelectionSet()});let n=this.parseDescription(),s=this.parseOperationType();return this.peek(u.TokenKind.NAME)&&(e=this.parseName()),this.node(t,{kind:r.Kind.OPERATION_DEFINITION,operation:s,description:n,name:e,variableDefinitions:this.parseVariableDefinitions(),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseOperationType(){let e=this.expectToken(u.TokenKind.NAME);switch(e.value){case"query":return i.OperationTypeNode.QUERY;case"mutation":return i.OperationTypeNode.MUTATION;case"subscription":return i.OperationTypeNode.SUBSCRIPTION}throw this.unexpected(e)}parseVariableDefinitions(){return this.optionalMany(u.TokenKind.PAREN_L,this.parseVariableDefinition,u.TokenKind.PAREN_R)}parseVariableDefinition(){return this.node(this._lexer.token,{kind:r.Kind.VARIABLE_DEFINITION,description:this.parseDescription(),variable:this.parseVariable(),type:(this.expectToken(u.TokenKind.COLON),this.parseTypeReference()),defaultValue:this.expectOptionalToken(u.TokenKind.EQUALS)?this.parseConstValueLiteral():void 0,directives:this.parseConstDirectives()})}parseVariable(){let e=this._lexer.token;return this.expectToken(u.TokenKind.DOLLAR),this.node(e,{kind:r.Kind.VARIABLE,name:this.parseName()})}parseSelectionSet(){return this.node(this._lexer.token,{kind:r.Kind.SELECTION_SET,selections:this.many(u.TokenKind.BRACE_L,this.parseSelection,u.TokenKind.BRACE_R)})}parseSelection(){return this.peek(u.TokenKind.SPREAD)?this.parseFragment():this.parseField()}parseField(){let e,t,i=this._lexer.token,n=this.parseName();return this.expectOptionalToken(u.TokenKind.COLON)?(e=n,t=this.parseName()):t=n,this.node(i,{kind:r.Kind.FIELD,alias:e,name:t,arguments:this.parseArguments(!1),directives:this.parseDirectives(!1),selectionSet:this.peek(u.TokenKind.BRACE_L)?this.parseSelectionSet():void 0})}parseArguments(e){let t=e?this.parseConstArgument:this.parseArgument;return this.optionalMany(u.TokenKind.PAREN_L,t,u.TokenKind.PAREN_R)}parseArgument(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=this._lexer.token,i=this.parseName();return this.expectToken(u.TokenKind.COLON),this.node(t,{kind:r.Kind.ARGUMENT,name:i,value:this.parseValueLiteral(e)})}parseConstArgument(){return this.parseArgument(!0)}parseFragment(){let e=this._lexer.token;this.expectToken(u.TokenKind.SPREAD);let t=this.expectOptionalKeyword("on");return!t&&this.peek(u.TokenKind.NAME)?this.node(e,{kind:r.Kind.FRAGMENT_SPREAD,name:this.parseFragmentName(),directives:this.parseDirectives(!1)}):this.node(e,{kind:r.Kind.INLINE_FRAGMENT,typeCondition:t?this.parseNamedType():void 0,directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentDefinition(){let e=this._lexer.token,t=this.parseDescription();return(this.expectKeyword("fragment"),!0===this._options.allowLegacyFragmentVariables)?this.node(e,{kind:r.Kind.FRAGMENT_DEFINITION,description:t,name:this.parseFragmentName(),variableDefinitions:this.parseVariableDefinitions(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()}):this.node(e,{kind:r.Kind.FRAGMENT_DEFINITION,description:t,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 i=this._lexer.token;switch(i.kind){case u.TokenKind.BRACKET_L:return this.parseList(e);case u.TokenKind.BRACE_L:return this.parseObject(e);case u.TokenKind.INT:return this.advanceLexer(),this.node(i,{kind:r.Kind.INT,value:i.value});case u.TokenKind.FLOAT:return this.advanceLexer(),this.node(i,{kind:r.Kind.FLOAT,value:i.value});case u.TokenKind.STRING:case u.TokenKind.BLOCK_STRING:return this.parseStringLiteral();case u.TokenKind.NAME:switch(this.advanceLexer(),i.value){case"true":return this.node(i,{kind:r.Kind.BOOLEAN,value:!0});case"false":return this.node(i,{kind:r.Kind.BOOLEAN,value:!1});case"null":return this.node(i,{kind:r.Kind.NULL});default:return this.node(i,{kind:r.Kind.ENUM,value:i.value})}case u.TokenKind.DOLLAR:if(e){if(this.expectToken(u.TokenKind.DOLLAR),this._lexer.token.kind===u.TokenKind.NAME){let e=this._lexer.token.value;throw(0,t.syntaxError)(this._lexer.source,i.start,`Unexpected variable "$${e}" in constant value.`)}throw this.unexpected(i)}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:r.Kind.STRING,value:e.value,block:e.kind===u.TokenKind.BLOCK_STRING})}parseList(e){let t=()=>this.parseValueLiteral(e);return this.node(this._lexer.token,{kind:r.Kind.LIST,values:this.any(u.TokenKind.BRACKET_L,t,u.TokenKind.BRACKET_R)})}parseObject(e){let t=()=>this.parseObjectField(e);return this.node(this._lexer.token,{kind:r.Kind.OBJECT,fields:this.any(u.TokenKind.BRACE_L,t,u.TokenKind.BRACE_R)})}parseObjectField(e){let t=this._lexer.token,i=this.parseName();return this.expectToken(u.TokenKind.COLON),this.node(t,{kind:r.Kind.OBJECT_FIELD,name:i,value:this.parseValueLiteral(e)})}parseDirectives(e){let t=[];for(;this.peek(u.TokenKind.AT);)t.push(this.parseDirective(e));return t}parseConstDirectives(){return this.parseDirectives(!0)}parseDirective(e){let t=this._lexer.token;return this.expectToken(u.TokenKind.AT),this.node(t,{kind:r.Kind.DIRECTIVE,name:this.parseName(),arguments:this.parseArguments(e)})}parseTypeReference(){let e,t=this._lexer.token;if(this.expectOptionalToken(u.TokenKind.BRACKET_L)){let i=this.parseTypeReference();this.expectToken(u.TokenKind.BRACKET_R),e=this.node(t,{kind:r.Kind.LIST_TYPE,type:i})}else e=this.parseNamedType();return this.expectOptionalToken(u.TokenKind.BANG)?this.node(t,{kind:r.Kind.NON_NULL_TYPE,type:e}):e}parseNamedType(){return this.node(this._lexer.token,{kind:r.Kind.NAMED_TYPE,name:this.parseName()})}peekDescription(){return this.peek(u.TokenKind.STRING)||this.peek(u.TokenKind.BLOCK_STRING)}parseDescription(){if(this.peekDescription())return this.parseStringLiteral()}parseSchemaDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("schema");let i=this.parseConstDirectives(),n=this.many(u.TokenKind.BRACE_L,this.parseOperationTypeDefinition,u.TokenKind.BRACE_R);return this.node(e,{kind:r.Kind.SCHEMA_DEFINITION,description:t,directives:i,operationTypes:n})}parseOperationTypeDefinition(){let e=this._lexer.token,t=this.parseOperationType();this.expectToken(u.TokenKind.COLON);let i=this.parseNamedType();return this.node(e,{kind:r.Kind.OPERATION_TYPE_DEFINITION,operation:t,type:i})}parseScalarTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("scalar");let i=this.parseName(),n=this.parseConstDirectives();return this.node(e,{kind:r.Kind.SCALAR_TYPE_DEFINITION,description:t,name:i,directives:n})}parseObjectTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("type");let i=this.parseName(),n=this.parseImplementsInterfaces(),s=this.parseConstDirectives(),o=this.parseFieldsDefinition();return this.node(e,{kind:r.Kind.OBJECT_TYPE_DEFINITION,description:t,name:i,interfaces:n,directives:s,fields:o})}parseImplementsInterfaces(){return this.expectOptionalKeyword("implements")?this.delimitedMany(u.TokenKind.AMP,this.parseNamedType):[]}parseFieldsDefinition(){return this.optionalMany(u.TokenKind.BRACE_L,this.parseFieldDefinition,u.TokenKind.BRACE_R)}parseFieldDefinition(){let e=this._lexer.token,t=this.parseDescription(),i=this.parseName(),n=this.parseArgumentDefs();this.expectToken(u.TokenKind.COLON);let s=this.parseTypeReference(),o=this.parseConstDirectives();return this.node(e,{kind:r.Kind.FIELD_DEFINITION,description:t,name:i,arguments:n,type:s,directives:o})}parseArgumentDefs(){return this.optionalMany(u.TokenKind.PAREN_L,this.parseInputValueDef,u.TokenKind.PAREN_R)}parseInputValueDef(){let e,t=this._lexer.token,i=this.parseDescription(),n=this.parseName();this.expectToken(u.TokenKind.COLON);let s=this.parseTypeReference();this.expectOptionalToken(u.TokenKind.EQUALS)&&(e=this.parseConstValueLiteral());let o=this.parseConstDirectives();return this.node(t,{kind:r.Kind.INPUT_VALUE_DEFINITION,description:i,name:n,type:s,defaultValue:e,directives:o})}parseInterfaceTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("interface");let i=this.parseName(),n=this.parseImplementsInterfaces(),s=this.parseConstDirectives(),o=this.parseFieldsDefinition();return this.node(e,{kind:r.Kind.INTERFACE_TYPE_DEFINITION,description:t,name:i,interfaces:n,directives:s,fields:o})}parseUnionTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("union");let i=this.parseName(),n=this.parseConstDirectives(),s=this.parseUnionMemberTypes();return this.node(e,{kind:r.Kind.UNION_TYPE_DEFINITION,description:t,name:i,directives:n,types:s})}parseUnionMemberTypes(){return this.expectOptionalToken(u.TokenKind.EQUALS)?this.delimitedMany(u.TokenKind.PIPE,this.parseNamedType):[]}parseEnumTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("enum");let i=this.parseName(),n=this.parseConstDirectives(),s=this.parseEnumValuesDefinition();return this.node(e,{kind:r.Kind.ENUM_TYPE_DEFINITION,description:t,name:i,directives:n,values:s})}parseEnumValuesDefinition(){return this.optionalMany(u.TokenKind.BRACE_L,this.parseEnumValueDefinition,u.TokenKind.BRACE_R)}parseEnumValueDefinition(){let e=this._lexer.token,t=this.parseDescription(),i=this.parseEnumValueName(),n=this.parseConstDirectives();return this.node(e,{kind:r.Kind.ENUM_VALUE_DEFINITION,description:t,name:i,directives:n})}parseEnumValueName(){if("true"===this._lexer.token.value||"false"===this._lexer.token.value||"null"===this._lexer.token.value)throw(0,t.syntaxError)(this._lexer.source,this._lexer.token.start,`${d(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 i=this.parseName(),n=this.parseConstDirectives(),s=this.parseInputFieldsDefinition();return this.node(e,{kind:r.Kind.INPUT_OBJECT_TYPE_DEFINITION,description:t,name:i,directives:n,fields:s})}parseInputFieldsDefinition(){return this.optionalMany(u.TokenKind.BRACE_L,this.parseInputValueDef,u.TokenKind.BRACE_R)}parseTypeSystemExtension(){let e=this._lexer.lookahead();if(e.kind===u.TokenKind.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(),i=this.optionalMany(u.TokenKind.BRACE_L,this.parseOperationTypeDefinition,u.TokenKind.BRACE_R);if(0===t.length&&0===i.length)throw this.unexpected();return this.node(e,{kind:r.Kind.SCHEMA_EXTENSION,directives:t,operationTypes:i})}parseScalarTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("scalar");let t=this.parseName(),i=this.parseConstDirectives();if(0===i.length)throw this.unexpected();return this.node(e,{kind:r.Kind.SCALAR_TYPE_EXTENSION,name:t,directives:i})}parseObjectTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("type");let t=this.parseName(),i=this.parseImplementsInterfaces(),n=this.parseConstDirectives(),s=this.parseFieldsDefinition();if(0===i.length&&0===n.length&&0===s.length)throw this.unexpected();return this.node(e,{kind
14:r.Kind.OBJECT_TYPE_EXTENSION,name:t,interfaces:i,directives:n,fields:s})}parseInterfaceTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("interface");let t=this.parseName(),i=this.parseImplementsInterfaces(),n=this.parseConstDirectives(),s=this.parseFieldsDefinition();if(0===i.length&&0===n.length&&0===s.length)throw this.unexpected();return this.node(e,{kind:r.Kind.INTERFACE_TYPE_EXTENSION,name:t,interfaces:i,directives:n,fields:s})}parseUnionTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("union");let t=this.parseName(),i=this.parseConstDirectives(),n=this.parseUnionMemberTypes();if(0===i.length&&0===n.length)throw this.unexpected();return this.node(e,{kind:r.Kind.UNION_TYPE_EXTENSION,name:t,directives:i,types:n})}parseEnumTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("enum");let t=this.parseName(),i=this.parseConstDirectives(),n=this.parseEnumValuesDefinition();if(0===i.length&&0===n.length)throw this.unexpected();return this.node(e,{kind:r.Kind.ENUM_TYPE_EXTENSION,name:t,directives:i,values:n})}parseInputObjectTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("input");let t=this.parseName(),i=this.parseConstDirectives(),n=this.parseInputFieldsDefinition();if(0===i.length&&0===n.length)throw this.unexpected();return this.node(e,{kind:r.Kind.INPUT_OBJECT_TYPE_EXTENSION,name:t,directives:i,fields:n})}parseDirectiveDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("directive"),this.expectToken(u.TokenKind.AT);let i=this.parseName(),n=this.parseArgumentDefs(),s=this.expectOptionalKeyword("repeatable");this.expectKeyword("on");let o=this.parseDirectiveLocations();return this.node(e,{kind:r.Kind.DIRECTIVE_DEFINITION,description:t,name:i,arguments:n,repeatable:s,locations:o})}parseDirectiveLocations(){return this.delimitedMany(u.TokenKind.PIPE,this.parseDirectiveLocation)}parseDirectiveLocation(){let e=this._lexer.token,t=this.parseName();if(Object.prototype.hasOwnProperty.call(n.DirectiveLocation,t.value))return t;throw this.unexpected(e)}parseSchemaCoordinate(){let e,t,i=this._lexer.token,n=this.expectOptionalToken(u.TokenKind.AT),s=this.parseName();return(!n&&this.expectOptionalToken(u.TokenKind.DOT)&&(e=this.parseName()),(n||e)&&this.expectOptionalToken(u.TokenKind.PAREN_L)&&(t=this.parseName(),this.expectToken(u.TokenKind.COLON),this.expectToken(u.TokenKind.PAREN_R)),n)?t?this.node(i,{kind:r.Kind.DIRECTIVE_ARGUMENT_COORDINATE,name:s,argumentName:t}):this.node(i,{kind:r.Kind.DIRECTIVE_COORDINATE,name:s}):e?t?this.node(i,{kind:r.Kind.ARGUMENT_COORDINATE,name:s,fieldName:e,argumentName:t}):this.node(i,{kind:r.Kind.MEMBER_COORDINATE,name:s,memberName:e}):this.node(i,{kind:r.Kind.TYPE_COORDINATE,name:s})}node(e,t){return!0!==this._options.noLocation&&(t.loc=new i.Location(e,this._lexer.lastToken,this._lexer.source)),t}peek(e){return this._lexer.token.kind===e}expectToken(e){let i=this._lexer.token;if(i.kind===e)return this.advanceLexer(),i;throw(0,t.syntaxError)(this._lexer.source,i.start,`Expected ${T(e)}, found ${d(i)}.`)}expectOptionalToken(e){return this._lexer.token.kind===e&&(this.advanceLexer(),!0)}expectKeyword(e){let i=this._lexer.token;if(i.kind===u.TokenKind.NAME&&i.value===e)this.advanceLexer();else throw(0,t.syntaxError)(this._lexer.source,i.start,`Expected "${e}", found ${d(i)}.`)}expectOptionalKeyword(e){let t=this._lexer.token;return t.kind===u.TokenKind.NAME&&t.value===e&&(this.advanceLexer(),!0)}unexpected(e){let i=null!=e?e:this._lexer.token;return(0,t.syntaxError)(this._lexer.source,i.start,`Unexpected ${d(i)}.`)}any(e,t,i){this.expectToken(e);let n=[];for(;!this.expectOptionalToken(i);)n.push(t.call(this));return n}optionalMany(e,t,i){if(this.expectOptionalToken(e)){let e=[];do e.push(t.call(this));while(!this.expectOptionalToken(i))return e}return[]}many(e,t,i){this.expectToken(e);let n=[];do n.push(t.call(this));while(!this.expectOptionalToken(i))return n}delimitedMany(e,t){this.expectOptionalToken(e);let i=[];do i.push(t.call(this));while(this.expectOptionalToken(e))return i}advanceLexer(){let{maxTokens:e}=this._options,i=this._lexer.advance();if(i.kind!==u.TokenKind.EOF&&(++this._tokenCounter,void 0!==e&&this._tokenCounter>e))throw(0,t.syntaxError)(this._lexer.source,i.start,`Document contains more that ${e} tokens. Parsing aborted.`)}}function d(e){let t=e.value;return T(e.kind)+(null!=t?` "${t}"`:"")}function T(e){return(0,s.isPunctuatorTokenKind)(e)?`"${e}"`:e}e.s(["parse",0,function(e,t){let i=new p(e,t),n=i.parseDocument();return Object.defineProperty(n,"tokenCount",{enumerable:!1,value:i.tokenCount}),n}
14],844931)}]); 15 16//# debugId=244d0027-6d92-63ed-f6ae-a5b56e2121b5 17//# sourceMappingURL=2zwjwdf2zfrcs.js.map
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.