parse-dashboard 9.2.1-alpha.1 → 9.3.0-alpha.1

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.
Files changed (94) hide show
  1. package/Parse-Dashboard/public/bundles/1056.bundle.js +1 -0
  2. package/Parse-Dashboard/public/bundles/1151.bundle.js +1 -0
  3. package/Parse-Dashboard/public/bundles/1256.bundle.js +1 -0
  4. package/Parse-Dashboard/public/bundles/1272.bundle.js +1 -0
  5. package/Parse-Dashboard/public/bundles/1356.bundle.js +1 -0
  6. package/Parse-Dashboard/public/bundles/1440.bundle.js +1 -0
  7. package/Parse-Dashboard/public/bundles/1675.bundle.js +1 -0
  8. package/Parse-Dashboard/public/bundles/1987.bundle.js +1 -0
  9. package/Parse-Dashboard/public/bundles/2499.bundle.js +2 -0
  10. package/Parse-Dashboard/public/bundles/2499.bundle.js.LICENSE.txt +6 -0
  11. package/Parse-Dashboard/public/bundles/2794.bundle.js +1 -0
  12. package/Parse-Dashboard/public/bundles/2823.bundle.js +2 -0
  13. package/Parse-Dashboard/public/bundles/2823.bundle.js.LICENSE.txt +1 -0
  14. package/Parse-Dashboard/public/bundles/2955.bundle.js +1 -0
  15. package/Parse-Dashboard/public/bundles/2972.bundle.js +1 -0
  16. package/Parse-Dashboard/public/bundles/3120.bundle.js +1 -0
  17. package/Parse-Dashboard/public/bundles/3212.bundle.js +1 -0
  18. package/Parse-Dashboard/public/bundles/3227.bundle.js +1 -0
  19. package/Parse-Dashboard/public/bundles/3412.bundle.js +1 -0
  20. package/Parse-Dashboard/public/bundles/3839.bundle.js +1 -0
  21. package/Parse-Dashboard/public/bundles/3871.bundle.js +1 -0
  22. package/Parse-Dashboard/public/bundles/4056.bundle.js +1 -0
  23. package/Parse-Dashboard/public/bundles/4062.bundle.js +1 -0
  24. package/Parse-Dashboard/public/bundles/4069.bundle.js +1 -0
  25. package/Parse-Dashboard/public/bundles/4097.bundle.js +1 -0
  26. package/Parse-Dashboard/public/bundles/4438.bundle.js +1 -0
  27. package/Parse-Dashboard/public/bundles/448.bundle.js +1 -1
  28. package/Parse-Dashboard/public/bundles/4760.bundle.js +2 -0
  29. package/Parse-Dashboard/public/bundles/4760.bundle.js.LICENSE.txt +6 -0
  30. package/Parse-Dashboard/public/bundles/4837.bundle.js +1 -0
  31. package/Parse-Dashboard/public/bundles/490.bundle.js +1 -0
  32. package/Parse-Dashboard/public/bundles/5147.bundle.js +1 -0
  33. package/Parse-Dashboard/public/bundles/5166.bundle.js +1 -0
  34. package/Parse-Dashboard/public/bundles/5281.bundle.js +2 -0
  35. package/Parse-Dashboard/public/bundles/5281.bundle.js.LICENSE.txt +44 -0
  36. package/Parse-Dashboard/public/bundles/5521.bundle.js +1 -0
  37. package/Parse-Dashboard/public/bundles/580.bundle.js +1 -0
  38. package/Parse-Dashboard/public/bundles/5834.bundle.js +1 -0
  39. package/Parse-Dashboard/public/bundles/5851.bundle.js +1 -0
  40. package/Parse-Dashboard/public/bundles/5866.bundle.js +1 -0
  41. package/Parse-Dashboard/public/bundles/5967.bundle.js +1 -0
  42. package/Parse-Dashboard/public/bundles/6079.bundle.js +1 -0
  43. package/Parse-Dashboard/public/bundles/6214.bundle.js +1 -0
  44. package/Parse-Dashboard/public/bundles/6490.bundle.js +1 -0
  45. package/Parse-Dashboard/public/bundles/6556.bundle.js +1 -0
  46. package/Parse-Dashboard/public/bundles/6562.bundle.js +2 -0
  47. package/Parse-Dashboard/public/bundles/6562.bundle.js.LICENSE.txt +6 -0
  48. package/Parse-Dashboard/public/bundles/6727.bundle.js +1 -0
  49. package/Parse-Dashboard/public/bundles/7110.bundle.js +1 -0
  50. package/Parse-Dashboard/public/bundles/7214.bundle.js +2 -0
  51. package/Parse-Dashboard/public/bundles/7214.bundle.js.LICENSE.txt +6 -0
  52. package/Parse-Dashboard/public/bundles/7413.bundle.js +1 -0
  53. package/Parse-Dashboard/public/bundles/7537.bundle.js +1 -0
  54. package/Parse-Dashboard/public/bundles/7775.bundle.js +1 -0
  55. package/Parse-Dashboard/public/bundles/792.bundle.js +1 -0
  56. package/Parse-Dashboard/public/bundles/802.bundle.js +1 -0
  57. package/Parse-Dashboard/public/bundles/8058.bundle.js +1 -0
  58. package/Parse-Dashboard/public/bundles/8445.bundle.js +1 -0
  59. package/Parse-Dashboard/public/bundles/9096.bundle.js +1 -0
  60. package/Parse-Dashboard/public/bundles/9174.bundle.js +1 -0
  61. package/Parse-Dashboard/public/bundles/9433.bundle.js +1 -0
  62. package/Parse-Dashboard/public/bundles/9794.bundle.js +1 -0
  63. package/Parse-Dashboard/public/bundles/9895.bundle.js +1 -0
  64. package/Parse-Dashboard/public/bundles/dashboard.bundle.js +1 -1
  65. package/Parse-Dashboard/public/bundles/dashboard.bundle.js.LICENSE.txt +39 -75
  66. package/Parse-Dashboard/public/bundles/img/f6283f7ccaed1249d9eb.ttf +0 -0
  67. package/Parse-Dashboard/public/bundles/login.bundle.js +1 -1
  68. package/Parse-Dashboard/public/bundles/login.bundle.js.LICENSE.txt +21 -14
  69. package/package.json +12 -10
  70. package/Parse-Dashboard/public/bundles/120.bundle.js +0 -1
  71. package/Parse-Dashboard/public/bundles/183.bundle.js +0 -1
  72. package/Parse-Dashboard/public/bundles/19.bundle.js +0 -1
  73. package/Parse-Dashboard/public/bundles/221.bundle.js +0 -1
  74. package/Parse-Dashboard/public/bundles/372.bundle.js +0 -1
  75. package/Parse-Dashboard/public/bundles/573.bundle.js +0 -1
  76. package/Parse-Dashboard/public/bundles/578.bundle.js +0 -1
  77. package/Parse-Dashboard/public/bundles/584.bundle.js +0 -1
  78. package/Parse-Dashboard/public/bundles/629.bundle.js +0 -1
  79. package/Parse-Dashboard/public/bundles/643.bundle.js +0 -1
  80. package/Parse-Dashboard/public/bundles/647.bundle.js +0 -1
  81. package/Parse-Dashboard/public/bundles/701.bundle.js +0 -1
  82. package/Parse-Dashboard/public/bundles/729.bundle.js +0 -1
  83. package/Parse-Dashboard/public/bundles/75.bundle.js +0 -1
  84. package/Parse-Dashboard/public/bundles/753.bundle.js +0 -1
  85. package/Parse-Dashboard/public/bundles/817.bundle.js +0 -1
  86. package/Parse-Dashboard/public/bundles/844.bundle.js +0 -1
  87. package/Parse-Dashboard/public/bundles/862.bundle.js +0 -1
  88. package/Parse-Dashboard/public/bundles/866.bundle.js +0 -1
  89. package/Parse-Dashboard/public/bundles/874.bundle.js +0 -1
  90. package/Parse-Dashboard/public/bundles/881.bundle.js +0 -1
  91. package/Parse-Dashboard/public/bundles/929.bundle.js +0 -1
  92. package/Parse-Dashboard/public/bundles/950.bundle.js +0 -1
  93. package/Parse-Dashboard/public/bundles/97.bundle.js +0 -1
  94. package/Parse-Dashboard/public/bundles/976.bundle.js +0 -1
@@ -1,31 +1,38 @@
1
- /*
2
- object-assign
3
- (c) Sindre Sorhus
4
- @license MIT
5
- */
1
+ /**
2
+ * @license React
3
+ * react-dom-client.production.js
4
+ *
5
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
6
+ *
7
+ * This source code is licensed under the MIT license found in the
8
+ * LICENSE file in the root directory of this source tree.
9
+ */
6
10
 
7
- /** @license React v0.19.1
8
- * scheduler.production.min.js
11
+ /**
12
+ * @license React
13
+ * react-dom.production.js
9
14
  *
10
- * Copyright (c) Facebook, Inc. and its affiliates.
15
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
11
16
  *
12
17
  * This source code is licensed under the MIT license found in the
13
18
  * LICENSE file in the root directory of this source tree.
14
19
  */
15
20
 
16
- /** @license React v16.14.0
17
- * react-dom.production.min.js
21
+ /**
22
+ * @license React
23
+ * react.production.js
18
24
  *
19
- * Copyright (c) Facebook, Inc. and its affiliates.
25
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
20
26
  *
21
27
  * This source code is licensed under the MIT license found in the
22
28
  * LICENSE file in the root directory of this source tree.
23
29
  */
24
30
 
25
- /** @license React v16.14.0
26
- * react.production.min.js
31
+ /**
32
+ * @license React
33
+ * scheduler.production.js
27
34
  *
28
- * Copyright (c) Facebook, Inc. and its affiliates.
35
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
29
36
  *
30
37
  * This source code is licensed under the MIT license found in the
31
38
  * LICENSE file in the root directory of this source tree.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "parse-dashboard",
3
- "version": "9.2.1-alpha.1",
3
+ "version": "9.3.0-alpha.1",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/parse-community/parse-dashboard"
@@ -39,6 +39,8 @@
39
39
  "dependencies": {
40
40
  "@babel/runtime": "7.29.2",
41
41
  "@babel/runtime-corejs3": "7.29.2",
42
+ "@graphiql/toolkit": "0.12.1",
43
+ "@microlink/react-json-view": "1.31.22",
42
44
  "bcryptjs": "3.0.3",
43
45
  "body-parser": "2.2.2",
44
46
  "chart.js": "4.5.1",
@@ -52,8 +54,9 @@
52
54
  "express": "5.2.1",
53
55
  "express-session": "1.19.0",
54
56
  "fast-deep-equal": "3.1.3",
55
- "graphiql": "2.0.8",
57
+ "graphiql": "5.2.4",
56
58
  "graphql": "16.12.0",
59
+ "graphql-ws": "6.1.0",
57
60
  "immutable": "5.1.5",
58
61
  "immutable-devtools": "0.1.5",
59
62
  "inquirer": "13.2.2",
@@ -67,19 +70,18 @@
67
70
  "prismjs": "1.30.0",
68
71
  "prop-types": "15.8.1",
69
72
  "qrcode": "1.5.4",
70
- "react": "16.14.0",
73
+ "react": "19.2.7",
71
74
  "react-ace": "14.0.1",
72
75
  "react-chartjs-2": "5.3.1",
73
- "react-dnd": "10.0.2",
76
+ "react-dnd": "16.0.1",
74
77
  "react-dnd-html5-backend": "16.0.1",
75
- "react-dom": "16.14.0",
76
- "react-draggable": "4.5.0",
78
+ "react-dom": "19.2.7",
79
+ "react-draggable": "4.7.0",
77
80
  "react-helmet": "6.1.0",
78
- "react-json-view": "1.21.3",
79
81
  "react-popper-tooltip": "4.4.2",
80
- "react-resizable": "3.1.3",
82
+ "react-resizable": "4.0.2",
81
83
  "react-rnd": "10.5.3",
82
- "react-router-dom": "6.30.3",
84
+ "react-router": "7.18.1",
83
85
  "regenerator-runtime": "0.14.1"
84
86
  },
85
87
  "overrides": {
@@ -125,7 +127,7 @@
125
127
  "parse-server": "9.9.0",
126
128
  "prettier": "3.8.1",
127
129
  "puppeteer": "24.37.2",
128
- "react-test-renderer": "16.13.1",
130
+ "react-test-renderer": "19.2.7",
129
131
  "sass": "1.99.0",
130
132
  "sass-loader": "16.0.7",
131
133
  "semantic-release": "25.0.3",
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunk=self.webpackChunk||[]).push([[120],{71120(e,o,n){n.d(o,{a:()=>u,d:()=>l});var t=n(38950),i=Object.defineProperty,r=(e,o)=>i(e,"name",{value:o,configurable:!0});function a(e,o){return o.forEach(function(o){o&&"string"!=typeof o&&!Array.isArray(o)&&Object.keys(o).forEach(function(n){if("default"!==n&&!(n in e)){var t=Object.getOwnPropertyDescriptor(o,n);Object.defineProperty(e,n,t.get?t:{enumerable:!0,get:function(){return o[n]}})}})}),Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}r(a,"_mergeNamespaces");var u={exports:{}};!function(e){function o(o,n,t){var i,r=o.getWrapperElement();return(i=r.appendChild(document.createElement("div"))).className=t?"CodeMirror-dialog CodeMirror-dialog-bottom":"CodeMirror-dialog CodeMirror-dialog-top","string"==typeof n?i.innerHTML=n:i.appendChild(n),e.addClass(r,"dialog-opened"),i}function n(e,o){e.state.currentNotificationClose&&e.state.currentNotificationClose(),e.state.currentNotificationClose=o}r(o,"dialogDiv"),r(n,"closeNotification"),e.defineExtension("openDialog",function(t,i,a){a||(a={}),n(this,null);var u=o(this,t,a.bottom),l=!1,c=this;function s(o){if("string"==typeof o)d.value=o;else{if(l)return;l=!0,e.rmClass(u.parentNode,"dialog-opened"),u.parentNode.removeChild(u),c.focus(),a.onClose&&a.onClose(u)}}r(s,"close");var f,d=u.getElementsByTagName("input")[0];return d?(d.focus(),a.value&&(d.value=a.value,!1!==a.selectValueOnOpen&&d.select()),a.onInput&&e.on(d,"input",function(e){a.onInput(e,d.value,s)}),a.onKeyUp&&e.on(d,"keyup",function(e){a.onKeyUp(e,d.value,s)}),e.on(d,"keydown",function(o){a&&a.onKeyDown&&a.onKeyDown(o,d.value,s)||((27==o.keyCode||!1!==a.closeOnEnter&&13==o.keyCode)&&(d.blur(),e.e_stop(o),s()),13==o.keyCode&&i(d.value,o))}),!1!==a.closeOnBlur&&e.on(u,"focusout",function(e){null!==e.relatedTarget&&s()})):(f=u.getElementsByTagName("button")[0])&&(e.on(f,"click",function(){s(),c.focus()}),!1!==a.closeOnBlur&&e.on(f,"blur",s),f.focus()),s}),e.defineExtension("openConfirm",function(t,i,a){n(this,null);var u=o(this,t,a&&a.bottom),l=u.getElementsByTagName("button"),c=!1,s=this,f=1;function d(){c||(c=!0,e.rmClass(u.parentNode,"dialog-opened"),u.parentNode.removeChild(u),s.focus())}r(d,"close"),l[0].focus();for(var p=0;p<l.length;++p){var g=l[p];(function(o){e.on(g,"click",function(n){e.e_preventDefault(n),d(),o&&o(s)})})(i[p]),e.on(g,"blur",function(){--f,setTimeout(function(){f<=0&&d()},200)}),e.on(g,"focus",function(){++f})}}),e.defineExtension("openNotification",function(t,i){n(this,s);var a,u=o(this,t,i&&i.bottom),l=!1,c=i&&void 0!==i.duration?i.duration:5e3;function s(){l||(l=!0,clearTimeout(a),e.rmClass(u.parentNode,"dialog-opened"),u.parentNode.removeChild(u))}return r(s,"close"),e.on(u,"click",function(o){e.e_preventDefault(o),s()}),c&&(a=setTimeout(s,c)),s})}(t.a.exports);var l=a({__proto__:null,default:u.exports},[u.exports])}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunk=self.webpackChunk||[]).push([[183],{30183(e,t,n){n.d(t,{S:()=>ft,T:()=>vt,a:()=>ht});var i=Object.defineProperty,s=(e,t)=>i(e,"name",{value:t,configurable:!0});function r(e){return o(e,[])}function o(e,t){switch(typeof e){case"string":return JSON.stringify(e);case"function":return e.name?`[function ${e.name}]`:"[function]";case"object":return a(e,t);default:return String(e)}}function a(e,t){if(null===e)return"null";if(t.includes(e))return"[Circular]";const n=[...t,e];if(l(e)){const t=e.toJSON();if(t!==e)return"string"==typeof t?t:o(t,n)}else if(Array.isArray(e))return c(e,n);return u(e,n)}function l(e){return"function"==typeof e.toJSON}function u(e,t){const n=Object.entries(e);return 0===n.length?"{}":t.length>2?"["+p(e)+"]":"{ "+n.map(([e,n])=>e+": "+o(n,t)).join(", ")+" }"}function c(e,t){if(0===e.length)return"[]";if(t.length>2)return"[Array]";const n=Math.min(10,e.length),i=e.length-n,s=[];for(let i=0;i<n;++i)s.push(o(e[i],t));return 1===i?s.push("... 1 more item"):i>1&&s.push(`... ${i} more items`),"["+s.join(", ")+"]"}function p(e){const t=Object.prototype.toString.call(e).replace(/^\[object /,"").replace(/]$/,"");if("Object"===t&&"function"==typeof e.constructor){const t=e.constructor.name;if("string"==typeof t&&""!==t)return t}return t}function d(e,t){if(!Boolean(e))throw new Error(null!=t?t:"Unexpected invariant triggered.")}let f;var v;function h(e){return 9===e||32===e}function y(e){return e>=48&&e<=57}function m(e){return e>=97&&e<=122||e>=65&&e<=90}function N(e){return m(e)||95===e}function T(e){return m(e)||y(e)||95===e}function I(e,t){const n=e.replace(/"""/g,'\\"""'),i=n.split(/\r\n|[\n\r]/g),s=1===i.length,r=i.length>1&&i.slice(1).every(e=>0===e.length||h(e.charCodeAt(0))),o=n.endsWith('\\"""'),a=e.endsWith('"')&&!o,l=e.endsWith("\\"),u=a||l,c=!(null!=t&&t.minimize)&&(!s||e.length>70||u||r||o);let p="";const d=s&&h(e.charCodeAt(0));return(c&&!d||r)&&(p+="\n"),p+=n,(c||u)&&(p+="\n"),'"""'+p+'"""'}function E(e){return`"${e.replace(g,b)}"`}s(r,"inspect"),s(o,"formatValue"),s(a,"formatObjectValue"),s(l,"isJSONable"),s(u,"formatObject"),s(c,"formatArray"),s(p,"getObjectTag"),s(d,"invariant"),(v=f||(f={})).QUERY="QUERY",v.MUTATION="MUTATION",v.SUBSCRIPTION="SUBSCRIPTION",v.FIELD="FIELD",v.FRAGMENT_DEFINITION="FRAGMENT_DEFINITION",v.FRAGMENT_SPREAD="FRAGMENT_SPREAD",v.INLINE_FRAGMENT="INLINE_FRAGMENT",v.VARIABLE_DEFINITION="VARIABLE_DEFINITION",v.SCHEMA="SCHEMA",v.SCALAR="SCALAR",v.OBJECT="OBJECT",v.FIELD_DEFINITION="FIELD_DEFINITION",v.ARGUMENT_DEFINITION="ARGUMENT_DEFINITION",v.INTERFACE="INTERFACE",v.UNION="UNION",v.ENUM="ENUM",v.ENUM_VALUE="ENUM_VALUE",v.INPUT_OBJECT="INPUT_OBJECT",v.INPUT_FIELD_DEFINITION="INPUT_FIELD_DEFINITION",s(h,"isWhiteSpace"),s(y,"isDigit$1"),s(m,"isLetter"),s(N,"isNameStart"),s(T,"isNameContinue"),s(I,"printBlockString"),s(E,"printString");const g=/[\x00-\x1f\x22\x5c\x7f-\x9f]/g;function b(e){return O[e.charCodeAt(0)]}s(b,"escapedReplacer");const O=["\\u0000","\\u0001","\\u0002","\\u0003","\\u0004","\\u0005","\\u0006","\\u0007","\\b","\\t","\\n","\\u000B","\\f","\\r","\\u000E","\\u000F","\\u0010","\\u0011","\\u0012","\\u0013","\\u0014","\\u0015","\\u0016","\\u0017","\\u0018","\\u0019","\\u001A","\\u001B","\\u001C","\\u001D","\\u001E","\\u001F","","",'\\"',"","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","\\\\","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","\\u007F","\\u0080","\\u0081","\\u0082","\\u0083","\\u0084","\\u0085","\\u0086","\\u0087","\\u0088","\\u0089","\\u008A","\\u008B","\\u008C","\\u008D","\\u008E","\\u008F","\\u0090","\\u0091","\\u0092","\\u0093","\\u0094","\\u0095","\\u0096","\\u0097","\\u0098","\\u0099","\\u009A","\\u009B","\\u009C","\\u009D","\\u009E","\\u009F"];function S(e,t){if(!Boolean(e))throw new Error(t)}s(S,"devAssert");const A={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"]},L=new Set(Object.keys(A));function _(e){const t=null==e?void 0:e.kind;return"string"==typeof t&&L.has(t)}let w;var D;let F;var x;s(_,"isNode"),(D=w||(w={})).QUERY="query",D.MUTATION="mutation",D.SUBSCRIPTION="subscription",(x=F||(F={})).NAME="Name",x.DOCUMENT="Document",x.OPERATION_DEFINITION="OperationDefinition",x.VARIABLE_DEFINITION="VariableDefinition",x.SELECTION_SET="SelectionSet",x.FIELD="Field",x.ARGUMENT="Argument",x.FRAGMENT_SPREAD="FragmentSpread",x.INLINE_FRAGMENT="InlineFragment",x.FRAGMENT_DEFINITION="FragmentDefinition",x.VARIABLE="Variable",x.INT="IntValue",x.FLOAT="FloatValue",x.STRING="StringValue",x.BOOLEAN="BooleanValue",x.NULL="NullValue",x.ENUM="EnumValue",x.LIST="ListValue",x.OBJECT="ObjectValue",x.OBJECT_FIELD="ObjectField",x.DIRECTIVE="Directive",x.NAMED_TYPE="NamedType",x.LIST_TYPE="ListType",x.NON_NULL_TYPE="NonNullType",x.SCHEMA_DEFINITION="SchemaDefinition",x.OPERATION_TYPE_DEFINITION="OperationTypeDefinition",x.SCALAR_TYPE_DEFINITION="ScalarTypeDefinition",x.OBJECT_TYPE_DEFINITION="ObjectTypeDefinition",x.FIELD_DEFINITION="FieldDefinition",x.INPUT_VALUE_DEFINITION="InputValueDefinition",x.INTERFACE_TYPE_DEFINITION="InterfaceTypeDefinition",x.UNION_TYPE_DEFINITION="UnionTypeDefinition",x.ENUM_TYPE_DEFINITION="EnumTypeDefinition",x.ENUM_VALUE_DEFINITION="EnumValueDefinition",x.INPUT_OBJECT_TYPE_DEFINITION="InputObjectTypeDefinition",x.DIRECTIVE_DEFINITION="DirectiveDefinition",x.SCHEMA_EXTENSION="SchemaExtension",x.SCALAR_TYPE_EXTENSION="ScalarTypeExtension",x.OBJECT_TYPE_EXTENSION="ObjectTypeExtension",x.INTERFACE_TYPE_EXTENSION="InterfaceTypeExtension",x.UNION_TYPE_EXTENSION="UnionTypeExtension",x.ENUM_TYPE_EXTENSION="EnumTypeExtension",x.INPUT_OBJECT_TYPE_EXTENSION="InputObjectTypeExtension";const R=Object.freeze({});function j(e,t,n=A){const i=new Map;for(const e of Object.values(F))i.set(e,U(t,e));let s,o,a,l=Array.isArray(e),u=[e],c=-1,p=[],d=e;const f=[],v=[];do{c++;const e=c===u.length,N=e&&0!==p.length;if(e){if(o=0===v.length?void 0:f[f.length-1],d=a,a=v.pop(),N)if(l){d=d.slice();let e=0;for(const[t,n]of p){const i=t-e;null===n?(d.splice(i,1),e++):d[i]=n}}else{d=Object.defineProperties({},Object.getOwnPropertyDescriptors(d));for(const[e,t]of p)d[e]=t}c=s.index,u=s.keys,p=s.edits,l=s.inArray,s=s.prev}else if(a){if(o=l?c:u[c],d=a[o],null==d)continue;f.push(o)}let T;if(!Array.isArray(d)){var h,y;_(d)||S(!1,`Invalid AST Node: ${r(d)}.`);const n=e?null===(h=i.get(d.kind))||void 0===h?void 0:h.leave:null===(y=i.get(d.kind))||void 0===y?void 0:y.enter;if(T=null==n?void 0:n.call(t,d,o,a,f,v),T===R)break;if(!1===T){if(!e){f.pop();continue}}else if(void 0!==T&&(p.push([o,T]),!e)){if(!_(T)){f.pop();continue}d=T}}var m;void 0===T&&N&&p.push([o,d]),e?f.pop():(s={inArray:l,index:c,keys:u,edits:p,prev:s},l=Array.isArray(d),u=l?d:null!==(m=n[d.kind])&&void 0!==m?m:[],c=-1,p=[],a&&v.push(a),a=d)}while(void 0!==s);return 0!==p.length?p[p.length-1][1]:e}function U(e,t){const n=e[t];return"object"==typeof n?n:"function"==typeof n?{enter:n,leave:void 0}:{enter:e.enter,leave:e.leave}}function V(e){return j(e,C)}s(j,"visit"),s(U,"getEnterLeaveForKind"),s(V,"print");const C={Name:{leave:e=>e.value},Variable:{leave:e=>"$"+e.name},Document:{leave:e=>$(e.definitions,"\n\n")},OperationDefinition:{leave(e){const t=k("(",$(e.variableDefinitions,", "),")"),n=$([e.operation,$([e.name,t]),$(e.directives," ")]," ");return("query"===n?"":n+" ")+e.selectionSet}},VariableDefinition:{leave:({variable:e,type:t,defaultValue:n,directives:i})=>e+": "+t+k(" = ",n)+k(" ",$(i," "))},SelectionSet:{leave:({selections:e})=>M(e)},Field:{leave({alias:e,name:t,arguments:n,directives:i,selectionSet:s}){const r=k("",e,": ")+t;let o=r+k("(",$(n,", "),")");return o.length>80&&(o=r+k("(\n",B($(n,"\n")),"\n)")),$([o,$(i," "),s]," ")}},Argument:{leave:({name:e,value:t})=>e+": "+t},FragmentSpread:{leave:({name:e,directives:t})=>"..."+e+k(" ",$(t," "))},InlineFragment:{leave:({typeCondition:e,directives:t,selectionSet:n})=>$(["...",k("on ",e),$(t," "),n]," ")},FragmentDefinition:{leave:({name:e,typeCondition:t,variableDefinitions:n,directives:i,selectionSet:s})=>`fragment ${e}${k("(",$(n,", "),")")} on ${t} ${k("",$(i," ")," ")}`+s},IntValue:{leave:({value:e})=>e},FloatValue:{leave:({value:e})=>e},StringValue:{leave:({value:e,block:t})=>t?I(e):E(e)},BooleanValue:{leave:({value:e})=>e?"true":"false"},NullValue:{leave:()=>"null"},EnumValue:{leave:({value:e})=>e},ListValue:{leave:({values:e})=>"["+$(e,", ")+"]"},ObjectValue:{leave:({fields:e})=>"{"+$(e,", ")+"}"},ObjectField:{leave:({name:e,value:t})=>e+": "+t},Directive:{leave:({name:e,arguments:t})=>"@"+e+k("(",$(t,", "),")")},NamedType:{leave:({name:e})=>e},ListType:{leave:({type:e})=>"["+e+"]"},NonNullType:{leave:({type:e})=>e+"!"},SchemaDefinition:{leave:({description:e,directives:t,operationTypes:n})=>k("",e,"\n")+$(["schema",$(t," "),M(n)]," ")},OperationTypeDefinition:{leave:({operation:e,type:t})=>e+": "+t},ScalarTypeDefinition:{leave:({description:e,name:t,directives:n})=>k("",e,"\n")+$(["scalar",t,$(n," ")]," ")},ObjectTypeDefinition:{leave:({description:e,name:t,interfaces:n,directives:i,fields:s})=>k("",e,"\n")+$(["type",t,k("implements ",$(n," & ")),$(i," "),M(s)]," ")},FieldDefinition:{leave:({description:e,name:t,arguments:n,type:i,directives:s})=>k("",e,"\n")+t+(G(n)?k("(\n",B($(n,"\n")),"\n)"):k("(",$(n,", "),")"))+": "+i+k(" ",$(s," "))},InputValueDefinition:{leave:({description:e,name:t,type:n,defaultValue:i,directives:s})=>k("",e,"\n")+$([t+": "+n,k("= ",i),$(s," ")]," ")},InterfaceTypeDefinition:{leave:({description:e,name:t,interfaces:n,directives:i,fields:s})=>k("",e,"\n")+$(["interface",t,k("implements ",$(n," & ")),$(i," "),M(s)]," ")},UnionTypeDefinition:{leave:({description:e,name:t,directives:n,types:i})=>k("",e,"\n")+$(["union",t,$(n," "),k("= ",$(i," | "))]," ")},EnumTypeDefinition:{leave:({description:e,name:t,directives:n,values:i})=>k("",e,"\n")+$(["enum",t,$(n," "),M(i)]," ")},EnumValueDefinition:{leave:({description:e,name:t,directives:n})=>k("",e,"\n")+$([t,$(n," ")]," ")},InputObjectTypeDefinition:{leave:({description:e,name:t,directives:n,fields:i})=>k("",e,"\n")+$(["input",t,$(n," "),M(i)]," ")},DirectiveDefinition:{leave:({description:e,name:t,arguments:n,repeatable:i,locations:s})=>k("",e,"\n")+"directive @"+t+(G(n)?k("(\n",B($(n,"\n")),"\n)"):k("(",$(n,", "),")"))+(i?" repeatable":"")+" on "+$(s," | ")},SchemaExtension:{leave:({directives:e,operationTypes:t})=>$(["extend schema",$(e," "),M(t)]," ")},ScalarTypeExtension:{leave:({name:e,directives:t})=>$(["extend scalar",e,$(t," ")]," ")},ObjectTypeExtension:{leave:({name:e,interfaces:t,directives:n,fields:i})=>$(["extend type",e,k("implements ",$(t," & ")),$(n," "),M(i)]," ")},InterfaceTypeExtension:{leave:({name:e,interfaces:t,directives:n,fields:i})=>$(["extend interface",e,k("implements ",$(t," & ")),$(n," "),M(i)]," ")},UnionTypeExtension:{leave:({name:e,directives:t,types:n})=>$(["extend union",e,$(t," "),k("= ",$(n," | "))]," ")},EnumTypeExtension:{leave:({name:e,directives:t,values:n})=>$(["extend enum",e,$(t," "),M(n)]," ")},InputObjectTypeExtension:{leave:({name:e,directives:t,fields:n})=>$(["extend input",e,$(t," "),M(n)]," ")}};function $(e,t=""){var n;return null!==(n=null==e?void 0:e.filter(e=>e).join(t))&&void 0!==n?n:""}function M(e){return k("{\n",B($(e,"\n")),"\n}")}function k(e,t,n=""){return null!=t&&""!==t?e+t+n:""}function B(e){return k(" ",e.replace(/\n/g,"\n "))}function G(e){var t;return null!==(t=null==e?void 0:e.some(e=>e.includes("\n")))&&void 0!==t&&t}function P(e){return"object"==typeof e&&"function"==typeof(null==e?void 0:e[Symbol.iterator])}function J(e){return"object"==typeof e&&null!==e}function Q(e,t){const[n,i]=t?[e,t]:[void 0,e];let s=" Did you mean ";n&&(s+=n+" ");const r=i.map(e=>`"${e}"`);switch(r.length){case 0:return"";case 1:return s+r[0]+"?";case 2:return s+r[0]+" or "+r[1]+"?"}const o=r.slice(0,5),a=o.pop();return s+o.join(", ")+", or "+a+"?"}function Y(e){return e}s($,"join"),s(M,"block"),s(k,"wrap"),s(B,"indent"),s(G,"hasMultilineItems"),s(P,"isIterableObject"),s(J,"isObjectLike"),s(Q,"didYouMean"),s(Y,"identityFunc");const z=s(function(e,t){return e instanceof t},"instanceOf");function q(e,t){const n=Object.create(null);for(const i of e)n[t(i)]=i;return n}function H(e,t,n){const i=Object.create(null);for(const s of e)i[t(s)]=n(s);return i}function X(e,t){const n=Object.create(null);for(const i of Object.keys(e))n[i]=t(e[i],i);return n}function W(e,t){let n=0,i=0;for(;n<e.length&&i<t.length;){let s=e.charCodeAt(n),r=t.charCodeAt(i);if(Z(s)&&Z(r)){let o=0;do{++n,o=10*o+s-K,s=e.charCodeAt(n)}while(Z(s)&&o>0);let a=0;do{++i,a=10*a+r-K,r=t.charCodeAt(i)}while(Z(r)&&a>0);if(o<a)return-1;if(o>a)return 1}else{if(s<r)return-1;if(s>r)return 1;++n,++i}}return e.length-t.length}s(q,"keyMap"),s(H,"keyValMap"),s(X,"mapValue"),s(W,"naturalCompare");const K=48;function Z(e){return!isNaN(e)&&K<=e&&e<=57}function ee(e,t){const n=Object.create(null),i=new te(e),s=Math.floor(.4*e.length)+1;for(const e of t){const t=i.measure(e,s);void 0!==t&&(n[e]=t)}return Object.keys(n).sort((e,t)=>{const i=n[e]-n[t];return 0!==i?i:W(e,t)})}s(Z,"isDigit"),s(ee,"suggestionList");class te{constructor(e){this._input=e,this._inputLowerCase=e.toLowerCase(),this._inputArray=ne(this._inputLowerCase),this._rows=[new Array(e.length+1).fill(0),new Array(e.length+1).fill(0),new Array(e.length+1).fill(0)]}measure(e,t){if(this._input===e)return 0;const n=e.toLowerCase();if(this._inputLowerCase===n)return 1;let i=ne(n),s=this._inputArray;if(i.length<s.length){const e=i;i=s,s=e}const r=i.length,o=s.length;if(r-o>t)return;const a=this._rows;for(let e=0;e<=o;e++)a[0][e]=e;for(let e=1;e<=r;e++){const n=a[(e-1)%3],r=a[e%3];let l=r[0]=e;for(let t=1;t<=o;t++){const o=i[e-1]===s[t-1]?0:1;let u=Math.min(n[t]+1,r[t-1]+1,n[t-1]+o);if(e>1&&t>1&&i[e-1]===s[t-2]&&i[e-2]===s[t-1]){const n=a[(e-2)%3][t-2];u=Math.min(u,n+1)}u<l&&(l=u),r[t]=u}if(l>t)return}const l=a[r%3][o];return l<=t?l:void 0}}function ne(e){const t=e.length,n=new Array(t);for(let i=0;i<t;++i)n[i]=e.charCodeAt(i);return n}function ie(e){if(null==e)return Object.create(null);if(null===Object.getPrototypeOf(e))return e;const t=Object.create(null);for(const[n,i]of Object.entries(e))t[n]=i;return t}s(te,"LexicalDistance"),s(ne,"stringToArray"),s(ie,"toObjMap");const se=/\r\n|[\n\r]/g;function re(e,t){let n=0,i=1;for(const s of e.body.matchAll(se)){if("number"==typeof s.index||d(!1),s.index>=t)break;n=s.index+s[0].length,i+=1}return{line:i,column:t+1-n}}function oe(e){return ae(e.source,re(e.source,e.start))}function ae(e,t){const n=e.locationOffset.column-1,i="".padStart(n)+e.body,s=t.line-1,r=e.locationOffset.line-1,o=t.line+r,a=1===t.line?n:0,l=t.column+a,u=`${e.name}:${o}:${l}\n`,c=i.split(/\r\n|[\n\r]/g),p=c[s];if(p.length>120){const e=Math.floor(l/80),t=l%80,n=[];for(let e=0;e<p.length;e+=80)n.push(p.slice(e,e+80));return u+le([[`${o} |`,n[0]],...n.slice(1,e+1).map(e=>["|",e]),["|","^".padStart(t)],["|",n[e+1]]])}return u+le([[o-1+" |",c[s-1]],[`${o} |`,p],["|","^".padStart(l)],[`${o+1} |`,c[s+1]]])}function le(e){const t=e.filter(([e,t])=>void 0!==t),n=Math.max(...t.map(([e])=>e.length));return t.map(([e,t])=>e.padStart(n)+(t?" "+t:"")).join("\n")}function ue(e){const t=e[0];return null==t||"kind"in t||"length"in t?{nodes:t,source:e[1],positions:e[2],path:e[3],originalError:e[4],extensions:e[5]}:t}s(re,"getLocation"),s(oe,"printLocation"),s(ae,"printSourceLocation"),s(le,"printPrefixedLines"),s(ue,"toNormalizedOptions");class ce extends Error{constructor(e,...t){var n,i,s;const{nodes:r,source:o,positions:a,path:l,originalError:u,extensions:c}=ue(t);super(e),this.name="GraphQLError",this.path=null!=l?l:void 0,this.originalError=null!=u?u:void 0,this.nodes=pe(Array.isArray(r)?r:r?[r]:void 0);const p=pe(null===(n=this.nodes)||void 0===n?void 0:n.map(e=>e.loc).filter(e=>null!=e));this.source=null!=o?o:null==p||null===(i=p[0])||void 0===i?void 0:i.source,this.positions=null!=a?a:null==p?void 0:p.map(e=>e.start),this.locations=a&&o?a.map(e=>re(o,e)):null==p?void 0:p.map(e=>re(e.source,e.start));const d=J(null==u?void 0:u.extensions)?null==u?void 0:u.extensions:void 0;this.extensions=null!==(s=null!=c?c:d)&&void 0!==s?s:Object.create(null),Object.defineProperties(this,{message:{writable:!0,enumerable:!0},name:{enumerable:!1},nodes:{enumerable:!1},source:{enumerable:!1},positions:{enumerable:!1},originalError:{enumerable:!1}}),null!=u&&u.stack?Object.defineProperty(this,"stack",{value:u.stack,writable:!0,configurable:!0}):Error.captureStackTrace?Error.captureStackTrace(this,ce):Object.defineProperty(this,"stack",{value:Error().stack,writable:!0,configurable:!0})}get[Symbol.toStringTag](){return"GraphQLError"}toString(){let e=this.message;if(this.nodes)for(const t of this.nodes)t.loc&&(e+="\n\n"+oe(t.loc));else if(this.source&&this.locations)for(const t of this.locations)e+="\n\n"+ae(this.source,t);return e}toJSON(){const e={message:this.message};return null!=this.locations&&(e.locations=this.locations),null!=this.path&&(e.path=this.path),null!=this.extensions&&Object.keys(this.extensions).length>0&&(e.extensions=this.extensions),e}}function pe(e){return void 0===e||0===e.length?void 0:e}function de(e,t){switch(e.kind){case F.NULL:return null;case F.INT:return parseInt(e.value,10);case F.FLOAT:return parseFloat(e.value);case F.STRING:case F.ENUM:case F.BOOLEAN:return e.value;case F.LIST:return e.values.map(e=>de(e,t));case F.OBJECT:return H(e.fields,e=>e.name.value,e=>de(e.value,t));case F.VARIABLE:return null==t?void 0:t[e.name.value]}}function fe(e){if(null!=e||S(!1,"Must provide name."),"string"==typeof e||S(!1,"Expected name to be a string."),0===e.length)throw new ce("Expected name to be a non-empty string.");for(let t=1;t<e.length;++t)if(!T(e.charCodeAt(t)))throw new ce(`Names must only contain [_a-zA-Z0-9] but "${e}" does not.`);if(!N(e.charCodeAt(0)))throw new ce(`Names must start with [_a-zA-Z] but "${e}" does not.`);return e}function ve(e){if("true"===e||"false"===e||"null"===e)throw new ce(`Enum values cannot be named: ${e}`);return fe(e)}function he(e){return ye(e)||me(e)||Ne(e)||Te(e)||Ie(e)||Ee(e)||ge(e)||be(e)}function ye(e){return z(e,Fe)}function me(e){return z(e,xe)}function Ne(e){return z(e,Me)}function Te(e){return z(e,ke)}function Ie(e){return z(e,Ge)}function Ee(e){return z(e,Qe)}function ge(e){return z(e,Ae)}function be(e){return z(e,Le)}function Oe(e){return ye(e)||Ie(e)}function Se(e){return Ne(e)||Te(e)}s(ce,"GraphQLError"),s(pe,"undefinedIfEmpty"),s(de,"valueFromASTUntyped"),s(fe,"assertName"),s(ve,"assertEnumValueName"),s(he,"isType"),s(ye,"isScalarType"),s(me,"isObjectType"),s(Ne,"isInterfaceType"),s(Te,"isUnionType"),s(Ie,"isEnumType"),s(Ee,"isInputObjectType"),s(ge,"isListType"),s(be,"isNonNullType"),s(Oe,"isLeafType"),s(Se,"isAbstractType");class Ae{constructor(e){he(e)||S(!1,`Expected ${r(e)} to be a GraphQL type.`),this.ofType=e}get[Symbol.toStringTag](){return"GraphQLList"}toString(){return"["+String(this.ofType)+"]"}toJSON(){return this.toString()}}s(Ae,"GraphQLList");class Le{constructor(e){_e(e)||S(!1,`Expected ${r(e)} to be a GraphQL nullable type.`),this.ofType=e}get[Symbol.toStringTag](){return"GraphQLNonNull"}toString(){return String(this.ofType)+"!"}toJSON(){return this.toString()}}function _e(e){return he(e)&&!be(e)}function we(e){return"function"==typeof e?e():e}function De(e){return"function"==typeof e?e():e}s(Le,"GraphQLNonNull"),s(_e,"isNullableType"),s(we,"resolveReadonlyArrayThunk"),s(De,"resolveObjMapThunk");class Fe{constructor(e){var t,n,i,s;const o=null!==(t=e.parseValue)&&void 0!==t?t:Y;this.name=fe(e.name),this.description=e.description,this.specifiedByURL=e.specifiedByURL,this.serialize=null!==(n=e.serialize)&&void 0!==n?n:Y,this.parseValue=o,this.parseLiteral=null!==(i=e.parseLiteral)&&void 0!==i?i:(e,t)=>o(de(e,t)),this.extensions=ie(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=null!==(s=e.extensionASTNodes)&&void 0!==s?s:[],null==e.specifiedByURL||"string"==typeof e.specifiedByURL||S(!1,`${this.name} must provide "specifiedByURL" as a string, but got: ${r(e.specifiedByURL)}.`),null==e.serialize||"function"==typeof e.serialize||S(!1,`${this.name} must provide "serialize" function. If this custom Scalar is also used as an input type, ensure "parseValue" and "parseLiteral" functions are also provided.`),e.parseLiteral&&("function"==typeof e.parseValue&&"function"==typeof e.parseLiteral||S(!1,`${this.name} must provide both "parseValue" and "parseLiteral" functions.`))}get[Symbol.toStringTag](){return"GraphQLScalarType"}toConfig(){return{name:this.name,description:this.description,specifiedByURL:this.specifiedByURL,serialize:this.serialize,parseValue:this.parseValue,parseLiteral:this.parseLiteral,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes}}toString(){return this.name}toJSON(){return this.toString()}}s(Fe,"GraphQLScalarType");class xe{constructor(e){var t;this.name=fe(e.name),this.description=e.description,this.isTypeOf=e.isTypeOf,this.extensions=ie(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=null!==(t=e.extensionASTNodes)&&void 0!==t?t:[],this._fields=()=>je(e),this._interfaces=()=>Re(e),null==e.isTypeOf||"function"==typeof e.isTypeOf||S(!1,`${this.name} must provide "isTypeOf" as a function, but got: ${r(e.isTypeOf)}.`)}get[Symbol.toStringTag](){return"GraphQLObjectType"}getFields(){return"function"==typeof this._fields&&(this._fields=this._fields()),this._fields}getInterfaces(){return"function"==typeof this._interfaces&&(this._interfaces=this._interfaces()),this._interfaces}toConfig(){return{name:this.name,description:this.description,interfaces:this.getInterfaces(),fields:Ce(this.getFields()),isTypeOf:this.isTypeOf,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes}}toString(){return this.name}toJSON(){return this.toString()}}function Re(e){var t;const n=we(null!==(t=e.interfaces)&&void 0!==t?t:[]);return Array.isArray(n)||S(!1,`${e.name} interfaces must be an Array or a function which returns an Array.`),n}function je(e){const t=De(e.fields);return Ve(t)||S(!1,`${e.name} fields must be an object with field names as keys or a function which returns such an object.`),X(t,(t,n)=>{var i;Ve(t)||S(!1,`${e.name}.${n} field config must be an object.`),null==t.resolve||"function"==typeof t.resolve||S(!1,`${e.name}.${n} field resolver must be a function if provided, but got: ${r(t.resolve)}.`);const s=null!==(i=t.args)&&void 0!==i?i:{};return Ve(s)||S(!1,`${e.name}.${n} args must be an object with argument names as keys.`),{name:fe(n),description:t.description,type:t.type,args:Ue(s),resolve:t.resolve,subscribe:t.subscribe,deprecationReason:t.deprecationReason,extensions:ie(t.extensions),astNode:t.astNode}})}function Ue(e){return Object.entries(e).map(([e,t])=>({name:fe(e),description:t.description,type:t.type,defaultValue:t.defaultValue,deprecationReason:t.deprecationReason,extensions:ie(t.extensions),astNode:t.astNode}))}function Ve(e){return J(e)&&!Array.isArray(e)}function Ce(e){return X(e,e=>({description:e.description,type:e.type,args:$e(e.args),resolve:e.resolve,subscribe:e.subscribe,deprecationReason:e.deprecationReason,extensions:e.extensions,astNode:e.astNode}))}function $e(e){return H(e,e=>e.name,e=>({description:e.description,type:e.type,defaultValue:e.defaultValue,deprecationReason:e.deprecationReason,extensions:e.extensions,astNode:e.astNode}))}s(xe,"GraphQLObjectType"),s(Re,"defineInterfaces"),s(je,"defineFieldMap"),s(Ue,"defineArguments"),s(Ve,"isPlainObj"),s(Ce,"fieldsToFieldsConfig"),s($e,"argsToArgsConfig");class Me{constructor(e){var t;this.name=fe(e.name),this.description=e.description,this.resolveType=e.resolveType,this.extensions=ie(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=null!==(t=e.extensionASTNodes)&&void 0!==t?t:[],this._fields=je.bind(void 0,e),this._interfaces=Re.bind(void 0,e),null==e.resolveType||"function"==typeof e.resolveType||S(!1,`${this.name} must provide "resolveType" as a function, but got: ${r(e.resolveType)}.`)}get[Symbol.toStringTag](){return"GraphQLInterfaceType"}getFields(){return"function"==typeof this._fields&&(this._fields=this._fields()),this._fields}getInterfaces(){return"function"==typeof this._interfaces&&(this._interfaces=this._interfaces()),this._interfaces}toConfig(){return{name:this.name,description:this.description,interfaces:this.getInterfaces(),fields:Ce(this.getFields()),resolveType:this.resolveType,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes}}toString(){return this.name}toJSON(){return this.toString()}}s(Me,"GraphQLInterfaceType");class ke{constructor(e){var t;this.name=fe(e.name),this.description=e.description,this.resolveType=e.resolveType,this.extensions=ie(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=null!==(t=e.extensionASTNodes)&&void 0!==t?t:[],this._types=Be.bind(void 0,e),null==e.resolveType||"function"==typeof e.resolveType||S(!1,`${this.name} must provide "resolveType" as a function, but got: ${r(e.resolveType)}.`)}get[Symbol.toStringTag](){return"GraphQLUnionType"}getTypes(){return"function"==typeof this._types&&(this._types=this._types()),this._types}toConfig(){return{name:this.name,description:this.description,types:this.getTypes(),resolveType:this.resolveType,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes}}toString(){return this.name}toJSON(){return this.toString()}}function Be(e){const t=we(e.types);return Array.isArray(t)||S(!1,`Must provide Array of types or a function which returns such an array for Union ${e.name}.`),t}s(ke,"GraphQLUnionType"),s(Be,"defineTypes");class Ge{constructor(e){var t;this.name=fe(e.name),this.description=e.description,this.extensions=ie(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=null!==(t=e.extensionASTNodes)&&void 0!==t?t:[],this._values=Je(this.name,e.values),this._valueLookup=new Map(this._values.map(e=>[e.value,e])),this._nameLookup=q(this._values,e=>e.name)}get[Symbol.toStringTag](){return"GraphQLEnumType"}getValues(){return this._values}getValue(e){return this._nameLookup[e]}serialize(e){const t=this._valueLookup.get(e);if(void 0===t)throw new ce(`Enum "${this.name}" cannot represent value: ${r(e)}`);return t.name}parseValue(e){if("string"!=typeof e){const t=r(e);throw new ce(`Enum "${this.name}" cannot represent non-string value: ${t}.`+Pe(this,t))}const t=this.getValue(e);if(null==t)throw new ce(`Value "${e}" does not exist in "${this.name}" enum.`+Pe(this,e));return t.value}parseLiteral(e,t){if(e.kind!==F.ENUM){const t=V(e);throw new ce(`Enum "${this.name}" cannot represent non-enum value: ${t}.`+Pe(this,t),{nodes:e})}const n=this.getValue(e.value);if(null==n){const t=V(e);throw new ce(`Value "${t}" does not exist in "${this.name}" enum.`+Pe(this,t),{nodes:e})}return n.value}toConfig(){const e=H(this.getValues(),e=>e.name,e=>({description:e.description,value:e.value,deprecationReason:e.deprecationReason,extensions:e.extensions,astNode:e.astNode}));return{name:this.name,description:this.description,values:e,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes}}toString(){return this.name}toJSON(){return this.toString()}}function Pe(e,t){return Q("the enum value",ee(t,e.getValues().map(e=>e.name)))}function Je(e,t){return Ve(t)||S(!1,`${e} values must be an object with value names as keys.`),Object.entries(t).map(([t,n])=>(Ve(n)||S(!1,`${e}.${t} must refer to an object with a "value" key representing an internal value but got: ${r(n)}.`),{name:ve(t),description:n.description,value:void 0!==n.value?n.value:t,deprecationReason:n.deprecationReason,extensions:ie(n.extensions),astNode:n.astNode}))}s(Ge,"GraphQLEnumType"),s(Pe,"didYouMeanEnumValue"),s(Je,"defineEnumValues");class Qe{constructor(e){var t;this.name=fe(e.name),this.description=e.description,this.extensions=ie(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=null!==(t=e.extensionASTNodes)&&void 0!==t?t:[],this._fields=Ye.bind(void 0,e)}get[Symbol.toStringTag](){return"GraphQLInputObjectType"}getFields(){return"function"==typeof this._fields&&(this._fields=this._fields()),this._fields}toConfig(){const e=X(this.getFields(),e=>({description:e.description,type:e.type,defaultValue:e.defaultValue,deprecationReason:e.deprecationReason,extensions:e.extensions,astNode:e.astNode}));return{name:this.name,description:this.description,fields:e,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes}}toString(){return this.name}toJSON(){return this.toString()}}function Ye(e){const t=De(e.fields);return Ve(t)||S(!1,`${e.name} fields must be an object with field names as keys or a function which returns such an object.`),X(t,(t,n)=>(!("resolve"in t)||S(!1,`${e.name}.${n} field has a resolve property, but Input Types cannot define resolvers.`),{name:fe(n),description:t.description,type:t.type,defaultValue:t.defaultValue,deprecationReason:t.deprecationReason,extensions:ie(t.extensions),astNode:t.astNode}))}s(Qe,"GraphQLInputObjectType"),s(Ye,"defineInputFieldMap");const ze=2147483647,qe=-2147483648,He=new Fe({name:"Int",description:"The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.",serialize(e){const t=et(e);if("boolean"==typeof t)return t?1:0;let n=t;if("string"==typeof t&&""!==t&&(n=Number(t)),"number"!=typeof n||!Number.isInteger(n))throw new ce(`Int cannot represent non-integer value: ${r(t)}`);if(n>ze||n<qe)throw new ce("Int cannot represent non 32-bit signed integer value: "+r(t));return n},parseValue(e){if("number"!=typeof e||!Number.isInteger(e))throw new ce(`Int cannot represent non-integer value: ${r(e)}`);if(e>ze||e<qe)throw new ce(`Int cannot represent non 32-bit signed integer value: ${e}`);return e},parseLiteral(e){if(e.kind!==F.INT)throw new ce(`Int cannot represent non-integer value: ${V(e)}`,{nodes:e});const t=parseInt(e.value,10);if(t>ze||t<qe)throw new ce(`Int cannot represent non 32-bit signed integer value: ${e.value}`,{nodes:e});return t}}),Xe=new Fe({name:"Float",description:"The `Float` scalar type represents signed double-precision fractional values as specified by [IEEE 754](https://en.wikipedia.org/wiki/IEEE_floating_point).",serialize(e){const t=et(e);if("boolean"==typeof t)return t?1:0;let n=t;if("string"==typeof t&&""!==t&&(n=Number(t)),"number"!=typeof n||!Number.isFinite(n))throw new ce(`Float cannot represent non numeric value: ${r(t)}`);return n},parseValue(e){if("number"!=typeof e||!Number.isFinite(e))throw new ce(`Float cannot represent non numeric value: ${r(e)}`);return e},parseLiteral(e){if(e.kind!==F.FLOAT&&e.kind!==F.INT)throw new ce(`Float cannot represent non numeric value: ${V(e)}`,e);return parseFloat(e.value)}}),We=new Fe({name:"String",description:"The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.",serialize(e){const t=et(e);if("string"==typeof t)return t;if("boolean"==typeof t)return t?"true":"false";if("number"==typeof t&&Number.isFinite(t))return t.toString();throw new ce(`String cannot represent value: ${r(e)}`)},parseValue(e){if("string"!=typeof e)throw new ce(`String cannot represent a non string value: ${r(e)}`);return e},parseLiteral(e){if(e.kind!==F.STRING)throw new ce(`String cannot represent a non string value: ${V(e)}`,{nodes:e});return e.value}}),Ke=new Fe({name:"Boolean",description:"The `Boolean` scalar type represents `true` or `false`.",serialize(e){const t=et(e);if("boolean"==typeof t)return t;if(Number.isFinite(t))return 0!==t;throw new ce(`Boolean cannot represent a non boolean value: ${r(t)}`)},parseValue(e){if("boolean"!=typeof e)throw new ce(`Boolean cannot represent a non boolean value: ${r(e)}`);return e},parseLiteral(e){if(e.kind!==F.BOOLEAN)throw new ce(`Boolean cannot represent a non boolean value: ${V(e)}`,{nodes:e});return e.value}}),Ze=new Fe({name:"ID",description:'The `ID` scalar type represents a unique identifier, often used to refetch an object or as key for a cache. The ID type appears in a JSON response as a String; however, it is not intended to be human-readable. When expected as an input type, any string (such as `"4"`) or integer (such as `4`) input value will be accepted as an ID.',serialize(e){const t=et(e);if("string"==typeof t)return t;if(Number.isInteger(t))return String(t);throw new ce(`ID cannot represent value: ${r(e)}`)},parseValue(e){if("string"==typeof e)return e;if("number"==typeof e&&Number.isInteger(e))return e.toString();throw new ce(`ID cannot represent value: ${r(e)}`)},parseLiteral(e){if(e.kind!==F.STRING&&e.kind!==F.INT)throw new ce("ID cannot represent a non-string and non-integer value: "+V(e),{nodes:e});return e.value}});function et(e){if(J(e)){if("function"==typeof e.valueOf){const t=e.valueOf();if(!J(t))return t}if("function"==typeof e.toJSON)return e.toJSON()}return e}function tt(e,t){if(be(t)){const n=tt(e,t.ofType);return(null==n?void 0:n.kind)===F.NULL?null:n}if(null===e)return{kind:F.NULL};if(void 0===e)return null;if(ge(t)){const n=t.ofType;if(P(e)){const t=[];for(const i of e){const e=tt(i,n);null!=e&&t.push(e)}return{kind:F.LIST,values:t}}return tt(e,n)}if(Ee(t)){if(!J(e))return null;const n=[];for(const i of Object.values(t.getFields())){const t=tt(e[i.name],i.type);t&&n.push({kind:F.OBJECT_FIELD,name:{kind:F.NAME,value:i.name},value:t})}return{kind:F.OBJECT,fields:n}}if(Oe(t)){const n=t.serialize(e);if(null==n)return null;if("boolean"==typeof n)return{kind:F.BOOLEAN,value:n};if("number"==typeof n&&Number.isFinite(n)){const e=String(n);return nt.test(e)?{kind:F.INT,value:e}:{kind:F.FLOAT,value:e}}if("string"==typeof n)return Ie(t)?{kind:F.ENUM,value:n}:t===Ze&&nt.test(n)?{kind:F.INT,value:n}:{kind:F.STRING,value:n};throw new TypeError(`Cannot convert value to AST: ${r(n)}.`)}d(!1,"Unexpected input type: "+r(t))}Object.freeze([We,He,Xe,Ke,Ze]),s(et,"serializeObject"),s(tt,"astFromValue");const nt=/^-?(?:0|[1-9][0-9]*)$/,it=new xe({name:"__Schema",description:"A GraphQL Schema defines the capabilities of a GraphQL server. It exposes all available types and directives on the server, as well as the entry points for query, mutation, and subscription operations.",fields:()=>({description:{type:We,resolve:e=>e.description},types:{description:"A list of all types supported by this server.",type:new Le(new Ae(new Le(ot))),resolve:e=>Object.values(e.getTypeMap())},queryType:{description:"The type that query operations will be rooted at.",type:new Le(ot),resolve:e=>e.getQueryType()},mutationType:{description:"If this server supports mutation, the type that mutation operations will be rooted at.",type:ot,resolve:e=>e.getMutationType()},subscriptionType:{description:"If this server support subscription, the type that subscription operations will be rooted at.",type:ot,resolve:e=>e.getSubscriptionType()},directives:{description:"A list of all directives supported by this server.",type:new Le(new Ae(new Le(st))),resolve:e=>e.getDirectives()}})}),st=new xe({name:"__Directive",description:"A Directive provides a way to describe alternate runtime execution and type validation behavior in a GraphQL document.\n\nIn some cases, you need to provide options to alter GraphQL's execution behavior in ways field arguments will not suffice, such as conditionally including or skipping a field. Directives provide this by describing additional information to the executor.",fields:()=>({name:{type:new Le(We),resolve:e=>e.name},description:{type:We,resolve:e=>e.description},isRepeatable:{type:new Le(Ke),resolve:e=>e.isRepeatable},locations:{type:new Le(new Ae(new Le(rt))),resolve:e=>e.locations},args:{type:new Le(new Ae(new Le(lt))),args:{includeDeprecated:{type:Ke,defaultValue:!1}},resolve:(e,{includeDeprecated:t})=>t?e.args:e.args.filter(e=>null==e.deprecationReason)}})}),rt=new Ge({name:"__DirectiveLocation",description:"A Directive can be adjacent to many parts of the GraphQL language, a __DirectiveLocation describes one such possible adjacencies.",values:{QUERY:{value:f.QUERY,description:"Location adjacent to a query operation."},MUTATION:{value:f.MUTATION,description:"Location adjacent to a mutation operation."},SUBSCRIPTION:{value:f.SUBSCRIPTION,description:"Location adjacent to a subscription operation."},FIELD:{value:f.FIELD,description:"Location adjacent to a field."},FRAGMENT_DEFINITION:{value:f.FRAGMENT_DEFINITION,description:"Location adjacent to a fragment definition."},FRAGMENT_SPREAD:{value:f.FRAGMENT_SPREAD,description:"Location adjacent to a fragment spread."},INLINE_FRAGMENT:{value:f.INLINE_FRAGMENT,description:"Location adjacent to an inline fragment."},VARIABLE_DEFINITION:{value:f.VARIABLE_DEFINITION,description:"Location adjacent to a variable definition."},SCHEMA:{value:f.SCHEMA,description:"Location adjacent to a schema definition."},SCALAR:{value:f.SCALAR,description:"Location adjacent to a scalar definition."},OBJECT:{value:f.OBJECT,description:"Location adjacent to an object type definition."},FIELD_DEFINITION:{value:f.FIELD_DEFINITION,description:"Location adjacent to a field definition."},ARGUMENT_DEFINITION:{value:f.ARGUMENT_DEFINITION,description:"Location adjacent to an argument definition."},INTERFACE:{value:f.INTERFACE,description:"Location adjacent to an interface definition."},UNION:{value:f.UNION,description:"Location adjacent to a union definition."},ENUM:{value:f.ENUM,description:"Location adjacent to an enum definition."},ENUM_VALUE:{value:f.ENUM_VALUE,description:"Location adjacent to an enum value definition."},INPUT_OBJECT:{value:f.INPUT_OBJECT,description:"Location adjacent to an input object type definition."},INPUT_FIELD_DEFINITION:{value:f.INPUT_FIELD_DEFINITION,description:"Location adjacent to an input object field definition."}}}),ot=new xe({name:"__Type",description:"The fundamental unit of any GraphQL Schema is the type. There are many kinds of types in GraphQL as represented by the `__TypeKind` enum.\n\nDepending on the kind of a type, certain fields describe information about that type. Scalar types provide no information beyond a name, description and optional `specifiedByURL`, while Enum types provide their values. Object and Interface types provide the fields they describe. Abstract types, Union and Interface, provide the Object types possible at runtime. List and NonNull types compose other types.",fields:()=>({kind:{type:new Le(dt),resolve:e=>ye(e)?ct.SCALAR:me(e)?ct.OBJECT:Ne(e)?ct.INTERFACE:Te(e)?ct.UNION:Ie(e)?ct.ENUM:Ee(e)?ct.INPUT_OBJECT:ge(e)?ct.LIST:be(e)?ct.NON_NULL:void d(!1,`Unexpected type: "${r(e)}".`)},name:{type:We,resolve:e=>"name"in e?e.name:void 0},description:{type:We,resolve:e=>"description"in e?e.description:void 0},specifiedByURL:{type:We,resolve:e=>"specifiedByURL"in e?e.specifiedByURL:void 0},fields:{type:new Ae(new Le(at)),args:{includeDeprecated:{type:Ke,defaultValue:!1}},resolve(e,{includeDeprecated:t}){if(me(e)||Ne(e)){const n=Object.values(e.getFields());return t?n:n.filter(e=>null==e.deprecationReason)}}},interfaces:{type:new Ae(new Le(ot)),resolve(e){if(me(e)||Ne(e))return e.getInterfaces()}},possibleTypes:{type:new Ae(new Le(ot)),resolve(e,t,n,{schema:i}){if(Se(e))return i.getPossibleTypes(e)}},enumValues:{type:new Ae(new Le(ut)),args:{includeDeprecated:{type:Ke,defaultValue:!1}},resolve(e,{includeDeprecated:t}){if(Ie(e)){const n=e.getValues();return t?n:n.filter(e=>null==e.deprecationReason)}}},inputFields:{type:new Ae(new Le(lt)),args:{includeDeprecated:{type:Ke,defaultValue:!1}},resolve(e,{includeDeprecated:t}){if(Ee(e)){const n=Object.values(e.getFields());return t?n:n.filter(e=>null==e.deprecationReason)}}},ofType:{type:ot,resolve:e=>"ofType"in e?e.ofType:void 0}})}),at=new xe({name:"__Field",description:"Object and Interface types are described by a list of Fields, each of which has a name, potentially a list of arguments, and a return type.",fields:()=>({name:{type:new Le(We),resolve:e=>e.name},description:{type:We,resolve:e=>e.description},args:{type:new Le(new Ae(new Le(lt))),args:{includeDeprecated:{type:Ke,defaultValue:!1}},resolve:(e,{includeDeprecated:t})=>t?e.args:e.args.filter(e=>null==e.deprecationReason)},type:{type:new Le(ot),resolve:e=>e.type},isDeprecated:{type:new Le(Ke),resolve:e=>null!=e.deprecationReason},deprecationReason:{type:We,resolve:e=>e.deprecationReason}})}),lt=new xe({name:"__InputValue",description:"Arguments provided to Fields or Directives and the input fields of an InputObject are represented as Input Values which describe their type and optionally a default value.",fields:()=>({name:{type:new Le(We),resolve:e=>e.name},description:{type:We,resolve:e=>e.description},type:{type:new Le(ot),resolve:e=>e.type},defaultValue:{type:We,description:"A GraphQL-formatted string representing the default value for this input value.",resolve(e){const{type:t,defaultValue:n}=e,i=tt(n,t);return i?V(i):null}},isDeprecated:{type:new Le(Ke),resolve:e=>null!=e.deprecationReason},deprecationReason:{type:We,resolve:e=>e.deprecationReason}})}),ut=new xe({name:"__EnumValue",description:"One possible value for a given Enum. Enum values are unique values, not a placeholder for a string or numeric value. However an Enum value is returned in a JSON response as a string.",fields:()=>({name:{type:new Le(We),resolve:e=>e.name},description:{type:We,resolve:e=>e.description},isDeprecated:{type:new Le(Ke),resolve:e=>null!=e.deprecationReason},deprecationReason:{type:We,resolve:e=>e.deprecationReason}})});let ct;var pt;(pt=ct||(ct={})).SCALAR="SCALAR",pt.OBJECT="OBJECT",pt.INTERFACE="INTERFACE",pt.UNION="UNION",pt.ENUM="ENUM",pt.INPUT_OBJECT="INPUT_OBJECT",pt.LIST="LIST",pt.NON_NULL="NON_NULL";const dt=new Ge({name:"__TypeKind",description:"An enum describing what kind of type a given `__Type` is.",values:{SCALAR:{value:ct.SCALAR,description:"Indicates this type is a scalar."},OBJECT:{value:ct.OBJECT,description:"Indicates this type is an object. `fields` and `interfaces` are valid fields."},INTERFACE:{value:ct.INTERFACE,description:"Indicates this type is an interface. `fields`, `interfaces`, and `possibleTypes` are valid fields."},UNION:{value:ct.UNION,description:"Indicates this type is a union. `possibleTypes` is a valid field."},ENUM:{value:ct.ENUM,description:"Indicates this type is an enum. `enumValues` is a valid field."},INPUT_OBJECT:{value:ct.INPUT_OBJECT,description:"Indicates this type is an input object. `inputFields` is a valid field."},LIST:{value:ct.LIST,description:"Indicates this type is a list. `ofType` is a valid field."},NON_NULL:{value:ct.NON_NULL,description:"Indicates this type is a non-null. `ofType` is a valid field."}}}),ft={name:"__schema",type:new Le(it),description:"Access the current type schema of this server.",args:[],resolve:(e,t,n,{schema:i})=>i,deprecationReason:void 0,extensions:Object.create(null),astNode:void 0},vt={name:"__type",type:ot,description:"Request the type information of a single type.",args:[{name:"name",description:void 0,type:new Le(We),defaultValue:void 0,deprecationReason:void 0,extensions:Object.create(null),astNode:void 0}],resolve:(e,{name:t},n,{schema:i})=>i.getType(t),deprecationReason:void 0,extensions:Object.create(null),astNode:void 0},ht={name:"__typename",type:new Le(We),description:"The name of the current Object type at runtime.",args:[],resolve:(e,t,n,{parentType:i})=>i.name,deprecationReason:void 0,extensions:Object.create(null),astNode:void 0};Object.freeze([it,st,rt,ot,at,lt,ut,dt])}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunk=self.webpackChunk||[]).push([[19],{66019(e,r,n){n.d(r,{b:()=>f});var t=n(38950),i=Object.defineProperty,o=(e,r)=>i(e,"name",{value:r,configurable:!0});function l(e,r){return r.forEach(function(r){r&&"string"!=typeof r&&!Array.isArray(r)&&Object.keys(r).forEach(function(n){if("default"!==n&&!(n in e)){var t=Object.getOwnPropertyDescriptor(r,n);Object.defineProperty(e,n,t.get?t:{enumerable:!0,get:function(){return r[n]}})}})}),Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}o(l,"_mergeNamespaces");var a={exports:{}};!function(e){function r(r){return function(n,t){var i=t.line,l=n.getLine(i);function a(r){for(var o,a=t.ch,f=0;;){var u=a<=0?-1:l.lastIndexOf(r[0],a-1);if(-1!=u){if(1==f&&u<t.ch)break;if(o=n.getTokenTypeAt(e.Pos(i,u+1)),!/^(comment|string)/.test(o))return{ch:u+1,tokenType:o,pair:r};a=u-1}else{if(1==f)break;f=1,a=l.length}}}function f(r){var t,o,l=1,a=n.lastLine(),f=r.ch;e:for(var u=i;u<=a;++u)for(var s=n.getLine(u),c=u==i?f:0;;){var p=s.indexOf(r.pair[0],c),g=s.indexOf(r.pair[1],c);if(p<0&&(p=s.length),g<0&&(g=s.length),(c=Math.min(p,g))==s.length)break;if(n.getTokenTypeAt(e.Pos(u,c+1))==r.tokenType)if(c==p)++l;else if(! --l){t=u,o=c;break e}++c}return null==t||i==t?null:{from:e.Pos(i,f),to:e.Pos(t,o)}}o(a,"findOpening"),o(f,"findRange");for(var u=[],s=0;s<r.length;s++){var c=a(r[s]);c&&u.push(c)}for(u.sort(function(e,r){return e.ch-r.ch}),s=0;s<u.length;s++){var p=f(u[s]);if(p)return p}return null}}o(r,"bracketFolding"),e.registerHelper("fold","brace",r([["{","}"],["[","]"]])),e.registerHelper("fold","brace-paren",r([["{","}"],["[","]"],["(",")"]])),e.registerHelper("fold","import",function(r,n){function t(n){if(n<r.firstLine()||n>r.lastLine())return null;var t=r.getTokenAt(e.Pos(n,1));if(/\S/.test(t.string)||(t=r.getTokenAt(e.Pos(n,t.end+1))),"keyword"!=t.type||"import"!=t.string)return null;for(var i=n,o=Math.min(r.lastLine(),n+10);i<=o;++i){var l=r.getLine(i).indexOf(";");if(-1!=l)return{startCh:t.end,end:e.Pos(i,l)}}}o(t,"hasImport");var i,l=n.line,a=t(l);if(!a||t(l-1)||(i=t(l-2))&&i.end.line==l-1)return null;for(var f=a.end;;){var u=t(f.line+1);if(null==u)break;f=u.end}return{from:r.clipPos(e.Pos(l,a.startCh+1)),to:f}}),e.registerHelper("fold","include",function(r,n){function t(n){if(n<r.firstLine()||n>r.lastLine())return null;var t=r.getTokenAt(e.Pos(n,1));return/\S/.test(t.string)||(t=r.getTokenAt(e.Pos(n,t.end+1))),"meta"==t.type&&"#include"==t.string.slice(0,8)?t.start+8:void 0}o(t,"hasInclude");var i=n.line,l=t(i);if(null==l||null!=t(i-1))return null;for(var a=i;null!=t(a+1);)++a;return{from:e.Pos(i,l+1),to:r.clipPos(e.Pos(a))}})}(t.a.exports);var f=l({__proto__:null,default:a.exports},[a.exports])}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunk=self.webpackChunk||[]).push([[120,221],{71120(e,o,t){t.d(o,{a:()=>u,d:()=>s});var n=t(38950),r=Object.defineProperty,i=(e,o)=>r(e,"name",{value:o,configurable:!0});function a(e,o){return o.forEach(function(o){o&&"string"!=typeof o&&!Array.isArray(o)&&Object.keys(o).forEach(function(t){if("default"!==t&&!(t in e)){var n=Object.getOwnPropertyDescriptor(o,t);Object.defineProperty(e,t,n.get?n:{enumerable:!0,get:function(){return o[t]}})}})}),Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}i(a,"_mergeNamespaces");var u={exports:{}};!function(e){function o(o,t,n){var r,i=o.getWrapperElement();return(r=i.appendChild(document.createElement("div"))).className=n?"CodeMirror-dialog CodeMirror-dialog-bottom":"CodeMirror-dialog CodeMirror-dialog-top","string"==typeof t?r.innerHTML=t:r.appendChild(t),e.addClass(i,"dialog-opened"),r}function t(e,o){e.state.currentNotificationClose&&e.state.currentNotificationClose(),e.state.currentNotificationClose=o}i(o,"dialogDiv"),i(t,"closeNotification"),e.defineExtension("openDialog",function(n,r,a){a||(a={}),t(this,null);var u=o(this,n,a.bottom),s=!1,l=this;function c(o){if("string"==typeof o)p.value=o;else{if(s)return;s=!0,e.rmClass(u.parentNode,"dialog-opened"),u.parentNode.removeChild(u),l.focus(),a.onClose&&a.onClose(u)}}i(c,"close");var f,p=u.getElementsByTagName("input")[0];return p?(p.focus(),a.value&&(p.value=a.value,!1!==a.selectValueOnOpen&&p.select()),a.onInput&&e.on(p,"input",function(e){a.onInput(e,p.value,c)}),a.onKeyUp&&e.on(p,"keyup",function(e){a.onKeyUp(e,p.value,c)}),e.on(p,"keydown",function(o){a&&a.onKeyDown&&a.onKeyDown(o,p.value,c)||((27==o.keyCode||!1!==a.closeOnEnter&&13==o.keyCode)&&(p.blur(),e.e_stop(o),c()),13==o.keyCode&&r(p.value,o))}),!1!==a.closeOnBlur&&e.on(u,"focusout",function(e){null!==e.relatedTarget&&c()})):(f=u.getElementsByTagName("button")[0])&&(e.on(f,"click",function(){c(),l.focus()}),!1!==a.closeOnBlur&&e.on(f,"blur",c),f.focus()),c}),e.defineExtension("openConfirm",function(n,r,a){t(this,null);var u=o(this,n,a&&a.bottom),s=u.getElementsByTagName("button"),l=!1,c=this,f=1;function p(){l||(l=!0,e.rmClass(u.parentNode,"dialog-opened"),u.parentNode.removeChild(u),c.focus())}i(p,"close"),s[0].focus();for(var d=0;d<s.length;++d){var m=s[d];(function(o){e.on(m,"click",function(t){e.e_preventDefault(t),p(),o&&o(c)})})(r[d]),e.on(m,"blur",function(){--f,setTimeout(function(){f<=0&&p()},200)}),e.on(m,"focus",function(){++f})}}),e.defineExtension("openNotification",function(n,r){t(this,c);var a,u=o(this,n,r&&r.bottom),s=!1,l=r&&void 0!==r.duration?r.duration:5e3;function c(){s||(s=!0,clearTimeout(a),e.rmClass(u.parentNode,"dialog-opened"),u.parentNode.removeChild(u))}return i(c,"close"),e.on(u,"click",function(o){e.e_preventDefault(o),c()}),l&&(a=setTimeout(c,l)),c})}(n.a.exports);var s=a({__proto__:null,default:u.exports},[u.exports])},36221(e,o,t){t.d(o,{j:()=>l});var n=t(38950),r=t(71120),i=Object.defineProperty,a=(e,o)=>i(e,"name",{value:o,configurable:!0});function u(e,o){return o.forEach(function(o){o&&"string"!=typeof o&&!Array.isArray(o)&&Object.keys(o).forEach(function(t){if("default"!==t&&!(t in e)){var n=Object.getOwnPropertyDescriptor(o,t);Object.defineProperty(e,t,n.get?n:{enumerable:!0,get:function(){return o[t]}})}})}),Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}a(u,"_mergeNamespaces");var s={exports:{}};!function(e){function o(e,o,t,n,r){e.openDialog?e.openDialog(o,r,{value:n,selectValueOnOpen:!0,bottom:e.options.search.bottom}):r(prompt(t,n))}function t(e){return e.phrase("Jump to line:")+' <input type="text" style="width: 10em" class="CodeMirror-search-field"/> <span style="color: #888" class="CodeMirror-search-hint">'+e.phrase("(Use line:column or scroll% syntax)")+"</span>"}function n(e,o){var t=Number(o);return/^[-+]/.test(o)?e.getCursor().line+t:t-1}e.defineOption("search",{bottom:!1}),a(o,"dialog"),a(t,"getJumpDialog"),a(n,"interpretLine"),e.commands.jumpToLine=function(e){var r=e.getCursor();o(e,t(e),e.phrase("Jump to line:"),r.line+1+":"+r.ch,function(o){var t;if(o)if(t=/^\s*([\+\-]?\d+)\s*\:\s*(\d+)\s*$/.exec(o))e.setCursor(n(e,t[1]),Number(t[2]));else if(t=/^\s*([\+\-]?\d+(\.\d+)?)\%\s*/.exec(o)){var i=Math.round(e.lineCount()*Number(t[1])/100);/^[-+]/.test(t[1])&&(i=r.line+i+1),e.setCursor(i-1,r.ch)}else(t=/^\s*\:?\s*([\+\-]?\d+)\s*/.exec(o))&&e.setCursor(n(e,t[1]),r.ch)})},e.keyMap.default["Alt-G"]="jumpToLine"}(n.a.exports,r.a.exports);var l=u({__proto__:null,default:s.exports},[s.exports])}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunk=self.webpackChunk||[]).push([[372],{46372(e,t,a){a.r(t);var l=a(38950),n=a(2629),u=(a(75909),a(63696),a(78325),Object.defineProperty),r=(e,t)=>u(e,"name",{value:t,configurable:!0});function i(e,t){var a,l;const n=e.levels;return((n&&0!==n.length?n[n.length-1]-((null===(a=this.electricInput)||void 0===a?void 0:a.test(t))?1:0):e.indentLevel)||0)*((null===(l=this.config)||void 0===l?void 0:l.indentUnit)||0)}l.C.defineMode("graphql-variables",e=>{const t=(0,n.o)({eatWhitespace:e=>e.eatSpace(),lexRules:c,parseRules:s,editorConfig:{tabSize:e.tabSize}});return{config:e,startState:t.startState,token:t.token,indent:i,electricInput:/^\s*[}\]]/,fold:"brace",closeBrackets:{pairs:'[]{}""',explode:"[]{}"}}}),r(i,"indent");const c={Punctuation:/^\[|]|\{|\}|:|,/,Number:/^-?(?:0|(?:[1-9][0-9]*))(?:\.[0-9]*)?(?:[eE][+-]?[0-9]+)?/,String:/^"(?:[^"\\]|\\(?:"|\/|\\|b|f|n|r|t|u[0-9a-fA-F]{4}))*"?/,Keyword:/^true|false|null/},s={Document:[(0,n.p)("{"),(0,n.l)("Variable",(0,n.a)((0,n.p)(","))),(0,n.p)("}")],Variable:[o("variable"),(0,n.p)(":"),"Value"],Value(e){switch(e.kind){case"Number":return"NumberValue";case"String":return"StringValue";case"Punctuation":switch(e.value){case"[":return"ListValue";case"{":return"ObjectValue"}return null;case"Keyword":switch(e.value){case"true":case"false":return"BooleanValue";case"null":return"NullValue"}return null}},NumberValue:[(0,n.t)("Number","number")],StringValue:[(0,n.t)("String","string")],BooleanValue:[(0,n.t)("Keyword","builtin")],NullValue:[(0,n.t)("Keyword","keyword")],ListValue:[(0,n.p)("["),(0,n.l)("Value",(0,n.a)((0,n.p)(","))),(0,n.p)("]")],ObjectValue:[(0,n.p)("{"),(0,n.l)("ObjectField",(0,n.a)((0,n.p)(","))),(0,n.p)("}")],ObjectField:[o("attribute"),(0,n.p)(":"),"Value"]};function o(e){return{style:e,match:e=>"String"===e.kind,update(e,t){e.name=t.value.slice(1,-1)}}}r(o,"namedKey")}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunk=self.webpackChunk||[]).push([[573],{99573(e,n,r){r.r(n);var t=r(38950),a=r(85236),i=(r(75909),r(63696),r(78325),Object.defineProperty),s=(e,n)=>i(e,"name",{value:n,configurable:!0});function c(e){o=e,u=e.length,l=d=f=-1,x(),O();const n=h();return g("EOF"),n}let o,u,l,d,f,p,b;function h(){const e=l,n=[];if(g("{"),!E("}")){do{n.push(k())}while(E(","));g("}")}return{kind:"Object",start:e,end:f,members:n}}function k(){const e=l,n="String"===b?y():null;g("String"),g(":");const r=v();return{kind:"Member",start:e,end:f,key:n,value:r}}function m(){const e=l,n=[];if(g("["),!E("]")){do{n.push(v())}while(E(","));g("]")}return{kind:"Array",start:e,end:f,values:n}}function v(){switch(b){case"[":return m();case"{":return h();case"String":case"Number":case"Boolean":case"Null":const e=y();return O(),e}g("Value")}function y(){return{kind:b,start:l,end:d,value:JSON.parse(o.slice(l,d))}}function g(e){if(b===e)return void O();let n;if("EOF"===b)n="[end of file]";else if(d-l>1)n="`"+o.slice(l,d)+"`";else{const e=o.slice(l).match(/^.+?\b/);n="`"+(e?e[0]:o[l])+"`"}throw N(`Expected ${e} but found ${n}.`)}s(c,"jsonParse"),s(h,"parseObj"),s(k,"parseMember"),s(m,"parseArr"),s(v,"parseVal"),s(y,"curToken"),s(g,"expect");class w extends Error{constructor(e,n){super(e),this.position=n}}function N(e){return new w(e,{start:l,end:d})}function E(e){if(b===e)return O(),!0}function x(){return d<u&&(d++,p=d===u?0:o.charCodeAt(d)),p}function O(){for(f=d;9===p||10===p||13===p||32===p;)x();if(0!==p){switch(l=d,p){case 34:return b="String",S();case 45:case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return b="Number",j();case 102:if("false"!==o.slice(l,l+5))break;return d+=4,x(),void(b="Boolean");case 110:if("null"!==o.slice(l,l+4))break;return d+=3,x(),void(b="Null");case 116:if("true"!==o.slice(l,l+4))break;return d+=3,x(),void(b="Boolean")}b=o[l],x()}else b="EOF"}function S(){for(x();34!==p&&p>31;)if(92===p)switch(p=x(),p){case 34:case 47:case 92:case 98:case 102:case 110:case 114:case 116:x();break;case 117:x(),$(),$(),$(),$();break;default:throw N("Bad character escape sequence.")}else{if(d===u)throw N("Unterminated string.");x()}if(34!==p)throw N("Unterminated string.");x()}function $(){if(p>=48&&p<=57||p>=65&&p<=70||p>=97&&p<=102)return x();throw N("Expected hexadecimal digit.")}function j(){45===p&&x(),48===p?x():F(),46===p&&(x(),F()),69!==p&&101!==p||(p=x(),43!==p&&45!==p||x(),F())}function F(){if(p<48||p>57)throw N("Expected decimal digit.");do{x()}while(p>=48&&p<=57)}function T(e,n,r){const t=[];return r.members.forEach(r=>{var a;if(r){const i=null===(a=r.key)||void 0===a?void 0:a.value,s=n[i];s?B(s,r.value).forEach(([n,r])=>{t.push(A(e,n,r))}):t.push(A(e,r.key,`Variable "$${i}" does not appear in any GraphQL query.`))}}),t}function B(e,n){if(!e||!n)return[];if(e instanceof a.Gc)return"Null"===n.kind?[[n,`Type "${e}" is non-nullable and cannot be null.`]]:B(e.ofType,n);if("Null"===n.kind)return[];if(e instanceof a.KT){const r=e.ofType;return"Array"===n.kind?C(n.values||[],e=>B(r,e)):B(r,n)}if(e instanceof a.zP){if("Object"!==n.kind)return[[n,`Type "${e}" must be an Object.`]];const r=Object.create(null),t=C(n.members,n=>{var t;const a=null===(t=null==n?void 0:n.key)||void 0===t?void 0:t.value;r[a]=!0;const i=e.getFields()[a];return i?B(i?i.type:void 0,n.value):[[n.key,`Type "${e}" does not have a field "${a}".`]]});return Object.keys(e.getFields()).forEach(i=>{r[i]||e.getFields()[i].type instanceof a.Gc&&t.push([n,`Object of type "${e}" is missing required field "${i}".`])}),t}return"Boolean"===e.name&&"Boolean"!==n.kind||"String"===e.name&&"String"!==n.kind||"ID"===e.name&&"Number"!==n.kind&&"String"!==n.kind||"Float"===e.name&&"Number"!==n.kind||"Int"===e.name&&("Number"!==n.kind||(0|n.value)!==n.value)||(e instanceof a.Zb||e instanceof a.Ag)&&("String"!==n.kind&&"Number"!==n.kind&&"Boolean"!==n.kind&&"Null"!==n.kind||V(e.parseValue(n.value)))?[[n,`Expected value of type "${e}".`]]:[]}function A(e,n,r){return{message:r,severity:"error",type:"validation",from:e.posFromIndex(n.start),to:e.posFromIndex(n.end)}}function V(e){return null==e||e!=e}function C(e,n){return Array.prototype.concat.apply([],e.map(n))}s(w,"JSONSyntaxError"),s(N,"syntaxError"),s(E,"skip"),s(x,"ch"),s(O,"lex"),s(S,"readString"),s($,"readHex"),s(j,"readNumber"),s(F,"readDigits"),t.C.registerHelper("lint","graphql-variables",(e,n,r)=>{if(!e)return[];let t;try{t=c(e)}catch(e){if(e instanceof w)return[A(r,e.position,e.message)];throw e}const a=n.variableToType;return a?T(r,a,t):[]}),s(T,"validateVariables"),s(B,"validateValue"),s(A,"lintError"),s(V,"isNullish"),s(C,"mapCat")}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunk=self.webpackChunk||[]).push([[578],{91578(t,e,r){r.d(e,{a:()=>o,m:()=>s});var n=r(38950),a=Object.defineProperty,c=(t,e)=>a(t,"name",{value:e,configurable:!0});function i(t,e){return e.forEach(function(e){e&&"string"!=typeof e&&!Array.isArray(e)&&Object.keys(e).forEach(function(r){if("default"!==r&&!(r in t)){var n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:function(){return e[r]}})}})}),Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}c(i,"_mergeNamespaces");var o={exports:{}};!function(t){var e=/MSIE \d/.test(navigator.userAgent)&&(null==document.documentMode||document.documentMode<8),r=t.Pos,n={"(":")>",")":"(<","[":"]>","]":"[<","{":"}>","}":"{<","<":">>",">":"<<"};function a(t){return t&&t.bracketRegex||/[(){}[\]]/}function i(t,e,c){var i=t.getLineHandle(e.line),s=e.ch-1,l=c&&c.afterCursor;null==l&&(l=/(^| )cm-fat-cursor($| )/.test(t.getWrapperElement().className));var h=a(c),u=!l&&s>=0&&h.test(i.text.charAt(s))&&n[i.text.charAt(s)]||h.test(i.text.charAt(s+1))&&n[i.text.charAt(++s)];if(!u)return null;var f=">"==u.charAt(1)?1:-1;if(c&&c.strict&&f>0!=(s==e.ch))return null;var g=t.getTokenTypeAt(r(e.line,s+1)),m=o(t,r(e.line,s+(f>0?1:0)),f,g,c);return null==m?null:{from:r(e.line,s),to:m&&m.pos,match:m&&m.ch==u.charAt(0),forward:f>0}}function o(t,e,c,i,o){for(var s=o&&o.maxScanLineLength||1e4,l=o&&o.maxScanLines||1e3,h=[],u=a(o),f=c>0?Math.min(e.line+l,t.lastLine()+1):Math.max(t.firstLine()-1,e.line-l),g=e.line;g!=f;g+=c){var m=t.getLine(g);if(m){var d=c>0?0:m.length-1,k=c>0?m.length:-1;if(!(m.length>s))for(g==e.line&&(d=e.ch-(c<0?1:0));d!=k;d+=c){var p=m.charAt(d);if(u.test(p)&&(void 0===i||(t.getTokenTypeAt(r(g,d+1))||"")==(i||""))){var v=n[p];if(v&&">"==v.charAt(1)==c>0)h.push(p);else{if(!h.length)return{pos:r(g,d),ch:p};h.pop()}}}}}return g-c!=(c>0?t.lastLine():t.firstLine())&&null}function s(t,n,a){for(var o=t.state.matchBrackets.maxHighlightLineLength||1e3,s=a&&a.highlightNonMatching,l=[],h=t.listSelections(),u=0;u<h.length;u++){var f=h[u].empty()&&i(t,h[u].head,a);if(f&&(f.match||!1!==s)&&t.getLine(f.from.line).length<=o){var g=f.match?"CodeMirror-matchingbracket":"CodeMirror-nonmatchingbracket";l.push(t.markText(f.from,r(f.from.line,f.from.ch+1),{className:g})),f.to&&t.getLine(f.to.line).length<=o&&l.push(t.markText(f.to,r(f.to.line,f.to.ch+1),{className:g}))}}if(l.length){e&&t.state.focused&&t.focus();var m=c(function(){t.operation(function(){for(var t=0;t<l.length;t++)l[t].clear()})},"clear");if(!n)return m;setTimeout(m,800)}}function l(t){t.operation(function(){t.state.matchBrackets.currentlyHighlighted&&(t.state.matchBrackets.currentlyHighlighted(),t.state.matchBrackets.currentlyHighlighted=null),t.state.matchBrackets.currentlyHighlighted=s(t,!1,t.state.matchBrackets)})}function h(t){t.state.matchBrackets&&t.state.matchBrackets.currentlyHighlighted&&(t.state.matchBrackets.currentlyHighlighted(),t.state.matchBrackets.currentlyHighlighted=null)}c(a,"bracketRegex"),c(i,"findMatchingBracket"),c(o,"scanForBracket"),c(s,"matchBrackets"),c(l,"doMatchBrackets"),c(h,"clearHighlighted"),t.defineOption("matchBrackets",!1,function(e,r,n){n&&n!=t.Init&&(e.off("cursorActivity",l),e.off("focus",l),e.off("blur",h),h(e)),r&&(e.state.matchBrackets="object"==typeof r?r:{},e.on("cursorActivity",l),e.on("focus",l),e.on("blur",h))}),t.defineExtension("matchBrackets",function(){s(this,!0)}),t.defineExtension("findMatchingBracket",function(t,e,r){return(r||"boolean"==typeof e)&&(r?(r.strict=e,e=r):e=e?{strict:!0}:null),i(this,t,e)}),t.defineExtension("scanForBracket",function(t,e,r,n){return o(this,t,e,r,n)})}(n.a.exports);var s=i({__proto__:null,default:o.exports},[o.exports])}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunk=self.webpackChunk||[]).push([[584,701],{58594(e,t,n){n.d(t,{a:()=>p,b:()=>s,c:()=>f,d:()=>m,e:()=>v,g:()=>l});var o=n(85236),i=n(30183),r=n(7182),a=Object.defineProperty,c=(e,t)=>a(e,"name",{value:t,configurable:!0});function l(e,t){const n={schema:e,type:null,parentType:null,inputType:null,directiveDef:null,fieldDef:null,argDef:null,argDefs:null,objectFieldDefs:null};return(0,r.f)(t,t=>{var i,r;switch(t.kind){case"Query":case"ShortQuery":n.type=e.getQueryType();break;case"Mutation":n.type=e.getMutationType();break;case"Subscription":n.type=e.getSubscriptionType();break;case"InlineFragment":case"FragmentDefinition":t.type&&(n.type=e.getType(t.type));break;case"Field":case"AliasedField":n.fieldDef=n.type&&t.name?u(e,n.parentType,t.name):null,n.type=null===(i=n.fieldDef)||void 0===i?void 0:i.type;break;case"SelectionSet":n.parentType=n.type?(0,o.MR)(n.type):null;break;case"Directive":n.directiveDef=t.name?e.getDirective(t.name):null;break;case"Arguments":const a=t.prevState?"Field"===t.prevState.kind?n.fieldDef:"Directive"===t.prevState.kind?n.directiveDef:"AliasedField"===t.prevState.kind?t.prevState.name&&u(e,n.parentType,t.prevState.name):null:null;n.argDefs=a?a.args:null;break;case"Argument":if(n.argDef=null,n.argDefs)for(let e=0;e<n.argDefs.length;e++)if(n.argDefs[e].name===t.name){n.argDef=n.argDefs[e];break}n.inputType=null===(r=n.argDef)||void 0===r?void 0:r.type;break;case"EnumValue":const c=n.inputType?(0,o.MR)(n.inputType):null;n.enumValue=c instanceof o.Zb?d(c.getValues(),e=>e.value===t.name):null;break;case"ListValue":const l=n.inputType?(0,o.yl)(n.inputType):null;n.inputType=l instanceof o.KT?l.ofType:null;break;case"ObjectValue":const p=n.inputType?(0,o.MR)(n.inputType):null;n.objectFieldDefs=p instanceof o.zP?p.getFields():null;break;case"ObjectField":const s=t.name&&n.objectFieldDefs?n.objectFieldDefs[t.name]:null;n.inputType=null==s?void 0:s.type;break;case"NamedType":n.type=t.name?e.getType(t.name):null}}),n}function u(e,t,n){return n===i.S.name&&e.getQueryType()===t?i.S:n===i.T.name&&e.getQueryType()===t?i.T:n===i.a.name&&(0,o.ML)(t)?i.a:t&&t.getFields?t.getFields()[n]:void 0}function d(e,t){for(let n=0;n<e.length;n++)if(t(e[n]))return e[n]}function p(e){return{kind:"Field",schema:e.schema,field:e.fieldDef,type:y(e.fieldDef)?null:e.parentType}}function s(e){return{kind:"Directive",schema:e.schema,directive:e.directiveDef}}function f(e){return e.directiveDef?{kind:"Argument",schema:e.schema,argument:e.argDef,directive:e.directiveDef}:{kind:"Argument",schema:e.schema,argument:e.argDef,field:e.fieldDef,type:y(e.fieldDef)?null:e.parentType}}function m(e){return{kind:"EnumValue",value:e.enumValue||void 0,type:e.inputType?(0,o.MR)(e.inputType):void 0}}function v(e,t){return{kind:"Type",schema:e.schema,type:t||e.type}}function y(e){return"__"===e.name.slice(0,2)}c(l,"getTypeInfo"),c(u,"getFieldDef"),c(d,"find"),c(p,"getFieldReference"),c(s,"getDirectiveReference"),c(f,"getArgumentReference"),c(m,"getEnumValueReference"),c(v,"getTypeReference"),c(y,"isMetaField")},7182(e,t,n){function o(e,t){const n=[];let o=e;for(;null==o?void 0:o.kind;)n.push(o),o=o.prevState;for(let e=n.length-1;e>=0;e--)t(n[e])}n.d(t,{f:()=>o}),(0,Object.defineProperty)(o,"name",{value:"forEachState",configurable:!0})},28701(e,t,n){n.r(t);var o=n(38950),i=(n(75909),n(63696),n(78325),Object.defineProperty),r=(e,t)=>i(e,"name",{value:t,configurable:!0});function a(e){return{options:e instanceof Function?{render:e}:!0===e?{}:e}}function c(e){const t=e.state.info.options;return(null==t?void 0:t.hoverTime)||500}function l(e,t){const n=e.state.info,i=t.target||t.srcElement;if(!(i instanceof HTMLElement))return;if("SPAN"!==i.nodeName||void 0!==n.hoverTimeout)return;const a=i.getBoundingClientRect(),l=r(function(){clearTimeout(n.hoverTimeout),n.hoverTimeout=setTimeout(p,s)},"onMouseMove"),d=r(function(){o.C.off(document,"mousemove",l),o.C.off(e.getWrapperElement(),"mouseout",d),clearTimeout(n.hoverTimeout),n.hoverTimeout=void 0},"onMouseOut"),p=r(function(){o.C.off(document,"mousemove",l),o.C.off(e.getWrapperElement(),"mouseout",d),n.hoverTimeout=void 0,u(e,a)},"onHover"),s=c(e);n.hoverTimeout=setTimeout(p,s),o.C.on(document,"mousemove",l),o.C.on(e.getWrapperElement(),"mouseout",d)}function u(e,t){const n=e.coordsChar({left:(t.left+t.right)/2,top:(t.top+t.bottom)/2}),o=e.state.info.options,i=o.render||e.getHelper(n,"info");if(i){const r=e.getTokenAt(n,!0);if(r){const a=i(r,o,e,n);a&&d(e,t,a)}}}function d(e,t,n){const i=document.createElement("div");i.className="CodeMirror-info",i.appendChild(n),document.body.appendChild(i);const a=i.getBoundingClientRect(),c=window.getComputedStyle(i),l=a.right-a.left+parseFloat(c.marginLeft)+parseFloat(c.marginRight),u=a.bottom-a.top+parseFloat(c.marginTop)+parseFloat(c.marginBottom);let d=t.bottom;u>window.innerHeight-t.bottom-15&&t.top>window.innerHeight-t.bottom&&(d=t.top-u),d<0&&(d=t.bottom);let p,s=Math.max(0,window.innerWidth-l-15);s>t.left&&(s=t.left),i.style.opacity="1",i.style.top=d+"px",i.style.left=s+"px";const f=r(function(){clearTimeout(p)},"onMouseOverPopup"),m=r(function(){clearTimeout(p),p=setTimeout(v,200)},"onMouseOut"),v=r(function(){o.C.off(i,"mouseover",f),o.C.off(i,"mouseout",m),o.C.off(e.getWrapperElement(),"mouseout",m),i.style.opacity?(i.style.opacity="0",setTimeout(()=>{i.parentNode&&i.parentNode.removeChild(i)},600)):i.parentNode&&i.parentNode.removeChild(i)},"hidePopup");o.C.on(i,"mouseover",f),o.C.on(i,"mouseout",m),o.C.on(e.getWrapperElement(),"mouseout",m)}o.C.defineOption("info",!1,(e,t,n)=>{if(n&&n!==o.C.Init){const t=e.state.info.onMouseOver;o.C.off(e.getWrapperElement(),"mouseover",t),clearTimeout(e.state.info.hoverTimeout),delete e.state.info}if(t){const n=e.state.info=a(t);n.onMouseOver=l.bind(null,e),o.C.on(e.getWrapperElement(),"mouseover",n.onMouseOver)}}),r(a,"createState"),r(c,"getHoverTime"),r(l,"onMouseOver"),r(u,"onMouseHover"),r(d,"showPopup")},65584(e,t,n){n.r(t);var o=n(85236),i=n(38950),r=n(58594),a=(n(28701),n(75909),n(63696),n(78325),n(30183),n(7182),Object.defineProperty),c=(e,t)=>a(e,"name",{value:t,configurable:!0});function l(e,t,n){u(e,t,n),f(e,t,n,t.type)}function u(e,t,n){var o;g(e,(null===(o=t.fieldDef)||void 0===o?void 0:o.name)||"","field-name",n,(0,r.a)(t))}function d(e,t,n){var o;g(e,"@"+((null===(o=t.directiveDef)||void 0===o?void 0:o.name)||""),"directive-name",n,(0,r.b)(t))}function p(e,t,n){var o;g(e,(null===(o=t.argDef)||void 0===o?void 0:o.name)||"","arg-name",n,(0,r.c)(t)),f(e,t,n,t.inputType)}function s(e,t,n){var o;const i=(null===(o=t.enumValue)||void 0===o?void 0:o.name)||"";m(e,t,n,t.inputType),g(e,"."),g(e,i,"enum-value",n,(0,r.d)(t))}function f(e,t,n,i){const a=document.createElement("span");a.className="type-name-pill",i instanceof o.Gc?(m(a,t,n,i.ofType),g(a,"!")):i instanceof o.KT?(g(a,"["),m(a,t,n,i.ofType),g(a,"]")):g(a,(null==i?void 0:i.name)||"","type-name",n,(0,r.e)(t,i)),e.appendChild(a)}function m(e,t,n,i){i instanceof o.Gc?(m(e,t,n,i.ofType),g(e,"!")):i instanceof o.KT?(g(e,"["),m(e,t,n,i.ofType),g(e,"]")):g(e,(null==i?void 0:i.name)||"","type-name",n,(0,r.e)(t,i))}function v(e,t,n){const o=n.description;if(o){const n=document.createElement("div");n.className="info-description",t.renderDescription?n.innerHTML=t.renderDescription(o):n.appendChild(document.createTextNode(o)),e.appendChild(n)}y(e,t,n)}function y(e,t,n){const o=n.deprecationReason;if(o){const n=document.createElement("div");n.className="info-deprecation",e.appendChild(n);const i=document.createElement("span");i.className="info-deprecation-label",i.appendChild(document.createTextNode("Deprecated")),n.appendChild(i);const r=document.createElement("div");r.className="info-deprecation-reason",t.renderDescription?r.innerHTML=t.renderDescription(o):r.appendChild(document.createTextNode(o)),n.appendChild(r)}}function g(e,t,n="",o={onClick:null},i=null){if(n){const r=o.onClick;let a;r?(a=document.createElement("a"),a.href="javascript:void 0",a.addEventListener("click",e=>{r(i,e)})):a=document.createElement("span"),a.className=n,a.appendChild(document.createTextNode(t)),e.appendChild(a)}else e.appendChild(document.createTextNode(t))}i.C.registerHelper("info","graphql",(e,t)=>{if(!t.schema||!e.state)return;const n=e.state,o=n.kind,i=n.step,a=(0,r.g)(t.schema,e.state);if("Field"===o&&0===i&&a.fieldDef||"AliasedField"===o&&2===i&&a.fieldDef){const e=document.createElement("div");e.className="CodeMirror-info-header",l(e,a,t);const n=document.createElement("div");return n.appendChild(e),v(n,t,a.fieldDef),n}if("Directive"===o&&1===i&&a.directiveDef){const e=document.createElement("div");e.className="CodeMirror-info-header",d(e,a,t);const n=document.createElement("div");return n.appendChild(e),v(n,t,a.directiveDef),n}if("Argument"===o&&0===i&&a.argDef){const e=document.createElement("div");e.className="CodeMirror-info-header",p(e,a,t);const n=document.createElement("div");return n.appendChild(e),v(n,t,a.argDef),n}if("EnumValue"===o&&a.enumValue&&a.enumValue.description){const e=document.createElement("div");e.className="CodeMirror-info-header",s(e,a,t);const n=document.createElement("div");return n.appendChild(e),v(n,t,a.enumValue),n}if("NamedType"===o&&a.type&&a.type.description){const e=document.createElement("div");e.className="CodeMirror-info-header",m(e,a,t,a.type);const n=document.createElement("div");return n.appendChild(e),v(n,t,a.type),n}}),c(l,"renderField"),c(u,"renderQualifiedField"),c(d,"renderDirective"),c(p,"renderArg"),c(s,"renderEnumValue"),c(f,"renderTypeAnnotation"),c(m,"renderType"),c(v,"renderDescription"),c(y,"renderDeprecation"),c(g,"text")}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunk=self.webpackChunk||[]).push([[629],{2629(e,t,n){n.d(t,{C:()=>B,I:()=>X,L:()=>Ye,P:()=>$e,R:()=>ut,a:()=>We,i:()=>Ke,l:()=>ze,o:()=>Je,p:()=>Xe,t:()=>Qe});var i,r,o,a,s,u,c,d,l,f,g,p,v,h,m,b,y,E,A,D,_,S,I,k,w,T,C,x,L,N,V,j=n(14552),O=(n(75909),Object.defineProperty),F=(e,t)=>O(e,"name",{value:t,configurable:!0});!function(e){function t(e){return"string"==typeof e}F(t,"is"),e.is=t}(i||(i={})),function(e){function t(e){return"string"==typeof e}F(t,"is"),e.is=t}(r||(r={})),function(e){function t(t){return"number"==typeof t&&e.MIN_VALUE<=t&&t<=e.MAX_VALUE}e.MIN_VALUE=-2147483648,e.MAX_VALUE=2147483647,F(t,"is"),e.is=t}(o||(o={})),function(e){function t(t){return"number"==typeof t&&e.MIN_VALUE<=t&&t<=e.MAX_VALUE}e.MIN_VALUE=0,e.MAX_VALUE=2147483647,F(t,"is"),e.is=t}(a||(a={})),function(e){function t(e,t){return e===Number.MAX_VALUE&&(e=a.MAX_VALUE),t===Number.MAX_VALUE&&(t=a.MAX_VALUE),{line:e,character:t}}function n(e){var t=e;return Ue.objectLiteral(t)&&Ue.uinteger(t.line)&&Ue.uinteger(t.character)}F(t,"create"),e.create=t,F(n,"is"),e.is=n}(s||(s={})),function(e){function t(e,t,n,i){if(Ue.uinteger(e)&&Ue.uinteger(t)&&Ue.uinteger(n)&&Ue.uinteger(i))return{start:s.create(e,t),end:s.create(n,i)};if(s.is(e)&&s.is(t))return{start:e,end:t};throw new Error("Range#create called with invalid arguments[".concat(e,", ").concat(t,", ").concat(n,", ").concat(i,"]"))}function n(e){var t=e;return Ue.objectLiteral(t)&&s.is(t.start)&&s.is(t.end)}F(t,"create"),e.create=t,F(n,"is"),e.is=n}(u||(u={})),function(e){function t(e,t){return{uri:e,range:t}}function n(e){var t=e;return Ue.objectLiteral(t)&&u.is(t.range)&&(Ue.string(t.uri)||Ue.undefined(t.uri))}F(t,"create"),e.create=t,F(n,"is"),e.is=n}(c||(c={})),function(e){function t(e,t,n,i){return{targetUri:e,targetRange:t,targetSelectionRange:n,originSelectionRange:i}}function n(e){var t=e;return Ue.objectLiteral(t)&&u.is(t.targetRange)&&Ue.string(t.targetUri)&&u.is(t.targetSelectionRange)&&(u.is(t.originSelectionRange)||Ue.undefined(t.originSelectionRange))}F(t,"create"),e.create=t,F(n,"is"),e.is=n}(d||(d={})),function(e){function t(e,t,n,i){return{red:e,green:t,blue:n,alpha:i}}function n(e){var t=e;return Ue.objectLiteral(t)&&Ue.numberRange(t.red,0,1)&&Ue.numberRange(t.green,0,1)&&Ue.numberRange(t.blue,0,1)&&Ue.numberRange(t.alpha,0,1)}F(t,"create"),e.create=t,F(n,"is"),e.is=n}(l||(l={})),function(e){function t(e,t){return{range:e,color:t}}function n(e){var t=e;return Ue.objectLiteral(t)&&u.is(t.range)&&l.is(t.color)}F(t,"create"),e.create=t,F(n,"is"),e.is=n}(f||(f={})),function(e){function t(e,t,n){return{label:e,textEdit:t,additionalTextEdits:n}}function n(e){var t=e;return Ue.objectLiteral(t)&&Ue.string(t.label)&&(Ue.undefined(t.textEdit)||I.is(t))&&(Ue.undefined(t.additionalTextEdits)||Ue.typedArray(t.additionalTextEdits,I.is))}F(t,"create"),e.create=t,F(n,"is"),e.is=n}(g||(g={})),(v=p||(p={})).Comment="comment",v.Imports="imports",v.Region="region",function(e){function t(e,t,n,i,r,o){var a={startLine:e,endLine:t};return Ue.defined(n)&&(a.startCharacter=n),Ue.defined(i)&&(a.endCharacter=i),Ue.defined(r)&&(a.kind=r),Ue.defined(o)&&(a.collapsedText=o),a}function n(e){var t=e;return Ue.objectLiteral(t)&&Ue.uinteger(t.startLine)&&Ue.uinteger(t.startLine)&&(Ue.undefined(t.startCharacter)||Ue.uinteger(t.startCharacter))&&(Ue.undefined(t.endCharacter)||Ue.uinteger(t.endCharacter))&&(Ue.undefined(t.kind)||Ue.string(t.kind))}F(t,"create"),e.create=t,F(n,"is"),e.is=n}(h||(h={})),function(e){function t(e,t){return{location:e,message:t}}function n(e){var t=e;return Ue.defined(t)&&c.is(t.location)&&Ue.string(t.message)}F(t,"create"),e.create=t,F(n,"is"),e.is=n}(m||(m={})),(y=b||(b={})).Error=1,y.Warning=2,y.Information=3,y.Hint=4,(A=E||(E={})).Unnecessary=1,A.Deprecated=2,function(e){function t(e){var t=e;return Ue.objectLiteral(t)&&Ue.string(t.href)}F(t,"is"),e.is=t}(D||(D={})),function(e){function t(e,t,n,i,r,o){var a={range:e,message:t};return Ue.defined(n)&&(a.severity=n),Ue.defined(i)&&(a.code=i),Ue.defined(r)&&(a.source=r),Ue.defined(o)&&(a.relatedInformation=o),a}function n(e){var t,n=e;return Ue.defined(n)&&u.is(n.range)&&Ue.string(n.message)&&(Ue.number(n.severity)||Ue.undefined(n.severity))&&(Ue.integer(n.code)||Ue.string(n.code)||Ue.undefined(n.code))&&(Ue.undefined(n.codeDescription)||Ue.string(null===(t=n.codeDescription)||void 0===t?void 0:t.href))&&(Ue.string(n.source)||Ue.undefined(n.source))&&(Ue.undefined(n.relatedInformation)||Ue.typedArray(n.relatedInformation,m.is))}F(t,"create"),e.create=t,F(n,"is"),e.is=n}(_||(_={})),function(e){function t(e,t){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];var r={title:e,command:t};return Ue.defined(n)&&n.length>0&&(r.arguments=n),r}function n(e){var t=e;return Ue.defined(t)&&Ue.string(t.title)&&Ue.string(t.command)}F(t,"create"),e.create=t,F(n,"is"),e.is=n}(S||(S={})),function(e){function t(e,t){return{range:e,newText:t}}function n(e,t){return{range:{start:e,end:e},newText:t}}function i(e){return{range:e,newText:""}}function r(e){var t=e;return Ue.objectLiteral(t)&&Ue.string(t.newText)&&u.is(t.range)}F(t,"replace"),e.replace=t,F(n,"insert"),e.insert=n,F(i,"del"),e.del=i,F(r,"is"),e.is=r}(I||(I={})),function(e){function t(e,t,n){var i={label:e};return void 0!==t&&(i.needsConfirmation=t),void 0!==n&&(i.description=n),i}function n(e){var t=e;return Ue.objectLiteral(t)&&Ue.string(t.label)&&(Ue.boolean(t.needsConfirmation)||void 0===t.needsConfirmation)&&(Ue.string(t.description)||void 0===t.description)}F(t,"create"),e.create=t,F(n,"is"),e.is=n}(k||(k={})),function(e){function t(e){var t=e;return Ue.string(t)}F(t,"is"),e.is=t}(w||(w={})),function(e){function t(e,t,n){return{range:e,newText:t,annotationId:n}}function n(e,t,n){return{range:{start:e,end:e},newText:t,annotationId:n}}function i(e,t){return{range:e,newText:"",annotationId:t}}function r(e){var t=e;return I.is(t)&&(k.is(t.annotationId)||w.is(t.annotationId))}F(t,"replace"),e.replace=t,F(n,"insert"),e.insert=n,F(i,"del"),e.del=i,F(r,"is"),e.is=r}(T||(T={})),function(e){function t(e,t){return{textDocument:e,edits:t}}function n(e){var t=e;return Ue.defined(t)&&U.is(t.textDocument)&&Array.isArray(t.edits)}F(t,"create"),e.create=t,F(n,"is"),e.is=n}(C||(C={})),function(e){function t(e,t,n){var i={kind:"create",uri:e};return void 0===t||void 0===t.overwrite&&void 0===t.ignoreIfExists||(i.options=t),void 0!==n&&(i.annotationId=n),i}function n(e){var t=e;return t&&"create"===t.kind&&Ue.string(t.uri)&&(void 0===t.options||(void 0===t.options.overwrite||Ue.boolean(t.options.overwrite))&&(void 0===t.options.ignoreIfExists||Ue.boolean(t.options.ignoreIfExists)))&&(void 0===t.annotationId||w.is(t.annotationId))}F(t,"create"),e.create=t,F(n,"is"),e.is=n}(x||(x={})),function(e){function t(e,t,n,i){var r={kind:"rename",oldUri:e,newUri:t};return void 0===n||void 0===n.overwrite&&void 0===n.ignoreIfExists||(r.options=n),void 0!==i&&(r.annotationId=i),r}function n(e){var t=e;return t&&"rename"===t.kind&&Ue.string(t.oldUri)&&Ue.string(t.newUri)&&(void 0===t.options||(void 0===t.options.overwrite||Ue.boolean(t.options.overwrite))&&(void 0===t.options.ignoreIfExists||Ue.boolean(t.options.ignoreIfExists)))&&(void 0===t.annotationId||w.is(t.annotationId))}F(t,"create"),e.create=t,F(n,"is"),e.is=n}(L||(L={})),function(e){function t(e,t,n){var i={kind:"delete",uri:e};return void 0===t||void 0===t.recursive&&void 0===t.ignoreIfNotExists||(i.options=t),void 0!==n&&(i.annotationId=n),i}function n(e){var t=e;return t&&"delete"===t.kind&&Ue.string(t.uri)&&(void 0===t.options||(void 0===t.options.recursive||Ue.boolean(t.options.recursive))&&(void 0===t.options.ignoreIfNotExists||Ue.boolean(t.options.ignoreIfNotExists)))&&(void 0===t.annotationId||w.is(t.annotationId))}F(t,"create"),e.create=t,F(n,"is"),e.is=n}(N||(N={})),function(e){function t(e){var t=e;return t&&(void 0!==t.changes||void 0!==t.documentChanges)&&(void 0===t.documentChanges||t.documentChanges.every(function(e){return Ue.string(e.kind)?x.is(e)||L.is(e)||N.is(e):C.is(e)}))}F(t,"is"),e.is=t}(V||(V={}));var R,M,U,P,W,z,B,Q,X,K,Y,$,q,G,H,J,Z,ee,te,ne,ie,re,oe,ae,se,ue,ce,de,le,fe,ge,pe,ve,he,me,be,ye,Ee,Ae,De,_e,Se,Ie,ke,we,Te,Ce,xe,Le,Ne,Ve,je,Oe,Fe,Re=function(){function e(e,t){this.edits=e,this.changeAnnotations=t}return F(e,"TextEditChangeImpl"),e.prototype.insert=function(e,t,n){var i,r;if(void 0===n?i=I.insert(e,t):w.is(n)?(r=n,i=T.insert(e,t,n)):(this.assertChangeAnnotations(this.changeAnnotations),r=this.changeAnnotations.manage(n),i=T.insert(e,t,r)),this.edits.push(i),void 0!==r)return r},e.prototype.replace=function(e,t,n){var i,r;if(void 0===n?i=I.replace(e,t):w.is(n)?(r=n,i=T.replace(e,t,n)):(this.assertChangeAnnotations(this.changeAnnotations),r=this.changeAnnotations.manage(n),i=T.replace(e,t,r)),this.edits.push(i),void 0!==r)return r},e.prototype.delete=function(e,t){var n,i;if(void 0===t?n=I.del(e):w.is(t)?(i=t,n=T.del(e,t)):(this.assertChangeAnnotations(this.changeAnnotations),i=this.changeAnnotations.manage(t),n=T.del(e,i)),this.edits.push(n),void 0!==i)return i},e.prototype.add=function(e){this.edits.push(e)},e.prototype.all=function(){return this.edits},e.prototype.clear=function(){this.edits.splice(0,this.edits.length)},e.prototype.assertChangeAnnotations=function(e){if(void 0===e)throw new Error("Text edit change is not configured to manage change annotations.")},e}(),Me=function(){function e(e){this._annotations=void 0===e?Object.create(null):e,this._counter=0,this._size=0}return F(e,"ChangeAnnotations"),e.prototype.all=function(){return this._annotations},Object.defineProperty(e.prototype,"size",{get:function(){return this._size},enumerable:!1,configurable:!0}),e.prototype.manage=function(e,t){var n;if(w.is(e)?n=e:(n=this.nextId(),t=e),void 0!==this._annotations[n])throw new Error("Id ".concat(n," is already in use."));if(void 0===t)throw new Error("No annotation provided for id ".concat(n));return this._annotations[n]=t,this._size++,n},e.prototype.nextId=function(){return this._counter++,this._counter.toString()},e}();!function(){function e(e){var t=this;this._textEditChanges=Object.create(null),void 0!==e?(this._workspaceEdit=e,e.documentChanges?(this._changeAnnotations=new Me(e.changeAnnotations),e.changeAnnotations=this._changeAnnotations.all(),e.documentChanges.forEach(function(e){if(C.is(e)){var n=new Re(e.edits,t._changeAnnotations);t._textEditChanges[e.textDocument.uri]=n}})):e.changes&&Object.keys(e.changes).forEach(function(n){var i=new Re(e.changes[n]);t._textEditChanges[n]=i})):this._workspaceEdit={}}F(e,"WorkspaceChange"),Object.defineProperty(e.prototype,"edit",{get:function(){return this.initDocumentChanges(),void 0!==this._changeAnnotations&&(0===this._changeAnnotations.size?this._workspaceEdit.changeAnnotations=void 0:this._workspaceEdit.changeAnnotations=this._changeAnnotations.all()),this._workspaceEdit},enumerable:!1,configurable:!0}),e.prototype.getTextEditChange=function(e){if(U.is(e)){if(this.initDocumentChanges(),void 0===this._workspaceEdit.documentChanges)throw new Error("Workspace edit is not configured for document changes.");var t={uri:e.uri,version:e.version};if(!(i=this._textEditChanges[t.uri])){var n={textDocument:t,edits:r=[]};this._workspaceEdit.documentChanges.push(n),i=new Re(r,this._changeAnnotations),this._textEditChanges[t.uri]=i}return i}if(this.initChanges(),void 0===this._workspaceEdit.changes)throw new Error("Workspace edit is not configured for normal text edit changes.");var i;if(!(i=this._textEditChanges[e])){var r=[];this._workspaceEdit.changes[e]=r,i=new Re(r),this._textEditChanges[e]=i}return i},e.prototype.initDocumentChanges=function(){void 0===this._workspaceEdit.documentChanges&&void 0===this._workspaceEdit.changes&&(this._changeAnnotations=new Me,this._workspaceEdit.documentChanges=[],this._workspaceEdit.changeAnnotations=this._changeAnnotations.all())},e.prototype.initChanges=function(){void 0===this._workspaceEdit.documentChanges&&void 0===this._workspaceEdit.changes&&(this._workspaceEdit.changes=Object.create(null))},e.prototype.createFile=function(e,t,n){if(this.initDocumentChanges(),void 0===this._workspaceEdit.documentChanges)throw new Error("Workspace edit is not configured for document changes.");var i,r,o;if(k.is(t)||w.is(t)?i=t:n=t,void 0===i?r=x.create(e,n):(o=w.is(i)?i:this._changeAnnotations.manage(i),r=x.create(e,n,o)),this._workspaceEdit.documentChanges.push(r),void 0!==o)return o},e.prototype.renameFile=function(e,t,n,i){if(this.initDocumentChanges(),void 0===this._workspaceEdit.documentChanges)throw new Error("Workspace edit is not configured for document changes.");var r,o,a;if(k.is(n)||w.is(n)?r=n:i=n,void 0===r?o=L.create(e,t,i):(a=w.is(r)?r:this._changeAnnotations.manage(r),o=L.create(e,t,i,a)),this._workspaceEdit.documentChanges.push(o),void 0!==a)return a},e.prototype.deleteFile=function(e,t,n){if(this.initDocumentChanges(),void 0===this._workspaceEdit.documentChanges)throw new Error("Workspace edit is not configured for document changes.");var i,r,o;if(k.is(t)||w.is(t)?i=t:n=t,void 0===i?r=N.create(e,n):(o=w.is(i)?i:this._changeAnnotations.manage(i),r=N.create(e,n,o)),this._workspaceEdit.documentChanges.push(r),void 0!==o)return o}}(),function(e){function t(e){return{uri:e}}function n(e){var t=e;return Ue.defined(t)&&Ue.string(t.uri)}F(t,"create"),e.create=t,F(n,"is"),e.is=n}(R||(R={})),function(e){function t(e,t){return{uri:e,version:t}}function n(e){var t=e;return Ue.defined(t)&&Ue.string(t.uri)&&Ue.integer(t.version)}F(t,"create"),e.create=t,F(n,"is"),e.is=n}(M||(M={})),function(e){function t(e,t){return{uri:e,version:t}}function n(e){var t=e;return Ue.defined(t)&&Ue.string(t.uri)&&(null===t.version||Ue.integer(t.version))}F(t,"create"),e.create=t,F(n,"is"),e.is=n}(U||(U={})),function(e){function t(e,t,n,i){return{uri:e,languageId:t,version:n,text:i}}function n(e){var t=e;return Ue.defined(t)&&Ue.string(t.uri)&&Ue.string(t.languageId)&&Ue.integer(t.version)&&Ue.string(t.text)}F(t,"create"),e.create=t,F(n,"is"),e.is=n}(P||(P={})),function(e){function t(t){var n=t;return n===e.PlainText||n===e.Markdown}e.PlainText="plaintext",e.Markdown="markdown",F(t,"is"),e.is=t}(W||(W={})),function(e){function t(e){var t=e;return Ue.objectLiteral(e)&&W.is(t.kind)&&Ue.string(t.value)}F(t,"is"),e.is=t}(z||(z={})),(Q=B||(B={})).Text=1,Q.Method=2,Q.Function=3,Q.Constructor=4,Q.Field=5,Q.Variable=6,Q.Class=7,Q.Interface=8,Q.Module=9,Q.Property=10,Q.Unit=11,Q.Value=12,Q.Enum=13,Q.Keyword=14,Q.Snippet=15,Q.Color=16,Q.File=17,Q.Reference=18,Q.Folder=19,Q.EnumMember=20,Q.Constant=21,Q.Struct=22,Q.Event=23,Q.Operator=24,Q.TypeParameter=25,(K=X||(X={})).PlainText=1,K.Snippet=2,(Y||(Y={})).Deprecated=1,function(e){function t(e,t,n){return{newText:e,insert:t,replace:n}}function n(e){var t=e;return t&&Ue.string(t.newText)&&u.is(t.insert)&&u.is(t.replace)}F(t,"create"),e.create=t,F(n,"is"),e.is=n}($||($={})),(G=q||(q={})).asIs=1,G.adjustIndentation=2,function(e){function t(e){var t=e;return t&&(Ue.string(t.detail)||void 0===t.detail)&&(Ue.string(t.description)||void 0===t.description)}F(t,"is"),e.is=t}(H||(H={})),function(e){function t(e){return{label:e}}F(t,"create"),e.create=t}(J||(J={})),function(e){function t(e,t){return{items:e||[],isIncomplete:!!t}}F(t,"create"),e.create=t}(Z||(Z={})),function(e){function t(e){return e.replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")}function n(e){var t=e;return Ue.string(t)||Ue.objectLiteral(t)&&Ue.string(t.language)&&Ue.string(t.value)}F(t,"fromPlainText"),e.fromPlainText=t,F(n,"is"),e.is=n}(ee||(ee={})),function(e){function t(e){var t=e;return!!t&&Ue.objectLiteral(t)&&(z.is(t.contents)||ee.is(t.contents)||Ue.typedArray(t.contents,ee.is))&&(void 0===e.range||u.is(e.range))}F(t,"is"),e.is=t}(te||(te={})),function(e){function t(e,t){return t?{label:e,documentation:t}:{label:e}}F(t,"create"),e.create=t}(ne||(ne={})),function(e){function t(e,t){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];var r={label:e};return Ue.defined(t)&&(r.documentation=t),Ue.defined(n)?r.parameters=n:r.parameters=[],r}F(t,"create"),e.create=t}(ie||(ie={})),(oe=re||(re={})).Text=1,oe.Read=2,oe.Write=3,function(e){function t(e,t){var n={range:e};return Ue.number(t)&&(n.kind=t),n}F(t,"create"),e.create=t}(ae||(ae={})),(ue=se||(se={})).File=1,ue.Module=2,ue.Namespace=3,ue.Package=4,ue.Class=5,ue.Method=6,ue.Property=7,ue.Field=8,ue.Constructor=9,ue.Enum=10,ue.Interface=11,ue.Function=12,ue.Variable=13,ue.Constant=14,ue.String=15,ue.Number=16,ue.Boolean=17,ue.Array=18,ue.Object=19,ue.Key=20,ue.Null=21,ue.EnumMember=22,ue.Struct=23,ue.Event=24,ue.Operator=25,ue.TypeParameter=26,(ce||(ce={})).Deprecated=1,function(e){function t(e,t,n,i,r){var o={name:e,kind:t,location:{uri:i,range:n}};return r&&(o.containerName=r),o}F(t,"create"),e.create=t}(de||(de={})),function(e){function t(e,t,n,i){return void 0!==i?{name:e,kind:t,location:{uri:n,range:i}}:{name:e,kind:t,location:{uri:n}}}F(t,"create"),e.create=t}(le||(le={})),function(e){function t(e,t,n,i,r,o){var a={name:e,detail:t,kind:n,range:i,selectionRange:r};return void 0!==o&&(a.children=o),a}function n(e){var t=e;return t&&Ue.string(t.name)&&Ue.number(t.kind)&&u.is(t.range)&&u.is(t.selectionRange)&&(void 0===t.detail||Ue.string(t.detail))&&(void 0===t.deprecated||Ue.boolean(t.deprecated))&&(void 0===t.children||Array.isArray(t.children))&&(void 0===t.tags||Array.isArray(t.tags))}F(t,"create"),e.create=t,F(n,"is"),e.is=n}(fe||(fe={})),(pe=ge||(ge={})).Empty="",pe.QuickFix="quickfix",pe.Refactor="refactor",pe.RefactorExtract="refactor.extract",pe.RefactorInline="refactor.inline",pe.RefactorRewrite="refactor.rewrite",pe.Source="source",pe.SourceOrganizeImports="source.organizeImports",pe.SourceFixAll="source.fixAll",(he=ve||(ve={})).Invoked=1,he.Automatic=2,function(e){function t(e,t,n){var i={diagnostics:e};return null!=t&&(i.only=t),null!=n&&(i.triggerKind=n),i}function n(e){var t=e;return Ue.defined(t)&&Ue.typedArray(t.diagnostics,_.is)&&(void 0===t.only||Ue.typedArray(t.only,Ue.string))&&(void 0===t.triggerKind||t.triggerKind===ve.Invoked||t.triggerKind===ve.Automatic)}F(t,"create"),e.create=t,F(n,"is"),e.is=n}(me||(me={})),function(e){function t(e,t,n){var i={title:e},r=!0;return"string"==typeof t?(r=!1,i.kind=t):S.is(t)?i.command=t:i.edit=t,r&&void 0!==n&&(i.kind=n),i}function n(e){var t=e;return t&&Ue.string(t.title)&&(void 0===t.diagnostics||Ue.typedArray(t.diagnostics,_.is))&&(void 0===t.kind||Ue.string(t.kind))&&(void 0!==t.edit||void 0!==t.command)&&(void 0===t.command||S.is(t.command))&&(void 0===t.isPreferred||Ue.boolean(t.isPreferred))&&(void 0===t.edit||V.is(t.edit))}F(t,"create"),e.create=t,F(n,"is"),e.is=n}(be||(be={})),function(e){function t(e,t){var n={range:e};return Ue.defined(t)&&(n.data=t),n}function n(e){var t=e;return Ue.defined(t)&&u.is(t.range)&&(Ue.undefined(t.command)||S.is(t.command))}F(t,"create"),e.create=t,F(n,"is"),e.is=n}(ye||(ye={})),function(e){function t(e,t){return{tabSize:e,insertSpaces:t}}function n(e){var t=e;return Ue.defined(t)&&Ue.uinteger(t.tabSize)&&Ue.boolean(t.insertSpaces)}F(t,"create"),e.create=t,F(n,"is"),e.is=n}(Ee||(Ee={})),function(e){function t(e,t,n){return{range:e,target:t,data:n}}function n(e){var t=e;return Ue.defined(t)&&u.is(t.range)&&(Ue.undefined(t.target)||Ue.string(t.target))}F(t,"create"),e.create=t,F(n,"is"),e.is=n}(Ae||(Ae={})),function(e){function t(e,t){return{range:e,parent:t}}function n(t){var n=t;return Ue.objectLiteral(n)&&u.is(n.range)&&(void 0===n.parent||e.is(n.parent))}F(t,"create"),e.create=t,F(n,"is"),e.is=n}(De||(De={})),(Se=_e||(_e={})).namespace="namespace",Se.type="type",Se.class="class",Se.enum="enum",Se.interface="interface",Se.struct="struct",Se.typeParameter="typeParameter",Se.parameter="parameter",Se.variable="variable",Se.property="property",Se.enumMember="enumMember",Se.event="event",Se.function="function",Se.method="method",Se.macro="macro",Se.keyword="keyword",Se.modifier="modifier",Se.comment="comment",Se.string="string",Se.number="number",Se.regexp="regexp",Se.operator="operator",Se.decorator="decorator",(ke=Ie||(Ie={})).declaration="declaration",ke.definition="definition",ke.readonly="readonly",ke.static="static",ke.deprecated="deprecated",ke.abstract="abstract",ke.async="async",ke.modification="modification",ke.documentation="documentation",ke.defaultLibrary="defaultLibrary",function(e){function t(e){var t=e;return Ue.objectLiteral(t)&&(void 0===t.resultId||"string"==typeof t.resultId)&&Array.isArray(t.data)&&(0===t.data.length||"number"==typeof t.data[0])}F(t,"is"),e.is=t}(we||(we={})),function(e){function t(e,t){return{range:e,text:t}}function n(e){var t=e;return null!=t&&u.is(t.range)&&Ue.string(t.text)}F(t,"create"),e.create=t,F(n,"is"),e.is=n}(Te||(Te={})),function(e){function t(e,t,n){return{range:e,variableName:t,caseSensitiveLookup:n}}function n(e){var t=e;return null!=t&&u.is(t.range)&&Ue.boolean(t.caseSensitiveLookup)&&(Ue.string(t.variableName)||void 0===t.variableName)}F(t,"create"),e.create=t,F(n,"is"),e.is=n}(Ce||(Ce={})),function(e){function t(e,t){return{range:e,expression:t}}function n(e){var t=e;return null!=t&&u.is(t.range)&&(Ue.string(t.expression)||void 0===t.expression)}F(t,"create"),e.create=t,F(n,"is"),e.is=n}(xe||(xe={})),function(e){function t(e,t){return{frameId:e,stoppedLocation:t}}function n(e){var t=e;return Ue.defined(t)&&u.is(e.stoppedLocation)}F(t,"create"),e.create=t,F(n,"is"),e.is=n}(Le||(Le={})),function(e){function t(e){return 1===e||2===e}e.Type=1,e.Parameter=2,F(t,"is"),e.is=t}(Ne||(Ne={})),function(e){function t(e){return{value:e}}function n(e){var t=e;return Ue.objectLiteral(t)&&(void 0===t.tooltip||Ue.string(t.tooltip)||z.is(t.tooltip))&&(void 0===t.location||c.is(t.location))&&(void 0===t.command||S.is(t.command))}F(t,"create"),e.create=t,F(n,"is"),e.is=n}(Ve||(Ve={})),function(e){function t(e,t,n){var i={position:e,label:t};return void 0!==n&&(i.kind=n),i}function n(e){var t=e;return Ue.objectLiteral(t)&&s.is(t.position)&&(Ue.string(t.label)||Ue.typedArray(t.label,Ve.is))&&(void 0===t.kind||Ne.is(t.kind))&&void 0===t.textEdits||Ue.typedArray(t.textEdits,I.is)&&(void 0===t.tooltip||Ue.string(t.tooltip)||z.is(t.tooltip))&&(void 0===t.paddingLeft||Ue.boolean(t.paddingLeft))&&(void 0===t.paddingRight||Ue.boolean(t.paddingRight))}F(t,"create"),e.create=t,F(n,"is"),e.is=n}(je||(je={})),function(e){function t(e){var t=e;return Ue.objectLiteral(t)&&r.is(t.uri)&&Ue.string(t.name)}F(t,"is"),e.is=t}(Oe||(Oe={})),function(e){function t(e,t,n,i){return new Pe(e,t,n,i)}function n(e){var t=e;return!!(Ue.defined(t)&&Ue.string(t.uri)&&(Ue.undefined(t.languageId)||Ue.string(t.languageId))&&Ue.uinteger(t.lineCount)&&Ue.func(t.getText)&&Ue.func(t.positionAt)&&Ue.func(t.offsetAt))}function i(e,t){for(var n=e.getText(),i=r(t,function(e,t){var n=e.range.start.line-t.range.start.line;return 0===n?e.range.start.character-t.range.start.character:n}),o=n.length,a=i.length-1;a>=0;a--){var s=i[a],u=e.offsetAt(s.range.start),c=e.offsetAt(s.range.end);if(!(c<=o))throw new Error("Overlapping edit");n=n.substring(0,u)+s.newText+n.substring(c,n.length),o=u}return n}function r(e,t){if(e.length<=1)return e;var n=e.length/2|0,i=e.slice(0,n),o=e.slice(n);r(i,t),r(o,t);for(var a=0,s=0,u=0;a<i.length&&s<o.length;){var c=t(i[a],o[s]);e[u++]=c<=0?i[a++]:o[s++]}for(;a<i.length;)e[u++]=i[a++];for(;s<o.length;)e[u++]=o[s++];return e}F(t,"create"),e.create=t,F(n,"is"),e.is=n,F(i,"applyEdits"),e.applyEdits=i,F(r,"mergeSort")}(Fe||(Fe={}));var Ue,Pe=function(){function e(e,t,n,i){this._uri=e,this._languageId=t,this._version=n,this._content=i,this._lineOffsets=void 0}return F(e,"FullTextDocument"),Object.defineProperty(e.prototype,"uri",{get:function(){return this._uri},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"languageId",{get:function(){return this._languageId},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"version",{get:function(){return this._version},enumerable:!1,configurable:!0}),e.prototype.getText=function(e){if(e){var t=this.offsetAt(e.start),n=this.offsetAt(e.end);return this._content.substring(t,n)}return this._content},e.prototype.update=function(e,t){this._content=e.text,this._version=t,this._lineOffsets=void 0},e.prototype.getLineOffsets=function(){if(void 0===this._lineOffsets){for(var e=[],t=this._content,n=!0,i=0;i<t.length;i++){n&&(e.push(i),n=!1);var r=t.charAt(i);n="\r"===r||"\n"===r,"\r"===r&&i+1<t.length&&"\n"===t.charAt(i+1)&&i++}n&&t.length>0&&e.push(t.length),this._lineOffsets=e}return this._lineOffsets},e.prototype.positionAt=function(e){e=Math.max(Math.min(e,this._content.length),0);var t=this.getLineOffsets(),n=0,i=t.length;if(0===i)return s.create(0,e);for(;n<i;){var r=Math.floor((n+i)/2);t[r]>e?i=r:n=r+1}var o=n-1;return s.create(o,e-t[o])},e.prototype.offsetAt=function(e){var t=this.getLineOffsets();if(e.line>=t.length)return this._content.length;if(e.line<0)return 0;var n=t[e.line],i=e.line+1<t.length?t[e.line+1]:this._content.length;return Math.max(Math.min(n+e.character,i),n)},Object.defineProperty(e.prototype,"lineCount",{get:function(){return this.getLineOffsets().length},enumerable:!1,configurable:!0}),e}();function We(e){return{ofRule:e}}function ze(e,t){return{ofRule:e,isList:!0,separator:t}}function Be(e,t){const n=e.match;return e.match=e=>{let i=!1;return n&&(i=n(e)),i&&t.every(t=>t.match&&!t.match(e))},e}function Qe(e,t){return{style:t,match:t=>t.kind===e}}function Xe(e,t){return{style:t||"punctuation",match:t=>"Punctuation"===t.kind&&t.value===e}}!function(e){var t=Object.prototype.toString;function n(e){return void 0!==e}function i(e){return void 0===e}function r(e){return!0===e||!1===e}function o(e){return"[object String]"===t.call(e)}function a(e){return"[object Number]"===t.call(e)}function s(e,n,i){return"[object Number]"===t.call(e)&&n<=e&&e<=i}function u(e){return"[object Number]"===t.call(e)&&-2147483648<=e&&e<=2147483647}function c(e){return"[object Number]"===t.call(e)&&0<=e&&e<=2147483647}function d(e){return"[object Function]"===t.call(e)}function l(e){return null!==e&&"object"==typeof e}function f(e,t){return Array.isArray(e)&&e.every(t)}F(n,"defined"),e.defined=n,F(i,"undefined$1"),e.undefined=i,F(r,"boolean"),e.boolean=r,F(o,"string"),e.string=o,F(a,"number"),e.number=a,F(s,"numberRange"),e.numberRange=s,F(u,"integer"),e.integer=u,F(c,"uinteger"),e.uinteger=c,F(d,"func"),e.func=d,F(l,"objectLiteral"),e.objectLiteral=l,F(f,"typedArray"),e.typedArray=f}(Ue||(Ue={})),F(We,"opt"),F(ze,"list"),F(Be,"butNot"),F(Qe,"t"),F(Xe,"p");const Ke=F(e=>" "===e||"\t"===e||","===e||"\n"===e||"\r"===e||"\ufeff"===e||" "===e,"isIgnored"),Ye={Name:/^[_A-Za-z][_0-9A-Za-z]*/,Punctuation:/^(?:!|\$|\(|\)|\.\.\.|:|=|&|@|\[|]|\{|\||\})/,Number:/^-?(?:0|(?:[1-9][0-9]*))(?:\.[0-9]*)?(?:[eE][+-]?[0-9]+)?/,String:/^(?:"""(?:\\"""|[^"]|"[^"]|""[^"])*(?:""")?|"(?:[^"\\]|\\(?:"|\/|\\|b|f|n|r|t|u[0-9a-fA-F]{4}))*"?)/,Comment:/^#.*/},$e={Document:[ze("Definition")],Definition(e){switch(e.value){case"{":return"ShortQuery";case"query":return"Query";case"mutation":return"Mutation";case"subscription":return"Subscription";case"fragment":return j.b.FRAGMENT_DEFINITION;case"schema":return"SchemaDef";case"scalar":return"ScalarDef";case"type":return"ObjectTypeDef";case"interface":return"InterfaceDef";case"union":return"UnionDef";case"enum":return"EnumDef";case"input":return"InputDef";case"extend":return"ExtendDef";case"directive":return"DirectiveDef"}},ShortQuery:["SelectionSet"],Query:[qe("query"),We(Ge("def")),We("VariableDefinitions"),ze("Directive"),"SelectionSet"],Mutation:[qe("mutation"),We(Ge("def")),We("VariableDefinitions"),ze("Directive"),"SelectionSet"],Subscription:[qe("subscription"),We(Ge("def")),We("VariableDefinitions"),ze("Directive"),"SelectionSet"],VariableDefinitions:[Xe("("),ze("VariableDefinition"),Xe(")")],VariableDefinition:["Variable",Xe(":"),"Type",We("DefaultValue")],Variable:[Xe("$","variable"),Ge("variable")],DefaultValue:[Xe("="),"Value"],SelectionSet:[Xe("{"),ze("Selection"),Xe("}")],Selection:(e,t)=>"..."===e.value?t.match(/[\s\u00a0,]*(on\b|@|{)/,!1)?"InlineFragment":"FragmentSpread":t.match(/[\s\u00a0,]*:/,!1)?"AliasedField":"Field",AliasedField:[Ge("property"),Xe(":"),Ge("qualifier"),We("Arguments"),ze("Directive"),We("SelectionSet")],Field:[Ge("property"),We("Arguments"),ze("Directive"),We("SelectionSet")],Arguments:[Xe("("),ze("Argument"),Xe(")")],Argument:[Ge("attribute"),Xe(":"),"Value"],FragmentSpread:[Xe("..."),Ge("def"),ze("Directive")],InlineFragment:[Xe("..."),We("TypeCondition"),ze("Directive"),"SelectionSet"],FragmentDefinition:[qe("fragment"),We(Be(Ge("def"),[qe("on")])),"TypeCondition",ze("Directive"),"SelectionSet"],TypeCondition:[qe("on"),"NamedType"],Value(e){switch(e.kind){case"Number":return"NumberValue";case"String":return"StringValue";case"Punctuation":switch(e.value){case"[":return"ListValue";case"{":return"ObjectValue";case"$":return"Variable";case"&":return"NamedType"}return null;case"Name":switch(e.value){case"true":case"false":return"BooleanValue"}return"null"===e.value?"NullValue":"EnumValue"}},NumberValue:[Qe("Number","number")],StringValue:[{style:"string",match:e=>"String"===e.kind,update(e,t){t.value.startsWith('"""')&&(e.inBlockstring=!t.value.slice(3).endsWith('"""'))}}],BooleanValue:[Qe("Name","builtin")],NullValue:[Qe("Name","keyword")],EnumValue:[Ge("string-2")],ListValue:[Xe("["),ze("Value"),Xe("]")],ObjectValue:[Xe("{"),ze("ObjectField"),Xe("}")],ObjectField:[Ge("attribute"),Xe(":"),"Value"],Type:e=>"["===e.value?"ListType":"NonNullType",ListType:[Xe("["),"Type",Xe("]"),We(Xe("!"))],NonNullType:["NamedType",We(Xe("!"))],NamedType:[He("atom")],Directive:[Xe("@","meta"),Ge("meta"),We("Arguments")],DirectiveDef:[qe("directive"),Xe("@","meta"),Ge("meta"),We("ArgumentsDef"),qe("on"),ze("DirectiveLocation",Xe("|"))],InterfaceDef:[qe("interface"),Ge("atom"),We("Implements"),ze("Directive"),Xe("{"),ze("FieldDef"),Xe("}")],Implements:[qe("implements"),ze("NamedType",Xe("&"))],DirectiveLocation:[Ge("string-2")],SchemaDef:[qe("schema"),ze("Directive"),Xe("{"),ze("OperationTypeDef"),Xe("}")],OperationTypeDef:[Ge("keyword"),Xe(":"),Ge("atom")],ScalarDef:[qe("scalar"),Ge("atom"),ze("Directive")],ObjectTypeDef:[qe("type"),Ge("atom"),We("Implements"),ze("Directive"),Xe("{"),ze("FieldDef"),Xe("}")],FieldDef:[Ge("property"),We("ArgumentsDef"),Xe(":"),"Type",ze("Directive")],ArgumentsDef:[Xe("("),ze("InputValueDef"),Xe(")")],InputValueDef:[Ge("attribute"),Xe(":"),"Type",We("DefaultValue"),ze("Directive")],UnionDef:[qe("union"),Ge("atom"),ze("Directive"),Xe("="),ze("UnionMember",Xe("|"))],UnionMember:["NamedType"],EnumDef:[qe("enum"),Ge("atom"),ze("Directive"),Xe("{"),ze("EnumValueDef"),Xe("}")],EnumValueDef:[Ge("string-2"),ze("Directive")],InputDef:[qe("input"),Ge("atom"),ze("Directive"),Xe("{"),ze("InputValueDef"),Xe("}")],ExtendDef:[qe("extend"),"ObjectTypeDef"]};function qe(e){return{style:"keyword",match:t=>"Name"===t.kind&&t.value===e}}function Ge(e){return{style:e,match:e=>"Name"===e.kind,update(e,t){e.name=t.value}}}function He(e){return{style:e,match:e=>"Name"===e.kind,update(e,t){var n;(null===(n=e.prevState)||void 0===n?void 0:n.prevState)&&(e.name=t.value,e.prevState.prevState.type=t.value)}}}function Je(e={eatWhitespace:e=>e.eatWhile(Ke),lexRules:Ye,parseRules:$e,editorConfig:{}}){return{startState(){const t={level:0,step:0,name:null,kind:null,type:null,rule:null,needsSeperator:!1,prevState:null};return nt(e.parseRules,t,j.b.DOCUMENT),t},token:(t,n)=>Ze(t,n,e)}}function Ze(e,t,n){var i;if(t.inBlockstring)return e.match(/.*"""/)?(t.inBlockstring=!1,"string"):(e.skipToEnd(),"string");const{lexRules:r,parseRules:o,eatWhitespace:a,editorConfig:s}=n;if(t.rule&&0===t.rule.length?it(t):t.needsAdvance&&(t.needsAdvance=!1,rt(t,!0)),e.sol()){const n=(null==s?void 0:s.tabSize)||2;t.indentLevel=Math.floor(e.indentation()/n)}if(a(e))return"ws";const u=st(r,e);if(!u)return e.match(/\S+/)||e.match(/\s/),nt(tt,t,"Invalid"),"invalidchar";if("Comment"===u.kind)return nt(tt,t,"Comment"),"comment";const c=et({},t);if("Punctuation"===u.kind)if(/^[{([]/.test(u.value))void 0!==t.indentLevel&&(t.levels=(t.levels||[]).concat(t.indentLevel+1));else if(/^[})\]]/.test(u.value)){const e=t.levels=(t.levels||[]).slice(0,-1);t.indentLevel&&e.length>0&&e[e.length-1]<t.indentLevel&&(t.indentLevel=e[e.length-1])}for(;t.rule;){let n="function"==typeof t.rule?0===t.step?t.rule(u,e):null:t.rule[t.step];if(t.needsSeperator&&(n=null==n?void 0:n.separator),n){if(n.ofRule&&(n=n.ofRule),"string"==typeof n){nt(o,t,n);continue}if(null===(i=n.match)||void 0===i?void 0:i.call(n,u))return n.update&&n.update(t,u),"Punctuation"===u.kind?rt(t,!0):t.needsAdvance=!0,n.style}at(t)}return et(t,c),nt(tt,t,"Invalid"),"invalidchar"}function et(e,t){const n=Object.keys(t);for(let i=0;i<n.length;i++)e[n[i]]=t[n[i]];return e}F(qe,"word"),F(Ge,"name"),F(He,"type"),F(Je,"onlineParser"),F(Ze,"getToken"),F(et,"assign");const tt={Invalid:[],Comment:[]};function nt(e,t,n){if(!e[n])throw new TypeError("Unknown rule: "+n);t.prevState=Object.assign({},t),t.kind=n,t.name=null,t.type=null,t.rule=e[n],t.step=0,t.needsSeperator=!1}function it(e){e.prevState&&(e.kind=e.prevState.kind,e.name=e.prevState.name,e.type=e.prevState.type,e.rule=e.prevState.rule,e.step=e.prevState.step,e.needsSeperator=e.prevState.needsSeperator,e.prevState=e.prevState.prevState)}function rt(e,t){var n;if(ot(e)&&e.rule){const n=e.rule[e.step];if(n.separator){const t=n.separator;if(e.needsSeperator=!e.needsSeperator,!e.needsSeperator&&t.ofRule)return}if(t)return}for(e.needsSeperator=!1,e.step++;e.rule&&!(Array.isArray(e.rule)&&e.step<e.rule.length);)it(e),e.rule&&(ot(e)?(null===(n=e.rule)||void 0===n?void 0:n[e.step].separator)&&(e.needsSeperator=!e.needsSeperator):(e.needsSeperator=!1,e.step++))}function ot(e){const t=Array.isArray(e.rule)&&"string"!=typeof e.rule[e.step]&&e.rule[e.step];return t&&t.isList}function at(e){for(;e.rule&&(!Array.isArray(e.rule)||!e.rule[e.step].ofRule);)it(e);e.rule&&rt(e,!1)}function st(e,t){const n=Object.keys(e);for(let i=0;i<n.length;i++){const r=t.match(e[n[i]]);if(r&&r instanceof Array)return{kind:n[i],value:r[0]}}}F(nt,"pushRule"),F(it,"popRule"),F(rt,"advanceRule"),F(ot,"isList"),F(at,"unsuccessful"),F(st,"lex");const ut=Object.assign(Object.assign({},j.b),{ALIASED_FIELD:"AliasedField",ARGUMENTS:"Arguments",SHORT_QUERY:"ShortQuery",QUERY:"Query",MUTATION:"Mutation",SUBSCRIPTION:"Subscription",TYPE_CONDITION:"TypeCondition",INVALID:"Invalid",COMMENT:"Comment",SCHEMA_DEF:"SchemaDef",SCALAR_DEF:"ScalarDef",OBJECT_TYPE_DEF:"ObjectTypeDef",OBJECT_VALUE:"ObjectValue",LIST_VALUE:"ListValue",INTERFACE_DEF:"InterfaceDef",UNION_DEF:"UnionDef",ENUM_DEF:"EnumDef",ENUM_VALUE:"EnumValue",FIELD_DEF:"FieldDef",INPUT_DEF:"InputDef",INPUT_VALUE_DEF:"InputValueDef",ARGUMENTS_DEF:"ArgumentsDef",EXTEND_DEF:"ExtendDef",DIRECTIVE_DEF:"DirectiveDef",IMPLEMENTS:"Implements",VARIABLE_DEFINITIONS:"VariableDefinitions",TYPE:"Type"});var ct;globalThis&&globalThis.__awaiter,function(e){e.Text=1,e.Method=2,e.Function=3,e.Constructor=4,e.Field=5,e.Variable=6,e.Class=7,e.Interface=8,e.Module=9,e.Property=10,e.Unit=11,e.Value=12,e.Enum=13,e.Keyword=14,e.Snippet=15,e.Color=16,e.File=17,e.Reference=18,e.Folder=19,e.EnumMember=20,e.Constant=21,e.Struct=22,e.Event=23,e.Operator=24,e.TypeParameter=25}(ct||(ct={}))}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunk=self.webpackChunk||[]).push([[643],{45643(e,t,n){n.r(t);var r=n(38950),l=n(2629),u=(n(75909),n(63696),n(78325),Object.defineProperty);function a(e,t){var n,r;const l=e.levels;return((l&&0!==l.length?l[l.length-1]-((null===(n=this.electricInput)||void 0===n?void 0:n.test(t))?1:0):e.indentLevel)||0)*((null===(r=this.config)||void 0===r?void 0:r.indentUnit)||0)}r.C.defineMode("graphql-results",e=>{const t=(0,l.o)({eatWhitespace:e=>e.eatSpace(),lexRules:i,parseRules:s,editorConfig:{tabSize:e.tabSize}});return{config:e,startState:t.startState,token:t.token,indent:a,electricInput:/^\s*[}\]]/,fold:"brace",closeBrackets:{pairs:'[]{}""',explode:"[]{}"}}}),u(a,"name",{value:"indent",configurable:!0});const i={Punctuation:/^\[|]|\{|\}|:|,/,Number:/^-?(?:0|(?:[1-9][0-9]*))(?:\.[0-9]*)?(?:[eE][+-]?[0-9]+)?/,String:/^"(?:[^"\\]|\\(?:"|\/|\\|b|f|n|r|t|u[0-9a-fA-F]{4}))*"?/,Keyword:/^true|false|null/},s={Document:[(0,l.p)("{"),(0,l.l)("Entry",(0,l.p)(",")),(0,l.p)("}")],Entry:[(0,l.t)("String","def"),(0,l.p)(":"),"Value"],Value(e){switch(e.kind){case"Number":return"NumberValue";case"String":return"StringValue";case"Punctuation":switch(e.value){case"[":return"ListValue";case"{":return"ObjectValue"}return null;case"Keyword":switch(e.value){case"true":case"false":return"BooleanValue";case"null":return"NullValue"}return null}},NumberValue:[(0,l.t)("Number","number")],StringValue:[(0,l.t)("String","string")],BooleanValue:[(0,l.t)("Keyword","builtin")],NullValue:[(0,l.t)("Keyword","keyword")],ListValue:[(0,l.p)("["),(0,l.l)("Value",(0,l.p)(",")),(0,l.p)("]")],ObjectValue:[(0,l.p)("{"),(0,l.l)("ObjectField",(0,l.p)(",")),(0,l.p)("}")],ObjectField:[(0,l.t)("String","property"),(0,l.p)(":"),"Value"]}}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunk=self.webpackChunk||[]).push([[647],{49181(e,t,n){n.d(t,{C:()=>a,P:()=>o,R:()=>s});var i=Object.defineProperty,r=(e,t)=>i(e,"name",{value:t,configurable:!0});class a{constructor(e){this.getStartOfToken=()=>this._start,this.getCurrentPosition=()=>this._pos,this.eol=()=>this._sourceText.length===this._pos,this.sol=()=>0===this._pos,this.peek=()=>this._sourceText.charAt(this._pos)?this._sourceText.charAt(this._pos):null,this.next=()=>{const e=this._sourceText.charAt(this._pos);return this._pos++,e},this.eat=e=>{if(this._testNextCharacter(e))return this._start=this._pos,this._pos++,this._sourceText.charAt(this._pos-1)},this.eatWhile=e=>{let t=this._testNextCharacter(e),n=!1;for(t&&(n=t,this._start=this._pos);t;)this._pos++,t=this._testNextCharacter(e),n=!0;return n},this.eatSpace=()=>this.eatWhile(/[\s\u00a0]/),this.skipToEnd=()=>{this._pos=this._sourceText.length},this.skipTo=e=>{this._pos=e},this.match=(e,t=!0,n=!1)=>{let i=null,r=null;return"string"==typeof e?(r=new RegExp(e,n?"i":"g").test(this._sourceText.substr(this._pos,e.length)),i=e):e instanceof RegExp&&(r=this._sourceText.slice(this._pos).match(e),i=null==r?void 0:r[0]),!(null==r||!("string"==typeof e||r instanceof Array&&this._sourceText.startsWith(r[0],this._pos)))&&(t&&(this._start=this._pos,i&&i.length&&(this._pos+=i.length)),r)},this.backUp=e=>{this._pos-=e},this.column=()=>this._pos,this.indentation=()=>{const e=this._sourceText.match(/\s*/);let t=0;if(e&&0!==e.length){const n=e[0];let i=0;for(;n.length>i;)9===n.charCodeAt(i)?t+=2:t++,i++}return t},this.current=()=>this._sourceText.slice(this._start,this._pos),this._start=0,this._pos=0,this._sourceText=e}_testNextCharacter(e){const t=this._sourceText.charAt(this._pos);let n=!1;return n="string"==typeof e?t===e:e instanceof RegExp?e.test(t):e(t),n}}r(a,"CharacterStream");class s{constructor(e,t){this.containsPosition=e=>this.start.line===e.line?this.start.character<=e.character:this.end.line===e.line?this.end.character>=e.character:this.start.line<=e.line&&this.end.line>=e.line,this.start=e,this.end=t}setStart(e,t){this.start=new o(e,t)}setEnd(e,t){this.end=new o(e,t)}}r(s,"Range");class o{constructor(e,t){this.lessThanOrEqualTo=e=>this.line<e.line||this.line===e.line&&this.character<=e.character,this.line=e,this.character=t}setLine(e){this.line=e}setCharacter(e){this.character=e}}r(o,"Position")},82647(e,t,n){n.r(t);var i=n(38950),r=(n(34729),n(85236)),a=n(50080),s=n(14552),o=n(34058),l=n(26788),c=n(34627),u=n(59847),d=n(93544),p=n(2629),f=n(49181),E=n(30183),h=(n(75909),n(63696),n(78325),Object.defineProperty),T=(e,t)=>h(e,"name",{value:t,configurable:!0});function g(e){let t;return m(e,e=>{switch(e.kind){case"Query":case"ShortQuery":case"Mutation":case"Subscription":case"FragmentDefinition":t=e}}),t}function R(e,t,n){return n===E.S.name&&e.getQueryType()===t?E.S:n===E.T.name&&e.getQueryType()===t?E.T:n===E.a.name&&(0,r.ML)(t)?E.a:"getFields"in t?t.getFields()[n]:null}function m(e,t){const n=[];let i=e;for(;null==i?void 0:i.kind;)n.push(i),i=i.prevState;for(let e=n.length-1;e>=0;e--)t(n[e])}function v(e){const t=Object.keys(e),n=t.length,i=new Array(n);for(let r=0;r<n;++r)i[r]=e[t[r]];return i}function _(e,t){return y(t,S(e.string))}function y(e,t){return t?I(I(e.map(e=>({proximity:N(S(e.label),t),entry:e})),e=>e.proximity<=2),e=>!e.entry.isDeprecated).sort((e,t)=>(e.entry.isDeprecated?1:0)-(t.entry.isDeprecated?1:0)||e.proximity-t.proximity||e.entry.label.length-t.entry.label.length).map(e=>e.entry):I(e,e=>!e.isDeprecated)}function I(e,t){const n=e.filter(t);return 0===n.length?e:n}function S(e){return e.toLowerCase().replace(/\W/g,"")}function N(e,t){let n=D(t,e);return e.length>t.length&&(n-=e.length-t.length-1,n+=0===e.indexOf(t)?0:.5),n}function D(e,t){let n,i;const r=[],a=e.length,s=t.length;for(n=0;n<=a;n++)r[n]=[n];for(i=1;i<=s;i++)r[0][i]=i;for(n=1;n<=a;n++)for(i=1;i<=s;i++){const a=e[n-1]===t[i-1]?0:1;r[n][i]=Math.min(r[n-1][i]+1,r[n][i-1]+1,r[n-1][i-1]+a),n>1&&i>1&&e[n-1]===t[i-2]&&e[n-2]===t[i-1]&&(r[n][i]=Math.min(r[n][i],r[n-2][i-2]+a))}return r[a][s]}T(g,"getDefinitionState"),T(R,"getFieldDef"),T(m,"forEachState"),T(v,"objectValues"),T(_,"hintList"),T(y,"filterAndSortList"),T(I,"filterNonEmpty"),T(S,"normalizeText"),T(N,"getProximity"),T(D,"lexicalDistance");const k={command:"editor.action.triggerSuggest",title:"Suggestions"},F=T(e=>{const t=[];if(e)try{(0,c.YR)((0,l.qg)(e),{FragmentDefinition(e){t.push(e)}})}catch(e){return[]}return t},"collectFragmentDefs");function A(e,t,n,i,a,s){var o;const l=Object.assign(Object.assign({},s),{schema:e}),c=i||H(t,n),u="Invalid"===c.state.kind?c.state.prevState:c.state;if(!u)return[];const d=u.kind,f=u.step,E=J(e,c.state);if(d===p.R.DOCUMENT)return _(c,[{label:"query",kind:p.C.Function},{label:"mutation",kind:p.C.Function},{label:"subscription",kind:p.C.Function},{label:"fragment",kind:p.C.Function},{label:"{",kind:p.C.Constructor}]);if(d===p.R.IMPLEMENTS||d===p.R.NAMED_TYPE&&(null===(o=u.prevState)||void 0===o?void 0:o.kind)===p.R.IMPLEMENTS)return L(c,u,e,t,E);if(d===p.R.SELECTION_SET||d===p.R.FIELD||d===p.R.ALIASED_FIELD)return O(c,E,l);if(d===p.R.ARGUMENTS||d===p.R.ARGUMENT&&0===f){const e=E.argDefs;if(e)return _(c,e.map(e=>{var t;return{label:e.name,insertText:e.name+": ",command:k,detail:String(e.type),documentation:null!==(t=e.description)&&void 0!==t?t:void 0,kind:p.C.Variable,type:e.type}}))}if((d===p.R.OBJECT_VALUE||d===p.R.OBJECT_FIELD&&0===f)&&E.objectFieldDefs){const e=v(E.objectFieldDefs),t=d===p.R.OBJECT_VALUE?p.C.Value:p.C.Field;return _(c,e.map(e=>{var n;return{label:e.name,detail:String(e.type),documentation:null!==(n=e.description)&&void 0!==n?n:void 0,kind:t,type:e.type}}))}if(d===p.R.ENUM_VALUE||d===p.R.LIST_VALUE&&1===f||d===p.R.OBJECT_FIELD&&2===f||d===p.R.ARGUMENT&&2===f)return M(c,E,t,e);if(d===p.R.VARIABLE&&1===f){const n=(0,r.MR)(E.inputType);return _(c,V(t,e,c).filter(e=>e.detail===(null==n?void 0:n.name)))}return d===p.R.TYPE_CONDITION&&1===f||d===p.R.NAMED_TYPE&&null!=u.prevState&&u.prevState.kind===p.R.TYPE_CONDITION?x(c,E,e):d===p.R.FRAGMENT_SPREAD&&1===f?P(c,E,e,t,Array.isArray(a)?a:F(a)):d===p.R.VARIABLE_DEFINITION&&2===f||d===p.R.LIST_TYPE&&1===f||d===p.R.NAMED_TYPE&&u.prevState&&(u.prevState.kind===p.R.VARIABLE_DEFINITION||u.prevState.kind===p.R.LIST_TYPE||u.prevState.kind===p.R.NON_NULL_TYPE)?B(c,e):d===p.R.DIRECTIVE?j(c,u,e):[]}T(A,"getAutocompleteSuggestions");const b=" {\n $1\n}",C=T(e=>{const t=e.type;if((0,r.ML)(t))return b;if((0,r.Fs)(t)&&(0,r.ML)(t.ofType))return b;if((0,r.bd)(t)){if((0,r.ML)(t.ofType))return b;if((0,r.Fs)(t.ofType)&&(0,r.ML)(t.ofType.ofType))return b}return null},"getInsertText");function O(e,t,n){var i;if(t.parentType){const a=t.parentType;let s=[];return"getFields"in a&&(s=v(a.getFields())),(0,r.ML)(a)&&s.push(o.of),a===(null===(i=null==n?void 0:n.schema)||void 0===i?void 0:i.getQueryType())&&s.push(o.S0,o.Xe),_(e,s.map((e,t)=>{var n;const i={sortText:String(t)+e.name,label:e.name,detail:String(e.type),documentation:null!==(n=e.description)&&void 0!==n?n:void 0,deprecated:Boolean(e.deprecationReason),isDeprecated:Boolean(e.deprecationReason),deprecationReason:e.deprecationReason,kind:p.C.Field,type:e.type},r=C(e);return r&&(i.insertText=e.name+r,i.insertTextFormat=p.I.Snippet,i.command=k),i}))}return[]}function M(e,t,n,i){const s=(0,r.MR)(t.inputType),o=V(n,i,e).filter(e=>e.detail===s.name);return s instanceof r.Zb?_(e,s.getValues().map(e=>{var t;return{label:e.name,detail:String(s),documentation:null!==(t=e.description)&&void 0!==t?t:void 0,deprecated:Boolean(e.deprecationReason),isDeprecated:Boolean(e.deprecationReason),deprecationReason:e.deprecationReason,kind:p.C.EnumMember,type:s}}).concat(o)):s===a.kk?_(e,o.concat([{label:"true",detail:String(a.kk),documentation:"Not false.",kind:p.C.Variable,type:a.kk},{label:"false",detail:String(a.kk),documentation:"Not true.",kind:p.C.Variable,type:a.kk}])):o}function L(e,t,n,i,a){if(t.needsSeperator)return[];const s=v(n.getTypeMap()).filter(r.kD),o=s.map(({name:e})=>e),l=new Set;G(i,(e,t)=>{var i,s,c,u,d;if(t.name&&(t.kind!==p.R.INTERFACE_DEF||o.includes(t.name)||l.add(t.name),t.kind===p.R.NAMED_TYPE&&(null===(i=t.prevState)||void 0===i?void 0:i.kind)===p.R.IMPLEMENTS))if(a.interfaceDef){if(null===(s=a.interfaceDef)||void 0===s?void 0:s.getInterfaces().find(({name:e})=>e===t.name))return;const e=n.getType(t.name),i=null===(c=a.interfaceDef)||void 0===c?void 0:c.toConfig();a.interfaceDef=new r.VA(Object.assign(Object.assign({},i),{interfaces:[...i.interfaces,e||new r.VA({name:t.name,fields:{}})]}))}else if(a.objectTypeDef){if(null===(u=a.objectTypeDef)||void 0===u?void 0:u.getInterfaces().find(({name:e})=>e===t.name))return;const e=n.getType(t.name),i=null===(d=a.objectTypeDef)||void 0===d?void 0:d.toConfig();a.objectTypeDef=new r.bh(Object.assign(Object.assign({},i),{interfaces:[...i.interfaces,e||new r.VA({name:t.name,fields:{}})]}))}});const c=a.interfaceDef||a.objectTypeDef,u=((null==c?void 0:c.getInterfaces())||[]).map(({name:e})=>e);return _(e,s.concat([...l].map(e=>({name:e}))).filter(({name:e})=>e!==(null==c?void 0:c.name)&&!u.includes(e)).map(e=>{const t={label:e.name,kind:p.C.Interface,type:e};return(null==e?void 0:e.description)&&(t.documentation=e.description),t}))}function x(e,t,n,i){let a;if(t.parentType)if((0,r.Lc)(t.parentType)){const e=(0,r.N_)(t.parentType),i=n.getPossibleTypes(e),s=Object.create(null);i.forEach(e=>{e.getInterfaces().forEach(e=>{s[e.name]=e})}),a=i.concat(v(s))}else a=[t.parentType];else a=v(n.getTypeMap()).filter(r.ML);return _(e,a.map(e=>{const t=(0,r.MR)(e);return{label:String(e),documentation:(null==t?void 0:t.description)||"",kind:p.C.Field}}))}function P(e,t,n,i,a){if(!i)return[];const s=n.getTypeMap(),o=g(e.state),l=w(i);return a&&a.length>0&&l.push(...a),_(e,l.filter(e=>s[e.typeCondition.name.value]&&!(o&&o.kind===p.R.FRAGMENT_DEFINITION&&o.name===e.name.value)&&(0,r.ML)(t.parentType)&&(0,r.ML)(s[e.typeCondition.name.value])&&(0,d.uI)(n,t.parentType,s[e.typeCondition.name.value])).map(e=>({label:e.name.value,detail:String(s[e.typeCondition.name.value]),documentation:`fragment ${e.name.value} on ${e.typeCondition.name.value}`,kind:p.C.Field,type:s[e.typeCondition.name.value]})))}T(O,"getSuggestionsForFieldNames"),T(M,"getSuggestionsForInputValues"),T(L,"getSuggestionsForImplements"),T(x,"getSuggestionsForFragmentTypeConditions"),T(P,"getSuggestionsForFragmentSpread");const U=T((e,t)=>{var n,i,r,a,s,o,l,c,u,d;return(null===(n=e.prevState)||void 0===n?void 0:n.kind)===t?e.prevState:(null===(r=null===(i=e.prevState)||void 0===i?void 0:i.prevState)||void 0===r?void 0:r.kind)===t?e.prevState.prevState:(null===(o=null===(s=null===(a=e.prevState)||void 0===a?void 0:a.prevState)||void 0===s?void 0:s.prevState)||void 0===o?void 0:o.kind)===t?e.prevState.prevState.prevState:(null===(d=null===(u=null===(c=null===(l=e.prevState)||void 0===l?void 0:l.prevState)||void 0===c?void 0:c.prevState)||void 0===u?void 0:u.prevState)||void 0===d?void 0:d.kind)===t?e.prevState.prevState.prevState.prevState:void 0},"getParentDefinition");function V(e,t,n){let i,r=null;const a=Object.create({});return G(e,(e,s)=>{if((null==s?void 0:s.kind)===p.R.VARIABLE&&s.name&&(r=s.name),(null==s?void 0:s.kind)===p.R.NAMED_TYPE&&r){const e=U(s,p.R.TYPE);(null==e?void 0:e.type)&&(i=t.getType(null==e?void 0:e.type))}r&&i&&(a[r]||(a[r]={detail:i.toString(),insertText:"$"===n.string?r:"$"+r,label:r,type:i,kind:p.C.Variable},r=null,i=null))}),v(a)}function w(e){const t=[];return G(e,(e,n)=>{n.kind===p.R.FRAGMENT_DEFINITION&&n.name&&n.type&&t.push({kind:p.R.FRAGMENT_DEFINITION,name:{kind:s.b.NAME,value:n.name},selectionSet:{kind:p.R.SELECTION_SET,selections:[]},typeCondition:{kind:p.R.NAMED_TYPE,name:{kind:s.b.NAME,value:n.type}}})}),t}function B(e,t,n){return _(e,v(t.getTypeMap()).filter(r.dX).map(e=>({label:e.name,documentation:e.description,kind:p.C.Variable})))}function j(e,t,n,i){var r;return(null===(r=t.prevState)||void 0===r?void 0:r.kind)?_(e,n.getDirectives().filter(e=>Y(t.prevState,e)).map(e=>({label:e.name,documentation:e.description||"",kind:p.C.Function}))):[]}function H(e,t){let n=null,i=null,r=null;const a=G(e,(e,a,s,o)=>{if(o===t.line&&e.getCurrentPosition()>=t.character)return n=s,i=Object.assign({},a),r=e.current(),"BREAK"});return{start:a.start,end:a.end,string:r||a.string,state:i||a.state,style:n||a.style}}function G(e,t){const n=e.split("\n"),i=(0,p.o)();let r=i.startState(),a="",s=new f.C("");for(let e=0;e<n.length;e++){for(s=new f.C(n[e]);!s.eol()&&(a=i.token(s,r),"BREAK"!==t(s,r,a,e)););t(s,r,a,e),r.kind||(r=i.startState())}return{start:s.getStartOfToken(),end:s.getCurrentPosition(),string:s.current(),state:r,style:a}}function Y(e,t){var n;if(!e||!e.kind)return!1;const i=e.kind,r=t.locations;switch(i){case p.R.QUERY:return-1!==r.indexOf(u.H.QUERY);case p.R.MUTATION:return-1!==r.indexOf(u.H.MUTATION);case p.R.SUBSCRIPTION:return-1!==r.indexOf(u.H.SUBSCRIPTION);case p.R.FIELD:case p.R.ALIASED_FIELD:return-1!==r.indexOf(u.H.FIELD);case p.R.FRAGMENT_DEFINITION:return-1!==r.indexOf(u.H.FRAGMENT_DEFINITION);case p.R.FRAGMENT_SPREAD:return-1!==r.indexOf(u.H.FRAGMENT_SPREAD);case p.R.INLINE_FRAGMENT:return-1!==r.indexOf(u.H.INLINE_FRAGMENT);case p.R.SCHEMA_DEF:return-1!==r.indexOf(u.H.SCHEMA);case p.R.SCALAR_DEF:return-1!==r.indexOf(u.H.SCALAR);case p.R.OBJECT_TYPE_DEF:return-1!==r.indexOf(u.H.OBJECT);case p.R.FIELD_DEF:return-1!==r.indexOf(u.H.FIELD_DEFINITION);case p.R.INTERFACE_DEF:return-1!==r.indexOf(u.H.INTERFACE);case p.R.UNION_DEF:return-1!==r.indexOf(u.H.UNION);case p.R.ENUM_DEF:return-1!==r.indexOf(u.H.ENUM);case p.R.ENUM_VALUE:return-1!==r.indexOf(u.H.ENUM_VALUE);case p.R.INPUT_DEF:return-1!==r.indexOf(u.H.INPUT_OBJECT);case p.R.INPUT_VALUE_DEF:switch(null===(n=e.prevState)||void 0===n?void 0:n.kind){case p.R.ARGUMENTS_DEF:return-1!==r.indexOf(u.H.ARGUMENT_DEFINITION);case p.R.INPUT_DEF:return-1!==r.indexOf(u.H.INPUT_FIELD_DEFINITION)}}return!1}function J(e,t){let n,i,a,s,o,l,c,u,d,f,E;return m(t,t=>{var h;switch(t.kind){case p.R.QUERY:case"ShortQuery":f=e.getQueryType();break;case p.R.MUTATION:f=e.getMutationType();break;case p.R.SUBSCRIPTION:f=e.getSubscriptionType();break;case p.R.INLINE_FRAGMENT:case p.R.FRAGMENT_DEFINITION:t.type&&(f=e.getType(t.type));break;case p.R.FIELD:case p.R.ALIASED_FIELD:f&&t.name?(o=d?R(e,d,t.name):null,f=o?o.type:null):o=null;break;case p.R.SELECTION_SET:d=(0,r.MR)(f);break;case p.R.DIRECTIVE:a=t.name?e.getDirective(t.name):null;break;case p.R.INTERFACE_DEF:t.name&&(c=null,E=new r.VA({name:t.name,interfaces:[],fields:{}}));break;case p.R.OBJECT_TYPE_DEF:t.name&&(E=null,c=new r.bh({name:t.name,interfaces:[],fields:{}}));break;case p.R.ARGUMENTS:if(t.prevState)switch(t.prevState.kind){case p.R.FIELD:i=o&&o.args;break;case p.R.DIRECTIVE:i=a&&a.args;break;case p.R.ALIASED_FIELD:{const n=null===(h=t.prevState)||void 0===h?void 0:h.name;if(!n){i=null;break}const r=d?R(e,d,n):null;if(!r){i=null;break}i=r.args;break}default:i=null}else i=null;break;case p.R.ARGUMENT:if(i)for(let e=0;e<i.length;e++)if(i[e].name===t.name){n=i[e];break}l=null==n?void 0:n.type;break;case p.R.ENUM_VALUE:const T=(0,r.MR)(l);s=T instanceof r.Zb?T.getValues().find(e=>e.value===t.name):null;break;case p.R.LIST_VALUE:const g=(0,r.yl)(l);l=g instanceof r.KT?g.ofType:null;break;case p.R.OBJECT_VALUE:const m=(0,r.MR)(l);u=m instanceof r.zP?m.getFields():null;break;case p.R.OBJECT_FIELD:const v=t.name&&u?u[t.name]:null;l=null==v?void 0:v.type;break;case p.R.NAMED_TYPE:t.name&&(f=e.getType(t.name))}}),{argDef:n,argDefs:i,directiveDef:a,enumValue:s,fieldDef:o,inputType:l,objectFieldDefs:u,parentType:d,type:f,interfaceDef:E,objectTypeDef:c}}T(V,"getVariableCompletions"),T(w,"getFragmentDefinitions"),T(B,"getSuggestionsForVariableDefinition"),T(j,"getSuggestionsForDirective"),T(H,"getTokenAtPosition"),T(G,"runOnlineParser"),T(Y,"canUseDirective"),T(J,"getTypeInfo"),i.C.registerHelper("hint","graphql",(e,t)=>{const n=t.schema;if(!n)return;const r=e.getCursor(),a=e.getTokenAt(r),s=null!==a.type&&/"|\w/.test(a.string[0])?a.start:a.end,o=new f.P(r.line,s),l={list:A(n,e.getValue(),o,a,t.externalFragments).map(e=>({text:e.label,type:e.type,description:e.documentation,isDeprecated:e.isDeprecated,deprecationReason:e.deprecationReason})),from:{line:r.line,ch:s},to:{line:r.line,ch:a.end}};return(null==l?void 0:l.list)&&l.list.length>0&&(l.from=i.C.Pos(l.from.line,l.from.ch),l.to=i.C.Pos(l.to.line,l.to.ch),i.C.signal(e,"hasCompletion",e,l,a)),l})}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunk=self.webpackChunk||[]).push([[701],{28701(e,o,t){t.r(o);var n=t(38950),i=(t(75909),t(63696),t(78325),Object.defineProperty),r=(e,o)=>i(e,"name",{value:o,configurable:!0});function u(e){return{options:e instanceof Function?{render:e}:!0===e?{}:e}}function m(e){const o=e.state.info.options;return(null==o?void 0:o.hoverTime)||500}function s(e,o){const t=e.state.info,i=o.target||o.srcElement;if(!(i instanceof HTMLElement))return;if("SPAN"!==i.nodeName||void 0!==t.hoverTimeout)return;const u=i.getBoundingClientRect(),s=r(function(){clearTimeout(t.hoverTimeout),t.hoverTimeout=setTimeout(p,c)},"onMouseMove"),f=r(function(){n.C.off(document,"mousemove",s),n.C.off(e.getWrapperElement(),"mouseout",f),clearTimeout(t.hoverTimeout),t.hoverTimeout=void 0},"onMouseOut"),p=r(function(){n.C.off(document,"mousemove",s),n.C.off(e.getWrapperElement(),"mouseout",f),t.hoverTimeout=void 0,a(e,u)},"onHover"),c=m(e);t.hoverTimeout=setTimeout(p,c),n.C.on(document,"mousemove",s),n.C.on(e.getWrapperElement(),"mouseout",f)}function a(e,o){const t=e.coordsChar({left:(o.left+o.right)/2,top:(o.top+o.bottom)/2}),n=e.state.info.options,i=n.render||e.getHelper(t,"info");if(i){const r=e.getTokenAt(t,!0);if(r){const u=i(r,n,e,t);u&&f(e,o,u)}}}function f(e,o,t){const i=document.createElement("div");i.className="CodeMirror-info",i.appendChild(t),document.body.appendChild(i);const u=i.getBoundingClientRect(),m=window.getComputedStyle(i),s=u.right-u.left+parseFloat(m.marginLeft)+parseFloat(m.marginRight),a=u.bottom-u.top+parseFloat(m.marginTop)+parseFloat(m.marginBottom);let f=o.bottom;a>window.innerHeight-o.bottom-15&&o.top>window.innerHeight-o.bottom&&(f=o.top-a),f<0&&(f=o.bottom);let p,c=Math.max(0,window.innerWidth-s-15);c>o.left&&(c=o.left),i.style.opacity="1",i.style.top=f+"px",i.style.left=c+"px";const l=r(function(){clearTimeout(p)},"onMouseOverPopup"),d=r(function(){clearTimeout(p),p=setTimeout(v,200)},"onMouseOut"),v=r(function(){n.C.off(i,"mouseover",l),n.C.off(i,"mouseout",d),n.C.off(e.getWrapperElement(),"mouseout",d),i.style.opacity?(i.style.opacity="0",setTimeout(()=>{i.parentNode&&i.parentNode.removeChild(i)},600)):i.parentNode&&i.parentNode.removeChild(i)},"hidePopup");n.C.on(i,"mouseover",l),n.C.on(i,"mouseout",d),n.C.on(e.getWrapperElement(),"mouseout",d)}n.C.defineOption("info",!1,(e,o,t)=>{if(t&&t!==n.C.Init){const o=e.state.info.onMouseOver;n.C.off(e.getWrapperElement(),"mouseover",o),clearTimeout(e.state.info.hoverTimeout),delete e.state.info}if(o){const t=e.state.info=u(o);t.onMouseOver=s.bind(null,e),n.C.on(e.getWrapperElement(),"mouseover",t.onMouseOver)}}),r(u,"createState"),r(m,"getHoverTime"),r(s,"onMouseOver"),r(a,"onMouseHover"),r(f,"showPopup")}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunk=self.webpackChunk||[]).push([[729],{34729(t,e,i){i.d(e,{s:()=>l});var n=i(38950),o=Object.defineProperty,s=(t,e)=>o(t,"name",{value:e,configurable:!0});function r(t,e){return e.forEach(function(e){e&&"string"!=typeof e&&!Array.isArray(e)&&Object.keys(e).forEach(function(i){if("default"!==i&&!(i in t)){var n=Object.getOwnPropertyDescriptor(e,i);Object.defineProperty(t,i,n.get?n:{enumerable:!0,get:function(){return e[i]}})}})}),Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}s(r,"_mergeNamespaces");var c={exports:{}};!function(t){var e="CodeMirror-hint-active";function i(t,e){if(this.cm=t,this.options=e,this.widget=null,this.debounce=0,this.tick=0,this.startPos=this.cm.getCursor("start"),this.startLen=this.cm.getLine(this.startPos.line).length-this.cm.getSelection().length,this.options.updateOnCursorActivity){var i=this;t.on("cursorActivity",this.activityFunc=function(){i.cursorActivity()})}}t.showHint=function(t,e,i){if(!e)return t.showHint(i);i&&i.async&&(e.async=!0);var n={hint:e};if(i)for(var o in i)n[o]=i[o];return t.showHint(n)},t.defineExtension("showHint",function(e){e=r(this,this.getCursor("start"),e);var n=this.listSelections();if(!(n.length>1)){if(this.somethingSelected()){if(!e.hint.supportsSelection)return;for(var o=0;o<n.length;o++)if(n[o].head.line!=n[o].anchor.line)return}this.state.completionActive&&this.state.completionActive.close();var s=this.state.completionActive=new i(this,e);s.options.hint&&(t.signal(this,"startCompletion",this),s.update(!0))}}),t.defineExtension("closeHint",function(){this.state.completionActive&&this.state.completionActive.close()}),s(i,"Completion");var n=window.requestAnimationFrame||function(t){return setTimeout(t,1e3/60)},o=window.cancelAnimationFrame||clearTimeout;function r(t,e,i){var n=t.options.hintOptions,o={};for(var s in p)o[s]=p[s];if(n)for(var s in n)void 0!==n[s]&&(o[s]=n[s]);if(i)for(var s in i)void 0!==i[s]&&(o[s]=i[s]);return o.hint.resolve&&(o.hint=o.hint.resolve(t,e)),o}function c(t){return"string"==typeof t?t:t.text}function l(t,e){var i={Up:function(){e.moveFocus(-1)},Down:function(){e.moveFocus(1)},PageUp:function(){e.moveFocus(1-e.menuSize(),!0)},PageDown:function(){e.moveFocus(e.menuSize()-1,!0)},Home:function(){e.setFocus(0)},End:function(){e.setFocus(e.length-1)},Enter:e.pick,Tab:e.pick,Esc:e.close};/Mac/.test(navigator.platform)&&(i["Ctrl-P"]=function(){e.moveFocus(-1)},i["Ctrl-N"]=function(){e.moveFocus(1)});var n=t.options.customKeys,o=n?{}:i;function r(t,n){var r;r="string"!=typeof n?s(function(t){return n(t,e)},"bound"):i.hasOwnProperty(n)?i[n]:n,o[t]=r}if(s(r,"addBinding"),n)for(var c in n)n.hasOwnProperty(c)&&r(c,n[c]);var l=t.options.extraKeys;if(l)for(var c in l)l.hasOwnProperty(c)&&r(c,l[c]);return o}function h(t,e){for(;e&&e!=t;){if("LI"===e.nodeName.toUpperCase()&&e.parentNode==t)return e;e=e.parentNode}}function a(i,n){this.id="cm-complete-"+Math.floor(Math.random(1e6)),this.completion=i,this.data=n,this.picked=!1;var o=this,s=i.cm,r=s.getInputField().ownerDocument,a=r.defaultView||r.parentWindow,u=this.hints=r.createElement("ul");u.setAttribute("role","listbox"),u.setAttribute("aria-expanded","true"),u.id=this.id;var f=i.cm.options.theme;u.className="CodeMirror-hints "+f,this.selectedHint=n.selectedHint||0;for(var d=n.list,p=0;p<d.length;++p){var m=u.appendChild(r.createElement("li")),g=d[p],v="CodeMirror-hint"+(p!=this.selectedHint?"":" "+e);null!=g.className&&(v=g.className+" "+v),m.className=v,p==this.selectedHint&&m.setAttribute("aria-selected","true"),m.id=this.id+"-"+p,m.setAttribute("role","option"),g.render?g.render(m,n,g):m.appendChild(r.createTextNode(g.displayText||c(g))),m.hintId=p}var y=i.options.container||r.body,b=s.cursorCoords(i.options.alignWithWord?n.from:null),w=b.left,H=b.bottom,A=!0,C=0,k=0;if(y!==r.body){var x=-1!==["absolute","relative","fixed"].indexOf(a.getComputedStyle(y).position)?y:y.offsetParent,O=x.getBoundingClientRect(),S=r.body.getBoundingClientRect();C=O.left-S.left-x.scrollLeft,k=O.top-S.top-x.scrollTop}u.style.left=w-C+"px",u.style.top=H-k+"px";var T=a.innerWidth||Math.max(r.body.offsetWidth,r.documentElement.offsetWidth),F=a.innerHeight||Math.max(r.body.offsetHeight,r.documentElement.offsetHeight);y.appendChild(u),s.getInputField().setAttribute("aria-autocomplete","list"),s.getInputField().setAttribute("aria-owns",this.id),s.getInputField().setAttribute("aria-activedescendant",this.id+"-"+this.selectedHint);var M,N=i.options.moveOnOverlap?u.getBoundingClientRect():new DOMRect,P=!!i.options.paddingForScrollbar&&u.scrollHeight>u.clientHeight+1;if(setTimeout(function(){M=s.getScrollInfo()}),N.bottom-F>0){var E=N.bottom-N.top;if(b.top-(b.bottom-N.top)-E>0)u.style.top=(H=b.top-E-k)+"px",A=!1;else if(E>F){u.style.height=F-5+"px",u.style.top=(H=b.bottom-N.top-k)+"px";var I=s.getCursor();n.from.ch!=I.ch&&(b=s.cursorCoords(I),u.style.left=(w=b.left-C)+"px",N=u.getBoundingClientRect())}}var W,R=N.right-T;if(P&&(R+=s.display.nativeBarWidth),R>0&&(N.right-N.left>T&&(u.style.width=T-5+"px",R-=N.right-N.left-T),u.style.left=(w=b.left-R-C)+"px"),P)for(var B=u.firstChild;B;B=B.nextSibling)B.style.paddingRight=s.display.nativeBarWidth+"px";s.addKeyMap(this.keyMap=l(i,{moveFocus:function(t,e){o.changeActive(o.selectedHint+t,e)},setFocus:function(t){o.changeActive(t)},menuSize:function(){return o.screenAmount()},length:d.length,close:function(){i.close()},pick:function(){o.pick()},data:n})),i.options.closeOnUnfocus&&(s.on("blur",this.onBlur=function(){W=setTimeout(function(){i.close()},100)}),s.on("focus",this.onFocus=function(){clearTimeout(W)})),s.on("scroll",this.onScroll=function(){var t=s.getScrollInfo(),e=s.getWrapperElement().getBoundingClientRect();M||(M=s.getScrollInfo());var n=H+M.top-t.top,o=n-(a.pageYOffset||(r.documentElement||r.body).scrollTop);if(A||(o+=u.offsetHeight),o<=e.top||o>=e.bottom)return i.close();u.style.top=n+"px",u.style.left=w+M.left-t.left+"px"}),t.on(u,"dblclick",function(t){var e=h(u,t.target||t.srcElement);e&&null!=e.hintId&&(o.changeActive(e.hintId),o.pick())}),t.on(u,"click",function(t){var e=h(u,t.target||t.srcElement);e&&null!=e.hintId&&(o.changeActive(e.hintId),i.options.completeOnSingleClick&&o.pick())}),t.on(u,"mousedown",function(){setTimeout(function(){s.focus()},20)});var K=this.getSelectedHintRange();return 0===K.from&&0===K.to||this.scrollToActive(),t.signal(n,"select",d[this.selectedHint],u.childNodes[this.selectedHint]),!0}function u(t,e){if(!t.somethingSelected())return e;for(var i=[],n=0;n<e.length;n++)e[n].supportsSelection&&i.push(e[n]);return i}function f(t,e,i,n){if(t.async)t(e,n,i);else{var o=t(e,i);o&&o.then?o.then(n):n(o)}}function d(e,i){var n,o=e.getHelpers(i,"hint");if(o.length){var r=s(function(t,e,i){var n=u(t,o);function r(o){if(o==n.length)return e(null);f(n[o],t,i,function(t){t&&t.list.length>0?e(t):r(o+1)})}s(r,"run"),r(0)},"resolved");return r.async=!0,r.supportsSelection=!0,r}return(n=e.getHelper(e.getCursor(),"hintWords"))?function(e){return t.hint.fromList(e,{words:n})}:t.hint.anyword?function(e,i){return t.hint.anyword(e,i)}:function(){}}i.prototype={close:function(){this.active()&&(this.cm.state.completionActive=null,this.tick=null,this.options.updateOnCursorActivity&&this.cm.off("cursorActivity",this.activityFunc),this.widget&&this.data&&t.signal(this.data,"close"),this.widget&&this.widget.close(),t.signal(this.cm,"endCompletion",this.cm))},active:function(){return this.cm.state.completionActive==this},pick:function(e,i){var n=e.list[i],o=this;this.cm.operation(function(){n.hint?n.hint(o.cm,e,n):o.cm.replaceRange(c(n),n.from||e.from,n.to||e.to,"complete"),t.signal(e,"pick",n),o.cm.scrollIntoView()}),this.options.closeOnPick&&this.close()},cursorActivity:function(){this.debounce&&(o(this.debounce),this.debounce=0);var t=this.startPos;this.data&&(t=this.data.from);var e=this.cm.getCursor(),i=this.cm.getLine(e.line);if(e.line!=this.startPos.line||i.length-e.ch!=this.startLen-this.startPos.ch||e.ch<t.ch||this.cm.somethingSelected()||!e.ch||this.options.closeCharacters.test(i.charAt(e.ch-1)))this.close();else{var s=this;this.debounce=n(function(){s.update()}),this.widget&&this.widget.disable()}},update:function(t){if(null!=this.tick){var e=this,i=++this.tick;f(this.options.hint,this.cm,this.options,function(n){e.tick==i&&e.finishUpdate(n,t)})}},finishUpdate:function(e,i){this.data&&t.signal(this.data,"update");var n=this.widget&&this.widget.picked||i&&this.options.completeSingle;this.widget&&this.widget.close(),this.data=e,e&&e.list.length&&(n&&1==e.list.length?this.pick(e,0):(this.widget=new a(this,e),t.signal(e,"shown")))}},s(r,"parseOptions"),s(c,"getText"),s(l,"buildKeyMap"),s(h,"getHintElement"),s(a,"Widget"),a.prototype={close:function(){if(this.completion.widget==this){this.completion.widget=null,this.hints.parentNode&&this.hints.parentNode.removeChild(this.hints),this.completion.cm.removeKeyMap(this.keyMap);var t=this.completion.cm.getInputField();t.removeAttribute("aria-activedescendant"),t.removeAttribute("aria-owns");var e=this.completion.cm;this.completion.options.closeOnUnfocus&&(e.off("blur",this.onBlur),e.off("focus",this.onFocus)),e.off("scroll",this.onScroll)}},disable:function(){this.completion.cm.removeKeyMap(this.keyMap);var t=this;this.keyMap={Enter:function(){t.picked=!0}},this.completion.cm.addKeyMap(this.keyMap)},pick:function(){this.completion.pick(this.data,this.selectedHint)},changeActive:function(i,n){if(i>=this.data.list.length?i=n?this.data.list.length-1:0:i<0&&(i=n?0:this.data.list.length-1),this.selectedHint!=i){var o=this.hints.childNodes[this.selectedHint];o&&(o.className=o.className.replace(" "+e,""),o.removeAttribute("aria-selected")),(o=this.hints.childNodes[this.selectedHint=i]).className+=" "+e,o.setAttribute("aria-selected","true"),this.completion.cm.getInputField().setAttribute("aria-activedescendant",o.id),this.scrollToActive(),t.signal(this.data,"select",this.data.list[this.selectedHint],o)}},scrollToActive:function(){var t=this.getSelectedHintRange(),e=this.hints.childNodes[t.from],i=this.hints.childNodes[t.to],n=this.hints.firstChild;e.offsetTop<this.hints.scrollTop?this.hints.scrollTop=e.offsetTop-n.offsetTop:i.offsetTop+i.offsetHeight>this.hints.scrollTop+this.hints.clientHeight&&(this.hints.scrollTop=i.offsetTop+i.offsetHeight-this.hints.clientHeight+n.offsetTop)},screenAmount:function(){return Math.floor(this.hints.clientHeight/this.hints.firstChild.offsetHeight)||1},getSelectedHintRange:function(){var t=this.completion.options.scrollMargin||0;return{from:Math.max(0,this.selectedHint-t),to:Math.min(this.data.list.length-1,this.selectedHint+t)}}},s(u,"applicableHelpers"),s(f,"fetchHints"),s(d,"resolveAutoHints"),t.registerHelper("hint","auto",{resolve:d}),t.registerHelper("hint","fromList",function(e,i){var n,o=e.getCursor(),s=e.getTokenAt(o),r=t.Pos(o.line,s.start),c=o;s.start<o.ch&&/\w/.test(s.string.charAt(o.ch-s.start-1))?n=s.string.substr(0,o.ch-s.start):(n="",r=o);for(var l=[],h=0;h<i.words.length;h++){var a=i.words[h];a.slice(0,n.length)==n&&l.push(a)}if(l.length)return{list:l,from:r,to:c}}),t.commands.autocomplete=t.showHint;var p={hint:t.hint.auto,completeSingle:!0,alignWithWord:!0,closeCharacters:/[\s()\[\]{};:>,]/,closeOnPick:!0,closeOnUnfocus:!0,updateOnCursorActivity:!0,completeOnSingleClick:!0,container:null,customKeys:null,extraKeys:null,paddingForScrollbar:!0,moveOnOverlap:!0};t.defineOption("hintOptions",null)}(n.a.exports);var l=r({__proto__:null,default:c.exports},[c.exports])}}]);