altair-static 4.0.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +114 -0
- package/LICENSE +21 -0
- package/README.md +1 -0
- package/build/dist/108-es2018.js +1 -0
- package/build/dist/108-es5.js +1 -0
- package/build/dist/283-es2018.js +1 -0
- package/build/dist/283-es5.js +1 -0
- package/build/dist/379-es2018.js +1 -0
- package/build/dist/379-es5.js +1 -0
- package/build/dist/3rdpartylicenses.txt +4095 -0
- package/build/dist/527-es2018.js +1 -0
- package/build/dist/527-es5.js +1 -0
- package/build/dist/604-es2018.js +1 -0
- package/build/dist/604-es5.js +1 -0
- package/build/dist/709-es2018.js +1 -0
- package/build/dist/709-es5.js +1 -0
- package/build/dist/747-es2018.js +1 -0
- package/build/dist/747-es5.js +1 -0
- package/build/dist/773-es2018.js +1 -0
- package/build/dist/773-es5.js +1 -0
- package/build/dist/790-es2018.js +1 -0
- package/build/dist/790-es5.js +1 -0
- package/build/dist/794-es2018.js +1 -0
- package/build/dist/794-es5.js +1 -0
- package/build/dist/866-es2018.js +1 -0
- package/build/dist/866-es5.js +1 -0
- package/build/dist/873-es2018.js +1 -0
- package/build/dist/873-es5.js +1 -0
- package/build/dist/934-es2018.js +1 -0
- package/build/dist/934-es5.js +1 -0
- package/build/dist/assets/i18n/README.md +1 -0
- package/build/dist/assets/i18n/ach-UG.json +155 -0
- package/build/dist/assets/i18n/ach.json +55 -0
- package/build/dist/assets/i18n/af-ZA.json +122 -0
- package/build/dist/assets/i18n/ar-SA.json +122 -0
- package/build/dist/assets/i18n/ca-ES.json +122 -0
- package/build/dist/assets/i18n/cn.json +64 -0
- package/build/dist/assets/i18n/cs-CZ.json +155 -0
- package/build/dist/assets/i18n/da-DK.json +155 -0
- package/build/dist/assets/i18n/de-DE.json +155 -0
- package/build/dist/assets/i18n/default.json +177 -0
- package/build/dist/assets/i18n/el-GR.json +122 -0
- package/build/dist/assets/i18n/en-US.json +155 -0
- package/build/dist/assets/i18n/en.json +75 -0
- package/build/dist/assets/i18n/es-ES.json +155 -0
- package/build/dist/assets/i18n/es.json +57 -0
- package/build/dist/assets/i18n/fi-FI.json +155 -0
- package/build/dist/assets/i18n/fr-FR.json +155 -0
- package/build/dist/assets/i18n/fr.json +57 -0
- package/build/dist/assets/i18n/he-IL.json +122 -0
- package/build/dist/assets/i18n/hu-HU.json +155 -0
- package/build/dist/assets/i18n/it-IT.json +155 -0
- package/build/dist/assets/i18n/ja-JP.json +155 -0
- package/build/dist/assets/i18n/ko-KR.json +155 -0
- package/build/dist/assets/i18n/nl-NL.json +155 -0
- package/build/dist/assets/i18n/no-NO.json +155 -0
- package/build/dist/assets/i18n/pl-PL.json +155 -0
- package/build/dist/assets/i18n/pt-BR.json +155 -0
- package/build/dist/assets/i18n/pt-PT.json +155 -0
- package/build/dist/assets/i18n/ro-RO.json +155 -0
- package/build/dist/assets/i18n/ru-RU.json +155 -0
- package/build/dist/assets/i18n/sr-SP.json +155 -0
- package/build/dist/assets/i18n/sv-SE.json +155 -0
- package/build/dist/assets/i18n/tr-TR.json +155 -0
- package/build/dist/assets/i18n/uk-UA.json +155 -0
- package/build/dist/assets/i18n/vi-VN.json +155 -0
- package/build/dist/assets/i18n/zh-CN.json +155 -0
- package/build/dist/assets/i18n/zh-TW.json +155 -0
- package/build/dist/assets/img/altair_logo.png +0 -0
- package/build/dist/assets/img/altair_logo_128.png +0 -0
- package/build/dist/assets/img/altair_logo_512.png +0 -0
- package/build/dist/assets/img/logo.png +0 -0
- package/build/dist/assets/img/logo.svg +31 -0
- package/build/dist/assets/img/logo_350.svg +28 -0
- package/build/dist/assets/img/play.svg +19 -0
- package/build/dist/favicon.ico +0 -0
- package/build/dist/index.html +40 -0
- package/build/dist/jetbrains-mono-all-400-normal.woff +0 -0
- package/build/dist/jetbrains-mono-cyrillic-400-normal.woff2 +0 -0
- package/build/dist/jetbrains-mono-cyrillic-ext-400-normal.woff2 +0 -0
- package/build/dist/jetbrains-mono-greek-400-normal.woff2 +0 -0
- package/build/dist/jetbrains-mono-latin-400-normal.woff2 +0 -0
- package/build/dist/jetbrains-mono-latin-ext-400-normal.woff2 +0 -0
- package/build/dist/jetbrains-mono-vietnamese-400-normal.woff2 +0 -0
- package/build/dist/main-es2018.js +1 -0
- package/build/dist/main-es5.js +1 -0
- package/build/dist/polyfills-es2018.js +1 -0
- package/build/dist/polyfills-es5.js +1 -0
- package/build/dist/runtime-es2018.js +1 -0
- package/build/dist/runtime-es5.js +1 -0
- package/build/dist/styles.css +2 -0
- package/build/index.d.ts +25 -0
- package/build/index.js +74 -0
- package/build/index.js.map +1 -0
- package/build/index.test.d.ts +1 -0
- package/build/index.test.js +46 -0
- package/build/index.test.js.map +1 -0
- package/build/utils/get-altair-html.d.ts +1 -0
- package/build/utils/get-altair-html.js +10 -0
- package/build/utils/get-altair-html.js.map +1 -0
- package/build/utils/get-dist.d.ts +4 -0
- package/build/utils/get-dist.js +9 -0
- package/build/utils/get-dist.js.map +1 -0
- package/jest.config.js +12 -0
- package/package.json +47 -0
- package/scripts/prepare_dist.js +77 -0
- package/src/__snapshots__/index.test.ts.snap +66 -0
- package/src/index.html +40 -0
- package/src/index.test.ts +56 -0
- package/src/index.ts +84 -0
- package/src/utils/get-altair-html.ts +7 -0
- package/src/utils/get-dist.ts +6 -0
- package/tsconfig.json +19 -0
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
# Change Log
|
|
2
|
+
|
|
3
|
+
All notable changes to this project will be documented in this file.
|
|
4
|
+
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
|
+
|
|
6
|
+
<a name="1.0.4"></a>
|
|
7
|
+
## 1.0.4 (2018-05-12)
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
**Note:** Version bump only for package altair-static
|
|
13
|
+
|
|
14
|
+
<a name="1.0.3"></a>
|
|
15
|
+
## 1.0.3 (2018-05-12)
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
**Note:** Version bump only for package altair-static
|
|
21
|
+
|
|
22
|
+
<a name="1.0.2"></a>
|
|
23
|
+
## 1.0.2 (2018-05-12)
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
**Note:** Version bump only for package altair-static
|
|
29
|
+
|
|
30
|
+
<a name="1.0.1"></a>
|
|
31
|
+
## 1.0.1 (2018-05-12)
|
|
32
|
+
|
|
33
|
+
**Note:** Version bump only for package altair-static
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
<a name="1.0.4"></a>
|
|
40
|
+
## 1.0.4 (2018-05-12)
|
|
41
|
+
|
|
42
|
+
**Note:** Version bump only for package altair-static
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
<a name="1.0.3"></a>
|
|
49
|
+
## 1.0.3 (2018-05-12)
|
|
50
|
+
|
|
51
|
+
**Note:** Version bump only for package altair-static
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
<a name="1.0.2"></a>
|
|
58
|
+
## 1.0.2 (2018-05-12)
|
|
59
|
+
|
|
60
|
+
**Note:** Version bump only for package altair-static
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
<a name="1.0.1"></a>
|
|
67
|
+
## 1.0.1 (2018-05-12)
|
|
68
|
+
|
|
69
|
+
**Note:** Version bump only for package altair-static
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
<a name="1.0.2"></a>
|
|
76
|
+
## 1.0.2 (2018-05-12)
|
|
77
|
+
|
|
78
|
+
**Note:** Version bump only for package altair-static
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
|
|
82
|
+
|
|
83
|
+
|
|
84
|
+
<a name="1.0.1"></a>
|
|
85
|
+
## 1.0.1 (2018-05-12)
|
|
86
|
+
|
|
87
|
+
**Note:** Version bump only for package altair-static
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
<a name="1.0.1"></a>
|
|
94
|
+
## 1.0.1 (2018-05-12)
|
|
95
|
+
|
|
96
|
+
**Note:** Version bump only for package altair-static
|
|
97
|
+
|
|
98
|
+
|
|
99
|
+
|
|
100
|
+
|
|
101
|
+
|
|
102
|
+
<a name="1.0.3"></a>
|
|
103
|
+
## 1.0.3 (2018-05-12)
|
|
104
|
+
|
|
105
|
+
**Note:** Version bump only for package altair-static
|
|
106
|
+
|
|
107
|
+
|
|
108
|
+
|
|
109
|
+
|
|
110
|
+
|
|
111
|
+
<a name="1.0.2"></a>
|
|
112
|
+
## 1.0.2 (2018-05-12)
|
|
113
|
+
|
|
114
|
+
**Note:** Version bump only for package altair-static
|
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) [year] [fullname]
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
Using jsdelivr.com
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(self.webpackChunkaltair_app=self.webpackChunkaltair_app||[]).push([[108],{52108:function(e){e.exports=function(){"use strict";function e(e){var n={exports:{}};return e(n,n.exports),n.exports}function n(e){return(n="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)}var t=Object.defineProperty({default:function(e){return"object"==n(e)&&null!==e}},"__esModule",{value:!0}),i=e(function(e,n){Object.defineProperty(n,"__esModule",{value:!0}),n.SYMBOL_TO_STRING_TAG=n.SYMBOL_ASYNC_ITERATOR=n.SYMBOL_ITERATOR=void 0;var t="function"==typeof Symbol&&null!=Symbol.iterator?Symbol.iterator:"@@iterator";n.SYMBOL_ITERATOR=t;var i="function"==typeof Symbol&&null!=Symbol.asyncIterator?Symbol.asyncIterator:"@@asyncIterator";n.SYMBOL_ASYNC_ITERATOR=i;var r="function"==typeof Symbol&&null!=Symbol.toStringTag?Symbol.toStringTag:"@@toStringTag";n.SYMBOL_TO_STRING_TAG=r}),r=Object.defineProperty({getLocation:function(e,n){for(var t,i=/\r\n|[\n\r]/g,r=1,o=n+1;(t=i.exec(e.body))&&t.index<n;)r+=1,o=n+1-(t.index+t[0].length);return{line:r,column:o}}},"__esModule",{value:!0});function o(e,n){var t=e.locationOffset.column-1,i=s(t)+e.body,r=n.line-1,o=n.line+(e.locationOffset.line-1),c=n.column+(1===n.line?t:0),u="".concat(e.name,":").concat(o,":").concat(c,"\n"),l=i.split(/\r\n|[\n\r]/g),d=l[r];if(d.length>120){for(var p=Math.floor(c/80),f=c%80,h=[],T=0;T<d.length;T+=80)h.push(d.slice(T,T+80));return u+a([["".concat(o),h[0]]].concat(h.slice(1,p+1).map(function(e){return["",e]}),[[" ",s(f-1)+"^"],["",h[p+1]]]))}return u+a([["".concat(o-1),l[r-1]],["".concat(o),d],["",s(c-1)+"^"],["".concat(o+1),l[r+1]]])}function a(e){var n=e.filter(function(e){return void 0!==e[1]}),t=Math.max.apply(Math,n.map(function(e){return e[0].length}));return n.map(function(e){var n,i=e[1];return s(t-(n=e[0]).length)+n+(i?" | "+i:" |")}).join("\n")}function s(e){return Array(e+1).join(" ")}var c,u=Object.defineProperty({printLocation:function(e){return o(e.source,(0,r.getLocation)(e.source,e.start))},printSourceLocation:o},"__esModule",{value:!0}),l=e(function(e,n){function o(e){return(o="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)}Object.defineProperty(n,"__esModule",{value:!0}),n.printError=y,n.GraphQLError=void 0;var a,s=(a=t)&&a.__esModule?a:{default:a};function c(e,n){for(var t=0;t<n.length;t++){var i=n[t];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function l(e,n){return!n||"object"!==o(n)&&"function"!=typeof n?d(e):n}function d(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function p(e){var n="function"==typeof Map?new Map:void 0;return(p=function(e){if(null===e||-1===Function.toString.call(e).indexOf("[native code]"))return e;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==n){if(n.has(e))return n.get(e);n.set(e,t)}function t(){return f(e,arguments,v(this).constructor)}return t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),T(t,e)})(e)}function f(e,n,t){return(f=h()?Reflect.construct:function(e,n,t){var i=[null];i.push.apply(i,n);var r=new(Function.bind.apply(e,i));return t&&T(r,t.prototype),r}).apply(null,arguments)}function h(){if("undefined"==typeof Reflect||!Reflect.construct||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 T(e,n){return(T=Object.setPrototypeOf||function(e,n){return e.__proto__=n,e})(e,n)}function v(e){return(v=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var E=function(e){!function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),n&&T(e,n)}(p,e);var n,t,o,a,u=(n=p,t=h(),function(){var e,i=v(n);if(t){var r=v(this).constructor;e=Reflect.construct(i,arguments,r)}else e=i.apply(this,arguments);return l(this,e)});function p(e,n,t,i,o,a,c){var f,h,T,v,E;(function(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")})(this,p),E=u.call(this,e);var y,N=Array.isArray(n)?0!==n.length?n:void 0:n?[n]:void 0,m=t;!m&&N&&(m=null===(y=N[0].loc)||void 0===y?void 0:y.source);var k,_=i;!_&&N&&(_=N.reduce(function(e,n){return n.loc&&e.push(n.loc.start),e},[])),_&&0===_.length&&(_=void 0),i&&t?k=i.map(function(e){return(0,r.getLocation)(t,e)}):N&&(k=N.reduce(function(e,n){return n.loc&&e.push((0,r.getLocation)(n.loc.source,n.loc.start)),e},[]));var O=c;if(null==O&&null!=a){var I=a.extensions;(0,s.default)(I)&&(O=I)}return Object.defineProperties(d(E),{name:{value:"GraphQLError"},message:{value:e,enumerable:!0,writable:!0},locations:{value:null!==(f=k)&&void 0!==f?f:void 0,enumerable:null!=k},path:{value:null!=o?o:void 0,enumerable:null!=o},nodes:{value:null!=N?N:void 0},source:{value:null!==(h=m)&&void 0!==h?h:void 0},positions:{value:null!==(T=_)&&void 0!==T?T:void 0},originalError:{value:a},extensions:{value:null!==(v=O)&&void 0!==v?v:void 0,enumerable:null!=O}}),null!=a&&a.stack?(Object.defineProperty(d(E),"stack",{value:a.stack,writable:!0,configurable:!0}),l(E)):(Error.captureStackTrace?Error.captureStackTrace(d(E),p):Object.defineProperty(d(E),"stack",{value:Error().stack,writable:!0,configurable:!0}),E)}return o=p,(a=[{key:"toString",value:function(){return y(this)}},{key:i.SYMBOL_TO_STRING_TAG,get:function(){return"Object"}}])&&c(o.prototype,a),p}(p(Error));function y(e){var n=e.message;if(e.nodes)for(var t=0,i=e.nodes;t<i.length;t++){var r=i[t];r.loc&&(n+="\n\n"+(0,u.printLocation)(r.loc))}else if(e.source&&e.locations)for(var o=0,a=e.locations;o<a.length;o++)n+="\n\n"+(0,u.printSourceLocation)(e.source,a[o]);return n}n.GraphQLError=E}),d=Object.defineProperty({syntaxError:function(e,n,t){return new l.GraphQLError("Syntax Error: ".concat(t),void 0,e,[n])}},"__esModule",{value:!0}),p=e(function(e,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var t="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):void 0;n.default=t}),f=(c=p)&&c.__esModule?c:{default:c};function h(e){return(h="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 T(e,n){switch(h(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,n){if(-1!==n.indexOf(e))return"[Circular]";var t,i,r=[].concat(n,[e]),o="function"==typeof(i=(t=e)[String(f.default)])?i:"function"==typeof t.inspect?t.inspect:void 0;if(void 0!==o){var a=o.call(e);if(a!==e)return"string"==typeof a?a:T(a,r)}else if(Array.isArray(e))return function(e,n){if(0===e.length)return"[]";if(n.length>2)return"[Array]";for(var t=Math.min(10,e.length),i=e.length-t,r=[],o=0;o<t;++o)r.push(T(e[o],n));return 1===i?r.push("... 1 more item"):i>1&&r.push("... ".concat(i," more items")),"["+r.join(", ")+"]"}(e,r);return function(e,n){var t=Object.keys(e);return 0===t.length?"{}":n.length>2?"["+function(e){var n=Object.prototype.toString.call(e).replace(/^\[object /,"").replace(/]$/,"");if("Object"===n&&"function"==typeof e.constructor){var t=e.constructor.name;if("string"==typeof t&&""!==t)return t}return n}(e)+"]":"{ "+t.map(function(t){return t+": "+T(e[t],n)}).join(", ")+" }"}(e,r)}(e,n);default:return String(e)}}var v,E=Object.defineProperty({default:function(e){return T(e,[])}},"__esModule",{value:!0}),y=(v=E)&&v.__esModule?v:{default:v},N=Object.defineProperty({locatedError:function(e,n,t){var i,r=e instanceof Error?e:new Error("Unexpected error value: "+(0,y.default)(e));return Array.isArray(r.path)?r:new l.GraphQLError(r.message,null!==(i=r.nodes)&&void 0!==i?i:n,r.source,r.positions,t,r)}},"__esModule",{value:!0}),m=Object.defineProperty({default:function(e,n){if(!Boolean(e))throw new Error(n)}},"__esModule",{value:!0}),k=function(e){return e&&e.__esModule?e:{default:e}}(m),_=Object.defineProperty({formatError:function(e){var n;e||(0,k.default)(0,"Received null or undefined error.");var t=null!==(n=e.message)&&void 0!==n?n:"An unknown error occurred.",i=e.locations,r=e.path,o=e.extensions;return o?{message:t,locations:i,path:r,extensions:o}:{message:t,locations:i,path:r}}},"__esModule",{value:!0}),O=e(function(e,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"GraphQLError",{enumerable:!0,get:function(){return l.GraphQLError}}),Object.defineProperty(n,"printError",{enumerable:!0,get:function(){return l.printError}}),Object.defineProperty(n,"syntaxError",{enumerable:!0,get:function(){return d.syntaxError}}),Object.defineProperty(n,"locatedError",{enumerable:!0,get:function(){return N.locatedError}}),Object.defineProperty(n,"formatError",{enumerable:!0,get:function(){return _.formatError}})}),I=e(function(e,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0,n.default=function(e,n){return e instanceof n}}),b=e(function(e,n){Object.defineProperty(n,"__esModule",{value:!0}),n.isSource=function(e){return(0,o.default)(e,c)},n.Source=void 0;var t=a(E),r=a(m),o=a(I);function a(e){return e&&e.__esModule?e:{default:e}}function s(e,n){for(var t=0;t<n.length;t++){var i=n[t];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}var c=function(){function e(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"GraphQL request",i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{line:1,column:1};"string"==typeof e||(0,r.default)(0,"Body must be a string. Received: ".concat((0,t.default)(e),".")),this.body=e,this.name=n,this.locationOffset=i,this.locationOffset.line>0||(0,r.default)(0,"line in locationOffset is 1-indexed and must be positive."),this.locationOffset.column>0||(0,r.default)(0,"column in locationOffset is 1-indexed and must be positive.")}var n,o;return n=e,(o=[{key:i.SYMBOL_TO_STRING_TAG,get:function(){return"Source"}}])&&s(n.prototype,o),e}();n.Source=c}),D=e(function(e,n){Object.defineProperty(n,"__esModule",{value:!0}),n.Kind=void 0;var t=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"});n.Kind=t}),x=e(function(e,n){Object.defineProperty(n,"__esModule",{value:!0}),n.TokenKind=void 0;var t=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"});n.TokenKind=t}),A=K(Object.defineProperty({default:function(e,n){if(!Boolean(e))throw new Error(null!=n?n:"Unexpected invariant triggered.")}},"__esModule",{value:!0})),S=K(p);function K(e){return e&&e.__esModule?e:{default:e}}var g=Object.defineProperty({default:function(e){var n=e.prototype.toJSON;"function"==typeof n||(0,A.default)(0),e.prototype.inspect=n,S.default&&(e.prototype[S.default]=n)}},"__esModule",{value:!0}),L=e(function(e,n){Object.defineProperty(n,"__esModule",{value:!0}),n.isNode=function(e){return null!=e&&"string"==typeof e.kind},n.Token=n.Location=void 0;var t,i=(t=g)&&t.__esModule?t:{default:t},r=function(){function e(e,n,t){this.start=e.start,this.end=n.end,this.startToken=e,this.endToken=n,this.source=t}return e.prototype.toJSON=function(){return{start:this.start,end:this.end}},e}();n.Location=r,(0,i.default)(r);var o=function(){function e(e,n,t,i,r,o,a){this.kind=e,this.start=n,this.end=t,this.line=i,this.column=r,this.value=a,this.prev=o,this.next=null}return e.prototype.toJSON=function(){return{kind:this.kind,value:this.value,line:this.line,column:this.column}},e}();n.Token=o,(0,i.default)(o)});function R(e){for(var n=0;n<e.length;++n)if(" "!==e[n]&&"\t"!==e[n])return!1;return!0}function P(e){for(var n,t=!0,i=!0,r=0,o=null,a=0;a<e.length;++a)switch(e.charCodeAt(a)){case 13:10===e.charCodeAt(a+1)&&++a;case 10:t=!1,i=!0,r=0;break;case 9:case 32:++r;break;default:i&&!t&&(null===o||r<o)&&(o=r),i=!1}return null!==(n=o)&&void 0!==n?n:0}var C=Object.defineProperty({dedentBlockStringValue:function(e){var n=e.split(/\r\n|[\n\r]/g),t=P(e);if(0!==t)for(var i=1;i<n.length;i++)n[i]=n[i].slice(t);for(var r=0;r<n.length&&R(n[r]);)++r;for(var o=n.length;o>r&&R(n[o-1]);)--o;return n.slice(r,o).join("\n")},getBlockStringIndentation:P,printBlockString:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",t=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=-1===e.indexOf("\n"),r=!i||'"'===e[e.length-1]||"\\"===e[e.length-1]||t,o="";return!r||i&&(" "===e[0]||"\t"===e[0])||(o+="\n"+n),o+=n?e.replace(/\n/g,"\n"+n):e,r&&(o+="\n"),'"""'+o.replace(/"""/g,'\\"""')+'"""'}},"__esModule",{value:!0}),F=e(function(e,n){Object.defineProperty(n,"__esModule",{value:!0}),n.isPunctuatorTokenKind=function(e){return e===x.TokenKind.BANG||e===x.TokenKind.DOLLAR||e===x.TokenKind.AMP||e===x.TokenKind.PAREN_L||e===x.TokenKind.PAREN_R||e===x.TokenKind.SPREAD||e===x.TokenKind.COLON||e===x.TokenKind.EQUALS||e===x.TokenKind.AT||e===x.TokenKind.BRACKET_L||e===x.TokenKind.BRACKET_R||e===x.TokenKind.BRACE_L||e===x.TokenKind.PIPE||e===x.TokenKind.BRACE_R},n.Lexer=void 0;var t=function(){function e(e){var n=new L.Token(x.TokenKind.SOF,0,0,0,0,null);this.source=e,this.lastToken=n,this.token=n,this.line=1,this.lineStart=0}var n=e.prototype;return n.advance=function(){return this.lastToken=this.token,this.token=this.lookahead()},n.lookahead=function(){var e=this.token;if(e.kind!==x.TokenKind.EOF)do{var n;e=null!==(n=e.next)&&void 0!==n?n:e.next=r(this,e)}while(e.kind===x.TokenKind.COMMENT);return e},e}();function i(e){return isNaN(e)?x.TokenKind.EOF:e<127?JSON.stringify(String.fromCharCode(e)):'"\\u'.concat(("00"+e.toString(16).toUpperCase()).slice(-4),'"')}function r(e,n){for(var t=e.source,i=t.body,r=i.length,c=n.end;c<r;){var p=i.charCodeAt(c),h=e.line,T=1+c-e.lineStart;switch(p){case 65279:case 9:case 32:case 44:++c;continue;case 10:++c,++e.line,e.lineStart=c;continue;case 13:10===i.charCodeAt(c+1)?c+=2:++c,++e.line,e.lineStart=c;continue;case 33:return new L.Token(x.TokenKind.BANG,c,c+1,h,T,n);case 35:return a(t,c,h,T,n);case 36:return new L.Token(x.TokenKind.DOLLAR,c,c+1,h,T,n);case 38:return new L.Token(x.TokenKind.AMP,c,c+1,h,T,n);case 40:return new L.Token(x.TokenKind.PAREN_L,c,c+1,h,T,n);case 41:return new L.Token(x.TokenKind.PAREN_R,c,c+1,h,T,n);case 46:if(46===i.charCodeAt(c+1)&&46===i.charCodeAt(c+2))return new L.Token(x.TokenKind.SPREAD,c,c+3,h,T,n);break;case 58:return new L.Token(x.TokenKind.COLON,c,c+1,h,T,n);case 61:return new L.Token(x.TokenKind.EQUALS,c,c+1,h,T,n);case 64:return new L.Token(x.TokenKind.AT,c,c+1,h,T,n);case 91:return new L.Token(x.TokenKind.BRACKET_L,c,c+1,h,T,n);case 93:return new L.Token(x.TokenKind.BRACKET_R,c,c+1,h,T,n);case 123:return new L.Token(x.TokenKind.BRACE_L,c,c+1,h,T,n);case 124:return new L.Token(x.TokenKind.PIPE,c,c+1,h,T,n);case 125:return new L.Token(x.TokenKind.BRACE_R,c,c+1,h,T,n);case 34:return 34===i.charCodeAt(c+1)&&34===i.charCodeAt(c+2)?l(t,c,h,T,n,e):u(t,c,h,T,n);case 45:case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return s(t,c,p,h,T,n);case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:case 95:case 97:case 98:case 99:case 100:case 101:case 102:case 103:case 104:case 105:case 106:case 107:case 108:case 109:case 110:case 111:case 112:case 113:case 114:case 115:case 116:case 117:case 118:case 119:case 120:case 121:case 122:return f(t,c,h,T,n)}throw(0,d.syntaxError)(t,c,o(p))}return new L.Token(x.TokenKind.EOF,r,r,e.line,1+c-e.lineStart,n)}function o(e){return e<32&&9!==e&&10!==e&&13!==e?"Cannot contain the invalid character ".concat(i(e),"."):39===e?"Unexpected single quote character ('), did you mean to use a double quote (\")?":"Cannot parse the unexpected character ".concat(i(e),".")}function a(e,n,t,i,r){var o,a=e.body,s=n;do{o=a.charCodeAt(++s)}while(!isNaN(o)&&(o>31||9===o));return new L.Token(x.TokenKind.COMMENT,n,s,t,i,r,a.slice(n+1,s))}function s(e,n,t,r,o,a){var s,u=e.body,l=t,p=n,f=!1;if(45===l&&(l=u.charCodeAt(++p)),48===l){if((l=u.charCodeAt(++p))>=48&&l<=57)throw(0,d.syntaxError)(e,p,"Invalid number, unexpected digit after 0: ".concat(i(l),"."))}else p=c(e,p,l),l=u.charCodeAt(p);if(46===l&&(f=!0,l=u.charCodeAt(++p),p=c(e,p,l),l=u.charCodeAt(p)),69!==l&&101!==l||(f=!0,43!==(l=u.charCodeAt(++p))&&45!==l||(l=u.charCodeAt(++p)),p=c(e,p,l),l=u.charCodeAt(p)),46===l||95===(s=l)||s>=65&&s<=90||s>=97&&s<=122)throw(0,d.syntaxError)(e,p,"Invalid number, expected digit but got: ".concat(i(l),"."));return new L.Token(f?x.TokenKind.FLOAT:x.TokenKind.INT,n,p,r,o,a,u.slice(n,p))}function c(e,n,t){var r=e.body,o=n,a=t;if(a>=48&&a<=57){do{a=r.charCodeAt(++o)}while(a>=48&&a<=57);return o}throw(0,d.syntaxError)(e,o,"Invalid number, expected digit but got: ".concat(i(a),"."))}function u(e,n,t,r,o){for(var a,s,c,u,l=e.body,f=n+1,h=f,T=0,v="";f<l.length&&!isNaN(T=l.charCodeAt(f))&&10!==T&&13!==T;){if(34===T)return v+=l.slice(h,f),new L.Token(x.TokenKind.STRING,n,f+1,t,r,o,v);if(T<32&&9!==T)throw(0,d.syntaxError)(e,f,"Invalid character within String: ".concat(i(T),"."));if(++f,92===T){switch(v+=l.slice(h,f-1),T=l.charCodeAt(f)){case 34:v+='"';break;case 47:v+="/";break;case 92:v+="\\";break;case 98:v+="\b";break;case 102:v+="\f";break;case 110:v+="\n";break;case 114:v+="\r";break;case 116:v+="\t";break;case 117:var E=(a=l.charCodeAt(f+1),s=l.charCodeAt(f+2),c=l.charCodeAt(f+3),u=l.charCodeAt(f+4),p(a)<<12|p(s)<<8|p(c)<<4|p(u));if(E<0){var y=l.slice(f+1,f+5);throw(0,d.syntaxError)(e,f,"Invalid character escape sequence: \\u".concat(y,"."))}v+=String.fromCharCode(E),f+=4;break;default:throw(0,d.syntaxError)(e,f,"Invalid character escape sequence: \\".concat(String.fromCharCode(T),"."))}h=++f}}throw(0,d.syntaxError)(e,f,"Unterminated string.")}function l(e,n,t,r,o,a){for(var s=e.body,c=n+3,u=c,l=0,p="";c<s.length&&!isNaN(l=s.charCodeAt(c));){if(34===l&&34===s.charCodeAt(c+1)&&34===s.charCodeAt(c+2))return p+=s.slice(u,c),new L.Token(x.TokenKind.BLOCK_STRING,n,c+3,t,r,o,(0,C.dedentBlockStringValue)(p));if(l<32&&9!==l&&10!==l&&13!==l)throw(0,d.syntaxError)(e,c,"Invalid character within String: ".concat(i(l),"."));10===l?(++c,++a.line,a.lineStart=c):13===l?(10===s.charCodeAt(c+1)?c+=2:++c,++a.line,a.lineStart=c):92===l&&34===s.charCodeAt(c+1)&&34===s.charCodeAt(c+2)&&34===s.charCodeAt(c+3)?(p+=s.slice(u,c)+'"""',u=c+=4):++c}throw(0,d.syntaxError)(e,c,"Unterminated string.")}function p(e){return e>=48&&e<=57?e-48:e>=65&&e<=70?e-55:e>=97&&e<=102?e-87:-1}function f(e,n,t,i,r){for(var o=e.body,a=o.length,s=n+1,c=0;s!==a&&!isNaN(c=o.charCodeAt(s))&&(95===c||c>=48&&c<=57||c>=65&&c<=90||c>=97&&c<=122);)++s;return new L.Token(x.TokenKind.NAME,n,s,t,i,r,o.slice(n,s))}n.Lexer=t}),M=e(function(e,n){Object.defineProperty(n,"__esModule",{value:!0}),n.DirectiveLocation=void 0;var t=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"});n.DirectiveLocation=t}),w=e(function(e,n){Object.defineProperty(n,"__esModule",{value:!0}),n.parse=function(e,n){return new t(e,n).parseDocument()},n.parseValue=function(e,n){var i=new t(e,n);i.expectToken(x.TokenKind.SOF);var r=i.parseValueLiteral(!1);return i.expectToken(x.TokenKind.EOF),r},n.parseType=function(e,n){var i=new t(e,n);i.expectToken(x.TokenKind.SOF);var r=i.parseTypeReference();return i.expectToken(x.TokenKind.EOF),r},n.Parser=void 0;var t=function(){function e(e,n){var t=(0,b.isSource)(e)?e:new b.Source(e);this._lexer=new F.Lexer(t),this._options=n}var n=e.prototype;return n.parseName=function(){var e=this.expectToken(x.TokenKind.NAME);return{kind:D.Kind.NAME,value:e.value,loc:this.loc(e)}},n.parseDocument=function(){var e=this._lexer.token;return{kind:D.Kind.DOCUMENT,definitions:this.many(x.TokenKind.SOF,this.parseDefinition,x.TokenKind.EOF),loc:this.loc(e)}},n.parseDefinition=function(){if(this.peek(x.TokenKind.NAME))switch(this._lexer.token.value){case"query":case"mutation":case"subscription":return this.parseOperationDefinition();case"fragment":return this.parseFragmentDefinition();case"schema":case"scalar":case"type":case"interface":case"union":case"enum":case"input":case"directive":return this.parseTypeSystemDefinition();case"extend":return this.parseTypeSystemExtension()}else{if(this.peek(x.TokenKind.BRACE_L))return this.parseOperationDefinition();if(this.peekDescription())return this.parseTypeSystemDefinition()}throw this.unexpected()},n.parseOperationDefinition=function(){var e=this._lexer.token;if(this.peek(x.TokenKind.BRACE_L))return{kind:D.Kind.OPERATION_DEFINITION,operation:"query",name:void 0,variableDefinitions:[],directives:[],selectionSet:this.parseSelectionSet(),loc:this.loc(e)};var n,t=this.parseOperationType();return this.peek(x.TokenKind.NAME)&&(n=this.parseName()),{kind:D.Kind.OPERATION_DEFINITION,operation:t,name:n,variableDefinitions:this.parseVariableDefinitions(),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(e)}},n.parseOperationType=function(){var e=this.expectToken(x.TokenKind.NAME);switch(e.value){case"query":return"query";case"mutation":return"mutation";case"subscription":return"subscription"}throw this.unexpected(e)},n.parseVariableDefinitions=function(){return this.optionalMany(x.TokenKind.PAREN_L,this.parseVariableDefinition,x.TokenKind.PAREN_R)},n.parseVariableDefinition=function(){var e=this._lexer.token;return{kind:D.Kind.VARIABLE_DEFINITION,variable:this.parseVariable(),type:(this.expectToken(x.TokenKind.COLON),this.parseTypeReference()),defaultValue:this.expectOptionalToken(x.TokenKind.EQUALS)?this.parseValueLiteral(!0):void 0,directives:this.parseDirectives(!0),loc:this.loc(e)}},n.parseVariable=function(){var e=this._lexer.token;return this.expectToken(x.TokenKind.DOLLAR),{kind:D.Kind.VARIABLE,name:this.parseName(),loc:this.loc(e)}},n.parseSelectionSet=function(){var e=this._lexer.token;return{kind:D.Kind.SELECTION_SET,selections:this.many(x.TokenKind.BRACE_L,this.parseSelection,x.TokenKind.BRACE_R),loc:this.loc(e)}},n.parseSelection=function(){return this.peek(x.TokenKind.SPREAD)?this.parseFragment():this.parseField()},n.parseField=function(){var e,n,t=this._lexer.token,i=this.parseName();return this.expectOptionalToken(x.TokenKind.COLON)?(e=i,n=this.parseName()):n=i,{kind:D.Kind.FIELD,alias:e,name:n,arguments:this.parseArguments(!1),directives:this.parseDirectives(!1),selectionSet:this.peek(x.TokenKind.BRACE_L)?this.parseSelectionSet():void 0,loc:this.loc(t)}},n.parseArguments=function(e){return this.optionalMany(x.TokenKind.PAREN_L,e?this.parseConstArgument:this.parseArgument,x.TokenKind.PAREN_R)},n.parseArgument=function(){var e=this._lexer.token,n=this.parseName();return this.expectToken(x.TokenKind.COLON),{kind:D.Kind.ARGUMENT,name:n,value:this.parseValueLiteral(!1),loc:this.loc(e)}},n.parseConstArgument=function(){var e=this._lexer.token;return{kind:D.Kind.ARGUMENT,name:this.parseName(),value:(this.expectToken(x.TokenKind.COLON),this.parseValueLiteral(!0)),loc:this.loc(e)}},n.parseFragment=function(){var e=this._lexer.token;this.expectToken(x.TokenKind.SPREAD);var n=this.expectOptionalKeyword("on");return!n&&this.peek(x.TokenKind.NAME)?{kind:D.Kind.FRAGMENT_SPREAD,name:this.parseFragmentName(),directives:this.parseDirectives(!1),loc:this.loc(e)}:{kind:D.Kind.INLINE_FRAGMENT,typeCondition:n?this.parseNamedType():void 0,directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(e)}},n.parseFragmentDefinition=function(){var e,n=this._lexer.token;return this.expectKeyword("fragment"),!0===(null===(e=this._options)||void 0===e?void 0:e.experimentalFragmentVariables)?{kind:D.Kind.FRAGMENT_DEFINITION,name:this.parseFragmentName(),variableDefinitions:this.parseVariableDefinitions(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(n)}:{kind:D.Kind.FRAGMENT_DEFINITION,name:this.parseFragmentName(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(n)}},n.parseFragmentName=function(){if("on"===this._lexer.token.value)throw this.unexpected();return this.parseName()},n.parseValueLiteral=function(e){var n=this._lexer.token;switch(n.kind){case x.TokenKind.BRACKET_L:return this.parseList(e);case x.TokenKind.BRACE_L:return this.parseObject(e);case x.TokenKind.INT:return this._lexer.advance(),{kind:D.Kind.INT,value:n.value,loc:this.loc(n)};case x.TokenKind.FLOAT:return this._lexer.advance(),{kind:D.Kind.FLOAT,value:n.value,loc:this.loc(n)};case x.TokenKind.STRING:case x.TokenKind.BLOCK_STRING:return this.parseStringLiteral();case x.TokenKind.NAME:switch(this._lexer.advance(),n.value){case"true":return{kind:D.Kind.BOOLEAN,value:!0,loc:this.loc(n)};case"false":return{kind:D.Kind.BOOLEAN,value:!1,loc:this.loc(n)};case"null":return{kind:D.Kind.NULL,loc:this.loc(n)};default:return{kind:D.Kind.ENUM,value:n.value,loc:this.loc(n)}}case x.TokenKind.DOLLAR:if(!e)return this.parseVariable()}throw this.unexpected()},n.parseStringLiteral=function(){var e=this._lexer.token;return this._lexer.advance(),{kind:D.Kind.STRING,value:e.value,block:e.kind===x.TokenKind.BLOCK_STRING,loc:this.loc(e)}},n.parseList=function(e){var n=this,t=this._lexer.token;return{kind:D.Kind.LIST,values:this.any(x.TokenKind.BRACKET_L,function(){return n.parseValueLiteral(e)},x.TokenKind.BRACKET_R),loc:this.loc(t)}},n.parseObject=function(e){var n=this,t=this._lexer.token;return{kind:D.Kind.OBJECT,fields:this.any(x.TokenKind.BRACE_L,function(){return n.parseObjectField(e)},x.TokenKind.BRACE_R),loc:this.loc(t)}},n.parseObjectField=function(e){var n=this._lexer.token,t=this.parseName();return this.expectToken(x.TokenKind.COLON),{kind:D.Kind.OBJECT_FIELD,name:t,value:this.parseValueLiteral(e),loc:this.loc(n)}},n.parseDirectives=function(e){for(var n=[];this.peek(x.TokenKind.AT);)n.push(this.parseDirective(e));return n},n.parseDirective=function(e){var n=this._lexer.token;return this.expectToken(x.TokenKind.AT),{kind:D.Kind.DIRECTIVE,name:this.parseName(),arguments:this.parseArguments(e),loc:this.loc(n)}},n.parseTypeReference=function(){var e,n=this._lexer.token;return this.expectOptionalToken(x.TokenKind.BRACKET_L)?(e=this.parseTypeReference(),this.expectToken(x.TokenKind.BRACKET_R),e={kind:D.Kind.LIST_TYPE,type:e,loc:this.loc(n)}):e=this.parseNamedType(),this.expectOptionalToken(x.TokenKind.BANG)?{kind:D.Kind.NON_NULL_TYPE,type:e,loc:this.loc(n)}:e},n.parseNamedType=function(){var e=this._lexer.token;return{kind:D.Kind.NAMED_TYPE,name:this.parseName(),loc:this.loc(e)}},n.parseTypeSystemDefinition=function(){var e=this.peekDescription()?this._lexer.lookahead():this._lexer.token;if(e.kind===x.TokenKind.NAME)switch(e.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()}throw this.unexpected(e)},n.peekDescription=function(){return this.peek(x.TokenKind.STRING)||this.peek(x.TokenKind.BLOCK_STRING)},n.parseDescription=function(){if(this.peekDescription())return this.parseStringLiteral()},n.parseSchemaDefinition=function(){var e=this._lexer.token,n=this.parseDescription();this.expectKeyword("schema");var t=this.parseDirectives(!0),i=this.many(x.TokenKind.BRACE_L,this.parseOperationTypeDefinition,x.TokenKind.BRACE_R);return{kind:D.Kind.SCHEMA_DEFINITION,description:n,directives:t,operationTypes:i,loc:this.loc(e)}},n.parseOperationTypeDefinition=function(){var e=this._lexer.token,n=this.parseOperationType();this.expectToken(x.TokenKind.COLON);var t=this.parseNamedType();return{kind:D.Kind.OPERATION_TYPE_DEFINITION,operation:n,type:t,loc:this.loc(e)}},n.parseScalarTypeDefinition=function(){var e=this._lexer.token,n=this.parseDescription();this.expectKeyword("scalar");var t=this.parseName(),i=this.parseDirectives(!0);return{kind:D.Kind.SCALAR_TYPE_DEFINITION,description:n,name:t,directives:i,loc:this.loc(e)}},n.parseObjectTypeDefinition=function(){var e=this._lexer.token,n=this.parseDescription();this.expectKeyword("type");var t=this.parseName(),i=this.parseImplementsInterfaces(),r=this.parseDirectives(!0),o=this.parseFieldsDefinition();return{kind:D.Kind.OBJECT_TYPE_DEFINITION,description:n,name:t,interfaces:i,directives:r,fields:o,loc:this.loc(e)}},n.parseImplementsInterfaces=function(){var e;if(!this.expectOptionalKeyword("implements"))return[];if(!0===(null===(e=this._options)||void 0===e?void 0:e.allowLegacySDLImplementsInterfaces)){var n=[];this.expectOptionalToken(x.TokenKind.AMP);do{n.push(this.parseNamedType())}while(this.expectOptionalToken(x.TokenKind.AMP)||this.peek(x.TokenKind.NAME));return n}return this.delimitedMany(x.TokenKind.AMP,this.parseNamedType)},n.parseFieldsDefinition=function(){var e;return!0===(null===(e=this._options)||void 0===e?void 0:e.allowLegacySDLEmptyFields)&&this.peek(x.TokenKind.BRACE_L)&&this._lexer.lookahead().kind===x.TokenKind.BRACE_R?(this._lexer.advance(),this._lexer.advance(),[]):this.optionalMany(x.TokenKind.BRACE_L,this.parseFieldDefinition,x.TokenKind.BRACE_R)},n.parseFieldDefinition=function(){var e=this._lexer.token,n=this.parseDescription(),t=this.parseName(),i=this.parseArgumentDefs();this.expectToken(x.TokenKind.COLON);var r=this.parseTypeReference(),o=this.parseDirectives(!0);return{kind:D.Kind.FIELD_DEFINITION,description:n,name:t,arguments:i,type:r,directives:o,loc:this.loc(e)}},n.parseArgumentDefs=function(){return this.optionalMany(x.TokenKind.PAREN_L,this.parseInputValueDef,x.TokenKind.PAREN_R)},n.parseInputValueDef=function(){var e=this._lexer.token,n=this.parseDescription(),t=this.parseName();this.expectToken(x.TokenKind.COLON);var i,r=this.parseTypeReference();this.expectOptionalToken(x.TokenKind.EQUALS)&&(i=this.parseValueLiteral(!0));var o=this.parseDirectives(!0);return{kind:D.Kind.INPUT_VALUE_DEFINITION,description:n,name:t,type:r,defaultValue:i,directives:o,loc:this.loc(e)}},n.parseInterfaceTypeDefinition=function(){var e=this._lexer.token,n=this.parseDescription();this.expectKeyword("interface");var t=this.parseName(),i=this.parseImplementsInterfaces(),r=this.parseDirectives(!0),o=this.parseFieldsDefinition();return{kind:D.Kind.INTERFACE_TYPE_DEFINITION,description:n,name:t,interfaces:i,directives:r,fields:o,loc:this.loc(e)}},n.parseUnionTypeDefinition=function(){var e=this._lexer.token,n=this.parseDescription();this.expectKeyword("union");var t=this.parseName(),i=this.parseDirectives(!0),r=this.parseUnionMemberTypes();return{kind:D.Kind.UNION_TYPE_DEFINITION,description:n,name:t,directives:i,types:r,loc:this.loc(e)}},n.parseUnionMemberTypes=function(){return this.expectOptionalToken(x.TokenKind.EQUALS)?this.delimitedMany(x.TokenKind.PIPE,this.parseNamedType):[]},n.parseEnumTypeDefinition=function(){var e=this._lexer.token,n=this.parseDescription();this.expectKeyword("enum");var t=this.parseName(),i=this.parseDirectives(!0),r=this.parseEnumValuesDefinition();return{kind:D.Kind.ENUM_TYPE_DEFINITION,description:n,name:t,directives:i,values:r,loc:this.loc(e)}},n.parseEnumValuesDefinition=function(){return this.optionalMany(x.TokenKind.BRACE_L,this.parseEnumValueDefinition,x.TokenKind.BRACE_R)},n.parseEnumValueDefinition=function(){var e=this._lexer.token,n=this.parseDescription(),t=this.parseName(),i=this.parseDirectives(!0);return{kind:D.Kind.ENUM_VALUE_DEFINITION,description:n,name:t,directives:i,loc:this.loc(e)}},n.parseInputObjectTypeDefinition=function(){var e=this._lexer.token,n=this.parseDescription();this.expectKeyword("input");var t=this.parseName(),i=this.parseDirectives(!0),r=this.parseInputFieldsDefinition();return{kind:D.Kind.INPUT_OBJECT_TYPE_DEFINITION,description:n,name:t,directives:i,fields:r,loc:this.loc(e)}},n.parseInputFieldsDefinition=function(){return this.optionalMany(x.TokenKind.BRACE_L,this.parseInputValueDef,x.TokenKind.BRACE_R)},n.parseTypeSystemExtension=function(){var e=this._lexer.lookahead();if(e.kind===x.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)},n.parseSchemaExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("schema");var n=this.parseDirectives(!0),t=this.optionalMany(x.TokenKind.BRACE_L,this.parseOperationTypeDefinition,x.TokenKind.BRACE_R);if(0===n.length&&0===t.length)throw this.unexpected();return{kind:D.Kind.SCHEMA_EXTENSION,directives:n,operationTypes:t,loc:this.loc(e)}},n.parseScalarTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("scalar");var n=this.parseName(),t=this.parseDirectives(!0);if(0===t.length)throw this.unexpected();return{kind:D.Kind.SCALAR_TYPE_EXTENSION,name:n,directives:t,loc:this.loc(e)}},n.parseObjectTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("type");var n=this.parseName(),t=this.parseImplementsInterfaces(),i=this.parseDirectives(!0),r=this.parseFieldsDefinition();if(0===t.length&&0===i.length&&0===r.length)throw this.unexpected();return{kind:D.Kind.OBJECT_TYPE_EXTENSION,name:n,interfaces:t,directives:i,fields:r,loc:this.loc(e)}},n.parseInterfaceTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("interface");var n=this.parseName(),t=this.parseImplementsInterfaces(),i=this.parseDirectives(!0),r=this.parseFieldsDefinition();if(0===t.length&&0===i.length&&0===r.length)throw this.unexpected();return{kind:D.Kind.INTERFACE_TYPE_EXTENSION,name:n,interfaces:t,directives:i,fields:r,loc:this.loc(e)}},n.parseUnionTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("union");var n=this.parseName(),t=this.parseDirectives(!0),i=this.parseUnionMemberTypes();if(0===t.length&&0===i.length)throw this.unexpected();return{kind:D.Kind.UNION_TYPE_EXTENSION,name:n,directives:t,types:i,loc:this.loc(e)}},n.parseEnumTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("enum");var n=this.parseName(),t=this.parseDirectives(!0),i=this.parseEnumValuesDefinition();if(0===t.length&&0===i.length)throw this.unexpected();return{kind:D.Kind.ENUM_TYPE_EXTENSION,name:n,directives:t,values:i,loc:this.loc(e)}},n.parseInputObjectTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("input");var n=this.parseName(),t=this.parseDirectives(!0),i=this.parseInputFieldsDefinition();if(0===t.length&&0===i.length)throw this.unexpected();return{kind:D.Kind.INPUT_OBJECT_TYPE_EXTENSION,name:n,directives:t,fields:i,loc:this.loc(e)}},n.parseDirectiveDefinition=function(){var e=this._lexer.token,n=this.parseDescription();this.expectKeyword("directive"),this.expectToken(x.TokenKind.AT);var t=this.parseName(),i=this.parseArgumentDefs(),r=this.expectOptionalKeyword("repeatable");this.expectKeyword("on");var o=this.parseDirectiveLocations();return{kind:D.Kind.DIRECTIVE_DEFINITION,description:n,name:t,arguments:i,repeatable:r,locations:o,loc:this.loc(e)}},n.parseDirectiveLocations=function(){return this.delimitedMany(x.TokenKind.PIPE,this.parseDirectiveLocation)},n.parseDirectiveLocation=function(){var e=this._lexer.token,n=this.parseName();if(void 0!==M.DirectiveLocation[n.value])return n;throw this.unexpected(e)},n.loc=function(e){var n;if(!0!==(null===(n=this._options)||void 0===n?void 0:n.noLocation))return new L.Location(e,this._lexer.lastToken,this._lexer.source)},n.peek=function(e){return this._lexer.token.kind===e},n.expectToken=function(e){var n=this._lexer.token;if(n.kind===e)return this._lexer.advance(),n;throw(0,d.syntaxError)(this._lexer.source,n.start,"Expected ".concat(r(e),", found ").concat(i(n),"."))},n.expectOptionalToken=function(e){var n=this._lexer.token;if(n.kind===e)return this._lexer.advance(),n},n.expectKeyword=function(e){var n=this._lexer.token;if(n.kind!==x.TokenKind.NAME||n.value!==e)throw(0,d.syntaxError)(this._lexer.source,n.start,'Expected "'.concat(e,'", found ').concat(i(n),"."));this._lexer.advance()},n.expectOptionalKeyword=function(e){var n=this._lexer.token;return n.kind===x.TokenKind.NAME&&n.value===e&&(this._lexer.advance(),!0)},n.unexpected=function(e){var n=null!=e?e:this._lexer.token;return(0,d.syntaxError)(this._lexer.source,n.start,"Unexpected ".concat(i(n),"."))},n.any=function(e,n,t){this.expectToken(e);for(var i=[];!this.expectOptionalToken(t);)i.push(n.call(this));return i},n.optionalMany=function(e,n,t){if(this.expectOptionalToken(e)){var i=[];do{i.push(n.call(this))}while(!this.expectOptionalToken(t));return i}return[]},n.many=function(e,n,t){this.expectToken(e);var i=[];do{i.push(n.call(this))}while(!this.expectOptionalToken(t));return i},n.delimitedMany=function(e,n){this.expectOptionalToken(e);var t=[];do{t.push(n.call(this))}while(this.expectOptionalToken(e));return t},e}();function i(e){var n=e.value;return r(e.kind)+(null!=n?' "'.concat(n,'"'):"")}function r(e){return(0,F.isPunctuatorTokenKind)(e)?'"'.concat(e,'"'):e}n.Parser=t}),j=e(function(e,n){Object.defineProperty(n,"__esModule",{value:!0}),n.visit=function(e,n){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:r,s=void 0,c=Array.isArray(e),u=[e],l=-1,d=[],p=void 0,f=void 0,h=void 0,T=[],v=[],E=e;do{var y=++l===u.length,N=y&&0!==d.length;if(y){if(f=0===v.length?void 0:T[T.length-1],p=h,h=v.pop(),N){if(c)p=p.slice();else{for(var m={},k=0,_=Object.keys(p);k<_.length;k++){var O=_[k];m[O]=p[O]}p=m}for(var I=0,b=0;b<d.length;b++){var D=d[b][0],x=d[b][1];c&&(D-=I),c&&null===x?(p.splice(D,1),I++):p[D]=x}}l=s.index,u=s.keys,d=s.edits,c=s.inArray,s=s.prev}else{if(f=h?c?l:u[l]:void 0,null==(p=h?h[f]:E))continue;h&&T.push(f)}var A,S=void 0;if(!Array.isArray(p)){if(!(0,L.isNode)(p))throw new Error("Invalid AST Node: ".concat((0,i.default)(p),"."));var K=a(n,p.kind,y);if(K){if((S=K.call(n,p,f,h,T,v))===o)break;if(!1===S){if(!y){T.pop();continue}}else if(void 0!==S&&(d.push([f,S]),!y)){if(!(0,L.isNode)(S)){T.pop();continue}p=S}}}void 0===S&&N&&d.push([f,p]),y?T.pop():(s={inArray:c,index:l,keys:u,edits:d,prev:s},u=(c=Array.isArray(p))?p:null!==(A=t[p.kind])&&void 0!==A?A:[],l=-1,d=[],h&&v.push(h),h=p)}while(void 0!==s);return 0!==d.length&&(E=d[d.length-1][1]),E},n.visitInParallel=function(e){var n=new Array(e.length);return{enter:function(t){for(var i=0;i<e.length;i++)if(null==n[i]){var r=a(e[i],t.kind,!1);if(r){var s=r.apply(e[i],arguments);if(!1===s)n[i]=t;else if(s===o)n[i]=o;else if(void 0!==s)return s}}},leave:function(t){for(var i=0;i<e.length;i++)if(null==n[i]){var r=a(e[i],t.kind,!0);if(r){var s=r.apply(e[i],arguments);if(s===o)n[i]=o;else if(void 0!==s&&!1!==s)return s}}else n[i]===t&&(n[i]=null)}}},n.getVisitFn=a,n.BREAK=n.QueryDocumentKeys=void 0;var t,i=(t=E)&&t.__esModule?t:{default:t},r={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"]};n.QueryDocumentKeys=r;var o=Object.freeze({});function a(e,n,t){var i=e[n];if(i){if(!t&&"function"==typeof i)return i;var r=t?i.leave:i.enter;if("function"==typeof r)return r}else{var o=t?e.leave:e.enter;if(o){if("function"==typeof o)return o;var a=o[n];if("function"==typeof a)return a}}}n.BREAK=o}),B={Name:function(e){return e.value},Variable:function(e){return"$"+e.name},Document:function(e){return U(e.definitions,"\n\n")+"\n"},OperationDefinition:function(e){var n=e.operation,t=e.name,i=G("(",U(e.variableDefinitions,", "),")"),r=U(e.directives," "),o=e.selectionSet;return t||r||i||"query"!==n?U([n,U([t,i]),r,o]," "):o},VariableDefinition:function(e){var n=e.directives;return e.variable+": "+e.type+G(" = ",e.defaultValue)+G(" ",U(n," "))},SelectionSet:function(e){return Y(e.selections)},Field:function(e){var n=e.name,t=e.arguments,i=e.directives,r=e.selectionSet,o=G("",e.alias,": ")+n,a=o+G("(",U(t,", "),")");return a.length>80&&(a=o+G("(\n",J(U(t,"\n")),"\n)")),U([a,U(i," "),r]," ")},Argument:function(e){return e.name+": "+e.value},FragmentSpread:function(e){return"..."+e.name+G(" ",U(e.directives," "))},InlineFragment:function(e){var n=e.directives,t=e.selectionSet;return U(["...",G("on ",e.typeCondition),U(n," "),t]," ")},FragmentDefinition:function(e){var n=e.typeCondition,t=e.variableDefinitions,i=e.directives,r=e.selectionSet;return"fragment ".concat(e.name).concat(G("(",U(t,", "),")")," ")+"on ".concat(n," ").concat(G("",U(i," ")," "))+r},IntValue:function(e){return e.value},FloatValue:function(e){return e.value},StringValue:function(e,n){var t=e.value;return e.block?(0,C.printBlockString)(t,"description"===n?"":" "):JSON.stringify(t)},BooleanValue:function(e){return e.value?"true":"false"},NullValue:function(){return"null"},EnumValue:function(e){return e.value},ListValue:function(e){return"["+U(e.values,", ")+"]"},ObjectValue:function(e){return"{"+U(e.fields,", ")+"}"},ObjectField:function(e){return e.name+": "+e.value},Directive:function(e){return"@"+e.name+G("(",U(e.arguments,", "),")")},NamedType:function(e){return e.name},ListType:function(e){return"["+e.type+"]"},NonNullType:function(e){return e.type+"!"},SchemaDefinition:V(function(e){var n=e.operationTypes;return U(["schema",U(e.directives," "),Y(n)]," ")}),OperationTypeDefinition:function(e){return e.operation+": "+e.type},ScalarTypeDefinition:V(function(e){return U(["scalar",e.name,U(e.directives," ")]," ")}),ObjectTypeDefinition:V(function(e){var n=e.directives,t=e.fields;return U(["type",e.name,G("implements ",U(e.interfaces," & ")),U(n," "),Y(t)]," ")}),FieldDefinition:V(function(e){var n=e.arguments,t=e.type,i=e.directives;return e.name+(Q(n)?G("(\n",J(U(n,"\n")),"\n)"):G("(",U(n,", "),")"))+": "+t+G(" ",U(i," "))}),InputValueDefinition:V(function(e){var n=e.directives;return U([e.name+": "+e.type,G("= ",e.defaultValue),U(n," ")]," ")}),InterfaceTypeDefinition:V(function(e){var n=e.directives,t=e.fields;return U(["interface",e.name,G("implements ",U(e.interfaces," & ")),U(n," "),Y(t)]," ")}),UnionTypeDefinition:V(function(e){var n=e.types;return U(["union",e.name,U(e.directives," "),n&&0!==n.length?"= "+U(n," | "):""]," ")}),EnumTypeDefinition:V(function(e){var n=e.values;return U(["enum",e.name,U(e.directives," "),Y(n)]," ")}),EnumValueDefinition:V(function(e){return U([e.name,U(e.directives," ")]," ")}),InputObjectTypeDefinition:V(function(e){var n=e.fields;return U(["input",e.name,U(e.directives," "),Y(n)]," ")}),DirectiveDefinition:V(function(e){var n=e.arguments,t=e.repeatable,i=e.locations;return"directive @"+e.name+(Q(n)?G("(\n",J(U(n,"\n")),"\n)"):G("(",U(n,", "),")"))+(t?" repeatable":"")+" on "+U(i," | ")}),SchemaExtension:function(e){var n=e.operationTypes;return U(["extend schema",U(e.directives," "),Y(n)]," ")},ScalarTypeExtension:function(e){return U(["extend scalar",e.name,U(e.directives," ")]," ")},ObjectTypeExtension:function(e){var n=e.directives,t=e.fields;return U(["extend type",e.name,G("implements ",U(e.interfaces," & ")),U(n," "),Y(t)]," ")},InterfaceTypeExtension:function(e){var n=e.directives,t=e.fields;return U(["extend interface",e.name,G("implements ",U(e.interfaces," & ")),U(n," "),Y(t)]," ")},UnionTypeExtension:function(e){var n=e.types;return U(["extend union",e.name,U(e.directives," "),n&&0!==n.length?"= "+U(n," | "):""]," ")},EnumTypeExtension:function(e){var n=e.values;return U(["extend enum",e.name,U(e.directives," "),Y(n)]," ")},InputObjectTypeExtension:function(e){var n=e.fields;return U(["extend input",e.name,U(e.directives," "),Y(n)]," ")}};function V(e){return function(n){return U([n.description,e(n)],"\n")}}function U(e){var n,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return null!==(n=null==e?void 0:e.filter(function(e){return e}).join(t))&&void 0!==n?n:""}function Y(e){return G("{\n",J(U(e,"\n")),"\n}")}function G(e,n){return null!=n&&""!==n?e+n+(arguments.length>2&&void 0!==arguments[2]?arguments[2]:""):""}function J(e){return G(" ",e.replace(/\n/g,"\n "))}function X(e){return-1!==e.indexOf("\n")}function Q(e){return null!=e&&e.some(X)}var q=Object.defineProperty({print:function(e){return(0,j.visit)(e,{leave:B})}},"__esModule",{value:!0});function H(e){return e.kind===D.Kind.OPERATION_DEFINITION||e.kind===D.Kind.FRAGMENT_DEFINITION}function z(e){return e.kind===D.Kind.SCHEMA_DEFINITION||$(e)||e.kind===D.Kind.DIRECTIVE_DEFINITION}function $(e){return e.kind===D.Kind.SCALAR_TYPE_DEFINITION||e.kind===D.Kind.OBJECT_TYPE_DEFINITION||e.kind===D.Kind.INTERFACE_TYPE_DEFINITION||e.kind===D.Kind.UNION_TYPE_DEFINITION||e.kind===D.Kind.ENUM_TYPE_DEFINITION||e.kind===D.Kind.INPUT_OBJECT_TYPE_DEFINITION}function W(e){return e.kind===D.Kind.SCHEMA_EXTENSION||Z(e)}function Z(e){return e.kind===D.Kind.SCALAR_TYPE_EXTENSION||e.kind===D.Kind.OBJECT_TYPE_EXTENSION||e.kind===D.Kind.INTERFACE_TYPE_EXTENSION||e.kind===D.Kind.UNION_TYPE_EXTENSION||e.kind===D.Kind.ENUM_TYPE_EXTENSION||e.kind===D.Kind.INPUT_OBJECT_TYPE_EXTENSION}var ee=Object.defineProperty({isDefinitionNode:function(e){return H(e)||z(e)||W(e)},isExecutableDefinitionNode:H,isSelectionNode:function(e){return e.kind===D.Kind.FIELD||e.kind===D.Kind.FRAGMENT_SPREAD||e.kind===D.Kind.INLINE_FRAGMENT},isValueNode:function(e){return e.kind===D.Kind.VARIABLE||e.kind===D.Kind.INT||e.kind===D.Kind.FLOAT||e.kind===D.Kind.STRING||e.kind===D.Kind.BOOLEAN||e.kind===D.Kind.NULL||e.kind===D.Kind.ENUM||e.kind===D.Kind.LIST||e.kind===D.Kind.OBJECT},isTypeNode:function(e){return e.kind===D.Kind.NAMED_TYPE||e.kind===D.Kind.LIST_TYPE||e.kind===D.Kind.NON_NULL_TYPE},isTypeSystemDefinitionNode:z,isTypeDefinitionNode:$,isTypeSystemExtensionNode:W,isTypeExtensionNode:Z},"__esModule",{value:!0}),ne=e(function(e,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"Source",{enumerable:!0,get:function(){return b.Source}}),Object.defineProperty(n,"getLocation",{enumerable:!0,get:function(){return r.getLocation}}),Object.defineProperty(n,"printLocation",{enumerable:!0,get:function(){return u.printLocation}}),Object.defineProperty(n,"printSourceLocation",{enumerable:!0,get:function(){return u.printSourceLocation}}),Object.defineProperty(n,"Kind",{enumerable:!0,get:function(){return D.Kind}}),Object.defineProperty(n,"TokenKind",{enumerable:!0,get:function(){return x.TokenKind}}),Object.defineProperty(n,"Lexer",{enumerable:!0,get:function(){return F.Lexer}}),Object.defineProperty(n,"parse",{enumerable:!0,get:function(){return w.parse}}),Object.defineProperty(n,"parseValue",{enumerable:!0,get:function(){return w.parseValue}}),Object.defineProperty(n,"parseType",{enumerable:!0,get:function(){return w.parseType}}),Object.defineProperty(n,"print",{enumerable:!0,get:function(){return q.print}}),Object.defineProperty(n,"visit",{enumerable:!0,get:function(){return j.visit}}),Object.defineProperty(n,"visitInParallel",{enumerable:!0,get:function(){return j.visitInParallel}}),Object.defineProperty(n,"getVisitFn",{enumerable:!0,get:function(){return j.getVisitFn}}),Object.defineProperty(n,"BREAK",{enumerable:!0,get:function(){return j.BREAK}}),Object.defineProperty(n,"Location",{enumerable:!0,get:function(){return L.Location}}),Object.defineProperty(n,"Token",{enumerable:!0,get:function(){return L.Token}}),Object.defineProperty(n,"isDefinitionNode",{enumerable:!0,get:function(){return ee.isDefinitionNode}}),Object.defineProperty(n,"isExecutableDefinitionNode",{enumerable:!0,get:function(){return ee.isExecutableDefinitionNode}}),Object.defineProperty(n,"isSelectionNode",{enumerable:!0,get:function(){return ee.isSelectionNode}}),Object.defineProperty(n,"isValueNode",{enumerable:!0,get:function(){return ee.isValueNode}}),Object.defineProperty(n,"isTypeNode",{enumerable:!0,get:function(){return ee.isTypeNode}}),Object.defineProperty(n,"isTypeSystemDefinitionNode",{enumerable:!0,get:function(){return ee.isTypeSystemDefinitionNode}}),Object.defineProperty(n,"isTypeDefinitionNode",{enumerable:!0,get:function(){return ee.isTypeDefinitionNode}}),Object.defineProperty(n,"isTypeSystemExtensionNode",{enumerable:!0,get:function(){return ee.isTypeSystemExtensionNode}}),Object.defineProperty(n,"isTypeExtensionNode",{enumerable:!0,get:function(){return ee.isTypeExtensionNode}}),Object.defineProperty(n,"DirectiveLocation",{enumerable:!0,get:function(){return M.DirectiveLocation}})});const{hasPragma:te}={hasPragma:function(e){return/^\s*#[^\S\n]*@(format|prettier)\s*(\n|$)/.test(e)},insertPragma:function(e){return"# @format\n\n"+e}},{locStart:ie,locEnd:re}={locStart:function(e){return"number"==typeof e.start?e.start:e.loc&&e.loc.start},locEnd:function(e){return"number"==typeof e.end?e.end:e.loc&&e.loc.end}};function oe(e){if(e&&"object"==typeof e){delete e.startToken,delete e.endToken,delete e.prev,delete e.next;for(const n in e)oe(e[n])}return e}const ae={allowLegacySDLImplementsInterfaces:!1,experimentalFragmentVariables:!0};function se(e){const{GraphQLError:n}=O;if(e instanceof n){const{message:n,locations:[t]}=e;return function(e,n){const t=new SyntaxError(e+" ("+n.start.line+":"+n.start.column+")");return t.loc=n,t}(n,{start:t})}return e}return{parsers:{graphql:{parse:function(e){const{parse:n}=ne,{result:t,error:i}=function(...e){let n;for(const[i,r]of e.entries())try{return{result:r()}}catch(t){0===i&&(n=t)}return{error:n}}(()=>n(e,Object.assign({},ae)),()=>n(e,Object.assign({},ae,{allowLegacySDLImplementsInterfaces:!0})));if(!t)throw se(i);return t.comments=function(e){const n=[],{startToken:t}=e.loc;let{next:i}=t;for(;"<EOF>"!==i.kind;)"Comment"===i.kind&&(Object.assign(i,{column:i.column-1}),n.push(i)),i=i.next;return n}(t),oe(t),t},astFormat:"graphql",hasPragma:te,locStart:ie,locEnd:re}}}}()}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
!function(){function e(e,n){var i="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!i){if(Array.isArray(e)||(i=t(e))||n&&e&&"number"==typeof e.length){i&&(e=i);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,s=!0,c=!1;return{s:function(){i=i.call(e)},n:function(){var e=i.next();return s=e.done,e},e:function(e){c=!0,a=e},f:function(){try{s||null==i.return||i.return()}finally{if(c)throw a}}}}function n(e,n){return function(e){if(Array.isArray(e))return e}(e)||function(e,n){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==t)return;var i,r,o=[],a=!0,s=!1;try{for(t=t.call(e);!(a=(i=t.next()).done)&&(o.push(i.value),!n||o.length!==n);a=!0);}catch(c){s=!0,r=c}finally{try{a||null==t.return||t.return()}finally{if(s)throw r}}return o}(e,n)||t(e,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function t(e,n){if(e){if("string"==typeof e)return i(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?i(e,n):void 0}}function i(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,i=new Array(n);t<n;t++)i[t]=e[t];return i}(self.webpackChunkaltair_app=self.webpackChunkaltair_app||[]).push([[108],{52108:function(t){t.exports=function(){"use strict";function t(e){var n={exports:{}};return e(n,n.exports),n.exports}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)}var r=Object.defineProperty({default:function(e){return"object"==i(e)&&null!==e}},"__esModule",{value:!0}),o=t(function(e,n){Object.defineProperty(n,"__esModule",{value:!0}),n.SYMBOL_TO_STRING_TAG=n.SYMBOL_ASYNC_ITERATOR=n.SYMBOL_ITERATOR=void 0;var t="function"==typeof Symbol&&null!=Symbol.iterator?Symbol.iterator:"@@iterator";n.SYMBOL_ITERATOR=t;var i="function"==typeof Symbol&&null!=Symbol.asyncIterator?Symbol.asyncIterator:"@@asyncIterator";n.SYMBOL_ASYNC_ITERATOR=i;var r="function"==typeof Symbol&&null!=Symbol.toStringTag?Symbol.toStringTag:"@@toStringTag";n.SYMBOL_TO_STRING_TAG=r}),a=Object.defineProperty({getLocation:function(e,n){for(var t,i=/\r\n|[\n\r]/g,r=1,o=n+1;(t=i.exec(e.body))&&t.index<n;)r+=1,o=n+1-(t.index+t[0].length);return{line:r,column:o}}},"__esModule",{value:!0});function s(e,n){var t=e.locationOffset.column-1,i=u(t)+e.body,r=n.line-1,o=n.line+(e.locationOffset.line-1),a=n.column+(1===n.line?t:0),s="".concat(e.name,":").concat(o,":").concat(a,"\n"),l=i.split(/\r\n|[\n\r]/g),d=l[r];if(d.length>120){for(var p=Math.floor(a/80),f=a%80,h=[],T=0;T<d.length;T+=80)h.push(d.slice(T,T+80));return s+c([["".concat(o),h[0]]].concat(h.slice(1,p+1).map(function(e){return["",e]}),[[" ",u(f-1)+"^"],["",h[p+1]]]))}return s+c([["".concat(o-1),l[r-1]],["".concat(o),d],["",u(a-1)+"^"],["".concat(o+1),l[r+1]]])}function c(e){var n=e.filter(function(e){return void 0!==e[1]}),t=Math.max.apply(Math,n.map(function(e){return e[0].length}));return n.map(function(e){var n,i=e[1];return u(t-(n=e[0]).length)+n+(i?" | "+i:" |")}).join("\n")}function u(e){return Array(e+1).join(" ")}var l,d=Object.defineProperty({printLocation:function(e){return s(e.source,(0,a.getLocation)(e.source,e.start))},printSourceLocation:s},"__esModule",{value:!0}),p=t(function(e,n){function t(e){return(t="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)}Object.defineProperty(n,"__esModule",{value:!0}),n.printError=E,n.GraphQLError=void 0;var i,s=(i=r)&&i.__esModule?i:{default:i};function c(e,n){return!n||"object"!==t(n)&&"function"!=typeof n?u(e):n}function u(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function l(e){var n="function"==typeof Map?new Map:void 0;return(l=function(e){if(null===e||-1===Function.toString.call(e).indexOf("[native code]"))return e;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==n){if(n.has(e))return n.get(e);n.set(e,t)}function t(){return p(e,arguments,T(this).constructor)}return t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),h(t,e)})(e)}function p(e,n,t){return(p=f()?Reflect.construct:function(e,n,t){var i=[null];i.push.apply(i,n);var r=new(Function.bind.apply(e,i));return t&&h(r,t.prototype),r}).apply(null,arguments)}function f(){if("undefined"==typeof Reflect||!Reflect.construct||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,n){return(h=Object.setPrototypeOf||function(e,n){return e.__proto__=n,e})(e,n)}function T(e){return(T=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var v=function(e){!function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),n&&h(e,n)}(d,e);var n,t,i,r,l=(n=d,t=f(),function(){var e,i=T(n);if(t){var r=T(this).constructor;e=Reflect.construct(i,arguments,r)}else e=i.apply(this,arguments);return c(this,e)});function d(e,n,t,i,r,o,p){var f,h,T,v,E;(function(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")})(this,d),E=l.call(this,e);var y,m=Array.isArray(n)?0!==n.length?n:void 0:n?[n]:void 0,N=t;!N&&m&&(N=null===(y=m[0].loc)||void 0===y?void 0:y.source);var k,_=i;!_&&m&&(_=m.reduce(function(e,n){return n.loc&&e.push(n.loc.start),e},[])),_&&0===_.length&&(_=void 0),i&&t?k=i.map(function(e){return(0,a.getLocation)(t,e)}):m&&(k=m.reduce(function(e,n){return n.loc&&e.push((0,a.getLocation)(n.loc.source,n.loc.start)),e},[]));var O=p;if(null==O&&null!=o){var I=o.extensions;(0,s.default)(I)&&(O=I)}return Object.defineProperties(u(E),{name:{value:"GraphQLError"},message:{value:e,enumerable:!0,writable:!0},locations:{value:null!==(f=k)&&void 0!==f?f:void 0,enumerable:null!=k},path:{value:null!=r?r:void 0,enumerable:null!=r},nodes:{value:null!=m?m:void 0},source:{value:null!==(h=N)&&void 0!==h?h:void 0},positions:{value:null!==(T=_)&&void 0!==T?T:void 0},originalError:{value:o},extensions:{value:null!==(v=O)&&void 0!==v?v:void 0,enumerable:null!=O}}),null!=o&&o.stack?(Object.defineProperty(u(E),"stack",{value:o.stack,writable:!0,configurable:!0}),c(E)):(Error.captureStackTrace?Error.captureStackTrace(u(E),d):Object.defineProperty(u(E),"stack",{value:Error().stack,writable:!0,configurable:!0}),E)}return i=d,(r=[{key:"toString",value:function(){return E(this)}},{key:o.SYMBOL_TO_STRING_TAG,get:function(){return"Object"}}])&&function(e,n){for(var t=0;t<n.length;t++){var i=n[t];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}(i.prototype,r),d}(l(Error));function E(e){var n=e.message;if(e.nodes)for(var t=0,i=e.nodes;t<i.length;t++){var r=i[t];r.loc&&(n+="\n\n"+(0,d.printLocation)(r.loc))}else if(e.source&&e.locations)for(var o=0,a=e.locations;o<a.length;o++)n+="\n\n"+(0,d.printSourceLocation)(e.source,a[o]);return n}n.GraphQLError=v}),f=Object.defineProperty({syntaxError:function(e,n,t){return new p.GraphQLError("Syntax Error: ".concat(t),void 0,e,[n])}},"__esModule",{value:!0}),h=t(function(e,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var t="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):void 0;n.default=t}),T=(l=h)&&l.__esModule?l:{default:l};function v(e){return(v="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 E(e,n){switch(v(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,n){if(-1!==n.indexOf(e))return"[Circular]";var t,i,r=[].concat(n,[e]),o="function"==typeof(i=(t=e)[String(T.default)])?i:"function"==typeof t.inspect?t.inspect:void 0;if(void 0!==o){var a=o.call(e);if(a!==e)return"string"==typeof a?a:E(a,r)}else if(Array.isArray(e))return function(e,n){if(0===e.length)return"[]";if(n.length>2)return"[Array]";for(var t=Math.min(10,e.length),i=e.length-t,r=[],o=0;o<t;++o)r.push(E(e[o],n));return 1===i?r.push("... 1 more item"):i>1&&r.push("... ".concat(i," more items")),"["+r.join(", ")+"]"}(e,r);return function(e,n){var t=Object.keys(e);return 0===t.length?"{}":n.length>2?"["+function(e){var n=Object.prototype.toString.call(e).replace(/^\[object /,"").replace(/]$/,"");if("Object"===n&&"function"==typeof e.constructor){var t=e.constructor.name;if("string"==typeof t&&""!==t)return t}return n}(e)+"]":"{ "+t.map(function(t){return t+": "+E(e[t],n)}).join(", ")+" }"}(e,r)}(e,n);default:return String(e)}}var y,m=Object.defineProperty({default:function(e){return E(e,[])}},"__esModule",{value:!0}),N=(y=m)&&y.__esModule?y:{default:y},k=Object.defineProperty({locatedError:function(e,n,t){var i,r=e instanceof Error?e:new Error("Unexpected error value: "+(0,N.default)(e));return Array.isArray(r.path)?r:new p.GraphQLError(r.message,null!==(i=r.nodes)&&void 0!==i?i:n,r.source,r.positions,t,r)}},"__esModule",{value:!0}),_=Object.defineProperty({default:function(e,n){if(!Boolean(e))throw new Error(n)}},"__esModule",{value:!0}),O=function(e){return e&&e.__esModule?e:{default:e}}(_),I=Object.defineProperty({formatError:function(e){var n;e||(0,O.default)(0,"Received null or undefined error.");var t=null!==(n=e.message)&&void 0!==n?n:"An unknown error occurred.",i=e.locations,r=e.path,o=e.extensions;return o?{message:t,locations:i,path:r,extensions:o}:{message:t,locations:i,path:r}}},"__esModule",{value:!0}),b=t(function(e,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"GraphQLError",{enumerable:!0,get:function(){return p.GraphQLError}}),Object.defineProperty(n,"printError",{enumerable:!0,get:function(){return p.printError}}),Object.defineProperty(n,"syntaxError",{enumerable:!0,get:function(){return f.syntaxError}}),Object.defineProperty(n,"locatedError",{enumerable:!0,get:function(){return k.locatedError}}),Object.defineProperty(n,"formatError",{enumerable:!0,get:function(){return I.formatError}})}),A=t(function(e,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0,n.default=function(e,n){return e instanceof n}}),D=t(function(e,n){Object.defineProperty(n,"__esModule",{value:!0}),n.isSource=function(e){return(0,r.default)(e,s)},n.Source=void 0;var t=a(m),i=a(_),r=a(A);function a(e){return e&&e.__esModule?e:{default:e}}var s=function(){function e(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"GraphQL request",r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{line:1,column:1};"string"==typeof e||(0,i.default)(0,"Body must be a string. Received: ".concat((0,t.default)(e),".")),this.body=e,this.name=n,this.locationOffset=r,this.locationOffset.line>0||(0,i.default)(0,"line in locationOffset is 1-indexed and must be positive."),this.locationOffset.column>0||(0,i.default)(0,"column in locationOffset is 1-indexed and must be positive.")}var n,r;return n=e,(r=[{key:o.SYMBOL_TO_STRING_TAG,get:function(){return"Source"}}])&&function(e,n){for(var t=0;t<n.length;t++){var i=n[t];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}(n.prototype,r),e}();n.Source=s}),x=t(function(e,n){Object.defineProperty(n,"__esModule",{value:!0}),n.Kind=void 0;var t=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"});n.Kind=t}),S=t(function(e,n){Object.defineProperty(n,"__esModule",{value:!0}),n.TokenKind=void 0;var t=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"});n.TokenKind=t}),K=L(Object.defineProperty({default:function(e,n){if(!Boolean(e))throw new Error(null!=n?n:"Unexpected invariant triggered.")}},"__esModule",{value:!0})),g=L(h);function L(e){return e&&e.__esModule?e:{default:e}}var R=Object.defineProperty({default:function(e){var n=e.prototype.toJSON;"function"==typeof n||(0,K.default)(0),e.prototype.inspect=n,g.default&&(e.prototype[g.default]=n)}},"__esModule",{value:!0}),P=t(function(e,n){Object.defineProperty(n,"__esModule",{value:!0}),n.isNode=function(e){return null!=e&&"string"==typeof e.kind},n.Token=n.Location=void 0;var t,i=(t=R)&&t.__esModule?t:{default:t},r=function(){function e(e,n,t){this.start=e.start,this.end=n.end,this.startToken=e,this.endToken=n,this.source=t}return e.prototype.toJSON=function(){return{start:this.start,end:this.end}},e}();n.Location=r,(0,i.default)(r);var o=function(){function e(e,n,t,i,r,o,a){this.kind=e,this.start=n,this.end=t,this.line=i,this.column=r,this.value=a,this.prev=o,this.next=null}return e.prototype.toJSON=function(){return{kind:this.kind,value:this.value,line:this.line,column:this.column}},e}();n.Token=o,(0,i.default)(o)});function C(e){for(var n=0;n<e.length;++n)if(" "!==e[n]&&"\t"!==e[n])return!1;return!0}function F(e){for(var n,t=!0,i=!0,r=0,o=null,a=0;a<e.length;++a)switch(e.charCodeAt(a)){case 13:10===e.charCodeAt(a+1)&&++a;case 10:t=!1,i=!0,r=0;break;case 9:case 32:++r;break;default:i&&!t&&(null===o||r<o)&&(o=r),i=!1}return null!==(n=o)&&void 0!==n?n:0}var w=Object.defineProperty({dedentBlockStringValue:function(e){var n=e.split(/\r\n|[\n\r]/g),t=F(e);if(0!==t)for(var i=1;i<n.length;i++)n[i]=n[i].slice(t);for(var r=0;r<n.length&&C(n[r]);)++r;for(var o=n.length;o>r&&C(n[o-1]);)--o;return n.slice(r,o).join("\n")},getBlockStringIndentation:F,printBlockString:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",t=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=-1===e.indexOf("\n"),r=!i||'"'===e[e.length-1]||"\\"===e[e.length-1]||t,o="";return!r||i&&(" "===e[0]||"\t"===e[0])||(o+="\n"+n),o+=n?e.replace(/\n/g,"\n"+n):e,r&&(o+="\n"),'"""'+o.replace(/"""/g,'\\"""')+'"""'}},"__esModule",{value:!0}),M=t(function(e,n){Object.defineProperty(n,"__esModule",{value:!0}),n.isPunctuatorTokenKind=function(e){return e===S.TokenKind.BANG||e===S.TokenKind.DOLLAR||e===S.TokenKind.AMP||e===S.TokenKind.PAREN_L||e===S.TokenKind.PAREN_R||e===S.TokenKind.SPREAD||e===S.TokenKind.COLON||e===S.TokenKind.EQUALS||e===S.TokenKind.AT||e===S.TokenKind.BRACKET_L||e===S.TokenKind.BRACKET_R||e===S.TokenKind.BRACE_L||e===S.TokenKind.PIPE||e===S.TokenKind.BRACE_R},n.Lexer=void 0;var t=function(){function e(e){var n=new P.Token(S.TokenKind.SOF,0,0,0,0,null);this.source=e,this.lastToken=n,this.token=n,this.line=1,this.lineStart=0}var n=e.prototype;return n.advance=function(){return this.lastToken=this.token,this.token=this.lookahead()},n.lookahead=function(){var e=this.token;if(e.kind!==S.TokenKind.EOF)do{var n;e=null!==(n=e.next)&&void 0!==n?n:e.next=r(this,e)}while(e.kind===S.TokenKind.COMMENT);return e},e}();function i(e){return isNaN(e)?S.TokenKind.EOF:e<127?JSON.stringify(String.fromCharCode(e)):'"\\u'.concat(("00"+e.toString(16).toUpperCase()).slice(-4),'"')}function r(e,n){for(var t=e.source,i=t.body,r=i.length,c=n.end;c<r;){var d=i.charCodeAt(c),h=e.line,T=1+c-e.lineStart;switch(d){case 65279:case 9:case 32:case 44:++c;continue;case 10:++c,++e.line,e.lineStart=c;continue;case 13:10===i.charCodeAt(c+1)?c+=2:++c,++e.line,e.lineStart=c;continue;case 33:return new P.Token(S.TokenKind.BANG,c,c+1,h,T,n);case 35:return a(t,c,h,T,n);case 36:return new P.Token(S.TokenKind.DOLLAR,c,c+1,h,T,n);case 38:return new P.Token(S.TokenKind.AMP,c,c+1,h,T,n);case 40:return new P.Token(S.TokenKind.PAREN_L,c,c+1,h,T,n);case 41:return new P.Token(S.TokenKind.PAREN_R,c,c+1,h,T,n);case 46:if(46===i.charCodeAt(c+1)&&46===i.charCodeAt(c+2))return new P.Token(S.TokenKind.SPREAD,c,c+3,h,T,n);break;case 58:return new P.Token(S.TokenKind.COLON,c,c+1,h,T,n);case 61:return new P.Token(S.TokenKind.EQUALS,c,c+1,h,T,n);case 64:return new P.Token(S.TokenKind.AT,c,c+1,h,T,n);case 91:return new P.Token(S.TokenKind.BRACKET_L,c,c+1,h,T,n);case 93:return new P.Token(S.TokenKind.BRACKET_R,c,c+1,h,T,n);case 123:return new P.Token(S.TokenKind.BRACE_L,c,c+1,h,T,n);case 124:return new P.Token(S.TokenKind.PIPE,c,c+1,h,T,n);case 125:return new P.Token(S.TokenKind.BRACE_R,c,c+1,h,T,n);case 34:return 34===i.charCodeAt(c+1)&&34===i.charCodeAt(c+2)?l(t,c,h,T,n,e):u(t,c,h,T,n);case 45:case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return s(t,c,d,h,T,n);case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:case 95:case 97:case 98:case 99:case 100:case 101:case 102:case 103:case 104:case 105:case 106:case 107:case 108:case 109:case 110:case 111:case 112:case 113:case 114:case 115:case 116:case 117:case 118:case 119:case 120:case 121:case 122:return p(t,c,h,T,n)}throw(0,f.syntaxError)(t,c,o(d))}return new P.Token(S.TokenKind.EOF,r,r,e.line,1+c-e.lineStart,n)}function o(e){return e<32&&9!==e&&10!==e&&13!==e?"Cannot contain the invalid character ".concat(i(e),"."):39===e?"Unexpected single quote character ('), did you mean to use a double quote (\")?":"Cannot parse the unexpected character ".concat(i(e),".")}function a(e,n,t,i,r){var o,a=e.body,s=n;do{o=a.charCodeAt(++s)}while(!isNaN(o)&&(o>31||9===o));return new P.Token(S.TokenKind.COMMENT,n,s,t,i,r,a.slice(n+1,s))}function s(e,n,t,r,o,a){var s,u=e.body,l=t,d=n,p=!1;if(45===l&&(l=u.charCodeAt(++d)),48===l){if((l=u.charCodeAt(++d))>=48&&l<=57)throw(0,f.syntaxError)(e,d,"Invalid number, unexpected digit after 0: ".concat(i(l),"."))}else d=c(e,d,l),l=u.charCodeAt(d);if(46===l&&(p=!0,l=u.charCodeAt(++d),d=c(e,d,l),l=u.charCodeAt(d)),69!==l&&101!==l||(p=!0,43!==(l=u.charCodeAt(++d))&&45!==l||(l=u.charCodeAt(++d)),d=c(e,d,l),l=u.charCodeAt(d)),46===l||95===(s=l)||s>=65&&s<=90||s>=97&&s<=122)throw(0,f.syntaxError)(e,d,"Invalid number, expected digit but got: ".concat(i(l),"."));return new P.Token(p?S.TokenKind.FLOAT:S.TokenKind.INT,n,d,r,o,a,u.slice(n,d))}function c(e,n,t){var r=e.body,o=n,a=t;if(a>=48&&a<=57){do{a=r.charCodeAt(++o)}while(a>=48&&a<=57);return o}throw(0,f.syntaxError)(e,o,"Invalid number, expected digit but got: ".concat(i(a),"."))}function u(e,n,t,r,o){for(var a,s,c,u,l=e.body,p=n+1,h=p,T=0,v="";p<l.length&&!isNaN(T=l.charCodeAt(p))&&10!==T&&13!==T;){if(34===T)return v+=l.slice(h,p),new P.Token(S.TokenKind.STRING,n,p+1,t,r,o,v);if(T<32&&9!==T)throw(0,f.syntaxError)(e,p,"Invalid character within String: ".concat(i(T),"."));if(++p,92===T){switch(v+=l.slice(h,p-1),T=l.charCodeAt(p)){case 34:v+='"';break;case 47:v+="/";break;case 92:v+="\\";break;case 98:v+="\b";break;case 102:v+="\f";break;case 110:v+="\n";break;case 114:v+="\r";break;case 116:v+="\t";break;case 117:var E=(a=l.charCodeAt(p+1),s=l.charCodeAt(p+2),c=l.charCodeAt(p+3),u=l.charCodeAt(p+4),d(a)<<12|d(s)<<8|d(c)<<4|d(u));if(E<0){var y=l.slice(p+1,p+5);throw(0,f.syntaxError)(e,p,"Invalid character escape sequence: \\u".concat(y,"."))}v+=String.fromCharCode(E),p+=4;break;default:throw(0,f.syntaxError)(e,p,"Invalid character escape sequence: \\".concat(String.fromCharCode(T),"."))}h=++p}}throw(0,f.syntaxError)(e,p,"Unterminated string.")}function l(e,n,t,r,o,a){for(var s=e.body,c=n+3,u=c,l=0,d="";c<s.length&&!isNaN(l=s.charCodeAt(c));){if(34===l&&34===s.charCodeAt(c+1)&&34===s.charCodeAt(c+2))return d+=s.slice(u,c),new P.Token(S.TokenKind.BLOCK_STRING,n,c+3,t,r,o,(0,w.dedentBlockStringValue)(d));if(l<32&&9!==l&&10!==l&&13!==l)throw(0,f.syntaxError)(e,c,"Invalid character within String: ".concat(i(l),"."));10===l?(++c,++a.line,a.lineStart=c):13===l?(10===s.charCodeAt(c+1)?c+=2:++c,++a.line,a.lineStart=c):92===l&&34===s.charCodeAt(c+1)&&34===s.charCodeAt(c+2)&&34===s.charCodeAt(c+3)?(d+=s.slice(u,c)+'"""',u=c+=4):++c}throw(0,f.syntaxError)(e,c,"Unterminated string.")}function d(e){return e>=48&&e<=57?e-48:e>=65&&e<=70?e-55:e>=97&&e<=102?e-87:-1}function p(e,n,t,i,r){for(var o=e.body,a=o.length,s=n+1,c=0;s!==a&&!isNaN(c=o.charCodeAt(s))&&(95===c||c>=48&&c<=57||c>=65&&c<=90||c>=97&&c<=122);)++s;return new P.Token(S.TokenKind.NAME,n,s,t,i,r,o.slice(n,s))}n.Lexer=t}),j=t(function(e,n){Object.defineProperty(n,"__esModule",{value:!0}),n.DirectiveLocation=void 0;var t=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"});n.DirectiveLocation=t}),B=t(function(e,n){Object.defineProperty(n,"__esModule",{value:!0}),n.parse=function(e,n){return new t(e,n).parseDocument()},n.parseValue=function(e,n){var i=new t(e,n);i.expectToken(S.TokenKind.SOF);var r=i.parseValueLiteral(!1);return i.expectToken(S.TokenKind.EOF),r},n.parseType=function(e,n){var i=new t(e,n);i.expectToken(S.TokenKind.SOF);var r=i.parseTypeReference();return i.expectToken(S.TokenKind.EOF),r},n.Parser=void 0;var t=function(){function e(e,n){var t=(0,D.isSource)(e)?e:new D.Source(e);this._lexer=new M.Lexer(t),this._options=n}var n=e.prototype;return n.parseName=function(){var e=this.expectToken(S.TokenKind.NAME);return{kind:x.Kind.NAME,value:e.value,loc:this.loc(e)}},n.parseDocument=function(){var e=this._lexer.token;return{kind:x.Kind.DOCUMENT,definitions:this.many(S.TokenKind.SOF,this.parseDefinition,S.TokenKind.EOF),loc:this.loc(e)}},n.parseDefinition=function(){if(this.peek(S.TokenKind.NAME))switch(this._lexer.token.value){case"query":case"mutation":case"subscription":return this.parseOperationDefinition();case"fragment":return this.parseFragmentDefinition();case"schema":case"scalar":case"type":case"interface":case"union":case"enum":case"input":case"directive":return this.parseTypeSystemDefinition();case"extend":return this.parseTypeSystemExtension()}else{if(this.peek(S.TokenKind.BRACE_L))return this.parseOperationDefinition();if(this.peekDescription())return this.parseTypeSystemDefinition()}throw this.unexpected()},n.parseOperationDefinition=function(){var e=this._lexer.token;if(this.peek(S.TokenKind.BRACE_L))return{kind:x.Kind.OPERATION_DEFINITION,operation:"query",name:void 0,variableDefinitions:[],directives:[],selectionSet:this.parseSelectionSet(),loc:this.loc(e)};var n,t=this.parseOperationType();return this.peek(S.TokenKind.NAME)&&(n=this.parseName()),{kind:x.Kind.OPERATION_DEFINITION,operation:t,name:n,variableDefinitions:this.parseVariableDefinitions(),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(e)}},n.parseOperationType=function(){var e=this.expectToken(S.TokenKind.NAME);switch(e.value){case"query":return"query";case"mutation":return"mutation";case"subscription":return"subscription"}throw this.unexpected(e)},n.parseVariableDefinitions=function(){return this.optionalMany(S.TokenKind.PAREN_L,this.parseVariableDefinition,S.TokenKind.PAREN_R)},n.parseVariableDefinition=function(){var e=this._lexer.token;return{kind:x.Kind.VARIABLE_DEFINITION,variable:this.parseVariable(),type:(this.expectToken(S.TokenKind.COLON),this.parseTypeReference()),defaultValue:this.expectOptionalToken(S.TokenKind.EQUALS)?this.parseValueLiteral(!0):void 0,directives:this.parseDirectives(!0),loc:this.loc(e)}},n.parseVariable=function(){var e=this._lexer.token;return this.expectToken(S.TokenKind.DOLLAR),{kind:x.Kind.VARIABLE,name:this.parseName(),loc:this.loc(e)}},n.parseSelectionSet=function(){var e=this._lexer.token;return{kind:x.Kind.SELECTION_SET,selections:this.many(S.TokenKind.BRACE_L,this.parseSelection,S.TokenKind.BRACE_R),loc:this.loc(e)}},n.parseSelection=function(){return this.peek(S.TokenKind.SPREAD)?this.parseFragment():this.parseField()},n.parseField=function(){var e,n,t=this._lexer.token,i=this.parseName();return this.expectOptionalToken(S.TokenKind.COLON)?(e=i,n=this.parseName()):n=i,{kind:x.Kind.FIELD,alias:e,name:n,arguments:this.parseArguments(!1),directives:this.parseDirectives(!1),selectionSet:this.peek(S.TokenKind.BRACE_L)?this.parseSelectionSet():void 0,loc:this.loc(t)}},n.parseArguments=function(e){return this.optionalMany(S.TokenKind.PAREN_L,e?this.parseConstArgument:this.parseArgument,S.TokenKind.PAREN_R)},n.parseArgument=function(){var e=this._lexer.token,n=this.parseName();return this.expectToken(S.TokenKind.COLON),{kind:x.Kind.ARGUMENT,name:n,value:this.parseValueLiteral(!1),loc:this.loc(e)}},n.parseConstArgument=function(){var e=this._lexer.token;return{kind:x.Kind.ARGUMENT,name:this.parseName(),value:(this.expectToken(S.TokenKind.COLON),this.parseValueLiteral(!0)),loc:this.loc(e)}},n.parseFragment=function(){var e=this._lexer.token;this.expectToken(S.TokenKind.SPREAD);var n=this.expectOptionalKeyword("on");return!n&&this.peek(S.TokenKind.NAME)?{kind:x.Kind.FRAGMENT_SPREAD,name:this.parseFragmentName(),directives:this.parseDirectives(!1),loc:this.loc(e)}:{kind:x.Kind.INLINE_FRAGMENT,typeCondition:n?this.parseNamedType():void 0,directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(e)}},n.parseFragmentDefinition=function(){var e,n=this._lexer.token;return this.expectKeyword("fragment"),!0===(null===(e=this._options)||void 0===e?void 0:e.experimentalFragmentVariables)?{kind:x.Kind.FRAGMENT_DEFINITION,name:this.parseFragmentName(),variableDefinitions:this.parseVariableDefinitions(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(n)}:{kind:x.Kind.FRAGMENT_DEFINITION,name:this.parseFragmentName(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(n)}},n.parseFragmentName=function(){if("on"===this._lexer.token.value)throw this.unexpected();return this.parseName()},n.parseValueLiteral=function(e){var n=this._lexer.token;switch(n.kind){case S.TokenKind.BRACKET_L:return this.parseList(e);case S.TokenKind.BRACE_L:return this.parseObject(e);case S.TokenKind.INT:return this._lexer.advance(),{kind:x.Kind.INT,value:n.value,loc:this.loc(n)};case S.TokenKind.FLOAT:return this._lexer.advance(),{kind:x.Kind.FLOAT,value:n.value,loc:this.loc(n)};case S.TokenKind.STRING:case S.TokenKind.BLOCK_STRING:return this.parseStringLiteral();case S.TokenKind.NAME:switch(this._lexer.advance(),n.value){case"true":return{kind:x.Kind.BOOLEAN,value:!0,loc:this.loc(n)};case"false":return{kind:x.Kind.BOOLEAN,value:!1,loc:this.loc(n)};case"null":return{kind:x.Kind.NULL,loc:this.loc(n)};default:return{kind:x.Kind.ENUM,value:n.value,loc:this.loc(n)}}case S.TokenKind.DOLLAR:if(!e)return this.parseVariable()}throw this.unexpected()},n.parseStringLiteral=function(){var e=this._lexer.token;return this._lexer.advance(),{kind:x.Kind.STRING,value:e.value,block:e.kind===S.TokenKind.BLOCK_STRING,loc:this.loc(e)}},n.parseList=function(e){var n=this,t=this._lexer.token;return{kind:x.Kind.LIST,values:this.any(S.TokenKind.BRACKET_L,function(){return n.parseValueLiteral(e)},S.TokenKind.BRACKET_R),loc:this.loc(t)}},n.parseObject=function(e){var n=this,t=this._lexer.token;return{kind:x.Kind.OBJECT,fields:this.any(S.TokenKind.BRACE_L,function(){return n.parseObjectField(e)},S.TokenKind.BRACE_R),loc:this.loc(t)}},n.parseObjectField=function(e){var n=this._lexer.token,t=this.parseName();return this.expectToken(S.TokenKind.COLON),{kind:x.Kind.OBJECT_FIELD,name:t,value:this.parseValueLiteral(e),loc:this.loc(n)}},n.parseDirectives=function(e){for(var n=[];this.peek(S.TokenKind.AT);)n.push(this.parseDirective(e));return n},n.parseDirective=function(e){var n=this._lexer.token;return this.expectToken(S.TokenKind.AT),{kind:x.Kind.DIRECTIVE,name:this.parseName(),arguments:this.parseArguments(e),loc:this.loc(n)}},n.parseTypeReference=function(){var e,n=this._lexer.token;return this.expectOptionalToken(S.TokenKind.BRACKET_L)?(e=this.parseTypeReference(),this.expectToken(S.TokenKind.BRACKET_R),e={kind:x.Kind.LIST_TYPE,type:e,loc:this.loc(n)}):e=this.parseNamedType(),this.expectOptionalToken(S.TokenKind.BANG)?{kind:x.Kind.NON_NULL_TYPE,type:e,loc:this.loc(n)}:e},n.parseNamedType=function(){var e=this._lexer.token;return{kind:x.Kind.NAMED_TYPE,name:this.parseName(),loc:this.loc(e)}},n.parseTypeSystemDefinition=function(){var e=this.peekDescription()?this._lexer.lookahead():this._lexer.token;if(e.kind===S.TokenKind.NAME)switch(e.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()}throw this.unexpected(e)},n.peekDescription=function(){return this.peek(S.TokenKind.STRING)||this.peek(S.TokenKind.BLOCK_STRING)},n.parseDescription=function(){if(this.peekDescription())return this.parseStringLiteral()},n.parseSchemaDefinition=function(){var e=this._lexer.token,n=this.parseDescription();this.expectKeyword("schema");var t=this.parseDirectives(!0),i=this.many(S.TokenKind.BRACE_L,this.parseOperationTypeDefinition,S.TokenKind.BRACE_R);return{kind:x.Kind.SCHEMA_DEFINITION,description:n,directives:t,operationTypes:i,loc:this.loc(e)}},n.parseOperationTypeDefinition=function(){var e=this._lexer.token,n=this.parseOperationType();this.expectToken(S.TokenKind.COLON);var t=this.parseNamedType();return{kind:x.Kind.OPERATION_TYPE_DEFINITION,operation:n,type:t,loc:this.loc(e)}},n.parseScalarTypeDefinition=function(){var e=this._lexer.token,n=this.parseDescription();this.expectKeyword("scalar");var t=this.parseName(),i=this.parseDirectives(!0);return{kind:x.Kind.SCALAR_TYPE_DEFINITION,description:n,name:t,directives:i,loc:this.loc(e)}},n.parseObjectTypeDefinition=function(){var e=this._lexer.token,n=this.parseDescription();this.expectKeyword("type");var t=this.parseName(),i=this.parseImplementsInterfaces(),r=this.parseDirectives(!0),o=this.parseFieldsDefinition();return{kind:x.Kind.OBJECT_TYPE_DEFINITION,description:n,name:t,interfaces:i,directives:r,fields:o,loc:this.loc(e)}},n.parseImplementsInterfaces=function(){var e;if(!this.expectOptionalKeyword("implements"))return[];if(!0===(null===(e=this._options)||void 0===e?void 0:e.allowLegacySDLImplementsInterfaces)){var n=[];this.expectOptionalToken(S.TokenKind.AMP);do{n.push(this.parseNamedType())}while(this.expectOptionalToken(S.TokenKind.AMP)||this.peek(S.TokenKind.NAME));return n}return this.delimitedMany(S.TokenKind.AMP,this.parseNamedType)},n.parseFieldsDefinition=function(){var e;return!0===(null===(e=this._options)||void 0===e?void 0:e.allowLegacySDLEmptyFields)&&this.peek(S.TokenKind.BRACE_L)&&this._lexer.lookahead().kind===S.TokenKind.BRACE_R?(this._lexer.advance(),this._lexer.advance(),[]):this.optionalMany(S.TokenKind.BRACE_L,this.parseFieldDefinition,S.TokenKind.BRACE_R)},n.parseFieldDefinition=function(){var e=this._lexer.token,n=this.parseDescription(),t=this.parseName(),i=this.parseArgumentDefs();this.expectToken(S.TokenKind.COLON);var r=this.parseTypeReference(),o=this.parseDirectives(!0);return{kind:x.Kind.FIELD_DEFINITION,description:n,name:t,arguments:i,type:r,directives:o,loc:this.loc(e)}},n.parseArgumentDefs=function(){return this.optionalMany(S.TokenKind.PAREN_L,this.parseInputValueDef,S.TokenKind.PAREN_R)},n.parseInputValueDef=function(){var e=this._lexer.token,n=this.parseDescription(),t=this.parseName();this.expectToken(S.TokenKind.COLON);var i,r=this.parseTypeReference();this.expectOptionalToken(S.TokenKind.EQUALS)&&(i=this.parseValueLiteral(!0));var o=this.parseDirectives(!0);return{kind:x.Kind.INPUT_VALUE_DEFINITION,description:n,name:t,type:r,defaultValue:i,directives:o,loc:this.loc(e)}},n.parseInterfaceTypeDefinition=function(){var e=this._lexer.token,n=this.parseDescription();this.expectKeyword("interface");var t=this.parseName(),i=this.parseImplementsInterfaces(),r=this.parseDirectives(!0),o=this.parseFieldsDefinition();return{kind:x.Kind.INTERFACE_TYPE_DEFINITION,description:n,name:t,interfaces:i,directives:r,fields:o,loc:this.loc(e)}},n.parseUnionTypeDefinition=function(){var e=this._lexer.token,n=this.parseDescription();this.expectKeyword("union");var t=this.parseName(),i=this.parseDirectives(!0),r=this.parseUnionMemberTypes();return{kind:x.Kind.UNION_TYPE_DEFINITION,description:n,name:t,directives:i,types:r,loc:this.loc(e)}},n.parseUnionMemberTypes=function(){return this.expectOptionalToken(S.TokenKind.EQUALS)?this.delimitedMany(S.TokenKind.PIPE,this.parseNamedType):[]},n.parseEnumTypeDefinition=function(){var e=this._lexer.token,n=this.parseDescription();this.expectKeyword("enum");var t=this.parseName(),i=this.parseDirectives(!0),r=this.parseEnumValuesDefinition();return{kind:x.Kind.ENUM_TYPE_DEFINITION,description:n,name:t,directives:i,values:r,loc:this.loc(e)}},n.parseEnumValuesDefinition=function(){return this.optionalMany(S.TokenKind.BRACE_L,this.parseEnumValueDefinition,S.TokenKind.BRACE_R)},n.parseEnumValueDefinition=function(){var e=this._lexer.token,n=this.parseDescription(),t=this.parseName(),i=this.parseDirectives(!0);return{kind:x.Kind.ENUM_VALUE_DEFINITION,description:n,name:t,directives:i,loc:this.loc(e)}},n.parseInputObjectTypeDefinition=function(){var e=this._lexer.token,n=this.parseDescription();this.expectKeyword("input");var t=this.parseName(),i=this.parseDirectives(!0),r=this.parseInputFieldsDefinition();return{kind:x.Kind.INPUT_OBJECT_TYPE_DEFINITION,description:n,name:t,directives:i,fields:r,loc:this.loc(e)}},n.parseInputFieldsDefinition=function(){return this.optionalMany(S.TokenKind.BRACE_L,this.parseInputValueDef,S.TokenKind.BRACE_R)},n.parseTypeSystemExtension=function(){var e=this._lexer.lookahead();if(e.kind===S.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)},n.parseSchemaExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("schema");var n=this.parseDirectives(!0),t=this.optionalMany(S.TokenKind.BRACE_L,this.parseOperationTypeDefinition,S.TokenKind.BRACE_R);if(0===n.length&&0===t.length)throw this.unexpected();return{kind:x.Kind.SCHEMA_EXTENSION,directives:n,operationTypes:t,loc:this.loc(e)}},n.parseScalarTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("scalar");var n=this.parseName(),t=this.parseDirectives(!0);if(0===t.length)throw this.unexpected();return{kind:x.Kind.SCALAR_TYPE_EXTENSION,name:n,directives:t,loc:this.loc(e)}},n.parseObjectTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("type");var n=this.parseName(),t=this.parseImplementsInterfaces(),i=this.parseDirectives(!0),r=this.parseFieldsDefinition();if(0===t.length&&0===i.length&&0===r.length)throw this.unexpected();return{kind:x.Kind.OBJECT_TYPE_EXTENSION,name:n,interfaces:t,directives:i,fields:r,loc:this.loc(e)}},n.parseInterfaceTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("interface");var n=this.parseName(),t=this.parseImplementsInterfaces(),i=this.parseDirectives(!0),r=this.parseFieldsDefinition();if(0===t.length&&0===i.length&&0===r.length)throw this.unexpected();return{kind:x.Kind.INTERFACE_TYPE_EXTENSION,name:n,interfaces:t,directives:i,fields:r,loc:this.loc(e)}},n.parseUnionTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("union");var n=this.parseName(),t=this.parseDirectives(!0),i=this.parseUnionMemberTypes();if(0===t.length&&0===i.length)throw this.unexpected();return{kind:x.Kind.UNION_TYPE_EXTENSION,name:n,directives:t,types:i,loc:this.loc(e)}},n.parseEnumTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("enum");var n=this.parseName(),t=this.parseDirectives(!0),i=this.parseEnumValuesDefinition();if(0===t.length&&0===i.length)throw this.unexpected();return{kind:x.Kind.ENUM_TYPE_EXTENSION,name:n,directives:t,values:i,loc:this.loc(e)}},n.parseInputObjectTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("input");var n=this.parseName(),t=this.parseDirectives(!0),i=this.parseInputFieldsDefinition();if(0===t.length&&0===i.length)throw this.unexpected();return{kind:x.Kind.INPUT_OBJECT_TYPE_EXTENSION,name:n,directives:t,fields:i,loc:this.loc(e)}},n.parseDirectiveDefinition=function(){var e=this._lexer.token,n=this.parseDescription();this.expectKeyword("directive"),this.expectToken(S.TokenKind.AT);var t=this.parseName(),i=this.parseArgumentDefs(),r=this.expectOptionalKeyword("repeatable");this.expectKeyword("on");var o=this.parseDirectiveLocations();return{kind:x.Kind.DIRECTIVE_DEFINITION,description:n,name:t,arguments:i,repeatable:r,locations:o,loc:this.loc(e)}},n.parseDirectiveLocations=function(){return this.delimitedMany(S.TokenKind.PIPE,this.parseDirectiveLocation)},n.parseDirectiveLocation=function(){var e=this._lexer.token,n=this.parseName();if(void 0!==j.DirectiveLocation[n.value])return n;throw this.unexpected(e)},n.loc=function(e){var n;if(!0!==(null===(n=this._options)||void 0===n?void 0:n.noLocation))return new P.Location(e,this._lexer.lastToken,this._lexer.source)},n.peek=function(e){return this._lexer.token.kind===e},n.expectToken=function(e){var n=this._lexer.token;if(n.kind===e)return this._lexer.advance(),n;throw(0,f.syntaxError)(this._lexer.source,n.start,"Expected ".concat(r(e),", found ").concat(i(n),"."))},n.expectOptionalToken=function(e){var n=this._lexer.token;if(n.kind===e)return this._lexer.advance(),n},n.expectKeyword=function(e){var n=this._lexer.token;if(n.kind!==S.TokenKind.NAME||n.value!==e)throw(0,f.syntaxError)(this._lexer.source,n.start,'Expected "'.concat(e,'", found ').concat(i(n),"."));this._lexer.advance()},n.expectOptionalKeyword=function(e){var n=this._lexer.token;return n.kind===S.TokenKind.NAME&&n.value===e&&(this._lexer.advance(),!0)},n.unexpected=function(e){var n=null!=e?e:this._lexer.token;return(0,f.syntaxError)(this._lexer.source,n.start,"Unexpected ".concat(i(n),"."))},n.any=function(e,n,t){this.expectToken(e);for(var i=[];!this.expectOptionalToken(t);)i.push(n.call(this));return i},n.optionalMany=function(e,n,t){if(this.expectOptionalToken(e)){var i=[];do{i.push(n.call(this))}while(!this.expectOptionalToken(t));return i}return[]},n.many=function(e,n,t){this.expectToken(e);var i=[];do{i.push(n.call(this))}while(!this.expectOptionalToken(t));return i},n.delimitedMany=function(e,n){this.expectOptionalToken(e);var t=[];do{t.push(n.call(this))}while(this.expectOptionalToken(e));return t},e}();function i(e){var n=e.value;return r(e.kind)+(null!=n?' "'.concat(n,'"'):"")}function r(e){return(0,M.isPunctuatorTokenKind)(e)?'"'.concat(e,'"'):e}n.Parser=t}),V=t(function(e,n){Object.defineProperty(n,"__esModule",{value:!0}),n.visit=function(e,n){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:r,s=void 0,c=Array.isArray(e),u=[e],l=-1,d=[],p=void 0,f=void 0,h=void 0,T=[],v=[],E=e;do{var y=++l===u.length,m=y&&0!==d.length;if(y){if(f=0===v.length?void 0:T[T.length-1],p=h,h=v.pop(),m){if(c)p=p.slice();else{for(var N={},k=0,_=Object.keys(p);k<_.length;k++){var O=_[k];N[O]=p[O]}p=N}for(var I=0,b=0;b<d.length;b++){var A=d[b][0],D=d[b][1];c&&(A-=I),c&&null===D?(p.splice(A,1),I++):p[A]=D}}l=s.index,u=s.keys,d=s.edits,c=s.inArray,s=s.prev}else{if(f=h?c?l:u[l]:void 0,null==(p=h?h[f]:E))continue;h&&T.push(f)}var x,S=void 0;if(!Array.isArray(p)){if(!(0,P.isNode)(p))throw new Error("Invalid AST Node: ".concat((0,i.default)(p),"."));var K=a(n,p.kind,y);if(K){if((S=K.call(n,p,f,h,T,v))===o)break;if(!1===S){if(!y){T.pop();continue}}else if(void 0!==S&&(d.push([f,S]),!y)){if(!(0,P.isNode)(S)){T.pop();continue}p=S}}}void 0===S&&m&&d.push([f,p]),y?T.pop():(s={inArray:c,index:l,keys:u,edits:d,prev:s},u=(c=Array.isArray(p))?p:null!==(x=t[p.kind])&&void 0!==x?x:[],l=-1,d=[],h&&v.push(h),h=p)}while(void 0!==s);return 0!==d.length&&(E=d[d.length-1][1]),E},n.visitInParallel=function(e){var n=new Array(e.length);return{enter:function(t){for(var i=0;i<e.length;i++)if(null==n[i]){var r=a(e[i],t.kind,!1);if(r){var s=r.apply(e[i],arguments);if(!1===s)n[i]=t;else if(s===o)n[i]=o;else if(void 0!==s)return s}}},leave:function(t){for(var i=0;i<e.length;i++)if(null==n[i]){var r=a(e[i],t.kind,!0);if(r){var s=r.apply(e[i],arguments);if(s===o)n[i]=o;else if(void 0!==s&&!1!==s)return s}}else n[i]===t&&(n[i]=null)}}},n.getVisitFn=a,n.BREAK=n.QueryDocumentKeys=void 0;var t,i=(t=m)&&t.__esModule?t:{default:t},r={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"]};n.QueryDocumentKeys=r;var o=Object.freeze({});function a(e,n,t){var i=e[n];if(i){if(!t&&"function"==typeof i)return i;var r=t?i.leave:i.enter;if("function"==typeof r)return r}else{var o=t?e.leave:e.enter;if(o){if("function"==typeof o)return o;var a=o[n];if("function"==typeof a)return a}}}n.BREAK=o}),U={Name:function(e){return e.value},Variable:function(e){return"$"+e.name},Document:function(e){return G(e.definitions,"\n\n")+"\n"},OperationDefinition:function(e){var n=e.operation,t=e.name,i=X("(",G(e.variableDefinitions,", "),")"),r=G(e.directives," "),o=e.selectionSet;return t||r||i||"query"!==n?G([n,G([t,i]),r,o]," "):o},VariableDefinition:function(e){var n=e.directives;return e.variable+": "+e.type+X(" = ",e.defaultValue)+X(" ",G(n," "))},SelectionSet:function(e){return J(e.selections)},Field:function(e){var n=e.name,t=e.arguments,i=e.directives,r=e.selectionSet,o=X("",e.alias,": ")+n,a=o+X("(",G(t,", "),")");return a.length>80&&(a=o+X("(\n",Q(G(t,"\n")),"\n)")),G([a,G(i," "),r]," ")},Argument:function(e){return e.name+": "+e.value},FragmentSpread:function(e){return"..."+e.name+X(" ",G(e.directives," "))},InlineFragment:function(e){var n=e.directives,t=e.selectionSet;return G(["...",X("on ",e.typeCondition),G(n," "),t]," ")},FragmentDefinition:function(e){var n=e.typeCondition,t=e.variableDefinitions,i=e.directives,r=e.selectionSet;return"fragment ".concat(e.name).concat(X("(",G(t,", "),")")," ")+"on ".concat(n," ").concat(X("",G(i," ")," "))+r},IntValue:function(e){return e.value},FloatValue:function(e){return e.value},StringValue:function(e,n){var t=e.value;return e.block?(0,w.printBlockString)(t,"description"===n?"":" "):JSON.stringify(t)},BooleanValue:function(e){return e.value?"true":"false"},NullValue:function(){return"null"},EnumValue:function(e){return e.value},ListValue:function(e){return"["+G(e.values,", ")+"]"},ObjectValue:function(e){return"{"+G(e.fields,", ")+"}"},ObjectField:function(e){return e.name+": "+e.value},Directive:function(e){return"@"+e.name+X("(",G(e.arguments,", "),")")},NamedType:function(e){return e.name},ListType:function(e){return"["+e.type+"]"},NonNullType:function(e){return e.type+"!"},SchemaDefinition:Y(function(e){var n=e.operationTypes;return G(["schema",G(e.directives," "),J(n)]," ")}),OperationTypeDefinition:function(e){return e.operation+": "+e.type},ScalarTypeDefinition:Y(function(e){return G(["scalar",e.name,G(e.directives," ")]," ")}),ObjectTypeDefinition:Y(function(e){var n=e.directives,t=e.fields;return G(["type",e.name,X("implements ",G(e.interfaces," & ")),G(n," "),J(t)]," ")}),FieldDefinition:Y(function(e){var n=e.arguments,t=e.type,i=e.directives;return e.name+(H(n)?X("(\n",Q(G(n,"\n")),"\n)"):X("(",G(n,", "),")"))+": "+t+X(" ",G(i," "))}),InputValueDefinition:Y(function(e){var n=e.directives;return G([e.name+": "+e.type,X("= ",e.defaultValue),G(n," ")]," ")}),InterfaceTypeDefinition:Y(function(e){var n=e.directives,t=e.fields;return G(["interface",e.name,X("implements ",G(e.interfaces," & ")),G(n," "),J(t)]," ")}),UnionTypeDefinition:Y(function(e){var n=e.types;return G(["union",e.name,G(e.directives," "),n&&0!==n.length?"= "+G(n," | "):""]," ")}),EnumTypeDefinition:Y(function(e){var n=e.values;return G(["enum",e.name,G(e.directives," "),J(n)]," ")}),EnumValueDefinition:Y(function(e){return G([e.name,G(e.directives," ")]," ")}),InputObjectTypeDefinition:Y(function(e){var n=e.fields;return G(["input",e.name,G(e.directives," "),J(n)]," ")}),DirectiveDefinition:Y(function(e){var n=e.arguments,t=e.repeatable,i=e.locations;return"directive @"+e.name+(H(n)?X("(\n",Q(G(n,"\n")),"\n)"):X("(",G(n,", "),")"))+(t?" repeatable":"")+" on "+G(i," | ")}),SchemaExtension:function(e){var n=e.operationTypes;return G(["extend schema",G(e.directives," "),J(n)]," ")},ScalarTypeExtension:function(e){return G(["extend scalar",e.name,G(e.directives," ")]," ")},ObjectTypeExtension:function(e){var n=e.directives,t=e.fields;return G(["extend type",e.name,X("implements ",G(e.interfaces," & ")),G(n," "),J(t)]," ")},InterfaceTypeExtension:function(e){var n=e.directives,t=e.fields;return G(["extend interface",e.name,X("implements ",G(e.interfaces," & ")),G(n," "),J(t)]," ")},UnionTypeExtension:function(e){var n=e.types;return G(["extend union",e.name,G(e.directives," "),n&&0!==n.length?"= "+G(n," | "):""]," ")},EnumTypeExtension:function(e){var n=e.values;return G(["extend enum",e.name,G(e.directives," "),J(n)]," ")},InputObjectTypeExtension:function(e){var n=e.fields;return G(["extend input",e.name,G(e.directives," "),J(n)]," ")}};function Y(e){return function(n){return G([n.description,e(n)],"\n")}}function G(e){var n,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return null!==(n=null==e?void 0:e.filter(function(e){return e}).join(t))&&void 0!==n?n:""}function J(e){return X("{\n",Q(G(e,"\n")),"\n}")}function X(e,n){return null!=n&&""!==n?e+n+(arguments.length>2&&void 0!==arguments[2]?arguments[2]:""):""}function Q(e){return X(" ",e.replace(/\n/g,"\n "))}function q(e){return-1!==e.indexOf("\n")}function H(e){return null!=e&&e.some(q)}var $=Object.defineProperty({print:function(e){return(0,V.visit)(e,{leave:U})}},"__esModule",{value:!0});function z(e){return e.kind===x.Kind.OPERATION_DEFINITION||e.kind===x.Kind.FRAGMENT_DEFINITION}function W(e){return e.kind===x.Kind.SCHEMA_DEFINITION||Z(e)||e.kind===x.Kind.DIRECTIVE_DEFINITION}function Z(e){return e.kind===x.Kind.SCALAR_TYPE_DEFINITION||e.kind===x.Kind.OBJECT_TYPE_DEFINITION||e.kind===x.Kind.INTERFACE_TYPE_DEFINITION||e.kind===x.Kind.UNION_TYPE_DEFINITION||e.kind===x.Kind.ENUM_TYPE_DEFINITION||e.kind===x.Kind.INPUT_OBJECT_TYPE_DEFINITION}function ee(e){return e.kind===x.Kind.SCHEMA_EXTENSION||ne(e)}function ne(e){return e.kind===x.Kind.SCALAR_TYPE_EXTENSION||e.kind===x.Kind.OBJECT_TYPE_EXTENSION||e.kind===x.Kind.INTERFACE_TYPE_EXTENSION||e.kind===x.Kind.UNION_TYPE_EXTENSION||e.kind===x.Kind.ENUM_TYPE_EXTENSION||e.kind===x.Kind.INPUT_OBJECT_TYPE_EXTENSION}var te=Object.defineProperty({isDefinitionNode:function(e){return z(e)||W(e)||ee(e)},isExecutableDefinitionNode:z,isSelectionNode:function(e){return e.kind===x.Kind.FIELD||e.kind===x.Kind.FRAGMENT_SPREAD||e.kind===x.Kind.INLINE_FRAGMENT},isValueNode:function(e){return e.kind===x.Kind.VARIABLE||e.kind===x.Kind.INT||e.kind===x.Kind.FLOAT||e.kind===x.Kind.STRING||e.kind===x.Kind.BOOLEAN||e.kind===x.Kind.NULL||e.kind===x.Kind.ENUM||e.kind===x.Kind.LIST||e.kind===x.Kind.OBJECT},isTypeNode:function(e){return e.kind===x.Kind.NAMED_TYPE||e.kind===x.Kind.LIST_TYPE||e.kind===x.Kind.NON_NULL_TYPE},isTypeSystemDefinitionNode:W,isTypeDefinitionNode:Z,isTypeSystemExtensionNode:ee,isTypeExtensionNode:ne},"__esModule",{value:!0}),ie=t(function(e,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"Source",{enumerable:!0,get:function(){return D.Source}}),Object.defineProperty(n,"getLocation",{enumerable:!0,get:function(){return a.getLocation}}),Object.defineProperty(n,"printLocation",{enumerable:!0,get:function(){return d.printLocation}}),Object.defineProperty(n,"printSourceLocation",{enumerable:!0,get:function(){return d.printSourceLocation}}),Object.defineProperty(n,"Kind",{enumerable:!0,get:function(){return x.Kind}}),Object.defineProperty(n,"TokenKind",{enumerable:!0,get:function(){return S.TokenKind}}),Object.defineProperty(n,"Lexer",{enumerable:!0,get:function(){return M.Lexer}}),Object.defineProperty(n,"parse",{enumerable:!0,get:function(){return B.parse}}),Object.defineProperty(n,"parseValue",{enumerable:!0,get:function(){return B.parseValue}}),Object.defineProperty(n,"parseType",{enumerable:!0,get:function(){return B.parseType}}),Object.defineProperty(n,"print",{enumerable:!0,get:function(){return $.print}}),Object.defineProperty(n,"visit",{enumerable:!0,get:function(){return V.visit}}),Object.defineProperty(n,"visitInParallel",{enumerable:!0,get:function(){return V.visitInParallel}}),Object.defineProperty(n,"getVisitFn",{enumerable:!0,get:function(){return V.getVisitFn}}),Object.defineProperty(n,"BREAK",{enumerable:!0,get:function(){return V.BREAK}}),Object.defineProperty(n,"Location",{enumerable:!0,get:function(){return P.Location}}),Object.defineProperty(n,"Token",{enumerable:!0,get:function(){return P.Token}}),Object.defineProperty(n,"isDefinitionNode",{enumerable:!0,get:function(){return te.isDefinitionNode}}),Object.defineProperty(n,"isExecutableDefinitionNode",{enumerable:!0,get:function(){return te.isExecutableDefinitionNode}}),Object.defineProperty(n,"isSelectionNode",{enumerable:!0,get:function(){return te.isSelectionNode}}),Object.defineProperty(n,"isValueNode",{enumerable:!0,get:function(){return te.isValueNode}}),Object.defineProperty(n,"isTypeNode",{enumerable:!0,get:function(){return te.isTypeNode}}),Object.defineProperty(n,"isTypeSystemDefinitionNode",{enumerable:!0,get:function(){return te.isTypeSystemDefinitionNode}}),Object.defineProperty(n,"isTypeDefinitionNode",{enumerable:!0,get:function(){return te.isTypeDefinitionNode}}),Object.defineProperty(n,"isTypeSystemExtensionNode",{enumerable:!0,get:function(){return te.isTypeSystemExtensionNode}}),Object.defineProperty(n,"isTypeExtensionNode",{enumerable:!0,get:function(){return te.isTypeExtensionNode}}),Object.defineProperty(n,"DirectiveLocation",{enumerable:!0,get:function(){return j.DirectiveLocation}})});function re(e){if(e&&"object"==typeof e)for(var n in delete e.startToken,delete e.endToken,delete e.prev,delete e.next,e)re(e[n]);return e}var oe={allowLegacySDLImplementsInterfaces:!1,experimentalFragmentVariables:!0};return{parsers:{graphql:{parse:function(t){var i=ie.parse,r=function(){for(var t,i=arguments.length,r=new Array(i),o=0;o<i;o++)r[o]=arguments[o];var a,s=e(r.entries());try{for(s.s();!(a=s.n()).done;){var c=n(a.value,2),u=c[0],l=c[1];try{return{result:l()}}catch(d){0===u&&(t=d)}}}catch(p){s.e(p)}finally{s.f()}return{error:t}}(function(){return i(t,Object.assign({},oe))},function(){return i(t,Object.assign({},oe,{allowLegacySDLImplementsInterfaces:!0}))}),o=r.result,a=r.error;if(!o)throw function(e){return e instanceof b.GraphQLError?function(e,n){var t=new SyntaxError(e+" ("+n.start.line+":"+n.start.column+")");return t.loc=n,t}(e.message,{start:n(e.locations,1)[0]}):e}(a);return o.comments=function(e){for(var n=[],t=e.loc.startToken.next;"<EOF>"!==t.kind;)"Comment"===t.kind&&(Object.assign(t,{column:t.column-1}),n.push(t)),t=t.next;return n}(o),re(o),o},astFormat:"graphql",hasPragma:function(e){return/^\s*#[^\S\n]*@(format|prettier)\s*(\n|$)/.test(e)},locStart:function(e){return"number"==typeof e.start?e.start:e.loc&&e.loc.start},locEnd:function(e){return"number"==typeof e.end?e.end:e.loc&&e.loc.end}}}}}()}}])}();
|