postgraphile
Version:
A GraphQL schema created by reflection over a PostgreSQL schema 🐘 (previously known as PostGraphQL)
5 lines • 1.05 MB
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.default = process.env.POSTGRAPHILE_OMIT_ASSETS === '1'
? null
: "<!doctype html><html lang=\"en\"><head><meta charset=\"utf-8\"/><meta name=\"viewport\" content=\"width=device-width,initial-scale=1\"/><title>PostGraphile GraphiQL</title><meta name=\"robots\" content=\"noindex\"/><script src=\"https://unpkg.com/prettier@1.13.0/standalone.js\"></script><script src=\"https://unpkg.com/prettier@1.13.0/parser-graphql.js\"></script></head><body><div id=\"root\"></div><script>!function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){\"undefined\"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:\"Module\"}),Object.defineProperty(e,\"__esModule\",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&\"object\"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,\"default\",{enumerable:!0,value:e}),2&t&&\"string\"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,\"a\",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p=\"\",n(n.s=264)}([function(e,t,n){\"use strict\";n.d(t,\"S\",(function(){return k})),n.d(t,\"x\",(function(){return T})),n.d(t,\"R\",(function(){return O})),n.d(t,\"w\",(function(){return C})),n.d(t,\"N\",(function(){return S})),n.d(t,\"u\",(function(){return _})),n.d(t,\"H\",(function(){return N})),n.d(t,\"o\",(function(){return A})),n.d(t,\"T\",(function(){return D})),n.d(t,\"y\",(function(){return I})),n.d(t,\"E\",(function(){return L})),n.d(t,\"l\",(function(){return j})),n.d(t,\"F\",(function(){return M})),n.d(t,\"m\",(function(){return F})),n.d(t,\"J\",(function(){return R})),n.d(t,\"q\",(function(){return P})),n.d(t,\"L\",(function(){return V})),n.d(t,\"s\",(function(){return U})),n.d(t,\"G\",(function(){return q})),n.d(t,\"n\",(function(){return B})),n.d(t,\"O\",(function(){return z})),n.d(t,\"v\",(function(){return H})),n.d(t,\"I\",(function(){return G})),n.d(t,\"p\",(function(){return Q})),n.d(t,\"D\",(function(){return W})),n.d(t,\"k\",(function(){return K})),n.d(t,\"C\",(function(){return Y})),n.d(t,\"j\",(function(){return J})),n.d(t,\"d\",(function(){return $})),n.d(t,\"e\",(function(){return X})),n.d(t,\"U\",(function(){return Z})),n.d(t,\"z\",(function(){return ee})),n.d(t,\"M\",(function(){return te})),n.d(t,\"t\",(function(){return ne})),n.d(t,\"B\",(function(){return re})),n.d(t,\"K\",(function(){return ie})),n.d(t,\"r\",(function(){return oe})),n.d(t,\"A\",(function(){return ae})),n.d(t,\"g\",(function(){return ce})),n.d(t,\"f\",(function(){return ue})),n.d(t,\"i\",(function(){return me})),n.d(t,\"P\",(function(){return ve})),n.d(t,\"c\",(function(){return ge})),n.d(t,\"h\",(function(){return ye})),n.d(t,\"a\",(function(){return Ee})),n.d(t,\"b\",(function(){return xe})),n.d(t,\"Q\",(function(){return Te}));var r=n(37),i=n(19),o=n(4),a=n(25),s=n(40),l=n(27),c=n(8),u=n(34),f=n(29),p=n(26),d=n(22);function h(e){return e}var m=n(32),v=n(28),g=n(3),y=n(2),b=n(13),E=n(137);function w(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,\"value\"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function x(e,t,n){return t&&w(e.prototype,t),n&&w(e,n),e}function k(e){return O(e)||S(e)||N(e)||D(e)||L(e)||M(e)||R(e)||V(e)}function T(e){if(!k(e))throw new Error(\"Expected \".concat(Object(o.a)(e),\" to be a GraphQL type.\"));return e}function O(e){return Object(f.a)(e,ce)}function C(e){if(!O(e))throw new Error(\"Expected \".concat(Object(o.a)(e),\" to be a GraphQL Scalar type.\"));return e}function S(e){return Object(f.a)(e,ue)}function _(e){if(!S(e))throw new Error(\"Expected \".concat(Object(o.a)(e),\" to be a GraphQL Object type.\"));return e}function N(e){return Object(f.a)(e,ge)}function A(e){if(!N(e))throw new Error(\"Expected \".concat(Object(o.a)(e),\" to be a GraphQL Interface type.\"));return e}function D(e){return Object(f.a)(e,ye)}function I(e){if(!D(e))throw new Error(\"Expected \".concat(Object(o.a)(e),\" to be a GraphQL Union type.\"));return e}function L(e){return Object(f.a)(e,Ee)}function j(e){if(!L(e))throw new Error(\"Expected \".concat(Object(o.a)(e),\" to be a GraphQL Enum type.\"));return e}function M(e){return Object(f.a)(e,xe)}function F(e){if(!M(e))throw new Error(\"Expected \".concat(Object(o.a)(e),\" to be a GraphQL Input Object type.\"));return e}function R(e){return Object(f.a)(e,$)}function P(e){if(!R(e))throw new Error(\"Expected \".concat(Object(o.a)(e),\" to be a GraphQL List type.\"));return e}function V(e){return Object(f.a)(e,X)}function U(e){if(!V(e))throw new Error(\"Expected \".concat(Object(o.a)(e),\" to be a GraphQL Non-Null type.\"));return e}function q(e){return O(e)||L(e)||M(e)||Z(e)&&q(e.ofType)}function B(e){if(!q(e))throw new Error(\"Expected \".concat(Object(o.a)(e),\" to be a GraphQL input type.\"));return e}function z(e){return O(e)||S(e)||N(e)||D(e)||L(e)||Z(e)&&z(e.ofType)}function H(e){if(!z(e))throw new Error(\"Expected \".concat(Object(o.a)(e),\" to be a GraphQL output type.\"));return e}function G(e){return O(e)||L(e)}function Q(e){if(!G(e))throw new Error(\"Expected \".concat(Object(o.a)(e),\" to be a GraphQL leaf type.\"));return e}function W(e){return S(e)||N(e)||D(e)}function K(e){if(!W(e))throw new Error(\"Expected \".concat(Object(o.a)(e),\" to be a GraphQL composite type.\"));return e}function Y(e){return N(e)||D(e)}function J(e){if(!Y(e))throw new Error(\"Expected \".concat(Object(o.a)(e),\" to be a GraphQL abstract type.\"));return e}function $(e){if(!(this instanceof $))return new $(e);this.ofType=T(e)}function X(e){if(!(this instanceof X))return new X(e);this.ofType=ne(e)}function Z(e){return R(e)||V(e)}function ee(e){if(!Z(e))throw new Error(\"Expected \".concat(Object(o.a)(e),\" to be a GraphQL wrapping type.\"));return e}function te(e){return k(e)&&!V(e)}function ne(e){if(!te(e))throw new Error(\"Expected \".concat(Object(o.a)(e),\" to be a GraphQL nullable type.\"));return e}function re(e){if(e)return V(e)?e.ofType:e}function ie(e){return O(e)||S(e)||N(e)||D(e)||L(e)||M(e)}function oe(e){if(!ie(e))throw new Error(\"Expected \".concat(Object(o.a)(e),\" to be a GraphQL named type.\"));return e}function ae(e){if(e){for(var t=e;Z(t);)t=t.ofType;return t}}function se(e){return\"function\"==typeof e?e():e}function le(e){return e&&e.length>0?e:void 0}$.prototype.toString=function(){return\"[\"+String(this.ofType)+\"]\"},$.prototype.toJSON=function(){return this.toString()},Object.defineProperty($.prototype,i.c,{get:function(){return\"GraphQLList\"}}),Object(m.a)($),X.prototype.toString=function(){return String(this.ofType)+\"!\"},X.prototype.toJSON=function(){return this.toString()},Object.defineProperty(X.prototype,i.c,{get:function(){return\"GraphQLNonNull\"}}),Object(m.a)(X);var ce=function(){function e(e){var t,n,r,i=null!==(t=e.parseValue)&&void 0!==t?t:h;this.name=e.name,this.description=e.description,this.specifiedByUrl=e.specifiedByUrl,this.serialize=null!==(n=e.serialize)&&void 0!==n?n:h,this.parseValue=i,this.parseLiteral=null!==(r=e.parseLiteral)&&void 0!==r?r:function(e,t){return i(Object(E.a)(e,t))},this.extensions=e.extensions&&Object(l.a)(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=le(e.extensionASTNodes),\"string\"==typeof e.name||Object(c.a)(0,\"Must provide name.\"),null==e.specifiedByUrl||\"string\"==typeof e.specifiedByUrl||Object(c.a)(0,\"\".concat(this.name,' must provide \"specifiedByUrl\" as a string, ')+\"but got: \".concat(Object(o.a)(e.specifiedByUrl),\".\")),null==e.serialize||\"function\"==typeof e.serialize||Object(c.a)(0,\"\".concat(this.name,' must provide \"serialize\" function. If this custom Scalar is also used as an input type, ensure \"parseValue\" and \"parseLiteral\" functions are also provided.')),e.parseLiteral&&(\"function\"==typeof e.parseValue&&\"function\"==typeof e.parseLiteral||Object(c.a)(0,\"\".concat(this.name,' must provide both \"parseValue\" and \"parseLiteral\" functions.')))}var t=e.prototype;return t.toConfig=function(){var e;return{name:this.name,description:this.description,specifiedByUrl:this.specifiedByUrl,serialize:this.serialize,parseValue:this.parseValue,parseLiteral:this.parseLiteral,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:null!==(e=this.extensionASTNodes)&&void 0!==e?e:[]}},t.toString=function(){return this.name},t.toJSON=function(){return this.toString()},x(e,[{key:i.c,get:function(){return\"GraphQLScalarType\"}}]),e}();Object(m.a)(ce);var ue=function(){function e(e){this.name=e.name,this.description=e.description,this.isTypeOf=e.isTypeOf,this.extensions=e.extensions&&Object(l.a)(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=le(e.extensionASTNodes),this._fields=pe.bind(void 0,e),this._interfaces=fe.bind(void 0,e),\"string\"==typeof e.name||Object(c.a)(0,\"Must provide name.\"),null==e.isTypeOf||\"function\"==typeof e.isTypeOf||Object(c.a)(0,\"\".concat(this.name,' must provide \"isTypeOf\" as a function, ')+\"but got: \".concat(Object(o.a)(e.isTypeOf),\".\"))}var t=e.prototype;return t.getFields=function(){return\"function\"==typeof this._fields&&(this._fields=this._fields()),this._fields},t.getInterfaces=function(){return\"function\"==typeof this._interfaces&&(this._interfaces=this._interfaces()),this._interfaces},t.toConfig=function(){return{name:this.name,description:this.description,interfaces:this.getInterfaces(),fields:he(this.getFields()),isTypeOf:this.isTypeOf,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes||[]}},t.toString=function(){return this.name},t.toJSON=function(){return this.toString()},x(e,[{key:i.c,get:function(){return\"GraphQLObjectType\"}}]),e}();function fe(e){var t,n=null!==(t=se(e.interfaces))&&void 0!==t?t:[];return Array.isArray(n)||Object(c.a)(0,\"\".concat(e.name,\" interfaces must be an Array or a function which returns an Array.\")),n}function pe(e){var t=se(e.fields);return de(t)||Object(c.a)(0,\"\".concat(e.name,\" fields must be an object with field names as keys or a function which returns such an object.\")),Object(s.a)(t,(function(t,n){var i;de(t)||Object(c.a)(0,\"\".concat(e.name,\".\").concat(n,\" field config must be an object.\")),!(\"isDeprecated\"in t)||Object(c.a)(0,\"\".concat(e.name,\".\").concat(n,' should provide \"deprecationReason\" instead of \"isDeprecated\".')),null==t.resolve||\"function\"==typeof t.resolve||Object(c.a)(0,\"\".concat(e.name,\".\").concat(n,\" field resolver must be a function if \")+\"provided, but got: \".concat(Object(o.a)(t.resolve),\".\"));var a=null!==(i=t.args)&&void 0!==i?i:{};de(a)||Object(c.a)(0,\"\".concat(e.name,\".\").concat(n,\" args must be an object with argument names as keys.\"));var s=Object(r.a)(a).map((function(e){var t=e[0],n=e[1];return{name:t,description:n.description,type:n.type,defaultValue:n.defaultValue,deprecationReason:n.deprecationReason,extensions:n.extensions&&Object(l.a)(n.extensions),astNode:n.astNode}}));return{name:n,description:t.description,type:t.type,args:s,resolve:t.resolve,subscribe:t.subscribe,isDeprecated:null!=t.deprecationReason,deprecationReason:t.deprecationReason,extensions:t.extensions&&Object(l.a)(t.extensions),astNode:t.astNode}}))}function de(e){return Object(d.a)(e)&&!Array.isArray(e)}function he(e){return Object(s.a)(e,(function(e){return{description:e.description,type:e.type,args:me(e.args),resolve:e.resolve,subscribe:e.subscribe,deprecationReason:e.deprecationReason,extensions:e.extensions,astNode:e.astNode}}))}function me(e){return Object(u.a)(e,(function(e){return e.name}),(function(e){return{description:e.description,type:e.type,defaultValue:e.defaultValue,deprecationReason:e.deprecationReason,extensions:e.extensions,astNode:e.astNode}}))}function ve(e){return V(e.type)&&void 0===e.defaultValue}Object(m.a)(ue);var ge=function(){function e(e){this.name=e.name,this.description=e.description,this.resolveType=e.resolveType,this.extensions=e.extensions&&Object(l.a)(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=le(e.extensionASTNodes),this._fields=pe.bind(void 0,e),this._interfaces=fe.bind(void 0,e),\"string\"==typeof e.name||Object(c.a)(0,\"Must provide name.\"),null==e.resolveType||\"function\"==typeof e.resolveType||Object(c.a)(0,\"\".concat(this.name,' must provide \"resolveType\" as a function, ')+\"but got: \".concat(Object(o.a)(e.resolveType),\".\"))}var t=e.prototype;return t.getFields=function(){return\"function\"==typeof this._fields&&(this._fields=this._fields()),this._fields},t.getInterfaces=function(){return\"function\"==typeof this._interfaces&&(this._interfaces=this._interfaces()),this._interfaces},t.toConfig=function(){var e;return{name:this.name,description:this.description,interfaces:this.getInterfaces(),fields:he(this.getFields()),resolveType:this.resolveType,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:null!==(e=this.extensionASTNodes)&&void 0!==e?e:[]}},t.toString=function(){return this.name},t.toJSON=function(){return this.toString()},x(e,[{key:i.c,get:function(){return\"GraphQLInterfaceType\"}}]),e}();Object(m.a)(ge);var ye=function(){function e(e){this.name=e.name,this.description=e.description,this.resolveType=e.resolveType,this.extensions=e.extensions&&Object(l.a)(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=le(e.extensionASTNodes),this._types=be.bind(void 0,e),\"string\"==typeof e.name||Object(c.a)(0,\"Must provide name.\"),null==e.resolveType||\"function\"==typeof e.resolveType||Object(c.a)(0,\"\".concat(this.name,' must provide \"resolveType\" as a function, ')+\"but got: \".concat(Object(o.a)(e.resolveType),\".\"))}var t=e.prototype;return t.getTypes=function(){return\"function\"==typeof this._types&&(this._types=this._types()),this._types},t.toConfig=function(){var e;return{name:this.name,description:this.description,types:this.getTypes(),resolveType:this.resolveType,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:null!==(e=this.extensionASTNodes)&&void 0!==e?e:[]}},t.toString=function(){return this.name},t.toJSON=function(){return this.toString()},x(e,[{key:i.c,get:function(){return\"GraphQLUnionType\"}}]),e}();function be(e){var t=se(e.types);return Array.isArray(t)||Object(c.a)(0,\"Must provide Array of types or a function which returns such an array for Union \".concat(e.name,\".\")),t}Object(m.a)(ye);var Ee=function(){function e(e){var t,n;this.name=e.name,this.description=e.description,this.extensions=e.extensions&&Object(l.a)(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=le(e.extensionASTNodes),this._values=(t=this.name,de(n=e.values)||Object(c.a)(0,\"\".concat(t,\" values must be an object with value names as keys.\")),Object(r.a)(n).map((function(e){var n=e[0],r=e[1];return de(r)||Object(c.a)(0,\"\".concat(t,\".\").concat(n,' must refer to an object with a \"value\" key ')+\"representing an internal value but got: \".concat(Object(o.a)(r),\".\")),!(\"isDeprecated\"in r)||Object(c.a)(0,\"\".concat(t,\".\").concat(n,' should provide \"deprecationReason\" instead of \"isDeprecated\".')),{name:n,description:r.description,value:void 0!==r.value?r.value:n,isDeprecated:null!=r.deprecationReason,deprecationReason:r.deprecationReason,extensions:r.extensions&&Object(l.a)(r.extensions),astNode:r.astNode}}))),this._valueLookup=new Map(this._values.map((function(e){return[e.value,e]}))),this._nameLookup=Object(a.a)(this._values,(function(e){return e.name})),\"string\"==typeof e.name||Object(c.a)(0,\"Must provide name.\")}var t=e.prototype;return t.getValues=function(){return this._values},t.getValue=function(e){return this._nameLookup[e]},t.serialize=function(e){var t=this._valueLookup.get(e);if(void 0===t)throw new g.a('Enum \"'.concat(this.name,'\" cannot represent value: ').concat(Object(o.a)(e)));return t.name},t.parseValue=function(e){if(\"string\"!=typeof e){var t=Object(o.a)(e);throw new g.a('Enum \"'.concat(this.name,'\" cannot represent non-string value: ').concat(t,\".\")+we(this,t))}var n=this.getValue(e);if(null==n)throw new g.a('Value \"'.concat(e,'\" does not exist in \"').concat(this.name,'\" enum.')+we(this,e));return n.value},t.parseLiteral=function(e,t){if(e.kind!==y.a.ENUM){var n=Object(b.a)(e);throw new g.a('Enum \"'.concat(this.name,'\" cannot represent non-enum value: ').concat(n,\".\")+we(this,n),e)}var r=this.getValue(e.value);if(null==r){var i=Object(b.a)(e);throw new g.a('Value \"'.concat(i,'\" does not exist in \"').concat(this.name,'\" enum.')+we(this,i),e)}return r.value},t.toConfig=function(){var e,t=Object(u.a)(this.getValues(),(function(e){return e.name}),(function(e){return{description:e.description,value:e.value,deprecationReason:e.deprecationReason,extensions:e.extensions,astNode:e.astNode}}));return{name:this.name,description:this.description,values:t,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:null!==(e=this.extensionASTNodes)&&void 0!==e?e:[]}},t.toString=function(){return this.name},t.toJSON=function(){return this.toString()},x(e,[{key:i.c,get:function(){return\"GraphQLEnumType\"}}]),e}();function we(e,t){var n=e.getValues().map((function(e){return e.name})),r=Object(v.a)(t,n);return Object(p.a)(\"the enum value\",r)}Object(m.a)(Ee);var xe=function(){function e(e){this.name=e.name,this.description=e.description,this.extensions=e.extensions&&Object(l.a)(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=le(e.extensionASTNodes),this._fields=ke.bind(void 0,e),\"string\"==typeof e.name||Object(c.a)(0,\"Must provide name.\")}var t=e.prototype;return t.getFields=function(){return\"function\"==typeof this._fields&&(this._fields=this._fields()),this._fields},t.toConfig=function(){var e,t=Object(s.a)(this.getFields(),(function(e){return{description:e.description,type:e.type,defaultValue:e.defaultValue,deprecationReason:e.deprecationReason,extensions:e.extensions,astNode:e.astNode}}));return{name:this.name,description:this.description,fields:t,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:null!==(e=this.extensionASTNodes)&&void 0!==e?e:[]}},t.toString=function(){return this.name},t.toJSON=function(){return this.toString()},x(e,[{key:i.c,get:function(){return\"GraphQLInputObjectType\"}}]),e}();function ke(e){var t=se(e.fields);return de(t)||Object(c.a)(0,\"\".concat(e.name,\" fields must be an object with field names as keys or a function which returns such an object.\")),Object(s.a)(t,(function(t,n){return!(\"resolve\"in t)||Object(c.a)(0,\"\".concat(e.name,\".\").concat(n,\" field has a resolve property, but Input Types cannot define resolvers.\")),{name:n,description:t.description,type:t.type,defaultValue:t.defaultValue,deprecationReason:t.deprecationReason,extensions:t.extensions&&Object(l.a)(t.extensions),astNode:t.astNode}}))}function Te(e){return V(e.type)&&void 0===e.defaultValue}Object(m.a)(xe)},function(e,t,n){\"use strict\";e.exports=n(175)},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return r}));var r=Object.freeze({NAME:\"Name\",DOCUMENT:\"Document\",OPERATION_DEFINITION:\"OperationDefinition\",VARIABLE_DEFINITION:\"VariableDefinition\",SELECTION_SET:\"SelectionSet\",FIELD:\"Field\",ARGUMENT:\"Argument\",FRAGMENT_SPREAD:\"FragmentSpread\",INLINE_FRAGMENT:\"InlineFragment\",FRAGMENT_DEFINITION:\"FragmentDefinition\",VARIABLE:\"Variable\",INT:\"IntValue\",FLOAT:\"FloatValue\",STRING:\"StringValue\",BOOLEAN:\"BooleanValue\",NULL:\"NullValue\",ENUM:\"EnumValue\",LIST:\"ListValue\",OBJECT:\"ObjectValue\",OBJECT_FIELD:\"ObjectField\",DIRECTIVE:\"Directive\",NAMED_TYPE:\"NamedType\",LIST_TYPE:\"ListType\",NON_NULL_TYPE:\"NonNullType\",SCHEMA_DEFINITION:\"SchemaDefinition\",OPERATION_TYPE_DEFINITION:\"OperationTypeDefinition\",SCALAR_TYPE_DEFINITION:\"ScalarTypeDefinition\",OBJECT_TYPE_DEFINITION:\"ObjectTypeDefinition\",FIELD_DEFINITION:\"FieldDefinition\",INPUT_VALUE_DEFINITION:\"InputValueDefinition\",INTERFACE_TYPE_DEFINITION:\"InterfaceTypeDefinition\",UNION_TYPE_DEFINITION:\"UnionTypeDefinition\",ENUM_TYPE_DEFINITION:\"EnumTypeDefinition\",ENUM_VALUE_DEFINITION:\"EnumValueDefinition\",INPUT_OBJECT_TYPE_DEFINITION:\"InputObjectTypeDefinition\",DIRECTIVE_DEFINITION:\"DirectiveDefinition\",SCHEMA_EXTENSION:\"SchemaExtension\",SCALAR_TYPE_EXTENSION:\"ScalarTypeExtension\",OBJECT_TYPE_EXTENSION:\"ObjectTypeExtension\",INTERFACE_TYPE_EXTENSION:\"InterfaceTypeExtension\",UNION_TYPE_EXTENSION:\"UnionTypeExtension\",ENUM_TYPE_EXTENSION:\"EnumTypeExtension\",INPUT_OBJECT_TYPE_EXTENSION:\"InputObjectTypeExtension\"})},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return v})),n.d(t,\"b\",(function(){return g}));var r=n(22),i=n(19),o=n(70),a=n(97);function s(e){return(s=\"function\"==typeof Symbol&&\"symbol\"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&\"function\"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?\"symbol\":typeof e})(e)}function l(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,\"value\"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function c(e,t){return!t||\"object\"!==s(t)&&\"function\"!=typeof t?u(e):t}function u(e){if(void 0===e)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return e}function f(e){var t=\"function\"==typeof Map?new Map:void 0;return(f=function(e){if(null===e||(n=e,-1===Function.toString.call(n).indexOf(\"[native code]\")))return e;var n;if(\"function\"!=typeof e)throw new TypeError(\"Super expression must either be null or a function\");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return p(e,arguments,m(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),h(r,e)})(e)}function p(e,t,n){return(p=d()?Reflect.construct:function(e,t,n){var r=[null];r.push.apply(r,t);var i=new(Function.bind.apply(e,r));return n&&h(i,n.prototype),i}).apply(null,arguments)}function d(){if(\"undefined\"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(\"function\"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function h(e,t){return(h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function m(e){return(m=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var v=function(e){!function(e,t){if(\"function\"!=typeof t&&null!==t)throw new TypeError(\"Super expression must either be null or a function\");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&h(e,t)}(v,e);var t,n,a,s,f,p=(t=v,n=d(),function(){var e,r=m(t);if(n){var i=m(this).constructor;e=Reflect.construct(r,arguments,i)}else e=r.apply(this,arguments);return c(this,e)});function v(e,t,n,i,a,s,l){var f,d,h,m,g;!function(e,t){if(!(e instanceof t))throw new TypeError(\"Cannot call a class as a function\")}(this,v),g=p.call(this,e);var y,b=Array.isArray(t)?0!==t.length?t:void 0:t?[t]:void 0,E=n;!E&&b&&(E=null===(y=b[0].loc)||void 0===y?void 0:y.source);var w,x=i;!x&&b&&(x=b.reduce((function(e,t){return t.loc&&e.push(t.loc.start),e}),[])),x&&0===x.length&&(x=void 0),i&&n?w=i.map((function(e){return Object(o.a)(n,e)})):b&&(w=b.reduce((function(e,t){return t.loc&&e.push(Object(o.a)(t.loc.source,t.loc.start)),e}),[]));var k=l;if(null==k&&null!=s){var T=s.extensions;Object(r.a)(T)&&(k=T)}return Object.defineProperties(u(g),{name:{value:\"GraphQLError\"},message:{value:e,enumerable:!0,writable:!0},locations:{value:null!==(f=w)&&void 0!==f?f:void 0,enumerable:null!=w},path:{value:null!=a?a:void 0,enumerable:null!=a},nodes:{value:null!=b?b:void 0},source:{value:null!==(d=E)&&void 0!==d?d:void 0},positions:{value:null!==(h=x)&&void 0!==h?h:void 0},originalError:{value:s},extensions:{value:null!==(m=k)&&void 0!==m?m:void 0,enumerable:null!=k}}),null!=s&&s.stack?(Object.defineProperty(u(g),\"stack\",{value:s.stack,writable:!0,configurable:!0}),c(g)):(Error.captureStackTrace?Error.captureStackTrace(u(g),v):Object.defineProperty(u(g),\"stack\",{value:Error().stack,writable:!0,configurable:!0}),g)}return a=v,(s=[{key:\"toString\",value:function(){return g(this)}},{key:i.c,get:function(){return\"Object\"}}])&&l(a.prototype,s),f&&l(a,f),v}(f(Error));function g(e){var t=e.message;if(e.nodes)for(var n=0,r=e.nodes;n<r.length;n++){var i=r[n];i.loc&&(t+=\"\\n\\n\"+Object(a.a)(i.loc))}else if(e.source&&e.locations)for(var o=0,s=e.locations;o<s.length;o++){var l=s[o];t+=\"\\n\\n\"+Object(a.b)(e.source,l)}return t}},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return o}));var r=n(69);function i(e){return(i=\"function\"==typeof Symbol&&\"symbol\"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&\"function\"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?\"symbol\":typeof e})(e)}function o(e){return a(e,[])}function a(e,t){switch(i(e)){case\"string\":return JSON.stringify(e);case\"function\":return e.name?\"[function \".concat(e.name,\"]\"):\"[function]\";case\"object\":return null===e?\"null\":function(e,t){if(-1!==t.indexOf(e))return\"[Circular]\";var n=[].concat(t,[e]),i=function(e){var t=e[String(r.a)];if(\"function\"==typeof t)return t;if(\"function\"==typeof e.inspect)return e.inspect}(e);if(void 0!==i){var o=i.call(e);if(o!==e)return\"string\"==typeof o?o:a(o,n)}else if(Array.isArray(e))return function(e,t){if(0===e.length)return\"[]\";if(t.length>2)return\"[Array]\";for(var n=Math.min(10,e.length),r=e.length-n,i=[],o=0;o<n;++o)i.push(a(e[o],t));1===r?i.push(\"... 1 more item\"):r>1&&i.push(\"... \".concat(r,\" more items\"));return\"[\"+i.join(\", \")+\"]\"}(e,n);return function(e,t){var n=Object.keys(e);if(0===n.length)return\"{}\";if(t.length>2)return\"[\"+function(e){var t=Object.prototype.toString.call(e).replace(/^\\[object /,\"\").replace(/]$/,\"\");if(\"Object\"===t&&\"function\"==typeof e.constructor){var n=e.constructor.name;if(\"string\"==typeof n&&\"\"!==n)return n}return t}(e)+\"]\";return\"{ \"+n.map((function(n){return n+\": \"+a(e[n],t)})).join(\", \")+\" }\"}(e,n)}(e,t);default:return String(e)}}},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return r}));var r=Object.freeze({SOF:\"<SOF>\",EOF:\"<EOF>\",BANG:\"!\",DOLLAR:\"$\",AMP:\"&\",PAREN_L:\"(\",PAREN_R:\")\",SPREAD:\"...\",COLON:\":\",EQUALS:\"=\",AT:\"@\",BRACKET_L:\"[\",BRACKET_R:\"]\",BRACE_L:\"{\",PIPE:\"|\",BRACE_R:\"}\",NAME:\"Name\",INT:\"Int\",FLOAT:\"Float\",STRING:\"String\",BLOCK_STRING:\"BlockString\",COMMENT:\"Comment\"})},function(e,t,n){\"use strict\";n.r(t),n.d(t,\"CharacterStream\",(function(){return r})),n.d(t,\"LexRules\",(function(){return f})),n.d(t,\"ParseRules\",(function(){return p})),n.d(t,\"isIgnored\",(function(){return u})),n.d(t,\"butNot\",(function(){return a})),n.d(t,\"list\",(function(){return o})),n.d(t,\"opt\",(function(){return i})),n.d(t,\"p\",(function(){return l})),n.d(t,\"t\",(function(){return s})),n.d(t,\"onlineParser\",(function(){return v})),n.d(t,\"AdditionalRuleKinds\",(function(){return T})),n.d(t,\"RuleKinds\",(function(){return O}));class r{constructor(e){this.getStartOfToken=()=>this._start,this.getCurrentPosition=()=>this._pos,this.eol=()=>this._sourceText.length===this._pos,this.sol=()=>0===this._pos,this.peek=()=>this._sourceText.charAt(this._pos)?this._sourceText.charAt(this._pos):null,this.next=()=>{const e=this._sourceText.charAt(this._pos);return this._pos++,e},this.eat=e=>{if(this._testNextCharacter(e))return this._start=this._pos,this._pos++,this._sourceText.charAt(this._pos-1)},this.eatWhile=e=>{let t=this._testNextCharacter(e),n=!1;for(t&&(n=t,this._start=this._pos);t;)this._pos++,t=this._testNextCharacter(e),n=!0;return n},this.eatSpace=()=>this.eatWhile(/[\\s\\u00a0]/),this.skipToEnd=()=>{this._pos=this._sourceText.length},this.skipTo=e=>{this._pos=e},this.match=(e,t=!0,n=!1)=>{let r=null,i=null;if(\"string\"==typeof e){i=new RegExp(e,n?\"i\":\"g\").test(this._sourceText.substr(this._pos,e.length)),r=e}else e instanceof RegExp&&(i=this._sourceText.slice(this._pos).match(e),r=i&&i[0]);return!(null==i||!(\"string\"==typeof e||i instanceof Array&&this._sourceText.startsWith(i[0],this._pos)))&&(t&&(this._start=this._pos,r&&r.length&&(this._pos+=r.length)),i)},this.backUp=e=>{this._pos-=e},this.column=()=>this._pos,this.indentation=()=>{const e=this._sourceText.match(/\\s*/);let t=0;if(e&&0!==e.length){const n=e[0];let r=0;for(;n.length>r;)9===n.charCodeAt(r)?t+=2:t++,r++}return t},this.current=()=>this._sourceText.slice(this._start,this._pos),this._start=0,this._pos=0,this._sourceText=e}_testNextCharacter(e){const t=this._sourceText.charAt(this._pos);let n=!1;return n=\"string\"==typeof e?t===e:e instanceof RegExp?e.test(t):e(t),n}}function i(e){return{ofRule:e}}function o(e,t){return{ofRule:e,isList:!0,separator:t}}function a(e,t){const n=e.match;return e.match=e=>{let r=!1;return n&&(r=n(e)),r&&t.every(t=>t.match&&!t.match(e))},e}function s(e,t){return{style:t,match:t=>t.kind===e}}function l(e,t){return{style:t||\"punctuation\",match:t=>\"Punctuation\"===t.kind&&t.value===e}}var c=n(2);const u=e=>\" \"===e||\"\\t\"===e||\",\"===e||\"\\n\"===e||\"\\r\"===e||\"\\ufeff\"===e||\" \"===e,f={Name:/^[_A-Za-z][_0-9A-Za-z]*/,Punctuation:/^(?:!|\\$|\\(|\\)|\\.\\.\\.|:|=|&|@|\\[|]|\\{|\\||\\})/,Number:/^-?(?:0|(?:[1-9][0-9]*))(?:\\.[0-9]*)?(?:[eE][+-]?[0-9]+)?/,String:/^(?:\"\"\"(?:\\\\\"\"\"|[^\"]|\"[^\"]|\"\"[^\"])*(?:\"\"\")?|\"(?:[^\"\\\\]|\\\\(?:\"|\\/|\\\\|b|f|n|r|t|u[0-9a-fA-F]{4}))*\"?)/,Comment:/^#.*/},p={Document:[o(\"Definition\")],Definition(e){switch(e.value){case\"{\":return\"ShortQuery\";case\"query\":return\"Query\";case\"mutation\":return\"Mutation\";case\"subscription\":return\"Subscription\";case\"fragment\":return c.a.FRAGMENT_DEFINITION;case\"schema\":return\"SchemaDef\";case\"scalar\":return\"ScalarDef\";case\"type\":return\"ObjectTypeDef\";case\"interface\":return\"InterfaceDef\";case\"union\":return\"UnionDef\";case\"enum\":return\"EnumDef\";case\"input\":return\"InputDef\";case\"extend\":return\"ExtendDef\";case\"directive\":return\"DirectiveDef\"}},ShortQuery:[\"SelectionSet\"],Query:[h(\"query\"),i(m(\"def\")),i(\"VariableDefinitions\"),o(\"Directive\"),\"SelectionSet\"],Mutation:[h(\"mutation\"),i(m(\"def\")),i(\"VariableDefinitions\"),o(\"Directive\"),\"SelectionSet\"],Subscription:[h(\"subscription\"),i(m(\"def\")),i(\"VariableDefinitions\"),o(\"Directive\"),\"SelectionSet\"],VariableDefinitions:[l(\"(\"),o(\"VariableDefinition\"),l(\")\")],VariableDefinition:[\"Variable\",l(\":\"),\"Type\",i(\"DefaultValue\")],Variable:[l(\"$\",\"variable\"),m(\"variable\")],DefaultValue:[l(\"=\"),\"Value\"],SelectionSet:[l(\"{\"),o(\"Selection\"),l(\"}\")],Selection:(e,t)=>\"...\"===e.value?t.match(/[\\s\\u00a0,]*(on\\b|@|{)/,!1)?\"InlineFragment\":\"FragmentSpread\":t.match(/[\\s\\u00a0,]*:/,!1)?\"AliasedField\":\"Field\",AliasedField:[m(\"property\"),l(\":\"),m(\"qualifier\"),i(\"Arguments\"),o(\"Directive\"),i(\"SelectionSet\")],Field:[m(\"property\"),i(\"Arguments\"),o(\"Directive\"),i(\"SelectionSet\")],Arguments:[l(\"(\"),o(\"Argument\"),l(\")\")],Argument:[m(\"attribute\"),l(\":\"),\"Value\"],FragmentSpread:[l(\"...\"),m(\"def\"),o(\"Directive\")],InlineFragment:[l(\"...\"),i(\"TypeCondition\"),o(\"Directive\"),\"SelectionSet\"],FragmentDefinition:[h(\"fragment\"),i(a(m(\"def\"),[h(\"on\")])),\"TypeCondition\",o(\"Directive\"),\"SelectionSet\"],TypeCondition:[h(\"on\"),\"NamedType\"],Value(e){switch(e.kind){case\"Number\":return\"NumberValue\";case\"String\":return\"StringValue\";case\"Punctuation\":switch(e.value){case\"[\":return\"ListValue\";case\"{\":return\"ObjectValue\";case\"$\":return\"Variable\";case\"&\":return\"NamedType\"}return null;case\"Name\":switch(e.value){case\"true\":case\"false\":return\"BooleanValue\"}return\"null\"===e.value?\"NullValue\":\"EnumValue\"}},NumberValue:[s(\"Number\",\"number\")],StringValue:[{style:\"string\",match:e=>\"String\"===e.kind,update(e,t){t.value.startsWith('\"\"\"')&&(e.inBlockstring=!t.value.slice(3).endsWith('\"\"\"'))}}],BooleanValue:[s(\"Name\",\"builtin\")],NullValue:[s(\"Name\",\"keyword\")],EnumValue:[m(\"string-2\")],ListValue:[l(\"[\"),o(\"Value\"),l(\"]\")],ObjectValue:[l(\"{\"),o(\"ObjectField\"),l(\"}\")],ObjectField:[m(\"attribute\"),l(\":\"),\"Value\"],Type:e=>\"[\"===e.value?\"ListType\":\"NonNullType\",ListType:[l(\"[\"),\"Type\",l(\"]\"),i(l(\"!\"))],NonNullType:[\"NamedType\",i(l(\"!\"))],NamedType:[(d=\"atom\",{style:d,match:e=>\"Name\"===e.kind,update(e,t){e.prevState&&e.prevState.prevState&&(e.name=t.value,e.prevState.prevState.type=t.value)}})],Directive:[l(\"@\",\"meta\"),m(\"meta\"),i(\"Arguments\")],DirectiveDef:[h(\"directive\"),l(\"@\",\"meta\"),m(\"meta\"),i(\"ArgumentsDef\"),h(\"on\"),o(\"DirectiveLocation\",l(\"|\"))],InterfaceDef:[h(\"interface\"),m(\"atom\"),i(\"Implements\"),o(\"Directive\"),l(\"{\"),o(\"FieldDef\"),l(\"}\")],Implements:[h(\"implements\"),o(\"NamedType\",l(\"&\"))],DirectiveLocation:[m(\"string-2\")],SchemaDef:[h(\"schema\"),o(\"Directive\"),l(\"{\"),o(\"OperationTypeDef\"),l(\"}\")],OperationTypeDef:[m(\"keyword\"),l(\":\"),m(\"atom\")],ScalarDef:[h(\"scalar\"),m(\"atom\"),o(\"Directive\")],ObjectTypeDef:[h(\"type\"),m(\"atom\"),i(\"Implements\"),o(\"Directive\"),l(\"{\"),o(\"FieldDef\"),l(\"}\")],FieldDef:[m(\"property\"),i(\"ArgumentsDef\"),l(\":\"),\"Type\",o(\"Directive\")],ArgumentsDef:[l(\"(\"),o(\"InputValueDef\"),l(\")\")],InputValueDef:[m(\"attribute\"),l(\":\"),\"Type\",i(\"DefaultValue\"),o(\"Directive\")],UnionDef:[h(\"union\"),m(\"atom\"),o(\"Directive\"),l(\"=\"),o(\"UnionMember\",l(\"|\"))],UnionMember:[\"NamedType\"],EnumDef:[h(\"enum\"),m(\"atom\"),o(\"Directive\"),l(\"{\"),o(\"EnumValueDef\"),l(\"}\")],EnumValueDef:[m(\"string-2\"),o(\"Directive\")],InputDef:[h(\"input\"),m(\"atom\"),o(\"Directive\"),l(\"{\"),o(\"InputValueDef\"),l(\"}\")],ExtendDef:[h(\"extend\"),\"ObjectTypeDef\"]};var d;function h(e){return{style:\"keyword\",match:t=>\"Name\"===t.kind&&t.value===e}}function m(e){return{style:e,match:e=>\"Name\"===e.kind,update(e,t){e.name=t.value}}}function v(e={eatWhitespace:e=>e.eatWhile(u),lexRules:f,parseRules:p,editorConfig:{}}){return{startState(){const t={level:0,step:0,name:null,kind:null,type:null,rule:null,needsSeperator:!1,prevState:null};return b(e.parseRules,t,c.a.DOCUMENT),t},token:(t,n)=>function(e,t,n){if(t.inBlockstring)return e.match(/.*\"\"\"/)?(t.inBlockstring=!1,\"string\"):(e.skipToEnd(),\"string\");const{lexRules:r,parseRules:i,eatWhitespace:o,editorConfig:a}=n;t.rule&&0===t.rule.length?E(t):t.needsAdvance&&(t.needsAdvance=!1,w(t,!0));if(e.sol()){const n=a&&a.tabSize||2;t.indentLevel=Math.floor(e.indentation()/n)}if(o(e))return\"ws\";const s=function(e,t){const n=Object.keys(e);for(let r=0;r<n.length;r++){const i=t.match(e[n[r]]);if(i&&i instanceof Array)return{kind:n[r],value:i[0]}}}(r,e);if(!s){return e.match(/\\S+/)||e.match(/\\s/),b(y,t,\"Invalid\"),\"invalidchar\"}if(\"Comment\"===s.kind)return b(y,t,\"Comment\"),\"comment\";const l=g({},t);if(\"Punctuation\"===s.kind)if(/^[{([]/.test(s.value))void 0!==t.indentLevel&&(t.levels=(t.levels||[]).concat(t.indentLevel+1));else if(/^[})\\]]/.test(s.value)){const e=t.levels=(t.levels||[]).slice(0,-1);t.indentLevel&&e.length>0&&e[e.length-1]<t.indentLevel&&(t.indentLevel=e[e.length-1])}for(;t.rule;){let n=\"function\"==typeof t.rule?0===t.step?t.rule(s,e):null:t.rule[t.step];if(t.needsSeperator&&(n=n&&(null==n?void 0:n.separator)),n){if(n.ofRule&&(n=n.ofRule),\"string\"==typeof n){b(i,t,n);continue}if(n.match&&n.match(s))return n.update&&n.update(t,s),\"Punctuation\"===s.kind?w(t,!0):t.needsAdvance=!0,n.style}k(t)}return g(t,l),b(y,t,\"Invalid\"),\"invalidchar\"}(t,n,e)}}function g(e,t){const n=Object.keys(t);for(let r=0;r<n.length;r++)e[n[r]]=t[n[r]];return e}const y={Invalid:[],Comment:[]};function b(e,t,n){if(!e[n])throw new TypeError(\"Unknown rule: \"+n);t.prevState=Object.assign({},t),t.kind=n,t.name=null,t.type=null,t.rule=e[n],t.step=0,t.needsSeperator=!1}function E(e){e.prevState&&(e.kind=e.prevState.kind,e.name=e.prevState.name,e.type=e.prevState.type,e.rule=e.prevState.rule,e.step=e.prevState.step,e.needsSeperator=e.prevState.needsSeperator,e.prevState=e.prevState.prevState)}function w(e,t){if(x(e)&&e.rule){const n=e.rule[e.step];if(n.separator){const t=n.separator;if(e.needsSeperator=!e.needsSeperator,!e.needsSeperator&&t.ofRule)return}if(t)return}for(e.needsSeperator=!1,e.step++;e.rule&&!(Array.isArray(e.rule)&&e.step<e.rule.length);)E(e),e.rule&&(x(e)?e.rule&&e.rule[e.step].separator&&(e.needsSeperator=!e.needsSeperator):(e.needsSeperator=!1,e.step++))}function x(e){const t=Array.isArray(e.rule)&&\"string\"!=typeof e.rule[e.step]&&e.rule[e.step];return t&&t.isList}function k(e){for(;e.rule&&(!Array.isArray(e.rule)||!e.rule[e.step].ofRule);)E(e);e.rule&&w(e,!1)}const T={ALIASED_FIELD:\"AliasedField\",ARGUMENTS:\"Arguments\",SHORT_QUERY:\"ShortQuery\",QUERY:\"Query\",MUTATION:\"Mutation\",SUBSCRIPTION:\"Subscription\",TYPE_CONDITION:\"TypeCondition\",INVALID:\"Invalid\",COMMENT:\"Comment\",SCHEMA_DEF:\"SchemaDef\",SCALAR_DEF:\"ScalarDef\",OBJECT_TYPE_DEF:\"ObjectTypeDef\",OBJECT_VALUE:\"ObjectValue\",LIST_VALUE:\"ListValue\",INTERFACE_DEF:\"InterfaceDef\",UNION_DEF:\"UnionDef\",ENUM_DEF:\"EnumDef\",ENUM_VALUE:\"EnumValue\",FIELD_DEF:\"FieldDef\",INPUT_DEF:\"InputDef\",INPUT_VALUE_DEF:\"InputValueDef\",ARGUMENTS_DEF:\"ArgumentsDef\",EXTEND_DEF:\"ExtendDef\",DIRECTIVE_DEF:\"DirectiveDef\",IMPLEMENTS:\"Implements\",VARIABLE_DEFINITIONS:\"VariableDefinitions\",TYPE:\"Type\"},O=Object.assign(Object.assign({},c.a),T)},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return r}));var r=Object.freeze({QUERY:\"QUERY\",MUTATION:\"MUTATION\",SUBSCRIPTION:\"SUBSCRIPTION\",FIELD:\"FIELD\",FRAGMENT_DEFINITION:\"FRAGMENT_DEFINITION\",FRAGMENT_SPREAD:\"FRAGMENT_SPREAD\",INLINE_FRAGMENT:\"INLINE_FRAGMENT\",VARIABLE_DEFINITION:\"VARIABLE_DEFINITION\",SCHEMA:\"SCHEMA\",SCALAR:\"SCALAR\",OBJECT:\"OBJECT\",FIELD_DEFINITION:\"FIELD_DEFINITION\",ARGUMENT_DEFINITION:\"ARGUMENT_DEFINITION\",INTERFACE:\"INTERFACE\",UNION:\"UNION\",ENUM:\"ENUM\",ENUM_VALUE:\"ENUM_VALUE\",INPUT_OBJECT:\"INPUT_OBJECT\",INPUT_FIELD_DEFINITION:\"INPUT_FIELD_DEFINITION\"})},function(e,t,n){\"use strict\";function r(e,t){if(!Boolean(e))throw new Error(t)}n.d(t,\"a\",(function(){return r}))},function(e,t,n){\"use strict\";n.r(t),n.d(t,\"__Schema\",(function(){return f})),n.d(t,\"__Directive\",(function(){return p})),n.d(t,\"__DirectiveLocation\",(function(){return d})),n.d(t,\"__Type\",(function(){return h})),n.d(t,\"__Field\",(function(){return m})),n.d(t,\"__InputValue\",(function(){return v})),n.d(t,\"__EnumValue\",(function(){return g})),n.d(t,\"TypeKind\",(function(){return y})),n.d(t,\"__TypeKind\",(function(){return b})),n.d(t,\"SchemaMetaFieldDef\",(function(){return E})),n.d(t,\"TypeMetaFieldDef\",(function(){return w})),n.d(t,\"TypeNameMetaFieldDef\",(function(){return x})),n.d(t,\"introspectionTypes\",(function(){return k})),n.d(t,\"isIntrospectionType\",(function(){return T}));var r=n(12),i=n(4),o=n(11),a=n(13),s=n(7),l=n(50),c=n(10),u=n(0),f=new u.f({name:\"__Schema\",description:\"A GraphQL Schema defines the capabilities of a GraphQL server. It exposes all available types and directives on the server, as well as the entry points for query, mutation, and subscription operations.\",fields:function(){return{description:{type:c.e,resolve:function(e){return e.description}},types:{description:\"A list of all types supported by this server.\",type:new u.e(new u.d(new u.e(h))),resolve:function(e){return Object(r.a)(e.getTypeMap())}},queryType:{description:\"The type that query operations will be rooted at.\",type:new u.e(h),resolve:function(e){return e.getQueryType()}},mutationType:{description:\"If this server supports mutation, the type that mutation operations will be rooted at.\",type:h,resolve:function(e){return e.getMutationType()}},subscriptionType:{description:\"If this server support subscription, the type that subscription operations will be rooted at.\",type:h,resolve:function(e){return e.getSubscriptionType()}},directives:{description:\"A list of all directives supported by this server.\",type:new u.e(new u.d(new u.e(p))),resolve:function(e){return e.getDirectives()}}}}}),p=new u.f({name:\"__Directive\",description:\"A Directive provides a way to describe alternate runtime execution and type validation behavior in a GraphQL document.\\n\\nIn some cases, you need to provide options to alter GraphQL's execution behavior in ways field arguments will not suffice, such as conditionally including or skipping a field. Directives provide this by describing additional information to the executor.\",fields:function(){return{name:{type:new u.e(c.e),resolve:function(e){return e.name}},description:{type:c.e,resolve:function(e){return e.description}},isRepeatable:{type:new u.e(c.a),resolve:function(e){return e.isRepeatable}},locations:{type:new u.e(new u.d(new u.e(d))),resolve:function(e){return e.locations}},args:{type:new u.e(new u.d(new u.e(v))),args:{includeDeprecated:{type:c.a,defaultValue:!1}},resolve:function(e,t){return t.includeDeprecated?e.args:e.args.filter((function(e){return null==e.deprecationReason}))}}}}}),d=new u.a({name:\"__DirectiveLocation\",description:\"A Directive can be adjacent to many parts of the GraphQL language, a __DirectiveLocation describes one such possible adjacencies.\",values:{QUERY:{value:s.a.QUERY,description:\"Location adjacent to a query operation.\"},MUTATION:{value:s.a.MUTATION,description:\"Location adjacent to a mutation operation.\"},SUBSCRIPTION:{value:s.a.SUBSCRIPTION,description:\"Location adjacent to a subscription operation.\"},FIELD:{value:s.a.FIELD,description:\"Location adjacent to a field.\"},FRAGMENT_DEFINITION:{value:s.a.FRAGMENT_DEFINITION,description:\"Location adjacent to a fragment definition.\"},FRAGMENT_SPREAD:{value:s.a.FRAGMENT_SPREAD,description:\"Location adjacent to a fragment spread.\"},INLINE_FRAGMENT:{value:s.a.INLINE_FRAGMENT,description:\"Location adjacent to an inline fragment.\"},VARIABLE_DEFINITION:{value:s.a.VARIABLE_DEFINITION,description:\"Location adjacent to a variable definition.\"},SCHEMA:{value:s.a.SCHEMA,description:\"Location adjacent to a schema definition.\"},SCALAR:{value:s.a.SCALAR,description:\"Location adjacent to a scalar definition.\"},OBJECT:{value:s.a.OBJECT,description:\"Location adjacent to an object type definition.\"},FIELD_DEFINITION:{value:s.a.FIELD_DEFINITION,description:\"Location adjacent to a field definition.\"},ARGUMENT_DEFINITION:{value:s.a.ARGUMENT_DEFINITION,description:\"Location adjacent to an argument definition.\"},INTERFACE:{value:s.a.INTERFACE,description:\"Location adjacent to an interface definition.\"},UNION:{value:s.a.UNION,description:\"Location adjacent to a union definition.\"},ENUM:{value:s.a.ENUM,description:\"Location adjacent to an enum definition.\"},ENUM_VALUE:{value:s.a.ENUM_VALUE,description:\"Location adjacent to an enum value definition.\"},INPUT_OBJECT:{value:s.a.INPUT_OBJECT,description:\"Location adjacent to an input object type definition.\"},INPUT_FIELD_DEFINITION:{value:s.a.INPUT_FIELD_DEFINITION,description:\"Location adjacent to an input object field definition.\"}}}),h=new u.f({name:\"__Type\",description:\"The fundamental unit of any GraphQL Schema is the type. There are many kinds of types in GraphQL as represented by the `__TypeKind` enum.\\n\\nDepending on the kind of a type, certain fields describe information about that type. Scalar types provide no information beyond a name, description and optional `specifiedByUrl`, while Enum types provide their values. Object and Interface types provide the fields they describe. Abstract types, Union and Interface, provide the Object types possible at runtime. List and NonNull types compose other types.\",fields:function(){return{kind:{type:new u.e(b),resolve:function(e){return Object(u.R)(e)?y.SCALAR:Object(u.N)(e)?y.OBJECT:Object(u.H)(e)?y.INTERFACE:Object(u.T)(e)?y.UNION:Object(u.E)(e)?y.ENUM:Object(u.F)(e)?y.INPUT_OBJECT:Object(u.J)(e)?y.LIST:Object(u.L)(e)?y.NON_NULL:void Object(o.a)(0,'Unexpected type: \"'.concat(Object(i.a)(e),'\".'))}},name:{type:c.e,resolve:function(e){return void 0!==e.name?e.name:void 0}},description:{type:c.e,resolve:function(e){return void 0!==e.description?e.description:void 0}},specifiedByUrl:{type:c.e,resolve:function(e){return void 0!==e.specifiedByUrl?e.specifiedByUrl:void 0}},fields:{type:new u.d(new u.e(m)),args:{includeDeprecated:{type:c.a,defaultValue:!1}},resolve:function(e,t){var n=t.includeDeprecated;if(Object(u.N)(e)||Object(u.H)(e)){var i=Object(r.a)(e.getFields());return n?i:i.filter((function(e){return null==e.deprecationReason}))}}},interfaces:{type:new u.d(new u.e(h)),resolve:function(e){if(Object(u.N)(e)||Object(u.H)(e))return e.getInterfaces()}},possibleTypes:{type:new u.d(new u.e(h)),resolve:function(e,t,n,r){var i=r.schema;if(Object(u.C)(e))return i.getPossibleTypes(e)}},enumValues:{type:new u.d(new u.e(g)),args:{includeDeprecated:{type:c.a,defaultValue:!1}},resolve:function(e,t){var n=t.includeDeprecated;if(Object(u.E)(e)){var r=e.getValues();return n?r:r.filter((function(e){return null==e.deprecationReason}))}}},inputFields:{type:new u.d(new u.e(v)),args:{includeDeprecated:{type:c.a,defaultValue:!1}},resolve:function(e,t){var n=t.includeDeprecated;if(Object(u.F)(e)){var i=Object(r.a)(e.getFields());return n?i:i.filter((function(e){return null==e.deprecationReason}))}}},ofType:{type:h,resolve:function(e){return void 0!==e.ofType?e.ofType:void 0}}}}}),m=new u.f({name:\"__Field\",description:\"Object and Interface types are described by a list of Fields, each of which has a name, potentially a list of arguments, and a return type.\",fields:function(){return{name:{type:new u.e(c.e),resolve:function(e){return e.name}},description:{type:c.e,resolve:function(e){return e.description}},args:{type:new u.e(new u.d(new u.e(v))),args:{includeDeprecated:{type:c.a,defaultValue:!1}},resolve:function(e,t){return t.includeDeprecated?e.args:e.args.filter((function(e){return null==e.deprecationReason}))}},type:{type:new u.e(h),resolve:function(e){return e.type}},isDeprecated:{type:new u.e(c.a),resolve:function(e){return null!=e.deprecationReason}},deprecationReason:{type:c.e,resolve:function(e){return e.deprecationReason}}}}}),v=new u.f({name:\"__InputValue\",description:\"Arguments provided to Fields or Directives and the input fields of an InputObject are represented as Input Values which describe their type and optionally a default value.\",fields:function(){return{name:{type:new u.e(c.e),resolve:function(e){return e.name}},description:{type:c.e,resolve:function(e){return e.description}},type:{type:new u.e(h),resolve:function(e){return e.type}},defaultValue:{type:c.e,description:\"A GraphQL-formatted string representing the default value for this input value.\",resolve:function(e){var t=e.type,n=e.defaultValue,r=Object(l.a)(n,t);return r?Object(a.a)(r):null}},isDeprecated:{type:new u.e(c.a),resolve:function(e){return null!=e.deprecationReason}},deprecationReason:{type:c.e,resolve:function(e){return e.deprecationReason}}}}}),g=new u.f({name:\"__EnumValue\",description:\"One possible value for a given Enum. Enum values are unique values, not a placeholder for a string or numeric value. However an Enum value is returned in a JSON response as a string.\",fields:function(){return{name:{type:new u.e(c.e),resolve:function(e){return e.name}},description:{type:c.e,resolve:function(e){return e.description}},isDeprecated:{type:new u.e(c.a),resolve:function(e){return null!=e.deprecationReason}},deprecationReason:{type:c.e,resolve:function(e){return e.deprecationReason}}}}}),y=Object.freeze({SCALAR:\"SCALAR\",OBJECT:\"OBJECT\",INTERFACE:\"INTERFACE\",UNION:\"UNION\",ENUM:\"ENUM\",INPUT_OBJECT:\"INPUT_OBJECT\",LIST:\"LIST\",NON_NULL:\"NON_NULL\"}),b=new u.a({name:\"__TypeKind\",description:\"An enum describing what kind of type a given `__Type` is.\",values:{SCALAR:{value:y.SCALAR,description:\"Indicates this type is a scalar.\"},OBJECT:{value:y.OBJECT,description:\"Indicates this type is an object. `fields` and `interfaces` are valid fields.\"},INTERFACE:{value:y.INTERFACE,description:\"Indicates this type is an interface. `fields`, `interfaces`, and `possibleTypes` are valid fields.\"},UNION:{value:y.UNION,description:\"Indicates this type is a union. `possibleTypes` is a valid field.\"},ENUM:{value:y.ENUM,description:\"Indicates this type is an enum. `enumValues` is a valid field.\"},INPUT_OBJECT:{value:y.INPUT_OBJECT,description:\"Indicates this type is an input object. `inputFields` is a valid field.\"},LIST:{value:y.LIST,description:\"Indicates this type is a list. `ofType` is a valid field.\"},NON_NULL:{value:y.NON_NULL,description:\"Indicates this type is a non-null. `ofType` is a valid field.\"}}}),E={name:\"__schema\",type:new u.e(f),description:\"Access the current type schema of this server.\",args:[],resolve:function(e,t,n,r){return r.schema},isDeprecated:!1,deprecationReason:void 0,extensions:void 0,astNode:void 0},w={name:\"__type\",type:h,description:\"Request the type information of a single type.\",args:[{name:\"name\",description:void 0,type:new u.e(c.e),defaultValue:void 0,deprecationReason:void 0,extensions:void 0,astNode:void 0}],resolve:function(e,t,n,r){var i=t.name;return r.schema.getType(i)},isDeprecated:!1,deprecationReason:void 0,extensions:void 0,astNode:void 0},x={name:\"__typename\",type:new u.e(c.e),description:\"The name of the current Object type at runtime.\",args:[],re