parse-dashboard 9.2.1-alpha.1 → 9.3.0-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Parse-Dashboard/public/bundles/1056.bundle.js +1 -0
- package/Parse-Dashboard/public/bundles/1151.bundle.js +1 -0
- package/Parse-Dashboard/public/bundles/1256.bundle.js +1 -0
- package/Parse-Dashboard/public/bundles/1272.bundle.js +1 -0
- package/Parse-Dashboard/public/bundles/1356.bundle.js +1 -0
- package/Parse-Dashboard/public/bundles/1440.bundle.js +1 -0
- package/Parse-Dashboard/public/bundles/1675.bundle.js +1 -0
- package/Parse-Dashboard/public/bundles/1987.bundle.js +1 -0
- package/Parse-Dashboard/public/bundles/2499.bundle.js +2 -0
- package/Parse-Dashboard/public/bundles/2499.bundle.js.LICENSE.txt +6 -0
- package/Parse-Dashboard/public/bundles/2794.bundle.js +1 -0
- package/Parse-Dashboard/public/bundles/2823.bundle.js +2 -0
- package/Parse-Dashboard/public/bundles/2823.bundle.js.LICENSE.txt +1 -0
- package/Parse-Dashboard/public/bundles/2955.bundle.js +1 -0
- package/Parse-Dashboard/public/bundles/2972.bundle.js +1 -0
- package/Parse-Dashboard/public/bundles/3120.bundle.js +1 -0
- package/Parse-Dashboard/public/bundles/3212.bundle.js +1 -0
- package/Parse-Dashboard/public/bundles/3227.bundle.js +1 -0
- package/Parse-Dashboard/public/bundles/3412.bundle.js +1 -0
- package/Parse-Dashboard/public/bundles/3839.bundle.js +1 -0
- package/Parse-Dashboard/public/bundles/3871.bundle.js +1 -0
- package/Parse-Dashboard/public/bundles/4056.bundle.js +1 -0
- package/Parse-Dashboard/public/bundles/4062.bundle.js +1 -0
- package/Parse-Dashboard/public/bundles/4069.bundle.js +1 -0
- package/Parse-Dashboard/public/bundles/4097.bundle.js +1 -0
- package/Parse-Dashboard/public/bundles/4438.bundle.js +1 -0
- package/Parse-Dashboard/public/bundles/448.bundle.js +1 -1
- package/Parse-Dashboard/public/bundles/4760.bundle.js +2 -0
- package/Parse-Dashboard/public/bundles/4760.bundle.js.LICENSE.txt +6 -0
- package/Parse-Dashboard/public/bundles/4837.bundle.js +1 -0
- package/Parse-Dashboard/public/bundles/490.bundle.js +1 -0
- package/Parse-Dashboard/public/bundles/5147.bundle.js +1 -0
- package/Parse-Dashboard/public/bundles/5166.bundle.js +1 -0
- package/Parse-Dashboard/public/bundles/5281.bundle.js +2 -0
- package/Parse-Dashboard/public/bundles/5281.bundle.js.LICENSE.txt +44 -0
- package/Parse-Dashboard/public/bundles/5521.bundle.js +1 -0
- package/Parse-Dashboard/public/bundles/580.bundle.js +1 -0
- package/Parse-Dashboard/public/bundles/5834.bundle.js +1 -0
- package/Parse-Dashboard/public/bundles/5851.bundle.js +1 -0
- package/Parse-Dashboard/public/bundles/5866.bundle.js +1 -0
- package/Parse-Dashboard/public/bundles/5967.bundle.js +1 -0
- package/Parse-Dashboard/public/bundles/6079.bundle.js +1 -0
- package/Parse-Dashboard/public/bundles/6214.bundle.js +1 -0
- package/Parse-Dashboard/public/bundles/6490.bundle.js +1 -0
- package/Parse-Dashboard/public/bundles/6556.bundle.js +1 -0
- package/Parse-Dashboard/public/bundles/6562.bundle.js +2 -0
- package/Parse-Dashboard/public/bundles/6562.bundle.js.LICENSE.txt +6 -0
- package/Parse-Dashboard/public/bundles/6727.bundle.js +1 -0
- package/Parse-Dashboard/public/bundles/7110.bundle.js +1 -0
- package/Parse-Dashboard/public/bundles/7214.bundle.js +2 -0
- package/Parse-Dashboard/public/bundles/7214.bundle.js.LICENSE.txt +6 -0
- package/Parse-Dashboard/public/bundles/7413.bundle.js +1 -0
- package/Parse-Dashboard/public/bundles/7537.bundle.js +1 -0
- package/Parse-Dashboard/public/bundles/7775.bundle.js +1 -0
- package/Parse-Dashboard/public/bundles/792.bundle.js +1 -0
- package/Parse-Dashboard/public/bundles/802.bundle.js +1 -0
- package/Parse-Dashboard/public/bundles/8058.bundle.js +1 -0
- package/Parse-Dashboard/public/bundles/8445.bundle.js +1 -0
- package/Parse-Dashboard/public/bundles/9096.bundle.js +1 -0
- package/Parse-Dashboard/public/bundles/9174.bundle.js +1 -0
- package/Parse-Dashboard/public/bundles/9433.bundle.js +1 -0
- package/Parse-Dashboard/public/bundles/9794.bundle.js +1 -0
- package/Parse-Dashboard/public/bundles/9895.bundle.js +1 -0
- package/Parse-Dashboard/public/bundles/dashboard.bundle.js +1 -1
- package/Parse-Dashboard/public/bundles/dashboard.bundle.js.LICENSE.txt +39 -75
- package/Parse-Dashboard/public/bundles/img/f6283f7ccaed1249d9eb.ttf +0 -0
- package/Parse-Dashboard/public/bundles/login.bundle.js +1 -1
- package/Parse-Dashboard/public/bundles/login.bundle.js.LICENSE.txt +21 -14
- package/package.json +17 -15
- package/Parse-Dashboard/public/bundles/120.bundle.js +0 -1
- package/Parse-Dashboard/public/bundles/183.bundle.js +0 -1
- package/Parse-Dashboard/public/bundles/19.bundle.js +0 -1
- package/Parse-Dashboard/public/bundles/221.bundle.js +0 -1
- package/Parse-Dashboard/public/bundles/372.bundle.js +0 -1
- package/Parse-Dashboard/public/bundles/573.bundle.js +0 -1
- package/Parse-Dashboard/public/bundles/578.bundle.js +0 -1
- package/Parse-Dashboard/public/bundles/584.bundle.js +0 -1
- package/Parse-Dashboard/public/bundles/629.bundle.js +0 -1
- package/Parse-Dashboard/public/bundles/643.bundle.js +0 -1
- package/Parse-Dashboard/public/bundles/647.bundle.js +0 -1
- package/Parse-Dashboard/public/bundles/701.bundle.js +0 -1
- package/Parse-Dashboard/public/bundles/729.bundle.js +0 -1
- package/Parse-Dashboard/public/bundles/75.bundle.js +0 -1
- package/Parse-Dashboard/public/bundles/753.bundle.js +0 -1
- package/Parse-Dashboard/public/bundles/817.bundle.js +0 -1
- package/Parse-Dashboard/public/bundles/844.bundle.js +0 -1
- package/Parse-Dashboard/public/bundles/862.bundle.js +0 -1
- package/Parse-Dashboard/public/bundles/866.bundle.js +0 -1
- package/Parse-Dashboard/public/bundles/874.bundle.js +0 -1
- package/Parse-Dashboard/public/bundles/881.bundle.js +0 -1
- package/Parse-Dashboard/public/bundles/929.bundle.js +0 -1
- package/Parse-Dashboard/public/bundles/950.bundle.js +0 -1
- package/Parse-Dashboard/public/bundles/97.bundle.js +0 -1
- package/Parse-Dashboard/public/bundles/976.bundle.js +0 -1
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* get-value <https://github.com/jonschlinkert/get-value>
|
|
3
|
+
*
|
|
4
|
+
* Copyright (c) 2014-2018, Jon Schlinkert.
|
|
5
|
+
* Released under the MIT License.
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
/*!
|
|
9
|
+
* is-plain-object <https://github.com/jonschlinkert/is-plain-object>
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2014-2017, Jon Schlinkert.
|
|
12
|
+
* Released under the MIT License.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
/*!
|
|
16
|
+
* is-primitive <https://github.com/jonschlinkert/is-primitive>
|
|
17
|
+
*
|
|
18
|
+
* Copyright (c) 2014-present, Jon Schlinkert.
|
|
19
|
+
* Released under the MIT License.
|
|
20
|
+
*/
|
|
21
|
+
|
|
22
|
+
/*!
|
|
23
|
+
* isobject <https://github.com/jonschlinkert/isobject>
|
|
24
|
+
*
|
|
25
|
+
* Copyright (c) 2014-2017, Jon Schlinkert.
|
|
26
|
+
* Released under the MIT License.
|
|
27
|
+
*/
|
|
28
|
+
|
|
29
|
+
/*!
|
|
30
|
+
* set-value <https://github.com/jonschlinkert/set-value>
|
|
31
|
+
*
|
|
32
|
+
* Copyright (c) Jon Schlinkert (https://github.com/jonschlinkert).
|
|
33
|
+
* Released under the MIT License.
|
|
34
|
+
*/
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* @license React
|
|
38
|
+
* use-sync-external-store-with-selector.production.js
|
|
39
|
+
*
|
|
40
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
41
|
+
*
|
|
42
|
+
* This source code is licensed under the MIT license found in the
|
|
43
|
+
* LICENSE file in the root directory of this source tree.
|
|
44
|
+
*/
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(self.webpackChunk=self.webpackChunk||[]).push([[5521],{57902(e){var t;e.exports=(t=function(){"use strict";var e=Object.defineProperty,t=Object.getOwnPropertyDescriptor,n=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,r=(t,n)=>{for(var i in n)e(t,i,{get:n[i],enumerable:!0})},s={};r(s,{languages:()=>Z,options:()=>ee,parsers:()=>te,printers:()=>He});var a,o,c=String.prototype.replaceAll??function(e,t){return e.global?this.replace(e,t):this.split(e).join(t)},l=(a="replaceAll",o=function(){if("string"==typeof this)return c},(e,t,...n)=>1|e&&null==t?void 0:(o.call(t)??t[a]).apply(t,n)),u=()=>{},p="line",h=u,d=u;function f(e){return h(e),{type:"indent",contents:e}}function E(e,t={}){return h(e),d(t.expandedStates,!0),{type:"group",id:t.id,contents:e,break:!!t.shouldBreak,expandedStates:t.expandedStates}}function m(e,t="",n={}){return h(e),""!==t&&h(t),{type:"if-break",breakContents:e,flatContents:t,groupId:n.groupId}}function T(e,t){h(e),d(t);let n=[];for(let i=0;i<t.length;i++)0!==i&&n.push(e),n.push(t[i]);return n}var N={type:p},I={type:p,soft:!0},y=[{type:p,hard:!0},{type:"break-parent"}];function O(e){return(t,n,i)=>{let r=!!i?.backwards;if(!1===n)return!1;let{length:s}=t,a=n;for(;a>=0&&a<s;){let n=t.charAt(a);if(e instanceof RegExp){if(!e.test(n))return a}else if(!e.includes(n))return a;r?a--:a++}return(-1===a||a===s)&&a}}O(/\s/u);var D=O(" \t"),A=O(",; \t"),v=O(/[^\n\r]/u),_=e=>"\n"===e||"\r"===e||"\u2028"===e||"\u2029"===e;var x=function(e,t,n){let i=!!n?.backwards;if(!1===t)return!1;let r=e.charAt(t);if(i){if("\r"===e.charAt(t-1)&&"\n"===r)return t-2;if(_(r))return t-1}else{if("\r"===r&&"\n"===e.charAt(t+1))return t+2;if(_(r))return t+1}return t};var k=function(e,t,n={}){let i=D(e,n.backwards?t-1:t,n);return i!==x(e,i,n)};var g=function(e,t){if(!1===t)return!1;if("/"===e.charAt(t)&&"*"===e.charAt(t+1))for(let n=t+2;n<e.length;++n)if("*"===e.charAt(n)&&"/"===e.charAt(n+1))return n+2;return t};var C=function(e,t){return!1!==t&&("/"===e.charAt(t)&&"/"===e.charAt(t+1)?v(e,t):t)};var S=function(e,t){let n=null,i=t;for(;i!==n;)n=i,i=A(e,i),i=g(e,i),i=D(e,i);return i=C(e,i),i=x(e,i),!1!==i&&k(e,i)};var b=function(e){return Array.isArray(e)&&e.length>0},R=class extends Error{name="UnexpectedNodeError";constructor(e,t,n="type"){super(`Unexpected ${t} node ${n}: ${JSON.stringify(e[n])}.`),this.node=e}},L=R,F=null;function w(e){if(null!==F&&(F.property,1)){let e=F;return F=w.prototype=null,e}return F=w.prototype=e??Object.create(null),new w}for(let e=0;e<=10;e++)w();var P,M=function(e,t="type"){return function(e){w(e)}(e),function(n){let i=n[t],r=e[i];if(!Array.isArray(r))throw Object.assign(new Error(`Missing visitor keys for '${i}'.`),{node:n});return r}},U=class{constructor(e,t,n){this.start=e.start,this.end=t.end,this.startToken=e,this.endToken=t,this.source=n}get[Symbol.toStringTag](){return"Location"}toJSON(){return{start:this.start,end:this.end}}},V=class{constructor(e,t,n,i,r,s){this.kind=e,this.start=t,this.end=n,this.line=i,this.column=r,this.value=s,this.prev=null,this.next=null}get[Symbol.toStringTag](){return"Token"}toJSON(){return{kind:this.kind,value:this.value,line:this.line,column:this.column}}},B={Name:[],Document:["definitions"],OperationDefinition:["description","name","variableDefinitions","directives","selectionSet"],VariableDefinition:["description","variable","type","defaultValue","directives"],Variable:["name"],SelectionSet:["selections"],Field:["alias","name","arguments","directives","selectionSet"],Argument:["name","value"],FragmentSpread:["name","directives"],InlineFragment:["typeCondition","directives","selectionSet"],FragmentDefinition:["description","name","variableDefinitions","typeCondition","directives","selectionSet"],IntValue:[],FloatValue:[],StringValue:[],BooleanValue:[],NullValue:[],EnumValue:[],ListValue:["values"],ObjectValue:["fields"],ObjectField:["name","value"],Directive:["name","arguments"],NamedType:["name"],ListType:["type"],NonNullType:["type"],SchemaDefinition:["description","directives","operationTypes"],OperationTypeDefinition:["type"],ScalarTypeDefinition:["description","name","directives"],ObjectTypeDefinition:["description","name","interfaces","directives","fields"],FieldDefinition:["description","name","arguments","type","directives"],InputValueDefinition:["description","name","type","defaultValue","directives"],InterfaceTypeDefinition:["description","name","interfaces","directives","fields"],UnionTypeDefinition:["description","name","directives","types"],EnumTypeDefinition:["description","name","directives","values"],EnumValueDefinition:["description","name","directives"],InputObjectTypeDefinition:["description","name","directives","fields"],DirectiveDefinition:["description","name","arguments","locations"],SchemaExtension:["directives","operationTypes"],ScalarTypeExtension:["name","directives"],ObjectTypeExtension:["name","interfaces","directives","fields"],InterfaceTypeExtension:["name","interfaces","directives","fields"],UnionTypeExtension:["name","directives","types"],EnumTypeExtension:["name","directives","values"],InputObjectTypeExtension:["name","directives","fields"],TypeCoordinate:["name"],MemberCoordinate:["name","memberName"],ArgumentCoordinate:["name","fieldName","argumentName"],DirectiveCoordinate:["name"],DirectiveArgumentCoordinate:["name","argumentName"]};new Set(Object.keys(B)),function(e){e.QUERY="query",e.MUTATION="mutation",e.SUBSCRIPTION="subscription"}(P||(P={}));var j={...B};for(let e of["ArgumentCoordinate","DirectiveArgumentCoordinate","DirectiveCoordinate","MemberCoordinate","TypeCoordinate"])delete j[e];var K=M(j,"kind"),$=e=>e.loc.start,G=e=>e.loc.end,Y=/^\s*#[^\S\n]*@(?:noformat|noprettier)\s*(?:\n|$)/u,q=/^\s*#[^\S\n]*@(?:format|prettier)\s*(?:\n|$)/u;var J=function(e,t,n){let{node:i}=e;if(!i.description)return"";let r=[n("description")];return"InputValueDefinition"!==i.kind||i.description.block?r.push(y):r.push(N),r};function Q(e,t,n){if(0===n.directives.length)return"";let i=T(N,e.map(t,"directives"));return"FragmentDefinition"===n.kind||"OperationDefinition"===n.kind?E([N,i]):[" ",E(f([I,i]))]}function X(e,t,n,i){return e.map(({isLast:e,node:i})=>{let r=n();return!e&&S(t.originalText,G(i))?[r,y]:r},i)}function z(e,t){let{node:n}=e;return b(n.variableDefinitions)?E(["(",f([I,T([m("",", "),I],e.map(t,"variableDefinitions"))]),I,")"]):""}function H(e,t){"StringValue"===e.kind&&e.block&&!e.value.includes("\n")&&(t.value=e.value.trim())}H.ignoredProperties=new Set(["loc","comments"]);var W={print:function(e,t,n){let{node:i}=e;switch(i.kind){case"Document":return[...T(y,X(e,t,n,"definitions")),y];case"OperationDefinition":{let r="{"!==t.originalText[$(i)],s=!!i.name;return[J(e,t,n),r?i.operation:"",r&&s?[" ",n("name")]:"",r&&!s&&b(i.variableDefinitions)?" ":"",z(e,n),Q(e,n,i),r||s?" ":"",n("selectionSet")]}case"FragmentDefinition":return[J(e,t,n),"fragment ",n("name"),z(e,n)," on ",n("typeCondition"),Q(e,n,i)," ",n("selectionSet")];case"SelectionSet":return["{",f([y,T(y,X(e,t,n,"selections"))]),y,"}"];case"Field":return E([i.alias?[n("alias"),": "]:"",n("name"),i.arguments.length>0?E(["(",f([I,T([m("",", "),I],X(e,t,n,"arguments"))]),I,")"]):"",Q(e,n,i),i.selectionSet?" ":"",n("selectionSet")]);case"Name":case"IntValue":case"FloatValue":case"EnumValue":return i.value;case"StringValue":if(i.block){let e=l(0,i.value,'"""','\\"""').split("\n");return 1===e.length&&(e[0]=e[0].trim()),e.every(e=>""===e)&&(e.length=0),T(y,['"""',...e,'"""'])}return['"',l(0,l(0,i.value,/["\\]/gu,"\\$&"),"\n","\\n"),'"'];case"BooleanValue":return i.value?"true":"false";case"NullValue":return"null";case"Variable":return["$",n("name")];case"ListValue":return E(["[",f([I,T([m("",", "),I],e.map(n,"values"))]),I,"]"]);case"ObjectValue":{let r=t.bracketSpacing&&i.fields.length>0?" ":"";return E(["{",r,f([I,T([m("",", "),I],e.map(n,"fields"))]),I,m("",r),"}"])}case"ObjectField":case"Argument":return[n("name"),": ",n("value")];case"Directive":return["@",n("name"),i.arguments.length>0?E(["(",f([I,T([m("",", "),I],X(e,t,n,"arguments"))]),I,")"]):""];case"NamedType":return n("name");case"VariableDefinition":return[J(e,t,n),n("variable"),": ",n("type"),i.defaultValue?[" = ",n("defaultValue")]:"",Q(e,n,i)];case"ObjectTypeExtension":case"ObjectTypeDefinition":case"InputObjectTypeExtension":case"InputObjectTypeDefinition":case"InterfaceTypeExtension":case"InterfaceTypeDefinition":{let{kind:r}=i,s=[];return r.endsWith("TypeDefinition")?s.push(J(e,t,n)):s.push("extend "),r.startsWith("ObjectType")?s.push("type"):r.startsWith("InputObjectType")?s.push("input"):s.push("interface"),s.push(" ",n("name")),!r.startsWith("InputObjectType")&&i.interfaces.length>0&&s.push(" implements ",...function(e,t,n){let{node:i}=e,r=[],{interfaces:s}=i,a=e.map(n,"interfaces");for(let e=0;e<s.length;e++){let n=s[e];r.push(a[e]);let i=s[e+1];if(i){let e=t.originalText.slice(n.loc.end,i.loc.start).includes("#");r.push(" &",e?N:" ")}}return r}(e,t,n)),s.push(Q(e,n,i)),i.fields.length>0&&s.push([" {",f([y,T(y,X(e,t,n,"fields"))]),y,"}"]),s}case"FieldDefinition":return[J(e,t,n),n("name"),i.arguments.length>0?E(["(",f([I,T([m("",", "),I],X(e,t,n,"arguments"))]),I,")"]):"",": ",n("type"),Q(e,n,i)];case"DirectiveDefinition":return[J(e,t,n),"directive ","@",n("name"),i.arguments.length>0?E(["(",f([I,T([m("",", "),I],X(e,t,n,"arguments"))]),I,")"]):"",i.repeatable?" repeatable":""," on ",...T(" | ",e.map(n,"locations"))];case"EnumTypeExtension":case"EnumTypeDefinition":return[J(e,t,n),"EnumTypeExtension"===i.kind?"extend ":"","enum ",n("name"),Q(e,n,i),i.values.length>0?[" {",f([y,T(y,X(e,t,n,"values"))]),y,"}"]:""];case"EnumValueDefinition":return[J(e,t,n),n("name"),Q(e,n,i)];case"InputValueDefinition":return[J(e,t,n),n("name"),": ",n("type"),i.defaultValue?[" = ",n("defaultValue")]:"",Q(e,n,i)];case"SchemaExtension":return["extend schema",Q(e,n,i),...i.operationTypes.length>0?[" {",f([y,T(y,X(e,t,n,"operationTypes"))]),y,"}"]:[]];case"SchemaDefinition":return[J(e,t,n),"schema",Q(e,n,i)," {",i.operationTypes.length>0?f([y,T(y,X(e,t,n,"operationTypes"))]):"",y,"}"];case"OperationTypeDefinition":return[i.operation,": ",n("type")];case"FragmentSpread":return["...",n("name"),Q(e,n,i)];case"InlineFragment":return["...",i.typeCondition?[" on ",n("typeCondition")]:"",Q(e,n,i)," ",n("selectionSet")];case"UnionTypeExtension":case"UnionTypeDefinition":return E([J(e,t,n),E(["UnionTypeExtension"===i.kind?"extend ":"","union ",n("name"),Q(e,n,i),i.types.length>0?[" =",m(""," "),f([m([N,"| "]),T([N,"| "],e.map(n,"types"))])]:""])]);case"ScalarTypeExtension":case"ScalarTypeDefinition":return[J(e,t,n),"ScalarTypeExtension"===i.kind?"extend ":"","scalar ",n("name"),Q(e,n,i)];case"NonNullType":return[n("type"),"!"];case"ListType":return["[",n("type"),"]"];default:throw new L(i,"Graphql","kind")}},massageAstNode:H,hasPrettierIgnore:function(e){let{node:t}=e;return t?.comments?.some(e=>"prettier-ignore"===e.value.trim())},insertPragma:e=>`# @format\n\n${e}`,printComment:function({node:e}){if("Comment"===e.kind)return"#"+e.value.trimEnd();throw new Error("Not a comment: "+JSON.stringify(e))},canAttachComment:function(e){return"Comment"!==e.kind},getVisitorKeys:K},Z=[{name:"GraphQL",type:"data",aceMode:"graphqlschema",extensions:[".graphql",".gql",".graphqls"],tmScope:"source.graphql",parsers:["graphql"],vscodeLanguageIds:["graphql"],linguistLanguageId:139}],ee={bracketSpacing:{category:"Common",type:"boolean",default:!0,description:"Print spaces between brackets.",oppositeDescription:"Do not print spaces between brackets."}},te={};function ne(e,t){if(!e)throw new Error(t??"Unexpected invariant triggered.")}r(te,{graphql:()=>ze});var ie=/\r\n|[\n\r]/g;function re(e,t){let n=0,i=1;for(let r of e.body.matchAll(ie)){if("number"==typeof r.index||ne(!1),r.index>=t)break;n=r.index+r[0].length,i+=1}return{line:i,column:t+1-n}}function se(e){return ae(e.source,re(e.source,e.start))}function ae(e,t){let n=e.locationOffset.column-1,i="".padStart(n)+e.body,r=t.line-1,s=e.locationOffset.line-1,a=t.line+s,o=1===t.line?n:0,c=t.column+o,l=`${e.name}:${a}:${c}\n`,u=i.split(/\r\n|[\n\r]/g),p=u[r];if(p.length>120){let e=Math.floor(c/80),t=c%80,n=[];for(let e=0;e<p.length;e+=80)n.push(p.slice(e,e+80));return l+oe([[`${a} |`,n[0]],...n.slice(1,e+1).map(e=>["|",e]),["|","^".padStart(t)],["|",n[e+1]]])}return l+oe([[a-1+" |",u[r-1]],[`${a} |`,p],["|","^".padStart(c)],[`${a+1} |`,u[r+1]]])}function oe(e){let t=e.filter(([e,t])=>void 0!==t),n=Math.max(...t.map(([e])=>e.length));return t.map(([e,t])=>e.padStart(n)+(t?" "+t:"")).join("\n")}var ce,le,ue,pe=class e extends Error{constructor(t,...n){var i,r,s;let{nodes:a,source:o,positions:c,path:l,originalError:u,extensions:p}=function(e){let t=e[0];return null==t||"kind"in t||"length"in t?{nodes:t,source:e[1],positions:e[2],path:e[3],originalError:e[4],extensions:e[5]}:t}(n);super(t),this.name="GraphQLError",this.path=l??void 0,this.originalError=u??void 0,this.nodes=he(Array.isArray(a)?a:a?[a]:void 0);let h=he(null===(i=this.nodes)||void 0===i?void 0:i.map(e=>e.loc).filter(e=>null!=e));this.source=o??(null==h||null===(r=h[0])||void 0===r?void 0:r.source),this.positions=c??h?.map(e=>e.start),this.locations=c&&o?c.map(e=>re(o,e)):h?.map(e=>re(e.source,e.start));let d=function(e){return"object"==typeof e&&null!==e}(u?.extensions)?u?.extensions:void 0;this.extensions=null!==(s=p??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,e):Object.defineProperty(this,"stack",{value:Error().stack,writable:!0,configurable:!0})}get[Symbol.toStringTag](){return"GraphQLError"}toString(){let e=this.message;if(this.nodes)for(let t of this.nodes)t.loc&&(e+="\n\n"+se(t.loc));else if(this.source&&this.locations)for(let t of this.locations)e+="\n\n"+ae(this.source,t);return e}toJSON(){let e={message:this.message};return null!=this.locations&&(e.locations=this.locations),null!=this.path&&(e.path=this.path),null!=this.extensions&&Object.keys(this.extensions).length>0&&(e.extensions=this.extensions),e}};function he(e){return void 0===e||0===e.length?void 0:e}function de(e,t,n){return new pe(`Syntax Error: ${n}`,{source:e,positions:[t]})}function fe(e){return 9===e||32===e}function Ee(e){return e>=48&&e<=57}function me(e){return e>=97&&e<=122||e>=65&&e<=90}function Te(e){return me(e)||95===e}function Ne(e){return me(e)||Ee(e)||95===e}function Ie(e){var t;let n=Number.MAX_SAFE_INTEGER,i=null,r=-1;for(let t=0;t<e.length;++t){var s;let a=e[t],o=ye(a);o!==a.length&&(i=null!==(s=i)&&void 0!==s?s:t,r=t,0!==t&&o<n&&(n=o))}return e.map((e,t)=>0===t?e:e.slice(n)).slice(null!==(t=i)&&void 0!==t?t:0,r+1)}function ye(e){let t=0;for(;t<e.length&&fe(e.charCodeAt(t));)++t;return t}(function(e){e.QUERY="QUERY",e.MUTATION="MUTATION",e.SUBSCRIPTION="SUBSCRIPTION",e.FIELD="FIELD",e.FRAGMENT_DEFINITION="FRAGMENT_DEFINITION",e.FRAGMENT_SPREAD="FRAGMENT_SPREAD",e.INLINE_FRAGMENT="INLINE_FRAGMENT",e.VARIABLE_DEFINITION="VARIABLE_DEFINITION",e.SCHEMA="SCHEMA",e.SCALAR="SCALAR",e.OBJECT="OBJECT",e.FIELD_DEFINITION="FIELD_DEFINITION",e.ARGUMENT_DEFINITION="ARGUMENT_DEFINITION",e.INTERFACE="INTERFACE",e.UNION="UNION",e.ENUM="ENUM",e.ENUM_VALUE="ENUM_VALUE",e.INPUT_OBJECT="INPUT_OBJECT",e.INPUT_FIELD_DEFINITION="INPUT_FIELD_DEFINITION"})(ce||(ce={})),function(e){e.NAME="Name",e.DOCUMENT="Document",e.OPERATION_DEFINITION="OperationDefinition",e.VARIABLE_DEFINITION="VariableDefinition",e.SELECTION_SET="SelectionSet",e.FIELD="Field",e.ARGUMENT="Argument",e.FRAGMENT_SPREAD="FragmentSpread",e.INLINE_FRAGMENT="InlineFragment",e.FRAGMENT_DEFINITION="FragmentDefinition",e.VARIABLE="Variable",e.INT="IntValue",e.FLOAT="FloatValue",e.STRING="StringValue",e.BOOLEAN="BooleanValue",e.NULL="NullValue",e.ENUM="EnumValue",e.LIST="ListValue",e.OBJECT="ObjectValue",e.OBJECT_FIELD="ObjectField",e.DIRECTIVE="Directive",e.NAMED_TYPE="NamedType",e.LIST_TYPE="ListType",e.NON_NULL_TYPE="NonNullType",e.SCHEMA_DEFINITION="SchemaDefinition",e.OPERATION_TYPE_DEFINITION="OperationTypeDefinition",e.SCALAR_TYPE_DEFINITION="ScalarTypeDefinition",e.OBJECT_TYPE_DEFINITION="ObjectTypeDefinition",e.FIELD_DEFINITION="FieldDefinition",e.INPUT_VALUE_DEFINITION="InputValueDefinition",e.INTERFACE_TYPE_DEFINITION="InterfaceTypeDefinition",e.UNION_TYPE_DEFINITION="UnionTypeDefinition",e.ENUM_TYPE_DEFINITION="EnumTypeDefinition",e.ENUM_VALUE_DEFINITION="EnumValueDefinition",e.INPUT_OBJECT_TYPE_DEFINITION="InputObjectTypeDefinition",e.DIRECTIVE_DEFINITION="DirectiveDefinition",e.SCHEMA_EXTENSION="SchemaExtension",e.SCALAR_TYPE_EXTENSION="ScalarTypeExtension",e.OBJECT_TYPE_EXTENSION="ObjectTypeExtension",e.INTERFACE_TYPE_EXTENSION="InterfaceTypeExtension",e.UNION_TYPE_EXTENSION="UnionTypeExtension",e.ENUM_TYPE_EXTENSION="EnumTypeExtension",e.INPUT_OBJECT_TYPE_EXTENSION="InputObjectTypeExtension",e.TYPE_COORDINATE="TypeCoordinate",e.MEMBER_COORDINATE="MemberCoordinate",e.ARGUMENT_COORDINATE="ArgumentCoordinate",e.DIRECTIVE_COORDINATE="DirectiveCoordinate",e.DIRECTIVE_ARGUMENT_COORDINATE="DirectiveArgumentCoordinate"}(le||(le={})),function(e){e.SOF="<SOF>",e.EOF="<EOF>",e.BANG="!",e.DOLLAR="$",e.AMP="&",e.PAREN_L="(",e.PAREN_R=")",e.DOT=".",e.SPREAD="...",e.COLON=":",e.EQUALS="=",e.AT="@",e.BRACKET_L="[",e.BRACKET_R="]",e.BRACE_L="{",e.PIPE="|",e.BRACE_R="}",e.NAME="Name",e.INT="Int",e.FLOAT="Float",e.STRING="String",e.BLOCK_STRING="BlockString",e.COMMENT="Comment"}(ue||(ue={}));var Oe=class{constructor(e){let t=new V(ue.SOF,0,0,0,0);this.source=e,this.lastToken=t,this.token=t,this.line=1,this.lineStart=0}get[Symbol.toStringTag](){return"Lexer"}advance(){return this.lastToken=this.token,this.token=this.lookahead()}lookahead(){let e=this.token;if(e.kind!==ue.EOF)do{if(e.next)e=e.next;else{let t=ge(this,e.end);e.next=t,t.prev=e,e=t}}while(e.kind===ue.COMMENT);return e}};function De(e){return e>=0&&e<=55295||e>=57344&&e<=1114111}function Ae(e,t){return ve(e.charCodeAt(t))&&_e(e.charCodeAt(t+1))}function ve(e){return e>=55296&&e<=56319}function _e(e){return e>=56320&&e<=57343}function xe(e,t){let n=e.source.body.codePointAt(t);if(void 0===n)return ue.EOF;if(n>=32&&n<=126){let e=String.fromCodePoint(n);return'"'===e?"'\"'":`"${e}"`}return"U+"+n.toString(16).toUpperCase().padStart(4,"0")}function ke(e,t,n,i,r){let s=e.line,a=1+n-e.lineStart;return new V(t,n,i,s,a,r)}function ge(e,t){let n=e.source.body,i=n.length,r=t;for(;r<i;){let t=n.charCodeAt(r);switch(t){case 65279:case 9:case 32:case 44:++r;continue;case 10:++r,++e.line,e.lineStart=r;continue;case 13:10===n.charCodeAt(r+1)?r+=2:++r,++e.line,e.lineStart=r;continue;case 35:return Ce(e,r);case 33:return ke(e,ue.BANG,r,r+1);case 36:return ke(e,ue.DOLLAR,r,r+1);case 38:return ke(e,ue.AMP,r,r+1);case 40:return ke(e,ue.PAREN_L,r,r+1);case 41:return ke(e,ue.PAREN_R,r,r+1);case 46:if(46===n.charCodeAt(r+1)&&46===n.charCodeAt(r+2))return ke(e,ue.SPREAD,r,r+3);break;case 58:return ke(e,ue.COLON,r,r+1);case 61:return ke(e,ue.EQUALS,r,r+1);case 64:return ke(e,ue.AT,r,r+1);case 91:return ke(e,ue.BRACKET_L,r,r+1);case 93:return ke(e,ue.BRACKET_R,r,r+1);case 123:return ke(e,ue.BRACE_L,r,r+1);case 124:return ke(e,ue.PIPE,r,r+1);case 125:return ke(e,ue.BRACE_R,r,r+1);case 34:return 34===n.charCodeAt(r+1)&&34===n.charCodeAt(r+2)?Ue(e,r):Re(e,r)}if(Ee(t)||45===t)return Se(e,r,t);if(Te(t))return Ve(e,r);throw de(e.source,r,39===t?"Unexpected single quote character ('), did you mean to use a double quote (\")?":De(t)||Ae(n,r)?`Unexpected character: ${xe(e,r)}.`:`Invalid character: ${xe(e,r)}.`)}return ke(e,ue.EOF,i,i)}function Ce(e,t){let n=e.source.body,i=n.length,r=t+1;for(;r<i;){let e=n.charCodeAt(r);if(10===e||13===e)break;if(De(e))++r;else{if(!Ae(n,r))break;r+=2}}return ke(e,ue.COMMENT,t,r,n.slice(t+1,r))}function Se(e,t,n){let i=e.source.body,r=t,s=n,a=!1;if(45===s&&(s=i.charCodeAt(++r)),48===s){if(s=i.charCodeAt(++r),Ee(s))throw de(e.source,r,`Invalid number, unexpected digit after 0: ${xe(e,r)}.`)}else r=be(e,r,s),s=i.charCodeAt(r);if(46===s&&(a=!0,s=i.charCodeAt(++r),r=be(e,r,s),s=i.charCodeAt(r)),(69===s||101===s)&&(a=!0,s=i.charCodeAt(++r),(43===s||45===s)&&(s=i.charCodeAt(++r)),r=be(e,r,s),s=i.charCodeAt(r)),46===s||Te(s))throw de(e.source,r,`Invalid number, expected digit but got: ${xe(e,r)}.`);return ke(e,a?ue.FLOAT:ue.INT,t,r,i.slice(t,r))}function be(e,t,n){if(!Ee(n))throw de(e.source,t,`Invalid number, expected digit but got: ${xe(e,t)}.`);let i=e.source.body,r=t+1;for(;Ee(i.charCodeAt(r));)++r;return r}function Re(e,t){let n=e.source.body,i=n.length,r=t+1,s=r,a="";for(;r<i;){let i=n.charCodeAt(r);if(34===i)return a+=n.slice(s,r),ke(e,ue.STRING,t,r+1,a);if(92===i){a+=n.slice(s,r);let t=117===n.charCodeAt(r+1)?123===n.charCodeAt(r+2)?Le(e,r):Fe(e,r):Me(e,r);a+=t.value,r+=t.size,s=r;continue}if(10===i||13===i)break;if(De(i))++r;else{if(!Ae(n,r))throw de(e.source,r,`Invalid character within String: ${xe(e,r)}.`);r+=2}}throw de(e.source,r,"Unterminated string.")}function Le(e,t){let n=e.source.body,i=0,r=3;for(;r<12;){let e=n.charCodeAt(t+r++);if(125===e){if(r<5||!De(i))break;return{value:String.fromCodePoint(i),size:r}}if(i=i<<4|Pe(e),i<0)break}throw de(e.source,t,`Invalid Unicode escape sequence: "${n.slice(t,t+r)}".`)}function Fe(e,t){let n=e.source.body,i=we(n,t+2);if(De(i))return{value:String.fromCodePoint(i),size:6};if(ve(i)&&92===n.charCodeAt(t+6)&&117===n.charCodeAt(t+7)){let e=we(n,t+8);if(_e(e))return{value:String.fromCodePoint(i,e),size:12}}throw de(e.source,t,`Invalid Unicode escape sequence: "${n.slice(t,t+6)}".`)}function we(e,t){return Pe(e.charCodeAt(t))<<12|Pe(e.charCodeAt(t+1))<<8|Pe(e.charCodeAt(t+2))<<4|Pe(e.charCodeAt(t+3))}function Pe(e){return e>=48&&e<=57?e-48:e>=65&&e<=70?e-55:e>=97&&e<=102?e-87:-1}function Me(e,t){let n=e.source.body;switch(n.charCodeAt(t+1)){case 34:return{value:'"',size:2};case 92:return{value:"\\",size:2};case 47:return{value:"/",size:2};case 98:return{value:"\b",size:2};case 102:return{value:"\f",size:2};case 110:return{value:"\n",size:2};case 114:return{value:"\r",size:2};case 116:return{value:"\t",size:2}}throw de(e.source,t,`Invalid character escape sequence: "${n.slice(t,t+2)}".`)}function Ue(e,t){let n=e.source.body,i=n.length,r=e.lineStart,s=t+3,a=s,o="",c=[];for(;s<i;){let i=n.charCodeAt(s);if(34===i&&34===n.charCodeAt(s+1)&&34===n.charCodeAt(s+2)){o+=n.slice(a,s),c.push(o);let i=ke(e,ue.BLOCK_STRING,t,s+3,Ie(c).join("\n"));return e.line+=c.length-1,e.lineStart=r,i}if(92!==i||34!==n.charCodeAt(s+1)||34!==n.charCodeAt(s+2)||34!==n.charCodeAt(s+3))if(10!==i&&13!==i)if(De(i))++s;else{if(!Ae(n,s))throw de(e.source,s,`Invalid character within String: ${xe(e,s)}.`);s+=2}else o+=n.slice(a,s),c.push(o),13===i&&10===n.charCodeAt(s+1)?s+=2:++s,o="",a=s,r=s;else o+=n.slice(a,s),a=s+1,s+=4}throw de(e.source,s,"Unterminated string.")}function Ve(e,t){let n=e.source.body,i=n.length,r=t+1;for(;r<i&&Ne(n.charCodeAt(r));)++r;return ke(e,ue.NAME,t,r,n.slice(t,r))}function Be(e,t){if(!e)throw new Error(t)}function je(e){return Ke(e,[])}function Ke(e,t){switch(typeof e){case"string":return JSON.stringify(e);case"function":return e.name?`[function ${e.name}]`:"[function]";case"object":return function(e,t){if(null===e)return"null";if(t.includes(e))return"[Circular]";let n=[...t,e];if(function(e){return"function"==typeof e.toJSON}(e)){let t=e.toJSON();if(t!==e)return"string"==typeof t?t:Ke(t,n)}else if(Array.isArray(e))return function(e,t){if(0===e.length)return"[]";if(t.length>2)return"[Array]";let n=Math.min(10,e.length),i=e.length-n,r=[];for(let i=0;i<n;++i)r.push(Ke(e[i],t));return 1===i?r.push("... 1 more item"):i>1&&r.push(`... ${i} more items`),"["+r.join(", ")+"]"}(e,n);return function(e,t){let n=Object.entries(e);return 0===n.length?"{}":t.length>2?"["+function(e){let t=Object.prototype.toString.call(e).replace(/^\[object /,"").replace(/]$/,"");if("Object"===t&&"function"==typeof e.constructor){let t=e.constructor.name;if("string"==typeof t&&""!==t)return t}return t}(e)+"]":"{ "+n.map(([e,n])=>e+": "+Ke(n,t)).join(", ")+" }"}(e,n)}(e,t);default:return String(e)}}var $e=globalThis.process?function(e,t){return e instanceof t}:function(e,t){if(e instanceof t)return!0;if("object"==typeof e&&null!==e){var n;let i=t.prototype[Symbol.toStringTag];if(i===(Symbol.toStringTag in e?e[Symbol.toStringTag]:null===(n=e.constructor)||void 0===n?void 0:n.name)){let t=je(e);throw new Error(`Cannot use ${i} "${t}" from another module or realm.\n\nEnsure that there is only one instance of "graphql" in the node_modules\ndirectory. If different versions of "graphql" are the dependencies of other\nrelied on modules, use "resolutions" to ensure only one version is installed.\n\nhttps://yarnpkg.com/en/docs/selective-version-resolutions\n\nDuplicate "graphql" modules cannot be used at the same time since different\nversions may have different capabilities and behavior. The data from one\nversion used in the function from another could produce confusing and\nspurious results.`)}}return!1},Ge=class{constructor(e,t="GraphQL request",n={line:1,column:1}){"string"==typeof e||Be(!1,`Body must be a string. Received: ${je(e)}.`),this.body=e,this.name=t,this.locationOffset=n,this.locationOffset.line>0||Be(!1,"line in locationOffset is 1-indexed and must be positive."),this.locationOffset.column>0||Be(!1,"column in locationOffset is 1-indexed and must be positive.")}get[Symbol.toStringTag](){return"Source"}};var Ye=class{constructor(e,t={}){let{lexer:n,...i}=t;if(n)this._lexer=n;else{let t=function(e){return $e(e,Ge)}(e)?e:new Ge(e);this._lexer=new Oe(t)}this._options=i,this._tokenCounter=0}get tokenCount(){return this._tokenCounter}parseName(){let e=this.expectToken(ue.NAME);return this.node(e,{kind:le.NAME,value:e.value})}parseDocument(){return this.node(this._lexer.token,{kind:le.DOCUMENT,definitions:this.many(ue.SOF,this.parseDefinition,ue.EOF)})}parseDefinition(){if(this.peek(ue.BRACE_L))return this.parseOperationDefinition();let e=this.peekDescription(),t=e?this._lexer.lookahead():this._lexer.token;if(e&&t.kind===ue.BRACE_L)throw de(this._lexer.source,this._lexer.token.start,"Unexpected description, descriptions are not supported on shorthand queries.");if(t.kind===ue.NAME){switch(t.value){case"schema":return this.parseSchemaDefinition();case"scalar":return this.parseScalarTypeDefinition();case"type":return this.parseObjectTypeDefinition();case"interface":return this.parseInterfaceTypeDefinition();case"union":return this.parseUnionTypeDefinition();case"enum":return this.parseEnumTypeDefinition();case"input":return this.parseInputObjectTypeDefinition();case"directive":return this.parseDirectiveDefinition()}switch(t.value){case"query":case"mutation":case"subscription":return this.parseOperationDefinition();case"fragment":return this.parseFragmentDefinition()}if(e)throw de(this._lexer.source,this._lexer.token.start,"Unexpected description, only GraphQL definitions support descriptions.");if("extend"===t.value)return this.parseTypeSystemExtension()}throw this.unexpected(t)}parseOperationDefinition(){let e=this._lexer.token;if(this.peek(ue.BRACE_L))return this.node(e,{kind:le.OPERATION_DEFINITION,operation:P.QUERY,description:void 0,name:void 0,variableDefinitions:[],directives:[],selectionSet:this.parseSelectionSet()});let t,n=this.parseDescription(),i=this.parseOperationType();return this.peek(ue.NAME)&&(t=this.parseName()),this.node(e,{kind:le.OPERATION_DEFINITION,operation:i,description:n,name:t,variableDefinitions:this.parseVariableDefinitions(),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseOperationType(){let e=this.expectToken(ue.NAME);switch(e.value){case"query":return P.QUERY;case"mutation":return P.MUTATION;case"subscription":return P.SUBSCRIPTION}throw this.unexpected(e)}parseVariableDefinitions(){return this.optionalMany(ue.PAREN_L,this.parseVariableDefinition,ue.PAREN_R)}parseVariableDefinition(){return this.node(this._lexer.token,{kind:le.VARIABLE_DEFINITION,description:this.parseDescription(),variable:this.parseVariable(),type:(this.expectToken(ue.COLON),this.parseTypeReference()),defaultValue:this.expectOptionalToken(ue.EQUALS)?this.parseConstValueLiteral():void 0,directives:this.parseConstDirectives()})}parseVariable(){let e=this._lexer.token;return this.expectToken(ue.DOLLAR),this.node(e,{kind:le.VARIABLE,name:this.parseName()})}parseSelectionSet(){return this.node(this._lexer.token,{kind:le.SELECTION_SET,selections:this.many(ue.BRACE_L,this.parseSelection,ue.BRACE_R)})}parseSelection(){return this.peek(ue.SPREAD)?this.parseFragment():this.parseField()}parseField(){let e,t,n=this._lexer.token,i=this.parseName();return this.expectOptionalToken(ue.COLON)?(e=i,t=this.parseName()):t=i,this.node(n,{kind:le.FIELD,alias:e,name:t,arguments:this.parseArguments(!1),directives:this.parseDirectives(!1),selectionSet:this.peek(ue.BRACE_L)?this.parseSelectionSet():void 0})}parseArguments(e){let t=e?this.parseConstArgument:this.parseArgument;return this.optionalMany(ue.PAREN_L,t,ue.PAREN_R)}parseArgument(e=!1){let t=this._lexer.token,n=this.parseName();return this.expectToken(ue.COLON),this.node(t,{kind:le.ARGUMENT,name:n,value:this.parseValueLiteral(e)})}parseConstArgument(){return this.parseArgument(!0)}parseFragment(){let e=this._lexer.token;this.expectToken(ue.SPREAD);let t=this.expectOptionalKeyword("on");return!t&&this.peek(ue.NAME)?this.node(e,{kind:le.FRAGMENT_SPREAD,name:this.parseFragmentName(),directives:this.parseDirectives(!1)}):this.node(e,{kind:le.INLINE_FRAGMENT,typeCondition:t?this.parseNamedType():void 0,directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentDefinition(){let e=this._lexer.token,t=this.parseDescription();return this.expectKeyword("fragment"),!0===this._options.allowLegacyFragmentVariables?this.node(e,{kind:le.FRAGMENT_DEFINITION,description:t,name:this.parseFragmentName(),variableDefinitions:this.parseVariableDefinitions(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()}):this.node(e,{kind:le.FRAGMENT_DEFINITION,description:t,name:this.parseFragmentName(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentName(){if("on"===this._lexer.token.value)throw this.unexpected();return this.parseName()}parseValueLiteral(e){let t=this._lexer.token;switch(t.kind){case ue.BRACKET_L:return this.parseList(e);case ue.BRACE_L:return this.parseObject(e);case ue.INT:return this.advanceLexer(),this.node(t,{kind:le.INT,value:t.value});case ue.FLOAT:return this.advanceLexer(),this.node(t,{kind:le.FLOAT,value:t.value});case ue.STRING:case ue.BLOCK_STRING:return this.parseStringLiteral();case ue.NAME:switch(this.advanceLexer(),t.value){case"true":return this.node(t,{kind:le.BOOLEAN,value:!0});case"false":return this.node(t,{kind:le.BOOLEAN,value:!1});case"null":return this.node(t,{kind:le.NULL});default:return this.node(t,{kind:le.ENUM,value:t.value})}case ue.DOLLAR:if(e){if(this.expectToken(ue.DOLLAR),this._lexer.token.kind===ue.NAME){let e=this._lexer.token.value;throw de(this._lexer.source,t.start,`Unexpected variable "$${e}" in constant value.`)}throw this.unexpected(t)}return this.parseVariable();default:throw this.unexpected()}}parseConstValueLiteral(){return this.parseValueLiteral(!0)}parseStringLiteral(){let e=this._lexer.token;return this.advanceLexer(),this.node(e,{kind:le.STRING,value:e.value,block:e.kind===ue.BLOCK_STRING})}parseList(e){return this.node(this._lexer.token,{kind:le.LIST,values:this.any(ue.BRACKET_L,()=>this.parseValueLiteral(e),ue.BRACKET_R)})}parseObject(e){return this.node(this._lexer.token,{kind:le.OBJECT,fields:this.any(ue.BRACE_L,()=>this.parseObjectField(e),ue.BRACE_R)})}parseObjectField(e){let t=this._lexer.token,n=this.parseName();return this.expectToken(ue.COLON),this.node(t,{kind:le.OBJECT_FIELD,name:n,value:this.parseValueLiteral(e)})}parseDirectives(e){let t=[];for(;this.peek(ue.AT);)t.push(this.parseDirective(e));return t}parseConstDirectives(){return this.parseDirectives(!0)}parseDirective(e){let t=this._lexer.token;return this.expectToken(ue.AT),this.node(t,{kind:le.DIRECTIVE,name:this.parseName(),arguments:this.parseArguments(e)})}parseTypeReference(){let e,t=this._lexer.token;if(this.expectOptionalToken(ue.BRACKET_L)){let n=this.parseTypeReference();this.expectToken(ue.BRACKET_R),e=this.node(t,{kind:le.LIST_TYPE,type:n})}else e=this.parseNamedType();return this.expectOptionalToken(ue.BANG)?this.node(t,{kind:le.NON_NULL_TYPE,type:e}):e}parseNamedType(){return this.node(this._lexer.token,{kind:le.NAMED_TYPE,name:this.parseName()})}peekDescription(){return this.peek(ue.STRING)||this.peek(ue.BLOCK_STRING)}parseDescription(){if(this.peekDescription())return this.parseStringLiteral()}parseSchemaDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("schema");let n=this.parseConstDirectives(),i=this.many(ue.BRACE_L,this.parseOperationTypeDefinition,ue.BRACE_R);return this.node(e,{kind:le.SCHEMA_DEFINITION,description:t,directives:n,operationTypes:i})}parseOperationTypeDefinition(){let e=this._lexer.token,t=this.parseOperationType();this.expectToken(ue.COLON);let n=this.parseNamedType();return this.node(e,{kind:le.OPERATION_TYPE_DEFINITION,operation:t,type:n})}parseScalarTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("scalar");let n=this.parseName(),i=this.parseConstDirectives();return this.node(e,{kind:le.SCALAR_TYPE_DEFINITION,description:t,name:n,directives:i})}parseObjectTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("type");let n=this.parseName(),i=this.parseImplementsInterfaces(),r=this.parseConstDirectives(),s=this.parseFieldsDefinition();return this.node(e,{kind:le.OBJECT_TYPE_DEFINITION,description:t,name:n,interfaces:i,directives:r,fields:s})}parseImplementsInterfaces(){return this.expectOptionalKeyword("implements")?this.delimitedMany(ue.AMP,this.parseNamedType):[]}parseFieldsDefinition(){return this.optionalMany(ue.BRACE_L,this.parseFieldDefinition,ue.BRACE_R)}parseFieldDefinition(){let e=this._lexer.token,t=this.parseDescription(),n=this.parseName(),i=this.parseArgumentDefs();this.expectToken(ue.COLON);let r=this.parseTypeReference(),s=this.parseConstDirectives();return this.node(e,{kind:le.FIELD_DEFINITION,description:t,name:n,arguments:i,type:r,directives:s})}parseArgumentDefs(){return this.optionalMany(ue.PAREN_L,this.parseInputValueDef,ue.PAREN_R)}parseInputValueDef(){let e=this._lexer.token,t=this.parseDescription(),n=this.parseName();this.expectToken(ue.COLON);let i,r=this.parseTypeReference();this.expectOptionalToken(ue.EQUALS)&&(i=this.parseConstValueLiteral());let s=this.parseConstDirectives();return this.node(e,{kind:le.INPUT_VALUE_DEFINITION,description:t,name:n,type:r,defaultValue:i,directives:s})}parseInterfaceTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("interface");let n=this.parseName(),i=this.parseImplementsInterfaces(),r=this.parseConstDirectives(),s=this.parseFieldsDefinition();return this.node(e,{kind:le.INTERFACE_TYPE_DEFINITION,description:t,name:n,interfaces:i,directives:r,fields:s})}parseUnionTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("union");let n=this.parseName(),i=this.parseConstDirectives(),r=this.parseUnionMemberTypes();return this.node(e,{kind:le.UNION_TYPE_DEFINITION,description:t,name:n,directives:i,types:r})}parseUnionMemberTypes(){return this.expectOptionalToken(ue.EQUALS)?this.delimitedMany(ue.PIPE,this.parseNamedType):[]}parseEnumTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("enum");let n=this.parseName(),i=this.parseConstDirectives(),r=this.parseEnumValuesDefinition();return this.node(e,{kind:le.ENUM_TYPE_DEFINITION,description:t,name:n,directives:i,values:r})}parseEnumValuesDefinition(){return this.optionalMany(ue.BRACE_L,this.parseEnumValueDefinition,ue.BRACE_R)}parseEnumValueDefinition(){let e=this._lexer.token,t=this.parseDescription(),n=this.parseEnumValueName(),i=this.parseConstDirectives();return this.node(e,{kind:le.ENUM_VALUE_DEFINITION,description:t,name:n,directives:i})}parseEnumValueName(){if("true"===this._lexer.token.value||"false"===this._lexer.token.value||"null"===this._lexer.token.value)throw de(this._lexer.source,this._lexer.token.start,`${qe(this._lexer.token)} is reserved and cannot be used for an enum value.`);return this.parseName()}parseInputObjectTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("input");let n=this.parseName(),i=this.parseConstDirectives(),r=this.parseInputFieldsDefinition();return this.node(e,{kind:le.INPUT_OBJECT_TYPE_DEFINITION,description:t,name:n,directives:i,fields:r})}parseInputFieldsDefinition(){return this.optionalMany(ue.BRACE_L,this.parseInputValueDef,ue.BRACE_R)}parseTypeSystemExtension(){let e=this._lexer.lookahead();if(e.kind===ue.NAME)switch(e.value){case"schema":return this.parseSchemaExtension();case"scalar":return this.parseScalarTypeExtension();case"type":return this.parseObjectTypeExtension();case"interface":return this.parseInterfaceTypeExtension();case"union":return this.parseUnionTypeExtension();case"enum":return this.parseEnumTypeExtension();case"input":return this.parseInputObjectTypeExtension()}throw this.unexpected(e)}parseSchemaExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("schema");let t=this.parseConstDirectives(),n=this.optionalMany(ue.BRACE_L,this.parseOperationTypeDefinition,ue.BRACE_R);if(0===t.length&&0===n.length)throw this.unexpected();return this.node(e,{kind:le.SCHEMA_EXTENSION,directives:t,operationTypes:n})}parseScalarTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("scalar");let t=this.parseName(),n=this.parseConstDirectives();if(0===n.length)throw this.unexpected();return this.node(e,{kind:le.SCALAR_TYPE_EXTENSION,name:t,directives:n})}parseObjectTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("type");let t=this.parseName(),n=this.parseImplementsInterfaces(),i=this.parseConstDirectives(),r=this.parseFieldsDefinition();if(0===n.length&&0===i.length&&0===r.length)throw this.unexpected();return this.node(e,{kind:le.OBJECT_TYPE_EXTENSION,name:t,interfaces:n,directives:i,fields:r})}parseInterfaceTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("interface");let t=this.parseName(),n=this.parseImplementsInterfaces(),i=this.parseConstDirectives(),r=this.parseFieldsDefinition();if(0===n.length&&0===i.length&&0===r.length)throw this.unexpected();return this.node(e,{kind:le.INTERFACE_TYPE_EXTENSION,name:t,interfaces:n,directives:i,fields:r})}parseUnionTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("union");let t=this.parseName(),n=this.parseConstDirectives(),i=this.parseUnionMemberTypes();if(0===n.length&&0===i.length)throw this.unexpected();return this.node(e,{kind:le.UNION_TYPE_EXTENSION,name:t,directives:n,types:i})}parseEnumTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("enum");let t=this.parseName(),n=this.parseConstDirectives(),i=this.parseEnumValuesDefinition();if(0===n.length&&0===i.length)throw this.unexpected();return this.node(e,{kind:le.ENUM_TYPE_EXTENSION,name:t,directives:n,values:i})}parseInputObjectTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("input");let t=this.parseName(),n=this.parseConstDirectives(),i=this.parseInputFieldsDefinition();if(0===n.length&&0===i.length)throw this.unexpected();return this.node(e,{kind:le.INPUT_OBJECT_TYPE_EXTENSION,name:t,directives:n,fields:i})}parseDirectiveDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("directive"),this.expectToken(ue.AT);let n=this.parseName(),i=this.parseArgumentDefs(),r=this.expectOptionalKeyword("repeatable");this.expectKeyword("on");let s=this.parseDirectiveLocations();return this.node(e,{kind:le.DIRECTIVE_DEFINITION,description:t,name:n,arguments:i,repeatable:r,locations:s})}parseDirectiveLocations(){return this.delimitedMany(ue.PIPE,this.parseDirectiveLocation)}parseDirectiveLocation(){let e=this._lexer.token,t=this.parseName();if(Object.prototype.hasOwnProperty.call(ce,t.value))return t;throw this.unexpected(e)}parseSchemaCoordinate(){let e,t,n=this._lexer.token,i=this.expectOptionalToken(ue.AT),r=this.parseName();return!i&&this.expectOptionalToken(ue.DOT)&&(e=this.parseName()),(i||e)&&this.expectOptionalToken(ue.PAREN_L)&&(t=this.parseName(),this.expectToken(ue.COLON),this.expectToken(ue.PAREN_R)),i?t?this.node(n,{kind:le.DIRECTIVE_ARGUMENT_COORDINATE,name:r,argumentName:t}):this.node(n,{kind:le.DIRECTIVE_COORDINATE,name:r}):e?t?this.node(n,{kind:le.ARGUMENT_COORDINATE,name:r,fieldName:e,argumentName:t}):this.node(n,{kind:le.MEMBER_COORDINATE,name:r,memberName:e}):this.node(n,{kind:le.TYPE_COORDINATE,name:r})}node(e,t){return!0!==this._options.noLocation&&(t.loc=new U(e,this._lexer.lastToken,this._lexer.source)),t}peek(e){return this._lexer.token.kind===e}expectToken(e){let t=this._lexer.token;if(t.kind===e)return this.advanceLexer(),t;throw de(this._lexer.source,t.start,`Expected ${Je(e)}, found ${qe(t)}.`)}expectOptionalToken(e){return this._lexer.token.kind===e&&(this.advanceLexer(),!0)}expectKeyword(e){let t=this._lexer.token;if(t.kind!==ue.NAME||t.value!==e)throw de(this._lexer.source,t.start,`Expected "${e}", found ${qe(t)}.`);this.advanceLexer()}expectOptionalKeyword(e){let t=this._lexer.token;return t.kind===ue.NAME&&t.value===e&&(this.advanceLexer(),!0)}unexpected(e){let t=e??this._lexer.token;return de(this._lexer.source,t.start,`Unexpected ${qe(t)}.`)}any(e,t,n){this.expectToken(e);let i=[];for(;!this.expectOptionalToken(n);)i.push(t.call(this));return i}optionalMany(e,t,n){if(this.expectOptionalToken(e)){let e=[];do{e.push(t.call(this))}while(!this.expectOptionalToken(n));return e}return[]}many(e,t,n){this.expectToken(e);let i=[];do{i.push(t.call(this))}while(!this.expectOptionalToken(n));return i}delimitedMany(e,t){this.expectOptionalToken(e);let n=[];do{n.push(t.call(this))}while(this.expectOptionalToken(e));return n}advanceLexer(){let{maxTokens:e}=this._options,t=this._lexer.advance();if(t.kind!==ue.EOF&&(++this._tokenCounter,void 0!==e&&this._tokenCounter>e))throw de(this._lexer.source,t.start,`Document contains more that ${e} tokens. Parsing aborted.`)}};function qe(e){let t=e.value;return Je(e.kind)+(null!=t?` "${t}"`:"")}function Je(e){return function(e){return e===ue.BANG||e===ue.DOLLAR||e===ue.AMP||e===ue.PAREN_L||e===ue.PAREN_R||e===ue.DOT||e===ue.SPREAD||e===ue.COLON||e===ue.EQUALS||e===ue.AT||e===ue.BRACKET_L||e===ue.BRACKET_R||e===ue.BRACE_L||e===ue.PIPE||e===ue.BRACE_R}(e)?`"${e}"`:e}var Qe=function(e,t){let n=new SyntaxError(e+" ("+t.loc.start.line+":"+t.loc.start.column+")");return Object.assign(n,t)};var Xe={allowLegacyFragmentVariables:!0};var ze={parse:function(e){let t;try{t=function(e,t){let n=new Ye(e,t),i=n.parseDocument();return Object.defineProperty(i,"tokenCount",{enumerable:!1,value:n.tokenCount}),i}(e,Xe)}catch(e){throw function(e){if("GraphQLError"===e?.name){let{message:t,locations:[n]}=e;return Qe(t,{loc:{start:n},cause:e})}return e}(e)}return t.comments=function(e){let t=[],{startToken:n,endToken:i}=e.loc;for(let e=n;e!==i;e=e.next)"Comment"===e.kind&&t.push({...e,loc:{start:e.start,end:e.end}});return t}(t),t},astFormat:"graphql",hasPragma:e=>q.test(e),hasIgnorePragma:e=>Y.test(e),locStart:$,locEnd:G},He={graphql:W};return(r=>((r,s,a,o)=>{if(s&&"object"==typeof s||"function"==typeof s)for(let c of n(s))!i.call(r,c)&&c!==a&&e(r,c,{get:()=>s[c],enumerable:!(o=t(s,c))||o.enumerable});return r})(e({},"__esModule",{value:!0}),r))(s)}()).default||t}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[580],{78722(t,e,n){function i(t){let e=0,n=0,i=0,s=0;for(let r=0,o=t.length;r<o;r++){const a=t.charCodeAt(r);13===a?(0===e&&(n=r),e++,r+1<o&&10===t.charCodeAt(r+1)?(s|=2,r++):s|=3,i=r+1):10===a&&(s|=1,0===e&&(n=r),e++,i=r+1)}return 0===e&&(n=t.length),[e,n,t.length-i,s]}n.d(e,{W:()=>i})},20370(t,e,n){n.d(e,{x:()=>i});class i{static getLanguageId(t){return(255&t)>>>0}static getTokenType(t){return(768&t)>>>8}static containsBalancedBrackets(t){return!!(1024&t)}static getFontStyle(t){return(30720&t)>>>11}static getForeground(t){return(16744448&t)>>>15}static getBackground(t){return(4278190080&t)>>>24}static getClassNameFromMetadata(t){let e="mtk"+this.getForeground(t);const n=this.getFontStyle(t);return 1&n&&(e+=" mtki"),2&n&&(e+=" mtkb"),4&n&&(e+=" mtku"),8&n&&(e+=" mtks"),e}static getInlineStyleFromMetadata(t,e){const n=this.getForeground(t),i=this.getFontStyle(t);let s=`color: ${e[n]};`;1&i&&(s+="font-style: italic;"),2&i&&(s+="font-weight: bold;");let r="";return 4&i&&(r+=" underline"),8&i&&(r+=" line-through"),r&&(s+=`text-decoration:${r};`),s}static getPresentationFromMetadata(t){const e=this.getForeground(t),n=this.getFontStyle(t);return{foreground:e,italic:Boolean(1&n),bold:Boolean(2&n),underline:Boolean(4&n),strikethrough:Boolean(8&n)}}}},75854(t,e,n){n.d(e,{L:()=>i});const i=(0,n(91739).u1)("languageService")},60580(t,e,n){n.r(e),n.d(e,{SemanticTokensProviderStyling:()=>d,toMultilineTokens2:()=>_}),n(20370);var i=n(72992),s=n(94837),r=n(93881),o=n(27329),a=n(78722);class h{static create(t,e){return new h(t,new u(e))}get startLineNumber(){return this._startLineNumber}get endLineNumber(){return this._endLineNumber}constructor(t,e){this._startLineNumber=t,this._tokens=e,this._endLineNumber=this._startLineNumber+this._tokens.getMaxDeltaLine()}toString(){return this._tokens.toString(this._startLineNumber)}_updateEndLineNumber(){this._endLineNumber=this._startLineNumber+this._tokens.getMaxDeltaLine()}isEmpty(){return this._tokens.isEmpty()}getLineTokens(t){return this._startLineNumber<=t&&t<=this._endLineNumber?this._tokens.getLineTokens(t-this._startLineNumber):null}getRange(){const t=this._tokens.getRange();return t?new o.Q(this._startLineNumber+t.startLineNumber,t.startColumn,this._startLineNumber+t.endLineNumber,t.endColumn):t}removeTokens(t){const e=t.startLineNumber-this._startLineNumber,n=t.endLineNumber-this._startLineNumber;this._startLineNumber+=this._tokens.removeTokens(e,t.startColumn-1,n,t.endColumn-1),this._updateEndLineNumber()}split(t){const e=t.startLineNumber-this._startLineNumber,n=t.endLineNumber-this._startLineNumber,[i,s,r]=this._tokens.split(e,t.startColumn-1,n,t.endColumn-1);return[new h(this._startLineNumber,i),new h(this._startLineNumber+r,s)]}applyEdit(t,e){const[n,i,s]=(0,a.W)(e);this.acceptEdit(t,n,i,s,e.length>0?e.charCodeAt(0):0)}acceptEdit(t,e,n,i,s){this._acceptDeleteRange(t),this._acceptInsertText(new r.y(t.startLineNumber,t.startColumn),e,n,i,s),this._updateEndLineNumber()}_acceptDeleteRange(t){if(t.startLineNumber===t.endLineNumber&&t.startColumn===t.endColumn)return;const e=t.startLineNumber-this._startLineNumber,n=t.endLineNumber-this._startLineNumber;if(n<0){const t=n-e;return void(this._startLineNumber-=t)}const i=this._tokens.getMaxDeltaLine();if(!(e>=i+1)){if(e<0&&n>=i+1)return this._startLineNumber=0,void this._tokens.clear();if(e<0){const i=-e;this._startLineNumber-=i,this._tokens.acceptDeleteRange(t.startColumn-1,0,0,n,t.endColumn-1)}else this._tokens.acceptDeleteRange(0,e,t.startColumn-1,n,t.endColumn-1)}}_acceptInsertText(t,e,n,i,s){if(0===e&&0===n)return;const r=t.lineNumber-this._startLineNumber;r<0?this._startLineNumber+=e:r>=this._tokens.getMaxDeltaLine()+1||this._tokens.acceptInsertText(r,t.column-1,e,n,i,s)}}class u{constructor(t){this._tokens=t,this._tokenCount=t.length/4}toString(t){const e=[];for(let n=0;n<this._tokenCount;n++)e.push(`(${this._getDeltaLine(n)+t},${this._getStartCharacter(n)}-${this._getEndCharacter(n)})`);return`[${e.join(",")}]`}getMaxDeltaLine(){const t=this._getTokenCount();return 0===t?-1:this._getDeltaLine(t-1)}getRange(){const t=this._getTokenCount();if(0===t)return null;const e=this._getStartCharacter(0),n=this._getDeltaLine(t-1),i=this._getEndCharacter(t-1);return new o.Q(0,e+1,n,i+1)}_getTokenCount(){return this._tokenCount}_getDeltaLine(t){return this._tokens[4*t]}_getStartCharacter(t){return this._tokens[4*t+1]}_getEndCharacter(t){return this._tokens[4*t+2]}isEmpty(){return 0===this._getTokenCount()}getLineTokens(t){let e=0,n=this._getTokenCount()-1;for(;e<n;){const i=e+Math.floor((n-e)/2),s=this._getDeltaLine(i);if(s<t)e=i+1;else{if(!(s>t)){let s=i;for(;s>e&&this._getDeltaLine(s-1)===t;)s--;let r=i;for(;r<n&&this._getDeltaLine(r+1)===t;)r++;return new l(this._tokens.subarray(4*s,4*r+4))}n=i-1}}return this._getDeltaLine(e)===t?new l(this._tokens.subarray(4*e,4*e+4)):null}clear(){this._tokenCount=0}removeTokens(t,e,n,i){const s=this._tokens,r=this._tokenCount;let o=0,a=!1,h=0;for(let u=0;u<r;u++){const r=4*u,l=s[r],c=s[r+1],g=s[r+2],d=s[r+3];if((l>t||l===t&&g>=e)&&(l<n||l===n&&c<=i))a=!0;else{if(0===o&&(h=l),a){const t=4*o;s[t]=l-h,s[t+1]=c,s[t+2]=g,s[t+3]=d}o++}}return this._tokenCount=o,h}split(t,e,n,i){const s=this._tokens,r=this._tokenCount,o=[],a=[];let h=o,l=0,c=0;for(let o=0;o<r;o++){const r=4*o,u=s[r],g=s[r+1],d=s[r+2],_=s[r+3];if(u>t||u===t&&d>=e){if(u<n||u===n&&g<=i)continue;h!==a&&(h=a,l=0,c=u)}h[l++]=u-c,h[l++]=g,h[l++]=d,h[l++]=_}return[new u(new Uint32Array(o)),new u(new Uint32Array(a)),c]}acceptDeleteRange(t,e,n,i,s){const r=this._tokens,o=this._tokenCount,a=i-e;let h=0,u=!1;for(let l=0;l<o;l++){const c=4*l;let g=r[c],d=r[c+1],_=r[c+2];const m=r[c+3];if(g<e||g===e&&_<=n){h++;continue}if(g===e&&d<n)g===i&&_>s?_-=s-n:_=n;else if(g===e&&d===n){if(!(g===i&&_>s)){u=!0;continue}_-=s-n}else if(g<i||g===i&&d<s){if(!(g===i&&_>s)){u=!0;continue}g=e,d=n,_=d+(_-s)}else if(g>i){if(0===a&&!u){h=o;break}g-=a}else{if(!(g===i&&d>=s))throw new Error("Not possible!");t&&0===g&&(d+=t,_+=t),g-=a,d-=s-n,_-=s-n}const k=4*h;r[k]=g,r[k+1]=d,r[k+2]=_,r[k+3]=m,h++}this._tokenCount=h}acceptInsertText(t,e,n,i,s,r){const o=0===n&&1===i&&(r>=48&&r<=57||r>=65&&r<=90||r>=97&&r<=122),a=this._tokens,h=this._tokenCount;for(let r=0;r<h;r++){const h=4*r;let u=a[h],l=a[h+1],c=a[h+2];if(!(u<t||u===t&&c<e)){if(u===t&&c===e){if(!o)continue;c+=1}else if(u===t&&l<e&&e<c)0===n?c+=i:c=e;else{if(u===t&&l===e&&o)continue;if(u===t)if(u+=n,0===n)l+=i,c+=i;else{const t=c-l;l=s+(l-e),c=l+t}else u+=n}a[h]=u,a[h+1]=l,a[h+2]=c}}}}class l{constructor(t){this._tokens=t}getCount(){return this._tokens.length/4}getStartCharacter(t){return this._tokens[4*t+1]}getEndCharacter(t){return this._tokens[4*t+2]}getMetadata(t){return this._tokens[4*t+3]}}var c=n(75854),g=function(t,e){return function(n,i){e(n,i,t)}};let d=class{constructor(t,e,n,i){this._legend=t,this._themeService=e,this._languageService=n,this._logService=i,this._hasWarnedOverlappingTokens=!1,this._hasWarnedInvalidLengthTokens=!1,this._hasWarnedInvalidEditStart=!1,this._hashTable=new k}getMetadata(t,e,n){const i=this._languageService.languageIdCodec.encodeLanguageId(n),s=this._hashTable.get(t,e,i);let r;if(s)r=s.metadata;else{let s=this._legend.tokenTypes[t];const o=[];if(s){let t=e;for(let e=0;t>0&&e<this._legend.tokenModifiers.length;e++)1&t&&o.push(this._legend.tokenModifiers[e]),t>>=1;const i=this._themeService.getColorTheme().getTokenStyleMetadata(s,o,n);void 0===i?r=2147483647:(r=0,void 0!==i.italic&&(r|=1|(i.italic?1:0)<<11),void 0!==i.bold&&(r|=2|(i.bold?2:0)<<11),void 0!==i.underline&&(r|=4|(i.underline?4:0)<<11),void 0!==i.strikethrough&&(r|=8|(i.strikethrough?8:0)<<11),i.foreground&&(r|=16|i.foreground<<15),0===r&&(r=2147483647))}else r=2147483647,s="not-in-legend";this._hashTable.add(t,e,i,r)}return r}warnOverlappingSemanticTokens(t,e){this._hasWarnedOverlappingTokens||(this._hasWarnedOverlappingTokens=!0,this._logService.warn(`Overlapping semantic tokens detected at lineNumber ${t}, column ${e}`))}warnInvalidLengthSemanticTokens(t,e){this._hasWarnedInvalidLengthTokens||(this._hasWarnedInvalidLengthTokens=!0,this._logService.warn(`Semantic token with invalid length detected at lineNumber ${t}, column ${e}`))}warnInvalidEditStart(t,e,n,i,s){this._hasWarnedInvalidEditStart||(this._hasWarnedInvalidEditStart=!0,this._logService.warn(`Invalid semantic tokens edit detected (previousResultId: ${t}, resultId: ${e}) at edit #${n}: The provided start offset ${i} is outside the previous data (length ${s}).`))}};function _(t,e,n){const i=t.data,s=t.data.length/5|0,r=Math.max(Math.ceil(s/1024),400),o=[];let a=0,u=1,l=0;for(;a<s;){const t=a;let c=Math.min(t+r,s);if(c<s){let e=c;for(;e-1>t&&0===i[5*e];)e--;if(e-1===t){let t=c;for(;t+1<s&&0===i[5*t];)t++;c=t}else c=e}let g=new Uint32Array(4*(c-t)),d=0,_=0,m=0,k=0;for(;a<c;){const t=5*a,s=i[t],r=i[t+1],o=u+s|0,h=0===s?l+r|0:r,c=h+i[t+2]|0,f=i[t+3],L=i[t+4];if(c<=h)e.warnInvalidLengthSemanticTokens(o,h+1);else if(m===o&&k>h)e.warnOverlappingSemanticTokens(o,h+1);else{const t=e.getMetadata(f,L,n);2147483647!==t&&(0===_&&(_=o),g[d]=o-_,g[d+1]=h,g[d+2]=c,g[d+3]=t,d+=4,m=o,k=c)}u=o,l=h,a++}d!==g.length&&(g=g.subarray(0,d));const f=h.create(_,g);o.push(f)}return o}d=function(t,e,n,i){var s,r=arguments.length,o=r<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(s=t[a])&&(o=(r<3?s(o):r>3?s(e,n,o):s(e,n))||o);return r>3&&o&&Object.defineProperty(e,n,o),o}([g(1,i.Gy),g(2,c.L),g(3,s.rr)],d);class m{constructor(t,e,n,i){this.tokenTypeIndex=t,this.tokenModifierSet=e,this.languageId=n,this.metadata=i,this.next=null}}class k{static{this._SIZES=[3,7,13,31,61,127,251,509,1021,2039,4093,8191,16381,32749,65521,131071,262139,524287,1048573,2097143]}constructor(){this._elementsCount=0,this._currentLengthIndex=0,this._currentLength=k._SIZES[this._currentLengthIndex],this._growCount=Math.round(this._currentLengthIndex+1<k._SIZES.length?2/3*this._currentLength:0),this._elements=[],k._nullOutEntries(this._elements,this._currentLength)}static _nullOutEntries(t,e){for(let n=0;n<e;n++)t[n]=null}_hash2(t,e){return(t<<5)-t+e|0}_hashFunc(t,e,n){return this._hash2(this._hash2(t,e),n)%this._currentLength}get(t,e,n){const i=this._hashFunc(t,e,n);let s=this._elements[i];for(;s;){if(s.tokenTypeIndex===t&&s.tokenModifierSet===e&&s.languageId===n)return s;s=s.next}return null}add(t,e,n,i){if(this._elementsCount++,0!==this._growCount&&this._elementsCount>=this._growCount){const t=this._elements;this._currentLengthIndex++,this._currentLength=k._SIZES[this._currentLengthIndex],this._growCount=Math.round(this._currentLengthIndex+1<k._SIZES.length?2/3*this._currentLength:0),this._elements=[],k._nullOutEntries(this._elements,this._currentLength);for(const e of t){let t=e;for(;t;){const e=t.next;t.next=null,this._add(t),t=e}}}this._add(new m(t,e,n,i))}_add(t){const e=this._hashFunc(t.tokenTypeIndex,t.tokenModifierSet,t.languageId);t.next=this._elements[e],this._elements[e]=t}}},72992(t,e,n){n.d(e,{Fd:()=>c,Gy:()=>h,Pz:()=>l,Yf:()=>u,lR:()=>_,zy:()=>d});var i=n(98137),s=n(80194),r=n(91739),o=n(94187),a=n(73559);const h=(0,r.u1)("themeService");function u(t){return{id:t}}function l(t){switch(t){case a.zM.DARK:return"vs-dark";case a.zM.HIGH_CONTRAST_DARK:return"hc-black";case a.zM.HIGH_CONTRAST_LIGHT:return"hc-light";default:return"vs"}}const c={ThemingContribution:"base.contributions.theming"},g=new class{constructor(){this.themingParticipants=[],this.themingParticipants=[],this.onThemingParticipantAddedEmitter=new i.vl}onColorThemeChange(t){return this.themingParticipants.push(t),this.onThemingParticipantAddedEmitter.fire(t),(0,s.s)(()=>{const e=this.themingParticipants.indexOf(t);this.themingParticipants.splice(e,1)})}getThemingParticipants(){return this.themingParticipants}};function d(t){return g.onColorThemeChange(t)}o.O.add(c.ThemingContribution,g);class _ extends s.jG{constructor(t){super(),this.themeService=t,this.theme=t.getColorTheme(),this._register(this.themeService.onDidColorThemeChange(t=>this.onThemeChange(t)))}onThemeChange(t){this.theme=t,this.updateStyles()}updateStyles(){}}}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(self.webpackChunk=self.webpackChunk||[]).push([[5834],{25834(e,o,s){var r={"./editorBaseApi":88687,"./editorBaseApi.js":88687,"./editorSimpleWorker":26635,"./editorSimpleWorker.js":26635,"./editorWorker":93412,"./editorWorker.js":93412,"./editorWorkerHost":81978,"./editorWorkerHost.js":81978,"./findSectionHeaders":82743,"./findSectionHeaders.js":82743,"./getIconClasses":19096,"./getIconClasses.js":19096,"./languageFeatureDebounce":21256,"./languageFeatureDebounce.js":21256,"./languageFeatures":48058,"./languageFeatures.js":48058,"./languageFeaturesService":43033,"./languageFeaturesService.js":43033,"./languageService":36214,"./languageService.js":36214,"./languagesAssociations":21440,"./languagesAssociations.js":21440,"./languagesRegistry":53871,"./languagesRegistry.js":53871,"./markerDecorations":96490,"./markerDecorations.js":96490,"./markerDecorationsService":90191,"./markerDecorationsService.js":90191,"./model":52794,"./model.js":52794,"./modelService":81151,"./modelService.js":81151,"./resolverService":79174,"./resolverService.js":79174,"./semanticTokensDto":31356,"./semanticTokensDto.js":31356,"./semanticTokensProviderStyling":60580,"./semanticTokensProviderStyling.js":60580,"./semanticTokensStyling":15967,"./semanticTokensStyling.js":15967,"./semanticTokensStylingService":63560,"./semanticTokensStylingService.js":63560,"./textModelSync/textModelSync.impl":5618,"./textModelSync/textModelSync.impl.js":5618,"./textModelSync/textModelSync.protocol":98675,"./textModelSync/textModelSync.protocol.js":98675,"./textResourceConfiguration":93212,"./textResourceConfiguration.js":93212,"./treeSitterParserService":76556,"./treeSitterParserService.js":76556,"./treeViewsDnd":78460,"./treeViewsDnd.js":78460,"./treeViewsDndService":21272,"./treeViewsDndService.js":21272,"./unicodeTextModelHighlighter":74403,"./unicodeTextModelHighlighter.js":74403,"monaco-editor/esm/vs/editor/common/services/editorBaseApi":88687,"monaco-editor/esm/vs/editor/common/services/editorBaseApi.js":88687,"monaco-editor/esm/vs/editor/common/services/editorSimpleWorker":26635,"monaco-editor/esm/vs/editor/common/services/editorSimpleWorker.js":26635,"monaco-editor/esm/vs/editor/common/services/editorWorker":93412,"monaco-editor/esm/vs/editor/common/services/editorWorker.js":93412,"monaco-editor/esm/vs/editor/common/services/editorWorkerHost":81978,"monaco-editor/esm/vs/editor/common/services/editorWorkerHost.js":81978,"monaco-editor/esm/vs/editor/common/services/findSectionHeaders":82743,"monaco-editor/esm/vs/editor/common/services/findSectionHeaders.js":82743,"monaco-editor/esm/vs/editor/common/services/getIconClasses":19096,"monaco-editor/esm/vs/editor/common/services/getIconClasses.js":19096,"monaco-editor/esm/vs/editor/common/services/languageFeatureDebounce":21256,"monaco-editor/esm/vs/editor/common/services/languageFeatureDebounce.js":21256,"monaco-editor/esm/vs/editor/common/services/languageFeatures":48058,"monaco-editor/esm/vs/editor/common/services/languageFeatures.js":48058,"monaco-editor/esm/vs/editor/common/services/languageFeaturesService":43033,"monaco-editor/esm/vs/editor/common/services/languageFeaturesService.js":43033,"monaco-editor/esm/vs/editor/common/services/languageService":36214,"monaco-editor/esm/vs/editor/common/services/languageService.js":36214,"monaco-editor/esm/vs/editor/common/services/languagesAssociations":21440,"monaco-editor/esm/vs/editor/common/services/languagesAssociations.js":21440,"monaco-editor/esm/vs/editor/common/services/languagesRegistry":53871,"monaco-editor/esm/vs/editor/common/services/languagesRegistry.js":53871,"monaco-editor/esm/vs/editor/common/services/markerDecorations":96490,"monaco-editor/esm/vs/editor/common/services/markerDecorations.js":96490,"monaco-editor/esm/vs/editor/common/services/markerDecorationsService":90191,"monaco-editor/esm/vs/editor/common/services/markerDecorationsService.js":90191,"monaco-editor/esm/vs/editor/common/services/model":52794,"monaco-editor/esm/vs/editor/common/services/model.js":52794,"monaco-editor/esm/vs/editor/common/services/modelService":81151,"monaco-editor/esm/vs/editor/common/services/modelService.js":81151,"monaco-editor/esm/vs/editor/common/services/resolverService":79174,"monaco-editor/esm/vs/editor/common/services/resolverService.js":79174,"monaco-editor/esm/vs/editor/common/services/semanticTokensDto":31356,"monaco-editor/esm/vs/editor/common/services/semanticTokensDto.js":31356,"monaco-editor/esm/vs/editor/common/services/semanticTokensProviderStyling":60580,"monaco-editor/esm/vs/editor/common/services/semanticTokensProviderStyling.js":60580,"monaco-editor/esm/vs/editor/common/services/semanticTokensStyling":15967,"monaco-editor/esm/vs/editor/common/services/semanticTokensStyling.js":15967,"monaco-editor/esm/vs/editor/common/services/semanticTokensStylingService":63560,"monaco-editor/esm/vs/editor/common/services/semanticTokensStylingService.js":63560,"monaco-editor/esm/vs/editor/common/services/textModelSync/textModelSync.impl":5618,"monaco-editor/esm/vs/editor/common/services/textModelSync/textModelSync.impl.js":5618,"monaco-editor/esm/vs/editor/common/services/textModelSync/textModelSync.protocol":98675,"monaco-editor/esm/vs/editor/common/services/textModelSync/textModelSync.protocol.js":98675,"monaco-editor/esm/vs/editor/common/services/textResourceConfiguration":93212,"monaco-editor/esm/vs/editor/common/services/textResourceConfiguration.js":93212,"monaco-editor/esm/vs/editor/common/services/treeSitterParserService":76556,"monaco-editor/esm/vs/editor/common/services/treeSitterParserService.js":76556,"monaco-editor/esm/vs/editor/common/services/treeViewsDnd":78460,"monaco-editor/esm/vs/editor/common/services/treeViewsDnd.js":78460,"monaco-editor/esm/vs/editor/common/services/treeViewsDndService":21272,"monaco-editor/esm/vs/editor/common/services/treeViewsDndService.js":21272,"monaco-editor/esm/vs/editor/common/services/unicodeTextModelHighlighter":74403,"monaco-editor/esm/vs/editor/common/services/unicodeTextModelHighlighter.js":74403};function i(e){var o=t(e);return s(o)}function t(e){if(!s.o(r,e)){var o=new Error("Cannot find module '"+e+"'");throw o.code="MODULE_NOT_FOUND",o}return r[e]}i.keys=function(){return Object.keys(r)},i.resolve=t,e.exports=i,i.id=25834}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[5851],{4245(e,t,s){s.d(t,{KC:()=>o,S3:()=>r,dB:()=>d,nx:()=>i,r:()=>a});var n=s(81158);const i=(e,t)=>e===t;function r(e=i){return(t,s)=>n.aI(t,s,e)}function a(){return(e,t)=>e.equals(t)}function o(e,t,s){if(void 0!==s){return null==e||null==t?t===e:s(e,t)}{const t=e;return(e,s)=>null==e||null==s?s===e:t(e,s)}}function d(e,t){if(e===t)return!0;if(Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length)return!1;for(let s=0;s<e.length;s++)if(!d(e[s],t[s]))return!1;return!0}if(e&&"object"==typeof e&&t&&"object"==typeof t&&Object.getPrototypeOf(e)===Object.prototype&&Object.getPrototypeOf(t)===Object.prototype){const s=e,n=t,i=Object.keys(s),r=Object.keys(n),a=new Set(r);if(i.length!==r.length)return!1;for(const e of i){if(!a.has(e))return!1;if(!d(s[e],n[e]))return!1}return!0}return!1}new WeakMap},20789(e,t,s){s.d(t,{Z:()=>o});var n=s(4245),i=s(61022),r=s(74619);class a extends i.ZK{get debugName(){return this._debugNameData.getDebugName(this)??"LazyObservableValue"}constructor(e,t,s){super(),this._debugNameData=e,this._equalityComparator=s,this._isUpToDate=!0,this._deltas=[],this._updateCounter=0,this._value=t}get(){return this._update(),this._value}_update(){if(!this._isUpToDate)if(this._isUpToDate=!0,this._deltas.length>0){for(const e of this.observers)for(const t of this._deltas)e.handleChange(this,t);this._deltas.length=0}else for(const e of this.observers)e.handleChange(this,void 0)}_beginUpdate(){if(this._updateCounter++,1===this._updateCounter)for(const e of this.observers)e.beginUpdate(this)}_endUpdate(){if(this._updateCounter--,0===this._updateCounter){this._update();const e=[...this.observers];for(const t of e)t.endUpdate(this)}}addObserver(e){const t=!this.observers.has(e)&&this._updateCounter>0;super.addObserver(e),t&&e.beginUpdate(this)}removeObserver(e){const t=this.observers.has(e)&&this._updateCounter>0;super.removeObserver(e),t&&e.endUpdate(this)}set(e,t,s){if(void 0===s&&this._equalityComparator(this._value,e))return;let n;t||(t=n=new i.XL(()=>{},()=>`Setting ${this.debugName}`));try{if(this._isUpToDate=!1,this._setValue(e),void 0!==s&&this._deltas.push(s),t.updateObserver({beginUpdate:()=>this._beginUpdate(),endUpdate:()=>this._endUpdate(),handleChange:(e,t)=>{},handlePossibleChange:e=>{}},this),this._updateCounter>1)for(const e of this.observers)e.handlePossibleChange(this)}finally{n&&n.finish()}}toString(){return`${this.debugName}: ${this._value}`}_setValue(e){this._value=e}}function o(e,t){return e.lazy?new a(new r.nA(e.owner,e.debugName,void 0),t,e.equalsFn??n.nx):new i.Lj(new r.nA(e.owner,e.debugName,void 0),t,e.equalsFn??n.nx)}},81999(e,t,s){s.d(t,{Y:()=>h,fm:()=>o,ht:()=>u,yC:()=>c,zL:()=>d});var n=s(64914),i=s(80194),r=s(74619),a=s(79194);function o(e){return new v(new r.nA(void 0,void 0,e),e,void 0,void 0)}function d(e,t){return new v(new r.nA(e.owner,e.debugName,e.debugReferenceFn??t),t,void 0,void 0)}function h(e,t){return new v(new r.nA(e.owner,e.debugName,e.debugReferenceFn??t),t,e.createEmptyChangeSummary,e.handleChange)}function u(e,t){const s=new i.Cm,n=h({owner:e.owner,debugName:e.debugName,debugReferenceFn:e.debugReferenceFn??t,createEmptyChangeSummary:e.createEmptyChangeSummary,handleChange:e.handleChange},(e,n)=>{s.clear(),t(e,n,s)});return(0,i.s)(()=>{n.dispose(),s.dispose()})}function c(e){const t=new i.Cm,s=d({owner:void 0,debugName:void 0,debugReferenceFn:e},s=>{t.clear(),e(s,t)});return(0,i.s)(()=>{s.dispose(),t.dispose()})}class v{get debugName(){return this._debugNameData.getDebugName(this)??"(anonymous)"}constructor(e,t,s,n){this._debugNameData=e,this._runFn=t,this.createChangeSummary=s,this._handleChange=n,this.state=2,this.updateCount=0,this.disposed=!1,this.dependencies=new Set,this.dependenciesToBeRemoved=new Set,this.changeSummary=this.createChangeSummary?.(),(0,a.tZ)()?.handleAutorunCreated(this),this._runIfNeeded(),(0,i.Ay)(this)}dispose(){this.disposed=!0;for(const e of this.dependencies)e.removeObserver(this);this.dependencies.clear(),(0,i.VD)(this)}_runIfNeeded(){if(3===this.state)return;const e=this.dependenciesToBeRemoved;this.dependenciesToBeRemoved=this.dependencies,this.dependencies=e,this.state=3;const t=this.disposed;try{if(!t){(0,a.tZ)()?.handleAutorunTriggered(this);const e=this.changeSummary;this.changeSummary=this.createChangeSummary?.(),this._runFn(this,e)}}finally{t||(0,a.tZ)()?.handleAutorunFinished(this);for(const e of this.dependenciesToBeRemoved)e.removeObserver(this);this.dependenciesToBeRemoved.clear()}}toString(){return`Autorun<${this.debugName}>`}beginUpdate(){3===this.state&&(this.state=1),this.updateCount++}endUpdate(){if(1===this.updateCount)do{if(1===this.state){this.state=3;for(const e of this.dependencies)if(e.reportChanges(),2===this.state)break}this._runIfNeeded()}while(3!==this.state);this.updateCount--,(0,n.Ft)(()=>this.updateCount>=0)}handlePossibleChange(e){3===this.state&&this.dependencies.has(e)&&!this.dependenciesToBeRemoved.has(e)&&(this.state=1)}handleChange(e,t){this.dependencies.has(e)&&!this.dependenciesToBeRemoved.has(e)&&(!this._handleChange||this._handleChange({changedObservable:e,change:t,didChange:t=>t===e},this.changeSummary))&&(this.state=2)}readObservable(e){if(this.disposed)return e.get();e.addObserver(this);const t=e.get();return this.dependencies.add(e),this.dependenciesToBeRemoved.delete(e),t}}!function(e){e.Observer=v}(o||(o={}))},61022(e,t,s){s.d(t,{Bm:()=>h,FB:()=>u,FY:()=>C,Lj:()=>w,N2:()=>c,PO:()=>m,Rn:()=>g,X2:()=>y,XL:()=>_,YY:()=>p,ZK:()=>l,fL:()=>b,zV:()=>v});var n=s(4245),i=s(74619),r=s(79194);let a,o,d;function h(e){a=e}function u(e){o=e}function c(e){d=e}class v{get TChange(){return null}reportChanges(){this.get()}read(e){return e?e.readObservable(this):this.get()}map(e,t){const s=void 0===t?void 0:e,n=void 0===t?e:t;return d({owner:s,debugName:()=>{const e=(0,i.qQ)(n);if(void 0!==e)return e;const t=/^\s*\(?\s*([a-zA-Z_$][a-zA-Z_$0-9]*)\s*\)?\s*=>\s*\1(?:\??)\.([a-zA-Z_$][a-zA-Z_$0-9]*)\s*$/.exec(n.toString());return t?`${this.debugName}.${t[2]}`:s?void 0:`${this.debugName} (mapped)`},debugReferenceFn:n},e=>n(this.read(e),e))}flatten(){return d({owner:void 0,debugName:()=>`${this.debugName} (flattened)`},e=>this.read(e).read(e))}recomputeInitiallyAndOnChange(e,t){return e.add(a(this,t)),this}keepObserved(e){return e.add(o(this)),this}}class l extends v{constructor(){super(...arguments),this.observers=new Set}addObserver(e){const t=this.observers.size;this.observers.add(e),0===t&&this.onFirstObserverAdded()}removeObserver(e){this.observers.delete(e)&&0===this.observers.size&&this.onLastObserverRemoved()}onFirstObserverAdded(){}onLastObserverRemoved(){}}function g(e,t){const s=new _(e,t);try{e(s)}finally{s.finish()}}let f=945==s.j?void 0:null;function p(e){if(f)e(f);else{const t=new _(e,void 0);f=t;try{e(t)}finally{t.finish(),f=void 0}}}async function b(e,t){const s=new _(e,t);try{await e(s)}finally{s.finish()}}function m(e,t,s){e?t(e):g(t,s)}class _{constructor(e,t){this._fn=e,this._getDebugName=t,this.updatingObservers=[],(0,r.tZ)()?.handleBeginTransaction(this)}getDebugName(){return this._getDebugName?this._getDebugName():(0,i.qQ)(this._fn)}updateObserver(e,t){this.updatingObservers.push({observer:e,observable:t}),e.beginUpdate(t)}finish(){const e=this.updatingObservers;for(let t=0;t<e.length;t++){const{observer:s,observable:n}=e[t];s.endUpdate(n)}this.updatingObservers=null,(0,r.tZ)()?.handleEndTransaction()}}function C(e,t){let s;return s="string"==typeof e?new i.nA(void 0,e,void 0):new i.nA(e,void 0,void 0),new w(s,t,n.nx)}class w extends l{get debugName(){return this._debugNameData.getDebugName(this)??"ObservableValue"}constructor(e,t,s){super(),this._debugNameData=e,this._equalityComparator=s,this._value=t}get(){return this._value}set(e,t,s){if(void 0===s&&this._equalityComparator(this._value,e))return;let n;t||(t=n=new _(()=>{},()=>`Setting ${this.debugName}`));try{const n=this._value;this._setValue(e),(0,r.tZ)()?.handleObservableChanged(this,{oldValue:n,newValue:e,change:s,didChange:!0,hadValue:!0});for(const e of this.observers)t.updateObserver(e,this),e.handleChange(this,s)}finally{n&&n.finish()}}toString(){return`${this.debugName}: ${this._value}`}_setValue(e){this._value=e}}function y(e,t){let s;return s="string"==typeof e?new i.nA(void 0,e,void 0):new i.nA(e,void 0,void 0),new O(s,t,n.nx)}class O extends(945==s.j?w:null){_setValue(e){this._value!==e&&(this._value&&this._value.dispose(),this._value=e)}dispose(){this._value?.dispose()}}},74619(e,t,s){s.d(t,{nA:()=>n,qQ:()=>d});class n{constructor(e,t,s){this.owner=e,this.debugNameSource=t,this.referenceFn=s}getDebugName(e){return function(e,t){const s=r.get(e);if(s)return s;const n=function(e,t){const s=r.get(e);if(s)return s;const n=t.owner?function(e){const t=o.get(e);if(t)return t;const s=function(e){const t=e.constructor;return t?t.name:"Object"}(e);let n=a.get(s)??0;n++,a.set(s,n);const i=1===n?s:`${s}#${n}`;return o.set(e,i),i}(t.owner)+".":"";let i;const h=t.debugNameSource;if(void 0!==h){if("function"!=typeof h)return n+h;if(i=h(),void 0!==i)return n+i}const u=t.referenceFn;if(void 0!==u&&(i=d(u),void 0!==i))return n+i;if(void 0!==t.owner){const s=function(e,t){for(const s in e)if(e[s]===t)return s}(t.owner,e);if(void 0!==s)return n+s}}(e,t);if(n){let t=i.get(n)??0;t++,i.set(n,t);const s=1===t?n:`${n}#${t}`;return r.set(e,s),s}}(e,this)}}const i=new Map,r=new WeakMap,a=new Map,o=new WeakMap;function d(e){const t=e.toString(),s=/\/\*\*\s*@description\s*([^*]*)\*\//.exec(t),n=s?s[1]:void 0;return n?.trim()}},14186(e,t,s){s.d(t,{C:()=>c,a0:()=>g,dQ:()=>u,nb:()=>v,rm:()=>l,un:()=>h});var n=s(64914),i=s(4245),r=s(80194),a=s(61022),o=s(74619),d=s(79194);function h(e,t){return void 0!==t?new f(new o.nA(e,void 0,t),t,void 0,void 0,void 0,i.nx):new f(new o.nA(void 0,void 0,e),e,void 0,void 0,void 0,i.nx)}function u(e,t,s){return new p(new o.nA(e,void 0,t),t,void 0,void 0,void 0,i.nx,s)}function c(e,t){return new f(new o.nA(e.owner,e.debugName,e.debugReferenceFn),t,void 0,void 0,e.onLastObserverRemoved,e.equalsFn??i.nx)}function v(e,t){return new f(new o.nA(e.owner,e.debugName,void 0),t,e.createEmptyChangeSummary,e.handleChange,void 0,e.equalityComparer??i.nx)}function l(e,t){let s,n;void 0===t?(s=e,n=void 0):(n=e,s=t);const a=new r.Cm;return new f(new o.nA(n,void 0,s),e=>(a.clear(),s(e,a)),void 0,void 0,()=>a.dispose(),i.nx)}function g(e,t){let s,n,a;return void 0===t?(s=e,n=void 0):(n=e,s=t),new f(new o.nA(n,void 0,s),e=>{a?a.clear():a=new r.Cm;const t=s(e);return t&&a.add(t),t},void 0,void 0,()=>{a&&(a.dispose(),a=void 0)},i.nx)}(0,a.N2)(c);class f extends a.ZK{get debugName(){return this._debugNameData.getDebugName(this)??"(anonymous)"}constructor(e,t,s,n,i=void 0,r){super(),this._debugNameData=e,this._computeFn=t,this.createChangeSummary=s,this._handleChange=n,this._handleLastObserverRemoved=i,this._equalityComparator=r,this.state=0,this.value=void 0,this.updateCount=0,this.dependencies=new Set,this.dependenciesToBeRemoved=new Set,this.changeSummary=void 0,this.changeSummary=this.createChangeSummary?.(),(0,d.tZ)()?.handleDerivedCreated(this)}onLastObserverRemoved(){this.state=0,this.value=void 0;for(const e of this.dependencies)e.removeObserver(this);this.dependencies.clear(),this._handleLastObserverRemoved?.()}get(){if(0===this.observers.size){const e=this._computeFn(this,this.createChangeSummary?.());return this.onLastObserverRemoved(),e}do{if(1===this.state)for(const e of this.dependencies)if(e.reportChanges(),2===this.state)break;1===this.state&&(this.state=3),this._recomputeIfNeeded()}while(3!==this.state);return this.value}_recomputeIfNeeded(){if(3===this.state)return;const e=this.dependenciesToBeRemoved;this.dependenciesToBeRemoved=this.dependencies,this.dependencies=e;const t=0!==this.state,s=this.value;this.state=3;const n=this.changeSummary;this.changeSummary=this.createChangeSummary?.();try{this.value=this._computeFn(this,n)}finally{for(const e of this.dependenciesToBeRemoved)e.removeObserver(this);this.dependenciesToBeRemoved.clear()}const i=t&&!this._equalityComparator(s,this.value);if((0,d.tZ)()?.handleDerivedRecomputed(this,{oldValue:s,newValue:this.value,change:void 0,didChange:i,hadValue:t}),i)for(const e of this.observers)e.handleChange(this,void 0)}toString(){return`LazyDerived<${this.debugName}>`}beginUpdate(e){this.updateCount++;const t=1===this.updateCount;if(3===this.state&&(this.state=1,!t))for(const e of this.observers)e.handlePossibleChange(this);if(t)for(const e of this.observers)e.beginUpdate(this)}endUpdate(e){if(this.updateCount--,0===this.updateCount){const e=[...this.observers];for(const t of e)t.endUpdate(this)}(0,n.Ft)(()=>this.updateCount>=0)}handlePossibleChange(e){if(3===this.state&&this.dependencies.has(e)&&!this.dependenciesToBeRemoved.has(e)){this.state=1;for(const e of this.observers)e.handlePossibleChange(this)}}handleChange(e,t){if(this.dependencies.has(e)&&!this.dependenciesToBeRemoved.has(e)){const s=!this._handleChange||this._handleChange({changedObservable:e,change:t,didChange:t=>t===e},this.changeSummary),n=3===this.state;if(s&&(1===this.state||n)&&(this.state=2,n))for(const e of this.observers)e.handlePossibleChange(this)}}readObservable(e){e.addObserver(this);const t=e.get();return this.dependencies.add(e),this.dependenciesToBeRemoved.delete(e),t}addObserver(e){const t=!this.observers.has(e)&&this.updateCount>0;super.addObserver(e),t&&e.beginUpdate(this)}removeObserver(e){const t=this.observers.has(e)&&this.updateCount>0;super.removeObserver(e),t&&e.endUpdate(this)}}class p extends f{constructor(e,t,s,n,i=void 0,r,a){super(e,t,s,n,i,r),this.set=a}}},13090(e,t,s){s.d(t,{BK:()=>a,oJ:()=>d});var n=s(81999),i=s(61022),r=s(48275);class a{static fromFn(e){return new a(e())}constructor(e){this._value=(0,i.FY)(this,void 0),this.promiseResult=this._value,this.promise=e.then(e=>((0,i.Rn)(t=>{this._value.set(new o(e,void 0),t)}),e),e=>{throw(0,i.Rn)(t=>{this._value.set(new o(void 0,e),t)}),e})}}class o{constructor(e,t){this.data=e,this.error=t}}function d(e,t,s,i){return t||(t=e=>null!=e),new Promise((a,o)=>{let d=!0,h=!1;const u=e.map(e=>({isFinished:t(e),error:!!s&&s(e),state:e})),c=(0,n.fm)(e=>{const{isFinished:t,error:s,state:n}=u.read(e);(t||s)&&(d?h=!0:c.dispose(),s?o(!0===s?n:s):a(n))});if(i){const e=i.onCancellationRequested(()=>{c.dispose(),e.dispose(),o(new r.AL)});if(i.isCancellationRequested)return c.dispose(),e.dispose(),void o(new r.AL)}d=!1,h&&c.dispose()})}}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[5866],{83485(n,t,e){e.d(t,{YW:()=>S,qg:()=>C});var r=e(55842),s=e(40050),l=e(84228),a=e(41095),u=e(34591),c=e(54312);const o="**",i="[/\\\\]",f="[^/\\\\]",h=/\//g;function g(n,t){switch(n){case 0:return"";case 1:return`${f}*?`;default:return`(?:${i}|${f}+${i}${t?`|${i}${f}+`:""})*?`}}function p(n,t){if(!n)return[];const e=[];let r=!1,s=!1,l="";for(const a of n){switch(a){case t:if(!r&&!s){e.push(l),l="";continue}break;case"{":r=!0;break;case"}":r=!1;break;case"[":s=!0;break;case"]":s=!1}l+=a}return l&&e.push(l),e}function m(n){if(!n)return"";let t="";const e=p(n,"/");if(e.every(n=>n===o))t=".*";else{let n=!1;e.forEach((r,s)=>{if(r===o){if(n)return;t+=g(2,s===e.length-1)}else{let n=!1,l="",a=!1,u="";for(const e of r)if("}"!==e&&n)l+=e;else{if(a&&("]"!==e||!u)){let n;n="-"===e?e:"^"!==e&&"!"!==e||u?"/"===e?"":(0,c.bm)(e):"^",u+=n;continue}switch(e){case"{":n=!0;continue;case"[":a=!0;continue;case"}":{const e=`(?:${p(l,",").map(n=>m(n)).join("|")})`;t+=e,n=!1,l="";break}case"]":t+="["+u+"]",a=!1,u="";break;case"?":t+=f;continue;case"*":t+=g(1);continue;default:t+=(0,c.bm)(e)}}s<e.length-1&&(e[s+1]!==o||s+2<e.length)&&(t+=i)}n=r===o})}return t}const b=/^\*\*\/\*\.[\w\.-]+$/,y=/^\*\*\/([\w\.-]+)\/?$/,d=/^{\*\*\/\*?[\w\.-]+\/?(,\*\*\/\*?[\w\.-]+\/?)*}$/,$=/^{\*\*\/\*?[\w\.-]+(\/(\*\*)?)?(,\*\*\/\*?[\w\.-]+(\/(\*\*)?)?)*}$/,w=/^\*\*((\/[\w\.-]+)+)\/?$/,B=/^([\w\.-]+(\/[\w\.-]+)*)\/?$/,P=new l.qK(1e4),k=function(){return!1},x=function(){return null};function W(n,t){if(!n)return x;let e;e="string"!=typeof n?n.pattern:n,e=e.trim();const r=`${e}_${!!t.trimForExclusions}`;let l,o=P.get(r);return o||(o=b.test(e)?function(n,t){return function(e,r){return"string"==typeof e&&e.endsWith(n)?t:null}}(e.substr(4),e):(l=y.exec(q(e,t)))?function(n,t){const e=`/${n}`,r=`\\${n}`,s=function(s,l){return"string"!=typeof s?null:l?l===n?t:null:s===n||s.endsWith(e)||s.endsWith(r)?t:null},l=[n];return s.basenames=l,s.patterns=[t],s.allBasenames=l,s}(l[1],e):(t.trimForExclusions?$:d).test(e)?function(n,t){const e=V(n.slice(1,-1).split(",").map(n=>W(n,t)).filter(n=>n!==x),n),r=e.length;if(!r)return x;if(1===r)return e[0];const s=function(t,r){for(let s=0,l=e.length;s<l;s++)if(e[s](t,r))return n;return null},l=e.find(n=>!!n.allBasenames);l&&(s.allBasenames=l.allBasenames);const a=e.reduce((n,t)=>t.allPaths?n.concat(t.allPaths):n,[]);return a.length&&(s.allPaths=a),s}(e,t):(l=w.exec(q(e,t)))?E(l[1].substr(1),e,!0):(l=B.exec(q(e,t)))?E(l[1],e,!1):function(n){try{const t=new RegExp(`^${m(n)}$`);return function(e){return t.lastIndex=0,"string"==typeof e&&t.test(e)?n:null}}catch(n){return x}}(e),P.set(r,o)),function(n,t){if("string"==typeof t)return n;const e=function(e,r){return(0,s._1)(e,t.base,!u.j9)?n((0,c.NB)(e.substr(t.base.length),a.Vn),r):null};return e.allBasenames=n.allBasenames,e.allPaths=n.allPaths,e.basenames=n.basenames,e.patterns=n.patterns,e}(o,n)}function q(n,t){return t.trimForExclusions&&n.endsWith("/**")?n.substr(0,n.length-2):n}function E(n,t,e){const r=a.Vn===a.SA.sep,s=r?n:n.replace(h,a.Vn),l=a.Vn+s,u=a.SA.sep+n;let c;return c=e?function(e,a){return"string"!=typeof e||e!==s&&!e.endsWith(l)&&(r||e!==n&&!e.endsWith(u))?null:t}:function(e,l){return"string"!=typeof e||e!==s&&(r||e!==n)?null:t},c.allPaths=[(e?"*/":"./")+n],c}function S(n,t,e){return!(!n||"string"!=typeof t)&&C(n)(t,void 0,e)}function C(n,t={}){if(!n)return k;if("string"==typeof n||function(n){const t=n;return!!t&&("string"==typeof t.base&&"string"==typeof t.pattern)}(n)){const e=W(n,t);if(e===x)return k;const r=function(n,t){return!!e(n,t)};return e.allBasenames&&(r.allBasenames=e.allBasenames),e.allPaths&&(r.allPaths=e.allPaths),r}return function(n,t){const e=V(Object.getOwnPropertyNames(n).map(e=>function(n,t,e){if(!1===t)return x;const s=W(n,e);if(s===x)return x;if("boolean"==typeof t)return s;if(t){const e=t.when;if("string"==typeof e){const t=(t,l,a,u)=>{if(!u||!s(t,l))return null;const c=u(e.replace("$(basename)",()=>a));return(0,r.Qg)(c)?c.then(t=>t?n:null):c?n:null};return t.requiresSiblings=!0,t}}return s}(e,n[e],t)).filter(n=>n!==x)),s=e.length;if(!s)return x;if(!e.some(n=>!!n.requiresSiblings)){if(1===s)return e[0];const n=function(n,t){let s;for(let l=0,a=e.length;l<a;l++){const a=e[l](n,t);if("string"==typeof a)return a;(0,r.Qg)(a)&&(s||(s=[]),s.push(a))}return s?(async()=>{for(const n of s){const t=await n;if("string"==typeof t)return t}return null})():null},t=e.find(n=>!!n.allBasenames);t&&(n.allBasenames=t.allBasenames);const l=e.reduce((n,t)=>t.allPaths?n.concat(t.allPaths):n,[]);return l.length&&(n.allPaths=l),n}const l=function(n,t,s){let l,u;for(let c=0,o=e.length;c<o;c++){const o=e[c];o.requiresSiblings&&s&&(t||(t=(0,a.P8)(n)),l||(l=t.substr(0,t.length-(0,a.LC)(n).length)));const i=o(n,t,l,s);if("string"==typeof i)return i;(0,r.Qg)(i)&&(u||(u=[]),u.push(i))}return u?(async()=>{for(const n of u){const t=await n;if("string"==typeof t)return t}return null})():null},u=e.find(n=>!!n.allBasenames);u&&(l.allBasenames=u.allBasenames);const c=e.reduce((n,t)=>t.allPaths?n.concat(t.allPaths):n,[]);return c.length&&(l.allPaths=c),l}(n,t)}function V(n,t){const e=n.filter(n=>!!n.basenames);if(e.length<2)return n;const r=e.reduce((n,t)=>{const e=t.basenames;return e?n.concat(e):n},[]);let s;if(t){s=[];for(let n=0,e=r.length;n<e;n++)s.push(t)}else s=e.reduce((n,t)=>{const e=t.patterns;return e?n.concat(e):n},[]);const l=function(n,t){if("string"!=typeof n)return null;if(!t){let e;for(e=n.length;e>0;e--){const t=n.charCodeAt(e-1);if(47===t||92===t)break}t=n.substr(e)}const e=r.indexOf(t);return-1!==e?s[e]:null};l.basenames=r,l.patterns=s,l.allBasenames=r;const a=n.filter(n=>!n.basenames);return a.push(l),a}}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[5967],{15967(e,n,i){i.r(n),i.d(n,{ISemanticTokensStylingService:()=>t});const t=(0,i(91739).u1)("semanticTokensStylingService")},91739(e,n,i){var t;i.d(n,{_$:()=>t,_Y:()=>r,u1:()=>c}),function(e){e.serviceIds=new Map,e.DI_TARGET="$di$target",e.DI_DEPENDENCIES="$di$dependencies",e.getServiceDependencies=function(n){return n[e.DI_DEPENDENCIES]||[]}}(t||(t={}));const r=c("instantiationService");function c(e){if(t.serviceIds.has(e))return t.serviceIds.get(e);const n=function(e,i,r){if(3!==arguments.length)throw new Error("@IServiceName-decorator can only be used to decorate a parameter");!function(e,n,i){n[t.DI_TARGET]===n?n[t.DI_DEPENDENCIES].push({id:e,index:i}):(n[t.DI_DEPENDENCIES]=[{id:e,index:i}],n[t.DI_TARGET]=n)}(n,e,r)};return n.toString=()=>e,t.serviceIds.set(e,n),n}}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[6079],{78460(e,r,s){s.r(r),s.d(r,{DraggedTreeItemsIdentifier:()=>i,TreeViewsDnDService:()=>t});class t{constructor(){this._dragOperations=new Map}removeDragOperationTransfer(e){if(e&&this._dragOperations.has(e)){const r=this._dragOperations.get(e);return this._dragOperations.delete(e),r}}}class i{constructor(e){this.identifier=e}}}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[1440,3871,6214],{60525(e,t,n){n.d(t,{BK:()=>o.BK,C:()=>i.C,FY:()=>s.FY,OI:()=>r.OI,PO:()=>s.PO,Rn:()=>s.Rn,X2:()=>s.X2,Y:()=>a.Y,Yd:()=>r.Yd,ZX:()=>r.ZX,Zh:()=>g.Z,fm:()=>a.fm,ht:()=>a.ht,lk:()=>r.lk,nb:()=>i.nb,oJ:()=>o.oJ,rm:()=>i.rm,un:()=>i.un,y0:()=>r.y0,yC:()=>a.yC,yQ:()=>r.yQ,zL:()=>a.zL});var s=n(61022),i=n(14186),a=n(81999),r=n(99838),o=n(13090),g=n(20789);n(79194)},79194(e,t,n){let s;function i(e){s=e}function a(){return s}n.d(t,{Br:()=>i,jm:()=>r,tZ:()=>a});class r{constructor(){this.indentation=0,this.changedObservablesSets=new WeakMap}textToConsoleArgs(e){return function(e){const t=new Array,n=[];let s="";!function e(i){if("length"in i)for(const t of i)t&&e(t);else"text"in i?(s+=`%c${i.text}`,t.push(i.style),i.data&&n.push(...i.data)):"data"in i&&n.push(...i.data)}(e);const i=[s,...t];return i.push(...n),i}([o(l("| ",this.indentation)),e])}formatInfo(e){return e.hadValue?e.didChange?[o(" "),u(h(e.oldValue,70),{color:"red",strikeThrough:!0}),o(" "),u(h(e.newValue,60),{color:"green"})]:[o(" (unchanged)")]:[o(" "),u(h(e.newValue,60),{color:"green"}),o(" (initial)")]}handleObservableChanged(e,t){console.log(...this.textToConsoleArgs([g("observable value changed"),u(e.debugName,{color:"BlueViolet"}),...this.formatInfo(t)]))}formatChanges(e){if(0!==e.size)return u(" (changed deps: "+[...e].map(e=>e.debugName).join(", ")+")",{color:"gray"})}handleDerivedCreated(e){const t=e.handleChange;this.changedObservablesSets.set(e,new Set),e.handleChange=(n,s)=>(this.changedObservablesSets.get(e).add(n),t.apply(e,[n,s]))}handleDerivedRecomputed(e,t){const n=this.changedObservablesSets.get(e);console.log(...this.textToConsoleArgs([g("derived recomputed"),u(e.debugName,{color:"BlueViolet"}),...this.formatInfo(t),this.formatChanges(n),{data:[{fn:e._debugNameData.referenceFn??e._computeFn}]}])),n.clear()}handleFromEventObservableTriggered(e,t){console.log(...this.textToConsoleArgs([g("observable from event triggered"),u(e.debugName,{color:"BlueViolet"}),...this.formatInfo(t),{data:[{fn:e._getValue}]}]))}handleAutorunCreated(e){const t=e.handleChange;this.changedObservablesSets.set(e,new Set),e.handleChange=(n,s)=>(this.changedObservablesSets.get(e).add(n),t.apply(e,[n,s]))}handleAutorunTriggered(e){const t=this.changedObservablesSets.get(e);console.log(...this.textToConsoleArgs([g("autorun"),u(e.debugName,{color:"BlueViolet"}),this.formatChanges(t),{data:[{fn:e._debugNameData.referenceFn??e._runFn}]}])),t.clear(),this.indentation++}handleAutorunFinished(e){this.indentation--}handleBeginTransaction(e){let t=e.getDebugName();void 0===t&&(t=""),console.log(...this.textToConsoleArgs([g("transaction"),u(t,{color:"BlueViolet"}),{data:[{fn:e._fn}]}])),this.indentation++}handleEndTransaction(){this.indentation--}}function o(e){return u(e,{color:"black"})}function g(e){return u(function(e){for(;e.length<10;)e+=" ";return e}(`${e}: `),{color:"black",bold:!0})}function u(e,t={color:"black"}){const n={color:t.color};return t.strikeThrough&&(n["text-decoration"]="line-through"),t.bold&&(n["font-weight"]="bold"),{text:e,style:(s=n,Object.entries(s).reduce((e,[t,n])=>`${e}${t}:${n};`,""))};var s}function h(e,t){switch(typeof e){case"number":default:return""+e;case"string":return e.length+2<=t?`"${e}"`:`"${e.substr(0,t-7)}"+...`;case"boolean":return e?"true":"false";case"undefined":return"undefined";case"object":return null===e?"null":Array.isArray(e)?function(e,t){let n="[ ",s=!0;for(const i of e){if(s||(n+=", "),n.length-5>t){n+="...";break}s=!1,n+=`${h(i,t-n.length)}`}return n+=" ]",n}(e,t):function(e,t){let n="{ ",s=!0;for(const[i,a]of Object.entries(e)){if(s||(n+=", "),n.length-5>t){n+="...";break}s=!1,n+=`${i}: ${h(a,t-n.length)}`}return n+=" }",n}(e,t);case"symbol":return e.toString();case"function":return`[[Function${e.name?" "+e.name:""}]]`}}function l(e,t){let n="";for(let s=1;s<=t;s++)n+=e;return n}},99838(e,t,n){n.d(t,{OI:()=>v,Rl:()=>w,Yd:()=>p,ZX:()=>L,eP:()=>c,lk:()=>u,t:()=>C,y0:()=>l,yQ:()=>f}),n(98137);var s=n(80194),i=n(61022),a=n(74619),r=n(14186),o=n(79194),g=n(4245);function u(e){return new h(e)}class h extends i.zV{constructor(e){super(),this.value=e}get debugName(){return this.toString()}get(){return this.value}addObserver(e){}removeObserver(e){}toString(){return`Const: ${this.value}`}}function l(...e){let t,n,s;return 3===e.length?[t,n,s]=e:[n,s]=e,new d(new a.nA(t,void 0,s),n,s,()=>d.globalTransaction,g.nx)}function c(e,t,n){return new d(new a.nA(e.owner,e.debugName,e.debugReferenceFn??n),t,n,()=>d.globalTransaction,e.equalsFn??g.nx)}class d extends i.ZK{constructor(e,t,n,s,a){super(),this._debugNameData=e,this.event=t,this._getValue=n,this._getTransaction=s,this._equalityComparator=a,this.hasValue=!1,this.handleEvent=e=>{const t=this._getValue(e),n=this.value,s=!this.hasValue||!this._equalityComparator(n,t);let a=!1;s&&(this.value=t,this.hasValue&&(a=!0,(0,i.PO)(this._getTransaction(),e=>{(0,o.tZ)()?.handleFromEventObservableTriggered(this,{oldValue:n,newValue:t,change:void 0,didChange:s,hadValue:this.hasValue});for(const t of this.observers)e.updateObserver(t,this),t.handleChange(this,void 0)},()=>{const e=this.getDebugName();return"Event fired"+(e?`: ${e}`:"")})),this.hasValue=!0),a||(0,o.tZ)()?.handleFromEventObservableTriggered(this,{oldValue:n,newValue:t,change:void 0,didChange:s,hadValue:this.hasValue})}}getDebugName(){return this._debugNameData.getDebugName(this)}get debugName(){const e=this.getDebugName();return"From Event"+(e?`: ${e}`:"")}onFirstObserverAdded(){this.subscription=this.event(this.handleEvent)}onLastObserverRemoved(){this.subscription.dispose(),this.subscription=void 0,this.hasValue=!1,this.value=void 0}get(){return this.subscription?(this.hasValue||this.handleEvent(void 0),this.value):this._getValue(void 0)}}function f(e,t){return new m(e,t)}!function(e){e.Observer=d,e.batchEventsGlobally=function(e,t){let n=!1;void 0===d.globalTransaction&&(d.globalTransaction=e,n=!0);try{t()}finally{n&&(d.globalTransaction=void 0)}}}(l||(l={}));class m extends i.ZK{constructor(e,t){super(),this.debugName=e,this.event=t,this.handleEvent=()=>{(0,i.Rn)(e=>{for(const t of this.observers)e.updateObserver(t,this),t.handleChange(this,void 0)},()=>this.debugName)}}onFirstObserverAdded(){this.subscription=this.event(this.handleEvent)}onLastObserverRemoved(){this.subscription.dispose(),this.subscription=void 0}get(){}}function p(e){return"string"==typeof e?new _(e):new _(void 0,e)}class _ extends i.ZK{get debugName(){return new a.nA(this._owner,this._debugName,void 0).getDebugName(this)??"Observable Signal"}toString(){return this.debugName}constructor(e,t){super(),this._debugName=e,this._owner=t}trigger(e,t){if(e)for(const n of this.observers)e.updateObserver(n,this),n.handleChange(this,t);else(0,i.Rn)(e=>{this.trigger(e,t)},()=>`Trigger signal ${this.debugName}`)}get(){}}function v(e,t){const n=new b(!0,t);return e.addObserver(n),t?t(e.get()):e.reportChanges(),(0,s.s)(()=>{e.removeObserver(n)})}(0,i.FB)(function(e){const t=new b(!1,void 0);return e.addObserver(t),(0,s.s)(()=>{e.removeObserver(t)})}),(0,i.Bm)(v);class b{constructor(e,t){this._forceRecompute=e,this._handleValue=t,this._counter=0}beginUpdate(e){this._counter++}endUpdate(e){this._counter--,0===this._counter&&this._forceRecompute&&(this._handleValue?this._handleValue(e.get()):e.reportChanges())}handlePossibleChange(e){}handleChange(e,t){}}function L(e,t){let n;return(0,r.C)({owner:e,debugReferenceFn:t},e=>(n=t(e,n),n))}function w(e,t,n,s){let i=new y(n,s);return(0,r.C)({debugReferenceFn:n,owner:e,onLastObserverRemoved:()=>{i.dispose(),i=new y(n)}},e=>(i.setItems(t.read(e)),i.getItems()))}class y{constructor(e,t){this._map=e,this._keySelector=t,this._cache=new Map,this._items=[]}dispose(){this._cache.forEach(e=>e.store.dispose()),this._cache.clear()}setItems(e){const t=[],n=new Set(this._cache.keys());for(const i of e){const e=this._keySelector?this._keySelector(i):i;let a=this._cache.get(e);if(a)n.delete(e);else{const t=new s.Cm;a={out:this._map(i,t),store:t},this._cache.set(e,a)}t.push(a.out)}for(const e of n)this._cache.get(e).store.dispose(),this._cache.delete(e);this._items=t}getItems(){return this._items}}function C(e,t){return L(e,(e,n)=>n??t(e))}},36214(e,t,n){n.r(t),n.d(t,{LanguageService:()=>h});var s=n(98137),i=n(80194),a=n(53871),r=n(81158),o=n(99342),g=n(24969),u=n(60525);class h extends i.jG{static{this.instanceCount=0}constructor(e=!1){super(),this._onDidRequestBasicLanguageFeatures=this._register(new s.vl),this.onDidRequestBasicLanguageFeatures=this._onDidRequestBasicLanguageFeatures.event,this._onDidRequestRichLanguageFeatures=this._register(new s.vl),this.onDidRequestRichLanguageFeatures=this._onDidRequestRichLanguageFeatures.event,this._onDidChange=this._register(new s.vl({leakWarningThreshold:200})),this.onDidChange=this._onDidChange.event,this._requestedBasicLanguages=new Set,this._requestedRichLanguages=new Set,h.instanceCount++,this._registry=this._register(new a.LanguagesRegistry(!0,e)),this.languageIdCodec=this._registry.languageIdCodec,this._register(this._registry.onDidChange(()=>this._onDidChange.fire()))}dispose(){h.instanceCount--,super.dispose()}isRegisteredLanguageId(e){return this._registry.isRegisteredLanguageId(e)}getLanguageIdByLanguageName(e){return this._registry.getLanguageIdByLanguageName(e)}getLanguageIdByMimeType(e){return this._registry.getLanguageIdByMimeType(e)}guessLanguageIdByFilepathOrFirstLine(e,t){const n=this._registry.guessLanguageIdByFilepathOrFirstLine(e,t);return(0,r.Fy)(n,null)}createById(e){return new l(this.onDidChange,()=>this._createAndGetLanguageIdentifier(e))}createByFilepathOrFirstLine(e,t){return new l(this.onDidChange,()=>{const n=this.guessLanguageIdByFilepathOrFirstLine(e,t);return this._createAndGetLanguageIdentifier(n)})}_createAndGetLanguageIdentifier(e){return e&&this.isRegisteredLanguageId(e)||(e=g.vH),e}requestBasicLanguageFeatures(e){this._requestedBasicLanguages.has(e)||(this._requestedBasicLanguages.add(e),this._onDidRequestBasicLanguageFeatures.fire(e))}requestRichLanguageFeatures(e){this._requestedRichLanguages.has(e)||(this._requestedRichLanguages.add(e),this.requestBasicLanguageFeatures(e),o.dG.getOrCreate(e),this._onDidRequestRichLanguageFeatures.fire(e))}}class l{constructor(e,t){this._value=(0,u.y0)(this,e,()=>t()),this.onDidChange=s.Jh.fromObservable(this._value)}get languageId(){return this._value.get()}}},21440(e,t,n){n.r(t),n.d(t,{clearPlatformLanguageAssociations:()=>f,getLanguageIds:()=>m,registerPlatformLanguageAssociation:()=>d});var s=n(83485),i=n(77599),a=n(19964),r=n(41095),o=n(92759),g=n(54312),u=n(24969);let h=[],l=[],c=[];function d(e,t=!1){!function(e,t,n){const i=function(e){return{id:e.id,mime:e.mime,filename:e.filename,extension:e.extension,filepattern:e.filepattern,firstline:e.firstline,userConfigured:false,filenameLowercase:e.filename?e.filename.toLowerCase():void 0,extensionLowercase:e.extension?e.extension.toLowerCase():void 0,filepatternLowercase:e.filepattern?(0,s.qg)(e.filepattern.toLowerCase()):void 0,filepatternOnPath:!!e.filepattern&&e.filepattern.indexOf(r.SA.sep)>=0}}(e);h.push(i),i.userConfigured?c.push(i):l.push(i),n&&!i.userConfigured&&h.forEach(e=>{e.mime===i.mime||e.userConfigured||(i.extension&&e.extension===i.extension&&console.warn(`Overwriting extension <<${i.extension}>> to now point to mime <<${i.mime}>>`),i.filename&&e.filename===i.filename&&console.warn(`Overwriting filename <<${i.filename}>> to now point to mime <<${i.mime}>>`),i.filepattern&&e.filepattern===i.filepattern&&console.warn(`Overwriting filepattern <<${i.filepattern}>> to now point to mime <<${i.mime}>>`),i.firstline&&e.firstline===i.firstline&&console.warn(`Overwriting firstline <<${i.firstline}>> to now point to mime <<${i.mime}>>`))})}(e,0,t)}function f(){h=h.filter(e=>e.userConfigured),l=[]}function m(e,t){return function(e,t){let n;if(e)switch(e.scheme){case a.ny.file:n=e.fsPath;break;case a.ny.data:n=o.B6.parseMetaData(e).get(o.B6.META_DATA_LABEL);break;case a.ny.vscodeNotebookCell:n=void 0;break;default:n=e.path}if(!n)return[{id:"unknown",mime:i.K.unknown}];n=n.toLowerCase();const s=(0,r.P8)(n),d=p(n,s,c);if(d)return[d,{id:u.vH,mime:i.K.text}];const f=p(n,s,l);if(f)return[f,{id:u.vH,mime:i.K.text}];if(t){const e=function(e){if((0,g.LU)(e)&&(e=e.substr(1)),e.length>0)for(let t=h.length-1;t>=0;t--){const n=h[t];if(!n.firstline)continue;const s=e.match(n.firstline);if(s&&s.length>0)return n}}(t);if(e)return[e,{id:u.vH,mime:i.K.text}]}return[{id:"unknown",mime:i.K.unknown}]}(e,t).map(e=>e.id)}function p(e,t,n){let s,i,a;for(let r=n.length-1;r>=0;r--){const o=n[r];if(t===o.filenameLowercase){s=o;break}if(o.filepattern&&(!i||o.filepattern.length>i.filepattern.length)){const n=o.filepatternOnPath?e:t;o.filepatternLowercase?.(n)&&(i=o)}o.extension&&(!a||o.extension.length>a.extension.length)&&t.endsWith(o.extensionLowercase)&&(a=o)}return s||i||a||void 0}},53871(e,t,n){n.r(t),n.d(t,{LanguageIdCodec:()=>c,LanguagesRegistry:()=>d});var s=n(98137),i=n(80194),a=n(54312),r=n(21440),o=n(24969),g=n(66730),u=n(94187);const h=Object.prototype.hasOwnProperty,l="vs.editor.nullLanguage";class c{constructor(){this._languageIdToLanguage=[],this._languageToLanguageId=new Map,this._register(l,0),this._register(o.vH,1),this._nextLanguageId=2}_register(e,t){this._languageIdToLanguage[t]=e,this._languageToLanguageId.set(e,t)}register(e){if(this._languageToLanguageId.has(e))return;const t=this._nextLanguageId++;this._register(e,t)}encodeLanguageId(e){return this._languageToLanguageId.get(e)||0}decodeLanguageId(e){return this._languageIdToLanguage[e]||l}}class d extends i.jG{static{this.instanceCount=0}constructor(e=!0,t=!1){super(),this._onDidChange=this._register(new s.vl),this.onDidChange=this._onDidChange.event,d.instanceCount++,this._warnOnOverwrite=t,this.languageIdCodec=new c,this._dynamicLanguages=[],this._languages={},this._mimeTypesMap={},this._nameMap={},this._lowercaseNameMap={},e&&(this._initializeFromRegistry(),this._register(o.W6.onDidChangeLanguages(e=>{this._initializeFromRegistry()})))}dispose(){d.instanceCount--,super.dispose()}_initializeFromRegistry(){this._languages={},this._mimeTypesMap={},this._nameMap={},this._lowercaseNameMap={},(0,r.clearPlatformLanguageAssociations)();const e=[].concat(o.W6.getLanguages()).concat(this._dynamicLanguages);this._registerLanguages(e)}_registerLanguages(e){for(const t of e)this._registerLanguage(t);this._mimeTypesMap={},this._nameMap={},this._lowercaseNameMap={},Object.keys(this._languages).forEach(e=>{const t=this._languages[e];t.name&&(this._nameMap[t.name]=t.identifier),t.aliases.forEach(e=>{this._lowercaseNameMap[e.toLowerCase()]=t.identifier}),t.mimetypes.forEach(e=>{this._mimeTypesMap[e]=t.identifier})}),u.O.as(g.Fd.Configuration).registerOverrideIdentifiers(this.getRegisteredLanguageIds()),this._onDidChange.fire()}_registerLanguage(e){const t=e.id;let n;h.call(this._languages,t)?n=this._languages[t]:(this.languageIdCodec.register(t),n={identifier:t,name:null,mimetypes:[],aliases:[],extensions:[],filenames:[],configurationFiles:[],icons:[]},this._languages[t]=n),this._mergeLanguage(n,e)}_mergeLanguage(e,t){const n=t.id;let s=null;if(Array.isArray(t.mimetypes)&&t.mimetypes.length>0&&(e.mimetypes.push(...t.mimetypes),s=t.mimetypes[0]),s||(s=`text/x-${n}`,e.mimetypes.push(s)),Array.isArray(t.extensions)){t.configuration?e.extensions=t.extensions.concat(e.extensions):e.extensions=e.extensions.concat(t.extensions);for(const e of t.extensions)(0,r.registerPlatformLanguageAssociation)({id:n,mime:s,extension:e},this._warnOnOverwrite)}if(Array.isArray(t.filenames))for(const i of t.filenames)(0,r.registerPlatformLanguageAssociation)({id:n,mime:s,filename:i},this._warnOnOverwrite),e.filenames.push(i);if(Array.isArray(t.filenamePatterns))for(const e of t.filenamePatterns)(0,r.registerPlatformLanguageAssociation)({id:n,mime:s,filepattern:e},this._warnOnOverwrite);if("string"==typeof t.firstLine&&t.firstLine.length>0){let e=t.firstLine;"^"!==e.charAt(0)&&(e="^"+e);try{const t=new RegExp(e);(0,a.eY)(t)||(0,r.registerPlatformLanguageAssociation)({id:n,mime:s,firstline:t},this._warnOnOverwrite)}catch(n){console.warn(`[${t.id}]: Invalid regular expression \`${e}\`: `,n)}}e.aliases.push(n);let i=null;if(void 0!==t.aliases&&Array.isArray(t.aliases)&&(i=0===t.aliases.length?[null]:t.aliases),null!==i)for(const t of i)t&&0!==t.length&&e.aliases.push(t);const o=null!==i&&i.length>0;if(o&&null===i[0]);else{const t=(o?i[0]:null)||n;!o&&e.name||(e.name=t)}t.configuration&&e.configurationFiles.push(t.configuration),t.icon&&e.icons.push(t.icon)}isRegisteredLanguageId(e){return!!e&&h.call(this._languages,e)}getRegisteredLanguageIds(){return Object.keys(this._languages)}getLanguageIdByLanguageName(e){const t=e.toLowerCase();return h.call(this._lowercaseNameMap,t)?this._lowercaseNameMap[t]:null}getLanguageIdByMimeType(e){return e&&h.call(this._mimeTypesMap,e)?this._mimeTypesMap[e]:null}guessLanguageIdByFilepathOrFirstLine(e,t){return e||t?(0,r.getLanguageIds)(e,t):[]}}}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[6490],{96490(e,n,r){r.r(n),r.d(n,{IMarkerDecorationsService:()=>i});const i=(0,r(91739).u1)("markerDecorationsService")},91739(e,n,r){var i;r.d(n,{_$:()=>i,_Y:()=>t,u1:()=>c}),function(e){e.serviceIds=new Map,e.DI_TARGET="$di$target",e.DI_DEPENDENCIES="$di$dependencies",e.getServiceDependencies=function(n){return n[e.DI_DEPENDENCIES]||[]}}(i||(i={}));const t=c("instantiationService");function c(e){if(i.serviceIds.has(e))return i.serviceIds.get(e);const n=function(e,r,t){if(3!==arguments.length)throw new Error("@IServiceName-decorator can only be used to decorate a parameter");!function(e,n,r){n[i.DI_TARGET]===n?n[i.DI_DEPENDENCIES].push({id:e,index:r}):(n[i.DI_DEPENDENCIES]=[{id:e,index:r}],n[i.DI_TARGET]=n)}(n,e,t)};return n.toString=()=>e,i.serviceIds.set(e,n),n}}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[6556],{76556(e,r,t){t.r(r),t.d(r,{ITreeSitterParserService:()=>n});const n=(0,t(91739).u1)("treeSitterParserService")},91739(e,r,t){var n;t.d(r,{_$:()=>n,_Y:()=>i,u1:()=>c}),function(e){e.serviceIds=new Map,e.DI_TARGET="$di$target",e.DI_DEPENDENCIES="$di$dependencies",e.getServiceDependencies=function(r){return r[e.DI_DEPENDENCIES]||[]}}(n||(n={}));const i=c("instantiationService");function c(e){if(n.serviceIds.has(e))return n.serviceIds.get(e);const r=function(e,t,i){if(3!==arguments.length)throw new Error("@IServiceName-decorator can only be used to decorate a parameter");!function(e,r,t){r[n.DI_TARGET]===r?r[n.DI_DEPENDENCIES].push({id:e,index:t}):(r[n.DI_DEPENDENCIES]=[{id:e,index:t}],r[n.DI_TARGET]=r)}(r,e,i)};return r.toString=()=>e,n.serviceIds.set(e,r),r}}}]);
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/*! For license information please see 6562.bundle.js.LICENSE.txt */
|
|
2
|
+
"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[6562],{46562(e,n,t){t.r(n),t.d(n,{conf:()=>o,language:()=>s});var o={comments:{lineComment:"#"},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"""',close:'"""',notIn:["string","comment"]},{open:'"',close:'"',notIn:["string","comment"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"""',close:'"""'},{open:'"',close:'"'}],folding:{offSide:!0}},s={defaultToken:"invalid",tokenPostfix:".gql",keywords:["null","true","false","query","mutation","subscription","extend","schema","directive","scalar","type","interface","union","enum","input","implements","fragment","on"],typeKeywords:["Int","Float","String","Boolean","ID"],directiveLocations:["SCHEMA","SCALAR","OBJECT","FIELD_DEFINITION","ARGUMENT_DEFINITION","INTERFACE","UNION","ENUM","ENUM_VALUE","INPUT_OBJECT","INPUT_FIELD_DEFINITION","QUERY","MUTATION","SUBSCRIPTION","FIELD","FRAGMENT_DEFINITION","FRAGMENT_SPREAD","INLINE_FRAGMENT","VARIABLE_DEFINITION"],operators:["=","!","?",":","&","|"],symbols:/[=!?:&|]+/,escapes:/\\(?:["\\\/bfnrt]|u[0-9A-Fa-f]{4})/,tokenizer:{root:[[/[a-z_][\w$]*/,{cases:{"@keywords":"keyword","@default":"key.identifier"}}],[/[$][\w$]*/,{cases:{"@keywords":"keyword","@default":"argument.identifier"}}],[/[A-Z][\w\$]*/,{cases:{"@typeKeywords":"keyword","@default":"type.identifier"}}],{include:"@whitespace"},[/[{}()\[\]]/,"@brackets"],[/@symbols/,{cases:{"@operators":"operator","@default":""}}],[/@\s*[a-zA-Z_\$][\w\$]*/,{token:"annotation",log:"annotation token: $0"}],[/\d*\.\d+([eE][\-+]?\d+)?/,"number.float"],[/0[xX][0-9a-fA-F]+/,"number.hex"],[/\d+/,"number"],[/[;,.]/,"delimiter"],[/"""/,{token:"string",next:"@mlstring",nextEmbedded:"markdown"}],[/"([^"\\]|\\.)*$/,"string.invalid"],[/"/,{token:"string.quote",bracket:"@open",next:"@string"}]],mlstring:[[/[^"]+/,"string"],['"""',{token:"string",next:"@pop",nextEmbedded:"@pop"}]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,{token:"string.quote",bracket:"@close",next:"@pop"}]],whitespace:[[/[ \t\r\n]+/,""],[/#.*$/,"comment"]]}}}}]);
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/*!-----------------------------------------------------------------------------
|
|
2
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
+
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
|
|
4
|
+
* Released under the MIT license
|
|
5
|
+
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
|
|
6
|
+
*-----------------------------------------------------------------------------*/
|